[2026-08-01 00:00:02] local.INFO: TCP Data received {"connection_id":146981,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:00:02] local.INFO: Processing buffer {"connection_id":146981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:00:02] local.INFO: IMEI packet received {"connection_id":146981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":146981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:00:03] local.INFO: TCP Data received {"connection_id":146981,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb96f8790012d77ab0005f2a7e0000f00f826..."} 
[2026-08-01 00:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb96f8790012d77ab0005f2a7e0000f00f826..."} 
[2026-08-01 00:00:03] local.INFO: Processing buffer {"connection_id":146981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb96f8790012d77ab0005f2a7e0000f00f826..."} 
[2026-08-01 00:00:03] local.INFO: Packet analysis {"connection_id":146981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb96f"} 
[2026-08-01 00:00:03] local.INFO: Extracted packet for processing {"connection_id":146981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb96f"} 
[2026-08-01 00:00:03] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788768,"longitude_deg":76.281728,"latitude_deg":9.9788768,"altitude":15,"angle":248,"satellites":38,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a7e0","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457093688576001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382338273607680,"note":"Value kept but may cause issues"} 
[2026-08-01 00:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076871168,"note":"Value kept but may cause issues"} 
[2026-08-01 00:00: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-08-01 00:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785522522000,"timestamp_ms":1785522522000,"timestamp_seconds":1785522522,"priority":1,"record_length":96,"hex_timestamp":"0000019fb96f8790"} 
[2026-08-01 00:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00: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-08-01 00: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 00:00: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-08-01 00: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-08-01 00:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457093688576001,"66":25604,"163":206,"9":24832,"24":0,"16":365382338273607680,"45":8622985937076871168},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457093688576001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:00:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:00:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382338273607680,"km_value":365382338273607.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076871168,"description":"Unknown IO ID 45"} 
[2026-08-01 00:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457093688576001,"power":25604,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076871168}} 
[2026-08-01 00:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":146981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:00:03] local.INFO: GPS data processed {"connection_id":146981,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:00:03] local.INFO: Acknowledgment sent {"connection_id":146981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:00:35] local.INFO: TCP Data received {"connection_id":146981,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb96f8790012d77ab0005f2a7e0000f00f826..."} 
[2026-08-01 00:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb96f8790012d77ab0005f2a7e0000f00f826..."} 
[2026-08-01 00:00:35] local.INFO: Processing buffer {"connection_id":146981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb96f8790012d77ab0005f2a7e0000f00f826..."} 
[2026-08-01 00:00:35] local.INFO: Packet analysis {"connection_id":146981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb96f"} 
[2026-08-01 00:00:35] local.INFO: Extracted packet for processing {"connection_id":146981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb96f"} 
[2026-08-01 00:00:35] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788768,"longitude_deg":76.281728,"latitude_deg":9.9788768,"altitude":15,"angle":248,"satellites":38,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a7e0","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457093688576001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382338273607680,"note":"Value kept but may cause issues"} 
[2026-08-01 00:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076871168,"note":"Value kept but may cause issues"} 
[2026-08-01 00:00: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-08-01 00:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785522522000,"timestamp_ms":1785522522000,"timestamp_seconds":1785522522,"priority":1,"record_length":96,"hex_timestamp":"0000019fb96f8790"} 
[2026-08-01 00:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:00:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 00: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 00:00:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 00: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-08-01 00:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457093688576001,"66":25604,"163":206,"9":24832,"24":0,"16":365382338273607680,"45":8622985937076871168},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457093688576001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:00:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:00:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382338273607680,"km_value":365382338273607.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076871168,"description":"Unknown IO ID 45"} 
[2026-08-01 00:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457093688576001,"power":25604,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076871168}} 
[2026-08-01 00:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":146981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:00:35] local.INFO: GPS data processed {"connection_id":146981,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:00:35] local.INFO: Acknowledgment sent {"connection_id":146981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:00:57] local.INFO: TCP Data received {"connection_id":148297,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:00:57] local.INFO: Processing buffer {"connection_id":148297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:00:57] local.INFO: IMEI packet received {"connection_id":148297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":148297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:01:02] local.INFO: TCP Data received {"connection_id":148297,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:01:02] local.INFO: Processing buffer {"connection_id":148297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:01:02] local.INFO: IMEI packet received {"connection_id":148297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":148297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:01:03] local.INFO: TCP Data received {"connection_id":148297,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb96f8790012d77ab0005f2a7e0000f00f826..."} 
[2026-08-01 00:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb96f8790012d77ab0005f2a7e0000f00f826..."} 
[2026-08-01 00:01:03] local.INFO: Processing buffer {"connection_id":148297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb96f8790012d77ab0005f2a7e0000f00f826..."} 
[2026-08-01 00:01:03] local.INFO: Packet analysis {"connection_id":148297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb96f"} 
[2026-08-01 00:01:03] local.INFO: Extracted packet for processing {"connection_id":148297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb96f"} 
[2026-08-01 00:01:03] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788768,"longitude_deg":76.281728,"latitude_deg":9.9788768,"altitude":15,"angle":248,"satellites":38,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a7e0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 00:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457093688576001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382338273607680,"note":"Value kept but may cause issues"} 
[2026-08-01 00:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076871168,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 00:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785522522000,"timestamp_ms":1785522522000,"timestamp_seconds":1785522522,"priority":1,"record_length":96,"hex_timestamp":"0000019fb96f8790"} 
[2026-08-01 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-08-01 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-08-01 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":25,"data_length":795,"current_offset":136} 
[2026-08-01 00:01: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-08-01 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-08-01 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-08-01 00:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457093688576001,"66":25604,"163":206,"9":24832,"24":0,"16":365382338273607680,"45":8622985937076871168},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457093688576001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:01:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:01:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382338273607680,"km_value":365382338273607.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076871168,"description":"Unknown IO ID 45"} 
[2026-08-01 00:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457093688576001,"power":25604,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076871168}} 
[2026-08-01 00:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":148297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:01:03] local.INFO: GPS data processed {"connection_id":148297,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:01:03] local.INFO: Acknowledgment sent {"connection_id":148297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:01:35] local.INFO: TCP Data received {"connection_id":148297,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb96f8790012d77ab0005f2a7e0000f00f826..."} 
[2026-08-01 00:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb96f8790012d77ab0005f2a7e0000f00f826..."} 
[2026-08-01 00:01:35] local.INFO: Processing buffer {"connection_id":148297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb96f8790012d77ab0005f2a7e0000f00f826..."} 
[2026-08-01 00:01:35] local.INFO: Packet analysis {"connection_id":148297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb96f"} 
[2026-08-01 00:01:35] local.INFO: Extracted packet for processing {"connection_id":148297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb96f"} 
[2026-08-01 00:01:35] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788768,"longitude_deg":76.281728,"latitude_deg":9.9788768,"altitude":15,"angle":248,"satellites":38,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a7e0","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457093688576001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382338273607680,"note":"Value kept but may cause issues"} 
[2026-08-01 00:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076871168,"note":"Value kept but may cause issues"} 
[2026-08-01 00:01: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-08-01 00:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785522522000,"timestamp_ms":1785522522000,"timestamp_seconds":1785522522,"priority":1,"record_length":96,"hex_timestamp":"0000019fb96f8790"} 
[2026-08-01 00:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 00: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 00:01:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 00: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-08-01 00:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457093688576001,"66":25604,"163":206,"9":24832,"24":0,"16":365382338273607680,"45":8622985937076871168},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457093688576001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:01:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:01:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382338273607680,"km_value":365382338273607.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076871168,"description":"Unknown IO ID 45"} 
[2026-08-01 00:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457093688576001,"power":25604,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076871168}} 
[2026-08-01 00:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":148297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:01:35] local.INFO: GPS data processed {"connection_id":148297,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:01:35] local.INFO: Acknowledgment sent {"connection_id":148297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:02:02] local.INFO: TCP Data received {"connection_id":146982,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:02:02] local.INFO: Processing buffer {"connection_id":146982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:02:02] local.INFO: IMEI packet received {"connection_id":146982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":146982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:02:11] local.INFO: TCP Data received {"connection_id":146982,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:02:11] local.INFO: Processing buffer {"connection_id":146982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:02:11] local.INFO: IMEI packet received {"connection_id":146982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":146982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:02:12] local.INFO: TCP Data received {"connection_id":146982,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb96f8790012d77ab0005f2a7e0000f00f826..."} 
[2026-08-01 00:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb96f8790012d77ab0005f2a7e0000f00f826..."} 
[2026-08-01 00:02:12] local.INFO: Processing buffer {"connection_id":146982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb96f8790012d77ab0005f2a7e0000f00f826..."} 
[2026-08-01 00:02:12] local.INFO: Packet analysis {"connection_id":146982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb96f"} 
[2026-08-01 00:02:12] local.INFO: Extracted packet for processing {"connection_id":146982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb96f"} 
[2026-08-01 00:02:12] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788768,"longitude_deg":76.281728,"latitude_deg":9.9788768,"altitude":15,"angle":248,"satellites":38,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a7e0","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457093688576001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382338273607680,"note":"Value kept but may cause issues"} 
[2026-08-01 00:02:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076871168,"note":"Value kept but may cause issues"} 
[2026-08-01 00:02:12] 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-08-01 00:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785522522000,"timestamp_ms":1785522522000,"timestamp_seconds":1785522522,"priority":1,"record_length":96,"hex_timestamp":"0000019fb96f8790"} 
[2026-08-01 00:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 00: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 00:02:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 00: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-08-01 00:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":146982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":146982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":146982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457093688576001,"66":25604,"163":206,"9":24832,"24":0,"16":365382338273607680,"45":8622985937076871168},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457093688576001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:02:12] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:02:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382338273607680,"km_value":365382338273607.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:02:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076871168,"description":"Unknown IO ID 45"} 
[2026-08-01 00:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457093688576001,"power":25604,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076871168}} 
[2026-08-01 00:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":146982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:02:12] local.INFO: GPS data processed {"connection_id":146982,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:02:12] local.INFO: Acknowledgment sent {"connection_id":146982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:02:13] local.INFO: TCP Data received {"connection_id":146982,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb96f8790012d77ab0005f2a7e0000f00f826..."} 
[2026-08-01 00:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb96f8790012d77ab0005f2a7e0000f00f826..."} 
[2026-08-01 00:02:13] local.INFO: Processing buffer {"connection_id":146982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb96f8790012d77ab0005f2a7e0000f00f826..."} 
[2026-08-01 00:02:13] local.INFO: Packet analysis {"connection_id":146982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb96f"} 
[2026-08-01 00:02:13] local.INFO: Extracted packet for processing {"connection_id":146982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb96f"} 
[2026-08-01 00:02:13] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788768,"longitude_deg":76.281728,"latitude_deg":9.9788768,"altitude":15,"angle":248,"satellites":38,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a7e0","is_valid_coordinates":true} 
[2026-08-01 00:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 00:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457093688576001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382338273607680,"note":"Value kept but may cause issues"} 
[2026-08-01 00:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076871168,"note":"Value kept but may cause issues"} 
[2026-08-01 00:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 00:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785522522000,"timestamp_ms":1785522522000,"timestamp_seconds":1785522522,"priority":1,"record_length":96,"hex_timestamp":"0000019fb96f8790"} 
[2026-08-01 00:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:02:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 00:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 00:02:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 00:02:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 00:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":146982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":146982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":146982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457093688576001,"66":25604,"163":206,"9":24832,"24":0,"16":365382338273607680,"45":8622985937076871168},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457093688576001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:02:13] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:02:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382338273607680,"km_value":365382338273607.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076871168,"description":"Unknown IO ID 45"} 
[2026-08-01 00:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457093688576001,"power":25604,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076871168}} 
[2026-08-01 00:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":146982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:02:13] local.INFO: GPS data processed {"connection_id":146982,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:02:13] local.INFO: Acknowledgment sent {"connection_id":146982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:02:57] local.INFO: TCP Data received {"connection_id":148298,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:02:57] local.INFO: Processing buffer {"connection_id":148298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:02:57] local.INFO: IMEI packet received {"connection_id":148298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":148298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:03:02] local.INFO: TCP Data received {"connection_id":148298,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:03:02] local.INFO: Processing buffer {"connection_id":148298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:03:02] local.INFO: IMEI packet received {"connection_id":148298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":148298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:03:03] local.INFO: TCP Data received {"connection_id":148298,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb96f8790012d77ab0005f2a7e0000f00f826..."} 
[2026-08-01 00:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb96f8790012d77ab0005f2a7e0000f00f826..."} 
[2026-08-01 00:03:03] local.INFO: Processing buffer {"connection_id":148298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb96f8790012d77ab0005f2a7e0000f00f826..."} 
[2026-08-01 00:03:03] local.INFO: Packet analysis {"connection_id":148298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb96f"} 
[2026-08-01 00:03:03] local.INFO: Extracted packet for processing {"connection_id":148298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb96f"} 
[2026-08-01 00:03:03] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788768,"longitude_deg":76.281728,"latitude_deg":9.9788768,"altitude":15,"angle":248,"satellites":38,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a7e0","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457093688576001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382338273607680,"note":"Value kept but may cause issues"} 
[2026-08-01 00:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076871168,"note":"Value kept but may cause issues"} 
[2026-08-01 00:03: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-08-01 00:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785522522000,"timestamp_ms":1785522522000,"timestamp_seconds":1785522522,"priority":1,"record_length":96,"hex_timestamp":"0000019fb96f8790"} 
[2026-08-01 00:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:03: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-08-01 00: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 00:03: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-08-01 00: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-08-01 00:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457093688576001,"66":25604,"163":206,"9":24832,"24":0,"16":365382338273607680,"45":8622985937076871168},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457093688576001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:03:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:03:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382338273607680,"km_value":365382338273607.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076871168,"description":"Unknown IO ID 45"} 
[2026-08-01 00:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457093688576001,"power":25604,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076871168}} 
[2026-08-01 00:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":148298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:03:03] local.INFO: GPS data processed {"connection_id":148298,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:03:03] local.INFO: Acknowledgment sent {"connection_id":148298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:03:35] local.INFO: TCP Data received {"connection_id":148298,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb96f8790012d77ab0005f2a7e0000f00f826..."} 
[2026-08-01 00:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb96f8790012d77ab0005f2a7e0000f00f826..."} 
[2026-08-01 00:03:35] local.INFO: Processing buffer {"connection_id":148298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb96f8790012d77ab0005f2a7e0000f00f826..."} 
[2026-08-01 00:03:35] local.INFO: Packet analysis {"connection_id":148298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb96f"} 
[2026-08-01 00:03:35] local.INFO: Extracted packet for processing {"connection_id":148298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb96f"} 
[2026-08-01 00:03:35] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788768,"longitude_deg":76.281728,"latitude_deg":9.9788768,"altitude":15,"angle":248,"satellites":38,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a7e0","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457093688576001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382338273607680,"note":"Value kept but may cause issues"} 
[2026-08-01 00:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076871168,"note":"Value kept but may cause issues"} 
[2026-08-01 00:03: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-08-01 00:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785522522000,"timestamp_ms":1785522522000,"timestamp_seconds":1785522522,"priority":1,"record_length":96,"hex_timestamp":"0000019fb96f8790"} 
[2026-08-01 00:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 00:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 00:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 00: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-08-01 00:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457093688576001,"66":25604,"163":206,"9":24832,"24":0,"16":365382338273607680,"45":8622985937076871168},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457093688576001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:03:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:03:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382338273607680,"km_value":365382338273607.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076871168,"description":"Unknown IO ID 45"} 
[2026-08-01 00:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457093688576001,"power":25604,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076871168}} 
[2026-08-01 00:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":148298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:03:35] local.INFO: GPS data processed {"connection_id":148298,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:03:35] local.INFO: Acknowledgment sent {"connection_id":148298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:03:57] local.INFO: TCP Data received {"connection_id":148299,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:03:57] local.INFO: Processing buffer {"connection_id":148299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:03:57] local.INFO: IMEI packet received {"connection_id":148299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":148299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:04:02] local.INFO: TCP Data received {"connection_id":148299,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:04:02] local.INFO: Processing buffer {"connection_id":148299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:04:02] local.INFO: IMEI packet received {"connection_id":148299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":148299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:04:03] local.INFO: TCP Data received {"connection_id":148299,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb96f8790012d77ab0005f2a7e0000f00f826..."} 
[2026-08-01 00:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb96f8790012d77ab0005f2a7e0000f00f826..."} 
[2026-08-01 00:04:03] local.INFO: Processing buffer {"connection_id":148299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb96f8790012d77ab0005f2a7e0000f00f826..."} 
[2026-08-01 00:04:03] local.INFO: Packet analysis {"connection_id":148299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb96f"} 
[2026-08-01 00:04:03] local.INFO: Extracted packet for processing {"connection_id":148299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb96f"} 
[2026-08-01 00:04:03] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788768,"longitude_deg":76.281728,"latitude_deg":9.9788768,"altitude":15,"angle":248,"satellites":38,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a7e0","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457093688576001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382338273607680,"note":"Value kept but may cause issues"} 
[2026-08-01 00:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076871168,"note":"Value kept but may cause issues"} 
[2026-08-01 00:04: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-08-01 00:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785522522000,"timestamp_ms":1785522522000,"timestamp_seconds":1785522522,"priority":1,"record_length":96,"hex_timestamp":"0000019fb96f8790"} 
[2026-08-01 00:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00: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-08-01 00: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 00:04: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-08-01 00: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-08-01 00:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457093688576001,"66":25604,"163":206,"9":24832,"24":0,"16":365382338273607680,"45":8622985937076871168},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457093688576001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:04:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:04:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382338273607680,"km_value":365382338273607.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076871168,"description":"Unknown IO ID 45"} 
[2026-08-01 00:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457093688576001,"power":25604,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076871168}} 
[2026-08-01 00:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":148299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:04:03] local.INFO: GPS data processed {"connection_id":148299,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:04:03] local.INFO: Acknowledgment sent {"connection_id":148299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:04:35] local.INFO: TCP Data received {"connection_id":148299,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9741f58012d77ab0005f2a7e0000f00f827..."} 
[2026-08-01 00:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9741f58012d77ab0005f2a7e0000f00f827..."} 
[2026-08-01 00:04:35] local.INFO: Processing buffer {"connection_id":148299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9741f58012d77ab0005f2a7e0000f00f827..."} 
[2026-08-01 00:04:35] local.INFO: Packet analysis {"connection_id":148299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb974"} 
[2026-08-01 00:04:35] local.INFO: Extracted packet for processing {"connection_id":148299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb974"} 
[2026-08-01 00:04:35] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788768,"longitude_deg":76.281728,"latitude_deg":9.9788768,"altitude":15,"angle":248,"satellites":39,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a7e0","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457093765632001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382338273607680,"note":"Value kept but may cause issues"} 
[2026-08-01 00:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076871168,"note":"Value kept but may cause issues"} 
[2026-08-01 00:04: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-08-01 00:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785522823000,"timestamp_ms":1785522823000,"timestamp_seconds":1785522823,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9741f58"} 
[2026-08-01 00:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 00:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 00:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 00: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-08-01 00:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457093765632001,"66":25582,"163":206,"9":24832,"24":0,"16":365382338273607680,"45":8622985937076871168},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457093765632001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:04:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:04:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382338273607680,"km_value":365382338273607.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076871168,"description":"Unknown IO ID 45"} 
[2026-08-01 00:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457093765632001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076871168}} 
[2026-08-01 00:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":148299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:04:35] local.INFO: GPS data processed {"connection_id":148299,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:04:35] local.INFO: Acknowledgment sent {"connection_id":148299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:04:57] local.INFO: TCP Data received {"connection_id":145963,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:04:57] local.INFO: Processing buffer {"connection_id":145963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:04:57] local.INFO: IMEI packet received {"connection_id":145963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":145963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:05:02] local.INFO: TCP Data received {"connection_id":145963,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:05:02] local.INFO: Processing buffer {"connection_id":145963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:05:02] local.INFO: IMEI packet received {"connection_id":145963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":145963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:05:03] local.INFO: TCP Data received {"connection_id":145963,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9741f58012d77ab0005f2a7e0000f00f827..."} 
[2026-08-01 00:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9741f58012d77ab0005f2a7e0000f00f827..."} 
[2026-08-01 00:05:03] local.INFO: Processing buffer {"connection_id":145963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9741f58012d77ab0005f2a7e0000f00f827..."} 
[2026-08-01 00:05:03] local.INFO: Packet analysis {"connection_id":145963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb974"} 
[2026-08-01 00:05:03] local.INFO: Extracted packet for processing {"connection_id":145963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb974"} 
[2026-08-01 00:05:03] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788768,"longitude_deg":76.281728,"latitude_deg":9.9788768,"altitude":15,"angle":248,"satellites":39,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a7e0","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457093765632001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382338273607680,"note":"Value kept but may cause issues"} 
[2026-08-01 00:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076871168,"note":"Value kept but may cause issues"} 
[2026-08-01 00: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-08-01 00:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785522823000,"timestamp_ms":1785522823000,"timestamp_seconds":1785522823,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9741f58"} 
[2026-08-01 00:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00: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-08-01 00: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 00:05: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-08-01 00: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-08-01 00:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457093765632001,"66":25582,"163":206,"9":24832,"24":0,"16":365382338273607680,"45":8622985937076871168},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457093765632001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:05:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:05:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382338273607680,"km_value":365382338273607.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076871168,"description":"Unknown IO ID 45"} 
[2026-08-01 00:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457093765632001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076871168}} 
[2026-08-01 00:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":145963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:05:03] local.INFO: GPS data processed {"connection_id":145963,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:05:03] local.INFO: Acknowledgment sent {"connection_id":145963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:05:35] local.INFO: TCP Data received {"connection_id":145963,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9741f58012d77ab0005f2a7e0000f00f827..."} 
[2026-08-01 00:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9741f58012d77ab0005f2a7e0000f00f827..."} 
[2026-08-01 00:05:35] local.INFO: Processing buffer {"connection_id":145963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9741f58012d77ab0005f2a7e0000f00f827..."} 
[2026-08-01 00:05:35] local.INFO: Packet analysis {"connection_id":145963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb974"} 
[2026-08-01 00:05:35] local.INFO: Extracted packet for processing {"connection_id":145963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb974"} 
[2026-08-01 00:05:35] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788768,"longitude_deg":76.281728,"latitude_deg":9.9788768,"altitude":15,"angle":248,"satellites":39,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a7e0","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457093765632001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382338273607680,"note":"Value kept but may cause issues"} 
[2026-08-01 00:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076871168,"note":"Value kept but may cause issues"} 
[2026-08-01 00:05: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-08-01 00:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785522823000,"timestamp_ms":1785522823000,"timestamp_seconds":1785522823,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9741f58"} 
[2026-08-01 00:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 00:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 00:05:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 00: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-08-01 00:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":145963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":145963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":145963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457093765632001,"66":25582,"163":206,"9":24832,"24":0,"16":365382338273607680,"45":8622985937076871168},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457093765632001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:05:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:05:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382338273607680,"km_value":365382338273607.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076871168,"description":"Unknown IO ID 45"} 
[2026-08-01 00:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457093765632001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076871168}} 
[2026-08-01 00:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":145963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:05:35] local.INFO: GPS data processed {"connection_id":145963,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:05:35] local.INFO: Acknowledgment sent {"connection_id":145963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:05:57] local.INFO: TCP Data received {"connection_id":148300,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:05:57] local.INFO: Processing buffer {"connection_id":148300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:05:57] local.INFO: IMEI packet received {"connection_id":148300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":148300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:06:02] local.INFO: TCP Data received {"connection_id":148300,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:06:02] local.INFO: Processing buffer {"connection_id":148300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:06:02] local.INFO: IMEI packet received {"connection_id":148300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":148300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:06:03] local.INFO: TCP Data received {"connection_id":148300,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9741f58012d77ab0005f2a7e0000f00f827..."} 
[2026-08-01 00:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9741f58012d77ab0005f2a7e0000f00f827..."} 
[2026-08-01 00:06:03] local.INFO: Processing buffer {"connection_id":148300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9741f58012d77ab0005f2a7e0000f00f827..."} 
[2026-08-01 00:06:03] local.INFO: Packet analysis {"connection_id":148300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb974"} 
[2026-08-01 00:06:03] local.INFO: Extracted packet for processing {"connection_id":148300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb974"} 
[2026-08-01 00:06:03] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788768,"longitude_deg":76.281728,"latitude_deg":9.9788768,"altitude":15,"angle":248,"satellites":39,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a7e0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 00:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457093765632001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382338273607680,"note":"Value kept but may cause issues"} 
[2026-08-01 00:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076871168,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 00:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785522823000,"timestamp_ms":1785522823000,"timestamp_seconds":1785522823,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9741f58"} 
[2026-08-01 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-08-01 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-08-01 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":4,"data_length":795,"current_offset":136} 
[2026-08-01 00:06: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-08-01 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-08-01 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-08-01 00:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457093765632001,"66":25582,"163":206,"9":24832,"24":0,"16":365382338273607680,"45":8622985937076871168},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457093765632001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:06:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:06:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382338273607680,"km_value":365382338273607.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076871168,"description":"Unknown IO ID 45"} 
[2026-08-01 00:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457093765632001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076871168}} 
[2026-08-01 00:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":148300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:06:03] local.INFO: GPS data processed {"connection_id":148300,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:06:03] local.INFO: Acknowledgment sent {"connection_id":148300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:06:35] local.INFO: TCP Data received {"connection_id":148300,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9741f58012d77ab0005f2a7e0000f00f827..."} 
[2026-08-01 00:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9741f58012d77ab0005f2a7e0000f00f827..."} 
[2026-08-01 00:06:35] local.INFO: Processing buffer {"connection_id":148300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9741f58012d77ab0005f2a7e0000f00f827..."} 
[2026-08-01 00:06:35] local.INFO: Packet analysis {"connection_id":148300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb974"} 
[2026-08-01 00:06:35] local.INFO: Extracted packet for processing {"connection_id":148300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb974"} 
[2026-08-01 00:06:35] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788768,"longitude_deg":76.281728,"latitude_deg":9.9788768,"altitude":15,"angle":248,"satellites":39,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a7e0","is_valid_coordinates":true} 
[2026-08-01 00:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 00:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457093765632001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382338273607680,"note":"Value kept but may cause issues"} 
[2026-08-01 00:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076871168,"note":"Value kept but may cause issues"} 
[2026-08-01 00:06: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-08-01 00:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785522823000,"timestamp_ms":1785522823000,"timestamp_seconds":1785522823,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9741f58"} 
[2026-08-01 00:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:06:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 00:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 00:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 00:06:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 00:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457093765632001,"66":25582,"163":206,"9":24832,"24":0,"16":365382338273607680,"45":8622985937076871168},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457093765632001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:06:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:06:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382338273607680,"km_value":365382338273607.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076871168,"description":"Unknown IO ID 45"} 
[2026-08-01 00:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457093765632001,"power":25582,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076871168}} 
[2026-08-01 00:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":148300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:06:35] local.INFO: GPS data processed {"connection_id":148300,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:06:35] local.INFO: Acknowledgment sent {"connection_id":148300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:06:57] local.INFO: TCP Data received {"connection_id":148301,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:06:57] local.INFO: Processing buffer {"connection_id":148301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:06:57] local.INFO: IMEI packet received {"connection_id":148301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":148301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:07:03] local.INFO: TCP Data received {"connection_id":148301,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:07:03] local.INFO: Processing buffer {"connection_id":148301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:07:03] local.INFO: IMEI packet received {"connection_id":148301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":148301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:07:04] local.INFO: TCP Data received {"connection_id":148301,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9763680012d77ab0005f2a7e0000f00f829..."} 
[2026-08-01 00:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9763680012d77ab0005f2a7e0000f00f829..."} 
[2026-08-01 00:07:04] local.INFO: Processing buffer {"connection_id":148301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9763680012d77ab0005f2a7e0000f00f829..."} 
[2026-08-01 00:07:04] local.INFO: Packet analysis {"connection_id":148301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb976"} 
[2026-08-01 00:07:04] local.INFO: Extracted packet for processing {"connection_id":148301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb976"} 
[2026-08-01 00:07:04] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788768,"longitude_deg":76.281728,"latitude_deg":9.9788768,"altitude":15,"angle":248,"satellites":41,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a7e0","is_valid_coordinates":true} 
[2026-08-01 00:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 00:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457093842688001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382338273607680,"note":"Value kept but may cause issues"} 
[2026-08-01 00:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076871168,"note":"Value kept but may cause issues"} 
[2026-08-01 00:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 00:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785522960000,"timestamp_ms":1785522960000,"timestamp_seconds":1785522960,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9763680"} 
[2026-08-01 00:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:07: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-08-01 00:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-01 00:07: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-08-01 00: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-08-01 00:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":148301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":148301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":148301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457093842688001,"66":25397,"163":206,"9":24832,"24":0,"16":365382338273607680,"45":8622985937076871168},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457093842688001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:07:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:07:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382338273607680,"km_value":365382338273607.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076871168,"description":"Unknown IO ID 45"} 
[2026-08-01 00:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457093842688001,"power":25397,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076871168}} 
[2026-08-01 00:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":148301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:07:04] local.INFO: GPS data processed {"connection_id":148301,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:07:04] local.INFO: Acknowledgment sent {"connection_id":148301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:07:06] local.INFO: TCP Data received {"connection_id":148301,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9764a08012d77aa4005f2a848000f000b29..."} 
[2026-08-01 00:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9764a08012d77aa4005f2a848000f000b29..."} 
[2026-08-01 00:07:06] local.INFO: Processing buffer {"connection_id":148301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9764a08012d77aa4005f2a848000f000b29..."} 
[2026-08-01 00:07:06] local.INFO: Packet analysis {"connection_id":148301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb976"} 
[2026-08-01 00:07:06] local.INFO: Extracted packet for processing {"connection_id":148301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb976"} 
[2026-08-01 00:07:06] local.INFO: GPS Element Parsed {"raw_longitude":762817088,"raw_latitude":99788872,"longitude_deg":76.2817088,"latitude_deg":9.9788872,"altitude":15,"angle":11,"satellites":41,"speed":0,"hex_longitude":"2d77aa40","hex_latitude":"05f2a848","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457093877760001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382338273607680,"note":"Value kept but may cause issues"} 
[2026-08-01 00:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076871168,"note":"Value kept but may cause issues"} 
[2026-08-01 00:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 00:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785522965000,"timestamp_ms":1785522965000,"timestamp_seconds":1785522965,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9764a08"} 
[2026-08-01 00:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:07: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-08-01 00: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-01 00:07:06] 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-08-01 00: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-08-01 00:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457093877760001,"66":25375,"163":206,"9":24832,"24":0,"16":365382338273607680,"45":8622985937076871168},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457093877760001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:07:06] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:07:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382338273607680,"km_value":365382338273607.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076871168,"description":"Unknown IO ID 45"} 
[2026-08-01 00:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457093877760001,"power":25375,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076871168}} 
[2026-08-01 00:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":148301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:07:06] local.INFO: GPS data processed {"connection_id":148301,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:07:06] local.INFO: Acknowledgment sent {"connection_id":148301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:07:40] local.INFO: TCP Data received {"connection_id":148301,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9769c10012d77aa4005f2a848000f000b28..."} 
[2026-08-01 00:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9769c10012d77aa4005f2a848000f000b28..."} 
[2026-08-01 00:07:40] local.INFO: Processing buffer {"connection_id":148301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9769c10012d77aa4005f2a848000f000b28..."} 
[2026-08-01 00:07:40] local.INFO: Packet analysis {"connection_id":148301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb976"} 
[2026-08-01 00:07:40] local.INFO: Extracted packet for processing {"connection_id":148301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb976"} 
[2026-08-01 00:07:40] local.INFO: GPS Element Parsed {"raw_longitude":762817088,"raw_latitude":99788872,"longitude_deg":76.2817088,"latitude_deg":9.9788872,"altitude":15,"angle":11,"satellites":40,"speed":0,"hex_longitude":"2d77aa40","hex_latitude":"05f2a848","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457093879040001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382338273607680,"note":"Value kept but may cause issues"} 
[2026-08-01 00:07:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622774830844364800,"note":"Value kept but may cause issues"} 
[2026-08-01 00:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 00:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785522986000,"timestamp_ms":1785522986000,"timestamp_seconds":1785522986,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9769c10"} 
[2026-08-01 00:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:07:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 00: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-01 00:07:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 00: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-08-01 00:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":148301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":148301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":148301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457093879040001,"66":27310,"163":206,"9":24832,"24":0,"16":365382338273607680,"45":8622774830844364800},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457093879040001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:07:40] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:07:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382338273607680,"km_value":365382338273607.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:07:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622774830844364800,"description":"Unknown IO ID 45"} 
[2026-08-01 00:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457093879040001,"power":27310,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622774830844364800}} 
[2026-08-01 00:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":148301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:07:41] local.INFO: GPS data processed {"connection_id":148301,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:07:41] local.INFO: Acknowledgment sent {"connection_id":148301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:07:58] local.INFO: TCP Data received {"connection_id":146983,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:07:58] local.INFO: Processing buffer {"connection_id":146983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:07:58] local.INFO: IMEI packet received {"connection_id":146983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":146983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:08:00] local.INFO: TCP Data received {"connection_id":146983,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:08:00] local.INFO: Processing buffer {"connection_id":146983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:08:00] local.INFO: IMEI packet received {"connection_id":146983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":146983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:08:02] local.INFO: TCP Data received {"connection_id":146983,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:08:02] local.INFO: Processing buffer {"connection_id":146983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:08:02] local.INFO: IMEI packet received {"connection_id":146983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":146983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:08:06] local.INFO: TCP Data received {"connection_id":146983,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:08:06] local.INFO: Processing buffer {"connection_id":146983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:08:06] local.INFO: IMEI packet received {"connection_id":146983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":146983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:08:07] local.INFO: TCP Data received {"connection_id":146983,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb976ee18012d77aa4005f2a848000f000b29..."} 
[2026-08-01 00:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb976ee18012d77aa4005f2a848000f000b29..."} 
[2026-08-01 00:08:07] local.INFO: Processing buffer {"connection_id":146983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb976ee18012d77aa4005f2a848000f000b29..."} 
[2026-08-01 00:08:07] local.INFO: Packet analysis {"connection_id":146983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb976"} 
[2026-08-01 00:08:07] local.INFO: Extracted packet for processing {"connection_id":146983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb976"} 
[2026-08-01 00:08:07] local.INFO: GPS Element Parsed {"raw_longitude":762817088,"raw_latitude":99788872,"longitude_deg":76.2817088,"latitude_deg":9.9788872,"altitude":15,"angle":11,"satellites":41,"speed":0,"hex_longitude":"2d77aa40","hex_latitude":"05f2a848","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457093884416001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382338273607680,"note":"Value kept but may cause issues"} 
[2026-08-01 00:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622774830844364800,"note":"Value kept but may cause issues"} 
[2026-08-01 00:08: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-08-01 00:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785523007000,"timestamp_ms":1785523007000,"timestamp_seconds":1785523007,"priority":1,"record_length":96,"hex_timestamp":"0000019fb976ee18"} 
[2026-08-01 00:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 00:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-01 00:08:07] 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-08-01 00: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-08-01 00:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457093884416001,"66":27300,"163":206,"9":24832,"24":0,"16":365382338273607680,"45":8622774830844364800},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457093884416001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:08:07] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:08:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382338273607680,"km_value":365382338273607.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622774830844364800,"description":"Unknown IO ID 45"} 
[2026-08-01 00:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457093884416001,"power":27300,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622774830844364800}} 
[2026-08-01 00:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":146983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:08:07] local.INFO: GPS data processed {"connection_id":146983,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:08:07] local.INFO: Acknowledgment sent {"connection_id":146983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:08:07] local.INFO: TCP Data received {"connection_id":146983,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9773c38012d77ab8005f2a8e8001600fe29..."} 
[2026-08-01 00:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9773c38012d77ab8005f2a8e8001600fe29..."} 
[2026-08-01 00:08:07] local.INFO: Processing buffer {"connection_id":146983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9773c38012d77ab8005f2a8e8001600fe29..."} 
[2026-08-01 00:08:07] local.INFO: Packet analysis {"connection_id":146983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb977"} 
[2026-08-01 00:08:07] local.INFO: Extracted packet for processing {"connection_id":146983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb977"} 
[2026-08-01 00:08:07] local.INFO: GPS Element Parsed {"raw_longitude":762817408,"raw_latitude":99789032,"longitude_deg":76.2817408,"latitude_deg":9.9789032,"altitude":22,"angle":254,"satellites":41,"speed":2,"hex_longitude":"2d77ab80","hex_latitude":"05f2a8e8","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457093889792001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382355453476864,"note":"Value kept but may cause issues"} 
[2026-08-01 00:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622774830844364800,"note":"Value kept but may cause issues"} 
[2026-08-01 00:08: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-08-01 00:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785523027000,"timestamp_ms":1785523027000,"timestamp_seconds":1785523027,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9773c38"} 
[2026-08-01 00:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 00:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-01 00:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 00: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-08-01 00:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457093889792001,"66":27234,"163":206,"9":24832,"24":2,"16":365382355453476864,"45":8622774830844364800},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457093889792001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:08:07] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:08:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382355453476864,"km_value":365382355453476.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622774830844364800,"description":"Unknown IO ID 45"} 
[2026-08-01 00:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457093889792001,"power":27234,"unknown_163":206,"unknown_9":24832,"ignition":2,"odometer":null,"unknown_45":8622774830844364800}} 
[2026-08-01 00:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":146983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:08:07] local.INFO: GPS data processed {"connection_id":146983,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:08:07] local.INFO: Acknowledgment sent {"connection_id":146983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:08:38] local.INFO: TCP Data received {"connection_id":146983,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb97753a8012d77aa4005f2a888001600e92a..."} 
[2026-08-01 00:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb97753a8012d77aa4005f2a888001600e92a..."} 
[2026-08-01 00:08:38] local.INFO: Processing buffer {"connection_id":146983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb97753a8012d77aa4005f2a888001600e92a..."} 
[2026-08-01 00:08:38] local.INFO: Packet analysis {"connection_id":146983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb977"} 
[2026-08-01 00:08:38] local.INFO: Extracted packet for processing {"connection_id":146983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb977"} 
[2026-08-01 00:08:38] local.INFO: GPS Element Parsed {"raw_longitude":762817088,"raw_latitude":99788936,"longitude_deg":76.2817088,"latitude_deg":9.9788936,"altitude":22,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d77aa40","hex_latitude":"05f2a888","is_valid_coordinates":true} 
[2026-08-01 00:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 00:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457093894912001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382372633346048,"note":"Value kept but may cause issues"} 
[2026-08-01 00:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623126674565294080,"note":"Value kept but may cause issues"} 
[2026-08-01 00:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 00:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785523033000,"timestamp_ms":1785523033000,"timestamp_seconds":1785523033,"priority":1,"record_length":96,"hex_timestamp":"0000019fb97753a8"} 
[2026-08-01 00:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 00:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-01 00:08: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-08-01 00:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 00:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457093894912001,"66":27321,"163":206,"9":24832,"24":0,"16":365382372633346048,"45":8623126674565294080},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457093894912001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:08:38] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:08:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382372633346048,"km_value":365382372633346.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623126674565294080,"description":"Unknown IO ID 45"} 
[2026-08-01 00:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457093894912001,"power":27321,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8623126674565294080}} 
[2026-08-01 00:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":146983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:08:38] local.INFO: GPS data processed {"connection_id":146983,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:08:38] local.INFO: Acknowledgment sent {"connection_id":146983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:08:57] local.INFO: TCP Data received {"connection_id":148302,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:08:57] local.INFO: Processing buffer {"connection_id":148302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:08:57] local.INFO: IMEI packet received {"connection_id":148302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":148302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:09:03] local.INFO: TCP Data received {"connection_id":148302,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:09:03] local.INFO: Processing buffer {"connection_id":148302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:09:03] local.INFO: IMEI packet received {"connection_id":148302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":148302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:09:03] local.INFO: TCP Data received {"connection_id":148302,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9776f00012d77aa0005f2a848001601032a..."} 
[2026-08-01 00:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9776f00012d77aa0005f2a848001601032a..."} 
[2026-08-01 00:09:03] local.INFO: Processing buffer {"connection_id":148302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9776f00012d77aa0005f2a848001601032a..."} 
[2026-08-01 00:09:03] local.INFO: Packet analysis {"connection_id":148302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb977"} 
[2026-08-01 00:09:03] local.INFO: Extracted packet for processing {"connection_id":148302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb977"} 
[2026-08-01 00:09:03] local.INFO: GPS Element Parsed {"raw_longitude":762817024,"raw_latitude":99788872,"longitude_deg":76.2817024,"latitude_deg":9.9788872,"altitude":22,"angle":259,"satellites":42,"speed":2,"hex_longitude":"2d77aa00","hex_latitude":"05f2a848","is_valid_coordinates":true} 
[2026-08-01 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-08-01 00:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457093896448001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382376928313344,"note":"Value kept but may cause issues"} 
[2026-08-01 00:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622774830844381184,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 00:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785523040000,"timestamp_ms":1785523040000,"timestamp_seconds":1785523040,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9776f00"} 
[2026-08-01 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-08-01 00:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-01 00:09: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-08-01 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-08-01 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-08-01 00:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457093896448001,"66":27397,"163":206,"9":24832,"24":2,"16":365382376928313344,"45":8622774830844381184},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457093896448001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:09:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:09:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382376928313344,"km_value":365382376928313.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622774830844381184,"description":"Unknown IO ID 45"} 
[2026-08-01 00:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457093896448001,"power":27397,"unknown_163":206,"unknown_9":24832,"ignition":2,"odometer":null,"unknown_45":8622774830844381184}} 
[2026-08-01 00:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":148302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:09:03] local.INFO: GPS data processed {"connection_id":148302,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:09:03] local.INFO: Acknowledgment sent {"connection_id":148302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:09:08] local.INFO: TCP Data received {"connection_id":148302,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb97776d0012d77a98005f2a800001700f62a..."} 
[2026-08-01 00:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb97776d0012d77a98005f2a800001700f62a..."} 
[2026-08-01 00:09:08] local.INFO: Processing buffer {"connection_id":148302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb97776d0012d77a98005f2a800001700f62a..."} 
[2026-08-01 00:09:08] local.INFO: Packet analysis {"connection_id":148302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb977"} 
[2026-08-01 00:09:08] local.INFO: Extracted packet for processing {"connection_id":148302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb977"} 
[2026-08-01 00:09:08] local.INFO: GPS Element Parsed {"raw_longitude":762816896,"raw_latitude":99788800,"longitude_deg":76.2816896,"latitude_deg":9.97888,"altitude":23,"angle":246,"satellites":42,"speed":2,"hex_longitude":"2d77a980","hex_latitude":"05f2a800","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457093898240001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382385518247936,"note":"Value kept but may cause issues"} 
[2026-08-01 00:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622704462100187136,"note":"Value kept but may cause issues"} 
[2026-08-01 00:09: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-08-01 00:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785523042000,"timestamp_ms":1785523042000,"timestamp_seconds":1785523042,"priority":1,"record_length":96,"hex_timestamp":"0000019fb97776d0"} 
[2026-08-01 00:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 00: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-01 00:09: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-08-01 00: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-08-01 00:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":148302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":148302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":148302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457093898240001,"66":27397,"163":206,"9":24832,"24":2,"16":365382385518247936,"45":8622704462100187136},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457093898240001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:09:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:09:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382385518247936,"km_value":365382385518247.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622704462100187136,"description":"Unknown IO ID 45"} 
[2026-08-01 00:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457093898240001,"power":27397,"unknown_163":206,"unknown_9":24832,"ignition":2,"odometer":null,"unknown_45":8622704462100187136}} 
[2026-08-01 00:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":148302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:09:08] local.INFO: GPS data processed {"connection_id":148302,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:09:08] local.INFO: Acknowledgment sent {"connection_id":148302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:09:39] local.INFO: TCP Data received {"connection_id":148302,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9778e40012d77a88005f2a7700017010b29..."} 
[2026-08-01 00:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9778e40012d77a88005f2a7700017010b29..."} 
[2026-08-01 00:09:39] local.INFO: Processing buffer {"connection_id":148302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9778e40012d77a88005f2a7700017010b29..."} 
[2026-08-01 00:09:39] local.INFO: Packet analysis {"connection_id":148302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb977"} 
[2026-08-01 00:09:39] local.INFO: Extracted packet for processing {"connection_id":148302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb977"} 
[2026-08-01 00:09:39] local.INFO: GPS Element Parsed {"raw_longitude":762816640,"raw_latitude":99788656,"longitude_deg":76.281664,"latitude_deg":9.9788656,"altitude":23,"angle":267,"satellites":41,"speed":3,"hex_longitude":"2d77a880","hex_latitude":"05f2a770","is_valid_coordinates":true} 
[2026-08-01 00:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 00:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457093898752001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382402698117120,"note":"Value kept but may cause issues"} 
[2026-08-01 00:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622563724611813376,"note":"Value kept but may cause issues"} 
[2026-08-01 00:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 00:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785523048000,"timestamp_ms":1785523048000,"timestamp_seconds":1785523048,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9778e40"} 
[2026-08-01 00:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:09:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 00:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-01 00:09:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 00:09:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 00:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":148302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":148302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":148302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457093898752001,"66":27397,"163":206,"9":24832,"24":3,"16":365382402698117120,"45":8622563724611813376},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457093898752001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:09:39] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:09:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382402698117120,"km_value":365382402698117.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622563724611813376,"description":"Unknown IO ID 45"} 
[2026-08-01 00:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457093898752001,"power":27397,"unknown_163":206,"unknown_9":24832,"ignition":3,"odometer":null,"unknown_45":8622563724611813376}} 
[2026-08-01 00:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":148302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:09:39] local.INFO: GPS data processed {"connection_id":148302,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:09:39] local.INFO: Acknowledgment sent {"connection_id":148302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:09:57] local.INFO: TCP Data received {"connection_id":145759,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:09:57] local.INFO: Processing buffer {"connection_id":145759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:09:57] local.INFO: IMEI packet received {"connection_id":145759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":145759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:10:03] local.INFO: TCP Data received {"connection_id":145759,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:10:03] local.INFO: Processing buffer {"connection_id":145759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:10:03] local.INFO: IMEI packet received {"connection_id":145759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":145759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:10:10] local.INFO: TCP Data received {"connection_id":145759,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb977ad80012d77a4c005f2a7180016011a29..."} 
[2026-08-01 00:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb977ad80012d77a4c005f2a7180016011a29..."} 
[2026-08-01 00:10:10] local.INFO: Processing buffer {"connection_id":145759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb977ad80012d77a4c005f2a7180016011a29..."} 
[2026-08-01 00:10:10] local.INFO: Packet analysis {"connection_id":145759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb977"} 
[2026-08-01 00:10:10] local.INFO: Extracted packet for processing {"connection_id":145759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb977"} 
[2026-08-01 00:10:10] local.INFO: GPS Element Parsed {"raw_longitude":762815680,"raw_latitude":99788568,"longitude_deg":76.281568,"latitude_deg":9.9788568,"altitude":22,"angle":282,"satellites":41,"speed":4,"hex_longitude":"2d77a4c0","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 00:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457093900288001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382449942757376,"note":"Value kept but may cause issues"} 
[2026-08-01 00:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622282249635065856,"note":"Value kept but may cause issues"} 
[2026-08-01 00:10: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-08-01 00:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785523056000,"timestamp_ms":1785523056000,"timestamp_seconds":1785523056,"priority":1,"record_length":96,"hex_timestamp":"0000019fb977ad80"} 
[2026-08-01 00:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:10:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 00:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-01 00:10:10] 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-08-01 00:10:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 00:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457093900288001,"66":27865,"163":206,"9":24832,"24":4,"16":365382449942757376,"45":8622282249635065856},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457093900288001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:10:10] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:10:10] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382449942757376,"km_value":365382449942757.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622282249635065856,"description":"Unknown IO ID 45"} 
[2026-08-01 00:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457093900288001,"power":27865,"unknown_163":206,"unknown_9":24832,"ignition":4,"odometer":null,"unknown_45":8622282249635065856}} 
[2026-08-01 00:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":145759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:10:10] local.INFO: GPS data processed {"connection_id":145759,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:10:10] local.INFO: Acknowledgment sent {"connection_id":145759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:10:15] local.INFO: TCP Data received {"connection_id":148304,"ip":"45.156.129.118","data_length":178,"data_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-08-01 00:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148304,"packet_length":178,"packet_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-08-01 00:10:15] local.INFO: Processing buffer {"connection_id":148304,"buffer_length":178,"buffer_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-08-01 00:10:15] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":148304,"buffer_length":178,"first_bytes_hex":"474554202f20485454502f312e310d0a"} 
[2026-08-01 00:10:42] local.INFO: TCP Data received {"connection_id":145759,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb977b550012d77a40005f2a7300016010d29..."} 
[2026-08-01 00:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb977b550012d77a40005f2a7300016010d29..."} 
[2026-08-01 00:10:42] local.INFO: Processing buffer {"connection_id":145759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb977b550012d77a40005f2a7300016010d29..."} 
[2026-08-01 00:10:42] local.INFO: Packet analysis {"connection_id":145759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb977"} 
[2026-08-01 00:10:42] local.INFO: Extracted packet for processing {"connection_id":145759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb977"} 
[2026-08-01 00:10:42] local.INFO: GPS Element Parsed {"raw_longitude":762815488,"raw_latitude":99788592,"longitude_deg":76.2815488,"latitude_deg":9.9788592,"altitude":22,"angle":269,"satellites":41,"speed":3,"hex_longitude":"2d77a400","hex_latitude":"05f2a730","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457093902336001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382458532691968,"note":"Value kept but may cause issues"} 
[2026-08-01 00:10:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621226718472378368,"note":"Value kept but may cause issues"} 
[2026-08-01 00:10: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-08-01 00:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785523058000,"timestamp_ms":1785523058000,"timestamp_seconds":1785523058,"priority":1,"record_length":96,"hex_timestamp":"0000019fb977b550"} 
[2026-08-01 00:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 00: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 00:10:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 00: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-08-01 00:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":145759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":145759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":145759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457093902336001,"66":27745,"163":206,"9":24832,"24":3,"16":365382458532691968,"45":8621226718472378368},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457093902336001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:10:42] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:10:42] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382458532691968,"km_value":365382458532691.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:10:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621226718472378368,"description":"Unknown IO ID 45"} 
[2026-08-01 00:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457093902336001,"power":27745,"unknown_163":206,"unknown_9":24832,"ignition":3,"odometer":null,"unknown_45":8621226718472378368}} 
[2026-08-01 00:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":145759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:10:42] local.INFO: GPS data processed {"connection_id":145759,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:10:42] local.INFO: Acknowledgment sent {"connection_id":145759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:10:57] local.INFO: TCP Data received {"connection_id":148305,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:10:57] local.INFO: Processing buffer {"connection_id":148305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:10:57] local.INFO: IMEI packet received {"connection_id":148305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":148305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:11:03] local.INFO: TCP Data received {"connection_id":148305,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:11:03] local.INFO: Processing buffer {"connection_id":148305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:11:03] local.INFO: IMEI packet received {"connection_id":148305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":148305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:11:03] local.INFO: TCP Data received {"connection_id":148305,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb977bd20012d77a34005f2a720001600fe29..."} 
[2026-08-01 00:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb977bd20012d77a34005f2a720001600fe29..."} 
[2026-08-01 00:11:03] local.INFO: Processing buffer {"connection_id":148305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb977bd20012d77a34005f2a720001600fe29..."} 
[2026-08-01 00:11:03] local.INFO: Packet analysis {"connection_id":148305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb977"} 
[2026-08-01 00:11:03] local.INFO: Extracted packet for processing {"connection_id":148305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb977"} 
[2026-08-01 00:11:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788576,"longitude_deg":76.2815296,"latitude_deg":9.9788576,"altitude":22,"angle":254,"satellites":41,"speed":2,"hex_longitude":"2d77a340","hex_latitude":"05f2a720","is_valid_coordinates":true} 
[2026-08-01 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-08-01 00:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457093902848001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621015612239851520,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 00:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785523060000,"timestamp_ms":1785523060000,"timestamp_seconds":1785523060,"priority":1,"record_length":96,"hex_timestamp":"0000019fb977bd20"} 
[2026-08-01 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-08-01 00:11: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-08-01 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 00:11: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-08-01 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-08-01 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-08-01 00:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457093902848001,"66":27571,"163":206,"9":24832,"24":2,"16":365382467122626560,"45":8621015612239851520},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457093902848001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:11:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:11:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621015612239851520,"description":"Unknown IO ID 45"} 
[2026-08-01 00:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457093902848001,"power":27571,"unknown_163":206,"unknown_9":24832,"ignition":2,"odometer":null,"unknown_45":8621015612239851520}} 
[2026-08-01 00:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":148305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:11:03] local.INFO: GPS data processed {"connection_id":148305,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:11:03] local.INFO: Acknowledgment sent {"connection_id":148305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:11:35] local.INFO: TCP Data received {"connection_id":148305,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb977c108012d77a34005f2a7200017010c28..."} 
[2026-08-01 00:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb977c108012d77a34005f2a7200017010c28..."} 
[2026-08-01 00:11:35] local.INFO: Processing buffer {"connection_id":148305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb977c108012d77a34005f2a7200017010c28..."} 
[2026-08-01 00:11:35] local.INFO: Packet analysis {"connection_id":148305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb977"} 
[2026-08-01 00:11:35] local.INFO: Extracted packet for processing {"connection_id":148305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb977"} 
[2026-08-01 00:11:35] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788576,"longitude_deg":76.2815296,"latitude_deg":9.9788576,"altitude":23,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a720","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457093903360001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007314432,"note":"Value kept but may cause issues"} 
[2026-08-01 00:11: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-08-01 00:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785523061000,"timestamp_ms":1785523061000,"timestamp_seconds":1785523061,"priority":1,"record_length":96,"hex_timestamp":"0000019fb977c108"} 
[2026-08-01 00:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 00:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-01 00:11:35] 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-08-01 00: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-08-01 00:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457093903360001,"66":27571,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007314432},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457093903360001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:11:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:11:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007314432,"description":"Unknown IO ID 45"} 
[2026-08-01 00:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457093903360001,"power":27571,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007314432}} 
[2026-08-01 00:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":148305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:11:35] local.INFO: GPS data processed {"connection_id":148305,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:11:35] local.INFO: Acknowledgment sent {"connection_id":148305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:11:57] local.INFO: TCP Data received {"connection_id":145964,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:11:57] local.INFO: Processing buffer {"connection_id":145964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:11:57] local.INFO: IMEI packet received {"connection_id":145964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":145964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:12:02] local.INFO: TCP Data received {"connection_id":145964,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:12:02] local.INFO: Processing buffer {"connection_id":145964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:12:02] local.INFO: IMEI packet received {"connection_id":145964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":145964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:12:04] local.INFO: TCP Data received {"connection_id":145964,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9780370012d77a34005f2a7180017010c27..."} 
[2026-08-01 00:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9780370012d77a34005f2a7180017010c27..."} 
[2026-08-01 00:12:04] local.INFO: Processing buffer {"connection_id":145964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9780370012d77a34005f2a7180017010c27..."} 
[2026-08-01 00:12:04] local.INFO: Packet analysis {"connection_id":145964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb978"} 
[2026-08-01 00:12:04] local.INFO: Extracted packet for processing {"connection_id":145964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb978"} 
[2026-08-01 00:12:04] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 00:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457093903616001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007314432,"note":"Value kept but may cause issues"} 
[2026-08-01 00:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 00:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785523078000,"timestamp_ms":1785523078000,"timestamp_seconds":1785523078,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9780370"} 
[2026-08-01 00:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:12: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-08-01 00:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-01 00:12:04] 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-08-01 00:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 00:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":145964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":145964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":145964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457093903616001,"66":27865,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007314432},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457093903616001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:12:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:12:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007314432,"description":"Unknown IO ID 45"} 
[2026-08-01 00:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457093903616001,"power":27865,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007314432}} 
[2026-08-01 00:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":145964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:12:04] local.INFO: GPS data processed {"connection_id":145964,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:12:04] local.INFO: Acknowledgment sent {"connection_id":145964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:12:35] local.INFO: TCP Data received {"connection_id":145964,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9780370012d77a34005f2a7180017010c27..."} 
[2026-08-01 00:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9780370012d77a34005f2a7180017010c27..."} 
[2026-08-01 00:12:35] local.INFO: Processing buffer {"connection_id":145964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9780370012d77a34005f2a7180017010c27..."} 
[2026-08-01 00:12:35] local.INFO: Packet analysis {"connection_id":145964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb978"} 
[2026-08-01 00:12:35] local.INFO: Extracted packet for processing {"connection_id":145964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb978"} 
[2026-08-01 00:12:35] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00:12: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-08-01 00:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457093903616001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007314432,"note":"Value kept but may cause issues"} 
[2026-08-01 00:12: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-08-01 00:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785523078000,"timestamp_ms":1785523078000,"timestamp_seconds":1785523078,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9780370"} 
[2026-08-01 00:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:12: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-08-01 00: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-01 00:12:35] 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-08-01 00: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-08-01 00:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":145964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":145964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":145964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457093903616001,"66":27865,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007314432},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457093903616001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:12:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:12:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007314432,"description":"Unknown IO ID 45"} 
[2026-08-01 00:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457093903616001,"power":27865,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007314432}} 
[2026-08-01 00:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":145964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:12:35] local.INFO: GPS data processed {"connection_id":145964,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:12:35] local.INFO: Acknowledgment sent {"connection_id":145964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:13:02] local.INFO: TCP Data received {"connection_id":148306,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:13:02] local.INFO: Processing buffer {"connection_id":148306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:13:02] local.INFO: IMEI packet received {"connection_id":148306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":148306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:13:07] local.INFO: TCP Data received {"connection_id":148306,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:13:07] local.INFO: Processing buffer {"connection_id":148306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:13:07] local.INFO: IMEI packet received {"connection_id":148306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":148306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:13:08] local.INFO: TCP Data received {"connection_id":148306,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9780370012d77a34005f2a7180017010c27..."} 
[2026-08-01 00:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9780370012d77a34005f2a7180017010c27..."} 
[2026-08-01 00:13:08] local.INFO: Processing buffer {"connection_id":148306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9780370012d77a34005f2a7180017010c27..."} 
[2026-08-01 00:13:08] local.INFO: Packet analysis {"connection_id":148306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb978"} 
[2026-08-01 00:13:08] local.INFO: Extracted packet for processing {"connection_id":148306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb978"} 
[2026-08-01 00:13:08] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 00:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457093903616001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007314432,"note":"Value kept but may cause issues"} 
[2026-08-01 00:13: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-08-01 00:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785523078000,"timestamp_ms":1785523078000,"timestamp_seconds":1785523078,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9780370"} 
[2026-08-01 00:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:13:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 00: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-01 00:13:08] 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-08-01 00: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-08-01 00:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":148306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":148306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":148306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:13:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457093903616001,"66":27865,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007314432},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457093903616001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:13:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:13:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007314432,"description":"Unknown IO ID 45"} 
[2026-08-01 00:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457093903616001,"power":27865,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007314432}} 
[2026-08-01 00:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":148306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:13:08] local.INFO: GPS data processed {"connection_id":148306,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:13:08] local.INFO: Acknowledgment sent {"connection_id":148306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:13:13] local.INFO: TCP Data received {"connection_id":148306,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9780370012d77a34005f2a7180017010c27..."} 
[2026-08-01 00:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9780370012d77a34005f2a7180017010c27..."} 
[2026-08-01 00:13:13] local.INFO: Processing buffer {"connection_id":148306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9780370012d77a34005f2a7180017010c27..."} 
[2026-08-01 00:13:13] local.INFO: Packet analysis {"connection_id":148306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb978"} 
[2026-08-01 00:13:13] local.INFO: Extracted packet for processing {"connection_id":148306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb978"} 
[2026-08-01 00:13:13] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 00:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457093903616001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:13:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007314432,"note":"Value kept but may cause issues"} 
[2026-08-01 00:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 00:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785523078000,"timestamp_ms":1785523078000,"timestamp_seconds":1785523078,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9780370"} 
[2026-08-01 00:13:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:13:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 00:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-01 00:13:13] 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-08-01 00:13:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 00:13:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":148306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":148306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":148306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457093903616001,"66":27865,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007314432},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457093903616001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:13:13] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:13:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:13:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007314432,"description":"Unknown IO ID 45"} 
[2026-08-01 00:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457093903616001,"power":27865,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007314432}} 
[2026-08-01 00:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":148306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:13:13] local.INFO: GPS data processed {"connection_id":148306,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:13:13] local.INFO: Acknowledgment sent {"connection_id":148306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:13:58] local.INFO: TCP Data received {"connection_id":145760,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:13:58] local.INFO: Processing buffer {"connection_id":145760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:13:58] local.INFO: IMEI packet received {"connection_id":145760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":145760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:14:02] local.INFO: TCP Data received {"connection_id":145760,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:14:02] local.INFO: Processing buffer {"connection_id":145760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:14:02] local.INFO: IMEI packet received {"connection_id":145760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":145760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:14:03] local.INFO: TCP Data received {"connection_id":145760,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb97c9f20012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb97c9f20012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:14:03] local.INFO: Processing buffer {"connection_id":145760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb97c9f20012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:14:03] local.INFO: Packet analysis {"connection_id":145760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb97c"} 
[2026-08-01 00:14:03] local.INFO: Extracted packet for processing {"connection_id":145760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb97c"} 
[2026-08-01 00:14:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 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-08-01 00:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457093907968001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 00:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785523380000,"timestamp_ms":1785523380000,"timestamp_seconds":1785523380,"priority":1,"record_length":96,"hex_timestamp":"0000019fb97c9f20"} 
[2026-08-01 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-08-01 00:14: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-08-01 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 00:14: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-08-01 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-08-01 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-08-01 00:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457093907968001,"66":26180,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457093907968001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:14:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:14:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457093907968001,"power":26180,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":145760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:14:03] local.INFO: GPS data processed {"connection_id":145760,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:14:03] local.INFO: Acknowledgment sent {"connection_id":145760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:14:35] local.INFO: TCP Data received {"connection_id":145760,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb97c9f20012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb97c9f20012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:14:35] local.INFO: Processing buffer {"connection_id":145760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb97c9f20012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:14:35] local.INFO: Packet analysis {"connection_id":145760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb97c"} 
[2026-08-01 00:14:35] local.INFO: Extracted packet for processing {"connection_id":145760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb97c"} 
[2026-08-01 00:14:35] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457093907968001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:14: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-08-01 00:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785523380000,"timestamp_ms":1785523380000,"timestamp_seconds":1785523380,"priority":1,"record_length":96,"hex_timestamp":"0000019fb97c9f20"} 
[2026-08-01 00:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:14: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-08-01 00: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":217,"data_length":795,"current_offset":136} 
[2026-08-01 00:14: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-08-01 00: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-08-01 00:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":145760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":145760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":145760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457093907968001,"66":26180,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457093907968001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:14:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:14:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457093907968001,"power":26180,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":145760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:14:35] local.INFO: GPS data processed {"connection_id":145760,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:14:35] local.INFO: Acknowledgment sent {"connection_id":145760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:14:57] local.INFO: TCP Data received {"connection_id":145965,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:14:57] local.INFO: Processing buffer {"connection_id":145965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:14:57] local.INFO: IMEI packet received {"connection_id":145965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":145965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:15:02] local.INFO: TCP Data received {"connection_id":145965,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:15:02] local.INFO: Processing buffer {"connection_id":145965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:15:02] local.INFO: IMEI packet received {"connection_id":145965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":145965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:15:03] local.INFO: TCP Data received {"connection_id":145965,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb97c9f20012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb97c9f20012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:15:03] local.INFO: Processing buffer {"connection_id":145965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb97c9f20012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:15:03] local.INFO: Packet analysis {"connection_id":145965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb97c"} 
[2026-08-01 00:15:03] local.INFO: Extracted packet for processing {"connection_id":145965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb97c"} 
[2026-08-01 00:15:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 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-08-01 00:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457093907968001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 00:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785523380000,"timestamp_ms":1785523380000,"timestamp_seconds":1785523380,"priority":1,"record_length":96,"hex_timestamp":"0000019fb97c9f20"} 
[2026-08-01 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-08-01 00:15: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-08-01 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 00:15: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-08-01 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-08-01 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-08-01 00:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457093907968001,"66":26180,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457093907968001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:15:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:15:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457093907968001,"power":26180,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":145965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:15:03] local.INFO: GPS data processed {"connection_id":145965,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:15:03] local.INFO: Acknowledgment sent {"connection_id":145965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:15:35] local.INFO: TCP Data received {"connection_id":145965,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb97c9f20012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb97c9f20012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:15:35] local.INFO: Processing buffer {"connection_id":145965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb97c9f20012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:15:35] local.INFO: Packet analysis {"connection_id":145965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb97c"} 
[2026-08-01 00:15:35] local.INFO: Extracted packet for processing {"connection_id":145965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb97c"} 
[2026-08-01 00:15:35] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457093907968001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:15: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-08-01 00:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785523380000,"timestamp_ms":1785523380000,"timestamp_seconds":1785523380,"priority":1,"record_length":96,"hex_timestamp":"0000019fb97c9f20"} 
[2026-08-01 00:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:15: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-08-01 00:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 00:15: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-08-01 00: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-08-01 00:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":145965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":145965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":145965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457093907968001,"66":26180,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457093907968001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:15:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:15:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457093907968001,"power":26180,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":145965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:15:35] local.INFO: GPS data processed {"connection_id":145965,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:15:35] local.INFO: Acknowledgment sent {"connection_id":145965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:15:57] local.INFO: TCP Data received {"connection_id":145966,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:15:57] local.INFO: Processing buffer {"connection_id":145966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:15:57] local.INFO: IMEI packet received {"connection_id":145966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":145966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:16:02] local.INFO: TCP Data received {"connection_id":145966,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:16:02] local.INFO: Processing buffer {"connection_id":145966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:16:02] local.INFO: IMEI packet received {"connection_id":145966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":145966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:16:06] local.INFO: TCP Data received {"connection_id":145966,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb97c9f20012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb97c9f20012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:16:06] local.INFO: Processing buffer {"connection_id":145966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb97c9f20012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:16:06] local.INFO: Packet analysis {"connection_id":145966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb97c"} 
[2026-08-01 00:16:06] local.INFO: Extracted packet for processing {"connection_id":145966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb97c"} 
[2026-08-01 00:16:06] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457093907968001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 00:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785523380000,"timestamp_ms":1785523380000,"timestamp_seconds":1785523380,"priority":1,"record_length":96,"hex_timestamp":"0000019fb97c9f20"} 
[2026-08-01 00:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00: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-08-01 00: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-08-01 00:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457093907968001,"66":26180,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457093907968001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:16:06] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:16:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457093907968001,"power":26180,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":145966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:16:06] local.INFO: GPS data processed {"connection_id":145966,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:16:06] local.INFO: Acknowledgment sent {"connection_id":145966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:17:02] local.INFO: TCP Data received {"connection_id":146984,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:17:02] local.INFO: Processing buffer {"connection_id":146984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:17:02] local.INFO: IMEI packet received {"connection_id":146984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":146984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:17:07] local.INFO: TCP Data received {"connection_id":146984,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:17:07] local.INFO: Processing buffer {"connection_id":146984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:17:07] local.INFO: IMEI packet received {"connection_id":146984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":146984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:17:08] local.INFO: TCP Data received {"connection_id":146984,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb97c9f20012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb97c9f20012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:17:08] local.INFO: Processing buffer {"connection_id":146984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb97c9f20012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:17:08] local.INFO: Packet analysis {"connection_id":146984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb97c"} 
[2026-08-01 00:17:08] local.INFO: Extracted packet for processing {"connection_id":146984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb97c"} 
[2026-08-01 00:17:08] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457093907968001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:17: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-08-01 00:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785523380000,"timestamp_ms":1785523380000,"timestamp_seconds":1785523380,"priority":1,"record_length":96,"hex_timestamp":"0000019fb97c9f20"} 
[2026-08-01 00:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 00:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 00:17: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-08-01 00: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-08-01 00:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":146984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":146984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":146984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457093907968001,"66":26180,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457093907968001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:17:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:17:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457093907968001,"power":26180,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":146984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:17:08] local.INFO: GPS data processed {"connection_id":146984,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:17:08] local.INFO: Acknowledgment sent {"connection_id":146984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:17:39] local.INFO: TCP Data received {"connection_id":146984,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb97c9f20012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb97c9f20012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:17:39] local.INFO: Processing buffer {"connection_id":146984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb97c9f20012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:17:39] local.INFO: Packet analysis {"connection_id":146984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb97c"} 
[2026-08-01 00:17:39] local.INFO: Extracted packet for processing {"connection_id":146984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb97c"} 
[2026-08-01 00:17:39] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 00:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457093907968001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 00:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785523380000,"timestamp_ms":1785523380000,"timestamp_seconds":1785523380,"priority":1,"record_length":96,"hex_timestamp":"0000019fb97c9f20"} 
[2026-08-01 00:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:17: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-08-01 00:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 00:17:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 00:17:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 00:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457093907968001,"66":26180,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457093907968001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:17:39] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:17:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457093907968001,"power":26180,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":146984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:17:39] local.INFO: GPS data processed {"connection_id":146984,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:17:39] local.INFO: Acknowledgment sent {"connection_id":146984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:17:57] local.INFO: TCP Data received {"connection_id":148307,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:17:57] local.INFO: Processing buffer {"connection_id":148307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:17:57] local.INFO: IMEI packet received {"connection_id":148307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":148307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:18:02] local.INFO: TCP Data received {"connection_id":148307,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:18:02] local.INFO: Processing buffer {"connection_id":148307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:18:02] local.INFO: IMEI packet received {"connection_id":148307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":148307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:18:03] local.INFO: TCP Data received {"connection_id":148307,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb97c9f20012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb97c9f20012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:18:03] local.INFO: Processing buffer {"connection_id":148307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb97c9f20012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:18:03] local.INFO: Packet analysis {"connection_id":148307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb97c"} 
[2026-08-01 00:18:03] local.INFO: Extracted packet for processing {"connection_id":148307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb97c"} 
[2026-08-01 00:18:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 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-08-01 00:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457093907968001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 00:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785523380000,"timestamp_ms":1785523380000,"timestamp_seconds":1785523380,"priority":1,"record_length":96,"hex_timestamp":"0000019fb97c9f20"} 
[2026-08-01 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-08-01 00:18: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-08-01 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 00:18: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-08-01 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-08-01 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-08-01 00:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457093907968001,"66":26180,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457093907968001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:18:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:18:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457093907968001,"power":26180,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":148307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:18:03] local.INFO: GPS data processed {"connection_id":148307,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:18:03] local.INFO: Acknowledgment sent {"connection_id":148307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:18:35] local.INFO: TCP Data received {"connection_id":148307,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb97c9f20012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb97c9f20012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:18:35] local.INFO: Processing buffer {"connection_id":148307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb97c9f20012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:18:35] local.INFO: Packet analysis {"connection_id":148307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb97c"} 
[2026-08-01 00:18:35] local.INFO: Extracted packet for processing {"connection_id":148307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb97c"} 
[2026-08-01 00:18:35] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457093907968001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:18: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-08-01 00:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785523380000,"timestamp_ms":1785523380000,"timestamp_seconds":1785523380,"priority":1,"record_length":96,"hex_timestamp":"0000019fb97c9f20"} 
[2026-08-01 00:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:18:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 00: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":217,"data_length":795,"current_offset":136} 
[2026-08-01 00:18: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-08-01 00: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-08-01 00:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457093907968001,"66":26180,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457093907968001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:18:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:18:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457093907968001,"power":26180,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":148307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:18:35] local.INFO: GPS data processed {"connection_id":148307,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:18:35] local.INFO: Acknowledgment sent {"connection_id":148307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:18:57] local.INFO: TCP Data received {"connection_id":145967,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:18:57] local.INFO: Processing buffer {"connection_id":145967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:18:57] local.INFO: IMEI packet received {"connection_id":145967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":145967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:19:02] local.INFO: TCP Data received {"connection_id":145967,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:19:02] local.INFO: Processing buffer {"connection_id":145967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:19:02] local.INFO: IMEI packet received {"connection_id":145967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":145967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:19:03] local.INFO: TCP Data received {"connection_id":145967,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb98136e8012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb98136e8012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:19:03] local.INFO: Processing buffer {"connection_id":145967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb98136e8012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:19:03] local.INFO: Packet analysis {"connection_id":145967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb981"} 
[2026-08-01 00:19:03] local.INFO: Extracted packet for processing {"connection_id":145967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb981"} 
[2026-08-01 00:19:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 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-08-01 00:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457093985280001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 00:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785523681000,"timestamp_ms":1785523681000,"timestamp_seconds":1785523681,"priority":1,"record_length":96,"hex_timestamp":"0000019fb98136e8"} 
[2026-08-01 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-08-01 00:19: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-08-01 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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-01 00:19:03] 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-08-01 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-08-01 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-08-01 00:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457093985280001,"66":25854,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457093985280001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:19:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:19:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457093985280001,"power":25854,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":145967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:19:03] local.INFO: GPS data processed {"connection_id":145967,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:19:03] local.INFO: Acknowledgment sent {"connection_id":145967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:19:57] local.INFO: TCP Data received {"connection_id":148308,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:19:57] local.INFO: Processing buffer {"connection_id":148308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:19:57] local.INFO: IMEI packet received {"connection_id":148308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":148308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:20:02] local.INFO: TCP Data received {"connection_id":148308,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:20:02] local.INFO: Processing buffer {"connection_id":148308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:20:02] local.INFO: IMEI packet received {"connection_id":148308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":148308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:20:03] local.INFO: TCP Data received {"connection_id":148308,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb98136e8012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb98136e8012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:20:03] local.INFO: Processing buffer {"connection_id":148308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb98136e8012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:20:03] local.INFO: Packet analysis {"connection_id":148308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb981"} 
[2026-08-01 00:20:03] local.INFO: Extracted packet for processing {"connection_id":148308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb981"} 
[2026-08-01 00:20:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457093985280001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:20: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-08-01 00:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785523681000,"timestamp_ms":1785523681000,"timestamp_seconds":1785523681,"priority":1,"record_length":96,"hex_timestamp":"0000019fb98136e8"} 
[2026-08-01 00:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:20: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-08-01 00: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-01 00:20:03] 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-08-01 00: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-08-01 00:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457093985280001,"66":25854,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457093985280001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:20:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:20:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457093985280001,"power":25854,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":148308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:20:03] local.INFO: GPS data processed {"connection_id":148308,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:20:03] local.INFO: Acknowledgment sent {"connection_id":148308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:20:34] local.INFO: TCP Data received {"connection_id":148308,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb98136e8012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb98136e8012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:20:34] local.INFO: Processing buffer {"connection_id":148308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb98136e8012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:20:34] local.INFO: Packet analysis {"connection_id":148308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb981"} 
[2026-08-01 00:20:34] local.INFO: Extracted packet for processing {"connection_id":148308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb981"} 
[2026-08-01 00:20:34] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457093985280001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:20:34] 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-08-01 00:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785523681000,"timestamp_ms":1785523681000,"timestamp_seconds":1785523681,"priority":1,"record_length":96,"hex_timestamp":"0000019fb98136e8"} 
[2026-08-01 00:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00: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-08-01 00: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-01 00:20:34] 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-08-01 00: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-08-01 00:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457093985280001,"66":25854,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457093985280001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:20:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:20:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457093985280001,"power":25854,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":148308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:20:34] local.INFO: GPS data processed {"connection_id":148308,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:20:34] local.INFO: Acknowledgment sent {"connection_id":148308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:21:02] local.INFO: TCP Data received {"connection_id":145761,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:21:02] local.INFO: Processing buffer {"connection_id":145761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:21:02] local.INFO: IMEI packet received {"connection_id":145761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":145761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:21:07] local.INFO: TCP Data received {"connection_id":145761,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:21:07] local.INFO: Processing buffer {"connection_id":145761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:21:07] local.INFO: IMEI packet received {"connection_id":145761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":145761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:21:08] local.INFO: TCP Data received {"connection_id":145761,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb98136e8012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb98136e8012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:21:08] local.INFO: Processing buffer {"connection_id":145761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb98136e8012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:21:08] local.INFO: Packet analysis {"connection_id":145761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb981"} 
[2026-08-01 00:21:08] local.INFO: Extracted packet for processing {"connection_id":145761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb981"} 
[2026-08-01 00:21:08] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 00:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457093985280001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:21: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-08-01 00:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785523681000,"timestamp_ms":1785523681000,"timestamp_seconds":1785523681,"priority":1,"record_length":96,"hex_timestamp":"0000019fb98136e8"} 
[2026-08-01 00:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:21:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 00:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-01 00:21:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 00:21:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 00:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457093985280001,"66":25854,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457093985280001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:21:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:21:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457093985280001,"power":25854,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":145761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:21:08] local.INFO: GPS data processed {"connection_id":145761,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:21:08] local.INFO: Acknowledgment sent {"connection_id":145761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:21:13] local.INFO: TCP Data received {"connection_id":145761,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb98136e8012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb98136e8012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:21:13] local.INFO: Processing buffer {"connection_id":145761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb98136e8012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:21:13] local.INFO: Packet analysis {"connection_id":145761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb981"} 
[2026-08-01 00:21:13] local.INFO: Extracted packet for processing {"connection_id":145761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb981"} 
[2026-08-01 00:21:13] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00:21:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 00:21:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457093985280001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:21:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:21:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 00:21:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785523681000,"timestamp_ms":1785523681000,"timestamp_seconds":1785523681,"priority":1,"record_length":96,"hex_timestamp":"0000019fb98136e8"} 
[2026-08-01 00:21:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:21:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 00:21:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-01 00:21:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 00:21:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 00:21:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":145761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":145761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":145761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:21:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:21:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:21:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457093985280001,"66":25854,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457093985280001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:21:13] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:21:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:21:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:21:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457093985280001,"power":25854,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":145761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:21:13] local.INFO: GPS data processed {"connection_id":145761,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:21:13] local.INFO: Acknowledgment sent {"connection_id":145761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:21:57] local.INFO: TCP Data received {"connection_id":145762,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:21:57] local.INFO: Processing buffer {"connection_id":145762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:21:57] local.INFO: IMEI packet received {"connection_id":145762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":145762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:22:02] local.INFO: TCP Data received {"connection_id":145762,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:22:02] local.INFO: Processing buffer {"connection_id":145762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:22:02] local.INFO: IMEI packet received {"connection_id":145762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":145762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:22:03] local.INFO: TCP Data received {"connection_id":145762,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb98136e8012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb98136e8012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:22:03] local.INFO: Processing buffer {"connection_id":145762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb98136e8012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:22:03] local.INFO: Packet analysis {"connection_id":145762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb981"} 
[2026-08-01 00:22:03] local.INFO: Extracted packet for processing {"connection_id":145762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb981"} 
[2026-08-01 00:22:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 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-08-01 00:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457093985280001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 00:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785523681000,"timestamp_ms":1785523681000,"timestamp_seconds":1785523681,"priority":1,"record_length":96,"hex_timestamp":"0000019fb98136e8"} 
[2026-08-01 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-08-01 00:22: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-08-01 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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-01 00:22:03] 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-08-01 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-08-01 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-08-01 00:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457093985280001,"66":25854,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457093985280001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:22:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:22:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457093985280001,"power":25854,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":145762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:22:03] local.INFO: GPS data processed {"connection_id":145762,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:22:03] local.INFO: Acknowledgment sent {"connection_id":145762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:22:35] local.INFO: TCP Data received {"connection_id":145762,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb98136e8012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb98136e8012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:22:35] local.INFO: Processing buffer {"connection_id":145762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb98136e8012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:22:35] local.INFO: Packet analysis {"connection_id":145762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb981"} 
[2026-08-01 00:22:35] local.INFO: Extracted packet for processing {"connection_id":145762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb981"} 
[2026-08-01 00:22:35] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457093985280001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:22: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-08-01 00:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785523681000,"timestamp_ms":1785523681000,"timestamp_seconds":1785523681,"priority":1,"record_length":96,"hex_timestamp":"0000019fb98136e8"} 
[2026-08-01 00:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 00:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-01 00:22: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-08-01 00: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-08-01 00:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":145762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":145762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":145762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457093985280001,"66":25854,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457093985280001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:22:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:22:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457093985280001,"power":25854,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":145762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:22:35] local.INFO: GPS data processed {"connection_id":145762,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:22:35] local.INFO: Acknowledgment sent {"connection_id":145762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:22:57] local.INFO: TCP Data received {"connection_id":148309,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:22:57] local.INFO: Processing buffer {"connection_id":148309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:22:57] local.INFO: IMEI packet received {"connection_id":148309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":148309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:23:02] local.INFO: TCP Data received {"connection_id":148309,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:23:02] local.INFO: Processing buffer {"connection_id":148309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:23:02] local.INFO: IMEI packet received {"connection_id":148309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":148309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:23:03] local.INFO: TCP Data received {"connection_id":148309,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb98136e8012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb98136e8012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:23:03] local.INFO: Processing buffer {"connection_id":148309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb98136e8012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:23:03] local.INFO: Packet analysis {"connection_id":148309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb981"} 
[2026-08-01 00:23:03] local.INFO: Extracted packet for processing {"connection_id":148309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb981"} 
[2026-08-01 00:23:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457093985280001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:23: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-08-01 00:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785523681000,"timestamp_ms":1785523681000,"timestamp_seconds":1785523681,"priority":1,"record_length":96,"hex_timestamp":"0000019fb98136e8"} 
[2026-08-01 00:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:23: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-08-01 00: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-01 00:23:03] 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-08-01 00: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-08-01 00:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457093985280001,"66":25854,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457093985280001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:23:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:23:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457093985280001,"power":25854,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":148309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:23:03] local.INFO: GPS data processed {"connection_id":148309,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:23:03] local.INFO: Acknowledgment sent {"connection_id":148309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:23:34] local.INFO: TCP Data received {"connection_id":148309,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb98136e8012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb98136e8012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:23:34] local.INFO: Processing buffer {"connection_id":148309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb98136e8012d77a34005f2a7180017010c28..."} 
[2026-08-01 00:23:34] local.INFO: Packet analysis {"connection_id":148309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb981"} 
[2026-08-01 00:23:34] local.INFO: Extracted packet for processing {"connection_id":148309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb981"} 
[2026-08-01 00:23:34] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457093985280001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:23:34] 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-08-01 00:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785523681000,"timestamp_ms":1785523681000,"timestamp_seconds":1785523681,"priority":1,"record_length":96,"hex_timestamp":"0000019fb98136e8"} 
[2026-08-01 00:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:23: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-08-01 00: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-01 00:23:34] 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-08-01 00: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-08-01 00:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457093985280001,"66":25854,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457093985280001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:23:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:23:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457093985280001,"power":25854,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":148309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:23:34] local.INFO: GPS data processed {"connection_id":148309,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:23:34] local.INFO: Acknowledgment sent {"connection_id":148309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:23:57] local.INFO: TCP Data received {"connection_id":145968,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:23:57] local.INFO: Processing buffer {"connection_id":145968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:23:57] local.INFO: IMEI packet received {"connection_id":145968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":145968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:24:02] local.INFO: TCP Data received {"connection_id":145968,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:24:02] local.INFO: Processing buffer {"connection_id":145968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:24:02] local.INFO: IMEI packet received {"connection_id":145968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":145968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:24:03] local.INFO: TCP Data received {"connection_id":145968,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb985ceb0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb985ceb0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:24:03] local.INFO: Processing buffer {"connection_id":145968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb985ceb0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:24:03] local.INFO: Packet analysis {"connection_id":145968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb985"} 
[2026-08-01 00:24:03] local.INFO: Extracted packet for processing {"connection_id":145968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb985"} 
[2026-08-01 00:24:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094062336001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:24: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-08-01 00:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785523982000,"timestamp_ms":1785523982000,"timestamp_seconds":1785523982,"priority":1,"record_length":96,"hex_timestamp":"0000019fb985ceb0"} 
[2026-08-01 00:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:24: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-08-01 00: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":254,"data_length":795,"current_offset":136} 
[2026-08-01 00:24:03] 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-08-01 00: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-08-01 00:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094062336001,"66":25625,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094062336001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:24:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:24:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094062336001,"power":25625,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":145968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:24:03] local.INFO: GPS data processed {"connection_id":145968,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:24:03] local.INFO: Acknowledgment sent {"connection_id":145968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:24:34] local.INFO: TCP Data received {"connection_id":145968,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb985ceb0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb985ceb0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:24:34] local.INFO: Processing buffer {"connection_id":145968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb985ceb0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:24:34] local.INFO: Packet analysis {"connection_id":145968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb985"} 
[2026-08-01 00:24:34] local.INFO: Extracted packet for processing {"connection_id":145968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb985"} 
[2026-08-01 00:24:34] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094062336001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:24:34] 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-08-01 00:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785523982000,"timestamp_ms":1785523982000,"timestamp_seconds":1785523982,"priority":1,"record_length":96,"hex_timestamp":"0000019fb985ceb0"} 
[2026-08-01 00:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:24: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-08-01 00: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":254,"data_length":795,"current_offset":136} 
[2026-08-01 00:24: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-08-01 00: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-08-01 00:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094062336001,"66":25625,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094062336001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:24:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:24:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094062336001,"power":25625,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":145968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:24:34] local.INFO: GPS data processed {"connection_id":145968,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:24:34] local.INFO: Acknowledgment sent {"connection_id":145968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:25:02] local.INFO: TCP Data received {"connection_id":146985,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:25:02] local.INFO: Processing buffer {"connection_id":146985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:25:02] local.INFO: IMEI packet received {"connection_id":146985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":146985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:25:07] local.INFO: TCP Data received {"connection_id":146985,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:25:07] local.INFO: Processing buffer {"connection_id":146985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:25:07] local.INFO: IMEI packet received {"connection_id":146985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":146985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:25:08] local.INFO: TCP Data received {"connection_id":146985,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb985ceb0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb985ceb0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:25:08] local.INFO: Processing buffer {"connection_id":146985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb985ceb0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:25:08] local.INFO: Packet analysis {"connection_id":146985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb985"} 
[2026-08-01 00:25:08] local.INFO: Extracted packet for processing {"connection_id":146985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb985"} 
[2026-08-01 00:25:08] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 00:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094062336001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:25: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-08-01 00:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785523982000,"timestamp_ms":1785523982000,"timestamp_seconds":1785523982,"priority":1,"record_length":96,"hex_timestamp":"0000019fb985ceb0"} 
[2026-08-01 00:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 00:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-01 00:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 00:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 00:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":146985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":146985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":146985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094062336001,"66":25625,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094062336001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:25:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:25:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094062336001,"power":25625,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":146985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:25:08] local.INFO: GPS data processed {"connection_id":146985,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:25:08] local.INFO: Acknowledgment sent {"connection_id":146985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:25:14] local.INFO: TCP Data received {"connection_id":146985,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb985ceb0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb985ceb0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:25:14] local.INFO: Processing buffer {"connection_id":146985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb985ceb0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:25:14] local.INFO: Packet analysis {"connection_id":146985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb985"} 
[2026-08-01 00:25:14] local.INFO: Extracted packet for processing {"connection_id":146985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb985"} 
[2026-08-01 00:25:14] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 00:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094062336001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:25:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:25:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:25:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 00:25:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785523982000,"timestamp_ms":1785523982000,"timestamp_seconds":1785523982,"priority":1,"record_length":96,"hex_timestamp":"0000019fb985ceb0"} 
[2026-08-01 00:25:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:25:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 00:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-01 00:25:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 00:25:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 00:25:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:25:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:25:14] local.INFO: Teltonika packet parsed successfully {"connection_id":146985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:25:14] local.INFO: Passing IMEI to GPS processor {"connection_id":146985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:25:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":146985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:25:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:25:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:25:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:25:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094062336001,"66":25625,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:25:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:25:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:25:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094062336001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:25:14] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:25:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:25:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:25:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:25:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094062336001,"power":25625,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:25:14] local.INFO: DEBUG: GPS processor result {"connection_id":146985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:25:14] local.INFO: GPS data processed {"connection_id":146985,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:25:14] local.INFO: Acknowledgment sent {"connection_id":146985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:25:57] local.INFO: TCP Data received {"connection_id":145765,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:25:57] local.INFO: Processing buffer {"connection_id":145765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:25:57] local.INFO: IMEI packet received {"connection_id":145765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":145765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:26:02] local.INFO: TCP Data received {"connection_id":145765,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:26:02] local.INFO: Processing buffer {"connection_id":145765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:26:02] local.INFO: IMEI packet received {"connection_id":145765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":145765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:26:03] local.INFO: TCP Data received {"connection_id":145765,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb985ceb0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb985ceb0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:26:03] local.INFO: Processing buffer {"connection_id":145765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb985ceb0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:26:03] local.INFO: Packet analysis {"connection_id":145765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb985"} 
[2026-08-01 00:26:03] local.INFO: Extracted packet for processing {"connection_id":145765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb985"} 
[2026-08-01 00:26:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094062336001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:26: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-08-01 00:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785523982000,"timestamp_ms":1785523982000,"timestamp_seconds":1785523982,"priority":1,"record_length":96,"hex_timestamp":"0000019fb985ceb0"} 
[2026-08-01 00:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:26: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-08-01 00: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":254,"data_length":795,"current_offset":136} 
[2026-08-01 00:26:03] 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-08-01 00: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-08-01 00:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094062336001,"66":25625,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094062336001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:26:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:26:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094062336001,"power":25625,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":145765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:26:03] local.INFO: GPS data processed {"connection_id":145765,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:26:03] local.INFO: Acknowledgment sent {"connection_id":145765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:26:35] local.INFO: TCP Data received {"connection_id":145765,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb985ceb0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb985ceb0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:26:35] local.INFO: Processing buffer {"connection_id":145765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb985ceb0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:26:35] local.INFO: Packet analysis {"connection_id":145765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb985"} 
[2026-08-01 00:26:35] local.INFO: Extracted packet for processing {"connection_id":145765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb985"} 
[2026-08-01 00:26:35] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094062336001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:26: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-08-01 00:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785523982000,"timestamp_ms":1785523982000,"timestamp_seconds":1785523982,"priority":1,"record_length":96,"hex_timestamp":"0000019fb985ceb0"} 
[2026-08-01 00:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 00: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-01 00:26:35] 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-08-01 00: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-08-01 00:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":145765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":145765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":145765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094062336001,"66":25625,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094062336001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:26:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:26:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094062336001,"power":25625,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":145765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:26:35] local.INFO: GPS data processed {"connection_id":145765,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:26:35] local.INFO: Acknowledgment sent {"connection_id":145765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:26:58] local.INFO: TCP Data received {"connection_id":148310,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:26:58] local.INFO: Processing buffer {"connection_id":148310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:26:58] local.INFO: IMEI packet received {"connection_id":148310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":148310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:27:02] local.INFO: TCP Data received {"connection_id":148310,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:27:02] local.INFO: Processing buffer {"connection_id":148310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:27:02] local.INFO: IMEI packet received {"connection_id":148310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":148310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:27:03] local.INFO: TCP Data received {"connection_id":148310,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb985ceb0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb985ceb0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:27:03] local.INFO: Processing buffer {"connection_id":148310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb985ceb0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:27:03] local.INFO: Packet analysis {"connection_id":148310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb985"} 
[2026-08-01 00:27:03] local.INFO: Extracted packet for processing {"connection_id":148310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb985"} 
[2026-08-01 00:27:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 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-08-01 00:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094062336001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 00:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785523982000,"timestamp_ms":1785523982000,"timestamp_seconds":1785523982,"priority":1,"record_length":96,"hex_timestamp":"0000019fb985ceb0"} 
[2026-08-01 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-08-01 00:27: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-08-01 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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-01 00:27:03] 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-08-01 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-08-01 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-08-01 00:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094062336001,"66":25625,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094062336001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:27:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:27:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094062336001,"power":25625,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":148310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:27:03] local.INFO: GPS data processed {"connection_id":148310,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:27:03] local.INFO: Acknowledgment sent {"connection_id":148310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:27:35] local.INFO: TCP Data received {"connection_id":148310,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb985ceb0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb985ceb0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:27:35] local.INFO: Processing buffer {"connection_id":148310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb985ceb0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:27:35] local.INFO: Packet analysis {"connection_id":148310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb985"} 
[2026-08-01 00:27:35] local.INFO: Extracted packet for processing {"connection_id":148310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb985"} 
[2026-08-01 00:27:35] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 00:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094062336001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:27: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-08-01 00:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785523982000,"timestamp_ms":1785523982000,"timestamp_seconds":1785523982,"priority":1,"record_length":96,"hex_timestamp":"0000019fb985ceb0"} 
[2026-08-01 00:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:27: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-08-01 00:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-01 00:27:35] 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-08-01 00:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 00:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094062336001,"66":25625,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094062336001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:27:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:27:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094062336001,"power":25625,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":148310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:27:35] local.INFO: GPS data processed {"connection_id":148310,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:27:35] local.INFO: Acknowledgment sent {"connection_id":148310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:27:57] local.INFO: TCP Data received {"connection_id":145969,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:27:57] local.INFO: Processing buffer {"connection_id":145969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:27:57] local.INFO: IMEI packet received {"connection_id":145969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":145969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:28:02] local.INFO: TCP Data received {"connection_id":145969,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:28:02] local.INFO: Processing buffer {"connection_id":145969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:28:02] local.INFO: IMEI packet received {"connection_id":145969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":145969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:28:03] local.INFO: TCP Data received {"connection_id":145969,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb985ceb0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb985ceb0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:28:03] local.INFO: Processing buffer {"connection_id":145969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb985ceb0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:28:03] local.INFO: Packet analysis {"connection_id":145969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb985"} 
[2026-08-01 00:28:03] local.INFO: Extracted packet for processing {"connection_id":145969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb985"} 
[2026-08-01 00:28:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 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-08-01 00:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094062336001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 00:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785523982000,"timestamp_ms":1785523982000,"timestamp_seconds":1785523982,"priority":1,"record_length":96,"hex_timestamp":"0000019fb985ceb0"} 
[2026-08-01 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-08-01 00:28: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-08-01 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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-01 00:28:03] 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-08-01 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-08-01 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-08-01 00:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094062336001,"66":25625,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094062336001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:28:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:28:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094062336001,"power":25625,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":145969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:28:03] local.INFO: GPS data processed {"connection_id":145969,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:28:03] local.INFO: Acknowledgment sent {"connection_id":145969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:28:35] local.INFO: TCP Data received {"connection_id":145969,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb985ceb0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb985ceb0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:28:35] local.INFO: Processing buffer {"connection_id":145969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb985ceb0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:28:35] local.INFO: Packet analysis {"connection_id":145969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb985"} 
[2026-08-01 00:28:35] local.INFO: Extracted packet for processing {"connection_id":145969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb985"} 
[2026-08-01 00:28:35] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094062336001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 00:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785523982000,"timestamp_ms":1785523982000,"timestamp_seconds":1785523982,"priority":1,"record_length":96,"hex_timestamp":"0000019fb985ceb0"} 
[2026-08-01 00:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:28:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 00:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-01 00:28:35] 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-08-01 00: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-08-01 00:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":145969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":145969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":145969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094062336001,"66":25625,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094062336001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:28:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:28:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094062336001,"power":25625,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":145969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:28:35] local.INFO: GPS data processed {"connection_id":145969,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:28:35] local.INFO: Acknowledgment sent {"connection_id":145969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:28:57] local.INFO: TCP Data received {"connection_id":146986,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:28:57] local.INFO: Processing buffer {"connection_id":146986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:28:57] local.INFO: IMEI packet received {"connection_id":146986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":146986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:29:02] local.INFO: TCP Data received {"connection_id":146986,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:29:02] local.INFO: Processing buffer {"connection_id":146986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:29:02] local.INFO: IMEI packet received {"connection_id":146986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":146986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:29:03] local.INFO: TCP Data received {"connection_id":146986,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb98a6678012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb98a6678012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:29:03] local.INFO: Processing buffer {"connection_id":146986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb98a6678012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:29:03] local.INFO: Packet analysis {"connection_id":146986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb98a"} 
[2026-08-01 00:29:03] local.INFO: Extracted packet for processing {"connection_id":146986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb98a"} 
[2026-08-01 00:29:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094139392001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:29: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-08-01 00:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785524283000,"timestamp_ms":1785524283000,"timestamp_seconds":1785524283,"priority":1,"record_length":96,"hex_timestamp":"0000019fb98a6678"} 
[2026-08-01 00:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00: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-08-01 00: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":25,"data_length":795,"current_offset":136} 
[2026-08-01 00:29: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-08-01 00: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-08-01 00:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094139392001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094139392001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:29:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:29:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094139392001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":146986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:29:03] local.INFO: GPS data processed {"connection_id":146986,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:29:03] local.INFO: Acknowledgment sent {"connection_id":146986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:29:35] local.INFO: TCP Data received {"connection_id":146986,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb98a6678012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb98a6678012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:29:35] local.INFO: Processing buffer {"connection_id":146986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb98a6678012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:29:35] local.INFO: Packet analysis {"connection_id":146986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb98a"} 
[2026-08-01 00:29:35] local.INFO: Extracted packet for processing {"connection_id":146986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb98a"} 
[2026-08-01 00:29:35] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 00:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094139392001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:29: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-08-01 00:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785524283000,"timestamp_ms":1785524283000,"timestamp_seconds":1785524283,"priority":1,"record_length":96,"hex_timestamp":"0000019fb98a6678"} 
[2026-08-01 00:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 00:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 00:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 00:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 00:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094139392001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094139392001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:29:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:29:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094139392001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":146986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:29:35] local.INFO: GPS data processed {"connection_id":146986,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:29:35] local.INFO: Acknowledgment sent {"connection_id":146986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:30:02] local.INFO: TCP Data received {"connection_id":146987,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:30:02] local.INFO: Processing buffer {"connection_id":146987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:30:02] local.INFO: IMEI packet received {"connection_id":146987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":146987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:30:07] local.INFO: TCP Data received {"connection_id":146987,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:30:07] local.INFO: Processing buffer {"connection_id":146987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:30:07] local.INFO: IMEI packet received {"connection_id":146987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":146987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:30:08] local.INFO: TCP Data received {"connection_id":146987,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb98a6678012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb98a6678012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:30:08] local.INFO: Processing buffer {"connection_id":146987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb98a6678012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:30:08] local.INFO: Packet analysis {"connection_id":146987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb98a"} 
[2026-08-01 00:30:08] local.INFO: Extracted packet for processing {"connection_id":146987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb98a"} 
[2026-08-01 00:30:08] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 00:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094139392001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:30: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-08-01 00:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785524283000,"timestamp_ms":1785524283000,"timestamp_seconds":1785524283,"priority":1,"record_length":96,"hex_timestamp":"0000019fb98a6678"} 
[2026-08-01 00:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:30: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-08-01 00:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 00:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 00:30:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 00:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":146987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":146987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":146987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094139392001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094139392001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:30:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:30:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094139392001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":146987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:30:08] local.INFO: GPS data processed {"connection_id":146987,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:30:08] local.INFO: Acknowledgment sent {"connection_id":146987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:30:13] local.INFO: TCP Data received {"connection_id":146987,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb98a6678012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb98a6678012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:30:13] local.INFO: Processing buffer {"connection_id":146987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb98a6678012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:30:13] local.INFO: Packet analysis {"connection_id":146987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb98a"} 
[2026-08-01 00:30:13] local.INFO: Extracted packet for processing {"connection_id":146987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb98a"} 
[2026-08-01 00:30:13] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094139392001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:30:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:30:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 00:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785524283000,"timestamp_ms":1785524283000,"timestamp_seconds":1785524283,"priority":1,"record_length":96,"hex_timestamp":"0000019fb98a6678"} 
[2026-08-01 00:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:30:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 00: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 00:30:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 00: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-08-01 00:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":146987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":146987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":146987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094139392001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094139392001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:30:13] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:30:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:30:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094139392001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":146987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:30:13] local.INFO: GPS data processed {"connection_id":146987,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:30:13] local.INFO: Acknowledgment sent {"connection_id":146987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:30:57] local.INFO: TCP Data received {"connection_id":146988,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:30:57] local.INFO: Processing buffer {"connection_id":146988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:30:57] local.INFO: IMEI packet received {"connection_id":146988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":146988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:31:02] local.INFO: TCP Data received {"connection_id":146988,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:31:02] local.INFO: Processing buffer {"connection_id":146988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:31:02] local.INFO: IMEI packet received {"connection_id":146988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":146988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:31:03] local.INFO: TCP Data received {"connection_id":146988,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb98a6678012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb98a6678012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:31:03] local.INFO: Processing buffer {"connection_id":146988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb98a6678012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:31:03] local.INFO: Packet analysis {"connection_id":146988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb98a"} 
[2026-08-01 00:31:03] local.INFO: Extracted packet for processing {"connection_id":146988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb98a"} 
[2026-08-01 00:31:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 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-08-01 00:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094139392001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 00:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785524283000,"timestamp_ms":1785524283000,"timestamp_seconds":1785524283,"priority":1,"record_length":96,"hex_timestamp":"0000019fb98a6678"} 
[2026-08-01 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-08-01 00: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-08-01 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 00:31: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-08-01 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-08-01 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-08-01 00:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094139392001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094139392001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:31:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:31:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094139392001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":146988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:31:03] local.INFO: GPS data processed {"connection_id":146988,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:31:03] local.INFO: Acknowledgment sent {"connection_id":146988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:31:35] local.INFO: TCP Data received {"connection_id":146988,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb98a6678012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb98a6678012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:31:35] local.INFO: Processing buffer {"connection_id":146988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb98a6678012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:31:35] local.INFO: Packet analysis {"connection_id":146988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb98a"} 
[2026-08-01 00:31:35] local.INFO: Extracted packet for processing {"connection_id":146988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb98a"} 
[2026-08-01 00:31:35] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094139392001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:31: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-08-01 00:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785524283000,"timestamp_ms":1785524283000,"timestamp_seconds":1785524283,"priority":1,"record_length":96,"hex_timestamp":"0000019fb98a6678"} 
[2026-08-01 00:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 00: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 00:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 00: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-08-01 00:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094139392001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094139392001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:31:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:31:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094139392001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":146988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:31:35] local.INFO: GPS data processed {"connection_id":146988,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:31:35] local.INFO: Acknowledgment sent {"connection_id":146988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:31:57] local.INFO: TCP Data received {"connection_id":146989,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:31:57] local.INFO: Processing buffer {"connection_id":146989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:31:57] local.INFO: IMEI packet received {"connection_id":146989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":146989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:32:02] local.INFO: TCP Data received {"connection_id":146989,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:32:02] local.INFO: Processing buffer {"connection_id":146989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:32:02] local.INFO: IMEI packet received {"connection_id":146989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":146989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:32:04] local.INFO: TCP Data received {"connection_id":146989,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb98a6678012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb98a6678012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:32:04] local.INFO: Processing buffer {"connection_id":146989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb98a6678012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:32:04] local.INFO: Packet analysis {"connection_id":146989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb98a"} 
[2026-08-01 00:32:04] local.INFO: Extracted packet for processing {"connection_id":146989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb98a"} 
[2026-08-01 00:32:04] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094139392001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:32: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-08-01 00:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785524283000,"timestamp_ms":1785524283000,"timestamp_seconds":1785524283,"priority":1,"record_length":96,"hex_timestamp":"0000019fb98a6678"} 
[2026-08-01 00:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 00: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 00:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 00: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-08-01 00:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094139392001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094139392001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:32:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:32:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094139392001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":146989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:32:04] local.INFO: GPS data processed {"connection_id":146989,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:32:04] local.INFO: Acknowledgment sent {"connection_id":146989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:32:36] local.INFO: TCP Data received {"connection_id":146989,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb98a6678012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb98a6678012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:32:36] local.INFO: Processing buffer {"connection_id":146989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb98a6678012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:32:36] local.INFO: Packet analysis {"connection_id":146989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb98a"} 
[2026-08-01 00:32:36] local.INFO: Extracted packet for processing {"connection_id":146989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb98a"} 
[2026-08-01 00:32:36] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 00:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094139392001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:32: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-08-01 00:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785524283000,"timestamp_ms":1785524283000,"timestamp_seconds":1785524283,"priority":1,"record_length":96,"hex_timestamp":"0000019fb98a6678"} 
[2026-08-01 00:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:32: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-08-01 00:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 00:32: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-08-01 00:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 00:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094139392001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094139392001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:32:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:32:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094139392001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":146989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:32:36] local.INFO: GPS data processed {"connection_id":146989,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:32:36] local.INFO: Acknowledgment sent {"connection_id":146989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:32:57] local.INFO: TCP Data received {"connection_id":145970,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:32:57] local.INFO: Processing buffer {"connection_id":145970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:32:57] local.INFO: IMEI packet received {"connection_id":145970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":145970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:33:02] local.INFO: TCP Data received {"connection_id":145970,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:33:02] local.INFO: Processing buffer {"connection_id":145970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:33:02] local.INFO: IMEI packet received {"connection_id":145970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":145970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:33:03] local.INFO: TCP Data received {"connection_id":145970,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb98a6678012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb98a6678012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:33:03] local.INFO: Processing buffer {"connection_id":145970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb98a6678012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:33:03] local.INFO: Packet analysis {"connection_id":145970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb98a"} 
[2026-08-01 00:33:03] local.INFO: Extracted packet for processing {"connection_id":145970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb98a"} 
[2026-08-01 00:33:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 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-08-01 00:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094139392001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 00:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785524283000,"timestamp_ms":1785524283000,"timestamp_seconds":1785524283,"priority":1,"record_length":96,"hex_timestamp":"0000019fb98a6678"} 
[2026-08-01 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-08-01 00: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-08-01 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":25,"data_length":795,"current_offset":136} 
[2026-08-01 00:33: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-08-01 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-08-01 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-08-01 00:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094139392001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094139392001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:33:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:33:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094139392001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":145970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:33:03] local.INFO: GPS data processed {"connection_id":145970,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:33:03] local.INFO: Acknowledgment sent {"connection_id":145970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:33:35] local.INFO: TCP Data received {"connection_id":145970,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb98a6678012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb98a6678012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:33:35] local.INFO: Processing buffer {"connection_id":145970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb98a6678012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:33:35] local.INFO: Packet analysis {"connection_id":145970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb98a"} 
[2026-08-01 00:33:35] local.INFO: Extracted packet for processing {"connection_id":145970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb98a"} 
[2026-08-01 00:33:35] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094139392001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:33: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-08-01 00:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785524283000,"timestamp_ms":1785524283000,"timestamp_seconds":1785524283,"priority":1,"record_length":96,"hex_timestamp":"0000019fb98a6678"} 
[2026-08-01 00:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 00: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 00:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 00: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-08-01 00:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":145970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":145970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":145970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094139392001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094139392001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:33:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:33:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094139392001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":145970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:33:35] local.INFO: GPS data processed {"connection_id":145970,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:33:35] local.INFO: Acknowledgment sent {"connection_id":145970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:34:02] local.INFO: TCP Data received {"connection_id":145766,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:34:02] local.INFO: Processing buffer {"connection_id":145766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:34:02] local.INFO: IMEI packet received {"connection_id":145766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":145766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:34:08] local.INFO: TCP Data received {"connection_id":145766,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:34:08] local.INFO: Processing buffer {"connection_id":145766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:34:08] local.INFO: IMEI packet received {"connection_id":145766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":145766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:34:08] local.INFO: TCP Data received {"connection_id":145766,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb98efe40012d77a34005f2a7180017010c24..."} 
[2026-08-01 00:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb98efe40012d77a34005f2a7180017010c24..."} 
[2026-08-01 00:34:08] local.INFO: Processing buffer {"connection_id":145766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb98efe40012d77a34005f2a7180017010c24..."} 
[2026-08-01 00:34:08] local.INFO: Packet analysis {"connection_id":145766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb98e"} 
[2026-08-01 00:34:08] local.INFO: Extracted packet for processing {"connection_id":145766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb98e"} 
[2026-08-01 00:34:08] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 00:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094216448001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 00:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785524584000,"timestamp_ms":1785524584000,"timestamp_seconds":1785524584,"priority":1,"record_length":96,"hex_timestamp":"0000019fb98efe40"} 
[2026-08-01 00:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:34: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-08-01 00:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 00:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 00:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 00:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094216448001,"66":25473,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094216448001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:34:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:34:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094216448001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":145766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:34:08] local.INFO: GPS data processed {"connection_id":145766,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:34:08] local.INFO: Acknowledgment sent {"connection_id":145766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:34:40] local.INFO: TCP Data received {"connection_id":145766,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb98efe40012d77a34005f2a7180017010c24..."} 
[2026-08-01 00:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb98efe40012d77a34005f2a7180017010c24..."} 
[2026-08-01 00:34:40] local.INFO: Processing buffer {"connection_id":145766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb98efe40012d77a34005f2a7180017010c24..."} 
[2026-08-01 00:34:40] local.INFO: Packet analysis {"connection_id":145766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb98e"} 
[2026-08-01 00:34:40] local.INFO: Extracted packet for processing {"connection_id":145766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb98e"} 
[2026-08-01 00:34:40] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094216448001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:34:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 00:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785524584000,"timestamp_ms":1785524584000,"timestamp_seconds":1785524584,"priority":1,"record_length":96,"hex_timestamp":"0000019fb98efe40"} 
[2026-08-01 00:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:34: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-08-01 00: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 00:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 00: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-08-01 00:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":145766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":145766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":145766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094216448001,"66":25473,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094216448001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:34:40] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:34:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:34:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094216448001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":145766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:34:40] local.INFO: GPS data processed {"connection_id":145766,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:34:40] local.INFO: Acknowledgment sent {"connection_id":145766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:34:57] local.INFO: TCP Data received {"connection_id":145767,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:34:57] local.INFO: Processing buffer {"connection_id":145767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:34:57] local.INFO: IMEI packet received {"connection_id":145767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":145767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:35:02] local.INFO: TCP Data received {"connection_id":145767,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:35:02] local.INFO: Processing buffer {"connection_id":145767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:35:02] local.INFO: IMEI packet received {"connection_id":145767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":145767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:35:03] local.INFO: TCP Data received {"connection_id":145767,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb98efe40012d77a34005f2a7180017010c24..."} 
[2026-08-01 00:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb98efe40012d77a34005f2a7180017010c24..."} 
[2026-08-01 00:35:03] local.INFO: Processing buffer {"connection_id":145767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb98efe40012d77a34005f2a7180017010c24..."} 
[2026-08-01 00:35:03] local.INFO: Packet analysis {"connection_id":145767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb98e"} 
[2026-08-01 00:35:03] local.INFO: Extracted packet for processing {"connection_id":145767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb98e"} 
[2026-08-01 00:35:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094216448001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:35: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-08-01 00:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785524584000,"timestamp_ms":1785524584000,"timestamp_seconds":1785524584,"priority":1,"record_length":96,"hex_timestamp":"0000019fb98efe40"} 
[2026-08-01 00:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00: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-08-01 00: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 00:35: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-08-01 00: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-08-01 00:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094216448001,"66":25473,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094216448001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:35:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:35:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094216448001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":145767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:35:03] local.INFO: GPS data processed {"connection_id":145767,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:35:03] local.INFO: Acknowledgment sent {"connection_id":145767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:35:34] local.INFO: TCP Data received {"connection_id":145767,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb98efe40012d77a34005f2a7180017010c24..."} 
[2026-08-01 00:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb98efe40012d77a34005f2a7180017010c24..."} 
[2026-08-01 00:35:34] local.INFO: Processing buffer {"connection_id":145767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb98efe40012d77a34005f2a7180017010c24..."} 
[2026-08-01 00:35:34] local.INFO: Packet analysis {"connection_id":145767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb98e"} 
[2026-08-01 00:35:34] local.INFO: Extracted packet for processing {"connection_id":145767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb98e"} 
[2026-08-01 00:35:34] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094216448001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:35:34] 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-08-01 00:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785524584000,"timestamp_ms":1785524584000,"timestamp_seconds":1785524584,"priority":1,"record_length":96,"hex_timestamp":"0000019fb98efe40"} 
[2026-08-01 00:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:35: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-08-01 00: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 00:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 00: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-08-01 00:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094216448001,"66":25473,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094216448001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:35:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:35:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094216448001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":145767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:35:34] local.INFO: GPS data processed {"connection_id":145767,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:35:34] local.INFO: Acknowledgment sent {"connection_id":145767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:35:57] local.INFO: TCP Data received {"connection_id":145768,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:35:57] local.INFO: Processing buffer {"connection_id":145768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:35:57] local.INFO: IMEI packet received {"connection_id":145768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":145768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:36:02] local.INFO: TCP Data received {"connection_id":145768,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:36:02] local.INFO: Processing buffer {"connection_id":145768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:36:02] local.INFO: IMEI packet received {"connection_id":145768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":145768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:36:02] local.INFO: TCP Data received {"connection_id":145768,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb98efe40012d77a34005f2a7180017010c24..."} 
[2026-08-01 00:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb98efe40012d77a34005f2a7180017010c24..."} 
[2026-08-01 00:36:02] local.INFO: Processing buffer {"connection_id":145768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb98efe40012d77a34005f2a7180017010c24..."} 
[2026-08-01 00:36:02] local.INFO: Packet analysis {"connection_id":145768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb98e"} 
[2026-08-01 00:36:02] local.INFO: Extracted packet for processing {"connection_id":145768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb98e"} 
[2026-08-01 00:36:02] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094216448001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:36: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-08-01 00:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785524584000,"timestamp_ms":1785524584000,"timestamp_seconds":1785524584,"priority":1,"record_length":96,"hex_timestamp":"0000019fb98efe40"} 
[2026-08-01 00:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:36: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-08-01 00: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 00:36: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-08-01 00: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-08-01 00:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":145768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":145768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":145768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094216448001,"66":25473,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094216448001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:36:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:36:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094216448001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":145768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:36:03] local.INFO: GPS data processed {"connection_id":145768,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:36:03] local.INFO: Acknowledgment sent {"connection_id":145768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:36:34] local.INFO: TCP Data received {"connection_id":145768,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb98efe40012d77a34005f2a7180017010c24..."} 
[2026-08-01 00:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb98efe40012d77a34005f2a7180017010c24..."} 
[2026-08-01 00:36:34] local.INFO: Processing buffer {"connection_id":145768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb98efe40012d77a34005f2a7180017010c24..."} 
[2026-08-01 00:36:34] local.INFO: Packet analysis {"connection_id":145768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb98e"} 
[2026-08-01 00:36:34] local.INFO: Extracted packet for processing {"connection_id":145768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb98e"} 
[2026-08-01 00:36:34] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094216448001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:36:34] 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-08-01 00:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785524584000,"timestamp_ms":1785524584000,"timestamp_seconds":1785524584,"priority":1,"record_length":96,"hex_timestamp":"0000019fb98efe40"} 
[2026-08-01 00:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:36:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 00:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 00:36:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 00: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-08-01 00:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094216448001,"66":25473,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094216448001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:36:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:36:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094216448001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":145768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:36:34] local.INFO: GPS data processed {"connection_id":145768,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:36:34] local.INFO: Acknowledgment sent {"connection_id":145768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:37:02] local.INFO: TCP Data received {"connection_id":145769,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:37:02] local.INFO: Processing buffer {"connection_id":145769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:37:02] local.INFO: IMEI packet received {"connection_id":145769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":145769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:37:07] local.INFO: TCP Data received {"connection_id":145769,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:37:07] local.INFO: Processing buffer {"connection_id":145769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:37:07] local.INFO: IMEI packet received {"connection_id":145769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":145769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:37:08] local.INFO: TCP Data received {"connection_id":145769,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb98efe40012d77a34005f2a7180017010c24..."} 
[2026-08-01 00:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb98efe40012d77a34005f2a7180017010c24..."} 
[2026-08-01 00:37:08] local.INFO: Processing buffer {"connection_id":145769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb98efe40012d77a34005f2a7180017010c24..."} 
[2026-08-01 00:37:08] local.INFO: Packet analysis {"connection_id":145769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb98e"} 
[2026-08-01 00:37:08] local.INFO: Extracted packet for processing {"connection_id":145769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb98e"} 
[2026-08-01 00:37:08] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 00:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094216448001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:37: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-08-01 00:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785524584000,"timestamp_ms":1785524584000,"timestamp_seconds":1785524584,"priority":1,"record_length":96,"hex_timestamp":"0000019fb98efe40"} 
[2026-08-01 00:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:37: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-08-01 00:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 00:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 00:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 00:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094216448001,"66":25473,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094216448001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:37:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:37:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094216448001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":145769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:37:08] local.INFO: GPS data processed {"connection_id":145769,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:37:08] local.INFO: Acknowledgment sent {"connection_id":145769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:37:13] local.INFO: TCP Data received {"connection_id":145769,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb98efe40012d77a34005f2a7180017010c24..."} 
[2026-08-01 00:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb98efe40012d77a34005f2a7180017010c24..."} 
[2026-08-01 00:37:13] local.INFO: Processing buffer {"connection_id":145769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb98efe40012d77a34005f2a7180017010c24..."} 
[2026-08-01 00:37:13] local.INFO: Packet analysis {"connection_id":145769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb98e"} 
[2026-08-01 00:37:13] local.INFO: Extracted packet for processing {"connection_id":145769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb98e"} 
[2026-08-01 00:37:13] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094216448001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 00:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785524584000,"timestamp_ms":1785524584000,"timestamp_seconds":1785524584,"priority":1,"record_length":96,"hex_timestamp":"0000019fb98efe40"} 
[2026-08-01 00:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:37:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 00: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 00:37:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 00: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-08-01 00:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":145769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":145769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":145769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094216448001,"66":25473,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094216448001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:37:13] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:37:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094216448001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":145769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:37:13] local.INFO: GPS data processed {"connection_id":145769,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:37:13] local.INFO: Acknowledgment sent {"connection_id":145769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:37:57] local.INFO: TCP Data received {"connection_id":146990,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:37:57] local.INFO: Processing buffer {"connection_id":146990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:37:57] local.INFO: IMEI packet received {"connection_id":146990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":146990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:38:02] local.INFO: TCP Data received {"connection_id":146990,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:38:02] local.INFO: Processing buffer {"connection_id":146990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:38:02] local.INFO: IMEI packet received {"connection_id":146990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":146990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:38:03] local.INFO: TCP Data received {"connection_id":146990,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb98efe40012d77a34005f2a7180017010c24..."} 
[2026-08-01 00:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb98efe40012d77a34005f2a7180017010c24..."} 
[2026-08-01 00:38:03] local.INFO: Processing buffer {"connection_id":146990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb98efe40012d77a34005f2a7180017010c24..."} 
[2026-08-01 00:38:03] local.INFO: Packet analysis {"connection_id":146990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb98e"} 
[2026-08-01 00:38:03] local.INFO: Extracted packet for processing {"connection_id":146990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb98e"} 
[2026-08-01 00:38:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094216448001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:38: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-08-01 00:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785524584000,"timestamp_ms":1785524584000,"timestamp_seconds":1785524584,"priority":1,"record_length":96,"hex_timestamp":"0000019fb98efe40"} 
[2026-08-01 00:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 00:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 00:38:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 00: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-08-01 00:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094216448001,"66":25473,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094216448001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:38:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:38:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094216448001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":146990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:38:03] local.INFO: GPS data processed {"connection_id":146990,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:38:03] local.INFO: Acknowledgment sent {"connection_id":146990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:38:34] local.INFO: TCP Data received {"connection_id":146990,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb98efe40012d77a34005f2a7180017010c24..."} 
[2026-08-01 00:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb98efe40012d77a34005f2a7180017010c24..."} 
[2026-08-01 00:38:34] local.INFO: Processing buffer {"connection_id":146990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb98efe40012d77a34005f2a7180017010c24..."} 
[2026-08-01 00:38:34] local.INFO: Packet analysis {"connection_id":146990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb98e"} 
[2026-08-01 00:38:34] local.INFO: Extracted packet for processing {"connection_id":146990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb98e"} 
[2026-08-01 00:38:34] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":36,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094216448001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:38:34] 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-08-01 00:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785524584000,"timestamp_ms":1785524584000,"timestamp_seconds":1785524584,"priority":1,"record_length":96,"hex_timestamp":"0000019fb98efe40"} 
[2026-08-01 00:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:38: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-08-01 00: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 00:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 00: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-08-01 00:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094216448001,"66":25473,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094216448001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:38:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:38:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094216448001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":146990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:38:34] local.INFO: GPS data processed {"connection_id":146990,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:38:34] local.INFO: Acknowledgment sent {"connection_id":146990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:38:57] local.INFO: TCP Data received {"connection_id":148311,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:38:57] local.INFO: Processing buffer {"connection_id":148311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:38:57] local.INFO: IMEI packet received {"connection_id":148311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":148311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:39:02] local.INFO: TCP Data received {"connection_id":148311,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:39:02] local.INFO: Processing buffer {"connection_id":148311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:39:02] local.INFO: IMEI packet received {"connection_id":148311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":148311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:39:03] local.INFO: TCP Data received {"connection_id":148311,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9939608012d77a34005f2a7180017010c29..."} 
[2026-08-01 00:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9939608012d77a34005f2a7180017010c29..."} 
[2026-08-01 00:39:03] local.INFO: Processing buffer {"connection_id":148311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9939608012d77a34005f2a7180017010c29..."} 
[2026-08-01 00:39:03] local.INFO: Packet analysis {"connection_id":148311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb993"} 
[2026-08-01 00:39:03] local.INFO: Extracted packet for processing {"connection_id":148311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb993"} 
[2026-08-01 00:39:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094293504001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:39: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-08-01 00:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785524885000,"timestamp_ms":1785524885000,"timestamp_seconds":1785524885,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9939608"} 
[2026-08-01 00:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:39: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-08-01 00: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-01 00:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 00: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-08-01 00:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094293504001,"66":25397,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094293504001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:39:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:39:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094293504001,"power":25397,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":148311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:39:03] local.INFO: GPS data processed {"connection_id":148311,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:39:03] local.INFO: Acknowledgment sent {"connection_id":148311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:39:40] local.INFO: TCP Data received {"connection_id":148311,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9939608012d77a34005f2a7180017010c29..."} 
[2026-08-01 00:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9939608012d77a34005f2a7180017010c29..."} 
[2026-08-01 00:39:40] local.INFO: Processing buffer {"connection_id":148311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9939608012d77a34005f2a7180017010c29..."} 
[2026-08-01 00:39:40] local.INFO: Packet analysis {"connection_id":148311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb993"} 
[2026-08-01 00:39:40] local.INFO: Extracted packet for processing {"connection_id":148311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb993"} 
[2026-08-01 00:39:40] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094293504001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:39:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 00:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785524885000,"timestamp_ms":1785524885000,"timestamp_seconds":1785524885,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9939608"} 
[2026-08-01 00:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:39: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-08-01 00: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-01 00:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 00: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-08-01 00:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":148311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":148311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":148311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094293504001,"66":25397,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094293504001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:39:40] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:39:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:39:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094293504001,"power":25397,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":148311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:39:40] local.INFO: GPS data processed {"connection_id":148311,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:39:40] local.INFO: Acknowledgment sent {"connection_id":148311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:39:57] local.INFO: TCP Data received {"connection_id":145770,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:39:57] local.INFO: Processing buffer {"connection_id":145770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:39:57] local.INFO: IMEI packet received {"connection_id":145770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":145770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:40:02] local.INFO: TCP Data received {"connection_id":145770,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:40:02] local.INFO: Processing buffer {"connection_id":145770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:40:02] local.INFO: IMEI packet received {"connection_id":145770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":145770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:40:03] local.INFO: TCP Data received {"connection_id":145770,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9939608012d77a34005f2a7180017010c29..."} 
[2026-08-01 00:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9939608012d77a34005f2a7180017010c29..."} 
[2026-08-01 00:40:03] local.INFO: Processing buffer {"connection_id":145770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9939608012d77a34005f2a7180017010c29..."} 
[2026-08-01 00:40:03] local.INFO: Packet analysis {"connection_id":145770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb993"} 
[2026-08-01 00:40:03] local.INFO: Extracted packet for processing {"connection_id":145770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb993"} 
[2026-08-01 00:40:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 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-08-01 00:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094293504001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 00:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785524885000,"timestamp_ms":1785524885000,"timestamp_seconds":1785524885,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9939608"} 
[2026-08-01 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-08-01 00:40: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-08-01 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-01 00:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 00:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094293504001,"66":25397,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094293504001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:40:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:40:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094293504001,"power":25397,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":145770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:40:03] local.INFO: GPS data processed {"connection_id":145770,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:40:03] local.INFO: Acknowledgment sent {"connection_id":145770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:40:34] local.INFO: TCP Data received {"connection_id":145770,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9939608012d77a34005f2a7180017010c29..."} 
[2026-08-01 00:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9939608012d77a34005f2a7180017010c29..."} 
[2026-08-01 00:40:34] local.INFO: Processing buffer {"connection_id":145770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9939608012d77a34005f2a7180017010c29..."} 
[2026-08-01 00:40:34] local.INFO: Packet analysis {"connection_id":145770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb993"} 
[2026-08-01 00:40:34] local.INFO: Extracted packet for processing {"connection_id":145770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb993"} 
[2026-08-01 00:40:34] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094293504001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:40:34] 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-08-01 00:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785524885000,"timestamp_ms":1785524885000,"timestamp_seconds":1785524885,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9939608"} 
[2026-08-01 00:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:40: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-08-01 00: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-01 00:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 00: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-08-01 00:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094293504001,"66":25397,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094293504001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:40:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:40:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094293504001,"power":25397,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":145770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:40:34] local.INFO: GPS data processed {"connection_id":145770,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:40:34] local.INFO: Acknowledgment sent {"connection_id":145770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:40:57] local.INFO: TCP Data received {"connection_id":145971,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:40:57] local.INFO: Processing buffer {"connection_id":145971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:40:57] local.INFO: IMEI packet received {"connection_id":145971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":145971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:41:02] local.INFO: TCP Data received {"connection_id":145971,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:41:02] local.INFO: Processing buffer {"connection_id":145971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:41:02] local.INFO: IMEI packet received {"connection_id":145971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":145971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:41:03] local.INFO: TCP Data received {"connection_id":145971,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9939608012d77a34005f2a7180017010c29..."} 
[2026-08-01 00:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9939608012d77a34005f2a7180017010c29..."} 
[2026-08-01 00:41:03] local.INFO: Processing buffer {"connection_id":145971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9939608012d77a34005f2a7180017010c29..."} 
[2026-08-01 00:41:03] local.INFO: Packet analysis {"connection_id":145971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb993"} 
[2026-08-01 00:41:03] local.INFO: Extracted packet for processing {"connection_id":145971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb993"} 
[2026-08-01 00:41:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094293504001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:41: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-08-01 00:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785524885000,"timestamp_ms":1785524885000,"timestamp_seconds":1785524885,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9939608"} 
[2026-08-01 00:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 00:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-01 00:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 00: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-08-01 00:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094293504001,"66":25397,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094293504001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:41:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:41:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094293504001,"power":25397,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":145971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:41:03] local.INFO: GPS data processed {"connection_id":145971,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:41:03] local.INFO: Acknowledgment sent {"connection_id":145971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:41:34] local.INFO: TCP Data received {"connection_id":145971,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9939608012d77a34005f2a7180017010c29..."} 
[2026-08-01 00:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9939608012d77a34005f2a7180017010c29..."} 
[2026-08-01 00:41:34] local.INFO: Processing buffer {"connection_id":145971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9939608012d77a34005f2a7180017010c29..."} 
[2026-08-01 00:41:34] local.INFO: Packet analysis {"connection_id":145971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb993"} 
[2026-08-01 00:41:34] local.INFO: Extracted packet for processing {"connection_id":145971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb993"} 
[2026-08-01 00:41:34] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094293504001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:41:34] 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-08-01 00:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785524885000,"timestamp_ms":1785524885000,"timestamp_seconds":1785524885,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9939608"} 
[2026-08-01 00:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:41:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 00:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-01 00:41:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 00: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-08-01 00:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094293504001,"66":25397,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094293504001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:41:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:41:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094293504001,"power":25397,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":145971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:41:34] local.INFO: GPS data processed {"connection_id":145971,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:41:34] local.INFO: Acknowledgment sent {"connection_id":145971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:42:02] local.INFO: TCP Data received {"connection_id":145972,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:42:02] local.INFO: Processing buffer {"connection_id":145972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:42:02] local.INFO: IMEI packet received {"connection_id":145972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":145972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:42:07] local.INFO: TCP Data received {"connection_id":145972,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:42:07] local.INFO: Processing buffer {"connection_id":145972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:42:07] local.INFO: IMEI packet received {"connection_id":145972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":145972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:42:08] local.INFO: TCP Data received {"connection_id":145972,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9939608012d77a34005f2a7180017010c29..."} 
[2026-08-01 00:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9939608012d77a34005f2a7180017010c29..."} 
[2026-08-01 00:42:08] local.INFO: Processing buffer {"connection_id":145972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9939608012d77a34005f2a7180017010c29..."} 
[2026-08-01 00:42:08] local.INFO: Packet analysis {"connection_id":145972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb993"} 
[2026-08-01 00:42:08] local.INFO: Extracted packet for processing {"connection_id":145972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb993"} 
[2026-08-01 00:42:08] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094293504001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:42: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-08-01 00:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785524885000,"timestamp_ms":1785524885000,"timestamp_seconds":1785524885,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9939608"} 
[2026-08-01 00:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00: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-08-01 00: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-01 00:42:08] 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-08-01 00: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-08-01 00:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094293504001,"66":25397,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094293504001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:42:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:42:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094293504001,"power":25397,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":145972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:42:08] local.INFO: GPS data processed {"connection_id":145972,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:42:08] local.INFO: Acknowledgment sent {"connection_id":145972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:42:13] local.INFO: TCP Data received {"connection_id":145972,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9939608012d77a34005f2a7180017010c29..."} 
[2026-08-01 00:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9939608012d77a34005f2a7180017010c29..."} 
[2026-08-01 00:42:13] local.INFO: Processing buffer {"connection_id":145972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9939608012d77a34005f2a7180017010c29..."} 
[2026-08-01 00:42:13] local.INFO: Packet analysis {"connection_id":145972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb993"} 
[2026-08-01 00:42:13] local.INFO: Extracted packet for processing {"connection_id":145972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb993"} 
[2026-08-01 00:42:13] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 00:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094293504001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:42:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:42:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 00:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785524885000,"timestamp_ms":1785524885000,"timestamp_seconds":1785524885,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9939608"} 
[2026-08-01 00:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:42:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 00:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-01 00:42:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 00:42:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 00:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":145972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":145972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":145972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:42:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094293504001,"66":25397,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094293504001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:42:13] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:42:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:42:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094293504001,"power":25397,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":145972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:42:13] local.INFO: GPS data processed {"connection_id":145972,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:42:13] local.INFO: Acknowledgment sent {"connection_id":145972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:42:57] local.INFO: TCP Data received {"connection_id":145973,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:42:57] local.INFO: Processing buffer {"connection_id":145973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:42:57] local.INFO: IMEI packet received {"connection_id":145973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":145973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:43:02] local.INFO: TCP Data received {"connection_id":145973,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:43:02] local.INFO: Processing buffer {"connection_id":145973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:43:02] local.INFO: IMEI packet received {"connection_id":145973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":145973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:43:03] local.INFO: TCP Data received {"connection_id":145973,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9939608012d77a34005f2a7180017010c29..."} 
[2026-08-01 00:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9939608012d77a34005f2a7180017010c29..."} 
[2026-08-01 00:43:03] local.INFO: Processing buffer {"connection_id":145973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9939608012d77a34005f2a7180017010c29..."} 
[2026-08-01 00:43:03] local.INFO: Packet analysis {"connection_id":145973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb993"} 
[2026-08-01 00:43:03] local.INFO: Extracted packet for processing {"connection_id":145973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb993"} 
[2026-08-01 00:43:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 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-08-01 00:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094293504001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 00:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785524885000,"timestamp_ms":1785524885000,"timestamp_seconds":1785524885,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9939608"} 
[2026-08-01 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-08-01 00: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-08-01 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":129,"data_length":795,"current_offset":136} 
[2026-08-01 00:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 00:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094293504001,"66":25397,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094293504001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:43:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:43:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094293504001,"power":25397,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":145973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:43:03] local.INFO: GPS data processed {"connection_id":145973,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:43:03] local.INFO: Acknowledgment sent {"connection_id":145973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:43:34] local.INFO: TCP Data received {"connection_id":145973,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9939608012d77a34005f2a7180017010c29..."} 
[2026-08-01 00:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9939608012d77a34005f2a7180017010c29..."} 
[2026-08-01 00:43:34] local.INFO: Processing buffer {"connection_id":145973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9939608012d77a34005f2a7180017010c29..."} 
[2026-08-01 00:43:34] local.INFO: Packet analysis {"connection_id":145973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb993"} 
[2026-08-01 00:43:34] local.INFO: Extracted packet for processing {"connection_id":145973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb993"} 
[2026-08-01 00:43:34] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094293504001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:43:34] 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-08-01 00:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785524885000,"timestamp_ms":1785524885000,"timestamp_seconds":1785524885,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9939608"} 
[2026-08-01 00:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:43: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-08-01 00: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-01 00:43:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 00: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-08-01 00:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094293504001,"66":25397,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094293504001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:43:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:43:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094293504001,"power":25397,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":145973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:43:34] local.INFO: GPS data processed {"connection_id":145973,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:43:34] local.INFO: Acknowledgment sent {"connection_id":145973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:43:57] local.INFO: TCP Data received {"connection_id":145771,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:43:57] local.INFO: Processing buffer {"connection_id":145771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:43:57] local.INFO: IMEI packet received {"connection_id":145771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":145771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:44:02] local.INFO: TCP Data received {"connection_id":145771,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:44:02] local.INFO: Processing buffer {"connection_id":145771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:44:02] local.INFO: IMEI packet received {"connection_id":145771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":145771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:44:03] local.INFO: TCP Data received {"connection_id":145771,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9982dd0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9982dd0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:44:03] local.INFO: Processing buffer {"connection_id":145771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9982dd0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:44:03] local.INFO: Packet analysis {"connection_id":145771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb998"} 
[2026-08-01 00:44:03] local.INFO: Extracted packet for processing {"connection_id":145771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb998"} 
[2026-08-01 00:44:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 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-08-01 00:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094370560001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 00:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785525186000,"timestamp_ms":1785525186000,"timestamp_seconds":1785525186,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9982dd0"} 
[2026-08-01 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-08-01 00: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-08-01 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":53,"data_length":795,"current_offset":136} 
[2026-08-01 00:44: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-08-01 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-08-01 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-08-01 00:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094370560001,"66":25419,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094370560001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:44:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:44:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094370560001,"power":25419,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":145771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:44:03] local.INFO: GPS data processed {"connection_id":145771,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:44:03] local.INFO: Acknowledgment sent {"connection_id":145771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:44:34] local.INFO: TCP Data received {"connection_id":145771,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9982dd0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9982dd0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:44:34] local.INFO: Processing buffer {"connection_id":145771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9982dd0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:44:34] local.INFO: Packet analysis {"connection_id":145771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb998"} 
[2026-08-01 00:44:34] local.INFO: Extracted packet for processing {"connection_id":145771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb998"} 
[2026-08-01 00:44:34] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094370560001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:44:34] 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-08-01 00:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785525186000,"timestamp_ms":1785525186000,"timestamp_seconds":1785525186,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9982dd0"} 
[2026-08-01 00:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:44: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-08-01 00: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-01 00:44:34] 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-08-01 00: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-08-01 00:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094370560001,"66":25419,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094370560001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:44:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:44:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094370560001,"power":25419,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":145771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:44:34] local.INFO: GPS data processed {"connection_id":145771,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:44:34] local.INFO: Acknowledgment sent {"connection_id":145771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:45:02] local.INFO: TCP Data received {"connection_id":146991,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:45:02] local.INFO: Processing buffer {"connection_id":146991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:45:02] local.INFO: IMEI packet received {"connection_id":146991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":146991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:45:08] local.INFO: TCP Data received {"connection_id":146991,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:45:08] local.INFO: Processing buffer {"connection_id":146991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:45:08] local.INFO: IMEI packet received {"connection_id":146991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":146991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:45:09] local.INFO: TCP Data received {"connection_id":146991,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9982dd0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9982dd0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:45:09] local.INFO: Processing buffer {"connection_id":146991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9982dd0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:45:09] local.INFO: Packet analysis {"connection_id":146991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb998"} 
[2026-08-01 00:45:09] local.INFO: Extracted packet for processing {"connection_id":146991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb998"} 
[2026-08-01 00:45:09] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 00:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094370560001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:45: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-08-01 00:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785525186000,"timestamp_ms":1785525186000,"timestamp_seconds":1785525186,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9982dd0"} 
[2026-08-01 00:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:45:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 00:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-01 00:45: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-08-01 00:45:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 00:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":146991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":146991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":146991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094370560001,"66":25419,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094370560001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:45:09] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:45:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094370560001,"power":25419,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":146991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:45:09] local.INFO: GPS data processed {"connection_id":146991,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:45:09] local.INFO: Acknowledgment sent {"connection_id":146991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:45:13] local.INFO: TCP Data received {"connection_id":146991,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9982dd0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9982dd0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:45:13] local.INFO: Processing buffer {"connection_id":146991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9982dd0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:45:13] local.INFO: Packet analysis {"connection_id":146991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb998"} 
[2026-08-01 00:45:13] local.INFO: Extracted packet for processing {"connection_id":146991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb998"} 
[2026-08-01 00:45:13] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 00:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094370560001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:45:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:45:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 00:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785525186000,"timestamp_ms":1785525186000,"timestamp_seconds":1785525186,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9982dd0"} 
[2026-08-01 00:45:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:45:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 00:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-01 00:45:13] 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-08-01 00:45:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 00:45:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":146991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":146991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":146991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:45:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094370560001,"66":25419,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094370560001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:45:13] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:45:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:45:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:45:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094370560001,"power":25419,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":146991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:45:13] local.INFO: GPS data processed {"connection_id":146991,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:45:13] local.INFO: Acknowledgment sent {"connection_id":146991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:45:59] local.INFO: TCP Data received {"connection_id":145974,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:45:59] local.INFO: Processing buffer {"connection_id":145974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:45:59] local.INFO: IMEI packet received {"connection_id":145974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":145974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:46:02] local.INFO: TCP Data received {"connection_id":145974,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:46:02] local.INFO: Processing buffer {"connection_id":145974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:46:02] local.INFO: IMEI packet received {"connection_id":145974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":145974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:46:03] local.INFO: TCP Data received {"connection_id":145974,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9982dd0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9982dd0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:46:03] local.INFO: Processing buffer {"connection_id":145974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9982dd0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:46:03] local.INFO: Packet analysis {"connection_id":145974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb998"} 
[2026-08-01 00:46:03] local.INFO: Extracted packet for processing {"connection_id":145974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb998"} 
[2026-08-01 00:46:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 00:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094370560001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:46: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-08-01 00:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785525186000,"timestamp_ms":1785525186000,"timestamp_seconds":1785525186,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9982dd0"} 
[2026-08-01 00:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:46: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-08-01 00:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-01 00:46: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-08-01 00:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 00:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094370560001,"66":25419,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094370560001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:46:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:46:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094370560001,"power":25419,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":145974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:46:03] local.INFO: GPS data processed {"connection_id":145974,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:46:03] local.INFO: Acknowledgment sent {"connection_id":145974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:46:08] local.INFO: TCP Data received {"connection_id":145974,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9982dd0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9982dd0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:46:08] local.INFO: Processing buffer {"connection_id":145974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9982dd0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:46:08] local.INFO: Packet analysis {"connection_id":145974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb998"} 
[2026-08-01 00:46:08] local.INFO: Extracted packet for processing {"connection_id":145974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb998"} 
[2026-08-01 00:46:08] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 00:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094370560001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:46: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-08-01 00:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785525186000,"timestamp_ms":1785525186000,"timestamp_seconds":1785525186,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9982dd0"} 
[2026-08-01 00:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 00:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-01 00:46:08] 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-08-01 00:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 00:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094370560001,"66":25419,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094370560001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:46:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:46:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094370560001,"power":25419,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":145974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:46:08] local.INFO: GPS data processed {"connection_id":145974,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:46:08] local.INFO: Acknowledgment sent {"connection_id":145974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:46:39] local.INFO: TCP Data received {"connection_id":145974,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9982dd0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9982dd0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:46:39] local.INFO: Processing buffer {"connection_id":145974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9982dd0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:46:39] local.INFO: Packet analysis {"connection_id":145974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb998"} 
[2026-08-01 00:46:39] local.INFO: Extracted packet for processing {"connection_id":145974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb998"} 
[2026-08-01 00:46:39] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 00:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094370560001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 00:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785525186000,"timestamp_ms":1785525186000,"timestamp_seconds":1785525186,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9982dd0"} 
[2026-08-01 00:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 00:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-01 00:46:39] 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-08-01 00:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 00:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":145974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":145974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":145974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094370560001,"66":25419,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094370560001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:46:39] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:46:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094370560001,"power":25419,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":145974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:46:39] local.INFO: GPS data processed {"connection_id":145974,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:46:39] local.INFO: Acknowledgment sent {"connection_id":145974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:46:58] local.INFO: TCP Data received {"connection_id":146992,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:46:58] local.INFO: Processing buffer {"connection_id":146992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:46:58] local.INFO: IMEI packet received {"connection_id":146992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":146992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:47:02] local.INFO: TCP Data received {"connection_id":146992,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:47:02] local.INFO: Processing buffer {"connection_id":146992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:47:02] local.INFO: IMEI packet received {"connection_id":146992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":146992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:47:03] local.INFO: TCP Data received {"connection_id":146992,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9982dd0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9982dd0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:47:03] local.INFO: Processing buffer {"connection_id":146992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9982dd0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:47:03] local.INFO: Packet analysis {"connection_id":146992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb998"} 
[2026-08-01 00:47:03] local.INFO: Extracted packet for processing {"connection_id":146992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb998"} 
[2026-08-01 00:47:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094370560001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:47: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-08-01 00:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785525186000,"timestamp_ms":1785525186000,"timestamp_seconds":1785525186,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9982dd0"} 
[2026-08-01 00:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00: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-08-01 00: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":53,"data_length":795,"current_offset":136} 
[2026-08-01 00:47: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-08-01 00: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-08-01 00:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094370560001,"66":25419,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094370560001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:47:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:47:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094370560001,"power":25419,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":146992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:47:03] local.INFO: GPS data processed {"connection_id":146992,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:47:03] local.INFO: Acknowledgment sent {"connection_id":146992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:47:34] local.INFO: TCP Data received {"connection_id":146992,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9982dd0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9982dd0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:47:34] local.INFO: Processing buffer {"connection_id":146992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9982dd0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:47:34] local.INFO: Packet analysis {"connection_id":146992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb998"} 
[2026-08-01 00:47:34] local.INFO: Extracted packet for processing {"connection_id":146992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb998"} 
[2026-08-01 00:47:34] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094370560001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:47:34] 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-08-01 00:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785525186000,"timestamp_ms":1785525186000,"timestamp_seconds":1785525186,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9982dd0"} 
[2026-08-01 00:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:47: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-08-01 00: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-01 00:47:34] 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-08-01 00: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-08-01 00:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094370560001,"66":25419,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094370560001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:47:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:47:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094370560001,"power":25419,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":146992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:47:34] local.INFO: GPS data processed {"connection_id":146992,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:47:34] local.INFO: Acknowledgment sent {"connection_id":146992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:47:57] local.INFO: TCP Data received {"connection_id":148312,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:47:57] local.INFO: Processing buffer {"connection_id":148312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:47:57] local.INFO: IMEI packet received {"connection_id":148312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":148312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:48:02] local.INFO: TCP Data received {"connection_id":148312,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:48:02] local.INFO: Processing buffer {"connection_id":148312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:48:02] local.INFO: IMEI packet received {"connection_id":148312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":148312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:48:03] local.INFO: TCP Data received {"connection_id":148312,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9982dd0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9982dd0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:48:03] local.INFO: Processing buffer {"connection_id":148312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9982dd0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:48:03] local.INFO: Packet analysis {"connection_id":148312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb998"} 
[2026-08-01 00:48:03] local.INFO: Extracted packet for processing {"connection_id":148312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb998"} 
[2026-08-01 00:48:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 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-08-01 00:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094370560001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 00:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785525186000,"timestamp_ms":1785525186000,"timestamp_seconds":1785525186,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9982dd0"} 
[2026-08-01 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-08-01 00: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-08-01 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":53,"data_length":795,"current_offset":136} 
[2026-08-01 00:48: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-08-01 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-08-01 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-08-01 00:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094370560001,"66":25419,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094370560001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:48:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:48:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094370560001,"power":25419,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":148312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:48:03] local.INFO: GPS data processed {"connection_id":148312,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:48:03] local.INFO: Acknowledgment sent {"connection_id":148312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:48:34] local.INFO: TCP Data received {"connection_id":148312,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9982dd0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9982dd0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:48:34] local.INFO: Processing buffer {"connection_id":148312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9982dd0012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:48:34] local.INFO: Packet analysis {"connection_id":148312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb998"} 
[2026-08-01 00:48:34] local.INFO: Extracted packet for processing {"connection_id":148312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb998"} 
[2026-08-01 00:48:34] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094370560001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:48:34] 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-08-01 00:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785525186000,"timestamp_ms":1785525186000,"timestamp_seconds":1785525186,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9982dd0"} 
[2026-08-01 00:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:48: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-08-01 00: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-01 00:48:34] 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-08-01 00: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-08-01 00:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094370560001,"66":25419,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094370560001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:48:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:48:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094370560001,"power":25419,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":148312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:48:34] local.INFO: GPS data processed {"connection_id":148312,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:48:34] local.INFO: Acknowledgment sent {"connection_id":148312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:48:57] local.INFO: TCP Data received {"connection_id":145975,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:48:57] local.INFO: Processing buffer {"connection_id":145975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:48:57] local.INFO: IMEI packet received {"connection_id":145975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":145975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:49:02] local.INFO: TCP Data received {"connection_id":145975,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:49:02] local.INFO: Processing buffer {"connection_id":145975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:49:02] local.INFO: IMEI packet received {"connection_id":145975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":145975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:49:03] local.INFO: TCP Data received {"connection_id":145975,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb99cc598012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb99cc598012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:49:03] local.INFO: Processing buffer {"connection_id":145975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb99cc598012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:49:03] local.INFO: Packet analysis {"connection_id":145975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb99c"} 
[2026-08-01 00:49:03] local.INFO: Extracted packet for processing {"connection_id":145975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb99c"} 
[2026-08-01 00:49:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 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-08-01 00:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094447616001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 00:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785525487000,"timestamp_ms":1785525487000,"timestamp_seconds":1785525487,"priority":1,"record_length":96,"hex_timestamp":"0000019fb99cc598"} 
[2026-08-01 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-08-01 00: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-08-01 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":75,"data_length":795,"current_offset":136} 
[2026-08-01 00:49:03] 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-08-01 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-08-01 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-08-01 00:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094447616001,"66":25321,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094447616001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:49:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:49:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094447616001,"power":25321,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":145975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:49:03] local.INFO: GPS data processed {"connection_id":145975,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:49:03] local.INFO: Acknowledgment sent {"connection_id":145975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:49:34] local.INFO: TCP Data received {"connection_id":145975,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb99cc598012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb99cc598012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:49:34] local.INFO: Processing buffer {"connection_id":145975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb99cc598012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:49:34] local.INFO: Packet analysis {"connection_id":145975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb99c"} 
[2026-08-01 00:49:34] local.INFO: Extracted packet for processing {"connection_id":145975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb99c"} 
[2026-08-01 00:49:34] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094447616001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:49:34] 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-08-01 00:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785525487000,"timestamp_ms":1785525487000,"timestamp_seconds":1785525487,"priority":1,"record_length":96,"hex_timestamp":"0000019fb99cc598"} 
[2026-08-01 00:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:49: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-08-01 00: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-01 00:49:34] 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-08-01 00: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-08-01 00:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094447616001,"66":25321,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094447616001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:49:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:49:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094447616001,"power":25321,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":145975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:49:34] local.INFO: GPS data processed {"connection_id":145975,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:49:34] local.INFO: Acknowledgment sent {"connection_id":145975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:49:57] local.INFO: TCP Data received {"connection_id":145772,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:49:57] local.INFO: Processing buffer {"connection_id":145772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:49:57] local.INFO: IMEI packet received {"connection_id":145772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":145772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:50:02] local.INFO: TCP Data received {"connection_id":145772,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:50:02] local.INFO: Processing buffer {"connection_id":145772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:50:02] local.INFO: IMEI packet received {"connection_id":145772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":145772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:50:03] local.INFO: TCP Data received {"connection_id":145772,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb99cc598012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb99cc598012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:50:03] local.INFO: Processing buffer {"connection_id":145772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb99cc598012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:50:03] local.INFO: Packet analysis {"connection_id":145772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb99c"} 
[2026-08-01 00:50:03] local.INFO: Extracted packet for processing {"connection_id":145772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb99c"} 
[2026-08-01 00:50:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094447616001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:50: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-08-01 00:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785525487000,"timestamp_ms":1785525487000,"timestamp_seconds":1785525487,"priority":1,"record_length":96,"hex_timestamp":"0000019fb99cc598"} 
[2026-08-01 00:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 00:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-01 00:50:03] 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-08-01 00: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-08-01 00:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094447616001,"66":25321,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094447616001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:50:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:50:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094447616001,"power":25321,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":145772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:50:03] local.INFO: GPS data processed {"connection_id":145772,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:50:03] local.INFO: Acknowledgment sent {"connection_id":145772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:50:34] local.INFO: TCP Data received {"connection_id":145772,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb99cc598012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb99cc598012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:50:34] local.INFO: Processing buffer {"connection_id":145772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb99cc598012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:50:34] local.INFO: Packet analysis {"connection_id":145772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb99c"} 
[2026-08-01 00:50:34] local.INFO: Extracted packet for processing {"connection_id":145772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb99c"} 
[2026-08-01 00:50:34] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094447616001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:50:34] 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-08-01 00:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785525487000,"timestamp_ms":1785525487000,"timestamp_seconds":1785525487,"priority":1,"record_length":96,"hex_timestamp":"0000019fb99cc598"} 
[2026-08-01 00:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:50: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-08-01 00:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-01 00:50:34] 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-08-01 00: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-08-01 00:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094447616001,"66":25321,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094447616001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:50:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:50:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094447616001,"power":25321,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":145772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:50:34] local.INFO: GPS data processed {"connection_id":145772,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:50:34] local.INFO: Acknowledgment sent {"connection_id":145772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:50:57] local.INFO: TCP Data received {"connection_id":148313,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:50:57] local.INFO: Processing buffer {"connection_id":148313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:50:57] local.INFO: IMEI packet received {"connection_id":148313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":148313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:51:02] local.INFO: TCP Data received {"connection_id":148313,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:51:02] local.INFO: Processing buffer {"connection_id":148313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:51:02] local.INFO: IMEI packet received {"connection_id":148313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":148313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:51:03] local.INFO: TCP Data received {"connection_id":148313,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb99cc598012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb99cc598012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:51:03] local.INFO: Processing buffer {"connection_id":148313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb99cc598012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:51:03] local.INFO: Packet analysis {"connection_id":148313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb99c"} 
[2026-08-01 00:51:03] local.INFO: Extracted packet for processing {"connection_id":148313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb99c"} 
[2026-08-01 00:51:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 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-08-01 00:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094447616001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 00:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785525487000,"timestamp_ms":1785525487000,"timestamp_seconds":1785525487,"priority":1,"record_length":96,"hex_timestamp":"0000019fb99cc598"} 
[2026-08-01 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-08-01 00: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-08-01 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":75,"data_length":795,"current_offset":136} 
[2026-08-01 00:51:03] 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-08-01 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-08-01 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-08-01 00:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094447616001,"66":25321,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094447616001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:51:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:51:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094447616001,"power":25321,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":148313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:51:03] local.INFO: GPS data processed {"connection_id":148313,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:51:03] local.INFO: Acknowledgment sent {"connection_id":148313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:51:34] local.INFO: TCP Data received {"connection_id":148313,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb99cc598012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb99cc598012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:51:34] local.INFO: Processing buffer {"connection_id":148313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb99cc598012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:51:34] local.INFO: Packet analysis {"connection_id":148313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb99c"} 
[2026-08-01 00:51:34] local.INFO: Extracted packet for processing {"connection_id":148313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb99c"} 
[2026-08-01 00:51:34] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094447616001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:51:34] 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-08-01 00:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785525487000,"timestamp_ms":1785525487000,"timestamp_seconds":1785525487,"priority":1,"record_length":96,"hex_timestamp":"0000019fb99cc598"} 
[2026-08-01 00:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:51: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-08-01 00: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-01 00:51:34] 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-08-01 00: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-08-01 00:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094447616001,"66":25321,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094447616001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:51:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:51:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094447616001,"power":25321,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":148313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:51:34] local.INFO: GPS data processed {"connection_id":148313,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:51:34] local.INFO: Acknowledgment sent {"connection_id":148313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:51:57] local.INFO: TCP Data received {"connection_id":146993,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:51:57] local.INFO: Processing buffer {"connection_id":146993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:51:57] local.INFO: IMEI packet received {"connection_id":146993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":146993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:52:02] local.INFO: TCP Data received {"connection_id":146993,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:52:02] local.INFO: Processing buffer {"connection_id":146993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:52:02] local.INFO: IMEI packet received {"connection_id":146993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":146993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:52:03] local.INFO: TCP Data received {"connection_id":146993,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb99cc598012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb99cc598012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:52:03] local.INFO: Processing buffer {"connection_id":146993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb99cc598012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:52:03] local.INFO: Packet analysis {"connection_id":146993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb99c"} 
[2026-08-01 00:52:03] local.INFO: Extracted packet for processing {"connection_id":146993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb99c"} 
[2026-08-01 00:52:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094447616001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:52: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-08-01 00:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785525487000,"timestamp_ms":1785525487000,"timestamp_seconds":1785525487,"priority":1,"record_length":96,"hex_timestamp":"0000019fb99cc598"} 
[2026-08-01 00:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00: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-08-01 00: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-01 00:52:03] 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-08-01 00: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-08-01 00:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094447616001,"66":25321,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094447616001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:52:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:52:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094447616001,"power":25321,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":146993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:52:03] local.INFO: GPS data processed {"connection_id":146993,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:52:03] local.INFO: Acknowledgment sent {"connection_id":146993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:52:35] local.INFO: TCP Data received {"connection_id":146993,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb99cc598012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb99cc598012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:52:35] local.INFO: Processing buffer {"connection_id":146993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb99cc598012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:52:35] local.INFO: Packet analysis {"connection_id":146993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb99c"} 
[2026-08-01 00:52:35] local.INFO: Extracted packet for processing {"connection_id":146993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb99c"} 
[2026-08-01 00:52:35] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094447616001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:52: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-08-01 00:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785525487000,"timestamp_ms":1785525487000,"timestamp_seconds":1785525487,"priority":1,"record_length":96,"hex_timestamp":"0000019fb99cc598"} 
[2026-08-01 00:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 00:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-01 00:52:35] 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-08-01 00: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-08-01 00:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094447616001,"66":25321,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094447616001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:52:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:52:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094447616001,"power":25321,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":146993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:52:35] local.INFO: GPS data processed {"connection_id":146993,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:52:35] local.INFO: Acknowledgment sent {"connection_id":146993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:52:57] local.INFO: TCP Data received {"connection_id":148314,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:52:57] local.INFO: Processing buffer {"connection_id":148314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:52:57] local.INFO: IMEI packet received {"connection_id":148314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":148314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:53:02] local.INFO: TCP Data received {"connection_id":148314,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:53:02] local.INFO: Processing buffer {"connection_id":148314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:53:02] local.INFO: IMEI packet received {"connection_id":148314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":148314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:53:03] local.INFO: TCP Data received {"connection_id":148314,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb99cc598012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb99cc598012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:53:03] local.INFO: Processing buffer {"connection_id":148314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb99cc598012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:53:03] local.INFO: Packet analysis {"connection_id":148314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb99c"} 
[2026-08-01 00:53:03] local.INFO: Extracted packet for processing {"connection_id":148314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb99c"} 
[2026-08-01 00:53:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 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-08-01 00:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094447616001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 00:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785525487000,"timestamp_ms":1785525487000,"timestamp_seconds":1785525487,"priority":1,"record_length":96,"hex_timestamp":"0000019fb99cc598"} 
[2026-08-01 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-08-01 00:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 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":75,"data_length":795,"current_offset":136} 
[2026-08-01 00:53:03] 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-08-01 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-08-01 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-08-01 00:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094447616001,"66":25321,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094447616001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:53:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:53:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094447616001,"power":25321,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":148314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:53:03] local.INFO: GPS data processed {"connection_id":148314,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:53:03] local.INFO: Acknowledgment sent {"connection_id":148314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:53:34] local.INFO: TCP Data received {"connection_id":148314,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb99cc598012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb99cc598012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:53:34] local.INFO: Processing buffer {"connection_id":148314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb99cc598012d77a34005f2a7180017010c2a..."} 
[2026-08-01 00:53:34] local.INFO: Packet analysis {"connection_id":148314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb99c"} 
[2026-08-01 00:53:34] local.INFO: Extracted packet for processing {"connection_id":148314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb99c"} 
[2026-08-01 00:53:34] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094447616001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:53:34] 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-08-01 00:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785525487000,"timestamp_ms":1785525487000,"timestamp_seconds":1785525487,"priority":1,"record_length":96,"hex_timestamp":"0000019fb99cc598"} 
[2026-08-01 00:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:53: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-08-01 00: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":75,"data_length":795,"current_offset":136} 
[2026-08-01 00:53:34] 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-08-01 00: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-08-01 00:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094447616001,"66":25321,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094447616001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:53:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:53:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094447616001,"power":25321,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":148314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:53:34] local.INFO: GPS data processed {"connection_id":148314,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:53:34] local.INFO: Acknowledgment sent {"connection_id":148314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:54:02] local.INFO: TCP Data received {"connection_id":145773,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:54:02] local.INFO: Processing buffer {"connection_id":145773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:54:02] local.INFO: IMEI packet received {"connection_id":145773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":145773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:54:07] local.INFO: TCP Data received {"connection_id":145773,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:54:07] local.INFO: Processing buffer {"connection_id":145773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:54:07] local.INFO: IMEI packet received {"connection_id":145773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":145773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:54:08] local.INFO: TCP Data received {"connection_id":145773,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9a15d60012d77a34005f2a7180017010c26..."} 
[2026-08-01 00:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9a15d60012d77a34005f2a7180017010c26..."} 
[2026-08-01 00:54:08] local.INFO: Processing buffer {"connection_id":145773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9a15d60012d77a34005f2a7180017010c26..."} 
[2026-08-01 00:54:08] local.INFO: Packet analysis {"connection_id":145773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9a1"} 
[2026-08-01 00:54:08] local.INFO: Extracted packet for processing {"connection_id":145773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9a1"} 
[2026-08-01 00:54:08] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 00:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094524672001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:54: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-08-01 00:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785525788000,"timestamp_ms":1785525788000,"timestamp_seconds":1785525788,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9a15d60"} 
[2026-08-01 00:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:54: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-08-01 00:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-01 00:54:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 00:54:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 00:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094524672001,"66":25451,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094524672001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:54:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:54:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094524672001,"power":25451,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":145773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:54:08] local.INFO: GPS data processed {"connection_id":145773,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:54:08] local.INFO: Acknowledgment sent {"connection_id":145773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:54:13] local.INFO: TCP Data received {"connection_id":145773,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9a15d60012d77a34005f2a7180017010c26..."} 
[2026-08-01 00:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9a15d60012d77a34005f2a7180017010c26..."} 
[2026-08-01 00:54:13] local.INFO: Processing buffer {"connection_id":145773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9a15d60012d77a34005f2a7180017010c26..."} 
[2026-08-01 00:54:13] local.INFO: Packet analysis {"connection_id":145773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9a1"} 
[2026-08-01 00:54:13] local.INFO: Extracted packet for processing {"connection_id":145773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9a1"} 
[2026-08-01 00:54:13] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 00:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094524672001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:54:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 00:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785525788000,"timestamp_ms":1785525788000,"timestamp_seconds":1785525788,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9a15d60"} 
[2026-08-01 00:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:54:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 00:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-01 00:54:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 00:54:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 00:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":145773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":145773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":145773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:54:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094524672001,"66":25451,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094524672001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:54:13] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:54:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094524672001,"power":25451,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":145773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:54:13] local.INFO: GPS data processed {"connection_id":145773,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:54:13] local.INFO: Acknowledgment sent {"connection_id":145773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:54:57] local.INFO: TCP Data received {"connection_id":148315,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:54:57] local.INFO: Processing buffer {"connection_id":148315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:54:57] local.INFO: IMEI packet received {"connection_id":148315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":148315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:55:02] local.INFO: TCP Data received {"connection_id":148315,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:55:02] local.INFO: Processing buffer {"connection_id":148315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:55:02] local.INFO: IMEI packet received {"connection_id":148315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":148315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:55:03] local.INFO: TCP Data received {"connection_id":148315,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9a15d60012d77a34005f2a7180017010c26..."} 
[2026-08-01 00:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9a15d60012d77a34005f2a7180017010c26..."} 
[2026-08-01 00:55:03] local.INFO: Processing buffer {"connection_id":148315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9a15d60012d77a34005f2a7180017010c26..."} 
[2026-08-01 00:55:03] local.INFO: Packet analysis {"connection_id":148315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9a1"} 
[2026-08-01 00:55:03] local.INFO: Extracted packet for processing {"connection_id":148315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9a1"} 
[2026-08-01 00:55:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094524672001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:55: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-08-01 00:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785525788000,"timestamp_ms":1785525788000,"timestamp_seconds":1785525788,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9a15d60"} 
[2026-08-01 00:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:55: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-08-01 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-01 00:55:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 00: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-08-01 00:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094524672001,"66":25451,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094524672001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:55:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:55:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094524672001,"power":25451,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":148315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:55:03] local.INFO: GPS data processed {"connection_id":148315,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:55:03] local.INFO: Acknowledgment sent {"connection_id":148315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:55:34] local.INFO: TCP Data received {"connection_id":148315,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9a15d60012d77a34005f2a7180017010c26..."} 
[2026-08-01 00:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9a15d60012d77a34005f2a7180017010c26..."} 
[2026-08-01 00:55:34] local.INFO: Processing buffer {"connection_id":148315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9a15d60012d77a34005f2a7180017010c26..."} 
[2026-08-01 00:55:34] local.INFO: Packet analysis {"connection_id":148315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9a1"} 
[2026-08-01 00:55:34] local.INFO: Extracted packet for processing {"connection_id":148315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9a1"} 
[2026-08-01 00:55:34] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094524672001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:55:34] 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-08-01 00:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785525788000,"timestamp_ms":1785525788000,"timestamp_seconds":1785525788,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9a15d60"} 
[2026-08-01 00:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:55: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-08-01 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-01 00:55:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 00: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-08-01 00:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094524672001,"66":25451,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094524672001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:55:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:55:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094524672001,"power":25451,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":148315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:55:34] local.INFO: GPS data processed {"connection_id":148315,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:55:34] local.INFO: Acknowledgment sent {"connection_id":148315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:55:57] local.INFO: TCP Data received {"connection_id":146994,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:55:57] local.INFO: Processing buffer {"connection_id":146994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:55:57] local.INFO: IMEI packet received {"connection_id":146994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":146994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:56:02] local.INFO: TCP Data received {"connection_id":146994,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:56:02] local.INFO: Processing buffer {"connection_id":146994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:56:02] local.INFO: IMEI packet received {"connection_id":146994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":146994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:56:03] local.INFO: TCP Data received {"connection_id":146994,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9a15d60012d77a34005f2a7180017010c26..."} 
[2026-08-01 00:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9a15d60012d77a34005f2a7180017010c26..."} 
[2026-08-01 00:56:03] local.INFO: Processing buffer {"connection_id":146994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9a15d60012d77a34005f2a7180017010c26..."} 
[2026-08-01 00:56:03] local.INFO: Packet analysis {"connection_id":146994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9a1"} 
[2026-08-01 00:56:03] local.INFO: Extracted packet for processing {"connection_id":146994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9a1"} 
[2026-08-01 00:56:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094524672001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:56: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-08-01 00:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785525788000,"timestamp_ms":1785525788000,"timestamp_seconds":1785525788,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9a15d60"} 
[2026-08-01 00:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00: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-08-01 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-01 00:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 00: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-08-01 00:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094524672001,"66":25451,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094524672001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:56:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:56:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094524672001,"power":25451,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":146994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:56:03] local.INFO: GPS data processed {"connection_id":146994,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:56:03] local.INFO: Acknowledgment sent {"connection_id":146994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:56:35] local.INFO: TCP Data received {"connection_id":146994,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9a15d60012d77a34005f2a7180017010c26..."} 
[2026-08-01 00:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9a15d60012d77a34005f2a7180017010c26..."} 
[2026-08-01 00:56:35] local.INFO: Processing buffer {"connection_id":146994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9a15d60012d77a34005f2a7180017010c26..."} 
[2026-08-01 00:56:35] local.INFO: Packet analysis {"connection_id":146994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9a1"} 
[2026-08-01 00:56:35] local.INFO: Extracted packet for processing {"connection_id":146994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9a1"} 
[2026-08-01 00:56:35] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094524672001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:56: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-08-01 00:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785525788000,"timestamp_ms":1785525788000,"timestamp_seconds":1785525788,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9a15d60"} 
[2026-08-01 00:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 00:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-01 00:56:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 00: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-08-01 00:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094524672001,"66":25451,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094524672001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:56:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:56:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094524672001,"power":25451,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":146994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:56:35] local.INFO: GPS data processed {"connection_id":146994,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:56:35] local.INFO: Acknowledgment sent {"connection_id":146994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:56:57] local.INFO: TCP Data received {"connection_id":146995,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:56:57] local.INFO: Processing buffer {"connection_id":146995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:56:57] local.INFO: IMEI packet received {"connection_id":146995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":146995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:57:02] local.INFO: TCP Data received {"connection_id":146995,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:57:02] local.INFO: Processing buffer {"connection_id":146995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:57:02] local.INFO: IMEI packet received {"connection_id":146995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":146995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:57:03] local.INFO: TCP Data received {"connection_id":146995,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9a15d60012d77a34005f2a7180017010c26..."} 
[2026-08-01 00:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9a15d60012d77a34005f2a7180017010c26..."} 
[2026-08-01 00:57:03] local.INFO: Processing buffer {"connection_id":146995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9a15d60012d77a34005f2a7180017010c26..."} 
[2026-08-01 00:57:03] local.INFO: Packet analysis {"connection_id":146995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9a1"} 
[2026-08-01 00:57:03] local.INFO: Extracted packet for processing {"connection_id":146995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9a1"} 
[2026-08-01 00:57:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094524672001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:57: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-08-01 00:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785525788000,"timestamp_ms":1785525788000,"timestamp_seconds":1785525788,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9a15d60"} 
[2026-08-01 00:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:57: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-08-01 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-01 00:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 00: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-08-01 00:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094524672001,"66":25451,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094524672001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:57:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:57:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094524672001,"power":25451,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":146995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:57:03] local.INFO: GPS data processed {"connection_id":146995,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:57:03] local.INFO: Acknowledgment sent {"connection_id":146995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:57:34] local.INFO: TCP Data received {"connection_id":146995,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9a15d60012d77a34005f2a7180017010c26..."} 
[2026-08-01 00:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9a15d60012d77a34005f2a7180017010c26..."} 
[2026-08-01 00:57:34] local.INFO: Processing buffer {"connection_id":146995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9a15d60012d77a34005f2a7180017010c26..."} 
[2026-08-01 00:57:34] local.INFO: Packet analysis {"connection_id":146995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9a1"} 
[2026-08-01 00:57:34] local.INFO: Extracted packet for processing {"connection_id":146995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9a1"} 
[2026-08-01 00:57:34] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094524672001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:57:34] 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-08-01 00:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785525788000,"timestamp_ms":1785525788000,"timestamp_seconds":1785525788,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9a15d60"} 
[2026-08-01 00:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:57: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-08-01 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-01 00:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 00: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-08-01 00:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094524672001,"66":25451,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094524672001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:57:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:57:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094524672001,"power":25451,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":146995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:57:34] local.INFO: GPS data processed {"connection_id":146995,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:57:34] local.INFO: Acknowledgment sent {"connection_id":146995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:58:02] local.INFO: TCP Data received {"connection_id":146996,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:58:02] local.INFO: Processing buffer {"connection_id":146996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:58:02] local.INFO: IMEI packet received {"connection_id":146996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":146996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:58:07] local.INFO: TCP Data received {"connection_id":146996,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:58:07] local.INFO: Processing buffer {"connection_id":146996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:58:07] local.INFO: IMEI packet received {"connection_id":146996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":146996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:58:08] local.INFO: TCP Data received {"connection_id":146996,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9a15d60012d77a34005f2a7180017010c26..."} 
[2026-08-01 00:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9a15d60012d77a34005f2a7180017010c26..."} 
[2026-08-01 00:58:08] local.INFO: Processing buffer {"connection_id":146996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9a15d60012d77a34005f2a7180017010c26..."} 
[2026-08-01 00:58:08] local.INFO: Packet analysis {"connection_id":146996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9a1"} 
[2026-08-01 00:58:08] local.INFO: Extracted packet for processing {"connection_id":146996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9a1"} 
[2026-08-01 00:58:08] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094524672001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:58: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-08-01 00:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785525788000,"timestamp_ms":1785525788000,"timestamp_seconds":1785525788,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9a15d60"} 
[2026-08-01 00:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-01 00:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 00: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-08-01 00:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":146996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":146996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":146996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094524672001,"66":25451,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094524672001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:58:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:58:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094524672001,"power":25451,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":146996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:58:08] local.INFO: GPS data processed {"connection_id":146996,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:58:08] local.INFO: Acknowledgment sent {"connection_id":146996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:58:13] local.INFO: TCP Data received {"connection_id":146996,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9a15d60012d77a34005f2a7180017010c26..."} 
[2026-08-01 00:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9a15d60012d77a34005f2a7180017010c26..."} 
[2026-08-01 00:58:13] local.INFO: Processing buffer {"connection_id":146996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9a15d60012d77a34005f2a7180017010c26..."} 
[2026-08-01 00:58:13] local.INFO: Packet analysis {"connection_id":146996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9a1"} 
[2026-08-01 00:58:13] local.INFO: Extracted packet for processing {"connection_id":146996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9a1"} 
[2026-08-01 00:58:13] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 00:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094524672001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:58:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:58:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 00:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785525788000,"timestamp_ms":1785525788000,"timestamp_seconds":1785525788,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9a15d60"} 
[2026-08-01 00:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:58:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 00:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-01 00:58:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 00:58:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 00:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":146996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":146996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":146996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094524672001,"66":25451,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094524672001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:58:13] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:58:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:58:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094524672001,"power":25451,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":146996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:58:13] local.INFO: GPS data processed {"connection_id":146996,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:58:13] local.INFO: Acknowledgment sent {"connection_id":146996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:58:58] local.INFO: TCP Data received {"connection_id":145774,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:58:58] local.INFO: Processing buffer {"connection_id":145774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:58:58] local.INFO: IMEI packet received {"connection_id":145774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":145774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 00:59:02] local.INFO: TCP Data received {"connection_id":145774,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:59:02] local.INFO: Processing buffer {"connection_id":145774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:59:02] local.INFO: IMEI packet received {"connection_id":145774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 00:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":145774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 00:59:03] local.INFO: TCP Data received {"connection_id":145774,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9a5f528012d77a34005f2a7180017010c2b..."} 
[2026-08-01 00:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9a5f528012d77a34005f2a7180017010c2b..."} 
[2026-08-01 00:59:03] local.INFO: Processing buffer {"connection_id":145774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9a5f528012d77a34005f2a7180017010c2b..."} 
[2026-08-01 00:59:03] local.INFO: Packet analysis {"connection_id":145774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9a5"} 
[2026-08-01 00:59:03] local.INFO: Extracted packet for processing {"connection_id":145774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9a5"} 
[2026-08-01 00:59:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":43,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 00:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094601728001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:59: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-08-01 00:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785526089000,"timestamp_ms":1785526089000,"timestamp_seconds":1785526089,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9a5f528"} 
[2026-08-01 00:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00:59: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-08-01 00:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 00:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 00:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 00:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094601728001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094601728001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:59:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:59:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094601728001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":145774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:59:03] local.INFO: GPS data processed {"connection_id":145774,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:59:03] local.INFO: Acknowledgment sent {"connection_id":145774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:59:34] local.INFO: TCP Data received {"connection_id":145774,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9a5f528012d77a34005f2a7180017010c2b..."} 
[2026-08-01 00:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9a5f528012d77a34005f2a7180017010c2b..."} 
[2026-08-01 00:59:34] local.INFO: Processing buffer {"connection_id":145774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9a5f528012d77a34005f2a7180017010c2b..."} 
[2026-08-01 00:59:34] local.INFO: Packet analysis {"connection_id":145774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9a5"} 
[2026-08-01 00:59:34] local.INFO: Extracted packet for processing {"connection_id":145774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9a5"} 
[2026-08-01 00:59:34] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":43,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 00: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-08-01 00:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094601728001,"note":"Value kept but may cause issues"} 
[2026-08-01 00:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 00:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 00:59:34] 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-08-01 00:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785526089000,"timestamp_ms":1785526089000,"timestamp_seconds":1785526089,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9a5f528"} 
[2026-08-01 00:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 00: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-08-01 00: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 00:59:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 00: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-08-01 00:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 00:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 00:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 00:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 00:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 00:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 00:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 00:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094601728001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 00:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 00:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 00:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094601728001,"description":"Unknown IO ID 0"} 
[2026-08-01 00:59:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 00:59:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 00:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 00:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 00:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094601728001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 00:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":145774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 00:59:34] local.INFO: GPS data processed {"connection_id":145774,"processed":1,"errors":0,"total":1} 
[2026-08-01 00:59:34] local.INFO: Acknowledgment sent {"connection_id":145774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 00:59:57] local.INFO: TCP Data received {"connection_id":146997,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:59:57] local.INFO: Processing buffer {"connection_id":146997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 00:59:57] local.INFO: IMEI packet received {"connection_id":146997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 00:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":146997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:00:02] local.INFO: TCP Data received {"connection_id":146997,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:00:02] local.INFO: Processing buffer {"connection_id":146997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:00:02] local.INFO: IMEI packet received {"connection_id":146997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":146997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:00:03] local.INFO: TCP Data received {"connection_id":146997,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9a5f528012d77a34005f2a7180017010c2b..."} 
[2026-08-01 01:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9a5f528012d77a34005f2a7180017010c2b..."} 
[2026-08-01 01:00:03] local.INFO: Processing buffer {"connection_id":146997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9a5f528012d77a34005f2a7180017010c2b..."} 
[2026-08-01 01:00:03] local.INFO: Packet analysis {"connection_id":146997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9a5"} 
[2026-08-01 01:00:03] local.INFO: Extracted packet for processing {"connection_id":146997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9a5"} 
[2026-08-01 01:00:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":43,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094601728001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 01:00: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-08-01 01:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785526089000,"timestamp_ms":1785526089000,"timestamp_seconds":1785526089,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9a5f528"} 
[2026-08-01 01:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:00: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-08-01 01: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":107,"data_length":795,"current_offset":136} 
[2026-08-01 01:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 01: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-08-01 01:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094601728001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094601728001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:00:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:00:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 01:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094601728001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 01:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":146997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:00:03] local.INFO: GPS data processed {"connection_id":146997,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:00:03] local.INFO: Acknowledgment sent {"connection_id":146997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:00:34] local.INFO: TCP Data received {"connection_id":146997,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9a5f528012d77a34005f2a7180017010c2b..."} 
[2026-08-01 01:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9a5f528012d77a34005f2a7180017010c2b..."} 
[2026-08-01 01:00:34] local.INFO: Processing buffer {"connection_id":146997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9a5f528012d77a34005f2a7180017010c2b..."} 
[2026-08-01 01:00:34] local.INFO: Packet analysis {"connection_id":146997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9a5"} 
[2026-08-01 01:00:34] local.INFO: Extracted packet for processing {"connection_id":146997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9a5"} 
[2026-08-01 01:00:34] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":43,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094601728001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 01:00:34] 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-08-01 01:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785526089000,"timestamp_ms":1785526089000,"timestamp_seconds":1785526089,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9a5f528"} 
[2026-08-01 01:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:00: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-08-01 01: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 01:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 01: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-08-01 01:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094601728001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094601728001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:00:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:00:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 01:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094601728001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 01:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":146997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:00:34] local.INFO: GPS data processed {"connection_id":146997,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:00:34] local.INFO: Acknowledgment sent {"connection_id":146997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:00:57] local.INFO: TCP Data received {"connection_id":145775,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:00:57] local.INFO: Processing buffer {"connection_id":145775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:00:57] local.INFO: IMEI packet received {"connection_id":145775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":145775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:01:02] local.INFO: TCP Data received {"connection_id":145775,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:01:02] local.INFO: Processing buffer {"connection_id":145775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:01:02] local.INFO: IMEI packet received {"connection_id":145775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":145775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:01:03] local.INFO: TCP Data received {"connection_id":145775,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9a5f528012d77a34005f2a7180017010c2b..."} 
[2026-08-01 01:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9a5f528012d77a34005f2a7180017010c2b..."} 
[2026-08-01 01:01:03] local.INFO: Processing buffer {"connection_id":145775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9a5f528012d77a34005f2a7180017010c2b..."} 
[2026-08-01 01:01:03] local.INFO: Packet analysis {"connection_id":145775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9a5"} 
[2026-08-01 01:01:03] local.INFO: Extracted packet for processing {"connection_id":145775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9a5"} 
[2026-08-01 01:01:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":43,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094601728001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 01: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-08-01 01:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785526089000,"timestamp_ms":1785526089000,"timestamp_seconds":1785526089,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9a5f528"} 
[2026-08-01 01:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:01: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-08-01 01: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 01:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 01: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-08-01 01:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094601728001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094601728001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:01:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:01:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 01:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094601728001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 01:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":145775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:01:03] local.INFO: GPS data processed {"connection_id":145775,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:01:03] local.INFO: Acknowledgment sent {"connection_id":145775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:01:40] local.INFO: TCP Data received {"connection_id":145775,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9a5f528012d77a34005f2a7180017010c2b..."} 
[2026-08-01 01:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9a5f528012d77a34005f2a7180017010c2b..."} 
[2026-08-01 01:01:40] local.INFO: Processing buffer {"connection_id":145775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9a5f528012d77a34005f2a7180017010c2b..."} 
[2026-08-01 01:01:40] local.INFO: Packet analysis {"connection_id":145775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9a5"} 
[2026-08-01 01:01:40] local.INFO: Extracted packet for processing {"connection_id":145775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9a5"} 
[2026-08-01 01:01:40] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":43,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 01:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 01:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094601728001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:01:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 01:01:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 01:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785526089000,"timestamp_ms":1785526089000,"timestamp_seconds":1785526089,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9a5f528"} 
[2026-08-01 01:01:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:01: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-08-01 01:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 01:01:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 01:01:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 01:01:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":145775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":145775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":145775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:01:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094601728001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094601728001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:01:40] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:01:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:01:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 01:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094601728001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 01:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":145775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:01:40] local.INFO: GPS data processed {"connection_id":145775,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:01:40] local.INFO: Acknowledgment sent {"connection_id":145775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:02:02] local.INFO: TCP Data received {"connection_id":145976,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:02:02] local.INFO: Processing buffer {"connection_id":145976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:02:02] local.INFO: IMEI packet received {"connection_id":145976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":145976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:02:07] local.INFO: TCP Data received {"connection_id":145976,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:02:07] local.INFO: Processing buffer {"connection_id":145976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:02:07] local.INFO: IMEI packet received {"connection_id":145976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":145976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:02:08] local.INFO: TCP Data received {"connection_id":145976,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9a5f528012d77a34005f2a7180017010c2b..."} 
[2026-08-01 01:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9a5f528012d77a34005f2a7180017010c2b..."} 
[2026-08-01 01:02:08] local.INFO: Processing buffer {"connection_id":145976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9a5f528012d77a34005f2a7180017010c2b..."} 
[2026-08-01 01:02:08] local.INFO: Packet analysis {"connection_id":145976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9a5"} 
[2026-08-01 01:02:08] local.INFO: Extracted packet for processing {"connection_id":145976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9a5"} 
[2026-08-01 01:02:08] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":43,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094601728001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 01:02: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-08-01 01:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785526089000,"timestamp_ms":1785526089000,"timestamp_seconds":1785526089,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9a5f528"} 
[2026-08-01 01:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:02: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-08-01 01: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 01:02:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 01: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-08-01 01:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:02:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094601728001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094601728001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:02:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:02:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 01:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094601728001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 01:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":145976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:02:08] local.INFO: GPS data processed {"connection_id":145976,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:02:08] local.INFO: Acknowledgment sent {"connection_id":145976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:02:13] local.INFO: TCP Data received {"connection_id":145976,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9a5f528012d77a34005f2a7180017010c2b..."} 
[2026-08-01 01:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9a5f528012d77a34005f2a7180017010c2b..."} 
[2026-08-01 01:02:13] local.INFO: Processing buffer {"connection_id":145976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9a5f528012d77a34005f2a7180017010c2b..."} 
[2026-08-01 01:02:13] local.INFO: Packet analysis {"connection_id":145976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9a5"} 
[2026-08-01 01:02:13] local.INFO: Extracted packet for processing {"connection_id":145976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9a5"} 
[2026-08-01 01:02:13] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":43,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 01:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 01:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094601728001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 01:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 01:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785526089000,"timestamp_ms":1785526089000,"timestamp_seconds":1785526089,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9a5f528"} 
[2026-08-01 01:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:02:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 01:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 01:02:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 01:02:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 01:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":145976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":145976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":145976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094601728001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094601728001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:02:13] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:02:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 01:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094601728001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 01:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":145976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:02:13] local.INFO: GPS data processed {"connection_id":145976,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:02:13] local.INFO: Acknowledgment sent {"connection_id":145976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:02:57] local.INFO: TCP Data received {"connection_id":146998,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:02:57] local.INFO: Processing buffer {"connection_id":146998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:02:57] local.INFO: IMEI packet received {"connection_id":146998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":146998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:03:02] local.INFO: TCP Data received {"connection_id":146998,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:03:02] local.INFO: Processing buffer {"connection_id":146998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:03:02] local.INFO: IMEI packet received {"connection_id":146998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":146998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:03:03] local.INFO: TCP Data received {"connection_id":146998,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9a5f528012d77a34005f2a7180017010c2b..."} 
[2026-08-01 01:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9a5f528012d77a34005f2a7180017010c2b..."} 
[2026-08-01 01:03:03] local.INFO: Processing buffer {"connection_id":146998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9a5f528012d77a34005f2a7180017010c2b..."} 
[2026-08-01 01:03:03] local.INFO: Packet analysis {"connection_id":146998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9a5"} 
[2026-08-01 01:03:03] local.INFO: Extracted packet for processing {"connection_id":146998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9a5"} 
[2026-08-01 01:03:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":43,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094601728001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 01:03: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-08-01 01:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785526089000,"timestamp_ms":1785526089000,"timestamp_seconds":1785526089,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9a5f528"} 
[2026-08-01 01:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:03: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-08-01 01: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 01:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 01: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-08-01 01:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094601728001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094601728001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:03:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:03:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 01:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094601728001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 01:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":146998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:03:03] local.INFO: GPS data processed {"connection_id":146998,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:03:03] local.INFO: Acknowledgment sent {"connection_id":146998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:03:34] local.INFO: TCP Data received {"connection_id":146998,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9aa2378012d77a34005f2a7180017010c29..."} 
[2026-08-01 01:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9aa2378012d77a34005f2a7180017010c29..."} 
[2026-08-01 01:03:34] local.INFO: Processing buffer {"connection_id":146998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9aa2378012d77a34005f2a7180017010c29..."} 
[2026-08-01 01:03:34] local.INFO: Packet analysis {"connection_id":146998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9aa"} 
[2026-08-01 01:03:34] local.INFO: Extracted packet for processing {"connection_id":146998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9aa"} 
[2026-08-01 01:03:34] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 01:03: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-08-01 01:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094678784001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 01:03:34] 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-08-01 01:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785526363000,"timestamp_ms":1785526363000,"timestamp_seconds":1785526363,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9aa2378"} 
[2026-08-01 01:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:03: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-08-01 01:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 01:03:34] 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-08-01 01:03:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 01:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094678784001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094678784001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:03:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:03:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 01:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094678784001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 01:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":146998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:03:34] local.INFO: GPS data processed {"connection_id":146998,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:03:34] local.INFO: Acknowledgment sent {"connection_id":146998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:04:02] local.INFO: TCP Data received {"connection_id":145977,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:04:02] local.INFO: Processing buffer {"connection_id":145977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:04:02] local.INFO: IMEI packet received {"connection_id":145977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":145977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:04:04] local.INFO: TCP Data received {"connection_id":145977,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:04:04] local.INFO: Processing buffer {"connection_id":145977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:04:04] local.INFO: IMEI packet received {"connection_id":145977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":145977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:04:05] local.INFO: TCP Data received {"connection_id":145977,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9aa7968012d77a34005f2a7180017010c2a..."} 
[2026-08-01 01:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9aa7968012d77a34005f2a7180017010c2a..."} 
[2026-08-01 01:04:05] local.INFO: Processing buffer {"connection_id":145977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9aa7968012d77a34005f2a7180017010c2a..."} 
[2026-08-01 01:04:05] local.INFO: Packet analysis {"connection_id":145977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9aa"} 
[2026-08-01 01:04:05] local.INFO: Extracted packet for processing {"connection_id":145977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9aa"} 
[2026-08-01 01:04:05] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094748928001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 01:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 01:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785526385000,"timestamp_ms":1785526385000,"timestamp_seconds":1785526385,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9aa7968"} 
[2026-08-01 01:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 01:04:05] 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-08-01 01: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-08-01 01:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094748928001,"66":27843,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094748928001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:04:05] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:04:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 01:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094748928001,"power":27843,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 01:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":145977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:04:05] local.INFO: GPS data processed {"connection_id":145977,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:04:05] local.INFO: Acknowledgment sent {"connection_id":145977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:04:07] local.INFO: TCP Data received {"connection_id":145977,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9aacb70012d77a34005f2a7180017010c29..."} 
[2026-08-01 01:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9aacb70012d77a34005f2a7180017010c29..."} 
[2026-08-01 01:04:07] local.INFO: Processing buffer {"connection_id":145977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9aacb70012d77a34005f2a7180017010c29..."} 
[2026-08-01 01:04:07] local.INFO: Packet analysis {"connection_id":145977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9aa"} 
[2026-08-01 01:04:07] local.INFO: Extracted packet for processing {"connection_id":145977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9aa"} 
[2026-08-01 01:04:07] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 01:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 01:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094754560001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 01:04: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-08-01 01:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785526406000,"timestamp_ms":1785526406000,"timestamp_seconds":1785526406,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9aacb70"} 
[2026-08-01 01:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:04: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-08-01 01: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 01:04:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 01: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-08-01 01:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":145977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":145977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":145977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094754560001,"66":27713,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094754560001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:04:07] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:04:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 01:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094754560001,"power":27713,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 01:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":145977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:04:07] local.INFO: GPS data processed {"connection_id":145977,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:04:07] local.INFO: Acknowledgment sent {"connection_id":145977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:04:38] local.INFO: TCP Data received {"connection_id":145977,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9aadb10012d77a34005f2a7180017010c29..."} 
[2026-08-01 01:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9aadb10012d77a34005f2a7180017010c29..."} 
[2026-08-01 01:04:38] local.INFO: Processing buffer {"connection_id":145977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9aadb10012d77a34005f2a7180017010c29..."} 
[2026-08-01 01:04:38] local.INFO: Packet analysis {"connection_id":145977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9aa"} 
[2026-08-01 01:04:38] local.INFO: Extracted packet for processing {"connection_id":145977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9aa"} 
[2026-08-01 01:04:38] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 01:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 01:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094759936001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 01:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 01:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785526410000,"timestamp_ms":1785526410000,"timestamp_seconds":1785526410,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9aadb10"} 
[2026-08-01 01:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 01:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 01:04:38] 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-08-01 01: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-08-01 01:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094759936001,"66":27517,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094759936001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:04:38] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:04:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 01:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094759936001,"power":27517,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 01:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":145977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:04:38] local.INFO: GPS data processed {"connection_id":145977,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:04:38] local.INFO: Acknowledgment sent {"connection_id":145977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:04:58] local.INFO: TCP Data received {"connection_id":145776,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:04:58] local.INFO: Processing buffer {"connection_id":145776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:04:58] local.INFO: IMEI packet received {"connection_id":145776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":145776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:05:02] local.INFO: TCP Data received {"connection_id":145776,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:05:02] local.INFO: Processing buffer {"connection_id":145776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:05:02] local.INFO: IMEI packet received {"connection_id":145776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":145776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:05:03] local.INFO: TCP Data received {"connection_id":145776,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9aadb10012d77a34005f2a7180017010c29..."} 
[2026-08-01 01:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9aadb10012d77a34005f2a7180017010c29..."} 
[2026-08-01 01:05:03] local.INFO: Processing buffer {"connection_id":145776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9aadb10012d77a34005f2a7180017010c29..."} 
[2026-08-01 01:05:03] local.INFO: Packet analysis {"connection_id":145776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9aa"} 
[2026-08-01 01:05:03] local.INFO: Extracted packet for processing {"connection_id":145776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9aa"} 
[2026-08-01 01:05:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094759936001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 01:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785526410000,"timestamp_ms":1785526410000,"timestamp_seconds":1785526410,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9aadb10"} 
[2026-08-01 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-08-01 01:05: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-08-01 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":65,"data_length":795,"current_offset":136} 
[2026-08-01 01:05: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-08-01 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-08-01 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-08-01 01:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094759936001,"66":27517,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094759936001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:05:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:05:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 01:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094759936001,"power":27517,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 01:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":145776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:05:03] local.INFO: GPS data processed {"connection_id":145776,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:05:03] local.INFO: Acknowledgment sent {"connection_id":145776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:05:08] local.INFO: TCP Data received {"connection_id":145776,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9aadb10012d77a34005f2a7180017010c29..."} 
[2026-08-01 01:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9aadb10012d77a34005f2a7180017010c29..."} 
[2026-08-01 01:05:08] local.INFO: Processing buffer {"connection_id":145776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9aadb10012d77a34005f2a7180017010c29..."} 
[2026-08-01 01:05:08] local.INFO: Packet analysis {"connection_id":145776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9aa"} 
[2026-08-01 01:05:08] local.INFO: Extracted packet for processing {"connection_id":145776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9aa"} 
[2026-08-01 01:05:08] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 01:05: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-08-01 01:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094759936001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 01:05: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-08-01 01:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785526410000,"timestamp_ms":1785526410000,"timestamp_seconds":1785526410,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9aadb10"} 
[2026-08-01 01:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:05: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-08-01 01:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 01:05: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-08-01 01:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 01:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094759936001,"66":27517,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094759936001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:05:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:05:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 01:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094759936001,"power":27517,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 01:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":145776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:05:08] local.INFO: GPS data processed {"connection_id":145776,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:05:08] local.INFO: Acknowledgment sent {"connection_id":145776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:05:45] local.INFO: TCP Data received {"connection_id":145776,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9aadb10012d77a34005f2a7180017010c29..."} 
[2026-08-01 01:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9aadb10012d77a34005f2a7180017010c29..."} 
[2026-08-01 01:05:45] local.INFO: Processing buffer {"connection_id":145776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9aadb10012d77a34005f2a7180017010c29..."} 
[2026-08-01 01:05:45] local.INFO: Packet analysis {"connection_id":145776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9aa"} 
[2026-08-01 01:05:45] local.INFO: Extracted packet for processing {"connection_id":145776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9aa"} 
[2026-08-01 01:05:45] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 01:05: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-08-01 01:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094759936001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:05:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 01:05:45] 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-08-01 01:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785526410000,"timestamp_ms":1785526410000,"timestamp_seconds":1785526410,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9aadb10"} 
[2026-08-01 01:05:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:05: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-08-01 01:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 01:05:45] 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-08-01 01:05:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 01:05:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":145776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":145776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":145776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:05:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094759936001,"66":27517,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094759936001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:05:45] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:05:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:05:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 01:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094759936001,"power":27517,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 01:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":145776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:05:45] local.INFO: GPS data processed {"connection_id":145776,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:05:45] local.INFO: Acknowledgment sent {"connection_id":145776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:05:57] local.INFO: TCP Data received {"connection_id":145978,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:05:57] local.INFO: Processing buffer {"connection_id":145978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:05:57] local.INFO: IMEI packet received {"connection_id":145978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":145978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:06:02] local.INFO: TCP Data received {"connection_id":145978,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:06:02] local.INFO: Processing buffer {"connection_id":145978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:06:02] local.INFO: IMEI packet received {"connection_id":145978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":145978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:06:03] local.INFO: TCP Data received {"connection_id":145978,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9aadb10012d77a34005f2a7180017010c29..."} 
[2026-08-01 01:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9aadb10012d77a34005f2a7180017010c29..."} 
[2026-08-01 01:06:03] local.INFO: Processing buffer {"connection_id":145978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9aadb10012d77a34005f2a7180017010c29..."} 
[2026-08-01 01:06:03] local.INFO: Packet analysis {"connection_id":145978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9aa"} 
[2026-08-01 01:06:03] local.INFO: Extracted packet for processing {"connection_id":145978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9aa"} 
[2026-08-01 01:06:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 01:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 01:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094759936001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 01: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-08-01 01:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785526410000,"timestamp_ms":1785526410000,"timestamp_seconds":1785526410,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9aadb10"} 
[2026-08-01 01:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01: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-08-01 01:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 01:06: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-08-01 01: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-08-01 01:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094759936001,"66":27517,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094759936001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:06:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:06:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 01:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094759936001,"power":27517,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 01:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":145978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:06:03] local.INFO: GPS data processed {"connection_id":145978,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:06:03] local.INFO: Acknowledgment sent {"connection_id":145978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:06:35] local.INFO: TCP Data received {"connection_id":145978,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9aadb10012d77a34005f2a7180017010c29..."} 
[2026-08-01 01:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9aadb10012d77a34005f2a7180017010c29..."} 
[2026-08-01 01:06:35] local.INFO: Processing buffer {"connection_id":145978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9aadb10012d77a34005f2a7180017010c29..."} 
[2026-08-01 01:06:35] local.INFO: Packet analysis {"connection_id":145978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9aa"} 
[2026-08-01 01:06:35] local.INFO: Extracted packet for processing {"connection_id":145978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9aa"} 
[2026-08-01 01:06:35] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 01:06: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-08-01 01:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094759936001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 01:06: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-08-01 01:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785526410000,"timestamp_ms":1785526410000,"timestamp_seconds":1785526410,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9aadb10"} 
[2026-08-01 01:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:06: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-08-01 01:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 01:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 01:06:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 01:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":145978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":145978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":145978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094759936001,"66":27517,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094759936001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:06:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:06:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 01:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094759936001,"power":27517,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 01:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":145978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:06:35] local.INFO: GPS data processed {"connection_id":145978,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:06:35] local.INFO: Acknowledgment sent {"connection_id":145978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:06:57] local.INFO: TCP Data received {"connection_id":146999,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:06:57] local.INFO: Processing buffer {"connection_id":146999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:06:57] local.INFO: IMEI packet received {"connection_id":146999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":146999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:07:02] local.INFO: TCP Data received {"connection_id":146999,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:07:02] local.INFO: Processing buffer {"connection_id":146999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:07:02] local.INFO: IMEI packet received {"connection_id":146999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":146999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:07:03] local.INFO: TCP Data received {"connection_id":146999,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9aadb10012d77a34005f2a7180017010c29..."} 
[2026-08-01 01:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9aadb10012d77a34005f2a7180017010c29..."} 
[2026-08-01 01:07:03] local.INFO: Processing buffer {"connection_id":146999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9aadb10012d77a34005f2a7180017010c29..."} 
[2026-08-01 01:07:03] local.INFO: Packet analysis {"connection_id":146999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9aa"} 
[2026-08-01 01:07:03] local.INFO: Extracted packet for processing {"connection_id":146999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9aa"} 
[2026-08-01 01:07:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 01:07: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-08-01 01:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094759936001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 01: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-08-01 01:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785526410000,"timestamp_ms":1785526410000,"timestamp_seconds":1785526410,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9aadb10"} 
[2026-08-01 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-08-01 01:07: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-08-01 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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 01:07: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-08-01 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-08-01 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-08-01 01:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094759936001,"66":27517,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094759936001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:07:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:07:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 01:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094759936001,"power":27517,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 01:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":146999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:07:03] local.INFO: GPS data processed {"connection_id":146999,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:07:03] local.INFO: Acknowledgment sent {"connection_id":146999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:07:35] local.INFO: TCP Data received {"connection_id":146999,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9aadb10012d77a34005f2a7180017010c29..."} 
[2026-08-01 01:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9aadb10012d77a34005f2a7180017010c29..."} 
[2026-08-01 01:07:35] local.INFO: Processing buffer {"connection_id":146999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9aadb10012d77a34005f2a7180017010c29..."} 
[2026-08-01 01:07:35] local.INFO: Packet analysis {"connection_id":146999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9aa"} 
[2026-08-01 01:07:35] local.INFO: Extracted packet for processing {"connection_id":146999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9aa"} 
[2026-08-01 01:07:35] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 01:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 01:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094759936001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 01:07: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-08-01 01:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785526410000,"timestamp_ms":1785526410000,"timestamp_seconds":1785526410,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9aadb10"} 
[2026-08-01 01:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:07: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-08-01 01: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":65,"data_length":795,"current_offset":136} 
[2026-08-01 01:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 01: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-08-01 01:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094759936001,"66":27517,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094759936001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:07:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:07:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 01:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094759936001,"power":27517,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 01:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":146999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:07:35] local.INFO: GPS data processed {"connection_id":146999,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:07:35] local.INFO: Acknowledgment sent {"connection_id":146999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:07:57] local.INFO: TCP Data received {"connection_id":145777,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:07:57] local.INFO: Processing buffer {"connection_id":145777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:07:57] local.INFO: IMEI packet received {"connection_id":145777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":145777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:08:02] local.INFO: TCP Data received {"connection_id":145777,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:08:02] local.INFO: Processing buffer {"connection_id":145777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:08:02] local.INFO: IMEI packet received {"connection_id":145777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":145777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:08:03] local.INFO: TCP Data received {"connection_id":145777,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9aadb10012d77a34005f2a7180017010c29..."} 
[2026-08-01 01:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9aadb10012d77a34005f2a7180017010c29..."} 
[2026-08-01 01:08:03] local.INFO: Processing buffer {"connection_id":145777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9aadb10012d77a34005f2a7180017010c29..."} 
[2026-08-01 01:08:03] local.INFO: Packet analysis {"connection_id":145777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9aa"} 
[2026-08-01 01:08:03] local.INFO: Extracted packet for processing {"connection_id":145777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9aa"} 
[2026-08-01 01:08:03] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 01:08: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-08-01 01:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094759936001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 01: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-08-01 01:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785526410000,"timestamp_ms":1785526410000,"timestamp_seconds":1785526410,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9aadb10"} 
[2026-08-01 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-08-01 01:08: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-08-01 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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 01:08: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-08-01 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-08-01 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-08-01 01:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094759936001,"66":27517,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094759936001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:08:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:08:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 01:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094759936001,"power":27517,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 01:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":145777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:08:03] local.INFO: GPS data processed {"connection_id":145777,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:08:03] local.INFO: Acknowledgment sent {"connection_id":145777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:08:36] local.INFO: TCP Data received {"connection_id":145777,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9aadb10012d77a34005f2a7180017010c29..."} 
[2026-08-01 01:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9aadb10012d77a34005f2a7180017010c29..."} 
[2026-08-01 01:08:36] local.INFO: Processing buffer {"connection_id":145777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9aadb10012d77a34005f2a7180017010c29..."} 
[2026-08-01 01:08:36] local.INFO: Packet analysis {"connection_id":145777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9aa"} 
[2026-08-01 01:08:36] local.INFO: Extracted packet for processing {"connection_id":145777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9aa"} 
[2026-08-01 01:08:36] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 01:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 01:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094759936001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 01:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 01:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785526410000,"timestamp_ms":1785526410000,"timestamp_seconds":1785526410,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9aadb10"} 
[2026-08-01 01:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:08: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-08-01 01:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 01:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 01:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 01:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094759936001,"66":27517,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094759936001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:08:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:08:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 01:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094759936001,"power":27517,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 01:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":145777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:08:36] local.INFO: GPS data processed {"connection_id":145777,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:08:36] local.INFO: Acknowledgment sent {"connection_id":145777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:09:02] local.INFO: TCP Data received {"connection_id":145979,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:09:02] local.INFO: Processing buffer {"connection_id":145979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:09:02] local.INFO: IMEI packet received {"connection_id":145979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":145979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:09:07] local.INFO: TCP Data received {"connection_id":145979,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:09:07] local.INFO: Processing buffer {"connection_id":145979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:09:07] local.INFO: IMEI packet received {"connection_id":145979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":145979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:09:10] local.INFO: TCP Data received {"connection_id":145979,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9aadb10012d77a34005f2a7180017010c29..."} 
[2026-08-01 01:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9aadb10012d77a34005f2a7180017010c29..."} 
[2026-08-01 01:09:10] local.INFO: Processing buffer {"connection_id":145979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9aadb10012d77a34005f2a7180017010c29..."} 
[2026-08-01 01:09:10] local.INFO: Packet analysis {"connection_id":145979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9aa"} 
[2026-08-01 01:09:10] local.INFO: Extracted packet for processing {"connection_id":145979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9aa"} 
[2026-08-01 01:09:10] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 01:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 01:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094759936001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 01:09: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-08-01 01:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785526410000,"timestamp_ms":1785526410000,"timestamp_seconds":1785526410,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9aadb10"} 
[2026-08-01 01:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:09: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-08-01 01:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 01:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 01: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-08-01 01:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094759936001,"66":27517,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094759936001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:09:10] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:09:10] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 01:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094759936001,"power":27517,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 01:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":145979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:09:10] local.INFO: GPS data processed {"connection_id":145979,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:09:10] local.INFO: Acknowledgment sent {"connection_id":145979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:09:12] local.INFO: TCP Data received {"connection_id":145979,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9aadb10012d77a34005f2a7180017010c29..."} 
[2026-08-01 01:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9aadb10012d77a34005f2a7180017010c29..."} 
[2026-08-01 01:09:12] local.INFO: Processing buffer {"connection_id":145979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9aadb10012d77a34005f2a7180017010c29..."} 
[2026-08-01 01:09:12] local.INFO: Packet analysis {"connection_id":145979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9aa"} 
[2026-08-01 01:09:12] local.INFO: Extracted packet for processing {"connection_id":145979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9aa"} 
[2026-08-01 01:09:12] local.INFO: GPS Element Parsed {"raw_longitude":762815296,"raw_latitude":99788568,"longitude_deg":76.2815296,"latitude_deg":9.9788568,"altitude":23,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d77a340","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-08-01 01:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 01:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094759936001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 01:09:12] 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-08-01 01:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785526410000,"timestamp_ms":1785526410000,"timestamp_seconds":1785526410,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9aadb10"} 
[2026-08-01 01:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 01:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 01:09:12] 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-08-01 01:09:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 01:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":145979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":145979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":145979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094759936001,"66":27517,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094759936001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:09:12] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:09:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 01:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094759936001,"power":27517,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 01:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":145979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:09:12] local.INFO: GPS data processed {"connection_id":145979,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:09:12] local.INFO: Acknowledgment sent {"connection_id":145979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:09:57] local.INFO: TCP Data received {"connection_id":145778,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:09:57] local.INFO: Processing buffer {"connection_id":145778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:09:57] local.INFO: IMEI packet received {"connection_id":145778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":145778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:10:02] local.INFO: TCP Data received {"connection_id":145778,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:10:02] local.INFO: Processing buffer {"connection_id":145778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:10:02] local.INFO: IMEI packet received {"connection_id":145778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":145778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:10:03] local.INFO: TCP Data received {"connection_id":145778,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9af8278012d779f4005f2a7500015011329..."} 
[2026-08-01 01:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9af8278012d779f4005f2a7500015011329..."} 
[2026-08-01 01:10:03] local.INFO: Processing buffer {"connection_id":145778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9af8278012d779f4005f2a7500015011329..."} 
[2026-08-01 01:10:03] local.INFO: Packet analysis {"connection_id":145778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9af"} 
[2026-08-01 01:10:03] local.INFO: Extracted packet for processing {"connection_id":145778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9af"} 
[2026-08-01 01:10:03] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094760960001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 01: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-08-01 01:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785526715000,"timestamp_ms":1785526715000,"timestamp_seconds":1785526715,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9af8278"} 
[2026-08-01 01:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:10: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-08-01 01: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":125,"data_length":795,"current_offset":136} 
[2026-08-01 01:10:03] 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-08-01 01: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-08-01 01:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094760960001,"66":25625,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094760960001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:10:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:10:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 01:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094760960001,"power":25625,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 01:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":145778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:10:03] local.INFO: GPS data processed {"connection_id":145778,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:10:03] local.INFO: Acknowledgment sent {"connection_id":145778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:10:34] local.INFO: TCP Data received {"connection_id":145778,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9af8278012d779f4005f2a7500015011329..."} 
[2026-08-01 01:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9af8278012d779f4005f2a7500015011329..."} 
[2026-08-01 01:10:34] local.INFO: Processing buffer {"connection_id":145778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9af8278012d779f4005f2a7500015011329..."} 
[2026-08-01 01:10:34] local.INFO: Packet analysis {"connection_id":145778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9af"} 
[2026-08-01 01:10:34] local.INFO: Extracted packet for processing {"connection_id":145778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9af"} 
[2026-08-01 01:10:34] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094760960001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 01:10:34] 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-08-01 01:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785526715000,"timestamp_ms":1785526715000,"timestamp_seconds":1785526715,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9af8278"} 
[2026-08-01 01:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:10: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-08-01 01: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-01 01:10:34] 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-08-01 01: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-08-01 01:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094760960001,"66":25625,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094760960001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:10:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:10:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 01:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094760960001,"power":25625,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 01:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":145778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:10:34] local.INFO: GPS data processed {"connection_id":145778,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:10:34] local.INFO: Acknowledgment sent {"connection_id":145778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:10:57] local.INFO: TCP Data received {"connection_id":148316,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:10:57] local.INFO: Processing buffer {"connection_id":148316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:10:57] local.INFO: IMEI packet received {"connection_id":148316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":148316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:11:02] local.INFO: TCP Data received {"connection_id":148316,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:11:02] local.INFO: Processing buffer {"connection_id":148316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:11:02] local.INFO: IMEI packet received {"connection_id":148316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":148316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:11:03] local.INFO: TCP Data received {"connection_id":148316,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9af8278012d779f4005f2a7500015011329..."} 
[2026-08-01 01:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9af8278012d779f4005f2a7500015011329..."} 
[2026-08-01 01:11:03] local.INFO: Processing buffer {"connection_id":148316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9af8278012d779f4005f2a7500015011329..."} 
[2026-08-01 01:11:03] local.INFO: Packet analysis {"connection_id":148316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9af"} 
[2026-08-01 01:11:03] local.INFO: Extracted packet for processing {"connection_id":148316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9af"} 
[2026-08-01 01:11:03] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 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-08-01 01:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094760960001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 01: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-08-01 01:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785526715000,"timestamp_ms":1785526715000,"timestamp_seconds":1785526715,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9af8278"} 
[2026-08-01 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-08-01 01:11: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-08-01 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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-01 01:11:03] 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-08-01 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-08-01 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-08-01 01:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094760960001,"66":25625,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094760960001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:11:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:11:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 01:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094760960001,"power":25625,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 01:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":148316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:11:03] local.INFO: GPS data processed {"connection_id":148316,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:11:03] local.INFO: Acknowledgment sent {"connection_id":148316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:11:34] local.INFO: TCP Data received {"connection_id":148316,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9af8278012d779f4005f2a7500015011329..."} 
[2026-08-01 01:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9af8278012d779f4005f2a7500015011329..."} 
[2026-08-01 01:11:34] local.INFO: Processing buffer {"connection_id":148316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9af8278012d779f4005f2a7500015011329..."} 
[2026-08-01 01:11:34] local.INFO: Packet analysis {"connection_id":148316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9af"} 
[2026-08-01 01:11:34] local.INFO: Extracted packet for processing {"connection_id":148316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9af"} 
[2026-08-01 01:11:34] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094760960001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 01:11:34] 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-08-01 01:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785526715000,"timestamp_ms":1785526715000,"timestamp_seconds":1785526715,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9af8278"} 
[2026-08-01 01:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:11: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-08-01 01: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-01 01:11:34] 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-08-01 01: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-08-01 01:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094760960001,"66":25625,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094760960001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:11:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:11:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 01:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094760960001,"power":25625,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 01:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":148316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:11:35] local.INFO: GPS data processed {"connection_id":148316,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:11:35] local.INFO: Acknowledgment sent {"connection_id":148316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:12:02] local.INFO: TCP Data received {"connection_id":147000,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:12:02] local.INFO: Processing buffer {"connection_id":147000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:12:02] local.INFO: IMEI packet received {"connection_id":147000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":147000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:12:07] local.INFO: TCP Data received {"connection_id":147000,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:12:07] local.INFO: Processing buffer {"connection_id":147000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:12:07] local.INFO: IMEI packet received {"connection_id":147000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":147000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:12:08] local.INFO: TCP Data received {"connection_id":147000,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9af8278012d779f4005f2a7500015011329..."} 
[2026-08-01 01:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9af8278012d779f4005f2a7500015011329..."} 
[2026-08-01 01:12:08] local.INFO: Processing buffer {"connection_id":147000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9af8278012d779f4005f2a7500015011329..."} 
[2026-08-01 01:12:08] local.INFO: Packet analysis {"connection_id":147000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9af"} 
[2026-08-01 01:12:08] local.INFO: Extracted packet for processing {"connection_id":147000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9af"} 
[2026-08-01 01:12:08] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 01:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094760960001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 01:12: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-08-01 01:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785526715000,"timestamp_ms":1785526715000,"timestamp_seconds":1785526715,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9af8278"} 
[2026-08-01 01:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:12: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-08-01 01:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-01 01:12:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 01:12:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 01:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":147000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":147000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":147000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094760960001,"66":25625,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094760960001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:12:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:12:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 01:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094760960001,"power":25625,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 01:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":147000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:12:08] local.INFO: GPS data processed {"connection_id":147000,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:12:08] local.INFO: Acknowledgment sent {"connection_id":147000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:12:13] local.INFO: TCP Data received {"connection_id":147000,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9af8278012d779f4005f2a7500015011329..."} 
[2026-08-01 01:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9af8278012d779f4005f2a7500015011329..."} 
[2026-08-01 01:12:13] local.INFO: Processing buffer {"connection_id":147000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9af8278012d779f4005f2a7500015011329..."} 
[2026-08-01 01:12:13] local.INFO: Packet analysis {"connection_id":147000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9af"} 
[2026-08-01 01:12:13] local.INFO: Extracted packet for processing {"connection_id":147000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9af"} 
[2026-08-01 01:12:13] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094760960001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:12:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 01:12:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 01:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785526715000,"timestamp_ms":1785526715000,"timestamp_seconds":1785526715,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9af8278"} 
[2026-08-01 01:12:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:12:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 01: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-01 01:12:13] 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-08-01 01:12: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-08-01 01:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":147000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":147000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":147000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:12:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094760960001,"66":25625,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094760960001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:12:13] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:12:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:12:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 01:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094760960001,"power":25625,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 01:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":147000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:12:13] local.INFO: GPS data processed {"connection_id":147000,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:12:13] local.INFO: Acknowledgment sent {"connection_id":147000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:12:17] local.INFO: TCP Data received {"connection_id":147000,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9af8278012d779f4005f2a7500015011329..."} 
[2026-08-01 01:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9af8278012d779f4005f2a7500015011329..."} 
[2026-08-01 01:12:17] local.INFO: Processing buffer {"connection_id":147000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9af8278012d779f4005f2a7500015011329..."} 
[2026-08-01 01:12:17] local.INFO: Packet analysis {"connection_id":147000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9af"} 
[2026-08-01 01:12:17] local.INFO: Extracted packet for processing {"connection_id":147000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9af"} 
[2026-08-01 01:12:17] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094760960001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 01:12:17] 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-08-01 01:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785526715000,"timestamp_ms":1785526715000,"timestamp_seconds":1785526715,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9af8278"} 
[2026-08-01 01:12:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 01: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-01 01:12:17] 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-08-01 01: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-08-01 01:12:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":147000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":147000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":147000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094760960001,"66":25625,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094760960001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:12:17] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:12:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 01:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094760960001,"power":25625,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 01:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":147000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:12:17] local.INFO: GPS data processed {"connection_id":147000,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:12:17] local.INFO: Acknowledgment sent {"connection_id":147000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:12:57] local.INFO: TCP Data received {"connection_id":145779,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:12:57] local.INFO: Processing buffer {"connection_id":145779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:12:57] local.INFO: IMEI packet received {"connection_id":145779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":145779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:13:02] local.INFO: TCP Data received {"connection_id":145779,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:13:02] local.INFO: Processing buffer {"connection_id":145779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:13:02] local.INFO: IMEI packet received {"connection_id":145779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":145779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:13:03] local.INFO: TCP Data received {"connection_id":145779,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9af8278012d779f4005f2a7500015011329..."} 
[2026-08-01 01:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9af8278012d779f4005f2a7500015011329..."} 
[2026-08-01 01:13:03] local.INFO: Processing buffer {"connection_id":145779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9af8278012d779f4005f2a7500015011329..."} 
[2026-08-01 01:13:03] local.INFO: Packet analysis {"connection_id":145779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9af"} 
[2026-08-01 01:13:03] local.INFO: Extracted packet for processing {"connection_id":145779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9af"} 
[2026-08-01 01:13:03] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 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-08-01 01:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094760960001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 01: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-08-01 01:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785526715000,"timestamp_ms":1785526715000,"timestamp_seconds":1785526715,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9af8278"} 
[2026-08-01 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-08-01 01: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-08-01 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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-01 01:13:03] 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-08-01 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-08-01 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-08-01 01:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094760960001,"66":25625,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094760960001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:13:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:13:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 01:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094760960001,"power":25625,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 01:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":145779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:13:03] local.INFO: GPS data processed {"connection_id":145779,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:13:03] local.INFO: Acknowledgment sent {"connection_id":145779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:13:35] local.INFO: TCP Data received {"connection_id":145779,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9af8278012d779f4005f2a7500015011329..."} 
[2026-08-01 01:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9af8278012d779f4005f2a7500015011329..."} 
[2026-08-01 01:13:35] local.INFO: Processing buffer {"connection_id":145779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9af8278012d779f4005f2a7500015011329..."} 
[2026-08-01 01:13:35] local.INFO: Packet analysis {"connection_id":145779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9af"} 
[2026-08-01 01:13:35] local.INFO: Extracted packet for processing {"connection_id":145779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9af"} 
[2026-08-01 01:13:35] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094760960001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 01:13: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-08-01 01:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785526715000,"timestamp_ms":1785526715000,"timestamp_seconds":1785526715,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9af8278"} 
[2026-08-01 01:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:13: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-08-01 01: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-01 01:13:35] 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-08-01 01: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-08-01 01:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":145779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":145779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":145779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094760960001,"66":25625,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094760960001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:13:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:13:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 01:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094760960001,"power":25625,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 01:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":145779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:13:35] local.INFO: GPS data processed {"connection_id":145779,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:13:35] local.INFO: Acknowledgment sent {"connection_id":145779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:13:57] local.INFO: TCP Data received {"connection_id":148317,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:13:57] local.INFO: Processing buffer {"connection_id":148317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:13:57] local.INFO: IMEI packet received {"connection_id":148317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":148317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:14:02] local.INFO: TCP Data received {"connection_id":148317,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:14:02] local.INFO: Processing buffer {"connection_id":148317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:14:02] local.INFO: IMEI packet received {"connection_id":148317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":148317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:14:05] local.INFO: TCP Data received {"connection_id":148317,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9af8278012d779f4005f2a7500015011329..."} 
[2026-08-01 01:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9af8278012d779f4005f2a7500015011329..."} 
[2026-08-01 01:14:05] local.INFO: Processing buffer {"connection_id":148317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9af8278012d779f4005f2a7500015011329..."} 
[2026-08-01 01:14:05] local.INFO: Packet analysis {"connection_id":148317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9af"} 
[2026-08-01 01:14:05] local.INFO: Extracted packet for processing {"connection_id":148317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9af"} 
[2026-08-01 01:14:05] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094760960001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620804506007312384,"note":"Value kept but may cause issues"} 
[2026-08-01 01:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 01:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785526715000,"timestamp_ms":1785526715000,"timestamp_seconds":1785526715,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9af8278"} 
[2026-08-01 01:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:14: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-08-01 01:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-01 01:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 01: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-08-01 01:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094760960001,"66":25625,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620804506007312384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094760960001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:14:05] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:14:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620804506007312384,"description":"Unknown IO ID 45"} 
[2026-08-01 01:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094760960001,"power":25625,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620804506007312384}} 
[2026-08-01 01:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":148317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:14:05] local.INFO: GPS data processed {"connection_id":148317,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:14:05] local.INFO: Acknowledgment sent {"connection_id":148317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:14:36] local.INFO: TCP Data received {"connection_id":148317,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9b41a40012d779f4005f2a7500015011329..."} 
[2026-08-01 01:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9b41a40012d779f4005f2a7500015011329..."} 
[2026-08-01 01:14:36] local.INFO: Processing buffer {"connection_id":148317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9b41a40012d779f4005f2a7500015011329..."} 
[2026-08-01 01:14:36] local.INFO: Packet analysis {"connection_id":148317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9b4"} 
[2026-08-01 01:14:36] local.INFO: Extracted packet for processing {"connection_id":148317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9b4"} 
[2026-08-01 01:14:36] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094839040001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 01:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785527016000,"timestamp_ms":1785527016000,"timestamp_seconds":1785527016,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9b41a40"} 
[2026-08-01 01:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:14: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-08-01 01: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 01:14: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-08-01 01: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-08-01 01:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094839040001,"66":25549,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094839040001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:14:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:14:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094839040001,"power":25549,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":148317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:14:36] local.INFO: GPS data processed {"connection_id":148317,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:14:36] local.INFO: Acknowledgment sent {"connection_id":148317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:15:02] local.INFO: TCP Data received {"connection_id":148318,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:15:02] local.INFO: Processing buffer {"connection_id":148318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:15:02] local.INFO: IMEI packet received {"connection_id":148318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":148318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:15:07] local.INFO: TCP Data received {"connection_id":148318,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:15:07] local.INFO: Processing buffer {"connection_id":148318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:15:07] local.INFO: IMEI packet received {"connection_id":148318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":148318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:15:08] local.INFO: TCP Data received {"connection_id":148318,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9b41a40012d779f4005f2a7500015011329..."} 
[2026-08-01 01:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9b41a40012d779f4005f2a7500015011329..."} 
[2026-08-01 01:15:08] local.INFO: Processing buffer {"connection_id":148318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9b41a40012d779f4005f2a7500015011329..."} 
[2026-08-01 01:15:08] local.INFO: Packet analysis {"connection_id":148318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9b4"} 
[2026-08-01 01:15:08] local.INFO: Extracted packet for processing {"connection_id":148318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9b4"} 
[2026-08-01 01:15:08] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 01:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094839040001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01:15: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-08-01 01:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785527016000,"timestamp_ms":1785527016000,"timestamp_seconds":1785527016,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9b41a40"} 
[2026-08-01 01:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 01:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 01:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 01:15:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 01:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":148318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":148318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":148318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094839040001,"66":25549,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094839040001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:15:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:15:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094839040001,"power":25549,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":148318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:15:08] local.INFO: GPS data processed {"connection_id":148318,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:15:08] local.INFO: Acknowledgment sent {"connection_id":148318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:15:13] local.INFO: TCP Data received {"connection_id":148318,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9b41a40012d779f4005f2a7500015011329..."} 
[2026-08-01 01:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9b41a40012d779f4005f2a7500015011329..."} 
[2026-08-01 01:15:13] local.INFO: Processing buffer {"connection_id":148318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9b41a40012d779f4005f2a7500015011329..."} 
[2026-08-01 01:15:13] local.INFO: Packet analysis {"connection_id":148318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9b4"} 
[2026-08-01 01:15:13] local.INFO: Extracted packet for processing {"connection_id":148318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9b4"} 
[2026-08-01 01:15:13] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 01:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094839040001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:15:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 01:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785527016000,"timestamp_ms":1785527016000,"timestamp_seconds":1785527016,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9b41a40"} 
[2026-08-01 01:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:15:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 01:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 01:15:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 01:15:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 01:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":148318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":148318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":148318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094839040001,"66":25549,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094839040001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:15:13] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:15:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:15:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094839040001,"power":25549,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":148318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:15:13] local.INFO: GPS data processed {"connection_id":148318,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:15:13] local.INFO: Acknowledgment sent {"connection_id":148318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:15:57] local.INFO: TCP Data received {"connection_id":148319,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:15:57] local.INFO: Processing buffer {"connection_id":148319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:15:57] local.INFO: IMEI packet received {"connection_id":148319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":148319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:16:02] local.INFO: TCP Data received {"connection_id":148319,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:16:02] local.INFO: Processing buffer {"connection_id":148319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:16:02] local.INFO: IMEI packet received {"connection_id":148319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":148319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:16:03] local.INFO: TCP Data received {"connection_id":148319,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9b41a40012d779f4005f2a7500015011329..."} 
[2026-08-01 01:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9b41a40012d779f4005f2a7500015011329..."} 
[2026-08-01 01:16:03] local.INFO: Processing buffer {"connection_id":148319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9b41a40012d779f4005f2a7500015011329..."} 
[2026-08-01 01:16:03] local.INFO: Packet analysis {"connection_id":148319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9b4"} 
[2026-08-01 01:16:03] local.INFO: Extracted packet for processing {"connection_id":148319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9b4"} 
[2026-08-01 01:16:03] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094839040001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01:16: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-08-01 01:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785527016000,"timestamp_ms":1785527016000,"timestamp_seconds":1785527016,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9b41a40"} 
[2026-08-01 01:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:16: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-08-01 01: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 01:16: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-08-01 01: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-08-01 01:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094839040001,"66":25549,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094839040001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:16:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:16:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094839040001,"power":25549,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":148319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:16:03] local.INFO: GPS data processed {"connection_id":148319,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:16:03] local.INFO: Acknowledgment sent {"connection_id":148319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:16:34] local.INFO: TCP Data received {"connection_id":148319,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9b41a40012d779f4005f2a7500015011329..."} 
[2026-08-01 01:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9b41a40012d779f4005f2a7500015011329..."} 
[2026-08-01 01:16:34] local.INFO: Processing buffer {"connection_id":148319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9b41a40012d779f4005f2a7500015011329..."} 
[2026-08-01 01:16:34] local.INFO: Packet analysis {"connection_id":148319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9b4"} 
[2026-08-01 01:16:34] local.INFO: Extracted packet for processing {"connection_id":148319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9b4"} 
[2026-08-01 01:16:34] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094839040001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01:16:34] 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-08-01 01:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785527016000,"timestamp_ms":1785527016000,"timestamp_seconds":1785527016,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9b41a40"} 
[2026-08-01 01:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01: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-08-01 01: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":25,"data_length":795,"current_offset":136} 
[2026-08-01 01:16: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-08-01 01: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-08-01 01:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094839040001,"66":25549,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094839040001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:16:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:16:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094839040001,"power":25549,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":148319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:16:34] local.INFO: GPS data processed {"connection_id":148319,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:16:34] local.INFO: Acknowledgment sent {"connection_id":148319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:16:57] local.INFO: TCP Data received {"connection_id":145782,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:16:57] local.INFO: Processing buffer {"connection_id":145782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:16:57] local.INFO: IMEI packet received {"connection_id":145782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":145782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:17:02] local.INFO: TCP Data received {"connection_id":145782,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:17:02] local.INFO: Processing buffer {"connection_id":145782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:17:02] local.INFO: IMEI packet received {"connection_id":145782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":145782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:17:03] local.INFO: TCP Data received {"connection_id":145782,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9b41a40012d779f4005f2a7500015011329..."} 
[2026-08-01 01:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9b41a40012d779f4005f2a7500015011329..."} 
[2026-08-01 01:17:03] local.INFO: Processing buffer {"connection_id":145782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9b41a40012d779f4005f2a7500015011329..."} 
[2026-08-01 01:17:03] local.INFO: Packet analysis {"connection_id":145782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9b4"} 
[2026-08-01 01:17:03] local.INFO: Extracted packet for processing {"connection_id":145782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9b4"} 
[2026-08-01 01:17:03] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 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-08-01 01:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094839040001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01:17: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-08-01 01:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785527016000,"timestamp_ms":1785527016000,"timestamp_seconds":1785527016,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9b41a40"} 
[2026-08-01 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-08-01 01:17: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-08-01 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":25,"data_length":795,"current_offset":136} 
[2026-08-01 01:17: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-08-01 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-08-01 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-08-01 01:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094839040001,"66":25549,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094839040001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:17:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:17:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094839040001,"power":25549,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":145782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:17:03] local.INFO: GPS data processed {"connection_id":145782,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:17:03] local.INFO: Acknowledgment sent {"connection_id":145782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:17:35] local.INFO: TCP Data received {"connection_id":145782,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9b41a40012d779f4005f2a7500015011329..."} 
[2026-08-01 01:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9b41a40012d779f4005f2a7500015011329..."} 
[2026-08-01 01:17:35] local.INFO: Processing buffer {"connection_id":145782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9b41a40012d779f4005f2a7500015011329..."} 
[2026-08-01 01:17:35] local.INFO: Packet analysis {"connection_id":145782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9b4"} 
[2026-08-01 01:17:35] local.INFO: Extracted packet for processing {"connection_id":145782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9b4"} 
[2026-08-01 01:17:35] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094839040001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:17:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01:17: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-08-01 01:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785527016000,"timestamp_ms":1785527016000,"timestamp_seconds":1785527016,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9b41a40"} 
[2026-08-01 01:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:17:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 01: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 01:17:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 01: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-08-01 01:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":145782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":145782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":145782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:17:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094839040001,"66":25549,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094839040001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:17:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:17:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:17:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094839040001,"power":25549,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":145782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:17:35] local.INFO: GPS data processed {"connection_id":145782,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:17:35] local.INFO: Acknowledgment sent {"connection_id":145782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:17:57] local.INFO: TCP Data received {"connection_id":147001,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:17:57] local.INFO: Processing buffer {"connection_id":147001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:17:57] local.INFO: IMEI packet received {"connection_id":147001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":147001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:18:02] local.INFO: TCP Data received {"connection_id":147001,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:18:02] local.INFO: Processing buffer {"connection_id":147001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:18:02] local.INFO: IMEI packet received {"connection_id":147001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":147001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:18:03] local.INFO: TCP Data received {"connection_id":147001,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9b41a40012d779f4005f2a7500015011329..."} 
[2026-08-01 01:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9b41a40012d779f4005f2a7500015011329..."} 
[2026-08-01 01:18:03] local.INFO: Processing buffer {"connection_id":147001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9b41a40012d779f4005f2a7500015011329..."} 
[2026-08-01 01:18:03] local.INFO: Packet analysis {"connection_id":147001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9b4"} 
[2026-08-01 01:18:03] local.INFO: Extracted packet for processing {"connection_id":147001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9b4"} 
[2026-08-01 01:18:03] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094839040001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01: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-08-01 01:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785527016000,"timestamp_ms":1785527016000,"timestamp_seconds":1785527016,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9b41a40"} 
[2026-08-01 01:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:18: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-08-01 01: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-08-01 01: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-08-01 01: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-08-01 01:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094839040001,"66":25549,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094839040001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:18:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:18:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094839040001,"power":25549,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":147001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:18:03] local.INFO: GPS data processed {"connection_id":147001,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:18:03] local.INFO: Acknowledgment sent {"connection_id":147001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:18:34] local.INFO: TCP Data received {"connection_id":147001,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9b41a40012d779f4005f2a7500015011329..."} 
[2026-08-01 01:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9b41a40012d779f4005f2a7500015011329..."} 
[2026-08-01 01:18:34] local.INFO: Processing buffer {"connection_id":147001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9b41a40012d779f4005f2a7500015011329..."} 
[2026-08-01 01:18:34] local.INFO: Packet analysis {"connection_id":147001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9b4"} 
[2026-08-01 01:18:34] local.INFO: Extracted packet for processing {"connection_id":147001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9b4"} 
[2026-08-01 01:18:34] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094839040001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01:18:34] 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-08-01 01:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785527016000,"timestamp_ms":1785527016000,"timestamp_seconds":1785527016,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9b41a40"} 
[2026-08-01 01:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:18: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-08-01 01: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 01:18: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-08-01 01: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-08-01 01:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094839040001,"66":25549,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094839040001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:18:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:18:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094839040001,"power":25549,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":147001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:18:34] local.INFO: GPS data processed {"connection_id":147001,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:18:34] local.INFO: Acknowledgment sent {"connection_id":147001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:18:57] local.INFO: TCP Data received {"connection_id":145980,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:18:57] local.INFO: Processing buffer {"connection_id":145980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:18:57] local.INFO: IMEI packet received {"connection_id":145980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":145980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:19:02] local.INFO: TCP Data received {"connection_id":145980,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:19:02] local.INFO: Processing buffer {"connection_id":145980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:19:02] local.INFO: IMEI packet received {"connection_id":145980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":145980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:19:03] local.INFO: TCP Data received {"connection_id":145980,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9b41a40012d779f4005f2a7500015011329..."} 
[2026-08-01 01:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9b41a40012d779f4005f2a7500015011329..."} 
[2026-08-01 01:19:03] local.INFO: Processing buffer {"connection_id":145980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9b41a40012d779f4005f2a7500015011329..."} 
[2026-08-01 01:19:03] local.INFO: Packet analysis {"connection_id":145980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9b4"} 
[2026-08-01 01:19:03] local.INFO: Extracted packet for processing {"connection_id":145980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9b4"} 
[2026-08-01 01:19:03] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 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-08-01 01:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094839040001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01: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-08-01 01:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785527016000,"timestamp_ms":1785527016000,"timestamp_seconds":1785527016,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9b41a40"} 
[2026-08-01 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-08-01 01:19: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-08-01 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":25,"data_length":795,"current_offset":136} 
[2026-08-01 01: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-08-01 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-08-01 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-08-01 01:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094839040001,"66":25549,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094839040001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:19:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:19:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094839040001,"power":25549,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":145980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:19:03] local.INFO: GPS data processed {"connection_id":145980,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:19:03] local.INFO: Acknowledgment sent {"connection_id":145980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:19:34] local.INFO: TCP Data received {"connection_id":145980,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9b8b208012d779f4005f2a7500015011328..."} 
[2026-08-01 01:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9b8b208012d779f4005f2a7500015011328..."} 
[2026-08-01 01:19:34] local.INFO: Processing buffer {"connection_id":145980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9b8b208012d779f4005f2a7500015011328..."} 
[2026-08-01 01:19:34] local.INFO: Packet analysis {"connection_id":145980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9b8"} 
[2026-08-01 01:19:34] local.INFO: Extracted packet for processing {"connection_id":145980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9b8"} 
[2026-08-01 01:19:34] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094916096001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01:19:34] 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-08-01 01:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785527317000,"timestamp_ms":1785527317000,"timestamp_seconds":1785527317,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9b8b208"} 
[2026-08-01 01:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:19: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-08-01 01: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-01 01:19: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-08-01 01: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-08-01 01:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094916096001,"66":25473,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094916096001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:19:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:19:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094916096001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":145980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:19:34] local.INFO: GPS data processed {"connection_id":145980,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:19:34] local.INFO: Acknowledgment sent {"connection_id":145980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:19:57] local.INFO: TCP Data received {"connection_id":145783,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:19:57] local.INFO: Processing buffer {"connection_id":145783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:19:57] local.INFO: IMEI packet received {"connection_id":145783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":145783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:20:02] local.INFO: TCP Data received {"connection_id":145783,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:20:02] local.INFO: Processing buffer {"connection_id":145783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:20:02] local.INFO: IMEI packet received {"connection_id":145783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":145783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:20:03] local.INFO: TCP Data received {"connection_id":145783,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9b8b208012d779f4005f2a7500015011328..."} 
[2026-08-01 01:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9b8b208012d779f4005f2a7500015011328..."} 
[2026-08-01 01:20:03] local.INFO: Processing buffer {"connection_id":145783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9b8b208012d779f4005f2a7500015011328..."} 
[2026-08-01 01:20:03] local.INFO: Packet analysis {"connection_id":145783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9b8"} 
[2026-08-01 01:20:03] local.INFO: Extracted packet for processing {"connection_id":145783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9b8"} 
[2026-08-01 01:20:03] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 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-08-01 01:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094916096001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01:20: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-08-01 01:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785527317000,"timestamp_ms":1785527317000,"timestamp_seconds":1785527317,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9b8b208"} 
[2026-08-01 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-08-01 01:20: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-08-01 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-01 01:20: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-08-01 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-08-01 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-08-01 01:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094916096001,"66":25473,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094916096001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:20:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:20:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094916096001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":145783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:20:03] local.INFO: GPS data processed {"connection_id":145783,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:20:03] local.INFO: Acknowledgment sent {"connection_id":145783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:20:34] local.INFO: TCP Data received {"connection_id":145783,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9b8b208012d779f4005f2a7500015011328..."} 
[2026-08-01 01:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9b8b208012d779f4005f2a7500015011328..."} 
[2026-08-01 01:20:34] local.INFO: Processing buffer {"connection_id":145783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9b8b208012d779f4005f2a7500015011328..."} 
[2026-08-01 01:20:34] local.INFO: Packet analysis {"connection_id":145783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9b8"} 
[2026-08-01 01:20:34] local.INFO: Extracted packet for processing {"connection_id":145783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9b8"} 
[2026-08-01 01:20:34] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094916096001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01:20:34] 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-08-01 01:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785527317000,"timestamp_ms":1785527317000,"timestamp_seconds":1785527317,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9b8b208"} 
[2026-08-01 01:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01: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-08-01 01: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-08-01 01: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-08-01 01: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-08-01 01:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094916096001,"66":25473,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094916096001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:20:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:20:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094916096001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":145783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:20:34] local.INFO: GPS data processed {"connection_id":145783,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:20:34] local.INFO: Acknowledgment sent {"connection_id":145783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:20:57] local.INFO: TCP Data received {"connection_id":147002,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:20:57] local.INFO: Processing buffer {"connection_id":147002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:20:57] local.INFO: IMEI packet received {"connection_id":147002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":147002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:21:02] local.INFO: TCP Data received {"connection_id":147002,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:21:02] local.INFO: Processing buffer {"connection_id":147002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:21:02] local.INFO: IMEI packet received {"connection_id":147002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":147002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:21:03] local.INFO: TCP Data received {"connection_id":147002,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9b8b208012d779f4005f2a7500015011328..."} 
[2026-08-01 01:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9b8b208012d779f4005f2a7500015011328..."} 
[2026-08-01 01:21:03] local.INFO: Processing buffer {"connection_id":147002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9b8b208012d779f4005f2a7500015011328..."} 
[2026-08-01 01:21:03] local.INFO: Packet analysis {"connection_id":147002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9b8"} 
[2026-08-01 01:21:03] local.INFO: Extracted packet for processing {"connection_id":147002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9b8"} 
[2026-08-01 01:21:03] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 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-08-01 01:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094916096001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01: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-08-01 01:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785527317000,"timestamp_ms":1785527317000,"timestamp_seconds":1785527317,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9b8b208"} 
[2026-08-01 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-08-01 01:21: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-08-01 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-01 01:21: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-08-01 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-08-01 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-08-01 01:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094916096001,"66":25473,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094916096001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:21:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:21:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094916096001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":147002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:21:03] local.INFO: GPS data processed {"connection_id":147002,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:21:03] local.INFO: Acknowledgment sent {"connection_id":147002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:21:34] local.INFO: TCP Data received {"connection_id":147002,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9b8b208012d779f4005f2a7500015011328..."} 
[2026-08-01 01:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9b8b208012d779f4005f2a7500015011328..."} 
[2026-08-01 01:21:34] local.INFO: Processing buffer {"connection_id":147002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9b8b208012d779f4005f2a7500015011328..."} 
[2026-08-01 01:21:34] local.INFO: Packet analysis {"connection_id":147002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9b8"} 
[2026-08-01 01:21:34] local.INFO: Extracted packet for processing {"connection_id":147002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9b8"} 
[2026-08-01 01:21:34] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094916096001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01:21:34] 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-08-01 01:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785527317000,"timestamp_ms":1785527317000,"timestamp_seconds":1785527317,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9b8b208"} 
[2026-08-01 01:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01: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-08-01 01: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-01 01:21: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-08-01 01: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-08-01 01:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094916096001,"66":25473,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094916096001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:21:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:21:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094916096001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":147002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:21:34] local.INFO: GPS data processed {"connection_id":147002,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:21:34] local.INFO: Acknowledgment sent {"connection_id":147002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:21:57] local.INFO: TCP Data received {"connection_id":145981,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:21:57] local.INFO: Processing buffer {"connection_id":145981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:21:57] local.INFO: IMEI packet received {"connection_id":145981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":145981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:22:02] local.INFO: TCP Data received {"connection_id":145981,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:22:02] local.INFO: Processing buffer {"connection_id":145981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:22:02] local.INFO: IMEI packet received {"connection_id":145981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":145981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:22:03] local.INFO: TCP Data received {"connection_id":145981,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9b8b208012d779f4005f2a7500015011328..."} 
[2026-08-01 01:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9b8b208012d779f4005f2a7500015011328..."} 
[2026-08-01 01:22:03] local.INFO: Processing buffer {"connection_id":145981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9b8b208012d779f4005f2a7500015011328..."} 
[2026-08-01 01:22:03] local.INFO: Packet analysis {"connection_id":145981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9b8"} 
[2026-08-01 01:22:03] local.INFO: Extracted packet for processing {"connection_id":145981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9b8"} 
[2026-08-01 01:22:03] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094916096001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01: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-08-01 01:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785527317000,"timestamp_ms":1785527317000,"timestamp_seconds":1785527317,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9b8b208"} 
[2026-08-01 01:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:22: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-08-01 01: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":205,"data_length":795,"current_offset":136} 
[2026-08-01 01:22: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-08-01 01: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-08-01 01:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094916096001,"66":25473,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094916096001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:22:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:22:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094916096001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":145981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:22:03] local.INFO: GPS data processed {"connection_id":145981,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:22:03] local.INFO: Acknowledgment sent {"connection_id":145981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:22:34] local.INFO: TCP Data received {"connection_id":145981,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9b8b208012d779f4005f2a7500015011328..."} 
[2026-08-01 01:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9b8b208012d779f4005f2a7500015011328..."} 
[2026-08-01 01:22:34] local.INFO: Processing buffer {"connection_id":145981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9b8b208012d779f4005f2a7500015011328..."} 
[2026-08-01 01:22:34] local.INFO: Packet analysis {"connection_id":145981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9b8"} 
[2026-08-01 01:22:34] local.INFO: Extracted packet for processing {"connection_id":145981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9b8"} 
[2026-08-01 01:22:34] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094916096001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01:22:34] 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-08-01 01:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785527317000,"timestamp_ms":1785527317000,"timestamp_seconds":1785527317,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9b8b208"} 
[2026-08-01 01:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01: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-08-01 01: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-01 01:22: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-08-01 01: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-08-01 01:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094916096001,"66":25473,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094916096001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:22:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:22:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094916096001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":145981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:22:34] local.INFO: GPS data processed {"connection_id":145981,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:22:34] local.INFO: Acknowledgment sent {"connection_id":145981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:23:02] local.INFO: TCP Data received {"connection_id":148320,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:23:02] local.INFO: Processing buffer {"connection_id":148320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:23:02] local.INFO: IMEI packet received {"connection_id":148320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":148320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:23:07] local.INFO: TCP Data received {"connection_id":148320,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:23:07] local.INFO: Processing buffer {"connection_id":148320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:23:07] local.INFO: IMEI packet received {"connection_id":148320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":148320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:23:08] local.INFO: TCP Data received {"connection_id":148320,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9b8b208012d779f4005f2a7500015011328..."} 
[2026-08-01 01:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9b8b208012d779f4005f2a7500015011328..."} 
[2026-08-01 01:23:08] local.INFO: Processing buffer {"connection_id":148320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9b8b208012d779f4005f2a7500015011328..."} 
[2026-08-01 01:23:08] local.INFO: Packet analysis {"connection_id":148320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9b8"} 
[2026-08-01 01:23:08] local.INFO: Extracted packet for processing {"connection_id":148320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9b8"} 
[2026-08-01 01:23:08] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 01:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094916096001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01:23: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-08-01 01:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785527317000,"timestamp_ms":1785527317000,"timestamp_seconds":1785527317,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9b8b208"} 
[2026-08-01 01:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 01:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-01 01:23:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 01:23:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 01:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":148320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":148320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":148320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094916096001,"66":25473,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094916096001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:23:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:23:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094916096001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":148320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:23:08] local.INFO: GPS data processed {"connection_id":148320,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:23:08] local.INFO: Acknowledgment sent {"connection_id":148320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:23:13] local.INFO: TCP Data received {"connection_id":148320,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9b8b208012d779f4005f2a7500015011328..."} 
[2026-08-01 01:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9b8b208012d779f4005f2a7500015011328..."} 
[2026-08-01 01:23:13] local.INFO: Processing buffer {"connection_id":148320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9b8b208012d779f4005f2a7500015011328..."} 
[2026-08-01 01:23:13] local.INFO: Packet analysis {"connection_id":148320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9b8"} 
[2026-08-01 01:23:13] local.INFO: Extracted packet for processing {"connection_id":148320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9b8"} 
[2026-08-01 01:23:13] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 01:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094916096001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 01:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785527317000,"timestamp_ms":1785527317000,"timestamp_seconds":1785527317,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9b8b208"} 
[2026-08-01 01:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:23:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 01:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-01 01:23:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 01:23:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 01:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":148320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":148320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":148320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094916096001,"66":25473,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094916096001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:23:13] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:23:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094916096001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":148320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:23:13] local.INFO: GPS data processed {"connection_id":148320,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:23:13] local.INFO: Acknowledgment sent {"connection_id":148320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:23:57] local.INFO: TCP Data received {"connection_id":148321,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:23:57] local.INFO: Processing buffer {"connection_id":148321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:23:57] local.INFO: IMEI packet received {"connection_id":148321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":148321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:24:02] local.INFO: TCP Data received {"connection_id":148321,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:24:02] local.INFO: Processing buffer {"connection_id":148321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:24:02] local.INFO: IMEI packet received {"connection_id":148321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":148321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:24:03] local.INFO: TCP Data received {"connection_id":148321,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9b8b208012d779f4005f2a7500015011328..."} 
[2026-08-01 01:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9b8b208012d779f4005f2a7500015011328..."} 
[2026-08-01 01:24:03] local.INFO: Processing buffer {"connection_id":148321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9b8b208012d779f4005f2a7500015011328..."} 
[2026-08-01 01:24:03] local.INFO: Packet analysis {"connection_id":148321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9b8"} 
[2026-08-01 01:24:03] local.INFO: Extracted packet for processing {"connection_id":148321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9b8"} 
[2026-08-01 01:24:03] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 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-08-01 01:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094916096001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01:24: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-08-01 01:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785527317000,"timestamp_ms":1785527317000,"timestamp_seconds":1785527317,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9b8b208"} 
[2026-08-01 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-08-01 01:24: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-08-01 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-01 01:24: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-08-01 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-08-01 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-08-01 01:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094916096001,"66":25473,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094916096001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:24:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:24:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094916096001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":148321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:24:03] local.INFO: GPS data processed {"connection_id":148321,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:24:03] local.INFO: Acknowledgment sent {"connection_id":148321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:24:34] local.INFO: TCP Data received {"connection_id":148321,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9bd49d0012d779f4005f2a750001501132b..."} 
[2026-08-01 01:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9bd49d0012d779f4005f2a750001501132b..."} 
[2026-08-01 01:24:34] local.INFO: Processing buffer {"connection_id":148321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9bd49d0012d779f4005f2a750001501132b..."} 
[2026-08-01 01:24:34] local.INFO: Packet analysis {"connection_id":148321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9bd"} 
[2026-08-01 01:24:34] local.INFO: Extracted packet for processing {"connection_id":148321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9bd"} 
[2026-08-01 01:24:34] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094993152001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01:24:34] 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-08-01 01:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785527618000,"timestamp_ms":1785527618000,"timestamp_seconds":1785527618,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9bd49d0"} 
[2026-08-01 01:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:24: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-08-01 01: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-01 01:24:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 01: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-08-01 01:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094993152001,"66":25473,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094993152001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:24:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:24:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094993152001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":148321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:24:34] local.INFO: GPS data processed {"connection_id":148321,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:24:34] local.INFO: Acknowledgment sent {"connection_id":148321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:24:57] local.INFO: TCP Data received {"connection_id":147003,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:24:57] local.INFO: Processing buffer {"connection_id":147003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:24:57] local.INFO: IMEI packet received {"connection_id":147003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":147003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:25:02] local.INFO: TCP Data received {"connection_id":147003,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:25:02] local.INFO: Processing buffer {"connection_id":147003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:25:02] local.INFO: IMEI packet received {"connection_id":147003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":147003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:25:03] local.INFO: TCP Data received {"connection_id":147003,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9bd49d0012d779f4005f2a750001501132b..."} 
[2026-08-01 01:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9bd49d0012d779f4005f2a750001501132b..."} 
[2026-08-01 01:25:03] local.INFO: Processing buffer {"connection_id":147003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9bd49d0012d779f4005f2a750001501132b..."} 
[2026-08-01 01:25:03] local.INFO: Packet analysis {"connection_id":147003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9bd"} 
[2026-08-01 01:25:03] local.INFO: Extracted packet for processing {"connection_id":147003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9bd"} 
[2026-08-01 01:25:03] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 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-08-01 01:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094993152001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01: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-08-01 01:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785527618000,"timestamp_ms":1785527618000,"timestamp_seconds":1785527618,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9bd49d0"} 
[2026-08-01 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-08-01 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-08-01 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-01 01:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 01:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094993152001,"66":25473,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094993152001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:25:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:25:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094993152001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":147003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:25:03] local.INFO: GPS data processed {"connection_id":147003,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:25:03] local.INFO: Acknowledgment sent {"connection_id":147003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:25:34] local.INFO: TCP Data received {"connection_id":147003,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9bd49d0012d779f4005f2a750001501132b..."} 
[2026-08-01 01:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9bd49d0012d779f4005f2a750001501132b..."} 
[2026-08-01 01:25:34] local.INFO: Processing buffer {"connection_id":147003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9bd49d0012d779f4005f2a750001501132b..."} 
[2026-08-01 01:25:34] local.INFO: Packet analysis {"connection_id":147003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9bd"} 
[2026-08-01 01:25:34] local.INFO: Extracted packet for processing {"connection_id":147003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9bd"} 
[2026-08-01 01:25:34] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094993152001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01:25:34] 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-08-01 01:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785527618000,"timestamp_ms":1785527618000,"timestamp_seconds":1785527618,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9bd49d0"} 
[2026-08-01 01:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:25: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-08-01 01: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-01 01:25:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 01: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-08-01 01:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094993152001,"66":25473,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094993152001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:25:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:25:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094993152001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":147003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:25:34] local.INFO: GPS data processed {"connection_id":147003,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:25:34] local.INFO: Acknowledgment sent {"connection_id":147003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:25:57] local.INFO: TCP Data received {"connection_id":148322,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:25:57] local.INFO: Processing buffer {"connection_id":148322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:25:57] local.INFO: IMEI packet received {"connection_id":148322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":148322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:26:02] local.INFO: TCP Data received {"connection_id":148322,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:26:02] local.INFO: Processing buffer {"connection_id":148322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:26:02] local.INFO: IMEI packet received {"connection_id":148322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":148322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:26:03] local.INFO: TCP Data received {"connection_id":148322,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9bd49d0012d779f4005f2a750001501132b..."} 
[2026-08-01 01:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9bd49d0012d779f4005f2a750001501132b..."} 
[2026-08-01 01:26:03] local.INFO: Processing buffer {"connection_id":148322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9bd49d0012d779f4005f2a750001501132b..."} 
[2026-08-01 01:26:03] local.INFO: Packet analysis {"connection_id":148322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9bd"} 
[2026-08-01 01:26:03] local.INFO: Extracted packet for processing {"connection_id":148322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9bd"} 
[2026-08-01 01:26:03] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094993152001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01:26: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-08-01 01:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785527618000,"timestamp_ms":1785527618000,"timestamp_seconds":1785527618,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9bd49d0"} 
[2026-08-01 01:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:26: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-08-01 01: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-01 01:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 01: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-08-01 01:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094993152001,"66":25473,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094993152001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:26:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:26:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094993152001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":148322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:26:03] local.INFO: GPS data processed {"connection_id":148322,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:26:03] local.INFO: Acknowledgment sent {"connection_id":148322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:26:40] local.INFO: TCP Data received {"connection_id":148322,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9bd49d0012d779f4005f2a750001501132b..."} 
[2026-08-01 01:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9bd49d0012d779f4005f2a750001501132b..."} 
[2026-08-01 01:26:40] local.INFO: Processing buffer {"connection_id":148322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9bd49d0012d779f4005f2a750001501132b..."} 
[2026-08-01 01:26:40] local.INFO: Packet analysis {"connection_id":148322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9bd"} 
[2026-08-01 01:26:40] local.INFO: Extracted packet for processing {"connection_id":148322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9bd"} 
[2026-08-01 01:26:40] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094993152001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:26:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 01:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785527618000,"timestamp_ms":1785527618000,"timestamp_seconds":1785527618,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9bd49d0"} 
[2026-08-01 01:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:26:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 01:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-01 01:26:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 01: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-08-01 01:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":148322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":148322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":148322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:26:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094993152001,"66":25473,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094993152001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:26:40] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:26:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:26:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094993152001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":148322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:26:40] local.INFO: GPS data processed {"connection_id":148322,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:26:40] local.INFO: Acknowledgment sent {"connection_id":148322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:27:02] local.INFO: TCP Data received {"connection_id":145982,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:27:02] local.INFO: Processing buffer {"connection_id":145982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:27:02] local.INFO: IMEI packet received {"connection_id":145982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":145982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:27:07] local.INFO: TCP Data received {"connection_id":145982,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:27:07] local.INFO: Processing buffer {"connection_id":145982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:27:07] local.INFO: IMEI packet received {"connection_id":145982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":145982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:27:08] local.INFO: TCP Data received {"connection_id":145982,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9bd49d0012d779f4005f2a750001501132b..."} 
[2026-08-01 01:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9bd49d0012d779f4005f2a750001501132b..."} 
[2026-08-01 01:27:08] local.INFO: Processing buffer {"connection_id":145982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9bd49d0012d779f4005f2a750001501132b..."} 
[2026-08-01 01:27:08] local.INFO: Packet analysis {"connection_id":145982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9bd"} 
[2026-08-01 01:27:08] local.INFO: Extracted packet for processing {"connection_id":145982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9bd"} 
[2026-08-01 01:27:08] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 01:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094993152001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01:27: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-08-01 01:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785527618000,"timestamp_ms":1785527618000,"timestamp_seconds":1785527618,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9bd49d0"} 
[2026-08-01 01:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:27: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-08-01 01:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-01 01:27:08] 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-08-01 01:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 01:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094993152001,"66":25473,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094993152001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:27:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:27:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094993152001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":145982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:27:08] local.INFO: GPS data processed {"connection_id":145982,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:27:08] local.INFO: Acknowledgment sent {"connection_id":145982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:27:12] local.INFO: TCP Data received {"connection_id":145982,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9bd49d0012d779f4005f2a750001501132b..."} 
[2026-08-01 01:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9bd49d0012d779f4005f2a750001501132b..."} 
[2026-08-01 01:27:12] local.INFO: Processing buffer {"connection_id":145982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9bd49d0012d779f4005f2a750001501132b..."} 
[2026-08-01 01:27:12] local.INFO: Packet analysis {"connection_id":145982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9bd"} 
[2026-08-01 01:27:12] local.INFO: Extracted packet for processing {"connection_id":145982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9bd"} 
[2026-08-01 01:27:12] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 01:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094993152001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:27:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01:27:12] 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-08-01 01:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785527618000,"timestamp_ms":1785527618000,"timestamp_seconds":1785527618,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9bd49d0"} 
[2026-08-01 01:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 01:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-01 01:27:12] 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-08-01 01:27:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 01:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":145982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":145982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":145982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094993152001,"66":25473,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094993152001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:27:12] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:27:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:27:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094993152001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":145982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:27:12] local.INFO: GPS data processed {"connection_id":145982,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:27:12] local.INFO: Acknowledgment sent {"connection_id":145982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:27:57] local.INFO: TCP Data received {"connection_id":145784,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:27:57] local.INFO: Processing buffer {"connection_id":145784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:27:57] local.INFO: IMEI packet received {"connection_id":145784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":145784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:28:02] local.INFO: TCP Data received {"connection_id":145784,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:28:02] local.INFO: Processing buffer {"connection_id":145784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:28:02] local.INFO: IMEI packet received {"connection_id":145784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":145784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:28:03] local.INFO: TCP Data received {"connection_id":145784,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9bd49d0012d779f4005f2a750001501132b..."} 
[2026-08-01 01:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9bd49d0012d779f4005f2a750001501132b..."} 
[2026-08-01 01:28:03] local.INFO: Processing buffer {"connection_id":145784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9bd49d0012d779f4005f2a750001501132b..."} 
[2026-08-01 01:28:03] local.INFO: Packet analysis {"connection_id":145784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9bd"} 
[2026-08-01 01:28:03] local.INFO: Extracted packet for processing {"connection_id":145784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9bd"} 
[2026-08-01 01:28:03] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 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-08-01 01:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094993152001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01: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-08-01 01:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785527618000,"timestamp_ms":1785527618000,"timestamp_seconds":1785527618,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9bd49d0"} 
[2026-08-01 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-08-01 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-08-01 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-01 01:28:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 01:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094993152001,"66":25473,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094993152001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:28:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:28:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094993152001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":145784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:28:03] local.INFO: GPS data processed {"connection_id":145784,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:28:03] local.INFO: Acknowledgment sent {"connection_id":145784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:28:35] local.INFO: TCP Data received {"connection_id":145784,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9bd49d0012d779f4005f2a750001501132b..."} 
[2026-08-01 01:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9bd49d0012d779f4005f2a750001501132b..."} 
[2026-08-01 01:28:35] local.INFO: Processing buffer {"connection_id":145784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9bd49d0012d779f4005f2a750001501132b..."} 
[2026-08-01 01:28:35] local.INFO: Packet analysis {"connection_id":145784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9bd"} 
[2026-08-01 01:28:35] local.INFO: Extracted packet for processing {"connection_id":145784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9bd"} 
[2026-08-01 01:28:35] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094993152001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 01:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785527618000,"timestamp_ms":1785527618000,"timestamp_seconds":1785527618,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9bd49d0"} 
[2026-08-01 01:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:28:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 01:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-01 01:28:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 01: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-08-01 01:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":145784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":145784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":145784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094993152001,"66":25473,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094993152001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:28:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:28:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094993152001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":145784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:28:35] local.INFO: GPS data processed {"connection_id":145784,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:28:35] local.INFO: Acknowledgment sent {"connection_id":145784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:28:57] local.INFO: TCP Data received {"connection_id":145983,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:28:57] local.INFO: Processing buffer {"connection_id":145983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:28:57] local.INFO: IMEI packet received {"connection_id":145983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":145983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:29:02] local.INFO: TCP Data received {"connection_id":145983,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:29:02] local.INFO: Processing buffer {"connection_id":145983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:29:02] local.INFO: IMEI packet received {"connection_id":145983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":145983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:29:03] local.INFO: TCP Data received {"connection_id":145983,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9bd49d0012d779f4005f2a750001501132b..."} 
[2026-08-01 01:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9bd49d0012d779f4005f2a750001501132b..."} 
[2026-08-01 01:29:03] local.INFO: Processing buffer {"connection_id":145983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9bd49d0012d779f4005f2a750001501132b..."} 
[2026-08-01 01:29:03] local.INFO: Packet analysis {"connection_id":145983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9bd"} 
[2026-08-01 01:29:03] local.INFO: Extracted packet for processing {"connection_id":145983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9bd"} 
[2026-08-01 01:29:03] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 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-08-01 01:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457094993152001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01:29: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-08-01 01:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785527618000,"timestamp_ms":1785527618000,"timestamp_seconds":1785527618,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9bd49d0"} 
[2026-08-01 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-08-01 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-08-01 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-01 01:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 01:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457094993152001,"66":25473,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457094993152001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:29:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:29:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457094993152001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":145983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:29:03] local.INFO: GPS data processed {"connection_id":145983,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:29:03] local.INFO: Acknowledgment sent {"connection_id":145983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:29:35] local.INFO: TCP Data received {"connection_id":145983,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9c1e198012d779f4005f2a750001501132d..."} 
[2026-08-01 01:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9c1e198012d779f4005f2a750001501132d..."} 
[2026-08-01 01:29:35] local.INFO: Processing buffer {"connection_id":145983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9c1e198012d779f4005f2a750001501132d..."} 
[2026-08-01 01:29:35] local.INFO: Packet analysis {"connection_id":145983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9c1"} 
[2026-08-01 01:29:35] local.INFO: Extracted packet for processing {"connection_id":145983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9c1"} 
[2026-08-01 01:29:35] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":45,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 01:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095070208001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01:29: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-08-01 01:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785527919000,"timestamp_ms":1785527919000,"timestamp_seconds":1785527919,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9c1e198"} 
[2026-08-01 01:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 01:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-01 01:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 01:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 01:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":145983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":145983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":145983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095070208001,"66":25462,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095070208001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:29:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:29:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095070208001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":145983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:29:35] local.INFO: GPS data processed {"connection_id":145983,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:29:35] local.INFO: Acknowledgment sent {"connection_id":145983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:29:57] local.INFO: TCP Data received {"connection_id":147004,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:29:57] local.INFO: Processing buffer {"connection_id":147004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:29:57] local.INFO: IMEI packet received {"connection_id":147004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":147004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:30:02] local.INFO: TCP Data received {"connection_id":147004,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:30:02] local.INFO: Processing buffer {"connection_id":147004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:30:02] local.INFO: IMEI packet received {"connection_id":147004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":147004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:30:03] local.INFO: TCP Data received {"connection_id":147004,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9c1e198012d779f4005f2a750001501132d..."} 
[2026-08-01 01:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9c1e198012d779f4005f2a750001501132d..."} 
[2026-08-01 01:30:03] local.INFO: Processing buffer {"connection_id":147004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9c1e198012d779f4005f2a750001501132d..."} 
[2026-08-01 01:30:03] local.INFO: Packet analysis {"connection_id":147004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9c1"} 
[2026-08-01 01:30:03] local.INFO: Extracted packet for processing {"connection_id":147004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9c1"} 
[2026-08-01 01:30:03] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":45,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095070208001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01: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-08-01 01:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785527919000,"timestamp_ms":1785527919000,"timestamp_seconds":1785527919,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9c1e198"} 
[2026-08-01 01:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:30: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-08-01 01: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":129,"data_length":795,"current_offset":136} 
[2026-08-01 01:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 01: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-08-01 01:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095070208001,"66":25462,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095070208001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:30:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:30:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095070208001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":147004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:30:03] local.INFO: GPS data processed {"connection_id":147004,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:30:03] local.INFO: Acknowledgment sent {"connection_id":147004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:30:34] local.INFO: TCP Data received {"connection_id":147004,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9c1e198012d779f4005f2a750001501132d..."} 
[2026-08-01 01:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9c1e198012d779f4005f2a750001501132d..."} 
[2026-08-01 01:30:34] local.INFO: Processing buffer {"connection_id":147004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9c1e198012d779f4005f2a750001501132d..."} 
[2026-08-01 01:30:34] local.INFO: Packet analysis {"connection_id":147004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9c1"} 
[2026-08-01 01:30:34] local.INFO: Extracted packet for processing {"connection_id":147004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9c1"} 
[2026-08-01 01:30:34] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":45,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 01:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095070208001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01:30:34] 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-08-01 01:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785527919000,"timestamp_ms":1785527919000,"timestamp_seconds":1785527919,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9c1e198"} 
[2026-08-01 01:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:30: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-08-01 01:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-01 01:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 01:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 01:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095070208001,"66":25462,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095070208001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:30:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:30:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095070208001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":147004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:30:34] local.INFO: GPS data processed {"connection_id":147004,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:30:34] local.INFO: Acknowledgment sent {"connection_id":147004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:31:03] local.INFO: TCP Data received {"connection_id":145785,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:31:03] local.INFO: Processing buffer {"connection_id":145785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:31:03] local.INFO: IMEI packet received {"connection_id":145785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":145785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:31:07] local.INFO: TCP Data received {"connection_id":145785,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:31:07] local.INFO: Processing buffer {"connection_id":145785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:31:07] local.INFO: IMEI packet received {"connection_id":145785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":145785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:31:10] local.INFO: TCP Data received {"connection_id":145785,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9c1e198012d779f4005f2a750001501132d..."} 
[2026-08-01 01:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9c1e198012d779f4005f2a750001501132d..."} 
[2026-08-01 01:31:10] local.INFO: Processing buffer {"connection_id":145785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9c1e198012d779f4005f2a750001501132d..."} 
[2026-08-01 01:31:10] local.INFO: Packet analysis {"connection_id":145785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9c1"} 
[2026-08-01 01:31:10] local.INFO: Extracted packet for processing {"connection_id":145785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9c1"} 
[2026-08-01 01:31:10] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":45,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095070208001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01:31: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-08-01 01:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785527919000,"timestamp_ms":1785527919000,"timestamp_seconds":1785527919,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9c1e198"} 
[2026-08-01 01:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:31: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-08-01 01: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-01 01:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 01: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-08-01 01:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095070208001,"66":25462,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095070208001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:31:10] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:31:10] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095070208001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":145785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:31:10] local.INFO: GPS data processed {"connection_id":145785,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:31:10] local.INFO: Acknowledgment sent {"connection_id":145785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:31:13] local.INFO: TCP Data received {"connection_id":145785,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9c1e198012d779f4005f2a750001501132d..."} 
[2026-08-01 01:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9c1e198012d779f4005f2a750001501132d..."} 
[2026-08-01 01:31:13] local.INFO: Processing buffer {"connection_id":145785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9c1e198012d779f4005f2a750001501132d..."} 
[2026-08-01 01:31:13] local.INFO: Packet analysis {"connection_id":145785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9c1"} 
[2026-08-01 01:31:13] local.INFO: Extracted packet for processing {"connection_id":145785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9c1"} 
[2026-08-01 01:31:13] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":45,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 01:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095070208001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:31:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01:31:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 01:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785527919000,"timestamp_ms":1785527919000,"timestamp_seconds":1785527919,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9c1e198"} 
[2026-08-01 01:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:31:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 01:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-01 01:31:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 01:31:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 01:31:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":145785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":145785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":145785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:31:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095070208001,"66":25462,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095070208001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:31:13] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:31:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:31:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095070208001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":145785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:31:13] local.INFO: GPS data processed {"connection_id":145785,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:31:13] local.INFO: Acknowledgment sent {"connection_id":145785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:31:57] local.INFO: TCP Data received {"connection_id":145984,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:31:57] local.INFO: Processing buffer {"connection_id":145984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:31:57] local.INFO: IMEI packet received {"connection_id":145984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":145984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:32:02] local.INFO: TCP Data received {"connection_id":145984,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:32:02] local.INFO: Processing buffer {"connection_id":145984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:32:02] local.INFO: IMEI packet received {"connection_id":145984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":145984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:32:03] local.INFO: TCP Data received {"connection_id":145984,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9c1e198012d779f4005f2a750001501132d..."} 
[2026-08-01 01:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9c1e198012d779f4005f2a750001501132d..."} 
[2026-08-01 01:32:03] local.INFO: Processing buffer {"connection_id":145984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9c1e198012d779f4005f2a750001501132d..."} 
[2026-08-01 01:32:03] local.INFO: Packet analysis {"connection_id":145984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9c1"} 
[2026-08-01 01:32:03] local.INFO: Extracted packet for processing {"connection_id":145984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9c1"} 
[2026-08-01 01:32:03] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":45,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 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-08-01 01:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095070208001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01:32: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-08-01 01:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785527919000,"timestamp_ms":1785527919000,"timestamp_seconds":1785527919,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9c1e198"} 
[2026-08-01 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-08-01 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-08-01 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-01 01:32:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 01:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095070208001,"66":25462,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095070208001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:32:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:32:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095070208001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":145984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:32:03] local.INFO: GPS data processed {"connection_id":145984,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:32:03] local.INFO: Acknowledgment sent {"connection_id":145984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:32:34] local.INFO: TCP Data received {"connection_id":145984,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9c1e198012d779f4005f2a750001501132d..."} 
[2026-08-01 01:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9c1e198012d779f4005f2a750001501132d..."} 
[2026-08-01 01:32:34] local.INFO: Processing buffer {"connection_id":145984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9c1e198012d779f4005f2a750001501132d..."} 
[2026-08-01 01:32:34] local.INFO: Packet analysis {"connection_id":145984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9c1"} 
[2026-08-01 01:32:34] local.INFO: Extracted packet for processing {"connection_id":145984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9c1"} 
[2026-08-01 01:32:34] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":45,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095070208001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01:32:34] 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-08-01 01:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785527919000,"timestamp_ms":1785527919000,"timestamp_seconds":1785527919,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9c1e198"} 
[2026-08-01 01:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:32: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-08-01 01: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-01 01:32:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 01: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-08-01 01:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095070208001,"66":25462,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095070208001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:32:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:32:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095070208001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":145984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:32:34] local.INFO: GPS data processed {"connection_id":145984,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:32:34] local.INFO: Acknowledgment sent {"connection_id":145984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:32:57] local.INFO: TCP Data received {"connection_id":148323,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:32:57] local.INFO: Processing buffer {"connection_id":148323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:32:57] local.INFO: IMEI packet received {"connection_id":148323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":148323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:33:02] local.INFO: TCP Data received {"connection_id":148323,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:33:02] local.INFO: Processing buffer {"connection_id":148323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:33:02] local.INFO: IMEI packet received {"connection_id":148323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":148323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:33:03] local.INFO: TCP Data received {"connection_id":148323,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9c1e198012d779f4005f2a750001501132d..."} 
[2026-08-01 01:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9c1e198012d779f4005f2a750001501132d..."} 
[2026-08-01 01:33:03] local.INFO: Processing buffer {"connection_id":148323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9c1e198012d779f4005f2a750001501132d..."} 
[2026-08-01 01:33:03] local.INFO: Packet analysis {"connection_id":148323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9c1"} 
[2026-08-01 01:33:03] local.INFO: Extracted packet for processing {"connection_id":148323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9c1"} 
[2026-08-01 01:33:03] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":45,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 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-08-01 01:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095070208001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01: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-08-01 01:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785527919000,"timestamp_ms":1785527919000,"timestamp_seconds":1785527919,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9c1e198"} 
[2026-08-01 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-08-01 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-08-01 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-01 01:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 01:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095070208001,"66":25462,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095070208001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:33:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:33:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095070208001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":148323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:33:03] local.INFO: GPS data processed {"connection_id":148323,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:33:03] local.INFO: Acknowledgment sent {"connection_id":148323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:33:34] local.INFO: TCP Data received {"connection_id":148323,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9c1e198012d779f4005f2a750001501132d..."} 
[2026-08-01 01:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9c1e198012d779f4005f2a750001501132d..."} 
[2026-08-01 01:33:34] local.INFO: Processing buffer {"connection_id":148323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9c1e198012d779f4005f2a750001501132d..."} 
[2026-08-01 01:33:34] local.INFO: Packet analysis {"connection_id":148323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9c1"} 
[2026-08-01 01:33:34] local.INFO: Extracted packet for processing {"connection_id":148323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9c1"} 
[2026-08-01 01:33:34] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":45,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095070208001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01:33:34] 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-08-01 01:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785527919000,"timestamp_ms":1785527919000,"timestamp_seconds":1785527919,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9c1e198"} 
[2026-08-01 01:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01: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-08-01 01: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-01 01:33:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 01: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-08-01 01:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095070208001,"66":25462,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095070208001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:33:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:33:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095070208001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":148323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:33:34] local.INFO: GPS data processed {"connection_id":148323,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:33:34] local.INFO: Acknowledgment sent {"connection_id":148323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:34:02] local.INFO: TCP Data received {"connection_id":145786,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:34:02] local.INFO: Processing buffer {"connection_id":145786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:34:02] local.INFO: IMEI packet received {"connection_id":145786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":145786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:34:07] local.INFO: TCP Data received {"connection_id":145786,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:34:07] local.INFO: Processing buffer {"connection_id":145786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:34:07] local.INFO: IMEI packet received {"connection_id":145786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":145786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:34:08] local.INFO: TCP Data received {"connection_id":145786,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9c1e198012d779f4005f2a750001501132d..."} 
[2026-08-01 01:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9c1e198012d779f4005f2a750001501132d..."} 
[2026-08-01 01:34:08] local.INFO: Processing buffer {"connection_id":145786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9c1e198012d779f4005f2a750001501132d..."} 
[2026-08-01 01:34:08] local.INFO: Packet analysis {"connection_id":145786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9c1"} 
[2026-08-01 01:34:08] local.INFO: Extracted packet for processing {"connection_id":145786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9c1"} 
[2026-08-01 01:34:08] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":45,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 01:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095070208001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 01:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785527919000,"timestamp_ms":1785527919000,"timestamp_seconds":1785527919,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9c1e198"} 
[2026-08-01 01:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:34: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-08-01 01:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-01 01:34:08] 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-08-01 01:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 01:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095070208001,"66":25462,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095070208001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:34:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:34:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095070208001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":145786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:34:08] local.INFO: GPS data processed {"connection_id":145786,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:34:08] local.INFO: Acknowledgment sent {"connection_id":145786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:34:39] local.INFO: TCP Data received {"connection_id":145786,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9c67960012d779f4005f2a750001501132a..."} 
[2026-08-01 01:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9c67960012d779f4005f2a750001501132a..."} 
[2026-08-01 01:34:39] local.INFO: Processing buffer {"connection_id":145786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9c67960012d779f4005f2a750001501132a..."} 
[2026-08-01 01:34:39] local.INFO: Packet analysis {"connection_id":145786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9c6"} 
[2026-08-01 01:34:39] local.INFO: Extracted packet for processing {"connection_id":145786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9c6"} 
[2026-08-01 01:34:39] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 01:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095147264001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 01:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785528220000,"timestamp_ms":1785528220000,"timestamp_seconds":1785528220,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9c67960"} 
[2026-08-01 01:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:34: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-08-01 01:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 01:34:39] 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-08-01 01:34:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 01:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":145786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":145786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":145786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095147264001,"66":25473,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095147264001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:34:39] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:34:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095147264001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":145786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:34:39] local.INFO: GPS data processed {"connection_id":145786,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:34:39] local.INFO: Acknowledgment sent {"connection_id":145786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:34:57] local.INFO: TCP Data received {"connection_id":147005,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:34:57] local.INFO: Processing buffer {"connection_id":147005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:34:57] local.INFO: IMEI packet received {"connection_id":147005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":147005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:35:02] local.INFO: TCP Data received {"connection_id":147005,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:35:02] local.INFO: Processing buffer {"connection_id":147005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:35:02] local.INFO: IMEI packet received {"connection_id":147005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":147005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:35:07] local.INFO: TCP Data received {"connection_id":147005,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9c67960012d779f4005f2a750001501132a..."} 
[2026-08-01 01:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9c67960012d779f4005f2a750001501132a..."} 
[2026-08-01 01:35:07] local.INFO: Processing buffer {"connection_id":147005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9c67960012d779f4005f2a750001501132a..."} 
[2026-08-01 01:35:07] local.INFO: Packet analysis {"connection_id":147005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9c6"} 
[2026-08-01 01:35:07] local.INFO: Extracted packet for processing {"connection_id":147005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9c6"} 
[2026-08-01 01:35:07] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 01:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095147264001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01:35: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-08-01 01:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785528220000,"timestamp_ms":1785528220000,"timestamp_seconds":1785528220,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9c67960"} 
[2026-08-01 01:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:35: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-08-01 01:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 01:35:07] 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-08-01 01:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 01:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":147005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":147005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":147005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095147264001,"66":25473,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095147264001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:35:07] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:35:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095147264001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":147005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:35:07] local.INFO: GPS data processed {"connection_id":147005,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:35:07] local.INFO: Acknowledgment sent {"connection_id":147005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:35:39] local.INFO: TCP Data received {"connection_id":147005,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9c67960012d779f4005f2a750001501132a..."} 
[2026-08-01 01:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9c67960012d779f4005f2a750001501132a..."} 
[2026-08-01 01:35:39] local.INFO: Processing buffer {"connection_id":147005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9c67960012d779f4005f2a750001501132a..."} 
[2026-08-01 01:35:39] local.INFO: Packet analysis {"connection_id":147005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9c6"} 
[2026-08-01 01:35:39] local.INFO: Extracted packet for processing {"connection_id":147005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9c6"} 
[2026-08-01 01:35:39] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 01:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095147264001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 01:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785528220000,"timestamp_ms":1785528220000,"timestamp_seconds":1785528220,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9c67960"} 
[2026-08-01 01:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:35: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-08-01 01:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 01:35:39] 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-08-01 01:35:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 01:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":147005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":147005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":147005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:35:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095147264001,"66":25473,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095147264001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:35:39] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:35:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095147264001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":147005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:35:39] local.INFO: GPS data processed {"connection_id":147005,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:35:39] local.INFO: Acknowledgment sent {"connection_id":147005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:35:57] local.INFO: TCP Data received {"connection_id":147006,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:35:57] local.INFO: Processing buffer {"connection_id":147006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:35:57] local.INFO: IMEI packet received {"connection_id":147006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":147006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:36:03] local.INFO: TCP Data received {"connection_id":147006,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:36:03] local.INFO: Processing buffer {"connection_id":147006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:36:03] local.INFO: IMEI packet received {"connection_id":147006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":147006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:36:04] local.INFO: TCP Data received {"connection_id":147006,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9c67960012d779f4005f2a750001501132a..."} 
[2026-08-01 01:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9c67960012d779f4005f2a750001501132a..."} 
[2026-08-01 01:36:04] local.INFO: Processing buffer {"connection_id":147006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9c67960012d779f4005f2a750001501132a..."} 
[2026-08-01 01:36:04] local.INFO: Packet analysis {"connection_id":147006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9c6"} 
[2026-08-01 01:36:04] local.INFO: Extracted packet for processing {"connection_id":147006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9c6"} 
[2026-08-01 01:36:04] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095147264001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01:36: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-08-01 01:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785528220000,"timestamp_ms":1785528220000,"timestamp_seconds":1785528220,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9c67960"} 
[2026-08-01 01:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:36: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-08-01 01: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 01:36:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 01: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-08-01 01:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095147264001,"66":25473,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095147264001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:36:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:36:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095147264001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":147006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:36:04] local.INFO: GPS data processed {"connection_id":147006,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:36:04] local.INFO: Acknowledgment sent {"connection_id":147006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:36:35] local.INFO: TCP Data received {"connection_id":147006,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9c67960012d779f4005f2a750001501132a..."} 
[2026-08-01 01:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9c67960012d779f4005f2a750001501132a..."} 
[2026-08-01 01:36:35] local.INFO: Processing buffer {"connection_id":147006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9c67960012d779f4005f2a750001501132a..."} 
[2026-08-01 01:36:35] local.INFO: Packet analysis {"connection_id":147006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9c6"} 
[2026-08-01 01:36:35] local.INFO: Extracted packet for processing {"connection_id":147006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9c6"} 
[2026-08-01 01:36:35] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 01:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095147264001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01:36: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-08-01 01:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785528220000,"timestamp_ms":1785528220000,"timestamp_seconds":1785528220,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9c67960"} 
[2026-08-01 01:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:36: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-08-01 01:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 01:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 01:36:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 01:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095147264001,"66":25473,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095147264001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:36:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:36:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095147264001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":147006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:36:35] local.INFO: GPS data processed {"connection_id":147006,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:36:35] local.INFO: Acknowledgment sent {"connection_id":147006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:37:02] local.INFO: TCP Data received {"connection_id":145985,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:37:02] local.INFO: Processing buffer {"connection_id":145985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:37:02] local.INFO: IMEI packet received {"connection_id":145985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":145985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:37:07] local.INFO: TCP Data received {"connection_id":145985,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:37:07] local.INFO: Processing buffer {"connection_id":145985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:37:07] local.INFO: IMEI packet received {"connection_id":145985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":145985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:37:08] local.INFO: TCP Data received {"connection_id":145985,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9c67960012d779f4005f2a750001501132a..."} 
[2026-08-01 01:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9c67960012d779f4005f2a750001501132a..."} 
[2026-08-01 01:37:08] local.INFO: Processing buffer {"connection_id":145985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9c67960012d779f4005f2a750001501132a..."} 
[2026-08-01 01:37:08] local.INFO: Packet analysis {"connection_id":145985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9c6"} 
[2026-08-01 01:37:08] local.INFO: Extracted packet for processing {"connection_id":145985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9c6"} 
[2026-08-01 01:37:08] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 01:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095147264001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01:37: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-08-01 01:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785528220000,"timestamp_ms":1785528220000,"timestamp_seconds":1785528220,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9c67960"} 
[2026-08-01 01:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 01:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 01:37:08] 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-08-01 01:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 01:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095147264001,"66":25473,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095147264001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:37:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:37:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095147264001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":145985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:37:08] local.INFO: GPS data processed {"connection_id":145985,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:37:08] local.INFO: Acknowledgment sent {"connection_id":145985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:37:13] local.INFO: TCP Data received {"connection_id":145985,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9c67960012d779f4005f2a750001501132a..."} 
[2026-08-01 01:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9c67960012d779f4005f2a750001501132a..."} 
[2026-08-01 01:37:13] local.INFO: Processing buffer {"connection_id":145985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9c67960012d779f4005f2a750001501132a..."} 
[2026-08-01 01:37:13] local.INFO: Packet analysis {"connection_id":145985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9c6"} 
[2026-08-01 01:37:13] local.INFO: Extracted packet for processing {"connection_id":145985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9c6"} 
[2026-08-01 01:37:13] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095147264001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 01:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785528220000,"timestamp_ms":1785528220000,"timestamp_seconds":1785528220,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9c67960"} 
[2026-08-01 01:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:37:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 01: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 01:37:13] 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-08-01 01: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-08-01 01:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":145985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":145985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":145985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095147264001,"66":25473,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095147264001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:37:13] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:37:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095147264001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":145985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:37:13] local.INFO: GPS data processed {"connection_id":145985,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:37:13] local.INFO: Acknowledgment sent {"connection_id":145985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:37:57] local.INFO: TCP Data received {"connection_id":148324,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:37:57] local.INFO: Processing buffer {"connection_id":148324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:37:57] local.INFO: IMEI packet received {"connection_id":148324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":148324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:38:02] local.INFO: TCP Data received {"connection_id":148324,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:38:02] local.INFO: Processing buffer {"connection_id":148324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:38:02] local.INFO: IMEI packet received {"connection_id":148324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":148324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:38:03] local.INFO: TCP Data received {"connection_id":148324,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9c67960012d779f4005f2a750001501132a..."} 
[2026-08-01 01:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9c67960012d779f4005f2a750001501132a..."} 
[2026-08-01 01:38:03] local.INFO: Processing buffer {"connection_id":148324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9c67960012d779f4005f2a750001501132a..."} 
[2026-08-01 01:38:03] local.INFO: Packet analysis {"connection_id":148324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9c6"} 
[2026-08-01 01:38:03] local.INFO: Extracted packet for processing {"connection_id":148324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9c6"} 
[2026-08-01 01:38:03] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 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-08-01 01:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095147264001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01:38: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-08-01 01:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785528220000,"timestamp_ms":1785528220000,"timestamp_seconds":1785528220,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9c67960"} 
[2026-08-01 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-08-01 01:38: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-08-01 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 01:38:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 01:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095147264001,"66":25473,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095147264001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:38:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:38:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095147264001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":148324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:38:03] local.INFO: GPS data processed {"connection_id":148324,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:38:03] local.INFO: Acknowledgment sent {"connection_id":148324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:38:34] local.INFO: TCP Data received {"connection_id":148324,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9c67960012d779f4005f2a750001501132a..."} 
[2026-08-01 01:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9c67960012d779f4005f2a750001501132a..."} 
[2026-08-01 01:38:34] local.INFO: Processing buffer {"connection_id":148324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9c67960012d779f4005f2a750001501132a..."} 
[2026-08-01 01:38:34] local.INFO: Packet analysis {"connection_id":148324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9c6"} 
[2026-08-01 01:38:34] local.INFO: Extracted packet for processing {"connection_id":148324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9c6"} 
[2026-08-01 01:38:34] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095147264001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01:38:34] 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-08-01 01:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785528220000,"timestamp_ms":1785528220000,"timestamp_seconds":1785528220,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9c67960"} 
[2026-08-01 01:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:38: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-08-01 01: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 01:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 01: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-08-01 01:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095147264001,"66":25473,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095147264001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:38:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:38:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095147264001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":148324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:38:34] local.INFO: GPS data processed {"connection_id":148324,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:38:34] local.INFO: Acknowledgment sent {"connection_id":148324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:38:57] local.INFO: TCP Data received {"connection_id":145986,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:38:57] local.INFO: Processing buffer {"connection_id":145986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:38:57] local.INFO: IMEI packet received {"connection_id":145986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":145986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:39:03] local.INFO: TCP Data received {"connection_id":145986,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:39:03] local.INFO: Processing buffer {"connection_id":145986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:39:03] local.INFO: IMEI packet received {"connection_id":145986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":145986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:39:04] local.INFO: TCP Data received {"connection_id":145986,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9c67960012d779f4005f2a750001501132a..."} 
[2026-08-01 01:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9c67960012d779f4005f2a750001501132a..."} 
[2026-08-01 01:39:04] local.INFO: Processing buffer {"connection_id":145986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9c67960012d779f4005f2a750001501132a..."} 
[2026-08-01 01:39:04] local.INFO: Packet analysis {"connection_id":145986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9c6"} 
[2026-08-01 01:39:04] local.INFO: Extracted packet for processing {"connection_id":145986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9c6"} 
[2026-08-01 01:39:04] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":21,"angle":275,"satellites":42,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095147264001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 01:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785528220000,"timestamp_ms":1785528220000,"timestamp_seconds":1785528220,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9c67960"} 
[2026-08-01 01:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:39: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-08-01 01: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":118,"data_length":795,"current_offset":136} 
[2026-08-01 01:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 01: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-08-01 01:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":145986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":145986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":145986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095147264001,"66":25473,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095147264001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:39:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:39:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095147264001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":145986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:39:04] local.INFO: GPS data processed {"connection_id":145986,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:39:04] local.INFO: Acknowledgment sent {"connection_id":145986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:39:35] local.INFO: TCP Data received {"connection_id":145986,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9cb1128012d779f4005f2a750001701132c..."} 
[2026-08-01 01:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9cb1128012d779f4005f2a750001701132c..."} 
[2026-08-01 01:39:35] local.INFO: Processing buffer {"connection_id":145986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9cb1128012d779f4005f2a750001701132c..."} 
[2026-08-01 01:39:35] local.INFO: Packet analysis {"connection_id":145986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9cb"} 
[2026-08-01 01:39:35] local.INFO: Extracted packet for processing {"connection_id":145986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9cb"} 
[2026-08-01 01:39:35] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":23,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095224320001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01:39: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-08-01 01:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785528521000,"timestamp_ms":1785528521000,"timestamp_seconds":1785528521,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9cb1128"} 
[2026-08-01 01:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:39:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 01:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-01 01:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 01: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-08-01 01:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":145986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":145986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":145986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095224320001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095224320001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:39:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:39:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095224320001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":145986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:39:35] local.INFO: GPS data processed {"connection_id":145986,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:39:35] local.INFO: Acknowledgment sent {"connection_id":145986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:39:57] local.INFO: TCP Data received {"connection_id":147007,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:39:57] local.INFO: Processing buffer {"connection_id":147007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:39:57] local.INFO: IMEI packet received {"connection_id":147007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":147007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:40:02] local.INFO: TCP Data received {"connection_id":147007,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:40:02] local.INFO: Processing buffer {"connection_id":147007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:40:02] local.INFO: IMEI packet received {"connection_id":147007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":147007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:40:03] local.INFO: TCP Data received {"connection_id":147007,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9cb1128012d779f4005f2a750001701132c..."} 
[2026-08-01 01:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9cb1128012d779f4005f2a750001701132c..."} 
[2026-08-01 01:40:03] local.INFO: Processing buffer {"connection_id":147007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9cb1128012d779f4005f2a750001701132c..."} 
[2026-08-01 01:40:03] local.INFO: Packet analysis {"connection_id":147007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9cb"} 
[2026-08-01 01:40:03] local.INFO: Extracted packet for processing {"connection_id":147007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9cb"} 
[2026-08-01 01:40:03] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":23,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 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-08-01 01:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095224320001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01: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-08-01 01:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785528521000,"timestamp_ms":1785528521000,"timestamp_seconds":1785528521,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9cb1128"} 
[2026-08-01 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-08-01 01:40: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-08-01 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-01 01:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 01:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095224320001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095224320001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:40:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:40:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095224320001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":147007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:40:03] local.INFO: GPS data processed {"connection_id":147007,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:40:03] local.INFO: Acknowledgment sent {"connection_id":147007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:40:34] local.INFO: TCP Data received {"connection_id":147007,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9cb1128012d779f4005f2a750001701132c..."} 
[2026-08-01 01:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9cb1128012d779f4005f2a750001701132c..."} 
[2026-08-01 01:40:34] local.INFO: Processing buffer {"connection_id":147007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9cb1128012d779f4005f2a750001701132c..."} 
[2026-08-01 01:40:34] local.INFO: Packet analysis {"connection_id":147007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9cb"} 
[2026-08-01 01:40:34] local.INFO: Extracted packet for processing {"connection_id":147007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9cb"} 
[2026-08-01 01:40:34] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":23,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095224320001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01:40:34] 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-08-01 01:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785528521000,"timestamp_ms":1785528521000,"timestamp_seconds":1785528521,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9cb1128"} 
[2026-08-01 01:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:40: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-08-01 01: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-01 01:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 01: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-08-01 01:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095224320001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095224320001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:40:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:40:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095224320001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":147007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:40:34] local.INFO: GPS data processed {"connection_id":147007,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:40:34] local.INFO: Acknowledgment sent {"connection_id":147007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:41:02] local.INFO: TCP Data received {"connection_id":147008,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:41:02] local.INFO: Processing buffer {"connection_id":147008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:41:02] local.INFO: IMEI packet received {"connection_id":147008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":147008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:41:07] local.INFO: TCP Data received {"connection_id":147008,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:41:07] local.INFO: Processing buffer {"connection_id":147008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:41:07] local.INFO: IMEI packet received {"connection_id":147008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":147008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:41:08] local.INFO: TCP Data received {"connection_id":147008,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9cb1128012d779f4005f2a750001701132c..."} 
[2026-08-01 01:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9cb1128012d779f4005f2a750001701132c..."} 
[2026-08-01 01:41:08] local.INFO: Processing buffer {"connection_id":147008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9cb1128012d779f4005f2a750001701132c..."} 
[2026-08-01 01:41:08] local.INFO: Packet analysis {"connection_id":147008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9cb"} 
[2026-08-01 01:41:08] local.INFO: Extracted packet for processing {"connection_id":147008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9cb"} 
[2026-08-01 01:41:08] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":23,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095224320001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01:41: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-08-01 01:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785528521000,"timestamp_ms":1785528521000,"timestamp_seconds":1785528521,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9cb1128"} 
[2026-08-01 01:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:41: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-08-01 01: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-01 01:41:08] 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-08-01 01: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-08-01 01:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":147008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":147008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":147008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095224320001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095224320001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:41:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:41:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095224320001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":147008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:41:08] local.INFO: GPS data processed {"connection_id":147008,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:41:08] local.INFO: Acknowledgment sent {"connection_id":147008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:41:13] local.INFO: TCP Data received {"connection_id":147008,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9cb1128012d779f4005f2a750001701132c..."} 
[2026-08-01 01:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9cb1128012d779f4005f2a750001701132c..."} 
[2026-08-01 01:41:13] local.INFO: Processing buffer {"connection_id":147008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9cb1128012d779f4005f2a750001701132c..."} 
[2026-08-01 01:41:13] local.INFO: Packet analysis {"connection_id":147008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9cb"} 
[2026-08-01 01:41:13] local.INFO: Extracted packet for processing {"connection_id":147008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9cb"} 
[2026-08-01 01:41:13] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":23,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 01:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095224320001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:41:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 01:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785528521000,"timestamp_ms":1785528521000,"timestamp_seconds":1785528521,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9cb1128"} 
[2026-08-01 01:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:41:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 01:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-01 01:41:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 01:41:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 01:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":147008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":147008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":147008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:41:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095224320001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095224320001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:41:13] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:41:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:41:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095224320001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":147008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:41:13] local.INFO: GPS data processed {"connection_id":147008,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:41:13] local.INFO: Acknowledgment sent {"connection_id":147008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:41:57] local.INFO: TCP Data received {"connection_id":148325,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:41:57] local.INFO: Processing buffer {"connection_id":148325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:41:57] local.INFO: IMEI packet received {"connection_id":148325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":148325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:42:02] local.INFO: TCP Data received {"connection_id":148325,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:42:02] local.INFO: Processing buffer {"connection_id":148325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:42:02] local.INFO: IMEI packet received {"connection_id":148325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":148325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:42:03] local.INFO: TCP Data received {"connection_id":148325,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9cb1128012d779f4005f2a750001701132c..."} 
[2026-08-01 01:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9cb1128012d779f4005f2a750001701132c..."} 
[2026-08-01 01:42:03] local.INFO: Processing buffer {"connection_id":148325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9cb1128012d779f4005f2a750001701132c..."} 
[2026-08-01 01:42:03] local.INFO: Packet analysis {"connection_id":148325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9cb"} 
[2026-08-01 01:42:03] local.INFO: Extracted packet for processing {"connection_id":148325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9cb"} 
[2026-08-01 01:42:03] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":23,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095224320001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01:42: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-08-01 01:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785528521000,"timestamp_ms":1785528521000,"timestamp_seconds":1785528521,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9cb1128"} 
[2026-08-01 01:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:42: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-08-01 01: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-01 01:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 01: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-08-01 01:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095224320001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095224320001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:42:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:42:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095224320001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":148325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:42:03] local.INFO: GPS data processed {"connection_id":148325,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:42:03] local.INFO: Acknowledgment sent {"connection_id":148325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:42:34] local.INFO: TCP Data received {"connection_id":148325,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9cb1128012d779f4005f2a750001701132c..."} 
[2026-08-01 01:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9cb1128012d779f4005f2a750001701132c..."} 
[2026-08-01 01:42:34] local.INFO: Processing buffer {"connection_id":148325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9cb1128012d779f4005f2a750001701132c..."} 
[2026-08-01 01:42:34] local.INFO: Packet analysis {"connection_id":148325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9cb"} 
[2026-08-01 01:42:34] local.INFO: Extracted packet for processing {"connection_id":148325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9cb"} 
[2026-08-01 01:42:34] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":23,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095224320001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01:42:34] 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-08-01 01:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785528521000,"timestamp_ms":1785528521000,"timestamp_seconds":1785528521,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9cb1128"} 
[2026-08-01 01:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:42: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-08-01 01: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-01 01:42:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 01: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-08-01 01:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095224320001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095224320001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:42:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:42:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095224320001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":148325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:42:34] local.INFO: GPS data processed {"connection_id":148325,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:42:34] local.INFO: Acknowledgment sent {"connection_id":148325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:42:57] local.INFO: TCP Data received {"connection_id":147009,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:42:57] local.INFO: Processing buffer {"connection_id":147009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:42:57] local.INFO: IMEI packet received {"connection_id":147009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":147009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:43:02] local.INFO: TCP Data received {"connection_id":147009,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:43:02] local.INFO: Processing buffer {"connection_id":147009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:43:02] local.INFO: IMEI packet received {"connection_id":147009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":147009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:43:03] local.INFO: TCP Data received {"connection_id":147009,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9cb1128012d779f4005f2a750001701132c..."} 
[2026-08-01 01:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9cb1128012d779f4005f2a750001701132c..."} 
[2026-08-01 01:43:03] local.INFO: Processing buffer {"connection_id":147009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9cb1128012d779f4005f2a750001701132c..."} 
[2026-08-01 01:43:03] local.INFO: Packet analysis {"connection_id":147009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9cb"} 
[2026-08-01 01:43:03] local.INFO: Extracted packet for processing {"connection_id":147009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9cb"} 
[2026-08-01 01:43:03] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":23,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 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-08-01 01:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095224320001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01: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-08-01 01:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785528521000,"timestamp_ms":1785528521000,"timestamp_seconds":1785528521,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9cb1128"} 
[2026-08-01 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-08-01 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-08-01 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-01 01:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 01:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095224320001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095224320001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:43:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:43:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095224320001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":147009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:43:03] local.INFO: GPS data processed {"connection_id":147009,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:43:03] local.INFO: Acknowledgment sent {"connection_id":147009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:43:34] local.INFO: TCP Data received {"connection_id":147009,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9ce8bc8012d779f4005f2a7500017011326..."} 
[2026-08-01 01:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9ce8bc8012d779f4005f2a7500017011326..."} 
[2026-08-01 01:43:34] local.INFO: Processing buffer {"connection_id":147009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9ce8bc8012d779f4005f2a7500017011326..."} 
[2026-08-01 01:43:34] local.INFO: Packet analysis {"connection_id":147009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9ce"} 
[2026-08-01 01:43:34] local.INFO: Extracted packet for processing {"connection_id":147009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9ce"} 
[2026-08-01 01:43:34] local.INFO: GPS Element Parsed {"raw_longitude":762814272,"raw_latitude":99788624,"longitude_deg":76.2814272,"latitude_deg":9.9788624,"altitude":23,"angle":275,"satellites":38,"speed":0,"hex_longitude":"2d779f40","hex_latitude":"05f2a750","is_valid_coordinates":true} 
[2026-08-01 01:43: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-08-01 01:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095301376001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01:43:34] 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-08-01 01:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785528749000,"timestamp_ms":1785528749000,"timestamp_seconds":1785528749,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9ce8bc8"} 
[2026-08-01 01:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:43: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-08-01 01: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 01:43:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 01: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-08-01 01:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095301376001,"66":25321,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095301376001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:43:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:43:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095301376001,"power":25321,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":147009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:43:34] local.INFO: GPS data processed {"connection_id":147009,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:43:34] local.INFO: Acknowledgment sent {"connection_id":147009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:43:59] local.INFO: TCP Data received {"connection_id":145987,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:43:59] local.INFO: Processing buffer {"connection_id":145987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:43:59] local.INFO: IMEI packet received {"connection_id":145987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":145987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:44:00] local.INFO: TCP Data received {"connection_id":145987,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:44:00] local.INFO: Processing buffer {"connection_id":145987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:44:00] local.INFO: IMEI packet received {"connection_id":145987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":145987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:44:02] local.INFO: TCP Data received {"connection_id":145987,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:44:02] local.INFO: Processing buffer {"connection_id":145987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:44:02] local.INFO: IMEI packet received {"connection_id":145987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":145987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:44:02] local.INFO: TCP Data received {"connection_id":145987,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9cea338012d779f0005f2a638001700fa28..."} 
[2026-08-01 01:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9cea338012d779f0005f2a638001700fa28..."} 
[2026-08-01 01:44:02] local.INFO: Processing buffer {"connection_id":145987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9cea338012d779f0005f2a638001700fa28..."} 
[2026-08-01 01:44:02] local.INFO: Packet analysis {"connection_id":145987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9ce"} 
[2026-08-01 01:44:02] local.INFO: Extracted packet for processing {"connection_id":145987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9ce"} 
[2026-08-01 01:44:02] local.INFO: GPS Element Parsed {"raw_longitude":762814208,"raw_latitude":99788344,"longitude_deg":76.2814208,"latitude_deg":9.9788344,"altitude":23,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d779f00","hex_latitude":"05f2a638","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095359744001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619678606100484096,"note":"Value kept but may cause issues"} 
[2026-08-01 01:44: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-08-01 01:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785528755000,"timestamp_ms":1785528755000,"timestamp_seconds":1785528755,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9cea338"} 
[2026-08-01 01:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:44: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-08-01 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-01 01:44:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 01: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-08-01 01:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":145987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":145987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":145987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:44:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095359744001,"66":27658,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619678606100484096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095359744001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:44:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:44:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619678606100484096,"description":"Unknown IO ID 45"} 
[2026-08-01 01:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095359744001,"power":27658,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619678606100484096}} 
[2026-08-01 01:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":145987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:44:02] local.INFO: GPS data processed {"connection_id":145987,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:44:02] local.INFO: Acknowledgment sent {"connection_id":145987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:44:07] local.INFO: TCP Data received {"connection_id":145987,"ip":"117.224.167.108","data_length":93,"data_hex":"00000000000000518e010000019fb9cef540012d779f0005f2a638001700fa2b..."} 
[2026-08-01 01:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145987,"packet_length":93,"packet_hex":"00000000000000518e010000019fb9cef540012d779f0005f2a638001700fa2b..."} 
[2026-08-01 01:44:08] local.INFO: Processing buffer {"connection_id":145987,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fb9cef540012d779f0005f2a638001700fa2b..."} 
[2026-08-01 01:44:08] local.INFO: Packet analysis {"connection_id":145987,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fb9ce"} 
[2026-08-01 01:44:08] local.INFO: Extracted packet for processing {"connection_id":145987,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fb9ce"} 
[2026-08-01 01:44:08] local.INFO: GPS Element Parsed {"raw_longitude":762814208,"raw_latitude":99788344,"longitude_deg":76.2814208,"latitude_deg":9.9788344,"altitude":23,"angle":250,"satellites":43,"speed":0,"hex_longitude":"2d779f00","hex_latitude":"05f2a638","is_valid_coordinates":true} 
[2026-08-01 01:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-08-01 01:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 01:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 01:44:08] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:44:08] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-01 01:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145987,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-01 01:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145987,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-01 01:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145987,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-01 01:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-01 01:44:08] local.WARNING: DEBUG: No valid data to process  
[2026-08-01 01:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":145987,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-01 01:44:08] local.ERROR: GPS data processing failed {"connection_id":145987,"error":"No valid data to process"} 
[2026-08-01 01:44:08] local.INFO: Acknowledgment sent {"connection_id":145987,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-01 01:44:38] local.INFO: TCP Data received {"connection_id":145987,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9cf4748012d779f0005f2a638001700fa29..."} 
[2026-08-01 01:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9cf4748012d779f0005f2a638001700fa29..."} 
[2026-08-01 01:44:38] local.INFO: Processing buffer {"connection_id":145987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9cf4748012d779f0005f2a638001700fa29..."} 
[2026-08-01 01:44:38] local.INFO: Packet analysis {"connection_id":145987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9cf"} 
[2026-08-01 01:44:38] local.INFO: Extracted packet for processing {"connection_id":145987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9cf"} 
[2026-08-01 01:44:38] local.INFO: GPS Element Parsed {"raw_longitude":762814208,"raw_latitude":99788344,"longitude_deg":76.2814208,"latitude_deg":9.9788344,"altitude":23,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d779f00","hex_latitude":"05f2a638","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095366656001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619608237356234752,"note":"Value kept but may cause issues"} 
[2026-08-01 01:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 01:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785528797000,"timestamp_ms":1785528797000,"timestamp_seconds":1785528797,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9cf4748"} 
[2026-08-01 01:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:44: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-08-01 01: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 01:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 01: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-08-01 01:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095366656001,"66":27767,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619608237356234752},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095366656001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:44:38] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:44:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619608237356234752,"description":"Unknown IO ID 45"} 
[2026-08-01 01:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095366656001,"power":27767,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619608237356234752}} 
[2026-08-01 01:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":145987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:44:38] local.INFO: GPS data processed {"connection_id":145987,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:44:38] local.INFO: Acknowledgment sent {"connection_id":145987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:44:57] local.INFO: TCP Data received {"connection_id":145787,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:44:57] local.INFO: Processing buffer {"connection_id":145787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:44:57] local.INFO: IMEI packet received {"connection_id":145787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":145787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:45:02] local.INFO: TCP Data received {"connection_id":145787,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:45:02] local.INFO: Processing buffer {"connection_id":145787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:45:02] local.INFO: IMEI packet received {"connection_id":145787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":145787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:45:03] local.INFO: TCP Data received {"connection_id":145787,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9cf9950012d779f0005f2a638001700fa2b..."} 
[2026-08-01 01:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9cf9950012d779f0005f2a638001700fa2b..."} 
[2026-08-01 01:45:03] local.INFO: Processing buffer {"connection_id":145787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9cf9950012d779f0005f2a638001700fa2b..."} 
[2026-08-01 01:45:03] local.INFO: Packet analysis {"connection_id":145787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9cf"} 
[2026-08-01 01:45:03] local.INFO: Extracted packet for processing {"connection_id":145787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9cf"} 
[2026-08-01 01:45:03] local.INFO: GPS Element Parsed {"raw_longitude":762814208,"raw_latitude":99788344,"longitude_deg":76.2814208,"latitude_deg":9.9788344,"altitude":23,"angle":250,"satellites":43,"speed":0,"hex_longitude":"2d779f00","hex_latitude":"05f2a638","is_valid_coordinates":true} 
[2026-08-01 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-08-01 01:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095372032001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619608237356234752,"note":"Value kept but may cause issues"} 
[2026-08-01 01:45: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-08-01 01:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785528818000,"timestamp_ms":1785528818000,"timestamp_seconds":1785528818,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9cf9950"} 
[2026-08-01 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-08-01 01:45: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-08-01 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 01:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 01:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095372032001,"66":27484,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619608237356234752},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095372032001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:45:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:45:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619608237356234752,"description":"Unknown IO ID 45"} 
[2026-08-01 01:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095372032001,"power":27484,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619608237356234752}} 
[2026-08-01 01:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":145787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:45:03] local.INFO: GPS data processed {"connection_id":145787,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:45:03] local.INFO: Acknowledgment sent {"connection_id":145787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:45:34] local.INFO: TCP Data received {"connection_id":145787,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9cfc448012d779f0005f2a638001700fa29..."} 
[2026-08-01 01:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9cfc448012d779f0005f2a638001700fa29..."} 
[2026-08-01 01:45:34] local.INFO: Processing buffer {"connection_id":145787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9cfc448012d779f0005f2a638001700fa29..."} 
[2026-08-01 01:45:34] local.INFO: Packet analysis {"connection_id":145787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9cf"} 
[2026-08-01 01:45:34] local.INFO: Extracted packet for processing {"connection_id":145787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9cf"} 
[2026-08-01 01:45:34] local.INFO: GPS Element Parsed {"raw_longitude":762814208,"raw_latitude":99788344,"longitude_deg":76.2814208,"latitude_deg":9.9788344,"altitude":23,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d779f00","hex_latitude":"05f2a638","is_valid_coordinates":true} 
[2026-08-01 01:45: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-08-01 01:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095377408001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619608237356234752,"note":"Value kept but may cause issues"} 
[2026-08-01 01:45:34] 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-08-01 01:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785528829000,"timestamp_ms":1785528829000,"timestamp_seconds":1785528829,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9cfc448"} 
[2026-08-01 01:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01: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-08-01 01: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-01 01:45: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-08-01 01: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-08-01 01:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095377408001,"66":27919,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619608237356234752},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095377408001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:45:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:45:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619608237356234752,"description":"Unknown IO ID 45"} 
[2026-08-01 01:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095377408001,"power":27919,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619608237356234752}} 
[2026-08-01 01:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":145787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:45:34] local.INFO: GPS data processed {"connection_id":145787,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:45:34] local.INFO: Acknowledgment sent {"connection_id":145787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:45:57] local.INFO: TCP Data received {"connection_id":147010,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:45:57] local.INFO: Processing buffer {"connection_id":147010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:45:57] local.INFO: IMEI packet received {"connection_id":147010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":147010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:46:02] local.INFO: TCP Data received {"connection_id":147010,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:46:02] local.INFO: Processing buffer {"connection_id":147010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:46:02] local.INFO: IMEI packet received {"connection_id":147010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":147010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:46:03] local.INFO: TCP Data received {"connection_id":147010,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9cfc448012d779f0005f2a638001700fa29..."} 
[2026-08-01 01:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9cfc448012d779f0005f2a638001700fa29..."} 
[2026-08-01 01:46:03] local.INFO: Processing buffer {"connection_id":147010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9cfc448012d779f0005f2a638001700fa29..."} 
[2026-08-01 01:46:03] local.INFO: Packet analysis {"connection_id":147010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9cf"} 
[2026-08-01 01:46:03] local.INFO: Extracted packet for processing {"connection_id":147010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9cf"} 
[2026-08-01 01:46:03] local.INFO: GPS Element Parsed {"raw_longitude":762814208,"raw_latitude":99788344,"longitude_deg":76.2814208,"latitude_deg":9.9788344,"altitude":23,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d779f00","hex_latitude":"05f2a638","is_valid_coordinates":true} 
[2026-08-01 01:46: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-08-01 01:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095377408001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619608237356234752,"note":"Value kept but may cause issues"} 
[2026-08-01 01:46: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-08-01 01:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785528829000,"timestamp_ms":1785528829000,"timestamp_seconds":1785528829,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9cfc448"} 
[2026-08-01 01:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:46: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-08-01 01:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-01 01:46: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-08-01 01:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 01:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095377408001,"66":27919,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619608237356234752},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095377408001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:46:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:46:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619608237356234752,"description":"Unknown IO ID 45"} 
[2026-08-01 01:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095377408001,"power":27919,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619608237356234752}} 
[2026-08-01 01:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":147010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:46:03] local.INFO: GPS data processed {"connection_id":147010,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:46:03] local.INFO: Acknowledgment sent {"connection_id":147010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:46:34] local.INFO: TCP Data received {"connection_id":147010,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9cfc448012d779f0005f2a638001700fa29..."} 
[2026-08-01 01:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9cfc448012d779f0005f2a638001700fa29..."} 
[2026-08-01 01:46:34] local.INFO: Processing buffer {"connection_id":147010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9cfc448012d779f0005f2a638001700fa29..."} 
[2026-08-01 01:46:34] local.INFO: Packet analysis {"connection_id":147010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9cf"} 
[2026-08-01 01:46:34] local.INFO: Extracted packet for processing {"connection_id":147010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9cf"} 
[2026-08-01 01:46:34] local.INFO: GPS Element Parsed {"raw_longitude":762814208,"raw_latitude":99788344,"longitude_deg":76.2814208,"latitude_deg":9.9788344,"altitude":23,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d779f00","hex_latitude":"05f2a638","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095377408001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619608237356234752,"note":"Value kept but may cause issues"} 
[2026-08-01 01:46:34] 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-08-01 01:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785528829000,"timestamp_ms":1785528829000,"timestamp_seconds":1785528829,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9cfc448"} 
[2026-08-01 01:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:46: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-08-01 01: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-01 01:46: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-08-01 01: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-08-01 01:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095377408001,"66":27919,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619608237356234752},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095377408001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:46:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:46:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619608237356234752,"description":"Unknown IO ID 45"} 
[2026-08-01 01:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095377408001,"power":27919,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619608237356234752}} 
[2026-08-01 01:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":147010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:46:34] local.INFO: GPS data processed {"connection_id":147010,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:46:34] local.INFO: Acknowledgment sent {"connection_id":147010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:46:57] local.INFO: TCP Data received {"connection_id":145788,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:46:57] local.INFO: Processing buffer {"connection_id":145788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:46:57] local.INFO: IMEI packet received {"connection_id":145788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":145788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:47:02] local.INFO: TCP Data received {"connection_id":145788,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:47:02] local.INFO: Processing buffer {"connection_id":145788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:47:02] local.INFO: IMEI packet received {"connection_id":145788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":145788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:47:03] local.INFO: TCP Data received {"connection_id":145788,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9cfc448012d779f0005f2a638001700fa29..."} 
[2026-08-01 01:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9cfc448012d779f0005f2a638001700fa29..."} 
[2026-08-01 01:47:03] local.INFO: Processing buffer {"connection_id":145788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9cfc448012d779f0005f2a638001700fa29..."} 
[2026-08-01 01:47:03] local.INFO: Packet analysis {"connection_id":145788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9cf"} 
[2026-08-01 01:47:03] local.INFO: Extracted packet for processing {"connection_id":145788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9cf"} 
[2026-08-01 01:47:03] local.INFO: GPS Element Parsed {"raw_longitude":762814208,"raw_latitude":99788344,"longitude_deg":76.2814208,"latitude_deg":9.9788344,"altitude":23,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d779f00","hex_latitude":"05f2a638","is_valid_coordinates":true} 
[2026-08-01 01:47: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-08-01 01:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095377408001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619608237356234752,"note":"Value kept but may cause issues"} 
[2026-08-01 01:47: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-08-01 01:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785528829000,"timestamp_ms":1785528829000,"timestamp_seconds":1785528829,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9cfc448"} 
[2026-08-01 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-08-01 01: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-08-01 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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-01 01:47: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-08-01 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-08-01 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-08-01 01:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095377408001,"66":27919,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619608237356234752},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095377408001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:47:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:47:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619608237356234752,"description":"Unknown IO ID 45"} 
[2026-08-01 01:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095377408001,"power":27919,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619608237356234752}} 
[2026-08-01 01:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":145788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:47:03] local.INFO: GPS data processed {"connection_id":145788,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:47:03] local.INFO: Acknowledgment sent {"connection_id":145788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:47:34] local.INFO: TCP Data received {"connection_id":145788,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9cfc448012d779f0005f2a638001700fa29..."} 
[2026-08-01 01:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9cfc448012d779f0005f2a638001700fa29..."} 
[2026-08-01 01:47:34] local.INFO: Processing buffer {"connection_id":145788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9cfc448012d779f0005f2a638001700fa29..."} 
[2026-08-01 01:47:34] local.INFO: Packet analysis {"connection_id":145788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9cf"} 
[2026-08-01 01:47:34] local.INFO: Extracted packet for processing {"connection_id":145788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9cf"} 
[2026-08-01 01:47:34] local.INFO: GPS Element Parsed {"raw_longitude":762814208,"raw_latitude":99788344,"longitude_deg":76.2814208,"latitude_deg":9.9788344,"altitude":23,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d779f00","hex_latitude":"05f2a638","is_valid_coordinates":true} 
[2026-08-01 01:47: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-08-01 01:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095377408001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619608237356234752,"note":"Value kept but may cause issues"} 
[2026-08-01 01:47:34] 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-08-01 01:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785528829000,"timestamp_ms":1785528829000,"timestamp_seconds":1785528829,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9cfc448"} 
[2026-08-01 01:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01: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-08-01 01: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":92,"data_length":795,"current_offset":136} 
[2026-08-01 01:47: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-08-01 01: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-08-01 01:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095377408001,"66":27919,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619608237356234752},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095377408001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:47:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:47:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619608237356234752,"description":"Unknown IO ID 45"} 
[2026-08-01 01:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095377408001,"power":27919,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619608237356234752}} 
[2026-08-01 01:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":145788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:47:34] local.INFO: GPS data processed {"connection_id":145788,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:47:34] local.INFO: Acknowledgment sent {"connection_id":145788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:47:57] local.INFO: TCP Data received {"connection_id":147011,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:47:57] local.INFO: Processing buffer {"connection_id":147011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:47:57] local.INFO: IMEI packet received {"connection_id":147011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":147011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:48:02] local.INFO: TCP Data received {"connection_id":147011,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:48:02] local.INFO: Processing buffer {"connection_id":147011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:48:02] local.INFO: IMEI packet received {"connection_id":147011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":147011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:48:03] local.INFO: TCP Data received {"connection_id":147011,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9cfc448012d779f0005f2a638001700fa29..."} 
[2026-08-01 01:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9cfc448012d779f0005f2a638001700fa29..."} 
[2026-08-01 01:48:03] local.INFO: Processing buffer {"connection_id":147011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9cfc448012d779f0005f2a638001700fa29..."} 
[2026-08-01 01:48:03] local.INFO: Packet analysis {"connection_id":147011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9cf"} 
[2026-08-01 01:48:03] local.INFO: Extracted packet for processing {"connection_id":147011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9cf"} 
[2026-08-01 01:48:03] local.INFO: GPS Element Parsed {"raw_longitude":762814208,"raw_latitude":99788344,"longitude_deg":76.2814208,"latitude_deg":9.9788344,"altitude":23,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d779f00","hex_latitude":"05f2a638","is_valid_coordinates":true} 
[2026-08-01 01:48: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-08-01 01:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095377408001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619608237356234752,"note":"Value kept but may cause issues"} 
[2026-08-01 01: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-08-01 01:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785528829000,"timestamp_ms":1785528829000,"timestamp_seconds":1785528829,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9cfc448"} 
[2026-08-01 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-08-01 01:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-01 01:48: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-08-01 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-08-01 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-08-01 01:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095377408001,"66":27919,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619608237356234752},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095377408001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:48:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:48:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619608237356234752,"description":"Unknown IO ID 45"} 
[2026-08-01 01:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095377408001,"power":27919,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619608237356234752}} 
[2026-08-01 01:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":147011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:48:03] local.INFO: GPS data processed {"connection_id":147011,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:48:03] local.INFO: Acknowledgment sent {"connection_id":147011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:48:34] local.INFO: TCP Data received {"connection_id":147011,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9cfc448012d779f0005f2a638001700fa29..."} 
[2026-08-01 01:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9cfc448012d779f0005f2a638001700fa29..."} 
[2026-08-01 01:48:34] local.INFO: Processing buffer {"connection_id":147011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9cfc448012d779f0005f2a638001700fa29..."} 
[2026-08-01 01:48:34] local.INFO: Packet analysis {"connection_id":147011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9cf"} 
[2026-08-01 01:48:34] local.INFO: Extracted packet for processing {"connection_id":147011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9cf"} 
[2026-08-01 01:48:34] local.INFO: GPS Element Parsed {"raw_longitude":762814208,"raw_latitude":99788344,"longitude_deg":76.2814208,"latitude_deg":9.9788344,"altitude":23,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d779f00","hex_latitude":"05f2a638","is_valid_coordinates":true} 
[2026-08-01 01:48: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-08-01 01:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095377408001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619608237356234752,"note":"Value kept but may cause issues"} 
[2026-08-01 01:48:34] 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-08-01 01:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785528829000,"timestamp_ms":1785528829000,"timestamp_seconds":1785528829,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9cfc448"} 
[2026-08-01 01:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 01: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-01 01:48: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-08-01 01: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-08-01 01:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095377408001,"66":27919,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619608237356234752},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095377408001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:48:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:48:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619608237356234752,"description":"Unknown IO ID 45"} 
[2026-08-01 01:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095377408001,"power":27919,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619608237356234752}} 
[2026-08-01 01:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":147011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:48:34] local.INFO: GPS data processed {"connection_id":147011,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:48:34] local.INFO: Acknowledgment sent {"connection_id":147011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:49:02] local.INFO: TCP Data received {"connection_id":145789,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:49:02] local.INFO: Processing buffer {"connection_id":145789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:49:02] local.INFO: IMEI packet received {"connection_id":145789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":145789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:49:07] local.INFO: TCP Data received {"connection_id":145789,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:49:07] local.INFO: Processing buffer {"connection_id":145789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:49:07] local.INFO: IMEI packet received {"connection_id":145789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":145789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:49:08] local.INFO: TCP Data received {"connection_id":145789,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9cfc448012d779f0005f2a638001700fa29..."} 
[2026-08-01 01:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9cfc448012d779f0005f2a638001700fa29..."} 
[2026-08-01 01:49:08] local.INFO: Processing buffer {"connection_id":145789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9cfc448012d779f0005f2a638001700fa29..."} 
[2026-08-01 01:49:08] local.INFO: Packet analysis {"connection_id":145789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9cf"} 
[2026-08-01 01:49:08] local.INFO: Extracted packet for processing {"connection_id":145789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9cf"} 
[2026-08-01 01:49:08] local.INFO: GPS Element Parsed {"raw_longitude":762814208,"raw_latitude":99788344,"longitude_deg":76.2814208,"latitude_deg":9.9788344,"altitude":23,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d779f00","hex_latitude":"05f2a638","is_valid_coordinates":true} 
[2026-08-01 01:49: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-08-01 01:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095377408001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619608237356234752,"note":"Value kept but may cause issues"} 
[2026-08-01 01:49: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-08-01 01:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785528829000,"timestamp_ms":1785528829000,"timestamp_seconds":1785528829,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9cfc448"} 
[2026-08-01 01:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:49: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-08-01 01:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-01 01:49:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 01:49:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 01:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:49:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095377408001,"66":27919,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619608237356234752},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095377408001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:49:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:49:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619608237356234752,"description":"Unknown IO ID 45"} 
[2026-08-01 01:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095377408001,"power":27919,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619608237356234752}} 
[2026-08-01 01:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":145789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:49:08] local.INFO: GPS data processed {"connection_id":145789,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:49:08] local.INFO: Acknowledgment sent {"connection_id":145789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:49:13] local.INFO: TCP Data received {"connection_id":145789,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9cfc448012d779f0005f2a638001700fa29..."} 
[2026-08-01 01:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9cfc448012d779f0005f2a638001700fa29..."} 
[2026-08-01 01:49:13] local.INFO: Processing buffer {"connection_id":145789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9cfc448012d779f0005f2a638001700fa29..."} 
[2026-08-01 01:49:13] local.INFO: Packet analysis {"connection_id":145789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9cf"} 
[2026-08-01 01:49:13] local.INFO: Extracted packet for processing {"connection_id":145789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9cf"} 
[2026-08-01 01:49:13] local.INFO: GPS Element Parsed {"raw_longitude":762814208,"raw_latitude":99788344,"longitude_deg":76.2814208,"latitude_deg":9.9788344,"altitude":23,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d779f00","hex_latitude":"05f2a638","is_valid_coordinates":true} 
[2026-08-01 01:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 01:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095377408001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:49:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619608237356234752,"note":"Value kept but may cause issues"} 
[2026-08-01 01:49:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 01:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785528829000,"timestamp_ms":1785528829000,"timestamp_seconds":1785528829,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9cfc448"} 
[2026-08-01 01:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:49:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 01:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-01 01:49:13] 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-08-01 01:49:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 01:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":145789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":145789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":145789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:49:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095377408001,"66":27919,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619608237356234752},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095377408001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:49:13] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:49:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:49:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619608237356234752,"description":"Unknown IO ID 45"} 
[2026-08-01 01:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095377408001,"power":27919,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619608237356234752}} 
[2026-08-01 01:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":145789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:49:13] local.INFO: GPS data processed {"connection_id":145789,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:49:13] local.INFO: Acknowledgment sent {"connection_id":145789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:49:57] local.INFO: TCP Data received {"connection_id":145988,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:49:57] local.INFO: Processing buffer {"connection_id":145988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:49:57] local.INFO: IMEI packet received {"connection_id":145988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":145988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:50:02] local.INFO: TCP Data received {"connection_id":145988,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:50:02] local.INFO: Processing buffer {"connection_id":145988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:50:02] local.INFO: IMEI packet received {"connection_id":145988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":145988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:50:03] local.INFO: TCP Data received {"connection_id":145988,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9d46f98012d77a14005f2a670001500fa2b..."} 
[2026-08-01 01:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9d46f98012d77a14005f2a670001500fa2b..."} 
[2026-08-01 01:50:03] local.INFO: Processing buffer {"connection_id":145988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9d46f98012d77a14005f2a670001500fa2b..."} 
[2026-08-01 01:50:03] local.INFO: Packet analysis {"connection_id":145988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9d4"} 
[2026-08-01 01:50:03] local.INFO: Extracted packet for processing {"connection_id":145988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9d4"} 
[2026-08-01 01:50:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":21,"angle":250,"satellites":43,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095380224001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619608237356234752,"note":"Value kept but may cause issues"} 
[2026-08-01 01:50: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-08-01 01:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785529135000,"timestamp_ms":1785529135000,"timestamp_seconds":1785529135,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9d46f98"} 
[2026-08-01 01:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:50: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-08-01 01:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 01:50: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-08-01 01: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-08-01 01:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095380224001,"66":25875,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619608237356234752},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095380224001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:50:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:50:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619608237356234752,"description":"Unknown IO ID 45"} 
[2026-08-01 01:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095380224001,"power":25875,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619608237356234752}} 
[2026-08-01 01:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":145988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:50:03] local.INFO: GPS data processed {"connection_id":145988,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:50:03] local.INFO: Acknowledgment sent {"connection_id":145988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:50:35] local.INFO: TCP Data received {"connection_id":145988,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9d46f98012d77a14005f2a670001500fa2b..."} 
[2026-08-01 01:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9d46f98012d77a14005f2a670001500fa2b..."} 
[2026-08-01 01:50:35] local.INFO: Processing buffer {"connection_id":145988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9d46f98012d77a14005f2a670001500fa2b..."} 
[2026-08-01 01:50:35] local.INFO: Packet analysis {"connection_id":145988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9d4"} 
[2026-08-01 01:50:35] local.INFO: Extracted packet for processing {"connection_id":145988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9d4"} 
[2026-08-01 01:50:35] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":21,"angle":250,"satellites":43,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095380224001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619608237356234752,"note":"Value kept but may cause issues"} 
[2026-08-01 01:50: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-08-01 01:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785529135000,"timestamp_ms":1785529135000,"timestamp_seconds":1785529135,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9d46f98"} 
[2026-08-01 01:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:50: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-08-01 01: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":15,"data_length":795,"current_offset":136} 
[2026-08-01 01:50: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-08-01 01: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-08-01 01:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":145988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":145988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":145988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095380224001,"66":25875,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619608237356234752},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095380224001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:50:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:50:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619608237356234752,"description":"Unknown IO ID 45"} 
[2026-08-01 01:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095380224001,"power":25875,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619608237356234752}} 
[2026-08-01 01:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":145988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:50:35] local.INFO: GPS data processed {"connection_id":145988,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:50:35] local.INFO: Acknowledgment sent {"connection_id":145988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:50:57] local.INFO: TCP Data received {"connection_id":145790,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:50:57] local.INFO: Processing buffer {"connection_id":145790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:50:57] local.INFO: IMEI packet received {"connection_id":145790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":145790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:51:02] local.INFO: TCP Data received {"connection_id":145790,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:51:02] local.INFO: Processing buffer {"connection_id":145790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:51:02] local.INFO: IMEI packet received {"connection_id":145790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":145790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:51:03] local.INFO: TCP Data received {"connection_id":145790,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9d46f98012d77a14005f2a670001500fa2b..."} 
[2026-08-01 01:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9d46f98012d77a14005f2a670001500fa2b..."} 
[2026-08-01 01:51:03] local.INFO: Processing buffer {"connection_id":145790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9d46f98012d77a14005f2a670001500fa2b..."} 
[2026-08-01 01:51:03] local.INFO: Packet analysis {"connection_id":145790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9d4"} 
[2026-08-01 01:51:03] local.INFO: Extracted packet for processing {"connection_id":145790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9d4"} 
[2026-08-01 01:51:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":21,"angle":250,"satellites":43,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 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-08-01 01:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095380224001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619608237356234752,"note":"Value kept but may cause issues"} 
[2026-08-01 01: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-08-01 01:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785529135000,"timestamp_ms":1785529135000,"timestamp_seconds":1785529135,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9d46f98"} 
[2026-08-01 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-08-01 01:51: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-08-01 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 01:51: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-08-01 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-08-01 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-08-01 01:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095380224001,"66":25875,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619608237356234752},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095380224001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:51:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:51:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619608237356234752,"description":"Unknown IO ID 45"} 
[2026-08-01 01:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095380224001,"power":25875,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619608237356234752}} 
[2026-08-01 01:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":145790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:51:03] local.INFO: GPS data processed {"connection_id":145790,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:51:03] local.INFO: Acknowledgment sent {"connection_id":145790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:51:34] local.INFO: TCP Data received {"connection_id":145790,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9d46f98012d77a14005f2a670001500fa2b..."} 
[2026-08-01 01:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9d46f98012d77a14005f2a670001500fa2b..."} 
[2026-08-01 01:51:34] local.INFO: Processing buffer {"connection_id":145790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9d46f98012d77a14005f2a670001500fa2b..."} 
[2026-08-01 01:51:34] local.INFO: Packet analysis {"connection_id":145790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9d4"} 
[2026-08-01 01:51:34] local.INFO: Extracted packet for processing {"connection_id":145790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9d4"} 
[2026-08-01 01:51:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":21,"angle":250,"satellites":43,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095380224001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619608237356234752,"note":"Value kept but may cause issues"} 
[2026-08-01 01:51:34] 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-08-01 01:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785529135000,"timestamp_ms":1785529135000,"timestamp_seconds":1785529135,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9d46f98"} 
[2026-08-01 01:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:51: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-08-01 01: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 01:51: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-08-01 01: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-08-01 01:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095380224001,"66":25875,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619608237356234752},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095380224001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:51:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:51:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619608237356234752,"description":"Unknown IO ID 45"} 
[2026-08-01 01:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095380224001,"power":25875,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619608237356234752}} 
[2026-08-01 01:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":145790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:51:34] local.INFO: GPS data processed {"connection_id":145790,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:51:34] local.INFO: Acknowledgment sent {"connection_id":145790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:51:57] local.INFO: TCP Data received {"connection_id":145989,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:51:57] local.INFO: Processing buffer {"connection_id":145989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:51:57] local.INFO: IMEI packet received {"connection_id":145989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":145989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:52:02] local.INFO: TCP Data received {"connection_id":145989,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:52:02] local.INFO: Processing buffer {"connection_id":145989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:52:02] local.INFO: IMEI packet received {"connection_id":145989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":145989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:52:09] local.INFO: TCP Data received {"connection_id":145989,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9d46f98012d77a14005f2a670001500fa2b..."} 
[2026-08-01 01:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9d46f98012d77a14005f2a670001500fa2b..."} 
[2026-08-01 01:52:09] local.INFO: Processing buffer {"connection_id":145989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9d46f98012d77a14005f2a670001500fa2b..."} 
[2026-08-01 01:52:09] local.INFO: Packet analysis {"connection_id":145989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9d4"} 
[2026-08-01 01:52:09] local.INFO: Extracted packet for processing {"connection_id":145989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9d4"} 
[2026-08-01 01:52:09] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":21,"angle":250,"satellites":43,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 01:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 01:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095380224001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619608237356234752,"note":"Value kept but may cause issues"} 
[2026-08-01 01:52: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-08-01 01:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785529135000,"timestamp_ms":1785529135000,"timestamp_seconds":1785529135,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9d46f98"} 
[2026-08-01 01:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 01:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 01:52: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-08-01 01:52:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 01:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:52:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095380224001,"66":25875,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619608237356234752},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095380224001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:52:09] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:52:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619608237356234752,"description":"Unknown IO ID 45"} 
[2026-08-01 01:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095380224001,"power":25875,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619608237356234752}} 
[2026-08-01 01:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":145989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:52:09] local.INFO: GPS data processed {"connection_id":145989,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:52:09] local.INFO: Acknowledgment sent {"connection_id":145989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:52:40] local.INFO: TCP Data received {"connection_id":145989,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9d46f98012d77a14005f2a670001500fa2b..."} 
[2026-08-01 01:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9d46f98012d77a14005f2a670001500fa2b..."} 
[2026-08-01 01:52:40] local.INFO: Processing buffer {"connection_id":145989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9d46f98012d77a14005f2a670001500fa2b..."} 
[2026-08-01 01:52:40] local.INFO: Packet analysis {"connection_id":145989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9d4"} 
[2026-08-01 01:52:40] local.INFO: Extracted packet for processing {"connection_id":145989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9d4"} 
[2026-08-01 01:52:40] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":21,"angle":250,"satellites":43,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095380224001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:52:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619608237356234752,"note":"Value kept but may cause issues"} 
[2026-08-01 01:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 01:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785529135000,"timestamp_ms":1785529135000,"timestamp_seconds":1785529135,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9d46f98"} 
[2026-08-01 01:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:52: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-08-01 01:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 01:52: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-08-01 01: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-08-01 01:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":145989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":145989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":145989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095380224001,"66":25875,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619608237356234752},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095380224001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:52:40] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:52:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:52:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619608237356234752,"description":"Unknown IO ID 45"} 
[2026-08-01 01:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095380224001,"power":25875,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619608237356234752}} 
[2026-08-01 01:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":145989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:52:40] local.INFO: GPS data processed {"connection_id":145989,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:52:40] local.INFO: Acknowledgment sent {"connection_id":145989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:53:02] local.INFO: TCP Data received {"connection_id":147012,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:53:02] local.INFO: Processing buffer {"connection_id":147012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:53:02] local.INFO: IMEI packet received {"connection_id":147012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":147012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:53:07] local.INFO: TCP Data received {"connection_id":147012,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:53:07] local.INFO: Processing buffer {"connection_id":147012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:53:07] local.INFO: IMEI packet received {"connection_id":147012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":147012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:53:08] local.INFO: TCP Data received {"connection_id":147012,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9d46f98012d77a14005f2a670001500fa2b..."} 
[2026-08-01 01:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9d46f98012d77a14005f2a670001500fa2b..."} 
[2026-08-01 01:53:08] local.INFO: Processing buffer {"connection_id":147012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9d46f98012d77a14005f2a670001500fa2b..."} 
[2026-08-01 01:53:08] local.INFO: Packet analysis {"connection_id":147012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9d4"} 
[2026-08-01 01:53:08] local.INFO: Extracted packet for processing {"connection_id":147012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9d4"} 
[2026-08-01 01:53:08] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":21,"angle":250,"satellites":43,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095380224001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619608237356234752,"note":"Value kept but may cause issues"} 
[2026-08-01 01:53: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-08-01 01:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785529135000,"timestamp_ms":1785529135000,"timestamp_seconds":1785529135,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9d46f98"} 
[2026-08-01 01:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:53: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-08-01 01: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 01:53:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 01: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-08-01 01:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":147012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":147012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":147012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095380224001,"66":25875,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619608237356234752},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095380224001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:53:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:53:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619608237356234752,"description":"Unknown IO ID 45"} 
[2026-08-01 01:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095380224001,"power":25875,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619608237356234752}} 
[2026-08-01 01:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":147012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:53:08] local.INFO: GPS data processed {"connection_id":147012,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:53:08] local.INFO: Acknowledgment sent {"connection_id":147012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:53:12] local.INFO: TCP Data received {"connection_id":147012,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9d46f98012d77a14005f2a670001500fa2b..."} 
[2026-08-01 01:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9d46f98012d77a14005f2a670001500fa2b..."} 
[2026-08-01 01:53:12] local.INFO: Processing buffer {"connection_id":147012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9d46f98012d77a14005f2a670001500fa2b..."} 
[2026-08-01 01:53:12] local.INFO: Packet analysis {"connection_id":147012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9d4"} 
[2026-08-01 01:53:12] local.INFO: Extracted packet for processing {"connection_id":147012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9d4"} 
[2026-08-01 01:53:12] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":21,"angle":250,"satellites":43,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095380224001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619608237356234752,"note":"Value kept but may cause issues"} 
[2026-08-01 01:53:12] 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-08-01 01:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785529135000,"timestamp_ms":1785529135000,"timestamp_seconds":1785529135,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9d46f98"} 
[2026-08-01 01:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 01: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 01:53:12] 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-08-01 01: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-08-01 01:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":147012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":147012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":147012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095380224001,"66":25875,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619608237356234752},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095380224001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:53:12] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:53:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619608237356234752,"description":"Unknown IO ID 45"} 
[2026-08-01 01:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095380224001,"power":25875,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619608237356234752}} 
[2026-08-01 01:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":147012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:53:12] local.INFO: GPS data processed {"connection_id":147012,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:53:12] local.INFO: Acknowledgment sent {"connection_id":147012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:53:57] local.INFO: TCP Data received {"connection_id":145990,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:53:57] local.INFO: Processing buffer {"connection_id":145990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:53:57] local.INFO: IMEI packet received {"connection_id":145990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":145990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:54:02] local.INFO: TCP Data received {"connection_id":145990,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:54:02] local.INFO: Processing buffer {"connection_id":145990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:54:02] local.INFO: IMEI packet received {"connection_id":145990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":145990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:54:03] local.INFO: TCP Data received {"connection_id":145990,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9d46f98012d77a14005f2a670001500fa2b..."} 
[2026-08-01 01:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9d46f98012d77a14005f2a670001500fa2b..."} 
[2026-08-01 01:54:03] local.INFO: Processing buffer {"connection_id":145990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9d46f98012d77a14005f2a670001500fa2b..."} 
[2026-08-01 01:54:03] local.INFO: Packet analysis {"connection_id":145990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9d4"} 
[2026-08-01 01:54:03] local.INFO: Extracted packet for processing {"connection_id":145990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9d4"} 
[2026-08-01 01:54:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":21,"angle":250,"satellites":43,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095380224001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619608237356234752,"note":"Value kept but may cause issues"} 
[2026-08-01 01:54: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-08-01 01:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785529135000,"timestamp_ms":1785529135000,"timestamp_seconds":1785529135,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9d46f98"} 
[2026-08-01 01:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:54: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-08-01 01: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 01:54: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-08-01 01: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-08-01 01:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095380224001,"66":25875,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619608237356234752},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095380224001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:54:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:54:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619608237356234752,"description":"Unknown IO ID 45"} 
[2026-08-01 01:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095380224001,"power":25875,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619608237356234752}} 
[2026-08-01 01:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":145990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:54:03] local.INFO: GPS data processed {"connection_id":145990,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:54:03] local.INFO: Acknowledgment sent {"connection_id":145990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:54:34] local.INFO: TCP Data received {"connection_id":145990,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9d90760012d77a14005f2a670001200fa2a..."} 
[2026-08-01 01:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9d90760012d77a14005f2a670001200fa2a..."} 
[2026-08-01 01:54:34] local.INFO: Processing buffer {"connection_id":145990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9d90760012d77a14005f2a670001200fa2a..."} 
[2026-08-01 01:54:34] local.INFO: Packet analysis {"connection_id":145990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9d9"} 
[2026-08-01 01:54:34] local.INFO: Extracted packet for processing {"connection_id":145990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9d9"} 
[2026-08-01 01:54:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":18,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095458560001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 01:54:34] 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-08-01 01:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785529436000,"timestamp_ms":1785529436000,"timestamp_seconds":1785529436,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9d90760"} 
[2026-08-01 01:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:54: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-08-01 01: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-01 01:54:34] 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-08-01 01: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-08-01 01:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095458560001,"66":25625,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095458560001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:54:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:54:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 01:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095458560001,"power":25625,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 01:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":145990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:54:34] local.INFO: GPS data processed {"connection_id":145990,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:54:34] local.INFO: Acknowledgment sent {"connection_id":145990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:55:02] local.INFO: TCP Data received {"connection_id":145991,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:55:02] local.INFO: Processing buffer {"connection_id":145991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:55:02] local.INFO: IMEI packet received {"connection_id":145991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":145991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:55:07] local.INFO: TCP Data received {"connection_id":145991,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:55:07] local.INFO: Processing buffer {"connection_id":145991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:55:07] local.INFO: IMEI packet received {"connection_id":145991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":145991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:55:08] local.INFO: TCP Data received {"connection_id":145991,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9d90760012d77a14005f2a670001200fa2a..."} 
[2026-08-01 01:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9d90760012d77a14005f2a670001200fa2a..."} 
[2026-08-01 01:55:08] local.INFO: Processing buffer {"connection_id":145991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9d90760012d77a14005f2a670001200fa2a..."} 
[2026-08-01 01:55:08] local.INFO: Packet analysis {"connection_id":145991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9d9"} 
[2026-08-01 01:55:08] local.INFO: Extracted packet for processing {"connection_id":145991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9d9"} 
[2026-08-01 01:55:08] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":18,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 01:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 01:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095458560001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 01:55: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-08-01 01:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785529436000,"timestamp_ms":1785529436000,"timestamp_seconds":1785529436,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9d90760"} 
[2026-08-01 01:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 01:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-01 01:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 01:55:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 01:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095458560001,"66":25625,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095458560001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:55:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:55:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 01:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095458560001,"power":25625,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 01:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":145991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:55:08] local.INFO: GPS data processed {"connection_id":145991,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:55:08] local.INFO: Acknowledgment sent {"connection_id":145991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:55:13] local.INFO: TCP Data received {"connection_id":145991,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9d90760012d77a14005f2a670001200fa2a..."} 
[2026-08-01 01:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9d90760012d77a14005f2a670001200fa2a..."} 
[2026-08-01 01:55:13] local.INFO: Processing buffer {"connection_id":145991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9d90760012d77a14005f2a670001200fa2a..."} 
[2026-08-01 01:55:13] local.INFO: Packet analysis {"connection_id":145991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9d9"} 
[2026-08-01 01:55:13] local.INFO: Extracted packet for processing {"connection_id":145991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9d9"} 
[2026-08-01 01:55:13] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":18,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 01:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 01:55:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095458560001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:55:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:55:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 01:55:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 01:55:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785529436000,"timestamp_ms":1785529436000,"timestamp_seconds":1785529436,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9d90760"} 
[2026-08-01 01:55:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:55:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 01:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-01 01:55:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 01:55:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 01:55:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:55:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:55:13] local.INFO: Teltonika packet parsed successfully {"connection_id":145991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:55:13] local.INFO: Passing IMEI to GPS processor {"connection_id":145991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:55:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":145991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:55:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:55:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:55:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:55:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095458560001,"66":25625,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:55:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:55:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:55:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095458560001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:55:13] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:55:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:55:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:55:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 01:55:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095458560001,"power":25625,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 01:55:13] local.INFO: DEBUG: GPS processor result {"connection_id":145991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:55:13] local.INFO: GPS data processed {"connection_id":145991,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:55:13] local.INFO: Acknowledgment sent {"connection_id":145991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:55:57] local.INFO: TCP Data received {"connection_id":147013,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:55:57] local.INFO: Processing buffer {"connection_id":147013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:55:57] local.INFO: IMEI packet received {"connection_id":147013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":147013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:56:02] local.INFO: TCP Data received {"connection_id":147013,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:56:02] local.INFO: Processing buffer {"connection_id":147013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:56:02] local.INFO: IMEI packet received {"connection_id":147013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":147013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:56:03] local.INFO: TCP Data received {"connection_id":147013,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9d90760012d77a14005f2a670001200fa2a..."} 
[2026-08-01 01:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9d90760012d77a14005f2a670001200fa2a..."} 
[2026-08-01 01:56:03] local.INFO: Processing buffer {"connection_id":147013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9d90760012d77a14005f2a670001200fa2a..."} 
[2026-08-01 01:56:03] local.INFO: Packet analysis {"connection_id":147013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9d9"} 
[2026-08-01 01:56:03] local.INFO: Extracted packet for processing {"connection_id":147013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9d9"} 
[2026-08-01 01:56:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":18,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 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-08-01 01:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095458560001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 01:56: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-08-01 01:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785529436000,"timestamp_ms":1785529436000,"timestamp_seconds":1785529436,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9d90760"} 
[2026-08-01 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-08-01 01:56: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-08-01 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-01 01:56: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-08-01 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-08-01 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-08-01 01:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095458560001,"66":25625,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095458560001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:56:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:56:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 01:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095458560001,"power":25625,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 01:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":147013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:56:03] local.INFO: GPS data processed {"connection_id":147013,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:56:03] local.INFO: Acknowledgment sent {"connection_id":147013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:56:35] local.INFO: TCP Data received {"connection_id":147013,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9d90760012d77a14005f2a670001200fa2a..."} 
[2026-08-01 01:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9d90760012d77a14005f2a670001200fa2a..."} 
[2026-08-01 01:56:35] local.INFO: Processing buffer {"connection_id":147013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9d90760012d77a14005f2a670001200fa2a..."} 
[2026-08-01 01:56:35] local.INFO: Packet analysis {"connection_id":147013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9d9"} 
[2026-08-01 01:56:35] local.INFO: Extracted packet for processing {"connection_id":147013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9d9"} 
[2026-08-01 01:56:35] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":18,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 01:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 01:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095458560001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 01:56: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-08-01 01:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785529436000,"timestamp_ms":1785529436000,"timestamp_seconds":1785529436,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9d90760"} 
[2026-08-01 01:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:56: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-08-01 01:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-01 01:56: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-08-01 01:56:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 01:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095458560001,"66":25625,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095458560001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:56:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:56:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 01:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095458560001,"power":25625,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 01:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":147013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:56:35] local.INFO: GPS data processed {"connection_id":147013,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:56:35] local.INFO: Acknowledgment sent {"connection_id":147013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:56:57] local.INFO: TCP Data received {"connection_id":148326,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:56:57] local.INFO: Processing buffer {"connection_id":148326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:56:57] local.INFO: IMEI packet received {"connection_id":148326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":148326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:57:04] local.INFO: TCP Data received {"connection_id":148326,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:57:04] local.INFO: Processing buffer {"connection_id":148326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:57:04] local.INFO: IMEI packet received {"connection_id":148326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":148326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:57:09] local.INFO: TCP Data received {"connection_id":148326,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9d90760012d77a14005f2a670001200fa2a..."} 
[2026-08-01 01:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9d90760012d77a14005f2a670001200fa2a..."} 
[2026-08-01 01:57:09] local.INFO: Processing buffer {"connection_id":148326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9d90760012d77a14005f2a670001200fa2a..."} 
[2026-08-01 01:57:09] local.INFO: Packet analysis {"connection_id":148326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9d9"} 
[2026-08-01 01:57:09] local.INFO: Extracted packet for processing {"connection_id":148326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9d9"} 
[2026-08-01 01:57:09] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":18,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095458560001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 01:57: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-08-01 01:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785529436000,"timestamp_ms":1785529436000,"timestamp_seconds":1785529436,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9d90760"} 
[2026-08-01 01:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 01:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-01 01:57:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 01: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-08-01 01:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":148326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":148326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":148326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095458560001,"66":25625,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095458560001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:57:09] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:57:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 01:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095458560001,"power":25625,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 01:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":148326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:57:09] local.INFO: GPS data processed {"connection_id":148326,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:57:09] local.INFO: Acknowledgment sent {"connection_id":148326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:57:10] local.INFO: TCP Data received {"connection_id":148326,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9d90760012d77a14005f2a670001200fa2a..."} 
[2026-08-01 01:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9d90760012d77a14005f2a670001200fa2a..."} 
[2026-08-01 01:57:10] local.INFO: Processing buffer {"connection_id":148326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9d90760012d77a14005f2a670001200fa2a..."} 
[2026-08-01 01:57:10] local.INFO: Packet analysis {"connection_id":148326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9d9"} 
[2026-08-01 01:57:10] local.INFO: Extracted packet for processing {"connection_id":148326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9d9"} 
[2026-08-01 01:57:10] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":18,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095458560001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 01:57: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-08-01 01:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785529436000,"timestamp_ms":1785529436000,"timestamp_seconds":1785529436,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9d90760"} 
[2026-08-01 01:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:57:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 01:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-01 01:57:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 01: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-08-01 01:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":148326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":148326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":148326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:57:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095458560001,"66":25625,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095458560001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:57:10] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:57:10] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 01:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095458560001,"power":25625,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 01:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":148326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:57:10] local.INFO: GPS data processed {"connection_id":148326,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:57:10] local.INFO: Acknowledgment sent {"connection_id":148326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:57:42] local.INFO: TCP Data received {"connection_id":148326,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9d90760012d77a14005f2a670001200fa2a..."} 
[2026-08-01 01:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9d90760012d77a14005f2a670001200fa2a..."} 
[2026-08-01 01:57:42] local.INFO: Processing buffer {"connection_id":148326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9d90760012d77a14005f2a670001200fa2a..."} 
[2026-08-01 01:57:42] local.INFO: Packet analysis {"connection_id":148326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9d9"} 
[2026-08-01 01:57:42] local.INFO: Extracted packet for processing {"connection_id":148326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9d9"} 
[2026-08-01 01:57:42] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":18,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095458560001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:57:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 01:57: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-08-01 01:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785529436000,"timestamp_ms":1785529436000,"timestamp_seconds":1785529436,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9d90760"} 
[2026-08-01 01:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:57: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-08-01 01: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-01 01:57:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 01: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-08-01 01:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":148326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":148326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":148326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095458560001,"66":25625,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095458560001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:57:42] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:57:42] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 01:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095458560001,"power":25625,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 01:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":148326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:57:42] local.INFO: GPS data processed {"connection_id":148326,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:57:42] local.INFO: Acknowledgment sent {"connection_id":148326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:57:57] local.INFO: TCP Data received {"connection_id":145992,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:57:57] local.INFO: Processing buffer {"connection_id":145992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:57:57] local.INFO: IMEI packet received {"connection_id":145992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":145992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:58:02] local.INFO: TCP Data received {"connection_id":145992,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:58:02] local.INFO: Processing buffer {"connection_id":145992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:58:02] local.INFO: IMEI packet received {"connection_id":145992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":145992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:58:03] local.INFO: TCP Data received {"connection_id":145992,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9d90760012d77a14005f2a670001200fa2a..."} 
[2026-08-01 01:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9d90760012d77a14005f2a670001200fa2a..."} 
[2026-08-01 01:58:03] local.INFO: Processing buffer {"connection_id":145992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9d90760012d77a14005f2a670001200fa2a..."} 
[2026-08-01 01:58:03] local.INFO: Packet analysis {"connection_id":145992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9d9"} 
[2026-08-01 01:58:03] local.INFO: Extracted packet for processing {"connection_id":145992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9d9"} 
[2026-08-01 01:58:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":18,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 01: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-08-01 01:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095458560001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 01:58: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-08-01 01:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785529436000,"timestamp_ms":1785529436000,"timestamp_seconds":1785529436,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9d90760"} 
[2026-08-01 01:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:58: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-08-01 01: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-08-01 01: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-08-01 01: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-08-01 01:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095458560001,"66":25625,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095458560001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:58:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:58:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 01:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095458560001,"power":25625,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 01:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":145992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:58:03] local.INFO: GPS data processed {"connection_id":145992,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:58:03] local.INFO: Acknowledgment sent {"connection_id":145992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:58:35] local.INFO: TCP Data received {"connection_id":145992,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9d90760012d77a14005f2a670001200fa2a..."} 
[2026-08-01 01:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9d90760012d77a14005f2a670001200fa2a..."} 
[2026-08-01 01:58:35] local.INFO: Processing buffer {"connection_id":145992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9d90760012d77a14005f2a670001200fa2a..."} 
[2026-08-01 01:58:35] local.INFO: Packet analysis {"connection_id":145992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9d9"} 
[2026-08-01 01:58:35] local.INFO: Extracted packet for processing {"connection_id":145992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9d9"} 
[2026-08-01 01:58:35] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":18,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 01:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 01:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095458560001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 01:58: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-08-01 01:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785529436000,"timestamp_ms":1785529436000,"timestamp_seconds":1785529436,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9d90760"} 
[2026-08-01 01:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 01:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-01 01:58: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-08-01 01:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 01:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":145992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":145992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":145992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095458560001,"66":25625,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095458560001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:58:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:58:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 01:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095458560001,"power":25625,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 01:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":145992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:58:35] local.INFO: GPS data processed {"connection_id":145992,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:58:35] local.INFO: Acknowledgment sent {"connection_id":145992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:59:02] local.INFO: TCP Data received {"connection_id":147014,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:59:02] local.INFO: Processing buffer {"connection_id":147014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:59:02] local.INFO: IMEI packet received {"connection_id":147014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":147014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 01:59:07] local.INFO: TCP Data received {"connection_id":147014,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:59:07] local.INFO: Processing buffer {"connection_id":147014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:59:07] local.INFO: IMEI packet received {"connection_id":147014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 01:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":147014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 01:59:08] local.INFO: TCP Data received {"connection_id":147014,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9d90760012d77a14005f2a670001200fa2a..."} 
[2026-08-01 01:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9d90760012d77a14005f2a670001200fa2a..."} 
[2026-08-01 01:59:08] local.INFO: Processing buffer {"connection_id":147014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9d90760012d77a14005f2a670001200fa2a..."} 
[2026-08-01 01:59:08] local.INFO: Packet analysis {"connection_id":147014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9d9"} 
[2026-08-01 01:59:08] local.INFO: Extracted packet for processing {"connection_id":147014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9d9"} 
[2026-08-01 01:59:08] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":18,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 01:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 01:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095458560001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 01:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 01:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785529436000,"timestamp_ms":1785529436000,"timestamp_seconds":1785529436,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9d90760"} 
[2026-08-01 01:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 01:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-01 01:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 01:59:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 01:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":147014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":147014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":147014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095458560001,"66":25625,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095458560001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:59:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:59:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 01:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095458560001,"power":25625,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 01:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":147014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:59:08] local.INFO: GPS data processed {"connection_id":147014,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:59:08] local.INFO: Acknowledgment sent {"connection_id":147014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:59:12] local.INFO: TCP Data received {"connection_id":147014,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9d90760012d77a14005f2a670001200fa2a..."} 
[2026-08-01 01:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9d90760012d77a14005f2a670001200fa2a..."} 
[2026-08-01 01:59:12] local.INFO: Processing buffer {"connection_id":147014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9d90760012d77a14005f2a670001200fa2a..."} 
[2026-08-01 01:59:12] local.INFO: Packet analysis {"connection_id":147014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9d9"} 
[2026-08-01 01:59:12] local.INFO: Extracted packet for processing {"connection_id":147014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9d9"} 
[2026-08-01 01:59:12] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":18,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 01:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 01:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095458560001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 01:59:12] 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-08-01 01:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785529436000,"timestamp_ms":1785529436000,"timestamp_seconds":1785529436,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9d90760"} 
[2026-08-01 01:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:59:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 01:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-01 01:59:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 01:59:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 01:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":147014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":147014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":147014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:59:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095458560001,"66":25625,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095458560001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:59:12] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:59:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 01:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095458560001,"power":25625,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 01:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":147014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:59:13] local.INFO: GPS data processed {"connection_id":147014,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:59:13] local.INFO: Acknowledgment sent {"connection_id":147014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:59:18] local.INFO: TCP Data received {"connection_id":147014,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9d90760012d77a14005f2a670001200fa2a..."} 
[2026-08-01 01:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9d90760012d77a14005f2a670001200fa2a..."} 
[2026-08-01 01:59:18] local.INFO: Processing buffer {"connection_id":147014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9d90760012d77a14005f2a670001200fa2a..."} 
[2026-08-01 01:59:18] local.INFO: Packet analysis {"connection_id":147014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9d9"} 
[2026-08-01 01:59:18] local.INFO: Extracted packet for processing {"connection_id":147014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9d9"} 
[2026-08-01 01:59:18] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":18,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 01:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 01:59:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095458560001,"note":"Value kept but may cause issues"} 
[2026-08-01 01:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 01:59:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 01:59:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 01:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785529436000,"timestamp_ms":1785529436000,"timestamp_seconds":1785529436,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9d90760"} 
[2026-08-01 01:59:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 01:59:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 01:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-01 01:59:18] 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-08-01 01:59:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 01:59:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 01:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 01:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":147014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 01:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":147014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":147014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 01:59:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 01:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 01:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 01:59:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095458560001,"66":25625,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 01:59:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 01:59:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 01:59:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095458560001,"description":"Unknown IO ID 0"} 
[2026-08-01 01:59:18] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 01:59:18] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 01:59:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 01:59:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 01:59:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095458560001,"power":25625,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 01:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":147014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 01:59:18] local.INFO: GPS data processed {"connection_id":147014,"processed":1,"errors":0,"total":1} 
[2026-08-01 01:59:18] local.INFO: Acknowledgment sent {"connection_id":147014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 01:59:57] local.INFO: TCP Data received {"connection_id":145791,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:59:57] local.INFO: Processing buffer {"connection_id":145791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 01:59:57] local.INFO: IMEI packet received {"connection_id":145791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 01:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":145791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:00:02] local.INFO: TCP Data received {"connection_id":145791,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:00:02] local.INFO: Processing buffer {"connection_id":145791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:00:02] local.INFO: IMEI packet received {"connection_id":145791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":145791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:00:03] local.INFO: TCP Data received {"connection_id":145791,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9dd9f28012d77a14005f2a670001200fa28..."} 
[2026-08-01 02:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9dd9f28012d77a14005f2a670001200fa28..."} 
[2026-08-01 02:00:03] local.INFO: Processing buffer {"connection_id":145791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9dd9f28012d77a14005f2a670001200fa28..."} 
[2026-08-01 02:00:03] local.INFO: Packet analysis {"connection_id":145791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9dd"} 
[2026-08-01 02:00:03] local.INFO: Extracted packet for processing {"connection_id":145791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9dd"} 
[2026-08-01 02:00:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":18,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 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-08-01 02:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095535616001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:00: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-08-01 02:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785529737000,"timestamp_ms":1785529737000,"timestamp_seconds":1785529737,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9dd9f28"} 
[2026-08-01 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-08-01 02:00: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-08-01 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 02:00: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-08-01 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-08-01 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-08-01 02:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095535616001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095535616001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:00:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:00:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095535616001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":145791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:00:03] local.INFO: GPS data processed {"connection_id":145791,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:00:03] local.INFO: Acknowledgment sent {"connection_id":145791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:00:34] local.INFO: TCP Data received {"connection_id":145791,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9dd9f28012d77a14005f2a670001200fa28..."} 
[2026-08-01 02:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9dd9f28012d77a14005f2a670001200fa28..."} 
[2026-08-01 02:00:34] local.INFO: Processing buffer {"connection_id":145791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9dd9f28012d77a14005f2a670001200fa28..."} 
[2026-08-01 02:00:34] local.INFO: Packet analysis {"connection_id":145791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9dd"} 
[2026-08-01 02:00:34] local.INFO: Extracted packet for processing {"connection_id":145791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9dd"} 
[2026-08-01 02:00:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":18,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095535616001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:00:34] 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-08-01 02:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785529737000,"timestamp_ms":1785529737000,"timestamp_seconds":1785529737,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9dd9f28"} 
[2026-08-01 02:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02: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-08-01 02: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-08-01 02: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-08-01 02: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-08-01 02:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095535616001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095535616001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:00:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:00:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095535616001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":145791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:00:34] local.INFO: GPS data processed {"connection_id":145791,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:00:34] local.INFO: Acknowledgment sent {"connection_id":145791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:00:57] local.INFO: TCP Data received {"connection_id":145792,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:00:57] local.INFO: Processing buffer {"connection_id":145792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:00:57] local.INFO: IMEI packet received {"connection_id":145792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":145792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:01:02] local.INFO: TCP Data received {"connection_id":145792,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:01:02] local.INFO: Processing buffer {"connection_id":145792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:01:02] local.INFO: IMEI packet received {"connection_id":145792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":145792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:01:03] local.INFO: TCP Data received {"connection_id":145792,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9dd9f28012d77a14005f2a670001200fa28..."} 
[2026-08-01 02:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9dd9f28012d77a14005f2a670001200fa28..."} 
[2026-08-01 02:01:03] local.INFO: Processing buffer {"connection_id":145792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9dd9f28012d77a14005f2a670001200fa28..."} 
[2026-08-01 02:01:03] local.INFO: Packet analysis {"connection_id":145792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9dd"} 
[2026-08-01 02:01:03] local.INFO: Extracted packet for processing {"connection_id":145792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9dd"} 
[2026-08-01 02:01:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":18,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095535616001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02: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-08-01 02:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785529737000,"timestamp_ms":1785529737000,"timestamp_seconds":1785529737,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9dd9f28"} 
[2026-08-01 02:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:01: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-08-01 02: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":25,"data_length":795,"current_offset":136} 
[2026-08-01 02:01: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-08-01 02: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-08-01 02:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095535616001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095535616001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:01:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:01:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095535616001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":145792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:01:03] local.INFO: GPS data processed {"connection_id":145792,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:01:03] local.INFO: Acknowledgment sent {"connection_id":145792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:01:35] local.INFO: TCP Data received {"connection_id":145792,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9dd9f28012d77a14005f2a670001200fa28..."} 
[2026-08-01 02:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9dd9f28012d77a14005f2a670001200fa28..."} 
[2026-08-01 02:01:35] local.INFO: Processing buffer {"connection_id":145792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9dd9f28012d77a14005f2a670001200fa28..."} 
[2026-08-01 02:01:35] local.INFO: Packet analysis {"connection_id":145792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9dd"} 
[2026-08-01 02:01:35] local.INFO: Extracted packet for processing {"connection_id":145792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9dd"} 
[2026-08-01 02:01:35] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":18,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095535616001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:01: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-08-01 02:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785529737000,"timestamp_ms":1785529737000,"timestamp_seconds":1785529737,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9dd9f28"} 
[2026-08-01 02:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 02: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 02:01:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02: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-08-01 02:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":145792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":145792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":145792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095535616001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095535616001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:01:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:01:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095535616001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":145792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:01:35] local.INFO: GPS data processed {"connection_id":145792,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:01:35] local.INFO: Acknowledgment sent {"connection_id":145792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:01:57] local.INFO: TCP Data received {"connection_id":148327,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:01:57] local.INFO: Processing buffer {"connection_id":148327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:01:57] local.INFO: IMEI packet received {"connection_id":148327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":148327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:02:02] local.INFO: TCP Data received {"connection_id":148327,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:02:02] local.INFO: Processing buffer {"connection_id":148327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:02:02] local.INFO: IMEI packet received {"connection_id":148327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":148327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:02:03] local.INFO: TCP Data received {"connection_id":148327,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9dd9f28012d77a14005f2a670001200fa28..."} 
[2026-08-01 02:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9dd9f28012d77a14005f2a670001200fa28..."} 
[2026-08-01 02:02:03] local.INFO: Processing buffer {"connection_id":148327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9dd9f28012d77a14005f2a670001200fa28..."} 
[2026-08-01 02:02:03] local.INFO: Packet analysis {"connection_id":148327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9dd"} 
[2026-08-01 02:02:03] local.INFO: Extracted packet for processing {"connection_id":148327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9dd"} 
[2026-08-01 02:02:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":18,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 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-08-01 02:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095535616001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02: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-08-01 02:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785529737000,"timestamp_ms":1785529737000,"timestamp_seconds":1785529737,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9dd9f28"} 
[2026-08-01 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-08-01 02:02: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-08-01 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 02:02: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-08-01 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-08-01 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-08-01 02:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095535616001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095535616001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:02:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:02:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095535616001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":148327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:02:03] local.INFO: GPS data processed {"connection_id":148327,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:02:03] local.INFO: Acknowledgment sent {"connection_id":148327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:02:35] local.INFO: TCP Data received {"connection_id":148327,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9dd9f28012d77a14005f2a670001200fa28..."} 
[2026-08-01 02:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9dd9f28012d77a14005f2a670001200fa28..."} 
[2026-08-01 02:02:35] local.INFO: Processing buffer {"connection_id":148327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9dd9f28012d77a14005f2a670001200fa28..."} 
[2026-08-01 02:02:35] local.INFO: Packet analysis {"connection_id":148327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9dd"} 
[2026-08-01 02:02:35] local.INFO: Extracted packet for processing {"connection_id":148327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9dd"} 
[2026-08-01 02:02:35] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":18,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095535616001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02: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-08-01 02:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785529737000,"timestamp_ms":1785529737000,"timestamp_seconds":1785529737,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9dd9f28"} 
[2026-08-01 02:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 02:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 02:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02: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-08-01 02:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095535616001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095535616001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:02:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:02:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095535616001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":148327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:02:35] local.INFO: GPS data processed {"connection_id":148327,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:02:35] local.INFO: Acknowledgment sent {"connection_id":148327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:02:57] local.INFO: TCP Data received {"connection_id":147015,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:02:57] local.INFO: Processing buffer {"connection_id":147015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:02:57] local.INFO: IMEI packet received {"connection_id":147015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":147015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:03:02] local.INFO: TCP Data received {"connection_id":147015,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:03:02] local.INFO: Processing buffer {"connection_id":147015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:03:02] local.INFO: IMEI packet received {"connection_id":147015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":147015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:03:03] local.INFO: TCP Data received {"connection_id":147015,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9dd9f28012d77a14005f2a670001200fa28..."} 
[2026-08-01 02:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9dd9f28012d77a14005f2a670001200fa28..."} 
[2026-08-01 02:03:03] local.INFO: Processing buffer {"connection_id":147015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9dd9f28012d77a14005f2a670001200fa28..."} 
[2026-08-01 02:03:03] local.INFO: Packet analysis {"connection_id":147015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9dd"} 
[2026-08-01 02:03:03] local.INFO: Extracted packet for processing {"connection_id":147015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9dd"} 
[2026-08-01 02:03:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":18,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095535616001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:03: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-08-01 02:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785529737000,"timestamp_ms":1785529737000,"timestamp_seconds":1785529737,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9dd9f28"} 
[2026-08-01 02:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:03: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-08-01 02: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 02:03: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-08-01 02: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-08-01 02:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095535616001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095535616001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:03:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:03:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095535616001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":147015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:03:03] local.INFO: GPS data processed {"connection_id":147015,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:03:03] local.INFO: Acknowledgment sent {"connection_id":147015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:03:34] local.INFO: TCP Data received {"connection_id":147015,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9dd9f28012d77a14005f2a670001200fa28..."} 
[2026-08-01 02:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9dd9f28012d77a14005f2a670001200fa28..."} 
[2026-08-01 02:03:34] local.INFO: Processing buffer {"connection_id":147015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9dd9f28012d77a14005f2a670001200fa28..."} 
[2026-08-01 02:03:34] local.INFO: Packet analysis {"connection_id":147015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9dd"} 
[2026-08-01 02:03:34] local.INFO: Extracted packet for processing {"connection_id":147015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9dd"} 
[2026-08-01 02:03:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":18,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 02:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095535616001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:03:34] 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-08-01 02:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785529737000,"timestamp_ms":1785529737000,"timestamp_seconds":1785529737,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9dd9f28"} 
[2026-08-01 02:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:03: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-08-01 02:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 02:03: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-08-01 02:03:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 02:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095535616001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095535616001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:03:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:03:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095535616001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":147015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:03:35] local.INFO: GPS data processed {"connection_id":147015,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:03:35] local.INFO: Acknowledgment sent {"connection_id":147015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:04:02] local.INFO: TCP Data received {"connection_id":145993,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:04:02] local.INFO: Processing buffer {"connection_id":145993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:04:02] local.INFO: IMEI packet received {"connection_id":145993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":145993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:04:07] local.INFO: TCP Data received {"connection_id":145993,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:04:07] local.INFO: Processing buffer {"connection_id":145993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:04:07] local.INFO: IMEI packet received {"connection_id":145993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":145993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:04:08] local.INFO: TCP Data received {"connection_id":145993,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9dd9f28012d77a14005f2a670001200fa28..."} 
[2026-08-01 02:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9dd9f28012d77a14005f2a670001200fa28..."} 
[2026-08-01 02:04:08] local.INFO: Processing buffer {"connection_id":145993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9dd9f28012d77a14005f2a670001200fa28..."} 
[2026-08-01 02:04:08] local.INFO: Packet analysis {"connection_id":145993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9dd"} 
[2026-08-01 02:04:08] local.INFO: Extracted packet for processing {"connection_id":145993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9dd"} 
[2026-08-01 02:04:08] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":18,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 02:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095535616001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:04: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-08-01 02:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785529737000,"timestamp_ms":1785529737000,"timestamp_seconds":1785529737,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9dd9f28"} 
[2026-08-01 02:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 02:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 02:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02:04:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 02:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095535616001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095535616001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:04:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:04:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095535616001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":145993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:04:08] local.INFO: GPS data processed {"connection_id":145993,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:04:08] local.INFO: Acknowledgment sent {"connection_id":145993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:04:12] local.INFO: TCP Data received {"connection_id":145993,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9dd9f28012d77a14005f2a670001200fa28..."} 
[2026-08-01 02:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9dd9f28012d77a14005f2a670001200fa28..."} 
[2026-08-01 02:04:12] local.INFO: Processing buffer {"connection_id":145993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9dd9f28012d77a14005f2a670001200fa28..."} 
[2026-08-01 02:04:12] local.INFO: Packet analysis {"connection_id":145993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9dd"} 
[2026-08-01 02:04:12] local.INFO: Extracted packet for processing {"connection_id":145993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9dd"} 
[2026-08-01 02:04:12] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":18,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 02:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095535616001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:04:12] 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-08-01 02:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785529737000,"timestamp_ms":1785529737000,"timestamp_seconds":1785529737,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9dd9f28"} 
[2026-08-01 02:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 02:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 02:04:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02:04:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 02:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":145993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":145993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":145993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095535616001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095535616001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:04:12] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:04:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095535616001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":145993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:04:12] local.INFO: GPS data processed {"connection_id":145993,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:04:12] local.INFO: Acknowledgment sent {"connection_id":145993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:04:57] local.INFO: TCP Data received {"connection_id":148328,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:04:57] local.INFO: Processing buffer {"connection_id":148328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:04:57] local.INFO: IMEI packet received {"connection_id":148328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":148328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:05:02] local.INFO: TCP Data received {"connection_id":148328,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:05:02] local.INFO: Processing buffer {"connection_id":148328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:05:02] local.INFO: IMEI packet received {"connection_id":148328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":148328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:05:03] local.INFO: TCP Data received {"connection_id":148328,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9e236f0012d77a14005f2a670001200fa2c..."} 
[2026-08-01 02:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9e236f0012d77a14005f2a670001200fa2c..."} 
[2026-08-01 02:05:03] local.INFO: Processing buffer {"connection_id":148328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9e236f0012d77a14005f2a670001200fa2c..."} 
[2026-08-01 02:05:03] local.INFO: Packet analysis {"connection_id":148328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9e2"} 
[2026-08-01 02:05:03] local.INFO: Extracted packet for processing {"connection_id":148328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9e2"} 
[2026-08-01 02:05:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":18,"angle":250,"satellites":44,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 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-08-01 02:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095612672001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02: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-08-01 02:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785530038000,"timestamp_ms":1785530038000,"timestamp_seconds":1785530038,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9e236f0"} 
[2026-08-01 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-08-01 02:05: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-08-01 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":151,"data_length":795,"current_offset":136} 
[2026-08-01 02:05: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-08-01 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-08-01 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-08-01 02:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095612672001,"66":24723,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095612672001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:05:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:05:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095612672001,"power":24723,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":148328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:05:03] local.INFO: GPS data processed {"connection_id":148328,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:05:03] local.INFO: Acknowledgment sent {"connection_id":148328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:05:34] local.INFO: TCP Data received {"connection_id":148328,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9e236f0012d77a14005f2a670001200fa2c..."} 
[2026-08-01 02:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9e236f0012d77a14005f2a670001200fa2c..."} 
[2026-08-01 02:05:34] local.INFO: Processing buffer {"connection_id":148328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9e236f0012d77a14005f2a670001200fa2c..."} 
[2026-08-01 02:05:34] local.INFO: Packet analysis {"connection_id":148328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9e2"} 
[2026-08-01 02:05:34] local.INFO: Extracted packet for processing {"connection_id":148328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9e2"} 
[2026-08-01 02:05:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":18,"angle":250,"satellites":44,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095612672001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:05:34] 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-08-01 02:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785530038000,"timestamp_ms":1785530038000,"timestamp_seconds":1785530038,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9e236f0"} 
[2026-08-01 02:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:05: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-08-01 02: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 02:05:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02: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-08-01 02:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095612672001,"66":24723,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095612672001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:05:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:05:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095612672001,"power":24723,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":148328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:05:34] local.INFO: GPS data processed {"connection_id":148328,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:05:34] local.INFO: Acknowledgment sent {"connection_id":148328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:06:02] local.INFO: TCP Data received {"connection_id":147016,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:06:02] local.INFO: Processing buffer {"connection_id":147016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:06:02] local.INFO: IMEI packet received {"connection_id":147016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":147016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:06:07] local.INFO: TCP Data received {"connection_id":147016,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:06:07] local.INFO: Processing buffer {"connection_id":147016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:06:07] local.INFO: IMEI packet received {"connection_id":147016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":147016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:06:08] local.INFO: TCP Data received {"connection_id":147016,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9e236f0012d77a14005f2a670001200fa2c..."} 
[2026-08-01 02:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9e236f0012d77a14005f2a670001200fa2c..."} 
[2026-08-01 02:06:08] local.INFO: Processing buffer {"connection_id":147016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9e236f0012d77a14005f2a670001200fa2c..."} 
[2026-08-01 02:06:08] local.INFO: Packet analysis {"connection_id":147016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9e2"} 
[2026-08-01 02:06:08] local.INFO: Extracted packet for processing {"connection_id":147016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9e2"} 
[2026-08-01 02:06:08] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":18,"angle":250,"satellites":44,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095612672001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:06: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-08-01 02:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785530038000,"timestamp_ms":1785530038000,"timestamp_seconds":1785530038,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9e236f0"} 
[2026-08-01 02:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:06:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 02: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 02:06:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02: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-08-01 02:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":147016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":147016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":147016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:06:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095612672001,"66":24723,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095612672001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:06:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:06:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095612672001,"power":24723,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":147016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:06:08] local.INFO: GPS data processed {"connection_id":147016,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:06:08] local.INFO: Acknowledgment sent {"connection_id":147016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:06:13] local.INFO: TCP Data received {"connection_id":147016,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9e236f0012d77a14005f2a670001200fa2c..."} 
[2026-08-01 02:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9e236f0012d77a14005f2a670001200fa2c..."} 
[2026-08-01 02:06:13] local.INFO: Processing buffer {"connection_id":147016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9e236f0012d77a14005f2a670001200fa2c..."} 
[2026-08-01 02:06:13] local.INFO: Packet analysis {"connection_id":147016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9e2"} 
[2026-08-01 02:06:13] local.INFO: Extracted packet for processing {"connection_id":147016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9e2"} 
[2026-08-01 02:06:13] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":18,"angle":250,"satellites":44,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 02:06:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095612672001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:06:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:06:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:06:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 02:06:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785530038000,"timestamp_ms":1785530038000,"timestamp_seconds":1785530038,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9e236f0"} 
[2026-08-01 02:06:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:06:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 02:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 02:06:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02:06:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 02:06:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:06:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:06:13] local.INFO: Teltonika packet parsed successfully {"connection_id":147016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:06:13] local.INFO: Passing IMEI to GPS processor {"connection_id":147016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:06:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":147016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:06:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:06:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:06:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:06:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095612672001,"66":24723,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:06:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:06:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:06:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095612672001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:06:13] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:06:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:06:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:06:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:06:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095612672001,"power":24723,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:06:13] local.INFO: DEBUG: GPS processor result {"connection_id":147016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:06:13] local.INFO: GPS data processed {"connection_id":147016,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:06:13] local.INFO: Acknowledgment sent {"connection_id":147016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:06:58] local.INFO: TCP Data received {"connection_id":145994,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:06:58] local.INFO: Processing buffer {"connection_id":145994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:06:58] local.INFO: IMEI packet received {"connection_id":145994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":145994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:07:04] local.INFO: TCP Data received {"connection_id":145994,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:07:04] local.INFO: Processing buffer {"connection_id":145994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:07:04] local.INFO: IMEI packet received {"connection_id":145994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":145994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:07:05] local.INFO: TCP Data received {"connection_id":145994,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9e236f0012d77a14005f2a670001200fa2c..."} 
[2026-08-01 02:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9e236f0012d77a14005f2a670001200fa2c..."} 
[2026-08-01 02:07:05] local.INFO: Processing buffer {"connection_id":145994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9e236f0012d77a14005f2a670001200fa2c..."} 
[2026-08-01 02:07:05] local.INFO: Packet analysis {"connection_id":145994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9e2"} 
[2026-08-01 02:07:05] local.INFO: Extracted packet for processing {"connection_id":145994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9e2"} 
[2026-08-01 02:07:05] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":18,"angle":250,"satellites":44,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095612672001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 02:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785530038000,"timestamp_ms":1785530038000,"timestamp_seconds":1785530038,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9e236f0"} 
[2026-08-01 02:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:07: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-08-01 02: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 02:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02: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-08-01 02:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095612672001,"66":24723,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095612672001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:07:05] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:07:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095612672001,"power":24723,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":145994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:07:05] local.INFO: GPS data processed {"connection_id":145994,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:07:05] local.INFO: Acknowledgment sent {"connection_id":145994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:07:07] local.INFO: TCP Data received {"connection_id":145994,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9e236f0012d77a14005f2a670001200fa2c..."} 
[2026-08-01 02:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9e236f0012d77a14005f2a670001200fa2c..."} 
[2026-08-01 02:07:07] local.INFO: Processing buffer {"connection_id":145994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9e236f0012d77a14005f2a670001200fa2c..."} 
[2026-08-01 02:07:07] local.INFO: Packet analysis {"connection_id":145994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9e2"} 
[2026-08-01 02:07:07] local.INFO: Extracted packet for processing {"connection_id":145994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9e2"} 
[2026-08-01 02:07:07] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":18,"angle":250,"satellites":44,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 02:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095612672001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:07: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-08-01 02:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785530038000,"timestamp_ms":1785530038000,"timestamp_seconds":1785530038,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9e236f0"} 
[2026-08-01 02:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 02:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 02:07: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-08-01 02:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 02:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":145994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":145994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":145994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095612672001,"66":24723,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095612672001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:07:07] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:07:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095612672001,"power":24723,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":145994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:07:07] local.INFO: GPS data processed {"connection_id":145994,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:07:07] local.INFO: Acknowledgment sent {"connection_id":145994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:07:38] local.INFO: TCP Data received {"connection_id":145994,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9e236f0012d77a14005f2a670001200fa2c..."} 
[2026-08-01 02:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9e236f0012d77a14005f2a670001200fa2c..."} 
[2026-08-01 02:07:38] local.INFO: Processing buffer {"connection_id":145994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9e236f0012d77a14005f2a670001200fa2c..."} 
[2026-08-01 02:07:38] local.INFO: Packet analysis {"connection_id":145994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9e2"} 
[2026-08-01 02:07:38] local.INFO: Extracted packet for processing {"connection_id":145994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9e2"} 
[2026-08-01 02:07:38] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":18,"angle":250,"satellites":44,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095612672001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 02:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785530038000,"timestamp_ms":1785530038000,"timestamp_seconds":1785530038,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9e236f0"} 
[2026-08-01 02:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:07: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-08-01 02: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 02:07: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-08-01 02: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-08-01 02:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095612672001,"66":24723,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095612672001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:07:38] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:07:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095612672001,"power":24723,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":145994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:07:38] local.INFO: GPS data processed {"connection_id":145994,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:07:38] local.INFO: Acknowledgment sent {"connection_id":145994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:07:57] local.INFO: TCP Data received {"connection_id":145793,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:07:57] local.INFO: Processing buffer {"connection_id":145793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:07:57] local.INFO: IMEI packet received {"connection_id":145793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":145793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:08:02] local.INFO: TCP Data received {"connection_id":145793,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:08:02] local.INFO: Processing buffer {"connection_id":145793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:08:02] local.INFO: IMEI packet received {"connection_id":145793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":145793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:08:03] local.INFO: TCP Data received {"connection_id":145793,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9e236f0012d77a14005f2a670001200fa2c..."} 
[2026-08-01 02:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9e236f0012d77a14005f2a670001200fa2c..."} 
[2026-08-01 02:08:03] local.INFO: Processing buffer {"connection_id":145793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9e236f0012d77a14005f2a670001200fa2c..."} 
[2026-08-01 02:08:03] local.INFO: Packet analysis {"connection_id":145793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9e2"} 
[2026-08-01 02:08:03] local.INFO: Extracted packet for processing {"connection_id":145793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9e2"} 
[2026-08-01 02:08:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":18,"angle":250,"satellites":44,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 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-08-01 02:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095612672001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02: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-08-01 02:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785530038000,"timestamp_ms":1785530038000,"timestamp_seconds":1785530038,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9e236f0"} 
[2026-08-01 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-08-01 02:08: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-08-01 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":151,"data_length":795,"current_offset":136} 
[2026-08-01 02:08: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-08-01 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-08-01 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-08-01 02:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095612672001,"66":24723,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095612672001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:08:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:08:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095612672001,"power":24723,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":145793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:08:03] local.INFO: GPS data processed {"connection_id":145793,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:08:03] local.INFO: Acknowledgment sent {"connection_id":145793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:08:34] local.INFO: TCP Data received {"connection_id":145793,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9e236f0012d77a14005f2a670001200fa2c..."} 
[2026-08-01 02:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9e236f0012d77a14005f2a670001200fa2c..."} 
[2026-08-01 02:08:34] local.INFO: Processing buffer {"connection_id":145793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9e236f0012d77a14005f2a670001200fa2c..."} 
[2026-08-01 02:08:34] local.INFO: Packet analysis {"connection_id":145793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9e2"} 
[2026-08-01 02:08:34] local.INFO: Extracted packet for processing {"connection_id":145793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9e2"} 
[2026-08-01 02:08:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":18,"angle":250,"satellites":44,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095612672001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:08:34] 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-08-01 02:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785530038000,"timestamp_ms":1785530038000,"timestamp_seconds":1785530038,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9e236f0"} 
[2026-08-01 02:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:08: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-08-01 02: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 02:08:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02: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-08-01 02:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095612672001,"66":24723,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095612672001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:08:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:08:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095612672001,"power":24723,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":145793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:08:34] local.INFO: GPS data processed {"connection_id":145793,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:08:34] local.INFO: Acknowledgment sent {"connection_id":145793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:08:56] local.INFO: TCP Data received {"connection_id":145995,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:08:56] local.INFO: Processing buffer {"connection_id":145995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:08:56] local.INFO: IMEI packet received {"connection_id":145995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":145995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:09:02] local.INFO: TCP Data received {"connection_id":145995,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:09:02] local.INFO: Processing buffer {"connection_id":145995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:09:02] local.INFO: IMEI packet received {"connection_id":145995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":145995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:09:03] local.INFO: TCP Data received {"connection_id":145995,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9e236f0012d77a14005f2a670001200fa2c..."} 
[2026-08-01 02:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9e236f0012d77a14005f2a670001200fa2c..."} 
[2026-08-01 02:09:03] local.INFO: Processing buffer {"connection_id":145995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9e236f0012d77a14005f2a670001200fa2c..."} 
[2026-08-01 02:09:03] local.INFO: Packet analysis {"connection_id":145995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9e2"} 
[2026-08-01 02:09:03] local.INFO: Extracted packet for processing {"connection_id":145995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9e2"} 
[2026-08-01 02:09:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":18,"angle":250,"satellites":44,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 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-08-01 02:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095612672001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02: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-08-01 02:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785530038000,"timestamp_ms":1785530038000,"timestamp_seconds":1785530038,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9e236f0"} 
[2026-08-01 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-08-01 02:09: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-08-01 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":151,"data_length":795,"current_offset":136} 
[2026-08-01 02:09: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-08-01 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-08-01 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-08-01 02:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095612672001,"66":24723,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095612672001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:09:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:09:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095612672001,"power":24723,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":145995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:09:03] local.INFO: GPS data processed {"connection_id":145995,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:09:03] local.INFO: Acknowledgment sent {"connection_id":145995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:09:34] local.INFO: TCP Data received {"connection_id":145995,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9e236f0012d77a14005f2a670001200fa2c..."} 
[2026-08-01 02:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9e236f0012d77a14005f2a670001200fa2c..."} 
[2026-08-01 02:09:34] local.INFO: Processing buffer {"connection_id":145995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9e236f0012d77a14005f2a670001200fa2c..."} 
[2026-08-01 02:09:34] local.INFO: Packet analysis {"connection_id":145995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9e2"} 
[2026-08-01 02:09:34] local.INFO: Extracted packet for processing {"connection_id":145995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9e2"} 
[2026-08-01 02:09:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":18,"angle":250,"satellites":44,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095612672001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:09:34] 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-08-01 02:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785530038000,"timestamp_ms":1785530038000,"timestamp_seconds":1785530038,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9e236f0"} 
[2026-08-01 02:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:09: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-08-01 02: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 02:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02: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-08-01 02:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095612672001,"66":24723,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095612672001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:09:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:09:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095612672001,"power":24723,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":145995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:09:34] local.INFO: GPS data processed {"connection_id":145995,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:09:34] local.INFO: Acknowledgment sent {"connection_id":145995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:09:57] local.INFO: TCP Data received {"connection_id":145794,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:09:57] local.INFO: Processing buffer {"connection_id":145794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:09:57] local.INFO: IMEI packet received {"connection_id":145794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":145794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:10:02] local.INFO: TCP Data received {"connection_id":145794,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:10:02] local.INFO: Processing buffer {"connection_id":145794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:10:02] local.INFO: IMEI packet received {"connection_id":145794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":145794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:10:03] local.INFO: TCP Data received {"connection_id":145794,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9e6ceb8012d77a14005f2a670001200fa29..."} 
[2026-08-01 02:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9e6ceb8012d77a14005f2a670001200fa29..."} 
[2026-08-01 02:10:03] local.INFO: Processing buffer {"connection_id":145794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9e6ceb8012d77a14005f2a670001200fa29..."} 
[2026-08-01 02:10:03] local.INFO: Packet analysis {"connection_id":145794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9e6"} 
[2026-08-01 02:10:03] local.INFO: Extracted packet for processing {"connection_id":145794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9e6"} 
[2026-08-01 02:10:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":18,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 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-08-01 02:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095689728001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02: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-08-01 02:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785530339000,"timestamp_ms":1785530339000,"timestamp_seconds":1785530339,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9e6ceb8"} 
[2026-08-01 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-08-01 02:10: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-08-01 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":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-01 02:10:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 02:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095689728001,"66":25397,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095689728001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:10:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:10:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095689728001,"power":25397,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":145794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:10:03] local.INFO: GPS data processed {"connection_id":145794,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:10:03] local.INFO: Acknowledgment sent {"connection_id":145794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:10:35] local.INFO: TCP Data received {"connection_id":145794,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9e6ceb8012d77a14005f2a670001200fa29..."} 
[2026-08-01 02:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9e6ceb8012d77a14005f2a670001200fa29..."} 
[2026-08-01 02:10:35] local.INFO: Processing buffer {"connection_id":145794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9e6ceb8012d77a14005f2a670001200fa29..."} 
[2026-08-01 02:10:35] local.INFO: Packet analysis {"connection_id":145794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9e6"} 
[2026-08-01 02:10:35] local.INFO: Extracted packet for processing {"connection_id":145794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9e6"} 
[2026-08-01 02:10:35] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":18,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095689728001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:10: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-08-01 02:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785530339000,"timestamp_ms":1785530339000,"timestamp_seconds":1785530339,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9e6ceb8"} 
[2026-08-01 02:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 02: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":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-01 02:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02: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-08-01 02:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":145794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":145794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":145794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095689728001,"66":25397,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095689728001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:10:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:10:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095689728001,"power":25397,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":145794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:10:35] local.INFO: GPS data processed {"connection_id":145794,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:10:35] local.INFO: Acknowledgment sent {"connection_id":145794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:11:02] local.INFO: TCP Data received {"connection_id":147017,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:11:02] local.INFO: Processing buffer {"connection_id":147017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:11:02] local.INFO: IMEI packet received {"connection_id":147017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":147017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:11:07] local.INFO: TCP Data received {"connection_id":147017,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:11:07] local.INFO: Processing buffer {"connection_id":147017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:11:07] local.INFO: IMEI packet received {"connection_id":147017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":147017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:11:08] local.INFO: TCP Data received {"connection_id":147017,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9e6ceb8012d77a14005f2a670001200fa29..."} 
[2026-08-01 02:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9e6ceb8012d77a14005f2a670001200fa29..."} 
[2026-08-01 02:11:08] local.INFO: Processing buffer {"connection_id":147017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9e6ceb8012d77a14005f2a670001200fa29..."} 
[2026-08-01 02:11:08] local.INFO: Packet analysis {"connection_id":147017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9e6"} 
[2026-08-01 02:11:08] local.INFO: Extracted packet for processing {"connection_id":147017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9e6"} 
[2026-08-01 02:11:08] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":18,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095689728001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:11: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-08-01 02:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785530339000,"timestamp_ms":1785530339000,"timestamp_seconds":1785530339,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9e6ceb8"} 
[2026-08-01 02:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:11: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-08-01 02: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":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-01 02:11:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02: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-08-01 02:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":147017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":147017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":147017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:11:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095689728001,"66":25397,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095689728001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:11:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:11:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095689728001,"power":25397,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":147017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:11:08] local.INFO: GPS data processed {"connection_id":147017,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:11:08] local.INFO: Acknowledgment sent {"connection_id":147017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:11:13] local.INFO: TCP Data received {"connection_id":147017,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9e6ceb8012d77a14005f2a670001200fa29..."} 
[2026-08-01 02:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9e6ceb8012d77a14005f2a670001200fa29..."} 
[2026-08-01 02:11:13] local.INFO: Processing buffer {"connection_id":147017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9e6ceb8012d77a14005f2a670001200fa29..."} 
[2026-08-01 02:11:13] local.INFO: Packet analysis {"connection_id":147017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9e6"} 
[2026-08-01 02:11:13] local.INFO: Extracted packet for processing {"connection_id":147017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9e6"} 
[2026-08-01 02:11:13] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":18,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095689728001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:11:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:11:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 02:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785530339000,"timestamp_ms":1785530339000,"timestamp_seconds":1785530339,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9e6ceb8"} 
[2026-08-01 02:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:11:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 02: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":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-01 02:11:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02: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-08-01 02:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":147017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":147017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":147017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095689728001,"66":25397,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095689728001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:11:13] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:11:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:11:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095689728001,"power":25397,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":147017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:11:13] local.INFO: GPS data processed {"connection_id":147017,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:11:13] local.INFO: Acknowledgment sent {"connection_id":147017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:11:57] local.INFO: TCP Data received {"connection_id":145996,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:11:57] local.INFO: Processing buffer {"connection_id":145996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:11:57] local.INFO: IMEI packet received {"connection_id":145996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":145996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:12:02] local.INFO: TCP Data received {"connection_id":145996,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:12:02] local.INFO: Processing buffer {"connection_id":145996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:12:02] local.INFO: IMEI packet received {"connection_id":145996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":145996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:12:03] local.INFO: TCP Data received {"connection_id":145996,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9e6ceb8012d77a14005f2a670001200fa29..."} 
[2026-08-01 02:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9e6ceb8012d77a14005f2a670001200fa29..."} 
[2026-08-01 02:12:03] local.INFO: Processing buffer {"connection_id":145996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9e6ceb8012d77a14005f2a670001200fa29..."} 
[2026-08-01 02:12:03] local.INFO: Packet analysis {"connection_id":145996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9e6"} 
[2026-08-01 02:12:03] local.INFO: Extracted packet for processing {"connection_id":145996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9e6"} 
[2026-08-01 02:12:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":18,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 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-08-01 02:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095689728001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:12: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-08-01 02:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785530339000,"timestamp_ms":1785530339000,"timestamp_seconds":1785530339,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9e6ceb8"} 
[2026-08-01 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-08-01 02: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-08-01 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":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-01 02:12:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 02:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095689728001,"66":25397,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095689728001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:12:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:12:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095689728001,"power":25397,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":145996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:12:03] local.INFO: GPS data processed {"connection_id":145996,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:12:03] local.INFO: Acknowledgment sent {"connection_id":145996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:12:34] local.INFO: TCP Data received {"connection_id":145996,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9e6ceb8012d77a14005f2a670001200fa29..."} 
[2026-08-01 02:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9e6ceb8012d77a14005f2a670001200fa29..."} 
[2026-08-01 02:12:34] local.INFO: Processing buffer {"connection_id":145996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9e6ceb8012d77a14005f2a670001200fa29..."} 
[2026-08-01 02:12:34] local.INFO: Packet analysis {"connection_id":145996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9e6"} 
[2026-08-01 02:12:34] local.INFO: Extracted packet for processing {"connection_id":145996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9e6"} 
[2026-08-01 02:12:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":18,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 02:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095689728001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:12:34] 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-08-01 02:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785530339000,"timestamp_ms":1785530339000,"timestamp_seconds":1785530339,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9e6ceb8"} 
[2026-08-01 02:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:12: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-08-01 02:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-01 02:12:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02:12:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 02:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095689728001,"66":25397,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095689728001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:12:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:12:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095689728001,"power":25397,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":145996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:12:34] local.INFO: GPS data processed {"connection_id":145996,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:12:34] local.INFO: Acknowledgment sent {"connection_id":145996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:12:56] local.INFO: TCP Data received {"connection_id":148329,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:12:56] local.INFO: Processing buffer {"connection_id":148329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:12:56] local.INFO: IMEI packet received {"connection_id":148329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":148329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:13:02] local.INFO: TCP Data received {"connection_id":148329,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:13:02] local.INFO: Processing buffer {"connection_id":148329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:13:02] local.INFO: IMEI packet received {"connection_id":148329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":148329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:13:03] local.INFO: TCP Data received {"connection_id":148329,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9e6ceb8012d77a14005f2a670001200fa29..."} 
[2026-08-01 02:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9e6ceb8012d77a14005f2a670001200fa29..."} 
[2026-08-01 02:13:03] local.INFO: Processing buffer {"connection_id":148329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9e6ceb8012d77a14005f2a670001200fa29..."} 
[2026-08-01 02:13:03] local.INFO: Packet analysis {"connection_id":148329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9e6"} 
[2026-08-01 02:13:03] local.INFO: Extracted packet for processing {"connection_id":148329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9e6"} 
[2026-08-01 02:13:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":18,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 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-08-01 02:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095689728001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02: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-08-01 02:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785530339000,"timestamp_ms":1785530339000,"timestamp_seconds":1785530339,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9e6ceb8"} 
[2026-08-01 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-08-01 02: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-08-01 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":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-01 02:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 02:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095689728001,"66":25397,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095689728001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:13:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:13:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095689728001,"power":25397,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":148329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:13:03] local.INFO: GPS data processed {"connection_id":148329,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:13:03] local.INFO: Acknowledgment sent {"connection_id":148329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:13:35] local.INFO: TCP Data received {"connection_id":148329,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9e6ceb8012d77a14005f2a670001200fa29..."} 
[2026-08-01 02:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9e6ceb8012d77a14005f2a670001200fa29..."} 
[2026-08-01 02:13:35] local.INFO: Processing buffer {"connection_id":148329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9e6ceb8012d77a14005f2a670001200fa29..."} 
[2026-08-01 02:13:35] local.INFO: Packet analysis {"connection_id":148329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9e6"} 
[2026-08-01 02:13:35] local.INFO: Extracted packet for processing {"connection_id":148329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9e6"} 
[2026-08-01 02:13:35] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":18,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095689728001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:13: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-08-01 02:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785530339000,"timestamp_ms":1785530339000,"timestamp_seconds":1785530339,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9e6ceb8"} 
[2026-08-01 02:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 02: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":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-01 02:13:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02: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-08-01 02:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095689728001,"66":25397,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095689728001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:13:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:13:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095689728001,"power":25397,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":148329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:13:35] local.INFO: GPS data processed {"connection_id":148329,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:13:35] local.INFO: Acknowledgment sent {"connection_id":148329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:13:56] local.INFO: TCP Data received {"connection_id":145795,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:13:56] local.INFO: Processing buffer {"connection_id":145795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:13:56] local.INFO: IMEI packet received {"connection_id":145795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":145795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:14:02] local.INFO: TCP Data received {"connection_id":145795,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:14:02] local.INFO: Processing buffer {"connection_id":145795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:14:02] local.INFO: IMEI packet received {"connection_id":145795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":145795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:14:03] local.INFO: TCP Data received {"connection_id":145795,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9e6ceb8012d77a14005f2a670001200fa29..."} 
[2026-08-01 02:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9e6ceb8012d77a14005f2a670001200fa29..."} 
[2026-08-01 02:14:03] local.INFO: Processing buffer {"connection_id":145795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9e6ceb8012d77a14005f2a670001200fa29..."} 
[2026-08-01 02:14:03] local.INFO: Packet analysis {"connection_id":145795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9e6"} 
[2026-08-01 02:14:03] local.INFO: Extracted packet for processing {"connection_id":145795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9e6"} 
[2026-08-01 02:14:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":18,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 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-08-01 02:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095689728001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02: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-08-01 02:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785530339000,"timestamp_ms":1785530339000,"timestamp_seconds":1785530339,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9e6ceb8"} 
[2026-08-01 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-08-01 02:14: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-08-01 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":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-01 02:14:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 02:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095689728001,"66":25397,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095689728001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:14:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:14:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095689728001,"power":25397,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":145795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:14:03] local.INFO: GPS data processed {"connection_id":145795,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:14:03] local.INFO: Acknowledgment sent {"connection_id":145795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:14:34] local.INFO: TCP Data received {"connection_id":145795,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9e6ceb8012d77a14005f2a670001200fa29..."} 
[2026-08-01 02:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9e6ceb8012d77a14005f2a670001200fa29..."} 
[2026-08-01 02:14:34] local.INFO: Processing buffer {"connection_id":145795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9e6ceb8012d77a14005f2a670001200fa29..."} 
[2026-08-01 02:14:34] local.INFO: Packet analysis {"connection_id":145795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9e6"} 
[2026-08-01 02:14:34] local.INFO: Extracted packet for processing {"connection_id":145795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9e6"} 
[2026-08-01 02:14:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":18,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095689728001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:14:34] 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-08-01 02:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785530339000,"timestamp_ms":1785530339000,"timestamp_seconds":1785530339,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9e6ceb8"} 
[2026-08-01 02:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:14: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-08-01 02: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":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-01 02:14:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02: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-08-01 02:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095689728001,"66":25397,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095689728001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:14:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:14:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095689728001,"power":25397,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":145795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:14:34] local.INFO: GPS data processed {"connection_id":145795,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:14:34] local.INFO: Acknowledgment sent {"connection_id":145795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:14:57] local.INFO: TCP Data received {"connection_id":145997,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:14:57] local.INFO: Processing buffer {"connection_id":145997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:14:57] local.INFO: IMEI packet received {"connection_id":145997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":145997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:15:02] local.INFO: TCP Data received {"connection_id":145997,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:15:02] local.INFO: Processing buffer {"connection_id":145997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:15:02] local.INFO: IMEI packet received {"connection_id":145997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":145997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:15:03] local.INFO: TCP Data received {"connection_id":145997,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9eb6680012d77a14005f2a670001900fa27..."} 
[2026-08-01 02:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9eb6680012d77a14005f2a670001900fa27..."} 
[2026-08-01 02:15:03] local.INFO: Processing buffer {"connection_id":145997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9eb6680012d77a14005f2a670001900fa27..."} 
[2026-08-01 02:15:03] local.INFO: Packet analysis {"connection_id":145997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9eb"} 
[2026-08-01 02:15:03] local.INFO: Extracted packet for processing {"connection_id":145997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9eb"} 
[2026-08-01 02:15:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":25,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095766784001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02: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-08-01 02:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785530640000,"timestamp_ms":1785530640000,"timestamp_seconds":1785530640,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9eb6680"} 
[2026-08-01 02:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:15: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-08-01 02: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":53,"data_length":795,"current_offset":136} 
[2026-08-01 02:15: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-08-01 02: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-08-01 02:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095766784001,"66":24897,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095766784001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:15:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:15:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095766784001,"power":24897,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":145997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:15:03] local.INFO: GPS data processed {"connection_id":145997,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:15:03] local.INFO: Acknowledgment sent {"connection_id":145997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:15:35] local.INFO: TCP Data received {"connection_id":145997,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9eb6680012d77a14005f2a670001900fa27..."} 
[2026-08-01 02:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9eb6680012d77a14005f2a670001900fa27..."} 
[2026-08-01 02:15:35] local.INFO: Processing buffer {"connection_id":145997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9eb6680012d77a14005f2a670001900fa27..."} 
[2026-08-01 02:15:35] local.INFO: Packet analysis {"connection_id":145997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9eb"} 
[2026-08-01 02:15:35] local.INFO: Extracted packet for processing {"connection_id":145997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9eb"} 
[2026-08-01 02:15:35] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":25,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095766784001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:15: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-08-01 02:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785530640000,"timestamp_ms":1785530640000,"timestamp_seconds":1785530640,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9eb6680"} 
[2026-08-01 02:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:15: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-08-01 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-01 02:15:35] 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-08-01 02: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-08-01 02:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":145997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":145997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":145997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095766784001,"66":24897,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095766784001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:15:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:15:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095766784001,"power":24897,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":145997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:15:35] local.INFO: GPS data processed {"connection_id":145997,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:15:35] local.INFO: Acknowledgment sent {"connection_id":145997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:15:57] local.INFO: TCP Data received {"connection_id":148330,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:15:57] local.INFO: Processing buffer {"connection_id":148330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:15:57] local.INFO: IMEI packet received {"connection_id":148330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":148330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:16:02] local.INFO: TCP Data received {"connection_id":148330,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:16:02] local.INFO: Processing buffer {"connection_id":148330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:16:02] local.INFO: IMEI packet received {"connection_id":148330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":148330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:16:03] local.INFO: TCP Data received {"connection_id":148330,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9eb6680012d77a14005f2a670001900fa27..."} 
[2026-08-01 02:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9eb6680012d77a14005f2a670001900fa27..."} 
[2026-08-01 02:16:03] local.INFO: Processing buffer {"connection_id":148330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9eb6680012d77a14005f2a670001900fa27..."} 
[2026-08-01 02:16:03] local.INFO: Packet analysis {"connection_id":148330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9eb"} 
[2026-08-01 02:16:03] local.INFO: Extracted packet for processing {"connection_id":148330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9eb"} 
[2026-08-01 02:16:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":25,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095766784001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:16: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-08-01 02:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785530640000,"timestamp_ms":1785530640000,"timestamp_seconds":1785530640,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9eb6680"} 
[2026-08-01 02:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:16: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-08-01 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-01 02:16: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-08-01 02: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-08-01 02:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095766784001,"66":24897,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095766784001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:16:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:16:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095766784001,"power":24897,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":148330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:16:03] local.INFO: GPS data processed {"connection_id":148330,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:16:03] local.INFO: Acknowledgment sent {"connection_id":148330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:16:35] local.INFO: TCP Data received {"connection_id":148330,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9eb6680012d77a14005f2a670001900fa27..."} 
[2026-08-01 02:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9eb6680012d77a14005f2a670001900fa27..."} 
[2026-08-01 02:16:35] local.INFO: Processing buffer {"connection_id":148330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9eb6680012d77a14005f2a670001900fa27..."} 
[2026-08-01 02:16:35] local.INFO: Packet analysis {"connection_id":148330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9eb"} 
[2026-08-01 02:16:35] local.INFO: Extracted packet for processing {"connection_id":148330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9eb"} 
[2026-08-01 02:16:35] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":25,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095766784001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:16: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-08-01 02:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785530640000,"timestamp_ms":1785530640000,"timestamp_seconds":1785530640,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9eb6680"} 
[2026-08-01 02:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 02:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-01 02:16:35] 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-08-01 02: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-08-01 02:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095766784001,"66":24897,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095766784001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:16:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:16:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095766784001,"power":24897,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":148330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:16:35] local.INFO: GPS data processed {"connection_id":148330,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:16:35] local.INFO: Acknowledgment sent {"connection_id":148330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:16:56] local.INFO: TCP Data received {"connection_id":147018,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:16:56] local.INFO: Processing buffer {"connection_id":147018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:16:56] local.INFO: IMEI packet received {"connection_id":147018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":147018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:17:02] local.INFO: TCP Data received {"connection_id":147018,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:17:02] local.INFO: Processing buffer {"connection_id":147018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:17:02] local.INFO: IMEI packet received {"connection_id":147018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":147018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:17:03] local.INFO: TCP Data received {"connection_id":147018,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9eb6680012d77a14005f2a670001900fa27..."} 
[2026-08-01 02:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9eb6680012d77a14005f2a670001900fa27..."} 
[2026-08-01 02:17:03] local.INFO: Processing buffer {"connection_id":147018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9eb6680012d77a14005f2a670001900fa27..."} 
[2026-08-01 02:17:03] local.INFO: Packet analysis {"connection_id":147018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9eb"} 
[2026-08-01 02:17:03] local.INFO: Extracted packet for processing {"connection_id":147018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9eb"} 
[2026-08-01 02:17:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":25,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 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-08-01 02:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095766784001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:17: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-08-01 02:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785530640000,"timestamp_ms":1785530640000,"timestamp_seconds":1785530640,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9eb6680"} 
[2026-08-01 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-08-01 02:17: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-08-01 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-01 02:17: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-08-01 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-08-01 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-08-01 02:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095766784001,"66":24897,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095766784001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:17:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:17:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095766784001,"power":24897,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":147018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:17:03] local.INFO: GPS data processed {"connection_id":147018,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:17:03] local.INFO: Acknowledgment sent {"connection_id":147018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:17:34] local.INFO: TCP Data received {"connection_id":147018,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9eb6680012d77a14005f2a670001900fa27..."} 
[2026-08-01 02:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9eb6680012d77a14005f2a670001900fa27..."} 
[2026-08-01 02:17:34] local.INFO: Processing buffer {"connection_id":147018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9eb6680012d77a14005f2a670001900fa27..."} 
[2026-08-01 02:17:34] local.INFO: Packet analysis {"connection_id":147018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9eb"} 
[2026-08-01 02:17:34] local.INFO: Extracted packet for processing {"connection_id":147018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9eb"} 
[2026-08-01 02:17:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":25,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095766784001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:17:34] 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-08-01 02:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785530640000,"timestamp_ms":1785530640000,"timestamp_seconds":1785530640,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9eb6680"} 
[2026-08-01 02:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:17: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-08-01 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-01 02:17:34] 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-08-01 02: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-08-01 02:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095766784001,"66":24897,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095766784001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:17:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:17:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095766784001,"power":24897,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":147018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:17:34] local.INFO: GPS data processed {"connection_id":147018,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:17:34] local.INFO: Acknowledgment sent {"connection_id":147018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:17:56] local.INFO: TCP Data received {"connection_id":148331,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:17:56] local.INFO: Processing buffer {"connection_id":148331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:17:56] local.INFO: IMEI packet received {"connection_id":148331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":148331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:18:02] local.INFO: TCP Data received {"connection_id":148331,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:18:02] local.INFO: Processing buffer {"connection_id":148331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:18:02] local.INFO: IMEI packet received {"connection_id":148331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":148331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:18:04] local.INFO: TCP Data received {"connection_id":148331,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9eb6680012d77a14005f2a670001900fa27..."} 
[2026-08-01 02:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9eb6680012d77a14005f2a670001900fa27..."} 
[2026-08-01 02:18:04] local.INFO: Processing buffer {"connection_id":148331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9eb6680012d77a14005f2a670001900fa27..."} 
[2026-08-01 02:18:04] local.INFO: Packet analysis {"connection_id":148331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9eb"} 
[2026-08-01 02:18:04] local.INFO: Extracted packet for processing {"connection_id":148331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9eb"} 
[2026-08-01 02:18:04] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":25,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095766784001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:18: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-08-01 02:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785530640000,"timestamp_ms":1785530640000,"timestamp_seconds":1785530640,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9eb6680"} 
[2026-08-01 02:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 02:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-01 02:18:04] 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-08-01 02: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-08-01 02:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":148331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":148331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":148331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095766784001,"66":24897,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095766784001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:18:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:18:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095766784001,"power":24897,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":148331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:18:04] local.INFO: GPS data processed {"connection_id":148331,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:18:04] local.INFO: Acknowledgment sent {"connection_id":148331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:18:35] local.INFO: TCP Data received {"connection_id":148331,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9eb6680012d77a14005f2a670001900fa27..."} 
[2026-08-01 02:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9eb6680012d77a14005f2a670001900fa27..."} 
[2026-08-01 02:18:35] local.INFO: Processing buffer {"connection_id":148331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9eb6680012d77a14005f2a670001900fa27..."} 
[2026-08-01 02:18:35] local.INFO: Packet analysis {"connection_id":148331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9eb"} 
[2026-08-01 02:18:35] local.INFO: Extracted packet for processing {"connection_id":148331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9eb"} 
[2026-08-01 02:18:35] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":25,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095766784001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:18: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-08-01 02:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785530640000,"timestamp_ms":1785530640000,"timestamp_seconds":1785530640,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9eb6680"} 
[2026-08-01 02:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:18:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 02:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-01 02:18:35] 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-08-01 02: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-08-01 02:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095766784001,"66":24897,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095766784001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:18:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:18:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095766784001,"power":24897,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":148331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:18:35] local.INFO: GPS data processed {"connection_id":148331,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:18:35] local.INFO: Acknowledgment sent {"connection_id":148331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:19:02] local.INFO: TCP Data received {"connection_id":147019,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:19:02] local.INFO: Processing buffer {"connection_id":147019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:19:02] local.INFO: IMEI packet received {"connection_id":147019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":147019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:19:07] local.INFO: TCP Data received {"connection_id":147019,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:19:07] local.INFO: Processing buffer {"connection_id":147019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:19:07] local.INFO: IMEI packet received {"connection_id":147019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":147019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:19:08] local.INFO: TCP Data received {"connection_id":147019,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9eb6680012d77a14005f2a670001900fa27..."} 
[2026-08-01 02:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9eb6680012d77a14005f2a670001900fa27..."} 
[2026-08-01 02:19:08] local.INFO: Processing buffer {"connection_id":147019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9eb6680012d77a14005f2a670001900fa27..."} 
[2026-08-01 02:19:08] local.INFO: Packet analysis {"connection_id":147019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9eb"} 
[2026-08-01 02:19:08] local.INFO: Extracted packet for processing {"connection_id":147019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9eb"} 
[2026-08-01 02:19:08] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":25,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095766784001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:19: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-08-01 02:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785530640000,"timestamp_ms":1785530640000,"timestamp_seconds":1785530640,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9eb6680"} 
[2026-08-01 02:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-01 02:19:08] 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-08-01 02: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-08-01 02:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":147019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":147019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":147019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095766784001,"66":24897,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095766784001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:19:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:19:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095766784001,"power":24897,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":147019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:19:08] local.INFO: GPS data processed {"connection_id":147019,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:19:08] local.INFO: Acknowledgment sent {"connection_id":147019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:19:13] local.INFO: TCP Data received {"connection_id":147019,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9eb6680012d77a14005f2a670001900fa27..."} 
[2026-08-01 02:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9eb6680012d77a14005f2a670001900fa27..."} 
[2026-08-01 02:19:13] local.INFO: Processing buffer {"connection_id":147019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9eb6680012d77a14005f2a670001900fa27..."} 
[2026-08-01 02:19:13] local.INFO: Packet analysis {"connection_id":147019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9eb"} 
[2026-08-01 02:19:13] local.INFO: Extracted packet for processing {"connection_id":147019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9eb"} 
[2026-08-01 02:19:13] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":25,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 02:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095766784001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:19:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:19:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:19:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 02:19:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785530640000,"timestamp_ms":1785530640000,"timestamp_seconds":1785530640,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9eb6680"} 
[2026-08-01 02:19:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:19:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 02:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-01 02:19:13] 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-08-01 02:19:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 02:19:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:19:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:19:13] local.INFO: Teltonika packet parsed successfully {"connection_id":147019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:19:13] local.INFO: Passing IMEI to GPS processor {"connection_id":147019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:19:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":147019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:19:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:19:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:19:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:19:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095766784001,"66":24897,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:19:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:19:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:19:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095766784001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:19:13] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:19:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:19:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:19:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:19:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095766784001,"power":24897,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":147019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:19:13] local.INFO: GPS data processed {"connection_id":147019,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:19:13] local.INFO: Acknowledgment sent {"connection_id":147019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:19:57] local.INFO: TCP Data received {"connection_id":147020,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:19:57] local.INFO: Processing buffer {"connection_id":147020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:19:57] local.INFO: IMEI packet received {"connection_id":147020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":147020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:20:02] local.INFO: TCP Data received {"connection_id":147020,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:20:02] local.INFO: Processing buffer {"connection_id":147020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:20:02] local.INFO: IMEI packet received {"connection_id":147020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":147020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:20:03] local.INFO: TCP Data received {"connection_id":147020,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9effe48012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9effe48012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:20:03] local.INFO: Processing buffer {"connection_id":147020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9effe48012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:20:03] local.INFO: Packet analysis {"connection_id":147020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9ef"} 
[2026-08-01 02:20:03] local.INFO: Extracted packet for processing {"connection_id":147020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9ef"} 
[2026-08-01 02:20:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":25,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095843840001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:20: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-08-01 02:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785530941000,"timestamp_ms":1785530941000,"timestamp_seconds":1785530941,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9effe48"} 
[2026-08-01 02:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02: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-08-01 02: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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 02:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02: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-08-01 02:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095843840001,"66":25451,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095843840001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:20:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:20:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095843840001,"power":25451,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":147020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:20:03] local.INFO: GPS data processed {"connection_id":147020,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:20:03] local.INFO: Acknowledgment sent {"connection_id":147020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:20:34] local.INFO: TCP Data received {"connection_id":147020,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9effe48012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9effe48012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:20:34] local.INFO: Processing buffer {"connection_id":147020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9effe48012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:20:34] local.INFO: Packet analysis {"connection_id":147020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9ef"} 
[2026-08-01 02:20:34] local.INFO: Extracted packet for processing {"connection_id":147020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9ef"} 
[2026-08-01 02:20:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":25,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095843840001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:20:34] 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-08-01 02:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785530941000,"timestamp_ms":1785530941000,"timestamp_seconds":1785530941,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9effe48"} 
[2026-08-01 02:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:20: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-08-01 02: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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 02:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02: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-08-01 02:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095843840001,"66":25451,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095843840001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:20:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:20:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095843840001,"power":25451,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":147020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:20:34] local.INFO: GPS data processed {"connection_id":147020,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:20:34] local.INFO: Acknowledgment sent {"connection_id":147020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:20:56] local.INFO: TCP Data received {"connection_id":145796,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:20:56] local.INFO: Processing buffer {"connection_id":145796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:20:56] local.INFO: IMEI packet received {"connection_id":145796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":145796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:21:02] local.INFO: TCP Data received {"connection_id":145796,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:21:02] local.INFO: Processing buffer {"connection_id":145796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:21:02] local.INFO: IMEI packet received {"connection_id":145796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":145796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:21:03] local.INFO: TCP Data received {"connection_id":145796,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9effe48012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9effe48012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:21:03] local.INFO: Processing buffer {"connection_id":145796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9effe48012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:21:03] local.INFO: Packet analysis {"connection_id":145796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9ef"} 
[2026-08-01 02:21:03] local.INFO: Extracted packet for processing {"connection_id":145796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9ef"} 
[2026-08-01 02:21:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":25,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 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-08-01 02:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095843840001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02: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-08-01 02:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785530941000,"timestamp_ms":1785530941000,"timestamp_seconds":1785530941,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9effe48"} 
[2026-08-01 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-08-01 02: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-08-01 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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 02:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 02:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095843840001,"66":25451,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095843840001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:21:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:21:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095843840001,"power":25451,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":145796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:21:03] local.INFO: GPS data processed {"connection_id":145796,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:21:03] local.INFO: Acknowledgment sent {"connection_id":145796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:21:34] local.INFO: TCP Data received {"connection_id":145796,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9effe48012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9effe48012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:21:34] local.INFO: Processing buffer {"connection_id":145796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9effe48012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:21:34] local.INFO: Packet analysis {"connection_id":145796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9ef"} 
[2026-08-01 02:21:34] local.INFO: Extracted packet for processing {"connection_id":145796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9ef"} 
[2026-08-01 02:21:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":25,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095843840001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:21:34] 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-08-01 02:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785530941000,"timestamp_ms":1785530941000,"timestamp_seconds":1785530941,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9effe48"} 
[2026-08-01 02:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:21: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-08-01 02: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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 02:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02: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-08-01 02:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095843840001,"66":25451,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095843840001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:21:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:21:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095843840001,"power":25451,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":145796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:21:34] local.INFO: GPS data processed {"connection_id":145796,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:21:34] local.INFO: Acknowledgment sent {"connection_id":145796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:21:56] local.INFO: TCP Data received {"connection_id":148332,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:21:56] local.INFO: Processing buffer {"connection_id":148332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:21:56] local.INFO: IMEI packet received {"connection_id":148332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":148332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:22:02] local.INFO: TCP Data received {"connection_id":148332,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:22:02] local.INFO: Processing buffer {"connection_id":148332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:22:02] local.INFO: IMEI packet received {"connection_id":148332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":148332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:22:08] local.INFO: TCP Data received {"connection_id":148332,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9effe48012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9effe48012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:22:08] local.INFO: Processing buffer {"connection_id":148332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9effe48012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:22:08] local.INFO: Packet analysis {"connection_id":148332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9ef"} 
[2026-08-01 02:22:08] local.INFO: Extracted packet for processing {"connection_id":148332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9ef"} 
[2026-08-01 02:22:08] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":25,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095843840001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:22: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-08-01 02:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785530941000,"timestamp_ms":1785530941000,"timestamp_seconds":1785530941,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9effe48"} 
[2026-08-01 02:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02: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-08-01 02: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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 02:22:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02: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-08-01 02:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":148332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":148332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":148332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095843840001,"66":25451,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095843840001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:22:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:22:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095843840001,"power":25451,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":148332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:22:08] local.INFO: GPS data processed {"connection_id":148332,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:22:08] local.INFO: Acknowledgment sent {"connection_id":148332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:22:40] local.INFO: TCP Data received {"connection_id":148332,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9effe48012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9effe48012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:22:40] local.INFO: Processing buffer {"connection_id":148332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9effe48012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:22:40] local.INFO: Packet analysis {"connection_id":148332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9ef"} 
[2026-08-01 02:22:40] local.INFO: Extracted packet for processing {"connection_id":148332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9ef"} 
[2026-08-01 02:22:40] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":25,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095843840001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:22:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:22:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 02:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785530941000,"timestamp_ms":1785530941000,"timestamp_seconds":1785530941,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9effe48"} 
[2026-08-01 02:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:22: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-08-01 02: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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 02:22:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02:22:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 02:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":148332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":148332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":148332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:22:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095843840001,"66":25451,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095843840001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:22:40] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:22:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:22:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095843840001,"power":25451,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:22:40] local.INFO: DEBUG: GPS processor result {"connection_id":148332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:22:40] local.INFO: GPS data processed {"connection_id":148332,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:22:40] local.INFO: Acknowledgment sent {"connection_id":148332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:22:56] local.INFO: TCP Data received {"connection_id":145998,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:22:56] local.INFO: Processing buffer {"connection_id":145998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:22:56] local.INFO: IMEI packet received {"connection_id":145998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":145998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:23:02] local.INFO: TCP Data received {"connection_id":145998,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:23:02] local.INFO: Processing buffer {"connection_id":145998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:23:02] local.INFO: IMEI packet received {"connection_id":145998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":145998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:23:08] local.INFO: TCP Data received {"connection_id":145998,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9effe48012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9effe48012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:23:08] local.INFO: Processing buffer {"connection_id":145998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9effe48012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:23:08] local.INFO: Packet analysis {"connection_id":145998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9ef"} 
[2026-08-01 02:23:08] local.INFO: Extracted packet for processing {"connection_id":145998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9ef"} 
[2026-08-01 02:23:08] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":25,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 02:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095843840001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:23: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-08-01 02:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785530941000,"timestamp_ms":1785530941000,"timestamp_seconds":1785530941,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9effe48"} 
[2026-08-01 02:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 02:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 02:23:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02:23:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 02:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095843840001,"66":25451,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095843840001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:23:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:23:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095843840001,"power":25451,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":145998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:23:08] local.INFO: GPS data processed {"connection_id":145998,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:23:08] local.INFO: Acknowledgment sent {"connection_id":145998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:23:39] local.INFO: TCP Data received {"connection_id":145998,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9effe48012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9effe48012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:23:39] local.INFO: Processing buffer {"connection_id":145998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9effe48012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:23:39] local.INFO: Packet analysis {"connection_id":145998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9ef"} 
[2026-08-01 02:23:39] local.INFO: Extracted packet for processing {"connection_id":145998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9ef"} 
[2026-08-01 02:23:39] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":25,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 02:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095843840001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 02:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785530941000,"timestamp_ms":1785530941000,"timestamp_seconds":1785530941,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9effe48"} 
[2026-08-01 02:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 02:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 02:23:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02:23:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 02:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":145998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":145998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":145998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095843840001,"66":25451,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095843840001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:23:39] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:23:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095843840001,"power":25451,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":145998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:23:39] local.INFO: GPS data processed {"connection_id":145998,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:23:39] local.INFO: Acknowledgment sent {"connection_id":145998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:24:02] local.INFO: TCP Data received {"connection_id":145797,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:24:02] local.INFO: Processing buffer {"connection_id":145797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:24:02] local.INFO: IMEI packet received {"connection_id":145797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":145797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:24:07] local.INFO: TCP Data received {"connection_id":145797,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:24:07] local.INFO: Processing buffer {"connection_id":145797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:24:07] local.INFO: IMEI packet received {"connection_id":145797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":145797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:24:08] local.INFO: TCP Data received {"connection_id":145797,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9effe48012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9effe48012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:24:08] local.INFO: Processing buffer {"connection_id":145797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9effe48012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:24:08] local.INFO: Packet analysis {"connection_id":145797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9ef"} 
[2026-08-01 02:24:08] local.INFO: Extracted packet for processing {"connection_id":145797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9ef"} 
[2026-08-01 02:24:08] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":25,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095843840001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02: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-08-01 02:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785530941000,"timestamp_ms":1785530941000,"timestamp_seconds":1785530941,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9effe48"} 
[2026-08-01 02:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 02: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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 02:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02: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-08-01 02:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095843840001,"66":25451,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095843840001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:24:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:24:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095843840001,"power":25451,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":145797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:24:08] local.INFO: GPS data processed {"connection_id":145797,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:24:08] local.INFO: Acknowledgment sent {"connection_id":145797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:24:39] local.INFO: TCP Data received {"connection_id":145797,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9effe48012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9effe48012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:24:39] local.INFO: Processing buffer {"connection_id":145797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9effe48012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:24:39] local.INFO: Packet analysis {"connection_id":145797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9ef"} 
[2026-08-01 02:24:39] local.INFO: Extracted packet for processing {"connection_id":145797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9ef"} 
[2026-08-01 02:24:39] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":25,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 02:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095843840001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:24:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:24:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:24:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 02:24:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785530941000,"timestamp_ms":1785530941000,"timestamp_seconds":1785530941,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9effe48"} 
[2026-08-01 02:24:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:24:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 02:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 02:24:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02:24:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 02:24:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:24:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:24:39] local.INFO: Teltonika packet parsed successfully {"connection_id":145797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:24:39] local.INFO: Passing IMEI to GPS processor {"connection_id":145797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:24:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":145797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:24:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:24:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:24:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:24:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095843840001,"66":25451,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:24:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:24:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:24:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095843840001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:24:39] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:24:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:24:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:24:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:24:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095843840001,"power":25451,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:24:39] local.INFO: DEBUG: GPS processor result {"connection_id":145797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:24:39] local.INFO: GPS data processed {"connection_id":145797,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:24:39] local.INFO: Acknowledgment sent {"connection_id":145797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:24:56] local.INFO: TCP Data received {"connection_id":145999,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:24:56] local.INFO: Processing buffer {"connection_id":145999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:24:56] local.INFO: IMEI packet received {"connection_id":145999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":145999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:25:02] local.INFO: TCP Data received {"connection_id":145999,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:25:02] local.INFO: Processing buffer {"connection_id":145999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:25:02] local.INFO: IMEI packet received {"connection_id":145999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":145999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:25:03] local.INFO: TCP Data received {"connection_id":145999,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9f49610012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9f49610012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:25:03] local.INFO: Processing buffer {"connection_id":145999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9f49610012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:25:03] local.INFO: Packet analysis {"connection_id":145999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9f4"} 
[2026-08-01 02:25:03] local.INFO: Extracted packet for processing {"connection_id":145999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9f4"} 
[2026-08-01 02:25:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":25,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095920896001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02: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-08-01 02:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785531242000,"timestamp_ms":1785531242000,"timestamp_seconds":1785531242,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9f49610"} 
[2026-08-01 02:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02: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-08-01 02: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":107,"data_length":795,"current_offset":136} 
[2026-08-01 02:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02: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-08-01 02:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095920896001,"66":25321,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095920896001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:25:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:25:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095920896001,"power":25321,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":145999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:25:03] local.INFO: GPS data processed {"connection_id":145999,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:25:03] local.INFO: Acknowledgment sent {"connection_id":145999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:25:35] local.INFO: TCP Data received {"connection_id":145999,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9f49610012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9f49610012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:25:35] local.INFO: Processing buffer {"connection_id":145999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9f49610012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:25:35] local.INFO: Packet analysis {"connection_id":145999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9f4"} 
[2026-08-01 02:25:35] local.INFO: Extracted packet for processing {"connection_id":145999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9f4"} 
[2026-08-01 02:25:35] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":25,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095920896001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:25: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-08-01 02:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785531242000,"timestamp_ms":1785531242000,"timestamp_seconds":1785531242,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9f49610"} 
[2026-08-01 02:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:25:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 02:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 02:25:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02: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-08-01 02:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":145999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":145999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":145999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095920896001,"66":25321,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095920896001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:25:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:25:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095920896001,"power":25321,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":145999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:25:35] local.INFO: GPS data processed {"connection_id":145999,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:25:35] local.INFO: Acknowledgment sent {"connection_id":145999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:25:56] local.INFO: TCP Data received {"connection_id":145798,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:25:56] local.INFO: Processing buffer {"connection_id":145798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:25:56] local.INFO: IMEI packet received {"connection_id":145798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":145798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:26:02] local.INFO: TCP Data received {"connection_id":145798,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:26:02] local.INFO: Processing buffer {"connection_id":145798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:26:02] local.INFO: IMEI packet received {"connection_id":145798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":145798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:26:03] local.INFO: TCP Data received {"connection_id":145798,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9f49610012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9f49610012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:26:03] local.INFO: Processing buffer {"connection_id":145798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9f49610012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:26:03] local.INFO: Packet analysis {"connection_id":145798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9f4"} 
[2026-08-01 02:26:03] local.INFO: Extracted packet for processing {"connection_id":145798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9f4"} 
[2026-08-01 02:26:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":25,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 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-08-01 02:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095920896001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:26: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-08-01 02:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785531242000,"timestamp_ms":1785531242000,"timestamp_seconds":1785531242,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9f49610"} 
[2026-08-01 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-08-01 02:26: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-08-01 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 02:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 02:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095920896001,"66":25321,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095920896001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:26:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:26:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095920896001,"power":25321,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":145798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:26:03] local.INFO: GPS data processed {"connection_id":145798,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:26:03] local.INFO: Acknowledgment sent {"connection_id":145798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:26:35] local.INFO: TCP Data received {"connection_id":145798,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9f49610012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9f49610012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:26:35] local.INFO: Processing buffer {"connection_id":145798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9f49610012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:26:35] local.INFO: Packet analysis {"connection_id":145798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9f4"} 
[2026-08-01 02:26:35] local.INFO: Extracted packet for processing {"connection_id":145798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9f4"} 
[2026-08-01 02:26:35] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":25,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095920896001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:26: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-08-01 02:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785531242000,"timestamp_ms":1785531242000,"timestamp_seconds":1785531242,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9f49610"} 
[2026-08-01 02:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 02:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 02:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02: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-08-01 02:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":145798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":145798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":145798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095920896001,"66":25321,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095920896001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:26:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:26:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095920896001,"power":25321,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":145798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:26:35] local.INFO: GPS data processed {"connection_id":145798,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:26:35] local.INFO: Acknowledgment sent {"connection_id":145798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:26:56] local.INFO: TCP Data received {"connection_id":145799,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:26:56] local.INFO: Processing buffer {"connection_id":145799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:26:56] local.INFO: IMEI packet received {"connection_id":145799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":145799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:27:02] local.INFO: TCP Data received {"connection_id":145799,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:27:02] local.INFO: Processing buffer {"connection_id":145799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:27:02] local.INFO: IMEI packet received {"connection_id":145799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":145799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:27:03] local.INFO: TCP Data received {"connection_id":145799,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9f49610012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9f49610012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:27:03] local.INFO: Processing buffer {"connection_id":145799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9f49610012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:27:03] local.INFO: Packet analysis {"connection_id":145799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9f4"} 
[2026-08-01 02:27:03] local.INFO: Extracted packet for processing {"connection_id":145799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9f4"} 
[2026-08-01 02:27:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":25,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095920896001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02: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-08-01 02:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785531242000,"timestamp_ms":1785531242000,"timestamp_seconds":1785531242,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9f49610"} 
[2026-08-01 02:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02: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-08-01 02: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":107,"data_length":795,"current_offset":136} 
[2026-08-01 02:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02: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-08-01 02:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095920896001,"66":25321,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095920896001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:27:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:27:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095920896001,"power":25321,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":145799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:27:03] local.INFO: GPS data processed {"connection_id":145799,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:27:03] local.INFO: Acknowledgment sent {"connection_id":145799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:27:40] local.INFO: TCP Data received {"connection_id":145799,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9f49610012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9f49610012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:27:40] local.INFO: Processing buffer {"connection_id":145799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9f49610012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:27:40] local.INFO: Packet analysis {"connection_id":145799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9f4"} 
[2026-08-01 02:27:40] local.INFO: Extracted packet for processing {"connection_id":145799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9f4"} 
[2026-08-01 02:27:40] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":25,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095920896001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 02:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785531242000,"timestamp_ms":1785531242000,"timestamp_seconds":1785531242,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9f49610"} 
[2026-08-01 02:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:27: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-08-01 02: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 02:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02: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-08-01 02:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":145799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":145799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":145799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095920896001,"66":25321,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095920896001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:27:40] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:27:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:27:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095920896001,"power":25321,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":145799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:27:40] local.INFO: GPS data processed {"connection_id":145799,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:27:40] local.INFO: Acknowledgment sent {"connection_id":145799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:28:02] local.INFO: TCP Data received {"connection_id":146000,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:28:02] local.INFO: Processing buffer {"connection_id":146000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:28:02] local.INFO: IMEI packet received {"connection_id":146000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":146000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:28:07] local.INFO: TCP Data received {"connection_id":146000,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:28:07] local.INFO: Processing buffer {"connection_id":146000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:28:07] local.INFO: IMEI packet received {"connection_id":146000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":146000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:28:08] local.INFO: TCP Data received {"connection_id":146000,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9f49610012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9f49610012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:28:08] local.INFO: Processing buffer {"connection_id":146000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9f49610012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:28:08] local.INFO: Packet analysis {"connection_id":146000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9f4"} 
[2026-08-01 02:28:08] local.INFO: Extracted packet for processing {"connection_id":146000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9f4"} 
[2026-08-01 02:28:08] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":25,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 02:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095920896001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:28: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-08-01 02:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785531242000,"timestamp_ms":1785531242000,"timestamp_seconds":1785531242,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9f49610"} 
[2026-08-01 02:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:28: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-08-01 02:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 02:28:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02:28:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 02:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":146000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":146000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":146000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095920896001,"66":25321,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095920896001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:28:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:28:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095920896001,"power":25321,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":146000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:28:08] local.INFO: GPS data processed {"connection_id":146000,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:28:08] local.INFO: Acknowledgment sent {"connection_id":146000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:28:13] local.INFO: TCP Data received {"connection_id":146000,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9f49610012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9f49610012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:28:13] local.INFO: Processing buffer {"connection_id":146000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9f49610012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:28:13] local.INFO: Packet analysis {"connection_id":146000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9f4"} 
[2026-08-01 02:28:13] local.INFO: Extracted packet for processing {"connection_id":146000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9f4"} 
[2026-08-01 02:28:13] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":25,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 02:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095920896001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:28:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 02:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785531242000,"timestamp_ms":1785531242000,"timestamp_seconds":1785531242,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9f49610"} 
[2026-08-01 02:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:28:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 02:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 02:28:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02:28:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 02:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":146000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":146000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":146000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:28:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095920896001,"66":25321,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095920896001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:28:13] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:28:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095920896001,"power":25321,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":146000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:28:13] local.INFO: GPS data processed {"connection_id":146000,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:28:13] local.INFO: Acknowledgment sent {"connection_id":146000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:28:57] local.INFO: TCP Data received {"connection_id":148333,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:28:57] local.INFO: Processing buffer {"connection_id":148333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:28:57] local.INFO: IMEI packet received {"connection_id":148333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":148333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:29:02] local.INFO: TCP Data received {"connection_id":148333,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:29:02] local.INFO: Processing buffer {"connection_id":148333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:29:02] local.INFO: IMEI packet received {"connection_id":148333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":148333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:29:03] local.INFO: TCP Data received {"connection_id":148333,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9f49610012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9f49610012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:29:03] local.INFO: Processing buffer {"connection_id":148333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9f49610012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:29:03] local.INFO: Packet analysis {"connection_id":148333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9f4"} 
[2026-08-01 02:29:03] local.INFO: Extracted packet for processing {"connection_id":148333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9f4"} 
[2026-08-01 02:29:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":25,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095920896001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:29: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-08-01 02:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785531242000,"timestamp_ms":1785531242000,"timestamp_seconds":1785531242,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9f49610"} 
[2026-08-01 02:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02: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-08-01 02:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 02:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02: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-08-01 02:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095920896001,"66":25321,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095920896001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:29:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:29:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095920896001,"power":25321,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":148333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:29:03] local.INFO: GPS data processed {"connection_id":148333,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:29:03] local.INFO: Acknowledgment sent {"connection_id":148333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:29:36] local.INFO: TCP Data received {"connection_id":148333,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9f49610012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9f49610012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:29:36] local.INFO: Processing buffer {"connection_id":148333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9f49610012d77a14005f2a670001900fa28..."} 
[2026-08-01 02:29:36] local.INFO: Packet analysis {"connection_id":148333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9f4"} 
[2026-08-01 02:29:36] local.INFO: Extracted packet for processing {"connection_id":148333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9f4"} 
[2026-08-01 02:29:36] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":25,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095920896001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 02:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785531242000,"timestamp_ms":1785531242000,"timestamp_seconds":1785531242,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9f49610"} 
[2026-08-01 02:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02: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-08-01 02: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 02:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02: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-08-01 02:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095920896001,"66":25321,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095920896001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:29:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:29:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095920896001,"power":25321,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":148333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:29:36] local.INFO: GPS data processed {"connection_id":148333,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:29:36] local.INFO: Acknowledgment sent {"connection_id":148333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:29:57] local.INFO: TCP Data received {"connection_id":146001,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:29:57] local.INFO: Processing buffer {"connection_id":146001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:29:57] local.INFO: IMEI packet received {"connection_id":146001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":146001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:30:03] local.INFO: TCP Data received {"connection_id":146001,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:30:03] local.INFO: Processing buffer {"connection_id":146001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:30:03] local.INFO: IMEI packet received {"connection_id":146001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":146001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:30:04] local.INFO: TCP Data received {"connection_id":146001,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9f92dd8012d77a14005f2a670001900fa26..."} 
[2026-08-01 02:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9f92dd8012d77a14005f2a670001900fa26..."} 
[2026-08-01 02:30:04] local.INFO: Processing buffer {"connection_id":146001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9f92dd8012d77a14005f2a670001900fa26..."} 
[2026-08-01 02:30:04] local.INFO: Packet analysis {"connection_id":146001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9f9"} 
[2026-08-01 02:30:04] local.INFO: Extracted packet for processing {"connection_id":146001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9f9"} 
[2026-08-01 02:30:04] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":25,"angle":250,"satellites":38,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095997952001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:30: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-08-01 02:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785531543000,"timestamp_ms":1785531543000,"timestamp_seconds":1785531543,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9f92dd8"} 
[2026-08-01 02:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:30: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-08-01 02:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-01 02:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02: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-08-01 02:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095997952001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095997952001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:30:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:30:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095997952001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":146001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:30:04] local.INFO: GPS data processed {"connection_id":146001,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:30:04] local.INFO: Acknowledgment sent {"connection_id":146001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:30:35] local.INFO: TCP Data received {"connection_id":146001,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9f92dd8012d77a14005f2a670001900fa26..."} 
[2026-08-01 02:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9f92dd8012d77a14005f2a670001900fa26..."} 
[2026-08-01 02:30:35] local.INFO: Processing buffer {"connection_id":146001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9f92dd8012d77a14005f2a670001900fa26..."} 
[2026-08-01 02:30:35] local.INFO: Packet analysis {"connection_id":146001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9f9"} 
[2026-08-01 02:30:35] local.INFO: Extracted packet for processing {"connection_id":146001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9f9"} 
[2026-08-01 02:30:35] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":25,"angle":250,"satellites":38,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095997952001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:30: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-08-01 02:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785531543000,"timestamp_ms":1785531543000,"timestamp_seconds":1785531543,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9f92dd8"} 
[2026-08-01 02:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:30: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-08-01 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-01 02:30:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02: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-08-01 02:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095997952001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095997952001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:30:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:30:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095997952001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":146001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:30:35] local.INFO: GPS data processed {"connection_id":146001,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:30:35] local.INFO: Acknowledgment sent {"connection_id":146001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:30:56] local.INFO: TCP Data received {"connection_id":148334,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:30:56] local.INFO: Processing buffer {"connection_id":148334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:30:56] local.INFO: IMEI packet received {"connection_id":148334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":148334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:31:02] local.INFO: TCP Data received {"connection_id":148334,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:31:02] local.INFO: Processing buffer {"connection_id":148334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:31:02] local.INFO: IMEI packet received {"connection_id":148334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":148334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:31:03] local.INFO: TCP Data received {"connection_id":148334,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9f92dd8012d77a14005f2a670001900fa26..."} 
[2026-08-01 02:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9f92dd8012d77a14005f2a670001900fa26..."} 
[2026-08-01 02:31:03] local.INFO: Processing buffer {"connection_id":148334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9f92dd8012d77a14005f2a670001900fa26..."} 
[2026-08-01 02:31:03] local.INFO: Packet analysis {"connection_id":148334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9f9"} 
[2026-08-01 02:31:03] local.INFO: Extracted packet for processing {"connection_id":148334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9f9"} 
[2026-08-01 02:31:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":25,"angle":250,"satellites":38,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095997952001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02: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-08-01 02:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785531543000,"timestamp_ms":1785531543000,"timestamp_seconds":1785531543,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9f92dd8"} 
[2026-08-01 02:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-01 02:31:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02: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-08-01 02:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095997952001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095997952001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:31:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:31:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095997952001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":148334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:31:03] local.INFO: GPS data processed {"connection_id":148334,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:31:03] local.INFO: Acknowledgment sent {"connection_id":148334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:32:02] local.INFO: TCP Data received {"connection_id":147021,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:32:02] local.INFO: Processing buffer {"connection_id":147021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:32:02] local.INFO: IMEI packet received {"connection_id":147021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":147021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:32:08] local.INFO: TCP Data received {"connection_id":147021,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:32:08] local.INFO: Processing buffer {"connection_id":147021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:32:08] local.INFO: IMEI packet received {"connection_id":147021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":147021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:32:09] local.INFO: TCP Data received {"connection_id":147021,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9f92dd8012d77a14005f2a670001900fa26..."} 
[2026-08-01 02:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9f92dd8012d77a14005f2a670001900fa26..."} 
[2026-08-01 02:32:09] local.INFO: Processing buffer {"connection_id":147021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9f92dd8012d77a14005f2a670001900fa26..."} 
[2026-08-01 02:32:09] local.INFO: Packet analysis {"connection_id":147021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9f9"} 
[2026-08-01 02:32:09] local.INFO: Extracted packet for processing {"connection_id":147021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9f9"} 
[2026-08-01 02:32:09] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":25,"angle":250,"satellites":38,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095997952001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:32: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-08-01 02:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785531543000,"timestamp_ms":1785531543000,"timestamp_seconds":1785531543,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9f92dd8"} 
[2026-08-01 02:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-01 02:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02: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-08-01 02:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":147021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":147021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":147021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095997952001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095997952001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:32:09] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:32:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095997952001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":147021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:32:09] local.INFO: GPS data processed {"connection_id":147021,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:32:09] local.INFO: Acknowledgment sent {"connection_id":147021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:32:41] local.INFO: TCP Data received {"connection_id":147021,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9f92dd8012d77a14005f2a670001900fa26..."} 
[2026-08-01 02:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9f92dd8012d77a14005f2a670001900fa26..."} 
[2026-08-01 02:32:41] local.INFO: Processing buffer {"connection_id":147021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9f92dd8012d77a14005f2a670001900fa26..."} 
[2026-08-01 02:32:41] local.INFO: Packet analysis {"connection_id":147021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9f9"} 
[2026-08-01 02:32:41] local.INFO: Extracted packet for processing {"connection_id":147021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9f9"} 
[2026-08-01 02:32:41] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":25,"angle":250,"satellites":38,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095997952001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:32: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-08-01 02:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785531543000,"timestamp_ms":1785531543000,"timestamp_seconds":1785531543,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9f92dd8"} 
[2026-08-01 02:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:32: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-08-01 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-01 02:32:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02: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-08-01 02:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":147021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":147021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":147021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095997952001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095997952001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:32:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:32:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095997952001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":147021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:32:41] local.INFO: GPS data processed {"connection_id":147021,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:32:41] local.INFO: Acknowledgment sent {"connection_id":147021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:32:56] local.INFO: TCP Data received {"connection_id":147022,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:32:56] local.INFO: Processing buffer {"connection_id":147022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:32:56] local.INFO: IMEI packet received {"connection_id":147022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":147022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:33:02] local.INFO: TCP Data received {"connection_id":147022,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:33:02] local.INFO: Processing buffer {"connection_id":147022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:33:02] local.INFO: IMEI packet received {"connection_id":147022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":147022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:33:03] local.INFO: TCP Data received {"connection_id":147022,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9f92dd8012d77a14005f2a670001900fa26..."} 
[2026-08-01 02:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9f92dd8012d77a14005f2a670001900fa26..."} 
[2026-08-01 02:33:03] local.INFO: Processing buffer {"connection_id":147022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9f92dd8012d77a14005f2a670001900fa26..."} 
[2026-08-01 02:33:03] local.INFO: Packet analysis {"connection_id":147022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9f9"} 
[2026-08-01 02:33:03] local.INFO: Extracted packet for processing {"connection_id":147022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9f9"} 
[2026-08-01 02:33:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":25,"angle":250,"satellites":38,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095997952001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02: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-08-01 02:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785531543000,"timestamp_ms":1785531543000,"timestamp_seconds":1785531543,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9f92dd8"} 
[2026-08-01 02:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:33: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-08-01 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-01 02:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02: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-08-01 02:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095997952001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095997952001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:33:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:33:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095997952001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":147022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:33:03] local.INFO: GPS data processed {"connection_id":147022,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:33:03] local.INFO: Acknowledgment sent {"connection_id":147022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:33:34] local.INFO: TCP Data received {"connection_id":147022,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9f92dd8012d77a14005f2a670001900fa26..."} 
[2026-08-01 02:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9f92dd8012d77a14005f2a670001900fa26..."} 
[2026-08-01 02:33:34] local.INFO: Processing buffer {"connection_id":147022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9f92dd8012d77a14005f2a670001900fa26..."} 
[2026-08-01 02:33:34] local.INFO: Packet analysis {"connection_id":147022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9f9"} 
[2026-08-01 02:33:34] local.INFO: Extracted packet for processing {"connection_id":147022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9f9"} 
[2026-08-01 02:33:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":25,"angle":250,"satellites":38,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095997952001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:33:34] 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-08-01 02:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785531543000,"timestamp_ms":1785531543000,"timestamp_seconds":1785531543,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9f92dd8"} 
[2026-08-01 02:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:33: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-08-01 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-01 02:33:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02: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-08-01 02:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095997952001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095997952001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:33:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:33:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095997952001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":147022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:33:34] local.INFO: GPS data processed {"connection_id":147022,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:33:34] local.INFO: Acknowledgment sent {"connection_id":147022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:33:56] local.INFO: TCP Data received {"connection_id":148335,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:33:56] local.INFO: Processing buffer {"connection_id":148335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:33:56] local.INFO: IMEI packet received {"connection_id":148335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":148335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:34:02] local.INFO: TCP Data received {"connection_id":148335,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:34:02] local.INFO: Processing buffer {"connection_id":148335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:34:02] local.INFO: IMEI packet received {"connection_id":148335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":148335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:34:03] local.INFO: TCP Data received {"connection_id":148335,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9f92dd8012d77a14005f2a670001900fa26..."} 
[2026-08-01 02:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9f92dd8012d77a14005f2a670001900fa26..."} 
[2026-08-01 02:34:03] local.INFO: Processing buffer {"connection_id":148335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9f92dd8012d77a14005f2a670001900fa26..."} 
[2026-08-01 02:34:03] local.INFO: Packet analysis {"connection_id":148335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9f9"} 
[2026-08-01 02:34:03] local.INFO: Extracted packet for processing {"connection_id":148335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9f9"} 
[2026-08-01 02:34:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":25,"angle":250,"satellites":38,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 02:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095997952001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02: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-08-01 02:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785531543000,"timestamp_ms":1785531543000,"timestamp_seconds":1785531543,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9f92dd8"} 
[2026-08-01 02:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:34: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-08-01 02:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-01 02:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 02:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095997952001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095997952001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:34:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:34:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095997952001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":148335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:34:03] local.INFO: GPS data processed {"connection_id":148335,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:34:03] local.INFO: Acknowledgment sent {"connection_id":148335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:34:34] local.INFO: TCP Data received {"connection_id":148335,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9f92dd8012d77a14005f2a670001900fa26..."} 
[2026-08-01 02:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9f92dd8012d77a14005f2a670001900fa26..."} 
[2026-08-01 02:34:34] local.INFO: Processing buffer {"connection_id":148335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9f92dd8012d77a14005f2a670001900fa26..."} 
[2026-08-01 02:34:34] local.INFO: Packet analysis {"connection_id":148335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9f9"} 
[2026-08-01 02:34:34] local.INFO: Extracted packet for processing {"connection_id":148335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9f9"} 
[2026-08-01 02:34:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":25,"angle":250,"satellites":38,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457095997952001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:34:34] 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-08-01 02:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785531543000,"timestamp_ms":1785531543000,"timestamp_seconds":1785531543,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9f92dd8"} 
[2026-08-01 02:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02: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-08-01 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-01 02:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02: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-08-01 02:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457095997952001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457095997952001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:34:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:34:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457095997952001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":148335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:34:34] local.INFO: GPS data processed {"connection_id":148335,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:34:34] local.INFO: Acknowledgment sent {"connection_id":148335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:35:02] local.INFO: TCP Data received {"connection_id":146002,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:35:02] local.INFO: Processing buffer {"connection_id":146002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:35:02] local.INFO: IMEI packet received {"connection_id":146002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":146002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:35:07] local.INFO: TCP Data received {"connection_id":146002,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:35:07] local.INFO: Processing buffer {"connection_id":146002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:35:07] local.INFO: IMEI packet received {"connection_id":146002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":146002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:35:08] local.INFO: TCP Data received {"connection_id":146002,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9fdc5a0012d77a14005f2a670001500fa27..."} 
[2026-08-01 02:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9fdc5a0012d77a14005f2a670001500fa27..."} 
[2026-08-01 02:35:08] local.INFO: Processing buffer {"connection_id":146002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9fdc5a0012d77a14005f2a670001500fa27..."} 
[2026-08-01 02:35:08] local.INFO: Packet analysis {"connection_id":146002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9fd"} 
[2026-08-01 02:35:08] local.INFO: Extracted packet for processing {"connection_id":146002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9fd"} 
[2026-08-01 02:35:08] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":21,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 02:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096075008001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:35: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-08-01 02:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785531844000,"timestamp_ms":1785531844000,"timestamp_seconds":1785531844,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9fdc5a0"} 
[2026-08-01 02:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:35:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 02:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 02:35:08] 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-08-01 02:35:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 02:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":146002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":146002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":146002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:35:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096075008001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096075008001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:35:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:35:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096075008001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":146002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:35:08] local.INFO: GPS data processed {"connection_id":146002,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:35:08] local.INFO: Acknowledgment sent {"connection_id":146002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:35:12] local.INFO: TCP Data received {"connection_id":146002,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9fdc5a0012d77a14005f2a670001500fa27..."} 
[2026-08-01 02:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9fdc5a0012d77a14005f2a670001500fa27..."} 
[2026-08-01 02:35:12] local.INFO: Processing buffer {"connection_id":146002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9fdc5a0012d77a14005f2a670001500fa27..."} 
[2026-08-01 02:35:12] local.INFO: Packet analysis {"connection_id":146002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9fd"} 
[2026-08-01 02:35:12] local.INFO: Extracted packet for processing {"connection_id":146002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9fd"} 
[2026-08-01 02:35:12] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":21,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 02:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096075008001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:35:12] 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-08-01 02:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785531844000,"timestamp_ms":1785531844000,"timestamp_seconds":1785531844,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9fdc5a0"} 
[2026-08-01 02:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 02:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 02:35:12] 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-08-01 02:35:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 02:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":146002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":146002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":146002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096075008001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096075008001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:35:12] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:35:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096075008001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":146002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:35:12] local.INFO: GPS data processed {"connection_id":146002,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:35:12] local.INFO: Acknowledgment sent {"connection_id":146002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:35:57] local.INFO: TCP Data received {"connection_id":145800,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:35:57] local.INFO: Processing buffer {"connection_id":145800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:35:57] local.INFO: IMEI packet received {"connection_id":145800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":145800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:36:01] local.INFO: TCP Data received {"connection_id":145800,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:36:01] local.INFO: Processing buffer {"connection_id":145800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:36:01] local.INFO: IMEI packet received {"connection_id":145800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":145800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:36:02] local.INFO: TCP Data received {"connection_id":145800,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9fdc5a0012d77a14005f2a670001500fa27..."} 
[2026-08-01 02:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9fdc5a0012d77a14005f2a670001500fa27..."} 
[2026-08-01 02:36:02] local.INFO: Processing buffer {"connection_id":145800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9fdc5a0012d77a14005f2a670001500fa27..."} 
[2026-08-01 02:36:02] local.INFO: Packet analysis {"connection_id":145800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9fd"} 
[2026-08-01 02:36:02] local.INFO: Extracted packet for processing {"connection_id":145800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9fd"} 
[2026-08-01 02:36:02] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":21,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096075008001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:36: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-08-01 02:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785531844000,"timestamp_ms":1785531844000,"timestamp_seconds":1785531844,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9fdc5a0"} 
[2026-08-01 02:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02: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-08-01 02: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 02:36:02] 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-08-01 02: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-08-01 02:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":145800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":145800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":145800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096075008001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096075008001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:36:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:36:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096075008001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":145800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:36:02] local.INFO: GPS data processed {"connection_id":145800,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:36:02] local.INFO: Acknowledgment sent {"connection_id":145800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:36:34] local.INFO: TCP Data received {"connection_id":145800,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9fdc5a0012d77a14005f2a670001500fa27..."} 
[2026-08-01 02:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9fdc5a0012d77a14005f2a670001500fa27..."} 
[2026-08-01 02:36:34] local.INFO: Processing buffer {"connection_id":145800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9fdc5a0012d77a14005f2a670001500fa27..."} 
[2026-08-01 02:36:34] local.INFO: Packet analysis {"connection_id":145800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9fd"} 
[2026-08-01 02:36:34] local.INFO: Extracted packet for processing {"connection_id":145800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9fd"} 
[2026-08-01 02:36:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":21,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096075008001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:36:34] 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-08-01 02:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785531844000,"timestamp_ms":1785531844000,"timestamp_seconds":1785531844,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9fdc5a0"} 
[2026-08-01 02:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:36: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-08-01 02:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 02:36:34] 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-08-01 02: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-08-01 02:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096075008001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096075008001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:36:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:36:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096075008001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":145800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:36:34] local.INFO: GPS data processed {"connection_id":145800,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:36:34] local.INFO: Acknowledgment sent {"connection_id":145800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:36:56] local.INFO: TCP Data received {"connection_id":148336,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:36:56] local.INFO: Processing buffer {"connection_id":148336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:36:56] local.INFO: IMEI packet received {"connection_id":148336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":148336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:37:02] local.INFO: TCP Data received {"connection_id":148336,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:37:02] local.INFO: Processing buffer {"connection_id":148336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:37:02] local.INFO: IMEI packet received {"connection_id":148336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":148336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:37:04] local.INFO: TCP Data received {"connection_id":148336,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9fdc5a0012d77a14005f2a670001500fa27..."} 
[2026-08-01 02:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9fdc5a0012d77a14005f2a670001500fa27..."} 
[2026-08-01 02:37:04] local.INFO: Processing buffer {"connection_id":148336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9fdc5a0012d77a14005f2a670001500fa27..."} 
[2026-08-01 02:37:04] local.INFO: Packet analysis {"connection_id":148336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9fd"} 
[2026-08-01 02:37:04] local.INFO: Extracted packet for processing {"connection_id":148336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9fd"} 
[2026-08-01 02:37:04] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":21,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 02:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096075008001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 02:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785531844000,"timestamp_ms":1785531844000,"timestamp_seconds":1785531844,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9fdc5a0"} 
[2026-08-01 02:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:37: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-08-01 02:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 02:37:04] 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-08-01 02:37:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 02:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":148336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":148336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":148336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096075008001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096075008001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:37:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:37:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096075008001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":148336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:37:04] local.INFO: GPS data processed {"connection_id":148336,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:37:04] local.INFO: Acknowledgment sent {"connection_id":148336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:37:36] local.INFO: TCP Data received {"connection_id":148336,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9fdc5a0012d77a14005f2a670001500fa27..."} 
[2026-08-01 02:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9fdc5a0012d77a14005f2a670001500fa27..."} 
[2026-08-01 02:37:36] local.INFO: Processing buffer {"connection_id":148336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9fdc5a0012d77a14005f2a670001500fa27..."} 
[2026-08-01 02:37:36] local.INFO: Packet analysis {"connection_id":148336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9fd"} 
[2026-08-01 02:37:36] local.INFO: Extracted packet for processing {"connection_id":148336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9fd"} 
[2026-08-01 02:37:36] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":21,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096075008001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:37: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-08-01 02:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785531844000,"timestamp_ms":1785531844000,"timestamp_seconds":1785531844,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9fdc5a0"} 
[2026-08-01 02:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:37: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-08-01 02: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 02:37:36] 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-08-01 02: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-08-01 02:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:37:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096075008001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096075008001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:37:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:37:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096075008001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":148336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:37:36] local.INFO: GPS data processed {"connection_id":148336,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:37:36] local.INFO: Acknowledgment sent {"connection_id":148336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:37:56] local.INFO: TCP Data received {"connection_id":145801,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:37:56] local.INFO: Processing buffer {"connection_id":145801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:37:56] local.INFO: IMEI packet received {"connection_id":145801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":145801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:38:02] local.INFO: TCP Data received {"connection_id":145801,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:38:02] local.INFO: Processing buffer {"connection_id":145801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:38:02] local.INFO: IMEI packet received {"connection_id":145801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":145801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:38:03] local.INFO: TCP Data received {"connection_id":145801,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9fdc5a0012d77a14005f2a670001500fa27..."} 
[2026-08-01 02:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9fdc5a0012d77a14005f2a670001500fa27..."} 
[2026-08-01 02:38:03] local.INFO: Processing buffer {"connection_id":145801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9fdc5a0012d77a14005f2a670001500fa27..."} 
[2026-08-01 02:38:03] local.INFO: Packet analysis {"connection_id":145801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9fd"} 
[2026-08-01 02:38:03] local.INFO: Extracted packet for processing {"connection_id":145801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9fd"} 
[2026-08-01 02:38:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":21,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096075008001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:38: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-08-01 02:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785531844000,"timestamp_ms":1785531844000,"timestamp_seconds":1785531844,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9fdc5a0"} 
[2026-08-01 02:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:38: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-08-01 02:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 02:38:03] 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-08-01 02: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-08-01 02:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096075008001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096075008001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:38:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:38:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096075008001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":145801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:38:03] local.INFO: GPS data processed {"connection_id":145801,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:38:03] local.INFO: Acknowledgment sent {"connection_id":145801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:38:34] local.INFO: TCP Data received {"connection_id":145801,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9fdc5a0012d77a14005f2a670001500fa27..."} 
[2026-08-01 02:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9fdc5a0012d77a14005f2a670001500fa27..."} 
[2026-08-01 02:38:34] local.INFO: Processing buffer {"connection_id":145801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9fdc5a0012d77a14005f2a670001500fa27..."} 
[2026-08-01 02:38:34] local.INFO: Packet analysis {"connection_id":145801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9fd"} 
[2026-08-01 02:38:34] local.INFO: Extracted packet for processing {"connection_id":145801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9fd"} 
[2026-08-01 02:38:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":21,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096075008001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:38:34] 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-08-01 02:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785531844000,"timestamp_ms":1785531844000,"timestamp_seconds":1785531844,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9fdc5a0"} 
[2026-08-01 02:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:38: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-08-01 02: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 02:38:34] 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-08-01 02: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-08-01 02:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096075008001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096075008001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:38:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:38:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096075008001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":145801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:38:34] local.INFO: GPS data processed {"connection_id":145801,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:38:34] local.INFO: Acknowledgment sent {"connection_id":145801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:39:02] local.INFO: TCP Data received {"connection_id":148337,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:39:02] local.INFO: Processing buffer {"connection_id":148337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:39:02] local.INFO: IMEI packet received {"connection_id":148337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":148337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:39:07] local.INFO: TCP Data received {"connection_id":148337,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:39:07] local.INFO: Processing buffer {"connection_id":148337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:39:07] local.INFO: IMEI packet received {"connection_id":148337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":148337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:39:13] local.INFO: TCP Data received {"connection_id":148337,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9fdc5a0012d77a14005f2a670001500fa27..."} 
[2026-08-01 02:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9fdc5a0012d77a14005f2a670001500fa27..."} 
[2026-08-01 02:39:13] local.INFO: Processing buffer {"connection_id":148337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9fdc5a0012d77a14005f2a670001500fa27..."} 
[2026-08-01 02:39:13] local.INFO: Packet analysis {"connection_id":148337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9fd"} 
[2026-08-01 02:39:13] local.INFO: Extracted packet for processing {"connection_id":148337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9fd"} 
[2026-08-01 02:39:13] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":21,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096075008001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 02:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785531844000,"timestamp_ms":1785531844000,"timestamp_seconds":1785531844,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9fdc5a0"} 
[2026-08-01 02:39:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:39:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 02:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 02:39:13] 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-08-01 02: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-08-01 02:39:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":148337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":148337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":148337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096075008001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096075008001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:39:13] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:39:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:39:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096075008001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":148337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:39:13] local.INFO: GPS data processed {"connection_id":148337,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:39:13] local.INFO: Acknowledgment sent {"connection_id":148337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:39:14] local.INFO: TCP Data received {"connection_id":148337,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fb9fdc5a0012d77a14005f2a670001500fa27..."} 
[2026-08-01 02:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fb9fdc5a0012d77a14005f2a670001500fa27..."} 
[2026-08-01 02:39:14] local.INFO: Processing buffer {"connection_id":148337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fb9fdc5a0012d77a14005f2a670001500fa27..."} 
[2026-08-01 02:39:14] local.INFO: Packet analysis {"connection_id":148337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fb9fd"} 
[2026-08-01 02:39:14] local.INFO: Extracted packet for processing {"connection_id":148337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fb9fd"} 
[2026-08-01 02:39:14] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":21,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096075008001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:39:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:39:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 02:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785531844000,"timestamp_ms":1785531844000,"timestamp_seconds":1785531844,"priority":1,"record_length":96,"hex_timestamp":"0000019fb9fdc5a0"} 
[2026-08-01 02:39:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:39:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 02:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 02:39:14] 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-08-01 02: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-08-01 02:39:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":148337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":148337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":148337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:39:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096075008001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096075008001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:39:14] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:39:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:39:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096075008001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":148337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:39:14] local.INFO: GPS data processed {"connection_id":148337,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:39:14] local.INFO: Acknowledgment sent {"connection_id":148337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:39:57] local.INFO: TCP Data received {"connection_id":147023,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:39:57] local.INFO: Processing buffer {"connection_id":147023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:39:57] local.INFO: IMEI packet received {"connection_id":147023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":147023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:40:02] local.INFO: TCP Data received {"connection_id":147023,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:40:02] local.INFO: Processing buffer {"connection_id":147023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:40:02] local.INFO: IMEI packet received {"connection_id":147023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":147023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:40:03] local.INFO: TCP Data received {"connection_id":147023,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba025d68012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba025d68012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:40:03] local.INFO: Processing buffer {"connection_id":147023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba025d68012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:40:03] local.INFO: Packet analysis {"connection_id":147023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba02"} 
[2026-08-01 02:40:03] local.INFO: Extracted packet for processing {"connection_id":147023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba02"} 
[2026-08-01 02:40:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096152064001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02: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-08-01 02:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785532145000,"timestamp_ms":1785532145000,"timestamp_seconds":1785532145,"priority":1,"record_length":96,"hex_timestamp":"0000019fba025d68"} 
[2026-08-01 02:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:40: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-08-01 02: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 02:40: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-08-01 02: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-08-01 02:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096152064001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096152064001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:40:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:40:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096152064001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":147023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:40:03] local.INFO: GPS data processed {"connection_id":147023,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:40:03] local.INFO: Acknowledgment sent {"connection_id":147023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:40:34] local.INFO: TCP Data received {"connection_id":147023,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba025d68012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba025d68012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:40:34] local.INFO: Processing buffer {"connection_id":147023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba025d68012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:40:34] local.INFO: Packet analysis {"connection_id":147023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba02"} 
[2026-08-01 02:40:34] local.INFO: Extracted packet for processing {"connection_id":147023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba02"} 
[2026-08-01 02:40:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096152064001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:40:34] 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-08-01 02:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785532145000,"timestamp_ms":1785532145000,"timestamp_seconds":1785532145,"priority":1,"record_length":96,"hex_timestamp":"0000019fba025d68"} 
[2026-08-01 02:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:40: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-08-01 02: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 02:40:34] 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-08-01 02: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-08-01 02:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096152064001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096152064001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:40:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:40:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096152064001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":147023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:40:34] local.INFO: GPS data processed {"connection_id":147023,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:40:34] local.INFO: Acknowledgment sent {"connection_id":147023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:40:56] local.INFO: TCP Data received {"connection_id":146003,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:40:56] local.INFO: Processing buffer {"connection_id":146003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:40:56] local.INFO: IMEI packet received {"connection_id":146003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":146003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:41:02] local.INFO: TCP Data received {"connection_id":146003,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:41:02] local.INFO: Processing buffer {"connection_id":146003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:41:02] local.INFO: IMEI packet received {"connection_id":146003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":146003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:41:03] local.INFO: TCP Data received {"connection_id":146003,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba025d68012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba025d68012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:41:03] local.INFO: Processing buffer {"connection_id":146003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba025d68012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:41:03] local.INFO: Packet analysis {"connection_id":146003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba02"} 
[2026-08-01 02:41:03] local.INFO: Extracted packet for processing {"connection_id":146003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba02"} 
[2026-08-01 02:41:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096152064001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:41: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-08-01 02:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785532145000,"timestamp_ms":1785532145000,"timestamp_seconds":1785532145,"priority":1,"record_length":96,"hex_timestamp":"0000019fba025d68"} 
[2026-08-01 02:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:41: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-08-01 02:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 02:41: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-08-01 02: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-08-01 02:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096152064001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096152064001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:41:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:41:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096152064001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":146003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:41:03] local.INFO: GPS data processed {"connection_id":146003,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:41:03] local.INFO: Acknowledgment sent {"connection_id":146003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:41:34] local.INFO: TCP Data received {"connection_id":146003,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba025d68012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba025d68012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:41:34] local.INFO: Processing buffer {"connection_id":146003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba025d68012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:41:34] local.INFO: Packet analysis {"connection_id":146003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba02"} 
[2026-08-01 02:41:34] local.INFO: Extracted packet for processing {"connection_id":146003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba02"} 
[2026-08-01 02:41:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096152064001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:41:34] 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-08-01 02:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785532145000,"timestamp_ms":1785532145000,"timestamp_seconds":1785532145,"priority":1,"record_length":96,"hex_timestamp":"0000019fba025d68"} 
[2026-08-01 02:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:41: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-08-01 02:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 02:41:34] 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-08-01 02: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-08-01 02:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096152064001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096152064001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:41:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:41:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096152064001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":146003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:41:34] local.INFO: GPS data processed {"connection_id":146003,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:41:34] local.INFO: Acknowledgment sent {"connection_id":146003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:41:56] local.INFO: TCP Data received {"connection_id":147024,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:41:56] local.INFO: Processing buffer {"connection_id":147024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:41:56] local.INFO: IMEI packet received {"connection_id":147024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":147024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:42:02] local.INFO: TCP Data received {"connection_id":147024,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:42:02] local.INFO: Processing buffer {"connection_id":147024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:42:02] local.INFO: IMEI packet received {"connection_id":147024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":147024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:42:03] local.INFO: TCP Data received {"connection_id":147024,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba025d68012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba025d68012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:42:03] local.INFO: Processing buffer {"connection_id":147024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba025d68012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:42:03] local.INFO: Packet analysis {"connection_id":147024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba02"} 
[2026-08-01 02:42:03] local.INFO: Extracted packet for processing {"connection_id":147024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba02"} 
[2026-08-01 02:42:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096152064001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:42: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-08-01 02:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785532145000,"timestamp_ms":1785532145000,"timestamp_seconds":1785532145,"priority":1,"record_length":96,"hex_timestamp":"0000019fba025d68"} 
[2026-08-01 02:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:42: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-08-01 02: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 02:42: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-08-01 02: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-08-01 02:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096152064001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096152064001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:42:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:42:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096152064001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":147024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:42:03] local.INFO: GPS data processed {"connection_id":147024,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:42:03] local.INFO: Acknowledgment sent {"connection_id":147024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:42:35] local.INFO: TCP Data received {"connection_id":147024,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba025d68012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba025d68012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:42:35] local.INFO: Processing buffer {"connection_id":147024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba025d68012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:42:35] local.INFO: Packet analysis {"connection_id":147024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba02"} 
[2026-08-01 02:42:35] local.INFO: Extracted packet for processing {"connection_id":147024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba02"} 
[2026-08-01 02:42:35] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 02:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096152064001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:42: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-08-01 02:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785532145000,"timestamp_ms":1785532145000,"timestamp_seconds":1785532145,"priority":1,"record_length":96,"hex_timestamp":"0000019fba025d68"} 
[2026-08-01 02:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 02:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 02:42:35] 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-08-01 02:42:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 02:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096152064001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096152064001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:42:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:42:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096152064001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":147024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:42:35] local.INFO: GPS data processed {"connection_id":147024,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:42:35] local.INFO: Acknowledgment sent {"connection_id":147024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:42:56] local.INFO: TCP Data received {"connection_id":145802,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:42:56] local.INFO: Processing buffer {"connection_id":145802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:42:56] local.INFO: IMEI packet received {"connection_id":145802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":145802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:43:02] local.INFO: TCP Data received {"connection_id":145802,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:43:02] local.INFO: Processing buffer {"connection_id":145802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:43:02] local.INFO: IMEI packet received {"connection_id":145802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":145802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:43:03] local.INFO: TCP Data received {"connection_id":145802,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba025d68012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba025d68012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:43:03] local.INFO: Processing buffer {"connection_id":145802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba025d68012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:43:03] local.INFO: Packet analysis {"connection_id":145802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba02"} 
[2026-08-01 02:43:03] local.INFO: Extracted packet for processing {"connection_id":145802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba02"} 
[2026-08-01 02:43:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096152064001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02: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-08-01 02:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785532145000,"timestamp_ms":1785532145000,"timestamp_seconds":1785532145,"priority":1,"record_length":96,"hex_timestamp":"0000019fba025d68"} 
[2026-08-01 02:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:43: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-08-01 02: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":97,"data_length":795,"current_offset":136} 
[2026-08-01 02:43: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-08-01 02: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-08-01 02:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096152064001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096152064001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:43:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:43:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096152064001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":145802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:43:03] local.INFO: GPS data processed {"connection_id":145802,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:43:03] local.INFO: Acknowledgment sent {"connection_id":145802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:43:34] local.INFO: TCP Data received {"connection_id":145802,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba025d68012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba025d68012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:43:34] local.INFO: Processing buffer {"connection_id":145802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba025d68012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:43:34] local.INFO: Packet analysis {"connection_id":145802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba02"} 
[2026-08-01 02:43:34] local.INFO: Extracted packet for processing {"connection_id":145802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba02"} 
[2026-08-01 02:43:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096152064001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:43:34] 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-08-01 02:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785532145000,"timestamp_ms":1785532145000,"timestamp_seconds":1785532145,"priority":1,"record_length":96,"hex_timestamp":"0000019fba025d68"} 
[2026-08-01 02:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:43: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-08-01 02: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 02:43:34] 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-08-01 02: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-08-01 02:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096152064001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096152064001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:43:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:43:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096152064001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":145802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:43:34] local.INFO: GPS data processed {"connection_id":145802,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:43:34] local.INFO: Acknowledgment sent {"connection_id":145802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:44:02] local.INFO: TCP Data received {"connection_id":145803,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:44:02] local.INFO: Processing buffer {"connection_id":145803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:44:02] local.INFO: IMEI packet received {"connection_id":145803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":145803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:44:07] local.INFO: TCP Data received {"connection_id":145803,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:44:07] local.INFO: Processing buffer {"connection_id":145803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:44:07] local.INFO: IMEI packet received {"connection_id":145803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":145803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:44:08] local.INFO: TCP Data received {"connection_id":145803,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba025d68012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba025d68012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:44:08] local.INFO: Processing buffer {"connection_id":145803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba025d68012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:44:08] local.INFO: Packet analysis {"connection_id":145803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba02"} 
[2026-08-01 02:44:08] local.INFO: Extracted packet for processing {"connection_id":145803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba02"} 
[2026-08-01 02:44:08] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 02:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096152064001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:44: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-08-01 02:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785532145000,"timestamp_ms":1785532145000,"timestamp_seconds":1785532145,"priority":1,"record_length":96,"hex_timestamp":"0000019fba025d68"} 
[2026-08-01 02:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 02:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 02:44:08] 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-08-01 02:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 02:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096152064001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096152064001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:44:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:44:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096152064001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":145803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:44:08] local.INFO: GPS data processed {"connection_id":145803,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:44:08] local.INFO: Acknowledgment sent {"connection_id":145803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:44:13] local.INFO: TCP Data received {"connection_id":145803,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba025d68012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba025d68012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:44:13] local.INFO: Processing buffer {"connection_id":145803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba025d68012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:44:13] local.INFO: Packet analysis {"connection_id":145803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba02"} 
[2026-08-01 02:44:13] local.INFO: Extracted packet for processing {"connection_id":145803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba02"} 
[2026-08-01 02:44:13] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096152064001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:44:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 02:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785532145000,"timestamp_ms":1785532145000,"timestamp_seconds":1785532145,"priority":1,"record_length":96,"hex_timestamp":"0000019fba025d68"} 
[2026-08-01 02:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:44:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 02: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 02:44:13] 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-08-01 02: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-08-01 02:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":145803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":145803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":145803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:44:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096152064001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096152064001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:44:13] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:44:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096152064001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":145803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:44:13] local.INFO: GPS data processed {"connection_id":145803,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:44:13] local.INFO: Acknowledgment sent {"connection_id":145803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:44:57] local.INFO: TCP Data received {"connection_id":148338,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:44:57] local.INFO: Processing buffer {"connection_id":148338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:44:57] local.INFO: IMEI packet received {"connection_id":148338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":148338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:45:02] local.INFO: TCP Data received {"connection_id":148338,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:45:02] local.INFO: Processing buffer {"connection_id":148338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:45:02] local.INFO: IMEI packet received {"connection_id":148338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":148338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:45:03] local.INFO: TCP Data received {"connection_id":148338,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba06f530012d77a14005f2a670001400fa28..."} 
[2026-08-01 02:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba06f530012d77a14005f2a670001400fa28..."} 
[2026-08-01 02:45:03] local.INFO: Processing buffer {"connection_id":148338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba06f530012d77a14005f2a670001400fa28..."} 
[2026-08-01 02:45:03] local.INFO: Packet analysis {"connection_id":148338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba06"} 
[2026-08-01 02:45:03] local.INFO: Extracted packet for processing {"connection_id":148338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba06"} 
[2026-08-01 02:45:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096229120001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:45: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-08-01 02:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785532446000,"timestamp_ms":1785532446000,"timestamp_seconds":1785532446,"priority":1,"record_length":96,"hex_timestamp":"0000019fba06f530"} 
[2026-08-01 02:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02: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-08-01 02:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 02:45:03] 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-08-01 02: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-08-01 02:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096229120001,"66":24875,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096229120001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:45:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:45:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096229120001,"power":24875,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":148338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:45:03] local.INFO: GPS data processed {"connection_id":148338,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:45:03] local.INFO: Acknowledgment sent {"connection_id":148338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:45:34] local.INFO: TCP Data received {"connection_id":148338,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba06f530012d77a14005f2a670001400fa28..."} 
[2026-08-01 02:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba06f530012d77a14005f2a670001400fa28..."} 
[2026-08-01 02:45:34] local.INFO: Processing buffer {"connection_id":148338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba06f530012d77a14005f2a670001400fa28..."} 
[2026-08-01 02:45:34] local.INFO: Packet analysis {"connection_id":148338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba06"} 
[2026-08-01 02:45:34] local.INFO: Extracted packet for processing {"connection_id":148338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba06"} 
[2026-08-01 02:45:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096229120001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:45:34] 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-08-01 02:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785532446000,"timestamp_ms":1785532446000,"timestamp_seconds":1785532446,"priority":1,"record_length":96,"hex_timestamp":"0000019fba06f530"} 
[2026-08-01 02:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:45: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-08-01 02: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 02:45:34] 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-08-01 02: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-08-01 02:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096229120001,"66":24875,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096229120001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:45:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:45:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096229120001,"power":24875,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":148338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:45:34] local.INFO: GPS data processed {"connection_id":148338,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:45:34] local.INFO: Acknowledgment sent {"connection_id":148338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:45:56] local.INFO: TCP Data received {"connection_id":145804,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:45:57] local.INFO: Processing buffer {"connection_id":145804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:45:57] local.INFO: IMEI packet received {"connection_id":145804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":145804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:46:02] local.INFO: TCP Data received {"connection_id":145804,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:46:02] local.INFO: Processing buffer {"connection_id":145804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:46:02] local.INFO: IMEI packet received {"connection_id":145804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":145804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:46:03] local.INFO: TCP Data received {"connection_id":145804,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba06f530012d77a14005f2a670001400fa28..."} 
[2026-08-01 02:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba06f530012d77a14005f2a670001400fa28..."} 
[2026-08-01 02:46:03] local.INFO: Processing buffer {"connection_id":145804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba06f530012d77a14005f2a670001400fa28..."} 
[2026-08-01 02:46:03] local.INFO: Packet analysis {"connection_id":145804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba06"} 
[2026-08-01 02:46:03] local.INFO: Extracted packet for processing {"connection_id":145804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba06"} 
[2026-08-01 02:46:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 02:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096229120001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:46: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-08-01 02:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785532446000,"timestamp_ms":1785532446000,"timestamp_seconds":1785532446,"priority":1,"record_length":96,"hex_timestamp":"0000019fba06f530"} 
[2026-08-01 02:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:46: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-08-01 02:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 02:46:03] 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-08-01 02:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 02:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096229120001,"66":24875,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096229120001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:46:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:46:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096229120001,"power":24875,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":145804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:46:03] local.INFO: GPS data processed {"connection_id":145804,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:46:03] local.INFO: Acknowledgment sent {"connection_id":145804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:46:34] local.INFO: TCP Data received {"connection_id":145804,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba06f530012d77a14005f2a670001400fa28..."} 
[2026-08-01 02:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba06f530012d77a14005f2a670001400fa28..."} 
[2026-08-01 02:46:34] local.INFO: Processing buffer {"connection_id":145804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba06f530012d77a14005f2a670001400fa28..."} 
[2026-08-01 02:46:34] local.INFO: Packet analysis {"connection_id":145804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba06"} 
[2026-08-01 02:46:34] local.INFO: Extracted packet for processing {"connection_id":145804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba06"} 
[2026-08-01 02:46:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096229120001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:46:34] 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-08-01 02:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785532446000,"timestamp_ms":1785532446000,"timestamp_seconds":1785532446,"priority":1,"record_length":96,"hex_timestamp":"0000019fba06f530"} 
[2026-08-01 02:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:46: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-08-01 02: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 02:46:34] 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-08-01 02: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-08-01 02:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096229120001,"66":24875,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096229120001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:46:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:46:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096229120001,"power":24875,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":145804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:46:34] local.INFO: GPS data processed {"connection_id":145804,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:46:34] local.INFO: Acknowledgment sent {"connection_id":145804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:46:56] local.INFO: TCP Data received {"connection_id":148339,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:46:56] local.INFO: Processing buffer {"connection_id":148339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:46:56] local.INFO: IMEI packet received {"connection_id":148339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":148339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:47:02] local.INFO: TCP Data received {"connection_id":148339,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:47:02] local.INFO: Processing buffer {"connection_id":148339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:47:02] local.INFO: IMEI packet received {"connection_id":148339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":148339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:47:03] local.INFO: TCP Data received {"connection_id":148339,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba06f530012d77a14005f2a670001400fa28..."} 
[2026-08-01 02:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba06f530012d77a14005f2a670001400fa28..."} 
[2026-08-01 02:47:03] local.INFO: Processing buffer {"connection_id":148339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba06f530012d77a14005f2a670001400fa28..."} 
[2026-08-01 02:47:03] local.INFO: Packet analysis {"connection_id":148339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba06"} 
[2026-08-01 02:47:03] local.INFO: Extracted packet for processing {"connection_id":148339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba06"} 
[2026-08-01 02:47:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 02:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096229120001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:47: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-08-01 02:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785532446000,"timestamp_ms":1785532446000,"timestamp_seconds":1785532446,"priority":1,"record_length":96,"hex_timestamp":"0000019fba06f530"} 
[2026-08-01 02:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02: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-08-01 02:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 02:47:03] 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-08-01 02:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 02:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096229120001,"66":24875,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096229120001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:47:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:47:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096229120001,"power":24875,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":148339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:47:03] local.INFO: GPS data processed {"connection_id":148339,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:47:03] local.INFO: Acknowledgment sent {"connection_id":148339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:47:34] local.INFO: TCP Data received {"connection_id":148339,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba06f530012d77a14005f2a670001400fa28..."} 
[2026-08-01 02:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba06f530012d77a14005f2a670001400fa28..."} 
[2026-08-01 02:47:34] local.INFO: Processing buffer {"connection_id":148339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba06f530012d77a14005f2a670001400fa28..."} 
[2026-08-01 02:47:34] local.INFO: Packet analysis {"connection_id":148339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba06"} 
[2026-08-01 02:47:34] local.INFO: Extracted packet for processing {"connection_id":148339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba06"} 
[2026-08-01 02:47:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 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-08-01 02:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096229120001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:47:34] 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-08-01 02:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785532446000,"timestamp_ms":1785532446000,"timestamp_seconds":1785532446,"priority":1,"record_length":96,"hex_timestamp":"0000019fba06f530"} 
[2026-08-01 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-08-01 02:47: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-08-01 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 02:47:34] 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-08-01 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-08-01 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-08-01 02:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096229120001,"66":24875,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096229120001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:47:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:47:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096229120001,"power":24875,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":148339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:47:34] local.INFO: GPS data processed {"connection_id":148339,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:47:34] local.INFO: Acknowledgment sent {"connection_id":148339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:48:02] local.INFO: TCP Data received {"connection_id":148340,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:48:02] local.INFO: Processing buffer {"connection_id":148340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:48:02] local.INFO: IMEI packet received {"connection_id":148340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":148340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:48:07] local.INFO: TCP Data received {"connection_id":148340,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:48:07] local.INFO: Processing buffer {"connection_id":148340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:48:07] local.INFO: IMEI packet received {"connection_id":148340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":148340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:48:08] local.INFO: TCP Data received {"connection_id":148340,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba06f530012d77a14005f2a670001400fa28..."} 
[2026-08-01 02:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba06f530012d77a14005f2a670001400fa28..."} 
[2026-08-01 02:48:08] local.INFO: Processing buffer {"connection_id":148340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba06f530012d77a14005f2a670001400fa28..."} 
[2026-08-01 02:48:08] local.INFO: Packet analysis {"connection_id":148340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba06"} 
[2026-08-01 02:48:08] local.INFO: Extracted packet for processing {"connection_id":148340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba06"} 
[2026-08-01 02:48:08] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 02:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096229120001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:48: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-08-01 02:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785532446000,"timestamp_ms":1785532446000,"timestamp_seconds":1785532446,"priority":1,"record_length":96,"hex_timestamp":"0000019fba06f530"} 
[2026-08-01 02:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:48: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-08-01 02:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 02:48:08] 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-08-01 02:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 02:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":148340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":148340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":148340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096229120001,"66":24875,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096229120001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:48:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:48:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096229120001,"power":24875,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":148340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:48:08] local.INFO: GPS data processed {"connection_id":148340,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:48:08] local.INFO: Acknowledgment sent {"connection_id":148340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:48:12] local.INFO: TCP Data received {"connection_id":148340,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba06f530012d77a14005f2a670001400fa28..."} 
[2026-08-01 02:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba06f530012d77a14005f2a670001400fa28..."} 
[2026-08-01 02:48:12] local.INFO: Processing buffer {"connection_id":148340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba06f530012d77a14005f2a670001400fa28..."} 
[2026-08-01 02:48:12] local.INFO: Packet analysis {"connection_id":148340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba06"} 
[2026-08-01 02:48:12] local.INFO: Extracted packet for processing {"connection_id":148340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba06"} 
[2026-08-01 02:48:12] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 02:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096229120001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:48:12] 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-08-01 02:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785532446000,"timestamp_ms":1785532446000,"timestamp_seconds":1785532446,"priority":1,"record_length":96,"hex_timestamp":"0000019fba06f530"} 
[2026-08-01 02:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 02:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 02:48:12] 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-08-01 02:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 02:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":148340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":148340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":148340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096229120001,"66":24875,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096229120001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:48:12] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:48:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096229120001,"power":24875,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":148340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:48:12] local.INFO: GPS data processed {"connection_id":148340,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:48:12] local.INFO: Acknowledgment sent {"connection_id":148340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:48:57] local.INFO: TCP Data received {"connection_id":148341,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:48:57] local.INFO: Processing buffer {"connection_id":148341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:48:57] local.INFO: IMEI packet received {"connection_id":148341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":148341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:49:02] local.INFO: TCP Data received {"connection_id":148341,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:49:02] local.INFO: Processing buffer {"connection_id":148341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:49:02] local.INFO: IMEI packet received {"connection_id":148341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":148341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:49:03] local.INFO: TCP Data received {"connection_id":148341,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba06f530012d77a14005f2a670001400fa28..."} 
[2026-08-01 02:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba06f530012d77a14005f2a670001400fa28..."} 
[2026-08-01 02:49:03] local.INFO: Processing buffer {"connection_id":148341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba06f530012d77a14005f2a670001400fa28..."} 
[2026-08-01 02:49:03] local.INFO: Packet analysis {"connection_id":148341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba06"} 
[2026-08-01 02:49:03] local.INFO: Extracted packet for processing {"connection_id":148341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba06"} 
[2026-08-01 02:49:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096229120001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02: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-08-01 02:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785532446000,"timestamp_ms":1785532446000,"timestamp_seconds":1785532446,"priority":1,"record_length":96,"hex_timestamp":"0000019fba06f530"} 
[2026-08-01 02:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02: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-08-01 02: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":86,"data_length":795,"current_offset":136} 
[2026-08-01 02:49:03] 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-08-01 02: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-08-01 02:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096229120001,"66":24875,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096229120001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:49:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:49:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096229120001,"power":24875,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":148341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:49:03] local.INFO: GPS data processed {"connection_id":148341,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:49:03] local.INFO: Acknowledgment sent {"connection_id":148341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:49:34] local.INFO: TCP Data received {"connection_id":148341,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba06f530012d77a14005f2a670001400fa28..."} 
[2026-08-01 02:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba06f530012d77a14005f2a670001400fa28..."} 
[2026-08-01 02:49:34] local.INFO: Processing buffer {"connection_id":148341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba06f530012d77a14005f2a670001400fa28..."} 
[2026-08-01 02:49:34] local.INFO: Packet analysis {"connection_id":148341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba06"} 
[2026-08-01 02:49:34] local.INFO: Extracted packet for processing {"connection_id":148341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba06"} 
[2026-08-01 02:49:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096229120001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:49:34] 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-08-01 02:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785532446000,"timestamp_ms":1785532446000,"timestamp_seconds":1785532446,"priority":1,"record_length":96,"hex_timestamp":"0000019fba06f530"} 
[2026-08-01 02:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:49: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-08-01 02: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 02:49:34] 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-08-01 02: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-08-01 02:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096229120001,"66":24875,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096229120001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:49:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:49:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096229120001,"power":24875,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":148341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:49:34] local.INFO: GPS data processed {"connection_id":148341,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:49:34] local.INFO: Acknowledgment sent {"connection_id":148341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:49:56] local.INFO: TCP Data received {"connection_id":147025,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:49:56] local.INFO: Processing buffer {"connection_id":147025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:49:56] local.INFO: IMEI packet received {"connection_id":147025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":147025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:50:01] local.INFO: TCP Data received {"connection_id":147025,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:50:01] local.INFO: Processing buffer {"connection_id":147025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:50:01] local.INFO: IMEI packet received {"connection_id":147025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":147025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:50:03] local.INFO: TCP Data received {"connection_id":147025,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba0b8cf8012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba0b8cf8012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:50:03] local.INFO: Processing buffer {"connection_id":147025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba0b8cf8012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:50:03] local.INFO: Packet analysis {"connection_id":147025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba0b"} 
[2026-08-01 02:50:03] local.INFO: Extracted packet for processing {"connection_id":147025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba0b"} 
[2026-08-01 02:50:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096306176001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:50: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-08-01 02:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785532747000,"timestamp_ms":1785532747000,"timestamp_seconds":1785532747,"priority":1,"record_length":96,"hex_timestamp":"0000019fba0b8cf8"} 
[2026-08-01 02:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 02: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":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-01 02:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02: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-08-01 02:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096306176001,"66":25343,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096306176001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:50:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:50:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096306176001,"power":25343,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":147025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:50:03] local.INFO: GPS data processed {"connection_id":147025,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:50:03] local.INFO: Acknowledgment sent {"connection_id":147025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:50:34] local.INFO: TCP Data received {"connection_id":147025,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba0b8cf8012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba0b8cf8012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:50:34] local.INFO: Processing buffer {"connection_id":147025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba0b8cf8012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:50:34] local.INFO: Packet analysis {"connection_id":147025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba0b"} 
[2026-08-01 02:50:34] local.INFO: Extracted packet for processing {"connection_id":147025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba0b"} 
[2026-08-01 02:50:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096306176001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:50:34] 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-08-01 02:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785532747000,"timestamp_ms":1785532747000,"timestamp_seconds":1785532747,"priority":1,"record_length":96,"hex_timestamp":"0000019fba0b8cf8"} 
[2026-08-01 02:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:50: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-08-01 02: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":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-01 02:50:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02: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-08-01 02:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096306176001,"66":25343,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096306176001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:50:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:50:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096306176001,"power":25343,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":147025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:50:34] local.INFO: GPS data processed {"connection_id":147025,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:50:34] local.INFO: Acknowledgment sent {"connection_id":147025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:50:56] local.INFO: TCP Data received {"connection_id":145805,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:50:56] local.INFO: Processing buffer {"connection_id":145805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:50:56] local.INFO: IMEI packet received {"connection_id":145805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":145805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:51:02] local.INFO: TCP Data received {"connection_id":145805,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:51:02] local.INFO: Processing buffer {"connection_id":145805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:51:02] local.INFO: IMEI packet received {"connection_id":145805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":145805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:51:09] local.INFO: TCP Data received {"connection_id":145805,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba0b8cf8012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba0b8cf8012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:51:09] local.INFO: Processing buffer {"connection_id":145805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba0b8cf8012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:51:09] local.INFO: Packet analysis {"connection_id":145805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba0b"} 
[2026-08-01 02:51:09] local.INFO: Extracted packet for processing {"connection_id":145805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba0b"} 
[2026-08-01 02:51:09] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 02:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096306176001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:51:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 02:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785532747000,"timestamp_ms":1785532747000,"timestamp_seconds":1785532747,"priority":1,"record_length":96,"hex_timestamp":"0000019fba0b8cf8"} 
[2026-08-01 02:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 02:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-01 02:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02:51:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 02:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096306176001,"66":25343,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096306176001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:51:09] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:51:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096306176001,"power":25343,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":145805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:51:09] local.INFO: GPS data processed {"connection_id":145805,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:51:09] local.INFO: Acknowledgment sent {"connection_id":145805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:51:40] local.INFO: TCP Data received {"connection_id":145805,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba0b8cf8012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba0b8cf8012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:51:40] local.INFO: Processing buffer {"connection_id":145805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba0b8cf8012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:51:40] local.INFO: Packet analysis {"connection_id":145805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba0b"} 
[2026-08-01 02:51:40] local.INFO: Extracted packet for processing {"connection_id":145805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba0b"} 
[2026-08-01 02:51:40] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096306176001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 02:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785532747000,"timestamp_ms":1785532747000,"timestamp_seconds":1785532747,"priority":1,"record_length":96,"hex_timestamp":"0000019fba0b8cf8"} 
[2026-08-01 02:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:51: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-08-01 02: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":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-01 02:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02: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-08-01 02:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":145805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":145805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":145805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096306176001,"66":25343,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096306176001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:51:40] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:51:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096306176001,"power":25343,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":145805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:51:40] local.INFO: GPS data processed {"connection_id":145805,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:51:40] local.INFO: Acknowledgment sent {"connection_id":145805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:52:02] local.INFO: TCP Data received {"connection_id":147026,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:52:02] local.INFO: Processing buffer {"connection_id":147026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:52:02] local.INFO: IMEI packet received {"connection_id":147026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":147026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:52:07] local.INFO: TCP Data received {"connection_id":147026,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:52:07] local.INFO: Processing buffer {"connection_id":147026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:52:07] local.INFO: IMEI packet received {"connection_id":147026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":147026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:52:08] local.INFO: TCP Data received {"connection_id":147026,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba0b8cf8012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba0b8cf8012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:52:08] local.INFO: Processing buffer {"connection_id":147026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba0b8cf8012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:52:08] local.INFO: Packet analysis {"connection_id":147026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba0b"} 
[2026-08-01 02:52:08] local.INFO: Extracted packet for processing {"connection_id":147026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba0b"} 
[2026-08-01 02:52:08] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096306176001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:52: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-08-01 02:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785532747000,"timestamp_ms":1785532747000,"timestamp_seconds":1785532747,"priority":1,"record_length":96,"hex_timestamp":"0000019fba0b8cf8"} 
[2026-08-01 02:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:52: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-08-01 02: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":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-01 02:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02: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-08-01 02:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":147026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":147026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":147026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096306176001,"66":25343,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096306176001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:52:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:52:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096306176001,"power":25343,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":147026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:52:08] local.INFO: GPS data processed {"connection_id":147026,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:52:08] local.INFO: Acknowledgment sent {"connection_id":147026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:52:12] local.INFO: TCP Data received {"connection_id":147026,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba0b8cf8012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba0b8cf8012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:52:12] local.INFO: Processing buffer {"connection_id":147026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba0b8cf8012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:52:12] local.INFO: Packet analysis {"connection_id":147026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba0b"} 
[2026-08-01 02:52:12] local.INFO: Extracted packet for processing {"connection_id":147026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba0b"} 
[2026-08-01 02:52:12] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096306176001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:52:12] 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-08-01 02:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785532747000,"timestamp_ms":1785532747000,"timestamp_seconds":1785532747,"priority":1,"record_length":96,"hex_timestamp":"0000019fba0b8cf8"} 
[2026-08-01 02:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 02: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":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-01 02:52:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02: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-08-01 02:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":147026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":147026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":147026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096306176001,"66":25343,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096306176001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:52:12] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:52:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096306176001,"power":25343,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":147026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:52:12] local.INFO: GPS data processed {"connection_id":147026,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:52:12] local.INFO: Acknowledgment sent {"connection_id":147026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:52:57] local.INFO: TCP Data received {"connection_id":147027,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:52:57] local.INFO: Processing buffer {"connection_id":147027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:52:57] local.INFO: IMEI packet received {"connection_id":147027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":147027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:53:02] local.INFO: TCP Data received {"connection_id":147027,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:53:02] local.INFO: Processing buffer {"connection_id":147027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:53:02] local.INFO: IMEI packet received {"connection_id":147027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":147027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:53:03] local.INFO: TCP Data received {"connection_id":147027,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba0b8cf8012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba0b8cf8012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:53:03] local.INFO: Processing buffer {"connection_id":147027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba0b8cf8012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:53:03] local.INFO: Packet analysis {"connection_id":147027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba0b"} 
[2026-08-01 02:53:03] local.INFO: Extracted packet for processing {"connection_id":147027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba0b"} 
[2026-08-01 02:53:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096306176001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02: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-08-01 02:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785532747000,"timestamp_ms":1785532747000,"timestamp_seconds":1785532747,"priority":1,"record_length":96,"hex_timestamp":"0000019fba0b8cf8"} 
[2026-08-01 02:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 02: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":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-01 02:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02: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-08-01 02:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096306176001,"66":25343,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096306176001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:53:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:53:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096306176001,"power":25343,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":147027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:53:03] local.INFO: GPS data processed {"connection_id":147027,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:53:03] local.INFO: Acknowledgment sent {"connection_id":147027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:53:35] local.INFO: TCP Data received {"connection_id":147027,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba0b8cf8012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba0b8cf8012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:53:35] local.INFO: Processing buffer {"connection_id":147027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba0b8cf8012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:53:35] local.INFO: Packet analysis {"connection_id":147027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba0b"} 
[2026-08-01 02:53:35] local.INFO: Extracted packet for processing {"connection_id":147027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba0b"} 
[2026-08-01 02:53:35] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096306176001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:53: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-08-01 02:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785532747000,"timestamp_ms":1785532747000,"timestamp_seconds":1785532747,"priority":1,"record_length":96,"hex_timestamp":"0000019fba0b8cf8"} 
[2026-08-01 02:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:53:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 02: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":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-01 02:53:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02: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-08-01 02:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096306176001,"66":25343,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096306176001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:53:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:53:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096306176001,"power":25343,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":147027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:53:35] local.INFO: GPS data processed {"connection_id":147027,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:53:35] local.INFO: Acknowledgment sent {"connection_id":147027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:53:56] local.INFO: TCP Data received {"connection_id":146004,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:53:56] local.INFO: Processing buffer {"connection_id":146004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:53:56] local.INFO: IMEI packet received {"connection_id":146004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":146004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:54:02] local.INFO: TCP Data received {"connection_id":146004,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:54:02] local.INFO: Processing buffer {"connection_id":146004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:54:02] local.INFO: IMEI packet received {"connection_id":146004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":146004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:54:03] local.INFO: TCP Data received {"connection_id":146004,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba0b8cf8012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba0b8cf8012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:54:03] local.INFO: Processing buffer {"connection_id":146004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba0b8cf8012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:54:03] local.INFO: Packet analysis {"connection_id":146004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba0b"} 
[2026-08-01 02:54:03] local.INFO: Extracted packet for processing {"connection_id":146004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba0b"} 
[2026-08-01 02:54:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096306176001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:54: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-08-01 02:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785532747000,"timestamp_ms":1785532747000,"timestamp_seconds":1785532747,"priority":1,"record_length":96,"hex_timestamp":"0000019fba0b8cf8"} 
[2026-08-01 02:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 02: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":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-01 02:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02: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-08-01 02:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096306176001,"66":25343,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096306176001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:54:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:54:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096306176001,"power":25343,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":146004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:54:03] local.INFO: GPS data processed {"connection_id":146004,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:54:03] local.INFO: Acknowledgment sent {"connection_id":146004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:54:36] local.INFO: TCP Data received {"connection_id":146004,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba0b8cf8012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba0b8cf8012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:54:36] local.INFO: Processing buffer {"connection_id":146004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba0b8cf8012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:54:36] local.INFO: Packet analysis {"connection_id":146004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba0b"} 
[2026-08-01 02:54:36] local.INFO: Extracted packet for processing {"connection_id":146004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba0b"} 
[2026-08-01 02:54:36] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096306176001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:54: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-08-01 02:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785532747000,"timestamp_ms":1785532747000,"timestamp_seconds":1785532747,"priority":1,"record_length":96,"hex_timestamp":"0000019fba0b8cf8"} 
[2026-08-01 02:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02: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-08-01 02: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":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-01 02:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02: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-08-01 02:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096306176001,"66":25343,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096306176001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:54:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:54:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096306176001,"power":25343,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":146004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:54:36] local.INFO: GPS data processed {"connection_id":146004,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:54:36] local.INFO: Acknowledgment sent {"connection_id":146004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:54:56] local.INFO: TCP Data received {"connection_id":148342,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:54:56] local.INFO: Processing buffer {"connection_id":148342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:54:56] local.INFO: IMEI packet received {"connection_id":148342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":148342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:55:01] local.INFO: TCP Data received {"connection_id":148342,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:55:01] local.INFO: Processing buffer {"connection_id":148342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:55:01] local.INFO: IMEI packet received {"connection_id":148342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":148342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:55:02] local.INFO: TCP Data received {"connection_id":148342,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba1024c0012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba1024c0012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:55:02] local.INFO: Processing buffer {"connection_id":148342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba1024c0012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:55:02] local.INFO: Packet analysis {"connection_id":148342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba10"} 
[2026-08-01 02:55:02] local.INFO: Extracted packet for processing {"connection_id":148342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba10"} 
[2026-08-01 02:55:02] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096383232001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:55:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:55: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-08-01 02:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785533048000,"timestamp_ms":1785533048000,"timestamp_seconds":1785533048,"priority":1,"record_length":96,"hex_timestamp":"0000019fba1024c0"} 
[2026-08-01 02:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:55: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-08-01 02: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 02:55:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02: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-08-01 02:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":148342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":148342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":148342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096383232001,"66":25321,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096383232001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:55:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:55:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:55:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096383232001,"power":25321,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":148342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:55:02] local.INFO: GPS data processed {"connection_id":148342,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:55:02] local.INFO: Acknowledgment sent {"connection_id":148342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:55:34] local.INFO: TCP Data received {"connection_id":148342,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba1024c0012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba1024c0012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:55:34] local.INFO: Processing buffer {"connection_id":148342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba1024c0012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:55:34] local.INFO: Packet analysis {"connection_id":148342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba10"} 
[2026-08-01 02:55:34] local.INFO: Extracted packet for processing {"connection_id":148342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba10"} 
[2026-08-01 02:55:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096383232001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:55:34] 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-08-01 02:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785533048000,"timestamp_ms":1785533048000,"timestamp_seconds":1785533048,"priority":1,"record_length":96,"hex_timestamp":"0000019fba1024c0"} 
[2026-08-01 02:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:55: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-08-01 02: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 02:55:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02: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-08-01 02:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096383232001,"66":25321,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096383232001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:55:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:55:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096383232001,"power":25321,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":148342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:55:34] local.INFO: GPS data processed {"connection_id":148342,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:55:34] local.INFO: Acknowledgment sent {"connection_id":148342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:55:57] local.INFO: TCP Data received {"connection_id":147028,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:55:57] local.INFO: Processing buffer {"connection_id":147028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:55:57] local.INFO: IMEI packet received {"connection_id":147028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":147028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:56:01] local.INFO: TCP Data received {"connection_id":147028,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:56:01] local.INFO: Processing buffer {"connection_id":147028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:56:01] local.INFO: IMEI packet received {"connection_id":147028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":147028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:56:03] local.INFO: TCP Data received {"connection_id":147028,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba1024c0012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba1024c0012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:56:03] local.INFO: Processing buffer {"connection_id":147028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba1024c0012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:56:03] local.INFO: Packet analysis {"connection_id":147028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba10"} 
[2026-08-01 02:56:03] local.INFO: Extracted packet for processing {"connection_id":147028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba10"} 
[2026-08-01 02:56:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096383232001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:56: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-08-01 02:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785533048000,"timestamp_ms":1785533048000,"timestamp_seconds":1785533048,"priority":1,"record_length":96,"hex_timestamp":"0000019fba1024c0"} 
[2026-08-01 02:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02: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-08-01 02: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 02:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02: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-08-01 02:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096383232001,"66":25321,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096383232001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:56:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:56:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096383232001,"power":25321,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":147028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:56:03] local.INFO: GPS data processed {"connection_id":147028,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:56:03] local.INFO: Acknowledgment sent {"connection_id":147028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:56:07] local.INFO: TCP Data received {"connection_id":147028,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba1024c0012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba1024c0012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:56:07] local.INFO: Processing buffer {"connection_id":147028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba1024c0012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:56:07] local.INFO: Packet analysis {"connection_id":147028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba10"} 
[2026-08-01 02:56:07] local.INFO: Extracted packet for processing {"connection_id":147028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba10"} 
[2026-08-01 02:56:07] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 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-08-01 02:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096383232001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:56: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-08-01 02:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785533048000,"timestamp_ms":1785533048000,"timestamp_seconds":1785533048,"priority":1,"record_length":96,"hex_timestamp":"0000019fba1024c0"} 
[2026-08-01 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-08-01 02:56: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-08-01 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 02:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 02:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":147028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":147028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":147028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096383232001,"66":25321,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096383232001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:56:07] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:56:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096383232001,"power":25321,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":147028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:56:07] local.INFO: GPS data processed {"connection_id":147028,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:56:07] local.INFO: Acknowledgment sent {"connection_id":147028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:56:38] local.INFO: TCP Data received {"connection_id":147028,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba1024c0012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba1024c0012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:56:38] local.INFO: Processing buffer {"connection_id":147028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba1024c0012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:56:38] local.INFO: Packet analysis {"connection_id":147028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba10"} 
[2026-08-01 02:56:38] local.INFO: Extracted packet for processing {"connection_id":147028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba10"} 
[2026-08-01 02:56:38] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 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-08-01 02:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096383232001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 02:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785533048000,"timestamp_ms":1785533048000,"timestamp_seconds":1785533048,"priority":1,"record_length":96,"hex_timestamp":"0000019fba1024c0"} 
[2026-08-01 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-08-01 02:56: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-08-01 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 02:56:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 02:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":147028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":147028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":147028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096383232001,"66":25321,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096383232001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:56:38] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:56:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096383232001,"power":25321,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":147028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:56:38] local.INFO: GPS data processed {"connection_id":147028,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:56:38] local.INFO: Acknowledgment sent {"connection_id":147028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:56:56] local.INFO: TCP Data received {"connection_id":148343,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:56:56] local.INFO: Processing buffer {"connection_id":148343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:56:56] local.INFO: IMEI packet received {"connection_id":148343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":148343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:57:02] local.INFO: TCP Data received {"connection_id":148343,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:57:02] local.INFO: Processing buffer {"connection_id":148343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:57:02] local.INFO: IMEI packet received {"connection_id":148343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":148343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:57:03] local.INFO: TCP Data received {"connection_id":148343,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba1024c0012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba1024c0012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:57:03] local.INFO: Processing buffer {"connection_id":148343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba1024c0012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:57:03] local.INFO: Packet analysis {"connection_id":148343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba10"} 
[2026-08-01 02:57:03] local.INFO: Extracted packet for processing {"connection_id":148343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba10"} 
[2026-08-01 02:57:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096383232001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:57: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-08-01 02:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785533048000,"timestamp_ms":1785533048000,"timestamp_seconds":1785533048,"priority":1,"record_length":96,"hex_timestamp":"0000019fba1024c0"} 
[2026-08-01 02:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:57: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-08-01 02: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 02:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02: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-08-01 02:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096383232001,"66":25321,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096383232001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:57:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:57:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096383232001,"power":25321,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":148343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:57:03] local.INFO: GPS data processed {"connection_id":148343,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:57:03] local.INFO: Acknowledgment sent {"connection_id":148343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:57:34] local.INFO: TCP Data received {"connection_id":148343,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba1024c0012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba1024c0012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:57:34] local.INFO: Processing buffer {"connection_id":148343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba1024c0012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:57:34] local.INFO: Packet analysis {"connection_id":148343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba10"} 
[2026-08-01 02:57:34] local.INFO: Extracted packet for processing {"connection_id":148343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba10"} 
[2026-08-01 02:57:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 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-08-01 02:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096383232001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:57:34] 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-08-01 02:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785533048000,"timestamp_ms":1785533048000,"timestamp_seconds":1785533048,"priority":1,"record_length":96,"hex_timestamp":"0000019fba1024c0"} 
[2026-08-01 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-08-01 02:57: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-08-01 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 02:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 02:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096383232001,"66":25321,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096383232001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:57:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:57:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096383232001,"power":25321,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":148343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:57:34] local.INFO: GPS data processed {"connection_id":148343,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:57:34] local.INFO: Acknowledgment sent {"connection_id":148343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:57:56] local.INFO: TCP Data received {"connection_id":148344,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:57:56] local.INFO: Processing buffer {"connection_id":148344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:57:56] local.INFO: IMEI packet received {"connection_id":148344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":148344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:58:01] local.INFO: TCP Data received {"connection_id":148344,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:58:01] local.INFO: Processing buffer {"connection_id":148344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:58:01] local.INFO: IMEI packet received {"connection_id":148344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":148344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:58:02] local.INFO: TCP Data received {"connection_id":148344,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba1024c0012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba1024c0012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:58:02] local.INFO: Processing buffer {"connection_id":148344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba1024c0012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:58:02] local.INFO: Packet analysis {"connection_id":148344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba10"} 
[2026-08-01 02:58:02] local.INFO: Extracted packet for processing {"connection_id":148344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba10"} 
[2026-08-01 02:58:02] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096383232001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:58: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-08-01 02:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785533048000,"timestamp_ms":1785533048000,"timestamp_seconds":1785533048,"priority":1,"record_length":96,"hex_timestamp":"0000019fba1024c0"} 
[2026-08-01 02:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:58: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-08-01 02: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 02:58:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02: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-08-01 02:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":148344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":148344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":148344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096383232001,"66":25321,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096383232001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:58:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:58:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096383232001,"power":25321,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":148344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:58:02] local.INFO: GPS data processed {"connection_id":148344,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:58:02] local.INFO: Acknowledgment sent {"connection_id":148344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:58:34] local.INFO: TCP Data received {"connection_id":148344,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba1024c0012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba1024c0012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:58:34] local.INFO: Processing buffer {"connection_id":148344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba1024c0012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:58:34] local.INFO: Packet analysis {"connection_id":148344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba10"} 
[2026-08-01 02:58:34] local.INFO: Extracted packet for processing {"connection_id":148344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba10"} 
[2026-08-01 02:58:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02: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-08-01 02:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096383232001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:58:34] 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-08-01 02:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785533048000,"timestamp_ms":1785533048000,"timestamp_seconds":1785533048,"priority":1,"record_length":96,"hex_timestamp":"0000019fba1024c0"} 
[2026-08-01 02:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:58: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-08-01 02: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 02:58:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02: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-08-01 02:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096383232001,"66":25321,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096383232001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:58:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:58:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096383232001,"power":25321,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":148344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:58:34] local.INFO: GPS data processed {"connection_id":148344,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:58:34] local.INFO: Acknowledgment sent {"connection_id":148344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:59:02] local.INFO: TCP Data received {"connection_id":146005,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:59:02] local.INFO: Processing buffer {"connection_id":146005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:59:02] local.INFO: IMEI packet received {"connection_id":146005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":146005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 02:59:07] local.INFO: TCP Data received {"connection_id":146005,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:59:07] local.INFO: Processing buffer {"connection_id":146005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:59:07] local.INFO: IMEI packet received {"connection_id":146005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 02:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":146005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 02:59:08] local.INFO: TCP Data received {"connection_id":146005,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba1024c0012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba1024c0012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:59:08] local.INFO: Processing buffer {"connection_id":146005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba1024c0012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:59:08] local.INFO: Packet analysis {"connection_id":146005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba10"} 
[2026-08-01 02:59:08] local.INFO: Extracted packet for processing {"connection_id":146005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba10"} 
[2026-08-01 02:59:08] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 02:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096383232001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 02:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785533048000,"timestamp_ms":1785533048000,"timestamp_seconds":1785533048,"priority":1,"record_length":96,"hex_timestamp":"0000019fba1024c0"} 
[2026-08-01 02:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:59: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-08-01 02:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 02:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02:59:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 02:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":146005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":146005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":146005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096383232001,"66":25321,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096383232001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:59:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:59:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096383232001,"power":25321,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":146005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:59:08] local.INFO: GPS data processed {"connection_id":146005,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:59:08] local.INFO: Acknowledgment sent {"connection_id":146005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:59:12] local.INFO: TCP Data received {"connection_id":146005,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba1024c0012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba1024c0012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:59:12] local.INFO: Processing buffer {"connection_id":146005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba1024c0012d77a14005f2a670001400fa29..."} 
[2026-08-01 02:59:12] local.INFO: Packet analysis {"connection_id":146005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba10"} 
[2026-08-01 02:59:12] local.INFO: Extracted packet for processing {"connection_id":146005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba10"} 
[2026-08-01 02:59:12] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 02:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 02:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096383232001,"note":"Value kept but may cause issues"} 
[2026-08-01 02:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 02:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 02:59:12] 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-08-01 02:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785533048000,"timestamp_ms":1785533048000,"timestamp_seconds":1785533048,"priority":1,"record_length":96,"hex_timestamp":"0000019fba1024c0"} 
[2026-08-01 02:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 02:59:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 02:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 02:59:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 02:59:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 02:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 02:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 02:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":146005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 02:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":146005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":146005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 02:59:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 02:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 02:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 02:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096383232001,"66":25321,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 02:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 02:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 02:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096383232001,"description":"Unknown IO ID 0"} 
[2026-08-01 02:59:12] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 02:59:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 02:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 02:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 02:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096383232001,"power":25321,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 02:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":146005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 02:59:12] local.INFO: GPS data processed {"connection_id":146005,"processed":1,"errors":0,"total":1} 
[2026-08-01 02:59:12] local.INFO: Acknowledgment sent {"connection_id":146005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 02:59:57] local.INFO: TCP Data received {"connection_id":147029,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:59:57] local.INFO: Processing buffer {"connection_id":147029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 02:59:57] local.INFO: IMEI packet received {"connection_id":147029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 02:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":147029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:00:02] local.INFO: TCP Data received {"connection_id":147029,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:00:02] local.INFO: Processing buffer {"connection_id":147029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:00:02] local.INFO: IMEI packet received {"connection_id":147029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":147029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:00:03] local.INFO: TCP Data received {"connection_id":147029,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba14bc88012d77a14005f2a670001400fa2a..."} 
[2026-08-01 03:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba14bc88012d77a14005f2a670001400fa2a..."} 
[2026-08-01 03:00:03] local.INFO: Processing buffer {"connection_id":147029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba14bc88012d77a14005f2a670001400fa2a..."} 
[2026-08-01 03:00:03] local.INFO: Packet analysis {"connection_id":147029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba14"} 
[2026-08-01 03:00:03] local.INFO: Extracted packet for processing {"connection_id":147029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba14"} 
[2026-08-01 03:00:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096460288001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:00: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-08-01 03:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785533349000,"timestamp_ms":1785533349000,"timestamp_seconds":1785533349,"priority":1,"record_length":96,"hex_timestamp":"0000019fba14bc88"} 
[2026-08-01 03:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:00: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-08-01 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-01 03:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 03: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-08-01 03:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096460288001,"66":25375,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096460288001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:00:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:00:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096460288001,"power":25375,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":147029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:00:03] local.INFO: GPS data processed {"connection_id":147029,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:00:03] local.INFO: Acknowledgment sent {"connection_id":147029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:00:34] local.INFO: TCP Data received {"connection_id":147029,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba14bc88012d77a14005f2a670001400fa2a..."} 
[2026-08-01 03:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba14bc88012d77a14005f2a670001400fa2a..."} 
[2026-08-01 03:00:34] local.INFO: Processing buffer {"connection_id":147029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba14bc88012d77a14005f2a670001400fa2a..."} 
[2026-08-01 03:00:34] local.INFO: Packet analysis {"connection_id":147029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba14"} 
[2026-08-01 03:00:34] local.INFO: Extracted packet for processing {"connection_id":147029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba14"} 
[2026-08-01 03:00:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096460288001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:00:34] 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-08-01 03:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785533349000,"timestamp_ms":1785533349000,"timestamp_seconds":1785533349,"priority":1,"record_length":96,"hex_timestamp":"0000019fba14bc88"} 
[2026-08-01 03:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:00: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-08-01 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-01 03:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 03: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-08-01 03:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096460288001,"66":25375,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096460288001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:00:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:00:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096460288001,"power":25375,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":147029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:00:34] local.INFO: GPS data processed {"connection_id":147029,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:00:34] local.INFO: Acknowledgment sent {"connection_id":147029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:00:56] local.INFO: TCP Data received {"connection_id":148345,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:00:56] local.INFO: Processing buffer {"connection_id":148345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:00:56] local.INFO: IMEI packet received {"connection_id":148345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":148345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:01:03] local.INFO: TCP Data received {"connection_id":148345,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:01:03] local.INFO: Processing buffer {"connection_id":148345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:01:03] local.INFO: IMEI packet received {"connection_id":148345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":148345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:01:04] local.INFO: TCP Data received {"connection_id":148345,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba14bc88012d77a14005f2a670001400fa2a..."} 
[2026-08-01 03:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba14bc88012d77a14005f2a670001400fa2a..."} 
[2026-08-01 03:01:04] local.INFO: Processing buffer {"connection_id":148345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba14bc88012d77a14005f2a670001400fa2a..."} 
[2026-08-01 03:01:04] local.INFO: Packet analysis {"connection_id":148345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba14"} 
[2026-08-01 03:01:04] local.INFO: Extracted packet for processing {"connection_id":148345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba14"} 
[2026-08-01 03:01:04] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096460288001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:01: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-08-01 03:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785533349000,"timestamp_ms":1785533349000,"timestamp_seconds":1785533349,"priority":1,"record_length":96,"hex_timestamp":"0000019fba14bc88"} 
[2026-08-01 03:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:01: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-08-01 03:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-01 03:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 03: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-08-01 03:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":148345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":148345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":148345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096460288001,"66":25375,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096460288001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:01:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:01:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096460288001,"power":25375,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":148345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:01:04] local.INFO: GPS data processed {"connection_id":148345,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:01:04] local.INFO: Acknowledgment sent {"connection_id":148345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:01:36] local.INFO: TCP Data received {"connection_id":148345,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba14bc88012d77a14005f2a670001400fa2a..."} 
[2026-08-01 03:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba14bc88012d77a14005f2a670001400fa2a..."} 
[2026-08-01 03:01:36] local.INFO: Processing buffer {"connection_id":148345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba14bc88012d77a14005f2a670001400fa2a..."} 
[2026-08-01 03:01:36] local.INFO: Packet analysis {"connection_id":148345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba14"} 
[2026-08-01 03:01:36] local.INFO: Extracted packet for processing {"connection_id":148345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba14"} 
[2026-08-01 03:01:36] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 03:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096460288001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:01: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-08-01 03:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785533349000,"timestamp_ms":1785533349000,"timestamp_seconds":1785533349,"priority":1,"record_length":96,"hex_timestamp":"0000019fba14bc88"} 
[2026-08-01 03:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:01: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-08-01 03:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-01 03:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 03:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 03:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096460288001,"66":25375,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096460288001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:01:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:01:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096460288001,"power":25375,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":148345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:01:36] local.INFO: GPS data processed {"connection_id":148345,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:01:36] local.INFO: Acknowledgment sent {"connection_id":148345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:01:56] local.INFO: TCP Data received {"connection_id":145806,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:01:56] local.INFO: Processing buffer {"connection_id":145806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:01:56] local.INFO: IMEI packet received {"connection_id":145806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":145806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:02:02] local.INFO: TCP Data received {"connection_id":145806,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:02:02] local.INFO: Processing buffer {"connection_id":145806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:02:02] local.INFO: IMEI packet received {"connection_id":145806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":145806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:02:03] local.INFO: TCP Data received {"connection_id":145806,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba14bc88012d77a14005f2a670001400fa2a..."} 
[2026-08-01 03:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba14bc88012d77a14005f2a670001400fa2a..."} 
[2026-08-01 03:02:03] local.INFO: Processing buffer {"connection_id":145806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba14bc88012d77a14005f2a670001400fa2a..."} 
[2026-08-01 03:02:03] local.INFO: Packet analysis {"connection_id":145806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba14"} 
[2026-08-01 03:02:03] local.INFO: Extracted packet for processing {"connection_id":145806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba14"} 
[2026-08-01 03:02:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096460288001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03: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-08-01 03:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785533349000,"timestamp_ms":1785533349000,"timestamp_seconds":1785533349,"priority":1,"record_length":96,"hex_timestamp":"0000019fba14bc88"} 
[2026-08-01 03:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:02: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-08-01 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-01 03:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 03: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-08-01 03:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096460288001,"66":25375,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096460288001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:02:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:02:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096460288001,"power":25375,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":145806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:02:03] local.INFO: GPS data processed {"connection_id":145806,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:02:03] local.INFO: Acknowledgment sent {"connection_id":145806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:02:34] local.INFO: TCP Data received {"connection_id":145806,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba14bc88012d77a14005f2a670001400fa2a..."} 
[2026-08-01 03:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba14bc88012d77a14005f2a670001400fa2a..."} 
[2026-08-01 03:02:34] local.INFO: Processing buffer {"connection_id":145806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba14bc88012d77a14005f2a670001400fa2a..."} 
[2026-08-01 03:02:34] local.INFO: Packet analysis {"connection_id":145806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba14"} 
[2026-08-01 03:02:34] local.INFO: Extracted packet for processing {"connection_id":145806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba14"} 
[2026-08-01 03:02:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 03:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096460288001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:02:34] 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-08-01 03:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785533349000,"timestamp_ms":1785533349000,"timestamp_seconds":1785533349,"priority":1,"record_length":96,"hex_timestamp":"0000019fba14bc88"} 
[2026-08-01 03:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:02: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-08-01 03:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-01 03:02:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 03:02:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 03:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096460288001,"66":25375,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096460288001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:02:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:02:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096460288001,"power":25375,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":145806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:02:35] local.INFO: GPS data processed {"connection_id":145806,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:02:35] local.INFO: Acknowledgment sent {"connection_id":145806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:03:01] local.INFO: TCP Data received {"connection_id":145807,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:03:01] local.INFO: Processing buffer {"connection_id":145807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:03:01] local.INFO: IMEI packet received {"connection_id":145807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":145807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:03:07] local.INFO: TCP Data received {"connection_id":145807,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:03:07] local.INFO: Processing buffer {"connection_id":145807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:03:07] local.INFO: IMEI packet received {"connection_id":145807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":145807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:03:08] local.INFO: TCP Data received {"connection_id":145807,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba14bc88012d77a14005f2a670001400fa2a..."} 
[2026-08-01 03:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba14bc88012d77a14005f2a670001400fa2a..."} 
[2026-08-01 03:03:08] local.INFO: Processing buffer {"connection_id":145807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba14bc88012d77a14005f2a670001400fa2a..."} 
[2026-08-01 03:03:08] local.INFO: Packet analysis {"connection_id":145807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba14"} 
[2026-08-01 03:03:08] local.INFO: Extracted packet for processing {"connection_id":145807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba14"} 
[2026-08-01 03:03:08] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096460288001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:03: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-08-01 03:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785533349000,"timestamp_ms":1785533349000,"timestamp_seconds":1785533349,"priority":1,"record_length":96,"hex_timestamp":"0000019fba14bc88"} 
[2026-08-01 03:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:03: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-08-01 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-01 03:03:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 03: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-08-01 03:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096460288001,"66":25375,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096460288001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:03:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:03:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096460288001,"power":25375,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":145807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:03:08] local.INFO: GPS data processed {"connection_id":145807,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:03:08] local.INFO: Acknowledgment sent {"connection_id":145807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:03:39] local.INFO: TCP Data received {"connection_id":145807,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba14bc88012d77a14005f2a670001400fa2a..."} 
[2026-08-01 03:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba14bc88012d77a14005f2a670001400fa2a..."} 
[2026-08-01 03:03:39] local.INFO: Processing buffer {"connection_id":145807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba14bc88012d77a14005f2a670001400fa2a..."} 
[2026-08-01 03:03:39] local.INFO: Packet analysis {"connection_id":145807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba14"} 
[2026-08-01 03:03:39] local.INFO: Extracted packet for processing {"connection_id":145807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba14"} 
[2026-08-01 03:03:39] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 03:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096460288001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:03:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 03:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785533349000,"timestamp_ms":1785533349000,"timestamp_seconds":1785533349,"priority":1,"record_length":96,"hex_timestamp":"0000019fba14bc88"} 
[2026-08-01 03:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:03:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 03:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-01 03:03:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 03:03:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 03:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":145807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":145807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":145807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096460288001,"66":25375,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096460288001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:03:39] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:03:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096460288001,"power":25375,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":145807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:03:39] local.INFO: GPS data processed {"connection_id":145807,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:03:39] local.INFO: Acknowledgment sent {"connection_id":145807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:04:01] local.INFO: TCP Data received {"connection_id":147030,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:04:01] local.INFO: Processing buffer {"connection_id":147030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:04:01] local.INFO: IMEI packet received {"connection_id":147030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":147030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:04:07] local.INFO: TCP Data received {"connection_id":147030,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:04:07] local.INFO: Processing buffer {"connection_id":147030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:04:07] local.INFO: IMEI packet received {"connection_id":147030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":147030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:04:09] local.INFO: TCP Data received {"connection_id":147030,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba14bc88012d77a14005f2a670001400fa2a..."} 
[2026-08-01 03:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba14bc88012d77a14005f2a670001400fa2a..."} 
[2026-08-01 03:04:09] local.INFO: Processing buffer {"connection_id":147030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba14bc88012d77a14005f2a670001400fa2a..."} 
[2026-08-01 03:04:09] local.INFO: Packet analysis {"connection_id":147030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba14"} 
[2026-08-01 03:04:09] local.INFO: Extracted packet for processing {"connection_id":147030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba14"} 
[2026-08-01 03:04:09] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 03:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096460288001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:04: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-08-01 03:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785533349000,"timestamp_ms":1785533349000,"timestamp_seconds":1785533349,"priority":1,"record_length":96,"hex_timestamp":"0000019fba14bc88"} 
[2026-08-01 03:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 03:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-01 03:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 03:04:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 03:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":147030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":147030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":147030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096460288001,"66":25375,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096460288001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:04:09] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:04:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096460288001,"power":25375,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":147030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:04:09] local.INFO: GPS data processed {"connection_id":147030,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:04:09] local.INFO: Acknowledgment sent {"connection_id":147030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:04:57] local.INFO: TCP Data received {"connection_id":146006,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:04:57] local.INFO: Processing buffer {"connection_id":146006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:04:57] local.INFO: IMEI packet received {"connection_id":146006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":146006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:05:02] local.INFO: TCP Data received {"connection_id":146006,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:05:02] local.INFO: Processing buffer {"connection_id":146006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:05:02] local.INFO: IMEI packet received {"connection_id":146006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":146006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:05:03] local.INFO: TCP Data received {"connection_id":146006,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba195450012d77a14005f2a670001400fa27..."} 
[2026-08-01 03:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba195450012d77a14005f2a670001400fa27..."} 
[2026-08-01 03:05:03] local.INFO: Processing buffer {"connection_id":146006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba195450012d77a14005f2a670001400fa27..."} 
[2026-08-01 03:05:03] local.INFO: Packet analysis {"connection_id":146006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba19"} 
[2026-08-01 03:05:03] local.INFO: Extracted packet for processing {"connection_id":146006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba19"} 
[2026-08-01 03:05:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096537344001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03: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-08-01 03:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785533650000,"timestamp_ms":1785533650000,"timestamp_seconds":1785533650,"priority":1,"record_length":96,"hex_timestamp":"0000019fba195450"} 
[2026-08-01 03:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:05: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-08-01 03: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":31,"data_length":795,"current_offset":136} 
[2026-08-01 03:05:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 03: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-08-01 03:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096537344001,"66":25397,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096537344001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:05:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:05:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096537344001,"power":25397,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":146006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:05:03] local.INFO: GPS data processed {"connection_id":146006,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:05:03] local.INFO: Acknowledgment sent {"connection_id":146006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:05:34] local.INFO: TCP Data received {"connection_id":146006,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba195450012d77a14005f2a670001400fa27..."} 
[2026-08-01 03:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba195450012d77a14005f2a670001400fa27..."} 
[2026-08-01 03:05:34] local.INFO: Processing buffer {"connection_id":146006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba195450012d77a14005f2a670001400fa27..."} 
[2026-08-01 03:05:34] local.INFO: Packet analysis {"connection_id":146006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba19"} 
[2026-08-01 03:05:34] local.INFO: Extracted packet for processing {"connection_id":146006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba19"} 
[2026-08-01 03:05:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096537344001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:05:34] 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-08-01 03:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785533650000,"timestamp_ms":1785533650000,"timestamp_seconds":1785533650,"priority":1,"record_length":96,"hex_timestamp":"0000019fba195450"} 
[2026-08-01 03:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03: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-08-01 03: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-01 03:05:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 03: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-08-01 03:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096537344001,"66":25397,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096537344001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:05:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:05:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096537344001,"power":25397,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":146006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:05:34] local.INFO: GPS data processed {"connection_id":146006,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:05:34] local.INFO: Acknowledgment sent {"connection_id":146006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:05:57] local.INFO: TCP Data received {"connection_id":147031,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:05:57] local.INFO: Processing buffer {"connection_id":147031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:05:57] local.INFO: IMEI packet received {"connection_id":147031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":147031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:06:02] local.INFO: TCP Data received {"connection_id":147031,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:06:02] local.INFO: Processing buffer {"connection_id":147031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:06:02] local.INFO: IMEI packet received {"connection_id":147031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":147031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:06:03] local.INFO: TCP Data received {"connection_id":147031,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba195450012d77a14005f2a670001400fa27..."} 
[2026-08-01 03:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba195450012d77a14005f2a670001400fa27..."} 
[2026-08-01 03:06:03] local.INFO: Processing buffer {"connection_id":147031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba195450012d77a14005f2a670001400fa27..."} 
[2026-08-01 03:06:03] local.INFO: Packet analysis {"connection_id":147031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba19"} 
[2026-08-01 03:06:03] local.INFO: Extracted packet for processing {"connection_id":147031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba19"} 
[2026-08-01 03:06:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096537344001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03: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-08-01 03:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785533650000,"timestamp_ms":1785533650000,"timestamp_seconds":1785533650,"priority":1,"record_length":96,"hex_timestamp":"0000019fba195450"} 
[2026-08-01 03:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:06: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-08-01 03: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":31,"data_length":795,"current_offset":136} 
[2026-08-01 03:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 03: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-08-01 03:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096537344001,"66":25397,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096537344001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:06:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:06:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096537344001,"power":25397,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":147031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:06:03] local.INFO: GPS data processed {"connection_id":147031,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:06:03] local.INFO: Acknowledgment sent {"connection_id":147031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:06:34] local.INFO: TCP Data received {"connection_id":147031,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba195450012d77a14005f2a670001400fa27..."} 
[2026-08-01 03:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba195450012d77a14005f2a670001400fa27..."} 
[2026-08-01 03:06:34] local.INFO: Processing buffer {"connection_id":147031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba195450012d77a14005f2a670001400fa27..."} 
[2026-08-01 03:06:34] local.INFO: Packet analysis {"connection_id":147031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba19"} 
[2026-08-01 03:06:34] local.INFO: Extracted packet for processing {"connection_id":147031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba19"} 
[2026-08-01 03:06:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096537344001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:06:34] 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-08-01 03:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785533650000,"timestamp_ms":1785533650000,"timestamp_seconds":1785533650,"priority":1,"record_length":96,"hex_timestamp":"0000019fba195450"} 
[2026-08-01 03:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:06: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-08-01 03: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-01 03:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 03: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-08-01 03:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096537344001,"66":25397,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096537344001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:06:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:06:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096537344001,"power":25397,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":147031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:06:34] local.INFO: GPS data processed {"connection_id":147031,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:06:34] local.INFO: Acknowledgment sent {"connection_id":147031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:06:56] local.INFO: TCP Data received {"connection_id":146007,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:06:56] local.INFO: Processing buffer {"connection_id":146007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:06:56] local.INFO: IMEI packet received {"connection_id":146007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":146007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:07:02] local.INFO: TCP Data received {"connection_id":146007,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:07:02] local.INFO: Processing buffer {"connection_id":146007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:07:02] local.INFO: IMEI packet received {"connection_id":146007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":146007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:07:03] local.INFO: TCP Data received {"connection_id":146007,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba195450012d77a14005f2a670001400fa27..."} 
[2026-08-01 03:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba195450012d77a14005f2a670001400fa27..."} 
[2026-08-01 03:07:03] local.INFO: Processing buffer {"connection_id":146007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba195450012d77a14005f2a670001400fa27..."} 
[2026-08-01 03:07:03] local.INFO: Packet analysis {"connection_id":146007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba19"} 
[2026-08-01 03:07:03] local.INFO: Extracted packet for processing {"connection_id":146007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba19"} 
[2026-08-01 03:07:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096537344001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03: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-08-01 03:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785533650000,"timestamp_ms":1785533650000,"timestamp_seconds":1785533650,"priority":1,"record_length":96,"hex_timestamp":"0000019fba195450"} 
[2026-08-01 03:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03: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-08-01 03: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-01 03:07:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 03: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-08-01 03:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096537344001,"66":25397,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096537344001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:07:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:07:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096537344001,"power":25397,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":146007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:07:03] local.INFO: GPS data processed {"connection_id":146007,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:07:03] local.INFO: Acknowledgment sent {"connection_id":146007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:07:34] local.INFO: TCP Data received {"connection_id":146007,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba195450012d77a14005f2a670001400fa27..."} 
[2026-08-01 03:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba195450012d77a14005f2a670001400fa27..."} 
[2026-08-01 03:07:34] local.INFO: Processing buffer {"connection_id":146007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba195450012d77a14005f2a670001400fa27..."} 
[2026-08-01 03:07:34] local.INFO: Packet analysis {"connection_id":146007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba19"} 
[2026-08-01 03:07:34] local.INFO: Extracted packet for processing {"connection_id":146007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba19"} 
[2026-08-01 03:07:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 03:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096537344001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:07:34] 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-08-01 03:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785533650000,"timestamp_ms":1785533650000,"timestamp_seconds":1785533650,"priority":1,"record_length":96,"hex_timestamp":"0000019fba195450"} 
[2026-08-01 03:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:07: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-08-01 03:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-01 03:07:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 03:07:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 03:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096537344001,"66":25397,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096537344001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:07:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:07:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096537344001,"power":25397,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":146007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:07:34] local.INFO: GPS data processed {"connection_id":146007,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:07:34] local.INFO: Acknowledgment sent {"connection_id":146007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:08:02] local.INFO: TCP Data received {"connection_id":147032,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:08:02] local.INFO: Processing buffer {"connection_id":147032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:08:02] local.INFO: IMEI packet received {"connection_id":147032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":147032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:08:07] local.INFO: TCP Data received {"connection_id":147032,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:08:07] local.INFO: Processing buffer {"connection_id":147032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:08:07] local.INFO: IMEI packet received {"connection_id":147032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":147032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:08:08] local.INFO: TCP Data received {"connection_id":147032,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba195450012d77a14005f2a670001400fa27..."} 
[2026-08-01 03:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba195450012d77a14005f2a670001400fa27..."} 
[2026-08-01 03:08:08] local.INFO: Processing buffer {"connection_id":147032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba195450012d77a14005f2a670001400fa27..."} 
[2026-08-01 03:08:08] local.INFO: Packet analysis {"connection_id":147032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba19"} 
[2026-08-01 03:08:08] local.INFO: Extracted packet for processing {"connection_id":147032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba19"} 
[2026-08-01 03:08:08] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 03:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096537344001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:08: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-08-01 03:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785533650000,"timestamp_ms":1785533650000,"timestamp_seconds":1785533650,"priority":1,"record_length":96,"hex_timestamp":"0000019fba195450"} 
[2026-08-01 03:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:08: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-08-01 03:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-01 03:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 03:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 03:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":147032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":147032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":147032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096537344001,"66":25397,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096537344001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:08:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:08:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096537344001,"power":25397,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":147032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:08:08] local.INFO: GPS data processed {"connection_id":147032,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:08:08] local.INFO: Acknowledgment sent {"connection_id":147032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:08:12] local.INFO: TCP Data received {"connection_id":147032,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba195450012d77a14005f2a670001400fa27..."} 
[2026-08-01 03:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba195450012d77a14005f2a670001400fa27..."} 
[2026-08-01 03:08:12] local.INFO: Processing buffer {"connection_id":147032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba195450012d77a14005f2a670001400fa27..."} 
[2026-08-01 03:08:12] local.INFO: Packet analysis {"connection_id":147032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba19"} 
[2026-08-01 03:08:12] local.INFO: Extracted packet for processing {"connection_id":147032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba19"} 
[2026-08-01 03:08:12] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096537344001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:08:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:08:12] 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-08-01 03:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785533650000,"timestamp_ms":1785533650000,"timestamp_seconds":1785533650,"priority":1,"record_length":96,"hex_timestamp":"0000019fba195450"} 
[2026-08-01 03:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 03: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-01 03:08:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 03: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-08-01 03:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":147032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":147032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":147032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096537344001,"66":25397,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096537344001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:08:12] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:08:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:08:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096537344001,"power":25397,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":147032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:08:12] local.INFO: GPS data processed {"connection_id":147032,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:08:12] local.INFO: Acknowledgment sent {"connection_id":147032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:08:57] local.INFO: TCP Data received {"connection_id":146008,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:08:58] local.INFO: Processing buffer {"connection_id":146008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:08:58] local.INFO: IMEI packet received {"connection_id":146008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":146008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:09:03] local.INFO: TCP Data received {"connection_id":146008,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:09:03] local.INFO: Processing buffer {"connection_id":146008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:09:03] local.INFO: IMEI packet received {"connection_id":146008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":146008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:09:04] local.INFO: TCP Data received {"connection_id":146008,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba195450012d77a14005f2a670001400fa27..."} 
[2026-08-01 03:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba195450012d77a14005f2a670001400fa27..."} 
[2026-08-01 03:09:04] local.INFO: Processing buffer {"connection_id":146008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba195450012d77a14005f2a670001400fa27..."} 
[2026-08-01 03:09:04] local.INFO: Packet analysis {"connection_id":146008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba19"} 
[2026-08-01 03:09:04] local.INFO: Extracted packet for processing {"connection_id":146008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba19"} 
[2026-08-01 03:09:04] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096537344001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:09: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-08-01 03:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785533650000,"timestamp_ms":1785533650000,"timestamp_seconds":1785533650,"priority":1,"record_length":96,"hex_timestamp":"0000019fba195450"} 
[2026-08-01 03:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:09: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-08-01 03: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-01 03:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 03: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-08-01 03:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096537344001,"66":25397,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096537344001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:09:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:09:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096537344001,"power":25397,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":146008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:09:04] local.INFO: GPS data processed {"connection_id":146008,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:09:04] local.INFO: Acknowledgment sent {"connection_id":146008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:09:35] local.INFO: TCP Data received {"connection_id":146008,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba195450012d77a14005f2a670001400fa27..."} 
[2026-08-01 03:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba195450012d77a14005f2a670001400fa27..."} 
[2026-08-01 03:09:35] local.INFO: Processing buffer {"connection_id":146008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba195450012d77a14005f2a670001400fa27..."} 
[2026-08-01 03:09:35] local.INFO: Packet analysis {"connection_id":146008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba19"} 
[2026-08-01 03:09:35] local.INFO: Extracted packet for processing {"connection_id":146008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba19"} 
[2026-08-01 03:09:35] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":20,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096537344001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:09: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-08-01 03:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785533650000,"timestamp_ms":1785533650000,"timestamp_seconds":1785533650,"priority":1,"record_length":96,"hex_timestamp":"0000019fba195450"} 
[2026-08-01 03:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:09:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 03: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-01 03:09:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 03: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-08-01 03:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096537344001,"66":25397,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096537344001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:09:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:09:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096537344001,"power":25397,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":146008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:09:35] local.INFO: GPS data processed {"connection_id":146008,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:09:35] local.INFO: Acknowledgment sent {"connection_id":146008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:09:56] local.INFO: TCP Data received {"connection_id":148346,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:09:56] local.INFO: Processing buffer {"connection_id":148346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:09:56] local.INFO: IMEI packet received {"connection_id":148346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":148346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:10:02] local.INFO: TCP Data received {"connection_id":148346,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:10:02] local.INFO: Processing buffer {"connection_id":148346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:10:02] local.INFO: IMEI packet received {"connection_id":148346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":148346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:10:03] local.INFO: TCP Data received {"connection_id":148346,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba1dec18012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba1dec18012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:10:03] local.INFO: Processing buffer {"connection_id":148346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba1dec18012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:10:03] local.INFO: Packet analysis {"connection_id":148346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba1d"} 
[2026-08-01 03:10:03] local.INFO: Extracted packet for processing {"connection_id":148346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba1d"} 
[2026-08-01 03:10:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096614400001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03: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-08-01 03:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785533951000,"timestamp_ms":1785533951000,"timestamp_seconds":1785533951,"priority":1,"record_length":96,"hex_timestamp":"0000019fba1dec18"} 
[2026-08-01 03:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03: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-08-01 03: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":53,"data_length":795,"current_offset":136} 
[2026-08-01 03:10: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-08-01 03: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-08-01 03:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096614400001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096614400001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:10:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:10:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096614400001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":148346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:10:03] local.INFO: GPS data processed {"connection_id":148346,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:10:03] local.INFO: Acknowledgment sent {"connection_id":148346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:10:35] local.INFO: TCP Data received {"connection_id":148346,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba1dec18012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba1dec18012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:10:35] local.INFO: Processing buffer {"connection_id":148346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba1dec18012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:10:35] local.INFO: Packet analysis {"connection_id":148346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba1d"} 
[2026-08-01 03:10:35] local.INFO: Extracted packet for processing {"connection_id":148346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba1d"} 
[2026-08-01 03:10:35] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096614400001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:10: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-08-01 03:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785533951000,"timestamp_ms":1785533951000,"timestamp_seconds":1785533951,"priority":1,"record_length":96,"hex_timestamp":"0000019fba1dec18"} 
[2026-08-01 03:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-01 03:10:35] 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-08-01 03: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-08-01 03:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096614400001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096614400001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:10:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:10:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096614400001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":148346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:10:35] local.INFO: GPS data processed {"connection_id":148346,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:10:35] local.INFO: Acknowledgment sent {"connection_id":148346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:10:57] local.INFO: TCP Data received {"connection_id":145808,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:10:57] local.INFO: Processing buffer {"connection_id":145808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:10:57] local.INFO: IMEI packet received {"connection_id":145808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":145808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:11:02] local.INFO: TCP Data received {"connection_id":145808,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:11:02] local.INFO: Processing buffer {"connection_id":145808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:11:02] local.INFO: IMEI packet received {"connection_id":145808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":145808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:11:03] local.INFO: TCP Data received {"connection_id":145808,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba1dec18012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba1dec18012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:11:03] local.INFO: Processing buffer {"connection_id":145808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba1dec18012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:11:03] local.INFO: Packet analysis {"connection_id":145808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba1d"} 
[2026-08-01 03:11:03] local.INFO: Extracted packet for processing {"connection_id":145808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba1d"} 
[2026-08-01 03:11:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 03:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096614400001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03: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-08-01 03:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785533951000,"timestamp_ms":1785533951000,"timestamp_seconds":1785533951,"priority":1,"record_length":96,"hex_timestamp":"0000019fba1dec18"} 
[2026-08-01 03:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:11: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-08-01 03:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-01 03:11: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-08-01 03:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 03:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096614400001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096614400001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:11:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:11:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096614400001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":145808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:11:03] local.INFO: GPS data processed {"connection_id":145808,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:11:03] local.INFO: Acknowledgment sent {"connection_id":145808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:11:35] local.INFO: TCP Data received {"connection_id":145808,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba1dec18012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba1dec18012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:11:35] local.INFO: Processing buffer {"connection_id":145808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba1dec18012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:11:35] local.INFO: Packet analysis {"connection_id":145808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba1d"} 
[2026-08-01 03:11:35] local.INFO: Extracted packet for processing {"connection_id":145808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba1d"} 
[2026-08-01 03:11:35] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096614400001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:11: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-08-01 03:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785533951000,"timestamp_ms":1785533951000,"timestamp_seconds":1785533951,"priority":1,"record_length":96,"hex_timestamp":"0000019fba1dec18"} 
[2026-08-01 03:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 03:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-01 03:11:35] 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-08-01 03: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-08-01 03:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":145808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":145808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":145808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096614400001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096614400001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:11:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:11:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096614400001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":145808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:11:35] local.INFO: GPS data processed {"connection_id":145808,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:11:35] local.INFO: Acknowledgment sent {"connection_id":145808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:11:56] local.INFO: TCP Data received {"connection_id":147033,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:11:56] local.INFO: Processing buffer {"connection_id":147033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:11:56] local.INFO: IMEI packet received {"connection_id":147033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":147033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:12:02] local.INFO: TCP Data received {"connection_id":147033,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:12:02] local.INFO: Processing buffer {"connection_id":147033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:12:02] local.INFO: IMEI packet received {"connection_id":147033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":147033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:12:03] local.INFO: TCP Data received {"connection_id":147033,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba1dec18012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba1dec18012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:12:03] local.INFO: Processing buffer {"connection_id":147033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba1dec18012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:12:03] local.INFO: Packet analysis {"connection_id":147033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba1d"} 
[2026-08-01 03:12:03] local.INFO: Extracted packet for processing {"connection_id":147033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba1d"} 
[2026-08-01 03:12:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096614400001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:12: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-08-01 03:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785533951000,"timestamp_ms":1785533951000,"timestamp_seconds":1785533951,"priority":1,"record_length":96,"hex_timestamp":"0000019fba1dec18"} 
[2026-08-01 03:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03: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-08-01 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-01 03:12: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-08-01 03: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-08-01 03:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096614400001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096614400001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:12:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:12:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096614400001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":147033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:12:03] local.INFO: GPS data processed {"connection_id":147033,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:12:03] local.INFO: Acknowledgment sent {"connection_id":147033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:12:34] local.INFO: TCP Data received {"connection_id":147033,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba1dec18012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba1dec18012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:12:34] local.INFO: Processing buffer {"connection_id":147033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba1dec18012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:12:34] local.INFO: Packet analysis {"connection_id":147033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba1d"} 
[2026-08-01 03:12:34] local.INFO: Extracted packet for processing {"connection_id":147033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba1d"} 
[2026-08-01 03:12:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 03:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096614400001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:12:34] 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-08-01 03:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785533951000,"timestamp_ms":1785533951000,"timestamp_seconds":1785533951,"priority":1,"record_length":96,"hex_timestamp":"0000019fba1dec18"} 
[2026-08-01 03:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:12: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-08-01 03:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-01 03:12:34] 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-08-01 03:12:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 03:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096614400001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096614400001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:12:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:12:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096614400001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":147033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:12:34] local.INFO: GPS data processed {"connection_id":147033,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:12:34] local.INFO: Acknowledgment sent {"connection_id":147033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:12:56] local.INFO: TCP Data received {"connection_id":147034,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:12:56] local.INFO: Processing buffer {"connection_id":147034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:12:56] local.INFO: IMEI packet received {"connection_id":147034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":147034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:13:02] local.INFO: TCP Data received {"connection_id":147034,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:13:02] local.INFO: Processing buffer {"connection_id":147034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:13:02] local.INFO: IMEI packet received {"connection_id":147034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":147034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:13:09] local.INFO: TCP Data received {"connection_id":147034,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba1dec18012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba1dec18012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:13:09] local.INFO: Processing buffer {"connection_id":147034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba1dec18012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:13:09] local.INFO: Packet analysis {"connection_id":147034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba1d"} 
[2026-08-01 03:13:09] local.INFO: Extracted packet for processing {"connection_id":147034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba1d"} 
[2026-08-01 03:13:09] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 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-08-01 03:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096614400001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 03:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785533951000,"timestamp_ms":1785533951000,"timestamp_seconds":1785533951,"priority":1,"record_length":96,"hex_timestamp":"0000019fba1dec18"} 
[2026-08-01 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-08-01 03:13: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-08-01 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-01 03:13: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-08-01 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-08-01 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-08-01 03:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":147034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":147034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":147034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:13:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096614400001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096614400001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:13:09] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:13:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096614400001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":147034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:13:09] local.INFO: GPS data processed {"connection_id":147034,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:13:09] local.INFO: Acknowledgment sent {"connection_id":147034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:13:41] local.INFO: TCP Data received {"connection_id":147034,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba1dec18012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba1dec18012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:13:41] local.INFO: Processing buffer {"connection_id":147034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba1dec18012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:13:41] local.INFO: Packet analysis {"connection_id":147034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba1d"} 
[2026-08-01 03:13:41] local.INFO: Extracted packet for processing {"connection_id":147034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba1d"} 
[2026-08-01 03:13:41] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096614400001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:13:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:13: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-08-01 03:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785533951000,"timestamp_ms":1785533951000,"timestamp_seconds":1785533951,"priority":1,"record_length":96,"hex_timestamp":"0000019fba1dec18"} 
[2026-08-01 03:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:13: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-08-01 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-01 03:13:41] 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-08-01 03: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-08-01 03:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":147034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":147034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":147034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:13:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096614400001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096614400001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:13:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:13:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:13:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096614400001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":147034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:13:41] local.INFO: GPS data processed {"connection_id":147034,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:13:41] local.INFO: Acknowledgment sent {"connection_id":147034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:14:02] local.INFO: TCP Data received {"connection_id":145809,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:14:02] local.INFO: Processing buffer {"connection_id":145809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:14:02] local.INFO: IMEI packet received {"connection_id":145809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":145809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:14:07] local.INFO: TCP Data received {"connection_id":145809,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:14:07] local.INFO: Processing buffer {"connection_id":145809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:14:07] local.INFO: IMEI packet received {"connection_id":145809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":145809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:14:08] local.INFO: TCP Data received {"connection_id":145809,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba1dec18012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba1dec18012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:14:08] local.INFO: Processing buffer {"connection_id":145809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba1dec18012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:14:08] local.INFO: Packet analysis {"connection_id":145809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba1d"} 
[2026-08-01 03:14:08] local.INFO: Extracted packet for processing {"connection_id":145809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba1d"} 
[2026-08-01 03:14:08] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 03:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096614400001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:14: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-08-01 03:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785533951000,"timestamp_ms":1785533951000,"timestamp_seconds":1785533951,"priority":1,"record_length":96,"hex_timestamp":"0000019fba1dec18"} 
[2026-08-01 03:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:14: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-08-01 03:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-01 03:14:08] 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-08-01 03:14:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 03:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096614400001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096614400001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:14:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:14:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096614400001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":145809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:14:08] local.INFO: GPS data processed {"connection_id":145809,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:14:08] local.INFO: Acknowledgment sent {"connection_id":145809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:14:12] local.INFO: TCP Data received {"connection_id":145809,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba1dec18012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba1dec18012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:14:12] local.INFO: Processing buffer {"connection_id":145809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba1dec18012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:14:12] local.INFO: Packet analysis {"connection_id":145809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba1d"} 
[2026-08-01 03:14:12] local.INFO: Extracted packet for processing {"connection_id":145809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba1d"} 
[2026-08-01 03:14:12] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096614400001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:14:12] 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-08-01 03:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785533951000,"timestamp_ms":1785533951000,"timestamp_seconds":1785533951,"priority":1,"record_length":96,"hex_timestamp":"0000019fba1dec18"} 
[2026-08-01 03:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:14:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-01 03:14:12] 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-08-01 03: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-08-01 03:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":145809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":145809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":145809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096614400001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096614400001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:14:12] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:14:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:14:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096614400001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":145809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:14:12] local.INFO: GPS data processed {"connection_id":145809,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:14:12] local.INFO: Acknowledgment sent {"connection_id":145809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:14:57] local.INFO: TCP Data received {"connection_id":147035,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:14:57] local.INFO: Processing buffer {"connection_id":147035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:14:57] local.INFO: IMEI packet received {"connection_id":147035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":147035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:15:02] local.INFO: TCP Data received {"connection_id":147035,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:15:02] local.INFO: Processing buffer {"connection_id":147035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:15:02] local.INFO: IMEI packet received {"connection_id":147035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":147035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:15:03] local.INFO: TCP Data received {"connection_id":147035,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba2283e0012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba2283e0012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:15:03] local.INFO: Processing buffer {"connection_id":147035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba2283e0012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:15:03] local.INFO: Packet analysis {"connection_id":147035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba22"} 
[2026-08-01 03:15:03] local.INFO: Extracted packet for processing {"connection_id":147035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba22"} 
[2026-08-01 03:15:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 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-08-01 03:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096691456001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03: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-08-01 03:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785534252000,"timestamp_ms":1785534252000,"timestamp_seconds":1785534252,"priority":1,"record_length":96,"hex_timestamp":"0000019fba2283e0"} 
[2026-08-01 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-08-01 03: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-08-01 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 03:15:03] 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-08-01 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-08-01 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-08-01 03:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096691456001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096691456001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:15:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:15:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096691456001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":147035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:15:03] local.INFO: GPS data processed {"connection_id":147035,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:15:03] local.INFO: Acknowledgment sent {"connection_id":147035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:15:34] local.INFO: TCP Data received {"connection_id":147035,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba2283e0012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba2283e0012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:15:34] local.INFO: Processing buffer {"connection_id":147035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba2283e0012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:15:34] local.INFO: Packet analysis {"connection_id":147035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba22"} 
[2026-08-01 03:15:34] local.INFO: Extracted packet for processing {"connection_id":147035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba22"} 
[2026-08-01 03:15:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096691456001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:15:34] 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-08-01 03:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785534252000,"timestamp_ms":1785534252000,"timestamp_seconds":1785534252,"priority":1,"record_length":96,"hex_timestamp":"0000019fba2283e0"} 
[2026-08-01 03:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:15: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-08-01 03: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":86,"data_length":795,"current_offset":136} 
[2026-08-01 03:15:34] 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-08-01 03: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-08-01 03:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096691456001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096691456001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:15:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:15:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096691456001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":147035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:15:34] local.INFO: GPS data processed {"connection_id":147035,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:15:34] local.INFO: Acknowledgment sent {"connection_id":147035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:15:56] local.INFO: TCP Data received {"connection_id":145810,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:15:56] local.INFO: Processing buffer {"connection_id":145810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:15:56] local.INFO: IMEI packet received {"connection_id":145810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":145810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:16:02] local.INFO: TCP Data received {"connection_id":145810,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:16:02] local.INFO: Processing buffer {"connection_id":145810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:16:02] local.INFO: IMEI packet received {"connection_id":145810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":145810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:16:03] local.INFO: TCP Data received {"connection_id":145810,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba2283e0012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba2283e0012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:16:03] local.INFO: Processing buffer {"connection_id":145810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba2283e0012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:16:03] local.INFO: Packet analysis {"connection_id":145810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba22"} 
[2026-08-01 03:16:03] local.INFO: Extracted packet for processing {"connection_id":145810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba22"} 
[2026-08-01 03:16:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096691456001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:16: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-08-01 03:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785534252000,"timestamp_ms":1785534252000,"timestamp_seconds":1785534252,"priority":1,"record_length":96,"hex_timestamp":"0000019fba2283e0"} 
[2026-08-01 03:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:16: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-08-01 03: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 03:16:03] 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-08-01 03: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-08-01 03:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096691456001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096691456001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:16:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:16:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096691456001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":145810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:16:03] local.INFO: GPS data processed {"connection_id":145810,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:16:03] local.INFO: Acknowledgment sent {"connection_id":145810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:16:34] local.INFO: TCP Data received {"connection_id":145810,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba2283e0012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba2283e0012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:16:34] local.INFO: Processing buffer {"connection_id":145810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba2283e0012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:16:34] local.INFO: Packet analysis {"connection_id":145810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba22"} 
[2026-08-01 03:16:34] local.INFO: Extracted packet for processing {"connection_id":145810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba22"} 
[2026-08-01 03:16:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096691456001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:16:34] 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-08-01 03:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785534252000,"timestamp_ms":1785534252000,"timestamp_seconds":1785534252,"priority":1,"record_length":96,"hex_timestamp":"0000019fba2283e0"} 
[2026-08-01 03:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:16: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-08-01 03: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 03:16:34] 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-08-01 03: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-08-01 03:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096691456001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096691456001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:16:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:16:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096691456001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":145810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:16:34] local.INFO: GPS data processed {"connection_id":145810,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:16:34] local.INFO: Acknowledgment sent {"connection_id":145810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:16:56] local.INFO: TCP Data received {"connection_id":146009,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:16:56] local.INFO: Processing buffer {"connection_id":146009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:16:56] local.INFO: IMEI packet received {"connection_id":146009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":146009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:17:02] local.INFO: TCP Data received {"connection_id":146009,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:17:02] local.INFO: Processing buffer {"connection_id":146009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:17:02] local.INFO: IMEI packet received {"connection_id":146009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":146009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:17:03] local.INFO: TCP Data received {"connection_id":146009,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba2283e0012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba2283e0012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:17:03] local.INFO: Processing buffer {"connection_id":146009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba2283e0012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:17:03] local.INFO: Packet analysis {"connection_id":146009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba22"} 
[2026-08-01 03:17:03] local.INFO: Extracted packet for processing {"connection_id":146009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba22"} 
[2026-08-01 03:17:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096691456001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:17: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-08-01 03:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785534252000,"timestamp_ms":1785534252000,"timestamp_seconds":1785534252,"priority":1,"record_length":96,"hex_timestamp":"0000019fba2283e0"} 
[2026-08-01 03:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03: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-08-01 03: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 03:17:03] 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-08-01 03: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-08-01 03:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096691456001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096691456001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:17:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:17:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096691456001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":146009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:17:03] local.INFO: GPS data processed {"connection_id":146009,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:17:03] local.INFO: Acknowledgment sent {"connection_id":146009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:17:34] local.INFO: TCP Data received {"connection_id":146009,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba2283e0012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba2283e0012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:17:34] local.INFO: Processing buffer {"connection_id":146009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba2283e0012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:17:34] local.INFO: Packet analysis {"connection_id":146009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba22"} 
[2026-08-01 03:17:34] local.INFO: Extracted packet for processing {"connection_id":146009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba22"} 
[2026-08-01 03:17:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096691456001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:17:34] 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-08-01 03:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785534252000,"timestamp_ms":1785534252000,"timestamp_seconds":1785534252,"priority":1,"record_length":96,"hex_timestamp":"0000019fba2283e0"} 
[2026-08-01 03:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:17: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-08-01 03: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 03:17:34] 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-08-01 03: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-08-01 03:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096691456001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096691456001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:17:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:17:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096691456001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":146009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:17:34] local.INFO: GPS data processed {"connection_id":146009,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:17:34] local.INFO: Acknowledgment sent {"connection_id":146009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:18:02] local.INFO: TCP Data received {"connection_id":148347,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:18:02] local.INFO: Processing buffer {"connection_id":148347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:18:02] local.INFO: IMEI packet received {"connection_id":148347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":148347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:18:07] local.INFO: TCP Data received {"connection_id":148347,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:18:07] local.INFO: Processing buffer {"connection_id":148347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:18:07] local.INFO: IMEI packet received {"connection_id":148347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":148347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:18:08] local.INFO: TCP Data received {"connection_id":148347,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba2283e0012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba2283e0012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:18:08] local.INFO: Processing buffer {"connection_id":148347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba2283e0012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:18:08] local.INFO: Packet analysis {"connection_id":148347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba22"} 
[2026-08-01 03:18:08] local.INFO: Extracted packet for processing {"connection_id":148347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba22"} 
[2026-08-01 03:18:08] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 03:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096691456001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:18: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-08-01 03:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785534252000,"timestamp_ms":1785534252000,"timestamp_seconds":1785534252,"priority":1,"record_length":96,"hex_timestamp":"0000019fba2283e0"} 
[2026-08-01 03:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:18: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-08-01 03:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 03:18:08] 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-08-01 03:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 03:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":148347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":148347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":148347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096691456001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096691456001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:18:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:18:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096691456001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":148347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:18:08] local.INFO: GPS data processed {"connection_id":148347,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:18:08] local.INFO: Acknowledgment sent {"connection_id":148347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:18:12] local.INFO: TCP Data received {"connection_id":148347,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba2283e0012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba2283e0012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:18:12] local.INFO: Processing buffer {"connection_id":148347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba2283e0012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:18:12] local.INFO: Packet analysis {"connection_id":148347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba22"} 
[2026-08-01 03:18:12] local.INFO: Extracted packet for processing {"connection_id":148347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba22"} 
[2026-08-01 03:18:12] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 03:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096691456001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:18:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:18:12] 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-08-01 03:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785534252000,"timestamp_ms":1785534252000,"timestamp_seconds":1785534252,"priority":1,"record_length":96,"hex_timestamp":"0000019fba2283e0"} 
[2026-08-01 03:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 03:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 03:18:12] 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-08-01 03:18:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 03:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":148347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":148347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":148347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096691456001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096691456001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:18:12] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:18:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:18:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096691456001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":148347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:18:12] local.INFO: GPS data processed {"connection_id":148347,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:18:12] local.INFO: Acknowledgment sent {"connection_id":148347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:18:57] local.INFO: TCP Data received {"connection_id":145811,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:18:57] local.INFO: Processing buffer {"connection_id":145811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:18:57] local.INFO: IMEI packet received {"connection_id":145811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":145811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:19:02] local.INFO: TCP Data received {"connection_id":145811,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:19:02] local.INFO: Processing buffer {"connection_id":145811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:19:02] local.INFO: IMEI packet received {"connection_id":145811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":145811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:19:03] local.INFO: TCP Data received {"connection_id":145811,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba2283e0012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba2283e0012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:19:03] local.INFO: Processing buffer {"connection_id":145811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba2283e0012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:19:03] local.INFO: Packet analysis {"connection_id":145811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba22"} 
[2026-08-01 03:19:03] local.INFO: Extracted packet for processing {"connection_id":145811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba22"} 
[2026-08-01 03:19:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096691456001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03: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-08-01 03:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785534252000,"timestamp_ms":1785534252000,"timestamp_seconds":1785534252,"priority":1,"record_length":96,"hex_timestamp":"0000019fba2283e0"} 
[2026-08-01 03:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03: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-08-01 03: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 03:19:03] 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-08-01 03: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-08-01 03:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096691456001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096691456001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:19:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:19:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096691456001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":145811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:19:03] local.INFO: GPS data processed {"connection_id":145811,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:19:03] local.INFO: Acknowledgment sent {"connection_id":145811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:19:34] local.INFO: TCP Data received {"connection_id":145811,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba2283e0012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba2283e0012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:19:34] local.INFO: Processing buffer {"connection_id":145811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba2283e0012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:19:34] local.INFO: Packet analysis {"connection_id":145811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba22"} 
[2026-08-01 03:19:34] local.INFO: Extracted packet for processing {"connection_id":145811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba22"} 
[2026-08-01 03:19:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096691456001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:19:34] 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-08-01 03:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785534252000,"timestamp_ms":1785534252000,"timestamp_seconds":1785534252,"priority":1,"record_length":96,"hex_timestamp":"0000019fba2283e0"} 
[2026-08-01 03:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:19: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-08-01 03: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 03:19:34] 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-08-01 03: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-08-01 03:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096691456001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096691456001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:19:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:19:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096691456001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":145811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:19:34] local.INFO: GPS data processed {"connection_id":145811,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:19:34] local.INFO: Acknowledgment sent {"connection_id":145811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:19:56] local.INFO: TCP Data received {"connection_id":147036,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:19:56] local.INFO: Processing buffer {"connection_id":147036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:19:56] local.INFO: IMEI packet received {"connection_id":147036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":147036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:20:02] local.INFO: TCP Data received {"connection_id":147036,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:20:02] local.INFO: Processing buffer {"connection_id":147036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:20:02] local.INFO: IMEI packet received {"connection_id":147036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":147036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:20:03] local.INFO: TCP Data received {"connection_id":147036,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba271ba8012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba271ba8012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:20:03] local.INFO: Processing buffer {"connection_id":147036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba271ba8012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:20:03] local.INFO: Packet analysis {"connection_id":147036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba27"} 
[2026-08-01 03:20:03] local.INFO: Extracted packet for processing {"connection_id":147036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba27"} 
[2026-08-01 03:20:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":43,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096768512001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:20: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-08-01 03:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785534553000,"timestamp_ms":1785534553000,"timestamp_seconds":1785534553,"priority":1,"record_length":96,"hex_timestamp":"0000019fba271ba8"} 
[2026-08-01 03:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03: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-08-01 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 03:20: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-08-01 03: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-08-01 03:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096768512001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096768512001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:20:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:20:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096768512001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":147036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:20:03] local.INFO: GPS data processed {"connection_id":147036,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:20:03] local.INFO: Acknowledgment sent {"connection_id":147036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:20:34] local.INFO: TCP Data received {"connection_id":147036,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba271ba8012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba271ba8012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:20:34] local.INFO: Processing buffer {"connection_id":147036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba271ba8012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:20:34] local.INFO: Packet analysis {"connection_id":147036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba27"} 
[2026-08-01 03:20:34] local.INFO: Extracted packet for processing {"connection_id":147036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba27"} 
[2026-08-01 03:20:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":43,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096768512001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:20:34] 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-08-01 03:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785534553000,"timestamp_ms":1785534553000,"timestamp_seconds":1785534553,"priority":1,"record_length":96,"hex_timestamp":"0000019fba271ba8"} 
[2026-08-01 03:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:20: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-08-01 03: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":151,"data_length":795,"current_offset":136} 
[2026-08-01 03:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 03: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-08-01 03:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096768512001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096768512001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:20:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:20:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096768512001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":147036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:20:34] local.INFO: GPS data processed {"connection_id":147036,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:20:34] local.INFO: Acknowledgment sent {"connection_id":147036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:20:56] local.INFO: TCP Data received {"connection_id":146010,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:20:56] local.INFO: Processing buffer {"connection_id":146010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:20:56] local.INFO: IMEI packet received {"connection_id":146010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":146010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:21:02] local.INFO: TCP Data received {"connection_id":146010,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:21:02] local.INFO: Processing buffer {"connection_id":146010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:21:02] local.INFO: IMEI packet received {"connection_id":146010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":146010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:21:03] local.INFO: TCP Data received {"connection_id":146010,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba271ba8012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba271ba8012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:21:03] local.INFO: Processing buffer {"connection_id":146010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba271ba8012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:21:03] local.INFO: Packet analysis {"connection_id":146010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba27"} 
[2026-08-01 03:21:03] local.INFO: Extracted packet for processing {"connection_id":146010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba27"} 
[2026-08-01 03:21:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":43,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096768512001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03: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-08-01 03:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785534553000,"timestamp_ms":1785534553000,"timestamp_seconds":1785534553,"priority":1,"record_length":96,"hex_timestamp":"0000019fba271ba8"} 
[2026-08-01 03:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03: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-08-01 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 03:21: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-08-01 03: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-08-01 03:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096768512001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096768512001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:21:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:21:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096768512001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":146010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:21:03] local.INFO: GPS data processed {"connection_id":146010,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:21:03] local.INFO: Acknowledgment sent {"connection_id":146010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:21:34] local.INFO: TCP Data received {"connection_id":146010,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba271ba8012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba271ba8012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:21:34] local.INFO: Processing buffer {"connection_id":146010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba271ba8012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:21:34] local.INFO: Packet analysis {"connection_id":146010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba27"} 
[2026-08-01 03:21:34] local.INFO: Extracted packet for processing {"connection_id":146010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba27"} 
[2026-08-01 03:21:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":43,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096768512001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:21:34] 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-08-01 03:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785534553000,"timestamp_ms":1785534553000,"timestamp_seconds":1785534553,"priority":1,"record_length":96,"hex_timestamp":"0000019fba271ba8"} 
[2026-08-01 03:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:21: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-08-01 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 03:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 03: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-08-01 03:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096768512001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096768512001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:21:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:21:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096768512001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":146010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:21:34] local.INFO: GPS data processed {"connection_id":146010,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:21:34] local.INFO: Acknowledgment sent {"connection_id":146010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:21:57] local.INFO: TCP Data received {"connection_id":146011,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:21:57] local.INFO: Processing buffer {"connection_id":146011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:21:57] local.INFO: IMEI packet received {"connection_id":146011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":146011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:22:02] local.INFO: TCP Data received {"connection_id":146011,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:22:02] local.INFO: Processing buffer {"connection_id":146011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:22:02] local.INFO: IMEI packet received {"connection_id":146011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":146011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:22:03] local.INFO: TCP Data received {"connection_id":146011,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba271ba8012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba271ba8012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:22:03] local.INFO: Processing buffer {"connection_id":146011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba271ba8012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:22:03] local.INFO: Packet analysis {"connection_id":146011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba27"} 
[2026-08-01 03:22:03] local.INFO: Extracted packet for processing {"connection_id":146011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba27"} 
[2026-08-01 03:22:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":43,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096768512001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03: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-08-01 03:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785534553000,"timestamp_ms":1785534553000,"timestamp_seconds":1785534553,"priority":1,"record_length":96,"hex_timestamp":"0000019fba271ba8"} 
[2026-08-01 03:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:22: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-08-01 03: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":151,"data_length":795,"current_offset":136} 
[2026-08-01 03:22: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-08-01 03: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-08-01 03:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096768512001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096768512001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:22:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:22:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096768512001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":146011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:22:03] local.INFO: GPS data processed {"connection_id":146011,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:22:03] local.INFO: Acknowledgment sent {"connection_id":146011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:22:34] local.INFO: TCP Data received {"connection_id":146011,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba271ba8012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba271ba8012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:22:34] local.INFO: Processing buffer {"connection_id":146011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba271ba8012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:22:34] local.INFO: Packet analysis {"connection_id":146011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba27"} 
[2026-08-01 03:22:34] local.INFO: Extracted packet for processing {"connection_id":146011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba27"} 
[2026-08-01 03:22:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":43,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096768512001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:22:34] 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-08-01 03:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785534553000,"timestamp_ms":1785534553000,"timestamp_seconds":1785534553,"priority":1,"record_length":96,"hex_timestamp":"0000019fba271ba8"} 
[2026-08-01 03:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03: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-08-01 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 03:22:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 03: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-08-01 03:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096768512001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096768512001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:22:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:22:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096768512001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":146011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:22:34] local.INFO: GPS data processed {"connection_id":146011,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:22:34] local.INFO: Acknowledgment sent {"connection_id":146011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:22:56] local.INFO: TCP Data received {"connection_id":147037,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:22:56] local.INFO: Processing buffer {"connection_id":147037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:22:56] local.INFO: IMEI packet received {"connection_id":147037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":147037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:23:02] local.INFO: TCP Data received {"connection_id":147037,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:23:02] local.INFO: Processing buffer {"connection_id":147037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:23:02] local.INFO: IMEI packet received {"connection_id":147037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":147037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:23:03] local.INFO: TCP Data received {"connection_id":147037,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba271ba8012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba271ba8012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:23:03] local.INFO: Processing buffer {"connection_id":147037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba271ba8012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:23:03] local.INFO: Packet analysis {"connection_id":147037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba27"} 
[2026-08-01 03:23:03] local.INFO: Extracted packet for processing {"connection_id":147037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba27"} 
[2026-08-01 03:23:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":43,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096768512001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:23: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-08-01 03:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785534553000,"timestamp_ms":1785534553000,"timestamp_seconds":1785534553,"priority":1,"record_length":96,"hex_timestamp":"0000019fba271ba8"} 
[2026-08-01 03:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03: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-08-01 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 03:23: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-08-01 03: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-08-01 03:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096768512001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096768512001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:23:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:23:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096768512001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":147037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:23:03] local.INFO: GPS data processed {"connection_id":147037,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:23:03] local.INFO: Acknowledgment sent {"connection_id":147037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:23:34] local.INFO: TCP Data received {"connection_id":147037,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba271ba8012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba271ba8012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:23:34] local.INFO: Processing buffer {"connection_id":147037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba271ba8012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:23:34] local.INFO: Packet analysis {"connection_id":147037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba27"} 
[2026-08-01 03:23:34] local.INFO: Extracted packet for processing {"connection_id":147037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba27"} 
[2026-08-01 03:23:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":43,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 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-08-01 03:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096768512001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:23:34] 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-08-01 03:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785534553000,"timestamp_ms":1785534553000,"timestamp_seconds":1785534553,"priority":1,"record_length":96,"hex_timestamp":"0000019fba271ba8"} 
[2026-08-01 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-08-01 03:23: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-08-01 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 03:23:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 03:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096768512001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096768512001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:23:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:23:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096768512001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":147037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:23:34] local.INFO: GPS data processed {"connection_id":147037,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:23:34] local.INFO: Acknowledgment sent {"connection_id":147037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:23:56] local.INFO: TCP Data received {"connection_id":146012,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:23:56] local.INFO: Processing buffer {"connection_id":146012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:23:56] local.INFO: IMEI packet received {"connection_id":146012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":146012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:24:02] local.INFO: TCP Data received {"connection_id":146012,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:24:02] local.INFO: Processing buffer {"connection_id":146012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:24:02] local.INFO: IMEI packet received {"connection_id":146012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":146012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:24:03] local.INFO: TCP Data received {"connection_id":146012,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba271ba8012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba271ba8012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:24:03] local.INFO: Processing buffer {"connection_id":146012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba271ba8012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:24:03] local.INFO: Packet analysis {"connection_id":146012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba27"} 
[2026-08-01 03:24:03] local.INFO: Extracted packet for processing {"connection_id":146012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba27"} 
[2026-08-01 03:24:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":43,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096768512001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:24: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-08-01 03:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785534553000,"timestamp_ms":1785534553000,"timestamp_seconds":1785534553,"priority":1,"record_length":96,"hex_timestamp":"0000019fba271ba8"} 
[2026-08-01 03:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03: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-08-01 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 03:24: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-08-01 03: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-08-01 03:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096768512001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096768512001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:24:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:24:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096768512001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":146012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:24:03] local.INFO: GPS data processed {"connection_id":146012,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:24:03] local.INFO: Acknowledgment sent {"connection_id":146012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:24:34] local.INFO: TCP Data received {"connection_id":146012,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba271ba8012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba271ba8012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:24:34] local.INFO: Processing buffer {"connection_id":146012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba271ba8012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:24:34] local.INFO: Packet analysis {"connection_id":146012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba27"} 
[2026-08-01 03:24:34] local.INFO: Extracted packet for processing {"connection_id":146012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba27"} 
[2026-08-01 03:24:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":43,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096768512001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:24:34] 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-08-01 03:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785534553000,"timestamp_ms":1785534553000,"timestamp_seconds":1785534553,"priority":1,"record_length":96,"hex_timestamp":"0000019fba271ba8"} 
[2026-08-01 03:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:24: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-08-01 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 03:24:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 03: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-08-01 03:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096768512001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096768512001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:24:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:24:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096768512001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":146012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:24:34] local.INFO: GPS data processed {"connection_id":146012,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:24:34] local.INFO: Acknowledgment sent {"connection_id":146012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:25:01] local.INFO: TCP Data received {"connection_id":146013,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:25:01] local.INFO: Processing buffer {"connection_id":146013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:25:01] local.INFO: IMEI packet received {"connection_id":146013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":146013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:25:07] local.INFO: TCP Data received {"connection_id":146013,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:25:07] local.INFO: Processing buffer {"connection_id":146013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:25:07] local.INFO: IMEI packet received {"connection_id":146013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":146013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:25:08] local.INFO: TCP Data received {"connection_id":146013,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba2bb370012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba2bb370012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:25:08] local.INFO: Processing buffer {"connection_id":146013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba2bb370012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:25:08] local.INFO: Packet analysis {"connection_id":146013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba2b"} 
[2026-08-01 03:25:08] local.INFO: Extracted packet for processing {"connection_id":146013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba2b"} 
[2026-08-01 03:25:08] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 03:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096845568001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:25: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-08-01 03:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785534854000,"timestamp_ms":1785534854000,"timestamp_seconds":1785534854,"priority":1,"record_length":96,"hex_timestamp":"0000019fba2bb370"} 
[2026-08-01 03:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 03:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 03:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 03:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 03:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":146013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":146013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":146013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096845568001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096845568001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:25:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:25:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096845568001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":146013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:25:08] local.INFO: GPS data processed {"connection_id":146013,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:25:08] local.INFO: Acknowledgment sent {"connection_id":146013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:25:12] local.INFO: TCP Data received {"connection_id":146013,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba2bb370012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba2bb370012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:25:12] local.INFO: Processing buffer {"connection_id":146013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba2bb370012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:25:12] local.INFO: Packet analysis {"connection_id":146013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba2b"} 
[2026-08-01 03:25:12] local.INFO: Extracted packet for processing {"connection_id":146013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba2b"} 
[2026-08-01 03:25:12] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 03:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096845568001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:25:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:25:12] 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-08-01 03:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785534854000,"timestamp_ms":1785534854000,"timestamp_seconds":1785534854,"priority":1,"record_length":96,"hex_timestamp":"0000019fba2bb370"} 
[2026-08-01 03:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 03:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 03:25:12] 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-08-01 03:25:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 03:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":146013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":146013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":146013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096845568001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096845568001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:25:12] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:25:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:25:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096845568001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":146013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:25:12] local.INFO: GPS data processed {"connection_id":146013,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:25:12] local.INFO: Acknowledgment sent {"connection_id":146013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:25:56] local.INFO: TCP Data received {"connection_id":148348,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:25:56] local.INFO: Processing buffer {"connection_id":148348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:25:56] local.INFO: IMEI packet received {"connection_id":148348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":148348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:26:02] local.INFO: TCP Data received {"connection_id":148348,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:26:02] local.INFO: Processing buffer {"connection_id":148348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:26:02] local.INFO: IMEI packet received {"connection_id":148348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":148348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:26:03] local.INFO: TCP Data received {"connection_id":148348,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba2bb370012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba2bb370012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:26:03] local.INFO: Processing buffer {"connection_id":148348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba2bb370012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:26:03] local.INFO: Packet analysis {"connection_id":148348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba2b"} 
[2026-08-01 03:26:03] local.INFO: Extracted packet for processing {"connection_id":148348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba2b"} 
[2026-08-01 03:26:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 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-08-01 03:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096845568001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:26: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-08-01 03:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785534854000,"timestamp_ms":1785534854000,"timestamp_seconds":1785534854,"priority":1,"record_length":96,"hex_timestamp":"0000019fba2bb370"} 
[2026-08-01 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-08-01 03:26: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-08-01 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 03:26: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-08-01 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-08-01 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-08-01 03:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096845568001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096845568001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:26:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:26:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096845568001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":148348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:26:03] local.INFO: GPS data processed {"connection_id":148348,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:26:03] local.INFO: Acknowledgment sent {"connection_id":148348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:26:34] local.INFO: TCP Data received {"connection_id":148348,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba2bb370012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba2bb370012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:26:34] local.INFO: Processing buffer {"connection_id":148348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba2bb370012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:26:34] local.INFO: Packet analysis {"connection_id":148348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba2b"} 
[2026-08-01 03:26:34] local.INFO: Extracted packet for processing {"connection_id":148348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba2b"} 
[2026-08-01 03:26:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096845568001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:26:34] 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-08-01 03:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785534854000,"timestamp_ms":1785534854000,"timestamp_seconds":1785534854,"priority":1,"record_length":96,"hex_timestamp":"0000019fba2bb370"} 
[2026-08-01 03:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:26: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-08-01 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 03:26:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 03: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-08-01 03:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:26:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096845568001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096845568001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:26:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:26:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096845568001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":148348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:26:34] local.INFO: GPS data processed {"connection_id":148348,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:26:34] local.INFO: Acknowledgment sent {"connection_id":148348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:26:56] local.INFO: TCP Data received {"connection_id":145812,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:26:56] local.INFO: Processing buffer {"connection_id":145812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:26:56] local.INFO: IMEI packet received {"connection_id":145812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":145812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:27:02] local.INFO: TCP Data received {"connection_id":145812,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:27:02] local.INFO: Processing buffer {"connection_id":145812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:27:02] local.INFO: IMEI packet received {"connection_id":145812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":145812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:27:03] local.INFO: TCP Data received {"connection_id":145812,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba2bb370012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba2bb370012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:27:03] local.INFO: Processing buffer {"connection_id":145812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba2bb370012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:27:03] local.INFO: Packet analysis {"connection_id":145812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba2b"} 
[2026-08-01 03:27:03] local.INFO: Extracted packet for processing {"connection_id":145812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba2b"} 
[2026-08-01 03:27:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096845568001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03: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-08-01 03:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785534854000,"timestamp_ms":1785534854000,"timestamp_seconds":1785534854,"priority":1,"record_length":96,"hex_timestamp":"0000019fba2bb370"} 
[2026-08-01 03:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03: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-08-01 03: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":151,"data_length":795,"current_offset":136} 
[2026-08-01 03:27: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-08-01 03: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-08-01 03:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096845568001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096845568001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:27:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:27:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096845568001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":145812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:27:03] local.INFO: GPS data processed {"connection_id":145812,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:27:03] local.INFO: Acknowledgment sent {"connection_id":145812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:27:34] local.INFO: TCP Data received {"connection_id":145812,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba2bb370012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba2bb370012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:27:34] local.INFO: Processing buffer {"connection_id":145812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba2bb370012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:27:34] local.INFO: Packet analysis {"connection_id":145812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba2b"} 
[2026-08-01 03:27:34] local.INFO: Extracted packet for processing {"connection_id":145812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba2b"} 
[2026-08-01 03:27:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096845568001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:27:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:27:34] 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-08-01 03:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785534854000,"timestamp_ms":1785534854000,"timestamp_seconds":1785534854,"priority":1,"record_length":96,"hex_timestamp":"0000019fba2bb370"} 
[2026-08-01 03:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:27: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-08-01 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 03:27:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 03: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-08-01 03:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:27:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096845568001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096845568001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:27:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:27:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:27:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096845568001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":145812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:27:34] local.INFO: GPS data processed {"connection_id":145812,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:27:34] local.INFO: Acknowledgment sent {"connection_id":145812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:28:02] local.INFO: TCP Data received {"connection_id":146014,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:28:02] local.INFO: Processing buffer {"connection_id":146014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:28:02] local.INFO: IMEI packet received {"connection_id":146014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":146014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:28:06] local.INFO: TCP Data received {"connection_id":146014,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:28:06] local.INFO: Processing buffer {"connection_id":146014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:28:06] local.INFO: IMEI packet received {"connection_id":146014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":146014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:28:07] local.INFO: TCP Data received {"connection_id":146014,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba2bb370012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba2bb370012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:28:07] local.INFO: Processing buffer {"connection_id":146014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba2bb370012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:28:07] local.INFO: Packet analysis {"connection_id":146014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba2b"} 
[2026-08-01 03:28:07] local.INFO: Extracted packet for processing {"connection_id":146014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba2b"} 
[2026-08-01 03:28:07] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 03:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096845568001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:28: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-08-01 03:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785534854000,"timestamp_ms":1785534854000,"timestamp_seconds":1785534854,"priority":1,"record_length":96,"hex_timestamp":"0000019fba2bb370"} 
[2026-08-01 03:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:28: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-08-01 03:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 03:28: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-08-01 03:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 03:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096845568001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096845568001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:28:07] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:28:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096845568001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":146014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:28:07] local.INFO: GPS data processed {"connection_id":146014,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:28:07] local.INFO: Acknowledgment sent {"connection_id":146014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:28:12] local.INFO: TCP Data received {"connection_id":146014,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba2bb370012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba2bb370012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:28:12] local.INFO: Processing buffer {"connection_id":146014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba2bb370012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:28:12] local.INFO: Packet analysis {"connection_id":146014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba2b"} 
[2026-08-01 03:28:12] local.INFO: Extracted packet for processing {"connection_id":146014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba2b"} 
[2026-08-01 03:28:12] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 03:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096845568001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:28:12] 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-08-01 03:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785534854000,"timestamp_ms":1785534854000,"timestamp_seconds":1785534854,"priority":1,"record_length":96,"hex_timestamp":"0000019fba2bb370"} 
[2026-08-01 03:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 03:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 03:28:12] 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-08-01 03:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 03:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":146014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":146014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":146014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096845568001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096845568001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:28:12] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:28:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096845568001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":146014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:28:12] local.INFO: GPS data processed {"connection_id":146014,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:28:12] local.INFO: Acknowledgment sent {"connection_id":146014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:28:57] local.INFO: TCP Data received {"connection_id":146015,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:28:57] local.INFO: Processing buffer {"connection_id":146015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:28:57] local.INFO: IMEI packet received {"connection_id":146015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":146015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:29:02] local.INFO: TCP Data received {"connection_id":146015,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:29:02] local.INFO: Processing buffer {"connection_id":146015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:29:02] local.INFO: IMEI packet received {"connection_id":146015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":146015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:29:03] local.INFO: TCP Data received {"connection_id":146015,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba2bb370012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba2bb370012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:29:03] local.INFO: Processing buffer {"connection_id":146015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba2bb370012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:29:03] local.INFO: Packet analysis {"connection_id":146015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba2b"} 
[2026-08-01 03:29:03] local.INFO: Extracted packet for processing {"connection_id":146015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba2b"} 
[2026-08-01 03:29:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096845568001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:29: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-08-01 03:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785534854000,"timestamp_ms":1785534854000,"timestamp_seconds":1785534854,"priority":1,"record_length":96,"hex_timestamp":"0000019fba2bb370"} 
[2026-08-01 03:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03: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-08-01 03:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 03:29: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-08-01 03: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-08-01 03:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096845568001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096845568001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:29:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:29:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096845568001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":146015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:29:03] local.INFO: GPS data processed {"connection_id":146015,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:29:03] local.INFO: Acknowledgment sent {"connection_id":146015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:29:34] local.INFO: TCP Data received {"connection_id":146015,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba2bb370012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba2bb370012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:29:34] local.INFO: Processing buffer {"connection_id":146015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba2bb370012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:29:34] local.INFO: Packet analysis {"connection_id":146015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba2b"} 
[2026-08-01 03:29:34] local.INFO: Extracted packet for processing {"connection_id":146015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba2b"} 
[2026-08-01 03:29:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096845568001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:29:34] 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-08-01 03:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785534854000,"timestamp_ms":1785534854000,"timestamp_seconds":1785534854,"priority":1,"record_length":96,"hex_timestamp":"0000019fba2bb370"} 
[2026-08-01 03:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:29: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-08-01 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 03:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 03: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-08-01 03:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096845568001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096845568001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:29:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:29:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096845568001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":146015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:29:34] local.INFO: GPS data processed {"connection_id":146015,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:29:34] local.INFO: Acknowledgment sent {"connection_id":146015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:29:57] local.INFO: TCP Data received {"connection_id":148349,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:29:57] local.INFO: Processing buffer {"connection_id":148349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:29:57] local.INFO: IMEI packet received {"connection_id":148349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":148349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:30:02] local.INFO: TCP Data received {"connection_id":148349,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:30:02] local.INFO: Processing buffer {"connection_id":148349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:30:02] local.INFO: IMEI packet received {"connection_id":148349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":148349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:30:03] local.INFO: TCP Data received {"connection_id":148349,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba304b38012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba304b38012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:30:03] local.INFO: Processing buffer {"connection_id":148349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba304b38012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:30:03] local.INFO: Packet analysis {"connection_id":148349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba30"} 
[2026-08-01 03:30:03] local.INFO: Extracted packet for processing {"connection_id":148349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba30"} 
[2026-08-01 03:30:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096922624001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03: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-08-01 03:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785535155000,"timestamp_ms":1785535155000,"timestamp_seconds":1785535155,"priority":1,"record_length":96,"hex_timestamp":"0000019fba304b38"} 
[2026-08-01 03:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:30: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-08-01 03: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":151,"data_length":795,"current_offset":136} 
[2026-08-01 03:30: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-08-01 03: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-08-01 03:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096922624001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096922624001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:30:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:30:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096922624001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":148349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:30:03] local.INFO: GPS data processed {"connection_id":148349,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:30:03] local.INFO: Acknowledgment sent {"connection_id":148349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:30:36] local.INFO: TCP Data received {"connection_id":148349,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba304b38012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba304b38012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:30:36] local.INFO: Processing buffer {"connection_id":148349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba304b38012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:30:36] local.INFO: Packet analysis {"connection_id":148349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba30"} 
[2026-08-01 03:30:36] local.INFO: Extracted packet for processing {"connection_id":148349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba30"} 
[2026-08-01 03:30:36] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096922624001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:30: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-08-01 03:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785535155000,"timestamp_ms":1785535155000,"timestamp_seconds":1785535155,"priority":1,"record_length":96,"hex_timestamp":"0000019fba304b38"} 
[2026-08-01 03:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03: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-08-01 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 03:30: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-08-01 03: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-08-01 03:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096922624001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096922624001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:30:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:30:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096922624001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":148349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:30:36] local.INFO: GPS data processed {"connection_id":148349,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:30:36] local.INFO: Acknowledgment sent {"connection_id":148349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:31:02] local.INFO: TCP Data received {"connection_id":148350,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:31:02] local.INFO: Processing buffer {"connection_id":148350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:31:02] local.INFO: IMEI packet received {"connection_id":148350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":148350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:31:07] local.INFO: TCP Data received {"connection_id":148350,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:31:07] local.INFO: Processing buffer {"connection_id":148350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:31:07] local.INFO: IMEI packet received {"connection_id":148350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":148350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:31:08] local.INFO: TCP Data received {"connection_id":148350,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba304b38012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba304b38012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:31:08] local.INFO: Processing buffer {"connection_id":148350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba304b38012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:31:08] local.INFO: Packet analysis {"connection_id":148350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba30"} 
[2026-08-01 03:31:08] local.INFO: Extracted packet for processing {"connection_id":148350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba30"} 
[2026-08-01 03:31:08] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096922624001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 03:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785535155000,"timestamp_ms":1785535155000,"timestamp_seconds":1785535155,"priority":1,"record_length":96,"hex_timestamp":"0000019fba304b38"} 
[2026-08-01 03:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 03:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 03: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-08-01 03:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":148350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":148350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":148350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096922624001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096922624001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:31:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:31:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096922624001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":148350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:31:08] local.INFO: GPS data processed {"connection_id":148350,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:31:08] local.INFO: Acknowledgment sent {"connection_id":148350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:31:12] local.INFO: TCP Data received {"connection_id":148350,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba304b38012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba304b38012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:31:12] local.INFO: Processing buffer {"connection_id":148350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba304b38012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:31:12] local.INFO: Packet analysis {"connection_id":148350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba30"} 
[2026-08-01 03:31:12] local.INFO: Extracted packet for processing {"connection_id":148350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba30"} 
[2026-08-01 03:31:12] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 03:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096922624001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:31:12] 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-08-01 03:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785535155000,"timestamp_ms":1785535155000,"timestamp_seconds":1785535155,"priority":1,"record_length":96,"hex_timestamp":"0000019fba304b38"} 
[2026-08-01 03:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:31:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 03:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 03:31:12] 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-08-01 03:31:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 03:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":148350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":148350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":148350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096922624001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096922624001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:31:12] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:31:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096922624001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":148350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:31:12] local.INFO: GPS data processed {"connection_id":148350,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:31:12] local.INFO: Acknowledgment sent {"connection_id":148350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:31:57] local.INFO: TCP Data received {"connection_id":147038,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:31:57] local.INFO: Processing buffer {"connection_id":147038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:31:57] local.INFO: IMEI packet received {"connection_id":147038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":147038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:32:02] local.INFO: TCP Data received {"connection_id":147038,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:32:02] local.INFO: Processing buffer {"connection_id":147038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:32:02] local.INFO: IMEI packet received {"connection_id":147038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":147038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:32:03] local.INFO: TCP Data received {"connection_id":147038,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba304b38012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba304b38012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:32:03] local.INFO: Processing buffer {"connection_id":147038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba304b38012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:32:03] local.INFO: Packet analysis {"connection_id":147038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba30"} 
[2026-08-01 03:32:03] local.INFO: Extracted packet for processing {"connection_id":147038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba30"} 
[2026-08-01 03:32:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096922624001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:32: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-08-01 03:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785535155000,"timestamp_ms":1785535155000,"timestamp_seconds":1785535155,"priority":1,"record_length":96,"hex_timestamp":"0000019fba304b38"} 
[2026-08-01 03:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:32: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-08-01 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 03:32: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-08-01 03: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-08-01 03:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096922624001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096922624001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:32:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:32:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096922624001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":147038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:32:03] local.INFO: GPS data processed {"connection_id":147038,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:32:03] local.INFO: Acknowledgment sent {"connection_id":147038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:32:34] local.INFO: TCP Data received {"connection_id":147038,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba304b38012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba304b38012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:32:34] local.INFO: Processing buffer {"connection_id":147038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba304b38012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:32:34] local.INFO: Packet analysis {"connection_id":147038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba30"} 
[2026-08-01 03:32:34] local.INFO: Extracted packet for processing {"connection_id":147038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba30"} 
[2026-08-01 03:32:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096922624001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:32:34] 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-08-01 03:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785535155000,"timestamp_ms":1785535155000,"timestamp_seconds":1785535155,"priority":1,"record_length":96,"hex_timestamp":"0000019fba304b38"} 
[2026-08-01 03:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:32: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-08-01 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 03:32:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 03: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-08-01 03:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096922624001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096922624001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:32:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:32:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096922624001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":147038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:32:34] local.INFO: GPS data processed {"connection_id":147038,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:32:34] local.INFO: Acknowledgment sent {"connection_id":147038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:32:56] local.INFO: TCP Data received {"connection_id":145813,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:32:56] local.INFO: Processing buffer {"connection_id":145813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:32:56] local.INFO: IMEI packet received {"connection_id":145813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":145813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:33:02] local.INFO: TCP Data received {"connection_id":145813,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:33:02] local.INFO: Processing buffer {"connection_id":145813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:33:02] local.INFO: IMEI packet received {"connection_id":145813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":145813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:33:03] local.INFO: TCP Data received {"connection_id":145813,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba304b38012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba304b38012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:33:03] local.INFO: Processing buffer {"connection_id":145813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba304b38012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:33:03] local.INFO: Packet analysis {"connection_id":145813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba30"} 
[2026-08-01 03:33:03] local.INFO: Extracted packet for processing {"connection_id":145813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba30"} 
[2026-08-01 03:33:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096922624001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03: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-08-01 03:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785535155000,"timestamp_ms":1785535155000,"timestamp_seconds":1785535155,"priority":1,"record_length":96,"hex_timestamp":"0000019fba304b38"} 
[2026-08-01 03:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:33: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-08-01 03:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 03:33: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-08-01 03: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-08-01 03:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096922624001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096922624001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:33:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:33:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096922624001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":145813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:33:03] local.INFO: GPS data processed {"connection_id":145813,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:33:03] local.INFO: Acknowledgment sent {"connection_id":145813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:33:34] local.INFO: TCP Data received {"connection_id":145813,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba304b38012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba304b38012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:33:34] local.INFO: Processing buffer {"connection_id":145813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba304b38012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:33:34] local.INFO: Packet analysis {"connection_id":145813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba30"} 
[2026-08-01 03:33:34] local.INFO: Extracted packet for processing {"connection_id":145813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba30"} 
[2026-08-01 03:33:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096922624001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:33:34] 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-08-01 03:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785535155000,"timestamp_ms":1785535155000,"timestamp_seconds":1785535155,"priority":1,"record_length":96,"hex_timestamp":"0000019fba304b38"} 
[2026-08-01 03:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:33: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-08-01 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 03:33:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 03: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-08-01 03:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096922624001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096922624001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:33:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:33:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096922624001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":145813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:33:34] local.INFO: GPS data processed {"connection_id":145813,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:33:34] local.INFO: Acknowledgment sent {"connection_id":145813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:33:56] local.INFO: TCP Data received {"connection_id":146016,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:33:56] local.INFO: Processing buffer {"connection_id":146016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:33:56] local.INFO: IMEI packet received {"connection_id":146016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":146016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:34:04] local.INFO: TCP Data received {"connection_id":146016,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:34:04] local.INFO: Processing buffer {"connection_id":146016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:34:04] local.INFO: IMEI packet received {"connection_id":146016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":146016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:34:11] local.INFO: TCP Data received {"connection_id":146016,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba304b38012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba304b38012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:34:11] local.INFO: Processing buffer {"connection_id":146016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba304b38012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:34:11] local.INFO: Packet analysis {"connection_id":146016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba30"} 
[2026-08-01 03:34:11] local.INFO: Extracted packet for processing {"connection_id":146016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba30"} 
[2026-08-01 03:34:11] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 03:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096922624001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:34:11] 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-08-01 03:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785535155000,"timestamp_ms":1785535155000,"timestamp_seconds":1785535155,"priority":1,"record_length":96,"hex_timestamp":"0000019fba304b38"} 
[2026-08-01 03:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:34:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 03:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 03:34:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 03:34:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 03:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096922624001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096922624001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:34:11] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:34:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096922624001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":146016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:34:11] local.INFO: GPS data processed {"connection_id":146016,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:34:11] local.INFO: Acknowledgment sent {"connection_id":146016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:34:42] local.INFO: TCP Data received {"connection_id":146016,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba304b38012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba304b38012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:34:42] local.INFO: Processing buffer {"connection_id":146016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba304b38012d77a14005f2a670001100fa2a..."} 
[2026-08-01 03:34:42] local.INFO: Packet analysis {"connection_id":146016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba30"} 
[2026-08-01 03:34:42] local.INFO: Extracted packet for processing {"connection_id":146016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba30"} 
[2026-08-01 03:34:42] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 03:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096922624001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:34:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:34: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-08-01 03:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785535155000,"timestamp_ms":1785535155000,"timestamp_seconds":1785535155,"priority":1,"record_length":96,"hex_timestamp":"0000019fba304b38"} 
[2026-08-01 03:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:34:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 03:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 03:34:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 03:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 03:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":146016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":146016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":146016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096922624001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096922624001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:34:42] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:34:42] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:34:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096922624001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":146016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:34:42] local.INFO: GPS data processed {"connection_id":146016,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:34:42] local.INFO: Acknowledgment sent {"connection_id":146016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:34:56] local.INFO: TCP Data received {"connection_id":148351,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:34:56] local.INFO: Processing buffer {"connection_id":148351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:34:56] local.INFO: IMEI packet received {"connection_id":148351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":148351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:35:02] local.INFO: TCP Data received {"connection_id":148351,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:35:02] local.INFO: Processing buffer {"connection_id":148351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:35:02] local.INFO: IMEI packet received {"connection_id":148351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":148351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:35:03] local.INFO: TCP Data received {"connection_id":148351,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba34e300012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba34e300012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:35:03] local.INFO: Processing buffer {"connection_id":148351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba34e300012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:35:03] local.INFO: Packet analysis {"connection_id":148351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba34"} 
[2026-08-01 03:35:03] local.INFO: Extracted packet for processing {"connection_id":148351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba34"} 
[2026-08-01 03:35:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":43,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096999680001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:35: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-08-01 03:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785535456000,"timestamp_ms":1785535456000,"timestamp_seconds":1785535456,"priority":1,"record_length":96,"hex_timestamp":"0000019fba34e300"} 
[2026-08-01 03:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03: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-08-01 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 03:35: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-08-01 03: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-08-01 03:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096999680001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096999680001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:35:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:35:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096999680001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":148351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:35:03] local.INFO: GPS data processed {"connection_id":148351,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:35:03] local.INFO: Acknowledgment sent {"connection_id":148351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:35:35] local.INFO: TCP Data received {"connection_id":148351,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba34e300012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba34e300012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:35:35] local.INFO: Processing buffer {"connection_id":148351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba34e300012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:35:35] local.INFO: Packet analysis {"connection_id":148351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba34"} 
[2026-08-01 03:35:35] local.INFO: Extracted packet for processing {"connection_id":148351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba34"} 
[2026-08-01 03:35:35] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":43,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096999680001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:35: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-08-01 03:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785535456000,"timestamp_ms":1785535456000,"timestamp_seconds":1785535456,"priority":1,"record_length":96,"hex_timestamp":"0000019fba34e300"} 
[2026-08-01 03:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 03:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 03:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 03: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-08-01 03:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096999680001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096999680001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:35:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:35:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096999680001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":148351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:35:35] local.INFO: GPS data processed {"connection_id":148351,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:35:35] local.INFO: Acknowledgment sent {"connection_id":148351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:35:58] local.INFO: TCP Data received {"connection_id":145814,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:35:58] local.INFO: Processing buffer {"connection_id":145814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:35:58] local.INFO: IMEI packet received {"connection_id":145814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":145814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:36:01] local.INFO: TCP Data received {"connection_id":147039,"ip":"168.144.120.7","data_length":128,"data_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-08-01 03:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147039,"packet_length":128,"packet_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-08-01 03:36:01] local.INFO: Processing buffer {"connection_id":147039,"buffer_length":128,"buffer_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-08-01 03:36:01] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":147039,"buffer_length":128,"first_bytes_hex":"474554202f20485454502f312e310d0a"} 
[2026-08-01 03:36:02] local.INFO: TCP Data received {"connection_id":145814,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:36:02] local.INFO: Processing buffer {"connection_id":145814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:36:02] local.INFO: IMEI packet received {"connection_id":145814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":145814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:36:03] local.INFO: TCP Data received {"connection_id":145814,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba34e300012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba34e300012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:36:03] local.INFO: Processing buffer {"connection_id":145814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba34e300012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:36:03] local.INFO: Packet analysis {"connection_id":145814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba34"} 
[2026-08-01 03:36:03] local.INFO: Extracted packet for processing {"connection_id":145814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba34"} 
[2026-08-01 03:36:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":43,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096999680001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03: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-08-01 03:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785535456000,"timestamp_ms":1785535456000,"timestamp_seconds":1785535456,"priority":1,"record_length":96,"hex_timestamp":"0000019fba34e300"} 
[2026-08-01 03:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03: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-08-01 03: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-08-01 03: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-08-01 03: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-08-01 03:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096999680001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096999680001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:36:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:36:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096999680001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":145814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:36:03] local.INFO: GPS data processed {"connection_id":145814,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:36:03] local.INFO: Acknowledgment sent {"connection_id":145814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:36:16] local.INFO: TCP Data received {"connection_id":148352,"ip":"45.148.10.204","data_length":247,"data_hex":"474554202f6170702f2e656e7620485454502f312e310d0a486f73743a203337..."} 
[2026-08-01 03:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148352,"packet_length":247,"packet_hex":"474554202f6170702f2e656e7620485454502f312e310d0a486f73743a203337..."} 
[2026-08-01 03:36:16] local.INFO: Processing buffer {"connection_id":148352,"buffer_length":247,"buffer_hex":"474554202f6170702f2e656e7620485454502f312e310d0a486f73743a203337..."} 
[2026-08-01 03:36:16] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":148352,"buffer_length":247,"first_bytes_hex":"474554202f6170702f2e656e76204854"} 
[2026-08-01 03:36:16] local.INFO: TCP Data received {"connection_id":148353,"ip":"45.148.10.204","data_length":1511,"data_hex":"16030105e2010005de03033fe46647509c52c44f8e66382088c5f2dce881e64c..."} 
[2026-08-01 03:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148353,"packet_length":1511,"packet_hex":"16030105e2010005de03033fe46647509c52c44f8e66382088c5f2dce881e64c..."} 
[2026-08-01 03:36:16] local.INFO: Processing buffer {"connection_id":148353,"buffer_length":1511,"buffer_hex":"16030105e2010005de03033fe46647509c52c44f8e66382088c5f2dce881e64c..."} 
[2026-08-01 03:36:16] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":148353,"buffer_length":1511,"first_bytes_hex":"16030105e2010005de03033fe4664750"} 
[2026-08-01 03:36:35] local.INFO: TCP Data received {"connection_id":145814,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba34e300012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba34e300012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:36:35] local.INFO: Processing buffer {"connection_id":145814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba34e300012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:36:35] local.INFO: Packet analysis {"connection_id":145814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba34"} 
[2026-08-01 03:36:35] local.INFO: Extracted packet for processing {"connection_id":145814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba34"} 
[2026-08-01 03:36:35] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":43,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 03:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096999680001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:36: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-08-01 03:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785535456000,"timestamp_ms":1785535456000,"timestamp_seconds":1785535456,"priority":1,"record_length":96,"hex_timestamp":"0000019fba34e300"} 
[2026-08-01 03:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 03:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 03:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 03:36:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 03:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":145814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":145814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":145814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096999680001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096999680001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:36:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:36:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096999680001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":145814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:36:35] local.INFO: GPS data processed {"connection_id":145814,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:36:35] local.INFO: Acknowledgment sent {"connection_id":145814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:36:56] local.INFO: TCP Data received {"connection_id":146017,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:36:56] local.INFO: Processing buffer {"connection_id":146017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:36:56] local.INFO: IMEI packet received {"connection_id":146017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":146017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:37:02] local.INFO: TCP Data received {"connection_id":146017,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:37:02] local.INFO: Processing buffer {"connection_id":146017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:37:02] local.INFO: IMEI packet received {"connection_id":146017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":146017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:37:03] local.INFO: TCP Data received {"connection_id":146017,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba34e300012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba34e300012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:37:03] local.INFO: Processing buffer {"connection_id":146017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba34e300012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:37:03] local.INFO: Packet analysis {"connection_id":146017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba34"} 
[2026-08-01 03:37:03] local.INFO: Extracted packet for processing {"connection_id":146017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba34"} 
[2026-08-01 03:37:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":43,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 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-08-01 03:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096999680001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03: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-08-01 03:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785535456000,"timestamp_ms":1785535456000,"timestamp_seconds":1785535456,"priority":1,"record_length":96,"hex_timestamp":"0000019fba34e300"} 
[2026-08-01 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-08-01 03:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 03:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 03:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096999680001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096999680001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:37:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:37:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096999680001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":146017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:37:03] local.INFO: GPS data processed {"connection_id":146017,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:37:03] local.INFO: Acknowledgment sent {"connection_id":146017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:37:35] local.INFO: TCP Data received {"connection_id":146017,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba34e300012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba34e300012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:37:35] local.INFO: Processing buffer {"connection_id":146017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba34e300012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:37:35] local.INFO: Packet analysis {"connection_id":146017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba34"} 
[2026-08-01 03:37:35] local.INFO: Extracted packet for processing {"connection_id":146017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba34"} 
[2026-08-01 03:37:35] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":43,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096999680001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:37: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-08-01 03:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785535456000,"timestamp_ms":1785535456000,"timestamp_seconds":1785535456,"priority":1,"record_length":96,"hex_timestamp":"0000019fba34e300"} 
[2026-08-01 03:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 03:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 03:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 03:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 03:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096999680001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096999680001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:37:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:37:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096999680001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":146017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:37:35] local.INFO: GPS data processed {"connection_id":146017,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:37:35] local.INFO: Acknowledgment sent {"connection_id":146017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:37:56] local.INFO: TCP Data received {"connection_id":148354,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:37:56] local.INFO: Processing buffer {"connection_id":148354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:37:56] local.INFO: IMEI packet received {"connection_id":148354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":148354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:38:02] local.INFO: TCP Data received {"connection_id":148354,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:38:02] local.INFO: Processing buffer {"connection_id":148354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:38:02] local.INFO: IMEI packet received {"connection_id":148354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":148354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:38:03] local.INFO: TCP Data received {"connection_id":148354,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba34e300012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba34e300012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:38:03] local.INFO: Processing buffer {"connection_id":148354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba34e300012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:38:03] local.INFO: Packet analysis {"connection_id":148354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba34"} 
[2026-08-01 03:38:03] local.INFO: Extracted packet for processing {"connection_id":148354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba34"} 
[2026-08-01 03:38:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":43,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 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-08-01 03:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096999680001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:38: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-08-01 03:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785535456000,"timestamp_ms":1785535456000,"timestamp_seconds":1785535456,"priority":1,"record_length":96,"hex_timestamp":"0000019fba34e300"} 
[2026-08-01 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-08-01 03:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 03:38:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 03:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096999680001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096999680001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:38:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:38:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096999680001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":148354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:38:03] local.INFO: GPS data processed {"connection_id":148354,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:38:03] local.INFO: Acknowledgment sent {"connection_id":148354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:38:35] local.INFO: TCP Data received {"connection_id":148354,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba34e300012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba34e300012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:38:35] local.INFO: Processing buffer {"connection_id":148354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba34e300012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:38:35] local.INFO: Packet analysis {"connection_id":148354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba34"} 
[2026-08-01 03:38:35] local.INFO: Extracted packet for processing {"connection_id":148354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba34"} 
[2026-08-01 03:38:35] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":43,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096999680001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:38: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-08-01 03:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785535456000,"timestamp_ms":1785535456000,"timestamp_seconds":1785535456,"priority":1,"record_length":96,"hex_timestamp":"0000019fba34e300"} 
[2026-08-01 03:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 03:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 03:38:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 03: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-08-01 03:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096999680001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096999680001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:38:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:38:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096999680001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":148354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:38:35] local.INFO: GPS data processed {"connection_id":148354,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:38:35] local.INFO: Acknowledgment sent {"connection_id":148354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:39:02] local.INFO: TCP Data received {"connection_id":147040,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:39:02] local.INFO: Processing buffer {"connection_id":147040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:39:02] local.INFO: IMEI packet received {"connection_id":147040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":147040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:39:07] local.INFO: TCP Data received {"connection_id":147040,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:39:07] local.INFO: Processing buffer {"connection_id":147040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:39:07] local.INFO: IMEI packet received {"connection_id":147040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":147040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:39:08] local.INFO: TCP Data received {"connection_id":147040,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba34e300012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba34e300012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:39:08] local.INFO: Processing buffer {"connection_id":147040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba34e300012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:39:08] local.INFO: Packet analysis {"connection_id":147040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba34"} 
[2026-08-01 03:39:08] local.INFO: Extracted packet for processing {"connection_id":147040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba34"} 
[2026-08-01 03:39:08] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":43,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 03:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096999680001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:39: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-08-01 03:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785535456000,"timestamp_ms":1785535456000,"timestamp_seconds":1785535456,"priority":1,"record_length":96,"hex_timestamp":"0000019fba34e300"} 
[2026-08-01 03:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:39: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-08-01 03:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 03:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 03:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 03:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":147040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":147040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":147040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096999680001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096999680001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:39:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:39:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096999680001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":147040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:39:08] local.INFO: GPS data processed {"connection_id":147040,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:39:08] local.INFO: Acknowledgment sent {"connection_id":147040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:39:13] local.INFO: TCP Data received {"connection_id":147040,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba34e300012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba34e300012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:39:13] local.INFO: Processing buffer {"connection_id":147040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba34e300012d77a14005f2a670001100fa2b..."} 
[2026-08-01 03:39:13] local.INFO: Packet analysis {"connection_id":147040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba34"} 
[2026-08-01 03:39:13] local.INFO: Extracted packet for processing {"connection_id":147040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba34"} 
[2026-08-01 03:39:13] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":43,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457096999680001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 03:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785535456000,"timestamp_ms":1785535456000,"timestamp_seconds":1785535456,"priority":1,"record_length":96,"hex_timestamp":"0000019fba34e300"} 
[2026-08-01 03:39:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:39:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 03:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 03:39:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 03: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-08-01 03:39:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":147040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":147040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":147040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457096999680001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457096999680001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:39:13] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:39:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:39:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457096999680001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":147040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:39:13] local.INFO: GPS data processed {"connection_id":147040,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:39:13] local.INFO: Acknowledgment sent {"connection_id":147040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:39:54] local.INFO: TCP Data received {"connection_id":145815,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:39:54] local.INFO: Processing buffer {"connection_id":145815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:39:54] local.INFO: IMEI packet received {"connection_id":145815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":145815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:39:56] local.INFO: TCP Data received {"connection_id":145815,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:39:56] local.INFO: Processing buffer {"connection_id":145815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:39:56] local.INFO: IMEI packet received {"connection_id":145815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":145815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:40:02] local.INFO: TCP Data received {"connection_id":145815,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:40:02] local.INFO: Processing buffer {"connection_id":145815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:40:02] local.INFO: IMEI packet received {"connection_id":145815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":145815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:40:03] local.INFO: TCP Data received {"connection_id":145815,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba397ac8012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba397ac8012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:40:03] local.INFO: Processing buffer {"connection_id":145815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba397ac8012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:40:03] local.INFO: Packet analysis {"connection_id":145815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba39"} 
[2026-08-01 03:40:03] local.INFO: Extracted packet for processing {"connection_id":145815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba39"} 
[2026-08-01 03:40:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 03:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097076736001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03: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-08-01 03:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785535757000,"timestamp_ms":1785535757000,"timestamp_seconds":1785535757,"priority":1,"record_length":96,"hex_timestamp":"0000019fba397ac8"} 
[2026-08-01 03:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:40: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-08-01 03:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 03:40: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-08-01 03:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 03:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097076736001,"66":25473,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097076736001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:40:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:40:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097076736001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":145815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:40:03] local.INFO: GPS data processed {"connection_id":145815,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:40:03] local.INFO: Acknowledgment sent {"connection_id":145815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:40:35] local.INFO: TCP Data received {"connection_id":145815,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba397ac8012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba397ac8012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:40:35] local.INFO: Processing buffer {"connection_id":145815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba397ac8012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:40:35] local.INFO: Packet analysis {"connection_id":145815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba39"} 
[2026-08-01 03:40:35] local.INFO: Extracted packet for processing {"connection_id":145815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba39"} 
[2026-08-01 03:40:35] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097076736001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:40: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-08-01 03:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785535757000,"timestamp_ms":1785535757000,"timestamp_seconds":1785535757,"priority":1,"record_length":96,"hex_timestamp":"0000019fba397ac8"} 
[2026-08-01 03:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 03:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 03:40:35] 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-08-01 03: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-08-01 03:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":145815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":145815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":145815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097076736001,"66":25473,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097076736001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:40:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:40:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097076736001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":145815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:40:35] local.INFO: GPS data processed {"connection_id":145815,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:40:35] local.INFO: Acknowledgment sent {"connection_id":145815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:40:57] local.INFO: TCP Data received {"connection_id":146018,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:40:57] local.INFO: Processing buffer {"connection_id":146018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:40:57] local.INFO: IMEI packet received {"connection_id":146018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":146018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:41:02] local.INFO: TCP Data received {"connection_id":146018,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:41:02] local.INFO: Processing buffer {"connection_id":146018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:41:02] local.INFO: IMEI packet received {"connection_id":146018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":146018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:41:03] local.INFO: TCP Data received {"connection_id":146018,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba397ac8012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba397ac8012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:41:03] local.INFO: Processing buffer {"connection_id":146018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba397ac8012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:41:03] local.INFO: Packet analysis {"connection_id":146018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba39"} 
[2026-08-01 03:41:03] local.INFO: Extracted packet for processing {"connection_id":146018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba39"} 
[2026-08-01 03:41:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097076736001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:41: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-08-01 03:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785535757000,"timestamp_ms":1785535757000,"timestamp_seconds":1785535757,"priority":1,"record_length":96,"hex_timestamp":"0000019fba397ac8"} 
[2026-08-01 03:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 03:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 03:41: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-08-01 03: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-08-01 03:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097076736001,"66":25473,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097076736001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:41:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:41:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097076736001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":146018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:41:03] local.INFO: GPS data processed {"connection_id":146018,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:41:03] local.INFO: Acknowledgment sent {"connection_id":146018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:41:34] local.INFO: TCP Data received {"connection_id":146018,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba397ac8012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba397ac8012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:41:34] local.INFO: Processing buffer {"connection_id":146018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba397ac8012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:41:34] local.INFO: Packet analysis {"connection_id":146018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba39"} 
[2026-08-01 03:41:34] local.INFO: Extracted packet for processing {"connection_id":146018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba39"} 
[2026-08-01 03:41:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097076736001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:41:34] 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-08-01 03:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785535757000,"timestamp_ms":1785535757000,"timestamp_seconds":1785535757,"priority":1,"record_length":96,"hex_timestamp":"0000019fba397ac8"} 
[2026-08-01 03:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:41:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 03:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 03:41:34] 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-08-01 03: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-08-01 03:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097076736001,"66":25473,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097076736001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:41:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:41:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097076736001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":146018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:41:34] local.INFO: GPS data processed {"connection_id":146018,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:41:34] local.INFO: Acknowledgment sent {"connection_id":146018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:41:56] local.INFO: TCP Data received {"connection_id":147041,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:41:56] local.INFO: Processing buffer {"connection_id":147041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:41:56] local.INFO: IMEI packet received {"connection_id":147041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":147041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:42:02] local.INFO: TCP Data received {"connection_id":147041,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:42:02] local.INFO: Processing buffer {"connection_id":147041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:42:02] local.INFO: IMEI packet received {"connection_id":147041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":147041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:42:03] local.INFO: TCP Data received {"connection_id":147041,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba397ac8012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba397ac8012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:42:03] local.INFO: Processing buffer {"connection_id":147041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba397ac8012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:42:03] local.INFO: Packet analysis {"connection_id":147041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba39"} 
[2026-08-01 03:42:03] local.INFO: Extracted packet for processing {"connection_id":147041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba39"} 
[2026-08-01 03:42:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 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-08-01 03:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097076736001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:42: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-08-01 03:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785535757000,"timestamp_ms":1785535757000,"timestamp_seconds":1785535757,"priority":1,"record_length":96,"hex_timestamp":"0000019fba397ac8"} 
[2026-08-01 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-08-01 03:42: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-08-01 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 03:42: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-08-01 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-08-01 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-08-01 03:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097076736001,"66":25473,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097076736001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:42:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:42:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097076736001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":147041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:42:03] local.INFO: GPS data processed {"connection_id":147041,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:42:03] local.INFO: Acknowledgment sent {"connection_id":147041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:42:34] local.INFO: TCP Data received {"connection_id":147041,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba397ac8012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba397ac8012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:42:34] local.INFO: Processing buffer {"connection_id":147041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba397ac8012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:42:34] local.INFO: Packet analysis {"connection_id":147041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba39"} 
[2026-08-01 03:42:34] local.INFO: Extracted packet for processing {"connection_id":147041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba39"} 
[2026-08-01 03:42:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097076736001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:42:34] 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-08-01 03:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785535757000,"timestamp_ms":1785535757000,"timestamp_seconds":1785535757,"priority":1,"record_length":96,"hex_timestamp":"0000019fba397ac8"} 
[2026-08-01 03:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:42: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-08-01 03: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 03:42:34] 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-08-01 03: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-08-01 03:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097076736001,"66":25473,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097076736001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:42:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:42:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097076736001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":147041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:42:34] local.INFO: GPS data processed {"connection_id":147041,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:42:34] local.INFO: Acknowledgment sent {"connection_id":147041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:42:56] local.INFO: TCP Data received {"connection_id":145816,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:42:56] local.INFO: Processing buffer {"connection_id":145816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:42:56] local.INFO: IMEI packet received {"connection_id":145816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":145816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:43:02] local.INFO: TCP Data received {"connection_id":145816,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:43:02] local.INFO: Processing buffer {"connection_id":145816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:43:02] local.INFO: IMEI packet received {"connection_id":145816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":145816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:43:03] local.INFO: TCP Data received {"connection_id":145816,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba397ac8012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba397ac8012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:43:03] local.INFO: Processing buffer {"connection_id":145816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba397ac8012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:43:03] local.INFO: Packet analysis {"connection_id":145816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba39"} 
[2026-08-01 03:43:03] local.INFO: Extracted packet for processing {"connection_id":145816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba39"} 
[2026-08-01 03:43:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097076736001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03: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-08-01 03:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785535757000,"timestamp_ms":1785535757000,"timestamp_seconds":1785535757,"priority":1,"record_length":96,"hex_timestamp":"0000019fba397ac8"} 
[2026-08-01 03:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03: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-08-01 03: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":97,"data_length":795,"current_offset":136} 
[2026-08-01 03:43: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-08-01 03: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-08-01 03:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097076736001,"66":25473,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097076736001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:43:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:43:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097076736001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":145816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:43:03] local.INFO: GPS data processed {"connection_id":145816,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:43:03] local.INFO: Acknowledgment sent {"connection_id":145816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:43:34] local.INFO: TCP Data received {"connection_id":145816,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba397ac8012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba397ac8012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:43:34] local.INFO: Processing buffer {"connection_id":145816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba397ac8012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:43:34] local.INFO: Packet analysis {"connection_id":145816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba39"} 
[2026-08-01 03:43:34] local.INFO: Extracted packet for processing {"connection_id":145816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba39"} 
[2026-08-01 03:43:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097076736001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:43:34] 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-08-01 03:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785535757000,"timestamp_ms":1785535757000,"timestamp_seconds":1785535757,"priority":1,"record_length":96,"hex_timestamp":"0000019fba397ac8"} 
[2026-08-01 03:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:43: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-08-01 03: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 03:43:34] 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-08-01 03: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-08-01 03:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097076736001,"66":25473,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097076736001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:43:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:43:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097076736001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":145816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:43:34] local.INFO: GPS data processed {"connection_id":145816,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:43:34] local.INFO: Acknowledgment sent {"connection_id":145816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:43:56] local.INFO: TCP Data received {"connection_id":145817,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:43:56] local.INFO: Processing buffer {"connection_id":145817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:43:56] local.INFO: IMEI packet received {"connection_id":145817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":145817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:44:02] local.INFO: TCP Data received {"connection_id":145817,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:44:02] local.INFO: Processing buffer {"connection_id":145817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:44:02] local.INFO: IMEI packet received {"connection_id":145817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":145817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:44:03] local.INFO: TCP Data received {"connection_id":145817,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba397ac8012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba397ac8012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:44:03] local.INFO: Processing buffer {"connection_id":145817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba397ac8012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:44:03] local.INFO: Packet analysis {"connection_id":145817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba39"} 
[2026-08-01 03:44:03] local.INFO: Extracted packet for processing {"connection_id":145817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba39"} 
[2026-08-01 03:44:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 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-08-01 03:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097076736001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03: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-08-01 03:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785535757000,"timestamp_ms":1785535757000,"timestamp_seconds":1785535757,"priority":1,"record_length":96,"hex_timestamp":"0000019fba397ac8"} 
[2026-08-01 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-08-01 03: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-08-01 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 03:44: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-08-01 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-08-01 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-08-01 03:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097076736001,"66":25473,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097076736001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:44:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:44:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097076736001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":145817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:44:03] local.INFO: GPS data processed {"connection_id":145817,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:44:03] local.INFO: Acknowledgment sent {"connection_id":145817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:44:34] local.INFO: TCP Data received {"connection_id":145817,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba397ac8012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba397ac8012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:44:34] local.INFO: Processing buffer {"connection_id":145817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba397ac8012d77a14005f2a670001100fa29..."} 
[2026-08-01 03:44:34] local.INFO: Packet analysis {"connection_id":145817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba39"} 
[2026-08-01 03:44:34] local.INFO: Extracted packet for processing {"connection_id":145817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba39"} 
[2026-08-01 03:44:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097076736001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:44:34] 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-08-01 03:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785535757000,"timestamp_ms":1785535757000,"timestamp_seconds":1785535757,"priority":1,"record_length":96,"hex_timestamp":"0000019fba397ac8"} 
[2026-08-01 03:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:44: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-08-01 03: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 03:44:34] 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-08-01 03: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-08-01 03:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097076736001,"66":25473,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097076736001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:44:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:44:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097076736001,"power":25473,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":145817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:44:34] local.INFO: GPS data processed {"connection_id":145817,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:44:34] local.INFO: Acknowledgment sent {"connection_id":145817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:45:02] local.INFO: TCP Data received {"connection_id":148355,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:45:02] local.INFO: Processing buffer {"connection_id":148355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:45:02] local.INFO: IMEI packet received {"connection_id":148355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":148355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:45:07] local.INFO: TCP Data received {"connection_id":148355,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:45:07] local.INFO: Processing buffer {"connection_id":148355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:45:07] local.INFO: IMEI packet received {"connection_id":148355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":148355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:45:08] local.INFO: TCP Data received {"connection_id":148355,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba3e1290012d77a14005f2a670001100fa28..."} 
[2026-08-01 03:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba3e1290012d77a14005f2a670001100fa28..."} 
[2026-08-01 03:45:08] local.INFO: Processing buffer {"connection_id":148355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba3e1290012d77a14005f2a670001100fa28..."} 
[2026-08-01 03:45:08] local.INFO: Packet analysis {"connection_id":148355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba3e"} 
[2026-08-01 03:45:08] local.INFO: Extracted packet for processing {"connection_id":148355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba3e"} 
[2026-08-01 03:45:08] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097153792001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03: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-08-01 03:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785536058000,"timestamp_ms":1785536058000,"timestamp_seconds":1785536058,"priority":1,"record_length":96,"hex_timestamp":"0000019fba3e1290"} 
[2026-08-01 03:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:45: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-08-01 03: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":129,"data_length":795,"current_offset":136} 
[2026-08-01 03:45:08] 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-08-01 03: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-08-01 03:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":148355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":148355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":148355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097153792001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097153792001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:45:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:45:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097153792001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":148355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:45:08] local.INFO: GPS data processed {"connection_id":148355,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:45:08] local.INFO: Acknowledgment sent {"connection_id":148355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:45:12] local.INFO: TCP Data received {"connection_id":148355,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba3e1290012d77a14005f2a670001100fa28..."} 
[2026-08-01 03:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba3e1290012d77a14005f2a670001100fa28..."} 
[2026-08-01 03:45:12] local.INFO: Processing buffer {"connection_id":148355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba3e1290012d77a14005f2a670001100fa28..."} 
[2026-08-01 03:45:12] local.INFO: Packet analysis {"connection_id":148355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba3e"} 
[2026-08-01 03:45:12] local.INFO: Extracted packet for processing {"connection_id":148355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba3e"} 
[2026-08-01 03:45:12] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 03:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097153792001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:45:12] 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-08-01 03:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785536058000,"timestamp_ms":1785536058000,"timestamp_seconds":1785536058,"priority":1,"record_length":96,"hex_timestamp":"0000019fba3e1290"} 
[2026-08-01 03:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 03:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-01 03:45:12] 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-08-01 03:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 03:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":148355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":148355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":148355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097153792001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097153792001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:45:12] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:45:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097153792001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":148355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:45:12] local.INFO: GPS data processed {"connection_id":148355,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:45:12] local.INFO: Acknowledgment sent {"connection_id":148355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:45:56] local.INFO: TCP Data received {"connection_id":146019,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:45:56] local.INFO: Processing buffer {"connection_id":146019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:45:56] local.INFO: IMEI packet received {"connection_id":146019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":146019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:46:02] local.INFO: TCP Data received {"connection_id":146019,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:46:02] local.INFO: Processing buffer {"connection_id":146019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:46:02] local.INFO: IMEI packet received {"connection_id":146019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":146019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:46:03] local.INFO: TCP Data received {"connection_id":146019,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba3e1290012d77a14005f2a670001100fa28..."} 
[2026-08-01 03:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba3e1290012d77a14005f2a670001100fa28..."} 
[2026-08-01 03:46:03] local.INFO: Processing buffer {"connection_id":146019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba3e1290012d77a14005f2a670001100fa28..."} 
[2026-08-01 03:46:03] local.INFO: Packet analysis {"connection_id":146019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba3e"} 
[2026-08-01 03:46:03] local.INFO: Extracted packet for processing {"connection_id":146019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba3e"} 
[2026-08-01 03:46:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 03:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097153792001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:46: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-08-01 03:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785536058000,"timestamp_ms":1785536058000,"timestamp_seconds":1785536058,"priority":1,"record_length":96,"hex_timestamp":"0000019fba3e1290"} 
[2026-08-01 03:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:46: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-08-01 03:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-01 03:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 03:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 03:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097153792001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097153792001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:46:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:46:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097153792001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":146019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:46:03] local.INFO: GPS data processed {"connection_id":146019,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:46:03] local.INFO: Acknowledgment sent {"connection_id":146019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:46:34] local.INFO: TCP Data received {"connection_id":146019,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba3e1290012d77a14005f2a670001100fa28..."} 
[2026-08-01 03:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba3e1290012d77a14005f2a670001100fa28..."} 
[2026-08-01 03:46:34] local.INFO: Processing buffer {"connection_id":146019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba3e1290012d77a14005f2a670001100fa28..."} 
[2026-08-01 03:46:34] local.INFO: Packet analysis {"connection_id":146019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba3e"} 
[2026-08-01 03:46:34] local.INFO: Extracted packet for processing {"connection_id":146019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba3e"} 
[2026-08-01 03:46:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097153792001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:46:34] 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-08-01 03:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785536058000,"timestamp_ms":1785536058000,"timestamp_seconds":1785536058,"priority":1,"record_length":96,"hex_timestamp":"0000019fba3e1290"} 
[2026-08-01 03:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:46: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-08-01 03: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-01 03:46:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 03: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-08-01 03:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097153792001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097153792001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:46:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:46:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097153792001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":146019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:46:34] local.INFO: GPS data processed {"connection_id":146019,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:46:34] local.INFO: Acknowledgment sent {"connection_id":146019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:46:56] local.INFO: TCP Data received {"connection_id":145818,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:46:56] local.INFO: Processing buffer {"connection_id":145818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:46:56] local.INFO: IMEI packet received {"connection_id":145818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":145818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:47:02] local.INFO: TCP Data received {"connection_id":145818,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:47:02] local.INFO: Processing buffer {"connection_id":145818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:47:02] local.INFO: IMEI packet received {"connection_id":145818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":145818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:47:03] local.INFO: TCP Data received {"connection_id":145818,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba3e1290012d77a14005f2a670001100fa28..."} 
[2026-08-01 03:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba3e1290012d77a14005f2a670001100fa28..."} 
[2026-08-01 03:47:03] local.INFO: Processing buffer {"connection_id":145818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba3e1290012d77a14005f2a670001100fa28..."} 
[2026-08-01 03:47:03] local.INFO: Packet analysis {"connection_id":145818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba3e"} 
[2026-08-01 03:47:03] local.INFO: Extracted packet for processing {"connection_id":145818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba3e"} 
[2026-08-01 03:47:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097153792001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:47: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-08-01 03:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785536058000,"timestamp_ms":1785536058000,"timestamp_seconds":1785536058,"priority":1,"record_length":96,"hex_timestamp":"0000019fba3e1290"} 
[2026-08-01 03:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03: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-08-01 03: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":129,"data_length":795,"current_offset":136} 
[2026-08-01 03:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 03: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-08-01 03:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097153792001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097153792001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:47:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:47:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097153792001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":145818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:47:03] local.INFO: GPS data processed {"connection_id":145818,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:47:03] local.INFO: Acknowledgment sent {"connection_id":145818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:47:42] local.INFO: TCP Data received {"connection_id":145818,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba3e1290012d77a14005f2a670001100fa28..."} 
[2026-08-01 03:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba3e1290012d77a14005f2a670001100fa28..."} 
[2026-08-01 03:47:42] local.INFO: Processing buffer {"connection_id":145818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba3e1290012d77a14005f2a670001100fa28..."} 
[2026-08-01 03:47:42] local.INFO: Packet analysis {"connection_id":145818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba3e"} 
[2026-08-01 03:47:42] local.INFO: Extracted packet for processing {"connection_id":145818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba3e"} 
[2026-08-01 03:47:42] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097153792001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:47: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-08-01 03:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785536058000,"timestamp_ms":1785536058000,"timestamp_seconds":1785536058,"priority":1,"record_length":96,"hex_timestamp":"0000019fba3e1290"} 
[2026-08-01 03:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:47: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-08-01 03: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-01 03:47:42] 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-08-01 03: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-08-01 03:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":145818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":145818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":145818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097153792001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097153792001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:47:42] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:47:42] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097153792001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":145818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:47:42] local.INFO: GPS data processed {"connection_id":145818,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:47:42] local.INFO: Acknowledgment sent {"connection_id":145818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:48:02] local.INFO: TCP Data received {"connection_id":146020,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:48:02] local.INFO: Processing buffer {"connection_id":146020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:48:02] local.INFO: IMEI packet received {"connection_id":146020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":146020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:48:07] local.INFO: TCP Data received {"connection_id":146020,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:48:07] local.INFO: Processing buffer {"connection_id":146020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:48:07] local.INFO: IMEI packet received {"connection_id":146020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":146020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:48:08] local.INFO: TCP Data received {"connection_id":146020,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba3e1290012d77a14005f2a670001100fa28..."} 
[2026-08-01 03:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba3e1290012d77a14005f2a670001100fa28..."} 
[2026-08-01 03:48:08] local.INFO: Processing buffer {"connection_id":146020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba3e1290012d77a14005f2a670001100fa28..."} 
[2026-08-01 03:48:08] local.INFO: Packet analysis {"connection_id":146020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba3e"} 
[2026-08-01 03:48:08] local.INFO: Extracted packet for processing {"connection_id":146020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba3e"} 
[2026-08-01 03:48:08] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 03:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097153792001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:48: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-08-01 03:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785536058000,"timestamp_ms":1785536058000,"timestamp_seconds":1785536058,"priority":1,"record_length":96,"hex_timestamp":"0000019fba3e1290"} 
[2026-08-01 03:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:48: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-08-01 03:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-01 03:48:08] 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-08-01 03:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 03:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":146020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":146020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":146020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097153792001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097153792001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:48:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:48:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097153792001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":146020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:48:08] local.INFO: GPS data processed {"connection_id":146020,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:48:08] local.INFO: Acknowledgment sent {"connection_id":146020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:48:19] local.INFO: TCP Data received {"connection_id":146020,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba3e1290012d77a14005f2a670001100fa28..."} 
[2026-08-01 03:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba3e1290012d77a14005f2a670001100fa28..."} 
[2026-08-01 03:48:19] local.INFO: Processing buffer {"connection_id":146020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba3e1290012d77a14005f2a670001100fa28..."} 
[2026-08-01 03:48:19] local.INFO: Packet analysis {"connection_id":146020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba3e"} 
[2026-08-01 03:48:19] local.INFO: Extracted packet for processing {"connection_id":146020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba3e"} 
[2026-08-01 03:48:19] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:48:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097153792001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:48:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:48:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:48:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 03:48:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785536058000,"timestamp_ms":1785536058000,"timestamp_seconds":1785536058,"priority":1,"record_length":96,"hex_timestamp":"0000019fba3e1290"} 
[2026-08-01 03:48:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:48:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 03: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-01 03:48:19] 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-08-01 03: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-08-01 03:48:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:48:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:48:19] local.INFO: Teltonika packet parsed successfully {"connection_id":146020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:48:19] local.INFO: Passing IMEI to GPS processor {"connection_id":146020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:48:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":146020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:48:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:48:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:48:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:48:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097153792001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:48:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:48:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:48:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097153792001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:48:19] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:48:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:48:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:48:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:48:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097153792001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:48:19] local.INFO: DEBUG: GPS processor result {"connection_id":146020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:48:19] local.INFO: GPS data processed {"connection_id":146020,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:48:19] local.INFO: Acknowledgment sent {"connection_id":146020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:48:57] local.INFO: TCP Data received {"connection_id":148356,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:48:57] local.INFO: Processing buffer {"connection_id":148356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:48:57] local.INFO: IMEI packet received {"connection_id":148356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":148356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:49:02] local.INFO: TCP Data received {"connection_id":148356,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:49:02] local.INFO: Processing buffer {"connection_id":148356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:49:02] local.INFO: IMEI packet received {"connection_id":148356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":148356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:49:03] local.INFO: TCP Data received {"connection_id":148356,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba3e1290012d77a14005f2a670001100fa28..."} 
[2026-08-01 03:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba3e1290012d77a14005f2a670001100fa28..."} 
[2026-08-01 03:49:03] local.INFO: Processing buffer {"connection_id":148356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba3e1290012d77a14005f2a670001100fa28..."} 
[2026-08-01 03:49:03] local.INFO: Packet analysis {"connection_id":148356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba3e"} 
[2026-08-01 03:49:03] local.INFO: Extracted packet for processing {"connection_id":148356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba3e"} 
[2026-08-01 03:49:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097153792001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03: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-08-01 03:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785536058000,"timestamp_ms":1785536058000,"timestamp_seconds":1785536058,"priority":1,"record_length":96,"hex_timestamp":"0000019fba3e1290"} 
[2026-08-01 03:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03: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-08-01 03: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":129,"data_length":795,"current_offset":136} 
[2026-08-01 03:49:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 03: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-08-01 03:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097153792001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097153792001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:49:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:49:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097153792001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":148356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:49:03] local.INFO: GPS data processed {"connection_id":148356,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:49:03] local.INFO: Acknowledgment sent {"connection_id":148356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:49:34] local.INFO: TCP Data received {"connection_id":148356,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba3e1290012d77a14005f2a670001100fa28..."} 
[2026-08-01 03:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba3e1290012d77a14005f2a670001100fa28..."} 
[2026-08-01 03:49:34] local.INFO: Processing buffer {"connection_id":148356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba3e1290012d77a14005f2a670001100fa28..."} 
[2026-08-01 03:49:34] local.INFO: Packet analysis {"connection_id":148356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba3e"} 
[2026-08-01 03:49:34] local.INFO: Extracted packet for processing {"connection_id":148356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba3e"} 
[2026-08-01 03:49:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":17,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097153792001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:49:34] 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-08-01 03:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785536058000,"timestamp_ms":1785536058000,"timestamp_seconds":1785536058,"priority":1,"record_length":96,"hex_timestamp":"0000019fba3e1290"} 
[2026-08-01 03:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:49: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-08-01 03: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-01 03:49:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 03: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-08-01 03:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097153792001,"66":25495,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097153792001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:49:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:49:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097153792001,"power":25495,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":148356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:49:34] local.INFO: GPS data processed {"connection_id":148356,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:49:34] local.INFO: Acknowledgment sent {"connection_id":148356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:49:56] local.INFO: TCP Data received {"connection_id":147042,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:49:56] local.INFO: Processing buffer {"connection_id":147042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:49:56] local.INFO: IMEI packet received {"connection_id":147042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":147042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:49:57] local.INFO: TCP Data received {"connection_id":147042,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:49:57] local.INFO: Processing buffer {"connection_id":147042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:49:57] local.INFO: IMEI packet received {"connection_id":147042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":147042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:50:02] local.INFO: TCP Data received {"connection_id":147042,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:50:02] local.INFO: Processing buffer {"connection_id":147042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:50:02] local.INFO: IMEI packet received {"connection_id":147042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":147042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:50:03] local.INFO: TCP Data received {"connection_id":147042,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba42aa58012d77a14005f2a670002600fa28..."} 
[2026-08-01 03:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba42aa58012d77a14005f2a670002600fa28..."} 
[2026-08-01 03:50:03] local.INFO: Processing buffer {"connection_id":147042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba42aa58012d77a14005f2a670002600fa28..."} 
[2026-08-01 03:50:03] local.INFO: Packet analysis {"connection_id":147042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba42"} 
[2026-08-01 03:50:03] local.INFO: Extracted packet for processing {"connection_id":147042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba42"} 
[2026-08-01 03:50:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097230848001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:50: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-08-01 03:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785536359000,"timestamp_ms":1785536359000,"timestamp_seconds":1785536359,"priority":1,"record_length":96,"hex_timestamp":"0000019fba42aa58"} 
[2026-08-01 03:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:50: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-08-01 03:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 03:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 03: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-08-01 03:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097230848001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097230848001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:50:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:50:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097230848001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":147042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:50:03] local.INFO: GPS data processed {"connection_id":147042,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:50:03] local.INFO: Acknowledgment sent {"connection_id":147042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:50:34] local.INFO: TCP Data received {"connection_id":147042,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba42aa58012d77a14005f2a670002600fa28..."} 
[2026-08-01 03:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba42aa58012d77a14005f2a670002600fa28..."} 
[2026-08-01 03:50:34] local.INFO: Processing buffer {"connection_id":147042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba42aa58012d77a14005f2a670002600fa28..."} 
[2026-08-01 03:50:34] local.INFO: Packet analysis {"connection_id":147042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba42"} 
[2026-08-01 03:50:34] local.INFO: Extracted packet for processing {"connection_id":147042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba42"} 
[2026-08-01 03:50:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097230848001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:50:34] 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-08-01 03:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785536359000,"timestamp_ms":1785536359000,"timestamp_seconds":1785536359,"priority":1,"record_length":96,"hex_timestamp":"0000019fba42aa58"} 
[2026-08-01 03:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:50: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-08-01 03:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 03:50:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 03: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-08-01 03:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097230848001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097230848001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:50:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:50:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097230848001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":147042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:50:34] local.INFO: GPS data processed {"connection_id":147042,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:50:34] local.INFO: Acknowledgment sent {"connection_id":147042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:50:56] local.INFO: TCP Data received {"connection_id":148357,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:50:56] local.INFO: Processing buffer {"connection_id":148357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:50:56] local.INFO: IMEI packet received {"connection_id":148357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":148357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:51:02] local.INFO: TCP Data received {"connection_id":148357,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:51:02] local.INFO: Processing buffer {"connection_id":148357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:51:02] local.INFO: IMEI packet received {"connection_id":148357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":148357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:51:03] local.INFO: TCP Data received {"connection_id":148357,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba42aa58012d77a14005f2a670002600fa28..."} 
[2026-08-01 03:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba42aa58012d77a14005f2a670002600fa28..."} 
[2026-08-01 03:51:03] local.INFO: Processing buffer {"connection_id":148357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba42aa58012d77a14005f2a670002600fa28..."} 
[2026-08-01 03:51:03] local.INFO: Packet analysis {"connection_id":148357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba42"} 
[2026-08-01 03:51:03] local.INFO: Extracted packet for processing {"connection_id":148357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba42"} 
[2026-08-01 03:51:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097230848001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03: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-08-01 03:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785536359000,"timestamp_ms":1785536359000,"timestamp_seconds":1785536359,"priority":1,"record_length":96,"hex_timestamp":"0000019fba42aa58"} 
[2026-08-01 03:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:51: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-08-01 03:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 03:51:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 03: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-08-01 03:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097230848001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097230848001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:51:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:51:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097230848001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":148357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:51:03] local.INFO: GPS data processed {"connection_id":148357,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:51:03] local.INFO: Acknowledgment sent {"connection_id":148357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:51:34] local.INFO: TCP Data received {"connection_id":148357,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba42aa58012d77a14005f2a670002600fa28..."} 
[2026-08-01 03:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba42aa58012d77a14005f2a670002600fa28..."} 
[2026-08-01 03:51:34] local.INFO: Processing buffer {"connection_id":148357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba42aa58012d77a14005f2a670002600fa28..."} 
[2026-08-01 03:51:34] local.INFO: Packet analysis {"connection_id":148357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba42"} 
[2026-08-01 03:51:34] local.INFO: Extracted packet for processing {"connection_id":148357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba42"} 
[2026-08-01 03:51:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097230848001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:51:34] 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-08-01 03:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785536359000,"timestamp_ms":1785536359000,"timestamp_seconds":1785536359,"priority":1,"record_length":96,"hex_timestamp":"0000019fba42aa58"} 
[2026-08-01 03:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:51: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-08-01 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 03:51:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 03: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-08-01 03:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097230848001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097230848001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:51:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:51:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097230848001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":148357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:51:34] local.INFO: GPS data processed {"connection_id":148357,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:51:34] local.INFO: Acknowledgment sent {"connection_id":148357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:52:02] local.INFO: TCP Data received {"connection_id":148358,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:52:02] local.INFO: Processing buffer {"connection_id":148358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:52:02] local.INFO: IMEI packet received {"connection_id":148358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":148358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:52:08] local.INFO: TCP Data received {"connection_id":148358,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:52:08] local.INFO: Processing buffer {"connection_id":148358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:52:08] local.INFO: IMEI packet received {"connection_id":148358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":148358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:52:09] local.INFO: TCP Data received {"connection_id":148358,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba42aa58012d77a14005f2a670002600fa28..."} 
[2026-08-01 03:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba42aa58012d77a14005f2a670002600fa28..."} 
[2026-08-01 03:52:09] local.INFO: Processing buffer {"connection_id":148358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba42aa58012d77a14005f2a670002600fa28..."} 
[2026-08-01 03:52:09] local.INFO: Packet analysis {"connection_id":148358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba42"} 
[2026-08-01 03:52:09] local.INFO: Extracted packet for processing {"connection_id":148358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba42"} 
[2026-08-01 03:52:09] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 03:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097230848001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:52: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-08-01 03:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785536359000,"timestamp_ms":1785536359000,"timestamp_seconds":1785536359,"priority":1,"record_length":96,"hex_timestamp":"0000019fba42aa58"} 
[2026-08-01 03:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 03:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 03:52:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 03:52:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 03:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":148358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":148358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":148358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:52:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097230848001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097230848001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:52:09] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:52:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097230848001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":148358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:52:09] local.INFO: GPS data processed {"connection_id":148358,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:52:09] local.INFO: Acknowledgment sent {"connection_id":148358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:52:12] local.INFO: TCP Data received {"connection_id":148358,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba42aa58012d77a14005f2a670002600fa28..."} 
[2026-08-01 03:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba42aa58012d77a14005f2a670002600fa28..."} 
[2026-08-01 03:52:12] local.INFO: Processing buffer {"connection_id":148358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba42aa58012d77a14005f2a670002600fa28..."} 
[2026-08-01 03:52:12] local.INFO: Packet analysis {"connection_id":148358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba42"} 
[2026-08-01 03:52:12] local.INFO: Extracted packet for processing {"connection_id":148358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba42"} 
[2026-08-01 03:52:12] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097230848001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:52:12] 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-08-01 03:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785536359000,"timestamp_ms":1785536359000,"timestamp_seconds":1785536359,"priority":1,"record_length":96,"hex_timestamp":"0000019fba42aa58"} 
[2026-08-01 03:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 03:52:12] 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-08-01 03: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-08-01 03:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":148358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":148358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":148358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097230848001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097230848001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:52:12] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:52:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097230848001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":148358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:52:12] local.INFO: GPS data processed {"connection_id":148358,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:52:12] local.INFO: Acknowledgment sent {"connection_id":148358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:52:58] local.INFO: TCP Data received {"connection_id":148359,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:52:58] local.INFO: Processing buffer {"connection_id":148359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:52:58] local.INFO: IMEI packet received {"connection_id":148359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":148359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:53:01] local.INFO: TCP Data received {"connection_id":148359,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:53:01] local.INFO: Processing buffer {"connection_id":148359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:53:01] local.INFO: IMEI packet received {"connection_id":148359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":148359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:53:02] local.INFO: TCP Data received {"connection_id":148359,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba42aa58012d77a14005f2a670002600fa28..."} 
[2026-08-01 03:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba42aa58012d77a14005f2a670002600fa28..."} 
[2026-08-01 03:53:02] local.INFO: Processing buffer {"connection_id":148359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba42aa58012d77a14005f2a670002600fa28..."} 
[2026-08-01 03:53:02] local.INFO: Packet analysis {"connection_id":148359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba42"} 
[2026-08-01 03:53:02] local.INFO: Extracted packet for processing {"connection_id":148359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba42"} 
[2026-08-01 03:53:02] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097230848001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:53: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-08-01 03:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785536359000,"timestamp_ms":1785536359000,"timestamp_seconds":1785536359,"priority":1,"record_length":96,"hex_timestamp":"0000019fba42aa58"} 
[2026-08-01 03:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:53: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-08-01 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 03:53: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-08-01 03: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-08-01 03:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":148359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":148359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":148359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097230848001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097230848001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:53:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:53:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097230848001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":148359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:53:02] local.INFO: GPS data processed {"connection_id":148359,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:53:02] local.INFO: Acknowledgment sent {"connection_id":148359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:53:07] local.INFO: TCP Data received {"connection_id":148359,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba42aa58012d77a14005f2a670002600fa28..."} 
[2026-08-01 03:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba42aa58012d77a14005f2a670002600fa28..."} 
[2026-08-01 03:53:07] local.INFO: Processing buffer {"connection_id":148359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba42aa58012d77a14005f2a670002600fa28..."} 
[2026-08-01 03:53:07] local.INFO: Packet analysis {"connection_id":148359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba42"} 
[2026-08-01 03:53:07] local.INFO: Extracted packet for processing {"connection_id":148359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba42"} 
[2026-08-01 03:53:07] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097230848001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:53: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-08-01 03:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785536359000,"timestamp_ms":1785536359000,"timestamp_seconds":1785536359,"priority":1,"record_length":96,"hex_timestamp":"0000019fba42aa58"} 
[2026-08-01 03:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:53: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-08-01 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 03:53: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-08-01 03: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-08-01 03:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":148359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":148359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":148359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097230848001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097230848001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:53:07] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:53:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097230848001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":148359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:53:07] local.INFO: GPS data processed {"connection_id":148359,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:53:07] local.INFO: Acknowledgment sent {"connection_id":148359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:53:41] local.INFO: TCP Data received {"connection_id":148359,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba42aa58012d77a14005f2a670002600fa28..."} 
[2026-08-01 03:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba42aa58012d77a14005f2a670002600fa28..."} 
[2026-08-01 03:53:41] local.INFO: Processing buffer {"connection_id":148359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba42aa58012d77a14005f2a670002600fa28..."} 
[2026-08-01 03:53:41] local.INFO: Packet analysis {"connection_id":148359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba42"} 
[2026-08-01 03:53:41] local.INFO: Extracted packet for processing {"connection_id":148359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba42"} 
[2026-08-01 03:53:41] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097230848001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:53:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03: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-08-01 03:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785536359000,"timestamp_ms":1785536359000,"timestamp_seconds":1785536359,"priority":1,"record_length":96,"hex_timestamp":"0000019fba42aa58"} 
[2026-08-01 03:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03: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-08-01 03: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-08-01 03: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-08-01 03: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-08-01 03:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":148359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":148359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":148359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:53:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097230848001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097230848001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:53:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:53:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:53:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097230848001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":148359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:53:41] local.INFO: GPS data processed {"connection_id":148359,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:53:41] local.INFO: Acknowledgment sent {"connection_id":148359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:54:01] local.INFO: TCP Data received {"connection_id":147043,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:54:01] local.INFO: Processing buffer {"connection_id":147043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:54:01] local.INFO: IMEI packet received {"connection_id":147043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":147043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:54:07] local.INFO: TCP Data received {"connection_id":147043,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:54:07] local.INFO: Processing buffer {"connection_id":147043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:54:07] local.INFO: IMEI packet received {"connection_id":147043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":147043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:54:12] local.INFO: TCP Data received {"connection_id":147043,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:54:12] local.INFO: Processing buffer {"connection_id":147043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:54:12] local.INFO: IMEI packet received {"connection_id":147043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":147043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:54:13] local.INFO: TCP Data received {"connection_id":147043,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba42aa58012d77a14005f2a670002600fa28..."} 
[2026-08-01 03:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba42aa58012d77a14005f2a670002600fa28..."} 
[2026-08-01 03:54:13] local.INFO: Processing buffer {"connection_id":147043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba42aa58012d77a14005f2a670002600fa28..."} 
[2026-08-01 03:54:13] local.INFO: Packet analysis {"connection_id":147043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba42"} 
[2026-08-01 03:54:13] local.INFO: Extracted packet for processing {"connection_id":147043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba42"} 
[2026-08-01 03:54:13] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 03:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097230848001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:54:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 03:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785536359000,"timestamp_ms":1785536359000,"timestamp_seconds":1785536359,"priority":1,"record_length":96,"hex_timestamp":"0000019fba42aa58"} 
[2026-08-01 03:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:54:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 03:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 03:54:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 03:54:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 03:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":147043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":147043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":147043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:54:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097230848001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097230848001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:54:13] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:54:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097230848001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":147043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:54:13] local.INFO: GPS data processed {"connection_id":147043,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:54:13] local.INFO: Acknowledgment sent {"connection_id":147043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:54:56] local.INFO: TCP Data received {"connection_id":145819,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:54:56] local.INFO: Processing buffer {"connection_id":145819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:54:56] local.INFO: IMEI packet received {"connection_id":145819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":145819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:54:57] local.INFO: TCP Data received {"connection_id":145819,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:54:58] local.INFO: Processing buffer {"connection_id":145819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:54:58] local.INFO: IMEI packet received {"connection_id":145819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":145819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:55:02] local.INFO: TCP Data received {"connection_id":145819,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:55:02] local.INFO: Processing buffer {"connection_id":145819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:55:02] local.INFO: IMEI packet received {"connection_id":145819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":145819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:55:03] local.INFO: TCP Data received {"connection_id":145819,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba474220012d77a14005f2a670002600fa2a..."} 
[2026-08-01 03:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba474220012d77a14005f2a670002600fa2a..."} 
[2026-08-01 03:55:03] local.INFO: Processing buffer {"connection_id":145819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba474220012d77a14005f2a670002600fa2a..."} 
[2026-08-01 03:55:03] local.INFO: Packet analysis {"connection_id":145819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba47"} 
[2026-08-01 03:55:03] local.INFO: Extracted packet for processing {"connection_id":145819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba47"} 
[2026-08-01 03:55:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097307904001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:55: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-08-01 03:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785536660000,"timestamp_ms":1785536660000,"timestamp_seconds":1785536660,"priority":1,"record_length":96,"hex_timestamp":"0000019fba474220"} 
[2026-08-01 03:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:55: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-08-01 03: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 03:55: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-08-01 03: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-08-01 03:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097307904001,"66":25158,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097307904001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:55:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:55:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097307904001,"power":25158,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":145819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:55:03] local.INFO: GPS data processed {"connection_id":145819,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:55:03] local.INFO: Acknowledgment sent {"connection_id":145819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:55:35] local.INFO: TCP Data received {"connection_id":145819,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba474220012d77a14005f2a670002600fa2a..."} 
[2026-08-01 03:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba474220012d77a14005f2a670002600fa2a..."} 
[2026-08-01 03:55:35] local.INFO: Processing buffer {"connection_id":145819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba474220012d77a14005f2a670002600fa2a..."} 
[2026-08-01 03:55:35] local.INFO: Packet analysis {"connection_id":145819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba47"} 
[2026-08-01 03:55:35] local.INFO: Extracted packet for processing {"connection_id":145819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba47"} 
[2026-08-01 03:55:35] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097307904001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:55: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-08-01 03:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785536660000,"timestamp_ms":1785536660000,"timestamp_seconds":1785536660,"priority":1,"record_length":96,"hex_timestamp":"0000019fba474220"} 
[2026-08-01 03:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:55:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 03:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 03:55:35] 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-08-01 03: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-08-01 03:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":145819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":145819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":145819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097307904001,"66":25158,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097307904001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:55:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:55:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097307904001,"power":25158,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":145819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:55:35] local.INFO: GPS data processed {"connection_id":145819,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:55:35] local.INFO: Acknowledgment sent {"connection_id":145819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:55:57] local.INFO: TCP Data received {"connection_id":148360,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:55:57] local.INFO: Processing buffer {"connection_id":148360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:55:57] local.INFO: IMEI packet received {"connection_id":148360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":148360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:56:02] local.INFO: TCP Data received {"connection_id":148360,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:56:02] local.INFO: Processing buffer {"connection_id":148360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:56:02] local.INFO: IMEI packet received {"connection_id":148360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":148360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:56:03] local.INFO: TCP Data received {"connection_id":148360,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba474220012d77a14005f2a670002600fa2a..."} 
[2026-08-01 03:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba474220012d77a14005f2a670002600fa2a..."} 
[2026-08-01 03:56:03] local.INFO: Processing buffer {"connection_id":148360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba474220012d77a14005f2a670002600fa2a..."} 
[2026-08-01 03:56:03] local.INFO: Packet analysis {"connection_id":148360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba47"} 
[2026-08-01 03:56:03] local.INFO: Extracted packet for processing {"connection_id":148360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba47"} 
[2026-08-01 03:56:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 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-08-01 03:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097307904001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:56: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-08-01 03:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785536660000,"timestamp_ms":1785536660000,"timestamp_seconds":1785536660,"priority":1,"record_length":96,"hex_timestamp":"0000019fba474220"} 
[2026-08-01 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-08-01 03:56: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-08-01 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 03:56: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-08-01 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-08-01 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-08-01 03:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097307904001,"66":25158,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097307904001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:56:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:56:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097307904001,"power":25158,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":148360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:56:03] local.INFO: GPS data processed {"connection_id":148360,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:56:03] local.INFO: Acknowledgment sent {"connection_id":148360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:56:34] local.INFO: TCP Data received {"connection_id":148360,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba474220012d77a14005f2a670002600fa2a..."} 
[2026-08-01 03:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba474220012d77a14005f2a670002600fa2a..."} 
[2026-08-01 03:56:34] local.INFO: Processing buffer {"connection_id":148360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba474220012d77a14005f2a670002600fa2a..."} 
[2026-08-01 03:56:34] local.INFO: Packet analysis {"connection_id":148360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba47"} 
[2026-08-01 03:56:34] local.INFO: Extracted packet for processing {"connection_id":148360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba47"} 
[2026-08-01 03:56:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097307904001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:56:34] 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-08-01 03:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785536660000,"timestamp_ms":1785536660000,"timestamp_seconds":1785536660,"priority":1,"record_length":96,"hex_timestamp":"0000019fba474220"} 
[2026-08-01 03:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:56:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 03:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 03:56:34] 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-08-01 03: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-08-01 03:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097307904001,"66":25158,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097307904001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:56:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:56:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097307904001,"power":25158,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":148360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:56:34] local.INFO: GPS data processed {"connection_id":148360,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:56:34] local.INFO: Acknowledgment sent {"connection_id":148360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:56:56] local.INFO: TCP Data received {"connection_id":145820,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:56:56] local.INFO: Processing buffer {"connection_id":145820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:56:56] local.INFO: IMEI packet received {"connection_id":145820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":145820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:57:02] local.INFO: TCP Data received {"connection_id":145820,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:57:02] local.INFO: Processing buffer {"connection_id":145820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:57:02] local.INFO: IMEI packet received {"connection_id":145820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":145820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:57:03] local.INFO: TCP Data received {"connection_id":145820,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba474220012d77a14005f2a670002600fa2a..."} 
[2026-08-01 03:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba474220012d77a14005f2a670002600fa2a..."} 
[2026-08-01 03:57:03] local.INFO: Processing buffer {"connection_id":145820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba474220012d77a14005f2a670002600fa2a..."} 
[2026-08-01 03:57:03] local.INFO: Packet analysis {"connection_id":145820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba47"} 
[2026-08-01 03:57:03] local.INFO: Extracted packet for processing {"connection_id":145820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba47"} 
[2026-08-01 03:57:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097307904001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:57: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-08-01 03:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785536660000,"timestamp_ms":1785536660000,"timestamp_seconds":1785536660,"priority":1,"record_length":96,"hex_timestamp":"0000019fba474220"} 
[2026-08-01 03:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03: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-08-01 03: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":97,"data_length":795,"current_offset":136} 
[2026-08-01 03:57: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-08-01 03: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-08-01 03:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097307904001,"66":25158,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097307904001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:57:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:57:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097307904001,"power":25158,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":145820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:57:03] local.INFO: GPS data processed {"connection_id":145820,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:57:03] local.INFO: Acknowledgment sent {"connection_id":145820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:57:34] local.INFO: TCP Data received {"connection_id":145820,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba474220012d77a14005f2a670002600fa2a..."} 
[2026-08-01 03:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba474220012d77a14005f2a670002600fa2a..."} 
[2026-08-01 03:57:34] local.INFO: Processing buffer {"connection_id":145820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba474220012d77a14005f2a670002600fa2a..."} 
[2026-08-01 03:57:34] local.INFO: Packet analysis {"connection_id":145820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba47"} 
[2026-08-01 03:57:34] local.INFO: Extracted packet for processing {"connection_id":145820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba47"} 
[2026-08-01 03:57:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097307904001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:57:34] 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-08-01 03:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785536660000,"timestamp_ms":1785536660000,"timestamp_seconds":1785536660,"priority":1,"record_length":96,"hex_timestamp":"0000019fba474220"} 
[2026-08-01 03:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:57: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-08-01 03: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 03:57:34] 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-08-01 03: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-08-01 03:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097307904001,"66":25158,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097307904001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:57:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:57:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097307904001,"power":25158,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":145820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:57:34] local.INFO: GPS data processed {"connection_id":145820,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:57:34] local.INFO: Acknowledgment sent {"connection_id":145820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:57:56] local.INFO: TCP Data received {"connection_id":147044,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:57:56] local.INFO: Processing buffer {"connection_id":147044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:57:56] local.INFO: IMEI packet received {"connection_id":147044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":147044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:58:02] local.INFO: TCP Data received {"connection_id":147044,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:58:02] local.INFO: Processing buffer {"connection_id":147044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:58:02] local.INFO: IMEI packet received {"connection_id":147044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":147044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:58:03] local.INFO: TCP Data received {"connection_id":147044,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba474220012d77a14005f2a670002600fa2a..."} 
[2026-08-01 03:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba474220012d77a14005f2a670002600fa2a..."} 
[2026-08-01 03:58:03] local.INFO: Processing buffer {"connection_id":147044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba474220012d77a14005f2a670002600fa2a..."} 
[2026-08-01 03:58:03] local.INFO: Packet analysis {"connection_id":147044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba47"} 
[2026-08-01 03:58:03] local.INFO: Extracted packet for processing {"connection_id":147044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba47"} 
[2026-08-01 03:58:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097307904001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:58: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-08-01 03:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785536660000,"timestamp_ms":1785536660000,"timestamp_seconds":1785536660,"priority":1,"record_length":96,"hex_timestamp":"0000019fba474220"} 
[2026-08-01 03:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 03:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 03:58: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-08-01 03: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-08-01 03:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097307904001,"66":25158,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097307904001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:58:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:58:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097307904001,"power":25158,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":147044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:58:03] local.INFO: GPS data processed {"connection_id":147044,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:58:03] local.INFO: Acknowledgment sent {"connection_id":147044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:58:34] local.INFO: TCP Data received {"connection_id":147044,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba474220012d77a14005f2a670002600fa2a..."} 
[2026-08-01 03:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba474220012d77a14005f2a670002600fa2a..."} 
[2026-08-01 03:58:34] local.INFO: Processing buffer {"connection_id":147044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba474220012d77a14005f2a670002600fa2a..."} 
[2026-08-01 03:58:34] local.INFO: Packet analysis {"connection_id":147044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba47"} 
[2026-08-01 03:58:34] local.INFO: Extracted packet for processing {"connection_id":147044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba47"} 
[2026-08-01 03:58:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097307904001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:58:34] 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-08-01 03:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785536660000,"timestamp_ms":1785536660000,"timestamp_seconds":1785536660,"priority":1,"record_length":96,"hex_timestamp":"0000019fba474220"} 
[2026-08-01 03:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03: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-08-01 03: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":97,"data_length":795,"current_offset":136} 
[2026-08-01 03:58:34] 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-08-01 03: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-08-01 03:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097307904001,"66":25158,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097307904001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:58:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:58:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097307904001,"power":25158,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":147044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:58:35] local.INFO: GPS data processed {"connection_id":147044,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:58:35] local.INFO: Acknowledgment sent {"connection_id":147044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:59:02] local.INFO: TCP Data received {"connection_id":148361,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:59:02] local.INFO: Processing buffer {"connection_id":148361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:59:02] local.INFO: IMEI packet received {"connection_id":148361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":148361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:59:07] local.INFO: TCP Data received {"connection_id":148361,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:59:07] local.INFO: Processing buffer {"connection_id":148361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:59:07] local.INFO: IMEI packet received {"connection_id":148361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":148361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 03:59:08] local.INFO: TCP Data received {"connection_id":148361,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba474220012d77a14005f2a670002600fa2a..."} 
[2026-08-01 03:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba474220012d77a14005f2a670002600fa2a..."} 
[2026-08-01 03:59:08] local.INFO: Processing buffer {"connection_id":148361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba474220012d77a14005f2a670002600fa2a..."} 
[2026-08-01 03:59:08] local.INFO: Packet analysis {"connection_id":148361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba47"} 
[2026-08-01 03:59:08] local.INFO: Extracted packet for processing {"connection_id":148361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba47"} 
[2026-08-01 03:59:08] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 03:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097307904001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 03:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785536660000,"timestamp_ms":1785536660000,"timestamp_seconds":1785536660,"priority":1,"record_length":96,"hex_timestamp":"0000019fba474220"} 
[2026-08-01 03:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:59: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-08-01 03:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 03:59:08] 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-08-01 03:59:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 03:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":148361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":148361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":148361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097307904001,"66":25158,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097307904001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:59:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:59:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097307904001,"power":25158,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":148361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:59:08] local.INFO: GPS data processed {"connection_id":148361,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:59:08] local.INFO: Acknowledgment sent {"connection_id":148361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:59:19] local.INFO: TCP Data received {"connection_id":148361,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba474220012d77a14005f2a670002600fa2a..."} 
[2026-08-01 03:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba474220012d77a14005f2a670002600fa2a..."} 
[2026-08-01 03:59:19] local.INFO: Processing buffer {"connection_id":148361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba474220012d77a14005f2a670002600fa2a..."} 
[2026-08-01 03:59:19] local.INFO: Packet analysis {"connection_id":148361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba47"} 
[2026-08-01 03:59:19] local.INFO: Extracted packet for processing {"connection_id":148361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba47"} 
[2026-08-01 03:59:19] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03: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-08-01 03:59:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097307904001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:59:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:59:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:59:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 03:59:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785536660000,"timestamp_ms":1785536660000,"timestamp_seconds":1785536660,"priority":1,"record_length":96,"hex_timestamp":"0000019fba474220"} 
[2026-08-01 03:59:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:59:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 03:59:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 03:59:19] 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-08-01 03: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-08-01 03:59:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:59:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:59:19] local.INFO: Teltonika packet parsed successfully {"connection_id":148361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:59:19] local.INFO: Passing IMEI to GPS processor {"connection_id":148361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:59:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":148361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:59:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:59:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:59:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:59:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097307904001,"66":25158,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:59:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:59:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:59:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097307904001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:59:19] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:59:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:59:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:59:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:59:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097307904001,"power":25158,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:59:19] local.INFO: DEBUG: GPS processor result {"connection_id":148361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:59:19] local.INFO: GPS data processed {"connection_id":148361,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:59:19] local.INFO: Acknowledgment sent {"connection_id":148361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:59:20] local.INFO: TCP Data received {"connection_id":148361,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba474220012d77a14005f2a670002600fa2a..."} 
[2026-08-01 03:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba474220012d77a14005f2a670002600fa2a..."} 
[2026-08-01 03:59:20] local.INFO: Processing buffer {"connection_id":148361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba474220012d77a14005f2a670002600fa2a..."} 
[2026-08-01 03:59:20] local.INFO: Packet analysis {"connection_id":148361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba47"} 
[2026-08-01 03:59:20] local.INFO: Extracted packet for processing {"connection_id":148361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba47"} 
[2026-08-01 03:59:20] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 03:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 03:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097307904001,"note":"Value kept but may cause issues"} 
[2026-08-01 03:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 03:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 03:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 03:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785536660000,"timestamp_ms":1785536660000,"timestamp_seconds":1785536660,"priority":1,"record_length":96,"hex_timestamp":"0000019fba474220"} 
[2026-08-01 03:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 03:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 03:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 03:59:20] 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-08-01 03:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 03:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 03:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 03:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 03:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 03:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 03:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 03:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 03:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097307904001,"66":25158,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 03:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 03:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 03:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097307904001,"description":"Unknown IO ID 0"} 
[2026-08-01 03:59:20] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 03:59:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 03:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 03:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 03:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097307904001,"power":25158,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 03:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":148361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 03:59:20] local.INFO: GPS data processed {"connection_id":148361,"processed":1,"errors":0,"total":1} 
[2026-08-01 03:59:20] local.INFO: Acknowledgment sent {"connection_id":148361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 03:59:57] local.INFO: TCP Data received {"connection_id":145821,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:59:57] local.INFO: Processing buffer {"connection_id":145821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:59:57] local.INFO: IMEI packet received {"connection_id":145821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 03:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":145821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 03:59:58] local.INFO: TCP Data received {"connection_id":145821,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:59:58] local.INFO: Processing buffer {"connection_id":145821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 03:59:58] local.INFO: IMEI packet received {"connection_id":145821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 03:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":145821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:00:05] local.INFO: TCP Data received {"connection_id":145821,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba4bd9e8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba4bd9e8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:00:05] local.INFO: Processing buffer {"connection_id":145821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba4bd9e8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:00:05] local.INFO: Packet analysis {"connection_id":145821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba4b"} 
[2026-08-01 04:00:05] local.INFO: Extracted packet for processing {"connection_id":145821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba4b"} 
[2026-08-01 04:00:05] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":44,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097384960001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 04:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785536961000,"timestamp_ms":1785536961000,"timestamp_seconds":1785536961,"priority":1,"record_length":96,"hex_timestamp":"0000019fba4bd9e8"} 
[2026-08-01 04:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:00: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-08-01 04: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-01 04:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04: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-08-01 04:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097384960001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097384960001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:00:05] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:00:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097384960001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":145821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:00:05] local.INFO: GPS data processed {"connection_id":145821,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:00:05] local.INFO: Acknowledgment sent {"connection_id":145821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:00:36] local.INFO: TCP Data received {"connection_id":145821,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba4bd9e8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba4bd9e8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:00:36] local.INFO: Processing buffer {"connection_id":145821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba4bd9e8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:00:36] local.INFO: Packet analysis {"connection_id":145821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba4b"} 
[2026-08-01 04:00:36] local.INFO: Extracted packet for processing {"connection_id":145821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba4b"} 
[2026-08-01 04:00:36] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":44,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 04:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097384960001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 04:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785536961000,"timestamp_ms":1785536961000,"timestamp_seconds":1785536961,"priority":1,"record_length":96,"hex_timestamp":"0000019fba4bd9e8"} 
[2026-08-01 04:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 04:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-01 04:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 04:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097384960001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097384960001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:00:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:00:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097384960001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":145821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:00:36] local.INFO: GPS data processed {"connection_id":145821,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:00:36] local.INFO: Acknowledgment sent {"connection_id":145821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:00:56] local.INFO: TCP Data received {"connection_id":146021,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:00:56] local.INFO: Processing buffer {"connection_id":146021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:00:56] local.INFO: IMEI packet received {"connection_id":146021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":146021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:01:02] local.INFO: TCP Data received {"connection_id":146021,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:01:02] local.INFO: Processing buffer {"connection_id":146021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:01:02] local.INFO: IMEI packet received {"connection_id":146021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":146021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:01:02] local.INFO: TCP Data received {"connection_id":146021,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba4bd9e8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba4bd9e8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:01:02] local.INFO: Processing buffer {"connection_id":146021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba4bd9e8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:01:02] local.INFO: Packet analysis {"connection_id":146021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba4b"} 
[2026-08-01 04:01:02] local.INFO: Extracted packet for processing {"connection_id":146021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba4b"} 
[2026-08-01 04:01:02] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":44,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097384960001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:01: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-08-01 04:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785536961000,"timestamp_ms":1785536961000,"timestamp_seconds":1785536961,"priority":1,"record_length":96,"hex_timestamp":"0000019fba4bd9e8"} 
[2026-08-01 04:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:01: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-08-01 04: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-01 04:01:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04: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-08-01 04:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097384960001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097384960001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:01:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:01:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097384960001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":146021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:01:03] local.INFO: GPS data processed {"connection_id":146021,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:01:03] local.INFO: Acknowledgment sent {"connection_id":146021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:01:36] local.INFO: TCP Data received {"connection_id":146021,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba4bd9e8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba4bd9e8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:01:36] local.INFO: Processing buffer {"connection_id":146021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba4bd9e8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:01:36] local.INFO: Packet analysis {"connection_id":146021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba4b"} 
[2026-08-01 04:01:36] local.INFO: Extracted packet for processing {"connection_id":146021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba4b"} 
[2026-08-01 04:01:36] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":44,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097384960001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:01: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-08-01 04:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785536961000,"timestamp_ms":1785536961000,"timestamp_seconds":1785536961,"priority":1,"record_length":96,"hex_timestamp":"0000019fba4bd9e8"} 
[2026-08-01 04:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 04: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-01 04:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04: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-08-01 04:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097384960001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097384960001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:01:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:01:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097384960001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":146021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:01:36] local.INFO: GPS data processed {"connection_id":146021,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:01:36] local.INFO: Acknowledgment sent {"connection_id":146021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:01:56] local.INFO: TCP Data received {"connection_id":147045,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:01:56] local.INFO: Processing buffer {"connection_id":147045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:01:56] local.INFO: IMEI packet received {"connection_id":147045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":147045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:02:02] local.INFO: TCP Data received {"connection_id":147045,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:02:02] local.INFO: Processing buffer {"connection_id":147045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:02:02] local.INFO: IMEI packet received {"connection_id":147045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":147045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:02:03] local.INFO: TCP Data received {"connection_id":147045,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba4bd9e8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba4bd9e8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:02:03] local.INFO: Processing buffer {"connection_id":147045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba4bd9e8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:02:03] local.INFO: Packet analysis {"connection_id":147045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba4b"} 
[2026-08-01 04:02:03] local.INFO: Extracted packet for processing {"connection_id":147045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba4b"} 
[2026-08-01 04:02:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":44,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097384960001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04: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-08-01 04:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785536961000,"timestamp_ms":1785536961000,"timestamp_seconds":1785536961,"priority":1,"record_length":96,"hex_timestamp":"0000019fba4bd9e8"} 
[2026-08-01 04:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04: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-08-01 04: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-01 04:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04: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-08-01 04:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097384960001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097384960001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:02:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:02:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097384960001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":147045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:02:03] local.INFO: GPS data processed {"connection_id":147045,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:02:03] local.INFO: Acknowledgment sent {"connection_id":147045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:02:34] local.INFO: TCP Data received {"connection_id":147045,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba4bd9e8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba4bd9e8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:02:34] local.INFO: Processing buffer {"connection_id":147045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba4bd9e8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:02:34] local.INFO: Packet analysis {"connection_id":147045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba4b"} 
[2026-08-01 04:02:34] local.INFO: Extracted packet for processing {"connection_id":147045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba4b"} 
[2026-08-01 04:02:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":44,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 04:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097384960001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:02:34] 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-08-01 04:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785536961000,"timestamp_ms":1785536961000,"timestamp_seconds":1785536961,"priority":1,"record_length":96,"hex_timestamp":"0000019fba4bd9e8"} 
[2026-08-01 04:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:02: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-08-01 04:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-01 04:02:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04:02:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 04:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097384960001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097384960001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:02:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:02:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097384960001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":147045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:02:34] local.INFO: GPS data processed {"connection_id":147045,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:02:34] local.INFO: Acknowledgment sent {"connection_id":147045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:03:01] local.INFO: TCP Data received {"connection_id":147046,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:03:01] local.INFO: Processing buffer {"connection_id":147046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:03:01] local.INFO: IMEI packet received {"connection_id":147046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":147046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:03:07] local.INFO: TCP Data received {"connection_id":147046,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:03:07] local.INFO: Processing buffer {"connection_id":147046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:03:07] local.INFO: IMEI packet received {"connection_id":147046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":147046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:03:08] local.INFO: TCP Data received {"connection_id":147046,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba4bd9e8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba4bd9e8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:03:08] local.INFO: Processing buffer {"connection_id":147046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba4bd9e8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:03:08] local.INFO: Packet analysis {"connection_id":147046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba4b"} 
[2026-08-01 04:03:08] local.INFO: Extracted packet for processing {"connection_id":147046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba4b"} 
[2026-08-01 04:03:08] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":44,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097384960001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:03: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-08-01 04:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785536961000,"timestamp_ms":1785536961000,"timestamp_seconds":1785536961,"priority":1,"record_length":96,"hex_timestamp":"0000019fba4bd9e8"} 
[2026-08-01 04:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 04: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-01 04:03:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04: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-08-01 04:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":147046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":147046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":147046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097384960001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097384960001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:03:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:03:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097384960001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":147046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:03:08] local.INFO: GPS data processed {"connection_id":147046,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:03:08] local.INFO: Acknowledgment sent {"connection_id":147046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:03:41] local.INFO: TCP Data received {"connection_id":147046,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba4bd9e8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba4bd9e8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:03:41] local.INFO: Processing buffer {"connection_id":147046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba4bd9e8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:03:41] local.INFO: Packet analysis {"connection_id":147046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba4b"} 
[2026-08-01 04:03:41] local.INFO: Extracted packet for processing {"connection_id":147046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba4b"} 
[2026-08-01 04:03:41] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":44,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097384960001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04: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-08-01 04:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785536961000,"timestamp_ms":1785536961000,"timestamp_seconds":1785536961,"priority":1,"record_length":96,"hex_timestamp":"0000019fba4bd9e8"} 
[2026-08-01 04:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04: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-08-01 04: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-01 04:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04: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-08-01 04:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":147046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":147046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":147046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097384960001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097384960001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:03:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:03:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097384960001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":147046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:03:41] local.INFO: GPS data processed {"connection_id":147046,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:03:41] local.INFO: Acknowledgment sent {"connection_id":147046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:03:56] local.INFO: TCP Data received {"connection_id":148362,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:03:56] local.INFO: Processing buffer {"connection_id":148362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:03:56] local.INFO: IMEI packet received {"connection_id":148362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":148362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:04:02] local.INFO: TCP Data received {"connection_id":148362,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:04:02] local.INFO: Processing buffer {"connection_id":148362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:04:02] local.INFO: IMEI packet received {"connection_id":148362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":148362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:04:02] local.INFO: TCP Data received {"connection_id":148362,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba4bd9e8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba4bd9e8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:04:02] local.INFO: Processing buffer {"connection_id":148362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba4bd9e8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:04:02] local.INFO: Packet analysis {"connection_id":148362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba4b"} 
[2026-08-01 04:04:02] local.INFO: Extracted packet for processing {"connection_id":148362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba4b"} 
[2026-08-01 04:04:02] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":44,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 04:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097384960001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:04: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-08-01 04:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785536961000,"timestamp_ms":1785536961000,"timestamp_seconds":1785536961,"priority":1,"record_length":96,"hex_timestamp":"0000019fba4bd9e8"} 
[2026-08-01 04:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:04: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-08-01 04:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-01 04:04:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04:04:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 04:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":148362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":148362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":148362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097384960001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097384960001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:04:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:04:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097384960001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":148362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:04:02] local.INFO: GPS data processed {"connection_id":148362,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:04:02] local.INFO: Acknowledgment sent {"connection_id":148362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:04:35] local.INFO: TCP Data received {"connection_id":148362,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba4bd9e8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba4bd9e8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:04:35] local.INFO: Processing buffer {"connection_id":148362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba4bd9e8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:04:35] local.INFO: Packet analysis {"connection_id":148362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba4b"} 
[2026-08-01 04:04:35] local.INFO: Extracted packet for processing {"connection_id":148362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba4b"} 
[2026-08-01 04:04:35] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":44,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097384960001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:04: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-08-01 04:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785536961000,"timestamp_ms":1785536961000,"timestamp_seconds":1785536961,"priority":1,"record_length":96,"hex_timestamp":"0000019fba4bd9e8"} 
[2026-08-01 04:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 04: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-01 04:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04: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-08-01 04:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097384960001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097384960001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:04:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:04:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097384960001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":148362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:04:35] local.INFO: GPS data processed {"connection_id":148362,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:04:35] local.INFO: Acknowledgment sent {"connection_id":148362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:04:56] local.INFO: TCP Data received {"connection_id":146022,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:04:56] local.INFO: Processing buffer {"connection_id":146022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:04:56] local.INFO: IMEI packet received {"connection_id":146022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":146022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:05:00] local.INFO: TCP Data received {"connection_id":146022,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:05:00] local.INFO: Processing buffer {"connection_id":146022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:05:00] local.INFO: IMEI packet received {"connection_id":146022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":146022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:05:01] local.INFO: TCP Data received {"connection_id":146022,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:05:01] local.INFO: Processing buffer {"connection_id":146022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:05:01] local.INFO: IMEI packet received {"connection_id":146022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":146022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:05:02] local.INFO: TCP Data received {"connection_id":146022,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba506dc8012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba506dc8012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:05:02] local.INFO: Processing buffer {"connection_id":146022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba506dc8012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:05:02] local.INFO: Packet analysis {"connection_id":146022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba50"} 
[2026-08-01 04:05:02] local.INFO: Extracted packet for processing {"connection_id":146022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba50"} 
[2026-08-01 04:05:02] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 04:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097462016001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:05: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-08-01 04:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785537261000,"timestamp_ms":1785537261000,"timestamp_seconds":1785537261,"priority":1,"record_length":96,"hex_timestamp":"0000019fba506dc8"} 
[2026-08-01 04:05:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:05: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-08-01 04:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 04:05: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-08-01 04:05:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 04:05:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:05:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097462016001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097462016001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:05:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:05:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097462016001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":146022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:05:02] local.INFO: GPS data processed {"connection_id":146022,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:05:02] local.INFO: Acknowledgment sent {"connection_id":146022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:05:07] local.INFO: TCP Data received {"connection_id":146022,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba506dc8012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba506dc8012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:05:07] local.INFO: Processing buffer {"connection_id":146022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba506dc8012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:05:07] local.INFO: Packet analysis {"connection_id":146022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba50"} 
[2026-08-01 04:05:07] local.INFO: Extracted packet for processing {"connection_id":146022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba50"} 
[2026-08-01 04:05:07] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097462016001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 04:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785537261000,"timestamp_ms":1785537261000,"timestamp_seconds":1785537261,"priority":1,"record_length":96,"hex_timestamp":"0000019fba506dc8"} 
[2026-08-01 04:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:05: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-08-01 04: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 04:05:07] 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-08-01 04: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-08-01 04:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097462016001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097462016001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:05:07] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:05:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097462016001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":146022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:05:07] local.INFO: GPS data processed {"connection_id":146022,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:05:07] local.INFO: Acknowledgment sent {"connection_id":146022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:05:40] local.INFO: TCP Data received {"connection_id":146022,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba506dc8012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba506dc8012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:05:40] local.INFO: Processing buffer {"connection_id":146022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba506dc8012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:05:40] local.INFO: Packet analysis {"connection_id":146022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba50"} 
[2026-08-01 04:05:40] local.INFO: Extracted packet for processing {"connection_id":146022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba50"} 
[2026-08-01 04:05:40] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097462016001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:05:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:05:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 04:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785537261000,"timestamp_ms":1785537261000,"timestamp_seconds":1785537261,"priority":1,"record_length":96,"hex_timestamp":"0000019fba506dc8"} 
[2026-08-01 04:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:05:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 04: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 04:05:40] 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-08-01 04: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-08-01 04:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:05:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097462016001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097462016001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:05:40] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:05:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097462016001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":146022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:05:40] local.INFO: GPS data processed {"connection_id":146022,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:05:40] local.INFO: Acknowledgment sent {"connection_id":146022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:05:58] local.INFO: TCP Data received {"connection_id":148363,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:05:58] local.INFO: Processing buffer {"connection_id":148363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:05:58] local.INFO: IMEI packet received {"connection_id":148363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":148363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:06:02] local.INFO: TCP Data received {"connection_id":148363,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:06:02] local.INFO: Processing buffer {"connection_id":148363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:06:02] local.INFO: IMEI packet received {"connection_id":148363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":148363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:06:03] local.INFO: TCP Data received {"connection_id":148363,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba506dc8012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba506dc8012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:06:03] local.INFO: Processing buffer {"connection_id":148363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba506dc8012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:06:03] local.INFO: Packet analysis {"connection_id":148363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba50"} 
[2026-08-01 04:06:03] local.INFO: Extracted packet for processing {"connection_id":148363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba50"} 
[2026-08-01 04:06:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 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-08-01 04:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097462016001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04: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-08-01 04:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785537261000,"timestamp_ms":1785537261000,"timestamp_seconds":1785537261,"priority":1,"record_length":96,"hex_timestamp":"0000019fba506dc8"} 
[2026-08-01 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-08-01 04: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-08-01 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 04: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-08-01 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-08-01 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-08-01 04:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097462016001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097462016001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:06:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:06:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097462016001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":148363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:06:03] local.INFO: GPS data processed {"connection_id":148363,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:06:03] local.INFO: Acknowledgment sent {"connection_id":148363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:06:34] local.INFO: TCP Data received {"connection_id":148363,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba506dc8012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba506dc8012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:06:34] local.INFO: Processing buffer {"connection_id":148363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba506dc8012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:06:34] local.INFO: Packet analysis {"connection_id":148363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba50"} 
[2026-08-01 04:06:34] local.INFO: Extracted packet for processing {"connection_id":148363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba50"} 
[2026-08-01 04:06:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097462016001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:06:34] 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-08-01 04:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785537261000,"timestamp_ms":1785537261000,"timestamp_seconds":1785537261,"priority":1,"record_length":96,"hex_timestamp":"0000019fba506dc8"} 
[2026-08-01 04:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:06: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-08-01 04: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 04:06:34] 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-08-01 04: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-08-01 04:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097462016001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097462016001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:06:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:06:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097462016001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":148363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:06:34] local.INFO: GPS data processed {"connection_id":148363,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:06:34] local.INFO: Acknowledgment sent {"connection_id":148363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:06:56] local.INFO: TCP Data received {"connection_id":145822,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:06:56] local.INFO: Processing buffer {"connection_id":145822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:06:56] local.INFO: IMEI packet received {"connection_id":145822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":145822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:07:02] local.INFO: TCP Data received {"connection_id":145822,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:07:02] local.INFO: Processing buffer {"connection_id":145822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:07:02] local.INFO: IMEI packet received {"connection_id":145822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":145822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:07:03] local.INFO: TCP Data received {"connection_id":145822,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba506dc8012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba506dc8012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:07:03] local.INFO: Processing buffer {"connection_id":145822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba506dc8012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:07:03] local.INFO: Packet analysis {"connection_id":145822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba50"} 
[2026-08-01 04:07:03] local.INFO: Extracted packet for processing {"connection_id":145822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba50"} 
[2026-08-01 04:07:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097462016001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04: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-08-01 04:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785537261000,"timestamp_ms":1785537261000,"timestamp_seconds":1785537261,"priority":1,"record_length":96,"hex_timestamp":"0000019fba506dc8"} 
[2026-08-01 04:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:07: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-08-01 04: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 04:07: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-08-01 04: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-08-01 04:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097462016001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097462016001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:07:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:07:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097462016001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":145822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:07:03] local.INFO: GPS data processed {"connection_id":145822,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:07:03] local.INFO: Acknowledgment sent {"connection_id":145822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:07:36] local.INFO: TCP Data received {"connection_id":145822,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba506dc8012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba506dc8012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:07:36] local.INFO: Processing buffer {"connection_id":145822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba506dc8012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:07:36] local.INFO: Packet analysis {"connection_id":145822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba50"} 
[2026-08-01 04:07:36] local.INFO: Extracted packet for processing {"connection_id":145822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba50"} 
[2026-08-01 04:07:36] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097462016001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 04:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785537261000,"timestamp_ms":1785537261000,"timestamp_seconds":1785537261,"priority":1,"record_length":96,"hex_timestamp":"0000019fba506dc8"} 
[2026-08-01 04:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:07: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-08-01 04: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 04:07:36] 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-08-01 04: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-08-01 04:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097462016001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097462016001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:07:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:07:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097462016001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":145822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:07:36] local.INFO: GPS data processed {"connection_id":145822,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:07:36] local.INFO: Acknowledgment sent {"connection_id":145822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:08:02] local.INFO: TCP Data received {"connection_id":146023,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:08:02] local.INFO: Processing buffer {"connection_id":146023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:08:02] local.INFO: IMEI packet received {"connection_id":146023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":146023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:08:06] local.INFO: TCP Data received {"connection_id":146023,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:08:06] local.INFO: Processing buffer {"connection_id":146023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:08:06] local.INFO: IMEI packet received {"connection_id":146023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":146023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:08:07] local.INFO: TCP Data received {"connection_id":146023,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba506dc8012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba506dc8012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:08:07] local.INFO: Processing buffer {"connection_id":146023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba506dc8012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:08:07] local.INFO: Packet analysis {"connection_id":146023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba50"} 
[2026-08-01 04:08:07] local.INFO: Extracted packet for processing {"connection_id":146023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba50"} 
[2026-08-01 04:08:07] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 04:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097462016001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:08: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-08-01 04:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785537261000,"timestamp_ms":1785537261000,"timestamp_seconds":1785537261,"priority":1,"record_length":96,"hex_timestamp":"0000019fba506dc8"} 
[2026-08-01 04:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:08: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-08-01 04:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 04:08:07] 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-08-01 04:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 04:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097462016001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097462016001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:08:07] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:08:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097462016001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":146023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:08:07] local.INFO: GPS data processed {"connection_id":146023,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:08:07] local.INFO: Acknowledgment sent {"connection_id":146023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:08:12] local.INFO: TCP Data received {"connection_id":146023,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba506dc8012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba506dc8012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:08:12] local.INFO: Processing buffer {"connection_id":146023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba506dc8012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:08:12] local.INFO: Packet analysis {"connection_id":146023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba50"} 
[2026-08-01 04:08:12] local.INFO: Extracted packet for processing {"connection_id":146023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba50"} 
[2026-08-01 04:08:12] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097462016001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:08:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:08:12] 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-08-01 04:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785537261000,"timestamp_ms":1785537261000,"timestamp_seconds":1785537261,"priority":1,"record_length":96,"hex_timestamp":"0000019fba506dc8"} 
[2026-08-01 04:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 04: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 04:08:12] 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-08-01 04: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-08-01 04:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":146023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":146023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":146023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097462016001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097462016001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:08:12] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:08:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:08:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097462016001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":146023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:08:12] local.INFO: GPS data processed {"connection_id":146023,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:08:12] local.INFO: Acknowledgment sent {"connection_id":146023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:08:58] local.INFO: TCP Data received {"connection_id":146024,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:08:58] local.INFO: Processing buffer {"connection_id":146024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:08:58] local.INFO: IMEI packet received {"connection_id":146024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":146024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:09:03] local.INFO: TCP Data received {"connection_id":146024,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:09:03] local.INFO: Processing buffer {"connection_id":146024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:09:03] local.INFO: IMEI packet received {"connection_id":146024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":146024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:09:03] local.INFO: TCP Data received {"connection_id":146024,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba506dc8012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba506dc8012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:09:03] local.INFO: Processing buffer {"connection_id":146024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba506dc8012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:09:03] local.INFO: Packet analysis {"connection_id":146024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba50"} 
[2026-08-01 04:09:03] local.INFO: Extracted packet for processing {"connection_id":146024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba50"} 
[2026-08-01 04:09:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 04:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097462016001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04: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-08-01 04:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785537261000,"timestamp_ms":1785537261000,"timestamp_seconds":1785537261,"priority":1,"record_length":96,"hex_timestamp":"0000019fba506dc8"} 
[2026-08-01 04:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04: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-08-01 04:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 04:09: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-08-01 04:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 04:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097462016001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097462016001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:09:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:09:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097462016001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":146024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:09:03] local.INFO: GPS data processed {"connection_id":146024,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:09:03] local.INFO: Acknowledgment sent {"connection_id":146024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:09:08] local.INFO: TCP Data received {"connection_id":146024,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba506dc8012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba506dc8012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:09:08] local.INFO: Processing buffer {"connection_id":146024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba506dc8012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:09:08] local.INFO: Packet analysis {"connection_id":146024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba50"} 
[2026-08-01 04:09:08] local.INFO: Extracted packet for processing {"connection_id":146024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba50"} 
[2026-08-01 04:09:08] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097462016001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:09: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-08-01 04:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785537261000,"timestamp_ms":1785537261000,"timestamp_seconds":1785537261,"priority":1,"record_length":96,"hex_timestamp":"0000019fba506dc8"} 
[2026-08-01 04:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:09: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-08-01 04: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 04:09:08] 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-08-01 04: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-08-01 04:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":146024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":146024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":146024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097462016001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097462016001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:09:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:09:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097462016001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":146024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:09:08] local.INFO: GPS data processed {"connection_id":146024,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:09:08] local.INFO: Acknowledgment sent {"connection_id":146024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:09:39] local.INFO: TCP Data received {"connection_id":146024,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba506dc8012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba506dc8012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:09:39] local.INFO: Processing buffer {"connection_id":146024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba506dc8012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:09:39] local.INFO: Packet analysis {"connection_id":146024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba50"} 
[2026-08-01 04:09:39] local.INFO: Extracted packet for processing {"connection_id":146024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba50"} 
[2026-08-01 04:09:39] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 04:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097462016001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 04:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785537261000,"timestamp_ms":1785537261000,"timestamp_seconds":1785537261,"priority":1,"record_length":96,"hex_timestamp":"0000019fba506dc8"} 
[2026-08-01 04:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:09:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 04:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 04:09:39] 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-08-01 04:09:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 04:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097462016001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097462016001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:09:39] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:09:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097462016001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":146024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:09:39] local.INFO: GPS data processed {"connection_id":146024,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:09:39] local.INFO: Acknowledgment sent {"connection_id":146024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:09:56] local.INFO: TCP Data received {"connection_id":148364,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:09:56] local.INFO: Processing buffer {"connection_id":148364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:09:56] local.INFO: IMEI packet received {"connection_id":148364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":148364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:10:01] local.INFO: TCP Data received {"connection_id":148364,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:10:01] local.INFO: Processing buffer {"connection_id":148364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:10:01] local.INFO: IMEI packet received {"connection_id":148364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":148364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:10:02] local.INFO: TCP Data received {"connection_id":148364,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba550590012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba550590012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:10:02] local.INFO: Processing buffer {"connection_id":148364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba550590012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:10:02] local.INFO: Packet analysis {"connection_id":148364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba55"} 
[2026-08-01 04:10:02] local.INFO: Extracted packet for processing {"connection_id":148364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba55"} 
[2026-08-01 04:10:02] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097538816001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:10: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-08-01 04:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785537562000,"timestamp_ms":1785537562000,"timestamp_seconds":1785537562,"priority":1,"record_length":96,"hex_timestamp":"0000019fba550590"} 
[2026-08-01 04:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:10: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-08-01 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 04:10:02] 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-08-01 04: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-08-01 04:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":148364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":148364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":148364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097538816001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097538816001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:10:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:10:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097538816001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":148364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:10:02] local.INFO: GPS data processed {"connection_id":148364,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:10:02] local.INFO: Acknowledgment sent {"connection_id":148364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:10:33] local.INFO: TCP Data received {"connection_id":148364,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba550590012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba550590012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:10:33] local.INFO: Processing buffer {"connection_id":148364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba550590012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:10:33] local.INFO: Packet analysis {"connection_id":148364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba55"} 
[2026-08-01 04:10:33] local.INFO: Extracted packet for processing {"connection_id":148364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba55"} 
[2026-08-01 04:10:33] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097538816001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:10: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-08-01 04:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785537562000,"timestamp_ms":1785537562000,"timestamp_seconds":1785537562,"priority":1,"record_length":96,"hex_timestamp":"0000019fba550590"} 
[2026-08-01 04:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 04: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":86,"data_length":795,"current_offset":136} 
[2026-08-01 04:10:33] 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-08-01 04: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-08-01 04:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":148364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":148364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":148364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097538816001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097538816001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:10:33] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:10:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097538816001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":148364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:10:33] local.INFO: GPS data processed {"connection_id":148364,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:10:33] local.INFO: Acknowledgment sent {"connection_id":148364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:10:56] local.INFO: TCP Data received {"connection_id":145823,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:10:56] local.INFO: Processing buffer {"connection_id":145823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:10:56] local.INFO: IMEI packet received {"connection_id":145823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":145823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:11:02] local.INFO: TCP Data received {"connection_id":145823,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:11:02] local.INFO: Processing buffer {"connection_id":145823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:11:02] local.INFO: IMEI packet received {"connection_id":145823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":145823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:11:03] local.INFO: TCP Data received {"connection_id":145823,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba550590012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba550590012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:11:03] local.INFO: Processing buffer {"connection_id":145823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba550590012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:11:03] local.INFO: Packet analysis {"connection_id":145823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba55"} 
[2026-08-01 04:11:03] local.INFO: Extracted packet for processing {"connection_id":145823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba55"} 
[2026-08-01 04:11:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097538816001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04: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-08-01 04:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785537562000,"timestamp_ms":1785537562000,"timestamp_seconds":1785537562,"priority":1,"record_length":96,"hex_timestamp":"0000019fba550590"} 
[2026-08-01 04:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:11: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-08-01 04:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 04:11:03] 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-08-01 04: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-08-01 04:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097538816001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097538816001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:11:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:11:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097538816001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":145823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:11:03] local.INFO: GPS data processed {"connection_id":145823,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:11:03] local.INFO: Acknowledgment sent {"connection_id":145823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:11:34] local.INFO: TCP Data received {"connection_id":145823,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba550590012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba550590012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:11:34] local.INFO: Processing buffer {"connection_id":145823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba550590012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:11:34] local.INFO: Packet analysis {"connection_id":145823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba55"} 
[2026-08-01 04:11:34] local.INFO: Extracted packet for processing {"connection_id":145823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba55"} 
[2026-08-01 04:11:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097538816001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:11:34] 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-08-01 04:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785537562000,"timestamp_ms":1785537562000,"timestamp_seconds":1785537562,"priority":1,"record_length":96,"hex_timestamp":"0000019fba550590"} 
[2026-08-01 04:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:11: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-08-01 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 04:11:34] 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-08-01 04: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-08-01 04:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097538816001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097538816001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:11:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:11:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097538816001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":145823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:11:34] local.INFO: GPS data processed {"connection_id":145823,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:11:34] local.INFO: Acknowledgment sent {"connection_id":145823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:12:02] local.INFO: TCP Data received {"connection_id":148365,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:12:02] local.INFO: Processing buffer {"connection_id":148365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:12:02] local.INFO: IMEI packet received {"connection_id":148365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":148365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:12:07] local.INFO: TCP Data received {"connection_id":148365,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:12:07] local.INFO: Processing buffer {"connection_id":148365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:12:07] local.INFO: IMEI packet received {"connection_id":148365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":148365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:12:08] local.INFO: TCP Data received {"connection_id":148365,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba550590012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba550590012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:12:08] local.INFO: Processing buffer {"connection_id":148365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba550590012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:12:08] local.INFO: Packet analysis {"connection_id":148365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba55"} 
[2026-08-01 04:12:08] local.INFO: Extracted packet for processing {"connection_id":148365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba55"} 
[2026-08-01 04:12:08] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 04:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097538816001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:12: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-08-01 04:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785537562000,"timestamp_ms":1785537562000,"timestamp_seconds":1785537562,"priority":1,"record_length":96,"hex_timestamp":"0000019fba550590"} 
[2026-08-01 04:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:12: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-08-01 04:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 04:12:08] 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-08-01 04:12:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 04:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":148365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":148365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":148365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097538816001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097538816001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:12:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:12:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097538816001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":148365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:12:08] local.INFO: GPS data processed {"connection_id":148365,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:12:08] local.INFO: Acknowledgment sent {"connection_id":148365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:12:12] local.INFO: TCP Data received {"connection_id":148365,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba550590012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba550590012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:12:12] local.INFO: Processing buffer {"connection_id":148365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba550590012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:12:12] local.INFO: Packet analysis {"connection_id":148365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba55"} 
[2026-08-01 04:12:12] local.INFO: Extracted packet for processing {"connection_id":148365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba55"} 
[2026-08-01 04:12:12] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097538816001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:12:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:12:12] 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-08-01 04:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785537562000,"timestamp_ms":1785537562000,"timestamp_seconds":1785537562,"priority":1,"record_length":96,"hex_timestamp":"0000019fba550590"} 
[2026-08-01 04:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:12:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 04:12:12] 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-08-01 04: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-08-01 04:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":148365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":148365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":148365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097538816001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097538816001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:12:12] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:12:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:12:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097538816001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":148365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:12:12] local.INFO: GPS data processed {"connection_id":148365,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:12:12] local.INFO: Acknowledgment sent {"connection_id":148365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:12:58] local.INFO: TCP Data received {"connection_id":146025,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:12:58] local.INFO: Processing buffer {"connection_id":146025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:12:58] local.INFO: IMEI packet received {"connection_id":146025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":146025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:13:03] local.INFO: TCP Data received {"connection_id":146025,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:13:03] local.INFO: Processing buffer {"connection_id":146025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:13:03] local.INFO: IMEI packet received {"connection_id":146025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":146025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:13:04] local.INFO: TCP Data received {"connection_id":146025,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba550590012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba550590012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:13:04] local.INFO: Processing buffer {"connection_id":146025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba550590012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:13:04] local.INFO: Packet analysis {"connection_id":146025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba55"} 
[2026-08-01 04:13:04] local.INFO: Extracted packet for processing {"connection_id":146025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba55"} 
[2026-08-01 04:13:04] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097538816001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:13: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-08-01 04:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785537562000,"timestamp_ms":1785537562000,"timestamp_seconds":1785537562,"priority":1,"record_length":96,"hex_timestamp":"0000019fba550590"} 
[2026-08-01 04:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:13: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-08-01 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 04:13:04] 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-08-01 04: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-08-01 04:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097538816001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097538816001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:13:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:13:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097538816001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":146025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:13:04] local.INFO: GPS data processed {"connection_id":146025,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:13:04] local.INFO: Acknowledgment sent {"connection_id":146025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:13:07] local.INFO: TCP Data received {"connection_id":146025,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba550590012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba550590012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:13:07] local.INFO: Processing buffer {"connection_id":146025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba550590012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:13:07] local.INFO: Packet analysis {"connection_id":146025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba55"} 
[2026-08-01 04:13:07] local.INFO: Extracted packet for processing {"connection_id":146025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba55"} 
[2026-08-01 04:13:07] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097538816001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:13: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-08-01 04:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785537562000,"timestamp_ms":1785537562000,"timestamp_seconds":1785537562,"priority":1,"record_length":96,"hex_timestamp":"0000019fba550590"} 
[2026-08-01 04:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:13: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-08-01 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 04:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04: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-08-01 04:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097538816001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097538816001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:13:07] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:13:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097538816001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":146025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:13:07] local.INFO: GPS data processed {"connection_id":146025,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:13:07] local.INFO: Acknowledgment sent {"connection_id":146025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:13:38] local.INFO: TCP Data received {"connection_id":146025,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba550590012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba550590012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:13:38] local.INFO: Processing buffer {"connection_id":146025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba550590012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:13:38] local.INFO: Packet analysis {"connection_id":146025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba55"} 
[2026-08-01 04:13:38] local.INFO: Extracted packet for processing {"connection_id":146025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba55"} 
[2026-08-01 04:13:38] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 04:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097538816001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:13:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 04:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785537562000,"timestamp_ms":1785537562000,"timestamp_seconds":1785537562,"priority":1,"record_length":96,"hex_timestamp":"0000019fba550590"} 
[2026-08-01 04:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:13: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-08-01 04:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 04:13:38] 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-08-01 04:13:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 04:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097538816001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097538816001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:13:38] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:13:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097538816001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":146025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:13:38] local.INFO: GPS data processed {"connection_id":146025,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:13:38] local.INFO: Acknowledgment sent {"connection_id":146025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:13:56] local.INFO: TCP Data received {"connection_id":146026,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:13:56] local.INFO: Processing buffer {"connection_id":146026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:13:56] local.INFO: IMEI packet received {"connection_id":146026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":146026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:14:02] local.INFO: TCP Data received {"connection_id":146026,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:14:02] local.INFO: Processing buffer {"connection_id":146026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:14:02] local.INFO: IMEI packet received {"connection_id":146026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":146026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:14:03] local.INFO: TCP Data received {"connection_id":146026,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba550590012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba550590012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:14:03] local.INFO: Processing buffer {"connection_id":146026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba550590012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:14:03] local.INFO: Packet analysis {"connection_id":146026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba55"} 
[2026-08-01 04:14:03] local.INFO: Extracted packet for processing {"connection_id":146026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba55"} 
[2026-08-01 04:14:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097538816001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04: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-08-01 04:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785537562000,"timestamp_ms":1785537562000,"timestamp_seconds":1785537562,"priority":1,"record_length":96,"hex_timestamp":"0000019fba550590"} 
[2026-08-01 04:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04: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-08-01 04: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":86,"data_length":795,"current_offset":136} 
[2026-08-01 04:14:03] 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-08-01 04: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-08-01 04:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097538816001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097538816001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:14:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:14:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097538816001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":146026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:14:03] local.INFO: GPS data processed {"connection_id":146026,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:14:03] local.INFO: Acknowledgment sent {"connection_id":146026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:14:34] local.INFO: TCP Data received {"connection_id":146026,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba550590012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba550590012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:14:34] local.INFO: Processing buffer {"connection_id":146026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba550590012d77a14005f2a670002600fa29..."} 
[2026-08-01 04:14:34] local.INFO: Packet analysis {"connection_id":146026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba55"} 
[2026-08-01 04:14:34] local.INFO: Extracted packet for processing {"connection_id":146026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba55"} 
[2026-08-01 04:14:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097538816001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:14:34] 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-08-01 04:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785537562000,"timestamp_ms":1785537562000,"timestamp_seconds":1785537562,"priority":1,"record_length":96,"hex_timestamp":"0000019fba550590"} 
[2026-08-01 04:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:14: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-08-01 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 04:14:34] 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-08-01 04: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-08-01 04:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097538816001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097538816001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:14:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:14:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097538816001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":146026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:14:34] local.INFO: GPS data processed {"connection_id":146026,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:14:34] local.INFO: Acknowledgment sent {"connection_id":146026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:14:56] local.INFO: TCP Data received {"connection_id":145824,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:14:56] local.INFO: Processing buffer {"connection_id":145824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:14:56] local.INFO: IMEI packet received {"connection_id":145824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":145824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:15:02] local.INFO: TCP Data received {"connection_id":145824,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:15:02] local.INFO: Processing buffer {"connection_id":145824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:15:02] local.INFO: IMEI packet received {"connection_id":145824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":145824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:15:03] local.INFO: TCP Data received {"connection_id":145824,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba599d58012d77a14005f2a670002600fa25..."} 
[2026-08-01 04:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba599d58012d77a14005f2a670002600fa25..."} 
[2026-08-01 04:15:03] local.INFO: Processing buffer {"connection_id":145824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba599d58012d77a14005f2a670002600fa25..."} 
[2026-08-01 04:15:03] local.INFO: Packet analysis {"connection_id":145824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba59"} 
[2026-08-01 04:15:03] local.INFO: Extracted packet for processing {"connection_id":145824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba59"} 
[2026-08-01 04:15:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097615872001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04: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-08-01 04:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785537863000,"timestamp_ms":1785537863000,"timestamp_seconds":1785537863,"priority":1,"record_length":96,"hex_timestamp":"0000019fba599d58"} 
[2026-08-01 04:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04: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-08-01 04: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":86,"data_length":795,"current_offset":136} 
[2026-08-01 04:15:03] 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-08-01 04: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-08-01 04:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097615872001,"66":25462,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097615872001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:15:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:15:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097615872001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":145824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:15:03] local.INFO: GPS data processed {"connection_id":145824,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:15:03] local.INFO: Acknowledgment sent {"connection_id":145824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:15:33] local.INFO: TCP Data received {"connection_id":145824,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba599d58012d77a14005f2a670002600fa25..."} 
[2026-08-01 04:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba599d58012d77a14005f2a670002600fa25..."} 
[2026-08-01 04:15:33] local.INFO: Processing buffer {"connection_id":145824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba599d58012d77a14005f2a670002600fa25..."} 
[2026-08-01 04:15:33] local.INFO: Packet analysis {"connection_id":145824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba59"} 
[2026-08-01 04:15:33] local.INFO: Extracted packet for processing {"connection_id":145824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba59"} 
[2026-08-01 04:15:33] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097615872001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:15: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-08-01 04:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785537863000,"timestamp_ms":1785537863000,"timestamp_seconds":1785537863,"priority":1,"record_length":96,"hex_timestamp":"0000019fba599d58"} 
[2026-08-01 04:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 04: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":86,"data_length":795,"current_offset":136} 
[2026-08-01 04:15:33] 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-08-01 04: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-08-01 04:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":145824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":145824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":145824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097615872001,"66":25462,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097615872001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:15:33] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:15:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097615872001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":145824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:15:33] local.INFO: GPS data processed {"connection_id":145824,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:15:33] local.INFO: Acknowledgment sent {"connection_id":145824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:15:57] local.INFO: TCP Data received {"connection_id":147047,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:15:57] local.INFO: Processing buffer {"connection_id":147047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:15:57] local.INFO: IMEI packet received {"connection_id":147047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":147047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:16:02] local.INFO: TCP Data received {"connection_id":147047,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:16:02] local.INFO: Processing buffer {"connection_id":147047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:16:02] local.INFO: IMEI packet received {"connection_id":147047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":147047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:16:03] local.INFO: TCP Data received {"connection_id":147047,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba599d58012d77a14005f2a670002600fa25..."} 
[2026-08-01 04:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba599d58012d77a14005f2a670002600fa25..."} 
[2026-08-01 04:16:03] local.INFO: Processing buffer {"connection_id":147047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba599d58012d77a14005f2a670002600fa25..."} 
[2026-08-01 04:16:03] local.INFO: Packet analysis {"connection_id":147047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba59"} 
[2026-08-01 04:16:03] local.INFO: Extracted packet for processing {"connection_id":147047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba59"} 
[2026-08-01 04:16:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097615872001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:16: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-08-01 04:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785537863000,"timestamp_ms":1785537863000,"timestamp_seconds":1785537863,"priority":1,"record_length":96,"hex_timestamp":"0000019fba599d58"} 
[2026-08-01 04:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:16: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-08-01 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 04:16:03] 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-08-01 04: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-08-01 04:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097615872001,"66":25462,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097615872001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:16:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:16:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097615872001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":147047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:16:03] local.INFO: GPS data processed {"connection_id":147047,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:16:03] local.INFO: Acknowledgment sent {"connection_id":147047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:16:34] local.INFO: TCP Data received {"connection_id":147047,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba599d58012d77a14005f2a670002600fa25..."} 
[2026-08-01 04:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba599d58012d77a14005f2a670002600fa25..."} 
[2026-08-01 04:16:34] local.INFO: Processing buffer {"connection_id":147047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba599d58012d77a14005f2a670002600fa25..."} 
[2026-08-01 04:16:34] local.INFO: Packet analysis {"connection_id":147047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba59"} 
[2026-08-01 04:16:34] local.INFO: Extracted packet for processing {"connection_id":147047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba59"} 
[2026-08-01 04:16:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097615872001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:16:34] 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-08-01 04:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785537863000,"timestamp_ms":1785537863000,"timestamp_seconds":1785537863,"priority":1,"record_length":96,"hex_timestamp":"0000019fba599d58"} 
[2026-08-01 04:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:16: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-08-01 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 04:16:34] 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-08-01 04: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-08-01 04:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097615872001,"66":25462,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097615872001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:16:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:16:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097615872001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":147047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:16:34] local.INFO: GPS data processed {"connection_id":147047,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:16:34] local.INFO: Acknowledgment sent {"connection_id":147047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:16:56] local.INFO: TCP Data received {"connection_id":146027,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:16:56] local.INFO: Processing buffer {"connection_id":146027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:16:56] local.INFO: IMEI packet received {"connection_id":146027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":146027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:17:02] local.INFO: TCP Data received {"connection_id":146027,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:17:02] local.INFO: Processing buffer {"connection_id":146027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:17:02] local.INFO: IMEI packet received {"connection_id":146027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":146027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:17:03] local.INFO: TCP Data received {"connection_id":146027,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba599d58012d77a14005f2a670002600fa25..."} 
[2026-08-01 04:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba599d58012d77a14005f2a670002600fa25..."} 
[2026-08-01 04:17:03] local.INFO: Processing buffer {"connection_id":146027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba599d58012d77a14005f2a670002600fa25..."} 
[2026-08-01 04:17:03] local.INFO: Packet analysis {"connection_id":146027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba59"} 
[2026-08-01 04:17:03] local.INFO: Extracted packet for processing {"connection_id":146027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba59"} 
[2026-08-01 04:17:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097615872001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:17: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-08-01 04:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785537863000,"timestamp_ms":1785537863000,"timestamp_seconds":1785537863,"priority":1,"record_length":96,"hex_timestamp":"0000019fba599d58"} 
[2026-08-01 04:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04: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-08-01 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 04:17:03] 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-08-01 04: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-08-01 04:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097615872001,"66":25462,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097615872001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:17:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:17:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097615872001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":146027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:17:03] local.INFO: GPS data processed {"connection_id":146027,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:17:03] local.INFO: Acknowledgment sent {"connection_id":146027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:17:36] local.INFO: TCP Data received {"connection_id":146027,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba599d58012d77a14005f2a670002600fa25..."} 
[2026-08-01 04:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba599d58012d77a14005f2a670002600fa25..."} 
[2026-08-01 04:17:36] local.INFO: Processing buffer {"connection_id":146027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba599d58012d77a14005f2a670002600fa25..."} 
[2026-08-01 04:17:36] local.INFO: Packet analysis {"connection_id":146027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba59"} 
[2026-08-01 04:17:36] local.INFO: Extracted packet for processing {"connection_id":146027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba59"} 
[2026-08-01 04:17:36] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097615872001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:17: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-08-01 04:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785537863000,"timestamp_ms":1785537863000,"timestamp_seconds":1785537863,"priority":1,"record_length":96,"hex_timestamp":"0000019fba599d58"} 
[2026-08-01 04:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 04:17:36] 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-08-01 04: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-08-01 04:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097615872001,"66":25462,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097615872001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:17:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:17:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097615872001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":146027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:17:36] local.INFO: GPS data processed {"connection_id":146027,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:17:36] local.INFO: Acknowledgment sent {"connection_id":146027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:17:56] local.INFO: TCP Data received {"connection_id":145825,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:17:56] local.INFO: Processing buffer {"connection_id":145825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:17:56] local.INFO: IMEI packet received {"connection_id":145825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":145825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:18:02] local.INFO: TCP Data received {"connection_id":145825,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:18:02] local.INFO: Processing buffer {"connection_id":145825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:18:02] local.INFO: IMEI packet received {"connection_id":145825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":145825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:18:03] local.INFO: TCP Data received {"connection_id":145825,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba599d58012d77a14005f2a670002600fa25..."} 
[2026-08-01 04:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba599d58012d77a14005f2a670002600fa25..."} 
[2026-08-01 04:18:03] local.INFO: Processing buffer {"connection_id":145825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba599d58012d77a14005f2a670002600fa25..."} 
[2026-08-01 04:18:03] local.INFO: Packet analysis {"connection_id":145825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba59"} 
[2026-08-01 04:18:03] local.INFO: Extracted packet for processing {"connection_id":145825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba59"} 
[2026-08-01 04:18:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097615872001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04: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-08-01 04:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785537863000,"timestamp_ms":1785537863000,"timestamp_seconds":1785537863,"priority":1,"record_length":96,"hex_timestamp":"0000019fba599d58"} 
[2026-08-01 04:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04: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-08-01 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 04:18:03] 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-08-01 04: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-08-01 04:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097615872001,"66":25462,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097615872001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:18:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:18:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097615872001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":145825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:18:03] local.INFO: GPS data processed {"connection_id":145825,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:18:03] local.INFO: Acknowledgment sent {"connection_id":145825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:18:41] local.INFO: TCP Data received {"connection_id":145825,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba599d58012d77a14005f2a670002600fa25..."} 
[2026-08-01 04:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba599d58012d77a14005f2a670002600fa25..."} 
[2026-08-01 04:18:41] local.INFO: Processing buffer {"connection_id":145825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba599d58012d77a14005f2a670002600fa25..."} 
[2026-08-01 04:18:41] local.INFO: Packet analysis {"connection_id":145825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba59"} 
[2026-08-01 04:18:41] local.INFO: Extracted packet for processing {"connection_id":145825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba59"} 
[2026-08-01 04:18:41] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097615872001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:18: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-08-01 04:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785537863000,"timestamp_ms":1785537863000,"timestamp_seconds":1785537863,"priority":1,"record_length":96,"hex_timestamp":"0000019fba599d58"} 
[2026-08-01 04:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04: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-08-01 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 04:18:41] 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-08-01 04: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-08-01 04:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":145825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":145825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":145825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097615872001,"66":25462,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097615872001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:18:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:18:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097615872001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":145825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:18:41] local.INFO: GPS data processed {"connection_id":145825,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:18:41] local.INFO: Acknowledgment sent {"connection_id":145825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:19:02] local.INFO: TCP Data received {"connection_id":146028,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:19:02] local.INFO: Processing buffer {"connection_id":146028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:19:02] local.INFO: IMEI packet received {"connection_id":146028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":146028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:19:07] local.INFO: TCP Data received {"connection_id":146028,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:19:07] local.INFO: Processing buffer {"connection_id":146028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:19:07] local.INFO: IMEI packet received {"connection_id":146028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":146028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:19:08] local.INFO: TCP Data received {"connection_id":146028,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba599d58012d77a14005f2a670002600fa25..."} 
[2026-08-01 04:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba599d58012d77a14005f2a670002600fa25..."} 
[2026-08-01 04:19:08] local.INFO: Processing buffer {"connection_id":146028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba599d58012d77a14005f2a670002600fa25..."} 
[2026-08-01 04:19:08] local.INFO: Packet analysis {"connection_id":146028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba59"} 
[2026-08-01 04:19:08] local.INFO: Extracted packet for processing {"connection_id":146028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba59"} 
[2026-08-01 04:19:08] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097615872001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:19: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-08-01 04:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785537863000,"timestamp_ms":1785537863000,"timestamp_seconds":1785537863,"priority":1,"record_length":96,"hex_timestamp":"0000019fba599d58"} 
[2026-08-01 04:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:19: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-08-01 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 04:19:08] 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-08-01 04: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-08-01 04:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":146028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":146028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":146028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097615872001,"66":25462,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097615872001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:19:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:19:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097615872001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":146028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:19:08] local.INFO: GPS data processed {"connection_id":146028,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:19:08] local.INFO: Acknowledgment sent {"connection_id":146028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:19:12] local.INFO: TCP Data received {"connection_id":146028,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba599d58012d77a14005f2a670002600fa25..."} 
[2026-08-01 04:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba599d58012d77a14005f2a670002600fa25..."} 
[2026-08-01 04:19:12] local.INFO: Processing buffer {"connection_id":146028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba599d58012d77a14005f2a670002600fa25..."} 
[2026-08-01 04:19:12] local.INFO: Packet analysis {"connection_id":146028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba59"} 
[2026-08-01 04:19:12] local.INFO: Extracted packet for processing {"connection_id":146028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba59"} 
[2026-08-01 04:19:12] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097615872001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:19:12] 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-08-01 04:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785537863000,"timestamp_ms":1785537863000,"timestamp_seconds":1785537863,"priority":1,"record_length":96,"hex_timestamp":"0000019fba599d58"} 
[2026-08-01 04:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 04:19:12] 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-08-01 04: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-08-01 04:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":146028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":146028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":146028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097615872001,"66":25462,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097615872001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:19:12] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:19:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097615872001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":146028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:19:12] local.INFO: GPS data processed {"connection_id":146028,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:19:12] local.INFO: Acknowledgment sent {"connection_id":146028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:19:17] local.INFO: TCP Data received {"connection_id":146028,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba599d58012d77a14005f2a670002600fa25..."} 
[2026-08-01 04:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba599d58012d77a14005f2a670002600fa25..."} 
[2026-08-01 04:19:17] local.INFO: Processing buffer {"connection_id":146028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba599d58012d77a14005f2a670002600fa25..."} 
[2026-08-01 04:19:17] local.INFO: Packet analysis {"connection_id":146028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba59"} 
[2026-08-01 04:19:17] local.INFO: Extracted packet for processing {"connection_id":146028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba59"} 
[2026-08-01 04:19:17] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 04:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097615872001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:19:17] 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-08-01 04:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785537863000,"timestamp_ms":1785537863000,"timestamp_seconds":1785537863,"priority":1,"record_length":96,"hex_timestamp":"0000019fba599d58"} 
[2026-08-01 04:19:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:19: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-08-01 04:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 04:19:17] 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-08-01 04:19:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 04:19:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":146028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":146028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":146028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097615872001,"66":25462,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097615872001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:19:17] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:19:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097615872001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":146028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:19:17] local.INFO: GPS data processed {"connection_id":146028,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:19:17] local.INFO: Acknowledgment sent {"connection_id":146028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:19:56] local.INFO: TCP Data received {"connection_id":145826,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:19:56] local.INFO: Processing buffer {"connection_id":145826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:19:56] local.INFO: IMEI packet received {"connection_id":145826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":145826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:20:01] local.INFO: TCP Data received {"connection_id":145826,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:20:01] local.INFO: Processing buffer {"connection_id":145826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:20:01] local.INFO: IMEI packet received {"connection_id":145826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":145826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:20:02] local.INFO: TCP Data received {"connection_id":145826,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba599d58012d77a14005f2a670002600fa25..."} 
[2026-08-01 04:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba599d58012d77a14005f2a670002600fa25..."} 
[2026-08-01 04:20:02] local.INFO: Processing buffer {"connection_id":145826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba599d58012d77a14005f2a670002600fa25..."} 
[2026-08-01 04:20:02] local.INFO: Packet analysis {"connection_id":145826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba59"} 
[2026-08-01 04:20:02] local.INFO: Extracted packet for processing {"connection_id":145826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba59"} 
[2026-08-01 04:20:02] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097615872001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:20: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-08-01 04:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785537863000,"timestamp_ms":1785537863000,"timestamp_seconds":1785537863,"priority":1,"record_length":96,"hex_timestamp":"0000019fba599d58"} 
[2026-08-01 04:20:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:20: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-08-01 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 04:20:02] 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-08-01 04: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-08-01 04:20:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":145826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":145826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":145826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:20:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097615872001,"66":25462,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097615872001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:20:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:20:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097615872001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":145826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:20:02] local.INFO: GPS data processed {"connection_id":145826,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:20:02] local.INFO: Acknowledgment sent {"connection_id":145826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:20:03] local.INFO: TCP Data received {"connection_id":145826,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba5e3520012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba5e3520012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:20:03] local.INFO: Processing buffer {"connection_id":145826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba5e3520012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:20:03] local.INFO: Packet analysis {"connection_id":145826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba5e"} 
[2026-08-01 04:20:03] local.INFO: Extracted packet for processing {"connection_id":145826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba5e"} 
[2026-08-01 04:20:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097692928001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:20: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-08-01 04:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785538164000,"timestamp_ms":1785538164000,"timestamp_seconds":1785538164,"priority":1,"record_length":96,"hex_timestamp":"0000019fba5e3520"} 
[2026-08-01 04:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:20: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-08-01 04: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 04:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04: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-08-01 04:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097692928001,"66":25060,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097692928001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:20:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:20:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097692928001,"power":25060,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":145826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:20:03] local.INFO: GPS data processed {"connection_id":145826,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:20:03] local.INFO: Acknowledgment sent {"connection_id":145826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:20:34] local.INFO: TCP Data received {"connection_id":145826,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba5e3520012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba5e3520012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:20:34] local.INFO: Processing buffer {"connection_id":145826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba5e3520012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:20:34] local.INFO: Packet analysis {"connection_id":145826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba5e"} 
[2026-08-01 04:20:34] local.INFO: Extracted packet for processing {"connection_id":145826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba5e"} 
[2026-08-01 04:20:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097692928001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:20:34] 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-08-01 04:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785538164000,"timestamp_ms":1785538164000,"timestamp_seconds":1785538164,"priority":1,"record_length":96,"hex_timestamp":"0000019fba5e3520"} 
[2026-08-01 04:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04: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-08-01 04: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":118,"data_length":795,"current_offset":136} 
[2026-08-01 04:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04: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-08-01 04:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097692928001,"66":25060,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097692928001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:20:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:20:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097692928001,"power":25060,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":145826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:20:34] local.INFO: GPS data processed {"connection_id":145826,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:20:34] local.INFO: Acknowledgment sent {"connection_id":145826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:20:58] local.INFO: TCP Data received {"connection_id":147048,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:20:58] local.INFO: Processing buffer {"connection_id":147048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:20:58] local.INFO: IMEI packet received {"connection_id":147048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":147048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:21:02] local.INFO: TCP Data received {"connection_id":147048,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:21:02] local.INFO: Processing buffer {"connection_id":147048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:21:02] local.INFO: IMEI packet received {"connection_id":147048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":147048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:21:05] local.INFO: TCP Data received {"connection_id":147048,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba5e3520012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba5e3520012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:21:05] local.INFO: Processing buffer {"connection_id":147048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba5e3520012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:21:05] local.INFO: Packet analysis {"connection_id":147048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba5e"} 
[2026-08-01 04:21:05] local.INFO: Extracted packet for processing {"connection_id":147048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba5e"} 
[2026-08-01 04:21:05] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097692928001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 04:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785538164000,"timestamp_ms":1785538164000,"timestamp_seconds":1785538164,"priority":1,"record_length":96,"hex_timestamp":"0000019fba5e3520"} 
[2026-08-01 04:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:21: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-08-01 04: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 04:21:05] 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-08-01 04: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-08-01 04:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097692928001,"66":25060,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097692928001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:21:05] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:21:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097692928001,"power":25060,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":147048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:21:05] local.INFO: GPS data processed {"connection_id":147048,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:21:05] local.INFO: Acknowledgment sent {"connection_id":147048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:21:07] local.INFO: TCP Data received {"connection_id":147048,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba5e3520012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba5e3520012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:21:07] local.INFO: Processing buffer {"connection_id":147048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba5e3520012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:21:07] local.INFO: Packet analysis {"connection_id":147048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba5e"} 
[2026-08-01 04:21:07] local.INFO: Extracted packet for processing {"connection_id":147048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba5e"} 
[2026-08-01 04:21:07] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097692928001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:21: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-08-01 04:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785538164000,"timestamp_ms":1785538164000,"timestamp_seconds":1785538164,"priority":1,"record_length":96,"hex_timestamp":"0000019fba5e3520"} 
[2026-08-01 04:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:21: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-08-01 04: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 04:21:07] 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-08-01 04: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-08-01 04:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":147048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":147048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":147048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097692928001,"66":25060,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097692928001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:21:07] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:21:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097692928001,"power":25060,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":147048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:21:07] local.INFO: GPS data processed {"connection_id":147048,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:21:07] local.INFO: Acknowledgment sent {"connection_id":147048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:21:39] local.INFO: TCP Data received {"connection_id":147048,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba5e3520012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba5e3520012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:21:39] local.INFO: Processing buffer {"connection_id":147048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba5e3520012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:21:39] local.INFO: Packet analysis {"connection_id":147048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba5e"} 
[2026-08-01 04:21:39] local.INFO: Extracted packet for processing {"connection_id":147048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba5e"} 
[2026-08-01 04:21:39] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 04:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097692928001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 04:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785538164000,"timestamp_ms":1785538164000,"timestamp_seconds":1785538164,"priority":1,"record_length":96,"hex_timestamp":"0000019fba5e3520"} 
[2026-08-01 04:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:21:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 04:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 04:21:39] 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-08-01 04:21:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 04:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":147048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":147048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":147048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097692928001,"66":25060,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097692928001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:21:39] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:21:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097692928001,"power":25060,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":147048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:21:39] local.INFO: GPS data processed {"connection_id":147048,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:21:39] local.INFO: Acknowledgment sent {"connection_id":147048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:21:56] local.INFO: TCP Data received {"connection_id":146029,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:21:56] local.INFO: Processing buffer {"connection_id":146029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:21:56] local.INFO: IMEI packet received {"connection_id":146029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":146029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:22:02] local.INFO: TCP Data received {"connection_id":146029,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:22:02] local.INFO: Processing buffer {"connection_id":146029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:22:02] local.INFO: IMEI packet received {"connection_id":146029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":146029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:22:03] local.INFO: TCP Data received {"connection_id":146029,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba5e3520012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba5e3520012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:22:03] local.INFO: Processing buffer {"connection_id":146029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba5e3520012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:22:03] local.INFO: Packet analysis {"connection_id":146029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba5e"} 
[2026-08-01 04:22:03] local.INFO: Extracted packet for processing {"connection_id":146029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba5e"} 
[2026-08-01 04:22:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097692928001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04: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-08-01 04:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785538164000,"timestamp_ms":1785538164000,"timestamp_seconds":1785538164,"priority":1,"record_length":96,"hex_timestamp":"0000019fba5e3520"} 
[2026-08-01 04:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04: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-08-01 04: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":118,"data_length":795,"current_offset":136} 
[2026-08-01 04:22:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04: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-08-01 04:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097692928001,"66":25060,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097692928001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:22:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:22:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097692928001,"power":25060,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":146029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:22:03] local.INFO: GPS data processed {"connection_id":146029,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:22:03] local.INFO: Acknowledgment sent {"connection_id":146029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:22:34] local.INFO: TCP Data received {"connection_id":146029,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba5e3520012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba5e3520012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:22:34] local.INFO: Processing buffer {"connection_id":146029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba5e3520012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:22:34] local.INFO: Packet analysis {"connection_id":146029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba5e"} 
[2026-08-01 04:22:34] local.INFO: Extracted packet for processing {"connection_id":146029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba5e"} 
[2026-08-01 04:22:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 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-08-01 04:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097692928001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:22:34] 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-08-01 04:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785538164000,"timestamp_ms":1785538164000,"timestamp_seconds":1785538164,"priority":1,"record_length":96,"hex_timestamp":"0000019fba5e3520"} 
[2026-08-01 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-08-01 04:22: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-08-01 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 04:22:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 04:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097692928001,"66":25060,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097692928001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:22:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:22:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097692928001,"power":25060,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":146029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:22:34] local.INFO: GPS data processed {"connection_id":146029,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:22:34] local.INFO: Acknowledgment sent {"connection_id":146029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:22:56] local.INFO: TCP Data received {"connection_id":145827,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:22:56] local.INFO: Processing buffer {"connection_id":145827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:22:56] local.INFO: IMEI packet received {"connection_id":145827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":145827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:23:02] local.INFO: TCP Data received {"connection_id":145827,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:23:02] local.INFO: Processing buffer {"connection_id":145827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:23:02] local.INFO: IMEI packet received {"connection_id":145827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":145827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:23:03] local.INFO: TCP Data received {"connection_id":145827,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba5e3520012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba5e3520012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:23:03] local.INFO: Processing buffer {"connection_id":145827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba5e3520012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:23:03] local.INFO: Packet analysis {"connection_id":145827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba5e"} 
[2026-08-01 04:23:03] local.INFO: Extracted packet for processing {"connection_id":145827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba5e"} 
[2026-08-01 04:23:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097692928001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:23: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-08-01 04:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785538164000,"timestamp_ms":1785538164000,"timestamp_seconds":1785538164,"priority":1,"record_length":96,"hex_timestamp":"0000019fba5e3520"} 
[2026-08-01 04:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:23: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-08-01 04: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 04:23:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04: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-08-01 04:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097692928001,"66":25060,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097692928001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:23:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:23:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097692928001,"power":25060,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":145827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:23:03] local.INFO: GPS data processed {"connection_id":145827,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:23:03] local.INFO: Acknowledgment sent {"connection_id":145827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:23:35] local.INFO: TCP Data received {"connection_id":145827,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba5e3520012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba5e3520012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:23:35] local.INFO: Processing buffer {"connection_id":145827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba5e3520012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:23:35] local.INFO: Packet analysis {"connection_id":145827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba5e"} 
[2026-08-01 04:23:35] local.INFO: Extracted packet for processing {"connection_id":145827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba5e"} 
[2026-08-01 04:23:35] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097692928001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:23: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-08-01 04:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785538164000,"timestamp_ms":1785538164000,"timestamp_seconds":1785538164,"priority":1,"record_length":96,"hex_timestamp":"0000019fba5e3520"} 
[2026-08-01 04:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:23:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 04: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 04:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04: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-08-01 04:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":145827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":145827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":145827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097692928001,"66":25060,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097692928001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:23:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:23:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097692928001,"power":25060,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":145827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:23:35] local.INFO: GPS data processed {"connection_id":145827,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:23:35] local.INFO: Acknowledgment sent {"connection_id":145827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:24:04] local.INFO: TCP Data received {"connection_id":148366,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:24:04] local.INFO: Processing buffer {"connection_id":148366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:24:04] local.INFO: IMEI packet received {"connection_id":148366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":148366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:24:06] local.INFO: TCP Data received {"connection_id":148366,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:24:06] local.INFO: Processing buffer {"connection_id":148366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:24:06] local.INFO: IMEI packet received {"connection_id":148366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":148366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:24:07] local.INFO: TCP Data received {"connection_id":148366,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba5e3520012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba5e3520012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:24:07] local.INFO: Processing buffer {"connection_id":148366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba5e3520012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:24:07] local.INFO: Packet analysis {"connection_id":148366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba5e"} 
[2026-08-01 04:24:07] local.INFO: Extracted packet for processing {"connection_id":148366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba5e"} 
[2026-08-01 04:24:07] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097692928001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:24: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-08-01 04:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785538164000,"timestamp_ms":1785538164000,"timestamp_seconds":1785538164,"priority":1,"record_length":96,"hex_timestamp":"0000019fba5e3520"} 
[2026-08-01 04:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:24: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-08-01 04: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 04:24:07] 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-08-01 04: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-08-01 04:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":148366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":148366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":148366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097692928001,"66":25060,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097692928001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:24:07] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:24:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097692928001,"power":25060,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":148366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:24:07] local.INFO: GPS data processed {"connection_id":148366,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:24:07] local.INFO: Acknowledgment sent {"connection_id":148366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:24:38] local.INFO: TCP Data received {"connection_id":148366,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba5e3520012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba5e3520012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:24:38] local.INFO: Processing buffer {"connection_id":148366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba5e3520012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:24:38] local.INFO: Packet analysis {"connection_id":148366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba5e"} 
[2026-08-01 04:24:38] local.INFO: Extracted packet for processing {"connection_id":148366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba5e"} 
[2026-08-01 04:24:38] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 04:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097692928001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 04:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785538164000,"timestamp_ms":1785538164000,"timestamp_seconds":1785538164,"priority":1,"record_length":96,"hex_timestamp":"0000019fba5e3520"} 
[2026-08-01 04:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:24: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-08-01 04:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 04:24:38] 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-08-01 04:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 04:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":148366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":148366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":148366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097692928001,"66":25060,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097692928001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:24:38] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:24:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097692928001,"power":25060,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":148366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:24:38] local.INFO: GPS data processed {"connection_id":148366,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:24:38] local.INFO: Acknowledgment sent {"connection_id":148366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:24:57] local.INFO: TCP Data received {"connection_id":146030,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:24:57] local.INFO: Processing buffer {"connection_id":146030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:24:57] local.INFO: IMEI packet received {"connection_id":146030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":146030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:25:03] local.INFO: TCP Data received {"connection_id":146030,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:25:03] local.INFO: Processing buffer {"connection_id":146030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:25:03] local.INFO: IMEI packet received {"connection_id":146030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":146030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:25:03] local.INFO: TCP Data received {"connection_id":146030,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba5e3520012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba5e3520012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:25:03] local.INFO: Processing buffer {"connection_id":146030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba5e3520012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:25:03] local.INFO: Packet analysis {"connection_id":146030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba5e"} 
[2026-08-01 04:25:03] local.INFO: Extracted packet for processing {"connection_id":146030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba5e"} 
[2026-08-01 04:25:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 04:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097692928001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04: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-08-01 04:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785538164000,"timestamp_ms":1785538164000,"timestamp_seconds":1785538164,"priority":1,"record_length":96,"hex_timestamp":"0000019fba5e3520"} 
[2026-08-01 04:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04: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-08-01 04:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 04:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04:25:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 04:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097692928001,"66":25060,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097692928001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:25:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:25:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097692928001,"power":25060,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":146030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:25:04] local.INFO: GPS data processed {"connection_id":146030,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:25:04] local.INFO: Acknowledgment sent {"connection_id":146030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:25:35] local.INFO: TCP Data received {"connection_id":146030,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba62cce8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba62cce8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:25:35] local.INFO: Processing buffer {"connection_id":146030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba62cce8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:25:35] local.INFO: Packet analysis {"connection_id":146030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba62"} 
[2026-08-01 04:25:35] local.INFO: Extracted packet for processing {"connection_id":146030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba62"} 
[2026-08-01 04:25:35] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":44,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097769984001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:25: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-08-01 04:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785538465000,"timestamp_ms":1785538465000,"timestamp_seconds":1785538465,"priority":1,"record_length":96,"hex_timestamp":"0000019fba62cce8"} 
[2026-08-01 04:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:25:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 04: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 04:25:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04: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-08-01 04:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097769984001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097769984001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:25:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:25:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097769984001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":146030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:25:35] local.INFO: GPS data processed {"connection_id":146030,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:25:35] local.INFO: Acknowledgment sent {"connection_id":146030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:25:56] local.INFO: TCP Data received {"connection_id":146031,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:25:56] local.INFO: Processing buffer {"connection_id":146031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:25:56] local.INFO: IMEI packet received {"connection_id":146031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":146031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:26:02] local.INFO: TCP Data received {"connection_id":146031,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:26:02] local.INFO: Processing buffer {"connection_id":146031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:26:02] local.INFO: IMEI packet received {"connection_id":146031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":146031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:26:03] local.INFO: TCP Data received {"connection_id":146031,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba62cce8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba62cce8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:26:03] local.INFO: Processing buffer {"connection_id":146031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba62cce8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:26:03] local.INFO: Packet analysis {"connection_id":146031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba62"} 
[2026-08-01 04:26:03] local.INFO: Extracted packet for processing {"connection_id":146031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba62"} 
[2026-08-01 04:26:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":44,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097769984001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:26: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-08-01 04:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785538465000,"timestamp_ms":1785538465000,"timestamp_seconds":1785538465,"priority":1,"record_length":96,"hex_timestamp":"0000019fba62cce8"} 
[2026-08-01 04:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04: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-08-01 04: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 04:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04: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-08-01 04:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097769984001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097769984001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:26:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:26:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097769984001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":146031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:26:03] local.INFO: GPS data processed {"connection_id":146031,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:26:03] local.INFO: Acknowledgment sent {"connection_id":146031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:26:34] local.INFO: TCP Data received {"connection_id":146031,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba62cce8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba62cce8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:26:34] local.INFO: Processing buffer {"connection_id":146031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba62cce8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:26:34] local.INFO: Packet analysis {"connection_id":146031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba62"} 
[2026-08-01 04:26:34] local.INFO: Extracted packet for processing {"connection_id":146031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba62"} 
[2026-08-01 04:26:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":44,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097769984001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:26:34] 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-08-01 04:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785538465000,"timestamp_ms":1785538465000,"timestamp_seconds":1785538465,"priority":1,"record_length":96,"hex_timestamp":"0000019fba62cce8"} 
[2026-08-01 04:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:26: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-08-01 04: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 04:26:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04: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-08-01 04:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:26:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097769984001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097769984001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:26:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:26:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097769984001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":146031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:26:34] local.INFO: GPS data processed {"connection_id":146031,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:26:34] local.INFO: Acknowledgment sent {"connection_id":146031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:27:02] local.INFO: TCP Data received {"connection_id":148367,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:27:02] local.INFO: Processing buffer {"connection_id":148367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:27:02] local.INFO: IMEI packet received {"connection_id":148367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":148367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:27:07] local.INFO: TCP Data received {"connection_id":148367,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:27:07] local.INFO: Processing buffer {"connection_id":148367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:27:07] local.INFO: IMEI packet received {"connection_id":148367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":148367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:27:13] local.INFO: TCP Data received {"connection_id":148367,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba62cce8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba62cce8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:27:13] local.INFO: Processing buffer {"connection_id":148367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba62cce8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:27:13] local.INFO: Packet analysis {"connection_id":148367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba62"} 
[2026-08-01 04:27:13] local.INFO: Extracted packet for processing {"connection_id":148367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba62"} 
[2026-08-01 04:27:13] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":44,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097769984001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:27:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 04:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785538465000,"timestamp_ms":1785538465000,"timestamp_seconds":1785538465,"priority":1,"record_length":96,"hex_timestamp":"0000019fba62cce8"} 
[2026-08-01 04:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:27:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 04: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 04:27:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04: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-08-01 04:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":148367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":148367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":148367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097769984001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097769984001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:27:13] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:27:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097769984001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":148367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:27:13] local.INFO: GPS data processed {"connection_id":148367,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:27:13] local.INFO: Acknowledgment sent {"connection_id":148367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:27:14] local.INFO: TCP Data received {"connection_id":148367,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba62cce8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba62cce8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:27:14] local.INFO: Processing buffer {"connection_id":148367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba62cce8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:27:14] local.INFO: Packet analysis {"connection_id":148367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba62"} 
[2026-08-01 04:27:14] local.INFO: Extracted packet for processing {"connection_id":148367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba62"} 
[2026-08-01 04:27:14] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":44,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 04:27:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097769984001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:27:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:27:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:27:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 04:27:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785538465000,"timestamp_ms":1785538465000,"timestamp_seconds":1785538465,"priority":1,"record_length":96,"hex_timestamp":"0000019fba62cce8"} 
[2026-08-01 04:27:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:27: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-08-01 04:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 04:27:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04:27:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 04:27:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:27:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:27:14] local.INFO: Teltonika packet parsed successfully {"connection_id":148367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:27:14] local.INFO: Passing IMEI to GPS processor {"connection_id":148367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:27:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":148367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:27:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:27:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:27:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:27:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097769984001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:27:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:27:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:27:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097769984001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:27:14] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:27:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:27:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:27:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:27:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097769984001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:27:14] local.INFO: DEBUG: GPS processor result {"connection_id":148367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:27:14] local.INFO: GPS data processed {"connection_id":148367,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:27:14] local.INFO: Acknowledgment sent {"connection_id":148367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:27:57] local.INFO: TCP Data received {"connection_id":146032,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:27:57] local.INFO: Processing buffer {"connection_id":146032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:27:57] local.INFO: IMEI packet received {"connection_id":146032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":146032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:28:02] local.INFO: TCP Data received {"connection_id":146032,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:28:02] local.INFO: Processing buffer {"connection_id":146032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:28:02] local.INFO: IMEI packet received {"connection_id":146032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":146032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:28:04] local.INFO: TCP Data received {"connection_id":146032,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba62cce8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba62cce8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:28:04] local.INFO: Processing buffer {"connection_id":146032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba62cce8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:28:04] local.INFO: Packet analysis {"connection_id":146032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba62"} 
[2026-08-01 04:28:04] local.INFO: Extracted packet for processing {"connection_id":146032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba62"} 
[2026-08-01 04:28:04] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":44,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 04:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097769984001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 04:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785538465000,"timestamp_ms":1785538465000,"timestamp_seconds":1785538465,"priority":1,"record_length":96,"hex_timestamp":"0000019fba62cce8"} 
[2026-08-01 04:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:28: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-08-01 04:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 04:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 04:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097769984001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097769984001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:28:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:28:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097769984001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":146032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:28:04] local.INFO: GPS data processed {"connection_id":146032,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:28:04] local.INFO: Acknowledgment sent {"connection_id":146032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:28:07] local.INFO: TCP Data received {"connection_id":146032,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba62cce8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba62cce8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:28:07] local.INFO: Processing buffer {"connection_id":146032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba62cce8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:28:07] local.INFO: Packet analysis {"connection_id":146032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba62"} 
[2026-08-01 04:28:07] local.INFO: Extracted packet for processing {"connection_id":146032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba62"} 
[2026-08-01 04:28:07] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":44,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 04:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097769984001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:28: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-08-01 04:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785538465000,"timestamp_ms":1785538465000,"timestamp_seconds":1785538465,"priority":1,"record_length":96,"hex_timestamp":"0000019fba62cce8"} 
[2026-08-01 04:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:28: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-08-01 04:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 04:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 04:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097769984001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097769984001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:28:07] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:28:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097769984001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":146032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:28:07] local.INFO: GPS data processed {"connection_id":146032,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:28:07] local.INFO: Acknowledgment sent {"connection_id":146032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:28:38] local.INFO: TCP Data received {"connection_id":146032,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba62cce8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba62cce8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:28:38] local.INFO: Processing buffer {"connection_id":146032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba62cce8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:28:38] local.INFO: Packet analysis {"connection_id":146032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba62"} 
[2026-08-01 04:28:38] local.INFO: Extracted packet for processing {"connection_id":146032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba62"} 
[2026-08-01 04:28:38] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":44,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 04:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097769984001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 04:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785538465000,"timestamp_ms":1785538465000,"timestamp_seconds":1785538465,"priority":1,"record_length":96,"hex_timestamp":"0000019fba62cce8"} 
[2026-08-01 04:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:28: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-08-01 04:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 04:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 04:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097769984001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097769984001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:28:38] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:28:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097769984001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":146032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:28:38] local.INFO: GPS data processed {"connection_id":146032,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:28:38] local.INFO: Acknowledgment sent {"connection_id":146032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:28:56] local.INFO: TCP Data received {"connection_id":148368,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:28:56] local.INFO: Processing buffer {"connection_id":148368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:28:56] local.INFO: IMEI packet received {"connection_id":148368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":148368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:29:02] local.INFO: TCP Data received {"connection_id":148368,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:29:02] local.INFO: Processing buffer {"connection_id":148368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:29:02] local.INFO: IMEI packet received {"connection_id":148368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":148368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:29:03] local.INFO: TCP Data received {"connection_id":148368,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba62cce8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba62cce8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:29:03] local.INFO: Processing buffer {"connection_id":148368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba62cce8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:29:03] local.INFO: Packet analysis {"connection_id":148368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba62"} 
[2026-08-01 04:29:03] local.INFO: Extracted packet for processing {"connection_id":148368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba62"} 
[2026-08-01 04:29:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":44,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097769984001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:29: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-08-01 04:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785538465000,"timestamp_ms":1785538465000,"timestamp_seconds":1785538465,"priority":1,"record_length":96,"hex_timestamp":"0000019fba62cce8"} 
[2026-08-01 04:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:29: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-08-01 04: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 04:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04: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-08-01 04:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097769984001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097769984001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:29:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:29:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097769984001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":148368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:29:03] local.INFO: GPS data processed {"connection_id":148368,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:29:03] local.INFO: Acknowledgment sent {"connection_id":148368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:29:34] local.INFO: TCP Data received {"connection_id":148368,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba62cce8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba62cce8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:29:34] local.INFO: Processing buffer {"connection_id":148368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba62cce8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:29:34] local.INFO: Packet analysis {"connection_id":148368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba62"} 
[2026-08-01 04:29:34] local.INFO: Extracted packet for processing {"connection_id":148368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba62"} 
[2026-08-01 04:29:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":44,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097769984001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:29:34] 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-08-01 04:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785538465000,"timestamp_ms":1785538465000,"timestamp_seconds":1785538465,"priority":1,"record_length":96,"hex_timestamp":"0000019fba62cce8"} 
[2026-08-01 04:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:29: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-08-01 04: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 04:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04: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-08-01 04:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097769984001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097769984001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:29:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:29:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097769984001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":148368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:29:34] local.INFO: GPS data processed {"connection_id":148368,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:29:34] local.INFO: Acknowledgment sent {"connection_id":148368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:29:56] local.INFO: TCP Data received {"connection_id":145828,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:29:56] local.INFO: Processing buffer {"connection_id":145828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:29:56] local.INFO: IMEI packet received {"connection_id":145828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":145828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:30:02] local.INFO: TCP Data received {"connection_id":145828,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:30:02] local.INFO: Processing buffer {"connection_id":145828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:30:02] local.INFO: IMEI packet received {"connection_id":145828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":145828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:30:03] local.INFO: TCP Data received {"connection_id":145828,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba62cce8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba62cce8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:30:03] local.INFO: Processing buffer {"connection_id":145828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba62cce8012d77a14005f2a670002600fa2c..."} 
[2026-08-01 04:30:03] local.INFO: Packet analysis {"connection_id":145828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba62"} 
[2026-08-01 04:30:03] local.INFO: Extracted packet for processing {"connection_id":145828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba62"} 
[2026-08-01 04:30:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":44,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097769984001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04: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-08-01 04:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785538465000,"timestamp_ms":1785538465000,"timestamp_seconds":1785538465,"priority":1,"record_length":96,"hex_timestamp":"0000019fba62cce8"} 
[2026-08-01 04:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:30: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-08-01 04: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 04:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04: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-08-01 04:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097769984001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097769984001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:30:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:30:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097769984001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":145828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:30:03] local.INFO: GPS data processed {"connection_id":145828,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:30:03] local.INFO: Acknowledgment sent {"connection_id":145828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:30:34] local.INFO: TCP Data received {"connection_id":145828,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba6764b0012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba6764b0012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:30:34] local.INFO: Processing buffer {"connection_id":145828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba6764b0012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:30:34] local.INFO: Packet analysis {"connection_id":145828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba67"} 
[2026-08-01 04:30:34] local.INFO: Extracted packet for processing {"connection_id":145828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba67"} 
[2026-08-01 04:30:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 04:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097847040001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:30:34] 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-08-01 04:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785538766000,"timestamp_ms":1785538766000,"timestamp_seconds":1785538766,"priority":1,"record_length":96,"hex_timestamp":"0000019fba6764b0"} 
[2026-08-01 04:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:30: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-08-01 04:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 04:30:34] 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-08-01 04:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 04:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097847040001,"66":24930,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097847040001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:30:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:30:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097847040001,"power":24930,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":145828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:30:34] local.INFO: GPS data processed {"connection_id":145828,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:30:34] local.INFO: Acknowledgment sent {"connection_id":145828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:30:56] local.INFO: TCP Data received {"connection_id":148369,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:30:56] local.INFO: Processing buffer {"connection_id":148369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:30:56] local.INFO: IMEI packet received {"connection_id":148369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":148369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:31:02] local.INFO: TCP Data received {"connection_id":148369,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:31:02] local.INFO: Processing buffer {"connection_id":148369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:31:02] local.INFO: IMEI packet received {"connection_id":148369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":148369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:31:03] local.INFO: TCP Data received {"connection_id":148369,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba6764b0012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba6764b0012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:31:03] local.INFO: Processing buffer {"connection_id":148369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba6764b0012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:31:03] local.INFO: Packet analysis {"connection_id":148369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba67"} 
[2026-08-01 04:31:03] local.INFO: Extracted packet for processing {"connection_id":148369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba67"} 
[2026-08-01 04:31:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097847040001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04: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-08-01 04:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785538766000,"timestamp_ms":1785538766000,"timestamp_seconds":1785538766,"priority":1,"record_length":96,"hex_timestamp":"0000019fba6764b0"} 
[2026-08-01 04:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:31: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-08-01 04: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":97,"data_length":795,"current_offset":136} 
[2026-08-01 04:31: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-08-01 04: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-08-01 04:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097847040001,"66":24930,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097847040001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:31:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:31:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097847040001,"power":24930,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":148369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:31:03] local.INFO: GPS data processed {"connection_id":148369,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:31:03] local.INFO: Acknowledgment sent {"connection_id":148369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:31:35] local.INFO: TCP Data received {"connection_id":148369,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba6764b0012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba6764b0012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:31:35] local.INFO: Processing buffer {"connection_id":148369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba6764b0012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:31:35] local.INFO: Packet analysis {"connection_id":148369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba67"} 
[2026-08-01 04:31:35] local.INFO: Extracted packet for processing {"connection_id":148369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba67"} 
[2026-08-01 04:31:35] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097847040001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:31: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-08-01 04:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785538766000,"timestamp_ms":1785538766000,"timestamp_seconds":1785538766,"priority":1,"record_length":96,"hex_timestamp":"0000019fba6764b0"} 
[2026-08-01 04:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 04:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 04:31:35] 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-08-01 04: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-08-01 04:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097847040001,"66":24930,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097847040001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:31:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:31:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097847040001,"power":24930,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":148369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:31:35] local.INFO: GPS data processed {"connection_id":148369,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:31:35] local.INFO: Acknowledgment sent {"connection_id":148369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:32:02] local.INFO: TCP Data received {"connection_id":145829,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:32:02] local.INFO: Processing buffer {"connection_id":145829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:32:02] local.INFO: IMEI packet received {"connection_id":145829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":145829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:32:07] local.INFO: TCP Data received {"connection_id":145829,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:32:07] local.INFO: Processing buffer {"connection_id":145829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:32:07] local.INFO: IMEI packet received {"connection_id":145829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":145829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:32:08] local.INFO: TCP Data received {"connection_id":145829,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba6764b0012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba6764b0012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:32:08] local.INFO: Processing buffer {"connection_id":145829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba6764b0012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:32:08] local.INFO: Packet analysis {"connection_id":145829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba67"} 
[2026-08-01 04:32:08] local.INFO: Extracted packet for processing {"connection_id":145829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba67"} 
[2026-08-01 04:32:08] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 04:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097847040001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:32: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-08-01 04:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785538766000,"timestamp_ms":1785538766000,"timestamp_seconds":1785538766,"priority":1,"record_length":96,"hex_timestamp":"0000019fba6764b0"} 
[2026-08-01 04:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:32: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-08-01 04:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 04:32:08] 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-08-01 04:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 04:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097847040001,"66":24930,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097847040001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:32:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:32:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097847040001,"power":24930,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":145829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:32:08] local.INFO: GPS data processed {"connection_id":145829,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:32:08] local.INFO: Acknowledgment sent {"connection_id":145829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:32:13] local.INFO: TCP Data received {"connection_id":145829,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba6764b0012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba6764b0012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:32:13] local.INFO: Processing buffer {"connection_id":145829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba6764b0012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:32:13] local.INFO: Packet analysis {"connection_id":145829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba67"} 
[2026-08-01 04:32:13] local.INFO: Extracted packet for processing {"connection_id":145829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba67"} 
[2026-08-01 04:32:13] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04:32: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-08-01 04:32:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097847040001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:32:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:32:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:32:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 04:32:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785538766000,"timestamp_ms":1785538766000,"timestamp_seconds":1785538766,"priority":1,"record_length":96,"hex_timestamp":"0000019fba6764b0"} 
[2026-08-01 04:32:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:32:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 04:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 04:32:13] 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-08-01 04:32: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-08-01 04:32:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:32:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:32:13] local.INFO: Teltonika packet parsed successfully {"connection_id":145829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:32:13] local.INFO: Passing IMEI to GPS processor {"connection_id":145829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:32:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":145829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:32:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:32:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:32:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:32:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097847040001,"66":24930,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:32:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:32:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:32:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097847040001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:32:13] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:32:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:32:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:32:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:32:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097847040001,"power":24930,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":145829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:32:13] local.INFO: GPS data processed {"connection_id":145829,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:32:13] local.INFO: Acknowledgment sent {"connection_id":145829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:32:56] local.INFO: TCP Data received {"connection_id":145830,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:32:56] local.INFO: Processing buffer {"connection_id":145830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:32:56] local.INFO: IMEI packet received {"connection_id":145830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":145830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:33:02] local.INFO: TCP Data received {"connection_id":145830,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:33:02] local.INFO: Processing buffer {"connection_id":145830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:33:02] local.INFO: IMEI packet received {"connection_id":145830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":145830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:33:03] local.INFO: TCP Data received {"connection_id":145830,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba6764b0012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba6764b0012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:33:03] local.INFO: Processing buffer {"connection_id":145830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba6764b0012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:33:03] local.INFO: Packet analysis {"connection_id":145830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba67"} 
[2026-08-01 04:33:03] local.INFO: Extracted packet for processing {"connection_id":145830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba67"} 
[2026-08-01 04:33:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097847040001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04: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-08-01 04:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785538766000,"timestamp_ms":1785538766000,"timestamp_seconds":1785538766,"priority":1,"record_length":96,"hex_timestamp":"0000019fba6764b0"} 
[2026-08-01 04:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:33: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-08-01 04:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 04:33: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-08-01 04: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-08-01 04:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097847040001,"66":24930,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097847040001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:33:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:33:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097847040001,"power":24930,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":145830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:33:03] local.INFO: GPS data processed {"connection_id":145830,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:33:03] local.INFO: Acknowledgment sent {"connection_id":145830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:33:34] local.INFO: TCP Data received {"connection_id":145830,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba6764b0012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba6764b0012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:33:34] local.INFO: Processing buffer {"connection_id":145830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba6764b0012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:33:34] local.INFO: Packet analysis {"connection_id":145830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba67"} 
[2026-08-01 04:33:34] local.INFO: Extracted packet for processing {"connection_id":145830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba67"} 
[2026-08-01 04:33:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097847040001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:33:34] 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-08-01 04:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785538766000,"timestamp_ms":1785538766000,"timestamp_seconds":1785538766,"priority":1,"record_length":96,"hex_timestamp":"0000019fba6764b0"} 
[2026-08-01 04:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:33: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-08-01 04: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 04:33:34] 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-08-01 04: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-08-01 04:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097847040001,"66":24930,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097847040001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:33:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:33:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097847040001,"power":24930,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":145830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:33:34] local.INFO: GPS data processed {"connection_id":145830,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:33:34] local.INFO: Acknowledgment sent {"connection_id":145830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:33:56] local.INFO: TCP Data received {"connection_id":147049,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:33:56] local.INFO: Processing buffer {"connection_id":147049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:33:56] local.INFO: IMEI packet received {"connection_id":147049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":147049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:34:02] local.INFO: TCP Data received {"connection_id":147049,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:34:02] local.INFO: Processing buffer {"connection_id":147049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:34:02] local.INFO: IMEI packet received {"connection_id":147049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":147049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:34:03] local.INFO: TCP Data received {"connection_id":147049,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba6764b0012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba6764b0012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:34:03] local.INFO: Processing buffer {"connection_id":147049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba6764b0012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:34:03] local.INFO: Packet analysis {"connection_id":147049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba67"} 
[2026-08-01 04:34:03] local.INFO: Extracted packet for processing {"connection_id":147049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba67"} 
[2026-08-01 04:34:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097847040001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04: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-08-01 04:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785538766000,"timestamp_ms":1785538766000,"timestamp_seconds":1785538766,"priority":1,"record_length":96,"hex_timestamp":"0000019fba6764b0"} 
[2026-08-01 04:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:34: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-08-01 04:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 04:34: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-08-01 04: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-08-01 04:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097847040001,"66":24930,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097847040001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:34:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:34:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097847040001,"power":24930,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":147049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:34:03] local.INFO: GPS data processed {"connection_id":147049,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:34:03] local.INFO: Acknowledgment sent {"connection_id":147049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:34:07] local.INFO: TCP Data received {"connection_id":147049,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba6764b0012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba6764b0012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:34:07] local.INFO: Processing buffer {"connection_id":147049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba6764b0012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:34:07] local.INFO: Packet analysis {"connection_id":147049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba67"} 
[2026-08-01 04:34:07] local.INFO: Extracted packet for processing {"connection_id":147049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba67"} 
[2026-08-01 04:34:07] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097847040001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:34: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-08-01 04:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785538766000,"timestamp_ms":1785538766000,"timestamp_seconds":1785538766,"priority":1,"record_length":96,"hex_timestamp":"0000019fba6764b0"} 
[2026-08-01 04:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:34: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-08-01 04: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 04:34:07] 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-08-01 04: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-08-01 04:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":147049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":147049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":147049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097847040001,"66":24930,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097847040001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:34:07] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:34:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097847040001,"power":24930,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":147049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:34:07] local.INFO: GPS data processed {"connection_id":147049,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:34:07] local.INFO: Acknowledgment sent {"connection_id":147049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:34:39] local.INFO: TCP Data received {"connection_id":147049,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba6764b0012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba6764b0012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:34:39] local.INFO: Processing buffer {"connection_id":147049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba6764b0012d77a14005f2a670002600fa2a..."} 
[2026-08-01 04:34:39] local.INFO: Packet analysis {"connection_id":147049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba67"} 
[2026-08-01 04:34:39] local.INFO: Extracted packet for processing {"connection_id":147049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba67"} 
[2026-08-01 04:34:39] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 04:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097847040001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 04:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785538766000,"timestamp_ms":1785538766000,"timestamp_seconds":1785538766,"priority":1,"record_length":96,"hex_timestamp":"0000019fba6764b0"} 
[2026-08-01 04:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 04:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 04:34:39] 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-08-01 04:34:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 04:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":147049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":147049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":147049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097847040001,"66":24930,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097847040001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:34:39] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:34:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097847040001,"power":24930,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":147049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:34:39] local.INFO: GPS data processed {"connection_id":147049,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:34:39] local.INFO: Acknowledgment sent {"connection_id":147049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:35:01] local.INFO: TCP Data received {"connection_id":146033,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:35:01] local.INFO: Processing buffer {"connection_id":146033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:35:01] local.INFO: IMEI packet received {"connection_id":146033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":146033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:35:05] local.INFO: TCP Data received {"connection_id":146033,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:35:05] local.INFO: Processing buffer {"connection_id":146033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:35:05] local.INFO: IMEI packet received {"connection_id":146033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":146033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:35:09] local.INFO: TCP Data received {"connection_id":146033,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba6bfc78012d77a14005f2a670002600fa28..."} 
[2026-08-01 04:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba6bfc78012d77a14005f2a670002600fa28..."} 
[2026-08-01 04:35:09] local.INFO: Processing buffer {"connection_id":146033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba6bfc78012d77a14005f2a670002600fa28..."} 
[2026-08-01 04:35:09] local.INFO: Packet analysis {"connection_id":146033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba6b"} 
[2026-08-01 04:35:09] local.INFO: Extracted packet for processing {"connection_id":146033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba6b"} 
[2026-08-01 04:35:09] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097924096001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:35: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-08-01 04:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785539067000,"timestamp_ms":1785539067000,"timestamp_seconds":1785539067,"priority":1,"record_length":96,"hex_timestamp":"0000019fba6bfc78"} 
[2026-08-01 04:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 04: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":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-01 04:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 04:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":146033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":146033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":146033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097924096001,"66":25462,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097924096001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:35:09] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:35:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097924096001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":146033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:35:09] local.INFO: GPS data processed {"connection_id":146033,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:35:09] local.INFO: Acknowledgment sent {"connection_id":146033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:35:11] local.INFO: TCP Data received {"connection_id":146033,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba6bfc78012d77a14005f2a670002600fa28..."} 
[2026-08-01 04:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba6bfc78012d77a14005f2a670002600fa28..."} 
[2026-08-01 04:35:11] local.INFO: Processing buffer {"connection_id":146033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba6bfc78012d77a14005f2a670002600fa28..."} 
[2026-08-01 04:35:11] local.INFO: Packet analysis {"connection_id":146033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba6b"} 
[2026-08-01 04:35:11] local.INFO: Extracted packet for processing {"connection_id":146033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba6b"} 
[2026-08-01 04:35:11] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097924096001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:35:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:35:11] 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-08-01 04:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785539067000,"timestamp_ms":1785539067000,"timestamp_seconds":1785539067,"priority":1,"record_length":96,"hex_timestamp":"0000019fba6bfc78"} 
[2026-08-01 04:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:35:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 04: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":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-01 04:35:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04: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-08-01 04:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:35:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097924096001,"66":25462,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097924096001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:35:11] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:35:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:35:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097924096001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":146033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:35:11] local.INFO: GPS data processed {"connection_id":146033,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:35:11] local.INFO: Acknowledgment sent {"connection_id":146033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:35:42] local.INFO: TCP Data received {"connection_id":146033,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba6bfc78012d77a14005f2a670002600fa28..."} 
[2026-08-01 04:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba6bfc78012d77a14005f2a670002600fa28..."} 
[2026-08-01 04:35:42] local.INFO: Processing buffer {"connection_id":146033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba6bfc78012d77a14005f2a670002600fa28..."} 
[2026-08-01 04:35:42] local.INFO: Packet analysis {"connection_id":146033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba6b"} 
[2026-08-01 04:35:42] local.INFO: Extracted packet for processing {"connection_id":146033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba6b"} 
[2026-08-01 04:35:42] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 04:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097924096001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:35:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:35: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-08-01 04:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785539067000,"timestamp_ms":1785539067000,"timestamp_seconds":1785539067,"priority":1,"record_length":96,"hex_timestamp":"0000019fba6bfc78"} 
[2026-08-01 04:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:35: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-08-01 04:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-01 04:35:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04:35:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 04:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":146033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":146033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":146033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097924096001,"66":25462,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097924096001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:35:42] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:35:42] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:35:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097924096001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":146033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:35:42] local.INFO: GPS data processed {"connection_id":146033,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:35:42] local.INFO: Acknowledgment sent {"connection_id":146033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:35:56] local.INFO: TCP Data received {"connection_id":145831,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:35:56] local.INFO: Processing buffer {"connection_id":145831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:35:56] local.INFO: IMEI packet received {"connection_id":145831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":145831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:36:01] local.INFO: TCP Data received {"connection_id":145831,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:36:01] local.INFO: Processing buffer {"connection_id":145831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:36:01] local.INFO: IMEI packet received {"connection_id":145831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":145831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:36:02] local.INFO: TCP Data received {"connection_id":145831,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba6bfc78012d77a14005f2a670002600fa28..."} 
[2026-08-01 04:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba6bfc78012d77a14005f2a670002600fa28..."} 
[2026-08-01 04:36:02] local.INFO: Processing buffer {"connection_id":145831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba6bfc78012d77a14005f2a670002600fa28..."} 
[2026-08-01 04:36:02] local.INFO: Packet analysis {"connection_id":145831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba6b"} 
[2026-08-01 04:36:02] local.INFO: Extracted packet for processing {"connection_id":145831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba6b"} 
[2026-08-01 04:36:02] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097924096001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:36: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-08-01 04:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785539067000,"timestamp_ms":1785539067000,"timestamp_seconds":1785539067,"priority":1,"record_length":96,"hex_timestamp":"0000019fba6bfc78"} 
[2026-08-01 04:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:36: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-08-01 04: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":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-01 04:36:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04: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-08-01 04:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":145831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":145831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":145831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097924096001,"66":25462,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097924096001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:36:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:36:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097924096001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":145831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:36:02] local.INFO: GPS data processed {"connection_id":145831,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:36:02] local.INFO: Acknowledgment sent {"connection_id":145831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:36:34] local.INFO: TCP Data received {"connection_id":145831,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba6bfc78012d77a14005f2a670002600fa28..."} 
[2026-08-01 04:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba6bfc78012d77a14005f2a670002600fa28..."} 
[2026-08-01 04:36:34] local.INFO: Processing buffer {"connection_id":145831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba6bfc78012d77a14005f2a670002600fa28..."} 
[2026-08-01 04:36:34] local.INFO: Packet analysis {"connection_id":145831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba6b"} 
[2026-08-01 04:36:34] local.INFO: Extracted packet for processing {"connection_id":145831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba6b"} 
[2026-08-01 04:36:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097924096001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:36:34] 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-08-01 04:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785539067000,"timestamp_ms":1785539067000,"timestamp_seconds":1785539067,"priority":1,"record_length":96,"hex_timestamp":"0000019fba6bfc78"} 
[2026-08-01 04:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:36: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-08-01 04: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":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-01 04:36:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04: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-08-01 04:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097924096001,"66":25462,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097924096001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:36:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:36:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097924096001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":145831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:36:34] local.INFO: GPS data processed {"connection_id":145831,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:36:34] local.INFO: Acknowledgment sent {"connection_id":145831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:36:56] local.INFO: TCP Data received {"connection_id":147050,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:36:56] local.INFO: Processing buffer {"connection_id":147050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:36:56] local.INFO: IMEI packet received {"connection_id":147050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":147050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:37:01] local.INFO: TCP Data received {"connection_id":147050,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:37:01] local.INFO: Processing buffer {"connection_id":147050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:37:01] local.INFO: IMEI packet received {"connection_id":147050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":147050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:37:06] local.INFO: TCP Data received {"connection_id":147050,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba6bfc78012d77a14005f2a670002600fa28..."} 
[2026-08-01 04:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba6bfc78012d77a14005f2a670002600fa28..."} 
[2026-08-01 04:37:06] local.INFO: Processing buffer {"connection_id":147050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba6bfc78012d77a14005f2a670002600fa28..."} 
[2026-08-01 04:37:06] local.INFO: Packet analysis {"connection_id":147050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba6b"} 
[2026-08-01 04:37:06] local.INFO: Extracted packet for processing {"connection_id":147050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba6b"} 
[2026-08-01 04:37:06] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097924096001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 04:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785539067000,"timestamp_ms":1785539067000,"timestamp_seconds":1785539067,"priority":1,"record_length":96,"hex_timestamp":"0000019fba6bfc78"} 
[2026-08-01 04:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:37: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-08-01 04: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":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-01 04:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04: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-08-01 04:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097924096001,"66":25462,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097924096001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:37:06] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:37:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097924096001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":147050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:37:06] local.INFO: GPS data processed {"connection_id":147050,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:37:06] local.INFO: Acknowledgment sent {"connection_id":147050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:38:02] local.INFO: TCP Data received {"connection_id":147051,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:38:02] local.INFO: Processing buffer {"connection_id":147051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:38:02] local.INFO: IMEI packet received {"connection_id":147051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":147051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:38:07] local.INFO: TCP Data received {"connection_id":147051,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:38:07] local.INFO: Processing buffer {"connection_id":147051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:38:07] local.INFO: IMEI packet received {"connection_id":147051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":147051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:38:09] local.INFO: TCP Data received {"connection_id":147051,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba6bfc78012d77a14005f2a670002600fa28..."} 
[2026-08-01 04:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba6bfc78012d77a14005f2a670002600fa28..."} 
[2026-08-01 04:38:09] local.INFO: Processing buffer {"connection_id":147051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba6bfc78012d77a14005f2a670002600fa28..."} 
[2026-08-01 04:38:09] local.INFO: Packet analysis {"connection_id":147051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba6b"} 
[2026-08-01 04:38:09] local.INFO: Extracted packet for processing {"connection_id":147051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba6b"} 
[2026-08-01 04:38:09] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 04:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097924096001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:38:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 04:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785539067000,"timestamp_ms":1785539067000,"timestamp_seconds":1785539067,"priority":1,"record_length":96,"hex_timestamp":"0000019fba6bfc78"} 
[2026-08-01 04:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:38: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-08-01 04:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-01 04:38:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04:38:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 04:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":147051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":147051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":147051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:38:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097924096001,"66":25462,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097924096001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:38:09] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:38:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097924096001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":147051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:38:09] local.INFO: GPS data processed {"connection_id":147051,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:38:09] local.INFO: Acknowledgment sent {"connection_id":147051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:38:41] local.INFO: TCP Data received {"connection_id":147051,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba6bfc78012d77a14005f2a670002600fa28..."} 
[2026-08-01 04:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba6bfc78012d77a14005f2a670002600fa28..."} 
[2026-08-01 04:38:41] local.INFO: Processing buffer {"connection_id":147051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba6bfc78012d77a14005f2a670002600fa28..."} 
[2026-08-01 04:38:41] local.INFO: Packet analysis {"connection_id":147051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba6b"} 
[2026-08-01 04:38:41] local.INFO: Extracted packet for processing {"connection_id":147051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba6b"} 
[2026-08-01 04:38:41] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097924096001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04: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-08-01 04:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785539067000,"timestamp_ms":1785539067000,"timestamp_seconds":1785539067,"priority":1,"record_length":96,"hex_timestamp":"0000019fba6bfc78"} 
[2026-08-01 04:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04: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-08-01 04: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":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-01 04:38:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04: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-08-01 04:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":147051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":147051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":147051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097924096001,"66":25462,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097924096001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:38:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:38:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097924096001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":147051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:38:42] local.INFO: GPS data processed {"connection_id":147051,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:38:42] local.INFO: Acknowledgment sent {"connection_id":147051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:38:56] local.INFO: TCP Data received {"connection_id":147052,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:38:56] local.INFO: Processing buffer {"connection_id":147052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:38:56] local.INFO: IMEI packet received {"connection_id":147052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":147052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:39:02] local.INFO: TCP Data received {"connection_id":147052,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:39:02] local.INFO: Processing buffer {"connection_id":147052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:39:02] local.INFO: IMEI packet received {"connection_id":147052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":147052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:39:03] local.INFO: TCP Data received {"connection_id":147052,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba6bfc78012d77a14005f2a670002600fa28..."} 
[2026-08-01 04:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba6bfc78012d77a14005f2a670002600fa28..."} 
[2026-08-01 04:39:03] local.INFO: Processing buffer {"connection_id":147052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba6bfc78012d77a14005f2a670002600fa28..."} 
[2026-08-01 04:39:03] local.INFO: Packet analysis {"connection_id":147052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba6b"} 
[2026-08-01 04:39:03] local.INFO: Extracted packet for processing {"connection_id":147052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba6b"} 
[2026-08-01 04:39:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097924096001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:39: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-08-01 04:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785539067000,"timestamp_ms":1785539067000,"timestamp_seconds":1785539067,"priority":1,"record_length":96,"hex_timestamp":"0000019fba6bfc78"} 
[2026-08-01 04:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:39: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-08-01 04: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":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-01 04:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04: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-08-01 04:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097924096001,"66":25462,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097924096001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:39:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:39:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097924096001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":147052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:39:03] local.INFO: GPS data processed {"connection_id":147052,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:39:03] local.INFO: Acknowledgment sent {"connection_id":147052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:39:39] local.INFO: TCP Data received {"connection_id":147052,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba6bfc78012d77a14005f2a670002600fa28..."} 
[2026-08-01 04:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba6bfc78012d77a14005f2a670002600fa28..."} 
[2026-08-01 04:39:39] local.INFO: Processing buffer {"connection_id":147052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba6bfc78012d77a14005f2a670002600fa28..."} 
[2026-08-01 04:39:39] local.INFO: Packet analysis {"connection_id":147052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba6b"} 
[2026-08-01 04:39:39] local.INFO: Extracted packet for processing {"connection_id":147052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba6b"} 
[2026-08-01 04:39:39] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 04:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097924096001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:39:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 04:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785539067000,"timestamp_ms":1785539067000,"timestamp_seconds":1785539067,"priority":1,"record_length":96,"hex_timestamp":"0000019fba6bfc78"} 
[2026-08-01 04:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:39:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 04:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-01 04:39:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04:39:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 04:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":147052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":147052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":147052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:39:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097924096001,"66":25462,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097924096001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:39:39] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:39:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097924096001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":147052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:39:39] local.INFO: GPS data processed {"connection_id":147052,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:39:39] local.INFO: Acknowledgment sent {"connection_id":147052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:39:56] local.INFO: TCP Data received {"connection_id":147053,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:39:56] local.INFO: Processing buffer {"connection_id":147053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:39:56] local.INFO: IMEI packet received {"connection_id":147053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":147053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:40:02] local.INFO: TCP Data received {"connection_id":147053,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:40:02] local.INFO: Processing buffer {"connection_id":147053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:40:02] local.INFO: IMEI packet received {"connection_id":147053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":147053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:40:03] local.INFO: TCP Data received {"connection_id":147053,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba6bfc78012d77a14005f2a670002600fa28..."} 
[2026-08-01 04:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba6bfc78012d77a14005f2a670002600fa28..."} 
[2026-08-01 04:40:03] local.INFO: Processing buffer {"connection_id":147053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba6bfc78012d77a14005f2a670002600fa28..."} 
[2026-08-01 04:40:03] local.INFO: Packet analysis {"connection_id":147053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba6b"} 
[2026-08-01 04:40:03] local.INFO: Extracted packet for processing {"connection_id":147053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba6b"} 
[2026-08-01 04:40:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":38,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457097924096001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04: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-08-01 04:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785539067000,"timestamp_ms":1785539067000,"timestamp_seconds":1785539067,"priority":1,"record_length":96,"hex_timestamp":"0000019fba6bfc78"} 
[2026-08-01 04:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04: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-08-01 04: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":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-01 04:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04: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-08-01 04:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457097924096001,"66":25462,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457097924096001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:40:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:40:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457097924096001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":147053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:40:03] local.INFO: GPS data processed {"connection_id":147053,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:40:03] local.INFO: Acknowledgment sent {"connection_id":147053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:40:34] local.INFO: TCP Data received {"connection_id":147053,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba709440012d77a14005f2a670001e00fa29..."} 
[2026-08-01 04:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba709440012d77a14005f2a670001e00fa29..."} 
[2026-08-01 04:40:34] local.INFO: Processing buffer {"connection_id":147053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba709440012d77a14005f2a670001e00fa29..."} 
[2026-08-01 04:40:34] local.INFO: Packet analysis {"connection_id":147053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba70"} 
[2026-08-01 04:40:34] local.INFO: Extracted packet for processing {"connection_id":147053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba70"} 
[2026-08-01 04:40:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098001152001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:40:34] 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-08-01 04:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785539368000,"timestamp_ms":1785539368000,"timestamp_seconds":1785539368,"priority":1,"record_length":96,"hex_timestamp":"0000019fba709440"} 
[2026-08-01 04:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:40: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-08-01 04: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 04:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04: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-08-01 04:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098001152001,"66":25343,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098001152001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:40:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:40:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098001152001,"power":25343,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":147053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:40:34] local.INFO: GPS data processed {"connection_id":147053,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:40:34] local.INFO: Acknowledgment sent {"connection_id":147053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:41:02] local.INFO: TCP Data received {"connection_id":147054,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:41:02] local.INFO: Processing buffer {"connection_id":147054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:41:02] local.INFO: IMEI packet received {"connection_id":147054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":147054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:41:07] local.INFO: TCP Data received {"connection_id":147054,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:41:07] local.INFO: Processing buffer {"connection_id":147054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:41:07] local.INFO: IMEI packet received {"connection_id":147054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":147054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:41:08] local.INFO: TCP Data received {"connection_id":147054,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba709440012d77a14005f2a670001e00fa29..."} 
[2026-08-01 04:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba709440012d77a14005f2a670001e00fa29..."} 
[2026-08-01 04:41:08] local.INFO: Processing buffer {"connection_id":147054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba709440012d77a14005f2a670001e00fa29..."} 
[2026-08-01 04:41:08] local.INFO: Packet analysis {"connection_id":147054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba70"} 
[2026-08-01 04:41:08] local.INFO: Extracted packet for processing {"connection_id":147054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba70"} 
[2026-08-01 04:41:08] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098001152001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:41: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-08-01 04:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785539368000,"timestamp_ms":1785539368000,"timestamp_seconds":1785539368,"priority":1,"record_length":96,"hex_timestamp":"0000019fba709440"} 
[2026-08-01 04:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 04: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 04:41:08] 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-08-01 04: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-08-01 04:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":147054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":147054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":147054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098001152001,"66":25343,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098001152001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:41:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:41:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098001152001,"power":25343,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":147054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:41:08] local.INFO: GPS data processed {"connection_id":147054,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:41:08] local.INFO: Acknowledgment sent {"connection_id":147054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:41:12] local.INFO: TCP Data received {"connection_id":147054,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba709440012d77a14005f2a670001e00fa29..."} 
[2026-08-01 04:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba709440012d77a14005f2a670001e00fa29..."} 
[2026-08-01 04:41:12] local.INFO: Processing buffer {"connection_id":147054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba709440012d77a14005f2a670001e00fa29..."} 
[2026-08-01 04:41:12] local.INFO: Packet analysis {"connection_id":147054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba70"} 
[2026-08-01 04:41:12] local.INFO: Extracted packet for processing {"connection_id":147054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba70"} 
[2026-08-01 04:41:12] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 04:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098001152001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:41:12] 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-08-01 04:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785539368000,"timestamp_ms":1785539368000,"timestamp_seconds":1785539368,"priority":1,"record_length":96,"hex_timestamp":"0000019fba709440"} 
[2026-08-01 04:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 04:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 04:41:12] 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-08-01 04:41:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 04:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":147054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":147054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":147054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098001152001,"66":25343,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098001152001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:41:12] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:41:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098001152001,"power":25343,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":147054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:41:12] local.INFO: GPS data processed {"connection_id":147054,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:41:12] local.INFO: Acknowledgment sent {"connection_id":147054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:41:57] local.INFO: TCP Data received {"connection_id":148370,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:41:57] local.INFO: Processing buffer {"connection_id":148370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:41:57] local.INFO: IMEI packet received {"connection_id":148370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":148370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:42:02] local.INFO: TCP Data received {"connection_id":148370,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:42:02] local.INFO: Processing buffer {"connection_id":148370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:42:02] local.INFO: IMEI packet received {"connection_id":148370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":148370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:42:02] local.INFO: TCP Data received {"connection_id":148370,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba709440012d77a14005f2a670001e00fa29..."} 
[2026-08-01 04:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba709440012d77a14005f2a670001e00fa29..."} 
[2026-08-01 04:42:02] local.INFO: Processing buffer {"connection_id":148370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba709440012d77a14005f2a670001e00fa29..."} 
[2026-08-01 04:42:02] local.INFO: Packet analysis {"connection_id":148370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba70"} 
[2026-08-01 04:42:02] local.INFO: Extracted packet for processing {"connection_id":148370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba70"} 
[2026-08-01 04:42:02] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098001152001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04: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-08-01 04:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785539368000,"timestamp_ms":1785539368000,"timestamp_seconds":1785539368,"priority":1,"record_length":96,"hex_timestamp":"0000019fba709440"} 
[2026-08-01 04:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:42:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 04: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":118,"data_length":795,"current_offset":136} 
[2026-08-01 04:42:02] 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-08-01 04: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-08-01 04:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":148370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":148370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":148370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098001152001,"66":25343,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098001152001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:42:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:42:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098001152001,"power":25343,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":148370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:42:02] local.INFO: GPS data processed {"connection_id":148370,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:42:02] local.INFO: Acknowledgment sent {"connection_id":148370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:42:34] local.INFO: TCP Data received {"connection_id":148370,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba709440012d77a14005f2a670001e00fa29..."} 
[2026-08-01 04:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba709440012d77a14005f2a670001e00fa29..."} 
[2026-08-01 04:42:34] local.INFO: Processing buffer {"connection_id":148370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba709440012d77a14005f2a670001e00fa29..."} 
[2026-08-01 04:42:34] local.INFO: Packet analysis {"connection_id":148370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba70"} 
[2026-08-01 04:42:34] local.INFO: Extracted packet for processing {"connection_id":148370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba70"} 
[2026-08-01 04:42:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098001152001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:42:34] 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-08-01 04:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785539368000,"timestamp_ms":1785539368000,"timestamp_seconds":1785539368,"priority":1,"record_length":96,"hex_timestamp":"0000019fba709440"} 
[2026-08-01 04:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:42: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-08-01 04: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 04:42:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04: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-08-01 04:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098001152001,"66":25343,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098001152001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:42:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:42:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098001152001,"power":25343,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":148370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:42:34] local.INFO: GPS data processed {"connection_id":148370,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:42:34] local.INFO: Acknowledgment sent {"connection_id":148370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:42:57] local.INFO: TCP Data received {"connection_id":145832,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:42:57] local.INFO: Processing buffer {"connection_id":145832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:42:57] local.INFO: IMEI packet received {"connection_id":145832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":145832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:43:02] local.INFO: TCP Data received {"connection_id":145832,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:43:02] local.INFO: Processing buffer {"connection_id":145832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:43:02] local.INFO: IMEI packet received {"connection_id":145832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":145832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:43:02] local.INFO: TCP Data received {"connection_id":145832,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba709440012d77a14005f2a670001e00fa29..."} 
[2026-08-01 04:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba709440012d77a14005f2a670001e00fa29..."} 
[2026-08-01 04:43:02] local.INFO: Processing buffer {"connection_id":145832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba709440012d77a14005f2a670001e00fa29..."} 
[2026-08-01 04:43:02] local.INFO: Packet analysis {"connection_id":145832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba70"} 
[2026-08-01 04:43:02] local.INFO: Extracted packet for processing {"connection_id":145832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba70"} 
[2026-08-01 04:43:02] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098001152001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:43: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-08-01 04:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785539368000,"timestamp_ms":1785539368000,"timestamp_seconds":1785539368,"priority":1,"record_length":96,"hex_timestamp":"0000019fba709440"} 
[2026-08-01 04:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 04: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 04:43:02] 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-08-01 04: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-08-01 04:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":145832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":145832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":145832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098001152001,"66":25343,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098001152001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:43:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:43:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098001152001,"power":25343,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":145832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:43:02] local.INFO: GPS data processed {"connection_id":145832,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:43:02] local.INFO: Acknowledgment sent {"connection_id":145832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:43:34] local.INFO: TCP Data received {"connection_id":145832,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba709440012d77a14005f2a670001e00fa29..."} 
[2026-08-01 04:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba709440012d77a14005f2a670001e00fa29..."} 
[2026-08-01 04:43:34] local.INFO: Processing buffer {"connection_id":145832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba709440012d77a14005f2a670001e00fa29..."} 
[2026-08-01 04:43:34] local.INFO: Packet analysis {"connection_id":145832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba70"} 
[2026-08-01 04:43:34] local.INFO: Extracted packet for processing {"connection_id":145832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba70"} 
[2026-08-01 04:43:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098001152001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:43:34] 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-08-01 04:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785539368000,"timestamp_ms":1785539368000,"timestamp_seconds":1785539368,"priority":1,"record_length":96,"hex_timestamp":"0000019fba709440"} 
[2026-08-01 04:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:43: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-08-01 04: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 04:43:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04: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-08-01 04:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098001152001,"66":25343,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098001152001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:43:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:43:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098001152001,"power":25343,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":145832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:43:34] local.INFO: GPS data processed {"connection_id":145832,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:43:34] local.INFO: Acknowledgment sent {"connection_id":145832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:43:56] local.INFO: TCP Data received {"connection_id":147055,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:43:56] local.INFO: Processing buffer {"connection_id":147055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:43:56] local.INFO: IMEI packet received {"connection_id":147055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":147055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:44:02] local.INFO: TCP Data received {"connection_id":147055,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:44:02] local.INFO: Processing buffer {"connection_id":147055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:44:02] local.INFO: IMEI packet received {"connection_id":147055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":147055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:44:02] local.INFO: TCP Data received {"connection_id":147055,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba709440012d77a14005f2a670001e00fa29..."} 
[2026-08-01 04:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba709440012d77a14005f2a670001e00fa29..."} 
[2026-08-01 04:44:02] local.INFO: Processing buffer {"connection_id":147055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba709440012d77a14005f2a670001e00fa29..."} 
[2026-08-01 04:44:02] local.INFO: Packet analysis {"connection_id":147055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba70"} 
[2026-08-01 04:44:02] local.INFO: Extracted packet for processing {"connection_id":147055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba70"} 
[2026-08-01 04:44:02] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098001152001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:44: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-08-01 04:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785539368000,"timestamp_ms":1785539368000,"timestamp_seconds":1785539368,"priority":1,"record_length":96,"hex_timestamp":"0000019fba709440"} 
[2026-08-01 04:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:44:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 04: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 04:44:02] 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-08-01 04: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-08-01 04:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":147055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":147055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":147055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:44:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098001152001,"66":25343,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098001152001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:44:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:44:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098001152001,"power":25343,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":147055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:44:02] local.INFO: GPS data processed {"connection_id":147055,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:44:02] local.INFO: Acknowledgment sent {"connection_id":147055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:44:34] local.INFO: TCP Data received {"connection_id":147055,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba709440012d77a14005f2a670001e00fa29..."} 
[2026-08-01 04:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba709440012d77a14005f2a670001e00fa29..."} 
[2026-08-01 04:44:34] local.INFO: Processing buffer {"connection_id":147055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba709440012d77a14005f2a670001e00fa29..."} 
[2026-08-01 04:44:34] local.INFO: Packet analysis {"connection_id":147055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba70"} 
[2026-08-01 04:44:34] local.INFO: Extracted packet for processing {"connection_id":147055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba70"} 
[2026-08-01 04:44:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098001152001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:44:34] 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-08-01 04:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785539368000,"timestamp_ms":1785539368000,"timestamp_seconds":1785539368,"priority":1,"record_length":96,"hex_timestamp":"0000019fba709440"} 
[2026-08-01 04:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:44: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-08-01 04: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 04:44:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04: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-08-01 04:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098001152001,"66":25343,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098001152001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:44:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:44:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098001152001,"power":25343,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":147055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:44:34] local.INFO: GPS data processed {"connection_id":147055,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:44:34] local.INFO: Acknowledgment sent {"connection_id":147055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:45:01] local.INFO: TCP Data received {"connection_id":148371,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:45:01] local.INFO: Processing buffer {"connection_id":148371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:45:01] local.INFO: IMEI packet received {"connection_id":148371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":148371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:45:06] local.INFO: TCP Data received {"connection_id":148371,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:45:06] local.INFO: Processing buffer {"connection_id":148371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:45:06] local.INFO: IMEI packet received {"connection_id":148371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":148371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:45:08] local.INFO: TCP Data received {"connection_id":148371,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba752c08012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba752c08012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:45:08] local.INFO: Processing buffer {"connection_id":148371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba752c08012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:45:08] local.INFO: Packet analysis {"connection_id":148371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba75"} 
[2026-08-01 04:45:08] local.INFO: Extracted packet for processing {"connection_id":148371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba75"} 
[2026-08-01 04:45:08] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098078208001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04: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-08-01 04:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785539669000,"timestamp_ms":1785539669000,"timestamp_seconds":1785539669,"priority":1,"record_length":96,"hex_timestamp":"0000019fba752c08"} 
[2026-08-01 04:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 04:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04: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-08-01 04:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":148371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":148371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":148371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098078208001,"66":25451,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098078208001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:45:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:45:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098078208001,"power":25451,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":148371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:45:08] local.INFO: GPS data processed {"connection_id":148371,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:45:08] local.INFO: Acknowledgment sent {"connection_id":148371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:45:39] local.INFO: TCP Data received {"connection_id":148371,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba752c08012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba752c08012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:45:39] local.INFO: Processing buffer {"connection_id":148371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba752c08012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:45:39] local.INFO: Packet analysis {"connection_id":148371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba75"} 
[2026-08-01 04:45:39] local.INFO: Extracted packet for processing {"connection_id":148371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba75"} 
[2026-08-01 04:45:39] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 04:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098078208001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:45:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 04:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785539669000,"timestamp_ms":1785539669000,"timestamp_seconds":1785539669,"priority":1,"record_length":96,"hex_timestamp":"0000019fba752c08"} 
[2026-08-01 04:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:45:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 04:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 04:45:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04:45:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 04:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":148371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":148371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":148371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:45:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098078208001,"66":25451,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098078208001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:45:39] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:45:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098078208001,"power":25451,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":148371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:45:39] local.INFO: GPS data processed {"connection_id":148371,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:45:39] local.INFO: Acknowledgment sent {"connection_id":148371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:45:56] local.INFO: TCP Data received {"connection_id":145833,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:45:56] local.INFO: Processing buffer {"connection_id":145833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:45:56] local.INFO: IMEI packet received {"connection_id":145833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":145833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:46:01] local.INFO: TCP Data received {"connection_id":145833,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:46:01] local.INFO: Processing buffer {"connection_id":145833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:46:01] local.INFO: IMEI packet received {"connection_id":145833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":145833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:46:02] local.INFO: TCP Data received {"connection_id":145833,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba752c08012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba752c08012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:46:02] local.INFO: Processing buffer {"connection_id":145833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba752c08012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:46:02] local.INFO: Packet analysis {"connection_id":145833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba75"} 
[2026-08-01 04:46:02] local.INFO: Extracted packet for processing {"connection_id":145833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba75"} 
[2026-08-01 04:46:02] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098078208001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:46: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-08-01 04:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785539669000,"timestamp_ms":1785539669000,"timestamp_seconds":1785539669,"priority":1,"record_length":96,"hex_timestamp":"0000019fba752c08"} 
[2026-08-01 04:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 04:46:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04: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-08-01 04:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":145833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":145833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":145833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098078208001,"66":25451,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098078208001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:46:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:46:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098078208001,"power":25451,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":145833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:46:02] local.INFO: GPS data processed {"connection_id":145833,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:46:02] local.INFO: Acknowledgment sent {"connection_id":145833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:46:07] local.INFO: TCP Data received {"connection_id":145833,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba752c08012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba752c08012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:46:07] local.INFO: Processing buffer {"connection_id":145833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba752c08012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:46:07] local.INFO: Packet analysis {"connection_id":145833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba75"} 
[2026-08-01 04:46:07] local.INFO: Extracted packet for processing {"connection_id":145833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba75"} 
[2026-08-01 04:46:07] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 04:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098078208001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:46: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-08-01 04:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785539669000,"timestamp_ms":1785539669000,"timestamp_seconds":1785539669,"priority":1,"record_length":96,"hex_timestamp":"0000019fba752c08"} 
[2026-08-01 04:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 04:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 04:46:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04:46:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 04:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":145833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":145833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":145833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098078208001,"66":25451,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098078208001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:46:07] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:46:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098078208001,"power":25451,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":145833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:46:07] local.INFO: GPS data processed {"connection_id":145833,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:46:07] local.INFO: Acknowledgment sent {"connection_id":145833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:46:38] local.INFO: TCP Data received {"connection_id":145833,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba752c08012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba752c08012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:46:38] local.INFO: Processing buffer {"connection_id":145833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba752c08012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:46:38] local.INFO: Packet analysis {"connection_id":145833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba75"} 
[2026-08-01 04:46:38] local.INFO: Extracted packet for processing {"connection_id":145833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba75"} 
[2026-08-01 04:46:38] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 04:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098078208001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 04:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785539669000,"timestamp_ms":1785539669000,"timestamp_seconds":1785539669,"priority":1,"record_length":96,"hex_timestamp":"0000019fba752c08"} 
[2026-08-01 04:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:46: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-08-01 04:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 04:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 04:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098078208001,"66":25451,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098078208001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:46:38] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:46:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098078208001,"power":25451,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":145833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:46:38] local.INFO: GPS data processed {"connection_id":145833,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:46:38] local.INFO: Acknowledgment sent {"connection_id":145833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:46:56] local.INFO: TCP Data received {"connection_id":148372,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:46:56] local.INFO: Processing buffer {"connection_id":148372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:46:56] local.INFO: IMEI packet received {"connection_id":148372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":148372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:47:02] local.INFO: TCP Data received {"connection_id":148372,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:47:02] local.INFO: Processing buffer {"connection_id":148372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:47:02] local.INFO: IMEI packet received {"connection_id":148372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":148372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:47:02] local.INFO: TCP Data received {"connection_id":148372,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba752c08012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba752c08012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:47:02] local.INFO: Processing buffer {"connection_id":148372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba752c08012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:47:02] local.INFO: Packet analysis {"connection_id":148372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba75"} 
[2026-08-01 04:47:02] local.INFO: Extracted packet for processing {"connection_id":148372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba75"} 
[2026-08-01 04:47:02] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098078208001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:47:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:47: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-08-01 04:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785539669000,"timestamp_ms":1785539669000,"timestamp_seconds":1785539669,"priority":1,"record_length":96,"hex_timestamp":"0000019fba752c08"} 
[2026-08-01 04:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:47:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 04:47:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04: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-08-01 04:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":148372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":148372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":148372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:47:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098078208001,"66":25451,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098078208001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:47:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:47:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:47:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098078208001,"power":25451,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":148372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:47:02] local.INFO: GPS data processed {"connection_id":148372,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:47:02] local.INFO: Acknowledgment sent {"connection_id":148372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:47:35] local.INFO: TCP Data received {"connection_id":148372,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba752c08012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba752c08012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:47:35] local.INFO: Processing buffer {"connection_id":148372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba752c08012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:47:35] local.INFO: Packet analysis {"connection_id":148372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba75"} 
[2026-08-01 04:47:35] local.INFO: Extracted packet for processing {"connection_id":148372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba75"} 
[2026-08-01 04:47:35] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 04:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098078208001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:47: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-08-01 04:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785539669000,"timestamp_ms":1785539669000,"timestamp_seconds":1785539669,"priority":1,"record_length":96,"hex_timestamp":"0000019fba752c08"} 
[2026-08-01 04:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 04:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 04:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 04:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098078208001,"66":25451,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098078208001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:47:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:47:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098078208001,"power":25451,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":148372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:47:35] local.INFO: GPS data processed {"connection_id":148372,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:47:35] local.INFO: Acknowledgment sent {"connection_id":148372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:48:02] local.INFO: TCP Data received {"connection_id":145834,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:48:02] local.INFO: Processing buffer {"connection_id":145834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:48:02] local.INFO: IMEI packet received {"connection_id":145834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":145834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:48:07] local.INFO: TCP Data received {"connection_id":145834,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:48:07] local.INFO: Processing buffer {"connection_id":145834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:48:07] local.INFO: IMEI packet received {"connection_id":145834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":145834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:48:07] local.INFO: TCP Data received {"connection_id":145834,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba752c08012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba752c08012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:48:07] local.INFO: Processing buffer {"connection_id":145834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba752c08012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:48:07] local.INFO: Packet analysis {"connection_id":145834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba75"} 
[2026-08-01 04:48:07] local.INFO: Extracted packet for processing {"connection_id":145834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba75"} 
[2026-08-01 04:48:07] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 04:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098078208001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:48: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-08-01 04:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785539669000,"timestamp_ms":1785539669000,"timestamp_seconds":1785539669,"priority":1,"record_length":96,"hex_timestamp":"0000019fba752c08"} 
[2026-08-01 04:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 04:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 04:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 04:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":145834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":145834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":145834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098078208001,"66":25451,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098078208001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:48:07] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:48:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098078208001,"power":25451,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":145834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:48:07] local.INFO: GPS data processed {"connection_id":145834,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:48:07] local.INFO: Acknowledgment sent {"connection_id":145834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:48:12] local.INFO: TCP Data received {"connection_id":145834,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba752c08012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba752c08012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:48:12] local.INFO: Processing buffer {"connection_id":145834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba752c08012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:48:12] local.INFO: Packet analysis {"connection_id":145834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba75"} 
[2026-08-01 04:48:12] local.INFO: Extracted packet for processing {"connection_id":145834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba75"} 
[2026-08-01 04:48:12] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 04:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098078208001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:48:12] 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-08-01 04:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785539669000,"timestamp_ms":1785539669000,"timestamp_seconds":1785539669,"priority":1,"record_length":96,"hex_timestamp":"0000019fba752c08"} 
[2026-08-01 04:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 04:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 04:48:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 04:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":145834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":145834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":145834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098078208001,"66":25451,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098078208001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:48:12] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:48:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098078208001,"power":25451,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":145834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:48:12] local.INFO: GPS data processed {"connection_id":145834,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:48:12] local.INFO: Acknowledgment sent {"connection_id":145834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:48:58] local.INFO: TCP Data received {"connection_id":145835,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:48:58] local.INFO: Processing buffer {"connection_id":145835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:48:58] local.INFO: IMEI packet received {"connection_id":145835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":145835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:49:02] local.INFO: TCP Data received {"connection_id":145835,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:49:02] local.INFO: Processing buffer {"connection_id":145835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:49:02] local.INFO: IMEI packet received {"connection_id":145835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":145835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:49:02] local.INFO: TCP Data received {"connection_id":145835,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba752c08012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba752c08012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:49:02] local.INFO: Processing buffer {"connection_id":145835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba752c08012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:49:02] local.INFO: Packet analysis {"connection_id":145835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba75"} 
[2026-08-01 04:49:02] local.INFO: Extracted packet for processing {"connection_id":145835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba75"} 
[2026-08-01 04:49:02] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098078208001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:49:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:49: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-08-01 04:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785539669000,"timestamp_ms":1785539669000,"timestamp_seconds":1785539669,"priority":1,"record_length":96,"hex_timestamp":"0000019fba752c08"} 
[2026-08-01 04:49:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:49:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 04:49:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04: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-08-01 04:49:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":145835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":145835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":145835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:49:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098078208001,"66":25451,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098078208001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:49:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:49:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:49:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:49:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098078208001,"power":25451,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":145835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:49:02] local.INFO: GPS data processed {"connection_id":145835,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:49:02] local.INFO: Acknowledgment sent {"connection_id":145835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:49:07] local.INFO: TCP Data received {"connection_id":145835,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba752c08012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba752c08012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:49:07] local.INFO: Processing buffer {"connection_id":145835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba752c08012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:49:07] local.INFO: Packet analysis {"connection_id":145835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba75"} 
[2026-08-01 04:49:07] local.INFO: Extracted packet for processing {"connection_id":145835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba75"} 
[2026-08-01 04:49:07] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 04:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098078208001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:49: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-08-01 04:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785539669000,"timestamp_ms":1785539669000,"timestamp_seconds":1785539669,"priority":1,"record_length":96,"hex_timestamp":"0000019fba752c08"} 
[2026-08-01 04:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 04:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 04:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04:49:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 04:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":145835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":145835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":145835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098078208001,"66":25451,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098078208001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:49:07] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:49:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098078208001,"power":25451,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":145835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:49:07] local.INFO: GPS data processed {"connection_id":145835,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:49:07] local.INFO: Acknowledgment sent {"connection_id":145835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:49:39] local.INFO: TCP Data received {"connection_id":145835,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba752c08012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba752c08012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:49:39] local.INFO: Processing buffer {"connection_id":145835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba752c08012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:49:39] local.INFO: Packet analysis {"connection_id":145835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba75"} 
[2026-08-01 04:49:39] local.INFO: Extracted packet for processing {"connection_id":145835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba75"} 
[2026-08-01 04:49:39] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 04:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098078208001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 04:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785539669000,"timestamp_ms":1785539669000,"timestamp_seconds":1785539669,"priority":1,"record_length":96,"hex_timestamp":"0000019fba752c08"} 
[2026-08-01 04:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 04:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 04:49:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 04:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":145835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":145835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":145835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098078208001,"66":25451,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098078208001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:49:39] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:49:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098078208001,"power":25451,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":145835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:49:39] local.INFO: GPS data processed {"connection_id":145835,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:49:39] local.INFO: Acknowledgment sent {"connection_id":145835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:49:56] local.INFO: TCP Data received {"connection_id":146034,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:49:56] local.INFO: Processing buffer {"connection_id":146034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:49:56] local.INFO: IMEI packet received {"connection_id":146034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":146034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:50:02] local.INFO: TCP Data received {"connection_id":146034,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:50:02] local.INFO: Processing buffer {"connection_id":146034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:50:02] local.INFO: IMEI packet received {"connection_id":146034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":146034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:50:02] local.INFO: TCP Data received {"connection_id":146034,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba752c08012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba752c08012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:50:02] local.INFO: Processing buffer {"connection_id":146034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba752c08012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:50:02] local.INFO: Packet analysis {"connection_id":146034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba75"} 
[2026-08-01 04:50:02] local.INFO: Extracted packet for processing {"connection_id":146034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba75"} 
[2026-08-01 04:50:02] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 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-08-01 04:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098078208001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:50: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-08-01 04:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785539669000,"timestamp_ms":1785539669000,"timestamp_seconds":1785539669,"priority":1,"record_length":96,"hex_timestamp":"0000019fba752c08"} 
[2026-08-01 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-08-01 04:50:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 04:50:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 04:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098078208001,"66":25451,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098078208001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:50:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:50:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098078208001,"power":25451,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":146034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:50:02] local.INFO: GPS data processed {"connection_id":146034,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:50:02] local.INFO: Acknowledgment sent {"connection_id":146034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:50:33] local.INFO: TCP Data received {"connection_id":146034,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba79c3d0012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba79c3d0012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:50:33] local.INFO: Processing buffer {"connection_id":146034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba79c3d0012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:50:33] local.INFO: Packet analysis {"connection_id":146034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba79"} 
[2026-08-01 04:50:33] local.INFO: Extracted packet for processing {"connection_id":146034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba79"} 
[2026-08-01 04:50:33] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098155264001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:50: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-08-01 04:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785539970000,"timestamp_ms":1785539970000,"timestamp_seconds":1785539970,"priority":1,"record_length":96,"hex_timestamp":"0000019fba79c3d0"} 
[2026-08-01 04:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 04: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":107,"data_length":795,"current_offset":136} 
[2026-08-01 04:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04: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-08-01 04:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098155264001,"66":25451,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098155264001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:50:33] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:50:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098155264001,"power":25451,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":146034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:50:33] local.INFO: GPS data processed {"connection_id":146034,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:50:33] local.INFO: Acknowledgment sent {"connection_id":146034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:50:56] local.INFO: TCP Data received {"connection_id":146035,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:50:56] local.INFO: Processing buffer {"connection_id":146035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:50:56] local.INFO: IMEI packet received {"connection_id":146035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":146035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:51:02] local.INFO: TCP Data received {"connection_id":146035,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:51:02] local.INFO: Processing buffer {"connection_id":146035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:51:02] local.INFO: IMEI packet received {"connection_id":146035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":146035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:51:04] local.INFO: TCP Data received {"connection_id":146035,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba79c3d0012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba79c3d0012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:51:04] local.INFO: Processing buffer {"connection_id":146035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba79c3d0012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:51:04] local.INFO: Packet analysis {"connection_id":146035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba79"} 
[2026-08-01 04:51:04] local.INFO: Extracted packet for processing {"connection_id":146035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba79"} 
[2026-08-01 04:51:04] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 04:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098155264001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:51: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-08-01 04:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785539970000,"timestamp_ms":1785539970000,"timestamp_seconds":1785539970,"priority":1,"record_length":96,"hex_timestamp":"0000019fba79c3d0"} 
[2026-08-01 04:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:51: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-08-01 04:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 04:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 04:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098155264001,"66":25451,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098155264001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:51:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:51:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098155264001,"power":25451,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":146035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:51:04] local.INFO: GPS data processed {"connection_id":146035,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:51:04] local.INFO: Acknowledgment sent {"connection_id":146035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:51:36] local.INFO: TCP Data received {"connection_id":146035,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba79c3d0012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba79c3d0012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:51:36] local.INFO: Processing buffer {"connection_id":146035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba79c3d0012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:51:36] local.INFO: Packet analysis {"connection_id":146035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba79"} 
[2026-08-01 04:51:36] local.INFO: Extracted packet for processing {"connection_id":146035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba79"} 
[2026-08-01 04:51:36] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098155264001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:51: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-08-01 04:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785539970000,"timestamp_ms":1785539970000,"timestamp_seconds":1785539970,"priority":1,"record_length":96,"hex_timestamp":"0000019fba79c3d0"} 
[2026-08-01 04:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:51: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-08-01 04: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 04:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04: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-08-01 04:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098155264001,"66":25451,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098155264001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:51:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:51:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098155264001,"power":25451,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":146035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:51:36] local.INFO: GPS data processed {"connection_id":146035,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:51:36] local.INFO: Acknowledgment sent {"connection_id":146035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:52:02] local.INFO: TCP Data received {"connection_id":146036,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:52:02] local.INFO: Processing buffer {"connection_id":146036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:52:02] local.INFO: IMEI packet received {"connection_id":146036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":146036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:52:07] local.INFO: TCP Data received {"connection_id":146036,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:52:07] local.INFO: Processing buffer {"connection_id":146036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:52:07] local.INFO: IMEI packet received {"connection_id":146036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":146036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:52:07] local.INFO: TCP Data received {"connection_id":146036,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba79c3d0012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba79c3d0012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:52:07] local.INFO: Processing buffer {"connection_id":146036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba79c3d0012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:52:07] local.INFO: Packet analysis {"connection_id":146036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba79"} 
[2026-08-01 04:52:07] local.INFO: Extracted packet for processing {"connection_id":146036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba79"} 
[2026-08-01 04:52:07] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 04:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098155264001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 04:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785539970000,"timestamp_ms":1785539970000,"timestamp_seconds":1785539970,"priority":1,"record_length":96,"hex_timestamp":"0000019fba79c3d0"} 
[2026-08-01 04:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:52: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-08-01 04:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 04:52:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 04:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098155264001,"66":25451,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098155264001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:52:07] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:52:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098155264001,"power":25451,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":146036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:52:07] local.INFO: GPS data processed {"connection_id":146036,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:52:07] local.INFO: Acknowledgment sent {"connection_id":146036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:52:12] local.INFO: TCP Data received {"connection_id":146036,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba79c3d0012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba79c3d0012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:52:12] local.INFO: Processing buffer {"connection_id":146036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba79c3d0012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:52:12] local.INFO: Packet analysis {"connection_id":146036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba79"} 
[2026-08-01 04:52:12] local.INFO: Extracted packet for processing {"connection_id":146036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba79"} 
[2026-08-01 04:52:12] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098155264001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:52:12] 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-08-01 04:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785539970000,"timestamp_ms":1785539970000,"timestamp_seconds":1785539970,"priority":1,"record_length":96,"hex_timestamp":"0000019fba79c3d0"} 
[2026-08-01 04:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 04: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 04:52:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04: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-08-01 04:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":146036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":146036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":146036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098155264001,"66":25451,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098155264001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:52:12] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:52:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098155264001,"power":25451,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":146036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:52:12] local.INFO: GPS data processed {"connection_id":146036,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:52:12] local.INFO: Acknowledgment sent {"connection_id":146036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:52:57] local.INFO: TCP Data received {"connection_id":145836,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:52:57] local.INFO: Processing buffer {"connection_id":145836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:52:57] local.INFO: IMEI packet received {"connection_id":145836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":145836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:53:02] local.INFO: TCP Data received {"connection_id":145836,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:53:02] local.INFO: Processing buffer {"connection_id":145836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:53:02] local.INFO: IMEI packet received {"connection_id":145836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":145836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:53:02] local.INFO: TCP Data received {"connection_id":145836,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba79c3d0012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba79c3d0012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:53:02] local.INFO: Processing buffer {"connection_id":145836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba79c3d0012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:53:02] local.INFO: Packet analysis {"connection_id":145836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba79"} 
[2026-08-01 04:53:02] local.INFO: Extracted packet for processing {"connection_id":145836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba79"} 
[2026-08-01 04:53:02] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098155264001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:53: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-08-01 04:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785539970000,"timestamp_ms":1785539970000,"timestamp_seconds":1785539970,"priority":1,"record_length":96,"hex_timestamp":"0000019fba79c3d0"} 
[2026-08-01 04:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:53: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-08-01 04: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 04:53:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04: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-08-01 04:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":145836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":145836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":145836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098155264001,"66":25451,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098155264001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:53:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:53:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098155264001,"power":25451,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":145836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:53:02] local.INFO: GPS data processed {"connection_id":145836,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:53:02] local.INFO: Acknowledgment sent {"connection_id":145836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:53:34] local.INFO: TCP Data received {"connection_id":145836,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba79c3d0012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba79c3d0012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:53:34] local.INFO: Processing buffer {"connection_id":145836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba79c3d0012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:53:34] local.INFO: Packet analysis {"connection_id":145836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba79"} 
[2026-08-01 04:53:34] local.INFO: Extracted packet for processing {"connection_id":145836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba79"} 
[2026-08-01 04:53:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098155264001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:53:34] 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-08-01 04:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785539970000,"timestamp_ms":1785539970000,"timestamp_seconds":1785539970,"priority":1,"record_length":96,"hex_timestamp":"0000019fba79c3d0"} 
[2026-08-01 04:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04: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-08-01 04: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":107,"data_length":795,"current_offset":136} 
[2026-08-01 04:53:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04: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-08-01 04:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098155264001,"66":25451,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098155264001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:53:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:53:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098155264001,"power":25451,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":145836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:53:34] local.INFO: GPS data processed {"connection_id":145836,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:53:34] local.INFO: Acknowledgment sent {"connection_id":145836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:53:57] local.INFO: TCP Data received {"connection_id":148373,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:53:57] local.INFO: Processing buffer {"connection_id":148373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:53:57] local.INFO: IMEI packet received {"connection_id":148373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":148373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:54:02] local.INFO: TCP Data received {"connection_id":148373,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:54:02] local.INFO: Processing buffer {"connection_id":148373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:54:02] local.INFO: IMEI packet received {"connection_id":148373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":148373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:54:02] local.INFO: TCP Data received {"connection_id":148373,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba79c3d0012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba79c3d0012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:54:02] local.INFO: Processing buffer {"connection_id":148373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba79c3d0012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:54:02] local.INFO: Packet analysis {"connection_id":148373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba79"} 
[2026-08-01 04:54:02] local.INFO: Extracted packet for processing {"connection_id":148373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba79"} 
[2026-08-01 04:54:02] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 04:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098155264001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:54: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-08-01 04:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785539970000,"timestamp_ms":1785539970000,"timestamp_seconds":1785539970,"priority":1,"record_length":96,"hex_timestamp":"0000019fba79c3d0"} 
[2026-08-01 04:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:54: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-08-01 04:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 04:54:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04:54:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 04:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":148373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":148373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":148373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098155264001,"66":25451,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098155264001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:54:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:54:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098155264001,"power":25451,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":148373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:54:02] local.INFO: GPS data processed {"connection_id":148373,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:54:02] local.INFO: Acknowledgment sent {"connection_id":148373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:54:34] local.INFO: TCP Data received {"connection_id":148373,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba79c3d0012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba79c3d0012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:54:34] local.INFO: Processing buffer {"connection_id":148373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba79c3d0012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:54:34] local.INFO: Packet analysis {"connection_id":148373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba79"} 
[2026-08-01 04:54:34] local.INFO: Extracted packet for processing {"connection_id":148373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba79"} 
[2026-08-01 04:54:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098155264001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:54:34] 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-08-01 04:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785539970000,"timestamp_ms":1785539970000,"timestamp_seconds":1785539970,"priority":1,"record_length":96,"hex_timestamp":"0000019fba79c3d0"} 
[2026-08-01 04:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:54: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-08-01 04:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 04:54:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04: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-08-01 04:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098155264001,"66":25451,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098155264001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:54:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:54:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098155264001,"power":25451,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":148373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:54:34] local.INFO: GPS data processed {"connection_id":148373,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:54:34] local.INFO: Acknowledgment sent {"connection_id":148373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:54:56] local.INFO: TCP Data received {"connection_id":147056,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:54:56] local.INFO: Processing buffer {"connection_id":147056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:54:56] local.INFO: IMEI packet received {"connection_id":147056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":147056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:55:02] local.INFO: TCP Data received {"connection_id":147056,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:55:02] local.INFO: Processing buffer {"connection_id":147056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:55:02] local.INFO: IMEI packet received {"connection_id":147056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":147056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:55:02] local.INFO: TCP Data received {"connection_id":147056,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba79c3d0012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba79c3d0012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:55:03] local.INFO: Processing buffer {"connection_id":147056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba79c3d0012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:55:03] local.INFO: Packet analysis {"connection_id":147056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba79"} 
[2026-08-01 04:55:03] local.INFO: Extracted packet for processing {"connection_id":147056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba79"} 
[2026-08-01 04:55:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098155264001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:55: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-08-01 04:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785539970000,"timestamp_ms":1785539970000,"timestamp_seconds":1785539970,"priority":1,"record_length":96,"hex_timestamp":"0000019fba79c3d0"} 
[2026-08-01 04:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:55: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-08-01 04: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 04:55:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04: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-08-01 04:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098155264001,"66":25451,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098155264001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:55:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:55:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098155264001,"power":25451,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":147056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:55:03] local.INFO: GPS data processed {"connection_id":147056,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:55:03] local.INFO: Acknowledgment sent {"connection_id":147056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:55:34] local.INFO: TCP Data received {"connection_id":147056,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba7e5b98012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba7e5b98012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:55:34] local.INFO: Processing buffer {"connection_id":147056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba7e5b98012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:55:34] local.INFO: Packet analysis {"connection_id":147056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba7e"} 
[2026-08-01 04:55:34] local.INFO: Extracted packet for processing {"connection_id":147056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba7e"} 
[2026-08-01 04:55:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098232320001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:55:34] 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-08-01 04:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785540271000,"timestamp_ms":1785540271000,"timestamp_seconds":1785540271,"priority":1,"record_length":96,"hex_timestamp":"0000019fba7e5b98"} 
[2026-08-01 04:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:55: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-08-01 04: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 04:55:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04: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-08-01 04:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098232320001,"66":25462,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098232320001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:55:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:55:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098232320001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":147056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:55:34] local.INFO: GPS data processed {"connection_id":147056,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:55:34] local.INFO: Acknowledgment sent {"connection_id":147056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:55:57] local.INFO: TCP Data received {"connection_id":146037,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:55:57] local.INFO: Processing buffer {"connection_id":146037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:55:57] local.INFO: IMEI packet received {"connection_id":146037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":146037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:56:02] local.INFO: TCP Data received {"connection_id":146037,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:56:02] local.INFO: Processing buffer {"connection_id":146037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:56:02] local.INFO: IMEI packet received {"connection_id":146037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":146037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:56:02] local.INFO: TCP Data received {"connection_id":146037,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba7e5b98012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba7e5b98012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:56:02] local.INFO: Processing buffer {"connection_id":146037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba7e5b98012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:56:02] local.INFO: Packet analysis {"connection_id":146037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba7e"} 
[2026-08-01 04:56:02] local.INFO: Extracted packet for processing {"connection_id":146037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba7e"} 
[2026-08-01 04:56:02] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098232320001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04: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-08-01 04:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785540271000,"timestamp_ms":1785540271000,"timestamp_seconds":1785540271,"priority":1,"record_length":96,"hex_timestamp":"0000019fba7e5b98"} 
[2026-08-01 04:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:56: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-08-01 04: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 04:56:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04: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-08-01 04:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098232320001,"66":25462,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098232320001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:56:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:56:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098232320001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":146037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:56:02] local.INFO: GPS data processed {"connection_id":146037,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:56:02] local.INFO: Acknowledgment sent {"connection_id":146037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:56:35] local.INFO: TCP Data received {"connection_id":146037,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba7e5b98012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba7e5b98012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:56:35] local.INFO: Processing buffer {"connection_id":146037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba7e5b98012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:56:35] local.INFO: Packet analysis {"connection_id":146037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba7e"} 
[2026-08-01 04:56:35] local.INFO: Extracted packet for processing {"connection_id":146037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba7e"} 
[2026-08-01 04:56:35] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098232320001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:56: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-08-01 04:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785540271000,"timestamp_ms":1785540271000,"timestamp_seconds":1785540271,"priority":1,"record_length":96,"hex_timestamp":"0000019fba7e5b98"} 
[2026-08-01 04:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 04: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 04:56:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04: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-08-01 04:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098232320001,"66":25462,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098232320001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:56:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:56:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098232320001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":146037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:56:35] local.INFO: GPS data processed {"connection_id":146037,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:56:35] local.INFO: Acknowledgment sent {"connection_id":146037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:56:57] local.INFO: TCP Data received {"connection_id":147057,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:56:57] local.INFO: Processing buffer {"connection_id":147057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:56:57] local.INFO: IMEI packet received {"connection_id":147057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":147057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:57:02] local.INFO: TCP Data received {"connection_id":147057,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:57:02] local.INFO: Processing buffer {"connection_id":147057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:57:02] local.INFO: IMEI packet received {"connection_id":147057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":147057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:57:02] local.INFO: TCP Data received {"connection_id":147057,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba7e5b98012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba7e5b98012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:57:02] local.INFO: Processing buffer {"connection_id":147057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba7e5b98012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:57:02] local.INFO: Packet analysis {"connection_id":147057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba7e"} 
[2026-08-01 04:57:02] local.INFO: Extracted packet for processing {"connection_id":147057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba7e"} 
[2026-08-01 04:57:02] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098232320001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:57: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-08-01 04:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785540271000,"timestamp_ms":1785540271000,"timestamp_seconds":1785540271,"priority":1,"record_length":96,"hex_timestamp":"0000019fba7e5b98"} 
[2026-08-01 04:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:57: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-08-01 04: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 04:57:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04: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-08-01 04:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":147057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":147057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":147057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098232320001,"66":25462,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098232320001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:57:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:57:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098232320001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":147057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:57:02] local.INFO: GPS data processed {"connection_id":147057,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:57:02] local.INFO: Acknowledgment sent {"connection_id":147057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:57:34] local.INFO: TCP Data received {"connection_id":147057,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba7e5b98012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba7e5b98012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:57:34] local.INFO: Processing buffer {"connection_id":147057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba7e5b98012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:57:34] local.INFO: Packet analysis {"connection_id":147057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba7e"} 
[2026-08-01 04:57:34] local.INFO: Extracted packet for processing {"connection_id":147057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba7e"} 
[2026-08-01 04:57:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098232320001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:57:34] 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-08-01 04:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785540271000,"timestamp_ms":1785540271000,"timestamp_seconds":1785540271,"priority":1,"record_length":96,"hex_timestamp":"0000019fba7e5b98"} 
[2026-08-01 04:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:57: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-08-01 04: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 04:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04: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-08-01 04:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098232320001,"66":25462,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098232320001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:57:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:57:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098232320001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":147057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:57:34] local.INFO: GPS data processed {"connection_id":147057,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:57:34] local.INFO: Acknowledgment sent {"connection_id":147057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:58:02] local.INFO: TCP Data received {"connection_id":145837,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:58:02] local.INFO: Processing buffer {"connection_id":145837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:58:02] local.INFO: IMEI packet received {"connection_id":145837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":145837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:58:07] local.INFO: TCP Data received {"connection_id":145837,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:58:07] local.INFO: Processing buffer {"connection_id":145837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:58:07] local.INFO: IMEI packet received {"connection_id":145837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":145837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:58:07] local.INFO: TCP Data received {"connection_id":145837,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba7e5b98012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba7e5b98012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:58:07] local.INFO: Processing buffer {"connection_id":145837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba7e5b98012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:58:07] local.INFO: Packet analysis {"connection_id":145837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba7e"} 
[2026-08-01 04:58:07] local.INFO: Extracted packet for processing {"connection_id":145837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba7e"} 
[2026-08-01 04:58:07] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 04:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098232320001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:58: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-08-01 04:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785540271000,"timestamp_ms":1785540271000,"timestamp_seconds":1785540271,"priority":1,"record_length":96,"hex_timestamp":"0000019fba7e5b98"} 
[2026-08-01 04:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:58: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-08-01 04:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 04:58:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04:58:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 04:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":145837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":145837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":145837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:58:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098232320001,"66":25462,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098232320001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:58:07] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:58:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098232320001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":145837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:58:07] local.INFO: GPS data processed {"connection_id":145837,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:58:07] local.INFO: Acknowledgment sent {"connection_id":145837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:58:12] local.INFO: TCP Data received {"connection_id":145837,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba7e5b98012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba7e5b98012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:58:12] local.INFO: Processing buffer {"connection_id":145837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba7e5b98012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:58:12] local.INFO: Packet analysis {"connection_id":145837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba7e"} 
[2026-08-01 04:58:12] local.INFO: Extracted packet for processing {"connection_id":145837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba7e"} 
[2026-08-01 04:58:12] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 04:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098232320001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:58:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:58:12] 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-08-01 04:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785540271000,"timestamp_ms":1785540271000,"timestamp_seconds":1785540271,"priority":1,"record_length":96,"hex_timestamp":"0000019fba7e5b98"} 
[2026-08-01 04:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:58:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 04:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 04:58:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04:58:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 04:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":145837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":145837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":145837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098232320001,"66":25462,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098232320001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:58:12] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:58:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:58:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098232320001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":145837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:58:12] local.INFO: GPS data processed {"connection_id":145837,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:58:12] local.INFO: Acknowledgment sent {"connection_id":145837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:58:57] local.INFO: TCP Data received {"connection_id":146038,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:58:57] local.INFO: Processing buffer {"connection_id":146038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:58:57] local.INFO: IMEI packet received {"connection_id":146038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":146038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 04:59:02] local.INFO: TCP Data received {"connection_id":146038,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:59:02] local.INFO: Processing buffer {"connection_id":146038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:59:02] local.INFO: IMEI packet received {"connection_id":146038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 04:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":146038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 04:59:03] local.INFO: TCP Data received {"connection_id":146038,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba7e5b98012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba7e5b98012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:59:03] local.INFO: Processing buffer {"connection_id":146038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba7e5b98012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:59:03] local.INFO: Packet analysis {"connection_id":146038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba7e"} 
[2026-08-01 04:59:03] local.INFO: Extracted packet for processing {"connection_id":146038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba7e"} 
[2026-08-01 04:59:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 04:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098232320001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:59: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-08-01 04:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785540271000,"timestamp_ms":1785540271000,"timestamp_seconds":1785540271,"priority":1,"record_length":96,"hex_timestamp":"0000019fba7e5b98"} 
[2026-08-01 04:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 04:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 04:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 04:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098232320001,"66":25462,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098232320001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:59:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:59:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098232320001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":146038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:59:03] local.INFO: GPS data processed {"connection_id":146038,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:59:03] local.INFO: Acknowledgment sent {"connection_id":146038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:59:34] local.INFO: TCP Data received {"connection_id":146038,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba7e5b98012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba7e5b98012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:59:34] local.INFO: Processing buffer {"connection_id":146038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba7e5b98012d77a14005f2a670001e00fa27..."} 
[2026-08-01 04:59:34] local.INFO: Packet analysis {"connection_id":146038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba7e"} 
[2026-08-01 04:59:34] local.INFO: Extracted packet for processing {"connection_id":146038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba7e"} 
[2026-08-01 04:59:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 04: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-08-01 04:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098232320001,"note":"Value kept but may cause issues"} 
[2026-08-01 04:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 04:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 04:59:34] 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-08-01 04:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785540271000,"timestamp_ms":1785540271000,"timestamp_seconds":1785540271,"priority":1,"record_length":96,"hex_timestamp":"0000019fba7e5b98"} 
[2026-08-01 04:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 04:59: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-08-01 04: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 04:59:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 04: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-08-01 04:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 04:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 04:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 04:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 04:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 04:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 04:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 04:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098232320001,"66":25462,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 04:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 04:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 04:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098232320001,"description":"Unknown IO ID 0"} 
[2026-08-01 04:59:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 04:59:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 04:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 04:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 04:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098232320001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 04:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":146038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 04:59:34] local.INFO: GPS data processed {"connection_id":146038,"processed":1,"errors":0,"total":1} 
[2026-08-01 04:59:34] local.INFO: Acknowledgment sent {"connection_id":146038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 04:59:56] local.INFO: TCP Data received {"connection_id":145838,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:59:56] local.INFO: Processing buffer {"connection_id":145838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 04:59:56] local.INFO: IMEI packet received {"connection_id":145838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 04:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":145838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:00:02] local.INFO: TCP Data received {"connection_id":145838,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:00:02] local.INFO: Processing buffer {"connection_id":145838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:00:02] local.INFO: IMEI packet received {"connection_id":145838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":145838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:00:03] local.INFO: TCP Data received {"connection_id":145838,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba7e5b98012d77a14005f2a670001e00fa27..."} 
[2026-08-01 05:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba7e5b98012d77a14005f2a670001e00fa27..."} 
[2026-08-01 05:00:03] local.INFO: Processing buffer {"connection_id":145838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba7e5b98012d77a14005f2a670001e00fa27..."} 
[2026-08-01 05:00:03] local.INFO: Packet analysis {"connection_id":145838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba7e"} 
[2026-08-01 05:00:03] local.INFO: Extracted packet for processing {"connection_id":145838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba7e"} 
[2026-08-01 05:00:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098232320001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 05:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 05:00: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-08-01 05:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785540271000,"timestamp_ms":1785540271000,"timestamp_seconds":1785540271,"priority":1,"record_length":96,"hex_timestamp":"0000019fba7e5b98"} 
[2026-08-01 05:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05: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-08-01 05: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":107,"data_length":795,"current_offset":136} 
[2026-08-01 05:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 05: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-08-01 05:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098232320001,"66":25462,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098232320001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:00:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:00:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 05:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098232320001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 05:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":145838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:00:03] local.INFO: GPS data processed {"connection_id":145838,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:00:03] local.INFO: Acknowledgment sent {"connection_id":145838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:00:33] local.INFO: TCP Data received {"connection_id":145838,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba82f360012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba82f360012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:00:33] local.INFO: Processing buffer {"connection_id":145838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba82f360012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:00:33] local.INFO: Packet analysis {"connection_id":145838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba82"} 
[2026-08-01 05:00:33] local.INFO: Extracted packet for processing {"connection_id":145838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba82"} 
[2026-08-01 05:00:33] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098309376001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 05:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 05:00: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-08-01 05:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785540572000,"timestamp_ms":1785540572000,"timestamp_seconds":1785540572,"priority":1,"record_length":96,"hex_timestamp":"0000019fba82f360"} 
[2026-08-01 05:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 05: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":118,"data_length":795,"current_offset":136} 
[2026-08-01 05:00: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-08-01 05: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-08-01 05:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":145838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":145838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":145838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098309376001,"66":25462,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098309376001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:00:33] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:00:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 05:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098309376001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 05:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":145838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:00:34] local.INFO: GPS data processed {"connection_id":145838,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:00:34] local.INFO: Acknowledgment sent {"connection_id":145838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:00:56] local.INFO: TCP Data received {"connection_id":148374,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:00:56] local.INFO: Processing buffer {"connection_id":148374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:00:56] local.INFO: IMEI packet received {"connection_id":148374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":148374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:01:02] local.INFO: TCP Data received {"connection_id":148374,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:01:02] local.INFO: Processing buffer {"connection_id":148374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:01:02] local.INFO: IMEI packet received {"connection_id":148374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":148374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:01:02] local.INFO: TCP Data received {"connection_id":148374,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba82f360012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba82f360012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:01:02] local.INFO: Processing buffer {"connection_id":148374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba82f360012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:01:02] local.INFO: Packet analysis {"connection_id":148374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba82"} 
[2026-08-01 05:01:02] local.INFO: Extracted packet for processing {"connection_id":148374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba82"} 
[2026-08-01 05:01:02] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 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-08-01 05:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098309376001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 05:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 05:01: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-08-01 05:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785540572000,"timestamp_ms":1785540572000,"timestamp_seconds":1785540572,"priority":1,"record_length":96,"hex_timestamp":"0000019fba82f360"} 
[2026-08-01 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-08-01 05:01: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-08-01 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 05:01:02] 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-08-01 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-08-01 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-08-01 05:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":148374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":148374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":148374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098309376001,"66":25462,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098309376001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:01:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:01:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 05:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098309376001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 05:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":148374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:01:02] local.INFO: GPS data processed {"connection_id":148374,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:01:02] local.INFO: Acknowledgment sent {"connection_id":148374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:01:34] local.INFO: TCP Data received {"connection_id":148374,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba82f360012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba82f360012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:01:34] local.INFO: Processing buffer {"connection_id":148374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba82f360012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:01:34] local.INFO: Packet analysis {"connection_id":148374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba82"} 
[2026-08-01 05:01:34] local.INFO: Extracted packet for processing {"connection_id":148374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba82"} 
[2026-08-01 05:01:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098309376001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 05:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 05:01:34] 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-08-01 05:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785540572000,"timestamp_ms":1785540572000,"timestamp_seconds":1785540572,"priority":1,"record_length":96,"hex_timestamp":"0000019fba82f360"} 
[2026-08-01 05:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:01: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-08-01 05: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 05:01:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 05: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-08-01 05:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098309376001,"66":25462,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098309376001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:01:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:01:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 05:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098309376001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 05:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":148374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:01:34] local.INFO: GPS data processed {"connection_id":148374,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:01:34] local.INFO: Acknowledgment sent {"connection_id":148374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:02:02] local.INFO: TCP Data received {"connection_id":145839,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:02:02] local.INFO: Processing buffer {"connection_id":145839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:02:02] local.INFO: IMEI packet received {"connection_id":145839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":145839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:02:09] local.INFO: TCP Data received {"connection_id":145839,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:02:09] local.INFO: Processing buffer {"connection_id":145839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:02:09] local.INFO: IMEI packet received {"connection_id":145839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":145839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:02:10] local.INFO: TCP Data received {"connection_id":145839,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba82f360012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba82f360012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:02:10] local.INFO: Processing buffer {"connection_id":145839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba82f360012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:02:10] local.INFO: Packet analysis {"connection_id":145839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba82"} 
[2026-08-01 05:02:10] local.INFO: Extracted packet for processing {"connection_id":145839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba82"} 
[2026-08-01 05:02:10] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098309376001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 05:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 05:02: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-08-01 05:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785540572000,"timestamp_ms":1785540572000,"timestamp_seconds":1785540572,"priority":1,"record_length":96,"hex_timestamp":"0000019fba82f360"} 
[2026-08-01 05:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:02: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-08-01 05: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 05:02:10] 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-08-01 05: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-08-01 05:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":145839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":145839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":145839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098309376001,"66":25462,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098309376001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:02:10] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:02:10] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 05:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098309376001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 05:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":145839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:02:10] local.INFO: GPS data processed {"connection_id":145839,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:02:10] local.INFO: Acknowledgment sent {"connection_id":145839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:02:11] local.INFO: TCP Data received {"connection_id":145839,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba82f360012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba82f360012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:02:11] local.INFO: Processing buffer {"connection_id":145839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba82f360012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:02:11] local.INFO: Packet analysis {"connection_id":145839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba82"} 
[2026-08-01 05:02:11] local.INFO: Extracted packet for processing {"connection_id":145839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba82"} 
[2026-08-01 05:02:11] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098309376001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 05:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 05:02:11] 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-08-01 05:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785540572000,"timestamp_ms":1785540572000,"timestamp_seconds":1785540572,"priority":1,"record_length":96,"hex_timestamp":"0000019fba82f360"} 
[2026-08-01 05:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:02:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 05: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 05:02:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 05: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-08-01 05:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":145839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":145839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":145839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098309376001,"66":25462,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098309376001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:02:11] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:02:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 05:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098309376001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 05:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":145839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:02:11] local.INFO: GPS data processed {"connection_id":145839,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:02:11] local.INFO: Acknowledgment sent {"connection_id":145839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:02:57] local.INFO: TCP Data received {"connection_id":145840,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:02:57] local.INFO: Processing buffer {"connection_id":145840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:02:57] local.INFO: IMEI packet received {"connection_id":145840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":145840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:03:02] local.INFO: TCP Data received {"connection_id":145840,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:03:02] local.INFO: Processing buffer {"connection_id":145840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:03:02] local.INFO: IMEI packet received {"connection_id":145840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":145840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:03:03] local.INFO: TCP Data received {"connection_id":145840,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba82f360012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba82f360012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:03:03] local.INFO: Processing buffer {"connection_id":145840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba82f360012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:03:03] local.INFO: Packet analysis {"connection_id":145840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba82"} 
[2026-08-01 05:03:03] local.INFO: Extracted packet for processing {"connection_id":145840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba82"} 
[2026-08-01 05:03:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098309376001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 05:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 05:03: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-08-01 05:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785540572000,"timestamp_ms":1785540572000,"timestamp_seconds":1785540572,"priority":1,"record_length":96,"hex_timestamp":"0000019fba82f360"} 
[2026-08-01 05:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:03: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-08-01 05: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 05:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 05: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-08-01 05:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098309376001,"66":25462,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098309376001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:03:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:03:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 05:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098309376001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 05:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":145840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:03:03] local.INFO: GPS data processed {"connection_id":145840,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:03:03] local.INFO: Acknowledgment sent {"connection_id":145840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:03:34] local.INFO: TCP Data received {"connection_id":145840,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba82f360012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba82f360012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:03:34] local.INFO: Processing buffer {"connection_id":145840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba82f360012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:03:34] local.INFO: Packet analysis {"connection_id":145840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba82"} 
[2026-08-01 05:03:34] local.INFO: Extracted packet for processing {"connection_id":145840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba82"} 
[2026-08-01 05:03:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 05:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 05:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098309376001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 05:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 05:03:34] 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-08-01 05:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785540572000,"timestamp_ms":1785540572000,"timestamp_seconds":1785540572,"priority":1,"record_length":96,"hex_timestamp":"0000019fba82f360"} 
[2026-08-01 05:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:03: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-08-01 05:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 05:03:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 05:03:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 05:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098309376001,"66":25462,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098309376001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:03:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:03:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 05:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098309376001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 05:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":145840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:03:34] local.INFO: GPS data processed {"connection_id":145840,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:03:34] local.INFO: Acknowledgment sent {"connection_id":145840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:04:02] local.INFO: TCP Data received {"connection_id":145841,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:04:02] local.INFO: Processing buffer {"connection_id":145841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:04:02] local.INFO: IMEI packet received {"connection_id":145841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":145841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:04:07] local.INFO: TCP Data received {"connection_id":145841,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:04:07] local.INFO: Processing buffer {"connection_id":145841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:04:07] local.INFO: IMEI packet received {"connection_id":145841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":145841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:04:08] local.INFO: TCP Data received {"connection_id":145841,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba82f360012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba82f360012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:04:08] local.INFO: Processing buffer {"connection_id":145841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba82f360012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:04:08] local.INFO: Packet analysis {"connection_id":145841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba82"} 
[2026-08-01 05:04:08] local.INFO: Extracted packet for processing {"connection_id":145841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba82"} 
[2026-08-01 05:04:08] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 05:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 05:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098309376001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 05:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 05:04: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-08-01 05:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785540572000,"timestamp_ms":1785540572000,"timestamp_seconds":1785540572,"priority":1,"record_length":96,"hex_timestamp":"0000019fba82f360"} 
[2026-08-01 05:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:04: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-08-01 05:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 05:04:08] 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-08-01 05:04:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 05:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098309376001,"66":25462,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098309376001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:04:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:04:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 05:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098309376001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 05:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":145841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:04:08] local.INFO: GPS data processed {"connection_id":145841,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:04:08] local.INFO: Acknowledgment sent {"connection_id":145841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:04:42] local.INFO: TCP Data received {"connection_id":145841,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba82f360012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba82f360012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:04:42] local.INFO: Processing buffer {"connection_id":145841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba82f360012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:04:42] local.INFO: Packet analysis {"connection_id":145841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba82"} 
[2026-08-01 05:04:42] local.INFO: Extracted packet for processing {"connection_id":145841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba82"} 
[2026-08-01 05:04:42] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098309376001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 05:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 05:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 05:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785540572000,"timestamp_ms":1785540572000,"timestamp_seconds":1785540572,"priority":1,"record_length":96,"hex_timestamp":"0000019fba82f360"} 
[2026-08-01 05:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:04: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-08-01 05: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 05:04:42] 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-08-01 05: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-08-01 05:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":145841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":145841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":145841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098309376001,"66":25462,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098309376001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:04:42] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:04:42] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 05:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098309376001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 05:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":145841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:04:42] local.INFO: GPS data processed {"connection_id":145841,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:04:42] local.INFO: Acknowledgment sent {"connection_id":145841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:04:57] local.INFO: TCP Data received {"connection_id":145842,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:04:57] local.INFO: Processing buffer {"connection_id":145842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:04:57] local.INFO: IMEI packet received {"connection_id":145842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":145842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:05:02] local.INFO: TCP Data received {"connection_id":145842,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:05:02] local.INFO: Processing buffer {"connection_id":145842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:05:02] local.INFO: IMEI packet received {"connection_id":145842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":145842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:05:08] local.INFO: TCP Data received {"connection_id":145842,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba82f360012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba82f360012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:05:08] local.INFO: Processing buffer {"connection_id":145842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba82f360012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:05:08] local.INFO: Packet analysis {"connection_id":145842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba82"} 
[2026-08-01 05:05:08] local.INFO: Extracted packet for processing {"connection_id":145842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba82"} 
[2026-08-01 05:05:08] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 05:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 05:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098309376001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 05:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 05:05: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-08-01 05:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785540572000,"timestamp_ms":1785540572000,"timestamp_seconds":1785540572,"priority":1,"record_length":96,"hex_timestamp":"0000019fba82f360"} 
[2026-08-01 05:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 05:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 05:05:08] 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-08-01 05:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 05:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098309376001,"66":25462,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098309376001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:05:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:05:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 05:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098309376001,"power":25462,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 05:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":145842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:05:08] local.INFO: GPS data processed {"connection_id":145842,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:05:08] local.INFO: Acknowledgment sent {"connection_id":145842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:05:39] local.INFO: TCP Data received {"connection_id":145842,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba878b28012d77a14005f2a670001e00fa25..."} 
[2026-08-01 05:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba878b28012d77a14005f2a670001e00fa25..."} 
[2026-08-01 05:05:39] local.INFO: Processing buffer {"connection_id":145842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba878b28012d77a14005f2a670001e00fa25..."} 
[2026-08-01 05:05:39] local.INFO: Packet analysis {"connection_id":145842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba87"} 
[2026-08-01 05:05:39] local.INFO: Extracted packet for processing {"connection_id":145842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba87"} 
[2026-08-01 05:05:39] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098386432001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 05:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 05:05:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 05:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785540873000,"timestamp_ms":1785540873000,"timestamp_seconds":1785540873,"priority":1,"record_length":96,"hex_timestamp":"0000019fba878b28"} 
[2026-08-01 05:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:05:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 05: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 05:05:39] 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-08-01 05: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-08-01 05:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":145842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":145842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":145842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:05:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098386432001,"66":25191,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098386432001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:05:39] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:05:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 05:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098386432001,"power":25191,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 05:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":145842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:05:39] local.INFO: GPS data processed {"connection_id":145842,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:05:39] local.INFO: Acknowledgment sent {"connection_id":145842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:05:56] local.INFO: TCP Data received {"connection_id":148375,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:05:56] local.INFO: Processing buffer {"connection_id":148375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:05:56] local.INFO: IMEI packet received {"connection_id":148375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":148375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:06:02] local.INFO: TCP Data received {"connection_id":148375,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:06:02] local.INFO: Processing buffer {"connection_id":148375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:06:02] local.INFO: IMEI packet received {"connection_id":148375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":148375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:06:02] local.INFO: TCP Data received {"connection_id":148375,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba878b28012d77a14005f2a670001e00fa25..."} 
[2026-08-01 05:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba878b28012d77a14005f2a670001e00fa25..."} 
[2026-08-01 05:06:02] local.INFO: Processing buffer {"connection_id":148375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba878b28012d77a14005f2a670001e00fa25..."} 
[2026-08-01 05:06:02] local.INFO: Packet analysis {"connection_id":148375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba87"} 
[2026-08-01 05:06:02] local.INFO: Extracted packet for processing {"connection_id":148375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba87"} 
[2026-08-01 05:06:02] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098386432001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 05:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 05:06: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-08-01 05:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785540873000,"timestamp_ms":1785540873000,"timestamp_seconds":1785540873,"priority":1,"record_length":96,"hex_timestamp":"0000019fba878b28"} 
[2026-08-01 05:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 05: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 05:06:02] 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-08-01 05: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-08-01 05:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":148375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":148375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":148375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098386432001,"66":25191,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098386432001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:06:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:06:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 05:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098386432001,"power":25191,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 05:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":148375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:06:02] local.INFO: GPS data processed {"connection_id":148375,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:06:02] local.INFO: Acknowledgment sent {"connection_id":148375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:06:34] local.INFO: TCP Data received {"connection_id":148375,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba878b28012d77a14005f2a670001e00fa25..."} 
[2026-08-01 05:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba878b28012d77a14005f2a670001e00fa25..."} 
[2026-08-01 05:06:34] local.INFO: Processing buffer {"connection_id":148375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba878b28012d77a14005f2a670001e00fa25..."} 
[2026-08-01 05:06:34] local.INFO: Packet analysis {"connection_id":148375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba87"} 
[2026-08-01 05:06:34] local.INFO: Extracted packet for processing {"connection_id":148375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba87"} 
[2026-08-01 05:06:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098386432001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 05:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 05:06:34] 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-08-01 05:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785540873000,"timestamp_ms":1785540873000,"timestamp_seconds":1785540873,"priority":1,"record_length":96,"hex_timestamp":"0000019fba878b28"} 
[2026-08-01 05:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:06: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-08-01 05: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 05:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 05: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-08-01 05:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098386432001,"66":25191,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098386432001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:06:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:06:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 05:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098386432001,"power":25191,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 05:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":148375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:06:34] local.INFO: GPS data processed {"connection_id":148375,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:06:34] local.INFO: Acknowledgment sent {"connection_id":148375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:07:02] local.INFO: TCP Data received {"connection_id":145843,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:07:02] local.INFO: Processing buffer {"connection_id":145843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:07:02] local.INFO: IMEI packet received {"connection_id":145843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":145843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:07:07] local.INFO: TCP Data received {"connection_id":145843,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:07:07] local.INFO: Processing buffer {"connection_id":145843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:07:07] local.INFO: IMEI packet received {"connection_id":145843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":145843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:07:07] local.INFO: TCP Data received {"connection_id":145843,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba878b28012d77a14005f2a670001e00fa25..."} 
[2026-08-01 05:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba878b28012d77a14005f2a670001e00fa25..."} 
[2026-08-01 05:07:07] local.INFO: Processing buffer {"connection_id":145843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba878b28012d77a14005f2a670001e00fa25..."} 
[2026-08-01 05:07:07] local.INFO: Packet analysis {"connection_id":145843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba87"} 
[2026-08-01 05:07:07] local.INFO: Extracted packet for processing {"connection_id":145843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba87"} 
[2026-08-01 05:07:07] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 05:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 05:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098386432001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 05:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 05:07: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-08-01 05:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785540873000,"timestamp_ms":1785540873000,"timestamp_seconds":1785540873,"priority":1,"record_length":96,"hex_timestamp":"0000019fba878b28"} 
[2026-08-01 05:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 05:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 05:07:07] 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-08-01 05:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 05:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":145843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":145843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":145843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098386432001,"66":25191,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098386432001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:07:07] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:07:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 05:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098386432001,"power":25191,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 05:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":145843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:07:07] local.INFO: GPS data processed {"connection_id":145843,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:07:07] local.INFO: Acknowledgment sent {"connection_id":145843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:07:12] local.INFO: TCP Data received {"connection_id":145843,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba878b28012d77a14005f2a670001e00fa25..."} 
[2026-08-01 05:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba878b28012d77a14005f2a670001e00fa25..."} 
[2026-08-01 05:07:12] local.INFO: Processing buffer {"connection_id":145843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba878b28012d77a14005f2a670001e00fa25..."} 
[2026-08-01 05:07:12] local.INFO: Packet analysis {"connection_id":145843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba87"} 
[2026-08-01 05:07:12] local.INFO: Extracted packet for processing {"connection_id":145843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba87"} 
[2026-08-01 05:07:12] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 05:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 05:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098386432001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 05:07:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 05:07:12] 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-08-01 05:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785540873000,"timestamp_ms":1785540873000,"timestamp_seconds":1785540873,"priority":1,"record_length":96,"hex_timestamp":"0000019fba878b28"} 
[2026-08-01 05:07:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:07:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 05:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 05:07:12] 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-08-01 05:07:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 05:07:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":145843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":145843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":145843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:07:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098386432001,"66":25191,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098386432001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:07:12] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:07:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:07:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 05:07:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098386432001,"power":25191,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 05:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":145843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:07:12] local.INFO: GPS data processed {"connection_id":145843,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:07:12] local.INFO: Acknowledgment sent {"connection_id":145843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:07:57] local.INFO: TCP Data received {"connection_id":148376,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:07:57] local.INFO: Processing buffer {"connection_id":148376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:07:57] local.INFO: IMEI packet received {"connection_id":148376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":148376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:08:02] local.INFO: TCP Data received {"connection_id":148376,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:08:02] local.INFO: Processing buffer {"connection_id":148376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:08:02] local.INFO: IMEI packet received {"connection_id":148376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":148376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:08:03] local.INFO: TCP Data received {"connection_id":148376,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba878b28012d77a14005f2a670001e00fa25..."} 
[2026-08-01 05:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba878b28012d77a14005f2a670001e00fa25..."} 
[2026-08-01 05:08:03] local.INFO: Processing buffer {"connection_id":148376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba878b28012d77a14005f2a670001e00fa25..."} 
[2026-08-01 05:08:03] local.INFO: Packet analysis {"connection_id":148376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba87"} 
[2026-08-01 05:08:03] local.INFO: Extracted packet for processing {"connection_id":148376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba87"} 
[2026-08-01 05:08:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098386432001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 05:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 05: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-08-01 05:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785540873000,"timestamp_ms":1785540873000,"timestamp_seconds":1785540873,"priority":1,"record_length":96,"hex_timestamp":"0000019fba878b28"} 
[2026-08-01 05:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05: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-08-01 05: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":118,"data_length":795,"current_offset":136} 
[2026-08-01 05:08:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 05: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-08-01 05:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098386432001,"66":25191,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098386432001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:08:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:08:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 05:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098386432001,"power":25191,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 05:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":148376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:08:03] local.INFO: GPS data processed {"connection_id":148376,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:08:03] local.INFO: Acknowledgment sent {"connection_id":148376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:08:36] local.INFO: TCP Data received {"connection_id":148376,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba878b28012d77a14005f2a670001e00fa25..."} 
[2026-08-01 05:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba878b28012d77a14005f2a670001e00fa25..."} 
[2026-08-01 05:08:36] local.INFO: Processing buffer {"connection_id":148376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba878b28012d77a14005f2a670001e00fa25..."} 
[2026-08-01 05:08:36] local.INFO: Packet analysis {"connection_id":148376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba87"} 
[2026-08-01 05:08:36] local.INFO: Extracted packet for processing {"connection_id":148376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba87"} 
[2026-08-01 05:08:36] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 05:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 05:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098386432001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 05:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 05:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 05:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785540873000,"timestamp_ms":1785540873000,"timestamp_seconds":1785540873,"priority":1,"record_length":96,"hex_timestamp":"0000019fba878b28"} 
[2026-08-01 05:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 05:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 05:08:36] 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-08-01 05:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 05:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098386432001,"66":25191,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098386432001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:08:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:08:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 05:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098386432001,"power":25191,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 05:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":148376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:08:36] local.INFO: GPS data processed {"connection_id":148376,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:08:36] local.INFO: Acknowledgment sent {"connection_id":148376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:08:57] local.INFO: TCP Data received {"connection_id":147058,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:08:57] local.INFO: Processing buffer {"connection_id":147058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:08:57] local.INFO: IMEI packet received {"connection_id":147058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":147058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:09:02] local.INFO: TCP Data received {"connection_id":147058,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:09:02] local.INFO: Processing buffer {"connection_id":147058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:09:02] local.INFO: IMEI packet received {"connection_id":147058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":147058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:09:04] local.INFO: TCP Data received {"connection_id":147058,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba878b28012d77a14005f2a670001e00fa25..."} 
[2026-08-01 05:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba878b28012d77a14005f2a670001e00fa25..."} 
[2026-08-01 05:09:04] local.INFO: Processing buffer {"connection_id":147058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba878b28012d77a14005f2a670001e00fa25..."} 
[2026-08-01 05:09:04] local.INFO: Packet analysis {"connection_id":147058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba87"} 
[2026-08-01 05:09:04] local.INFO: Extracted packet for processing {"connection_id":147058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba87"} 
[2026-08-01 05:09:04] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098386432001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 05:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 05:09: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-08-01 05:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785540873000,"timestamp_ms":1785540873000,"timestamp_seconds":1785540873,"priority":1,"record_length":96,"hex_timestamp":"0000019fba878b28"} 
[2026-08-01 05:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:09: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-08-01 05: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 05:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 05: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-08-01 05:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098386432001,"66":25191,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098386432001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:09:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:09:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 05:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098386432001,"power":25191,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 05:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":147058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:09:04] local.INFO: GPS data processed {"connection_id":147058,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:09:04] local.INFO: Acknowledgment sent {"connection_id":147058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:09:38] local.INFO: TCP Data received {"connection_id":147058,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba878b28012d77a14005f2a670001e00fa25..."} 
[2026-08-01 05:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba878b28012d77a14005f2a670001e00fa25..."} 
[2026-08-01 05:09:38] local.INFO: Processing buffer {"connection_id":147058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba878b28012d77a14005f2a670001e00fa25..."} 
[2026-08-01 05:09:38] local.INFO: Packet analysis {"connection_id":147058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba87"} 
[2026-08-01 05:09:38] local.INFO: Extracted packet for processing {"connection_id":147058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba87"} 
[2026-08-01 05:09:38] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 05:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 05:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098386432001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 05:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 05:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 05:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785540873000,"timestamp_ms":1785540873000,"timestamp_seconds":1785540873,"priority":1,"record_length":96,"hex_timestamp":"0000019fba878b28"} 
[2026-08-01 05:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 05:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 05:09:38] 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-08-01 05:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 05:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":147058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":147058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":147058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098386432001,"66":25191,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098386432001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:09:38] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:09:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 05:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098386432001,"power":25191,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 05:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":147058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:09:38] local.INFO: GPS data processed {"connection_id":147058,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:09:38] local.INFO: Acknowledgment sent {"connection_id":147058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:09:56] local.INFO: TCP Data received {"connection_id":145844,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:09:56] local.INFO: Processing buffer {"connection_id":145844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:09:56] local.INFO: IMEI packet received {"connection_id":145844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":145844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:10:01] local.INFO: TCP Data received {"connection_id":145844,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:10:01] local.INFO: Processing buffer {"connection_id":145844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:10:01] local.INFO: IMEI packet received {"connection_id":145844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":145844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:10:02] local.INFO: TCP Data received {"connection_id":145844,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba878b28012d77a14005f2a670001e00fa25..."} 
[2026-08-01 05:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba878b28012d77a14005f2a670001e00fa25..."} 
[2026-08-01 05:10:02] local.INFO: Processing buffer {"connection_id":145844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba878b28012d77a14005f2a670001e00fa25..."} 
[2026-08-01 05:10:02] local.INFO: Packet analysis {"connection_id":145844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba87"} 
[2026-08-01 05:10:02] local.INFO: Extracted packet for processing {"connection_id":145844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba87"} 
[2026-08-01 05:10:02] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098386432001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 05:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 05:10: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-08-01 05:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785540873000,"timestamp_ms":1785540873000,"timestamp_seconds":1785540873,"priority":1,"record_length":96,"hex_timestamp":"0000019fba878b28"} 
[2026-08-01 05:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:10:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 05: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 05:10:02] 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-08-01 05: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-08-01 05:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":145844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":145844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":145844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098386432001,"66":25191,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098386432001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:10:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:10:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 05:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098386432001,"power":25191,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 05:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":145844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:10:02] local.INFO: GPS data processed {"connection_id":145844,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:10:02] local.INFO: Acknowledgment sent {"connection_id":145844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:10:33] local.INFO: TCP Data received {"connection_id":145844,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba8c22f0012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba8c22f0012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:10:33] local.INFO: Processing buffer {"connection_id":145844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba8c22f0012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:10:33] local.INFO: Packet analysis {"connection_id":145844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba8c"} 
[2026-08-01 05:10:33] local.INFO: Extracted packet for processing {"connection_id":145844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba8c"} 
[2026-08-01 05:10:33] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098463488001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 05:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 05:10: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-08-01 05:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785541174000,"timestamp_ms":1785541174000,"timestamp_seconds":1785541174,"priority":1,"record_length":96,"hex_timestamp":"0000019fba8c22f0"} 
[2026-08-01 05:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 05: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-01 05:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 05: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-08-01 05:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":145844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":145844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":145844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098463488001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098463488001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:10:33] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:10:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 05:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098463488001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 05:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":145844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:10:33] local.INFO: GPS data processed {"connection_id":145844,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:10:33] local.INFO: Acknowledgment sent {"connection_id":145844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:10:56] local.INFO: TCP Data received {"connection_id":146039,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:10:56] local.INFO: Processing buffer {"connection_id":146039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:10:56] local.INFO: IMEI packet received {"connection_id":146039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":146039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:11:02] local.INFO: TCP Data received {"connection_id":146039,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:11:02] local.INFO: Processing buffer {"connection_id":146039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:11:02] local.INFO: IMEI packet received {"connection_id":146039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":146039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:11:02] local.INFO: TCP Data received {"connection_id":146039,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba8c22f0012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba8c22f0012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:11:02] local.INFO: Processing buffer {"connection_id":146039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba8c22f0012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:11:02] local.INFO: Packet analysis {"connection_id":146039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba8c"} 
[2026-08-01 05:11:02] local.INFO: Extracted packet for processing {"connection_id":146039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba8c"} 
[2026-08-01 05:11:02] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098463488001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 05:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 05:11: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-08-01 05:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785541174000,"timestamp_ms":1785541174000,"timestamp_seconds":1785541174,"priority":1,"record_length":96,"hex_timestamp":"0000019fba8c22f0"} 
[2026-08-01 05:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:11: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-08-01 05: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-01 05:11:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 05: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-08-01 05:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098463488001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098463488001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:11:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:11:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 05:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098463488001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 05:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":146039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:11:02] local.INFO: GPS data processed {"connection_id":146039,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:11:02] local.INFO: Acknowledgment sent {"connection_id":146039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:11:34] local.INFO: TCP Data received {"connection_id":146039,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba8c22f0012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba8c22f0012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:11:34] local.INFO: Processing buffer {"connection_id":146039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba8c22f0012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:11:34] local.INFO: Packet analysis {"connection_id":146039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba8c"} 
[2026-08-01 05:11:34] local.INFO: Extracted packet for processing {"connection_id":146039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba8c"} 
[2026-08-01 05:11:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098463488001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 05:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 05:11:34] 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-08-01 05:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785541174000,"timestamp_ms":1785541174000,"timestamp_seconds":1785541174,"priority":1,"record_length":96,"hex_timestamp":"0000019fba8c22f0"} 
[2026-08-01 05:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:11: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-08-01 05: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-01 05:11:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 05: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-08-01 05:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098463488001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098463488001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:11:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:11:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 05:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098463488001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 05:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":146039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:11:34] local.INFO: GPS data processed {"connection_id":146039,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:11:34] local.INFO: Acknowledgment sent {"connection_id":146039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:11:56] local.INFO: TCP Data received {"connection_id":145845,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:11:56] local.INFO: Processing buffer {"connection_id":145845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:11:56] local.INFO: IMEI packet received {"connection_id":145845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":145845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:12:02] local.INFO: TCP Data received {"connection_id":145845,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:12:02] local.INFO: Processing buffer {"connection_id":145845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:12:02] local.INFO: IMEI packet received {"connection_id":145845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":145845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:12:02] local.INFO: TCP Data received {"connection_id":145845,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba8c22f0012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba8c22f0012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:12:02] local.INFO: Processing buffer {"connection_id":145845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba8c22f0012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:12:02] local.INFO: Packet analysis {"connection_id":145845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba8c"} 
[2026-08-01 05:12:02] local.INFO: Extracted packet for processing {"connection_id":145845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba8c"} 
[2026-08-01 05:12:02] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098463488001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 05:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 05:12: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-08-01 05:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785541174000,"timestamp_ms":1785541174000,"timestamp_seconds":1785541174,"priority":1,"record_length":96,"hex_timestamp":"0000019fba8c22f0"} 
[2026-08-01 05:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:12: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-08-01 05: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-01 05:12:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 05: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-08-01 05:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":145845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":145845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":145845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098463488001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098463488001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:12:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:12:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 05:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098463488001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 05:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":145845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:12:02] local.INFO: GPS data processed {"connection_id":145845,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:12:02] local.INFO: Acknowledgment sent {"connection_id":145845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:12:34] local.INFO: TCP Data received {"connection_id":145845,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba8c22f0012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba8c22f0012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:12:34] local.INFO: Processing buffer {"connection_id":145845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba8c22f0012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:12:34] local.INFO: Packet analysis {"connection_id":145845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba8c"} 
[2026-08-01 05:12:34] local.INFO: Extracted packet for processing {"connection_id":145845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba8c"} 
[2026-08-01 05:12:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 05:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 05:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098463488001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 05:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 05:12:34] 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-08-01 05:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785541174000,"timestamp_ms":1785541174000,"timestamp_seconds":1785541174,"priority":1,"record_length":96,"hex_timestamp":"0000019fba8c22f0"} 
[2026-08-01 05:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:12: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-08-01 05:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-01 05:12:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 05:12:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 05:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098463488001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098463488001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:12:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:12:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 05:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098463488001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 05:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":145845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:12:34] local.INFO: GPS data processed {"connection_id":145845,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:12:34] local.INFO: Acknowledgment sent {"connection_id":145845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:12:56] local.INFO: TCP Data received {"connection_id":145846,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:12:56] local.INFO: Processing buffer {"connection_id":145846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:12:56] local.INFO: IMEI packet received {"connection_id":145846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":145846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:13:02] local.INFO: TCP Data received {"connection_id":145846,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:13:02] local.INFO: Processing buffer {"connection_id":145846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:13:02] local.INFO: IMEI packet received {"connection_id":145846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":145846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:13:08] local.INFO: TCP Data received {"connection_id":145846,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba8c22f0012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba8c22f0012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:13:08] local.INFO: Processing buffer {"connection_id":145846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba8c22f0012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:13:08] local.INFO: Packet analysis {"connection_id":145846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba8c"} 
[2026-08-01 05:13:08] local.INFO: Extracted packet for processing {"connection_id":145846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba8c"} 
[2026-08-01 05:13:08] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098463488001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 05:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 05:13: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-08-01 05:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785541174000,"timestamp_ms":1785541174000,"timestamp_seconds":1785541174,"priority":1,"record_length":96,"hex_timestamp":"0000019fba8c22f0"} 
[2026-08-01 05:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:13:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 05:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-01 05:13:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 05: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-08-01 05:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:13:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098463488001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098463488001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:13:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:13:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 05:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098463488001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 05:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":145846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:13:08] local.INFO: GPS data processed {"connection_id":145846,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:13:08] local.INFO: Acknowledgment sent {"connection_id":145846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:13:40] local.INFO: TCP Data received {"connection_id":145846,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba8c22f0012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba8c22f0012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:13:40] local.INFO: Processing buffer {"connection_id":145846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba8c22f0012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:13:40] local.INFO: Packet analysis {"connection_id":145846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba8c"} 
[2026-08-01 05:13:40] local.INFO: Extracted packet for processing {"connection_id":145846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba8c"} 
[2026-08-01 05:13:40] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098463488001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 05:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 05:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 05:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785541174000,"timestamp_ms":1785541174000,"timestamp_seconds":1785541174,"priority":1,"record_length":96,"hex_timestamp":"0000019fba8c22f0"} 
[2026-08-01 05:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 05: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-01 05:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 05: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-08-01 05:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":145846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":145846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":145846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098463488001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098463488001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:13:40] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:13:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 05:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098463488001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 05:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":145846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:13:40] local.INFO: GPS data processed {"connection_id":145846,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:13:40] local.INFO: Acknowledgment sent {"connection_id":145846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:13:56] local.INFO: TCP Data received {"connection_id":146040,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:13:56] local.INFO: Processing buffer {"connection_id":146040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:13:56] local.INFO: IMEI packet received {"connection_id":146040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":146040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:14:02] local.INFO: TCP Data received {"connection_id":146040,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:14:02] local.INFO: Processing buffer {"connection_id":146040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:14:02] local.INFO: IMEI packet received {"connection_id":146040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":146040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:14:02] local.INFO: TCP Data received {"connection_id":146040,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba8c22f0012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba8c22f0012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:14:02] local.INFO: Processing buffer {"connection_id":146040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba8c22f0012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:14:02] local.INFO: Packet analysis {"connection_id":146040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba8c"} 
[2026-08-01 05:14:02] local.INFO: Extracted packet for processing {"connection_id":146040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba8c"} 
[2026-08-01 05:14:02] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098463488001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 05:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 05:14: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-08-01 05:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785541174000,"timestamp_ms":1785541174000,"timestamp_seconds":1785541174,"priority":1,"record_length":96,"hex_timestamp":"0000019fba8c22f0"} 
[2026-08-01 05:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:14: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-08-01 05: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-01 05:14:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 05: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-08-01 05:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098463488001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098463488001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:14:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:14:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 05:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098463488001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 05:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":146040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:14:02] local.INFO: GPS data processed {"connection_id":146040,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:14:02] local.INFO: Acknowledgment sent {"connection_id":146040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:14:33] local.INFO: TCP Data received {"connection_id":146040,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba8c22f0012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba8c22f0012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:14:33] local.INFO: Processing buffer {"connection_id":146040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba8c22f0012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:14:33] local.INFO: Packet analysis {"connection_id":146040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba8c"} 
[2026-08-01 05:14:33] local.INFO: Extracted packet for processing {"connection_id":146040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba8c"} 
[2026-08-01 05:14:33] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 05:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 05:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098463488001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 05:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 05:14: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-08-01 05:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785541174000,"timestamp_ms":1785541174000,"timestamp_seconds":1785541174,"priority":1,"record_length":96,"hex_timestamp":"0000019fba8c22f0"} 
[2026-08-01 05:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 05:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-01 05:14:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 05:14:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 05:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098463488001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098463488001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:14:33] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:14:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 05:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098463488001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 05:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":146040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:14:33] local.INFO: GPS data processed {"connection_id":146040,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:14:33] local.INFO: Acknowledgment sent {"connection_id":146040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:15:02] local.INFO: TCP Data received {"connection_id":145847,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:15:02] local.INFO: Processing buffer {"connection_id":145847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:15:02] local.INFO: IMEI packet received {"connection_id":145847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":145847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:15:07] local.INFO: TCP Data received {"connection_id":145847,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:15:07] local.INFO: Processing buffer {"connection_id":145847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:15:07] local.INFO: IMEI packet received {"connection_id":145847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":145847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:15:07] local.INFO: TCP Data received {"connection_id":145847,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba8c22f0012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba8c22f0012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:15:07] local.INFO: Processing buffer {"connection_id":145847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba8c22f0012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:15:07] local.INFO: Packet analysis {"connection_id":145847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba8c"} 
[2026-08-01 05:15:07] local.INFO: Extracted packet for processing {"connection_id":145847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba8c"} 
[2026-08-01 05:15:07] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098463488001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 05:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 05:15: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-08-01 05:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785541174000,"timestamp_ms":1785541174000,"timestamp_seconds":1785541174,"priority":1,"record_length":96,"hex_timestamp":"0000019fba8c22f0"} 
[2026-08-01 05:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:15: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-08-01 05: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-01 05:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 05: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-08-01 05:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":145847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":145847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":145847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098463488001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098463488001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:15:07] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:15:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 05:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098463488001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 05:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":145847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:15:07] local.INFO: GPS data processed {"connection_id":145847,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:15:07] local.INFO: Acknowledgment sent {"connection_id":145847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:15:12] local.INFO: TCP Data received {"connection_id":145847,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba8c22f0012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba8c22f0012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:15:12] local.INFO: Processing buffer {"connection_id":145847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba8c22f0012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:15:12] local.INFO: Packet analysis {"connection_id":145847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba8c"} 
[2026-08-01 05:15:12] local.INFO: Extracted packet for processing {"connection_id":145847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba8c"} 
[2026-08-01 05:15:12] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098463488001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 05:15:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 05:15:12] 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-08-01 05:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785541174000,"timestamp_ms":1785541174000,"timestamp_seconds":1785541174,"priority":1,"record_length":96,"hex_timestamp":"0000019fba8c22f0"} 
[2026-08-01 05:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 05: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-01 05:15:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 05: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-08-01 05:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":145847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":145847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":145847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098463488001,"66":25441,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098463488001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:15:12] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:15:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:15:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 05:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098463488001,"power":25441,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 05:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":145847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:15:12] local.INFO: GPS data processed {"connection_id":145847,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:15:12] local.INFO: Acknowledgment sent {"connection_id":145847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:15:56] local.INFO: TCP Data received {"connection_id":146041,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:15:56] local.INFO: Processing buffer {"connection_id":146041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:15:56] local.INFO: IMEI packet received {"connection_id":146041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":146041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:16:02] local.INFO: TCP Data received {"connection_id":146041,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:16:02] local.INFO: Processing buffer {"connection_id":146041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:16:02] local.INFO: IMEI packet received {"connection_id":146041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":146041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:16:02] local.INFO: TCP Data received {"connection_id":146041,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba90bab8012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba90bab8012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:16:02] local.INFO: Processing buffer {"connection_id":146041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba90bab8012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:16:02] local.INFO: Packet analysis {"connection_id":146041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba90"} 
[2026-08-01 05:16:02] local.INFO: Extracted packet for processing {"connection_id":146041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba90"} 
[2026-08-01 05:16:02] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098540544001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 05:16:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 05:16: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-08-01 05:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785541475000,"timestamp_ms":1785541475000,"timestamp_seconds":1785541475,"priority":1,"record_length":96,"hex_timestamp":"0000019fba90bab8"} 
[2026-08-01 05:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:16:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 05: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 05:16: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-08-01 05: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-08-01 05:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:16:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098540544001,"66":25343,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098540544001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:16:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:16:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:16:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 05:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098540544001,"power":25343,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 05:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":146041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:16:02] local.INFO: GPS data processed {"connection_id":146041,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:16:02] local.INFO: Acknowledgment sent {"connection_id":146041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:16:34] local.INFO: TCP Data received {"connection_id":146041,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba90bab8012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba90bab8012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:16:34] local.INFO: Processing buffer {"connection_id":146041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba90bab8012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:16:34] local.INFO: Packet analysis {"connection_id":146041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba90"} 
[2026-08-01 05:16:34] local.INFO: Extracted packet for processing {"connection_id":146041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba90"} 
[2026-08-01 05:16:34] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098540544001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 05:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 05:16:34] 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-08-01 05:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785541475000,"timestamp_ms":1785541475000,"timestamp_seconds":1785541475,"priority":1,"record_length":96,"hex_timestamp":"0000019fba90bab8"} 
[2026-08-01 05:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:16: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-08-01 05: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 05:16:34] 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-08-01 05: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-08-01 05:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098540544001,"66":25343,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098540544001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:16:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:16:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 05:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098540544001,"power":25343,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 05:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":146041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:16:34] local.INFO: GPS data processed {"connection_id":146041,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:16:34] local.INFO: Acknowledgment sent {"connection_id":146041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:17:02] local.INFO: TCP Data received {"connection_id":147059,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:17:02] local.INFO: Processing buffer {"connection_id":147059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:17:02] local.INFO: IMEI packet received {"connection_id":147059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":147059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:17:07] local.INFO: TCP Data received {"connection_id":147059,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:17:07] local.INFO: Processing buffer {"connection_id":147059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:17:07] local.INFO: IMEI packet received {"connection_id":147059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":147059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:17:08] local.INFO: TCP Data received {"connection_id":147059,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba90bab8012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba90bab8012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:17:08] local.INFO: Processing buffer {"connection_id":147059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba90bab8012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:17:08] local.INFO: Packet analysis {"connection_id":147059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba90"} 
[2026-08-01 05:17:08] local.INFO: Extracted packet for processing {"connection_id":147059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba90"} 
[2026-08-01 05:17:08] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098540544001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 05:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 05:17: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-08-01 05:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785541475000,"timestamp_ms":1785541475000,"timestamp_seconds":1785541475,"priority":1,"record_length":96,"hex_timestamp":"0000019fba90bab8"} 
[2026-08-01 05:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 05: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 05:17:08] 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-08-01 05: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-08-01 05:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":147059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":147059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":147059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098540544001,"66":25343,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098540544001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:17:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:17:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 05:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098540544001,"power":25343,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 05:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":147059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:17:08] local.INFO: GPS data processed {"connection_id":147059,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:17:08] local.INFO: Acknowledgment sent {"connection_id":147059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:17:12] local.INFO: TCP Data received {"connection_id":147059,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba90bab8012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba90bab8012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:17:12] local.INFO: Processing buffer {"connection_id":147059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba90bab8012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:17:12] local.INFO: Packet analysis {"connection_id":147059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba90"} 
[2026-08-01 05:17:12] local.INFO: Extracted packet for processing {"connection_id":147059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba90"} 
[2026-08-01 05:17:12] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 05:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 05:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098540544001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 05:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 05:17:12] 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-08-01 05:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785541475000,"timestamp_ms":1785541475000,"timestamp_seconds":1785541475,"priority":1,"record_length":96,"hex_timestamp":"0000019fba90bab8"} 
[2026-08-01 05:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 05:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 05:17:12] 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-08-01 05:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 05:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":147059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":147059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":147059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098540544001,"66":25343,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098540544001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:17:12] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:17:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 05:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098540544001,"power":25343,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 05:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":147059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:17:12] local.INFO: GPS data processed {"connection_id":147059,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:17:12] local.INFO: Acknowledgment sent {"connection_id":147059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:17:57] local.INFO: TCP Data received {"connection_id":146042,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:17:57] local.INFO: Processing buffer {"connection_id":146042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:17:57] local.INFO: IMEI packet received {"connection_id":146042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":146042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:18:02] local.INFO: TCP Data received {"connection_id":146042,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:18:02] local.INFO: Processing buffer {"connection_id":146042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:18:02] local.INFO: IMEI packet received {"connection_id":146042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":146042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:18:03] local.INFO: TCP Data received {"connection_id":146042,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba90bab8012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba90bab8012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:18:03] local.INFO: Processing buffer {"connection_id":146042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba90bab8012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:18:03] local.INFO: Packet analysis {"connection_id":146042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba90"} 
[2026-08-01 05:18:03] local.INFO: Extracted packet for processing {"connection_id":146042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba90"} 
[2026-08-01 05:18:03] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 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-08-01 05:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098540544001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 05:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 05: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-08-01 05:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785541475000,"timestamp_ms":1785541475000,"timestamp_seconds":1785541475,"priority":1,"record_length":96,"hex_timestamp":"0000019fba90bab8"} 
[2026-08-01 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-08-01 05:18: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-08-01 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 05:18: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-08-01 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-08-01 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-08-01 05:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098540544001,"66":25343,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098540544001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:18:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:18:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 05:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098540544001,"power":25343,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 05:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":146042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:18:03] local.INFO: GPS data processed {"connection_id":146042,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:18:03] local.INFO: Acknowledgment sent {"connection_id":146042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:18:35] local.INFO: TCP Data received {"connection_id":146042,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba90bab8012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba90bab8012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:18:35] local.INFO: Processing buffer {"connection_id":146042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba90bab8012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:18:35] local.INFO: Packet analysis {"connection_id":146042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba90"} 
[2026-08-01 05:18:35] local.INFO: Extracted packet for processing {"connection_id":146042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba90"} 
[2026-08-01 05:18:35] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098540544001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 05:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 05:18: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-08-01 05:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785541475000,"timestamp_ms":1785541475000,"timestamp_seconds":1785541475,"priority":1,"record_length":96,"hex_timestamp":"0000019fba90bab8"} 
[2026-08-01 05:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:18:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 05:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 05:18:35] 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-08-01 05: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-08-01 05:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098540544001,"66":25343,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098540544001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:18:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:18:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 05:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098540544001,"power":25343,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 05:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":146042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:18:35] local.INFO: GPS data processed {"connection_id":146042,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:18:35] local.INFO: Acknowledgment sent {"connection_id":146042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:18:57] local.INFO: TCP Data received {"connection_id":145848,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:18:57] local.INFO: Processing buffer {"connection_id":145848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:18:57] local.INFO: IMEI packet received {"connection_id":145848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":145848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:19:02] local.INFO: TCP Data received {"connection_id":145848,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:19:02] local.INFO: Processing buffer {"connection_id":145848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:19:02] local.INFO: IMEI packet received {"connection_id":145848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":145848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:19:08] local.INFO: TCP Data received {"connection_id":145848,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba90bab8012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba90bab8012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:19:08] local.INFO: Processing buffer {"connection_id":145848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba90bab8012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:19:08] local.INFO: Packet analysis {"connection_id":145848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba90"} 
[2026-08-01 05:19:08] local.INFO: Extracted packet for processing {"connection_id":145848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba90"} 
[2026-08-01 05:19:08] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098540544001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 05:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 05:19: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-08-01 05:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785541475000,"timestamp_ms":1785541475000,"timestamp_seconds":1785541475,"priority":1,"record_length":96,"hex_timestamp":"0000019fba90bab8"} 
[2026-08-01 05:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 05: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 05:19:08] 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-08-01 05: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-08-01 05:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098540544001,"66":25343,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098540544001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:19:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:19:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 05:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098540544001,"power":25343,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 05:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":145848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:19:08] local.INFO: GPS data processed {"connection_id":145848,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:19:08] local.INFO: Acknowledgment sent {"connection_id":145848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:19:40] local.INFO: TCP Data received {"connection_id":145848,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba90bab8012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba90bab8012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:19:40] local.INFO: Processing buffer {"connection_id":145848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba90bab8012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:19:40] local.INFO: Packet analysis {"connection_id":145848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba90"} 
[2026-08-01 05:19:40] local.INFO: Extracted packet for processing {"connection_id":145848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba90"} 
[2026-08-01 05:19:40] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098540544001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 05:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 05:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 05:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785541475000,"timestamp_ms":1785541475000,"timestamp_seconds":1785541475,"priority":1,"record_length":96,"hex_timestamp":"0000019fba90bab8"} 
[2026-08-01 05:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 05: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 05:19:40] 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-08-01 05: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-08-01 05:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":145848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":145848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":145848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098540544001,"66":25343,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098540544001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:19:40] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:19:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 05:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098540544001,"power":25343,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 05:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":145848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:19:40] local.INFO: GPS data processed {"connection_id":145848,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:19:40] local.INFO: Acknowledgment sent {"connection_id":145848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:19:56] local.INFO: TCP Data received {"connection_id":148377,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:19:56] local.INFO: Processing buffer {"connection_id":148377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:19:56] local.INFO: IMEI packet received {"connection_id":148377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":148377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:20:02] local.INFO: TCP Data received {"connection_id":148377,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:20:02] local.INFO: Processing buffer {"connection_id":148377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:20:02] local.INFO: IMEI packet received {"connection_id":148377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":148377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:20:02] local.INFO: TCP Data received {"connection_id":148377,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba90bab8012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba90bab8012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:20:02] local.INFO: Processing buffer {"connection_id":148377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba90bab8012d77a14005f2a670001e00fa2a..."} 
[2026-08-01 05:20:02] local.INFO: Packet analysis {"connection_id":148377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba90"} 
[2026-08-01 05:20:02] local.INFO: Extracted packet for processing {"connection_id":148377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba90"} 
[2026-08-01 05:20:02] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098540544001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 05:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 05:20: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-08-01 05:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785541475000,"timestamp_ms":1785541475000,"timestamp_seconds":1785541475,"priority":1,"record_length":96,"hex_timestamp":"0000019fba90bab8"} 
[2026-08-01 05:20:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:20:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 05: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 05:20: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-08-01 05: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-08-01 05:20:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":148377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":148377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":148377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:20:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098540544001,"66":25343,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098540544001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:20:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:20:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 05:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098540544001,"power":25343,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 05:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":148377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:20:02] local.INFO: GPS data processed {"connection_id":148377,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:20:02] local.INFO: Acknowledgment sent {"connection_id":148377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:20:33] local.INFO: TCP Data received {"connection_id":148377,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba955280012d77a14005f2a670001e00fa29..."} 
[2026-08-01 05:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba955280012d77a14005f2a670001e00fa29..."} 
[2026-08-01 05:20:33] local.INFO: Processing buffer {"connection_id":148377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba955280012d77a14005f2a670001e00fa29..."} 
[2026-08-01 05:20:33] local.INFO: Packet analysis {"connection_id":148377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba95"} 
[2026-08-01 05:20:33] local.INFO: Extracted packet for processing {"connection_id":148377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba95"} 
[2026-08-01 05:20:33] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098617600001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 05:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 05:20: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-08-01 05:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785541776000,"timestamp_ms":1785541776000,"timestamp_seconds":1785541776,"priority":1,"record_length":96,"hex_timestamp":"0000019fba955280"} 
[2026-08-01 05:20:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:20: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-08-01 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 05:20:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 05: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-08-01 05:20:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":148377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":148377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":148377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098617600001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098617600001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:20:33] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:20:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 05:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098617600001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 05:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":148377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:20:33] local.INFO: GPS data processed {"connection_id":148377,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:20:33] local.INFO: Acknowledgment sent {"connection_id":148377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:21:02] local.INFO: TCP Data received {"connection_id":146043,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:21:02] local.INFO: Processing buffer {"connection_id":146043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:21:02] local.INFO: IMEI packet received {"connection_id":146043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":146043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:21:07] local.INFO: TCP Data received {"connection_id":146043,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:21:07] local.INFO: Processing buffer {"connection_id":146043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:21:07] local.INFO: IMEI packet received {"connection_id":146043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":146043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:21:07] local.INFO: TCP Data received {"connection_id":146043,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba955280012d77a14005f2a670001e00fa29..."} 
[2026-08-01 05:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba955280012d77a14005f2a670001e00fa29..."} 
[2026-08-01 05:21:07] local.INFO: Processing buffer {"connection_id":146043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba955280012d77a14005f2a670001e00fa29..."} 
[2026-08-01 05:21:07] local.INFO: Packet analysis {"connection_id":146043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba95"} 
[2026-08-01 05:21:07] local.INFO: Extracted packet for processing {"connection_id":146043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba95"} 
[2026-08-01 05:21:07] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098617600001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 05:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 05:21: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-08-01 05:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785541776000,"timestamp_ms":1785541776000,"timestamp_seconds":1785541776,"priority":1,"record_length":96,"hex_timestamp":"0000019fba955280"} 
[2026-08-01 05:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 05:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 05: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-08-01 05:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098617600001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098617600001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:21:07] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:21:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 05:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098617600001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 05:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":146043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:21:08] local.INFO: GPS data processed {"connection_id":146043,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:21:08] local.INFO: Acknowledgment sent {"connection_id":146043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:21:12] local.INFO: TCP Data received {"connection_id":146043,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba955280012d77a14005f2a670001e00fa29..."} 
[2026-08-01 05:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba955280012d77a14005f2a670001e00fa29..."} 
[2026-08-01 05:21:12] local.INFO: Processing buffer {"connection_id":146043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba955280012d77a14005f2a670001e00fa29..."} 
[2026-08-01 05:21:12] local.INFO: Packet analysis {"connection_id":146043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba95"} 
[2026-08-01 05:21:12] local.INFO: Extracted packet for processing {"connection_id":146043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba95"} 
[2026-08-01 05:21:12] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 05:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 05:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098617600001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 05:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 05:21:12] 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-08-01 05:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785541776000,"timestamp_ms":1785541776000,"timestamp_seconds":1785541776,"priority":1,"record_length":96,"hex_timestamp":"0000019fba955280"} 
[2026-08-01 05:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 05:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 05:21:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 05:21:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 05:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":146043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":146043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":146043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098617600001,"66":25430,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098617600001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:21:12] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:21:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 05:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098617600001,"power":25430,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 05:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":146043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:21:12] local.INFO: GPS data processed {"connection_id":146043,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:21:12] local.INFO: Acknowledgment sent {"connection_id":146043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:21:56] local.INFO: TCP Data received {"connection_id":145849,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:21:56] local.INFO: Processing buffer {"connection_id":145849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:21:56] local.INFO: IMEI packet received {"connection_id":145849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":145849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:22:01] local.INFO: TCP Data received {"connection_id":145849,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:22:01] local.INFO: Processing buffer {"connection_id":145849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:22:01] local.INFO: IMEI packet received {"connection_id":145849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":145849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:22:02] local.INFO: TCP Data received {"connection_id":145849,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba96f090012d77a14005f2a670001e00fa2b..."} 
[2026-08-01 05:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba96f090012d77a14005f2a670001e00fa2b..."} 
[2026-08-01 05:22:02] local.INFO: Processing buffer {"connection_id":145849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba96f090012d77a14005f2a670001e00fa2b..."} 
[2026-08-01 05:22:02] local.INFO: Packet analysis {"connection_id":145849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba96"} 
[2026-08-01 05:22:02] local.INFO: Extracted packet for processing {"connection_id":145849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba96"} 
[2026-08-01 05:22:02] local.INFO: GPS Element Parsed {"raw_longitude":762814784,"raw_latitude":99788400,"longitude_deg":76.2814784,"latitude_deg":9.97884,"altitude":30,"angle":250,"satellites":43,"speed":0,"hex_longitude":"2d77a140","hex_latitude":"05f2a670","is_valid_coordinates":true} 
[2026-08-01 05:22: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-08-01 05:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098694656001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 05:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 05:22: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-08-01 05:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785541882000,"timestamp_ms":1785541882000,"timestamp_seconds":1785541882,"priority":1,"record_length":96,"hex_timestamp":"0000019fba96f090"} 
[2026-08-01 05:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:22:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 05: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 05:22:02] 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-08-01 05: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-08-01 05:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":145849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":145849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":145849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098694656001,"66":25375,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098694656001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:22:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:22:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 05:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098694656001,"power":25375,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 05:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":145849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:22:02] local.INFO: GPS data processed {"connection_id":145849,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:22:02] local.INFO: Acknowledgment sent {"connection_id":145849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:22:33] local.INFO: TCP Data received {"connection_id":145849,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba96f860012d77a04005f2a608001e00d22b..."} 
[2026-08-01 05:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba96f860012d77a04005f2a608001e00d22b..."} 
[2026-08-01 05:22:33] local.INFO: Processing buffer {"connection_id":145849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba96f860012d77a04005f2a608001e00d22b..."} 
[2026-08-01 05:22:33] local.INFO: Packet analysis {"connection_id":145849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba96"} 
[2026-08-01 05:22:33] local.INFO: Extracted packet for processing {"connection_id":145849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba96"} 
[2026-08-01 05:22:33] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788296,"longitude_deg":76.2814528,"latitude_deg":9.9788296,"altitude":30,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a608","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098721792001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 05:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620241556053848064,"note":"Value kept but may cause issues"} 
[2026-08-01 05:22: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-08-01 05:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785541884000,"timestamp_ms":1785541884000,"timestamp_seconds":1785541884,"priority":1,"record_length":96,"hex_timestamp":"0000019fba96f860"} 
[2026-08-01 05:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:22: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-08-01 05: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":31,"data_length":795,"current_offset":136} 
[2026-08-01 05:22:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 05: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-08-01 05:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":145849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":145849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":145849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098721792001,"66":25191,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8620241556053848064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098721792001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:22:33] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:22:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620241556053848064,"description":"Unknown IO ID 45"} 
[2026-08-01 05:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098721792001,"power":25191,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620241556053848064}} 
[2026-08-01 05:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":145849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:22:33] local.INFO: GPS data processed {"connection_id":145849,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:22:33] local.INFO: Acknowledgment sent {"connection_id":145849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:23:02] local.INFO: TCP Data received {"connection_id":146044,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:23:02] local.INFO: Processing buffer {"connection_id":146044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:23:02] local.INFO: IMEI packet received {"connection_id":146044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":146044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:23:05] local.INFO: TCP Data received {"connection_id":146044,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:23:05] local.INFO: Processing buffer {"connection_id":146044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:23:05] local.INFO: IMEI packet received {"connection_id":146044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":146044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:23:06] local.INFO: TCP Data received {"connection_id":146044,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba974a68012d77a04005f2a608001e00d22b..."} 
[2026-08-01 05:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba974a68012d77a04005f2a608001e00d22b..."} 
[2026-08-01 05:23:06] local.INFO: Processing buffer {"connection_id":146044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba974a68012d77a04005f2a608001e00d22b..."} 
[2026-08-01 05:23:06] local.INFO: Packet analysis {"connection_id":146044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba97"} 
[2026-08-01 05:23:06] local.INFO: Extracted packet for processing {"connection_id":146044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba97"} 
[2026-08-01 05:23:06] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788296,"longitude_deg":76.2814528,"latitude_deg":9.9788296,"altitude":30,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a608","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098722304001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 05:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077110784,"note":"Value kept but may cause issues"} 
[2026-08-01 05:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 05:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785541905000,"timestamp_ms":1785541905000,"timestamp_seconds":1785541905,"priority":1,"record_length":96,"hex_timestamp":"0000019fba974a68"} 
[2026-08-01 05:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 05: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-01 05:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 05: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-08-01 05:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098722304001,"66":27484,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619960081077110784},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098722304001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:23:06] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:23:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077110784,"description":"Unknown IO ID 45"} 
[2026-08-01 05:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098722304001,"power":27484,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077110784}} 
[2026-08-01 05:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":146044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:23:06] local.INFO: GPS data processed {"connection_id":146044,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:23:06] local.INFO: Acknowledgment sent {"connection_id":146044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:23:07] local.INFO: TCP Data received {"connection_id":146044,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba979c70012d77a04005f2a608001e00d22a..."} 
[2026-08-01 05:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba979c70012d77a04005f2a608001e00d22a..."} 
[2026-08-01 05:23:07] local.INFO: Processing buffer {"connection_id":146044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba979c70012d77a04005f2a608001e00d22a..."} 
[2026-08-01 05:23:07] local.INFO: Packet analysis {"connection_id":146044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba97"} 
[2026-08-01 05:23:07] local.INFO: Extracted packet for processing {"connection_id":146044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba97"} 
[2026-08-01 05:23:07] local.INFO: GPS Element Parsed {"raw_longitude":762814528,"raw_latitude":99788296,"longitude_deg":76.2814528,"latitude_deg":9.9788296,"altitude":30,"angle":210,"satellites":42,"speed":0,"hex_longitude":"2d77a040","hex_latitude":"05f2a608","is_valid_coordinates":true} 
[2026-08-01 05:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 05:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098727680001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382467122626560,"note":"Value kept but may cause issues"} 
[2026-08-01 05:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077110784,"note":"Value kept but may cause issues"} 
[2026-08-01 05:23: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-08-01 05:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785541926000,"timestamp_ms":1785541926000,"timestamp_seconds":1785541926,"priority":1,"record_length":96,"hex_timestamp":"0000019fba979c70"} 
[2026-08-01 05:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:23: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-08-01 05:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-01 05:23: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-08-01 05:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 05:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098727680001,"66":27397,"163":206,"9":24832,"24":0,"16":365382467122626560,"45":8619960081077110784},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098727680001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:23:07] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:23:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382467122626560,"km_value":365382467122626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077110784,"description":"Unknown IO ID 45"} 
[2026-08-01 05:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098727680001,"power":27397,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077110784}} 
[2026-08-01 05:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":146044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:23:07] local.INFO: GPS data processed {"connection_id":146044,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:23:07] local.INFO: Acknowledgment sent {"connection_id":146044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:23:38] local.INFO: TCP Data received {"connection_id":146044,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba97ee78012d77a30005f2a890001500d22b..."} 
[2026-08-01 05:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba97ee78012d77a30005f2a890001500d22b..."} 
[2026-08-01 05:23:38] local.INFO: Processing buffer {"connection_id":146044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba97ee78012d77a30005f2a890001500d22b..."} 
[2026-08-01 05:23:38] local.INFO: Packet analysis {"connection_id":146044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba97"} 
[2026-08-01 05:23:38] local.INFO: Extracted packet for processing {"connection_id":146044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba97"} 
[2026-08-01 05:23:38] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99788944,"longitude_deg":76.2815232,"latitude_deg":9.9788944,"altitude":21,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a890","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098733056001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382514367266816,"note":"Value kept but may cause issues"} 
[2026-08-01 05:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960081077110784,"note":"Value kept but may cause issues"} 
[2026-08-01 05:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 05:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785541947000,"timestamp_ms":1785541947000,"timestamp_seconds":1785541947,"priority":1,"record_length":96,"hex_timestamp":"0000019fba97ee78"} 
[2026-08-01 05:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:23: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-08-01 05: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-01 05:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 05: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-08-01 05:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098733056001,"66":27593,"163":206,"9":24832,"24":0,"16":365382514367266816,"45":8619960081077110784},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098733056001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:23:38] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:23:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382514367266816,"km_value":365382514367266.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960081077110784,"description":"Unknown IO ID 45"} 
[2026-08-01 05:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098733056001,"power":27593,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8619960081077110784}} 
[2026-08-01 05:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":146044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:23:38] local.INFO: GPS data processed {"connection_id":146044,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:23:38] local.INFO: Acknowledgment sent {"connection_id":146044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:23:57] local.INFO: TCP Data received {"connection_id":147060,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:23:57] local.INFO: Processing buffer {"connection_id":147060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:23:57] local.INFO: IMEI packet received {"connection_id":147060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":147060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:24:02] local.INFO: TCP Data received {"connection_id":147060,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:24:02] local.INFO: Processing buffer {"connection_id":147060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:24:02] local.INFO: IMEI packet received {"connection_id":147060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":147060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:24:02] local.INFO: TCP Data received {"connection_id":147060,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba984080012d77a30005f2a890001500d22a..."} 
[2026-08-01 05:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba984080012d77a30005f2a890001500d22a..."} 
[2026-08-01 05:24:02] local.INFO: Processing buffer {"connection_id":147060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba984080012d77a30005f2a890001500d22a..."} 
[2026-08-01 05:24:02] local.INFO: Packet analysis {"connection_id":147060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba98"} 
[2026-08-01 05:24:02] local.INFO: Extracted packet for processing {"connection_id":147060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba98"} 
[2026-08-01 05:24:02] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99788944,"longitude_deg":76.2815232,"latitude_deg":9.9788944,"altitude":21,"angle":210,"satellites":42,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a890","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098738432001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382514367266816,"note":"Value kept but may cause issues"} 
[2026-08-01 05:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263230976,"note":"Value kept but may cause issues"} 
[2026-08-01 05:24: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-08-01 05:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785541968000,"timestamp_ms":1785541968000,"timestamp_seconds":1785541968,"priority":1,"record_length":96,"hex_timestamp":"0000019fba984080"} 
[2026-08-01 05:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:24: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-08-01 05: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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-01 05:24:02] 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-08-01 05: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-08-01 05:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":147060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":147060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":147060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:24:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098738432001,"66":27484,"163":206,"9":24832,"24":0,"16":365382514367266816,"45":8620734137263230976},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098738432001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:24:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:24:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382514367266816,"km_value":365382514367266.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263230976,"description":"Unknown IO ID 45"} 
[2026-08-01 05:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098738432001,"power":27484,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263230976}} 
[2026-08-01 05:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":147060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:24:02] local.INFO: GPS data processed {"connection_id":147060,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:24:02] local.INFO: Acknowledgment sent {"connection_id":147060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:24:34] local.INFO: TCP Data received {"connection_id":147060,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba989288012d77a30005f2a890001500d229..."} 
[2026-08-01 05:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba989288012d77a30005f2a890001500d229..."} 
[2026-08-01 05:24:34] local.INFO: Processing buffer {"connection_id":147060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba989288012d77a30005f2a890001500d229..."} 
[2026-08-01 05:24:34] local.INFO: Packet analysis {"connection_id":147060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba98"} 
[2026-08-01 05:24:34] local.INFO: Extracted packet for processing {"connection_id":147060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba98"} 
[2026-08-01 05:24:34] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99788944,"longitude_deg":76.2815232,"latitude_deg":9.9788944,"altitude":21,"angle":210,"satellites":41,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a890","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098743808001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382514367266816,"note":"Value kept but may cause issues"} 
[2026-08-01 05:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263230976,"note":"Value kept but may cause issues"} 
[2026-08-01 05:24:34] 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-08-01 05:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785541989000,"timestamp_ms":1785541989000,"timestamp_seconds":1785541989,"priority":1,"record_length":96,"hex_timestamp":"0000019fba989288"} 
[2026-08-01 05:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:24: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-08-01 05: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-01 05:24: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-08-01 05: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-08-01 05:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098743808001,"66":27691,"163":206,"9":24832,"24":0,"16":365382514367266816,"45":8620734137263230976},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098743808001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:24:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:24:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382514367266816,"km_value":365382514367266.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263230976,"description":"Unknown IO ID 45"} 
[2026-08-01 05:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098743808001,"power":27691,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263230976}} 
[2026-08-01 05:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":147060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:24:34] local.INFO: GPS data processed {"connection_id":147060,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:24:34] local.INFO: Acknowledgment sent {"connection_id":147060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:24:56] local.INFO: TCP Data received {"connection_id":145850,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:24:56] local.INFO: Processing buffer {"connection_id":145850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:24:56] local.INFO: IMEI packet received {"connection_id":145850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":145850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:25:02] local.INFO: TCP Data received {"connection_id":145850,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:25:02] local.INFO: Processing buffer {"connection_id":145850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:25:02] local.INFO: IMEI packet received {"connection_id":145850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":145850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:25:02] local.INFO: TCP Data received {"connection_id":145850,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba98e490012d77a30005f2a890001500d224..."} 
[2026-08-01 05:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba98e490012d77a30005f2a890001500d224..."} 
[2026-08-01 05:25:02] local.INFO: Processing buffer {"connection_id":145850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba98e490012d77a30005f2a890001500d224..."} 
[2026-08-01 05:25:02] local.INFO: Packet analysis {"connection_id":145850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba98"} 
[2026-08-01 05:25:02] local.INFO: Extracted packet for processing {"connection_id":145850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba98"} 
[2026-08-01 05:25:02] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99788944,"longitude_deg":76.2815232,"latitude_deg":9.9788944,"altitude":21,"angle":210,"satellites":36,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a890","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098749184001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382514367266816,"note":"Value kept but may cause issues"} 
[2026-08-01 05:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263230976,"note":"Value kept but may cause issues"} 
[2026-08-01 05:25: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-08-01 05:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785542010000,"timestamp_ms":1785542010000,"timestamp_seconds":1785542010,"priority":1,"record_length":96,"hex_timestamp":"0000019fba98e490"} 
[2026-08-01 05:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:25: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-08-01 05: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-01 05:25: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-08-01 05: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-08-01 05:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":145850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":145850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":145850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098749184001,"66":27658,"163":206,"9":24832,"24":0,"16":365382514367266816,"45":8620734137263230976},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098749184001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:25:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:25:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382514367266816,"km_value":365382514367266.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263230976,"description":"Unknown IO ID 45"} 
[2026-08-01 05:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098749184001,"power":27658,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263230976}} 
[2026-08-01 05:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":145850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:25:02] local.INFO: GPS data processed {"connection_id":145850,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:25:02] local.INFO: Acknowledgment sent {"connection_id":145850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:25:42] local.INFO: TCP Data received {"connection_id":145850,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba993698012d77a30005f2a890001500d229..."} 
[2026-08-01 05:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba993698012d77a30005f2a890001500d229..."} 
[2026-08-01 05:25:42] local.INFO: Processing buffer {"connection_id":145850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba993698012d77a30005f2a890001500d229..."} 
[2026-08-01 05:25:42] local.INFO: Packet analysis {"connection_id":145850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba99"} 
[2026-08-01 05:25:42] local.INFO: Extracted packet for processing {"connection_id":145850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba99"} 
[2026-08-01 05:25:42] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99788944,"longitude_deg":76.2815232,"latitude_deg":9.9788944,"altitude":21,"angle":210,"satellites":41,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a890","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098754560001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382514367266816,"note":"Value kept but may cause issues"} 
[2026-08-01 05:25:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263230976,"note":"Value kept but may cause issues"} 
[2026-08-01 05:25: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-08-01 05:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785542031000,"timestamp_ms":1785542031000,"timestamp_seconds":1785542031,"priority":1,"record_length":96,"hex_timestamp":"0000019fba993698"} 
[2026-08-01 05:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:25:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 05:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 05:25:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 05: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-08-01 05:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":145850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":145850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":145850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098754560001,"66":27658,"163":206,"9":24832,"24":0,"16":365382514367266816,"45":8620734137263230976},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098754560001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:25:42] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:25:42] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382514367266816,"km_value":365382514367266.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:25:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263230976,"description":"Unknown IO ID 45"} 
[2026-08-01 05:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098754560001,"power":27658,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263230976}} 
[2026-08-01 05:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":145850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:25:42] local.INFO: GPS data processed {"connection_id":145850,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:25:42] local.INFO: Acknowledgment sent {"connection_id":145850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:25:56] local.INFO: TCP Data received {"connection_id":148378,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:25:56] local.INFO: Processing buffer {"connection_id":148378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:25:56] local.INFO: IMEI packet received {"connection_id":148378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":148378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:26:14] local.INFO: TCP Data received {"connection_id":148378,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:26:14] local.INFO: Processing buffer {"connection_id":148378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:26:14] local.INFO: IMEI packet received {"connection_id":148378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":148378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:26:15] local.INFO: TCP Data received {"connection_id":148378,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba9988a0012d77a30005f2a890001500d229..."} 
[2026-08-01 05:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba9988a0012d77a30005f2a890001500d229..."} 
[2026-08-01 05:26:15] local.INFO: Processing buffer {"connection_id":148378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba9988a0012d77a30005f2a890001500d229..."} 
[2026-08-01 05:26:15] local.INFO: Packet analysis {"connection_id":148378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba99"} 
[2026-08-01 05:26:15] local.INFO: Extracted packet for processing {"connection_id":148378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba99"} 
[2026-08-01 05:26:15] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99788944,"longitude_deg":76.2815232,"latitude_deg":9.9788944,"altitude":21,"angle":210,"satellites":41,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a890","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098759936001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365382514367266816,"note":"Value kept but may cause issues"} 
[2026-08-01 05:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263230976,"note":"Value kept but may cause issues"} 
[2026-08-01 05:26: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-08-01 05:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785542052000,"timestamp_ms":1785542052000,"timestamp_seconds":1785542052,"priority":1,"record_length":96,"hex_timestamp":"0000019fba9988a0"} 
[2026-08-01 05:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:26:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 05: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 05:26:15] 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-08-01 05: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-08-01 05:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098759936001,"66":26984,"163":206,"9":24832,"24":0,"16":365382514367266816,"45":8620734137263230976},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,45]} 
[2026-08-01 05:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098759936001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:26:15] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:26:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365382514367266816,"km_value":365382514367266.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263230976,"description":"Unknown IO ID 45"} 
[2026-08-01 05:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098759936001,"power":26984,"unknown_163":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263230976}} 
[2026-08-01 05:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":148378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:26:15] local.INFO: GPS data processed {"connection_id":148378,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:26:15] local.INFO: Acknowledgment sent {"connection_id":148378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:26:56] local.INFO: TCP Data received {"connection_id":147061,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:26:56] local.INFO: Processing buffer {"connection_id":147061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:26:56] local.INFO: IMEI packet received {"connection_id":147061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":147061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:27:01] local.INFO: TCP Data received {"connection_id":147061,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:27:01] local.INFO: Processing buffer {"connection_id":147061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:27:01] local.INFO: IMEI packet received {"connection_id":147061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":147061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:27:17] local.INFO: TCP Data received {"connection_id":147061,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba9accd8012d778d8005f31fb80005015723..."} 
[2026-08-01 05:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba9accd8012d778d8005f31fb80005015723..."} 
[2026-08-01 05:27:17] local.INFO: Processing buffer {"connection_id":147061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba9accd8012d778d8005f31fb80005015723..."} 
[2026-08-01 05:27:17] local.INFO: Packet analysis {"connection_id":147061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba9a"} 
[2026-08-01 05:27:17] local.INFO: Extracted packet for processing {"connection_id":147061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba9a"} 
[2026-08-01 05:27:17] local.INFO: GPS Element Parsed {"raw_longitude":762809728,"raw_latitude":99819448,"longitude_deg":76.2809728,"latitude_deg":9.9819448,"altitude":5,"angle":343,"satellites":35,"speed":22,"hex_longitude":"2d778d80","hex_latitude":"05f31fb8","is_valid_coordinates":true} 
[2026-08-01 05:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 05:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098785280001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365384090620264448,"note":"Value kept but may cause issues"} 
[2026-08-01 05:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8615315743968667648,"note":"Value kept but may cause issues"} 
[2026-08-01 05:27:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 05:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785542135000,"timestamp_ms":1785542135000,"timestamp_seconds":1785542135,"priority":1,"record_length":96,"hex_timestamp":"0000019fba9accd8"} 
[2026-08-01 05:27:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:27:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 05:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-01 05:27:17] 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-08-01 05:27:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 05:27:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":147061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":147061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":147061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:27:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098785280001,"66":27300,"105":206,"9":24832,"24":22,"16":365384090620264448,"45":8615315743968667648},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,9,24,16,45]} 
[2026-08-01 05:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098785280001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:27:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 05:27:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365384090620264448,"km_value":365384090620264.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8615315743968667648,"description":"Unknown IO ID 45"} 
[2026-08-01 05:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098785280001,"power":27300,"unknown_105":206,"unknown_9":24832,"ignition":22,"odometer":null,"unknown_45":8615315743968667648}} 
[2026-08-01 05:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":147061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:27:17] local.INFO: GPS data processed {"connection_id":147061,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:27:17] local.INFO: Acknowledgment sent {"connection_id":147061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:27:58] local.INFO: TCP Data received {"connection_id":148379,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:27:58] local.INFO: Processing buffer {"connection_id":148379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:27:58] local.INFO: IMEI packet received {"connection_id":148379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":148379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:28:01] local.INFO: TCP Data received {"connection_id":148379,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:28:01] local.INFO: Processing buffer {"connection_id":148379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:28:01] local.INFO: IMEI packet received {"connection_id":148379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":148379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:28:07] local.INFO: TCP Data received {"connection_id":148379,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:28:07] local.INFO: Processing buffer {"connection_id":148379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:28:07] local.INFO: IMEI packet received {"connection_id":148379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":148379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:28:08] local.INFO: TCP Data received {"connection_id":148379,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba9c2498012d77d10005f3c480000b00552b..."} 
[2026-08-01 05:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba9c2498012d77d10005f3c480000b00552b..."} 
[2026-08-01 05:28:08] local.INFO: Processing buffer {"connection_id":148379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba9c2498012d77d10005f3c480000b00552b..."} 
[2026-08-01 05:28:08] local.INFO: Packet analysis {"connection_id":148379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba9c"} 
[2026-08-01 05:28:08] local.INFO: Extracted packet for processing {"connection_id":148379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba9c"} 
[2026-08-01 05:28:08] local.INFO: GPS Element Parsed {"raw_longitude":762827008,"raw_latitude":99861632,"longitude_deg":76.2827008,"latitude_deg":9.9861632,"altitude":11,"angle":85,"satellites":43,"speed":33,"hex_longitude":"2d77d100","hex_latitude":"05f3c480","is_valid_coordinates":true} 
[2026-08-01 05:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 05:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098808064001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365387019787960320,"note":"Value kept but may cause issues"} 
[2026-08-01 05:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8629952442768910336,"note":"Value kept but may cause issues"} 
[2026-08-01 05:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 05:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785542223000,"timestamp_ms":1785542223000,"timestamp_seconds":1785542223,"priority":1,"record_length":96,"hex_timestamp":"0000019fba9c2498"} 
[2026-08-01 05:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:28: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-08-01 05:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-01 05:28:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 05:28:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 05:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":148379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":148379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":148379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098808064001,"66":27376,"193":206,"9":24832,"24":33,"16":365387019787960320,"45":8629952442768910336},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,9,24,16,45]} 
[2026-08-01 05:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098808064001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:28:08] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-01 05:28:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365387019787960320,"km_value":365387019787960.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8629952442768910336,"description":"Unknown IO ID 45"} 
[2026-08-01 05:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098808064001,"power":27376,"unknown_193":206,"unknown_9":24832,"ignition":33,"odometer":null,"unknown_45":8629952442768910336}} 
[2026-08-01 05:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":148379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:28:08] local.INFO: GPS data processed {"connection_id":148379,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:28:08] local.INFO: Acknowledgment sent {"connection_id":148379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:28:09] local.INFO: TCP Data received {"connection_id":148379,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba9c3c08012d77e40005f3c9300008004629..."} 
[2026-08-01 05:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba9c3c08012d77e40005f3c9300008004629..."} 
[2026-08-01 05:28:09] local.INFO: Processing buffer {"connection_id":148379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba9c3c08012d77e40005f3c9300008004629..."} 
[2026-08-01 05:28:09] local.INFO: Packet analysis {"connection_id":148379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba9c"} 
[2026-08-01 05:28:09] local.INFO: Extracted packet for processing {"connection_id":148379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba9c"} 
[2026-08-01 05:28:09] local.INFO: GPS Element Parsed {"raw_longitude":762831872,"raw_latitude":99862832,"longitude_deg":76.2831872,"latitude_deg":9.9862832,"altitude":8,"angle":70,"satellites":41,"speed":31,"hex_longitude":"2d77e400","hex_latitude":"05f3c930","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098809088001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365387260306128896,"note":"Value kept but may cause issues"} 
[2026-08-01 05:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8633681986210529280,"note":"Value kept but may cause issues"} 
[2026-08-01 05:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 05:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785542229000,"timestamp_ms":1785542229000,"timestamp_seconds":1785542229,"priority":1,"record_length":96,"hex_timestamp":"0000019fba9c3c08"} 
[2026-08-01 05:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:28: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-08-01 05: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-01 05:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 05: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-08-01 05:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":148379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":148379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":148379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098809088001,"66":27332,"193":206,"9":24832,"24":31,"16":365387260306128896,"45":8633681986210529280},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,9,24,16,45]} 
[2026-08-01 05:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098809088001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:28:09] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-01 05:28:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365387260306128896,"km_value":365387260306128.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8633681986210529280,"description":"Unknown IO ID 45"} 
[2026-08-01 05:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098809088001,"power":27332,"unknown_193":206,"unknown_9":24832,"ignition":31,"odometer":null,"unknown_45":8633681986210529280}} 
[2026-08-01 05:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":148379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:28:09] local.INFO: GPS data processed {"connection_id":148379,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:28:09] local.INFO: Acknowledgment sent {"connection_id":148379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:28:40] local.INFO: TCP Data received {"connection_id":148379,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba9c6700012d78058005f3d8080005003b22..."} 
[2026-08-01 05:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba9c6700012d78058005f3d8080005003b22..."} 
[2026-08-01 05:28:40] local.INFO: Processing buffer {"connection_id":148379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba9c6700012d78058005f3d8080005003b22..."} 
[2026-08-01 05:28:40] local.INFO: Packet analysis {"connection_id":148379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba9c"} 
[2026-08-01 05:28:40] local.INFO: Extracted packet for processing {"connection_id":148379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba9c"} 
[2026-08-01 05:28:40] local.INFO: GPS Element Parsed {"raw_longitude":762840448,"raw_latitude":99866632,"longitude_deg":76.2840448,"latitude_deg":9.9866632,"altitude":5,"angle":59,"satellites":34,"speed":37,"hex_longitude":"2d780580","hex_latitude":"05f3d808","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098810624001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365387706982727680,"note":"Value kept but may cause issues"} 
[2026-08-01 05:28:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8639030010768338944,"note":"Value kept but may cause issues"} 
[2026-08-01 05:28:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 05:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785542240000,"timestamp_ms":1785542240000,"timestamp_seconds":1785542240,"priority":1,"record_length":96,"hex_timestamp":"0000019fba9c6700"} 
[2026-08-01 05:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05: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-08-01 05:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-01 05:28:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 05: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-08-01 05:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":148379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":148379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":148379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098810624001,"66":26593,"217":206,"9":24832,"24":37,"16":365387706982727680,"45":8639030010768338944},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,9,24,16,45]} 
[2026-08-01 05:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098810624001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:28:40] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-01 05:28:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365387706982727680,"km_value":365387706982727.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:28:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8639030010768338944,"description":"Unknown IO ID 45"} 
[2026-08-01 05:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098810624001,"power":26593,"unknown_217":206,"unknown_9":24832,"ignition":37,"odometer":null,"unknown_45":8639030010768338944}} 
[2026-08-01 05:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":148379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:28:40] local.INFO: GPS data processed {"connection_id":148379,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:28:40] local.INFO: Acknowledgment sent {"connection_id":148379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:29:18] local.INFO: TCP Data received {"connection_id":145851,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:29:18] local.INFO: Processing buffer {"connection_id":145851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:29:18] local.INFO: IMEI packet received {"connection_id":145851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":145851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:29:38] local.INFO: TCP Data received {"connection_id":145851,"ip":"117.224.167.108","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 05:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145851,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 05:29:38] local.INFO: Processing buffer {"connection_id":145851,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 05:29:38] local.INFO: IMEI packet received {"connection_id":145851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":145851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:29:43] local.INFO: TCP Data received {"connection_id":145851,"ip":"117.224.167.108","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fba..."} 
[2026-08-01 05:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145851,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fba..."} 
[2026-08-01 05:29:43] local.INFO: Processing buffer {"connection_id":145851,"buffer_length":829,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 05:29:43] local.INFO: IMEI packet received {"connection_id":145851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":145851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:30:31] local.INFO: TCP Data received {"connection_id":145852,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:30:31] local.INFO: Processing buffer {"connection_id":145852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:30:31] local.INFO: IMEI packet received {"connection_id":145852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":145852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:30:33] local.INFO: TCP Data received {"connection_id":145852,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:30:33] local.INFO: Processing buffer {"connection_id":145852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:30:33] local.INFO: IMEI packet received {"connection_id":145852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":145852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:30:37] local.INFO: TCP Data received {"connection_id":145852,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:30:37] local.INFO: Processing buffer {"connection_id":145852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:30:37] local.INFO: IMEI packet received {"connection_id":145852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":145852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:30:38] local.INFO: TCP Data received {"connection_id":145852,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba9e66b8012d79188005f4f6000009002d22..."} 
[2026-08-01 05:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba9e66b8012d79188005f4f6000009002d22..."} 
[2026-08-01 05:30:38] local.INFO: Processing buffer {"connection_id":145852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba9e66b8012d79188005f4f6000009002d22..."} 
[2026-08-01 05:30:38] local.INFO: Packet analysis {"connection_id":145852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba9e"} 
[2026-08-01 05:30:38] local.INFO: Extracted packet for processing {"connection_id":145852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba9e"} 
[2026-08-01 05:30:38] local.INFO: GPS Element Parsed {"raw_longitude":762910848,"raw_latitude":99939840,"longitude_deg":76.2910848,"latitude_deg":9.993984,"altitude":9,"angle":45,"satellites":34,"speed":38,"hex_longitude":"2d791880","hex_latitude":"05f4f600","is_valid_coordinates":true} 
[2026-08-01 05:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 05:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098844416001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365392646195118080,"note":"Value kept but may cause issues"} 
[2026-08-01 05:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8718757797939654656,"note":"Value kept but may cause issues"} 
[2026-08-01 05:30:38] 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-08-01 05:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785542371000,"timestamp_ms":1785542371000,"timestamp_seconds":1785542371,"priority":1,"record_length":96,"hex_timestamp":"0000019fba9e66b8"} 
[2026-08-01 05:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 05:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-01 05:30: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-08-01 05:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 05:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098844416001,"66":27321,"52":206,"9":24832,"24":38,"16":365392646195118080,"45":8718757797939654656},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,9,24,16,45]} 
[2026-08-01 05:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098844416001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:30:38] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-08-01 05:30:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365392646195118080,"km_value":365392646195118.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8718757797939654656,"description":"Unknown IO ID 45"} 
[2026-08-01 05:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098844416001,"power":27321,"unknown_52":206,"unknown_9":24832,"ignition":38,"odometer":null,"unknown_45":8718757797939654656}} 
[2026-08-01 05:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":145852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:30:38] local.INFO: GPS data processed {"connection_id":145852,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:30:38] local.INFO: Acknowledgment sent {"connection_id":145852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:31:46] local.INFO: TCP Data received {"connection_id":148380,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:31:46] local.INFO: Processing buffer {"connection_id":148380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:31:46] local.INFO: IMEI packet received {"connection_id":148380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":148380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:31:52] local.INFO: TCP Data received {"connection_id":148380,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:31:52] local.INFO: Processing buffer {"connection_id":148380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:31:52] local.INFO: IMEI packet received {"connection_id":148380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":148380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:31:52] local.INFO: TCP Data received {"connection_id":148380,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba9e8dc8012d79308005f51118000c002720..."} 
[2026-08-01 05:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba9e8dc8012d79308005f51118000c002720..."} 
[2026-08-01 05:31:52] local.INFO: Processing buffer {"connection_id":148380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba9e8dc8012d79308005f51118000c002720..."} 
[2026-08-01 05:31:52] local.INFO: Packet analysis {"connection_id":148380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba9e"} 
[2026-08-01 05:31:52] local.INFO: Extracted packet for processing {"connection_id":148380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba9e"} 
[2026-08-01 05:31:52] local.INFO: GPS Element Parsed {"raw_longitude":762916992,"raw_latitude":99946776,"longitude_deg":76.2916992,"latitude_deg":9.9946776,"altitude":12,"angle":39,"satellites":32,"speed":37,"hex_longitude":"2d793080","hex_latitude":"05f51118","is_valid_coordinates":true} 
[2026-08-01 05:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 05:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098846976001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365393092871716864,"note":"Value kept but may cause issues"} 
[2026-08-01 05:31:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8725865041103290368,"note":"Value kept but may cause issues"} 
[2026-08-01 05:31:52] 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-08-01 05:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785542381000,"timestamp_ms":1785542381000,"timestamp_seconds":1785542381,"priority":1,"record_length":96,"hex_timestamp":"0000019fba9e8dc8"} 
[2026-08-01 05:31:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:31: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-08-01 05:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-01 05:31:52] 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-08-01 05:31:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 05:31:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:31:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098846976001,"66":27104,"52":206,"9":24832,"24":37,"16":365393092871716864,"45":8725865041103290368},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,9,24,16,45]} 
[2026-08-01 05:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098846976001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:31:52] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-08-01 05:31:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365393092871716864,"km_value":365393092871716.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:31:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8725865041103290368,"description":"Unknown IO ID 45"} 
[2026-08-01 05:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098846976001,"power":27104,"unknown_52":206,"unknown_9":24832,"ignition":37,"odometer":null,"unknown_45":8725865041103290368}} 
[2026-08-01 05:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":148380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:31:52] local.INFO: GPS data processed {"connection_id":148380,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:31:52] local.INFO: Acknowledgment sent {"connection_id":148380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:32:23] local.INFO: TCP Data received {"connection_id":148380,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fba9ec478012d794c4005f529900007003228..."} 
[2026-08-01 05:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fba9ec478012d794c4005f529900007003228..."} 
[2026-08-01 05:32:23] local.INFO: Processing buffer {"connection_id":148380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fba9ec478012d794c4005f529900007003228..."} 
[2026-08-01 05:32:23] local.INFO: Packet analysis {"connection_id":148380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fba9e"} 
[2026-08-01 05:32:23] local.INFO: Extracted packet for processing {"connection_id":148380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fba9e"} 
[2026-08-01 05:32:23] local.INFO: GPS Element Parsed {"raw_longitude":762924096,"raw_latitude":99953040,"longitude_deg":76.2924096,"latitude_deg":9.995304,"altitude":7,"angle":50,"satellites":40,"speed":28,"hex_longitude":"2d794c40","hex_latitude":"05f52990","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098849536001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365393552433217536,"note":"Value kept but may cause issues"} 
[2026-08-01 05:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8732620440546121728,"note":"Value kept but may cause issues"} 
[2026-08-01 05:32:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 05:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785542395000,"timestamp_ms":1785542395000,"timestamp_seconds":1785542395,"priority":1,"record_length":96,"hex_timestamp":"0000019fba9ec478"} 
[2026-08-01 05:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:32:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 05: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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-01 05:32:23] 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-08-01 05: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-08-01 05:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":148380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":148380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":148380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:32:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098849536001,"66":26658,"142":206,"9":24832,"24":28,"16":365393552433217536,"45":8732620440546121728},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,9,24,16,45]} 
[2026-08-01 05:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098849536001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:32:23] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-08-01 05:32:23] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-08-01 05:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365393552433217536,"km_value":365393552433217.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8732620440546121728,"description":"Unknown IO ID 45"} 
[2026-08-01 05:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098849536001,"power":26658,"unknown_142":206,"unknown_9":24832,"ignition":28,"odometer":null,"unknown_45":8732620440546121728}} 
[2026-08-01 05:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":148380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:32:23] local.INFO: GPS data processed {"connection_id":148380,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:32:23] local.INFO: Acknowledgment sent {"connection_id":148380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:32:56] local.INFO: TCP Data received {"connection_id":145853,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:32:56] local.INFO: Processing buffer {"connection_id":145853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:32:56] local.INFO: IMEI packet received {"connection_id":145853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":145853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:32:57] local.INFO: TCP Data received {"connection_id":145853,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:32:57] local.INFO: Processing buffer {"connection_id":145853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:32:57] local.INFO: IMEI packet received {"connection_id":145853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":145853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:33:02] local.INFO: TCP Data received {"connection_id":145853,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:33:02] local.INFO: Processing buffer {"connection_id":145853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:33:02] local.INFO: IMEI packet received {"connection_id":145853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":145853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:33:03] local.INFO: TCP Data received {"connection_id":145853,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaa0bc60012d7a69c005f5fdb8000e003514..."} 
[2026-08-01 05:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaa0bc60012d7a69c005f5fdb8000e003514..."} 
[2026-08-01 05:33:03] local.INFO: Processing buffer {"connection_id":145853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaa0bc60012d7a69c005f5fdb8000e003514..."} 
[2026-08-01 05:33:03] local.INFO: Packet analysis {"connection_id":145853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaa0"} 
[2026-08-01 05:33:03] local.INFO: Extracted packet for processing {"connection_id":145853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaa0"} 
[2026-08-01 05:33:03] local.INFO: GPS Element Parsed {"raw_longitude":762997184,"raw_latitude":100007352,"longitude_deg":76.2997184,"latitude_deg":10.0007352,"altitude":14,"angle":53,"satellites":20,"speed":35,"hex_longitude":"2d7a69c0","hex_latitude":"05f5fdb8","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098884608001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365397937594826752,"note":"Value kept but may cause issues"} 
[2026-08-01 05:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815374083713708032,"note":"Value kept but may cause issues"} 
[2026-08-01 05:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 05:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785542524000,"timestamp_ms":1785542524000,"timestamp_seconds":1785542524,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaa0bc60"} 
[2026-08-01 05:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:33: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-08-01 05: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-01 05:33: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-08-01 05: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-08-01 05:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098884608001,"66":27343,"64":206,"8":64768,"24":35,"16":365397937594826752,"45":8815374083713708032},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,8,24,16,45]} 
[2026-08-01 05:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098884608001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:33:03] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-01 05:33:03] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-08-01 05:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365397937594826752,"km_value":365397937594826.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815374083713708032,"description":"Unknown IO ID 45"} 
[2026-08-01 05:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098884608001,"power":27343,"unknown_64":206,"unknown_8":64768,"ignition":35,"odometer":null,"unknown_45":8815374083713708032}} 
[2026-08-01 05:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":145853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:33:03] local.INFO: GPS data processed {"connection_id":145853,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:33:03] local.INFO: Acknowledgment sent {"connection_id":145853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:33:34] local.INFO: TCP Data received {"connection_id":145853,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaa0d7b8012d7a7f8005f60b18000b004322..."} 
[2026-08-01 05:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaa0d7b8012d7a7f8005f60b18000b004322..."} 
[2026-08-01 05:33:34] local.INFO: Processing buffer {"connection_id":145853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaa0d7b8012d7a7f8005f60b18000b004322..."} 
[2026-08-01 05:33:34] local.INFO: Packet analysis {"connection_id":145853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaa0"} 
[2026-08-01 05:33:34] local.INFO: Extracted packet for processing {"connection_id":145853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaa0"} 
[2026-08-01 05:33:34] local.INFO: GPS Element Parsed {"raw_longitude":763002752,"raw_latitude":100010776,"longitude_deg":76.3002752,"latitude_deg":10.0010776,"altitude":11,"angle":67,"satellites":34,"speed":34,"hex_longitude":"2d7a7f80","hex_latitude":"05f60b18","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098886144001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365398251127439360,"note":"Value kept but may cause issues"} 
[2026-08-01 05:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8820792477016242176,"note":"Value kept but may cause issues"} 
[2026-08-01 05:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 05:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785542531000,"timestamp_ms":1785542531000,"timestamp_seconds":1785542531,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaa0d7b8"} 
[2026-08-01 05:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:33: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-08-01 05: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-01 05:33:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 05: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-08-01 05:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098886144001,"66":27310,"64":206,"8":64768,"24":34,"16":365398251127439360,"45":8820792477016242176},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,8,24,16,45]} 
[2026-08-01 05:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098886144001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:33:34] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-01 05:33:34] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-08-01 05:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365398251127439360,"km_value":365398251127439.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8820792477016242176,"description":"Unknown IO ID 45"} 
[2026-08-01 05:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098886144001,"power":27310,"unknown_64":206,"unknown_8":64768,"ignition":34,"odometer":null,"unknown_45":8820792477016242176}} 
[2026-08-01 05:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":145853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:33:34] local.INFO: GPS data processed {"connection_id":145853,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:33:34] local.INFO: Acknowledgment sent {"connection_id":145853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:34:04] local.INFO: TCP Data received {"connection_id":145854,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:34:04] local.INFO: Processing buffer {"connection_id":145854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:34:04] local.INFO: IMEI packet received {"connection_id":145854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":145854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:34:06] local.INFO: TCP Data received {"connection_id":145854,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:34:06] local.INFO: Processing buffer {"connection_id":145854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:34:06] local.INFO: IMEI packet received {"connection_id":145854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":145854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:34:12] local.INFO: TCP Data received {"connection_id":145854,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:34:12] local.INFO: Processing buffer {"connection_id":145854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:34:12] local.INFO: IMEI packet received {"connection_id":145854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":145854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:34:13] local.INFO: TCP Data received {"connection_id":145854,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaa0f310012d7a930005f610f00008004e24..."} 
[2026-08-01 05:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaa0f310012d7a930005f610f00008004e24..."} 
[2026-08-01 05:34:13] local.INFO: Processing buffer {"connection_id":145854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaa0f310012d7a930005f610f00008004e24..."} 
[2026-08-01 05:34:13] local.INFO: Packet analysis {"connection_id":145854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaa0"} 
[2026-08-01 05:34:13] local.INFO: Extracted packet for processing {"connection_id":145854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaa0"} 
[2026-08-01 05:34:13] local.INFO: GPS Element Parsed {"raw_longitude":763007744,"raw_latitude":100012272,"longitude_deg":76.3007744,"latitude_deg":10.0012272,"altitude":8,"angle":78,"satellites":36,"speed":28,"hex_longitude":"2d7a9300","hex_latitude":"05f610f0","is_valid_coordinates":true} 
[2026-08-01 05:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 05:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098887936001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365398500235542528,"note":"Value kept but may cause issues"} 
[2026-08-01 05:34:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8826914557760575488,"note":"Value kept but may cause issues"} 
[2026-08-01 05:34:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 05:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785542538000,"timestamp_ms":1785542538000,"timestamp_seconds":1785542538,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaa0f310"} 
[2026-08-01 05:34:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:34: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-08-01 05:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-01 05:34:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 05:34:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 05:34:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":145854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":145854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":145854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:34:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098887936001,"66":27082,"64":206,"8":64768,"24":28,"16":365398500235542528,"45":8826914557760575488},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,8,24,16,45]} 
[2026-08-01 05:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098887936001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:34:13] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-01 05:34:13] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-08-01 05:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365398500235542528,"km_value":365398500235542.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:34:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8826914557760575488,"description":"Unknown IO ID 45"} 
[2026-08-01 05:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098887936001,"power":27082,"unknown_64":206,"unknown_8":64768,"ignition":28,"odometer":null,"unknown_45":8826914557760575488}} 
[2026-08-01 05:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":145854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:34:13] local.INFO: GPS data processed {"connection_id":145854,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:34:13] local.INFO: Acknowledgment sent {"connection_id":145854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:36:39] local.INFO: TCP Data received {"connection_id":145855,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:36:39] local.INFO: Processing buffer {"connection_id":145855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:36:39] local.INFO: IMEI packet received {"connection_id":145855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":145855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:37:13] local.INFO: TCP Data received {"connection_id":145856,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:37:13] local.INFO: Processing buffer {"connection_id":145856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:37:13] local.INFO: IMEI packet received {"connection_id":145856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":145856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:37:14] local.INFO: TCP Data received {"connection_id":145856,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:37:14] local.INFO: Processing buffer {"connection_id":145856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:37:14] local.INFO: IMEI packet received {"connection_id":145856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":145856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:37:16] local.INFO: TCP Data received {"connection_id":145856,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:37:16] local.INFO: Processing buffer {"connection_id":145856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:37:16] local.INFO: IMEI packet received {"connection_id":145856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":145856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:37:17] local.INFO: TCP Data received {"connection_id":145856,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaa3c9a0012d7acb4005f81198000a016325..."} 
[2026-08-01 05:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaa3c9a0012d7acb4005f81198000a016325..."} 
[2026-08-01 05:37:17] local.INFO: Processing buffer {"connection_id":145856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaa3c9a0012d7acb4005f81198000a016325..."} 
[2026-08-01 05:37:17] local.INFO: Packet analysis {"connection_id":145856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaa3"} 
[2026-08-01 05:37:17] local.INFO: Extracted packet for processing {"connection_id":145856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaa3"} 
[2026-08-01 05:37:17] local.INFO: GPS Element Parsed {"raw_longitude":763022144,"raw_latitude":100143512,"longitude_deg":76.3022144,"latitude_deg":10.0143512,"altitude":10,"angle":355,"satellites":37,"speed":43,"hex_longitude":"2d7acb40","hex_latitude":"05f81198","is_valid_coordinates":true} 
[2026-08-01 05:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 05:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098937344001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365406312781053952,"note":"Value kept but may cause issues"} 
[2026-08-01 05:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848236287280388096,"note":"Value kept but may cause issues"} 
[2026-08-01 05:37:17] 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-08-01 05:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785542724000,"timestamp_ms":1785542724000,"timestamp_seconds":1785542724,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaa3c9a0"} 
[2026-08-01 05:37:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:37:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 05:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-01 05:37:17] 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-08-01 05:37:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 05:37:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":145856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":145856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":145856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098937344001,"66":27234,"143":206,"8":65024,"24":43,"16":365406312781053952,"45":8848236287280388096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,8,24,16,45]} 
[2026-08-01 05:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098937344001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:37:17] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-01 05:37:17] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-08-01 05:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365406312781053952,"km_value":365406312781053.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848236287280388096,"description":"Unknown IO ID 45"} 
[2026-08-01 05:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098937344001,"power":27234,"unknown_143":206,"unknown_8":65024,"ignition":43,"odometer":null,"unknown_45":8848236287280388096}} 
[2026-08-01 05:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":145856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:37:17] local.INFO: GPS data processed {"connection_id":145856,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:37:17] local.INFO: Acknowledgment sent {"connection_id":145856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:37:56] local.INFO: TCP Data received {"connection_id":148381,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:37:56] local.INFO: Processing buffer {"connection_id":148381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:37:56] local.INFO: IMEI packet received {"connection_id":148381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":148381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:37:58] local.INFO: TCP Data received {"connection_id":148381,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:37:58] local.INFO: Processing buffer {"connection_id":148381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:37:58] local.INFO: IMEI packet received {"connection_id":148381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":148381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:37:59] local.INFO: TCP Data received {"connection_id":148381,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:37:59] local.INFO: Processing buffer {"connection_id":148381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:37:59] local.INFO: IMEI packet received {"connection_id":148381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":148381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:38:01] local.INFO: TCP Data received {"connection_id":148381,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:38:01] local.INFO: Processing buffer {"connection_id":148381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:38:01] local.INFO: IMEI packet received {"connection_id":148381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":148381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:38:03] local.INFO: TCP Data received {"connection_id":148381,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaa52548012d7b7c4005f94fe80008001c26..."} 
[2026-08-01 05:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaa52548012d7b7c4005f94fe80008001c26..."} 
[2026-08-01 05:38:03] local.INFO: Processing buffer {"connection_id":148381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaa52548012d7b7c4005f94fe80008001c26..."} 
[2026-08-01 05:38:03] local.INFO: Packet analysis {"connection_id":148381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaa5"} 
[2026-08-01 05:38:03] local.INFO: Extracted packet for processing {"connection_id":148381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaa5"} 
[2026-08-01 05:38:03] local.INFO: GPS Element Parsed {"raw_longitude":763067456,"raw_latitude":100225000,"longitude_deg":76.3067456,"latitude_deg":10.0225,"altitude":8,"angle":28,"satellites":38,"speed":33,"hex_longitude":"2d7b7c40","hex_latitude":"05f94fe8","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098957824001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365410951345733632,"note":"Value kept but may cause issues"} 
[2026-08-01 05:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892709333619410944,"note":"Value kept but may cause issues"} 
[2026-08-01 05:38:03] 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-08-01 05:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785542813000,"timestamp_ms":1785542813000,"timestamp_seconds":1785542813,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaa52548"} 
[2026-08-01 05:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:38: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-08-01 05: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-01 05:38: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-08-01 05: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-08-01 05:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098957824001,"66":27093,"29":206,"8":65024,"24":33,"16":365410951345733632,"45":8892709333619410944},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,8,24,16,45]} 
[2026-08-01 05:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098957824001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:38:03] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-01 05:38:03] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-08-01 05:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365410951345733632,"km_value":365410951345733.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892709333619410944,"description":"Unknown IO ID 45"} 
[2026-08-01 05:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098957824001,"power":27093,"unknown_29":206,"unknown_8":65024,"ignition":33,"odometer":null,"unknown_45":8892709333619410944}} 
[2026-08-01 05:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":148381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:38:03] local.INFO: GPS data processed {"connection_id":148381,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:38:03] local.INFO: Acknowledgment sent {"connection_id":148381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:38:34] local.INFO: TCP Data received {"connection_id":148381,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaa55428012d7b8b0005f96f600006001d28..."} 
[2026-08-01 05:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaa55428012d7b8b0005f96f600006001d28..."} 
[2026-08-01 05:38:34] local.INFO: Processing buffer {"connection_id":148381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaa55428012d7b8b0005f96f600006001d28..."} 
[2026-08-01 05:38:34] local.INFO: Packet analysis {"connection_id":148381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaa5"} 
[2026-08-01 05:38:34] local.INFO: Extracted packet for processing {"connection_id":148381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaa5"} 
[2026-08-01 05:38:34] local.INFO: GPS Element Parsed {"raw_longitude":763071232,"raw_latitude":100233056,"longitude_deg":76.3071232,"latitude_deg":10.0233056,"altitude":6,"angle":29,"satellites":40,"speed":32,"hex_longitude":"2d7b8b00","hex_latitude":"05f96f60","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098960128001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365411380842463232,"note":"Value kept but may cause issues"} 
[2026-08-01 05:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898057358179035136,"note":"Value kept but may cause issues"} 
[2026-08-01 05:38: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-08-01 05:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785542825000,"timestamp_ms":1785542825000,"timestamp_seconds":1785542825,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaa55428"} 
[2026-08-01 05:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:38: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-08-01 05: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":105,"n8_eight_byte":213,"data_length":795,"current_offset":136} 
[2026-08-01 05:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2640,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 05: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-08-01 05:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098960128001,"66":27223,"29":206,"8":65024,"24":32,"16":365411380842463232,"45":8898057358179035136},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,8,24,16,45]} 
[2026-08-01 05:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098960128001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:38:34] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-01 05:38:34] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-08-01 05:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365411380842463232,"km_value":365411380842463.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898057358179035136,"description":"Unknown IO ID 45"} 
[2026-08-01 05:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098960128001,"power":27223,"unknown_29":206,"unknown_8":65024,"ignition":32,"odometer":null,"unknown_45":8898057358179035136}} 
[2026-08-01 05:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":148381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:38:34] local.INFO: GPS data processed {"connection_id":148381,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:38:34] local.INFO: Acknowledgment sent {"connection_id":148381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:39:31] local.INFO: TCP Data received {"connection_id":147062,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:39:31] local.INFO: Processing buffer {"connection_id":147062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:39:31] local.INFO: IMEI packet received {"connection_id":147062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":147062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:39:37] local.INFO: TCP Data received {"connection_id":147062,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:39:37] local.INFO: Processing buffer {"connection_id":147062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:39:37] local.INFO: IMEI packet received {"connection_id":147062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":147062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:39:38] local.INFO: TCP Data received {"connection_id":147062,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaa6cb28012d7b470005fa42b8000c01402b..."} 
[2026-08-01 05:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaa6cb28012d7b470005fa42b8000c01402b..."} 
[2026-08-01 05:39:38] local.INFO: Processing buffer {"connection_id":147062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaa6cb28012d7b470005fa42b8000c01402b..."} 
[2026-08-01 05:39:38] local.INFO: Packet analysis {"connection_id":147062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaa6"} 
[2026-08-01 05:39:38] local.INFO: Extracted packet for processing {"connection_id":147062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaa6"} 
[2026-08-01 05:39:38] local.INFO: GPS Element Parsed {"raw_longitude":763053824,"raw_latitude":100287160,"longitude_deg":76.3053824,"latitude_deg":10.028716,"altitude":12,"angle":320,"satellites":43,"speed":16,"hex_longitude":"2d7b4700","hex_latitude":"05fa42b8","is_valid_coordinates":true} 
[2026-08-01 05:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 05:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098987008001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365414383024603136,"note":"Value kept but may cause issues"} 
[2026-08-01 05:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883913240614940672,"note":"Value kept but may cause issues"} 
[2026-08-01 05:39:38] 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-08-01 05:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785542921000,"timestamp_ms":1785542921000,"timestamp_seconds":1785542921,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaa6cb28"} 
[2026-08-01 05:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:39: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-08-01 05:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-01 05:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 05:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 05:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":147062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":147062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":147062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098987008001,"66":27234,"29":206,"8":65024,"24":16,"16":365414383024603136,"45":8883913240614940672},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,8,24,16,45]} 
[2026-08-01 05:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098987008001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:39:38] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-01 05:39:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-08-01 05:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365414383024603136,"km_value":365414383024603.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883913240614940672,"description":"Unknown IO ID 45"} 
[2026-08-01 05:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098987008001,"power":27234,"unknown_29":206,"unknown_8":65024,"ignition":16,"odometer":null,"unknown_45":8883913240614940672}} 
[2026-08-01 05:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":147062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:39:38] local.INFO: GPS data processed {"connection_id":147062,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:39:38] local.INFO: Acknowledgment sent {"connection_id":147062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:40:01] local.INFO: TCP Data received {"connection_id":146045,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:40:01] local.INFO: Processing buffer {"connection_id":146045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:40:01] local.INFO: IMEI packet received {"connection_id":146045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":146045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:40:07] local.INFO: TCP Data received {"connection_id":146045,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:40:07] local.INFO: Processing buffer {"connection_id":146045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:40:07] local.INFO: IMEI packet received {"connection_id":146045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":146045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:40:07] local.INFO: TCP Data received {"connection_id":146045,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaa6dac8012d7b438005fa47f8000c014f2d..."} 
[2026-08-01 05:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaa6dac8012d7b438005fa47f8000c014f2d..."} 
[2026-08-01 05:40:07] local.INFO: Processing buffer {"connection_id":146045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaa6dac8012d7b438005fa47f8000c014f2d..."} 
[2026-08-01 05:40:07] local.INFO: Packet analysis {"connection_id":146045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaa6"} 
[2026-08-01 05:40:07] local.INFO: Extracted packet for processing {"connection_id":146045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaa6"} 
[2026-08-01 05:40:07] local.INFO: GPS Element Parsed {"raw_longitude":763052928,"raw_latitude":100288504,"longitude_deg":76.3052928,"latitude_deg":10.0288504,"altitude":12,"angle":335,"satellites":45,"speed":16,"hex_longitude":"2d7b4380","hex_latitude":"05fa47f8","is_valid_coordinates":true} 
[2026-08-01 05:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 05:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098987776001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365414464628981760,"note":"Value kept but may cause issues"} 
[2026-08-01 05:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883068815685105664,"note":"Value kept but may cause issues"} 
[2026-08-01 05:40:07] 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-08-01 05:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785542925000,"timestamp_ms":1785542925000,"timestamp_seconds":1785542925,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaa6dac8"} 
[2026-08-01 05:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:40: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-08-01 05:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-01 05:40: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-08-01 05:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 05:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098987776001,"66":27343,"188":206,"8":65024,"24":16,"16":365414464628981760,"45":8883068815685105664},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,8,24,16,45]} 
[2026-08-01 05:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098987776001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:40:07] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-01 05:40:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-08-01 05:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365414464628981760,"km_value":365414464628981.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883068815685105664,"description":"Unknown IO ID 45"} 
[2026-08-01 05:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098987776001,"power":27343,"unknown_188":206,"unknown_8":65024,"ignition":16,"odometer":null,"unknown_45":8883068815685105664}} 
[2026-08-01 05:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":146045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:40:07] local.INFO: GPS data processed {"connection_id":146045,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:40:07] local.INFO: Acknowledgment sent {"connection_id":146045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:40:39] local.INFO: TCP Data received {"connection_id":146045,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaa6e680012d7b418005fa4cf0000c015b2c..."} 
[2026-08-01 05:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaa6e680012d7b418005fa4cf0000c015b2c..."} 
[2026-08-01 05:40:39] local.INFO: Processing buffer {"connection_id":146045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaa6e680012d7b418005fa4cf0000c015b2c..."} 
[2026-08-01 05:40:39] local.INFO: Packet analysis {"connection_id":146045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaa6"} 
[2026-08-01 05:40:39] local.INFO: Extracted packet for processing {"connection_id":146045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaa6"} 
[2026-08-01 05:40:39] local.INFO: GPS Element Parsed {"raw_longitude":763052416,"raw_latitude":100289776,"longitude_deg":76.3052416,"latitude_deg":10.0289776,"altitude":12,"angle":347,"satellites":44,"speed":19,"hex_longitude":"2d7b4180","hex_latitude":"05fa4cf0","is_valid_coordinates":true} 
[2026-08-01 05:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 05:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098988800001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365414529053491200,"note":"Value kept but may cause issues"} 
[2026-08-01 05:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882083653266962432,"note":"Value kept but may cause issues"} 
[2026-08-01 05:40:39] 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-08-01 05:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785542928000,"timestamp_ms":1785542928000,"timestamp_seconds":1785542928,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaa6e680"} 
[2026-08-01 05:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:40: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-08-01 05:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-01 05:40:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 05:40:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 05:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098988800001,"66":27376,"188":206,"8":65024,"24":19,"16":365414529053491200,"45":8882083653266962432},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,8,24,16,45]} 
[2026-08-01 05:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098988800001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:40:39] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-01 05:40:39] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-08-01 05:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365414529053491200,"km_value":365414529053491.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882083653266962432,"description":"Unknown IO ID 45"} 
[2026-08-01 05:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098988800001,"power":27376,"unknown_188":206,"unknown_8":65024,"ignition":19,"odometer":null,"unknown_45":8882083653266962432}} 
[2026-08-01 05:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":146045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:40:39] local.INFO: GPS data processed {"connection_id":146045,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:40:39] local.INFO: Acknowledgment sent {"connection_id":146045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:41:02] local.INFO: TCP Data received {"connection_id":147063,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:41:02] local.INFO: Processing buffer {"connection_id":147063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:41:02] local.INFO: IMEI packet received {"connection_id":147063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":147063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:41:02] local.INFO: TCP Data received {"connection_id":147063,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:41:02] local.INFO: Processing buffer {"connection_id":147063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:41:02] local.INFO: IMEI packet received {"connection_id":147063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":147063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:41:03] local.INFO: TCP Data received {"connection_id":147063,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaa71178012d7b3d8005fa6150000b000328..."} 
[2026-08-01 05:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaa71178012d7b3d8005fa6150000b000328..."} 
[2026-08-01 05:41:03] local.INFO: Processing buffer {"connection_id":147063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaa71178012d7b3d8005fa6150000b000328..."} 
[2026-08-01 05:41:03] local.INFO: Packet analysis {"connection_id":147063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaa7"} 
[2026-08-01 05:41:03] local.INFO: Extracted packet for processing {"connection_id":147063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaa7"} 
[2026-08-01 05:41:03] local.INFO: GPS Element Parsed {"raw_longitude":763051392,"raw_latitude":100294992,"longitude_deg":76.3051392,"latitude_deg":10.0294992,"altitude":11,"angle":3,"satellites":40,"speed":20,"hex_longitude":"2d7b3d80","hex_latitude":"05fa6150","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098989568001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365414786751528960,"note":"Value kept but may cause issues"} 
[2026-08-01 05:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881520703313866752,"note":"Value kept but may cause issues"} 
[2026-08-01 05:41:03] 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-08-01 05:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785542939000,"timestamp_ms":1785542939000,"timestamp_seconds":1785542939,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaa71178"} 
[2026-08-01 05:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05: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-08-01 05: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-01 05:41:03] 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-08-01 05: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-08-01 05:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098989568001,"66":27180,"188":206,"8":65024,"24":20,"16":365414786751528960,"45":8881520703313866752},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,8,24,16,45]} 
[2026-08-01 05:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098989568001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:41:03] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-01 05:41:03] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-08-01 05:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365414786751528960,"km_value":365414786751528.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881520703313866752,"description":"Unknown IO ID 45"} 
[2026-08-01 05:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098989568001,"power":27180,"unknown_188":206,"unknown_8":65024,"ignition":20,"odometer":null,"unknown_45":8881520703313866752}} 
[2026-08-01 05:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":147063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:41:03] local.INFO: GPS data processed {"connection_id":147063,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:41:03] local.INFO: Acknowledgment sent {"connection_id":147063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:41:07] local.INFO: TCP Data received {"connection_id":147063,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaa728e8012d7b3f8005fa6c70000901602b..."} 
[2026-08-01 05:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaa728e8012d7b3f8005fa6c70000901602b..."} 
[2026-08-01 05:41:07] local.INFO: Processing buffer {"connection_id":147063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaa728e8012d7b3f8005fa6c70000901602b..."} 
[2026-08-01 05:41:07] local.INFO: Packet analysis {"connection_id":147063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaa7"} 
[2026-08-01 05:41:07] local.INFO: Extracted packet for processing {"connection_id":147063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaa7"} 
[2026-08-01 05:41:07] local.INFO: GPS Element Parsed {"raw_longitude":763051904,"raw_latitude":100297840,"longitude_deg":76.3051904,"latitude_deg":10.029784,"altitude":9,"angle":352,"satellites":43,"speed":19,"hex_longitude":"2d7b3f80","hex_latitude":"05fa6c70","is_valid_coordinates":true} 
[2026-08-01 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-08-01 05:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098992384001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365414928485449728,"note":"Value kept but may cause issues"} 
[2026-08-01 05:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880394803408359424,"note":"Value kept but may cause issues"} 
[2026-08-01 05:41:07] 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-08-01 05:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785542945000,"timestamp_ms":1785542945000,"timestamp_seconds":1785542945,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaa728e8"} 
[2026-08-01 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-08-01 05:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":44,"data_length":795,"current_offset":136} 
[2026-08-01 05:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 05:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":147063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":147063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":147063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098992384001,"66":27213,"188":206,"8":65024,"24":19,"16":365414928485449728,"45":8880394803408359424},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,8,24,16,45]} 
[2026-08-01 05:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098992384001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:41:07] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-01 05:41:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-08-01 05:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365414928485449728,"km_value":365414928485449.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880394803408359424,"description":"Unknown IO ID 45"} 
[2026-08-01 05:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098992384001,"power":27213,"unknown_188":206,"unknown_8":65024,"ignition":19,"odometer":null,"unknown_45":8880394803408359424}} 
[2026-08-01 05:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":147063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:41:07] local.INFO: GPS data processed {"connection_id":147063,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:41:07] local.INFO: Acknowledgment sent {"connection_id":147063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:41:38] local.INFO: TCP Data received {"connection_id":147063,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaa76380012d7b37c005fa8e48000b015725..."} 
[2026-08-01 05:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaa76380012d7b37c005fa8e48000b015725..."} 
[2026-08-01 05:41:38] local.INFO: Processing buffer {"connection_id":147063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaa76380012d7b37c005fa8e48000b015725..."} 
[2026-08-01 05:41:38] local.INFO: Packet analysis {"connection_id":147063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaa7"} 
[2026-08-01 05:41:38] local.INFO: Extracted packet for processing {"connection_id":147063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaa7"} 
[2026-08-01 05:41:38] local.INFO: GPS Element Parsed {"raw_longitude":763049920,"raw_latitude":100306504,"longitude_deg":76.304992,"latitude_deg":10.0306504,"altitude":11,"angle":343,"satellites":37,"speed":28,"hex_longitude":"2d7b37c0","hex_latitude":"05fa8e48","is_valid_coordinates":true} 
[2026-08-01 05:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 05:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098993920001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365415362277146624,"note":"Value kept but may cause issues"} 
[2026-08-01 05:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880957753362509824,"note":"Value kept but may cause issues"} 
[2026-08-01 05:41:38] 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-08-01 05:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785542960000,"timestamp_ms":1785542960000,"timestamp_seconds":1785542960,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaa76380"} 
[2026-08-01 05:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:41: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-08-01 05:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-01 05:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 05:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 05:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":147063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":147063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":147063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098993920001,"66":27310,"188":206,"8":65024,"24":28,"16":365415362277146624,"45":8880957753362509824},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,8,24,16,45]} 
[2026-08-01 05:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098993920001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:41:38] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-01 05:41:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-08-01 05:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365415362277146624,"km_value":365415362277146.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880957753362509824,"description":"Unknown IO ID 45"} 
[2026-08-01 05:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098993920001,"power":27310,"unknown_188":206,"unknown_8":65024,"ignition":28,"odometer":null,"unknown_45":8880957753362509824}} 
[2026-08-01 05:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":147063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:41:38] local.INFO: GPS data processed {"connection_id":147063,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:41:38] local.INFO: Acknowledgment sent {"connection_id":147063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:41:57] local.INFO: TCP Data received {"connection_id":148382,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:41:57] local.INFO: Processing buffer {"connection_id":148382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:41:57] local.INFO: IMEI packet received {"connection_id":148382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":148382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:42:02] local.INFO: TCP Data received {"connection_id":148382,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:42:02] local.INFO: Processing buffer {"connection_id":148382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:42:02] local.INFO: IMEI packet received {"connection_id":148382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":148382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:42:03] local.INFO: TCP Data received {"connection_id":148382,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaa79260012d7b2e8005fab230000d015726..."} 
[2026-08-01 05:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaa79260012d7b2e8005fab230000d015726..."} 
[2026-08-01 05:42:03] local.INFO: Processing buffer {"connection_id":148382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaa79260012d7b2e8005fab230000d015726..."} 
[2026-08-01 05:42:03] local.INFO: Packet analysis {"connection_id":148382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaa7"} 
[2026-08-01 05:42:03] local.INFO: Extracted packet for processing {"connection_id":148382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaa7"} 
[2026-08-01 05:42:03] local.INFO: GPS Element Parsed {"raw_longitude":763047552,"raw_latitude":100315696,"longitude_deg":76.3047552,"latitude_deg":10.0315696,"altitude":13,"angle":343,"satellites":38,"speed":31,"hex_longitude":"2d7b2e80","hex_latitude":"05fab230","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457098997760001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365415821838647296,"note":"Value kept but may cause issues"} 
[2026-08-01 05:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878776322295220224,"note":"Value kept but may cause issues"} 
[2026-08-01 05:42:03] 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-08-01 05:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785542972000,"timestamp_ms":1785542972000,"timestamp_seconds":1785542972,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaa79260"} 
[2026-08-01 05:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:42: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-08-01 05: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":174,"data_length":795,"current_offset":136} 
[2026-08-01 05:42: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-08-01 05: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-08-01 05:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457098997760001,"66":27267,"188":206,"8":65024,"24":31,"16":365415821838647296,"45":8878776322295220224},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,8,24,16,45]} 
[2026-08-01 05:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457098997760001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:42:03] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-01 05:42:03] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-08-01 05:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365415821838647296,"km_value":365415821838647.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878776322295220224,"description":"Unknown IO ID 45"} 
[2026-08-01 05:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457098997760001,"power":27267,"unknown_188":206,"unknown_8":65024,"ignition":31,"odometer":null,"unknown_45":8878776322295220224}} 
[2026-08-01 05:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":148382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:42:03] local.INFO: GPS data processed {"connection_id":148382,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:42:03] local.INFO: Acknowledgment sent {"connection_id":148382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:42:03] local.INFO: TCP Data received {"connection_id":148382,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaa7c140012d7b228005fad478000f01542a..."} 
[2026-08-01 05:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaa7c140012d7b228005fad478000f01542a..."} 
[2026-08-01 05:42:03] local.INFO: Processing buffer {"connection_id":148382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaa7c140012d7b228005fad478000f01542a..."} 
[2026-08-01 05:42:03] local.INFO: Packet analysis {"connection_id":148382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaa7"} 
[2026-08-01 05:42:03] local.INFO: Extracted packet for processing {"connection_id":148382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaa7"} 
[2026-08-01 05:42:03] local.INFO: GPS Element Parsed {"raw_longitude":763044480,"raw_latitude":100324472,"longitude_deg":76.304448,"latitude_deg":10.0324472,"altitude":15,"angle":340,"satellites":42,"speed":30,"hex_longitude":"2d7b2280","hex_latitude":"05fad478","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099000832001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365416268515246080,"note":"Value kept but may cause issues"} 
[2026-08-01 05:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876172678762999808,"note":"Value kept but may cause issues"} 
[2026-08-01 05:42:03] 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-08-01 05:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785542984000,"timestamp_ms":1785542984000,"timestamp_seconds":1785542984,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaa7c140"} 
[2026-08-01 05:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:42: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-08-01 05: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":131,"data_length":795,"current_offset":136} 
[2026-08-01 05:42:03] 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-08-01 05: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-08-01 05:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099000832001,"66":27365,"188":206,"8":65024,"24":30,"16":365416268515246080,"45":8876172678762999808},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,8,24,16,45]} 
[2026-08-01 05:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099000832001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:42:03] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-01 05:42:03] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-08-01 05:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365416268515246080,"km_value":365416268515246.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876172678762999808,"description":"Unknown IO ID 45"} 
[2026-08-01 05:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099000832001,"power":27365,"unknown_188":206,"unknown_8":65024,"ignition":30,"odometer":null,"unknown_45":8876172678762999808}} 
[2026-08-01 05:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":148382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:42:04] local.INFO: GPS data processed {"connection_id":148382,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:42:04] local.INFO: Acknowledgment sent {"connection_id":148382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:42:35] local.INFO: TCP Data received {"connection_id":148382,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaa7f020012d7b144005faf5a00012014d2e..."} 
[2026-08-01 05:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaa7f020012d7b144005faf5a00012014d2e..."} 
[2026-08-01 05:42:35] local.INFO: Processing buffer {"connection_id":148382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaa7f020012d7b144005faf5a00012014d2e..."} 
[2026-08-01 05:42:35] local.INFO: Packet analysis {"connection_id":148382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaa7"} 
[2026-08-01 05:42:35] local.INFO: Extracted packet for processing {"connection_id":148382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaa7"} 
[2026-08-01 05:42:35] local.INFO: GPS Element Parsed {"raw_longitude":763040832,"raw_latitude":100332960,"longitude_deg":76.3040832,"latitude_deg":10.033296,"altitude":18,"angle":333,"satellites":46,"speed":30,"hex_longitude":"2d7b1440","hex_latitude":"05faf5a0","is_valid_coordinates":true} 
[2026-08-01 05:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 05:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099003904001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365416719486812160,"note":"Value kept but may cause issues"} 
[2026-08-01 05:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872794979044718592,"note":"Value kept but may cause issues"} 
[2026-08-01 05:42:35] 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-08-01 05:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785542996000,"timestamp_ms":1785542996000,"timestamp_seconds":1785542996,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaa7f020"} 
[2026-08-01 05:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 05:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-01 05:42: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-08-01 05:42:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 05:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099003904001,"66":27397,"188":206,"8":65024,"24":30,"16":365416719486812160,"45":8872794979044718592},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,8,24,16,45]} 
[2026-08-01 05:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099003904001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:42:35] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-01 05:42:35] local.INFO: Unknown IO ID detected {"io_id":8,"value":65024,"description":"Unknown IO ID 8"} 
[2026-08-01 05:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365416719486812160,"km_value":365416719486812.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872794979044718592,"description":"Unknown IO ID 45"} 
[2026-08-01 05:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099003904001,"power":27397,"unknown_188":206,"unknown_8":65024,"ignition":30,"odometer":null,"unknown_45":8872794979044718592}} 
[2026-08-01 05:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":148382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:42:35] local.INFO: GPS data processed {"connection_id":148382,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:42:35] local.INFO: Acknowledgment sent {"connection_id":148382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:42:54] local.INFO: TCP Data received {"connection_id":146046,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:42:54] local.INFO: Processing buffer {"connection_id":146046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:42:54] local.INFO: IMEI packet received {"connection_id":146046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":146046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:43:09] local.INFO: TCP Data received {"connection_id":146046,"ip":"117.224.167.108","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 05:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146046,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 05:43:09] local.INFO: Processing buffer {"connection_id":146046,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 05:43:09] local.INFO: IMEI packet received {"connection_id":146046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":146046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:48:15] local.INFO: TCP Data received {"connection_id":146048,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:48:15] local.INFO: Processing buffer {"connection_id":146048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:48:15] local.INFO: IMEI packet received {"connection_id":146048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":146048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:48:48] local.INFO: TCP Data received {"connection_id":146048,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaae9b28012d78b88005ff3778000c01352b..."} 
[2026-08-01 05:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaae9b28012d78b88005ff3778000c01352b..."} 
[2026-08-01 05:48:48] local.INFO: Processing buffer {"connection_id":146048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaae9b28012d78b88005ff3778000c01352b..."} 
[2026-08-01 05:48:48] local.INFO: Packet analysis {"connection_id":146048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaae"} 
[2026-08-01 05:48:48] local.INFO: Extracted packet for processing {"connection_id":146048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaae"} 
[2026-08-01 05:48:48] local.INFO: GPS Element Parsed {"raw_longitude":762886272,"raw_latitude":100611960,"longitude_deg":76.2886272,"latitude_deg":10.061196,"altitude":12,"angle":309,"satellites":43,"speed":13,"hex_longitude":"2d78b880","hex_latitude":"05ff3778","is_valid_coordinates":true} 
[2026-08-01 05:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 05:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099116032001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365432215728816128,"note":"Value kept but may cause issues"} 
[2026-08-01 05:48:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8702643355695388672,"note":"Value kept but may cause issues"} 
[2026-08-01 05:48:48] 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-08-01 05:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785543433000,"timestamp_ms":1785543433000,"timestamp_seconds":1785543433,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaae9b28"} 
[2026-08-01 05:48:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:48:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 05:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-01 05:48:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 05:48:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 05:48:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:48:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099116032001,"66":27321,"224":206,"8":65280,"24":13,"16":365432215728816128,"45":8702643355695388672},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,8,24,16,45]} 
[2026-08-01 05:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099116032001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:48:48] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-08-01 05:48:48] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 05:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365432215728816128,"km_value":365432215728816.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:48:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8702643355695388672,"description":"Unknown IO ID 45"} 
[2026-08-01 05:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099116032001,"power":27321,"unknown_224":206,"unknown_8":65280,"ignition":13,"odometer":null,"unknown_45":8702643355695388672}} 
[2026-08-01 05:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":146048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:48:48] local.INFO: GPS data processed {"connection_id":146048,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:48:48] local.INFO: Acknowledgment sent {"connection_id":146048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:48:57] local.INFO: TCP Data received {"connection_id":148384,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:48:57] local.INFO: Processing buffer {"connection_id":148384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:48:57] local.INFO: IMEI packet received {"connection_id":148384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":148384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:49:00] local.INFO: TCP Data received {"connection_id":148384,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:49:00] local.INFO: Processing buffer {"connection_id":148384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:49:00] local.INFO: IMEI packet received {"connection_id":148384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":148384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:49:02] local.INFO: TCP Data received {"connection_id":148384,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaaef500012d78aa0005ff4e08000b01602e..."} 
[2026-08-01 05:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaaef500012d78aa0005ff4e08000b01602e..."} 
[2026-08-01 05:49:02] local.INFO: Processing buffer {"connection_id":148384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaaef500012d78aa0005ff4e08000b01602e..."} 
[2026-08-01 05:49:02] local.INFO: Packet analysis {"connection_id":148384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaae"} 
[2026-08-01 05:49:02] local.INFO: Extracted packet for processing {"connection_id":148384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaae"} 
[2026-08-01 05:49:02] local.INFO: GPS Element Parsed {"raw_longitude":762882560,"raw_latitude":100617736,"longitude_deg":76.288256,"latitude_deg":10.0617736,"altitude":11,"angle":352,"satellites":46,"speed":19,"hex_longitude":"2d78aa00","hex_latitude":"05ff4e08","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099124224001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365432645225545728,"note":"Value kept but may cause issues"} 
[2026-08-01 05:49:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8694832425094232064,"note":"Value kept but may cause issues"} 
[2026-08-01 05:49:02] 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-08-01 05:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785543456000,"timestamp_ms":1785543456000,"timestamp_seconds":1785543456,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaaef500"} 
[2026-08-01 05:49:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:49: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-08-01 05: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-01 05:49: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-08-01 05: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-08-01 05:49:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":148384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":148384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":148384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:49:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099124224001,"66":27343,"224":206,"8":65280,"24":19,"16":365432645225545728,"45":8694832425094232064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,8,24,16,45]} 
[2026-08-01 05:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099124224001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:49:02] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-08-01 05:49:02] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 05:49:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365432645225545728,"km_value":365432645225545.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:49:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8694832425094232064,"description":"Unknown IO ID 45"} 
[2026-08-01 05:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099124224001,"power":27343,"unknown_224":206,"unknown_8":65280,"ignition":19,"odometer":null,"unknown_45":8694832425094232064}} 
[2026-08-01 05:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":148384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:49:02] local.INFO: GPS data processed {"connection_id":148384,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:49:02] local.INFO: Acknowledgment sent {"connection_id":148384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:49:35] local.INFO: TCP Data received {"connection_id":148384,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaaf1058012d78a5c005ff5ca0000c01542c..."} 
[2026-08-01 05:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaaf1058012d78a5c005ff5ca0000c01542c..."} 
[2026-08-01 05:49:35] local.INFO: Processing buffer {"connection_id":148384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaaf1058012d78a5c005ff5ca0000c01542c..."} 
[2026-08-01 05:49:35] local.INFO: Packet analysis {"connection_id":148384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaaf"} 
[2026-08-01 05:49:35] local.INFO: Extracted packet for processing {"connection_id":148384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaaf"} 
[2026-08-01 05:49:35] local.INFO: GPS Element Parsed {"raw_longitude":762881472,"raw_latitude":100621472,"longitude_deg":76.2881472,"latitude_deg":10.0621472,"altitude":12,"angle":340,"satellites":44,"speed":23,"hex_longitude":"2d78a5c0","hex_latitude":"05ff5ca0","is_valid_coordinates":true} 
[2026-08-01 05:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 05:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099124736001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365432834204106752,"note":"Value kept but may cause issues"} 
[2026-08-01 05:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8694762056350304256,"note":"Value kept but may cause issues"} 
[2026-08-01 05:49:35] 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-08-01 05:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785543463000,"timestamp_ms":1785543463000,"timestamp_seconds":1785543463,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaaf1058"} 
[2026-08-01 05:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 05:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-01 05:49:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 05:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 05:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099124736001,"66":27321,"224":206,"8":65280,"24":23,"16":365432834204106752,"45":8694762056350304256},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,8,24,16,45]} 
[2026-08-01 05:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099124736001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:49:35] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-08-01 05:49:35] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 05:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365432834204106752,"km_value":365432834204106.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8694762056350304256,"description":"Unknown IO ID 45"} 
[2026-08-01 05:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099124736001,"power":27321,"unknown_224":206,"unknown_8":65280,"ignition":23,"odometer":null,"unknown_45":8694762056350304256}} 
[2026-08-01 05:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":148384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:49:35] local.INFO: GPS data processed {"connection_id":148384,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:49:35] local.INFO: Acknowledgment sent {"connection_id":148384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:49:56] local.INFO: TCP Data received {"connection_id":146049,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:49:56] local.INFO: Processing buffer {"connection_id":146049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:49:56] local.INFO: IMEI packet received {"connection_id":146049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":146049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:49:57] local.INFO: TCP Data received {"connection_id":146049,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:49:57] local.INFO: Processing buffer {"connection_id":146049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:49:57] local.INFO: IMEI packet received {"connection_id":146049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":146049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:50:02] local.INFO: TCP Data received {"connection_id":146049,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:50:02] local.INFO: Processing buffer {"connection_id":146049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:50:02] local.INFO: IMEI packet received {"connection_id":146049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":146049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:50:04] local.INFO: TCP Data received {"connection_id":146049,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaaf4af0012d789ac005ff7f88000c01552b..."} 
[2026-08-01 05:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaaf4af0012d789ac005ff7f88000c01552b..."} 
[2026-08-01 05:50:04] local.INFO: Processing buffer {"connection_id":146049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaaf4af0012d789ac005ff7f88000c01552b..."} 
[2026-08-01 05:50:04] local.INFO: Packet analysis {"connection_id":146049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaaf"} 
[2026-08-01 05:50:04] local.INFO: Extracted packet for processing {"connection_id":146049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaaf"} 
[2026-08-01 05:50:04] local.INFO: GPS Element Parsed {"raw_longitude":762878656,"raw_latitude":100630408,"longitude_deg":76.2878656,"latitude_deg":10.0630408,"altitude":12,"angle":341,"satellites":43,"speed":26,"hex_longitude":"2d789ac0","hex_latitude":"05ff7f88","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099126528001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365433289470640128,"note":"Value kept but may cause issues"} 
[2026-08-01 05:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8693565787700240384,"note":"Value kept but may cause issues"} 
[2026-08-01 05:50:04] 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-08-01 05:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785543478000,"timestamp_ms":1785543478000,"timestamp_seconds":1785543478,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaaf4af0"} 
[2026-08-01 05:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 05:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-01 05:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 05:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 05:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099126528001,"66":26984,"224":206,"8":65280,"24":26,"16":365433289470640128,"45":8693565787700240384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,8,24,16,45]} 
[2026-08-01 05:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099126528001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:50:04] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-08-01 05:50:04] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 05:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365433289470640128,"km_value":365433289470640.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8693565787700240384,"description":"Unknown IO ID 45"} 
[2026-08-01 05:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099126528001,"power":26984,"unknown_224":206,"unknown_8":65280,"ignition":26,"odometer":null,"unknown_45":8693565787700240384}} 
[2026-08-01 05:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":146049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:50:04] local.INFO: GPS data processed {"connection_id":146049,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:50:04] local.INFO: Acknowledgment sent {"connection_id":146049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:50:57] local.INFO: TCP Data received {"connection_id":146049,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaaf79d0012d78914005ffa1b0000c015c2c..."} 
[2026-08-01 05:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaaf79d0012d78914005ffa1b0000c015c2c..."} 
[2026-08-01 05:50:57] local.INFO: Processing buffer {"connection_id":146049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaaf79d0012d78914005ffa1b0000c015c2c..."} 
[2026-08-01 05:50:57] local.INFO: Packet analysis {"connection_id":146049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaaf"} 
[2026-08-01 05:50:57] local.INFO: Extracted packet for processing {"connection_id":146049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaaf"} 
[2026-08-01 05:50:57] local.INFO: GPS Element Parsed {"raw_longitude":762876224,"raw_latitude":100639152,"longitude_deg":76.2876224,"latitude_deg":10.0639152,"altitude":12,"angle":348,"satellites":44,"speed":31,"hex_longitude":"2d789140","hex_latitude":"05ffa1b0","is_valid_coordinates":true} 
[2026-08-01 05:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 05:50:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099130368001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:50:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365433727557304320,"note":"Value kept but may cause issues"} 
[2026-08-01 05:50:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8690469562958710784,"note":"Value kept but may cause issues"} 
[2026-08-01 05:50:57] 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-08-01 05:50:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785543490000,"timestamp_ms":1785543490000,"timestamp_seconds":1785543490,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaaf79d0"} 
[2026-08-01 05:50:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:50: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-08-01 05:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-01 05:50:57] 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-08-01 05:50:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 05:50:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:50:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:50:57] local.INFO: Teltonika packet parsed successfully {"connection_id":146049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:50:57] local.INFO: Passing IMEI to GPS processor {"connection_id":146049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:50:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":146049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:50:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:50:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:50:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:50:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099130368001,"66":27289,"210":206,"8":65280,"24":31,"16":365433727557304320,"45":8690469562958710784},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,8,24,16,45]} 
[2026-08-01 05:50:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:50:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:50:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099130368001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:50:57] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-08-01 05:50:57] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 05:50:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365433727557304320,"km_value":365433727557304.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:50:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8690469562958710784,"description":"Unknown IO ID 45"} 
[2026-08-01 05:50:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099130368001,"power":27289,"unknown_210":206,"unknown_8":65280,"ignition":31,"odometer":null,"unknown_45":8690469562958710784}} 
[2026-08-01 05:50:57] local.INFO: DEBUG: GPS processor result {"connection_id":146049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:50:57] local.INFO: GPS data processed {"connection_id":146049,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:50:57] local.INFO: Acknowledgment sent {"connection_id":146049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:51:01] local.INFO: TCP Data received {"connection_id":145858,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:51:01] local.INFO: Processing buffer {"connection_id":145858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:51:01] local.INFO: IMEI packet received {"connection_id":145858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":145858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:51:09] local.INFO: TCP Data received {"connection_id":145858,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:51:09] local.INFO: Processing buffer {"connection_id":145858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:51:09] local.INFO: IMEI packet received {"connection_id":145858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":145858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:51:26] local.INFO: TCP Data received {"connection_id":145858,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaafa4c8012d788b8005ffc4a8000b01602c..."} 
[2026-08-01 05:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaafa4c8012d788b8005ffc4a8000b01602c..."} 
[2026-08-01 05:51:26] local.INFO: Processing buffer {"connection_id":145858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaafa4c8012d788b8005ffc4a8000b01602c..."} 
[2026-08-01 05:51:26] local.INFO: Packet analysis {"connection_id":145858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaaf"} 
[2026-08-01 05:51:26] local.INFO: Extracted packet for processing {"connection_id":145858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaaf"} 
[2026-08-01 05:51:26] local.INFO: GPS Element Parsed {"raw_longitude":762874752,"raw_latitude":100648104,"longitude_deg":76.2874752,"latitude_deg":10.0648104,"altitude":11,"angle":352,"satellites":44,"speed":34,"hex_longitude":"2d788b80","hex_latitude":"05ffc4a8","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099133440001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365434169938935808,"note":"Value kept but may cause issues"} 
[2026-08-01 05:51:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8687795550682198016,"note":"Value kept but may cause issues"} 
[2026-08-01 05:51:26] 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-08-01 05:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785543501000,"timestamp_ms":1785543501000,"timestamp_seconds":1785543501,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaafa4c8"} 
[2026-08-01 05:51:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:51:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 05: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":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-01 05:51:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 05: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-08-01 05:51:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":145858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":145858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":145858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:51:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099133440001,"66":26658,"210":206,"8":65280,"24":34,"16":365434169938935808,"45":8687795550682198016},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,8,24,16,45]} 
[2026-08-01 05:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099133440001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:51:26] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-08-01 05:51:26] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 05:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365434169938935808,"km_value":365434169938935.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:51:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8687795550682198016,"description":"Unknown IO ID 45"} 
[2026-08-01 05:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099133440001,"power":26658,"unknown_210":206,"unknown_8":65280,"ignition":34,"odometer":null,"unknown_45":8687795550682198016}} 
[2026-08-01 05:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":145858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:51:26] local.INFO: GPS data processed {"connection_id":145858,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:51:26] local.INFO: Acknowledgment sent {"connection_id":145858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:51:56] local.INFO: TCP Data received {"connection_id":146050,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:51:56] local.INFO: Processing buffer {"connection_id":146050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:51:56] local.INFO: IMEI packet received {"connection_id":146050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":146050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:52:02] local.INFO: TCP Data received {"connection_id":146050,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:52:02] local.INFO: Processing buffer {"connection_id":146050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:52:02] local.INFO: IMEI packet received {"connection_id":146050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":146050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:52:03] local.INFO: TCP Data received {"connection_id":146050,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbab1c3c0012d7785c006011008001201382e..."} 
[2026-08-01 05:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbab1c3c0012d7785c006011008001201382e..."} 
[2026-08-01 05:52:03] local.INFO: Processing buffer {"connection_id":146050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbab1c3c0012d7785c006011008001201382e..."} 
[2026-08-01 05:52:03] local.INFO: Packet analysis {"connection_id":146050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbab1"} 
[2026-08-01 05:52:03] local.INFO: Extracted packet for processing {"connection_id":146050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbab1"} 
[2026-08-01 05:52:03] local.INFO: GPS Element Parsed {"raw_longitude":762807744,"raw_latitude":100732936,"longitude_deg":76.2807744,"latitude_deg":10.0732936,"altitude":18,"angle":312,"satellites":46,"speed":36,"hex_longitude":"2d7785c0","hex_latitude":"06011008","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099169280001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365439564417859584,"note":"Value kept but may cause issues"} 
[2026-08-01 05:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620171187549886464,"note":"Value kept but may cause issues"} 
[2026-08-01 05:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 05:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785543640000,"timestamp_ms":1785543640000,"timestamp_seconds":1785543640,"priority":1,"record_length":96,"hex_timestamp":"0000019fbab1c3c0"} 
[2026-08-01 05:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:52: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-08-01 05: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-01 05:52: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-08-01 05: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-08-01 05:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099169280001,"66":27180,"210":206,"8":65280,"24":36,"16":365439564417859584,"45":8620171187549886464},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,8,24,16,45]} 
[2026-08-01 05:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099169280001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:52:03] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-08-01 05:52:03] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 05:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365439564417859584,"km_value":365439564417859.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620171187549886464,"description":"Unknown IO ID 45"} 
[2026-08-01 05:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099169280001,"power":27180,"unknown_210":206,"unknown_8":65280,"ignition":36,"odometer":null,"unknown_45":8620171187549886464}} 
[2026-08-01 05:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":146050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:52:03] local.INFO: GPS data processed {"connection_id":146050,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:52:03] local.INFO: Acknowledgment sent {"connection_id":146050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:52:35] local.INFO: TCP Data received {"connection_id":146050,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbab1ead0012d776a8006012870001201372f..."} 
[2026-08-01 05:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbab1ead0012d776a8006012870001201372f..."} 
[2026-08-01 05:52:35] local.INFO: Processing buffer {"connection_id":146050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbab1ead0012d776a8006012870001201372f..."} 
[2026-08-01 05:52:35] local.INFO: Packet analysis {"connection_id":146050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbab1"} 
[2026-08-01 05:52:35] local.INFO: Extracted packet for processing {"connection_id":146050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbab1"} 
[2026-08-01 05:52:35] local.INFO: GPS Element Parsed {"raw_longitude":762800768,"raw_latitude":100739184,"longitude_deg":76.2800768,"latitude_deg":10.0739184,"altitude":18,"angle":311,"satellites":47,"speed":37,"hex_longitude":"2d776a80","hex_latitude":"06012870","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099171840001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365440015389425664,"note":"Value kept but may cause issues"} 
[2026-08-01 05:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8612500994436106240,"note":"Value kept but may cause issues"} 
[2026-08-01 05:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 05:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785543650000,"timestamp_ms":1785543650000,"timestamp_seconds":1785543650,"priority":1,"record_length":96,"hex_timestamp":"0000019fbab1ead0"} 
[2026-08-01 05:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:52: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-08-01 05:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-01 05:52: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-08-01 05: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-08-01 05:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099171840001,"66":27213,"163":206,"8":65280,"24":37,"16":365440015389425664,"45":8612500994436106240},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-08-01 05:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099171840001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:52:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:52:35] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 05:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365440015389425664,"km_value":365440015389425.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8612500994436106240,"description":"Unknown IO ID 45"} 
[2026-08-01 05:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099171840001,"power":27213,"unknown_163":206,"unknown_8":65280,"ignition":37,"odometer":null,"unknown_45":8612500994436106240}} 
[2026-08-01 05:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":146050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:52:36] local.INFO: GPS data processed {"connection_id":146050,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:52:36] local.INFO: Acknowledgment sent {"connection_id":146050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:53:03] local.INFO: TCP Data received {"connection_id":146051,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:53:03] local.INFO: Processing buffer {"connection_id":146051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:53:03] local.INFO: IMEI packet received {"connection_id":146051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":146051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:53:05] local.INFO: TCP Data received {"connection_id":146051,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:53:05] local.INFO: Processing buffer {"connection_id":146051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:53:05] local.INFO: IMEI packet received {"connection_id":146051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":146051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:53:06] local.INFO: TCP Data received {"connection_id":146051,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:53:06] local.INFO: Processing buffer {"connection_id":146051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:53:06] local.INFO: IMEI packet received {"connection_id":146051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":146051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:53:12] local.INFO: TCP Data received {"connection_id":146051,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:53:12] local.INFO: Processing buffer {"connection_id":146051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:53:12] local.INFO: IMEI packet received {"connection_id":146051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":146051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:53:12] local.INFO: TCP Data received {"connection_id":146051,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbab211e0012d774d80060141b80011013730..."} 
[2026-08-01 05:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbab211e0012d774d80060141b80011013730..."} 
[2026-08-01 05:53:12] local.INFO: Processing buffer {"connection_id":146051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbab211e0012d774d80060141b80011013730..."} 
[2026-08-01 05:53:12] local.INFO: Packet analysis {"connection_id":146051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbab2"} 
[2026-08-01 05:53:12] local.INFO: Extracted packet for processing {"connection_id":146051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbab2"} 
[2026-08-01 05:53:12] local.INFO: GPS Element Parsed {"raw_longitude":762793344,"raw_latitude":100745656,"longitude_deg":76.2793344,"latitude_deg":10.0745656,"altitude":17,"angle":311,"satellites":48,"speed":41,"hex_longitude":"2d774d80","hex_latitude":"060141b8","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099174400001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365440487835828224,"note":"Value kept but may cause issues"} 
[2026-08-01 05:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8604830801322340352,"note":"Value kept but may cause issues"} 
[2026-08-01 05:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 05:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785543660000,"timestamp_ms":1785543660000,"timestamp_seconds":1785543660,"priority":1,"record_length":96,"hex_timestamp":"0000019fbab211e0"} 
[2026-08-01 05:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 05:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-01 05:53:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 05: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-08-01 05:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":146051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":146051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":146051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099174400001,"66":27321,"163":206,"8":65280,"24":41,"16":365440487835828224,"45":8604830801322340352},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,8,24,16,45]} 
[2026-08-01 05:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099174400001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:53:12] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 05:53:12] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 05:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365440487835828224,"km_value":365440487835828.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8604830801322340352,"description":"Unknown IO ID 45"} 
[2026-08-01 05:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099174400001,"power":27321,"unknown_163":206,"unknown_8":65280,"ignition":41,"odometer":null,"unknown_45":8604830801322340352}} 
[2026-08-01 05:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":146051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:53:12] local.INFO: GPS data processed {"connection_id":146051,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:53:12] local.INFO: Acknowledgment sent {"connection_id":146051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:53:56] local.INFO: TCP Data received {"connection_id":145859,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:53:56] local.INFO: Processing buffer {"connection_id":145859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:53:56] local.INFO: IMEI packet received {"connection_id":145859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":145859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:53:57] local.INFO: TCP Data received {"connection_id":145859,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:53:57] local.INFO: Processing buffer {"connection_id":145859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:53:57] local.INFO: IMEI packet received {"connection_id":145859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":145859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:54:02] local.INFO: TCP Data received {"connection_id":145859,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:54:02] local.INFO: Processing buffer {"connection_id":145859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:54:02] local.INFO: IMEI packet received {"connection_id":145859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":145859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:54:02] local.INFO: TCP Data received {"connection_id":145859,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbab37d28012d764d4006021f180007011c30..."} 
[2026-08-01 05:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbab37d28012d764d4006021f180007011c30..."} 
[2026-08-01 05:54:02] local.INFO: Processing buffer {"connection_id":145859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbab37d28012d764d4006021f180007011c30..."} 
[2026-08-01 05:54:02] local.INFO: Packet analysis {"connection_id":145859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbab3"} 
[2026-08-01 05:54:02] local.INFO: Extracted packet for processing {"connection_id":145859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbab3"} 
[2026-08-01 05:54:02] local.INFO: GPS Element Parsed {"raw_longitude":762727744,"raw_latitude":100802328,"longitude_deg":76.2727744,"latitude_deg":10.0802328,"altitude":7,"angle":284,"satellites":48,"speed":18,"hex_longitude":"2d764d40","hex_latitude":"06021f18","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099199232001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365444692608811008,"note":"Value kept but may cause issues"} 
[2026-08-01 05:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8527143707766341632,"note":"Value kept but may cause issues"} 
[2026-08-01 05:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 05:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785543753000,"timestamp_ms":1785543753000,"timestamp_seconds":1785543753,"priority":1,"record_length":96,"hex_timestamp":"0000019fbab37d28"} 
[2026-08-01 05:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:54: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-08-01 05:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-01 05:54: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-08-01 05: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-08-01 05:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":145859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":145859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":145859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099199232001,"66":27234,"162":206,"8":65280,"24":18,"16":365444692608811008,"45":8527143707766341632},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,8,24,16,45]} 
[2026-08-01 05:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099199232001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:54:02] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-01 05:54:02] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 05:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365444692608811008,"km_value":365444692608811.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8527143707766341632,"description":"Unknown IO ID 45"} 
[2026-08-01 05:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099199232001,"power":27234,"unknown_162":206,"unknown_8":65280,"ignition":18,"odometer":null,"unknown_45":8527143707766341632}} 
[2026-08-01 05:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":145859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:54:02] local.INFO: GPS data processed {"connection_id":145859,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:54:02] local.INFO: Acknowledgment sent {"connection_id":145859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:54:34] local.INFO: TCP Data received {"connection_id":145859,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbab388e0012d764840060221400007012c30..."} 
[2026-08-01 05:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbab388e0012d764840060221400007012c30..."} 
[2026-08-01 05:54:34] local.INFO: Processing buffer {"connection_id":145859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbab388e0012d764840060221400007012c30..."} 
[2026-08-01 05:54:34] local.INFO: Packet analysis {"connection_id":145859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbab3"} 
[2026-08-01 05:54:34] local.INFO: Extracted packet for processing {"connection_id":145859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbab3"} 
[2026-08-01 05:54:34] local.INFO: GPS Element Parsed {"raw_longitude":762726464,"raw_latitude":100802880,"longitude_deg":76.2726464,"latitude_deg":10.080288,"altitude":7,"angle":300,"satellites":48,"speed":20,"hex_longitude":"2d764840","hex_latitude":"06022140","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099200768001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365444761328287744,"note":"Value kept but may cause issues"} 
[2026-08-01 05:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8524540064231790592,"note":"Value kept but may cause issues"} 
[2026-08-01 05:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 05:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785543756000,"timestamp_ms":1785543756000,"timestamp_seconds":1785543756,"priority":1,"record_length":96,"hex_timestamp":"0000019fbab388e0"} 
[2026-08-01 05:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:54: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-08-01 05: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-01 05:54: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-08-01 05: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-08-01 05:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099200768001,"66":27234,"162":206,"8":65280,"24":20,"16":365444761328287744,"45":8524540064231790592},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,8,24,16,45]} 
[2026-08-01 05:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099200768001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:54:34] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-01 05:54:34] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 05:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365444761328287744,"km_value":365444761328287.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8524540064231790592,"description":"Unknown IO ID 45"} 
[2026-08-01 05:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099200768001,"power":27234,"unknown_162":206,"unknown_8":65280,"ignition":20,"odometer":null,"unknown_45":8524540064231790592}} 
[2026-08-01 05:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":145859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:54:34] local.INFO: GPS data processed {"connection_id":145859,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:54:34] local.INFO: Acknowledgment sent {"connection_id":145859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:54:56] local.INFO: TCP Data received {"connection_id":146052,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:54:56] local.INFO: Processing buffer {"connection_id":146052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:54:56] local.INFO: IMEI packet received {"connection_id":146052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":146052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:55:01] local.INFO: TCP Data received {"connection_id":146052,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:55:01] local.INFO: Processing buffer {"connection_id":146052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:55:01] local.INFO: IMEI packet received {"connection_id":146052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":146052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:55:02] local.INFO: TCP Data received {"connection_id":146052,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbab3aff0012d76394006022cf00007013830..."} 
[2026-08-01 05:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbab3aff0012d76394006022cf00007013830..."} 
[2026-08-01 05:55:02] local.INFO: Processing buffer {"connection_id":146052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbab3aff0012d76394006022cf00007013830..."} 
[2026-08-01 05:55:02] local.INFO: Packet analysis {"connection_id":146052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbab3"} 
[2026-08-01 05:55:02] local.INFO: Extracted packet for processing {"connection_id":146052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbab3"} 
[2026-08-01 05:55:02] local.INFO: GPS Element Parsed {"raw_longitude":762722624,"raw_latitude":100805872,"longitude_deg":76.2722624,"latitude_deg":10.0805872,"altitude":7,"angle":312,"satellites":48,"speed":15,"hex_longitude":"2d763940","hex_latitude":"06022cf0","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099201536001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365444993256521728,"note":"Value kept but may cause issues"} 
[2026-08-01 05:55:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8523132689348378624,"note":"Value kept but may cause issues"} 
[2026-08-01 05:55:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 05:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785543766000,"timestamp_ms":1785543766000,"timestamp_seconds":1785543766,"priority":1,"record_length":96,"hex_timestamp":"0000019fbab3aff0"} 
[2026-08-01 05:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05: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-08-01 05: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":98,"data_length":795,"current_offset":136} 
[2026-08-01 05:55: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-08-01 05: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-08-01 05:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099201536001,"66":27213,"162":206,"8":65280,"24":15,"16":365444993256521728,"45":8523132689348378624},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,8,24,16,45]} 
[2026-08-01 05:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099201536001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:55:02] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-01 05:55:02] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 05:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365444993256521728,"km_value":365444993256521.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:55:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8523132689348378624,"description":"Unknown IO ID 45"} 
[2026-08-01 05:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099201536001,"power":27213,"unknown_162":206,"unknown_8":65280,"ignition":15,"odometer":null,"unknown_45":8523132689348378624}} 
[2026-08-01 05:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":146052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:55:02] local.INFO: GPS data processed {"connection_id":146052,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:55:02] local.INFO: Acknowledgment sent {"connection_id":146052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:55:33] local.INFO: TCP Data received {"connection_id":146052,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbab59068012d75998006032568000c01612c..."} 
[2026-08-01 05:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbab59068012d75998006032568000c01612c..."} 
[2026-08-01 05:55:33] local.INFO: Processing buffer {"connection_id":146052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbab59068012d75998006032568000c01612c..."} 
[2026-08-01 05:55:33] local.INFO: Packet analysis {"connection_id":146052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbab5"} 
[2026-08-01 05:55:33] local.INFO: Extracted packet for processing {"connection_id":146052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbab5"} 
[2026-08-01 05:55:33] local.INFO: GPS Element Parsed {"raw_longitude":762681728,"raw_latitude":100869480,"longitude_deg":76.2681728,"latitude_deg":10.086948,"altitude":12,"angle":353,"satellites":44,"speed":23,"hex_longitude":"2d759980","hex_latitude":"06032568","is_valid_coordinates":true} 
[2026-08-01 05:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 05:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099232000001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365448742762971136,"note":"Value kept but may cause issues"} 
[2026-08-01 05:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8476830055694270464,"note":"Value kept but may cause issues"} 
[2026-08-01 05:55:33] 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-08-01 05:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785543889000,"timestamp_ms":1785543889000,"timestamp_seconds":1785543889,"priority":1,"record_length":96,"hex_timestamp":"0000019fbab59068"} 
[2026-08-01 05:55:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:55: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-08-01 05:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-01 05:55: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-08-01 05:55:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 05:55:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099232000001,"66":27376,"63":206,"8":65280,"24":23,"16":365448742762971136,"45":8476830055694270464},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16,45]} 
[2026-08-01 05:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099232000001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:55:33] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-01 05:55:33] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 05:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365448742762971136,"km_value":365448742762971.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8476830055694270464,"description":"Unknown IO ID 45"} 
[2026-08-01 05:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099232000001,"power":27376,"unknown_63":206,"unknown_8":65280,"ignition":23,"odometer":null,"unknown_45":8476830055694270464}} 
[2026-08-01 05:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":146052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:55:33] local.INFO: GPS data processed {"connection_id":146052,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:55:33] local.INFO: Acknowledgment sent {"connection_id":146052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:55:56] local.INFO: TCP Data received {"connection_id":147065,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:55:56] local.INFO: Processing buffer {"connection_id":147065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:55:56] local.INFO: IMEI packet received {"connection_id":147065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":147065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:56:02] local.INFO: TCP Data received {"connection_id":147065,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:56:02] local.INFO: Processing buffer {"connection_id":147065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:56:02] local.INFO: IMEI packet received {"connection_id":147065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":147065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:56:02] local.INFO: TCP Data received {"connection_id":147065,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbab59068012d75998006032568000c01612c..."} 
[2026-08-01 05:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbab59068012d75998006032568000c01612c..."} 
[2026-08-01 05:56:02] local.INFO: Processing buffer {"connection_id":147065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbab59068012d75998006032568000c01612c..."} 
[2026-08-01 05:56:02] local.INFO: Packet analysis {"connection_id":147065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbab5"} 
[2026-08-01 05:56:02] local.INFO: Extracted packet for processing {"connection_id":147065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbab5"} 
[2026-08-01 05:56:02] local.INFO: GPS Element Parsed {"raw_longitude":762681728,"raw_latitude":100869480,"longitude_deg":76.2681728,"latitude_deg":10.086948,"altitude":12,"angle":353,"satellites":44,"speed":23,"hex_longitude":"2d759980","hex_latitude":"06032568","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099235584001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365448742762971136,"note":"Value kept but may cause issues"} 
[2026-08-01 05:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8473944937185241088,"note":"Value kept but may cause issues"} 
[2026-08-01 05:56: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-08-01 05:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785543889000,"timestamp_ms":1785543889000,"timestamp_seconds":1785543889,"priority":1,"record_length":96,"hex_timestamp":"0000019fbab59068"} 
[2026-08-01 05:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05: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-08-01 05: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-01 05:56:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 05: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-08-01 05:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":147065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":147065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":147065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099235584001,"66":27376,"63":206,"8":65280,"24":23,"16":365448742762971136,"45":8473944937185241088},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16,45]} 
[2026-08-01 05:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099235584001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:56:02] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-01 05:56:02] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 05:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365448742762971136,"km_value":365448742762971.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8473944937185241088,"description":"Unknown IO ID 45"} 
[2026-08-01 05:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099235584001,"power":27376,"unknown_63":206,"unknown_8":65280,"ignition":23,"odometer":null,"unknown_45":8473944937185241088}} 
[2026-08-01 05:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":147065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:56:03] local.INFO: GPS data processed {"connection_id":147065,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:56:03] local.INFO: Acknowledgment sent {"connection_id":147065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:56:33] local.INFO: TCP Data received {"connection_id":147065,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbab5a3f0012d7597c006033178000b015530..."} 
[2026-08-01 05:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbab5a3f0012d7597c006033178000b015530..."} 
[2026-08-01 05:56:33] local.INFO: Processing buffer {"connection_id":147065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbab5a3f0012d7597c006033178000b015530..."} 
[2026-08-01 05:56:33] local.INFO: Packet analysis {"connection_id":147065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbab5"} 
[2026-08-01 05:56:33] local.INFO: Extracted packet for processing {"connection_id":147065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbab5"} 
[2026-08-01 05:56:33] local.INFO: GPS Element Parsed {"raw_longitude":762681280,"raw_latitude":100872568,"longitude_deg":76.268128,"latitude_deg":10.0872568,"altitude":11,"angle":341,"satellites":48,"speed":26,"hex_longitude":"2d7597c0","hex_latitude":"06033178","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099235584001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365448893086826496,"note":"Value kept but may cause issues"} 
[2026-08-01 05:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8473944937185241088,"note":"Value kept but may cause issues"} 
[2026-08-01 05:56:33] 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-08-01 05:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785543894000,"timestamp_ms":1785543894000,"timestamp_seconds":1785543894,"priority":1,"record_length":96,"hex_timestamp":"0000019fbab5a3f0"} 
[2026-08-01 05:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:56: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-08-01 05: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-01 05:56: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-08-01 05: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-08-01 05:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":147065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":147065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":147065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099235584001,"66":27300,"63":206,"8":65280,"24":26,"16":365448893086826496,"45":8473944937185241088},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16,45]} 
[2026-08-01 05:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099235584001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:56:33] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-01 05:56:33] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 05:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365448893086826496,"km_value":365448893086826.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8473944937185241088,"description":"Unknown IO ID 45"} 
[2026-08-01 05:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099235584001,"power":27300,"unknown_63":206,"unknown_8":65280,"ignition":26,"odometer":null,"unknown_45":8473944937185241088}} 
[2026-08-01 05:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":147065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:56:33] local.INFO: GPS data processed {"connection_id":147065,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:56:33] local.INFO: Acknowledgment sent {"connection_id":147065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:57:01] local.INFO: TCP Data received {"connection_id":146053,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:57:01] local.INFO: Processing buffer {"connection_id":146053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:57:01] local.INFO: IMEI packet received {"connection_id":146053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":146053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:57:02] local.INFO: TCP Data received {"connection_id":146053,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:57:02] local.INFO: Processing buffer {"connection_id":146053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:57:02] local.INFO: IMEI packet received {"connection_id":146053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":146053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:57:07] local.INFO: TCP Data received {"connection_id":146053,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:57:07] local.INFO: Processing buffer {"connection_id":146053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:57:07] local.INFO: IMEI packet received {"connection_id":146053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":146053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:57:08] local.INFO: TCP Data received {"connection_id":146053,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbab5d2d0012d758b80060355a0000b01552d..."} 
[2026-08-01 05:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbab5d2d0012d758b80060355a0000b01552d..."} 
[2026-08-01 05:57:08] local.INFO: Processing buffer {"connection_id":146053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbab5d2d0012d758b80060355a0000b01552d..."} 
[2026-08-01 05:57:08] local.INFO: Packet analysis {"connection_id":146053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbab5"} 
[2026-08-01 05:57:08] local.INFO: Extracted packet for processing {"connection_id":146053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbab5"} 
[2026-08-01 05:57:08] local.INFO: GPS Element Parsed {"raw_longitude":762678144,"raw_latitude":100881824,"longitude_deg":76.2678144,"latitude_deg":10.0881824,"altitude":11,"angle":341,"satellites":45,"speed":37,"hex_longitude":"2d758b80","hex_latitude":"060355a0","is_valid_coordinates":true} 
[2026-08-01 05:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 05:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099236864001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365449365533229056,"note":"Value kept but may cause issues"} 
[2026-08-01 05:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8473452355976787968,"note":"Value kept but may cause issues"} 
[2026-08-01 05:57:08] 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-08-01 05:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785543906000,"timestamp_ms":1785543906000,"timestamp_seconds":1785543906,"priority":1,"record_length":96,"hex_timestamp":"0000019fbab5d2d0"} 
[2026-08-01 05:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:57: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-08-01 05:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-01 05:57:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 05:57:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 05:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":146053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":146053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":146053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099236864001,"66":27234,"63":206,"8":65280,"24":37,"16":365449365533229056,"45":8473452355976787968},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,8,24,16,45]} 
[2026-08-01 05:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099236864001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:57:08] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-01 05:57:08] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 05:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365449365533229056,"km_value":365449365533229.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8473452355976787968,"description":"Unknown IO ID 45"} 
[2026-08-01 05:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099236864001,"power":27234,"unknown_63":206,"unknown_8":65280,"ignition":37,"odometer":null,"unknown_45":8473452355976787968}} 
[2026-08-01 05:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":146053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:57:08] local.INFO: GPS data processed {"connection_id":146053,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:57:08] local.INFO: Acknowledgment sent {"connection_id":146053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:57:13] local.INFO: TCP Data received {"connection_id":146053,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbab5f5f8012d75808006037760000b01552d..."} 
[2026-08-01 05:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbab5f5f8012d75808006037760000b01552d..."} 
[2026-08-01 05:57:13] local.INFO: Processing buffer {"connection_id":146053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbab5f5f8012d75808006037760000b01552d..."} 
[2026-08-01 05:57:13] local.INFO: Packet analysis {"connection_id":146053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbab5"} 
[2026-08-01 05:57:13] local.INFO: Extracted packet for processing {"connection_id":146053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbab5"} 
[2026-08-01 05:57:13] local.INFO: GPS Element Parsed {"raw_longitude":762675328,"raw_latitude":100890464,"longitude_deg":76.2675328,"latitude_deg":10.0890464,"altitude":11,"angle":341,"satellites":45,"speed":41,"hex_longitude":"2d758080","hex_latitude":"06037760","is_valid_coordinates":true} 
[2026-08-01 05:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 05:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099239936001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365449807914860544,"note":"Value kept but may cause issues"} 
[2026-08-01 05:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8470004287514451968,"note":"Value kept but may cause issues"} 
[2026-08-01 05:57:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 05:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785543915000,"timestamp_ms":1785543915000,"timestamp_seconds":1785543915,"priority":1,"record_length":96,"hex_timestamp":"0000019fbab5f5f8"} 
[2026-08-01 05:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:57: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-08-01 05:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-01 05:57:13] 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-08-01 05:57:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 05:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":146053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":146053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":146053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:57:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099239936001,"66":27397,"62":206,"8":65280,"24":41,"16":365449807914860544,"45":8470004287514451968},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,8,24,16,45]} 
[2026-08-01 05:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099239936001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:57:13] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-08-01 05:57:13] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 05:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365449807914860544,"km_value":365449807914860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8470004287514451968,"description":"Unknown IO ID 45"} 
[2026-08-01 05:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099239936001,"power":27397,"unknown_62":206,"unknown_8":65280,"ignition":41,"odometer":null,"unknown_45":8470004287514451968}} 
[2026-08-01 05:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":146053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:57:13] local.INFO: GPS data processed {"connection_id":146053,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:57:13] local.INFO: Acknowledgment sent {"connection_id":146053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:57:58] local.INFO: TCP Data received {"connection_id":146054,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:57:58] local.INFO: Processing buffer {"connection_id":146054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:57:58] local.INFO: IMEI packet received {"connection_id":146054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":146054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:58:01] local.INFO: TCP Data received {"connection_id":146054,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:58:01] local.INFO: Processing buffer {"connection_id":146054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:58:01] local.INFO: IMEI packet received {"connection_id":146054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":146054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:58:02] local.INFO: TCP Data received {"connection_id":146054,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbab61920012d75758006039940000d01572e..."} 
[2026-08-01 05:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbab61920012d75758006039940000d01572e..."} 
[2026-08-01 05:58:02] local.INFO: Processing buffer {"connection_id":146054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbab61920012d75758006039940000d01572e..."} 
[2026-08-01 05:58:02] local.INFO: Packet analysis {"connection_id":146054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbab6"} 
[2026-08-01 05:58:02] local.INFO: Extracted packet for processing {"connection_id":146054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbab6"} 
[2026-08-01 05:58:02] local.INFO: GPS Element Parsed {"raw_longitude":762672512,"raw_latitude":100899136,"longitude_deg":76.2672512,"latitude_deg":10.0899136,"altitude":13,"angle":343,"satellites":46,"speed":38,"hex_longitude":"2d757580","hex_latitude":"06039940","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099242240001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365450250296492032,"note":"Value kept but may cause issues"} 
[2026-08-01 05:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8466908062772846592,"note":"Value kept but may cause issues"} 
[2026-08-01 05:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 05:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785543924000,"timestamp_ms":1785543924000,"timestamp_seconds":1785543924,"priority":1,"record_length":96,"hex_timestamp":"0000019fbab61920"} 
[2026-08-01 05:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05: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-08-01 05: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-01 05:58:02] 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-08-01 05: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-08-01 05:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099242240001,"66":27343,"62":206,"8":65280,"24":38,"16":365450250296492032,"45":8466908062772846592},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,8,24,16,45]} 
[2026-08-01 05:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099242240001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:58:02] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-08-01 05:58:02] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 05:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365450250296492032,"km_value":365450250296492.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8466908062772846592,"description":"Unknown IO ID 45"} 
[2026-08-01 05:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099242240001,"power":27343,"unknown_62":206,"unknown_8":65280,"ignition":38,"odometer":null,"unknown_45":8466908062772846592}} 
[2026-08-01 05:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":146054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:58:02] local.INFO: GPS data processed {"connection_id":146054,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:58:02] local.INFO: Acknowledgment sent {"connection_id":146054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:58:05] local.INFO: TCP Data received {"connection_id":146054,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbab64030012d756ac00603bd30000f01582e..."} 
[2026-08-01 05:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbab64030012d756ac00603bd30000f01582e..."} 
[2026-08-01 05:58:05] local.INFO: Processing buffer {"connection_id":146054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbab64030012d756ac00603bd30000f01582e..."} 
[2026-08-01 05:58:05] local.INFO: Packet analysis {"connection_id":146054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbab6"} 
[2026-08-01 05:58:05] local.INFO: Extracted packet for processing {"connection_id":146054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbab6"} 
[2026-08-01 05:58:05] local.INFO: GPS Element Parsed {"raw_longitude":762669760,"raw_latitude":100908336,"longitude_deg":76.266976,"latitude_deg":10.0908336,"altitude":15,"angle":344,"satellites":46,"speed":37,"hex_longitude":"2d756ac0","hex_latitude":"0603bd30","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099244544001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365450714152960000,"note":"Value kept but may cause issues"} 
[2026-08-01 05:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8463811838031249408,"note":"Value kept but may cause issues"} 
[2026-08-01 05:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 05:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785543934000,"timestamp_ms":1785543934000,"timestamp_seconds":1785543934,"priority":1,"record_length":96,"hex_timestamp":"0000019fbab64030"} 
[2026-08-01 05:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05: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-08-01 05: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-08-01 05: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-08-01 05: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-08-01 05:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099244544001,"66":27343,"62":206,"8":65280,"24":37,"16":365450714152960000,"45":8463811838031249408},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,8,24,16,45]} 
[2026-08-01 05:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099244544001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:58:05] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-08-01 05:58:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 05:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365450714152960000,"km_value":365450714152960,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8463811838031249408,"description":"Unknown IO ID 45"} 
[2026-08-01 05:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099244544001,"power":27343,"unknown_62":206,"unknown_8":65280,"ignition":37,"odometer":null,"unknown_45":8463811838031249408}} 
[2026-08-01 05:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":146054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:58:05] local.INFO: GPS data processed {"connection_id":146054,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:58:05] local.INFO: Acknowledgment sent {"connection_id":146054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:58:38] local.INFO: TCP Data received {"connection_id":146054,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbab7f5b0012d7514000604edd0000b01512e..."} 
[2026-08-01 05:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbab7f5b0012d7514000604edd0000b01512e..."} 
[2026-08-01 05:58:38] local.INFO: Processing buffer {"connection_id":146054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbab7f5b0012d7514000604edd0000b01512e..."} 
[2026-08-01 05:58:38] local.INFO: Packet analysis {"connection_id":146054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbab7"} 
[2026-08-01 05:58:38] local.INFO: Extracted packet for processing {"connection_id":146054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbab7"} 
[2026-08-01 05:58:38] local.INFO: GPS Element Parsed {"raw_longitude":762647552,"raw_latitude":100986320,"longitude_deg":76.2647552,"latitude_deg":10.098632,"altitude":11,"angle":337,"satellites":46,"speed":29,"hex_longitude":"2d751400","hex_latitude":"0604edd0","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099272704001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365454652637970432,"note":"Value kept but may cause issues"} 
[2026-08-01 05:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8440238308751876096,"note":"Value kept but may cause issues"} 
[2026-08-01 05:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 05:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785544046000,"timestamp_ms":1785544046000,"timestamp_seconds":1785544046,"priority":1,"record_length":96,"hex_timestamp":"0000019fbab7f5b0"} 
[2026-08-01 05:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 05: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-01 05:58: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-08-01 05: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-08-01 05:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099272704001,"66":27234,"23":206,"8":65280,"24":29,"16":365454652637970432,"45":8440238308751876096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,8,24,16,45]} 
[2026-08-01 05:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099272704001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:58:38] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-01 05:58:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 05:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365454652637970432,"km_value":365454652637970.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8440238308751876096,"description":"Unknown IO ID 45"} 
[2026-08-01 05:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099272704001,"power":27234,"unknown_23":206,"unknown_8":65280,"ignition":29,"odometer":null,"unknown_45":8440238308751876096}} 
[2026-08-01 05:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":146054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:58:38] local.INFO: GPS data processed {"connection_id":146054,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:58:38] local.INFO: Acknowledgment sent {"connection_id":146054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:58:56] local.INFO: TCP Data received {"connection_id":148385,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:58:56] local.INFO: Processing buffer {"connection_id":148385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:58:56] local.INFO: IMEI packet received {"connection_id":148385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":148385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 05:59:01] local.INFO: TCP Data received {"connection_id":148385,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:59:01] local.INFO: Processing buffer {"connection_id":148385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:59:01] local.INFO: IMEI packet received {"connection_id":148385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 05:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":148385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 05:59:04] local.INFO: TCP Data received {"connection_id":148385,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbab82878012d75070006050fc0000b015228..."} 
[2026-08-01 05:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbab82878012d75070006050fc0000b015228..."} 
[2026-08-01 05:59:04] local.INFO: Processing buffer {"connection_id":148385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbab82878012d75070006050fc0000b015228..."} 
[2026-08-01 05:59:04] local.INFO: Packet analysis {"connection_id":148385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbab8"} 
[2026-08-01 05:59:04] local.INFO: Extracted packet for processing {"connection_id":148385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbab8"} 
[2026-08-01 05:59:04] local.INFO: GPS Element Parsed {"raw_longitude":762644224,"raw_latitude":100995008,"longitude_deg":76.2644224,"latitude_deg":10.0995008,"altitude":11,"angle":338,"satellites":40,"speed":28,"hex_longitude":"2d750700","hex_latitude":"06050fc0","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099275776001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365455103609536512,"note":"Value kept but may cause issues"} 
[2026-08-01 05:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8436368027824279552,"note":"Value kept but may cause issues"} 
[2026-08-01 05:59:04] 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-08-01 05:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785544059000,"timestamp_ms":1785544059000,"timestamp_seconds":1785544059,"priority":1,"record_length":96,"hex_timestamp":"0000019fbab82878"} 
[2026-08-01 05:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 05:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-01 05:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 05: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-08-01 05:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":148385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":148385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":148385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099275776001,"66":27397,"24":28,"8":65280,"16":365455103609536512,"45":8436368027824279552},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,8,16,45]} 
[2026-08-01 05:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099275776001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:59:04] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 05:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365455103609536512,"km_value":365455103609536.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8436368027824279552,"description":"Unknown IO ID 45"} 
[2026-08-01 05:59:04] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457099275776001,"power":27397,"ignition":28,"unknown_8":65280,"odometer":null,"unknown_45":8436368027824279552}} 
[2026-08-01 05:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":148385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:59:04] local.INFO: GPS data processed {"connection_id":148385,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:59:04] local.INFO: Acknowledgment sent {"connection_id":148385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:59:35] local.INFO: TCP Data received {"connection_id":148385,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbab85f28012d74f9c0060531b8000a01542a..."} 
[2026-08-01 05:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbab85f28012d74f9c0060531b8000a01542a..."} 
[2026-08-01 05:59:35] local.INFO: Processing buffer {"connection_id":148385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbab85f28012d74f9c0060531b8000a01542a..."} 
[2026-08-01 05:59:35] local.INFO: Packet analysis {"connection_id":148385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbab8"} 
[2026-08-01 05:59:35] local.INFO: Extracted packet for processing {"connection_id":148385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbab8"} 
[2026-08-01 05:59:35] local.INFO: GPS Element Parsed {"raw_longitude":762640832,"raw_latitude":101003704,"longitude_deg":76.2640832,"latitude_deg":10.1003704,"altitude":10,"angle":340,"satellites":42,"speed":22,"hex_longitude":"2d74f9c0","hex_latitude":"060531b8","is_valid_coordinates":true} 
[2026-08-01 05: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-08-01 05:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099279104001,"note":"Value kept but may cause issues"} 
[2026-08-01 05:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365455558876069888,"note":"Value kept but may cause issues"} 
[2026-08-01 05:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8432708853129265152,"note":"Value kept but may cause issues"} 
[2026-08-01 05:59: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-08-01 05:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785544073000,"timestamp_ms":1785544073000,"timestamp_seconds":1785544073,"priority":1,"record_length":96,"hex_timestamp":"0000019fbab85f28"} 
[2026-08-01 05:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 05:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 05: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-01 05:59: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-08-01 05: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-08-01 05:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 05:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 05:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 05:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 05:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 05:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 05:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 05:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099279104001,"66":27463,"24":22,"8":65280,"16":365455558876069888,"45":8432708853129265152},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,8,16,45]} 
[2026-08-01 05:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 05:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 05:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099279104001,"description":"Unknown IO ID 0"} 
[2026-08-01 05:59:35] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 05:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365455558876069888,"km_value":365455558876069.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 05:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8432708853129265152,"description":"Unknown IO ID 45"} 
[2026-08-01 05:59:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457099279104001,"power":27463,"ignition":22,"unknown_8":65280,"odometer":null,"unknown_45":8432708853129265152}} 
[2026-08-01 05:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":148385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 05:59:35] local.INFO: GPS data processed {"connection_id":148385,"processed":1,"errors":0,"total":1} 
[2026-08-01 05:59:35] local.INFO: Acknowledgment sent {"connection_id":148385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 05:59:56] local.INFO: TCP Data received {"connection_id":145860,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:59:56] local.INFO: Processing buffer {"connection_id":145860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 05:59:56] local.INFO: IMEI packet received {"connection_id":145860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 05:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":145860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:00:01] local.INFO: TCP Data received {"connection_id":145860,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:00:01] local.INFO: Processing buffer {"connection_id":145860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:00:01] local.INFO: IMEI packet received {"connection_id":145860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":145860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:00:04] local.INFO: TCP Data received {"connection_id":145860,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbab899c0012d74ee80060554d0000a01582d..."} 
[2026-08-01 06:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbab899c0012d74ee80060554d0000a01582d..."} 
[2026-08-01 06:00:04] local.INFO: Processing buffer {"connection_id":145860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbab899c0012d74ee80060554d0000a01582d..."} 
[2026-08-01 06:00:04] local.INFO: Packet analysis {"connection_id":145860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbab8"} 
[2026-08-01 06:00:04] local.INFO: Extracted packet for processing {"connection_id":145860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbab8"} 
[2026-08-01 06:00:04] local.INFO: GPS Element Parsed {"raw_longitude":762637952,"raw_latitude":101012688,"longitude_deg":76.2637952,"latitude_deg":10.1012688,"altitude":10,"angle":344,"satellites":45,"speed":28,"hex_longitude":"2d74ee80","hex_latitude":"060554d0","is_valid_coordinates":true} 
[2026-08-01 06:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099282688001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365456014142603264,"note":"Value kept but may cause issues"} 
[2026-08-01 06:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8428979309690075136,"note":"Value kept but may cause issues"} 
[2026-08-01 06:00:04] 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-08-01 06:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785544088000,"timestamp_ms":1785544088000,"timestamp_seconds":1785544088,"priority":1,"record_length":96,"hex_timestamp":"0000019fbab899c0"} 
[2026-08-01 06:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-01 06:00: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-08-01 06:00:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":145860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":145860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":145860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099282688001,"66":27484,"24":28,"8":65280,"16":365456014142603264,"45":8428979309690075136},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,8,16,45]} 
[2026-08-01 06:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099282688001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:00:04] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 06:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365456014142603264,"km_value":365456014142603.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8428979309690075136,"description":"Unknown IO ID 45"} 
[2026-08-01 06:00:04] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457099282688001,"power":27484,"ignition":28,"unknown_8":65280,"odometer":null,"unknown_45":8428979309690075136}} 
[2026-08-01 06:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":145860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:00:04] local.INFO: GPS data processed {"connection_id":145860,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:00:04] local.INFO: Acknowledgment sent {"connection_id":145860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:00:36] local.INFO: TCP Data received {"connection_id":145860,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbab9e1e0012d74aec006060fd0000c013d31..."} 
[2026-08-01 06:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbab9e1e0012d74aec006060fd0000c013d31..."} 
[2026-08-01 06:00:36] local.INFO: Processing buffer {"connection_id":145860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbab9e1e0012d74aec006060fd0000c013d31..."} 
[2026-08-01 06:00:36] local.INFO: Packet analysis {"connection_id":145860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbab9"} 
[2026-08-01 06:00:36] local.INFO: Extracted packet for processing {"connection_id":145860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbab9"} 
[2026-08-01 06:00:36] local.INFO: GPS Element Parsed {"raw_longitude":762621632,"raw_latitude":101060560,"longitude_deg":76.2621632,"latitude_deg":10.106056,"altitude":12,"angle":317,"satellites":49,"speed":20,"hex_longitude":"2d74aec0","hex_latitude":"06060fd0","is_valid_coordinates":true} 
[2026-08-01 06:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099307520001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365458586828013568,"note":"Value kept but may cause issues"} 
[2026-08-01 06:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8408713111381293056,"note":"Value kept but may cause issues"} 
[2026-08-01 06:00:36] 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-08-01 06:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785544172000,"timestamp_ms":1785544172000,"timestamp_seconds":1785544172,"priority":1,"record_length":96,"hex_timestamp":"0000019fbab9e1e0"} 
[2026-08-01 06:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:00: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-08-01 06:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-01 06:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099307520001,"66":27321,"24":20,"8":65280,"16":365458586828013568,"45":8408713111381293056},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,8,16,45]} 
[2026-08-01 06:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099307520001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:00:36] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 06:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365458586828013568,"km_value":365458586828013.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8408713111381293056,"description":"Unknown IO ID 45"} 
[2026-08-01 06:00:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457099307520001,"power":27321,"ignition":20,"unknown_8":65280,"odometer":null,"unknown_45":8408713111381293056}} 
[2026-08-01 06:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":145860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:00:36] local.INFO: GPS data processed {"connection_id":145860,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:00:36] local.INFO: Acknowledgment sent {"connection_id":145860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:01:00] local.INFO: TCP Data received {"connection_id":147066,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:01:00] local.INFO: Processing buffer {"connection_id":147066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:01:00] local.INFO: IMEI packet received {"connection_id":147066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 06:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":147066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:01:12] local.INFO: TCP Data received {"connection_id":147066,"ip":"117.224.167.108","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 06:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147066,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 06:01:12] local.INFO: Processing buffer {"connection_id":147066,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 06:01:12] local.INFO: IMEI packet received {"connection_id":147066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":147066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:01:14] local.INFO: TCP Data received {"connection_id":147066,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbab9e9b0012d74ac8006061330000c015131..."} 
[2026-08-01 06:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbab9e9b0012d74ac8006061330000c015131..."} 
[2026-08-01 06:01:14] local.INFO: Processing buffer {"connection_id":147066,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fba..."} 
[2026-08-01 06:01:14] local.INFO: IMEI packet received {"connection_id":147066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":147066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:01:16] local.INFO: TCP Data received {"connection_id":147066,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaba2060012d74a28006063540000d01572f..."} 
[2026-08-01 06:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaba2060012d74a28006063540000d01572f..."} 
[2026-08-01 06:01:16] local.INFO: Processing buffer {"connection_id":147066,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fbab9e9b0012d74ac8006061330000c015131..."} 
[2026-08-01 06:01:16] local.INFO: Packet analysis {"connection_id":147066,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fbab9"} 
[2026-08-01 06:01:16] local.INFO: Extracted packet for processing {"connection_id":147066,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbab9"} 
[2026-08-01 06:01:16] local.INFO: GPS Element Parsed {"raw_longitude":762621056,"raw_latitude":101061424,"longitude_deg":76.2621056,"latitude_deg":10.1061424,"altitude":12,"angle":337,"satellites":49,"speed":20,"hex_longitude":"2d74ac80","hex_latitude":"06061330","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099308032001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365458634072653824,"note":"Value kept but may cause issues"} 
[2026-08-01 06:01:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8407868686451331072,"note":"Value kept but may cause issues"} 
[2026-08-01 06:01:16] 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-08-01 06:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785544174000,"timestamp_ms":1785544174000,"timestamp_seconds":1785544174,"priority":1,"record_length":96,"hex_timestamp":"0000019fbab9e9b0"} 
[2026-08-01 06:01:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:01:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-01 06:01:16] 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-08-01 06: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-08-01 06:01:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":147066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":147066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":147066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:01:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099308032001,"66":27332,"24":20,"8":65280,"16":365458634072653824,"45":8407868686451331072},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,8,16,45]} 
[2026-08-01 06:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099308032001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:01:16] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 06:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365458634072653824,"km_value":365458634072653.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:01:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8407868686451331072,"description":"Unknown IO ID 45"} 
[2026-08-01 06:01:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457099308032001,"power":27332,"ignition":20,"unknown_8":65280,"odometer":null,"unknown_45":8407868686451331072}} 
[2026-08-01 06:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":147066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:01:16] local.INFO: GPS data processed {"connection_id":147066,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:01:16] local.INFO: Acknowledgment sent {"connection_id":147066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:01:16] local.INFO: Packet analysis {"connection_id":147066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaba"} 
[2026-08-01 06:01:16] local.INFO: Extracted packet for processing {"connection_id":147066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaba"} 
[2026-08-01 06:01:16] local.INFO: GPS Element Parsed {"raw_longitude":762618496,"raw_latitude":101070144,"longitude_deg":76.2618496,"latitude_deg":10.1070144,"altitude":13,"angle":343,"satellites":47,"speed":31,"hex_longitude":"2d74a280","hex_latitude":"06063540","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099308544001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365459076454285312,"note":"Value kept but may cause issues"} 
[2026-08-01 06:01:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8407235367753953280,"note":"Value kept but may cause issues"} 
[2026-08-01 06:01:16] 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-08-01 06:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785544188000,"timestamp_ms":1785544188000,"timestamp_seconds":1785544188,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaba2060"} 
[2026-08-01 06:01:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:01:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-01 06:01:16] 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-08-01 06: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-08-01 06:01:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":147066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":147066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":147066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:01:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099308544001,"66":27343,"24":31,"8":65280,"16":365459076454285312,"45":8407235367753953280},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,8,16,45]} 
[2026-08-01 06:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099308544001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:01:16] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 06:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365459076454285312,"km_value":365459076454285.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:01:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8407235367753953280,"description":"Unknown IO ID 45"} 
[2026-08-01 06:01:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457099308544001,"power":27343,"ignition":31,"unknown_8":65280,"odometer":null,"unknown_45":8407235367753953280}} 
[2026-08-01 06:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":147066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:01:16] local.INFO: GPS data processed {"connection_id":147066,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:01:16] local.INFO: Acknowledgment sent {"connection_id":147066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:01:18] local.INFO: TCP Data received {"connection_id":147066,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaba4b58012d74984006065988000e01582d..."} 
[2026-08-01 06:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaba4b58012d74984006065988000e01582d..."} 
[2026-08-01 06:01:18] local.INFO: Processing buffer {"connection_id":147066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaba4b58012d74984006065988000e01582d..."} 
[2026-08-01 06:01:18] local.INFO: Packet analysis {"connection_id":147066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaba"} 
[2026-08-01 06:01:18] local.INFO: Extracted packet for processing {"connection_id":147066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaba"} 
[2026-08-01 06:01:18] local.INFO: GPS Element Parsed {"raw_longitude":762615872,"raw_latitude":101079432,"longitude_deg":76.2615872,"latitude_deg":10.1079432,"altitude":14,"angle":344,"satellites":45,"speed":36,"hex_longitude":"2d749840","hex_latitude":"06065988","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099312128001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365459544605720576,"note":"Value kept but may cause issues"} 
[2026-08-01 06:01:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8404420617989079040,"note":"Value kept but may cause issues"} 
[2026-08-01 06:01:18] 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-08-01 06:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785544199000,"timestamp_ms":1785544199000,"timestamp_seconds":1785544199,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaba4b58"} 
[2026-08-01 06:01:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:01: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-08-01 06: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-01 06:01:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06: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-08-01 06:01:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":147066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":147066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":147066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:01:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099312128001,"66":27234,"24":36,"8":65280,"16":365459544605720576,"45":8404420617989079040},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,8,16,45]} 
[2026-08-01 06:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099312128001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:01:18] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 06:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365459544605720576,"km_value":365459544605720.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:01:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8404420617989079040,"description":"Unknown IO ID 45"} 
[2026-08-01 06:01:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457099312128001,"power":27234,"ignition":36,"unknown_8":65280,"odometer":null,"unknown_45":8404420617989079040}} 
[2026-08-01 06:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":147066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:01:18] local.INFO: GPS data processed {"connection_id":147066,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:01:18] local.INFO: Acknowledgment sent {"connection_id":147066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:02:12] local.INFO: TCP Data received {"connection_id":148386,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:02:12] local.INFO: Processing buffer {"connection_id":148386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:02:12] local.INFO: IMEI packet received {"connection_id":148386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 06:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":148386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:02:18] local.INFO: TCP Data received {"connection_id":148386,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:02:18] local.INFO: Processing buffer {"connection_id":148386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:02:18] local.INFO: IMEI packet received {"connection_id":148386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:02:18] local.INFO: IMEI acknowledgment sent {"connection_id":148386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:02:19] local.INFO: TCP Data received {"connection_id":148386,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaba7650012d748e4006067df0000f01592e..."} 
[2026-08-01 06:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaba7650012d748e4006067df0000f01592e..."} 
[2026-08-01 06:02:19] local.INFO: Processing buffer {"connection_id":148386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaba7650012d748e4006067df0000f01592e..."} 
[2026-08-01 06:02:19] local.INFO: Packet analysis {"connection_id":148386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaba"} 
[2026-08-01 06:02:19] local.INFO: Extracted packet for processing {"connection_id":148386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaba"} 
[2026-08-01 06:02:19] local.INFO: GPS Element Parsed {"raw_longitude":762613312,"raw_latitude":101088752,"longitude_deg":76.2613312,"latitude_deg":10.1088752,"altitude":15,"angle":345,"satellites":46,"speed":34,"hex_longitude":"2d748e40","hex_latitude":"06067df0","is_valid_coordinates":true} 
[2026-08-01 06:02:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:02:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099314944001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:02:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365460012757155840,"note":"Value kept but may cause issues"} 
[2026-08-01 06:02:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8401535499480172544,"note":"Value kept but may cause issues"} 
[2026-08-01 06:02:19] 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-08-01 06:02:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785544210000,"timestamp_ms":1785544210000,"timestamp_seconds":1785544210,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaba7650"} 
[2026-08-01 06:02:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:02: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-08-01 06:02:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-01 06:02:19] 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-08-01 06:02:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:02:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:02:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:02:19] local.INFO: Teltonika packet parsed successfully {"connection_id":148386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:02:19] local.INFO: Passing IMEI to GPS processor {"connection_id":148386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:02:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":148386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:02:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:02:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:02:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:02:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099314944001,"66":27343,"24":34,"8":65280,"16":365460012757155840,"45":8401535499480172544},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,8,16,45]} 
[2026-08-01 06:02:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:02:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:02:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099314944001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:02:19] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 06:02:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365460012757155840,"km_value":365460012757155.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:02:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8401535499480172544,"description":"Unknown IO ID 45"} 
[2026-08-01 06:02:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457099314944001,"power":27343,"ignition":34,"unknown_8":65280,"odometer":null,"unknown_45":8401535499480172544}} 
[2026-08-01 06:02:19] local.INFO: DEBUG: GPS processor result {"connection_id":148386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:02:19] local.INFO: GPS data processed {"connection_id":148386,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:02:19] local.INFO: Acknowledgment sent {"connection_id":148386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:02:20] local.INFO: TCP Data received {"connection_id":148386,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbabaa148012d7484400606a1a8000f015a31..."} 
[2026-08-01 06:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbabaa148012d7484400606a1a8000f015a31..."} 
[2026-08-01 06:02:20] local.INFO: Processing buffer {"connection_id":148386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbabaa148012d7484400606a1a8000f015a31..."} 
[2026-08-01 06:02:20] local.INFO: Packet analysis {"connection_id":148386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaba"} 
[2026-08-01 06:02:20] local.INFO: Extracted packet for processing {"connection_id":148386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaba"} 
[2026-08-01 06:02:20] local.INFO: GPS Element Parsed {"raw_longitude":762610752,"raw_latitude":101097896,"longitude_deg":76.2610752,"latitude_deg":10.1097896,"altitude":15,"angle":346,"satellites":49,"speed":34,"hex_longitude":"2d748440","hex_latitude":"0606a1a8","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099317760001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365460472318656512,"note":"Value kept but may cause issues"} 
[2026-08-01 06:02:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8398720749715451904,"note":"Value kept but may cause issues"} 
[2026-08-01 06:02:20] 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-08-01 06:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785544221000,"timestamp_ms":1785544221000,"timestamp_seconds":1785544221,"priority":1,"record_length":96,"hex_timestamp":"0000019fbabaa148"} 
[2026-08-01 06:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:02: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-08-01 06: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-01 06:02:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06: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-08-01 06:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:02:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099317760001,"66":27267,"24":34,"8":65280,"16":365460472318656512,"45":8398720749715451904},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,8,16,45]} 
[2026-08-01 06:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099317760001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:02:20] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 06:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365460472318656512,"km_value":365460472318656.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:02:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8398720749715451904,"description":"Unknown IO ID 45"} 
[2026-08-01 06:02:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457099317760001,"power":27267,"ignition":34,"unknown_8":65280,"odometer":null,"unknown_45":8398720749715451904}} 
[2026-08-01 06:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":148386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:02:20] local.INFO: GPS data processed {"connection_id":148386,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:02:20] local.INFO: Acknowledgment sent {"connection_id":148386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:02:56] local.INFO: TCP Data received {"connection_id":145861,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:02:56] local.INFO: Processing buffer {"connection_id":145861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:02:56] local.INFO: IMEI packet received {"connection_id":145861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 06:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":145861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:02:58] local.INFO: TCP Data received {"connection_id":145861,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:02:58] local.INFO: Processing buffer {"connection_id":145861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:02:58] local.INFO: IMEI packet received {"connection_id":145861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":145861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:03:00] local.INFO: TCP Data received {"connection_id":145861,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:03:00] local.INFO: Processing buffer {"connection_id":145861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:03:00] local.INFO: IMEI packet received {"connection_id":145861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":145861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:03:02] local.INFO: TCP Data received {"connection_id":145861,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbabc2fb8012d7403800607ae580009011d2c..."} 
[2026-08-01 06:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbabc2fb8012d7403800607ae580009011d2c..."} 
[2026-08-01 06:03:02] local.INFO: Processing buffer {"connection_id":145861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbabc2fb8012d7403800607ae580009011d2c..."} 
[2026-08-01 06:03:02] local.INFO: Packet analysis {"connection_id":145861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbabc"} 
[2026-08-01 06:03:02] local.INFO: Extracted packet for processing {"connection_id":145861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbabc"} 
[2026-08-01 06:03:02] local.INFO: GPS Element Parsed {"raw_longitude":762577792,"raw_latitude":101166680,"longitude_deg":76.2577792,"latitude_deg":10.116668,"altitude":9,"angle":285,"satellites":44,"speed":34,"hex_longitude":"2d740380","hex_latitude":"0607ae58","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099345664001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365464273364713472,"note":"Value kept but may cause issues"} 
[2026-08-01 06:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8363254902669506560,"note":"Value kept but may cause issues"} 
[2026-08-01 06:03:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785544323000,"timestamp_ms":1785544323000,"timestamp_seconds":1785544323,"priority":1,"record_length":96,"hex_timestamp":"0000019fbabc2fb8"} 
[2026-08-01 06:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:03: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-08-01 06: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-01 06:03:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06: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-08-01 06:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":145861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":145861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":145861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099345664001,"66":26876,"20":206,"8":65280,"24":34,"16":365464273364713472,"45":8363254902669506560},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,8,24,16,45]} 
[2026-08-01 06:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099345664001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:03:02] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-01 06:03:02] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 06:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365464273364713472,"km_value":365464273364713.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8363254902669506560,"description":"Unknown IO ID 45"} 
[2026-08-01 06:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099345664001,"power":26876,"unknown_20":206,"unknown_8":65280,"ignition":34,"odometer":null,"unknown_45":8363254902669506560}} 
[2026-08-01 06:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":145861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:03:02] local.INFO: GPS data processed {"connection_id":145861,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:03:02] local.INFO: Acknowledgment sent {"connection_id":145861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:03:34] local.INFO: TCP Data received {"connection_id":145861,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbabc3f58012d73f7c00607b2200008012e31..."} 
[2026-08-01 06:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbabc3f58012d73f7c00607b2200008012e31..."} 
[2026-08-01 06:03:34] local.INFO: Processing buffer {"connection_id":145861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbabc3f58012d73f7c00607b2200008012e31..."} 
[2026-08-01 06:03:34] local.INFO: Packet analysis {"connection_id":145861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbabc"} 
[2026-08-01 06:03:34] local.INFO: Extracted packet for processing {"connection_id":145861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbabc"} 
[2026-08-01 06:03:34] local.INFO: GPS Element Parsed {"raw_longitude":762574784,"raw_latitude":101167648,"longitude_deg":76.2574784,"latitude_deg":10.1167648,"altitude":8,"angle":302,"satellites":49,"speed":29,"hex_longitude":"2d73f7c0","hex_latitude":"0607b220","is_valid_coordinates":true} 
[2026-08-01 06:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099346688001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365464427983536128,"note":"Value kept but may cause issues"} 
[2026-08-01 06:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8359666096716797952,"note":"Value kept but may cause issues"} 
[2026-08-01 06:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785544327000,"timestamp_ms":1785544327000,"timestamp_seconds":1785544327,"priority":1,"record_length":96,"hex_timestamp":"0000019fbabc3f58"} 
[2026-08-01 06:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:03: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-08-01 06:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-01 06:03:34] 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-08-01 06:03:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099346688001,"66":27310,"20":206,"8":65280,"24":29,"16":365464427983536128,"45":8359666096716797952},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,8,24,16,45]} 
[2026-08-01 06:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099346688001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:03:34] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-01 06:03:34] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 06:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365464427983536128,"km_value":365464427983536.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8359666096716797952,"description":"Unknown IO ID 45"} 
[2026-08-01 06:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099346688001,"power":27310,"unknown_20":206,"unknown_8":65280,"ignition":29,"odometer":null,"unknown_45":8359666096716797952}} 
[2026-08-01 06:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":145861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:03:34] local.INFO: GPS data processed {"connection_id":145861,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:03:34] local.INFO: Acknowledgment sent {"connection_id":145861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:03:56] local.INFO: TCP Data received {"connection_id":146055,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:03:56] local.INFO: Processing buffer {"connection_id":146055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:03:56] local.INFO: IMEI packet received {"connection_id":146055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 06:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":146055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:04:01] local.INFO: TCP Data received {"connection_id":146055,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:04:01] local.INFO: Processing buffer {"connection_id":146055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:04:01] local.INFO: IMEI packet received {"connection_id":146055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":146055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:04:03] local.INFO: TCP Data received {"connection_id":146055,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbabc7220012d73da400607c5e0000901382e..."} 
[2026-08-01 06:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbabc7220012d73da400607c5e0000901382e..."} 
[2026-08-01 06:04:03] local.INFO: Processing buffer {"connection_id":146055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbabc7220012d73da400607c5e0000901382e..."} 
[2026-08-01 06:04:03] local.INFO: Packet analysis {"connection_id":146055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbabc"} 
[2026-08-01 06:04:03] local.INFO: Extracted packet for processing {"connection_id":146055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbabc"} 
[2026-08-01 06:04:03] local.INFO: GPS Element Parsed {"raw_longitude":762567232,"raw_latitude":101172704,"longitude_deg":76.2567232,"latitude_deg":10.1172704,"altitude":9,"angle":312,"satellites":46,"speed":25,"hex_longitude":"2d73da40","hex_latitude":"0607c5e0","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099347712001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365464866070200320,"note":"Value kept but may cause issues"} 
[2026-08-01 06:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8356358765740695552,"note":"Value kept but may cause issues"} 
[2026-08-01 06:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785544340000,"timestamp_ms":1785544340000,"timestamp_seconds":1785544340,"priority":1,"record_length":96,"hex_timestamp":"0000019fbabc7220"} 
[2026-08-01 06:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-01 06:04: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-08-01 06: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-08-01 06:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099347712001,"66":27365,"20":206,"8":65280,"24":25,"16":365464866070200320,"45":8356358765740695552},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,8,24,16,45]} 
[2026-08-01 06:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099347712001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:04:03] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-01 06:04:03] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 06:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365464866070200320,"km_value":365464866070200.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8356358765740695552,"description":"Unknown IO ID 45"} 
[2026-08-01 06:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099347712001,"power":27365,"unknown_20":206,"unknown_8":65280,"ignition":25,"odometer":null,"unknown_45":8356358765740695552}} 
[2026-08-01 06:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":146055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:04:03] local.INFO: GPS data processed {"connection_id":146055,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:04:03] local.INFO: Acknowledgment sent {"connection_id":146055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:04:40] local.INFO: TCP Data received {"connection_id":146055,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbabdcdc8012d7372400608a788000a015d2f..."} 
[2026-08-01 06:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbabdcdc8012d7372400608a788000a015d2f..."} 
[2026-08-01 06:04:40] local.INFO: Processing buffer {"connection_id":146055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbabdcdc8012d7372400608a788000a015d2f..."} 
[2026-08-01 06:04:40] local.INFO: Packet analysis {"connection_id":146055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbabd"} 
[2026-08-01 06:04:40] local.INFO: Extracted packet for processing {"connection_id":146055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbabd"} 
[2026-08-01 06:04:40] local.INFO: GPS Element Parsed {"raw_longitude":762540608,"raw_latitude":101230472,"longitude_deg":76.2540608,"latitude_deg":10.1230472,"altitude":10,"angle":349,"satellites":47,"speed":8,"hex_longitude":"2d737240","hex_latitude":"0608a788","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099370752001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365468009986260992,"note":"Value kept but may cause issues"} 
[2026-08-01 06:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8321948449853016064,"note":"Value kept but may cause issues"} 
[2026-08-01 06:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785544429000,"timestamp_ms":1785544429000,"timestamp_seconds":1785544429,"priority":1,"record_length":96,"hex_timestamp":"0000019fbabdcdc8"} 
[2026-08-01 06:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:04: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-08-01 06: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":104,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-08-01 06:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2203,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06: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-08-01 06:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099370752001,"66":27343,"20":206,"8":65280,"24":8,"16":365468009986260992,"45":8321948449853016064},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,8,24,16,45]} 
[2026-08-01 06:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099370752001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:04:40] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-01 06:04:40] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 06:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365468009986260992,"km_value":365468009986261.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8321948449853016064,"description":"Unknown IO ID 45"} 
[2026-08-01 06:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099370752001,"power":27343,"unknown_20":206,"unknown_8":65280,"ignition":8,"odometer":null,"unknown_45":8321948449853016064}} 
[2026-08-01 06:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":146055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:04:40] local.INFO: GPS data processed {"connection_id":146055,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:04:40] local.INFO: Acknowledgment sent {"connection_id":146055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:05:01] local.INFO: TCP Data received {"connection_id":146056,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:05:01] local.INFO: Processing buffer {"connection_id":146056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:05:01] local.INFO: IMEI packet received {"connection_id":146056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 06:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":146056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:05:07] local.INFO: TCP Data received {"connection_id":146056,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:05:07] local.INFO: Processing buffer {"connection_id":146056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:05:07] local.INFO: IMEI packet received {"connection_id":146056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":146056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:05:08] local.INFO: TCP Data received {"connection_id":146056,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbabdd1b0012d7372000608a850000a014f31..."} 
[2026-08-01 06:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbabdd1b0012d7372000608a850000a014f31..."} 
[2026-08-01 06:05:08] local.INFO: Processing buffer {"connection_id":146056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbabdd1b0012d7372000608a850000a014f31..."} 
[2026-08-01 06:05:08] local.INFO: Packet analysis {"connection_id":146056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbabd"} 
[2026-08-01 06:05:08] local.INFO: Extracted packet for processing {"connection_id":146056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbabd"} 
[2026-08-01 06:05:08] local.INFO: GPS Element Parsed {"raw_longitude":762540544,"raw_latitude":101230672,"longitude_deg":76.2540544,"latitude_deg":10.1230672,"altitude":10,"angle":335,"satellites":49,"speed":8,"hex_longitude":"2d737200","hex_latitude":"0608a850","is_valid_coordinates":true} 
[2026-08-01 06:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099373824001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365468018576195584,"note":"Value kept but may cause issues"} 
[2026-08-01 06:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8318781856365905920,"note":"Value kept but may cause issues"} 
[2026-08-01 06:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785544430000,"timestamp_ms":1785544430000,"timestamp_seconds":1785544430,"priority":1,"record_length":96,"hex_timestamp":"0000019fbabdd1b0"} 
[2026-08-01 06:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:05: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-08-01 06:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-01 06:05: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-08-01 06:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":146056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":146056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":146056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099373824001,"66":27343,"20":206,"8":65280,"24":8,"16":365468018576195584,"45":8318781856365905920},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,8,24,16,45]} 
[2026-08-01 06:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099373824001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:05:08] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-01 06:05:08] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 06:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365468018576195584,"km_value":365468018576195.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8318781856365905920,"description":"Unknown IO ID 45"} 
[2026-08-01 06:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099373824001,"power":27343,"unknown_20":206,"unknown_8":65280,"ignition":8,"odometer":null,"unknown_45":8318781856365905920}} 
[2026-08-01 06:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":146056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:05:08] local.INFO: GPS data processed {"connection_id":146056,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:05:08] local.INFO: Acknowledgment sent {"connection_id":146056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:05:09] local.INFO: TCP Data received {"connection_id":146056,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbabdd598012d7371400608a918000a014230..."} 
[2026-08-01 06:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbabdd598012d7371400608a918000a014230..."} 
[2026-08-01 06:05:09] local.INFO: Processing buffer {"connection_id":146056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbabdd598012d7371400608a918000a014230..."} 
[2026-08-01 06:05:09] local.INFO: Packet analysis {"connection_id":146056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbabd"} 
[2026-08-01 06:05:09] local.INFO: Extracted packet for processing {"connection_id":146056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbabd"} 
[2026-08-01 06:05:09] local.INFO: GPS Element Parsed {"raw_longitude":762540352,"raw_latitude":101230872,"longitude_deg":76.2540352,"latitude_deg":10.1230872,"altitude":10,"angle":322,"satellites":48,"speed":10,"hex_longitude":"2d737140","hex_latitude":"0608a918","is_valid_coordinates":true} 
[2026-08-01 06:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099374080001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365468031461097472,"note":"Value kept but may cause issues"} 
[2026-08-01 06:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8318711487621779456,"note":"Value kept but may cause issues"} 
[2026-08-01 06:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785544431000,"timestamp_ms":1785544431000,"timestamp_seconds":1785544431,"priority":1,"record_length":96,"hex_timestamp":"0000019fbabdd598"} 
[2026-08-01 06:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-01 06:05: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-08-01 06:05:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":146056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":146056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":146056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:05:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099374080001,"66":27365,"20":206,"8":65280,"24":10,"16":365468031461097472,"45":8318711487621779456},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,8,24,16,45]} 
[2026-08-01 06:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099374080001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:05:09] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-01 06:05:09] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 06:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365468031461097472,"km_value":365468031461097.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8318711487621779456,"description":"Unknown IO ID 45"} 
[2026-08-01 06:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099374080001,"power":27365,"unknown_20":206,"unknown_8":65280,"ignition":10,"odometer":null,"unknown_45":8318711487621779456}} 
[2026-08-01 06:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":146056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:05:09] local.INFO: GPS data processed {"connection_id":146056,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:05:09] local.INFO: Acknowledgment sent {"connection_id":146056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:05:42] local.INFO: TCP Data received {"connection_id":146056,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbabe0c48012d735f000608bb900009013431..."} 
[2026-08-01 06:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbabe0c48012d735f000608bb900009013431..."} 
[2026-08-01 06:05:42] local.INFO: Processing buffer {"connection_id":146056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbabe0c48012d735f000608bb900009013431..."} 
[2026-08-01 06:05:42] local.INFO: Packet analysis {"connection_id":146056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbabe"} 
[2026-08-01 06:05:42] local.INFO: Extracted packet for processing {"connection_id":146056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbabe"} 
[2026-08-01 06:05:42] local.INFO: GPS Element Parsed {"raw_longitude":762535680,"raw_latitude":101235600,"longitude_deg":76.253568,"latitude_deg":10.12356,"altitude":9,"angle":308,"satellites":49,"speed":24,"hex_longitude":"2d735f00","hex_latitude":"0608bb90","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099374336001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365468353583644672,"note":"Value kept but may cause issues"} 
[2026-08-01 06:05:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8318500381389297664,"note":"Value kept but may cause issues"} 
[2026-08-01 06:05:42] 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-08-01 06:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785544445000,"timestamp_ms":1785544445000,"timestamp_seconds":1785544445,"priority":1,"record_length":96,"hex_timestamp":"0000019fbabe0c48"} 
[2026-08-01 06:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:05: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-08-01 06: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-01 06:05:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06: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-08-01 06:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":146056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":146056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":146056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099374336001,"66":27245,"233":206,"8":65280,"24":24,"16":365468353583644672,"45":8318500381389297664},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,8,24,16,45]} 
[2026-08-01 06:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099374336001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:05:42] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-08-01 06:05:42] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 06:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365468353583644672,"km_value":365468353583644.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:05:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8318500381389297664,"description":"Unknown IO ID 45"} 
[2026-08-01 06:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099374336001,"power":27245,"unknown_233":206,"unknown_8":65280,"ignition":24,"odometer":null,"unknown_45":8318500381389297664}} 
[2026-08-01 06:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":146056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:05:42] local.INFO: GPS data processed {"connection_id":146056,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:05:42] local.INFO: Acknowledgment sent {"connection_id":146056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:05:57] local.INFO: TCP Data received {"connection_id":147067,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:05:57] local.INFO: Processing buffer {"connection_id":147067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:05:57] local.INFO: IMEI packet received {"connection_id":147067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 06:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":147067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:06:02] local.INFO: TCP Data received {"connection_id":147067,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:06:02] local.INFO: Processing buffer {"connection_id":147067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:06:02] local.INFO: IMEI packet received {"connection_id":147067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":147067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:06:03] local.INFO: TCP Data received {"connection_id":147067,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbabe1418012d735b000608bdf80009012130..."} 
[2026-08-01 06:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbabe1418012d735b000608bdf80009012130..."} 
[2026-08-01 06:06:03] local.INFO: Processing buffer {"connection_id":147067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbabe1418012d735b000608bdf80009012130..."} 
[2026-08-01 06:06:03] local.INFO: Packet analysis {"connection_id":147067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbabe"} 
[2026-08-01 06:06:03] local.INFO: Extracted packet for processing {"connection_id":147067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbabe"} 
[2026-08-01 06:06:03] local.INFO: GPS Element Parsed {"raw_longitude":762534656,"raw_latitude":101236216,"longitude_deg":76.2534656,"latitude_deg":10.1236216,"altitude":9,"angle":289,"satellites":48,"speed":25,"hex_longitude":"2d735b00","hex_latitude":"0608bdf8","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099377920001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365468413713186816,"note":"Value kept but may cause issues"} 
[2026-08-01 06:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8313363463065538560,"note":"Value kept but may cause issues"} 
[2026-08-01 06:06:03] 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-08-01 06:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785544447000,"timestamp_ms":1785544447000,"timestamp_seconds":1785544447,"priority":1,"record_length":96,"hex_timestamp":"0000019fbabe1418"} 
[2026-08-01 06:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-01 06:06:03] 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-08-01 06: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-08-01 06:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099377920001,"66":26832,"233":206,"8":65280,"24":25,"16":365468413713186816,"45":8313363463065538560},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,8,24,16,45]} 
[2026-08-01 06:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099377920001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:06:03] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-08-01 06:06:03] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 06:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365468413713186816,"km_value":365468413713186.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8313363463065538560,"description":"Unknown IO ID 45"} 
[2026-08-01 06:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099377920001,"power":26832,"unknown_233":206,"unknown_8":65280,"ignition":25,"odometer":null,"unknown_45":8313363463065538560}} 
[2026-08-01 06:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":147067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:06:03] local.INFO: GPS data processed {"connection_id":147067,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:06:03] local.INFO: Acknowledgment sent {"connection_id":147067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:06:34] local.INFO: TCP Data received {"connection_id":147067,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbabfb228012d721f400608a728000a01072c..."} 
[2026-08-01 06:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbabfb228012d721f400608a728000a01072c..."} 
[2026-08-01 06:06:34] local.INFO: Processing buffer {"connection_id":147067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbabfb228012d721f400608a728000a01072c..."} 
[2026-08-01 06:06:34] local.INFO: Packet analysis {"connection_id":147067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbabf"} 
[2026-08-01 06:06:34] local.INFO: Extracted packet for processing {"connection_id":147067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbabf"} 
[2026-08-01 06:06:34] local.INFO: GPS Element Parsed {"raw_longitude":762453824,"raw_latitude":101230376,"longitude_deg":76.2453824,"latitude_deg":10.1230376,"altitude":10,"angle":263,"satellites":44,"speed":15,"hex_longitude":"2d721f40","hex_latitude":"0608a728","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099403520001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365472438097543168,"note":"Value kept but may cause issues"} 
[2026-08-01 06:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8227654332656269312,"note":"Value kept but may cause issues"} 
[2026-08-01 06:06:34] 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-08-01 06:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785544553000,"timestamp_ms":1785544553000,"timestamp_seconds":1785544553,"priority":1,"record_length":96,"hex_timestamp":"0000019fbabfb228"} 
[2026-08-01 06:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:06: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-08-01 06: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-01 06:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06: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-08-01 06:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099403520001,"66":27267,"233":206,"8":65280,"24":15,"16":365472438097543168,"45":8227654332656269312},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,8,24,16,45]} 
[2026-08-01 06:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099403520001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:06:34] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-08-01 06:06:34] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 06:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365472438097543168,"km_value":365472438097543.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8227654332656269312,"description":"Unknown IO ID 45"} 
[2026-08-01 06:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099403520001,"power":27267,"unknown_233":206,"unknown_8":65280,"ignition":15,"odometer":null,"unknown_45":8227654332656269312}} 
[2026-08-01 06:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":147067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:06:34] local.INFO: GPS data processed {"connection_id":147067,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:06:34] local.INFO: Acknowledgment sent {"connection_id":147067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:07:01] local.INFO: TCP Data received {"connection_id":148387,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:07:01] local.INFO: Processing buffer {"connection_id":148387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:07:01] local.INFO: IMEI packet received {"connection_id":148387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 06:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":148387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:07:03] local.INFO: TCP Data received {"connection_id":148387,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:07:03] local.INFO: Processing buffer {"connection_id":148387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:07:03] local.INFO: IMEI packet received {"connection_id":148387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":148387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:07:10] local.INFO: TCP Data received {"connection_id":148387,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbabfb610012d721dc00608a740000a011c2e..."} 
[2026-08-01 06:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbabfb610012d721dc00608a740000a011c2e..."} 
[2026-08-01 06:07:10] local.INFO: Processing buffer {"connection_id":148387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbabfb610012d721dc00608a740000a011c2e..."} 
[2026-08-01 06:07:10] local.INFO: Packet analysis {"connection_id":148387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbabf"} 
[2026-08-01 06:07:10] local.INFO: Extracted packet for processing {"connection_id":148387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbabf"} 
[2026-08-01 06:07:10] local.INFO: GPS Element Parsed {"raw_longitude":762453440,"raw_latitude":101230400,"longitude_deg":76.245344,"latitude_deg":10.12304,"altitude":10,"angle":284,"satellites":46,"speed":15,"hex_longitude":"2d721dc0","hex_latitude":"0608a740","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099405568001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365472455277412352,"note":"Value kept but may cause issues"} 
[2026-08-01 06:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8223361839260968960,"note":"Value kept but may cause issues"} 
[2026-08-01 06:07:10] 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-08-01 06:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785544554000,"timestamp_ms":1785544554000,"timestamp_seconds":1785544554,"priority":1,"record_length":96,"hex_timestamp":"0000019fbabfb610"} 
[2026-08-01 06:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-01 06:07:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06: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-08-01 06:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":148387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":148387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":148387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:07:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099405568001,"66":27267,"233":206,"8":65280,"24":15,"16":365472455277412352,"45":8223361839260968960},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,8,24,16,45]} 
[2026-08-01 06:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099405568001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:07:10] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-08-01 06:07:10] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 06:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365472455277412352,"km_value":365472455277412.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8223361839260968960,"description":"Unknown IO ID 45"} 
[2026-08-01 06:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099405568001,"power":27267,"unknown_233":206,"unknown_8":65280,"ignition":15,"odometer":null,"unknown_45":8223361839260968960}} 
[2026-08-01 06:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":148387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:07:10] local.INFO: GPS data processed {"connection_id":148387,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:07:10] local.INFO: Acknowledgment sent {"connection_id":148387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:07:15] local.INFO: TCP Data received {"connection_id":148387,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbabfb9f8012d721c400608a800000a01322c..."} 
[2026-08-01 06:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbabfb9f8012d721c400608a800000a01322c..."} 
[2026-08-01 06:07:15] local.INFO: Processing buffer {"connection_id":148387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbabfb9f8012d721c400608a800000a01322c..."} 
[2026-08-01 06:07:15] local.INFO: Packet analysis {"connection_id":148387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbabf"} 
[2026-08-01 06:07:15] local.INFO: Extracted packet for processing {"connection_id":148387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbabf"} 
[2026-08-01 06:07:15] local.INFO: GPS Element Parsed {"raw_longitude":762453056,"raw_latitude":101230592,"longitude_deg":76.2453056,"latitude_deg":10.1230592,"altitude":10,"angle":306,"satellites":44,"speed":17,"hex_longitude":"2d721c40","hex_latitude":"0608a800","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099405824001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365472476752248832,"note":"Value kept but may cause issues"} 
[2026-08-01 06:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8222939626795909120,"note":"Value kept but may cause issues"} 
[2026-08-01 06:07:15] 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-08-01 06:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785544555000,"timestamp_ms":1785544555000,"timestamp_seconds":1785544555,"priority":1,"record_length":96,"hex_timestamp":"0000019fbabfb9f8"} 
[2026-08-01 06:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:07:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-01 06:07:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06: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-08-01 06:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099405824001,"66":27289,"233":206,"8":65280,"24":17,"16":365472476752248832,"45":8222939626795909120},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,8,24,16,45]} 
[2026-08-01 06:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099405824001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:07:15] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-08-01 06:07:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 06:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365472476752248832,"km_value":365472476752248.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8222939626795909120,"description":"Unknown IO ID 45"} 
[2026-08-01 06:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099405824001,"power":27289,"unknown_233":206,"unknown_8":65280,"ignition":17,"odometer":null,"unknown_45":8222939626795909120}} 
[2026-08-01 06:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":148387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:07:15] local.INFO: GPS data processed {"connection_id":148387,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:07:15] local.INFO: Acknowledgment sent {"connection_id":148387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:07:56] local.INFO: TCP Data received {"connection_id":145862,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:07:56] local.INFO: Processing buffer {"connection_id":145862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:07:56] local.INFO: IMEI packet received {"connection_id":145862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 06:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":145862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:08:01] local.INFO: TCP Data received {"connection_id":145862,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:08:01] local.INFO: Processing buffer {"connection_id":145862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:08:01] local.INFO: IMEI packet received {"connection_id":145862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":145862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:08:03] local.INFO: TCP Data received {"connection_id":145862,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbabfbde0012d721b400608a928000a01412e..."} 
[2026-08-01 06:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbabfbde0012d721b400608a928000a01412e..."} 
[2026-08-01 06:08:03] local.INFO: Processing buffer {"connection_id":145862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbabfbde0012d721b400608a928000a01412e..."} 
[2026-08-01 06:08:03] local.INFO: Packet analysis {"connection_id":145862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbabf"} 
[2026-08-01 06:08:03] local.INFO: Extracted packet for processing {"connection_id":145862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbabf"} 
[2026-08-01 06:08:03] local.INFO: GPS Element Parsed {"raw_longitude":762452800,"raw_latitude":101230888,"longitude_deg":76.24528,"latitude_deg":10.1230888,"altitude":10,"angle":321,"satellites":46,"speed":17,"hex_longitude":"2d721b40","hex_latitude":"0608a928","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099406080001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365472498227085312,"note":"Value kept but may cause issues"} 
[2026-08-01 06:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8222517414330892288,"note":"Value kept but may cause issues"} 
[2026-08-01 06:08:03] 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-08-01 06:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785544556000,"timestamp_ms":1785544556000,"timestamp_seconds":1785544556,"priority":1,"record_length":96,"hex_timestamp":"0000019fbabfbde0"} 
[2026-08-01 06:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06: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":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-01 06:08:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06: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-08-01 06:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099406080001,"66":27289,"233":206,"8":65280,"24":17,"16":365472498227085312,"45":8222517414330892288},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,8,24,16,45]} 
[2026-08-01 06:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099406080001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:08:03] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-08-01 06:08:03] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 06:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365472498227085312,"km_value":365472498227085.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8222517414330892288,"description":"Unknown IO ID 45"} 
[2026-08-01 06:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099406080001,"power":27289,"unknown_233":206,"unknown_8":65280,"ignition":17,"odometer":null,"unknown_45":8222517414330892288}} 
[2026-08-01 06:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":145862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:08:03] local.INFO: GPS data processed {"connection_id":145862,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:08:03] local.INFO: Acknowledgment sent {"connection_id":145862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:08:35] local.INFO: TCP Data received {"connection_id":145862,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbac13cb0012d71ca8006095488000b014830..."} 
[2026-08-01 06:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbac13cb0012d71ca8006095488000b014830..."} 
[2026-08-01 06:08:35] local.INFO: Processing buffer {"connection_id":145862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbac13cb0012d71ca8006095488000b014830..."} 
[2026-08-01 06:08:35] local.INFO: Packet analysis {"connection_id":145862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbac1"} 
[2026-08-01 06:08:35] local.INFO: Extracted packet for processing {"connection_id":145862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbac1"} 
[2026-08-01 06:08:35] local.INFO: GPS Element Parsed {"raw_longitude":762432128,"raw_latitude":101274760,"longitude_deg":76.2432128,"latitude_deg":10.127476,"altitude":11,"angle":328,"satellites":48,"speed":17,"hex_longitude":"2d71ca80","hex_latitude":"06095488","is_valid_coordinates":true} 
[2026-08-01 06:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099430912001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365474869049032704,"note":"Value kept but may cause issues"} 
[2026-08-01 06:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8200069784949354496,"note":"Value kept but may cause issues"} 
[2026-08-01 06:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785544654000,"timestamp_ms":1785544654000,"timestamp_seconds":1785544654,"priority":1,"record_length":96,"hex_timestamp":"0000019fbac13cb0"} 
[2026-08-01 06:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-01 06:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06:08:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":145862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":145862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":145862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099430912001,"66":27071,"234":206,"8":65280,"24":17,"16":365474869049032704,"45":8200069784949354496},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,8,24,16,45]} 
[2026-08-01 06:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099430912001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:08:35] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-01 06:08:35] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 06:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365474869049032704,"km_value":365474869049032.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8200069784949354496,"description":"Unknown IO ID 45"} 
[2026-08-01 06:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099430912001,"power":27071,"unknown_234":206,"unknown_8":65280,"ignition":17,"odometer":null,"unknown_45":8200069784949354496}} 
[2026-08-01 06:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":145862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:08:35] local.INFO: GPS data processed {"connection_id":145862,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:08:35] local.INFO: Acknowledgment sent {"connection_id":145862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:08:56] local.INFO: TCP Data received {"connection_id":146057,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:08:56] local.INFO: Processing buffer {"connection_id":146057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:08:56] local.INFO: IMEI packet received {"connection_id":146057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 06:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":146057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:09:02] local.INFO: TCP Data received {"connection_id":146057,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:09:02] local.INFO: Processing buffer {"connection_id":146057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:09:02] local.INFO: IMEI packet received {"connection_id":146057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":146057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:09:03] local.INFO: TCP Data received {"connection_id":146057,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbac15808012d71c480060962d0000b01542e..."} 
[2026-08-01 06:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbac15808012d71c480060962d0000b01542e..."} 
[2026-08-01 06:09:03] local.INFO: Processing buffer {"connection_id":146057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbac15808012d71c480060962d0000b01542e..."} 
[2026-08-01 06:09:03] local.INFO: Packet analysis {"connection_id":146057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbac1"} 
[2026-08-01 06:09:03] local.INFO: Extracted packet for processing {"connection_id":146057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbac1"} 
[2026-08-01 06:09:03] local.INFO: GPS Element Parsed {"raw_longitude":762430592,"raw_latitude":101278416,"longitude_deg":76.2430592,"latitude_deg":10.1278416,"altitude":11,"angle":340,"satellites":46,"speed":24,"hex_longitude":"2d71c480","hex_latitude":"060962d0","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099431424001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365475062322561024,"note":"Value kept but may cause issues"} 
[2026-08-01 06:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8199506834996103168,"note":"Value kept but may cause issues"} 
[2026-08-01 06:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785544661000,"timestamp_ms":1785544661000,"timestamp_seconds":1785544661,"priority":1,"record_length":96,"hex_timestamp":"0000019fbac15808"} 
[2026-08-01 06:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06: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":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-01 06:09:03] 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-08-01 06: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-08-01 06:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099431424001,"66":27343,"234":206,"8":65280,"24":24,"16":365475062322561024,"45":8199506834996103168},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,8,24,16,45]} 
[2026-08-01 06:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099431424001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:09:03] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-01 06:09:03] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 06:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365475062322561024,"km_value":365475062322561.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8199506834996103168,"description":"Unknown IO ID 45"} 
[2026-08-01 06:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099431424001,"power":27343,"unknown_234":206,"unknown_8":65280,"ignition":24,"odometer":null,"unknown_45":8199506834996103168}} 
[2026-08-01 06:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":146057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:09:03] local.INFO: GPS data processed {"connection_id":146057,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:09:03] local.INFO: Acknowledgment sent {"connection_id":146057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:09:38] local.INFO: TCP Data received {"connection_id":146057,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbac18ad0012d71b8c006098448000a01582f..."} 
[2026-08-01 06:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbac18ad0012d71b8c006098448000a01582f..."} 
[2026-08-01 06:09:38] local.INFO: Processing buffer {"connection_id":146057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbac18ad0012d71b8c006098448000a01582f..."} 
[2026-08-01 06:09:38] local.INFO: Packet analysis {"connection_id":146057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbac1"} 
[2026-08-01 06:09:38] local.INFO: Extracted packet for processing {"connection_id":146057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbac1"} 
[2026-08-01 06:09:38] local.INFO: GPS Element Parsed {"raw_longitude":762427584,"raw_latitude":101286984,"longitude_deg":76.2427584,"latitude_deg":10.1286984,"altitude":10,"angle":344,"satellites":47,"speed":31,"hex_longitude":"2d71b8c0","hex_latitude":"06098448","is_valid_coordinates":true} 
[2026-08-01 06:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099433216001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365475500409225216,"note":"Value kept but may cause issues"} 
[2026-08-01 06:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8197817985136775168,"note":"Value kept but may cause issues"} 
[2026-08-01 06:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785544674000,"timestamp_ms":1785544674000,"timestamp_seconds":1785544674,"priority":1,"record_length":96,"hex_timestamp":"0000019fbac18ad0"} 
[2026-08-01 06:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:09: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-08-01 06:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-01 06:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099433216001,"66":27376,"234":206,"8":65280,"24":31,"16":365475500409225216,"45":8197817985136775168},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,8,24,16,45]} 
[2026-08-01 06:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099433216001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:09:38] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-01 06:09:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 06:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365475500409225216,"km_value":365475500409225.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8197817985136775168,"description":"Unknown IO ID 45"} 
[2026-08-01 06:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099433216001,"power":27376,"unknown_234":206,"unknown_8":65280,"ignition":31,"odometer":null,"unknown_45":8197817985136775168}} 
[2026-08-01 06:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":146057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:09:38] local.INFO: GPS data processed {"connection_id":146057,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:09:38] local.INFO: Acknowledgment sent {"connection_id":146057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:10:01] local.INFO: TCP Data received {"connection_id":147068,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:10:01] local.INFO: Processing buffer {"connection_id":147068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:10:01] local.INFO: IMEI packet received {"connection_id":147068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 06:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":147068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:10:01] local.INFO: TCP Data received {"connection_id":147068,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:10:01] local.INFO: Processing buffer {"connection_id":147068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:10:01] local.INFO: IMEI packet received {"connection_id":147068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":147068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:10:07] local.INFO: TCP Data received {"connection_id":147068,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:10:07] local.INFO: Processing buffer {"connection_id":147068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:10:07] local.INFO: IMEI packet received {"connection_id":147068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":147068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:10:08] local.INFO: TCP Data received {"connection_id":147068,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbac1b1e0012d71b0400609a188000a01642e..."} 
[2026-08-01 06:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbac1b1e0012d71b0400609a188000a01642e..."} 
[2026-08-01 06:10:08] local.INFO: Processing buffer {"connection_id":147068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbac1b1e0012d71b0400609a188000a01642e..."} 
[2026-08-01 06:10:08] local.INFO: Packet analysis {"connection_id":147068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbac1"} 
[2026-08-01 06:10:08] local.INFO: Extracted packet for processing {"connection_id":147068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbac1"} 
[2026-08-01 06:10:08] local.INFO: GPS Element Parsed {"raw_longitude":762425408,"raw_latitude":101294472,"longitude_deg":76.2425408,"latitude_deg":10.1294472,"altitude":10,"angle":356,"satellites":46,"speed":19,"hex_longitude":"2d71b040","hex_latitude":"0609a188","is_valid_coordinates":true} 
[2026-08-01 06:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099436544001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365475878366347264,"note":"Value kept but may cause issues"} 
[2026-08-01 06:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8194510654162618368,"note":"Value kept but may cause issues"} 
[2026-08-01 06:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785544684000,"timestamp_ms":1785544684000,"timestamp_seconds":1785544684,"priority":1,"record_length":96,"hex_timestamp":"0000019fbac1b1e0"} 
[2026-08-01 06:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-01 06:10:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06:10:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":147068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":147068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":147068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099436544001,"66":27267,"234":206,"8":65280,"24":19,"16":365475878366347264,"45":8194510654162618368},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,8,24,16,45]} 
[2026-08-01 06:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099436544001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:10:08] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-01 06:10:08] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 06:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365475878366347264,"km_value":365475878366347.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8194510654162618368,"description":"Unknown IO ID 45"} 
[2026-08-01 06:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099436544001,"power":27267,"unknown_234":206,"unknown_8":65280,"ignition":19,"odometer":null,"unknown_45":8194510654162618368}} 
[2026-08-01 06:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":147068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:10:08] local.INFO: GPS data processed {"connection_id":147068,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:10:08] local.INFO: Acknowledgment sent {"connection_id":147068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:10:14] local.INFO: TCP Data received {"connection_id":147068,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbac1c950012d71afc00609a8b8000a01572f..."} 
[2026-08-01 06:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbac1c950012d71afc00609a8b8000a01572f..."} 
[2026-08-01 06:10:14] local.INFO: Processing buffer {"connection_id":147068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbac1c950012d71afc00609a8b8000a01572f..."} 
[2026-08-01 06:10:14] local.INFO: Packet analysis {"connection_id":147068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbac1"} 
[2026-08-01 06:10:14] local.INFO: Extracted packet for processing {"connection_id":147068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbac1"} 
[2026-08-01 06:10:14] local.INFO: GPS Element Parsed {"raw_longitude":762425280,"raw_latitude":101296312,"longitude_deg":76.242528,"latitude_deg":10.1296312,"altitude":10,"angle":343,"satellites":47,"speed":13,"hex_longitude":"2d71afc0","hex_latitude":"0609a8b8","is_valid_coordinates":true} 
[2026-08-01 06:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:10:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099439104001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365475968560660480,"note":"Value kept but may cause issues"} 
[2026-08-01 06:10:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8192118116862494720,"note":"Value kept but may cause issues"} 
[2026-08-01 06:10:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785544690000,"timestamp_ms":1785544690000,"timestamp_seconds":1785544690,"priority":1,"record_length":96,"hex_timestamp":"0000019fbac1c950"} 
[2026-08-01 06:10:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:10:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-01 06:10:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06:10:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:10:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":147068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":147068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":147068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:10:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099439104001,"66":27245,"234":206,"8":65280,"24":13,"16":365475968560660480,"45":8192118116862494720},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,8,24,16,45]} 
[2026-08-01 06:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099439104001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:10:14] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-01 06:10:14] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 06:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365475968560660480,"km_value":365475968560660.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:10:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8192118116862494720,"description":"Unknown IO ID 45"} 
[2026-08-01 06:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099439104001,"power":27245,"unknown_234":206,"unknown_8":65280,"ignition":13,"odometer":null,"unknown_45":8192118116862494720}} 
[2026-08-01 06:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":147068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:10:14] local.INFO: GPS data processed {"connection_id":147068,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:10:14] local.INFO: Acknowledgment sent {"connection_id":147068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:10:53] local.INFO: TCP Data received {"connection_id":148388,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:10:53] local.INFO: Processing buffer {"connection_id":148388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:10:53] local.INFO: IMEI packet received {"connection_id":148388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 06:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":148388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:10:57] local.INFO: TCP Data received {"connection_id":148388,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:10:57] local.INFO: Processing buffer {"connection_id":148388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:10:57] local.INFO: IMEI packet received {"connection_id":148388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":148388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:11:02] local.INFO: TCP Data received {"connection_id":148388,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:11:02] local.INFO: Processing buffer {"connection_id":148388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:11:02] local.INFO: IMEI packet received {"connection_id":148388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":148388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:11:04] local.INFO: TCP Data received {"connection_id":148388,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbac207d0012d71a1000609ca10000a014e2b..."} 
[2026-08-01 06:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbac207d0012d71a1000609ca10000a014e2b..."} 
[2026-08-01 06:11:04] local.INFO: Processing buffer {"connection_id":148388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbac207d0012d71a1000609ca10000a014e2b..."} 
[2026-08-01 06:11:04] local.INFO: Packet analysis {"connection_id":148388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbac2"} 
[2026-08-01 06:11:04] local.INFO: Extracted packet for processing {"connection_id":148388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbac2"} 
[2026-08-01 06:11:04] local.INFO: GPS Element Parsed {"raw_longitude":762421504,"raw_latitude":101304848,"longitude_deg":76.2421504,"latitude_deg":10.1304848,"altitude":10,"angle":334,"satellites":43,"speed":28,"hex_longitude":"2d71a100","hex_latitude":"0609ca10","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099440640001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365476423827193856,"note":"Value kept but may cause issues"} 
[2026-08-01 06:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8191977379374610432,"note":"Value kept but may cause issues"} 
[2026-08-01 06:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785544706000,"timestamp_ms":1785544706000,"timestamp_seconds":1785544706,"priority":1,"record_length":96,"hex_timestamp":"0000019fbac207d0"} 
[2026-08-01 06:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-01 06:11: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-08-01 06:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":148388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":148388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":148388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099440640001,"66":26723,"234":206,"8":65280,"24":28,"16":365476423827193856,"45":8191977379374610432},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,8,24,16,45]} 
[2026-08-01 06:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099440640001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:11:04] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-01 06:11:04] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 06:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365476423827193856,"km_value":365476423827193.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8191977379374610432,"description":"Unknown IO ID 45"} 
[2026-08-01 06:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099440640001,"power":26723,"unknown_234":206,"unknown_8":65280,"ignition":28,"odometer":null,"unknown_45":8191977379374610432}} 
[2026-08-01 06:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":148388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:11:04] local.INFO: GPS data processed {"connection_id":148388,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:11:04] local.INFO: Acknowledgment sent {"connection_id":148388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:11:44] local.INFO: TCP Data received {"connection_id":148388,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbac44220012d70cec0060b78b0000b013e2e..."} 
[2026-08-01 06:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbac44220012d70cec0060b78b0000b013e2e..."} 
[2026-08-01 06:11:44] local.INFO: Processing buffer {"connection_id":148388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbac44220012d70cec0060b78b0000b013e2e..."} 
[2026-08-01 06:11:44] local.INFO: Packet analysis {"connection_id":148388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbac4"} 
[2026-08-01 06:11:44] local.INFO: Extracted packet for processing {"connection_id":148388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbac4"} 
[2026-08-01 06:11:44] local.INFO: GPS Element Parsed {"raw_longitude":762367680,"raw_latitude":101415088,"longitude_deg":76.236768,"latitude_deg":10.1415088,"altitude":11,"angle":318,"satellites":46,"speed":27,"hex_longitude":"2d70cec0","hex_latitude":"060b78b0","is_valid_coordinates":true} 
[2026-08-01 06:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099479296001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365482393831735296,"note":"Value kept but may cause issues"} 
[2026-08-01 06:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8132938003037911040,"note":"Value kept but may cause issues"} 
[2026-08-01 06:11:44] 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-08-01 06:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785544852000,"timestamp_ms":1785544852000,"timestamp_seconds":1785544852,"priority":1,"record_length":96,"hex_timestamp":"0000019fbac44220"} 
[2026-08-01 06:11:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:11: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-08-01 06:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-01 06:11:44] 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-08-01 06:11: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-08-01 06:11:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":148388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":148388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":148388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:11:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099479296001,"66":27376,"30":206,"8":65280,"24":27,"16":365482393831735296,"45":8132938003037911040},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,8,24,16,45]} 
[2026-08-01 06:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099479296001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:11:44] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-01 06:11:44] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 06:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365482393831735296,"km_value":365482393831735.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8132938003037911040,"description":"Unknown IO ID 45"} 
[2026-08-01 06:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099479296001,"power":27376,"unknown_30":206,"unknown_8":65280,"ignition":27,"odometer":null,"unknown_45":8132938003037911040}} 
[2026-08-01 06:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":148388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:11:44] local.INFO: GPS data processed {"connection_id":148388,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:11:44] local.INFO: Acknowledgment sent {"connection_id":148388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:11:58] local.INFO: TCP Data received {"connection_id":146058,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:11:58] local.INFO: Processing buffer {"connection_id":146058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:11:58] local.INFO: IMEI packet received {"connection_id":146058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 06:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":146058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:12:01] local.INFO: TCP Data received {"connection_id":146058,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:12:01] local.INFO: Processing buffer {"connection_id":146058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:12:01] local.INFO: IMEI packet received {"connection_id":146058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":146058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:12:04] local.INFO: TCP Data received {"connection_id":146058,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbac44220012d70cec0060b78b0000b013e2e..."} 
[2026-08-01 06:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbac44220012d70cec0060b78b0000b013e2e..."} 
[2026-08-01 06:12:04] local.INFO: Processing buffer {"connection_id":146058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbac44220012d70cec0060b78b0000b013e2e..."} 
[2026-08-01 06:12:04] local.INFO: Packet analysis {"connection_id":146058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbac4"} 
[2026-08-01 06:12:04] local.INFO: Extracted packet for processing {"connection_id":146058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbac4"} 
[2026-08-01 06:12:04] local.INFO: GPS Element Parsed {"raw_longitude":762367680,"raw_latitude":101415088,"longitude_deg":76.236768,"latitude_deg":10.1415088,"altitude":11,"angle":318,"satellites":46,"speed":27,"hex_longitude":"2d70cec0","hex_latitude":"060b78b0","is_valid_coordinates":true} 
[2026-08-01 06:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099482112001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365482393831735296,"note":"Value kept but may cause issues"} 
[2026-08-01 06:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8128645509645119488,"note":"Value kept but may cause issues"} 
[2026-08-01 06:12:04] 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-08-01 06:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785544852000,"timestamp_ms":1785544852000,"timestamp_seconds":1785544852,"priority":1,"record_length":96,"hex_timestamp":"0000019fbac44220"} 
[2026-08-01 06:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-01 06:12: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-08-01 06:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099482112001,"66":27376,"30":206,"8":65280,"24":27,"16":365482393831735296,"45":8128645509645119488},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,8,24,16,45]} 
[2026-08-01 06:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099482112001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:12:04] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-01 06:12:04] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 06:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365482393831735296,"km_value":365482393831735.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8128645509645119488,"description":"Unknown IO ID 45"} 
[2026-08-01 06:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099482112001,"power":27376,"unknown_30":206,"unknown_8":65280,"ignition":27,"odometer":null,"unknown_45":8128645509645119488}} 
[2026-08-01 06:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":146058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:12:04] local.INFO: GPS data processed {"connection_id":146058,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:12:04] local.INFO: Acknowledgment sent {"connection_id":146058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:12:38] local.INFO: TCP Data received {"connection_id":146058,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbac44608012d70cd00060b7a68000c013130..."} 
[2026-08-01 06:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbac44608012d70cd00060b7a68000c013130..."} 
[2026-08-01 06:12:38] local.INFO: Processing buffer {"connection_id":146058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbac44608012d70cd00060b7a68000c013130..."} 
[2026-08-01 06:12:38] local.INFO: Packet analysis {"connection_id":146058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbac4"} 
[2026-08-01 06:12:38] local.INFO: Extracted packet for processing {"connection_id":146058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbac4"} 
[2026-08-01 06:12:38] local.INFO: GPS Element Parsed {"raw_longitude":762367232,"raw_latitude":101415528,"longitude_deg":76.2367232,"latitude_deg":10.1415528,"altitude":12,"angle":305,"satellites":48,"speed":26,"hex_longitude":"2d70cd00","hex_latitude":"060b7a68","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099482112001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365482423896506368,"note":"Value kept but may cause issues"} 
[2026-08-01 06:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8128645509645119488,"note":"Value kept but may cause issues"} 
[2026-08-01 06:12:38] 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-08-01 06:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785544853000,"timestamp_ms":1785544853000,"timestamp_seconds":1785544853,"priority":1,"record_length":96,"hex_timestamp":"0000019fbac44608"} 
[2026-08-01 06:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-01 06:12: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-08-01 06: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-08-01 06:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099482112001,"66":27332,"30":206,"8":65280,"24":26,"16":365482423896506368,"45":8128645509645119488},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,8,24,16,45]} 
[2026-08-01 06:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099482112001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:12:38] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-01 06:12:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 06:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365482423896506368,"km_value":365482423896506.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8128645509645119488,"description":"Unknown IO ID 45"} 
[2026-08-01 06:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099482112001,"power":27332,"unknown_30":206,"unknown_8":65280,"ignition":26,"odometer":null,"unknown_45":8128645509645119488}} 
[2026-08-01 06:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":146058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:12:38] local.INFO: GPS data processed {"connection_id":146058,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:12:38] local.INFO: Acknowledgment sent {"connection_id":146058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:12:56] local.INFO: TCP Data received {"connection_id":148389,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:12:56] local.INFO: Processing buffer {"connection_id":148389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:12:56] local.INFO: IMEI packet received {"connection_id":148389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 06:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":148389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:13:02] local.INFO: TCP Data received {"connection_id":148389,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:13:02] local.INFO: Processing buffer {"connection_id":148389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:13:02] local.INFO: IMEI packet received {"connection_id":148389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":148389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:13:17] local.INFO: TCP Data received {"connection_id":148389,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbac54bc0012d701140060b61b0000901052d..."} 
[2026-08-01 06:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbac54bc0012d701140060b61b0000901052d..."} 
[2026-08-01 06:13:17] local.INFO: Processing buffer {"connection_id":148389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbac54bc0012d701140060b61b0000901052d..."} 
[2026-08-01 06:13:17] local.INFO: Packet analysis {"connection_id":148389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbac5"} 
[2026-08-01 06:13:17] local.INFO: Extracted packet for processing {"connection_id":148389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbac5"} 
[2026-08-01 06:13:17] local.INFO: GPS Element Parsed {"raw_longitude":762319168,"raw_latitude":101409200,"longitude_deg":76.2319168,"latitude_deg":10.14092,"altitude":9,"angle":261,"satellites":45,"speed":34,"hex_longitude":"2d701140","hex_latitude":"060b61b0","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099496448001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365484867732897792,"note":"Value kept but may cause issues"} 
[2026-08-01 06:13:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8085368731974602752,"note":"Value kept but may cause issues"} 
[2026-08-01 06:13:17] 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-08-01 06:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785544920000,"timestamp_ms":1785544920000,"timestamp_seconds":1785544920,"priority":1,"record_length":96,"hex_timestamp":"0000019fbac54bc0"} 
[2026-08-01 06:13:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:13:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-01 06:13:17] 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-08-01 06: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-08-01 06:13:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:13:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099496448001,"66":27767,"30":206,"8":65280,"24":34,"16":365484867732897792,"45":8085368731974602752},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,8,24,16,45]} 
[2026-08-01 06:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099496448001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:13:17] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-01 06:13:17] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 06:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365484867732897792,"km_value":365484867732897.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:13:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8085368731974602752,"description":"Unknown IO ID 45"} 
[2026-08-01 06:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099496448001,"power":27767,"unknown_30":206,"unknown_8":65280,"ignition":34,"odometer":null,"unknown_45":8085368731974602752}} 
[2026-08-01 06:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":148389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:13:17] local.INFO: GPS data processed {"connection_id":148389,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:13:17] local.INFO: Acknowledgment sent {"connection_id":148389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:14:11] local.INFO: TCP Data received {"connection_id":146059,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:14:11] local.INFO: Processing buffer {"connection_id":146059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:14:11] local.INFO: IMEI packet received {"connection_id":146059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 06:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":146059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:14:16] local.INFO: TCP Data received {"connection_id":146059,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:14:16] local.INFO: Processing buffer {"connection_id":146059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:14:16] local.INFO: IMEI packet received {"connection_id":146059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":146059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:14:17] local.INFO: TCP Data received {"connection_id":146059,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbac64d90012d6f8800060bb2b0000c01472c..."} 
[2026-08-01 06:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbac64d90012d6f8800060bb2b0000c01472c..."} 
[2026-08-01 06:14:17] local.INFO: Processing buffer {"connection_id":146059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbac64d90012d6f8800060bb2b0000c01472c..."} 
[2026-08-01 06:14:17] local.INFO: Packet analysis {"connection_id":146059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbac6"} 
[2026-08-01 06:14:17] local.INFO: Extracted packet for processing {"connection_id":146059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbac6"} 
[2026-08-01 06:14:17] local.INFO: GPS Element Parsed {"raw_longitude":762284032,"raw_latitude":101429936,"longitude_deg":76.2284032,"latitude_deg":10.1429936,"altitude":12,"angle":327,"satellites":44,"speed":40,"hex_longitude":"2d6f8800","hex_latitude":"060bb2b0","is_valid_coordinates":true} 
[2026-08-01 06:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099513856001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365487491957915648,"note":"Value kept but may cause issues"} 
[2026-08-01 06:14:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8041669741843095552,"note":"Value kept but may cause issues"} 
[2026-08-01 06:14:17] 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-08-01 06:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785544986000,"timestamp_ms":1785544986000,"timestamp_seconds":1785544986,"priority":1,"record_length":96,"hex_timestamp":"0000019fbac64d90"} 
[2026-08-01 06:14:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:14:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 06:14:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06:14:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:14:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":146059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":146059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":146059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:14:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099513856001,"66":27821,"30":206,"8":65280,"24":40,"16":365487491957915648,"45":8041669741843095552},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,8,24,16,45]} 
[2026-08-01 06:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099513856001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:14:17] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-01 06:14:17] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 06:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365487491957915648,"km_value":365487491957915.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:14:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8041669741843095552,"description":"Unknown IO ID 45"} 
[2026-08-01 06:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099513856001,"power":27821,"unknown_30":206,"unknown_8":65280,"ignition":40,"odometer":null,"unknown_45":8041669741843095552}} 
[2026-08-01 06:14:17] local.INFO: DEBUG: GPS processor result {"connection_id":146059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:14:17] local.INFO: GPS data processed {"connection_id":146059,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:14:17] local.INFO: Acknowledgment sent {"connection_id":146059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:15:02] local.INFO: TCP Data received {"connection_id":147069,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:15:02] local.INFO: Processing buffer {"connection_id":147069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:15:02] local.INFO: IMEI packet received {"connection_id":147069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 06:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":147069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:15:04] local.INFO: TCP Data received {"connection_id":147069,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:15:04] local.INFO: Processing buffer {"connection_id":147069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:15:04] local.INFO: IMEI packet received {"connection_id":147069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":147069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:15:06] local.INFO: TCP Data received {"connection_id":147069,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:15:06] local.INFO: Processing buffer {"connection_id":147069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:15:06] local.INFO: IMEI packet received {"connection_id":147069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":147069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:15:11] local.INFO: TCP Data received {"connection_id":147069,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:15:11] local.INFO: Processing buffer {"connection_id":147069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:15:11] local.INFO: IMEI packet received {"connection_id":147069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":147069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:15:12] local.INFO: TCP Data received {"connection_id":147069,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbac674a0012d6f74c0060bd2a0000d01432f..."} 
[2026-08-01 06:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbac674a0012d6f74c0060bd2a0000d01432f..."} 
[2026-08-01 06:15:12] local.INFO: Processing buffer {"connection_id":147069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbac674a0012d6f74c0060bd2a0000d01432f..."} 
[2026-08-01 06:15:12] local.INFO: Packet analysis {"connection_id":147069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbac6"} 
[2026-08-01 06:15:12] local.INFO: Extracted packet for processing {"connection_id":147069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbac6"} 
[2026-08-01 06:15:12] local.INFO: GPS Element Parsed {"raw_longitude":762279104,"raw_latitude":101438112,"longitude_deg":76.2279104,"latitude_deg":10.1438112,"altitude":13,"angle":323,"satellites":47,"speed":34,"hex_longitude":"2d6f74c0","hex_latitude":"060bd2a0","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099516416001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365487951519416320,"note":"Value kept but may cause issues"} 
[2026-08-01 06:15:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8036673561008713728,"note":"Value kept but may cause issues"} 
[2026-08-01 06:15:12] 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-08-01 06:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785544996000,"timestamp_ms":1785544996000,"timestamp_seconds":1785544996,"priority":1,"record_length":96,"hex_timestamp":"0000019fbac674a0"} 
[2026-08-01 06:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 06:15:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06: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-08-01 06:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":147069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":147069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":147069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099516416001,"66":27658,"30":206,"8":65280,"24":34,"16":365487951519416320,"45":8036673561008713728},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,8,24,16,45]} 
[2026-08-01 06:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099516416001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:15:12] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-01 06:15:12] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 06:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365487951519416320,"km_value":365487951519416.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:15:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8036673561008713728,"description":"Unknown IO ID 45"} 
[2026-08-01 06:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099516416001,"power":27658,"unknown_30":206,"unknown_8":65280,"ignition":34,"odometer":null,"unknown_45":8036673561008713728}} 
[2026-08-01 06:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":147069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:15:12] local.INFO: GPS data processed {"connection_id":147069,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:15:12] local.INFO: Acknowledgment sent {"connection_id":147069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:15:17] local.INFO: TCP Data received {"connection_id":147069,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbac69f98012d6f5f80060bef40000c01432d..."} 
[2026-08-01 06:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbac69f98012d6f5f80060bef40000c01432d..."} 
[2026-08-01 06:15:17] local.INFO: Processing buffer {"connection_id":147069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbac69f98012d6f5f80060bef40000c01432d..."} 
[2026-08-01 06:15:17] local.INFO: Packet analysis {"connection_id":147069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbac6"} 
[2026-08-01 06:15:17] local.INFO: Extracted packet for processing {"connection_id":147069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbac6"} 
[2026-08-01 06:15:17] local.INFO: GPS Element Parsed {"raw_longitude":762273664,"raw_latitude":101445440,"longitude_deg":76.2273664,"latitude_deg":10.144544,"altitude":12,"angle":323,"satellites":45,"speed":25,"hex_longitude":"2d6f5f80","hex_latitude":"060bef40","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:15:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099518976001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:15:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365488393901047808,"note":"Value kept but may cause issues"} 
[2026-08-01 06:15:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8031255167709126656,"note":"Value kept but may cause issues"} 
[2026-08-01 06:15:17] 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-08-01 06:15:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785545007000,"timestamp_ms":1785545007000,"timestamp_seconds":1785545007,"priority":1,"record_length":96,"hex_timestamp":"0000019fbac69f98"} 
[2026-08-01 06:15:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:15:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 06:15:17] 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-08-01 06: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-08-01 06:15:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:15:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:15:17] local.INFO: Teltonika packet parsed successfully {"connection_id":147069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:15:17] local.INFO: Passing IMEI to GPS processor {"connection_id":147069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:15:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":147069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:15:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:15:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:15:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:15:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099518976001,"66":27626,"30":206,"8":65280,"24":25,"16":365488393901047808,"45":8031255167709126656},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,8,24,16,45]} 
[2026-08-01 06:15:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:15:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:15:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099518976001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:15:17] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-01 06:15:17] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 06:15:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365488393901047808,"km_value":365488393901047.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:15:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8031255167709126656,"description":"Unknown IO ID 45"} 
[2026-08-01 06:15:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099518976001,"power":27626,"unknown_30":206,"unknown_8":65280,"ignition":25,"odometer":null,"unknown_45":8031255167709126656}} 
[2026-08-01 06:15:17] local.INFO: DEBUG: GPS processor result {"connection_id":147069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:15:17] local.INFO: GPS data processed {"connection_id":147069,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:15:17] local.INFO: Acknowledgment sent {"connection_id":147069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:15:56] local.INFO: TCP Data received {"connection_id":147070,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:15:56] local.INFO: Processing buffer {"connection_id":147070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:15:56] local.INFO: IMEI packet received {"connection_id":147070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 06:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":147070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:16:01] local.INFO: TCP Data received {"connection_id":147070,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:16:01] local.INFO: Processing buffer {"connection_id":147070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:16:01] local.INFO: IMEI packet received {"connection_id":147070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":147070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:16:02] local.INFO: TCP Data received {"connection_id":147070,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbac6e5e8012d6f49c0060c0bb0000c01442f..."} 
[2026-08-01 06:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbac6e5e8012d6f49c0060c0bb0000c01442f..."} 
[2026-08-01 06:16:02] local.INFO: Processing buffer {"connection_id":147070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbac6e5e8012d6f49c0060c0bb0000c01442f..."} 
[2026-08-01 06:16:02] local.INFO: Packet analysis {"connection_id":147070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbac6"} 
[2026-08-01 06:16:02] local.INFO: Extracted packet for processing {"connection_id":147070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbac6"} 
[2026-08-01 06:16:02] local.INFO: GPS Element Parsed {"raw_longitude":762268096,"raw_latitude":101452720,"longitude_deg":76.2268096,"latitude_deg":10.145272,"altitude":12,"angle":324,"satellites":47,"speed":21,"hex_longitude":"2d6f49c0","hex_latitude":"060c0bb0","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099521792001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365488836282679296,"note":"Value kept but may cause issues"} 
[2026-08-01 06:16:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8025273824455901184,"note":"Value kept but may cause issues"} 
[2026-08-01 06:16: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-08-01 06:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785545025000,"timestamp_ms":1785545025000,"timestamp_seconds":1785545025,"priority":1,"record_length":96,"hex_timestamp":"0000019fbac6e5e8"} 
[2026-08-01 06:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:16: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-08-01 06: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-01 06:16: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-08-01 06: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-08-01 06:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":147070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":147070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":147070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:16:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099521792001,"66":27789,"241":206,"8":65280,"24":21,"16":365488836282679296,"45":8025273824455901184},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,8,24,16,45]} 
[2026-08-01 06:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099521792001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:16:02] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-01 06:16:02] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 06:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365488836282679296,"km_value":365488836282679.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:16:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8025273824455901184,"description":"Unknown IO ID 45"} 
[2026-08-01 06:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099521792001,"power":27789,"unknown_241":206,"unknown_8":65280,"ignition":21,"odometer":null,"unknown_45":8025273824455901184}} 
[2026-08-01 06:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":147070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:16:02] local.INFO: GPS data processed {"connection_id":147070,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:16:02] local.INFO: Acknowledgment sent {"connection_id":147070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:16:04] local.INFO: TCP Data received {"connection_id":147070,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbac72080012d6f34c0060c28f0000f01442f..."} 
[2026-08-01 06:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbac72080012d6f34c0060c28f0000f01442f..."} 
[2026-08-01 06:16:04] local.INFO: Processing buffer {"connection_id":147070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbac72080012d6f34c0060c28f0000f01442f..."} 
[2026-08-01 06:16:04] local.INFO: Packet analysis {"connection_id":147070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbac7"} 
[2026-08-01 06:16:04] local.INFO: Extracted packet for processing {"connection_id":147070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbac7"} 
[2026-08-01 06:16:04] local.INFO: GPS Element Parsed {"raw_longitude":762262720,"raw_latitude":101460208,"longitude_deg":76.226272,"latitude_deg":10.1460208,"altitude":15,"angle":324,"satellites":47,"speed":25,"hex_longitude":"2d6f34c0","hex_latitude":"060c28f0","is_valid_coordinates":true} 
[2026-08-01 06:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099526400001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365489278664310784,"note":"Value kept but may cause issues"} 
[2026-08-01 06:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8019151743714308096,"note":"Value kept but may cause issues"} 
[2026-08-01 06:16:04] 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-08-01 06:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785545040000,"timestamp_ms":1785545040000,"timestamp_seconds":1785545040,"priority":1,"record_length":96,"hex_timestamp":"0000019fbac72080"} 
[2026-08-01 06:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:16: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-08-01 06:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-01 06:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099526400001,"66":27745,"241":206,"8":65280,"24":25,"16":365489278664310784,"45":8019151743714308096},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,8,24,16,45]} 
[2026-08-01 06:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099526400001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:16:04] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-01 06:16:04] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 06:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365489278664310784,"km_value":365489278664310.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8019151743714308096,"description":"Unknown IO ID 45"} 
[2026-08-01 06:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099526400001,"power":27745,"unknown_241":206,"unknown_8":65280,"ignition":25,"odometer":null,"unknown_45":8019151743714308096}} 
[2026-08-01 06:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":147070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:16:04] local.INFO: GPS data processed {"connection_id":147070,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:16:04] local.INFO: Acknowledgment sent {"connection_id":147070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:16:35] local.INFO: TCP Data received {"connection_id":147070,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbac8d9e8012d6ea440060cd418000a011e2b..."} 
[2026-08-01 06:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbac8d9e8012d6ea440060cd418000a011e2b..."} 
[2026-08-01 06:16:35] local.INFO: Processing buffer {"connection_id":147070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbac8d9e8012d6ea440060cd418000a011e2b..."} 
[2026-08-01 06:16:35] local.INFO: Packet analysis {"connection_id":147070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbac8"} 
[2026-08-01 06:16:35] local.INFO: Extracted packet for processing {"connection_id":147070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbac8"} 
[2026-08-01 06:16:35] local.INFO: GPS Element Parsed {"raw_longitude":762225728,"raw_latitude":101504024,"longitude_deg":76.2225728,"latitude_deg":10.1504024,"altitude":10,"angle":286,"satellites":43,"speed":14,"hex_longitude":"2d6ea440","hex_latitude":"060cd418","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099558912001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365492332386058240,"note":"Value kept but may cause issues"} 
[2026-08-01 06:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7972989847546877952,"note":"Value kept but may cause issues"} 
[2026-08-01 06:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785545153000,"timestamp_ms":1785545153000,"timestamp_seconds":1785545153,"priority":1,"record_length":96,"hex_timestamp":"0000019fbac8d9e8"} 
[2026-08-01 06:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 06:16: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-08-01 06: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-08-01 06:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099558912001,"66":27691,"242":206,"8":65280,"24":14,"16":365492332386058240,"45":7972989847546877952},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,8,24,16,45]} 
[2026-08-01 06:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099558912001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:16:35] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-08-01 06:16:35] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 06:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365492332386058240,"km_value":365492332386058.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":7972989847546877952,"description":"Unknown IO ID 45"} 
[2026-08-01 06:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099558912001,"power":27691,"unknown_242":206,"unknown_8":65280,"ignition":14,"odometer":null,"unknown_45":7972989847546877952}} 
[2026-08-01 06:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":147070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:16:35] local.INFO: GPS data processed {"connection_id":147070,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:16:35] local.INFO: Acknowledgment sent {"connection_id":147070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:16:56] local.INFO: TCP Data received {"connection_id":147071,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:16:56] local.INFO: Processing buffer {"connection_id":147071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:16:56] local.INFO: IMEI packet received {"connection_id":147071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 06:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":147071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:17:01] local.INFO: TCP Data received {"connection_id":147071,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:17:01] local.INFO: Processing buffer {"connection_id":147071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:17:01] local.INFO: IMEI packet received {"connection_id":147071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":147071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:17:02] local.INFO: TCP Data received {"connection_id":147071,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbac8ddd0012d6ea300060cd4d0000a01322b..."} 
[2026-08-01 06:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbac8ddd0012d6ea300060cd4d0000a01322b..."} 
[2026-08-01 06:17:02] local.INFO: Processing buffer {"connection_id":147071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbac8ddd0012d6ea300060cd4d0000a01322b..."} 
[2026-08-01 06:17:02] local.INFO: Packet analysis {"connection_id":147071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbac8"} 
[2026-08-01 06:17:02] local.INFO: Extracted packet for processing {"connection_id":147071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbac8"} 
[2026-08-01 06:17:02] local.INFO: GPS Element Parsed {"raw_longitude":762225408,"raw_latitude":101504208,"longitude_deg":76.2225408,"latitude_deg":10.1504208,"altitude":10,"angle":306,"satellites":43,"speed":16,"hex_longitude":"2d6ea300","hex_latitude":"060cd4d0","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099559168001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365492349565927424,"note":"Value kept but may cause issues"} 
[2026-08-01 06:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7972567635081828352,"note":"Value kept but may cause issues"} 
[2026-08-01 06:17:02] 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-08-01 06:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785545154000,"timestamp_ms":1785545154000,"timestamp_seconds":1785545154,"priority":1,"record_length":96,"hex_timestamp":"0000019fbac8ddd0"} 
[2026-08-01 06:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:17:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06: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":43,"data_length":795,"current_offset":136} 
[2026-08-01 06:17: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-08-01 06: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-08-01 06:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":147071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":147071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":147071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:17:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099559168001,"66":27691,"242":206,"8":65280,"24":16,"16":365492349565927424,"45":7972567635081828352},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,8,24,16,45]} 
[2026-08-01 06:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099559168001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:17:02] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-08-01 06:17:02] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 06:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365492349565927424,"km_value":365492349565927.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7972567635081828352,"description":"Unknown IO ID 45"} 
[2026-08-01 06:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099559168001,"power":27691,"unknown_242":206,"unknown_8":65280,"ignition":16,"odometer":null,"unknown_45":7972567635081828352}} 
[2026-08-01 06:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":147071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:17:02] local.INFO: GPS data processed {"connection_id":147071,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:17:02] local.INFO: Acknowledgment sent {"connection_id":147071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:17:34] local.INFO: TCP Data received {"connection_id":147071,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbac8e1b8012d6ea1c0060cd5f0000a013e2c..."} 
[2026-08-01 06:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbac8e1b8012d6ea1c0060cd5f0000a013e2c..."} 
[2026-08-01 06:17:34] local.INFO: Processing buffer {"connection_id":147071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbac8e1b8012d6ea1c0060cd5f0000a013e2c..."} 
[2026-08-01 06:17:34] local.INFO: Packet analysis {"connection_id":147071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbac8"} 
[2026-08-01 06:17:34] local.INFO: Extracted packet for processing {"connection_id":147071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbac8"} 
[2026-08-01 06:17:34] local.INFO: GPS Element Parsed {"raw_longitude":762225088,"raw_latitude":101504496,"longitude_deg":76.2225088,"latitude_deg":10.1504496,"altitude":10,"angle":318,"satellites":44,"speed":17,"hex_longitude":"2d6ea1c0","hex_latitude":"060cd5f0","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099559424001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365492366745796608,"note":"Value kept but may cause issues"} 
[2026-08-01 06:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7972215791360987136,"note":"Value kept but may cause issues"} 
[2026-08-01 06:17:34] 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-08-01 06:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785545155000,"timestamp_ms":1785545155000,"timestamp_seconds":1785545155,"priority":1,"record_length":96,"hex_timestamp":"0000019fbac8e1b8"} 
[2026-08-01 06:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06: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-08-01 06: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-01 06:17:34] 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-08-01 06: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-08-01 06:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099559424001,"66":27691,"242":206,"8":65280,"24":17,"16":365492366745796608,"45":7972215791360987136},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,8,24,16,45]} 
[2026-08-01 06:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099559424001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:17:34] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-08-01 06:17:34] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-08-01 06:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365492366745796608,"km_value":365492366745796.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7972215791360987136,"description":"Unknown IO ID 45"} 
[2026-08-01 06:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099559424001,"power":27691,"unknown_242":206,"unknown_8":65280,"ignition":17,"odometer":null,"unknown_45":7972215791360987136}} 
[2026-08-01 06:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":147071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:17:34] local.INFO: GPS data processed {"connection_id":147071,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:17:34] local.INFO: Acknowledgment sent {"connection_id":147071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:17:55] local.INFO: TCP Data received {"connection_id":147072,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:17:55] local.INFO: Processing buffer {"connection_id":147072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:17:55] local.INFO: IMEI packet received {"connection_id":147072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 06:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":147072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:17:56] local.INFO: TCP Data received {"connection_id":147072,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:17:56] local.INFO: Processing buffer {"connection_id":147072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:17:56] local.INFO: IMEI packet received {"connection_id":147072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":147072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:17:56] local.INFO: TCP Data received {"connection_id":147072,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:17:56] local.INFO: Processing buffer {"connection_id":147072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:17:56] local.INFO: IMEI packet received {"connection_id":147072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":147072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:17:57] local.INFO: TCP Data received {"connection_id":147072,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:17:57] local.INFO: Processing buffer {"connection_id":147072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:17:57] local.INFO: IMEI packet received {"connection_id":147072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":147072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:21:28] local.INFO: TCP Data received {"connection_id":146061,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146061,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:21:28] local.INFO: Processing buffer {"connection_id":146061,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:21:28] local.INFO: IMEI packet received {"connection_id":146061,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 06:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":146061,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:21:28] local.INFO: TCP Data received {"connection_id":146061,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146061,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:21:28] local.INFO: Processing buffer {"connection_id":146061,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:21:28] local.INFO: IMEI packet received {"connection_id":146061,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":146061,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:21:33] local.INFO: TCP Data received {"connection_id":146061,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146061,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:21:33] local.INFO: Processing buffer {"connection_id":146061,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:21:33] local.INFO: IMEI packet received {"connection_id":146061,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":146061,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:21:33] local.INFO: TCP Data received {"connection_id":146061,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-01 06:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146061,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-01 06:21:33] local.INFO: Processing buffer {"connection_id":146061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-01 06:21:33] local.INFO: Packet analysis {"connection_id":146061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-01 06:21:33] local.INFO: Extracted packet for processing {"connection_id":146061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-01 06:21: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-08-01 06:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113298067582615552,"note":"Value kept but may cause issues"} 
[2026-08-01 06:21:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,214,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-01 06:21:33] 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-08-01 06:21:33] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-01 06:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146061,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146061,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-01 06:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146061,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-01 06:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-01 06:21:33] local.WARNING: DEBUG: No valid data to process  
[2026-08-01 06:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":146061,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-01 06:21:33] local.ERROR: GPS data processing failed {"connection_id":146061,"error":"No valid data to process"} 
[2026-08-01 06:21:33] local.INFO: Acknowledgment sent {"connection_id":146061,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-01 06:22:06] local.INFO: TCP Data received {"connection_id":146061,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-01 06:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146061,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-01 06:22:06] local.INFO: Processing buffer {"connection_id":146061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-01 06:22:06] local.INFO: Packet analysis {"connection_id":146061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-01 06:22:06] local.INFO: Extracted packet for processing {"connection_id":146061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-01 06:22:06] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-01 06:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113298067582615552,"note":"Value kept but may cause issues"} 
[2026-08-01 06:22:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,214,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-01 06:22:06] 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-08-01 06:22:06] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-01 06:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146061,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146061,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-01 06:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146061,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-01 06:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-01 06:22:06] local.WARNING: DEBUG: No valid data to process  
[2026-08-01 06:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":146061,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-01 06:22:06] local.ERROR: GPS data processing failed {"connection_id":146061,"error":"No valid data to process"} 
[2026-08-01 06:22:06] local.INFO: Acknowledgment sent {"connection_id":146061,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-01 06:22:37] local.INFO: TCP Data received {"connection_id":146061,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbace5058012d7e4e4005d057400000004b08..."} 
[2026-08-01 06:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbace5058012d7e4e4005d057400000004b08..."} 
[2026-08-01 06:22:37] local.INFO: Processing buffer {"connection_id":146061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbace5058012d7e4e4005d057400000004b08..."} 
[2026-08-01 06:22:37] local.INFO: Packet analysis {"connection_id":146061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbace"} 
[2026-08-01 06:22:37] local.INFO: Extracted packet for processing {"connection_id":146061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbace"} 
[2026-08-01 06:22:37] local.INFO: GPS Element Parsed {"raw_longitude":763252288,"raw_latitude":97539904,"longitude_deg":76.3252288,"latitude_deg":9.7539904,"altitude":0,"angle":75,"satellites":8,"speed":0,"hex_longitude":"2d7e4e40","hex_latitude":"05d05740","is_valid_coordinates":true} 
[2026-08-01 06:22:37] 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-08-01 06:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113298067582615552,"note":"Value kept but may cause issues"} 
[2026-08-01 06:22:37] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,214,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-01 06:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785545511000,"timestamp_ms":1785545511000,"timestamp_seconds":1785545511,"priority":1,"record_length":96,"hex_timestamp":"0000019fbace5058"} 
[2026-08-01 06:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":512,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-08-01 06:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1547,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:22:37] 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-08-01 06:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":11515,"214":206,"85":15104,"24":0,"16":113298067582615552},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16]} 
[2026-08-01 06:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-01 06:22:37] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-08-01 06:22:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 06:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113298067582615552,"km_value":113298067582615.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:22:37] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":11515,"unknown_214":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-01 06:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":146061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575998,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:22:37] local.INFO: GPS data processed {"connection_id":146061,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:22:37] local.INFO: Acknowledgment sent {"connection_id":146061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:23:02] local.INFO: TCP Data received {"connection_id":148391,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:23:02] local.INFO: Processing buffer {"connection_id":148391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:23:02] local.INFO: IMEI packet received {"connection_id":148391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 06:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":148391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:23:04] local.INFO: TCP Data received {"connection_id":148391,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaccb630012d6d4180060d9ef00008015f30..."} 
[2026-08-01 06:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaccb630012d6d4180060d9ef00008015f30..."} 
[2026-08-01 06:23:04] local.INFO: Processing buffer {"connection_id":148391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaccb630012d6d4180060d9ef00008015f30..."} 
[2026-08-01 06:23:04] local.INFO: Packet analysis {"connection_id":148391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbacc"} 
[2026-08-01 06:23:04] local.INFO: Extracted packet for processing {"connection_id":148391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbacc"} 
[2026-08-01 06:23:04] local.INFO: GPS Element Parsed {"raw_longitude":762134912,"raw_latitude":101555952,"longitude_deg":76.2134912,"latitude_deg":10.1555952,"altitude":8,"angle":351,"satellites":48,"speed":3,"hex_longitude":"2d6d4180","hex_latitude":"060d9ef0","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099618560001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365498766247067648,"note":"Value kept but may cause issues"} 
[2026-08-01 06:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7873629180779360256,"note":"Value kept but may cause issues"} 
[2026-08-01 06:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785545406000,"timestamp_ms":1785545406000,"timestamp_seconds":1785545406,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaccb630"} 
[2026-08-01 06:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:23: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-08-01 06: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":119,"data_length":795,"current_offset":136} 
[2026-08-01 06:23: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-08-01 06: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-08-01 06:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":148391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":148391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":148391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099618560001,"66":27767,"60":206,"19":43264,"24":3,"16":365498766247067648,"45":7873629180779360256},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,19,24,16,45]} 
[2026-08-01 06:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099618560001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:23:04] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-01 06:23:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-08-01 06:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365498766247067648,"km_value":365498766247067.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7873629180779360256,"description":"Unknown IO ID 45"} 
[2026-08-01 06:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099618560001,"power":27767,"unknown_60":206,"unknown_19":43264,"ignition":3,"odometer":null,"unknown_45":7873629180779360256}} 
[2026-08-01 06:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":148391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":575999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:23:05] local.INFO: GPS data processed {"connection_id":148391,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:23:05] local.INFO: Acknowledgment sent {"connection_id":148391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:23:08] local.INFO: TCP Data received {"connection_id":146061,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbace6f98012d7e4d0005d054400004006509..."} 
[2026-08-01 06:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbace6f98012d7e4d0005d054400004006509..."} 
[2026-08-01 06:23:08] local.INFO: Processing buffer {"connection_id":146061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbace6f98012d7e4d0005d054400004006509..."} 
[2026-08-01 06:23:08] local.INFO: Packet analysis {"connection_id":146061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbace"} 
[2026-08-01 06:23:08] local.INFO: Extracted packet for processing {"connection_id":146061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbace"} 
[2026-08-01 06:23:08] local.INFO: GPS Element Parsed {"raw_longitude":763251968,"raw_latitude":97539136,"longitude_deg":76.3251968,"latitude_deg":9.7539136,"altitude":4,"angle":101,"satellites":9,"speed":1,"hex_longitude":"2d7e4d00","hex_latitude":"05d05440","is_valid_coordinates":true} 
[2026-08-01 06:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099650816001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113298114827255808,"note":"Value kept but may cause issues"} 
[2026-08-01 06:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9101282290676744192,"note":"Value kept but may cause issues"} 
[2026-08-01 06:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785545519000,"timestamp_ms":1785545519000,"timestamp_seconds":1785545519,"priority":1,"record_length":96,"hex_timestamp":"0000019fbace6f98"} 
[2026-08-01 06:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:23:08] 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-08-01 06:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":251,"data_length":795,"current_offset":136} 
[2026-08-01 06:23:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2677,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06:23:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":146061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":146061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":146061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:23:08] 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-08-01 06:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099650816001,"66":11547,"214":206,"85":15104,"24":1,"16":113298114827255808,"45":9101282290676744192},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,45]} 
[2026-08-01 06:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099650816001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:23:08] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-08-01 06:23:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 06:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113298114827255808,"km_value":113298114827255.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9101282290676744192,"description":"Unknown IO ID 45"} 
[2026-08-01 06:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099650816001,"power":11547,"unknown_214":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9101282290676744192}} 
[2026-08-01 06:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":146061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576000,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:23:08] local.INFO: GPS data processed {"connection_id":146061,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:23:08] local.INFO: Acknowledgment sent {"connection_id":146061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:23:36] local.INFO: TCP Data received {"connection_id":148391,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbace8ed8012d6d4940060e44780007000e32..."} 
[2026-08-01 06:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbace8ed8012d6d4940060e44780007000e32..."} 
[2026-08-01 06:23:36] local.INFO: Processing buffer {"connection_id":148391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbace8ed8012d6d4940060e44780007000e32..."} 
[2026-08-01 06:23:36] local.INFO: Packet analysis {"connection_id":148391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbace"} 
[2026-08-01 06:23:36] local.INFO: Extracted packet for processing {"connection_id":148391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbace"} 
[2026-08-01 06:23:36] local.INFO: GPS Element Parsed {"raw_longitude":762136896,"raw_latitude":101598328,"longitude_deg":76.2136896,"latitude_deg":10.1598328,"altitude":7,"angle":14,"satellites":50,"speed":12,"hex_longitude":"2d6d4940","hex_latitude":"060e4478","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099649536001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365500896550846464,"note":"Value kept but may cause issues"} 
[2026-08-01 06:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7872855124604473344,"note":"Value kept but may cause issues"} 
[2026-08-01 06:23: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-08-01 06:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785545527000,"timestamp_ms":1785545527000,"timestamp_seconds":1785545527,"priority":1,"record_length":96,"hex_timestamp":"0000019fbace8ed8"} 
[2026-08-01 06:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 06:23: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-08-01 06: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-08-01 06:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099649536001,"66":27745,"59":206,"19":43264,"24":12,"16":365500896550846464,"45":7872855124604473344},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,19,24,16,45]} 
[2026-08-01 06:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099649536001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:23:36] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-01 06:23:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-08-01 06:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365500896550846464,"km_value":365500896550846.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":7872855124604473344,"description":"Unknown IO ID 45"} 
[2026-08-01 06:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099649536001,"power":27745,"unknown_59":206,"unknown_19":43264,"ignition":12,"odometer":null,"unknown_45":7872855124604473344}} 
[2026-08-01 06:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":148391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:23:36] local.INFO: GPS data processed {"connection_id":148391,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:23:36] local.INFO: Acknowledgment sent {"connection_id":148391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:23:39] local.INFO: TCP Data received {"connection_id":146061,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbace7f38012d7e4d4005d054800003004b09..."} 
[2026-08-01 06:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbace7f38012d7e4d4005d054800003004b09..."} 
[2026-08-01 06:23:39] local.INFO: Processing buffer {"connection_id":146061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbace7f38012d7e4d4005d054800003004b09..."} 
[2026-08-01 06:23:39] local.INFO: Packet analysis {"connection_id":146061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbace"} 
[2026-08-01 06:23:39] local.INFO: Extracted packet for processing {"connection_id":146061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbace"} 
[2026-08-01 06:23:39] local.INFO: GPS Element Parsed {"raw_longitude":763252032,"raw_latitude":97539200,"longitude_deg":76.3252032,"latitude_deg":9.75392,"altitude":3,"angle":75,"satellites":9,"speed":1,"hex_longitude":"2d7e4d40","hex_latitude":"05d05480","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099652864001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113298119122223104,"note":"Value kept but may cause issues"} 
[2026-08-01 06:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9100930446955659264,"note":"Value kept but may cause issues"} 
[2026-08-01 06:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785545523000,"timestamp_ms":1785545523000,"timestamp_seconds":1785545523,"priority":1,"record_length":96,"hex_timestamp":"0000019fbace7f38"} 
[2026-08-01 06:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:23:39] 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-08-01 06: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":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-01 06:23:39] 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-08-01 06: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-08-01 06:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:23:39] 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-08-01 06:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099652864001,"66":12058,"214":206,"85":15104,"24":1,"16":113298119122223104,"45":9100930446955659264},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,45]} 
[2026-08-01 06:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099652864001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:23:39] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-08-01 06:23:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 06:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113298119122223104,"km_value":113298119122223.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9100930446955659264,"description":"Unknown IO ID 45"} 
[2026-08-01 06:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099652864001,"power":12058,"unknown_214":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9100930446955659264}} 
[2026-08-01 06:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":146061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576002,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:23:39] local.INFO: GPS data processed {"connection_id":146061,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:23:39] local.INFO: Acknowledgment sent {"connection_id":146061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:23:56] local.INFO: TCP Data received {"connection_id":148392,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:23:56] local.INFO: Processing buffer {"connection_id":148392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:23:56] local.INFO: IMEI packet received {"connection_id":148392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 06:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":148392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:24:02] local.INFO: TCP Data received {"connection_id":148392,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:24:02] local.INFO: Processing buffer {"connection_id":148392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:24:02] local.INFO: IMEI packet received {"connection_id":148392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":148392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:24:03] local.INFO: TCP Data received {"connection_id":148392,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaced140012d6d4e00060e54000008001b31..."} 
[2026-08-01 06:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaced140012d6d4e00060e54000008001b31..."} 
[2026-08-01 06:24:03] local.INFO: Processing buffer {"connection_id":148392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaced140012d6d4e00060e54000008001b31..."} 
[2026-08-01 06:24:03] local.INFO: Packet analysis {"connection_id":148392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbace"} 
[2026-08-01 06:24:03] local.INFO: Extracted packet for processing {"connection_id":148392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbace"} 
[2026-08-01 06:24:03] local.INFO: GPS Element Parsed {"raw_longitude":762138112,"raw_latitude":101602304,"longitude_deg":76.2138112,"latitude_deg":10.1602304,"altitude":8,"angle":27,"satellites":49,"speed":10,"hex_longitude":"2d6d4e00","hex_latitude":"060e5400","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099654912001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365501098414309376,"note":"Value kept but may cause issues"} 
[2026-08-01 06:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7874895818187372544,"note":"Value kept but may cause issues"} 
[2026-08-01 06:24:03] 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-08-01 06:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785545544000,"timestamp_ms":1785545544000,"timestamp_seconds":1785545544,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaced140"} 
[2026-08-01 06:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 06:24: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-08-01 06: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-08-01 06:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099654912001,"66":27745,"59":206,"19":43264,"24":10,"16":365501098414309376,"45":7874895818187372544},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,19,24,16,45]} 
[2026-08-01 06:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099654912001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:24:03] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-01 06:24:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-08-01 06:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365501098414309376,"km_value":365501098414309.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7874895818187372544,"description":"Unknown IO ID 45"} 
[2026-08-01 06:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099654912001,"power":27745,"unknown_59":206,"unknown_19":43264,"ignition":10,"odometer":null,"unknown_45":7874895818187372544}} 
[2026-08-01 06:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":148392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:24:03] local.INFO: GPS data processed {"connection_id":148392,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:24:03] local.INFO: Acknowledgment sent {"connection_id":148392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:24:10] local.INFO: TCP Data received {"connection_id":146061,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbad04070012d7e524005cfd390000800a40d..."} 
[2026-08-01 06:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbad04070012d7e524005cfd390000800a40d..."} 
[2026-08-01 06:24:10] local.INFO: Processing buffer {"connection_id":146061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbad04070012d7e524005cfd390000800a40d..."} 
[2026-08-01 06:24:10] local.INFO: Packet analysis {"connection_id":146061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbad0"} 
[2026-08-01 06:24:10] local.INFO: Extracted packet for processing {"connection_id":146061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbad0"} 
[2026-08-01 06:24:10] local.INFO: GPS Element Parsed {"raw_longitude":763253312,"raw_latitude":97506192,"longitude_deg":76.3253312,"latitude_deg":9.7506192,"altitude":8,"angle":164,"satellites":13,"speed":38,"hex_longitude":"2d7e5240","hex_latitude":"05cfd390","is_valid_coordinates":true} 
[2026-08-01 06:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099683328001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113299849994043392,"note":"Value kept but may cause issues"} 
[2026-08-01 06:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9102408190574956544,"note":"Value kept but may cause issues"} 
[2026-08-01 06:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785545638000,"timestamp_ms":1785545638000,"timestamp_seconds":1785545638,"priority":1,"record_length":96,"hex_timestamp":"0000019fbad04070"} 
[2026-08-01 06:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:24:10] 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-08-01 06:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-08-01 06:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:24:10] 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-08-01 06:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099683328001,"66":13765,"214":206,"85":15104,"24":38,"16":113299849994043392,"45":9102408190574956544},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,45]} 
[2026-08-01 06:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099683328001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:24:10] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-08-01 06:24:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 06:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113299849994043392,"km_value":113299849994043.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9102408190574956544,"description":"Unknown IO ID 45"} 
[2026-08-01 06:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099683328001,"power":13765,"unknown_214":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9102408190574956544}} 
[2026-08-01 06:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":146061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576004,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:24:10] local.INFO: GPS data processed {"connection_id":146061,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:24:10] local.INFO: Acknowledgment sent {"connection_id":146061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:24:35] local.INFO: TCP Data received {"connection_id":148392,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbacf13a8012d6d59c0060e6c280008000f30..."} 
[2026-08-01 06:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbacf13a8012d6d59c0060e6c280008000f30..."} 
[2026-08-01 06:24:35] local.INFO: Processing buffer {"connection_id":148392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbacf13a8012d6d59c0060e6c280008000f30..."} 
[2026-08-01 06:24:35] local.INFO: Packet analysis {"connection_id":148392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbacf"} 
[2026-08-01 06:24:35] local.INFO: Extracted packet for processing {"connection_id":148392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbacf"} 
[2026-08-01 06:24:35] local.INFO: GPS Element Parsed {"raw_longitude":762141120,"raw_latitude":101608488,"longitude_deg":76.214112,"latitude_deg":10.1608488,"altitude":8,"angle":15,"satellites":48,"speed":18,"hex_longitude":"2d6d59c0","hex_latitude":"060e6c28","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099659264001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365501433421758464,"note":"Value kept but may cause issues"} 
[2026-08-01 06:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7876232824327766016,"note":"Value kept but may cause issues"} 
[2026-08-01 06:24:35] 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-08-01 06:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785545561000,"timestamp_ms":1785545561000,"timestamp_seconds":1785545561,"priority":1,"record_length":96,"hex_timestamp":"0000019fbacf13a8"} 
[2026-08-01 06:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06: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":97,"data_length":795,"current_offset":136} 
[2026-08-01 06:24: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-08-01 06: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-08-01 06:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099659264001,"66":27821,"59":206,"19":43264,"24":18,"16":365501433421758464,"45":7876232824327766016},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,19,24,16,45]} 
[2026-08-01 06:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099659264001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:24:35] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-01 06:24:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-08-01 06:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365501433421758464,"km_value":365501433421758.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":7876232824327766016,"description":"Unknown IO ID 45"} 
[2026-08-01 06:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099659264001,"power":27821,"unknown_59":206,"unknown_19":43264,"ignition":18,"odometer":null,"unknown_45":7876232824327766016}} 
[2026-08-01 06:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":148392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:24:35] local.INFO: GPS data processed {"connection_id":148392,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:24:35] local.INFO: Acknowledgment sent {"connection_id":148392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:24:45] local.INFO: TCP Data received {"connection_id":146061,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbad05010012d7e550005cfc518000900b10d..."} 
[2026-08-01 06:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbad05010012d7e550005cfc518000900b10d..."} 
[2026-08-01 06:24:45] local.INFO: Processing buffer {"connection_id":146061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbad05010012d7e550005cfc518000900b10d..."} 
[2026-08-01 06:24:45] local.INFO: Packet analysis {"connection_id":146061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbad0"} 
[2026-08-01 06:24:45] local.INFO: Extracted packet for processing {"connection_id":146061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbad0"} 
[2026-08-01 06:24:45] local.INFO: GPS Element Parsed {"raw_longitude":763254016,"raw_latitude":97502488,"longitude_deg":76.3254016,"latitude_deg":9.7502488,"altitude":9,"angle":177,"satellites":13,"speed":33,"hex_longitude":"2d7e5500","hex_latitude":"05cfc518","is_valid_coordinates":true} 
[2026-08-01 06:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099683328001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113300030382669824,"note":"Value kept but may cause issues"} 
[2026-08-01 06:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9102408190574956544,"note":"Value kept but may cause issues"} 
[2026-08-01 06:24:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785545642000,"timestamp_ms":1785545642000,"timestamp_seconds":1785545642,"priority":1,"record_length":96,"hex_timestamp":"0000019fbad05010"} 
[2026-08-01 06:24:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:24:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7424,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-08-01 06:24:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06:24:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:24:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":146061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":146061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":146061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:24:45] 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-08-01 06:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099683328001,"66":13852,"214":206,"85":15104,"24":33,"16":113300030382669824,"45":9102408190574956544},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,45]} 
[2026-08-01 06:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099683328001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:24:45] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-08-01 06:24:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 06:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113300030382669824,"km_value":113300030382669.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9102408190574956544,"description":"Unknown IO ID 45"} 
[2026-08-01 06:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099683328001,"power":13852,"unknown_214":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9102408190574956544}} 
[2026-08-01 06:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":146061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576006,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:24:45] local.INFO: GPS data processed {"connection_id":146061,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:24:45] local.INFO: Acknowledgment sent {"connection_id":146061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:25:02] local.INFO: TCP Data received {"connection_id":145864,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:25:02] local.INFO: Processing buffer {"connection_id":145864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:25:02] local.INFO: IMEI packet received {"connection_id":145864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 06:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":145864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:25:03] local.INFO: TCP Data received {"connection_id":145864,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:25:03] local.INFO: Processing buffer {"connection_id":145864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:25:03] local.INFO: IMEI packet received {"connection_id":145864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":145864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:25:07] local.INFO: TCP Data received {"connection_id":145864,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:25:07] local.INFO: Processing buffer {"connection_id":145864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:25:07] local.INFO: IMEI packet received {"connection_id":145864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":145864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:25:08] local.INFO: TCP Data received {"connection_id":145864,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbacf5610012d6d6340060e8e880008000431..."} 
[2026-08-01 06:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbacf5610012d6d6340060e8e880008000431..."} 
[2026-08-01 06:25:08] local.INFO: Processing buffer {"connection_id":145864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbacf5610012d6d6340060e8e880008000431..."} 
[2026-08-01 06:25:08] local.INFO: Packet analysis {"connection_id":145864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbacf"} 
[2026-08-01 06:25:08] local.INFO: Extracted packet for processing {"connection_id":145864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbacf"} 
[2026-08-01 06:25:08] local.INFO: GPS Element Parsed {"raw_longitude":762143552,"raw_latitude":101617288,"longitude_deg":76.2143552,"latitude_deg":10.1617288,"altitude":8,"angle":4,"satellites":49,"speed":22,"hex_longitude":"2d6d6340","hex_latitude":"060e8e88","is_valid_coordinates":true} 
[2026-08-01 06:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099663616001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365501875803389952,"note":"Value kept but may cause issues"} 
[2026-08-01 06:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7879540155305699328,"note":"Value kept but may cause issues"} 
[2026-08-01 06:25: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-08-01 06:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785545578000,"timestamp_ms":1785545578000,"timestamp_seconds":1785545578,"priority":1,"record_length":96,"hex_timestamp":"0000019fbacf5610"} 
[2026-08-01 06:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 06:25: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-08-01 06:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":145864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":145864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":145864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099663616001,"66":27658,"59":206,"19":43264,"24":22,"16":365501875803389952,"45":7879540155305699328},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,19,24,16,45]} 
[2026-08-01 06:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099663616001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:25:08] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-01 06:25:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-08-01 06:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365501875803389952,"km_value":365501875803389.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":7879540155305699328,"description":"Unknown IO ID 45"} 
[2026-08-01 06:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099663616001,"power":27658,"unknown_59":206,"unknown_19":43264,"ignition":22,"odometer":null,"unknown_45":7879540155305699328}} 
[2026-08-01 06:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":145864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:25:08] local.INFO: GPS data processed {"connection_id":145864,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:25:08] local.INFO: Acknowledgment sent {"connection_id":145864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:25:11] local.INFO: TCP Data received {"connection_id":145864,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbacf5610012d6d6340060e8e880008000431..."} 
[2026-08-01 06:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbacf5610012d6d6340060e8e880008000431..."} 
[2026-08-01 06:25:11] local.INFO: Processing buffer {"connection_id":145864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbacf5610012d6d6340060e8e880008000431..."} 
[2026-08-01 06:25:11] local.INFO: Packet analysis {"connection_id":145864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbacf"} 
[2026-08-01 06:25:11] local.INFO: Extracted packet for processing {"connection_id":145864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbacf"} 
[2026-08-01 06:25:11] local.INFO: GPS Element Parsed {"raw_longitude":762143552,"raw_latitude":101617288,"longitude_deg":76.2143552,"latitude_deg":10.1617288,"altitude":8,"angle":4,"satellites":49,"speed":22,"hex_longitude":"2d6d6340","hex_latitude":"060e8e88","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099667968001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365501875803389952,"note":"Value kept but may cause issues"} 
[2026-08-01 06:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7882214167586703360,"note":"Value kept but may cause issues"} 
[2026-08-01 06:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785545578000,"timestamp_ms":1785545578000,"timestamp_seconds":1785545578,"priority":1,"record_length":96,"hex_timestamp":"0000019fbacf5610"} 
[2026-08-01 06:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 06:25:11] 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-08-01 06: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-08-01 06:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":145864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":145864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":145864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099667968001,"66":27658,"59":206,"19":43264,"24":22,"16":365501875803389952,"45":7882214167586703360},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,19,24,16,45]} 
[2026-08-01 06:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099667968001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:25:11] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-01 06:25:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-08-01 06:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365501875803389952,"km_value":365501875803389.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":7882214167586703360,"description":"Unknown IO ID 45"} 
[2026-08-01 06:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099667968001,"power":27658,"unknown_59":206,"unknown_19":43264,"ignition":22,"odometer":null,"unknown_45":7882214167586703360}} 
[2026-08-01 06:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":145864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:25:11] local.INFO: GPS data processed {"connection_id":145864,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:25:11] local.INFO: Acknowledgment sent {"connection_id":145864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:25:17] local.INFO: TCP Data received {"connection_id":146061,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbad05bc8012d7e53c005cfbb68000900c20d..."} 
[2026-08-01 06:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbad05bc8012d7e53c005cfbb68000900c20d..."} 
[2026-08-01 06:25:17] local.INFO: Processing buffer {"connection_id":146061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbad05bc8012d7e53c005cfbb68000900c20d..."} 
[2026-08-01 06:25:17] local.INFO: Packet analysis {"connection_id":146061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbad0"} 
[2026-08-01 06:25:17] local.INFO: Extracted packet for processing {"connection_id":146061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbad0"} 
[2026-08-01 06:25:17] local.INFO: GPS Element Parsed {"raw_longitude":763253696,"raw_latitude":97500008,"longitude_deg":76.3253696,"latitude_deg":9.7500008,"altitude":9,"angle":194,"satellites":13,"speed":32,"hex_longitude":"2d7e53c0","hex_latitude":"05cfbb68","is_valid_coordinates":true} 
[2026-08-01 06:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099684352001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113300154936721408,"note":"Value kept but may cause issues"} 
[2026-08-01 06:25:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9103182246759962624,"note":"Value kept but may cause issues"} 
[2026-08-01 06:25:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785545645000,"timestamp_ms":1785545645000,"timestamp_seconds":1785545645,"priority":1,"record_length":96,"hex_timestamp":"0000019fbad05bc8"} 
[2026-08-01 06:25:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:25:17] 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-08-01 06:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-08-01 06:25:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06:25:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:25:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:25:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":146061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":146061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":146061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:25:17] 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-08-01 06:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099684352001,"66":13820,"214":206,"85":15104,"24":32,"16":113300154936721408,"45":9103182246759962624},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,45]} 
[2026-08-01 06:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099684352001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:25:17] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-08-01 06:25:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 06:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113300154936721408,"km_value":113300154936721.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:25:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9103182246759962624,"description":"Unknown IO ID 45"} 
[2026-08-01 06:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099684352001,"power":13820,"unknown_214":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9103182246759962624}} 
[2026-08-01 06:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":146061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576009,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:25:17] local.INFO: GPS data processed {"connection_id":146061,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:25:17] local.INFO: Acknowledgment sent {"connection_id":146061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:25:49] local.INFO: TCP Data received {"connection_id":146061,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbad1abb8012d7e528005cea390000300fd0d..."} 
[2026-08-01 06:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbad1abb8012d7e528005cea390000300fd0d..."} 
[2026-08-01 06:25:49] local.INFO: Processing buffer {"connection_id":146061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbad1abb8012d7e528005cea390000300fd0d..."} 
[2026-08-01 06:25:49] local.INFO: Packet analysis {"connection_id":146061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbad1"} 
[2026-08-01 06:25:49] local.INFO: Extracted packet for processing {"connection_id":146061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbad1"} 
[2026-08-01 06:25:49] local.INFO: GPS Element Parsed {"raw_longitude":763253376,"raw_latitude":97428368,"longitude_deg":76.3253376,"latitude_deg":9.7428368,"altitude":3,"angle":253,"satellites":13,"speed":10,"hex_longitude":"2d7e5280","hex_latitude":"05cea390","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:25:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099706368001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:25:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113303719759577088,"note":"Value kept but may cause issues"} 
[2026-08-01 06:25:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9103041509252829184,"note":"Value kept but may cause issues"} 
[2026-08-01 06:25:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:25:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785545731000,"timestamp_ms":1785545731000,"timestamp_seconds":1785545731,"priority":1,"record_length":96,"hex_timestamp":"0000019fbad1abb8"} 
[2026-08-01 06:25:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:25:49] 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-08-01 06: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-01 06:25: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-08-01 06: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-08-01 06:25:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:25:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:25:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:25:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:25:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:25:49] 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-08-01 06:25:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:25:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:25:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099706368001,"66":13656,"94":206,"85":15104,"24":10,"16":113303719759577088,"45":9103041509252829184},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-08-01 06:25:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:25:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:25:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099706368001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:25:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-08-01 06:25:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 06:25:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113303719759577088,"km_value":113303719759577.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:25:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9103041509252829184,"description":"Unknown IO ID 45"} 
[2026-08-01 06:25:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099706368001,"power":13656,"unknown_94":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9103041509252829184}} 
[2026-08-01 06:25:49] local.INFO: DEBUG: GPS processor result {"connection_id":146061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576010,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:25:49] local.INFO: GPS data processed {"connection_id":146061,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:25:49] local.INFO: Acknowledgment sent {"connection_id":146061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:25:56] local.INFO: TCP Data received {"connection_id":145865,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:25:56] local.INFO: Processing buffer {"connection_id":145865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:25:56] local.INFO: IMEI packet received {"connection_id":145865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 06:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":145865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:26:01] local.INFO: TCP Data received {"connection_id":145865,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:26:01] local.INFO: Processing buffer {"connection_id":145865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:26:01] local.INFO: IMEI packet received {"connection_id":145865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":145865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:26:02] local.INFO: TCP Data received {"connection_id":145865,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbad13a70012d6d2980060f8418000b014331..."} 
[2026-08-01 06:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbad13a70012d6d2980060f8418000b014331..."} 
[2026-08-01 06:26:02] local.INFO: Processing buffer {"connection_id":145865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbad13a70012d6d2980060f8418000b014331..."} 
[2026-08-01 06:26:02] local.INFO: Packet analysis {"connection_id":145865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbad1"} 
[2026-08-01 06:26:02] local.INFO: Extracted packet for processing {"connection_id":145865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbad1"} 
[2026-08-01 06:26:02] local.INFO: GPS Element Parsed {"raw_longitude":762128768,"raw_latitude":101680152,"longitude_deg":76.2128768,"latitude_deg":10.1680152,"altitude":11,"angle":323,"satellites":49,"speed":24,"hex_longitude":"2d6d2980","hex_latitude":"060f8418","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099699200001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365505032604352512,"note":"Value kept but may cause issues"} 
[2026-08-01 06:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7866592306395072512,"note":"Value kept but may cause issues"} 
[2026-08-01 06:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785545702000,"timestamp_ms":1785545702000,"timestamp_seconds":1785545702,"priority":1,"record_length":96,"hex_timestamp":"0000019fbad13a70"} 
[2026-08-01 06:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:26: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-08-01 06: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 06:26: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-08-01 06: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-08-01 06:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":145865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":145865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":145865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099699200001,"66":27767,"246":206,"19":43264,"24":24,"16":365505032604352512,"45":7866592306395072512},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,19,24,16,45]} 
[2026-08-01 06:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099699200001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:26:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-08-01 06:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365505032604352512,"km_value":365505032604352.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7866592306395072512,"description":"Unknown IO ID 45"} 
[2026-08-01 06:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099699200001,"power":27767,"main_input_voltage":206,"unknown_19":43264,"ignition":24,"odometer":null,"unknown_45":7866592306395072512}} 
[2026-08-01 06:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":145865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:26:02] local.INFO: GPS data processed {"connection_id":145865,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:26:02] local.INFO: Acknowledgment sent {"connection_id":145865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:26:08] local.INFO: TCP Data received {"connection_id":146062,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146062,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:26:08] local.INFO: Processing buffer {"connection_id":146062,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:26:08] local.INFO: IMEI packet received {"connection_id":146062,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 06:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":146062,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:26:09] local.INFO: TCP Data received {"connection_id":146062,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146062,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:26:09] local.INFO: Processing buffer {"connection_id":146062,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:26:09] local.INFO: IMEI packet received {"connection_id":146062,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":146062,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:26:13] local.INFO: TCP Data received {"connection_id":146062,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146062,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:26:13] local.INFO: Processing buffer {"connection_id":146062,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:26:13] local.INFO: IMEI packet received {"connection_id":146062,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":146062,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:26:14] local.INFO: TCP Data received {"connection_id":146062,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbad1afa0012d7e500005cea410000301120d..."} 
[2026-08-01 06:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbad1afa0012d7e500005cea410000301120d..."} 
[2026-08-01 06:26:14] local.INFO: Processing buffer {"connection_id":146062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbad1afa0012d7e500005cea410000301120d..."} 
[2026-08-01 06:26:14] local.INFO: Packet analysis {"connection_id":146062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbad1"} 
[2026-08-01 06:26:14] local.INFO: Extracted packet for processing {"connection_id":146062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbad1"} 
[2026-08-01 06:26:14] local.INFO: GPS Element Parsed {"raw_longitude":763252736,"raw_latitude":97428496,"longitude_deg":76.3252736,"latitude_deg":9.7428496,"altitude":3,"angle":274,"satellites":13,"speed":21,"hex_longitude":"2d7e5000","hex_latitude":"05cea410","is_valid_coordinates":true} 
[2026-08-01 06:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099707136001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113303754119315456,"note":"Value kept but may cause issues"} 
[2026-08-01 06:26:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9102478559299211264,"note":"Value kept but may cause issues"} 
[2026-08-01 06:26:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785545732000,"timestamp_ms":1785545732000,"timestamp_seconds":1785545732,"priority":1,"record_length":96,"hex_timestamp":"0000019fbad1afa0"} 
[2026-08-01 06:26:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:26:14] 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-08-01 06:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-01 06:26:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06:26:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:26:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":146062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":146062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":146062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:26:14] 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-08-01 06:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099707136001,"66":13015,"94":206,"85":15104,"24":21,"16":113303754119315456,"45":9102478559299211264},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-08-01 06:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099707136001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:26:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-08-01 06:26:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 06:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113303754119315456,"km_value":113303754119315.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:26:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9102478559299211264,"description":"Unknown IO ID 45"} 
[2026-08-01 06:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099707136001,"power":13015,"unknown_94":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":9102478559299211264}} 
[2026-08-01 06:26:14] local.INFO: DEBUG: GPS processor result {"connection_id":146062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576012,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:26:14] local.INFO: GPS data processed {"connection_id":146062,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:26:14] local.INFO: Acknowledgment sent {"connection_id":146062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:26:34] local.INFO: TCP Data received {"connection_id":145865,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbad14628012d6d2580060f8998000a014e31..."} 
[2026-08-01 06:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbad14628012d6d2580060f8998000a014e31..."} 
[2026-08-01 06:26:34] local.INFO: Processing buffer {"connection_id":145865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbad14628012d6d2580060f8998000a014e31..."} 
[2026-08-01 06:26:34] local.INFO: Packet analysis {"connection_id":145865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbad1"} 
[2026-08-01 06:26:34] local.INFO: Extracted packet for processing {"connection_id":145865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbad1"} 
[2026-08-01 06:26:34] local.INFO: GPS Element Parsed {"raw_longitude":762127744,"raw_latitude":101681560,"longitude_deg":76.2127744,"latitude_deg":10.168156,"altitude":10,"angle":334,"satellites":49,"speed":22,"hex_longitude":"2d6d2580","hex_latitude":"060f8998","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099699712001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365505114208731136,"note":"Value kept but may cause issues"} 
[2026-08-01 06:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7865958987697756160,"note":"Value kept but may cause issues"} 
[2026-08-01 06:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785545705000,"timestamp_ms":1785545705000,"timestamp_seconds":1785545705,"priority":1,"record_length":96,"hex_timestamp":"0000019fbad14628"} 
[2026-08-01 06:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:26: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-08-01 06: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":119,"data_length":795,"current_offset":136} 
[2026-08-01 06:26: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-08-01 06: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-08-01 06:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:26:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099699712001,"66":27767,"246":206,"19":43264,"24":22,"16":365505114208731136,"45":7865958987697756160},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,19,24,16,45]} 
[2026-08-01 06:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099699712001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:26:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-08-01 06:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365505114208731136,"km_value":365505114208731.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7865958987697756160,"description":"Unknown IO ID 45"} 
[2026-08-01 06:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099699712001,"power":27767,"main_input_voltage":206,"unknown_19":43264,"ignition":22,"odometer":null,"unknown_45":7865958987697756160}} 
[2026-08-01 06:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":145865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:26:34] local.INFO: GPS data processed {"connection_id":145865,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:26:34] local.INFO: Acknowledgment sent {"connection_id":145865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:26:46] local.INFO: TCP Data received {"connection_id":146062,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbad1da98012d7e2b0005cea6d80002010f0d..."} 
[2026-08-01 06:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbad1da98012d7e2b0005cea6d80002010f0d..."} 
[2026-08-01 06:26:46] local.INFO: Processing buffer {"connection_id":146062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbad1da98012d7e2b0005cea6d80002010f0d..."} 
[2026-08-01 06:26:46] local.INFO: Packet analysis {"connection_id":146062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbad1"} 
[2026-08-01 06:26:46] local.INFO: Extracted packet for processing {"connection_id":146062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbad1"} 
[2026-08-01 06:26:46] local.INFO: GPS Element Parsed {"raw_longitude":763243264,"raw_latitude":97429208,"longitude_deg":76.3243264,"latitude_deg":9.7429208,"altitude":2,"angle":271,"satellites":13,"speed":35,"hex_longitude":"2d7e2b00","hex_latitude":"05cea6d8","is_valid_coordinates":true} 
[2026-08-01 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-08-01 06:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099707392001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113304205090881536,"note":"Value kept but may cause issues"} 
[2026-08-01 06:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9101774871857467392,"note":"Value kept but may cause issues"} 
[2026-08-01 06:26:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785545743000,"timestamp_ms":1785545743000,"timestamp_seconds":1785545743,"priority":1,"record_length":96,"hex_timestamp":"0000019fbad1da98"} 
[2026-08-01 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-08-01 06:26: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-08-01 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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-01 06:26:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 06:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":146062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":146062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":146062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:26:46] 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-08-01 06:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099707392001,"66":13820,"94":206,"85":15104,"24":35,"16":113304205090881536,"45":9101774871857467392},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-08-01 06:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099707392001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:26:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-08-01 06:26:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 06:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113304205090881536,"km_value":113304205090881.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9101774871857467392,"description":"Unknown IO ID 45"} 
[2026-08-01 06:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099707392001,"power":13820,"unknown_94":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9101774871857467392}} 
[2026-08-01 06:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":146062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576014,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:26:46] local.INFO: GPS data processed {"connection_id":146062,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:26:46] local.INFO: Acknowledgment sent {"connection_id":146062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:26:56] local.INFO: TCP Data received {"connection_id":145866,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:26:56] local.INFO: Processing buffer {"connection_id":145866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:26:56] local.INFO: IMEI packet received {"connection_id":145866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 06:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":145866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:27:02] local.INFO: TCP Data received {"connection_id":145866,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:27:02] local.INFO: Processing buffer {"connection_id":145866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:27:02] local.INFO: IMEI packet received {"connection_id":145866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":145866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:27:09] local.INFO: TCP Data received {"connection_id":145866,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbad151e0012d6d2340060f8f98000a015d31..."} 
[2026-08-01 06:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbad151e0012d6d2340060f8f98000a015d31..."} 
[2026-08-01 06:27:09] local.INFO: Processing buffer {"connection_id":145866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbad151e0012d6d2340060f8f98000a015d31..."} 
[2026-08-01 06:27:09] local.INFO: Packet analysis {"connection_id":145866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbad1"} 
[2026-08-01 06:27:09] local.INFO: Extracted packet for processing {"connection_id":145866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbad1"} 
[2026-08-01 06:27:09] local.INFO: GPS Element Parsed {"raw_longitude":762127168,"raw_latitude":101683096,"longitude_deg":76.2127168,"latitude_deg":10.1683096,"altitude":10,"angle":349,"satellites":49,"speed":19,"hex_longitude":"2d6d2340","hex_latitude":"060f8f98","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099700480001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365505195813109760,"note":"Value kept but may cause issues"} 
[2026-08-01 06:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7864833087791273984,"note":"Value kept but may cause issues"} 
[2026-08-01 06:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785545708000,"timestamp_ms":1785545708000,"timestamp_seconds":1785545708,"priority":1,"record_length":96,"hex_timestamp":"0000019fbad151e0"} 
[2026-08-01 06:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 06:27: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-08-01 06: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-08-01 06:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099700480001,"66":27767,"246":206,"19":43264,"24":19,"16":365505195813109760,"45":7864833087791273984},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,19,24,16,45]} 
[2026-08-01 06:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099700480001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:27:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-08-01 06:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365505195813109760,"km_value":365505195813109.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":7864833087791273984,"description":"Unknown IO ID 45"} 
[2026-08-01 06:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099700480001,"power":27767,"main_input_voltage":206,"unknown_19":43264,"ignition":19,"odometer":null,"unknown_45":7864833087791273984}} 
[2026-08-01 06:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":145866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:27:09] local.INFO: GPS data processed {"connection_id":145866,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:27:09] local.INFO: Acknowledgment sent {"connection_id":145866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:27:17] local.INFO: TCP Data received {"connection_id":146062,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbad2ff90012d7d528005ceb3c8000000b20c..."} 
[2026-08-01 06:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbad2ff90012d7d528005ceb3c8000000b20c..."} 
[2026-08-01 06:27:17] local.INFO: Processing buffer {"connection_id":146062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbad2ff90012d7d528005ceb3c8000000b20c..."} 
[2026-08-01 06:27:17] local.INFO: Packet analysis {"connection_id":146062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbad2"} 
[2026-08-01 06:27:17] local.INFO: Extracted packet for processing {"connection_id":146062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbad2"} 
[2026-08-01 06:27:17] local.INFO: GPS Element Parsed {"raw_longitude":763187840,"raw_latitude":97432520,"longitude_deg":76.318784,"latitude_deg":9.743252,"altitude":0,"angle":178,"satellites":12,"speed":16,"hex_longitude":"2d7d5280","hex_latitude":"05ceb3c8","is_valid_coordinates":true} 
[2026-08-01 06:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099728896001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113306923805179904,"note":"Value kept but may cause issues"} 
[2026-08-01 06:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030420965262530560,"note":"Value kept but may cause issues"} 
[2026-08-01 06:27:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785545818000,"timestamp_ms":1785545818000,"timestamp_seconds":1785545818,"priority":1,"record_length":96,"hex_timestamp":"0000019fbad2ff90"} 
[2026-08-01 06:27:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:27:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-01 06:27: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-08-01 06:27:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:27:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":146062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":146062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":146062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:27:17] 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-08-01 06:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099728896001,"66":13678,"237":206,"85":15104,"24":16,"16":113306923805179904,"45":9030420965262530560},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-08-01 06:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099728896001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:27:17] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-01 06:27:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 06:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113306923805179904,"km_value":113306923805179.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030420965262530560,"description":"Unknown IO ID 45"} 
[2026-08-01 06:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099728896001,"power":13678,"unknown_237":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":9030420965262530560}} 
[2026-08-01 06:27:18] local.INFO: DEBUG: GPS processor result {"connection_id":146062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576016,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:27:18] local.INFO: GPS data processed {"connection_id":146062,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:27:18] local.INFO: Acknowledgment sent {"connection_id":146062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:27:40] local.INFO: TCP Data received {"connection_id":145866,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbad2eff0012d6cf7800610d520000801532f..."} 
[2026-08-01 06:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbad2eff0012d6cf7800610d520000801532f..."} 
[2026-08-01 06:27:40] local.INFO: Processing buffer {"connection_id":145866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbad2eff0012d6cf7800610d520000801532f..."} 
[2026-08-01 06:27:40] local.INFO: Packet analysis {"connection_id":145866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbad2"} 
[2026-08-01 06:27:40] local.INFO: Extracted packet for processing {"connection_id":145866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbad2"} 
[2026-08-01 06:27:40] local.INFO: GPS Element Parsed {"raw_longitude":762115968,"raw_latitude":101766432,"longitude_deg":76.2115968,"latitude_deg":10.1766432,"altitude":8,"angle":339,"satellites":47,"speed":34,"hex_longitude":"2d6cf780","hex_latitude":"0610d520","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099726848001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365509340456550400,"note":"Value kept but may cause issues"} 
[2026-08-01 06:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7852870401301598208,"note":"Value kept but may cause issues"} 
[2026-08-01 06:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785545814000,"timestamp_ms":1785545814000,"timestamp_seconds":1785545814,"priority":1,"record_length":96,"hex_timestamp":"0000019fbad2eff0"} 
[2026-08-01 06:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06: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-08-01 06: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":43,"data_length":795,"current_offset":136} 
[2026-08-01 06:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06: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-08-01 06:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":145866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":145866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":145866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099726848001,"66":27789,"245":206,"19":43264,"24":34,"16":365509340456550400,"45":7852870401301598208},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,19,24,16,45]} 
[2026-08-01 06:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099726848001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:27:40] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-08-01 06:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365509340456550400,"km_value":365509340456550.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:27:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":7852870401301598208,"description":"Unknown IO ID 45"} 
[2026-08-01 06:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099726848001,"power":27789,"geofence_id":206,"unknown_19":43264,"ignition":34,"odometer":null,"unknown_45":7852870401301598208}} 
[2026-08-01 06:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":145866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:27:40] local.INFO: GPS data processed {"connection_id":145866,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:27:40] local.INFO: Acknowledgment sent {"connection_id":145866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:27:49] local.INFO: TCP Data received {"connection_id":146062,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbad30760012d7d540005ceaff0000100a60c..."} 
[2026-08-01 06:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbad30760012d7d540005ceaff0000100a60c..."} 
[2026-08-01 06:27:49] local.INFO: Processing buffer {"connection_id":146062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbad30760012d7d540005ceaff0000100a60c..."} 
[2026-08-01 06:27:49] local.INFO: Packet analysis {"connection_id":146062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbad3"} 
[2026-08-01 06:27:49] local.INFO: Extracted packet for processing {"connection_id":146062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbad3"} 
[2026-08-01 06:27:49] local.INFO: GPS Element Parsed {"raw_longitude":763188224,"raw_latitude":97431536,"longitude_deg":76.3188224,"latitude_deg":9.7431536,"altitude":1,"angle":166,"satellites":12,"speed":18,"hex_longitude":"2d7d5400","hex_latitude":"05ceaff0","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099729408001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113306975344787456,"note":"Value kept but may cause issues"} 
[2026-08-01 06:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030420965262346240,"note":"Value kept but may cause issues"} 
[2026-08-01 06:27:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785545820000,"timestamp_ms":1785545820000,"timestamp_seconds":1785545820,"priority":1,"record_length":96,"hex_timestamp":"0000019fbad30760"} 
[2026-08-01 06:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:27: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-08-01 06: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-01 06:27:49] 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-08-01 06: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-08-01 06:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:27:49] 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-08-01 06:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099729408001,"66":13646,"237":206,"85":15104,"24":18,"16":113306975344787456,"45":9030420965262346240},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-08-01 06:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099729408001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:27:49] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-01 06:27:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 06:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113306975344787456,"km_value":113306975344787.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030420965262346240,"description":"Unknown IO ID 45"} 
[2026-08-01 06:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099729408001,"power":13646,"unknown_237":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":9030420965262346240}} 
[2026-08-01 06:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":146062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576018,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:27:49] local.INFO: GPS data processed {"connection_id":146062,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:27:49] local.INFO: Acknowledgment sent {"connection_id":146062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:27:57] local.INFO: TCP Data received {"connection_id":145867,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:27:57] local.INFO: Processing buffer {"connection_id":145867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:27:57] local.INFO: IMEI packet received {"connection_id":145867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 06:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":145867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:27:58] local.INFO: TCP Data received {"connection_id":145867,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:27:58] local.INFO: Processing buffer {"connection_id":145867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:27:58] local.INFO: IMEI packet received {"connection_id":145867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":145867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:28:02] local.INFO: TCP Data received {"connection_id":145867,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:28:02] local.INFO: Processing buffer {"connection_id":145867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:28:02] local.INFO: IMEI packet received {"connection_id":145867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":145867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:28:05] local.INFO: TCP Data received {"connection_id":145867,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbad2fba8012d6cf2800610de30000801472f..."} 
[2026-08-01 06:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbad2fba8012d6cf2800610de30000801472f..."} 
[2026-08-01 06:28:05] local.INFO: Processing buffer {"connection_id":145867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbad2fba8012d6cf2800610de30000801472f..."} 
[2026-08-01 06:28:05] local.INFO: Packet analysis {"connection_id":145867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbad2"} 
[2026-08-01 06:28:05] local.INFO: Extracted packet for processing {"connection_id":145867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbad2"} 
[2026-08-01 06:28:05] local.INFO: GPS Element Parsed {"raw_longitude":762114688,"raw_latitude":101768752,"longitude_deg":76.2114688,"latitude_deg":10.1768752,"altitude":8,"angle":327,"satellites":47,"speed":33,"hex_longitude":"2d6cf280","hex_latitude":"0610de30","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099728384001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365509469305569280,"note":"Value kept but may cause issues"} 
[2026-08-01 06:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7851885238884311040,"note":"Value kept but may cause issues"} 
[2026-08-01 06:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785545817000,"timestamp_ms":1785545817000,"timestamp_seconds":1785545817,"priority":1,"record_length":96,"hex_timestamp":"0000019fbad2fba8"} 
[2026-08-01 06:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:28: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-08-01 06: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-01 06:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06: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-08-01 06:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099728384001,"66":27713,"245":206,"19":43264,"24":33,"16":365509469305569280,"45":7851885238884311040},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,19,24,16,45]} 
[2026-08-01 06:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099728384001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:28:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-08-01 06:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365509469305569280,"km_value":365509469305569.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7851885238884311040,"description":"Unknown IO ID 45"} 
[2026-08-01 06:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099728384001,"power":27713,"geofence_id":206,"unknown_19":43264,"ignition":33,"odometer":null,"unknown_45":7851885238884311040}} 
[2026-08-01 06:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":145867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:28:05] local.INFO: GPS data processed {"connection_id":145867,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:28:05] local.INFO: Acknowledgment sent {"connection_id":145867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:28:07] local.INFO: TCP Data received {"connection_id":147074,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147074,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:28:07] local.INFO: Processing buffer {"connection_id":147074,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:28:07] local.INFO: IMEI packet received {"connection_id":147074,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 06:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":147074,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:28:12] local.INFO: TCP Data received {"connection_id":147074,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147074,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:28:12] local.INFO: Processing buffer {"connection_id":147074,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:28:12] local.INFO: IMEI packet received {"connection_id":147074,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":147074,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:28:14] local.INFO: TCP Data received {"connection_id":147074,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbad31700012d7d554005cea808000300b20d..."} 
[2026-08-01 06:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbad31700012d7d554005cea808000300b20d..."} 
[2026-08-01 06:28:14] local.INFO: Processing buffer {"connection_id":147074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbad31700012d7d554005cea808000300b20d..."} 
[2026-08-01 06:28:14] local.INFO: Packet analysis {"connection_id":147074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbad3"} 
[2026-08-01 06:28:14] local.INFO: Extracted packet for processing {"connection_id":147074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbad3"} 
[2026-08-01 06:28:14] local.INFO: GPS Element Parsed {"raw_longitude":763188544,"raw_latitude":97429512,"longitude_deg":76.3188544,"latitude_deg":9.7429512,"altitude":3,"angle":178,"satellites":13,"speed":14,"hex_longitude":"2d7d5540","hex_latitude":"05cea808","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099729920001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113307078424002560,"note":"Value kept but may cause issues"} 
[2026-08-01 06:28:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030843177727160320,"note":"Value kept but may cause issues"} 
[2026-08-01 06:28:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785545824000,"timestamp_ms":1785545824000,"timestamp_seconds":1785545824,"priority":1,"record_length":96,"hex_timestamp":"0000019fbad31700"} 
[2026-08-01 06:28:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:28:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-01 06:28:14] 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-08-01 06: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-08-01 06:28:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":147074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":147074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":147074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:28:14] 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-08-01 06:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099729920001,"66":13656,"237":206,"85":15104,"24":14,"16":113307078424002560,"45":9030843177727160320},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-08-01 06:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099729920001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:28:14] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-01 06:28:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 06:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113307078424002560,"km_value":113307078424002.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:28:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030843177727160320,"description":"Unknown IO ID 45"} 
[2026-08-01 06:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099729920001,"power":13656,"unknown_237":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":9030843177727160320}} 
[2026-08-01 06:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":147074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576020,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:28:14] local.INFO: GPS data processed {"connection_id":147074,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:28:14] local.INFO: Acknowledgment sent {"connection_id":147074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:28:37] local.INFO: TCP Data received {"connection_id":145867,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbad30b48012d6ceac00610e8080008013c31..."} 
[2026-08-01 06:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbad30b48012d6ceac00610e8080008013c31..."} 
[2026-08-01 06:28:37] local.INFO: Processing buffer {"connection_id":145867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbad30b48012d6ceac00610e8080008013c31..."} 
[2026-08-01 06:28:37] local.INFO: Packet analysis {"connection_id":145867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbad3"} 
[2026-08-01 06:28:37] local.INFO: Extracted packet for processing {"connection_id":145867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbad3"} 
[2026-08-01 06:28:37] local.INFO: GPS Element Parsed {"raw_longitude":762112704,"raw_latitude":101771272,"longitude_deg":76.2112704,"latitude_deg":10.1771272,"altitude":8,"angle":316,"satellites":49,"speed":29,"hex_longitude":"2d6ceac0","hex_latitude":"0610e808","is_valid_coordinates":true} 
[2026-08-01 06:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099729152001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365509623924391936,"note":"Value kept but may cause issues"} 
[2026-08-01 06:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7850477864001351680,"note":"Value kept but may cause issues"} 
[2026-08-01 06:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785545821000,"timestamp_ms":1785545821000,"timestamp_seconds":1785545821,"priority":1,"record_length":96,"hex_timestamp":"0000019fbad30b48"} 
[2026-08-01 06:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 06:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099729152001,"66":27767,"245":206,"19":43264,"24":29,"16":365509623924391936,"45":7850477864001351680},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,19,24,16,45]} 
[2026-08-01 06:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099729152001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:28:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-08-01 06:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365509623924391936,"km_value":365509623924391.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7850477864001351680,"description":"Unknown IO ID 45"} 
[2026-08-01 06:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099729152001,"power":27767,"geofence_id":206,"unknown_19":43264,"ignition":29,"odometer":null,"unknown_45":7850477864001351680}} 
[2026-08-01 06:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":145867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:28:37] local.INFO: GPS data processed {"connection_id":145867,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:28:37] local.INFO: Acknowledgment sent {"connection_id":145867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:28:45] local.INFO: TCP Data received {"connection_id":147074,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbad34db0012d7d528005ce8168000400b80d..."} 
[2026-08-01 06:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbad34db0012d7d528005ce8168000400b80d..."} 
[2026-08-01 06:28:45] local.INFO: Processing buffer {"connection_id":147074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbad34db0012d7d528005ce8168000400b80d..."} 
[2026-08-01 06:28:45] local.INFO: Packet analysis {"connection_id":147074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbad3"} 
[2026-08-01 06:28:45] local.INFO: Extracted packet for processing {"connection_id":147074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbad3"} 
[2026-08-01 06:28:45] local.INFO: GPS Element Parsed {"raw_longitude":763187840,"raw_latitude":97419624,"longitude_deg":76.318784,"latitude_deg":9.7419624,"altitude":4,"angle":184,"satellites":13,"speed":42,"hex_longitude":"2d7d5280","hex_latitude":"05ce8168","is_valid_coordinates":true} 
[2026-08-01 06:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099730944001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113307559460339712,"note":"Value kept but may cause issues"} 
[2026-08-01 06:28:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9031195021447530496,"note":"Value kept but may cause issues"} 
[2026-08-01 06:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785545838000,"timestamp_ms":1785545838000,"timestamp_seconds":1785545838,"priority":1,"record_length":96,"hex_timestamp":"0000019fbad34db0"} 
[2026-08-01 06:28:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:28:45] 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-08-01 06:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-01 06:28:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06:28:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:28:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":147074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":147074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":147074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:28:45] 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-08-01 06:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099730944001,"66":13917,"237":206,"85":15104,"24":42,"16":113307559460339712,"45":9031195021447530496},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-08-01 06:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099730944001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:28:45] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-01 06:28:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 06:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113307559460339712,"km_value":113307559460339.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:28:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9031195021447530496,"description":"Unknown IO ID 45"} 
[2026-08-01 06:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099730944001,"power":13917,"unknown_237":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9031195021447530496}} 
[2026-08-01 06:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":147074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576022,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:28:45] local.INFO: GPS data processed {"connection_id":147074,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:28:45] local.INFO: Acknowledgment sent {"connection_id":147074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:29:00] local.INFO: TCP Data received {"connection_id":148393,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:29:00] local.INFO: Processing buffer {"connection_id":148393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:29:00] local.INFO: IMEI packet received {"connection_id":148393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 06:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":148393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:29:04] local.INFO: TCP Data received {"connection_id":148393,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:29:04] local.INFO: Processing buffer {"connection_id":148393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:29:04] local.INFO: IMEI packet received {"connection_id":148393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":148393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:29:07] local.INFO: TCP Data received {"connection_id":145868,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145868,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:29:07] local.INFO: Processing buffer {"connection_id":145868,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:29:07] local.INFO: IMEI packet received {"connection_id":145868,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 06:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":145868,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:29:07] local.INFO: TCP Data received {"connection_id":148393,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:29:07] local.INFO: Processing buffer {"connection_id":148393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:29:07] local.INFO: IMEI packet received {"connection_id":148393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":148393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:29:08] local.INFO: TCP Data received {"connection_id":145868,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145868,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:29:08] local.INFO: Processing buffer {"connection_id":145868,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:29:08] local.INFO: IMEI packet received {"connection_id":145868,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":145868,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:29:09] local.INFO: TCP Data received {"connection_id":148393,"ip":"117.224.167.108","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fba..."} 
[2026-08-01 06:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148393,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fba..."} 
[2026-08-01 06:29:09] local.INFO: Processing buffer {"connection_id":148393,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fba..."} 
[2026-08-01 06:29:09] local.INFO: IMEI packet received {"connection_id":148393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":148393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:29:12] local.INFO: TCP Data received {"connection_id":148393,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbad41100012d6c8540061124880007011b2f..."} 
[2026-08-01 06:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbad41100012d6c8540061124880007011b2f..."} 
[2026-08-01 06:29:12] local.INFO: Processing buffer {"connection_id":148393,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fbad41100012d6c8540061124880007011b2f..."} 
[2026-08-01 06:29:12] local.INFO: Packet analysis {"connection_id":148393,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fbad4"} 
[2026-08-01 06:29:12] local.INFO: Extracted packet for processing {"connection_id":148393,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbad4"} 
[2026-08-01 06:29:12] local.INFO: GPS Element Parsed {"raw_longitude":762086720,"raw_latitude":101786760,"longitude_deg":76.208672,"latitude_deg":10.178676,"altitude":7,"angle":283,"satellites":47,"speed":25,"hex_longitude":"2d6c8540","hex_latitude":"06112488","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099743744001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365511380566016000,"note":"Value kept but may cause issues"} 
[2026-08-01 06:29:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7829719084473196544,"note":"Value kept but may cause issues"} 
[2026-08-01 06:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785545888000,"timestamp_ms":1785545888000,"timestamp_seconds":1785545888,"priority":1,"record_length":96,"hex_timestamp":"0000019fbad41100"} 
[2026-08-01 06:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:29:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 06:29:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06: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-08-01 06:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":148393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":148393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":148393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099743744001,"66":27832,"245":206,"19":43264,"24":25,"16":365511380566016000,"45":7829719084473196544},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,19,24,16,45]} 
[2026-08-01 06:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099743744001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:29:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-08-01 06:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365511380566016000,"km_value":365511380566016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:29:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":7829719084473196544,"description":"Unknown IO ID 45"} 
[2026-08-01 06:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099743744001,"power":27832,"geofence_id":206,"unknown_19":43264,"ignition":25,"odometer":null,"unknown_45":7829719084473196544}} 
[2026-08-01 06:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":148393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:29:12] local.INFO: GPS data processed {"connection_id":148393,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:29:12] local.INFO: Acknowledgment sent {"connection_id":148393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:29:12] local.INFO: Packet analysis {"connection_id":148393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbad4"} 
[2026-08-01 06:29:12] local.INFO: Extracted packet for processing {"connection_id":148393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbad4"} 
[2026-08-01 06:29:12] local.INFO: GPS Element Parsed {"raw_longitude":762086720,"raw_latitude":101786760,"longitude_deg":76.208672,"latitude_deg":10.178676,"altitude":7,"angle":283,"satellites":47,"speed":25,"hex_longitude":"2d6c8540","hex_latitude":"06112488","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099747328001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365511380566016000,"note":"Value kept but may cause issues"} 
[2026-08-01 06:29:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7819726722800322560,"note":"Value kept but may cause issues"} 
[2026-08-01 06:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785545888000,"timestamp_ms":1785545888000,"timestamp_seconds":1785545888,"priority":1,"record_length":96,"hex_timestamp":"0000019fbad41100"} 
[2026-08-01 06:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:29:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-01 06:29:12] 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-08-01 06: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-08-01 06:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":148393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":148393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":148393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099747328001,"66":27832,"245":206,"19":43264,"24":25,"16":365511380566016000,"45":7819726722800322560},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,19,24,16,45]} 
[2026-08-01 06:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099747328001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:29:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-08-01 06:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365511380566016000,"km_value":365511380566016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:29:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":7819726722800322560,"description":"Unknown IO ID 45"} 
[2026-08-01 06:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099747328001,"power":27832,"geofence_id":206,"unknown_19":43264,"ignition":25,"odometer":null,"unknown_45":7819726722800322560}} 
[2026-08-01 06:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":148393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:29:12] local.INFO: GPS data processed {"connection_id":148393,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:29:12] local.INFO: Acknowledgment sent {"connection_id":148393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:29:12] local.INFO: TCP Data received {"connection_id":145868,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145868,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:29:13] local.INFO: Processing buffer {"connection_id":145868,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:29:13] local.INFO: IMEI packet received {"connection_id":145868,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":145868,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:29:13] local.INFO: TCP Data received {"connection_id":145868,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbad4a958012d7d568005cce858000700b115..."} 
[2026-08-01 06:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbad4a958012d7d568005cce858000700b115..."} 
[2026-08-01 06:29:13] local.INFO: Processing buffer {"connection_id":145868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbad4a958012d7d568005cce858000700b115..."} 
[2026-08-01 06:29:13] local.INFO: Packet analysis {"connection_id":145868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbad4"} 
[2026-08-01 06:29:13] local.INFO: Extracted packet for processing {"connection_id":145868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbad4"} 
[2026-08-01 06:29:13] local.INFO: GPS Element Parsed {"raw_longitude":763188864,"raw_latitude":97314904,"longitude_deg":76.3188864,"latitude_deg":9.7314904,"altitude":7,"angle":177,"satellites":21,"speed":60,"hex_longitude":"2d7d5680","hex_latitude":"05cce858","is_valid_coordinates":true} 
[2026-08-01 06:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:29:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099755776001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:29:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113312648996585472,"note":"Value kept but may cause issues"} 
[2026-08-01 06:29:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030983915187976192,"note":"Value kept but may cause issues"} 
[2026-08-01 06:29:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:29:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785545927000,"timestamp_ms":1785545927000,"timestamp_seconds":1785545927,"priority":1,"record_length":96,"hex_timestamp":"0000019fbad4a958"} 
[2026-08-01 06:29:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:29:13] 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-08-01 06:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-08-01 06:29:13] 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-08-01 06:29:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:29:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:29:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:29:13] local.INFO: Teltonika packet parsed successfully {"connection_id":145868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:29:13] local.INFO: Passing IMEI to GPS processor {"connection_id":145868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:29:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":145868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:29:13] 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-08-01 06:29:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:29:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:29:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099755776001,"66":13798,"235":206,"85":15104,"24":60,"16":113312648996585472,"45":9030983915187976192},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-01 06:29:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:29:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:29:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099755776001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:29:13] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-01 06:29:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 06:29:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113312648996585472,"km_value":113312648996585.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:29:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030983915187976192,"description":"Unknown IO ID 45"} 
[2026-08-01 06:29:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099755776001,"power":13798,"unknown_235":206,"unknown_85":15104,"ignition":60,"odometer":null,"unknown_45":9030983915187976192}} 
[2026-08-01 06:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":145868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576025,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:29:13] local.INFO: GPS data processed {"connection_id":145868,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:29:13] local.INFO: Acknowledgment sent {"connection_id":145868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:29:18] local.INFO: TCP Data received {"connection_id":148393,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbad43bf8012d6c684006112b880007012c30..."} 
[2026-08-01 06:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbad43bf8012d6c684006112b880007012c30..."} 
[2026-08-01 06:29:18] local.INFO: Processing buffer {"connection_id":148393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbad43bf8012d6c684006112b880007012c30..."} 
[2026-08-01 06:29:18] local.INFO: Packet analysis {"connection_id":148393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbad4"} 
[2026-08-01 06:29:18] local.INFO: Extracted packet for processing {"connection_id":148393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbad4"} 
[2026-08-01 06:29:18] local.INFO: GPS Element Parsed {"raw_longitude":762079296,"raw_latitude":101788552,"longitude_deg":76.2079296,"latitude_deg":10.1788552,"altitude":7,"angle":300,"satellites":48,"speed":19,"hex_longitude":"2d6c6840","hex_latitude":"06112b88","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099747328001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:29:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365511745638236160,"note":"Value kept but may cause issues"} 
[2026-08-01 06:29:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7819726722800322560,"note":"Value kept but may cause issues"} 
[2026-08-01 06:29:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:29:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785545899000,"timestamp_ms":1785545899000,"timestamp_seconds":1785545899,"priority":1,"record_length":96,"hex_timestamp":"0000019fbad43bf8"} 
[2026-08-01 06:29:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:29: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-08-01 06: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-01 06:29:18] 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-08-01 06: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-08-01 06:29:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:29:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:29:18] local.INFO: Teltonika packet parsed successfully {"connection_id":148393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:29:18] local.INFO: Passing IMEI to GPS processor {"connection_id":148393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:29:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":148393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:29:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:29:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:29:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:29:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099747328001,"66":27691,"245":206,"19":43264,"24":19,"16":365511745638236160,"45":7819726722800322560},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,19,24,16,45]} 
[2026-08-01 06:29:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:29:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:29:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099747328001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:29:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-08-01 06:29:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365511745638236160,"km_value":365511745638236.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:29:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":7819726722800322560,"description":"Unknown IO ID 45"} 
[2026-08-01 06:29:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099747328001,"power":27691,"geofence_id":206,"unknown_19":43264,"ignition":19,"odometer":null,"unknown_45":7819726722800322560}} 
[2026-08-01 06:29:18] local.INFO: DEBUG: GPS processor result {"connection_id":148393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:29:18] local.INFO: GPS data processed {"connection_id":148393,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:29:18] local.INFO: Acknowledgment sent {"connection_id":148393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:29:44] local.INFO: TCP Data received {"connection_id":145868,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbad4c0c8012d7d580005ccc4d8000800b116..."} 
[2026-08-01 06:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbad4c0c8012d7d580005ccc4d8000800b116..."} 
[2026-08-01 06:29:44] local.INFO: Processing buffer {"connection_id":145868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbad4c0c8012d7d580005ccc4d8000800b116..."} 
[2026-08-01 06:29:44] local.INFO: Packet analysis {"connection_id":145868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbad4"} 
[2026-08-01 06:29:44] local.INFO: Extracted packet for processing {"connection_id":145868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbad4"} 
[2026-08-01 06:29:44] local.INFO: GPS Element Parsed {"raw_longitude":763189248,"raw_latitude":97305816,"longitude_deg":76.3189248,"latitude_deg":9.7305816,"altitude":8,"angle":177,"satellites":22,"speed":59,"hex_longitude":"2d7d5800","hex_latitude":"05ccc4d8","is_valid_coordinates":true} 
[2026-08-01 06:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099757312001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113313091378216960,"note":"Value kept but may cause issues"} 
[2026-08-01 06:29:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9031546865139079168,"note":"Value kept but may cause issues"} 
[2026-08-01 06:29:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785545933000,"timestamp_ms":1785545933000,"timestamp_seconds":1785545933,"priority":1,"record_length":96,"hex_timestamp":"0000019fbad4c0c8"} 
[2026-08-01 06:29:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:29:44] 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-08-01 06:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-01 06:29:44] 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-08-01 06:29:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:29:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":145868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":145868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":145868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:29:44] 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-08-01 06:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099757312001,"66":13830,"129":206,"85":15104,"24":59,"16":113313091378216960,"45":9031546865139079168},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-08-01 06:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099757312001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:29:44] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-01 06:29:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 06:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113313091378216960,"km_value":113313091378216.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:29:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9031546865139079168,"description":"Unknown IO ID 45"} 
[2026-08-01 06:29:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099757312001,"power":13830,"unknown_129":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":9031546865139079168}} 
[2026-08-01 06:29:44] local.INFO: DEBUG: GPS processor result {"connection_id":145868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576027,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:29:44] local.INFO: GPS data processed {"connection_id":145868,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:29:44] local.INFO: Acknowledgment sent {"connection_id":145868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:29:56] local.INFO: TCP Data received {"connection_id":147075,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:29:56] local.INFO: Processing buffer {"connection_id":147075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:29:56] local.INFO: IMEI packet received {"connection_id":147075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 06:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":147075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:29:57] local.INFO: TCP Data received {"connection_id":147075,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:29:57] local.INFO: Processing buffer {"connection_id":147075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:29:57] local.INFO: IMEI packet received {"connection_id":147075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":147075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:30:01] local.INFO: TCP Data received {"connection_id":147075,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:30:01] local.INFO: Processing buffer {"connection_id":147075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:30:01] local.INFO: IMEI packet received {"connection_id":147075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":147075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:30:04] local.INFO: TCP Data received {"connection_id":147075,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbad447b0012d6c644006112ee00006013830..."} 
[2026-08-01 06:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbad447b0012d6c644006112ee00006013830..."} 
[2026-08-01 06:30:04] local.INFO: Processing buffer {"connection_id":147075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbad447b0012d6c644006112ee00006013830..."} 
[2026-08-01 06:30:04] local.INFO: Packet analysis {"connection_id":147075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbad4"} 
[2026-08-01 06:30:04] local.INFO: Extracted packet for processing {"connection_id":147075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbad4"} 
[2026-08-01 06:30:04] local.INFO: GPS Element Parsed {"raw_longitude":762078272,"raw_latitude":101789408,"longitude_deg":76.2078272,"latitude_deg":10.1789408,"altitude":6,"angle":312,"satellites":48,"speed":17,"hex_longitude":"2d6c6440","hex_latitude":"06112ee0","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099750144001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365511810062745600,"note":"Value kept but may cause issues"} 
[2026-08-01 06:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7811563948476172288,"note":"Value kept but may cause issues"} 
[2026-08-01 06:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785545902000,"timestamp_ms":1785545902000,"timestamp_seconds":1785545902,"priority":1,"record_length":96,"hex_timestamp":"0000019fbad447b0"} 
[2026-08-01 06:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:30:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-01 06:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06: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-08-01 06:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099750144001,"66":27745,"245":206,"19":43264,"24":17,"16":365511810062745600,"45":7811563948476172288},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,19,24,16,45]} 
[2026-08-01 06:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099750144001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:30:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-08-01 06:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365511810062745600,"km_value":365511810062745.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7811563948476172288,"description":"Unknown IO ID 45"} 
[2026-08-01 06:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099750144001,"power":27745,"geofence_id":206,"unknown_19":43264,"ignition":17,"odometer":null,"unknown_45":7811563948476172288}} 
[2026-08-01 06:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":147075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:30:04] local.INFO: GPS data processed {"connection_id":147075,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:30:04] local.INFO: Acknowledgment sent {"connection_id":147075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:30:10] local.INFO: TCP Data received {"connection_id":145869,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145869,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:30:10] local.INFO: Processing buffer {"connection_id":145869,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:30:10] local.INFO: IMEI packet received {"connection_id":145869,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 06:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":145869,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:30:12] local.INFO: TCP Data received {"connection_id":145869,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145869,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:30:12] local.INFO: Processing buffer {"connection_id":145869,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:30:12] local.INFO: IMEI packet received {"connection_id":145869,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":145869,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:30:17] local.INFO: TCP Data received {"connection_id":145869,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145869,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:30:17] local.INFO: Processing buffer {"connection_id":145869,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:30:17] local.INFO: IMEI packet received {"connection_id":145869,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":145869,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:30:22] local.INFO: TCP Data received {"connection_id":145869,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbad4dc20012d7d58c005cc9cc8000700b416..."} 
[2026-08-01 06:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbad4dc20012d7d58c005cc9cc8000700b416..."} 
[2026-08-01 06:30:22] local.INFO: Processing buffer {"connection_id":145869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbad4dc20012d7d58c005cc9cc8000700b416..."} 
[2026-08-01 06:30:22] local.INFO: Packet analysis {"connection_id":145869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbad4"} 
[2026-08-01 06:30:22] local.INFO: Extracted packet for processing {"connection_id":145869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbad4"} 
[2026-08-01 06:30:22] local.INFO: GPS Element Parsed {"raw_longitude":763189440,"raw_latitude":97295560,"longitude_deg":76.318944,"latitude_deg":9.729556,"altitude":7,"angle":180,"satellites":22,"speed":58,"hex_longitude":"2d7d58c0","hex_latitude":"05cc9cc8","is_valid_coordinates":true} 
[2026-08-01 06:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099758848001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113313585299456000,"note":"Value kept but may cause issues"} 
[2026-08-01 06:30:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9031969077601818624,"note":"Value kept but may cause issues"} 
[2026-08-01 06:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785545940000,"timestamp_ms":1785545940000,"timestamp_seconds":1785545940,"priority":1,"record_length":96,"hex_timestamp":"0000019fbad4dc20"} 
[2026-08-01 06:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:30:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-08-01 06:30:22] local.WARNING: Large IO value detected {"io_id":24,"raw_value":10977532697444352,"note":"Value kept but may cause issues"} 
[2026-08-01 06:30:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652628160043008,"note":"Value kept but may cause issues"} 
[2026-08-01 06:30:22] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3134464160,"note":"Value kept but may cause issues"} 
[2026-08-01 06:30:22] local.WARNING: Large IO value detected {"io_id":186,"raw_value":3562747905,"note":"Value kept but may cause issues"} 
[2026-08-01 06:30:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2800419022,"corrected_to":0} 
[2026-08-01 06:30:22] local.WARNING: Large IO value detected {"io_id":63,"raw_value":3758173565,"note":"Value kept but may cause issues"} 
[2026-08-01 06:30:22] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3305164198,"note":"Value kept but may cause issues"} 
[2026-08-01 06:30:22] local.WARNING: Large IO value detected {"io_id":146,"raw_value":2408513536,"note":"Value kept but may cause issues"} 
[2026-08-01 06:30:22] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3449917440,"note":"Value kept but may cause issues"} 
[2026-08-01 06:30:22] local.WARNING: Large IO value detected {"io_id":245,"raw_value":-6340736784271407667,"note":"Value kept but may cause issues"} 
[2026-08-01 06:30:22] local.WARNING: Large IO value detected {"io_id":197,"raw_value":5764613023596412963,"note":"Value kept but may cause issues"} 
[2026-08-01 06:30:22] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,129,85,24,241,157,16,145,159,169,45,128,232,7,21,10,66,235,11,19,144,118,1,240,28,227,186,205,4,113,54,63,74,40,239,53,2,146,5,6,39,245,197],"length":528,"final_offset":658,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2800419022,"validated":0}]} 
[2026-08-01 06:30:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576655460354686976,"timestamp_seconds":576655460354687.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 06:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":145869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":145869,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":145869,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:30:22] 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-08-01 06:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099758848001,"66":13678,"129":206,"85":15104,"24":58,"16":113313585299456000,"45":9031969077601818624},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-08-01 06:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099758848001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:30:22] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-01 06:30:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 06:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113313585299456000,"km_value":113313585299456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:30:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9031969077601818624,"description":"Unknown IO ID 45"} 
[2026-08-01 06:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099758848001,"power":13678,"unknown_129":206,"unknown_85":15104,"ignition":58,"odometer":null,"unknown_45":9031969077601818624}} 
[2026-08-01 06:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":145869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576029,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:30:22] local.INFO: GPS data processed {"connection_id":145869,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:30:22] local.INFO: Acknowledgment sent {"connection_id":145869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:30:23] local.INFO: TCP Data received {"connection_id":145869,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbad4f778012d7d570005cc74c0000500b816..."} 
[2026-08-01 06:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbad4f778012d7d570005cc74c0000500b816..."} 
[2026-08-01 06:30:23] local.INFO: Processing buffer {"connection_id":145869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbad4f778012d7d570005cc74c0000500b816..."} 
[2026-08-01 06:30:23] local.INFO: Packet analysis {"connection_id":145869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbad4"} 
[2026-08-01 06:30:23] local.INFO: Extracted packet for processing {"connection_id":145869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbad4"} 
[2026-08-01 06:30:23] local.INFO: GPS Element Parsed {"raw_longitude":763188992,"raw_latitude":97285312,"longitude_deg":76.3188992,"latitude_deg":9.7285312,"altitude":5,"angle":184,"satellites":22,"speed":59,"hex_longitude":"2d7d5700","hex_latitude":"05cc74c0","is_valid_coordinates":true} 
[2026-08-01 06:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:30:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099760640001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:30:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113314083515662336,"note":"Value kept but may cause issues"} 
[2026-08-01 06:30:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9032180183831726080,"note":"Value kept but may cause issues"} 
[2026-08-01 06:30:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:30:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785545947000,"timestamp_ms":1785545947000,"timestamp_seconds":1785545947,"priority":1,"record_length":96,"hex_timestamp":"0000019fbad4f778"} 
[2026-08-01 06:30:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:30:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-01 06:30:23] 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-08-01 06:30:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:30:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:30:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:30:23] local.INFO: Teltonika packet parsed successfully {"connection_id":145869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:30:23] local.INFO: Passing IMEI to GPS processor {"connection_id":145869,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:30:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":145869,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:30: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-08-01 06:30:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:30:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:30:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099760640001,"66":13798,"129":206,"85":15104,"24":59,"16":113314083515662336,"45":9032180183831726080},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-08-01 06:30:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:30:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:30:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099760640001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:30:23] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-01 06:30:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 06:30:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113314083515662336,"km_value":113314083515662.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:30:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9032180183831726080,"description":"Unknown IO ID 45"} 
[2026-08-01 06:30:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099760640001,"power":13798,"unknown_129":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":9032180183831726080}} 
[2026-08-01 06:30:23] local.INFO: DEBUG: GPS processor result {"connection_id":145869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576030,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:30:23] local.INFO: GPS data processed {"connection_id":145869,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:30:23] local.INFO: Acknowledgment sent {"connection_id":145869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:30:35] local.INFO: TCP Data received {"connection_id":147075,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbad499b8012d6c53c006113ce00006012e31..."} 
[2026-08-01 06:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbad499b8012d6c53c006113ce00006012e31..."} 
[2026-08-01 06:30:35] local.INFO: Processing buffer {"connection_id":147075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbad499b8012d6c53c006113ce00006012e31..."} 
[2026-08-01 06:30:35] local.INFO: Packet analysis {"connection_id":147075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbad4"} 
[2026-08-01 06:30:35] local.INFO: Extracted packet for processing {"connection_id":147075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbad4"} 
[2026-08-01 06:30:35] local.INFO: GPS Element Parsed {"raw_longitude":762074048,"raw_latitude":101792992,"longitude_deg":76.2074048,"latitude_deg":10.1792992,"altitude":6,"angle":302,"satellites":49,"speed":0,"hex_longitude":"2d6c53c0","hex_latitude":"06113ce0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 06:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099750912001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365512076350717952,"note":"Value kept but may cause issues"} 
[2026-08-01 06:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7810438048569548800,"note":"Value kept but may cause issues"} 
[2026-08-01 06:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785545923000,"timestamp_ms":1785545923000,"timestamp_seconds":1785545923,"priority":1,"record_length":96,"hex_timestamp":"0000019fbad499b8"} 
[2026-08-01 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-08-01 06:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":97,"data_length":795,"current_offset":136} 
[2026-08-01 06:30: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-08-01 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-08-01 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-08-01 06:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099750912001,"66":27691,"245":206,"19":43264,"24":0,"16":365512076350717952,"45":7810438048569548800},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,19,24,16,45]} 
[2026-08-01 06:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099750912001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:30:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-08-01 06:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365512076350717952,"km_value":365512076350717.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":7810438048569548800,"description":"Unknown IO ID 45"} 
[2026-08-01 06:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099750912001,"power":27691,"geofence_id":206,"unknown_19":43264,"ignition":0,"odometer":null,"unknown_45":7810438048569548800}} 
[2026-08-01 06:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":147075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:30:35] local.INFO: GPS data processed {"connection_id":147075,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:30:35] local.INFO: Acknowledgment sent {"connection_id":147075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:30:55] local.INFO: TCP Data received {"connection_id":147076,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:30:55] local.INFO: Processing buffer {"connection_id":147076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:30:55] local.INFO: IMEI packet received {"connection_id":147076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 06:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":147076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:30:56] local.INFO: TCP Data received {"connection_id":147076,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:30:56] local.INFO: Processing buffer {"connection_id":147076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:30:56] local.INFO: IMEI packet received {"connection_id":147076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":147076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:30:57] local.INFO: TCP Data received {"connection_id":147076,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:30:57] local.INFO: Processing buffer {"connection_id":147076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:30:57] local.INFO: IMEI packet received {"connection_id":147076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":147076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:30:57] local.INFO: TCP Data received {"connection_id":147076,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:30:57] local.INFO: Processing buffer {"connection_id":147076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:30:57] local.INFO: IMEI packet received {"connection_id":147076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":147076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:31:07] local.INFO: TCP Data received {"connection_id":148394,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148394,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:31:07] local.INFO: Processing buffer {"connection_id":148394,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:31:07] local.INFO: IMEI packet received {"connection_id":148394,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 06:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":148394,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:31:08] local.INFO: TCP Data received {"connection_id":148394,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148394,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:31:08] local.INFO: Processing buffer {"connection_id":148394,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:31:08] local.INFO: IMEI packet received {"connection_id":148394,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":148394,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:31:09] local.INFO: TCP Data received {"connection_id":148394,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbad666a8012d7d31c005cb3830000300b71c..."} 
[2026-08-01 06:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbad666a8012d7d31c005cb3830000300b71c..."} 
[2026-08-01 06:31:09] local.INFO: Processing buffer {"connection_id":148394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbad666a8012d7d31c005cb3830000300b71c..."} 
[2026-08-01 06:31:09] local.INFO: Packet analysis {"connection_id":148394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbad6"} 
[2026-08-01 06:31:09] local.INFO: Extracted packet for processing {"connection_id":148394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbad6"} 
[2026-08-01 06:31:09] local.INFO: GPS Element Parsed {"raw_longitude":763179456,"raw_latitude":97204272,"longitude_deg":76.3179456,"latitude_deg":9.7204272,"altitude":3,"angle":183,"satellites":28,"speed":20,"hex_longitude":"2d7d31c0","hex_latitude":"05cb3830","is_valid_coordinates":true} 
[2026-08-01 06:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099784960001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113318060655378432,"note":"Value kept but may cause issues"} 
[2026-08-01 06:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020710078507988992,"note":"Value kept but may cause issues"} 
[2026-08-01 06:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785546041000,"timestamp_ms":1785546041000,"timestamp_seconds":1785546041,"priority":1,"record_length":96,"hex_timestamp":"0000019fbad666a8"} 
[2026-08-01 06:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-08-01 06:31:09] 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-08-01 06:31:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":148394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":148394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":148394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:31:09] 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-08-01 06:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099784960001,"66":13678,"129":206,"85":15104,"24":20,"16":113318060655378432,"45":9020710078507988992},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-08-01 06:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099784960001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:31:09] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-01 06:31:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 06:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113318060655378432,"km_value":113318060655378.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020710078507988992,"description":"Unknown IO ID 45"} 
[2026-08-01 06:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099784960001,"power":13678,"unknown_129":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":9020710078507988992}} 
[2026-08-01 06:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":148394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576032,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:31:09] local.INFO: GPS data processed {"connection_id":148394,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:31:09] local.INFO: Acknowledgment sent {"connection_id":148394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:31:13] local.INFO: TCP Data received {"connection_id":148394,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbad691a0012d7d300005cb1218000400b71c..."} 
[2026-08-01 06:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbad691a0012d7d300005cb1218000400b71c..."} 
[2026-08-01 06:31:13] local.INFO: Processing buffer {"connection_id":148394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbad691a0012d7d300005cb1218000400b71c..."} 
[2026-08-01 06:31:13] local.INFO: Packet analysis {"connection_id":148394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbad6"} 
[2026-08-01 06:31:13] local.INFO: Extracted packet for processing {"connection_id":148394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbad6"} 
[2026-08-01 06:31:13] local.INFO: GPS Element Parsed {"raw_longitude":763179008,"raw_latitude":97194520,"longitude_deg":76.3179008,"latitude_deg":9.719452,"altitude":4,"angle":183,"satellites":28,"speed":45,"hex_longitude":"2d7d3000","hex_latitude":"05cb1218","is_valid_coordinates":true} 
[2026-08-01 06:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099786496001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113318537396748288,"note":"Value kept but may cause issues"} 
[2026-08-01 06:31:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021202659716640768,"note":"Value kept but may cause issues"} 
[2026-08-01 06:31:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785546052000,"timestamp_ms":1785546052000,"timestamp_seconds":1785546052,"priority":1,"record_length":96,"hex_timestamp":"0000019fbad691a0"} 
[2026-08-01 06:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:31:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-01 06:31:13] 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-08-01 06:31:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:31:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":148394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":148394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":148394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:31:13] 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-08-01 06:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099786496001,"66":13613,"131":206,"85":15104,"24":45,"16":113318537396748288,"45":9021202659716640768},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-08-01 06:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099786496001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:31:13] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-01 06:31:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 06:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113318537396748288,"km_value":113318537396748.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:31:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021202659716640768,"description":"Unknown IO ID 45"} 
[2026-08-01 06:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099786496001,"power":13613,"unknown_131":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":9021202659716640768}} 
[2026-08-01 06:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":148394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576033,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:31:13] local.INFO: GPS data processed {"connection_id":148394,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:31:13] local.INFO: Acknowledgment sent {"connection_id":148394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:31:44] local.INFO: TCP Data received {"connection_id":148394,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbad6b0e0012d7d2e0005caeaf0000600b81d..."} 
[2026-08-01 06:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbad6b0e0012d7d2e0005caeaf0000600b81d..."} 
[2026-08-01 06:31:44] local.INFO: Processing buffer {"connection_id":148394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbad6b0e0012d7d2e0005caeaf0000600b81d..."} 
[2026-08-01 06:31:44] local.INFO: Packet analysis {"connection_id":148394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbad6"} 
[2026-08-01 06:31:44] local.INFO: Extracted packet for processing {"connection_id":148394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbad6"} 
[2026-08-01 06:31:44] local.INFO: GPS Element Parsed {"raw_longitude":763178496,"raw_latitude":97184496,"longitude_deg":76.3178496,"latitude_deg":9.7184496,"altitude":6,"angle":184,"satellites":29,"speed":53,"hex_longitude":"2d7d2e00","hex_latitude":"05caeaf0","is_valid_coordinates":true} 
[2026-08-01 06:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099789312001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113319022728052736,"note":"Value kept but may cause issues"} 
[2026-08-01 06:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020710078504900608,"note":"Value kept but may cause issues"} 
[2026-08-01 06:31:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785546060000,"timestamp_ms":1785546060000,"timestamp_seconds":1785546060,"priority":1,"record_length":96,"hex_timestamp":"0000019fbad6b0e0"} 
[2026-08-01 06:31:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:31:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-08-01 06:31:44] 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-08-01 06:31:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:31:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":148394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":148394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":148394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:31:44] 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-08-01 06:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099789312001,"66":13820,"131":206,"85":15104,"24":53,"16":113319022728052736,"45":9020710078504900608},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-08-01 06:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099789312001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:31:44] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-01 06:31:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 06:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113319022728052736,"km_value":113319022728052.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:31:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020710078504900608,"description":"Unknown IO ID 45"} 
[2026-08-01 06:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099789312001,"power":13820,"unknown_131":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":9020710078504900608}} 
[2026-08-01 06:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":148394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576034,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:31:44] local.INFO: GPS data processed {"connection_id":148394,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:31:44] local.INFO: Acknowledgment sent {"connection_id":148394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:32:06] local.INFO: TCP Data received {"connection_id":147077,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147077,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:32:06] local.INFO: Processing buffer {"connection_id":147077,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:32:06] local.INFO: IMEI packet received {"connection_id":147077,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 06:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":147077,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:32:07] local.INFO: TCP Data received {"connection_id":147077,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147077,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:32:07] local.INFO: Processing buffer {"connection_id":147077,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:32:07] local.INFO: IMEI packet received {"connection_id":147077,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":147077,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:32:13] local.INFO: TCP Data received {"connection_id":147077,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147077,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:32:13] local.INFO: Processing buffer {"connection_id":147077,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:32:13] local.INFO: IMEI packet received {"connection_id":147077,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":147077,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:32:17] local.INFO: TCP Data received {"connection_id":147077,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbad6cc38012d7d2b0005cac4e0000300b81d..."} 
[2026-08-01 06:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbad6cc38012d7d2b0005cac4e0000300b81d..."} 
[2026-08-01 06:32:17] local.INFO: Processing buffer {"connection_id":147077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbad6cc38012d7d2b0005cac4e0000300b81d..."} 
[2026-08-01 06:32:17] local.INFO: Packet analysis {"connection_id":147077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbad6"} 
[2026-08-01 06:32:17] local.INFO: Extracted packet for processing {"connection_id":147077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbad6"} 
[2026-08-01 06:32:17] local.INFO: GPS Element Parsed {"raw_longitude":763177728,"raw_latitude":97174752,"longitude_deg":76.3177728,"latitude_deg":9.7174752,"altitude":3,"angle":184,"satellites":29,"speed":57,"hex_longitude":"2d7d2b00","hex_latitude":"05cac4e0","is_valid_coordinates":true} 
[2026-08-01 06:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:32:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099791360001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:32:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113319495174455296,"note":"Value kept but may cause issues"} 
[2026-08-01 06:32:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020147128548913152,"note":"Value kept but may cause issues"} 
[2026-08-01 06:32:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:32:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785546067000,"timestamp_ms":1785546067000,"timestamp_seconds":1785546067,"priority":1,"record_length":96,"hex_timestamp":"0000019fbad6cc38"} 
[2026-08-01 06:32:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:32: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-08-01 06:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-01 06:32:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06:32:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:32:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:32:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:32:17] local.INFO: Teltonika packet parsed successfully {"connection_id":147077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:32:17] local.INFO: Passing IMEI to GPS processor {"connection_id":147077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:32:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":147077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:32:17] 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-08-01 06:32:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:32:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:32:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099791360001,"66":13830,"131":206,"85":15104,"24":57,"16":113319495174455296,"45":9020147128548913152},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-08-01 06:32:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:32:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:32:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099791360001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:32:17] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-01 06:32:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 06:32:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113319495174455296,"km_value":113319495174455.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:32:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020147128548913152,"description":"Unknown IO ID 45"} 
[2026-08-01 06:32:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099791360001,"power":13830,"unknown_131":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":9020147128548913152}} 
[2026-08-01 06:32:17] local.INFO: DEBUG: GPS processor result {"connection_id":147077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576035,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:32:17] local.INFO: GPS data processed {"connection_id":147077,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:32:17] local.INFO: Acknowledgment sent {"connection_id":147077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:32:48] local.INFO: TCP Data received {"connection_id":147077,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbad7e578012d7d0c4005c93030000400b223..."} 
[2026-08-01 06:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbad7e578012d7d0c4005c93030000400b223..."} 
[2026-08-01 06:32:48] local.INFO: Processing buffer {"connection_id":147077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbad7e578012d7d0c4005c93030000400b223..."} 
[2026-08-01 06:32:48] local.INFO: Packet analysis {"connection_id":147077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbad7"} 
[2026-08-01 06:32:48] local.INFO: Extracted packet for processing {"connection_id":147077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbad7"} 
[2026-08-01 06:32:48] local.INFO: GPS Element Parsed {"raw_longitude":763169856,"raw_latitude":97071152,"longitude_deg":76.3169856,"latitude_deg":9.7071152,"altitude":4,"angle":178,"satellites":35,"speed":36,"hex_longitude":"2d7d0c40","hex_latitude":"05c93030","is_valid_coordinates":true} 
[2026-08-01 06:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:32:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099809536001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:32:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113324537466060800,"note":"Value kept but may cause issues"} 
[2026-08-01 06:32:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010365873081497600,"note":"Value kept but may cause issues"} 
[2026-08-01 06:32:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:32:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785546139000,"timestamp_ms":1785546139000,"timestamp_seconds":1785546139,"priority":1,"record_length":96,"hex_timestamp":"0000019fbad7e578"} 
[2026-08-01 06:32:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:32: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-08-01 06:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-01 06:32:48] 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-08-01 06:32:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:32:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:32:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:32:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:32:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:32:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:32:48] 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-08-01 06:32:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:32:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:32:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099809536001,"66":13689,"131":206,"85":15104,"24":36,"16":113324537466060800,"45":9010365873081497600},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-08-01 06:32:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:32:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:32:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099809536001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:32:48] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-01 06:32:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 06:32:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113324537466060800,"km_value":113324537466060.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:32:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010365873081497600,"description":"Unknown IO ID 45"} 
[2026-08-01 06:32:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099809536001,"power":13689,"unknown_131":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9010365873081497600}} 
[2026-08-01 06:32:48] local.INFO: DEBUG: GPS processor result {"connection_id":147077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576036,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:32:48] local.INFO: GPS data processed {"connection_id":147077,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:32:48] local.INFO: Acknowledgment sent {"connection_id":147077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:33:07] local.INFO: TCP Data received {"connection_id":146063,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146063,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:33:07] local.INFO: Processing buffer {"connection_id":146063,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:33:07] local.INFO: IMEI packet received {"connection_id":146063,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 06:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":146063,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:33:08] local.INFO: TCP Data received {"connection_id":146063,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146063,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:33:08] local.INFO: Processing buffer {"connection_id":146063,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:33:08] local.INFO: IMEI packet received {"connection_id":146063,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":146063,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:33:12] local.INFO: TCP Data received {"connection_id":146063,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146063,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:33:12] local.INFO: Processing buffer {"connection_id":146063,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:33:12] local.INFO: IMEI packet received {"connection_id":146063,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":146063,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:33:13] local.INFO: TCP Data received {"connection_id":146063,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbad81840012d7d0d8005c910e8000400c123..."} 
[2026-08-01 06:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbad81840012d7d0d8005c910e8000400c123..."} 
[2026-08-01 06:33:13] local.INFO: Processing buffer {"connection_id":146063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbad81840012d7d0d8005c910e8000400c123..."} 
[2026-08-01 06:33:13] local.INFO: Packet analysis {"connection_id":146063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbad8"} 
[2026-08-01 06:33:13] local.INFO: Extracted packet for processing {"connection_id":146063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbad8"} 
[2026-08-01 06:33:13] local.INFO: GPS Element Parsed {"raw_longitude":763170176,"raw_latitude":97063144,"longitude_deg":76.3170176,"latitude_deg":9.7063144,"altitude":4,"angle":193,"satellites":35,"speed":12,"hex_longitude":"2d7d0d80","hex_latitude":"05c910e8","is_valid_coordinates":true} 
[2026-08-01 06:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099811584001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113324928308084736,"note":"Value kept but may cause issues"} 
[2026-08-01 06:33:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010647348055912448,"note":"Value kept but may cause issues"} 
[2026-08-01 06:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785546152000,"timestamp_ms":1785546152000,"timestamp_seconds":1785546152,"priority":1,"record_length":96,"hex_timestamp":"0000019fbad81840"} 
[2026-08-01 06:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:33:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-08-01 06:33:13] 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-08-01 06:33:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":146063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":146063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":146063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:33:13] 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-08-01 06:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099811584001,"66":13559,"131":206,"85":15104,"24":12,"16":113324928308084736,"45":9010647348055912448},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-08-01 06:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099811584001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:33:13] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-01 06:33:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 06:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113324928308084736,"km_value":113324928308084.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010647348055912448,"description":"Unknown IO ID 45"} 
[2026-08-01 06:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099811584001,"power":13559,"unknown_131":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9010647348055912448}} 
[2026-08-01 06:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":146063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576037,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:33:13] local.INFO: GPS data processed {"connection_id":146063,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:33:13] local.INFO: Acknowledgment sent {"connection_id":146063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:33:44] local.INFO: TCP Data received {"connection_id":146063,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbad827e0012d7d0c8005c90c00000500b423..."} 
[2026-08-01 06:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbad827e0012d7d0c8005c90c00000500b423..."} 
[2026-08-01 06:33:44] local.INFO: Processing buffer {"connection_id":146063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbad827e0012d7d0c8005c90c00000500b423..."} 
[2026-08-01 06:33:44] local.INFO: Packet analysis {"connection_id":146063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbad8"} 
[2026-08-01 06:33:44] local.INFO: Extracted packet for processing {"connection_id":146063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbad8"} 
[2026-08-01 06:33:44] local.INFO: GPS Element Parsed {"raw_longitude":763169920,"raw_latitude":97061888,"longitude_deg":76.316992,"latitude_deg":9.7061888,"altitude":5,"angle":180,"satellites":35,"speed":16,"hex_longitude":"2d7d0c80","hex_latitude":"05c90c00","is_valid_coordinates":true} 
[2026-08-01 06:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099814912001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113324988437626880,"note":"Value kept but may cause issues"} 
[2026-08-01 06:33:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010999191774750720,"note":"Value kept but may cause issues"} 
[2026-08-01 06:33:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785546156000,"timestamp_ms":1785546156000,"timestamp_seconds":1785546156,"priority":1,"record_length":96,"hex_timestamp":"0000019fbad827e0"} 
[2026-08-01 06:33:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:33:44] 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-08-01 06:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-01 06:33:44] 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-08-01 06:33:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:33:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":146063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":146063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":146063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:33:44] 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-08-01 06:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099814912001,"66":13678,"131":206,"85":15104,"24":16,"16":113324988437626880,"45":9010999191774750720},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-08-01 06:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099814912001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:33:44] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-01 06:33:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 06:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113324988437626880,"km_value":113324988437626.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:33:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010999191774750720,"description":"Unknown IO ID 45"} 
[2026-08-01 06:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099814912001,"power":13678,"unknown_131":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":9010999191774750720}} 
[2026-08-01 06:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":146063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576038,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:33:44] local.INFO: GPS data processed {"connection_id":146063,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:33:44] local.INFO: Acknowledgment sent {"connection_id":146063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:34:07] local.INFO: TCP Data received {"connection_id":148396,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148396,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:34:07] local.INFO: Processing buffer {"connection_id":148396,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:34:07] local.INFO: IMEI packet received {"connection_id":148396,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 06:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":148396,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:34:12] local.INFO: TCP Data received {"connection_id":148396,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148396,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:34:12] local.INFO: Processing buffer {"connection_id":148396,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:34:12] local.INFO: IMEI packet received {"connection_id":148396,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":148396,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:34:13] local.INFO: TCP Data received {"connection_id":148396,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbad856c0012d7d0ec005c8e928000900b023..."} 
[2026-08-01 06:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbad856c0012d7d0ec005c8e928000900b023..."} 
[2026-08-01 06:34:13] local.INFO: Processing buffer {"connection_id":148396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbad856c0012d7d0ec005c8e928000900b023..."} 
[2026-08-01 06:34:13] local.INFO: Packet analysis {"connection_id":148396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbad8"} 
[2026-08-01 06:34:13] local.INFO: Extracted packet for processing {"connection_id":148396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbad8"} 
[2026-08-01 06:34:13] local.INFO: GPS Element Parsed {"raw_longitude":763170496,"raw_latitude":97052968,"longitude_deg":76.3170496,"latitude_deg":9.7052968,"altitude":9,"angle":176,"satellites":35,"speed":36,"hex_longitude":"2d7d0ec0","hex_latitude":"05c8e928","is_valid_coordinates":true} 
[2026-08-01 06:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099815936001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113325422229323776,"note":"Value kept but may cause issues"} 
[2026-08-01 06:34:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010717716797718528,"note":"Value kept but may cause issues"} 
[2026-08-01 06:34:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785546168000,"timestamp_ms":1785546168000,"timestamp_seconds":1785546168,"priority":1,"record_length":96,"hex_timestamp":"0000019fbad856c0"} 
[2026-08-01 06:34:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:34:13] 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-08-01 06:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-01 06:34:13] 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-08-01 06:34:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:34:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":148396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":148396,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":148396,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:34:13] 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-08-01 06:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099815936001,"66":13798,"131":206,"85":15104,"24":36,"16":113325422229323776,"45":9010717716797718528},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-08-01 06:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099815936001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:34:13] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-01 06:34:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 06:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113325422229323776,"km_value":113325422229323.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:34:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010717716797718528,"description":"Unknown IO ID 45"} 
[2026-08-01 06:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099815936001,"power":13798,"unknown_131":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9010717716797718528}} 
[2026-08-01 06:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":148396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576039,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:34:13] local.INFO: GPS data processed {"connection_id":148396,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:34:13] local.INFO: Acknowledgment sent {"connection_id":148396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:34:44] local.INFO: TCP Data received {"connection_id":148396,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbad879e8012d7d108005c8c520000c00b223..."} 
[2026-08-01 06:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbad879e8012d7d108005c8c520000c00b223..."} 
[2026-08-01 06:34:44] local.INFO: Processing buffer {"connection_id":148396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbad879e8012d7d108005c8c520000c00b223..."} 
[2026-08-01 06:34:44] local.INFO: Packet analysis {"connection_id":148396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbad8"} 
[2026-08-01 06:34:44] local.INFO: Extracted packet for processing {"connection_id":148396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbad8"} 
[2026-08-01 06:34:44] local.INFO: GPS Element Parsed {"raw_longitude":763170944,"raw_latitude":97043744,"longitude_deg":76.3170944,"latitude_deg":9.7043744,"altitude":12,"angle":178,"satellites":35,"speed":43,"hex_longitude":"2d7d1080","hex_latitude":"05c8c520","is_valid_coordinates":true} 
[2026-08-01 06:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099819008001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113325868905922560,"note":"Value kept but may cause issues"} 
[2026-08-01 06:34:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011351035493033984,"note":"Value kept but may cause issues"} 
[2026-08-01 06:34:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785546177000,"timestamp_ms":1785546177000,"timestamp_seconds":1785546177,"priority":1,"record_length":96,"hex_timestamp":"0000019fbad879e8"} 
[2026-08-01 06:34:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:34:44] 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-08-01 06:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-01 06:34:44] 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-08-01 06:34:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:34:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":148396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":148396,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":148396,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:34:44] 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-08-01 06:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099819008001,"66":13646,"131":206,"85":15104,"24":43,"16":113325868905922560,"45":9011351035493033984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-08-01 06:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099819008001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:34:44] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-01 06:34:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 06:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113325868905922560,"km_value":113325868905922.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:34:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011351035493033984,"description":"Unknown IO ID 45"} 
[2026-08-01 06:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099819008001,"power":13646,"unknown_131":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":9011351035493033984}} 
[2026-08-01 06:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":148396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576040,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:34:44] local.INFO: GPS data processed {"connection_id":148396,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:34:44] local.INFO: Acknowledgment sent {"connection_id":148396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:35:09] local.INFO: TCP Data received {"connection_id":146064,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146064,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:35:09] local.INFO: Processing buffer {"connection_id":146064,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:35:09] local.INFO: IMEI packet received {"connection_id":146064,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 06:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":146064,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:35:12] local.INFO: TCP Data received {"connection_id":146064,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146064,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:35:12] local.INFO: Processing buffer {"connection_id":146064,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:35:12] local.INFO: IMEI packet received {"connection_id":146064,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":146064,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:35:15] local.INFO: TCP Data received {"connection_id":146064,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbada23b0012d7db74005c74ce00008006d29..."} 
[2026-08-01 06:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbada23b0012d7db74005c74ce00008006d29..."} 
[2026-08-01 06:35:15] local.INFO: Processing buffer {"connection_id":146064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbada23b0012d7db74005c74ce00008006d29..."} 
[2026-08-01 06:35:15] local.INFO: Packet analysis {"connection_id":146064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbada"} 
[2026-08-01 06:35:15] local.INFO: Extracted packet for processing {"connection_id":146064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbada"} 
[2026-08-01 06:35:15] local.INFO: GPS Element Parsed {"raw_longitude":763213632,"raw_latitude":96947424,"longitude_deg":76.3213632,"latitude_deg":9.6947424,"altitude":8,"angle":109,"satellites":41,"speed":15,"hex_longitude":"2d7db740","hex_latitude":"05c74ce0","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099844608001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:35:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-01 06:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113331237615042560,"note":"Value kept but may cause issues"} 
[2026-08-01 06:35:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9051390850904193024,"note":"Value kept but may cause issues"} 
[2026-08-01 06:35:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-01 06:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785546286000,"timestamp_ms":1785546286000,"timestamp_seconds":1785546286,"priority":1,"record_length":96,"hex_timestamp":"0000019fbada23b0"} 
[2026-08-01 06:35:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:35:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-01 06:35:15] 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-08-01 06: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-08-01 06:35:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":146064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":146064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":146064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:35:15] 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-08-01 06:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099844608001,"66":13678,"200":0,"85":12288,"24":15,"16":113331237615042560,"45":9051390850904193024},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-01 06:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099844608001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:35:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 06:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113331237615042560,"km_value":113331237615042.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:35:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9051390850904193024,"description":"Unknown IO ID 45"} 
[2026-08-01 06:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099844608001,"power":13678,"gsm_signal":0,"unknown_85":12288,"ignition":15,"odometer":null,"unknown_45":9051390850904193024}} 
[2026-08-01 06:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":146064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576041,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:35:15] local.INFO: GPS data processed {"connection_id":146064,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:35:15] local.INFO: Acknowledgment sent {"connection_id":146064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:35:46] local.INFO: TCP Data received {"connection_id":146064,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbada2798012d7db8c005c74c900008006029..."} 
[2026-08-01 06:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbada2798012d7db8c005c74c900008006029..."} 
[2026-08-01 06:35:46] local.INFO: Processing buffer {"connection_id":146064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbada2798012d7db8c005c74c900008006029..."} 
[2026-08-01 06:35:46] local.INFO: Packet analysis {"connection_id":146064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbada"} 
[2026-08-01 06:35:46] local.INFO: Extracted packet for processing {"connection_id":146064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbada"} 
[2026-08-01 06:35:46] local.INFO: GPS Element Parsed {"raw_longitude":763214016,"raw_latitude":96947344,"longitude_deg":76.3214016,"latitude_deg":9.6947344,"altitude":8,"angle":96,"satellites":41,"speed":14,"hex_longitude":"2d7db8c0","hex_latitude":"05c74c90","is_valid_coordinates":true} 
[2026-08-01 06:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099849216001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:35:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-01 06:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113331259089879040,"note":"Value kept but may cause issues"} 
[2026-08-01 06:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9058779569041760256,"note":"Value kept but may cause issues"} 
[2026-08-01 06:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-01 06:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785546287000,"timestamp_ms":1785546287000,"timestamp_seconds":1785546287,"priority":1,"record_length":96,"hex_timestamp":"0000019fbada2798"} 
[2026-08-01 06:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-01 06:35:46] 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-08-01 06:35:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":146064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":146064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":146064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:35:46] 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-08-01 06:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099849216001,"66":13678,"200":0,"85":12288,"24":14,"16":113331259089879040,"45":9058779569041760256},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-01 06:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099849216001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:35:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 06:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113331259089879040,"km_value":113331259089879.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9058779569041760256,"description":"Unknown IO ID 45"} 
[2026-08-01 06:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099849216001,"power":13678,"gsm_signal":0,"unknown_85":12288,"ignition":14,"odometer":null,"unknown_45":9058779569041760256}} 
[2026-08-01 06:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":146064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576042,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:35:46] local.INFO: GPS data processed {"connection_id":146064,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:35:46] local.INFO: Acknowledgment sent {"connection_id":146064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:36:02] local.INFO: TCP Data received {"connection_id":147080,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:36:02] local.INFO: Processing buffer {"connection_id":147080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:36:02] local.INFO: IMEI packet received {"connection_id":147080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 06:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":147080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:36:04] local.INFO: TCP Data received {"connection_id":147080,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbad91a10012d6b684006132c08000e01622e..."} 
[2026-08-01 06:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbad91a10012d6b684006132c08000e01622e..."} 
[2026-08-01 06:36:04] local.INFO: Processing buffer {"connection_id":147080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbad91a10012d6b684006132c08000e01622e..."} 
[2026-08-01 06:36:04] local.INFO: Packet analysis {"connection_id":147080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbad9"} 
[2026-08-01 06:36:04] local.INFO: Extracted packet for processing {"connection_id":147080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbad9"} 
[2026-08-01 06:36:04] local.INFO: GPS Element Parsed {"raw_longitude":762013760,"raw_latitude":101919752,"longitude_deg":76.201376,"latitude_deg":10.1919752,"altitude":14,"angle":354,"satellites":46,"speed":33,"hex_longitude":"2d6b6840","hex_latitude":"06132c08","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099828992001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365519669852897280,"note":"Value kept but may cause issues"} 
[2026-08-01 06:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7740561885632139264,"note":"Value kept but may cause issues"} 
[2026-08-01 06:36:04] 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-08-01 06:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785546218000,"timestamp_ms":1785546218000,"timestamp_seconds":1785546218,"priority":1,"record_length":96,"hex_timestamp":"0000019fbad91a10"} 
[2026-08-01 06:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:36:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-01 06:36:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06: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-08-01 06:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099828992001,"66":27767,"91":206,"19":40704,"24":33,"16":365519669852897280,"45":7740561885632139264},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,19,24,16,45]} 
[2026-08-01 06:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099828992001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:36:04] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-01 06:36:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-08-01 06:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365519669852897280,"km_value":365519669852897.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7740561885632139264,"description":"Unknown IO ID 45"} 
[2026-08-01 06:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099828992001,"power":27767,"unknown_91":206,"unknown_19":40704,"ignition":33,"odometer":null,"unknown_45":7740561885632139264}} 
[2026-08-01 06:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":147080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:36:04] local.INFO: GPS data processed {"connection_id":147080,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:36:04] local.INFO: Acknowledgment sent {"connection_id":147080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:36:08] local.INFO: TCP Data received {"connection_id":147081,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147081,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:36:08] local.INFO: Processing buffer {"connection_id":147081,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:36:08] local.INFO: IMEI packet received {"connection_id":147081,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 06:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":147081,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:36:12] local.INFO: TCP Data received {"connection_id":147081,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147081,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:36:12] local.INFO: Processing buffer {"connection_id":147081,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:36:12] local.INFO: IMEI packet received {"connection_id":147081,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":147081,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:36:13] local.INFO: TCP Data received {"connection_id":147081,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbada3350012d7dbe4005c74b700008006e29..."} 
[2026-08-01 06:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbada3350012d7dbe4005c74b700008006e29..."} 
[2026-08-01 06:36:13] local.INFO: Processing buffer {"connection_id":147081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbada3350012d7dbe4005c74b700008006e29..."} 
[2026-08-01 06:36:13] local.INFO: Packet analysis {"connection_id":147081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbada"} 
[2026-08-01 06:36:13] local.INFO: Extracted packet for processing {"connection_id":147081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbada"} 
[2026-08-01 06:36:13] local.INFO: GPS Element Parsed {"raw_longitude":763215424,"raw_latitude":96947056,"longitude_deg":76.3215424,"latitude_deg":9.6947056,"altitude":8,"angle":110,"satellites":41,"speed":24,"hex_longitude":"2d7dbe40","hex_latitude":"05c74b70","is_valid_coordinates":true} 
[2026-08-01 06:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099849472001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:36:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-01 06:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113331323514388480,"note":"Value kept but may cause issues"} 
[2026-08-01 06:36:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9059201781506805760,"note":"Value kept but may cause issues"} 
[2026-08-01 06:36:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-01 06:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785546290000,"timestamp_ms":1785546290000,"timestamp_seconds":1785546290,"priority":1,"record_length":96,"hex_timestamp":"0000019fbada3350"} 
[2026-08-01 06:36:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:36:13] 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-08-01 06:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-01 06:36:13] 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-08-01 06:36:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:36:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":147081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":147081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":147081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:36:13] 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-08-01 06:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099849472001,"66":13646,"200":0,"85":12288,"24":24,"16":113331323514388480,"45":9059201781506805760},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-01 06:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099849472001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:36:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 06:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113331323514388480,"km_value":113331323514388.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:36:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9059201781506805760,"description":"Unknown IO ID 45"} 
[2026-08-01 06:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099849472001,"power":13646,"gsm_signal":0,"unknown_85":12288,"ignition":24,"odometer":null,"unknown_45":9059201781506805760}} 
[2026-08-01 06:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":147081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576044,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:36:13] local.INFO: GPS data processed {"connection_id":147081,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:36:13] local.INFO: Acknowledgment sent {"connection_id":147081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:36:37] local.INFO: TCP Data received {"connection_id":147080,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbad94508012d6b64c006134ea0000f01612e..."} 
[2026-08-01 06:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbad94508012d6b64c006134ea0000f01612e..."} 
[2026-08-01 06:36:37] local.INFO: Processing buffer {"connection_id":147080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbad94508012d6b64c006134ea0000f01612e..."} 
[2026-08-01 06:36:37] local.INFO: Packet analysis {"connection_id":147080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbad9"} 
[2026-08-01 06:36:37] local.INFO: Extracted packet for processing {"connection_id":147080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbad9"} 
[2026-08-01 06:36:37] local.INFO: GPS Element Parsed {"raw_longitude":762012864,"raw_latitude":101928608,"longitude_deg":76.2012864,"latitude_deg":10.1928608,"altitude":15,"angle":353,"satellites":46,"speed":30,"hex_longitude":"2d6b64c0","hex_latitude":"06134ea0","is_valid_coordinates":true} 
[2026-08-01 06:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099831808001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365520103644594176,"note":"Value kept but may cause issues"} 
[2026-08-01 06:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7739506354471831552,"note":"Value kept but may cause issues"} 
[2026-08-01 06:36:37] 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-08-01 06:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785546229000,"timestamp_ms":1785546229000,"timestamp_seconds":1785546229,"priority":1,"record_length":96,"hex_timestamp":"0000019fbad94508"} 
[2026-08-01 06:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 06:36: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-08-01 06:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099831808001,"66":27463,"91":206,"19":40704,"24":30,"16":365520103644594176,"45":7739506354471831552},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,19,24,16,45]} 
[2026-08-01 06:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099831808001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:36:37] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-01 06:36:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-08-01 06:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365520103644594176,"km_value":365520103644594.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7739506354471831552,"description":"Unknown IO ID 45"} 
[2026-08-01 06:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099831808001,"power":27463,"unknown_91":206,"unknown_19":40704,"ignition":30,"odometer":null,"unknown_45":7739506354471831552}} 
[2026-08-01 06:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":147080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:36:37] local.INFO: GPS data processed {"connection_id":147080,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:36:37] local.INFO: Acknowledgment sent {"connection_id":147080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:36:44] local.INFO: TCP Data received {"connection_id":147081,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbada3b20012d7dc24005c749480008007a29..."} 
[2026-08-01 06:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbada3b20012d7dc24005c749480008007a29..."} 
[2026-08-01 06:36:44] local.INFO: Processing buffer {"connection_id":147081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbada3b20012d7dc24005c749480008007a29..."} 
[2026-08-01 06:36:44] local.INFO: Packet analysis {"connection_id":147081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbada"} 
[2026-08-01 06:36:44] local.INFO: Extracted packet for processing {"connection_id":147081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbada"} 
[2026-08-01 06:36:44] local.INFO: GPS Element Parsed {"raw_longitude":763216448,"raw_latitude":96946504,"longitude_deg":76.3216448,"latitude_deg":9.6946504,"altitude":8,"angle":122,"satellites":41,"speed":26,"hex_longitude":"2d7dc240","hex_latitude":"05c74948","is_valid_coordinates":true} 
[2026-08-01 06:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:36:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099850240001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:36:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-01 06:36:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113331383643930624,"note":"Value kept but may cause issues"} 
[2026-08-01 06:36:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9060749893878640640,"note":"Value kept but may cause issues"} 
[2026-08-01 06:36:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-01 06:36:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785546292000,"timestamp_ms":1785546292000,"timestamp_seconds":1785546292,"priority":1,"record_length":96,"hex_timestamp":"0000019fbada3b20"} 
[2026-08-01 06:36:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:36:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-01 06:36:44] 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-08-01 06:36:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:36:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:36:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:36:44] local.INFO: Teltonika packet parsed successfully {"connection_id":147081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:36:44] local.INFO: Passing IMEI to GPS processor {"connection_id":147081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:36:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":147081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:36:44] 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-08-01 06:36:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:36:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:36:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099850240001,"66":13613,"200":0,"85":12288,"24":26,"16":113331383643930624,"45":9060749893878640640},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-01 06:36:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:36:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:36:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099850240001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:36:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 06:36:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113331383643930624,"km_value":113331383643930.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:36:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9060749893878640640,"description":"Unknown IO ID 45"} 
[2026-08-01 06:36:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099850240001,"power":13613,"gsm_signal":0,"unknown_85":12288,"ignition":26,"odometer":null,"unknown_45":9060749893878640640}} 
[2026-08-01 06:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":147081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576046,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:36:45] local.INFO: GPS data processed {"connection_id":147081,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:36:45] local.INFO: Acknowledgment sent {"connection_id":147081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:36:56] local.INFO: TCP Data received {"connection_id":147082,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:36:56] local.INFO: Processing buffer {"connection_id":147082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:36:56] local.INFO: IMEI packet received {"connection_id":147082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 06:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":147082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:37:01] local.INFO: TCP Data received {"connection_id":147082,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:37:01] local.INFO: Processing buffer {"connection_id":147082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:37:01] local.INFO: IMEI packet received {"connection_id":147082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":147082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:37:02] local.INFO: TCP Data received {"connection_id":147082,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbad973e8012d6b614006137160001201622c..."} 
[2026-08-01 06:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbad973e8012d6b614006137160001201622c..."} 
[2026-08-01 06:37:02] local.INFO: Processing buffer {"connection_id":147082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbad973e8012d6b614006137160001201622c..."} 
[2026-08-01 06:37:02] local.INFO: Packet analysis {"connection_id":147082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbad9"} 
[2026-08-01 06:37:02] local.INFO: Extracted packet for processing {"connection_id":147082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbad9"} 
[2026-08-01 06:37:02] local.INFO: GPS Element Parsed {"raw_longitude":762011968,"raw_latitude":101937504,"longitude_deg":76.2011968,"latitude_deg":10.1937504,"altitude":18,"angle":354,"satellites":44,"speed":29,"hex_longitude":"2d6b6140","hex_latitude":"06137160","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099834624001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365520537436291072,"note":"Value kept but may cause issues"} 
[2026-08-01 06:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7738521192055611392,"note":"Value kept but may cause issues"} 
[2026-08-01 06:37:02] 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-08-01 06:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785546241000,"timestamp_ms":1785546241000,"timestamp_seconds":1785546241,"priority":1,"record_length":96,"hex_timestamp":"0000019fbad973e8"} 
[2026-08-01 06:37:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:37: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-08-01 06: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-01 06:37:02] 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-08-01 06: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-08-01 06:37:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":147082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":147082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":147082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:37:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099834624001,"66":27767,"91":206,"19":40704,"24":29,"16":365520537436291072,"45":7738521192055611392},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,19,24,16,45]} 
[2026-08-01 06:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099834624001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:37:02] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-01 06:37:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-08-01 06:37:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365520537436291072,"km_value":365520537436291.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:37:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7738521192055611392,"description":"Unknown IO ID 45"} 
[2026-08-01 06:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099834624001,"power":27767,"unknown_91":206,"unknown_19":40704,"ignition":29,"odometer":null,"unknown_45":7738521192055611392}} 
[2026-08-01 06:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":147082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:37:02] local.INFO: GPS data processed {"connection_id":147082,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:37:02] local.INFO: Acknowledgment sent {"connection_id":147082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:37:09] local.INFO: TCP Data received {"connection_id":148397,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148397,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:37:09] local.INFO: Processing buffer {"connection_id":148397,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:37:09] local.INFO: IMEI packet received {"connection_id":148397,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 06:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":148397,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:37:13] local.INFO: TCP Data received {"connection_id":148397,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148397,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:37:13] local.INFO: Processing buffer {"connection_id":148397,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:37:13] local.INFO: IMEI packet received {"connection_id":148397,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":148397,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:37:14] local.INFO: TCP Data received {"connection_id":148397,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148397,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:37:14] local.INFO: Processing buffer {"connection_id":148397,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:37:14] local.INFO: IMEI packet received {"connection_id":148397,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":148397,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:37:15] local.INFO: TCP Data received {"connection_id":148397,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbadbc990012d7ef90005c667a80008009029..."} 
[2026-08-01 06:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbadbc990012d7ef90005c667a80008009029..."} 
[2026-08-01 06:37:15] local.INFO: Processing buffer {"connection_id":148397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbadbc990012d7ef90005c667a80008009029..."} 
[2026-08-01 06:37:15] local.INFO: Packet analysis {"connection_id":148397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbadb"} 
[2026-08-01 06:37:15] local.INFO: Extracted packet for processing {"connection_id":148397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbadb"} 
[2026-08-01 06:37:15] local.INFO: GPS Element Parsed {"raw_longitude":763296000,"raw_latitude":96888744,"longitude_deg":76.3296,"latitude_deg":9.6888744,"altitude":8,"angle":144,"satellites":41,"speed":6,"hex_longitude":"2d7ef900","hex_latitude":"05c667a8","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099871744001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:37:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-01 06:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113336108107956224,"note":"Value kept but may cause issues"} 
[2026-08-01 06:37:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9146599761761118208,"note":"Value kept but may cause issues"} 
[2026-08-01 06:37:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-01 06:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785546394000,"timestamp_ms":1785546394000,"timestamp_seconds":1785546394,"priority":1,"record_length":96,"hex_timestamp":"0000019fbadbc990"} 
[2026-08-01 06:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:37:15] 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-08-01 06: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-01 06:37:15] 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-08-01 06: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-08-01 06:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:37:15] 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-08-01 06:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099871744001,"66":13646,"200":0,"85":12288,"24":6,"16":113336108107956224,"45":9146599761761118208},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-01 06:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099871744001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:37:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 06:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113336108107956224,"km_value":113336108107956.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:37:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9146599761761118208,"description":"Unknown IO ID 45"} 
[2026-08-01 06:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099871744001,"power":13646,"gsm_signal":0,"unknown_85":12288,"ignition":6,"odometer":null,"unknown_45":9146599761761118208}} 
[2026-08-01 06:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":148397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576048,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:37:15] local.INFO: GPS data processed {"connection_id":148397,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:37:15] local.INFO: Acknowledgment sent {"connection_id":148397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:37:18] local.INFO: TCP Data received {"connection_id":148397,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbadc1b98012d7f05c005c656180006008e29..."} 
[2026-08-01 06:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbadc1b98012d7f05c005c656180006008e29..."} 
[2026-08-01 06:37:18] local.INFO: Processing buffer {"connection_id":148397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbadc1b98012d7f05c005c656180006008e29..."} 
[2026-08-01 06:37:18] local.INFO: Packet analysis {"connection_id":148397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbadc"} 
[2026-08-01 06:37:18] local.INFO: Extracted packet for processing {"connection_id":148397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbadc"} 
[2026-08-01 06:37:18] local.INFO: GPS Element Parsed {"raw_longitude":763299264,"raw_latitude":96884248,"longitude_deg":76.3299264,"latitude_deg":9.6884248,"altitude":6,"angle":142,"satellites":41,"speed":23,"hex_longitude":"2d7f05c0","hex_latitude":"05c65618","is_valid_coordinates":true} 
[2026-08-01 06:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:37:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099876864001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:37:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-01 06:37:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113336378690895872,"note":"Value kept but may cause issues"} 
[2026-08-01 06:37:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9149344142783391744,"note":"Value kept but may cause issues"} 
[2026-08-01 06:37:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-01 06:37:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785546415000,"timestamp_ms":1785546415000,"timestamp_seconds":1785546415,"priority":1,"record_length":96,"hex_timestamp":"0000019fbadc1b98"} 
[2026-08-01 06:37:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:37: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-08-01 06:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-01 06:37:18] 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-08-01 06:37:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:37:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:37:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:37:18] local.INFO: Teltonika packet parsed successfully {"connection_id":148397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:37:18] local.INFO: Passing IMEI to GPS processor {"connection_id":148397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:37:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":148397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:37:18] 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-08-01 06:37:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:37:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:37:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099876864001,"66":13678,"200":0,"85":12288,"24":23,"16":113336378690895872,"45":9149344142783391744},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-01 06:37:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:37:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:37:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099876864001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:37:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 06:37:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113336378690895872,"km_value":113336378690895.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:37:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9149344142783391744,"description":"Unknown IO ID 45"} 
[2026-08-01 06:37:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099876864001,"power":13678,"gsm_signal":0,"unknown_85":12288,"ignition":23,"odometer":null,"unknown_45":9149344142783391744}} 
[2026-08-01 06:37:18] local.INFO: DEBUG: GPS processor result {"connection_id":148397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576049,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:37:18] local.INFO: GPS data processed {"connection_id":148397,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:37:18] local.INFO: Acknowledgment sent {"connection_id":148397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:37:37] local.INFO: TCP Data received {"connection_id":147082,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbadbd930012d6b334006150228000a01522c..."} 
[2026-08-01 06:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbadbd930012d6b334006150228000a01522c..."} 
[2026-08-01 06:37:37] local.INFO: Processing buffer {"connection_id":147082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbadbd930012d6b334006150228000a01522c..."} 
[2026-08-01 06:37:37] local.INFO: Packet analysis {"connection_id":147082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbadb"} 
[2026-08-01 06:37:37] local.INFO: Extracted packet for processing {"connection_id":147082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbadb"} 
[2026-08-01 06:37:37] local.INFO: GPS Element Parsed {"raw_longitude":762000192,"raw_latitude":102040104,"longitude_deg":76.2000192,"latitude_deg":10.2040104,"altitude":10,"angle":338,"satellites":44,"speed":16,"hex_longitude":"2d6b3340","hex_latitude":"06150228","is_valid_coordinates":true} 
[2026-08-01 06:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099877376001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365525553958092800,"note":"Value kept but may cause issues"} 
[2026-08-01 06:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7725080761946050560,"note":"Value kept but may cause issues"} 
[2026-08-01 06:37:37] 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-08-01 06:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785546398000,"timestamp_ms":1785546398000,"timestamp_seconds":1785546398,"priority":1,"record_length":96,"hex_timestamp":"0000019fbadbd930"} 
[2026-08-01 06:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:37: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-08-01 06:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-01 06:37:37] 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-08-01 06:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099877376001,"66":27604,"148":206,"19":40704,"24":16,"16":365525553958092800,"45":7725080761946050560},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,19,24,16,45]} 
[2026-08-01 06:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099877376001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:37:37] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-08-01 06:37:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-08-01 06:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365525553958092800,"km_value":365525553958092.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7725080761946050560,"description":"Unknown IO ID 45"} 
[2026-08-01 06:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099877376001,"power":27604,"unknown_148":206,"unknown_19":40704,"ignition":16,"odometer":null,"unknown_45":7725080761946050560}} 
[2026-08-01 06:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":147082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:37:37] local.INFO: GPS data processed {"connection_id":147082,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:37:37] local.INFO: Acknowledgment sent {"connection_id":147082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:37:49] local.INFO: TCP Data received {"connection_id":148397,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbadc4e60012d7f1a0005c638c00005008b29..."} 
[2026-08-01 06:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbadc4e60012d7f1a0005c638c00005008b29..."} 
[2026-08-01 06:37:49] local.INFO: Processing buffer {"connection_id":148397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbadc4e60012d7f1a0005c638c00005008b29..."} 
[2026-08-01 06:37:49] local.INFO: Packet analysis {"connection_id":148397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbadc"} 
[2026-08-01 06:37:49] local.INFO: Extracted packet for processing {"connection_id":148397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbadc"} 
[2026-08-01 06:37:49] local.INFO: GPS Element Parsed {"raw_longitude":763304448,"raw_latitude":96876736,"longitude_deg":76.3304448,"latitude_deg":9.6876736,"altitude":5,"angle":139,"satellites":41,"speed":29,"hex_longitude":"2d7f1a00","hex_latitude":"05c638c0","is_valid_coordinates":true} 
[2026-08-01 06:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099882240001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:37:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-01 06:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113336821072527360,"note":"Value kept but may cause issues"} 
[2026-08-01 06:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9152932948735301632,"note":"Value kept but may cause issues"} 
[2026-08-01 06:37:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-01 06:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785546428000,"timestamp_ms":1785546428000,"timestamp_seconds":1785546428,"priority":1,"record_length":96,"hex_timestamp":"0000019fbadc4e60"} 
[2026-08-01 06:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:37: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-08-01 06: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-01 06:37:49] 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-08-01 06: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-08-01 06:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:37:49] 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-08-01 06:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099882240001,"66":13656,"200":0,"85":12288,"24":29,"16":113336821072527360,"45":9152932948735301632},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-01 06:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099882240001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:37:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 06:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113336821072527360,"km_value":113336821072527.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9152932948735301632,"description":"Unknown IO ID 45"} 
[2026-08-01 06:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099882240001,"power":13656,"gsm_signal":0,"unknown_85":12288,"ignition":29,"odometer":null,"unknown_45":9152932948735301632}} 
[2026-08-01 06:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":148397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576051,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:37:49] local.INFO: GPS data processed {"connection_id":148397,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:37:49] local.INFO: Acknowledgment sent {"connection_id":148397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:37:56] local.INFO: TCP Data received {"connection_id":145871,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:37:56] local.INFO: Processing buffer {"connection_id":145871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:37:56] local.INFO: IMEI packet received {"connection_id":145871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 06:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":145871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:38:01] local.INFO: TCP Data received {"connection_id":145871,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:38:01] local.INFO: Processing buffer {"connection_id":145871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:38:01] local.INFO: IMEI packet received {"connection_id":145871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":145871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:38:02] local.INFO: TCP Data received {"connection_id":145871,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbadbe100012d6b32c006150588000a01622d..."} 
[2026-08-01 06:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbadbe100012d6b32c006150588000a01622d..."} 
[2026-08-01 06:38:02] local.INFO: Processing buffer {"connection_id":145871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbadbe100012d6b32c006150588000a01622d..."} 
[2026-08-01 06:38:02] local.INFO: Packet analysis {"connection_id":145871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbadb"} 
[2026-08-01 06:38:02] local.INFO: Extracted packet for processing {"connection_id":145871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbadb"} 
[2026-08-01 06:38:02] local.INFO: GPS Element Parsed {"raw_longitude":762000064,"raw_latitude":102040968,"longitude_deg":76.2000064,"latitude_deg":10.2040968,"altitude":10,"angle":354,"satellites":45,"speed":18,"hex_longitude":"2d6b32c0","hex_latitude":"06150588","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099877888001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365525596907765760,"note":"Value kept but may cause issues"} 
[2026-08-01 06:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7724588180736976896,"note":"Value kept but may cause issues"} 
[2026-08-01 06:38:02] 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-08-01 06:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785546400000,"timestamp_ms":1785546400000,"timestamp_seconds":1785546400,"priority":1,"record_length":96,"hex_timestamp":"0000019fbadbe100"} 
[2026-08-01 06:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-01 06:38:02] 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-08-01 06: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-08-01 06:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":145871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":145871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":145871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099877888001,"66":27691,"148":206,"19":40704,"24":18,"16":365525596907765760,"45":7724588180736976896},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,19,24,16,45]} 
[2026-08-01 06:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099877888001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:38:02] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-08-01 06:38:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-08-01 06:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365525596907765760,"km_value":365525596907765.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7724588180736976896,"description":"Unknown IO ID 45"} 
[2026-08-01 06:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099877888001,"power":27691,"unknown_148":206,"unknown_19":40704,"ignition":18,"odometer":null,"unknown_45":7724588180736976896}} 
[2026-08-01 06:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":145871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:38:02] local.INFO: GPS data processed {"connection_id":145871,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:38:02] local.INFO: Acknowledgment sent {"connection_id":145871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:38:05] local.INFO: TCP Data received {"connection_id":145872,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145872,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:38:05] local.INFO: Processing buffer {"connection_id":145872,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:38:05] local.INFO: IMEI packet received {"connection_id":145872,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 06:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":145872,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:38:09] local.INFO: TCP Data received {"connection_id":145872,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145872,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:38:09] local.INFO: Processing buffer {"connection_id":145872,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:38:09] local.INFO: IMEI packet received {"connection_id":145872,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":145872,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:38:09] local.INFO: TCP Data received {"connection_id":145872,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145872,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:38:09] local.INFO: Processing buffer {"connection_id":145872,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:38:09] local.INFO: IMEI packet received {"connection_id":145872,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":145872,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:38:13] local.INFO: TCP Data received {"connection_id":145872,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145872,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:38:13] local.INFO: Processing buffer {"connection_id":145872,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:38:13] local.INFO: IMEI packet received {"connection_id":145872,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":145872,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:38:27] local.INFO: TCP Data received {"connection_id":145872,"ip":"42.106.6.17","data_length":1340,"data_hex":"000000000000030f8e0a0000019fbadc61e8012d7f224005c62e980005009d29..."} 
[2026-08-01 06:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145872,"packet_length":1340,"packet_hex":"000000000000030f8e0a0000019fbadc61e8012d7f224005c62e980005009d29..."} 
[2026-08-01 06:38:27] local.INFO: Processing buffer {"connection_id":145872,"buffer_length":1340,"buffer_hex":"000000000000030f8e0a0000019fbadc61e8012d7f224005c62e980005009d29..."} 
[2026-08-01 06:38:27] local.INFO: Packet analysis {"connection_id":145872,"data_field_length":783,"total_packet_length":795,"buffer_length":1340,"packet_hex_start":"000000000000030f8e0a0000019fbadc"} 
[2026-08-01 06:38:27] local.INFO: Extracted packet for processing {"connection_id":145872,"packet_length":795,"remaining_buffer_length":545,"packet_hex_start":"000000000000030f8e0a0000019fbadc"} 
[2026-08-01 06:38:27] local.INFO: GPS Element Parsed {"raw_longitude":763306560,"raw_latitude":96874136,"longitude_deg":76.330656,"latitude_deg":9.6874136,"altitude":5,"angle":157,"satellites":41,"speed":20,"hex_longitude":"2d7f2240","hex_latitude":"05c62e98","is_valid_coordinates":true} 
[2026-08-01 06:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099885568001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:38:27] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-01 06:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113336984281284608,"note":"Value kept but may cause issues"} 
[2026-08-01 06:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9158632817011769344,"note":"Value kept but may cause issues"} 
[2026-08-01 06:38:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-01 06:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785546433000,"timestamp_ms":1785546433000,"timestamp_seconds":1785546433,"priority":1,"record_length":96,"hex_timestamp":"0000019fbadc61e8"} 
[2026-08-01 06:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:38:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-01 06:38:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06:38:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":145872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":145872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":145872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:38:27] 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-08-01 06:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099885568001,"66":13102,"200":0,"85":12288,"24":20,"16":113336984281284608,"45":9158632817011769344},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-01 06:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099885568001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:38:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 06:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113336984281284608,"km_value":113336984281284.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9158632817011769344,"description":"Unknown IO ID 45"} 
[2026-08-01 06:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099885568001,"power":13102,"gsm_signal":0,"unknown_85":12288,"ignition":20,"odometer":null,"unknown_45":9158632817011769344}} 
[2026-08-01 06:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":145872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576053,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:38:27] local.INFO: GPS data processed {"connection_id":145872,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:38:27] local.INFO: Acknowledgment sent {"connection_id":145872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:38:27] local.INFO: Packet analysis {"connection_id":145872,"data_field_length":783,"total_packet_length":795,"buffer_length":545,"packet_hex_start":"000000000000030f8e0a0000019fbadc"} 
[2026-08-01 06:38:27] local.INFO: Incomplete packet, waiting for more data {"connection_id":145872,"needed":795,"available":545} 
[2026-08-01 06:38:34] local.INFO: TCP Data received {"connection_id":145871,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbadc17b0012d6b310006152860000a01662c..."} 
[2026-08-01 06:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbadc17b0012d6b310006152860000a01662c..."} 
[2026-08-01 06:38:34] local.INFO: Processing buffer {"connection_id":145871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbadc17b0012d6b310006152860000a01662c..."} 
[2026-08-01 06:38:34] local.INFO: Packet analysis {"connection_id":145871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbadc"} 
[2026-08-01 06:38:34] local.INFO: Extracted packet for processing {"connection_id":145871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbadc"} 
[2026-08-01 06:38:34] local.INFO: GPS Element Parsed {"raw_longitude":761999616,"raw_latitude":102049888,"longitude_deg":76.1999616,"latitude_deg":10.2049888,"altitude":10,"angle":358,"satellites":44,"speed":31,"hex_longitude":"2d6b3100","hex_latitude":"06152860","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099878400001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365526030699462656,"note":"Value kept but may cause issues"} 
[2026-08-01 06:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7724447443248842752,"note":"Value kept but may cause issues"} 
[2026-08-01 06:38:34] 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-08-01 06:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785546414000,"timestamp_ms":1785546414000,"timestamp_seconds":1785546414,"priority":1,"record_length":96,"hex_timestamp":"0000019fbadc17b0"} 
[2026-08-01 06:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:38: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-08-01 06: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-01 06:38:34] 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-08-01 06: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-08-01 06:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":145871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":145871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":145871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099878400001,"66":27615,"148":206,"19":40704,"24":31,"16":365526030699462656,"45":7724447443248842752},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,19,24,16,45]} 
[2026-08-01 06:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099878400001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:38:34] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-08-01 06:38:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-08-01 06:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365526030699462656,"km_value":365526030699462.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7724447443248842752,"description":"Unknown IO ID 45"} 
[2026-08-01 06:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099878400001,"power":27615,"unknown_148":206,"unknown_19":40704,"ignition":31,"odometer":null,"unknown_45":7724447443248842752}} 
[2026-08-01 06:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":145871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:38:34] local.INFO: GPS data processed {"connection_id":145871,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:38:34] local.INFO: Acknowledgment sent {"connection_id":145871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:38:35] local.INFO: TCP Data received {"connection_id":145872,"ip":"42.106.6.17","data_length":1045,"data_hex":"e300100192a609000000000000019fbadb2d50012d7eb64005c69d580008007c..."} 
[2026-08-01 06:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145872,"packet_length":1045,"packet_hex":"e300100192a609000000000000019fbadb2d50012d7eb64005c69d580008007c..."} 
[2026-08-01 06:38:35] local.INFO: Processing buffer {"connection_id":145872,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fbadc6da0012d7f240005c62960000500ae29..."} 
[2026-08-01 06:38:35] local.INFO: Packet analysis {"connection_id":145872,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fbadc"} 
[2026-08-01 06:38:35] local.INFO: Extracted packet for processing {"connection_id":145872,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbadc"} 
[2026-08-01 06:38:35] local.INFO: GPS Element Parsed {"raw_longitude":763307008,"raw_latitude":96872800,"longitude_deg":76.3307008,"latitude_deg":9.68728,"altitude":5,"angle":174,"satellites":41,"speed":20,"hex_longitude":"2d7f2400","hex_latitude":"05c62960","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099886848001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113337053000761344,"note":"Value kept but may cause issues"} 
[2026-08-01 06:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9160954985568966656,"note":"Value kept but may cause issues"} 
[2026-08-01 06:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785546436000,"timestamp_ms":1785546436000,"timestamp_seconds":1785546436,"priority":1,"record_length":96,"hex_timestamp":"0000019fbadc6da0"} 
[2026-08-01 06:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:38:35] 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-08-01 06:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-01 06:38:35] 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-08-01 06: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-08-01 06:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":145872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":145872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":145872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:38:35] 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-08-01 06:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099886848001,"66":13526,"100":206,"85":12288,"24":20,"16":113337053000761344,"45":9160954985568966656},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-08-01 06:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099886848001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:38:35] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-01 06:38:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 06:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113337053000761344,"km_value":113337053000761.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9160954985568966656,"description":"Unknown IO ID 45"} 
[2026-08-01 06:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099886848001,"power":13526,"unknown_100":206,"unknown_85":12288,"ignition":20,"odometer":null,"unknown_45":9160954985568966656}} 
[2026-08-01 06:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":145872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576055,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:38:35] local.INFO: GPS data processed {"connection_id":145872,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:38:35] local.INFO: Acknowledgment sent {"connection_id":145872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:38:35] local.INFO: Packet analysis {"connection_id":145872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbadc"} 
[2026-08-01 06:38:35] local.INFO: Extracted packet for processing {"connection_id":145872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbadc"} 
[2026-08-01 06:38:35] local.INFO: GPS Element Parsed {"raw_longitude":763306944,"raw_latitude":96871624,"longitude_deg":76.3306944,"latitude_deg":9.6871624,"altitude":5,"angle":207,"satellites":42,"speed":10,"hex_longitude":"2d7f23c0","hex_latitude":"05c624c8","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099887616001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113337113130303488,"note":"Value kept but may cause issues"} 
[2026-08-01 06:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9161447566777868288,"note":"Value kept but may cause issues"} 
[2026-08-01 06:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785546439000,"timestamp_ms":1785546439000,"timestamp_seconds":1785546439,"priority":1,"record_length":96,"hex_timestamp":"0000019fbadc7958"} 
[2026-08-01 06:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:38:35] 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-08-01 06: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-01 06:38:35] 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-08-01 06: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-08-01 06:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":145872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":145872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":145872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:38:35] 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-08-01 06:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099887616001,"66":13450,"100":206,"85":12288,"24":10,"16":113337113130303488,"45":9161447566777868288},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-08-01 06:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099887616001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:38:35] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-01 06:38:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 06:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113337113130303488,"km_value":113337113130303.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9161447566777868288,"description":"Unknown IO ID 45"} 
[2026-08-01 06:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099887616001,"power":13450,"unknown_100":206,"unknown_85":12288,"ignition":10,"odometer":null,"unknown_45":9161447566777868288}} 
[2026-08-01 06:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":145872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576056,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:38:35] local.INFO: GPS data processed {"connection_id":145872,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:38:35] local.INFO: Acknowledgment sent {"connection_id":145872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:38:56] local.INFO: TCP Data received {"connection_id":146065,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:38:56] local.INFO: Processing buffer {"connection_id":146065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:38:56] local.INFO: IMEI packet received {"connection_id":146065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 06:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":146065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:38:59] local.INFO: TCP Data received {"connection_id":146065,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:38:59] local.INFO: Processing buffer {"connection_id":146065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:38:59] local.INFO: IMEI packet received {"connection_id":146065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":146065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:39:01] local.INFO: TCP Data received {"connection_id":146065,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:39:01] local.INFO: Processing buffer {"connection_id":146065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:39:01] local.INFO: IMEI packet received {"connection_id":146065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":146065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:39:02] local.INFO: TCP Data received {"connection_id":146065,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbadc42a8012d6b310006154da8000c01662e..."} 
[2026-08-01 06:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbadc42a8012d6b310006154da8000c01662e..."} 
[2026-08-01 06:39:02] local.INFO: Processing buffer {"connection_id":146065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbadc42a8012d6b310006154da8000c01662e..."} 
[2026-08-01 06:39:02] local.INFO: Packet analysis {"connection_id":146065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbadc"} 
[2026-08-01 06:39:02] local.INFO: Extracted packet for processing {"connection_id":146065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbadc"} 
[2026-08-01 06:39:02] local.INFO: GPS Element Parsed {"raw_longitude":761999616,"raw_latitude":102059432,"longitude_deg":76.1999616,"latitude_deg":10.2059432,"altitude":12,"angle":358,"satellites":46,"speed":37,"hex_longitude":"2d6b3100","hex_latitude":"06154da8","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099881984001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365526494555930624,"note":"Value kept but may cause issues"} 
[2026-08-01 06:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7723954862041882624,"note":"Value kept but may cause issues"} 
[2026-08-01 06:39:02] 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-08-01 06:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785546425000,"timestamp_ms":1785546425000,"timestamp_seconds":1785546425,"priority":1,"record_length":96,"hex_timestamp":"0000019fbadc42a8"} 
[2026-08-01 06:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:39: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-08-01 06: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-01 06:39:02] 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-08-01 06: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-08-01 06:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099881984001,"66":27615,"148":206,"19":40704,"24":37,"16":365526494555930624,"45":7723954862041882624},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,19,24,16,45]} 
[2026-08-01 06:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099881984001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:39:02] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-08-01 06:39:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-08-01 06:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365526494555930624,"km_value":365526494555930.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7723954862041882624,"description":"Unknown IO ID 45"} 
[2026-08-01 06:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099881984001,"power":27615,"unknown_148":206,"unknown_19":40704,"ignition":37,"odometer":null,"unknown_45":7723954862041882624}} 
[2026-08-01 06:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":146065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:39:02] local.INFO: GPS data processed {"connection_id":146065,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:39:02] local.INFO: Acknowledgment sent {"connection_id":146065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:39:08] local.INFO: TCP Data received {"connection_id":145873,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145873,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:39:08] local.INFO: Processing buffer {"connection_id":145873,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:39:08] local.INFO: IMEI packet received {"connection_id":145873,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 06:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":145873,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:39:10] local.INFO: TCP Data received {"connection_id":145873,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145873,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:39:10] local.INFO: Processing buffer {"connection_id":145873,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:39:10] local.INFO: IMEI packet received {"connection_id":145873,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":145873,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:39:11] local.INFO: TCP Data received {"connection_id":145873,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbadd8eb0012d7e220005c639480003011727..."} 
[2026-08-01 06:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbadd8eb0012d7e220005c639480003011727..."} 
[2026-08-01 06:39:11] local.INFO: Processing buffer {"connection_id":145873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbadd8eb0012d7e220005c639480003011727..."} 
[2026-08-01 06:39:11] local.INFO: Packet analysis {"connection_id":145873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbadd"} 
[2026-08-01 06:39:11] local.INFO: Extracted packet for processing {"connection_id":145873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbadd"} 
[2026-08-01 06:39:11] local.INFO: GPS Element Parsed {"raw_longitude":763240960,"raw_latitude":96876872,"longitude_deg":76.324096,"latitude_deg":9.6876872,"altitude":3,"angle":279,"satellites":39,"speed":54,"hex_longitude":"2d7e2200","hex_latitude":"05c63948","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099904768001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113340299996037120,"note":"Value kept but may cause issues"} 
[2026-08-01 06:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9099874915623331840,"note":"Value kept but may cause issues"} 
[2026-08-01 06:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785546510000,"timestamp_ms":1785546510000,"timestamp_seconds":1785546510,"priority":1,"record_length":96,"hex_timestamp":"0000019fbadd8eb0"} 
[2026-08-01 06:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:39: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-08-01 06:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-01 06:39:11] 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-08-01 06: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-08-01 06:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":145873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":145873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":145873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:39:11] 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-08-01 06:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099904768001,"66":13580,"89":206,"85":12288,"24":54,"16":113340299996037120,"45":9099874915623331840},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-01 06:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099904768001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:39:11] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 06:39:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 06:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113340299996037120,"km_value":113340299996037.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9099874915623331840,"description":"Unknown IO ID 45"} 
[2026-08-01 06:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099904768001,"power":13580,"unknown_89":206,"unknown_85":12288,"ignition":54,"odometer":null,"unknown_45":9099874915623331840}} 
[2026-08-01 06:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":145873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576058,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:39:11] local.INFO: GPS data processed {"connection_id":145873,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:39:11] local.INFO: Acknowledgment sent {"connection_id":145873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:39:34] local.INFO: TCP Data received {"connection_id":146065,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbadc65d0012d6b2f80061570f0000c01632f..."} 
[2026-08-01 06:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbadc65d0012d6b2f80061570f0000c01632f..."} 
[2026-08-01 06:39:34] local.INFO: Processing buffer {"connection_id":146065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbadc65d0012d6b2f80061570f0000c01632f..."} 
[2026-08-01 06:39:34] local.INFO: Packet analysis {"connection_id":146065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbadc"} 
[2026-08-01 06:39:34] local.INFO: Extracted packet for processing {"connection_id":146065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbadc"} 
[2026-08-01 06:39:34] local.INFO: GPS Element Parsed {"raw_longitude":761999232,"raw_latitude":102068464,"longitude_deg":76.1999232,"latitude_deg":10.2068464,"altitude":12,"angle":355,"satellites":47,"speed":41,"hex_longitude":"2d6b2f80","hex_latitude":"061570f0","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099884800001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365526932642594816,"note":"Value kept but may cause issues"} 
[2026-08-01 06:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7723954862044325888,"note":"Value kept but may cause issues"} 
[2026-08-01 06:39:34] 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-08-01 06:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785546434000,"timestamp_ms":1785546434000,"timestamp_seconds":1785546434,"priority":1,"record_length":96,"hex_timestamp":"0000019fbadc65d0"} 
[2026-08-01 06:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:39: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-08-01 06: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-01 06:39: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-08-01 06: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-08-01 06:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099884800001,"66":27713,"135":206,"19":40704,"24":41,"16":365526932642594816,"45":7723954862044325888},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,19,24,16,45]} 
[2026-08-01 06:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099884800001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:39:34] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-01 06:39:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-08-01 06:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365526932642594816,"km_value":365526932642594.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7723954862044325888,"description":"Unknown IO ID 45"} 
[2026-08-01 06:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099884800001,"power":27713,"unknown_135":206,"unknown_19":40704,"ignition":41,"odometer":null,"unknown_45":7723954862044325888}} 
[2026-08-01 06:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":146065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:39:34] local.INFO: GPS data processed {"connection_id":146065,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:39:34] local.INFO: Acknowledgment sent {"connection_id":146065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:39:42] local.INFO: TCP Data received {"connection_id":145873,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaddadf0012d7dff4005c63f480002011429..."} 
[2026-08-01 06:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaddadf0012d7dff4005c63f480002011429..."} 
[2026-08-01 06:39:42] local.INFO: Processing buffer {"connection_id":145873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaddadf0012d7dff4005c63f480002011429..."} 
[2026-08-01 06:39:42] local.INFO: Packet analysis {"connection_id":145873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbadd"} 
[2026-08-01 06:39:42] local.INFO: Extracted packet for processing {"connection_id":145873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbadd"} 
[2026-08-01 06:39:42] local.INFO: GPS Element Parsed {"raw_longitude":763232064,"raw_latitude":96878408,"longitude_deg":76.3232064,"latitude_deg":9.6878408,"altitude":2,"angle":276,"satellites":41,"speed":43,"hex_longitude":"2d7dff40","hex_latitude":"05c63f48","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099906560001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113340733787734016,"note":"Value kept but may cause issues"} 
[2026-08-01 06:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9088827022787561472,"note":"Value kept but may cause issues"} 
[2026-08-01 06:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785546518000,"timestamp_ms":1785546518000,"timestamp_seconds":1785546518,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaddadf0"} 
[2026-08-01 06:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:39:42] 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-08-01 06: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-01 06:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751616679,"note":"Value kept but may cause issues"} 
[2026-08-01 06:39:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-01 06:39:42] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3135048160,"note":"Value kept but may cause issues"} 
[2026-08-01 06:39:42] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3325192192,"note":"Value kept but may cause issues"} 
[2026-08-01 06:39:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1452973885614981130,"note":"Value kept but may cause issues"} 
[2026-08-01 06:39:42] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-01 06:39:42] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636095039032932,"note":"Value kept but may cause issues"} 
[2026-08-01 06:39:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1315176654,"corrected_to":0} 
[2026-08-01 06:39:42] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-1873271708417208747,"note":"Value kept but may cause issues"} 
[2026-08-01 06:39:42] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-01 06:39:42] local.WARNING: Large IO value detected {"io_id":146,"raw_value":2830434304,"note":"Value kept but may cause issues"} 
[2026-08-01 06:39:42] local.WARNING: Large IO value detected {"io_id":127,"raw_value":342279920346464261,"note":"Value kept but may cause issues"} 
[2026-08-01 06:39:42] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755455275761905,"note":"Value kept but may cause issues"} 
[2026-08-01 06:39:42] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,89,85,24,241,157,16,170,159,115,45,64,55,5,40,10,66,169,91,192,39,68,128,1,240,197,227,186,198,4,113,205,51,41,80,239,53,100,2,146,7,42,127,48],"length":577,"final_offset":707,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1315176654,"validated":0}]} 
[2026-08-01 06:39:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216479713365196800,"timestamp_seconds":216479713365196.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 06:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":145873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":145873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":145873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:39:42] 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-08-01 06:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099906560001,"66":13472,"89":206,"85":12288,"24":43,"16":113340733787734016,"45":9088827022787561472},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-01 06:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099906560001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:39:42] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 06:39:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 06:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113340733787734016,"km_value":113340733787734.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9088827022787561472,"description":"Unknown IO ID 45"} 
[2026-08-01 06:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099906560001,"power":13472,"unknown_89":206,"unknown_85":12288,"ignition":43,"odometer":null,"unknown_45":9088827022787561472}} 
[2026-08-01 06:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":145873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576060,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:39:43] local.INFO: GPS data processed {"connection_id":145873,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:39:43] local.INFO: Acknowledgment sent {"connection_id":145873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:39:59] local.INFO: TCP Data received {"connection_id":146066,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:39:59] local.INFO: Processing buffer {"connection_id":146066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:39:59] local.INFO: IMEI packet received {"connection_id":146066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 06:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":146066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:40:06] local.INFO: TCP Data received {"connection_id":146066,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:40:06] local.INFO: Processing buffer {"connection_id":146066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:40:06] local.INFO: IMEI packet received {"connection_id":146066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":146066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:40:07] local.INFO: TCP Data received {"connection_id":146067,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146067,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:40:07] local.INFO: Processing buffer {"connection_id":146067,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:40:07] local.INFO: IMEI packet received {"connection_id":146067,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 06:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":146067,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:40:08] local.INFO: TCP Data received {"connection_id":146066,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:40:08] local.INFO: Processing buffer {"connection_id":146066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:40:08] local.INFO: IMEI packet received {"connection_id":146066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":146066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:40:10] local.INFO: TCP Data received {"connection_id":146066,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaddec70012d6ab6c00616ec58000a015130..."} 
[2026-08-01 06:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaddec70012d6ab6c00616ec58000a015130..."} 
[2026-08-01 06:40:10] local.INFO: Processing buffer {"connection_id":146066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaddec70012d6ab6c00616ec58000a015130..."} 
[2026-08-01 06:40:10] local.INFO: Packet analysis {"connection_id":146066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbadd"} 
[2026-08-01 06:40:10] local.INFO: Extracted packet for processing {"connection_id":146066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbadd"} 
[2026-08-01 06:40:10] local.INFO: GPS Element Parsed {"raw_longitude":761968320,"raw_latitude":102165592,"longitude_deg":76.196832,"latitude_deg":10.2165592,"altitude":10,"angle":337,"satellites":48,"speed":50,"hex_longitude":"2d6ab6c0","hex_latitude":"0616ec58","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099910912001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365531880444919808,"note":"Value kept but may cause issues"} 
[2026-08-01 06:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7693274089607847936,"note":"Value kept but may cause issues"} 
[2026-08-01 06:40:10] 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-08-01 06:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785546534000,"timestamp_ms":1785546534000,"timestamp_seconds":1785546534,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaddec70"} 
[2026-08-01 06:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:40: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-08-01 06: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-01 06:40:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06: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-08-01 06:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099910912001,"66":27626,"148":206,"19":40704,"24":50,"16":365531880444919808,"45":7693274089607847936},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,19,24,16,45]} 
[2026-08-01 06:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099910912001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:40:10] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-08-01 06:40:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-08-01 06:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365531880444919808,"km_value":365531880444919.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":7693274089607847936,"description":"Unknown IO ID 45"} 
[2026-08-01 06:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099910912001,"power":27626,"unknown_148":206,"unknown_19":40704,"ignition":50,"odometer":null,"unknown_45":7693274089607847936}} 
[2026-08-01 06:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":146066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:40:10] local.INFO: GPS data processed {"connection_id":146066,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:40:10] local.INFO: Acknowledgment sent {"connection_id":146066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:40:11] local.INFO: TCP Data received {"connection_id":146067,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146067,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:40:11] local.INFO: Processing buffer {"connection_id":146067,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:40:11] local.INFO: IMEI packet received {"connection_id":146067,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":146067,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:40:11] local.INFO: TCP Data received {"connection_id":146067,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaddcd30012d7de08005c641d80002010829..."} 
[2026-08-01 06:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaddcd30012d7de08005c641d80002010829..."} 
[2026-08-01 06:40:11] local.INFO: Processing buffer {"connection_id":146067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaddcd30012d7de08005c641d80002010829..."} 
[2026-08-01 06:40:11] local.INFO: Packet analysis {"connection_id":146067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbadd"} 
[2026-08-01 06:40:11] local.INFO: Extracted packet for processing {"connection_id":146067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbadd"} 
[2026-08-01 06:40:11] local.INFO: GPS Element Parsed {"raw_longitude":763224192,"raw_latitude":96879064,"longitude_deg":76.3224192,"latitude_deg":9.6879064,"altitude":2,"angle":264,"satellites":41,"speed":40,"hex_longitude":"2d7de080","hex_latitude":"05c641d8","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099908608001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113341111744856064,"note":"Value kept but may cause issues"} 
[2026-08-01 06:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079045767347259392,"note":"Value kept but may cause issues"} 
[2026-08-01 06:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785546526000,"timestamp_ms":1785546526000,"timestamp_seconds":1785546526,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaddcd30"} 
[2026-08-01 06:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:40: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-08-01 06: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-01 06:40:11] 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-08-01 06: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-08-01 06:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:40:11] 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-08-01 06:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099908608001,"66":13559,"245":206,"85":12288,"24":40,"16":113341111744856064,"45":9079045767347259392},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-01 06:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099908608001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:40:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 06:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113341111744856064,"km_value":113341111744856.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079045767347259392,"description":"Unknown IO ID 45"} 
[2026-08-01 06:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099908608001,"power":13559,"geofence_id":206,"unknown_85":12288,"ignition":40,"odometer":null,"unknown_45":9079045767347259392}} 
[2026-08-01 06:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":146067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576062,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:40:12] local.INFO: GPS data processed {"connection_id":146067,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:40:12] local.INFO: Acknowledgment sent {"connection_id":146067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:40:12] local.INFO: TCP Data received {"connection_id":146066,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbade0bb0012d6aa94006170f88000b01552d..."} 
[2026-08-01 06:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbade0bb0012d6aa94006170f88000b01552d..."} 
[2026-08-01 06:40:12] local.INFO: Processing buffer {"connection_id":146066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbade0bb0012d6aa94006170f88000b01552d..."} 
[2026-08-01 06:40:12] local.INFO: Packet analysis {"connection_id":146066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbade"} 
[2026-08-01 06:40:12] local.INFO: Extracted packet for processing {"connection_id":146066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbade"} 
[2026-08-01 06:40:12] local.INFO: GPS Element Parsed {"raw_longitude":761964864,"raw_latitude":102174600,"longitude_deg":76.1964864,"latitude_deg":10.21746,"altitude":11,"angle":341,"satellites":45,"speed":45,"hex_longitude":"2d6aa940","hex_latitude":"06170f88","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099912704001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365532344301387776,"note":"Value kept but may cause issues"} 
[2026-08-01 06:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7689544546168625152,"note":"Value kept but may cause issues"} 
[2026-08-01 06:40:12] 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-08-01 06:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785546542000,"timestamp_ms":1785546542000,"timestamp_seconds":1785546542,"priority":1,"record_length":96,"hex_timestamp":"0000019fbade0bb0"} 
[2026-08-01 06:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-01 06:40:12] 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-08-01 06: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-08-01 06:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":146066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":146066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":146066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099912704001,"66":27626,"148":206,"19":40704,"24":45,"16":365532344301387776,"45":7689544546168625152},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,19,24,16,45]} 
[2026-08-01 06:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099912704001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:40:12] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-08-01 06:40:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-08-01 06:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365532344301387776,"km_value":365532344301387.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":7689544546168625152,"description":"Unknown IO ID 45"} 
[2026-08-01 06:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099912704001,"power":27626,"unknown_148":206,"unknown_19":40704,"ignition":45,"odometer":null,"unknown_45":7689544546168625152}} 
[2026-08-01 06:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":146066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:40:12] local.INFO: GPS data processed {"connection_id":146066,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:40:12] local.INFO: Acknowledgment sent {"connection_id":146066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:40:42] local.INFO: TCP Data received {"connection_id":146067,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaddec70012d7dbb8005c63dc80003010729..."} 
[2026-08-01 06:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaddec70012d7dbb8005c63dc80003010729..."} 
[2026-08-01 06:40:42] local.INFO: Processing buffer {"connection_id":146067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaddec70012d7dbb8005c63dc80003010729..."} 
[2026-08-01 06:40:42] local.INFO: Packet analysis {"connection_id":146067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbadd"} 
[2026-08-01 06:40:42] local.INFO: Extracted packet for processing {"connection_id":146067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbadd"} 
[2026-08-01 06:40:42] local.INFO: GPS Element Parsed {"raw_longitude":763214720,"raw_latitude":96878024,"longitude_deg":76.321472,"latitude_deg":9.6878024,"altitude":3,"angle":263,"satellites":41,"speed":50,"hex_longitude":"2d7dbb80","hex_latitude":"05c63dc8","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099910656001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113341567011389440,"note":"Value kept but may cause issues"} 
[2026-08-01 06:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9070390411813574656,"note":"Value kept but may cause issues"} 
[2026-08-01 06:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785546534000,"timestamp_ms":1785546534000,"timestamp_seconds":1785546534,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaddec70"} 
[2026-08-01 06:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:40:42] 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-08-01 06: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-01 06:40: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-08-01 06: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-08-01 06:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":146067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":146067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":146067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:40:42] 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-08-01 06:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099910656001,"66":13678,"245":206,"85":12288,"24":50,"16":113341567011389440,"45":9070390411813574656},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-01 06:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099910656001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:40:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 06:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113341567011389440,"km_value":113341567011389.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9070390411813574656,"description":"Unknown IO ID 45"} 
[2026-08-01 06:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099910656001,"power":13678,"geofence_id":206,"unknown_85":12288,"ignition":50,"odometer":null,"unknown_45":9070390411813574656}} 
[2026-08-01 06:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":146067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576064,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:40:42] local.INFO: GPS data processed {"connection_id":146067,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:40:42] local.INFO: Acknowledgment sent {"connection_id":146067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:40:53] local.INFO: TCP Data received {"connection_id":148398,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:40:53] local.INFO: Processing buffer {"connection_id":148398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:40:53] local.INFO: IMEI packet received {"connection_id":148398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 06:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":148398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:40:56] local.INFO: TCP Data received {"connection_id":148398,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:40:56] local.INFO: Processing buffer {"connection_id":148398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:40:56] local.INFO: IMEI packet received {"connection_id":148398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":148398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:41:02] local.INFO: TCP Data received {"connection_id":148398,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:41:02] local.INFO: Processing buffer {"connection_id":148398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:41:02] local.INFO: IMEI packet received {"connection_id":148398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":148398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:41:05] local.INFO: TCP Data received {"connection_id":148398,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbade2ed8012d6a9ec0061733e8000d015b2e..."} 
[2026-08-01 06:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbade2ed8012d6a9ec0061733e8000d015b2e..."} 
[2026-08-01 06:41:05] local.INFO: Processing buffer {"connection_id":148398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbade2ed8012d6a9ec0061733e8000d015b2e..."} 
[2026-08-01 06:41:05] local.INFO: Packet analysis {"connection_id":148398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbade"} 
[2026-08-01 06:41:05] local.INFO: Extracted packet for processing {"connection_id":148398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbade"} 
[2026-08-01 06:41:05] local.INFO: GPS Element Parsed {"raw_longitude":761962176,"raw_latitude":102183912,"longitude_deg":76.1962176,"latitude_deg":10.2183912,"altitude":13,"angle":347,"satellites":46,"speed":40,"hex_longitude":"2d6a9ec0","hex_latitude":"061733e8","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099914752001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365532816747790336,"note":"Value kept but may cause issues"} 
[2026-08-01 06:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7685744633985337344,"note":"Value kept but may cause issues"} 
[2026-08-01 06:41: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-08-01 06:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785546551000,"timestamp_ms":1785546551000,"timestamp_seconds":1785546551,"priority":1,"record_length":96,"hex_timestamp":"0000019fbade2ed8"} 
[2026-08-01 06:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:41: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-08-01 06: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-01 06:41:05] 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-08-01 06: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-08-01 06:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099914752001,"66":27647,"148":206,"19":40704,"24":40,"16":365532816747790336,"45":7685744633985337344},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,19,24,16,45]} 
[2026-08-01 06:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099914752001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:41:05] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-08-01 06:41:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-08-01 06:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365532816747790336,"km_value":365532816747790.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7685744633985337344,"description":"Unknown IO ID 45"} 
[2026-08-01 06:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099914752001,"power":27647,"unknown_148":206,"unknown_19":40704,"ignition":40,"odometer":null,"unknown_45":7685744633985337344}} 
[2026-08-01 06:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":148398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:41:05] local.INFO: GPS data processed {"connection_id":148398,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:41:05] local.INFO: Acknowledgment sent {"connection_id":148398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:41:07] local.INFO: TCP Data received {"connection_id":147083,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147083,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:41:07] local.INFO: Processing buffer {"connection_id":147083,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:41:07] local.INFO: IMEI packet received {"connection_id":147083,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 06:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":147083,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:41:12] local.INFO: TCP Data received {"connection_id":147083,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147083,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:41:12] local.INFO: Processing buffer {"connection_id":147083,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:41:12] local.INFO: IMEI packet received {"connection_id":147083,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":147083,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:41:13] local.INFO: TCP Data received {"connection_id":147083,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbadf8698012d7d428005c58400000200b22a..."} 
[2026-08-01 06:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbadf8698012d7d428005c58400000200b22a..."} 
[2026-08-01 06:41:13] local.INFO: Processing buffer {"connection_id":147083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbadf8698012d7d428005c58400000200b22a..."} 
[2026-08-01 06:41:13] local.INFO: Packet analysis {"connection_id":147083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbadf"} 
[2026-08-01 06:41:13] local.INFO: Extracted packet for processing {"connection_id":147083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbadf"} 
[2026-08-01 06:41:13] local.INFO: GPS Element Parsed {"raw_longitude":763183744,"raw_latitude":96830464,"longitude_deg":76.3183744,"latitude_deg":9.6830464,"altitude":2,"angle":178,"satellites":42,"speed":30,"hex_longitude":"2d7d4280","hex_latitude":"05c58400","is_valid_coordinates":true} 
[2026-08-01 06:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099936000001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113345479726596096,"note":"Value kept but may cause issues"} 
[2026-08-01 06:41:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025424784273963008,"note":"Value kept but may cause issues"} 
[2026-08-01 06:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785546639000,"timestamp_ms":1785546639000,"timestamp_seconds":1785546639,"priority":1,"record_length":96,"hex_timestamp":"0000019fbadf8698"} 
[2026-08-01 06:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:41:13] 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-08-01 06:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-01 06:41:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06:41:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":147083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":147083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":147083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:41:13] 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-08-01 06:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099936000001,"66":13580,"229":206,"85":12288,"24":30,"16":113345479726596096,"45":9025424784273963008},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-01 06:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099936000001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:41:13] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 06:41:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 06:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113345479726596096,"km_value":113345479726596.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:41:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025424784273963008,"description":"Unknown IO ID 45"} 
[2026-08-01 06:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099936000001,"power":13580,"unknown_229":206,"unknown_85":12288,"ignition":30,"odometer":null,"unknown_45":9025424784273963008}} 
[2026-08-01 06:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":147083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576066,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:41:13] local.INFO: GPS data processed {"connection_id":147083,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:41:13] local.INFO: Acknowledgment sent {"connection_id":147083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:41:37] local.INFO: TCP Data received {"connection_id":148398,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbade55e8012d6a9880061758f0000f01602f..."} 
[2026-08-01 06:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbade55e8012d6a9880061758f0000f01602f..."} 
[2026-08-01 06:41:37] local.INFO: Processing buffer {"connection_id":148398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbade55e8012d6a9880061758f0000f01602f..."} 
[2026-08-01 06:41:37] local.INFO: Packet analysis {"connection_id":148398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbade"} 
[2026-08-01 06:41:37] local.INFO: Extracted packet for processing {"connection_id":148398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbade"} 
[2026-08-01 06:41:37] local.INFO: GPS Element Parsed {"raw_longitude":761960576,"raw_latitude":102193392,"longitude_deg":76.1960576,"latitude_deg":10.2193392,"altitude":15,"angle":352,"satellites":47,"speed":36,"hex_longitude":"2d6a9880","hex_latitude":"061758f0","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099917056001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365533280604258304,"note":"Value kept but may cause issues"} 
[2026-08-01 06:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7682789146732259328,"note":"Value kept but may cause issues"} 
[2026-08-01 06:41:37] 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-08-01 06:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785546561000,"timestamp_ms":1785546561000,"timestamp_seconds":1785546561,"priority":1,"record_length":96,"hex_timestamp":"0000019fbade55e8"} 
[2026-08-01 06:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06: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-08-01 06: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":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 06:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":3028,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06: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-08-01 06:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099917056001,"66":27647,"148":206,"19":40704,"24":36,"16":365533280604258304,"45":7682789146732259328},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,19,24,16,45]} 
[2026-08-01 06:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099917056001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:41:37] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-08-01 06:41:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-08-01 06:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365533280604258304,"km_value":365533280604258.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7682789146732259328,"description":"Unknown IO ID 45"} 
[2026-08-01 06:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099917056001,"power":27647,"unknown_148":206,"unknown_19":40704,"ignition":36,"odometer":null,"unknown_45":7682789146732259328}} 
[2026-08-01 06:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":148398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:41:37] local.INFO: GPS data processed {"connection_id":148398,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:41:37] local.INFO: Acknowledgment sent {"connection_id":148398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:41:44] local.INFO: TCP Data received {"connection_id":147083,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbadfb190012d7d424005c55f80000300b52a..."} 
[2026-08-01 06:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbadfb190012d7d424005c55f80000300b52a..."} 
[2026-08-01 06:41:44] local.INFO: Processing buffer {"connection_id":147083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbadfb190012d7d424005c55f80000300b52a..."} 
[2026-08-01 06:41:44] local.INFO: Packet analysis {"connection_id":147083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbadf"} 
[2026-08-01 06:41:44] local.INFO: Extracted packet for processing {"connection_id":147083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbadf"} 
[2026-08-01 06:41:44] local.INFO: GPS Element Parsed {"raw_longitude":763183680,"raw_latitude":96821120,"longitude_deg":76.318368,"latitude_deg":9.682112,"altitude":3,"angle":181,"satellites":42,"speed":34,"hex_longitude":"2d7d4240","hex_latitude":"05c55f80","is_valid_coordinates":true} 
[2026-08-01 06:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:41:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099939584001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:41:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113345934993129472,"note":"Value kept but may cause issues"} 
[2026-08-01 06:41:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025917365480849408,"note":"Value kept but may cause issues"} 
[2026-08-01 06:41:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:41:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785546650000,"timestamp_ms":1785546650000,"timestamp_seconds":1785546650,"priority":1,"record_length":96,"hex_timestamp":"0000019fbadfb190"} 
[2026-08-01 06:41:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:41:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-01 06:41:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751616685,"note":"Value kept but may cause issues"} 
[2026-08-01 06:41:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-01 06:41:44] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3135142160,"note":"Value kept but may cause issues"} 
[2026-08-01 06:41:44] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7877618182968573952,"note":"Value kept but may cause issues"} 
[2026-08-01 06:41:44] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":10240,"corrected_to":0} 
[2026-08-01 06:41:44] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-01 06:41:44] local.WARNING: Large IO value detected {"io_id":173,"raw_value":3858759680,"note":"Value kept but may cause issues"} 
[2026-08-01 06:41:44] local.WARNING: Large IO value detected {"io_id":186,"raw_value":3737339905,"note":"Value kept but may cause issues"} 
[2026-08-01 06:41:44] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636095039034102,"note":"Value kept but may cause issues"} 
[2026-08-01 06:41:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1508180174,"corrected_to":0} 
[2026-08-01 06:41:44] local.WARNING: Large IO value detected {"io_id":124,"raw_value":4160826749,"note":"Value kept but may cause issues"} 
[2026-08-01 06:41:44] local.WARNING: Large IO value detected {"io_id":53,"raw_value":6341294031535918677,"note":"Value kept but may cause issues"} 
[2026-08-01 06:41:44] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13522224,"corrected_to":0} 
[2026-08-01 06:41:44] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-01 06:41:44] local.WARNING: Large IO value detected {"io_id":146,"raw_value":2903900160,"note":"Value kept but may cause issues"} 
[2026-08-01 06:41:44] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3325478912,"note":"Value kept but may cause issues"} 
[2026-08-01 06:41:44] local.WARNING: Large IO value detected {"io_id":125,"raw_value":3765015637372436487,"note":"Value kept but may cause issues"} 
[2026-08-01 06:41:44] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755429505958129,"note":"Value kept but may cause issues"} 
[2026-08-01 06:41:44] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,229,85,24,241,157,16,175,159,79,45,192,167,1,42,10,66,174,17,203,234,128,240,88,227,173,186,198,4,113,205,34,124,52,40,41,239,53,246,2,146,5,7,6,125,48],"length":577,"final_offset":707,"validated_count":46,"validation_warnings":[{"io_id":203,"original":10240,"validated":0},{"io_id":205,"original":1508180174,"validated":0},{"io_id":246,"original":13522224,"validated":0}]} 
[2026-08-01 06:41:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144311081536192512,"timestamp_seconds":144311081536192.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 06:41:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:41:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:41:44] local.INFO: Teltonika packet parsed successfully {"connection_id":147083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:41:44] local.INFO: Passing IMEI to GPS processor {"connection_id":147083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:41:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":147083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:41:44] 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-08-01 06:41:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:41:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:41:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099939584001,"66":13537,"227":206,"85":12288,"24":34,"16":113345934993129472,"45":9025917365480849408},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-08-01 06:41:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:41:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:41:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099939584001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:41:44] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-01 06:41:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 06:41:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113345934993129472,"km_value":113345934993129.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:41:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025917365480849408,"description":"Unknown IO ID 45"} 
[2026-08-01 06:41:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099939584001,"power":13537,"unknown_227":206,"unknown_85":12288,"ignition":34,"odometer":null,"unknown_45":9025917365480849408}} 
[2026-08-01 06:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":147083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576068,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:41:44] local.INFO: GPS data processed {"connection_id":147083,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:41:44] local.INFO: Acknowledgment sent {"connection_id":147083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:41:56] local.INFO: TCP Data received {"connection_id":147084,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:41:56] local.INFO: Processing buffer {"connection_id":147084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:41:56] local.INFO: IMEI packet received {"connection_id":147084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 06:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":147084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:41:57] local.INFO: TCP Data received {"connection_id":147084,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:41:57] local.INFO: Processing buffer {"connection_id":147084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:41:57] local.INFO: IMEI packet received {"connection_id":147084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":147084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:42:01] local.INFO: TCP Data received {"connection_id":147084,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:42:01] local.INFO: Processing buffer {"connection_id":147084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:42:01] local.INFO: IMEI packet received {"connection_id":147084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":147084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:42:02] local.INFO: TCP Data received {"connection_id":147084,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbade7cf8012d6a93c006177c60000f01612f..."} 
[2026-08-01 06:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbade7cf8012d6a93c006177c60000f01612f..."} 
[2026-08-01 06:42:02] local.INFO: Processing buffer {"connection_id":147084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbade7cf8012d6a93c006177c60000f01612f..."} 
[2026-08-01 06:42:02] local.INFO: Packet analysis {"connection_id":147084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbade"} 
[2026-08-01 06:42:02] local.INFO: Extracted packet for processing {"connection_id":147084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbade"} 
[2026-08-01 06:42:02] local.INFO: GPS Element Parsed {"raw_longitude":761959360,"raw_latitude":102202464,"longitude_deg":76.195936,"latitude_deg":10.2202464,"altitude":15,"angle":353,"satellites":47,"speed":35,"hex_longitude":"2d6a93c0","hex_latitude":"06177c60","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099919616001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365533727280857088,"note":"Value kept but may cause issues"} 
[2026-08-01 06:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7681029928130244608,"note":"Value kept but may cause issues"} 
[2026-08-01 06:42:02] 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-08-01 06:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785546571000,"timestamp_ms":1785546571000,"timestamp_seconds":1785546571,"priority":1,"record_length":96,"hex_timestamp":"0000019fbade7cf8"} 
[2026-08-01 06:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:42:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06: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":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 06:42: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-08-01 06: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-08-01 06:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":147084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":147084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":147084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099919616001,"66":27615,"148":206,"19":40704,"24":35,"16":365533727280857088,"45":7681029928130244608},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,19,24,16,45]} 
[2026-08-01 06:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099919616001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:42:02] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-08-01 06:42:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-08-01 06:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365533727280857088,"km_value":365533727280857.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7681029928130244608,"description":"Unknown IO ID 45"} 
[2026-08-01 06:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099919616001,"power":27615,"unknown_148":206,"unknown_19":40704,"ignition":35,"odometer":null,"unknown_45":7681029928130244608}} 
[2026-08-01 06:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":147084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:42:02] local.INFO: GPS data processed {"connection_id":147084,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:42:02] local.INFO: Acknowledgment sent {"connection_id":147084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:42:07] local.INFO: TCP Data received {"connection_id":146068,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146068,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:42:07] local.INFO: Processing buffer {"connection_id":146068,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:42:07] local.INFO: IMEI packet received {"connection_id":146068,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 06:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":146068,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:42:12] local.INFO: TCP Data received {"connection_id":146068,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146068,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:42:12] local.INFO: Processing buffer {"connection_id":146068,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:42:12] local.INFO: IMEI packet received {"connection_id":146068,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":146068,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:42:13] local.INFO: TCP Data received {"connection_id":146068,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbadfdc88012d7d444005c53c70000200b129..."} 
[2026-08-01 06:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbadfdc88012d7d444005c53c70000200b129..."} 
[2026-08-01 06:42:13] local.INFO: Processing buffer {"connection_id":146068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbadfdc88012d7d444005c53c70000200b129..."} 
[2026-08-01 06:42:13] local.INFO: Packet analysis {"connection_id":146068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbadf"} 
[2026-08-01 06:42:13] local.INFO: Extracted packet for processing {"connection_id":146068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbadf"} 
[2026-08-01 06:42:13] local.INFO: GPS Element Parsed {"raw_longitude":763184192,"raw_latitude":96812144,"longitude_deg":76.3184192,"latitude_deg":9.6812144,"altitude":2,"angle":177,"satellites":41,"speed":31,"hex_longitude":"2d7d4440","hex_latitude":"05c53c70","is_valid_coordinates":true} 
[2026-08-01 06:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099942400001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113346373079793664,"note":"Value kept but may cause issues"} 
[2026-08-01 06:42:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025846996734279680,"note":"Value kept but may cause issues"} 
[2026-08-01 06:42:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785546661000,"timestamp_ms":1785546661000,"timestamp_seconds":1785546661,"priority":1,"record_length":96,"hex_timestamp":"0000019fbadfdc88"} 
[2026-08-01 06:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:42:13] 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-08-01 06:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-01 06:42:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06:42:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":146068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":146068,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":146068,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:42:13] 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-08-01 06:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099942400001,"66":13646,"227":206,"85":12288,"24":31,"16":113346373079793664,"45":9025846996734279680},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-08-01 06:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099942400001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:42:13] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-01 06:42:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 06:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113346373079793664,"km_value":113346373079793.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:42:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025846996734279680,"description":"Unknown IO ID 45"} 
[2026-08-01 06:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099942400001,"power":13646,"unknown_227":206,"unknown_85":12288,"ignition":31,"odometer":null,"unknown_45":9025846996734279680}} 
[2026-08-01 06:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":146068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576070,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:42:13] local.INFO: GPS data processed {"connection_id":146068,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:42:13] local.INFO: Acknowledgment sent {"connection_id":146068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:42:34] local.INFO: TCP Data received {"connection_id":147084,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbae049e8012d6a78c006191408000c01612d..."} 
[2026-08-01 06:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbae049e8012d6a78c006191408000c01612d..."} 
[2026-08-01 06:42:34] local.INFO: Processing buffer {"connection_id":147084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbae049e8012d6a78c006191408000c01612d..."} 
[2026-08-01 06:42:34] local.INFO: Packet analysis {"connection_id":147084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbae0"} 
[2026-08-01 06:42:34] local.INFO: Extracted packet for processing {"connection_id":147084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbae0"} 
[2026-08-01 06:42:34] local.INFO: GPS Element Parsed {"raw_longitude":761952448,"raw_latitude":102306824,"longitude_deg":76.1952448,"latitude_deg":10.2306824,"altitude":12,"angle":353,"satellites":45,"speed":38,"hex_longitude":"2d6a78c0","hex_latitude":"06191408","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099949824001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365538812522135552,"note":"Value kept but may cause issues"} 
[2026-08-01 06:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7672937522576412672,"note":"Value kept but may cause issues"} 
[2026-08-01 06:42:34] 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-08-01 06:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785546689000,"timestamp_ms":1785546689000,"timestamp_seconds":1785546689,"priority":1,"record_length":96,"hex_timestamp":"0000019fbae049e8"} 
[2026-08-01 06:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:42: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-08-01 06: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 06:42: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-08-01 06: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-08-01 06:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099949824001,"66":27691,"6":206,"19":40704,"24":38,"16":365538812522135552,"45":7672937522576412672},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,19,24,16,45]} 
[2026-08-01 06:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099949824001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:42:34] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-08-01 06:42:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-08-01 06:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365538812522135552,"km_value":365538812522135.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7672937522576412672,"description":"Unknown IO ID 45"} 
[2026-08-01 06:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099949824001,"power":27691,"unknown_6":206,"unknown_19":40704,"ignition":38,"odometer":null,"unknown_45":7672937522576412672}} 
[2026-08-01 06:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":147084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:42:34] local.INFO: GPS data processed {"connection_id":147084,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:42:34] local.INFO: Acknowledgment sent {"connection_id":147084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:42:44] local.INFO: TCP Data received {"connection_id":146068,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbae00780012d7d470005c51908000100b328..."} 
[2026-08-01 06:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbae00780012d7d470005c51908000100b328..."} 
[2026-08-01 06:42:44] local.INFO: Processing buffer {"connection_id":146068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbae00780012d7d470005c51908000100b328..."} 
[2026-08-01 06:42:44] local.INFO: Packet analysis {"connection_id":146068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbae0"} 
[2026-08-01 06:42:44] local.INFO: Extracted packet for processing {"connection_id":146068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbae0"} 
[2026-08-01 06:42:44] local.INFO: GPS Element Parsed {"raw_longitude":763184896,"raw_latitude":96803080,"longitude_deg":76.3184896,"latitude_deg":9.680308,"altitude":1,"angle":179,"satellites":40,"speed":34,"hex_longitude":"2d7d4700","hex_latitude":"05c51908","is_valid_coordinates":true} 
[2026-08-01 06:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099945216001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113346811166457856,"note":"Value kept but may cause issues"} 
[2026-08-01 06:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026409946685403136,"note":"Value kept but may cause issues"} 
[2026-08-01 06:42:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785546672000,"timestamp_ms":1785546672000,"timestamp_seconds":1785546672,"priority":1,"record_length":96,"hex_timestamp":"0000019fbae00780"} 
[2026-08-01 06:42:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:42:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-01 06:42:44] 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-08-01 06:42:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:42:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":146068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":146068,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":146068,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:42:44] 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-08-01 06:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099945216001,"66":13656,"227":206,"85":12288,"24":34,"16":113346811166457856,"45":9026409946685403136},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-08-01 06:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099945216001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:42:44] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-01 06:42:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 06:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113346811166457856,"km_value":113346811166457.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026409946685403136,"description":"Unknown IO ID 45"} 
[2026-08-01 06:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099945216001,"power":13656,"unknown_227":206,"unknown_85":12288,"ignition":34,"odometer":null,"unknown_45":9026409946685403136}} 
[2026-08-01 06:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":146068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576072,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:42:44] local.INFO: GPS data processed {"connection_id":146068,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:42:44] local.INFO: Acknowledgment sent {"connection_id":146068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:42:56] local.INFO: TCP Data received {"connection_id":145874,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:42:56] local.INFO: Processing buffer {"connection_id":145874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:42:56] local.INFO: IMEI packet received {"connection_id":145874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 06:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":145874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:42:57] local.INFO: TCP Data received {"connection_id":145874,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:42:57] local.INFO: Processing buffer {"connection_id":145874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:42:57] local.INFO: IMEI packet received {"connection_id":145874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":145874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:42:59] local.INFO: TCP Data received {"connection_id":145874,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:42:59] local.INFO: Processing buffer {"connection_id":145874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:42:59] local.INFO: IMEI packet received {"connection_id":145874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":145874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:43:02] local.INFO: TCP Data received {"connection_id":145874,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:43:02] local.INFO: Processing buffer {"connection_id":145874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:43:02] local.INFO: IMEI packet received {"connection_id":145874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":145874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:43:03] local.INFO: TCP Data received {"connection_id":145874,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbae06d10012d6a7340061936e0000d015d2d..."} 
[2026-08-01 06:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbae06d10012d6a7340061936e0000d015d2d..."} 
[2026-08-01 06:43:03] local.INFO: Processing buffer {"connection_id":145874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbae06d10012d6a7340061936e0000d015d2d..."} 
[2026-08-01 06:43:03] local.INFO: Packet analysis {"connection_id":145874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbae0"} 
[2026-08-01 06:43:03] local.INFO: Extracted packet for processing {"connection_id":145874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbae0"} 
[2026-08-01 06:43:03] local.INFO: GPS Element Parsed {"raw_longitude":761951040,"raw_latitude":102315744,"longitude_deg":76.195104,"latitude_deg":10.2315744,"altitude":13,"angle":349,"satellites":45,"speed":39,"hex_longitude":"2d6a7340","hex_latitude":"061936e0","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099952384001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365539250608799744,"note":"Value kept but may cause issues"} 
[2026-08-01 06:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7672093097648719872,"note":"Value kept but may cause issues"} 
[2026-08-01 06:43: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-08-01 06:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785546698000,"timestamp_ms":1785546698000,"timestamp_seconds":1785546698,"priority":1,"record_length":96,"hex_timestamp":"0000019fbae06d10"} 
[2026-08-01 06:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:43: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-08-01 06:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-01 06:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06: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-08-01 06:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099952384001,"66":27658,"6":206,"19":40704,"24":39,"16":365539250608799744,"45":7672093097648719872},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,19,24,16,45]} 
[2026-08-01 06:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099952384001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:43:03] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-08-01 06:43:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-08-01 06:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365539250608799744,"km_value":365539250608799.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7672093097648719872,"description":"Unknown IO ID 45"} 
[2026-08-01 06:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099952384001,"power":27658,"unknown_6":206,"unknown_19":40704,"ignition":39,"odometer":null,"unknown_45":7672093097648719872}} 
[2026-08-01 06:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":145874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:43:03] local.INFO: GPS data processed {"connection_id":145874,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:43:03] local.INFO: Acknowledgment sent {"connection_id":145874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:43:07] local.INFO: TCP Data received {"connection_id":145875,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145875,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:43:07] local.INFO: Processing buffer {"connection_id":145875,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:43:07] local.INFO: IMEI packet received {"connection_id":145875,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 06:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":145875,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:43:11] local.INFO: TCP Data received {"connection_id":145875,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145875,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:43:11] local.INFO: Processing buffer {"connection_id":145875,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:43:11] local.INFO: IMEI packet received {"connection_id":145875,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":145875,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:43:12] local.INFO: TCP Data received {"connection_id":145875,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145875,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:43:12] local.INFO: Processing buffer {"connection_id":145875,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:43:12] local.INFO: IMEI packet received {"connection_id":145875,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":145875,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:43:13] local.INFO: TCP Data received {"connection_id":145875,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbae14fa0012d7d4b8005c39e60000400b12a..."} 
[2026-08-01 06:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbae14fa0012d7d4b8005c39e60000400b12a..."} 
[2026-08-01 06:43:13] local.INFO: Processing buffer {"connection_id":145875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbae14fa0012d7d4b8005c39e60000400b12a..."} 
[2026-08-01 06:43:13] local.INFO: Packet analysis {"connection_id":145875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbae1"} 
[2026-08-01 06:43:13] local.INFO: Extracted packet for processing {"connection_id":145875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbae1"} 
[2026-08-01 06:43:13] local.INFO: GPS Element Parsed {"raw_longitude":763186048,"raw_latitude":96706144,"longitude_deg":76.3186048,"latitude_deg":9.6706144,"altitude":4,"angle":177,"satellites":42,"speed":47,"hex_longitude":"2d7d4b80","hex_latitude":"05c39e60","is_valid_coordinates":true} 
[2026-08-01 06:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099967488001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113351531335516160,"note":"Value kept but may cause issues"} 
[2026-08-01 06:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027535846567485440,"note":"Value kept but may cause issues"} 
[2026-08-01 06:43:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785546756000,"timestamp_ms":1785546756000,"timestamp_seconds":1785546756,"priority":1,"record_length":96,"hex_timestamp":"0000019fbae14fa0"} 
[2026-08-01 06:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:43: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-08-01 06:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-01 06:43:13] 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-08-01 06:43:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":145875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":145875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":145875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:43:13] 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-08-01 06:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099967488001,"66":13722,"135":206,"85":12288,"24":47,"16":113351531335516160,"45":9027535846567485440},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,85,24,16,45]} 
[2026-08-01 06:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099967488001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:43:13] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-01 06:43:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 06:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113351531335516160,"km_value":113351531335516.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:43:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027535846567485440,"description":"Unknown IO ID 45"} 
[2026-08-01 06:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099967488001,"power":13722,"unknown_135":206,"unknown_85":12288,"ignition":47,"odometer":null,"unknown_45":9027535846567485440}} 
[2026-08-01 06:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":145875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576074,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:43:13] local.INFO: GPS data processed {"connection_id":145875,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:43:13] local.INFO: Acknowledgment sent {"connection_id":145875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:43:36] local.INFO: TCP Data received {"connection_id":145874,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbae09038012d6a6b8006195938000d015829..."} 
[2026-08-01 06:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbae09038012d6a6b8006195938000d015829..."} 
[2026-08-01 06:43:36] local.INFO: Processing buffer {"connection_id":145874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbae09038012d6a6b8006195938000d015829..."} 
[2026-08-01 06:43:36] local.INFO: Packet analysis {"connection_id":145874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbae0"} 
[2026-08-01 06:43:36] local.INFO: Extracted packet for processing {"connection_id":145874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbae0"} 
[2026-08-01 06:43:36] local.INFO: GPS Element Parsed {"raw_longitude":761949056,"raw_latitude":102324536,"longitude_deg":76.1949056,"latitude_deg":10.2324536,"altitude":13,"angle":344,"satellites":41,"speed":38,"hex_longitude":"2d6a6b80","hex_latitude":"06195938","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099954688001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365539688695463936,"note":"Value kept but may cause issues"} 
[2026-08-01 06:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7670544985279094784,"note":"Value kept but may cause issues"} 
[2026-08-01 06:43:36] 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-08-01 06:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785546707000,"timestamp_ms":1785546707000,"timestamp_seconds":1785546707,"priority":1,"record_length":96,"hex_timestamp":"0000019fbae09038"} 
[2026-08-01 06:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:43: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-08-01 06: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":10,"data_length":795,"current_offset":136} 
[2026-08-01 06:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06: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-08-01 06:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":145874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":145874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":145874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099954688001,"66":27626,"6":206,"19":40704,"24":38,"16":365539688695463936,"45":7670544985279094784},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,19,24,16,45]} 
[2026-08-01 06:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099954688001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:43:36] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-08-01 06:43:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-08-01 06:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365539688695463936,"km_value":365539688695463.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":7670544985279094784,"description":"Unknown IO ID 45"} 
[2026-08-01 06:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099954688001,"power":27626,"unknown_6":206,"unknown_19":40704,"ignition":38,"odometer":null,"unknown_45":7670544985279094784}} 
[2026-08-01 06:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":145874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:43:36] local.INFO: GPS data processed {"connection_id":145874,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:43:36] local.INFO: Acknowledgment sent {"connection_id":145874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:43:44] local.INFO: TCP Data received {"connection_id":145875,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbae16ee0012d7d4bc005c37800000300b829..."} 
[2026-08-01 06:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbae16ee0012d7d4bc005c37800000300b829..."} 
[2026-08-01 06:43:44] local.INFO: Processing buffer {"connection_id":145875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbae16ee0012d7d4bc005c37800000300b829..."} 
[2026-08-01 06:43:44] local.INFO: Packet analysis {"connection_id":145875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbae1"} 
[2026-08-01 06:43:44] local.INFO: Extracted packet for processing {"connection_id":145875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbae1"} 
[2026-08-01 06:43:44] local.INFO: GPS Element Parsed {"raw_longitude":763186112,"raw_latitude":96696320,"longitude_deg":76.3186112,"latitude_deg":9.669632,"altitude":3,"angle":184,"satellites":41,"speed":45,"hex_longitude":"2d7d4bc0","hex_latitude":"05c37800","is_valid_coordinates":true} 
[2026-08-01 06:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099969536001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113352008076886016,"note":"Value kept but may cause issues"} 
[2026-08-01 06:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028450640239419392,"note":"Value kept but may cause issues"} 
[2026-08-01 06:43:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785546764000,"timestamp_ms":1785546764000,"timestamp_seconds":1785546764,"priority":1,"record_length":96,"hex_timestamp":"0000019fbae16ee0"} 
[2026-08-01 06:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:43:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-01 06:43:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06:43:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":145875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":145875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":145875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:43:44] 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-08-01 06:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099969536001,"66":13798,"135":206,"85":12288,"24":45,"16":113352008076886016,"45":9028450640239419392},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,85,24,16,45]} 
[2026-08-01 06:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099969536001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:43:44] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-01 06:43:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 06:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113352008076886016,"km_value":113352008076886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028450640239419392,"description":"Unknown IO ID 45"} 
[2026-08-01 06:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099969536001,"power":13798,"unknown_135":206,"unknown_85":12288,"ignition":45,"odometer":null,"unknown_45":9028450640239419392}} 
[2026-08-01 06:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":145875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576076,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:43:44] local.INFO: GPS data processed {"connection_id":145875,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:43:44] local.INFO: Acknowledgment sent {"connection_id":145875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:44:01] local.INFO: TCP Data received {"connection_id":147085,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:44:01] local.INFO: Processing buffer {"connection_id":147085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:44:01] local.INFO: IMEI packet received {"connection_id":147085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 06:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":147085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:44:03] local.INFO: TCP Data received {"connection_id":147085,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:44:03] local.INFO: Processing buffer {"connection_id":147085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:44:03] local.INFO: IMEI packet received {"connection_id":147085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":147085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:44:04] local.INFO: TCP Data received {"connection_id":147085,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbae0bf18012d6a600006197a30000e015228..."} 
[2026-08-01 06:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbae0bf18012d6a600006197a30000e015228..."} 
[2026-08-01 06:44:04] local.INFO: Processing buffer {"connection_id":147085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbae0bf18012d6a600006197a30000e015228..."} 
[2026-08-01 06:44:04] local.INFO: Packet analysis {"connection_id":147085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbae0"} 
[2026-08-01 06:44:04] local.INFO: Extracted packet for processing {"connection_id":147085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbae0"} 
[2026-08-01 06:44:04] local.INFO: GPS Element Parsed {"raw_longitude":761946112,"raw_latitude":102332976,"longitude_deg":76.1946112,"latitude_deg":10.2332976,"altitude":14,"angle":338,"satellites":40,"speed":18,"hex_longitude":"2d6a6000","hex_latitude":"06197a30","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099956992001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365540122487160832,"note":"Value kept but may cause issues"} 
[2026-08-01 06:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7668363554211837952,"note":"Value kept but may cause issues"} 
[2026-08-01 06:44:04] 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-08-01 06:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785546719000,"timestamp_ms":1785546719000,"timestamp_seconds":1785546719,"priority":1,"record_length":96,"hex_timestamp":"0000019fbae0bf18"} 
[2026-08-01 06:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:44: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-08-01 06: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-01 06:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06: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-08-01 06:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099956992001,"66":27604,"6":206,"19":40704,"24":18,"16":365540122487160832,"45":7668363554211837952},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,19,24,16,45]} 
[2026-08-01 06:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099956992001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:44:04] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-08-01 06:44:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-08-01 06:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365540122487160832,"km_value":365540122487160.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7668363554211837952,"description":"Unknown IO ID 45"} 
[2026-08-01 06:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099956992001,"power":27604,"unknown_6":206,"unknown_19":40704,"ignition":18,"odometer":null,"unknown_45":7668363554211837952}} 
[2026-08-01 06:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":147085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:44:04] local.INFO: GPS data processed {"connection_id":147085,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:44:04] local.INFO: Acknowledgment sent {"connection_id":147085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:44:13] local.INFO: TCP Data received {"connection_id":145876,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145876,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:44:13] local.INFO: Processing buffer {"connection_id":145876,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:44:13] local.INFO: IMEI packet received {"connection_id":145876,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 06:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":145876,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:44:23] local.INFO: TCP Data received {"connection_id":145876,"ip":"42.106.6.17","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-01 06:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145876,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-01 06:44:23] local.INFO: Processing buffer {"connection_id":145876,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-01 06:44:23] local.INFO: IMEI packet received {"connection_id":145876,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":145876,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:44:36] local.INFO: TCP Data received {"connection_id":147085,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbae10950012d6a5b0006198630001101602f..."} 
[2026-08-01 06:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbae10950012d6a5b0006198630001101602f..."} 
[2026-08-01 06:44:36] local.INFO: Processing buffer {"connection_id":147085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbae10950012d6a5b0006198630001101602f..."} 
[2026-08-01 06:44:36] local.INFO: Packet analysis {"connection_id":147085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbae1"} 
[2026-08-01 06:44:36] local.INFO: Extracted packet for processing {"connection_id":147085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbae1"} 
[2026-08-01 06:44:36] local.INFO: GPS Element Parsed {"raw_longitude":761944832,"raw_latitude":102336048,"longitude_deg":76.1944832,"latitude_deg":10.2336048,"altitude":17,"angle":352,"satellites":47,"speed":6,"hex_longitude":"2d6a5b00","hex_latitude":"06198630","is_valid_coordinates":true} 
[2026-08-01 06:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099960064001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365540294285852672,"note":"Value kept but may cause issues"} 
[2026-08-01 06:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7665126591981826048,"note":"Value kept but may cause issues"} 
[2026-08-01 06:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785546738000,"timestamp_ms":1785546738000,"timestamp_seconds":1785546738,"priority":1,"record_length":96,"hex_timestamp":"0000019fbae10950"} 
[2026-08-01 06:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:44: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-08-01 06:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-01 06:44:36] 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-08-01 06:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099960064001,"66":27615,"5":206,"19":40704,"24":6,"16":365540294285852672,"45":7665126591981826048},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,19,24,16,45]} 
[2026-08-01 06:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099960064001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:44:36] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-01 06:44:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-08-01 06:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365540294285852672,"km_value":365540294285852.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":7665126591981826048,"description":"Unknown IO ID 45"} 
[2026-08-01 06:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099960064001,"power":27615,"unknown_5":206,"unknown_19":40704,"ignition":6,"odometer":null,"unknown_45":7665126591981826048}} 
[2026-08-01 06:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":147085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:44:36] local.INFO: GPS data processed {"connection_id":147085,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:44:36] local.INFO: Acknowledgment sent {"connection_id":147085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:44:46] local.INFO: TCP Data received {"connection_id":145876,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbae18e20012d7d484005c35318000400b729..."} 
[2026-08-01 06:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbae18e20012d7d484005c35318000400b729..."} 
[2026-08-01 06:44:46] local.INFO: Processing buffer {"connection_id":145876,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019fba..."} 
[2026-08-01 06:44:46] local.INFO: IMEI packet received {"connection_id":145876,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":145876,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:44:57] local.INFO: TCP Data received {"connection_id":146069,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:44:57] local.INFO: Processing buffer {"connection_id":146069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:44:57] local.INFO: IMEI packet received {"connection_id":146069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 06:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":146069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:44:58] local.INFO: TCP Data received {"connection_id":146069,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:44:58] local.INFO: Processing buffer {"connection_id":146069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:44:58] local.INFO: IMEI packet received {"connection_id":146069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":146069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:45:01] local.INFO: TCP Data received {"connection_id":146069,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:45:01] local.INFO: Processing buffer {"connection_id":146069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:45:01] local.INFO: IMEI packet received {"connection_id":146069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":146069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:45:04] local.INFO: TCP Data received {"connection_id":146069,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbae11508012d6a5a0006198860001101502e..."} 
[2026-08-01 06:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbae11508012d6a5a0006198860001101502e..."} 
[2026-08-01 06:45:04] local.INFO: Processing buffer {"connection_id":146069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbae11508012d6a5a0006198860001101502e..."} 
[2026-08-01 06:45:04] local.INFO: Packet analysis {"connection_id":146069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbae1"} 
[2026-08-01 06:45:04] local.INFO: Extracted packet for processing {"connection_id":146069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbae1"} 
[2026-08-01 06:45:04] local.INFO: GPS Element Parsed {"raw_longitude":761944576,"raw_latitude":102336608,"longitude_deg":76.1944576,"latitude_deg":10.2336608,"altitude":17,"angle":336,"satellites":46,"speed":7,"hex_longitude":"2d6a5a00","hex_latitude":"06198860","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099964928001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365540324350623744,"note":"Value kept but may cause issues"} 
[2026-08-01 06:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7663719217099059200,"note":"Value kept but may cause issues"} 
[2026-08-01 06:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785546741000,"timestamp_ms":1785546741000,"timestamp_seconds":1785546741,"priority":1,"record_length":96,"hex_timestamp":"0000019fbae11508"} 
[2026-08-01 06:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06: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-08-01 06: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":223,"data_length":795,"current_offset":136} 
[2026-08-01 06:45:04] 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-08-01 06: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-08-01 06:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099964928001,"66":27691,"5":206,"19":40704,"24":7,"16":365540324350623744,"45":7663719217099059200},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,19,24,16,45]} 
[2026-08-01 06:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099964928001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:45:04] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-01 06:45:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-08-01 06:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365540324350623744,"km_value":365540324350623.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7663719217099059200,"description":"Unknown IO ID 45"} 
[2026-08-01 06:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099964928001,"power":27691,"unknown_5":206,"unknown_19":40704,"ignition":7,"odometer":null,"unknown_45":7663719217099059200}} 
[2026-08-01 06:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":146069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:45:04] local.INFO: GPS data processed {"connection_id":146069,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:45:04] local.INFO: Acknowledgment sent {"connection_id":146069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:45:06] local.INFO: TCP Data received {"connection_id":145877,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145877,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:45:06] local.INFO: Processing buffer {"connection_id":145877,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:45:06] local.INFO: IMEI packet received {"connection_id":145877,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 06:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":145877,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:45:07] local.INFO: TCP Data received {"connection_id":146069,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbae13448012d6a5640061991200011015c2d..."} 
[2026-08-01 06:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbae13448012d6a5640061991200011015c2d..."} 
[2026-08-01 06:45:07] local.INFO: Processing buffer {"connection_id":146069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbae13448012d6a5640061991200011015c2d..."} 
[2026-08-01 06:45:07] local.INFO: Packet analysis {"connection_id":146069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbae1"} 
[2026-08-01 06:45:07] local.INFO: Extracted packet for processing {"connection_id":146069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbae1"} 
[2026-08-01 06:45:07] local.INFO: GPS Element Parsed {"raw_longitude":761943616,"raw_latitude":102338848,"longitude_deg":76.1943616,"latitude_deg":10.2338848,"altitude":17,"angle":348,"satellites":45,"speed":12,"hex_longitude":"2d6a5640","hex_latitude":"06199120","is_valid_coordinates":true} 
[2026-08-01 06:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099965696001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365540440314740736,"note":"Value kept but may cause issues"} 
[2026-08-01 06:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7663437742122491904,"note":"Value kept but may cause issues"} 
[2026-08-01 06:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785546749000,"timestamp_ms":1785546749000,"timestamp_seconds":1785546749,"priority":1,"record_length":96,"hex_timestamp":"0000019fbae13448"} 
[2026-08-01 06:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:45: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-08-01 06:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-01 06:45: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-08-01 06:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099965696001,"66":27604,"5":206,"19":40704,"24":12,"16":365540440314740736,"45":7663437742122491904},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,19,24,16,45]} 
[2026-08-01 06:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099965696001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:45:07] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-01 06:45:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-08-01 06:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365540440314740736,"km_value":365540440314740.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":7663437742122491904,"description":"Unknown IO ID 45"} 
[2026-08-01 06:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099965696001,"power":27604,"unknown_5":206,"unknown_19":40704,"ignition":12,"odometer":null,"unknown_45":7663437742122491904}} 
[2026-08-01 06:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":146069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:45:07] local.INFO: GPS data processed {"connection_id":146069,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:45:07] local.INFO: Acknowledgment sent {"connection_id":146069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:45:07] local.INFO: TCP Data received {"connection_id":145877,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145877,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:45:07] local.INFO: Processing buffer {"connection_id":145877,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:45:07] local.INFO: IMEI packet received {"connection_id":145877,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":145877,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:45:12] local.INFO: TCP Data received {"connection_id":145877,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145877,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:45:12] local.INFO: Processing buffer {"connection_id":145877,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:45:12] local.INFO: IMEI packet received {"connection_id":145877,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":145877,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:45:13] local.INFO: TCP Data received {"connection_id":145877,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbae310d8012d7d34c005c16928000600b92a..."} 
[2026-08-01 06:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbae310d8012d7d34c005c16928000600b92a..."} 
[2026-08-01 06:45:13] local.INFO: Processing buffer {"connection_id":145877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbae310d8012d7d34c005c16928000600b92a..."} 
[2026-08-01 06:45:13] local.INFO: Packet analysis {"connection_id":145877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbae3"} 
[2026-08-01 06:45:13] local.INFO: Extracted packet for processing {"connection_id":145877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbae3"} 
[2026-08-01 06:45:13] local.INFO: GPS Element Parsed {"raw_longitude":763180224,"raw_latitude":96561448,"longitude_deg":76.3180224,"latitude_deg":9.6561448,"altitude":6,"angle":185,"satellites":42,"speed":58,"hex_longitude":"2d7d34c0","hex_latitude":"05c16928","is_valid_coordinates":true} 
[2026-08-01 06:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099997184001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113358587966783488,"note":"Value kept but may cause issues"} 
[2026-08-01 06:45:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023172984391657472,"note":"Value kept but may cause issues"} 
[2026-08-01 06:45:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785546871000,"timestamp_ms":1785546871000,"timestamp_seconds":1785546871,"priority":1,"record_length":96,"hex_timestamp":"0000019fbae310d8"} 
[2026-08-01 06:45:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:45:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-01 06:45:13] 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-08-01 06:45:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:45:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":145877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":145877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":145877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:45:13] 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-08-01 06:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099997184001,"66":13363,"104":206,"85":12288,"24":58,"16":113358587966783488,"45":9023172984391657472},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-08-01 06:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099997184001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:45:13] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-01 06:45:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 06:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113358587966783488,"km_value":113358587966783.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:45:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023172984391657472,"description":"Unknown IO ID 45"} 
[2026-08-01 06:45:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099997184001,"power":13363,"unknown_104":206,"unknown_85":12288,"ignition":58,"odometer":null,"unknown_45":9023172984391657472}} 
[2026-08-01 06:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":145877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576081,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:45:13] local.INFO: GPS data processed {"connection_id":145877,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:45:13] local.INFO: Acknowledgment sent {"connection_id":145877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:45:40] local.INFO: TCP Data received {"connection_id":146069,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbae17a98012d6a4ac00619b3e00010015524..."} 
[2026-08-01 06:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbae17a98012d6a4ac00619b3e00010015524..."} 
[2026-08-01 06:45:40] local.INFO: Processing buffer {"connection_id":146069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbae17a98012d6a4ac00619b3e00010015524..."} 
[2026-08-01 06:45:40] local.INFO: Packet analysis {"connection_id":146069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbae1"} 
[2026-08-01 06:45:40] local.INFO: Extracted packet for processing {"connection_id":146069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbae1"} 
[2026-08-01 06:45:40] local.INFO: GPS Element Parsed {"raw_longitude":761940672,"raw_latitude":102347744,"longitude_deg":76.1940672,"latitude_deg":10.2347744,"altitude":16,"angle":341,"satellites":36,"speed":26,"hex_longitude":"2d6a4ac0","hex_latitude":"0619b3e0","is_valid_coordinates":true} 
[2026-08-01 06:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099967744001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365540895581274112,"note":"Value kept but may cause issues"} 
[2026-08-01 06:45:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7662382210960400384,"note":"Value kept but may cause issues"} 
[2026-08-01 06:45:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785546767000,"timestamp_ms":1785546767000,"timestamp_seconds":1785546767,"priority":1,"record_length":96,"hex_timestamp":"0000019fbae17a98"} 
[2026-08-01 06:45:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:45: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-08-01 06:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-01 06:45:40] 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-08-01 06:45:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:45:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:45:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099967744001,"66":27658,"5":206,"19":40704,"24":26,"16":365540895581274112,"45":7662382210960400384},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,19,24,16,45]} 
[2026-08-01 06:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099967744001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:45:40] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-01 06:45:40] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-08-01 06:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365540895581274112,"km_value":365540895581274.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:45:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":7662382210960400384,"description":"Unknown IO ID 45"} 
[2026-08-01 06:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099967744001,"power":27658,"unknown_5":206,"unknown_19":40704,"ignition":26,"odometer":null,"unknown_45":7662382210960400384}} 
[2026-08-01 06:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":146069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:45:40] local.INFO: GPS data processed {"connection_id":146069,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:45:40] local.INFO: Acknowledgment sent {"connection_id":146069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:45:44] local.INFO: TCP Data received {"connection_id":145877,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbae32c30012d7d32c005c14320000600b12a..."} 
[2026-08-01 06:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbae32c30012d7d32c005c14320000600b12a..."} 
[2026-08-01 06:45:44] local.INFO: Processing buffer {"connection_id":145877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbae32c30012d7d32c005c14320000600b12a..."} 
[2026-08-01 06:45:44] local.INFO: Packet analysis {"connection_id":145877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbae3"} 
[2026-08-01 06:45:44] local.INFO: Extracted packet for processing {"connection_id":145877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbae3"} 
[2026-08-01 06:45:44] local.INFO: GPS Element Parsed {"raw_longitude":763179712,"raw_latitude":96551712,"longitude_deg":76.3179712,"latitude_deg":9.6551712,"altitude":6,"angle":177,"satellites":42,"speed":54,"hex_longitude":"2d7d32c0","hex_latitude":"05c14320","is_valid_coordinates":true} 
[2026-08-01 06:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457099998976001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113359060413186048,"note":"Value kept but may cause issues"} 
[2026-08-01 06:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022047084482209792,"note":"Value kept but may cause issues"} 
[2026-08-01 06:45:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785546878000,"timestamp_ms":1785546878000,"timestamp_seconds":1785546878,"priority":1,"record_length":96,"hex_timestamp":"0000019fbae32c30"} 
[2026-08-01 06:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:45:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-01 06:45:44] 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-08-01 06:45:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":145877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":145877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":145877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:45:44] 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-08-01 06:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457099998976001,"66":13678,"104":206,"85":12288,"24":54,"16":113359060413186048,"45":9022047084482209792},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-08-01 06:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457099998976001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:45:44] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-01 06:45:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 06:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113359060413186048,"km_value":113359060413186.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022047084482209792,"description":"Unknown IO ID 45"} 
[2026-08-01 06:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457099998976001,"power":13678,"unknown_104":206,"unknown_85":12288,"ignition":54,"odometer":null,"unknown_45":9022047084482209792}} 
[2026-08-01 06:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":145877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576083,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:45:44] local.INFO: GPS data processed {"connection_id":145877,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:45:44] local.INFO: Acknowledgment sent {"connection_id":145877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:45:56] local.INFO: TCP Data received {"connection_id":147086,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:45:56] local.INFO: Processing buffer {"connection_id":147086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:45:56] local.INFO: IMEI packet received {"connection_id":147086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 06:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":147086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:46:01] local.INFO: TCP Data received {"connection_id":147086,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:46:01] local.INFO: Processing buffer {"connection_id":147086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:46:01] local.INFO: IMEI packet received {"connection_id":147086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":147086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:46:02] local.INFO: TCP Data received {"connection_id":147086,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbae366c8012d69b880061b1530000d014e23..."} 
[2026-08-01 06:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbae366c8012d69b880061b1530000d014e23..."} 
[2026-08-01 06:46:02] local.INFO: Processing buffer {"connection_id":147086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbae366c8012d69b880061b1530000d014e23..."} 
[2026-08-01 06:46:02] local.INFO: Packet analysis {"connection_id":147086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbae3"} 
[2026-08-01 06:46:02] local.INFO: Extracted packet for processing {"connection_id":147086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbae3"} 
[2026-08-01 06:46:02] local.INFO: GPS Element Parsed {"raw_longitude":761903232,"raw_latitude":102438192,"longitude_deg":76.1903232,"latitude_deg":10.2438192,"altitude":13,"angle":334,"satellites":35,"speed":27,"hex_longitude":"2d69b880","hex_latitude":"061b1530","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100001024001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365545658700005376,"note":"Value kept but may cause issues"} 
[2026-08-01 06:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7622694239267471360,"note":"Value kept but may cause issues"} 
[2026-08-01 06:46:02] 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-08-01 06:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785546893000,"timestamp_ms":1785546893000,"timestamp_seconds":1785546893,"priority":1,"record_length":96,"hex_timestamp":"0000019fbae366c8"} 
[2026-08-01 06:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-01 06:46:02] 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-08-01 06: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-08-01 06:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":147086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":147086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":147086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100001024001,"66":27691,"53":206,"19":40704,"24":27,"16":365545658700005376,"45":7622694239267471360},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,19,24,16,45]} 
[2026-08-01 06:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100001024001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:46:02] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-01 06:46:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-08-01 06:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365545658700005376,"km_value":365545658700005.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7622694239267471360,"description":"Unknown IO ID 45"} 
[2026-08-01 06:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100001024001,"power":27691,"unknown_53":206,"unknown_19":40704,"ignition":27,"odometer":null,"unknown_45":7622694239267471360}} 
[2026-08-01 06:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":147086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:46:02] local.INFO: GPS data processed {"connection_id":147086,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:46:02] local.INFO: Acknowledgment sent {"connection_id":147086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:46:07] local.INFO: TCP Data received {"connection_id":146070,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146070,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:46:07] local.INFO: Processing buffer {"connection_id":146070,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:46:07] local.INFO: IMEI packet received {"connection_id":146070,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 06:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":146070,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:46:13] local.INFO: TCP Data received {"connection_id":146070,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146070,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:46:13] local.INFO: Processing buffer {"connection_id":146070,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:46:13] local.INFO: IMEI packet received {"connection_id":146070,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":146070,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:46:16] local.INFO: TCP Data received {"connection_id":146070,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbae435d0012d7d340005bff300000400d12a..."} 
[2026-08-01 06:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbae435d0012d7d340005bff300000400d12a..."} 
[2026-08-01 06:46:16] local.INFO: Processing buffer {"connection_id":146070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbae435d0012d7d340005bff300000400d12a..."} 
[2026-08-01 06:46:16] local.INFO: Packet analysis {"connection_id":146070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbae4"} 
[2026-08-01 06:46:16] local.INFO: Extracted packet for processing {"connection_id":146070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbae4"} 
[2026-08-01 06:46:16] local.INFO: GPS Element Parsed {"raw_longitude":763180032,"raw_latitude":96465664,"longitude_deg":76.3180032,"latitude_deg":9.6465664,"altitude":4,"angle":209,"satellites":42,"speed":43,"hex_longitude":"2d7d3400","hex_latitude":"05bff300","is_valid_coordinates":true} 
[2026-08-01 06:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100017408001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113363278071070720,"note":"Value kept but may cause issues"} 
[2026-08-01 06:46:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022961878132752384,"note":"Value kept but may cause issues"} 
[2026-08-01 06:46:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785546946000,"timestamp_ms":1785546946000,"timestamp_seconds":1785546946,"priority":1,"record_length":96,"hex_timestamp":"0000019fbae435d0"} 
[2026-08-01 06:46:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:46: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-08-01 06:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-01 06:46:16] 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-08-01 06:46:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:46:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":146070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":146070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":146070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:46:16] 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-08-01 06:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100017408001,"66":13602,"10":206,"85":12288,"24":43,"16":113363278071070720,"45":9022961878132752384},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-08-01 06:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100017408001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:46:16] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-01 06:46:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 06:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113363278071070720,"km_value":113363278071070.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:46:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022961878132752384,"description":"Unknown IO ID 45"} 
[2026-08-01 06:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100017408001,"power":13602,"unknown_10":206,"unknown_85":12288,"ignition":43,"odometer":null,"unknown_45":9022961878132752384}} 
[2026-08-01 06:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":146070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576085,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:46:16] local.INFO: GPS data processed {"connection_id":146070,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:46:16] local.INFO: Acknowledgment sent {"connection_id":146070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:46:33] local.INFO: TCP Data received {"connection_id":147086,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbae395a8012d69aa00061b3600000d015128..."} 
[2026-08-01 06:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbae395a8012d69aa00061b3600000d015128..."} 
[2026-08-01 06:46:33] local.INFO: Processing buffer {"connection_id":147086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbae395a8012d69aa00061b3600000d015128..."} 
[2026-08-01 06:46:33] local.INFO: Packet analysis {"connection_id":147086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbae3"} 
[2026-08-01 06:46:33] local.INFO: Extracted packet for processing {"connection_id":147086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbae3"} 
[2026-08-01 06:46:33] local.INFO: GPS Element Parsed {"raw_longitude":761899520,"raw_latitude":102446592,"longitude_deg":76.189952,"latitude_deg":10.2446592,"altitude":13,"angle":337,"satellites":40,"speed":33,"hex_longitude":"2d69aa00","hex_latitude":"061b3600","is_valid_coordinates":true} 
[2026-08-01 06:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100004608001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365546101081636864,"note":"Value kept but may cause issues"} 
[2026-08-01 06:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7617979533409726464,"note":"Value kept but may cause issues"} 
[2026-08-01 06:46:33] 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-08-01 06:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785546905000,"timestamp_ms":1785546905000,"timestamp_seconds":1785546905,"priority":1,"record_length":96,"hex_timestamp":"0000019fbae395a8"} 
[2026-08-01 06:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:46: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-08-01 06:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-01 06:46:33] 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-08-01 06:46:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":147086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":147086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":147086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100004608001,"66":27539,"54":206,"19":40704,"24":33,"16":365546101081636864,"45":7617979533409726464},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,19,24,16,45]} 
[2026-08-01 06:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100004608001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:46:33] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-08-01 06:46:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-08-01 06:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365546101081636864,"km_value":365546101081636.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7617979533409726464,"description":"Unknown IO ID 45"} 
[2026-08-01 06:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100004608001,"power":27539,"unknown_54":206,"unknown_19":40704,"ignition":33,"odometer":null,"unknown_45":7617979533409726464}} 
[2026-08-01 06:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":147086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:46:33] local.INFO: GPS data processed {"connection_id":147086,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:46:33] local.INFO: Acknowledgment sent {"connection_id":147086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:46:55] local.INFO: TCP Data received {"connection_id":148399,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:46:55] local.INFO: Processing buffer {"connection_id":148399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:46:55] local.INFO: IMEI packet received {"connection_id":148399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 06:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":148399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:46:56] local.INFO: TCP Data received {"connection_id":148399,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:46:56] local.INFO: Processing buffer {"connection_id":148399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:46:56] local.INFO: IMEI packet received {"connection_id":148399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":148399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:47:02] local.INFO: TCP Data received {"connection_id":148399,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:47:02] local.INFO: Processing buffer {"connection_id":148399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:47:02] local.INFO: IMEI packet received {"connection_id":148399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":148399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:47:03] local.INFO: TCP Data received {"connection_id":148399,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbae3bcb8012d699b00061b5620000b015124..."} 
[2026-08-01 06:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbae3bcb8012d699b00061b5620000b015124..."} 
[2026-08-01 06:47:03] local.INFO: Processing buffer {"connection_id":148399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbae3bcb8012d699b00061b5620000b015124..."} 
[2026-08-01 06:47:03] local.INFO: Packet analysis {"connection_id":148399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbae3"} 
[2026-08-01 06:47:03] local.INFO: Extracted packet for processing {"connection_id":148399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbae3"} 
[2026-08-01 06:47:03] local.INFO: GPS Element Parsed {"raw_longitude":761895680,"raw_latitude":102454816,"longitude_deg":76.189568,"latitude_deg":10.2454816,"altitude":11,"angle":337,"satellites":36,"speed":37,"hex_longitude":"2d699b00","hex_latitude":"061b5620","is_valid_coordinates":true} 
[2026-08-01 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-08-01 06:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100007680001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365546539168301056,"note":"Value kept but may cause issues"} 
[2026-08-01 06:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7613898146249572352,"note":"Value kept but may cause issues"} 
[2026-08-01 06:47:03] 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-08-01 06:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785546915000,"timestamp_ms":1785546915000,"timestamp_seconds":1785546915,"priority":1,"record_length":96,"hex_timestamp":"0000019fbae3bcb8"} 
[2026-08-01 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-08-01 06:47: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-08-01 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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-01 06:47:03] 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-08-01 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-08-01 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-08-01 06:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100007680001,"66":27821,"54":206,"19":40704,"24":37,"16":365546539168301056,"45":7613898146249572352},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,19,24,16,45]} 
[2026-08-01 06:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100007680001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:47:03] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-08-01 06:47:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-08-01 06:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365546539168301056,"km_value":365546539168301.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7613898146249572352,"description":"Unknown IO ID 45"} 
[2026-08-01 06:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100007680001,"power":27821,"unknown_54":206,"unknown_19":40704,"ignition":37,"odometer":null,"unknown_45":7613898146249572352}} 
[2026-08-01 06:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":148399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:47:03] local.INFO: GPS data processed {"connection_id":148399,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:47:03] local.INFO: Acknowledgment sent {"connection_id":148399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:47:08] local.INFO: TCP Data received {"connection_id":146071,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146071,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:47:08] local.INFO: Processing buffer {"connection_id":146071,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:47:08] local.INFO: IMEI packet received {"connection_id":146071,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 06:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":146071,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:47:09] local.INFO: TCP Data received {"connection_id":146071,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146071,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:47:09] local.INFO: Processing buffer {"connection_id":146071,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:47:09] local.INFO: IMEI packet received {"connection_id":146071,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":146071,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:47:12] local.INFO: TCP Data received {"connection_id":146070,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbae45510012d7d204005bfd490000600d528..."} 
[2026-08-01 06:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbae45510012d7d204005bfd490000600d528..."} 
[2026-08-01 06:47:12] local.INFO: Processing buffer {"connection_id":146070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbae45510012d7d204005bfd490000600d528..."} 
[2026-08-01 06:47:12] local.INFO: Packet analysis {"connection_id":146070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbae4"} 
[2026-08-01 06:47:12] local.INFO: Extracted packet for processing {"connection_id":146070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbae4"} 
[2026-08-01 06:47:12] local.INFO: GPS Element Parsed {"raw_longitude":763174976,"raw_latitude":96457872,"longitude_deg":76.3174976,"latitude_deg":9.6457872,"altitude":6,"angle":213,"satellites":40,"speed":42,"hex_longitude":"2d7d2040","hex_latitude":"05bfd490","is_valid_coordinates":true} 
[2026-08-01 06:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100018176001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113363724747669504,"note":"Value kept but may cause issues"} 
[2026-08-01 06:47:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021835978225156096,"note":"Value kept but may cause issues"} 
[2026-08-01 06:47:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785546954000,"timestamp_ms":1785546954000,"timestamp_seconds":1785546954,"priority":1,"record_length":96,"hex_timestamp":"0000019fbae45510"} 
[2026-08-01 06:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:47: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-08-01 06:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-01 06:47:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06:47:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":146070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":146070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":146070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:47:12] 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-08-01 06:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100018176001,"66":13526,"10":206,"85":12288,"24":42,"16":113363724747669504,"45":9021835978225156096},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-08-01 06:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100018176001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:47:12] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-01 06:47:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 06:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113363724747669504,"km_value":113363724747669.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:47:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021835978225156096,"description":"Unknown IO ID 45"} 
[2026-08-01 06:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100018176001,"power":13526,"unknown_10":206,"unknown_85":12288,"ignition":42,"odometer":null,"unknown_45":9021835978225156096}} 
[2026-08-01 06:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":146070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576088,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:47:12] local.INFO: GPS data processed {"connection_id":146070,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:47:12] local.INFO: Acknowledgment sent {"connection_id":146070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:47:12] local.INFO: TCP Data received {"connection_id":146071,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146071,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:47:12] local.INFO: Processing buffer {"connection_id":146071,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:47:12] local.INFO: IMEI packet received {"connection_id":146071,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":146071,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:47:13] local.INFO: TCP Data received {"connection_id":146071,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbae47450012d7d104005bfb8e0000600c729..."} 
[2026-08-01 06:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbae47450012d7d104005bfb8e0000600c729..."} 
[2026-08-01 06:47:13] local.INFO: Processing buffer {"connection_id":146071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbae47450012d7d104005bfb8e0000600c729..."} 
[2026-08-01 06:47:13] local.INFO: Packet analysis {"connection_id":146071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbae4"} 
[2026-08-01 06:47:13] local.INFO: Extracted packet for processing {"connection_id":146071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbae4"} 
[2026-08-01 06:47:13] local.INFO: GPS Element Parsed {"raw_longitude":763170880,"raw_latitude":96450784,"longitude_deg":76.317088,"latitude_deg":9.6450784,"altitude":6,"angle":199,"satellites":41,"speed":38,"hex_longitude":"2d7d1040","hex_latitude":"05bfb8e0","is_valid_coordinates":true} 
[2026-08-01 06:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100020224001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113364124179628032,"note":"Value kept but may cause issues"} 
[2026-08-01 06:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016276847433125888,"note":"Value kept but may cause issues"} 
[2026-08-01 06:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785546962000,"timestamp_ms":1785546962000,"timestamp_seconds":1785546962,"priority":1,"record_length":96,"hex_timestamp":"0000019fbae47450"} 
[2026-08-01 06:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-01 06:47:13] 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-08-01 06:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":146071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":146071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":146071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:47:13] 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-08-01 06:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100020224001,"66":13580,"10":206,"85":12288,"24":38,"16":113364124179628032,"45":9016276847433125888},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-08-01 06:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100020224001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:47:13] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-01 06:47:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 06:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113364124179628032,"km_value":113364124179628.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016276847433125888,"description":"Unknown IO ID 45"} 
[2026-08-01 06:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100020224001,"power":13580,"unknown_10":206,"unknown_85":12288,"ignition":38,"odometer":null,"unknown_45":9016276847433125888}} 
[2026-08-01 06:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":146071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576089,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:47:13] local.INFO: GPS data processed {"connection_id":146071,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:47:13] local.INFO: Acknowledgment sent {"connection_id":146071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:47:34] local.INFO: TCP Data received {"connection_id":148399,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbae3e3c8012d698b40061b7940000b01502c..."} 
[2026-08-01 06:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbae3e3c8012d698b40061b7940000b01502c..."} 
[2026-08-01 06:47:34] local.INFO: Processing buffer {"connection_id":148399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbae3e3c8012d698b40061b7940000b01502c..."} 
[2026-08-01 06:47:34] local.INFO: Packet analysis {"connection_id":148399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbae3"} 
[2026-08-01 06:47:34] local.INFO: Extracted packet for processing {"connection_id":148399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbae3"} 
[2026-08-01 06:47:34] local.INFO: GPS Element Parsed {"raw_longitude":761891648,"raw_latitude":102463808,"longitude_deg":76.1891648,"latitude_deg":10.2463808,"altitude":11,"angle":336,"satellites":44,"speed":40,"hex_longitude":"2d698b40","hex_latitude":"061b7940","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100010240001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365547015909670912,"note":"Value kept but may cause issues"} 
[2026-08-01 06:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7609676021601017856,"note":"Value kept but may cause issues"} 
[2026-08-01 06:47:34] 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-08-01 06:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785546925000,"timestamp_ms":1785546925000,"timestamp_seconds":1785546925,"priority":1,"record_length":96,"hex_timestamp":"0000019fbae3e3c8"} 
[2026-08-01 06:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:47: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-08-01 06: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 06:47:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06: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-08-01 06:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100010240001,"66":27550,"54":206,"19":40704,"24":40,"16":365547015909670912,"45":7609676021601017856},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,19,24,16,45]} 
[2026-08-01 06:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100010240001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:47:34] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-08-01 06:47:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-08-01 06:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365547015909670912,"km_value":365547015909670.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7609676021601017856,"description":"Unknown IO ID 45"} 
[2026-08-01 06:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100010240001,"power":27550,"unknown_54":206,"unknown_19":40704,"ignition":40,"odometer":null,"unknown_45":7609676021601017856}} 
[2026-08-01 06:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":148399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:47:34] local.INFO: GPS data processed {"connection_id":148399,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:47:34] local.INFO: Acknowledgment sent {"connection_id":148399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:47:59] local.INFO: TCP Data received {"connection_id":146071,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbae59948012d7ccdc005be9808000300c429..."} 
[2026-08-01 06:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbae59948012d7ccdc005be9808000300c429..."} 
[2026-08-01 06:47:59] local.INFO: Processing buffer {"connection_id":146071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbae59948012d7ccdc005be9808000300c429..."} 
[2026-08-01 06:47:59] local.INFO: Packet analysis {"connection_id":146071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbae5"} 
[2026-08-01 06:47:59] local.INFO: Extracted packet for processing {"connection_id":146071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbae5"} 
[2026-08-01 06:47:59] local.INFO: GPS Element Parsed {"raw_longitude":763153856,"raw_latitude":96376840,"longitude_deg":76.3153856,"latitude_deg":9.637684,"altitude":3,"angle":196,"satellites":41,"speed":37,"hex_longitude":"2d7ccdc0","hex_latitude":"05be9808","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100038912001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113367847916273664,"note":"Value kept but may cause issues"} 
[2026-08-01 06:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8995166224161380352,"note":"Value kept but may cause issues"} 
[2026-08-01 06:47:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785547037000,"timestamp_ms":1785547037000,"timestamp_seconds":1785547037,"priority":1,"record_length":96,"hex_timestamp":"0000019fbae59948"} 
[2026-08-01 06:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:47: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-08-01 06: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-01 06:47:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06: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-08-01 06:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":146071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":146071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":146071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:47:59] 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-08-01 06:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100038912001,"66":13559,"25":206,"85":12288,"24":37,"16":113367847916273664,"45":8995166224161380352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-08-01 06:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100038912001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:47:59] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-01 06:47:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 06:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113367847916273664,"km_value":113367847916273.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8995166224161380352,"description":"Unknown IO ID 45"} 
[2026-08-01 06:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100038912001,"power":13559,"unknown_25":206,"unknown_85":12288,"ignition":37,"odometer":null,"unknown_45":8995166224161380352}} 
[2026-08-01 06:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":146071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576091,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:47:59] local.INFO: GPS data processed {"connection_id":146071,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:47:59] local.INFO: Acknowledgment sent {"connection_id":146071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:47:59] local.INFO: TCP Data received {"connection_id":146072,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:47:59] local.INFO: Processing buffer {"connection_id":146072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:47:59] local.INFO: IMEI packet received {"connection_id":146072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 06:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":146072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:48:01] local.INFO: TCP Data received {"connection_id":146072,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:48:01] local.INFO: Processing buffer {"connection_id":146072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:48:01] local.INFO: IMEI packet received {"connection_id":146072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":146072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:48:06] local.INFO: TCP Data received {"connection_id":148400,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148400,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:48:06] local.INFO: Processing buffer {"connection_id":148400,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:48:06] local.INFO: IMEI packet received {"connection_id":148400,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 06:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":148400,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:48:07] local.INFO: TCP Data received {"connection_id":146072,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:48:07] local.INFO: Processing buffer {"connection_id":146072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:48:07] local.INFO: IMEI packet received {"connection_id":146072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":146072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:48:07] local.INFO: TCP Data received {"connection_id":148400,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148400,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:48:07] local.INFO: Processing buffer {"connection_id":148400,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:48:07] local.INFO: IMEI packet received {"connection_id":148400,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":148400,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:48:08] local.INFO: TCP Data received {"connection_id":146072,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbae53b88012d68ff80061c8eb8000c014e2f..."} 
[2026-08-01 06:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbae53b88012d68ff80061c8eb8000c014e2f..."} 
[2026-08-01 06:48:08] local.INFO: Processing buffer {"connection_id":146072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbae53b88012d68ff80061c8eb8000c014e2f..."} 
[2026-08-01 06:48:08] local.INFO: Packet analysis {"connection_id":146072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbae5"} 
[2026-08-01 06:48:08] local.INFO: Extracted packet for processing {"connection_id":146072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbae5"} 
[2026-08-01 06:48:08] local.INFO: GPS Element Parsed {"raw_longitude":761855872,"raw_latitude":102534840,"longitude_deg":76.1855872,"latitude_deg":10.253484,"altitude":12,"angle":334,"satellites":47,"speed":44,"hex_longitude":"2d68ff80","hex_latitude":"061c8eb8","is_valid_coordinates":true} 
[2026-08-01 06:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100033024001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365550872790302720,"note":"Value kept but may cause issues"} 
[2026-08-01 06:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7570902843577366528,"note":"Value kept but may cause issues"} 
[2026-08-01 06:48:08] 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-08-01 06:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785547013000,"timestamp_ms":1785547013000,"timestamp_seconds":1785547013,"priority":1,"record_length":96,"hex_timestamp":"0000019fbae53b88"} 
[2026-08-01 06:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:48: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-08-01 06:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 06:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":3028,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":146072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":146072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":146072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100033024001,"66":27658,"55":206,"19":40704,"24":44,"16":365550872790302720,"45":7570902843577366528},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,19,24,16,45]} 
[2026-08-01 06:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100033024001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:48:08] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-08-01 06:48:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-08-01 06:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365550872790302720,"km_value":365550872790302.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":7570902843577366528,"description":"Unknown IO ID 45"} 
[2026-08-01 06:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100033024001,"power":27658,"unknown_55":206,"unknown_19":40704,"ignition":44,"odometer":null,"unknown_45":7570902843577366528}} 
[2026-08-01 06:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":146072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:48:08] local.INFO: GPS data processed {"connection_id":146072,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:48:08] local.INFO: Acknowledgment sent {"connection_id":146072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:48:10] local.INFO: TCP Data received {"connection_id":148400,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148400,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:48:10] local.INFO: Processing buffer {"connection_id":148400,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:48:10] local.INFO: IMEI packet received {"connection_id":148400,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":148400,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:48:10] local.INFO: TCP Data received {"connection_id":146072,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbae55eb0012d68ee40061cb170000c014e2f..."} 
[2026-08-01 06:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbae55eb0012d68ee40061cb170000c014e2f..."} 
[2026-08-01 06:48:10] local.INFO: Processing buffer {"connection_id":146072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbae55eb0012d68ee40061cb170000c014e2f..."} 
[2026-08-01 06:48:10] local.INFO: Packet analysis {"connection_id":146072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbae5"} 
[2026-08-01 06:48:10] local.INFO: Extracted packet for processing {"connection_id":146072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbae5"} 
[2026-08-01 06:48:10] local.INFO: GPS Element Parsed {"raw_longitude":761851456,"raw_latitude":102543728,"longitude_deg":76.1851456,"latitude_deg":10.2543728,"altitude":12,"angle":334,"satellites":47,"speed":43,"hex_longitude":"2d68ee40","hex_latitude":"061cb170","is_valid_coordinates":true} 
[2026-08-01 06:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100035328001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365551353826639872,"note":"Value kept but may cause issues"} 
[2026-08-01 06:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7565906662742996992,"note":"Value kept but may cause issues"} 
[2026-08-01 06:48:10] 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-08-01 06:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785547022000,"timestamp_ms":1785547022000,"timestamp_seconds":1785547022,"priority":1,"record_length":96,"hex_timestamp":"0000019fbae55eb0"} 
[2026-08-01 06:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:48: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-08-01 06:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 06:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100035328001,"66":27658,"55":206,"19":40704,"24":43,"16":365551353826639872,"45":7565906662742996992},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,19,24,16,45]} 
[2026-08-01 06:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100035328001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:48:10] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-08-01 06:48:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-08-01 06:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365551353826639872,"km_value":365551353826639.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":7565906662742996992,"description":"Unknown IO ID 45"} 
[2026-08-01 06:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100035328001,"power":27658,"unknown_55":206,"unknown_19":40704,"ignition":43,"odometer":null,"unknown_45":7565906662742996992}} 
[2026-08-01 06:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":146072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:48:10] local.INFO: GPS data processed {"connection_id":146072,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:48:10] local.INFO: Acknowledgment sent {"connection_id":146072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:48:13] local.INFO: TCP Data received {"connection_id":148400,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148400,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:48:13] local.INFO: Processing buffer {"connection_id":148400,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:48:13] local.INFO: IMEI packet received {"connection_id":148400,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":148400,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:48:13] local.INFO: TCP Data received {"connection_id":148400,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbae5bc70012d7cc08005be7328000300c32a..."} 
[2026-08-01 06:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbae5bc70012d7cc08005be7328000300c32a..."} 
[2026-08-01 06:48:13] local.INFO: Processing buffer {"connection_id":148400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbae5bc70012d7cc08005be7328000300c32a..."} 
[2026-08-01 06:48:13] local.INFO: Packet analysis {"connection_id":148400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbae5"} 
[2026-08-01 06:48:13] local.INFO: Extracted packet for processing {"connection_id":148400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbae5"} 
[2026-08-01 06:48:13] local.INFO: GPS Element Parsed {"raw_longitude":763150464,"raw_latitude":96367400,"longitude_deg":76.3150464,"latitude_deg":9.63674,"altitude":3,"angle":195,"satellites":42,"speed":49,"hex_longitude":"2d7cc080","hex_latitude":"05be7328","is_valid_coordinates":true} 
[2026-08-01 06:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:48:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100041472001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:48:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113368333247578112,"note":"Value kept but may cause issues"} 
[2026-08-01 06:48:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8993055161833752576,"note":"Value kept but may cause issues"} 
[2026-08-01 06:48:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:48:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785547046000,"timestamp_ms":1785547046000,"timestamp_seconds":1785547046,"priority":1,"record_length":96,"hex_timestamp":"0000019fbae5bc70"} 
[2026-08-01 06:48:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:48:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-01 06:48:13] 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-08-01 06:48:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:48:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:48:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:48:13] local.INFO: Teltonika packet parsed successfully {"connection_id":148400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:48:13] local.INFO: Passing IMEI to GPS processor {"connection_id":148400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:48:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":148400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:48:13] 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-08-01 06:48:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:48:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:48:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100041472001,"66":13656,"25":206,"85":12288,"24":49,"16":113368333247578112,"45":8993055161833752576},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-08-01 06:48:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:48:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:48:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100041472001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:48:13] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-01 06:48:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 06:48:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113368333247578112,"km_value":113368333247578.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:48:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8993055161833752576,"description":"Unknown IO ID 45"} 
[2026-08-01 06:48:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100041472001,"power":13656,"unknown_25":206,"unknown_85":12288,"ignition":49,"odometer":null,"unknown_45":8993055161833752576}} 
[2026-08-01 06:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":148400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576094,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:48:13] local.INFO: GPS data processed {"connection_id":148400,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:48:13] local.INFO: Acknowledgment sent {"connection_id":148400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:48:44] local.INFO: TCP Data received {"connection_id":146072,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbae581d8012d68dfc0061cd428000d01532f..."} 
[2026-08-01 06:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbae581d8012d68dfc0061cd428000d01532f..."} 
[2026-08-01 06:48:44] local.INFO: Processing buffer {"connection_id":146072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbae581d8012d68dfc0061cd428000d01532f..."} 
[2026-08-01 06:48:44] local.INFO: Packet analysis {"connection_id":146072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbae5"} 
[2026-08-01 06:48:44] local.INFO: Extracted packet for processing {"connection_id":146072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbae5"} 
[2026-08-01 06:48:44] local.INFO: GPS Element Parsed {"raw_longitude":761847744,"raw_latitude":102552616,"longitude_deg":76.1847744,"latitude_deg":10.2552616,"altitude":13,"angle":339,"satellites":47,"speed":40,"hex_longitude":"2d68dfc0","hex_latitude":"061cd428","is_valid_coordinates":true} 
[2026-08-01 06:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100037632001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365551817683107840,"note":"Value kept but may cause issues"} 
[2026-08-01 06:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7561051219397013504,"note":"Value kept but may cause issues"} 
[2026-08-01 06:48:44] 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-08-01 06:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785547031000,"timestamp_ms":1785547031000,"timestamp_seconds":1785547031,"priority":1,"record_length":96,"hex_timestamp":"0000019fbae581d8"} 
[2026-08-01 06:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:48: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-08-01 06:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 06:48:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06:48:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":146072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":146072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":146072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100037632001,"66":27604,"210":206,"19":40704,"24":40,"16":365551817683107840,"45":7561051219397013504},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,19,24,16,45]} 
[2026-08-01 06:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100037632001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:48:44] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-08-01 06:48:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-08-01 06:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365551817683107840,"km_value":365551817683107.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":7561051219397013504,"description":"Unknown IO ID 45"} 
[2026-08-01 06:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100037632001,"power":27604,"unknown_210":206,"unknown_19":40704,"ignition":40,"odometer":null,"unknown_45":7561051219397013504}} 
[2026-08-01 06:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":146072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:48:44] local.INFO: GPS data processed {"connection_id":146072,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:48:44] local.INFO: Acknowledgment sent {"connection_id":146072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:48:44] local.INFO: TCP Data received {"connection_id":148400,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbae6be40012d7c868005bd6bb0000700bb29..."} 
[2026-08-01 06:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbae6be40012d7c868005bd6bb0000700bb29..."} 
[2026-08-01 06:48:44] local.INFO: Processing buffer {"connection_id":148400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbae6be40012d7c868005bd6bb0000700bb29..."} 
[2026-08-01 06:48:44] local.INFO: Packet analysis {"connection_id":148400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbae6"} 
[2026-08-01 06:48:44] local.INFO: Extracted packet for processing {"connection_id":148400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbae6"} 
[2026-08-01 06:48:44] local.INFO: GPS Element Parsed {"raw_longitude":763135616,"raw_latitude":96299952,"longitude_deg":76.3135616,"latitude_deg":9.6299952,"altitude":7,"angle":187,"satellites":41,"speed":57,"hex_longitude":"2d7c8680","hex_latitude":"05bd6bb0","is_valid_coordinates":true} 
[2026-08-01 06:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100058880001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113371773516382208,"note":"Value kept but may cause issues"} 
[2026-08-01 06:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973563019679485952,"note":"Value kept but may cause issues"} 
[2026-08-01 06:48:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785547112000,"timestamp_ms":1785547112000,"timestamp_seconds":1785547112,"priority":1,"record_length":96,"hex_timestamp":"0000019fbae6be40"} 
[2026-08-01 06:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:48:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-01 06:48: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-08-01 06:48:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":148400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":148400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":148400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:48:44] 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-08-01 06:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100058880001,"66":13428,"195":206,"85":12544,"24":57,"16":113371773516382208,"45":8973563019679485952},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-08-01 06:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100058880001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:48:44] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-01 06:48:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-01 06:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113371773516382208,"km_value":113371773516382.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973563019679485952,"description":"Unknown IO ID 45"} 
[2026-08-01 06:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100058880001,"power":13428,"unknown_195":206,"unknown_85":12544,"ignition":57,"odometer":null,"unknown_45":8973563019679485952}} 
[2026-08-01 06:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":148400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576096,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:48:44] local.INFO: GPS data processed {"connection_id":148400,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:48:44] local.INFO: Acknowledgment sent {"connection_id":148400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:48:56] local.INFO: TCP Data received {"connection_id":147087,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:48:56] local.INFO: Processing buffer {"connection_id":147087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:48:56] local.INFO: IMEI packet received {"connection_id":147087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 06:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":147087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:48:58] local.INFO: TCP Data received {"connection_id":147087,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:48:58] local.INFO: Processing buffer {"connection_id":147087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:48:58] local.INFO: IMEI packet received {"connection_id":147087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":147087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:49:02] local.INFO: TCP Data received {"connection_id":147087,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:49:02] local.INFO: Processing buffer {"connection_id":147087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:49:02] local.INFO: IMEI packet received {"connection_id":147087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":147087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:49:05] local.INFO: TCP Data received {"connection_id":147087,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbae5a8e8012d68d440061cf898000f01592f..."} 
[2026-08-01 06:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbae5a8e8012d68d440061cf898000f01592f..."} 
[2026-08-01 06:49:05] local.INFO: Processing buffer {"connection_id":147087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbae5a8e8012d68d440061cf898000f01592f..."} 
[2026-08-01 06:49:05] local.INFO: Packet analysis {"connection_id":147087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbae5"} 
[2026-08-01 06:49:05] local.INFO: Extracted packet for processing {"connection_id":147087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbae5"} 
[2026-08-01 06:49:05] local.INFO: GPS Element Parsed {"raw_longitude":761844800,"raw_latitude":102561944,"longitude_deg":76.18448,"latitude_deg":10.2561944,"altitude":15,"angle":345,"satellites":47,"speed":37,"hex_longitude":"2d68d440","hex_latitude":"061cf898","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100039936001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365552290129510400,"note":"Value kept but may cause issues"} 
[2026-08-01 06:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7556969832236984320,"note":"Value kept but may cause issues"} 
[2026-08-01 06:49:05] 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-08-01 06:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785547041000,"timestamp_ms":1785547041000,"timestamp_seconds":1785547041,"priority":1,"record_length":96,"hex_timestamp":"0000019fbae5a8e8"} 
[2026-08-01 06:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-01 06:49:05] 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-08-01 06: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-08-01 06:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100039936001,"66":27615,"210":206,"19":40704,"24":37,"16":365552290129510400,"45":7556969832236984320},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,19,24,16,45]} 
[2026-08-01 06:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100039936001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:49:05] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-08-01 06:49:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-08-01 06:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365552290129510400,"km_value":365552290129510.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7556969832236984320,"description":"Unknown IO ID 45"} 
[2026-08-01 06:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100039936001,"power":27615,"unknown_210":206,"unknown_19":40704,"ignition":37,"odometer":null,"unknown_45":7556969832236984320}} 
[2026-08-01 06:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":147087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:49:05] local.INFO: GPS data processed {"connection_id":147087,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:49:05] local.INFO: Acknowledgment sent {"connection_id":147087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:49:07] local.INFO: TCP Data received {"connection_id":145878,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145878,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:49:07] local.INFO: Processing buffer {"connection_id":145878,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:49:07] local.INFO: IMEI packet received {"connection_id":145878,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 06:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":145878,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:49:10] local.INFO: TCP Data received {"connection_id":145878,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145878,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:49:10] local.INFO: Processing buffer {"connection_id":145878,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:49:10] local.INFO: IMEI packet received {"connection_id":145878,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":145878,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:49:12] local.INFO: TCP Data received {"connection_id":145878,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145878,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:49:12] local.INFO: Processing buffer {"connection_id":145878,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:49:12] local.INFO: IMEI packet received {"connection_id":145878,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":145878,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:49:13] local.INFO: TCP Data received {"connection_id":145878,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbae6e168012d7c804005bd4860000500c22a..."} 
[2026-08-01 06:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbae6e168012d7c804005bd4860000500c22a..."} 
[2026-08-01 06:49:13] local.INFO: Processing buffer {"connection_id":145878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbae6e168012d7c804005bd4860000500c22a..."} 
[2026-08-01 06:49:13] local.INFO: Packet analysis {"connection_id":145878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbae6"} 
[2026-08-01 06:49:13] local.INFO: Extracted packet for processing {"connection_id":145878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbae6"} 
[2026-08-01 06:49:13] local.INFO: GPS Element Parsed {"raw_longitude":763134016,"raw_latitude":96290912,"longitude_deg":76.3134016,"latitude_deg":9.6290912,"altitude":5,"angle":194,"satellites":42,"speed":18,"hex_longitude":"2d7c8040","hex_latitude":"05bd4860","is_valid_coordinates":true} 
[2026-08-01 06:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100060672001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113372220192980992,"note":"Value kept but may cause issues"} 
[2026-08-01 06:49:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973000069723435008,"note":"Value kept but may cause issues"} 
[2026-08-01 06:49:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785547121000,"timestamp_ms":1785547121000,"timestamp_seconds":1785547121,"priority":1,"record_length":96,"hex_timestamp":"0000019fbae6e168"} 
[2026-08-01 06:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:49:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-01 06:49:13] 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-08-01 06:49:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":145878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":145878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":145878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:49:13] 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-08-01 06:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100060672001,"66":13428,"195":206,"85":12544,"24":18,"16":113372220192980992,"45":8973000069723435008},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-08-01 06:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100060672001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:49:13] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-01 06:49:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-01 06:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113372220192980992,"km_value":113372220192980.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:49:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973000069723435008,"description":"Unknown IO ID 45"} 
[2026-08-01 06:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100060672001,"power":13428,"unknown_195":206,"unknown_85":12544,"ignition":18,"odometer":null,"unknown_45":8973000069723435008}} 
[2026-08-01 06:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":145878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576098,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:49:13] local.INFO: GPS data processed {"connection_id":145878,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:49:13] local.INFO: Acknowledgment sent {"connection_id":145878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:49:36] local.INFO: TCP Data received {"connection_id":147087,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbae5cff8012d68ca40061d1bf8001001582f..."} 
[2026-08-01 06:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbae5cff8012d68ca40061d1bf8001001582f..."} 
[2026-08-01 06:49:36] local.INFO: Processing buffer {"connection_id":147087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbae5cff8012d68ca40061d1bf8001001582f..."} 
[2026-08-01 06:49:36] local.INFO: Packet analysis {"connection_id":147087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbae5"} 
[2026-08-01 06:49:36] local.INFO: Extracted packet for processing {"connection_id":147087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbae5"} 
[2026-08-01 06:49:36] local.INFO: GPS Element Parsed {"raw_longitude":761842240,"raw_latitude":102571000,"longitude_deg":76.184224,"latitude_deg":10.2571,"altitude":16,"angle":344,"satellites":47,"speed":37,"hex_longitude":"2d68ca40","hex_latitude":"061d1bf8","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100042496001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365552745396043776,"note":"Value kept but may cause issues"} 
[2026-08-01 06:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7553732870007199744,"note":"Value kept but may cause issues"} 
[2026-08-01 06:49:36] 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-08-01 06:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785547051000,"timestamp_ms":1785547051000,"timestamp_seconds":1785547051,"priority":1,"record_length":96,"hex_timestamp":"0000019fbae5cff8"} 
[2026-08-01 06:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:49: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-08-01 06: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-01 06:49:36] 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-08-01 06: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-08-01 06:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100042496001,"66":27669,"210":206,"19":40704,"24":37,"16":365552745396043776,"45":7553732870007199744},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,19,24,16,45]} 
[2026-08-01 06:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100042496001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:49:37] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-08-01 06:49:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-08-01 06:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365552745396043776,"km_value":365552745396043.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7553732870007199744,"description":"Unknown IO ID 45"} 
[2026-08-01 06:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100042496001,"power":27669,"unknown_210":206,"unknown_19":40704,"ignition":37,"odometer":null,"unknown_45":7553732870007199744}} 
[2026-08-01 06:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":147087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:49:37] local.INFO: GPS data processed {"connection_id":147087,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:49:37] local.INFO: Acknowledgment sent {"connection_id":147087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:49:44] local.INFO: TCP Data received {"connection_id":145878,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbae6e550012d7c7f8005bd4720000400d22a..."} 
[2026-08-01 06:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbae6e550012d7c7f8005bd4720000400d22a..."} 
[2026-08-01 06:49:44] local.INFO: Processing buffer {"connection_id":145878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbae6e550012d7c7f8005bd4720000400d22a..."} 
[2026-08-01 06:49:44] local.INFO: Packet analysis {"connection_id":145878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbae6"} 
[2026-08-01 06:49:44] local.INFO: Extracted packet for processing {"connection_id":145878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbae6"} 
[2026-08-01 06:49:44] local.INFO: GPS Element Parsed {"raw_longitude":763133824,"raw_latitude":96290592,"longitude_deg":76.3133824,"latitude_deg":9.6290592,"altitude":4,"angle":210,"satellites":42,"speed":12,"hex_longitude":"2d7c7f80","hex_latitude":"05bd4720","is_valid_coordinates":true} 
[2026-08-01 06:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100062976001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113372237372850176,"note":"Value kept but may cause issues"} 
[2026-08-01 06:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971240851116679168,"note":"Value kept but may cause issues"} 
[2026-08-01 06:49:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785547122000,"timestamp_ms":1785547122000,"timestamp_seconds":1785547122,"priority":1,"record_length":96,"hex_timestamp":"0000019fbae6e550"} 
[2026-08-01 06:49:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:49:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-01 06:49:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06:49:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:49:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":145878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":145878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":145878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:49:44] 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-08-01 06:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100062976001,"66":13472,"195":206,"85":12544,"24":12,"16":113372237372850176,"45":8971240851116679168},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-08-01 06:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100062976001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:49:44] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-01 06:49:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-01 06:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113372237372850176,"km_value":113372237372850.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971240851116679168,"description":"Unknown IO ID 45"} 
[2026-08-01 06:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100062976001,"power":13472,"unknown_195":206,"unknown_85":12544,"ignition":12,"odometer":null,"unknown_45":8971240851116679168}} 
[2026-08-01 06:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":145878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576100,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:49:44] local.INFO: GPS data processed {"connection_id":145878,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:49:44] local.INFO: Acknowledgment sent {"connection_id":145878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:49:56] local.INFO: TCP Data received {"connection_id":148401,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:49:56] local.INFO: Processing buffer {"connection_id":148401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:49:56] local.INFO: IMEI packet received {"connection_id":148401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 06:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":148401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:50:01] local.INFO: TCP Data received {"connection_id":148401,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:50:01] local.INFO: Processing buffer {"connection_id":148401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:50:01] local.INFO: IMEI packet received {"connection_id":148401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":148401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:50:02] local.INFO: TCP Data received {"connection_id":148401,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:50:02] local.INFO: Processing buffer {"connection_id":148401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:50:02] local.INFO: IMEI packet received {"connection_id":148401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":148401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:50:04] local.INFO: TCP Data received {"connection_id":148401,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbae71fe8012d682180061e7ec8000901462e..."} 
[2026-08-01 06:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbae71fe8012d682180061e7ec8000901462e..."} 
[2026-08-01 06:50:04] local.INFO: Processing buffer {"connection_id":148401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbae71fe8012d682180061e7ec8000901462e..."} 
[2026-08-01 06:50:04] local.INFO: Packet analysis {"connection_id":148401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbae7"} 
[2026-08-01 06:50:04] local.INFO: Extracted packet for processing {"connection_id":148401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbae7"} 
[2026-08-01 06:50:04] local.INFO: GPS Element Parsed {"raw_longitude":761799040,"raw_latitude":102661832,"longitude_deg":76.179904,"latitude_deg":10.2661832,"altitude":9,"angle":326,"satellites":46,"speed":20,"hex_longitude":"2d682180","hex_latitude":"061e7ec8","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100064512001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365557645953728512,"note":"Value kept but may cause issues"} 
[2026-08-01 06:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7506093230222714880,"note":"Value kept but may cause issues"} 
[2026-08-01 06:50:04] 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-08-01 06:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785547137000,"timestamp_ms":1785547137000,"timestamp_seconds":1785547137,"priority":1,"record_length":96,"hex_timestamp":"0000019fbae71fe8"} 
[2026-08-01 06:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-01 06:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":148401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":148401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":148401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100064512001,"66":27691,"209":206,"19":40704,"24":20,"16":365557645953728512,"45":7506093230222714880},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,19,24,16,45]} 
[2026-08-01 06:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100064512001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:50:04] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-01 06:50:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-08-01 06:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365557645953728512,"km_value":365557645953728.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7506093230222714880,"description":"Unknown IO ID 45"} 
[2026-08-01 06:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100064512001,"power":27691,"unknown_209":206,"unknown_19":40704,"ignition":20,"odometer":null,"unknown_45":7506093230222714880}} 
[2026-08-01 06:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":148401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:50:04] local.INFO: GPS data processed {"connection_id":148401,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:50:04] local.INFO: Acknowledgment sent {"connection_id":148401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:50:07] local.INFO: TCP Data received {"connection_id":148401,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbae72ba0012d681e80061e8470000901522f..."} 
[2026-08-01 06:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbae72ba0012d681e80061e8470000901522f..."} 
[2026-08-01 06:50:07] local.INFO: Processing buffer {"connection_id":148401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbae72ba0012d681e80061e8470000901522f..."} 
[2026-08-01 06:50:07] local.INFO: Packet analysis {"connection_id":148401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbae7"} 
[2026-08-01 06:50:07] local.INFO: Extracted packet for processing {"connection_id":148401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbae7"} 
[2026-08-01 06:50:07] local.INFO: GPS Element Parsed {"raw_longitude":761798272,"raw_latitude":102663280,"longitude_deg":76.1798272,"latitude_deg":10.266328,"altitude":9,"angle":338,"satellites":47,"speed":22,"hex_longitude":"2d681e80","hex_latitude":"061e8470","is_valid_coordinates":true} 
[2026-08-01 06:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100067072001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365557723263139840,"note":"Value kept but may cause issues"} 
[2026-08-01 06:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7503419217945741312,"note":"Value kept but may cause issues"} 
[2026-08-01 06:50:07] 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-08-01 06:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785547140000,"timestamp_ms":1785547140000,"timestamp_seconds":1785547140,"priority":1,"record_length":96,"hex_timestamp":"0000019fbae72ba0"} 
[2026-08-01 06:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:50: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-08-01 06:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-01 06:50: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-08-01 06:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":148401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":148401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":148401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100067072001,"66":27571,"209":206,"19":40704,"24":22,"16":365557723263139840,"45":7503419217945741312},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,19,24,16,45]} 
[2026-08-01 06:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100067072001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:50:07] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-01 06:50:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-08-01 06:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365557723263139840,"km_value":365557723263139.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":7503419217945741312,"description":"Unknown IO ID 45"} 
[2026-08-01 06:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100067072001,"power":27571,"unknown_209":206,"unknown_19":40704,"ignition":22,"odometer":null,"unknown_45":7503419217945741312}} 
[2026-08-01 06:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":148401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:50:07] local.INFO: GPS data processed {"connection_id":148401,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:50:07] local.INFO: Acknowledgment sent {"connection_id":148401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:50:07] local.INFO: TCP Data received {"connection_id":146073,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146073,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:50:07] local.INFO: Processing buffer {"connection_id":146073,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:50:07] local.INFO: IMEI packet received {"connection_id":146073,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 06:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":146073,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:50:12] local.INFO: TCP Data received {"connection_id":146073,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146073,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:50:12] local.INFO: Processing buffer {"connection_id":146073,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:50:12] local.INFO: IMEI packet received {"connection_id":146073,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":146073,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:50:13] local.INFO: TCP Data received {"connection_id":146073,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbae78d48012d7c120005bd2be00006015d2a..."} 
[2026-08-01 06:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbae78d48012d7c120005bd2be00006015d2a..."} 
[2026-08-01 06:50:13] local.INFO: Processing buffer {"connection_id":146073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbae78d48012d7c120005bd2be00006015d2a..."} 
[2026-08-01 06:50:13] local.INFO: Packet analysis {"connection_id":146073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbae7"} 
[2026-08-01 06:50:13] local.INFO: Extracted packet for processing {"connection_id":146073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbae7"} 
[2026-08-01 06:50:13] local.INFO: GPS Element Parsed {"raw_longitude":763105792,"raw_latitude":96283616,"longitude_deg":76.3105792,"latitude_deg":9.6283616,"altitude":6,"angle":349,"satellites":42,"speed":9,"hex_longitude":"2d7c1200","hex_latitude":"05bd2be0","is_valid_coordinates":true} 
[2026-08-01 06:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:50:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100072960001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:50:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113373667596959744,"note":"Value kept but may cause issues"} 
[2026-08-01 06:50:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8940419341164855296,"note":"Value kept but may cause issues"} 
[2026-08-01 06:50:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:50:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785547165000,"timestamp_ms":1785547165000,"timestamp_seconds":1785547165,"priority":1,"record_length":96,"hex_timestamp":"0000019fbae78d48"} 
[2026-08-01 06:50:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:50: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-08-01 06:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-01 06:50:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06:50:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:50:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:50:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:50:13] local.INFO: Teltonika packet parsed successfully {"connection_id":146073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:50:13] local.INFO: Passing IMEI to GPS processor {"connection_id":146073,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:50:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":146073,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:50:13] 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-08-01 06:50:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:50:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:50:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100072960001,"66":13656,"197":206,"85":12544,"24":9,"16":113373667596959744,"45":8940419341164855296},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-01 06:50:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:50:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:50:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100072960001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:50:13] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-01 06:50:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-01 06:50:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113373667596959744,"km_value":113373667596959.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:50:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8940419341164855296,"description":"Unknown IO ID 45"} 
[2026-08-01 06:50:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100072960001,"power":13656,"unknown_197":206,"unknown_85":12544,"ignition":9,"odometer":null,"unknown_45":8940419341164855296}} 
[2026-08-01 06:50:13] local.INFO: DEBUG: GPS processor result {"connection_id":146073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576103,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:50:13] local.INFO: GPS data processed {"connection_id":146073,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:50:13] local.INFO: Acknowledgment sent {"connection_id":146073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:50:40] local.INFO: TCP Data received {"connection_id":148401,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbae75e68012d680f00061ea6900009014b2e..."} 
[2026-08-01 06:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbae75e68012d680f00061ea6900009014b2e..."} 
[2026-08-01 06:50:40] local.INFO: Processing buffer {"connection_id":148401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbae75e68012d680f00061ea6900009014b2e..."} 
[2026-08-01 06:50:40] local.INFO: Packet analysis {"connection_id":148401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbae7"} 
[2026-08-01 06:50:40] local.INFO: Extracted packet for processing {"connection_id":148401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbae7"} 
[2026-08-01 06:50:40] local.INFO: GPS Element Parsed {"raw_longitude":761794304,"raw_latitude":102672016,"longitude_deg":76.1794304,"latitude_deg":10.2672016,"altitude":9,"angle":331,"satellites":46,"speed":35,"hex_longitude":"2d680f00","hex_latitude":"061ea690","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100067840001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365558191414575104,"note":"Value kept but may cause issues"} 
[2026-08-01 06:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7502574793015980032,"note":"Value kept but may cause issues"} 
[2026-08-01 06:50:40] 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-08-01 06:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785547153000,"timestamp_ms":1785547153000,"timestamp_seconds":1785547153,"priority":1,"record_length":96,"hex_timestamp":"0000019fbae75e68"} 
[2026-08-01 06:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:50: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-08-01 06: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-01 06:50:40] 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-08-01 06: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-08-01 06:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":148401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":148401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":148401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100067840001,"66":27745,"209":206,"19":40704,"24":35,"16":365558191414575104,"45":7502574793015980032},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,19,24,16,45]} 
[2026-08-01 06:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100067840001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:50:40] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-01 06:50:40] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-08-01 06:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365558191414575104,"km_value":365558191414575.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":7502574793015980032,"description":"Unknown IO ID 45"} 
[2026-08-01 06:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100067840001,"power":27745,"unknown_209":206,"unknown_19":40704,"ignition":35,"odometer":null,"unknown_45":7502574793015980032}} 
[2026-08-01 06:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":148401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:50:40] local.INFO: GPS data processed {"connection_id":148401,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:50:40] local.INFO: Acknowledgment sent {"connection_id":148401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:50:44] local.INFO: TCP Data received {"connection_id":146073,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbae7df50012d7c0dc005bd3ea8000401582a..."} 
[2026-08-01 06:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbae7df50012d7c0dc005bd3ea8000401582a..."} 
[2026-08-01 06:50:44] local.INFO: Processing buffer {"connection_id":146073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbae7df50012d7c0dc005bd3ea8000401582a..."} 
[2026-08-01 06:50:44] local.INFO: Packet analysis {"connection_id":146073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbae7"} 
[2026-08-01 06:50:44] local.INFO: Extracted packet for processing {"connection_id":146073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbae7"} 
[2026-08-01 06:50:44] local.INFO: GPS Element Parsed {"raw_longitude":763104704,"raw_latitude":96288424,"longitude_deg":76.3104704,"latitude_deg":9.6288424,"altitude":4,"angle":344,"satellites":42,"speed":12,"hex_longitude":"2d7c0dc0","hex_latitude":"05bd3ea8","is_valid_coordinates":true} 
[2026-08-01 06:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:50:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100074240001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:50:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113373912410095616,"note":"Value kept but may cause issues"} 
[2026-08-01 06:50:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8940208234932461568,"note":"Value kept but may cause issues"} 
[2026-08-01 06:50:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:50:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785547186000,"timestamp_ms":1785547186000,"timestamp_seconds":1785547186,"priority":1,"record_length":96,"hex_timestamp":"0000019fbae7df50"} 
[2026-08-01 06:50:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:50:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-01 06:50:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06:50:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:50:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:50:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:50:44] local.INFO: Teltonika packet parsed successfully {"connection_id":146073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:50:44] local.INFO: Passing IMEI to GPS processor {"connection_id":146073,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:50:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":146073,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:50:44] 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-08-01 06:50:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:50:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:50:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100074240001,"66":13678,"197":206,"85":12544,"24":12,"16":113373912410095616,"45":8940208234932461568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-01 06:50:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:50:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:50:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100074240001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:50:44] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-01 06:50:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-01 06:50:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113373912410095616,"km_value":113373912410095.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:50:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8940208234932461568,"description":"Unknown IO ID 45"} 
[2026-08-01 06:50:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100074240001,"power":13678,"unknown_197":206,"unknown_85":12544,"ignition":12,"odometer":null,"unknown_45":8940208234932461568}} 
[2026-08-01 06:50:44] local.INFO: DEBUG: GPS processor result {"connection_id":146073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576105,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:50:44] local.INFO: GPS data processed {"connection_id":146073,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:50:44] local.INFO: Acknowledgment sent {"connection_id":146073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:50:56] local.INFO: TCP Data received {"connection_id":145879,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:50:56] local.INFO: Processing buffer {"connection_id":145879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:50:56] local.INFO: IMEI packet received {"connection_id":145879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 06:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":145879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:51:01] local.INFO: TCP Data received {"connection_id":145879,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:51:01] local.INFO: Processing buffer {"connection_id":145879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:51:01] local.INFO: IMEI packet received {"connection_id":145879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":145879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:51:03] local.INFO: TCP Data received {"connection_id":145879,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbae78190012d67fc80061ec4c8000a01472d..."} 
[2026-08-01 06:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbae78190012d67fc80061ec4c8000a01472d..."} 
[2026-08-01 06:51:03] local.INFO: Processing buffer {"connection_id":145879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbae78190012d67fc80061ec4c8000a01472d..."} 
[2026-08-01 06:51:03] local.INFO: Packet analysis {"connection_id":145879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbae7"} 
[2026-08-01 06:51:03] local.INFO: Extracted packet for processing {"connection_id":145879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbae7"} 
[2026-08-01 06:51:03] local.INFO: GPS Element Parsed {"raw_longitude":761789568,"raw_latitude":102679752,"longitude_deg":76.1789568,"latitude_deg":10.2679752,"altitude":10,"angle":327,"satellites":45,"speed":42,"hex_longitude":"2d67fc80","hex_latitude":"061ec4c8","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100071168001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365558629501239296,"note":"Value kept but may cause issues"} 
[2026-08-01 06:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7498211930879201280,"note":"Value kept but may cause issues"} 
[2026-08-01 06:51:03] 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-08-01 06:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785547162000,"timestamp_ms":1785547162000,"timestamp_seconds":1785547162,"priority":1,"record_length":96,"hex_timestamp":"0000019fbae78190"} 
[2026-08-01 06:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 06:51: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-08-01 06: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-08-01 06:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":145879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":145879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":145879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100071168001,"66":27604,"209":206,"19":40704,"24":42,"16":365558629501239296,"45":7498211930879201280},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,19,24,16,45]} 
[2026-08-01 06:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100071168001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:51:03] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-01 06:51:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-08-01 06:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365558629501239296,"km_value":365558629501239.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7498211930879201280,"description":"Unknown IO ID 45"} 
[2026-08-01 06:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100071168001,"power":27604,"unknown_209":206,"unknown_19":40704,"ignition":42,"odometer":null,"unknown_45":7498211930879201280}} 
[2026-08-01 06:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":145879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:51:03] local.INFO: GPS data processed {"connection_id":145879,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:51:03] local.INFO: Acknowledgment sent {"connection_id":145879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:51:07] local.INFO: TCP Data received {"connection_id":146074,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146074,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:51:07] local.INFO: Processing buffer {"connection_id":146074,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:51:07] local.INFO: IMEI packet received {"connection_id":146074,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 06:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":146074,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:51:12] local.INFO: TCP Data received {"connection_id":146074,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146074,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:51:12] local.INFO: Processing buffer {"connection_id":146074,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:51:12] local.INFO: IMEI packet received {"connection_id":146074,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:51:12] local.INFO: IMEI acknowledgment sent {"connection_id":146074,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:51:13] local.INFO: TCP Data received {"connection_id":146074,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbae7eb08012d7c0c8005bd41b00004014a2a..."} 
[2026-08-01 06:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbae7eb08012d7c0c8005bd41b00004014a2a..."} 
[2026-08-01 06:51:13] local.INFO: Processing buffer {"connection_id":146074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbae7eb08012d7c0c8005bd41b00004014a2a..."} 
[2026-08-01 06:51:13] local.INFO: Packet analysis {"connection_id":146074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbae7"} 
[2026-08-01 06:51:13] local.INFO: Extracted packet for processing {"connection_id":146074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbae7"} 
[2026-08-01 06:51:13] local.INFO: GPS Element Parsed {"raw_longitude":763104384,"raw_latitude":96289200,"longitude_deg":76.3104384,"latitude_deg":9.62892,"altitude":4,"angle":330,"satellites":42,"speed":10,"hex_longitude":"2d7c0c80","hex_latitude":"05bd41b0","is_valid_coordinates":true} 
[2026-08-01 06:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100079616001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113373951064801280,"note":"Value kept but may cause issues"} 
[2026-08-01 06:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939011966282672128,"note":"Value kept but may cause issues"} 
[2026-08-01 06:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785547189000,"timestamp_ms":1785547189000,"timestamp_seconds":1785547189,"priority":1,"record_length":96,"hex_timestamp":"0000019fbae7eb08"} 
[2026-08-01 06:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:51:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-01 06:51:13] 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-08-01 06:51:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":146074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":146074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":146074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:51:13] 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-08-01 06:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100079616001,"66":13624,"197":206,"85":12544,"24":10,"16":113373951064801280,"45":8939011966282672128},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-01 06:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100079616001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:51:13] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-01 06:51:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-01 06:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113373951064801280,"km_value":113373951064801.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939011966282672128,"description":"Unknown IO ID 45"} 
[2026-08-01 06:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100079616001,"power":13624,"unknown_197":206,"unknown_85":12544,"ignition":10,"odometer":null,"unknown_45":8939011966282672128}} 
[2026-08-01 06:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":146074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576107,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:51:13] local.INFO: GPS data processed {"connection_id":146074,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:51:13] local.INFO: Acknowledgment sent {"connection_id":146074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:51:35] local.INFO: TCP Data received {"connection_id":145879,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbae7a4b8012d67e740061ee2d8000e01442e..."} 
[2026-08-01 06:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbae7a4b8012d67e740061ee2d8000e01442e..."} 
[2026-08-01 06:51:35] local.INFO: Processing buffer {"connection_id":145879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbae7a4b8012d67e740061ee2d8000e01442e..."} 
[2026-08-01 06:51:35] local.INFO: Packet analysis {"connection_id":145879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbae7"} 
[2026-08-01 06:51:35] local.INFO: Extracted packet for processing {"connection_id":145879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbae7"} 
[2026-08-01 06:51:35] local.INFO: GPS Element Parsed {"raw_longitude":761784128,"raw_latitude":102687448,"longitude_deg":76.1784128,"latitude_deg":10.2687448,"altitude":14,"angle":324,"satellites":46,"speed":40,"hex_longitude":"2d67e740","hex_latitude":"061ee2d8","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100073472001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365559080472805376,"note":"Value kept but may cause issues"} 
[2026-08-01 06:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7493004643812034560,"note":"Value kept but may cause issues"} 
[2026-08-01 06:51:35] 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-08-01 06:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785547171000,"timestamp_ms":1785547171000,"timestamp_seconds":1785547171,"priority":1,"record_length":96,"hex_timestamp":"0000019fbae7a4b8"} 
[2026-08-01 06:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:51: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-08-01 06: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-01 06:51: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-08-01 06: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-08-01 06:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":145879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":145879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":145879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100073472001,"66":27745,"209":206,"19":40704,"24":40,"16":365559080472805376,"45":7493004643812034560},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,19,24,16,45]} 
[2026-08-01 06:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100073472001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:51:35] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-01 06:51:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-08-01 06:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365559080472805376,"km_value":365559080472805.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":7493004643812034560,"description":"Unknown IO ID 45"} 
[2026-08-01 06:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100073472001,"power":27745,"unknown_209":206,"unknown_19":40704,"ignition":40,"odometer":null,"unknown_45":7493004643812034560}} 
[2026-08-01 06:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":145879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:51:35] local.INFO: GPS data processed {"connection_id":145879,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:51:35] local.INFO: Acknowledgment sent {"connection_id":145879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:51:44] local.INFO: TCP Data received {"connection_id":146074,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbae80278012d7c0a0005bd47580003015d29..."} 
[2026-08-01 06:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbae80278012d7c0a0005bd47580003015d29..."} 
[2026-08-01 06:51:44] local.INFO: Processing buffer {"connection_id":146074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbae80278012d7c0a0005bd47580003015d29..."} 
[2026-08-01 06:51:44] local.INFO: Packet analysis {"connection_id":146074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbae8"} 
[2026-08-01 06:51:44] local.INFO: Extracted packet for processing {"connection_id":146074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbae8"} 
[2026-08-01 06:51:44] local.INFO: GPS Element Parsed {"raw_longitude":763103744,"raw_latitude":96290648,"longitude_deg":76.3103744,"latitude_deg":9.6290648,"altitude":3,"angle":349,"satellites":41,"speed":14,"hex_longitude":"2d7c0a00","hex_latitude":"05bd4758","is_valid_coordinates":true} 
[2026-08-01 06:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100080384001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113374028374212608,"note":"Value kept but may cause issues"} 
[2026-08-01 06:51:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938660122561982464,"note":"Value kept but may cause issues"} 
[2026-08-01 06:51:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785547195000,"timestamp_ms":1785547195000,"timestamp_seconds":1785547195,"priority":1,"record_length":96,"hex_timestamp":"0000019fbae80278"} 
[2026-08-01 06:51:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:51:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-01 06:51:44] 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-08-01 06:51:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:51:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":146074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":146074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":146074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:51:44] 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-08-01 06:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100080384001,"66":13396,"197":206,"85":12544,"24":14,"16":113374028374212608,"45":8938660122561982464},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-01 06:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100080384001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:51:44] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-01 06:51:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-01 06:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113374028374212608,"km_value":113374028374212.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:51:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938660122561982464,"description":"Unknown IO ID 45"} 
[2026-08-01 06:51:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100080384001,"power":13396,"unknown_197":206,"unknown_85":12544,"ignition":14,"odometer":null,"unknown_45":8938660122561982464}} 
[2026-08-01 06:51:44] local.INFO: DEBUG: GPS processor result {"connection_id":146074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576109,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:51:44] local.INFO: GPS data processed {"connection_id":146074,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:51:44] local.INFO: Acknowledgment sent {"connection_id":146074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:52:02] local.INFO: TCP Data received {"connection_id":148402,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:52:02] local.INFO: Processing buffer {"connection_id":148402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:52:02] local.INFO: IMEI packet received {"connection_id":148402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 06:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":148402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:52:02] local.INFO: TCP Data received {"connection_id":148402,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:52:02] local.INFO: Processing buffer {"connection_id":148402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:52:02] local.INFO: IMEI packet received {"connection_id":148402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":148402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:52:03] local.INFO: TCP Data received {"connection_id":148402,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbae90830012d676f8006205c30000d015c2b..."} 
[2026-08-01 06:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbae90830012d676f8006205c30000d015c2b..."} 
[2026-08-01 06:52:03] local.INFO: Processing buffer {"connection_id":148402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbae90830012d676f8006205c30000d015c2b..."} 
[2026-08-01 06:52:03] local.INFO: Packet analysis {"connection_id":148402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbae9"} 
[2026-08-01 06:52:03] local.INFO: Extracted packet for processing {"connection_id":148402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbae9"} 
[2026-08-01 06:52:03] local.INFO: GPS Element Parsed {"raw_longitude":761753472,"raw_latitude":102784048,"longitude_deg":76.1753472,"latitude_deg":10.2784048,"altitude":13,"angle":348,"satellites":43,"speed":48,"hex_longitude":"2d676f80","hex_latitude":"06205c30","is_valid_coordinates":true} 
[2026-08-01 06:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100097024001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365564045454999552,"note":"Value kept but may cause issues"} 
[2026-08-01 06:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7455427734445443072,"note":"Value kept but may cause issues"} 
[2026-08-01 06:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785547262000,"timestamp_ms":1785547262000,"timestamp_seconds":1785547262,"priority":1,"record_length":96,"hex_timestamp":"0000019fbae90830"} 
[2026-08-01 06:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:52: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-08-01 06:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 06:52: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-08-01 06:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100097024001,"66":27713,"237":206,"19":40704,"24":48,"16":365564045454999552,"45":7455427734445443072},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,19,24,16,45]} 
[2026-08-01 06:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100097024001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:52:03] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-01 06:52:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-08-01 06:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365564045454999552,"km_value":365564045454999.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7455427734445443072,"description":"Unknown IO ID 45"} 
[2026-08-01 06:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100097024001,"power":27713,"unknown_237":206,"unknown_19":40704,"ignition":48,"odometer":null,"unknown_45":7455427734445443072}} 
[2026-08-01 06:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":148402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:52:03] local.INFO: GPS data processed {"connection_id":148402,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:52:03] local.INFO: Acknowledgment sent {"connection_id":148402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:52:12] local.INFO: TCP Data received {"connection_id":148403,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148403,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:52:12] local.INFO: Processing buffer {"connection_id":148403,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:52:12] local.INFO: IMEI packet received {"connection_id":148403,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 06:52:12] local.INFO: IMEI acknowledgment sent {"connection_id":148403,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:52:13] local.INFO: TCP Data received {"connection_id":148402,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbae92770012d676780062082d8000a015b2c..."} 
[2026-08-01 06:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbae92770012d676780062082d8000a015b2c..."} 
[2026-08-01 06:52:13] local.INFO: Processing buffer {"connection_id":148402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbae92770012d676780062082d8000a015b2c..."} 
[2026-08-01 06:52:13] local.INFO: Packet analysis {"connection_id":148402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbae9"} 
[2026-08-01 06:52:13] local.INFO: Extracted packet for processing {"connection_id":148402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbae9"} 
[2026-08-01 06:52:13] local.INFO: GPS Element Parsed {"raw_longitude":761751424,"raw_latitude":102793944,"longitude_deg":76.1751424,"latitude_deg":10.2793944,"altitude":10,"angle":347,"satellites":44,"speed":51,"hex_longitude":"2d676780","hex_latitude":"062082d8","is_valid_coordinates":true} 
[2026-08-01 06:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:52:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100099072001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:52:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365564535081271296,"note":"Value kept but may cause issues"} 
[2026-08-01 06:52:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7453316672122531840,"note":"Value kept but may cause issues"} 
[2026-08-01 06:52:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:52:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785547270000,"timestamp_ms":1785547270000,"timestamp_seconds":1785547270,"priority":1,"record_length":96,"hex_timestamp":"0000019fbae92770"} 
[2026-08-01 06:52:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:52:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 06:52:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06:52:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:52:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:52:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:52:13] local.INFO: Teltonika packet parsed successfully {"connection_id":148402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:52:13] local.INFO: Passing IMEI to GPS processor {"connection_id":148402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:52:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":148402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:52:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:52:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:52:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:52:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100099072001,"66":27658,"237":206,"19":40704,"24":51,"16":365564535081271296,"45":7453316672122531840},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,19,24,16,45]} 
[2026-08-01 06:52:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:52:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:52:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100099072001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:52:13] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-01 06:52:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-08-01 06:52:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365564535081271296,"km_value":365564535081271.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:52:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":7453316672122531840,"description":"Unknown IO ID 45"} 
[2026-08-01 06:52:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100099072001,"power":27658,"unknown_237":206,"unknown_19":40704,"ignition":51,"odometer":null,"unknown_45":7453316672122531840}} 
[2026-08-01 06:52:13] local.INFO: DEBUG: GPS processor result {"connection_id":148402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:52:13] local.INFO: GPS data processed {"connection_id":148402,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:52:13] local.INFO: Acknowledgment sent {"connection_id":148402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:52:17] local.INFO: TCP Data received {"connection_id":148403,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148403,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:52:17] local.INFO: Processing buffer {"connection_id":148403,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:52:17] local.INFO: IMEI packet received {"connection_id":148403,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":148403,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:52:21] local.INFO: TCP Data received {"connection_id":148403,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbae80660012d7c0a0005bd48c0000300042a..."} 
[2026-08-01 06:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbae80660012d7c0a0005bd48c0000300042a..."} 
[2026-08-01 06:52:21] local.INFO: Processing buffer {"connection_id":148403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbae80660012d7c0a0005bd48c0000300042a..."} 
[2026-08-01 06:52:21] local.INFO: Packet analysis {"connection_id":148403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbae8"} 
[2026-08-01 06:52:21] local.INFO: Extracted packet for processing {"connection_id":148403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbae8"} 
[2026-08-01 06:52:21] local.INFO: GPS Element Parsed {"raw_longitude":763103744,"raw_latitude":96291008,"longitude_deg":76.3103744,"latitude_deg":9.6291008,"altitude":3,"angle":4,"satellites":42,"speed":15,"hex_longitude":"2d7c0a00","hex_latitude":"05bd48c0","is_valid_coordinates":true} 
[2026-08-01 06:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100081920001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113374045554081792,"note":"Value kept but may cause issues"} 
[2026-08-01 06:52:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937956435120576512,"note":"Value kept but may cause issues"} 
[2026-08-01 06:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785547196000,"timestamp_ms":1785547196000,"timestamp_seconds":1785547196,"priority":1,"record_length":96,"hex_timestamp":"0000019fbae80660"} 
[2026-08-01 06:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:52: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-08-01 06:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-01 06:52:21] 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-08-01 06:52:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:52:21] 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-08-01 06:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100081920001,"66":13396,"197":206,"85":12544,"24":15,"16":113374045554081792,"45":8937956435120576512},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-01 06:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100081920001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:52:21] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-01 06:52:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-01 06:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113374045554081792,"km_value":113374045554081.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:52:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937956435120576512,"description":"Unknown IO ID 45"} 
[2026-08-01 06:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100081920001,"power":13396,"unknown_197":206,"unknown_85":12544,"ignition":15,"odometer":null,"unknown_45":8937956435120576512}} 
[2026-08-01 06:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":148403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576112,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:52:21] local.INFO: GPS data processed {"connection_id":148403,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:52:21] local.INFO: Acknowledgment sent {"connection_id":148403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:52:26] local.INFO: TCP Data received {"connection_id":148403,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbae80a48012d7c0a4005bd4a200003001b28..."} 
[2026-08-01 06:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbae80a48012d7c0a4005bd4a200003001b28..."} 
[2026-08-01 06:52:26] local.INFO: Processing buffer {"connection_id":148403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbae80a48012d7c0a4005bd4a200003001b28..."} 
[2026-08-01 06:52:26] local.INFO: Packet analysis {"connection_id":148403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbae8"} 
[2026-08-01 06:52:26] local.INFO: Extracted packet for processing {"connection_id":148403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbae8"} 
[2026-08-01 06:52:26] local.INFO: GPS Element Parsed {"raw_longitude":763103808,"raw_latitude":96291360,"longitude_deg":76.3103808,"latitude_deg":9.629136,"altitude":3,"angle":27,"satellites":40,"speed":14,"hex_longitude":"2d7c0a40","hex_latitude":"05bd4a20","is_valid_coordinates":true} 
[2026-08-01 06:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100082176001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113374062733950976,"note":"Value kept but may cause issues"} 
[2026-08-01 06:52:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937956435120668672,"note":"Value kept but may cause issues"} 
[2026-08-01 06:52:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785547197000,"timestamp_ms":1785547197000,"timestamp_seconds":1785547197,"priority":1,"record_length":96,"hex_timestamp":"0000019fbae80a48"} 
[2026-08-01 06:52:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:52:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-01 06:52:26] 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-08-01 06:52:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:52:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:52:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100082176001,"66":13396,"197":206,"85":12544,"24":14,"16":113374062733950976,"45":8937956435120668672},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-01 06:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100082176001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:52:26] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-01 06:52:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-01 06:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113374062733950976,"km_value":113374062733950.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:52:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937956435120668672,"description":"Unknown IO ID 45"} 
[2026-08-01 06:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100082176001,"power":13396,"unknown_197":206,"unknown_85":12544,"ignition":14,"odometer":null,"unknown_45":8937956435120668672}} 
[2026-08-01 06:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":148403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576113,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:52:27] local.INFO: GPS data processed {"connection_id":148403,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:52:27] local.INFO: Acknowledgment sent {"connection_id":148403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:52:56] local.INFO: TCP Data received {"connection_id":147088,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:52:56] local.INFO: Processing buffer {"connection_id":147088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:52:56] local.INFO: IMEI packet received {"connection_id":147088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 06:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":147088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:52:57] local.INFO: TCP Data received {"connection_id":147088,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:52:57] local.INFO: Processing buffer {"connection_id":147088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:52:57] local.INFO: IMEI packet received {"connection_id":147088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":147088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:53:01] local.INFO: TCP Data received {"connection_id":147088,"ip":"117.224.167.108","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:53:01] local.INFO: Processing buffer {"connection_id":147088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:53:01] local.INFO: IMEI packet received {"connection_id":147088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":147088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:53:02] local.INFO: TCP Data received {"connection_id":147088,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbae942c8012d6760000620a6580009015c2d..."} 
[2026-08-01 06:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbae942c8012d6760000620a6580009015c2d..."} 
[2026-08-01 06:53:02] local.INFO: Processing buffer {"connection_id":147088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbae942c8012d6760000620a6580009015c2d..."} 
[2026-08-01 06:53:02] local.INFO: Packet analysis {"connection_id":147088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbae9"} 
[2026-08-01 06:53:02] local.INFO: Extracted packet for processing {"connection_id":147088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbae9"} 
[2026-08-01 06:53:02] local.INFO: GPS Element Parsed {"raw_longitude":761749504,"raw_latitude":102803032,"longitude_deg":76.1749504,"latitude_deg":10.2803032,"altitude":9,"angle":348,"satellites":45,"speed":54,"hex_longitude":"2d676000","hex_latitude":"0620a658","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100101120001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365564986052837376,"note":"Value kept but may cause issues"} 
[2026-08-01 06:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7451064872311379968,"note":"Value kept but may cause issues"} 
[2026-08-01 06:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785547277000,"timestamp_ms":1785547277000,"timestamp_seconds":1785547277,"priority":1,"record_length":96,"hex_timestamp":"0000019fbae942c8"} 
[2026-08-01 06:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:53: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-08-01 06: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 06:53: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-08-01 06: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-08-01 06:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":147088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":147088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":147088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100101120001,"66":27626,"237":206,"19":40704,"24":54,"16":365564986052837376,"45":7451064872311379968},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,19,24,16,45]} 
[2026-08-01 06:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100101120001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:53:02] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-01 06:53:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-08-01 06:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365564986052837376,"km_value":365564986052837.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7451064872311379968,"description":"Unknown IO ID 45"} 
[2026-08-01 06:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100101120001,"power":27626,"unknown_237":206,"unknown_19":40704,"ignition":54,"odometer":null,"unknown_45":7451064872311379968}} 
[2026-08-01 06:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":147088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:53:02] local.INFO: GPS data processed {"connection_id":147088,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:53:02] local.INFO: Acknowledgment sent {"connection_id":147088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:53:03] local.INFO: TCP Data received {"connection_id":147088,"ip":"117.224.167.108","data_length":795,"data_hex":"000000000000030f8e0a0000019fbae95e20012d6757c00620cb480007015c2b..."} 
[2026-08-01 06:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbae95e20012d6757c00620cb480007015c2b..."} 
[2026-08-01 06:53:03] local.INFO: Processing buffer {"connection_id":147088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbae95e20012d6757c00620cb480007015c2b..."} 
[2026-08-01 06:53:03] local.INFO: Packet analysis {"connection_id":147088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbae9"} 
[2026-08-01 06:53:03] local.INFO: Extracted packet for processing {"connection_id":147088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbae9"} 
[2026-08-01 06:53:03] local.INFO: GPS Element Parsed {"raw_longitude":761747392,"raw_latitude":102812488,"longitude_deg":76.1747392,"latitude_deg":10.2812488,"altitude":7,"angle":348,"satellites":43,"speed":55,"hex_longitude":"2d6757c0","hex_latitude":"0620cb48","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100102912001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365565454204272640,"note":"Value kept but may cause issues"} 
[2026-08-01 06:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7448953809988376576,"note":"Value kept but may cause issues"} 
[2026-08-01 06:53: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-08-01 06:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785547284000,"timestamp_ms":1785547284000,"timestamp_seconds":1785547284,"priority":1,"record_length":96,"hex_timestamp":"0000019fbae95e20"} 
[2026-08-01 06:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:53: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-08-01 06: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-01 06:53:03] 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-08-01 06: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-08-01 06:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.167.108","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100102912001,"66":27658,"82":206,"19":40704,"24":55,"16":365565454204272640,"45":7448953809988376576},"client_ip":"117.224.167.108","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,19,24,16,45]} 
[2026-08-01 06:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100102912001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:53:03] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 06:53:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-08-01 06:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365565454204272640,"km_value":365565454204272.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7448953809988376576,"description":"Unknown IO ID 45"} 
[2026-08-01 06:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100102912001,"power":27658,"unknown_82":206,"unknown_19":40704,"ignition":55,"odometer":null,"unknown_45":7448953809988376576}} 
[2026-08-01 06:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":147088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:53:03] local.INFO: GPS data processed {"connection_id":147088,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:53:03] local.INFO: Acknowledgment sent {"connection_id":147088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:53:05] local.INFO: TCP Data received {"connection_id":147089,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147089,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:53:05] local.INFO: Processing buffer {"connection_id":147089,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:53:05] local.INFO: IMEI packet received {"connection_id":147089,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 06:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":147089,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:53:07] local.INFO: TCP Data received {"connection_id":147089,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147089,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:53:07] local.INFO: Processing buffer {"connection_id":147089,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:53:07] local.INFO: IMEI packet received {"connection_id":147089,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":147089,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:53:09] local.INFO: TCP Data received {"connection_id":147089,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147089,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:53:09] local.INFO: Processing buffer {"connection_id":147089,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:53:09] local.INFO: IMEI packet received {"connection_id":147089,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":147089,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:53:10] local.INFO: TCP Data received {"connection_id":147089,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbae80e30012d7c0b0005bd4b000003003728..."} 
[2026-08-01 06:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbae80e30012d7c0b0005bd4b000003003728..."} 
[2026-08-01 06:53:10] local.INFO: Processing buffer {"connection_id":147089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbae80e30012d7c0b0005bd4b000003003728..."} 
[2026-08-01 06:53:10] local.INFO: Packet analysis {"connection_id":147089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbae8"} 
[2026-08-01 06:53:10] local.INFO: Extracted packet for processing {"connection_id":147089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbae8"} 
[2026-08-01 06:53:10] local.INFO: GPS Element Parsed {"raw_longitude":763104000,"raw_latitude":96291584,"longitude_deg":76.3104,"latitude_deg":9.6291584,"altitude":3,"angle":55,"satellites":40,"speed":9,"hex_longitude":"2d7c0b00","hex_latitude":"05bd4b00","is_valid_coordinates":true} 
[2026-08-01 06:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100082432001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113374079913820160,"note":"Value kept but may cause issues"} 
[2026-08-01 06:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938026803864936448,"note":"Value kept but may cause issues"} 
[2026-08-01 06:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785547198000,"timestamp_ms":1785547198000,"timestamp_seconds":1785547198,"priority":1,"record_length":96,"hex_timestamp":"0000019fbae80e30"} 
[2026-08-01 06:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-01 06:53:10] 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-08-01 06:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":147089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":147089,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":147089,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:53:10] 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-08-01 06:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100082432001,"66":13396,"197":206,"85":12544,"24":9,"16":113374079913820160,"45":8938026803864936448},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-01 06:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100082432001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:53:10] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-01 06:53:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-01 06:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113374079913820160,"km_value":113374079913820.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938026803864936448,"description":"Unknown IO ID 45"} 
[2026-08-01 06:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100082432001,"power":13396,"unknown_197":206,"unknown_85":12544,"ignition":9,"odometer":null,"unknown_45":8938026803864936448}} 
[2026-08-01 06:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":147089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576116,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:53:10] local.INFO: GPS data processed {"connection_id":147089,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:53:10] local.INFO: Acknowledgment sent {"connection_id":147089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:53:41] local.INFO: TCP Data received {"connection_id":147089,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaeb0bd0012d7c0fc005bd3b30000600b12d..."} 
[2026-08-01 06:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaeb0bd0012d7c0fc005bd3b30000600b12d..."} 
[2026-08-01 06:53:41] local.INFO: Processing buffer {"connection_id":147089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaeb0bd0012d7c0fc005bd3b30000600b12d..."} 
[2026-08-01 06:53:41] local.INFO: Packet analysis {"connection_id":147089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaeb"} 
[2026-08-01 06:53:41] local.INFO: Extracted packet for processing {"connection_id":147089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaeb"} 
[2026-08-01 06:53:41] local.INFO: GPS Element Parsed {"raw_longitude":763105216,"raw_latitude":96287536,"longitude_deg":76.3105216,"latitude_deg":9.6287536,"altitude":6,"angle":177,"satellites":45,"speed":8,"hex_longitude":"2d7c0fc0","hex_latitude":"05bd3b30","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100131328001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113374346201792512,"note":"Value kept but may cause issues"} 
[2026-08-01 06:53:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939434178747877376,"note":"Value kept but may cause issues"} 
[2026-08-01 06:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785547394000,"timestamp_ms":1785547394000,"timestamp_seconds":1785547394,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaeb0bd0"} 
[2026-08-01 06:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:53: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-08-01 06: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-01 06:53:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06: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-08-01 06:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":147089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":147089,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":147089,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:53:41] 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-08-01 06:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100131328001,"66":13537,"197":206,"85":12544,"24":8,"16":113374346201792512,"45":8939434178747877376},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-01 06:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100131328001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:53:41] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-01 06:53:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-01 06:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113374346201792512,"km_value":113374346201792.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:53:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939434178747877376,"description":"Unknown IO ID 45"} 
[2026-08-01 06:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100131328001,"power":13537,"unknown_197":206,"unknown_85":12544,"ignition":8,"odometer":null,"unknown_45":8939434178747877376}} 
[2026-08-01 06:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":147089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576117,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:53:41] local.INFO: GPS data processed {"connection_id":147089,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:53:41] local.INFO: Acknowledgment sent {"connection_id":147089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:54:07] local.INFO: TCP Data received {"connection_id":148404,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148404,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:54:07] local.INFO: Processing buffer {"connection_id":148404,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:54:07] local.INFO: IMEI packet received {"connection_id":148404,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 06:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":148404,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:54:12] local.INFO: TCP Data received {"connection_id":148404,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148404,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:54:12] local.INFO: Processing buffer {"connection_id":148404,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:54:12] local.INFO: IMEI packet received {"connection_id":148404,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":148404,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:54:12] local.INFO: TCP Data received {"connection_id":148404,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaeb1f58012d7c108005bd3718000600992e..."} 
[2026-08-01 06:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaeb1f58012d7c108005bd3718000600992e..."} 
[2026-08-01 06:54:12] local.INFO: Processing buffer {"connection_id":148404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaeb1f58012d7c108005bd3718000600992e..."} 
[2026-08-01 06:54:12] local.INFO: Packet analysis {"connection_id":148404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaeb"} 
[2026-08-01 06:54:12] local.INFO: Extracted packet for processing {"connection_id":148404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaeb"} 
[2026-08-01 06:54:12] local.INFO: GPS Element Parsed {"raw_longitude":763105408,"raw_latitude":96286488,"longitude_deg":76.3105408,"latitude_deg":9.6286488,"altitude":6,"angle":153,"satellites":46,"speed":7,"hex_longitude":"2d7c1080","hex_latitude":"05bd3718","is_valid_coordinates":true} 
[2026-08-01 06:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100132864001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113374397741400064,"note":"Value kept but may cause issues"} 
[2026-08-01 06:54:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939574916235866112,"note":"Value kept but may cause issues"} 
[2026-08-01 06:54:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785547399000,"timestamp_ms":1785547399000,"timestamp_seconds":1785547399,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaeb1f58"} 
[2026-08-01 06:54:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:54: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-08-01 06:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-01 06:54:12] 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-08-01 06:54:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:54:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":148404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":148404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":148404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:54:12] 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-08-01 06:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100132864001,"66":13428,"197":206,"85":12544,"24":7,"16":113374397741400064,"45":8939574916235866112},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-01 06:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100132864001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:54:12] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-01 06:54:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-01 06:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113374397741400064,"km_value":113374397741400.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:54:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939574916235866112,"description":"Unknown IO ID 45"} 
[2026-08-01 06:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100132864001,"power":13428,"unknown_197":206,"unknown_85":12544,"ignition":7,"odometer":null,"unknown_45":8939574916235866112}} 
[2026-08-01 06:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":148404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576118,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:54:12] local.INFO: GPS data processed {"connection_id":148404,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:54:12] local.INFO: Acknowledgment sent {"connection_id":148404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:54:35] local.INFO: TCP Data received {"connection_id":148405,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:54:35] local.INFO: Processing buffer {"connection_id":148405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:54:35] local.INFO: IMEI packet received {"connection_id":148405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 06:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":148405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:54:38] local.INFO: TCP Data received {"connection_id":148405,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:54:38] local.INFO: Processing buffer {"connection_id":148405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:54:38] local.INFO: IMEI packet received {"connection_id":148405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":148405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:54:40] local.INFO: TCP Data received {"connection_id":148405,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:54:40] local.INFO: Processing buffer {"connection_id":148405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:54:40] local.INFO: IMEI packet received {"connection_id":148405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":148405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:54:41] local.INFO: TCP Data received {"connection_id":148405,"ip":"117.225.183.89","data_length":405,"data_hex":"00000000000001898e050000019fbaeacd50012d66de0006228fe8000a013b2d..."} 
[2026-08-01 06:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148405,"packet_length":405,"packet_hex":"00000000000001898e050000019fbaeacd50012d66de0006228fe8000a013b2d..."} 
[2026-08-01 06:54:41] local.INFO: Processing buffer {"connection_id":148405,"buffer_length":405,"buffer_hex":"00000000000001898e050000019fbaeacd50012d66de0006228fe8000a013b2d..."} 
[2026-08-01 06:54:41] local.INFO: Packet analysis {"connection_id":148405,"data_field_length":393,"total_packet_length":405,"buffer_length":405,"packet_hex_start":"00000000000001898e050000019fbaea"} 
[2026-08-01 06:54:41] local.INFO: Extracted packet for processing {"connection_id":148405,"packet_length":405,"remaining_buffer_length":0,"packet_hex_start":"00000000000001898e050000019fbaea"} 
[2026-08-01 06:54:41] local.INFO: GPS Element Parsed {"raw_longitude":761716224,"raw_latitude":102928360,"longitude_deg":76.1716224,"latitude_deg":10.292836,"altitude":10,"angle":315,"satellites":45,"speed":45,"hex_longitude":"2d66de00","hex_latitude":"06228fe8","is_valid_coordinates":true} 
[2026-08-01 06: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":405,"current_offset":40} 
[2026-08-01 06:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365570079884050432,"note":"Value kept but may cause issues"} 
[2026-08-01 06:54:41] 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-08-01 06:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785547378000,"timestamp_ms":1785547378000,"timestamp_seconds":1785547378,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaeacd50"} 
[2026-08-01 06:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":5,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:54:41] 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-08-01 06: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":108,"n8_eight_byte":10,"data_length":405,"current_offset":136} 
[2026-08-01 06:54:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":405,"available_bytes":269,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":405,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":5,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:54:41] local.INFO: AVL Records parsing completed {"total_expected":5,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":148405,"avl_records_parsed":1,"avl_records_expected":5,"crc_valid":false} 
[2026-08-01 06:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":148405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":148405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27615,"24":45,"16":365570079884050432},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16]} 
[2026-08-01 06:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-01 06:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365570079884050432,"km_value":365570079884050.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:54:41] local.INFO: IO Data Validated and Processed {"original_count":4,"validated_count":4,"validated_data":{"unknown_0":0,"power":27615,"ignition":45,"odometer":null}} 
[2026-08-01 06:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":148405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:54:41] local.INFO: GPS data processed {"connection_id":148405,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:54:41] local.INFO: Acknowledgment sent {"connection_id":148405,"records_acknowledged":1,"records_expected":5,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:54:43] local.INFO: TCP Data received {"connection_id":148404,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaeb2b10012d7c114005bd34d8000600ab2d..."} 
[2026-08-01 06:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaeb2b10012d7c114005bd34d8000600ab2d..."} 
[2026-08-01 06:54:43] local.INFO: Processing buffer {"connection_id":148404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaeb2b10012d7c114005bd34d8000600ab2d..."} 
[2026-08-01 06:54:43] local.INFO: Packet analysis {"connection_id":148404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaeb"} 
[2026-08-01 06:54:43] local.INFO: Extracted packet for processing {"connection_id":148404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaeb"} 
[2026-08-01 06:54:43] local.INFO: GPS Element Parsed {"raw_longitude":763105600,"raw_latitude":96285912,"longitude_deg":76.31056,"latitude_deg":9.6285912,"altitude":6,"angle":171,"satellites":45,"speed":8,"hex_longitude":"2d7c1140","hex_latitude":"05bd34d8","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100134144001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113374427806171136,"note":"Value kept but may cause issues"} 
[2026-08-01 06:54:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939786022468130816,"note":"Value kept but may cause issues"} 
[2026-08-01 06:54:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785547402000,"timestamp_ms":1785547402000,"timestamp_seconds":1785547402,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaeb2b10"} 
[2026-08-01 06:54:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:54:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-01 06:54:43] 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-08-01 06: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-08-01 06:54:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":148404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":148404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":148404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:54:43] 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-08-01 06:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100134144001,"66":13319,"197":206,"85":12544,"24":8,"16":113374427806171136,"45":8939786022468130816},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-01 06:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100134144001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:54:43] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-01 06:54:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-01 06:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113374427806171136,"km_value":113374427806171.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:54:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939786022468130816,"description":"Unknown IO ID 45"} 
[2026-08-01 06:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100134144001,"power":13319,"unknown_197":206,"unknown_85":12544,"ignition":8,"odometer":null,"unknown_45":8939786022468130816}} 
[2026-08-01 06:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":148404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576120,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:54:43] local.INFO: GPS data processed {"connection_id":148404,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:54:43] local.INFO: Acknowledgment sent {"connection_id":148404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:54:46] local.INFO: TCP Data received {"connection_id":148405,"ip":"117.225.183.89","data_length":93,"data_hex":"00000000000000518e010000019fbaeae4c0012d66c9400622a0c8000b012f2f..."} 
[2026-08-01 06:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148405,"packet_length":93,"packet_hex":"00000000000000518e010000019fbaeae4c0012d66c9400622a0c8000b012f2f..."} 
[2026-08-01 06:54:46] local.INFO: Processing buffer {"connection_id":148405,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fbaeae4c0012d66c9400622a0c8000b012f2f..."} 
[2026-08-01 06:54:46] local.INFO: Packet analysis {"connection_id":148405,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fbaea"} 
[2026-08-01 06:54:46] local.INFO: Extracted packet for processing {"connection_id":148405,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fbaea"} 
[2026-08-01 06:54:46] local.INFO: GPS Element Parsed {"raw_longitude":761710912,"raw_latitude":102932680,"longitude_deg":76.1710912,"latitude_deg":10.293268,"altitude":11,"angle":303,"satellites":47,"speed":44,"hex_longitude":"2d66c940","hex_latitude":"0622a0c8","is_valid_coordinates":true} 
[2026-08-01 06:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-08-01 06:54:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06:54:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:54:46] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:54:46] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-01 06:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148405,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-01 06:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148405,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-01 06:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148405,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-01 06:54:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-01 06:54:46] local.WARNING: DEBUG: No valid data to process  
[2026-08-01 06:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":148405,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-01 06:54:46] local.ERROR: GPS data processing failed {"connection_id":148405,"error":"No valid data to process"} 
[2026-08-01 06:54:46] local.INFO: Acknowledgment sent {"connection_id":148405,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-01 06:55:07] local.INFO: TCP Data received {"connection_id":147090,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147090,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:55:07] local.INFO: Processing buffer {"connection_id":147090,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:55:07] local.INFO: IMEI packet received {"connection_id":147090,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 06:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":147090,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:55:08] local.INFO: TCP Data received {"connection_id":147090,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147090,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:55:08] local.INFO: Processing buffer {"connection_id":147090,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:55:08] local.INFO: IMEI packet received {"connection_id":147090,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":147090,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:55:13] local.INFO: TCP Data received {"connection_id":147090,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147090,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:55:13] local.INFO: Processing buffer {"connection_id":147090,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:55:13] local.INFO: IMEI packet received {"connection_id":147090,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":147090,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:55:13] local.INFO: TCP Data received {"connection_id":147090,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaeb7d18012d7c108005bd2820000401072d..."} 
[2026-08-01 06:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaeb7d18012d7c108005bd2820000401072d..."} 
[2026-08-01 06:55:13] local.INFO: Processing buffer {"connection_id":147090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaeb7d18012d7c108005bd2820000401072d..."} 
[2026-08-01 06:55:13] local.INFO: Packet analysis {"connection_id":147090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaeb"} 
[2026-08-01 06:55:13] local.INFO: Extracted packet for processing {"connection_id":147090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaeb"} 
[2026-08-01 06:55:13] local.INFO: GPS Element Parsed {"raw_longitude":763105408,"raw_latitude":96282656,"longitude_deg":76.3105408,"latitude_deg":9.6282656,"altitude":4,"angle":263,"satellites":45,"speed":8,"hex_longitude":"2d7c1080","hex_latitude":"05bd2820","is_valid_coordinates":true} 
[2026-08-01 06:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:55:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100134912001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:55:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113374599604862976,"note":"Value kept but may cause issues"} 
[2026-08-01 06:55:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939997128700516352,"note":"Value kept but may cause issues"} 
[2026-08-01 06:55:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:55:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785547423000,"timestamp_ms":1785547423000,"timestamp_seconds":1785547423,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaeb7d18"} 
[2026-08-01 06:55:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:55: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-08-01 06:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-01 06:55:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-01 06:55:13] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3135914160,"note":"Value kept but may cause issues"} 
[2026-08-01 06:55:13] local.WARNING: Large IO value detected {"io_id":10,"raw_value":3221601608,"note":"Value kept but may cause issues"} 
[2026-08-01 06:55:13] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-08-01 06:55:13] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13477573,"corrected_to":0} 
[2026-08-01 06:55:13] local.WARNING: Large IO value detected {"io_id":186,"raw_value":3940859905,"note":"Value kept but may cause issues"} 
[2026-08-01 06:55:13] local.WARNING: Large IO value detected {"io_id":189,"raw_value":5255700773741800448,"note":"Value kept but may cause issues"} 
[2026-08-01 06:55:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797928654,"corrected_to":0} 
[2026-08-01 06:55:13] local.WARNING: Large IO value detected {"io_id":146,"raw_value":3375497216,"note":"Value kept but may cause issues"} 
[2026-08-01 06:55:13] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3175673856,"note":"Value kept but may cause issues"} 
[2026-08-01 06:55:13] local.WARNING: Large IO value detected {"io_id":78,"raw_value":57885735277974833,"note":"Value kept but may cause issues"} 
[2026-08-01 06:55:13] local.WARNING: Large IO value detected {"io_id":233,"raw_value":-1249747601729077243,"note":"Value kept but may cause issues"} 
[2026-08-01 06:55:13] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,197,85,24,241,157,16,201,159,31,45,128,55,6,46,10,66,11,192,59,244,64,1,240,247,227,186,189,4,113,205,9,146,44,239,53,2,5,78,233],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":247,"original":13477573,"validated":0},{"io_id":205,"original":2797928654,"validated":0}]} 
[2026-08-01 06:55:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432533773989969920,"timestamp_seconds":432533773989969.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 06:55:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:55:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:55:13] local.INFO: Teltonika packet parsed successfully {"connection_id":147090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:55:13] local.INFO: Passing IMEI to GPS processor {"connection_id":147090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:55:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":147090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:55:13] 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-08-01 06:55:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:55:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:55:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100134912001,"66":13559,"197":206,"85":12544,"24":8,"16":113374599604862976,"45":8939997128700516352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-01 06:55:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:55:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:55:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100134912001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:55:13] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-01 06:55:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-01 06:55:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113374599604862976,"km_value":113374599604862.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:55:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939997128700516352,"description":"Unknown IO ID 45"} 
[2026-08-01 06:55:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100134912001,"power":13559,"unknown_197":206,"unknown_85":12544,"ignition":8,"odometer":null,"unknown_45":8939997128700516352}} 
[2026-08-01 06:55:13] local.INFO: DEBUG: GPS processor result {"connection_id":147090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576121,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:55:13] local.INFO: GPS data processed {"connection_id":147090,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:55:13] local.INFO: Acknowledgment sent {"connection_id":147090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:55:17] local.INFO: TCP Data received {"connection_id":148405,"ip":"117.225.183.89","data_length":93,"data_hex":"00000000000000518e010000019fbaeb0018012d66ae000622aec8000c01232f..."} 
[2026-08-01 06:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148405,"packet_length":93,"packet_hex":"00000000000000518e010000019fbaeb0018012d66ae000622aec8000c01232f..."} 
[2026-08-01 06:55:17] local.INFO: Processing buffer {"connection_id":148405,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fbaeb0018012d66ae000622aec8000c01232f..."} 
[2026-08-01 06:55:17] local.INFO: Packet analysis {"connection_id":148405,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fbaeb"} 
[2026-08-01 06:55:17] local.INFO: Extracted packet for processing {"connection_id":148405,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fbaeb"} 
[2026-08-01 06:55:17] local.INFO: GPS Element Parsed {"raw_longitude":761703936,"raw_latitude":102936264,"longitude_deg":76.1703936,"latitude_deg":10.2936264,"altitude":12,"angle":291,"satellites":47,"speed":44,"hex_longitude":"2d66ae00","hex_latitude":"0622aec8","is_valid_coordinates":true} 
[2026-08-01 06:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-08-01 06:55:17] 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-08-01 06:55:17] 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-08-01 06:55:17] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:55:17] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-01 06:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148405,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-01 06:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148405,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-01 06:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148405,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-01 06:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-01 06:55:17] local.WARNING: DEBUG: No valid data to process  
[2026-08-01 06:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":148405,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-01 06:55:17] local.ERROR: GPS data processing failed {"connection_id":148405,"error":"No valid data to process"} 
[2026-08-01 06:55:17] local.INFO: Acknowledgment sent {"connection_id":148405,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-01 06:55:45] local.INFO: TCP Data received {"connection_id":147090,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaeb7d18012d7c108005bd2820000401072d..."} 
[2026-08-01 06:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaeb7d18012d7c108005bd2820000401072d..."} 
[2026-08-01 06:55:45] local.INFO: Processing buffer {"connection_id":147090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaeb7d18012d7c108005bd2820000401072d..."} 
[2026-08-01 06:55:45] local.INFO: Packet analysis {"connection_id":147090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaeb"} 
[2026-08-01 06:55:45] local.INFO: Extracted packet for processing {"connection_id":147090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaeb"} 
[2026-08-01 06:55:45] local.INFO: GPS Element Parsed {"raw_longitude":763105408,"raw_latitude":96282656,"longitude_deg":76.3105408,"latitude_deg":9.6282656,"altitude":4,"angle":263,"satellites":45,"speed":8,"hex_longitude":"2d7c1080","hex_latitude":"05bd2820","is_valid_coordinates":true} 
[2026-08-01 06:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:55:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100140288001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:55:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113374599604862976,"note":"Value kept but may cause issues"} 
[2026-08-01 06:55:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939786022467149824,"note":"Value kept but may cause issues"} 
[2026-08-01 06:55:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:55:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785547423000,"timestamp_ms":1785547423000,"timestamp_seconds":1785547423,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaeb7d18"} 
[2026-08-01 06:55:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:55: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-08-01 06:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-01 06:55:45] 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-08-01 06:55:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:55:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:55:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:55:45] local.INFO: Teltonika packet parsed successfully {"connection_id":147090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:55:45] local.INFO: Passing IMEI to GPS processor {"connection_id":147090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:55:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":147090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:55:45] 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-08-01 06:55:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:55:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:55:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100140288001,"66":13559,"197":206,"85":12544,"24":8,"16":113374599604862976,"45":8939786022467149824},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-01 06:55:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:55:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:55:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100140288001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:55:45] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-01 06:55:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-01 06:55:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113374599604862976,"km_value":113374599604862.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:55:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939786022467149824,"description":"Unknown IO ID 45"} 
[2026-08-01 06:55:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100140288001,"power":13559,"unknown_197":206,"unknown_85":12544,"ignition":8,"odometer":null,"unknown_45":8939786022467149824}} 
[2026-08-01 06:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":147090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576122,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:55:45] local.INFO: GPS data processed {"connection_id":147090,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:55:45] local.INFO: Acknowledgment sent {"connection_id":147090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:55:49] local.INFO: TCP Data received {"connection_id":148405,"ip":"117.225.183.89","data_length":93,"data_hex":"00000000000000518e010000019fbaec8aa0012d6519000622ff50000a011a2c..."} 
[2026-08-01 06:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148405,"packet_length":93,"packet_hex":"00000000000000518e010000019fbaec8aa0012d6519000622ff50000a011a2c..."} 
[2026-08-01 06:55:49] local.INFO: Processing buffer {"connection_id":148405,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fbaec8aa0012d6519000622ff50000a011a2c..."} 
[2026-08-01 06:55:49] local.INFO: Packet analysis {"connection_id":148405,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fbaec"} 
[2026-08-01 06:55:49] local.INFO: Extracted packet for processing {"connection_id":148405,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fbaec"} 
[2026-08-01 06:55:49] local.INFO: GPS Element Parsed {"raw_longitude":761600256,"raw_latitude":102956880,"longitude_deg":76.1600256,"latitude_deg":10.295688,"altitude":10,"angle":282,"satellites":44,"speed":53,"hex_longitude":"2d651900","hex_latitude":"0622ff50","is_valid_coordinates":true} 
[2026-08-01 06:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-08-01 06:55:49] 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-08-01 06:55:49] 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-08-01 06:55:49] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:55:49] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-01 06:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148405,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-01 06:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148405,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-01 06:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148405,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-01 06:55:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-01 06:55:49] local.WARNING: DEBUG: No valid data to process  
[2026-08-01 06:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":148405,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-01 06:55:49] local.ERROR: GPS data processing failed {"connection_id":148405,"error":"No valid data to process"} 
[2026-08-01 06:55:49] local.INFO: Acknowledgment sent {"connection_id":148405,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-01 06:56:07] local.INFO: TCP Data received {"connection_id":145880,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145880,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:56:07] local.INFO: Processing buffer {"connection_id":145880,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:56:07] local.INFO: IMEI packet received {"connection_id":145880,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 06:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":145880,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:56:10] local.INFO: TCP Data received {"connection_id":145880,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145880,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:56:10] local.INFO: Processing buffer {"connection_id":145880,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:56:10] local.INFO: IMEI packet received {"connection_id":145880,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":145880,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:56:12] local.INFO: TCP Data received {"connection_id":145880,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145880,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:56:12] local.INFO: Processing buffer {"connection_id":145880,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:56:12] local.INFO: IMEI packet received {"connection_id":145880,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:56:12] local.INFO: IMEI acknowledgment sent {"connection_id":145880,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:56:14] local.INFO: TCP Data received {"connection_id":145880,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaed78e8012d7ac94005bd15880004010d2e..."} 
[2026-08-01 06:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaed78e8012d7ac94005bd15880004010d2e..."} 
[2026-08-01 06:56:14] local.INFO: Processing buffer {"connection_id":145880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaed78e8012d7ac94005bd15880004010d2e..."} 
[2026-08-01 06:56:14] local.INFO: Packet analysis {"connection_id":145880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaed"} 
[2026-08-01 06:56:14] local.INFO: Extracted packet for processing {"connection_id":145880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaed"} 
[2026-08-01 06:56:14] local.INFO: GPS Element Parsed {"raw_longitude":763021632,"raw_latitude":96277896,"longitude_deg":76.3021632,"latitude_deg":9.6277896,"altitude":4,"angle":269,"satellites":46,"speed":51,"hex_longitude":"2d7ac940","hex_latitude":"05bd1588","is_valid_coordinates":true} 
[2026-08-01 06:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100171520001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113378641169088512,"note":"Value kept but may cause issues"} 
[2026-08-01 06:56:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8858580491685009408,"note":"Value kept but may cause issues"} 
[2026-08-01 06:56:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785547553000,"timestamp_ms":1785547553000,"timestamp_seconds":1785547553,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaed78e8"} 
[2026-08-01 06:56:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:56:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-01 06:56:14] 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-08-01 06:56:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:56:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":145880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":145880,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":145880,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:56:14] 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-08-01 06:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100171520001,"66":13526,"8":206,"85":12544,"24":51,"16":113378641169088512,"45":8858580491685009408},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,85,24,16,45]} 
[2026-08-01 06:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100171520001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:56:14] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-01 06:56:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-01 06:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113378641169088512,"km_value":113378641169088.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:56:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8858580491685009408,"description":"Unknown IO ID 45"} 
[2026-08-01 06:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100171520001,"power":13526,"unknown_8":206,"unknown_85":12544,"ignition":51,"odometer":null,"unknown_45":8858580491685009408}} 
[2026-08-01 06:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":145880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576123,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:56:14] local.INFO: GPS data processed {"connection_id":145880,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:56:14] local.INFO: Acknowledgment sent {"connection_id":145880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:56:27] local.INFO: TCP Data received {"connection_id":148405,"ip":"117.225.183.89","data_length":93,"data_hex":"00000000000000518e010000019fbaeca5f8012d64f50006230628000901172c..."} 
[2026-08-01 06:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148405,"packet_length":93,"packet_hex":"00000000000000518e010000019fbaeca5f8012d64f50006230628000901172c..."} 
[2026-08-01 06:56:27] local.INFO: Processing buffer {"connection_id":148405,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fbaeca5f8012d64f50006230628000901172c..."} 
[2026-08-01 06:56:27] local.INFO: Packet analysis {"connection_id":148405,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fbaec"} 
[2026-08-01 06:56:27] local.INFO: Extracted packet for processing {"connection_id":148405,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fbaec"} 
[2026-08-01 06:56:27] local.INFO: GPS Element Parsed {"raw_longitude":761591040,"raw_latitude":102958632,"longitude_deg":76.159104,"latitude_deg":10.2958632,"altitude":9,"angle":279,"satellites":44,"speed":51,"hex_longitude":"2d64f500","hex_latitude":"06230628","is_valid_coordinates":true} 
[2026-08-01 06:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-08-01 06:56:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06:56:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:56:27] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:56:27] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-01 06:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148405,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-01 06:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148405,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-01 06:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148405,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-01 06:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-01 06:56:27] local.WARNING: DEBUG: No valid data to process  
[2026-08-01 06:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":148405,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-01 06:56:27] local.ERROR: GPS data processing failed {"connection_id":148405,"error":"No valid data to process"} 
[2026-08-01 06:56:27] local.INFO: Acknowledgment sent {"connection_id":148405,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-01 06:56:45] local.INFO: TCP Data received {"connection_id":145880,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaed9440012d7aa60005bd14100003010c2e..."} 
[2026-08-01 06:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaed9440012d7aa60005bd14100003010c2e..."} 
[2026-08-01 06:56:45] local.INFO: Processing buffer {"connection_id":145880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaed9440012d7aa60005bd14100003010c2e..."} 
[2026-08-01 06:56:45] local.INFO: Packet analysis {"connection_id":145880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaed"} 
[2026-08-01 06:56:45] local.INFO: Extracted packet for processing {"connection_id":145880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaed"} 
[2026-08-01 06:56:45] local.INFO: GPS Element Parsed {"raw_longitude":763012608,"raw_latitude":96277520,"longitude_deg":76.3012608,"latitude_deg":9.627752,"altitude":3,"angle":268,"satellites":46,"speed":49,"hex_longitude":"2d7aa600","hex_latitude":"05bd1410","is_valid_coordinates":true} 
[2026-08-01 06:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100173568001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113379070665818112,"note":"Value kept but may cause issues"} 
[2026-08-01 06:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847673336337369088,"note":"Value kept but may cause issues"} 
[2026-08-01 06:56:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785547560000,"timestamp_ms":1785547560000,"timestamp_seconds":1785547560,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaed9440"} 
[2026-08-01 06:56:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:56:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-01 06:56:45] 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-08-01 06:56:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:56:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":145880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":145880,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":145880,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:56:45] 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-08-01 06:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100173568001,"66":13428,"8":206,"85":12544,"24":49,"16":113379070665818112,"45":8847673336337369088},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,85,24,16,45]} 
[2026-08-01 06:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100173568001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:56:45] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-01 06:56:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-01 06:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113379070665818112,"km_value":113379070665818.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847673336337369088,"description":"Unknown IO ID 45"} 
[2026-08-01 06:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100173568001,"power":13428,"unknown_8":206,"unknown_85":12544,"ignition":49,"odometer":null,"unknown_45":8847673336337369088}} 
[2026-08-01 06:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":145880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576124,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:56:45] local.INFO: GPS data processed {"connection_id":145880,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:56:45] local.INFO: Acknowledgment sent {"connection_id":145880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:56:59] local.INFO: TCP Data received {"connection_id":148405,"ip":"117.225.183.89","data_length":171,"data_hex":"000000000000009f8e020000019fbaecc538012d64cd4006230c40000801162d..."} 
[2026-08-01 06:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148405,"packet_length":171,"packet_hex":"000000000000009f8e020000019fbaecc538012d64cd4006230c40000801162d..."} 
[2026-08-01 06:56:59] local.INFO: Processing buffer {"connection_id":148405,"buffer_length":171,"buffer_hex":"000000000000009f8e020000019fbaecc538012d64cd4006230c40000801162d..."} 
[2026-08-01 06:56:59] local.INFO: Packet analysis {"connection_id":148405,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e020000019fbaec"} 
[2026-08-01 06:56:59] local.INFO: Extracted packet for processing {"connection_id":148405,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e020000019fbaec"} 
[2026-08-01 06:56:59] local.INFO: GPS Element Parsed {"raw_longitude":761580864,"raw_latitude":102960192,"longitude_deg":76.1580864,"latitude_deg":10.2960192,"altitude":8,"angle":278,"satellites":45,"speed":49,"hex_longitude":"2d64cd40","hex_latitude":"06230c40","is_valid_coordinates":true} 
[2026-08-01 06: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":171,"current_offset":40} 
[2026-08-01 06:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100159744001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365576771443097600,"note":"Value kept but may cause issues"} 
[2026-08-01 06:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7274720799444314112,"note":"Value kept but may cause issues"} 
[2026-08-01 06:56:59] 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-08-01 06:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785547507000,"timestamp_ms":1785547507000,"timestamp_seconds":1785547507,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaecc538"} 
[2026-08-01 06:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":2,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:56: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-08-01 06: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":107,"n8_eight_byte":234,"data_length":171,"current_offset":136} 
[2026-08-01 06:56:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":171,"available_bytes":35,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06:56:59] 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-08-01 06:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":2,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:56:59] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":148405,"avl_records_parsed":1,"avl_records_expected":2,"crc_valid":false} 
[2026-08-01 06:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":148405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":148405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100159744001,"66":27604,"83":206,"19":40704,"24":49,"16":365576771443097600,"45":7274720799444314112},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,19,24,16,45]} 
[2026-08-01 06:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100159744001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:56:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 06:56:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-08-01 06:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365576771443097600,"km_value":365576771443097.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7274720799444314112,"description":"Unknown IO ID 45"} 
[2026-08-01 06:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100159744001,"power":27604,"unknown_83":206,"unknown_19":40704,"ignition":49,"odometer":null,"unknown_45":7274720799444314112}} 
[2026-08-01 06:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":148405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:56:59] local.INFO: GPS data processed {"connection_id":148405,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:56:59] local.INFO: Acknowledgment sent {"connection_id":148405,"records_acknowledged":1,"records_expected":2,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:57:07] local.INFO: TCP Data received {"connection_id":146075,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146075,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:57:07] local.INFO: Processing buffer {"connection_id":146075,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:57:07] local.INFO: IMEI packet received {"connection_id":146075,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 06:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":146075,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:57:12] local.INFO: TCP Data received {"connection_id":146075,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146075,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:57:12] local.INFO: Processing buffer {"connection_id":146075,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:57:12] local.INFO: IMEI packet received {"connection_id":146075,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":146075,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:57:13] local.INFO: TCP Data received {"connection_id":146075,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaedb380012d7a820005bd12d80002010a2d..."} 
[2026-08-01 06:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaedb380012d7a820005bd12d80002010a2d..."} 
[2026-08-01 06:57:13] local.INFO: Processing buffer {"connection_id":146075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaedb380012d7a820005bd12d80002010a2d..."} 
[2026-08-01 06:57:13] local.INFO: Packet analysis {"connection_id":146075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaed"} 
[2026-08-01 06:57:13] local.INFO: Extracted packet for processing {"connection_id":146075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaed"} 
[2026-08-01 06:57:13] local.INFO: GPS Element Parsed {"raw_longitude":763003392,"raw_latitude":96277208,"longitude_deg":76.3003392,"latitude_deg":9.6277208,"altitude":2,"angle":266,"satellites":45,"speed":41,"hex_longitude":"2d7a8200","hex_latitude":"05bd12d8","is_valid_coordinates":true} 
[2026-08-01 06:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100175360001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113379513047449600,"note":"Value kept but may cause issues"} 
[2026-08-01 06:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837751343408222208,"note":"Value kept but may cause issues"} 
[2026-08-01 06:57:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785547568000,"timestamp_ms":1785547568000,"timestamp_seconds":1785547568,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaedb380"} 
[2026-08-01 06:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:57:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-01 06:57:13] 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-08-01 06:57:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":146075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":146075,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":146075,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:57:13] 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-08-01 06:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100175360001,"66":13374,"8":206,"85":12544,"24":41,"16":113379513047449600,"45":8837751343408222208},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,85,24,16,45]} 
[2026-08-01 06:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100175360001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:57:13] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-01 06:57:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-01 06:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113379513047449600,"km_value":113379513047449.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837751343408222208,"description":"Unknown IO ID 45"} 
[2026-08-01 06:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100175360001,"power":13374,"unknown_8":206,"unknown_85":12544,"ignition":41,"odometer":null,"unknown_45":8837751343408222208}} 
[2026-08-01 06:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":146075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576126,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:57:13] local.INFO: GPS data processed {"connection_id":146075,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:57:13] local.INFO: Acknowledgment sent {"connection_id":146075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:57:31] local.INFO: TCP Data received {"connection_id":148405,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaee1140012d63ec400623e050000601592f..."} 
[2026-08-01 06:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaee1140012d63ec400623e050000601592f..."} 
[2026-08-01 06:57:31] local.INFO: Processing buffer {"connection_id":148405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaee1140012d63ec400623e050000601592f..."} 
[2026-08-01 06:57:31] local.INFO: Packet analysis {"connection_id":148405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaee"} 
[2026-08-01 06:57:31] local.INFO: Extracted packet for processing {"connection_id":148405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaee"} 
[2026-08-01 06:57:31] local.INFO: GPS Element Parsed {"raw_longitude":761523264,"raw_latitude":103014480,"longitude_deg":76.1523264,"latitude_deg":10.301448,"altitude":6,"angle":345,"satellites":47,"speed":47,"hex_longitude":"2d63ec40","hex_latitude":"0623e050","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100181504001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365581014870786048,"note":"Value kept but may cause issues"} 
[2026-08-01 06:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7203085417883385856,"note":"Value kept but may cause issues"} 
[2026-08-01 06:57:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785547592000,"timestamp_ms":1785547592000,"timestamp_seconds":1785547592,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaee1140"} 
[2026-08-01 06:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:57: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-08-01 06:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-01 06:57:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06: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-08-01 06:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":148405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":148405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":148405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:57:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100181504001,"66":27604,"253":206,"19":40704,"24":47,"16":365581014870786048,"45":7203085417883385856},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,19,24,16,45]} 
[2026-08-01 06:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100181504001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:57:31] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-08-01 06:57:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-08-01 06:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365581014870786048,"km_value":365581014870786.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":7203085417883385856,"description":"Unknown IO ID 45"} 
[2026-08-01 06:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100181504001,"power":27604,"unknown_253":206,"unknown_19":40704,"ignition":47,"odometer":null,"unknown_45":7203085417883385856}} 
[2026-08-01 06:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":148405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:57:31] local.INFO: GPS data processed {"connection_id":148405,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:57:31] local.INFO: Acknowledgment sent {"connection_id":148405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:57:44] local.INFO: TCP Data received {"connection_id":146075,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaeee430012d7a600005bdadb8000301632b..."} 
[2026-08-01 06:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaeee430012d7a600005bdadb8000301632b..."} 
[2026-08-01 06:57:44] local.INFO: Processing buffer {"connection_id":146075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaeee430012d7a600005bdadb8000301632b..."} 
[2026-08-01 06:57:44] local.INFO: Packet analysis {"connection_id":146075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaee"} 
[2026-08-01 06:57:44] local.INFO: Extracted packet for processing {"connection_id":146075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaee"} 
[2026-08-01 06:57:44] local.INFO: GPS Element Parsed {"raw_longitude":762994688,"raw_latitude":96316856,"longitude_deg":76.2994688,"latitude_deg":9.6316856,"altitude":3,"angle":355,"satellites":43,"speed":59,"hex_longitude":"2d7a6000","hex_latitude":"05bdadb8","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:57:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100195584001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:57:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113381759315345408,"note":"Value kept but may cause issues"} 
[2026-08-01 06:57:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818540676255152128,"note":"Value kept but may cause issues"} 
[2026-08-01 06:57:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:57:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785547646000,"timestamp_ms":1785547646000,"timestamp_seconds":1785547646,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaeee430"} 
[2026-08-01 06:57:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:57:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-01 06:57:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06: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-08-01 06:57:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:57:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:57:44] local.INFO: Teltonika packet parsed successfully {"connection_id":146075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:57:44] local.INFO: Passing IMEI to GPS processor {"connection_id":146075,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:57:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":146075,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:57:44] 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-08-01 06:57:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:57:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:57:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100195584001,"66":13580,"7":206,"85":12544,"24":59,"16":113381759315345408,"45":8818540676255152128},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-01 06:57:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:57:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:57:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100195584001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:57:44] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-01 06:57:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-01 06:57:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113381759315345408,"km_value":113381759315345.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:57:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818540676255152128,"description":"Unknown IO ID 45"} 
[2026-08-01 06:57:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100195584001,"power":13580,"unknown_7":206,"unknown_85":12544,"ignition":59,"odometer":null,"unknown_45":8818540676255152128}} 
[2026-08-01 06:57:44] local.INFO: DEBUG: GPS processor result {"connection_id":146075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576128,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:57:44] local.INFO: GPS data processed {"connection_id":146075,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:57:44] local.INFO: Acknowledgment sent {"connection_id":146075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:58:02] local.INFO: TCP Data received {"connection_id":148405,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaee3080012d63e3c0062403c00005015b2f..."} 
[2026-08-01 06:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaee3080012d63e3c0062403c00005015b2f..."} 
[2026-08-01 06:58:02] local.INFO: Processing buffer {"connection_id":148405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaee3080012d63e3c0062403c00005015b2f..."} 
[2026-08-01 06:58:02] local.INFO: Packet analysis {"connection_id":148405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaee"} 
[2026-08-01 06:58:02] local.INFO: Extracted packet for processing {"connection_id":148405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaee"} 
[2026-08-01 06:58:02] local.INFO: GPS Element Parsed {"raw_longitude":761521088,"raw_latitude":103023552,"longitude_deg":76.1521088,"latitude_deg":10.3023552,"altitude":5,"angle":347,"satellites":47,"speed":43,"hex_longitude":"2d63e3c0","hex_latitude":"062403c0","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100183552001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365581465842352128,"note":"Value kept but may cause issues"} 
[2026-08-01 06:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7200200299374465024,"note":"Value kept but may cause issues"} 
[2026-08-01 06:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785547600000,"timestamp_ms":1785547600000,"timestamp_seconds":1785547600,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaee3080"} 
[2026-08-01 06:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:58: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-08-01 06: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-01 06:58:02] 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-08-01 06: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-08-01 06:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":148405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":148405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":148405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100183552001,"66":27604,"253":206,"19":40704,"24":43,"16":365581465842352128,"45":7200200299374465024},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,19,24,16,45]} 
[2026-08-01 06:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100183552001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:58:02] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-08-01 06:58:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-08-01 06:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365581465842352128,"km_value":365581465842352.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7200200299374465024,"description":"Unknown IO ID 45"} 
[2026-08-01 06:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100183552001,"power":27604,"unknown_253":206,"unknown_19":40704,"ignition":43,"odometer":null,"unknown_45":7200200299374465024}} 
[2026-08-01 06:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":148405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:58:02] local.INFO: GPS data processed {"connection_id":148405,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:58:02] local.INFO: Acknowledgment sent {"connection_id":148405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:58:43] local.INFO: TCP Data received {"connection_id":147091,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147091,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:58:43] local.INFO: Processing buffer {"connection_id":147091,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:58:43] local.INFO: IMEI packet received {"connection_id":147091,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 06:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":147091,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:58:43] local.INFO: TCP Data received {"connection_id":147091,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147091,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:58:43] local.INFO: Processing buffer {"connection_id":147091,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:58:43] local.INFO: IMEI packet received {"connection_id":147091,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":147091,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:58:45] local.INFO: TCP Data received {"connection_id":147092,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:58:45] local.INFO: Processing buffer {"connection_id":147092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:58:45] local.INFO: IMEI packet received {"connection_id":147092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 06:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":147092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:58:47] local.INFO: TCP Data received {"connection_id":147091,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147091,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:58:47] local.INFO: Processing buffer {"connection_id":147091,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:58:47] local.INFO: IMEI packet received {"connection_id":147091,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":147091,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:58:48] local.INFO: TCP Data received {"connection_id":147091,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaeeff88012d7a5d0005bdd450000301612d..."} 
[2026-08-01 06:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaeeff88012d7a5d0005bdd450000301612d..."} 
[2026-08-01 06:58:48] local.INFO: Processing buffer {"connection_id":147091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaeeff88012d7a5d0005bdd450000301612d..."} 
[2026-08-01 06:58:48] local.INFO: Packet analysis {"connection_id":147091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaee"} 
[2026-08-01 06:58:48] local.INFO: Extracted packet for processing {"connection_id":147091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaee"} 
[2026-08-01 06:58:48] local.INFO: GPS Element Parsed {"raw_longitude":762993920,"raw_latitude":96326736,"longitude_deg":76.299392,"latitude_deg":9.6326736,"altitude":3,"angle":353,"satellites":45,"speed":48,"hex_longitude":"2d7a5d00","hex_latitude":"05bdd450","is_valid_coordinates":true} 
[2026-08-01 06:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100197376001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113382240351682560,"note":"Value kept but may cause issues"} 
[2026-08-01 06:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818048095048546304,"note":"Value kept but may cause issues"} 
[2026-08-01 06:58:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785547653000,"timestamp_ms":1785547653000,"timestamp_seconds":1785547653,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaeeff88"} 
[2026-08-01 06:58:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:58: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-08-01 06:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-01 06:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751616718,"note":"Value kept but may cause issues"} 
[2026-08-01 06:58:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-01 06:58:48] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3136155160,"note":"Value kept but may cause issues"} 
[2026-08-01 06:58:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":55297,"corrected_to":0} 
[2026-08-01 06:58:48] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635021297214215,"note":"Value kept but may cause issues"} 
[2026-08-01 06:58:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6497568396748521482,"note":"Value kept but may cause issues"} 
[2026-08-01 06:58:48] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-01 06:58:48] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13460231,"corrected_to":0} 
[2026-08-01 06:58:48] local.WARNING: Large IO value detected {"io_id":206,"raw_value":3472883712,"note":"Value kept but may cause issues"} 
[2026-08-01 06:58:48] local.WARNING: Large IO value detected {"io_id":186,"raw_value":3997947905,"note":"Value kept but may cause issues"} 
[2026-08-01 06:58:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1661403342,"corrected_to":0} 
[2026-08-01 06:58:48] local.WARNING: Large IO value detected {"io_id":105,"raw_value":2147859732,"note":"Value kept but may cause issues"} 
[2026-08-01 06:58:48] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-01 06:58:48] local.WARNING: Large IO value detected {"io_id":146,"raw_value":3462397952,"note":"Value kept but may cause issues"} 
[2026-08-01 06:58:48] local.WARNING: Large IO value detected {"io_id":122,"raw_value":7584068082131795968,"note":"Value kept but may cause issues"} 
[2026-08-01 06:58:48] local.WARNING: Large IO value detected {"io_id":52,"raw_value":7566273199185382997,"note":"Value kept but may cause issues"} 
[2026-08-01 06:58:48] local.WARNING: Large IO value detected {"io_id":49,"raw_value":6755433800925425,"note":"Value kept but may cause issues"} 
[2026-08-01 06:58:48] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,7,85,24,241,157,16,208,159,200,45,192,133,4,43,10,66,207,173,97,44,138,1,240,203,227,206,186,189,113,205,5,64,105,41,239,53,2,146,122,52,49],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":200,"original":55297,"validated":0},{"io_id":203,"original":13460231,"validated":0},{"io_id":205,"original":1661403342,"validated":0}]} 
[2026-08-01 06:58:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216563293429104640,"timestamp_seconds":216563293429104.62,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 06:58:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:58:48] 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-08-01 06:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100197376001,"66":13613,"7":206,"85":12544,"24":48,"16":113382240351682560,"45":8818048095048546304},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-01 06:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100197376001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:58:48] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-01 06:58:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-01 06:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113382240351682560,"km_value":113382240351682.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818048095048546304,"description":"Unknown IO ID 45"} 
[2026-08-01 06:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100197376001,"power":13613,"unknown_7":206,"unknown_85":12544,"ignition":48,"odometer":null,"unknown_45":8818048095048546304}} 
[2026-08-01 06:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":147091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576130,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:58:48] local.INFO: GPS data processed {"connection_id":147091,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:58:48] local.INFO: Acknowledgment sent {"connection_id":147091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:58:51] local.INFO: TCP Data received {"connection_id":147092,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:58:51] local.INFO: Processing buffer {"connection_id":147092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 06:58:51] local.INFO: IMEI packet received {"connection_id":147092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 06:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":147092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:58:51] local.INFO: TCP Data received {"connection_id":147092,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaee4fc0012d63da8006242568000501592f..."} 
[2026-08-01 06:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaee4fc0012d63da8006242568000501592f..."} 
[2026-08-01 06:58:51] local.INFO: Processing buffer {"connection_id":147092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaee4fc0012d63da8006242568000501592f..."} 
[2026-08-01 06:58:51] local.INFO: Packet analysis {"connection_id":147092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaee"} 
[2026-08-01 06:58:51] local.INFO: Extracted packet for processing {"connection_id":147092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaee"} 
[2026-08-01 06:58:51] local.INFO: GPS Element Parsed {"raw_longitude":761518720,"raw_latitude":103032168,"longitude_deg":76.151872,"latitude_deg":10.3032168,"altitude":5,"angle":345,"satellites":47,"speed":43,"hex_longitude":"2d63da80","hex_latitude":"06242568","is_valid_coordinates":true} 
[2026-08-01 06: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-08-01 06:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100185600001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365581899634049024,"note":"Value kept but may cause issues"} 
[2026-08-01 06:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7197807762074746880,"note":"Value kept but may cause issues"} 
[2026-08-01 06:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785547608000,"timestamp_ms":1785547608000,"timestamp_seconds":1785547608,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaee4fc0"} 
[2026-08-01 06:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:58: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-08-01 06: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-01 06:58:51] 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-08-01 06: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-08-01 06:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":147092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":147092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":147092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100185600001,"66":27626,"253":206,"19":40704,"24":43,"16":365581899634049024,"45":7197807762074746880},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,19,24,16,45]} 
[2026-08-01 06:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100185600001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:58:51] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-08-01 06:58:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-08-01 06:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365581899634049024,"km_value":365581899634049.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":7197807762074746880,"description":"Unknown IO ID 45"} 
[2026-08-01 06:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100185600001,"power":27626,"unknown_253":206,"unknown_19":40704,"ignition":43,"odometer":null,"unknown_45":7197807762074746880}} 
[2026-08-01 06:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":147092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:58:51] local.INFO: GPS data processed {"connection_id":147092,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:58:51] local.INFO: Acknowledgment sent {"connection_id":147092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:59:12] local.INFO: TCP Data received {"connection_id":148407,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148407,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:59:12] local.INFO: Processing buffer {"connection_id":148407,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:59:12] local.INFO: IMEI packet received {"connection_id":148407,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 06:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":148407,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 06:59:14] local.INFO: TCP Data received {"connection_id":148407,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148407,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:59:14] local.INFO: Processing buffer {"connection_id":148407,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:59:14] local.INFO: IMEI packet received {"connection_id":148407,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":148407,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:59:17] local.INFO: TCP Data received {"connection_id":148407,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148407,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:59:17] local.INFO: Processing buffer {"connection_id":148407,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 06:59:17] local.INFO: IMEI packet received {"connection_id":148407,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 06:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":148407,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 06:59:18] local.INFO: TCP Data received {"connection_id":148407,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaf02c50012d7a3a8005bf3e98000000062b..."} 
[2026-08-01 06:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaf02c50012d7a3a8005bf3e98000000062b..."} 
[2026-08-01 06:59:18] local.INFO: Processing buffer {"connection_id":148407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaf02c50012d7a3a8005bf3e98000000062b..."} 
[2026-08-01 06:59:18] local.INFO: Packet analysis {"connection_id":148407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaf0"} 
[2026-08-01 06:59:18] local.INFO: Extracted packet for processing {"connection_id":148407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaf0"} 
[2026-08-01 06:59:18] local.INFO: GPS Element Parsed {"raw_longitude":762985088,"raw_latitude":96419480,"longitude_deg":76.2985088,"latitude_deg":9.641948,"altitude":0,"angle":6,"satellites":43,"speed":16,"hex_longitude":"2d7a3a80","hex_latitude":"05bf3e98","is_valid_coordinates":true} 
[2026-08-01 06:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:59:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100216576001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:59:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808337208376399872,"note":"Value kept but may cause issues"} 
[2026-08-01 06:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113386784427081728,"note":"Value kept but may cause issues"} 
[2026-08-01 06:59:18] 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-08-01 06:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785547730000,"timestamp_ms":1785547730000,"timestamp_seconds":1785547730,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaf02c50"} 
[2026-08-01 06:59:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:59: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-08-01 06:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-01 06:59:18] 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-08-01 06:59:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:59:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":148407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":148407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":148407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:59:18] 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-08-01 06:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:59:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100216576001,"66":13472,"45":8808337208376399872,"85":12288,"24":16,"16":113386784427081728},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-01 06:59:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:59:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:59:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100216576001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:59:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808337208376399872,"description":"Unknown IO ID 45"} 
[2026-08-01 06:59:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 06:59:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113386784427081728,"km_value":113386784427081.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:59:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457100216576001,"power":13472,"unknown_45":8808337208376399872,"unknown_85":12288,"ignition":16,"odometer":null}} 
[2026-08-01 06:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":148407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576132,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:59:18] local.INFO: GPS data processed {"connection_id":148407,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:59:18] local.INFO: Acknowledgment sent {"connection_id":148407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:59:23] local.INFO: TCP Data received {"connection_id":147092,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaee6f00012d63d48006244310000500012d..."} 
[2026-08-01 06:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaee6f00012d63d48006244310000500012d..."} 
[2026-08-01 06:59:23] local.INFO: Processing buffer {"connection_id":147092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaee6f00012d63d48006244310000500012d..."} 
[2026-08-01 06:59:23] local.INFO: Packet analysis {"connection_id":147092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaee"} 
[2026-08-01 06:59:23] local.INFO: Extracted packet for processing {"connection_id":147092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaee"} 
[2026-08-01 06:59:23] local.INFO: GPS Element Parsed {"raw_longitude":761517184,"raw_latitude":103039760,"longitude_deg":76.1517184,"latitude_deg":10.303976,"altitude":5,"angle":1,"satellites":45,"speed":32,"hex_longitude":"2d63d480","hex_latitude":"06244310","is_valid_coordinates":true} 
[2026-08-01 06:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100187648001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365582277591171072,"note":"Value kept but may cause issues"} 
[2026-08-01 06:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7195204118542379008,"note":"Value kept but may cause issues"} 
[2026-08-01 06:59:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 06:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785547616000,"timestamp_ms":1785547616000,"timestamp_seconds":1785547616,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaee6f00"} 
[2026-08-01 06:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:59:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-01 06:59:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06:59:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":147092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":147092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":147092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:59:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100187648001,"66":27604,"253":206,"19":40704,"24":32,"16":365582277591171072,"45":7195204118542379008},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,19,24,16,45]} 
[2026-08-01 06:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100187648001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:59:23] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-08-01 06:59:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-08-01 06:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365582277591171072,"km_value":365582277591171.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":7195204118542379008,"description":"Unknown IO ID 45"} 
[2026-08-01 06:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100187648001,"power":27604,"unknown_253":206,"unknown_19":40704,"ignition":32,"odometer":null,"unknown_45":7195204118542379008}} 
[2026-08-01 06:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":147092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:59:23] local.INFO: GPS data processed {"connection_id":147092,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:59:23] local.INFO: Acknowledgment sent {"connection_id":147092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:59:49] local.INFO: TCP Data received {"connection_id":148407,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaf03420012d7a3b4005bf40f0000000242b..."} 
[2026-08-01 06:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaf03420012d7a3b4005bf40f0000000242b..."} 
[2026-08-01 06:59:49] local.INFO: Processing buffer {"connection_id":148407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaf03420012d7a3b4005bf40f0000000242b..."} 
[2026-08-01 06:59:49] local.INFO: Packet analysis {"connection_id":148407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaf0"} 
[2026-08-01 06:59:49] local.INFO: Extracted packet for processing {"connection_id":148407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaf0"} 
[2026-08-01 06:59:49] local.INFO: GPS Element Parsed {"raw_longitude":762985280,"raw_latitude":96420080,"longitude_deg":76.298528,"latitude_deg":9.642008,"altitude":0,"angle":36,"satellites":43,"speed":13,"hex_longitude":"2d7a3b40","hex_latitude":"05bf40f0","is_valid_coordinates":true} 
[2026-08-01 06:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100218880001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8807492783448168448,"note":"Value kept but may cause issues"} 
[2026-08-01 06:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113386814491852800,"note":"Value kept but may cause issues"} 
[2026-08-01 06:59:49] 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-08-01 06:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785547732000,"timestamp_ms":1785547732000,"timestamp_seconds":1785547732,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaf03420"} 
[2026-08-01 06:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:59:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-01 06:59:49] 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-08-01 06:59:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 06:59:49] 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-08-01 06:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 06:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 06:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100218880001,"66":13472,"45":8807492783448168448,"85":12288,"24":13,"16":113386814491852800},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-01 06:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 06:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 06:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100218880001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8807492783448168448,"description":"Unknown IO ID 45"} 
[2026-08-01 06:59:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 06:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113386814491852800,"km_value":113386814491852.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:59:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457100218880001,"power":13472,"unknown_45":8807492783448168448,"unknown_85":12288,"ignition":13,"odometer":null}} 
[2026-08-01 06:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":148407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576134,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:59:49] local.INFO: GPS data processed {"connection_id":148407,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:59:49] local.INFO: Acknowledgment sent {"connection_id":148407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 06:59:55] local.INFO: TCP Data received {"connection_id":147092,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaf03808012d6361800625a590000501342a..."} 
[2026-08-01 06:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaf03808012d6361800625a590000501342a..."} 
[2026-08-01 06:59:55] local.INFO: Processing buffer {"connection_id":147092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaf03808012d6361800625a590000501342a..."} 
[2026-08-01 06:59:55] local.INFO: Packet analysis {"connection_id":147092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaf0"} 
[2026-08-01 06:59:55] local.INFO: Extracted packet for processing {"connection_id":147092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaf0"} 
[2026-08-01 06:59:55] local.INFO: GPS Element Parsed {"raw_longitude":761487744,"raw_latitude":103130512,"longitude_deg":76.1487744,"latitude_deg":10.3130512,"altitude":5,"angle":308,"satellites":42,"speed":42,"hex_longitude":"2d636180","hex_latitude":"0625a590","is_valid_coordinates":true} 
[2026-08-01 06:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 06:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100219136001,"note":"Value kept but may cause issues"} 
[2026-08-01 06:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365586933335719936,"note":"Value kept but may cause issues"} 
[2026-08-01 06:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7162693758757074944,"note":"Value kept but may cause issues"} 
[2026-08-01 06:59:55] 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-08-01 06:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785547733000,"timestamp_ms":1785547733000,"timestamp_seconds":1785547733,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaf03808"} 
[2026-08-01 06:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 06:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 06:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 06:59:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 06:59:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 06:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 06:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 06:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":147092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 06:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":147092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":147092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 06:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 06:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 06:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 06:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100219136001,"66":27593,"12":206,"19":40192,"24":42,"16":365586933335719936,"45":7162693758757074944},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-08-01 06:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 06:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 06:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100219136001,"description":"Unknown IO ID 0"} 
[2026-08-01 06:59:55] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-01 06:59:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-08-01 06:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365586933335719936,"km_value":365586933335719.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 06:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":7162693758757074944,"description":"Unknown IO ID 45"} 
[2026-08-01 06:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100219136001,"power":27593,"unknown_12":206,"unknown_19":40192,"ignition":42,"odometer":null,"unknown_45":7162693758757074944}} 
[2026-08-01 06:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":147092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 06:59:55] local.INFO: GPS data processed {"connection_id":147092,"processed":1,"errors":0,"total":1} 
[2026-08-01 06:59:55] local.INFO: Acknowledgment sent {"connection_id":147092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:00:07] local.INFO: TCP Data received {"connection_id":148408,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148408,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:00:07] local.INFO: Processing buffer {"connection_id":148408,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:00:07] local.INFO: IMEI packet received {"connection_id":148408,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":148408,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:00:12] local.INFO: TCP Data received {"connection_id":148408,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148408,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:00:12] local.INFO: Processing buffer {"connection_id":148408,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:00:12] local.INFO: IMEI packet received {"connection_id":148408,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":148408,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:00:15] local.INFO: TCP Data received {"connection_id":148408,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaf03808012d7a3c8005bf41800000003c2b..."} 
[2026-08-01 07:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaf03808012d7a3c8005bf41800000003c2b..."} 
[2026-08-01 07:00:15] local.INFO: Processing buffer {"connection_id":148408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaf03808012d7a3c8005bf41800000003c2b..."} 
[2026-08-01 07:00:15] local.INFO: Packet analysis {"connection_id":148408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaf0"} 
[2026-08-01 07:00:15] local.INFO: Extracted packet for processing {"connection_id":148408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaf0"} 
[2026-08-01 07:00:15] local.INFO: GPS Element Parsed {"raw_longitude":762985600,"raw_latitude":96420224,"longitude_deg":76.29856,"latitude_deg":9.6420224,"altitude":0,"angle":60,"satellites":43,"speed":12,"hex_longitude":"2d7a3c80","hex_latitude":"05bf4180","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100219392001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8807703889680855040,"note":"Value kept but may cause issues"} 
[2026-08-01 07:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113386831671721984,"note":"Value kept but may cause issues"} 
[2026-08-01 07:00:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-01 07:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785547733000,"timestamp_ms":1785547733000,"timestamp_seconds":1785547733,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaf03808"} 
[2026-08-01 07:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07: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-08-01 07: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-01 07:00:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07: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-08-01 07:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148408,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148408,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:00:15] 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-08-01 07:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100219392001,"66":13428,"45":8807703889680855040,"85":12288,"24":12,"16":113386831671721984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-01 07:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100219392001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8807703889680855040,"description":"Unknown IO ID 45"} 
[2026-08-01 07:00:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 07:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113386831671721984,"km_value":113386831671721.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:00:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457100219392001,"power":13428,"unknown_45":8807703889680855040,"unknown_85":12288,"ignition":12,"odometer":null}} 
[2026-08-01 07:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":148408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576136,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:00:15] local.INFO: GPS data processed {"connection_id":148408,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:00:15] local.INFO: Acknowledgment sent {"connection_id":148408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:00:26] local.INFO: TCP Data received {"connection_id":147092,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaf05360012d634b800625b720000501422a..."} 
[2026-08-01 07:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaf05360012d634b800625b720000501422a..."} 
[2026-08-01 07:00:26] local.INFO: Processing buffer {"connection_id":147092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaf05360012d634b800625b720000501422a..."} 
[2026-08-01 07:00:26] local.INFO: Packet analysis {"connection_id":147092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaf0"} 
[2026-08-01 07:00:26] local.INFO: Extracted packet for processing {"connection_id":147092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaf0"} 
[2026-08-01 07:00:26] local.INFO: GPS Element Parsed {"raw_longitude":761482112,"raw_latitude":103135008,"longitude_deg":76.1482112,"latitude_deg":10.3135008,"altitude":5,"angle":322,"satellites":42,"speed":38,"hex_longitude":"2d634b80","hex_latitude":"0625b720","is_valid_coordinates":true} 
[2026-08-01 07:00:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:00:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100219648001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:00:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365587281228070912,"note":"Value kept but may cause issues"} 
[2026-08-01 07:00:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7161145646385565696,"note":"Value kept but may cause issues"} 
[2026-08-01 07:00:26] 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-08-01 07:00:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785547740000,"timestamp_ms":1785547740000,"timestamp_seconds":1785547740,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaf05360"} 
[2026-08-01 07:00:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:00:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:00:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-01 07:00:26] 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-08-01 07:00:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:00:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:00:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:00:26] local.INFO: Teltonika packet parsed successfully {"connection_id":147092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:00:26] local.INFO: Passing IMEI to GPS processor {"connection_id":147092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:00:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":147092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:00:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:00:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:00:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:00:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100219648001,"66":27571,"12":206,"19":40192,"24":38,"16":365587281228070912,"45":7161145646385565696},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-08-01 07:00:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:00:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:00:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100219648001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:00:26] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-01 07:00:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-08-01 07:00:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365587281228070912,"km_value":365587281228070.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:00:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":7161145646385565696,"description":"Unknown IO ID 45"} 
[2026-08-01 07:00:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100219648001,"power":27571,"unknown_12":206,"unknown_19":40192,"ignition":38,"odometer":null,"unknown_45":7161145646385565696}} 
[2026-08-01 07:00:26] local.INFO: DEBUG: GPS processor result {"connection_id":147092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:00:26] local.INFO: GPS data processed {"connection_id":147092,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:00:26] local.INFO: Acknowledgment sent {"connection_id":147092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:00:46] local.INFO: TCP Data received {"connection_id":148408,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaf03bf0012d7a3e0005bf4190000000542b..."} 
[2026-08-01 07:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaf03bf0012d7a3e0005bf4190000000542b..."} 
[2026-08-01 07:00:46] local.INFO: Processing buffer {"connection_id":148408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaf03bf0012d7a3e0005bf4190000000542b..."} 
[2026-08-01 07:00:46] local.INFO: Packet analysis {"connection_id":148408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaf0"} 
[2026-08-01 07:00:46] local.INFO: Extracted packet for processing {"connection_id":148408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaf0"} 
[2026-08-01 07:00:46] local.INFO: GPS Element Parsed {"raw_longitude":762985984,"raw_latitude":96420240,"longitude_deg":76.2985984,"latitude_deg":9.642024,"altitude":0,"angle":84,"satellites":43,"speed":13,"hex_longitude":"2d7a3e00","hex_latitude":"05bf4190","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100219648001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808055733401780224,"note":"Value kept but may cause issues"} 
[2026-08-01 07:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113386848851591168,"note":"Value kept but may cause issues"} 
[2026-08-01 07:00:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-01 07:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785547734000,"timestamp_ms":1785547734000,"timestamp_seconds":1785547734,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaf03bf0"} 
[2026-08-01 07:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07: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-08-01 07: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-01 07:00:46] 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-08-01 07: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-08-01 07:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":148408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":148408,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":148408,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:00:46] 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-08-01 07:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100219648001,"66":13428,"45":8808055733401780224,"85":12288,"24":13,"16":113386848851591168},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-01 07:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100219648001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808055733401780224,"description":"Unknown IO ID 45"} 
[2026-08-01 07:00:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 07:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113386848851591168,"km_value":113386848851591.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:00:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457100219648001,"power":13428,"unknown_45":8808055733401780224,"unknown_85":12288,"ignition":13,"odometer":null}} 
[2026-08-01 07:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":148408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576138,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:00:46] local.INFO: GPS data processed {"connection_id":148408,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:00:46] local.INFO: Acknowledgment sent {"connection_id":148408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:00:57] local.INFO: TCP Data received {"connection_id":147092,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaf07688012d6338000625d4c00005014b26..."} 
[2026-08-01 07:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaf07688012d6338000625d4c00005014b26..."} 
[2026-08-01 07:00:57] local.INFO: Processing buffer {"connection_id":147092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaf07688012d6338000625d4c00005014b26..."} 
[2026-08-01 07:00:57] local.INFO: Packet analysis {"connection_id":147092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaf0"} 
[2026-08-01 07:00:57] local.INFO: Extracted packet for processing {"connection_id":147092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaf0"} 
[2026-08-01 07:00:57] local.INFO: GPS Element Parsed {"raw_longitude":761477120,"raw_latitude":103142592,"longitude_deg":76.147712,"latitude_deg":10.3142592,"altitude":5,"angle":331,"satellites":38,"speed":41,"hex_longitude":"2d633800","hex_latitude":"0625d4c0","is_valid_coordinates":true} 
[2026-08-01 07:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:00:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100221440001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:00:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365587719314735104,"note":"Value kept but may cause issues"} 
[2026-08-01 07:00:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7154953196899082240,"note":"Value kept but may cause issues"} 
[2026-08-01 07:00:57] 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-08-01 07:00:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785547749000,"timestamp_ms":1785547749000,"timestamp_seconds":1785547749,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaf07688"} 
[2026-08-01 07:00:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:00:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-01 07:00:57] 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-08-01 07:00:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:00:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:00:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:00:57] local.INFO: Teltonika packet parsed successfully {"connection_id":147092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:00:57] local.INFO: Passing IMEI to GPS processor {"connection_id":147092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:00:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":147092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:00:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:00:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:00:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:00:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100221440001,"66":27593,"12":206,"19":40192,"24":41,"16":365587719314735104,"45":7154953196899082240},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-08-01 07:00:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:00:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:00:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100221440001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:00:57] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-01 07:00:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-08-01 07:00:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365587719314735104,"km_value":365587719314735.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:00:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":7154953196899082240,"description":"Unknown IO ID 45"} 
[2026-08-01 07:00:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100221440001,"power":27593,"unknown_12":206,"unknown_19":40192,"ignition":41,"odometer":null,"unknown_45":7154953196899082240}} 
[2026-08-01 07:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":147092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:00:58] local.INFO: GPS data processed {"connection_id":147092,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:00:58] local.INFO: Acknowledgment sent {"connection_id":147092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:01:08] local.INFO: TCP Data received {"connection_id":145881,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145881,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:01:08] local.INFO: Processing buffer {"connection_id":145881,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:01:08] local.INFO: IMEI packet received {"connection_id":145881,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":145881,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:01:12] local.INFO: TCP Data received {"connection_id":145881,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145881,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:01:12] local.INFO: Processing buffer {"connection_id":145881,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:01:12] local.INFO: IMEI packet received {"connection_id":145881,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":145881,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:01:18] local.INFO: TCP Data received {"connection_id":145881,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145881,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:01:18] local.INFO: Processing buffer {"connection_id":145881,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:01:18] local.INFO: IMEI packet received {"connection_id":145881,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":145881,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:01:18] local.INFO: TCP Data received {"connection_id":145881,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaf08628012d7a62c005bf40c8000200592d..."} 
[2026-08-01 07:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaf08628012d7a62c005bf40c8000200592d..."} 
[2026-08-01 07:01:18] local.INFO: Processing buffer {"connection_id":145881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaf08628012d7a62c005bf40c8000200592d..."} 
[2026-08-01 07:01:18] local.INFO: Packet analysis {"connection_id":145881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaf0"} 
[2026-08-01 07:01:18] local.INFO: Extracted packet for processing {"connection_id":145881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaf0"} 
[2026-08-01 07:01:18] local.INFO: GPS Element Parsed {"raw_longitude":762995392,"raw_latitude":96420040,"longitude_deg":76.2995392,"latitude_deg":9.642004,"altitude":2,"angle":89,"satellites":45,"speed":37,"hex_longitude":"2d7a62c0","hex_latitude":"05bf40c8","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100219904001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:01:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808477945866850304,"note":"Value kept but may cause issues"} 
[2026-08-01 07:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113387299823157248,"note":"Value kept but may cause issues"} 
[2026-08-01 07:01:18] 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-08-01 07:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785547753000,"timestamp_ms":1785547753000,"timestamp_seconds":1785547753,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaf08628"} 
[2026-08-01 07:01:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:01: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-08-01 07: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-01 07:01:18] 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-08-01 07: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-08-01 07:01:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":145881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":145881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":145881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:01:18] 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-08-01 07:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100219904001,"66":13493,"45":8808477945866850304,"85":12288,"24":37,"16":113387299823157248},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-01 07:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100219904001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:01:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808477945866850304,"description":"Unknown IO ID 45"} 
[2026-08-01 07:01:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 07:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113387299823157248,"km_value":113387299823157.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:01:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457100219904001,"power":13493,"unknown_45":8808477945866850304,"unknown_85":12288,"ignition":37,"odometer":null}} 
[2026-08-01 07:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":145881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576140,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:01:18] local.INFO: GPS data processed {"connection_id":145881,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:01:18] local.INFO: Acknowledgment sent {"connection_id":145881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:01:22] local.INFO: TCP Data received {"connection_id":145881,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaf0ad38012d7a894005bf41600002005b2c..."} 
[2026-08-01 07:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaf0ad38012d7a894005bf41600002005b2c..."} 
[2026-08-01 07:01:22] local.INFO: Processing buffer {"connection_id":145881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaf0ad38012d7a894005bf41600002005b2c..."} 
[2026-08-01 07:01:22] local.INFO: Packet analysis {"connection_id":145881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaf0"} 
[2026-08-01 07:01:22] local.INFO: Extracted packet for processing {"connection_id":145881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaf0"} 
[2026-08-01 07:01:22] local.INFO: GPS Element Parsed {"raw_longitude":763005248,"raw_latitude":96420192,"longitude_deg":76.3005248,"latitude_deg":9.6420192,"altitude":2,"angle":91,"satellites":44,"speed":38,"hex_longitude":"2d7a8940","hex_latitude":"05bf4160","is_valid_coordinates":true} 
[2026-08-01 07:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100224768001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:01:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818822151260915712,"note":"Value kept but may cause issues"} 
[2026-08-01 07:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113387767974592512,"note":"Value kept but may cause issues"} 
[2026-08-01 07:01:22] 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-08-01 07:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785547763000,"timestamp_ms":1785547763000,"timestamp_seconds":1785547763,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaf0ad38"} 
[2026-08-01 07:01:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:01:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-01 07:01:22] 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-08-01 07:01:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:01:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":145881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":145881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":145881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:01:22] 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-08-01 07:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100224768001,"66":13602,"45":8818822151260915712,"85":12288,"24":38,"16":113387767974592512},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-01 07:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100224768001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:01:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818822151260915712,"description":"Unknown IO ID 45"} 
[2026-08-01 07:01:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 07:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113387767974592512,"km_value":113387767974592.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:01:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457100224768001,"power":13602,"unknown_45":8818822151260915712,"unknown_85":12288,"ignition":38,"odometer":null}} 
[2026-08-01 07:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":145881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576141,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:01:22] local.INFO: GPS data processed {"connection_id":145881,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:01:22] local.INFO: Acknowledgment sent {"connection_id":145881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:01:29] local.INFO: TCP Data received {"connection_id":147092,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaf099b0012d6325c00625f4e80006014b28..."} 
[2026-08-01 07:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaf099b0012d6325c00625f4e80006014b28..."} 
[2026-08-01 07:01:29] local.INFO: Processing buffer {"connection_id":147092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaf099b0012d6325c00625f4e80006014b28..."} 
[2026-08-01 07:01:29] local.INFO: Packet analysis {"connection_id":147092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaf0"} 
[2026-08-01 07:01:29] local.INFO: Extracted packet for processing {"connection_id":147092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaf0"} 
[2026-08-01 07:01:29] local.INFO: GPS Element Parsed {"raw_longitude":761472448,"raw_latitude":103150824,"longitude_deg":76.1472448,"latitude_deg":10.3150824,"altitude":6,"angle":331,"satellites":40,"speed":42,"hex_longitude":"2d6325c0","hex_latitude":"0625f4e8","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100223744001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365588178876235776,"note":"Value kept but may cause issues"} 
[2026-08-01 07:01:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7149464434855165952,"note":"Value kept but may cause issues"} 
[2026-08-01 07:01:29] 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-08-01 07:01:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785547758000,"timestamp_ms":1785547758000,"timestamp_seconds":1785547758,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaf099b0"} 
[2026-08-01 07:01:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07: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-08-01 07: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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-01 07:01:29] 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-08-01 07: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-08-01 07:01:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:01:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:01:29] local.INFO: Teltonika packet parsed successfully {"connection_id":147092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:01:29] local.INFO: Passing IMEI to GPS processor {"connection_id":147092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:01:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":147092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:01:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:01:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:01:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:01:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100223744001,"66":27604,"12":206,"19":40192,"24":42,"16":365588178876235776,"45":7149464434855165952},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-08-01 07:01:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:01:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:01:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100223744001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:01:29] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-01 07:01:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-08-01 07:01:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365588178876235776,"km_value":365588178876235.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:01:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":7149464434855165952,"description":"Unknown IO ID 45"} 
[2026-08-01 07:01:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100223744001,"power":27604,"unknown_12":206,"unknown_19":40192,"ignition":42,"odometer":null,"unknown_45":7149464434855165952}} 
[2026-08-01 07:01:29] local.INFO: DEBUG: GPS processor result {"connection_id":147092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:01:29] local.INFO: GPS data processed {"connection_id":147092,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:01:29] local.INFO: Acknowledgment sent {"connection_id":147092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:01:45] local.INFO: TCP Data received {"connection_id":148409,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:01:45] local.INFO: Processing buffer {"connection_id":148409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:01:45] local.INFO: IMEI packet received {"connection_id":148409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":148409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:01:51] local.INFO: TCP Data received {"connection_id":148409,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:01:51] local.INFO: Processing buffer {"connection_id":148409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:01:51] local.INFO: IMEI packet received {"connection_id":148409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":148409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:01:52] local.INFO: TCP Data received {"connection_id":148409,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaf0b120012d631c4006260b380007015627..."} 
[2026-08-01 07:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaf0b120012d631c4006260b380007015627..."} 
[2026-08-01 07:01:52] local.INFO: Processing buffer {"connection_id":148409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaf0b120012d631c4006260b380007015627..."} 
[2026-08-01 07:01:52] local.INFO: Packet analysis {"connection_id":148409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaf0"} 
[2026-08-01 07:01:52] local.INFO: Extracted packet for processing {"connection_id":148409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaf0"} 
[2026-08-01 07:01:52] local.INFO: GPS Element Parsed {"raw_longitude":761470016,"raw_latitude":103156536,"longitude_deg":76.1470016,"latitude_deg":10.3156536,"altitude":7,"angle":342,"satellites":39,"speed":34,"hex_longitude":"2d631c40","hex_latitude":"06260b38","is_valid_coordinates":true} 
[2026-08-01 07:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100226048001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365588479523946496,"note":"Value kept but may cause issues"} 
[2026-08-01 07:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7144327516532303872,"note":"Value kept but may cause issues"} 
[2026-08-01 07:01:52] 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-08-01 07:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785547764000,"timestamp_ms":1785547764000,"timestamp_seconds":1785547764,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaf0b120"} 
[2026-08-01 07:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-01 07:01:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:01:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:01:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100226048001,"66":27745,"12":206,"19":40192,"24":34,"16":365588479523946496,"45":7144327516532303872},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-08-01 07:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100226048001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:01:52] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-01 07:01:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-08-01 07:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365588479523946496,"km_value":365588479523946.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":7144327516532303872,"description":"Unknown IO ID 45"} 
[2026-08-01 07:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100226048001,"power":27745,"unknown_12":206,"unknown_19":40192,"ignition":34,"odometer":null,"unknown_45":7144327516532303872}} 
[2026-08-01 07:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":148409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:01:52] local.INFO: GPS data processed {"connection_id":148409,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:01:52] local.INFO: Acknowledgment sent {"connection_id":148409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:02:06] local.INFO: TCP Data received {"connection_id":148410,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148410,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:02:06] local.INFO: Processing buffer {"connection_id":148410,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:02:06] local.INFO: IMEI packet received {"connection_id":148410,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":148410,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:02:07] local.INFO: TCP Data received {"connection_id":148410,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148410,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:02:07] local.INFO: Processing buffer {"connection_id":148410,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:02:07] local.INFO: IMEI packet received {"connection_id":148410,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":148410,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:02:12] local.INFO: TCP Data received {"connection_id":148410,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148410,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:02:12] local.INFO: Processing buffer {"connection_id":148410,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:02:12] local.INFO: IMEI packet received {"connection_id":148410,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":148410,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:02:15] local.INFO: TCP Data received {"connection_id":148410,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaf2d018012d7c6e4005bf7c78000a004a2a..."} 
[2026-08-01 07:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaf2d018012d7c6e4005bf7c78000a004a2a..."} 
[2026-08-01 07:02:15] local.INFO: Processing buffer {"connection_id":148410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaf2d018012d7c6e4005bf7c78000a004a2a..."} 
[2026-08-01 07:02:15] local.INFO: Packet analysis {"connection_id":148410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaf2"} 
[2026-08-01 07:02:15] local.INFO: Extracted packet for processing {"connection_id":148410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaf2"} 
[2026-08-01 07:02:15] local.INFO: GPS Element Parsed {"raw_longitude":763129408,"raw_latitude":96435320,"longitude_deg":76.3129408,"latitude_deg":9.643532,"altitude":10,"angle":74,"satellites":42,"speed":31,"hex_longitude":"2d7c6e40","hex_latitude":"05bf7c78","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100262144001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113393780928806912,"note":"Value kept but may cause issues"} 
[2026-08-01 07:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962304020642947072,"note":"Value kept but may cause issues"} 
[2026-08-01 07:02:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785547903000,"timestamp_ms":1785547903000,"timestamp_seconds":1785547903,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaf2d018"} 
[2026-08-01 07:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:02:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-01 07:02:15] 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-08-01 07: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-08-01 07:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:02:15] 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-08-01 07:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100262144001,"66":13363,"109":206,"85":12288,"24":31,"16":113393780928806912,"45":8962304020642947072},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-01 07:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100262144001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:02:15] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-01 07:02:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 07:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113393780928806912,"km_value":113393780928806.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962304020642947072,"description":"Unknown IO ID 45"} 
[2026-08-01 07:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100262144001,"power":13363,"unknown_109":206,"unknown_85":12288,"ignition":31,"odometer":null,"unknown_45":8962304020642947072}} 
[2026-08-01 07:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":148410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576144,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:02:15] local.INFO: GPS data processed {"connection_id":148410,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:02:15] local.INFO: Acknowledgment sent {"connection_id":148410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:02:23] local.INFO: TCP Data received {"connection_id":148409,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaf2c078012d627d80062797280004014922..."} 
[2026-08-01 07:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaf2c078012d627d80062797280004014922..."} 
[2026-08-01 07:02:23] local.INFO: Processing buffer {"connection_id":148409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaf2c078012d627d80062797280004014922..."} 
[2026-08-01 07:02:23] local.INFO: Packet analysis {"connection_id":148409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaf2"} 
[2026-08-01 07:02:23] local.INFO: Extracted packet for processing {"connection_id":148409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaf2"} 
[2026-08-01 07:02:23] local.INFO: GPS Element Parsed {"raw_longitude":761429376,"raw_latitude":103257896,"longitude_deg":76.1429376,"latitude_deg":10.3257896,"altitude":4,"angle":329,"satellites":34,"speed":17,"hex_longitude":"2d627d80","hex_latitude":"06279728","is_valid_coordinates":true} 
[2026-08-01 07:02:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100261888001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365593878297837568,"note":"Value kept but may cause issues"} 
[2026-08-01 07:02:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7097180457960589312,"note":"Value kept but may cause issues"} 
[2026-08-01 07:02:23] 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-08-01 07:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785547899000,"timestamp_ms":1785547899000,"timestamp_seconds":1785547899,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaf2c078"} 
[2026-08-01 07:02:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:02:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:02:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-08-01 07:02:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1026,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:02:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:02:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":148409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":148409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":148409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:02:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100261888001,"66":27680,"12":206,"19":40192,"24":17,"16":365593878297837568,"45":7097180457960589312},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-08-01 07:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100261888001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:02:23] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-01 07:02:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-08-01 07:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365593878297837568,"km_value":365593878297837.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:02:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":7097180457960589312,"description":"Unknown IO ID 45"} 
[2026-08-01 07:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100261888001,"power":27680,"unknown_12":206,"unknown_19":40192,"ignition":17,"odometer":null,"unknown_45":7097180457960589312}} 
[2026-08-01 07:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":148409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:02:23] local.INFO: GPS data processed {"connection_id":148409,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:02:23] local.INFO: Acknowledgment sent {"connection_id":148409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:02:46] local.INFO: TCP Data received {"connection_id":148410,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaf2d7e8012d7c744005bf7ee80009003e2b..."} 
[2026-08-01 07:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaf2d7e8012d7c744005bf7ee80009003e2b..."} 
[2026-08-01 07:02:47] local.INFO: Processing buffer {"connection_id":148410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaf2d7e8012d7c744005bf7ee80009003e2b..."} 
[2026-08-01 07:02:47] local.INFO: Packet analysis {"connection_id":148410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaf2"} 
[2026-08-01 07:02:47] local.INFO: Extracted packet for processing {"connection_id":148410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaf2"} 
[2026-08-01 07:02:47] local.INFO: GPS Element Parsed {"raw_longitude":763130944,"raw_latitude":96435944,"longitude_deg":76.3130944,"latitude_deg":9.6435944,"altitude":9,"angle":62,"satellites":43,"speed":32,"hex_longitude":"2d7c7440","hex_latitude":"05bf7ee8","is_valid_coordinates":true} 
[2026-08-01 07:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100263168001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113393862533185536,"note":"Value kept but may cause issues"} 
[2026-08-01 07:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8966174301572855808,"note":"Value kept but may cause issues"} 
[2026-08-01 07:02:47] 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-08-01 07:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785547905000,"timestamp_ms":1785547905000,"timestamp_seconds":1785547905,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaf2d7e8"} 
[2026-08-01 07:02:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:02:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-01 07:02:47] 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-08-01 07:02:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:02:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":148410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":148410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":148410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:02:47] 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-08-01 07:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100263168001,"66":13363,"109":206,"85":12288,"24":32,"16":113393862533185536,"45":8966174301572855808},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-01 07:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100263168001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:02:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-01 07:02:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 07:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113393862533185536,"km_value":113393862533185.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8966174301572855808,"description":"Unknown IO ID 45"} 
[2026-08-01 07:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100263168001,"power":13363,"unknown_109":206,"unknown_85":12288,"ignition":32,"odometer":null,"unknown_45":8966174301572855808}} 
[2026-08-01 07:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":148410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576146,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:02:47] local.INFO: GPS data processed {"connection_id":148410,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:02:47] local.INFO: Acknowledgment sent {"connection_id":148410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:02:47] local.INFO: TCP Data received {"connection_id":147093,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:02:47] local.INFO: Processing buffer {"connection_id":147093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:02:47] local.INFO: IMEI packet received {"connection_id":147093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":147093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:02:50] local.INFO: TCP Data received {"connection_id":147093,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:02:50] local.INFO: Processing buffer {"connection_id":147093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:02:50] local.INFO: IMEI packet received {"connection_id":147093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":147093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:02:56] local.INFO: TCP Data received {"connection_id":147093,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:02:56] local.INFO: Processing buffer {"connection_id":147093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:02:56] local.INFO: IMEI packet received {"connection_id":147093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":147093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:02:58] local.INFO: TCP Data received {"connection_id":147093,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaf2c460012d627cc0062798e00004015a24..."} 
[2026-08-01 07:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaf2c460012d627cc0062798e00004015a24..."} 
[2026-08-01 07:02:58] local.INFO: Processing buffer {"connection_id":147093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaf2c460012d627cc0062798e00004015a24..."} 
[2026-08-01 07:02:58] local.INFO: Packet analysis {"connection_id":147093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaf2"} 
[2026-08-01 07:02:58] local.INFO: Extracted packet for processing {"connection_id":147093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaf2"} 
[2026-08-01 07:02:58] local.INFO: GPS Element Parsed {"raw_longitude":761429184,"raw_latitude":103258336,"longitude_deg":76.1429184,"latitude_deg":10.3258336,"altitude":4,"angle":346,"satellites":36,"speed":18,"hex_longitude":"2d627cc0","hex_latitude":"062798e0","is_valid_coordinates":true} 
[2026-08-01 07:02: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-08-01 07:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100262144001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365593899772674048,"note":"Value kept but may cause issues"} 
[2026-08-01 07:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7096969351728146432,"note":"Value kept but may cause issues"} 
[2026-08-01 07:02:58] 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-08-01 07:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785547900000,"timestamp_ms":1785547900000,"timestamp_seconds":1785547900,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaf2c460"} 
[2026-08-01 07:02:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:02: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-08-01 07:02: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":32,"data_length":795,"current_offset":136} 
[2026-08-01 07:02:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1026,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:02: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-08-01 07:02:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":147093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":147093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":147093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:02:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100262144001,"66":27626,"12":206,"19":40192,"24":18,"16":365593899772674048,"45":7096969351728146432},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-08-01 07:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100262144001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:02:58] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-01 07:02:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-08-01 07:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365593899772674048,"km_value":365593899772674.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7096969351728146432,"description":"Unknown IO ID 45"} 
[2026-08-01 07:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100262144001,"power":27626,"unknown_12":206,"unknown_19":40192,"ignition":18,"odometer":null,"unknown_45":7096969351728146432}} 
[2026-08-01 07:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":147093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:02:58] local.INFO: GPS data processed {"connection_id":147093,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:02:58] local.INFO: Acknowledgment sent {"connection_id":147093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:03:05] local.INFO: TCP Data received {"connection_id":148411,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148411,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:03:05] local.INFO: Processing buffer {"connection_id":148411,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:03:05] local.INFO: IMEI packet received {"connection_id":148411,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":148411,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:03:08] local.INFO: TCP Data received {"connection_id":148411,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148411,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:03:08] local.INFO: Processing buffer {"connection_id":148411,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:03:08] local.INFO: IMEI packet received {"connection_id":148411,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":148411,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:03:12] local.INFO: TCP Data received {"connection_id":148411,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148411,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:03:12] local.INFO: Processing buffer {"connection_id":148411,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:03:12] local.INFO: IMEI packet received {"connection_id":148411,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":148411,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:03:13] local.INFO: TCP Data received {"connection_id":148411,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaf2e788012d7c7f8005bf83b00009004c29..."} 
[2026-08-01 07:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaf2e788012d7c7f8005bf83b00009004c29..."} 
[2026-08-01 07:03:13] local.INFO: Processing buffer {"connection_id":148411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaf2e788012d7c7f8005bf83b00009004c29..."} 
[2026-08-01 07:03:13] local.INFO: Packet analysis {"connection_id":148411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaf2"} 
[2026-08-01 07:03:13] local.INFO: Extracted packet for processing {"connection_id":148411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaf2"} 
[2026-08-01 07:03:13] local.INFO: GPS Element Parsed {"raw_longitude":763133824,"raw_latitude":96437168,"longitude_deg":76.3133824,"latitude_deg":9.6437168,"altitude":9,"angle":76,"satellites":41,"speed":32,"hex_longitude":"2d7c7f80","hex_latitude":"05bf83b0","is_valid_coordinates":true} 
[2026-08-01 07:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100263680001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113394012857040896,"note":"Value kept but may cause issues"} 
[2026-08-01 07:03:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8967863151433279488,"note":"Value kept but may cause issues"} 
[2026-08-01 07:03:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785547909000,"timestamp_ms":1785547909000,"timestamp_seconds":1785547909,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaf2e788"} 
[2026-08-01 07:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:03:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-01 07:03:13] 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-08-01 07:03:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":148411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":148411,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":148411,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:03:13] 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-08-01 07:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100263680001,"66":13678,"109":206,"85":12288,"24":32,"16":113394012857040896,"45":8967863151433279488},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-01 07:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100263680001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:03:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-01 07:03:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 07:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113394012857040896,"km_value":113394012857040.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:03:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8967863151433279488,"description":"Unknown IO ID 45"} 
[2026-08-01 07:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100263680001,"power":13678,"unknown_109":206,"unknown_85":12288,"ignition":32,"odometer":null,"unknown_45":8967863151433279488}} 
[2026-08-01 07:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":148411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576148,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:03:13] local.INFO: GPS data processed {"connection_id":148411,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:03:13] local.INFO: Acknowledgment sent {"connection_id":148411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:03:31] local.INFO: TCP Data received {"connection_id":147093,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaf2cc30012d627c8006279ca00003016621..."} 
[2026-08-01 07:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaf2cc30012d627c8006279ca00003016621..."} 
[2026-08-01 07:03:31] local.INFO: Processing buffer {"connection_id":147093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaf2cc30012d627c8006279ca00003016621..."} 
[2026-08-01 07:03:31] local.INFO: Packet analysis {"connection_id":147093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaf2"} 
[2026-08-01 07:03:31] local.INFO: Extracted packet for processing {"connection_id":147093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaf2"} 
[2026-08-01 07:03:31] local.INFO: GPS Element Parsed {"raw_longitude":761429120,"raw_latitude":103259296,"longitude_deg":76.142912,"latitude_deg":10.3259296,"altitude":3,"angle":358,"satellites":33,"speed":18,"hex_longitude":"2d627c80","hex_latitude":"06279ca0","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100262400001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365593947017314304,"note":"Value kept but may cause issues"} 
[2026-08-01 07:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7096758245495726080,"note":"Value kept but may cause issues"} 
[2026-08-01 07:03:31] 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-08-01 07:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785547902000,"timestamp_ms":1785547902000,"timestamp_seconds":1785547902,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaf2cc30"} 
[2026-08-01 07:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:03: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-08-01 07: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-01 07:03:31] 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-08-01 07: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-08-01 07:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":147093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":147093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":147093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100262400001,"66":27484,"12":206,"19":40192,"24":18,"16":365593947017314304,"45":7096758245495726080},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-08-01 07:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100262400001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:03:31] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-01 07:03:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-08-01 07:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365593947017314304,"km_value":365593947017314.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":7096758245495726080,"description":"Unknown IO ID 45"} 
[2026-08-01 07:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100262400001,"power":27484,"unknown_12":206,"unknown_19":40192,"ignition":18,"odometer":null,"unknown_45":7096758245495726080}} 
[2026-08-01 07:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":147093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:03:31] local.INFO: GPS data processed {"connection_id":147093,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:03:31] local.INFO: Acknowledgment sent {"connection_id":147093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:03:43] local.INFO: TCP Data received {"connection_id":146076,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:03:43] local.INFO: Processing buffer {"connection_id":146076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:03:43] local.INFO: IMEI packet received {"connection_id":146076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":146076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:03:45] local.INFO: TCP Data received {"connection_id":148411,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaf47210012d7d374005bffae0000900142d..."} 
[2026-08-01 07:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaf47210012d7d374005bffae0000900142d..."} 
[2026-08-01 07:03:45] local.INFO: Processing buffer {"connection_id":148411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaf47210012d7d374005bffae0000900142d..."} 
[2026-08-01 07:03:45] local.INFO: Packet analysis {"connection_id":148411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaf4"} 
[2026-08-01 07:03:45] local.INFO: Extracted packet for processing {"connection_id":148411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaf4"} 
[2026-08-01 07:03:45] local.INFO: GPS Element Parsed {"raw_longitude":763180864,"raw_latitude":96467680,"longitude_deg":76.3180864,"latitude_deg":9.646768,"altitude":9,"angle":20,"satellites":45,"speed":36,"hex_longitude":"2d7d3740","hex_latitude":"05bffae0","is_valid_coordinates":true} 
[2026-08-01 07:03:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:03:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100289280001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:03:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113397427356041216,"note":"Value kept but may cause issues"} 
[2026-08-01 07:03:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019865653387595776,"note":"Value kept but may cause issues"} 
[2026-08-01 07:03:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:03:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785548010000,"timestamp_ms":1785548010000,"timestamp_seconds":1785548010,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaf47210"} 
[2026-08-01 07:03:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:03:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:03:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-01 07:03:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:03:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:03:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:03:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:03:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:03:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148411,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:03:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148411,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:03:45] 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-08-01 07:03:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:03:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:03:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100289280001,"66":13678,"10":206,"85":12288,"24":36,"16":113397427356041216,"45":9019865653387595776},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-08-01 07:03:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:03:45] local.INFO: TCP Data received {"connection_id":146076,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:03:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:03:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100289280001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:03:45] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-01 07:03:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 07:03:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113397427356041216,"km_value":113397427356041.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:03:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019865653387595776,"description":"Unknown IO ID 45"} 
[2026-08-01 07:03:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100289280001,"power":13678,"unknown_10":206,"unknown_85":12288,"ignition":36,"odometer":null,"unknown_45":9019865653387595776}} 
[2026-08-01 07:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:03:45] local.INFO: Processing buffer {"connection_id":146076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:03:45] local.INFO: IMEI packet received {"connection_id":146076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":146076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:03:45] local.INFO: DEBUG: GPS processor result {"connection_id":148411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576150,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:03:45] local.INFO: GPS data processed {"connection_id":148411,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:03:45] local.INFO: Acknowledgment sent {"connection_id":148411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:03:50] local.INFO: TCP Data received {"connection_id":146076,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:03:50] local.INFO: Processing buffer {"connection_id":146076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:03:50] local.INFO: IMEI packet received {"connection_id":146076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":146076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:03:52] local.INFO: TCP Data received {"connection_id":146076,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaf2dfb8012d627a800627a7500002015a24..."} 
[2026-08-01 07:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaf2dfb8012d627a800627a7500002015a24..."} 
[2026-08-01 07:03:52] local.INFO: Processing buffer {"connection_id":146076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaf2dfb8012d627a800627a7500002015a24..."} 
[2026-08-01 07:03:52] local.INFO: Packet analysis {"connection_id":146076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaf2"} 
[2026-08-01 07:03:52] local.INFO: Extracted packet for processing {"connection_id":146076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaf2"} 
[2026-08-01 07:03:52] local.INFO: GPS Element Parsed {"raw_longitude":761428608,"raw_latitude":103262032,"longitude_deg":76.1428608,"latitude_deg":10.3262032,"altitude":2,"angle":346,"satellites":36,"speed":23,"hex_longitude":"2d627a80","hex_latitude":"0627a750","is_valid_coordinates":true} 
[2026-08-01 07:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100262912001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365594084456267776,"note":"Value kept but may cause issues"} 
[2026-08-01 07:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7096687876751794176,"note":"Value kept but may cause issues"} 
[2026-08-01 07:03:52] 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-08-01 07:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785547907000,"timestamp_ms":1785547907000,"timestamp_seconds":1785547907,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaf2dfb8"} 
[2026-08-01 07:03:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:03:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-01 07:03:52] 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-08-01 07:03:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:03:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":146076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":146076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":146076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:03:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100262912001,"66":27691,"12":206,"19":40192,"24":23,"16":365594084456267776,"45":7096687876751794176},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-08-01 07:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100262912001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:03:52] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-01 07:03:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-08-01 07:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365594084456267776,"km_value":365594084456267.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":7096687876751794176,"description":"Unknown IO ID 45"} 
[2026-08-01 07:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100262912001,"power":27691,"unknown_12":206,"unknown_19":40192,"ignition":23,"odometer":null,"unknown_45":7096687876751794176}} 
[2026-08-01 07:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":146076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:03:52] local.INFO: GPS data processed {"connection_id":146076,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:03:52] local.INFO: Acknowledgment sent {"connection_id":146076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:04:07] local.INFO: TCP Data received {"connection_id":147094,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147094,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:04:07] local.INFO: Processing buffer {"connection_id":147094,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:04:07] local.INFO: IMEI packet received {"connection_id":147094,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":147094,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:04:08] local.INFO: TCP Data received {"connection_id":147094,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147094,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:04:08] local.INFO: Processing buffer {"connection_id":147094,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:04:08] local.INFO: IMEI packet received {"connection_id":147094,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":147094,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:04:12] local.INFO: TCP Data received {"connection_id":147094,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147094,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:04:12] local.INFO: Processing buffer {"connection_id":147094,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:04:12] local.INFO: IMEI packet received {"connection_id":147094,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":147094,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:04:13] local.INFO: TCP Data received {"connection_id":147094,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaf479e0012d7d38c005c001d0000800092e..."} 
[2026-08-01 07:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaf479e0012d7d38c005c001d0000800092e..."} 
[2026-08-01 07:04:13] local.INFO: Processing buffer {"connection_id":147094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaf479e0012d7d38c005c001d0000800092e..."} 
[2026-08-01 07:04:13] local.INFO: Packet analysis {"connection_id":147094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaf4"} 
[2026-08-01 07:04:13] local.INFO: Extracted packet for processing {"connection_id":147094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaf4"} 
[2026-08-01 07:04:13] local.INFO: GPS Element Parsed {"raw_longitude":763181248,"raw_latitude":96469456,"longitude_deg":76.3181248,"latitude_deg":9.6469456,"altitude":8,"angle":9,"satellites":46,"speed":37,"hex_longitude":"2d7d38c0","hex_latitude":"05c001d0","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100290560001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113397513255387136,"note":"Value kept but may cause issues"} 
[2026-08-01 07:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022750771899981824,"note":"Value kept but may cause issues"} 
[2026-08-01 07:04:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785548012000,"timestamp_ms":1785548012000,"timestamp_seconds":1785548012,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaf479e0"} 
[2026-08-01 07:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:04:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07: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":110,"data_length":795,"current_offset":136} 
[2026-08-01 07:04:13] 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-08-01 07: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-08-01 07:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":147094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":147094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":147094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:04:13] 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-08-01 07:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100290560001,"66":13624,"10":206,"85":12288,"24":37,"16":113397513255387136,"45":9022750771899981824},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-08-01 07:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100290560001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:04:13] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-01 07:04:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 07:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113397513255387136,"km_value":113397513255387.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022750771899981824,"description":"Unknown IO ID 45"} 
[2026-08-01 07:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100290560001,"power":13624,"unknown_10":206,"unknown_85":12288,"ignition":37,"odometer":null,"unknown_45":9022750771899981824}} 
[2026-08-01 07:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":147094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576152,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:04:13] local.INFO: GPS data processed {"connection_id":147094,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:04:13] local.INFO: Acknowledgment sent {"connection_id":147094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:04:44] local.INFO: TCP Data received {"connection_id":147094,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaf48d68012d7d394005c014e8000701652c..."} 
[2026-08-01 07:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaf48d68012d7d394005c014e8000701652c..."} 
[2026-08-01 07:04:44] local.INFO: Processing buffer {"connection_id":147094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaf48d68012d7d394005c014e8000701652c..."} 
[2026-08-01 07:04:44] local.INFO: Packet analysis {"connection_id":147094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaf4"} 
[2026-08-01 07:04:44] local.INFO: Extracted packet for processing {"connection_id":147094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaf4"} 
[2026-08-01 07:04:44] local.INFO: GPS Element Parsed {"raw_longitude":763181376,"raw_latitude":96474344,"longitude_deg":76.3181376,"latitude_deg":9.6474344,"altitude":7,"angle":357,"satellites":44,"speed":38,"hex_longitude":"2d7d3940","hex_latitude":"05c014e8","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100291072001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113397753773555712,"note":"Value kept but may cause issues"} 
[2026-08-01 07:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023172984365502464,"note":"Value kept but may cause issues"} 
[2026-08-01 07:04:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785548017000,"timestamp_ms":1785548017000,"timestamp_seconds":1785548017,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaf48d68"} 
[2026-08-01 07:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:04:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-01 07:04:44] 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-08-01 07: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-08-01 07:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":147094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":147094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":147094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:04:44] 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-08-01 07:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100291072001,"66":13374,"10":206,"85":12288,"24":38,"16":113397753773555712,"45":9023172984365502464},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-08-01 07:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100291072001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:04:44] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-01 07:04:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 07:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113397753773555712,"km_value":113397753773555.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023172984365502464,"description":"Unknown IO ID 45"} 
[2026-08-01 07:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100291072001,"power":13374,"unknown_10":206,"unknown_85":12288,"ignition":38,"odometer":null,"unknown_45":9023172984365502464}} 
[2026-08-01 07:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":147094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576153,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:04:44] local.INFO: GPS data processed {"connection_id":147094,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:04:44] local.INFO: Acknowledgment sent {"connection_id":147094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:05:02] local.INFO: TCP Data received {"connection_id":146076,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaf30e98012d626f400627c8100004015224..."} 
[2026-08-01 07:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaf30e98012d626f400627c8100004015224..."} 
[2026-08-01 07:05:02] local.INFO: Processing buffer {"connection_id":146076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaf30e98012d626f400627c8100004015224..."} 
[2026-08-01 07:05:02] local.INFO: Packet analysis {"connection_id":146076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaf3"} 
[2026-08-01 07:05:02] local.INFO: Extracted packet for processing {"connection_id":146076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaf3"} 
[2026-08-01 07:05:02] local.INFO: GPS Element Parsed {"raw_longitude":761425728,"raw_latitude":103270416,"longitude_deg":76.1425728,"latitude_deg":10.3270416,"altitude":4,"angle":338,"satellites":36,"speed":34,"hex_longitude":"2d626f40","hex_latitude":"0627c810","is_valid_coordinates":true} 
[2026-08-01 07:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100264192001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365594513952997376,"note":"Value kept but may cause issues"} 
[2026-08-01 07:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7096124926799073280,"note":"Value kept but may cause issues"} 
[2026-08-01 07:05:02] 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-08-01 07:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785547919000,"timestamp_ms":1785547919000,"timestamp_seconds":1785547919,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaf30e98"} 
[2026-08-01 07:05:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:05: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-08-01 07:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-01 07:05: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-08-01 07:05:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:05:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:05:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100264192001,"66":27615,"12":206,"19":40192,"24":34,"16":365594513952997376,"45":7096124926799073280},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-08-01 07:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100264192001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:05:02] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-01 07:05:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-08-01 07:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365594513952997376,"km_value":365594513952997.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7096124926799073280,"description":"Unknown IO ID 45"} 
[2026-08-01 07:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100264192001,"power":27615,"unknown_12":206,"unknown_19":40192,"ignition":34,"odometer":null,"unknown_45":7096124926799073280}} 
[2026-08-01 07:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":146076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:05:02] local.INFO: GPS data processed {"connection_id":146076,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:05:02] local.INFO: Acknowledgment sent {"connection_id":146076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:05:08] local.INFO: TCP Data received {"connection_id":146077,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146077,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:05:08] local.INFO: Processing buffer {"connection_id":146077,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:05:08] local.INFO: IMEI packet received {"connection_id":146077,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":146077,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:05:10] local.INFO: TCP Data received {"connection_id":146077,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146077,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:05:10] local.INFO: Processing buffer {"connection_id":146077,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:05:10] local.INFO: IMEI packet received {"connection_id":146077,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":146077,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:05:12] local.INFO: TCP Data received {"connection_id":146077,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146077,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:05:12] local.INFO: Processing buffer {"connection_id":146077,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:05:12] local.INFO: IMEI packet received {"connection_id":146077,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":146077,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:05:13] local.INFO: TCP Data received {"connection_id":146077,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaf4aca8012d7d388005c02770000600082c..."} 
[2026-08-01 07:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaf4aca8012d7d388005c02770000600082c..."} 
[2026-08-01 07:05:13] local.INFO: Processing buffer {"connection_id":146077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaf4aca8012d7d388005c02770000600082c..."} 
[2026-08-01 07:05:13] local.INFO: Packet analysis {"connection_id":146077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaf4"} 
[2026-08-01 07:05:13] local.INFO: Extracted packet for processing {"connection_id":146077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaf4"} 
[2026-08-01 07:05:13] local.INFO: GPS Element Parsed {"raw_longitude":763181184,"raw_latitude":96479088,"longitude_deg":76.3181184,"latitude_deg":9.6479088,"altitude":6,"angle":8,"satellites":44,"speed":8,"hex_longitude":"2d7d3880","hex_latitude":"05c02770","is_valid_coordinates":true} 
[2026-08-01 07:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:05:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100292352001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:05:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113397981406822400,"note":"Value kept but may cause issues"} 
[2026-08-01 07:05:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023313721855109120,"note":"Value kept but may cause issues"} 
[2026-08-01 07:05:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:05:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785548025000,"timestamp_ms":1785548025000,"timestamp_seconds":1785548025,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaf4aca8"} 
[2026-08-01 07:05:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:05:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-01 07:05:13] 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-08-01 07:05:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:05:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:05:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":146077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":146077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":146077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:05:13] 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-08-01 07:05:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:05:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:05:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100292352001,"66":13406,"10":206,"85":12288,"24":8,"16":113397981406822400,"45":9023313721855109120},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-08-01 07:05:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:05:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:05:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100292352001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:05:13] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-01 07:05:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 07:05:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113397981406822400,"km_value":113397981406822.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:05:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023313721855109120,"description":"Unknown IO ID 45"} 
[2026-08-01 07:05:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100292352001,"power":13406,"unknown_10":206,"unknown_85":12288,"ignition":8,"odometer":null,"unknown_45":9023313721855109120}} 
[2026-08-01 07:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":146077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576155,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:05:13] local.INFO: GPS data processed {"connection_id":146077,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:05:13] local.INFO: Acknowledgment sent {"connection_id":146077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:05:18] local.INFO: TCP Data received {"connection_id":146077,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaf4feb0012d7d388005c028300005000829..."} 
[2026-08-01 07:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaf4feb0012d7d388005c028300005000829..."} 
[2026-08-01 07:05:18] local.INFO: Processing buffer {"connection_id":146077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaf4feb0012d7d388005c028300005000829..."} 
[2026-08-01 07:05:18] local.INFO: Packet analysis {"connection_id":146077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaf4"} 
[2026-08-01 07:05:18] local.INFO: Extracted packet for processing {"connection_id":146077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaf4"} 
[2026-08-01 07:05:18] local.INFO: GPS Element Parsed {"raw_longitude":763181184,"raw_latitude":96479280,"longitude_deg":76.3181184,"latitude_deg":9.647928,"altitude":5,"angle":8,"satellites":41,"speed":0,"hex_longitude":"2d7d3880","hex_latitude":"05c02830","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100294400001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113397994291724288,"note":"Value kept but may cause issues"} 
[2026-08-01 07:05:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023102615623790592,"note":"Value kept but may cause issues"} 
[2026-08-01 07:05:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785548046000,"timestamp_ms":1785548046000,"timestamp_seconds":1785548046,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaf4feb0"} 
[2026-08-01 07:05:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:05:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07: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":94,"data_length":795,"current_offset":136} 
[2026-08-01 07:05:18] 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-08-01 07: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-08-01 07:05:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":146077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":146077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":146077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:05: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-08-01 07:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100294400001,"66":13417,"10":206,"85":12288,"24":0,"16":113397994291724288,"45":9023102615623790592},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-08-01 07:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100294400001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:05:18] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-01 07:05:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 07:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113397994291724288,"km_value":113397994291724.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:05:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023102615623790592,"description":"Unknown IO ID 45"} 
[2026-08-01 07:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100294400001,"power":13417,"unknown_10":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9023102615623790592}} 
[2026-08-01 07:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":146077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576156,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:05:18] local.INFO: GPS data processed {"connection_id":146077,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:05:18] local.INFO: Acknowledgment sent {"connection_id":146077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:05:19] local.INFO: TCP Data received {"connection_id":147095,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:05:19] local.INFO: Processing buffer {"connection_id":147095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:05:19] local.INFO: IMEI packet received {"connection_id":147095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":147095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:05:20] local.INFO: TCP Data received {"connection_id":147095,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:05:20] local.INFO: Processing buffer {"connection_id":147095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:05:20] local.INFO: IMEI packet received {"connection_id":147095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":147095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:05:26] local.INFO: TCP Data received {"connection_id":147095,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:05:26] local.INFO: Processing buffer {"connection_id":147095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:05:26] local.INFO: IMEI packet received {"connection_id":147095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":147095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:05:27] local.INFO: TCP Data received {"connection_id":147095,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaf4a0f0012d61ca4006293aa8000901512d..."} 
[2026-08-01 07:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaf4a0f0012d61ca4006293aa8000901512d..."} 
[2026-08-01 07:05:27] local.INFO: Processing buffer {"connection_id":147095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaf4a0f0012d61ca4006293aa8000901512d..."} 
[2026-08-01 07:05:27] local.INFO: Packet analysis {"connection_id":147095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaf4"} 
[2026-08-01 07:05:27] local.INFO: Extracted packet for processing {"connection_id":147095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaf4"} 
[2026-08-01 07:05:27] local.INFO: GPS Element Parsed {"raw_longitude":761383488,"raw_latitude":103365288,"longitude_deg":76.1383488,"latitude_deg":10.3365288,"altitude":9,"angle":337,"satellites":45,"speed":48,"hex_longitude":"2d61ca40","hex_latitude":"06293aa8","is_valid_coordinates":true} 
[2026-08-01 07:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100291584001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365599543359700992,"note":"Value kept but may cause issues"} 
[2026-08-01 07:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7050666718084587520,"note":"Value kept but may cause issues"} 
[2026-08-01 07:05:27] 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-08-01 07:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785548022000,"timestamp_ms":1785548022000,"timestamp_seconds":1785548022,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaf4a0f0"} 
[2026-08-01 07:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:05:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-01 07:05:27] 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-08-01 07:05:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":147095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":147095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":147095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:05:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100291584001,"66":27691,"72":206,"19":40192,"24":48,"16":365599543359700992,"45":7050666718084587520},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,19,24,16,45]} 
[2026-08-01 07:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100291584001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:05:27] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-08-01 07:05:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-08-01 07:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365599543359700992,"km_value":365599543359701.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":7050666718084587520,"description":"Unknown IO ID 45"} 
[2026-08-01 07:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100291584001,"power":27691,"unknown_72":206,"unknown_19":40192,"ignition":48,"odometer":null,"unknown_45":7050666718084587520}} 
[2026-08-01 07:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":147095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:05:27] local.INFO: GPS data processed {"connection_id":147095,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:05:27] local.INFO: Acknowledgment sent {"connection_id":147095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:05:49] local.INFO: TCP Data received {"connection_id":146077,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaf550b8012d7d380005c028f00005000028..."} 
[2026-08-01 07:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaf550b8012d7d380005c028f00005000028..."} 
[2026-08-01 07:05:49] local.INFO: Processing buffer {"connection_id":146077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaf550b8012d7d380005c028f00005000028..."} 
[2026-08-01 07:05:49] local.INFO: Packet analysis {"connection_id":146077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaf5"} 
[2026-08-01 07:05:49] local.INFO: Extracted packet for processing {"connection_id":146077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaf5"} 
[2026-08-01 07:05:49] local.INFO: GPS Element Parsed {"raw_longitude":763181056,"raw_latitude":96479472,"longitude_deg":76.3181056,"latitude_deg":9.6479472,"altitude":5,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d7d3800","hex_latitude":"05c028f0","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100299776001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113398002881658880,"note":"Value kept but may cause issues"} 
[2026-08-01 07:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023102615623839744,"note":"Value kept but may cause issues"} 
[2026-08-01 07:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785548067000,"timestamp_ms":1785548067000,"timestamp_seconds":1785548067,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaf550b8"} 
[2026-08-01 07:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:05: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-08-01 07: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":105,"data_length":795,"current_offset":136} 
[2026-08-01 07:05:49] 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-08-01 07: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-08-01 07:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:05: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-08-01 07:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100299776001,"66":13526,"10":206,"85":12288,"24":0,"16":113398002881658880,"45":9023102615623839744},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-08-01 07:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100299776001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:05:49] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-01 07:05:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 07:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113398002881658880,"km_value":113398002881658.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023102615623839744,"description":"Unknown IO ID 45"} 
[2026-08-01 07:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100299776001,"power":13526,"unknown_10":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9023102615623839744}} 
[2026-08-01 07:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":146077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576158,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:05:49] local.INFO: GPS data processed {"connection_id":146077,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:05:49] local.INFO: Acknowledgment sent {"connection_id":146077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:05:50] local.INFO: TCP Data received {"connection_id":147096,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:05:50] local.INFO: Processing buffer {"connection_id":147096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:05:50] local.INFO: IMEI packet received {"connection_id":147096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":147096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:05:55] local.INFO: TCP Data received {"connection_id":147096,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:05:55] local.INFO: Processing buffer {"connection_id":147096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:05:55] local.INFO: IMEI packet received {"connection_id":147096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":147096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:05:56] local.INFO: TCP Data received {"connection_id":147096,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaf5d970012d6129c0062aad700006014f2c..."} 
[2026-08-01 07:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaf5d970012d6129c0062aad700006014f2c..."} 
[2026-08-01 07:05:56] local.INFO: Processing buffer {"connection_id":147096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaf5d970012d6129c0062aad700006014f2c..."} 
[2026-08-01 07:05:56] local.INFO: Packet analysis {"connection_id":147096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaf5"} 
[2026-08-01 07:05:56] local.INFO: Extracted packet for processing {"connection_id":147096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaf5"} 
[2026-08-01 07:05:56] local.INFO: GPS Element Parsed {"raw_longitude":761342400,"raw_latitude":103460208,"longitude_deg":76.13424,"latitude_deg":10.3460208,"altitude":6,"angle":335,"satellites":44,"speed":54,"hex_longitude":"2d6129c0","hex_latitude":"062aad70","is_valid_coordinates":true} 
[2026-08-01 07:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100312320001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365604555586535424,"note":"Value kept but may cause issues"} 
[2026-08-01 07:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7005419615602597888,"note":"Value kept but may cause issues"} 
[2026-08-01 07:05:56] 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-08-01 07:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785548102000,"timestamp_ms":1785548102000,"timestamp_seconds":1785548102,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaf5d970"} 
[2026-08-01 07:05:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:05:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 07:05:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:05:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:05:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":147096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":147096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":147096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:05:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100312320001,"66":27658,"122":206,"19":40192,"24":54,"16":365604555586535424,"45":7005419615602597888},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,19,24,16,45]} 
[2026-08-01 07:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100312320001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:05:56] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-01 07:05:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-08-01 07:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365604555586535424,"km_value":365604555586535.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":7005419615602597888,"description":"Unknown IO ID 45"} 
[2026-08-01 07:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100312320001,"power":27658,"unknown_122":206,"unknown_19":40192,"ignition":54,"odometer":null,"unknown_45":7005419615602597888}} 
[2026-08-01 07:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":147096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:05:56] local.INFO: GPS data processed {"connection_id":147096,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:05:56] local.INFO: Acknowledgment sent {"connection_id":147096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:06:07] local.INFO: TCP Data received {"connection_id":146078,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146078,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:06:07] local.INFO: Processing buffer {"connection_id":146078,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:06:07] local.INFO: IMEI packet received {"connection_id":146078,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":146078,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:06:12] local.INFO: TCP Data received {"connection_id":146078,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146078,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:06:12] local.INFO: Processing buffer {"connection_id":146078,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:06:12] local.INFO: IMEI packet received {"connection_id":146078,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":146078,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:06:14] local.INFO: TCP Data received {"connection_id":146078,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaf5a2c0012d7d37c005c028f80005000028..."} 
[2026-08-01 07:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaf5a2c0012d7d37c005c028f80005000028..."} 
[2026-08-01 07:06:14] local.INFO: Processing buffer {"connection_id":146078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaf5a2c0012d7d37c005c028f80005000028..."} 
[2026-08-01 07:06:14] local.INFO: Packet analysis {"connection_id":146078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaf5"} 
[2026-08-01 07:06:14] local.INFO: Extracted packet for processing {"connection_id":146078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaf5"} 
[2026-08-01 07:06:14] local.INFO: GPS Element Parsed {"raw_longitude":763180992,"raw_latitude":96479480,"longitude_deg":76.3180992,"latitude_deg":9.647948,"altitude":5,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d7d37c0","hex_latitude":"05c028f8","is_valid_coordinates":true} 
[2026-08-01 07:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100305152001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113398007176626176,"note":"Value kept but may cause issues"} 
[2026-08-01 07:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022961878135533568,"note":"Value kept but may cause issues"} 
[2026-08-01 07:06:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785548088000,"timestamp_ms":1785548088000,"timestamp_seconds":1785548088,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaf5a2c0"} 
[2026-08-01 07:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:06:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-01 07:06:14] 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-08-01 07:06:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":146078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":146078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":146078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:06:14] 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-08-01 07:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100305152001,"66":13493,"10":206,"85":12288,"24":0,"16":113398007176626176,"45":9022961878135533568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-08-01 07:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100305152001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:06:14] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-01 07:06:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 07:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113398007176626176,"km_value":113398007176626.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022961878135533568,"description":"Unknown IO ID 45"} 
[2026-08-01 07:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100305152001,"power":13493,"unknown_10":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9022961878135533568}} 
[2026-08-01 07:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":146078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576160,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:06:14] local.INFO: GPS data processed {"connection_id":146078,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:06:14] local.INFO: Acknowledgment sent {"connection_id":146078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:06:29] local.INFO: TCP Data received {"connection_id":147096,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaf5f4c8012d611840062aced0000501492d..."} 
[2026-08-01 07:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaf5f4c8012d611840062aced0000501492d..."} 
[2026-08-01 07:06:29] local.INFO: Processing buffer {"connection_id":147096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaf5f4c8012d611840062aced0000501492d..."} 
[2026-08-01 07:06:29] local.INFO: Packet analysis {"connection_id":147096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaf5"} 
[2026-08-01 07:06:29] local.INFO: Extracted packet for processing {"connection_id":147096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaf5"} 
[2026-08-01 07:06:29] local.INFO: GPS Element Parsed {"raw_longitude":761337920,"raw_latitude":103468752,"longitude_deg":76.133792,"latitude_deg":10.3468752,"altitude":5,"angle":329,"satellites":45,"speed":56,"hex_longitude":"2d611840","hex_latitude":"062aced0","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100314112001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365605023737970688,"note":"Value kept but may cause issues"} 
[2026-08-01 07:06:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7001338228442492928,"note":"Value kept but may cause issues"} 
[2026-08-01 07:06:29] 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-08-01 07:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785548109000,"timestamp_ms":1785548109000,"timestamp_seconds":1785548109,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaf5f4c8"} 
[2026-08-01 07:06:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:06:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 07:06: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-08-01 07: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-08-01 07:06:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":147096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":147096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":147096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:06:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100314112001,"66":27658,"122":206,"19":40192,"24":56,"16":365605023737970688,"45":7001338228442492928},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,19,24,16,45]} 
[2026-08-01 07:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100314112001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:06:29] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-01 07:06:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-08-01 07:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365605023737970688,"km_value":365605023737970.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:06:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":7001338228442492928,"description":"Unknown IO ID 45"} 
[2026-08-01 07:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100314112001,"power":27658,"unknown_122":206,"unknown_19":40192,"ignition":56,"odometer":null,"unknown_45":7001338228442492928}} 
[2026-08-01 07:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":147096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:06:29] local.INFO: GPS data processed {"connection_id":147096,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:06:29] local.INFO: Acknowledgment sent {"connection_id":147096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:06:45] local.INFO: TCP Data received {"connection_id":146079,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:06:45] local.INFO: Processing buffer {"connection_id":146079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:06:45] local.INFO: IMEI packet received {"connection_id":146079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":146079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:06:45] local.INFO: TCP Data received {"connection_id":146078,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaf5f4c8012d7d37c005c028f80005000027..."} 
[2026-08-01 07:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaf5f4c8012d7d37c005c028f80005000027..."} 
[2026-08-01 07:06:45] local.INFO: Processing buffer {"connection_id":146078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaf5f4c8012d7d37c005c028f80005000027..."} 
[2026-08-01 07:06:45] local.INFO: Packet analysis {"connection_id":146078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaf5"} 
[2026-08-01 07:06:45] local.INFO: Extracted packet for processing {"connection_id":146078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaf5"} 
[2026-08-01 07:06:45] local.INFO: GPS Element Parsed {"raw_longitude":763180992,"raw_latitude":96479480,"longitude_deg":76.3180992,"latitude_deg":9.647948,"altitude":5,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d7d37c0","hex_latitude":"05c028f8","is_valid_coordinates":true} 
[2026-08-01 07:06:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100310528001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113398007176626176,"note":"Value kept but may cause issues"} 
[2026-08-01 07:06:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022891509391357952,"note":"Value kept but may cause issues"} 
[2026-08-01 07:06:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785548109000,"timestamp_ms":1785548109000,"timestamp_seconds":1785548109,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaf5f4c8"} 
[2026-08-01 07:06:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:06:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:06:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-01 07:06:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:06: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-08-01 07:06:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":146078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":146078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":146078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:06:45] 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-08-01 07:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100310528001,"66":13493,"10":206,"85":12288,"24":0,"16":113398007176626176,"45":9022891509391357952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-08-01 07:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100310528001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:06:45] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-01 07:06:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 07:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113398007176626176,"km_value":113398007176626.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:06:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022891509391357952,"description":"Unknown IO ID 45"} 
[2026-08-01 07:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100310528001,"power":13493,"unknown_10":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9022891509391357952}} 
[2026-08-01 07:06:45] local.INFO: DEBUG: GPS processor result {"connection_id":146078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576162,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:06:45] local.INFO: GPS data processed {"connection_id":146078,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:06:45] local.INFO: Acknowledgment sent {"connection_id":146078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:06:47] local.INFO: TCP Data received {"connection_id":146079,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:06:47] local.INFO: Processing buffer {"connection_id":146079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:06:47] local.INFO: IMEI packet received {"connection_id":146079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:06:47] local.INFO: IMEI acknowledgment sent {"connection_id":146079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:06:50] local.INFO: TCP Data received {"connection_id":146079,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:06:50] local.INFO: Processing buffer {"connection_id":146079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:06:50] local.INFO: IMEI packet received {"connection_id":146079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":146079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:06:52] local.INFO: TCP Data received {"connection_id":146079,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaf61020012d610340062aefa0000501462d..."} 
[2026-08-01 07:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaf61020012d610340062aefa0000501462d..."} 
[2026-08-01 07:06:52] local.INFO: Processing buffer {"connection_id":146079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaf61020012d610340062aefa0000501462d..."} 
[2026-08-01 07:06:52] local.INFO: Packet analysis {"connection_id":146079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaf6"} 
[2026-08-01 07:06:52] local.INFO: Extracted packet for processing {"connection_id":146079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaf6"} 
[2026-08-01 07:06:52] local.INFO: GPS Element Parsed {"raw_longitude":761332544,"raw_latitude":103477152,"longitude_deg":76.1332544,"latitude_deg":10.3477152,"altitude":5,"angle":326,"satellites":45,"speed":57,"hex_longitude":"2d610340","hex_latitude":"062aefa0","is_valid_coordinates":true} 
[2026-08-01 07:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100315904001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365605500479340544,"note":"Value kept but may cause issues"} 
[2026-08-01 07:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6996412416352243712,"note":"Value kept but may cause issues"} 
[2026-08-01 07:06:52] 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-08-01 07:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785548116000,"timestamp_ms":1785548116000,"timestamp_seconds":1785548116,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaf61020"} 
[2026-08-01 07:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:06:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 07:06:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:06:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":146079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":146079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":146079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:06:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100315904001,"66":27767,"122":206,"19":40192,"24":57,"16":365605500479340544,"45":6996412416352243712},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,19,24,16,45]} 
[2026-08-01 07:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100315904001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:06:52] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-01 07:06:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-08-01 07:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365605500479340544,"km_value":365605500479340.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":6996412416352243712,"description":"Unknown IO ID 45"} 
[2026-08-01 07:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100315904001,"power":27767,"unknown_122":206,"unknown_19":40192,"ignition":57,"odometer":null,"unknown_45":6996412416352243712}} 
[2026-08-01 07:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":146079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:06:52] local.INFO: GPS data processed {"connection_id":146079,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:06:52] local.INFO: Acknowledgment sent {"connection_id":146079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:07:07] local.INFO: TCP Data received {"connection_id":147097,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147097,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:07:07] local.INFO: Processing buffer {"connection_id":147097,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:07:07] local.INFO: IMEI packet received {"connection_id":147097,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":147097,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:07:13] local.INFO: TCP Data received {"connection_id":147097,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147097,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:07:13] local.INFO: Processing buffer {"connection_id":147097,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:07:13] local.INFO: IMEI packet received {"connection_id":147097,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":147097,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:07:13] local.INFO: TCP Data received {"connection_id":147097,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaf646d0012d7d378005c03900000801672b..."} 
[2026-08-01 07:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaf646d0012d7d378005c03900000801672b..."} 
[2026-08-01 07:07:13] local.INFO: Processing buffer {"connection_id":147097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaf646d0012d7d378005c03900000801672b..."} 
[2026-08-01 07:07:13] local.INFO: Packet analysis {"connection_id":147097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaf6"} 
[2026-08-01 07:07:13] local.INFO: Extracted packet for processing {"connection_id":147097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaf6"} 
[2026-08-01 07:07:13] local.INFO: GPS Element Parsed {"raw_longitude":763180928,"raw_latitude":96483584,"longitude_deg":76.3180928,"latitude_deg":9.6483584,"altitude":8,"angle":359,"satellites":43,"speed":25,"hex_longitude":"2d7d3780","hex_latitude":"05c03900","is_valid_coordinates":true} 
[2026-08-01 07:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100315904001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113398209040089088,"note":"Value kept but may cause issues"} 
[2026-08-01 07:07:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022891509391357952,"note":"Value kept but may cause issues"} 
[2026-08-01 07:07:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785548130000,"timestamp_ms":1785548130000,"timestamp_seconds":1785548130,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaf646d0"} 
[2026-08-01 07:07:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:07: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-08-01 07:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-01 07:07:13] 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-08-01 07:07:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:07:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":147097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":147097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":147097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:07:13] 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-08-01 07:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100315904001,"66":13602,"10":206,"85":12288,"24":25,"16":113398209040089088,"45":9022891509391357952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-08-01 07:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100315904001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:07:13] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-01 07:07:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 07:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113398209040089088,"km_value":113398209040089.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:07:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022891509391357952,"description":"Unknown IO ID 45"} 
[2026-08-01 07:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100315904001,"power":13602,"unknown_10":206,"unknown_85":12288,"ignition":25,"odometer":null,"unknown_45":9022891509391357952}} 
[2026-08-01 07:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":147097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576164,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:07:13] local.INFO: GPS data processed {"connection_id":147097,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:07:13] local.INFO: Acknowledgment sent {"connection_id":147097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:07:23] local.INFO: TCP Data received {"connection_id":146079,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaf62b78012d60edc0062b1008000601462c..."} 
[2026-08-01 07:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaf62b78012d60edc0062b1008000601462c..."} 
[2026-08-01 07:07:23] local.INFO: Processing buffer {"connection_id":146079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaf62b78012d60edc0062b1008000601462c..."} 
[2026-08-01 07:07:23] local.INFO: Packet analysis {"connection_id":146079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaf6"} 
[2026-08-01 07:07:23] local.INFO: Extracted packet for processing {"connection_id":146079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaf6"} 
[2026-08-01 07:07:23] local.INFO: GPS Element Parsed {"raw_longitude":761327040,"raw_latitude":103485448,"longitude_deg":76.132704,"latitude_deg":10.3485448,"altitude":6,"angle":326,"satellites":44,"speed":55,"hex_longitude":"2d60edc0","hex_latitude":"062b1008","is_valid_coordinates":true} 
[2026-08-01 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-08-01 07:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100317696001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365605981515677696,"note":"Value kept but may cause issues"} 
[2026-08-01 07:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6990501441843470336,"note":"Value kept but may cause issues"} 
[2026-08-01 07:07:23] 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-08-01 07:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785548123000,"timestamp_ms":1785548123000,"timestamp_seconds":1785548123,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaf62b78"} 
[2026-08-01 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-08-01 07:07:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 07:07:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 07:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":146079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":146079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":146079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:07:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100317696001,"66":27669,"122":206,"19":40192,"24":55,"16":365605981515677696,"45":6990501441843470336},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,19,24,16,45]} 
[2026-08-01 07:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100317696001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:07:23] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-01 07:07:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-08-01 07:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365605981515677696,"km_value":365605981515677.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":6990501441843470336,"description":"Unknown IO ID 45"} 
[2026-08-01 07:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100317696001,"power":27669,"unknown_122":206,"unknown_19":40192,"ignition":55,"odometer":null,"unknown_45":6990501441843470336}} 
[2026-08-01 07:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":146079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:07:23] local.INFO: GPS data processed {"connection_id":146079,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:07:23] local.INFO: Acknowledgment sent {"connection_id":146079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:07:44] local.INFO: TCP Data received {"connection_id":147097,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaf7d158012d7d34c005c17d700008000428..."} 
[2026-08-01 07:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaf7d158012d7d34c005c17d700008000428..."} 
[2026-08-01 07:07:44] local.INFO: Processing buffer {"connection_id":147097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaf7d158012d7d34c005c17d700008000428..."} 
[2026-08-01 07:07:44] local.INFO: Packet analysis {"connection_id":147097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaf7"} 
[2026-08-01 07:07:44] local.INFO: Extracted packet for processing {"connection_id":147097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaf7"} 
[2026-08-01 07:07:44] local.INFO: GPS Element Parsed {"raw_longitude":763180224,"raw_latitude":96566640,"longitude_deg":76.3180224,"latitude_deg":9.656664,"altitude":8,"angle":4,"satellites":40,"speed":39,"hex_longitude":"2d7d34c0","hex_latitude":"05c17d70","is_valid_coordinates":true} 
[2026-08-01 07:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100345088001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113402276374118400,"note":"Value kept but may cause issues"} 
[2026-08-01 07:07:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020991553318420480,"note":"Value kept but may cause issues"} 
[2026-08-01 07:07:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785548231000,"timestamp_ms":1785548231000,"timestamp_seconds":1785548231,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaf7d158"} 
[2026-08-01 07:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:07:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-01 07:07: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-08-01 07:07:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":147097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":147097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":147097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:07:44] 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-08-01 07:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100345088001,"66":13526,"9":206,"85":12288,"24":39,"16":113402276374118400,"45":9020991553318420480},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-08-01 07:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100345088001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:07:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-01 07:07:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 07:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113402276374118400,"km_value":113402276374118.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:07:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020991553318420480,"description":"Unknown IO ID 45"} 
[2026-08-01 07:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100345088001,"power":13526,"unknown_9":206,"unknown_85":12288,"ignition":39,"odometer":null,"unknown_45":9020991553318420480}} 
[2026-08-01 07:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":147097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576166,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:07:44] local.INFO: GPS data processed {"connection_id":147097,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:07:44] local.INFO: Acknowledgment sent {"connection_id":147097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:07:45] local.INFO: TCP Data received {"connection_id":145882,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:07:45] local.INFO: Processing buffer {"connection_id":145882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:07:45] local.INFO: IMEI packet received {"connection_id":145882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":145882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:07:46] local.INFO: TCP Data received {"connection_id":145882,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:07:46] local.INFO: Processing buffer {"connection_id":145882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:07:46] local.INFO: IMEI packet received {"connection_id":145882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":145882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:07:50] local.INFO: TCP Data received {"connection_id":145882,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:07:50] local.INFO: Processing buffer {"connection_id":145882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:07:50] local.INFO: IMEI packet received {"connection_id":145882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":145882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:07:54] local.INFO: TCP Data received {"connection_id":145882,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaf767e0012d606540062c9430000401512e..."} 
[2026-08-01 07:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaf767e0012d606540062c9430000401512e..."} 
[2026-08-01 07:07:54] local.INFO: Processing buffer {"connection_id":145882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaf767e0012d606540062c9430000401512e..."} 
[2026-08-01 07:07:54] local.INFO: Packet analysis {"connection_id":145882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaf7"} 
[2026-08-01 07:07:54] local.INFO: Extracted packet for processing {"connection_id":145882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaf7"} 
[2026-08-01 07:07:54] local.INFO: GPS Element Parsed {"raw_longitude":761292096,"raw_latitude":103584816,"longitude_deg":76.1292096,"latitude_deg":10.3584816,"altitude":4,"angle":337,"satellites":46,"speed":49,"hex_longitude":"2d606540","hex_latitude":"062c9430","is_valid_coordinates":true} 
[2026-08-01 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-08-01 07:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100338432001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365611114001596416,"note":"Value kept but may cause issues"} 
[2026-08-01 07:07:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6949969045222565888,"note":"Value kept but may cause issues"} 
[2026-08-01 07:07:54] 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-08-01 07:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785548204000,"timestamp_ms":1785548204000,"timestamp_seconds":1785548204,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaf767e0"} 
[2026-08-01 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-08-01 07:07:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 07:07:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:07:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 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-08-01 07:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":145882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":145882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":145882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:07:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100338432001,"66":27713,"175":206,"19":40192,"24":49,"16":365611114001596416,"45":6949969045222565888},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,19,24,16,45]} 
[2026-08-01 07:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100338432001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:07:54] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-01 07:07:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-08-01 07:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365611114001596416,"km_value":365611114001596.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:07:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":6949969045222565888,"description":"Unknown IO ID 45"} 
[2026-08-01 07:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100338432001,"power":27713,"unknown_175":206,"unknown_19":40192,"ignition":49,"odometer":null,"unknown_45":6949969045222565888}} 
[2026-08-01 07:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":145882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:07:54] local.INFO: GPS data processed {"connection_id":145882,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:07:54] local.INFO: Acknowledgment sent {"connection_id":145882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:08:12] local.INFO: TCP Data received {"connection_id":148412,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148412,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:08:12] local.INFO: Processing buffer {"connection_id":148412,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:08:12] local.INFO: IMEI packet received {"connection_id":148412,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":148412,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:08:13] local.INFO: TCP Data received {"connection_id":148412,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148412,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:08:13] local.INFO: Processing buffer {"connection_id":148412,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:08:13] local.INFO: IMEI packet received {"connection_id":148412,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":148412,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:08:17] local.INFO: TCP Data received {"connection_id":148412,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148412,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:08:17] local.INFO: Processing buffer {"connection_id":148412,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:08:17] local.INFO: IMEI packet received {"connection_id":148412,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":148412,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:08:18] local.INFO: TCP Data received {"connection_id":148412,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaf82360012d7d388005c19e900006000629..."} 
[2026-08-01 07:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaf82360012d7d388005c19e900006000629..."} 
[2026-08-01 07:08:18] local.INFO: Processing buffer {"connection_id":148412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaf82360012d7d388005c19e900006000629..."} 
[2026-08-01 07:08:18] local.INFO: Packet analysis {"connection_id":148412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaf8"} 
[2026-08-01 07:08:18] local.INFO: Extracted packet for processing {"connection_id":148412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaf8"} 
[2026-08-01 07:08:18] local.INFO: GPS Element Parsed {"raw_longitude":763181184,"raw_latitude":96575120,"longitude_deg":76.3181184,"latitude_deg":9.657512,"altitude":6,"angle":6,"satellites":41,"speed":31,"hex_longitude":"2d7d3880","hex_latitude":"05c19e90","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100347136001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113402697280913408,"note":"Value kept but may cause issues"} 
[2026-08-01 07:08:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022047084483538944,"note":"Value kept but may cause issues"} 
[2026-08-01 07:08:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785548252000,"timestamp_ms":1785548252000,"timestamp_seconds":1785548252,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaf82360"} 
[2026-08-01 07:08:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:08: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-08-01 07:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-01 07:08:18] 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-08-01 07: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-08-01 07:08:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":148412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":148412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":148412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:08: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-08-01 07:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100347136001,"66":13624,"9":206,"85":12288,"24":31,"16":113402697280913408,"45":9022047084483538944},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-08-01 07:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100347136001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:08:18] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-01 07:08:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 07:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113402697280913408,"km_value":113402697280913.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:08:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022047084483538944,"description":"Unknown IO ID 45"} 
[2026-08-01 07:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100347136001,"power":13624,"unknown_9":206,"unknown_85":12288,"ignition":31,"odometer":null,"unknown_45":9022047084483538944}} 
[2026-08-01 07:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":148412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576168,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:08:18] local.INFO: GPS data processed {"connection_id":148412,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:08:18] local.INFO: Acknowledgment sent {"connection_id":148412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:08:23] local.INFO: TCP Data received {"connection_id":148412,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaf84a70012d7d398005c1c4d8000600012c..."} 
[2026-08-01 07:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaf84a70012d7d398005c1c4d8000600012c..."} 
[2026-08-01 07:08:23] local.INFO: Processing buffer {"connection_id":148412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaf84a70012d7d398005c1c4d8000600012c..."} 
[2026-08-01 07:08:23] local.INFO: Packet analysis {"connection_id":148412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaf8"} 
[2026-08-01 07:08:23] local.INFO: Extracted packet for processing {"connection_id":148412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaf8"} 
[2026-08-01 07:08:23] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":96584920,"longitude_deg":76.318144,"latitude_deg":9.658492,"altitude":6,"angle":1,"satellites":44,"speed":45,"hex_longitude":"2d7d3980","hex_latitude":"05c1c4d8","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100352512001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113403174022283264,"note":"Value kept but may cause issues"} 
[2026-08-01 07:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023102615648374784,"note":"Value kept but may cause issues"} 
[2026-08-01 07:08:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785548262000,"timestamp_ms":1785548262000,"timestamp_seconds":1785548262,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaf84a70"} 
[2026-08-01 07:08:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:08: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-08-01 07:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-01 07:08:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:08:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:08:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":148412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":148412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":148412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:08:23] 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-08-01 07:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100352512001,"66":13537,"9":206,"85":12288,"24":45,"16":113403174022283264,"45":9023102615648374784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-08-01 07:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100352512001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:08:23] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-01 07:08:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 07:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113403174022283264,"km_value":113403174022283.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023102615648374784,"description":"Unknown IO ID 45"} 
[2026-08-01 07:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100352512001,"power":13537,"unknown_9":206,"unknown_85":12288,"ignition":45,"odometer":null,"unknown_45":9023102615648374784}} 
[2026-08-01 07:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":148412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576169,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:08:23] local.INFO: GPS data processed {"connection_id":148412,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:08:23] local.INFO: Acknowledgment sent {"connection_id":148412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:08:26] local.INFO: TCP Data received {"connection_id":145882,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaf78720012d605500062cb7100004014f2e..."} 
[2026-08-01 07:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaf78720012d605500062cb7100004014f2e..."} 
[2026-08-01 07:08:26] local.INFO: Processing buffer {"connection_id":145882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaf78720012d605500062cb7100004014f2e..."} 
[2026-08-01 07:08:26] local.INFO: Packet analysis {"connection_id":145882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaf7"} 
[2026-08-01 07:08:26] local.INFO: Extracted packet for processing {"connection_id":145882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaf7"} 
[2026-08-01 07:08:26] local.INFO: GPS Element Parsed {"raw_longitude":761287936,"raw_latitude":103593744,"longitude_deg":76.1287936,"latitude_deg":10.3593744,"altitude":4,"angle":335,"satellites":46,"speed":49,"hex_longitude":"2d605500","hex_latitude":"062cb710","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:08:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100340224001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:08:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365611590742966272,"note":"Value kept but may cause issues"} 
[2026-08-01 07:08:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6946028395550748672,"note":"Value kept but may cause issues"} 
[2026-08-01 07:08:26] 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-08-01 07:08:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785548212000,"timestamp_ms":1785548212000,"timestamp_seconds":1785548212,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaf78720"} 
[2026-08-01 07:08:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:08:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 07:08:26] 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-08-01 07: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-08-01 07:08:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:08:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:08:26] local.INFO: Teltonika packet parsed successfully {"connection_id":145882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:08:26] local.INFO: Passing IMEI to GPS processor {"connection_id":145882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:08:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":145882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:08:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:08:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:08:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:08:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100340224001,"66":27767,"175":206,"19":40192,"24":49,"16":365611590742966272,"45":6946028395550748672},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,19,24,16,45]} 
[2026-08-01 07:08:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:08:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:08:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100340224001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:08:26] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-01 07:08:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-08-01 07:08:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365611590742966272,"km_value":365611590742966.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:08:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":6946028395550748672,"description":"Unknown IO ID 45"} 
[2026-08-01 07:08:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100340224001,"power":27767,"unknown_175":206,"unknown_19":40192,"ignition":49,"odometer":null,"unknown_45":6946028395550748672}} 
[2026-08-01 07:08:26] local.INFO: DEBUG: GPS processor result {"connection_id":145882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:08:26] local.INFO: GPS data processed {"connection_id":145882,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:08:26] local.INFO: Acknowledgment sent {"connection_id":145882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:08:50] local.INFO: TCP Data received {"connection_id":146080,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:08:50] local.INFO: Processing buffer {"connection_id":146080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:08:50] local.INFO: IMEI packet received {"connection_id":146080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":146080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:08:52] local.INFO: TCP Data received {"connection_id":146080,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:08:52] local.INFO: Processing buffer {"connection_id":146080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:08:52] local.INFO: IMEI packet received {"connection_id":146080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":146080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:08:54] local.INFO: TCP Data received {"connection_id":146080,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaf7a660012d604580062cdb58000501512e..."} 
[2026-08-01 07:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaf7a660012d604580062cdb58000501512e..."} 
[2026-08-01 07:08:54] local.INFO: Processing buffer {"connection_id":146080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaf7a660012d604580062cdb58000501512e..."} 
[2026-08-01 07:08:54] local.INFO: Packet analysis {"connection_id":146080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaf7"} 
[2026-08-01 07:08:54] local.INFO: Extracted packet for processing {"connection_id":146080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaf7"} 
[2026-08-01 07:08:54] local.INFO: GPS Element Parsed {"raw_longitude":761283968,"raw_latitude":103603032,"longitude_deg":76.1283968,"latitude_deg":10.3603032,"altitude":5,"angle":337,"satellites":46,"speed":50,"hex_longitude":"2d604580","hex_latitude":"062cdb58","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100342272001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365612080369238016,"note":"Value kept but may cause issues"} 
[2026-08-01 07:08:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6941454427181486080,"note":"Value kept but may cause issues"} 
[2026-08-01 07:08:54] 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-08-01 07:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785548220000,"timestamp_ms":1785548220000,"timestamp_seconds":1785548220,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaf7a660"} 
[2026-08-01 07:08:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:08:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 07:08:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07: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-08-01 07:08:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:08:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100342272001,"66":27691,"175":206,"19":40192,"24":50,"16":365612080369238016,"45":6941454427181486080},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,19,24,16,45]} 
[2026-08-01 07:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100342272001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:08:54] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-01 07:08:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-08-01 07:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365612080369238016,"km_value":365612080369238.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:08:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":6941454427181486080,"description":"Unknown IO ID 45"} 
[2026-08-01 07:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100342272001,"power":27691,"unknown_175":206,"unknown_19":40192,"ignition":50,"odometer":null,"unknown_45":6941454427181486080}} 
[2026-08-01 07:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":146080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:08:54] local.INFO: GPS data processed {"connection_id":146080,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:08:54] local.INFO: Acknowledgment sent {"connection_id":146080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:08:56] local.INFO: TCP Data received {"connection_id":146080,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaf7c1b8012d603680062cfb680005014f2e..."} 
[2026-08-01 07:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaf7c1b8012d603680062cfb680005014f2e..."} 
[2026-08-01 07:08:56] local.INFO: Processing buffer {"connection_id":146080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaf7c1b8012d603680062cfb680005014f2e..."} 
[2026-08-01 07:08:56] local.INFO: Packet analysis {"connection_id":146080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaf7"} 
[2026-08-01 07:08:56] local.INFO: Extracted packet for processing {"connection_id":146080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaf7"} 
[2026-08-01 07:08:56] local.INFO: GPS Element Parsed {"raw_longitude":761280128,"raw_latitude":103611240,"longitude_deg":76.1280128,"latitude_deg":10.361124,"altitude":5,"angle":335,"satellites":46,"speed":51,"hex_longitude":"2d603680","hex_latitude":"062cfb68","is_valid_coordinates":true} 
[2026-08-01 07:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100344320001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365612514160934912,"note":"Value kept but may cause issues"} 
[2026-08-01 07:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6937091565044848640,"note":"Value kept but may cause issues"} 
[2026-08-01 07:08:56] 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-08-01 07:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785548227000,"timestamp_ms":1785548227000,"timestamp_seconds":1785548227,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaf7c1b8"} 
[2026-08-01 07:08:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:08:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-01 07:08:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:08:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:08:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":146080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":146080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":146080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:08:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100344320001,"66":27767,"175":206,"19":40192,"24":51,"16":365612514160934912,"45":6937091565044848640},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,19,24,16,45]} 
[2026-08-01 07:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100344320001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:08:56] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-01 07:08:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-08-01 07:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365612514160934912,"km_value":365612514160934.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":6937091565044848640,"description":"Unknown IO ID 45"} 
[2026-08-01 07:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100344320001,"power":27767,"unknown_175":206,"unknown_19":40192,"ignition":51,"odometer":null,"unknown_45":6937091565044848640}} 
[2026-08-01 07:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":146080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:08:56] local.INFO: GPS data processed {"connection_id":146080,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:08:56] local.INFO: Acknowledgment sent {"connection_id":146080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:09:07] local.INFO: TCP Data received {"connection_id":145883,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145883,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:09:07] local.INFO: Processing buffer {"connection_id":145883,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:09:07] local.INFO: IMEI packet received {"connection_id":145883,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":145883,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:09:10] local.INFO: TCP Data received {"connection_id":145883,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145883,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:09:10] local.INFO: Processing buffer {"connection_id":145883,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:09:10] local.INFO: IMEI packet received {"connection_id":145883,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":145883,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:09:13] local.INFO: TCP Data received {"connection_id":145883,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145883,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:09:13] local.INFO: Processing buffer {"connection_id":145883,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:09:13] local.INFO: IMEI packet received {"connection_id":145883,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":145883,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:09:15] local.INFO: TCP Data received {"connection_id":145883,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaf86d98012d7d3ac005c1e850000600032a..."} 
[2026-08-01 07:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaf86d98012d7d3ac005c1e850000600032a..."} 
[2026-08-01 07:09:15] local.INFO: Processing buffer {"connection_id":145883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaf86d98012d7d3ac005c1e850000600032a..."} 
[2026-08-01 07:09:15] local.INFO: Packet analysis {"connection_id":145883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaf8"} 
[2026-08-01 07:09:15] local.INFO: Extracted packet for processing {"connection_id":145883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaf8"} 
[2026-08-01 07:09:15] local.INFO: GPS Element Parsed {"raw_longitude":763181760,"raw_latitude":96594000,"longitude_deg":76.318176,"latitude_deg":9.6594,"altitude":6,"angle":3,"satellites":42,"speed":24,"hex_longitude":"2d7d3ac0","hex_latitude":"05c1e850","is_valid_coordinates":true} 
[2026-08-01 07:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100355072001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113403612108947456,"note":"Value kept but may cause issues"} 
[2026-08-01 07:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384090627594240,"note":"Value kept but may cause issues"} 
[2026-08-01 07:09:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785548271000,"timestamp_ms":1785548271000,"timestamp_seconds":1785548271,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaf86d98"} 
[2026-08-01 07:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:09: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-08-01 07:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-01 07:09:15] 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-08-01 07:09:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":145883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":145883,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":145883,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:09:15] 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-08-01 07:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100355072001,"66":13493,"9":206,"85":12288,"24":24,"16":113403612108947456,"45":9023384090627594240},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-08-01 07:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100355072001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:09:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-01 07:09:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 07:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113403612108947456,"km_value":113403612108947.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384090627594240,"description":"Unknown IO ID 45"} 
[2026-08-01 07:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100355072001,"power":13493,"unknown_9":206,"unknown_85":12288,"ignition":24,"odometer":null,"unknown_45":9023384090627594240}} 
[2026-08-01 07:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":145883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576173,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:09:15] local.INFO: GPS data processed {"connection_id":145883,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:09:15] local.INFO: Acknowledgment sent {"connection_id":145883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:09:18] local.INFO: TCP Data received {"connection_id":145883,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaf8bbb8012d7d3c0005c1f800000700032c..."} 
[2026-08-01 07:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaf8bbb8012d7d3c0005c1f800000700032c..."} 
[2026-08-01 07:09:18] local.INFO: Processing buffer {"connection_id":145883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaf8bbb8012d7d3c0005c1f800000700032c..."} 
[2026-08-01 07:09:18] local.INFO: Packet analysis {"connection_id":145883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaf8"} 
[2026-08-01 07:09:18] local.INFO: Extracted packet for processing {"connection_id":145883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaf8"} 
[2026-08-01 07:09:18] local.INFO: GPS Element Parsed {"raw_longitude":763182080,"raw_latitude":96598016,"longitude_deg":76.318208,"latitude_deg":9.6598016,"altitude":7,"angle":3,"satellites":44,"speed":20,"hex_longitude":"2d7d3c00","hex_latitude":"05c1f800","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:09:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100357376001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:09:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113403809677443072,"note":"Value kept but may cause issues"} 
[2026-08-01 07:09:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023735934350807040,"note":"Value kept but may cause issues"} 
[2026-08-01 07:09:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:09:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785548291000,"timestamp_ms":1785548291000,"timestamp_seconds":1785548291,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaf8bbb8"} 
[2026-08-01 07:09:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:09: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-08-01 07: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-01 07:09:18] 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-08-01 07: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-08-01 07:09:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:09:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:09:18] local.INFO: Teltonika packet parsed successfully {"connection_id":145883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:09:18] local.INFO: Passing IMEI to GPS processor {"connection_id":145883,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:09:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":145883,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:09: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-08-01 07:09:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:09:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:09:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100357376001,"66":13678,"9":206,"85":12288,"24":20,"16":113403809677443072,"45":9023735934350807040},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-08-01 07:09:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:09:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:09:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100357376001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:09:18] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-01 07:09:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 07:09:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113403809677443072,"km_value":113403809677443.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:09:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023735934350807040,"description":"Unknown IO ID 45"} 
[2026-08-01 07:09:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100357376001,"power":13678,"unknown_9":206,"unknown_85":12288,"ignition":20,"odometer":null,"unknown_45":9023735934350807040}} 
[2026-08-01 07:09:18] local.INFO: DEBUG: GPS processor result {"connection_id":145883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576174,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:09:18] local.INFO: GPS data processed {"connection_id":145883,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:09:18] local.INFO: Acknowledgment sent {"connection_id":145883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:09:28] local.INFO: TCP Data received {"connection_id":146080,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaf90208012d5fabc0062e7310000c01612d..."} 
[2026-08-01 07:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaf90208012d5fabc0062e7310000c01612d..."} 
[2026-08-01 07:09:28] local.INFO: Processing buffer {"connection_id":146080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaf90208012d5fabc0062e7310000c01612d..."} 
[2026-08-01 07:09:28] local.INFO: Packet analysis {"connection_id":146080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaf9"} 
[2026-08-01 07:09:28] local.INFO: Extracted packet for processing {"connection_id":146080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaf9"} 
[2026-08-01 07:09:28] local.INFO: GPS Element Parsed {"raw_longitude":761244608,"raw_latitude":103707408,"longitude_deg":76.1244608,"latitude_deg":10.3707408,"altitude":12,"angle":353,"satellites":45,"speed":56,"hex_longitude":"2d5fabc0","hex_latitude":"062e7310","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100365312001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365617509207900160,"note":"Value kept but may cause issues"} 
[2026-08-01 07:09:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6895011056050913280,"note":"Value kept but may cause issues"} 
[2026-08-01 07:09:28] 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-08-01 07:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785548309000,"timestamp_ms":1785548309000,"timestamp_seconds":1785548309,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaf90208"} 
[2026-08-01 07:09:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:09: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-08-01 07: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 07:09: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-08-01 07: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-08-01 07:09:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":146080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":146080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":146080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:09:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100365312001,"66":27745,"175":206,"19":40192,"24":56,"16":365617509207900160,"45":6895011056050913280},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,19,24,16,45]} 
[2026-08-01 07:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100365312001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:09:28] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-01 07:09:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-08-01 07:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365617509207900160,"km_value":365617509207900.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:09:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":6895011056050913280,"description":"Unknown IO ID 45"} 
[2026-08-01 07:09:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100365312001,"power":27745,"unknown_175":206,"unknown_19":40192,"ignition":56,"odometer":null,"unknown_45":6895011056050913280}} 
[2026-08-01 07:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":146080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:09:28] local.INFO: GPS data processed {"connection_id":146080,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:09:28] local.INFO: Acknowledgment sent {"connection_id":146080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:09:42] local.INFO: TCP Data received {"connection_id":147098,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:09:42] local.INFO: Processing buffer {"connection_id":147098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:09:42] local.INFO: IMEI packet received {"connection_id":147098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":147098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:09:45] local.INFO: TCP Data received {"connection_id":147098,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:09:45] local.INFO: Processing buffer {"connection_id":147098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:09:45] local.INFO: IMEI packet received {"connection_id":147098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":147098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:09:50] local.INFO: TCP Data received {"connection_id":145883,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaf8ea98012d7d3f4005c21d18000800022c..."} 
[2026-08-01 07:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaf8ea98012d7d3f4005c21d18000800022c..."} 
[2026-08-01 07:09:50] local.INFO: Processing buffer {"connection_id":145883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaf8ea98012d7d3f4005c21d18000800022c..."} 
[2026-08-01 07:09:50] local.INFO: Packet analysis {"connection_id":145883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaf8"} 
[2026-08-01 07:09:50] local.INFO: Extracted packet for processing {"connection_id":145883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaf8"} 
[2026-08-01 07:09:50] local.INFO: GPS Element Parsed {"raw_longitude":763182912,"raw_latitude":96607512,"longitude_deg":76.3182912,"latitude_deg":9.6607512,"altitude":8,"angle":2,"satellites":44,"speed":34,"hex_longitude":"2d7d3f40","hex_latitude":"05c21d18","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100362496001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113404269238943744,"note":"Value kept but may cause issues"} 
[2026-08-01 07:09:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024087778072723456,"note":"Value kept but may cause issues"} 
[2026-08-01 07:09:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:09:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785548303000,"timestamp_ms":1785548303000,"timestamp_seconds":1785548303,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaf8ea98"} 
[2026-08-01 07:09:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:09: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-08-01 07: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-01 07:09:50] 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-08-01 07: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-08-01 07:09:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":145883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":145883,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":145883,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:09:50] 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-08-01 07:09:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:09:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:09:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100362496001,"66":13559,"9":206,"85":12288,"24":34,"16":113404269238943744,"45":9024087778072723456},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-08-01 07:09:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:09:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:09:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100362496001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:09:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-01 07:09:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 07:09:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113404269238943744,"km_value":113404269238943.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:09:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024087778072723456,"description":"Unknown IO ID 45"} 
[2026-08-01 07:09:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100362496001,"power":13559,"unknown_9":206,"unknown_85":12288,"ignition":34,"odometer":null,"unknown_45":9024087778072723456}} 
[2026-08-01 07:09:50] local.INFO: DEBUG: GPS processor result {"connection_id":145883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576176,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:09:50] local.INFO: GPS data processed {"connection_id":145883,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:09:50] local.INFO: Acknowledgment sent {"connection_id":145883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:09:51] local.INFO: TCP Data received {"connection_id":147098,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:09:51] local.INFO: Processing buffer {"connection_id":147098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:09:51] local.INFO: IMEI packet received {"connection_id":147098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":147098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:09:54] local.INFO: TCP Data received {"connection_id":147098,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaf91d60012d5fa740062e9ac0000901602c..."} 
[2026-08-01 07:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaf91d60012d5fa740062e9ac0000901602c..."} 
[2026-08-01 07:09:54] local.INFO: Processing buffer {"connection_id":147098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaf91d60012d5fa740062e9ac0000901602c..."} 
[2026-08-01 07:09:54] local.INFO: Packet analysis {"connection_id":147098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaf9"} 
[2026-08-01 07:09:54] local.INFO: Extracted packet for processing {"connection_id":147098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaf9"} 
[2026-08-01 07:09:54] local.INFO: GPS Element Parsed {"raw_longitude":761243456,"raw_latitude":103717568,"longitude_deg":76.1243456,"latitude_deg":10.3717568,"altitude":9,"angle":352,"satellites":44,"speed":58,"hex_longitude":"2d5fa740","hex_latitude":"062e9ac0","is_valid_coordinates":true} 
[2026-08-01 07:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100367104001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:09:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365618003129139200,"note":"Value kept but may cause issues"} 
[2026-08-01 07:09:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6893814787402305536,"note":"Value kept but may cause issues"} 
[2026-08-01 07:09:54] 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-08-01 07:09:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785548316000,"timestamp_ms":1785548316000,"timestamp_seconds":1785548316,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaf91d60"} 
[2026-08-01 07:09:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:09:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 07:09:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:09:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:09:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:09:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:09:54] local.INFO: Teltonika packet parsed successfully {"connection_id":147098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:09:54] local.INFO: Passing IMEI to GPS processor {"connection_id":147098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:09:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":147098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:09:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:09:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:09:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:09:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100367104001,"66":27843,"175":206,"19":40192,"24":58,"16":365618003129139200,"45":6893814787402305536},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,19,24,16,45]} 
[2026-08-01 07:09:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:09:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:09:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100367104001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:09:54] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-01 07:09:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-08-01 07:09:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365618003129139200,"km_value":365618003129139.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:09:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":6893814787402305536,"description":"Unknown IO ID 45"} 
[2026-08-01 07:09:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100367104001,"power":27843,"unknown_175":206,"unknown_19":40192,"ignition":58,"odometer":null,"unknown_45":6893814787402305536}} 
[2026-08-01 07:09:54] local.INFO: DEBUG: GPS processor result {"connection_id":147098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:09:54] local.INFO: GPS data processed {"connection_id":147098,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:09:54] local.INFO: Acknowledgment sent {"connection_id":147098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:10:08] local.INFO: TCP Data received {"connection_id":145884,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145884,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:10:08] local.INFO: Processing buffer {"connection_id":145884,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:10:08] local.INFO: IMEI packet received {"connection_id":145884,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":145884,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:10:12] local.INFO: TCP Data received {"connection_id":145884,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145884,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:10:12] local.INFO: Processing buffer {"connection_id":145884,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:10:12] local.INFO: IMEI packet received {"connection_id":145884,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":145884,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:10:13] local.INFO: TCP Data received {"connection_id":145884,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaf938b8012d7d40c005c230e8000700072a..."} 
[2026-08-01 07:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaf938b8012d7d40c005c230e8000700072a..."} 
[2026-08-01 07:10:13] local.INFO: Processing buffer {"connection_id":145884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaf938b8012d7d40c005c230e8000700072a..."} 
[2026-08-01 07:10:13] local.INFO: Packet analysis {"connection_id":145884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaf9"} 
[2026-08-01 07:10:13] local.INFO: Extracted packet for processing {"connection_id":145884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaf9"} 
[2026-08-01 07:10:13] local.INFO: GPS Element Parsed {"raw_longitude":763183296,"raw_latitude":96612584,"longitude_deg":76.3183296,"latitude_deg":9.6612584,"altitude":7,"angle":7,"satellites":42,"speed":12,"hex_longitude":"2d7d40c0","hex_latitude":"05c230e8","is_valid_coordinates":true} 
[2026-08-01 07:10: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-08-01 07:10:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100365568001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:10:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113404526936981504,"note":"Value kept but may cause issues"} 
[2026-08-01 07:10:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025002571749464064,"note":"Value kept but may cause issues"} 
[2026-08-01 07:10:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:10:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785548323000,"timestamp_ms":1785548323000,"timestamp_seconds":1785548323,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaf938b8"} 
[2026-08-01 07:10:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:10: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-08-01 07:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-01 07:10:13] 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-08-01 07:10:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:10:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:10:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":145884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":145884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":145884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:10:13] 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-08-01 07:10:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:10:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:10:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100365568001,"66":13798,"9":206,"85":12288,"24":12,"16":113404526936981504,"45":9025002571749464064},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-08-01 07:10:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:10:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:10:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100365568001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:10:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-01 07:10:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 07:10:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113404526936981504,"km_value":113404526936981.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:10:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025002571749464064,"description":"Unknown IO ID 45"} 
[2026-08-01 07:10:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100365568001,"power":13798,"unknown_9":206,"unknown_85":12288,"ignition":12,"odometer":null,"unknown_45":9025002571749464064}} 
[2026-08-01 07:10:13] local.INFO: DEBUG: GPS processor result {"connection_id":145884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576178,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:10:13] local.INFO: GPS data processed {"connection_id":145884,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:10:13] local.INFO: Acknowledgment sent {"connection_id":145884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:10:26] local.INFO: TCP Data received {"connection_id":147098,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaf934d0012d5fa1c0062ebd100007015b2c..."} 
[2026-08-01 07:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaf934d0012d5fa1c0062ebd100007015b2c..."} 
[2026-08-01 07:10:26] local.INFO: Processing buffer {"connection_id":147098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaf934d0012d5fa1c0062ebd100007015b2c..."} 
[2026-08-01 07:10:26] local.INFO: Packet analysis {"connection_id":147098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaf9"} 
[2026-08-01 07:10:26] local.INFO: Extracted packet for processing {"connection_id":147098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaf9"} 
[2026-08-01 07:10:26] local.INFO: GPS Element Parsed {"raw_longitude":761242048,"raw_latitude":103726352,"longitude_deg":76.1242048,"latitude_deg":10.3726352,"altitude":7,"angle":347,"satellites":44,"speed":58,"hex_longitude":"2d5fa1c0","hex_latitude":"062ebd10","is_valid_coordinates":true} 
[2026-08-01 07:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:10:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100368896001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:10:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365618432625868800,"note":"Value kept but may cause issues"} 
[2026-08-01 07:10:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6892548150009708544,"note":"Value kept but may cause issues"} 
[2026-08-01 07:10:26] 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-08-01 07:10:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785548322000,"timestamp_ms":1785548322000,"timestamp_seconds":1785548322,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaf934d0"} 
[2026-08-01 07:10:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:10:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 07:10:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:10:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:10:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:10:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:10:26] local.INFO: Teltonika packet parsed successfully {"connection_id":147098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:10:26] local.INFO: Passing IMEI to GPS processor {"connection_id":147098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:10:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":147098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:10:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:10:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:10:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:10:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100368896001,"66":27767,"175":206,"19":40192,"24":58,"16":365618432625868800,"45":6892548150009708544},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,19,24,16,45]} 
[2026-08-01 07:10:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:10:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:10:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100368896001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:10:26] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-01 07:10:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-08-01 07:10:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365618432625868800,"km_value":365618432625868.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:10:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":6892548150009708544,"description":"Unknown IO ID 45"} 
[2026-08-01 07:10:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100368896001,"power":27767,"unknown_175":206,"unknown_19":40192,"ignition":58,"odometer":null,"unknown_45":6892548150009708544}} 
[2026-08-01 07:10:26] local.INFO: DEBUG: GPS processor result {"connection_id":147098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:10:26] local.INFO: GPS data processed {"connection_id":147098,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:10:26] local.INFO: Acknowledgment sent {"connection_id":147098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:10:44] local.INFO: TCP Data received {"connection_id":145884,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaf96f68012d7d450005c256e0000800082c..."} 
[2026-08-01 07:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaf96f68012d7d450005c256e0000800082c..."} 
[2026-08-01 07:10:44] local.INFO: Processing buffer {"connection_id":145884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaf96f68012d7d450005c256e0000800082c..."} 
[2026-08-01 07:10:44] local.INFO: Packet analysis {"connection_id":145884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaf9"} 
[2026-08-01 07:10:44] local.INFO: Extracted packet for processing {"connection_id":145884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaf9"} 
[2026-08-01 07:10:44] local.INFO: GPS Element Parsed {"raw_longitude":763184384,"raw_latitude":96622304,"longitude_deg":76.3184384,"latitude_deg":9.6622304,"altitude":8,"angle":8,"satellites":44,"speed":37,"hex_longitude":"2d7d4500","hex_latitude":"05c256e0","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100370688001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113405003678351360,"note":"Value kept but may cause issues"} 
[2026-08-01 07:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025424784215828480,"note":"Value kept but may cause issues"} 
[2026-08-01 07:10:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785548337000,"timestamp_ms":1785548337000,"timestamp_seconds":1785548337,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaf96f68"} 
[2026-08-01 07:10:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:10: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-08-01 07: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-01 07:10:44] 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-08-01 07:10:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:10:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":145884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":145884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":145884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:10:44] 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-08-01 07:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100370688001,"66":13678,"9":206,"85":12288,"24":37,"16":113405003678351360,"45":9025424784215828480},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-08-01 07:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100370688001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:10:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-01 07:10:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 07:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113405003678351360,"km_value":113405003678351.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025424784215828480,"description":"Unknown IO ID 45"} 
[2026-08-01 07:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100370688001,"power":13678,"unknown_9":206,"unknown_85":12288,"ignition":37,"odometer":null,"unknown_45":9025424784215828480}} 
[2026-08-01 07:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":145884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576180,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:10:44] local.INFO: GPS data processed {"connection_id":145884,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:10:44] local.INFO: Acknowledgment sent {"connection_id":145884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:10:46] local.INFO: TCP Data received {"connection_id":147099,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:10:46] local.INFO: Processing buffer {"connection_id":147099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:10:46] local.INFO: IMEI packet received {"connection_id":147099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":147099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:10:46] local.INFO: TCP Data received {"connection_id":147099,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:10:46] local.INFO: Processing buffer {"connection_id":147099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:10:46] local.INFO: IMEI packet received {"connection_id":147099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":147099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:10:50] local.INFO: TCP Data received {"connection_id":147099,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:10:50] local.INFO: Processing buffer {"connection_id":147099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:10:50] local.INFO: IMEI packet received {"connection_id":147099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":147099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:10:54] local.INFO: TCP Data received {"connection_id":147099,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaf95028012d5f9780062ee1c0000601572e..."} 
[2026-08-01 07:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaf95028012d5f9780062ee1c0000601572e..."} 
[2026-08-01 07:10:54] local.INFO: Processing buffer {"connection_id":147099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaf95028012d5f9780062ee1c0000601572e..."} 
[2026-08-01 07:10:54] local.INFO: Packet analysis {"connection_id":147099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaf9"} 
[2026-08-01 07:10:54] local.INFO: Extracted packet for processing {"connection_id":147099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaf9"} 
[2026-08-01 07:10:54] local.INFO: GPS Element Parsed {"raw_longitude":761239424,"raw_latitude":103735744,"longitude_deg":76.1239424,"latitude_deg":10.3735744,"altitude":6,"angle":343,"satellites":46,"speed":47,"hex_longitude":"2d5f9780","hex_latitude":"062ee1c0","is_valid_coordinates":true} 
[2026-08-01 07:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100370432001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365618905072271360,"note":"Value kept but may cause issues"} 
[2026-08-01 07:10:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6891000037640048640,"note":"Value kept but may cause issues"} 
[2026-08-01 07:10:54] 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-08-01 07:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785548329000,"timestamp_ms":1785548329000,"timestamp_seconds":1785548329,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaf95028"} 
[2026-08-01 07:10:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:10:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 07:10:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:10:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:10:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":147099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":147099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":147099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:10:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100370432001,"66":27745,"175":206,"19":40192,"24":47,"16":365618905072271360,"45":6891000037640048640},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,19,24,16,45]} 
[2026-08-01 07:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100370432001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:10:54] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-01 07:10:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-08-01 07:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365618905072271360,"km_value":365618905072271.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:10:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":6891000037640048640,"description":"Unknown IO ID 45"} 
[2026-08-01 07:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100370432001,"power":27745,"unknown_175":206,"unknown_19":40192,"ignition":47,"odometer":null,"unknown_45":6891000037640048640}} 
[2026-08-01 07:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":147099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:10:54] local.INFO: GPS data processed {"connection_id":147099,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:10:54] local.INFO: Acknowledgment sent {"connection_id":147099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:10:56] local.INFO: TCP Data received {"connection_id":147099,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaf97350012d5f9140062ef8c8000701632d..."} 
[2026-08-01 07:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaf97350012d5f9140062ef8c8000701632d..."} 
[2026-08-01 07:10:56] local.INFO: Processing buffer {"connection_id":147099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaf97350012d5f9140062ef8c8000701632d..."} 
[2026-08-01 07:10:56] local.INFO: Packet analysis {"connection_id":147099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaf9"} 
[2026-08-01 07:10:56] local.INFO: Extracted packet for processing {"connection_id":147099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaf9"} 
[2026-08-01 07:10:56] local.INFO: GPS Element Parsed {"raw_longitude":761237824,"raw_latitude":103741640,"longitude_deg":76.1237824,"latitude_deg":10.374164,"altitude":7,"angle":355,"satellites":45,"speed":13,"hex_longitude":"2d5f9140","hex_latitude":"062ef8c8","is_valid_coordinates":true} 
[2026-08-01 07:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100372224001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365619201425014784,"note":"Value kept but may cause issues"} 
[2026-08-01 07:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6888114919131168768,"note":"Value kept but may cause issues"} 
[2026-08-01 07:10:56] 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-08-01 07:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785548338000,"timestamp_ms":1785548338000,"timestamp_seconds":1785548338,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaf97350"} 
[2026-08-01 07:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:10:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 07:10:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:10:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":147099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":147099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":147099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:10:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100372224001,"66":27789,"174":206,"19":40192,"24":13,"16":365619201425014784,"45":6888114919131168768},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,19,24,16,45]} 
[2026-08-01 07:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100372224001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:10:56] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-08-01 07:10:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-08-01 07:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365619201425014784,"km_value":365619201425014.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":6888114919131168768,"description":"Unknown IO ID 45"} 
[2026-08-01 07:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100372224001,"power":27789,"unknown_174":206,"unknown_19":40192,"ignition":13,"odometer":null,"unknown_45":6888114919131168768}} 
[2026-08-01 07:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":147099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:10:56] local.INFO: GPS data processed {"connection_id":147099,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:10:56] local.INFO: Acknowledgment sent {"connection_id":147099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:10:57] local.INFO: TCP Data received {"connection_id":147099,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaf986d8012d5f9040062f00a0000701572d..."} 
[2026-08-01 07:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaf986d8012d5f9040062f00a0000701572d..."} 
[2026-08-01 07:10:57] local.INFO: Processing buffer {"connection_id":147099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaf986d8012d5f9040062f00a0000701572d..."} 
[2026-08-01 07:10:57] local.INFO: Packet analysis {"connection_id":147099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaf9"} 
[2026-08-01 07:10:57] local.INFO: Extracted packet for processing {"connection_id":147099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaf9"} 
[2026-08-01 07:10:57] local.INFO: GPS Element Parsed {"raw_longitude":761237568,"raw_latitude":103743648,"longitude_deg":76.1237568,"latitude_deg":10.3743648,"altitude":7,"angle":343,"satellites":45,"speed":18,"hex_longitude":"2d5f9040","hex_latitude":"062f00a0","is_valid_coordinates":true} 
[2026-08-01 07:10:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:10:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100374528001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:10:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365619300209262592,"note":"Value kept but may cause issues"} 
[2026-08-01 07:10:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6886355700528236544,"note":"Value kept but may cause issues"} 
[2026-08-01 07:10:57] 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-08-01 07:10:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785548343000,"timestamp_ms":1785548343000,"timestamp_seconds":1785548343,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaf986d8"} 
[2026-08-01 07:10:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:10:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:10:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-01 07:10:57] 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-08-01 07:10:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:10:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:10:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:10:57] local.INFO: Teltonika packet parsed successfully {"connection_id":147099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:10:57] local.INFO: Passing IMEI to GPS processor {"connection_id":147099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:10:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":147099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:10:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:10:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:10:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:10:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100374528001,"66":27767,"174":206,"19":40192,"24":18,"16":365619300209262592,"45":6886355700528236544},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,19,24,16,45]} 
[2026-08-01 07:10:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:10:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:10:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100374528001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:10:57] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-08-01 07:10:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-08-01 07:10:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365619300209262592,"km_value":365619300209262.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:10:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":6886355700528236544,"description":"Unknown IO ID 45"} 
[2026-08-01 07:10:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100374528001,"power":27767,"unknown_174":206,"unknown_19":40192,"ignition":18,"odometer":null,"unknown_45":6886355700528236544}} 
[2026-08-01 07:10:57] local.INFO: DEBUG: GPS processor result {"connection_id":147099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:10:57] local.INFO: GPS data processed {"connection_id":147099,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:10:57] local.INFO: Acknowledgment sent {"connection_id":147099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:11:14] local.INFO: TCP Data received {"connection_id":147100,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147100,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:11:14] local.INFO: Processing buffer {"connection_id":147100,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:11:14] local.INFO: IMEI packet received {"connection_id":147100,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":147100,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:11:15] local.INFO: TCP Data received {"connection_id":147100,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147100,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:11:15] local.INFO: Processing buffer {"connection_id":147100,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:11:15] local.INFO: IMEI packet received {"connection_id":147100,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":147100,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:11:18] local.INFO: TCP Data received {"connection_id":147100,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbafb4428012d7d4a4005c39ac8000e016624..."} 
[2026-08-01 07:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbafb4428012d7d4a4005c39ac8000e016624..."} 
[2026-08-01 07:11:18] local.INFO: Processing buffer {"connection_id":147100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbafb4428012d7d4a4005c39ac8000e016624..."} 
[2026-08-01 07:11:18] local.INFO: Packet analysis {"connection_id":147100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbafb"} 
[2026-08-01 07:11:18] local.INFO: Extracted packet for processing {"connection_id":147100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbafb"} 
[2026-08-01 07:11:18] local.INFO: GPS Element Parsed {"raw_longitude":763185728,"raw_latitude":96705224,"longitude_deg":76.3185728,"latitude_deg":9.6705224,"altitude":14,"angle":358,"satellites":36,"speed":37,"hex_longitude":"2d7d4a40","hex_latitude":"05c39ac8","is_valid_coordinates":true} 
[2026-08-01 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-08-01 07:11:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100402432001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:11:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113409058127478784,"note":"Value kept but may cause issues"} 
[2026-08-01 07:11:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028028427771779072,"note":"Value kept but may cause issues"} 
[2026-08-01 07:11:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:11:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785548457000,"timestamp_ms":1785548457000,"timestamp_seconds":1785548457,"priority":1,"record_length":96,"hex_timestamp":"0000019fbafb4428"} 
[2026-08-01 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-08-01 07:11: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-08-01 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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-01 07:11:18] 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-08-01 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-08-01 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-08-01 07:11:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:11:18] local.INFO: Teltonika packet parsed successfully {"connection_id":147100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:11:18] local.INFO: Passing IMEI to GPS processor {"connection_id":147100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:11:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":147100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:11: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-08-01 07:11:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:11:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:11:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100402432001,"66":13319,"104":206,"85":12288,"24":37,"16":113409058127478784,"45":9028028427771779072},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-08-01 07:11:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:11:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:11:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100402432001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:11:18] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-01 07:11:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 07:11:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113409058127478784,"km_value":113409058127478.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:11:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028028427771779072,"description":"Unknown IO ID 45"} 
[2026-08-01 07:11:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100402432001,"power":13319,"unknown_104":206,"unknown_85":12288,"ignition":37,"odometer":null,"unknown_45":9028028427771779072}} 
[2026-08-01 07:11:18] local.INFO: DEBUG: GPS processor result {"connection_id":147100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576184,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:11:18] local.INFO: GPS data processed {"connection_id":147100,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:11:18] local.INFO: Acknowledgment sent {"connection_id":147100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:11:33] local.INFO: TCP Data received {"connection_id":147099,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaf9c170012d5f8b40062f10400008014b2c..."} 
[2026-08-01 07:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaf9c170012d5f8b40062f10400008014b2c..."} 
[2026-08-01 07:11:33] local.INFO: Processing buffer {"connection_id":147099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaf9c170012d5f8b40062f10400008014b2c..."} 
[2026-08-01 07:11:33] local.INFO: Packet analysis {"connection_id":147099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaf9"} 
[2026-08-01 07:11:33] local.INFO: Extracted packet for processing {"connection_id":147099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaf9"} 
[2026-08-01 07:11:33] local.INFO: GPS Element Parsed {"raw_longitude":761236288,"raw_latitude":103747648,"longitude_deg":76.1236288,"latitude_deg":10.3747648,"altitude":8,"angle":331,"satellites":44,"speed":15,"hex_longitude":"2d5f8b40","hex_latitude":"062f1040","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100375808001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365619506367692800,"note":"Value kept but may cause issues"} 
[2026-08-01 07:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6886074225552039936,"note":"Value kept but may cause issues"} 
[2026-08-01 07:11:33] 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-08-01 07:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785548358000,"timestamp_ms":1785548358000,"timestamp_seconds":1785548358,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaf9c170"} 
[2026-08-01 07:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:11: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-08-01 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 07:11: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-08-01 07: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-08-01 07:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":147099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":147099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":147099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100375808001,"66":27658,"174":206,"19":40192,"24":15,"16":365619506367692800,"45":6886074225552039936},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,19,24,16,45]} 
[2026-08-01 07:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100375808001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:11:33] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-08-01 07:11:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-08-01 07:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365619506367692800,"km_value":365619506367692.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6886074225552039936,"description":"Unknown IO ID 45"} 
[2026-08-01 07:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100375808001,"power":27658,"unknown_174":206,"unknown_19":40192,"ignition":15,"odometer":null,"unknown_45":6886074225552039936}} 
[2026-08-01 07:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":147099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:11:33] local.INFO: GPS data processed {"connection_id":147099,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:11:33] local.INFO: Acknowledgment sent {"connection_id":147099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:11:45] local.INFO: TCP Data received {"connection_id":147101,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:11:45] local.INFO: Processing buffer {"connection_id":147101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:11:45] local.INFO: IMEI packet received {"connection_id":147101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":147101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:11:47] local.INFO: TCP Data received {"connection_id":147101,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:11:47] local.INFO: Processing buffer {"connection_id":147101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:11:47] local.INFO: IMEI packet received {"connection_id":147101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":147101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:11:49] local.INFO: TCP Data received {"connection_id":147101,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbafa03d8012d5f7ac0062f3018000901522e..."} 
[2026-08-01 07:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbafa03d8012d5f7ac0062f3018000901522e..."} 
[2026-08-01 07:11:49] local.INFO: Processing buffer {"connection_id":147101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbafa03d8012d5f7ac0062f3018000901522e..."} 
[2026-08-01 07:11:49] local.INFO: Packet analysis {"connection_id":147101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbafa"} 
[2026-08-01 07:11:49] local.INFO: Extracted packet for processing {"connection_id":147101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbafa"} 
[2026-08-01 07:11:49] local.INFO: GPS Element Parsed {"raw_longitude":761232064,"raw_latitude":103755800,"longitude_deg":76.1232064,"latitude_deg":10.37558,"altitude":9,"angle":338,"satellites":46,"speed":25,"hex_longitude":"2d5f7ac0","hex_latitude":"062f3018","is_valid_coordinates":true} 
[2026-08-01 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-08-01 07:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100379648001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:11:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365619953044291584,"note":"Value kept but may cause issues"} 
[2026-08-01 07:11:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6884666850669510656,"note":"Value kept but may cause issues"} 
[2026-08-01 07:11:49] 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-08-01 07:11:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785548375000,"timestamp_ms":1785548375000,"timestamp_seconds":1785548375,"priority":1,"record_length":96,"hex_timestamp":"0000019fbafa03d8"} 
[2026-08-01 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-08-01 07:11: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-08-01 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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 07:11:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 07:11:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:11:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:11:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:11:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:11:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:11:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:11:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:11:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100379648001,"66":27658,"174":206,"19":40192,"24":25,"16":365619953044291584,"45":6884666850669510656},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,19,24,16,45]} 
[2026-08-01 07:11:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:11:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:11:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100379648001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:11:49] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-08-01 07:11:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-08-01 07:11:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365619953044291584,"km_value":365619953044291.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:11:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6884666850669510656,"description":"Unknown IO ID 45"} 
[2026-08-01 07:11:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100379648001,"power":27658,"unknown_174":206,"unknown_19":40192,"ignition":25,"odometer":null,"unknown_45":6884666850669510656}} 
[2026-08-01 07:11:49] local.INFO: DEBUG: GPS processor result {"connection_id":147101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:11:49] local.INFO: GPS data processed {"connection_id":147101,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:11:49] local.INFO: Acknowledgment sent {"connection_id":147101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:12:07] local.INFO: TCP Data received {"connection_id":146081,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146081,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:12:07] local.INFO: Processing buffer {"connection_id":146081,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:12:07] local.INFO: IMEI packet received {"connection_id":146081,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":146081,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:12:10] local.INFO: TCP Data received {"connection_id":146081,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146081,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:12:10] local.INFO: Processing buffer {"connection_id":146081,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:12:10] local.INFO: IMEI packet received {"connection_id":146081,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":146081,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:12:12] local.INFO: TCP Data received {"connection_id":146081,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146081,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:12:12] local.INFO: Processing buffer {"connection_id":146081,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:12:12] local.INFO: IMEI packet received {"connection_id":146081,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:12:12] local.INFO: IMEI acknowledgment sent {"connection_id":146081,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:12:13] local.INFO: TCP Data received {"connection_id":146081,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbafb9630012d7d3f4005c3f3f0000e00002b..."} 
[2026-08-01 07:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbafb9630012d7d3f4005c3f3f0000e00002b..."} 
[2026-08-01 07:12:13] local.INFO: Processing buffer {"connection_id":146081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbafb9630012d7d3f4005c3f3f0000e00002b..."} 
[2026-08-01 07:12:13] local.INFO: Packet analysis {"connection_id":146081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbafb"} 
[2026-08-01 07:12:13] local.INFO: Extracted packet for processing {"connection_id":146081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbafb"} 
[2026-08-01 07:12:13] local.INFO: GPS Element Parsed {"raw_longitude":763182912,"raw_latitude":96728048,"longitude_deg":76.3182912,"latitude_deg":9.6728048,"altitude":14,"angle":0,"satellites":43,"speed":47,"hex_longitude":"2d7d3f40","hex_latitude":"05c3f3f0","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100409344001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113410174818975744,"note":"Value kept but may cause issues"} 
[2026-08-01 07:12:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025424784244180992,"note":"Value kept but may cause issues"} 
[2026-08-01 07:12:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785548478000,"timestamp_ms":1785548478000,"timestamp_seconds":1785548478,"priority":1,"record_length":96,"hex_timestamp":"0000019fbafb9630"} 
[2026-08-01 07:12:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:12:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-01 07:12:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:12: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-08-01 07:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":146081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":146081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":146081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:12:13] 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-08-01 07:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100409344001,"66":13580,"104":206,"85":12288,"24":47,"16":113410174818975744,"45":9025424784244180992},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-08-01 07:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100409344001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:12:13] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-01 07:12:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 07:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113410174818975744,"km_value":113410174818975.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:12:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025424784244180992,"description":"Unknown IO ID 45"} 
[2026-08-01 07:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100409344001,"power":13580,"unknown_104":206,"unknown_85":12288,"ignition":47,"odometer":null,"unknown_45":9025424784244180992}} 
[2026-08-01 07:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":146081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576187,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:12:13] local.INFO: GPS data processed {"connection_id":146081,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:12:13] local.INFO: Acknowledgment sent {"connection_id":146081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:12:20] local.INFO: TCP Data received {"connection_id":147101,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbafbada0012d5eedc00630f838000c01562e..."} 
[2026-08-01 07:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbafbada0012d5eedc00630f838000c01562e..."} 
[2026-08-01 07:12:20] local.INFO: Processing buffer {"connection_id":147101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbafbada0012d5eedc00630f838000c01562e..."} 
[2026-08-01 07:12:20] local.INFO: Packet analysis {"connection_id":147101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbafb"} 
[2026-08-01 07:12:20] local.INFO: Extracted packet for processing {"connection_id":147101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbafb"} 
[2026-08-01 07:12:20] local.INFO: GPS Element Parsed {"raw_longitude":761195968,"raw_latitude":103872568,"longitude_deg":76.1195968,"latitude_deg":10.3872568,"altitude":12,"angle":342,"satellites":46,"speed":46,"hex_longitude":"2d5eedc0","hex_latitude":"0630f838","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100409856001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365625880099160064,"note":"Value kept but may cause issues"} 
[2026-08-01 07:12:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6843852979076055040,"note":"Value kept but may cause issues"} 
[2026-08-01 07:12:20] 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-08-01 07:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785548484000,"timestamp_ms":1785548484000,"timestamp_seconds":1785548484,"priority":1,"record_length":96,"hex_timestamp":"0000019fbafbada0"} 
[2026-08-01 07:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:12:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 07:12:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07: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-08-01 07:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100409856001,"66":27767,"112":206,"19":40192,"24":46,"16":365625880099160064,"45":6843852979076055040},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,19,24,16,45]} 
[2026-08-01 07:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100409856001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:12:20] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-01 07:12:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-08-01 07:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365625880099160064,"km_value":365625880099160.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:12:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":6843852979076055040,"description":"Unknown IO ID 45"} 
[2026-08-01 07:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100409856001,"power":27767,"unknown_112":206,"unknown_19":40192,"ignition":46,"odometer":null,"unknown_45":6843852979076055040}} 
[2026-08-01 07:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":147101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:12:20] local.INFO: GPS data processed {"connection_id":147101,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:12:20] local.INFO: Acknowledgment sent {"connection_id":147101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:12:44] local.INFO: TCP Data received {"connection_id":146081,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbafbb570012d7d424005c41a80000d00032a..."} 
[2026-08-01 07:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbafbb570012d7d424005c41a80000d00032a..."} 
[2026-08-01 07:12:44] local.INFO: Processing buffer {"connection_id":146081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbafbb570012d7d424005c41a80000d00032a..."} 
[2026-08-01 07:12:44] local.INFO: Packet analysis {"connection_id":146081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbafb"} 
[2026-08-01 07:12:44] local.INFO: Extracted packet for processing {"connection_id":146081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbafb"} 
[2026-08-01 07:12:44] local.INFO: GPS Element Parsed {"raw_longitude":763183680,"raw_latitude":96737920,"longitude_deg":76.318368,"latitude_deg":9.673792,"altitude":13,"angle":3,"satellites":42,"speed":47,"hex_longitude":"2d7d4240","hex_latitude":"05c41a80","is_valid_coordinates":true} 
[2026-08-01 07:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100410368001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113410655855312896,"note":"Value kept but may cause issues"} 
[2026-08-01 07:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025002571780321280,"note":"Value kept but may cause issues"} 
[2026-08-01 07:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785548486000,"timestamp_ms":1785548486000,"timestamp_seconds":1785548486,"priority":1,"record_length":96,"hex_timestamp":"0000019fbafbb570"} 
[2026-08-01 07:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:12: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-08-01 07:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-01 07:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751616744,"note":"Value kept but may cause issues"} 
[2026-08-01 07:12:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-01 07:12:44] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3136995160,"note":"Value kept but may cause issues"} 
[2026-08-01 07:12:44] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7860999064714739712,"note":"Value kept but may cause issues"} 
[2026-08-01 07:12:44] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-01 07:12:44] local.WARNING: Large IO value detected {"io_id":232,"raw_value":4026531840,"note":"Value kept but may cause issues"} 
[2026-08-01 07:12:44] local.WARNING: Large IO value detected {"io_id":186,"raw_value":4212987905,"note":"Value kept but may cause issues"} 
[2026-08-01 07:12:44] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634926807933544,"note":"Value kept but may cause issues"} 
[2026-08-01 07:12:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1650983118,"corrected_to":0} 
[2026-08-01 07:12:44] local.WARNING: Large IO value detected {"io_id":222,"raw_value":2550214013,"note":"Value kept but may cause issues"} 
[2026-08-01 07:12:44] local.WARNING: Large IO value detected {"io_id":71,"raw_value":2147861331,"note":"Value kept but may cause issues"} 
[2026-08-01 07:12:44] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-01 07:12:44] local.WARNING: Large IO value detected {"io_id":146,"raw_value":3894476800,"note":"Value kept but may cause issues"} 
[2026-08-01 07:12:44] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3276982272,"note":"Value kept but may cause issues"} 
[2026-08-01 07:12:44] local.WARNING: Large IO value detected {"io_id":125,"raw_value":5134109911632314376,"note":"Value kept but may cause issues"} 
[2026-08-01 07:12:44] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-3026193127057600939,"note":"Value kept but may cause issues"} 
[2026-08-01 07:12:44] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-01 07:12:44] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,104,85,24,241,157,16,233,159,134,45,192,225,14,42,10,66,103,64,190,40,68,1,240,7,227,232,186,195,4,113,205,34,222,71,72,43,239,53,2,146,5,8,125,52,48],"length":577,"final_offset":707,"validated_count":46,"validation_warnings":[{"io_id":205,"original":1650983118,"validated":0}]} 
[2026-08-01 07:12:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1008806501217665024,"timestamp_seconds":1008806501217665.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 07:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":146081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":146081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":146081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:12:44] 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-08-01 07:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100410368001,"66":13254,"104":206,"85":12288,"24":47,"16":113410655855312896,"45":9025002571780321280},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-08-01 07:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100410368001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:12:44] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-01 07:12:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 07:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113410655855312896,"km_value":113410655855312.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025002571780321280,"description":"Unknown IO ID 45"} 
[2026-08-01 07:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100410368001,"power":13254,"unknown_104":206,"unknown_85":12288,"ignition":47,"odometer":null,"unknown_45":9025002571780321280}} 
[2026-08-01 07:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":146081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576189,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:12:44] local.INFO: GPS data processed {"connection_id":146081,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:12:44] local.INFO: Acknowledgment sent {"connection_id":146081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:12:45] local.INFO: TCP Data received {"connection_id":145885,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:12:45] local.INFO: Processing buffer {"connection_id":145885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:12:45] local.INFO: IMEI packet received {"connection_id":145885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":145885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:12:45] local.INFO: TCP Data received {"connection_id":145885,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:12:45] local.INFO: Processing buffer {"connection_id":145885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:12:45] local.INFO: IMEI packet received {"connection_id":145885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":145885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:12:50] local.INFO: TCP Data received {"connection_id":145885,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:12:50] local.INFO: Processing buffer {"connection_id":145885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:12:50] local.INFO: IMEI packet received {"connection_id":145885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":145885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:12:53] local.INFO: TCP Data received {"connection_id":145885,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbafbd0c8012d5ee18006311cc0000f01552e..."} 
[2026-08-01 07:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbafbd0c8012d5ee18006311cc0000f01552e..."} 
[2026-08-01 07:12:53] local.INFO: Processing buffer {"connection_id":145885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbafbd0c8012d5ee18006311cc0000f01552e..."} 
[2026-08-01 07:12:53] local.INFO: Packet analysis {"connection_id":145885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbafb"} 
[2026-08-01 07:12:53] local.INFO: Extracted packet for processing {"connection_id":145885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbafb"} 
[2026-08-01 07:12:53] local.INFO: GPS Element Parsed {"raw_longitude":761192832,"raw_latitude":103881920,"longitude_deg":76.1192832,"latitude_deg":10.388192,"altitude":15,"angle":341,"satellites":46,"speed":42,"hex_longitude":"2d5ee180","hex_latitude":"06311cc0","is_valid_coordinates":true} 
[2026-08-01 07:12: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-08-01 07:12:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100411904001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:12:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365626356840529920,"note":"Value kept but may cause issues"} 
[2026-08-01 07:12:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6840334541869561856,"note":"Value kept but may cause issues"} 
[2026-08-01 07:12:53] 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-08-01 07:12:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785548493000,"timestamp_ms":1785548493000,"timestamp_seconds":1785548493,"priority":1,"record_length":96,"hex_timestamp":"0000019fbafbd0c8"} 
[2026-08-01 07:12:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:12:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 07:12:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:12: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-08-01 07:12:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:12:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:12:53] local.INFO: Teltonika packet parsed successfully {"connection_id":145885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:12:53] local.INFO: Passing IMEI to GPS processor {"connection_id":145885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:12:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":145885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:12:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:12:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:12:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:12:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100411904001,"66":27767,"112":206,"19":40192,"24":42,"16":365626356840529920,"45":6840334541869561856},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,19,24,16,45]} 
[2026-08-01 07:12:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:12:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:12:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100411904001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:12:53] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-01 07:12:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-08-01 07:12:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365626356840529920,"km_value":365626356840529.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:12:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":6840334541869561856,"description":"Unknown IO ID 45"} 
[2026-08-01 07:12:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100411904001,"power":27767,"unknown_112":206,"unknown_19":40192,"ignition":42,"odometer":null,"unknown_45":6840334541869561856}} 
[2026-08-01 07:12:53] local.INFO: DEBUG: GPS processor result {"connection_id":145885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:12:53] local.INFO: GPS data processed {"connection_id":145885,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:12:53] local.INFO: Acknowledgment sent {"connection_id":145885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:13:07] local.INFO: TCP Data received {"connection_id":147102,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147102,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:13:07] local.INFO: Processing buffer {"connection_id":147102,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:13:07] local.INFO: IMEI packet received {"connection_id":147102,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":147102,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:13:14] local.INFO: TCP Data received {"connection_id":147102,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147102,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:13:14] local.INFO: Processing buffer {"connection_id":147102,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:13:14] local.INFO: IMEI packet received {"connection_id":147102,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":147102,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:13:15] local.INFO: TCP Data received {"connection_id":147102,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbafbe068012d7d438005c43ea8000b000029..."} 
[2026-08-01 07:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbafbe068012d7d438005c43ea8000b000029..."} 
[2026-08-01 07:13:15] local.INFO: Processing buffer {"connection_id":147102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbafbe068012d7d438005c43ea8000b000029..."} 
[2026-08-01 07:13:15] local.INFO: Packet analysis {"connection_id":147102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbafb"} 
[2026-08-01 07:13:15] local.INFO: Extracted packet for processing {"connection_id":147102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbafb"} 
[2026-08-01 07:13:15] local.INFO: GPS Element Parsed {"raw_longitude":763184000,"raw_latitude":96747176,"longitude_deg":76.3184,"latitude_deg":9.6747176,"altitude":11,"angle":0,"satellites":41,"speed":19,"hex_longitude":"2d7d4380","hex_latitude":"05c43ea8","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100412416001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113411106826878976,"note":"Value kept but may cause issues"} 
[2026-08-01 07:13:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025846996712980480,"note":"Value kept but may cause issues"} 
[2026-08-01 07:13:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785548497000,"timestamp_ms":1785548497000,"timestamp_seconds":1785548497,"priority":1,"record_length":96,"hex_timestamp":"0000019fbafbe068"} 
[2026-08-01 07:13:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:13: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-08-01 07: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-01 07:13:15] 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-08-01 07: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-08-01 07:13:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":147102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":147102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":147102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:13:15] 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-08-01 07:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100412416001,"66":13526,"104":206,"85":12288,"24":19,"16":113411106826878976,"45":9025846996712980480},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-08-01 07:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100412416001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:13:15] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-01 07:13:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 07:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113411106826878976,"km_value":113411106826878.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:13:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025846996712980480,"description":"Unknown IO ID 45"} 
[2026-08-01 07:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100412416001,"power":13526,"unknown_104":206,"unknown_85":12288,"ignition":19,"odometer":null,"unknown_45":9025846996712980480}} 
[2026-08-01 07:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":147102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576191,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:13:15] local.INFO: GPS data processed {"connection_id":147102,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:13:15] local.INFO: Acknowledgment sent {"connection_id":147102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:13:25] local.INFO: TCP Data received {"connection_id":145885,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbafbf3f0012d5ed60006313ee8001001562e..."} 
[2026-08-01 07:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbafbf3f0012d5ed60006313ee8001001562e..."} 
[2026-08-01 07:13:25] local.INFO: Processing buffer {"connection_id":145885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbafbf3f0012d5ed60006313ee8001001562e..."} 
[2026-08-01 07:13:25] local.INFO: Packet analysis {"connection_id":145885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbafb"} 
[2026-08-01 07:13:25] local.INFO: Extracted packet for processing {"connection_id":145885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbafb"} 
[2026-08-01 07:13:25] local.INFO: GPS Element Parsed {"raw_longitude":761189888,"raw_latitude":103890664,"longitude_deg":76.1189888,"latitude_deg":10.3890664,"altitude":16,"angle":342,"satellites":46,"speed":39,"hex_longitude":"2d5ed600","hex_latitude":"06313ee8","is_valid_coordinates":true} 
[2026-08-01 07:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100414208001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365626803517128704,"note":"Value kept but may cause issues"} 
[2026-08-01 07:13:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6836886473407250432,"note":"Value kept but may cause issues"} 
[2026-08-01 07:13:25] 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-08-01 07:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785548502000,"timestamp_ms":1785548502000,"timestamp_seconds":1785548502,"priority":1,"record_length":96,"hex_timestamp":"0000019fbafbf3f0"} 
[2026-08-01 07:13:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:13:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 07:13:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:13:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:13:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":145885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":145885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":145885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:13:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100414208001,"66":27571,"112":206,"19":40192,"24":39,"16":365626803517128704,"45":6836886473407250432},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,19,24,16,45]} 
[2026-08-01 07:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100414208001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:13:25] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-01 07:13:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-08-01 07:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365626803517128704,"km_value":365626803517128.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:13:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":6836886473407250432,"description":"Unknown IO ID 45"} 
[2026-08-01 07:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100414208001,"power":27571,"unknown_112":206,"unknown_19":40192,"ignition":39,"odometer":null,"unknown_45":6836886473407250432}} 
[2026-08-01 07:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":145885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:13:25] local.INFO: GPS data processed {"connection_id":145885,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:13:25] local.INFO: Acknowledgment sent {"connection_id":145885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:13:45] local.INFO: TCP Data received {"connection_id":145886,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:13:45] local.INFO: Processing buffer {"connection_id":145886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:13:45] local.INFO: IMEI packet received {"connection_id":145886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":145886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:13:47] local.INFO: TCP Data received {"connection_id":145886,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:13:47] local.INFO: Processing buffer {"connection_id":145886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:13:47] local.INFO: IMEI packet received {"connection_id":145886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":145886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:13:49] local.INFO: TCP Data received {"connection_id":147102,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbafc2e88012d7d448005c44d00000c000128..."} 
[2026-08-01 07:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbafc2e88012d7d448005c44d00000c000128..."} 
[2026-08-01 07:13:49] local.INFO: Processing buffer {"connection_id":147102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbafc2e88012d7d448005c44d00000c000128..."} 
[2026-08-01 07:13:49] local.INFO: Packet analysis {"connection_id":147102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbafc"} 
[2026-08-01 07:13:49] local.INFO: Extracted packet for processing {"connection_id":147102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbafc"} 
[2026-08-01 07:13:49] local.INFO: GPS Element Parsed {"raw_longitude":763184256,"raw_latitude":96750848,"longitude_deg":76.3184256,"latitude_deg":9.6750848,"altitude":12,"angle":1,"satellites":40,"speed":17,"hex_longitude":"2d7d4480","hex_latitude":"05c44d00","is_valid_coordinates":true} 
[2026-08-01 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-08-01 07:13:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100415232001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:13:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113411291510472704,"note":"Value kept but may cause issues"} 
[2026-08-01 07:13:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026198840436238336,"note":"Value kept but may cause issues"} 
[2026-08-01 07:13:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:13:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785548517000,"timestamp_ms":1785548517000,"timestamp_seconds":1785548517,"priority":1,"record_length":96,"hex_timestamp":"0000019fbafc2e88"} 
[2026-08-01 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-08-01 07:13: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-08-01 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":214,"data_length":795,"current_offset":136} 
[2026-08-01 07:13:49] 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-08-01 07:13:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 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-08-01 07:13:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:13:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:13:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:13:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:13: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-08-01 07:13:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:13:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:13:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100415232001,"66":12809,"103":206,"85":12288,"24":17,"16":113411291510472704,"45":9026198840436238336},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-08-01 07:13:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:13:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:13:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100415232001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:13:49] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 07:13:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 07:13:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113411291510472704,"km_value":113411291510472.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:13:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026198840436238336,"description":"Unknown IO ID 45"} 
[2026-08-01 07:13:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100415232001,"power":12809,"unknown_103":206,"unknown_85":12288,"ignition":17,"odometer":null,"unknown_45":9026198840436238336}} 
[2026-08-01 07:13:49] local.INFO: DEBUG: GPS processor result {"connection_id":147102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576193,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:13:49] local.INFO: GPS data processed {"connection_id":147102,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:13:49] local.INFO: Acknowledgment sent {"connection_id":147102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:13:50] local.INFO: TCP Data received {"connection_id":145886,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:13:50] local.INFO: Processing buffer {"connection_id":145886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:13:50] local.INFO: IMEI packet received {"connection_id":145886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":145886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:13:51] local.INFO: TCP Data received {"connection_id":145886,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbafd1118012d5e8b800632a1580007014d2c..."} 
[2026-08-01 07:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbafd1118012d5e8b800632a1580007014d2c..."} 
[2026-08-01 07:13:51] local.INFO: Processing buffer {"connection_id":145886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbafd1118012d5e8b800632a1580007014d2c..."} 
[2026-08-01 07:13:51] local.INFO: Packet analysis {"connection_id":145886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbafd"} 
[2026-08-01 07:13:51] local.INFO: Extracted packet for processing {"connection_id":145886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbafd"} 
[2026-08-01 07:13:51] local.INFO: GPS Element Parsed {"raw_longitude":761170816,"raw_latitude":103981400,"longitude_deg":76.1170816,"latitude_deg":10.39814,"altitude":7,"angle":333,"satellites":44,"speed":55,"hex_longitude":"2d5e8b80","hex_latitude":"0632a158","is_valid_coordinates":true} 
[2026-08-01 07:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100433408001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365631416312004608,"note":"Value kept but may cause issues"} 
[2026-08-01 07:13:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6817535068781608960,"note":"Value kept but may cause issues"} 
[2026-08-01 07:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785548575000,"timestamp_ms":1785548575000,"timestamp_seconds":1785548575,"priority":1,"record_length":96,"hex_timestamp":"0000019fbafd1118"} 
[2026-08-01 07:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:13:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-01 07:13:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:13:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":145886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":145886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":145886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100433408001,"66":27658,"111":206,"19":40192,"24":55,"16":365631416312004608,"45":6817535068781608960},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,19,24,16,45]} 
[2026-08-01 07:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100433408001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:13:51] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-01 07:13:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-08-01 07:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365631416312004608,"km_value":365631416312004.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:13:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":6817535068781608960,"description":"Unknown IO ID 45"} 
[2026-08-01 07:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100433408001,"power":27658,"unknown_111":206,"unknown_19":40192,"ignition":55,"odometer":null,"unknown_45":6817535068781608960}} 
[2026-08-01 07:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":145886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:13:51] local.INFO: GPS data processed {"connection_id":145886,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:13:51] local.INFO: Acknowledgment sent {"connection_id":145886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:14:07] local.INFO: TCP Data received {"connection_id":147103,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147103,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:14:07] local.INFO: Processing buffer {"connection_id":147103,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:14:07] local.INFO: IMEI packet received {"connection_id":147103,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":147103,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:14:12] local.INFO: TCP Data received {"connection_id":147103,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147103,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:14:12] local.INFO: Processing buffer {"connection_id":147103,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:14:12] local.INFO: IMEI packet received {"connection_id":147103,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":147103,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:14:13] local.INFO: TCP Data received {"connection_id":147103,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbafdb910012d7d418005c597e80008016329..."} 
[2026-08-01 07:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbafdb910012d7d418005c597e80008016329..."} 
[2026-08-01 07:14:13] local.INFO: Processing buffer {"connection_id":147103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbafdb910012d7d418005c597e80008016329..."} 
[2026-08-01 07:14:13] local.INFO: Packet analysis {"connection_id":147103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbafd"} 
[2026-08-01 07:14:13] local.INFO: Extracted packet for processing {"connection_id":147103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbafd"} 
[2026-08-01 07:14:13] local.INFO: GPS Element Parsed {"raw_longitude":763183488,"raw_latitude":96835560,"longitude_deg":76.3183488,"latitude_deg":9.683556,"altitude":8,"angle":355,"satellites":41,"speed":26,"hex_longitude":"2d7d4180","hex_latitude":"05c597e8","is_valid_coordinates":true} 
[2026-08-01 07:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:14:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100442624001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113415410384109568,"note":"Value kept but may cause issues"} 
[2026-08-01 07:14:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025495153014681600,"note":"Value kept but may cause issues"} 
[2026-08-01 07:14:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785548618000,"timestamp_ms":1785548618000,"timestamp_seconds":1785548618,"priority":1,"record_length":96,"hex_timestamp":"0000019fbafdb910"} 
[2026-08-01 07:14:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:14:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-01 07:14:13] 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-08-01 07:14:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:14:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":147103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":147103,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":147103,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:14:13] 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-08-01 07:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:14:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:14:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100442624001,"66":13689,"103":206,"85":12288,"24":26,"16":113415410384109568,"45":9025495153014681600},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-08-01 07:14:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:14:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:14:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100442624001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:14:13] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 07:14:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 07:14:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113415410384109568,"km_value":113415410384109.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:14:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025495153014681600,"description":"Unknown IO ID 45"} 
[2026-08-01 07:14:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100442624001,"power":13689,"unknown_103":206,"unknown_85":12288,"ignition":26,"odometer":null,"unknown_45":9025495153014681600}} 
[2026-08-01 07:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":147103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576195,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:14:13] local.INFO: GPS data processed {"connection_id":147103,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:14:13] local.INFO: Acknowledgment sent {"connection_id":147103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:14:23] local.INFO: TCP Data received {"connection_id":145886,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbafd2c70012d5e7a400632c2b80009014b2d..."} 
[2026-08-01 07:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbafd2c70012d5e7a400632c2b80009014b2d..."} 
[2026-08-01 07:14:23] local.INFO: Processing buffer {"connection_id":145886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbafd2c70012d5e7a400632c2b80009014b2d..."} 
[2026-08-01 07:14:23] local.INFO: Packet analysis {"connection_id":145886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbafd"} 
[2026-08-01 07:14:23] local.INFO: Extracted packet for processing {"connection_id":145886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbafd"} 
[2026-08-01 07:14:23] local.INFO: GPS Element Parsed {"raw_longitude":761166400,"raw_latitude":103989944,"longitude_deg":76.11664,"latitude_deg":10.3989944,"altitude":9,"angle":331,"satellites":45,"speed":53,"hex_longitude":"2d5e7a40","hex_latitude":"0632c2b8","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:14:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100435200001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:14:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365631880168472576,"note":"Value kept but may cause issues"} 
[2026-08-01 07:14:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6812679625435600896,"note":"Value kept but may cause issues"} 
[2026-08-01 07:14:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:14:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785548582000,"timestamp_ms":1785548582000,"timestamp_seconds":1785548582,"priority":1,"record_length":96,"hex_timestamp":"0000019fbafd2c70"} 
[2026-08-01 07:14:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:14:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 07:14:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07: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-08-01 07:14:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:14:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:14:23] local.INFO: Teltonika packet parsed successfully {"connection_id":145886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:14:23] local.INFO: Passing IMEI to GPS processor {"connection_id":145886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:14:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":145886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:14:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:14:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:14:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:14:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100435200001,"66":27745,"111":206,"19":40192,"24":53,"16":365631880168472576,"45":6812679625435600896},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,19,24,16,45]} 
[2026-08-01 07:14:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:14:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:14:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100435200001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:14:23] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-01 07:14:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-08-01 07:14:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365631880168472576,"km_value":365631880168472.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:14:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":6812679625435600896,"description":"Unknown IO ID 45"} 
[2026-08-01 07:14:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100435200001,"power":27745,"unknown_111":206,"unknown_19":40192,"ignition":53,"odometer":null,"unknown_45":6812679625435600896}} 
[2026-08-01 07:14:23] local.INFO: DEBUG: GPS processor result {"connection_id":145886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:14:23] local.INFO: GPS data processed {"connection_id":145886,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:14:23] local.INFO: Acknowledgment sent {"connection_id":145886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:14:45] local.INFO: TCP Data received {"connection_id":146082,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:14:45] local.INFO: Processing buffer {"connection_id":146082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:14:45] local.INFO: IMEI packet received {"connection_id":146082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":146082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:14:45] local.INFO: TCP Data received {"connection_id":147103,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbafdefc0012d7d3ec005c5b3600007015726..."} 
[2026-08-01 07:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbafdefc0012d7d3ec005c5b3600007015726..."} 
[2026-08-01 07:14:45] local.INFO: Processing buffer {"connection_id":147103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbafdefc0012d7d3ec005c5b3600007015726..."} 
[2026-08-01 07:14:45] local.INFO: Packet analysis {"connection_id":147103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbafd"} 
[2026-08-01 07:14:45] local.INFO: Extracted packet for processing {"connection_id":147103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbafd"} 
[2026-08-01 07:14:45] local.INFO: GPS Element Parsed {"raw_longitude":763182784,"raw_latitude":96842592,"longitude_deg":76.3182784,"latitude_deg":9.6842592,"altitude":7,"angle":343,"satellites":38,"speed":22,"hex_longitude":"2d7d3ec0","hex_latitude":"05c5b360","is_valid_coordinates":true} 
[2026-08-01 07:14:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100446208001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113415753981493248,"note":"Value kept but may cause issues"} 
[2026-08-01 07:14:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025635890505443328,"note":"Value kept but may cause issues"} 
[2026-08-01 07:14:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785548632000,"timestamp_ms":1785548632000,"timestamp_seconds":1785548632,"priority":1,"record_length":96,"hex_timestamp":"0000019fbafdefc0"} 
[2026-08-01 07:14:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:14:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:14:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-08-01 07:14:45] 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-08-01 07:14:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:14:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":147103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":147103,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":147103,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:14:45] 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-08-01 07:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:14:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100446208001,"66":13559,"103":206,"85":12288,"24":22,"16":113415753981493248,"45":9025635890505443328},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-08-01 07:14:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:14:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:14:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100446208001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:14:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 07:14:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 07:14:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113415753981493248,"km_value":113415753981493.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:14:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025635890505443328,"description":"Unknown IO ID 45"} 
[2026-08-01 07:14:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100446208001,"power":13559,"unknown_103":206,"unknown_85":12288,"ignition":22,"odometer":null,"unknown_45":9025635890505443328}} 
[2026-08-01 07:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":147103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576197,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:14:45] local.INFO: GPS data processed {"connection_id":147103,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:14:45] local.INFO: Acknowledgment sent {"connection_id":147103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:14:48] local.INFO: TCP Data received {"connection_id":146082,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:14:48] local.INFO: Processing buffer {"connection_id":146082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:14:48] local.INFO: IMEI packet received {"connection_id":146082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":146082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:14:50] local.INFO: TCP Data received {"connection_id":146082,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:14:50] local.INFO: Processing buffer {"connection_id":146082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:14:50] local.INFO: IMEI packet received {"connection_id":146082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":146082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:14:51] local.INFO: TCP Data received {"connection_id":146082,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbafd47c8012d5e6ac00632e340000a014e2c..."} 
[2026-08-01 07:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbafd47c8012d5e6ac00632e340000a014e2c..."} 
[2026-08-01 07:14:51] local.INFO: Processing buffer {"connection_id":146082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbafd47c8012d5e6ac00632e340000a014e2c..."} 
[2026-08-01 07:14:51] local.INFO: Packet analysis {"connection_id":146082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbafd"} 
[2026-08-01 07:14:51] local.INFO: Extracted packet for processing {"connection_id":146082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbafd"} 
[2026-08-01 07:14:51] local.INFO: GPS Element Parsed {"raw_longitude":761162432,"raw_latitude":103998272,"longitude_deg":76.1162432,"latitude_deg":10.3998272,"altitude":10,"angle":334,"satellites":44,"speed":51,"hex_longitude":"2d5e6ac0","hex_latitude":"0632e340","is_valid_coordinates":true} 
[2026-08-01 07:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100436992001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365632326845071360,"note":"Value kept but may cause issues"} 
[2026-08-01 07:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6807824182089529344,"note":"Value kept but may cause issues"} 
[2026-08-01 07:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785548589000,"timestamp_ms":1785548589000,"timestamp_seconds":1785548589,"priority":1,"record_length":96,"hex_timestamp":"0000019fbafd47c8"} 
[2026-08-01 07:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 07:14:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:14:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":146082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":146082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":146082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100436992001,"66":27876,"111":206,"19":40192,"24":51,"16":365632326845071360,"45":6807824182089529344},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,19,24,16,45]} 
[2026-08-01 07:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100436992001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:14:51] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-01 07:14:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-08-01 07:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365632326845071360,"km_value":365632326845071.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":6807824182089529344,"description":"Unknown IO ID 45"} 
[2026-08-01 07:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100436992001,"power":27876,"unknown_111":206,"unknown_19":40192,"ignition":51,"odometer":null,"unknown_45":6807824182089529344}} 
[2026-08-01 07:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":146082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:14:51] local.INFO: GPS data processed {"connection_id":146082,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:14:51] local.INFO: Acknowledgment sent {"connection_id":146082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:15:12] local.INFO: TCP Data received {"connection_id":147104,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147104,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:15:12] local.INFO: Processing buffer {"connection_id":147104,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:15:12] local.INFO: IMEI packet received {"connection_id":147104,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":147104,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:15:17] local.INFO: TCP Data received {"connection_id":147104,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147104,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:15:17] local.INFO: Processing buffer {"connection_id":147104,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:15:17] local.INFO: IMEI packet received {"connection_id":147104,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":147104,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:15:22] local.INFO: TCP Data received {"connection_id":147104,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbafe16d0012d7d390005c5c8d80006016328..."} 
[2026-08-01 07:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbafe16d0012d7d390005c5c8d80006016328..."} 
[2026-08-01 07:15:22] local.INFO: Processing buffer {"connection_id":147104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbafe16d0012d7d390005c5c8d80006016328..."} 
[2026-08-01 07:15:22] local.INFO: Packet analysis {"connection_id":147104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbafe"} 
[2026-08-01 07:15:22] local.INFO: Extracted packet for processing {"connection_id":147104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbafe"} 
[2026-08-01 07:15:22] local.INFO: GPS Element Parsed {"raw_longitude":763181312,"raw_latitude":96848088,"longitude_deg":76.3181312,"latitude_deg":9.6848088,"altitude":6,"angle":355,"satellites":40,"speed":20,"hex_longitude":"2d7d3900","hex_latitude":"05c5c8d8","is_valid_coordinates":true} 
[2026-08-01 07:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100449792001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113416033154367488,"note":"Value kept but may cause issues"} 
[2026-08-01 07:15:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024861834321289216,"note":"Value kept but may cause issues"} 
[2026-08-01 07:15:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785548642000,"timestamp_ms":1785548642000,"timestamp_seconds":1785548642,"priority":1,"record_length":96,"hex_timestamp":"0000019fbafe16d0"} 
[2026-08-01 07:15:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:15:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-01 07:15:22] 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-08-01 07:15:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:15:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:15:22] 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-08-01 07:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100449792001,"66":13656,"103":206,"85":12288,"24":20,"16":113416033154367488,"45":9024861834321289216},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-08-01 07:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100449792001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:15:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 07:15:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 07:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113416033154367488,"km_value":113416033154367.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:15:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024861834321289216,"description":"Unknown IO ID 45"} 
[2026-08-01 07:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100449792001,"power":13656,"unknown_103":206,"unknown_85":12288,"ignition":20,"odometer":null,"unknown_45":9024861834321289216}} 
[2026-08-01 07:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":147104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576199,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:15:22] local.INFO: GPS data processed {"connection_id":147104,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:15:22] local.INFO: Acknowledgment sent {"connection_id":147104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:15:23] local.INFO: TCP Data received {"connection_id":147104,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbafe41c8012d7d338005c5eb500008015e28..."} 
[2026-08-01 07:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbafe41c8012d7d338005c5eb500008015e28..."} 
[2026-08-01 07:15:23] local.INFO: Processing buffer {"connection_id":147104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbafe41c8012d7d338005c5eb500008015e28..."} 
[2026-08-01 07:15:23] local.INFO: Packet analysis {"connection_id":147104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbafe"} 
[2026-08-01 07:15:23] local.INFO: Extracted packet for processing {"connection_id":147104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbafe"} 
[2026-08-01 07:15:23] local.INFO: GPS Element Parsed {"raw_longitude":763179904,"raw_latitude":96856912,"longitude_deg":76.3179904,"latitude_deg":9.6856912,"altitude":8,"angle":350,"satellites":40,"speed":35,"hex_longitude":"2d7d3380","hex_latitude":"05c5eb50","is_valid_coordinates":true} 
[2026-08-01 07:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100452352001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113416466946064384,"note":"Value kept but may cause issues"} 
[2026-08-01 07:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023243353206609920,"note":"Value kept but may cause issues"} 
[2026-08-01 07:15:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785548653000,"timestamp_ms":1785548653000,"timestamp_seconds":1785548653,"priority":1,"record_length":96,"hex_timestamp":"0000019fbafe41c8"} 
[2026-08-01 07:15:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:15:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-01 07:15:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:15:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:15:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":147104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":147104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":147104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:15:23] 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-08-01 07:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100452352001,"66":13493,"229":206,"85":12288,"24":35,"16":113416466946064384,"45":9023243353206609920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-01 07:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100452352001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:15:23] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 07:15:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 07:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113416466946064384,"km_value":113416466946064.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023243353206609920,"description":"Unknown IO ID 45"} 
[2026-08-01 07:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100452352001,"power":13493,"unknown_229":206,"unknown_85":12288,"ignition":35,"odometer":null,"unknown_45":9023243353206609920}} 
[2026-08-01 07:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":147104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576200,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:15:23] local.INFO: GPS data processed {"connection_id":147104,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:15:23] local.INFO: Acknowledgment sent {"connection_id":147104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:15:24] local.INFO: TCP Data received {"connection_id":146082,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbafe6cc0012d5db6c006345490000601432d..."} 
[2026-08-01 07:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbafe6cc0012d5db6c006345490000601432d..."} 
[2026-08-01 07:15:24] local.INFO: Processing buffer {"connection_id":146082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbafe6cc0012d5db6c006345490000601432d..."} 
[2026-08-01 07:15:24] local.INFO: Packet analysis {"connection_id":146082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbafe"} 
[2026-08-01 07:15:24] local.INFO: Extracted packet for processing {"connection_id":146082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbafe"} 
[2026-08-01 07:15:24] local.INFO: GPS Element Parsed {"raw_longitude":761116352,"raw_latitude":104092816,"longitude_deg":76.1116352,"latitude_deg":10.4092816,"altitude":6,"angle":323,"satellites":45,"speed":57,"hex_longitude":"2d5db6c0","hex_latitude":"06345490","is_valid_coordinates":true} 
[2026-08-01 07:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100456192001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365637420676284416,"note":"Value kept but may cause issues"} 
[2026-08-01 07:15:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6759340117375354880,"note":"Value kept but may cause issues"} 
[2026-08-01 07:15:24] 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-08-01 07:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785548664000,"timestamp_ms":1785548664000,"timestamp_seconds":1785548664,"priority":1,"record_length":96,"hex_timestamp":"0000019fbafe6cc0"} 
[2026-08-01 07:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:15:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 07:15:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:15:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":146082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":146082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":146082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:15:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100456192001,"66":27691,"2":206,"19":40192,"24":57,"16":365637420676284416,"45":6759340117375354880},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,19,24,16,45]} 
[2026-08-01 07:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100456192001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:15:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-08-01 07:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365637420676284416,"km_value":365637420676284.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:15:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":6759340117375354880,"description":"Unknown IO ID 45"} 
[2026-08-01 07:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100456192001,"power":27691,"power_alt":206,"unknown_19":40192,"ignition":57,"odometer":null,"unknown_45":6759340117375354880}} 
[2026-08-01 07:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":146082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:15:24] local.INFO: GPS data processed {"connection_id":146082,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:15:24] local.INFO: Acknowledgment sent {"connection_id":146082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:15:48] local.INFO: TCP Data received {"connection_id":147105,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:15:48] local.INFO: Processing buffer {"connection_id":147105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:15:48] local.INFO: IMEI packet received {"connection_id":147105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":147105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:15:50] local.INFO: TCP Data received {"connection_id":147105,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:15:50] local.INFO: Processing buffer {"connection_id":147105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:15:50] local.INFO: IMEI packet received {"connection_id":147105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":147105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:15:54] local.INFO: TCP Data received {"connection_id":147105,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:15:54] local.INFO: Processing buffer {"connection_id":147105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:15:54] local.INFO: IMEI packet received {"connection_id":147105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":147105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:15:55] local.INFO: TCP Data received {"connection_id":147105,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbafe8818012d5da380063477000007014d2e..."} 
[2026-08-01 07:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbafe8818012d5da380063477000007014d2e..."} 
[2026-08-01 07:15:55] local.INFO: Processing buffer {"connection_id":147105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbafe8818012d5da380063477000007014d2e..."} 
[2026-08-01 07:15:55] local.INFO: Packet analysis {"connection_id":147105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbafe"} 
[2026-08-01 07:15:55] local.INFO: Extracted packet for processing {"connection_id":147105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbafe"} 
[2026-08-01 07:15:55] local.INFO: GPS Element Parsed {"raw_longitude":761111424,"raw_latitude":104101632,"longitude_deg":76.1111424,"latitude_deg":10.4101632,"altitude":7,"angle":333,"satellites":46,"speed":56,"hex_longitude":"2d5da380","hex_latitude":"06347700","is_valid_coordinates":true} 
[2026-08-01 07:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100457984001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365637910302556160,"note":"Value kept but may cause issues"} 
[2026-08-01 07:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6752795824168931328,"note":"Value kept but may cause issues"} 
[2026-08-01 07:15:55] 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-08-01 07:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785548671000,"timestamp_ms":1785548671000,"timestamp_seconds":1785548671,"priority":1,"record_length":96,"hex_timestamp":"0000019fbafe8818"} 
[2026-08-01 07:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:15: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-08-01 07:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-01 07:15:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:15:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":147105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":147105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":147105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100457984001,"66":27615,"2":206,"19":40192,"24":56,"16":365637910302556160,"45":6752795824168931328},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,19,24,16,45]} 
[2026-08-01 07:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100457984001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:15:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-08-01 07:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365637910302556160,"km_value":365637910302556.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":6752795824168931328,"description":"Unknown IO ID 45"} 
[2026-08-01 07:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100457984001,"power":27615,"power_alt":206,"unknown_19":40192,"ignition":56,"odometer":null,"unknown_45":6752795824168931328}} 
[2026-08-01 07:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":147105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:15:55] local.INFO: GPS data processed {"connection_id":147105,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:15:55] local.INFO: Acknowledgment sent {"connection_id":147105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:16:08] local.INFO: TCP Data received {"connection_id":145887,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145887,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:16:08] local.INFO: Processing buffer {"connection_id":145887,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:16:08] local.INFO: IMEI packet received {"connection_id":145887,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":145887,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:16:12] local.INFO: TCP Data received {"connection_id":145887,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145887,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:16:12] local.INFO: Processing buffer {"connection_id":145887,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:16:12] local.INFO: IMEI packet received {"connection_id":145887,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":145887,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:16:14] local.INFO: TCP Data received {"connection_id":145887,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbafe6108012d7d318005c604c80008000028..."} 
[2026-08-01 07:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbafe6108012d7d318005c604c80008000028..."} 
[2026-08-01 07:16:14] local.INFO: Processing buffer {"connection_id":145887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbafe6108012d7d318005c604c80008000028..."} 
[2026-08-01 07:16:14] local.INFO: Packet analysis {"connection_id":145887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbafe"} 
[2026-08-01 07:16:14] local.INFO: Extracted packet for processing {"connection_id":145887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbafe"} 
[2026-08-01 07:16:14] local.INFO: GPS Element Parsed {"raw_longitude":763179392,"raw_latitude":96863432,"longitude_deg":76.3179392,"latitude_deg":9.6863432,"altitude":8,"angle":0,"satellites":40,"speed":32,"hex_longitude":"2d7d3180","hex_latitude":"05c604c8","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:16:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100455168001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:16:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113416784773644288,"note":"Value kept but may cause issues"} 
[2026-08-01 07:16:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021695240836960256,"note":"Value kept but may cause issues"} 
[2026-08-01 07:16:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:16:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785548661000,"timestamp_ms":1785548661000,"timestamp_seconds":1785548661,"priority":1,"record_length":96,"hex_timestamp":"0000019fbafe6108"} 
[2026-08-01 07:16:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:16:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-01 07:16:14] 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-08-01 07: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-08-01 07:16:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:16:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:16:14] local.INFO: Teltonika packet parsed successfully {"connection_id":145887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:16:14] local.INFO: Passing IMEI to GPS processor {"connection_id":145887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:16:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":145887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:16:14] 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-08-01 07:16:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:16:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:16:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100455168001,"66":13504,"229":206,"85":12288,"24":32,"16":113416784773644288,"45":9021695240836960256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-01 07:16:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:16:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:16:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100455168001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:16:14] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 07:16:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 07:16:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113416784773644288,"km_value":113416784773644.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:16:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021695240836960256,"description":"Unknown IO ID 45"} 
[2026-08-01 07:16:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100455168001,"power":13504,"unknown_229":206,"unknown_85":12288,"ignition":32,"odometer":null,"unknown_45":9021695240836960256}} 
[2026-08-01 07:16:14] local.INFO: DEBUG: GPS processor result {"connection_id":145887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576203,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:16:14] local.INFO: GPS data processed {"connection_id":145887,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:16:14] local.INFO: Acknowledgment sent {"connection_id":145887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:16:21] local.INFO: TCP Data received {"connection_id":145887,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbafe8c00012d7d338005c627d00008000526..."} 
[2026-08-01 07:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbafe8c00012d7d338005c627d00008000526..."} 
[2026-08-01 07:16:21] local.INFO: Processing buffer {"connection_id":145887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbafe8c00012d7d338005c627d00008000526..."} 
[2026-08-01 07:16:21] local.INFO: Packet analysis {"connection_id":145887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbafe"} 
[2026-08-01 07:16:21] local.INFO: Extracted packet for processing {"connection_id":145887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbafe"} 
[2026-08-01 07:16:21] local.INFO: GPS Element Parsed {"raw_longitude":763179904,"raw_latitude":96872400,"longitude_deg":76.3179904,"latitude_deg":9.68724,"altitude":8,"angle":5,"satellites":38,"speed":29,"hex_longitude":"2d7d3380","hex_latitude":"05c627d0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 07:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100457216001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113417218565341184,"note":"Value kept but may cause issues"} 
[2026-08-01 07:16:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021132290885208064,"note":"Value kept but may cause issues"} 
[2026-08-01 07:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785548672000,"timestamp_ms":1785548672000,"timestamp_seconds":1785548672,"priority":1,"record_length":96,"hex_timestamp":"0000019fbafe8c00"} 
[2026-08-01 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-08-01 07:16:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":192,"data_length":795,"current_offset":136} 
[2026-08-01 07:16:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 07:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":145887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":145887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":145887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:16:21] 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-08-01 07:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100457216001,"66":13504,"229":206,"85":12288,"24":29,"16":113417218565341184,"45":9021132290885208064},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-01 07:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100457216001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:16:21] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 07:16:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 07:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113417218565341184,"km_value":113417218565341.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:16:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021132290885208064,"description":"Unknown IO ID 45"} 
[2026-08-01 07:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100457216001,"power":13504,"unknown_229":206,"unknown_85":12288,"ignition":29,"odometer":null,"unknown_45":9021132290885208064}} 
[2026-08-01 07:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":145887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576204,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:16:21] local.INFO: GPS data processed {"connection_id":145887,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:16:21] local.INFO: Acknowledgment sent {"connection_id":145887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:16:27] local.INFO: TCP Data received {"connection_id":147105,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbafea370012d5d9280063498d80009014d2d..."} 
[2026-08-01 07:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbafea370012d5d9280063498d80009014d2d..."} 
[2026-08-01 07:16:27] local.INFO: Processing buffer {"connection_id":147105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbafea370012d5d9280063498d80009014d2d..."} 
[2026-08-01 07:16:27] local.INFO: Packet analysis {"connection_id":147105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbafe"} 
[2026-08-01 07:16:27] local.INFO: Extracted packet for processing {"connection_id":147105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbafe"} 
[2026-08-01 07:16:27] local.INFO: GPS Element Parsed {"raw_longitude":761107072,"raw_latitude":104110296,"longitude_deg":76.1107072,"latitude_deg":10.4110296,"altitude":9,"angle":333,"satellites":45,"speed":53,"hex_longitude":"2d5d9280","hex_latitude":"063498d8","is_valid_coordinates":true} 
[2026-08-01 07:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100459776001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365638378453991424,"note":"Value kept but may cause issues"} 
[2026-08-01 07:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6747377430869508096,"note":"Value kept but may cause issues"} 
[2026-08-01 07:16:27] 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-08-01 07:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785548678000,"timestamp_ms":1785548678000,"timestamp_seconds":1785548678,"priority":1,"record_length":96,"hex_timestamp":"0000019fbafea370"} 
[2026-08-01 07:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:16:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-01 07:16:27] 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-08-01 07:16:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":147105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":147105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":147105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100459776001,"66":27713,"2":206,"19":40192,"24":53,"16":365638378453991424,"45":6747377430869508096},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,19,24,16,45]} 
[2026-08-01 07:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100459776001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:16:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-08-01 07:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365638378453991424,"km_value":365638378453991.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":6747377430869508096,"description":"Unknown IO ID 45"} 
[2026-08-01 07:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100459776001,"power":27713,"power_alt":206,"unknown_19":40192,"ignition":53,"odometer":null,"unknown_45":6747377430869508096}} 
[2026-08-01 07:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":147105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:16:27] local.INFO: GPS data processed {"connection_id":147105,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:16:27] local.INFO: Acknowledgment sent {"connection_id":147105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:16:50] local.INFO: TCP Data received {"connection_id":145888,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:16:50] local.INFO: Processing buffer {"connection_id":145888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:16:50] local.INFO: IMEI packet received {"connection_id":145888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":145888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:16:53] local.INFO: TCP Data received {"connection_id":145888,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:16:53] local.INFO: Processing buffer {"connection_id":145888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:16:53] local.INFO: IMEI packet received {"connection_id":145888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":145888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:16:55] local.INFO: TCP Data received {"connection_id":145888,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:16:55] local.INFO: Processing buffer {"connection_id":145888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:16:55] local.INFO: IMEI packet received {"connection_id":145888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":145888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:16:57] local.INFO: TCP Data received {"connection_id":145888,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaffdfd8012d5cb7400635f990000801492b..."} 
[2026-08-01 07:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaffdfd8012d5cb7400635f990000801492b..."} 
[2026-08-01 07:16:57] local.INFO: Processing buffer {"connection_id":145888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaffdfd8012d5cb7400635f990000801492b..."} 
[2026-08-01 07:16:57] local.INFO: Packet analysis {"connection_id":145888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaff"} 
[2026-08-01 07:16:57] local.INFO: Extracted packet for processing {"connection_id":145888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaff"} 
[2026-08-01 07:16:57] local.INFO: GPS Element Parsed {"raw_longitude":761050944,"raw_latitude":104200592,"longitude_deg":76.1050944,"latitude_deg":10.4200592,"altitude":8,"angle":329,"satellites":43,"speed":48,"hex_longitude":"2d5cb740","hex_latitude":"0635f990","is_valid_coordinates":true} 
[2026-08-01 07:16:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:16:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100480256001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:16:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365643528119779328,"note":"Value kept but may cause issues"} 
[2026-08-01 07:16:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6686649204667410432,"note":"Value kept but may cause issues"} 
[2026-08-01 07:16:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:16:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785548759000,"timestamp_ms":1785548759000,"timestamp_seconds":1785548759,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaffdfd8"} 
[2026-08-01 07:16:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:16:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:16:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 07:16:57] 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-08-01 07:16: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-08-01 07:16:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:16:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:16:57] local.INFO: Teltonika packet parsed successfully {"connection_id":145888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:16:57] local.INFO: Passing IMEI to GPS processor {"connection_id":145888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:16:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":145888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:16:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:16:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:16:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:16:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100480256001,"66":27713,"3":206,"19":40192,"24":48,"16":365643528119779328,"45":6686649204667410432},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,19,24,16,45]} 
[2026-08-01 07:16:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:16:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:16:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100480256001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:16:57] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-01 07:16:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-08-01 07:16:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365643528119779328,"km_value":365643528119779.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:16:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":6686649204667410432,"description":"Unknown IO ID 45"} 
[2026-08-01 07:16:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100480256001,"power":27713,"unknown_3":206,"unknown_19":40192,"ignition":48,"odometer":null,"unknown_45":6686649204667410432}} 
[2026-08-01 07:16:57] local.INFO: DEBUG: GPS processor result {"connection_id":145888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:16:57] local.INFO: GPS data processed {"connection_id":145888,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:16:57] local.INFO: Acknowledgment sent {"connection_id":145888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:17:07] local.INFO: TCP Data received {"connection_id":146083,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146083,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:17:07] local.INFO: Processing buffer {"connection_id":146083,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:17:07] local.INFO: IMEI packet received {"connection_id":146083,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":146083,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:17:12] local.INFO: TCP Data received {"connection_id":146083,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146083,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:17:12] local.INFO: Processing buffer {"connection_id":146083,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:17:12] local.INFO: IMEI packet received {"connection_id":146083,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":146083,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:17:13] local.INFO: TCP Data received {"connection_id":146083,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb004568012d7d26c005c74470000d016525..."} 
[2026-08-01 07:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb004568012d7d26c005c74470000d016525..."} 
[2026-08-01 07:17:13] local.INFO: Processing buffer {"connection_id":146083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb004568012d7d26c005c74470000d016525..."} 
[2026-08-01 07:17:13] local.INFO: Packet analysis {"connection_id":146083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb00"} 
[2026-08-01 07:17:13] local.INFO: Extracted packet for processing {"connection_id":146083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb00"} 
[2026-08-01 07:17:13] local.INFO: GPS Element Parsed {"raw_longitude":763176640,"raw_latitude":96945264,"longitude_deg":76.317664,"latitude_deg":9.6945264,"altitude":13,"angle":357,"satellites":37,"speed":31,"hex_longitude":"2d7d26c0","hex_latitude":"05c74470","is_valid_coordinates":true} 
[2026-08-01 07:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:17:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100485888001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:17:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113420804863033344,"note":"Value kept but may cause issues"} 
[2026-08-01 07:17:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018176803648368640,"note":"Value kept but may cause issues"} 
[2026-08-01 07:17:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:17:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785548785000,"timestamp_ms":1785548785000,"timestamp_seconds":1785548785,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb004568"} 
[2026-08-01 07:17:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:17:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-01 07:17:13] 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-08-01 07:17:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:17:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:17:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:17:13] local.INFO: Teltonika packet parsed successfully {"connection_id":146083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:17:13] local.INFO: Passing IMEI to GPS processor {"connection_id":146083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:17:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":146083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:17:13] 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-08-01 07:17:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:17:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:17:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100485888001,"66":13504,"229":206,"85":12288,"24":31,"16":113420804863033344,"45":9018176803648368640},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-01 07:17:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:17:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:17:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100485888001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:17:13] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 07:17:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 07:17:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113420804863033344,"km_value":113420804863033.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:17:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018176803648368640,"description":"Unknown IO ID 45"} 
[2026-08-01 07:17:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100485888001,"power":13504,"unknown_229":206,"unknown_85":12288,"ignition":31,"odometer":null,"unknown_45":9018176803648368640}} 
[2026-08-01 07:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":146083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576207,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:17:13] local.INFO: GPS data processed {"connection_id":146083,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:17:13] local.INFO: Acknowledgment sent {"connection_id":146083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:17:30] local.INFO: TCP Data received {"connection_id":145888,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbaffff18012d5ca38006361b200008014c2d..."} 
[2026-08-01 07:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbaffff18012d5ca38006361b200008014c2d..."} 
[2026-08-01 07:17:30] local.INFO: Processing buffer {"connection_id":145888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbaffff18012d5ca38006361b200008014c2d..."} 
[2026-08-01 07:17:30] local.INFO: Packet analysis {"connection_id":145888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbaff"} 
[2026-08-01 07:17:30] local.INFO: Extracted packet for processing {"connection_id":145888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbaff"} 
[2026-08-01 07:17:30] local.INFO: GPS Element Parsed {"raw_longitude":761045888,"raw_latitude":104209184,"longitude_deg":76.1045888,"latitude_deg":10.4209184,"altitude":8,"angle":332,"satellites":45,"speed":49,"hex_longitude":"2d5ca380","hex_latitude":"06361b20","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100482304001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365644009156116480,"note":"Value kept but may cause issues"} 
[2026-08-01 07:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6680878967646949376,"note":"Value kept but may cause issues"} 
[2026-08-01 07:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785548767000,"timestamp_ms":1785548767000,"timestamp_seconds":1785548767,"priority":1,"record_length":96,"hex_timestamp":"0000019fbaffff18"} 
[2026-08-01 07:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:17: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-08-01 07: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":65,"data_length":795,"current_offset":136} 
[2026-08-01 07:17: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-08-01 07: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-08-01 07:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":145888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":145888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":145888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100482304001,"66":27745,"3":206,"19":40192,"24":49,"16":365644009156116480,"45":6680878967646949376},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,19,24,16,45]} 
[2026-08-01 07:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100482304001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:17:30] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-01 07:17:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-08-01 07:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365644009156116480,"km_value":365644009156116.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":6680878967646949376,"description":"Unknown IO ID 45"} 
[2026-08-01 07:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100482304001,"power":27745,"unknown_3":206,"unknown_19":40192,"ignition":49,"odometer":null,"unknown_45":6680878967646949376}} 
[2026-08-01 07:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":145888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:17:30] local.INFO: GPS data processed {"connection_id":145888,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:17:30] local.INFO: Acknowledgment sent {"connection_id":145888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:17:50] local.INFO: TCP Data received {"connection_id":148413,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:17:50] local.INFO: Processing buffer {"connection_id":148413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:17:50] local.INFO: IMEI packet received {"connection_id":148413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":148413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:17:52] local.INFO: TCP Data received {"connection_id":148413,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:17:52] local.INFO: Processing buffer {"connection_id":148413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:17:52] local.INFO: IMEI packet received {"connection_id":148413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":148413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:17:56] local.INFO: TCP Data received {"connection_id":148413,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb001e58012d5c918006363e300008014e2e..."} 
[2026-08-01 07:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb001e58012d5c918006363e300008014e2e..."} 
[2026-08-01 07:17:56] local.INFO: Processing buffer {"connection_id":148413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb001e58012d5c918006363e300008014e2e..."} 
[2026-08-01 07:17:56] local.INFO: Packet analysis {"connection_id":148413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb00"} 
[2026-08-01 07:17:56] local.INFO: Extracted packet for processing {"connection_id":148413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb00"} 
[2026-08-01 07:17:56] local.INFO: GPS Element Parsed {"raw_longitude":761041280,"raw_latitude":104218160,"longitude_deg":76.104128,"latitude_deg":10.421816,"altitude":8,"angle":334,"satellites":46,"speed":51,"hex_longitude":"2d5c9180","hex_latitude":"06363e30","is_valid_coordinates":true} 
[2026-08-01 07:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100484352001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365644498782388224,"note":"Value kept but may cause issues"} 
[2026-08-01 07:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6675319836859113472,"note":"Value kept but may cause issues"} 
[2026-08-01 07:17:56] 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-08-01 07:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785548775000,"timestamp_ms":1785548775000,"timestamp_seconds":1785548775,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb001e58"} 
[2026-08-01 07:17:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:17:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 07:17:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:17:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:17:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":148413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":148413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":148413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:17:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100484352001,"66":27767,"115":206,"19":38400,"24":51,"16":365644498782388224,"45":6675319836859113472},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-08-01 07:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100484352001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:17:56] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-01 07:17:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-08-01 07:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365644498782388224,"km_value":365644498782388.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":6675319836859113472,"description":"Unknown IO ID 45"} 
[2026-08-01 07:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100484352001,"power":27767,"unknown_115":206,"unknown_19":38400,"ignition":51,"odometer":null,"unknown_45":6675319836859113472}} 
[2026-08-01 07:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":148413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:17:56] local.INFO: GPS data processed {"connection_id":148413,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:17:56] local.INFO: Acknowledgment sent {"connection_id":148413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:18:01] local.INFO: TCP Data received {"connection_id":148413,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb0039b0012d5c820006365df00007014d2e..."} 
[2026-08-01 07:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb0039b0012d5c820006365df00007014d2e..."} 
[2026-08-01 07:18:01] local.INFO: Processing buffer {"connection_id":148413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb0039b0012d5c820006365df00007014d2e..."} 
[2026-08-01 07:18:01] local.INFO: Packet analysis {"connection_id":148413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb00"} 
[2026-08-01 07:18:01] local.INFO: Extracted packet for processing {"connection_id":148413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb00"} 
[2026-08-01 07:18:01] local.INFO: GPS Element Parsed {"raw_longitude":761037312,"raw_latitude":104226288,"longitude_deg":76.1037312,"latitude_deg":10.4226288,"altitude":7,"angle":333,"satellites":46,"speed":51,"hex_longitude":"2d5c8200","hex_latitude":"06365df0","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100486400001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365644936869052416,"note":"Value kept but may cause issues"} 
[2026-08-01 07:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6670253287280619520,"note":"Value kept but may cause issues"} 
[2026-08-01 07:18:01] 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-08-01 07:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785548782000,"timestamp_ms":1785548782000,"timestamp_seconds":1785548782,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb0039b0"} 
[2026-08-01 07:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:18: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-08-01 07: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-08-01 07: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-08-01 07: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-08-01 07:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":148413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":148413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":148413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:18:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100486400001,"66":27745,"115":206,"19":38400,"24":51,"16":365644936869052416,"45":6670253287280619520},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-08-01 07:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100486400001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:18:01] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-01 07:18:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-08-01 07:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365644936869052416,"km_value":365644936869052.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6670253287280619520,"description":"Unknown IO ID 45"} 
[2026-08-01 07:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100486400001,"power":27745,"unknown_115":206,"unknown_19":38400,"ignition":51,"odometer":null,"unknown_45":6670253287280619520}} 
[2026-08-01 07:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":148413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:18:01] local.INFO: GPS data processed {"connection_id":148413,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:18:01] local.INFO: Acknowledgment sent {"connection_id":148413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:18:08] local.INFO: TCP Data received {"connection_id":145889,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145889,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:18:08] local.INFO: Processing buffer {"connection_id":145889,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:18:08] local.INFO: IMEI packet received {"connection_id":145889,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":145889,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:18:12] local.INFO: TCP Data received {"connection_id":145889,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145889,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:18:12] local.INFO: Processing buffer {"connection_id":145889,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:18:12] local.INFO: IMEI packet received {"connection_id":145889,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":145889,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:18:13] local.INFO: TCP Data received {"connection_id":145889,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb009f40012d7d234005c78c800009016528..."} 
[2026-08-01 07:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb009f40012d7d234005c78c800009016528..."} 
[2026-08-01 07:18:13] local.INFO: Processing buffer {"connection_id":145889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb009f40012d7d234005c78c800009016528..."} 
[2026-08-01 07:18:13] local.INFO: Packet analysis {"connection_id":145889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb00"} 
[2026-08-01 07:18:13] local.INFO: Extracted packet for processing {"connection_id":145889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb00"} 
[2026-08-01 07:18:13] local.INFO: GPS Element Parsed {"raw_longitude":763175744,"raw_latitude":96963712,"longitude_deg":76.3175744,"latitude_deg":9.6963712,"altitude":9,"angle":357,"satellites":40,"speed":29,"hex_longitude":"2d7d2340","hex_latitude":"05c78c80","is_valid_coordinates":true} 
[2026-08-01 07:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100491776001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:18:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-01 07:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113421702511198208,"note":"Value kept but may cause issues"} 
[2026-08-01 07:18:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017473116211304448,"note":"Value kept but may cause issues"} 
[2026-08-01 07:18:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-01 07:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785548808000,"timestamp_ms":1785548808000,"timestamp_seconds":1785548808,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb009f40"} 
[2026-08-01 07:18:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:18:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-01 07:18:13] 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-08-01 07:18:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:18:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":145889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":145889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":145889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:18:13] 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-08-01 07:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100491776001,"66":13580,"200":0,"85":12288,"24":29,"16":113421702511198208,"45":9017473116211304448},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-01 07:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100491776001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:18:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 07:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113421702511198208,"km_value":113421702511198.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:18:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017473116211304448,"description":"Unknown IO ID 45"} 
[2026-08-01 07:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100491776001,"power":13580,"gsm_signal":0,"unknown_85":12288,"ignition":29,"odometer":null,"unknown_45":9017473116211304448}} 
[2026-08-01 07:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":145889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576211,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:18:13] local.INFO: GPS data processed {"connection_id":145889,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:18:13] local.INFO: Acknowledgment sent {"connection_id":145889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:18:30] local.INFO: TCP Data received {"connection_id":146083,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb007060012d7d248005c768d8000c016327..."} 
[2026-08-01 07:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb007060012d7d248005c768d8000c016327..."} 
[2026-08-01 07:18:30] local.INFO: Processing buffer {"connection_id":146083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb007060012d7d248005c768d8000c016327..."} 
[2026-08-01 07:18:30] local.INFO: Packet analysis {"connection_id":146083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb00"} 
[2026-08-01 07:18:30] local.INFO: Extracted packet for processing {"connection_id":146083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb00"} 
[2026-08-01 07:18:30] local.INFO: GPS Element Parsed {"raw_longitude":763176064,"raw_latitude":96954584,"longitude_deg":76.3176064,"latitude_deg":9.6954584,"altitude":12,"angle":355,"satellites":39,"speed":33,"hex_longitude":"2d7d2480","hex_latitude":"05c768d8","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100488960001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113421260129566720,"note":"Value kept but may cause issues"} 
[2026-08-01 07:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018106434906517504,"note":"Value kept but may cause issues"} 
[2026-08-01 07:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785548796000,"timestamp_ms":1785548796000,"timestamp_seconds":1785548796,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb007060"} 
[2026-08-01 07:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:18: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-08-01 07: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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-01 07:18:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07: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-08-01 07:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:18:30] 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-08-01 07:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100488960001,"66":13352,"229":206,"85":12288,"24":33,"16":113421260129566720,"45":9018106434906517504},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-01 07:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100488960001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:18:30] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 07:18:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 07:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113421260129566720,"km_value":113421260129566.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018106434906517504,"description":"Unknown IO ID 45"} 
[2026-08-01 07:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100488960001,"power":13352,"unknown_229":206,"unknown_85":12288,"ignition":33,"odometer":null,"unknown_45":9018106434906517504}} 
[2026-08-01 07:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":146083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576212,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:18:30] local.INFO: GPS data processed {"connection_id":146083,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:18:30] local.INFO: Acknowledgment sent {"connection_id":146083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:18:44] local.INFO: TCP Data received {"connection_id":145889,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb00d208012d7d228005c7af90000800042c..."} 
[2026-08-01 07:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb00d208012d7d228005c7af90000800042c..."} 
[2026-08-01 07:18:44] local.INFO: Processing buffer {"connection_id":145889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb00d208012d7d228005c7af90000800042c..."} 
[2026-08-01 07:18:44] local.INFO: Packet analysis {"connection_id":145889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb00"} 
[2026-08-01 07:18:44] local.INFO: Extracted packet for processing {"connection_id":145889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb00"} 
[2026-08-01 07:18:44] local.INFO: GPS Element Parsed {"raw_longitude":763175552,"raw_latitude":96972688,"longitude_deg":76.3175552,"latitude_deg":9.6972688,"altitude":8,"angle":4,"satellites":44,"speed":27,"hex_longitude":"2d7d2280","hex_latitude":"05c7af90","is_valid_coordinates":true} 
[2026-08-01 07:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100494848001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:18:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-01 07:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113422136302895104,"note":"Value kept but may cause issues"} 
[2026-08-01 07:18:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017121272492752896,"note":"Value kept but may cause issues"} 
[2026-08-01 07:18:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-01 07:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785548821000,"timestamp_ms":1785548821000,"timestamp_seconds":1785548821,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb00d208"} 
[2026-08-01 07:18:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:18:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-01 07:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751616753,"note":"Value kept but may cause issues"} 
[2026-08-01 07:18:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-01 07:18:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-01 07:18:44] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3137313160,"note":"Value kept but may cause issues"} 
[2026-08-01 07:18:44] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5919137388327600138,"note":"Value kept but may cause issues"} 
[2026-08-01 07:18:44] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-01 07:18:44] local.WARNING: Large IO value detected {"io_id":186,"raw_value":4293115905,"note":"Value kept but may cause issues"} 
[2026-08-01 07:18:44] local.WARNING: Large IO value detected {"io_id":198,"raw_value":4251975695,"note":"Value kept but may cause issues"} 
[2026-08-01 07:18:44] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635210275772901,"note":"Value kept but may cause issues"} 
[2026-08-01 07:18:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1508180174,"corrected_to":0} 
[2026-08-01 07:18:44] local.WARNING: Large IO value detected {"io_id":176,"raw_value":4160826749,"note":"Value kept but may cause issues"} 
[2026-08-01 07:18:44] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-648292560363532715,"note":"Value kept but may cause issues"} 
[2026-08-01 07:18:44] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-01 07:18:44] local.WARNING: Large IO value detected {"io_id":146,"raw_value":4066770944,"note":"Value kept but may cause issues"} 
[2026-08-01 07:18:44] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3334731776,"note":"Value kept but may cause issues"} 
[2026-08-01 07:18:44] local.WARNING: Large IO value detected {"io_id":125,"raw_value":3855087631713435665,"note":"Value kept but may cause issues"} 
[2026-08-01 07:18:44] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755502520402161,"note":"Value kept but may cause issues"} 
[2026-08-01 07:18:44] local.INFO: IO Element Parsed {"io_data_count":47,"io_data_keys":[0,200,85,24,241,157,16,244,159,112,45,128,104,12,39,10,66,229,69,192,68,13,37,243,22,1,240,214,227,186,198,4,113,205,28,176,38,96,239,52,2,146,5,17,34,125,48],"length":577,"final_offset":707,"validated_count":47,"validation_warnings":[{"io_id":200,"original":206,"validated":0},{"io_id":205,"original":1508180174,"validated":0}]} 
[2026-08-01 07:18:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648911043793059840,"timestamp_seconds":648911043793059.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 07:18:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":145889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":145889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":145889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:18:44] 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-08-01 07:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:18:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:18:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100494848001,"66":13602,"200":0,"85":12288,"24":27,"16":113422136302895104,"45":9017121272492752896},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-01 07:18:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:18:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:18:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100494848001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:18:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 07:18:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113422136302895104,"km_value":113422136302895.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:18:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017121272492752896,"description":"Unknown IO ID 45"} 
[2026-08-01 07:18:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100494848001,"power":13602,"gsm_signal":0,"unknown_85":12288,"ignition":27,"odometer":null,"unknown_45":9017121272492752896}} 
[2026-08-01 07:18:44] local.INFO: DEBUG: GPS processor result {"connection_id":145889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576213,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:18:44] local.INFO: GPS data processed {"connection_id":145889,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:18:44] local.INFO: Acknowledgment sent {"connection_id":145889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:18:46] local.INFO: TCP Data received {"connection_id":147106,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:18:46] local.INFO: Processing buffer {"connection_id":147106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:18:46] local.INFO: IMEI packet received {"connection_id":147106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":147106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:18:50] local.INFO: TCP Data received {"connection_id":147106,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:18:50] local.INFO: Processing buffer {"connection_id":147106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:18:50] local.INFO: IMEI packet received {"connection_id":147106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":147106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:18:55] local.INFO: TCP Data received {"connection_id":147106,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb01a4f8012d5be2400637a7d80009014f2d..."} 
[2026-08-01 07:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb01a4f8012d5be2400637a7d80009014f2d..."} 
[2026-08-01 07:18:55] local.INFO: Processing buffer {"connection_id":147106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb01a4f8012d5be2400637a7d80009014f2d..."} 
[2026-08-01 07:18:55] local.INFO: Packet analysis {"connection_id":147106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb01"} 
[2026-08-01 07:18:55] local.INFO: Extracted packet for processing {"connection_id":147106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb01"} 
[2026-08-01 07:18:55] local.INFO: GPS Element Parsed {"raw_longitude":760996416,"raw_latitude":104310744,"longitude_deg":76.0996416,"latitude_deg":10.4310744,"altitude":9,"angle":335,"satellites":45,"speed":43,"hex_longitude":"2d5be240","hex_latitude":"0637a7d8","is_valid_coordinates":true} 
[2026-08-01 07:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100509696001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365649480944451584,"note":"Value kept but may cause issues"} 
[2026-08-01 07:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6625287659772561408,"note":"Value kept but may cause issues"} 
[2026-08-01 07:18:55] 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-08-01 07:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785548875000,"timestamp_ms":1785548875000,"timestamp_seconds":1785548875,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb01a4f8"} 
[2026-08-01 07:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 07:18: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-08-01 07:18:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":147106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":147106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":147106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100509696001,"66":27767,"115":206,"19":38400,"24":43,"16":365649480944451584,"45":6625287659772561408},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-08-01 07:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100509696001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:18:55] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-01 07:18:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-08-01 07:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365649480944451584,"km_value":365649480944451.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":6625287659772561408,"description":"Unknown IO ID 45"} 
[2026-08-01 07:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100509696001,"power":27767,"unknown_115":206,"unknown_19":38400,"ignition":43,"odometer":null,"unknown_45":6625287659772561408}} 
[2026-08-01 07:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":147106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:18:55] local.INFO: GPS data processed {"connection_id":147106,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:18:55] local.INFO: Acknowledgment sent {"connection_id":147106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:18:57] local.INFO: TCP Data received {"connection_id":147106,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb01c438012d5bd3400637c7c00009014f2e..."} 
[2026-08-01 07:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb01c438012d5bd3400637c7c00009014f2e..."} 
[2026-08-01 07:18:57] local.INFO: Processing buffer {"connection_id":147106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb01c438012d5bd3400637c7c00009014f2e..."} 
[2026-08-01 07:18:57] local.INFO: Packet analysis {"connection_id":147106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb01"} 
[2026-08-01 07:18:57] local.INFO: Extracted packet for processing {"connection_id":147106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb01"} 
[2026-08-01 07:18:57] local.INFO: GPS Element Parsed {"raw_longitude":760992576,"raw_latitude":104318912,"longitude_deg":76.0992576,"latitude_deg":10.4318912,"altitude":9,"angle":335,"satellites":46,"speed":45,"hex_longitude":"2d5bd340","hex_latitude":"0637c7c0","is_valid_coordinates":true} 
[2026-08-01 07:18:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:18:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100512000001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:18:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365649919031115776,"note":"Value kept but may cause issues"} 
[2026-08-01 07:18:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6620924797635778560,"note":"Value kept but may cause issues"} 
[2026-08-01 07:18:57] 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-08-01 07:18:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785548883000,"timestamp_ms":1785548883000,"timestamp_seconds":1785548883,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb01c438"} 
[2026-08-01 07:18:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:18:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:18:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 07:18:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:18:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:18:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:18:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:18:57] local.INFO: Teltonika packet parsed successfully {"connection_id":147106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:18:57] local.INFO: Passing IMEI to GPS processor {"connection_id":147106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:18:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":147106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:18:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:18:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:18:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:18:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100512000001,"66":27517,"115":206,"19":38400,"24":45,"16":365649919031115776,"45":6620924797635778560},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-08-01 07:18:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:18:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:18:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100512000001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:18:57] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-01 07:18:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-08-01 07:18:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365649919031115776,"km_value":365649919031115.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:18:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":6620924797635778560,"description":"Unknown IO ID 45"} 
[2026-08-01 07:18:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100512000001,"power":27517,"unknown_115":206,"unknown_19":38400,"ignition":45,"odometer":null,"unknown_45":6620924797635778560}} 
[2026-08-01 07:18:57] local.INFO: DEBUG: GPS processor result {"connection_id":147106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:18:57] local.INFO: GPS data processed {"connection_id":147106,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:18:57] local.INFO: Acknowledgment sent {"connection_id":147106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:19:07] local.INFO: TCP Data received {"connection_id":146084,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146084,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:19:07] local.INFO: Processing buffer {"connection_id":146084,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:19:07] local.INFO: IMEI packet received {"connection_id":146084,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":146084,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:19:12] local.INFO: TCP Data received {"connection_id":146084,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146084,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:19:12] local.INFO: Processing buffer {"connection_id":146084,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:19:12] local.INFO: IMEI packet received {"connection_id":146084,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":146084,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:19:13] local.INFO: TCP Data received {"connection_id":146084,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb00fd00012d7d250005c7c330000800152d..."} 
[2026-08-01 07:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb00fd00012d7d250005c7c330000800152d..."} 
[2026-08-01 07:19:13] local.INFO: Processing buffer {"connection_id":146084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb00fd00012d7d250005c7c330000800152d..."} 
[2026-08-01 07:19:13] local.INFO: Packet analysis {"connection_id":146084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb00"} 
[2026-08-01 07:19:13] local.INFO: Extracted packet for processing {"connection_id":146084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb00"} 
[2026-08-01 07:19:13] local.INFO: GPS Element Parsed {"raw_longitude":763176192,"raw_latitude":96977712,"longitude_deg":76.3176192,"latitude_deg":9.6977712,"altitude":8,"angle":21,"satellites":45,"speed":9,"hex_longitude":"2d7d2500","hex_latitude":"05c7c330","is_valid_coordinates":true} 
[2026-08-01 07:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100498176001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:19:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-01 07:19:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113422385410998272,"note":"Value kept but may cause issues"} 
[2026-08-01 07:19:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016910166262517760,"note":"Value kept but may cause issues"} 
[2026-08-01 07:19:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-01 07:19:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785548832000,"timestamp_ms":1785548832000,"timestamp_seconds":1785548832,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb00fd00"} 
[2026-08-01 07:19:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:19:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-01 07:19:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:19:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:19:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:19:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:19:13] local.INFO: Teltonika packet parsed successfully {"connection_id":146084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:19:13] local.INFO: Passing IMEI to GPS processor {"connection_id":146084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:19:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":146084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:19:13] 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-08-01 07:19:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:19:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:19:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100498176001,"66":13580,"200":0,"85":12288,"24":9,"16":113422385410998272,"45":9016910166262517760},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-01 07:19:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:19:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:19:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100498176001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:19:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 07:19:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113422385410998272,"km_value":113422385410998.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:19:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016910166262517760,"description":"Unknown IO ID 45"} 
[2026-08-01 07:19:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100498176001,"power":13580,"gsm_signal":0,"unknown_85":12288,"ignition":9,"odometer":null,"unknown_45":9016910166262517760}} 
[2026-08-01 07:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":146084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576216,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:19:13] local.INFO: GPS data processed {"connection_id":146084,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:19:13] local.INFO: Acknowledgment sent {"connection_id":146084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:19:37] local.INFO: TCP Data received {"connection_id":147106,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb01e378012d5bc3c00637e9a0000b01502e..."} 
[2026-08-01 07:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb01e378012d5bc3c00637e9a0000b01502e..."} 
[2026-08-01 07:19:37] local.INFO: Processing buffer {"connection_id":147106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb01e378012d5bc3c00637e9a0000b01502e..."} 
[2026-08-01 07:19:37] local.INFO: Packet analysis {"connection_id":147106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb01"} 
[2026-08-01 07:19:37] local.INFO: Extracted packet for processing {"connection_id":147106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb01"} 
[2026-08-01 07:19:37] local.INFO: GPS Element Parsed {"raw_longitude":760988608,"raw_latitude":104327584,"longitude_deg":76.0988608,"latitude_deg":10.4327584,"altitude":11,"angle":336,"satellites":46,"speed":48,"hex_longitude":"2d5bc3c0","hex_latitude":"0637e9a0","is_valid_coordinates":true} 
[2026-08-01 07:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100514048001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365650378592616448,"note":"Value kept but may cause issues"} 
[2026-08-01 07:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6616702672987209728,"note":"Value kept but may cause issues"} 
[2026-08-01 07:19:37] 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-08-01 07:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785548891000,"timestamp_ms":1785548891000,"timestamp_seconds":1785548891,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb01e378"} 
[2026-08-01 07:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-01 07:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100514048001,"66":27745,"115":206,"19":38400,"24":48,"16":365650378592616448,"45":6616702672987209728},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-08-01 07:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100514048001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:19:37] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-01 07:19:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-08-01 07:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365650378592616448,"km_value":365650378592616.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6616702672987209728,"description":"Unknown IO ID 45"} 
[2026-08-01 07:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100514048001,"power":27745,"unknown_115":206,"unknown_19":38400,"ignition":48,"odometer":null,"unknown_45":6616702672987209728}} 
[2026-08-01 07:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":147106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:19:37] local.INFO: GPS data processed {"connection_id":147106,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:19:37] local.INFO: Acknowledgment sent {"connection_id":147106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:19:44] local.INFO: TCP Data received {"connection_id":146084,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb0104d0012d7d264005c7c4d80008002b2d..."} 
[2026-08-01 07:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb0104d0012d7d264005c7c4d80008002b2d..."} 
[2026-08-01 07:19:44] local.INFO: Processing buffer {"connection_id":146084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb0104d0012d7d264005c7c4d80008002b2d..."} 
[2026-08-01 07:19:44] local.INFO: Packet analysis {"connection_id":146084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb01"} 
[2026-08-01 07:19:44] local.INFO: Extracted packet for processing {"connection_id":146084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb01"} 
[2026-08-01 07:19:44] local.INFO: GPS Element Parsed {"raw_longitude":763176512,"raw_latitude":96978136,"longitude_deg":76.3176512,"latitude_deg":9.6978136,"altitude":8,"angle":43,"satellites":45,"speed":11,"hex_longitude":"2d7d2640","hex_latitude":"05c7c4d8","is_valid_coordinates":true} 
[2026-08-01 07:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:19:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100500992001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:19:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-01 07:19:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113422411180802048,"note":"Value kept but may cause issues"} 
[2026-08-01 07:19:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017613853705580544,"note":"Value kept but may cause issues"} 
[2026-08-01 07:19:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-01 07:19:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785548834000,"timestamp_ms":1785548834000,"timestamp_seconds":1785548834,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb0104d0"} 
[2026-08-01 07:19:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:19:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-01 07:19:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751616754,"note":"Value kept but may cause issues"} 
[2026-08-01 07:19:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-01 07:19:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-01 07:19:44] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3137332160,"note":"Value kept but may cause issues"} 
[2026-08-01 07:19:44] local.WARNING: Large IO value detected {"io_id":1,"raw_value":7360570787012542474,"note":"Value kept but may cause issues"} 
[2026-08-01 07:19:44] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-01 07:19:44] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635768621521381,"note":"Value kept but may cause issues"} 
[2026-08-01 07:19:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1508180174,"corrected_to":0} 
[2026-08-01 07:19:44] local.WARNING: Large IO value detected {"io_id":22,"raw_value":2281778557,"note":"Value kept but may cause issues"} 
[2026-08-01 07:19:44] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-3026193163615154603,"note":"Value kept but may cause issues"} 
[2026-08-01 07:19:44] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-01 07:19:44] local.WARNING: Large IO value detected {"io_id":146,"raw_value":4080533504,"note":"Value kept but may cause issues"} 
[2026-08-01 07:19:44] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3338498048,"note":"Value kept but may cause issues"} 
[2026-08-01 07:19:44] local.WARNING: Large IO value detected {"io_id":125,"raw_value":2738194925033095184,"note":"Value kept but may cause issues"} 
[2026-08-01 07:19:44] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755545470075121,"note":"Value kept but may cause issues"} 
[2026-08-01 07:19:44] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,200,85,24,241,157,16,245,159,210,45,128,175,8,44,10,66,244,64,140,9,40,112,1,240,227,187,199,4,113,205,31,22,39,239,52,229,2,146,5,15,28,125,48],"length":577,"final_offset":707,"validated_count":44,"validation_warnings":[{"io_id":200,"original":206,"validated":0},{"io_id":205,"original":1508180174,"validated":0}]} 
[2026-08-01 07:19:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576484035321724928,"timestamp_seconds":576484035321724.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 07:19:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:19:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:19:44] local.INFO: Teltonika packet parsed successfully {"connection_id":146084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:19:44] local.INFO: Passing IMEI to GPS processor {"connection_id":146084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:19:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":146084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:19:44] 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-08-01 07:19:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:19:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:19:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100500992001,"66":13559,"200":0,"85":12288,"24":11,"16":113422411180802048,"45":9017613853705580544},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-01 07:19:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:19:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:19:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100500992001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:19:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 07:19:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113422411180802048,"km_value":113422411180802.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:19:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017613853705580544,"description":"Unknown IO ID 45"} 
[2026-08-01 07:19:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100500992001,"power":13559,"gsm_signal":0,"unknown_85":12288,"ignition":11,"odometer":null,"unknown_45":9017613853705580544}} 
[2026-08-01 07:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":146084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576218,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:19:45] local.INFO: GPS data processed {"connection_id":146084,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:19:45] local.INFO: Acknowledgment sent {"connection_id":146084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:19:45] local.INFO: TCP Data received {"connection_id":146085,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:19:45] local.INFO: Processing buffer {"connection_id":146085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:19:45] local.INFO: IMEI packet received {"connection_id":146085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":146085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:19:50] local.INFO: TCP Data received {"connection_id":146085,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:19:50] local.INFO: Processing buffer {"connection_id":146085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:19:50] local.INFO: IMEI packet received {"connection_id":146085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":146085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:19:51] local.INFO: TCP Data received {"connection_id":146085,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb0202b8012d5bb3c006380cf0000a01502e..."} 
[2026-08-01 07:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb0202b8012d5bb3c006380cf0000a01502e..."} 
[2026-08-01 07:19:51] local.INFO: Processing buffer {"connection_id":146085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb0202b8012d5bb3c006380cf0000a01502e..."} 
[2026-08-01 07:19:51] local.INFO: Packet analysis {"connection_id":146085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb02"} 
[2026-08-01 07:19:51] local.INFO: Extracted packet for processing {"connection_id":146085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb02"} 
[2026-08-01 07:19:51] local.INFO: GPS Element Parsed {"raw_longitude":760984512,"raw_latitude":104336624,"longitude_deg":76.0984512,"latitude_deg":10.4336624,"altitude":10,"angle":336,"satellites":46,"speed":50,"hex_longitude":"2d5bb3c0","hex_latitude":"06380cf0","is_valid_coordinates":true} 
[2026-08-01 07:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100516096001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365650859628953600,"note":"Value kept but may cause issues"} 
[2026-08-01 07:19:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6612339810850414592,"note":"Value kept but may cause issues"} 
[2026-08-01 07:19:51] 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-08-01 07:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785548899000,"timestamp_ms":1785548899000,"timestamp_seconds":1785548899,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb0202b8"} 
[2026-08-01 07:19:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:19: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-08-01 07:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 07:19: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-08-01 07:19:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:19:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":146085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":146085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":146085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:19:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100516096001,"66":27745,"115":206,"19":38400,"24":50,"16":365650859628953600,"45":6612339810850414592},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-08-01 07:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100516096001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:19:51] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-01 07:19:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-08-01 07:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365650859628953600,"km_value":365650859628953.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:19:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":6612339810850414592,"description":"Unknown IO ID 45"} 
[2026-08-01 07:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100516096001,"power":27745,"unknown_115":206,"unknown_19":38400,"ignition":50,"odometer":null,"unknown_45":6612339810850414592}} 
[2026-08-01 07:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":146085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:19:51] local.INFO: GPS data processed {"connection_id":146085,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:19:51] local.INFO: Acknowledgment sent {"connection_id":146085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:20:12] local.INFO: TCP Data received {"connection_id":146086,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146086,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:20:12] local.INFO: Processing buffer {"connection_id":146086,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:20:12] local.INFO: IMEI packet received {"connection_id":146086,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":146086,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:20:17] local.INFO: TCP Data received {"connection_id":146086,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146086,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:20:17] local.INFO: Processing buffer {"connection_id":146086,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:20:17] local.INFO: IMEI packet received {"connection_id":146086,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":146086,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:20:18] local.INFO: TCP Data received {"connection_id":146086,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb011088012d7d288005c7c6a0000900372c..."} 
[2026-08-01 07:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb011088012d7d288005c7c6a0000900372c..."} 
[2026-08-01 07:20:18] local.INFO: Processing buffer {"connection_id":146086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb011088012d7d288005c7c6a0000900372c..."} 
[2026-08-01 07:20:18] local.INFO: Packet analysis {"connection_id":146086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb01"} 
[2026-08-01 07:20:18] local.INFO: Extracted packet for processing {"connection_id":146086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb01"} 
[2026-08-01 07:20:18] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":96978592,"longitude_deg":76.3177088,"latitude_deg":9.6978592,"altitude":9,"angle":55,"satellites":44,"speed":8,"hex_longitude":"2d7d2880","hex_latitude":"05c7c6a0","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:20:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100501504001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:20:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-01 07:20:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113422445540540416,"note":"Value kept but may cause issues"} 
[2026-08-01 07:20:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017965697426577408,"note":"Value kept but may cause issues"} 
[2026-08-01 07:20:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-01 07:20:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785548837000,"timestamp_ms":1785548837000,"timestamp_seconds":1785548837,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb011088"} 
[2026-08-01 07:20:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:20: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-08-01 07: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":247,"data_length":795,"current_offset":136} 
[2026-08-01 07:20:18] 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-08-01 07: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-08-01 07:20:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:20:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:20:18] local.INFO: Teltonika packet parsed successfully {"connection_id":146086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:20:18] local.INFO: Passing IMEI to GPS processor {"connection_id":146086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:20:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":146086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:20: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-08-01 07:20:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:20:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:20:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100501504001,"66":13472,"200":0,"85":12288,"24":8,"16":113422445540540416,"45":9017965697426577408},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-01 07:20:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:20:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:20:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100501504001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:20:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 07:20:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113422445540540416,"km_value":113422445540540.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:20:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017965697426577408,"description":"Unknown IO ID 45"} 
[2026-08-01 07:20:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100501504001,"power":13472,"gsm_signal":0,"unknown_85":12288,"ignition":8,"odometer":null,"unknown_45":9017965697426577408}} 
[2026-08-01 07:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":146086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576220,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:20:18] local.INFO: GPS data processed {"connection_id":146086,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:20:18] local.INFO: Acknowledgment sent {"connection_id":146086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:20:22] local.INFO: TCP Data received {"connection_id":146085,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb0221f8012d5ba40006383110000a01512e..."} 
[2026-08-01 07:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb0221f8012d5ba40006383110000a01512e..."} 
[2026-08-01 07:20:22] local.INFO: Processing buffer {"connection_id":146085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb0221f8012d5ba40006383110000a01512e..."} 
[2026-08-01 07:20:22] local.INFO: Packet analysis {"connection_id":146085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb02"} 
[2026-08-01 07:20:22] local.INFO: Extracted packet for processing {"connection_id":146085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb02"} 
[2026-08-01 07:20:22] local.INFO: GPS Element Parsed {"raw_longitude":760980480,"raw_latitude":104345872,"longitude_deg":76.098048,"latitude_deg":10.4345872,"altitude":10,"angle":337,"satellites":46,"speed":49,"hex_longitude":"2d5ba400","hex_latitude":"06383110","is_valid_coordinates":true} 
[2026-08-01 07:20:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:20:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100518144001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:20:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365651349255225344,"note":"Value kept but may cause issues"} 
[2026-08-01 07:20:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6607836211225358336,"note":"Value kept but may cause issues"} 
[2026-08-01 07:20:22] 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-08-01 07:20:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785548907000,"timestamp_ms":1785548907000,"timestamp_seconds":1785548907,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb0221f8"} 
[2026-08-01 07:20:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:20:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:20:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 07:20:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:20:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:20:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:20:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:20:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:20:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:20:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:20:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:20:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:20:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:20:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100518144001,"66":27713,"115":206,"19":38400,"24":49,"16":365651349255225344,"45":6607836211225358336},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-08-01 07:20:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:20:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:20:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100518144001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:20:22] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-01 07:20:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-08-01 07:20:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365651349255225344,"km_value":365651349255225.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:20:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":6607836211225358336,"description":"Unknown IO ID 45"} 
[2026-08-01 07:20:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100518144001,"power":27713,"unknown_115":206,"unknown_19":38400,"ignition":49,"odometer":null,"unknown_45":6607836211225358336}} 
[2026-08-01 07:20:22] local.INFO: DEBUG: GPS processor result {"connection_id":146085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:20:22] local.INFO: GPS data processed {"connection_id":146085,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:20:22] local.INFO: Acknowledgment sent {"connection_id":146085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:20:23] local.INFO: TCP Data received {"connection_id":146086,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb011470012d7d298005c7c6f8000900422d..."} 
[2026-08-01 07:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb011470012d7d298005c7c6f8000900422d..."} 
[2026-08-01 07:20:23] local.INFO: Processing buffer {"connection_id":146086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb011470012d7d298005c7c6f8000900422d..."} 
[2026-08-01 07:20:23] local.INFO: Packet analysis {"connection_id":146086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb01"} 
[2026-08-01 07:20:23] local.INFO: Extracted packet for processing {"connection_id":146086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb01"} 
[2026-08-01 07:20:23] local.INFO: GPS Element Parsed {"raw_longitude":763177344,"raw_latitude":96978680,"longitude_deg":76.3177344,"latitude_deg":9.697868,"altitude":9,"angle":66,"satellites":45,"speed":8,"hex_longitude":"2d7d2980","hex_latitude":"05c7c6f8","is_valid_coordinates":true} 
[2026-08-01 07:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100502272001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:20:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-01 07:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113422458425442304,"note":"Value kept but may cause issues"} 
[2026-08-01 07:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016124293120,"note":"Value kept but may cause issues"} 
[2026-08-01 07:20:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-01 07:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785548838000,"timestamp_ms":1785548838000,"timestamp_seconds":1785548838,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb011470"} 
[2026-08-01 07:20:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:20: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-08-01 07:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-01 07:20:23] 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-08-01 07:20:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:20:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":146086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":146086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":146086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:20:23] 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-08-01 07:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100502272001,"66":13406,"200":0,"85":12288,"24":8,"16":113422458425442304,"45":9018599016124293120},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-01 07:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100502272001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:20:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 07:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113422458425442304,"km_value":113422458425442.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:20:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016124293120,"description":"Unknown IO ID 45"} 
[2026-08-01 07:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100502272001,"power":13406,"gsm_signal":0,"unknown_85":12288,"ignition":8,"odometer":null,"unknown_45":9018599016124293120}} 
[2026-08-01 07:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":146086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576222,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:20:23] local.INFO: GPS data processed {"connection_id":146086,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:20:23] local.INFO: Acknowledgment sent {"connection_id":146086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:20:45] local.INFO: TCP Data received {"connection_id":146087,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:20:45] local.INFO: Processing buffer {"connection_id":146087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:20:45] local.INFO: IMEI packet received {"connection_id":146087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":146087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:20:50] local.INFO: TCP Data received {"connection_id":146087,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:20:50] local.INFO: Processing buffer {"connection_id":146087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:20:50] local.INFO: IMEI packet received {"connection_id":146087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":146087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:20:51] local.INFO: TCP Data received {"connection_id":146087,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb036630012d5adcc006398e70000a01512d..."} 
[2026-08-01 07:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb036630012d5adcc006398e70000a01512d..."} 
[2026-08-01 07:20:51] local.INFO: Processing buffer {"connection_id":146087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb036630012d5adcc006398e70000a01512d..."} 
[2026-08-01 07:20:51] local.INFO: Packet analysis {"connection_id":146087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb03"} 
[2026-08-01 07:20:51] local.INFO: Extracted packet for processing {"connection_id":146087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb03"} 
[2026-08-01 07:20:51] local.INFO: GPS Element Parsed {"raw_longitude":760929472,"raw_latitude":104435312,"longitude_deg":76.0929472,"latitude_deg":10.4435312,"altitude":10,"angle":337,"satellites":45,"speed":53,"hex_longitude":"2d5adcc0","hex_latitude":"06398e70","is_valid_coordinates":true} 
[2026-08-01 07:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100539648001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365656344302190592,"note":"Value kept but may cause issues"} 
[2026-08-01 07:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6551681953394638848,"note":"Value kept but may cause issues"} 
[2026-08-01 07:20:51] 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-08-01 07:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785548990000,"timestamp_ms":1785548990000,"timestamp_seconds":1785548990,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb036630"} 
[2026-08-01 07:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:20: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-08-01 07:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 07:20:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:20:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":146087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":146087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":146087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100539648001,"66":27767,"117":206,"19":38400,"24":53,"16":365656344302190592,"45":6551681953394638848},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,19,24,16,45]} 
[2026-08-01 07:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100539648001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:20:51] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-01 07:20:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-08-01 07:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365656344302190592,"km_value":365656344302190.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":6551681953394638848,"description":"Unknown IO ID 45"} 
[2026-08-01 07:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100539648001,"power":27767,"unknown_117":206,"unknown_19":38400,"ignition":53,"odometer":null,"unknown_45":6551681953394638848}} 
[2026-08-01 07:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":146087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:20:51] local.INFO: GPS data processed {"connection_id":146087,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:20:51] local.INFO: Acknowledgment sent {"connection_id":146087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:21:07] local.INFO: TCP Data received {"connection_id":148414,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148414,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:21:07] local.INFO: Processing buffer {"connection_id":148414,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:21:07] local.INFO: IMEI packet received {"connection_id":148414,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":148414,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:21:12] local.INFO: TCP Data received {"connection_id":148414,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148414,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:21:12] local.INFO: Processing buffer {"connection_id":148414,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:21:12] local.INFO: IMEI packet received {"connection_id":148414,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":148414,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:21:13] local.INFO: TCP Data received {"connection_id":148414,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb013b80012d7d2a0005c7c728000900422c..."} 
[2026-08-01 07:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb013b80012d7d2a0005c7c728000900422c..."} 
[2026-08-01 07:21:13] local.INFO: Processing buffer {"connection_id":148414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb013b80012d7d2a0005c7c728000900422c..."} 
[2026-08-01 07:21:13] local.INFO: Packet analysis {"connection_id":148414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb01"} 
[2026-08-01 07:21:13] local.INFO: Extracted packet for processing {"connection_id":148414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb01"} 
[2026-08-01 07:21:13] local.INFO: GPS Element Parsed {"raw_longitude":763177472,"raw_latitude":96978728,"longitude_deg":76.3177472,"latitude_deg":9.6978728,"altitude":9,"angle":66,"satellites":44,"speed":0,"hex_longitude":"2d7d2a00","hex_latitude":"05c7c728","is_valid_coordinates":true} 
[2026-08-01 07:21:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:21:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100502528001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:21:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-01 07:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113422467015376896,"note":"Value kept but may cause issues"} 
[2026-08-01 07:21:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018880491101026304,"note":"Value kept but may cause issues"} 
[2026-08-01 07:21:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-01 07:21:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785548848000,"timestamp_ms":1785548848000,"timestamp_seconds":1785548848,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb013b80"} 
[2026-08-01 07:21:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:21:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:21:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-01 07:21:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:21:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:21:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":148414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":148414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":148414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:21:13] 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-08-01 07:21:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:21:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100502528001,"66":13526,"200":0,"85":12288,"24":0,"16":113422467015376896,"45":9018880491101026304},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-01 07:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100502528001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:21:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 07:21:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113422467015376896,"km_value":113422467015376.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:21:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018880491101026304,"description":"Unknown IO ID 45"} 
[2026-08-01 07:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100502528001,"power":13526,"gsm_signal":0,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9018880491101026304}} 
[2026-08-01 07:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":148414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576224,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:21:13] local.INFO: GPS data processed {"connection_id":148414,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:21:13] local.INFO: Acknowledgment sent {"connection_id":148414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:21:23] local.INFO: TCP Data received {"connection_id":146087,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb038188012d5ace400639aeb0000a014f2d..."} 
[2026-08-01 07:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb038188012d5ace400639aeb0000a014f2d..."} 
[2026-08-01 07:21:23] local.INFO: Processing buffer {"connection_id":146087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb038188012d5ace400639aeb0000a014f2d..."} 
[2026-08-01 07:21:23] local.INFO: Packet analysis {"connection_id":146087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb03"} 
[2026-08-01 07:21:23] local.INFO: Extracted packet for processing {"connection_id":146087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb03"} 
[2026-08-01 07:21:23] local.INFO: GPS Element Parsed {"raw_longitude":760925760,"raw_latitude":104443568,"longitude_deg":76.092576,"latitude_deg":10.4443568,"altitude":10,"angle":335,"satellites":45,"speed":50,"hex_longitude":"2d5ace40","hex_latitude":"0639aeb0","is_valid_coordinates":true} 
[2026-08-01 07:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:21:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100541440001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:21:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365656782388854784,"note":"Value kept but may cause issues"} 
[2026-08-01 07:21:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6547319091257831424,"note":"Value kept but may cause issues"} 
[2026-08-01 07:21:23] 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-08-01 07:21:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785548997000,"timestamp_ms":1785548997000,"timestamp_seconds":1785548997,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb038188"} 
[2026-08-01 07:21:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:21:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 07:21:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:21:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:21:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:21:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:21:23] local.INFO: Teltonika packet parsed successfully {"connection_id":146087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:21:23] local.INFO: Passing IMEI to GPS processor {"connection_id":146087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:21:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":146087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:21:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:21:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:21:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:21:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100541440001,"66":27767,"117":206,"19":38400,"24":50,"16":365656782388854784,"45":6547319091257831424},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,19,24,16,45]} 
[2026-08-01 07:21:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:21:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:21:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100541440001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:21:23] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-01 07:21:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-08-01 07:21:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365656782388854784,"km_value":365656782388854.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:21:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":6547319091257831424,"description":"Unknown IO ID 45"} 
[2026-08-01 07:21:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100541440001,"power":27767,"unknown_117":206,"unknown_19":38400,"ignition":50,"odometer":null,"unknown_45":6547319091257831424}} 
[2026-08-01 07:21:23] local.INFO: DEBUG: GPS processor result {"connection_id":146087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:21:23] local.INFO: GPS data processed {"connection_id":146087,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:21:23] local.INFO: Acknowledgment sent {"connection_id":146087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:21:44] local.INFO: TCP Data received {"connection_id":148414,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb013b80012d7d2a0005c7c728000900422c..."} 
[2026-08-01 07:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb013b80012d7d2a0005c7c728000900422c..."} 
[2026-08-01 07:21:44] local.INFO: Processing buffer {"connection_id":148414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb013b80012d7d2a0005c7c728000900422c..."} 
[2026-08-01 07:21:44] local.INFO: Packet analysis {"connection_id":148414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb01"} 
[2026-08-01 07:21:44] local.INFO: Extracted packet for processing {"connection_id":148414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb01"} 
[2026-08-01 07:21:44] local.INFO: GPS Element Parsed {"raw_longitude":763177472,"raw_latitude":96978728,"longitude_deg":76.3177472,"latitude_deg":9.6978728,"altitude":9,"angle":66,"satellites":44,"speed":0,"hex_longitude":"2d7d2a00","hex_latitude":"05c7c728","is_valid_coordinates":true} 
[2026-08-01 07:21:44] 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-08-01 07:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100505088001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:21:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-01 07:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113422467015376896,"note":"Value kept but may cause issues"} 
[2026-08-01 07:21:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019021228589393920,"note":"Value kept but may cause issues"} 
[2026-08-01 07:21:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-01 07:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785548848000,"timestamp_ms":1785548848000,"timestamp_seconds":1785548848,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb013b80"} 
[2026-08-01 07:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:21:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 07:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-01 07:21:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:21:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":148414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":148414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":148414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:21:44] 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-08-01 07:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100505088001,"66":13526,"200":0,"85":12288,"24":0,"16":113422467015376896,"45":9019021228589393920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-01 07:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100505088001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:21:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 07:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113422467015376896,"km_value":113422467015376.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:21:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019021228589393920,"description":"Unknown IO ID 45"} 
[2026-08-01 07:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100505088001,"power":13526,"gsm_signal":0,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9019021228589393920}} 
[2026-08-01 07:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":148414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576226,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:21:45] local.INFO: GPS data processed {"connection_id":148414,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:21:45] local.INFO: Acknowledgment sent {"connection_id":148414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:21:50] local.INFO: TCP Data received {"connection_id":146088,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:21:50] local.INFO: Processing buffer {"connection_id":146088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:21:50] local.INFO: IMEI packet received {"connection_id":146088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":146088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:21:54] local.INFO: TCP Data received {"connection_id":146088,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:21:54] local.INFO: Processing buffer {"connection_id":146088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:21:54] local.INFO: IMEI packet received {"connection_id":146088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":146088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:22:10] local.INFO: TCP Data received {"connection_id":148415,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148415,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:22:10] local.INFO: Processing buffer {"connection_id":148415,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:22:10] local.INFO: IMEI packet received {"connection_id":148415,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":148415,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:22:12] local.INFO: TCP Data received {"connection_id":148415,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148415,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:22:12] local.INFO: Processing buffer {"connection_id":148415,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:22:12] local.INFO: IMEI packet received {"connection_id":148415,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":148415,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:22:13] local.INFO: TCP Data received {"connection_id":148415,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb055260012d7d2cc005c7c7400009004227..."} 
[2026-08-01 07:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb055260012d7d2cc005c7c7400009004227..."} 
[2026-08-01 07:22:13] local.INFO: Processing buffer {"connection_id":148415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb055260012d7d2cc005c7c7400009004227..."} 
[2026-08-01 07:22:13] local.INFO: Packet analysis {"connection_id":148415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb05"} 
[2026-08-01 07:22:13] local.INFO: Extracted packet for processing {"connection_id":148415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb05"} 
[2026-08-01 07:22:13] local.INFO: GPS Element Parsed {"raw_longitude":763178176,"raw_latitude":96978752,"longitude_deg":76.3178176,"latitude_deg":9.6978752,"altitude":9,"angle":66,"satellites":39,"speed":0,"hex_longitude":"2d7d2cc0","hex_latitude":"05c7c740","is_valid_coordinates":true} 
[2026-08-01 07:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100505088001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:22:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-01 07:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113422467015376896,"note":"Value kept but may cause issues"} 
[2026-08-01 07:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019021228589393920,"note":"Value kept but may cause issues"} 
[2026-08-01 07:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-01 07:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785549116000,"timestamp_ms":1785549116000,"timestamp_seconds":1785549116,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb055260"} 
[2026-08-01 07:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:22:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 07: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-01 07:22:13] 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-08-01 07: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-08-01 07:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":148415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":148415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":148415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:22:13] 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-08-01 07:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100505088001,"66":12428,"200":0,"85":12288,"24":0,"16":113422467015376896,"45":9019021228589393920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-01 07:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100505088001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:22:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 07:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113422467015376896,"km_value":113422467015376.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:22:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019021228589393920,"description":"Unknown IO ID 45"} 
[2026-08-01 07:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100505088001,"power":12428,"gsm_signal":0,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9019021228589393920}} 
[2026-08-01 07:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":148415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576227,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:22:13] local.INFO: GPS data processed {"connection_id":148415,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:22:13] local.INFO: Acknowledgment sent {"connection_id":148415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:22:17] local.INFO: TCP Data received {"connection_id":146088,"ip":"117.225.183.89","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 07:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146088,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 07:22:17] local.INFO: Processing buffer {"connection_id":146088,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 07:22:17] local.INFO: IMEI packet received {"connection_id":146088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":146088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:22:18] local.INFO: TCP Data received {"connection_id":148415,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb055260012d7d2cc005c7c7400009004227..."} 
[2026-08-01 07:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb055260012d7d2cc005c7c7400009004227..."} 
[2026-08-01 07:22:18] local.INFO: Processing buffer {"connection_id":148415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb055260012d7d2cc005c7c7400009004227..."} 
[2026-08-01 07:22:18] local.INFO: Packet analysis {"connection_id":148415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb05"} 
[2026-08-01 07:22:18] local.INFO: Extracted packet for processing {"connection_id":148415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb05"} 
[2026-08-01 07:22:18] local.INFO: GPS Element Parsed {"raw_longitude":763178176,"raw_latitude":96978752,"longitude_deg":76.3178176,"latitude_deg":9.6978752,"altitude":9,"angle":66,"satellites":39,"speed":0,"hex_longitude":"2d7d2cc0","hex_latitude":"05c7c740","is_valid_coordinates":true} 
[2026-08-01 07:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100573696001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:22:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-01 07:22:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113422467015376896,"note":"Value kept but may cause issues"} 
[2026-08-01 07:22:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019795284775354368,"note":"Value kept but may cause issues"} 
[2026-08-01 07:22:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-01 07:22:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785549116000,"timestamp_ms":1785549116000,"timestamp_seconds":1785549116,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb055260"} 
[2026-08-01 07:22:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:22: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-08-01 07: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-01 07:22:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07: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-08-01 07:22:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:22:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:22:18] local.INFO: Teltonika packet parsed successfully {"connection_id":148415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:22:18] local.INFO: Passing IMEI to GPS processor {"connection_id":148415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:22:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":148415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:22: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-08-01 07:22:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:22:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:22:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100573696001,"66":12428,"200":0,"85":12288,"24":0,"16":113422467015376896,"45":9019795284775354368},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-01 07:22:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:22:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:22:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100573696001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:22:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 07:22:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113422467015376896,"km_value":113422467015376.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:22:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019795284775354368,"description":"Unknown IO ID 45"} 
[2026-08-01 07:22:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100573696001,"power":12428,"gsm_signal":0,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9019795284775354368}} 
[2026-08-01 07:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":148415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576228,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:22:18] local.INFO: GPS data processed {"connection_id":148415,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:22:18] local.INFO: Acknowledgment sent {"connection_id":148415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:22:21] local.INFO: TCP Data received {"connection_id":146088,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb03a0c8012d5abf800639cec8000c01502d..."} 
[2026-08-01 07:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb03a0c8012d5abf800639cec8000c01502d..."} 
[2026-08-01 07:22:21] local.INFO: Processing buffer {"connection_id":146088,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fbb..."} 
[2026-08-01 07:22:21] local.INFO: IMEI packet received {"connection_id":146088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:22:21] local.INFO: IMEI acknowledgment sent {"connection_id":146088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:22:22] local.INFO: TCP Data received {"connection_id":146088,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb04f888012d5ad900063b4218000501602d..."} 
[2026-08-01 07:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb04f888012d5ad900063b4218000501602d..."} 
[2026-08-01 07:22:22] local.INFO: Processing buffer {"connection_id":146088,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fbb03a0c8012d5abf800639cec8000c01502d..."} 
[2026-08-01 07:22:22] local.INFO: Packet analysis {"connection_id":146088,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fbb03"} 
[2026-08-01 07:22:22] local.INFO: Extracted packet for processing {"connection_id":146088,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb03"} 
[2026-08-01 07:22:22] local.INFO: GPS Element Parsed {"raw_longitude":760921984,"raw_latitude":104451784,"longitude_deg":76.0921984,"latitude_deg":10.4451784,"altitude":12,"angle":336,"satellites":45,"speed":41,"hex_longitude":"2d5abf80","hex_latitude":"0639cec8","is_valid_coordinates":true} 
[2026-08-01 07:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:22:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100543232001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365657220475518976,"note":"Value kept but may cause issues"} 
[2026-08-01 07:22:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6543237704097640448,"note":"Value kept but may cause issues"} 
[2026-08-01 07:22:22] 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-08-01 07:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785549005000,"timestamp_ms":1785549005000,"timestamp_seconds":1785549005,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb03a0c8"} 
[2026-08-01 07:22:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:22:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 07:22:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:22:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:22:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:22:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:22:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100543232001,"66":27767,"117":206,"19":38400,"24":41,"16":365657220475518976,"45":6543237704097640448},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,19,24,16,45]} 
[2026-08-01 07:22:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:22:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:22:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100543232001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:22:22] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-01 07:22:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-08-01 07:22:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365657220475518976,"km_value":365657220475519.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:22:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":6543237704097640448,"description":"Unknown IO ID 45"} 
[2026-08-01 07:22:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100543232001,"power":27767,"unknown_117":206,"unknown_19":38400,"ignition":41,"odometer":null,"unknown_45":6543237704097640448}} 
[2026-08-01 07:22:22] local.INFO: DEBUG: GPS processor result {"connection_id":146088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:22:22] local.INFO: GPS data processed {"connection_id":146088,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:22:22] local.INFO: Acknowledgment sent {"connection_id":146088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:22:22] local.INFO: Packet analysis {"connection_id":146088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb04"} 
[2026-08-01 07:22:22] local.INFO: Extracted packet for processing {"connection_id":146088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb04"} 
[2026-08-01 07:22:22] local.INFO: GPS Element Parsed {"raw_longitude":760928512,"raw_latitude":104546840,"longitude_deg":76.0928512,"latitude_deg":10.454684,"altitude":5,"angle":352,"satellites":45,"speed":51,"hex_longitude":"2d5ad900","hex_latitude":"063b4218","is_valid_coordinates":true} 
[2026-08-01 07:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:22:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100567808001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365662048018759680,"note":"Value kept but may cause issues"} 
[2026-08-01 07:22:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6546263560123717632,"note":"Value kept but may cause issues"} 
[2026-08-01 07:22:22] 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-08-01 07:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785549093000,"timestamp_ms":1785549093000,"timestamp_seconds":1785549093,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb04f888"} 
[2026-08-01 07:22:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:22:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 07:22:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:22:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:22:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:22:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:22:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100567808001,"66":27745,"117":206,"19":38400,"24":51,"16":365662048018759680,"45":6546263560123717632},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,19,24,16,45]} 
[2026-08-01 07:22:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:22:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:22:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100567808001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:22:22] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-01 07:22:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-08-01 07:22:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365662048018759680,"km_value":365662048018759.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:22:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":6546263560123717632,"description":"Unknown IO ID 45"} 
[2026-08-01 07:22:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100567808001,"power":27745,"unknown_117":206,"unknown_19":38400,"ignition":51,"odometer":null,"unknown_45":6546263560123717632}} 
[2026-08-01 07:22:22] local.INFO: DEBUG: GPS processor result {"connection_id":146088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:22:22] local.INFO: GPS data processed {"connection_id":146088,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:22:22] local.INFO: Acknowledgment sent {"connection_id":146088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:22:23] local.INFO: TCP Data received {"connection_id":146088,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb0517c8012d5acec0063b6750000601552c..."} 
[2026-08-01 07:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb0517c8012d5acec0063b6750000601552c..."} 
[2026-08-01 07:22:23] local.INFO: Processing buffer {"connection_id":146088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb0517c8012d5acec0063b6750000601552c..."} 
[2026-08-01 07:22:23] local.INFO: Packet analysis {"connection_id":146088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb05"} 
[2026-08-01 07:22:23] local.INFO: Extracted packet for processing {"connection_id":146088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb05"} 
[2026-08-01 07:22:23] local.INFO: GPS Element Parsed {"raw_longitude":760925888,"raw_latitude":104556368,"longitude_deg":76.0925888,"latitude_deg":10.4556368,"altitude":6,"angle":341,"satellites":44,"speed":48,"hex_longitude":"2d5acec0","hex_latitude":"063b6750","is_valid_coordinates":true} 
[2026-08-01 07:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100567808001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365662524760129536,"note":"Value kept but may cause issues"} 
[2026-08-01 07:22:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6546263560123717632,"note":"Value kept but may cause issues"} 
[2026-08-01 07:22:23] 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-08-01 07:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785549101000,"timestamp_ms":1785549101000,"timestamp_seconds":1785549101,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb0517c8"} 
[2026-08-01 07:22:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:22:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 07:22:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07: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-08-01 07:22:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":146088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":146088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":146088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:22:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:22:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:22:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100567808001,"66":27713,"117":206,"19":38400,"24":48,"16":365662524760129536,"45":6546263560123717632},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,19,24,16,45]} 
[2026-08-01 07:22:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:22:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:22:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100567808001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:22:23] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-01 07:22:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-08-01 07:22:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365662524760129536,"km_value":365662524760129.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:22:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":6546263560123717632,"description":"Unknown IO ID 45"} 
[2026-08-01 07:22:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100567808001,"power":27713,"unknown_117":206,"unknown_19":38400,"ignition":48,"odometer":null,"unknown_45":6546263560123717632}} 
[2026-08-01 07:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":146088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:22:23] local.INFO: GPS data processed {"connection_id":146088,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:22:23] local.INFO: Acknowledgment sent {"connection_id":146088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:22:45] local.INFO: TCP Data received {"connection_id":147107,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:22:45] local.INFO: Processing buffer {"connection_id":147107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:22:45] local.INFO: IMEI packet received {"connection_id":147107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":147107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:22:49] local.INFO: TCP Data received {"connection_id":148415,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb05b408012d7d2a0005c7c7280009004228..."} 
[2026-08-01 07:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb05b408012d7d2a0005c7c7280009004228..."} 
[2026-08-01 07:22:49] local.INFO: Processing buffer {"connection_id":148415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb05b408012d7d2a0005c7c7280009004228..."} 
[2026-08-01 07:22:49] local.INFO: Packet analysis {"connection_id":148415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb05"} 
[2026-08-01 07:22:49] local.INFO: Extracted packet for processing {"connection_id":148415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb05"} 
[2026-08-01 07:22:49] local.INFO: GPS Element Parsed {"raw_longitude":763177472,"raw_latitude":96978728,"longitude_deg":76.3177472,"latitude_deg":9.6978728,"altitude":9,"angle":66,"satellites":40,"speed":0,"hex_longitude":"2d7d2a00","hex_latitude":"05c7c728","is_valid_coordinates":true} 
[2026-08-01 07:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100573696001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:22:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-01 07:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113422467015376896,"note":"Value kept but may cause issues"} 
[2026-08-01 07:22:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019795284775354368,"note":"Value kept but may cause issues"} 
[2026-08-01 07:22:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-01 07:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785549141000,"timestamp_ms":1785549141000,"timestamp_seconds":1785549141,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb05b408"} 
[2026-08-01 07:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:22: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-08-01 07:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-01 07:22: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-08-01 07:22:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:22: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-08-01 07:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100573696001,"66":11569,"200":0,"85":12288,"24":0,"16":113422467015376896,"45":9019795284775354368},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-01 07:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100573696001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:22:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 07:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113422467015376896,"km_value":113422467015376.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:22:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019795284775354368,"description":"Unknown IO ID 45"} 
[2026-08-01 07:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100573696001,"power":11569,"gsm_signal":0,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9019795284775354368}} 
[2026-08-01 07:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":148415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576232,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:22:49] local.INFO: GPS data processed {"connection_id":148415,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:22:49] local.INFO: Acknowledgment sent {"connection_id":148415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:22:50] local.INFO: TCP Data received {"connection_id":147107,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:22:50] local.INFO: Processing buffer {"connection_id":147107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:22:50] local.INFO: IMEI packet received {"connection_id":147107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":147107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:22:51] local.INFO: TCP Data received {"connection_id":147107,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb0517c8012d5acec0063b6750000601552c..."} 
[2026-08-01 07:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb0517c8012d5acec0063b6750000601552c..."} 
[2026-08-01 07:22:51] local.INFO: Processing buffer {"connection_id":147107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb0517c8012d5acec0063b6750000601552c..."} 
[2026-08-01 07:22:51] local.INFO: Packet analysis {"connection_id":147107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb05"} 
[2026-08-01 07:22:51] local.INFO: Extracted packet for processing {"connection_id":147107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb05"} 
[2026-08-01 07:22:51] local.INFO: GPS Element Parsed {"raw_longitude":760925888,"raw_latitude":104556368,"longitude_deg":76.0925888,"latitude_deg":10.4556368,"altitude":6,"angle":341,"satellites":44,"speed":48,"hex_longitude":"2d5acec0","hex_latitude":"063b6750","is_valid_coordinates":true} 
[2026-08-01 07:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100569856001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365662524760129536,"note":"Value kept but may cause issues"} 
[2026-08-01 07:22:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6543378441614872576,"note":"Value kept but may cause issues"} 
[2026-08-01 07:22:51] 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-08-01 07:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785549101000,"timestamp_ms":1785549101000,"timestamp_seconds":1785549101,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb0517c8"} 
[2026-08-01 07:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:22: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-08-01 07:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 07:22:51] 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-08-01 07:22:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":147107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":147107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":147107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:22:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100569856001,"66":27713,"117":206,"19":38400,"24":48,"16":365662524760129536,"45":6543378441614872576},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,19,24,16,45]} 
[2026-08-01 07:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100569856001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:22:51] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-01 07:22:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-08-01 07:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365662524760129536,"km_value":365662524760129.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:22:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":6543378441614872576,"description":"Unknown IO ID 45"} 
[2026-08-01 07:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100569856001,"power":27713,"unknown_117":206,"unknown_19":38400,"ignition":48,"odometer":null,"unknown_45":6543378441614872576}} 
[2026-08-01 07:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":147107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:22:51] local.INFO: GPS data processed {"connection_id":147107,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:22:51] local.INFO: Acknowledgment sent {"connection_id":147107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:23:07] local.INFO: TCP Data received {"connection_id":148416,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148416,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:23:07] local.INFO: Processing buffer {"connection_id":148416,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:23:07] local.INFO: IMEI packet received {"connection_id":148416,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":148416,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:23:08] local.INFO: TCP Data received {"connection_id":148416,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148416,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:23:08] local.INFO: Processing buffer {"connection_id":148416,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:23:08] local.INFO: IMEI packet received {"connection_id":148416,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":148416,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:23:08] local.INFO: TCP Data received {"connection_id":148416,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148416,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:23:08] local.INFO: Processing buffer {"connection_id":148416,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:23:08] local.INFO: IMEI packet received {"connection_id":148416,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":148416,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:23:10] local.INFO: TCP Data received {"connection_id":148416,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148416,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:23:10] local.INFO: Processing buffer {"connection_id":148416,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:23:10] local.INFO: IMEI packet received {"connection_id":148416,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":148416,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:23:22] local.INFO: TCP Data received {"connection_id":147107,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb053708012d5ac240063b8bd0000601532c..."} 
[2026-08-01 07:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb053708012d5ac240063b8bd0000601532c..."} 
[2026-08-01 07:23:22] local.INFO: Processing buffer {"connection_id":147107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb053708012d5ac240063b8bd0000601532c..."} 
[2026-08-01 07:23:22] local.INFO: Packet analysis {"connection_id":147107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb05"} 
[2026-08-01 07:23:22] local.INFO: Extracted packet for processing {"connection_id":147107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb05"} 
[2026-08-01 07:23:22] local.INFO: GPS Element Parsed {"raw_longitude":760922688,"raw_latitude":104565712,"longitude_deg":76.0922688,"latitude_deg":10.4565712,"altitude":6,"angle":339,"satellites":44,"speed":49,"hex_longitude":"2d5ac240","hex_latitude":"063b8bd0","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100569856001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365663005796466688,"note":"Value kept but may cause issues"} 
[2026-08-01 07:23:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6543378441614872576,"note":"Value kept but may cause issues"} 
[2026-08-01 07:23:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785549109000,"timestamp_ms":1785549109000,"timestamp_seconds":1785549109,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb053708"} 
[2026-08-01 07:23:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:23:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 07:23:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07: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-08-01 07:23:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:23:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100569856001,"66":27658,"85":206,"19":38400,"24":49,"16":365663005796466688,"45":6543378441614872576},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,19,24,16,45]} 
[2026-08-01 07:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100569856001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:23:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-08-01 07:23:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-08-01 07:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365663005796466688,"km_value":365663005796466.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:23:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":6543378441614872576,"description":"Unknown IO ID 45"} 
[2026-08-01 07:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100569856001,"power":27658,"unknown_85":206,"unknown_19":38400,"ignition":49,"odometer":null,"unknown_45":6543378441614872576}} 
[2026-08-01 07:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":147107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:23:22] local.INFO: GPS data processed {"connection_id":147107,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:23:22] local.INFO: Acknowledgment sent {"connection_id":147107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:23:45] local.INFO: TCP Data received {"connection_id":148417,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:23:45] local.INFO: Processing buffer {"connection_id":148417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:23:45] local.INFO: IMEI packet received {"connection_id":148417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":148417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:23:55] local.INFO: TCP Data received {"connection_id":148417,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:23:55] local.INFO: Processing buffer {"connection_id":148417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:23:55] local.INFO: IMEI packet received {"connection_id":148417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":148417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:23:57] local.INFO: TCP Data received {"connection_id":148417,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb055648012d5ab540063bafa0000701552c..."} 
[2026-08-01 07:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb055648012d5ab540063bafa0000701552c..."} 
[2026-08-01 07:23:57] local.INFO: Processing buffer {"connection_id":148417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb055648012d5ab540063bafa0000701552c..."} 
[2026-08-01 07:23:57] local.INFO: Packet analysis {"connection_id":148417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb05"} 
[2026-08-01 07:23:57] local.INFO: Extracted packet for processing {"connection_id":148417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb05"} 
[2026-08-01 07:23:57] local.INFO: GPS Element Parsed {"raw_longitude":760919360,"raw_latitude":104574880,"longitude_deg":76.091936,"latitude_deg":10.457488,"altitude":7,"angle":341,"satellites":44,"speed":46,"hex_longitude":"2d5ab540","hex_latitude":"063bafa0","is_valid_coordinates":true} 
[2026-08-01 07:23:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:23:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100571904001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:23:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365663473947901952,"note":"Value kept but may cause issues"} 
[2026-08-01 07:23:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6539860004408381440,"note":"Value kept but may cause issues"} 
[2026-08-01 07:23:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:23:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785549117000,"timestamp_ms":1785549117000,"timestamp_seconds":1785549117,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb055648"} 
[2026-08-01 07:23:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:23: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-08-01 07:23:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 07:23:57] 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-08-01 07:23:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:23:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:23:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:23:57] local.INFO: Teltonika packet parsed successfully {"connection_id":148417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:23:57] local.INFO: Passing IMEI to GPS processor {"connection_id":148417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:23:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":148417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:23:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:23:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:23:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:23:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100571904001,"66":27658,"85":206,"19":38400,"24":46,"16":365663473947901952,"45":6539860004408381440},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,19,24,16,45]} 
[2026-08-01 07:23:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:23:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:23:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100571904001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:23:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-08-01 07:23:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-08-01 07:23:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365663473947901952,"km_value":365663473947901.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:23:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":6539860004408381440,"description":"Unknown IO ID 45"} 
[2026-08-01 07:23:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100571904001,"power":27658,"unknown_85":206,"unknown_19":38400,"ignition":46,"odometer":null,"unknown_45":6539860004408381440}} 
[2026-08-01 07:23:57] local.INFO: DEBUG: GPS processor result {"connection_id":148417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:23:57] local.INFO: GPS data processed {"connection_id":148417,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:23:57] local.INFO: Acknowledgment sent {"connection_id":148417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:25:05] local.INFO: TCP Data received {"connection_id":148417,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb06b5d8012d5a3480063d3128000501562b..."} 
[2026-08-01 07:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb06b5d8012d5a3480063d3128000501562b..."} 
[2026-08-01 07:25:05] local.INFO: Processing buffer {"connection_id":148417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb06b5d8012d5a3480063d3128000501562b..."} 
[2026-08-01 07:25:05] local.INFO: Packet analysis {"connection_id":148417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb06"} 
[2026-08-01 07:25:05] local.INFO: Extracted packet for processing {"connection_id":148417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb06"} 
[2026-08-01 07:25:05] local.INFO: GPS Element Parsed {"raw_longitude":760886400,"raw_latitude":104673576,"longitude_deg":76.08864,"latitude_deg":10.4673576,"altitude":5,"angle":342,"satellites":43,"speed":38,"hex_longitude":"2d5a3480","hex_latitude":"063d3128","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100594432001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365668516239507456,"note":"Value kept but may cause issues"} 
[2026-08-01 07:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6503479363693985792,"note":"Value kept but may cause issues"} 
[2026-08-01 07:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785549207000,"timestamp_ms":1785549207000,"timestamp_seconds":1785549207,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb06b5d8"} 
[2026-08-01 07:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 07:25: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-08-01 07: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-08-01 07:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100594432001,"66":27767,"85":206,"19":38400,"24":38,"16":365668516239507456,"45":6503479363693985792},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,19,24,16,45]} 
[2026-08-01 07:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100594432001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:25:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-08-01 07:25:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-08-01 07:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365668516239507456,"km_value":365668516239507.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6503479363693985792,"description":"Unknown IO ID 45"} 
[2026-08-01 07:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100594432001,"power":27767,"unknown_85":206,"unknown_19":38400,"ignition":38,"odometer":null,"unknown_45":6503479363693985792}} 
[2026-08-01 07:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":148417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:25:05] local.INFO: GPS data processed {"connection_id":148417,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:25:05] local.INFO: Acknowledgment sent {"connection_id":148417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:25:36] local.INFO: TCP Data received {"connection_id":147109,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:25:36] local.INFO: Processing buffer {"connection_id":147109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:25:36] local.INFO: IMEI packet received {"connection_id":147109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":147109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:25:40] local.INFO: TCP Data received {"connection_id":147109,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:25:40] local.INFO: Processing buffer {"connection_id":147109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:25:40] local.INFO: IMEI packet received {"connection_id":147109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":147109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:25:48] local.INFO: TCP Data received {"connection_id":147109,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb06dce8012d5a2780063d5538000601532a..."} 
[2026-08-01 07:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb06dce8012d5a2780063d5538000601532a..."} 
[2026-08-01 07:25:48] local.INFO: Processing buffer {"connection_id":147109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb06dce8012d5a2780063d5538000601532a..."} 
[2026-08-01 07:25:48] local.INFO: Packet analysis {"connection_id":147109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb06"} 
[2026-08-01 07:25:48] local.INFO: Extracted packet for processing {"connection_id":147109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb06"} 
[2026-08-01 07:25:48] local.INFO: GPS Element Parsed {"raw_longitude":760883072,"raw_latitude":104682808,"longitude_deg":76.0883072,"latitude_deg":10.4682808,"altitude":6,"angle":339,"satellites":42,"speed":37,"hex_longitude":"2d5a2780","hex_latitude":"063d5538","is_valid_coordinates":true} 
[2026-08-01 07:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:25:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100596992001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:25:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365668988685910016,"note":"Value kept but may cause issues"} 
[2026-08-01 07:25:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6499960926487259136,"note":"Value kept but may cause issues"} 
[2026-08-01 07:25:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:25:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785549217000,"timestamp_ms":1785549217000,"timestamp_seconds":1785549217,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb06dce8"} 
[2026-08-01 07:25:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:25: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-08-01 07:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 07:25:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:25:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:25:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:25:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:25:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:25:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:25:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:25:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:25:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:25:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:25:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100596992001,"66":27745,"85":206,"19":38400,"24":37,"16":365668988685910016,"45":6499960926487259136},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,19,24,16,45]} 
[2026-08-01 07:25:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:25:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:25:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100596992001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:25:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-08-01 07:25:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-08-01 07:25:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365668988685910016,"km_value":365668988685910.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:25:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":6499960926487259136,"description":"Unknown IO ID 45"} 
[2026-08-01 07:25:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100596992001,"power":27745,"unknown_85":206,"unknown_19":38400,"ignition":37,"odometer":null,"unknown_45":6499960926487259136}} 
[2026-08-01 07:25:48] local.INFO: DEBUG: GPS processor result {"connection_id":147109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:25:48] local.INFO: GPS data processed {"connection_id":147109,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:25:48] local.INFO: Acknowledgment sent {"connection_id":147109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:26:30] local.INFO: TCP Data received {"connection_id":147109,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb088e80012d5967c0063eb1e8000401482a..."} 
[2026-08-01 07:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb088e80012d5967c0063eb1e8000401482a..."} 
[2026-08-01 07:26:30] local.INFO: Processing buffer {"connection_id":147109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb088e80012d5967c0063eb1e8000401482a..."} 
[2026-08-01 07:26:30] local.INFO: Packet analysis {"connection_id":147109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb08"} 
[2026-08-01 07:26:30] local.INFO: Extracted packet for processing {"connection_id":147109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb08"} 
[2026-08-01 07:26:30] local.INFO: GPS Element Parsed {"raw_longitude":760833984,"raw_latitude":104772072,"longitude_deg":76.0833984,"latitude_deg":10.4772072,"altitude":4,"angle":328,"satellites":42,"speed":47,"hex_longitude":"2d5967c0","hex_latitude":"063eb1e8","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100625920001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365673923603333120,"note":"Value kept but may cause issues"} 
[2026-08-01 07:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6447817687074701312,"note":"Value kept but may cause issues"} 
[2026-08-01 07:26:30] 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-08-01 07:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785549328000,"timestamp_ms":1785549328000,"timestamp_seconds":1785549328,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb088e80"} 
[2026-08-01 07:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:26: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-08-01 07: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":65,"data_length":795,"current_offset":136} 
[2026-08-01 07:26: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-08-01 07: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-08-01 07:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100625920001,"66":27691,"135":206,"19":38400,"24":47,"16":365673923603333120,"45":6447817687074701312},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,19,24,16,45]} 
[2026-08-01 07:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100625920001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:26:30] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-01 07:26:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-08-01 07:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365673923603333120,"km_value":365673923603333.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":6447817687074701312,"description":"Unknown IO ID 45"} 
[2026-08-01 07:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100625920001,"power":27691,"unknown_135":206,"unknown_19":38400,"ignition":47,"odometer":null,"unknown_45":6447817687074701312}} 
[2026-08-01 07:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":147109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:26:30] local.INFO: GPS data processed {"connection_id":147109,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:26:30] local.INFO: Acknowledgment sent {"connection_id":147109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:26:45] local.INFO: TCP Data received {"connection_id":148418,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:26:45] local.INFO: Processing buffer {"connection_id":148418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:26:45] local.INFO: IMEI packet received {"connection_id":148418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":148418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:26:50] local.INFO: TCP Data received {"connection_id":148418,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:26:50] local.INFO: Processing buffer {"connection_id":148418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:26:50] local.INFO: IMEI packet received {"connection_id":148418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":148418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:26:51] local.INFO: TCP Data received {"connection_id":148418,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb08adc0012d595440063ed2080004014a2b..."} 
[2026-08-01 07:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb08adc0012d595440063ed2080004014a2b..."} 
[2026-08-01 07:26:51] local.INFO: Processing buffer {"connection_id":148418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb08adc0012d595440063ed2080004014a2b..."} 
[2026-08-01 07:26:51] local.INFO: Packet analysis {"connection_id":148418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb08"} 
[2026-08-01 07:26:51] local.INFO: Extracted packet for processing {"connection_id":148418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb08"} 
[2026-08-01 07:26:51] local.INFO: GPS Element Parsed {"raw_longitude":760828992,"raw_latitude":104780296,"longitude_deg":76.0828992,"latitude_deg":10.4780296,"altitude":4,"angle":330,"satellites":43,"speed":47,"hex_longitude":"2d595440","hex_latitude":"063ed208","is_valid_coordinates":true} 
[2026-08-01 07:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100627968001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365674387459801088,"note":"Value kept but may cause issues"} 
[2026-08-01 07:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6442328925030967296,"note":"Value kept but may cause issues"} 
[2026-08-01 07:26:51] 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-08-01 07:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785549336000,"timestamp_ms":1785549336000,"timestamp_seconds":1785549336,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb08adc0"} 
[2026-08-01 07:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-01 07:26:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:26:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100627968001,"66":27800,"135":206,"19":38400,"24":47,"16":365674387459801088,"45":6442328925030967296},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,19,24,16,45]} 
[2026-08-01 07:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100627968001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:26:51] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-01 07:26:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-08-01 07:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365674387459801088,"km_value":365674387459801.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":6442328925030967296,"description":"Unknown IO ID 45"} 
[2026-08-01 07:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100627968001,"power":27800,"unknown_135":206,"unknown_19":38400,"ignition":47,"odometer":null,"unknown_45":6442328925030967296}} 
[2026-08-01 07:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":148418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:26:51] local.INFO: GPS data processed {"connection_id":148418,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:26:51] local.INFO: Acknowledgment sent {"connection_id":148418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:27:24] local.INFO: TCP Data received {"connection_id":148418,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb08cd00012d5941c0063ef278000501492b..."} 
[2026-08-01 07:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb08cd00012d5941c0063ef278000501492b..."} 
[2026-08-01 07:27:24] local.INFO: Processing buffer {"connection_id":148418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb08cd00012d5941c0063ef278000501492b..."} 
[2026-08-01 07:27:24] local.INFO: Packet analysis {"connection_id":148418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb08"} 
[2026-08-01 07:27:24] local.INFO: Extracted packet for processing {"connection_id":148418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb08"} 
[2026-08-01 07:27:24] local.INFO: GPS Element Parsed {"raw_longitude":760824256,"raw_latitude":104788600,"longitude_deg":76.0824256,"latitude_deg":10.47886,"altitude":5,"angle":329,"satellites":43,"speed":47,"hex_longitude":"2d5941c0","hex_latitude":"063ef278","is_valid_coordinates":true} 
[2026-08-01 07:27:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100630016001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365674847021301760,"note":"Value kept but may cause issues"} 
[2026-08-01 07:27:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6436840162987214848,"note":"Value kept but may cause issues"} 
[2026-08-01 07:27:24] 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-08-01 07:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785549344000,"timestamp_ms":1785549344000,"timestamp_seconds":1785549344,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb08cd00"} 
[2026-08-01 07:27:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:27:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:27:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 07:27:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:27:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:27:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":148418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":148418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":148418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:27:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100630016001,"66":27767,"135":206,"19":38400,"24":47,"16":365674847021301760,"45":6436840162987214848},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,19,24,16,45]} 
[2026-08-01 07:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100630016001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:27:24] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-01 07:27:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-08-01 07:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365674847021301760,"km_value":365674847021301.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:27:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":6436840162987214848,"description":"Unknown IO ID 45"} 
[2026-08-01 07:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100630016001,"power":27767,"unknown_135":206,"unknown_19":38400,"ignition":47,"odometer":null,"unknown_45":6436840162987214848}} 
[2026-08-01 07:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":148418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:27:24] local.INFO: GPS data processed {"connection_id":148418,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:27:24] local.INFO: Acknowledgment sent {"connection_id":148418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:27:45] local.INFO: TCP Data received {"connection_id":147110,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:27:45] local.INFO: Processing buffer {"connection_id":147110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:27:45] local.INFO: IMEI packet received {"connection_id":147110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":147110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:27:49] local.INFO: TCP Data received {"connection_id":147110,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:27:49] local.INFO: Processing buffer {"connection_id":147110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:27:49] local.INFO: IMEI packet received {"connection_id":147110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":147110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:27:50] local.INFO: TCP Data received {"connection_id":147110,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:27:50] local.INFO: Processing buffer {"connection_id":147110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:27:50] local.INFO: IMEI packet received {"connection_id":147110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":147110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:27:52] local.INFO: TCP Data received {"connection_id":147110,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb08ec40012d592e80063f1380000401492c..."} 
[2026-08-01 07:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb08ec40012d592e80063f1380000401492c..."} 
[2026-08-01 07:27:52] local.INFO: Processing buffer {"connection_id":147110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb08ec40012d592e80063f1380000401492c..."} 
[2026-08-01 07:27:52] local.INFO: Packet analysis {"connection_id":147110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb08"} 
[2026-08-01 07:27:52] local.INFO: Extracted packet for processing {"connection_id":147110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb08"} 
[2026-08-01 07:27:52] local.INFO: GPS Element Parsed {"raw_longitude":760819328,"raw_latitude":104797056,"longitude_deg":76.0819328,"latitude_deg":10.4797056,"altitude":4,"angle":329,"satellites":44,"speed":49,"hex_longitude":"2d592e80","hex_latitude":"063f1380","is_valid_coordinates":true} 
[2026-08-01 07:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100632064001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365675319467704320,"note":"Value kept but may cause issues"} 
[2026-08-01 07:27:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6431632875920193536,"note":"Value kept but may cause issues"} 
[2026-08-01 07:27:52] 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-08-01 07:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785549352000,"timestamp_ms":1785549352000,"timestamp_seconds":1785549352,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb08ec40"} 
[2026-08-01 07:27:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:27:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 07:27:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:27:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:27:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":147110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":147110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":147110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:27:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100632064001,"66":27745,"135":206,"19":38400,"24":49,"16":365675319467704320,"45":6431632875920193536},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,19,24,16,45]} 
[2026-08-01 07:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100632064001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:27:52] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-01 07:27:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-08-01 07:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365675319467704320,"km_value":365675319467704.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:27:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":6431632875920193536,"description":"Unknown IO ID 45"} 
[2026-08-01 07:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100632064001,"power":27745,"unknown_135":206,"unknown_19":38400,"ignition":49,"odometer":null,"unknown_45":6431632875920193536}} 
[2026-08-01 07:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":147110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:27:52] local.INFO: GPS data processed {"connection_id":147110,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:27:52] local.INFO: Acknowledgment sent {"connection_id":147110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:27:56] local.INFO: TCP Data received {"connection_id":147110,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb090798012d591c40063f3190000301492d..."} 
[2026-08-01 07:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb090798012d591c40063f3190000301492d..."} 
[2026-08-01 07:27:56] local.INFO: Processing buffer {"connection_id":147110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb090798012d591c40063f3190000301492d..."} 
[2026-08-01 07:27:56] local.INFO: Packet analysis {"connection_id":147110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb09"} 
[2026-08-01 07:27:56] local.INFO: Extracted packet for processing {"connection_id":147110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb09"} 
[2026-08-01 07:27:56] local.INFO: GPS Element Parsed {"raw_longitude":760814656,"raw_latitude":104804752,"longitude_deg":76.0814656,"latitude_deg":10.4804752,"altitude":3,"angle":329,"satellites":45,"speed":51,"hex_longitude":"2d591c40","hex_latitude":"063f3190","is_valid_coordinates":true} 
[2026-08-01 07:27: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-08-01 07:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100634112001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365675753259401216,"note":"Value kept but may cause issues"} 
[2026-08-01 07:27:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6426214482620678144,"note":"Value kept but may cause issues"} 
[2026-08-01 07:27:56] 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-08-01 07:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785549359000,"timestamp_ms":1785549359000,"timestamp_seconds":1785549359,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb090798"} 
[2026-08-01 07:27:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:27:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 07:27:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:27:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:27:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":147110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":147110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":147110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:27:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100634112001,"66":27767,"135":206,"19":38400,"24":51,"16":365675753259401216,"45":6426214482620678144},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,19,24,16,45]} 
[2026-08-01 07:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100634112001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:27:56] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-01 07:27:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-08-01 07:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365675753259401216,"km_value":365675753259401.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:27:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":6426214482620678144,"description":"Unknown IO ID 45"} 
[2026-08-01 07:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100634112001,"power":27767,"unknown_135":206,"unknown_19":38400,"ignition":51,"odometer":null,"unknown_45":6426214482620678144}} 
[2026-08-01 07:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":147110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:27:56] local.INFO: GPS data processed {"connection_id":147110,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:27:56] local.INFO: Acknowledgment sent {"connection_id":147110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:28:12] local.INFO: TCP Data received {"connection_id":148419,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148419,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:28:12] local.INFO: Processing buffer {"connection_id":148419,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:28:12] local.INFO: IMEI packet received {"connection_id":148419,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":148419,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:28:13] local.INFO: TCP Data received {"connection_id":148419,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb0a28a8012d7d1a4005ca5978000600052d..."} 
[2026-08-01 07:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb0a28a8012d7d1a4005ca5978000600052d..."} 
[2026-08-01 07:28:13] local.INFO: Processing buffer {"connection_id":148419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb0a28a8012d7d1a4005ca5978000600052d..."} 
[2026-08-01 07:28:13] local.INFO: Packet analysis {"connection_id":148419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb0a"} 
[2026-08-01 07:28:13] local.INFO: Extracted packet for processing {"connection_id":148419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb0a"} 
[2026-08-01 07:28:13] local.INFO: GPS Element Parsed {"raw_longitude":763173440,"raw_latitude":97147256,"longitude_deg":76.317344,"latitude_deg":9.7147256,"altitude":6,"angle":5,"satellites":45,"speed":58,"hex_longitude":"2d7d1a40","hex_latitude":"05ca5978","is_valid_coordinates":true} 
[2026-08-01 07:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100653056001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113430803546898432,"note":"Value kept but may cause issues"} 
[2026-08-01 07:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013391729095694336,"note":"Value kept but may cause issues"} 
[2026-08-01 07:28:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785549433000,"timestamp_ms":1785549433000,"timestamp_seconds":1785549433,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb0a28a8"} 
[2026-08-01 07:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:28:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-01 07:28:13] 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-08-01 07:28:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":148419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":148419,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":148419,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:28:13] 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-08-01 07:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100653056001,"66":13602,"203":206,"85":12288,"24":58,"16":113430803546898432,"45":9013391729095694336},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,85,24,16,45]} 
[2026-08-01 07:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100653056001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:28:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 07:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113430803546898432,"km_value":113430803546898.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013391729095694336,"description":"Unknown IO ID 45"} 
[2026-08-01 07:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100653056001,"power":13602,"mnc":206,"unknown_85":12288,"ignition":58,"odometer":null,"unknown_45":9013391729095694336}} 
[2026-08-01 07:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":148419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576243,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:28:13] local.INFO: GPS data processed {"connection_id":148419,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:28:13] local.INFO: Acknowledgment sent {"connection_id":148419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:28:42] local.INFO: TCP Data received {"connection_id":147110,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb0a5f58012d58334006407710000601282e..."} 
[2026-08-01 07:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb0a5f58012d58334006407710000601282e..."} 
[2026-08-01 07:28:42] local.INFO: Processing buffer {"connection_id":147110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb0a5f58012d58334006407710000601282e..."} 
[2026-08-01 07:28:42] local.INFO: Packet analysis {"connection_id":147110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb0a"} 
[2026-08-01 07:28:42] local.INFO: Extracted packet for processing {"connection_id":147110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb0a"} 
[2026-08-01 07:28:42] local.INFO: GPS Element Parsed {"raw_longitude":760755008,"raw_latitude":104888080,"longitude_deg":76.0755008,"latitude_deg":10.488808,"altitude":6,"angle":296,"satellites":46,"speed":48,"hex_longitude":"2d583340","hex_latitude":"06407710","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100658432001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365680756896301056,"note":"Value kept but may cause issues"} 
[2026-08-01 07:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6355493894745427968,"note":"Value kept but may cause issues"} 
[2026-08-01 07:28:42] 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-08-01 07:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785549447000,"timestamp_ms":1785549447000,"timestamp_seconds":1785549447,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb0a5f58"} 
[2026-08-01 07:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:28: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-08-01 07: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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-01 07:28:42] 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-08-01 07: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-08-01 07:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":147110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":147110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":147110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100658432001,"66":27104,"135":206,"19":38400,"24":48,"16":365680756896301056,"45":6355493894745427968},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,19,24,16,45]} 
[2026-08-01 07:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100658432001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:28:42] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-01 07:28:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-08-01 07:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365680756896301056,"km_value":365680756896301.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6355493894745427968,"description":"Unknown IO ID 45"} 
[2026-08-01 07:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100658432001,"power":27104,"unknown_135":206,"unknown_19":38400,"ignition":48,"odometer":null,"unknown_45":6355493894745427968}} 
[2026-08-01 07:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":147110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:28:42] local.INFO: GPS data processed {"connection_id":147110,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:28:42] local.INFO: Acknowledgment sent {"connection_id":147110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:28:44] local.INFO: TCP Data received {"connection_id":148419,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb0a4400012d7d1ec005ca8130000500052b..."} 
[2026-08-01 07:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb0a4400012d7d1ec005ca8130000500052b..."} 
[2026-08-01 07:28:44] local.INFO: Processing buffer {"connection_id":148419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb0a4400012d7d1ec005ca8130000500052b..."} 
[2026-08-01 07:28:44] local.INFO: Packet analysis {"connection_id":148419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb0a"} 
[2026-08-01 07:28:44] local.INFO: Extracted packet for processing {"connection_id":148419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb0a"} 
[2026-08-01 07:28:44] local.INFO: GPS Element Parsed {"raw_longitude":763174592,"raw_latitude":97157424,"longitude_deg":76.3174592,"latitude_deg":9.7157424,"altitude":5,"angle":5,"satellites":43,"speed":57,"hex_longitude":"2d7d1ec0","hex_latitude":"05ca8130","is_valid_coordinates":true} 
[2026-08-01 07:28:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100654848001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113431297468137472,"note":"Value kept but may cause issues"} 
[2026-08-01 07:28:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014587997749344256,"note":"Value kept but may cause issues"} 
[2026-08-01 07:28:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785549440000,"timestamp_ms":1785549440000,"timestamp_seconds":1785549440,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb0a4400"} 
[2026-08-01 07:28:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:28:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:28:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-01 07:28:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:28:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:28:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":148419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":148419,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":148419,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:28:44] 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-08-01 07:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100654848001,"66":13580,"203":206,"85":12288,"24":57,"16":113431297468137472,"45":9014587997749344256},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,85,24,16,45]} 
[2026-08-01 07:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100654848001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:28:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 07:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113431297468137472,"km_value":113431297468137.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:28:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014587997749344256,"description":"Unknown IO ID 45"} 
[2026-08-01 07:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100654848001,"power":13580,"mnc":206,"unknown_85":12288,"ignition":57,"odometer":null,"unknown_45":9014587997749344256}} 
[2026-08-01 07:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":148419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576245,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:28:44] local.INFO: GPS data processed {"connection_id":148419,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:28:44] local.INFO: Acknowledgment sent {"connection_id":148419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:28:56] local.INFO: TCP Data received {"connection_id":146090,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:28:56] local.INFO: Processing buffer {"connection_id":146090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:28:56] local.INFO: IMEI packet received {"connection_id":146090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":146090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:28:57] local.INFO: TCP Data received {"connection_id":146090,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:28:57] local.INFO: Processing buffer {"connection_id":146090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:28:57] local.INFO: IMEI packet received {"connection_id":146090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":146090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:28:59] local.INFO: TCP Data received {"connection_id":146090,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb0a7e98012d581100064086d0000601252d..."} 
[2026-08-01 07:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb0a7e98012d581100064086d0000601252d..."} 
[2026-08-01 07:28:59] local.INFO: Processing buffer {"connection_id":146090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb0a7e98012d581100064086d0000601252d..."} 
[2026-08-01 07:28:59] local.INFO: Packet analysis {"connection_id":146090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb0a"} 
[2026-08-01 07:28:59] local.INFO: Extracted packet for processing {"connection_id":146090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb0a"} 
[2026-08-01 07:28:59] local.INFO: GPS Element Parsed {"raw_longitude":760746240,"raw_latitude":104892112,"longitude_deg":76.074624,"latitude_deg":10.4892112,"altitude":6,"angle":293,"satellites":45,"speed":47,"hex_longitude":"2d581100","hex_latitude":"064086d0","is_valid_coordinates":true} 
[2026-08-01 07:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100658432001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365681216457801728,"note":"Value kept but may cause issues"} 
[2026-08-01 07:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6355493894745427968,"note":"Value kept but may cause issues"} 
[2026-08-01 07:28:59] 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-08-01 07:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785549455000,"timestamp_ms":1785549455000,"timestamp_seconds":1785549455,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb0a7e98"} 
[2026-08-01 07:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:28: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-08-01 07:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-01 07:28:59] 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-08-01 07:28:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":146090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":146090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":146090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:28:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100658432001,"66":27767,"135":206,"19":38400,"24":47,"16":365681216457801728,"45":6355493894745427968},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,19,24,16,45]} 
[2026-08-01 07:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100658432001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:28:59] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-01 07:28:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-08-01 07:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365681216457801728,"km_value":365681216457801.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6355493894745427968,"description":"Unknown IO ID 45"} 
[2026-08-01 07:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100658432001,"power":27767,"unknown_135":206,"unknown_19":38400,"ignition":47,"odometer":null,"unknown_45":6355493894745427968}} 
[2026-08-01 07:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":146090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:28:59] local.INFO: GPS data processed {"connection_id":146090,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:28:59] local.INFO: Acknowledgment sent {"connection_id":146090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:29:01] local.INFO: TCP Data received {"connection_id":146090,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb0a9dd8012d57eec0064095a0000601262d..."} 
[2026-08-01 07:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb0a9dd8012d57eec0064095a0000601262d..."} 
[2026-08-01 07:29:01] local.INFO: Processing buffer {"connection_id":146090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb0a9dd8012d57eec0064095a0000601262d..."} 
[2026-08-01 07:29:01] local.INFO: Packet analysis {"connection_id":146090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb0a"} 
[2026-08-01 07:29:01] local.INFO: Extracted packet for processing {"connection_id":146090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb0a"} 
[2026-08-01 07:29:01] local.INFO: GPS Element Parsed {"raw_longitude":760737472,"raw_latitude":104895904,"longitude_deg":76.0737472,"latitude_deg":10.4895904,"altitude":6,"angle":294,"satellites":45,"speed":47,"hex_longitude":"2d57eec0","hex_latitude":"064095a0","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100660480001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365681676019302400,"note":"Value kept but may cause issues"} 
[2026-08-01 07:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6345853376794120192,"note":"Value kept but may cause issues"} 
[2026-08-01 07:29:01] 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-08-01 07:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785549463000,"timestamp_ms":1785549463000,"timestamp_seconds":1785549463,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb0a9dd8"} 
[2026-08-01 07:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:29: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-08-01 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 07:29: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-08-01 07: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-08-01 07:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":146090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":146090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":146090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:29:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100660480001,"66":27821,"135":206,"19":38400,"24":47,"16":365681676019302400,"45":6345853376794120192},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,19,24,16,45]} 
[2026-08-01 07:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100660480001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:29:01] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-01 07:29:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-08-01 07:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365681676019302400,"km_value":365681676019302.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6345853376794120192,"description":"Unknown IO ID 45"} 
[2026-08-01 07:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100660480001,"power":27821,"unknown_135":206,"unknown_19":38400,"ignition":47,"odometer":null,"unknown_45":6345853376794120192}} 
[2026-08-01 07:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":146090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:29:01] local.INFO: GPS data processed {"connection_id":146090,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:29:01] local.INFO: Acknowledgment sent {"connection_id":146090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:29:12] local.INFO: TCP Data received {"connection_id":148420,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148420,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:29:12] local.INFO: Processing buffer {"connection_id":148420,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:29:12] local.INFO: IMEI packet received {"connection_id":148420,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:29:12] local.INFO: IMEI acknowledgment sent {"connection_id":148420,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:29:13] local.INFO: TCP Data received {"connection_id":148420,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148420,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:29:13] local.INFO: Processing buffer {"connection_id":148420,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:29:13] local.INFO: IMEI packet received {"connection_id":148420,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":148420,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:29:17] local.INFO: TCP Data received {"connection_id":148420,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148420,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:29:17] local.INFO: Processing buffer {"connection_id":148420,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:29:17] local.INFO: IMEI packet received {"connection_id":148420,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":148420,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:29:18] local.INFO: TCP Data received {"connection_id":148420,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb0b93f0012d7d470005cc2088000400082b..."} 
[2026-08-01 07:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb0b93f0012d7d470005cc2088000400082b..."} 
[2026-08-01 07:29:18] local.INFO: Processing buffer {"connection_id":148420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb0b93f0012d7d470005cc2088000400082b..."} 
[2026-08-01 07:29:18] local.INFO: Packet analysis {"connection_id":148420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb0b"} 
[2026-08-01 07:29:18] local.INFO: Extracted packet for processing {"connection_id":148420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb0b"} 
[2026-08-01 07:29:18] local.INFO: GPS Element Parsed {"raw_longitude":763184896,"raw_latitude":97263752,"longitude_deg":76.3184896,"latitude_deg":9.7263752,"altitude":4,"angle":8,"satellites":43,"speed":31,"hex_longitude":"2d7d4700","hex_latitude":"05cc2088","is_valid_coordinates":true} 
[2026-08-01 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-08-01 07:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100675840001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:29:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113436481493663744,"note":"Value kept but may cause issues"} 
[2026-08-01 07:29:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025424784380196864,"note":"Value kept but may cause issues"} 
[2026-08-01 07:29:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:29:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785549526000,"timestamp_ms":1785549526000,"timestamp_seconds":1785549526,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb0b93f0"} 
[2026-08-01 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-08-01 07:29: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-08-01 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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-01 07:29: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-08-01 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-08-01 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-08-01 07:29:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:29:18] local.INFO: Teltonika packet parsed successfully {"connection_id":148420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:29:18] local.INFO: Passing IMEI to GPS processor {"connection_id":148420,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:29:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":148420,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:29: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-08-01 07:29:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:29:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:29:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100675840001,"66":13102,"130":206,"85":15104,"24":31,"16":113436481493663744,"45":9025424784380196864},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,85,24,16,45]} 
[2026-08-01 07:29:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:29:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:29:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100675840001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:29:18] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-08-01 07:29:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:29:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113436481493663744,"km_value":113436481493663.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:29:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025424784380196864,"description":"Unknown IO ID 45"} 
[2026-08-01 07:29:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100675840001,"power":13102,"unknown_130":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9025424784380196864}} 
[2026-08-01 07:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":148420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576248,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:29:19] local.INFO: GPS data processed {"connection_id":148420,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:29:19] local.INFO: Acknowledgment sent {"connection_id":148420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:29:45] local.INFO: TCP Data received {"connection_id":148421,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:29:45] local.INFO: Processing buffer {"connection_id":148421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:29:45] local.INFO: IMEI packet received {"connection_id":148421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":148421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:29:49] local.INFO: TCP Data received {"connection_id":148420,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb0bbee8012d7d4d8005cc4540000400072b..."} 
[2026-08-01 07:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb0bbee8012d7d4d8005cc4540000400072b..."} 
[2026-08-01 07:29:49] local.INFO: Processing buffer {"connection_id":148420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb0bbee8012d7d4d8005cc4540000400072b..."} 
[2026-08-01 07:29:49] local.INFO: Packet analysis {"connection_id":148420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb0b"} 
[2026-08-01 07:29:49] local.INFO: Extracted packet for processing {"connection_id":148420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb0b"} 
[2026-08-01 07:29:49] local.INFO: GPS Element Parsed {"raw_longitude":763186560,"raw_latitude":97273152,"longitude_deg":76.318656,"latitude_deg":9.7273152,"altitude":4,"angle":7,"satellites":43,"speed":40,"hex_longitude":"2d7d4d80","hex_latitude":"05cc4540","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100678656001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113436945350131712,"note":"Value kept but may cause issues"} 
[2026-08-01 07:29:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027184002986969088,"note":"Value kept but may cause issues"} 
[2026-08-01 07:29:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785549537000,"timestamp_ms":1785549537000,"timestamp_seconds":1785549537,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb0bbee8"} 
[2026-08-01 07:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:29: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-08-01 07: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-01 07:29: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-08-01 07: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-08-01 07:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148420,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148420,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:29: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-08-01 07:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100678656001,"66":13254,"130":206,"85":15104,"24":40,"16":113436945350131712,"45":9027184002986969088},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,85,24,16,45]} 
[2026-08-01 07:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100678656001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:29:49] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-08-01 07:29:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113436945350131712,"km_value":113436945350131.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027184002986969088,"description":"Unknown IO ID 45"} 
[2026-08-01 07:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100678656001,"power":13254,"unknown_130":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9027184002986969088}} 
[2026-08-01 07:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":148420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576249,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:29:49] local.INFO: GPS data processed {"connection_id":148420,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:29:49] local.INFO: Acknowledgment sent {"connection_id":148420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:29:51] local.INFO: TCP Data received {"connection_id":148421,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:29:51] local.INFO: Processing buffer {"connection_id":148421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:29:51] local.INFO: IMEI packet received {"connection_id":148421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":148421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:29:52] local.INFO: TCP Data received {"connection_id":148421,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb0abd18012d57cc800640a4a0000501252d..."} 
[2026-08-01 07:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb0abd18012d57cc800640a4a0000501252d..."} 
[2026-08-01 07:29:52] local.INFO: Processing buffer {"connection_id":148421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb0abd18012d57cc800640a4a0000501252d..."} 
[2026-08-01 07:29:52] local.INFO: Packet analysis {"connection_id":148421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb0a"} 
[2026-08-01 07:29:52] local.INFO: Extracted packet for processing {"connection_id":148421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb0a"} 
[2026-08-01 07:29:52] local.INFO: GPS Element Parsed {"raw_longitude":760728704,"raw_latitude":104899744,"longitude_deg":76.0728704,"latitude_deg":10.4899744,"altitude":5,"angle":293,"satellites":45,"speed":46,"hex_longitude":"2d57cc80","hex_latitude":"0640a4a0","is_valid_coordinates":true} 
[2026-08-01 07:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100662528001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365682131285835776,"note":"Value kept but may cause issues"} 
[2026-08-01 07:29:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6336212858842750976,"note":"Value kept but may cause issues"} 
[2026-08-01 07:29:52] 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-08-01 07:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785549471000,"timestamp_ms":1785549471000,"timestamp_seconds":1785549471,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb0abd18"} 
[2026-08-01 07:29:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:29: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-08-01 07:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 07:29:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:29:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:29:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:29:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100662528001,"66":27767,"135":206,"19":38400,"24":46,"16":365682131285835776,"45":6336212858842750976},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,19,24,16,45]} 
[2026-08-01 07:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100662528001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:29:52] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-01 07:29:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-08-01 07:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365682131285835776,"km_value":365682131285835.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:29:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":6336212858842750976,"description":"Unknown IO ID 45"} 
[2026-08-01 07:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100662528001,"power":27767,"unknown_135":206,"unknown_19":38400,"ignition":46,"odometer":null,"unknown_45":6336212858842750976}} 
[2026-08-01 07:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":148421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:29:52] local.INFO: GPS data processed {"connection_id":148421,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:29:52] local.INFO: Acknowledgment sent {"connection_id":148421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:30:07] local.INFO: TCP Data received {"connection_id":148422,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148422,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:30:07] local.INFO: Processing buffer {"connection_id":148422,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:30:07] local.INFO: IMEI packet received {"connection_id":148422,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":148422,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:30:09] local.INFO: TCP Data received {"connection_id":148422,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148422,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:30:09] local.INFO: Processing buffer {"connection_id":148422,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:30:09] local.INFO: IMEI packet received {"connection_id":148422,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":148422,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:30:12] local.INFO: TCP Data received {"connection_id":148422,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148422,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:30:12] local.INFO: Processing buffer {"connection_id":148422,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:30:12] local.INFO: IMEI packet received {"connection_id":148422,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":148422,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:30:13] local.INFO: TCP Data received {"connection_id":148422,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb0bde28012d7d520005cc6818000600062b..."} 
[2026-08-01 07:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb0bde28012d7d520005cc6818000600062b..."} 
[2026-08-01 07:30:13] local.INFO: Processing buffer {"connection_id":148422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb0bde28012d7d520005cc6818000600062b..."} 
[2026-08-01 07:30:13] local.INFO: Packet analysis {"connection_id":148422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb0b"} 
[2026-08-01 07:30:13] local.INFO: Extracted packet for processing {"connection_id":148422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb0b"} 
[2026-08-01 07:30:13] local.INFO: GPS Element Parsed {"raw_longitude":763187712,"raw_latitude":97282072,"longitude_deg":76.3187712,"latitude_deg":9.7282072,"altitude":6,"angle":6,"satellites":43,"speed":49,"hex_longitude":"2d7d5200","hex_latitude":"05cc6818","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100681472001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113437379141828608,"note":"Value kept but may cause issues"} 
[2026-08-01 07:30:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029013590337994752,"note":"Value kept but may cause issues"} 
[2026-08-01 07:30:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785549545000,"timestamp_ms":1785549545000,"timestamp_seconds":1785549545,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb0bde28"} 
[2026-08-01 07:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:30:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-01 07:30:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07: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-08-01 07:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":148422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":148422,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":148422,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:30:13] 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-08-01 07:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100681472001,"66":13254,"130":206,"85":15104,"24":49,"16":113437379141828608,"45":9029013590337994752},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,85,24,16,45]} 
[2026-08-01 07:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100681472001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:30:13] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-08-01 07:30:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113437379141828608,"km_value":113437379141828.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:30:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029013590337994752,"description":"Unknown IO ID 45"} 
[2026-08-01 07:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100681472001,"power":13254,"unknown_130":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":9029013590337994752}} 
[2026-08-01 07:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":148422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576251,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:30:13] local.INFO: GPS data processed {"connection_id":148422,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:30:13] local.INFO: Acknowledgment sent {"connection_id":148422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:30:23] local.INFO: TCP Data received {"connection_id":148421,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb0adc58012d57aac00640b380000501262e..."} 
[2026-08-01 07:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb0adc58012d57aac00640b380000501262e..."} 
[2026-08-01 07:30:23] local.INFO: Processing buffer {"connection_id":148421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb0adc58012d57aac00640b380000501262e..."} 
[2026-08-01 07:30:23] local.INFO: Packet analysis {"connection_id":148421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb0a"} 
[2026-08-01 07:30:23] local.INFO: Extracted packet for processing {"connection_id":148421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb0a"} 
[2026-08-01 07:30:23] local.INFO: GPS Element Parsed {"raw_longitude":760720064,"raw_latitude":104903552,"longitude_deg":76.0720064,"latitude_deg":10.4903552,"altitude":5,"angle":294,"satellites":46,"speed":45,"hex_longitude":"2d57aac0","hex_latitude":"0640b380","is_valid_coordinates":true} 
[2026-08-01 07:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:30:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100664576001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:30:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365682582257401856,"note":"Value kept but may cause issues"} 
[2026-08-01 07:30:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6326572340891394048,"note":"Value kept but may cause issues"} 
[2026-08-01 07:30:23] 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-08-01 07:30:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785549479000,"timestamp_ms":1785549479000,"timestamp_seconds":1785549479,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb0adc58"} 
[2026-08-01 07:30:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:30:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 07:30:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:30:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:30:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:30:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:30:23] local.INFO: Teltonika packet parsed successfully {"connection_id":148421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:30:23] local.INFO: Passing IMEI to GPS processor {"connection_id":148421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:30:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":148421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:30:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:30:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:30:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:30:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100664576001,"66":27821,"186":206,"19":38144,"24":45,"16":365682582257401856,"45":6326572340891394048},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,19,24,16,45]} 
[2026-08-01 07:30:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:30:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:30:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100664576001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:30:23] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-01 07:30:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:30:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365682582257401856,"km_value":365682582257401.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:30:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":6326572340891394048,"description":"Unknown IO ID 45"} 
[2026-08-01 07:30:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100664576001,"power":27821,"unknown_186":206,"unknown_19":38144,"ignition":45,"odometer":null,"unknown_45":6326572340891394048}} 
[2026-08-01 07:30:23] local.INFO: DEBUG: GPS processor result {"connection_id":148421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:30:23] local.INFO: GPS data processed {"connection_id":148421,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:30:23] local.INFO: Acknowledgment sent {"connection_id":148421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:30:44] local.INFO: TCP Data received {"connection_id":148422,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb0bf980012d7d550005cc8c20000600032b..."} 
[2026-08-01 07:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb0bf980012d7d550005cc8c20000600032b..."} 
[2026-08-01 07:30:44] local.INFO: Processing buffer {"connection_id":148422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb0bf980012d7d550005cc8c20000600032b..."} 
[2026-08-01 07:30:44] local.INFO: Packet analysis {"connection_id":148422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb0b"} 
[2026-08-01 07:30:44] local.INFO: Extracted packet for processing {"connection_id":148422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb0b"} 
[2026-08-01 07:30:44] local.INFO: GPS Element Parsed {"raw_longitude":763188480,"raw_latitude":97291296,"longitude_deg":76.318848,"latitude_deg":9.7291296,"altitude":6,"angle":3,"satellites":43,"speed":53,"hex_longitude":"2d7d5500","hex_latitude":"05cc8c20","is_valid_coordinates":true} 
[2026-08-01 07:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100683520001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113437830113394688,"note":"Value kept but may cause issues"} 
[2026-08-01 07:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030280227735476224,"note":"Value kept but may cause issues"} 
[2026-08-01 07:30:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785549552000,"timestamp_ms":1785549552000,"timestamp_seconds":1785549552,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb0bf980"} 
[2026-08-01 07:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:30: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-08-01 07:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-01 07:30:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:30:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":148422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":148422,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":148422,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:30:44] 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-08-01 07:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100683520001,"66":13319,"129":206,"85":15104,"24":53,"16":113437830113394688,"45":9030280227735476224},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-08-01 07:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100683520001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:30:44] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-01 07:30:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113437830113394688,"km_value":113437830113394.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030280227735476224,"description":"Unknown IO ID 45"} 
[2026-08-01 07:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100683520001,"power":13319,"unknown_129":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":9030280227735476224}} 
[2026-08-01 07:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":148422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576253,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:30:44] local.INFO: GPS data processed {"connection_id":148422,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:30:44] local.INFO: Acknowledgment sent {"connection_id":148422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:30:45] local.INFO: TCP Data received {"connection_id":147111,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:30:45] local.INFO: Processing buffer {"connection_id":147111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:30:45] local.INFO: IMEI packet received {"connection_id":147111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":147111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:30:50] local.INFO: TCP Data received {"connection_id":147111,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:30:50] local.INFO: Processing buffer {"connection_id":147111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:30:50] local.INFO: IMEI packet received {"connection_id":147111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":147111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:30:51] local.INFO: TCP Data received {"connection_id":147111,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb0c6ac8012d568d800641b8a00007014e2f..."} 
[2026-08-01 07:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb0c6ac8012d568d800641b8a00007014e2f..."} 
[2026-08-01 07:30:51] local.INFO: Processing buffer {"connection_id":147111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb0c6ac8012d568d800641b8a00007014e2f..."} 
[2026-08-01 07:30:51] local.INFO: Packet analysis {"connection_id":147111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb0c"} 
[2026-08-01 07:30:51] local.INFO: Extracted packet for processing {"connection_id":147111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb0c"} 
[2026-08-01 07:30:51] local.INFO: GPS Element Parsed {"raw_longitude":760647040,"raw_latitude":104970400,"longitude_deg":76.064704,"latitude_deg":10.49704,"altitude":7,"angle":334,"satellites":47,"speed":53,"hex_longitude":"2d568d80","hex_latitude":"0641b8a0","is_valid_coordinates":true} 
[2026-08-01 07:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100690944001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365687534354694144,"note":"Value kept but may cause issues"} 
[2026-08-01 07:30:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355791708170240,"note":"Value kept but may cause issues"} 
[2026-08-01 07:30:51] 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-08-01 07:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785549581000,"timestamp_ms":1785549581000,"timestamp_seconds":1785549581,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb0c6ac8"} 
[2026-08-01 07:30:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:30: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-08-01 07:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 07:30:51] 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-08-01 07:30:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:30:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":147111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":147111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":147111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:30:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100690944001,"66":27821,"186":206,"19":38144,"24":53,"16":365687534354694144,"45":6241355791708170240},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,19,24,16,45]} 
[2026-08-01 07:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100690944001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:30:51] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-01 07:30:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365687534354694144,"km_value":365687534354694.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:30:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355791708170240,"description":"Unknown IO ID 45"} 
[2026-08-01 07:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100690944001,"power":27821,"unknown_186":206,"unknown_19":38144,"ignition":53,"odometer":null,"unknown_45":6241355791708170240}} 
[2026-08-01 07:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":147111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:30:51] local.INFO: GPS data processed {"connection_id":147111,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:30:51] local.INFO: Acknowledgment sent {"connection_id":147111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:31:06] local.INFO: TCP Data received {"connection_id":148423,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148423,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:31:06] local.INFO: Processing buffer {"connection_id":148423,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:31:06] local.INFO: IMEI packet received {"connection_id":148423,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":148423,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:31:07] local.INFO: TCP Data received {"connection_id":148423,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148423,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:31:07] local.INFO: Processing buffer {"connection_id":148423,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:31:07] local.INFO: IMEI packet received {"connection_id":148423,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":148423,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:31:11] local.INFO: TCP Data received {"connection_id":148423,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148423,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:31:11] local.INFO: Processing buffer {"connection_id":148423,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:31:11] local.INFO: IMEI packet received {"connection_id":148423,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":148423,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:31:12] local.INFO: TCP Data received {"connection_id":148423,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb0d5528012d7d3c0005cdfd78000b00032b..."} 
[2026-08-01 07:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb0d5528012d7d3c0005cdfd78000b00032b..."} 
[2026-08-01 07:31:12] local.INFO: Processing buffer {"connection_id":148423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb0d5528012d7d3c0005cdfd78000b00032b..."} 
[2026-08-01 07:31:12] local.INFO: Packet analysis {"connection_id":148423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb0d"} 
[2026-08-01 07:31:12] local.INFO: Extracted packet for processing {"connection_id":148423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb0d"} 
[2026-08-01 07:31:12] local.INFO: GPS Element Parsed {"raw_longitude":763182080,"raw_latitude":97385848,"longitude_deg":76.318208,"latitude_deg":9.7385848,"altitude":11,"angle":3,"satellites":43,"speed":33,"hex_longitude":"2d7d3c00","hex_latitude":"05cdfd78","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100705536001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113442438613303296,"note":"Value kept but may cause issues"} 
[2026-08-01 07:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023735934551074816,"note":"Value kept but may cause issues"} 
[2026-08-01 07:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785549641000,"timestamp_ms":1785549641000,"timestamp_seconds":1785549641,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb0d5528"} 
[2026-08-01 07:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:31:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-01 07:31:12] 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-08-01 07: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-08-01 07:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":148423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":148423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":148423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:31:12] 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-08-01 07:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100705536001,"66":13363,"235":206,"85":15104,"24":33,"16":113442438613303296,"45":9023735934551074816},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-01 07:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100705536001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:31:12] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-01 07:31:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113442438613303296,"km_value":113442438613303.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023735934551074816,"description":"Unknown IO ID 45"} 
[2026-08-01 07:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100705536001,"power":13363,"unknown_235":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9023735934551074816}} 
[2026-08-01 07:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":148423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576255,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:31:12] local.INFO: GPS data processed {"connection_id":148423,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:31:12] local.INFO: Acknowledgment sent {"connection_id":148423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:31:25] local.INFO: TCP Data received {"connection_id":147111,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb0c8620012d567e000641d8f00007014d2f..."} 
[2026-08-01 07:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb0c8620012d567e000641d8f00007014d2f..."} 
[2026-08-01 07:31:25] local.INFO: Processing buffer {"connection_id":147111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb0c8620012d567e000641d8f00007014d2f..."} 
[2026-08-01 07:31:25] local.INFO: Packet analysis {"connection_id":147111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb0c"} 
[2026-08-01 07:31:25] local.INFO: Extracted packet for processing {"connection_id":147111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb0c"} 
[2026-08-01 07:31:25] local.INFO: GPS Element Parsed {"raw_longitude":760643072,"raw_latitude":104978672,"longitude_deg":76.0643072,"latitude_deg":10.4978672,"altitude":7,"angle":333,"satellites":47,"speed":51,"hex_longitude":"2d567e00","hex_latitude":"0641d8f0","is_valid_coordinates":true} 
[2026-08-01 07:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100692736001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365687976736325632,"note":"Value kept but may cause issues"} 
[2026-08-01 07:31:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6236781823338782720,"note":"Value kept but may cause issues"} 
[2026-08-01 07:31:25] 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-08-01 07:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785549588000,"timestamp_ms":1785549588000,"timestamp_seconds":1785549588,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb0c8620"} 
[2026-08-01 07:31:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:31:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 07:31:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:31:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:31:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":147111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":147111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":147111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:31:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100692736001,"66":27658,"186":206,"19":38144,"24":51,"16":365687976736325632,"45":6236781823338782720},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,19,24,16,45]} 
[2026-08-01 07:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100692736001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:31:25] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-01 07:31:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365687976736325632,"km_value":365687976736325.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:31:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":6236781823338782720,"description":"Unknown IO ID 45"} 
[2026-08-01 07:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100692736001,"power":27658,"unknown_186":206,"unknown_19":38144,"ignition":51,"odometer":null,"unknown_45":6236781823338782720}} 
[2026-08-01 07:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":147111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:31:25] local.INFO: GPS data processed {"connection_id":147111,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:31:25] local.INFO: Acknowledgment sent {"connection_id":147111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:31:43] local.INFO: TCP Data received {"connection_id":148423,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb0d93a8012d7d3ec005ce2108000b00052a..."} 
[2026-08-01 07:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb0d93a8012d7d3ec005ce2108000b00052a..."} 
[2026-08-01 07:31:43] local.INFO: Processing buffer {"connection_id":148423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb0d93a8012d7d3ec005ce2108000b00052a..."} 
[2026-08-01 07:31:43] local.INFO: Packet analysis {"connection_id":148423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb0d"} 
[2026-08-01 07:31:43] local.INFO: Extracted packet for processing {"connection_id":148423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb0d"} 
[2026-08-01 07:31:43] local.INFO: GPS Element Parsed {"raw_longitude":763182784,"raw_latitude":97394952,"longitude_deg":76.3182784,"latitude_deg":9.7394952,"altitude":11,"angle":5,"satellites":42,"speed":21,"hex_longitude":"2d7d3ec0","hex_latitude":"05ce2108","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100708096001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113442880994934784,"note":"Value kept but may cause issues"} 
[2026-08-01 07:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024087778274408448,"note":"Value kept but may cause issues"} 
[2026-08-01 07:31:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785549657000,"timestamp_ms":1785549657000,"timestamp_seconds":1785549657,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb0d93a8"} 
[2026-08-01 07:31:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:31:43] 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-08-01 07: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-01 07:31:43] 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-08-01 07: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-08-01 07:31:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":148423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":148423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":148423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:31:43] 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-08-01 07:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100708096001,"66":13396,"235":206,"85":15104,"24":21,"16":113442880994934784,"45":9024087778274408448},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-01 07:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100708096001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:31:43] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-01 07:31:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113442880994934784,"km_value":113442880994934.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024087778274408448,"description":"Unknown IO ID 45"} 
[2026-08-01 07:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100708096001,"power":13396,"unknown_235":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":9024087778274408448}} 
[2026-08-01 07:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":148423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576257,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:31:43] local.INFO: GPS data processed {"connection_id":148423,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:31:43] local.INFO: Acknowledgment sent {"connection_id":148423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:31:54] local.INFO: TCP Data received {"connection_id":145892,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:31:54] local.INFO: Processing buffer {"connection_id":145892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:31:54] local.INFO: IMEI packet received {"connection_id":145892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":145892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:31:56] local.INFO: TCP Data received {"connection_id":145892,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:31:56] local.INFO: Processing buffer {"connection_id":145892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:31:56] local.INFO: IMEI packet received {"connection_id":145892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":145892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:31:58] local.INFO: TCP Data received {"connection_id":145892,"ip":"117.225.183.89","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fbb..."} 
[2026-08-01 07:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145892,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fbb..."} 
[2026-08-01 07:31:58] local.INFO: Processing buffer {"connection_id":145892,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fbb..."} 
[2026-08-01 07:31:58] local.INFO: IMEI packet received {"connection_id":145892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":145892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:32:01] local.INFO: TCP Data received {"connection_id":145892,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb0cc4a0012d5656c006421d88000801482c..."} 
[2026-08-01 07:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb0cc4a0012d5656c006421d88000801482c..."} 
[2026-08-01 07:32:01] local.INFO: Processing buffer {"connection_id":145892,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fbb0ca560012d566b400641fbc80008014a2d..."} 
[2026-08-01 07:32:01] local.INFO: Packet analysis {"connection_id":145892,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fbb0c"} 
[2026-08-01 07:32:01] local.INFO: Extracted packet for processing {"connection_id":145892,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb0c"} 
[2026-08-01 07:32:01] local.INFO: GPS Element Parsed {"raw_longitude":760638272,"raw_latitude":104987592,"longitude_deg":76.0638272,"latitude_deg":10.4987592,"altitude":8,"angle":330,"satellites":45,"speed":49,"hex_longitude":"2d566b40","hex_latitude":"0641fbc8","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100694528001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365688466362597376,"note":"Value kept but may cause issues"} 
[2026-08-01 07:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6232418961201885184,"note":"Value kept but may cause issues"} 
[2026-08-01 07:32:01] 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-08-01 07:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785549596000,"timestamp_ms":1785549596000,"timestamp_seconds":1785549596,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb0ca560"} 
[2026-08-01 07:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:32: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-08-01 07: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":10,"data_length":795,"current_offset":136} 
[2026-08-01 07:32: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-08-01 07: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-08-01 07:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":145892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":145892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":145892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:32:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100694528001,"66":27713,"186":206,"19":38144,"24":49,"16":365688466362597376,"45":6232418961201885184},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,19,24,16,45]} 
[2026-08-01 07:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100694528001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:32:01] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-01 07:32:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365688466362597376,"km_value":365688466362597.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6232418961201885184,"description":"Unknown IO ID 45"} 
[2026-08-01 07:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100694528001,"power":27713,"unknown_186":206,"unknown_19":38144,"ignition":49,"odometer":null,"unknown_45":6232418961201885184}} 
[2026-08-01 07:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":145892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:32:01] local.INFO: GPS data processed {"connection_id":145892,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:32:01] local.INFO: Acknowledgment sent {"connection_id":145892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:32:01] local.INFO: Packet analysis {"connection_id":145892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb0c"} 
[2026-08-01 07:32:01] local.INFO: Extracted packet for processing {"connection_id":145892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb0c"} 
[2026-08-01 07:32:01] local.INFO: GPS Element Parsed {"raw_longitude":760633024,"raw_latitude":104996232,"longitude_deg":76.0633024,"latitude_deg":10.4996232,"altitude":8,"angle":328,"satellites":44,"speed":51,"hex_longitude":"2d5656c0","hex_latitude":"06421d88","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100696576001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365688955988869120,"note":"Value kept but may cause issues"} 
[2026-08-01 07:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6227141305390843904,"note":"Value kept but may cause issues"} 
[2026-08-01 07:32:01] 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-08-01 07:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785549604000,"timestamp_ms":1785549604000,"timestamp_seconds":1785549604,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb0cc4a0"} 
[2026-08-01 07:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:32: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-08-01 07: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":65,"data_length":795,"current_offset":136} 
[2026-08-01 07:32: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-08-01 07: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-08-01 07:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":145892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":145892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":145892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:32:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100696576001,"66":27691,"186":206,"19":38144,"24":51,"16":365688955988869120,"45":6227141305390843904},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,19,24,16,45]} 
[2026-08-01 07:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100696576001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:32:01] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-01 07:32:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365688955988869120,"km_value":365688955988869.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6227141305390843904,"description":"Unknown IO ID 45"} 
[2026-08-01 07:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100696576001,"power":27691,"unknown_186":206,"unknown_19":38144,"ignition":51,"odometer":null,"unknown_45":6227141305390843904}} 
[2026-08-01 07:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":145892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:32:01] local.INFO: GPS data processed {"connection_id":145892,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:32:01] local.INFO: Acknowledgment sent {"connection_id":145892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:32:12] local.INFO: TCP Data received {"connection_id":146091,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146091,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:32:12] local.INFO: Processing buffer {"connection_id":146091,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:32:12] local.INFO: IMEI packet received {"connection_id":146091,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":146091,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:32:13] local.INFO: TCP Data received {"connection_id":146091,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146091,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:32:13] local.INFO: Processing buffer {"connection_id":146091,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:32:13] local.INFO: IMEI packet received {"connection_id":146091,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":146091,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:32:14] local.INFO: TCP Data received {"connection_id":146091,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb0da730012d7d3fc005ce2810000b00192b..."} 
[2026-08-01 07:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb0da730012d7d3fc005ce2810000b00192b..."} 
[2026-08-01 07:32:14] local.INFO: Processing buffer {"connection_id":146091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb0da730012d7d3fc005ce2810000b00192b..."} 
[2026-08-01 07:32:14] local.INFO: Packet analysis {"connection_id":146091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb0d"} 
[2026-08-01 07:32:14] local.INFO: Extracted packet for processing {"connection_id":146091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb0d"} 
[2026-08-01 07:32:14] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":97396752,"longitude_deg":76.318304,"latitude_deg":9.7396752,"altitude":11,"angle":25,"satellites":43,"speed":9,"hex_longitude":"2d7d3fc0","hex_latitude":"05ce2810","is_valid_coordinates":true} 
[2026-08-01 07:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100712192001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113442971189248000,"note":"Value kept but may cause issues"} 
[2026-08-01 07:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024861834462693376,"note":"Value kept but may cause issues"} 
[2026-08-01 07:32:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785549662000,"timestamp_ms":1785549662000,"timestamp_seconds":1785549662,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb0da730"} 
[2026-08-01 07:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:32: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-08-01 07:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-01 07:32:14] 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-08-01 07:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":146091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":146091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":146091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:32:14] 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-08-01 07:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100712192001,"66":13352,"235":206,"85":15104,"24":9,"16":113442971189248000,"45":9024861834462693376},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-01 07:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100712192001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:32:14] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-01 07:32:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113442971189248000,"km_value":113442971189248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024861834462693376,"description":"Unknown IO ID 45"} 
[2026-08-01 07:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100712192001,"power":13352,"unknown_235":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9024861834462693376}} 
[2026-08-01 07:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":146091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576260,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:32:14] local.INFO: GPS data processed {"connection_id":146091,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:32:14] local.INFO: Acknowledgment sent {"connection_id":146091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:32:18] local.INFO: TCP Data received {"connection_id":146091,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb0db2e8012d7d410005ce29b8000b00262a..."} 
[2026-08-01 07:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb0db2e8012d7d410005ce29b8000b00262a..."} 
[2026-08-01 07:32:18] local.INFO: Processing buffer {"connection_id":146091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb0db2e8012d7d410005ce29b8000b00262a..."} 
[2026-08-01 07:32:18] local.INFO: Packet analysis {"connection_id":146091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb0d"} 
[2026-08-01 07:32:18] local.INFO: Extracted packet for processing {"connection_id":146091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb0d"} 
[2026-08-01 07:32:18] local.INFO: GPS Element Parsed {"raw_longitude":763183360,"raw_latitude":97397176,"longitude_deg":76.318336,"latitude_deg":9.7397176,"altitude":11,"angle":38,"satellites":42,"speed":5,"hex_longitude":"2d7d4100","hex_latitude":"05ce29b8","is_valid_coordinates":true} 
[2026-08-01 07:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100713472001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113442996959051776,"note":"Value kept but may cause issues"} 
[2026-08-01 07:32:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309439864832,"note":"Value kept but may cause issues"} 
[2026-08-01 07:32:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785549665000,"timestamp_ms":1785549665000,"timestamp_seconds":1785549665,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb0db2e8"} 
[2026-08-01 07:32:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:32: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-08-01 07:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-01 07:32: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-08-01 07:32:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:32:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":146091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":146091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":146091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:32: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-08-01 07:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100713472001,"66":13559,"235":206,"85":15104,"24":5,"16":113442996959051776,"45":9025143309439864832},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-01 07:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100713472001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:32:18] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-01 07:32:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113442996959051776,"km_value":113442996959051.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:32:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309439864832,"description":"Unknown IO ID 45"} 
[2026-08-01 07:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100713472001,"power":13559,"unknown_235":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9025143309439864832}} 
[2026-08-01 07:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":146091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576261,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:32:18] local.INFO: GPS data processed {"connection_id":146091,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:32:18] local.INFO: Acknowledgment sent {"connection_id":146091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:32:49] local.INFO: TCP Data received {"connection_id":146091,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb0efef0012d7d4b8005cfa048000900002a..."} 
[2026-08-01 07:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb0efef0012d7d4b8005cfa048000900002a..."} 
[2026-08-01 07:32:49] local.INFO: Processing buffer {"connection_id":146091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb0efef0012d7d4b8005cfa048000900002a..."} 
[2026-08-01 07:32:49] local.INFO: Packet analysis {"connection_id":146091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb0e"} 
[2026-08-01 07:32:49] local.INFO: Extracted packet for processing {"connection_id":146091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb0e"} 
[2026-08-01 07:32:49] local.INFO: GPS Element Parsed {"raw_longitude":763186048,"raw_latitude":97493064,"longitude_deg":76.3186048,"latitude_deg":9.7493064,"altitude":9,"angle":0,"satellites":42,"speed":60,"hex_longitude":"2d7d4b80","hex_latitude":"05cfa048","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100734464001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113447652703600640,"note":"Value kept but may cause issues"} 
[2026-08-01 07:32:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028169165461815296,"note":"Value kept but may cause issues"} 
[2026-08-01 07:32:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785549750000,"timestamp_ms":1785549750000,"timestamp_seconds":1785549750,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb0efef0"} 
[2026-08-01 07:32:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:32: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-08-01 07: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-01 07:32:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07: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-08-01 07:32:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:32: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-08-01 07:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100734464001,"66":13559,"235":206,"85":15104,"24":60,"16":113447652703600640,"45":9028169165461815296},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-01 07:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100734464001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:32:49] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-01 07:32:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:32:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113447652703600640,"km_value":113447652703600.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:32:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028169165461815296,"description":"Unknown IO ID 45"} 
[2026-08-01 07:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100734464001,"power":13559,"unknown_235":206,"unknown_85":15104,"ignition":60,"odometer":null,"unknown_45":9028169165461815296}} 
[2026-08-01 07:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":146091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576262,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:32:49] local.INFO: GPS data processed {"connection_id":146091,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:32:49] local.INFO: Acknowledgment sent {"connection_id":146091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:32:50] local.INFO: TCP Data received {"connection_id":146092,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:32:50] local.INFO: Processing buffer {"connection_id":146092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:32:50] local.INFO: IMEI packet received {"connection_id":146092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":146092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:32:51] local.INFO: TCP Data received {"connection_id":146092,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:32:51] local.INFO: Processing buffer {"connection_id":146092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:32:51] local.INFO: IMEI packet received {"connection_id":146092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":146092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:32:55] local.INFO: TCP Data received {"connection_id":146092,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:32:55] local.INFO: Processing buffer {"connection_id":146092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:32:55] local.INFO: IMEI packet received {"connection_id":146092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":146092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:32:58] local.INFO: TCP Data received {"connection_id":146092,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb0e33d0012d559d0006438188000d014c2e..."} 
[2026-08-01 07:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb0e33d0012d559d0006438188000d014c2e..."} 
[2026-08-01 07:32:58] local.INFO: Processing buffer {"connection_id":146092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb0e33d0012d559d0006438188000d014c2e..."} 
[2026-08-01 07:32:58] local.INFO: Packet analysis {"connection_id":146092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb0e"} 
[2026-08-01 07:32:58] local.INFO: Extracted packet for processing {"connection_id":146092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb0e"} 
[2026-08-01 07:32:58] local.INFO: GPS Element Parsed {"raw_longitude":760585472,"raw_latitude":105087368,"longitude_deg":76.0585472,"latitude_deg":10.5087368,"altitude":13,"angle":332,"satellites":46,"speed":37,"hex_longitude":"2d559d00","hex_latitude":"06438188","is_valid_coordinates":true} 
[2026-08-01 07:32: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-08-01 07:32:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100719872001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:32:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365693925266030592,"note":"Value kept but may cause issues"} 
[2026-08-01 07:32:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6173872166071662592,"note":"Value kept but may cause issues"} 
[2026-08-01 07:32:58] 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-08-01 07:32:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785549698000,"timestamp_ms":1785549698000,"timestamp_seconds":1785549698,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb0e33d0"} 
[2026-08-01 07:32:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:32: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-08-01 07:32: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-08-01 07:32: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-08-01 07:32: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-08-01 07:32:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:32:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:32:58] local.INFO: Teltonika packet parsed successfully {"connection_id":146092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:32:58] local.INFO: Passing IMEI to GPS processor {"connection_id":146092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:32:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":146092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:32:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:32:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:32:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:32:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100719872001,"66":27865,"176":206,"19":38144,"24":37,"16":365693925266030592,"45":6173872166071662592},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,19,24,16,45]} 
[2026-08-01 07:32:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:32:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:32:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100719872001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:32:58] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-01 07:32:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:32:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365693925266030592,"km_value":365693925266030.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:32:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":6173872166071662592,"description":"Unknown IO ID 45"} 
[2026-08-01 07:32:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100719872001,"power":27865,"unknown_176":206,"unknown_19":38144,"ignition":37,"odometer":null,"unknown_45":6173872166071662592}} 
[2026-08-01 07:32:58] local.INFO: DEBUG: GPS processor result {"connection_id":146092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:32:58] local.INFO: GPS data processed {"connection_id":146092,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:32:58] local.INFO: Acknowledgment sent {"connection_id":146092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:32:59] local.INFO: TCP Data received {"connection_id":146092,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb0e5ae0012d558a800643a340000c014a2d..."} 
[2026-08-01 07:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb0e5ae0012d558a800643a340000c014a2d..."} 
[2026-08-01 07:32:59] local.INFO: Processing buffer {"connection_id":146092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb0e5ae0012d558a800643a340000c014a2d..."} 
[2026-08-01 07:32:59] local.INFO: Packet analysis {"connection_id":146092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb0e"} 
[2026-08-01 07:32:59] local.INFO: Extracted packet for processing {"connection_id":146092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb0e"} 
[2026-08-01 07:32:59] local.INFO: GPS Element Parsed {"raw_longitude":760580736,"raw_latitude":105096000,"longitude_deg":76.0580736,"latitude_deg":10.5096,"altitude":12,"angle":330,"satellites":45,"speed":41,"hex_longitude":"2d558a80","hex_latitude":"0643a340","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100722688001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365694402007400448,"note":"Value kept but may cause issues"} 
[2026-08-01 07:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6169087091469813760,"note":"Value kept but may cause issues"} 
[2026-08-01 07:32:59] 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-08-01 07:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785549708000,"timestamp_ms":1785549708000,"timestamp_seconds":1785549708,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb0e5ae0"} 
[2026-08-01 07:32:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:32:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 07:32: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-08-01 07: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-08-01 07:32:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":146092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":146092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":146092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:32:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100722688001,"66":27767,"176":206,"19":38144,"24":41,"16":365694402007400448,"45":6169087091469813760},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,19,24,16,45]} 
[2026-08-01 07:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100722688001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:32:59] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-01 07:32:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365694402007400448,"km_value":365694402007400.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6169087091469813760,"description":"Unknown IO ID 45"} 
[2026-08-01 07:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100722688001,"power":27767,"unknown_176":206,"unknown_19":38144,"ignition":41,"odometer":null,"unknown_45":6169087091469813760}} 
[2026-08-01 07:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":146092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:32:59] local.INFO: GPS data processed {"connection_id":146092,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:32:59] local.INFO: Acknowledgment sent {"connection_id":146092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:33:00] local.INFO: TCP Data received {"connection_id":146092,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb0e7e08012d5576000643c478000a01492e..."} 
[2026-08-01 07:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb0e7e08012d5576000643c478000a01492e..."} 
[2026-08-01 07:33:00] local.INFO: Processing buffer {"connection_id":146092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb0e7e08012d5576000643c478000a01492e..."} 
[2026-08-01 07:33:00] local.INFO: Packet analysis {"connection_id":146092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb0e"} 
[2026-08-01 07:33:00] local.INFO: Extracted packet for processing {"connection_id":146092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb0e"} 
[2026-08-01 07:33:00] local.INFO: GPS Element Parsed {"raw_longitude":760575488,"raw_latitude":105104504,"longitude_deg":76.0575488,"latitude_deg":10.5104504,"altitude":10,"angle":329,"satellites":46,"speed":46,"hex_longitude":"2d557600","hex_latitude":"0643c478","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100725248001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365694883043737600,"note":"Value kept but may cause issues"} 
[2026-08-01 07:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6163879804402876416,"note":"Value kept but may cause issues"} 
[2026-08-01 07:33:00] 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-08-01 07:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785549717000,"timestamp_ms":1785549717000,"timestamp_seconds":1785549717,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb0e7e08"} 
[2026-08-01 07:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:33: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-08-01 07:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 07:33: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-08-01 07: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-08-01 07:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":146092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":146092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":146092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:33:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100725248001,"66":27821,"176":206,"19":38144,"24":46,"16":365694883043737600,"45":6163879804402876416},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,19,24,16,45]} 
[2026-08-01 07:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100725248001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:33:00] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-01 07:33:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365694883043737600,"km_value":365694883043737.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6163879804402876416,"description":"Unknown IO ID 45"} 
[2026-08-01 07:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100725248001,"power":27821,"unknown_176":206,"unknown_19":38144,"ignition":46,"odometer":null,"unknown_45":6163879804402876416}} 
[2026-08-01 07:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":146092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:33:00] local.INFO: GPS data processed {"connection_id":146092,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:33:00] local.INFO: Acknowledgment sent {"connection_id":146092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:33:07] local.INFO: TCP Data received {"connection_id":148424,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148424,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:33:07] local.INFO: Processing buffer {"connection_id":148424,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:33:07] local.INFO: IMEI packet received {"connection_id":148424,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":148424,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:33:11] local.INFO: TCP Data received {"connection_id":148424,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148424,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:33:11] local.INFO: Processing buffer {"connection_id":148424,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:33:11] local.INFO: IMEI packet received {"connection_id":148424,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":148424,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:33:12] local.INFO: TCP Data received {"connection_id":148424,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb0f1660012d7d4b8005cfc470000800002a..."} 
[2026-08-01 07:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb0f1660012d7d4b8005cfc470000800002a..."} 
[2026-08-01 07:33:12] local.INFO: Processing buffer {"connection_id":148424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb0f1660012d7d4b8005cfc470000800002a..."} 
[2026-08-01 07:33:12] local.INFO: Packet analysis {"connection_id":148424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb0f"} 
[2026-08-01 07:33:12] local.INFO: Extracted packet for processing {"connection_id":148424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb0f"} 
[2026-08-01 07:33:12] local.INFO: GPS Element Parsed {"raw_longitude":763186048,"raw_latitude":97502320,"longitude_deg":76.3186048,"latitude_deg":9.750232,"altitude":8,"angle":0,"satellites":42,"speed":61,"hex_longitude":"2d7d4b80","hex_latitude":"05cfc470","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100736000001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113448103675166720,"note":"Value kept but may cause issues"} 
[2026-08-01 07:33:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028450640440870912,"note":"Value kept but may cause issues"} 
[2026-08-01 07:33:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785549756000,"timestamp_ms":1785549756000,"timestamp_seconds":1785549756,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb0f1660"} 
[2026-08-01 07:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:33:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-01 07:33:12] 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-08-01 07: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-08-01 07:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":148424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":148424,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":148424,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:33:12] 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-08-01 07:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100736000001,"66":13602,"235":206,"85":15104,"24":61,"16":113448103675166720,"45":9028450640440870912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-01 07:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100736000001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:33:12] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-01 07:33:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113448103675166720,"km_value":113448103675166.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:33:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028450640440870912,"description":"Unknown IO ID 45"} 
[2026-08-01 07:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100736000001,"power":13602,"unknown_235":206,"unknown_85":15104,"ignition":61,"odometer":null,"unknown_45":9028450640440870912}} 
[2026-08-01 07:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":148424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576266,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:33:12] local.INFO: GPS data processed {"connection_id":148424,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:33:12] local.INFO: Acknowledgment sent {"connection_id":148424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:33:43] local.INFO: TCP Data received {"connection_id":148424,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb0f2dd0012d7d4ac005cfe8580008016629..."} 
[2026-08-01 07:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb0f2dd0012d7d4ac005cfe8580008016629..."} 
[2026-08-01 07:33:43] local.INFO: Processing buffer {"connection_id":148424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb0f2dd0012d7d4ac005cfe8580008016629..."} 
[2026-08-01 07:33:43] local.INFO: Packet analysis {"connection_id":148424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb0f"} 
[2026-08-01 07:33:43] local.INFO: Extracted packet for processing {"connection_id":148424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb0f"} 
[2026-08-01 07:33:43] local.INFO: GPS Element Parsed {"raw_longitude":763185856,"raw_latitude":97511512,"longitude_deg":76.3185856,"latitude_deg":9.7511512,"altitude":8,"angle":358,"satellites":41,"speed":57,"hex_longitude":"2d7d4ac0","hex_latitude":"05cfe858","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:33:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100737536001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:33:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113448550351765504,"note":"Value kept but may cause issues"} 
[2026-08-01 07:33:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028450640443240448,"note":"Value kept but may cause issues"} 
[2026-08-01 07:33:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:33:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785549762000,"timestamp_ms":1785549762000,"timestamp_seconds":1785549762,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb0f2dd0"} 
[2026-08-01 07:33:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:33:43] 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-08-01 07: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-01 07:33:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07: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-08-01 07:33:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:33:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:33:43] local.INFO: Teltonika packet parsed successfully {"connection_id":148424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:33:43] local.INFO: Passing IMEI to GPS processor {"connection_id":148424,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:33:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":148424,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:33:43] 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-08-01 07:33:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:33:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:33:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100737536001,"66":13515,"235":206,"85":15104,"24":57,"16":113448550351765504,"45":9028450640443240448},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-01 07:33:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:33:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:33:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100737536001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:33:43] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-01 07:33:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:33:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113448550351765504,"km_value":113448550351765.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:33:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028450640443240448,"description":"Unknown IO ID 45"} 
[2026-08-01 07:33:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100737536001,"power":13515,"unknown_235":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":9028450640443240448}} 
[2026-08-01 07:33:43] local.INFO: DEBUG: GPS processor result {"connection_id":148424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576267,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:33:43] local.INFO: GPS data processed {"connection_id":148424,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:33:43] local.INFO: Acknowledgment sent {"connection_id":148424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:33:45] local.INFO: TCP Data received {"connection_id":145893,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:33:45] local.INFO: Processing buffer {"connection_id":145893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:33:45] local.INFO: IMEI packet received {"connection_id":145893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":145893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:33:50] local.INFO: TCP Data received {"connection_id":145893,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:33:50] local.INFO: Processing buffer {"connection_id":145893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:33:50] local.INFO: IMEI packet received {"connection_id":145893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":145893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:33:51] local.INFO: TCP Data received {"connection_id":145893,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb0e9d48012d5562000643e5d8000801482f..."} 
[2026-08-01 07:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb0e9d48012d5562000643e5d8000801482f..."} 
[2026-08-01 07:33:51] local.INFO: Processing buffer {"connection_id":145893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb0e9d48012d5562000643e5d8000801482f..."} 
[2026-08-01 07:33:51] local.INFO: Packet analysis {"connection_id":145893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb0e"} 
[2026-08-01 07:33:51] local.INFO: Extracted packet for processing {"connection_id":145893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb0e"} 
[2026-08-01 07:33:51] local.INFO: GPS Element Parsed {"raw_longitude":760570368,"raw_latitude":105113048,"longitude_deg":76.0570368,"latitude_deg":10.5113048,"altitude":8,"angle":328,"satellites":47,"speed":51,"hex_longitude":"2d556200","hex_latitude":"0643e5d8","is_valid_coordinates":true} 
[2026-08-01 07:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100727552001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365695364080074752,"note":"Value kept but may cause issues"} 
[2026-08-01 07:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6158109567382484992,"note":"Value kept but may cause issues"} 
[2026-08-01 07:33:51] 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-08-01 07:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785549725000,"timestamp_ms":1785549725000,"timestamp_seconds":1785549725,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb0e9d48"} 
[2026-08-01 07:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:33: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-08-01 07:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 07:33:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:33:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":145893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":145893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":145893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100727552001,"66":27821,"176":206,"19":38144,"24":51,"16":365695364080074752,"45":6158109567382484992},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,19,24,16,45]} 
[2026-08-01 07:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100727552001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:33:51] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-01 07:33:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365695364080074752,"km_value":365695364080074.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":6158109567382484992,"description":"Unknown IO ID 45"} 
[2026-08-01 07:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100727552001,"power":27821,"unknown_176":206,"unknown_19":38144,"ignition":51,"odometer":null,"unknown_45":6158109567382484992}} 
[2026-08-01 07:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":145893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:33:51] local.INFO: GPS data processed {"connection_id":145893,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:33:51] local.INFO: Acknowledgment sent {"connection_id":145893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:34:04] local.INFO: TCP Data received {"connection_id":148425,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148425,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:34:04] local.INFO: Processing buffer {"connection_id":148425,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:34:04] local.INFO: IMEI packet received {"connection_id":148425,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":148425,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:34:09] local.INFO: TCP Data received {"connection_id":148425,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148425,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:34:09] local.INFO: Processing buffer {"connection_id":148425,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:34:09] local.INFO: IMEI packet received {"connection_id":148425,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":148425,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:34:18] local.INFO: TCP Data received {"connection_id":148425,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148425,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:34:18] local.INFO: Processing buffer {"connection_id":148425,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:34:18] local.INFO: IMEI packet received {"connection_id":148425,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":148425,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:34:21] local.INFO: TCP Data received {"connection_id":148425,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb0f4928012d7d494005d00b000006016328..."} 
[2026-08-01 07:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb0f4928012d7d494005d00b000006016328..."} 
[2026-08-01 07:34:21] local.INFO: Processing buffer {"connection_id":148425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb0f4928012d7d494005d00b000006016328..."} 
[2026-08-01 07:34:21] local.INFO: Packet analysis {"connection_id":148425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb0f"} 
[2026-08-01 07:34:21] local.INFO: Extracted packet for processing {"connection_id":148425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb0f"} 
[2026-08-01 07:34:21] local.INFO: GPS Element Parsed {"raw_longitude":763185472,"raw_latitude":97520384,"longitude_deg":76.3185472,"latitude_deg":9.7520384,"altitude":6,"angle":355,"satellites":40,"speed":41,"hex_longitude":"2d7d4940","hex_latitude":"05d00b00","is_valid_coordinates":true} 
[2026-08-01 07:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100739072001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113448979848495104,"note":"Value kept but may cause issues"} 
[2026-08-01 07:34:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028239534213060608,"note":"Value kept but may cause issues"} 
[2026-08-01 07:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785549769000,"timestamp_ms":1785549769000,"timestamp_seconds":1785549769,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb0f4928"} 
[2026-08-01 07:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:34: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-08-01 07:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-01 07:34:21] 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-08-01 07:34:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:34:21] 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-08-01 07:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100739072001,"66":13363,"198":206,"85":15104,"24":41,"16":113448979848495104,"45":9028239534213060608},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-08-01 07:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100739072001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:34:21] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-01 07:34:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113448979848495104,"km_value":113448979848495.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:34:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028239534213060608,"description":"Unknown IO ID 45"} 
[2026-08-01 07:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100739072001,"power":13363,"unknown_198":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9028239534213060608}} 
[2026-08-01 07:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":148425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576269,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:34:21] local.INFO: GPS data processed {"connection_id":148425,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:34:21] local.INFO: Acknowledgment sent {"connection_id":148425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:34:21] local.INFO: TCP Data received {"connection_id":148425,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb0f9b30012d7d48c005d027300005016629..."} 
[2026-08-01 07:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb0f9b30012d7d48c005d027300005016629..."} 
[2026-08-01 07:34:21] local.INFO: Processing buffer {"connection_id":148425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb0f9b30012d7d48c005d027300005016629..."} 
[2026-08-01 07:34:21] local.INFO: Packet analysis {"connection_id":148425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb0f"} 
[2026-08-01 07:34:21] local.INFO: Extracted packet for processing {"connection_id":148425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb0f"} 
[2026-08-01 07:34:21] local.INFO: GPS Element Parsed {"raw_longitude":763185344,"raw_latitude":97527600,"longitude_deg":76.3185344,"latitude_deg":9.75276,"altitude":5,"angle":358,"satellites":41,"speed":9,"hex_longitude":"2d7d48c0","hex_latitude":"05d02730","is_valid_coordinates":true} 
[2026-08-01 07:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100740864001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113449332035813376,"note":"Value kept but may cause issues"} 
[2026-08-01 07:34:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027817321750265856,"note":"Value kept but may cause issues"} 
[2026-08-01 07:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785549790000,"timestamp_ms":1785549790000,"timestamp_seconds":1785549790,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb0f9b30"} 
[2026-08-01 07:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:34: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-08-01 07:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-01 07:34:21] 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-08-01 07:34:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:34:21] 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-08-01 07:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100740864001,"66":13450,"198":206,"85":15104,"24":9,"16":113449332035813376,"45":9027817321750265856},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-08-01 07:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100740864001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:34:21] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-01 07:34:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113449332035813376,"km_value":113449332035813.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:34:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027817321750265856,"description":"Unknown IO ID 45"} 
[2026-08-01 07:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100740864001,"power":13450,"unknown_198":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9027817321750265856}} 
[2026-08-01 07:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":148425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576270,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:34:21] local.INFO: GPS data processed {"connection_id":148425,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:34:21] local.INFO: Acknowledgment sent {"connection_id":148425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:34:23] local.INFO: TCP Data received {"connection_id":145893,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb0eb8a0012d555040064404b00007014b2e..."} 
[2026-08-01 07:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb0eb8a0012d555040064404b00007014b2e..."} 
[2026-08-01 07:34:23] local.INFO: Processing buffer {"connection_id":145893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb0eb8a0012d555040064404b00007014b2e..."} 
[2026-08-01 07:34:23] local.INFO: Packet analysis {"connection_id":145893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb0e"} 
[2026-08-01 07:34:23] local.INFO: Extracted packet for processing {"connection_id":145893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb0e"} 
[2026-08-01 07:34:23] local.INFO: GPS Element Parsed {"raw_longitude":760565824,"raw_latitude":105120944,"longitude_deg":76.0565824,"latitude_deg":10.5120944,"altitude":7,"angle":331,"satellites":46,"speed":50,"hex_longitude":"2d555040","hex_latitude":"064404b0","is_valid_coordinates":true} 
[2026-08-01 07:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:34:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100729600001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:34:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365695806461706240,"note":"Value kept but may cause issues"} 
[2026-08-01 07:34:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6152480067850459136,"note":"Value kept but may cause issues"} 
[2026-08-01 07:34:23] 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-08-01 07:34:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785549732000,"timestamp_ms":1785549732000,"timestamp_seconds":1785549732,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb0eb8a0"} 
[2026-08-01 07:34:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:34:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 07:34:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:34:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:34:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:34:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:34:23] local.INFO: Teltonika packet parsed successfully {"connection_id":145893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:34:23] local.INFO: Passing IMEI to GPS processor {"connection_id":145893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:34:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":145893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:34:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:34:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:34:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:34:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100729600001,"66":27800,"176":206,"19":38144,"24":50,"16":365695806461706240,"45":6152480067850459136},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,19,24,16,45]} 
[2026-08-01 07:34:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:34:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:34:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100729600001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:34:23] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-01 07:34:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:34:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365695806461706240,"km_value":365695806461706.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:34:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":6152480067850459136,"description":"Unknown IO ID 45"} 
[2026-08-01 07:34:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100729600001,"power":27800,"unknown_176":206,"unknown_19":38144,"ignition":50,"odometer":null,"unknown_45":6152480067850459136}} 
[2026-08-01 07:34:23] local.INFO: DEBUG: GPS processor result {"connection_id":145893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:34:23] local.INFO: GPS data processed {"connection_id":145893,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:34:23] local.INFO: Acknowledgment sent {"connection_id":145893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:34:45] local.INFO: TCP Data received {"connection_id":147112,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:34:45] local.INFO: Processing buffer {"connection_id":147112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:34:45] local.INFO: IMEI packet received {"connection_id":147112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":147112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:34:47] local.INFO: TCP Data received {"connection_id":147112,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:34:47] local.INFO: Processing buffer {"connection_id":147112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:34:47] local.INFO: IMEI packet received {"connection_id":147112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":147112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:34:50] local.INFO: TCP Data received {"connection_id":147112,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb104328012d548bc0064566e80008014b2b..."} 
[2026-08-01 07:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb104328012d548bc0064566e80008014b2b..."} 
[2026-08-01 07:34:50] local.INFO: Processing buffer {"connection_id":147112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb104328012d548bc0064566e80008014b2b..."} 
[2026-08-01 07:34:50] local.INFO: Packet analysis {"connection_id":147112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb10"} 
[2026-08-01 07:34:50] local.INFO: Extracted packet for processing {"connection_id":147112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb10"} 
[2026-08-01 07:34:50] local.INFO: GPS Element Parsed {"raw_longitude":760515520,"raw_latitude":105211624,"longitude_deg":76.051552,"latitude_deg":10.5211624,"altitude":8,"angle":331,"satellites":43,"speed":50,"hex_longitude":"2d548bc0","hex_latitude":"064566e8","is_valid_coordinates":true} 
[2026-08-01 07:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100755456001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365700818688540672,"note":"Value kept but may cause issues"} 
[2026-08-01 07:34:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6096888759973328896,"note":"Value kept but may cause issues"} 
[2026-08-01 07:34:50] 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-08-01 07:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785549833000,"timestamp_ms":1785549833000,"timestamp_seconds":1785549833,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb104328"} 
[2026-08-01 07:34:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:34: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-08-01 07:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 07:34:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:34:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:34:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:34:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100755456001,"66":27821,"177":206,"19":38144,"24":50,"16":365700818688540672,"45":6096888759973328896},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-08-01 07:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100755456001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:34:50] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-01 07:34:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365700818688540672,"km_value":365700818688540.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:34:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":6096888759973328896,"description":"Unknown IO ID 45"} 
[2026-08-01 07:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100755456001,"power":27821,"unknown_177":206,"unknown_19":38144,"ignition":50,"odometer":null,"unknown_45":6096888759973328896}} 
[2026-08-01 07:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":147112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:34:50] local.INFO: GPS data processed {"connection_id":147112,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:34:50] local.INFO: Acknowledgment sent {"connection_id":147112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:34:55] local.INFO: TCP Data received {"connection_id":148425,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb0fd9b0012d7d4a0005d02f580000001729..."} 
[2026-08-01 07:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb0fd9b0012d7d4a0005d02f580000001729..."} 
[2026-08-01 07:34:55] local.INFO: Processing buffer {"connection_id":148425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb0fd9b0012d7d4a0005d02f580000001729..."} 
[2026-08-01 07:34:55] local.INFO: Packet analysis {"connection_id":148425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb0f"} 
[2026-08-01 07:34:55] local.INFO: Extracted packet for processing {"connection_id":148425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb0f"} 
[2026-08-01 07:34:55] local.INFO: GPS Element Parsed {"raw_longitude":763185664,"raw_latitude":97529688,"longitude_deg":76.3185664,"latitude_deg":9.7529688,"altitude":0,"angle":23,"satellites":41,"speed":5,"hex_longitude":"2d7d4a00","hex_latitude":"05d02f58","is_valid_coordinates":true} 
[2026-08-01 07:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100746240001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113449435115028480,"note":"Value kept but may cause issues"} 
[2026-08-01 07:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027676584263757824,"note":"Value kept but may cause issues"} 
[2026-08-01 07:34:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785549806000,"timestamp_ms":1785549806000,"timestamp_seconds":1785549806,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb0fd9b0"} 
[2026-08-01 07:34:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:34:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-01 07:34:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:34:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:34:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:34:55] 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-08-01 07:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100746240001,"66":13646,"198":206,"85":15104,"24":5,"16":113449435115028480,"45":9027676584263757824},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-08-01 07:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100746240001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:34:55] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-01 07:34:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113449435115028480,"km_value":113449435115028.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027676584263757824,"description":"Unknown IO ID 45"} 
[2026-08-01 07:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100746240001,"power":13646,"unknown_198":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9027676584263757824}} 
[2026-08-01 07:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":148425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576273,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:34:56] local.INFO: GPS data processed {"connection_id":148425,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:34:56] local.INFO: Acknowledgment sent {"connection_id":148425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:35:05] local.INFO: TCP Data received {"connection_id":145894,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145894,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:35:05] local.INFO: Processing buffer {"connection_id":145894,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:35:05] local.INFO: IMEI packet received {"connection_id":145894,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":145894,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:35:07] local.INFO: TCP Data received {"connection_id":145894,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145894,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:35:07] local.INFO: Processing buffer {"connection_id":145894,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:35:07] local.INFO: IMEI packet received {"connection_id":145894,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":145894,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:35:12] local.INFO: TCP Data received {"connection_id":145894,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145894,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:35:12] local.INFO: Processing buffer {"connection_id":145894,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:35:12] local.INFO: IMEI packet received {"connection_id":145894,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":145894,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:35:13] local.INFO: TCP Data received {"connection_id":145894,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb111a00012d7d32c005d182780004016427..."} 
[2026-08-01 07:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb111a00012d7d32c005d182780004016427..."} 
[2026-08-01 07:35:13] local.INFO: Processing buffer {"connection_id":145894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb111a00012d7d32c005d182780004016427..."} 
[2026-08-01 07:35:13] local.INFO: Packet analysis {"connection_id":145894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb11"} 
[2026-08-01 07:35:13] local.INFO: Extracted packet for processing {"connection_id":145894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb11"} 
[2026-08-01 07:35:13] local.INFO: GPS Element Parsed {"raw_longitude":763179712,"raw_latitude":97616504,"longitude_deg":76.3179712,"latitude_deg":9.7616504,"altitude":4,"angle":356,"satellites":39,"speed":46,"hex_longitude":"2d7d32c0","hex_latitude":"05d18278","is_valid_coordinates":true} 
[2026-08-01 07:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100769280001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113453661362847744,"note":"Value kept but may cause issues"} 
[2026-08-01 07:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258190982334464,"note":"Value kept but may cause issues"} 
[2026-08-01 07:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785549888000,"timestamp_ms":1785549888000,"timestamp_seconds":1785549888,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb111a00"} 
[2026-08-01 07:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:35:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-01 07:35:13] 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-08-01 07:35:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":145894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":145894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":145894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:35:13] 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-08-01 07:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100769280001,"66":13580,"197":206,"85":15104,"24":46,"16":113453661362847744,"45":9022258190982334464},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-01 07:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100769280001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:35:13] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-01 07:35:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113453661362847744,"km_value":113453661362847.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258190982334464,"description":"Unknown IO ID 45"} 
[2026-08-01 07:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100769280001,"power":13580,"unknown_197":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":9022258190982334464}} 
[2026-08-01 07:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":145894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576274,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:35:13] local.INFO: GPS data processed {"connection_id":145894,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:35:13] local.INFO: Acknowledgment sent {"connection_id":145894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:35:24] local.INFO: TCP Data received {"connection_id":147112,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb106268012d547940064589480008014b2c..."} 
[2026-08-01 07:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb106268012d547940064589480008014b2c..."} 
[2026-08-01 07:35:24] local.INFO: Processing buffer {"connection_id":147112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb106268012d547940064589480008014b2c..."} 
[2026-08-01 07:35:24] local.INFO: Packet analysis {"connection_id":147112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb10"} 
[2026-08-01 07:35:24] local.INFO: Extracted packet for processing {"connection_id":147112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb10"} 
[2026-08-01 07:35:24] local.INFO: GPS Element Parsed {"raw_longitude":760510784,"raw_latitude":105220424,"longitude_deg":76.0510784,"latitude_deg":10.5220424,"altitude":8,"angle":331,"satellites":44,"speed":48,"hex_longitude":"2d547940","hex_latitude":"06458948","is_valid_coordinates":true} 
[2026-08-01 07:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100757248001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365701304019845120,"note":"Value kept but may cause issues"} 
[2026-08-01 07:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6092174054115436544,"note":"Value kept but may cause issues"} 
[2026-08-01 07:35:24] 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-08-01 07:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785549841000,"timestamp_ms":1785549841000,"timestamp_seconds":1785549841,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb106268"} 
[2026-08-01 07:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:35:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 07:35:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:35:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":147112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":147112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":147112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:35:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100757248001,"66":27800,"177":206,"19":38144,"24":48,"16":365701304019845120,"45":6092174054115436544},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-08-01 07:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100757248001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:35:24] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-01 07:35:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365701304019845120,"km_value":365701304019845.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":6092174054115436544,"description":"Unknown IO ID 45"} 
[2026-08-01 07:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100757248001,"power":27800,"unknown_177":206,"unknown_19":38144,"ignition":48,"odometer":null,"unknown_45":6092174054115436544}} 
[2026-08-01 07:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":147112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:35:24] local.INFO: GPS data processed {"connection_id":147112,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:35:24] local.INFO: Acknowledgment sent {"connection_id":147112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:35:44] local.INFO: TCP Data received {"connection_id":145894,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb113940012d7d2f4005d19e000004015527..."} 
[2026-08-01 07:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb113940012d7d2f4005d19e000004015527..."} 
[2026-08-01 07:35:44] local.INFO: Processing buffer {"connection_id":145894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb113940012d7d2f4005d19e000004015527..."} 
[2026-08-01 07:35:44] local.INFO: Packet analysis {"connection_id":145894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb11"} 
[2026-08-01 07:35:44] local.INFO: Extracted packet for processing {"connection_id":145894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb11"} 
[2026-08-01 07:35:44] local.INFO: GPS Element Parsed {"raw_longitude":763178816,"raw_latitude":97623552,"longitude_deg":76.3178816,"latitude_deg":9.7623552,"altitude":4,"angle":341,"satellites":39,"speed":25,"hex_longitude":"2d7d2f40","hex_latitude":"05d19e00","is_valid_coordinates":true} 
[2026-08-01 07:35: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-08-01 07:35:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100771328001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:35:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113454009255198720,"note":"Value kept but may cause issues"} 
[2026-08-01 07:35:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021484134798882816,"note":"Value kept but may cause issues"} 
[2026-08-01 07:35:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:35:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785549896000,"timestamp_ms":1785549896000,"timestamp_seconds":1785549896,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb113940"} 
[2026-08-01 07:35:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:35:44] 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-08-01 07:35: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":12,"data_length":795,"current_offset":136} 
[2026-08-01 07:35:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751616782,"note":"Value kept but may cause issues"} 
[2026-08-01 07:35:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-01 07:35:44] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3138415160,"note":"Value kept but may cause issues"} 
[2026-08-01 07:35:44] local.WARNING: Large IO value detected {"io_id":1,"raw_value":7072903425238761482,"note":"Value kept but may cause issues"} 
[2026-08-01 07:35:44] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-01 07:35:44] local.WARNING: Large IO value detected {"io_id":208,"raw_value":3957850118,"note":"Value kept but may cause issues"} 
[2026-08-01 07:35:44] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635115786500038,"note":"Value kept but may cause issues"} 
[2026-08-01 07:35:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2009399502,"corrected_to":0} 
[2026-08-01 07:35:44] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-5404093638537851307,"note":"Value kept but may cause issues"} 
[2026-08-01 07:35:44] local.WARNING: Large IO value detected {"io_id":61,"raw_value":2147864777,"note":"Value kept but may cause issues"} 
[2026-08-01 07:35:44] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-01 07:35:44] local.WARNING: Large IO value detected {"io_id":125,"raw_value":4863893990598508546,"note":"Value kept but may cause issues"} 
[2026-08-01 07:35:44] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755609894584561,"note":"Value kept but may cause issues"} 
[2026-08-01 07:35:44] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,197,85,24,241,157,16,17,159,250,45,128,92,6,42,10,66,223,192,56,196,64,1,240,78,227,187,208,4,113,205,52,141,61,40,239,53,198,2,147,5,37,125,59],"length":577,"final_offset":707,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2009399502,"validated":0}]} 
[2026-08-01 07:35:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288621969797939200,"timestamp_seconds":288621969797939.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 07:35:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:35:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:35:44] local.INFO: Teltonika packet parsed successfully {"connection_id":145894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:35:44] local.INFO: Passing IMEI to GPS processor {"connection_id":145894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:35:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":145894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:35:44] 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-08-01 07:35:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:35:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:35:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100771328001,"66":13624,"197":206,"85":15104,"24":25,"16":113454009255198720,"45":9021484134798882816},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-01 07:35:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:35:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:35:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100771328001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:35:44] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-01 07:35:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:35:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113454009255198720,"km_value":113454009255198.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:35:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021484134798882816,"description":"Unknown IO ID 45"} 
[2026-08-01 07:35:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100771328001,"power":13624,"unknown_197":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9021484134798882816}} 
[2026-08-01 07:35:44] local.INFO: DEBUG: GPS processor result {"connection_id":145894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576276,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:35:44] local.INFO: GPS data processed {"connection_id":145894,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:35:44] local.INFO: Acknowledgment sent {"connection_id":145894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:35:45] local.INFO: TCP Data received {"connection_id":145895,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:35:45] local.INFO: Processing buffer {"connection_id":145895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:35:45] local.INFO: IMEI packet received {"connection_id":145895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":145895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:35:50] local.INFO: TCP Data received {"connection_id":145895,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:35:50] local.INFO: Processing buffer {"connection_id":145895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:35:50] local.INFO: IMEI packet received {"connection_id":145895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":145895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:35:53] local.INFO: TCP Data received {"connection_id":145895,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb1081a8012d5467800645aab80009014c2d..."} 
[2026-08-01 07:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb1081a8012d5467800645aab80009014c2d..."} 
[2026-08-01 07:35:53] local.INFO: Processing buffer {"connection_id":145895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb1081a8012d5467800645aab80009014c2d..."} 
[2026-08-01 07:35:53] local.INFO: Packet analysis {"connection_id":145895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb10"} 
[2026-08-01 07:35:53] local.INFO: Extracted packet for processing {"connection_id":145895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb10"} 
[2026-08-01 07:35:53] local.INFO: GPS Element Parsed {"raw_longitude":760506240,"raw_latitude":105228984,"longitude_deg":76.050624,"latitude_deg":10.5228984,"altitude":9,"angle":332,"satellites":45,"speed":47,"hex_longitude":"2d546780","hex_latitude":"0645aab8","is_valid_coordinates":true} 
[2026-08-01 07:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:35:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100759296001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:35:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365701772171280384,"note":"Value kept but may cause issues"} 
[2026-08-01 07:35:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6086966767048542208,"note":"Value kept but may cause issues"} 
[2026-08-01 07:35:53] 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-08-01 07:35:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785549849000,"timestamp_ms":1785549849000,"timestamp_seconds":1785549849,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb1081a8"} 
[2026-08-01 07:35:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:35:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 07:35:53] 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-08-01 07:35:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:35:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:35:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:35:53] local.INFO: Teltonika packet parsed successfully {"connection_id":145895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:35:53] local.INFO: Passing IMEI to GPS processor {"connection_id":145895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:35:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":145895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:35:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:35:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:35:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:35:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100759296001,"66":27821,"177":206,"19":38144,"24":47,"16":365701772171280384,"45":6086966767048542208},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-08-01 07:35:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:35:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:35:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100759296001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:35:53] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-01 07:35:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:35:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365701772171280384,"km_value":365701772171280.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:35:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":6086966767048542208,"description":"Unknown IO ID 45"} 
[2026-08-01 07:35:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100759296001,"power":27821,"unknown_177":206,"unknown_19":38144,"ignition":47,"odometer":null,"unknown_45":6086966767048542208}} 
[2026-08-01 07:35:53] local.INFO: DEBUG: GPS processor result {"connection_id":145895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:35:53] local.INFO: GPS data processed {"connection_id":145895,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:35:53] local.INFO: Acknowledgment sent {"connection_id":145895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:36:07] local.INFO: TCP Data received {"connection_id":147113,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147113,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:36:07] local.INFO: Processing buffer {"connection_id":147113,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:36:07] local.INFO: IMEI packet received {"connection_id":147113,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":147113,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:36:09] local.INFO: TCP Data received {"connection_id":147113,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147113,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:36:09] local.INFO: Processing buffer {"connection_id":147113,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:36:09] local.INFO: IMEI packet received {"connection_id":147113,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":147113,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:36:20] local.INFO: TCP Data received {"connection_id":147113,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147113,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:36:20] local.INFO: Processing buffer {"connection_id":147113,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:36:20] local.INFO: IMEI packet received {"connection_id":147113,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":147113,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:36:22] local.INFO: TCP Data received {"connection_id":147113,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb115880012d7d280005d1b1b00005016126..."} 
[2026-08-01 07:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb115880012d7d280005d1b1b00005016126..."} 
[2026-08-01 07:36:22] local.INFO: Processing buffer {"connection_id":147113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb115880012d7d280005d1b1b00005016126..."} 
[2026-08-01 07:36:22] local.INFO: Packet analysis {"connection_id":147113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb11"} 
[2026-08-01 07:36:22] local.INFO: Extracted packet for processing {"connection_id":147113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb11"} 
[2026-08-01 07:36:22] local.INFO: GPS Element Parsed {"raw_longitude":763176960,"raw_latitude":97628592,"longitude_deg":76.317696,"latitude_deg":9.7628592,"altitude":5,"angle":353,"satellites":38,"speed":26,"hex_longitude":"2d7d2800","hex_latitude":"05d1b1b0","is_valid_coordinates":true} 
[2026-08-01 07:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100773376001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:36:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113454271248203776,"note":"Value kept but may cause issues"} 
[2026-08-01 07:36:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020498972382199808,"note":"Value kept but may cause issues"} 
[2026-08-01 07:36:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-01 07:36:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785549904000,"timestamp_ms":1785549904000,"timestamp_seconds":1785549904,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb115880"} 
[2026-08-01 07:36:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:36: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-08-01 07:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-01 07:36:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:36:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:36:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:36:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:36:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:36:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:36:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:36:22] 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-08-01 07:36:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:36:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:36:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100773376001,"66":13559,"24":26,"85":15104,"16":113454271248203776,"45":9020498972382199808},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-08-01 07:36:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:36:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:36:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100773376001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:36:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:36:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113454271248203776,"km_value":113454271248203.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:36:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020498972382199808,"description":"Unknown IO ID 45"} 
[2026-08-01 07:36:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457100773376001,"power":13559,"ignition":26,"unknown_85":15104,"odometer":null,"unknown_45":9020498972382199808}} 
[2026-08-01 07:36:22] local.INFO: DEBUG: GPS processor result {"connection_id":147113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576278,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:36:22] local.INFO: GPS data processed {"connection_id":147113,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:36:22] local.INFO: Acknowledgment sent {"connection_id":147113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:36:25] local.INFO: TCP Data received {"connection_id":145895,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb10a0e8012d5455c00645cb100009014a2d..."} 
[2026-08-01 07:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb10a0e8012d5455c00645cb100009014a2d..."} 
[2026-08-01 07:36:25] local.INFO: Processing buffer {"connection_id":145895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb10a0e8012d5455c00645cb100009014a2d..."} 
[2026-08-01 07:36:25] local.INFO: Packet analysis {"connection_id":145895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb10"} 
[2026-08-01 07:36:25] local.INFO: Extracted packet for processing {"connection_id":145895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb10"} 
[2026-08-01 07:36:25] local.INFO: GPS Element Parsed {"raw_longitude":760501696,"raw_latitude":105237264,"longitude_deg":76.0501696,"latitude_deg":10.5237264,"altitude":9,"angle":330,"satellites":45,"speed":46,"hex_longitude":"2d5455c0","hex_latitude":"0645cb10","is_valid_coordinates":true} 
[2026-08-01 07:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100761344001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365702227437813760,"note":"Value kept but may cause issues"} 
[2026-08-01 07:36:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6081970586214119424,"note":"Value kept but may cause issues"} 
[2026-08-01 07:36:25] 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-08-01 07:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785549857000,"timestamp_ms":1785549857000,"timestamp_seconds":1785549857,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb10a0e8"} 
[2026-08-01 07:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:36:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 07:36:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:36:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":145895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":145895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":145895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:36:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100761344001,"66":27626,"177":206,"19":38144,"24":46,"16":365702227437813760,"45":6081970586214119424},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-08-01 07:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100761344001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:36:25] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-01 07:36:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365702227437813760,"km_value":365702227437813.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:36:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":6081970586214119424,"description":"Unknown IO ID 45"} 
[2026-08-01 07:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100761344001,"power":27626,"unknown_177":206,"unknown_19":38144,"ignition":46,"odometer":null,"unknown_45":6081970586214119424}} 
[2026-08-01 07:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":145895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:36:25] local.INFO: GPS data processed {"connection_id":145895,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:36:25] local.INFO: Acknowledgment sent {"connection_id":145895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:36:47] local.INFO: TCP Data received {"connection_id":147114,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:36:47] local.INFO: Processing buffer {"connection_id":147114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:36:47] local.INFO: IMEI packet received {"connection_id":147114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":147114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:36:49] local.INFO: TCP Data received {"connection_id":147114,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:36:49] local.INFO: Processing buffer {"connection_id":147114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:36:49] local.INFO: IMEI packet received {"connection_id":147114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":147114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:36:50] local.INFO: TCP Data received {"connection_id":147114,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:36:50] local.INFO: Processing buffer {"connection_id":147114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:36:50] local.INFO: IMEI packet received {"connection_id":147114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":147114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:36:57] local.INFO: TCP Data received {"connection_id":147114,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb10c028012d5444800645ea780009014b2e..."} 
[2026-08-01 07:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb10c028012d5444800645ea780009014b2e..."} 
[2026-08-01 07:36:57] local.INFO: Processing buffer {"connection_id":147114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb10c028012d5444800645ea780009014b2e..."} 
[2026-08-01 07:36:57] local.INFO: Packet analysis {"connection_id":147114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb10"} 
[2026-08-01 07:36:57] local.INFO: Extracted packet for processing {"connection_id":147114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb10"} 
[2026-08-01 07:36:57] local.INFO: GPS Element Parsed {"raw_longitude":760497280,"raw_latitude":105245304,"longitude_deg":76.049728,"latitude_deg":10.5245304,"altitude":9,"angle":331,"satellites":46,"speed":45,"hex_longitude":"2d544480","hex_latitude":"0645ea78","is_valid_coordinates":true} 
[2026-08-01 07:36:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:36:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100763392001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:36:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365702669819445248,"note":"Value kept but may cause issues"} 
[2026-08-01 07:36:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6076974405379624960,"note":"Value kept but may cause issues"} 
[2026-08-01 07:36:57] 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-08-01 07:36:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785549865000,"timestamp_ms":1785549865000,"timestamp_seconds":1785549865,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb10c028"} 
[2026-08-01 07:36:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:36:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:36:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-01 07:36:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:36:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:36:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:36:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:36:57] local.INFO: Teltonika packet parsed successfully {"connection_id":147114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:36:57] local.INFO: Passing IMEI to GPS processor {"connection_id":147114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:36:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":147114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:36:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:36:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:36:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:36:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100763392001,"66":27843,"177":206,"19":38144,"24":45,"16":365702669819445248,"45":6076974405379624960},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-08-01 07:36:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:36:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:36:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100763392001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:36:57] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-01 07:36:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:36:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365702669819445248,"km_value":365702669819445.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:36:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":6076974405379624960,"description":"Unknown IO ID 45"} 
[2026-08-01 07:36:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100763392001,"power":27843,"unknown_177":206,"unknown_19":38144,"ignition":45,"odometer":null,"unknown_45":6076974405379624960}} 
[2026-08-01 07:36:57] local.INFO: DEBUG: GPS processor result {"connection_id":147114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:36:57] local.INFO: GPS data processed {"connection_id":147114,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:36:57] local.INFO: Acknowledgment sent {"connection_id":147114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:37:07] local.INFO: TCP Data received {"connection_id":148426,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148426,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:37:07] local.INFO: Processing buffer {"connection_id":148426,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:37:07] local.INFO: IMEI packet received {"connection_id":148426,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":148426,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:37:13] local.INFO: TCP Data received {"connection_id":148426,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148426,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:37:13] local.INFO: Processing buffer {"connection_id":148426,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:37:13] local.INFO: IMEI packet received {"connection_id":148426,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":148426,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:37:13] local.INFO: TCP Data received {"connection_id":148426,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148426,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:37:13] local.INFO: Processing buffer {"connection_id":148426,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:37:13] local.INFO: IMEI packet received {"connection_id":148426,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":148426,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:37:14] local.INFO: TCP Data received {"connection_id":148426,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb1315d0012d7d348005d28fe00009012f29..."} 
[2026-08-01 07:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb1315d0012d7d348005d28fe00009012f29..."} 
[2026-08-01 07:37:14] local.INFO: Processing buffer {"connection_id":148426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb1315d0012d7d348005d28fe00009012f29..."} 
[2026-08-01 07:37:14] local.INFO: Packet analysis {"connection_id":148426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb13"} 
[2026-08-01 07:37:14] local.INFO: Extracted packet for processing {"connection_id":148426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb13"} 
[2026-08-01 07:37:14] local.INFO: GPS Element Parsed {"raw_longitude":763180160,"raw_latitude":97685472,"longitude_deg":76.318016,"latitude_deg":9.7685472,"altitude":9,"angle":303,"satellites":41,"speed":13,"hex_longitude":"2d7d3480","hex_latitude":"05d28fe0","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100804352001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113457062976946176,"note":"Value kept but may cause issues"} 
[2026-08-01 07:37:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191002445824,"note":"Value kept but may cause issues"} 
[2026-08-01 07:37:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785550018000,"timestamp_ms":1785550018000,"timestamp_seconds":1785550018,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb1315d0"} 
[2026-08-01 07:37:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:37: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-08-01 07: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-01 07:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751616787,"note":"Value kept but may cause issues"} 
[2026-08-01 07:37:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-01 07:37:14] local.WARNING: Large IO value detected {"io_id":20,"raw_value":2214592512,"note":"Value kept but may cause issues"} 
[2026-08-01 07:37:14] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3138519160,"note":"Value kept but may cause issues"} 
[2026-08-01 07:37:14] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":36865,"corrected_to":0} 
[2026-08-01 07:37:14] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7848727415437131776,"note":"Value kept but may cause issues"} 
[2026-08-01 07:37:14] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-01 07:37:14] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635674132248517,"note":"Value kept but may cause issues"} 
[2026-08-01 07:37:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2820079822,"corrected_to":0} 
[2026-08-01 07:37:14] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2147865189,"note":"Value kept but may cause issues"} 
[2026-08-01 07:37:14] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-8502569974651367851,"note":"Value kept but may cause issues"} 
[2026-08-01 07:37:14] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-01 07:37:14] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3527665664,"note":"Value kept but may cause issues"} 
[2026-08-01 07:37:14] local.WARNING: Large IO value detected {"io_id":125,"raw_value":2864295763045777417,"note":"Value kept but may cause issues"} 
[2026-08-01 07:37:14] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755562649944305,"note":"Value kept but may cause issues"} 
[2026-08-01 07:37:14] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,197,85,24,241,157,16,20,159,14,45,142,9,41,10,66,6,140,8,246,1,240,138,227,187,210,4,113,205,82,51,120,239,52,2,147,5,30,125,59],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":246,"original":36865,"validated":0},{"io_id":205,"original":2820079822,"validated":0}]} 
[2026-08-01 07:37:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648872565179875328,"timestamp_seconds":648872565179875.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 07:37:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":148426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":148426,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":148426,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:37:14] 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-08-01 07:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100804352001,"66":13656,"197":206,"85":15104,"24":13,"16":113457062976946176,"45":9022258191002445824},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-01 07:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100804352001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:37:14] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-01 07:37:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:37:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113457062976946176,"km_value":113457062976946.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:37:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191002445824,"description":"Unknown IO ID 45"} 
[2026-08-01 07:37:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100804352001,"power":13656,"unknown_197":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":9022258191002445824}} 
[2026-08-01 07:37:14] local.INFO: DEBUG: GPS processor result {"connection_id":148426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576281,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:37:14] local.INFO: GPS data processed {"connection_id":148426,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:37:14] local.INFO: Acknowledgment sent {"connection_id":148426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:37:15] local.INFO: TCP Data received {"connection_id":148426,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb1319b8012d7d330005d290880009012429..."} 
[2026-08-01 07:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb1319b8012d7d330005d290880009012429..."} 
[2026-08-01 07:37:15] local.INFO: Processing buffer {"connection_id":148426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb1319b8012d7d330005d290880009012429..."} 
[2026-08-01 07:37:15] local.INFO: Packet analysis {"connection_id":148426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb13"} 
[2026-08-01 07:37:15] local.INFO: Extracted packet for processing {"connection_id":148426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb13"} 
[2026-08-01 07:37:15] local.INFO: GPS Element Parsed {"raw_longitude":763179776,"raw_latitude":97685640,"longitude_deg":76.3179776,"latitude_deg":9.768564,"altitude":9,"angle":292,"satellites":41,"speed":15,"hex_longitude":"2d7d3300","hex_latitude":"05d29088","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100804608001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113457084451782656,"note":"Value kept but may cause issues"} 
[2026-08-01 07:37:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716025782272,"note":"Value kept but may cause issues"} 
[2026-08-01 07:37:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785550019000,"timestamp_ms":1785550019000,"timestamp_seconds":1785550019,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb1319b8"} 
[2026-08-01 07:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:37: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-08-01 07: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-01 07:37: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-08-01 07: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-08-01 07:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148426,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148426,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:37:15] 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-08-01 07:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100804608001,"66":13656,"197":206,"85":15104,"24":15,"16":113457084451782656,"45":9021976716025782272},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-01 07:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100804608001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:37:15] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-01 07:37:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113457084451782656,"km_value":113457084451782.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:37:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716025782272,"description":"Unknown IO ID 45"} 
[2026-08-01 07:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100804608001,"power":13656,"unknown_197":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":9021976716025782272}} 
[2026-08-01 07:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":148426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576282,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:37:15] local.INFO: GPS data processed {"connection_id":148426,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:37:15] local.INFO: Acknowledgment sent {"connection_id":148426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:37:29] local.INFO: TCP Data received {"connection_id":147114,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb10df68012d543380064609d00009014a2e..."} 
[2026-08-01 07:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb10df68012d543380064609d00009014a2e..."} 
[2026-08-01 07:37:29] local.INFO: Processing buffer {"connection_id":147114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb10df68012d543380064609d00009014a2e..."} 
[2026-08-01 07:37:29] local.INFO: Packet analysis {"connection_id":147114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb10"} 
[2026-08-01 07:37:29] local.INFO: Extracted packet for processing {"connection_id":147114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb10"} 
[2026-08-01 07:37:29] local.INFO: GPS Element Parsed {"raw_longitude":760492928,"raw_latitude":105253328,"longitude_deg":76.0492928,"latitude_deg":10.5253328,"altitude":9,"angle":330,"satellites":46,"speed":45,"hex_longitude":"2d543380","hex_latitude":"064609d0","is_valid_coordinates":true} 
[2026-08-01 07:37:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:37:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100765440001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:37:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365703112201076736,"note":"Value kept but may cause issues"} 
[2026-08-01 07:37:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6072118962033424384,"note":"Value kept but may cause issues"} 
[2026-08-01 07:37:29] 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-08-01 07:37:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785549873000,"timestamp_ms":1785549873000,"timestamp_seconds":1785549873,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb10df68"} 
[2026-08-01 07:37:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:37: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-08-01 07:37:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 07:37: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-08-01 07:37:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:37:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:37:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:37:29] local.INFO: Teltonika packet parsed successfully {"connection_id":147114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:37:29] local.INFO: Passing IMEI to GPS processor {"connection_id":147114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:37:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":147114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:37:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:37:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:37:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:37:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100765440001,"66":27767,"177":206,"19":38144,"24":45,"16":365703112201076736,"45":6072118962033424384},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-08-01 07:37:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:37:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:37:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100765440001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:37:29] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-01 07:37:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:37:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365703112201076736,"km_value":365703112201076.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:37:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":6072118962033424384,"description":"Unknown IO ID 45"} 
[2026-08-01 07:37:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100765440001,"power":27767,"unknown_177":206,"unknown_19":38144,"ignition":45,"odometer":null,"unknown_45":6072118962033424384}} 
[2026-08-01 07:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":147114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:37:29] local.INFO: GPS data processed {"connection_id":147114,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:37:29] local.INFO: Acknowledgment sent {"connection_id":147114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:37:45] local.INFO: TCP Data received {"connection_id":148426,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb132188012d7d2fc005d29138000a011229..."} 
[2026-08-01 07:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb132188012d7d2fc005d29138000a011229..."} 
[2026-08-01 07:37:45] local.INFO: Processing buffer {"connection_id":148426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb132188012d7d2fc005d29138000a011229..."} 
[2026-08-01 07:37:45] local.INFO: Packet analysis {"connection_id":148426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb13"} 
[2026-08-01 07:37:45] local.INFO: Extracted packet for processing {"connection_id":148426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb13"} 
[2026-08-01 07:37:45] local.INFO: GPS Element Parsed {"raw_longitude":763178944,"raw_latitude":97685816,"longitude_deg":76.3178944,"latitude_deg":9.7685816,"altitude":10,"angle":274,"satellites":41,"speed":16,"hex_longitude":"2d7d2fc0","hex_latitude":"05d29138","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100804864001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113457127401455616,"note":"Value kept but may cause issues"} 
[2026-08-01 07:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021554503560759296,"note":"Value kept but may cause issues"} 
[2026-08-01 07:37:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785550021000,"timestamp_ms":1785550021000,"timestamp_seconds":1785550021,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb132188"} 
[2026-08-01 07:37:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:37:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-01 07:37:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07: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-08-01 07:37:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148426,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148426,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:37:45] 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-08-01 07:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100804864001,"66":13472,"197":206,"85":15104,"24":16,"16":113457127401455616,"45":9021554503560759296},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-01 07:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100804864001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:37:45] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-01 07:37:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113457127401455616,"km_value":113457127401455.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021554503560759296,"description":"Unknown IO ID 45"} 
[2026-08-01 07:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100804864001,"power":13472,"unknown_197":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":9021554503560759296}} 
[2026-08-01 07:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":148426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576284,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:37:45] local.INFO: GPS data processed {"connection_id":148426,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:37:45] local.INFO: Acknowledgment sent {"connection_id":148426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:37:50] local.INFO: TCP Data received {"connection_id":146093,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:37:50] local.INFO: Processing buffer {"connection_id":146093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:37:50] local.INFO: IMEI packet received {"connection_id":146093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":146093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:37:51] local.INFO: TCP Data received {"connection_id":146093,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:37:51] local.INFO: Processing buffer {"connection_id":146093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:37:51] local.INFO: IMEI packet received {"connection_id":146093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":146093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:37:55] local.INFO: TCP Data received {"connection_id":146093,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:37:55] local.INFO: Processing buffer {"connection_id":146093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:37:55] local.INFO: IMEI packet received {"connection_id":146093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":146093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:37:57] local.INFO: TCP Data received {"connection_id":146093,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb12e6f0012d53da0006478828000a01672d..."} 
[2026-08-01 07:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb12e6f0012d53da0006478828000a01672d..."} 
[2026-08-01 07:37:57] local.INFO: Processing buffer {"connection_id":146093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb12e6f0012d53da0006478828000a01672d..."} 
[2026-08-01 07:37:57] local.INFO: Packet analysis {"connection_id":146093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb12"} 
[2026-08-01 07:37:57] local.INFO: Extracted packet for processing {"connection_id":146093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb12"} 
[2026-08-01 07:37:57] local.INFO: GPS Element Parsed {"raw_longitude":760470016,"raw_latitude":105351208,"longitude_deg":76.0470016,"latitude_deg":10.5351208,"altitude":10,"angle":359,"satellites":45,"speed":29,"hex_longitude":"2d53da00","hex_latitude":"06478828","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:37:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100798208001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:37:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365708107248041984,"note":"Value kept but may cause issues"} 
[2026-08-01 07:37:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042282614526840832,"note":"Value kept but may cause issues"} 
[2026-08-01 07:37:57] 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-08-01 07:37:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785550006000,"timestamp_ms":1785550006000,"timestamp_seconds":1785550006,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb12e6f0"} 
[2026-08-01 07:37:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:37:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 07:37:57] 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-08-01 07: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-08-01 07:37:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:37:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:37:57] local.INFO: Teltonika packet parsed successfully {"connection_id":146093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:37:57] local.INFO: Passing IMEI to GPS processor {"connection_id":146093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:37:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":146093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:37:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:37:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:37:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:37:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100798208001,"66":27767,"177":206,"19":38144,"24":29,"16":365708107248041984,"45":6042282614526840832},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-08-01 07:37:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:37:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:37:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100798208001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:37:57] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-01 07:37:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:37:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365708107248041984,"km_value":365708107248042.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:37:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042282614526840832,"description":"Unknown IO ID 45"} 
[2026-08-01 07:37:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100798208001,"power":27767,"unknown_177":206,"unknown_19":38144,"ignition":29,"odometer":null,"unknown_45":6042282614526840832}} 
[2026-08-01 07:37:57] local.INFO: DEBUG: GPS processor result {"connection_id":146093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:37:57] local.INFO: GPS data processed {"connection_id":146093,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:37:57] local.INFO: Acknowledgment sent {"connection_id":146093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:38:01] local.INFO: TCP Data received {"connection_id":146093,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb1319b8012d53da000647ac38000800002d..."} 
[2026-08-01 07:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb1319b8012d53da000647ac38000800002d..."} 
[2026-08-01 07:38:01] local.INFO: Processing buffer {"connection_id":146093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb1319b8012d53da000647ac38000800002d..."} 
[2026-08-01 07:38:01] local.INFO: Packet analysis {"connection_id":146093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb13"} 
[2026-08-01 07:38:01] local.INFO: Extracted packet for processing {"connection_id":146093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb13"} 
[2026-08-01 07:38:01] local.INFO: GPS Element Parsed {"raw_longitude":760470016,"raw_latitude":105360440,"longitude_deg":76.0470016,"latitude_deg":10.536044,"altitude":8,"angle":0,"satellites":45,"speed":30,"hex_longitude":"2d53da00","hex_latitude":"0647ac38","is_valid_coordinates":true} 
[2026-08-01 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-08-01 07:38:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100801536001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:38:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365708553924640768,"note":"Value kept but may cause issues"} 
[2026-08-01 07:38:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042141877040850944,"note":"Value kept but may cause issues"} 
[2026-08-01 07:38:01] 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-08-01 07:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785550019000,"timestamp_ms":1785550019000,"timestamp_seconds":1785550019,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb1319b8"} 
[2026-08-01 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-08-01 07:38: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-08-01 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":119,"data_length":795,"current_offset":136} 
[2026-08-01 07:38: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-08-01 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-08-01 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-08-01 07:38:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":146093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":146093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":146093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:38:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:38:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:38:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:38:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100801536001,"66":27832,"177":206,"19":38144,"24":30,"16":365708553924640768,"45":6042141877040850944},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-08-01 07:38:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:38:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:38:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100801536001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:38:01] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-01 07:38:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:38:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365708553924640768,"km_value":365708553924640.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:38:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042141877040850944,"description":"Unknown IO ID 45"} 
[2026-08-01 07:38:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100801536001,"power":27832,"unknown_177":206,"unknown_19":38144,"ignition":30,"odometer":null,"unknown_45":6042141877040850944}} 
[2026-08-01 07:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":146093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:38:01] local.INFO: GPS data processed {"connection_id":146093,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:38:01] local.INFO: Acknowledgment sent {"connection_id":146093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:38:08] local.INFO: TCP Data received {"connection_id":146094,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146094,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:38:08] local.INFO: Processing buffer {"connection_id":146094,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:38:08] local.INFO: IMEI packet received {"connection_id":146094,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":146094,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:38:17] local.INFO: TCP Data received {"connection_id":146094,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146094,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:38:17] local.INFO: Processing buffer {"connection_id":146094,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:38:17] local.INFO: IMEI packet received {"connection_id":146094,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":146094,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:38:19] local.INFO: TCP Data received {"connection_id":146094,"ip":"42.106.6.38","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-01 07:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146094,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-01 07:38:19] local.INFO: Processing buffer {"connection_id":146094,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-01 07:38:19] local.INFO: IMEI packet received {"connection_id":146094,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":146094,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:38:24] local.INFO: TCP Data received {"connection_id":146094,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb1340c8012d7d2c4005d29160000b010128..."} 
[2026-08-01 07:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb1340c8012d7d2c4005d29160000b010128..."} 
[2026-08-01 07:38:24] local.INFO: Processing buffer {"connection_id":146094,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019fbb..."} 
[2026-08-01 07:38:24] local.INFO: IMEI packet received {"connection_id":146094,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":146094,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:38:25] local.INFO: TCP Data received {"connection_id":146094,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb134898012d7d294005d29160000a010e28..."} 
[2026-08-01 07:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb134898012d7d294005d29160000a010e28..."} 
[2026-08-01 07:38:25] local.INFO: Processing buffer {"connection_id":146094,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fbb1340c8012d7d2c4005d29160000b010128..."} 
[2026-08-01 07:38:25] local.INFO: Packet analysis {"connection_id":146094,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fbb13"} 
[2026-08-01 07:38:25] local.INFO: Extracted packet for processing {"connection_id":146094,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb13"} 
[2026-08-01 07:38:25] local.INFO: GPS Element Parsed {"raw_longitude":763178048,"raw_latitude":97685856,"longitude_deg":76.3178048,"latitude_deg":9.7685856,"altitude":11,"angle":257,"satellites":40,"speed":9,"hex_longitude":"2d7d2c40","hex_latitude":"05d29160","is_valid_coordinates":true} 
[2026-08-01 07:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100805376001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113457183236030464,"note":"Value kept but may cause issues"} 
[2026-08-01 07:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020639709886494720,"note":"Value kept but may cause issues"} 
[2026-08-01 07:38:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785550029000,"timestamp_ms":1785550029000,"timestamp_seconds":1785550029,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb1340c8"} 
[2026-08-01 07:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:38:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-01 07:38:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:38:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":146094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":146094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":146094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:38:25] 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-08-01 07:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100805376001,"66":13559,"117":206,"85":15104,"24":9,"16":113457183236030464,"45":9020639709886494720},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-01 07:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100805376001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:38:25] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-01 07:38:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113457183236030464,"km_value":113457183236030.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020639709886494720,"description":"Unknown IO ID 45"} 
[2026-08-01 07:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100805376001,"power":13559,"unknown_117":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9020639709886494720}} 
[2026-08-01 07:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":146094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576287,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:38:25] local.INFO: GPS data processed {"connection_id":146094,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:38:25] local.INFO: Acknowledgment sent {"connection_id":146094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:38:25] local.INFO: Packet analysis {"connection_id":146094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb13"} 
[2026-08-01 07:38:25] local.INFO: Extracted packet for processing {"connection_id":146094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb13"} 
[2026-08-01 07:38:25] local.INFO: GPS Element Parsed {"raw_longitude":763177280,"raw_latitude":97685856,"longitude_deg":76.317728,"latitude_deg":9.7685856,"altitude":10,"angle":270,"satellites":40,"speed":18,"hex_longitude":"2d7d2940","hex_latitude":"05d29160","is_valid_coordinates":true} 
[2026-08-01 07:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100807424001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113457221890736128,"note":"Value kept but may cause issues"} 
[2026-08-01 07:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019654547468017664,"note":"Value kept but may cause issues"} 
[2026-08-01 07:38:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785550031000,"timestamp_ms":1785550031000,"timestamp_seconds":1785550031,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb134898"} 
[2026-08-01 07:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:38:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-01 07:38:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:38:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":146094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":146094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":146094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:38:25] 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-08-01 07:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100807424001,"66":13722,"117":206,"85":15104,"24":18,"16":113457221890736128,"45":9019654547468017664},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-01 07:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100807424001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:38:25] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-01 07:38:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113457221890736128,"km_value":113457221890736.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019654547468017664,"description":"Unknown IO ID 45"} 
[2026-08-01 07:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100807424001,"power":13722,"unknown_117":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":9019654547468017664}} 
[2026-08-01 07:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":146094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576288,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:38:25] local.INFO: GPS data processed {"connection_id":146094,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:38:25] local.INFO: Acknowledgment sent {"connection_id":146094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:38:26] local.INFO: TCP Data received {"connection_id":146094,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb138330012d7d050005d291980006011126..."} 
[2026-08-01 07:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb138330012d7d050005d291980006011126..."} 
[2026-08-01 07:38:26] local.INFO: Processing buffer {"connection_id":146094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb138330012d7d050005d291980006011126..."} 
[2026-08-01 07:38:26] local.INFO: Packet analysis {"connection_id":146094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb13"} 
[2026-08-01 07:38:26] local.INFO: Extracted packet for processing {"connection_id":146094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb13"} 
[2026-08-01 07:38:26] local.INFO: GPS Element Parsed {"raw_longitude":763168000,"raw_latitude":97685912,"longitude_deg":76.3168,"latitude_deg":9.7685912,"altitude":6,"angle":273,"satellites":38,"speed":13,"hex_longitude":"2d7d0500","hex_latitude":"05d29198","is_valid_coordinates":true} 
[2026-08-01 07:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:38:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100807936001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:38:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113457664272367616,"note":"Value kept but may cause issues"} 
[2026-08-01 07:38:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018810122537885696,"note":"Value kept but may cause issues"} 
[2026-08-01 07:38:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:38:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785550046000,"timestamp_ms":1785550046000,"timestamp_seconds":1785550046,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb138330"} 
[2026-08-01 07:38:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:38: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-08-01 07:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-01 07:38:26] 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-08-01 07:38:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:38:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:38:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:38:26] local.INFO: Teltonika packet parsed successfully {"connection_id":146094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:38:26] local.INFO: Passing IMEI to GPS processor {"connection_id":146094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:38:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":146094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:38:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:38:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:38:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:38:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100807936001,"66":13450,"117":206,"85":15104,"24":13,"16":113457664272367616,"45":9018810122537885696},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-01 07:38:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:38:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:38:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100807936001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:38:26] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-01 07:38:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:38:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113457664272367616,"km_value":113457664272367.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:38:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018810122537885696,"description":"Unknown IO ID 45"} 
[2026-08-01 07:38:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100807936001,"power":13450,"unknown_117":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":9018810122537885696}} 
[2026-08-01 07:38:26] local.INFO: DEBUG: GPS processor result {"connection_id":146094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576289,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:38:26] local.INFO: GPS data processed {"connection_id":146094,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:38:26] local.INFO: Acknowledgment sent {"connection_id":146094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:38:46] local.INFO: TCP Data received {"connection_id":148427,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:38:46] local.INFO: Processing buffer {"connection_id":148427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:38:46] local.INFO: IMEI packet received {"connection_id":148427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":148427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:38:51] local.INFO: TCP Data received {"connection_id":148427,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:38:51] local.INFO: Processing buffer {"connection_id":148427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:38:51] local.INFO: IMEI packet received {"connection_id":148427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":148427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:38:54] local.INFO: TCP Data received {"connection_id":148427,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb134898012d53d9400647d1b0000700022d..."} 
[2026-08-01 07:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb134898012d53d9400647d1b0000700022d..."} 
[2026-08-01 07:38:54] local.INFO: Processing buffer {"connection_id":148427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb134898012d53d9400647d1b0000700022d..."} 
[2026-08-01 07:38:54] local.INFO: Packet analysis {"connection_id":148427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb13"} 
[2026-08-01 07:38:54] local.INFO: Extracted packet for processing {"connection_id":148427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb13"} 
[2026-08-01 07:38:54] local.INFO: GPS Element Parsed {"raw_longitude":760469824,"raw_latitude":105370032,"longitude_deg":76.0469824,"latitude_deg":10.5370032,"altitude":7,"angle":2,"satellites":45,"speed":30,"hex_longitude":"2d53d940","hex_latitude":"0647d1b0","is_valid_coordinates":true} 
[2026-08-01 07:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100804864001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365709017781108736,"note":"Value kept but may cause issues"} 
[2026-08-01 07:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042141877043214336,"note":"Value kept but may cause issues"} 
[2026-08-01 07:38:54] 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-08-01 07:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785550031000,"timestamp_ms":1785550031000,"timestamp_seconds":1785550031,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb134898"} 
[2026-08-01 07:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:38:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-01 07:38:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:38:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:38:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100804864001,"66":27745,"177":206,"19":38144,"24":30,"16":365709017781108736,"45":6042141877043214336},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-08-01 07:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100804864001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:38:54] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-01 07:38:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365709017781108736,"km_value":365709017781108.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042141877043214336,"description":"Unknown IO ID 45"} 
[2026-08-01 07:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100804864001,"power":27745,"unknown_177":206,"unknown_19":38144,"ignition":30,"odometer":null,"unknown_45":6042141877043214336}} 
[2026-08-01 07:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":148427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:38:54] local.INFO: GPS data processed {"connection_id":148427,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:38:54] local.INFO: Acknowledgment sent {"connection_id":148427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:39:07] local.INFO: TCP Data received {"connection_id":147115,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147115,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:39:07] local.INFO: Processing buffer {"connection_id":147115,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:39:07] local.INFO: IMEI packet received {"connection_id":147115,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":147115,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:39:12] local.INFO: TCP Data received {"connection_id":147115,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147115,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:39:12] local.INFO: Processing buffer {"connection_id":147115,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:39:12] local.INFO: IMEI packet received {"connection_id":147115,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":147115,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:39:13] local.INFO: TCP Data received {"connection_id":147115,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb13c598012d7ce4c005d28fc80005010424..."} 
[2026-08-01 07:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb13c598012d7ce4c005d28fc80005010424..."} 
[2026-08-01 07:39:13] local.INFO: Processing buffer {"connection_id":147115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb13c598012d7ce4c005d28fc80005010424..."} 
[2026-08-01 07:39:13] local.INFO: Packet analysis {"connection_id":147115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb13"} 
[2026-08-01 07:39:13] local.INFO: Extracted packet for processing {"connection_id":147115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb13"} 
[2026-08-01 07:39:13] local.INFO: GPS Element Parsed {"raw_longitude":763159744,"raw_latitude":97685448,"longitude_deg":76.3159744,"latitude_deg":9.7685448,"altitude":5,"angle":260,"satellites":36,"speed":23,"hex_longitude":"2d7ce4c0","hex_latitude":"05d28fc8","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100811776001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113458059409358848,"note":"Value kept but may cause issues"} 
[2026-08-01 07:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9008606654632138752,"note":"Value kept but may cause issues"} 
[2026-08-01 07:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785550063000,"timestamp_ms":1785550063000,"timestamp_seconds":1785550063,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb13c598"} 
[2026-08-01 07:39:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:39:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-01 07:39:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07: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-08-01 07:39:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":147115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":147115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":147115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:39:13] 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-08-01 07:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100811776001,"66":13602,"117":206,"85":15104,"24":23,"16":113458059409358848,"45":9008606654632138752},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-01 07:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100811776001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:39:13] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-01 07:39:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113458059409358848,"km_value":113458059409358.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:39:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9008606654632138752,"description":"Unknown IO ID 45"} 
[2026-08-01 07:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100811776001,"power":13602,"unknown_117":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":9008606654632138752}} 
[2026-08-01 07:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":147115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576291,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:39:13] local.INFO: GPS data processed {"connection_id":147115,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:39:13] local.INFO: Acknowledgment sent {"connection_id":147115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:39:14] local.INFO: TCP Data received {"connection_id":147115,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb13eca8012d7cc80005d28d300006010f25..."} 
[2026-08-01 07:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb13eca8012d7cc80005d28d300006010f25..."} 
[2026-08-01 07:39:14] local.INFO: Processing buffer {"connection_id":147115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb13eca8012d7cc80005d28d300006010f25..."} 
[2026-08-01 07:39:14] local.INFO: Packet analysis {"connection_id":147115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb13"} 
[2026-08-01 07:39:14] local.INFO: Extracted packet for processing {"connection_id":147115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb13"} 
[2026-08-01 07:39:14] local.INFO: GPS Element Parsed {"raw_longitude":763152384,"raw_latitude":97684784,"longitude_deg":76.3152384,"latitude_deg":9.7684784,"altitude":6,"angle":271,"satellites":37,"speed":33,"hex_longitude":"2d7cc800","hex_latitude":"05d28d30","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100816128001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113458411596677120,"note":"Value kept but may cause issues"} 
[2026-08-01 07:39:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8999529086633101312,"note":"Value kept but may cause issues"} 
[2026-08-01 07:39:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785550073000,"timestamp_ms":1785550073000,"timestamp_seconds":1785550073,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb13eca8"} 
[2026-08-01 07:39:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:39:14] 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-08-01 07: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-01 07:39:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07: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-08-01 07:39:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":147115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":147115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":147115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:39:14] 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-08-01 07:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100816128001,"66":13678,"117":206,"85":15104,"24":33,"16":113458411596677120,"45":8999529086633101312},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-01 07:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100816128001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:39:14] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-01 07:39:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113458411596677120,"km_value":113458411596677.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:39:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8999529086633101312,"description":"Unknown IO ID 45"} 
[2026-08-01 07:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100816128001,"power":13678,"unknown_117":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8999529086633101312}} 
[2026-08-01 07:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":147115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576292,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:39:14] local.INFO: GPS data processed {"connection_id":147115,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:39:14] local.INFO: Acknowledgment sent {"connection_id":147115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:39:25] local.INFO: TCP Data received {"connection_id":148427,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb137b60012d53d9800647f550000701642c..."} 
[2026-08-01 07:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb137b60012d53d9800647f550000701642c..."} 
[2026-08-01 07:39:25] local.INFO: Processing buffer {"connection_id":148427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb137b60012d53d9800647f550000701642c..."} 
[2026-08-01 07:39:25] local.INFO: Packet analysis {"connection_id":148427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb13"} 
[2026-08-01 07:39:25] local.INFO: Extracted packet for processing {"connection_id":148427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb13"} 
[2026-08-01 07:39:25] local.INFO: GPS Element Parsed {"raw_longitude":760469888,"raw_latitude":105379152,"longitude_deg":76.0469888,"latitude_deg":10.5379152,"altitude":7,"angle":356,"satellites":44,"speed":30,"hex_longitude":"2d53d980","hex_latitude":"0647f550","is_valid_coordinates":true} 
[2026-08-01 07:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100807936001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365709460162740224,"note":"Value kept but may cause issues"} 
[2026-08-01 07:39:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6041930770813136896,"note":"Value kept but may cause issues"} 
[2026-08-01 07:39:25] 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-08-01 07:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785550044000,"timestamp_ms":1785550044000,"timestamp_seconds":1785550044,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb137b60"} 
[2026-08-01 07:39:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:39:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 07:39:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:39:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:39:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:39:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100807936001,"66":27745,"177":206,"19":38144,"24":30,"16":365709460162740224,"45":6041930770813136896},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-08-01 07:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100807936001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:39:25] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-01 07:39:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365709460162740224,"km_value":365709460162740.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:39:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":6041930770813136896,"description":"Unknown IO ID 45"} 
[2026-08-01 07:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100807936001,"power":27745,"unknown_177":206,"unknown_19":38144,"ignition":30,"odometer":null,"unknown_45":6041930770813136896}} 
[2026-08-01 07:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":148427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:39:25] local.INFO: GPS data processed {"connection_id":148427,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:39:25] local.INFO: Acknowledgment sent {"connection_id":148427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:39:45] local.INFO: TCP Data received {"connection_id":148428,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:39:45] local.INFO: Processing buffer {"connection_id":148428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:39:45] local.INFO: IMEI packet received {"connection_id":148428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":148428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:39:46] local.INFO: TCP Data received {"connection_id":148428,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:39:46] local.INFO: Processing buffer {"connection_id":148428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:39:46] local.INFO: IMEI packet received {"connection_id":148428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":148428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:39:48] local.INFO: TCP Data received {"connection_id":147115,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb157730012d7bc6c005d2a918000c013d25..."} 
[2026-08-01 07:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb157730012d7bc6c005d2a918000c013d25..."} 
[2026-08-01 07:39:48] local.INFO: Processing buffer {"connection_id":147115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb157730012d7bc6c005d2a918000c013d25..."} 
[2026-08-01 07:39:48] local.INFO: Packet analysis {"connection_id":147115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb15"} 
[2026-08-01 07:39:48] local.INFO: Extracted packet for processing {"connection_id":147115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb15"} 
[2026-08-01 07:39:48] local.INFO: GPS Element Parsed {"raw_longitude":763086528,"raw_latitude":97691928,"longitude_deg":76.3086528,"latitude_deg":9.7691928,"altitude":12,"angle":317,"satellites":37,"speed":8,"hex_longitude":"2d7bc6c0","hex_latitude":"05d2a918","is_valid_coordinates":true} 
[2026-08-01 07:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100841216001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113461637117116416,"note":"Value kept but may cause issues"} 
[2026-08-01 07:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8922334574271823872,"note":"Value kept but may cause issues"} 
[2026-08-01 07:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785550174000,"timestamp_ms":1785550174000,"timestamp_seconds":1785550174,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb157730"} 
[2026-08-01 07:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:39:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-01 07:39:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:39:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:39:48] 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-08-01 07:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100841216001,"66":13613,"209":206,"85":15104,"24":8,"16":113461637117116416,"45":8922334574271823872},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-08-01 07:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100841216001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:39:48] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-01 07:39:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113461637117116416,"km_value":113461637117116.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8922334574271823872,"description":"Unknown IO ID 45"} 
[2026-08-01 07:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100841216001,"power":13613,"unknown_209":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8922334574271823872}} 
[2026-08-01 07:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":147115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576294,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:39:48] local.INFO: GPS data processed {"connection_id":147115,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:39:48] local.INFO: Acknowledgment sent {"connection_id":147115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:39:50] local.INFO: TCP Data received {"connection_id":148428,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:39:50] local.INFO: Processing buffer {"connection_id":148428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:39:50] local.INFO: IMEI packet received {"connection_id":148428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":148428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:39:53] local.INFO: TCP Data received {"connection_id":148428,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb13a658012d53d7c006481878000901612f..."} 
[2026-08-01 07:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb13a658012d53d7c006481878000901612f..."} 
[2026-08-01 07:39:53] local.INFO: Processing buffer {"connection_id":148428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb13a658012d53d7c006481878000901612f..."} 
[2026-08-01 07:39:53] local.INFO: Packet analysis {"connection_id":148428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb13"} 
[2026-08-01 07:39:53] local.INFO: Extracted packet for processing {"connection_id":148428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb13"} 
[2026-08-01 07:39:53] local.INFO: GPS Element Parsed {"raw_longitude":760469440,"raw_latitude":105388152,"longitude_deg":76.046944,"latitude_deg":10.5388152,"altitude":9,"angle":353,"satellites":47,"speed":32,"hex_longitude":"2d53d7c0","hex_latitude":"06481878","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:39:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100811264001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:39:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365709898249404416,"note":"Value kept but may cause issues"} 
[2026-08-01 07:39:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042001139559649280,"note":"Value kept but may cause issues"} 
[2026-08-01 07:39:53] 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-08-01 07:39:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785550055000,"timestamp_ms":1785550055000,"timestamp_seconds":1785550055,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb13a658"} 
[2026-08-01 07:39:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:39:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 07:39:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07: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-08-01 07:39:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:39:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:39:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:39:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:39:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:39:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:39:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:39:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:39:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100811264001,"66":27332,"177":206,"19":38144,"24":32,"16":365709898249404416,"45":6042001139559649280},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-08-01 07:39:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:39:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:39:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100811264001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:39:53] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-01 07:39:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:39:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365709898249404416,"km_value":365709898249404.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:39:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042001139559649280,"description":"Unknown IO ID 45"} 
[2026-08-01 07:39:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100811264001,"power":27332,"unknown_177":206,"unknown_19":38144,"ignition":32,"odometer":null,"unknown_45":6042001139559649280}} 
[2026-08-01 07:39:53] local.INFO: DEBUG: GPS processor result {"connection_id":148428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:39:53] local.INFO: GPS data processed {"connection_id":148428,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:39:53] local.INFO: Acknowledgment sent {"connection_id":148428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:40:05] local.INFO: TCP Data received {"connection_id":146095,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146095,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:40:05] local.INFO: Processing buffer {"connection_id":146095,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:40:05] local.INFO: IMEI packet received {"connection_id":146095,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":146095,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:40:08] local.INFO: TCP Data received {"connection_id":146095,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146095,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:40:08] local.INFO: Processing buffer {"connection_id":146095,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:40:08] local.INFO: IMEI packet received {"connection_id":146095,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":146095,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:40:12] local.INFO: TCP Data received {"connection_id":146095,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146095,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:40:12] local.INFO: Processing buffer {"connection_id":146095,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:40:12] local.INFO: IMEI packet received {"connection_id":146095,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":146095,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:40:13] local.INFO: TCP Data received {"connection_id":146095,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb157f00012d7bc60005d2aaa8000c015025..."} 
[2026-08-01 07:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb157f00012d7bc60005d2aaa8000c015025..."} 
[2026-08-01 07:40:13] local.INFO: Processing buffer {"connection_id":146095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb157f00012d7bc60005d2aaa8000c015025..."} 
[2026-08-01 07:40:13] local.INFO: Packet analysis {"connection_id":146095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb15"} 
[2026-08-01 07:40:13] local.INFO: Extracted packet for processing {"connection_id":146095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb15"} 
[2026-08-01 07:40:13] local.INFO: GPS Element Parsed {"raw_longitude":763086336,"raw_latitude":97692328,"longitude_deg":76.3086336,"latitude_deg":9.7692328,"altitude":12,"angle":336,"satellites":37,"speed":10,"hex_longitude":"2d7bc600","hex_latitude":"05d2aaa8","is_valid_coordinates":true} 
[2026-08-01 07:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:40:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100844544001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:40:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113461658591952896,"note":"Value kept but may cause issues"} 
[2026-08-01 07:40:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8919027243295512576,"note":"Value kept but may cause issues"} 
[2026-08-01 07:40:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:40:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785550176000,"timestamp_ms":1785550176000,"timestamp_seconds":1785550176,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb157f00"} 
[2026-08-01 07:40:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:40:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-08-01 07:40:13] 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-08-01 07:40:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:40:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:40:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:40:13] local.INFO: Teltonika packet parsed successfully {"connection_id":146095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:40:13] local.INFO: Passing IMEI to GPS processor {"connection_id":146095,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:40:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":146095,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:40:13] 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-08-01 07:40:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:40:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:40:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100844544001,"66":13624,"209":206,"85":15104,"24":10,"16":113461658591952896,"45":8919027243295512576},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-08-01 07:40:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:40:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:40:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100844544001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:40:13] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-01 07:40:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:40:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113461658591952896,"km_value":113461658591952.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:40:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8919027243295512576,"description":"Unknown IO ID 45"} 
[2026-08-01 07:40:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100844544001,"power":13624,"unknown_209":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8919027243295512576}} 
[2026-08-01 07:40:13] local.INFO: DEBUG: GPS processor result {"connection_id":146095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576296,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:40:13] local.INFO: GPS data processed {"connection_id":146095,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:40:13] local.INFO: Acknowledgment sent {"connection_id":146095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:40:24] local.INFO: TCP Data received {"connection_id":148428,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb13d538012d53d04006483b48000a01572e..."} 
[2026-08-01 07:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb13d538012d53d04006483b48000a01572e..."} 
[2026-08-01 07:40:24] local.INFO: Processing buffer {"connection_id":148428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb13d538012d53d04006483b48000a01572e..."} 
[2026-08-01 07:40:24] local.INFO: Packet analysis {"connection_id":148428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb13"} 
[2026-08-01 07:40:24] local.INFO: Extracted packet for processing {"connection_id":148428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb13"} 
[2026-08-01 07:40:24] local.INFO: GPS Element Parsed {"raw_longitude":760467520,"raw_latitude":105397064,"longitude_deg":76.046752,"latitude_deg":10.5397064,"altitude":10,"angle":343,"satellites":46,"speed":28,"hex_longitude":"2d53d040","hex_latitude":"06483b48","is_valid_coordinates":true} 
[2026-08-01 07:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100814080001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365710340631035904,"note":"Value kept but may cause issues"} 
[2026-08-01 07:40:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6041508558352709632,"note":"Value kept but may cause issues"} 
[2026-08-01 07:40:24] 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-08-01 07:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785550067000,"timestamp_ms":1785550067000,"timestamp_seconds":1785550067,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb13d538"} 
[2026-08-01 07:40:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:40:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-01 07:40:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07: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-08-01 07:40:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":148428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":148428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":148428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:40:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100814080001,"66":27800,"177":206,"19":38144,"24":28,"16":365710340631035904,"45":6041508558352709632},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-08-01 07:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100814080001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:40:24] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-01 07:40:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365710340631035904,"km_value":365710340631035.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:40:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":6041508558352709632,"description":"Unknown IO ID 45"} 
[2026-08-01 07:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100814080001,"power":27800,"unknown_177":206,"unknown_19":38144,"ignition":28,"odometer":null,"unknown_45":6041508558352709632}} 
[2026-08-01 07:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":148428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:40:24] local.INFO: GPS data processed {"connection_id":148428,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:40:24] local.INFO: Acknowledgment sent {"connection_id":148428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:40:44] local.INFO: TCP Data received {"connection_id":146095,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb164638012d7b954005d349a00005012426..."} 
[2026-08-01 07:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb164638012d7b954005d349a00005012426..."} 
[2026-08-01 07:40:44] local.INFO: Processing buffer {"connection_id":146095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb164638012d7b954005d349a00005012426..."} 
[2026-08-01 07:40:44] local.INFO: Packet analysis {"connection_id":146095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb16"} 
[2026-08-01 07:40:44] local.INFO: Extracted packet for processing {"connection_id":146095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb16"} 
[2026-08-01 07:40:44] local.INFO: GPS Element Parsed {"raw_longitude":763073856,"raw_latitude":97733024,"longitude_deg":76.3073856,"latitude_deg":9.7733024,"altitude":5,"angle":292,"satellites":38,"speed":34,"hex_longitude":"2d7b9540","hex_latitude":"05d349a0","is_valid_coordinates":true} 
[2026-08-01 07:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:40:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100857600001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:40:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113463784600764416,"note":"Value kept but may cause issues"} 
[2026-08-01 07:40:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8906783081818920960,"note":"Value kept but may cause issues"} 
[2026-08-01 07:40:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:40:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785550227000,"timestamp_ms":1785550227000,"timestamp_seconds":1785550227,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb164638"} 
[2026-08-01 07:40:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:40:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-01 07:40:44] 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-08-01 07:40:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:40:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:40:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:40:44] local.INFO: Teltonika packet parsed successfully {"connection_id":146095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:40:44] local.INFO: Passing IMEI to GPS processor {"connection_id":146095,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:40:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":146095,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:40:44] 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-08-01 07:40:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:40:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:40:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100857600001,"66":13646,"209":206,"85":15104,"24":34,"16":113463784600764416,"45":8906783081818920960},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-08-01 07:40:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:40:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:40:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100857600001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:40:44] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-01 07:40:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:40:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113463784600764416,"km_value":113463784600764.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:40:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8906783081818920960,"description":"Unknown IO ID 45"} 
[2026-08-01 07:40:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100857600001,"power":13646,"unknown_209":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8906783081818920960}} 
[2026-08-01 07:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":146095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576298,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:40:44] local.INFO: GPS data processed {"connection_id":146095,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:40:44] local.INFO: Acknowledgment sent {"connection_id":146095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:40:45] local.INFO: TCP Data received {"connection_id":145896,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:40:46] local.INFO: Processing buffer {"connection_id":145896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:40:46] local.INFO: IMEI packet received {"connection_id":145896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":145896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:40:46] local.INFO: TCP Data received {"connection_id":145896,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:40:46] local.INFO: Processing buffer {"connection_id":145896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:40:46] local.INFO: IMEI packet received {"connection_id":145896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":145896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:40:50] local.INFO: TCP Data received {"connection_id":145896,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:40:50] local.INFO: Processing buffer {"connection_id":145896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:40:50] local.INFO: IMEI packet received {"connection_id":145896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":145896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:40:53] local.INFO: TCP Data received {"connection_id":145896,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb158ea0012d530c4006499ca8000601412a..."} 
[2026-08-01 07:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb158ea0012d530c4006499ca8000601412a..."} 
[2026-08-01 07:40:53] local.INFO: Processing buffer {"connection_id":145896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb158ea0012d530c4006499ca8000601412a..."} 
[2026-08-01 07:40:53] local.INFO: Packet analysis {"connection_id":145896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb15"} 
[2026-08-01 07:40:53] local.INFO: Extracted packet for processing {"connection_id":145896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb15"} 
[2026-08-01 07:40:53] local.INFO: GPS Element Parsed {"raw_longitude":760417344,"raw_latitude":105487528,"longitude_deg":76.0417344,"latitude_deg":10.5487528,"altitude":6,"angle":321,"satellites":42,"speed":40,"hex_longitude":"2d530c40","hex_latitude":"06499ca8","is_valid_coordinates":true} 
[2026-08-01 07:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:40:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100843776001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:40:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365715357152837632,"note":"Value kept but may cause issues"} 
[2026-08-01 07:40:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5990491218847463424,"note":"Value kept but may cause issues"} 
[2026-08-01 07:40:53] 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-08-01 07:40:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785550180000,"timestamp_ms":1785550180000,"timestamp_seconds":1785550180,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb158ea0"} 
[2026-08-01 07:40:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:40:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 07:40:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:40:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:40:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:40:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:40:53] local.INFO: Teltonika packet parsed successfully {"connection_id":145896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:40:53] local.INFO: Passing IMEI to GPS processor {"connection_id":145896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:40:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":145896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:40:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:40:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:40:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:40:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100843776001,"66":27821,"87":206,"19":38144,"24":40,"16":365715357152837632,"45":5990491218847463424},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,19,24,16,45]} 
[2026-08-01 07:40:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:40:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:40:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100843776001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:40:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-01 07:40:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:40:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365715357152837632,"km_value":365715357152837.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:40:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5990491218847463424,"description":"Unknown IO ID 45"} 
[2026-08-01 07:40:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100843776001,"power":27821,"unknown_87":206,"unknown_19":38144,"ignition":40,"odometer":null,"unknown_45":5990491218847463424}} 
[2026-08-01 07:40:53] local.INFO: DEBUG: GPS processor result {"connection_id":145896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:40:53] local.INFO: GPS data processed {"connection_id":145896,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:40:53] local.INFO: Acknowledgment sent {"connection_id":145896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:41:07] local.INFO: TCP Data received {"connection_id":147116,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147116,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:41:07] local.INFO: Processing buffer {"connection_id":147116,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:41:07] local.INFO: IMEI packet received {"connection_id":147116,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":147116,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:41:10] local.INFO: TCP Data received {"connection_id":147116,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147116,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:41:10] local.INFO: Processing buffer {"connection_id":147116,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:41:10] local.INFO: IMEI packet received {"connection_id":147116,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":147116,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:41:10] local.INFO: TCP Data received {"connection_id":147116,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147116,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:41:10] local.INFO: Processing buffer {"connection_id":147116,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:41:10] local.INFO: IMEI packet received {"connection_id":147116,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":147116,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:41:11] local.INFO: TCP Data received {"connection_id":147116,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb166578012d7b790005d357080005013123..."} 
[2026-08-01 07:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb166578012d7b790005d357080005013123..."} 
[2026-08-01 07:41:11] local.INFO: Processing buffer {"connection_id":147116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb166578012d7b790005d357080005013123..."} 
[2026-08-01 07:41:11] local.INFO: Packet analysis {"connection_id":147116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb16"} 
[2026-08-01 07:41:11] local.INFO: Extracted packet for processing {"connection_id":147116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb16"} 
[2026-08-01 07:41:11] local.INFO: GPS Element Parsed {"raw_longitude":763066624,"raw_latitude":97736456,"longitude_deg":76.3066624,"latitude_deg":9.7736456,"altitude":5,"angle":305,"satellites":35,"speed":37,"hex_longitude":"2d7b7900","hex_latitude":"05d35708","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100858112001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113464171147821056,"note":"Value kept but may cause issues"} 
[2026-08-01 07:41:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905094231958855680,"note":"Value kept but may cause issues"} 
[2026-08-01 07:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785550235000,"timestamp_ms":1785550235000,"timestamp_seconds":1785550235,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb166578"} 
[2026-08-01 07:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:41: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-08-01 07: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-01 07:41: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-08-01 07: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-08-01 07:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":147116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":147116,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":147116,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:41:11] 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-08-01 07:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100858112001,"66":13461,"209":206,"85":15104,"24":37,"16":113464171147821056,"45":8905094231958855680},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-08-01 07:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100858112001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:41:11] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-01 07:41:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113464171147821056,"km_value":113464171147821.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:41:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905094231958855680,"description":"Unknown IO ID 45"} 
[2026-08-01 07:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100858112001,"power":13461,"unknown_209":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8905094231958855680}} 
[2026-08-01 07:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":147116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576300,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:41:11] local.INFO: GPS data processed {"connection_id":147116,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:41:11] local.INFO: Acknowledgment sent {"connection_id":147116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:41:12] local.INFO: TCP Data received {"connection_id":147116,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb166d48012d7b73c005d35bc00005013d21..."} 
[2026-08-01 07:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb166d48012d7b73c005d35bc00005013d21..."} 
[2026-08-01 07:41:12] local.INFO: Processing buffer {"connection_id":147116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb166d48012d7b73c005d35bc00005013d21..."} 
[2026-08-01 07:41:12] local.INFO: Packet analysis {"connection_id":147116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb16"} 
[2026-08-01 07:41:12] local.INFO: Extracted packet for processing {"connection_id":147116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb16"} 
[2026-08-01 07:41:12] local.INFO: GPS Element Parsed {"raw_longitude":763065280,"raw_latitude":97737664,"longitude_deg":76.306528,"latitude_deg":9.7737664,"altitude":5,"angle":317,"satellites":33,"speed":34,"hex_longitude":"2d7b73c0","hex_latitude":"05d35bc0","is_valid_coordinates":true} 
[2026-08-01 07:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100860160001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113464257047166976,"note":"Value kept but may cause issues"} 
[2026-08-01 07:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897142563867658240,"note":"Value kept but may cause issues"} 
[2026-08-01 07:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785550237000,"timestamp_ms":1785550237000,"timestamp_seconds":1785550237,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb166d48"} 
[2026-08-01 07:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:41: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-08-01 07:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-01 07:41:12] 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-08-01 07:41:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":147116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":147116,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":147116,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:41:12] 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-08-01 07:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100860160001,"66":13374,"209":206,"85":15104,"24":34,"16":113464257047166976,"45":8897142563867658240},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-08-01 07:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100860160001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:41:12] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-01 07:41:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113464257047166976,"km_value":113464257047166.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897142563867658240,"description":"Unknown IO ID 45"} 
[2026-08-01 07:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100860160001,"power":13374,"unknown_209":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8897142563867658240}} 
[2026-08-01 07:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":147116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576301,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:41:12] local.INFO: GPS data processed {"connection_id":147116,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:41:12] local.INFO: Acknowledgment sent {"connection_id":147116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:41:25] local.INFO: TCP Data received {"connection_id":145896,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb15b1c8012d52f5000649b8300007013f2b..."} 
[2026-08-01 07:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb15b1c8012d52f5000649b8300007013f2b..."} 
[2026-08-01 07:41:25] local.INFO: Processing buffer {"connection_id":145896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb15b1c8012d52f5000649b8300007013f2b..."} 
[2026-08-01 07:41:25] local.INFO: Packet analysis {"connection_id":145896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb15"} 
[2026-08-01 07:41:25] local.INFO: Extracted packet for processing {"connection_id":145896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb15"} 
[2026-08-01 07:41:25] local.INFO: GPS Element Parsed {"raw_longitude":760411392,"raw_latitude":105494576,"longitude_deg":76.0411392,"latitude_deg":10.5494576,"altitude":7,"angle":319,"satellites":43,"speed":40,"hex_longitude":"2d52f500","hex_latitude":"0649b830","is_valid_coordinates":true} 
[2026-08-01 07:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100846080001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365715799534469120,"note":"Value kept but may cause issues"} 
[2026-08-01 07:41:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5984228400617531392,"note":"Value kept but may cause issues"} 
[2026-08-01 07:41:25] 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-08-01 07:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785550189000,"timestamp_ms":1785550189000,"timestamp_seconds":1785550189,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb15b1c8"} 
[2026-08-01 07:41:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:41:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 07:41:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:41:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:41:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":145896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":145896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":145896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:41:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100846080001,"66":27800,"87":206,"19":38144,"24":40,"16":365715799534469120,"45":5984228400617531392},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,19,24,16,45]} 
[2026-08-01 07:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100846080001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:41:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-01 07:41:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365715799534469120,"km_value":365715799534469.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:41:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5984228400617531392,"description":"Unknown IO ID 45"} 
[2026-08-01 07:41:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100846080001,"power":27800,"unknown_87":206,"unknown_19":38144,"ignition":40,"odometer":null,"unknown_45":5984228400617531392}} 
[2026-08-01 07:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":145896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:41:25] local.INFO: GPS data processed {"connection_id":145896,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:41:25] local.INFO: Acknowledgment sent {"connection_id":145896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:41:44] local.INFO: TCP Data received {"connection_id":147116,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb16bf50012d7b620005d36ec00005013c26..."} 
[2026-08-01 07:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb16bf50012d7b620005d36ec00005013c26..."} 
[2026-08-01 07:41:44] local.INFO: Processing buffer {"connection_id":147116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb16bf50012d7b620005d36ec00005013c26..."} 
[2026-08-01 07:41:44] local.INFO: Packet analysis {"connection_id":147116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb16"} 
[2026-08-01 07:41:44] local.INFO: Extracted packet for processing {"connection_id":147116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb16"} 
[2026-08-01 07:41:44] local.INFO: GPS Element Parsed {"raw_longitude":763060736,"raw_latitude":97742528,"longitude_deg":76.3060736,"latitude_deg":9.7742528,"altitude":5,"angle":316,"satellites":38,"speed":21,"hex_longitude":"2d7b6200","hex_latitude":"05d36ec0","is_valid_coordinates":true} 
[2026-08-01 07:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:41:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100860672001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:41:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113464587759648768,"note":"Value kept but may cause issues"} 
[2026-08-01 07:41:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8895664820240236544,"note":"Value kept but may cause issues"} 
[2026-08-01 07:41:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:41:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785550258000,"timestamp_ms":1785550258000,"timestamp_seconds":1785550258,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb16bf50"} 
[2026-08-01 07:41:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:41:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-01 07:41:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:41:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:41:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:41:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:41:44] local.INFO: Teltonika packet parsed successfully {"connection_id":147116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:41:44] local.INFO: Passing IMEI to GPS processor {"connection_id":147116,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:41:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":147116,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:41:44] 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-08-01 07:41:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:41:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:41:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100860672001,"66":13602,"210":206,"85":15104,"24":21,"16":113464587759648768,"45":8895664820240236544},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,85,24,16,45]} 
[2026-08-01 07:41:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:41:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:41:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100860672001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:41:44] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-08-01 07:41:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:41:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113464587759648768,"km_value":113464587759648.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:41:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8895664820240236544,"description":"Unknown IO ID 45"} 
[2026-08-01 07:41:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100860672001,"power":13602,"unknown_210":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8895664820240236544}} 
[2026-08-01 07:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":147116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576303,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:41:44] local.INFO: GPS data processed {"connection_id":147116,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:41:44] local.INFO: Acknowledgment sent {"connection_id":147116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:41:45] local.INFO: TCP Data received {"connection_id":148429,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:41:45] local.INFO: Processing buffer {"connection_id":148429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:41:45] local.INFO: IMEI packet received {"connection_id":148429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":148429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:41:50] local.INFO: TCP Data received {"connection_id":148429,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:41:50] local.INFO: Processing buffer {"connection_id":148429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:41:50] local.INFO: IMEI packet received {"connection_id":148429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":148429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:41:50] local.INFO: TCP Data received {"connection_id":148429,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb15d4f0012d52dd000649d3480008013d2c..."} 
[2026-08-01 07:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb15d4f0012d52dd000649d3480008013d2c..."} 
[2026-08-01 07:41:50] local.INFO: Processing buffer {"connection_id":148429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb15d4f0012d52dd000649d3480008013d2c..."} 
[2026-08-01 07:41:50] local.INFO: Packet analysis {"connection_id":148429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb15"} 
[2026-08-01 07:41:50] local.INFO: Extracted packet for processing {"connection_id":148429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb15"} 
[2026-08-01 07:41:50] local.INFO: GPS Element Parsed {"raw_longitude":760405248,"raw_latitude":105501512,"longitude_deg":76.0405248,"latitude_deg":10.5501512,"altitude":8,"angle":317,"satellites":44,"speed":41,"hex_longitude":"2d52dd00","hex_latitude":"0649d348","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100848384001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365716246211067904,"note":"Value kept but may cause issues"} 
[2026-08-01 07:41:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5977684107410812928,"note":"Value kept but may cause issues"} 
[2026-08-01 07:41:50] 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-08-01 07:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785550198000,"timestamp_ms":1785550198000,"timestamp_seconds":1785550198,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb15d4f0"} 
[2026-08-01 07:41:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:41:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 07:41:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07: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-08-01 07:41:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:41:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100848384001,"66":27767,"87":206,"19":38144,"24":41,"16":365716246211067904,"45":5977684107410812928},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,19,24,16,45]} 
[2026-08-01 07:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100848384001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:41:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-01 07:41:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365716246211067904,"km_value":365716246211067.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:41:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5977684107410812928,"description":"Unknown IO ID 45"} 
[2026-08-01 07:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100848384001,"power":27767,"unknown_87":206,"unknown_19":38144,"ignition":41,"odometer":null,"unknown_45":5977684107410812928}} 
[2026-08-01 07:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":148429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:41:50] local.INFO: GPS data processed {"connection_id":148429,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:41:50] local.INFO: Acknowledgment sent {"connection_id":148429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:42:12] local.INFO: TCP Data received {"connection_id":148430,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148430,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:42:12] local.INFO: Processing buffer {"connection_id":148430,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:42:12] local.INFO: IMEI packet received {"connection_id":148430,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":148430,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:42:17] local.INFO: TCP Data received {"connection_id":148430,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148430,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:42:17] local.INFO: Processing buffer {"connection_id":148430,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:42:17] local.INFO: IMEI packet received {"connection_id":148430,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":148430,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:42:18] local.INFO: TCP Data received {"connection_id":148430,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb16cef0012d7b5ac005d374e00005012e24..."} 
[2026-08-01 07:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb16cef0012d7b5ac005d374e00005012e24..."} 
[2026-08-01 07:42:18] local.INFO: Processing buffer {"connection_id":148430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb16cef0012d7b5ac005d374e00005012e24..."} 
[2026-08-01 07:42:18] local.INFO: Packet analysis {"connection_id":148430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb16"} 
[2026-08-01 07:42:18] local.INFO: Extracted packet for processing {"connection_id":148430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb16"} 
[2026-08-01 07:42:18] local.INFO: GPS Element Parsed {"raw_longitude":763058880,"raw_latitude":97744096,"longitude_deg":76.305888,"latitude_deg":9.7744096,"altitude":5,"angle":302,"satellites":36,"speed":25,"hex_longitude":"2d7b5ac0","hex_latitude":"05d374e0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 07:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100866048001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113464708018733056,"note":"Value kept but may cause issues"} 
[2026-08-01 07:42:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890668639404867584,"note":"Value kept but may cause issues"} 
[2026-08-01 07:42:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785550262000,"timestamp_ms":1785550262000,"timestamp_seconds":1785550262,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb16cef0"} 
[2026-08-01 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-08-01 07:42: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-08-01 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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-01 07:42:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 07:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":148430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":148430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":148430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:42: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-08-01 07:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100866048001,"66":13472,"210":206,"85":15104,"24":25,"16":113464708018733056,"45":8890668639404867584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,85,24,16,45]} 
[2026-08-01 07:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100866048001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:42:18] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-08-01 07:42:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113464708018733056,"km_value":113464708018733.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:42:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8890668639404867584,"description":"Unknown IO ID 45"} 
[2026-08-01 07:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100866048001,"power":13472,"unknown_210":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8890668639404867584}} 
[2026-08-01 07:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":148430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576305,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:42:18] local.INFO: GPS data processed {"connection_id":148430,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:42:18] local.INFO: Acknowledgment sent {"connection_id":148430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:42:22] local.INFO: TCP Data received {"connection_id":148429,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb15f818012d52c3c00649ed880008013c2c..."} 
[2026-08-01 07:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb15f818012d52c3c00649ed880008013c2c..."} 
[2026-08-01 07:42:22] local.INFO: Processing buffer {"connection_id":148429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb15f818012d52c3c00649ed880008013c2c..."} 
[2026-08-01 07:42:22] local.INFO: Packet analysis {"connection_id":148429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb15"} 
[2026-08-01 07:42:22] local.INFO: Extracted packet for processing {"connection_id":148429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb15"} 
[2026-08-01 07:42:22] local.INFO: GPS Element Parsed {"raw_longitude":760398784,"raw_latitude":105508232,"longitude_deg":76.0398784,"latitude_deg":10.5508232,"altitude":8,"angle":316,"satellites":44,"speed":40,"hex_longitude":"2d52c3c0","hex_latitude":"0649ed88","is_valid_coordinates":true} 
[2026-08-01 07:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100850688001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365716692887666688,"note":"Value kept but may cause issues"} 
[2026-08-01 07:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5970928707971532800,"note":"Value kept but may cause issues"} 
[2026-08-01 07:42:22] 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-08-01 07:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785550207000,"timestamp_ms":1785550207000,"timestamp_seconds":1785550207,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb15f818"} 
[2026-08-01 07:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:42:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 07:42:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:42:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100850688001,"66":27767,"87":206,"19":38144,"24":40,"16":365716692887666688,"45":5970928707971532800},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,19,24,16,45]} 
[2026-08-01 07:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100850688001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:42:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-01 07:42:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365716692887666688,"km_value":365716692887666.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5970928707971532800,"description":"Unknown IO ID 45"} 
[2026-08-01 07:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100850688001,"power":27767,"unknown_87":206,"unknown_19":38144,"ignition":40,"odometer":null,"unknown_45":5970928707971532800}} 
[2026-08-01 07:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":148429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:42:22] local.INFO: GPS data processed {"connection_id":148429,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:42:22] local.INFO: Acknowledgment sent {"connection_id":148429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:42:50] local.INFO: TCP Data received {"connection_id":148430,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb1822c8012d7b260005d45c200010015827..."} 
[2026-08-01 07:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb1822c8012d7b260005d45c200010015827..."} 
[2026-08-01 07:42:50] local.INFO: Processing buffer {"connection_id":148430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb1822c8012d7b260005d45c200010015827..."} 
[2026-08-01 07:42:50] local.INFO: Packet analysis {"connection_id":148430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb18"} 
[2026-08-01 07:42:50] local.INFO: Extracted packet for processing {"connection_id":148430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb18"} 
[2026-08-01 07:42:50] local.INFO: GPS Element Parsed {"raw_longitude":763045376,"raw_latitude":97803296,"longitude_deg":76.3045376,"latitude_deg":9.7803296,"altitude":16,"angle":344,"satellites":39,"speed":21,"hex_longitude":"2d7b2600","hex_latitude":"05d45c20","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100888064001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113467731675709440,"note":"Value kept but may cause issues"} 
[2026-08-01 07:42:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874694934491586560,"note":"Value kept but may cause issues"} 
[2026-08-01 07:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785550349000,"timestamp_ms":1785550349000,"timestamp_seconds":1785550349,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb1822c8"} 
[2026-08-01 07:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:42: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-08-01 07: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-01 07:42:50] 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-08-01 07: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-08-01 07:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:42:50] 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-08-01 07:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100888064001,"66":13559,"5":206,"85":15104,"24":21,"16":113467731675709440,"45":8874694934491586560},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,45]} 
[2026-08-01 07:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100888064001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:42:50] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-01 07:42:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113467731675709440,"km_value":113467731675709.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:42:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874694934491586560,"description":"Unknown IO ID 45"} 
[2026-08-01 07:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100888064001,"power":13559,"unknown_5":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8874694934491586560}} 
[2026-08-01 07:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":148430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576307,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:42:50] local.INFO: GPS data processed {"connection_id":148430,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:42:50] local.INFO: Acknowledgment sent {"connection_id":148430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:42:50] local.INFO: TCP Data received {"connection_id":147117,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:42:50] local.INFO: Processing buffer {"connection_id":147117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:42:50] local.INFO: IMEI packet received {"connection_id":147117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":147117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:42:55] local.INFO: TCP Data received {"connection_id":147117,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:42:55] local.INFO: Processing buffer {"connection_id":147117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:42:55] local.INFO: IMEI packet received {"connection_id":147117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":147117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:42:56] local.INFO: TCP Data received {"connection_id":147117,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb161b40012d52aa40064a0628000901392c..."} 
[2026-08-01 07:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb161b40012d52aa40064a0628000901392c..."} 
[2026-08-01 07:42:56] local.INFO: Processing buffer {"connection_id":147117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb161b40012d52aa40064a0628000901392c..."} 
[2026-08-01 07:42:56] local.INFO: Packet analysis {"connection_id":147117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb16"} 
[2026-08-01 07:42:56] local.INFO: Extracted packet for processing {"connection_id":147117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb16"} 
[2026-08-01 07:42:56] local.INFO: GPS Element Parsed {"raw_longitude":760392256,"raw_latitude":105514536,"longitude_deg":76.0392256,"latitude_deg":10.5514536,"altitude":9,"angle":313,"satellites":44,"speed":38,"hex_longitude":"2d52aa40","hex_latitude":"064a0628","is_valid_coordinates":true} 
[2026-08-01 07:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100852992001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365717130974330880,"note":"Value kept but may cause issues"} 
[2026-08-01 07:42:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5963821464811309056,"note":"Value kept but may cause issues"} 
[2026-08-01 07:42:56] 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-08-01 07:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785550216000,"timestamp_ms":1785550216000,"timestamp_seconds":1785550216,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb161b40"} 
[2026-08-01 07:42:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:42:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 07:42:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:42:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:42:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":147117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":147117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":147117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:42:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100852992001,"66":27865,"87":206,"19":38144,"24":38,"16":365717130974330880,"45":5963821464811309056},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,19,24,16,45]} 
[2026-08-01 07:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100852992001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:42:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-01 07:42:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365717130974330880,"km_value":365717130974330.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:42:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":5963821464811309056,"description":"Unknown IO ID 45"} 
[2026-08-01 07:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100852992001,"power":27865,"unknown_87":206,"unknown_19":38144,"ignition":38,"odometer":null,"unknown_45":5963821464811309056}} 
[2026-08-01 07:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":147117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:42:56] local.INFO: GPS data processed {"connection_id":147117,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:42:56] local.INFO: Acknowledgment sent {"connection_id":147117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:42:57] local.INFO: TCP Data received {"connection_id":147117,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb164250012d5290c0064a2170000a01432b..."} 
[2026-08-01 07:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb164250012d5290c0064a2170000a01432b..."} 
[2026-08-01 07:42:57] local.INFO: Processing buffer {"connection_id":147117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb164250012d5290c0064a2170000a01432b..."} 
[2026-08-01 07:42:57] local.INFO: Packet analysis {"connection_id":147117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb16"} 
[2026-08-01 07:42:57] local.INFO: Extracted packet for processing {"connection_id":147117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb16"} 
[2026-08-01 07:42:57] local.INFO: GPS Element Parsed {"raw_longitude":760385728,"raw_latitude":105521520,"longitude_deg":76.0385728,"latitude_deg":10.552152,"altitude":10,"angle":323,"satellites":43,"speed":37,"hex_longitude":"2d5290c0","hex_latitude":"064a2170","is_valid_coordinates":true} 
[2026-08-01 07:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:42:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100855296001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:42:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365717590535831552,"note":"Value kept but may cause issues"} 
[2026-08-01 07:42:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5956643852906801152,"note":"Value kept but may cause issues"} 
[2026-08-01 07:42:57] 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-08-01 07:42:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785550226000,"timestamp_ms":1785550226000,"timestamp_seconds":1785550226,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb164250"} 
[2026-08-01 07:42:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:42:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 07:42:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:42:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:42:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:42:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:42:57] local.INFO: Teltonika packet parsed successfully {"connection_id":147117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:42:57] local.INFO: Passing IMEI to GPS processor {"connection_id":147117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:42:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":147117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:42:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:42:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:42:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:42:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100855296001,"66":27800,"87":206,"19":38144,"24":37,"16":365717590535831552,"45":5956643852906801152},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,19,24,16,45]} 
[2026-08-01 07:42:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:42:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:42:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100855296001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:42:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-01 07:42:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:42:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365717590535831552,"km_value":365717590535831.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:42:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5956643852906801152,"description":"Unknown IO ID 45"} 
[2026-08-01 07:42:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100855296001,"power":27800,"unknown_87":206,"unknown_19":38144,"ignition":37,"odometer":null,"unknown_45":5956643852906801152}} 
[2026-08-01 07:42:57] local.INFO: DEBUG: GPS processor result {"connection_id":147117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:42:57] local.INFO: GPS data processed {"connection_id":147117,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:42:57] local.INFO: Acknowledgment sent {"connection_id":147117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:43:08] local.INFO: TCP Data received {"connection_id":145897,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145897,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:43:08] local.INFO: Processing buffer {"connection_id":145897,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:43:08] local.INFO: IMEI packet received {"connection_id":145897,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":145897,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:43:12] local.INFO: TCP Data received {"connection_id":145897,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145897,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:43:12] local.INFO: Processing buffer {"connection_id":145897,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:43:12] local.INFO: IMEI packet received {"connection_id":145897,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":145897,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:43:13] local.INFO: TCP Data received {"connection_id":145897,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb182a98012d7b258005d460e00010016527..."} 
[2026-08-01 07:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb182a98012d7b258005d460e00010016527..."} 
[2026-08-01 07:43:13] local.INFO: Processing buffer {"connection_id":145897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb182a98012d7b258005d460e00010016527..."} 
[2026-08-01 07:43:13] local.INFO: Packet analysis {"connection_id":145897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb18"} 
[2026-08-01 07:43:13] local.INFO: Extracted packet for processing {"connection_id":145897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb18"} 
[2026-08-01 07:43:13] local.INFO: GPS Element Parsed {"raw_longitude":763045248,"raw_latitude":97804512,"longitude_deg":76.3045248,"latitude_deg":9.7804512,"altitude":16,"angle":357,"satellites":39,"speed":25,"hex_longitude":"2d7b2580","hex_latitude":"05d460e0","is_valid_coordinates":true} 
[2026-08-01 07:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100889344001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113467791805251584,"note":"Value kept but may cause issues"} 
[2026-08-01 07:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873780140817784832,"note":"Value kept but may cause issues"} 
[2026-08-01 07:43:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785550351000,"timestamp_ms":1785550351000,"timestamp_seconds":1785550351,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb182a98"} 
[2026-08-01 07:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:43:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-01 07:43:13] 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-08-01 07:43:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":145897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":145897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":145897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:43:13] 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-08-01 07:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100889344001,"66":13689,"5":206,"85":15104,"24":25,"16":113467791805251584,"45":8873780140817784832},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,45]} 
[2026-08-01 07:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100889344001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:43:13] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-01 07:43:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113467791805251584,"km_value":113467791805251.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:43:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873780140817784832,"description":"Unknown IO ID 45"} 
[2026-08-01 07:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100889344001,"power":13689,"unknown_5":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8873780140817784832}} 
[2026-08-01 07:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":145897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576310,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:43:13] local.INFO: GPS data processed {"connection_id":145897,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:43:13] local.INFO: Acknowledgment sent {"connection_id":145897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:43:29] local.INFO: TCP Data received {"connection_id":147117,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb166960012d527c40064a40a80009014b2c..."} 
[2026-08-01 07:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb166960012d527c40064a40a80009014b2c..."} 
[2026-08-01 07:43:29] local.INFO: Processing buffer {"connection_id":147117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb166960012d527c40064a40a80009014b2c..."} 
[2026-08-01 07:43:29] local.INFO: Packet analysis {"connection_id":147117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb16"} 
[2026-08-01 07:43:29] local.INFO: Extracted packet for processing {"connection_id":147117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb16"} 
[2026-08-01 07:43:29] local.INFO: GPS Element Parsed {"raw_longitude":760380480,"raw_latitude":105529512,"longitude_deg":76.038048,"latitude_deg":10.5529512,"altitude":9,"angle":331,"satellites":44,"speed":38,"hex_longitude":"2d527c40","hex_latitude":"064a40a8","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:43:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100857856001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:43:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365718054392299520,"note":"Value kept but may cause issues"} 
[2026-08-01 07:43:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5949466241002467328,"note":"Value kept but may cause issues"} 
[2026-08-01 07:43:29] 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-08-01 07:43:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785550236000,"timestamp_ms":1785550236000,"timestamp_seconds":1785550236,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb166960"} 
[2026-08-01 07:43:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07: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-08-01 07: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":152,"data_length":795,"current_offset":136} 
[2026-08-01 07:43: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-08-01 07: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-08-01 07:43:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:43:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:43:29] local.INFO: Teltonika packet parsed successfully {"connection_id":147117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:43:29] local.INFO: Passing IMEI to GPS processor {"connection_id":147117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:43:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":147117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:43:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:43:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:43:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:43:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100857856001,"66":27876,"87":206,"19":38144,"24":38,"16":365718054392299520,"45":5949466241002467328},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,19,24,16,45]} 
[2026-08-01 07:43:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:43:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:43:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100857856001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:43:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-01 07:43:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:43:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365718054392299520,"km_value":365718054392299.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:43:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5949466241002467328,"description":"Unknown IO ID 45"} 
[2026-08-01 07:43:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100857856001,"power":27876,"unknown_87":206,"unknown_19":38144,"ignition":38,"odometer":null,"unknown_45":5949466241002467328}} 
[2026-08-01 07:43:29] local.INFO: DEBUG: GPS processor result {"connection_id":147117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:43:29] local.INFO: GPS data processed {"connection_id":147117,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:43:29] local.INFO: Acknowledgment sent {"connection_id":147117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:43:44] local.INFO: TCP Data received {"connection_id":145897,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb185590012d7b270005d485980011016624..."} 
[2026-08-01 07:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb185590012d7b270005d485980011016624..."} 
[2026-08-01 07:43:44] local.INFO: Processing buffer {"connection_id":145897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb185590012d7b270005d485980011016624..."} 
[2026-08-01 07:43:44] local.INFO: Packet analysis {"connection_id":145897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb18"} 
[2026-08-01 07:43:44] local.INFO: Extracted packet for processing {"connection_id":145897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb18"} 
[2026-08-01 07:43:44] local.INFO: GPS Element Parsed {"raw_longitude":763045632,"raw_latitude":97813912,"longitude_deg":76.3045632,"latitude_deg":9.7813912,"altitude":17,"angle":358,"satellites":36,"speed":38,"hex_longitude":"2d7b2700","hex_latitude":"05d48598","is_valid_coordinates":true} 
[2026-08-01 07:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100889856001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113468247071784960,"note":"Value kept but may cause issues"} 
[2026-08-01 07:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873639403329740800,"note":"Value kept but may cause issues"} 
[2026-08-01 07:43:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785550362000,"timestamp_ms":1785550362000,"timestamp_seconds":1785550362,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb185590"} 
[2026-08-01 07:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:43:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-08-01 07:43:44] 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-08-01 07:43:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":145897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":145897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":145897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:43:44] 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-08-01 07:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100889856001,"66":13656,"5":206,"85":15104,"24":38,"16":113468247071784960,"45":8873639403329740800},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,45]} 
[2026-08-01 07:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100889856001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:43:44] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-01 07:43:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113468247071784960,"km_value":113468247071784.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873639403329740800,"description":"Unknown IO ID 45"} 
[2026-08-01 07:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100889856001,"power":13656,"unknown_5":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8873639403329740800}} 
[2026-08-01 07:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":145897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576312,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:43:44] local.INFO: GPS data processed {"connection_id":145897,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:43:44] local.INFO: Acknowledgment sent {"connection_id":145897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:43:45] local.INFO: TCP Data received {"connection_id":145898,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:43:45] local.INFO: Processing buffer {"connection_id":145898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:43:45] local.INFO: IMEI packet received {"connection_id":145898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":145898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:43:50] local.INFO: TCP Data received {"connection_id":145898,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:43:50] local.INFO: Processing buffer {"connection_id":145898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:43:50] local.INFO: IMEI packet received {"connection_id":145898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":145898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:43:51] local.INFO: TCP Data received {"connection_id":145898,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb185590012d51b200064b97e80008014a2b..."} 
[2026-08-01 07:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb185590012d51b200064b97e80008014a2b..."} 
[2026-08-01 07:43:51] local.INFO: Processing buffer {"connection_id":145898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb185590012d51b200064b97e80008014a2b..."} 
[2026-08-01 07:43:51] local.INFO: Packet analysis {"connection_id":145898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb18"} 
[2026-08-01 07:43:51] local.INFO: Extracted packet for processing {"connection_id":145898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb18"} 
[2026-08-01 07:43:51] local.INFO: GPS Element Parsed {"raw_longitude":760328704,"raw_latitude":105617384,"longitude_deg":76.0328704,"latitude_deg":10.5617384,"altitude":8,"angle":330,"satellites":43,"speed":33,"hex_longitude":"2d51b200","hex_latitude":"064b97e8","is_valid_coordinates":true} 
[2026-08-01 07:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100889600001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365722989309722624,"note":"Value kept but may cause issues"} 
[2026-08-01 07:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5892256452008474624,"note":"Value kept but may cause issues"} 
[2026-08-01 07:43:51] 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-08-01 07:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785550362000,"timestamp_ms":1785550362000,"timestamp_seconds":1785550362,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb185590"} 
[2026-08-01 07:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:43:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 07:43:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:43:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":145898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":145898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":145898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100889600001,"66":27821,"89":206,"19":38144,"24":33,"16":365722989309722624,"45":5892256452008474624},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,19,24,16,45]} 
[2026-08-01 07:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100889600001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:43:51] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 07:43:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365722989309722624,"km_value":365722989309722.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5892256452008474624,"description":"Unknown IO ID 45"} 
[2026-08-01 07:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100889600001,"power":27821,"unknown_89":206,"unknown_19":38144,"ignition":33,"odometer":null,"unknown_45":5892256452008474624}} 
[2026-08-01 07:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":145898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:43:51] local.INFO: GPS data processed {"connection_id":145898,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:43:51] local.INFO: Acknowledgment sent {"connection_id":145898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:44:07] local.INFO: TCP Data received {"connection_id":145899,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145899,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:44:07] local.INFO: Processing buffer {"connection_id":145899,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:44:07] local.INFO: IMEI packet received {"connection_id":145899,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":145899,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:44:12] local.INFO: TCP Data received {"connection_id":145899,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145899,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:44:12] local.INFO: Processing buffer {"connection_id":145899,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:44:12] local.INFO: IMEI packet received {"connection_id":145899,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:44:12] local.INFO: IMEI acknowledgment sent {"connection_id":145899,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:44:13] local.INFO: TCP Data received {"connection_id":145899,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb1878b8012d7b238005d4a9d00010016126..."} 
[2026-08-01 07:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb1878b8012d7b238005d4a9d00010016126..."} 
[2026-08-01 07:44:13] local.INFO: Processing buffer {"connection_id":145899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb1878b8012d7b238005d4a9d00010016126..."} 
[2026-08-01 07:44:13] local.INFO: Packet analysis {"connection_id":145899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb18"} 
[2026-08-01 07:44:13] local.INFO: Extracted packet for processing {"connection_id":145899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb18"} 
[2026-08-01 07:44:13] local.INFO: GPS Element Parsed {"raw_longitude":763044736,"raw_latitude":97823184,"longitude_deg":76.3044736,"latitude_deg":9.7823184,"altitude":16,"angle":353,"satellites":38,"speed":38,"hex_longitude":"2d7b2380","hex_latitude":"05d4a9d0","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100892672001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113468702338318336,"note":"Value kept but may cause issues"} 
[2026-08-01 07:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874061615797213184,"note":"Value kept but may cause issues"} 
[2026-08-01 07:44:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785550371000,"timestamp_ms":1785550371000,"timestamp_seconds":1785550371,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb1878b8"} 
[2026-08-01 07:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:44:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-01 07:44:13] 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-08-01 07: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-08-01 07:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":145899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":145899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":145899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:44:13] 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-08-01 07:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100892672001,"66":13450,"5":206,"85":15104,"24":38,"16":113468702338318336,"45":8874061615797213184},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,45]} 
[2026-08-01 07:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100892672001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:44:13] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-01 07:44:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113468702338318336,"km_value":113468702338318.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874061615797213184,"description":"Unknown IO ID 45"} 
[2026-08-01 07:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100892672001,"power":13450,"unknown_5":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8874061615797213184}} 
[2026-08-01 07:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":145899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576314,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:44:13] local.INFO: GPS data processed {"connection_id":145899,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:44:13] local.INFO: Acknowledgment sent {"connection_id":145899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:44:24] local.INFO: TCP Data received {"connection_id":145898,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb188088012d51a180064bb7580008014f2b..."} 
[2026-08-01 07:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb188088012d51a180064bb7580008014f2b..."} 
[2026-08-01 07:44:24] local.INFO: Processing buffer {"connection_id":145898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb188088012d51a180064bb7580008014f2b..."} 
[2026-08-01 07:44:24] local.INFO: Packet analysis {"connection_id":145898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb18"} 
[2026-08-01 07:44:24] local.INFO: Extracted packet for processing {"connection_id":145898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb18"} 
[2026-08-01 07:44:24] local.INFO: GPS Element Parsed {"raw_longitude":760324480,"raw_latitude":105625432,"longitude_deg":76.032448,"latitude_deg":10.5625432,"altitude":8,"angle":335,"satellites":43,"speed":31,"hex_longitude":"2d51a180","hex_latitude":"064bb758","is_valid_coordinates":true} 
[2026-08-01 07:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100892672001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365723427396386816,"note":"Value kept but may cause issues"} 
[2026-08-01 07:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5886767689964709888,"note":"Value kept but may cause issues"} 
[2026-08-01 07:44:24] 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-08-01 07:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785550373000,"timestamp_ms":1785550373000,"timestamp_seconds":1785550373,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb188088"} 
[2026-08-01 07:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:44:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 07:44:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:44:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":145898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":145898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":145898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:44:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100892672001,"66":27767,"89":206,"19":38144,"24":31,"16":365723427396386816,"45":5886767689964709888},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,19,24,16,45]} 
[2026-08-01 07:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100892672001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:44:24] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 07:44:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365723427396386816,"km_value":365723427396386.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5886767689964709888,"description":"Unknown IO ID 45"} 
[2026-08-01 07:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100892672001,"power":27767,"unknown_89":206,"unknown_19":38144,"ignition":31,"odometer":null,"unknown_45":5886767689964709888}} 
[2026-08-01 07:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":145898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:44:24] local.INFO: GPS data processed {"connection_id":145898,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:44:24] local.INFO: Acknowledgment sent {"connection_id":145898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:44:44] local.INFO: TCP Data received {"connection_id":145899,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb19dc30012d7afe4005d5a9100010015e24..."} 
[2026-08-01 07:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb19dc30012d7afe4005d5a9100010015e24..."} 
[2026-08-01 07:44:44] local.INFO: Processing buffer {"connection_id":145899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb19dc30012d7afe4005d5a9100010015e24..."} 
[2026-08-01 07:44:44] local.INFO: Packet analysis {"connection_id":145899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb19"} 
[2026-08-01 07:44:44] local.INFO: Extracted packet for processing {"connection_id":145899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb19"} 
[2026-08-01 07:44:44] local.INFO: GPS Element Parsed {"raw_longitude":763035200,"raw_latitude":97888528,"longitude_deg":76.30352,"latitude_deg":9.7888528,"altitude":16,"angle":350,"satellites":36,"speed":42,"hex_longitude":"2d7afe40","hex_latitude":"05d5a910","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100915968001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113471945038626816,"note":"Value kept but may cause issues"} 
[2026-08-01 07:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864350729117497344,"note":"Value kept but may cause issues"} 
[2026-08-01 07:44:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785550462000,"timestamp_ms":1785550462000,"timestamp_seconds":1785550462,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb19dc30"} 
[2026-08-01 07:44:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:44:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-01 07:44:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07: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-08-01 07:44:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":145899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":145899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":145899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:44:44] 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-08-01 07:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100915968001,"66":13450,"5":206,"85":15104,"24":42,"16":113471945038626816,"45":8864350729117497344},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,45]} 
[2026-08-01 07:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100915968001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:44:44] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-01 07:44:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113471945038626816,"km_value":113471945038626.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:44:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864350729117497344,"description":"Unknown IO ID 45"} 
[2026-08-01 07:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100915968001,"power":13450,"unknown_5":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8864350729117497344}} 
[2026-08-01 07:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":145899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576316,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:44:44] local.INFO: GPS data processed {"connection_id":145899,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:44:44] local.INFO: Acknowledgment sent {"connection_id":145899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:44:45] local.INFO: TCP Data received {"connection_id":147118,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:44:45] local.INFO: Processing buffer {"connection_id":147118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:44:45] local.INFO: IMEI packet received {"connection_id":147118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":147118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:44:46] local.INFO: TCP Data received {"connection_id":147118,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:44:46] local.INFO: Processing buffer {"connection_id":147118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:44:46] local.INFO: IMEI packet received {"connection_id":147118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":147118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:44:56] local.INFO: TCP Data received {"connection_id":147118,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:44:56] local.INFO: Processing buffer {"connection_id":147118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:44:56] local.INFO: IMEI packet received {"connection_id":147118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":147118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:44:57] local.INFO: TCP Data received {"connection_id":147118,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb18ab80012d519340064bd740000601512a..."} 
[2026-08-01 07:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb18ab80012d519340064bd740000601512a..."} 
[2026-08-01 07:44:57] local.INFO: Processing buffer {"connection_id":147118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb18ab80012d519340064bd740000601512a..."} 
[2026-08-01 07:44:57] local.INFO: Packet analysis {"connection_id":147118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb18"} 
[2026-08-01 07:44:57] local.INFO: Extracted packet for processing {"connection_id":147118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb18"} 
[2026-08-01 07:44:57] local.INFO: GPS Element Parsed {"raw_longitude":760320832,"raw_latitude":105633600,"longitude_deg":76.0320832,"latitude_deg":10.56336,"altitude":6,"angle":337,"satellites":42,"speed":32,"hex_longitude":"2d519340","hex_latitude":"064bd740","is_valid_coordinates":true} 
[2026-08-01 07:44: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-08-01 07:44:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100895488001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:44:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365723861188083712,"note":"Value kept but may cause issues"} 
[2026-08-01 07:44:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5882123352851044352,"note":"Value kept but may cause issues"} 
[2026-08-01 07:44:57] 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-08-01 07:44:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785550384000,"timestamp_ms":1785550384000,"timestamp_seconds":1785550384,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb18ab80"} 
[2026-08-01 07:44:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:44:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:44:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 07:44:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:44: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-08-01 07:44:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:44:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:44:57] local.INFO: Teltonika packet parsed successfully {"connection_id":147118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:44:57] local.INFO: Passing IMEI to GPS processor {"connection_id":147118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:44:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":147118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:44:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:44:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:44:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:44:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100895488001,"66":27745,"89":206,"19":38144,"24":32,"16":365723861188083712,"45":5882123352851044352},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,19,24,16,45]} 
[2026-08-01 07:44:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:44:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:44:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100895488001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:44:57] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 07:44:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:44:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365723861188083712,"km_value":365723861188083.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:44:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5882123352851044352,"description":"Unknown IO ID 45"} 
[2026-08-01 07:44:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100895488001,"power":27745,"unknown_89":206,"unknown_19":38144,"ignition":32,"odometer":null,"unknown_45":5882123352851044352}} 
[2026-08-01 07:44:57] local.INFO: DEBUG: GPS processor result {"connection_id":147118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:44:57] local.INFO: GPS data processed {"connection_id":147118,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:44:57] local.INFO: Acknowledgment sent {"connection_id":147118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:45:18] local.INFO: TCP Data received {"connection_id":146096,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146096,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:45:18] local.INFO: Processing buffer {"connection_id":146096,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:45:18] local.INFO: IMEI packet received {"connection_id":146096,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:45:18] local.INFO: IMEI acknowledgment sent {"connection_id":146096,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:45:22] local.INFO: TCP Data received {"connection_id":146096,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146096,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:45:22] local.INFO: Processing buffer {"connection_id":146096,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:45:22] local.INFO: IMEI packet received {"connection_id":146096,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":146096,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:45:23] local.INFO: TCP Data received {"connection_id":146096,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb19fb70012d7af58005d5cc200010015624..."} 
[2026-08-01 07:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb19fb70012d7af58005d5cc200010015624..."} 
[2026-08-01 07:45:23] local.INFO: Processing buffer {"connection_id":146096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb19fb70012d7af58005d5cc200010015624..."} 
[2026-08-01 07:45:23] local.INFO: Packet analysis {"connection_id":146096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb19"} 
[2026-08-01 07:45:23] local.INFO: Extracted packet for processing {"connection_id":146096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb19"} 
[2026-08-01 07:45:23] local.INFO: GPS Element Parsed {"raw_longitude":763032960,"raw_latitude":97897504,"longitude_deg":76.303296,"latitude_deg":9.7897504,"altitude":16,"angle":342,"satellites":36,"speed":49,"hex_longitude":"2d7af580","hex_latitude":"05d5cc20","is_valid_coordinates":true} 
[2026-08-01 07:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100918272001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113472396010192896,"note":"Value kept but may cause issues"} 
[2026-08-01 07:45:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8862591510515355648,"note":"Value kept but may cause issues"} 
[2026-08-01 07:45:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785550470000,"timestamp_ms":1785550470000,"timestamp_seconds":1785550470,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb19fb70"} 
[2026-08-01 07:45:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:45: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-08-01 07:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-01 07:45:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:45:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:45:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":146096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":146096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":146096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:45:23] 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-08-01 07:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100918272001,"66":13472,"5":206,"85":15104,"24":49,"16":113472396010192896,"45":8862591510515355648},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,45]} 
[2026-08-01 07:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100918272001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:45:23] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-01 07:45:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113472396010192896,"km_value":113472396010192.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:45:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8862591510515355648,"description":"Unknown IO ID 45"} 
[2026-08-01 07:45:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100918272001,"power":13472,"unknown_5":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8862591510515355648}} 
[2026-08-01 07:45:23] local.INFO: DEBUG: GPS processor result {"connection_id":146096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576318,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:45:23] local.INFO: GPS data processed {"connection_id":146096,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:45:23] local.INFO: Acknowledgment sent {"connection_id":146096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:45:33] local.INFO: TCP Data received {"connection_id":147118,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb19efb8012d514a80064c8bf00004014029..."} 
[2026-08-01 07:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb19efb8012d514a80064c8bf00004014029..."} 
[2026-08-01 07:45:33] local.INFO: Processing buffer {"connection_id":147118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb19efb8012d514a80064c8bf00004014029..."} 
[2026-08-01 07:45:33] local.INFO: Packet analysis {"connection_id":147118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb19"} 
[2026-08-01 07:45:33] local.INFO: Extracted packet for processing {"connection_id":147118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb19"} 
[2026-08-01 07:45:33] local.INFO: GPS Element Parsed {"raw_longitude":760302208,"raw_latitude":105679856,"longitude_deg":76.0302208,"latitude_deg":10.5679856,"altitude":4,"angle":320,"satellites":41,"speed":31,"hex_longitude":"2d514a80","hex_latitude":"064c8bf0","is_valid_coordinates":true} 
[2026-08-01 07:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100918016001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365726373743951872,"note":"Value kept but may cause issues"} 
[2026-08-01 07:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5860449779657240576,"note":"Value kept but may cause issues"} 
[2026-08-01 07:45:33] 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-08-01 07:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785550467000,"timestamp_ms":1785550467000,"timestamp_seconds":1785550467,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb19efb8"} 
[2026-08-01 07:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:45: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-08-01 07:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-01 07:45:33] 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-08-01 07:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":147118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":147118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":147118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100918016001,"66":27843,"89":206,"19":38144,"24":31,"16":365726373743951872,"45":5860449779657240576},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,19,24,16,45]} 
[2026-08-01 07:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100918016001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:45:33] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 07:45:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365726373743951872,"km_value":365726373743951.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5860449779657240576,"description":"Unknown IO ID 45"} 
[2026-08-01 07:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100918016001,"power":27843,"unknown_89":206,"unknown_19":38144,"ignition":31,"odometer":null,"unknown_45":5860449779657240576}} 
[2026-08-01 07:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":147118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:45:33] local.INFO: GPS data processed {"connection_id":147118,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:45:33] local.INFO: Acknowledgment sent {"connection_id":147118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:45:50] local.INFO: TCP Data received {"connection_id":145900,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:45:50] local.INFO: Processing buffer {"connection_id":145900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:45:50] local.INFO: IMEI packet received {"connection_id":145900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":145900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:45:51] local.INFO: TCP Data received {"connection_id":145900,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:45:51] local.INFO: Processing buffer {"connection_id":145900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:45:51] local.INFO: IMEI packet received {"connection_id":145900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":145900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:45:52] local.INFO: TCP Data received {"connection_id":145900,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb1a1ab0012d513600064ca8a0000501482a..."} 
[2026-08-01 07:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb1a1ab0012d513600064ca8a0000501482a..."} 
[2026-08-01 07:45:52] local.INFO: Processing buffer {"connection_id":145900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb1a1ab0012d513600064ca8a0000501482a..."} 
[2026-08-01 07:45:52] local.INFO: Packet analysis {"connection_id":145900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb1a"} 
[2026-08-01 07:45:52] local.INFO: Extracted packet for processing {"connection_id":145900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb1a"} 
[2026-08-01 07:45:52] local.INFO: GPS Element Parsed {"raw_longitude":760296960,"raw_latitude":105687200,"longitude_deg":76.029696,"latitude_deg":10.56872,"altitude":5,"angle":328,"satellites":42,"speed":32,"hex_longitude":"2d513600","hex_latitude":"064ca8a0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 07:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100919552001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365726811830616064,"note":"Value kept but may cause issues"} 
[2026-08-01 07:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5857635029891149824,"note":"Value kept but may cause issues"} 
[2026-08-01 07:45:52] 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-08-01 07:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785550478000,"timestamp_ms":1785550478000,"timestamp_seconds":1785550478,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb1a1ab0"} 
[2026-08-01 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-08-01 07:45:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 07:45:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 07:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":145900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":145900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":145900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:45:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100919552001,"66":27821,"34":206,"19":38144,"24":32,"16":365726811830616064,"45":5857635029891149824},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,19,24,16,45]} 
[2026-08-01 07:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100919552001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:45:52] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-01 07:45:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365726811830616064,"km_value":365726811830616.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":5857635029891149824,"description":"Unknown IO ID 45"} 
[2026-08-01 07:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100919552001,"power":27821,"unknown_34":206,"unknown_19":38144,"ignition":32,"odometer":null,"unknown_45":5857635029891149824}} 
[2026-08-01 07:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":145900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:45:52] local.INFO: GPS data processed {"connection_id":145900,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:45:52] local.INFO: Acknowledgment sent {"connection_id":145900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:45:56] local.INFO: TCP Data received {"connection_id":145900,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb1a45a8012d512580064cc8380006014e28..."} 
[2026-08-01 07:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb1a45a8012d512580064cc8380006014e28..."} 
[2026-08-01 07:45:56] local.INFO: Processing buffer {"connection_id":145900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb1a45a8012d512580064cc8380006014e28..."} 
[2026-08-01 07:45:56] local.INFO: Packet analysis {"connection_id":145900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb1a"} 
[2026-08-01 07:45:56] local.INFO: Extracted packet for processing {"connection_id":145900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb1a"} 
[2026-08-01 07:45:56] local.INFO: GPS Element Parsed {"raw_longitude":760292736,"raw_latitude":105695288,"longitude_deg":76.0292736,"latitude_deg":10.5695288,"altitude":6,"angle":334,"satellites":40,"speed":32,"hex_longitude":"2d512580","hex_latitude":"064cc838","is_valid_coordinates":true} 
[2026-08-01 07:45: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-08-01 07:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100922368001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365727249917280256,"note":"Value kept but may cause issues"} 
[2026-08-01 07:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5851864792870461440,"note":"Value kept but may cause issues"} 
[2026-08-01 07:45:56] 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-08-01 07:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785550489000,"timestamp_ms":1785550489000,"timestamp_seconds":1785550489,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb1a45a8"} 
[2026-08-01 07:45:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:45:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:45: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-08-01 07:45: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-08-01 07:45: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-08-01 07:45:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":145900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":145900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":145900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100922368001,"66":27713,"34":206,"19":38144,"24":32,"16":365727249917280256,"45":5851864792870461440},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,19,24,16,45]} 
[2026-08-01 07:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100922368001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:45:56] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-01 07:45:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365727249917280256,"km_value":365727249917280.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":5851864792870461440,"description":"Unknown IO ID 45"} 
[2026-08-01 07:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100922368001,"power":27713,"unknown_34":206,"unknown_19":38144,"ignition":32,"odometer":null,"unknown_45":5851864792870461440}} 
[2026-08-01 07:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":145900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:45:56] local.INFO: GPS data processed {"connection_id":145900,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:45:56] local.INFO: Acknowledgment sent {"connection_id":145900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:46:07] local.INFO: TCP Data received {"connection_id":148431,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148431,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:46:07] local.INFO: Processing buffer {"connection_id":148431,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:46:07] local.INFO: IMEI packet received {"connection_id":148431,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":148431,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:46:10] local.INFO: TCP Data received {"connection_id":148431,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148431,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:46:10] local.INFO: Processing buffer {"connection_id":148431,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:46:10] local.INFO: IMEI packet received {"connection_id":148431,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":148431,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:46:13] local.INFO: TCP Data received {"connection_id":148431,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148431,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:46:13] local.INFO: Processing buffer {"connection_id":148431,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:46:13] local.INFO: IMEI packet received {"connection_id":148431,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":148431,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:46:14] local.INFO: TCP Data received {"connection_id":148431,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb1b4b60012d7abbc005d6feb8000d016223..."} 
[2026-08-01 07:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb1b4b60012d7abbc005d6feb8000d016223..."} 
[2026-08-01 07:46:14] local.INFO: Processing buffer {"connection_id":148431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb1b4b60012d7abbc005d6feb8000d016223..."} 
[2026-08-01 07:46:14] local.INFO: Packet analysis {"connection_id":148431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb1b"} 
[2026-08-01 07:46:14] local.INFO: Extracted packet for processing {"connection_id":148431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb1b"} 
[2026-08-01 07:46:14] local.INFO: GPS Element Parsed {"raw_longitude":763018176,"raw_latitude":97975992,"longitude_deg":76.3018176,"latitude_deg":9.7975992,"altitude":13,"angle":354,"satellites":35,"speed":31,"hex_longitude":"2d7abbc0","hex_latitude":"05d6feb8","is_valid_coordinates":true} 
[2026-08-01 07:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100941056001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113476291545530368,"note":"Value kept but may cause issues"} 
[2026-08-01 07:46:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8845491905701363712,"note":"Value kept but may cause issues"} 
[2026-08-01 07:46:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785550556000,"timestamp_ms":1785550556000,"timestamp_seconds":1785550556,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb1b4b60"} 
[2026-08-01 07:46:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:46:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-01 07:46:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:46:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:46:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":148431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":148431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":148431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:46:14] 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-08-01 07:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100941056001,"66":13656,"243":206,"85":15104,"24":31,"16":113476291545530368,"45":8845491905701363712},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,45]} 
[2026-08-01 07:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100941056001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:46:14] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-08-01 07:46:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113476291545530368,"km_value":113476291545530.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:46:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8845491905701363712,"description":"Unknown IO ID 45"} 
[2026-08-01 07:46:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100941056001,"power":13656,"unknown_243":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8845491905701363712}} 
[2026-08-01 07:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":148431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576322,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:46:14] local.INFO: GPS data processed {"connection_id":148431,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:46:14] local.INFO: Acknowledgment sent {"connection_id":148431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:46:17] local.INFO: TCP Data received {"connection_id":148431,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb1b5718012d7abbc005d70818000d000422..."} 
[2026-08-01 07:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb1b5718012d7abbc005d70818000d000422..."} 
[2026-08-01 07:46:17] local.INFO: Processing buffer {"connection_id":148431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb1b5718012d7abbc005d70818000d000422..."} 
[2026-08-01 07:46:17] local.INFO: Packet analysis {"connection_id":148431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb1b"} 
[2026-08-01 07:46:17] local.INFO: Extracted packet for processing {"connection_id":148431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb1b"} 
[2026-08-01 07:46:17] local.INFO: GPS Element Parsed {"raw_longitude":763018176,"raw_latitude":97978392,"longitude_deg":76.3018176,"latitude_deg":9.7978392,"altitude":13,"angle":4,"satellites":34,"speed":34,"hex_longitude":"2d7abbc0","hex_latitude":"05d70818","is_valid_coordinates":true} 
[2026-08-01 07:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100942336001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113476411804614656,"note":"Value kept but may cause issues"} 
[2026-08-01 07:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8843873424586487808,"note":"Value kept but may cause issues"} 
[2026-08-01 07:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785550559000,"timestamp_ms":1785550559000,"timestamp_seconds":1785550559,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb1b5718"} 
[2026-08-01 07:46:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:46:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-01 07:46:17] 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-08-01 07:46:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:46:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:46:17] 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-08-01 07:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100942336001,"66":13656,"243":206,"85":15104,"24":34,"16":113476411804614656,"45":8843873424586487808},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,45]} 
[2026-08-01 07:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100942336001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:46:17] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-08-01 07:46:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113476411804614656,"km_value":113476411804614.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8843873424586487808,"description":"Unknown IO ID 45"} 
[2026-08-01 07:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100942336001,"power":13656,"unknown_243":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8843873424586487808}} 
[2026-08-01 07:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":148431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576323,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:46:17] local.INFO: GPS data processed {"connection_id":148431,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:46:17] local.INFO: Acknowledgment sent {"connection_id":148431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:46:28] local.INFO: TCP Data received {"connection_id":145900,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb1a7488012d511500064ce8e00005014a25..."} 
[2026-08-01 07:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb1a7488012d511500064ce8e00005014a25..."} 
[2026-08-01 07:46:28] local.INFO: Processing buffer {"connection_id":145900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb1a7488012d511500064ce8e00005014a25..."} 
[2026-08-01 07:46:28] local.INFO: Packet analysis {"connection_id":145900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb1a"} 
[2026-08-01 07:46:28] local.INFO: Extracted packet for processing {"connection_id":145900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb1a"} 
[2026-08-01 07:46:28] local.INFO: GPS Element Parsed {"raw_longitude":760288512,"raw_latitude":105703648,"longitude_deg":76.0288512,"latitude_deg":10.5703648,"altitude":5,"angle":330,"satellites":37,"speed":24,"hex_longitude":"2d511500","hex_latitude":"064ce8e0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 07:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100925184001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365727705183813632,"note":"Value kept but may cause issues"} 
[2026-08-01 07:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5847220455756806144,"note":"Value kept but may cause issues"} 
[2026-08-01 07:46:28] 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-08-01 07:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785550501000,"timestamp_ms":1785550501000,"timestamp_seconds":1785550501,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb1a7488"} 
[2026-08-01 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-08-01 07:46: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-08-01 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":65,"data_length":795,"current_offset":136} 
[2026-08-01 07:46:28] 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-08-01 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-08-01 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-08-01 07:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":145900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":145900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":145900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:46:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100925184001,"66":27800,"34":206,"19":38144,"24":24,"16":365727705183813632,"45":5847220455756806144},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,19,24,16,45]} 
[2026-08-01 07:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100925184001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:46:28] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-01 07:46:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365727705183813632,"km_value":365727705183813.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5847220455756806144,"description":"Unknown IO ID 45"} 
[2026-08-01 07:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100925184001,"power":27800,"unknown_34":206,"unknown_19":38144,"ignition":24,"odometer":null,"unknown_45":5847220455756806144}} 
[2026-08-01 07:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":145900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:46:28] local.INFO: GPS data processed {"connection_id":145900,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:46:28] local.INFO: Acknowledgment sent {"connection_id":145900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:46:46] local.INFO: TCP Data received {"connection_id":145901,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:46:46] local.INFO: Processing buffer {"connection_id":145901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:46:46] local.INFO: IMEI packet received {"connection_id":145901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":145901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:46:48] local.INFO: TCP Data received {"connection_id":148431,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb1b7a40012d7abe4005d72eb8000e016723..."} 
[2026-08-01 07:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb1b7a40012d7abe4005d72eb8000e016723..."} 
[2026-08-01 07:46:48] local.INFO: Processing buffer {"connection_id":148431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb1b7a40012d7abe4005d72eb8000e016723..."} 
[2026-08-01 07:46:48] local.INFO: Packet analysis {"connection_id":148431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb1b"} 
[2026-08-01 07:46:48] local.INFO: Extracted packet for processing {"connection_id":148431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb1b"} 
[2026-08-01 07:46:48] local.INFO: GPS Element Parsed {"raw_longitude":763018816,"raw_latitude":97988280,"longitude_deg":76.3018816,"latitude_deg":9.798828,"altitude":14,"angle":359,"satellites":35,"speed":50,"hex_longitude":"2d7abe40","hex_latitude":"05d72eb8","is_valid_coordinates":true} 
[2026-08-01 07:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100943104001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113476892840951808,"note":"Value kept but may cause issues"} 
[2026-08-01 07:46:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8843873424587102208,"note":"Value kept but may cause issues"} 
[2026-08-01 07:46:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785550568000,"timestamp_ms":1785550568000,"timestamp_seconds":1785550568,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb1b7a40"} 
[2026-08-01 07:46:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:46: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-08-01 07:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-01 07:46:48] 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-08-01 07:46:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:46:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:46:48] 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-08-01 07:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100943104001,"66":13689,"245":206,"85":15104,"24":50,"16":113476892840951808,"45":8843873424587102208},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-01 07:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100943104001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:46:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113476892840951808,"km_value":113476892840951.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:46:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8843873424587102208,"description":"Unknown IO ID 45"} 
[2026-08-01 07:46:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100943104001,"power":13689,"geofence_id":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8843873424587102208}} 
[2026-08-01 07:46:48] local.INFO: DEBUG: GPS processor result {"connection_id":148431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576325,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:46:48] local.INFO: GPS data processed {"connection_id":148431,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:46:48] local.INFO: Acknowledgment sent {"connection_id":148431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:46:50] local.INFO: TCP Data received {"connection_id":145901,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:46:50] local.INFO: Processing buffer {"connection_id":145901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:46:50] local.INFO: IMEI packet received {"connection_id":145901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":145901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:46:52] local.INFO: TCP Data received {"connection_id":145901,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb1aa368012d510ac0064cfeb80007015729..."} 
[2026-08-01 07:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb1aa368012d510ac0064cfeb80007015729..."} 
[2026-08-01 07:46:52] local.INFO: Processing buffer {"connection_id":145901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb1aa368012d510ac0064cfeb80007015729..."} 
[2026-08-01 07:46:52] local.INFO: Packet analysis {"connection_id":145901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb1a"} 
[2026-08-01 07:46:52] local.INFO: Extracted packet for processing {"connection_id":145901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb1a"} 
[2026-08-01 07:46:52] local.INFO: GPS Element Parsed {"raw_longitude":760285888,"raw_latitude":105709240,"longitude_deg":76.0285888,"latitude_deg":10.570924,"altitude":7,"angle":343,"satellites":41,"speed":13,"hex_longitude":"2d510ac0","hex_latitude":"064cfeb8","is_valid_coordinates":true} 
[2026-08-01 07:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100928256001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365728005831524352,"note":"Value kept but may cause issues"} 
[2026-08-01 07:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5842576118643220480,"note":"Value kept but may cause issues"} 
[2026-08-01 07:46:52] 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-08-01 07:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785550513000,"timestamp_ms":1785550513000,"timestamp_seconds":1785550513,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb1aa368"} 
[2026-08-01 07:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:46:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 07:46: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-08-01 07:46:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":145901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":145901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":145901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:46:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100928256001,"66":27745,"34":206,"19":38144,"24":13,"16":365728005831524352,"45":5842576118643220480},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,19,24,16,45]} 
[2026-08-01 07:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100928256001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:46:52] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-01 07:46:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365728005831524352,"km_value":365728005831524.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":5842576118643220480,"description":"Unknown IO ID 45"} 
[2026-08-01 07:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100928256001,"power":27745,"unknown_34":206,"unknown_19":38144,"ignition":13,"odometer":null,"unknown_45":5842576118643220480}} 
[2026-08-01 07:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":145901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:46:52] local.INFO: GPS data processed {"connection_id":145901,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:46:52] local.INFO: Acknowledgment sent {"connection_id":145901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:47:06] local.INFO: TCP Data received {"connection_id":148432,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148432,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:47:06] local.INFO: Processing buffer {"connection_id":148432,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:47:06] local.INFO: IMEI packet received {"connection_id":148432,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":148432,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:47:07] local.INFO: TCP Data received {"connection_id":148432,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148432,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:47:07] local.INFO: Processing buffer {"connection_id":148432,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:47:07] local.INFO: IMEI packet received {"connection_id":148432,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":148432,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:47:12] local.INFO: TCP Data received {"connection_id":148432,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148432,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:47:12] local.INFO: Processing buffer {"connection_id":148432,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:47:12] local.INFO: IMEI packet received {"connection_id":148432,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":148432,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:47:14] local.INFO: TCP Data received {"connection_id":148432,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb1b9598012d7ab8c005d75178000c015d23..."} 
[2026-08-01 07:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb1b9598012d7ab8c005d75178000c015d23..."} 
[2026-08-01 07:47:14] local.INFO: Processing buffer {"connection_id":148432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb1b9598012d7ab8c005d75178000c015d23..."} 
[2026-08-01 07:47:14] local.INFO: Packet analysis {"connection_id":148432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb1b"} 
[2026-08-01 07:47:14] local.INFO: Extracted packet for processing {"connection_id":148432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb1b"} 
[2026-08-01 07:47:14] local.INFO: GPS Element Parsed {"raw_longitude":763017408,"raw_latitude":97997176,"longitude_deg":76.3017408,"latitude_deg":9.7997176,"altitude":12,"angle":349,"satellites":35,"speed":50,"hex_longitude":"2d7ab8c0","hex_latitude":"05d75178","is_valid_coordinates":true} 
[2026-08-01 07:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100945408001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113477326632648704,"note":"Value kept but may cause issues"} 
[2026-08-01 07:47:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8844577112031410176,"note":"Value kept but may cause issues"} 
[2026-08-01 07:47:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785550575000,"timestamp_ms":1785550575000,"timestamp_seconds":1785550575,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb1b9598"} 
[2026-08-01 07:47:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:47: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-08-01 07:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-08-01 07:47:14] 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-08-01 07:47:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:47:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":148432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":148432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":148432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:47:14] 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-08-01 07:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100945408001,"66":13678,"245":206,"85":15104,"24":50,"16":113477326632648704,"45":8844577112031410176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-01 07:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100945408001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:47:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113477326632648704,"km_value":113477326632648.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8844577112031410176,"description":"Unknown IO ID 45"} 
[2026-08-01 07:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100945408001,"power":13678,"geofence_id":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8844577112031410176}} 
[2026-08-01 07:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":148432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576327,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:47:14] local.INFO: GPS data processed {"connection_id":148432,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:47:14] local.INFO: Acknowledgment sent {"connection_id":148432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:47:25] local.INFO: TCP Data received {"connection_id":145901,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb1aeda0012d510080064d16580005014b29..."} 
[2026-08-01 07:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb1aeda0012d510080064d16580005014b29..."} 
[2026-08-01 07:47:25] local.INFO: Processing buffer {"connection_id":145901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb1aeda0012d510080064d16580005014b29..."} 
[2026-08-01 07:47:25] local.INFO: Packet analysis {"connection_id":145901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb1a"} 
[2026-08-01 07:47:25] local.INFO: Extracted packet for processing {"connection_id":145901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb1a"} 
[2026-08-01 07:47:25] local.INFO: GPS Element Parsed {"raw_longitude":760283264,"raw_latitude":105715288,"longitude_deg":76.0283264,"latitude_deg":10.5715288,"altitude":5,"angle":331,"satellites":41,"speed":11,"hex_longitude":"2d510080","hex_latitude":"064d1658","is_valid_coordinates":true} 
[2026-08-01 07:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100931328001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365728323659104256,"note":"Value kept but may cause issues"} 
[2026-08-01 07:47:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5839691000133367808,"note":"Value kept but may cause issues"} 
[2026-08-01 07:47:25] 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-08-01 07:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785550532000,"timestamp_ms":1785550532000,"timestamp_seconds":1785550532,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb1aeda0"} 
[2026-08-01 07:47:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:47:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 07:47:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:47:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:47:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":145901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":145901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":145901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:47:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100931328001,"66":27865,"34":206,"19":38144,"24":11,"16":365728323659104256,"45":5839691000133367808},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,19,24,16,45]} 
[2026-08-01 07:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100931328001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:47:25] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-01 07:47:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365728323659104256,"km_value":365728323659104.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:47:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5839691000133367808,"description":"Unknown IO ID 45"} 
[2026-08-01 07:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100931328001,"power":27865,"unknown_34":206,"unknown_19":38144,"ignition":11,"odometer":null,"unknown_45":5839691000133367808}} 
[2026-08-01 07:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":145901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:47:25] local.INFO: GPS data processed {"connection_id":145901,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:47:25] local.INFO: Acknowledgment sent {"connection_id":145901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:47:44] local.INFO: TCP Data received {"connection_id":148432,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb1caed8012d7a880005d896a80009000d24..."} 
[2026-08-01 07:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb1caed8012d7a880005d896a80009000d24..."} 
[2026-08-01 07:47:44] local.INFO: Processing buffer {"connection_id":148432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb1caed8012d7a880005d896a80009000d24..."} 
[2026-08-01 07:47:44] local.INFO: Packet analysis {"connection_id":148432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb1c"} 
[2026-08-01 07:47:44] local.INFO: Extracted packet for processing {"connection_id":148432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb1c"} 
[2026-08-01 07:47:44] local.INFO: GPS Element Parsed {"raw_longitude":763004928,"raw_latitude":98080424,"longitude_deg":76.3004928,"latitude_deg":9.8080424,"altitude":9,"angle":13,"satellites":36,"speed":36,"hex_longitude":"2d7a8800","hex_latitude":"05d896a8","is_valid_coordinates":true} 
[2026-08-01 07:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100964864001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113481505635827712,"note":"Value kept but may cause issues"} 
[2026-08-01 07:47:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8829025619591020544,"note":"Value kept but may cause issues"} 
[2026-08-01 07:47:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785550647000,"timestamp_ms":1785550647000,"timestamp_seconds":1785550647,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb1caed8"} 
[2026-08-01 07:47:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:47:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-01 07:47:44] 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-08-01 07:47:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:47:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":148432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":148432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":148432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:47:44] 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-08-01 07:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100964864001,"66":13472,"231":206,"85":15104,"24":36,"16":113481505635827712,"45":8829025619591020544},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,85,24,16,45]} 
[2026-08-01 07:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100964864001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:47:44] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-08-01 07:47:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:47:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113481505635827712,"km_value":113481505635827.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:47:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8829025619591020544,"description":"Unknown IO ID 45"} 
[2026-08-01 07:47:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100964864001,"power":13472,"unknown_231":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8829025619591020544}} 
[2026-08-01 07:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":148432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576329,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:47:45] local.INFO: GPS data processed {"connection_id":148432,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:47:45] local.INFO: Acknowledgment sent {"connection_id":148432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:47:45] local.INFO: TCP Data received {"connection_id":145902,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:47:45] local.INFO: Processing buffer {"connection_id":145902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:47:45] local.INFO: IMEI packet received {"connection_id":145902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":145902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:47:47] local.INFO: TCP Data received {"connection_id":145902,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:47:47] local.INFO: Processing buffer {"connection_id":145902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:47:47] local.INFO: IMEI packet received {"connection_id":145902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":145902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:47:50] local.INFO: TCP Data received {"connection_id":145902,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:47:50] local.INFO: Processing buffer {"connection_id":145902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:47:50] local.INFO: IMEI packet received {"connection_id":145902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":145902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:47:51] local.INFO: TCP Data received {"connection_id":145902,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb1b3fa8012d50f500064d2e280008014929..."} 
[2026-08-01 07:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb1b3fa8012d50f500064d2e280008014929..."} 
[2026-08-01 07:47:51] local.INFO: Processing buffer {"connection_id":145902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb1b3fa8012d50f500064d2e280008014929..."} 
[2026-08-01 07:47:51] local.INFO: Packet analysis {"connection_id":145902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb1b"} 
[2026-08-01 07:47:51] local.INFO: Extracted packet for processing {"connection_id":145902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb1b"} 
[2026-08-01 07:47:51] local.INFO: GPS Element Parsed {"raw_longitude":760280320,"raw_latitude":105721384,"longitude_deg":76.028032,"latitude_deg":10.5721384,"altitude":8,"angle":329,"satellites":41,"speed":0,"hex_longitude":"2d50f500","hex_latitude":"064d2e28","is_valid_coordinates":true} 
[2026-08-01 07:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100936192001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365728654371586048,"note":"Value kept but may cause issues"} 
[2026-08-01 07:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5836805881623631872,"note":"Value kept but may cause issues"} 
[2026-08-01 07:47:51] 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-08-01 07:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785550553000,"timestamp_ms":1785550553000,"timestamp_seconds":1785550553,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb1b3fa8"} 
[2026-08-01 07:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:47:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 07:47:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:47:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":145902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":145902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":145902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100936192001,"66":27800,"34":206,"19":38144,"24":0,"16":365728654371586048,"45":5836805881623631872},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,19,24,16,45]} 
[2026-08-01 07:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100936192001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:47:51] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-01 07:47:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365728654371586048,"km_value":365728654371586.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5836805881623631872,"description":"Unknown IO ID 45"} 
[2026-08-01 07:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100936192001,"power":27800,"unknown_34":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":5836805881623631872}} 
[2026-08-01 07:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":145902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:47:51] local.INFO: GPS data processed {"connection_id":145902,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:47:51] local.INFO: Acknowledgment sent {"connection_id":145902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:48:07] local.INFO: TCP Data received {"connection_id":147119,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147119,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:48:07] local.INFO: Processing buffer {"connection_id":147119,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:48:07] local.INFO: IMEI packet received {"connection_id":147119,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":147119,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:48:08] local.INFO: TCP Data received {"connection_id":147119,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147119,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:48:08] local.INFO: Processing buffer {"connection_id":147119,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:48:08] local.INFO: IMEI packet received {"connection_id":147119,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":147119,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:48:12] local.INFO: TCP Data received {"connection_id":147119,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147119,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:48:12] local.INFO: Processing buffer {"connection_id":147119,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:48:12] local.INFO: IMEI packet received {"connection_id":147119,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:48:12] local.INFO: IMEI acknowledgment sent {"connection_id":147119,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:48:13] local.INFO: TCP Data received {"connection_id":147119,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb1cd200012d7a910005d8b9180008000424..."} 
[2026-08-01 07:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb1cd200012d7a910005d8b9180008000424..."} 
[2026-08-01 07:48:13] local.INFO: Processing buffer {"connection_id":147119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb1cd200012d7a910005d8b9180008000424..."} 
[2026-08-01 07:48:13] local.INFO: Packet analysis {"connection_id":147119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb1c"} 
[2026-08-01 07:48:13] local.INFO: Extracted packet for processing {"connection_id":147119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb1c"} 
[2026-08-01 07:48:13] local.INFO: GPS Element Parsed {"raw_longitude":763007232,"raw_latitude":98089240,"longitude_deg":76.3007232,"latitude_deg":9.808924,"altitude":8,"angle":4,"satellites":36,"speed":44,"hex_longitude":"2d7a9100","hex_latitude":"05d8b918","is_valid_coordinates":true} 
[2026-08-01 07:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:48:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100965632001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:48:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113481948017459200,"note":"Value kept but may cause issues"} 
[2026-08-01 07:48:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8829307094568445952,"note":"Value kept but may cause issues"} 
[2026-08-01 07:48:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:48:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785550656000,"timestamp_ms":1785550656000,"timestamp_seconds":1785550656,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb1cd200"} 
[2026-08-01 07:48:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:48:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-01 07:48:13] 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-08-01 07:48:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:48:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:48:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:48:13] local.INFO: Teltonika packet parsed successfully {"connection_id":147119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:48:13] local.INFO: Passing IMEI to GPS processor {"connection_id":147119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:48:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":147119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:48:13] 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-08-01 07:48:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:48:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:48:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100965632001,"66":13624,"231":206,"85":15104,"24":44,"16":113481948017459200,"45":8829307094568445952},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,85,24,16,45]} 
[2026-08-01 07:48:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:48:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:48:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100965632001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:48:13] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-08-01 07:48:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:48:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113481948017459200,"km_value":113481948017459.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:48:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8829307094568445952,"description":"Unknown IO ID 45"} 
[2026-08-01 07:48:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100965632001,"power":13624,"unknown_231":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8829307094568445952}} 
[2026-08-01 07:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":147119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576331,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:48:13] local.INFO: GPS data processed {"connection_id":147119,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:48:13] local.INFO: Acknowledgment sent {"connection_id":147119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:48:23] local.INFO: TCP Data received {"connection_id":145902,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb1b5718012d50f340064d3278000a015529..."} 
[2026-08-01 07:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb1b5718012d50f340064d3278000a015529..."} 
[2026-08-01 07:48:23] local.INFO: Processing buffer {"connection_id":145902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb1b5718012d50f340064d3278000a015529..."} 
[2026-08-01 07:48:23] local.INFO: Packet analysis {"connection_id":145902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb1b"} 
[2026-08-01 07:48:23] local.INFO: Extracted packet for processing {"connection_id":145902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb1b"} 
[2026-08-01 07:48:23] local.INFO: GPS Element Parsed {"raw_longitude":760279872,"raw_latitude":105722488,"longitude_deg":76.0279872,"latitude_deg":10.5722488,"altitude":10,"angle":341,"satellites":41,"speed":13,"hex_longitude":"2d50f340","hex_latitude":"064d3278","is_valid_coordinates":true} 
[2026-08-01 07:48:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:48:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100941568001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:48:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365728714501128192,"note":"Value kept but may cause issues"} 
[2026-08-01 07:48:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5833568919393019904,"note":"Value kept but may cause issues"} 
[2026-08-01 07:48:23] 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-08-01 07:48:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785550559000,"timestamp_ms":1785550559000,"timestamp_seconds":1785550559,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb1b5718"} 
[2026-08-01 07:48:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:48:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:48:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 07:48:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:48:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:48:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:48:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:48:23] local.INFO: Teltonika packet parsed successfully {"connection_id":145902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:48:23] local.INFO: Passing IMEI to GPS processor {"connection_id":145902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:48:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":145902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:48:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:48:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:48:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:48:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100941568001,"66":27821,"34":206,"19":38144,"24":13,"16":365728714501128192,"45":5833568919393019904},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,19,24,16,45]} 
[2026-08-01 07:48:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:48:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:48:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100941568001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:48:23] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-01 07:48:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:48:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365728714501128192,"km_value":365728714501128.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:48:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5833568919393019904,"description":"Unknown IO ID 45"} 
[2026-08-01 07:48:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100941568001,"power":27821,"unknown_34":206,"unknown_19":38144,"ignition":13,"odometer":null,"unknown_45":5833568919393019904}} 
[2026-08-01 07:48:23] local.INFO: DEBUG: GPS processor result {"connection_id":145902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:48:23] local.INFO: GPS data processed {"connection_id":145902,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:48:23] local.INFO: Acknowledgment sent {"connection_id":145902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:48:44] local.INFO: TCP Data received {"connection_id":147119,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb1ce970012d7a900005d8d0c80007016125..."} 
[2026-08-01 07:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb1ce970012d7a900005d8d0c80007016125..."} 
[2026-08-01 07:48:44] local.INFO: Processing buffer {"connection_id":147119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb1ce970012d7a900005d8d0c80007016125..."} 
[2026-08-01 07:48:44] local.INFO: Packet analysis {"connection_id":147119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb1c"} 
[2026-08-01 07:48:44] local.INFO: Extracted packet for processing {"connection_id":147119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb1c"} 
[2026-08-01 07:48:44] local.INFO: GPS Element Parsed {"raw_longitude":763006976,"raw_latitude":98095304,"longitude_deg":76.3006976,"latitude_deg":9.8095304,"altitude":7,"angle":353,"satellites":37,"speed":27,"hex_longitude":"2d7a9000","hex_latitude":"05d8d0c8","is_valid_coordinates":true} 
[2026-08-01 07:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100967936001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113482244370202624,"note":"Value kept but may cause issues"} 
[2026-08-01 07:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8831840369361098752,"note":"Value kept but may cause issues"} 
[2026-08-01 07:48:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785550662000,"timestamp_ms":1785550662000,"timestamp_seconds":1785550662,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb1ce970"} 
[2026-08-01 07:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:48:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-01 07:48:44] 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-08-01 07:48:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":147119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":147119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":147119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:48:44] 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-08-01 07:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100967936001,"66":13515,"231":206,"85":15104,"24":27,"16":113482244370202624,"45":8831840369361098752},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,85,24,16,45]} 
[2026-08-01 07:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100967936001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:48:44] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-08-01 07:48:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113482244370202624,"km_value":113482244370202.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8831840369361098752,"description":"Unknown IO ID 45"} 
[2026-08-01 07:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100967936001,"power":13515,"unknown_231":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8831840369361098752}} 
[2026-08-01 07:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":147119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576333,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:48:44] local.INFO: GPS data processed {"connection_id":147119,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:48:44] local.INFO: Acknowledgment sent {"connection_id":147119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:48:45] local.INFO: TCP Data received {"connection_id":146097,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:48:45] local.INFO: Processing buffer {"connection_id":146097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:48:45] local.INFO: IMEI packet received {"connection_id":146097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":146097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:48:51] local.INFO: TCP Data received {"connection_id":146097,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:48:51] local.INFO: Processing buffer {"connection_id":146097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:48:51] local.INFO: IMEI packet received {"connection_id":146097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":146097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:48:52] local.INFO: TCP Data received {"connection_id":146097,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb1ba920012d50ec40064d44900008015629..."} 
[2026-08-01 07:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb1ba920012d50ec40064d44900008015629..."} 
[2026-08-01 07:48:52] local.INFO: Processing buffer {"connection_id":146097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb1ba920012d50ec40064d44900008015629..."} 
[2026-08-01 07:48:52] local.INFO: Packet analysis {"connection_id":146097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb1b"} 
[2026-08-01 07:48:52] local.INFO: Extracted packet for processing {"connection_id":146097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb1b"} 
[2026-08-01 07:48:52] local.INFO: GPS Element Parsed {"raw_longitude":760278080,"raw_latitude":105727120,"longitude_deg":76.027808,"latitude_deg":10.572712,"altitude":8,"angle":342,"satellites":41,"speed":10,"hex_longitude":"2d50ec40","hex_latitude":"064d4490","is_valid_coordinates":true} 
[2026-08-01 07:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100943104001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365728959314264064,"note":"Value kept but may cause issues"} 
[2026-08-01 07:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5833076338184058880,"note":"Value kept but may cause issues"} 
[2026-08-01 07:48:52] 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-08-01 07:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785550580000,"timestamp_ms":1785550580000,"timestamp_seconds":1785550580,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb1ba920"} 
[2026-08-01 07:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:48: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-08-01 07:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 07:48:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:48:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":146097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":146097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":146097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:48:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100943104001,"66":27865,"34":206,"19":38144,"24":10,"16":365728959314264064,"45":5833076338184058880},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,19,24,16,45]} 
[2026-08-01 07:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100943104001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:48:52] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-01 07:48:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365728959314264064,"km_value":365728959314264.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":5833076338184058880,"description":"Unknown IO ID 45"} 
[2026-08-01 07:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100943104001,"power":27865,"unknown_34":206,"unknown_19":38144,"ignition":10,"odometer":null,"unknown_45":5833076338184058880}} 
[2026-08-01 07:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":146097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:48:52] local.INFO: GPS data processed {"connection_id":146097,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:48:52] local.INFO: Acknowledgment sent {"connection_id":146097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:49:07] local.INFO: TCP Data received {"connection_id":146098,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146098,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:49:07] local.INFO: Processing buffer {"connection_id":146098,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:49:07] local.INFO: IMEI packet received {"connection_id":146098,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":146098,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:49:12] local.INFO: TCP Data received {"connection_id":146098,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146098,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:49:12] local.INFO: Processing buffer {"connection_id":146098,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:49:12] local.INFO: IMEI packet received {"connection_id":146098,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":146098,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:49:21] local.INFO: TCP Data received {"connection_id":146098,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb1d1080012d7a8bc005d8f3480007016024..."} 
[2026-08-01 07:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb1d1080012d7a8bc005d8f3480007016024..."} 
[2026-08-01 07:49:21] local.INFO: Processing buffer {"connection_id":146098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb1d1080012d7a8bc005d8f3480007016024..."} 
[2026-08-01 07:49:21] local.INFO: Packet analysis {"connection_id":146098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb1d"} 
[2026-08-01 07:49:21] local.INFO: Extracted packet for processing {"connection_id":146098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb1d"} 
[2026-08-01 07:49:21] local.INFO: GPS Element Parsed {"raw_longitude":763005888,"raw_latitude":98104136,"longitude_deg":76.3005888,"latitude_deg":9.8104136,"altitude":7,"angle":352,"satellites":36,"speed":40,"hex_longitude":"2d7a8bc0","hex_latitude":"05d8f348","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100969472001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113482673866932224,"note":"Value kept but may cause issues"} 
[2026-08-01 07:49:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8831558894385940480,"note":"Value kept but may cause issues"} 
[2026-08-01 07:49:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785550672000,"timestamp_ms":1785550672000,"timestamp_seconds":1785550672,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb1d1080"} 
[2026-08-01 07:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:49: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-08-01 07: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-01 07:49:21] 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-08-01 07: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-08-01 07:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:49:21] 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-08-01 07:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100969472001,"66":13559,"231":206,"85":15104,"24":40,"16":113482673866932224,"45":8831558894385940480},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,85,24,16,45]} 
[2026-08-01 07:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100969472001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:49:21] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-08-01 07:49:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113482673866932224,"km_value":113482673866932.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:49:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8831558894385940480,"description":"Unknown IO ID 45"} 
[2026-08-01 07:49:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100969472001,"power":13559,"unknown_231":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8831558894385940480}} 
[2026-08-01 07:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":146098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576335,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:49:21] local.INFO: GPS data processed {"connection_id":146098,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:49:21] local.INFO: Acknowledgment sent {"connection_id":146098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:49:25] local.INFO: TCP Data received {"connection_id":146097,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb1bf358012d50e600064d68600005015b28..."} 
[2026-08-01 07:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb1bf358012d50e600064d68600005015b28..."} 
[2026-08-01 07:49:25] local.INFO: Processing buffer {"connection_id":146097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb1bf358012d50e600064d68600005015b28..."} 
[2026-08-01 07:49:25] local.INFO: Packet analysis {"connection_id":146097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb1b"} 
[2026-08-01 07:49:25] local.INFO: Extracted packet for processing {"connection_id":146097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb1b"} 
[2026-08-01 07:49:25] local.INFO: GPS Element Parsed {"raw_longitude":760276480,"raw_latitude":105736288,"longitude_deg":76.027648,"latitude_deg":10.5736288,"altitude":5,"angle":347,"satellites":40,"speed":22,"hex_longitude":"2d50e600","hex_latitude":"064d6860","is_valid_coordinates":true} 
[2026-08-01 07:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100948480001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365729410285830144,"note":"Value kept but may cause issues"} 
[2026-08-01 07:49:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5831106013348270080,"note":"Value kept but may cause issues"} 
[2026-08-01 07:49:25] 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-08-01 07:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785550599000,"timestamp_ms":1785550599000,"timestamp_seconds":1785550599,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb1bf358"} 
[2026-08-01 07:49:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:49:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 07:49:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:49:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:49:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":146097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":146097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":146097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:49:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100948480001,"66":27767,"34":206,"19":38144,"24":22,"16":365729410285830144,"45":5831106013348270080},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,19,24,16,45]} 
[2026-08-01 07:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100948480001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:49:25] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-01 07:49:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365729410285830144,"km_value":365729410285830.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:49:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5831106013348270080,"description":"Unknown IO ID 45"} 
[2026-08-01 07:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100948480001,"power":27767,"unknown_34":206,"unknown_19":38144,"ignition":22,"odometer":null,"unknown_45":5831106013348270080}} 
[2026-08-01 07:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":146097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:49:25] local.INFO: GPS data processed {"connection_id":146097,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:49:25] local.INFO: Acknowledgment sent {"connection_id":146097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:49:50] local.INFO: TCP Data received {"connection_id":145903,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:49:50] local.INFO: Processing buffer {"connection_id":145903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:49:50] local.INFO: IMEI packet received {"connection_id":145903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":145903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:49:55] local.INFO: TCP Data received {"connection_id":145903,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:49:55] local.INFO: Processing buffer {"connection_id":145903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:49:55] local.INFO: IMEI packet received {"connection_id":145903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":145903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:49:57] local.INFO: TCP Data received {"connection_id":145903,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb1c1e50012d50df40064d7c180004014f29..."} 
[2026-08-01 07:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb1c1e50012d50df40064d7c180004014f29..."} 
[2026-08-01 07:49:57] local.INFO: Processing buffer {"connection_id":145903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb1c1e50012d50df40064d7c180004014f29..."} 
[2026-08-01 07:49:57] local.INFO: Packet analysis {"connection_id":145903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb1c"} 
[2026-08-01 07:49:57] local.INFO: Extracted packet for processing {"connection_id":145903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb1c"} 
[2026-08-01 07:49:57] local.INFO: GPS Element Parsed {"raw_longitude":760274752,"raw_latitude":105741336,"longitude_deg":76.0274752,"latitude_deg":10.5741336,"altitude":4,"angle":335,"satellites":41,"speed":19,"hex_longitude":"2d50df40","hex_latitude":"064d7c18","is_valid_coordinates":true} 
[2026-08-01 07:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100953344001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365729667983867904,"note":"Value kept but may cause issues"} 
[2026-08-01 07:49:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5829346794746175488,"note":"Value kept but may cause issues"} 
[2026-08-01 07:49:57] 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-08-01 07:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785550610000,"timestamp_ms":1785550610000,"timestamp_seconds":1785550610,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb1c1e50"} 
[2026-08-01 07:49:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:49: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-08-01 07:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 07:49:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:49:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:49:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":145903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":145903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":145903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:49:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100953344001,"66":27995,"34":206,"19":38144,"24":19,"16":365729667983867904,"45":5829346794746175488},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,19,24,16,45]} 
[2026-08-01 07:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100953344001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:49:57] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-01 07:49:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365729667983867904,"km_value":365729667983867.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:49:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5829346794746175488,"description":"Unknown IO ID 45"} 
[2026-08-01 07:49:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100953344001,"power":27995,"unknown_34":206,"unknown_19":38144,"ignition":19,"odometer":null,"unknown_45":5829346794746175488}} 
[2026-08-01 07:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":145903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:49:57] local.INFO: GPS data processed {"connection_id":145903,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:49:57] local.INFO: Acknowledgment sent {"connection_id":145903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:50:00] local.INFO: TCP Data received {"connection_id":145903,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb1c6888012d50cec0064d9be8000601482a..."} 
[2026-08-01 07:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb1c6888012d50cec0064d9be8000601482a..."} 
[2026-08-01 07:50:00] local.INFO: Processing buffer {"connection_id":145903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb1c6888012d50cec0064d9be8000601482a..."} 
[2026-08-01 07:50:00] local.INFO: Packet analysis {"connection_id":145903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb1c"} 
[2026-08-01 07:50:00] local.INFO: Extracted packet for processing {"connection_id":145903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb1c"} 
[2026-08-01 07:50:00] local.INFO: GPS Element Parsed {"raw_longitude":760270528,"raw_latitude":105749480,"longitude_deg":76.0270528,"latitude_deg":10.574948,"altitude":6,"angle":328,"satellites":42,"speed":17,"hex_longitude":"2d50cec0","hex_latitude":"064d9be8","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100956160001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365730110365499392,"note":"Value kept but may cause issues"} 
[2026-08-01 07:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5827446838654670848,"note":"Value kept but may cause issues"} 
[2026-08-01 07:50:00] 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-08-01 07:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785550629000,"timestamp_ms":1785550629000,"timestamp_seconds":1785550629,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb1c6888"} 
[2026-08-01 07:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07: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-08-01 07: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-01 07:50: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-08-01 07: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-08-01 07:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":145903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":145903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":145903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:50:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100956160001,"66":27865,"34":206,"19":38144,"24":17,"16":365730110365499392,"45":5827446838654670848},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,19,24,16,45]} 
[2026-08-01 07:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100956160001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:50:00] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-01 07:50:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365730110365499392,"km_value":365730110365499.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5827446838654670848,"description":"Unknown IO ID 45"} 
[2026-08-01 07:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100956160001,"power":27865,"unknown_34":206,"unknown_19":38144,"ignition":17,"odometer":null,"unknown_45":5827446838654670848}} 
[2026-08-01 07:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":145903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:50:00] local.INFO: GPS data processed {"connection_id":145903,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:50:00] local.INFO: Acknowledgment sent {"connection_id":145903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:50:07] local.INFO: TCP Data received {"connection_id":146099,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146099,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:50:07] local.INFO: Processing buffer {"connection_id":146099,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:50:07] local.INFO: IMEI packet received {"connection_id":146099,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":146099,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:50:14] local.INFO: TCP Data received {"connection_id":146099,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146099,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:50:14] local.INFO: Processing buffer {"connection_id":146099,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:50:14] local.INFO: IMEI packet received {"connection_id":146099,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":146099,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:50:14] local.INFO: TCP Data received {"connection_id":146099,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb1e6840012d7a424005da74d8000b015e23..."} 
[2026-08-01 07:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb1e6840012d7a424005da74d8000b015e23..."} 
[2026-08-01 07:50:14] local.INFO: Processing buffer {"connection_id":146099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb1e6840012d7a424005da74d8000b015e23..."} 
[2026-08-01 07:50:14] local.INFO: Packet analysis {"connection_id":146099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb1e"} 
[2026-08-01 07:50:14] local.INFO: Extracted packet for processing {"connection_id":146099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb1e"} 
[2026-08-01 07:50:14] local.INFO: GPS Element Parsed {"raw_longitude":762987072,"raw_latitude":98202840,"longitude_deg":76.2987072,"latitude_deg":9.820284,"altitude":11,"angle":350,"satellites":35,"speed":45,"hex_longitude":"2d7a4240","hex_latitude":"05da74d8","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100992512001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113487587309518848,"note":"Value kept but may cause issues"} 
[2026-08-01 07:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8811363064832088064,"note":"Value kept but may cause issues"} 
[2026-08-01 07:50:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785550760000,"timestamp_ms":1785550760000,"timestamp_seconds":1785550760,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb1e6840"} 
[2026-08-01 07:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-01 07:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751616813,"note":"Value kept but may cause issues"} 
[2026-08-01 07:50:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-01 07:50:14] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3139276160,"note":"Value kept but may cause issues"} 
[2026-08-01 07:50:14] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6423540666852179978,"note":"Value kept but may cause issues"} 
[2026-08-01 07:50:14] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-01 07:50:14] local.WARNING: Large IO value detected {"io_id":46,"raw_value":4076863488,"note":"Value kept but may cause issues"} 
[2026-08-01 07:50:14] local.WARNING: Large IO value detected {"io_id":217,"raw_value":3606052871,"note":"Value kept but may cause issues"} 
[2026-08-01 07:50:14] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634974052591591,"note":"Value kept but may cause issues"} 
[2026-08-01 07:50:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2816934094,"corrected_to":0} 
[2026-08-01 07:50:14] local.WARNING: Large IO value detected {"io_id":168,"raw_value":3623955834,"note":"Value kept but may cause issues"} 
[2026-08-01 07:50:14] local.WARNING: Large IO value detected {"io_id":100,"raw_value":2147867059,"note":"Value kept but may cause issues"} 
[2026-08-01 07:50:14] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3036728743,"note":"Value kept but may cause issues"} 
[2026-08-01 07:50:14] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-01 07:50:14] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3649867776,"note":"Value kept but may cause issues"} 
[2026-08-01 07:50:14] local.WARNING: Large IO value detected {"io_id":53,"raw_value":7926561465190895189,"note":"Value kept but may cause issues"} 
[2026-08-01 07:50:14] local.WARNING: Large IO value detected {"io_id":122,"raw_value":7656125798104956936,"note":"Value kept but may cause issues"} 
[2026-08-01 07:50:14] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755622779486449,"note":"Value kept but may cause issues"} 
[2026-08-01 07:50:14] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,230,85,24,241,157,16,47,159,41,45,128,44,12,36,10,66,231,6,7,250,1,240,88,227,46,187,217,4,113,205,32,168,100,112,37,239,52,2,147,5,53,122,59],"length":577,"final_offset":707,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2816934094,"validated":0}]} 
[2026-08-01 07:50:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865073908828471296,"timestamp_seconds":865073908828471.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 07:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":146099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":146099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":146099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:50:14] 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-08-01 07:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100992512001,"66":13135,"230":206,"85":15104,"24":45,"16":113487587309518848,"45":8811363064832088064},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,85,24,16,45]} 
[2026-08-01 07:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100992512001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:50:14] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-08-01 07:50:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113487587309518848,"km_value":113487587309518.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8811363064832088064,"description":"Unknown IO ID 45"} 
[2026-08-01 07:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100992512001,"power":13135,"unknown_230":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8811363064832088064}} 
[2026-08-01 07:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":146099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576339,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:50:14] local.INFO: GPS data processed {"connection_id":146099,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:50:14] local.INFO: Acknowledgment sent {"connection_id":146099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:50:41] local.INFO: TCP Data received {"connection_id":148433,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:50:41] local.INFO: Processing buffer {"connection_id":148433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:50:41] local.INFO: IMEI packet received {"connection_id":148433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":148433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:50:45] local.INFO: TCP Data received {"connection_id":148433,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:50:45] local.INFO: Processing buffer {"connection_id":148433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:50:45] local.INFO: IMEI packet received {"connection_id":148433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":148433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:50:45] local.INFO: TCP Data received {"connection_id":146099,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb1e8f50012d7a3d4005da97e80009015f23..."} 
[2026-08-01 07:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb1e8f50012d7a3d4005da97e80009015f23..."} 
[2026-08-01 07:50:45] local.INFO: Processing buffer {"connection_id":146099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb1e8f50012d7a3d4005da97e80009015f23..."} 
[2026-08-01 07:50:45] local.INFO: Packet analysis {"connection_id":146099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb1e"} 
[2026-08-01 07:50:45] local.INFO: Extracted packet for processing {"connection_id":146099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb1e"} 
[2026-08-01 07:50:45] local.INFO: GPS Element Parsed {"raw_longitude":762985792,"raw_latitude":98211816,"longitude_deg":76.2985792,"latitude_deg":9.8211816,"altitude":9,"angle":351,"satellites":35,"speed":24,"hex_longitude":"2d7a3d40","hex_latitude":"05da97e8","is_valid_coordinates":true} 
[2026-08-01 07:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100994560001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113488025396183040,"note":"Value kept but may cause issues"} 
[2026-08-01 07:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809674214974216192,"note":"Value kept but may cause issues"} 
[2026-08-01 07:50:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785550770000,"timestamp_ms":1785550770000,"timestamp_seconds":1785550770,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb1e8f50"} 
[2026-08-01 07:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:50: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-08-01 07:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-01 07:50:45] 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-08-01 07:50:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":146099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":146099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":146099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:50:45] 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-08-01 07:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100994560001,"66":13341,"229":206,"85":15104,"24":24,"16":113488025396183040,"45":8809674214974216192},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-01 07:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100994560001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:50:45] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 07:50:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113488025396183040,"km_value":113488025396183.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809674214974216192,"description":"Unknown IO ID 45"} 
[2026-08-01 07:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100994560001,"power":13341,"unknown_229":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8809674214974216192}} 
[2026-08-01 07:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":146099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576340,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:50:45] local.INFO: GPS data processed {"connection_id":146099,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:50:45] local.INFO: Acknowledgment sent {"connection_id":146099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:50:50] local.INFO: TCP Data received {"connection_id":148433,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:50:50] local.INFO: Processing buffer {"connection_id":148433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:50:50] local.INFO: IMEI packet received {"connection_id":148433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":148433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:50:51] local.INFO: TCP Data received {"connection_id":148433,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb1e8f50012d506e40064e39100007013628..."} 
[2026-08-01 07:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb1e8f50012d506e40064e39100007013628..."} 
[2026-08-01 07:50:51] local.INFO: Processing buffer {"connection_id":148433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb1e8f50012d506e40064e39100007013628..."} 
[2026-08-01 07:50:51] local.INFO: Packet analysis {"connection_id":148433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb1e"} 
[2026-08-01 07:50:51] local.INFO: Extracted packet for processing {"connection_id":148433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb1e"} 
[2026-08-01 07:50:51] local.INFO: GPS Element Parsed {"raw_longitude":760245824,"raw_latitude":105789712,"longitude_deg":76.0245824,"latitude_deg":10.5789712,"altitude":7,"angle":310,"satellites":40,"speed":25,"hex_longitude":"2d506e40","hex_latitude":"064e3910","is_valid_coordinates":true} 
[2026-08-01 07:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100995328001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365732412467970048,"note":"Value kept but may cause issues"} 
[2026-08-01 07:50:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5798666022297602048,"note":"Value kept but may cause issues"} 
[2026-08-01 07:50:51] 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-08-01 07:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785550770000,"timestamp_ms":1785550770000,"timestamp_seconds":1785550770,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb1e8f50"} 
[2026-08-01 07:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:50:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 07:50:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:50:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100995328001,"66":27800,"35":206,"19":38144,"24":25,"16":365732412467970048,"45":5798666022297602048},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-08-01 07:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100995328001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:50:51] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-01 07:50:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365732412467970048,"km_value":365732412467970.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:50:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5798666022297602048,"description":"Unknown IO ID 45"} 
[2026-08-01 07:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100995328001,"power":27800,"unknown_35":206,"unknown_19":38144,"ignition":25,"odometer":null,"unknown_45":5798666022297602048}} 
[2026-08-01 07:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":148433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:50:51] local.INFO: GPS data processed {"connection_id":148433,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:50:51] local.INFO: Acknowledgment sent {"connection_id":148433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:50:56] local.INFO: TCP Data received {"connection_id":148433,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb1ec218012d505100064e4f480008013729..."} 
[2026-08-01 07:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb1ec218012d505100064e4f480008013729..."} 
[2026-08-01 07:50:56] local.INFO: Processing buffer {"connection_id":148433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb1ec218012d505100064e4f480008013729..."} 
[2026-08-01 07:50:56] local.INFO: Packet analysis {"connection_id":148433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb1e"} 
[2026-08-01 07:50:56] local.INFO: Extracted packet for processing {"connection_id":148433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb1e"} 
[2026-08-01 07:50:56] local.INFO: GPS Element Parsed {"raw_longitude":760238336,"raw_latitude":105795400,"longitude_deg":76.0238336,"latitude_deg":10.57954,"altitude":8,"angle":311,"satellites":41,"speed":30,"hex_longitude":"2d505100","hex_latitude":"064e4f48","is_valid_coordinates":true} 
[2026-08-01 07:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457100997120001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365732863439536128,"note":"Value kept but may cause issues"} 
[2026-08-01 07:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5795640166298750976,"note":"Value kept but may cause issues"} 
[2026-08-01 07:50:56] 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-08-01 07:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785550783000,"timestamp_ms":1785550783000,"timestamp_seconds":1785550783,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb1ec218"} 
[2026-08-01 07:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:50:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 07:50:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:50:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":148433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":148433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":148433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457100997120001,"66":27865,"35":206,"19":38144,"24":30,"16":365732863439536128,"45":5795640166298750976},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-08-01 07:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457100997120001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:50:56] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-01 07:50:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365732863439536128,"km_value":365732863439536.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":5795640166298750976,"description":"Unknown IO ID 45"} 
[2026-08-01 07:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457100997120001,"power":27865,"unknown_35":206,"unknown_19":38144,"ignition":30,"odometer":null,"unknown_45":5795640166298750976}} 
[2026-08-01 07:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":148433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:50:56] local.INFO: GPS data processed {"connection_id":148433,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:50:56] local.INFO: Acknowledgment sent {"connection_id":148433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:51:10] local.INFO: TCP Data received {"connection_id":148434,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148434,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:51:10] local.INFO: Processing buffer {"connection_id":148434,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:51:10] local.INFO: IMEI packet received {"connection_id":148434,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":148434,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:51:12] local.INFO: TCP Data received {"connection_id":148434,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148434,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:51:12] local.INFO: Processing buffer {"connection_id":148434,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:51:12] local.INFO: IMEI packet received {"connection_id":148434,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:51:12] local.INFO: IMEI acknowledgment sent {"connection_id":148434,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:51:17] local.INFO: TCP Data received {"connection_id":148434,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148434,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:51:17] local.INFO: Processing buffer {"connection_id":148434,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:51:17] local.INFO: IMEI packet received {"connection_id":148434,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":148434,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:51:17] local.INFO: TCP Data received {"connection_id":148434,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb1fe328012d7a338005daa1080008009227..."} 
[2026-08-01 07:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb1fe328012d7a338005daa1080008009227..."} 
[2026-08-01 07:51:17] local.INFO: Processing buffer {"connection_id":148434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb1fe328012d7a338005daa1080008009227..."} 
[2026-08-01 07:51:17] local.INFO: Packet analysis {"connection_id":148434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb1f"} 
[2026-08-01 07:51:17] local.INFO: Extracted packet for processing {"connection_id":148434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb1f"} 
[2026-08-01 07:51:17] local.INFO: GPS Element Parsed {"raw_longitude":762983296,"raw_latitude":98214152,"longitude_deg":76.2983296,"latitude_deg":9.8214152,"altitude":8,"angle":146,"satellites":39,"speed":7,"hex_longitude":"2d7a3380","hex_latitude":"05daa108","is_valid_coordinates":true} 
[2026-08-01 07:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101019136001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113488368993566720,"note":"Value kept but may cause issues"} 
[2026-08-01 07:51:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805452090326505472,"note":"Value kept but may cause issues"} 
[2026-08-01 07:51:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785550857000,"timestamp_ms":1785550857000,"timestamp_seconds":1785550857,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb1fe328"} 
[2026-08-01 07:51:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:51:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-01 07:51:17] 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-08-01 07:51:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:51:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148434,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148434,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:51:17] 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-08-01 07:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101019136001,"66":13037,"229":206,"85":15104,"24":7,"16":113488368993566720,"45":8805452090326505472},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-01 07:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101019136001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:51:17] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 07:51:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113488368993566720,"km_value":113488368993566.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:51:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805452090326505472,"description":"Unknown IO ID 45"} 
[2026-08-01 07:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101019136001,"power":13037,"unknown_229":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8805452090326505472}} 
[2026-08-01 07:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":148434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576343,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:51:18] local.INFO: GPS data processed {"connection_id":148434,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:51:18] local.INFO: Acknowledgment sent {"connection_id":148434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:51:29] local.INFO: TCP Data received {"connection_id":148433,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb1ee158012d503fc0064e60a80008014628..."} 
[2026-08-01 07:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb1ee158012d503fc0064e60a80008014628..."} 
[2026-08-01 07:51:29] local.INFO: Processing buffer {"connection_id":148433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb1ee158012d503fc0064e60a80008014628..."} 
[2026-08-01 07:51:29] local.INFO: Packet analysis {"connection_id":148433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb1e"} 
[2026-08-01 07:51:29] local.INFO: Extracted packet for processing {"connection_id":148433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb1e"} 
[2026-08-01 07:51:29] local.INFO: GPS Element Parsed {"raw_longitude":760233920,"raw_latitude":105799848,"longitude_deg":76.023392,"latitude_deg":10.5799848,"altitude":8,"angle":326,"satellites":40,"speed":29,"hex_longitude":"2d503fc0","hex_latitude":"064e60a8","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101000448001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365733168382214144,"note":"Value kept but may cause issues"} 
[2026-08-01 07:51:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5787407023231420416,"note":"Value kept but may cause issues"} 
[2026-08-01 07:51:29] 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-08-01 07:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785550791000,"timestamp_ms":1785550791000,"timestamp_seconds":1785550791,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb1ee158"} 
[2026-08-01 07:51:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:51: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-08-01 07: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":217,"data_length":795,"current_offset":136} 
[2026-08-01 07:51: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-08-01 07: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-08-01 07:51:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":148433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":148433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":148433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:51:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101000448001,"66":27800,"35":206,"19":38144,"24":29,"16":365733168382214144,"45":5787407023231420416},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-08-01 07:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101000448001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:51:29] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-01 07:51:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365733168382214144,"km_value":365733168382214.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:51:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5787407023231420416,"description":"Unknown IO ID 45"} 
[2026-08-01 07:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101000448001,"power":27800,"unknown_35":206,"unknown_19":38144,"ignition":29,"odometer":null,"unknown_45":5787407023231420416}} 
[2026-08-01 07:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":148433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:51:29] local.INFO: GPS data processed {"connection_id":148433,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:51:29] local.INFO: Acknowledgment sent {"connection_id":148433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:51:45] local.INFO: TCP Data received {"connection_id":148435,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:51:45] local.INFO: Processing buffer {"connection_id":148435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:51:45] local.INFO: IMEI packet received {"connection_id":148435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":148435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:51:50] local.INFO: TCP Data received {"connection_id":148435,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:51:50] local.INFO: Processing buffer {"connection_id":148435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:51:50] local.INFO: IMEI packet received {"connection_id":148435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":148435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:51:51] local.INFO: TCP Data received {"connection_id":148435,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb1efcb0012d503680064e6f300008013528..."} 
[2026-08-01 07:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb1efcb0012d503680064e6f300008013528..."} 
[2026-08-01 07:51:51] local.INFO: Processing buffer {"connection_id":148435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb1efcb0012d503680064e6f300008013528..."} 
[2026-08-01 07:51:51] local.INFO: Packet analysis {"connection_id":148435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb1e"} 
[2026-08-01 07:51:51] local.INFO: Extracted packet for processing {"connection_id":148435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb1e"} 
[2026-08-01 07:51:51] local.INFO: GPS Element Parsed {"raw_longitude":760231552,"raw_latitude":105803568,"longitude_deg":76.0231552,"latitude_deg":10.5803568,"altitude":8,"angle":309,"satellites":40,"speed":16,"hex_longitude":"2d503680","hex_latitude":"064e6f30","is_valid_coordinates":true} 
[2026-08-01 07:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101002496001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365733378835611648,"note":"Value kept but may cause issues"} 
[2026-08-01 07:51:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5782551579884300288,"note":"Value kept but may cause issues"} 
[2026-08-01 07:51:51] 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-08-01 07:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785550798000,"timestamp_ms":1785550798000,"timestamp_seconds":1785550798,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb1efcb0"} 
[2026-08-01 07:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:51: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-08-01 07:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 07:51:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:51:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101002496001,"66":27800,"35":206,"19":38144,"24":16,"16":365733378835611648,"45":5782551579884300288},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-08-01 07:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101002496001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:51:51] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-01 07:51:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365733378835611648,"km_value":365733378835611.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:51:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5782551579884300288,"description":"Unknown IO ID 45"} 
[2026-08-01 07:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101002496001,"power":27800,"unknown_35":206,"unknown_19":38144,"ignition":16,"odometer":null,"unknown_45":5782551579884300288}} 
[2026-08-01 07:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":148435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:51:51] local.INFO: GPS data processed {"connection_id":148435,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:51:51] local.INFO: Acknowledgment sent {"connection_id":148435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:52:06] local.INFO: TCP Data received {"connection_id":148434,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb1fe710012d7a340005daa0c00008007b27..."} 
[2026-08-01 07:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb1fe710012d7a340005daa0c00008007b27..."} 
[2026-08-01 07:52:06] local.INFO: Processing buffer {"connection_id":148434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb1fe710012d7a340005daa0c00008007b27..."} 
[2026-08-01 07:52:06] local.INFO: Packet analysis {"connection_id":148434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb1f"} 
[2026-08-01 07:52:06] local.INFO: Extracted packet for processing {"connection_id":148434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb1f"} 
[2026-08-01 07:52:06] local.INFO: GPS Element Parsed {"raw_longitude":762983424,"raw_latitude":98214080,"longitude_deg":76.2983424,"latitude_deg":9.821408,"altitude":8,"angle":123,"satellites":39,"speed":2,"hex_longitude":"2d7a3400","hex_latitude":"05daa0c0","is_valid_coordinates":true} 
[2026-08-01 07:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101019392001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113488373288534016,"note":"Value kept but may cause issues"} 
[2026-08-01 07:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805522459070629888,"note":"Value kept but may cause issues"} 
[2026-08-01 07:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785550858000,"timestamp_ms":1785550858000,"timestamp_seconds":1785550858,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb1fe710"} 
[2026-08-01 07:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-01 07:52: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-08-01 07:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148434,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148434,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:52:06] 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-08-01 07:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101019392001,"66":13037,"229":206,"85":15104,"24":2,"16":113488373288534016,"45":8805522459070629888},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-01 07:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101019392001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:52:06] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 07:52:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113488373288534016,"km_value":113488373288534.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805522459070629888,"description":"Unknown IO ID 45"} 
[2026-08-01 07:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101019392001,"power":13037,"unknown_229":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8805522459070629888}} 
[2026-08-01 07:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":148434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576346,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:52:06] local.INFO: GPS data processed {"connection_id":148434,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:52:06] local.INFO: Acknowledgment sent {"connection_id":148434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:52:07] local.INFO: TCP Data received {"connection_id":148436,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148436,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:52:07] local.INFO: Processing buffer {"connection_id":148436,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:52:07] local.INFO: IMEI packet received {"connection_id":148436,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":148436,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:52:12] local.INFO: TCP Data received {"connection_id":148436,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148436,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:52:12] local.INFO: Processing buffer {"connection_id":148436,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:52:12] local.INFO: IMEI packet received {"connection_id":148436,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:52:12] local.INFO: IMEI acknowledgment sent {"connection_id":148436,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:52:13] local.INFO: TCP Data received {"connection_id":148436,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb20bde8012d7a398005daa7480007007e28..."} 
[2026-08-01 07:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb20bde8012d7a398005daa7480007007e28..."} 
[2026-08-01 07:52:13] local.INFO: Processing buffer {"connection_id":148436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb20bde8012d7a398005daa7480007007e28..."} 
[2026-08-01 07:52:13] local.INFO: Packet analysis {"connection_id":148436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb20"} 
[2026-08-01 07:52:13] local.INFO: Extracted packet for processing {"connection_id":148436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb20"} 
[2026-08-01 07:52:13] local.INFO: GPS Element Parsed {"raw_longitude":762984832,"raw_latitude":98215752,"longitude_deg":76.2984832,"latitude_deg":9.8215752,"altitude":7,"angle":126,"satellites":40,"speed":2,"hex_longitude":"2d7a3980","hex_latitude":"05daa748","is_valid_coordinates":true} 
[2026-08-01 07:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:52:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101033216001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:52:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113488536497291264,"note":"Value kept but may cause issues"} 
[2026-08-01 07:52:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8807070571442966528,"note":"Value kept but may cause issues"} 
[2026-08-01 07:52:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:52:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785550913000,"timestamp_ms":1785550913000,"timestamp_seconds":1785550913,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb20bde8"} 
[2026-08-01 07:52:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:52:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-01 07:52:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:52:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:52:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:52:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:52:13] local.INFO: Teltonika packet parsed successfully {"connection_id":148436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:52:13] local.INFO: Passing IMEI to GPS processor {"connection_id":148436,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:52:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":148436,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:52:13] 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-08-01 07:52:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:52:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:52:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101033216001,"66":13080,"229":206,"85":15104,"24":2,"16":113488536497291264,"45":8807070571442966528},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-01 07:52:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:52:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:52:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101033216001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:52:13] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 07:52:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:52:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113488536497291264,"km_value":113488536497291.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:52:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8807070571442966528,"description":"Unknown IO ID 45"} 
[2026-08-01 07:52:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101033216001,"power":13080,"unknown_229":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8807070571442966528}} 
[2026-08-01 07:52:13] local.INFO: DEBUG: GPS processor result {"connection_id":148436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576347,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:52:13] local.INFO: GPS data processed {"connection_id":148436,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:52:13] local.INFO: Acknowledgment sent {"connection_id":148436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:52:27] local.INFO: TCP Data received {"connection_id":148435,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb2044d0012d4f9180064e25e80006015727..."} 
[2026-08-01 07:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb2044d0012d4f9180064e25e80006015727..."} 
[2026-08-01 07:52:27] local.INFO: Processing buffer {"connection_id":148435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb2044d0012d4f9180064e25e80006015727..."} 
[2026-08-01 07:52:27] local.INFO: Packet analysis {"connection_id":148435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb20"} 
[2026-08-01 07:52:27] local.INFO: Extracted packet for processing {"connection_id":148435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb20"} 
[2026-08-01 07:52:27] local.INFO: GPS Element Parsed {"raw_longitude":760189312,"raw_latitude":105784808,"longitude_deg":76.0189312,"latitude_deg":10.5784808,"altitude":6,"angle":343,"satellites":39,"speed":17,"hex_longitude":"2d4f9180","hex_latitude":"064e25e8","is_valid_coordinates":true} 
[2026-08-01 07:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101025024001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365735753952526336,"note":"Value kept but may cause issues"} 
[2026-08-01 07:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5734067515141718016,"note":"Value kept but may cause issues"} 
[2026-08-01 07:52:27] 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-08-01 07:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785550882000,"timestamp_ms":1785550882000,"timestamp_seconds":1785550882,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb2044d0"} 
[2026-08-01 07:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:52:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-01 07:52:27] 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-08-01 07:52:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101025024001,"66":27767,"35":206,"19":38144,"24":17,"16":365735753952526336,"45":5734067515141718016},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-08-01 07:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101025024001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:52:27] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-01 07:52:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365735753952526336,"km_value":365735753952526.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5734067515141718016,"description":"Unknown IO ID 45"} 
[2026-08-01 07:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101025024001,"power":27767,"unknown_35":206,"unknown_19":38144,"ignition":17,"odometer":null,"unknown_45":5734067515141718016}} 
[2026-08-01 07:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":148435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:52:27] local.INFO: GPS data processed {"connection_id":148435,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:52:27] local.INFO: Acknowledgment sent {"connection_id":148435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:52:43] local.INFO: TCP Data received {"connection_id":147120,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:52:43] local.INFO: Processing buffer {"connection_id":147120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:52:43] local.INFO: IMEI packet received {"connection_id":147120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":147120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:52:45] local.INFO: TCP Data received {"connection_id":147120,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:52:45] local.INFO: Processing buffer {"connection_id":147120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:52:45] local.INFO: IMEI packet received {"connection_id":147120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":147120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:52:45] local.INFO: TCP Data received {"connection_id":148436,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb20d170012d7a3a8005daa6b00007009128..."} 
[2026-08-01 07:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb20d170012d7a3a8005daa6b00007009128..."} 
[2026-08-01 07:52:45] local.INFO: Processing buffer {"connection_id":148436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb20d170012d7a3a8005daa6b00007009128..."} 
[2026-08-01 07:52:45] local.INFO: Packet analysis {"connection_id":148436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb20"} 
[2026-08-01 07:52:45] local.INFO: Extracted packet for processing {"connection_id":148436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb20"} 
[2026-08-01 07:52:45] local.INFO: GPS Element Parsed {"raw_longitude":762985088,"raw_latitude":98215600,"longitude_deg":76.2985088,"latitude_deg":9.82156,"altitude":7,"angle":145,"satellites":40,"speed":4,"hex_longitude":"2d7a3a80","hex_latitude":"05daa6b0","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101033728001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113488549382193152,"note":"Value kept but may cause issues"} 
[2026-08-01 07:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8807211308931303424,"note":"Value kept but may cause issues"} 
[2026-08-01 07:52:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785550918000,"timestamp_ms":1785550918000,"timestamp_seconds":1785550918,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb20d170"} 
[2026-08-01 07:52:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07: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-08-01 07: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-01 07:52:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07: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-08-01 07:52:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148436,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148436,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:52:45] 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-08-01 07:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101033728001,"66":13450,"229":206,"85":15104,"24":4,"16":113488549382193152,"45":8807211308931303424},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-01 07:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101033728001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:52:45] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 07:52:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113488549382193152,"km_value":113488549382193.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8807211308931303424,"description":"Unknown IO ID 45"} 
[2026-08-01 07:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101033728001,"power":13450,"unknown_229":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8807211308931303424}} 
[2026-08-01 07:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":148436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576349,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:52:45] local.INFO: GPS data processed {"connection_id":148436,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:52:45] local.INFO: Acknowledgment sent {"connection_id":148436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:52:50] local.INFO: TCP Data received {"connection_id":147120,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:52:50] local.INFO: Processing buffer {"connection_id":147120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:52:50] local.INFO: IMEI packet received {"connection_id":147120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":147120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:52:51] local.INFO: TCP Data received {"connection_id":147120,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb208350012d4f8300064e46b00005014f29..."} 
[2026-08-01 07:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb208350012d4f8300064e46b00005014f29..."} 
[2026-08-01 07:52:51] local.INFO: Processing buffer {"connection_id":147120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb208350012d4f8300064e46b00005014f29..."} 
[2026-08-01 07:52:51] local.INFO: Packet analysis {"connection_id":147120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb20"} 
[2026-08-01 07:52:51] local.INFO: Extracted packet for processing {"connection_id":147120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb20"} 
[2026-08-01 07:52:51] local.INFO: GPS Element Parsed {"raw_longitude":760185600,"raw_latitude":105793200,"longitude_deg":76.01856,"latitude_deg":10.57932,"altitude":5,"angle":335,"satellites":41,"speed":17,"hex_longitude":"2d4f8300","hex_latitude":"064e46b0","is_valid_coordinates":true} 
[2026-08-01 07:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101025792001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365736196334157824,"note":"Value kept but may cause issues"} 
[2026-08-01 07:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5733504565188618240,"note":"Value kept but may cause issues"} 
[2026-08-01 07:52:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785550898000,"timestamp_ms":1785550898000,"timestamp_seconds":1785550898,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb208350"} 
[2026-08-01 07:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:52:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 07:52:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:52:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":147120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":147120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":147120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101025792001,"66":27865,"234":206,"19":38144,"24":17,"16":365736196334157824,"45":5733504565188618240},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,19,24,16,45]} 
[2026-08-01 07:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101025792001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:52:51] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-01 07:52:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365736196334157824,"km_value":365736196334157.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5733504565188618240,"description":"Unknown IO ID 45"} 
[2026-08-01 07:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101025792001,"power":27865,"unknown_234":206,"unknown_19":38144,"ignition":17,"odometer":null,"unknown_45":5733504565188618240}} 
[2026-08-01 07:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":147120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:52:51] local.INFO: GPS data processed {"connection_id":147120,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:52:51] local.INFO: Acknowledgment sent {"connection_id":147120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:53:07] local.INFO: TCP Data received {"connection_id":147121,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147121,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:53:07] local.INFO: Processing buffer {"connection_id":147121,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:53:07] local.INFO: IMEI packet received {"connection_id":147121,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":147121,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:53:12] local.INFO: TCP Data received {"connection_id":147121,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147121,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:53:12] local.INFO: Processing buffer {"connection_id":147121,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:53:12] local.INFO: IMEI packet received {"connection_id":147121,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":147121,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:53:13] local.INFO: TCP Data received {"connection_id":147121,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb20d940012d7a3ac005daa5c00008009d27..."} 
[2026-08-01 07:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb20d940012d7a3ac005daa5c00008009d27..."} 
[2026-08-01 07:53:13] local.INFO: Processing buffer {"connection_id":147121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb20d940012d7a3ac005daa5c00008009d27..."} 
[2026-08-01 07:53:13] local.INFO: Packet analysis {"connection_id":147121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb20"} 
[2026-08-01 07:53:13] local.INFO: Extracted packet for processing {"connection_id":147121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb20"} 
[2026-08-01 07:53:13] local.INFO: GPS Element Parsed {"raw_longitude":762985152,"raw_latitude":98215360,"longitude_deg":76.2985152,"latitude_deg":9.821536,"altitude":8,"angle":157,"satellites":39,"speed":5,"hex_longitude":"2d7a3ac0","hex_latitude":"05daa5c0","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101035008001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113488562267095040,"note":"Value kept but may cause issues"} 
[2026-08-01 07:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8807492783907975168,"note":"Value kept but may cause issues"} 
[2026-08-01 07:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785550920000,"timestamp_ms":1785550920000,"timestamp_seconds":1785550920,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb20d940"} 
[2026-08-01 07:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:53:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-01 07:53:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07: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-08-01 07:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":147121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":147121,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":147121,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:53:13] 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-08-01 07:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101035008001,"66":13406,"229":206,"85":15104,"24":5,"16":113488562267095040,"45":8807492783907975168},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-01 07:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101035008001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:53:13] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 07:53:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113488562267095040,"km_value":113488562267095.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8807492783907975168,"description":"Unknown IO ID 45"} 
[2026-08-01 07:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101035008001,"power":13406,"unknown_229":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8807492783907975168}} 
[2026-08-01 07:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":147121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576351,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:53:13] local.INFO: GPS data processed {"connection_id":147121,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:53:13] local.INFO: Acknowledgment sent {"connection_id":147121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:53:23] local.INFO: TCP Data received {"connection_id":147120,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb209ac0012d4f8100064e4d900006015a28..."} 
[2026-08-01 07:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb209ac0012d4f8100064e4d900006015a28..."} 
[2026-08-01 07:53:23] local.INFO: Processing buffer {"connection_id":147120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb209ac0012d4f8100064e4d900006015a28..."} 
[2026-08-01 07:53:23] local.INFO: Packet analysis {"connection_id":147120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb20"} 
[2026-08-01 07:53:23] local.INFO: Extracted packet for processing {"connection_id":147120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb20"} 
[2026-08-01 07:53:23] local.INFO: GPS Element Parsed {"raw_longitude":760185088,"raw_latitude":105794960,"longitude_deg":76.0185088,"latitude_deg":10.579496,"altitude":6,"angle":346,"satellites":40,"speed":12,"hex_longitude":"2d4f8100","hex_latitude":"064e4d90","is_valid_coordinates":true} 
[2026-08-01 07:53:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:53:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101029888001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:53:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365736286528471040,"note":"Value kept but may cause issues"} 
[2026-08-01 07:53:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5729423178028462080,"note":"Value kept but may cause issues"} 
[2026-08-01 07:53:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:53:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785550904000,"timestamp_ms":1785550904000,"timestamp_seconds":1785550904,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb209ac0"} 
[2026-08-01 07:53:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:53:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:53:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 07:53:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:53:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:53:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:53:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:53:23] local.INFO: Teltonika packet parsed successfully {"connection_id":147120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:53:23] local.INFO: Passing IMEI to GPS processor {"connection_id":147120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:53:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":147120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:53:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:53:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:53:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:53:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101029888001,"66":27767,"234":206,"19":38144,"24":12,"16":365736286528471040,"45":5729423178028462080},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,19,24,16,45]} 
[2026-08-01 07:53:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:53:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:53:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101029888001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:53:23] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-01 07:53:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:53:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365736286528471040,"km_value":365736286528471.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:53:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5729423178028462080,"description":"Unknown IO ID 45"} 
[2026-08-01 07:53:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101029888001,"power":27767,"unknown_234":206,"unknown_19":38144,"ignition":12,"odometer":null,"unknown_45":5729423178028462080}} 
[2026-08-01 07:53:23] local.INFO: DEBUG: GPS processor result {"connection_id":147120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:53:23] local.INFO: GPS data processed {"connection_id":147120,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:53:23] local.INFO: Acknowledgment sent {"connection_id":147120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:53:44] local.INFO: TCP Data received {"connection_id":147122,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:53:44] local.INFO: Processing buffer {"connection_id":147122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:53:44] local.INFO: IMEI packet received {"connection_id":147122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":147122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:53:44] local.INFO: TCP Data received {"connection_id":147121,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb20e4f8012d7a3bc005daa388000800ab28..."} 
[2026-08-01 07:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb20e4f8012d7a3bc005daa388000800ab28..."} 
[2026-08-01 07:53:44] local.INFO: Processing buffer {"connection_id":147121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb20e4f8012d7a3bc005daa388000800ab28..."} 
[2026-08-01 07:53:44] local.INFO: Packet analysis {"connection_id":147121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb20"} 
[2026-08-01 07:53:44] local.INFO: Extracted packet for processing {"connection_id":147121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb20"} 
[2026-08-01 07:53:44] local.INFO: GPS Element Parsed {"raw_longitude":762985408,"raw_latitude":98214792,"longitude_deg":76.2985408,"latitude_deg":9.8214792,"altitude":8,"angle":171,"satellites":40,"speed":9,"hex_longitude":"2d7a3bc0","hex_latitude":"05daa388","is_valid_coordinates":true} 
[2026-08-01 07:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101035520001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113488592331866112,"note":"Value kept but may cause issues"} 
[2026-08-01 07:53:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8807563152652091392,"note":"Value kept but may cause issues"} 
[2026-08-01 07:53:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785550923000,"timestamp_ms":1785550923000,"timestamp_seconds":1785550923,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb20e4f8"} 
[2026-08-01 07:53:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:53:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-01 07:53:44] 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-08-01 07:53:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:53:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":147121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":147121,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":147121,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:53:44] 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-08-01 07:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101035520001,"66":13243,"229":206,"85":15104,"24":9,"16":113488592331866112,"45":8807563152652091392},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-01 07:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101035520001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:53:44] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 07:53:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113488592331866112,"km_value":113488592331866.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:53:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8807563152652091392,"description":"Unknown IO ID 45"} 
[2026-08-01 07:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101035520001,"power":13243,"unknown_229":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8807563152652091392}} 
[2026-08-01 07:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":147121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576353,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:53:44] local.INFO: GPS data processed {"connection_id":147121,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:53:44] local.INFO: Acknowledgment sent {"connection_id":147121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:53:45] local.INFO: TCP Data received {"connection_id":147122,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:53:45] local.INFO: Processing buffer {"connection_id":147122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:53:45] local.INFO: IMEI packet received {"connection_id":147122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":147122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:53:50] local.INFO: TCP Data received {"connection_id":147122,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:53:50] local.INFO: Processing buffer {"connection_id":147122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:53:50] local.INFO: IMEI packet received {"connection_id":147122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":147122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:53:51] local.INFO: TCP Data received {"connection_id":147122,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb20b230012d4f7e80064e56680009014d28..."} 
[2026-08-01 07:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb20b230012d4f7e80064e56680009014d28..."} 
[2026-08-01 07:53:51] local.INFO: Processing buffer {"connection_id":147122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb20b230012d4f7e80064e56680009014d28..."} 
[2026-08-01 07:53:51] local.INFO: Packet analysis {"connection_id":147122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb20"} 
[2026-08-01 07:53:51] local.INFO: Extracted packet for processing {"connection_id":147122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb20"} 
[2026-08-01 07:53:51] local.INFO: GPS Element Parsed {"raw_longitude":760184448,"raw_latitude":105797224,"longitude_deg":76.0184448,"latitude_deg":10.5797224,"altitude":9,"angle":333,"satellites":40,"speed":17,"hex_longitude":"2d4f7e80","hex_latitude":"064e5668","is_valid_coordinates":true} 
[2026-08-01 07:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101031424001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365736402492588032,"note":"Value kept but may cause issues"} 
[2026-08-01 07:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5728860228075491328,"note":"Value kept but may cause issues"} 
[2026-08-01 07:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785550910000,"timestamp_ms":1785550910000,"timestamp_seconds":1785550910,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb20b230"} 
[2026-08-01 07:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:53: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-08-01 07:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 07:53:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:53:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":147122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":147122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":147122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:53:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101031424001,"66":27713,"234":206,"19":38144,"24":17,"16":365736402492588032,"45":5728860228075491328},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,19,24,16,45]} 
[2026-08-01 07:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101031424001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:53:51] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-01 07:53:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365736402492588032,"km_value":365736402492588.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5728860228075491328,"description":"Unknown IO ID 45"} 
[2026-08-01 07:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101031424001,"power":27713,"unknown_234":206,"unknown_19":38144,"ignition":17,"odometer":null,"unknown_45":5728860228075491328}} 
[2026-08-01 07:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":147122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:53:51] local.INFO: GPS data processed {"connection_id":147122,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:53:51] local.INFO: Acknowledgment sent {"connection_id":147122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:54:07] local.INFO: TCP Data received {"connection_id":145904,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145904,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:54:07] local.INFO: Processing buffer {"connection_id":145904,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:54:07] local.INFO: IMEI packet received {"connection_id":145904,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":145904,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:54:12] local.INFO: TCP Data received {"connection_id":145904,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145904,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:54:12] local.INFO: Processing buffer {"connection_id":145904,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:54:12] local.INFO: IMEI packet received {"connection_id":145904,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":145904,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:54:13] local.INFO: TCP Data received {"connection_id":145904,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb211f90012d7a3dc005da9a48000a00b628..."} 
[2026-08-01 07:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb211f90012d7a3dc005da9a48000a00b628..."} 
[2026-08-01 07:54:13] local.INFO: Processing buffer {"connection_id":145904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb211f90012d7a3dc005da9a48000a00b628..."} 
[2026-08-01 07:54:13] local.INFO: Packet analysis {"connection_id":145904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb21"} 
[2026-08-01 07:54:13] local.INFO: Extracted packet for processing {"connection_id":145904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb21"} 
[2026-08-01 07:54:13] local.INFO: GPS Element Parsed {"raw_longitude":762985920,"raw_latitude":98212424,"longitude_deg":76.298592,"latitude_deg":9.8212424,"altitude":10,"angle":182,"satellites":40,"speed":5,"hex_longitude":"2d7a3dc0","hex_latitude":"05da9a48","is_valid_coordinates":true} 
[2026-08-01 07:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101036288001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113488712590950400,"note":"Value kept but may cause issues"} 
[2026-08-01 07:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8807844627628656640,"note":"Value kept but may cause issues"} 
[2026-08-01 07:54:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785550938000,"timestamp_ms":1785550938000,"timestamp_seconds":1785550938,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb211f90"} 
[2026-08-01 07:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:54:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-01 07:54:13] 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-08-01 07:54:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":145904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":145904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":145904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:54:13] 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-08-01 07:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101036288001,"66":13341,"229":206,"85":15104,"24":5,"16":113488712590950400,"45":8807844627628656640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-01 07:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101036288001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:54:13] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 07:54:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113488712590950400,"km_value":113488712590950.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8807844627628656640,"description":"Unknown IO ID 45"} 
[2026-08-01 07:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101036288001,"power":13341,"unknown_229":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8807844627628656640}} 
[2026-08-01 07:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":145904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576355,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:54:13] local.INFO: GPS data processed {"connection_id":145904,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:54:13] local.INFO: Acknowledgment sent {"connection_id":145904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:54:23] local.INFO: TCP Data received {"connection_id":147122,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb20ecc8012d4f6ac0064e74a0000b014428..."} 
[2026-08-01 07:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb20ecc8012d4f6ac0064e74a0000b014428..."} 
[2026-08-01 07:54:23] local.INFO: Processing buffer {"connection_id":147122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb20ecc8012d4f6ac0064e74a0000b014428..."} 
[2026-08-01 07:54:23] local.INFO: Packet analysis {"connection_id":147122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb20"} 
[2026-08-01 07:54:23] local.INFO: Extracted packet for processing {"connection_id":147122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb20"} 
[2026-08-01 07:54:23] local.INFO: GPS Element Parsed {"raw_longitude":760179392,"raw_latitude":105804960,"longitude_deg":76.0179392,"latitude_deg":10.580496,"altitude":11,"angle":324,"satellites":40,"speed":29,"hex_longitude":"2d4f6ac0","hex_latitude":"064e74a0","is_valid_coordinates":true} 
[2026-08-01 07:54:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:54:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101032960001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:54:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365736849169186816,"note":"Value kept but may cause issues"} 
[2026-08-01 07:54:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5728156540634294272,"note":"Value kept but may cause issues"} 
[2026-08-01 07:54:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:54:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785550925000,"timestamp_ms":1785550925000,"timestamp_seconds":1785550925,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb20ecc8"} 
[2026-08-01 07:54:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:54:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:54:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 07:54:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:54:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:54:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:54:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:54:23] local.INFO: Teltonika packet parsed successfully {"connection_id":147122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:54:23] local.INFO: Passing IMEI to GPS processor {"connection_id":147122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:54:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":147122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:54:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:54:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:54:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:54:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101032960001,"66":27745,"234":206,"19":38144,"24":29,"16":365736849169186816,"45":5728156540634294272},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,19,24,16,45]} 
[2026-08-01 07:54:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:54:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:54:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101032960001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:54:23] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-01 07:54:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:54:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365736849169186816,"km_value":365736849169186.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:54:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5728156540634294272,"description":"Unknown IO ID 45"} 
[2026-08-01 07:54:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101032960001,"power":27745,"unknown_234":206,"unknown_19":38144,"ignition":29,"odometer":null,"unknown_45":5728156540634294272}} 
[2026-08-01 07:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":147122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:54:24] local.INFO: GPS data processed {"connection_id":147122,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:54:24] local.INFO: Acknowledgment sent {"connection_id":147122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:54:44] local.INFO: TCP Data received {"connection_id":145904,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb212760012d7a3dc005da9940000a00a628..."} 
[2026-08-01 07:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb212760012d7a3dc005da9940000a00a628..."} 
[2026-08-01 07:54:44] local.INFO: Processing buffer {"connection_id":145904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb212760012d7a3dc005da9940000a00a628..."} 
[2026-08-01 07:54:44] local.INFO: Packet analysis {"connection_id":145904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb21"} 
[2026-08-01 07:54:44] local.INFO: Extracted packet for processing {"connection_id":145904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb21"} 
[2026-08-01 07:54:44] local.INFO: GPS Element Parsed {"raw_longitude":762985920,"raw_latitude":98212160,"longitude_deg":76.298592,"latitude_deg":9.821216,"altitude":10,"angle":166,"satellites":40,"speed":5,"hex_longitude":"2d7a3dc0","hex_latitude":"05da9940","is_valid_coordinates":true} 
[2026-08-01 07:54:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:54:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101040128001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:54:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113488725475852288,"note":"Value kept but may cause issues"} 
[2026-08-01 07:54:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808407577581471744,"note":"Value kept but may cause issues"} 
[2026-08-01 07:54:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:54:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785550940000,"timestamp_ms":1785550940000,"timestamp_seconds":1785550940,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb212760"} 
[2026-08-01 07:54:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:54:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:54:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-01 07:54:44] 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-08-01 07:54:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:54:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:54:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:54:44] local.INFO: Teltonika packet parsed successfully {"connection_id":145904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:54:44] local.INFO: Passing IMEI to GPS processor {"connection_id":145904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:54:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":145904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:54:44] 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-08-01 07:54:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:54:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:54:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101040128001,"66":13048,"229":206,"85":15104,"24":5,"16":113488725475852288,"45":8808407577581471744},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-01 07:54:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:54:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:54:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101040128001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:54:44] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 07:54:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:54:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113488725475852288,"km_value":113488725475852.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:54:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808407577581471744,"description":"Unknown IO ID 45"} 
[2026-08-01 07:54:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101040128001,"power":13048,"unknown_229":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8808407577581471744}} 
[2026-08-01 07:54:44] local.INFO: DEBUG: GPS processor result {"connection_id":145904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576357,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:54:44] local.INFO: GPS data processed {"connection_id":145904,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:54:44] local.INFO: Acknowledgment sent {"connection_id":145904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:54:45] local.INFO: TCP Data received {"connection_id":146100,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:54:45] local.INFO: Processing buffer {"connection_id":146100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:54:45] local.INFO: IMEI packet received {"connection_id":146100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":146100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:54:48] local.INFO: TCP Data received {"connection_id":146100,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:54:48] local.INFO: Processing buffer {"connection_id":146100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:54:48] local.INFO: IMEI packet received {"connection_id":146100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":146100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:54:50] local.INFO: TCP Data received {"connection_id":146100,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:54:50] local.INFO: Processing buffer {"connection_id":146100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:54:50] local.INFO: IMEI packet received {"connection_id":146100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":146100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:54:52] local.INFO: TCP Data received {"connection_id":146100,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb211ba8012d4f5680064e91c8000a01462a..."} 
[2026-08-01 07:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb211ba8012d4f5680064e91c8000a01462a..."} 
[2026-08-01 07:54:52] local.INFO: Processing buffer {"connection_id":146100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb211ba8012d4f5680064e91c8000a01462a..."} 
[2026-08-01 07:54:52] local.INFO: Packet analysis {"connection_id":146100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb21"} 
[2026-08-01 07:54:52] local.INFO: Extracted packet for processing {"connection_id":146100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb21"} 
[2026-08-01 07:54:52] local.INFO: GPS Element Parsed {"raw_longitude":760174208,"raw_latitude":105812424,"longitude_deg":76.0174208,"latitude_deg":10.5812424,"altitude":10,"angle":326,"satellites":42,"speed":30,"hex_longitude":"2d4f5680","hex_latitude":"064e91c8","is_valid_coordinates":true} 
[2026-08-01 07:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101036800001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365737287255851008,"note":"Value kept but may cause issues"} 
[2026-08-01 07:54:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5722597409846239232,"note":"Value kept but may cause issues"} 
[2026-08-01 07:54:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785550937000,"timestamp_ms":1785550937000,"timestamp_seconds":1785550937,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb211ba8"} 
[2026-08-01 07:54:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:54:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 07:54:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:54:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:54:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":146100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":146100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":146100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:54:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101036800001,"66":27767,"234":206,"19":38144,"24":30,"16":365737287255851008,"45":5722597409846239232},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,19,24,16,45]} 
[2026-08-01 07:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101036800001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:54:52] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-01 07:54:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365737287255851008,"km_value":365737287255851.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:54:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":5722597409846239232,"description":"Unknown IO ID 45"} 
[2026-08-01 07:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101036800001,"power":27767,"unknown_234":206,"unknown_19":38144,"ignition":30,"odometer":null,"unknown_45":5722597409846239232}} 
[2026-08-01 07:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":146100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:54:52] local.INFO: GPS data processed {"connection_id":146100,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:54:52] local.INFO: Acknowledgment sent {"connection_id":146100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:54:55] local.INFO: TCP Data received {"connection_id":146100,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb214a88012d4f42c0064eafb00009014a2a..."} 
[2026-08-01 07:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb214a88012d4f42c0064eafb00009014a2a..."} 
[2026-08-01 07:54:55] local.INFO: Processing buffer {"connection_id":146100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb214a88012d4f42c0064eafb00009014a2a..."} 
[2026-08-01 07:54:55] local.INFO: Packet analysis {"connection_id":146100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb21"} 
[2026-08-01 07:54:55] local.INFO: Extracted packet for processing {"connection_id":146100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb21"} 
[2026-08-01 07:54:55] local.INFO: GPS Element Parsed {"raw_longitude":760169152,"raw_latitude":105820080,"longitude_deg":76.0169152,"latitude_deg":10.582008,"altitude":9,"angle":330,"satellites":42,"speed":28,"hex_longitude":"2d4f42c0","hex_latitude":"064eafb0","is_valid_coordinates":true} 
[2026-08-01 07:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101039872001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365737729637482496,"note":"Value kept but may cause issues"} 
[2026-08-01 07:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5716897541569759232,"note":"Value kept but may cause issues"} 
[2026-08-01 07:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785550949000,"timestamp_ms":1785550949000,"timestamp_seconds":1785550949,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb214a88"} 
[2026-08-01 07:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 07:54:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":146100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":146100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":146100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101039872001,"66":27821,"234":206,"19":38144,"24":28,"16":365737729637482496,"45":5716897541569759232},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,19,24,16,45]} 
[2026-08-01 07:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101039872001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:54:55] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-01 07:54:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365737729637482496,"km_value":365737729637482.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5716897541569759232,"description":"Unknown IO ID 45"} 
[2026-08-01 07:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101039872001,"power":27821,"unknown_234":206,"unknown_19":38144,"ignition":28,"odometer":null,"unknown_45":5716897541569759232}} 
[2026-08-01 07:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":146100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:54:55] local.INFO: GPS data processed {"connection_id":146100,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:54:55] local.INFO: Acknowledgment sent {"connection_id":146100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:55:07] local.INFO: TCP Data received {"connection_id":148437,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148437,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:55:07] local.INFO: Processing buffer {"connection_id":148437,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:55:07] local.INFO: IMEI packet received {"connection_id":148437,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":148437,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:55:07] local.INFO: TCP Data received {"connection_id":148437,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148437,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:55:07] local.INFO: Processing buffer {"connection_id":148437,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:55:07] local.INFO: IMEI packet received {"connection_id":148437,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":148437,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:55:12] local.INFO: TCP Data received {"connection_id":148437,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148437,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:55:12] local.INFO: Processing buffer {"connection_id":148437,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:55:12] local.INFO: IMEI packet received {"connection_id":148437,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":148437,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:55:13] local.INFO: TCP Data received {"connection_id":148437,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb212f30012d7a3e0005da9888000a009928..."} 
[2026-08-01 07:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb212f30012d7a3e0005da9888000a009928..."} 
[2026-08-01 07:55:13] local.INFO: Processing buffer {"connection_id":148437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb212f30012d7a3e0005da9888000a009928..."} 
[2026-08-01 07:55:13] local.INFO: Packet analysis {"connection_id":148437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb21"} 
[2026-08-01 07:55:13] local.INFO: Extracted packet for processing {"connection_id":148437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb21"} 
[2026-08-01 07:55:13] local.INFO: GPS Element Parsed {"raw_longitude":762985984,"raw_latitude":98211976,"longitude_deg":76.2985984,"latitude_deg":9.8211976,"altitude":10,"angle":153,"satellites":40,"speed":2,"hex_longitude":"2d7a3e00","hex_latitude":"05da9888","is_valid_coordinates":true} 
[2026-08-01 07:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:55:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101040640001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:55:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113488738360754176,"note":"Value kept but may cause issues"} 
[2026-08-01 07:55:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808407577581404160,"note":"Value kept but may cause issues"} 
[2026-08-01 07:55:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:55:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785550942000,"timestamp_ms":1785550942000,"timestamp_seconds":1785550942,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb212f30"} 
[2026-08-01 07:55:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:55:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-01 07:55:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:55:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:55:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:55:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:55:13] local.INFO: Teltonika packet parsed successfully {"connection_id":148437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:55:13] local.INFO: Passing IMEI to GPS processor {"connection_id":148437,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:55:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":148437,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:55:13] 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-08-01 07:55:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:55:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:55:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101040640001,"66":13374,"229":206,"85":15104,"24":2,"16":113488738360754176,"45":8808407577581404160},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-01 07:55:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:55:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:55:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101040640001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:55:13] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 07:55:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:55:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113488738360754176,"km_value":113488738360754.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:55:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808407577581404160,"description":"Unknown IO ID 45"} 
[2026-08-01 07:55:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101040640001,"power":13374,"unknown_229":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8808407577581404160}} 
[2026-08-01 07:55:13] local.INFO: DEBUG: GPS processor result {"connection_id":148437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576360,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:55:13] local.INFO: GPS data processed {"connection_id":148437,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:55:13] local.INFO: Acknowledgment sent {"connection_id":148437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:55:28] local.INFO: TCP Data received {"connection_id":146100,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb231f48012d4e8cc006500260000d014d29..."} 
[2026-08-01 07:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb231f48012d4e8cc006500260000d014d29..."} 
[2026-08-01 07:55:28] local.INFO: Processing buffer {"connection_id":146100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb231f48012d4e8cc006500260000d014d29..."} 
[2026-08-01 07:55:28] local.INFO: Packet analysis {"connection_id":146100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb23"} 
[2026-08-01 07:55:28] local.INFO: Extracted packet for processing {"connection_id":146100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb23"} 
[2026-08-01 07:55:28] local.INFO: GPS Element Parsed {"raw_longitude":760122560,"raw_latitude":105906784,"longitude_deg":76.012256,"latitude_deg":10.5906784,"altitude":13,"angle":333,"satellites":41,"speed":38,"hex_longitude":"2d4e8cc0","hex_latitude":"06500260","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101071104001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365742488461246464,"note":"Value kept but may cause issues"} 
[2026-08-01 07:55:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5664965408388620288,"note":"Value kept but may cause issues"} 
[2026-08-01 07:55:28] 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-08-01 07:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785551069000,"timestamp_ms":1785551069000,"timestamp_seconds":1785551069,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb231f48"} 
[2026-08-01 07:55:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:55:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 07:55:28] 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-08-01 07: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-08-01 07:55:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":146100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":146100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":146100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:55:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101071104001,"66":27767,"235":206,"19":38144,"24":38,"16":365742488461246464,"45":5664965408388620288},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,19,24,16,45]} 
[2026-08-01 07:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101071104001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:55:28] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-01 07:55:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365742488461246464,"km_value":365742488461246.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:55:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5664965408388620288,"description":"Unknown IO ID 45"} 
[2026-08-01 07:55:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101071104001,"power":27767,"unknown_235":206,"unknown_19":38144,"ignition":38,"odometer":null,"unknown_45":5664965408388620288}} 
[2026-08-01 07:55:28] local.INFO: DEBUG: GPS processor result {"connection_id":146100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:55:28] local.INFO: GPS data processed {"connection_id":146100,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:55:28] local.INFO: Acknowledgment sent {"connection_id":146100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:55:44] local.INFO: TCP Data received {"connection_id":148437,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb241d30012d7a428005da7ca8000700c727..."} 
[2026-08-01 07:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb241d30012d7a428005da7ca8000700c727..."} 
[2026-08-01 07:55:44] local.INFO: Processing buffer {"connection_id":148437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb241d30012d7a428005da7ca8000700c727..."} 
[2026-08-01 07:55:44] local.INFO: Packet analysis {"connection_id":148437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb24"} 
[2026-08-01 07:55:44] local.INFO: Extracted packet for processing {"connection_id":148437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb24"} 
[2026-08-01 07:55:44] local.INFO: GPS Element Parsed {"raw_longitude":762987136,"raw_latitude":98204840,"longitude_deg":76.2987136,"latitude_deg":9.820484,"altitude":7,"angle":199,"satellites":39,"speed":0,"hex_longitude":"2d7a4280","hex_latitude":"05da7ca8","is_valid_coordinates":true} 
[2026-08-01 07:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101089792001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113489103432974336,"note":"Value kept but may cause issues"} 
[2026-08-01 07:55:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809744583718924288,"note":"Value kept but may cause issues"} 
[2026-08-01 07:55:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785551134000,"timestamp_ms":1785551134000,"timestamp_seconds":1785551134,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb241d30"} 
[2026-08-01 07:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:55: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-08-01 07:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-01 07:55:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:55:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":148437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":148437,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":148437,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:55:44] 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-08-01 07:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101089792001,"66":13015,"229":206,"85":15104,"24":0,"16":113489103432974336,"45":8809744583718924288},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-01 07:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101089792001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:55:44] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 07:55:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113489103432974336,"km_value":113489103432974.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:55:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809744583718924288,"description":"Unknown IO ID 45"} 
[2026-08-01 07:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101089792001,"power":13015,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809744583718924288}} 
[2026-08-01 07:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":148437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576362,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:55:44] local.INFO: GPS data processed {"connection_id":148437,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:55:44] local.INFO: Acknowledgment sent {"connection_id":148437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:55:50] local.INFO: TCP Data received {"connection_id":148438,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:55:50] local.INFO: Processing buffer {"connection_id":148438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:55:50] local.INFO: IMEI packet received {"connection_id":148438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":148438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:55:52] local.INFO: TCP Data received {"connection_id":148438,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:55:52] local.INFO: Processing buffer {"connection_id":148438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:55:52] local.INFO: IMEI packet received {"connection_id":148438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":148438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:55:55] local.INFO: TCP Data received {"connection_id":148438,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:55:55] local.INFO: Processing buffer {"connection_id":148438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:55:55] local.INFO: IMEI packet received {"connection_id":148438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":148438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:55:58] local.INFO: TCP Data received {"connection_id":148438,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb234270012d4e7cc0065022a8000a014e2a..."} 
[2026-08-01 07:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb234270012d4e7cc0065022a8000a014e2a..."} 
[2026-08-01 07:55:58] local.INFO: Processing buffer {"connection_id":148438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb234270012d4e7cc0065022a8000a014e2a..."} 
[2026-08-01 07:55:58] local.INFO: Packet analysis {"connection_id":148438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb23"} 
[2026-08-01 07:55:58] local.INFO: Extracted packet for processing {"connection_id":148438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb23"} 
[2026-08-01 07:55:58] local.INFO: GPS Element Parsed {"raw_longitude":760118464,"raw_latitude":105915048,"longitude_deg":76.0118464,"latitude_deg":10.5915048,"altitude":10,"angle":334,"satellites":42,"speed":42,"hex_longitude":"2d4e7cc0","hex_latitude":"065022a8","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101073664001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365742935137845248,"note":"Value kept but may cause issues"} 
[2026-08-01 07:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5660109965042540544,"note":"Value kept but may cause issues"} 
[2026-08-01 07:55:58] 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-08-01 07:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785551078000,"timestamp_ms":1785551078000,"timestamp_seconds":1785551078,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb234270"} 
[2026-08-01 07:55:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:55: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-08-01 07: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":119,"data_length":795,"current_offset":136} 
[2026-08-01 07:55: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-08-01 07: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-08-01 07:55:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":148438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":148438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":148438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:55:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101073664001,"66":27865,"235":206,"19":38144,"24":42,"16":365742935137845248,"45":5660109965042540544},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,19,24,16,45]} 
[2026-08-01 07:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101073664001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:55:58] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-01 07:55:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365742935137845248,"km_value":365742935137845.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5660109965042540544,"description":"Unknown IO ID 45"} 
[2026-08-01 07:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101073664001,"power":27865,"unknown_235":206,"unknown_19":38144,"ignition":42,"odometer":null,"unknown_45":5660109965042540544}} 
[2026-08-01 07:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":148438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:55:58] local.INFO: GPS data processed {"connection_id":148438,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:55:58] local.INFO: Acknowledgment sent {"connection_id":148438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:56:05] local.INFO: TCP Data received {"connection_id":148438,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb236598012d4e6cc0065045f0000901512a..."} 
[2026-08-01 07:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb236598012d4e6cc0065045f0000901512a..."} 
[2026-08-01 07:56:05] local.INFO: Processing buffer {"connection_id":148438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb236598012d4e6cc0065045f0000901512a..."} 
[2026-08-01 07:56:05] local.INFO: Packet analysis {"connection_id":148438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb23"} 
[2026-08-01 07:56:05] local.INFO: Extracted packet for processing {"connection_id":148438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb23"} 
[2026-08-01 07:56:05] local.INFO: GPS Element Parsed {"raw_longitude":760114368,"raw_latitude":105924080,"longitude_deg":76.0114368,"latitude_deg":10.592408,"altitude":9,"angle":337,"satellites":42,"speed":44,"hex_longitude":"2d4e6cc0","hex_latitude":"065045f0","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101075968001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365743416174182400,"note":"Value kept but may cause issues"} 
[2026-08-01 07:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5655606365417285632,"note":"Value kept but may cause issues"} 
[2026-08-01 07:56:05] 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-08-01 07:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785551087000,"timestamp_ms":1785551087000,"timestamp_seconds":1785551087,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb236598"} 
[2026-08-01 07:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:56: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-08-01 07:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 07:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07: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-08-01 07:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101075968001,"66":27767,"235":206,"19":38144,"24":44,"16":365743416174182400,"45":5655606365417285632},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,19,24,16,45]} 
[2026-08-01 07:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101075968001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:56:05] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-01 07:56:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365743416174182400,"km_value":365743416174182.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5655606365417285632,"description":"Unknown IO ID 45"} 
[2026-08-01 07:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101075968001,"power":27767,"unknown_235":206,"unknown_19":38144,"ignition":44,"odometer":null,"unknown_45":5655606365417285632}} 
[2026-08-01 07:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":148438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:56:05] local.INFO: GPS data processed {"connection_id":148438,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:56:05] local.INFO: Acknowledgment sent {"connection_id":148438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:56:07] local.INFO: TCP Data received {"connection_id":145905,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145905,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:56:07] local.INFO: Processing buffer {"connection_id":145905,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:56:07] local.INFO: IMEI packet received {"connection_id":145905,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":145905,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:56:11] local.INFO: TCP Data received {"connection_id":145905,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145905,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:56:11] local.INFO: Processing buffer {"connection_id":145905,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:56:11] local.INFO: IMEI packet received {"connection_id":145905,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":145905,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:56:12] local.INFO: TCP Data received {"connection_id":145905,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145905,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:56:12] local.INFO: Processing buffer {"connection_id":145905,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:56:12] local.INFO: IMEI packet received {"connection_id":145905,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:56:12] local.INFO: IMEI acknowledgment sent {"connection_id":145905,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:56:13] local.INFO: TCP Data received {"connection_id":145905,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb2430b8012d7a418005da7a48000800bc2a..."} 
[2026-08-01 07:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb2430b8012d7a418005da7a48000800bc2a..."} 
[2026-08-01 07:56:13] local.INFO: Processing buffer {"connection_id":145905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb2430b8012d7a418005da7a48000800bc2a..."} 
[2026-08-01 07:56:13] local.INFO: Packet analysis {"connection_id":145905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb24"} 
[2026-08-01 07:56:13] local.INFO: Extracted packet for processing {"connection_id":145905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb24"} 
[2026-08-01 07:56:13] local.INFO: GPS Element Parsed {"raw_longitude":762986880,"raw_latitude":98204232,"longitude_deg":76.298688,"latitude_deg":9.8204232,"altitude":8,"angle":188,"satellites":42,"speed":7,"hex_longitude":"2d7a4180","hex_latitude":"05da7a48","is_valid_coordinates":true} 
[2026-08-01 07:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101090304001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113489137792712704,"note":"Value kept but may cause issues"} 
[2026-08-01 07:56:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809744583718905856,"note":"Value kept but may cause issues"} 
[2026-08-01 07:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785551139000,"timestamp_ms":1785551139000,"timestamp_seconds":1785551139,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb2430b8"} 
[2026-08-01 07:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:56:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-01 07:56:13] 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-08-01 07:56:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":145905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":145905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":145905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:56:13] 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-08-01 07:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101090304001,"66":13037,"229":206,"85":15104,"24":7,"16":113489137792712704,"45":8809744583718905856},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-01 07:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101090304001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:56:13] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 07:56:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113489137792712704,"km_value":113489137792712.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:56:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809744583718905856,"description":"Unknown IO ID 45"} 
[2026-08-01 07:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101090304001,"power":13037,"unknown_229":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8809744583718905856}} 
[2026-08-01 07:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":145905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576365,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:56:13] local.INFO: GPS data processed {"connection_id":145905,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:56:13] local.INFO: Acknowledgment sent {"connection_id":145905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:56:18] local.INFO: TCP Data received {"connection_id":145905,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb243888012d7a418005da7910000800b129..."} 
[2026-08-01 07:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb243888012d7a418005da7910000800b129..."} 
[2026-08-01 07:56:18] local.INFO: Processing buffer {"connection_id":145905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb243888012d7a418005da7910000800b129..."} 
[2026-08-01 07:56:18] local.INFO: Packet analysis {"connection_id":145905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb24"} 
[2026-08-01 07:56:18] local.INFO: Extracted packet for processing {"connection_id":145905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb24"} 
[2026-08-01 07:56:18] local.INFO: GPS Element Parsed {"raw_longitude":762986880,"raw_latitude":98203920,"longitude_deg":76.298688,"latitude_deg":9.820392,"altitude":8,"angle":177,"satellites":41,"speed":5,"hex_longitude":"2d7a4180","hex_latitude":"05da7910","is_valid_coordinates":true} 
[2026-08-01 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-08-01 07:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101091584001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113489150677614592,"note":"Value kept but may cause issues"} 
[2026-08-01 07:56:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809463108742039552,"note":"Value kept but may cause issues"} 
[2026-08-01 07:56:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785551141000,"timestamp_ms":1785551141000,"timestamp_seconds":1785551141,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb243888"} 
[2026-08-01 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-08-01 07:56: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-08-01 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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-01 07:56: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-08-01 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-08-01 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-08-01 07:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":145905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":145905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":145905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:56: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-08-01 07:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101091584001,"66":13059,"229":206,"85":15104,"24":5,"16":113489150677614592,"45":8809463108742039552},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-01 07:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101091584001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:56:18] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 07:56:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113489150677614592,"km_value":113489150677614.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:56:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809463108742039552,"description":"Unknown IO ID 45"} 
[2026-08-01 07:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101091584001,"power":13059,"unknown_229":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8809463108742039552}} 
[2026-08-01 07:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":145905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576366,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:56:18] local.INFO: GPS data processed {"connection_id":145905,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:56:18] local.INFO: Acknowledgment sent {"connection_id":145905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:56:45] local.INFO: TCP Data received {"connection_id":148439,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:56:45] local.INFO: Processing buffer {"connection_id":148439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:56:45] local.INFO: IMEI packet received {"connection_id":148439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":148439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:56:48] local.INFO: TCP Data received {"connection_id":148439,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:56:48] local.INFO: Processing buffer {"connection_id":148439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:56:48] local.INFO: IMEI packet received {"connection_id":148439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":148439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:56:48] local.INFO: TCP Data received {"connection_id":145905,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb24d8b0012d7a414005da7740000701482b..."} 
[2026-08-01 07:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb24d8b0012d7a414005da7740000701482b..."} 
[2026-08-01 07:56:48] local.INFO: Processing buffer {"connection_id":145905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb24d8b0012d7a414005da7740000701482b..."} 
[2026-08-01 07:56:48] local.INFO: Packet analysis {"connection_id":145905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb24"} 
[2026-08-01 07:56:48] local.INFO: Extracted packet for processing {"connection_id":145905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb24"} 
[2026-08-01 07:56:48] local.INFO: GPS Element Parsed {"raw_longitude":762986816,"raw_latitude":98203456,"longitude_deg":76.2986816,"latitude_deg":9.8203456,"altitude":7,"angle":328,"satellites":43,"speed":5,"hex_longitude":"2d7a4140","hex_latitude":"05da7740","is_valid_coordinates":true} 
[2026-08-01 07:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101102336001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113489296706502656,"note":"Value kept but may cause issues"} 
[2026-08-01 07:56:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809392739997634560,"note":"Value kept but may cause issues"} 
[2026-08-01 07:56:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785551182000,"timestamp_ms":1785551182000,"timestamp_seconds":1785551182,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb24d8b0"} 
[2026-08-01 07:56:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:56:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-01 07:56:48] 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-08-01 07:56:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:56:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":145905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":145905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":145905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:56:48] 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-08-01 07:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101102336001,"66":12982,"229":206,"85":15104,"24":5,"16":113489296706502656,"45":8809392739997634560},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-01 07:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101102336001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:56:48] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 07:56:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113489296706502656,"km_value":113489296706502.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:56:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809392739997634560,"description":"Unknown IO ID 45"} 
[2026-08-01 07:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101102336001,"power":12982,"unknown_229":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8809392739997634560}} 
[2026-08-01 07:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":145905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576367,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:56:48] local.INFO: GPS data processed {"connection_id":145905,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:56:48] local.INFO: Acknowledgment sent {"connection_id":145905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:56:50] local.INFO: TCP Data received {"connection_id":148439,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb2388c0012d4e5d00065069600009015329..."} 
[2026-08-01 07:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb2388c0012d4e5d00065069600009015329..."} 
[2026-08-01 07:56:50] local.INFO: Processing buffer {"connection_id":148439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb2388c0012d4e5d00065069600009015329..."} 
[2026-08-01 07:56:50] local.INFO: Packet analysis {"connection_id":148439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb23"} 
[2026-08-01 07:56:50] local.INFO: Extracted packet for processing {"connection_id":148439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb23"} 
[2026-08-01 07:56:50] local.INFO: GPS Element Parsed {"raw_longitude":760110336,"raw_latitude":105933152,"longitude_deg":76.0110336,"latitude_deg":10.5933152,"altitude":9,"angle":339,"satellites":41,"speed":43,"hex_longitude":"2d4e5d00","hex_latitude":"06506960","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101078272001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365743897210519552,"note":"Value kept but may cause issues"} 
[2026-08-01 07:56:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5651102765792227328,"note":"Value kept but may cause issues"} 
[2026-08-01 07: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-08-01 07:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785551096000,"timestamp_ms":1785551096000,"timestamp_seconds":1785551096,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb2388c0"} 
[2026-08-01 07:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:56: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-08-01 07:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 07:56:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07: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-08-01 07:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:56:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101078272001,"66":27745,"235":206,"19":38144,"24":43,"16":365743897210519552,"45":5651102765792227328},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,19,24,16,45]} 
[2026-08-01 07:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101078272001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:56:50] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-01 07:56:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365743897210519552,"km_value":365743897210519.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:56:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5651102765792227328,"description":"Unknown IO ID 45"} 
[2026-08-01 07:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101078272001,"power":27745,"unknown_235":206,"unknown_19":38144,"ignition":43,"odometer":null,"unknown_45":5651102765792227328}} 
[2026-08-01 07:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":148439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:56:50] local.INFO: GPS data processed {"connection_id":148439,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:56:50] local.INFO: Acknowledgment sent {"connection_id":148439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:57:12] local.INFO: TCP Data received {"connection_id":146101,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146101,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:57:12] local.INFO: Processing buffer {"connection_id":146101,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:57:12] local.INFO: IMEI packet received {"connection_id":146101,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":146101,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:57:14] local.INFO: TCP Data received {"connection_id":146101,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146101,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:57:14] local.INFO: Processing buffer {"connection_id":146101,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:57:14] local.INFO: IMEI packet received {"connection_id":146101,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":146101,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:57:15] local.INFO: TCP Data received {"connection_id":146101,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb24e850012d7a40c005da7808000701602b..."} 
[2026-08-01 07:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb24e850012d7a40c005da7808000701602b..."} 
[2026-08-01 07:57:15] local.INFO: Processing buffer {"connection_id":146101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb24e850012d7a40c005da7808000701602b..."} 
[2026-08-01 07:57:15] local.INFO: Packet analysis {"connection_id":146101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb24"} 
[2026-08-01 07:57:15] local.INFO: Extracted packet for processing {"connection_id":146101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb24"} 
[2026-08-01 07:57:15] local.INFO: GPS Element Parsed {"raw_longitude":762986688,"raw_latitude":98203656,"longitude_deg":76.2986688,"latitude_deg":9.8203656,"altitude":7,"angle":352,"satellites":43,"speed":0,"hex_longitude":"2d7a40c0","hex_latitude":"05da7808","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101102592001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113489309591404544,"note":"Value kept but may cause issues"} 
[2026-08-01 07:57:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809392739997663232,"note":"Value kept but may cause issues"} 
[2026-08-01 07:57:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785551186000,"timestamp_ms":1785551186000,"timestamp_seconds":1785551186,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb24e850"} 
[2026-08-01 07:57:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-01 07:57:15] 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-08-01 07: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-08-01 07:57:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":146101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":146101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":146101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:57:15] 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-08-01 07:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101102592001,"66":13189,"229":206,"85":15104,"24":0,"16":113489309591404544,"45":8809392739997663232},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-01 07:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101102592001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:57:15] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 07:57:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113489309591404544,"km_value":113489309591404.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:57:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809392739997663232,"description":"Unknown IO ID 45"} 
[2026-08-01 07:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101102592001,"power":13189,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809392739997663232}} 
[2026-08-01 07:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":146101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576369,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:57:15] local.INFO: GPS data processed {"connection_id":146101,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:57:15] local.INFO: Acknowledgment sent {"connection_id":146101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:57:18] local.INFO: TCP Data received {"connection_id":146101,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb24fbd8012d7a408005da7930000601522b..."} 
[2026-08-01 07:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb24fbd8012d7a408005da7930000601522b..."} 
[2026-08-01 07:57:18] local.INFO: Processing buffer {"connection_id":146101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb24fbd8012d7a408005da7930000601522b..."} 
[2026-08-01 07:57:18] local.INFO: Packet analysis {"connection_id":146101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb24"} 
[2026-08-01 07:57:18] local.INFO: Extracted packet for processing {"connection_id":146101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb24"} 
[2026-08-01 07:57:18] local.INFO: GPS Element Parsed {"raw_longitude":762986624,"raw_latitude":98203952,"longitude_deg":76.2986624,"latitude_deg":9.8203952,"altitude":6,"angle":338,"satellites":43,"speed":0,"hex_longitude":"2d7a4080","hex_latitude":"05da7930","is_valid_coordinates":true} 
[2026-08-01 07:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101103616001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113489326771273728,"note":"Value kept but may cause issues"} 
[2026-08-01 07:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809252002509359104,"note":"Value kept but may cause issues"} 
[2026-08-01 07:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785551191000,"timestamp_ms":1785551191000,"timestamp_seconds":1785551191,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb24fbd8"} 
[2026-08-01 07:57:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:57: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-08-01 07:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-01 07:57: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-08-01 07:57:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:57:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":146101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":146101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":146101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:57: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-08-01 07:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101103616001,"66":13243,"229":206,"85":15104,"24":0,"16":113489326771273728,"45":8809252002509359104},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-01 07:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101103616001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:57:18] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 07:57:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113489326771273728,"km_value":113489326771273.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809252002509359104,"description":"Unknown IO ID 45"} 
[2026-08-01 07:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101103616001,"power":13243,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809252002509359104}} 
[2026-08-01 07:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":146101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576370,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:57:18] local.INFO: GPS data processed {"connection_id":146101,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:57:18] local.INFO: Acknowledgment sent {"connection_id":146101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:57:39] local.INFO: TCP Data received {"connection_id":148439,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb24ec38012d4dc0000651e4c8001001502a..."} 
[2026-08-01 07:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb24ec38012d4dc0000651e4c8001001502a..."} 
[2026-08-01 07:57:39] local.INFO: Processing buffer {"connection_id":148439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb24ec38012d4dc0000651e4c8001001502a..."} 
[2026-08-01 07:57:39] local.INFO: Packet analysis {"connection_id":148439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb24"} 
[2026-08-01 07:57:39] local.INFO: Extracted packet for processing {"connection_id":148439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb24"} 
[2026-08-01 07:57:39] local.INFO: GPS Element Parsed {"raw_longitude":760070144,"raw_latitude":106030280,"longitude_deg":76.0070144,"latitude_deg":10.603028,"altitude":16,"angle":336,"satellites":42,"speed":43,"hex_longitude":"2d4dc000","hex_latitude":"0651e4c8","is_valid_coordinates":true} 
[2026-08-01 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-08-01 07:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101101568001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365748982451798016,"note":"Value kept but may cause issues"} 
[2026-08-01 07:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5606629719496777728,"note":"Value kept but may cause issues"} 
[2026-08-01 07:57:39] 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-08-01 07:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785551187000,"timestamp_ms":1785551187000,"timestamp_seconds":1785551187,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb24ec38"} 
[2026-08-01 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-08-01 07:57: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-08-01 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":97,"data_length":795,"current_offset":136} 
[2026-08-01 07:57:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 07:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":148439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":148439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":148439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:57:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101101568001,"66":27843,"235":206,"19":38144,"24":43,"16":365748982451798016,"45":5606629719496777728},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,19,24,16,45]} 
[2026-08-01 07:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101101568001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:57:39] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-01 07:57:39] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365748982451798016,"km_value":365748982451798.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":5606629719496777728,"description":"Unknown IO ID 45"} 
[2026-08-01 07:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101101568001,"power":27843,"unknown_235":206,"unknown_19":38144,"ignition":43,"odometer":null,"unknown_45":5606629719496777728}} 
[2026-08-01 07:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":148439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:57:39] local.INFO: GPS data processed {"connection_id":148439,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:57:39] local.INFO: Acknowledgment sent {"connection_id":148439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:57:49] local.INFO: TCP Data received {"connection_id":146101,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb254de0012d7a408005da79300006015229..."} 
[2026-08-01 07:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb254de0012d7a408005da79300006015229..."} 
[2026-08-01 07:57:49] local.INFO: Processing buffer {"connection_id":146101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb254de0012d7a408005da79300006015229..."} 
[2026-08-01 07:57:49] local.INFO: Packet analysis {"connection_id":146101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb25"} 
[2026-08-01 07:57:49] local.INFO: Extracted packet for processing {"connection_id":146101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb25"} 
[2026-08-01 07:57:49] local.INFO: GPS Element Parsed {"raw_longitude":762986624,"raw_latitude":98203952,"longitude_deg":76.2986624,"latitude_deg":9.8203952,"altitude":6,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d7a4080","hex_latitude":"05da7930","is_valid_coordinates":true} 
[2026-08-01 07:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101104896001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113489326771273728,"note":"Value kept but may cause issues"} 
[2026-08-01 07:57:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809181633765257216,"note":"Value kept but may cause issues"} 
[2026-08-01 07:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785551212000,"timestamp_ms":1785551212000,"timestamp_seconds":1785551212,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb254de0"} 
[2026-08-01 07:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-01 07:57:49] 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-08-01 07:57:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:57: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-08-01 07:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101104896001,"66":13341,"229":206,"85":15104,"24":0,"16":113489326771273728,"45":8809181633765257216},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-01 07:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101104896001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:57:49] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 07:57:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113489326771273728,"km_value":113489326771273.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:57:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809181633765257216,"description":"Unknown IO ID 45"} 
[2026-08-01 07:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101104896001,"power":13341,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809181633765257216}} 
[2026-08-01 07:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":146101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576372,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:57:49] local.INFO: GPS data processed {"connection_id":146101,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:57:49] local.INFO: Acknowledgment sent {"connection_id":146101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:57:50] local.INFO: TCP Data received {"connection_id":146102,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:57:50] local.INFO: Processing buffer {"connection_id":146102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:57:50] local.INFO: IMEI packet received {"connection_id":146102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":146102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:57:51] local.INFO: TCP Data received {"connection_id":146102,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:57:51] local.INFO: Processing buffer {"connection_id":146102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:57:51] local.INFO: IMEI packet received {"connection_id":146102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":146102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:57:55] local.INFO: TCP Data received {"connection_id":146102,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:57:55] local.INFO: Processing buffer {"connection_id":146102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:57:55] local.INFO: IMEI packet received {"connection_id":146102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":146102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:57:57] local.INFO: TCP Data received {"connection_id":146102,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb250b78012d4db100065204280011014c2a..."} 
[2026-08-01 07:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb250b78012d4db100065204280011014c2a..."} 
[2026-08-01 07:57:57] local.INFO: Processing buffer {"connection_id":146102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb250b78012d4db100065204280011014c2a..."} 
[2026-08-01 07:57:57] local.INFO: Packet analysis {"connection_id":146102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb25"} 
[2026-08-01 07:57:57] local.INFO: Extracted packet for processing {"connection_id":146102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb25"} 
[2026-08-01 07:57:57] local.INFO: GPS Element Parsed {"raw_longitude":760066304,"raw_latitude":106038312,"longitude_deg":76.0066304,"latitude_deg":10.6038312,"altitude":17,"angle":332,"satellites":42,"speed":44,"hex_longitude":"2d4db100","hex_latitude":"06520428","is_valid_coordinates":true} 
[2026-08-01 07:57:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:57:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101103872001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:57:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365749411948527616,"note":"Value kept but may cause issues"} 
[2026-08-01 07:57:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5602477963592648704,"note":"Value kept but may cause issues"} 
[2026-08-01 07:57:57] 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-08-01 07:57:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785551195000,"timestamp_ms":1785551195000,"timestamp_seconds":1785551195,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb250b78"} 
[2026-08-01 07:57:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:57: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-08-01 07:57:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 07:57:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:57:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:57:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:57:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:57:57] local.INFO: Teltonika packet parsed successfully {"connection_id":146102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:57:57] local.INFO: Passing IMEI to GPS processor {"connection_id":146102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:57:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":146102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:57:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:57:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:57:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:57:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101103872001,"66":27930,"235":206,"19":38144,"24":44,"16":365749411948527616,"45":5602477963592648704},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,19,24,16,45]} 
[2026-08-01 07:57:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:57:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:57:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101103872001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:57:57] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-01 07:57:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:57:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365749411948527616,"km_value":365749411948527.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:57:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5602477963592648704,"description":"Unknown IO ID 45"} 
[2026-08-01 07:57:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101103872001,"power":27930,"unknown_235":206,"unknown_19":38144,"ignition":44,"odometer":null,"unknown_45":5602477963592648704}} 
[2026-08-01 07:57:57] local.INFO: DEBUG: GPS processor result {"connection_id":146102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:57:57] local.INFO: GPS data processed {"connection_id":146102,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:57:57] local.INFO: Acknowledgment sent {"connection_id":146102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:57:59] local.INFO: TCP Data received {"connection_id":146102,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb252ab8012d4d9fc0065224000011014b2a..."} 
[2026-08-01 07:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb252ab8012d4d9fc0065224000011014b2a..."} 
[2026-08-01 07:57:59] local.INFO: Processing buffer {"connection_id":146102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb252ab8012d4d9fc0065224000011014b2a..."} 
[2026-08-01 07:57:59] local.INFO: Packet analysis {"connection_id":146102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb25"} 
[2026-08-01 07:57:59] local.INFO: Extracted packet for processing {"connection_id":146102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb25"} 
[2026-08-01 07:57:59] local.INFO: GPS Element Parsed {"raw_longitude":760061888,"raw_latitude":106046464,"longitude_deg":76.0061888,"latitude_deg":10.6046464,"altitude":17,"angle":331,"satellites":42,"speed":47,"hex_longitude":"2d4d9fc0","hex_latitude":"06522400","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101105920001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365749858625126400,"note":"Value kept but may cause issues"} 
[2026-08-01 07:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5598255838944045056,"note":"Value kept but may cause issues"} 
[2026-08-01 07:57:59] 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-08-01 07:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785551203000,"timestamp_ms":1785551203000,"timestamp_seconds":1785551203,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb252ab8"} 
[2026-08-01 07:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:57: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-08-01 07: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-01 07:57: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-08-01 07: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-08-01 07:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":146102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":146102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":146102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101105920001,"66":27887,"235":206,"19":38144,"24":47,"16":365749858625126400,"45":5598255838944045056},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,19,24,16,45]} 
[2026-08-01 07:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101105920001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:57:59] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-01 07:57:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365749858625126400,"km_value":365749858625126.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5598255838944045056,"description":"Unknown IO ID 45"} 
[2026-08-01 07:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101105920001,"power":27887,"unknown_235":206,"unknown_19":38144,"ignition":47,"odometer":null,"unknown_45":5598255838944045056}} 
[2026-08-01 07:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":146102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:57:59] local.INFO: GPS data processed {"connection_id":146102,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:57:59] local.INFO: Acknowledgment sent {"connection_id":146102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:58:05] local.INFO: TCP Data received {"connection_id":145906,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145906,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:58:05] local.INFO: Processing buffer {"connection_id":145906,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:58:05] local.INFO: IMEI packet received {"connection_id":145906,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 07:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":145906,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:58:06] local.INFO: TCP Data received {"connection_id":145906,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145906,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:58:06] local.INFO: Processing buffer {"connection_id":145906,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:58:06] local.INFO: IMEI packet received {"connection_id":145906,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":145906,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:58:07] local.INFO: TCP Data received {"connection_id":145906,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145906,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:58:07] local.INFO: Processing buffer {"connection_id":145906,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:58:07] local.INFO: IMEI packet received {"connection_id":145906,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":145906,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:58:12] local.INFO: TCP Data received {"connection_id":145906,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145906,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:58:12] local.INFO: Processing buffer {"connection_id":145906,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 07:58:12] local.INFO: IMEI packet received {"connection_id":145906,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 07:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":145906,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:58:13] local.INFO: TCP Data received {"connection_id":145906,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb259fe8012d7a408005da79300006015229..."} 
[2026-08-01 07:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb259fe8012d7a408005da79300006015229..."} 
[2026-08-01 07:58:13] local.INFO: Processing buffer {"connection_id":145906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb259fe8012d7a408005da79300006015229..."} 
[2026-08-01 07:58:13] local.INFO: Packet analysis {"connection_id":145906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb25"} 
[2026-08-01 07:58:13] local.INFO: Extracted packet for processing {"connection_id":145906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb25"} 
[2026-08-01 07:58:13] local.INFO: GPS Element Parsed {"raw_longitude":762986624,"raw_latitude":98203952,"longitude_deg":76.2986624,"latitude_deg":9.8203952,"altitude":6,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d7a4080","hex_latitude":"05da7930","is_valid_coordinates":true} 
[2026-08-01 07:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101110272001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113489326771273728,"note":"Value kept but may cause issues"} 
[2026-08-01 07:58:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809181633765257216,"note":"Value kept but may cause issues"} 
[2026-08-01 07:58:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 07:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785551233000,"timestamp_ms":1785551233000,"timestamp_seconds":1785551233,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb259fe8"} 
[2026-08-01 07:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:58:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-01 07:58:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:58:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":145906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":145906,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":145906,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 07:58:13] 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-08-01 07:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 07:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 07:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101110272001,"66":13374,"229":206,"85":15104,"24":0,"16":113489326771273728,"45":8809181633765257216},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-01 07:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 07:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 07:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101110272001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:58:13] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 07:58:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 07:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113489326771273728,"km_value":113489326771273.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:58:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809181633765257216,"description":"Unknown IO ID 45"} 
[2026-08-01 07:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101110272001,"power":13374,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809181633765257216}} 
[2026-08-01 07:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":145906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576375,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:58:13] local.INFO: GPS data processed {"connection_id":145906,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:58:13] local.INFO: Acknowledgment sent {"connection_id":145906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:58:30] local.INFO: TCP Data received {"connection_id":146102,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb2549f8012d4d8d40065245f00010014c29..."} 
[2026-08-01 07:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb2549f8012d4d8d40065245f00010014c29..."} 
[2026-08-01 07:58:30] local.INFO: Processing buffer {"connection_id":146102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb2549f8012d4d8d40065245f00010014c29..."} 
[2026-08-01 07:58:30] local.INFO: Packet analysis {"connection_id":146102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb25"} 
[2026-08-01 07:58:30] local.INFO: Extracted packet for processing {"connection_id":146102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb25"} 
[2026-08-01 07:58:30] local.INFO: GPS Element Parsed {"raw_longitude":760057152,"raw_latitude":106055152,"longitude_deg":76.0057152,"latitude_deg":10.6055152,"altitude":16,"angle":332,"satellites":41,"speed":50,"hex_longitude":"2d4d8d40","hex_latitude":"065245f0","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101107968001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365750335366496256,"note":"Value kept but may cause issues"} 
[2026-08-01 07:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5593400395597873152,"note":"Value kept but may cause issues"} 
[2026-08-01 07:58:30] 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-08-01 07:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785551211000,"timestamp_ms":1785551211000,"timestamp_seconds":1785551211,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb2549f8"} 
[2026-08-01 07:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:58: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-08-01 07: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":239,"data_length":795,"current_offset":136} 
[2026-08-01 07:58: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-08-01 07: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-08-01 07:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101107968001,"66":27832,"235":206,"19":38144,"24":50,"16":365750335366496256,"45":5593400395597873152},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,19,24,16,45]} 
[2026-08-01 07:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101107968001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:58:30] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-01 07:58:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-08-01 07:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365750335366496256,"km_value":365750335366496.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5593400395597873152,"description":"Unknown IO ID 45"} 
[2026-08-01 07:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101107968001,"power":27832,"unknown_235":206,"unknown_19":38144,"ignition":50,"odometer":null,"unknown_45":5593400395597873152}} 
[2026-08-01 07:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":146102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:58:30] local.INFO: GPS data processed {"connection_id":146102,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:58:30] local.INFO: Acknowledgment sent {"connection_id":146102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:58:42] local.INFO: TCP Data received {"connection_id":146103,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:58:42] local.INFO: Processing buffer {"connection_id":146103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:58:42] local.INFO: IMEI packet received {"connection_id":146103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":146103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:58:46] local.INFO: TCP Data received {"connection_id":146103,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:58:46] local.INFO: Processing buffer {"connection_id":146103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:58:46] local.INFO: IMEI packet received {"connection_id":146103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":146103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:58:50] local.INFO: TCP Data received {"connection_id":146103,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:58:50] local.INFO: Processing buffer {"connection_id":146103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:58:50] local.INFO: IMEI packet received {"connection_id":146103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":146103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:58:51] local.INFO: TCP Data received {"connection_id":146103,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb256550012d4d7c0006526620000d014b2a..."} 
[2026-08-01 07:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb256550012d4d7c0006526620000d014b2a..."} 
[2026-08-01 07:58:51] local.INFO: Processing buffer {"connection_id":146103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb256550012d4d7c0006526620000d014b2a..."} 
[2026-08-01 07:58:51] local.INFO: Packet analysis {"connection_id":146103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb25"} 
[2026-08-01 07:58:51] local.INFO: Extracted packet for processing {"connection_id":146103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb25"} 
[2026-08-01 07:58:51] local.INFO: GPS Element Parsed {"raw_longitude":760052736,"raw_latitude":106063392,"longitude_deg":76.0052736,"latitude_deg":10.6063392,"altitude":13,"angle":331,"satellites":42,"speed":55,"hex_longitude":"2d4d7c00","hex_latitude":"06526620","is_valid_coordinates":true} 
[2026-08-01 07: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-08-01 07:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101110016001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365750786338062336,"note":"Value kept but may cause issues"} 
[2026-08-01 07:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5588193108530950144,"note":"Value kept but may cause issues"} 
[2026-08-01 07:58:51] 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-08-01 07:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785551218000,"timestamp_ms":1785551218000,"timestamp_seconds":1785551218,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb256550"} 
[2026-08-01 07:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:58: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-08-01 07: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":184,"data_length":795,"current_offset":136} 
[2026-08-01 07:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07: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-08-01 07:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":146103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":146103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":146103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101110016001,"66":27887,"135":206,"28":31488,"24":55,"16":365750786338062336,"45":5588193108530950144},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,28,24,16,45]} 
[2026-08-01 07:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101110016001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:58:51] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-01 07:58:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-08-01 07:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365750786338062336,"km_value":365750786338062.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5588193108530950144,"description":"Unknown IO ID 45"} 
[2026-08-01 07:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101110016001,"power":27887,"unknown_135":206,"unknown_28":31488,"ignition":55,"odometer":null,"unknown_45":5588193108530950144}} 
[2026-08-01 07:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":146103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:58:51] local.INFO: GPS data processed {"connection_id":146103,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:58:51] local.INFO: Acknowledgment sent {"connection_id":146103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:59:23] local.INFO: TCP Data received {"connection_id":146103,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb2580a8012d4d694006528898000a014b29..."} 
[2026-08-01 07:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb2580a8012d4d694006528898000a014b29..."} 
[2026-08-01 07:59:23] local.INFO: Processing buffer {"connection_id":146103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb2580a8012d4d694006528898000a014b29..."} 
[2026-08-01 07:59:23] local.INFO: Packet analysis {"connection_id":146103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb25"} 
[2026-08-01 07:59:23] local.INFO: Extracted packet for processing {"connection_id":146103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb25"} 
[2026-08-01 07:59:23] local.INFO: GPS Element Parsed {"raw_longitude":760047936,"raw_latitude":106072216,"longitude_deg":76.0047936,"latitude_deg":10.6072216,"altitude":10,"angle":331,"satellites":41,"speed":58,"hex_longitude":"2d4d6940","hex_latitude":"06528898","is_valid_coordinates":true} 
[2026-08-01 07:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101111808001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365751271669366784,"note":"Value kept but may cause issues"} 
[2026-08-01 07:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5583337665184800768,"note":"Value kept but may cause issues"} 
[2026-08-01 07:59:23] 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-08-01 07:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785551225000,"timestamp_ms":1785551225000,"timestamp_seconds":1785551225,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb2580a8"} 
[2026-08-01 07:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:59:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-01 07:59:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:59:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":146103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":146103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":146103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:59:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101111808001,"66":27876,"135":206,"28":31488,"24":58,"16":365751271669366784,"45":5583337665184800768},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,28,24,16,45]} 
[2026-08-01 07:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101111808001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:59:23] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-01 07:59:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-08-01 07:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365751271669366784,"km_value":365751271669366.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5583337665184800768,"description":"Unknown IO ID 45"} 
[2026-08-01 07:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101111808001,"power":27876,"unknown_135":206,"unknown_28":31488,"ignition":58,"odometer":null,"unknown_45":5583337665184800768}} 
[2026-08-01 07:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":146103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:59:23] local.INFO: GPS data processed {"connection_id":146103,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:59:23] local.INFO: Acknowledgment sent {"connection_id":146103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 07:59:46] local.INFO: TCP Data received {"connection_id":147123,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:59:46] local.INFO: Processing buffer {"connection_id":147123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:59:46] local.INFO: IMEI packet received {"connection_id":147123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 07:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":147123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 07:59:46] local.INFO: TCP Data received {"connection_id":147123,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:59:46] local.INFO: Processing buffer {"connection_id":147123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:59:46] local.INFO: IMEI packet received {"connection_id":147123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":147123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:59:50] local.INFO: TCP Data received {"connection_id":147123,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:59:50] local.INFO: Processing buffer {"connection_id":147123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 07:59:50] local.INFO: IMEI packet received {"connection_id":147123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 07:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":147123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 07:59:51] local.INFO: TCP Data received {"connection_id":147123,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb271300012d4c91000653d980000f01502a..."} 
[2026-08-01 07:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb271300012d4c91000653d980000f01502a..."} 
[2026-08-01 07:59:51] local.INFO: Processing buffer {"connection_id":147123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb271300012d4c91000653d980000f01502a..."} 
[2026-08-01 07:59:51] local.INFO: Packet analysis {"connection_id":147123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb27"} 
[2026-08-01 07:59:51] local.INFO: Extracted packet for processing {"connection_id":147123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb27"} 
[2026-08-01 07:59:51] local.INFO: GPS Element Parsed {"raw_longitude":759992576,"raw_latitude":106158464,"longitude_deg":75.9992576,"latitude_deg":10.6158464,"altitude":15,"angle":336,"satellites":42,"speed":35,"hex_longitude":"2d4c9100","hex_latitude":"0653d980","is_valid_coordinates":true} 
[2026-08-01 07:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 07:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101137152001,"note":"Value kept but may cause issues"} 
[2026-08-01 07:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365756228061626368,"note":"Value kept but may cause issues"} 
[2026-08-01 07:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5521835382795769856,"note":"Value kept but may cause issues"} 
[2026-08-01 07:59:51] 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-08-01 07:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785551328000,"timestamp_ms":1785551328000,"timestamp_seconds":1785551328,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb271300"} 
[2026-08-01 07:59:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 07:59:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 07:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 07:59:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 07:59:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 07:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 07:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 07:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":147123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 07:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":147123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":147123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 07:59:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 07:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 07:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 07:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101137152001,"66":27745,"135":206,"28":31488,"24":35,"16":365756228061626368,"45":5521835382795769856},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,28,24,16,45]} 
[2026-08-01 07:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 07:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 07:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101137152001,"description":"Unknown IO ID 0"} 
[2026-08-01 07:59:51] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-01 07:59:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-08-01 07:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365756228061626368,"km_value":365756228061626.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 07:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5521835382795769856,"description":"Unknown IO ID 45"} 
[2026-08-01 07:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101137152001,"power":27745,"unknown_135":206,"unknown_28":31488,"ignition":35,"odometer":null,"unknown_45":5521835382795769856}} 
[2026-08-01 07:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":147123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 07:59:51] local.INFO: GPS data processed {"connection_id":147123,"processed":1,"errors":0,"total":1} 
[2026-08-01 07:59:51] local.INFO: Acknowledgment sent {"connection_id":147123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:00:23] local.INFO: TCP Data received {"connection_id":147123,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb273a10012d4c82800653fba0000f01502a..."} 
[2026-08-01 08:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb273a10012d4c82800653fba0000f01502a..."} 
[2026-08-01 08:00:23] local.INFO: Processing buffer {"connection_id":147123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb273a10012d4c82800653fba0000f01502a..."} 
[2026-08-01 08:00:23] local.INFO: Packet analysis {"connection_id":147123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb27"} 
[2026-08-01 08:00:23] local.INFO: Extracted packet for processing {"connection_id":147123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb27"} 
[2026-08-01 08:00:23] local.INFO: GPS Element Parsed {"raw_longitude":759988864,"raw_latitude":106167200,"longitude_deg":75.9988864,"latitude_deg":10.61672,"altitude":15,"angle":336,"satellites":42,"speed":39,"hex_longitude":"2d4c8280","hex_latitude":"0653fba0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 08:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101139968001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365756687623127040,"note":"Value kept but may cause issues"} 
[2026-08-01 08:00:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5517191045682135040,"note":"Value kept but may cause issues"} 
[2026-08-01 08:00:23] 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-08-01 08:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785551338000,"timestamp_ms":1785551338000,"timestamp_seconds":1785551338,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb273a10"} 
[2026-08-01 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-08-01 08:00:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 08:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 08:00:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 08:00:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 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-08-01 08:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":147123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":147123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":147123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:00:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101139968001,"66":27767,"135":206,"28":31488,"24":39,"16":365756687623127040,"45":5517191045682135040},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,28,24,16,45]} 
[2026-08-01 08:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101139968001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:00:23] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-01 08:00:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-08-01 08:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365756687623127040,"km_value":365756687623127.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:00:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5517191045682135040,"description":"Unknown IO ID 45"} 
[2026-08-01 08:00:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101139968001,"power":27767,"unknown_135":206,"unknown_28":31488,"ignition":39,"odometer":null,"unknown_45":5517191045682135040}} 
[2026-08-01 08:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":147123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:00:23] local.INFO: GPS data processed {"connection_id":147123,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:00:23] local.INFO: Acknowledgment sent {"connection_id":147123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:00:45] local.INFO: TCP Data received {"connection_id":145907,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:00:45] local.INFO: Processing buffer {"connection_id":145907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:00:45] local.INFO: IMEI packet received {"connection_id":145907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 08:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":145907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 08:00:48] local.INFO: TCP Data received {"connection_id":145907,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:00:48] local.INFO: Processing buffer {"connection_id":145907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:00:48] local.INFO: IMEI packet received {"connection_id":145907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":145907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:00:49] local.INFO: TCP Data received {"connection_id":145907,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb275d38012d4c748006541d80000f01502a..."} 
[2026-08-01 08:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb275d38012d4c748006541d80000f01502a..."} 
[2026-08-01 08:00:49] local.INFO: Processing buffer {"connection_id":145907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb275d38012d4c748006541d80000f01502a..."} 
[2026-08-01 08:00:49] local.INFO: Packet analysis {"connection_id":145907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb27"} 
[2026-08-01 08:00:49] local.INFO: Extracted packet for processing {"connection_id":145907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb27"} 
[2026-08-01 08:00:49] local.INFO: GPS Element Parsed {"raw_longitude":759985280,"raw_latitude":106175872,"longitude_deg":75.998528,"latitude_deg":10.6175872,"altitude":15,"angle":336,"satellites":42,"speed":42,"hex_longitude":"2d4c7480","hex_latitude":"06541d80","is_valid_coordinates":true} 
[2026-08-01 08: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-08-01 08:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101142528001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365757142889660416,"note":"Value kept but may cause issues"} 
[2026-08-01 08:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5513109658522066944,"note":"Value kept but may cause issues"} 
[2026-08-01 08:00:49] 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-08-01 08:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785551347000,"timestamp_ms":1785551347000,"timestamp_seconds":1785551347,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb275d38"} 
[2026-08-01 08:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08: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-08-01 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 08:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 08: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-08-01 08:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":145907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":145907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":145907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101142528001,"66":27658,"135":206,"28":31488,"24":42,"16":365757142889660416,"45":5513109658522066944},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,28,24,16,45]} 
[2026-08-01 08:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101142528001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:00:49] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-01 08:00:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-08-01 08:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365757142889660416,"km_value":365757142889660.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5513109658522066944,"description":"Unknown IO ID 45"} 
[2026-08-01 08:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101142528001,"power":27658,"unknown_135":206,"unknown_28":31488,"ignition":42,"odometer":null,"unknown_45":5513109658522066944}} 
[2026-08-01 08:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":145907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:00:49] local.INFO: GPS data processed {"connection_id":145907,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:00:49] local.INFO: Acknowledgment sent {"connection_id":145907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:01:21] local.INFO: TCP Data received {"connection_id":145907,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb288a00012d4b9b4006558060000a014b29..."} 
[2026-08-01 08:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb288a00012d4b9b4006558060000a014b29..."} 
[2026-08-01 08:01:21] local.INFO: Processing buffer {"connection_id":145907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb288a00012d4b9b4006558060000a014b29..."} 
[2026-08-01 08:01:21] local.INFO: Packet analysis {"connection_id":145907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb28"} 
[2026-08-01 08:01:21] local.INFO: Extracted packet for processing {"connection_id":145907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb28"} 
[2026-08-01 08:01:21] local.INFO: GPS Element Parsed {"raw_longitude":759929664,"raw_latitude":106266720,"longitude_deg":75.9929664,"latitude_deg":10.626672,"altitude":10,"angle":331,"satellites":41,"speed":54,"hex_longitude":"2d4b9b40","hex_latitude":"06558060","is_valid_coordinates":true} 
[2026-08-01 08: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-08-01 08:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101162752001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365762305440350208,"note":"Value kept but may cause issues"} 
[2026-08-01 08:01:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5453155488505989120,"note":"Value kept but may cause issues"} 
[2026-08-01 08:01:21] 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-08-01 08:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785551424000,"timestamp_ms":1785551424000,"timestamp_seconds":1785551424,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb288a00"} 
[2026-08-01 08:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:01:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 08:01:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 08: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-08-01 08:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":145907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":145907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":145907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101162752001,"66":27745,"77":206,"28":31488,"24":54,"16":365762305440350208,"45":5453155488505989120},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,28,24,16,45]} 
[2026-08-01 08:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101162752001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:01:21] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-01 08:01:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-08-01 08:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365762305440350208,"km_value":365762305440350.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:01:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5453155488505989120,"description":"Unknown IO ID 45"} 
[2026-08-01 08:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101162752001,"power":27745,"unknown_77":206,"unknown_28":31488,"ignition":54,"odometer":null,"unknown_45":5453155488505989120}} 
[2026-08-01 08:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":145907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:01:21] local.INFO: GPS data processed {"connection_id":145907,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:01:21] local.INFO: Acknowledgment sent {"connection_id":145907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:01:50] local.INFO: TCP Data received {"connection_id":146104,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:01:50] local.INFO: Processing buffer {"connection_id":146104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:01:50] local.INFO: IMEI packet received {"connection_id":146104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 08:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":146104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 08:01:51] local.INFO: TCP Data received {"connection_id":146104,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:01:51] local.INFO: Processing buffer {"connection_id":146104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:01:51] local.INFO: IMEI packet received {"connection_id":146104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":146104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:01:55] local.INFO: TCP Data received {"connection_id":146104,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:01:55] local.INFO: Processing buffer {"connection_id":146104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:01:55] local.INFO: IMEI packet received {"connection_id":146104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":146104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:01:56] local.INFO: TCP Data received {"connection_id":146104,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb28a558012d4b89c00655a0e0000a014b2a..."} 
[2026-08-01 08:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb28a558012d4b89c00655a0e0000a014b2a..."} 
[2026-08-01 08:01:56] local.INFO: Processing buffer {"connection_id":146104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb28a558012d4b89c00655a0e0000a014b2a..."} 
[2026-08-01 08:01:56] local.INFO: Packet analysis {"connection_id":146104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb28"} 
[2026-08-01 08:01:56] local.INFO: Extracted packet for processing {"connection_id":146104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb28"} 
[2026-08-01 08:01:56] local.INFO: GPS Element Parsed {"raw_longitude":759925184,"raw_latitude":106275040,"longitude_deg":75.9925184,"latitude_deg":10.627504,"altitude":10,"angle":331,"satellites":42,"speed":53,"hex_longitude":"2d4b89c0","hex_latitude":"0655a0e0","is_valid_coordinates":true} 
[2026-08-01 08:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 08:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101164544001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365762760706883584,"note":"Value kept but may cause issues"} 
[2026-08-01 08:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5448018570183204864,"note":"Value kept but may cause issues"} 
[2026-08-01 08:01:56] 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-08-01 08:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785551431000,"timestamp_ms":1785551431000,"timestamp_seconds":1785551431,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb28a558"} 
[2026-08-01 08:01:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:01: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-08-01 08:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 08:01:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 08:01:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 08:01:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":146104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":146104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":146104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:01:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101164544001,"66":27908,"77":206,"28":31488,"24":53,"16":365762760706883584,"45":5448018570183204864},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,28,24,16,45]} 
[2026-08-01 08:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101164544001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:01:56] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-01 08:01:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-08-01 08:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365762760706883584,"km_value":365762760706883.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":5448018570183204864,"description":"Unknown IO ID 45"} 
[2026-08-01 08:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101164544001,"power":27908,"unknown_77":206,"unknown_28":31488,"ignition":53,"odometer":null,"unknown_45":5448018570183204864}} 
[2026-08-01 08:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":146104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:01:56] local.INFO: GPS data processed {"connection_id":146104,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:01:56] local.INFO: Acknowledgment sent {"connection_id":146104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:01:58] local.INFO: TCP Data received {"connection_id":146104,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb28c0b0012d4b78400655c0f0000a014b29..."} 
[2026-08-01 08:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb28c0b0012d4b78400655c0f0000a014b29..."} 
[2026-08-01 08:01:58] local.INFO: Processing buffer {"connection_id":146104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb28c0b0012d4b78400655c0f0000a014b29..."} 
[2026-08-01 08:01:58] local.INFO: Packet analysis {"connection_id":146104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb28"} 
[2026-08-01 08:01:58] local.INFO: Extracted packet for processing {"connection_id":146104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb28"} 
[2026-08-01 08:01:58] local.INFO: GPS Element Parsed {"raw_longitude":759920704,"raw_latitude":106283248,"longitude_deg":75.9920704,"latitude_deg":10.6283248,"altitude":10,"angle":331,"satellites":41,"speed":52,"hex_longitude":"2d4b7840","hex_latitude":"0655c0f0","is_valid_coordinates":true} 
[2026-08-01 08:01: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-08-01 08:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101166336001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365763211678449664,"note":"Value kept but may cause issues"} 
[2026-08-01 08:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5443092758092898304,"note":"Value kept but may cause issues"} 
[2026-08-01 08:01:58] 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-08-01 08:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785551438000,"timestamp_ms":1785551438000,"timestamp_seconds":1785551438,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb28c0b0"} 
[2026-08-01 08:01:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:01: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-08-01 08:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 08:01:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 08:01: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-08-01 08:01:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":146104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":146104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":146104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:01:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101166336001,"66":27767,"77":206,"28":31488,"24":52,"16":365763211678449664,"45":5443092758092898304},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,28,24,16,45]} 
[2026-08-01 08:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101166336001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:01:58] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-01 08:01:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-08-01 08:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365763211678449664,"km_value":365763211678449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:01:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5443092758092898304,"description":"Unknown IO ID 45"} 
[2026-08-01 08:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101166336001,"power":27767,"unknown_77":206,"unknown_28":31488,"ignition":52,"odometer":null,"unknown_45":5443092758092898304}} 
[2026-08-01 08:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":146104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:01:58] local.INFO: GPS data processed {"connection_id":146104,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:01:58] local.INFO: Acknowledgment sent {"connection_id":146104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:02:30] local.INFO: TCP Data received {"connection_id":146104,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb28dc08012d4b67000655e110000a014b29..."} 
[2026-08-01 08:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb28dc08012d4b67000655e110000a014b29..."} 
[2026-08-01 08:02:30] local.INFO: Processing buffer {"connection_id":146104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb28dc08012d4b67000655e110000a014b29..."} 
[2026-08-01 08:02:30] local.INFO: Packet analysis {"connection_id":146104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb28"} 
[2026-08-01 08:02:30] local.INFO: Extracted packet for processing {"connection_id":146104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb28"} 
[2026-08-01 08:02:30] local.INFO: GPS Element Parsed {"raw_longitude":759916288,"raw_latitude":106291472,"longitude_deg":75.9916288,"latitude_deg":10.6291472,"altitude":10,"angle":331,"satellites":41,"speed":53,"hex_longitude":"2d4b6700","hex_latitude":"0655e110","is_valid_coordinates":true} 
[2026-08-01 08: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-08-01 08:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101168128001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365763662650015744,"note":"Value kept but may cause issues"} 
[2026-08-01 08:02:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5438166946002563072,"note":"Value kept but may cause issues"} 
[2026-08-01 08:02: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-08-01 08:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785551445000,"timestamp_ms":1785551445000,"timestamp_seconds":1785551445,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb28dc08"} 
[2026-08-01 08:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08: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-08-01 08: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-08-01 08: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-08-01 08: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-08-01 08:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:02:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101168128001,"66":27800,"77":206,"28":31488,"24":53,"16":365763662650015744,"45":5438166946002563072},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,28,24,16,45]} 
[2026-08-01 08:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101168128001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:02:30] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-01 08:02:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-08-01 08:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365763662650015744,"km_value":365763662650015.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:02:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5438166946002563072,"description":"Unknown IO ID 45"} 
[2026-08-01 08:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101168128001,"power":27800,"unknown_77":206,"unknown_28":31488,"ignition":53,"odometer":null,"unknown_45":5438166946002563072}} 
[2026-08-01 08:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":146104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:02:30] local.INFO: GPS data processed {"connection_id":146104,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:02:30] local.INFO: Acknowledgment sent {"connection_id":146104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:02:45] local.INFO: TCP Data received {"connection_id":148440,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:02:45] local.INFO: Processing buffer {"connection_id":148440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:02:45] local.INFO: IMEI packet received {"connection_id":148440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 08:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":148440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 08:02:46] local.INFO: TCP Data received {"connection_id":148440,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:02:46] local.INFO: Processing buffer {"connection_id":148440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:02:46] local.INFO: IMEI packet received {"connection_id":148440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":148440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:02:50] local.INFO: TCP Data received {"connection_id":148440,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:02:50] local.INFO: Processing buffer {"connection_id":148440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:02:50] local.INFO: IMEI packet received {"connection_id":148440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":148440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:02:51] local.INFO: TCP Data received {"connection_id":148440,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb29ce38012d4ae88006571918000c014d29..."} 
[2026-08-01 08:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb29ce38012d4ae88006571918000c014d29..."} 
[2026-08-01 08:02:51] local.INFO: Processing buffer {"connection_id":148440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb29ce38012d4ae88006571918000c014d29..."} 
[2026-08-01 08:02:51] local.INFO: Packet analysis {"connection_id":148440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb29"} 
[2026-08-01 08:02:51] local.INFO: Extracted packet for processing {"connection_id":148440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb29"} 
[2026-08-01 08:02:51] local.INFO: GPS Element Parsed {"raw_longitude":759883904,"raw_latitude":106371352,"longitude_deg":75.9883904,"latitude_deg":10.6371352,"altitude":12,"angle":333,"satellites":41,"speed":52,"hex_longitude":"2d4ae880","hex_latitude":"06571918","is_valid_coordinates":true} 
[2026-08-01 08:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 08:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101184000001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365767854538096640,"note":"Value kept but may cause issues"} 
[2026-08-01 08:02:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5402208517748209664,"note":"Value kept but may cause issues"} 
[2026-08-01 08:02:51] 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-08-01 08:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785551507000,"timestamp_ms":1785551507000,"timestamp_seconds":1785551507,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb29ce38"} 
[2026-08-01 08:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:02: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-08-01 08:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 08:02:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 08:02:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 08:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101184000001,"66":27800,"76":206,"28":31488,"24":52,"16":365767854538096640,"45":5402208517748209664},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,28,24,16,45]} 
[2026-08-01 08:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101184000001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:02:51] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-08-01 08:02:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-08-01 08:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365767854538096640,"km_value":365767854538096.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:02:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5402208517748209664,"description":"Unknown IO ID 45"} 
[2026-08-01 08:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101184000001,"power":27800,"unknown_76":206,"unknown_28":31488,"ignition":52,"odometer":null,"unknown_45":5402208517748209664}} 
[2026-08-01 08:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":148440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:02:51] local.INFO: GPS data processed {"connection_id":148440,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:02:51] local.INFO: Acknowledgment sent {"connection_id":148440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:02:52] local.INFO: TCP Data received {"connection_id":148440,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb29e990012d4ad840065739c0000d014e2a..."} 
[2026-08-01 08:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb29e990012d4ad840065739c0000d014e2a..."} 
[2026-08-01 08:02:52] local.INFO: Processing buffer {"connection_id":148440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb29e990012d4ad840065739c0000d014e2a..."} 
[2026-08-01 08:02:52] local.INFO: Packet analysis {"connection_id":148440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb29"} 
[2026-08-01 08:02:52] local.INFO: Extracted packet for processing {"connection_id":148440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb29"} 
[2026-08-01 08:02:52] local.INFO: GPS Element Parsed {"raw_longitude":759879744,"raw_latitude":106379712,"longitude_deg":75.9879744,"latitude_deg":10.6379712,"altitude":13,"angle":334,"satellites":42,"speed":53,"hex_longitude":"2d4ad840","hex_latitude":"065739c0","is_valid_coordinates":true} 
[2026-08-01 08: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-08-01 08:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101185792001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365768305509662720,"note":"Value kept but may cause issues"} 
[2026-08-01 08:02:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5397704918122960896,"note":"Value kept but may cause issues"} 
[2026-08-01 08:02:52] 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-08-01 08:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785551514000,"timestamp_ms":1785551514000,"timestamp_seconds":1785551514,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb29e990"} 
[2026-08-01 08:02:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:02: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-08-01 08: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 08:02: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-08-01 08: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-08-01 08:02:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:02:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101185792001,"66":27267,"76":206,"28":31488,"24":53,"16":365768305509662720,"45":5397704918122960896},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,28,24,16,45]} 
[2026-08-01 08:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101185792001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:02:52] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-08-01 08:02:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-08-01 08:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365768305509662720,"km_value":365768305509662.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:02:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":5397704918122960896,"description":"Unknown IO ID 45"} 
[2026-08-01 08:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101185792001,"power":27267,"unknown_76":206,"unknown_28":31488,"ignition":53,"odometer":null,"unknown_45":5397704918122960896}} 
[2026-08-01 08:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":148440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:02:52] local.INFO: GPS data processed {"connection_id":148440,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:02:52] local.INFO: Acknowledgment sent {"connection_id":148440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:03:07] local.INFO: TCP Data received {"connection_id":145908,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 08:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145908,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 08:03:07] local.INFO: Processing buffer {"connection_id":145908,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 08:03:07] local.INFO: IMEI packet received {"connection_id":145908,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 08:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":145908,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 08:03:12] local.INFO: TCP Data received {"connection_id":145908,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 08:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145908,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 08:03:12] local.INFO: Processing buffer {"connection_id":145908,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 08:03:12] local.INFO: IMEI packet received {"connection_id":145908,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 08:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":145908,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:03:13] local.INFO: TCP Data received {"connection_id":145908,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb25f5d8012d7a400005da77f0000400b02a..."} 
[2026-08-01 08:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb25f5d8012d7a400005da77f0000400b02a..."} 
[2026-08-01 08:03:13] local.INFO: Processing buffer {"connection_id":145908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb25f5d8012d7a400005da77f0000400b02a..."} 
[2026-08-01 08:03:13] local.INFO: Packet analysis {"connection_id":145908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb25"} 
[2026-08-01 08:03:13] local.INFO: Extracted packet for processing {"connection_id":145908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb25"} 
[2026-08-01 08:03:13] local.INFO: GPS Element Parsed {"raw_longitude":762986496,"raw_latitude":98203632,"longitude_deg":76.2986496,"latitude_deg":9.8203632,"altitude":4,"angle":176,"satellites":42,"speed":1,"hex_longitude":"2d7a4000","hex_latitude":"05da77f0","is_valid_coordinates":true} 
[2026-08-01 08:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 08:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101121024001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113489343951142912,"note":"Value kept but may cause issues"} 
[2026-08-01 08:03:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809181633765257216,"note":"Value kept but may cause issues"} 
[2026-08-01 08:03:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 08:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785551255000,"timestamp_ms":1785551255000,"timestamp_seconds":1785551255,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb25f5d8"} 
[2026-08-01 08:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:03:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 08:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-01 08:03:13] 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-08-01 08:03:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 08:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":145908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":145908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 08:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":145908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 08:03:13] 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-08-01 08:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 08:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 08:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101121024001,"66":13428,"229":206,"85":15104,"24":1,"16":113489343951142912,"45":8809181633765257216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-01 08:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 08:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 08:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101121024001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:03:13] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 08:03:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 08:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113489343951142912,"km_value":113489343951142.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:03:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809181633765257216,"description":"Unknown IO ID 45"} 
[2026-08-01 08:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101121024001,"power":13428,"unknown_229":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8809181633765257216}} 
[2026-08-01 08:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":145908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576388,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:03:13] local.INFO: GPS data processed {"connection_id":145908,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:03:13] local.INFO: Acknowledgment sent {"connection_id":145908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:03:25] local.INFO: TCP Data received {"connection_id":148440,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb2a04e8012d4ac7c006575b70000c014d29..."} 
[2026-08-01 08:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb2a04e8012d4ac7c006575b70000c014d29..."} 
[2026-08-01 08:03:25] local.INFO: Processing buffer {"connection_id":148440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb2a04e8012d4ac7c006575b70000c014d29..."} 
[2026-08-01 08:03:25] local.INFO: Packet analysis {"connection_id":148440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb2a"} 
[2026-08-01 08:03:25] local.INFO: Extracted packet for processing {"connection_id":148440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb2a"} 
[2026-08-01 08:03:25] local.INFO: GPS Element Parsed {"raw_longitude":759875520,"raw_latitude":106388336,"longitude_deg":75.987552,"latitude_deg":10.6388336,"altitude":12,"angle":333,"satellites":41,"speed":56,"hex_longitude":"2d4ac7c0","hex_latitude":"06575b70","is_valid_coordinates":true} 
[2026-08-01 08: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-08-01 08:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101187584001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365768769366130688,"note":"Value kept but may cause issues"} 
[2026-08-01 08:03:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5393130949753552896,"note":"Value kept but may cause issues"} 
[2026-08-01 08:03:25] 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-08-01 08:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785551521000,"timestamp_ms":1785551521000,"timestamp_seconds":1785551521,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb2a04e8"} 
[2026-08-01 08:03:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:03:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 08: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-01 08:03:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 08: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-08-01 08:03:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:03:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101187584001,"66":27767,"76":206,"28":31488,"24":56,"16":365768769366130688,"45":5393130949753552896},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,28,24,16,45]} 
[2026-08-01 08:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101187584001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:03:25] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-08-01 08:03:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-08-01 08:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365768769366130688,"km_value":365768769366130.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:03:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5393130949753552896,"description":"Unknown IO ID 45"} 
[2026-08-01 08:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101187584001,"power":27767,"unknown_76":206,"unknown_28":31488,"ignition":56,"odometer":null,"unknown_45":5393130949753552896}} 
[2026-08-01 08:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":148440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:03:25] local.INFO: GPS data processed {"connection_id":148440,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:03:25] local.INFO: Acknowledgment sent {"connection_id":148440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:03:44] local.INFO: TCP Data received {"connection_id":145909,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:03:44] local.INFO: Processing buffer {"connection_id":145909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:03:44] local.INFO: IMEI packet received {"connection_id":145909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 08:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":145909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 08:03:44] local.INFO: TCP Data received {"connection_id":145908,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb2643f8012d7a408005da75c8000400aa2a..."} 
[2026-08-01 08:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb2643f8012d7a408005da75c8000400aa2a..."} 
[2026-08-01 08:03:44] local.INFO: Processing buffer {"connection_id":145908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb2643f8012d7a408005da75c8000400aa2a..."} 
[2026-08-01 08:03:44] local.INFO: Packet analysis {"connection_id":145908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb26"} 
[2026-08-01 08:03:44] local.INFO: Extracted packet for processing {"connection_id":145908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb26"} 
[2026-08-01 08:03:44] local.INFO: GPS Element Parsed {"raw_longitude":762986624,"raw_latitude":98203080,"longitude_deg":76.2986624,"latitude_deg":9.820308,"altitude":4,"angle":170,"satellites":42,"speed":0,"hex_longitude":"2d7a4080","hex_latitude":"05da75c8","is_valid_coordinates":true} 
[2026-08-01 08:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 08:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101121280001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113489369720946688,"note":"Value kept but may cause issues"} 
[2026-08-01 08:03:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809040896276819968,"note":"Value kept but may cause issues"} 
[2026-08-01 08:03:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 08:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785551275000,"timestamp_ms":1785551275000,"timestamp_seconds":1785551275,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb2643f8"} 
[2026-08-01 08:03:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:03: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-08-01 08:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-01 08:03:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 08:03: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-08-01 08:03:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":145908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":145908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 08:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":145908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 08:03:44] 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-08-01 08:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 08:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 08:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101121280001,"66":13319,"229":206,"85":15104,"24":0,"16":113489369720946688,"45":8809040896276819968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-01 08:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 08:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 08:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101121280001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:03:44] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 08:03:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 08:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113489369720946688,"km_value":113489369720946.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:03:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809040896276819968,"description":"Unknown IO ID 45"} 
[2026-08-01 08:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101121280001,"power":13319,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809040896276819968}} 
[2026-08-01 08:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":145908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576390,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:03:44] local.INFO: GPS data processed {"connection_id":145908,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:03:44] local.INFO: Acknowledgment sent {"connection_id":145908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:03:45] local.INFO: TCP Data received {"connection_id":145909,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:03:45] local.INFO: Processing buffer {"connection_id":145909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:03:45] local.INFO: IMEI packet received {"connection_id":145909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":145909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:03:50] local.INFO: TCP Data received {"connection_id":145909,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:03:50] local.INFO: Processing buffer {"connection_id":145909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:03:50] local.INFO: IMEI packet received {"connection_id":145909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":145909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:03:52] local.INFO: TCP Data received {"connection_id":145909,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb2a2040012d4ab58006577f00000a014d29..."} 
[2026-08-01 08:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb2a2040012d4ab58006577f00000a014d29..."} 
[2026-08-01 08:03:52] local.INFO: Processing buffer {"connection_id":145909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb2a2040012d4ab58006577f00000a014d29..."} 
[2026-08-01 08:03:52] local.INFO: Packet analysis {"connection_id":145909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb2a"} 
[2026-08-01 08:03:52] local.INFO: Extracted packet for processing {"connection_id":145909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb2a"} 
[2026-08-01 08:03:52] local.INFO: GPS Element Parsed {"raw_longitude":759870848,"raw_latitude":106397440,"longitude_deg":75.9870848,"latitude_deg":10.639744,"altitude":10,"angle":333,"satellites":41,"speed":60,"hex_longitude":"2d4ab580","hex_latitude":"06577f00","is_valid_coordinates":true} 
[2026-08-01 08:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 08:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101189376001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365769263287369728,"note":"Value kept but may cause issues"} 
[2026-08-01 08:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5388486612640034816,"note":"Value kept but may cause issues"} 
[2026-08-01 08:03:52] 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-08-01 08:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785551528000,"timestamp_ms":1785551528000,"timestamp_seconds":1785551528,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb2a2040"} 
[2026-08-01 08:03:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:03:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 08:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 08:03:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 08:03:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 08:03:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":145909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":145909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":145909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:03:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101189376001,"66":27767,"76":206,"28":31488,"24":60,"16":365769263287369728,"45":5388486612640034816},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,28,24,16,45]} 
[2026-08-01 08:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101189376001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:03:52] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-08-01 08:03:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-08-01 08:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365769263287369728,"km_value":365769263287369.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":5388486612640034816,"description":"Unknown IO ID 45"} 
[2026-08-01 08:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101189376001,"power":27767,"unknown_76":206,"unknown_28":31488,"ignition":60,"odometer":null,"unknown_45":5388486612640034816}} 
[2026-08-01 08:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":145909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:03:52] local.INFO: GPS data processed {"connection_id":145909,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:03:52] local.INFO: Acknowledgment sent {"connection_id":145909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:04:08] local.INFO: TCP Data received {"connection_id":146105,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 08:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146105,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 08:04:08] local.INFO: Processing buffer {"connection_id":146105,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 08:04:08] local.INFO: IMEI packet received {"connection_id":146105,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 08:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":146105,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 08:04:12] local.INFO: TCP Data received {"connection_id":146105,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 08:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146105,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 08:04:12] local.INFO: Processing buffer {"connection_id":146105,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 08:04:12] local.INFO: IMEI packet received {"connection_id":146105,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 08:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":146105,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:04:13] local.INFO: TCP Data received {"connection_id":146105,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb2647e0012d7a400005da7688000401572a..."} 
[2026-08-01 08:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb2647e0012d7a400005da7688000401572a..."} 
[2026-08-01 08:04:13] local.INFO: Processing buffer {"connection_id":146105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb2647e0012d7a400005da7688000401572a..."} 
[2026-08-01 08:04:13] local.INFO: Packet analysis {"connection_id":146105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb26"} 
[2026-08-01 08:04:13] local.INFO: Extracted packet for processing {"connection_id":146105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb26"} 
[2026-08-01 08:04:13] local.INFO: GPS Element Parsed {"raw_longitude":762986496,"raw_latitude":98203272,"longitude_deg":76.2986496,"latitude_deg":9.8203272,"altitude":4,"angle":343,"satellites":42,"speed":1,"hex_longitude":"2d7a4000","hex_latitude":"05da7688","is_valid_coordinates":true} 
[2026-08-01 08: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-08-01 08:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101126400001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113489378310881280,"note":"Value kept but may cause issues"} 
[2026-08-01 08:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809181633765033984,"note":"Value kept but may cause issues"} 
[2026-08-01 08:04:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 08:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785551276000,"timestamp_ms":1785551276000,"timestamp_seconds":1785551276,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb2647e0"} 
[2026-08-01 08:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:04:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 08: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-01 08:04:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-01 08:04:13] local.WARNING: Large IO value detected {"io_id":49,"raw_value":4043309056,"note":"Value kept but may cause issues"} 
[2026-08-01 08:04:13] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3139758160,"note":"Value kept but may cause issues"} 
[2026-08-01 08:04:13] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-01 08:04:13] local.WARNING: Large IO value detected {"io_id":218,"raw_value":8592868119109184256,"note":"Value kept but may cause issues"} 
[2026-08-01 08:04:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2816803022,"corrected_to":0} 
[2026-08-01 08:04:13] local.WARNING: Large IO value detected {"io_id":251,"raw_value":3623955834,"note":"Value kept but may cause issues"} 
[2026-08-01 08:04:13] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2147867257,"note":"Value kept but may cause issues"} 
[2026-08-01 08:04:13] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137392039,"note":"Value kept but may cause issues"} 
[2026-08-01 08:04:13] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3665299456,"note":"Value kept but may cause issues"} 
[2026-08-01 08:04:13] local.WARNING: Large IO value detected {"io_id":133,"raw_value":57886972228556091,"note":"Value kept but may cause issues"} 
[2026-08-01 08:04:13] local.WARNING: Large IO value detected {"io_id":36,"raw_value":-2832762870779789307,"note":"Value kept but may cause issues"} 
[2026-08-01 08:04:13] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,229,85,24,241,157,16,49,159,245,45,119,4,42,10,66,128,121,6,1,240,62,227,187,218,113,205,251,64,48,43,239,51,2,147,5,7,133,36],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2816803022,"validated":0}]} 
[2026-08-01 08:04:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288417473517060096,"timestamp_seconds":288417473517060.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 08:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":146105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":146105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 08:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":146105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 08:04:13] 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-08-01 08:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 08:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 08:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101126400001,"66":13319,"229":206,"85":15104,"24":1,"16":113489378310881280,"45":8809181633765033984},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-01 08:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 08:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 08:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101126400001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:04:13] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 08:04:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 08:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113489378310881280,"km_value":113489378310881.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809181633765033984,"description":"Unknown IO ID 45"} 
[2026-08-01 08:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101126400001,"power":13319,"unknown_229":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8809181633765033984}} 
[2026-08-01 08:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":146105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576392,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:04:13] local.INFO: GPS data processed {"connection_id":146105,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:04:13] local.INFO: Acknowledgment sent {"connection_id":146105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:04:24] local.INFO: TCP Data received {"connection_id":145909,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb2b54d8012d49ec40065917e00009014c28..."} 
[2026-08-01 08:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb2b54d8012d49ec40065917e00009014c28..."} 
[2026-08-01 08:04:24] local.INFO: Processing buffer {"connection_id":145909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb2b54d8012d49ec40065917e00009014c28..."} 
[2026-08-01 08:04:24] local.INFO: Packet analysis {"connection_id":145909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb2b"} 
[2026-08-01 08:04:24] local.INFO: Extracted packet for processing {"connection_id":145909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb2b"} 
[2026-08-01 08:04:24] local.INFO: GPS Element Parsed {"raw_longitude":759819328,"raw_latitude":106502112,"longitude_deg":75.9819328,"latitude_deg":10.6502112,"altitude":9,"angle":332,"satellites":40,"speed":56,"hex_longitude":"2d49ec40","hex_latitude":"065917e0","is_valid_coordinates":true} 
[2026-08-01 08:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 08:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101209600001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365774902579429376,"note":"Value kept but may cause issues"} 
[2026-08-01 08:04:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5331839773603874816,"note":"Value kept but may cause issues"} 
[2026-08-01 08:04:24] 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-08-01 08:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785551607000,"timestamp_ms":1785551607000,"timestamp_seconds":1785551607,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb2b54d8"} 
[2026-08-01 08:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:04: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-08-01 08:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 08:04:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 08:04:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 08:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":145909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":145909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":145909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:04:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101209600001,"66":27767,"135":206,"28":31488,"24":56,"16":365774902579429376,"45":5331839773603874816},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,28,24,16,45]} 
[2026-08-01 08:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101209600001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:04:24] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-01 08:04:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-08-01 08:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365774902579429376,"km_value":365774902579429.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:04:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5331839773603874816,"description":"Unknown IO ID 45"} 
[2026-08-01 08:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101209600001,"power":27767,"unknown_135":206,"unknown_28":31488,"ignition":56,"odometer":null,"unknown_45":5331839773603874816}} 
[2026-08-01 08:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":145909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:04:24] local.INFO: GPS data processed {"connection_id":145909,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:04:24] local.INFO: Acknowledgment sent {"connection_id":145909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:04:44] local.INFO: TCP Data received {"connection_id":146105,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb266338012d7a400005da77400004015e2a..."} 
[2026-08-01 08:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb266338012d7a400005da77400004015e2a..."} 
[2026-08-01 08:04:44] local.INFO: Processing buffer {"connection_id":146105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb266338012d7a400005da77400004015e2a..."} 
[2026-08-01 08:04:44] local.INFO: Packet analysis {"connection_id":146105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb26"} 
[2026-08-01 08:04:44] local.INFO: Extracted packet for processing {"connection_id":146105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb26"} 
[2026-08-01 08:04:44] local.INFO: GPS Element Parsed {"raw_longitude":762986496,"raw_latitude":98203456,"longitude_deg":76.2986496,"latitude_deg":9.8203456,"altitude":4,"angle":350,"satellites":42,"speed":0,"hex_longitude":"2d7a4000","hex_latitude":"05da7740","is_valid_coordinates":true} 
[2026-08-01 08:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 08:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101126656001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113489386900815872,"note":"Value kept but may cause issues"} 
[2026-08-01 08:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809040896276727808,"note":"Value kept but may cause issues"} 
[2026-08-01 08:04:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 08:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785551283000,"timestamp_ms":1785551283000,"timestamp_seconds":1785551283,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb266338"} 
[2026-08-01 08:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:04: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-08-01 08: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-01 08:04:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-01 08:04:44] local.WARNING: Large IO value detected {"io_id":49,"raw_value":4043309056,"note":"Value kept but may cause issues"} 
[2026-08-01 08:04:44] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3139763160,"note":"Value kept but may cause issues"} 
[2026-08-01 08:04:44] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-01 08:04:44] local.WARNING: Large IO value detected {"io_id":187,"raw_value":57886972228556091,"note":"Value kept but may cause issues"} 
[2026-08-01 08:04:44] local.WARNING: Large IO value detected {"io_id":218,"raw_value":8649163114452888320,"note":"Value kept but may cause issues"} 
[2026-08-01 08:04:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2816803022,"corrected_to":0} 
[2026-08-01 08:04:44] local.WARNING: Large IO value detected {"io_id":77,"raw_value":3758173562,"note":"Value kept but may cause issues"} 
[2026-08-01 08:04:44] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2147867257,"note":"Value kept but may cause issues"} 
[2026-08-01 08:04:44] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3665375232,"note":"Value kept but may cause issues"} 
[2026-08-01 08:04:44] local.WARNING: Large IO value detected {"io_id":36,"raw_value":-1706862963937198075,"note":"Value kept but may cause issues"} 
[2026-08-01 08:04:44] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,229,85,24,241,157,16,49,159,67,45,128,117,4,42,10,66,245,119,1,240,116,227,187,218,113,205,77,64,48,41,239,52,2,147,5,6,36],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2816803022,"validated":0}]} 
[2026-08-01 08:04:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288607689028730880,"timestamp_seconds":288607689028730.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 08:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":146105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":146105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 08:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":146105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 08:04:44] 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-08-01 08:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 08:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 08:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101126656001,"66":13352,"229":206,"85":15104,"24":0,"16":113489386900815872,"45":8809040896276727808},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-01 08:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 08:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 08:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101126656001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:04:44] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 08:04:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 08:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113489386900815872,"km_value":113489386900815.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809040896276727808,"description":"Unknown IO ID 45"} 
[2026-08-01 08:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101126656001,"power":13352,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809040896276727808}} 
[2026-08-01 08:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":146105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576394,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:04:44] local.INFO: GPS data processed {"connection_id":146105,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:04:44] local.INFO: Acknowledgment sent {"connection_id":146105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:05:07] local.INFO: TCP Data received {"connection_id":146106,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 08:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146106,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 08:05:07] local.INFO: Processing buffer {"connection_id":146106,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 08:05:07] local.INFO: IMEI packet received {"connection_id":146106,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 08:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":146106,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 08:05:12] local.INFO: TCP Data received {"connection_id":146106,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 08:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146106,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 08:05:12] local.INFO: Processing buffer {"connection_id":146106,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 08:05:12] local.INFO: IMEI packet received {"connection_id":146106,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 08:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":146106,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:05:13] local.INFO: TCP Data received {"connection_id":146106,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb266338012d7a400005da77400004015e2a..."} 
[2026-08-01 08:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb266338012d7a400005da77400004015e2a..."} 
[2026-08-01 08:05:13] local.INFO: Processing buffer {"connection_id":146106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb266338012d7a400005da77400004015e2a..."} 
[2026-08-01 08:05:13] local.INFO: Packet analysis {"connection_id":146106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb26"} 
[2026-08-01 08:05:13] local.INFO: Extracted packet for processing {"connection_id":146106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb26"} 
[2026-08-01 08:05:13] local.INFO: GPS Element Parsed {"raw_longitude":762986496,"raw_latitude":98203456,"longitude_deg":76.2986496,"latitude_deg":9.8203456,"altitude":4,"angle":350,"satellites":42,"speed":0,"hex_longitude":"2d7a4000","hex_latitude":"05da7740","is_valid_coordinates":true} 
[2026-08-01 08:05:13] 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-08-01 08:05:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101128448001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:05:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113489386900815872,"note":"Value kept but may cause issues"} 
[2026-08-01 08:05:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809040896276774912,"note":"Value kept but may cause issues"} 
[2026-08-01 08:05:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 08:05:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785551283000,"timestamp_ms":1785551283000,"timestamp_seconds":1785551283,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb266338"} 
[2026-08-01 08:05:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:05:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 08:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-01 08:05:13] 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-08-01 08:05:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 08:05:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:05:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":146106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":146106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 08:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":146106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 08:05:13] 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-08-01 08:05:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 08:05:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 08:05:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101128448001,"66":13352,"229":206,"85":15104,"24":0,"16":113489386900815872,"45":8809040896276774912},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-01 08:05:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 08:05:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 08:05:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101128448001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:05:13] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 08:05:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 08:05:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113489386900815872,"km_value":113489386900815.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:05:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809040896276774912,"description":"Unknown IO ID 45"} 
[2026-08-01 08:05:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101128448001,"power":13352,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809040896276774912}} 
[2026-08-01 08:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":146106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576395,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:05:13] local.INFO: GPS data processed {"connection_id":146106,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:05:13] local.INFO: Acknowledgment sent {"connection_id":146106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:05:19] local.INFO: TCP Data received {"connection_id":148441,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:05:19] local.INFO: Processing buffer {"connection_id":148441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:05:19] local.INFO: IMEI packet received {"connection_id":148441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 08:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":148441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 08:05:23] local.INFO: TCP Data received {"connection_id":148441,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:05:23] local.INFO: Processing buffer {"connection_id":148441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:05:23] local.INFO: IMEI packet received {"connection_id":148441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:05:23] local.INFO: IMEI acknowledgment sent {"connection_id":148441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:05:25] local.INFO: TCP Data received {"connection_id":148441,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb2b7030012d49da0006593a000009014c29..."} 
[2026-08-01 08:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb2b7030012d49da0006593a000009014c29..."} 
[2026-08-01 08:05:25] local.INFO: Processing buffer {"connection_id":148441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb2b7030012d49da0006593a000009014c29..."} 
[2026-08-01 08:05:25] local.INFO: Packet analysis {"connection_id":148441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb2b"} 
[2026-08-01 08:05:25] local.INFO: Extracted packet for processing {"connection_id":148441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb2b"} 
[2026-08-01 08:05:25] local.INFO: GPS Element Parsed {"raw_longitude":759814656,"raw_latitude":106510848,"longitude_deg":75.9814656,"latitude_deg":10.6510848,"altitude":9,"angle":332,"satellites":41,"speed":55,"hex_longitude":"2d49da00","hex_latitude":"06593a00","is_valid_coordinates":true} 
[2026-08-01 08:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 08:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101211392001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365775383615766528,"note":"Value kept but may cause issues"} 
[2026-08-01 08:05:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5326702855281172480,"note":"Value kept but may cause issues"} 
[2026-08-01 08:05:25] 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-08-01 08:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785551614000,"timestamp_ms":1785551614000,"timestamp_seconds":1785551614,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb2b7030"} 
[2026-08-01 08:05:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:05:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 08:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 08:05:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 08:05:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 08:05:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:05:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101211392001,"66":27865,"135":206,"28":31488,"24":55,"16":365775383615766528,"45":5326702855281172480},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,28,24,16,45]} 
[2026-08-01 08:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101211392001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:05:25] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-01 08:05:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-08-01 08:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365775383615766528,"km_value":365775383615766.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:05:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5326702855281172480,"description":"Unknown IO ID 45"} 
[2026-08-01 08:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101211392001,"power":27865,"unknown_135":206,"unknown_28":31488,"ignition":55,"odometer":null,"unknown_45":5326702855281172480}} 
[2026-08-01 08:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":148441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:05:25] local.INFO: GPS data processed {"connection_id":148441,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:05:25] local.INFO: Acknowledgment sent {"connection_id":148441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:05:44] local.INFO: TCP Data received {"connection_id":146106,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb268a48012d7a400005da77400004015e2a..."} 
[2026-08-01 08:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb268a48012d7a400005da77400004015e2a..."} 
[2026-08-01 08:05:44] local.INFO: Processing buffer {"connection_id":146106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb268a48012d7a400005da77400004015e2a..."} 
[2026-08-01 08:05:44] local.INFO: Packet analysis {"connection_id":146106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb26"} 
[2026-08-01 08:05:44] local.INFO: Extracted packet for processing {"connection_id":146106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb26"} 
[2026-08-01 08:05:44] local.INFO: GPS Element Parsed {"raw_longitude":762986496,"raw_latitude":98203456,"longitude_deg":76.2986496,"latitude_deg":9.8203456,"altitude":4,"angle":350,"satellites":42,"speed":0,"hex_longitude":"2d7a4000","hex_latitude":"05da7740","is_valid_coordinates":true} 
[2026-08-01 08:05: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-08-01 08:05:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101128448001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:05:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113489386900815872,"note":"Value kept but may cause issues"} 
[2026-08-01 08:05:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809040896276774912,"note":"Value kept but may cause issues"} 
[2026-08-01 08:05:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 08:05:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785551293000,"timestamp_ms":1785551293000,"timestamp_seconds":1785551293,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb268a48"} 
[2026-08-01 08:05:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:05:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 08: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-01 08:05:44] 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-08-01 08: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-08-01 08:05:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:05:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:05:44] local.INFO: Teltonika packet parsed successfully {"connection_id":146106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:05:44] local.INFO: Passing IMEI to GPS processor {"connection_id":146106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 08:05:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":146106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 08:05:44] 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-08-01 08:05:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 08:05:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 08:05:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101128448001,"66":5242,"229":206,"85":15104,"24":0,"16":113489386900815872,"45":8809040896276774912},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-01 08:05:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 08:05:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 08:05:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101128448001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:05:44] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 08:05:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 08:05:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113489386900815872,"km_value":113489386900815.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:05:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809040896276774912,"description":"Unknown IO ID 45"} 
[2026-08-01 08:05:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101128448001,"power":5242,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809040896276774912}} 
[2026-08-01 08:05:44] local.INFO: DEBUG: GPS processor result {"connection_id":146106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576397,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:05:44] local.INFO: GPS data processed {"connection_id":146106,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:05:44] local.INFO: Acknowledgment sent {"connection_id":146106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:05:50] local.INFO: TCP Data received {"connection_id":145910,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:05:50] local.INFO: Processing buffer {"connection_id":145910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:05:50] local.INFO: IMEI packet received {"connection_id":145910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 08:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":145910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 08:05:51] local.INFO: TCP Data received {"connection_id":145910,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:05:51] local.INFO: Processing buffer {"connection_id":145910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:05:51] local.INFO: IMEI packet received {"connection_id":145910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":145910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:05:55] local.INFO: TCP Data received {"connection_id":145910,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:05:55] local.INFO: Processing buffer {"connection_id":145910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:05:55] local.INFO: IMEI packet received {"connection_id":145910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":145910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:05:57] local.INFO: TCP Data received {"connection_id":145910,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb2ca0e0012d494380065a85d8000801632a..."} 
[2026-08-01 08:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb2ca0e0012d494380065a85d8000801632a..."} 
[2026-08-01 08:05:57] local.INFO: Processing buffer {"connection_id":145910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb2ca0e0012d494380065a85d8000801632a..."} 
[2026-08-01 08:05:57] local.INFO: Packet analysis {"connection_id":145910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb2c"} 
[2026-08-01 08:05:57] local.INFO: Extracted packet for processing {"connection_id":145910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb2c"} 
[2026-08-01 08:05:57] local.INFO: GPS Element Parsed {"raw_longitude":759776128,"raw_latitude":106595800,"longitude_deg":75.9776128,"latitude_deg":10.65958,"altitude":8,"angle":355,"satellites":42,"speed":56,"hex_longitude":"2d494380","hex_latitude":"065a85d8","is_valid_coordinates":true} 
[2026-08-01 08:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 08:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101231360001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:05:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365779953460969472,"note":"Value kept but may cause issues"} 
[2026-08-01 08:05:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5279978009168619520,"note":"Value kept but may cause issues"} 
[2026-08-01 08:05:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 08:05:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785551692000,"timestamp_ms":1785551692000,"timestamp_seconds":1785551692,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb2ca0e0"} 
[2026-08-01 08:05:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:05:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 08:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 08:05:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 08:05:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 08:05:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:05:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":145910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":145910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":145910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:05:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101231360001,"66":27767,"51":206,"28":31488,"24":56,"16":365779953460969472,"45":5279978009168619520},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,28,24,16,45]} 
[2026-08-01 08:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101231360001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:05:58] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-08-01 08:05:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-08-01 08:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365779953460969472,"km_value":365779953460969.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:05:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5279978009168619520,"description":"Unknown IO ID 45"} 
[2026-08-01 08:05:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101231360001,"power":27767,"unknown_51":206,"unknown_28":31488,"ignition":56,"odometer":null,"unknown_45":5279978009168619520}} 
[2026-08-01 08:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":145910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:05:58] local.INFO: GPS data processed {"connection_id":145910,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:05:58] local.INFO: Acknowledgment sent {"connection_id":145910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:06:12] local.INFO: TCP Data received {"connection_id":146107,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 08:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146107,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 08:06:12] local.INFO: Processing buffer {"connection_id":146107,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 08:06:12] local.INFO: IMEI packet received {"connection_id":146107,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 08:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":146107,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 08:06:17] local.INFO: TCP Data received {"connection_id":146107,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 08:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146107,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 08:06:17] local.INFO: Processing buffer {"connection_id":146107,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 08:06:17] local.INFO: IMEI packet received {"connection_id":146107,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 08:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":146107,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:06:18] local.INFO: TCP Data received {"connection_id":146107,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb268a48012d7a400005da77400004015e2a..."} 
[2026-08-01 08:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb268a48012d7a400005da77400004015e2a..."} 
[2026-08-01 08:06:18] local.INFO: Processing buffer {"connection_id":146107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb268a48012d7a400005da77400004015e2a..."} 
[2026-08-01 08:06:18] local.INFO: Packet analysis {"connection_id":146107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb26"} 
[2026-08-01 08:06:18] local.INFO: Extracted packet for processing {"connection_id":146107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb26"} 
[2026-08-01 08:06:18] local.INFO: GPS Element Parsed {"raw_longitude":762986496,"raw_latitude":98203456,"longitude_deg":76.2986496,"latitude_deg":9.8203456,"altitude":4,"angle":350,"satellites":42,"speed":0,"hex_longitude":"2d7a4000","hex_latitude":"05da7740","is_valid_coordinates":true} 
[2026-08-01 08:06: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-08-01 08:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101131008001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113489386900815872,"note":"Value kept but may cause issues"} 
[2026-08-01 08:06:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809040896276774912,"note":"Value kept but may cause issues"} 
[2026-08-01 08:06:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 08:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785551293000,"timestamp_ms":1785551293000,"timestamp_seconds":1785551293,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb268a48"} 
[2026-08-01 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-08-01 08:06:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 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":20,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-01 08:06:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1396,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 08:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":146107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":146107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 08:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":146107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 08:06: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-08-01 08:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 08:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 08:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101131008001,"66":5242,"229":206,"85":15104,"24":0,"16":113489386900815872,"45":8809040896276774912},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-01 08:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 08:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 08:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101131008001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:06:18] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 08:06:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 08:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113489386900815872,"km_value":113489386900815.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:06:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809040896276774912,"description":"Unknown IO ID 45"} 
[2026-08-01 08:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101131008001,"power":5242,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809040896276774912}} 
[2026-08-01 08:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":146107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576399,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:06:18] local.INFO: GPS data processed {"connection_id":146107,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:06:18] local.INFO: Acknowledgment sent {"connection_id":146107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:06:29] local.INFO: TCP Data received {"connection_id":145910,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb2cbc38012d494080065aabc00008016229..."} 
[2026-08-01 08:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb2cbc38012d494080065aabc00008016229..."} 
[2026-08-01 08:06:29] local.INFO: Processing buffer {"connection_id":145910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb2cbc38012d494080065aabc00008016229..."} 
[2026-08-01 08:06:29] local.INFO: Packet analysis {"connection_id":145910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb2c"} 
[2026-08-01 08:06:29] local.INFO: Extracted packet for processing {"connection_id":145910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb2c"} 
[2026-08-01 08:06:29] local.INFO: GPS Element Parsed {"raw_longitude":759775360,"raw_latitude":106605504,"longitude_deg":75.977536,"latitude_deg":10.6605504,"altitude":8,"angle":354,"satellites":41,"speed":54,"hex_longitude":"2d494080","hex_latitude":"065aabc0","is_valid_coordinates":true} 
[2026-08-01 08: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-08-01 08:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101233152001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365780425907372032,"note":"Value kept but may cause issues"} 
[2026-08-01 08:06:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5279203952985233408,"note":"Value kept but may cause issues"} 
[2026-08-01 08:06:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 08:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785551699000,"timestamp_ms":1785551699000,"timestamp_seconds":1785551699,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb2cbc38"} 
[2026-08-01 08:06:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:06:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 08:06: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-08-01 08: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-08-01 08:06:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":145910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":145910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":145910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:06:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101233152001,"66":27843,"51":206,"28":31488,"24":54,"16":365780425907372032,"45":5279203952985233408},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,28,24,16,45]} 
[2026-08-01 08:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101233152001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:06:29] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-08-01 08:06:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-08-01 08:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365780425907372032,"km_value":365780425907372.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:06:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5279203952985233408,"description":"Unknown IO ID 45"} 
[2026-08-01 08:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101233152001,"power":27843,"unknown_51":206,"unknown_28":31488,"ignition":54,"odometer":null,"unknown_45":5279203952985233408}} 
[2026-08-01 08:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":145910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:06:29] local.INFO: GPS data processed {"connection_id":145910,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:06:29] local.INFO: Acknowledgment sent {"connection_id":145910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:06:45] local.INFO: TCP Data received {"connection_id":148442,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:06:45] local.INFO: Processing buffer {"connection_id":148442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:06:45] local.INFO: IMEI packet received {"connection_id":148442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 08:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":148442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 08:06:49] local.INFO: TCP Data received {"connection_id":146107,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb268a48012d7a400005da77400004015e2a..."} 
[2026-08-01 08:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb268a48012d7a400005da77400004015e2a..."} 
[2026-08-01 08:06:49] local.INFO: Processing buffer {"connection_id":146107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb268a48012d7a400005da77400004015e2a..."} 
[2026-08-01 08:06:49] local.INFO: Packet analysis {"connection_id":146107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb26"} 
[2026-08-01 08:06:49] local.INFO: Extracted packet for processing {"connection_id":146107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb26"} 
[2026-08-01 08:06:49] local.INFO: GPS Element Parsed {"raw_longitude":762986496,"raw_latitude":98203456,"longitude_deg":76.2986496,"latitude_deg":9.8203456,"altitude":4,"angle":350,"satellites":42,"speed":0,"hex_longitude":"2d7a4000","hex_latitude":"05da7740","is_valid_coordinates":true} 
[2026-08-01 08:06: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-08-01 08:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101131008001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113489386900815872,"note":"Value kept but may cause issues"} 
[2026-08-01 08:06:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809040896276774912,"note":"Value kept but may cause issues"} 
[2026-08-01 08:06:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 08:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785551293000,"timestamp_ms":1785551293000,"timestamp_seconds":1785551293,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb268a48"} 
[2026-08-01 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-08-01 08:06:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 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":20,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-01 08:06:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1396,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 08:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 08:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 08:06: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-08-01 08:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 08:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 08:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101131008001,"66":5242,"229":206,"85":15104,"24":0,"16":113489386900815872,"45":8809040896276774912},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-01 08:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 08:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 08:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101131008001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:06:49] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 08:06:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 08:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113489386900815872,"km_value":113489386900815.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:06:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809040896276774912,"description":"Unknown IO ID 45"} 
[2026-08-01 08:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101131008001,"power":5242,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809040896276774912}} 
[2026-08-01 08:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":146107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576401,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:06:49] local.INFO: GPS data processed {"connection_id":146107,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:06:49] local.INFO: Acknowledgment sent {"connection_id":146107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:06:50] local.INFO: TCP Data received {"connection_id":148442,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:06:50] local.INFO: Processing buffer {"connection_id":148442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:06:50] local.INFO: IMEI packet received {"connection_id":148442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":148442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:06:51] local.INFO: TCP Data received {"connection_id":148442,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb2cd790012d493a40065acf880008015c29..."} 
[2026-08-01 08:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb2cd790012d493a40065acf880008015c29..."} 
[2026-08-01 08:06:51] local.INFO: Processing buffer {"connection_id":148442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb2cd790012d493a40065acf880008015c29..."} 
[2026-08-01 08:06:51] local.INFO: Packet analysis {"connection_id":148442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb2c"} 
[2026-08-01 08:06:51] local.INFO: Extracted packet for processing {"connection_id":148442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb2c"} 
[2026-08-01 08:06:51] local.INFO: GPS Element Parsed {"raw_longitude":759773760,"raw_latitude":106614664,"longitude_deg":75.977376,"latitude_deg":10.6614664,"altitude":8,"angle":348,"satellites":41,"speed":53,"hex_longitude":"2d493a40","hex_latitude":"065acf88","is_valid_coordinates":true} 
[2026-08-01 08:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 08:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101234944001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365780876878938112,"note":"Value kept but may cause issues"} 
[2026-08-01 08:06:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5278359528057585664,"note":"Value kept but may cause issues"} 
[2026-08-01 08:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 08:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785551706000,"timestamp_ms":1785551706000,"timestamp_seconds":1785551706,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb2cd790"} 
[2026-08-01 08:06:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:06:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 08:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 08:06:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 08:06:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 08:06:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101234944001,"66":27745,"51":206,"28":31488,"24":53,"16":365780876878938112,"45":5278359528057585664},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,28,24,16,45]} 
[2026-08-01 08:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101234944001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:06:51] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-08-01 08:06:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-08-01 08:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365780876878938112,"km_value":365780876878938.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:06:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5278359528057585664,"description":"Unknown IO ID 45"} 
[2026-08-01 08:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101234944001,"power":27745,"unknown_51":206,"unknown_28":31488,"ignition":53,"odometer":null,"unknown_45":5278359528057585664}} 
[2026-08-01 08:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":148442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:06:51] local.INFO: GPS data processed {"connection_id":148442,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:06:51] local.INFO: Acknowledgment sent {"connection_id":148442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:07:07] local.INFO: TCP Data received {"connection_id":147124,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 08:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147124,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 08:07:07] local.INFO: Processing buffer {"connection_id":147124,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 08:07:07] local.INFO: IMEI packet received {"connection_id":147124,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 08:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":147124,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 08:07:12] local.INFO: TCP Data received {"connection_id":147124,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 08:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147124,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 08:07:12] local.INFO: Processing buffer {"connection_id":147124,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 08:07:12] local.INFO: IMEI packet received {"connection_id":147124,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 08:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":147124,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:07:13] local.INFO: TCP Data received {"connection_id":147124,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb268a48012d7a400005da77400004015e2a..."} 
[2026-08-01 08:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb268a48012d7a400005da77400004015e2a..."} 
[2026-08-01 08:07:13] local.INFO: Processing buffer {"connection_id":147124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb268a48012d7a400005da77400004015e2a..."} 
[2026-08-01 08:07:13] local.INFO: Packet analysis {"connection_id":147124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb26"} 
[2026-08-01 08:07:13] local.INFO: Extracted packet for processing {"connection_id":147124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb26"} 
[2026-08-01 08:07:13] local.INFO: GPS Element Parsed {"raw_longitude":762986496,"raw_latitude":98203456,"longitude_deg":76.2986496,"latitude_deg":9.8203456,"altitude":4,"angle":350,"satellites":42,"speed":0,"hex_longitude":"2d7a4000","hex_latitude":"05da7740","is_valid_coordinates":true} 
[2026-08-01 08:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 08:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101131008001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113489386900815872,"note":"Value kept but may cause issues"} 
[2026-08-01 08:07:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809040896276774912,"note":"Value kept but may cause issues"} 
[2026-08-01 08:07:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 08:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785551293000,"timestamp_ms":1785551293000,"timestamp_seconds":1785551293,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb268a48"} 
[2026-08-01 08:07:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:07:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 08:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-01 08:07:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1396,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 08:07:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 08:07:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":147124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":147124,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 08:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":147124,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 08:07:13] 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-08-01 08:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 08:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 08:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101131008001,"66":5242,"229":206,"85":15104,"24":0,"16":113489386900815872,"45":8809040896276774912},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-01 08:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 08:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 08:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101131008001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:07:13] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 08:07:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 08:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113489386900815872,"km_value":113489386900815.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:07:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809040896276774912,"description":"Unknown IO ID 45"} 
[2026-08-01 08:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101131008001,"power":5242,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809040896276774912}} 
[2026-08-01 08:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":147124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576403,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:07:13] local.INFO: GPS data processed {"connection_id":147124,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:07:13] local.INFO: Acknowledgment sent {"connection_id":147124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:07:23] local.INFO: TCP Data received {"connection_id":148442,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb2e17e0012d486240065c27c80009014b29..."} 
[2026-08-01 08:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb2e17e0012d486240065c27c80009014b29..."} 
[2026-08-01 08:07:23] local.INFO: Processing buffer {"connection_id":148442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb2e17e0012d486240065c27c80009014b29..."} 
[2026-08-01 08:07:23] local.INFO: Packet analysis {"connection_id":148442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb2e"} 
[2026-08-01 08:07:23] local.INFO: Extracted packet for processing {"connection_id":148442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb2e"} 
[2026-08-01 08:07:23] local.INFO: GPS Element Parsed {"raw_longitude":759718464,"raw_latitude":106702792,"longitude_deg":75.9718464,"latitude_deg":10.6702792,"altitude":9,"angle":331,"satellites":41,"speed":47,"hex_longitude":"2d486240","hex_latitude":"065c27c8","is_valid_coordinates":true} 
[2026-08-01 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-08-01 08:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101255680001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365785936350412800,"note":"Value kept but may cause issues"} 
[2026-08-01 08:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5221571951529025536,"note":"Value kept but may cause issues"} 
[2026-08-01 08:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 08:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785551788000,"timestamp_ms":1785551788000,"timestamp_seconds":1785551788,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb2e17e0"} 
[2026-08-01 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-08-01 08:07:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 08:07:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 08:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":148442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":148442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":148442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:07:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101255680001,"66":27800,"51":206,"28":31488,"24":47,"16":365785936350412800,"45":5221571951529025536},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,28,24,16,45]} 
[2026-08-01 08:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101255680001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:07:23] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-08-01 08:07:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-08-01 08:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365785936350412800,"km_value":365785936350412.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5221571951529025536,"description":"Unknown IO ID 45"} 
[2026-08-01 08:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101255680001,"power":27800,"unknown_51":206,"unknown_28":31488,"ignition":47,"odometer":null,"unknown_45":5221571951529025536}} 
[2026-08-01 08:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":148442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:07:23] local.INFO: GPS data processed {"connection_id":148442,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:07:23] local.INFO: Acknowledgment sent {"connection_id":148442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:07:44] local.INFO: TCP Data received {"connection_id":147124,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb2f2180012d7a400005da77500004015e2a..."} 
[2026-08-01 08:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb2f2180012d7a400005da77500004015e2a..."} 
[2026-08-01 08:07:44] local.INFO: Processing buffer {"connection_id":147124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb2f2180012d7a400005da77500004015e2a..."} 
[2026-08-01 08:07:44] local.INFO: Packet analysis {"connection_id":147124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb2f"} 
[2026-08-01 08:07:44] local.INFO: Extracted packet for processing {"connection_id":147124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb2f"} 
[2026-08-01 08:07:44] local.INFO: GPS Element Parsed {"raw_longitude":762986496,"raw_latitude":98203472,"longitude_deg":76.2986496,"latitude_deg":9.8203472,"altitude":4,"angle":350,"satellites":42,"speed":0,"hex_longitude":"2d7a4000","hex_latitude":"05da7750","is_valid_coordinates":true} 
[2026-08-01 08:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 08:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101131008001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113489386900815872,"note":"Value kept but may cause issues"} 
[2026-08-01 08:07:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809040896276774912,"note":"Value kept but may cause issues"} 
[2026-08-01 08:07:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 08:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785551856000,"timestamp_ms":1785551856000,"timestamp_seconds":1785551856,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb2f2180"} 
[2026-08-01 08:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:07:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 08:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-01 08:07:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1396,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 08:07:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 08:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":147124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":147124,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 08:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":147124,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 08:07:44] 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-08-01 08:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 08:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 08:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101131008001,"66":2231,"229":206,"85":15104,"24":0,"16":113489386900815872,"45":8809040896276774912},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-01 08:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 08:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 08:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101131008001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:07:44] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 08:07:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 08:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113489386900815872,"km_value":113489386900815.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:07:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809040896276774912,"description":"Unknown IO ID 45"} 
[2026-08-01 08:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101131008001,"power":2231,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809040896276774912}} 
[2026-08-01 08:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":147124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576405,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:07:44] local.INFO: GPS data processed {"connection_id":147124,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:07:44] local.INFO: Acknowledgment sent {"connection_id":147124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:07:44] local.INFO: TCP Data received {"connection_id":145911,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:07:44] local.INFO: Processing buffer {"connection_id":145911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:07:44] local.INFO: IMEI packet received {"connection_id":145911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 08:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":145911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 08:07:50] local.INFO: TCP Data received {"connection_id":145911,"ip":"117.225.183.89","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:07:50] local.INFO: Processing buffer {"connection_id":145911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:07:50] local.INFO: IMEI packet received {"connection_id":145911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":145911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:07:51] local.INFO: TCP Data received {"connection_id":145911,"ip":"117.225.183.89","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb2e3720012d485300065c4ac0000a015529..."} 
[2026-08-01 08:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb2e3720012d485300065c4ac0000a015529..."} 
[2026-08-01 08:07:51] local.INFO: Processing buffer {"connection_id":145911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb2e3720012d485300065c4ac0000a015529..."} 
[2026-08-01 08:07:51] local.INFO: Packet analysis {"connection_id":145911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb2e"} 
[2026-08-01 08:07:51] local.INFO: Extracted packet for processing {"connection_id":145911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb2e"} 
[2026-08-01 08:07:51] local.INFO: GPS Element Parsed {"raw_longitude":759714560,"raw_latitude":106711744,"longitude_deg":75.971456,"latitude_deg":10.6711744,"altitude":10,"angle":341,"satellites":41,"speed":49,"hex_longitude":"2d485300","hex_latitude":"065c4ac0","is_valid_coordinates":true} 
[2026-08-01 08:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 08:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101257728001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365786408796815360,"note":"Value kept but may cause issues"} 
[2026-08-01 08:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5215801714508548096,"note":"Value kept but may cause issues"} 
[2026-08-01 08:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 08:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785551796000,"timestamp_ms":1785551796000,"timestamp_seconds":1785551796,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb2e3720"} 
[2026-08-01 08:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 08:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 08:07:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 08:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 08:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":145911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":145911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":145911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.89","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101257728001,"66":27876,"51":206,"28":31488,"24":49,"16":365786408796815360,"45":5215801714508548096},"client_ip":"117.225.183.89","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,28,24,16,45]} 
[2026-08-01 08:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101257728001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:07:51] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-08-01 08:07:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-08-01 08:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365786408796815360,"km_value":365786408796815.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5215801714508548096,"description":"Unknown IO ID 45"} 
[2026-08-01 08:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101257728001,"power":27876,"unknown_51":206,"unknown_28":31488,"ignition":49,"odometer":null,"unknown_45":5215801714508548096}} 
[2026-08-01 08:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":145911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:07:51] local.INFO: GPS data processed {"connection_id":145911,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:07:51] local.INFO: Acknowledgment sent {"connection_id":145911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:08:08] local.INFO: TCP Data received {"connection_id":145912,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 08:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145912,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 08:08:08] local.INFO: Processing buffer {"connection_id":145912,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 08:08:08] local.INFO: IMEI packet received {"connection_id":145912,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 08:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":145912,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 08:08:12] local.INFO: TCP Data received {"connection_id":145912,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 08:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145912,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 08:08:12] local.INFO: Processing buffer {"connection_id":145912,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 08:08:12] local.INFO: IMEI packet received {"connection_id":145912,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 08:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":145912,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:08:13] local.INFO: TCP Data received {"connection_id":145912,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb2f2180012d7a400005da77500004015e2a..."} 
[2026-08-01 08:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb2f2180012d7a400005da77500004015e2a..."} 
[2026-08-01 08:08:13] local.INFO: Processing buffer {"connection_id":145912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb2f2180012d7a400005da77500004015e2a..."} 
[2026-08-01 08:08:13] local.INFO: Packet analysis {"connection_id":145912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb2f"} 
[2026-08-01 08:08:13] local.INFO: Extracted packet for processing {"connection_id":145912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb2f"} 
[2026-08-01 08:08:13] local.INFO: GPS Element Parsed {"raw_longitude":762986496,"raw_latitude":98203472,"longitude_deg":76.2986496,"latitude_deg":9.8203472,"altitude":4,"angle":350,"satellites":42,"speed":0,"hex_longitude":"2d7a4000","hex_latitude":"05da7750","is_valid_coordinates":true} 
[2026-08-01 08:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 08:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101131008001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113489386900815872,"note":"Value kept but may cause issues"} 
[2026-08-01 08:08:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809040896276774912,"note":"Value kept but may cause issues"} 
[2026-08-01 08:08:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 08:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785551856000,"timestamp_ms":1785551856000,"timestamp_seconds":1785551856,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb2f2180"} 
[2026-08-01 08:08:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:08:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 08:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-01 08:08:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1396,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 08:08:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 08:08:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":145912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":145912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 08:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":145912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 08:08:13] 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-08-01 08:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 08:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 08:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101131008001,"66":2231,"229":206,"85":15104,"24":0,"16":113489386900815872,"45":8809040896276774912},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-01 08:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 08:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 08:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101131008001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:08:13] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 08:08:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 08:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113489386900815872,"km_value":113489386900815.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:08:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809040896276774912,"description":"Unknown IO ID 45"} 
[2026-08-01 08:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101131008001,"power":2231,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809040896276774912}} 
[2026-08-01 08:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":145912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576407,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:08:13] local.INFO: GPS data processed {"connection_id":145912,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:08:13] local.INFO: Acknowledgment sent {"connection_id":145912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:09:55] local.INFO: TCP Data received {"connection_id":147125,"ip":"117.225.149.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:09:55] local.INFO: Processing buffer {"connection_id":147125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:09:55] local.INFO: IMEI packet received {"connection_id":147125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 08:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":147125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 08:10:01] local.INFO: TCP Data received {"connection_id":147125,"ip":"117.225.149.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:10:01] local.INFO: Processing buffer {"connection_id":147125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:10:01] local.INFO: IMEI packet received {"connection_id":147125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":147125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:10:06] local.INFO: TCP Data received {"connection_id":147125,"ip":"117.225.149.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb2fa268012d47b400065decb80009014f2a..."} 
[2026-08-01 08:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb2fa268012d47b400065decb80009014f2a..."} 
[2026-08-01 08:10:06] local.INFO: Processing buffer {"connection_id":147125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb2fa268012d47b400065decb80009014f2a..."} 
[2026-08-01 08:10:06] local.INFO: Packet analysis {"connection_id":147125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb2f"} 
[2026-08-01 08:10:06] local.INFO: Extracted packet for processing {"connection_id":147125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb2f"} 
[2026-08-01 08:10:06] local.INFO: GPS Element Parsed {"raw_longitude":759673856,"raw_latitude":106818744,"longitude_deg":75.9673856,"latitude_deg":10.6818744,"altitude":9,"angle":335,"satellites":42,"speed":57,"hex_longitude":"2d47b400","hex_latitude":"065decb8","is_valid_coordinates":true} 
[2026-08-01 08:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 08:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101281792001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365791970779463680,"note":"Value kept but may cause issues"} 
[2026-08-01 08:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5171539774448152576,"note":"Value kept but may cause issues"} 
[2026-08-01 08:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 08:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785551889000,"timestamp_ms":1785551889000,"timestamp_seconds":1785551889,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb2fa268"} 
[2026-08-01 08:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:10: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-08-01 08:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-01 08:10: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-08-01 08:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 08:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.149.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101281792001,"66":27832,"168":206,"18":6656,"24":57,"16":365791970779463680,"45":5171539774448152576},"client_ip":"117.225.149.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,18,24,16,45]} 
[2026-08-01 08:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101281792001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:10:06] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-01 08:10:06] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-08-01 08:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365791970779463680,"km_value":365791970779463.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5171539774448152576,"description":"Unknown IO ID 45"} 
[2026-08-01 08:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101281792001,"power":27832,"unknown_168":206,"unknown_18":6656,"ignition":57,"odometer":null,"unknown_45":5171539774448152576}} 
[2026-08-01 08:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":147125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:10:06] local.INFO: GPS data processed {"connection_id":147125,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:10:06] local.INFO: Acknowledgment sent {"connection_id":147125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:10:46] local.INFO: TCP Data received {"connection_id":145913,"ip":"117.225.149.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:10:46] local.INFO: Processing buffer {"connection_id":145913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:10:46] local.INFO: IMEI packet received {"connection_id":145913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 08:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":145913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 08:10:51] local.INFO: TCP Data received {"connection_id":145913,"ip":"117.225.149.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:10:51] local.INFO: Processing buffer {"connection_id":145913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:10:51] local.INFO: IMEI packet received {"connection_id":145913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":145913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:10:56] local.INFO: TCP Data received {"connection_id":145913,"ip":"117.225.149.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:10:56] local.INFO: Processing buffer {"connection_id":145913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:10:56] local.INFO: IMEI packet received {"connection_id":145913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":145913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:10:59] local.INFO: TCP Data received {"connection_id":145913,"ip":"117.225.149.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb30f640012d46ef00065f7d580009014c2a..."} 
[2026-08-01 08:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb30f640012d46ef00065f7d580009014c2a..."} 
[2026-08-01 08:10:59] local.INFO: Processing buffer {"connection_id":145913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb30f640012d46ef00065f7d580009014c2a..."} 
[2026-08-01 08:10:59] local.INFO: Packet analysis {"connection_id":145913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb30"} 
[2026-08-01 08:10:59] local.INFO: Extracted packet for processing {"connection_id":145913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb30"} 
[2026-08-01 08:10:59] local.INFO: GPS Element Parsed {"raw_longitude":759623424,"raw_latitude":106921304,"longitude_deg":75.9623424,"latitude_deg":10.6921304,"altitude":9,"angle":332,"satellites":42,"speed":48,"hex_longitude":"2d46ef00","hex_latitude":"065f7d58","is_valid_coordinates":true} 
[2026-08-01 08: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-08-01 08:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101304064001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365797498402373632,"note":"Value kept but may cause issues"} 
[2026-08-01 08:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5116089204062730240,"note":"Value kept but may cause issues"} 
[2026-08-01 08:10:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 08:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785551976000,"timestamp_ms":1785551976000,"timestamp_seconds":1785551976,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb30f640"} 
[2026-08-01 08:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:10: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-08-01 08: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 08:10:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 08: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-08-01 08:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":145913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":145913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":145913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:10:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.149.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101304064001,"66":27658,"51":206,"19":47872,"24":48,"16":365797498402373632,"45":5116089204062730240},"client_ip":"117.225.149.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,19,24,16,45]} 
[2026-08-01 08:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101304064001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:10:59] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-08-01 08:10:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-01 08:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365797498402373632,"km_value":365797498402373.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5116089204062730240,"description":"Unknown IO ID 45"} 
[2026-08-01 08:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101304064001,"power":27658,"unknown_51":206,"unknown_19":47872,"ignition":48,"odometer":null,"unknown_45":5116089204062730240}} 
[2026-08-01 08:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":145913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:10:59] local.INFO: GPS data processed {"connection_id":145913,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:10:59] local.INFO: Acknowledgment sent {"connection_id":145913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:11:01] local.INFO: TCP Data received {"connection_id":145913,"ip":"117.225.149.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb311580012d46dec0065f9e30000901502a..."} 
[2026-08-01 08:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb311580012d46dec0065f9e30000901502a..."} 
[2026-08-01 08:11:01] local.INFO: Processing buffer {"connection_id":145913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb311580012d46dec0065f9e30000901502a..."} 
[2026-08-01 08:11:01] local.INFO: Packet analysis {"connection_id":145913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb31"} 
[2026-08-01 08:11:01] local.INFO: Extracted packet for processing {"connection_id":145913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb31"} 
[2026-08-01 08:11:01] local.INFO: GPS Element Parsed {"raw_longitude":759619264,"raw_latitude":106929712,"longitude_deg":75.9619264,"latitude_deg":10.6929712,"altitude":9,"angle":336,"satellites":42,"speed":46,"hex_longitude":"2d46dec0","hex_latitude":"065f9e30","is_valid_coordinates":true} 
[2026-08-01 08: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-08-01 08:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101305856001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365797953668907008,"note":"Value kept but may cause issues"} 
[2026-08-01 08:11:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5111304129460656128,"note":"Value kept but may cause issues"} 
[2026-08-01 08:11:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 08:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785551984000,"timestamp_ms":1785551984000,"timestamp_seconds":1785551984,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb311580"} 
[2026-08-01 08:11:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:11: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-08-01 08: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 08:11: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-08-01 08: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-08-01 08:11:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":145913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":145913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":145913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:11:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.149.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101305856001,"66":27767,"51":206,"19":47872,"24":46,"16":365797953668907008,"45":5111304129460656128},"client_ip":"117.225.149.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,19,24,16,45]} 
[2026-08-01 08:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101305856001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:11:01] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-08-01 08:11:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-01 08:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365797953668907008,"km_value":365797953668907.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:11:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5111304129460656128,"description":"Unknown IO ID 45"} 
[2026-08-01 08:11:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101305856001,"power":27767,"unknown_51":206,"unknown_19":47872,"ignition":46,"odometer":null,"unknown_45":5111304129460656128}} 
[2026-08-01 08:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":145913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:11:01] local.INFO: GPS data processed {"connection_id":145913,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:11:01] local.INFO: Acknowledgment sent {"connection_id":145913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:12:14] local.INFO: TCP Data received {"connection_id":148443,"ip":"117.225.149.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:12:14] local.INFO: Processing buffer {"connection_id":148443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:12:14] local.INFO: IMEI packet received {"connection_id":148443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 08:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":148443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 08:12:19] local.INFO: TCP Data received {"connection_id":148443,"ip":"117.225.149.3","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 08:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148443,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 08:12:19] local.INFO: Processing buffer {"connection_id":148443,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 08:12:19] local.INFO: IMEI packet received {"connection_id":148443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":148443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:12:23] local.INFO: TCP Data received {"connection_id":148443,"ip":"117.225.149.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb3134c0012d46d080065fbfa8000801512a..."} 
[2026-08-01 08:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb3134c0012d46d080065fbfa8000801512a..."} 
[2026-08-01 08:12:23] local.INFO: Processing buffer {"connection_id":148443,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fbb..."} 
[2026-08-01 08:12:23] local.INFO: IMEI packet received {"connection_id":148443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":148443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:12:33] local.INFO: TCP Data received {"connection_id":148443,"ip":"117.225.149.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb329450012d465640066146c0000801522b..."} 
[2026-08-01 08:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb329450012d465640066146c0000801522b..."} 
[2026-08-01 08:12:33] local.INFO: Processing buffer {"connection_id":148443,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fbb3134c0012d46d080065fbfa8000801512a..."} 
[2026-08-01 08:12:33] local.INFO: Packet analysis {"connection_id":148443,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fbb31"} 
[2026-08-01 08:12:33] local.INFO: Extracted packet for processing {"connection_id":148443,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb31"} 
[2026-08-01 08:12:33] local.INFO: GPS Element Parsed {"raw_longitude":759615616,"raw_latitude":106938280,"longitude_deg":75.9615616,"latitude_deg":10.693828,"altitude":8,"angle":337,"satellites":42,"speed":46,"hex_longitude":"2d46d080","hex_latitude":"065fbfa8","is_valid_coordinates":true} 
[2026-08-01 08: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-08-01 08:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101307904001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365798404640473088,"note":"Value kept but may cause issues"} 
[2026-08-01 08:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5106730161091260416,"note":"Value kept but may cause issues"} 
[2026-08-01 08:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 08:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785551992000,"timestamp_ms":1785551992000,"timestamp_seconds":1785551992,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb3134c0"} 
[2026-08-01 08:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:12: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-08-01 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 08:12: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-08-01 08: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-08-01 08:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":148443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":148443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":148443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.149.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101307904001,"66":27745,"51":206,"19":47872,"24":46,"16":365798404640473088,"45":5106730161091260416},"client_ip":"117.225.149.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,19,24,16,45]} 
[2026-08-01 08:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101307904001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:12:33] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-08-01 08:12:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-01 08:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365798404640473088,"km_value":365798404640473.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5106730161091260416,"description":"Unknown IO ID 45"} 
[2026-08-01 08:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101307904001,"power":27745,"unknown_51":206,"unknown_19":47872,"ignition":46,"odometer":null,"unknown_45":5106730161091260416}} 
[2026-08-01 08:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":148443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:12:33] local.INFO: GPS data processed {"connection_id":148443,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:12:33] local.INFO: Acknowledgment sent {"connection_id":148443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:12:33] local.INFO: Packet analysis {"connection_id":148443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb32"} 
[2026-08-01 08:12:33] local.INFO: Extracted packet for processing {"connection_id":148443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb32"} 
[2026-08-01 08:12:33] local.INFO: GPS Element Parsed {"raw_longitude":759584320,"raw_latitude":107038400,"longitude_deg":75.958432,"latitude_deg":10.70384,"altitude":8,"angle":338,"satellites":43,"speed":52,"hex_longitude":"2d465640","hex_latitude":"066146c0","is_valid_coordinates":true} 
[2026-08-01 08: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-08-01 08:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101331200001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365803489881751552,"note":"Value kept but may cause issues"} 
[2026-08-01 08:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5072179107725586432,"note":"Value kept but may cause issues"} 
[2026-08-01 08:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 08:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785552082000,"timestamp_ms":1785552082000,"timestamp_seconds":1785552082,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb329450"} 
[2026-08-01 08:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 08:12: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-08-01 08: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-08-01 08:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":148443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":148443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":148443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.149.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101331200001,"66":27745,"51":206,"19":47872,"24":52,"16":365803489881751552,"45":5072179107725586432},"client_ip":"117.225.149.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,19,24,16,45]} 
[2026-08-01 08:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101331200001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:12:33] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-08-01 08:12:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-01 08:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365803489881751552,"km_value":365803489881751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5072179107725586432,"description":"Unknown IO ID 45"} 
[2026-08-01 08:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101331200001,"power":27745,"unknown_51":206,"unknown_19":47872,"ignition":52,"odometer":null,"unknown_45":5072179107725586432}} 
[2026-08-01 08:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":148443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:12:33] local.INFO: GPS data processed {"connection_id":148443,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:12:33] local.INFO: Acknowledgment sent {"connection_id":148443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:12:35] local.INFO: TCP Data received {"connection_id":148443,"ip":"117.225.149.3","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb32afa8012d464900066166f0000801512b..."} 
[2026-08-01 08:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb32afa8012d464900066166f0000801512b..."} 
[2026-08-01 08:12:35] local.INFO: Processing buffer {"connection_id":148443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb32afa8012d464900066166f0000801512b..."} 
[2026-08-01 08:12:35] local.INFO: Packet analysis {"connection_id":148443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb32"} 
[2026-08-01 08:12:35] local.INFO: Extracted packet for processing {"connection_id":148443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb32"} 
[2026-08-01 08:12:35] local.INFO: GPS Element Parsed {"raw_longitude":759580928,"raw_latitude":107046640,"longitude_deg":75.9580928,"latitude_deg":10.704664,"altitude":8,"angle":337,"satellites":43,"speed":48,"hex_longitude":"2d464900","hex_latitude":"066166f0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 08:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101332992001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365803923673448448,"note":"Value kept but may cause issues"} 
[2026-08-01 08:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5068308826798080000,"note":"Value kept but may cause issues"} 
[2026-08-01 08:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 08:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785552089000,"timestamp_ms":1785552089000,"timestamp_seconds":1785552089,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb32afa8"} 
[2026-08-01 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-08-01 08:12: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-08-01 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 08:12: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-08-01 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-08-01 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-08-01 08:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.149.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101332992001,"66":27658,"51":206,"19":47872,"24":48,"16":365803923673448448,"45":5068308826798080000},"client_ip":"117.225.149.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,19,24,16,45]} 
[2026-08-01 08:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101332992001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:12:35] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-08-01 08:12:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-08-01 08:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365803923673448448,"km_value":365803923673448.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5068308826798080000,"description":"Unknown IO ID 45"} 
[2026-08-01 08:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101332992001,"power":27658,"unknown_51":206,"unknown_19":47872,"ignition":48,"odometer":null,"unknown_45":5068308826798080000}} 
[2026-08-01 08:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":148443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:12:35] local.INFO: GPS data processed {"connection_id":148443,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:12:35] local.INFO: Acknowledgment sent {"connection_id":148443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:16:04] local.INFO: TCP Data received {"connection_id":148444,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:16:04] local.INFO: Processing buffer {"connection_id":148444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:16:04] local.INFO: IMEI packet received {"connection_id":148444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 08:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":148444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 08:16:04] local.INFO: TCP Data received {"connection_id":148444,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:16:04] local.INFO: Processing buffer {"connection_id":148444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:16:04] local.INFO: IMEI packet received {"connection_id":148444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":148444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:16:10] local.INFO: TCP Data received {"connection_id":148444,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:16:10] local.INFO: Processing buffer {"connection_id":148444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:16:10] local.INFO: IMEI packet received {"connection_id":148444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":148444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:16:11] local.INFO: TCP Data received {"connection_id":148444,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb350d20012d450a00066430c8000901562b..."} 
[2026-08-01 08:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb350d20012d450a00066430c8000901562b..."} 
[2026-08-01 08:16:11] local.INFO: Processing buffer {"connection_id":148444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb350d20012d450a00066430c8000901562b..."} 
[2026-08-01 08:16:11] local.INFO: Packet analysis {"connection_id":148444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb35"} 
[2026-08-01 08:16:11] local.INFO: Extracted packet for processing {"connection_id":148444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb35"} 
[2026-08-01 08:16:11] local.INFO: GPS Element Parsed {"raw_longitude":759499264,"raw_latitude":107229384,"longitude_deg":75.9499264,"latitude_deg":10.7229384,"altitude":9,"angle":342,"satellites":43,"speed":57,"hex_longitude":"2d450a00","hex_latitude":"066430c8","is_valid_coordinates":true} 
[2026-08-01 08: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-08-01 08:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101372672001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365813630299537408,"note":"Value kept but may cause issues"} 
[2026-08-01 08:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4978307203041251328,"note":"Value kept but may cause issues"} 
[2026-08-01 08:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 08:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785552244000,"timestamp_ms":1785552244000,"timestamp_seconds":1785552244,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb350d20"} 
[2026-08-01 08:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 08:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 08:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 08: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-08-01 08:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":148444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":148444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":148444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101372672001,"66":27843,"171":206,"18":6656,"24":57,"16":365813630299537408,"45":4978307203041251328},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,18,24,16,45]} 
[2026-08-01 08:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101372672001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:16:11] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-08-01 08:16:11] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-08-01 08:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365813630299537408,"km_value":365813630299537.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4978307203041251328,"description":"Unknown IO ID 45"} 
[2026-08-01 08:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101372672001,"power":27843,"unknown_171":206,"unknown_18":6656,"ignition":57,"odometer":null,"unknown_45":4978307203041251328}} 
[2026-08-01 08:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":148444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:16:11] local.INFO: GPS data processed {"connection_id":148444,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:16:11] local.INFO: Acknowledgment sent {"connection_id":148444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:16:59] local.INFO: TCP Data received {"connection_id":146108,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:16:59] local.INFO: Processing buffer {"connection_id":146108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:16:59] local.INFO: IMEI packet received {"connection_id":146108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 08:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":146108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 08:16:59] local.INFO: TCP Data received {"connection_id":146108,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:17:00] local.INFO: Processing buffer {"connection_id":146108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:17:00] local.INFO: IMEI packet received {"connection_id":146108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":146108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:17:04] local.INFO: TCP Data received {"connection_id":146108,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:17:04] local.INFO: Processing buffer {"connection_id":146108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:17:04] local.INFO: IMEI packet received {"connection_id":146108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":146108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:17:06] local.INFO: TCP Data received {"connection_id":146108,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb3668c8012d445a000665da700009014f2b..."} 
[2026-08-01 08:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb3668c8012d445a000665da700009014f2b..."} 
[2026-08-01 08:17:06] local.INFO: Processing buffer {"connection_id":146108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb3668c8012d445a000665da700009014f2b..."} 
[2026-08-01 08:17:06] local.INFO: Packet analysis {"connection_id":146108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb36"} 
[2026-08-01 08:17:06] local.INFO: Extracted packet for processing {"connection_id":146108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb36"} 
[2026-08-01 08:17:06] local.INFO: GPS Element Parsed {"raw_longitude":759454208,"raw_latitude":107338352,"longitude_deg":75.9454208,"latitude_deg":10.7338352,"altitude":9,"angle":335,"satellites":43,"speed":60,"hex_longitude":"2d445a00","hex_latitude":"0665da70","is_valid_coordinates":true} 
[2026-08-01 08:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 08:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101395456001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365819334016106496,"note":"Value kept but may cause issues"} 
[2026-08-01 08:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4930104613307521024,"note":"Value kept but may cause issues"} 
[2026-08-01 08:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 08:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785552333000,"timestamp_ms":1785552333000,"timestamp_seconds":1785552333,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb3668c8"} 
[2026-08-01 08:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 08:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 08:17: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-08-01 08:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 08:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:17: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-08-01 08:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101395456001,"66":27821,"59":206,"80":60416,"24":60,"16":365819334016106496,"45":4930104613307521024},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,80,24,16,45]} 
[2026-08-01 08:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101395456001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:17:06] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-01 08:17:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-01 08:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365819334016106496,"km_value":365819334016106.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":4930104613307521024,"description":"Unknown IO ID 45"} 
[2026-08-01 08:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101395456001,"power":27821,"unknown_59":206,"unknown_80":60416,"ignition":60,"odometer":null,"unknown_45":4930104613307521024}} 
[2026-08-01 08:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":146108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:17:06] local.INFO: GPS data processed {"connection_id":146108,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:17:06] local.INFO: Acknowledgment sent {"connection_id":146108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:17:45] local.INFO: TCP Data received {"connection_id":148445,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:17:45] local.INFO: Processing buffer {"connection_id":148445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:17:45] local.INFO: IMEI packet received {"connection_id":148445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 08:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":148445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 08:17:47] local.INFO: TCP Data received {"connection_id":148445,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:17:47] local.INFO: Processing buffer {"connection_id":148445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:17:47] local.INFO: IMEI packet received {"connection_id":148445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":148445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:17:48] local.INFO: TCP Data received {"connection_id":148445,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb378208012d43b100066743b8000901342a..."} 
[2026-08-01 08:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb378208012d43b100066743b8000901342a..."} 
[2026-08-01 08:17:48] local.INFO: Processing buffer {"connection_id":148445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb378208012d43b100066743b8000901342a..."} 
[2026-08-01 08:17:48] local.INFO: Packet analysis {"connection_id":148445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb37"} 
[2026-08-01 08:17:48] local.INFO: Extracted packet for processing {"connection_id":148445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb37"} 
[2026-08-01 08:17:48] local.INFO: GPS Element Parsed {"raw_longitude":759410944,"raw_latitude":107430840,"longitude_deg":75.9410944,"latitude_deg":10.743084,"altitude":9,"angle":308,"satellites":42,"speed":58,"hex_longitude":"2d43b100","hex_latitude":"066743b8","is_valid_coordinates":true} 
[2026-08-01 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-08-01 08:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101414400001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365824320473137152,"note":"Value kept but may cause issues"} 
[2026-08-01 08:17:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4883520504686702592,"note":"Value kept but may cause issues"} 
[2026-08-01 08:17:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 08:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785552405000,"timestamp_ms":1785552405000,"timestamp_seconds":1785552405,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb378208"} 
[2026-08-01 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-08-01 08:17: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-08-01 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 08:17:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 08:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:17:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101414400001,"66":27800,"19":206,"80":60416,"24":58,"16":365824320473137152,"45":4883520504686702592},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,80,24,16,45]} 
[2026-08-01 08:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101414400001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:17:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-01 08:17:48] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-01 08:17:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365824320473137152,"km_value":365824320473137.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:17:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4883520504686702592,"description":"Unknown IO ID 45"} 
[2026-08-01 08:17:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101414400001,"power":27800,"unknown_19":206,"unknown_80":60416,"ignition":58,"odometer":null,"unknown_45":4883520504686702592}} 
[2026-08-01 08:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":148445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:17:48] local.INFO: GPS data processed {"connection_id":148445,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:17:48] local.INFO: Acknowledgment sent {"connection_id":148445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:18:32] local.INFO: TCP Data received {"connection_id":148445,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb379590012d43984006675248000a01282a..."} 
[2026-08-01 08:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb379590012d43984006675248000a01282a..."} 
[2026-08-01 08:18:32] local.INFO: Processing buffer {"connection_id":148445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb379590012d43984006675248000a01282a..."} 
[2026-08-01 08:18:32] local.INFO: Packet analysis {"connection_id":148445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb37"} 
[2026-08-01 08:18:32] local.INFO: Extracted packet for processing {"connection_id":148445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb37"} 
[2026-08-01 08:18:32] local.INFO: GPS Element Parsed {"raw_longitude":759404608,"raw_latitude":107434568,"longitude_deg":75.9404608,"latitude_deg":10.7434568,"altitude":10,"angle":296,"satellites":42,"speed":57,"hex_longitude":"2d439840","hex_latitude":"06675248","is_valid_coordinates":true} 
[2026-08-01 08: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-08-01 08:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101415680001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365824672660455424,"note":"Value kept but may cause issues"} 
[2026-08-01 08:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4877679898921252864,"note":"Value kept but may cause issues"} 
[2026-08-01 08:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 08:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785552410000,"timestamp_ms":1785552410000,"timestamp_seconds":1785552410,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb379590"} 
[2026-08-01 08:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08: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-08-01 08: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 08:18: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-08-01 08: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-08-01 08:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":148445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":148445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":148445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:18:32] 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-08-01 08:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101415680001,"66":27767,"19":206,"80":60416,"24":57,"16":365824672660455424,"45":4877679898921252864},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,80,24,16,45]} 
[2026-08-01 08:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101415680001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:18:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-01 08:18:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-01 08:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365824672660455424,"km_value":365824672660455.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":4877679898921252864,"description":"Unknown IO ID 45"} 
[2026-08-01 08:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101415680001,"power":27767,"unknown_19":206,"unknown_80":60416,"ignition":57,"odometer":null,"unknown_45":4877679898921252864}} 
[2026-08-01 08:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":148445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:18:32] local.INFO: GPS data processed {"connection_id":148445,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:18:32] local.INFO: Acknowledgment sent {"connection_id":148445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:18:52] local.INFO: TCP Data received {"connection_id":145914,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:18:52] local.INFO: Processing buffer {"connection_id":145914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:18:52] local.INFO: IMEI packet received {"connection_id":145914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 08:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":145914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 08:18:55] local.INFO: TCP Data received {"connection_id":145914,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:18:55] local.INFO: Processing buffer {"connection_id":145914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:18:55] local.INFO: IMEI packet received {"connection_id":145914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":145914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:18:59] local.INFO: TCP Data received {"connection_id":145914,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:18:59] local.INFO: Processing buffer {"connection_id":145914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:18:59] local.INFO: IMEI packet received {"connection_id":145914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":145914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:19:00] local.INFO: TCP Data received {"connection_id":145914,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb387050012d4280c00667c7780007014b2b..."} 
[2026-08-01 08:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb387050012d4280c00667c7780007014b2b..."} 
[2026-08-01 08:19:00] local.INFO: Processing buffer {"connection_id":145914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb387050012d4280c00667c7780007014b2b..."} 
[2026-08-01 08:19:00] local.INFO: Packet analysis {"connection_id":145914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb38"} 
[2026-08-01 08:19:00] local.INFO: Extracted packet for processing {"connection_id":145914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb38"} 
[2026-08-01 08:19:00] local.INFO: GPS Element Parsed {"raw_longitude":759333056,"raw_latitude":107464568,"longitude_deg":75.9333056,"latitude_deg":10.7464568,"altitude":7,"angle":331,"satellites":43,"speed":58,"hex_longitude":"2d4280c0","hex_latitude":"0667c778","is_valid_coordinates":true} 
[2026-08-01 08: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-08-01 08:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101430016001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365828499476316160,"note":"Value kept but may cause issues"} 
[2026-08-01 08:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4796826211868182528,"note":"Value kept but may cause issues"} 
[2026-08-01 08:19:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 08:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785552466000,"timestamp_ms":1785552466000,"timestamp_seconds":1785552466,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb387050"} 
[2026-08-01 08:19:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:19: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-08-01 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 08:19: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-08-01 08: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-08-01 08:19:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":145914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":145914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":145914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:19: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-08-01 08:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101430016001,"66":27767,"20":206,"80":60416,"24":58,"16":365828499476316160,"45":4796826211868182528},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,80,24,16,45]} 
[2026-08-01 08:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101430016001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:19:00] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-01 08:19:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-01 08:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365828499476316160,"km_value":365828499476316.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":4796826211868182528,"description":"Unknown IO ID 45"} 
[2026-08-01 08:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101430016001,"power":27767,"unknown_20":206,"unknown_80":60416,"ignition":58,"odometer":null,"unknown_45":4796826211868182528}} 
[2026-08-01 08:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":145914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:19:00] local.INFO: GPS data processed {"connection_id":145914,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:19:00] local.INFO: Acknowledgment sent {"connection_id":145914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:19:43] local.INFO: TCP Data received {"connection_id":146109,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:19:43] local.INFO: Processing buffer {"connection_id":146109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:19:43] local.INFO: IMEI packet received {"connection_id":146109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 08:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":146109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 08:19:56] local.INFO: TCP Data received {"connection_id":146109,"ip":"42.106.6.36","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 08:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146109,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 08:19:56] local.INFO: Processing buffer {"connection_id":146109,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 08:19:56] local.INFO: IMEI packet received {"connection_id":146109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":146109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:19:56] local.INFO: TCP Data received {"connection_id":146109,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb388ba8012d4271000667eb50000701532b..."} 
[2026-08-01 08:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb388ba8012d4271000667eb50000701532b..."} 
[2026-08-01 08:19:56] local.INFO: Processing buffer {"connection_id":146109,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fbb..."} 
[2026-08-01 08:19:56] local.INFO: IMEI packet received {"connection_id":146109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":146109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:19:57] local.INFO: TCP Data received {"connection_id":146109,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb38a700012d42640006680e08000701532a..."} 
[2026-08-01 08:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb38a700012d42640006680e08000701532a..."} 
[2026-08-01 08:19:57] local.INFO: Processing buffer {"connection_id":146109,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fbb388ba8012d4271000667eb50000701532b..."} 
[2026-08-01 08:19:57] local.INFO: Packet analysis {"connection_id":146109,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fbb38"} 
[2026-08-01 08:19:57] local.INFO: Extracted packet for processing {"connection_id":146109,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb38"} 
[2026-08-01 08:19:57] local.INFO: GPS Element Parsed {"raw_longitude":759329024,"raw_latitude":107473744,"longitude_deg":75.9329024,"latitude_deg":10.7473744,"altitude":7,"angle":339,"satellites":43,"speed":54,"hex_longitude":"2d427100","hex_latitude":"0667eb50","is_valid_coordinates":true} 
[2026-08-01 08:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 08:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101431296001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365828984807620608,"note":"Value kept but may cause issues"} 
[2026-08-01 08:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4792041137265670144,"note":"Value kept but may cause issues"} 
[2026-08-01 08:19:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 08:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785552473000,"timestamp_ms":1785552473000,"timestamp_seconds":1785552473,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb388ba8"} 
[2026-08-01 08:19:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:19:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 08:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 08:19:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 08:19:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 08:19:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":146109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":146109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":146109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:19:57] 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-08-01 08:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101431296001,"66":27930,"20":206,"80":60416,"24":54,"16":365828984807620608,"45":4792041137265670144},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,80,24,16,45]} 
[2026-08-01 08:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101431296001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:19:57] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-01 08:19:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-01 08:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365828984807620608,"km_value":365828984807620.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:19:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":4792041137265670144,"description":"Unknown IO ID 45"} 
[2026-08-01 08:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101431296001,"power":27930,"unknown_20":206,"unknown_80":60416,"ignition":54,"odometer":null,"unknown_45":4792041137265670144}} 
[2026-08-01 08:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":146109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:19:57] local.INFO: GPS data processed {"connection_id":146109,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:19:57] local.INFO: Acknowledgment sent {"connection_id":146109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:19:57] local.INFO: Packet analysis {"connection_id":146109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb38"} 
[2026-08-01 08:19:57] local.INFO: Extracted packet for processing {"connection_id":146109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb38"} 
[2026-08-01 08:19:57] local.INFO: GPS Element Parsed {"raw_longitude":759325696,"raw_latitude":107482632,"longitude_deg":75.9325696,"latitude_deg":10.7482632,"altitude":7,"angle":339,"satellites":42,"speed":54,"hex_longitude":"2d426400","hex_latitude":"06680e08","is_valid_coordinates":true} 
[2026-08-01 08:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 08:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101433088001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365829444369121280,"note":"Value kept but may cause issues"} 
[2026-08-01 08:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4787607906384826368,"note":"Value kept but may cause issues"} 
[2026-08-01 08:19:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 08:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785552480000,"timestamp_ms":1785552480000,"timestamp_seconds":1785552480,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb38a700"} 
[2026-08-01 08:19:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:19:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 08:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-01 08:19:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 08:19:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 08:19:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":146109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":146109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":146109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:19:57] 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-08-01 08:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101433088001,"66":27919,"20":206,"80":60416,"24":54,"16":365829444369121280,"45":4787607906384826368},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,80,24,16,45]} 
[2026-08-01 08:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101433088001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:19:57] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-01 08:19:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-01 08:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365829444369121280,"km_value":365829444369121.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:19:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":4787607906384826368,"description":"Unknown IO ID 45"} 
[2026-08-01 08:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101433088001,"power":27919,"unknown_20":206,"unknown_80":60416,"ignition":54,"odometer":null,"unknown_45":4787607906384826368}} 
[2026-08-01 08:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":146109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:19:57] local.INFO: GPS data processed {"connection_id":146109,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:19:57] local.INFO: Acknowledgment sent {"connection_id":146109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:19:58] local.INFO: TCP Data received {"connection_id":146109,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb38c258012d42560006683180000601542b..."} 
[2026-08-01 08:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb38c258012d42560006683180000601542b..."} 
[2026-08-01 08:19:58] local.INFO: Processing buffer {"connection_id":146109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb38c258012d42560006683180000601542b..."} 
[2026-08-01 08:19:58] local.INFO: Packet analysis {"connection_id":146109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb38"} 
[2026-08-01 08:19:58] local.INFO: Extracted packet for processing {"connection_id":146109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb38"} 
[2026-08-01 08:19:58] local.INFO: GPS Element Parsed {"raw_longitude":759322112,"raw_latitude":107491712,"longitude_deg":75.9322112,"latitude_deg":10.7491712,"altitude":6,"angle":340,"satellites":43,"speed":55,"hex_longitude":"2d425600","hex_latitude":"06683180","is_valid_coordinates":true} 
[2026-08-01 08:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 08:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101434880001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365829916815523840,"note":"Value kept but may cause issues"} 
[2026-08-01 08:19:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4783948731689863168,"note":"Value kept but may cause issues"} 
[2026-08-01 08:19:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 08:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785552487000,"timestamp_ms":1785552487000,"timestamp_seconds":1785552487,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb38c258"} 
[2026-08-01 08:19:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:19: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-08-01 08:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 08:19: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-08-01 08:19:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 08:19:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":146109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":146109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":146109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:19:58] 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-08-01 08:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101434880001,"66":27745,"20":206,"80":60416,"24":55,"16":365829916815523840,"45":4783948731689863168},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,80,24,16,45]} 
[2026-08-01 08:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101434880001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:19:58] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-01 08:19:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-01 08:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365829916815523840,"km_value":365829916815523.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:19:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":4783948731689863168,"description":"Unknown IO ID 45"} 
[2026-08-01 08:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101434880001,"power":27745,"unknown_20":206,"unknown_80":60416,"ignition":55,"odometer":null,"unknown_45":4783948731689863168}} 
[2026-08-01 08:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":146109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:19:58] local.INFO: GPS data processed {"connection_id":146109,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:19:58] local.INFO: Acknowledgment sent {"connection_id":146109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:20:29] local.INFO: TCP Data received {"connection_id":146109,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb39fad8012d41c7800669b5c8000e01552a..."} 
[2026-08-01 08:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb39fad8012d41c7800669b5c8000e01552a..."} 
[2026-08-01 08:20:29] local.INFO: Processing buffer {"connection_id":146109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb39fad8012d41c7800669b5c8000e01552a..."} 
[2026-08-01 08:20:29] local.INFO: Packet analysis {"connection_id":146109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb39"} 
[2026-08-01 08:20:29] local.INFO: Extracted packet for processing {"connection_id":146109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb39"} 
[2026-08-01 08:20:29] local.INFO: GPS Element Parsed {"raw_longitude":759285632,"raw_latitude":107591112,"longitude_deg":75.9285632,"latitude_deg":10.7591112,"altitude":14,"angle":341,"satellites":42,"speed":46,"hex_longitude":"2d41c780","hex_latitude":"0669b5c8","is_valid_coordinates":true} 
[2026-08-01 08: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-08-01 08:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101455104001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365835040711507968,"note":"Value kept but may cause issues"} 
[2026-08-01 08:20:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4743345966324783104,"note":"Value kept but may cause issues"} 
[2026-08-01 08:20:29] 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-08-01 08:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785552567000,"timestamp_ms":1785552567000,"timestamp_seconds":1785552567,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb39fad8"} 
[2026-08-01 08:20:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:20:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 08: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-01 08:20: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-08-01 08: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-08-01 08:20:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":146109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":146109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":146109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:20: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-08-01 08:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101455104001,"66":27713,"201":206,"80":60416,"24":46,"16":365835040711507968,"45":4743345966324783104},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,80,24,16,45]} 
[2026-08-01 08:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:20:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:20:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101455104001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:20:29] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-01 08:20:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-01 08:20:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365835040711507968,"km_value":365835040711507.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:20:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":4743345966324783104,"description":"Unknown IO ID 45"} 
[2026-08-01 08:20:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101455104001,"power":27713,"unknown_201":206,"unknown_80":60416,"ignition":46,"odometer":null,"unknown_45":4743345966324783104}} 
[2026-08-01 08:20:29] local.INFO: DEBUG: GPS processor result {"connection_id":146109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:20:29] local.INFO: GPS data processed {"connection_id":146109,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:20:29] local.INFO: Acknowledgment sent {"connection_id":146109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:20:44] local.INFO: TCP Data received {"connection_id":147126,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:20:44] local.INFO: Processing buffer {"connection_id":147126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:20:44] local.INFO: IMEI packet received {"connection_id":147126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 08:20:44] local.INFO: IMEI acknowledgment sent {"connection_id":147126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 08:20:44] local.INFO: TCP Data received {"connection_id":147126,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:20:44] local.INFO: Processing buffer {"connection_id":147126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:20:44] local.INFO: IMEI packet received {"connection_id":147126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:20:44] local.INFO: IMEI acknowledgment sent {"connection_id":147126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:20:45] local.INFO: TCP Data received {"connection_id":147126,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:20:45] local.INFO: Processing buffer {"connection_id":147126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:20:45] local.INFO: IMEI packet received {"connection_id":147126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":147126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:21:01] local.INFO: TCP Data received {"connection_id":147126,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:21:01] local.INFO: Processing buffer {"connection_id":147126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:21:01] local.INFO: IMEI packet received {"connection_id":147126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":147126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:21:02] local.INFO: TCP Data received {"connection_id":147126,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb3a1a18012d41bc000669d738000f01562b..."} 
[2026-08-01 08:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb3a1a18012d41bc000669d738000f01562b..."} 
[2026-08-01 08:21:02] local.INFO: Processing buffer {"connection_id":147126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb3a1a18012d41bc000669d738000f01562b..."} 
[2026-08-01 08:21:02] local.INFO: Packet analysis {"connection_id":147126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb3a"} 
[2026-08-01 08:21:02] local.INFO: Extracted packet for processing {"connection_id":147126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb3a"} 
[2026-08-01 08:21:02] local.INFO: GPS Element Parsed {"raw_longitude":759282688,"raw_latitude":107599672,"longitude_deg":75.9282688,"latitude_deg":10.7599672,"altitude":15,"angle":342,"satellites":43,"speed":44,"hex_longitude":"2d41bc00","hex_latitude":"0669d738","is_valid_coordinates":true} 
[2026-08-01 08:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 08:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101457152001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365835478798172160,"note":"Value kept but may cause issues"} 
[2026-08-01 08:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4739897897862416384,"note":"Value kept but may cause issues"} 
[2026-08-01 08:21:02] 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-08-01 08:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785552575000,"timestamp_ms":1785552575000,"timestamp_seconds":1785552575,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb3a1a18"} 
[2026-08-01 08:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:21: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-08-01 08:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 08:21: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-08-01 08:21:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 08:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":147126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":147126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":147126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:21: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-08-01 08:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101457152001,"66":27745,"201":206,"80":60416,"24":44,"16":365835478798172160,"45":4739897897862416384},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,80,24,16,45]} 
[2026-08-01 08:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101457152001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:21:02] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-01 08:21:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-01 08:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365835478798172160,"km_value":365835478798172.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":4739897897862416384,"description":"Unknown IO ID 45"} 
[2026-08-01 08:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101457152001,"power":27745,"unknown_201":206,"unknown_80":60416,"ignition":44,"odometer":null,"unknown_45":4739897897862416384}} 
[2026-08-01 08:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":147126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:21:02] local.INFO: GPS data processed {"connection_id":147126,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:21:02] local.INFO: Acknowledgment sent {"connection_id":147126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:21:45] local.INFO: TCP Data received {"connection_id":148446,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:21:45] local.INFO: Processing buffer {"connection_id":148446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:21:45] local.INFO: IMEI packet received {"connection_id":148446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 08:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":148446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 08:21:48] local.INFO: TCP Data received {"connection_id":148446,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:21:48] local.INFO: Processing buffer {"connection_id":148446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:21:48] local.INFO: IMEI packet received {"connection_id":148446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":148446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:21:49] local.INFO: TCP Data received {"connection_id":148446,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:21:49] local.INFO: Processing buffer {"connection_id":148446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:21:49] local.INFO: IMEI packet received {"connection_id":148446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":148446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:21:51] local.INFO: TCP Data received {"connection_id":148446,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb3b0090012d422500066adef8000d00232a..."} 
[2026-08-01 08:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb3b0090012d422500066adef8000d00232a..."} 
[2026-08-01 08:21:51] local.INFO: Processing buffer {"connection_id":148446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb3b0090012d422500066adef8000d00232a..."} 
[2026-08-01 08:21:51] local.INFO: Packet analysis {"connection_id":148446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb3b"} 
[2026-08-01 08:21:51] local.INFO: Extracted packet for processing {"connection_id":148446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb3b"} 
[2026-08-01 08:21:51] local.INFO: GPS Element Parsed {"raw_longitude":759309568,"raw_latitude":107667192,"longitude_deg":75.9309568,"latitude_deg":10.7667192,"altitude":13,"angle":35,"satellites":42,"speed":57,"hex_longitude":"2d422500","hex_latitude":"066adef8","is_valid_coordinates":true} 
[2026-08-01 08:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 08:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101472512001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365839163880112128,"note":"Value kept but may cause issues"} 
[2026-08-01 08:21:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4759530777505394688,"note":"Value kept but may cause issues"} 
[2026-08-01 08:21:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 08:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785552634000,"timestamp_ms":1785552634000,"timestamp_seconds":1785552634,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb3b0090"} 
[2026-08-01 08:21:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:21: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-08-01 08:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-01 08:21:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 08:21:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 08:21:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:21:51] 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-08-01 08:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101472512001,"66":27691,"20":206,"80":60416,"24":57,"16":365839163880112128,"45":4759530777505394688},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,80,24,16,45]} 
[2026-08-01 08:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101472512001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:21:51] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-01 08:21:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-01 08:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365839163880112128,"km_value":365839163880112.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:21:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":4759530777505394688,"description":"Unknown IO ID 45"} 
[2026-08-01 08:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101472512001,"power":27691,"unknown_20":206,"unknown_80":60416,"ignition":57,"odometer":null,"unknown_45":4759530777505394688}} 
[2026-08-01 08:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":148446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:21:51] local.INFO: GPS data processed {"connection_id":148446,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:21:51] local.INFO: Acknowledgment sent {"connection_id":148446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:22:04] local.INFO: TCP Data received {"connection_id":148446,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb3b1be8012d423bc0066afe18000d002329..."} 
[2026-08-01 08:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb3b1be8012d423bc0066afe18000d002329..."} 
[2026-08-01 08:22:04] local.INFO: Processing buffer {"connection_id":148446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb3b1be8012d423bc0066afe18000d002329..."} 
[2026-08-01 08:22:04] local.INFO: Packet analysis {"connection_id":148446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb3b"} 
[2026-08-01 08:22:04] local.INFO: Extracted packet for processing {"connection_id":148446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb3b"} 
[2026-08-01 08:22:04] local.INFO: GPS Element Parsed {"raw_longitude":759315392,"raw_latitude":107675160,"longitude_deg":75.9315392,"latitude_deg":10.767516,"altitude":13,"angle":35,"satellites":41,"speed":54,"hex_longitude":"2d423bc0","hex_latitude":"066afe18","is_valid_coordinates":true} 
[2026-08-01 08: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-08-01 08:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101474304001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365839640621481984,"note":"Value kept but may cause issues"} 
[2026-08-01 08:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4766215808204339200,"note":"Value kept but may cause issues"} 
[2026-08-01 08:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 08:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785552641000,"timestamp_ms":1785552641000,"timestamp_seconds":1785552641,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb3b1be8"} 
[2026-08-01 08:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:22: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-08-01 08: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-01 08:22:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 08: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-08-01 08:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":148446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":148446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":148446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101474304001,"66":27691,"20":206,"80":60416,"24":54,"16":365839640621481984,"45":4766215808204339200},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,80,24,16,45]} 
[2026-08-01 08:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101474304001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:22:04] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-01 08:22:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-01 08:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365839640621481984,"km_value":365839640621482.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":4766215808204339200,"description":"Unknown IO ID 45"} 
[2026-08-01 08:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101474304001,"power":27691,"unknown_20":206,"unknown_80":60416,"ignition":54,"odometer":null,"unknown_45":4766215808204339200}} 
[2026-08-01 08:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":148446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:22:04] local.INFO: GPS data processed {"connection_id":148446,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:22:04] local.INFO: Acknowledgment sent {"connection_id":148446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:22:44] local.INFO: TCP Data received {"connection_id":145915,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:22:44] local.INFO: Processing buffer {"connection_id":145915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:22:44] local.INFO: IMEI packet received {"connection_id":145915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 08:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":145915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 08:22:44] local.INFO: TCP Data received {"connection_id":145915,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:22:44] local.INFO: Processing buffer {"connection_id":145915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:22:44] local.INFO: IMEI packet received {"connection_id":145915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":145915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:22:50] local.INFO: TCP Data received {"connection_id":145915,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:22:50] local.INFO: Processing buffer {"connection_id":145915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:22:50] local.INFO: IMEI packet received {"connection_id":145915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":145915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:22:52] local.INFO: TCP Data received {"connection_id":145915,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb3b3740012d425100066b1b18000d002429..."} 
[2026-08-01 08:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb3b3740012d425100066b1b18000d002429..."} 
[2026-08-01 08:22:52] local.INFO: Processing buffer {"connection_id":145915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb3b3740012d425100066b1b18000d002429..."} 
[2026-08-01 08:22:52] local.INFO: Packet analysis {"connection_id":145915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb3b"} 
[2026-08-01 08:22:52] local.INFO: Extracted packet for processing {"connection_id":145915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb3b"} 
[2026-08-01 08:22:52] local.INFO: GPS Element Parsed {"raw_longitude":759320832,"raw_latitude":107682584,"longitude_deg":75.9320832,"latitude_deg":10.7682584,"altitude":13,"angle":36,"satellites":41,"speed":51,"hex_longitude":"2d425100","hex_latitude":"066b1b18","is_valid_coordinates":true} 
[2026-08-01 08:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 08:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101476096001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365840083003113472,"note":"Value kept but may cause issues"} 
[2026-08-01 08:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4772619363926546432,"note":"Value kept but may cause issues"} 
[2026-08-01 08:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 08:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785552648000,"timestamp_ms":1785552648000,"timestamp_seconds":1785552648,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb3b3740"} 
[2026-08-01 08:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:22:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 08:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-01 08:22:52] 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-08-01 08:22:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 08:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":145915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":145915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":145915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:22:52] 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-08-01 08:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101476096001,"66":27691,"20":206,"80":60416,"24":51,"16":365840083003113472,"45":4772619363926546432},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,80,24,16,45]} 
[2026-08-01 08:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101476096001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:22:52] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-01 08:22:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-01 08:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365840083003113472,"km_value":365840083003113.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":4772619363926546432,"description":"Unknown IO ID 45"} 
[2026-08-01 08:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101476096001,"power":27691,"unknown_20":206,"unknown_80":60416,"ignition":51,"odometer":null,"unknown_45":4772619363926546432}} 
[2026-08-01 08:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":145915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:22:52] local.INFO: GPS data processed {"connection_id":145915,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:22:52] local.INFO: Acknowledgment sent {"connection_id":145915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:23:23] local.INFO: TCP Data received {"connection_id":145915,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb3cb228012d43b340066ca370000800282a..."} 
[2026-08-01 08:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb3cb228012d43b340066ca370000800282a..."} 
[2026-08-01 08:23:23] local.INFO: Processing buffer {"connection_id":145915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb3cb228012d43b340066ca370000800282a..."} 
[2026-08-01 08:23:23] local.INFO: Packet analysis {"connection_id":145915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb3c"} 
[2026-08-01 08:23:23] local.INFO: Extracted packet for processing {"connection_id":145915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb3c"} 
[2026-08-01 08:23:23] local.INFO: GPS Element Parsed {"raw_longitude":759411520,"raw_latitude":107783024,"longitude_deg":75.941152,"latitude_deg":10.7783024,"altitude":8,"angle":40,"satellites":42,"speed":58,"hex_longitude":"2d43b340","hex_latitude":"066ca370","is_valid_coordinates":true} 
[2026-08-01 08:23:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 08:23:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101501184001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:23:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365846594173534208,"note":"Value kept but may cause issues"} 
[2026-08-01 08:23:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4872050399475437568,"note":"Value kept but may cause issues"} 
[2026-08-01 08:23:23] 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-08-01 08:23:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785552745000,"timestamp_ms":1785552745000,"timestamp_seconds":1785552745,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb3cb228"} 
[2026-08-01 08:23:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:23:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 08:23:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 08:23:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 08:23:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 08:23:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:23:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:23:23] local.INFO: Teltonika packet parsed successfully {"connection_id":145915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:23:23] local.INFO: Passing IMEI to GPS processor {"connection_id":145915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:23:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":145915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:23:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:23:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:23:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:23:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101501184001,"66":27745,"148":206,"80":60416,"24":58,"16":365846594173534208,"45":4872050399475437568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,80,24,16,45]} 
[2026-08-01 08:23:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:23:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:23:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101501184001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:23:23] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-08-01 08:23:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-01 08:23:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365846594173534208,"km_value":365846594173534.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:23:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":4872050399475437568,"description":"Unknown IO ID 45"} 
[2026-08-01 08:23:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101501184001,"power":27745,"unknown_148":206,"unknown_80":60416,"ignition":58,"odometer":null,"unknown_45":4872050399475437568}} 
[2026-08-01 08:23:23] local.INFO: DEBUG: GPS processor result {"connection_id":145915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:23:23] local.INFO: GPS data processed {"connection_id":145915,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:23:23] local.INFO: Acknowledgment sent {"connection_id":145915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:23:51] local.INFO: TCP Data received {"connection_id":146110,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:23:51] local.INFO: Processing buffer {"connection_id":146110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:23:51] local.INFO: IMEI packet received {"connection_id":146110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 08:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":146110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 08:23:55] local.INFO: TCP Data received {"connection_id":146110,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:23:55] local.INFO: Processing buffer {"connection_id":146110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:23:55] local.INFO: IMEI packet received {"connection_id":146110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":146110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:23:59] local.INFO: TCP Data received {"connection_id":146110,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:23:59] local.INFO: Processing buffer {"connection_id":146110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:23:59] local.INFO: IMEI packet received {"connection_id":146110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":146110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:24:00] local.INFO: TCP Data received {"connection_id":146110,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb3cc998012d43ca00066cbe00000700272a..."} 
[2026-08-01 08:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb3cc998012d43ca00066cbe00000700272a..."} 
[2026-08-01 08:24:00] local.INFO: Processing buffer {"connection_id":146110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb3cc998012d43ca00066cbe00000700272a..."} 
[2026-08-01 08:24:00] local.INFO: Packet analysis {"connection_id":146110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb3c"} 
[2026-08-01 08:24:00] local.INFO: Extracted packet for processing {"connection_id":146110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb3c"} 
[2026-08-01 08:24:00] local.INFO: GPS Element Parsed {"raw_longitude":759417344,"raw_latitude":107789824,"longitude_deg":75.9417344,"latitude_deg":10.7789824,"altitude":7,"angle":39,"satellites":42,"speed":58,"hex_longitude":"2d43ca00","hex_latitude":"066cbe00","is_valid_coordinates":true} 
[2026-08-01 08: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-08-01 08:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101502720001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365847027965231104,"note":"Value kept but may cause issues"} 
[2026-08-01 08:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4878313217709010944,"note":"Value kept but may cause issues"} 
[2026-08-01 08:24:00] 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-08-01 08:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785552751000,"timestamp_ms":1785552751000,"timestamp_seconds":1785552751,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb3cc998"} 
[2026-08-01 08:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:24: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-08-01 08: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 08:24: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-08-01 08: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-08-01 08:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":146110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":146110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":146110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08: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-08-01 08:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101502720001,"66":27800,"148":206,"80":60416,"24":58,"16":365847027965231104,"45":4878313217709010944},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,80,24,16,45]} 
[2026-08-01 08:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101502720001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:24:00] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-08-01 08:24:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-01 08:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365847027965231104,"km_value":365847027965231.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":4878313217709010944,"description":"Unknown IO ID 45"} 
[2026-08-01 08:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101502720001,"power":27800,"unknown_148":206,"unknown_80":60416,"ignition":58,"odometer":null,"unknown_45":4878313217709010944}} 
[2026-08-01 08:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":146110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:24:00] local.INFO: GPS data processed {"connection_id":146110,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:24:00] local.INFO: Acknowledgment sent {"connection_id":146110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:24:01] local.INFO: TCP Data received {"connection_id":146110,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb3ce4f0012d43e400066cdd20000800262a..."} 
[2026-08-01 08:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb3ce4f0012d43e400066cdd20000800262a..."} 
[2026-08-01 08:24:01] local.INFO: Processing buffer {"connection_id":146110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb3ce4f0012d43e400066cdd20000800262a..."} 
[2026-08-01 08:24:01] local.INFO: Packet analysis {"connection_id":146110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb3c"} 
[2026-08-01 08:24:01] local.INFO: Extracted packet for processing {"connection_id":146110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb3c"} 
[2026-08-01 08:24:01] local.INFO: GPS Element Parsed {"raw_longitude":759424000,"raw_latitude":107797792,"longitude_deg":75.9424,"latitude_deg":10.7797792,"altitude":8,"angle":38,"satellites":42,"speed":58,"hex_longitude":"2d43e400","hex_latitude":"066cdd20","is_valid_coordinates":true} 
[2026-08-01 08: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-08-01 08:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101504256001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365847526181437440,"note":"Value kept but may cause issues"} 
[2026-08-01 08:24:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4884716773430919168,"note":"Value kept but may cause issues"} 
[2026-08-01 08:24: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-08-01 08:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785552758000,"timestamp_ms":1785552758000,"timestamp_seconds":1785552758,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb3ce4f0"} 
[2026-08-01 08:24:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:24: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-08-01 08: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 08:24: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-08-01 08: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-08-01 08:24:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":146110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":146110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":146110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08: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-08-01 08:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101504256001,"66":27745,"148":206,"80":60416,"24":58,"16":365847526181437440,"45":4884716773430919168},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,80,24,16,45]} 
[2026-08-01 08:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101504256001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:24:01] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-08-01 08:24:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-01 08:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365847526181437440,"km_value":365847526181437.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:24:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":4884716773430919168,"description":"Unknown IO ID 45"} 
[2026-08-01 08:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101504256001,"power":27745,"unknown_148":206,"unknown_80":60416,"ignition":58,"odometer":null,"unknown_45":4884716773430919168}} 
[2026-08-01 08:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":146110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:24:01] local.INFO: GPS data processed {"connection_id":146110,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:24:01] local.INFO: Acknowledgment sent {"connection_id":146110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:38:10] local.INFO: TCP Data received {"connection_id":148447,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:38:10] local.INFO: Processing buffer {"connection_id":148447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:38:10] local.INFO: IMEI packet received {"connection_id":148447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 08:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":148447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 08:38:15] local.INFO: TCP Data received {"connection_id":148447,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:38:15] local.INFO: Processing buffer {"connection_id":148447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:38:15] local.INFO: IMEI packet received {"connection_id":148447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":148447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:38:16] local.INFO: TCP Data received {"connection_id":148447,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb4316e0012d496ec006735f30000b00272b..."} 
[2026-08-01 08:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb4316e0012d496ec006735f30000b00272b..."} 
[2026-08-01 08:38:16] local.INFO: Processing buffer {"connection_id":148447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb4316e0012d496ec006735f30000b00272b..."} 
[2026-08-01 08:38:16] local.INFO: Packet analysis {"connection_id":148447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb43"} 
[2026-08-01 08:38:16] local.INFO: Extracted packet for processing {"connection_id":148447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb43"} 
[2026-08-01 08:38:16] local.INFO: GPS Element Parsed {"raw_longitude":759787200,"raw_latitude":108224304,"longitude_deg":75.97872,"latitude_deg":10.8224304,"altitude":11,"angle":39,"satellites":43,"speed":54,"hex_longitude":"2d496ec0","hex_latitude":"06735f30","is_valid_coordinates":true} 
[2026-08-01 08:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 08:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101608192001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365874537230761984,"note":"Value kept but may cause issues"} 
[2026-08-01 08:38:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5284763084190296064,"note":"Value kept but may cause issues"} 
[2026-08-01 08:38:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,17,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 08:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785553164000,"timestamp_ms":1785553164000,"timestamp_seconds":1785553164,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb4316e0"} 
[2026-08-01 08:38:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:38:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 08:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 08:38:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 08:38:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 08:38:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:38:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101608192001,"66":27919,"146":206,"17":52736,"24":54,"16":365874537230761984,"45":5284763084190296064},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,17,24,16,45]} 
[2026-08-01 08:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101608192001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:38:16] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-01 08:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365874537230761984,"km_value":365874537230762.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:38:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":5284763084190296064,"description":"Unknown IO ID 45"} 
[2026-08-01 08:38:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101608192001,"power":27919,"unknown_146":206,"axis_x":52736,"ignition":54,"odometer":null,"unknown_45":5284763084190296064}} 
[2026-08-01 08:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":148447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:38:16] local.INFO: GPS data processed {"connection_id":148447,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:38:16] local.INFO: Acknowledgment sent {"connection_id":148447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:38:45] local.INFO: TCP Data received {"connection_id":145916,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:38:45] local.INFO: Processing buffer {"connection_id":145916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:38:45] local.INFO: IMEI packet received {"connection_id":145916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 08:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":145916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 08:38:50] local.INFO: TCP Data received {"connection_id":145916,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:38:50] local.INFO: Processing buffer {"connection_id":145916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:38:50] local.INFO: IMEI packet received {"connection_id":145916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":145916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:38:50] local.INFO: TCP Data received {"connection_id":145916,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb433238012d4986c006737c60000900262b..."} 
[2026-08-01 08:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb433238012d4986c006737c60000900262b..."} 
[2026-08-01 08:38:50] local.INFO: Processing buffer {"connection_id":145916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb433238012d4986c006737c60000900262b..."} 
[2026-08-01 08:38:50] local.INFO: Packet analysis {"connection_id":145916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb43"} 
[2026-08-01 08:38:50] local.INFO: Extracted packet for processing {"connection_id":145916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb43"} 
[2026-08-01 08:38:50] local.INFO: GPS Element Parsed {"raw_longitude":759793344,"raw_latitude":108231776,"longitude_deg":75.9793344,"latitude_deg":10.8231776,"altitude":9,"angle":38,"satellites":43,"speed":53,"hex_longitude":"2d4986c0","hex_latitude":"06737c60","is_valid_coordinates":true} 
[2026-08-01 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-08-01 08:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101609984001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365875001087229952,"note":"Value kept but may cause issues"} 
[2026-08-01 08:38:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5291377746144866304,"note":"Value kept but may cause issues"} 
[2026-08-01 08:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,17,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 08:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785553171000,"timestamp_ms":1785553171000,"timestamp_seconds":1785553171,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb433238"} 
[2026-08-01 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-08-01 08:38: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-08-01 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 08:38:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 08:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":145916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":145916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":145916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101609984001,"66":27745,"146":206,"17":52736,"24":53,"16":365875001087229952,"45":5291377746144866304},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,17,24,16,45]} 
[2026-08-01 08:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101609984001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:38:50] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-01 08:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365875001087229952,"km_value":365875001087229.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:38:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5291377746144866304,"description":"Unknown IO ID 45"} 
[2026-08-01 08:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101609984001,"power":27745,"unknown_146":206,"axis_x":52736,"ignition":53,"odometer":null,"unknown_45":5291377746144866304}} 
[2026-08-01 08:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":145916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:38:50] local.INFO: GPS data processed {"connection_id":145916,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:38:50] local.INFO: Acknowledgment sent {"connection_id":145916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:39:22] local.INFO: TCP Data received {"connection_id":145916,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb435178012d499e00067399f8000800252a..."} 
[2026-08-01 08:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb435178012d499e00067399f8000800252a..."} 
[2026-08-01 08:39:22] local.INFO: Processing buffer {"connection_id":145916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb435178012d499e00067399f8000800252a..."} 
[2026-08-01 08:39:22] local.INFO: Packet analysis {"connection_id":145916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb43"} 
[2026-08-01 08:39:22] local.INFO: Extracted packet for processing {"connection_id":145916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb43"} 
[2026-08-01 08:39:22] local.INFO: GPS Element Parsed {"raw_longitude":759799296,"raw_latitude":108239352,"longitude_deg":75.9799296,"latitude_deg":10.8239352,"altitude":8,"angle":37,"satellites":42,"speed":40,"hex_longitude":"2d499e00","hex_latitude":"067399f8","is_valid_coordinates":true} 
[2026-08-01 08:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 08:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101611776001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365875464943697920,"note":"Value kept but may cause issues"} 
[2026-08-01 08:39:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5298133145587834880,"note":"Value kept but may cause issues"} 
[2026-08-01 08:39:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,17,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 08:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785553179000,"timestamp_ms":1785553179000,"timestamp_seconds":1785553179,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb435178"} 
[2026-08-01 08:39:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:39:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 08:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 08:39:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 08:39:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 08:39:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":145916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":145916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":145916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:39:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101611776001,"66":27865,"146":206,"17":52736,"24":40,"16":365875464943697920,"45":5298133145587834880},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,17,24,16,45]} 
[2026-08-01 08:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101611776001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:39:22] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-01 08:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365875464943697920,"km_value":365875464943697.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:39:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5298133145587834880,"description":"Unknown IO ID 45"} 
[2026-08-01 08:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101611776001,"power":27865,"unknown_146":206,"axis_x":52736,"ignition":40,"odometer":null,"unknown_45":5298133145587834880}} 
[2026-08-01 08:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":145916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:39:22] local.INFO: GPS data processed {"connection_id":145916,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:39:22] local.INFO: Acknowledgment sent {"connection_id":145916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:39:45] local.INFO: TCP Data received {"connection_id":148448,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:39:45] local.INFO: Processing buffer {"connection_id":148448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:39:45] local.INFO: IMEI packet received {"connection_id":148448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 08:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":148448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 08:39:50] local.INFO: TCP Data received {"connection_id":148448,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:39:50] local.INFO: Processing buffer {"connection_id":148448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:39:50] local.INFO: IMEI packet received {"connection_id":148448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":148448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:39:50] local.INFO: TCP Data received {"connection_id":148448,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb435d30012d49a4800673a298000800222a..."} 
[2026-08-01 08:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb435d30012d49a4800673a298000800222a..."} 
[2026-08-01 08:39:50] local.INFO: Processing buffer {"connection_id":148448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb435d30012d49a4800673a298000800222a..."} 
[2026-08-01 08:39:50] local.INFO: Packet analysis {"connection_id":148448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb43"} 
[2026-08-01 08:39:50] local.INFO: Extracted packet for processing {"connection_id":148448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb43"} 
[2026-08-01 08:39:50] local.INFO: GPS Element Parsed {"raw_longitude":759800960,"raw_latitude":108241560,"longitude_deg":75.980096,"latitude_deg":10.824156,"altitude":8,"angle":34,"satellites":42,"speed":32,"hex_longitude":"2d49a480","hex_latitude":"0673a298","is_valid_coordinates":true} 
[2026-08-01 08:39: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-08-01 08:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101613824001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365875598087684096,"note":"Value kept but may cause issues"} 
[2026-08-01 08:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5304677438798297088,"note":"Value kept but may cause issues"} 
[2026-08-01 08:39:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,17,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 08:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785553182000,"timestamp_ms":1785553182000,"timestamp_seconds":1785553182,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb435d30"} 
[2026-08-01 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-08-01 08:39:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 08:39:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 08:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:39:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101613824001,"66":27930,"146":206,"17":52736,"24":32,"16":365875598087684096,"45":5304677438798297088},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,17,24,16,45]} 
[2026-08-01 08:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101613824001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:39:50] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-01 08:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365875598087684096,"km_value":365875598087684.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5304677438798297088,"description":"Unknown IO ID 45"} 
[2026-08-01 08:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101613824001,"power":27930,"unknown_146":206,"axis_x":52736,"ignition":32,"odometer":null,"unknown_45":5304677438798297088}} 
[2026-08-01 08:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":148448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:39:50] local.INFO: GPS data processed {"connection_id":148448,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:39:50] local.INFO: Acknowledgment sent {"connection_id":148448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:40:22] local.INFO: TCP Data received {"connection_id":148448,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb480880012d49b1000673b0f00008002630..."} 
[2026-08-01 08:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb480880012d49b1000673b0f00008002630..."} 
[2026-08-01 08:40:22] local.INFO: Processing buffer {"connection_id":148448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb480880012d49b1000673b0f00008002630..."} 
[2026-08-01 08:40:22] local.INFO: Packet analysis {"connection_id":148448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb48"} 
[2026-08-01 08:40:22] local.INFO: Extracted packet for processing {"connection_id":148448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb48"} 
[2026-08-01 08:40:22] local.INFO: GPS Element Parsed {"raw_longitude":759804160,"raw_latitude":108245232,"longitude_deg":75.980416,"latitude_deg":10.8245232,"altitude":8,"angle":38,"satellites":48,"speed":0,"hex_longitude":"2d49b100","hex_latitude":"0673b0f0","is_valid_coordinates":true} 
[2026-08-01 08:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 08:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101614592001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365875598087684096,"note":"Value kept but may cause issues"} 
[2026-08-01 08:40:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5306507026147481600,"note":"Value kept but may cause issues"} 
[2026-08-01 08:40:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,17,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 08:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785553488000,"timestamp_ms":1785553488000,"timestamp_seconds":1785553488,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb480880"} 
[2026-08-01 08:40:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:40:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 08:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-01 08:40:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 08:40:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 08:40:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:40:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101614592001,"66":26484,"146":206,"17":52736,"24":0,"16":365875598087684096,"45":5306507026147481600},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,17,24,16,45]} 
[2026-08-01 08:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101614592001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:40:22] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-01 08:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365875598087684096,"km_value":365875598087684.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:40:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5306507026147481600,"description":"Unknown IO ID 45"} 
[2026-08-01 08:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101614592001,"power":26484,"unknown_146":206,"axis_x":52736,"ignition":0,"odometer":null,"unknown_45":5306507026147481600}} 
[2026-08-01 08:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":148448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:40:22] local.INFO: GPS data processed {"connection_id":148448,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:40:22] local.INFO: Acknowledgment sent {"connection_id":148448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:40:44] local.INFO: TCP Data received {"connection_id":146111,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:40:44] local.INFO: Processing buffer {"connection_id":146111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:40:44] local.INFO: IMEI packet received {"connection_id":146111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 08:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":146111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 08:40:49] local.INFO: TCP Data received {"connection_id":146111,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:40:49] local.INFO: Processing buffer {"connection_id":146111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:40:49] local.INFO: IMEI packet received {"connection_id":146111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":146111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:40:50] local.INFO: TCP Data received {"connection_id":146111,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb480880012d49b1000673b0f00008002630..."} 
[2026-08-01 08:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb480880012d49b1000673b0f00008002630..."} 
[2026-08-01 08:40:50] local.INFO: Processing buffer {"connection_id":146111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb480880012d49b1000673b0f00008002630..."} 
[2026-08-01 08:40:50] local.INFO: Packet analysis {"connection_id":146111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb48"} 
[2026-08-01 08:40:50] local.INFO: Extracted packet for processing {"connection_id":146111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb48"} 
[2026-08-01 08:40:50] local.INFO: GPS Element Parsed {"raw_longitude":759804160,"raw_latitude":108245232,"longitude_deg":75.980416,"latitude_deg":10.8245232,"altitude":8,"angle":38,"satellites":48,"speed":0,"hex_longitude":"2d49b100","hex_latitude":"0673b0f0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 08:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101614592001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365875598087684096,"note":"Value kept but may cause issues"} 
[2026-08-01 08:40:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5306507026147481600,"note":"Value kept but may cause issues"} 
[2026-08-01 08:40:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,17,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 08:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785553488000,"timestamp_ms":1785553488000,"timestamp_seconds":1785553488,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb480880"} 
[2026-08-01 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-08-01 08:40:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-01 08:40:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 08: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-08-01 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-08-01 08:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:40:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101614592001,"66":26484,"146":206,"17":52736,"24":0,"16":365875598087684096,"45":5306507026147481600},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,17,24,16,45]} 
[2026-08-01 08:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101614592001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:40:50] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-01 08:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365875598087684096,"km_value":365875598087684.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:40:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5306507026147481600,"description":"Unknown IO ID 45"} 
[2026-08-01 08:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101614592001,"power":26484,"unknown_146":206,"axis_x":52736,"ignition":0,"odometer":null,"unknown_45":5306507026147481600}} 
[2026-08-01 08:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":146111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:40:50] local.INFO: GPS data processed {"connection_id":146111,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:40:50] local.INFO: Acknowledgment sent {"connection_id":146111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:41:21] local.INFO: TCP Data received {"connection_id":146111,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb480880012d49b1000673b0f00008002630..."} 
[2026-08-01 08:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb480880012d49b1000673b0f00008002630..."} 
[2026-08-01 08:41:21] local.INFO: Processing buffer {"connection_id":146111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb480880012d49b1000673b0f00008002630..."} 
[2026-08-01 08:41:21] local.INFO: Packet analysis {"connection_id":146111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb48"} 
[2026-08-01 08:41:21] local.INFO: Extracted packet for processing {"connection_id":146111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb48"} 
[2026-08-01 08:41:21] local.INFO: GPS Element Parsed {"raw_longitude":759804160,"raw_latitude":108245232,"longitude_deg":75.980416,"latitude_deg":10.8245232,"altitude":8,"angle":38,"satellites":48,"speed":0,"hex_longitude":"2d49b100","hex_latitude":"0673b0f0","is_valid_coordinates":true} 
[2026-08-01 08:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 08:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101614592001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365875598087684096,"note":"Value kept but may cause issues"} 
[2026-08-01 08:41:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5306507026147481600,"note":"Value kept but may cause issues"} 
[2026-08-01 08:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,17,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 08:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785553488000,"timestamp_ms":1785553488000,"timestamp_seconds":1785553488,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb480880"} 
[2026-08-01 08:41:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:41:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 08:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-01 08:41:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 08:41:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 08:41:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:41:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101614592001,"66":26484,"146":206,"17":52736,"24":0,"16":365875598087684096,"45":5306507026147481600},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,17,24,16,45]} 
[2026-08-01 08:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101614592001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:41:21] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-01 08:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365875598087684096,"km_value":365875598087684.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:41:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5306507026147481600,"description":"Unknown IO ID 45"} 
[2026-08-01 08:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101614592001,"power":26484,"unknown_146":206,"axis_x":52736,"ignition":0,"odometer":null,"unknown_45":5306507026147481600}} 
[2026-08-01 08:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":146111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:41:21] local.INFO: GPS data processed {"connection_id":146111,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:41:21] local.INFO: Acknowledgment sent {"connection_id":146111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:41:44] local.INFO: TCP Data received {"connection_id":147127,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:41:44] local.INFO: Processing buffer {"connection_id":147127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:41:44] local.INFO: IMEI packet received {"connection_id":147127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 08:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":147127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 08:41:49] local.INFO: TCP Data received {"connection_id":147127,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:41:49] local.INFO: Processing buffer {"connection_id":147127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:41:49] local.INFO: IMEI packet received {"connection_id":147127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":147127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:41:50] local.INFO: TCP Data received {"connection_id":147127,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb480880012d49b1000673b0f00008002630..."} 
[2026-08-01 08:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb480880012d49b1000673b0f00008002630..."} 
[2026-08-01 08:41:50] local.INFO: Processing buffer {"connection_id":147127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb480880012d49b1000673b0f00008002630..."} 
[2026-08-01 08:41:50] local.INFO: Packet analysis {"connection_id":147127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb48"} 
[2026-08-01 08:41:50] local.INFO: Extracted packet for processing {"connection_id":147127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb48"} 
[2026-08-01 08:41:50] local.INFO: GPS Element Parsed {"raw_longitude":759804160,"raw_latitude":108245232,"longitude_deg":75.980416,"latitude_deg":10.8245232,"altitude":8,"angle":38,"satellites":48,"speed":0,"hex_longitude":"2d49b100","hex_latitude":"0673b0f0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 08:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101614592001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365875598087684096,"note":"Value kept but may cause issues"} 
[2026-08-01 08:41:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5306507026147481600,"note":"Value kept but may cause issues"} 
[2026-08-01 08:41:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,17,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 08:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785553488000,"timestamp_ms":1785553488000,"timestamp_seconds":1785553488,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb480880"} 
[2026-08-01 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-08-01 08:41:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-01 08:41:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 08:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:41:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101614592001,"66":26484,"146":206,"17":52736,"24":0,"16":365875598087684096,"45":5306507026147481600},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,17,24,16,45]} 
[2026-08-01 08:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101614592001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:41:50] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-01 08:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365875598087684096,"km_value":365875598087684.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:41:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5306507026147481600,"description":"Unknown IO ID 45"} 
[2026-08-01 08:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101614592001,"power":26484,"unknown_146":206,"axis_x":52736,"ignition":0,"odometer":null,"unknown_45":5306507026147481600}} 
[2026-08-01 08:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":147127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:41:50] local.INFO: GPS data processed {"connection_id":147127,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:41:50] local.INFO: Acknowledgment sent {"connection_id":147127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:42:21] local.INFO: TCP Data received {"connection_id":147127,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb480880012d49b1000673b0f00008002630..."} 
[2026-08-01 08:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb480880012d49b1000673b0f00008002630..."} 
[2026-08-01 08:42:21] local.INFO: Processing buffer {"connection_id":147127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb480880012d49b1000673b0f00008002630..."} 
[2026-08-01 08:42:21] local.INFO: Packet analysis {"connection_id":147127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb48"} 
[2026-08-01 08:42:21] local.INFO: Extracted packet for processing {"connection_id":147127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb48"} 
[2026-08-01 08:42:21] local.INFO: GPS Element Parsed {"raw_longitude":759804160,"raw_latitude":108245232,"longitude_deg":75.980416,"latitude_deg":10.8245232,"altitude":8,"angle":38,"satellites":48,"speed":0,"hex_longitude":"2d49b100","hex_latitude":"0673b0f0","is_valid_coordinates":true} 
[2026-08-01 08:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 08:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101614592001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365875598087684096,"note":"Value kept but may cause issues"} 
[2026-08-01 08:42:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5306507026147481600,"note":"Value kept but may cause issues"} 
[2026-08-01 08:42:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,17,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 08:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785553488000,"timestamp_ms":1785553488000,"timestamp_seconds":1785553488,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb480880"} 
[2026-08-01 08:42:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:42:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 08:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-01 08:42:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 08:42:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 08:42:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:42:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101614592001,"66":26484,"146":206,"17":52736,"24":0,"16":365875598087684096,"45":5306507026147481600},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,17,24,16,45]} 
[2026-08-01 08:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:42:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101614592001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:42:21] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-01 08:42:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365875598087684096,"km_value":365875598087684.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:42:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5306507026147481600,"description":"Unknown IO ID 45"} 
[2026-08-01 08:42:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101614592001,"power":26484,"unknown_146":206,"axis_x":52736,"ignition":0,"odometer":null,"unknown_45":5306507026147481600}} 
[2026-08-01 08:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":147127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:42:21] local.INFO: GPS data processed {"connection_id":147127,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:42:21] local.INFO: Acknowledgment sent {"connection_id":147127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:42:44] local.INFO: TCP Data received {"connection_id":145917,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:42:44] local.INFO: Processing buffer {"connection_id":145917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:42:44] local.INFO: IMEI packet received {"connection_id":145917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 08:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":145917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 08:42:49] local.INFO: TCP Data received {"connection_id":145917,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:42:49] local.INFO: Processing buffer {"connection_id":145917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:42:49] local.INFO: IMEI packet received {"connection_id":145917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":145917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:42:50] local.INFO: TCP Data received {"connection_id":145917,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb480880012d49b1000673b0f00008002630..."} 
[2026-08-01 08:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb480880012d49b1000673b0f00008002630..."} 
[2026-08-01 08:42:50] local.INFO: Processing buffer {"connection_id":145917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb480880012d49b1000673b0f00008002630..."} 
[2026-08-01 08:42:50] local.INFO: Packet analysis {"connection_id":145917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb48"} 
[2026-08-01 08:42:50] local.INFO: Extracted packet for processing {"connection_id":145917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb48"} 
[2026-08-01 08:42:50] local.INFO: GPS Element Parsed {"raw_longitude":759804160,"raw_latitude":108245232,"longitude_deg":75.980416,"latitude_deg":10.8245232,"altitude":8,"angle":38,"satellites":48,"speed":0,"hex_longitude":"2d49b100","hex_latitude":"0673b0f0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 08:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101614592001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365875598087684096,"note":"Value kept but may cause issues"} 
[2026-08-01 08:42:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5306507026147481600,"note":"Value kept but may cause issues"} 
[2026-08-01 08:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,17,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 08:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785553488000,"timestamp_ms":1785553488000,"timestamp_seconds":1785553488,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb480880"} 
[2026-08-01 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-08-01 08:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-01 08:42:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 08:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":145917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":145917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":145917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101614592001,"66":26484,"146":206,"17":52736,"24":0,"16":365875598087684096,"45":5306507026147481600},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,17,24,16,45]} 
[2026-08-01 08:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101614592001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:42:50] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-01 08:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365875598087684096,"km_value":365875598087684.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:42:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5306507026147481600,"description":"Unknown IO ID 45"} 
[2026-08-01 08:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101614592001,"power":26484,"unknown_146":206,"axis_x":52736,"ignition":0,"odometer":null,"unknown_45":5306507026147481600}} 
[2026-08-01 08:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":145917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:42:50] local.INFO: GPS data processed {"connection_id":145917,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:42:50] local.INFO: Acknowledgment sent {"connection_id":145917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:43:21] local.INFO: TCP Data received {"connection_id":145917,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb4ed2c8012d49b1000673b0f00008002631..."} 
[2026-08-01 08:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb4ed2c8012d49b1000673b0f00008002631..."} 
[2026-08-01 08:43:21] local.INFO: Processing buffer {"connection_id":145917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb4ed2c8012d49b1000673b0f00008002631..."} 
[2026-08-01 08:43:21] local.INFO: Packet analysis {"connection_id":145917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb4e"} 
[2026-08-01 08:43:21] local.INFO: Extracted packet for processing {"connection_id":145917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb4e"} 
[2026-08-01 08:43:21] local.INFO: GPS Element Parsed {"raw_longitude":759804160,"raw_latitude":108245232,"longitude_deg":75.980416,"latitude_deg":10.8245232,"altitude":8,"angle":38,"satellites":49,"speed":0,"hex_longitude":"2d49b100","hex_latitude":"0673b0f0","is_valid_coordinates":true} 
[2026-08-01 08: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-08-01 08:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101692928001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365875598087684096,"note":"Value kept but may cause issues"} 
[2026-08-01 08:43:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5310025463357304832,"note":"Value kept but may cause issues"} 
[2026-08-01 08:43:21] 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-08-01 08:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785553933000,"timestamp_ms":1785553933000,"timestamp_seconds":1785553933,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb4ed2c8"} 
[2026-08-01 08:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:43:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 08: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":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-01 08:43:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 08: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-08-01 08:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":145917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":145917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":145917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:43:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101692928001,"66":26039,"218":206,"80":60160,"24":0,"16":365875598087684096,"45":5310025463357304832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-08-01 08:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101692928001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:43:21] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-01 08:43:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-01 08:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365875598087684096,"km_value":365875598087684.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:43:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5310025463357304832,"description":"Unknown IO ID 45"} 
[2026-08-01 08:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101692928001,"power":26039,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5310025463357304832}} 
[2026-08-01 08:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":145917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:43:21] local.INFO: GPS data processed {"connection_id":145917,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:43:21] local.INFO: Acknowledgment sent {"connection_id":145917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:43:45] local.INFO: TCP Data received {"connection_id":146112,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:43:45] local.INFO: Processing buffer {"connection_id":146112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:43:45] local.INFO: IMEI packet received {"connection_id":146112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 08:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":146112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 08:43:49] local.INFO: TCP Data received {"connection_id":146112,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:43:49] local.INFO: Processing buffer {"connection_id":146112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:43:49] local.INFO: IMEI packet received {"connection_id":146112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":146112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:43:50] local.INFO: TCP Data received {"connection_id":146112,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb4ed2c8012d49b1000673b0f00008002631..."} 
[2026-08-01 08:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb4ed2c8012d49b1000673b0f00008002631..."} 
[2026-08-01 08:43:50] local.INFO: Processing buffer {"connection_id":146112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb4ed2c8012d49b1000673b0f00008002631..."} 
[2026-08-01 08:43:50] local.INFO: Packet analysis {"connection_id":146112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb4e"} 
[2026-08-01 08:43:50] local.INFO: Extracted packet for processing {"connection_id":146112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb4e"} 
[2026-08-01 08:43:50] local.INFO: GPS Element Parsed {"raw_longitude":759804160,"raw_latitude":108245232,"longitude_deg":75.980416,"latitude_deg":10.8245232,"altitude":8,"angle":38,"satellites":49,"speed":0,"hex_longitude":"2d49b100","hex_latitude":"0673b0f0","is_valid_coordinates":true} 
[2026-08-01 08: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-08-01 08:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101692928001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365875598087684096,"note":"Value kept but may cause issues"} 
[2026-08-01 08:43:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5310025463357304832,"note":"Value kept but may cause issues"} 
[2026-08-01 08:43:50] 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-08-01 08:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785553933000,"timestamp_ms":1785553933000,"timestamp_seconds":1785553933,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb4ed2c8"} 
[2026-08-01 08:43:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:43:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 08: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":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-01 08:43:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 08: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-08-01 08:43:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:43:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101692928001,"66":26039,"218":206,"80":60160,"24":0,"16":365875598087684096,"45":5310025463357304832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-08-01 08:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101692928001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:43:50] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-01 08:43:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-01 08:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365875598087684096,"km_value":365875598087684.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:43:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5310025463357304832,"description":"Unknown IO ID 45"} 
[2026-08-01 08:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101692928001,"power":26039,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5310025463357304832}} 
[2026-08-01 08:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":146112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:43:50] local.INFO: GPS data processed {"connection_id":146112,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:43:50] local.INFO: Acknowledgment sent {"connection_id":146112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:44:21] local.INFO: TCP Data received {"connection_id":146112,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb4ed2c8012d49b1000673b0f00008002631..."} 
[2026-08-01 08:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb4ed2c8012d49b1000673b0f00008002631..."} 
[2026-08-01 08:44:21] local.INFO: Processing buffer {"connection_id":146112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb4ed2c8012d49b1000673b0f00008002631..."} 
[2026-08-01 08:44:21] local.INFO: Packet analysis {"connection_id":146112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb4e"} 
[2026-08-01 08:44:21] local.INFO: Extracted packet for processing {"connection_id":146112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb4e"} 
[2026-08-01 08:44:21] local.INFO: GPS Element Parsed {"raw_longitude":759804160,"raw_latitude":108245232,"longitude_deg":75.980416,"latitude_deg":10.8245232,"altitude":8,"angle":38,"satellites":49,"speed":0,"hex_longitude":"2d49b100","hex_latitude":"0673b0f0","is_valid_coordinates":true} 
[2026-08-01 08:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 08:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101692928001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365875598087684096,"note":"Value kept but may cause issues"} 
[2026-08-01 08:44:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5310025463357304832,"note":"Value kept but may cause issues"} 
[2026-08-01 08:44:21] 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-08-01 08:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785553933000,"timestamp_ms":1785553933000,"timestamp_seconds":1785553933,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb4ed2c8"} 
[2026-08-01 08:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:44:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 08:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-01 08:44:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 08:44:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 08:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:44:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101692928001,"66":26039,"218":206,"80":60160,"24":0,"16":365875598087684096,"45":5310025463357304832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-08-01 08:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101692928001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:44:21] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-01 08:44:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-01 08:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365875598087684096,"km_value":365875598087684.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:44:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5310025463357304832,"description":"Unknown IO ID 45"} 
[2026-08-01 08:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101692928001,"power":26039,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5310025463357304832}} 
[2026-08-01 08:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":146112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:44:21] local.INFO: GPS data processed {"connection_id":146112,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:44:21] local.INFO: Acknowledgment sent {"connection_id":146112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:44:45] local.INFO: TCP Data received {"connection_id":145918,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:44:45] local.INFO: Processing buffer {"connection_id":145918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:44:45] local.INFO: IMEI packet received {"connection_id":145918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 08:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":145918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 08:44:49] local.INFO: TCP Data received {"connection_id":145918,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:44:49] local.INFO: Processing buffer {"connection_id":145918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:44:49] local.INFO: IMEI packet received {"connection_id":145918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":145918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:44:50] local.INFO: TCP Data received {"connection_id":145918,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb4ed2c8012d49b1000673b0f00008002631..."} 
[2026-08-01 08:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb4ed2c8012d49b1000673b0f00008002631..."} 
[2026-08-01 08:44:50] local.INFO: Processing buffer {"connection_id":145918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb4ed2c8012d49b1000673b0f00008002631..."} 
[2026-08-01 08:44:50] local.INFO: Packet analysis {"connection_id":145918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb4e"} 
[2026-08-01 08:44:50] local.INFO: Extracted packet for processing {"connection_id":145918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb4e"} 
[2026-08-01 08:44:50] local.INFO: GPS Element Parsed {"raw_longitude":759804160,"raw_latitude":108245232,"longitude_deg":75.980416,"latitude_deg":10.8245232,"altitude":8,"angle":38,"satellites":49,"speed":0,"hex_longitude":"2d49b100","hex_latitude":"0673b0f0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 08:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101692928001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365875598087684096,"note":"Value kept but may cause issues"} 
[2026-08-01 08:44:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5310025463357304832,"note":"Value kept but may cause issues"} 
[2026-08-01 08:44:50] 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-08-01 08:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785553933000,"timestamp_ms":1785553933000,"timestamp_seconds":1785553933,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb4ed2c8"} 
[2026-08-01 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-08-01 08:44:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 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":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-01 08:44:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 08:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":145918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":145918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":145918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:44:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101692928001,"66":26039,"218":206,"80":60160,"24":0,"16":365875598087684096,"45":5310025463357304832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-08-01 08:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101692928001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:44:50] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-01 08:44:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-01 08:44:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365875598087684096,"km_value":365875598087684.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:44:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5310025463357304832,"description":"Unknown IO ID 45"} 
[2026-08-01 08:44:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101692928001,"power":26039,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5310025463357304832}} 
[2026-08-01 08:44:50] local.INFO: DEBUG: GPS processor result {"connection_id":145918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:44:50] local.INFO: GPS data processed {"connection_id":145918,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:44:50] local.INFO: Acknowledgment sent {"connection_id":145918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:45:21] local.INFO: TCP Data received {"connection_id":145918,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb50b728012d49b1000673b0f00008002630..."} 
[2026-08-01 08:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb50b728012d49b1000673b0f00008002630..."} 
[2026-08-01 08:45:21] local.INFO: Processing buffer {"connection_id":145918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb50b728012d49b1000673b0f00008002630..."} 
[2026-08-01 08:45:21] local.INFO: Packet analysis {"connection_id":145918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb50"} 
[2026-08-01 08:45:21] local.INFO: Extracted packet for processing {"connection_id":145918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb50"} 
[2026-08-01 08:45:21] local.INFO: GPS Element Parsed {"raw_longitude":759804160,"raw_latitude":108245232,"longitude_deg":75.980416,"latitude_deg":10.8245232,"altitude":8,"angle":38,"satellites":48,"speed":0,"hex_longitude":"2d49b100","hex_latitude":"0673b0f0","is_valid_coordinates":true} 
[2026-08-01 08:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 08:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101806848001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365875598087684096,"note":"Value kept but may cause issues"} 
[2026-08-01 08:45:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5310025463357304832,"note":"Value kept but may cause issues"} 
[2026-08-01 08:45:21] 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-08-01 08:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785554057000,"timestamp_ms":1785554057000,"timestamp_seconds":1785554057,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb50b728"} 
[2026-08-01 08:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:45:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 08: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-01 08:45:21] 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-08-01 08: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-08-01 08:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":145918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":145918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":145918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:45:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101806848001,"66":26115,"218":206,"80":60160,"24":0,"16":365875598087684096,"45":5310025463357304832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-08-01 08:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101806848001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:45:21] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-01 08:45:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-01 08:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365875598087684096,"km_value":365875598087684.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:45:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5310025463357304832,"description":"Unknown IO ID 45"} 
[2026-08-01 08:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101806848001,"power":26115,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5310025463357304832}} 
[2026-08-01 08:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":145918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:45:21] local.INFO: GPS data processed {"connection_id":145918,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:45:21] local.INFO: Acknowledgment sent {"connection_id":145918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:45:45] local.INFO: TCP Data received {"connection_id":146113,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:45:45] local.INFO: Processing buffer {"connection_id":146113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:45:45] local.INFO: IMEI packet received {"connection_id":146113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 08:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":146113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 08:45:49] local.INFO: TCP Data received {"connection_id":146113,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:45:49] local.INFO: Processing buffer {"connection_id":146113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:45:49] local.INFO: IMEI packet received {"connection_id":146113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":146113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:45:50] local.INFO: TCP Data received {"connection_id":146113,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb511cb8012d49ae800673b1300008002c31..."} 
[2026-08-01 08:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb511cb8012d49ae800673b1300008002c31..."} 
[2026-08-01 08:45:50] local.INFO: Processing buffer {"connection_id":146113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb511cb8012d49ae800673b1300008002c31..."} 
[2026-08-01 08:45:50] local.INFO: Packet analysis {"connection_id":146113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb51"} 
[2026-08-01 08:45:50] local.INFO: Extracted packet for processing {"connection_id":146113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb51"} 
[2026-08-01 08:45:50] local.INFO: GPS Element Parsed {"raw_longitude":759803520,"raw_latitude":108245296,"longitude_deg":75.980352,"latitude_deg":10.8245296,"altitude":8,"angle":44,"satellites":49,"speed":0,"hex_longitude":"2d49ae80","hex_latitude":"0673b130","is_valid_coordinates":true} 
[2026-08-01 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-08-01 08:45:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101838592001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:45:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365875598087684096,"note":"Value kept but may cause issues"} 
[2026-08-01 08:45:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5310025463357304832,"note":"Value kept but may cause issues"} 
[2026-08-01 08:45:50] 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-08-01 08:45:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785554083000,"timestamp_ms":1785554083000,"timestamp_seconds":1785554083,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb511cb8"} 
[2026-08-01 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-08-01 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-08-01 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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-01 08:45:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 08:45:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:45:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:45:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:45:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:45:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:45:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:45:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:45:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101838592001,"66":27713,"218":206,"80":60160,"24":0,"16":365875598087684096,"45":5310025463357304832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-08-01 08:45:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:45:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:45:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101838592001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:45:50] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-01 08:45:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-01 08:45:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365875598087684096,"km_value":365875598087684.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:45:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5310025463357304832,"description":"Unknown IO ID 45"} 
[2026-08-01 08:45:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101838592001,"power":27713,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5310025463357304832}} 
[2026-08-01 08:45:50] local.INFO: DEBUG: GPS processor result {"connection_id":146113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:45:50] local.INFO: GPS data processed {"connection_id":146113,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:45:50] local.INFO: Acknowledgment sent {"connection_id":146113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:46:21] local.INFO: TCP Data received {"connection_id":146113,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb516ec0012d49ae800673b1300008002c31..."} 
[2026-08-01 08:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb516ec0012d49ae800673b1300008002c31..."} 
[2026-08-01 08:46:21] local.INFO: Processing buffer {"connection_id":146113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb516ec0012d49ae800673b1300008002c31..."} 
[2026-08-01 08:46:21] local.INFO: Packet analysis {"connection_id":146113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb51"} 
[2026-08-01 08:46:21] local.INFO: Extracted packet for processing {"connection_id":146113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb51"} 
[2026-08-01 08:46:21] local.INFO: GPS Element Parsed {"raw_longitude":759803520,"raw_latitude":108245296,"longitude_deg":75.980352,"latitude_deg":10.8245296,"altitude":8,"angle":44,"satellites":49,"speed":0,"hex_longitude":"2d49ae80","hex_latitude":"0673b130","is_valid_coordinates":true} 
[2026-08-01 08:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 08:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101845248001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365875598087684096,"note":"Value kept but may cause issues"} 
[2026-08-01 08:46:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5309321775915544576,"note":"Value kept but may cause issues"} 
[2026-08-01 08:46:21] 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-08-01 08:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785554104000,"timestamp_ms":1785554104000,"timestamp_seconds":1785554104,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb516ec0"} 
[2026-08-01 08:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:46: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-08-01 08:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 08:46:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 08:46:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 08:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:46:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101845248001,"66":27745,"218":206,"80":60160,"24":0,"16":365875598087684096,"45":5309321775915544576},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-08-01 08:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101845248001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:46:21] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-01 08:46:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-01 08:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365875598087684096,"km_value":365875598087684.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:46:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5309321775915544576,"description":"Unknown IO ID 45"} 
[2026-08-01 08:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101845248001,"power":27745,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5309321775915544576}} 
[2026-08-01 08:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":146113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:46:21] local.INFO: GPS data processed {"connection_id":146113,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:46:21] local.INFO: Acknowledgment sent {"connection_id":146113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:46:44] local.INFO: TCP Data received {"connection_id":145919,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:46:44] local.INFO: Processing buffer {"connection_id":145919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:46:44] local.INFO: IMEI packet received {"connection_id":145919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 08:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":145919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 08:46:49] local.INFO: TCP Data received {"connection_id":145919,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:46:49] local.INFO: Processing buffer {"connection_id":145919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:46:49] local.INFO: IMEI packet received {"connection_id":145919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":145919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:46:50] local.INFO: TCP Data received {"connection_id":145919,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb518e00012d49af000673b1c00009003e31..."} 
[2026-08-01 08:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb518e00012d49af000673b1c00009003e31..."} 
[2026-08-01 08:46:50] local.INFO: Processing buffer {"connection_id":145919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb518e00012d49af000673b1c00009003e31..."} 
[2026-08-01 08:46:50] local.INFO: Packet analysis {"connection_id":145919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb51"} 
[2026-08-01 08:46:50] local.INFO: Extracted packet for processing {"connection_id":145919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb51"} 
[2026-08-01 08:46:50] local.INFO: GPS Element Parsed {"raw_longitude":759803648,"raw_latitude":108245440,"longitude_deg":75.9803648,"latitude_deg":10.824544,"altitude":9,"angle":62,"satellites":49,"speed":3,"hex_longitude":"2d49af00","hex_latitude":"0673b1c0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 08:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101850624001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:46:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365875606677618688,"note":"Value kept but may cause issues"} 
[2026-08-01 08:46:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5309321775915544576,"note":"Value kept but may cause issues"} 
[2026-08-01 08:46:50] 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-08-01 08:46:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785554112000,"timestamp_ms":1785554112000,"timestamp_seconds":1785554112,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb518e00"} 
[2026-08-01 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-08-01 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-08-01 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 08:46:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 08:46:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:46:50] local.INFO: Teltonika packet parsed successfully {"connection_id":145919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:46:50] local.INFO: Passing IMEI to GPS processor {"connection_id":145919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:46:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":145919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:46:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:46:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:46:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:46:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101850624001,"66":27658,"218":206,"80":60160,"24":3,"16":365875606677618688,"45":5309321775915544576},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-08-01 08:46:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:46:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:46:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101850624001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:46:50] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-01 08:46:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-01 08:46:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365875606677618688,"km_value":365875606677618.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:46:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5309321775915544576,"description":"Unknown IO ID 45"} 
[2026-08-01 08:46:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101850624001,"power":27658,"unknown_218":206,"unknown_80":60160,"ignition":3,"odometer":null,"unknown_45":5309321775915544576}} 
[2026-08-01 08:46:50] local.INFO: DEBUG: GPS processor result {"connection_id":145919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:46:50] local.INFO: GPS data processed {"connection_id":145919,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:46:50] local.INFO: Acknowledgment sent {"connection_id":145919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:47:21] local.INFO: TCP Data received {"connection_id":145919,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb51a188012d49b2c00673b4180009002d31..."} 
[2026-08-01 08:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb51a188012d49b2c00673b4180009002d31..."} 
[2026-08-01 08:47:21] local.INFO: Processing buffer {"connection_id":145919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb51a188012d49b2c00673b4180009002d31..."} 
[2026-08-01 08:47:21] local.INFO: Packet analysis {"connection_id":145919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb51"} 
[2026-08-01 08:47:21] local.INFO: Extracted packet for processing {"connection_id":145919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb51"} 
[2026-08-01 08:47:21] local.INFO: GPS Element Parsed {"raw_longitude":759804608,"raw_latitude":108246040,"longitude_deg":75.9804608,"latitude_deg":10.824604,"altitude":9,"angle":45,"satellites":49,"speed":13,"hex_longitude":"2d49b2c0","hex_latitude":"0673b418","is_valid_coordinates":true} 
[2026-08-01 08: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-08-01 08:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101852672001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365875662512193536,"note":"Value kept but may cause issues"} 
[2026-08-01 08:47:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5309462513403936768,"note":"Value kept but may cause issues"} 
[2026-08-01 08:47:21] 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-08-01 08:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785554117000,"timestamp_ms":1785554117000,"timestamp_seconds":1785554117,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb51a188"} 
[2026-08-01 08:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:47:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 08:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 08:47:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 08: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-08-01 08:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":145919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":145919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":145919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:47:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101852672001,"66":27767,"218":206,"80":60160,"24":13,"16":365875662512193536,"45":5309462513403936768},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-08-01 08:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101852672001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:47:21] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-01 08:47:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-01 08:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365875662512193536,"km_value":365875662512193.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:47:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5309462513403936768,"description":"Unknown IO ID 45"} 
[2026-08-01 08:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101852672001,"power":27767,"unknown_218":206,"unknown_80":60160,"ignition":13,"odometer":null,"unknown_45":5309462513403936768}} 
[2026-08-01 08:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":145919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:47:21] local.INFO: GPS data processed {"connection_id":145919,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:47:21] local.INFO: Acknowledgment sent {"connection_id":145919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:47:44] local.INFO: TCP Data received {"connection_id":147128,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:47:44] local.INFO: Processing buffer {"connection_id":147128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:47:44] local.INFO: IMEI packet received {"connection_id":147128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 08:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":147128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 08:47:50] local.INFO: TCP Data received {"connection_id":147128,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:47:50] local.INFO: Processing buffer {"connection_id":147128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:47:50] local.INFO: IMEI packet received {"connection_id":147128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":147128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:47:50] local.INFO: TCP Data received {"connection_id":147128,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb51e3f0012d49ca400673d1580008002630..."} 
[2026-08-01 08:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb51e3f0012d49ca400673d1580008002630..."} 
[2026-08-01 08:47:50] local.INFO: Processing buffer {"connection_id":147128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb51e3f0012d49ca400673d1580008002630..."} 
[2026-08-01 08:47:50] local.INFO: Packet analysis {"connection_id":147128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb51"} 
[2026-08-01 08:47:50] local.INFO: Extracted packet for processing {"connection_id":147128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb51"} 
[2026-08-01 08:47:50] local.INFO: GPS Element Parsed {"raw_longitude":759810624,"raw_latitude":108253528,"longitude_deg":75.9810624,"latitude_deg":10.8253528,"altitude":8,"angle":38,"satellites":48,"speed":28,"hex_longitude":"2d49ca40","hex_latitude":"0673d158","is_valid_coordinates":true} 
[2026-08-01 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-08-01 08:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101853952001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365876122073694208,"note":"Value kept but may cause issues"} 
[2026-08-01 08:47:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5310518044566755328,"note":"Value kept but may cause issues"} 
[2026-08-01 08:47:50] 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-08-01 08:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785554134000,"timestamp_ms":1785554134000,"timestamp_seconds":1785554134,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb51e3f0"} 
[2026-08-01 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-08-01 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-08-01 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 08:47:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 08:47:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:47:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:47:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:47:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:47:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:47:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:47:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:47:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101853952001,"66":27647,"218":206,"80":60160,"24":28,"16":365876122073694208,"45":5310518044566755328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-08-01 08:47:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:47:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:47:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101853952001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:47:50] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-01 08:47:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-01 08:47:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365876122073694208,"km_value":365876122073694.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:47:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5310518044566755328,"description":"Unknown IO ID 45"} 
[2026-08-01 08:47:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101853952001,"power":27647,"unknown_218":206,"unknown_80":60160,"ignition":28,"odometer":null,"unknown_45":5310518044566755328}} 
[2026-08-01 08:47:50] local.INFO: DEBUG: GPS processor result {"connection_id":147128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:47:50] local.INFO: GPS data processed {"connection_id":147128,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:47:50] local.INFO: Acknowledgment sent {"connection_id":147128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:48:24] local.INFO: TCP Data received {"connection_id":147128,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb539970012d4b0ec006755da0000b00252f..."} 
[2026-08-01 08:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb539970012d4b0ec006755da0000b00252f..."} 
[2026-08-01 08:48:24] local.INFO: Processing buffer {"connection_id":147128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb539970012d4b0ec006755da0000b00252f..."} 
[2026-08-01 08:48:24] local.INFO: Packet analysis {"connection_id":147128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb53"} 
[2026-08-01 08:48:24] local.INFO: Extracted packet for processing {"connection_id":147128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb53"} 
[2026-08-01 08:48:24] local.INFO: GPS Element Parsed {"raw_longitude":759893696,"raw_latitude":108354976,"longitude_deg":75.9893696,"latitude_deg":10.8354976,"altitude":11,"angle":37,"satellites":47,"speed":54,"hex_longitude":"2d4b0ec0","hex_latitude":"06755da0","is_valid_coordinates":true} 
[2026-08-01 08:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 08:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101885184001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365882435675619328,"note":"Value kept but may cause issues"} 
[2026-08-01 08:48:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5402067780767825920,"note":"Value kept but may cause issues"} 
[2026-08-01 08:48:24] 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-08-01 08:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785554246000,"timestamp_ms":1785554246000,"timestamp_seconds":1785554246,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb539970"} 
[2026-08-01 08:48:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:48:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 08:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 08:48:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 08:48:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 08:48:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":147128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":147128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":147128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:48:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101885184001,"66":27604,"236":206,"80":60160,"24":54,"16":365882435675619328,"45":5402067780767825920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,80,24,16,45]} 
[2026-08-01 08:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101885184001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:48:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-01 08:48:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-01 08:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365882435675619328,"km_value":365882435675619.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:48:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5402067780767825920,"description":"Unknown IO ID 45"} 
[2026-08-01 08:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101885184001,"power":27604,"unknown_236":206,"unknown_80":60160,"ignition":54,"odometer":null,"unknown_45":5402067780767825920}} 
[2026-08-01 08:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":147128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:48:24] local.INFO: GPS data processed {"connection_id":147128,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:48:24] local.INFO: Acknowledgment sent {"connection_id":147128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:48:47] local.INFO: TCP Data received {"connection_id":145920,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:48:47] local.INFO: Processing buffer {"connection_id":145920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:48:47] local.INFO: IMEI packet received {"connection_id":145920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 08:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":145920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 08:48:55] local.INFO: TCP Data received {"connection_id":145920,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:48:55] local.INFO: Processing buffer {"connection_id":145920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:48:55] local.INFO: IMEI packet received {"connection_id":145920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":145920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:48:56] local.INFO: TCP Data received {"connection_id":145920,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:48:56] local.INFO: Processing buffer {"connection_id":145920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:48:56] local.INFO: IMEI packet received {"connection_id":145920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":145920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:48:57] local.INFO: TCP Data received {"connection_id":145920,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb53b4c8012d4b268006757b98000b002630..."} 
[2026-08-01 08:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb53b4c8012d4b268006757b98000b002630..."} 
[2026-08-01 08:48:57] local.INFO: Processing buffer {"connection_id":145920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb53b4c8012d4b268006757b98000b002630..."} 
[2026-08-01 08:48:57] local.INFO: Packet analysis {"connection_id":145920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb53"} 
[2026-08-01 08:48:57] local.INFO: Extracted packet for processing {"connection_id":145920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb53"} 
[2026-08-01 08:48:57] local.INFO: GPS Element Parsed {"raw_longitude":759899776,"raw_latitude":108362648,"longitude_deg":75.9899776,"latitude_deg":10.8362648,"altitude":11,"angle":38,"satellites":48,"speed":55,"hex_longitude":"2d4b2680","hex_latitude":"06757b98","is_valid_coordinates":true} 
[2026-08-01 08:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 08:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101886976001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365882908122021888,"note":"Value kept but may cause issues"} 
[2026-08-01 08:48:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5408471336489951232,"note":"Value kept but may cause issues"} 
[2026-08-01 08:48:57] 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-08-01 08:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785554253000,"timestamp_ms":1785554253000,"timestamp_seconds":1785554253,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb53b4c8"} 
[2026-08-01 08:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:48:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 08:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-01 08:48:57] 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-08-01 08:48:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 08:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":145920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":145920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":145920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:48: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-08-01 08:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101886976001,"66":27865,"236":206,"80":60160,"24":55,"16":365882908122021888,"45":5408471336489951232},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,80,24,16,45]} 
[2026-08-01 08:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101886976001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:48:57] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-01 08:48:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-01 08:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365882908122021888,"km_value":365882908122021.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:48:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5408471336489951232,"description":"Unknown IO ID 45"} 
[2026-08-01 08:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101886976001,"power":27865,"unknown_236":206,"unknown_80":60160,"ignition":55,"odometer":null,"unknown_45":5408471336489951232}} 
[2026-08-01 08:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":145920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:48:57] local.INFO: GPS data processed {"connection_id":145920,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:48:57] local.INFO: Acknowledgment sent {"connection_id":145920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:48:58] local.INFO: TCP Data received {"connection_id":145920,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb53d020012d4b3e80067599d8000c002430..."} 
[2026-08-01 08:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb53d020012d4b3e80067599d8000c002430..."} 
[2026-08-01 08:48:58] local.INFO: Processing buffer {"connection_id":145920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb53d020012d4b3e80067599d8000c002430..."} 
[2026-08-01 08:48:58] local.INFO: Packet analysis {"connection_id":145920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb53"} 
[2026-08-01 08:48:58] local.INFO: Extracted packet for processing {"connection_id":145920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb53"} 
[2026-08-01 08:48:58] local.INFO: GPS Element Parsed {"raw_longitude":759905920,"raw_latitude":108370392,"longitude_deg":75.990592,"latitude_deg":10.8370392,"altitude":12,"angle":36,"satellites":48,"speed":56,"hex_longitude":"2d4b3e80","hex_latitude":"067599d8","is_valid_coordinates":true} 
[2026-08-01 08:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 08:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101888768001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365883384863391744,"note":"Value kept but may cause issues"} 
[2026-08-01 08:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5415156367188793344,"note":"Value kept but may cause issues"} 
[2026-08-01 08:48:58] 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-08-01 08:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785554260000,"timestamp_ms":1785554260000,"timestamp_seconds":1785554260,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb53d020"} 
[2026-08-01 08:48:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:48: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-08-01 08:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 08:48:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 08:48: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-08-01 08:48:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":145920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":145920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":145920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:48:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101888768001,"66":27843,"236":206,"80":60160,"24":56,"16":365883384863391744,"45":5415156367188793344},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,80,24,16,45]} 
[2026-08-01 08:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101888768001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:48:58] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-01 08:48:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-01 08:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365883384863391744,"km_value":365883384863391.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5415156367188793344,"description":"Unknown IO ID 45"} 
[2026-08-01 08:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101888768001,"power":27843,"unknown_236":206,"unknown_80":60160,"ignition":56,"odometer":null,"unknown_45":5415156367188793344}} 
[2026-08-01 08:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":145920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:48:58] local.INFO: GPS data processed {"connection_id":145920,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:48:58] local.INFO: Acknowledgment sent {"connection_id":145920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:49:29] local.INFO: TCP Data received {"connection_id":145920,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb53eb78012d4b56000675b890000c00262e..."} 
[2026-08-01 08:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb53eb78012d4b56000675b890000c00262e..."} 
[2026-08-01 08:49:29] local.INFO: Processing buffer {"connection_id":145920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb53eb78012d4b56000675b890000c00262e..."} 
[2026-08-01 08:49:29] local.INFO: Packet analysis {"connection_id":145920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb53"} 
[2026-08-01 08:49:29] local.INFO: Extracted packet for processing {"connection_id":145920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb53"} 
[2026-08-01 08:49:29] local.INFO: GPS Element Parsed {"raw_longitude":759911936,"raw_latitude":108378256,"longitude_deg":75.9911936,"latitude_deg":10.8378256,"altitude":12,"angle":38,"satellites":46,"speed":56,"hex_longitude":"2d4b5600","hex_latitude":"0675b890","is_valid_coordinates":true} 
[2026-08-01 08: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-08-01 08:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101890560001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365883861604761600,"note":"Value kept but may cause issues"} 
[2026-08-01 08:49:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5421911766631831552,"note":"Value kept but may cause issues"} 
[2026-08-01 08:49:29] 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-08-01 08:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785554267000,"timestamp_ms":1785554267000,"timestamp_seconds":1785554267,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb53eb78"} 
[2026-08-01 08:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:49: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-08-01 08: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":195,"data_length":795,"current_offset":136} 
[2026-08-01 08:49: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-08-01 08: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-08-01 08:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":145920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":145920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":145920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:49: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-08-01 08:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101890560001,"66":27647,"236":206,"80":60160,"24":56,"16":365883861604761600,"45":5421911766631831552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,80,24,16,45]} 
[2026-08-01 08:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101890560001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:49:29] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-01 08:49:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-01 08:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365883861604761600,"km_value":365883861604761.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:49:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5421911766631831552,"description":"Unknown IO ID 45"} 
[2026-08-01 08:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101890560001,"power":27647,"unknown_236":206,"unknown_80":60160,"ignition":56,"odometer":null,"unknown_45":5421911766631831552}} 
[2026-08-01 08:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":145920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:49:29] local.INFO: GPS data processed {"connection_id":145920,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:49:29] local.INFO: Acknowledgment sent {"connection_id":145920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:49:46] local.INFO: TCP Data received {"connection_id":148449,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:49:46] local.INFO: Processing buffer {"connection_id":148449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:49:46] local.INFO: IMEI packet received {"connection_id":148449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 08:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":148449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 08:49:50] local.INFO: TCP Data received {"connection_id":148449,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:49:50] local.INFO: Processing buffer {"connection_id":148449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:49:50] local.INFO: IMEI packet received {"connection_id":148449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":148449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:49:53] local.INFO: TCP Data received {"connection_id":148449,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:49:53] local.INFO: Processing buffer {"connection_id":148449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:49:53] local.INFO: IMEI packet received {"connection_id":148449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":148449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:49:54] local.INFO: TCP Data received {"connection_id":148449,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb5527e0012d4cb3c0067684f0000d005431..."} 
[2026-08-01 08:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb5527e0012d4cb3c0067684f0000d005431..."} 
[2026-08-01 08:49:54] local.INFO: Processing buffer {"connection_id":148449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb5527e0012d4cb3c0067684f0000d005431..."} 
[2026-08-01 08:49:54] local.INFO: Packet analysis {"connection_id":148449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb55"} 
[2026-08-01 08:49:54] local.INFO: Extracted packet for processing {"connection_id":148449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb55"} 
[2026-08-01 08:49:54] local.INFO: GPS Element Parsed {"raw_longitude":760001472,"raw_latitude":108430576,"longitude_deg":76.0001472,"latitude_deg":10.8430576,"altitude":13,"angle":84,"satellites":49,"speed":55,"hex_longitude":"2d4cb3c0","hex_latitude":"067684f0","is_valid_coordinates":true} 
[2026-08-01 08:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 08:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101911296001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365889157299437568,"note":"Value kept but may cause issues"} 
[2026-08-01 08:49:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5515642933891606528,"note":"Value kept but may cause issues"} 
[2026-08-01 08:49:54] 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-08-01 08:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785554348000,"timestamp_ms":1785554348000,"timestamp_seconds":1785554348,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb5527e0"} 
[2026-08-01 08:49:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:49:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 08:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 08:49:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 08:49:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 08:49:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:49:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101911296001,"66":27180,"206":206,"80":60160,"24":55,"16":365889157299437568,"45":5515642933891606528},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,80,24,16,45]} 
[2026-08-01 08:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101911296001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:49:54] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-01 08:49:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-01 08:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365889157299437568,"km_value":365889157299437.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:49:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5515642933891606528,"description":"Unknown IO ID 45"} 
[2026-08-01 08:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101911296001,"power":27180,"unknown_206":206,"unknown_80":60160,"ignition":55,"odometer":null,"unknown_45":5515642933891606528}} 
[2026-08-01 08:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":148449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:49:54] local.INFO: GPS data processed {"connection_id":148449,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:49:54] local.INFO: Acknowledgment sent {"connection_id":148449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:49:54] local.INFO: TCP Data received {"connection_id":148449,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb554338012d4cd94006768528000d006030..."} 
[2026-08-01 08:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb554338012d4cd94006768528000d006030..."} 
[2026-08-01 08:49:54] local.INFO: Processing buffer {"connection_id":148449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb554338012d4cd94006768528000d006030..."} 
[2026-08-01 08:49:54] local.INFO: Packet analysis {"connection_id":148449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb55"} 
[2026-08-01 08:49:54] local.INFO: Extracted packet for processing {"connection_id":148449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb55"} 
[2026-08-01 08:49:54] local.INFO: GPS Element Parsed {"raw_longitude":760011072,"raw_latitude":108430632,"longitude_deg":76.0011072,"latitude_deg":10.8430632,"altitude":13,"angle":96,"satellites":48,"speed":54,"hex_longitude":"2d4cd940","hex_latitude":"06768528","is_valid_coordinates":true} 
[2026-08-01 08:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 08:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101913088001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365889616860938240,"note":"Value kept but may cause issues"} 
[2026-08-01 08:49:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5526972301704491008,"note":"Value kept but may cause issues"} 
[2026-08-01 08:49:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 08:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785554355000,"timestamp_ms":1785554355000,"timestamp_seconds":1785554355,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb554338"} 
[2026-08-01 08:49:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:49:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 08:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-01 08:49:54] 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-08-01 08:49:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 08:49:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:49:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101913088001,"66":27767,"141":206,"80":60160,"24":54,"16":365889616860938240,"45":5526972301704491008},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,80,24,16,45]} 
[2026-08-01 08:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101913088001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:49:54] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-08-01 08:49:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-01 08:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365889616860938240,"km_value":365889616860938.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:49:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5526972301704491008,"description":"Unknown IO ID 45"} 
[2026-08-01 08:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101913088001,"power":27767,"unknown_141":206,"unknown_80":60160,"ignition":54,"odometer":null,"unknown_45":5526972301704491008}} 
[2026-08-01 08:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":148449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:49:54] local.INFO: GPS data processed {"connection_id":148449,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:49:54] local.INFO: Acknowledgment sent {"connection_id":148449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:50:25] local.INFO: TCP Data received {"connection_id":148449,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb554338012d4cd94006768528000d006030..."} 
[2026-08-01 08:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb554338012d4cd94006768528000d006030..."} 
[2026-08-01 08:50:25] local.INFO: Processing buffer {"connection_id":148449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb554338012d4cd94006768528000d006030..."} 
[2026-08-01 08:50:25] local.INFO: Packet analysis {"connection_id":148449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb55"} 
[2026-08-01 08:50:25] local.INFO: Extracted packet for processing {"connection_id":148449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb55"} 
[2026-08-01 08:50:25] local.INFO: GPS Element Parsed {"raw_longitude":760011072,"raw_latitude":108430632,"longitude_deg":76.0011072,"latitude_deg":10.8430632,"altitude":13,"angle":96,"satellites":48,"speed":54,"hex_longitude":"2d4cd940","hex_latitude":"06768528","is_valid_coordinates":true} 
[2026-08-01 08:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 08:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101914880001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365889616860938240,"note":"Value kept but may cause issues"} 
[2026-08-01 08:50:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5537527613331154944,"note":"Value kept but may cause issues"} 
[2026-08-01 08:50:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 08:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785554355000,"timestamp_ms":1785554355000,"timestamp_seconds":1785554355,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb554338"} 
[2026-08-01 08:50:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:50:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 08:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 08:50:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 08:50:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 08:50:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:50:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101914880001,"66":27767,"141":206,"80":60160,"24":54,"16":365889616860938240,"45":5537527613331154944},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,80,24,16,45]} 
[2026-08-01 08:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101914880001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:50:25] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-08-01 08:50:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-01 08:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365889616860938240,"km_value":365889616860938.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:50:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5537527613331154944,"description":"Unknown IO ID 45"} 
[2026-08-01 08:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101914880001,"power":27767,"unknown_141":206,"unknown_80":60160,"ignition":54,"odometer":null,"unknown_45":5537527613331154944}} 
[2026-08-01 08:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":148449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:50:26] local.INFO: GPS data processed {"connection_id":148449,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:50:26] local.INFO: Acknowledgment sent {"connection_id":148449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:50:44] local.INFO: TCP Data received {"connection_id":146114,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:50:44] local.INFO: Processing buffer {"connection_id":146114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:50:44] local.INFO: IMEI packet received {"connection_id":146114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 08:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":146114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 08:50:47] local.INFO: TCP Data received {"connection_id":146114,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:50:47] local.INFO: Processing buffer {"connection_id":146114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:50:47] local.INFO: IMEI packet received {"connection_id":146114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":146114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:50:48] local.INFO: TCP Data received {"connection_id":146114,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb555aa8012d4cf88006767e28000d006c30..."} 
[2026-08-01 08:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb555aa8012d4cf88006767e28000d006c30..."} 
[2026-08-01 08:50:48] local.INFO: Processing buffer {"connection_id":146114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb555aa8012d4cf88006767e28000d006c30..."} 
[2026-08-01 08:50:48] local.INFO: Packet analysis {"connection_id":146114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb55"} 
[2026-08-01 08:50:48] local.INFO: Extracted packet for processing {"connection_id":146114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb55"} 
[2026-08-01 08:50:48] local.INFO: GPS Element Parsed {"raw_longitude":760019072,"raw_latitude":108428840,"longitude_deg":76.0019072,"latitude_deg":10.842884,"altitude":13,"angle":108,"satellites":48,"speed":54,"hex_longitude":"2d4cf880","hex_latitude":"06767e28","is_valid_coordinates":true} 
[2026-08-01 08:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 08:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101914880001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365890007702962176,"note":"Value kept but may cause issues"} 
[2026-08-01 08:50:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5537527613331154944,"note":"Value kept but may cause issues"} 
[2026-08-01 08:50:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 08:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785554361000,"timestamp_ms":1785554361000,"timestamp_seconds":1785554361,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb555aa8"} 
[2026-08-01 08:50:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:50:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 08:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 08:50:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 08:50:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 08:50:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:50:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101914880001,"66":27767,"141":206,"80":60160,"24":54,"16":365890007702962176,"45":5537527613331154944},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,80,24,16,45]} 
[2026-08-01 08:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101914880001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:50:48] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-08-01 08:50:48] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-01 08:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365890007702962176,"km_value":365890007702962.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:50:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5537527613331154944,"description":"Unknown IO ID 45"} 
[2026-08-01 08:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101914880001,"power":27767,"unknown_141":206,"unknown_80":60160,"ignition":54,"odometer":null,"unknown_45":5537527613331154944}} 
[2026-08-01 08:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":146114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:50:48] local.INFO: GPS data processed {"connection_id":146114,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:50:48] local.INFO: Acknowledgment sent {"connection_id":146114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:51:19] local.INFO: TCP Data received {"connection_id":146114,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb556e30012d4d1140067672e0000e00782e..."} 
[2026-08-01 08:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb556e30012d4d1140067672e0000e00782e..."} 
[2026-08-01 08:51:19] local.INFO: Processing buffer {"connection_id":146114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb556e30012d4d1140067672e0000e00782e..."} 
[2026-08-01 08:51:19] local.INFO: Packet analysis {"connection_id":146114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb55"} 
[2026-08-01 08:51:19] local.INFO: Extracted packet for processing {"connection_id":146114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb55"} 
[2026-08-01 08:51:19] local.INFO: GPS Element Parsed {"raw_longitude":760025408,"raw_latitude":108425952,"longitude_deg":76.0025408,"latitude_deg":10.8425952,"altitude":14,"angle":120,"satellites":46,"speed":55,"hex_longitude":"2d4d1140","hex_latitude":"067672e0","is_valid_coordinates":true} 
[2026-08-01 08: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-08-01 08:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101916416001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365890338415443968,"note":"Value kept but may cause issues"} 
[2026-08-01 08:51:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5546323706352904192,"note":"Value kept but may cause issues"} 
[2026-08-01 08:51:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 08:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785554366000,"timestamp_ms":1785554366000,"timestamp_seconds":1785554366,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb556e30"} 
[2026-08-01 08:51:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:51: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-08-01 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 08:51:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 08: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-08-01 08:51:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":146114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":146114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":146114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:51:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101916416001,"66":27767,"141":206,"80":60160,"24":55,"16":365890338415443968,"45":5546323706352904192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,80,24,16,45]} 
[2026-08-01 08:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101916416001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:51:19] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-08-01 08:51:19] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-01 08:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365890338415443968,"km_value":365890338415443.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:51:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5546323706352904192,"description":"Unknown IO ID 45"} 
[2026-08-01 08:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101916416001,"power":27767,"unknown_141":206,"unknown_80":60160,"ignition":55,"odometer":null,"unknown_45":5546323706352904192}} 
[2026-08-01 08:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":146114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:51:19] local.INFO: GPS data processed {"connection_id":146114,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:51:19] local.INFO: Acknowledgment sent {"connection_id":146114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:51:45] local.INFO: TCP Data received {"connection_id":147129,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:51:45] local.INFO: Processing buffer {"connection_id":147129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:51:45] local.INFO: IMEI packet received {"connection_id":147129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 08:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":147129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 08:51:48] local.INFO: TCP Data received {"connection_id":147129,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:51:48] local.INFO: Processing buffer {"connection_id":147129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:51:48] local.INFO: IMEI packet received {"connection_id":147129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":147129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:51:49] local.INFO: TCP Data received {"connection_id":147129,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb568388012d4e6c8006763ae00017004d2b..."} 
[2026-08-01 08:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb568388012d4e6c8006763ae00017004d2b..."} 
[2026-08-01 08:51:49] local.INFO: Processing buffer {"connection_id":147129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb568388012d4e6c8006763ae00017004d2b..."} 
[2026-08-01 08:51:49] local.INFO: Packet analysis {"connection_id":147129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb56"} 
[2026-08-01 08:51:49] local.INFO: Extracted packet for processing {"connection_id":147129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb56"} 
[2026-08-01 08:51:49] local.INFO: GPS Element Parsed {"raw_longitude":760114304,"raw_latitude":108411616,"longitude_deg":76.0114304,"latitude_deg":10.8411616,"altitude":23,"angle":77,"satellites":43,"speed":50,"hex_longitude":"2d4e6c80","hex_latitude":"06763ae0","is_valid_coordinates":true} 
[2026-08-01 08:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 08:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101934080001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365894976980123648,"note":"Value kept but may cause issues"} 
[2026-08-01 08:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5641251142243688448,"note":"Value kept but may cause issues"} 
[2026-08-01 08:51:49] 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-08-01 08:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785554437000,"timestamp_ms":1785554437000,"timestamp_seconds":1785554437,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb568388"} 
[2026-08-01 08:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 08:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-01 08:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 08:51:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 08:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101934080001,"66":27767,"168":206,"80":60160,"24":50,"16":365894976980123648,"45":5641251142243688448},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,80,24,16,45]} 
[2026-08-01 08:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101934080001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:51:49] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-01 08:51:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-01 08:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365894976980123648,"km_value":365894976980123.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5641251142243688448,"description":"Unknown IO ID 45"} 
[2026-08-01 08:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101934080001,"power":27767,"unknown_168":206,"unknown_80":60160,"ignition":50,"odometer":null,"unknown_45":5641251142243688448}} 
[2026-08-01 08:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":147129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:51:49] local.INFO: GPS data processed {"connection_id":147129,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:51:49] local.INFO: Acknowledgment sent {"connection_id":147129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:51:53] local.INFO: TCP Data received {"connection_id":147129,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb56a2c8012d4e928006764608001700442c..."} 
[2026-08-01 08:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb56a2c8012d4e928006764608001700442c..."} 
[2026-08-01 08:51:53] local.INFO: Processing buffer {"connection_id":147129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb56a2c8012d4e928006764608001700442c..."} 
[2026-08-01 08:51:53] local.INFO: Packet analysis {"connection_id":147129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb56"} 
[2026-08-01 08:51:53] local.INFO: Extracted packet for processing {"connection_id":147129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb56"} 
[2026-08-01 08:51:53] local.INFO: GPS Element Parsed {"raw_longitude":760124032,"raw_latitude":108414472,"longitude_deg":76.0124032,"latitude_deg":10.8414472,"altitude":23,"angle":68,"satellites":44,"speed":50,"hex_longitude":"2d4e9280","hex_latitude":"06764608","is_valid_coordinates":true} 
[2026-08-01 08:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 08:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101935872001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365895462311428096,"note":"Value kept but may cause issues"} 
[2026-08-01 08:51:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5651032397684858880,"note":"Value kept but may cause issues"} 
[2026-08-01 08:51:53] 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-08-01 08:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785554445000,"timestamp_ms":1785554445000,"timestamp_seconds":1785554445,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb56a2c8"} 
[2026-08-01 08:51:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:51:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 08:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 08:51:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 08:51:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 08:51:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":147129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":147129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":147129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:51:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101935872001,"66":27832,"168":206,"80":60160,"24":50,"16":365895462311428096,"45":5651032397684858880},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,80,24,16,45]} 
[2026-08-01 08:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101935872001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:51:53] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-01 08:51:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-01 08:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365895462311428096,"km_value":365895462311428.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:51:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5651032397684858880,"description":"Unknown IO ID 45"} 
[2026-08-01 08:51:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101935872001,"power":27832,"unknown_168":206,"unknown_80":60160,"ignition":50,"odometer":null,"unknown_45":5651032397684858880}} 
[2026-08-01 08:51:53] local.INFO: DEBUG: GPS processor result {"connection_id":147129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:51:53] local.INFO: GPS data processed {"connection_id":147129,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:51:53] local.INFO: Acknowledgment sent {"connection_id":147129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:52:25] local.INFO: TCP Data received {"connection_id":147129,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb56c208012d4eb64006765578001800402f..."} 
[2026-08-01 08:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb56c208012d4eb64006765578001800402f..."} 
[2026-08-01 08:52:25] local.INFO: Processing buffer {"connection_id":147129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb56c208012d4eb64006765578001800402f..."} 
[2026-08-01 08:52:25] local.INFO: Packet analysis {"connection_id":147129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb56"} 
[2026-08-01 08:52:25] local.INFO: Extracted packet for processing {"connection_id":147129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb56"} 
[2026-08-01 08:52:25] local.INFO: GPS Element Parsed {"raw_longitude":760133184,"raw_latitude":108418424,"longitude_deg":76.0133184,"latitude_deg":10.8418424,"altitude":24,"angle":64,"satellites":47,"speed":46,"hex_longitude":"2d4eb640","hex_latitude":"06765578","is_valid_coordinates":true} 
[2026-08-01 08:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 08:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101937920001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365895939052797952,"note":"Value kept but may cause issues"} 
[2026-08-01 08:52:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5661728446800594944,"note":"Value kept but may cause issues"} 
[2026-08-01 08:52:25] 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-08-01 08:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785554453000,"timestamp_ms":1785554453000,"timestamp_seconds":1785554453,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb56c208"} 
[2026-08-01 08:52:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:52: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-08-01 08:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-01 08:52:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 08:52:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 08:52:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":147129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":147129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":147129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:52:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101937920001,"66":27821,"168":206,"80":60160,"24":46,"16":365895939052797952,"45":5661728446800594944},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,80,24,16,45]} 
[2026-08-01 08:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101937920001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:52:25] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-01 08:52:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-01 08:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365895939052797952,"km_value":365895939052797.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:52:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5661728446800594944,"description":"Unknown IO ID 45"} 
[2026-08-01 08:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101937920001,"power":27821,"unknown_168":206,"unknown_80":60160,"ignition":46,"odometer":null,"unknown_45":5661728446800594944}} 
[2026-08-01 08:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":147129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:52:25] local.INFO: GPS data processed {"connection_id":147129,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:52:25] local.INFO: Acknowledgment sent {"connection_id":147129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:52:54] local.INFO: TCP Data received {"connection_id":148450,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:52:54] local.INFO: Processing buffer {"connection_id":148450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:52:54] local.INFO: IMEI packet received {"connection_id":148450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 08:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":148450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 08:52:55] local.INFO: TCP Data received {"connection_id":148450,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:52:55] local.INFO: Processing buffer {"connection_id":148450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:52:55] local.INFO: IMEI packet received {"connection_id":148450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":148450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:53:00] local.INFO: TCP Data received {"connection_id":148450,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:53:00] local.INFO: Processing buffer {"connection_id":148450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:53:00] local.INFO: IMEI packet received {"connection_id":148450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":148450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:53:02] local.INFO: TCP Data received {"connection_id":148450,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb56e148012d4ed680067663c0001a004530..."} 
[2026-08-01 08:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb56e148012d4ed680067663c0001a004530..."} 
[2026-08-01 08:53:02] local.INFO: Processing buffer {"connection_id":148450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb56e148012d4ed680067663c0001a004530..."} 
[2026-08-01 08:53:02] local.INFO: Packet analysis {"connection_id":148450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb56"} 
[2026-08-01 08:53:02] local.INFO: Extracted packet for processing {"connection_id":148450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb56"} 
[2026-08-01 08:53:02] local.INFO: GPS Element Parsed {"raw_longitude":760141440,"raw_latitude":108422080,"longitude_deg":76.014144,"latitude_deg":10.842208,"altitude":26,"angle":69,"satellites":48,"speed":43,"hex_longitude":"2d4ed680","hex_latitude":"067663c0","is_valid_coordinates":true} 
[2026-08-01 08: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-08-01 08:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101939968001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365896372844494848,"note":"Value kept but may cause issues"} 
[2026-08-01 08:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5671791177219012608,"note":"Value kept but may cause issues"} 
[2026-08-01 08:53:02] 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-08-01 08:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785554461000,"timestamp_ms":1785554461000,"timestamp_seconds":1785554461,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb56e148"} 
[2026-08-01 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-08-01 08:53: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-08-01 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 08:53: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-08-01 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-08-01 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-08-01 08:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":148450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":148450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":148450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:53: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-08-01 08:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101939968001,"66":27800,"168":206,"80":60160,"24":43,"16":365896372844494848,"45":5671791177219012608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,80,24,16,45]} 
[2026-08-01 08:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101939968001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:53:02] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-01 08:53:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-01 08:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365896372844494848,"km_value":365896372844494.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5671791177219012608,"description":"Unknown IO ID 45"} 
[2026-08-01 08:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101939968001,"power":27800,"unknown_168":206,"unknown_80":60160,"ignition":43,"odometer":null,"unknown_45":5671791177219012608}} 
[2026-08-01 08:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":148450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:53:02] local.INFO: GPS data processed {"connection_id":148450,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:53:02] local.INFO: Acknowledgment sent {"connection_id":148450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:53:44] local.INFO: TCP Data received {"connection_id":147130,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:53:44] local.INFO: Processing buffer {"connection_id":147130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:53:44] local.INFO: IMEI packet received {"connection_id":147130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 08:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":147130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 08:53:46] local.INFO: TCP Data received {"connection_id":147130,"ip":"42.106.6.14","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 08:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147130,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 08:53:46] local.INFO: Processing buffer {"connection_id":147130,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 08:53:46] local.INFO: IMEI packet received {"connection_id":147130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":147130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:53:50] local.INFO: TCP Data received {"connection_id":147130,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:53:50] local.INFO: Processing buffer {"connection_id":147130,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 08:53:50] local.INFO: IMEI packet received {"connection_id":147130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":147130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:53:54] local.INFO: TCP Data received {"connection_id":147130,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb585c30012d50c6c006762a600015005531..."} 
[2026-08-01 08:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb585c30012d50c6c006762a600015005531..."} 
[2026-08-01 08:53:54] local.INFO: Processing buffer {"connection_id":147130,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fbb..."} 
[2026-08-01 08:53:54] local.INFO: IMEI packet received {"connection_id":147130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":147130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:53:56] local.INFO: TCP Data received {"connection_id":147130,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb5873a0012d50e600067630380016004933..."} 
[2026-08-01 08:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb5873a0012d50e600067630380016004933..."} 
[2026-08-01 08:53:56] local.INFO: Processing buffer {"connection_id":147130,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fbb585c30012d50c6c006762a600015005531..."} 
[2026-08-01 08:53:56] local.INFO: Packet analysis {"connection_id":147130,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fbb58"} 
[2026-08-01 08:53:56] local.INFO: Extracted packet for processing {"connection_id":147130,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb58"} 
[2026-08-01 08:53:56] local.INFO: GPS Element Parsed {"raw_longitude":760268480,"raw_latitude":108407392,"longitude_deg":76.026848,"latitude_deg":10.8407392,"altitude":21,"angle":85,"satellites":49,"speed":53,"hex_longitude":"2d50c6c0","hex_latitude":"06762a60","is_valid_coordinates":true} 
[2026-08-01 08:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 08:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101965056001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365902579072237568,"note":"Value kept but may cause issues"} 
[2026-08-01 08:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5810136128269445120,"note":"Value kept but may cause issues"} 
[2026-08-01 08:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 08:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785554558000,"timestamp_ms":1785554558000,"timestamp_seconds":1785554558,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb585c30"} 
[2026-08-01 08:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:53:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 08:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 08:53:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 08:53:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 08:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":147130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":147130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":147130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101965056001,"66":27745,"146":206,"80":60160,"24":53,"16":365902579072237568,"45":5810136128269445120},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,80,24,16,45]} 
[2026-08-01 08:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101965056001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:53:56] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-01 08:53:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-01 08:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365902579072237568,"km_value":365902579072237.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":5810136128269445120,"description":"Unknown IO ID 45"} 
[2026-08-01 08:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101965056001,"power":27745,"unknown_146":206,"unknown_80":60160,"ignition":53,"odometer":null,"unknown_45":5810136128269445120}} 
[2026-08-01 08:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":147130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:53:56] local.INFO: GPS data processed {"connection_id":147130,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:53:56] local.INFO: Acknowledgment sent {"connection_id":147130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:53:56] local.INFO: Packet analysis {"connection_id":147130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb58"} 
[2026-08-01 08:53:56] local.INFO: Extracted packet for processing {"connection_id":147130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb58"} 
[2026-08-01 08:53:56] local.INFO: GPS Element Parsed {"raw_longitude":760276480,"raw_latitude":108408888,"longitude_deg":76.027648,"latitude_deg":10.8408888,"altitude":22,"angle":73,"satellites":51,"speed":52,"hex_longitude":"2d50e600","hex_latitude":"06763038","is_valid_coordinates":true} 
[2026-08-01 08:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 08:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101966848001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365902965619294208,"note":"Value kept but may cause issues"} 
[2026-08-01 08:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5820550702407770112,"note":"Value kept but may cause issues"} 
[2026-08-01 08:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 08:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785554564000,"timestamp_ms":1785554564000,"timestamp_seconds":1785554564,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb5873a0"} 
[2026-08-01 08:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:53:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 08:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 08:53:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 08:53:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 08:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":147130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":147130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":147130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101966848001,"66":27800,"146":206,"80":60160,"24":52,"16":365902965619294208,"45":5820550702407770112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,80,24,16,45]} 
[2026-08-01 08:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101966848001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:53:56] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-01 08:53:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-01 08:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365902965619294208,"km_value":365902965619294.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":5820550702407770112,"description":"Unknown IO ID 45"} 
[2026-08-01 08:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101966848001,"power":27800,"unknown_146":206,"unknown_80":60160,"ignition":52,"odometer":null,"unknown_45":5820550702407770112}} 
[2026-08-01 08:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":147130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:53:56] local.INFO: GPS data processed {"connection_id":147130,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:53:56] local.INFO: Acknowledgment sent {"connection_id":147130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:54:29] local.INFO: TCP Data received {"connection_id":147130,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb588728012d50fe00067639d00017003e33..."} 
[2026-08-01 08:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb588728012d50fe00067639d00017003e33..."} 
[2026-08-01 08:54:29] local.INFO: Processing buffer {"connection_id":147130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb588728012d50fe00067639d00017003e33..."} 
[2026-08-01 08:54:29] local.INFO: Packet analysis {"connection_id":147130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb58"} 
[2026-08-01 08:54:29] local.INFO: Extracted packet for processing {"connection_id":147130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb58"} 
[2026-08-01 08:54:29] local.INFO: GPS Element Parsed {"raw_longitude":760282624,"raw_latitude":108411344,"longitude_deg":76.0282624,"latitude_deg":10.8411344,"altitude":23,"angle":62,"satellites":51,"speed":51,"hex_longitude":"2d50fe00","hex_latitude":"067639d0","is_valid_coordinates":true} 
[2026-08-01 08: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-08-01 08:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101968384001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365903283446874112,"note":"Value kept but may cause issues"} 
[2026-08-01 08:54:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5829346795430361088,"note":"Value kept but may cause issues"} 
[2026-08-01 08:54:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 08:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785554569000,"timestamp_ms":1785554569000,"timestamp_seconds":1785554569,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb588728"} 
[2026-08-01 08:54:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:54: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-08-01 08: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":152,"data_length":795,"current_offset":136} 
[2026-08-01 08:54: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-08-01 08: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-08-01 08:54:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":147130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":147130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":147130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08: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-08-01 08:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101968384001,"66":27789,"146":206,"80":60160,"24":51,"16":365903283446874112,"45":5829346795430361088},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,80,24,16,45]} 
[2026-08-01 08:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101968384001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:54:29] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-01 08:54:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-01 08:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365903283446874112,"km_value":365903283446874.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:54:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5829346795430361088,"description":"Unknown IO ID 45"} 
[2026-08-01 08:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101968384001,"power":27789,"unknown_146":206,"unknown_80":60160,"ignition":51,"odometer":null,"unknown_45":5829346795430361088}} 
[2026-08-01 08:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":147130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:54:29] local.INFO: GPS data processed {"connection_id":147130,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:54:29] local.INFO: Acknowledgment sent {"connection_id":147130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:54:44] local.INFO: TCP Data received {"connection_id":146115,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:54:44] local.INFO: Processing buffer {"connection_id":146115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:54:44] local.INFO: IMEI packet received {"connection_id":146115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 08:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":146115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 08:54:50] local.INFO: TCP Data received {"connection_id":146115,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:54:50] local.INFO: Processing buffer {"connection_id":146115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:54:50] local.INFO: IMEI packet received {"connection_id":146115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":146115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:54:50] local.INFO: TCP Data received {"connection_id":146115,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb598ce0012d51a10006776780001d001a30..."} 
[2026-08-01 08:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb598ce0012d51a10006776780001d001a30..."} 
[2026-08-01 08:54:50] local.INFO: Processing buffer {"connection_id":146115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb598ce0012d51a10006776780001d001a30..."} 
[2026-08-01 08:54:50] local.INFO: Packet analysis {"connection_id":146115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb59"} 
[2026-08-01 08:54:50] local.INFO: Extracted packet for processing {"connection_id":146115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb59"} 
[2026-08-01 08:54:50] local.INFO: GPS Element Parsed {"raw_longitude":760324352,"raw_latitude":108488576,"longitude_deg":76.0324352,"latitude_deg":10.8488576,"altitude":29,"angle":26,"satellites":48,"speed":47,"hex_longitude":"2d51a100","hex_latitude":"06776780","is_valid_coordinates":true} 
[2026-08-01 08:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 08:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101985024001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365907595594039296,"note":"Value kept but may cause issues"} 
[2026-08-01 08:54:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5877830860187080704,"note":"Value kept but may cause issues"} 
[2026-08-01 08:54:50] 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-08-01 08:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785554636000,"timestamp_ms":1785554636000,"timestamp_seconds":1785554636,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb598ce0"} 
[2026-08-01 08:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:54: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-08-01 08:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 08:54:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 08:54:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 08:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:54:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101985024001,"66":27767,"18":206,"80":60160,"24":47,"16":365907595594039296,"45":5877830860187080704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,80,24,16,45]} 
[2026-08-01 08:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101985024001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:54:50] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-08-01 08:54:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-01 08:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365907595594039296,"km_value":365907595594039.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:54:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5877830860187080704,"description":"Unknown IO ID 45"} 
[2026-08-01 08:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101985024001,"power":27767,"unknown_18":206,"unknown_80":60160,"ignition":47,"odometer":null,"unknown_45":5877830860187080704}} 
[2026-08-01 08:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":146115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:54:51] local.INFO: GPS data processed {"connection_id":146115,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:54:51] local.INFO: Acknowledgment sent {"connection_id":146115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:55:21] local.INFO: TCP Data received {"connection_id":146115,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb59a450012d51af4006777de0002000252d..."} 
[2026-08-01 08:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb59a450012d51af4006777de0002000252d..."} 
[2026-08-01 08:55:21] local.INFO: Processing buffer {"connection_id":146115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb59a450012d51af4006777de0002000252d..."} 
[2026-08-01 08:55:21] local.INFO: Packet analysis {"connection_id":146115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb59"} 
[2026-08-01 08:55:21] local.INFO: Extracted packet for processing {"connection_id":146115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb59"} 
[2026-08-01 08:55:21] local.INFO: GPS Element Parsed {"raw_longitude":760328000,"raw_latitude":108494304,"longitude_deg":76.0328,"latitude_deg":10.8494304,"altitude":32,"angle":37,"satellites":45,"speed":42,"hex_longitude":"2d51af40","hex_latitude":"06777de0","is_valid_coordinates":true} 
[2026-08-01 08:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 08:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101986816001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365907922011553792,"note":"Value kept but may cause issues"} 
[2026-08-01 08:55:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5881982616095653888,"note":"Value kept but may cause issues"} 
[2026-08-01 08:55:21] 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-08-01 08:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785554642000,"timestamp_ms":1785554642000,"timestamp_seconds":1785554642,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb59a450"} 
[2026-08-01 08:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:55: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-08-01 08:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 08:55:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 08:55:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 08:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:55:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101986816001,"66":27767,"18":206,"80":60160,"24":42,"16":365907922011553792,"45":5881982616095653888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,80,24,16,45]} 
[2026-08-01 08:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101986816001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:55:21] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-08-01 08:55:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-01 08:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365907922011553792,"km_value":365907922011553.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:55:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5881982616095653888,"description":"Unknown IO ID 45"} 
[2026-08-01 08:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101986816001,"power":27767,"unknown_18":206,"unknown_80":60160,"ignition":42,"odometer":null,"unknown_45":5881982616095653888}} 
[2026-08-01 08:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":146115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:55:21] local.INFO: GPS data processed {"connection_id":146115,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:55:21] local.INFO: Acknowledgment sent {"connection_id":146115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:55:48] local.INFO: TCP Data received {"connection_id":147131,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:55:48] local.INFO: Processing buffer {"connection_id":147131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:55:48] local.INFO: IMEI packet received {"connection_id":147131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 08:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":147131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 08:55:49] local.INFO: TCP Data received {"connection_id":147131,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:55:49] local.INFO: Processing buffer {"connection_id":147131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:55:49] local.INFO: IMEI packet received {"connection_id":147131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":147131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:55:54] local.INFO: TCP Data received {"connection_id":147131,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:55:54] local.INFO: Processing buffer {"connection_id":147131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:55:54] local.INFO: IMEI packet received {"connection_id":147131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":147131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:55:56] local.INFO: TCP Data received {"connection_id":147131,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb59cb60012d51c88006779978002500302c..."} 
[2026-08-01 08:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb59cb60012d51c88006779978002500302c..."} 
[2026-08-01 08:55:56] local.INFO: Processing buffer {"connection_id":147131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb59cb60012d51c88006779978002500302c..."} 
[2026-08-01 08:55:56] local.INFO: Packet analysis {"connection_id":147131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb59"} 
[2026-08-01 08:55:56] local.INFO: Extracted packet for processing {"connection_id":147131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb59"} 
[2026-08-01 08:55:56] local.INFO: GPS Element Parsed {"raw_longitude":760334464,"raw_latitude":108501368,"longitude_deg":76.0334464,"latitude_deg":10.8501368,"altitude":37,"angle":48,"satellites":44,"speed":35,"hex_longitude":"2d51c880","hex_latitude":"06779978","is_valid_coordinates":true} 
[2026-08-01 08:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 08:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101988352001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365908385868021760,"note":"Value kept but may cause issues"} 
[2026-08-01 08:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5885993634515247104,"note":"Value kept but may cause issues"} 
[2026-08-01 08:55:56] 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-08-01 08:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785554652000,"timestamp_ms":1785554652000,"timestamp_seconds":1785554652,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb59cb60"} 
[2026-08-01 08:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:55:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 08:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 08:55:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 08:55:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 08:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":147131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":147131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":147131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101988352001,"66":27843,"18":206,"80":60160,"24":35,"16":365908385868021760,"45":5885993634515247104},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,80,24,16,45]} 
[2026-08-01 08:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101988352001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:55:56] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-08-01 08:55:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-01 08:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365908385868021760,"km_value":365908385868021.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":5885993634515247104,"description":"Unknown IO ID 45"} 
[2026-08-01 08:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101988352001,"power":27843,"unknown_18":206,"unknown_80":60160,"ignition":35,"odometer":null,"unknown_45":5885993634515247104}} 
[2026-08-01 08:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":147131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:55:56] local.INFO: GPS data processed {"connection_id":147131,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:55:56] local.INFO: Acknowledgment sent {"connection_id":147131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:56:00] local.INFO: TCP Data received {"connection_id":147131,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb59f658012d51e5800677b0c0002900332d..."} 
[2026-08-01 08:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb59f658012d51e5800677b0c0002900332d..."} 
[2026-08-01 08:56:00] local.INFO: Processing buffer {"connection_id":147131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb59f658012d51e5800677b0c0002900332d..."} 
[2026-08-01 08:56:00] local.INFO: Packet analysis {"connection_id":147131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb59"} 
[2026-08-01 08:56:00] local.INFO: Extracted packet for processing {"connection_id":147131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb59"} 
[2026-08-01 08:56:00] local.INFO: GPS Element Parsed {"raw_longitude":760341888,"raw_latitude":108507328,"longitude_deg":76.0341888,"latitude_deg":10.8507328,"altitude":41,"angle":51,"satellites":45,"speed":32,"hex_longitude":"2d51e580","hex_latitude":"0677b0c0","is_valid_coordinates":true} 
[2026-08-01 08: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-08-01 08:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101990912001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365908841134555136,"note":"Value kept but may cause issues"} 
[2026-08-01 08:56:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5893100877678999552,"note":"Value kept but may cause issues"} 
[2026-08-01 08:56:00] 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-08-01 08:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785554663000,"timestamp_ms":1785554663000,"timestamp_seconds":1785554663,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb59f658"} 
[2026-08-01 08:56:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:56: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-08-01 08: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 08:56: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-08-01 08: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-08-01 08:56:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":147131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":147131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":147131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:56: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-08-01 08:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101990912001,"66":27908,"18":206,"80":60160,"24":32,"16":365908841134555136,"45":5893100877678999552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,80,24,16,45]} 
[2026-08-01 08:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101990912001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:56:00] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-08-01 08:56:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-01 08:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365908841134555136,"km_value":365908841134555.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:56:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5893100877678999552,"description":"Unknown IO ID 45"} 
[2026-08-01 08:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101990912001,"power":27908,"unknown_18":206,"unknown_80":60160,"ignition":32,"odometer":null,"unknown_45":5893100877678999552}} 
[2026-08-01 08:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":147131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:56:00] local.INFO: GPS data processed {"connection_id":147131,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:56:00] local.INFO: Acknowledgment sent {"connection_id":147131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:56:44] local.INFO: TCP Data received {"connection_id":146116,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:56:44] local.INFO: Processing buffer {"connection_id":146116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:56:44] local.INFO: IMEI packet received {"connection_id":146116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 08:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":146116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 08:56:50] local.INFO: TCP Data received {"connection_id":146116,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:56:50] local.INFO: Processing buffer {"connection_id":146116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:56:50] local.INFO: IMEI packet received {"connection_id":146116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":146116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:56:51] local.INFO: TCP Data received {"connection_id":146116,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb5a2538012d5202400677c7a0002e00312d..."} 
[2026-08-01 08:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb5a2538012d5202400677c7a0002e00312d..."} 
[2026-08-01 08:56:51] local.INFO: Processing buffer {"connection_id":146116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb5a2538012d5202400677c7a0002e00312d..."} 
[2026-08-01 08:56:51] local.INFO: Packet analysis {"connection_id":146116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb5a"} 
[2026-08-01 08:56:51] local.INFO: Extracted packet for processing {"connection_id":146116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb5a"} 
[2026-08-01 08:56:51] local.INFO: GPS Element Parsed {"raw_longitude":760349248,"raw_latitude":108513184,"longitude_deg":76.0349248,"latitude_deg":10.8513184,"altitude":46,"angle":49,"satellites":45,"speed":29,"hex_longitude":"2d520240","hex_latitude":"0677c7a0","is_valid_coordinates":true} 
[2026-08-01 08:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 08:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101993728001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365909292106121216,"note":"Value kept but may cause issues"} 
[2026-08-01 08:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5901263652005134336,"note":"Value kept but may cause issues"} 
[2026-08-01 08:56:51] 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-08-01 08:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785554675000,"timestamp_ms":1785554675000,"timestamp_seconds":1785554675,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb5a2538"} 
[2026-08-01 08:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:56:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 08:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 08:56: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-08-01 08:56:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 08:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":146116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":146116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":146116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101993728001,"66":27865,"18":206,"80":60160,"24":29,"16":365909292106121216,"45":5901263652005134336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,80,24,16,45]} 
[2026-08-01 08:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101993728001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:56:51] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-08-01 08:56:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-01 08:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365909292106121216,"km_value":365909292106121.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5901263652005134336,"description":"Unknown IO ID 45"} 
[2026-08-01 08:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101993728001,"power":27865,"unknown_18":206,"unknown_80":60160,"ignition":29,"odometer":null,"unknown_45":5901263652005134336}} 
[2026-08-01 08:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":146116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:56:51] local.INFO: GPS data processed {"connection_id":146116,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:56:51] local.INFO: Acknowledgment sent {"connection_id":146116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:57:22] local.INFO: TCP Data received {"connection_id":146116,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb5a5418012d5219400677df180032002630..."} 
[2026-08-01 08:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb5a5418012d5219400677df180032002630..."} 
[2026-08-01 08:57:22] local.INFO: Processing buffer {"connection_id":146116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb5a5418012d5219400677df180032002630..."} 
[2026-08-01 08:57:22] local.INFO: Packet analysis {"connection_id":146116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb5a"} 
[2026-08-01 08:57:22] local.INFO: Extracted packet for processing {"connection_id":146116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb5a"} 
[2026-08-01 08:57:22] local.INFO: GPS Element Parsed {"raw_longitude":760355136,"raw_latitude":108519192,"longitude_deg":76.0355136,"latitude_deg":10.8519192,"altitude":50,"angle":38,"satellites":48,"speed":26,"hex_longitude":"2d521940","hex_latitude":"0677df18","is_valid_coordinates":true} 
[2026-08-01 08:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 08:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101996800001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:57:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365909695833047040,"note":"Value kept but may cause issues"} 
[2026-08-01 08:57:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5909356057587064832,"note":"Value kept but may cause issues"} 
[2026-08-01 08:57:22] 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-08-01 08:57:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785554687000,"timestamp_ms":1785554687000,"timestamp_seconds":1785554687,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb5a5418"} 
[2026-08-01 08:57:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:57:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 08:57:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 08: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-08-01 08:57:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:57:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:57:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:57:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:57:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:57:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:57:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:57:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:57:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101996800001,"66":27767,"18":206,"80":60160,"24":26,"16":365909695833047040,"45":5909356057587064832},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,80,24,16,45]} 
[2026-08-01 08:57:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:57:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:57:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101996800001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:57:22] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-08-01 08:57:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-01 08:57:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365909695833047040,"km_value":365909695833047.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:57:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5909356057587064832,"description":"Unknown IO ID 45"} 
[2026-08-01 08:57:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101996800001,"power":27767,"unknown_18":206,"unknown_80":60160,"ignition":26,"odometer":null,"unknown_45":5909356057587064832}} 
[2026-08-01 08:57:22] local.INFO: DEBUG: GPS processor result {"connection_id":146116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:57:22] local.INFO: GPS data processed {"connection_id":146116,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:57:22] local.INFO: Acknowledgment sent {"connection_id":146116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:58:19] local.INFO: TCP Data received {"connection_id":145921,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:58:19] local.INFO: Processing buffer {"connection_id":145921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:58:19] local.INFO: IMEI packet received {"connection_id":145921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 08:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":145921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 08:58:21] local.INFO: TCP Data received {"connection_id":145921,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:58:21] local.INFO: Processing buffer {"connection_id":145921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:58:21] local.INFO: IMEI packet received {"connection_id":145921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":145921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:58:24] local.INFO: TCP Data received {"connection_id":145921,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:58:24] local.INFO: Processing buffer {"connection_id":145921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:58:24] local.INFO: IMEI packet received {"connection_id":145921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":145921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:58:25] local.INFO: TCP Data received {"connection_id":145921,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb5cb960012d526a0006794c78005500142d..."} 
[2026-08-01 08:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb5cb960012d526a0006794c78005500142d..."} 
[2026-08-01 08:58:25] local.INFO: Processing buffer {"connection_id":145921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb5cb960012d526a0006794c78005500142d..."} 
[2026-08-01 08:58:25] local.INFO: Packet analysis {"connection_id":145921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb5c"} 
[2026-08-01 08:58:25] local.INFO: Extracted packet for processing {"connection_id":145921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb5c"} 
[2026-08-01 08:58:25] local.INFO: GPS Element Parsed {"raw_longitude":760375808,"raw_latitude":108612728,"longitude_deg":76.0375808,"latitude_deg":10.8612728,"altitude":85,"angle":20,"satellites":45,"speed":35,"hex_longitude":"2d526a00","hex_latitude":"06794c78","is_valid_coordinates":true} 
[2026-08-01 08:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 08:58:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102037248001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:58:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365914385937334272,"note":"Value kept but may cause issues"} 
[2026-08-01 08:58:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5935322124211933184,"note":"Value kept but may cause issues"} 
[2026-08-01 08:58:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 08:58:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785554844000,"timestamp_ms":1785554844000,"timestamp_seconds":1785554844,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb5cb960"} 
[2026-08-01 08:58:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:58:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 08:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 08:58:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 08:58:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 08:58:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:58:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:58:25] local.INFO: Teltonika packet parsed successfully {"connection_id":145921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:58:25] local.INFO: Passing IMEI to GPS processor {"connection_id":145921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:58:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":145921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:58:25] 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-08-01 08:58:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:58:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:58:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102037248001,"66":27865,"53":206,"80":60928,"24":35,"16":365914385937334272,"45":5935322124211933184},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,80,24,16,45]} 
[2026-08-01 08:58:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:58:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:58:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102037248001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:58:25] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-01 08:58:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-01 08:58:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365914385937334272,"km_value":365914385937334.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:58:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5935322124211933184,"description":"Unknown IO ID 45"} 
[2026-08-01 08:58:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102037248001,"power":27865,"unknown_53":206,"unknown_80":60928,"ignition":35,"odometer":null,"unknown_45":5935322124211933184}} 
[2026-08-01 08:58:25] local.INFO: DEBUG: GPS processor result {"connection_id":145921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:58:25] local.INFO: GPS data processed {"connection_id":145921,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:58:25] local.INFO: Acknowledgment sent {"connection_id":145921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:58:50] local.INFO: TCP Data received {"connection_id":148451,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:58:50] local.INFO: Processing buffer {"connection_id":148451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:58:50] local.INFO: IMEI packet received {"connection_id":148451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 08:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":148451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 08:58:57] local.INFO: TCP Data received {"connection_id":148451,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:58:57] local.INFO: Processing buffer {"connection_id":148451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:58:57] local.INFO: IMEI packet received {"connection_id":148451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":148451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:58:58] local.INFO: TCP Data received {"connection_id":148451,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:58:58] local.INFO: Processing buffer {"connection_id":148451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:58:58] local.INFO: IMEI packet received {"connection_id":148451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":148451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:58:59] local.INFO: TCP Data received {"connection_id":148451,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb5ce070012d52768006796fb8005600122d..."} 
[2026-08-01 08:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb5ce070012d52768006796fb8005600122d..."} 
[2026-08-01 08:58:59] local.INFO: Processing buffer {"connection_id":148451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb5ce070012d52768006796fb8005600122d..."} 
[2026-08-01 08:58:59] local.INFO: Packet analysis {"connection_id":148451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb5c"} 
[2026-08-01 08:58:59] local.INFO: Extracted packet for processing {"connection_id":148451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb5c"} 
[2026-08-01 08:58:59] local.INFO: GPS Element Parsed {"raw_longitude":760379008,"raw_latitude":108621752,"longitude_deg":76.0379008,"latitude_deg":10.8621752,"altitude":86,"angle":18,"satellites":45,"speed":40,"hex_longitude":"2d527680","hex_latitude":"06796fb8","is_valid_coordinates":true} 
[2026-08-01 08: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-08-01 08:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102040064001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365914849793802240,"note":"Value kept but may cause issues"} 
[2026-08-01 08:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5938559086446278656,"note":"Value kept but may cause issues"} 
[2026-08-01 08:58:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 08:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785554854000,"timestamp_ms":1785554854000,"timestamp_seconds":1785554854,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb5ce070"} 
[2026-08-01 08:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:58: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-08-01 08:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 08:58:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 08: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-08-01 08:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":148451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":148451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":148451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:58: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-08-01 08:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102040064001,"66":27767,"53":206,"80":60928,"24":40,"16":365914849793802240,"45":5938559086446278656},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,80,24,16,45]} 
[2026-08-01 08:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102040064001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:58:59] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-01 08:58:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-01 08:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365914849793802240,"km_value":365914849793802.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5938559086446278656,"description":"Unknown IO ID 45"} 
[2026-08-01 08:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102040064001,"power":27767,"unknown_53":206,"unknown_80":60928,"ignition":40,"odometer":null,"unknown_45":5938559086446278656}} 
[2026-08-01 08:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":148451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:58:59] local.INFO: GPS data processed {"connection_id":148451,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:58:59] local.INFO: Acknowledgment sent {"connection_id":148451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:59:00] local.INFO: TCP Data received {"connection_id":148451,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb5d0398012d5282c006799298005700122e..."} 
[2026-08-01 08:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb5d0398012d5282c006799298005700122e..."} 
[2026-08-01 08:59:00] local.INFO: Processing buffer {"connection_id":148451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb5d0398012d5282c006799298005700122e..."} 
[2026-08-01 08:59:00] local.INFO: Packet analysis {"connection_id":148451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb5d"} 
[2026-08-01 08:59:00] local.INFO: Extracted packet for processing {"connection_id":148451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb5d"} 
[2026-08-01 08:59:00] local.INFO: GPS Element Parsed {"raw_longitude":760382144,"raw_latitude":108630680,"longitude_deg":76.0382144,"latitude_deg":10.863068,"altitude":87,"angle":18,"satellites":46,"speed":42,"hex_longitude":"2d5282c0","hex_latitude":"06799298","is_valid_coordinates":true} 
[2026-08-01 08: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-08-01 08:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102042624001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365915309355302912,"note":"Value kept but may cause issues"} 
[2026-08-01 08:59:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5942077523657472000,"note":"Value kept but may cause issues"} 
[2026-08-01 08:59:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 08:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785554863000,"timestamp_ms":1785554863000,"timestamp_seconds":1785554863,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb5d0398"} 
[2026-08-01 08:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:59: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-08-01 08: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":119,"data_length":795,"current_offset":136} 
[2026-08-01 08:59: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-08-01 08: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-08-01 08:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":148451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":148451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":148451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:59: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-08-01 08:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102042624001,"66":27713,"53":206,"80":60928,"24":42,"16":365915309355302912,"45":5942077523657472000},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,80,24,16,45]} 
[2026-08-01 08:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102042624001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:59:00] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-01 08:59:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-01 08:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365915309355302912,"km_value":365915309355302.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5942077523657472000,"description":"Unknown IO ID 45"} 
[2026-08-01 08:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102042624001,"power":27713,"unknown_53":206,"unknown_80":60928,"ignition":42,"odometer":null,"unknown_45":5942077523657472000}} 
[2026-08-01 08:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":148451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:59:00] local.INFO: GPS data processed {"connection_id":148451,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:59:00] local.INFO: Acknowledgment sent {"connection_id":148451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 08:59:55] local.INFO: TCP Data received {"connection_id":145922,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:59:55] local.INFO: Processing buffer {"connection_id":145922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:59:55] local.INFO: IMEI packet received {"connection_id":145922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 08:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":145922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 08:59:55] local.INFO: TCP Data received {"connection_id":145922,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:59:55] local.INFO: Processing buffer {"connection_id":145922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 08:59:55] local.INFO: IMEI packet received {"connection_id":145922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 08:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":145922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 08:59:56] local.INFO: TCP Data received {"connection_id":145922,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb5e0950012d537800067a5b50005a005d31..."} 
[2026-08-01 08:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb5e0950012d537800067a5b50005a005d31..."} 
[2026-08-01 08:59:56] local.INFO: Processing buffer {"connection_id":145922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb5e0950012d537800067a5b50005a005d31..."} 
[2026-08-01 08:59:56] local.INFO: Packet analysis {"connection_id":145922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb5e"} 
[2026-08-01 08:59:56] local.INFO: Extracted packet for processing {"connection_id":145922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb5e"} 
[2026-08-01 08:59:56] local.INFO: GPS Element Parsed {"raw_longitude":760444928,"raw_latitude":108682064,"longitude_deg":76.0444928,"latitude_deg":10.8682064,"altitude":90,"angle":93,"satellites":49,"speed":52,"hex_longitude":"2d537800","hex_latitude":"067a5b50","is_valid_coordinates":true} 
[2026-08-01 08:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 08:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102060288001,"note":"Value kept but may cause issues"} 
[2026-08-01 08:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365919496948416512,"note":"Value kept but may cause issues"} 
[2026-08-01 08:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6004494599758616576,"note":"Value kept but may cause issues"} 
[2026-08-01 08:59:56] 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-08-01 08:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785554930000,"timestamp_ms":1785554930000,"timestamp_seconds":1785554930,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb5e0950"} 
[2026-08-01 08:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 08:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 08:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 08:59:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 08:59:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 08:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 08:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 08:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":145922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 08:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":145922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":145922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 08:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 08:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 08:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 08:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102060288001,"66":27593,"156":206,"80":60928,"24":52,"16":365919496948416512,"45":6004494599758616576},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-01 08:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 08:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 08:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102060288001,"description":"Unknown IO ID 0"} 
[2026-08-01 08:59:56] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-01 08:59:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-01 08:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365919496948416512,"km_value":365919496948416.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 08:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":6004494599758616576,"description":"Unknown IO ID 45"} 
[2026-08-01 08:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102060288001,"power":27593,"unknown_156":206,"unknown_80":60928,"ignition":52,"odometer":null,"unknown_45":6004494599758616576}} 
[2026-08-01 08:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":145922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 08:59:56] local.INFO: GPS data processed {"connection_id":145922,"processed":1,"errors":0,"total":1} 
[2026-08-01 08:59:56] local.INFO: Acknowledgment sent {"connection_id":145922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:00:00] local.INFO: TCP Data received {"connection_id":145922,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb5e24a8012d539d80067a59c80059005c2a..."} 
[2026-08-01 09:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb5e24a8012d539d80067a59c80059005c2a..."} 
[2026-08-01 09:00:00] local.INFO: Processing buffer {"connection_id":145922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb5e24a8012d539d80067a59c80059005c2a..."} 
[2026-08-01 09:00:00] local.INFO: Packet analysis {"connection_id":145922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb5e"} 
[2026-08-01 09:00:00] local.INFO: Extracted packet for processing {"connection_id":145922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb5e"} 
[2026-08-01 09:00:00] local.INFO: GPS Element Parsed {"raw_longitude":760454528,"raw_latitude":108681672,"longitude_deg":76.0454528,"latitude_deg":10.8681672,"altitude":89,"angle":92,"satellites":42,"speed":55,"hex_longitude":"2d539d80","hex_latitude":"067a59c8","is_valid_coordinates":true} 
[2026-08-01 09: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-08-01 09:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102062080001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365919956509917184,"note":"Value kept but may cause issues"} 
[2026-08-01 09:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6014557330175905792,"note":"Value kept but may cause issues"} 
[2026-08-01 09:00:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 09:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785554937000,"timestamp_ms":1785554937000,"timestamp_seconds":1785554937,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb5e24a8"} 
[2026-08-01 09:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:00: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-08-01 09: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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-01 09:00: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-08-01 09: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-08-01 09:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":145922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":145922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":145922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:00: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-08-01 09:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102062080001,"66":27745,"194":206,"80":60928,"24":55,"16":365919956509917184,"45":6014557330175905792},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,80,24,16,45]} 
[2026-08-01 09:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102062080001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:00:00] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-01 09:00:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-01 09:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365919956509917184,"km_value":365919956509917.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6014557330175905792,"description":"Unknown IO ID 45"} 
[2026-08-01 09:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102062080001,"power":27745,"unknown_194":206,"unknown_80":60928,"ignition":55,"odometer":null,"unknown_45":6014557330175905792}} 
[2026-08-01 09:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":145922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:00:00] local.INFO: GPS data processed {"connection_id":145922,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:00:00] local.INFO: Acknowledgment sent {"connection_id":145922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:00:43] local.INFO: TCP Data received {"connection_id":146117,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:00:43] local.INFO: Processing buffer {"connection_id":146117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:00:43] local.INFO: IMEI packet received {"connection_id":146117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 09:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":146117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 09:00:44] local.INFO: TCP Data received {"connection_id":146117,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:00:44] local.INFO: Processing buffer {"connection_id":146117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:00:44] local.INFO: IMEI packet received {"connection_id":146117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:00:44] local.INFO: IMEI acknowledgment sent {"connection_id":146117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:00:48] local.INFO: TCP Data received {"connection_id":146117,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:00:48] local.INFO: Processing buffer {"connection_id":146117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:00:48] local.INFO: IMEI packet received {"connection_id":146117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":146117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:00:49] local.INFO: TCP Data received {"connection_id":146117,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb5f1ea8012d550600067aa2e0003100372e..."} 
[2026-08-01 09:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb5f1ea8012d550600067aa2e0003100372e..."} 
[2026-08-01 09:00:49] local.INFO: Processing buffer {"connection_id":146117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb5f1ea8012d550600067aa2e0003100372e..."} 
[2026-08-01 09:00:49] local.INFO: Packet analysis {"connection_id":146117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb5f"} 
[2026-08-01 09:00:49] local.INFO: Extracted packet for processing {"connection_id":146117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb5f"} 
[2026-08-01 09:00:49] local.INFO: GPS Element Parsed {"raw_longitude":760546816,"raw_latitude":108700384,"longitude_deg":76.0546816,"latitude_deg":10.8700384,"altitude":49,"angle":55,"satellites":46,"speed":78,"hex_longitude":"2d550600","hex_latitude":"067aa2e0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 09:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102078976001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365924616549433344,"note":"Value kept but may cause issues"} 
[2026-08-01 09:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6117788277887848448,"note":"Value kept but may cause issues"} 
[2026-08-01 09:00:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 09:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785555001000,"timestamp_ms":1785555001000,"timestamp_seconds":1785555001,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb5f1ea8"} 
[2026-08-01 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-08-01 09:00: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-08-01 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 09:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 09:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102078976001,"66":27865,"249":206,"80":60928,"24":78,"16":365924616549433344,"45":6117788277887848448},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,80,24,16,45]} 
[2026-08-01 09:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102078976001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:00:49] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-01 09:00:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-01 09:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365924616549433344,"km_value":365924616549433.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6117788277887848448,"description":"Unknown IO ID 45"} 
[2026-08-01 09:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102078976001,"power":27865,"unknown_249":206,"unknown_80":60928,"ignition":78,"odometer":null,"unknown_45":6117788277887848448}} 
[2026-08-01 09:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":146117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:00:49] local.INFO: GPS data processed {"connection_id":146117,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:00:49] local.INFO: Acknowledgment sent {"connection_id":146117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:01:20] local.INFO: TCP Data received {"connection_id":146117,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb5f3230012d552740067ab918002d00382e..."} 
[2026-08-01 09:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb5f3230012d552740067ab918002d00382e..."} 
[2026-08-01 09:01:20] local.INFO: Processing buffer {"connection_id":146117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb5f3230012d552740067ab918002d00382e..."} 
[2026-08-01 09:01:20] local.INFO: Packet analysis {"connection_id":146117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb5f"} 
[2026-08-01 09:01:20] local.INFO: Extracted packet for processing {"connection_id":146117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb5f"} 
[2026-08-01 09:01:20] local.INFO: GPS Element Parsed {"raw_longitude":760555328,"raw_latitude":108706072,"longitude_deg":76.0555328,"latitude_deg":10.8706072,"altitude":45,"angle":56,"satellites":46,"speed":82,"hex_longitude":"2d552740","hex_latitude":"067ab918","is_valid_coordinates":true} 
[2026-08-01 09: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-08-01 09:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102080256001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365925106175705088,"note":"Value kept but may cause issues"} 
[2026-08-01 09:01:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6126584370911436800,"note":"Value kept but may cause issues"} 
[2026-08-01 09:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 09:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785555006000,"timestamp_ms":1785555006000,"timestamp_seconds":1785555006,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb5f3230"} 
[2026-08-01 09:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:01:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 09: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 09:01: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-08-01 09: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-08-01 09:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:01:20] 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-08-01 09:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102080256001,"66":27908,"249":206,"80":60928,"24":82,"16":365925106175705088,"45":6126584370911436800},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,80,24,16,45]} 
[2026-08-01 09:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102080256001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:01:20] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-01 09:01:20] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-01 09:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365925106175705088,"km_value":365925106175705.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:01:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":6126584370911436800,"description":"Unknown IO ID 45"} 
[2026-08-01 09:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102080256001,"power":27908,"unknown_249":206,"unknown_80":60928,"ignition":82,"odometer":null,"unknown_45":6126584370911436800}} 
[2026-08-01 09:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":146117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:01:20] local.INFO: GPS data processed {"connection_id":146117,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:01:20] local.INFO: Acknowledgment sent {"connection_id":146117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:01:45] local.INFO: TCP Data received {"connection_id":148452,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:01:45] local.INFO: Processing buffer {"connection_id":148452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:01:45] local.INFO: IMEI packet received {"connection_id":148452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 09:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":148452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 09:01:49] local.INFO: TCP Data received {"connection_id":148452,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:01:49] local.INFO: Processing buffer {"connection_id":148452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:01:49] local.INFO: IMEI packet received {"connection_id":148452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":148452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:01:50] local.INFO: TCP Data received {"connection_id":148452,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:01:50] local.INFO: Processing buffer {"connection_id":148452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:01:50] local.INFO: IMEI packet received {"connection_id":148452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":148452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:01:54] local.INFO: TCP Data received {"connection_id":148452,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb5f45b8012d554a00067ad078002700372f..."} 
[2026-08-01 09:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb5f45b8012d554a00067ad078002700372f..."} 
[2026-08-01 09:01:54] local.INFO: Processing buffer {"connection_id":148452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb5f45b8012d554a00067ad078002700372f..."} 
[2026-08-01 09:01:54] local.INFO: Packet analysis {"connection_id":148452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb5f"} 
[2026-08-01 09:01:54] local.INFO: Extracted packet for processing {"connection_id":148452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb5f"} 
[2026-08-01 09:01:54] local.INFO: GPS Element Parsed {"raw_longitude":760564224,"raw_latitude":108712056,"longitude_deg":76.0564224,"latitude_deg":10.8712056,"altitude":39,"angle":55,"satellites":47,"speed":86,"hex_longitude":"2d554a00","hex_latitude":"067ad078","is_valid_coordinates":true} 
[2026-08-01 09:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102081536001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365925617276813312,"note":"Value kept but may cause issues"} 
[2026-08-01 09:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6135943413888522240,"note":"Value kept but may cause issues"} 
[2026-08-01 09:01:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 09:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785555011000,"timestamp_ms":1785555011000,"timestamp_seconds":1785555011,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb5f45b8"} 
[2026-08-01 09:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:01:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 09:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 09:01:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09:01:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:01:54] 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-08-01 09:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102081536001,"66":27876,"249":206,"80":60928,"24":86,"16":365925617276813312,"45":6135943413888522240},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,80,24,16,45]} 
[2026-08-01 09:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102081536001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:01:54] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-01 09:01:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-01 09:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365925617276813312,"km_value":365925617276813.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":6135943413888522240,"description":"Unknown IO ID 45"} 
[2026-08-01 09:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102081536001,"power":27876,"unknown_249":206,"unknown_80":60928,"ignition":86,"odometer":null,"unknown_45":6135943413888522240}} 
[2026-08-01 09:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":148452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:01:54] local.INFO: GPS data processed {"connection_id":148452,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:01:54] local.INFO: Acknowledgment sent {"connection_id":148452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:01:55] local.INFO: TCP Data received {"connection_id":148452,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb5f5940012d556d40067ae8600024003731..."} 
[2026-08-01 09:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb5f5940012d556d40067ae8600024003731..."} 
[2026-08-01 09:01:55] local.INFO: Processing buffer {"connection_id":148452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb5f5940012d556d40067ae8600024003731..."} 
[2026-08-01 09:01:55] local.INFO: Packet analysis {"connection_id":148452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb5f"} 
[2026-08-01 09:01:55] local.INFO: Extracted packet for processing {"connection_id":148452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb5f"} 
[2026-08-01 09:01:55] local.INFO: GPS Element Parsed {"raw_longitude":760573248,"raw_latitude":108718176,"longitude_deg":76.0573248,"latitude_deg":10.8718176,"altitude":36,"angle":55,"satellites":49,"speed":86,"hex_longitude":"2d556d40","hex_latitude":"067ae860","is_valid_coordinates":true} 
[2026-08-01 09:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102082816001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365926141262823424,"note":"Value kept but may cause issues"} 
[2026-08-01 09:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6145724669330749440,"note":"Value kept but may cause issues"} 
[2026-08-01 09:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 09:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785555016000,"timestamp_ms":1785555016000,"timestamp_seconds":1785555016,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb5f5940"} 
[2026-08-01 09:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:01: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-08-01 09:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 09:01:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09:01:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102082816001,"66":27876,"249":206,"80":60928,"24":86,"16":365926141262823424,"45":6145724669330749440},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,80,24,16,45]} 
[2026-08-01 09:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102082816001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:01:55] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-01 09:01:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-01 09:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365926141262823424,"km_value":365926141262823.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":6145724669330749440,"description":"Unknown IO ID 45"} 
[2026-08-01 09:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102082816001,"power":27876,"unknown_249":206,"unknown_80":60928,"ignition":86,"odometer":null,"unknown_45":6145724669330749440}} 
[2026-08-01 09:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":148452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:01:55] local.INFO: GPS data processed {"connection_id":148452,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:01:55] local.INFO: Acknowledgment sent {"connection_id":148452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:02:27] local.INFO: TCP Data received {"connection_id":148452,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb6089f0012d571800067be1a8001b01662f..."} 
[2026-08-01 09:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb6089f0012d571800067be1a8001b01662f..."} 
[2026-08-01 09:02:27] local.INFO: Processing buffer {"connection_id":148452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb6089f0012d571800067be1a8001b01662f..."} 
[2026-08-01 09:02:27] local.INFO: Packet analysis {"connection_id":148452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb60"} 
[2026-08-01 09:02:27] local.INFO: Extracted packet for processing {"connection_id":148452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb60"} 
[2026-08-01 09:02:27] local.INFO: GPS Element Parsed {"raw_longitude":760682496,"raw_latitude":108781992,"longitude_deg":76.0682496,"latitude_deg":10.8781992,"altitude":27,"angle":358,"satellites":47,"speed":52,"hex_longitude":"2d571800","hex_latitude":"067be1a8","is_valid_coordinates":true} 
[2026-08-01 09:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102103040001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365932480634552320,"note":"Value kept but may cause issues"} 
[2026-08-01 09:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6275273527378376704,"note":"Value kept but may cause issues"} 
[2026-08-01 09:02:27] 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-08-01 09:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785555094000,"timestamp_ms":1785555094000,"timestamp_seconds":1785555094,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb6089f0"} 
[2026-08-01 09:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:02: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-08-01 09:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 09:02:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09:02:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:02:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102103040001,"66":27995,"35":206,"80":60928,"24":52,"16":365932480634552320,"45":6275273527378376704},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-08-01 09:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102103040001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:02:27] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-01 09:02:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-01 09:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365932480634552320,"km_value":365932480634552.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":6275273527378376704,"description":"Unknown IO ID 45"} 
[2026-08-01 09:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102103040001,"power":27995,"unknown_35":206,"unknown_80":60928,"ignition":52,"odometer":null,"unknown_45":6275273527378376704}} 
[2026-08-01 09:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":148452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:02:27] local.INFO: GPS data processed {"connection_id":148452,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:02:27] local.INFO: Acknowledgment sent {"connection_id":148452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:02:44] local.INFO: TCP Data received {"connection_id":145923,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:02:44] local.INFO: Processing buffer {"connection_id":145923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:02:44] local.INFO: IMEI packet received {"connection_id":145923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 09:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":145923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 09:02:50] local.INFO: TCP Data received {"connection_id":145923,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:02:50] local.INFO: Processing buffer {"connection_id":145923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:02:50] local.INFO: IMEI packet received {"connection_id":145923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":145923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:02:51] local.INFO: TCP Data received {"connection_id":145923,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb60a548012d5713c0067c05f8001a015f2e..."} 
[2026-08-01 09:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb60a548012d5713c0067c05f8001a015f2e..."} 
[2026-08-01 09:02:51] local.INFO: Processing buffer {"connection_id":145923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb60a548012d5713c0067c05f8001a015f2e..."} 
[2026-08-01 09:02:51] local.INFO: Packet analysis {"connection_id":145923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb60"} 
[2026-08-01 09:02:51] local.INFO: Extracted packet for processing {"connection_id":145923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb60"} 
[2026-08-01 09:02:51] local.INFO: GPS Element Parsed {"raw_longitude":760681408,"raw_latitude":108791288,"longitude_deg":76.0681408,"latitude_deg":10.8791288,"altitude":26,"angle":351,"satellites":46,"speed":53,"hex_longitude":"2d5713c0","hex_latitude":"067c05f8","is_valid_coordinates":true} 
[2026-08-01 09:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102104064001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365932935901085696,"note":"Value kept but may cause issues"} 
[2026-08-01 09:02:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6275766108588976128,"note":"Value kept but may cause issues"} 
[2026-08-01 09:02:51] 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-08-01 09:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785555101000,"timestamp_ms":1785555101000,"timestamp_seconds":1785555101,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb60a548"} 
[2026-08-01 09:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:02: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-08-01 09:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-01 09:02:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09:02:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":145923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":145923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":145923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102104064001,"66":28006,"109":206,"80":60928,"24":53,"16":365932935901085696,"45":6275766108588976128},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-08-01 09:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102104064001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:02:51] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-01 09:02:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-01 09:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365932935901085696,"km_value":365932935901085.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:02:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":6275766108588976128,"description":"Unknown IO ID 45"} 
[2026-08-01 09:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102104064001,"power":28006,"unknown_109":206,"unknown_80":60928,"ignition":53,"odometer":null,"unknown_45":6275766108588976128}} 
[2026-08-01 09:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":145923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:02:51] local.INFO: GPS data processed {"connection_id":145923,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:02:51] local.INFO: Acknowledgment sent {"connection_id":145923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:03:23] local.INFO: TCP Data received {"connection_id":145923,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb60c0a0012d570dc0067c2ae00019015b2f..."} 
[2026-08-01 09:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb60c0a0012d570dc0067c2ae00019015b2f..."} 
[2026-08-01 09:03:23] local.INFO: Processing buffer {"connection_id":145923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb60c0a0012d570dc0067c2ae00019015b2f..."} 
[2026-08-01 09:03:23] local.INFO: Packet analysis {"connection_id":145923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb60"} 
[2026-08-01 09:03:23] local.INFO: Extracted packet for processing {"connection_id":145923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb60"} 
[2026-08-01 09:03:23] local.INFO: GPS Element Parsed {"raw_longitude":760679872,"raw_latitude":108800736,"longitude_deg":76.0679872,"latitude_deg":10.8800736,"altitude":25,"angle":347,"satellites":47,"speed":55,"hex_longitude":"2d570dc0","hex_latitude":"067c2ae0","is_valid_coordinates":true} 
[2026-08-01 09: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-08-01 09:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102105856001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365933399757553664,"note":"Value kept but may cause issues"} 
[2026-08-01 09:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6274569839940335616,"note":"Value kept but may cause issues"} 
[2026-08-01 09:03:23] 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-08-01 09:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785555108000,"timestamp_ms":1785555108000,"timestamp_seconds":1785555108,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb60c0a0"} 
[2026-08-01 09:03:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:03:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 09: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-01 09:03:23] 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-08-01 09: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-08-01 09:03:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":145923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":145923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":145923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:03:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102105856001,"66":27789,"109":206,"80":60928,"24":55,"16":365933399757553664,"45":6274569839940335616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-08-01 09:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102105856001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:03:23] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-01 09:03:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-01 09:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365933399757553664,"km_value":365933399757553.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":6274569839940335616,"description":"Unknown IO ID 45"} 
[2026-08-01 09:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102105856001,"power":27789,"unknown_109":206,"unknown_80":60928,"ignition":55,"odometer":null,"unknown_45":6274569839940335616}} 
[2026-08-01 09:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":145923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:03:23] local.INFO: GPS data processed {"connection_id":145923,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:03:23] local.INFO: Acknowledgment sent {"connection_id":145923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:03:50] local.INFO: TCP Data received {"connection_id":147132,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:03:50] local.INFO: Processing buffer {"connection_id":147132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:03:50] local.INFO: IMEI packet received {"connection_id":147132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 09:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":147132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 09:03:51] local.INFO: TCP Data received {"connection_id":147132,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:03:51] local.INFO: Processing buffer {"connection_id":147132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:03:51] local.INFO: IMEI packet received {"connection_id":147132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":147132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:04:04] local.INFO: TCP Data received {"connection_id":147132,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:04:04] local.INFO: Processing buffer {"connection_id":147132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:04:04] local.INFO: IMEI packet received {"connection_id":147132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":147132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:04:06] local.INFO: TCP Data received {"connection_id":147132,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb61baa0012d561980067d3e080015013a30..."} 
[2026-08-01 09:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb61baa0012d561980067d3e080015013a30..."} 
[2026-08-01 09:04:06] local.INFO: Processing buffer {"connection_id":147132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb61baa0012d561980067d3e080015013a30..."} 
[2026-08-01 09:04:06] local.INFO: Packet analysis {"connection_id":147132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb61"} 
[2026-08-01 09:04:06] local.INFO: Extracted packet for processing {"connection_id":147132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb61"} 
[2026-08-01 09:04:06] local.INFO: GPS Element Parsed {"raw_longitude":760617344,"raw_latitude":108871176,"longitude_deg":76.0617344,"latitude_deg":10.8871176,"altitude":21,"angle":314,"satellites":48,"speed":60,"hex_longitude":"2d561980","hex_latitude":"067d3e08","is_valid_coordinates":true} 
[2026-08-01 09: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-08-01 09:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102122496001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365937978192691200,"note":"Value kept but may cause issues"} 
[2026-08-01 09:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6211308338943451136,"note":"Value kept but may cause issues"} 
[2026-08-01 09:04:06] 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-08-01 09:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785555172000,"timestamp_ms":1785555172000,"timestamp_seconds":1785555172,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb61baa0"} 
[2026-08-01 09:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09: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-08-01 09:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 09:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09: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-08-01 09:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102122496001,"66":27832,"109":206,"80":60928,"24":60,"16":365937978192691200,"45":6211308338943451136},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-08-01 09:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102122496001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:04:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-01 09:04:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-01 09:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365937978192691200,"km_value":365937978192691.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6211308338943451136,"description":"Unknown IO ID 45"} 
[2026-08-01 09:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102122496001,"power":27832,"unknown_109":206,"unknown_80":60928,"ignition":60,"odometer":null,"unknown_45":6211308338943451136}} 
[2026-08-01 09:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":147132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:04:06] local.INFO: GPS data processed {"connection_id":147132,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:04:06] local.INFO: Acknowledgment sent {"connection_id":147132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:04:07] local.INFO: TCP Data received {"connection_id":147132,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb61d210012d560040067d57780013013c30..."} 
[2026-08-01 09:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb61d210012d560040067d57780013013c30..."} 
[2026-08-01 09:04:07] local.INFO: Processing buffer {"connection_id":147132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb61d210012d560040067d57780013013c30..."} 
[2026-08-01 09:04:07] local.INFO: Packet analysis {"connection_id":147132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb61"} 
[2026-08-01 09:04:07] local.INFO: Extracted packet for processing {"connection_id":147132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb61"} 
[2026-08-01 09:04:07] local.INFO: GPS Element Parsed {"raw_longitude":760610880,"raw_latitude":108877688,"longitude_deg":76.061088,"latitude_deg":10.8877688,"altitude":19,"angle":316,"satellites":48,"speed":60,"hex_longitude":"2d560040","hex_latitude":"067d5778","is_valid_coordinates":true} 
[2026-08-01 09:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102124032001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365938416279355392,"note":"Value kept but may cause issues"} 
[2026-08-01 09:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6204130727038945280,"note":"Value kept but may cause issues"} 
[2026-08-01 09:04:07] 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-08-01 09:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785555178000,"timestamp_ms":1785555178000,"timestamp_seconds":1785555178,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb61d210"} 
[2026-08-01 09:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:04: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-08-01 09: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-01 09:04: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-08-01 09: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-08-01 09:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":147132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":147132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":147132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:04:07] 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-08-01 09:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102124032001,"66":27800,"152":206,"80":60928,"24":60,"16":365938416279355392,"45":6204130727038945280},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,80,24,16,45]} 
[2026-08-01 09:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102124032001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:04:07] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-01 09:04:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-01 09:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365938416279355392,"km_value":365938416279355.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6204130727038945280,"description":"Unknown IO ID 45"} 
[2026-08-01 09:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102124032001,"power":27800,"unknown_152":206,"unknown_80":60928,"ignition":60,"odometer":null,"unknown_45":6204130727038945280}} 
[2026-08-01 09:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":147132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:04:07] local.INFO: GPS data processed {"connection_id":147132,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:04:07] local.INFO: Acknowledgment sent {"connection_id":147132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:04:44] local.INFO: TCP Data received {"connection_id":146118,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:04:44] local.INFO: Processing buffer {"connection_id":146118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:04:44] local.INFO: IMEI packet received {"connection_id":146118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 09:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":146118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 09:04:45] local.INFO: TCP Data received {"connection_id":146118,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:04:45] local.INFO: Processing buffer {"connection_id":146118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:04:45] local.INFO: IMEI packet received {"connection_id":146118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":146118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:04:50] local.INFO: TCP Data received {"connection_id":146118,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:04:50] local.INFO: Processing buffer {"connection_id":146118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:04:50] local.INFO: IMEI packet received {"connection_id":146118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":146118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:04:52] local.INFO: TCP Data received {"connection_id":146118,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb61ed68012d55e580067d75800013014130..."} 
[2026-08-01 09:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb61ed68012d55e580067d75800013014130..."} 
[2026-08-01 09:04:52] local.INFO: Processing buffer {"connection_id":146118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb61ed68012d55e580067d75800013014130..."} 
[2026-08-01 09:04:52] local.INFO: Packet analysis {"connection_id":146118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb61"} 
[2026-08-01 09:04:52] local.INFO: Extracted packet for processing {"connection_id":146118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb61"} 
[2026-08-01 09:04:52] local.INFO: GPS Element Parsed {"raw_longitude":760604032,"raw_latitude":108885376,"longitude_deg":76.0604032,"latitude_deg":10.8885376,"altitude":19,"angle":321,"satellites":48,"speed":55,"hex_longitude":"2d55e580","hex_latitude":"067d7580","is_valid_coordinates":true} 
[2026-08-01 09:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102125568001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365938914495561728,"note":"Value kept but may cause issues"} 
[2026-08-01 09:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6197023483878668288,"note":"Value kept but may cause issues"} 
[2026-08-01 09:04:52] 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-08-01 09:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785555185000,"timestamp_ms":1785555185000,"timestamp_seconds":1785555185,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb61ed68"} 
[2026-08-01 09:04:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:04: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-08-01 09:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 09:04: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-08-01 09:04:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:04:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":146118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":146118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":146118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:04:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102125568001,"66":27876,"152":206,"80":60928,"24":55,"16":365938914495561728,"45":6197023483878668288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,80,24,16,45]} 
[2026-08-01 09:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102125568001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:04:52] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-01 09:04:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-01 09:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365938914495561728,"km_value":365938914495561.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":6197023483878668288,"description":"Unknown IO ID 45"} 
[2026-08-01 09:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102125568001,"power":27876,"unknown_152":206,"unknown_80":60928,"ignition":55,"odometer":null,"unknown_45":6197023483878668288}} 
[2026-08-01 09:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":146118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:04:52] local.INFO: GPS data processed {"connection_id":146118,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:04:52] local.INFO: Acknowledgment sent {"connection_id":146118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:05:26] local.INFO: TCP Data received {"connection_id":146118,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb6208c0012d55cf80067d92100014014431..."} 
[2026-08-01 09:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb6208c0012d55cf80067d92100014014431..."} 
[2026-08-01 09:05:26] local.INFO: Processing buffer {"connection_id":146118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb6208c0012d55cf80067d92100014014431..."} 
[2026-08-01 09:05:26] local.INFO: Packet analysis {"connection_id":146118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb62"} 
[2026-08-01 09:05:26] local.INFO: Extracted packet for processing {"connection_id":146118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb62"} 
[2026-08-01 09:05:26] local.INFO: GPS Element Parsed {"raw_longitude":760598400,"raw_latitude":108892688,"longitude_deg":76.05984,"latitude_deg":10.8892688,"altitude":20,"angle":324,"satellites":49,"speed":49,"hex_longitude":"2d55cf80","hex_latitude":"067d9210","is_valid_coordinates":true} 
[2026-08-01 09:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102127360001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365939361172160512,"note":"Value kept but may cause issues"} 
[2026-08-01 09:05:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6189494028253626368,"note":"Value kept but may cause issues"} 
[2026-08-01 09:05:26] 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-08-01 09:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785555192000,"timestamp_ms":1785555192000,"timestamp_seconds":1785555192,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb6208c0"} 
[2026-08-01 09:05:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:05:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 09:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 09:05:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09:05:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:05:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":146118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":146118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":146118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:05:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102127360001,"66":27876,"152":206,"80":60928,"24":49,"16":365939361172160512,"45":6189494028253626368},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,80,24,16,45]} 
[2026-08-01 09:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102127360001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:05:26] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-01 09:05:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-01 09:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365939361172160512,"km_value":365939361172160.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:05:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":6189494028253626368,"description":"Unknown IO ID 45"} 
[2026-08-01 09:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102127360001,"power":27876,"unknown_152":206,"unknown_80":60928,"ignition":49,"odometer":null,"unknown_45":6189494028253626368}} 
[2026-08-01 09:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":146118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:05:26] local.INFO: GPS data processed {"connection_id":146118,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:05:26] local.INFO: Acknowledgment sent {"connection_id":146118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:06:20] local.INFO: TCP Data received {"connection_id":146119,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:06:20] local.INFO: Processing buffer {"connection_id":146119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:06:20] local.INFO: IMEI packet received {"connection_id":146119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 09:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":146119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 09:06:21] local.INFO: TCP Data received {"connection_id":146119,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:06:21] local.INFO: Processing buffer {"connection_id":146119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:06:21] local.INFO: IMEI packet received {"connection_id":146119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:06:21] local.INFO: IMEI acknowledgment sent {"connection_id":146119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:06:24] local.INFO: TCP Data received {"connection_id":146119,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:06:24] local.INFO: Processing buffer {"connection_id":146119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:06:24] local.INFO: IMEI packet received {"connection_id":146119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":146119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:06:25] local.INFO: TCP Data received {"connection_id":146119,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb636c38012d553340067f05800026014632..."} 
[2026-08-01 09:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb636c38012d553340067f05800026014632..."} 
[2026-08-01 09:06:25] local.INFO: Processing buffer {"connection_id":146119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb636c38012d553340067f05800026014632..."} 
[2026-08-01 09:06:25] local.INFO: Packet analysis {"connection_id":146119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb63"} 
[2026-08-01 09:06:25] local.INFO: Extracted packet for processing {"connection_id":146119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb63"} 
[2026-08-01 09:06:25] local.INFO: GPS Element Parsed {"raw_longitude":760558400,"raw_latitude":108987776,"longitude_deg":76.05584,"latitude_deg":10.8987776,"altitude":38,"angle":326,"satellites":50,"speed":32,"hex_longitude":"2d553340","hex_latitude":"067f0580","is_valid_coordinates":true} 
[2026-08-01 09:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102149632001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365944403463766016,"note":"Value kept but may cause issues"} 
[2026-08-01 09:06:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6145443194422593536,"note":"Value kept but may cause issues"} 
[2026-08-01 09:06:25] 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-08-01 09:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785555283000,"timestamp_ms":1785555283000,"timestamp_seconds":1785555283,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb636c38"} 
[2026-08-01 09:06:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:06:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 09:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 09:06:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09:06:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:06:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":146119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":146119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":146119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:06:25] 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-08-01 09:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102149632001,"66":27821,"228":206,"80":60928,"24":32,"16":365944403463766016,"45":6145443194422593536},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,80,24,16,45]} 
[2026-08-01 09:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102149632001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:06:25] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-01 09:06:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-01 09:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365944403463766016,"km_value":365944403463766.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:06:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":6145443194422593536,"description":"Unknown IO ID 45"} 
[2026-08-01 09:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102149632001,"power":27821,"unknown_228":206,"unknown_80":60928,"ignition":32,"odometer":null,"unknown_45":6145443194422593536}} 
[2026-08-01 09:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":146119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:06:25] local.INFO: GPS data processed {"connection_id":146119,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:06:25] local.INFO: Acknowledgment sent {"connection_id":146119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:06:49] local.INFO: TCP Data received {"connection_id":148453,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:06:49] local.INFO: Processing buffer {"connection_id":148453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:06:49] local.INFO: IMEI packet received {"connection_id":148453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 09:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":148453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 09:06:55] local.INFO: TCP Data received {"connection_id":148453,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:06:55] local.INFO: Processing buffer {"connection_id":148453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:06:55] local.INFO: IMEI packet received {"connection_id":148453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":148453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:06:55] local.INFO: TCP Data received {"connection_id":148453,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb639b18012d5520c0067f26600028015031..."} 
[2026-08-01 09:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb639b18012d5520c0067f26600028015031..."} 
[2026-08-01 09:06:56] local.INFO: Processing buffer {"connection_id":148453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb639b18012d5520c0067f26600028015031..."} 
[2026-08-01 09:06:56] local.INFO: Packet analysis {"connection_id":148453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb63"} 
[2026-08-01 09:06:56] local.INFO: Extracted packet for processing {"connection_id":148453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb63"} 
[2026-08-01 09:06:56] local.INFO: GPS Element Parsed {"raw_longitude":760553664,"raw_latitude":108996192,"longitude_deg":76.0553664,"latitude_deg":10.8996192,"altitude":40,"angle":336,"satellites":49,"speed":31,"hex_longitude":"2d5520c0","hex_latitude":"067f2660","is_valid_coordinates":true} 
[2026-08-01 09:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:06:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102152448001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:06:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365944871615201280,"note":"Value kept but may cause issues"} 
[2026-08-01 09:06:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6139321113681166336,"note":"Value kept but may cause issues"} 
[2026-08-01 09:06:56] 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-08-01 09:06:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785555295000,"timestamp_ms":1785555295000,"timestamp_seconds":1785555295,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb639b18"} 
[2026-08-01 09:06:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:06:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 09:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 09:06: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-08-01 09:06:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:06:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:06:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":148453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":148453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":148453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:06:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:06:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:06:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:06:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102152448001,"66":27658,"228":206,"80":60928,"24":31,"16":365944871615201280,"45":6139321113681166336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,80,24,16,45]} 
[2026-08-01 09:06:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:06:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:06:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102152448001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:06:56] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-01 09:06:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-01 09:06:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365944871615201280,"km_value":365944871615201.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:06:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":6139321113681166336,"description":"Unknown IO ID 45"} 
[2026-08-01 09:06:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102152448001,"power":27658,"unknown_228":206,"unknown_80":60928,"ignition":31,"odometer":null,"unknown_45":6139321113681166336}} 
[2026-08-01 09:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":148453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:06:56] local.INFO: GPS data processed {"connection_id":148453,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:06:56] local.INFO: Acknowledgment sent {"connection_id":148453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:07:26] local.INFO: TCP Data received {"connection_id":148453,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb63c610012d5514c0067f4708002b015431..."} 
[2026-08-01 09:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb63c610012d5514c0067f4708002b015431..."} 
[2026-08-01 09:07:26] local.INFO: Processing buffer {"connection_id":148453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb63c610012d5514c0067f4708002b015431..."} 
[2026-08-01 09:07:26] local.INFO: Packet analysis {"connection_id":148453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb63"} 
[2026-08-01 09:07:26] local.INFO: Extracted packet for processing {"connection_id":148453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb63"} 
[2026-08-01 09:07:26] local.INFO: GPS Element Parsed {"raw_longitude":760550592,"raw_latitude":109004552,"longitude_deg":76.0550592,"latitude_deg":10.9004552,"altitude":43,"angle":340,"satellites":49,"speed":32,"hex_longitude":"2d5514c0","hex_latitude":"067f4708","is_valid_coordinates":true} 
[2026-08-01 09: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-08-01 09:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102155520001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365945301111930880,"note":"Value kept but may cause issues"} 
[2026-08-01 09:07:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6134113826614173696,"note":"Value kept but may cause issues"} 
[2026-08-01 09:07:26] 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-08-01 09:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785555306000,"timestamp_ms":1785555306000,"timestamp_seconds":1785555306,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb63c610"} 
[2026-08-01 09:07:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09: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-08-01 09: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 09:07:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09: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-08-01 09:07:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:07:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102155520001,"66":27745,"228":206,"80":60928,"24":32,"16":365945301111930880,"45":6134113826614173696},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,80,24,16,45]} 
[2026-08-01 09:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102155520001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:07:26] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-01 09:07:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-01 09:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365945301111930880,"km_value":365945301111930.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:07:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":6134113826614173696,"description":"Unknown IO ID 45"} 
[2026-08-01 09:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102155520001,"power":27745,"unknown_228":206,"unknown_80":60928,"ignition":32,"odometer":null,"unknown_45":6134113826614173696}} 
[2026-08-01 09:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":148453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:07:26] local.INFO: GPS data processed {"connection_id":148453,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:07:26] local.INFO: Acknowledgment sent {"connection_id":148453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:07:44] local.INFO: TCP Data received {"connection_id":146120,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:07:44] local.INFO: Processing buffer {"connection_id":146120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:07:44] local.INFO: IMEI packet received {"connection_id":146120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 09:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":146120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 09:07:48] local.INFO: TCP Data received {"connection_id":146120,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:07:48] local.INFO: Processing buffer {"connection_id":146120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:07:48] local.INFO: IMEI packet received {"connection_id":146120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":146120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:07:49] local.INFO: TCP Data received {"connection_id":146120,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:07:49] local.INFO: Processing buffer {"connection_id":146120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:07:49] local.INFO: IMEI packet received {"connection_id":146120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":146120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:07:50] local.INFO: TCP Data received {"connection_id":146120,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb63f108012d550980067f6880002d015530..."} 
[2026-08-01 09:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb63f108012d550980067f6880002d015530..."} 
[2026-08-01 09:07:50] local.INFO: Processing buffer {"connection_id":146120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb63f108012d550980067f6880002d015530..."} 
[2026-08-01 09:07:50] local.INFO: Packet analysis {"connection_id":146120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb63"} 
[2026-08-01 09:07:50] local.INFO: Extracted packet for processing {"connection_id":146120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb63"} 
[2026-08-01 09:07:50] local.INFO: GPS Element Parsed {"raw_longitude":760547712,"raw_latitude":109013120,"longitude_deg":76.0547712,"latitude_deg":10.901312,"altitude":45,"angle":341,"satellites":48,"speed":32,"hex_longitude":"2d550980","hex_latitude":"067f6880","is_valid_coordinates":true} 
[2026-08-01 09:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:07:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102158336001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:07:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365945739198595072,"note":"Value kept but may cause issues"} 
[2026-08-01 09:07:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6130736126895785984,"note":"Value kept but may cause issues"} 
[2026-08-01 09:07:50] 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-08-01 09:07:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785555317000,"timestamp_ms":1785555317000,"timestamp_seconds":1785555317,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb63f108"} 
[2026-08-01 09:07:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:07: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-08-01 09:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 09:07:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09:07:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:07:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:07:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:07:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:07:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:07:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:07:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:07:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:07:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:07:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102158336001,"66":27800,"228":206,"80":60928,"24":32,"16":365945739198595072,"45":6130736126895785984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,80,24,16,45]} 
[2026-08-01 09:07:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:07:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:07:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102158336001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:07:50] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-01 09:07:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-01 09:07:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365945739198595072,"km_value":365945739198595.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:07:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":6130736126895785984,"description":"Unknown IO ID 45"} 
[2026-08-01 09:07:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102158336001,"power":27800,"unknown_228":206,"unknown_80":60928,"ignition":32,"odometer":null,"unknown_45":6130736126895785984}} 
[2026-08-01 09:07:50] local.INFO: DEBUG: GPS processor result {"connection_id":146120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:07:50] local.INFO: GPS data processed {"connection_id":146120,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:07:50] local.INFO: Acknowledgment sent {"connection_id":146120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:08:21] local.INFO: TCP Data received {"connection_id":146120,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb641fe8012d54fcc0067f8af80030015131..."} 
[2026-08-01 09:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb641fe8012d54fcc0067f8af80030015131..."} 
[2026-08-01 09:08:21] local.INFO: Processing buffer {"connection_id":146120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb641fe8012d54fcc0067f8af80030015131..."} 
[2026-08-01 09:08:21] local.INFO: Packet analysis {"connection_id":146120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb64"} 
[2026-08-01 09:08:21] local.INFO: Extracted packet for processing {"connection_id":146120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb64"} 
[2026-08-01 09:08:21] local.INFO: GPS Element Parsed {"raw_longitude":760544448,"raw_latitude":109021944,"longitude_deg":76.0544448,"latitude_deg":10.9021944,"altitude":48,"angle":337,"satellites":49,"speed":29,"hex_longitude":"2d54fcc0","hex_latitude":"067f8af8","is_valid_coordinates":true} 
[2026-08-01 09:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102161152001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365946194465128448,"note":"Value kept but may cause issues"} 
[2026-08-01 09:08:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6127569533409984512,"note":"Value kept but may cause issues"} 
[2026-08-01 09:08:21] 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-08-01 09:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785555329000,"timestamp_ms":1785555329000,"timestamp_seconds":1785555329,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb641fe8"} 
[2026-08-01 09:08:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:08: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-08-01 09:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 09:08:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09:08:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:08:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:08:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102161152001,"66":27800,"152":206,"80":60928,"24":29,"16":365946194465128448,"45":6127569533409984512},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,80,24,16,45]} 
[2026-08-01 09:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102161152001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:08:21] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-01 09:08:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-01 09:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365946194465128448,"km_value":365946194465128.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:08:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":6127569533409984512,"description":"Unknown IO ID 45"} 
[2026-08-01 09:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102161152001,"power":27800,"unknown_152":206,"unknown_80":60928,"ignition":29,"odometer":null,"unknown_45":6127569533409984512}} 
[2026-08-01 09:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":146120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:08:21] local.INFO: GPS data processed {"connection_id":146120,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:08:21] local.INFO: Acknowledgment sent {"connection_id":146120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:08:49] local.INFO: TCP Data received {"connection_id":146121,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:08:49] local.INFO: Processing buffer {"connection_id":146121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:08:49] local.INFO: IMEI packet received {"connection_id":146121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 09:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":146121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 09:08:55] local.INFO: TCP Data received {"connection_id":146121,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:08:55] local.INFO: Processing buffer {"connection_id":146121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:08:55] local.INFO: IMEI packet received {"connection_id":146121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":146121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:08:56] local.INFO: TCP Data received {"connection_id":146121,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb645698012d54ed80067fabe00034014c31..."} 
[2026-08-01 09:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb645698012d54ed80067fabe00034014c31..."} 
[2026-08-01 09:08:56] local.INFO: Processing buffer {"connection_id":146121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb645698012d54ed80067fabe00034014c31..."} 
[2026-08-01 09:08:56] local.INFO: Packet analysis {"connection_id":146121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb64"} 
[2026-08-01 09:08:56] local.INFO: Extracted packet for processing {"connection_id":146121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb64"} 
[2026-08-01 09:08:56] local.INFO: GPS Element Parsed {"raw_longitude":760540544,"raw_latitude":109030368,"longitude_deg":76.0540544,"latitude_deg":10.9030368,"altitude":52,"angle":332,"satellites":49,"speed":21,"hex_longitude":"2d54ed80","hex_latitude":"067fabe0","is_valid_coordinates":true} 
[2026-08-01 09:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102164224001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365946645436694528,"note":"Value kept but may cause issues"} 
[2026-08-01 09:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6123980727459182592,"note":"Value kept but may cause issues"} 
[2026-08-01 09:08:56] 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-08-01 09:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785555343000,"timestamp_ms":1785555343000,"timestamp_seconds":1785555343,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb645698"} 
[2026-08-01 09:08:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:08:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 09:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 09:08:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09:08:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:08:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":146121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":146121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":146121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:08:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102164224001,"66":27908,"152":206,"80":60928,"24":21,"16":365946645436694528,"45":6123980727459182592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,80,24,16,45]} 
[2026-08-01 09:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102164224001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:08:56] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-01 09:08:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-01 09:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365946645436694528,"km_value":365946645436694.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":6123980727459182592,"description":"Unknown IO ID 45"} 
[2026-08-01 09:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102164224001,"power":27908,"unknown_152":206,"unknown_80":60928,"ignition":21,"odometer":null,"unknown_45":6123980727459182592}} 
[2026-08-01 09:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":146121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:08:56] local.INFO: GPS data processed {"connection_id":146121,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:08:56] local.INFO: Acknowledgment sent {"connection_id":146121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:08:56] local.INFO: TCP Data received {"connection_id":146121,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb649ce8012d54db80067fcbe0003a014a30..."} 
[2026-08-01 09:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb649ce8012d54db80067fcbe0003a014a30..."} 
[2026-08-01 09:08:56] local.INFO: Processing buffer {"connection_id":146121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb649ce8012d54db80067fcbe0003a014a30..."} 
[2026-08-01 09:08:56] local.INFO: Packet analysis {"connection_id":146121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb64"} 
[2026-08-01 09:08:56] local.INFO: Extracted packet for processing {"connection_id":146121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb64"} 
[2026-08-01 09:08:56] local.INFO: GPS Element Parsed {"raw_longitude":760535936,"raw_latitude":109038560,"longitude_deg":76.0535936,"latitude_deg":10.903856,"altitude":58,"angle":330,"satellites":48,"speed":20,"hex_longitude":"2d54db80","hex_latitude":"067fcbe0","is_valid_coordinates":true} 
[2026-08-01 09:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102167808001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365947096408260608,"note":"Value kept but may cause issues"} 
[2026-08-01 09:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6119688234066501632,"note":"Value kept but may cause issues"} 
[2026-08-01 09:08:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 09:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785555361000,"timestamp_ms":1785555361000,"timestamp_seconds":1785555361,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb649ce8"} 
[2026-08-01 09:08:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:08:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 09:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 09:08:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09:08:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:08:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":146121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":146121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":146121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:08:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102167808001,"66":27800,"107":206,"80":60928,"24":20,"16":365947096408260608,"45":6119688234066501632},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,80,24,16,45]} 
[2026-08-01 09:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102167808001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:08:56] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 09:08:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-01 09:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365947096408260608,"km_value":365947096408260.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":6119688234066501632,"description":"Unknown IO ID 45"} 
[2026-08-01 09:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102167808001,"power":27800,"unknown_107":206,"unknown_80":60928,"ignition":20,"odometer":null,"unknown_45":6119688234066501632}} 
[2026-08-01 09:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":146121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:08:56] local.INFO: GPS data processed {"connection_id":146121,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:08:56] local.INFO: Acknowledgment sent {"connection_id":146121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:09:27] local.INFO: TCP Data received {"connection_id":146121,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb64e338012d54ca40067feb98003f014b30..."} 
[2026-08-01 09:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb64e338012d54ca40067feb98003f014b30..."} 
[2026-08-01 09:09:27] local.INFO: Processing buffer {"connection_id":146121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb64e338012d54ca40067feb98003f014b30..."} 
[2026-08-01 09:09:27] local.INFO: Packet analysis {"connection_id":146121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb64"} 
[2026-08-01 09:09:27] local.INFO: Extracted packet for processing {"connection_id":146121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb64"} 
[2026-08-01 09:09:27] local.INFO: GPS Element Parsed {"raw_longitude":760531520,"raw_latitude":109046680,"longitude_deg":76.053152,"latitude_deg":10.904668,"altitude":63,"angle":331,"satellites":48,"speed":20,"hex_longitude":"2d54ca40","hex_latitude":"067feb98","is_valid_coordinates":true} 
[2026-08-01 09: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-08-01 09:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102172416001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365947543084859392,"note":"Value kept but may cause issues"} 
[2026-08-01 09:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6114621684487806976,"note":"Value kept but may cause issues"} 
[2026-08-01 09:09:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 09:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785555379000,"timestamp_ms":1785555379000,"timestamp_seconds":1785555379,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb64e338"} 
[2026-08-01 09:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:09: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-08-01 09:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 09:09: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-08-01 09: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-08-01 09:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":146121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":146121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":146121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102172416001,"66":27800,"107":206,"80":60928,"24":20,"16":365947543084859392,"45":6114621684487806976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,80,24,16,45]} 
[2026-08-01 09:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102172416001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:09:27] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 09:09:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-01 09:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365947543084859392,"km_value":365947543084859.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":6114621684487806976,"description":"Unknown IO ID 45"} 
[2026-08-01 09:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102172416001,"power":27800,"unknown_107":206,"unknown_80":60928,"ignition":20,"odometer":null,"unknown_45":6114621684487806976}} 
[2026-08-01 09:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":146121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:09:27] local.INFO: GPS data processed {"connection_id":146121,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:09:27] local.INFO: Acknowledgment sent {"connection_id":146121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:09:44] local.INFO: TCP Data received {"connection_id":146122,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:09:44] local.INFO: Processing buffer {"connection_id":146122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:09:44] local.INFO: IMEI packet received {"connection_id":146122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 09:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":146122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 09:09:46] local.INFO: TCP Data received {"connection_id":146122,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:09:46] local.INFO: Processing buffer {"connection_id":146122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:09:46] local.INFO: IMEI packet received {"connection_id":146122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":146122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:09:49] local.INFO: TCP Data received {"connection_id":146122,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:09:49] local.INFO: Processing buffer {"connection_id":146122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:09:49] local.INFO: IMEI packet received {"connection_id":146122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":146122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:09:50] local.INFO: TCP Data received {"connection_id":146122,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb652988012d54b8c006800bc80044014b2f..."} 
[2026-08-01 09:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb652988012d54b8c006800bc80044014b2f..."} 
[2026-08-01 09:09:50] local.INFO: Processing buffer {"connection_id":146122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb652988012d54b8c006800bc80044014b2f..."} 
[2026-08-01 09:09:50] local.INFO: Packet analysis {"connection_id":146122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb65"} 
[2026-08-01 09:09:50] local.INFO: Extracted packet for processing {"connection_id":146122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb65"} 
[2026-08-01 09:09:50] local.INFO: GPS Element Parsed {"raw_longitude":760527040,"raw_latitude":109054920,"longitude_deg":76.052704,"latitude_deg":10.905492,"altitude":68,"angle":331,"satellites":47,"speed":20,"hex_longitude":"2d54b8c0","hex_latitude":"06800bc8","is_valid_coordinates":true} 
[2026-08-01 09: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-08-01 09:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102177024001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365947998351392768,"note":"Value kept but may cause issues"} 
[2026-08-01 09:09:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6109766241141626880,"note":"Value kept but may cause issues"} 
[2026-08-01 09:09:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 09:09:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785555397000,"timestamp_ms":1785555397000,"timestamp_seconds":1785555397,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb652988"} 
[2026-08-01 09:09:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:09:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 09: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 09:09:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09: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-08-01 09:09:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:09:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:09:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:09:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:09:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102177024001,"66":27745,"107":206,"80":60928,"24":20,"16":365947998351392768,"45":6109766241141626880},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,80,24,16,45]} 
[2026-08-01 09:09:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:09:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:09:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102177024001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:09:50] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 09:09:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-01 09:09:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365947998351392768,"km_value":365947998351392.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:09:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":6109766241141626880,"description":"Unknown IO ID 45"} 
[2026-08-01 09:09:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102177024001,"power":27745,"unknown_107":206,"unknown_80":60928,"ignition":20,"odometer":null,"unknown_45":6109766241141626880}} 
[2026-08-01 09:09:50] local.INFO: DEBUG: GPS processor result {"connection_id":146122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:09:50] local.INFO: GPS data processed {"connection_id":146122,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:09:50] local.INFO: Acknowledgment sent {"connection_id":146122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:10:21] local.INFO: TCP Data received {"connection_id":146122,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb656bf0012d54a78006802b280048014b30..."} 
[2026-08-01 09:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb656bf0012d54a78006802b280048014b30..."} 
[2026-08-01 09:10:21] local.INFO: Processing buffer {"connection_id":146122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb656bf0012d54a78006802b280048014b30..."} 
[2026-08-01 09:10:21] local.INFO: Packet analysis {"connection_id":146122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb65"} 
[2026-08-01 09:10:21] local.INFO: Extracted packet for processing {"connection_id":146122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb65"} 
[2026-08-01 09:10:21] local.INFO: GPS Element Parsed {"raw_longitude":760522624,"raw_latitude":109062952,"longitude_deg":76.0522624,"latitude_deg":10.9062952,"altitude":72,"angle":331,"satellites":48,"speed":21,"hex_longitude":"2d54a780","hex_latitude":"06802b28","is_valid_coordinates":true} 
[2026-08-01 09: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-08-01 09:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102181632001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365948440733024256,"note":"Value kept but may cause issues"} 
[2026-08-01 09:10:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6104840429051299840,"note":"Value kept but may cause issues"} 
[2026-08-01 09:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 09:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785555414000,"timestamp_ms":1785555414000,"timestamp_seconds":1785555414,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb656bf0"} 
[2026-08-01 09:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:10:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 09:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 09:10:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09: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-08-01 09:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:10:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102181632001,"66":27767,"107":206,"80":60928,"24":21,"16":365948440733024256,"45":6104840429051299840},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,80,24,16,45]} 
[2026-08-01 09:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102181632001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:10:21] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 09:10:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-01 09:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365948440733024256,"km_value":365948440733024.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:10:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":6104840429051299840,"description":"Unknown IO ID 45"} 
[2026-08-01 09:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102181632001,"power":27767,"unknown_107":206,"unknown_80":60928,"ignition":21,"odometer":null,"unknown_45":6104840429051299840}} 
[2026-08-01 09:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":146122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:10:21] local.INFO: GPS data processed {"connection_id":146122,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:10:21] local.INFO: Acknowledgment sent {"connection_id":146122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:10:45] local.INFO: TCP Data received {"connection_id":147133,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:10:45] local.INFO: Processing buffer {"connection_id":147133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:10:45] local.INFO: IMEI packet received {"connection_id":147133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 09:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":147133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 09:10:49] local.INFO: TCP Data received {"connection_id":147133,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:10:49] local.INFO: Processing buffer {"connection_id":147133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:10:49] local.INFO: IMEI packet received {"connection_id":147133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":147133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:10:50] local.INFO: TCP Data received {"connection_id":147133,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb65ae58012d54960006804b10004d014a29..."} 
[2026-08-01 09:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb65ae58012d54960006804b10004d014a29..."} 
[2026-08-01 09:10:50] local.INFO: Processing buffer {"connection_id":147133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb65ae58012d54960006804b10004d014a29..."} 
[2026-08-01 09:10:50] local.INFO: Packet analysis {"connection_id":147133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb65"} 
[2026-08-01 09:10:50] local.INFO: Extracted packet for processing {"connection_id":147133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb65"} 
[2026-08-01 09:10:50] local.INFO: GPS Element Parsed {"raw_longitude":760518144,"raw_latitude":109071120,"longitude_deg":76.0518144,"latitude_deg":10.907112,"altitude":77,"angle":330,"satellites":41,"speed":21,"hex_longitude":"2d549600","hex_latitude":"06804b10","is_valid_coordinates":true} 
[2026-08-01 09: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-08-01 09:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102185984001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365948891704590336,"note":"Value kept but may cause issues"} 
[2026-08-01 09:10:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6099984985705097216,"note":"Value kept but may cause issues"} 
[2026-08-01 09:10:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 09:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785555431000,"timestamp_ms":1785555431000,"timestamp_seconds":1785555431,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb65ae58"} 
[2026-08-01 09:10:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:10: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-08-01 09:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 09:10:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09: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-08-01 09:10:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:10:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102185984001,"66":27767,"149":206,"80":60928,"24":21,"16":365948891704590336,"45":6099984985705097216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-01 09:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102185984001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:10:50] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-01 09:10:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-01 09:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365948891704590336,"km_value":365948891704590.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:10:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":6099984985705097216,"description":"Unknown IO ID 45"} 
[2026-08-01 09:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102185984001,"power":27767,"unknown_149":206,"unknown_80":60928,"ignition":21,"odometer":null,"unknown_45":6099984985705097216}} 
[2026-08-01 09:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":147133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:10:50] local.INFO: GPS data processed {"connection_id":147133,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:10:50] local.INFO: Acknowledgment sent {"connection_id":147133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:11:21] local.INFO: TCP Data received {"connection_id":147133,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb65f0c0012d548240068069a0005101412f..."} 
[2026-08-01 09:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb65f0c0012d548240068069a0005101412f..."} 
[2026-08-01 09:11:21] local.INFO: Processing buffer {"connection_id":147133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb65f0c0012d548240068069a0005101412f..."} 
[2026-08-01 09:11:21] local.INFO: Packet analysis {"connection_id":147133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb65"} 
[2026-08-01 09:11:21] local.INFO: Extracted packet for processing {"connection_id":147133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb65"} 
[2026-08-01 09:11:21] local.INFO: GPS Element Parsed {"raw_longitude":760513088,"raw_latitude":109078944,"longitude_deg":76.0513088,"latitude_deg":10.9078944,"altitude":81,"angle":321,"satellites":47,"speed":19,"hex_longitude":"2d548240","hex_latitude":"068069a0","is_valid_coordinates":true} 
[2026-08-01 09:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102190336001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365949342676156416,"note":"Value kept but may cause issues"} 
[2026-08-01 09:11:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6095059173614751744,"note":"Value kept but may cause issues"} 
[2026-08-01 09:11:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 09:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785555448000,"timestamp_ms":1785555448000,"timestamp_seconds":1785555448,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb65f0c0"} 
[2026-08-01 09:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:11: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-08-01 09:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 09:11:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09:11:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:11:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102190336001,"66":27745,"149":206,"80":60928,"24":19,"16":365949342676156416,"45":6095059173614751744},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-01 09:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102190336001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:11:21] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-01 09:11:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-01 09:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365949342676156416,"km_value":365949342676156.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:11:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":6095059173614751744,"description":"Unknown IO ID 45"} 
[2026-08-01 09:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102190336001,"power":27745,"unknown_149":206,"unknown_80":60928,"ignition":19,"odometer":null,"unknown_45":6095059173614751744}} 
[2026-08-01 09:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":147133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:11:21] local.INFO: GPS data processed {"connection_id":147133,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:11:21] local.INFO: Acknowledgment sent {"connection_id":147133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:12:00] local.INFO: TCP Data received {"connection_id":148454,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:12:00] local.INFO: Processing buffer {"connection_id":148454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:12:00] local.INFO: IMEI packet received {"connection_id":148454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 09:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":148454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 09:12:05] local.INFO: TCP Data received {"connection_id":148454,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:12:05] local.INFO: Processing buffer {"connection_id":148454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:12:05] local.INFO: IMEI packet received {"connection_id":148454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":148454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:12:06] local.INFO: TCP Data received {"connection_id":148454,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb68b3c8012d535bc006816e00008201382f..."} 
[2026-08-01 09:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb68b3c8012d535bc006816e00008201382f..."} 
[2026-08-01 09:12:06] local.INFO: Processing buffer {"connection_id":148454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb68b3c8012d535bc006816e00008201382f..."} 
[2026-08-01 09:12:06] local.INFO: Packet analysis {"connection_id":148454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb68"} 
[2026-08-01 09:12:06] local.INFO: Extracted packet for processing {"connection_id":148454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb68"} 
[2026-08-01 09:12:06] local.INFO: GPS Element Parsed {"raw_longitude":760437696,"raw_latitude":109145600,"longitude_deg":76.0437696,"latitude_deg":10.91456,"altitude":130,"angle":312,"satellites":47,"speed":23,"hex_longitude":"2d535bc0","hex_latitude":"06816e00","is_valid_coordinates":true} 
[2026-08-01 09: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-08-01 09:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102236928001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365954183104299008,"note":"Value kept but may cause issues"} 
[2026-08-01 09:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6014064749083678720,"note":"Value kept but may cause issues"} 
[2026-08-01 09:12:06] 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-08-01 09:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785555629000,"timestamp_ms":1785555629000,"timestamp_seconds":1785555629,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb68b3c8"} 
[2026-08-01 09:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 09: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 09:12: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-08-01 09: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-08-01 09:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102236928001,"66":27865,"153":206,"80":60928,"24":23,"16":365954183104299008,"45":6014064749083678720},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,80,24,16,45]} 
[2026-08-01 09:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102236928001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:12:06] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-01 09:12:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-01 09:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365954183104299008,"km_value":365954183104299.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6014064749083678720,"description":"Unknown IO ID 45"} 
[2026-08-01 09:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102236928001,"power":27865,"unknown_153":206,"unknown_80":60928,"ignition":23,"odometer":null,"unknown_45":6014064749083678720}} 
[2026-08-01 09:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":148454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:12:06] local.INFO: GPS data processed {"connection_id":148454,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:12:06] local.INFO: Acknowledgment sent {"connection_id":148454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:12:44] local.INFO: TCP Data received {"connection_id":147134,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:12:44] local.INFO: Processing buffer {"connection_id":147134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:12:44] local.INFO: IMEI packet received {"connection_id":147134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 09:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":147134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 09:12:45] local.INFO: TCP Data received {"connection_id":147134,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:12:45] local.INFO: Processing buffer {"connection_id":147134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:12:45] local.INFO: IMEI packet received {"connection_id":147134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":147134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:12:49] local.INFO: TCP Data received {"connection_id":147134,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:12:49] local.INFO: Processing buffer {"connection_id":147134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:12:49] local.INFO: IMEI packet received {"connection_id":147134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":147134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:12:50] local.INFO: TCP Data received {"connection_id":147134,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb68ee60012d5341c006818660008501392f..."} 
[2026-08-01 09:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb68ee60012d5341c006818660008501392f..."} 
[2026-08-01 09:12:50] local.INFO: Processing buffer {"connection_id":147134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb68ee60012d5341c006818660008501392f..."} 
[2026-08-01 09:12:50] local.INFO: Packet analysis {"connection_id":147134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb68"} 
[2026-08-01 09:12:50] local.INFO: Extracted packet for processing {"connection_id":147134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb68"} 
[2026-08-01 09:12:50] local.INFO: GPS Element Parsed {"raw_longitude":760431040,"raw_latitude":109151840,"longitude_deg":76.043104,"latitude_deg":10.915184,"altitude":133,"angle":313,"satellites":47,"speed":24,"hex_longitude":"2d5341c0","hex_latitude":"06818660","is_valid_coordinates":true} 
[2026-08-01 09: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-08-01 09:12:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102241024001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:12:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365954621190963200,"note":"Value kept but may cause issues"} 
[2026-08-01 09:12:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6006605662202494976,"note":"Value kept but may cause issues"} 
[2026-08-01 09:12:50] 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-08-01 09:12:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785555644000,"timestamp_ms":1785555644000,"timestamp_seconds":1785555644,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb68ee60"} 
[2026-08-01 09:12:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:12: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-08-01 09:12:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 09:12:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09: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-08-01 09:12:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:12:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:12:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:12:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:12:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:12:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:12:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:12:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:12:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102241024001,"66":27767,"153":206,"80":60928,"24":24,"16":365954621190963200,"45":6006605662202494976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,80,24,16,45]} 
[2026-08-01 09:12:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:12:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:12:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102241024001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:12:50] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-01 09:12:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-01 09:12:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365954621190963200,"km_value":365954621190963.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:12:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":6006605662202494976,"description":"Unknown IO ID 45"} 
[2026-08-01 09:12:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102241024001,"power":27767,"unknown_153":206,"unknown_80":60928,"ignition":24,"odometer":null,"unknown_45":6006605662202494976}} 
[2026-08-01 09:12:50] local.INFO: DEBUG: GPS processor result {"connection_id":147134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:12:50] local.INFO: GPS data processed {"connection_id":147134,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:12:50] local.INFO: Acknowledgment sent {"connection_id":147134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:13:24] local.INFO: TCP Data received {"connection_id":147134,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb6a6d30012d52034006828bd80080012d2e..."} 
[2026-08-01 09:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb6a6d30012d52034006828bd80080012d2e..."} 
[2026-08-01 09:13:24] local.INFO: Processing buffer {"connection_id":147134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb6a6d30012d52034006828bd80080012d2e..."} 
[2026-08-01 09:13:24] local.INFO: Packet analysis {"connection_id":147134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb6a"} 
[2026-08-01 09:13:24] local.INFO: Extracted packet for processing {"connection_id":147134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb6a"} 
[2026-08-01 09:13:24] local.INFO: GPS Element Parsed {"raw_longitude":760349504,"raw_latitude":109218776,"longitude_deg":76.0349504,"latitude_deg":10.9218776,"altitude":128,"angle":301,"satellites":46,"speed":42,"hex_longitude":"2d520340","hex_latitude":"06828bd8","is_valid_coordinates":true} 
[2026-08-01 09:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:13:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102267904001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:13:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365959693547339776,"note":"Value kept but may cause issues"} 
[2026-08-01 09:13:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5918503994509570048,"note":"Value kept but may cause issues"} 
[2026-08-01 09:13:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 09:13:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785555742000,"timestamp_ms":1785555742000,"timestamp_seconds":1785555742,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb6a6d30"} 
[2026-08-01 09:13:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:13:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 09:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-01 09:13:24] 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-08-01 09:13:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:13:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:13:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:13:24] local.INFO: Teltonika packet parsed successfully {"connection_id":147134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:13:24] local.INFO: Passing IMEI to GPS processor {"connection_id":147134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:13:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":147134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:13:24] 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-08-01 09:13:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:13:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:13:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102267904001,"66":27865,"176":206,"80":60928,"24":42,"16":365959693547339776,"45":5918503994509570048},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,80,24,16,45]} 
[2026-08-01 09:13:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:13:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:13:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102267904001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:13:24] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-01 09:13:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-01 09:13:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365959693547339776,"km_value":365959693547339.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:13:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5918503994509570048,"description":"Unknown IO ID 45"} 
[2026-08-01 09:13:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102267904001,"power":27865,"unknown_176":206,"unknown_80":60928,"ignition":42,"odometer":null,"unknown_45":5918503994509570048}} 
[2026-08-01 09:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":147134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:13:24] local.INFO: GPS data processed {"connection_id":147134,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:13:24] local.INFO: Acknowledgment sent {"connection_id":147134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:13:44] local.INFO: TCP Data received {"connection_id":145924,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:13:44] local.INFO: Processing buffer {"connection_id":145924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:13:44] local.INFO: IMEI packet received {"connection_id":145924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 09:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":145924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 09:13:49] local.INFO: TCP Data received {"connection_id":145924,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:13:49] local.INFO: Processing buffer {"connection_id":145924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:13:49] local.INFO: IMEI packet received {"connection_id":145924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":145924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:13:50] local.INFO: TCP Data received {"connection_id":145924,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb6a9058012d51e34006829e700083012c2e..."} 
[2026-08-01 09:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb6a9058012d51e34006829e700083012c2e..."} 
[2026-08-01 09:13:50] local.INFO: Processing buffer {"connection_id":145924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb6a9058012d51e34006829e700083012c2e..."} 
[2026-08-01 09:13:50] local.INFO: Packet analysis {"connection_id":145924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb6a"} 
[2026-08-01 09:13:50] local.INFO: Extracted packet for processing {"connection_id":145924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb6a"} 
[2026-08-01 09:13:50] local.INFO: GPS Element Parsed {"raw_longitude":760341312,"raw_latitude":109223536,"longitude_deg":76.0341312,"latitude_deg":10.9223536,"altitude":131,"angle":300,"satellites":46,"speed":39,"hex_longitude":"2d51e340","hex_latitude":"06829e70","is_valid_coordinates":true} 
[2026-08-01 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-08-01 09:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102269952001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365960144518905856,"note":"Value kept but may cause issues"} 
[2026-08-01 09:13:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5909637532744407040,"note":"Value kept but may cause issues"} 
[2026-08-01 09:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 09:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785555751000,"timestamp_ms":1785555751000,"timestamp_seconds":1785555751,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb6a9058"} 
[2026-08-01 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-08-01 09:13:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 09:13:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 09:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":145924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":145924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":145924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102269952001,"66":27800,"176":206,"80":60928,"24":39,"16":365960144518905856,"45":5909637532744407040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,80,24,16,45]} 
[2026-08-01 09:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102269952001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:13:50] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-01 09:13:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-01 09:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365960144518905856,"km_value":365960144518905.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:13:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5909637532744407040,"description":"Unknown IO ID 45"} 
[2026-08-01 09:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102269952001,"power":27800,"unknown_176":206,"unknown_80":60928,"ignition":39,"odometer":null,"unknown_45":5909637532744407040}} 
[2026-08-01 09:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":145924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:13:50] local.INFO: GPS data processed {"connection_id":145924,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:13:50] local.INFO: Acknowledgment sent {"connection_id":145924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:14:18] local.INFO: TCP Data received {"connection_id":148455,"ip":"194.165.16.121","data_length":47,"data_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-08-01 09:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148455,"packet_length":47,"packet_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-08-01 09:14:18] local.INFO: Processing buffer {"connection_id":148455,"buffer_length":47,"buffer_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-08-01 09:14:18] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":148455,"buffer_length":47,"first_bytes_hex":"0300002f2ae00000000000436f6f6b69"} 
[2026-08-01 09:14:25] local.INFO: TCP Data received {"connection_id":145924,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb6ab768012d51c3c00682b318008401322c..."} 
[2026-08-01 09:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb6ab768012d51c3c00682b318008401322c..."} 
[2026-08-01 09:14:25] local.INFO: Processing buffer {"connection_id":145924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb6ab768012d51c3c00682b318008401322c..."} 
[2026-08-01 09:14:25] local.INFO: Packet analysis {"connection_id":145924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb6a"} 
[2026-08-01 09:14:25] local.INFO: Extracted packet for processing {"connection_id":145924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb6a"} 
[2026-08-01 09:14:25] local.INFO: GPS Element Parsed {"raw_longitude":760333248,"raw_latitude":109228824,"longitude_deg":76.0333248,"latitude_deg":10.9228824,"altitude":132,"angle":306,"satellites":44,"speed":35,"hex_longitude":"2d51c3c0","hex_latitude":"0682b318","is_valid_coordinates":true} 
[2026-08-01 09:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:14:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102272256001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:14:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365960608375373824,"note":"Value kept but may cause issues"} 
[2026-08-01 09:14:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5900630333490884608,"note":"Value kept but may cause issues"} 
[2026-08-01 09:14:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 09:14:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785555761000,"timestamp_ms":1785555761000,"timestamp_seconds":1785555761,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb6ab768"} 
[2026-08-01 09:14:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:14: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-08-01 09:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 09:14:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09:14:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:14:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:14:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:14:25] local.INFO: Teltonika packet parsed successfully {"connection_id":145924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:14:25] local.INFO: Passing IMEI to GPS processor {"connection_id":145924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:14:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":145924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:14:25] 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-08-01 09:14:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:14:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:14:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102272256001,"66":27800,"176":206,"80":60928,"24":35,"16":365960608375373824,"45":5900630333490884608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,80,24,16,45]} 
[2026-08-01 09:14:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:14:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:14:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102272256001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:14:25] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-01 09:14:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-01 09:14:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365960608375373824,"km_value":365960608375373.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:14:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5900630333490884608,"description":"Unknown IO ID 45"} 
[2026-08-01 09:14:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102272256001,"power":27800,"unknown_176":206,"unknown_80":60928,"ignition":35,"odometer":null,"unknown_45":5900630333490884608}} 
[2026-08-01 09:14:25] local.INFO: DEBUG: GPS processor result {"connection_id":145924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:14:25] local.INFO: GPS data processed {"connection_id":145924,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:14:25] local.INFO: Acknowledgment sent {"connection_id":145924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:14:46] local.INFO: TCP Data received {"connection_id":147135,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:14:46] local.INFO: Processing buffer {"connection_id":147135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:14:46] local.INFO: IMEI packet received {"connection_id":147135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 09:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":147135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 09:14:50] local.INFO: TCP Data received {"connection_id":147135,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:14:50] local.INFO: Processing buffer {"connection_id":147135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:14:50] local.INFO: IMEI packet received {"connection_id":147135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":147135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:14:54] local.INFO: TCP Data received {"connection_id":147135,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:14:54] local.INFO: Processing buffer {"connection_id":147135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:14:54] local.INFO: IMEI packet received {"connection_id":147135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":147135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:14:55] local.INFO: TCP Data received {"connection_id":147135,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb6ae260012d51a7400682cac0008701382e..."} 
[2026-08-01 09:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb6ae260012d51a7400682cac0008701382e..."} 
[2026-08-01 09:14:55] local.INFO: Processing buffer {"connection_id":147135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb6ae260012d51a7400682cac0008701382e..."} 
[2026-08-01 09:14:55] local.INFO: Packet analysis {"connection_id":147135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb6a"} 
[2026-08-01 09:14:55] local.INFO: Extracted packet for processing {"connection_id":147135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb6a"} 
[2026-08-01 09:14:55] local.INFO: GPS Element Parsed {"raw_longitude":760325952,"raw_latitude":109234880,"longitude_deg":76.0325952,"latitude_deg":10.923488,"altitude":135,"angle":312,"satellites":46,"speed":31,"hex_longitude":"2d51a740","hex_latitude":"0682cac0","is_valid_coordinates":true} 
[2026-08-01 09: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-08-01 09:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102274816001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365961063641907200,"note":"Value kept but may cause issues"} 
[2026-08-01 09:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5891763871725852672,"note":"Value kept but may cause issues"} 
[2026-08-01 09:14:55] 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-08-01 09:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785555772000,"timestamp_ms":1785555772000,"timestamp_seconds":1785555772,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb6ae260"} 
[2026-08-01 09:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:14: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-08-01 09:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 09:14: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-08-01 09: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-08-01 09:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":147135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":147135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":147135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102274816001,"66":27713,"48":206,"80":60928,"24":31,"16":365961063641907200,"45":5891763871725852672},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,80,24,16,45]} 
[2026-08-01 09:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102274816001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:14:55] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-08-01 09:14:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-01 09:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365961063641907200,"km_value":365961063641907.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5891763871725852672,"description":"Unknown IO ID 45"} 
[2026-08-01 09:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102274816001,"power":27713,"unknown_48":206,"unknown_80":60928,"ignition":31,"odometer":null,"unknown_45":5891763871725852672}} 
[2026-08-01 09:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":147135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:14:55] local.INFO: GPS data processed {"connection_id":147135,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:14:55] local.INFO: Acknowledgment sent {"connection_id":147135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:15:00] local.INFO: TCP Data received {"connection_id":147135,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb6b1140012d518cc00682e4f00089013d25..."} 
[2026-08-01 09:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb6b1140012d518cc00682e4f00089013d25..."} 
[2026-08-01 09:15:00] local.INFO: Processing buffer {"connection_id":147135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb6b1140012d518cc00682e4f00089013d25..."} 
[2026-08-01 09:15:00] local.INFO: Packet analysis {"connection_id":147135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb6b"} 
[2026-08-01 09:15:00] local.INFO: Extracted packet for processing {"connection_id":147135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb6b"} 
[2026-08-01 09:15:00] local.INFO: GPS Element Parsed {"raw_longitude":760319168,"raw_latitude":109241584,"longitude_deg":76.0319168,"latitude_deg":10.9241584,"altitude":137,"angle":317,"satellites":37,"speed":31,"hex_longitude":"2d518cc0","hex_latitude":"0682e4f0","is_valid_coordinates":true} 
[2026-08-01 09: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-08-01 09:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102277632001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365961523203407872,"note":"Value kept but may cause issues"} 
[2026-08-01 09:15:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5883741834891149312,"note":"Value kept but may cause issues"} 
[2026-08-01 09:15:00] 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-08-01 09:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785555784000,"timestamp_ms":1785555784000,"timestamp_seconds":1785555784,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb6b1140"} 
[2026-08-01 09:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:15: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-08-01 09: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 09:15: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-08-01 09: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-08-01 09:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":147135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":147135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":147135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:15: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-08-01 09:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102277632001,"66":27843,"48":206,"80":60928,"24":31,"16":365961523203407872,"45":5883741834891149312},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,80,24,16,45]} 
[2026-08-01 09:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102277632001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:15:00] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-08-01 09:15:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-01 09:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365961523203407872,"km_value":365961523203407.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:15:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5883741834891149312,"description":"Unknown IO ID 45"} 
[2026-08-01 09:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102277632001,"power":27843,"unknown_48":206,"unknown_80":60928,"ignition":31,"odometer":null,"unknown_45":5883741834891149312}} 
[2026-08-01 09:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":147135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:15:00] local.INFO: GPS data processed {"connection_id":147135,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:15:00] local.INFO: Acknowledgment sent {"connection_id":147135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:15:45] local.INFO: TCP Data received {"connection_id":146123,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:15:45] local.INFO: Processing buffer {"connection_id":146123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:15:45] local.INFO: IMEI packet received {"connection_id":146123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 09:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":146123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 09:15:46] local.INFO: TCP Data received {"connection_id":146123,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:15:46] local.INFO: Processing buffer {"connection_id":146123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:15:46] local.INFO: IMEI packet received {"connection_id":146123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":146123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:15:50] local.INFO: TCP Data received {"connection_id":146123,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:15:50] local.INFO: Processing buffer {"connection_id":146123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:15:50] local.INFO: IMEI packet received {"connection_id":146123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":146123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:15:51] local.INFO: TCP Data received {"connection_id":146123,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb6ca398012d50d680068379f0008f01222f..."} 
[2026-08-01 09:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb6ca398012d50d680068379f0008f01222f..."} 
[2026-08-01 09:15:51] local.INFO: Processing buffer {"connection_id":146123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb6ca398012d50d680068379f0008f01222f..."} 
[2026-08-01 09:15:51] local.INFO: Packet analysis {"connection_id":146123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb6c"} 
[2026-08-01 09:15:51] local.INFO: Extracted packet for processing {"connection_id":146123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb6c"} 
[2026-08-01 09:15:51] local.INFO: GPS Element Parsed {"raw_longitude":760272512,"raw_latitude":109279728,"longitude_deg":76.0272512,"latitude_deg":10.9279728,"altitude":143,"angle":290,"satellites":47,"speed":27,"hex_longitude":"2d50d680","hex_latitude":"068379f0","is_valid_coordinates":true} 
[2026-08-01 09:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102302720001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365964469550972928,"note":"Value kept but may cause issues"} 
[2026-08-01 09:15:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5834061501512019968,"note":"Value kept but may cause issues"} 
[2026-08-01 09:15:51] 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-08-01 09:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785555887000,"timestamp_ms":1785555887000,"timestamp_seconds":1785555887,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb6ca398"} 
[2026-08-01 09:15:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:15:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 09:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 09:15:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09:15:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:15:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":146123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":146123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":146123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:15:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102302720001,"66":27865,"48":206,"80":60928,"24":27,"16":365964469550972928,"45":5834061501512019968},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,80,24,16,45]} 
[2026-08-01 09:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102302720001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:15:51] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-08-01 09:15:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-01 09:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365964469550972928,"km_value":365964469550972.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:15:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5834061501512019968,"description":"Unknown IO ID 45"} 
[2026-08-01 09:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102302720001,"power":27865,"unknown_48":206,"unknown_80":60928,"ignition":27,"odometer":null,"unknown_45":5834061501512019968}} 
[2026-08-01 09:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":146123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:15:51] local.INFO: GPS data processed {"connection_id":146123,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:15:51] local.INFO: Acknowledgment sent {"connection_id":146123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:15:55] local.INFO: TCP Data received {"connection_id":146123,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb6cd278012d50b140068384a8008f01192d..."} 
[2026-08-01 09:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb6cd278012d50b140068384a8008f01192d..."} 
[2026-08-01 09:15:55] local.INFO: Processing buffer {"connection_id":146123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb6cd278012d50b140068384a8008f01192d..."} 
[2026-08-01 09:15:55] local.INFO: Packet analysis {"connection_id":146123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb6c"} 
[2026-08-01 09:15:55] local.INFO: Extracted packet for processing {"connection_id":146123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb6c"} 
[2026-08-01 09:15:55] local.INFO: GPS Element Parsed {"raw_longitude":760262976,"raw_latitude":109282472,"longitude_deg":76.0262976,"latitude_deg":10.9282472,"altitude":143,"angle":281,"satellites":45,"speed":37,"hex_longitude":"2d50b140","hex_latitude":"068384a8","is_valid_coordinates":true} 
[2026-08-01 09:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102307072001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365964941997375488,"note":"Value kept but may cause issues"} 
[2026-08-01 09:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5824983933514280960,"note":"Value kept but may cause issues"} 
[2026-08-01 09:15:55] 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-08-01 09:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785555899000,"timestamp_ms":1785555899000,"timestamp_seconds":1785555899,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb6cd278"} 
[2026-08-01 09:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:15:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 09:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 09:15:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09:15:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":146123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":146123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":146123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102307072001,"66":27767,"49":206,"80":60928,"24":37,"16":365964941997375488,"45":5824983933514280960},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-08-01 09:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102307072001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:15:55] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-01 09:15:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-01 09:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365964941997375488,"km_value":365964941997375.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5824983933514280960,"description":"Unknown IO ID 45"} 
[2026-08-01 09:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102307072001,"power":27767,"unknown_49":206,"unknown_80":60928,"ignition":37,"odometer":null,"unknown_45":5824983933514280960}} 
[2026-08-01 09:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":146123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:15:55] local.INFO: GPS data processed {"connection_id":146123,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:15:55] local.INFO: Acknowledgment sent {"connection_id":146123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:16:44] local.INFO: TCP Data received {"connection_id":145925,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:16:44] local.INFO: Processing buffer {"connection_id":145925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:16:44] local.INFO: IMEI packet received {"connection_id":145925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 09:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":145925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 09:16:59] local.INFO: TCP Data received {"connection_id":145925,"ip":"42.106.6.15","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 09:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145925,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 09:16:59] local.INFO: Processing buffer {"connection_id":145925,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 09:16:59] local.INFO: IMEI packet received {"connection_id":145925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":145925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:22:15] local.INFO: TCP Data received {"connection_id":146125,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:22:15] local.INFO: Processing buffer {"connection_id":146125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:22:15] local.INFO: IMEI packet received {"connection_id":146125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 09:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":146125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 09:22:15] local.INFO: TCP Data received {"connection_id":146125,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:22:15] local.INFO: Processing buffer {"connection_id":146125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:22:15] local.INFO: IMEI packet received {"connection_id":146125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":146125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:22:20] local.INFO: TCP Data received {"connection_id":146125,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:22:20] local.INFO: Processing buffer {"connection_id":146125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:22:20] local.INFO: IMEI packet received {"connection_id":146125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":146125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:22:21] local.INFO: TCP Data received {"connection_id":146125,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb72b260012d4def0006885910004c00082e..."} 
[2026-08-01 09:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb72b260012d4def0006885910004c00082e..."} 
[2026-08-01 09:22:21] local.INFO: Processing buffer {"connection_id":146125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb72b260012d4def0006885910004c00082e..."} 
[2026-08-01 09:22:21] local.INFO: Packet analysis {"connection_id":146125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb72"} 
[2026-08-01 09:22:21] local.INFO: Extracted packet for processing {"connection_id":146125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb72"} 
[2026-08-01 09:22:21] local.INFO: GPS Element Parsed {"raw_longitude":760082176,"raw_latitude":109598992,"longitude_deg":76.0082176,"latitude_deg":10.9598992,"altitude":76,"angle":8,"satellites":46,"speed":60,"hex_longitude":"2d4def00","hex_latitude":"06885910","is_valid_coordinates":true} 
[2026-08-01 09: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-08-01 09:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102407168001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365989964476841984,"note":"Value kept but may cause issues"} 
[2026-08-01 09:22:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5613596226083979264,"note":"Value kept but may cause issues"} 
[2026-08-01 09:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 09:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785556284000,"timestamp_ms":1785556284000,"timestamp_seconds":1785556284,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb72b260"} 
[2026-08-01 09:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:22:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 09:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 09:22:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09: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-08-01 09:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:22:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102407168001,"66":27745,"212":206,"86":48896,"24":60,"16":365989964476841984,"45":5613596226083979264},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,86,24,16,45]} 
[2026-08-01 09:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102407168001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:22:21] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-08-01 09:22:21] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-01 09:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365989964476841984,"km_value":365989964476842.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:22:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5613596226083979264,"description":"Unknown IO ID 45"} 
[2026-08-01 09:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102407168001,"power":27745,"unknown_212":206,"unknown_86":48896,"ignition":60,"odometer":null,"unknown_45":5613596226083979264}} 
[2026-08-01 09:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":146125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:22:21] local.INFO: GPS data processed {"connection_id":146125,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:22:21] local.INFO: Acknowledgment sent {"connection_id":146125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:22:50] local.INFO: TCP Data received {"connection_id":148456,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:22:50] local.INFO: Processing buffer {"connection_id":148456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:22:50] local.INFO: IMEI packet received {"connection_id":148456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 09:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":148456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 09:22:54] local.INFO: TCP Data received {"connection_id":148456,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:22:54] local.INFO: Processing buffer {"connection_id":148456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:22:54] local.INFO: IMEI packet received {"connection_id":148456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":148456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:22:55] local.INFO: TCP Data received {"connection_id":148456,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb72c9d0012d4df24006887be8004c00012e..."} 
[2026-08-01 09:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb72c9d0012d4df24006887be8004c00012e..."} 
[2026-08-01 09:22:55] local.INFO: Processing buffer {"connection_id":148456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb72c9d0012d4df24006887be8004c00012e..."} 
[2026-08-01 09:22:55] local.INFO: Packet analysis {"connection_id":148456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb72"} 
[2026-08-01 09:22:55] local.INFO: Extracted packet for processing {"connection_id":148456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb72"} 
[2026-08-01 09:22:55] local.INFO: GPS Element Parsed {"raw_longitude":760083008,"raw_latitude":109607912,"longitude_deg":76.0083008,"latitude_deg":10.9607912,"altitude":76,"angle":1,"satellites":46,"speed":57,"hex_longitude":"2d4df240","hex_latitude":"06887be8","is_valid_coordinates":true} 
[2026-08-01 09:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102408704001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365990398268538880,"note":"Value kept but may cause issues"} 
[2026-08-01 09:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5615707288411639808,"note":"Value kept but may cause issues"} 
[2026-08-01 09:22:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 09:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785556290000,"timestamp_ms":1785556290000,"timestamp_seconds":1785556290,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb72c9d0"} 
[2026-08-01 09:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:22: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-08-01 09:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 09:22:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09:22:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102408704001,"66":27745,"123":206,"86":48896,"24":57,"16":365990398268538880,"45":5615707288411639808},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,86,24,16,45]} 
[2026-08-01 09:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102408704001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:22:55] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-08-01 09:22:55] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-01 09:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365990398268538880,"km_value":365990398268538.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5615707288411639808,"description":"Unknown IO ID 45"} 
[2026-08-01 09:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102408704001,"power":27745,"unknown_123":206,"unknown_86":48896,"ignition":57,"odometer":null,"unknown_45":5615707288411639808}} 
[2026-08-01 09:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":148456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:22:55] local.INFO: GPS data processed {"connection_id":148456,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:22:55] local.INFO: Acknowledgment sent {"connection_id":148456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:22:55] local.INFO: TCP Data received {"connection_id":148456,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb72e528012d4df0800688a0d8004d01602f..."} 
[2026-08-01 09:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb72e528012d4df0800688a0d8004d01602f..."} 
[2026-08-01 09:22:55] local.INFO: Processing buffer {"connection_id":148456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb72e528012d4df0800688a0d8004d01602f..."} 
[2026-08-01 09:22:55] local.INFO: Packet analysis {"connection_id":148456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb72"} 
[2026-08-01 09:22:55] local.INFO: Extracted packet for processing {"connection_id":148456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb72"} 
[2026-08-01 09:22:55] local.INFO: GPS Element Parsed {"raw_longitude":760082560,"raw_latitude":109617368,"longitude_deg":76.008256,"latitude_deg":10.9617368,"altitude":77,"angle":352,"satellites":47,"speed":50,"hex_longitude":"2d4df080","hex_latitude":"0688a0d8","is_valid_coordinates":true} 
[2026-08-01 09:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102410240001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365990857830039552,"note":"Value kept but may cause issues"} 
[2026-08-01 09:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5616622082088232960,"note":"Value kept but may cause issues"} 
[2026-08-01 09:22:55] 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-08-01 09:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785556297000,"timestamp_ms":1785556297000,"timestamp_seconds":1785556297,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb72e528"} 
[2026-08-01 09:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:22: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-08-01 09:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 09:22:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09:22:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102410240001,"66":27767,"122":206,"86":48896,"24":50,"16":365990857830039552,"45":5616622082088232960},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,86,24,16,45]} 
[2026-08-01 09:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102410240001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:22:55] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-01 09:22:55] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-01 09:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365990857830039552,"km_value":365990857830039.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5616622082088232960,"description":"Unknown IO ID 45"} 
[2026-08-01 09:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102410240001,"power":27767,"unknown_122":206,"unknown_86":48896,"ignition":50,"odometer":null,"unknown_45":5616622082088232960}} 
[2026-08-01 09:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":148456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:22:55] local.INFO: GPS data processed {"connection_id":148456,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:22:55] local.INFO: Acknowledgment sent {"connection_id":148456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:23:26] local.INFO: TCP Data received {"connection_id":148456,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb730850012d4deb800688ca400051016130..."} 
[2026-08-01 09:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb730850012d4deb800688ca400051016130..."} 
[2026-08-01 09:23:26] local.INFO: Processing buffer {"connection_id":148456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb730850012d4deb800688ca400051016130..."} 
[2026-08-01 09:23:26] local.INFO: Packet analysis {"connection_id":148456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb73"} 
[2026-08-01 09:23:26] local.INFO: Extracted packet for processing {"connection_id":148456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb73"} 
[2026-08-01 09:23:26] local.INFO: GPS Element Parsed {"raw_longitude":760081280,"raw_latitude":109627968,"longitude_deg":76.008128,"latitude_deg":10.9627968,"altitude":81,"angle":353,"satellites":48,"speed":45,"hex_longitude":"2d4deb80","hex_latitude":"0688ca40","is_valid_coordinates":true} 
[2026-08-01 09:23:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:23:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102412032001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:23:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365991373226115072,"note":"Value kept but may cause issues"} 
[2026-08-01 09:23:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5616129500881410048,"note":"Value kept but may cause issues"} 
[2026-08-01 09:23:26] 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-08-01 09:23:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785556306000,"timestamp_ms":1785556306000,"timestamp_seconds":1785556306,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb730850"} 
[2026-08-01 09:23:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:23: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-08-01 09:23:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 09:23: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-08-01 09:23:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:23:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:23:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:23:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:23:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:23:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:23:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:23:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:23:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:23:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102412032001,"66":27767,"122":206,"86":48896,"24":45,"16":365991373226115072,"45":5616129500881410048},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,86,24,16,45]} 
[2026-08-01 09:23:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:23:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:23:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102412032001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:23:26] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-01 09:23:26] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-01 09:23:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365991373226115072,"km_value":365991373226115.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:23:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5616129500881410048,"description":"Unknown IO ID 45"} 
[2026-08-01 09:23:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102412032001,"power":27767,"unknown_122":206,"unknown_86":48896,"ignition":45,"odometer":null,"unknown_45":5616129500881410048}} 
[2026-08-01 09:23:26] local.INFO: DEBUG: GPS processor result {"connection_id":148456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:23:26] local.INFO: GPS data processed {"connection_id":148456,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:23:26] local.INFO: Acknowledgment sent {"connection_id":148456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:23:44] local.INFO: TCP Data received {"connection_id":148457,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:23:44] local.INFO: Processing buffer {"connection_id":148457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:23:44] local.INFO: IMEI packet received {"connection_id":148457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 09:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":148457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 09:23:56] local.INFO: TCP Data received {"connection_id":148457,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:23:56] local.INFO: Processing buffer {"connection_id":148457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:23:56] local.INFO: IMEI packet received {"connection_id":148457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":148457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:24:03] local.INFO: TCP Data received {"connection_id":148457,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb732b78012d4de7000688f0000054016130..."} 
[2026-08-01 09:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb732b78012d4de7000688f0000054016130..."} 
[2026-08-01 09:24:03] local.INFO: Processing buffer {"connection_id":148457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb732b78012d4de7000688f0000054016130..."} 
[2026-08-01 09:24:03] local.INFO: Packet analysis {"connection_id":148457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb73"} 
[2026-08-01 09:24:03] local.INFO: Extracted packet for processing {"connection_id":148457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb73"} 
[2026-08-01 09:24:03] local.INFO: GPS Element Parsed {"raw_longitude":760080128,"raw_latitude":109637632,"longitude_deg":76.0080128,"latitude_deg":10.9637632,"altitude":84,"angle":353,"satellites":48,"speed":41,"hex_longitude":"2d4de700","hex_latitude":"0688f000","is_valid_coordinates":true} 
[2026-08-01 09: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-08-01 09:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102414336001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365991845672517632,"note":"Value kept but may cause issues"} 
[2026-08-01 09:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5614722126000570368,"note":"Value kept but may cause issues"} 
[2026-08-01 09:24:03] 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-08-01 09:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785556315000,"timestamp_ms":1785556315000,"timestamp_seconds":1785556315,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb732b78"} 
[2026-08-01 09:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:24: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-08-01 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 09:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09: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-08-01 09:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:24: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-08-01 09:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102414336001,"66":27745,"122":206,"86":48896,"24":41,"16":365991845672517632,"45":5614722126000570368},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,86,24,16,45]} 
[2026-08-01 09:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102414336001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:24:03] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-01 09:24:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-01 09:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365991845672517632,"km_value":365991845672517.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5614722126000570368,"description":"Unknown IO ID 45"} 
[2026-08-01 09:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102414336001,"power":27745,"unknown_122":206,"unknown_86":48896,"ignition":41,"odometer":null,"unknown_45":5614722126000570368}} 
[2026-08-01 09:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":148457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:24:03] local.INFO: GPS data processed {"connection_id":148457,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:24:03] local.INFO: Acknowledgment sent {"connection_id":148457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:24:46] local.INFO: TCP Data received {"connection_id":145929,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:24:46] local.INFO: Processing buffer {"connection_id":145929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:24:46] local.INFO: IMEI packet received {"connection_id":145929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 09:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":145929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 09:24:49] local.INFO: TCP Data received {"connection_id":145929,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:24:49] local.INFO: Processing buffer {"connection_id":145929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:24:49] local.INFO: IMEI packet received {"connection_id":145929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":145929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:24:51] local.INFO: TCP Data received {"connection_id":145929,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:24:51] local.INFO: Processing buffer {"connection_id":145929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:24:51] local.INFO: IMEI packet received {"connection_id":145929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":145929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:24:54] local.INFO: TCP Data received {"connection_id":145929,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:24:54] local.INFO: Processing buffer {"connection_id":145929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:24:54] local.INFO: IMEI packet received {"connection_id":145929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":145929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:24:58] local.INFO: TCP Data received {"connection_id":145929,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb74b9e8012d4e0880068a4530006d01592c..."} 
[2026-08-01 09:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb74b9e8012d4e0880068a4530006d01592c..."} 
[2026-08-01 09:24:58] local.INFO: Processing buffer {"connection_id":145929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb74b9e8012d4e0880068a4530006d01592c..."} 
[2026-08-01 09:24:58] local.INFO: Packet analysis {"connection_id":145929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb74"} 
[2026-08-01 09:24:58] local.INFO: Extracted packet for processing {"connection_id":145929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb74"} 
[2026-08-01 09:24:58] local.INFO: GPS Element Parsed {"raw_longitude":760088704,"raw_latitude":109724976,"longitude_deg":76.0088704,"latitude_deg":10.9724976,"altitude":109,"angle":345,"satellites":44,"speed":42,"hex_longitude":"2d4e0880","hex_latitude":"068a4530","is_valid_coordinates":true} 
[2026-08-01 09:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102441472001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365996149229748224,"note":"Value kept but may cause issues"} 
[2026-08-01 09:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5623729325278783488,"note":"Value kept but may cause issues"} 
[2026-08-01 09:24:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 09:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785556417000,"timestamp_ms":1785556417000,"timestamp_seconds":1785556417,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb74b9e8"} 
[2026-08-01 09:24:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:24: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-08-01 09:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 09:24:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09:24:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:24:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":145929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":145929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":145929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:24:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102441472001,"66":27919,"94":206,"86":48896,"24":42,"16":365996149229748224,"45":5623729325278783488},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,86,24,16,45]} 
[2026-08-01 09:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102441472001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:24:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-08-01 09:24:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-01 09:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365996149229748224,"km_value":365996149229748.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5623729325278783488,"description":"Unknown IO ID 45"} 
[2026-08-01 09:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102441472001,"power":27919,"unknown_94":206,"unknown_86":48896,"ignition":42,"odometer":null,"unknown_45":5623729325278783488}} 
[2026-08-01 09:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":145929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:24:58] local.INFO: GPS data processed {"connection_id":145929,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:24:58] local.INFO: Acknowledgment sent {"connection_id":145929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:24:59] local.INFO: TCP Data received {"connection_id":145929,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb74d158012d4dff00068a5d28006d014c26..."} 
[2026-08-01 09:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb74d158012d4dff00068a5d28006d014c26..."} 
[2026-08-01 09:24:59] local.INFO: Processing buffer {"connection_id":145929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb74d158012d4dff00068a5d28006d014c26..."} 
[2026-08-01 09:24:59] local.INFO: Packet analysis {"connection_id":145929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb74"} 
[2026-08-01 09:24:59] local.INFO: Extracted packet for processing {"connection_id":145929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb74"} 
[2026-08-01 09:24:59] local.INFO: GPS Element Parsed {"raw_longitude":760086272,"raw_latitude":109731112,"longitude_deg":76.0086272,"latitude_deg":10.9731112,"altitude":109,"angle":332,"satellites":38,"speed":45,"hex_longitude":"2d4dff00","hex_latitude":"068a5d28","is_valid_coordinates":true} 
[2026-08-01 09: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-08-01 09:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102442752001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":365996471352295424,"note":"Value kept but may cause issues"} 
[2026-08-01 09:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5622884900350013440,"note":"Value kept but may cause issues"} 
[2026-08-01 09:24:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 09:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785556423000,"timestamp_ms":1785556423000,"timestamp_seconds":1785556423,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb74d158"} 
[2026-08-01 09:24:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:24:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 09: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":15,"data_length":795,"current_offset":136} 
[2026-08-01 09:24:59] 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-08-01 09: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-08-01 09:24:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":145929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":145929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":145929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:24: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-08-01 09:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102442752001,"66":27908,"94":206,"86":48896,"24":45,"16":365996471352295424,"45":5622884900350013440},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,86,24,16,45]} 
[2026-08-01 09:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102442752001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:24:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-08-01 09:24:59] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-01 09:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":365996471352295424,"km_value":365996471352295.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5622884900350013440,"description":"Unknown IO ID 45"} 
[2026-08-01 09:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102442752001,"power":27908,"unknown_94":206,"unknown_86":48896,"ignition":45,"odometer":null,"unknown_45":5622884900350013440}} 
[2026-08-01 09:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":145929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:24:59] local.INFO: GPS data processed {"connection_id":145929,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:24:59] local.INFO: Acknowledgment sent {"connection_id":145929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:25:53] local.INFO: TCP Data received {"connection_id":148458,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:25:53] local.INFO: Processing buffer {"connection_id":148458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:25:53] local.INFO: IMEI packet received {"connection_id":148458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 09:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":148458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 09:25:53] local.INFO: TCP Data received {"connection_id":148458,"ip":"42.106.6.16","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 09:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148458,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 09:25:53] local.INFO: Processing buffer {"connection_id":148458,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 09:25:53] local.INFO: IMEI packet received {"connection_id":148458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":148458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:25:54] local.INFO: TCP Data received {"connection_id":148458,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb75d328012d4c9e00068aec880049011729..."} 
[2026-08-01 09:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb75d328012d4c9e00068aec880049011729..."} 
[2026-08-01 09:25:54] local.INFO: Processing buffer {"connection_id":148458,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fbb..."} 
[2026-08-01 09:25:54] local.INFO: IMEI packet received {"connection_id":148458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":148458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:25:55] local.INFO: TCP Data received {"connection_id":148458,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb75ea98012d4c7500068af3500046011725..."} 
[2026-08-01 09:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb75ea98012d4c7500068af3500046011725..."} 
[2026-08-01 09:25:55] local.INFO: Processing buffer {"connection_id":148458,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fbb75d328012d4c9e00068aec880049011729..."} 
[2026-08-01 09:25:55] local.INFO: Packet analysis {"connection_id":148458,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fbb75"} 
[2026-08-01 09:25:55] local.INFO: Extracted packet for processing {"connection_id":148458,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb75"} 
[2026-08-01 09:25:55] local.INFO: GPS Element Parsed {"raw_longitude":759995904,"raw_latitude":109767816,"longitude_deg":75.9995904,"latitude_deg":10.9767816,"altitude":73,"angle":279,"satellites":41,"speed":69,"hex_longitude":"2d4c9e00","hex_latitude":"068aec88","is_valid_coordinates":true} 
[2026-08-01 09:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102459648001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366001320370372608,"note":"Value kept but may cause issues"} 
[2026-08-01 09:25:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5532179589115533312,"note":"Value kept but may cause issues"} 
[2026-08-01 09:25:55] 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-08-01 09:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785556489000,"timestamp_ms":1785556489000,"timestamp_seconds":1785556489,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb75d328"} 
[2026-08-01 09:25:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:25:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 09: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 09:25:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09: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-08-01 09:25:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:25:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102459648001,"66":27767,"187":206,"86":48896,"24":69,"16":366001320370372608,"45":5532179589115533312},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,86,24,16,45]} 
[2026-08-01 09:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102459648001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:25:55] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-01 09:25:55] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-01 09:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366001320370372608,"km_value":366001320370372.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:25:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5532179589115533312,"description":"Unknown IO ID 45"} 
[2026-08-01 09:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102459648001,"power":27767,"unknown_187":206,"unknown_86":48896,"ignition":69,"odometer":null,"unknown_45":5532179589115533312}} 
[2026-08-01 09:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":148458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:25:55] local.INFO: GPS data processed {"connection_id":148458,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:25:55] local.INFO: Acknowledgment sent {"connection_id":148458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:25:55] local.INFO: Packet analysis {"connection_id":148458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb75"} 
[2026-08-01 09:25:55] local.INFO: Extracted packet for processing {"connection_id":148458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb75"} 
[2026-08-01 09:25:55] local.INFO: GPS Element Parsed {"raw_longitude":759985408,"raw_latitude":109769552,"longitude_deg":75.9985408,"latitude_deg":10.9769552,"altitude":70,"angle":279,"satellites":37,"speed":67,"hex_longitude":"2d4c7500","hex_latitude":"068af350","is_valid_coordinates":true} 
[2026-08-01 09:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102461184001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366001822881546240,"note":"Value kept but may cause issues"} 
[2026-08-01 09:25:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5520850221303367680,"note":"Value kept but may cause issues"} 
[2026-08-01 09:25:55] 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-08-01 09:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785556495000,"timestamp_ms":1785556495000,"timestamp_seconds":1785556495,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb75ea98"} 
[2026-08-01 09:25:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:25:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 09:25:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09: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-08-01 09:25:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:25:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102461184001,"66":27767,"187":206,"86":48896,"24":67,"16":366001822881546240,"45":5520850221303367680},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,86,24,16,45]} 
[2026-08-01 09:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102461184001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:25:55] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-01 09:25:55] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-01 09:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366001822881546240,"km_value":366001822881546.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:25:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5520850221303367680,"description":"Unknown IO ID 45"} 
[2026-08-01 09:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102461184001,"power":27767,"unknown_187":206,"unknown_86":48896,"ignition":67,"odometer":null,"unknown_45":5520850221303367680}} 
[2026-08-01 09:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":148458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:25:55] local.INFO: GPS data processed {"connection_id":148458,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:25:55] local.INFO: Acknowledgment sent {"connection_id":148458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:25:56] local.INFO: TCP Data received {"connection_id":148458,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb760208012d4c4e00068af9b8004101172a..."} 
[2026-08-01 09:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb760208012d4c4e00068af9b8004101172a..."} 
[2026-08-01 09:25:56] local.INFO: Processing buffer {"connection_id":148458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb760208012d4c4e00068af9b8004101172a..."} 
[2026-08-01 09:25:56] local.INFO: Packet analysis {"connection_id":148458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb76"} 
[2026-08-01 09:25:56] local.INFO: Extracted packet for processing {"connection_id":148458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb76"} 
[2026-08-01 09:25:56] local.INFO: GPS Element Parsed {"raw_longitude":759975424,"raw_latitude":109771192,"longitude_deg":75.9975424,"latitude_deg":10.9771192,"altitude":65,"angle":279,"satellites":42,"speed":66,"hex_longitude":"2d4c4e00","hex_latitude":"068af9b8","is_valid_coordinates":true} 
[2026-08-01 09:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102462720001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366002303917883392,"note":"Value kept but may cause issues"} 
[2026-08-01 09:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5509309747258675200,"note":"Value kept but may cause issues"} 
[2026-08-01 09:25:56] 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-08-01 09:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785556501000,"timestamp_ms":1785556501000,"timestamp_seconds":1785556501,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb760208"} 
[2026-08-01 09:25:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:25:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 09:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 09:25:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09:25:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:25:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":148458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":148458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":148458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:25:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102462720001,"66":27745,"187":206,"86":48896,"24":66,"16":366002303917883392,"45":5509309747258675200},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,86,24,16,45]} 
[2026-08-01 09:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102462720001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:25:56] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-01 09:25:56] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-01 09:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366002303917883392,"km_value":366002303917883.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":5509309747258675200,"description":"Unknown IO ID 45"} 
[2026-08-01 09:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102462720001,"power":27745,"unknown_187":206,"unknown_86":48896,"ignition":66,"odometer":null,"unknown_45":5509309747258675200}} 
[2026-08-01 09:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":148458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:25:56] local.INFO: GPS data processed {"connection_id":148458,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:25:56] local.INFO: Acknowledgment sent {"connection_id":148458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:26:27] local.INFO: TCP Data received {"connection_id":148458,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb761978012d4c2600068b0020003c01172a..."} 
[2026-08-01 09:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb761978012d4c2600068b0020003c01172a..."} 
[2026-08-01 09:26:27] local.INFO: Processing buffer {"connection_id":148458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb761978012d4c2600068b0020003c01172a..."} 
[2026-08-01 09:26:27] local.INFO: Packet analysis {"connection_id":148458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb76"} 
[2026-08-01 09:26:27] local.INFO: Extracted packet for processing {"connection_id":148458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb76"} 
[2026-08-01 09:26:27] local.INFO: GPS Element Parsed {"raw_longitude":759965184,"raw_latitude":109772832,"longitude_deg":75.9965184,"latitude_deg":10.9772832,"altitude":60,"angle":279,"satellites":42,"speed":67,"hex_longitude":"2d4c2600","hex_latitude":"068b0020","is_valid_coordinates":true} 
[2026-08-01 09:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102464256001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366002797839122432,"note":"Value kept but may cause issues"} 
[2026-08-01 09:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5498332223167379456,"note":"Value kept but may cause issues"} 
[2026-08-01 09:26: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-08-01 09:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785556507000,"timestamp_ms":1785556507000,"timestamp_seconds":1785556507,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb761978"} 
[2026-08-01 09:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:26:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 09:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 09:26: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-08-01 09:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102464256001,"66":27800,"187":206,"86":48896,"24":67,"16":366002797839122432,"45":5498332223167379456},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,86,24,16,45]} 
[2026-08-01 09:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102464256001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:26:27] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-01 09:26:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-01 09:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366002797839122432,"km_value":366002797839122.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5498332223167379456,"description":"Unknown IO ID 45"} 
[2026-08-01 09:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102464256001,"power":27800,"unknown_187":206,"unknown_86":48896,"ignition":67,"odometer":null,"unknown_45":5498332223167379456}} 
[2026-08-01 09:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":148458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:26:27] local.INFO: GPS data processed {"connection_id":148458,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:26:27] local.INFO: Acknowledgment sent {"connection_id":148458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:26:54] local.INFO: TCP Data received {"connection_id":145930,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:26:54] local.INFO: Processing buffer {"connection_id":145930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:26:54] local.INFO: IMEI packet received {"connection_id":145930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 09:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":145930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 09:26:55] local.INFO: TCP Data received {"connection_id":145930,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:26:55] local.INFO: Processing buffer {"connection_id":145930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:26:55] local.INFO: IMEI packet received {"connection_id":145930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":145930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:26:59] local.INFO: TCP Data received {"connection_id":145930,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:26:59] local.INFO: Processing buffer {"connection_id":145930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:26:59] local.INFO: IMEI packet received {"connection_id":145930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":145930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:27:01] local.INFO: TCP Data received {"connection_id":145930,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb76fc08012d4a91c0068b5548001101332e..."} 
[2026-08-01 09:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb76fc08012d4a91c0068b5548001101332e..."} 
[2026-08-01 09:27:01] local.INFO: Processing buffer {"connection_id":145930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb76fc08012d4a91c0068b5548001101332e..."} 
[2026-08-01 09:27:01] local.INFO: Packet analysis {"connection_id":145930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb76"} 
[2026-08-01 09:27:01] local.INFO: Extracted packet for processing {"connection_id":145930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb76"} 
[2026-08-01 09:27:01] local.INFO: GPS Element Parsed {"raw_longitude":759861696,"raw_latitude":109794632,"longitude_deg":75.9861696,"latitude_deg":10.9794632,"altitude":17,"angle":307,"satellites":46,"speed":66,"hex_longitude":"2d4a91c0","hex_latitude":"068b5548","is_valid_coordinates":true} 
[2026-08-01 09:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102480640001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366007870195499008,"note":"Value kept but may cause issues"} 
[2026-08-01 09:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5373286964769671168,"note":"Value kept but may cause issues"} 
[2026-08-01 09:27:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 09:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785556565000,"timestamp_ms":1785556565000,"timestamp_seconds":1785556565,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb76fc08"} 
[2026-08-01 09:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:27: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-08-01 09:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 09:27: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-08-01 09:27:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":145930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":145930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":145930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:27:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102480640001,"66":27843,"189":206,"86":48896,"24":66,"16":366007870195499008,"45":5373286964769671168},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,86,24,16,45]} 
[2026-08-01 09:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102480640001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:27:01] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-01 09:27:01] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-01 09:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366007870195499008,"km_value":366007870195499.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5373286964769671168,"description":"Unknown IO ID 45"} 
[2026-08-01 09:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102480640001,"power":27843,"unknown_189":206,"unknown_86":48896,"ignition":66,"odometer":null,"unknown_45":5373286964769671168}} 
[2026-08-01 09:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":145930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:27:01] local.INFO: GPS data processed {"connection_id":145930,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:27:01] local.INFO: Acknowledgment sent {"connection_id":145930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:27:45] local.INFO: TCP Data received {"connection_id":146126,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:27:45] local.INFO: Processing buffer {"connection_id":146126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:27:45] local.INFO: IMEI packet received {"connection_id":146126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 09:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":146126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 09:27:49] local.INFO: TCP Data received {"connection_id":146126,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:27:49] local.INFO: Processing buffer {"connection_id":146126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:27:49] local.INFO: IMEI packet received {"connection_id":146126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":146126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:27:50] local.INFO: TCP Data received {"connection_id":146126,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb77c340012d49cf40068c32c0000e01262c..."} 
[2026-08-01 09:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb77c340012d49cf40068c32c0000e01262c..."} 
[2026-08-01 09:27:50] local.INFO: Processing buffer {"connection_id":146126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb77c340012d49cf40068c32c0000e01262c..."} 
[2026-08-01 09:27:50] local.INFO: Packet analysis {"connection_id":146126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb77"} 
[2026-08-01 09:27:50] local.INFO: Extracted packet for processing {"connection_id":146126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb77"} 
[2026-08-01 09:27:50] local.INFO: GPS Element Parsed {"raw_longitude":759811904,"raw_latitude":109851328,"longitude_deg":75.9811904,"latitude_deg":10.9851328,"altitude":14,"angle":294,"satellites":44,"speed":57,"hex_longitude":"2d49cf40","hex_latitude":"068c32c0","is_valid_coordinates":true} 
[2026-08-01 09:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:27:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102491904001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:27:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366011572457308160,"note":"Value kept but may cause issues"} 
[2026-08-01 09:27:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5328462074741813248,"note":"Value kept but may cause issues"} 
[2026-08-01 09:27:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 09:27:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785556616000,"timestamp_ms":1785556616000,"timestamp_seconds":1785556616,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb77c340"} 
[2026-08-01 09:27:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:27: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-08-01 09:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 09:27:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09:27:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:27:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:27:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:27:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:27:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:27:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:27:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:27:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:27:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:27:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102491904001,"66":27691,"85":206,"86":48896,"24":57,"16":366011572457308160,"45":5328462074741813248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,86,24,16,45]} 
[2026-08-01 09:27:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:27:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:27:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102491904001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:27:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-08-01 09:27:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-01 09:27:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366011572457308160,"km_value":366011572457308.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:27:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5328462074741813248,"description":"Unknown IO ID 45"} 
[2026-08-01 09:27:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102491904001,"power":27691,"unknown_85":206,"unknown_86":48896,"ignition":57,"odometer":null,"unknown_45":5328462074741813248}} 
[2026-08-01 09:27:50] local.INFO: DEBUG: GPS processor result {"connection_id":146126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:27:50] local.INFO: GPS data processed {"connection_id":146126,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:27:50] local.INFO: Acknowledgment sent {"connection_id":146126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:28:21] local.INFO: TCP Data received {"connection_id":146126,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb77de98012d49aac0068c4300000f01252c..."} 
[2026-08-01 09:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb77de98012d49aac0068c4300000f01252c..."} 
[2026-08-01 09:28:21] local.INFO: Processing buffer {"connection_id":146126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb77de98012d49aac0068c4300000f01252c..."} 
[2026-08-01 09:28:21] local.INFO: Packet analysis {"connection_id":146126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb77"} 
[2026-08-01 09:28:21] local.INFO: Extracted packet for processing {"connection_id":146126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb77"} 
[2026-08-01 09:28:21] local.INFO: GPS Element Parsed {"raw_longitude":759802560,"raw_latitude":109855488,"longitude_deg":75.980256,"latitude_deg":10.9855488,"altitude":15,"angle":293,"satellites":44,"speed":57,"hex_longitude":"2d49aac0","hex_latitude":"068c4300","is_valid_coordinates":true} 
[2026-08-01 09:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102493696001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366012062083579904,"note":"Value kept but may cause issues"} 
[2026-08-01 09:28:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5318540081813962752,"note":"Value kept but may cause issues"} 
[2026-08-01 09:28:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 09:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785556623000,"timestamp_ms":1785556623000,"timestamp_seconds":1785556623,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb77de98"} 
[2026-08-01 09:28:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:28:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 09:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-01 09:28:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09:28:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:28:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:28:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102493696001,"66":27800,"85":206,"86":48896,"24":57,"16":366012062083579904,"45":5318540081813962752},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,86,24,16,45]} 
[2026-08-01 09:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102493696001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:28:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-08-01 09:28:21] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-01 09:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366012062083579904,"km_value":366012062083579.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:28:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5318540081813962752,"description":"Unknown IO ID 45"} 
[2026-08-01 09:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102493696001,"power":27800,"unknown_85":206,"unknown_86":48896,"ignition":57,"odometer":null,"unknown_45":5318540081813962752}} 
[2026-08-01 09:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":146126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:28:21] local.INFO: GPS data processed {"connection_id":146126,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:28:21] local.INFO: Acknowledgment sent {"connection_id":146126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:28:44] local.INFO: TCP Data received {"connection_id":147136,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:28:44] local.INFO: Processing buffer {"connection_id":147136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:28:44] local.INFO: IMEI packet received {"connection_id":147136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 09:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":147136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 09:28:50] local.INFO: TCP Data received {"connection_id":147136,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:28:50] local.INFO: Processing buffer {"connection_id":147136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:28:50] local.INFO: IMEI packet received {"connection_id":147136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":147136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:28:51] local.INFO: TCP Data received {"connection_id":147136,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb77f9f0012d498740068c52d0001001272a..."} 
[2026-08-01 09:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb77f9f0012d498740068c52d0001001272a..."} 
[2026-08-01 09:28:51] local.INFO: Processing buffer {"connection_id":147136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb77f9f0012d498740068c52d0001001272a..."} 
[2026-08-01 09:28:51] local.INFO: Packet analysis {"connection_id":147136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb77"} 
[2026-08-01 09:28:51] local.INFO: Extracted packet for processing {"connection_id":147136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb77"} 
[2026-08-01 09:28:51] local.INFO: GPS Element Parsed {"raw_longitude":759793472,"raw_latitude":109859536,"longitude_deg":75.9793472,"latitude_deg":10.9859536,"altitude":16,"angle":295,"satellites":42,"speed":53,"hex_longitude":"2d498740","hex_latitude":"068c52d0","is_valid_coordinates":true} 
[2026-08-01 09:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102495488001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366012534529982464,"note":"Value kept but may cause issues"} 
[2026-08-01 09:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5308266245165088768,"note":"Value kept but may cause issues"} 
[2026-08-01 09:28:51] 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-08-01 09:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785556630000,"timestamp_ms":1785556630000,"timestamp_seconds":1785556630,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb77f9f0"} 
[2026-08-01 09:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:28: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-08-01 09:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 09:28:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09:28:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":147136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":147136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":147136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102495488001,"66":27800,"61":206,"86":48896,"24":53,"16":366012534529982464,"45":5308266245165088768},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,86,24,16,45]} 
[2026-08-01 09:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102495488001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:28:51] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-01 09:28:51] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-01 09:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366012534529982464,"km_value":366012534529982.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5308266245165088768,"description":"Unknown IO ID 45"} 
[2026-08-01 09:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102495488001,"power":27800,"unknown_61":206,"unknown_86":48896,"ignition":53,"odometer":null,"unknown_45":5308266245165088768}} 
[2026-08-01 09:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":147136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:28:51] local.INFO: GPS data processed {"connection_id":147136,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:28:51] local.INFO: Acknowledgment sent {"connection_id":147136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:29:22] local.INFO: TCP Data received {"connection_id":147136,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb790b60012d48cec0068d83e80017014731..."} 
[2026-08-01 09:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb790b60012d48cec0068d83e80017014731..."} 
[2026-08-01 09:29:22] local.INFO: Processing buffer {"connection_id":147136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb790b60012d48cec0068d83e80017014731..."} 
[2026-08-01 09:29:22] local.INFO: Packet analysis {"connection_id":147136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb79"} 
[2026-08-01 09:29:22] local.INFO: Extracted packet for processing {"connection_id":147136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb79"} 
[2026-08-01 09:29:22] local.INFO: GPS Element Parsed {"raw_longitude":759746240,"raw_latitude":109937640,"longitude_deg":75.974624,"latitude_deg":10.993764,"altitude":23,"angle":327,"satellites":49,"speed":41,"hex_longitude":"2d48cec0","hex_latitude":"068d83e8","is_valid_coordinates":true} 
[2026-08-01 09:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102513152001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:29:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366017052835577856,"note":"Value kept but may cause issues"} 
[2026-08-01 09:29:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5251197193656004608,"note":"Value kept but may cause issues"} 
[2026-08-01 09:29:22] 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-08-01 09:29:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785556700000,"timestamp_ms":1785556700000,"timestamp_seconds":1785556700,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb790b60"} 
[2026-08-01 09:29:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:29:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 09:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 09:29:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09:29:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:29:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:29:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:29:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:29:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:29:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:29:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:29:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:29:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:29:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102513152001,"66":27821,"61":206,"86":48896,"24":41,"16":366017052835577856,"45":5251197193656004608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,86,24,16,45]} 
[2026-08-01 09:29:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:29:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:29:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102513152001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:29:22] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-01 09:29:22] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-01 09:29:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366017052835577856,"km_value":366017052835577.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:29:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5251197193656004608,"description":"Unknown IO ID 45"} 
[2026-08-01 09:29:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102513152001,"power":27821,"unknown_61":206,"unknown_86":48896,"ignition":41,"odometer":null,"unknown_45":5251197193656004608}} 
[2026-08-01 09:29:22] local.INFO: DEBUG: GPS processor result {"connection_id":147136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:29:22] local.INFO: GPS data processed {"connection_id":147136,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:29:22] local.INFO: Acknowledgment sent {"connection_id":147136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:29:45] local.INFO: TCP Data received {"connection_id":146127,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:29:45] local.INFO: Processing buffer {"connection_id":146127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:29:45] local.INFO: IMEI packet received {"connection_id":146127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 09:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":146127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 09:29:47] local.INFO: TCP Data received {"connection_id":146127,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:29:47] local.INFO: Processing buffer {"connection_id":146127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:29:47] local.INFO: IMEI packet received {"connection_id":146127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":146127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:29:50] local.INFO: TCP Data received {"connection_id":146127,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:29:50] local.INFO: Processing buffer {"connection_id":146127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:29:50] local.INFO: IMEI packet received {"connection_id":146127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":146127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:29:51] local.INFO: TCP Data received {"connection_id":146127,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb793270012d48b880068da0f8001c013e31..."} 
[2026-08-01 09:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb793270012d48b880068da0f8001c013e31..."} 
[2026-08-01 09:29:51] local.INFO: Processing buffer {"connection_id":146127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb793270012d48b880068da0f8001c013e31..."} 
[2026-08-01 09:29:51] local.INFO: Packet analysis {"connection_id":146127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb79"} 
[2026-08-01 09:29:51] local.INFO: Extracted packet for processing {"connection_id":146127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb79"} 
[2026-08-01 09:29:51] local.INFO: GPS Element Parsed {"raw_longitude":759740544,"raw_latitude":109945080,"longitude_deg":75.9740544,"latitude_deg":10.994508,"altitude":28,"angle":318,"satellites":49,"speed":34,"hex_longitude":"2d48b880","hex_latitude":"068da0f8","is_valid_coordinates":true} 
[2026-08-01 09: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-08-01 09:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102515200001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366017503807143936,"note":"Value kept but may cause issues"} 
[2026-08-01 09:29:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5246341750309775360,"note":"Value kept but may cause issues"} 
[2026-08-01 09:29:51] 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-08-01 09:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785556710000,"timestamp_ms":1785556710000,"timestamp_seconds":1785556710,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb793270"} 
[2026-08-01 09:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:29: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-08-01 09:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 09:29:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09: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-08-01 09:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":146127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":146127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":146127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102515200001,"66":27745,"61":206,"86":48896,"24":34,"16":366017503807143936,"45":5246341750309775360},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,86,24,16,45]} 
[2026-08-01 09:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102515200001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:29:51] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-01 09:29:51] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-01 09:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366017503807143936,"km_value":366017503807143.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:29:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5246341750309775360,"description":"Unknown IO ID 45"} 
[2026-08-01 09:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102515200001,"power":27745,"unknown_61":206,"unknown_86":48896,"ignition":34,"odometer":null,"unknown_45":5246341750309775360}} 
[2026-08-01 09:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":146127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:29:51] local.INFO: GPS data processed {"connection_id":146127,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:29:51] local.INFO: Acknowledgment sent {"connection_id":146127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:30:22] local.INFO: TCP Data received {"connection_id":146127,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb795d68012d489fc0068db998002101372f..."} 
[2026-08-01 09:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb795d68012d489fc0068db998002101372f..."} 
[2026-08-01 09:30:22] local.INFO: Processing buffer {"connection_id":146127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb795d68012d489fc0068db998002101372f..."} 
[2026-08-01 09:30:22] local.INFO: Packet analysis {"connection_id":146127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb79"} 
[2026-08-01 09:30:22] local.INFO: Extracted packet for processing {"connection_id":146127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb79"} 
[2026-08-01 09:30:22] local.INFO: GPS Element Parsed {"raw_longitude":759734208,"raw_latitude":109951384,"longitude_deg":75.9734208,"latitude_deg":10.9951384,"altitude":33,"angle":311,"satellites":47,"speed":29,"hex_longitude":"2d489fc0","hex_latitude":"068db998","is_valid_coordinates":true} 
[2026-08-01 09:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102517760001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366017933303873536,"note":"Value kept but may cause issues"} 
[2026-08-01 09:30:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5240078932079867904,"note":"Value kept but may cause issues"} 
[2026-08-01 09:30:22] 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-08-01 09:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785556721000,"timestamp_ms":1785556721000,"timestamp_seconds":1785556721,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb795d68"} 
[2026-08-01 09:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:30:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 09:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 09:30:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09:30:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102517760001,"66":27691,"61":206,"86":48896,"24":29,"16":366017933303873536,"45":5240078932079867904},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,86,24,16,45]} 
[2026-08-01 09:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102517760001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:30:22] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-01 09:30:22] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-01 09:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366017933303873536,"km_value":366017933303873.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:30:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5240078932079867904,"description":"Unknown IO ID 45"} 
[2026-08-01 09:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102517760001,"power":27691,"unknown_61":206,"unknown_86":48896,"ignition":29,"odometer":null,"unknown_45":5240078932079867904}} 
[2026-08-01 09:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":146127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:30:22] local.INFO: GPS data processed {"connection_id":146127,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:30:22] local.INFO: Acknowledgment sent {"connection_id":146127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:30:44] local.INFO: TCP Data received {"connection_id":147137,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:30:44] local.INFO: Processing buffer {"connection_id":147137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:30:44] local.INFO: IMEI packet received {"connection_id":147137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 09:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":147137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 09:30:47] local.INFO: TCP Data received {"connection_id":147137,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:30:47] local.INFO: Processing buffer {"connection_id":147137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:30:47] local.INFO: IMEI packet received {"connection_id":147137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":147137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:30:50] local.INFO: TCP Data received {"connection_id":147137,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:30:50] local.INFO: Processing buffer {"connection_id":147137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:30:50] local.INFO: IMEI packet received {"connection_id":147137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":147137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:30:51] local.INFO: TCP Data received {"connection_id":147137,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb799030012d488280068dcf90002601312d..."} 
[2026-08-01 09:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb799030012d488280068dcf90002601312d..."} 
[2026-08-01 09:30:51] local.INFO: Processing buffer {"connection_id":147137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb799030012d488280068dcf90002601312d..."} 
[2026-08-01 09:30:51] local.INFO: Packet analysis {"connection_id":147137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb79"} 
[2026-08-01 09:30:51] local.INFO: Extracted packet for processing {"connection_id":147137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb79"} 
[2026-08-01 09:30:51] local.INFO: GPS Element Parsed {"raw_longitude":759726720,"raw_latitude":109957008,"longitude_deg":75.972672,"latitude_deg":10.9957008,"altitude":38,"angle":305,"satellites":45,"speed":26,"hex_longitude":"2d488280","hex_latitude":"068dcf90","is_valid_coordinates":true} 
[2026-08-01 09:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102520576001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366018384275439616,"note":"Value kept but may cause issues"} 
[2026-08-01 09:30:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5233112426407892992,"note":"Value kept but may cause issues"} 
[2026-08-01 09:30:51] 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-08-01 09:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785556734000,"timestamp_ms":1785556734000,"timestamp_seconds":1785556734,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb799030"} 
[2026-08-01 09:30:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:30: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-08-01 09:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-01 09:30:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09:30:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:30:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":147137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":147137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":147137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:30:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102520576001,"66":27658,"61":206,"86":48896,"24":26,"16":366018384275439616,"45":5233112426407892992},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,86,24,16,45]} 
[2026-08-01 09:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102520576001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:30:51] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-01 09:30:51] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-01 09:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366018384275439616,"km_value":366018384275439.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:30:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5233112426407892992,"description":"Unknown IO ID 45"} 
[2026-08-01 09:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102520576001,"power":27658,"unknown_61":206,"unknown_86":48896,"ignition":26,"odometer":null,"unknown_45":5233112426407892992}} 
[2026-08-01 09:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":147137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:30:51] local.INFO: GPS data processed {"connection_id":147137,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:30:51] local.INFO: Acknowledgment sent {"connection_id":147137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:31:22] local.INFO: TCP Data received {"connection_id":147137,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb79cac8012d486380068de0c0002a01282b..."} 
[2026-08-01 09:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb79cac8012d486380068de0c0002a01282b..."} 
[2026-08-01 09:31:22] local.INFO: Processing buffer {"connection_id":147137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb79cac8012d486380068de0c0002a01282b..."} 
[2026-08-01 09:31:22] local.INFO: Packet analysis {"connection_id":147137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb79"} 
[2026-08-01 09:31:22] local.INFO: Extracted packet for processing {"connection_id":147137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb79"} 
[2026-08-01 09:31:22] local.INFO: GPS Element Parsed {"raw_longitude":759718784,"raw_latitude":109961408,"longitude_deg":75.9718784,"latitude_deg":10.9961408,"altitude":42,"angle":296,"satellites":43,"speed":24,"hex_longitude":"2d486380","hex_latitude":"068de0c0","is_valid_coordinates":true} 
[2026-08-01 09:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102523904001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366018818067136512,"note":"Value kept but may cause issues"} 
[2026-08-01 09:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5224879283340546048,"note":"Value kept but may cause issues"} 
[2026-08-01 09:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 09:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785556749000,"timestamp_ms":1785556749000,"timestamp_seconds":1785556749,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb79cac8"} 
[2026-08-01 09:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:31:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 09:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 09:31:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09:31:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102523904001,"66":27658,"62":206,"86":48896,"24":24,"16":366018818067136512,"45":5224879283340546048},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,86,24,16,45]} 
[2026-08-01 09:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102523904001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:31:22] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-08-01 09:31:22] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-01 09:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366018818067136512,"km_value":366018818067136.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5224879283340546048,"description":"Unknown IO ID 45"} 
[2026-08-01 09:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102523904001,"power":27658,"unknown_62":206,"unknown_86":48896,"ignition":24,"odometer":null,"unknown_45":5224879283340546048}} 
[2026-08-01 09:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":147137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:31:22] local.INFO: GPS data processed {"connection_id":147137,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:31:22] local.INFO: Acknowledgment sent {"connection_id":147137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:31:50] local.INFO: TCP Data received {"connection_id":145931,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:31:50] local.INFO: Processing buffer {"connection_id":145931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:31:50] local.INFO: IMEI packet received {"connection_id":145931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 09:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":145931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 09:31:54] local.INFO: TCP Data received {"connection_id":145931,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:31:54] local.INFO: Processing buffer {"connection_id":145931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:31:54] local.INFO: IMEI packet received {"connection_id":145931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":145931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:31:55] local.INFO: TCP Data received {"connection_id":145931,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb7a0560012d484080068dee70002e011f2c..."} 
[2026-08-01 09:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb7a0560012d484080068dee70002e011f2c..."} 
[2026-08-01 09:31:55] local.INFO: Processing buffer {"connection_id":145931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb7a0560012d484080068dee70002e011f2c..."} 
[2026-08-01 09:31:55] local.INFO: Packet analysis {"connection_id":145931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb7a"} 
[2026-08-01 09:31:55] local.INFO: Extracted packet for processing {"connection_id":145931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb7a"} 
[2026-08-01 09:31:55] local.INFO: GPS Element Parsed {"raw_longitude":759709824,"raw_latitude":109964912,"longitude_deg":75.9709824,"latitude_deg":10.9964912,"altitude":46,"angle":287,"satellites":44,"speed":25,"hex_longitude":"2d484080","hex_latitude":"068dee70","is_valid_coordinates":true} 
[2026-08-01 09:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102527744001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366019273333669888,"note":"Value kept but may cause issues"} 
[2026-08-01 09:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5216153559063642112,"note":"Value kept but may cause issues"} 
[2026-08-01 09:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 09:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785556764000,"timestamp_ms":1785556764000,"timestamp_seconds":1785556764,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb7a0560"} 
[2026-08-01 09:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:31: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-08-01 09:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 09:31:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09:31:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":145931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":145931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":145931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102527744001,"66":27713,"62":206,"86":48896,"24":25,"16":366019273333669888,"45":5216153559063642112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,86,24,16,45]} 
[2026-08-01 09:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102527744001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:31:55] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-08-01 09:31:55] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-01 09:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366019273333669888,"km_value":366019273333669.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5216153559063642112,"description":"Unknown IO ID 45"} 
[2026-08-01 09:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102527744001,"power":27713,"unknown_62":206,"unknown_86":48896,"ignition":25,"odometer":null,"unknown_45":5216153559063642112}} 
[2026-08-01 09:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":145931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:31:55] local.INFO: GPS data processed {"connection_id":145931,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:31:55] local.INFO: Acknowledgment sent {"connection_id":145931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:32:27] local.INFO: TCP Data received {"connection_id":145931,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb7a3ff8012d481c80068df6c8003301172b..."} 
[2026-08-01 09:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb7a3ff8012d481c80068df6c8003301172b..."} 
[2026-08-01 09:32:27] local.INFO: Processing buffer {"connection_id":145931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb7a3ff8012d481c80068df6c8003301172b..."} 
[2026-08-01 09:32:27] local.INFO: Packet analysis {"connection_id":145931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb7a"} 
[2026-08-01 09:32:27] local.INFO: Extracted packet for processing {"connection_id":145931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb7a"} 
[2026-08-01 09:32:27] local.INFO: GPS Element Parsed {"raw_longitude":759700608,"raw_latitude":109967048,"longitude_deg":75.9700608,"latitude_deg":10.9967048,"altitude":51,"angle":279,"satellites":43,"speed":24,"hex_longitude":"2d481c80","hex_latitude":"068df6c8","is_valid_coordinates":true} 
[2026-08-01 09:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102531584001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366019724305235968,"note":"Value kept but may cause issues"} 
[2026-08-01 09:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5206301934879666176,"note":"Value kept but may cause issues"} 
[2026-08-01 09:32:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 09:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785556779000,"timestamp_ms":1785556779000,"timestamp_seconds":1785556779,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb7a3ff8"} 
[2026-08-01 09:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:32:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 09:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 09:32:27] 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-08-01 09:32:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":145931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":145931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":145931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:32:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102531584001,"66":27800,"62":206,"86":48896,"24":24,"16":366019724305235968,"45":5206301934879666176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,86,24,16,45]} 
[2026-08-01 09:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102531584001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:32:27] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-08-01 09:32:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-01 09:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366019724305235968,"km_value":366019724305235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5206301934879666176,"description":"Unknown IO ID 45"} 
[2026-08-01 09:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102531584001,"power":27800,"unknown_62":206,"unknown_86":48896,"ignition":24,"odometer":null,"unknown_45":5206301934879666176}} 
[2026-08-01 09:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":145931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:32:27] local.INFO: GPS data processed {"connection_id":145931,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:32:27] local.INFO: Acknowledgment sent {"connection_id":145931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:32:45] local.INFO: TCP Data received {"connection_id":147138,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:32:45] local.INFO: Processing buffer {"connection_id":147138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:32:45] local.INFO: IMEI packet received {"connection_id":147138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 09:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":147138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 09:32:50] local.INFO: TCP Data received {"connection_id":147138,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:32:50] local.INFO: Processing buffer {"connection_id":147138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:32:50] local.INFO: IMEI packet received {"connection_id":147138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":147138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:32:52] local.INFO: TCP Data received {"connection_id":147138,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb7a7a90012d47f840068df9f80036011023..."} 
[2026-08-01 09:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb7a7a90012d47f840068df9f80036011023..."} 
[2026-08-01 09:32:52] local.INFO: Processing buffer {"connection_id":147138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb7a7a90012d47f840068df9f80036011023..."} 
[2026-08-01 09:32:52] local.INFO: Packet analysis {"connection_id":147138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb7a"} 
[2026-08-01 09:32:52] local.INFO: Extracted packet for processing {"connection_id":147138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb7a"} 
[2026-08-01 09:32:52] local.INFO: GPS Element Parsed {"raw_longitude":759691328,"raw_latitude":109967864,"longitude_deg":75.9691328,"latitude_deg":10.9967864,"altitude":54,"angle":272,"satellites":35,"speed":24,"hex_longitude":"2d47f840","hex_latitude":"068df9f8","is_valid_coordinates":true} 
[2026-08-01 09:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102535424001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366020170981834752,"note":"Value kept but may cause issues"} 
[2026-08-01 09:32:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5196168835718629376,"note":"Value kept but may cause issues"} 
[2026-08-01 09:32:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 09:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785556794000,"timestamp_ms":1785556794000,"timestamp_seconds":1785556794,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb7a7a90"} 
[2026-08-01 09:32:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:32:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 09:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 09:32: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-08-01 09:32:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:32:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":147138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":147138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":147138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:32:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102535424001,"66":27789,"62":206,"86":48896,"24":24,"16":366020170981834752,"45":5196168835718629376},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,86,24,16,45]} 
[2026-08-01 09:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102535424001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:32:52] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-08-01 09:32:52] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-01 09:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366020170981834752,"km_value":366020170981834.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:32:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":5196168835718629376,"description":"Unknown IO ID 45"} 
[2026-08-01 09:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102535424001,"power":27789,"unknown_62":206,"unknown_86":48896,"ignition":24,"odometer":null,"unknown_45":5196168835718629376}} 
[2026-08-01 09:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":147138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:32:52] local.INFO: GPS data processed {"connection_id":147138,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:32:52] local.INFO: Acknowledgment sent {"connection_id":147138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:32:55] local.INFO: TCP Data received {"connection_id":147138,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb7ab528012d47d3c0068df8a8003c01072a..."} 
[2026-08-01 09:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb7ab528012d47d3c0068df8a8003c01072a..."} 
[2026-08-01 09:32:55] local.INFO: Processing buffer {"connection_id":147138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb7ab528012d47d3c0068df8a8003c01072a..."} 
[2026-08-01 09:32:55] local.INFO: Packet analysis {"connection_id":147138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb7a"} 
[2026-08-01 09:32:55] local.INFO: Extracted packet for processing {"connection_id":147138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb7a"} 
[2026-08-01 09:32:55] local.INFO: GPS Element Parsed {"raw_longitude":759681984,"raw_latitude":109967528,"longitude_deg":75.9681984,"latitude_deg":10.9967528,"altitude":60,"angle":263,"satellites":42,"speed":23,"hex_longitude":"2d47d3c0","hex_latitude":"068df8a8","is_valid_coordinates":true} 
[2026-08-01 09: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-08-01 09:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102539264001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366020613363466240,"note":"Value kept but may cause issues"} 
[2026-08-01 09:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5185965367813076992,"note":"Value kept but may cause issues"} 
[2026-08-01 09:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 09:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785556809000,"timestamp_ms":1785556809000,"timestamp_seconds":1785556809,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb7ab528"} 
[2026-08-01 09:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09: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-08-01 09:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-01 09:32:55] 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-08-01 09: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-08-01 09:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":147138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":147138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":147138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102539264001,"66":27843,"62":206,"86":48896,"24":23,"16":366020613363466240,"45":5185965367813076992},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,86,24,16,45]} 
[2026-08-01 09:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102539264001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:32:55] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-08-01 09:32:55] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-01 09:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366020613363466240,"km_value":366020613363466.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5185965367813076992,"description":"Unknown IO ID 45"} 
[2026-08-01 09:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102539264001,"power":27843,"unknown_62":206,"unknown_86":48896,"ignition":23,"odometer":null,"unknown_45":5185965367813076992}} 
[2026-08-01 09:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":147138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:32:55] local.INFO: GPS data processed {"connection_id":147138,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:32:55] local.INFO: Acknowledgment sent {"connection_id":147138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:33:26] local.INFO: TCP Data received {"connection_id":147138,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb7cdfd8012d468b80068df580005f013329..."} 
[2026-08-01 09:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb7cdfd8012d468b80068df580005f013329..."} 
[2026-08-01 09:33:26] local.INFO: Processing buffer {"connection_id":147138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb7cdfd8012d468b80068df580005f013329..."} 
[2026-08-01 09:33:26] local.INFO: Packet analysis {"connection_id":147138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb7c"} 
[2026-08-01 09:33:26] local.INFO: Extracted packet for processing {"connection_id":147138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb7c"} 
[2026-08-01 09:33:26] local.INFO: GPS Element Parsed {"raw_longitude":759597952,"raw_latitude":109966720,"longitude_deg":75.9597952,"latitude_deg":10.996672,"altitude":95,"angle":307,"satellites":41,"speed":38,"hex_longitude":"2d468b80","hex_latitude":"068df580","is_valid_coordinates":true} 
[2026-08-01 09:33:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102577920001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366024770891808768,"note":"Value kept but may cause issues"} 
[2026-08-01 09:33:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5088293550893453312,"note":"Value kept but may cause issues"} 
[2026-08-01 09:33:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 09:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785556951000,"timestamp_ms":1785556951000,"timestamp_seconds":1785556951,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb7cdfd8"} 
[2026-08-01 09:33:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:33:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 09:33:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 09:33: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-08-01 09:33:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:33:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":147138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":147138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":147138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:33:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:33:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102577920001,"66":27974,"170":206,"86":48896,"24":38,"16":366024770891808768,"45":5088293550893453312},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,86,24,16,45]} 
[2026-08-01 09:33:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:33:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:33:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102577920001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:33:26] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-01 09:33:26] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-01 09:33:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366024770891808768,"km_value":366024770891808.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:33:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5088293550893453312,"description":"Unknown IO ID 45"} 
[2026-08-01 09:33:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102577920001,"power":27974,"unknown_170":206,"unknown_86":48896,"ignition":38,"odometer":null,"unknown_45":5088293550893453312}} 
[2026-08-01 09:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":147138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:33:26] local.INFO: GPS data processed {"connection_id":147138,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:33:26] local.INFO: Acknowledgment sent {"connection_id":147138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:33:45] local.INFO: TCP Data received {"connection_id":146128,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:33:45] local.INFO: Processing buffer {"connection_id":146128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:33:45] local.INFO: IMEI packet received {"connection_id":146128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 09:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":146128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 09:33:45] local.INFO: TCP Data received {"connection_id":146128,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:33:45] local.INFO: Processing buffer {"connection_id":146128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:33:45] local.INFO: IMEI packet received {"connection_id":146128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":146128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:33:50] local.INFO: TCP Data received {"connection_id":146128,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:33:50] local.INFO: Processing buffer {"connection_id":146128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:33:50] local.INFO: IMEI packet received {"connection_id":146128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":146128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:33:50] local.INFO: TCP Data received {"connection_id":146128,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb7cf748012d467a80068e0678005e013f2a..."} 
[2026-08-01 09:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb7cf748012d467a80068e0678005e013f2a..."} 
[2026-08-01 09:33:50] local.INFO: Processing buffer {"connection_id":146128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb7cf748012d467a80068e0678005e013f2a..."} 
[2026-08-01 09:33:50] local.INFO: Packet analysis {"connection_id":146128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb7c"} 
[2026-08-01 09:33:50] local.INFO: Extracted packet for processing {"connection_id":146128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb7c"} 
[2026-08-01 09:33:50] local.INFO: GPS Element Parsed {"raw_longitude":759593600,"raw_latitude":109971064,"longitude_deg":75.95936,"latitude_deg":10.9971064,"altitude":94,"angle":319,"satellites":42,"speed":41,"hex_longitude":"2d467a80","hex_latitude":"068e0678","is_valid_coordinates":true} 
[2026-08-01 09:33:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:33:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102579456001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:33:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366025067244552192,"note":"Value kept but may cause issues"} 
[2026-08-01 09:33:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5083297370057572352,"note":"Value kept but may cause issues"} 
[2026-08-01 09:33:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 09:33:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785556957000,"timestamp_ms":1785556957000,"timestamp_seconds":1785556957,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb7cf748"} 
[2026-08-01 09:33:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:33: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-08-01 09:33:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-01 09:33:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09:33:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:33:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:33:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:33:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:33:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:33:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:33:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:33:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:33:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:33:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102579456001,"66":27908,"170":206,"86":48896,"24":41,"16":366025067244552192,"45":5083297370057572352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,86,24,16,45]} 
[2026-08-01 09:33:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:33:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:33:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102579456001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:33:50] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-01 09:33:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-01 09:33:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366025067244552192,"km_value":366025067244552.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:33:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5083297370057572352,"description":"Unknown IO ID 45"} 
[2026-08-01 09:33:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102579456001,"power":27908,"unknown_170":206,"unknown_86":48896,"ignition":41,"odometer":null,"unknown_45":5083297370057572352}} 
[2026-08-01 09:33:50] local.INFO: DEBUG: GPS processor result {"connection_id":146128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:33:50] local.INFO: GPS data processed {"connection_id":146128,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:33:50] local.INFO: Acknowledgment sent {"connection_id":146128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:34:23] local.INFO: TCP Data received {"connection_id":146128,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb7d1688012d4664c0068e22d0005a014229..."} 
[2026-08-01 09:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb7d1688012d4664c0068e22d0005a014229..."} 
[2026-08-01 09:34:23] local.INFO: Processing buffer {"connection_id":146128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb7d1688012d4664c0068e22d0005a014229..."} 
[2026-08-01 09:34:23] local.INFO: Packet analysis {"connection_id":146128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb7d"} 
[2026-08-01 09:34:23] local.INFO: Extracted packet for processing {"connection_id":146128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb7d"} 
[2026-08-01 09:34:23] local.INFO: GPS Element Parsed {"raw_longitude":759588032,"raw_latitude":109978320,"longitude_deg":75.9588032,"latitude_deg":10.997832,"altitude":90,"angle":322,"satellites":41,"speed":50,"hex_longitude":"2d4664c0","hex_latitude":"068e22d0","is_valid_coordinates":true} 
[2026-08-01 09:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:34:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102580992001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:34:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366025509626183680,"note":"Value kept but may cause issues"} 
[2026-08-01 09:34:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5078512295454603264,"note":"Value kept but may cause issues"} 
[2026-08-01 09:34:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 09:34:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785556965000,"timestamp_ms":1785556965000,"timestamp_seconds":1785556965,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb7d1688"} 
[2026-08-01 09:34:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:34:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 09:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 09:34:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09:34:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:34:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:34:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:34:23] local.INFO: Teltonika packet parsed successfully {"connection_id":146128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:34:23] local.INFO: Passing IMEI to GPS processor {"connection_id":146128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:34:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":146128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:34:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:34:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:34:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:34:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102580992001,"66":27887,"170":206,"86":48896,"24":50,"16":366025509626183680,"45":5078512295454603264},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,86,24,16,45]} 
[2026-08-01 09:34:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:34:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:34:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102580992001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:34:23] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-01 09:34:23] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-01 09:34:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366025509626183680,"km_value":366025509626183.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:34:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5078512295454603264,"description":"Unknown IO ID 45"} 
[2026-08-01 09:34:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102580992001,"power":27887,"unknown_170":206,"unknown_86":48896,"ignition":50,"odometer":null,"unknown_45":5078512295454603264}} 
[2026-08-01 09:34:23] local.INFO: DEBUG: GPS processor result {"connection_id":146128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:34:23] local.INFO: GPS data processed {"connection_id":146128,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:34:23] local.INFO: Acknowledgment sent {"connection_id":146128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:34:44] local.INFO: TCP Data received {"connection_id":145932,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:34:44] local.INFO: Processing buffer {"connection_id":145932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:34:44] local.INFO: IMEI packet received {"connection_id":145932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 09:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":145932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 09:34:49] local.INFO: TCP Data received {"connection_id":145932,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:34:49] local.INFO: Processing buffer {"connection_id":145932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:34:49] local.INFO: IMEI packet received {"connection_id":145932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":145932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:34:50] local.INFO: TCP Data received {"connection_id":145932,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb7e1c40012d460a40068f93880044015830..."} 
[2026-08-01 09:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb7e1c40012d460a40068f93880044015830..."} 
[2026-08-01 09:34:50] local.INFO: Processing buffer {"connection_id":145932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb7e1c40012d460a40068f93880044015830..."} 
[2026-08-01 09:34:50] local.INFO: Packet analysis {"connection_id":145932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb7e"} 
[2026-08-01 09:34:50] local.INFO: Extracted packet for processing {"connection_id":145932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb7e"} 
[2026-08-01 09:34:50] local.INFO: GPS Element Parsed {"raw_longitude":759564864,"raw_latitude":110072712,"longitude_deg":75.9564864,"latitude_deg":11.0072712,"altitude":68,"angle":344,"satellites":48,"speed":53,"hex_longitude":"2d460a40","hex_latitude":"068f9388","is_valid_coordinates":true} 
[2026-08-01 09:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102598400001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366030289924784128,"note":"Value kept but may cause issues"} 
[2026-08-01 09:34:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5049731479109687296,"note":"Value kept but may cause issues"} 
[2026-08-01 09:34:50] 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-08-01 09:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785557032000,"timestamp_ms":1785557032000,"timestamp_seconds":1785557032,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb7e1c40"} 
[2026-08-01 09:34:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:34: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-08-01 09:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-01 09:34:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09:34:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:34:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":145932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":145932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":145932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:34:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102598400001,"66":27767,"47":206,"86":48896,"24":53,"16":366030289924784128,"45":5049731479109687296},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,86,24,16,45]} 
[2026-08-01 09:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102598400001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:34:50] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-01 09:34:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-01 09:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366030289924784128,"km_value":366030289924784.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:34:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5049731479109687296,"description":"Unknown IO ID 45"} 
[2026-08-01 09:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102598400001,"power":27767,"unknown_47":206,"unknown_86":48896,"ignition":53,"odometer":null,"unknown_45":5049731479109687296}} 
[2026-08-01 09:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":145932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:34:50] local.INFO: GPS data processed {"connection_id":145932,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:34:50] local.INFO: Acknowledgment sent {"connection_id":145932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:35:24] local.INFO: TCP Data received {"connection_id":145932,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb7e3798012d45fdc0068fb7780042014e30..."} 
[2026-08-01 09:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb7e3798012d45fdc0068fb7780042014e30..."} 
[2026-08-01 09:35:24] local.INFO: Processing buffer {"connection_id":145932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb7e3798012d45fdc0068fb7780042014e30..."} 
[2026-08-01 09:35:24] local.INFO: Packet analysis {"connection_id":145932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb7e"} 
[2026-08-01 09:35:24] local.INFO: Extracted packet for processing {"connection_id":145932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb7e"} 
[2026-08-01 09:35:24] local.INFO: GPS Element Parsed {"raw_longitude":759561664,"raw_latitude":110081912,"longitude_deg":75.9561664,"latitude_deg":11.0081912,"altitude":66,"angle":334,"satellites":48,"speed":57,"hex_longitude":"2d45fdc0","hex_latitude":"068fb778","is_valid_coordinates":true} 
[2026-08-01 09:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102600192001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366030762371186688,"note":"Value kept but may cause issues"} 
[2026-08-01 09:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5046916729344854016,"note":"Value kept but may cause issues"} 
[2026-08-01 09:35:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 09:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785557039000,"timestamp_ms":1785557039000,"timestamp_seconds":1785557039,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb7e3798"} 
[2026-08-01 09:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:35: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-08-01 09:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 09:35:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09:35:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":145932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":145932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":145932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:35:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102600192001,"66":27821,"171":206,"86":48896,"24":57,"16":366030762371186688,"45":5046916729344854016},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,86,24,16,45]} 
[2026-08-01 09:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102600192001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:35:24] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-08-01 09:35:24] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-01 09:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366030762371186688,"km_value":366030762371186.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5046916729344854016,"description":"Unknown IO ID 45"} 
[2026-08-01 09:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102600192001,"power":27821,"unknown_171":206,"unknown_86":48896,"ignition":57,"odometer":null,"unknown_45":5046916729344854016}} 
[2026-08-01 09:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":145932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:35:24] local.INFO: GPS data processed {"connection_id":145932,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:35:24] local.INFO: Acknowledgment sent {"connection_id":145932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:35:44] local.INFO: TCP Data received {"connection_id":145933,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:35:44] local.INFO: Processing buffer {"connection_id":145933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:35:44] local.INFO: IMEI packet received {"connection_id":145933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 09:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":145933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 09:35:49] local.INFO: TCP Data received {"connection_id":145933,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:35:49] local.INFO: Processing buffer {"connection_id":145933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:35:49] local.INFO: IMEI packet received {"connection_id":145933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":145933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:35:49] local.INFO: TCP Data received {"connection_id":145933,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:35:49] local.INFO: Processing buffer {"connection_id":145933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:35:49] local.INFO: IMEI packet received {"connection_id":145933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":145933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:35:50] local.INFO: TCP Data received {"connection_id":145933,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb7e4f08012d45eac0068fd4b8004201442f..."} 
[2026-08-01 09:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb7e4f08012d45eac0068fd4b8004201442f..."} 
[2026-08-01 09:35:50] local.INFO: Processing buffer {"connection_id":145933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb7e4f08012d45eac0068fd4b8004201442f..."} 
[2026-08-01 09:35:50] local.INFO: Packet analysis {"connection_id":145933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb7e"} 
[2026-08-01 09:35:50] local.INFO: Extracted packet for processing {"connection_id":145933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb7e"} 
[2026-08-01 09:35:50] local.INFO: GPS Element Parsed {"raw_longitude":759556800,"raw_latitude":110089400,"longitude_deg":75.95568,"latitude_deg":11.00894,"altitude":66,"angle":324,"satellites":47,"speed":59,"hex_longitude":"2d45eac0","hex_latitude":"068fd4b8","is_valid_coordinates":true} 
[2026-08-01 09: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-08-01 09:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102601984001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366031191867916288,"note":"Value kept but may cause issues"} 
[2026-08-01 09:35:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5043398292138326016,"note":"Value kept but may cause issues"} 
[2026-08-01 09:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 09:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785557045000,"timestamp_ms":1785557045000,"timestamp_seconds":1785557045,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb7e4f08"} 
[2026-08-01 09:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:35: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-08-01 09:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 09:35:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09:35:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":145933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":145933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":145933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102601984001,"66":27800,"171":206,"86":48896,"24":59,"16":366031191867916288,"45":5043398292138326016},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,86,24,16,45]} 
[2026-08-01 09:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102601984001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:35:50] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-08-01 09:35:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-01 09:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366031191867916288,"km_value":366031191867916.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:35:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5043398292138326016,"description":"Unknown IO ID 45"} 
[2026-08-01 09:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102601984001,"power":27800,"unknown_171":206,"unknown_86":48896,"ignition":59,"odometer":null,"unknown_45":5043398292138326016}} 
[2026-08-01 09:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":145933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:35:50] local.INFO: GPS data processed {"connection_id":145933,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:35:50] local.INFO: Acknowledgment sent {"connection_id":145933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:35:55] local.INFO: TCP Data received {"connection_id":145933,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb7e6678012d45d580068ff0a8004101432f..."} 
[2026-08-01 09:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb7e6678012d45d580068ff0a8004101432f..."} 
[2026-08-01 09:35:55] local.INFO: Processing buffer {"connection_id":145933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb7e6678012d45d580068ff0a8004101432f..."} 
[2026-08-01 09:35:55] local.INFO: Packet analysis {"connection_id":145933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb7e"} 
[2026-08-01 09:35:55] local.INFO: Extracted packet for processing {"connection_id":145933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb7e"} 
[2026-08-01 09:35:55] local.INFO: GPS Element Parsed {"raw_longitude":759551360,"raw_latitude":110096552,"longitude_deg":75.955136,"latitude_deg":11.0096552,"altitude":65,"angle":323,"satellites":47,"speed":59,"hex_longitude":"2d45d580","hex_latitude":"068ff0a8","is_valid_coordinates":true} 
[2026-08-01 09:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102603520001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366031625659613184,"note":"Value kept but may cause issues"} 
[2026-08-01 09:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5038050267582740480,"note":"Value kept but may cause issues"} 
[2026-08-01 09:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 09:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785557051000,"timestamp_ms":1785557051000,"timestamp_seconds":1785557051,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb7e6678"} 
[2026-08-01 09:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:35: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-08-01 09:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 09:35: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-08-01 09:35:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":145933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":145933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":145933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102603520001,"66":27767,"171":206,"86":48896,"24":59,"16":366031625659613184,"45":5038050267582740480},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,86,24,16,45]} 
[2026-08-01 09:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102603520001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:35:55] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-08-01 09:35:55] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-01 09:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366031625659613184,"km_value":366031625659613.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5038050267582740480,"description":"Unknown IO ID 45"} 
[2026-08-01 09:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102603520001,"power":27767,"unknown_171":206,"unknown_86":48896,"ignition":59,"odometer":null,"unknown_45":5038050267582740480}} 
[2026-08-01 09:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":145933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:35:55] local.INFO: GPS data processed {"connection_id":145933,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:35:55] local.INFO: Acknowledgment sent {"connection_id":145933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:36:27] local.INFO: TCP Data received {"connection_id":145933,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb7f9b10012d44ca00069158a80037015130..."} 
[2026-08-01 09:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb7f9b10012d44ca00069158a80037015130..."} 
[2026-08-01 09:36:27] local.INFO: Processing buffer {"connection_id":145933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb7f9b10012d44ca00069158a80037015130..."} 
[2026-08-01 09:36:27] local.INFO: Packet analysis {"connection_id":145933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb7f"} 
[2026-08-01 09:36:27] local.INFO: Extracted packet for processing {"connection_id":145933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb7f"} 
[2026-08-01 09:36:27] local.INFO: GPS Element Parsed {"raw_longitude":759482880,"raw_latitude":110188712,"longitude_deg":75.948288,"latitude_deg":11.0188712,"altitude":55,"angle":337,"satellites":48,"speed":59,"hex_longitude":"2d44ca00","hex_latitude":"069158a8","is_valid_coordinates":true} 
[2026-08-01 09: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-08-01 09:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102623744001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366037209117097984,"note":"Value kept but may cause issues"} 
[2026-08-01 09:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4960996492731559936,"note":"Value kept but may cause issues"} 
[2026-08-01 09:36:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-01 09:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785557130000,"timestamp_ms":1785557130000,"timestamp_seconds":1785557130,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb7f9b10"} 
[2026-08-01 09:36:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:36:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 09: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-01 09:36: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-08-01 09: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-08-01 09:36:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":145933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":145933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":145933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102623744001,"66":27267,"86":48896,"24":59,"16":366037209117097984,"45":4960996492731559936},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-08-01 09:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102623744001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:36:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-01 09:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366037209117097984,"km_value":366037209117098.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":4960996492731559936,"description":"Unknown IO ID 45"} 
[2026-08-01 09:36:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457102623744001,"power":27267,"unknown_86":48896,"ignition":59,"odometer":null,"unknown_45":4960996492731559936}} 
[2026-08-01 09:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":145933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:36:27] local.INFO: GPS data processed {"connection_id":145933,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:36:27] local.INFO: Acknowledgment sent {"connection_id":145933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:36:44] local.INFO: TCP Data received {"connection_id":147139,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:36:44] local.INFO: Processing buffer {"connection_id":147139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:36:44] local.INFO: IMEI packet received {"connection_id":147139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 09:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":147139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 09:36:50] local.INFO: TCP Data received {"connection_id":147139,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:36:50] local.INFO: Processing buffer {"connection_id":147139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:36:50] local.INFO: IMEI packet received {"connection_id":147139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":147139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:36:50] local.INFO: TCP Data received {"connection_id":147139,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb7fb280012d44bec006917998003501592e..."} 
[2026-08-01 09:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb7fb280012d44bec006917998003501592e..."} 
[2026-08-01 09:36:50] local.INFO: Processing buffer {"connection_id":147139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb7fb280012d44bec006917998003501592e..."} 
[2026-08-01 09:36:50] local.INFO: Packet analysis {"connection_id":147139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb7f"} 
[2026-08-01 09:36:50] local.INFO: Extracted packet for processing {"connection_id":147139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb7f"} 
[2026-08-01 09:36:50] local.INFO: GPS Element Parsed {"raw_longitude":759480000,"raw_latitude":110197144,"longitude_deg":75.948,"latitude_deg":11.0197144,"altitude":53,"angle":345,"satellites":46,"speed":59,"hex_longitude":"2d44bec0","hex_latitude":"06917998","is_valid_coordinates":true} 
[2026-08-01 09:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:36:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102625280001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:36:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366037638613827584,"note":"Value kept but may cause issues"} 
[2026-08-01 09:36:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4956774368082962432,"note":"Value kept but may cause issues"} 
[2026-08-01 09:36:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-01 09:36:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785557136000,"timestamp_ms":1785557136000,"timestamp_seconds":1785557136,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb7fb280"} 
[2026-08-01 09:36:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:36:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 09:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-01 09:36: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-08-01 09:36:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:36:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:36:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:36:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:36:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:36:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:36:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:36:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:36:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:36:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102625280001,"66":27767,"86":48896,"24":59,"16":366037638613827584,"45":4956774368082962432},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-08-01 09:36:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:36:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:36:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102625280001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:36:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-01 09:36:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366037638613827584,"km_value":366037638613827.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:36:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":4956774368082962432,"description":"Unknown IO ID 45"} 
[2026-08-01 09:36:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457102625280001,"power":27767,"unknown_86":48896,"ignition":59,"odometer":null,"unknown_45":4956774368082962432}} 
[2026-08-01 09:36:50] local.INFO: DEBUG: GPS processor result {"connection_id":147139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:36:50] local.INFO: GPS data processed {"connection_id":147139,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:36:50] local.INFO: Acknowledgment sent {"connection_id":147139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:37:23] local.INFO: TCP Data received {"connection_id":147139,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb7fd1c0012d44b6c00691a6f8003101622f..."} 
[2026-08-01 09:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb7fd1c0012d44b6c00691a6f8003101622f..."} 
[2026-08-01 09:37:23] local.INFO: Processing buffer {"connection_id":147139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb7fd1c0012d44b6c00691a6f8003101622f..."} 
[2026-08-01 09:37:23] local.INFO: Packet analysis {"connection_id":147139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb7f"} 
[2026-08-01 09:37:23] local.INFO: Extracted packet for processing {"connection_id":147139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb7f"} 
[2026-08-01 09:37:23] local.INFO: GPS Element Parsed {"raw_longitude":759477952,"raw_latitude":110208760,"longitude_deg":75.9477952,"latitude_deg":11.020876,"altitude":49,"angle":354,"satellites":47,"speed":58,"hex_longitude":"2d44b6c0","hex_latitude":"0691a6f8","is_valid_coordinates":true} 
[2026-08-01 09: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-08-01 09:37:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102626816001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:37:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366038209844477952,"note":"Value kept but may cause issues"} 
[2026-08-01 09:37:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4953607774597126144,"note":"Value kept but may cause issues"} 
[2026-08-01 09:37:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 09:37:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785557144000,"timestamp_ms":1785557144000,"timestamp_seconds":1785557144,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb7fd1c0"} 
[2026-08-01 09:37:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:37:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 09:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 09:37:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09:37:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:37:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:37:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:37:23] local.INFO: Teltonika packet parsed successfully {"connection_id":147139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:37:23] local.INFO: Passing IMEI to GPS processor {"connection_id":147139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:37:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":147139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:37:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:37:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:37:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:37:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102626816001,"66":27865,"142":206,"86":48640,"24":58,"16":366038209844477952,"45":4953607774597126144},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-08-01 09:37:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:37:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:37:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102626816001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:37:23] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-08-01 09:37:23] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-08-01 09:37:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366038209844477952,"km_value":366038209844477.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:37:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":4953607774597126144,"description":"Unknown IO ID 45"} 
[2026-08-01 09:37:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102626816001,"power":27865,"unknown_142":206,"unknown_86":48640,"ignition":58,"odometer":null,"unknown_45":4953607774597126144}} 
[2026-08-01 09:37:23] local.INFO: DEBUG: GPS processor result {"connection_id":147139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:37:23] local.INFO: GPS data processed {"connection_id":147139,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:37:23] local.INFO: Acknowledgment sent {"connection_id":147139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:37:47] local.INFO: TCP Data received {"connection_id":148459,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:37:47] local.INFO: Processing buffer {"connection_id":148459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:37:47] local.INFO: IMEI packet received {"connection_id":148459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 09:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":148459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 09:37:49] local.INFO: TCP Data received {"connection_id":148459,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:37:49] local.INFO: Processing buffer {"connection_id":148459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:37:49] local.INFO: IMEI packet received {"connection_id":148459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":148459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:37:55] local.INFO: TCP Data received {"connection_id":148459,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:37:55] local.INFO: Processing buffer {"connection_id":148459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:37:55] local.INFO: IMEI packet received {"connection_id":148459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":148459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:37:56] local.INFO: TCP Data received {"connection_id":148459,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb80cfa8012d4412000692bce8002801242e..."} 
[2026-08-01 09:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb80cfa8012d4412000692bce8002801242e..."} 
[2026-08-01 09:37:56] local.INFO: Processing buffer {"connection_id":148459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb80cfa8012d4412000692bce8002801242e..."} 
[2026-08-01 09:37:56] local.INFO: Packet analysis {"connection_id":148459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb80"} 
[2026-08-01 09:37:56] local.INFO: Extracted packet for processing {"connection_id":148459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb80"} 
[2026-08-01 09:37:56] local.INFO: GPS Element Parsed {"raw_longitude":759435776,"raw_latitude":110279912,"longitude_deg":75.9435776,"latitude_deg":11.0279912,"altitude":40,"angle":292,"satellites":46,"speed":49,"hex_longitude":"2d441200","hex_latitude":"0692bce8","is_valid_coordinates":true} 
[2026-08-01 09:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102643456001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366042741034975232,"note":"Value kept but may cause issues"} 
[2026-08-01 09:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4915397546528899072,"note":"Value kept but may cause issues"} 
[2026-08-01 09:37:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 09:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785557209000,"timestamp_ms":1785557209000,"timestamp_seconds":1785557209,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb80cfa8"} 
[2026-08-01 09:37:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:37:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 09:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 09:37:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09:37:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:37:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":148459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":148459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":148459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:37:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102643456001,"66":27832,"212":206,"86":48640,"24":49,"16":366042741034975232,"45":4915397546528899072},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,86,24,16,45]} 
[2026-08-01 09:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102643456001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:37:56] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-08-01 09:37:56] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-08-01 09:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366042741034975232,"km_value":366042741034975.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":4915397546528899072,"description":"Unknown IO ID 45"} 
[2026-08-01 09:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102643456001,"power":27832,"unknown_212":206,"unknown_86":48640,"ignition":49,"odometer":null,"unknown_45":4915397546528899072}} 
[2026-08-01 09:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":148459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:37:56] local.INFO: GPS data processed {"connection_id":148459,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:37:56] local.INFO: Acknowledgment sent {"connection_id":148459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:37:56] local.INFO: TCP Data received {"connection_id":148459,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb80eb00012d43f3c00692cce8002801322e..."} 
[2026-08-01 09:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb80eb00012d43f3c00692cce8002801322e..."} 
[2026-08-01 09:37:56] local.INFO: Processing buffer {"connection_id":148459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb80eb00012d43f3c00692cce8002801322e..."} 
[2026-08-01 09:37:56] local.INFO: Packet analysis {"connection_id":148459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb80"} 
[2026-08-01 09:37:56] local.INFO: Extracted packet for processing {"connection_id":148459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb80"} 
[2026-08-01 09:37:56] local.INFO: GPS Element Parsed {"raw_longitude":759428032,"raw_latitude":110284008,"longitude_deg":75.9428032,"latitude_deg":11.0284008,"altitude":40,"angle":306,"satellites":46,"speed":49,"hex_longitude":"2d43f3c0","hex_latitude":"0692cce8","is_valid_coordinates":true} 
[2026-08-01 09:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102645504001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366043161941770240,"note":"Value kept but may cause issues"} 
[2026-08-01 09:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4904982972391548928,"note":"Value kept but may cause issues"} 
[2026-08-01 09:37:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 09:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785557216000,"timestamp_ms":1785557216000,"timestamp_seconds":1785557216,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb80eb00"} 
[2026-08-01 09:37:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:37:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 09:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-01 09:37:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09:37:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:37:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":148459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":148459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":148459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:37:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102645504001,"66":27930,"212":206,"86":48640,"24":49,"16":366043161941770240,"45":4904982972391548928},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,86,24,16,45]} 
[2026-08-01 09:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102645504001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:37:56] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-08-01 09:37:56] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-08-01 09:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366043161941770240,"km_value":366043161941770.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":4904982972391548928,"description":"Unknown IO ID 45"} 
[2026-08-01 09:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102645504001,"power":27930,"unknown_212":206,"unknown_86":48640,"ignition":49,"odometer":null,"unknown_45":4904982972391548928}} 
[2026-08-01 09:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":148459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:37:56] local.INFO: GPS data processed {"connection_id":148459,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:37:56] local.INFO: Acknowledgment sent {"connection_id":148459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:38:27] local.INFO: TCP Data received {"connection_id":148459,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb80fe88012d43e1000692dd180028013e2e..."} 
[2026-08-01 09:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb80fe88012d43e1000692dd180028013e2e..."} 
[2026-08-01 09:38:27] local.INFO: Processing buffer {"connection_id":148459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb80fe88012d43e1000692dd180028013e2e..."} 
[2026-08-01 09:38:27] local.INFO: Packet analysis {"connection_id":148459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb80"} 
[2026-08-01 09:38:27] local.INFO: Extracted packet for processing {"connection_id":148459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb80"} 
[2026-08-01 09:38:27] local.INFO: GPS Element Parsed {"raw_longitude":759423232,"raw_latitude":110288152,"longitude_deg":75.9423232,"latitude_deg":11.0288152,"altitude":40,"angle":318,"satellites":46,"speed":50,"hex_longitude":"2d43e100","hex_latitude":"0692dd18","is_valid_coordinates":true} 
[2026-08-01 09:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102647296001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366043466884448256,"note":"Value kept but may cause issues"} 
[2026-08-01 09:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4896468354347100160,"note":"Value kept but may cause issues"} 
[2026-08-01 09:38:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 09:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785557221000,"timestamp_ms":1785557221000,"timestamp_seconds":1785557221,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb80fe88"} 
[2026-08-01 09:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:38:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 09:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-01 09:38: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-08-01 09:38:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102647296001,"66":27930,"212":206,"86":48640,"24":50,"16":366043466884448256,"45":4896468354347100160},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,86,24,16,45]} 
[2026-08-01 09:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102647296001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:38:27] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-08-01 09:38:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-08-01 09:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366043466884448256,"km_value":366043466884448.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":4896468354347100160,"description":"Unknown IO ID 45"} 
[2026-08-01 09:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102647296001,"power":27930,"unknown_212":206,"unknown_86":48640,"ignition":50,"odometer":null,"unknown_45":4896468354347100160}} 
[2026-08-01 09:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":148459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:38:27] local.INFO: GPS data processed {"connection_id":148459,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:38:27] local.INFO: Acknowledgment sent {"connection_id":148459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:38:41] local.INFO: TCP Data received {"connection_id":146129,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:38:41] local.INFO: Processing buffer {"connection_id":146129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:38:41] local.INFO: IMEI packet received {"connection_id":146129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 09:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":146129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 09:38:44] local.INFO: TCP Data received {"connection_id":146129,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:38:44] local.INFO: Processing buffer {"connection_id":146129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:38:44] local.INFO: IMEI packet received {"connection_id":146129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":146129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:38:45] local.INFO: TCP Data received {"connection_id":146129,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:38:45] local.INFO: Processing buffer {"connection_id":146129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:38:45] local.INFO: IMEI packet received {"connection_id":146129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":146129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:38:49] local.INFO: TCP Data received {"connection_id":146129,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:38:49] local.INFO: Processing buffer {"connection_id":146129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:38:49] local.INFO: IMEI packet received {"connection_id":146129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":146129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:38:49] local.INFO: TCP Data received {"connection_id":146129,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb8121b0012d43c80006930228002801492d..."} 
[2026-08-01 09:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb8121b0012d43c80006930228002801492d..."} 
[2026-08-01 09:38:49] local.INFO: Processing buffer {"connection_id":146129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb8121b0012d43c80006930228002801492d..."} 
[2026-08-01 09:38:49] local.INFO: Packet analysis {"connection_id":146129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb81"} 
[2026-08-01 09:38:49] local.INFO: Extracted packet for processing {"connection_id":146129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb81"} 
[2026-08-01 09:38:49] local.INFO: GPS Element Parsed {"raw_longitude":759416832,"raw_latitude":110297640,"longitude_deg":75.9416832,"latitude_deg":11.029764,"altitude":40,"angle":329,"satellites":45,"speed":52,"hex_longitude":"2d43c800","hex_latitude":"06930228","is_valid_coordinates":true} 
[2026-08-01 09:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102648576001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366044020935229440,"note":"Value kept but may cause issues"} 
[2026-08-01 09:38:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4891190698534836224,"note":"Value kept but may cause issues"} 
[2026-08-01 09:38:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 09:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785557230000,"timestamp_ms":1785557230000,"timestamp_seconds":1785557230,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb8121b0"} 
[2026-08-01 09:38:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:38:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 09:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-01 09:38:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09:38:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:38:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:38:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102648576001,"66":27995,"212":206,"86":48640,"24":52,"16":366044020935229440,"45":4891190698534836224},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,86,24,16,45]} 
[2026-08-01 09:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102648576001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:38:49] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-08-01 09:38:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-08-01 09:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366044020935229440,"km_value":366044020935229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:38:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":4891190698534836224,"description":"Unknown IO ID 45"} 
[2026-08-01 09:38:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102648576001,"power":27995,"unknown_212":206,"unknown_86":48640,"ignition":52,"odometer":null,"unknown_45":4891190698534836224}} 
[2026-08-01 09:38:49] local.INFO: DEBUG: GPS processor result {"connection_id":146129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:38:49] local.INFO: GPS data processed {"connection_id":146129,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:38:49] local.INFO: Acknowledgment sent {"connection_id":146129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:38:50] local.INFO: TCP Data received {"connection_id":146129,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb813d08012d43b44006932198002701482d..."} 
[2026-08-01 09:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb813d08012d43b44006932198002701482d..."} 
[2026-08-01 09:38:50] local.INFO: Processing buffer {"connection_id":146129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb813d08012d43b44006932198002701482d..."} 
[2026-08-01 09:38:50] local.INFO: Packet analysis {"connection_id":146129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb81"} 
[2026-08-01 09:38:50] local.INFO: Extracted packet for processing {"connection_id":146129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb81"} 
[2026-08-01 09:38:50] local.INFO: GPS Element Parsed {"raw_longitude":759411776,"raw_latitude":110305688,"longitude_deg":75.9411776,"latitude_deg":11.0305688,"altitude":39,"angle":328,"satellites":45,"speed":55,"hex_longitude":"2d43b440","hex_latitude":"06932198","is_valid_coordinates":true} 
[2026-08-01 09: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-08-01 09:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102650880001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366044480496730112,"note":"Value kept but may cause issues"} 
[2026-08-01 09:38:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4884153824119498752,"note":"Value kept but may cause issues"} 
[2026-08-01 09:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 09:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785557237000,"timestamp_ms":1785557237000,"timestamp_seconds":1785557237,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb813d08"} 
[2026-08-01 09:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 09: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-01 09:38:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09: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-08-01 09:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102650880001,"66":27930,"212":206,"86":48640,"24":55,"16":366044480496730112,"45":4884153824119498752},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,86,24,16,45]} 
[2026-08-01 09:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102650880001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:38:50] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-08-01 09:38:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-08-01 09:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366044480496730112,"km_value":366044480496730.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:38:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":4884153824119498752,"description":"Unknown IO ID 45"} 
[2026-08-01 09:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102650880001,"power":27930,"unknown_212":206,"unknown_86":48640,"ignition":55,"odometer":null,"unknown_45":4884153824119498752}} 
[2026-08-01 09:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":146129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:38:50] local.INFO: GPS data processed {"connection_id":146129,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:38:50] local.INFO: Acknowledgment sent {"connection_id":146129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:39:26] local.INFO: TCP Data received {"connection_id":146129,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb825648012d43544006949b10001400172d..."} 
[2026-08-01 09:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb825648012d43544006949b10001400172d..."} 
[2026-08-01 09:39:26] local.INFO: Processing buffer {"connection_id":146129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb825648012d43544006949b10001400172d..."} 
[2026-08-01 09:39:26] local.INFO: Packet analysis {"connection_id":146129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb82"} 
[2026-08-01 09:39:26] local.INFO: Extracted packet for processing {"connection_id":146129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb82"} 
[2026-08-01 09:39:26] local.INFO: GPS Element Parsed {"raw_longitude":759387200,"raw_latitude":110402320,"longitude_deg":75.93872,"latitude_deg":11.040232,"altitude":20,"angle":23,"satellites":45,"speed":61,"hex_longitude":"2d435440","hex_latitude":"06949b10","is_valid_coordinates":true} 
[2026-08-01 09:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102669568001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366049810551144448,"note":"Value kept but may cause issues"} 
[2026-08-01 09:39:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4847562077171757056,"note":"Value kept but may cause issues"} 
[2026-08-01 09:39:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 09:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785557309000,"timestamp_ms":1785557309000,"timestamp_seconds":1785557309,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb825648"} 
[2026-08-01 09:39:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:39:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 09:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 09:39: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-08-01 09:39:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:39:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":146129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":146129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":146129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:39:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102669568001,"66":27865,"197":206,"86":48640,"24":61,"16":366049810551144448,"45":4847562077171757056},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,86,24,16,45]} 
[2026-08-01 09:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102669568001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:39:26] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-01 09:39:26] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-08-01 09:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366049810551144448,"km_value":366049810551144.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:39:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":4847562077171757056,"description":"Unknown IO ID 45"} 
[2026-08-01 09:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102669568001,"power":27865,"unknown_197":206,"unknown_86":48640,"ignition":61,"odometer":null,"unknown_45":4847562077171757056}} 
[2026-08-01 09:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":146129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:39:26] local.INFO: GPS data processed {"connection_id":146129,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:39:26] local.INFO: Acknowledgment sent {"connection_id":146129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:39:44] local.INFO: TCP Data received {"connection_id":147140,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:39:44] local.INFO: Processing buffer {"connection_id":147140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:39:44] local.INFO: IMEI packet received {"connection_id":147140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 09:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":147140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 09:39:44] local.INFO: TCP Data received {"connection_id":147140,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:39:44] local.INFO: Processing buffer {"connection_id":147140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:39:44] local.INFO: IMEI packet received {"connection_id":147140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":147140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:40:00] local.INFO: TCP Data received {"connection_id":147140,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:40:00] local.INFO: Processing buffer {"connection_id":147140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:40:00] local.INFO: IMEI packet received {"connection_id":147140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":147140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:40:07] local.INFO: TCP Data received {"connection_id":147140,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb826db8012d4362000694bd00001000142c..."} 
[2026-08-01 09:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb826db8012d4362000694bd00001000142c..."} 
[2026-08-01 09:40:07] local.INFO: Processing buffer {"connection_id":147140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb826db8012d4362000694bd00001000142c..."} 
[2026-08-01 09:40:07] local.INFO: Packet analysis {"connection_id":147140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb82"} 
[2026-08-01 09:40:07] local.INFO: Extracted packet for processing {"connection_id":147140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb82"} 
[2026-08-01 09:40:07] local.INFO: GPS Element Parsed {"raw_longitude":759390720,"raw_latitude":110411008,"longitude_deg":75.939072,"latitude_deg":11.0411008,"altitude":16,"angle":20,"satellites":44,"speed":62,"hex_longitude":"2d436200","hex_latitude":"0694bd00","is_valid_coordinates":true} 
[2026-08-01 09:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102671104001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366050265817677824,"note":"Value kept but may cause issues"} 
[2026-08-01 09:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4851573095592038400,"note":"Value kept but may cause issues"} 
[2026-08-01 09:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 09:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785557315000,"timestamp_ms":1785557315000,"timestamp_seconds":1785557315,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb826db8"} 
[2026-08-01 09:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:40: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-08-01 09:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 09:40: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-08-01 09:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":147140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":147140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":147140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102671104001,"66":27887,"197":206,"86":48640,"24":62,"16":366050265817677824,"45":4851573095592038400},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,86,24,16,45]} 
[2026-08-01 09:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102671104001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:40:07] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-01 09:40:07] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-08-01 09:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366050265817677824,"km_value":366050265817677.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4851573095592038400,"description":"Unknown IO ID 45"} 
[2026-08-01 09:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102671104001,"power":27887,"unknown_197":206,"unknown_86":48640,"ignition":62,"odometer":null,"unknown_45":4851573095592038400}} 
[2026-08-01 09:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":147140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:40:07] local.INFO: GPS data processed {"connection_id":147140,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:40:07] local.INFO: Acknowledgment sent {"connection_id":147140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:40:45] local.INFO: TCP Data received {"connection_id":147141,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:40:45] local.INFO: Processing buffer {"connection_id":147141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:40:45] local.INFO: IMEI packet received {"connection_id":147141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 09:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":147141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 09:40:50] local.INFO: TCP Data received {"connection_id":147141,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:40:50] local.INFO: Processing buffer {"connection_id":147141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:40:50] local.INFO: IMEI packet received {"connection_id":147141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":147141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:40:51] local.INFO: TCP Data received {"connection_id":147141,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb8392b0012d433380069610a8000e01432f..."} 
[2026-08-01 09:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb8392b0012d433380069610a8000e01432f..."} 
[2026-08-01 09:40:51] local.INFO: Processing buffer {"connection_id":147141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb8392b0012d433380069610a8000e01432f..."} 
[2026-08-01 09:40:51] local.INFO: Packet analysis {"connection_id":147141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb83"} 
[2026-08-01 09:40:51] local.INFO: Extracted packet for processing {"connection_id":147141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb83"} 
[2026-08-01 09:40:51] local.INFO: GPS Element Parsed {"raw_longitude":759378816,"raw_latitude":110497960,"longitude_deg":75.9378816,"latitude_deg":11.049796,"altitude":14,"angle":323,"satellites":47,"speed":58,"hex_longitude":"2d433380","hex_latitude":"069610a8","is_valid_coordinates":true} 
[2026-08-01 09:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102690048001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366054904382357504,"note":"Value kept but may cause issues"} 
[2026-08-01 09:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4848969452079904768,"note":"Value kept but may cause issues"} 
[2026-08-01 09:40:51] 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-08-01 09:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785557390000,"timestamp_ms":1785557390000,"timestamp_seconds":1785557390,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb8392b0"} 
[2026-08-01 09:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:40: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-08-01 09:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 09:40:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":147141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":147141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":147141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102690048001,"66":27876,"28":206,"81":47616,"24":58,"16":366054904382357504,"45":4848969452079904768},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,81,24,16,45]} 
[2026-08-01 09:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102690048001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:40:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-01 09:40:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-08-01 09:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366054904382357504,"km_value":366054904382357.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":4848969452079904768,"description":"Unknown IO ID 45"} 
[2026-08-01 09:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102690048001,"power":27876,"unknown_28":206,"unknown_81":47616,"ignition":58,"odometer":null,"unknown_45":4848969452079904768}} 
[2026-08-01 09:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":147141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:40:51] local.INFO: GPS data processed {"connection_id":147141,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:40:51] local.INFO: Acknowledgment sent {"connection_id":147141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:41:22] local.INFO: TCP Data received {"connection_id":147141,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb83ae08012d431b4006963158000d01432e..."} 
[2026-08-01 09:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb83ae08012d431b4006963158000d01432e..."} 
[2026-08-01 09:41:22] local.INFO: Processing buffer {"connection_id":147141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb83ae08012d431b4006963158000d01432e..."} 
[2026-08-01 09:41:22] local.INFO: Packet analysis {"connection_id":147141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb83"} 
[2026-08-01 09:41:22] local.INFO: Extracted packet for processing {"connection_id":147141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb83"} 
[2026-08-01 09:41:22] local.INFO: GPS Element Parsed {"raw_longitude":759372608,"raw_latitude":110506328,"longitude_deg":75.9372608,"latitude_deg":11.0506328,"altitude":13,"angle":323,"satellites":46,"speed":58,"hex_longitude":"2d431b40","hex_latitude":"06963158","is_valid_coordinates":true} 
[2026-08-01 09:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102691840001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366055406893531136,"note":"Value kept but may cause issues"} 
[2026-08-01 09:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4842354790129248256,"note":"Value kept but may cause issues"} 
[2026-08-01 09:41:22] 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-08-01 09:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785557397000,"timestamp_ms":1785557397000,"timestamp_seconds":1785557397,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb83ae08"} 
[2026-08-01 09:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:41:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 09:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 09:41:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09:41:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102691840001,"66":27908,"28":206,"81":47616,"24":58,"16":366055406893531136,"45":4842354790129248256},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,81,24,16,45]} 
[2026-08-01 09:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102691840001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:41:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-01 09:41:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-08-01 09:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366055406893531136,"km_value":366055406893531.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":4842354790129248256,"description":"Unknown IO ID 45"} 
[2026-08-01 09:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102691840001,"power":27908,"unknown_28":206,"unknown_81":47616,"ignition":58,"odometer":null,"unknown_45":4842354790129248256}} 
[2026-08-01 09:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":147141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:41:22] local.INFO: GPS data processed {"connection_id":147141,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:41:22] local.INFO: Acknowledgment sent {"connection_id":147141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:41:44] local.INFO: TCP Data received {"connection_id":146130,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:41:44] local.INFO: Processing buffer {"connection_id":146130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:41:44] local.INFO: IMEI packet received {"connection_id":146130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 09:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":146130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 09:41:51] local.INFO: TCP Data received {"connection_id":146130,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:41:51] local.INFO: Processing buffer {"connection_id":146130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:41:51] local.INFO: IMEI packet received {"connection_id":146130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":146130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:41:52] local.INFO: TCP Data received {"connection_id":146130,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb83cd48012d430340069656b0000c014d2e..."} 
[2026-08-01 09:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb83cd48012d430340069656b0000c014d2e..."} 
[2026-08-01 09:41:52] local.INFO: Processing buffer {"connection_id":146130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb83cd48012d430340069656b0000c014d2e..."} 
[2026-08-01 09:41:52] local.INFO: Packet analysis {"connection_id":146130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb83"} 
[2026-08-01 09:41:52] local.INFO: Extracted packet for processing {"connection_id":146130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb83"} 
[2026-08-01 09:41:52] local.INFO: GPS Element Parsed {"raw_longitude":759366464,"raw_latitude":110515888,"longitude_deg":75.9366464,"latitude_deg":11.0515888,"altitude":12,"angle":333,"satellites":46,"speed":54,"hex_longitude":"2d430340","hex_latitude":"069656b0","is_valid_coordinates":true} 
[2026-08-01 09:41:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:41:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102693632001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:41:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366055956649345024,"note":"Value kept but may cause issues"} 
[2026-08-01 09:41:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4835529021946157056,"note":"Value kept but may cause issues"} 
[2026-08-01 09:41:52] 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-08-01 09:41:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785557405000,"timestamp_ms":1785557405000,"timestamp_seconds":1785557405,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb83cd48"} 
[2026-08-01 09:41:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:41:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 09:41:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 09:41:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09:41:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:41:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:41:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:41:52] local.INFO: Teltonika packet parsed successfully {"connection_id":146130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:41:52] local.INFO: Passing IMEI to GPS processor {"connection_id":146130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:41:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":146130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:41:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:41:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:41:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:41:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102693632001,"66":27865,"28":206,"81":47616,"24":54,"16":366055956649345024,"45":4835529021946157056},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,81,24,16,45]} 
[2026-08-01 09:41:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:41:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:41:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102693632001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:41:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-01 09:41:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-08-01 09:41:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366055956649345024,"km_value":366055956649345.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:41:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":4835529021946157056,"description":"Unknown IO ID 45"} 
[2026-08-01 09:41:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102693632001,"power":27865,"unknown_28":206,"unknown_81":47616,"ignition":54,"odometer":null,"unknown_45":4835529021946157056}} 
[2026-08-01 09:41:52] local.INFO: DEBUG: GPS processor result {"connection_id":146130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:41:52] local.INFO: GPS data processed {"connection_id":146130,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:41:52] local.INFO: Acknowledgment sent {"connection_id":146130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:41:54] local.INFO: TCP Data received {"connection_id":146130,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb83e8a0012d42f600069677d0000e01572e..."} 
[2026-08-01 09:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb83e8a0012d42f600069677d0000e01572e..."} 
[2026-08-01 09:41:54] local.INFO: Processing buffer {"connection_id":146130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb83e8a0012d42f600069677d0000e01572e..."} 
[2026-08-01 09:41:54] local.INFO: Packet analysis {"connection_id":146130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb83"} 
[2026-08-01 09:41:54] local.INFO: Extracted packet for processing {"connection_id":146130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb83"} 
[2026-08-01 09:41:54] local.INFO: GPS Element Parsed {"raw_longitude":759363072,"raw_latitude":110524368,"longitude_deg":75.9363072,"latitude_deg":11.0524368,"altitude":14,"angle":343,"satellites":46,"speed":50,"hex_longitude":"2d42f600","hex_latitude":"069677d0","is_valid_coordinates":true} 
[2026-08-01 09:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102695680001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366056399030976512,"note":"Value kept but may cause issues"} 
[2026-08-01 09:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4828773622507548672,"note":"Value kept but may cause issues"} 
[2026-08-01 09:41:54] 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-08-01 09:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785557412000,"timestamp_ms":1785557412000,"timestamp_seconds":1785557412,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb83e8a0"} 
[2026-08-01 09:41:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:41:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 09:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 09:41:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09:41:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:41:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:41:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102695680001,"66":27843,"28":206,"81":47616,"24":50,"16":366056399030976512,"45":4828773622507548672},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,81,24,16,45]} 
[2026-08-01 09:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102695680001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:41:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-01 09:41:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-08-01 09:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366056399030976512,"km_value":366056399030976.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":4828773622507548672,"description":"Unknown IO ID 45"} 
[2026-08-01 09:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102695680001,"power":27843,"unknown_28":206,"unknown_81":47616,"ignition":50,"odometer":null,"unknown_45":4828773622507548672}} 
[2026-08-01 09:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":146130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:41:54] local.INFO: GPS data processed {"connection_id":146130,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:41:54] local.INFO: Acknowledgment sent {"connection_id":146130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:42:25] local.INFO: TCP Data received {"connection_id":146130,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb8407e0012d42ed4006969cc8000f015b2c..."} 
[2026-08-01 09:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb8407e0012d42ed4006969cc8000f015b2c..."} 
[2026-08-01 09:42:25] local.INFO: Processing buffer {"connection_id":146130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb8407e0012d42ed4006969cc8000f015b2c..."} 
[2026-08-01 09:42:25] local.INFO: Packet analysis {"connection_id":146130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb84"} 
[2026-08-01 09:42:25] local.INFO: Extracted packet for processing {"connection_id":146130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb84"} 
[2026-08-01 09:42:25] local.INFO: GPS Element Parsed {"raw_longitude":759360832,"raw_latitude":110533832,"longitude_deg":75.9360832,"latitude_deg":11.0533832,"altitude":15,"angle":347,"satellites":44,"speed":45,"hex_longitude":"2d42ed40","hex_latitude":"06969cc8","is_valid_coordinates":true} 
[2026-08-01 09:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102697472001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366056867182411776,"note":"Value kept but may cause issues"} 
[2026-08-01 09:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4825044079068303360,"note":"Value kept but may cause issues"} 
[2026-08-01 09:42:25] 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-08-01 09:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785557420000,"timestamp_ms":1785557420000,"timestamp_seconds":1785557420,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb8407e0"} 
[2026-08-01 09:42:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:42:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 09:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 09:42:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09:42:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:42:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":146130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":146130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":146130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:42:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102697472001,"66":27647,"28":206,"81":47616,"24":45,"16":366056867182411776,"45":4825044079068303360},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,81,24,16,45]} 
[2026-08-01 09:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102697472001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:42:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-01 09:42:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-08-01 09:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366056867182411776,"km_value":366056867182411.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4825044079068303360,"description":"Unknown IO ID 45"} 
[2026-08-01 09:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102697472001,"power":27647,"unknown_28":206,"unknown_81":47616,"ignition":45,"odometer":null,"unknown_45":4825044079068303360}} 
[2026-08-01 09:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":146130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:42:25] local.INFO: GPS data processed {"connection_id":146130,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:42:25] local.INFO: Acknowledgment sent {"connection_id":146130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:42:45] local.INFO: TCP Data received {"connection_id":145934,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:42:45] local.INFO: Processing buffer {"connection_id":145934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:42:45] local.INFO: IMEI packet received {"connection_id":145934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 09:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":145934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 09:42:55] local.INFO: TCP Data received {"connection_id":145934,"ip":"42.106.6.16","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 09:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145934,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 09:42:55] local.INFO: Processing buffer {"connection_id":145934,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 09:42:55] local.INFO: IMEI packet received {"connection_id":145934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":145934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:42:55] local.INFO: TCP Data received {"connection_id":145934,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:42:55] local.INFO: Processing buffer {"connection_id":145934,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 09:42:55] local.INFO: IMEI packet received {"connection_id":145934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":145934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:48:03] local.INFO: TCP Data received {"connection_id":145935,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:48:03] local.INFO: Processing buffer {"connection_id":145935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:48:03] local.INFO: IMEI packet received {"connection_id":145935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 09:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":145935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 09:48:07] local.INFO: TCP Data received {"connection_id":145935,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb8943b8012d3e010006995f980011013e2b..."} 
[2026-08-01 09:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb8943b8012d3e010006995f980011013e2b..."} 
[2026-08-01 09:48:07] local.INFO: Processing buffer {"connection_id":145935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb8943b8012d3e010006995f980011013e2b..."} 
[2026-08-01 09:48:07] local.INFO: Packet analysis {"connection_id":145935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb89"} 
[2026-08-01 09:48:07] local.INFO: Extracted packet for processing {"connection_id":145935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb89"} 
[2026-08-01 09:48:07] local.INFO: GPS Element Parsed {"raw_longitude":759038208,"raw_latitude":110714776,"longitude_deg":75.9038208,"latitude_deg":11.0714776,"altitude":17,"angle":318,"satellites":43,"speed":40,"hex_longitude":"2d3e0100","hex_latitude":"06995f98","is_valid_coordinates":true} 
[2026-08-01 09:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102786304001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366077049233735680,"note":"Value kept but may cause issues"} 
[2026-08-01 09:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4471441139623575552,"note":"Value kept but may cause issues"} 
[2026-08-01 09:48:07] 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-08-01 09:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785557763000,"timestamp_ms":1785557763000,"timestamp_seconds":1785557763,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb8943b8"} 
[2026-08-01 09:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:48: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-08-01 09:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 09:48: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-08-01 09:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":145935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":145935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":145935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:48: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-08-01 09:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102786304001,"66":27745,"242":206,"81":47616,"24":40,"16":366077049233735680,"45":4471441139623575552},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,81,24,16,45]} 
[2026-08-01 09:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102786304001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:48:08] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-08-01 09:48:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-08-01 09:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366077049233735680,"km_value":366077049233735.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4471441139623575552,"description":"Unknown IO ID 45"} 
[2026-08-01 09:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102786304001,"power":27745,"unknown_242":206,"unknown_81":47616,"ignition":40,"odometer":null,"unknown_45":4471441139623575552}} 
[2026-08-01 09:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":145935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:48:08] local.INFO: GPS data processed {"connection_id":145935,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:48:08] local.INFO: Acknowledgment sent {"connection_id":145935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:48:45] local.INFO: TCP Data received {"connection_id":145936,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:48:45] local.INFO: Processing buffer {"connection_id":145936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:48:45] local.INFO: IMEI packet received {"connection_id":145936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 09:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":145936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 09:48:45] local.INFO: TCP Data received {"connection_id":145936,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:48:45] local.INFO: Processing buffer {"connection_id":145936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:48:45] local.INFO: IMEI packet received {"connection_id":145936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":145936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:48:50] local.INFO: TCP Data received {"connection_id":145936,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:48:50] local.INFO: Processing buffer {"connection_id":145936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:48:50] local.INFO: IMEI packet received {"connection_id":145936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":145936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:48:51] local.INFO: TCP Data received {"connection_id":145936,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb8ac670012d3dd680069a8ab8002201512c..."} 
[2026-08-01 09:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb8ac670012d3dd680069a8ab8002201512c..."} 
[2026-08-01 09:48:51] local.INFO: Processing buffer {"connection_id":145936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb8ac670012d3dd680069a8ab8002201512c..."} 
[2026-08-01 09:48:51] local.INFO: Packet analysis {"connection_id":145936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb8a"} 
[2026-08-01 09:48:51] local.INFO: Extracted packet for processing {"connection_id":145936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb8a"} 
[2026-08-01 09:48:51] local.INFO: GPS Element Parsed {"raw_longitude":759027328,"raw_latitude":110791352,"longitude_deg":75.9027328,"latitude_deg":11.0791352,"altitude":34,"angle":337,"satellites":44,"speed":24,"hex_longitude":"2d3dd680","hex_latitude":"069a8ab8","is_valid_coordinates":true} 
[2026-08-01 09: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-08-01 09:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102808832001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366080871754629120,"note":"Value kept but may cause issues"} 
[2026-08-01 09:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4459056240666411008,"note":"Value kept but may cause issues"} 
[2026-08-01 09:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 09:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785557862000,"timestamp_ms":1785557862000,"timestamp_seconds":1785557862,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb8ac670"} 
[2026-08-01 09:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 09:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-01 09:48:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09: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-08-01 09:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":145936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":145936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":145936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102808832001,"66":27843,"224":206,"81":47616,"24":24,"16":366080871754629120,"45":4459056240666411008},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,81,24,16,45]} 
[2026-08-01 09:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102808832001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:48:51] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-08-01 09:48:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-08-01 09:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366080871754629120,"km_value":366080871754629.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":4459056240666411008,"description":"Unknown IO ID 45"} 
[2026-08-01 09:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102808832001,"power":27843,"unknown_224":206,"unknown_81":47616,"ignition":24,"odometer":null,"unknown_45":4459056240666411008}} 
[2026-08-01 09:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":145936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:48:51] local.INFO: GPS data processed {"connection_id":145936,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:48:51] local.INFO: Acknowledgment sent {"connection_id":145936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:49:22] local.INFO: TCP Data received {"connection_id":145936,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb8afd20012d3dc8c0069aace0002301522b..."} 
[2026-08-01 09:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb8afd20012d3dc8c0069aace0002301522b..."} 
[2026-08-01 09:49:22] local.INFO: Processing buffer {"connection_id":145936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb8afd20012d3dc8c0069aace0002301522b..."} 
[2026-08-01 09:49:22] local.INFO: Packet analysis {"connection_id":145936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb8a"} 
[2026-08-01 09:49:22] local.INFO: Extracted packet for processing {"connection_id":145936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb8a"} 
[2026-08-01 09:49:22] local.INFO: GPS Element Parsed {"raw_longitude":759023808,"raw_latitude":110800096,"longitude_deg":75.9023808,"latitude_deg":11.0800096,"altitude":35,"angle":338,"satellites":43,"speed":29,"hex_longitude":"2d3dc8c0","hex_latitude":"069aace0","is_valid_coordinates":true} 
[2026-08-01 09:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102812672001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366081327021162496,"note":"Value kept but may cause issues"} 
[2026-08-01 09:49:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4455889647180625920,"note":"Value kept but may cause issues"} 
[2026-08-01 09:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 09:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785557876000,"timestamp_ms":1785557876000,"timestamp_seconds":1785557876,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb8afd20"} 
[2026-08-01 09:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:49:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 09:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 09:49:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09:49:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":145936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":145936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":145936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102812672001,"66":27865,"224":206,"81":47616,"24":29,"16":366081327021162496,"45":4455889647180625920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,81,24,16,45]} 
[2026-08-01 09:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102812672001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:49:22] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-08-01 09:49:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-08-01 09:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366081327021162496,"km_value":366081327021162.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:49:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":4455889647180625920,"description":"Unknown IO ID 45"} 
[2026-08-01 09:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102812672001,"power":27865,"unknown_224":206,"unknown_81":47616,"ignition":29,"odometer":null,"unknown_45":4455889647180625920}} 
[2026-08-01 09:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":145936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:49:22] local.INFO: GPS data processed {"connection_id":145936,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:49:22] local.INFO: Acknowledgment sent {"connection_id":145936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:49:44] local.INFO: TCP Data received {"connection_id":148461,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:49:44] local.INFO: Processing buffer {"connection_id":148461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:49:44] local.INFO: IMEI packet received {"connection_id":148461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 09:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":148461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 09:49:45] local.INFO: TCP Data received {"connection_id":148461,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:49:45] local.INFO: Processing buffer {"connection_id":148461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:49:45] local.INFO: IMEI packet received {"connection_id":148461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":148461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:49:49] local.INFO: TCP Data received {"connection_id":148461,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:49:49] local.INFO: Processing buffer {"connection_id":148461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:49:49] local.INFO: IMEI packet received {"connection_id":148461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":148461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:49:50] local.INFO: TCP Data received {"connection_id":148461,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb8b2c00012d3dba80069acf18002501522b..."} 
[2026-08-01 09:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb8b2c00012d3dba80069acf18002501522b..."} 
[2026-08-01 09:49:50] local.INFO: Processing buffer {"connection_id":148461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb8b2c00012d3dba80069acf18002501522b..."} 
[2026-08-01 09:49:50] local.INFO: Packet analysis {"connection_id":148461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb8b"} 
[2026-08-01 09:49:50] local.INFO: Extracted packet for processing {"connection_id":148461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb8b"} 
[2026-08-01 09:49:50] local.INFO: GPS Element Parsed {"raw_longitude":759020160,"raw_latitude":110808856,"longitude_deg":75.902016,"latitude_deg":11.0808856,"altitude":37,"angle":338,"satellites":43,"speed":34,"hex_longitude":"2d3dba80","hex_latitude":"069acf18","is_valid_coordinates":true} 
[2026-08-01 09: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-08-01 09:49:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102816256001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:49:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366081786582663168,"note":"Value kept but may cause issues"} 
[2026-08-01 09:49:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4452019366253092864,"note":"Value kept but may cause issues"} 
[2026-08-01 09:49:50] 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-08-01 09:49:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785557888000,"timestamp_ms":1785557888000,"timestamp_seconds":1785557888,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb8b2c00"} 
[2026-08-01 09:49:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:49: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-08-01 09:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 09:49:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09: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-08-01 09:49:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:49:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:49:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:49:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:49:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:49:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:49:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:49:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:49:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102816256001,"66":27300,"225":206,"81":47616,"24":34,"16":366081786582663168,"45":4452019366253092864},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,81,24,16,45]} 
[2026-08-01 09:49:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:49:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:49:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102816256001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:49:50] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-01 09:49:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-08-01 09:49:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366081786582663168,"km_value":366081786582663.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:49:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":4452019366253092864,"description":"Unknown IO ID 45"} 
[2026-08-01 09:49:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102816256001,"power":27300,"unknown_225":206,"unknown_81":47616,"ignition":34,"odometer":null,"unknown_45":4452019366253092864}} 
[2026-08-01 09:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":148461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:49:50] local.INFO: GPS data processed {"connection_id":148461,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:49:50] local.INFO: Acknowledgment sent {"connection_id":148461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:50:21] local.INFO: TCP Data received {"connection_id":148461,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb8b5310012d3dac80069af148002501512c..."} 
[2026-08-01 09:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb8b5310012d3dac80069af148002501512c..."} 
[2026-08-01 09:50:21] local.INFO: Processing buffer {"connection_id":148461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb8b5310012d3dac80069af148002501512c..."} 
[2026-08-01 09:50:21] local.INFO: Packet analysis {"connection_id":148461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb8b"} 
[2026-08-01 09:50:21] local.INFO: Extracted packet for processing {"connection_id":148461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb8b"} 
[2026-08-01 09:50:21] local.INFO: GPS Element Parsed {"raw_longitude":759016576,"raw_latitude":110817608,"longitude_deg":75.9016576,"latitude_deg":11.0817608,"altitude":37,"angle":337,"satellites":44,"speed":40,"hex_longitude":"2d3dac80","hex_latitude":"069af148","is_valid_coordinates":true} 
[2026-08-01 09:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102819328001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366082241849196544,"note":"Value kept but may cause issues"} 
[2026-08-01 09:50:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4448008347837208576,"note":"Value kept but may cause issues"} 
[2026-08-01 09:50:21] 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-08-01 09:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785557898000,"timestamp_ms":1785557898000,"timestamp_seconds":1785557898,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb8b5310"} 
[2026-08-01 09:50:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:50: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-08-01 09:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-01 09:50:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09:50:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:50:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:50:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102819328001,"66":27767,"225":206,"81":47616,"24":40,"16":366082241849196544,"45":4448008347837208576},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,81,24,16,45]} 
[2026-08-01 09:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102819328001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:50:21] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-01 09:50:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-08-01 09:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366082241849196544,"km_value":366082241849196.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:50:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4448008347837208576,"description":"Unknown IO ID 45"} 
[2026-08-01 09:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102819328001,"power":27767,"unknown_225":206,"unknown_81":47616,"ignition":40,"odometer":null,"unknown_45":4448008347837208576}} 
[2026-08-01 09:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":148461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:50:21] local.INFO: GPS data processed {"connection_id":148461,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:50:21] local.INFO: Acknowledgment sent {"connection_id":148461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:50:49] local.INFO: TCP Data received {"connection_id":146134,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:50:49] local.INFO: Processing buffer {"connection_id":146134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:50:49] local.INFO: IMEI packet received {"connection_id":146134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 09:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":146134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 09:50:50] local.INFO: TCP Data received {"connection_id":146134,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:50:50] local.INFO: Processing buffer {"connection_id":146134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:50:50] local.INFO: IMEI packet received {"connection_id":146134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":146134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:50:55] local.INFO: TCP Data received {"connection_id":146134,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:50:55] local.INFO: Processing buffer {"connection_id":146134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:50:55] local.INFO: IMEI packet received {"connection_id":146134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":146134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:50:56] local.INFO: TCP Data received {"connection_id":146134,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb8c87a8012d3d5340069c60b0002a01582a..."} 
[2026-08-01 09:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb8c87a8012d3d5340069c60b0002a01582a..."} 
[2026-08-01 09:50:56] local.INFO: Processing buffer {"connection_id":146134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb8c87a8012d3d5340069c60b0002a01582a..."} 
[2026-08-01 09:50:56] local.INFO: Packet analysis {"connection_id":146134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb8c"} 
[2026-08-01 09:50:56] local.INFO: Extracted packet for processing {"connection_id":146134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb8c"} 
[2026-08-01 09:50:56] local.INFO: GPS Element Parsed {"raw_longitude":758993728,"raw_latitude":110911664,"longitude_deg":75.8993728,"latitude_deg":11.0911664,"altitude":42,"angle":344,"satellites":42,"speed":52,"hex_longitude":"2d3d5340","hex_latitude":"069c60b0","is_valid_coordinates":true} 
[2026-08-01 09:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102840320001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366086953428320256,"note":"Value kept but may cause issues"} 
[2026-08-01 09:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4421901543771326464,"note":"Value kept but may cause issues"} 
[2026-08-01 09:50:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 09:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785557977000,"timestamp_ms":1785557977000,"timestamp_seconds":1785557977,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb8c87a8"} 
[2026-08-01 09:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:50:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 09:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 09:50:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09:50:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":146134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":146134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":146134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102840320001,"66":27843,"34":206,"81":47616,"24":52,"16":366086953428320256,"45":4421901543771326464},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-08-01 09:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102840320001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:50:56] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-01 09:50:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-08-01 09:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366086953428320256,"km_value":366086953428320.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":4421901543771326464,"description":"Unknown IO ID 45"} 
[2026-08-01 09:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102840320001,"power":27843,"unknown_34":206,"unknown_81":47616,"ignition":52,"odometer":null,"unknown_45":4421901543771326464}} 
[2026-08-01 09:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":146134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:50:56] local.INFO: GPS data processed {"connection_id":146134,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:50:56] local.INFO: Acknowledgment sent {"connection_id":146134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:51:28] local.INFO: TCP Data received {"connection_id":146134,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb8ca6e8012d3d4600069c8570002d014c2a..."} 
[2026-08-01 09:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb8ca6e8012d3d4600069c8570002d014c2a..."} 
[2026-08-01 09:51:28] local.INFO: Processing buffer {"connection_id":146134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb8ca6e8012d3d4600069c8570002d014c2a..."} 
[2026-08-01 09:51:28] local.INFO: Packet analysis {"connection_id":146134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb8c"} 
[2026-08-01 09:51:28] local.INFO: Extracted packet for processing {"connection_id":146134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb8c"} 
[2026-08-01 09:51:28] local.INFO: GPS Element Parsed {"raw_longitude":758990336,"raw_latitude":110921072,"longitude_deg":75.8990336,"latitude_deg":11.0921072,"altitude":45,"angle":332,"satellites":42,"speed":48,"hex_longitude":"2d3d4600","hex_latitude":"069c8570","is_valid_coordinates":true} 
[2026-08-01 09: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-08-01 09:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102842112001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366087438759624704,"note":"Value kept but may cause issues"} 
[2026-08-01 09:51:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4418946056518152192,"note":"Value kept but may cause issues"} 
[2026-08-01 09:51:28] 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-08-01 09:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785557985000,"timestamp_ms":1785557985000,"timestamp_seconds":1785557985,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb8ca6e8"} 
[2026-08-01 09:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:51: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-08-01 09: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 09:51: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-08-01 09: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-08-01 09:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":146134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":146134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":146134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:51: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-08-01 09:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102842112001,"66":27767,"34":206,"81":47616,"24":48,"16":366087438759624704,"45":4418946056518152192},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-08-01 09:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102842112001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:51:28] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-01 09:51:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-08-01 09:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366087438759624704,"km_value":366087438759624.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":4418946056518152192,"description":"Unknown IO ID 45"} 
[2026-08-01 09:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102842112001,"power":27767,"unknown_34":206,"unknown_81":47616,"ignition":48,"odometer":null,"unknown_45":4418946056518152192}} 
[2026-08-01 09:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":146134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:51:28] local.INFO: GPS data processed {"connection_id":146134,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:51:28] local.INFO: Acknowledgment sent {"connection_id":146134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:51:44] local.INFO: TCP Data received {"connection_id":145937,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:51:44] local.INFO: Processing buffer {"connection_id":145937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:51:44] local.INFO: IMEI packet received {"connection_id":145937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 09:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":145937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 09:51:45] local.INFO: TCP Data received {"connection_id":145937,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:51:45] local.INFO: Processing buffer {"connection_id":145937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:51:45] local.INFO: IMEI packet received {"connection_id":145937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":145937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:51:49] local.INFO: TCP Data received {"connection_id":145937,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:51:49] local.INFO: Processing buffer {"connection_id":145937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:51:49] local.INFO: IMEI packet received {"connection_id":145937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":145937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:51:51] local.INFO: TCP Data received {"connection_id":145937,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb8db088012d3cd3c0069d9538002e013729..."} 
[2026-08-01 09:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb8db088012d3cd3c0069d9538002e013729..."} 
[2026-08-01 09:51:51] local.INFO: Processing buffer {"connection_id":145937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb8db088012d3cd3c0069d9538002e013729..."} 
[2026-08-01 09:51:51] local.INFO: Packet analysis {"connection_id":145937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb8d"} 
[2026-08-01 09:51:51] local.INFO: Extracted packet for processing {"connection_id":145937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb8d"} 
[2026-08-01 09:51:51] local.INFO: GPS Element Parsed {"raw_longitude":758961088,"raw_latitude":110990648,"longitude_deg":75.8961088,"latitude_deg":11.0990648,"altitude":46,"angle":311,"satellites":41,"speed":59,"hex_longitude":"2d3cd3c0","hex_latitude":"069d9538","is_valid_coordinates":true} 
[2026-08-01 09:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102860544001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366091149611368448,"note":"Value kept but may cause issues"} 
[2026-08-01 09:51:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4387702334122412032,"note":"Value kept but may cause issues"} 
[2026-08-01 09:51:51] 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-08-01 09:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785558053000,"timestamp_ms":1785558053000,"timestamp_seconds":1785558053,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb8db088"} 
[2026-08-01 09:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:51: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-08-01 09:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 09:51:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09:51:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":145937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":145937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":145937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102860544001,"66":27767,"35":206,"81":47616,"24":59,"16":366091149611368448,"45":4387702334122412032},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,81,24,16,45]} 
[2026-08-01 09:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102860544001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:51:51] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-01 09:51:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-08-01 09:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366091149611368448,"km_value":366091149611368.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:51:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":4387702334122412032,"description":"Unknown IO ID 45"} 
[2026-08-01 09:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102860544001,"power":27767,"unknown_35":206,"unknown_81":47616,"ignition":59,"odometer":null,"unknown_45":4387702334122412032}} 
[2026-08-01 09:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":145937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:51:51] local.INFO: GPS data processed {"connection_id":145937,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:51:51] local.INFO: Acknowledgment sent {"connection_id":145937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:52:22] local.INFO: TCP Data received {"connection_id":145937,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb8dcbe0012d3cb3c0069dadd8002e013429..."} 
[2026-08-01 09:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb8dcbe0012d3cb3c0069dadd8002e013429..."} 
[2026-08-01 09:52:22] local.INFO: Processing buffer {"connection_id":145937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb8dcbe0012d3cb3c0069dadd8002e013429..."} 
[2026-08-01 09:52:22] local.INFO: Packet analysis {"connection_id":145937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb8d"} 
[2026-08-01 09:52:22] local.INFO: Extracted packet for processing {"connection_id":145937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb8d"} 
[2026-08-01 09:52:22] local.INFO: GPS Element Parsed {"raw_longitude":758952896,"raw_latitude":110996952,"longitude_deg":75.8952896,"latitude_deg":11.0996952,"altitude":46,"angle":308,"satellites":41,"speed":56,"hex_longitude":"2d3cb3c0","hex_latitude":"069dadd8","is_valid_coordinates":true} 
[2026-08-01 09:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102861568001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366091647827574784,"note":"Value kept but may cause issues"} 
[2026-08-01 09:52:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4383057997007763456,"note":"Value kept but may cause issues"} 
[2026-08-01 09:52:22] 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-08-01 09:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785558060000,"timestamp_ms":1785558060000,"timestamp_seconds":1785558060,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb8dcbe0"} 
[2026-08-01 09:52:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:52:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 09:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 09:52:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09:52:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:52:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":145937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":145937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":145937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:52:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102861568001,"66":27767,"35":206,"81":47616,"24":56,"16":366091647827574784,"45":4383057997007763456},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,81,24,16,45]} 
[2026-08-01 09:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102861568001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:52:22] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-01 09:52:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-08-01 09:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366091647827574784,"km_value":366091647827574.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:52:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":4383057997007763456,"description":"Unknown IO ID 45"} 
[2026-08-01 09:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102861568001,"power":27767,"unknown_35":206,"unknown_81":47616,"ignition":56,"odometer":null,"unknown_45":4383057997007763456}} 
[2026-08-01 09:52:22] local.INFO: DEBUG: GPS processor result {"connection_id":145937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:52:22] local.INFO: GPS data processed {"connection_id":145937,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:52:22] local.INFO: Acknowledgment sent {"connection_id":145937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:52:50] local.INFO: TCP Data received {"connection_id":146135,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:52:50] local.INFO: Processing buffer {"connection_id":146135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:52:50] local.INFO: IMEI packet received {"connection_id":146135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 09:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":146135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 09:52:55] local.INFO: TCP Data received {"connection_id":146135,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:52:55] local.INFO: Processing buffer {"connection_id":146135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:52:55] local.INFO: IMEI packet received {"connection_id":146135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":146135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:52:56] local.INFO: TCP Data received {"connection_id":146135,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb8de738012d3c9700069dc430003101362d..."} 
[2026-08-01 09:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb8de738012d3c9700069dc430003101362d..."} 
[2026-08-01 09:52:56] local.INFO: Processing buffer {"connection_id":146135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb8de738012d3c9700069dc430003101362d..."} 
[2026-08-01 09:52:56] local.INFO: Packet analysis {"connection_id":146135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb8d"} 
[2026-08-01 09:52:56] local.INFO: Extracted packet for processing {"connection_id":146135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb8d"} 
[2026-08-01 09:52:56] local.INFO: GPS Element Parsed {"raw_longitude":758945536,"raw_latitude":111002672,"longitude_deg":75.8945536,"latitude_deg":11.1002672,"altitude":49,"angle":310,"satellites":45,"speed":49,"hex_longitude":"2d3c9700","hex_latitude":"069dc430","is_valid_coordinates":true} 
[2026-08-01 09:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102863360001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366092094504173568,"note":"Value kept but may cause issues"} 
[2026-08-01 09:52:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4374050797754636288,"note":"Value kept but may cause issues"} 
[2026-08-01 09:52:56] 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-08-01 09:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785558067000,"timestamp_ms":1785558067000,"timestamp_seconds":1785558067,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb8de738"} 
[2026-08-01 09:52:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:52:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 09:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 09:52:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09:52:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:52:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":146135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":146135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":146135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:52:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102863360001,"66":27767,"35":206,"81":47616,"24":49,"16":366092094504173568,"45":4374050797754636288},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,81,24,16,45]} 
[2026-08-01 09:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102863360001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:52:56] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-01 09:52:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-08-01 09:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366092094504173568,"km_value":366092094504173.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:52:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":4374050797754636288,"description":"Unknown IO ID 45"} 
[2026-08-01 09:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102863360001,"power":27767,"unknown_35":206,"unknown_81":47616,"ignition":49,"odometer":null,"unknown_45":4374050797754636288}} 
[2026-08-01 09:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":146135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:52:56] local.INFO: GPS data processed {"connection_id":146135,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:52:56] local.INFO: Acknowledgment sent {"connection_id":146135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:52:58] local.INFO: TCP Data received {"connection_id":146135,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb8e0678012d3c7d00069ddee00034014128..."} 
[2026-08-01 09:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb8e0678012d3c7d00069ddee00034014128..."} 
[2026-08-01 09:52:58] local.INFO: Processing buffer {"connection_id":146135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb8e0678012d3c7d00069ddee00034014128..."} 
[2026-08-01 09:52:58] local.INFO: Packet analysis {"connection_id":146135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb8e"} 
[2026-08-01 09:52:58] local.INFO: Extracted packet for processing {"connection_id":146135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb8e"} 
[2026-08-01 09:52:58] local.INFO: GPS Element Parsed {"raw_longitude":758938880,"raw_latitude":111009504,"longitude_deg":75.893888,"latitude_deg":11.1009504,"altitude":52,"angle":321,"satellites":40,"speed":45,"hex_longitude":"2d3c7d00","hex_latitude":"069ddee0","is_valid_coordinates":true} 
[2026-08-01 09:52: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-08-01 09:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102865152001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366092549770706944,"note":"Value kept but may cause issues"} 
[2026-08-01 09:52:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365958392175669248,"note":"Value kept but may cause issues"} 
[2026-08-01 09:52:58] 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-08-01 09:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785558075000,"timestamp_ms":1785558075000,"timestamp_seconds":1785558075,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb8e0678"} 
[2026-08-01 09:52:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:52: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-08-01 09:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 09:52: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-08-01 09:52:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:52:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":146135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":146135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":146135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:52:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102865152001,"66":27800,"35":206,"81":47616,"24":45,"16":366092549770706944,"45":4365958392175669248},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,81,24,16,45]} 
[2026-08-01 09:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102865152001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:52:58] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-01 09:52:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-08-01 09:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366092549770706944,"km_value":366092549770706.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:52:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365958392175669248,"description":"Unknown IO ID 45"} 
[2026-08-01 09:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102865152001,"power":27800,"unknown_35":206,"unknown_81":47616,"ignition":45,"odometer":null,"unknown_45":4365958392175669248}} 
[2026-08-01 09:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":146135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:52:58] local.INFO: GPS data processed {"connection_id":146135,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:52:58] local.INFO: Acknowledgment sent {"connection_id":146135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:54:17] local.INFO: TCP Data received {"connection_id":147142,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:54:17] local.INFO: Processing buffer {"connection_id":147142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:54:17] local.INFO: IMEI packet received {"connection_id":147142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 09:54:17] local.INFO: IMEI acknowledgment sent {"connection_id":147142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 09:59:20] local.INFO: TCP Data received {"connection_id":148464,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:59:20] local.INFO: Processing buffer {"connection_id":148464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:59:20] local.INFO: IMEI packet received {"connection_id":148464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 09:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":148464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 09:59:21] local.INFO: TCP Data received {"connection_id":148464,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb9420f8012d3ca58006a456300039001829..."} 
[2026-08-01 09:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb9420f8012d3ca58006a456300039001829..."} 
[2026-08-01 09:59:21] local.INFO: Processing buffer {"connection_id":148464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb9420f8012d3ca58006a456300039001829..."} 
[2026-08-01 09:59:21] local.INFO: Packet analysis {"connection_id":148464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb94"} 
[2026-08-01 09:59:21] local.INFO: Extracted packet for processing {"connection_id":148464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb94"} 
[2026-08-01 09:59:21] local.INFO: GPS Element Parsed {"raw_longitude":758949248,"raw_latitude":111433264,"longitude_deg":75.8949248,"latitude_deg":11.1433264,"altitude":57,"angle":24,"satellites":41,"speed":55,"hex_longitude":"2d3ca580","hex_latitude":"06a45630","is_valid_coordinates":true} 
[2026-08-01 09:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102968576001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366114110506532864,"note":"Value kept but may cause issues"} 
[2026-08-01 09:59:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4368069454609903616,"note":"Value kept but may cause issues"} 
[2026-08-01 09:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 09:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785558475000,"timestamp_ms":1785558475000,"timestamp_seconds":1785558475,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb9420f8"} 
[2026-08-01 09:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:59: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-08-01 09:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 09:59:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09:59:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:59:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102968576001,"66":27767,"235":206,"81":49664,"24":55,"16":366114110506532864,"45":4368069454609903616},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,81,24,16,45]} 
[2026-08-01 09:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102968576001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:59:21] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-01 09:59:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-01 09:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366114110506532864,"km_value":366114110506532.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:59:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4368069454609903616,"description":"Unknown IO ID 45"} 
[2026-08-01 09:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102968576001,"power":27767,"unknown_235":206,"unknown_81":49664,"ignition":55,"odometer":null,"unknown_45":4368069454609903616}} 
[2026-08-01 09:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":148464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:59:21] local.INFO: GPS data processed {"connection_id":148464,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:59:21] local.INFO: Acknowledgment sent {"connection_id":148464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 09:59:44] local.INFO: TCP Data received {"connection_id":145938,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:59:44] local.INFO: Processing buffer {"connection_id":145938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:59:44] local.INFO: IMEI packet received {"connection_id":145938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 09:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":145938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 09:59:50] local.INFO: TCP Data received {"connection_id":145938,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:59:50] local.INFO: Processing buffer {"connection_id":145938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 09:59:50] local.INFO: IMEI packet received {"connection_id":145938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 09:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":145938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 09:59:51] local.INFO: TCP Data received {"connection_id":145938,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb943c50012d3cb90006a479600035001e2a..."} 
[2026-08-01 09:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb943c50012d3cb90006a479600035001e2a..."} 
[2026-08-01 09:59:51] local.INFO: Processing buffer {"connection_id":145938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb943c50012d3cb90006a479600035001e2a..."} 
[2026-08-01 09:59:51] local.INFO: Packet analysis {"connection_id":145938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb94"} 
[2026-08-01 09:59:51] local.INFO: Extracted packet for processing {"connection_id":145938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb94"} 
[2026-08-01 09:59:51] local.INFO: GPS Element Parsed {"raw_longitude":758954240,"raw_latitude":111442272,"longitude_deg":75.895424,"latitude_deg":11.1442272,"altitude":53,"angle":30,"satellites":42,"speed":60,"hex_longitude":"2d3cb900","hex_latitude":"06a47960","is_valid_coordinates":true} 
[2026-08-01 09:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 09:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102969600001,"note":"Value kept but may cause issues"} 
[2026-08-01 09:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366114604427771904,"note":"Value kept but may cause issues"} 
[2026-08-01 09:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4370039779448205312,"note":"Value kept but may cause issues"} 
[2026-08-01 09:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 09:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785558482000,"timestamp_ms":1785558482000,"timestamp_seconds":1785558482,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb943c50"} 
[2026-08-01 09:59:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 09:59: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-08-01 09:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 09:59:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 09:59:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 09:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 09:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 09:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":145938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 09:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":145938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":145938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 09:59:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 09:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 09:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 09:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102969600001,"66":27821,"235":206,"81":49664,"24":60,"16":366114604427771904,"45":4370039779448205312},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,81,24,16,45]} 
[2026-08-01 09:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 09:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 09:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102969600001,"description":"Unknown IO ID 0"} 
[2026-08-01 09:59:51] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-01 09:59:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-01 09:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366114604427771904,"km_value":366114604427771.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 09:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":4370039779448205312,"description":"Unknown IO ID 45"} 
[2026-08-01 09:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102969600001,"power":27821,"unknown_235":206,"unknown_81":49664,"ignition":60,"odometer":null,"unknown_45":4370039779448205312}} 
[2026-08-01 09:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":145938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 09:59:51] local.INFO: GPS data processed {"connection_id":145938,"processed":1,"errors":0,"total":1} 
[2026-08-01 09:59:51] local.INFO: Acknowledgment sent {"connection_id":145938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:00:22] local.INFO: TCP Data received {"connection_id":145938,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb944fd8012d3cc68006a49518003200122b..."} 
[2026-08-01 10:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb944fd8012d3cc68006a49518003200122b..."} 
[2026-08-01 10:00:22] local.INFO: Processing buffer {"connection_id":145938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb944fd8012d3cc68006a49518003200122b..."} 
[2026-08-01 10:00:22] local.INFO: Packet analysis {"connection_id":145938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb94"} 
[2026-08-01 10:00:22] local.INFO: Extracted packet for processing {"connection_id":145938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb94"} 
[2026-08-01 10:00:22] local.INFO: GPS Element Parsed {"raw_longitude":758957696,"raw_latitude":111449368,"longitude_deg":75.8957696,"latitude_deg":11.1449368,"altitude":50,"angle":18,"satellites":43,"speed":64,"hex_longitude":"2d3cc680","hex_latitude":"06a49518","is_valid_coordinates":true} 
[2026-08-01 10:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102971392001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366114986679861248,"note":"Value kept but may cause issues"} 
[2026-08-01 10:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4375528541496369152,"note":"Value kept but may cause issues"} 
[2026-08-01 10:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785558487000,"timestamp_ms":1785558487000,"timestamp_seconds":1785558487,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb944fd8"} 
[2026-08-01 10:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 10:00:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:00:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":145938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":145938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":145938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102971392001,"66":27800,"235":206,"81":49664,"24":64,"16":366114986679861248,"45":4375528541496369152},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,81,24,16,45]} 
[2026-08-01 10:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102971392001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:00:22] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-01 10:00:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-01 10:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366114986679861248,"km_value":366114986679861.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":4375528541496369152,"description":"Unknown IO ID 45"} 
[2026-08-01 10:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102971392001,"power":27800,"unknown_235":206,"unknown_81":49664,"ignition":64,"odometer":null,"unknown_45":4375528541496369152}} 
[2026-08-01 10:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":145938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:00:22] local.INFO: GPS data processed {"connection_id":145938,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:00:22] local.INFO: Acknowledgment sent {"connection_id":145938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:00:46] local.INFO: TCP Data received {"connection_id":148465,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:00:46] local.INFO: Processing buffer {"connection_id":148465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:00:46] local.INFO: IMEI packet received {"connection_id":148465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":148465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:00:50] local.INFO: TCP Data received {"connection_id":148465,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:00:50] local.INFO: Processing buffer {"connection_id":148465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:00:50] local.INFO: IMEI packet received {"connection_id":148465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":148465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:00:55] local.INFO: TCP Data received {"connection_id":148465,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:00:55] local.INFO: Processing buffer {"connection_id":148465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:00:55] local.INFO: IMEI packet received {"connection_id":148465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":148465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:01:11] local.INFO: TCP Data received {"connection_id":148465,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb95b738012d3c628006a5cdc00049014027..."} 
[2026-08-01 10:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb95b738012d3c628006a5cdc00049014027..."} 
[2026-08-01 10:01:11] local.INFO: Processing buffer {"connection_id":148465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb95b738012d3c628006a5cdc00049014027..."} 
[2026-08-01 10:01:11] local.INFO: Packet analysis {"connection_id":148465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb95"} 
[2026-08-01 10:01:11] local.INFO: Extracted packet for processing {"connection_id":148465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb95"} 
[2026-08-01 10:01:11] local.INFO: GPS Element Parsed {"raw_longitude":758932096,"raw_latitude":111529408,"longitude_deg":75.8932096,"latitude_deg":11.1529408,"altitude":73,"angle":320,"satellites":39,"speed":30,"hex_longitude":"2d3c6280","hex_latitude":"06a5cdc0","is_valid_coordinates":true} 
[2026-08-01 10: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-08-01 10:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102992896001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366119187157876736,"note":"Value kept but may cause issues"} 
[2026-08-01 10:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4357654880495583232,"note":"Value kept but may cause issues"} 
[2026-08-01 10:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785558579000,"timestamp_ms":1785558579000,"timestamp_seconds":1785558579,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb95b738"} 
[2026-08-01 10:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 10:01:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10: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-08-01 10:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":148465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":148465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":148465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457102992896001,"66":27908,"40":206,"81":49664,"24":30,"16":366119187157876736,"45":4357654880495583232},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,81,24,16,45]} 
[2026-08-01 10:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457102992896001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:01:11] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-08-01 10:01:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-01 10:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366119187157876736,"km_value":366119187157876.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4357654880495583232,"description":"Unknown IO ID 45"} 
[2026-08-01 10:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457102992896001,"power":27908,"unknown_40":206,"unknown_81":49664,"ignition":30,"odometer":null,"unknown_45":4357654880495583232}} 
[2026-08-01 10:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":148465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:01:11] local.INFO: GPS data processed {"connection_id":148465,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:01:11] local.INFO: Acknowledgment sent {"connection_id":148465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:01:42] local.INFO: TCP Data received {"connection_id":147146,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:01:42] local.INFO: Processing buffer {"connection_id":147146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:01:42] local.INFO: IMEI packet received {"connection_id":147146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":147146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:01:44] local.INFO: TCP Data received {"connection_id":147146,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:01:44] local.INFO: Processing buffer {"connection_id":147146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:01:44] local.INFO: IMEI packet received {"connection_id":147146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":147146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:01:46] local.INFO: TCP Data received {"connection_id":147146,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:01:46] local.INFO: Processing buffer {"connection_id":147146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:01:46] local.INFO: IMEI packet received {"connection_id":147146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":147146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:01:47] local.INFO: TCP Data received {"connection_id":147146,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb96f3a0012d3b8ec006a70a500038013327..."} 
[2026-08-01 10:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb96f3a0012d3b8ec006a70a500038013327..."} 
[2026-08-01 10:01:47] local.INFO: Processing buffer {"connection_id":147146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb96f3a0012d3b8ec006a70a500038013327..."} 
[2026-08-01 10:01:47] local.INFO: Packet analysis {"connection_id":147146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb96"} 
[2026-08-01 10:01:47] local.INFO: Extracted packet for processing {"connection_id":147146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb96"} 
[2026-08-01 10:01:47] local.INFO: GPS Element Parsed {"raw_longitude":758877888,"raw_latitude":111610448,"longitude_deg":75.8877888,"latitude_deg":11.1610448,"altitude":56,"angle":307,"satellites":39,"speed":56,"hex_longitude":"2d3b8ec0","hex_latitude":"06a70a50","is_valid_coordinates":true} 
[2026-08-01 10: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-08-01 10:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103015936001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366123915916869632,"note":"Value kept but may cause issues"} 
[2026-08-01 10:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4296082229361833984,"note":"Value kept but may cause issues"} 
[2026-08-01 10:01:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785558660000,"timestamp_ms":1785558660000,"timestamp_seconds":1785558660,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb96f3a0"} 
[2026-08-01 10:01:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:01: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-08-01 10: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-01 10:01:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10: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-08-01 10:01:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":147146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":147146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":147146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:01:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103015936001,"66":27865,"101":206,"81":49664,"24":56,"16":366123915916869632,"45":4296082229361833984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,81,24,16,45]} 
[2026-08-01 10:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103015936001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:01:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-01 10:01:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-01 10:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366123915916869632,"km_value":366123915916869.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4296082229361833984,"description":"Unknown IO ID 45"} 
[2026-08-01 10:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103015936001,"power":27865,"unknown_101":206,"unknown_81":49664,"ignition":56,"odometer":null,"unknown_45":4296082229361833984}} 
[2026-08-01 10:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":147146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:01:47] local.INFO: GPS data processed {"connection_id":147146,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:01:47] local.INFO: Acknowledgment sent {"connection_id":147146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:02:18] local.INFO: TCP Data received {"connection_id":147146,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb970340012d3b7b4006a715d80036012524..."} 
[2026-08-01 10:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb970340012d3b7b4006a715d80036012524..."} 
[2026-08-01 10:02:18] local.INFO: Processing buffer {"connection_id":147146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb970340012d3b7b4006a715d80036012524..."} 
[2026-08-01 10:02:18] local.INFO: Packet analysis {"connection_id":147146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb97"} 
[2026-08-01 10:02:18] local.INFO: Extracted packet for processing {"connection_id":147146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb97"} 
[2026-08-01 10:02:18] local.INFO: GPS Element Parsed {"raw_longitude":758872896,"raw_latitude":111613400,"longitude_deg":75.8872896,"latitude_deg":11.16134,"altitude":54,"angle":293,"satellites":36,"speed":56,"hex_longitude":"2d3b7b40","hex_latitude":"06a715d8","is_valid_coordinates":true} 
[2026-08-01 10: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-08-01 10:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103016960001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366124190794776576,"note":"Value kept but may cause issues"} 
[2026-08-01 10:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4291578629735469056,"note":"Value kept but may cause issues"} 
[2026-08-01 10:02:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785558664000,"timestamp_ms":1785558664000,"timestamp_seconds":1785558664,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb970340"} 
[2026-08-01 10:02:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:02: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-08-01 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 10:02: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-08-01 10: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-08-01 10:02:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":147146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":147146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":147146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:02:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103016960001,"66":27821,"101":206,"81":49664,"24":56,"16":366124190794776576,"45":4291578629735469056},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,81,24,16,45]} 
[2026-08-01 10:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103016960001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:02:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-01 10:02:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-01 10:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366124190794776576,"km_value":366124190794776.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":4291578629735469056,"description":"Unknown IO ID 45"} 
[2026-08-01 10:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103016960001,"power":27821,"unknown_101":206,"unknown_81":49664,"ignition":56,"odometer":null,"unknown_45":4291578629735469056}} 
[2026-08-01 10:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":147146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:02:18] local.INFO: GPS data processed {"connection_id":147146,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:02:18] local.INFO: Acknowledgment sent {"connection_id":147146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:02:45] local.INFO: TCP Data received {"connection_id":146136,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:02:45] local.INFO: Processing buffer {"connection_id":146136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:02:45] local.INFO: IMEI packet received {"connection_id":146136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":146136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:02:46] local.INFO: TCP Data received {"connection_id":146136,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:02:46] local.INFO: Processing buffer {"connection_id":146136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:02:46] local.INFO: IMEI packet received {"connection_id":146136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":146136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:02:49] local.INFO: TCP Data received {"connection_id":146136,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:02:49] local.INFO: Processing buffer {"connection_id":146136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:02:49] local.INFO: IMEI packet received {"connection_id":146136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":146136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:02:50] local.INFO: TCP Data received {"connection_id":146136,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb9712e0012d3b65c006a71c48003501192a..."} 
[2026-08-01 10:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb9712e0012d3b65c006a71c48003501192a..."} 
[2026-08-01 10:02:50] local.INFO: Processing buffer {"connection_id":146136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb9712e0012d3b65c006a71c48003501192a..."} 
[2026-08-01 10:02:50] local.INFO: Packet analysis {"connection_id":146136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb97"} 
[2026-08-01 10:02:50] local.INFO: Extracted packet for processing {"connection_id":146136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb97"} 
[2026-08-01 10:02:50] local.INFO: GPS Element Parsed {"raw_longitude":758867392,"raw_latitude":111615048,"longitude_deg":75.8867392,"latitude_deg":11.1615048,"altitude":53,"angle":281,"satellites":42,"speed":55,"hex_longitude":"2d3b65c0","hex_latitude":"06a71c48","is_valid_coordinates":true} 
[2026-08-01 10:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:02:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103017984001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:02:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366124465672683520,"note":"Value kept but may cause issues"} 
[2026-08-01 10:02:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4286089867690366976,"note":"Value kept but may cause issues"} 
[2026-08-01 10:02:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:02:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785558668000,"timestamp_ms":1785558668000,"timestamp_seconds":1785558668,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb9712e0"} 
[2026-08-01 10:02:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:02: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-08-01 10:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 10:02:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:02:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:02:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:02:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:02:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:02:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:02:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:02:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:02:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:02:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:02:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103017984001,"66":27484,"186":206,"81":49664,"24":55,"16":366124465672683520,"45":4286089867690366976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,81,24,16,45]} 
[2026-08-01 10:02:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:02:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:02:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103017984001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:02:50] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-01 10:02:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-01 10:02:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366124465672683520,"km_value":366124465672683.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:02:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":4286089867690366976,"description":"Unknown IO ID 45"} 
[2026-08-01 10:02:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103017984001,"power":27484,"unknown_186":206,"unknown_81":49664,"ignition":55,"odometer":null,"unknown_45":4286089867690366976}} 
[2026-08-01 10:02:50] local.INFO: DEBUG: GPS processor result {"connection_id":146136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:02:50] local.INFO: GPS data processed {"connection_id":146136,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:02:50] local.INFO: Acknowledgment sent {"connection_id":146136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:02:51] local.INFO: TCP Data received {"connection_id":146136,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb972e38012d3b410006a722e8003401182b..."} 
[2026-08-01 10:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb972e38012d3b410006a722e8003401182b..."} 
[2026-08-01 10:02:51] local.INFO: Processing buffer {"connection_id":146136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb972e38012d3b410006a722e8003401182b..."} 
[2026-08-01 10:02:51] local.INFO: Packet analysis {"connection_id":146136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb97"} 
[2026-08-01 10:02:51] local.INFO: Extracted packet for processing {"connection_id":146136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb97"} 
[2026-08-01 10:02:51] local.INFO: GPS Element Parsed {"raw_longitude":758857984,"raw_latitude":111616744,"longitude_deg":75.8857984,"latitude_deg":11.1616744,"altitude":52,"angle":280,"satellites":43,"speed":53,"hex_longitude":"2d3b4100","hex_latitude":"06a722e8","is_valid_coordinates":true} 
[2026-08-01 10:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103019008001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366124920939216896,"note":"Value kept but may cause issues"} 
[2026-08-01 10:02:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4280038155691509760,"note":"Value kept but may cause issues"} 
[2026-08-01 10:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785558675000,"timestamp_ms":1785558675000,"timestamp_seconds":1785558675,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb972e38"} 
[2026-08-01 10:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:02:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-01 10:02:51] 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-08-01 10:02:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":146136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":146136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":146136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:02:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103019008001,"66":27767,"186":206,"81":49664,"24":53,"16":366124920939216896,"45":4280038155691509760},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,81,24,16,45]} 
[2026-08-01 10:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103019008001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:02:52] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-01 10:02:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-01 10:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366124920939216896,"km_value":366124920939216.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:02:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":4280038155691509760,"description":"Unknown IO ID 45"} 
[2026-08-01 10:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103019008001,"power":27767,"unknown_186":206,"unknown_81":49664,"ignition":53,"odometer":null,"unknown_45":4280038155691509760}} 
[2026-08-01 10:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":146136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:02:52] local.INFO: GPS data processed {"connection_id":146136,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:02:52] local.INFO: Acknowledgment sent {"connection_id":146136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:03:33] local.INFO: TCP Data received {"connection_id":146136,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb985330012d39d34006a7b3f8001401532c..."} 
[2026-08-01 10:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb985330012d39d34006a7b3f8001401532c..."} 
[2026-08-01 10:03:33] local.INFO: Processing buffer {"connection_id":146136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb985330012d39d34006a7b3f8001401532c..."} 
[2026-08-01 10:03:33] local.INFO: Packet analysis {"connection_id":146136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb98"} 
[2026-08-01 10:03:33] local.INFO: Extracted packet for processing {"connection_id":146136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb98"} 
[2026-08-01 10:03:33] local.INFO: GPS Element Parsed {"raw_longitude":758764352,"raw_latitude":111653880,"longitude_deg":75.8764352,"latitude_deg":11.165388,"altitude":20,"angle":339,"satellites":44,"speed":53,"hex_longitude":"2d39d340","hex_latitude":"06a7b3f8","is_valid_coordinates":true} 
[2026-08-01 10:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103038208001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366130049130168320,"note":"Value kept but may cause issues"} 
[2026-08-01 10:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4170333283526211584,"note":"Value kept but may cause issues"} 
[2026-08-01 10:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785558750000,"timestamp_ms":1785558750000,"timestamp_seconds":1785558750,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb985330"} 
[2026-08-01 10:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:03: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-08-01 10:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 10:03: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-08-01 10:03:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:03: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-08-01 10:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103038208001,"66":27800,"238":206,"81":49664,"24":53,"16":366130049130168320,"45":4170333283526211584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,81,24,16,45]} 
[2026-08-01 10:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103038208001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:03:33] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-08-01 10:03:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-01 10:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366130049130168320,"km_value":366130049130168.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":4170333283526211584,"description":"Unknown IO ID 45"} 
[2026-08-01 10:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103038208001,"power":27800,"unknown_238":206,"unknown_81":49664,"ignition":53,"odometer":null,"unknown_45":4170333283526211584}} 
[2026-08-01 10:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":146136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:03:33] local.INFO: GPS data processed {"connection_id":146136,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:03:33] local.INFO: Acknowledgment sent {"connection_id":146136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:03:49] local.INFO: TCP Data received {"connection_id":146137,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:03:49] local.INFO: Processing buffer {"connection_id":146137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:03:49] local.INFO: IMEI packet received {"connection_id":146137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":146137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:03:50] local.INFO: TCP Data received {"connection_id":146137,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:03:50] local.INFO: Processing buffer {"connection_id":146137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:03:50] local.INFO: IMEI packet received {"connection_id":146137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":146137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:03:55] local.INFO: TCP Data received {"connection_id":146137,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:03:55] local.INFO: Processing buffer {"connection_id":146137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:03:55] local.INFO: IMEI packet received {"connection_id":146137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":146137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:03:56] local.INFO: TCP Data received {"connection_id":146137,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb986e88012d39c70006a7d6d0001201542b..."} 
[2026-08-01 10:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb986e88012d39c70006a7d6d0001201542b..."} 
[2026-08-01 10:03:56] local.INFO: Processing buffer {"connection_id":146137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb986e88012d39c70006a7d6d0001201542b..."} 
[2026-08-01 10:03:56] local.INFO: Packet analysis {"connection_id":146137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb98"} 
[2026-08-01 10:03:56] local.INFO: Extracted packet for processing {"connection_id":146137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb98"} 
[2026-08-01 10:03:56] local.INFO: GPS Element Parsed {"raw_longitude":758761216,"raw_latitude":111662800,"longitude_deg":75.8761216,"latitude_deg":11.16628,"altitude":18,"angle":340,"satellites":43,"speed":52,"hex_longitude":"2d39c700","hex_latitude":"06a7d6d0","is_valid_coordinates":true} 
[2026-08-01 10: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-08-01 10:03:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103040000001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366130504396701696,"note":"Value kept but may cause issues"} 
[2026-08-01 10:03:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4166744477575411712,"note":"Value kept but may cause issues"} 
[2026-08-01 10:03:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785558757000,"timestamp_ms":1785558757000,"timestamp_seconds":1785558757,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb986e88"} 
[2026-08-01 10:03:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:03:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 10:03:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10: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-08-01 10:03:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":146137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":146137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":146137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:03:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:03:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103040000001,"66":27821,"239":206,"81":49664,"24":52,"16":366130504396701696,"45":4166744477575411712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,81,24,16,45]} 
[2026-08-01 10:03:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:03:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:03:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103040000001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:03:56] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-01 10:03:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-01 10:03:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366130504396701696,"km_value":366130504396701.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:03:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":4166744477575411712,"description":"Unknown IO ID 45"} 
[2026-08-01 10:03:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103040000001,"power":27821,"unknown_239":206,"unknown_81":49664,"ignition":52,"odometer":null,"unknown_45":4166744477575411712}} 
[2026-08-01 10:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":146137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:03:56] local.INFO: GPS data processed {"connection_id":146137,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:03:56] local.INFO: Acknowledgment sent {"connection_id":146137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:04:27] local.INFO: TCP Data received {"connection_id":146137,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb9889e0012d39bb0006a7f8c0001001562c..."} 
[2026-08-01 10:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb9889e0012d39bb0006a7f8c0001001562c..."} 
[2026-08-01 10:04:27] local.INFO: Processing buffer {"connection_id":146137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb9889e0012d39bb0006a7f8c0001001562c..."} 
[2026-08-01 10:04:27] local.INFO: Packet analysis {"connection_id":146137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb98"} 
[2026-08-01 10:04:27] local.INFO: Extracted packet for processing {"connection_id":146137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb98"} 
[2026-08-01 10:04:27] local.INFO: GPS Element Parsed {"raw_longitude":758758144,"raw_latitude":111671488,"longitude_deg":75.8758144,"latitude_deg":11.1671488,"altitude":16,"angle":342,"satellites":44,"speed":51,"hex_longitude":"2d39bb00","hex_latitude":"06a7f8c0","is_valid_coordinates":true} 
[2026-08-01 10:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103041792001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366130951073300480,"note":"Value kept but may cause issues"} 
[2026-08-01 10:04:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4163296409112989696,"note":"Value kept but may cause issues"} 
[2026-08-01 10:04:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785558764000,"timestamp_ms":1785558764000,"timestamp_seconds":1785558764,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb9889e0"} 
[2026-08-01 10:04:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:04: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-08-01 10:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 10:04:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:04:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:04:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":146137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":146137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":146137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:04: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-08-01 10:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103041792001,"66":27767,"239":206,"81":49664,"24":51,"16":366130951073300480,"45":4163296409112989696},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,81,24,16,45]} 
[2026-08-01 10:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103041792001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:04:27] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-01 10:04:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-01 10:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366130951073300480,"km_value":366130951073300.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:04:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":4163296409112989696,"description":"Unknown IO ID 45"} 
[2026-08-01 10:04:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103041792001,"power":27767,"unknown_239":206,"unknown_81":49664,"ignition":51,"odometer":null,"unknown_45":4163296409112989696}} 
[2026-08-01 10:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":146137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:04:27] local.INFO: GPS data processed {"connection_id":146137,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:04:27] local.INFO: Acknowledgment sent {"connection_id":146137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:04:44] local.INFO: TCP Data received {"connection_id":147147,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:04:44] local.INFO: Processing buffer {"connection_id":147147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:04:44] local.INFO: IMEI packet received {"connection_id":147147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":147147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:04:48] local.INFO: TCP Data received {"connection_id":147147,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:04:48] local.INFO: Processing buffer {"connection_id":147147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:04:48] local.INFO: IMEI packet received {"connection_id":147147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":147147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:04:49] local.INFO: TCP Data received {"connection_id":147147,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:04:49] local.INFO: Processing buffer {"connection_id":147147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:04:49] local.INFO: IMEI packet received {"connection_id":147147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":147147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:04:50] local.INFO: TCP Data received {"connection_id":147147,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb98a538012d39b10006a81a28000e01582a..."} 
[2026-08-01 10:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb98a538012d39b10006a81a28000e01582a..."} 
[2026-08-01 10:04:50] local.INFO: Processing buffer {"connection_id":147147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb98a538012d39b10006a81a28000e01582a..."} 
[2026-08-01 10:04:50] local.INFO: Packet analysis {"connection_id":147147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb98"} 
[2026-08-01 10:04:50] local.INFO: Extracted packet for processing {"connection_id":147147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb98"} 
[2026-08-01 10:04:50] local.INFO: GPS Element Parsed {"raw_longitude":758755584,"raw_latitude":111680040,"longitude_deg":75.8755584,"latitude_deg":11.168004,"altitude":14,"angle":344,"satellites":42,"speed":50,"hex_longitude":"2d39b100","hex_latitude":"06a81a28","is_valid_coordinates":true} 
[2026-08-01 10: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-08-01 10:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103043584001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366131384864997376,"note":"Value kept but may cause issues"} 
[2026-08-01 10:04:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4159918709394685952,"note":"Value kept but may cause issues"} 
[2026-08-01 10:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785558771000,"timestamp_ms":1785558771000,"timestamp_seconds":1785558771,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb98a538"} 
[2026-08-01 10:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:04: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-08-01 10: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 10:04:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10: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-08-01 10:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:04:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103043584001,"66":27800,"239":206,"81":49664,"24":50,"16":366131384864997376,"45":4159918709394685952},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,81,24,16,45]} 
[2026-08-01 10:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103043584001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:04:50] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-01 10:04:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-01 10:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366131384864997376,"km_value":366131384864997.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:04:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":4159918709394685952,"description":"Unknown IO ID 45"} 
[2026-08-01 10:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103043584001,"power":27800,"unknown_239":206,"unknown_81":49664,"ignition":50,"odometer":null,"unknown_45":4159918709394685952}} 
[2026-08-01 10:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":147147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:04:50] local.INFO: GPS data processed {"connection_id":147147,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:04:50] local.INFO: Acknowledgment sent {"connection_id":147147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:04:54] local.INFO: TCP Data received {"connection_id":147147,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb98c090012d39a80006a83bd0000d015929..."} 
[2026-08-01 10:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb98c090012d39a80006a83bd0000d015929..."} 
[2026-08-01 10:04:54] local.INFO: Processing buffer {"connection_id":147147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb98c090012d39a80006a83bd0000d015929..."} 
[2026-08-01 10:04:54] local.INFO: Packet analysis {"connection_id":147147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb98"} 
[2026-08-01 10:04:54] local.INFO: Extracted packet for processing {"connection_id":147147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb98"} 
[2026-08-01 10:04:54] local.INFO: GPS Element Parsed {"raw_longitude":758753280,"raw_latitude":111688656,"longitude_deg":75.875328,"latitude_deg":11.1688656,"altitude":13,"angle":345,"satellites":41,"speed":52,"hex_longitude":"2d39a800","hex_latitude":"06a83bd0","is_valid_coordinates":true} 
[2026-08-01 10:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:04:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103045376001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:04:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366131814361726976,"note":"Value kept but may cause issues"} 
[2026-08-01 10:04:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4157103959629768704,"note":"Value kept but may cause issues"} 
[2026-08-01 10:04:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:04:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785558778000,"timestamp_ms":1785558778000,"timestamp_seconds":1785558778,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb98c090"} 
[2026-08-01 10:04:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:04:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 10:04:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:04:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:04:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:04:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:04:54] local.INFO: Teltonika packet parsed successfully {"connection_id":147147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:04:54] local.INFO: Passing IMEI to GPS processor {"connection_id":147147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:04:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":147147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:04:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:04:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:04:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:04:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103045376001,"66":27745,"239":206,"81":49664,"24":52,"16":366131814361726976,"45":4157103959629768704},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,81,24,16,45]} 
[2026-08-01 10:04:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:04:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:04:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103045376001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:04:54] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-01 10:04:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-01 10:04:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366131814361726976,"km_value":366131814361727.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:04:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":4157103959629768704,"description":"Unknown IO ID 45"} 
[2026-08-01 10:04:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103045376001,"power":27745,"unknown_239":206,"unknown_81":49664,"ignition":52,"odometer":null,"unknown_45":4157103959629768704}} 
[2026-08-01 10:04:54] local.INFO: DEBUG: GPS processor result {"connection_id":147147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:04:54] local.INFO: GPS data processed {"connection_id":147147,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:04:54] local.INFO: Acknowledgment sent {"connection_id":147147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:05:26] local.INFO: TCP Data received {"connection_id":147147,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb9a2408012d39288006aa13480007015927..."} 
[2026-08-01 10:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb9a2408012d39288006aa13480007015927..."} 
[2026-08-01 10:05:26] local.INFO: Processing buffer {"connection_id":147147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb9a2408012d39288006aa13480007015927..."} 
[2026-08-01 10:05:26] local.INFO: Packet analysis {"connection_id":147147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb9a"} 
[2026-08-01 10:05:26] local.INFO: Extracted packet for processing {"connection_id":147147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb9a"} 
[2026-08-01 10:05:26] local.INFO: GPS Element Parsed {"raw_longitude":758720640,"raw_latitude":111809352,"longitude_deg":75.872064,"latitude_deg":11.1809352,"altitude":7,"angle":345,"satellites":39,"speed":50,"hex_longitude":"2d392880","hex_latitude":"06aa1348","is_valid_coordinates":true} 
[2026-08-01 10:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103068672001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366137870265614336,"note":"Value kept but may cause issues"} 
[2026-08-01 10:05:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4121215900130017280,"note":"Value kept but may cause issues"} 
[2026-08-01 10:05:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785558869000,"timestamp_ms":1785558869000,"timestamp_seconds":1785558869,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb9a2408"} 
[2026-08-01 10:05:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:05:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 10:05: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-08-01 10:05:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:05:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":147147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":147147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":147147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:05:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103068672001,"66":27865,"163":206,"81":23296,"24":50,"16":366137870265614336,"45":4121215900130017280},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,81,24,16,45]} 
[2026-08-01 10:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103068672001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:05:26] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 10:05:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-01 10:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366137870265614336,"km_value":366137870265614.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:05:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":4121215900130017280,"description":"Unknown IO ID 45"} 
[2026-08-01 10:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103068672001,"power":27865,"unknown_163":206,"unknown_81":23296,"ignition":50,"odometer":null,"unknown_45":4121215900130017280}} 
[2026-08-01 10:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":147147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:05:26] local.INFO: GPS data processed {"connection_id":147147,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:05:26] local.INFO: Acknowledgment sent {"connection_id":147147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:05:44] local.INFO: TCP Data received {"connection_id":145939,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:05:44] local.INFO: Processing buffer {"connection_id":145939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:05:44] local.INFO: IMEI packet received {"connection_id":145939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:05:44] local.INFO: IMEI acknowledgment sent {"connection_id":145939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:05:58] local.INFO: TCP Data received {"connection_id":145939,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:05:58] local.INFO: Processing buffer {"connection_id":145939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:05:58] local.INFO: IMEI packet received {"connection_id":145939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":145939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:05:59] local.INFO: TCP Data received {"connection_id":145939,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:05:59] local.INFO: Processing buffer {"connection_id":145939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:05:59] local.INFO: IMEI packet received {"connection_id":145939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":145939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:06:00] local.INFO: TCP Data received {"connection_id":145939,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb9a4348012d391e0006aa38e8000701582b..."} 
[2026-08-01 10:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb9a4348012d391e0006aa38e8000701582b..."} 
[2026-08-01 10:06:00] local.INFO: Processing buffer {"connection_id":145939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb9a4348012d391e0006aa38e8000701582b..."} 
[2026-08-01 10:06:00] local.INFO: Packet analysis {"connection_id":145939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb9a"} 
[2026-08-01 10:06:00] local.INFO: Extracted packet for processing {"connection_id":145939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb9a"} 
[2026-08-01 10:06:00] local.INFO: GPS Element Parsed {"raw_longitude":758717952,"raw_latitude":111818984,"longitude_deg":75.8717952,"latitude_deg":11.1818984,"altitude":7,"angle":344,"satellites":43,"speed":49,"hex_longitude":"2d391e00","hex_latitude":"06aa38e8","is_valid_coordinates":true} 
[2026-08-01 10: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-08-01 10:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103070464001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366138355596918784,"note":"Value kept but may cause issues"} 
[2026-08-01 10:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4118682625341868032,"note":"Value kept but may cause issues"} 
[2026-08-01 10:06:00] 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-08-01 10:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785558877000,"timestamp_ms":1785558877000,"timestamp_seconds":1785558877,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb9a4348"} 
[2026-08-01 10:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:06: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-08-01 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 10:06: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-08-01 10: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-08-01 10:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":145939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":145939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":145939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:06: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-08-01 10:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103070464001,"66":27821,"163":206,"81":23296,"24":49,"16":366138355596918784,"45":4118682625341868032},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,81,24,16,45]} 
[2026-08-01 10:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103070464001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:06:00] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 10:06:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-01 10:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366138355596918784,"km_value":366138355596918.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":4118682625341868032,"description":"Unknown IO ID 45"} 
[2026-08-01 10:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103070464001,"power":27821,"unknown_163":206,"unknown_81":23296,"ignition":49,"odometer":null,"unknown_45":4118682625341868032}} 
[2026-08-01 10:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":145939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:06:00] local.INFO: GPS data processed {"connection_id":145939,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:06:00] local.INFO: Acknowledgment sent {"connection_id":145939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:06:01] local.INFO: TCP Data received {"connection_id":145939,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb9a6288012d39140006aa5dd8000701582c..."} 
[2026-08-01 10:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb9a6288012d39140006aa5dd8000701582c..."} 
[2026-08-01 10:06:01] local.INFO: Processing buffer {"connection_id":145939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb9a6288012d39140006aa5dd8000701582c..."} 
[2026-08-01 10:06:01] local.INFO: Packet analysis {"connection_id":145939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb9a"} 
[2026-08-01 10:06:01] local.INFO: Extracted packet for processing {"connection_id":145939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb9a"} 
[2026-08-01 10:06:01] local.INFO: GPS Element Parsed {"raw_longitude":758715392,"raw_latitude":111828440,"longitude_deg":75.8715392,"latitude_deg":11.182844,"altitude":7,"angle":344,"satellites":44,"speed":49,"hex_longitude":"2d391400","hex_latitude":"06aa5dd8","is_valid_coordinates":true} 
[2026-08-01 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-08-01 10:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103072512001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366138828043321344,"note":"Value kept but may cause issues"} 
[2026-08-01 10:06:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4115727138088871936,"note":"Value kept but may cause issues"} 
[2026-08-01 10:06:01] 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-08-01 10:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785558885000,"timestamp_ms":1785558885000,"timestamp_seconds":1785558885,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb9a6288"} 
[2026-08-01 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-08-01 10:06:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 10:06: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-08-01 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-08-01 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-08-01 10:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":145939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":145939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":145939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10: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-08-01 10:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103072512001,"66":27745,"163":206,"81":23296,"24":49,"16":366138828043321344,"45":4115727138088871936},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,81,24,16,45]} 
[2026-08-01 10:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103072512001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:06:01] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 10:06:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-01 10:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366138828043321344,"km_value":366138828043321.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:06:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":4115727138088871936,"description":"Unknown IO ID 45"} 
[2026-08-01 10:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103072512001,"power":27745,"unknown_163":206,"unknown_81":23296,"ignition":49,"odometer":null,"unknown_45":4115727138088871936}} 
[2026-08-01 10:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":145939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:06:01] local.INFO: GPS data processed {"connection_id":145939,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:06:01] local.INFO: Acknowledgment sent {"connection_id":145939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:06:44] local.INFO: TCP Data received {"connection_id":148466,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:06:44] local.INFO: Processing buffer {"connection_id":148466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:06:44] local.INFO: IMEI packet received {"connection_id":148466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":148466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:06:50] local.INFO: TCP Data received {"connection_id":148466,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:06:50] local.INFO: Processing buffer {"connection_id":148466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:06:50] local.INFO: IMEI packet received {"connection_id":148466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":148466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:06:50] local.INFO: TCP Data received {"connection_id":148466,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb9a81c8012d3909c006aa8330000601582b..."} 
[2026-08-01 10:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb9a81c8012d3909c006aa8330000601582b..."} 
[2026-08-01 10:06:50] local.INFO: Processing buffer {"connection_id":148466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb9a81c8012d3909c006aa8330000601582b..."} 
[2026-08-01 10:06:50] local.INFO: Packet analysis {"connection_id":148466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb9a"} 
[2026-08-01 10:06:50] local.INFO: Extracted packet for processing {"connection_id":148466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb9a"} 
[2026-08-01 10:06:50] local.INFO: GPS Element Parsed {"raw_longitude":758712768,"raw_latitude":111838000,"longitude_deg":75.8712768,"latitude_deg":11.1838,"altitude":6,"angle":344,"satellites":43,"speed":49,"hex_longitude":"2d3909c0","hex_latitude":"06aa8330","is_valid_coordinates":true} 
[2026-08-01 10:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:06:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103074560001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:06:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366139309079658496,"note":"Value kept but may cause issues"} 
[2026-08-01 10:06:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4112912388324186112,"note":"Value kept but may cause issues"} 
[2026-08-01 10:06:50] 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-08-01 10:06:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785558893000,"timestamp_ms":1785558893000,"timestamp_seconds":1785558893,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb9a81c8"} 
[2026-08-01 10:06:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:06: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-08-01 10:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 10:06:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:06:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:06:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:06:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:06:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:06:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:06:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:06:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:06:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:06:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:06:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103074560001,"66":27767,"163":206,"81":23296,"24":49,"16":366139309079658496,"45":4112912388324186112},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,81,24,16,45]} 
[2026-08-01 10:06:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:06:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:06:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103074560001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:06:50] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 10:06:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-01 10:06:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366139309079658496,"km_value":366139309079658.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:06:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":4112912388324186112,"description":"Unknown IO ID 45"} 
[2026-08-01 10:06:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103074560001,"power":27767,"unknown_163":206,"unknown_81":23296,"ignition":49,"odometer":null,"unknown_45":4112912388324186112}} 
[2026-08-01 10:06:50] local.INFO: DEBUG: GPS processor result {"connection_id":148466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:06:50] local.INFO: GPS data processed {"connection_id":148466,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:06:50] local.INFO: Acknowledgment sent {"connection_id":148466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:07:21] local.INFO: TCP Data received {"connection_id":148466,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb9bed10012d38898006ac63c0000701592b..."} 
[2026-08-01 10:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb9bed10012d38898006ac63c0000701592b..."} 
[2026-08-01 10:07:21] local.INFO: Processing buffer {"connection_id":148466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb9bed10012d38898006ac63c0000701592b..."} 
[2026-08-01 10:07:21] local.INFO: Packet analysis {"connection_id":148466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb9b"} 
[2026-08-01 10:07:21] local.INFO: Extracted packet for processing {"connection_id":148466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb9b"} 
[2026-08-01 10:07:21] local.INFO: GPS Element Parsed {"raw_longitude":758679936,"raw_latitude":111961024,"longitude_deg":75.8679936,"latitude_deg":11.1961024,"altitude":7,"angle":345,"satellites":43,"speed":55,"hex_longitude":"2d388980","hex_latitude":"06ac63c0","is_valid_coordinates":true} 
[2026-08-01 10: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-08-01 10:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103098624001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366145472357728256,"note":"Value kept but may cause issues"} 
[2026-08-01 10:07:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4076813222592595968,"note":"Value kept but may cause issues"} 
[2026-08-01 10:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785558986000,"timestamp_ms":1785558986000,"timestamp_seconds":1785558986,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb9bed10"} 
[2026-08-01 10:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:07:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-01 10:07:21] 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-08-01 10: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-08-01 10:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:07:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103098624001,"66":27800,"186":206,"81":49664,"24":55,"16":366145472357728256,"45":4076813222592595968},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,81,24,16,45]} 
[2026-08-01 10:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103098624001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:07:21] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-01 10:07:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-01 10:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366145472357728256,"km_value":366145472357728.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:07:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4076813222592595968,"description":"Unknown IO ID 45"} 
[2026-08-01 10:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103098624001,"power":27800,"unknown_186":206,"unknown_81":49664,"ignition":55,"odometer":null,"unknown_45":4076813222592595968}} 
[2026-08-01 10:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":148466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:07:21] local.INFO: GPS data processed {"connection_id":148466,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:07:21] local.INFO: Acknowledgment sent {"connection_id":148466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:07:48] local.INFO: TCP Data received {"connection_id":147148,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:07:48] local.INFO: Processing buffer {"connection_id":147148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:07:48] local.INFO: IMEI packet received {"connection_id":147148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":147148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:07:49] local.INFO: TCP Data received {"connection_id":147148,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:07:49] local.INFO: Processing buffer {"connection_id":147148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:07:49] local.INFO: IMEI packet received {"connection_id":147148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":147148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:07:55] local.INFO: TCP Data received {"connection_id":147148,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:07:55] local.INFO: Processing buffer {"connection_id":147148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:07:55] local.INFO: IMEI packet received {"connection_id":147148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":147148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:07:56] local.INFO: TCP Data received {"connection_id":147148,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb9c0868012d387fc006ac8938000801592b..."} 
[2026-08-01 10:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb9c0868012d387fc006ac8938000801592b..."} 
[2026-08-01 10:07:56] local.INFO: Processing buffer {"connection_id":147148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb9c0868012d387fc006ac8938000801592b..."} 
[2026-08-01 10:07:56] local.INFO: Packet analysis {"connection_id":147148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb9c"} 
[2026-08-01 10:07:56] local.INFO: Extracted packet for processing {"connection_id":147148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb9c"} 
[2026-08-01 10:07:56] local.INFO: GPS Element Parsed {"raw_longitude":758677440,"raw_latitude":111970616,"longitude_deg":75.867744,"latitude_deg":11.1970616,"altitude":8,"angle":345,"satellites":43,"speed":56,"hex_longitude":"2d387fc0","hex_latitude":"06ac8938","is_valid_coordinates":true} 
[2026-08-01 10:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103100416001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366145953394065408,"note":"Value kept but may cause issues"} 
[2026-08-01 10:07:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4073928104083701760,"note":"Value kept but may cause issues"} 
[2026-08-01 10:07:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785558993000,"timestamp_ms":1785558993000,"timestamp_seconds":1785558993,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb9c0868"} 
[2026-08-01 10:07:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:07:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 10:07:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:07:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:07:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":147148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":147148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":147148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:07:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103100416001,"66":27876,"186":206,"81":49664,"24":56,"16":366145953394065408,"45":4073928104083701760},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,81,24,16,45]} 
[2026-08-01 10:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103100416001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:07:56] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-01 10:07:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-01 10:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366145953394065408,"km_value":366145953394065.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:07:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":4073928104083701760,"description":"Unknown IO ID 45"} 
[2026-08-01 10:07:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103100416001,"power":27876,"unknown_186":206,"unknown_81":49664,"ignition":56,"odometer":null,"unknown_45":4073928104083701760}} 
[2026-08-01 10:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":147148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:07:56] local.INFO: GPS data processed {"connection_id":147148,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:07:56] local.INFO: Acknowledgment sent {"connection_id":147148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:07:59] local.INFO: TCP Data received {"connection_id":147148,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb9c23c0012d3875c006acae18000a015a2c..."} 
[2026-08-01 10:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb9c23c0012d3875c006acae18000a015a2c..."} 
[2026-08-01 10:07:59] local.INFO: Processing buffer {"connection_id":147148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb9c23c0012d3875c006acae18000a015a2c..."} 
[2026-08-01 10:07:59] local.INFO: Packet analysis {"connection_id":147148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb9c"} 
[2026-08-01 10:07:59] local.INFO: Extracted packet for processing {"connection_id":147148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb9c"} 
[2026-08-01 10:07:59] local.INFO: GPS Element Parsed {"raw_longitude":758674880,"raw_latitude":111980056,"longitude_deg":75.867488,"latitude_deg":11.1980056,"altitude":10,"angle":346,"satellites":44,"speed":53,"hex_longitude":"2d3875c0","hex_latitude":"06acae18","is_valid_coordinates":true} 
[2026-08-01 10: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-08-01 10:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103102208001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366146430135435264,"note":"Value kept but may cause issues"} 
[2026-08-01 10:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4071183723063228416,"note":"Value kept but may cause issues"} 
[2026-08-01 10:07:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785559000000,"timestamp_ms":1785559000000,"timestamp_seconds":1785559000,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb9c23c0"} 
[2026-08-01 10:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 10:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10: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-08-01 10:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":147148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":147148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":147148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:07: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-08-01 10:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103102208001,"66":27876,"186":206,"81":49664,"24":53,"16":366146430135435264,"45":4071183723063228416},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,81,24,16,45]} 
[2026-08-01 10:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103102208001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:07:59] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-01 10:07:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-01 10:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366146430135435264,"km_value":366146430135435.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":4071183723063228416,"description":"Unknown IO ID 45"} 
[2026-08-01 10:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103102208001,"power":27876,"unknown_186":206,"unknown_81":49664,"ignition":53,"odometer":null,"unknown_45":4071183723063228416}} 
[2026-08-01 10:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":147148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:07:59] local.INFO: GPS data processed {"connection_id":147148,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:07:59] local.INFO: Acknowledgment sent {"connection_id":147148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:08:44] local.INFO: TCP Data received {"connection_id":146138,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:08:44] local.INFO: Processing buffer {"connection_id":146138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:08:44] local.INFO: IMEI packet received {"connection_id":146138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":146138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:08:46] local.INFO: TCP Data received {"connection_id":146138,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:08:46] local.INFO: Processing buffer {"connection_id":146138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:08:46] local.INFO: IMEI packet received {"connection_id":146138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":146138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:08:50] local.INFO: TCP Data received {"connection_id":146138,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:08:50] local.INFO: Processing buffer {"connection_id":146138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:08:50] local.INFO: IMEI packet received {"connection_id":146138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":146138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:08:51] local.INFO: TCP Data received {"connection_id":146138,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb9c3f18012d386cc006acd078000d01592c..."} 
[2026-08-01 10:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb9c3f18012d386cc006acd078000d01592c..."} 
[2026-08-01 10:08:51] local.INFO: Processing buffer {"connection_id":146138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb9c3f18012d386cc006acd078000d01592c..."} 
[2026-08-01 10:08:51] local.INFO: Packet analysis {"connection_id":146138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb9c"} 
[2026-08-01 10:08:51] local.INFO: Extracted packet for processing {"connection_id":146138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb9c"} 
[2026-08-01 10:08:51] local.INFO: GPS Element Parsed {"raw_longitude":758672576,"raw_latitude":111988856,"longitude_deg":75.8672576,"latitude_deg":11.1988856,"altitude":13,"angle":345,"satellites":44,"speed":49,"hex_longitude":"2d386cc0","hex_latitude":"06acd078","is_valid_coordinates":true} 
[2026-08-01 10:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103104000001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366146868222099456,"note":"Value kept but may cause issues"} 
[2026-08-01 10:08:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4068368973298538496,"note":"Value kept but may cause issues"} 
[2026-08-01 10:08:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785559007000,"timestamp_ms":1785559007000,"timestamp_seconds":1785559007,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb9c3f18"} 
[2026-08-01 10:08:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:08: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-08-01 10:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 10:08:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:08:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:08:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":146138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":146138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":146138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:08:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103104000001,"66":27984,"186":206,"81":49664,"24":49,"16":366146868222099456,"45":4068368973298538496},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,81,24,16,45]} 
[2026-08-01 10:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103104000001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:08:51] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-01 10:08:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-01 10:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366146868222099456,"km_value":366146868222099.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:08:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":4068368973298538496,"description":"Unknown IO ID 45"} 
[2026-08-01 10:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103104000001,"power":27984,"unknown_186":206,"unknown_81":49664,"ignition":49,"odometer":null,"unknown_45":4068368973298538496}} 
[2026-08-01 10:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":146138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:08:51] local.INFO: GPS data processed {"connection_id":146138,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:08:51] local.INFO: Acknowledgment sent {"connection_id":146138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:08:53] local.INFO: TCP Data received {"connection_id":146138,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb9c5e58012d38628006acf520000f01592c..."} 
[2026-08-01 10:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb9c5e58012d38628006acf520000f01592c..."} 
[2026-08-01 10:08:53] local.INFO: Processing buffer {"connection_id":146138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb9c5e58012d38628006acf520000f01592c..."} 
[2026-08-01 10:08:53] local.INFO: Packet analysis {"connection_id":146138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb9c"} 
[2026-08-01 10:08:53] local.INFO: Extracted packet for processing {"connection_id":146138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb9c"} 
[2026-08-01 10:08:53] local.INFO: GPS Element Parsed {"raw_longitude":758669952,"raw_latitude":111998240,"longitude_deg":75.8669952,"latitude_deg":11.199824,"altitude":15,"angle":345,"satellites":44,"speed":47,"hex_longitude":"2d386280","hex_latitude":"06acf520","is_valid_coordinates":true} 
[2026-08-01 10: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-08-01 10:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103105792001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366147340668502016,"note":"Value kept but may cause issues"} 
[2026-08-01 10:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4065835698510395392,"note":"Value kept but may cause issues"} 
[2026-08-01 10:08:53] 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-08-01 10:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785559015000,"timestamp_ms":1785559015000,"timestamp_seconds":1785559015,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb9c5e58"} 
[2026-08-01 10:08:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:08:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-01 10:08:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10: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-08-01 10:08:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":146138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":146138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":146138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:08:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103105792001,"66":27745,"185":206,"81":49664,"24":47,"16":366147340668502016,"45":4065835698510395392},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,81,24,16,45]} 
[2026-08-01 10:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103105792001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:08:53] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-01 10:08:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-01 10:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366147340668502016,"km_value":366147340668502.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":4065835698510395392,"description":"Unknown IO ID 45"} 
[2026-08-01 10:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103105792001,"power":27745,"unknown_185":206,"unknown_81":49664,"ignition":47,"odometer":null,"unknown_45":4065835698510395392}} 
[2026-08-01 10:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":146138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:08:53] local.INFO: GPS data processed {"connection_id":146138,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:08:53] local.INFO: Acknowledgment sent {"connection_id":146138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:09:25] local.INFO: TCP Data received {"connection_id":146138,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb9dc9a0012d37768006aea460000d01472a..."} 
[2026-08-01 10:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb9dc9a0012d37768006aea460000d01472a..."} 
[2026-08-01 10:09:25] local.INFO: Processing buffer {"connection_id":146138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb9dc9a0012d37768006aea460000d01472a..."} 
[2026-08-01 10:09:25] local.INFO: Packet analysis {"connection_id":146138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb9d"} 
[2026-08-01 10:09:25] local.INFO: Extracted packet for processing {"connection_id":146138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb9d"} 
[2026-08-01 10:09:25] local.INFO: GPS Element Parsed {"raw_longitude":758609536,"raw_latitude":112108640,"longitude_deg":75.8609536,"latitude_deg":11.210864,"altitude":13,"angle":327,"satellites":42,"speed":57,"hex_longitude":"2d377680","hex_latitude":"06aea460","is_valid_coordinates":true} 
[2026-08-01 10:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:09:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103129856001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:09:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366153456701931520,"note":"Value kept but may cause issues"} 
[2026-08-01 10:09:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4002855672499838976,"note":"Value kept but may cause issues"} 
[2026-08-01 10:09:25] 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-08-01 10:09:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785559108000,"timestamp_ms":1785559108000,"timestamp_seconds":1785559108,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb9dc9a0"} 
[2026-08-01 10:09:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:09:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 10:09:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:09:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:09:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:09:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":146138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":146138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":146138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:09:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:09:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:09:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:09:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103129856001,"66":27767,"6":206,"81":49664,"24":57,"16":366153456701931520,"45":4002855672499838976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,81,24,16,45]} 
[2026-08-01 10:09:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:09:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:09:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103129856001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:09:25] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-08-01 10:09:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-01 10:09:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366153456701931520,"km_value":366153456701931.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:09:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4002855672499838976,"description":"Unknown IO ID 45"} 
[2026-08-01 10:09:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103129856001,"power":27767,"unknown_6":206,"unknown_81":49664,"ignition":57,"odometer":null,"unknown_45":4002855672499838976}} 
[2026-08-01 10:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":146138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:09:25] local.INFO: GPS data processed {"connection_id":146138,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:09:25] local.INFO: Acknowledgment sent {"connection_id":146138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:09:45] local.INFO: TCP Data received {"connection_id":147149,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:09:45] local.INFO: Processing buffer {"connection_id":147149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:09:45] local.INFO: IMEI packet received {"connection_id":147149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":147149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:09:49] local.INFO: TCP Data received {"connection_id":147149,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:09:49] local.INFO: Processing buffer {"connection_id":147149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:09:49] local.INFO: IMEI packet received {"connection_id":147149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":147149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:10:00] local.INFO: TCP Data received {"connection_id":147149,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb9de4f8012d3761c006aec490000f01472c..."} 
[2026-08-01 10:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb9de4f8012d3761c006aec490000f01472c..."} 
[2026-08-01 10:10:00] local.INFO: Processing buffer {"connection_id":147149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb9de4f8012d3761c006aec490000f01472c..."} 
[2026-08-01 10:10:00] local.INFO: Packet analysis {"connection_id":147149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb9d"} 
[2026-08-01 10:10:00] local.INFO: Extracted packet for processing {"connection_id":147149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb9d"} 
[2026-08-01 10:10:00] local.INFO: GPS Element Parsed {"raw_longitude":758604224,"raw_latitude":112116880,"longitude_deg":75.8604224,"latitude_deg":11.211688,"altitude":15,"angle":327,"satellites":44,"speed":54,"hex_longitude":"2d3761c0","hex_latitude":"06aec490","is_valid_coordinates":true} 
[2026-08-01 10:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103131648001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366153929148334080,"note":"Value kept but may cause issues"} 
[2026-08-01 10:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3996522485526061056,"note":"Value kept but may cause issues"} 
[2026-08-01 10:10:00] 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-08-01 10:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785559115000,"timestamp_ms":1785559115000,"timestamp_seconds":1785559115,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb9de4f8"} 
[2026-08-01 10:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10: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-08-01 10:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 10: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-08-01 10:10:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":147149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":147149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":147149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:10: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-08-01 10:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103131648001,"66":27767,"6":206,"81":49664,"24":54,"16":366153929148334080,"45":3996522485526061056},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,81,24,16,45]} 
[2026-08-01 10:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103131648001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:10:00] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-08-01 10:10:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-01 10:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366153929148334080,"km_value":366153929148334.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3996522485526061056,"description":"Unknown IO ID 45"} 
[2026-08-01 10:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103131648001,"power":27767,"unknown_6":206,"unknown_81":49664,"ignition":54,"odometer":null,"unknown_45":3996522485526061056}} 
[2026-08-01 10:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":147149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:10:00] local.INFO: GPS data processed {"connection_id":147149,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:10:00] local.INFO: Acknowledgment sent {"connection_id":147149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:10:44] local.INFO: TCP Data received {"connection_id":146139,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:10:44] local.INFO: Processing buffer {"connection_id":146139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:10:44] local.INFO: IMEI packet received {"connection_id":146139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":146139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:10:45] local.INFO: TCP Data received {"connection_id":146139,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:10:45] local.INFO: Processing buffer {"connection_id":146139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:10:45] local.INFO: IMEI packet received {"connection_id":146139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":146139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:10:50] local.INFO: TCP Data received {"connection_id":146139,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:10:50] local.INFO: Processing buffer {"connection_id":146139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:10:50] local.INFO: IMEI packet received {"connection_id":146139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":146139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:10:51] local.INFO: TCP Data received {"connection_id":146139,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb9f2d18012d36a1c006b04cd0000c01502a..."} 
[2026-08-01 10:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb9f2d18012d36a1c006b04cd0000c01502a..."} 
[2026-08-01 10:10:51] local.INFO: Processing buffer {"connection_id":146139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb9f2d18012d36a1c006b04cd0000c01502a..."} 
[2026-08-01 10:10:51] local.INFO: Packet analysis {"connection_id":146139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb9f"} 
[2026-08-01 10:10:51] local.INFO: Extracted packet for processing {"connection_id":146139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb9f"} 
[2026-08-01 10:10:51] local.INFO: GPS Element Parsed {"raw_longitude":758555072,"raw_latitude":112217296,"longitude_deg":75.8555072,"latitude_deg":11.2217296,"altitude":12,"angle":336,"satellites":42,"speed":55,"hex_longitude":"2d36a1c0","hex_latitude":"06b04cd0","is_valid_coordinates":true} 
[2026-08-01 10:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103153152001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366159340807127040,"note":"Value kept but may cause issues"} 
[2026-08-01 10:10:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3941001546395482112,"note":"Value kept but may cause issues"} 
[2026-08-01 10:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,222,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785559199000,"timestamp_ms":1785559199000,"timestamp_seconds":1785559199,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb9f2d18"} 
[2026-08-01 10:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:10:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 10:10:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:10:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":146139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":146139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":146139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:10:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103153152001,"66":27745,"222":206,"81":23552,"24":55,"16":366159340807127040,"45":3941001546395482112},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,222,81,24,16,45]} 
[2026-08-01 10:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103153152001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:10:51] local.INFO: Unknown IO ID detected {"io_id":222,"value":206,"description":"Unknown IO ID 222"} 
[2026-08-01 10:10:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-01 10:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366159340807127040,"km_value":366159340807127.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:10:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3941001546395482112,"description":"Unknown IO ID 45"} 
[2026-08-01 10:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103153152001,"power":27745,"unknown_222":206,"unknown_81":23552,"ignition":55,"odometer":null,"unknown_45":3941001546395482112}} 
[2026-08-01 10:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":146139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:10:51] local.INFO: GPS data processed {"connection_id":146139,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:10:51] local.INFO: Acknowledgment sent {"connection_id":146139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:11:22] local.INFO: TCP Data received {"connection_id":146139,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb9f4870012d36910006b07060000b014f2b..."} 
[2026-08-01 10:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb9f4870012d36910006b07060000b014f2b..."} 
[2026-08-01 10:11:22] local.INFO: Processing buffer {"connection_id":146139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb9f4870012d36910006b07060000b014f2b..."} 
[2026-08-01 10:11:22] local.INFO: Packet analysis {"connection_id":146139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb9f"} 
[2026-08-01 10:11:22] local.INFO: Extracted packet for processing {"connection_id":146139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb9f"} 
[2026-08-01 10:11:22] local.INFO: GPS Element Parsed {"raw_longitude":758550784,"raw_latitude":112226400,"longitude_deg":75.8550784,"latitude_deg":11.22264,"altitude":11,"angle":335,"satellites":43,"speed":58,"hex_longitude":"2d369100","hex_latitude":"06b07060","is_valid_coordinates":true} 
[2026-08-01 10:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103154944001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366159826138431488,"note":"Value kept but may cause issues"} 
[2026-08-01 10:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3936638684258684928,"note":"Value kept but may cause issues"} 
[2026-08-01 10:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,222,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785559206000,"timestamp_ms":1785559206000,"timestamp_seconds":1785559206,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb9f4870"} 
[2026-08-01 10:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:11:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 10:11:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:11:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:11:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103154944001,"66":27767,"222":206,"81":23552,"24":58,"16":366159826138431488,"45":3936638684258684928},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,222,81,24,16,45]} 
[2026-08-01 10:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103154944001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:11:22] local.INFO: Unknown IO ID detected {"io_id":222,"value":206,"description":"Unknown IO ID 222"} 
[2026-08-01 10:11:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-01 10:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366159826138431488,"km_value":366159826138431.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3936638684258684928,"description":"Unknown IO ID 45"} 
[2026-08-01 10:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103154944001,"power":27767,"unknown_222":206,"unknown_81":23552,"ignition":58,"odometer":null,"unknown_45":3936638684258684928}} 
[2026-08-01 10:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":146139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:11:22] local.INFO: GPS data processed {"connection_id":146139,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:11:22] local.INFO: Acknowledgment sent {"connection_id":146139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:11:44] local.INFO: TCP Data received {"connection_id":146140,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:11:44] local.INFO: Processing buffer {"connection_id":146140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:11:44] local.INFO: IMEI packet received {"connection_id":146140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":146140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:11:48] local.INFO: TCP Data received {"connection_id":146140,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:11:48] local.INFO: Processing buffer {"connection_id":146140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:11:48] local.INFO: IMEI packet received {"connection_id":146140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":146140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:11:49] local.INFO: TCP Data received {"connection_id":146140,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:11:49] local.INFO: Processing buffer {"connection_id":146140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:11:49] local.INFO: IMEI packet received {"connection_id":146140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":146140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:11:50] local.INFO: TCP Data received {"connection_id":146140,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb9f5fe0012d3681c006b08fc8000a014e2a..."} 
[2026-08-01 10:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb9f5fe0012d3681c006b08fc8000a014e2a..."} 
[2026-08-01 10:11:50] local.INFO: Processing buffer {"connection_id":146140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb9f5fe0012d3681c006b08fc8000a014e2a..."} 
[2026-08-01 10:11:50] local.INFO: Packet analysis {"connection_id":146140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb9f"} 
[2026-08-01 10:11:50] local.INFO: Extracted packet for processing {"connection_id":146140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb9f"} 
[2026-08-01 10:11:50] local.INFO: GPS Element Parsed {"raw_longitude":758546880,"raw_latitude":112234440,"longitude_deg":75.854688,"latitude_deg":11.223444,"altitude":10,"angle":334,"satellites":42,"speed":60,"hex_longitude":"2d3681c0","hex_latitude":"06b08fc8","is_valid_coordinates":true} 
[2026-08-01 10: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-08-01 10:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103156736001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366160255635161088,"note":"Value kept but may cause issues"} 
[2026-08-01 10:11:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3931923978401112064,"note":"Value kept but may cause issues"} 
[2026-08-01 10:11:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,222,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785559212000,"timestamp_ms":1785559212000,"timestamp_seconds":1785559212,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb9f5fe0"} 
[2026-08-01 10:11:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:11: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-08-01 10: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 10:11:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10: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-08-01 10:11:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:11:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103156736001,"66":27800,"222":206,"81":23552,"24":60,"16":366160255635161088,"45":3931923978401112064},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,222,81,24,16,45]} 
[2026-08-01 10:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103156736001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:11:50] local.INFO: Unknown IO ID detected {"io_id":222,"value":206,"description":"Unknown IO ID 222"} 
[2026-08-01 10:11:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-01 10:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366160255635161088,"km_value":366160255635161.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:11:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3931923978401112064,"description":"Unknown IO ID 45"} 
[2026-08-01 10:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103156736001,"power":27800,"unknown_222":206,"unknown_81":23552,"ignition":60,"odometer":null,"unknown_45":3931923978401112064}} 
[2026-08-01 10:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":146140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:11:50] local.INFO: GPS data processed {"connection_id":146140,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:11:50] local.INFO: Acknowledgment sent {"connection_id":146140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:11:55] local.INFO: TCP Data received {"connection_id":146140,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb9f7750012d36734006b0b020000901512b..."} 
[2026-08-01 10:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb9f7750012d36734006b0b020000901512b..."} 
[2026-08-01 10:11:55] local.INFO: Processing buffer {"connection_id":146140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb9f7750012d36734006b0b020000901512b..."} 
[2026-08-01 10:11:55] local.INFO: Packet analysis {"connection_id":146140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb9f"} 
[2026-08-01 10:11:55] local.INFO: Extracted packet for processing {"connection_id":146140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb9f"} 
[2026-08-01 10:11:55] local.INFO: GPS Element Parsed {"raw_longitude":758543168,"raw_latitude":112242720,"longitude_deg":75.8543168,"latitude_deg":11.224272,"altitude":9,"angle":337,"satellites":43,"speed":59,"hex_longitude":"2d367340","hex_latitude":"06b0b020","is_valid_coordinates":true} 
[2026-08-01 10: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-08-01 10:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103158272001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366160698016792576,"note":"Value kept but may cause issues"} 
[2026-08-01 10:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3927631485008332800,"note":"Value kept but may cause issues"} 
[2026-08-01 10:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,222,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785559218000,"timestamp_ms":1785559218000,"timestamp_seconds":1785559218,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb9f7750"} 
[2026-08-01 10:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 10:11: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-08-01 10: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-08-01 10:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":146140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":146140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":146140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103158272001,"66":27843,"222":206,"81":23552,"24":59,"16":366160698016792576,"45":3927631485008332800},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,222,81,24,16,45]} 
[2026-08-01 10:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103158272001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:11:55] local.INFO: Unknown IO ID detected {"io_id":222,"value":206,"description":"Unknown IO ID 222"} 
[2026-08-01 10:11:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-01 10:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366160698016792576,"km_value":366160698016792.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3927631485008332800,"description":"Unknown IO ID 45"} 
[2026-08-01 10:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103158272001,"power":27843,"unknown_222":206,"unknown_81":23552,"ignition":59,"odometer":null,"unknown_45":3927631485008332800}} 
[2026-08-01 10:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":146140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:11:55] local.INFO: GPS data processed {"connection_id":146140,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:11:55] local.INFO: Acknowledgment sent {"connection_id":146140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:12:27] local.INFO: TCP Data received {"connection_id":146140,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbba0a030012d35ae0006b1fe20000b012f2a..."} 
[2026-08-01 10:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbba0a030012d35ae0006b1fe20000b012f2a..."} 
[2026-08-01 10:12:27] local.INFO: Processing buffer {"connection_id":146140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbba0a030012d35ae0006b1fe20000b012f2a..."} 
[2026-08-01 10:12:27] local.INFO: Packet analysis {"connection_id":146140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbba0"} 
[2026-08-01 10:12:27] local.INFO: Extracted packet for processing {"connection_id":146140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbba0"} 
[2026-08-01 10:12:27] local.INFO: GPS Element Parsed {"raw_longitude":758492672,"raw_latitude":112328224,"longitude_deg":75.8492672,"latitude_deg":11.2328224,"altitude":11,"angle":303,"satellites":42,"speed":60,"hex_longitude":"2d35ae00","hex_latitude":"06b1fe20","is_valid_coordinates":true} 
[2026-08-01 10:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103177728001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366165620049313792,"note":"Value kept but may cause issues"} 
[2026-08-01 10:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3876543776758085632,"note":"Value kept but may cause issues"} 
[2026-08-01 10:12:27] 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-08-01 10:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785559294000,"timestamp_ms":1785559294000,"timestamp_seconds":1785559294,"priority":1,"record_length":96,"hex_timestamp":"0000019fbba0a030"} 
[2026-08-01 10:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:12:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 10:12:27] 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-08-01 10:12:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":146140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":146140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":146140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:12: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-08-01 10:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103177728001,"66":27843,"225":206,"81":23552,"24":60,"16":366165620049313792,"45":3876543776758085632},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,81,24,16,45]} 
[2026-08-01 10:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103177728001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:12:27] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-01 10:12:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-01 10:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366165620049313792,"km_value":366165620049313.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3876543776758085632,"description":"Unknown IO ID 45"} 
[2026-08-01 10:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103177728001,"power":27843,"unknown_225":206,"unknown_81":23552,"ignition":60,"odometer":null,"unknown_45":3876543776758085632}} 
[2026-08-01 10:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":146140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:12:27] local.INFO: GPS data processed {"connection_id":146140,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:12:27] local.INFO: Acknowledgment sent {"connection_id":146140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:12:36] local.INFO: TCP Data received {"connection_id":147149,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb9e0050012d374dc006aee378001201472c..."} 
[2026-08-01 10:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb9e0050012d374dc006aee378001201472c..."} 
[2026-08-01 10:12:36] local.INFO: Processing buffer {"connection_id":147149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb9e0050012d374dc006aee378001201472c..."} 
[2026-08-01 10:12:36] local.INFO: Packet analysis {"connection_id":147149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb9e"} 
[2026-08-01 10:12:36] local.INFO: Extracted packet for processing {"connection_id":147149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb9e"} 
[2026-08-01 10:12:36] local.INFO: GPS Element Parsed {"raw_longitude":758599104,"raw_latitude":112124792,"longitude_deg":75.8599104,"latitude_deg":11.2124792,"altitude":18,"angle":327,"satellites":44,"speed":51,"hex_longitude":"2d374dc0","hex_latitude":"06aee378","is_valid_coordinates":true} 
[2026-08-01 10: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-08-01 10:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103133440001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366154384414867456,"note":"Value kept but may cause issues"} 
[2026-08-01 10:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3990681879761424384,"note":"Value kept but may cause issues"} 
[2026-08-01 10:12:36] 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-08-01 10:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785559122000,"timestamp_ms":1785559122000,"timestamp_seconds":1785559122,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb9e0050"} 
[2026-08-01 10:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:12: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-08-01 10: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-08-01 10: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-08-01 10: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-08-01 10:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10: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-08-01 10:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103133440001,"66":27767,"6":206,"81":49664,"24":51,"16":366154384414867456,"45":3990681879761424384},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,81,24,16,45]} 
[2026-08-01 10:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103133440001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:12:36] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-08-01 10:12:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-01 10:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366154384414867456,"km_value":366154384414867.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3990681879761424384,"description":"Unknown IO ID 45"} 
[2026-08-01 10:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103133440001,"power":27767,"unknown_6":206,"unknown_81":49664,"ignition":51,"odometer":null,"unknown_45":3990681879761424384}} 
[2026-08-01 10:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":147149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:12:36] local.INFO: GPS data processed {"connection_id":147149,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:12:36] local.INFO: Acknowledgment sent {"connection_id":147149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:12:47] local.INFO: TCP Data received {"connection_id":145940,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:12:47] local.INFO: Processing buffer {"connection_id":145940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:12:47] local.INFO: IMEI packet received {"connection_id":145940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":145940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:12:50] local.INFO: TCP Data received {"connection_id":145940,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:12:50] local.INFO: Processing buffer {"connection_id":145940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:12:50] local.INFO: IMEI packet received {"connection_id":145940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":145940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:12:55] local.INFO: TCP Data received {"connection_id":145940,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:12:55] local.INFO: Processing buffer {"connection_id":145940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:12:55] local.INFO: IMEI packet received {"connection_id":145940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":145940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:12:55] local.INFO: TCP Data received {"connection_id":145940,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbba0b7a0012d358f8006b211e80008012f2a..."} 
[2026-08-01 10:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbba0b7a0012d358f8006b211e80008012f2a..."} 
[2026-08-01 10:12:56] local.INFO: Processing buffer {"connection_id":145940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbba0b7a0012d358f8006b211e80008012f2a..."} 
[2026-08-01 10:12:56] local.INFO: Packet analysis {"connection_id":145940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbba0"} 
[2026-08-01 10:12:56] local.INFO: Extracted packet for processing {"connection_id":145940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbba0"} 
[2026-08-01 10:12:56] local.INFO: GPS Element Parsed {"raw_longitude":758484864,"raw_latitude":112333288,"longitude_deg":75.8484864,"latitude_deg":11.2333288,"altitude":8,"angle":303,"satellites":42,"speed":60,"hex_longitude":"2d358f80","hex_latitude":"06b211e8","is_valid_coordinates":true} 
[2026-08-01 10:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103179264001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366166062430945280,"note":"Value kept but may cause issues"} 
[2026-08-01 10:12:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3868029158713860096,"note":"Value kept but may cause issues"} 
[2026-08-01 10:12:56] 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-08-01 10:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785559300000,"timestamp_ms":1785559300000,"timestamp_seconds":1785559300,"priority":1,"record_length":96,"hex_timestamp":"0000019fbba0b7a0"} 
[2026-08-01 10:12:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:12:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 10:12:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:12:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:12:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":145940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":145940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":145940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:12:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103179264001,"66":27876,"225":206,"81":23552,"24":60,"16":366166062430945280,"45":3868029158713860096},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,81,24,16,45]} 
[2026-08-01 10:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103179264001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:12:56] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-01 10:12:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-01 10:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366166062430945280,"km_value":366166062430945.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:12:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3868029158713860096,"description":"Unknown IO ID 45"} 
[2026-08-01 10:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103179264001,"power":27876,"unknown_225":206,"unknown_81":23552,"ignition":60,"odometer":null,"unknown_45":3868029158713860096}} 
[2026-08-01 10:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":145940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:12:56] local.INFO: GPS data processed {"connection_id":145940,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:12:56] local.INFO: Acknowledgment sent {"connection_id":145940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:12:56] local.INFO: TCP Data received {"connection_id":145940,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbba0d2f8012d356d8006b227f00009012f2a..."} 
[2026-08-01 10:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbba0d2f8012d356d8006b227f00009012f2a..."} 
[2026-08-01 10:12:56] local.INFO: Processing buffer {"connection_id":145940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbba0d2f8012d356d8006b227f00009012f2a..."} 
[2026-08-01 10:12:56] local.INFO: Packet analysis {"connection_id":145940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbba0"} 
[2026-08-01 10:12:56] local.INFO: Extracted packet for processing {"connection_id":145940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbba0"} 
[2026-08-01 10:12:56] local.INFO: GPS Element Parsed {"raw_longitude":758476160,"raw_latitude":112338928,"longitude_deg":75.847616,"latitude_deg":11.2338928,"altitude":9,"angle":303,"satellites":42,"speed":55,"hex_longitude":"2d356d80","hex_latitude":"06b227f0","is_valid_coordinates":true} 
[2026-08-01 10:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103180800001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366166556352184320,"note":"Value kept but may cause issues"} 
[2026-08-01 10:12:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3859444171925481472,"note":"Value kept but may cause issues"} 
[2026-08-01 10:12:56] 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-08-01 10:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785559307000,"timestamp_ms":1785559307000,"timestamp_seconds":1785559307,"priority":1,"record_length":96,"hex_timestamp":"0000019fbba0d2f8"} 
[2026-08-01 10:12:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:12:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 10:12:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:12:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:12:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":145940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":145940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":145940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:12:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103180800001,"66":27691,"225":206,"81":23552,"24":55,"16":366166556352184320,"45":3859444171925481472},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,81,24,16,45]} 
[2026-08-01 10:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103180800001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:12:56] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-01 10:12:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-01 10:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366166556352184320,"km_value":366166556352184.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:12:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3859444171925481472,"description":"Unknown IO ID 45"} 
[2026-08-01 10:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103180800001,"power":27691,"unknown_225":206,"unknown_81":23552,"ignition":55,"odometer":null,"unknown_45":3859444171925481472}} 
[2026-08-01 10:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":145940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:12:56] local.INFO: GPS data processed {"connection_id":145940,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:12:56] local.INFO: Acknowledgment sent {"connection_id":145940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:13:27] local.INFO: TCP Data received {"connection_id":145940,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbba0f238012d354a0006b23f080009012e2a..."} 
[2026-08-01 10:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbba0f238012d354a0006b23f080009012e2a..."} 
[2026-08-01 10:13:27] local.INFO: Processing buffer {"connection_id":145940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbba0f238012d354a0006b23f080009012e2a..."} 
[2026-08-01 10:13:27] local.INFO: Packet analysis {"connection_id":145940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbba0"} 
[2026-08-01 10:13:27] local.INFO: Extracted packet for processing {"connection_id":145940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbba0"} 
[2026-08-01 10:13:27] local.INFO: GPS Element Parsed {"raw_longitude":758467072,"raw_latitude":112344840,"longitude_deg":75.8467072,"latitude_deg":11.234484,"altitude":9,"angle":302,"satellites":42,"speed":52,"hex_longitude":"2d354a00","hex_latitude":"06b23f08","is_valid_coordinates":true} 
[2026-08-01 10:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103182592001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366167076043227136,"note":"Value kept but may cause issues"} 
[2026-08-01 10:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3849874022718763008,"note":"Value kept but may cause issues"} 
[2026-08-01 10:13:27] 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-08-01 10:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785559315000,"timestamp_ms":1785559315000,"timestamp_seconds":1785559315,"priority":1,"record_length":96,"hex_timestamp":"0000019fbba0f238"} 
[2026-08-01 10:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:13:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-01 10:13:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:13:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":145940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":145940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":145940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:13: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-08-01 10:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103182592001,"66":27343,"225":206,"81":23552,"24":52,"16":366167076043227136,"45":3849874022718763008},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,81,24,16,45]} 
[2026-08-01 10:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103182592001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:13:27] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-01 10:13:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-01 10:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366167076043227136,"km_value":366167076043227.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3849874022718763008,"description":"Unknown IO ID 45"} 
[2026-08-01 10:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103182592001,"power":27343,"unknown_225":206,"unknown_81":23552,"ignition":52,"odometer":null,"unknown_45":3849874022718763008}} 
[2026-08-01 10:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":145940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:13:27] local.INFO: GPS data processed {"connection_id":145940,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:13:27] local.INFO: Acknowledgment sent {"connection_id":145940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:13:45] local.INFO: TCP Data received {"connection_id":148467,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:13:45] local.INFO: Processing buffer {"connection_id":148467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:13:45] local.INFO: IMEI packet received {"connection_id":148467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":148467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:13:50] local.INFO: TCP Data received {"connection_id":148467,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:13:50] local.INFO: Processing buffer {"connection_id":148467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:13:50] local.INFO: IMEI packet received {"connection_id":148467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":148467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:13:50] local.INFO: TCP Data received {"connection_id":148467,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbba10d90012d352bc006b252b0000a012e29..."} 
[2026-08-01 10:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbba10d90012d352bc006b252b0000a012e29..."} 
[2026-08-01 10:13:50] local.INFO: Processing buffer {"connection_id":148467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbba10d90012d352bc006b252b0000a012e29..."} 
[2026-08-01 10:13:50] local.INFO: Packet analysis {"connection_id":148467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbba1"} 
[2026-08-01 10:13:50] local.INFO: Extracted packet for processing {"connection_id":148467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbba1"} 
[2026-08-01 10:13:50] local.INFO: GPS Element Parsed {"raw_longitude":758459328,"raw_latitude":112349872,"longitude_deg":75.8459328,"latitude_deg":11.2349872,"altitude":10,"angle":302,"satellites":41,"speed":51,"hex_longitude":"2d352bc0","hex_latitude":"06b252b0","is_valid_coordinates":true} 
[2026-08-01 10: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-08-01 10:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103184640001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366167518424858624,"note":"Value kept but may cause issues"} 
[2026-08-01 10:13:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3839881661047048192,"note":"Value kept but may cause issues"} 
[2026-08-01 10:13:50] 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-08-01 10:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785559322000,"timestamp_ms":1785559322000,"timestamp_seconds":1785559322,"priority":1,"record_length":96,"hex_timestamp":"0000019fbba10d90"} 
[2026-08-01 10:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:13:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-01 10:13:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10: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-08-01 10:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103184640001,"66":27767,"225":206,"81":23552,"24":51,"16":366167518424858624,"45":3839881661047048192},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,81,24,16,45]} 
[2026-08-01 10:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103184640001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:13:50] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-01 10:13:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-01 10:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366167518424858624,"km_value":366167518424858.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:13:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3839881661047048192,"description":"Unknown IO ID 45"} 
[2026-08-01 10:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103184640001,"power":27767,"unknown_225":206,"unknown_81":23552,"ignition":51,"odometer":null,"unknown_45":3839881661047048192}} 
[2026-08-01 10:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":148467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:13:50] local.INFO: GPS data processed {"connection_id":148467,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:13:50] local.INFO: Acknowledgment sent {"connection_id":148467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:13:55] local.INFO: TCP Data received {"connection_id":148467,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbba128e8012d350d8006b26558000d012d29..."} 
[2026-08-01 10:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbba128e8012d350d8006b26558000d012d29..."} 
[2026-08-01 10:13:55] local.INFO: Processing buffer {"connection_id":148467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbba128e8012d350d8006b26558000d012d29..."} 
[2026-08-01 10:13:55] local.INFO: Packet analysis {"connection_id":148467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbba1"} 
[2026-08-01 10:13:55] local.INFO: Extracted packet for processing {"connection_id":148467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbba1"} 
[2026-08-01 10:13:55] local.INFO: GPS Element Parsed {"raw_longitude":758451584,"raw_latitude":112354648,"longitude_deg":75.8451584,"latitude_deg":11.2354648,"altitude":13,"angle":301,"satellites":41,"speed":49,"hex_longitude":"2d350d80","hex_latitude":"06b26558","is_valid_coordinates":true} 
[2026-08-01 10:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103186432001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366167952216555520,"note":"Value kept but may cause issues"} 
[2026-08-01 10:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3831367043002839040,"note":"Value kept but may cause issues"} 
[2026-08-01 10:13:55] 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-08-01 10:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785559329000,"timestamp_ms":1785559329000,"timestamp_seconds":1785559329,"priority":1,"record_length":96,"hex_timestamp":"0000019fbba128e8"} 
[2026-08-01 10:13:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:13: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-08-01 10:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 10:13:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:13:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:13:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103186432001,"66":27745,"225":206,"81":23552,"24":49,"16":366167952216555520,"45":3831367043002839040},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,81,24,16,45]} 
[2026-08-01 10:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103186432001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:13:55] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-01 10:13:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-01 10:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366167952216555520,"km_value":366167952216555.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3831367043002839040,"description":"Unknown IO ID 45"} 
[2026-08-01 10:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103186432001,"power":27745,"unknown_225":206,"unknown_81":23552,"ignition":49,"odometer":null,"unknown_45":3831367043002839040}} 
[2026-08-01 10:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":148467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:13:55] local.INFO: GPS data processed {"connection_id":148467,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:13:55] local.INFO: Acknowledgment sent {"connection_id":148467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:14:26] local.INFO: TCP Data received {"connection_id":148467,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbba14c10012d34e98006b27b98000c012e2b..."} 
[2026-08-01 10:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbba14c10012d34e98006b27b98000c012e2b..."} 
[2026-08-01 10:14:26] local.INFO: Processing buffer {"connection_id":148467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbba14c10012d34e98006b27b98000c012e2b..."} 
[2026-08-01 10:14:26] local.INFO: Packet analysis {"connection_id":148467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbba1"} 
[2026-08-01 10:14:26] local.INFO: Extracted packet for processing {"connection_id":148467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbba1"} 
[2026-08-01 10:14:26] local.INFO: GPS Element Parsed {"raw_longitude":758442368,"raw_latitude":112360344,"longitude_deg":75.8442368,"latitude_deg":11.2360344,"altitude":12,"angle":302,"satellites":43,"speed":45,"hex_longitude":"2d34e980","hex_latitude":"06b27b98","is_valid_coordinates":true} 
[2026-08-01 10:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103188224001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366168471907598336,"note":"Value kept but may cause issues"} 
[2026-08-01 10:14:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3822852424958564352,"note":"Value kept but may cause issues"} 
[2026-08-01 10:14:26] 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-08-01 10:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785559338000,"timestamp_ms":1785559338000,"timestamp_seconds":1785559338,"priority":1,"record_length":96,"hex_timestamp":"0000019fbba14c10"} 
[2026-08-01 10:14:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:14: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-08-01 10:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 10:14:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:14:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:14:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:14:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103188224001,"66":27908,"225":206,"81":23552,"24":45,"16":366168471907598336,"45":3822852424958564352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,81,24,16,45]} 
[2026-08-01 10:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103188224001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:14:26] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-01 10:14:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-01 10:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366168471907598336,"km_value":366168471907598.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:14:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3822852424958564352,"description":"Unknown IO ID 45"} 
[2026-08-01 10:14:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103188224001,"power":27908,"unknown_225":206,"unknown_81":23552,"ignition":45,"odometer":null,"unknown_45":3822852424958564352}} 
[2026-08-01 10:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":148467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:14:26] local.INFO: GPS data processed {"connection_id":148467,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:14:26] local.INFO: Acknowledgment sent {"connection_id":148467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:14:44] local.INFO: TCP Data received {"connection_id":147150,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:14:45] local.INFO: Processing buffer {"connection_id":147150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:14:45] local.INFO: IMEI packet received {"connection_id":147150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":147150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:14:49] local.INFO: TCP Data received {"connection_id":147150,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:14:50] local.INFO: Processing buffer {"connection_id":147150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:14:50] local.INFO: IMEI packet received {"connection_id":147150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":147150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:14:50] local.INFO: TCP Data received {"connection_id":147150,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbba16b50012d34ca8006b28f80000a012e2a..."} 
[2026-08-01 10:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbba16b50012d34ca8006b28f80000a012e2a..."} 
[2026-08-01 10:14:50] local.INFO: Processing buffer {"connection_id":147150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbba16b50012d34ca8006b28f80000a012e2a..."} 
[2026-08-01 10:14:50] local.INFO: Packet analysis {"connection_id":147150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbba1"} 
[2026-08-01 10:14:50] local.INFO: Extracted packet for processing {"connection_id":147150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbba1"} 
[2026-08-01 10:14:50] local.INFO: GPS Element Parsed {"raw_longitude":758434432,"raw_latitude":112365440,"longitude_deg":75.8434432,"latitude_deg":11.236544,"altitude":10,"angle":302,"satellites":42,"speed":45,"hex_longitude":"2d34ca80","hex_latitude":"06b28f80","is_valid_coordinates":true} 
[2026-08-01 10: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-08-01 10:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103190528001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366168922879164416,"note":"Value kept but may cause issues"} 
[2026-08-01 10:14:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3812719325798438912,"note":"Value kept but may cause issues"} 
[2026-08-01 10:14:50] 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-08-01 10:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785559346000,"timestamp_ms":1785559346000,"timestamp_seconds":1785559346,"priority":1,"record_length":96,"hex_timestamp":"0000019fbba16b50"} 
[2026-08-01 10:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:14:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 10:14:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10: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-08-01 10:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:14:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103190528001,"66":27800,"225":206,"81":23552,"24":45,"16":366168922879164416,"45":3812719325798438912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,81,24,16,45]} 
[2026-08-01 10:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103190528001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:14:50] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-01 10:14:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-01 10:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366168922879164416,"km_value":366168922879164.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:14:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3812719325798438912,"description":"Unknown IO ID 45"} 
[2026-08-01 10:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103190528001,"power":27800,"unknown_225":206,"unknown_81":23552,"ignition":45,"odometer":null,"unknown_45":3812719325798438912}} 
[2026-08-01 10:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":147150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:14:50] local.INFO: GPS data processed {"connection_id":147150,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:14:50] local.INFO: Acknowledgment sent {"connection_id":147150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:14:55] local.INFO: TCP Data received {"connection_id":147150,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbba19648012d34a9c006b2a2d80009012e2b..."} 
[2026-08-01 10:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbba19648012d34a9c006b2a2d80009012e2b..."} 
[2026-08-01 10:14:55] local.INFO: Processing buffer {"connection_id":147150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbba19648012d34a9c006b2a2d80009012e2b..."} 
[2026-08-01 10:14:55] local.INFO: Packet analysis {"connection_id":147150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbba1"} 
[2026-08-01 10:14:55] local.INFO: Extracted packet for processing {"connection_id":147150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbba1"} 
[2026-08-01 10:14:55] local.INFO: GPS Element Parsed {"raw_longitude":758426048,"raw_latitude":112370392,"longitude_deg":75.8426048,"latitude_deg":11.2370392,"altitude":9,"angle":302,"satellites":43,"speed":23,"hex_longitude":"2d34a9c0","hex_latitude":"06b2a2d8","is_valid_coordinates":true} 
[2026-08-01 10: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-08-01 10:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103192576001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366169386735632384,"note":"Value kept but may cause issues"} 
[2026-08-01 10:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803993601521713152,"note":"Value kept but may cause issues"} 
[2026-08-01 10:14:55] 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-08-01 10:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785559357000,"timestamp_ms":1785559357000,"timestamp_seconds":1785559357,"priority":1,"record_length":96,"hex_timestamp":"0000019fbba19648"} 
[2026-08-01 10:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:14: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-08-01 10:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 10:14: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-08-01 10: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-08-01 10:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":147150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":147150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":147150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103192576001,"66":27843,"225":206,"81":23552,"24":23,"16":366169386735632384,"45":3803993601521713152},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,81,24,16,45]} 
[2026-08-01 10:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103192576001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:14:55] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-01 10:14:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-01 10:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366169386735632384,"km_value":366169386735632.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803993601521713152,"description":"Unknown IO ID 45"} 
[2026-08-01 10:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103192576001,"power":27843,"unknown_225":206,"unknown_81":23552,"ignition":23,"odometer":null,"unknown_45":3803993601521713152}} 
[2026-08-01 10:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":147150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:14:55] local.INFO: GPS data processed {"connection_id":147150,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:14:55] local.INFO: Acknowledgment sent {"connection_id":147150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:15:26] local.INFO: TCP Data received {"connection_id":147150,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbba1e468012d349dc006b2aba8000801332b..."} 
[2026-08-01 10:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbba1e468012d349dc006b2aba8000801332b..."} 
[2026-08-01 10:15:26] local.INFO: Processing buffer {"connection_id":147150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbba1e468012d349dc006b2aba8000801332b..."} 
[2026-08-01 10:15:26] local.INFO: Packet analysis {"connection_id":147150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbba1"} 
[2026-08-01 10:15:26] local.INFO: Extracted packet for processing {"connection_id":147150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbba1"} 
[2026-08-01 10:15:26] local.INFO: GPS Element Parsed {"raw_longitude":758422976,"raw_latitude":112372648,"longitude_deg":75.8422976,"latitude_deg":11.2372648,"altitude":8,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d349dc0","hex_latitude":"06b2aba8","is_valid_coordinates":true} 
[2026-08-01 10: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-08-01 10:15:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103195392001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:15:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366169575714193408,"note":"Value kept but may cause issues"} 
[2026-08-01 10:15:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3794775296035706880,"note":"Value kept but may cause issues"} 
[2026-08-01 10:15:26] 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-08-01 10:15:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785559377000,"timestamp_ms":1785559377000,"timestamp_seconds":1785559377,"priority":1,"record_length":96,"hex_timestamp":"0000019fbba1e468"} 
[2026-08-01 10:15:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:15:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10: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":195,"data_length":795,"current_offset":136} 
[2026-08-01 10:15:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10: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-08-01 10:15:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:15:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:15:26] local.INFO: Teltonika packet parsed successfully {"connection_id":147150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:15:26] local.INFO: Passing IMEI to GPS processor {"connection_id":147150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:15:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":147150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:15:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:15:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:15:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:15:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103195392001,"66":27767,"225":206,"81":23552,"24":0,"16":366169575714193408,"45":3794775296035706880},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,81,24,16,45]} 
[2026-08-01 10:15:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:15:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:15:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103195392001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:15:26] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-01 10:15:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-01 10:15:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366169575714193408,"km_value":366169575714193.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:15:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3794775296035706880,"description":"Unknown IO ID 45"} 
[2026-08-01 10:15:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103195392001,"power":27767,"unknown_225":206,"unknown_81":23552,"ignition":0,"odometer":null,"unknown_45":3794775296035706880}} 
[2026-08-01 10:15:26] local.INFO: DEBUG: GPS processor result {"connection_id":147150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:15:26] local.INFO: GPS data processed {"connection_id":147150,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:15:26] local.INFO: Acknowledgment sent {"connection_id":147150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:15:41] local.INFO: TCP Data received {"connection_id":146141,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:15:41] local.INFO: Processing buffer {"connection_id":146141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:15:41] local.INFO: IMEI packet received {"connection_id":146141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":146141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:15:45] local.INFO: TCP Data received {"connection_id":146141,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:15:45] local.INFO: Processing buffer {"connection_id":146141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:15:45] local.INFO: IMEI packet received {"connection_id":146141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":146141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:15:50] local.INFO: TCP Data received {"connection_id":146141,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:15:50] local.INFO: Processing buffer {"connection_id":146141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:15:50] local.INFO: IMEI packet received {"connection_id":146141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":146141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:15:54] local.INFO: TCP Data received {"connection_id":146141,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbba23670012d349dc006b2aba8000801332c..."} 
[2026-08-01 10:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbba23670012d349dc006b2aba8000801332c..."} 
[2026-08-01 10:15:54] local.INFO: Processing buffer {"connection_id":146141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbba23670012d349dc006b2aba8000801332c..."} 
[2026-08-01 10:15:54] local.INFO: Packet analysis {"connection_id":146141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbba2"} 
[2026-08-01 10:15:54] local.INFO: Extracted packet for processing {"connection_id":146141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbba2"} 
[2026-08-01 10:15:54] local.INFO: GPS Element Parsed {"raw_longitude":758422976,"raw_latitude":112372648,"longitude_deg":75.8422976,"latitude_deg":11.2372648,"altitude":8,"angle":307,"satellites":44,"speed":0,"hex_longitude":"2d349dc0","hex_latitude":"06b2aba8","is_valid_coordinates":true} 
[2026-08-01 10:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103200512001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:15:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366169575714193408,"note":"Value kept but may cause issues"} 
[2026-08-01 10:15:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3791397596315756544,"note":"Value kept but may cause issues"} 
[2026-08-01 10:15:54] 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-08-01 10:15:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785559398000,"timestamp_ms":1785559398000,"timestamp_seconds":1785559398,"priority":1,"record_length":96,"hex_timestamp":"0000019fbba23670"} 
[2026-08-01 10:15:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:15:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 10:15:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:15:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:15:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:15:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:15:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:15:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:15:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:15:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:15:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:15:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:15:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103200512001,"66":27767,"225":206,"81":23552,"24":0,"16":366169575714193408,"45":3791397596315756544},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,81,24,16,45]} 
[2026-08-01 10:15:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:15:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:15:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103200512001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:15:54] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-01 10:15:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-01 10:15:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366169575714193408,"km_value":366169575714193.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:15:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3791397596315756544,"description":"Unknown IO ID 45"} 
[2026-08-01 10:15:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103200512001,"power":27767,"unknown_225":206,"unknown_81":23552,"ignition":0,"odometer":null,"unknown_45":3791397596315756544}} 
[2026-08-01 10:15:54] local.INFO: DEBUG: GPS processor result {"connection_id":146141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:15:54] local.INFO: GPS data processed {"connection_id":146141,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:15:54] local.INFO: Acknowledgment sent {"connection_id":146141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:16:29] local.INFO: TCP Data received {"connection_id":146141,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbba28878012d349dc006b2aba8000801332c..."} 
[2026-08-01 10:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbba28878012d349dc006b2aba8000801332c..."} 
[2026-08-01 10:16:29] local.INFO: Processing buffer {"connection_id":146141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbba28878012d349dc006b2aba8000801332c..."} 
[2026-08-01 10:16:29] local.INFO: Packet analysis {"connection_id":146141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbba2"} 
[2026-08-01 10:16:29] local.INFO: Extracted packet for processing {"connection_id":146141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbba2"} 
[2026-08-01 10:16:29] local.INFO: GPS Element Parsed {"raw_longitude":758422976,"raw_latitude":112372648,"longitude_deg":75.8422976,"latitude_deg":11.2372648,"altitude":8,"angle":307,"satellites":44,"speed":0,"hex_longitude":"2d349dc0","hex_latitude":"06b2aba8","is_valid_coordinates":true} 
[2026-08-01 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-08-01 10:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103205888001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366169575714193408,"note":"Value kept but may cause issues"} 
[2026-08-01 10:16:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3791397596315756544,"note":"Value kept but may cause issues"} 
[2026-08-01 10:16:29] 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-08-01 10:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785559419000,"timestamp_ms":1785559419000,"timestamp_seconds":1785559419,"priority":1,"record_length":96,"hex_timestamp":"0000019fbba28878"} 
[2026-08-01 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-08-01 10:16: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-08-01 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-08-01 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-08-01 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-08-01 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-08-01 10:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":146141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":146141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":146141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:16: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-08-01 10:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103205888001,"66":27887,"225":206,"81":23552,"24":0,"16":366169575714193408,"45":3791397596315756544},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,81,24,16,45]} 
[2026-08-01 10:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103205888001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:16:29] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-01 10:16:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-01 10:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366169575714193408,"km_value":366169575714193.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:16:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3791397596315756544,"description":"Unknown IO ID 45"} 
[2026-08-01 10:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103205888001,"power":27887,"unknown_225":206,"unknown_81":23552,"ignition":0,"odometer":null,"unknown_45":3791397596315756544}} 
[2026-08-01 10:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":146141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:16:29] local.INFO: GPS data processed {"connection_id":146141,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:16:29] local.INFO: Acknowledgment sent {"connection_id":146141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:16:45] local.INFO: TCP Data received {"connection_id":147151,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:16:45] local.INFO: Processing buffer {"connection_id":147151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:16:45] local.INFO: IMEI packet received {"connection_id":147151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":147151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:16:45] local.INFO: TCP Data received {"connection_id":147151,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:16:45] local.INFO: Processing buffer {"connection_id":147151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:16:45] local.INFO: IMEI packet received {"connection_id":147151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":147151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:16:50] local.INFO: TCP Data received {"connection_id":147151,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:16:50] local.INFO: Processing buffer {"connection_id":147151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:16:50] local.INFO: IMEI packet received {"connection_id":147151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":147151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:16:50] local.INFO: TCP Data received {"connection_id":147151,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbba2da80012d349dc006b2aba8000801332c..."} 
[2026-08-01 10:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbba2da80012d349dc006b2aba8000801332c..."} 
[2026-08-01 10:16:50] local.INFO: Processing buffer {"connection_id":147151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbba2da80012d349dc006b2aba8000801332c..."} 
[2026-08-01 10:16:50] local.INFO: Packet analysis {"connection_id":147151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbba2"} 
[2026-08-01 10:16:50] local.INFO: Extracted packet for processing {"connection_id":147151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbba2"} 
[2026-08-01 10:16:50] local.INFO: GPS Element Parsed {"raw_longitude":758422976,"raw_latitude":112372648,"longitude_deg":75.8422976,"latitude_deg":11.2372648,"altitude":8,"angle":307,"satellites":44,"speed":0,"hex_longitude":"2d349dc0","hex_latitude":"06b2aba8","is_valid_coordinates":true} 
[2026-08-01 10:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:16:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103211264001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:16:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366169575714193408,"note":"Value kept but may cause issues"} 
[2026-08-01 10:16:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3791397596315756544,"note":"Value kept but may cause issues"} 
[2026-08-01 10:16:50] 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-08-01 10:16:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785559440000,"timestamp_ms":1785559440000,"timestamp_seconds":1785559440,"priority":1,"record_length":96,"hex_timestamp":"0000019fbba2da80"} 
[2026-08-01 10:16:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:16: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-08-01 10:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-01 10:16:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:16:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:16:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:16:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:16:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:16:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:16:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:16:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:16:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:16:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:16:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103211264001,"66":27930,"225":206,"81":23552,"24":0,"16":366169575714193408,"45":3791397596315756544},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,81,24,16,45]} 
[2026-08-01 10:16:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:16:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:16:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103211264001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:16:50] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-01 10:16:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-01 10:16:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366169575714193408,"km_value":366169575714193.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:16:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3791397596315756544,"description":"Unknown IO ID 45"} 
[2026-08-01 10:16:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103211264001,"power":27930,"unknown_225":206,"unknown_81":23552,"ignition":0,"odometer":null,"unknown_45":3791397596315756544}} 
[2026-08-01 10:16:50] local.INFO: DEBUG: GPS processor result {"connection_id":147151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:16:50] local.INFO: GPS data processed {"connection_id":147151,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:16:50] local.INFO: Acknowledgment sent {"connection_id":147151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:17:22] local.INFO: TCP Data received {"connection_id":147151,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbba32c88012d349dc006b2aba8000801332b..."} 
[2026-08-01 10:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbba32c88012d349dc006b2aba8000801332b..."} 
[2026-08-01 10:17:22] local.INFO: Processing buffer {"connection_id":147151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbba32c88012d349dc006b2aba8000801332b..."} 
[2026-08-01 10:17:22] local.INFO: Packet analysis {"connection_id":147151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbba3"} 
[2026-08-01 10:17:22] local.INFO: Extracted packet for processing {"connection_id":147151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbba3"} 
[2026-08-01 10:17:22] local.INFO: GPS Element Parsed {"raw_longitude":758422976,"raw_latitude":112372648,"longitude_deg":75.8422976,"latitude_deg":11.2372648,"altitude":8,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d349dc0","hex_latitude":"06b2aba8","is_valid_coordinates":true} 
[2026-08-01 10:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103216640001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366169575714193408,"note":"Value kept but may cause issues"} 
[2026-08-01 10:17:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3791397596315756544,"note":"Value kept but may cause issues"} 
[2026-08-01 10:17:22] 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-08-01 10:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785559461000,"timestamp_ms":1785559461000,"timestamp_seconds":1785559461,"priority":1,"record_length":96,"hex_timestamp":"0000019fbba32c88"} 
[2026-08-01 10:17:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:17:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-01 10:17:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:17:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:17:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:17:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103216640001,"66":27919,"225":206,"81":23552,"24":0,"16":366169575714193408,"45":3791397596315756544},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,81,24,16,45]} 
[2026-08-01 10:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103216640001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:17:22] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-01 10:17:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-01 10:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366169575714193408,"km_value":366169575714193.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:17:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3791397596315756544,"description":"Unknown IO ID 45"} 
[2026-08-01 10:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103216640001,"power":27919,"unknown_225":206,"unknown_81":23552,"ignition":0,"odometer":null,"unknown_45":3791397596315756544}} 
[2026-08-01 10:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":147151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:17:22] local.INFO: GPS data processed {"connection_id":147151,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:17:22] local.INFO: Acknowledgment sent {"connection_id":147151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:17:45] local.INFO: TCP Data received {"connection_id":148468,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:17:45] local.INFO: Processing buffer {"connection_id":148468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:17:45] local.INFO: IMEI packet received {"connection_id":148468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":148468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:17:47] local.INFO: TCP Data received {"connection_id":148468,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:17:47] local.INFO: Processing buffer {"connection_id":148468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:17:47] local.INFO: IMEI packet received {"connection_id":148468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":148468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:17:50] local.INFO: TCP Data received {"connection_id":148468,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:17:50] local.INFO: Processing buffer {"connection_id":148468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:17:50] local.INFO: IMEI packet received {"connection_id":148468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":148468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:17:51] local.INFO: TCP Data received {"connection_id":148468,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbba37e90012d349dc006b2aba8000801332b..."} 
[2026-08-01 10:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbba37e90012d349dc006b2aba8000801332b..."} 
[2026-08-01 10:17:51] local.INFO: Processing buffer {"connection_id":148468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbba37e90012d349dc006b2aba8000801332b..."} 
[2026-08-01 10:17:51] local.INFO: Packet analysis {"connection_id":148468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbba3"} 
[2026-08-01 10:17:51] local.INFO: Extracted packet for processing {"connection_id":148468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbba3"} 
[2026-08-01 10:17:51] local.INFO: GPS Element Parsed {"raw_longitude":758422976,"raw_latitude":112372648,"longitude_deg":75.8422976,"latitude_deg":11.2372648,"altitude":8,"angle":307,"satellites":43,"speed":0,"hex_longitude":"2d349dc0","hex_latitude":"06b2aba8","is_valid_coordinates":true} 
[2026-08-01 10:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103222016001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366169575714193408,"note":"Value kept but may cause issues"} 
[2026-08-01 10:17:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3791397596315756544,"note":"Value kept but may cause issues"} 
[2026-08-01 10:17:51] 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-08-01 10:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785559482000,"timestamp_ms":1785559482000,"timestamp_seconds":1785559482,"priority":1,"record_length":96,"hex_timestamp":"0000019fbba37e90"} 
[2026-08-01 10:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:17: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-08-01 10:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 10:17:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:17:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:17:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103222016001,"66":27767,"225":206,"81":23552,"24":0,"16":366169575714193408,"45":3791397596315756544},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,81,24,16,45]} 
[2026-08-01 10:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103222016001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:17:51] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-01 10:17:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-01 10:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366169575714193408,"km_value":366169575714193.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:17:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3791397596315756544,"description":"Unknown IO ID 45"} 
[2026-08-01 10:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103222016001,"power":27767,"unknown_225":206,"unknown_81":23552,"ignition":0,"odometer":null,"unknown_45":3791397596315756544}} 
[2026-08-01 10:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":148468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:17:51] local.INFO: GPS data processed {"connection_id":148468,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:17:51] local.INFO: Acknowledgment sent {"connection_id":148468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:17:55] local.INFO: TCP Data received {"connection_id":148468,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbba3d098012d349a0006b2aed0000801332c..."} 
[2026-08-01 10:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbba3d098012d349a0006b2aed0000801332c..."} 
[2026-08-01 10:17:55] local.INFO: Processing buffer {"connection_id":148468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbba3d098012d349a0006b2aed0000801332c..."} 
[2026-08-01 10:17:55] local.INFO: Packet analysis {"connection_id":148468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbba3"} 
[2026-08-01 10:17:55] local.INFO: Extracted packet for processing {"connection_id":148468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbba3"} 
[2026-08-01 10:17:55] local.INFO: GPS Element Parsed {"raw_longitude":758422016,"raw_latitude":112373456,"longitude_deg":75.8422016,"latitude_deg":11.2373456,"altitude":8,"angle":307,"satellites":44,"speed":4,"hex_longitude":"2d349a00","hex_latitude":"06b2aed0","is_valid_coordinates":true} 
[2026-08-01 10:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103227392001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366169640138702848,"note":"Value kept but may cause issues"} 
[2026-08-01 10:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3791397596315756544,"note":"Value kept but may cause issues"} 
[2026-08-01 10:17:55] 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-08-01 10:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785559503000,"timestamp_ms":1785559503000,"timestamp_seconds":1785559503,"priority":1,"record_length":96,"hex_timestamp":"0000019fbba3d098"} 
[2026-08-01 10:17:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:17: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-08-01 10:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 10:17:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:17:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:17:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:17:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103227392001,"66":27767,"225":206,"81":23552,"24":4,"16":366169640138702848,"45":3791397596315756544},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,81,24,16,45]} 
[2026-08-01 10:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103227392001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:17:55] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-01 10:17:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-01 10:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366169640138702848,"km_value":366169640138702.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3791397596315756544,"description":"Unknown IO ID 45"} 
[2026-08-01 10:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103227392001,"power":27767,"unknown_225":206,"unknown_81":23552,"ignition":4,"odometer":null,"unknown_45":3791397596315756544}} 
[2026-08-01 10:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":148468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:17:55] local.INFO: GPS data processed {"connection_id":148468,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:17:55] local.INFO: Acknowledgment sent {"connection_id":148468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:18:26] local.INFO: TCP Data received {"connection_id":148468,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbba422a0012d34914006b2b4000009012b2b..."} 
[2026-08-01 10:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbba422a0012d34914006b2b4000009012b2b..."} 
[2026-08-01 10:18:26] local.INFO: Processing buffer {"connection_id":148468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbba422a0012d34914006b2b4000009012b2b..."} 
[2026-08-01 10:18:26] local.INFO: Packet analysis {"connection_id":148468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbba4"} 
[2026-08-01 10:18:26] local.INFO: Extracted packet for processing {"connection_id":148468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbba4"} 
[2026-08-01 10:18:26] local.INFO: GPS Element Parsed {"raw_longitude":758419776,"raw_latitude":112374784,"longitude_deg":75.8419776,"latitude_deg":11.2374784,"altitude":9,"angle":299,"satellites":43,"speed":0,"hex_longitude":"2d349140","hex_latitude":"06b2b400","is_valid_coordinates":true} 
[2026-08-01 10:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:18:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103232768001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:18:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366169764692754432,"note":"Value kept but may cause issues"} 
[2026-08-01 10:18:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3790342065153298432,"note":"Value kept but may cause issues"} 
[2026-08-01 10:18:26] 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-08-01 10:18:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785559524000,"timestamp_ms":1785559524000,"timestamp_seconds":1785559524,"priority":1,"record_length":96,"hex_timestamp":"0000019fbba422a0"} 
[2026-08-01 10:18:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:18: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-08-01 10:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 10:18: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-08-01 10:18:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:18:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:18:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:18:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:18:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:18:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:18:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:18:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:18:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:18:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103232768001,"66":27800,"225":206,"81":23552,"24":0,"16":366169764692754432,"45":3790342065153298432},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,81,24,16,45]} 
[2026-08-01 10:18:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:18:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:18:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103232768001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:18:26] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-01 10:18:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-01 10:18:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366169764692754432,"km_value":366169764692754.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:18:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3790342065153298432,"description":"Unknown IO ID 45"} 
[2026-08-01 10:18:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103232768001,"power":27800,"unknown_225":206,"unknown_81":23552,"ignition":0,"odometer":null,"unknown_45":3790342065153298432}} 
[2026-08-01 10:18:26] local.INFO: DEBUG: GPS processor result {"connection_id":148468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:18:26] local.INFO: GPS data processed {"connection_id":148468,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:18:26] local.INFO: Acknowledgment sent {"connection_id":148468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:18:44] local.INFO: TCP Data received {"connection_id":147152,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:18:44] local.INFO: Processing buffer {"connection_id":147152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:18:44] local.INFO: IMEI packet received {"connection_id":147152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":147152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:18:50] local.INFO: TCP Data received {"connection_id":147152,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:18:50] local.INFO: Processing buffer {"connection_id":147152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:18:50] local.INFO: IMEI packet received {"connection_id":147152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":147152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:18:51] local.INFO: TCP Data received {"connection_id":147152,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbba474a8012d348c8006b2b6f00009012b2a..."} 
[2026-08-01 10:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbba474a8012d348c8006b2b6f00009012b2a..."} 
[2026-08-01 10:18:51] local.INFO: Processing buffer {"connection_id":147152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbba474a8012d348c8006b2b6f00009012b2a..."} 
[2026-08-01 10:18:51] local.INFO: Packet analysis {"connection_id":147152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbba4"} 
[2026-08-01 10:18:51] local.INFO: Extracted packet for processing {"connection_id":147152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbba4"} 
[2026-08-01 10:18:51] local.INFO: GPS Element Parsed {"raw_longitude":758418560,"raw_latitude":112375536,"longitude_deg":75.841856,"latitude_deg":11.2375536,"altitude":9,"angle":299,"satellites":42,"speed":0,"hex_longitude":"2d348c80","hex_latitude":"06b2b6f0","is_valid_coordinates":true} 
[2026-08-01 10:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103238144001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366169833412231168,"note":"Value kept but may cause issues"} 
[2026-08-01 10:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3787879159107420160,"note":"Value kept but may cause issues"} 
[2026-08-01 10:18:51] 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-08-01 10:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785559545000,"timestamp_ms":1785559545000,"timestamp_seconds":1785559545,"priority":1,"record_length":96,"hex_timestamp":"0000019fbba474a8"} 
[2026-08-01 10:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:18: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-08-01 10:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 10:18:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:18:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":147152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":147152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":147152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:18:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103238144001,"66":27930,"225":206,"81":23552,"24":0,"16":366169833412231168,"45":3787879159107420160},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,81,24,16,45]} 
[2026-08-01 10:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103238144001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:18:51] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-01 10:18:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-01 10:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366169833412231168,"km_value":366169833412231.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3787879159107420160,"description":"Unknown IO ID 45"} 
[2026-08-01 10:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103238144001,"power":27930,"unknown_225":206,"unknown_81":23552,"ignition":0,"odometer":null,"unknown_45":3787879159107420160}} 
[2026-08-01 10:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":147152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:18:51] local.INFO: GPS data processed {"connection_id":147152,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:18:51] local.INFO: Acknowledgment sent {"connection_id":147152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:19:23] local.INFO: TCP Data received {"connection_id":147152,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbba6f160012d33c3c006b35cf00011014d28..."} 
[2026-08-01 10:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbba6f160012d33c3c006b35cf00011014d28..."} 
[2026-08-01 10:19:23] local.INFO: Processing buffer {"connection_id":147152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbba6f160012d33c3c006b35cf00011014d28..."} 
[2026-08-01 10:19:23] local.INFO: Packet analysis {"connection_id":147152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbba6"} 
[2026-08-01 10:19:23] local.INFO: Extracted packet for processing {"connection_id":147152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbba6"} 
[2026-08-01 10:19:23] local.INFO: GPS Element Parsed {"raw_longitude":758367168,"raw_latitude":112418032,"longitude_deg":75.8367168,"latitude_deg":11.2418032,"altitude":17,"angle":333,"satellites":40,"speed":45,"hex_longitude":"2d33c3c0","hex_latitude":"06b35cf0","is_valid_coordinates":true} 
[2026-08-01 10:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103283200001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366173076112539648,"note":"Value kept but may cause issues"} 
[2026-08-01 10:19:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3735172969727504384,"note":"Value kept but may cause issues"} 
[2026-08-01 10:19:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785559708000,"timestamp_ms":1785559708000,"timestamp_seconds":1785559708,"priority":1,"record_length":96,"hex_timestamp":"0000019fbba6f160"} 
[2026-08-01 10:19:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:19: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-08-01 10:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 10:19:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:19:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:19:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":147152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":147152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":147152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:19:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103283200001,"66":27658,"254":206,"81":23552,"24":45,"16":366173076112539648,"45":3735172969727504384},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,81,24,16,45]} 
[2026-08-01 10:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103283200001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:19:23] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-01 10:19:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-01 10:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366173076112539648,"km_value":366173076112539.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:19:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3735172969727504384,"description":"Unknown IO ID 45"} 
[2026-08-01 10:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103283200001,"power":27658,"unknown_254":206,"unknown_81":23552,"ignition":45,"odometer":null,"unknown_45":3735172969727504384}} 
[2026-08-01 10:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":147152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:19:23] local.INFO: GPS data processed {"connection_id":147152,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:19:23] local.INFO: Acknowledgment sent {"connection_id":147152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:19:49] local.INFO: TCP Data received {"connection_id":148469,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:19:49] local.INFO: Processing buffer {"connection_id":148469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:19:49] local.INFO: IMEI packet received {"connection_id":148469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":148469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:19:55] local.INFO: TCP Data received {"connection_id":148469,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:19:55] local.INFO: Processing buffer {"connection_id":148469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:19:55] local.INFO: IMEI packet received {"connection_id":148469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":148469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:19:56] local.INFO: TCP Data received {"connection_id":148469,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbba70cb8012d33b7c006b37bf00010015926..."} 
[2026-08-01 10:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbba70cb8012d33b7c006b37bf00010015926..."} 
[2026-08-01 10:19:56] local.INFO: Processing buffer {"connection_id":148469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbba70cb8012d33b7c006b37bf00010015926..."} 
[2026-08-01 10:19:56] local.INFO: Packet analysis {"connection_id":148469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbba7"} 
[2026-08-01 10:19:56] local.INFO: Extracted packet for processing {"connection_id":148469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbba7"} 
[2026-08-01 10:19:56] local.INFO: GPS Element Parsed {"raw_longitude":758364096,"raw_latitude":112425968,"longitude_deg":75.8364096,"latitude_deg":11.2425968,"altitude":16,"angle":345,"satellites":38,"speed":50,"hex_longitude":"2d33b7c0","hex_latitude":"06b37bf0","is_valid_coordinates":true} 
[2026-08-01 10:19:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103285248001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366173488429400064,"note":"Value kept but may cause issues"} 
[2026-08-01 10:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3730036051404451840,"note":"Value kept but may cause issues"} 
[2026-08-01 10:19:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785559715000,"timestamp_ms":1785559715000,"timestamp_seconds":1785559715,"priority":1,"record_length":96,"hex_timestamp":"0000019fbba70cb8"} 
[2026-08-01 10:19:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:19:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:19:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 10:19:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:19:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:19:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":148469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":148469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":148469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:19:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103285248001,"66":27745,"254":206,"81":23552,"24":50,"16":366173488429400064,"45":3730036051404451840},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,81,24,16,45]} 
[2026-08-01 10:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103285248001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:19:56] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-01 10:19:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-01 10:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366173488429400064,"km_value":366173488429400.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3730036051404451840,"description":"Unknown IO ID 45"} 
[2026-08-01 10:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103285248001,"power":27745,"unknown_254":206,"unknown_81":23552,"ignition":50,"odometer":null,"unknown_45":3730036051404451840}} 
[2026-08-01 10:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":148469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:19:56] local.INFO: GPS data processed {"connection_id":148469,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:19:56] local.INFO: Acknowledgment sent {"connection_id":148469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:20:27] local.INFO: TCP Data received {"connection_id":148469,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbba72428012d33b28006b39a38000e016422..."} 
[2026-08-01 10:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbba72428012d33b28006b39a38000e016422..."} 
[2026-08-01 10:20:27] local.INFO: Processing buffer {"connection_id":148469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbba72428012d33b28006b39a38000e016422..."} 
[2026-08-01 10:20:27] local.INFO: Packet analysis {"connection_id":148469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbba7"} 
[2026-08-01 10:20:27] local.INFO: Extracted packet for processing {"connection_id":148469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbba7"} 
[2026-08-01 10:20:27] local.INFO: GPS Element Parsed {"raw_longitude":758362752,"raw_latitude":112433720,"longitude_deg":75.8362752,"latitude_deg":11.243372,"altitude":14,"angle":356,"satellites":34,"speed":53,"hex_longitude":"2d33b280","hex_latitude":"06b39a38","is_valid_coordinates":true} 
[2026-08-01 10: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-08-01 10:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103287040001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366173870681489408,"note":"Value kept but may cause issues"} 
[2026-08-01 10:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3726658351685955584,"note":"Value kept but may cause issues"} 
[2026-08-01 10:20:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785559721000,"timestamp_ms":1785559721000,"timestamp_seconds":1785559721,"priority":1,"record_length":96,"hex_timestamp":"0000019fbba72428"} 
[2026-08-01 10:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10: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-08-01 10:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 10:20: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-08-01 10: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-08-01 10:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:20: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-08-01 10:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103287040001,"66":27919,"254":206,"81":23552,"24":53,"16":366173870681489408,"45":3726658351685955584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,81,24,16,45]} 
[2026-08-01 10:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103287040001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:20:27] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-01 10:20:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-01 10:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366173870681489408,"km_value":366173870681489.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3726658351685955584,"description":"Unknown IO ID 45"} 
[2026-08-01 10:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103287040001,"power":27919,"unknown_254":206,"unknown_81":23552,"ignition":53,"odometer":null,"unknown_45":3726658351685955584}} 
[2026-08-01 10:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":148469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:20:27] local.INFO: GPS data processed {"connection_id":148469,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:20:27] local.INFO: Acknowledgment sent {"connection_id":148469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:20:44] local.INFO: TCP Data received {"connection_id":146142,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:20:44] local.INFO: Processing buffer {"connection_id":146142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:20:44] local.INFO: IMEI packet received {"connection_id":146142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:20:44] local.INFO: IMEI acknowledgment sent {"connection_id":146142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:20:48] local.INFO: TCP Data received {"connection_id":146142,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:20:48] local.INFO: Processing buffer {"connection_id":146142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:20:48] local.INFO: IMEI packet received {"connection_id":146142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":146142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:20:53] local.INFO: TCP Data received {"connection_id":146142,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbba73f80012d33b38006b3bfb0000e000528..."} 
[2026-08-01 10:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbba73f80012d33b38006b3bfb0000e000528..."} 
[2026-08-01 10:20:53] local.INFO: Processing buffer {"connection_id":146142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbba73f80012d33b38006b3bfb0000e000528..."} 
[2026-08-01 10:20:53] local.INFO: Packet analysis {"connection_id":146142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbba7"} 
[2026-08-01 10:20:53] local.INFO: Extracted packet for processing {"connection_id":146142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbba7"} 
[2026-08-01 10:20:53] local.INFO: GPS Element Parsed {"raw_longitude":758363008,"raw_latitude":112443312,"longitude_deg":75.8363008,"latitude_deg":11.2443312,"altitude":14,"angle":5,"satellites":40,"speed":55,"hex_longitude":"2d33b380","hex_latitude":"06b3bfb0","is_valid_coordinates":true} 
[2026-08-01 10:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103288576001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366174334537957376,"note":"Value kept but may cause issues"} 
[2026-08-01 10:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3725180608060209152,"note":"Value kept but may cause issues"} 
[2026-08-01 10:20:53] 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-08-01 10:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785559728000,"timestamp_ms":1785559728000,"timestamp_seconds":1785559728,"priority":1,"record_length":96,"hex_timestamp":"0000019fbba73f80"} 
[2026-08-01 10:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:20: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-08-01 10:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 10:20:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:20:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":146142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":146142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":146142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:20:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103288576001,"66":27789,"255":206,"81":23552,"24":55,"16":366174334537957376,"45":3725180608060209152},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,81,24,16,45]} 
[2026-08-01 10:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103288576001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:20:53] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-01 10:20:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-01 10:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366174334537957376,"km_value":366174334537957.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3725180608060209152,"description":"Unknown IO ID 45"} 
[2026-08-01 10:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103288576001,"power":27789,"unknown_255":206,"unknown_81":23552,"ignition":55,"odometer":null,"unknown_45":3725180608060209152}} 
[2026-08-01 10:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":146142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:20:53] local.INFO: GPS data processed {"connection_id":146142,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:20:53] local.INFO: Acknowledgment sent {"connection_id":146142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:20:55] local.INFO: TCP Data received {"connection_id":146142,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbba75ad8012d33b74006b3e4a8000f00042a..."} 
[2026-08-01 10:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbba75ad8012d33b74006b3e4a8000f00042a..."} 
[2026-08-01 10:20:55] local.INFO: Processing buffer {"connection_id":146142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbba75ad8012d33b74006b3e4a8000f00042a..."} 
[2026-08-01 10:20:55] local.INFO: Packet analysis {"connection_id":146142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbba7"} 
[2026-08-01 10:20:55] local.INFO: Extracted packet for processing {"connection_id":146142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbba7"} 
[2026-08-01 10:20:55] local.INFO: GPS Element Parsed {"raw_longitude":758363968,"raw_latitude":112452776,"longitude_deg":75.8363968,"latitude_deg":11.2452776,"altitude":15,"angle":4,"satellites":42,"speed":52,"hex_longitude":"2d33b740","hex_latitude":"06b3e4a8","is_valid_coordinates":true} 
[2026-08-01 10:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103290368001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366174794099458048,"note":"Value kept but may cause issues"} 
[2026-08-01 10:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3725462083039375360,"note":"Value kept but may cause issues"} 
[2026-08-01 10:20:55] 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-08-01 10:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785559735000,"timestamp_ms":1785559735000,"timestamp_seconds":1785559735,"priority":1,"record_length":96,"hex_timestamp":"0000019fbba75ad8"} 
[2026-08-01 10:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:20: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-08-01 10:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-01 10:20:55] 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-08-01 10:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":146142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":146142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":146142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103290368001,"66":27484,"255":206,"81":23552,"24":52,"16":366174794099458048,"45":3725462083039375360},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,81,24,16,45]} 
[2026-08-01 10:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103290368001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:20:55] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-01 10:20:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-01 10:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366174794099458048,"km_value":366174794099458.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3725462083039375360,"description":"Unknown IO ID 45"} 
[2026-08-01 10:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103290368001,"power":27484,"unknown_255":206,"unknown_81":23552,"ignition":52,"odometer":null,"unknown_45":3725462083039375360}} 
[2026-08-01 10:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":146142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:20:55] local.INFO: GPS data processed {"connection_id":146142,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:20:55] local.INFO: Acknowledgment sent {"connection_id":146142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:21:27] local.INFO: TCP Data received {"connection_id":146142,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbba8d1d8012d328bc006b4f0e0001101272a..."} 
[2026-08-01 10:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbba8d1d8012d328bc006b4f0e0001101272a..."} 
[2026-08-01 10:21:27] local.INFO: Processing buffer {"connection_id":146142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbba8d1d8012d328bc006b4f0e0001101272a..."} 
[2026-08-01 10:21:27] local.INFO: Packet analysis {"connection_id":146142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbba8"} 
[2026-08-01 10:21:27] local.INFO: Extracted packet for processing {"connection_id":146142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbba8"} 
[2026-08-01 10:21:27] local.INFO: GPS Element Parsed {"raw_longitude":758287296,"raw_latitude":112521440,"longitude_deg":75.8287296,"latitude_deg":11.252144,"altitude":17,"angle":295,"satellites":42,"speed":58,"hex_longitude":"2d328bc0","hex_latitude":"06b4f0e0","is_valid_coordinates":true} 
[2026-08-01 10: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-08-01 10:21:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103314944001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366180128448839680,"note":"Value kept but may cause issues"} 
[2026-08-01 10:21:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3652208220369348608,"note":"Value kept but may cause issues"} 
[2026-08-01 10:21:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785559831000,"timestamp_ms":1785559831000,"timestamp_seconds":1785559831,"priority":1,"record_length":96,"hex_timestamp":"0000019fbba8d1d8"} 
[2026-08-01 10:21:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10: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-08-01 10: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 10:21: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-08-01 10: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-08-01 10:21:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":146142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":146142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":146142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10: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-08-01 10:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:21:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:21:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103314944001,"66":27800,"170":206,"81":23552,"24":58,"16":366180128448839680,"45":3652208220369348608},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,81,24,16,45]} 
[2026-08-01 10:21:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:21:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:21:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103314944001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:21:27] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-01 10:21:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-01 10:21:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366180128448839680,"km_value":366180128448839.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:21:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3652208220369348608,"description":"Unknown IO ID 45"} 
[2026-08-01 10:21:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103314944001,"power":27800,"unknown_170":206,"unknown_81":23552,"ignition":58,"odometer":null,"unknown_45":3652208220369348608}} 
[2026-08-01 10:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":146142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:21:27] local.INFO: GPS data processed {"connection_id":146142,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:21:27] local.INFO: Acknowledgment sent {"connection_id":146142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:21:59] local.INFO: TCP Data received {"connection_id":148470,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:21:59] local.INFO: Processing buffer {"connection_id":148470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:21:59] local.INFO: IMEI packet received {"connection_id":148470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":148470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:22:03] local.INFO: TCP Data received {"connection_id":148470,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:22:03] local.INFO: Processing buffer {"connection_id":148470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:22:03] local.INFO: IMEI packet received {"connection_id":148470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":148470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:22:04] local.INFO: TCP Data received {"connection_id":148470,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:22:04] local.INFO: Processing buffer {"connection_id":148470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:22:04] local.INFO: IMEI packet received {"connection_id":148470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":148470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:22:05] local.INFO: TCP Data received {"connection_id":148470,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbba8e948012d326a8006b50048000e01272a..."} 
[2026-08-01 10:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbba8e948012d326a8006b50048000e01272a..."} 
[2026-08-01 10:22:05] local.INFO: Processing buffer {"connection_id":148470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbba8e948012d326a8006b50048000e01272a..."} 
[2026-08-01 10:22:05] local.INFO: Packet analysis {"connection_id":148470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbba8"} 
[2026-08-01 10:22:05] local.INFO: Extracted packet for processing {"connection_id":148470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbba8"} 
[2026-08-01 10:22:05] local.INFO: GPS Element Parsed {"raw_longitude":758278784,"raw_latitude":112525384,"longitude_deg":75.8278784,"latitude_deg":11.2525384,"altitude":14,"angle":295,"satellites":42,"speed":62,"hex_longitude":"2d326a80","hex_latitude":"06b50048","is_valid_coordinates":true} 
[2026-08-01 10: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-08-01 10:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103316736001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366180575125438464,"note":"Value kept but may cause issues"} 
[2026-08-01 10:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3642215858697199616,"note":"Value kept but may cause issues"} 
[2026-08-01 10:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785559837000,"timestamp_ms":1785559837000,"timestamp_seconds":1785559837,"priority":1,"record_length":96,"hex_timestamp":"0000019fbba8e948"} 
[2026-08-01 10:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:22: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-08-01 10:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 10:22: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-08-01 10: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-08-01 10:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:22: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-08-01 10:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103316736001,"66":27865,"170":206,"81":23552,"24":62,"16":366180575125438464,"45":3642215858697199616},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,81,24,16,45]} 
[2026-08-01 10:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103316736001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:22:05] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-01 10:22:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-01 10:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366180575125438464,"km_value":366180575125438.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3642215858697199616,"description":"Unknown IO ID 45"} 
[2026-08-01 10:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103316736001,"power":27865,"unknown_170":206,"unknown_81":23552,"ignition":62,"odometer":null,"unknown_45":3642215858697199616}} 
[2026-08-01 10:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":148470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:22:05] local.INFO: GPS data processed {"connection_id":148470,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:22:05] local.INFO: Acknowledgment sent {"connection_id":148470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:22:10] local.INFO: TCP Data received {"connection_id":148470,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbba900b8012d32498006b51110000c012a29..."} 
[2026-08-01 10:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbba900b8012d32498006b51110000c012a29..."} 
[2026-08-01 10:22:10] local.INFO: Processing buffer {"connection_id":148470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbba900b8012d32498006b51110000c012a29..."} 
[2026-08-01 10:22:10] local.INFO: Packet analysis {"connection_id":148470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbba9"} 
[2026-08-01 10:22:10] local.INFO: Extracted packet for processing {"connection_id":148470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbba9"} 
[2026-08-01 10:22:10] local.INFO: GPS Element Parsed {"raw_longitude":758270336,"raw_latitude":112529680,"longitude_deg":75.8270336,"latitude_deg":11.252968,"altitude":12,"angle":298,"satellites":41,"speed":62,"hex_longitude":"2d324980","hex_latitude":"06b51110","is_valid_coordinates":true} 
[2026-08-01 10:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103318272001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366181030391971840,"note":"Value kept but may cause issues"} 
[2026-08-01 10:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3632856815722579968,"note":"Value kept but may cause issues"} 
[2026-08-01 10:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785559843000,"timestamp_ms":1785559843000,"timestamp_seconds":1785559843,"priority":1,"record_length":96,"hex_timestamp":"0000019fbba900b8"} 
[2026-08-01 10:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 10:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":148470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":148470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":148470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103318272001,"66":27908,"170":206,"81":23552,"24":62,"16":366181030391971840,"45":3632856815722579968},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,81,24,16,45]} 
[2026-08-01 10:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103318272001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:22:10] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-01 10:22:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-01 10:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366181030391971840,"km_value":366181030391971.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3632856815722579968,"description":"Unknown IO ID 45"} 
[2026-08-01 10:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103318272001,"power":27908,"unknown_170":206,"unknown_81":23552,"ignition":62,"odometer":null,"unknown_45":3632856815722579968}} 
[2026-08-01 10:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":148470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:22:10] local.INFO: GPS data processed {"connection_id":148470,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:22:10] local.INFO: Acknowledgment sent {"connection_id":148470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:22:44] local.INFO: TCP Data received {"connection_id":146143,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:22:44] local.INFO: Processing buffer {"connection_id":146143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:22:44] local.INFO: IMEI packet received {"connection_id":146143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":146143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:22:45] local.INFO: TCP Data received {"connection_id":146143,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:22:45] local.INFO: Processing buffer {"connection_id":146143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:22:45] local.INFO: IMEI packet received {"connection_id":146143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":146143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:22:49] local.INFO: TCP Data received {"connection_id":146143,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:22:49] local.INFO: Processing buffer {"connection_id":146143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:22:49] local.INFO: IMEI packet received {"connection_id":146143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":146143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:22:50] local.INFO: TCP Data received {"connection_id":146143,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbba91828012d322a4006b523f8000b012e2a..."} 
[2026-08-01 10:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbba91828012d322a4006b523f8000b012e2a..."} 
[2026-08-01 10:22:50] local.INFO: Processing buffer {"connection_id":146143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbba91828012d322a4006b523f8000b012e2a..."} 
[2026-08-01 10:22:50] local.INFO: Packet analysis {"connection_id":146143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbba9"} 
[2026-08-01 10:22:50] local.INFO: Extracted packet for processing {"connection_id":146143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbba9"} 
[2026-08-01 10:22:50] local.INFO: GPS Element Parsed {"raw_longitude":758262336,"raw_latitude":112534520,"longitude_deg":75.8262336,"latitude_deg":11.253452,"altitude":11,"angle":302,"satellites":42,"speed":60,"hex_longitude":"2d322a40","hex_latitude":"06b523f8","is_valid_coordinates":true} 
[2026-08-01 10:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:22:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103319808001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:22:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366181477068570624,"note":"Value kept but may cause issues"} 
[2026-08-01 10:22:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3623568141492228096,"note":"Value kept but may cause issues"} 
[2026-08-01 10:22:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:22:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785559849000,"timestamp_ms":1785559849000,"timestamp_seconds":1785559849,"priority":1,"record_length":96,"hex_timestamp":"0000019fbba91828"} 
[2026-08-01 10:22:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:22:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 10:22:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:22:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:22:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:22:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:22:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:22:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:22:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:22:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:22:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:22:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:22:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103319808001,"66":27376,"170":206,"81":23552,"24":60,"16":366181477068570624,"45":3623568141492228096},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,81,24,16,45]} 
[2026-08-01 10:22:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:22:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:22:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103319808001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:22:50] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-01 10:22:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-01 10:22:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366181477068570624,"km_value":366181477068570.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:22:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3623568141492228096,"description":"Unknown IO ID 45"} 
[2026-08-01 10:22:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103319808001,"power":27376,"unknown_170":206,"unknown_81":23552,"ignition":60,"odometer":null,"unknown_45":3623568141492228096}} 
[2026-08-01 10:22:50] local.INFO: DEBUG: GPS processor result {"connection_id":146143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:22:50] local.INFO: GPS data processed {"connection_id":146143,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:22:50] local.INFO: Acknowledgment sent {"connection_id":146143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:23:22] local.INFO: TCP Data received {"connection_id":146143,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbaa9310012d30eb0006b68d78000f012428..."} 
[2026-08-01 10:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbaa9310012d30eb0006b68d78000f012428..."} 
[2026-08-01 10:23:22] local.INFO: Processing buffer {"connection_id":146143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbaa9310012d30eb0006b68d78000f012428..."} 
[2026-08-01 10:23:22] local.INFO: Packet analysis {"connection_id":146143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbaa"} 
[2026-08-01 10:23:22] local.INFO: Extracted packet for processing {"connection_id":146143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbaa"} 
[2026-08-01 10:23:22] local.INFO: GPS Element Parsed {"raw_longitude":758180608,"raw_latitude":112627064,"longitude_deg":75.8180608,"latitude_deg":11.2627064,"altitude":15,"angle":292,"satellites":40,"speed":61,"hex_longitude":"2d30eb00","hex_latitude":"06b68d78","is_valid_coordinates":true} 
[2026-08-01 10:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103344640001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366187507202654208,"note":"Value kept but may cause issues"} 
[2026-08-01 10:23:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3533847992689573888,"note":"Value kept but may cause issues"} 
[2026-08-01 10:23:22] 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-08-01 10:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785559946000,"timestamp_ms":1785559946000,"timestamp_seconds":1785559946,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbaa9310"} 
[2026-08-01 10:23:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:23:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 10:23:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:23:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:23:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:23:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103344640001,"66":27767,"201":206,"81":23552,"24":61,"16":366187507202654208,"45":3533847992689573888},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,81,24,16,45]} 
[2026-08-01 10:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103344640001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:23:22] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-01 10:23:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-01 10:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366187507202654208,"km_value":366187507202654.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:23:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3533847992689573888,"description":"Unknown IO ID 45"} 
[2026-08-01 10:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103344640001,"power":27767,"unknown_201":206,"unknown_81":23552,"ignition":61,"odometer":null,"unknown_45":3533847992689573888}} 
[2026-08-01 10:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":146143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:23:22] local.INFO: GPS data processed {"connection_id":146143,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:23:22] local.INFO: Acknowledgment sent {"connection_id":146143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:23:45] local.INFO: TCP Data received {"connection_id":147153,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:23:45] local.INFO: Processing buffer {"connection_id":147153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:23:45] local.INFO: IMEI packet received {"connection_id":147153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":147153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:23:49] local.INFO: TCP Data received {"connection_id":147153,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:23:49] local.INFO: Processing buffer {"connection_id":147153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:23:49] local.INFO: IMEI packet received {"connection_id":147153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":147153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:23:53] local.INFO: TCP Data received {"connection_id":147153,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:23:53] local.INFO: Processing buffer {"connection_id":147153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:23:53] local.INFO: IMEI packet received {"connection_id":147153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":147153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:23:55] local.INFO: TCP Data received {"connection_id":147153,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbaaaa80012d30c88006b69820000e011a28..."} 
[2026-08-01 10:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbaaaa80012d30c88006b69820000e011a28..."} 
[2026-08-01 10:23:55] local.INFO: Processing buffer {"connection_id":147153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbaaaa80012d30c88006b69820000e011a28..."} 
[2026-08-01 10:23:55] local.INFO: Packet analysis {"connection_id":147153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbaa"} 
[2026-08-01 10:23:55] local.INFO: Extracted packet for processing {"connection_id":147153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbaa"} 
[2026-08-01 10:23:55] local.INFO: GPS Element Parsed {"raw_longitude":758171776,"raw_latitude":112629792,"longitude_deg":75.8171776,"latitude_deg":11.2629792,"altitude":14,"angle":282,"satellites":40,"speed":58,"hex_longitude":"2d30c880","hex_latitude":"06b69820","is_valid_coordinates":true} 
[2026-08-01 10:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103346176001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366187949584285696,"note":"Value kept but may cause issues"} 
[2026-08-01 10:23:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3524911162180073472,"note":"Value kept but may cause issues"} 
[2026-08-01 10:23:55] 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-08-01 10:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785559952000,"timestamp_ms":1785559952000,"timestamp_seconds":1785559952,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbaaaa80"} 
[2026-08-01 10:23:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:23: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-08-01 10:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 10:23:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:23:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:23:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":147153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":147153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":147153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103346176001,"66":27865,"201":206,"81":23552,"24":58,"16":366187949584285696,"45":3524911162180073472},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,81,24,16,45]} 
[2026-08-01 10:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103346176001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:23:55] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-01 10:23:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-01 10:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366187949584285696,"km_value":366187949584285.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:23:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3524911162180073472,"description":"Unknown IO ID 45"} 
[2026-08-01 10:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103346176001,"power":27865,"unknown_201":206,"unknown_81":23552,"ignition":58,"odometer":null,"unknown_45":3524911162180073472}} 
[2026-08-01 10:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":147153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:23:55] local.INFO: GPS data processed {"connection_id":147153,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:23:55] local.INFO: Acknowledgment sent {"connection_id":147153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:24:00] local.INFO: TCP Data received {"connection_id":147153,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbaac5d8012d30a04006b69fe0000e011828..."} 
[2026-08-01 10:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbaac5d8012d30a04006b69fe0000e011828..."} 
[2026-08-01 10:24:00] local.INFO: Processing buffer {"connection_id":147153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbaac5d8012d30a04006b69fe0000e011828..."} 
[2026-08-01 10:24:00] local.INFO: Packet analysis {"connection_id":147153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbaa"} 
[2026-08-01 10:24:00] local.INFO: Extracted packet for processing {"connection_id":147153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbaa"} 
[2026-08-01 10:24:00] local.INFO: GPS Element Parsed {"raw_longitude":758161472,"raw_latitude":112631776,"longitude_deg":75.8161472,"latitude_deg":11.2631776,"altitude":14,"angle":280,"satellites":40,"speed":58,"hex_longitude":"2d30a040","hex_latitude":"06b69fe0","is_valid_coordinates":true} 
[2026-08-01 10: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-08-01 10:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103347712001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366188447800492032,"note":"Value kept but may cause issues"} 
[2026-08-01 10:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3515200275484254208,"note":"Value kept but may cause issues"} 
[2026-08-01 10:24:00] 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-08-01 10:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785559959000,"timestamp_ms":1785559959000,"timestamp_seconds":1785559959,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbaac5d8"} 
[2026-08-01 10:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:24: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-08-01 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 10:24: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-08-01 10: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-08-01 10:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":147153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":147153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":147153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:24: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-08-01 10:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103347712001,"66":27767,"201":206,"81":23552,"24":58,"16":366188447800492032,"45":3515200275484254208},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,81,24,16,45]} 
[2026-08-01 10:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103347712001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:24:00] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-01 10:24:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-01 10:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366188447800492032,"km_value":366188447800492.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3515200275484254208,"description":"Unknown IO ID 45"} 
[2026-08-01 10:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103347712001,"power":27767,"unknown_201":206,"unknown_81":23552,"ignition":58,"odometer":null,"unknown_45":3515200275484254208}} 
[2026-08-01 10:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":147153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:24:00] local.INFO: GPS data processed {"connection_id":147153,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:24:00] local.INFO: Acknowledgment sent {"connection_id":147153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:25:14] local.INFO: TCP Data received {"connection_id":147154,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:25:14] local.INFO: Processing buffer {"connection_id":147154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:25:14] local.INFO: IMEI packet received {"connection_id":147154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":147154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:25:19] local.INFO: TCP Data received {"connection_id":147154,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:25:19] local.INFO: Processing buffer {"connection_id":147154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:25:19] local.INFO: IMEI packet received {"connection_id":147154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":147154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:25:19] local.INFO: TCP Data received {"connection_id":147154,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:25:19] local.INFO: Processing buffer {"connection_id":147154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:25:19] local.INFO: IMEI packet received {"connection_id":147154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":147154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:25:20] local.INFO: TCP Data received {"connection_id":147154,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbabb808012d2fb8c006b754e8000a015b2b..."} 
[2026-08-01 10:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbabb808012d2fb8c006b754e8000a015b2b..."} 
[2026-08-01 10:25:20] local.INFO: Processing buffer {"connection_id":147154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbabb808012d2fb8c006b754e8000a015b2b..."} 
[2026-08-01 10:25:20] local.INFO: Packet analysis {"connection_id":147154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbab"} 
[2026-08-01 10:25:20] local.INFO: Extracted packet for processing {"connection_id":147154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbab"} 
[2026-08-01 10:25:20] local.INFO: GPS Element Parsed {"raw_longitude":758102208,"raw_latitude":112678120,"longitude_deg":75.8102208,"latitude_deg":11.267812,"altitude":10,"angle":347,"satellites":43,"speed":65,"hex_longitude":"2d2fb8c0","hex_latitude":"06b754e8","is_valid_coordinates":true} 
[2026-08-01 10:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103363840001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366192446415044608,"note":"Value kept but may cause issues"} 
[2026-08-01 10:25:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3440890881642596352,"note":"Value kept but may cause issues"} 
[2026-08-01 10:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785560021000,"timestamp_ms":1785560021000,"timestamp_seconds":1785560021,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbabb808"} 
[2026-08-01 10:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 10:25:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:25:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:25: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-08-01 10:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103363840001,"66":27767,"230":206,"81":23552,"24":65,"16":366192446415044608,"45":3440890881642596352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,81,24,16,45]} 
[2026-08-01 10:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103363840001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:25:20] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-08-01 10:25:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-01 10:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366192446415044608,"km_value":366192446415044.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:25:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3440890881642596352,"description":"Unknown IO ID 45"} 
[2026-08-01 10:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103363840001,"power":27767,"unknown_230":206,"unknown_81":23552,"ignition":65,"odometer":null,"unknown_45":3440890881642596352}} 
[2026-08-01 10:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":147154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:25:20] local.INFO: GPS data processed {"connection_id":147154,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:25:20] local.INFO: Acknowledgment sent {"connection_id":147154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:25:25] local.INFO: TCP Data received {"connection_id":147154,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbabcf78012d2fafc006b779f8000a01592a..."} 
[2026-08-01 10:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbabcf78012d2fafc006b779f8000a01592a..."} 
[2026-08-01 10:25:25] local.INFO: Processing buffer {"connection_id":147154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbabcf78012d2fafc006b779f8000a01592a..."} 
[2026-08-01 10:25:25] local.INFO: Packet analysis {"connection_id":147154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbab"} 
[2026-08-01 10:25:25] local.INFO: Extracted packet for processing {"connection_id":147154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbab"} 
[2026-08-01 10:25:25] local.INFO: GPS Element Parsed {"raw_longitude":758099904,"raw_latitude":112687608,"longitude_deg":75.8099904,"latitude_deg":11.2687608,"altitude":10,"angle":345,"satellites":42,"speed":63,"hex_longitude":"2d2fafc0","hex_latitude":"06b779f8","is_valid_coordinates":true} 
[2026-08-01 10: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-08-01 10:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103365376001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366192918861447168,"note":"Value kept but may cause issues"} 
[2026-08-01 10:25:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3438709450575505408,"note":"Value kept but may cause issues"} 
[2026-08-01 10:25:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785560027000,"timestamp_ms":1785560027000,"timestamp_seconds":1785560027,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbabcf78"} 
[2026-08-01 10:25:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:25:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 10:25:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10: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-08-01 10:25:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":147154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":147154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":147154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:25:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103365376001,"66":27767,"230":206,"81":23552,"24":63,"16":366192918861447168,"45":3438709450575505408},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,81,24,16,45]} 
[2026-08-01 10:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103365376001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:25:25] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-08-01 10:25:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-01 10:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366192918861447168,"km_value":366192918861447.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:25:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3438709450575505408,"description":"Unknown IO ID 45"} 
[2026-08-01 10:25:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103365376001,"power":27767,"unknown_230":206,"unknown_81":23552,"ignition":63,"odometer":null,"unknown_45":3438709450575505408}} 
[2026-08-01 10:25:25] local.INFO: DEBUG: GPS processor result {"connection_id":147154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:25:25] local.INFO: GPS data processed {"connection_id":147154,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:25:25] local.INFO: Acknowledgment sent {"connection_id":147154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:25:45] local.INFO: TCP Data received {"connection_id":148471,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:25:45] local.INFO: Processing buffer {"connection_id":148471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:25:45] local.INFO: IMEI packet received {"connection_id":148471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":148471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:26:00] local.INFO: TCP Data received {"connection_id":148471,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:26:00] local.INFO: Processing buffer {"connection_id":148471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:26:00] local.INFO: IMEI packet received {"connection_id":148471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":148471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:26:02] local.INFO: TCP Data received {"connection_id":148471,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:26:02] local.INFO: Processing buffer {"connection_id":148471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:26:02] local.INFO: IMEI packet received {"connection_id":148471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":148471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:26:03] local.INFO: TCP Data received {"connection_id":148471,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbaceca0012d2efbc006b8ecb8000a01482d..."} 
[2026-08-01 10:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbaceca0012d2efbc006b8ecb8000a01482d..."} 
[2026-08-01 10:26:03] local.INFO: Processing buffer {"connection_id":148471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbaceca0012d2efbc006b8ecb8000a01482d..."} 
[2026-08-01 10:26:03] local.INFO: Packet analysis {"connection_id":148471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbac"} 
[2026-08-01 10:26:03] local.INFO: Extracted packet for processing {"connection_id":148471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbac"} 
[2026-08-01 10:26:03] local.INFO: GPS Element Parsed {"raw_longitude":758053824,"raw_latitude":112782520,"longitude_deg":75.8053824,"latitude_deg":11.278252,"altitude":10,"angle":328,"satellites":45,"speed":58,"hex_longitude":"2d2efbc0","hex_latitude":"06b8ecb8","is_valid_coordinates":true} 
[2026-08-01 10:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103384064001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366198034167496704,"note":"Value kept but may cause issues"} 
[2026-08-01 10:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3390717967071123456,"note":"Value kept but may cause issues"} 
[2026-08-01 10:26:03] 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-08-01 10:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785560100000,"timestamp_ms":1785560100000,"timestamp_seconds":1785560100,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbaceca0"} 
[2026-08-01 10:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:26: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-08-01 10:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 10:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:26:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103384064001,"66":27800,"81":21760,"24":58,"16":366198034167496704,"45":3390717967071123456},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-08-01 10:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103384064001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:26:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-08-01 10:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366198034167496704,"km_value":366198034167496.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3390717967071123456,"description":"Unknown IO ID 45"} 
[2026-08-01 10:26:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457103384064001,"power":27800,"unknown_81":21760,"ignition":58,"odometer":null,"unknown_45":3390717967071123456}} 
[2026-08-01 10:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":148471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:26:03] local.INFO: GPS data processed {"connection_id":148471,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:26:03] local.INFO: Acknowledgment sent {"connection_id":148471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:26:03] local.INFO: TCP Data received {"connection_id":148471,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbad07f8012d2ee6c006b90f10000a014a2c..."} 
[2026-08-01 10:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbad07f8012d2ee6c006b90f10000a014a2c..."} 
[2026-08-01 10:26:03] local.INFO: Processing buffer {"connection_id":148471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbad07f8012d2ee6c006b90f10000a014a2c..."} 
[2026-08-01 10:26:03] local.INFO: Packet analysis {"connection_id":148471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbad"} 
[2026-08-01 10:26:03] local.INFO: Extracted packet for processing {"connection_id":148471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbad"} 
[2026-08-01 10:26:03] local.INFO: GPS Element Parsed {"raw_longitude":758048448,"raw_latitude":112791312,"longitude_deg":75.8048448,"latitude_deg":11.2791312,"altitude":10,"angle":330,"satellites":44,"speed":58,"hex_longitude":"2d2ee6c0","hex_latitude":"06b90f10","is_valid_coordinates":true} 
[2026-08-01 10:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103385600001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366198532383703040,"note":"Value kept but may cause issues"} 
[2026-08-01 10:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3385510680003917824,"note":"Value kept but may cause issues"} 
[2026-08-01 10:26:03] 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-08-01 10:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785560107000,"timestamp_ms":1785560107000,"timestamp_seconds":1785560107,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbad07f8"} 
[2026-08-01 10:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10: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-08-01 10:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 10:26: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-08-01 10:26:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103385600001,"66":27691,"81":21760,"24":58,"16":366198532383703040,"45":3385510680003917824},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-08-01 10:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103385600001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:26:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-08-01 10:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366198532383703040,"km_value":366198532383703.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3385510680003917824,"description":"Unknown IO ID 45"} 
[2026-08-01 10:26:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457103385600001,"power":27691,"unknown_81":21760,"ignition":58,"odometer":null,"unknown_45":3385510680003917824}} 
[2026-08-01 10:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":148471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:26:03] local.INFO: GPS data processed {"connection_id":148471,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:26:03] local.INFO: Acknowledgment sent {"connection_id":148471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:26:51] local.INFO: TCP Data received {"connection_id":145941,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:26:51] local.INFO: Processing buffer {"connection_id":145941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:26:51] local.INFO: IMEI packet received {"connection_id":145941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":145941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:27:00] local.INFO: TCP Data received {"connection_id":145941,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:27:00] local.INFO: Processing buffer {"connection_id":145941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:27:00] local.INFO: IMEI packet received {"connection_id":145941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":145941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:27:00] local.INFO: TCP Data received {"connection_id":145941,"ip":"42.106.6.17","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 10:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145941,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 10:27:00] local.INFO: Processing buffer {"connection_id":145941,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 10:27:00] local.INFO: IMEI packet received {"connection_id":145941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":145941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:32:09] local.INFO: TCP Data received {"connection_id":148475,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:32:09] local.INFO: Processing buffer {"connection_id":148475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:32:09] local.INFO: IMEI packet received {"connection_id":148475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":148475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:32:11] local.INFO: TCP Data received {"connection_id":148475,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbb23fe8012d2abb0006bef888000c014027..."} 
[2026-08-01 10:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbb23fe8012d2abb0006bef888000c014027..."} 
[2026-08-01 10:32:11] local.INFO: Processing buffer {"connection_id":148475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbb23fe8012d2abb0006bef888000c014027..."} 
[2026-08-01 10:32:11] local.INFO: Packet analysis {"connection_id":148475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbb2"} 
[2026-08-01 10:32:11] local.INFO: Extracted packet for processing {"connection_id":148475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbb2"} 
[2026-08-01 10:32:11] local.INFO: GPS Element Parsed {"raw_longitude":757775104,"raw_latitude":113178760,"longitude_deg":75.7775104,"latitude_deg":11.317876,"altitude":12,"angle":320,"satellites":39,"speed":58,"hex_longitude":"2d2abb00","hex_latitude":"06bef888","is_valid_coordinates":true} 
[2026-08-01 10:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103473152001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366221617832919040,"note":"Value kept but may cause issues"} 
[2026-08-01 10:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3086443517348243456,"note":"Value kept but may cause issues"} 
[2026-08-01 10:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785560449000,"timestamp_ms":1785560449000,"timestamp_seconds":1785560449,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbb23fe8"} 
[2026-08-01 10:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-01 10:32:11] 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-08-01 10:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":148475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":148475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":148475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103473152001,"66":27767,"75":206,"81":20992,"24":58,"16":366221617832919040,"45":3086443517348243456},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-01 10:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103473152001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:32:11] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-01 10:32:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-01 10:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366221617832919040,"km_value":366221617832919.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3086443517348243456,"description":"Unknown IO ID 45"} 
[2026-08-01 10:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103473152001,"power":27767,"unknown_75":206,"unknown_81":20992,"ignition":58,"odometer":null,"unknown_45":3086443517348243456}} 
[2026-08-01 10:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":148475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:32:11] local.INFO: GPS data processed {"connection_id":148475,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:32:11] local.INFO: Acknowledgment sent {"connection_id":148475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:32:22] local.INFO: TCP Data received {"connection_id":146144,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:32:22] local.INFO: Processing buffer {"connection_id":146144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:32:22] local.INFO: IMEI packet received {"connection_id":146144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 10:32:22] local.INFO: IMEI acknowledgment sent {"connection_id":146144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:32:23] local.INFO: TCP Data received {"connection_id":146144,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:32:23] local.INFO: Processing buffer {"connection_id":146144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:32:23] local.INFO: IMEI packet received {"connection_id":146144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 10:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":146144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:32:26] local.INFO: TCP Data received {"connection_id":146144,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:32:26] local.INFO: Processing buffer {"connection_id":146144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:32:26] local.INFO: IMEI packet received {"connection_id":146144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 10:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":146144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:32:26] local.INFO: TCP Data received {"connection_id":146144,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-01 10:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146144,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-01 10:32:26] local.INFO: Processing buffer {"connection_id":146144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-01 10:32:26] local.INFO: Packet analysis {"connection_id":146144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-01 10:32:26] local.INFO: Extracted packet for processing {"connection_id":146144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-01 10:32: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-08-01 10:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10083200231538688,"note":"Value kept but may cause issues"} 
[2026-08-01 10:32:26] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-01 10:32:26] 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-08-01 10:32:26] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-01 10:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":146144,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":146144,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-01 10:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":146144,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-01 10:32:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-01 10:32:26] local.WARNING: DEBUG: No valid data to process  
[2026-08-01 10:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":146144,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-01 10:32:26] local.ERROR: GPS data processing failed {"connection_id":146144,"error":"No valid data to process"} 
[2026-08-01 10:32:26] local.INFO: Acknowledgment sent {"connection_id":146144,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-01 10:32:31] local.INFO: TCP Data received {"connection_id":146144,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-01 10:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146144,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-01 10:32:31] local.INFO: Processing buffer {"connection_id":146144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-01 10:32:31] local.INFO: Packet analysis {"connection_id":146144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-01 10:32:31] local.INFO: Extracted packet for processing {"connection_id":146144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-01 10:32: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-08-01 10:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10083200231538688,"note":"Value kept but may cause issues"} 
[2026-08-01 10:32:31] 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-08-01 10:32:31] 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-08-01 10:32:31] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-01 10:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":146144,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":146144,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-01 10:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":146144,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-01 10:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-01 10:32:31] local.WARNING: DEBUG: No valid data to process  
[2026-08-01 10:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":146144,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-01 10:32:31] local.ERROR: GPS data processing failed {"connection_id":146144,"error":"No valid data to process"} 
[2026-08-01 10:32:31] local.INFO: Acknowledgment sent {"connection_id":146144,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-01 10:32:44] local.INFO: TCP Data received {"connection_id":148476,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:32:44] local.INFO: Processing buffer {"connection_id":148476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:32:44] local.INFO: IMEI packet received {"connection_id":148476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":148476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:32:47] local.INFO: TCP Data received {"connection_id":148476,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:32:47] local.INFO: Processing buffer {"connection_id":148476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:32:47] local.INFO: IMEI packet received {"connection_id":148476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":148476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:32:50] local.INFO: TCP Data received {"connection_id":148476,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:32:50] local.INFO: Processing buffer {"connection_id":148476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:32:50] local.INFO: IMEI packet received {"connection_id":148476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":148476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:32:51] local.INFO: TCP Data received {"connection_id":148476,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbb25b40012d2aa0c006bf1778000c014029..."} 
[2026-08-01 10:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbb25b40012d2aa0c006bf1778000c014029..."} 
[2026-08-01 10:32:51] local.INFO: Processing buffer {"connection_id":148476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbb25b40012d2aa0c006bf1778000c014029..."} 
[2026-08-01 10:32:51] local.INFO: Packet analysis {"connection_id":148476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbb2"} 
[2026-08-01 10:32:51] local.INFO: Extracted packet for processing {"connection_id":148476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbb2"} 
[2026-08-01 10:32:51] local.INFO: GPS Element Parsed {"raw_longitude":757768384,"raw_latitude":113186680,"longitude_deg":75.7768384,"latitude_deg":11.318668,"altitude":12,"angle":320,"satellites":41,"speed":58,"hex_longitude":"2d2aa0c0","hex_latitude":"06bf1778","is_valid_coordinates":true} 
[2026-08-01 10:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103474944001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366222116049125376,"note":"Value kept but may cause issues"} 
[2026-08-01 10:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3079054799211628544,"note":"Value kept but may cause issues"} 
[2026-08-01 10:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785560456000,"timestamp_ms":1785560456000,"timestamp_seconds":1785560456,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbb25b40"} 
[2026-08-01 10:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 10:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:32:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103474944001,"66":27789,"75":206,"81":20992,"24":58,"16":366222116049125376,"45":3079054799211628544},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-01 10:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103474944001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:32:51] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-01 10:32:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-01 10:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366222116049125376,"km_value":366222116049125.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3079054799211628544,"description":"Unknown IO ID 45"} 
[2026-08-01 10:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103474944001,"power":27789,"unknown_75":206,"unknown_81":20992,"ignition":58,"odometer":null,"unknown_45":3079054799211628544}} 
[2026-08-01 10:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":148476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:32:51] local.INFO: GPS data processed {"connection_id":148476,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:32:51] local.INFO: Acknowledgment sent {"connection_id":148476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:33:02] local.INFO: TCP Data received {"connection_id":146144,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-08-01 10:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-08-01 10:33:02] local.INFO: Processing buffer {"connection_id":146144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-08-01 10:33:02] local.INFO: Packet analysis {"connection_id":146144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-01 10:33:02] local.INFO: Extracted packet for processing {"connection_id":146144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-01 10:33: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-08-01 10:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10083200231538688,"note":"Value kept but may cause issues"} 
[2026-08-01 10:33:02] 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-08-01 10:33:02] 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-08-01 10:33:02] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-01 10:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146144,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146144,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-01 10:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146144,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-01 10:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-01 10:33:02] local.WARNING: DEBUG: No valid data to process  
[2026-08-01 10:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":146144,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-01 10:33:02] local.ERROR: GPS data processing failed {"connection_id":146144,"error":"No valid data to process"} 
[2026-08-01 10:33:02] local.INFO: Acknowledgment sent {"connection_id":146144,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-01 10:33:22] local.INFO: TCP Data received {"connection_id":148476,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbb3af18012d296fc006c09c00000d01362c..."} 
[2026-08-01 10:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbb3af18012d296fc006c09c00000d01362c..."} 
[2026-08-01 10:33:22] local.INFO: Processing buffer {"connection_id":148476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbb3af18012d296fc006c09c00000d01362c..."} 
[2026-08-01 10:33:22] local.INFO: Packet analysis {"connection_id":148476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbb3"} 
[2026-08-01 10:33:22] local.INFO: Extracted packet for processing {"connection_id":148476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbb3"} 
[2026-08-01 10:33:22] local.INFO: GPS Element Parsed {"raw_longitude":757690304,"raw_latitude":113286144,"longitude_deg":75.7690304,"latitude_deg":11.3286144,"altitude":13,"angle":310,"satellites":44,"speed":58,"hex_longitude":"2d296fc0","hex_latitude":"06c09c00","is_valid_coordinates":true} 
[2026-08-01 10:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:33:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103497216001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:33:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366228223492620288,"note":"Value kept but may cause issues"} 
[2026-08-01 10:33:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2994330831247493120,"note":"Value kept but may cause issues"} 
[2026-08-01 10:33:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:33:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785560543000,"timestamp_ms":1785560543000,"timestamp_seconds":1785560543,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbb3af18"} 
[2026-08-01 10:33:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:33:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 10:33:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:33:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:33:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:33:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:33:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:33:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:33:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:33:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:33:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:33:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:33:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103497216001,"66":27767,"179":206,"81":20992,"24":58,"16":366228223492620288,"45":2994330831247493120},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-08-01 10:33:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:33:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:33:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103497216001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:33:22] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-01 10:33:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-01 10:33:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366228223492620288,"km_value":366228223492620.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:33:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2994330831247493120,"description":"Unknown IO ID 45"} 
[2026-08-01 10:33:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103497216001,"power":27767,"unknown_179":206,"unknown_81":20992,"ignition":58,"odometer":null,"unknown_45":2994330831247493120}} 
[2026-08-01 10:33:22] local.INFO: DEBUG: GPS processor result {"connection_id":148476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:33:22] local.INFO: GPS data processed {"connection_id":148476,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:33:22] local.INFO: Acknowledgment sent {"connection_id":148476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:33:33] local.INFO: TCP Data received {"connection_id":146144,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbb44b580100000000000000000000000000..."} 
[2026-08-01 10:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbb44b580100000000000000000000000000..."} 
[2026-08-01 10:33:33] local.INFO: Processing buffer {"connection_id":146144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbb44b580100000000000000000000000000..."} 
[2026-08-01 10:33:33] local.INFO: Packet analysis {"connection_id":146144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbb4"} 
[2026-08-01 10:33:33] local.INFO: Extracted packet for processing {"connection_id":146144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbb4"} 
[2026-08-01 10:33: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-08-01 10:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10083200231538688,"note":"Value kept but may cause issues"} 
[2026-08-01 10:33:33] 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-08-01 10:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785560583000,"timestamp_ms":1785560583000,"timestamp_seconds":1785560583,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbb44b58"} 
[2026-08-01 10:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:33:33] 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-08-01 10:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-08-01 10:33:33] 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-08-01 10:33:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 10:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 10:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":146144,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-01 10:33:33] local.INFO: GPS data processed {"connection_id":146144,"processed":0,"errors":0,"total":1} 
[2026-08-01 10:33:33] local.INFO: Acknowledgment sent {"connection_id":146144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:33:44] local.INFO: TCP Data received {"connection_id":147156,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:33:44] local.INFO: Processing buffer {"connection_id":147156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:33:44] local.INFO: IMEI packet received {"connection_id":147156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":147156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:33:49] local.INFO: TCP Data received {"connection_id":147156,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:33:49] local.INFO: Processing buffer {"connection_id":147156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:33:49] local.INFO: IMEI packet received {"connection_id":147156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":147156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:33:50] local.INFO: TCP Data received {"connection_id":147156,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbb3ca70012d29518006c0b780000e013a29..."} 
[2026-08-01 10:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbb3ca70012d29518006c0b780000e013a29..."} 
[2026-08-01 10:33:50] local.INFO: Processing buffer {"connection_id":147156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbb3ca70012d29518006c0b780000e013a29..."} 
[2026-08-01 10:33:50] local.INFO: Packet analysis {"connection_id":147156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbb3"} 
[2026-08-01 10:33:50] local.INFO: Extracted packet for processing {"connection_id":147156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbb3"} 
[2026-08-01 10:33:50] local.INFO: GPS Element Parsed {"raw_longitude":757682560,"raw_latitude":113293184,"longitude_deg":75.768256,"latitude_deg":11.3293184,"altitude":14,"angle":314,"satellites":41,"speed":58,"hex_longitude":"2d295180","hex_latitude":"06c0b780","is_valid_coordinates":true} 
[2026-08-01 10:33:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:33:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103499008001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:33:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366228721708826624,"note":"Value kept but may cause issues"} 
[2026-08-01 10:33:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2985816213203714048,"note":"Value kept but may cause issues"} 
[2026-08-01 10:33:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:33:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785560550000,"timestamp_ms":1785560550000,"timestamp_seconds":1785560550,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbb3ca70"} 
[2026-08-01 10:33:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:33:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:33:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 10:33:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:33:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:33:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:33:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:33:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:33:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:33:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:33:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:33:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:33:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:33:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103499008001,"66":27691,"179":206,"81":20992,"24":58,"16":366228721708826624,"45":2985816213203714048},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-08-01 10:33:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:33:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:33:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103499008001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:33:50] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-01 10:33:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-01 10:33:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366228721708826624,"km_value":366228721708826.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:33:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2985816213203714048,"description":"Unknown IO ID 45"} 
[2026-08-01 10:33:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103499008001,"power":27691,"unknown_179":206,"unknown_81":20992,"ignition":58,"odometer":null,"unknown_45":2985816213203714048}} 
[2026-08-01 10:33:50] local.INFO: DEBUG: GPS processor result {"connection_id":147156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:33:50] local.INFO: GPS data processed {"connection_id":147156,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:33:50] local.INFO: Acknowledgment sent {"connection_id":147156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:34:05] local.INFO: TCP Data received {"connection_id":146144,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbb49d600100000000000000000000000000..."} 
[2026-08-01 10:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbb49d600100000000000000000000000000..."} 
[2026-08-01 10:34:05] local.INFO: Processing buffer {"connection_id":146144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbb49d600100000000000000000000000000..."} 
[2026-08-01 10:34:05] local.INFO: Packet analysis {"connection_id":146144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbb4"} 
[2026-08-01 10:34:05] local.INFO: Extracted packet for processing {"connection_id":146144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbb4"} 
[2026-08-01 10:34: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-08-01 10: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-08-01 10:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10083200231538688,"note":"Value kept but may cause issues"} 
[2026-08-01 10:34:05] 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-08-01 10:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785560604000,"timestamp_ms":1785560604000,"timestamp_seconds":1785560604,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbb49d60"} 
[2026-08-01 10:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:34: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-08-01 10: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-01 10:34:05] 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-08-01 10: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-08-01 10:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:34:05] 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-08-01 10:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 10:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 10:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":146144,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-01 10:34:05] local.INFO: GPS data processed {"connection_id":146144,"processed":0,"errors":0,"total":1} 
[2026-08-01 10:34:05] local.INFO: Acknowledgment sent {"connection_id":146144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:34:24] local.INFO: TCP Data received {"connection_id":147156,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbb3e5c8012d29358006c0d3b8000f013b2a..."} 
[2026-08-01 10:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbb3e5c8012d29358006c0d3b8000f013b2a..."} 
[2026-08-01 10:34:24] local.INFO: Processing buffer {"connection_id":147156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbb3e5c8012d29358006c0d3b8000f013b2a..."} 
[2026-08-01 10:34:24] local.INFO: Packet analysis {"connection_id":147156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbb3"} 
[2026-08-01 10:34:24] local.INFO: Extracted packet for processing {"connection_id":147156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbb3"} 
[2026-08-01 10:34:24] local.INFO: GPS Element Parsed {"raw_longitude":757675392,"raw_latitude":113300408,"longitude_deg":75.7675392,"latitude_deg":11.3300408,"altitude":15,"angle":315,"satellites":42,"speed":56,"hex_longitude":"2d293580","hex_latitude":"06c0d3b8","is_valid_coordinates":true} 
[2026-08-01 10:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103500800001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366229211335098368,"note":"Value kept but may cause issues"} 
[2026-08-01 10:34:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2977301595160018944,"note":"Value kept but may cause issues"} 
[2026-08-01 10:34:24] 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-08-01 10:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785560557000,"timestamp_ms":1785560557000,"timestamp_seconds":1785560557,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbb3e5c8"} 
[2026-08-01 10:34:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:34: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-08-01 10:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-01 10:34:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:34:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:34:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":147156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":147156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":147156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:34:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103500800001,"66":27767,"179":206,"81":20992,"24":56,"16":366229211335098368,"45":2977301595160018944},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-08-01 10:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103500800001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:34:24] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-01 10:34:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-01 10:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366229211335098368,"km_value":366229211335098.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:34:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":2977301595160018944,"description":"Unknown IO ID 45"} 
[2026-08-01 10:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103500800001,"power":27767,"unknown_179":206,"unknown_81":20992,"ignition":56,"odometer":null,"unknown_45":2977301595160018944}} 
[2026-08-01 10:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":147156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:34:24] local.INFO: GPS data processed {"connection_id":147156,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:34:24] local.INFO: Acknowledgment sent {"connection_id":147156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:34:36] local.INFO: TCP Data received {"connection_id":146144,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbb4ef680100000000000000000000000000..."} 
[2026-08-01 10:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbb4ef680100000000000000000000000000..."} 
[2026-08-01 10:34:36] local.INFO: Processing buffer {"connection_id":146144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbb4ef680100000000000000000000000000..."} 
[2026-08-01 10:34:36] local.INFO: Packet analysis {"connection_id":146144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbb4"} 
[2026-08-01 10:34:36] local.INFO: Extracted packet for processing {"connection_id":146144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbb4"} 
[2026-08-01 10:34: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-08-01 10:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10083200231538688,"note":"Value kept but may cause issues"} 
[2026-08-01 10:34: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-08-01 10:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785560625000,"timestamp_ms":1785560625000,"timestamp_seconds":1785560625,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbb4ef68"} 
[2026-08-01 10:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:34: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-08-01 10:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-01 10:34:36] 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-08-01 10:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:34:36] 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-08-01 10:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 10:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 10:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":146144,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-01 10:34:36] local.INFO: GPS data processed {"connection_id":146144,"processed":0,"errors":0,"total":1} 
[2026-08-01 10:34:36] local.INFO: Acknowledgment sent {"connection_id":146144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:34:45] local.INFO: TCP Data received {"connection_id":148477,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:34:45] local.INFO: Processing buffer {"connection_id":148477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:34:45] local.INFO: IMEI packet received {"connection_id":148477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":148477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:34:49] local.INFO: TCP Data received {"connection_id":148477,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:34:49] local.INFO: Processing buffer {"connection_id":148477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:34:49] local.INFO: IMEI packet received {"connection_id":148477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":148477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:34:53] local.INFO: TCP Data received {"connection_id":148477,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:34:53] local.INFO: Processing buffer {"connection_id":148477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:34:53] local.INFO: IMEI packet received {"connection_id":148477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":148477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:34:54] local.INFO: TCP Data received {"connection_id":148477,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbb50ea8012d280f8006c20330001101422b..."} 
[2026-08-01 10:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbb50ea8012d280f8006c20330001101422b..."} 
[2026-08-01 10:34:54] local.INFO: Processing buffer {"connection_id":148477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbb50ea8012d280f8006c20330001101422b..."} 
[2026-08-01 10:34:54] local.INFO: Packet analysis {"connection_id":148477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbb5"} 
[2026-08-01 10:34:54] local.INFO: Extracted packet for processing {"connection_id":148477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbb5"} 
[2026-08-01 10:34:54] local.INFO: GPS Element Parsed {"raw_longitude":757600128,"raw_latitude":113378096,"longitude_deg":75.7600128,"latitude_deg":11.3378096,"altitude":17,"angle":322,"satellites":43,"speed":57,"hex_longitude":"2d280f80","hex_latitude":"06c20330","is_valid_coordinates":true} 
[2026-08-01 10:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103520256001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366234408245526528,"note":"Value kept but may cause issues"} 
[2026-08-01 10:34:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2894196108305948672,"note":"Value kept but may cause issues"} 
[2026-08-01 10:34:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785560633000,"timestamp_ms":1785560633000,"timestamp_seconds":1785560633,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbb50ea8"} 
[2026-08-01 10:34:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:34:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 10:34:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:34:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:34:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:34:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103520256001,"66":27745,"181":206,"81":20992,"24":57,"16":366234408245526528,"45":2894196108305948672},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,81,24,16,45]} 
[2026-08-01 10:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103520256001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:34:54] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-08-01 10:34:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-01 10:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366234408245526528,"km_value":366234408245526.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:34:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":2894196108305948672,"description":"Unknown IO ID 45"} 
[2026-08-01 10:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103520256001,"power":27745,"unknown_181":206,"unknown_81":20992,"ignition":57,"odometer":null,"unknown_45":2894196108305948672}} 
[2026-08-01 10:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":148477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:34:54] local.INFO: GPS data processed {"connection_id":148477,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:34:54] local.INFO: Acknowledgment sent {"connection_id":148477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:34:54] local.INFO: TCP Data received {"connection_id":148477,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbb52a00012d27f94006c22350000f01492c..."} 
[2026-08-01 10:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbb52a00012d27f94006c22350000f01492c..."} 
[2026-08-01 10:34:54] local.INFO: Processing buffer {"connection_id":148477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbb52a00012d27f94006c22350000f01492c..."} 
[2026-08-01 10:34:54] local.INFO: Packet analysis {"connection_id":148477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbb5"} 
[2026-08-01 10:34:54] local.INFO: Extracted packet for processing {"connection_id":148477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbb5"} 
[2026-08-01 10:34:54] local.INFO: GPS Element Parsed {"raw_longitude":757594432,"raw_latitude":113386320,"longitude_deg":75.7594432,"latitude_deg":11.338632,"altitude":15,"angle":329,"satellites":44,"speed":54,"hex_longitude":"2d27f940","hex_latitude":"06c22350","is_valid_coordinates":true} 
[2026-08-01 10:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103522048001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366234889281863680,"note":"Value kept but may cause issues"} 
[2026-08-01 10:34:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2886666652680925184,"note":"Value kept but may cause issues"} 
[2026-08-01 10:34:54] 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-08-01 10:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785560640000,"timestamp_ms":1785560640000,"timestamp_seconds":1785560640,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbb52a00"} 
[2026-08-01 10:34:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:34:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 10:34:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:34:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:34:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:34:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103522048001,"66":27865,"229":206,"81":20992,"24":54,"16":366234889281863680,"45":2886666652680925184},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,81,24,16,45]} 
[2026-08-01 10:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103522048001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:34:54] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 10:34:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-01 10:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366234889281863680,"km_value":366234889281863.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:34:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":2886666652680925184,"description":"Unknown IO ID 45"} 
[2026-08-01 10:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103522048001,"power":27865,"unknown_229":206,"unknown_81":20992,"ignition":54,"odometer":null,"unknown_45":2886666652680925184}} 
[2026-08-01 10:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":148477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:34:54] local.INFO: GPS data processed {"connection_id":148477,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:34:54] local.INFO: Acknowledgment sent {"connection_id":148477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:35:08] local.INFO: TCP Data received {"connection_id":146144,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbb541700100000000000000000000000000..."} 
[2026-08-01 10:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbb541700100000000000000000000000000..."} 
[2026-08-01 10:35:08] local.INFO: Processing buffer {"connection_id":146144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbb541700100000000000000000000000000..."} 
[2026-08-01 10:35:08] local.INFO: Packet analysis {"connection_id":146144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbb5"} 
[2026-08-01 10:35:08] local.INFO: Extracted packet for processing {"connection_id":146144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbb5"} 
[2026-08-01 10:35: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-08-01 10:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10083200231538688,"note":"Value kept but may cause issues"} 
[2026-08-01 10:35:08] 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-08-01 10:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785560646000,"timestamp_ms":1785560646000,"timestamp_seconds":1785560646,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbb54170"} 
[2026-08-01 10:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:35:08] 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-08-01 10:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-01 10:35:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:35:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":146144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":146144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":146144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:35:08] 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-08-01 10:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 10:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 10:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":146144,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-01 10:35:08] local.INFO: GPS data processed {"connection_id":146144,"processed":0,"errors":0,"total":1} 
[2026-08-01 10:35:08] local.INFO: Acknowledgment sent {"connection_id":146144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:35:37] local.INFO: TCP Data received {"connection_id":148477,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbb54558012d27e80006c24510000f014e2b..."} 
[2026-08-01 10:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbb54558012d27e80006c24510000f014e2b..."} 
[2026-08-01 10:35:37] local.INFO: Processing buffer {"connection_id":148477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbb54558012d27e80006c24510000f014e2b..."} 
[2026-08-01 10:35:37] local.INFO: Packet analysis {"connection_id":148477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbb5"} 
[2026-08-01 10:35:37] local.INFO: Extracted packet for processing {"connection_id":148477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbb5"} 
[2026-08-01 10:35:37] local.INFO: GPS Element Parsed {"raw_longitude":757590016,"raw_latitude":113394960,"longitude_deg":75.7590016,"latitude_deg":11.339496,"altitude":15,"angle":334,"satellites":43,"speed":55,"hex_longitude":"2d27e800","hex_latitude":"06c24510","is_valid_coordinates":true} 
[2026-08-01 10:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103523840001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366235357433298944,"note":"Value kept but may cause issues"} 
[2026-08-01 10:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2880403834451218432,"note":"Value kept but may cause issues"} 
[2026-08-01 10:35:37] 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-08-01 10:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785560647000,"timestamp_ms":1785560647000,"timestamp_seconds":1785560647,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbb54558"} 
[2026-08-01 10:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 10:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103523840001,"66":27745,"229":206,"81":20992,"24":55,"16":366235357433298944,"45":2880403834451218432},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,81,24,16,45]} 
[2026-08-01 10:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103523840001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:35:37] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 10:35:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-01 10:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366235357433298944,"km_value":366235357433298.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":2880403834451218432,"description":"Unknown IO ID 45"} 
[2026-08-01 10:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103523840001,"power":27745,"unknown_229":206,"unknown_81":20992,"ignition":55,"odometer":null,"unknown_45":2880403834451218432}} 
[2026-08-01 10:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":148477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:35:37] local.INFO: GPS data processed {"connection_id":148477,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:35:37] local.INFO: Acknowledgment sent {"connection_id":148477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:35:38] local.INFO: TCP Data received {"connection_id":146144,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbb593780100000000000000000000000000..."} 
[2026-08-01 10:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbb593780100000000000000000000000000..."} 
[2026-08-01 10:35:38] local.INFO: Processing buffer {"connection_id":146144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbb593780100000000000000000000000000..."} 
[2026-08-01 10:35:38] local.INFO: Packet analysis {"connection_id":146144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbb5"} 
[2026-08-01 10:35:38] local.INFO: Extracted packet for processing {"connection_id":146144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbb5"} 
[2026-08-01 10:35:38] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-01 10:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10083200231538688,"note":"Value kept but may cause issues"} 
[2026-08-01 10:35:38] 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-08-01 10:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785560667000,"timestamp_ms":1785560667000,"timestamp_seconds":1785560667,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbb59378"} 
[2026-08-01 10:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:35:38] 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-08-01 10:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-01 10:35:38] 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-08-01 10:35:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:35:38] 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-08-01 10:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 10:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 10:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":146144,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-01 10:35:38] local.INFO: GPS data processed {"connection_id":146144,"processed":0,"errors":0,"total":1} 
[2026-08-01 10:35:38] local.INFO: Acknowledgment sent {"connection_id":146144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:35:44] local.INFO: TCP Data received {"connection_id":146145,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:35:44] local.INFO: Processing buffer {"connection_id":146145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:35:44] local.INFO: IMEI packet received {"connection_id":146145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":146145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:35:45] local.INFO: TCP Data received {"connection_id":146145,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:35:45] local.INFO: Processing buffer {"connection_id":146145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:35:45] local.INFO: IMEI packet received {"connection_id":146145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":146145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:35:49] local.INFO: TCP Data received {"connection_id":146145,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:35:49] local.INFO: Processing buffer {"connection_id":146145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:35:49] local.INFO: IMEI packet received {"connection_id":146145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":146145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:36:01] local.INFO: TCP Data received {"connection_id":146145,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbb560b0012d27d74006c26830000f014e2b..."} 
[2026-08-01 10:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbb560b0012d27d74006c26830000f014e2b..."} 
[2026-08-01 10:36:01] local.INFO: Processing buffer {"connection_id":146145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbb560b0012d27d74006c26830000f014e2b..."} 
[2026-08-01 10:36:01] local.INFO: Packet analysis {"connection_id":146145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbb5"} 
[2026-08-01 10:36:01] local.INFO: Extracted packet for processing {"connection_id":146145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbb5"} 
[2026-08-01 10:36:01] local.INFO: GPS Element Parsed {"raw_longitude":757585728,"raw_latitude":113403952,"longitude_deg":75.7585728,"latitude_deg":11.3403952,"altitude":15,"angle":334,"satellites":43,"speed":57,"hex_longitude":"2d27d740","hex_latitude":"06c26830","is_valid_coordinates":true} 
[2026-08-01 10: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-08-01 10:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103525632001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366235838469636096,"note":"Value kept but may cause issues"} 
[2026-08-01 10:36:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2875548391105171456,"note":"Value kept but may cause issues"} 
[2026-08-01 10:36:01] 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-08-01 10:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785560654000,"timestamp_ms":1785560654000,"timestamp_seconds":1785560654,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbb560b0"} 
[2026-08-01 10:36:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10: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-08-01 10: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":97,"data_length":795,"current_offset":136} 
[2026-08-01 10:36: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-08-01 10: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-08-01 10:36:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":146145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":146145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":146145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:36: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-08-01 10:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103525632001,"66":27800,"229":206,"81":20992,"24":57,"16":366235838469636096,"45":2875548391105171456},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,81,24,16,45]} 
[2026-08-01 10:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103525632001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:36:01] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 10:36:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-01 10:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366235838469636096,"km_value":366235838469636.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:36:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":2875548391105171456,"description":"Unknown IO ID 45"} 
[2026-08-01 10:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103525632001,"power":27800,"unknown_229":206,"unknown_81":20992,"ignition":57,"odometer":null,"unknown_45":2875548391105171456}} 
[2026-08-01 10:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":146145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:36:01] local.INFO: GPS data processed {"connection_id":146145,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:36:01] local.INFO: Acknowledgment sent {"connection_id":146145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:36:01] local.INFO: TCP Data received {"connection_id":146145,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbb57c08012d27c6c006c28cd0001001502b..."} 
[2026-08-01 10:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbb57c08012d27c6c006c28cd0001001502b..."} 
[2026-08-01 10:36:01] local.INFO: Processing buffer {"connection_id":146145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbb57c08012d27c6c006c28cd0001001502b..."} 
[2026-08-01 10:36:01] local.INFO: Packet analysis {"connection_id":146145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbb5"} 
[2026-08-01 10:36:01] local.INFO: Extracted packet for processing {"connection_id":146145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbb5"} 
[2026-08-01 10:36:01] local.INFO: GPS Element Parsed {"raw_longitude":757581504,"raw_latitude":113413328,"longitude_deg":75.7581504,"latitude_deg":11.3413328,"altitude":16,"angle":336,"satellites":43,"speed":58,"hex_longitude":"2d27c6c0","hex_latitude":"06c28cd0","is_valid_coordinates":true} 
[2026-08-01 10: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-08-01 10:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103527424001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366236336685842432,"note":"Value kept but may cause issues"} 
[2026-08-01 10:36:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2870833685247569920,"note":"Value kept but may cause issues"} 
[2026-08-01 10:36:01] 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-08-01 10:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785560661000,"timestamp_ms":1785560661000,"timestamp_seconds":1785560661,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbb57c08"} 
[2026-08-01 10:36:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10: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-08-01 10: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":152,"data_length":795,"current_offset":136} 
[2026-08-01 10:36: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-08-01 10: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-08-01 10:36:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":146145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":146145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":146145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:36: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-08-01 10:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103527424001,"66":27919,"229":206,"81":20992,"24":58,"16":366236336685842432,"45":2870833685247569920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,81,24,16,45]} 
[2026-08-01 10:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103527424001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:36:01] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 10:36:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-01 10:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366236336685842432,"km_value":366236336685842.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:36:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":2870833685247569920,"description":"Unknown IO ID 45"} 
[2026-08-01 10:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103527424001,"power":27919,"unknown_229":206,"unknown_81":20992,"ignition":58,"odometer":null,"unknown_45":2870833685247569920}} 
[2026-08-01 10:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":146145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:36:01] local.INFO: GPS data processed {"connection_id":146145,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:36:01] local.INFO: Acknowledgment sent {"connection_id":146145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:36:09] local.INFO: TCP Data received {"connection_id":146144,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbb6e750012d1966800720a9e00047010605..."} 
[2026-08-01 10:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbb6e750012d1966800720a9e00047010605..."} 
[2026-08-01 10:36:09] local.INFO: Processing buffer {"connection_id":146144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbb6e750012d1966800720a9e00047010605..."} 
[2026-08-01 10:36:09] local.INFO: Packet analysis {"connection_id":146144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbb6"} 
[2026-08-01 10:36:09] local.INFO: Extracted packet for processing {"connection_id":146144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbb6"} 
[2026-08-01 10:36:09] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119581152,"longitude_deg":75.663936,"latitude_deg":11.9581152,"altitude":71,"angle":262,"satellites":5,"speed":23,"hex_longitude":"2d196680","hex_latitude":"0720a9e0","is_valid_coordinates":true} 
[2026-08-01 10:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103549440001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10084527376433152,"note":"Value kept but may cause issues"} 
[2026-08-01 10:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840494534580072448,"note":"Value kept but may cause issues"} 
[2026-08-01 10:36: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-08-01 10:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785560754000,"timestamp_ms":1785560754000,"timestamp_seconds":1785560754,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbb6e750"} 
[2026-08-01 10:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1024,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-01 10:36:09] 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-08-01 10:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":146144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":146144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":146144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:36:09] 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-08-01 10:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 10:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 10:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103549440001,"66":14135,"103":206,"83":41984,"24":23,"16":10084527376433152,"45":1840494534580072448},"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-08-01 10:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 10:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 10:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103549440001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:36:09] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 10:36:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 10:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10084527376433152,"km_value":10084527376433.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840494534580072448,"description":"Unknown IO ID 45"} 
[2026-08-01 10:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103549440001,"power":14135,"unknown_103":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1840494534580072448}} 
[2026-08-01 10:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":146144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:36:09] local.INFO: GPS data processed {"connection_id":146144,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:36:09] local.INFO: Acknowledgment sent {"connection_id":146144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:36:40] local.INFO: TCP Data received {"connection_id":146144,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbb70a78012d194fc00720a9f00048011406..."} 
[2026-08-01 10:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbb70a78012d194fc00720a9f00048011406..."} 
[2026-08-01 10:36:40] local.INFO: Processing buffer {"connection_id":146144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbb70a78012d194fc00720a9f00048011406..."} 
[2026-08-01 10:36:40] local.INFO: Packet analysis {"connection_id":146144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbb7"} 
[2026-08-01 10:36:40] local.INFO: Extracted packet for processing {"connection_id":146144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbb7"} 
[2026-08-01 10:36:40] local.INFO: GPS Element Parsed {"raw_longitude":756633536,"raw_latitude":119581168,"longitude_deg":75.6633536,"latitude_deg":11.9581168,"altitude":72,"angle":276,"satellites":6,"speed":25,"hex_longitude":"2d194fc0","hex_latitude":"0720a9f0","is_valid_coordinates":true} 
[2026-08-01 10: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-08-01 10:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103553024001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10084802254340096,"note":"Value kept but may cause issues"} 
[2026-08-01 10:36:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066673815552,"note":"Value kept but may cause issues"} 
[2026-08-01 10:36: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-08-01 10:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785560763000,"timestamp_ms":1785560763000,"timestamp_seconds":1785560763,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbb70a78"} 
[2026-08-01 10:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:36:40] 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-08-01 10: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-01 10:36: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-08-01 10: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-08-01 10:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:36:40] 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-08-01 10:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 10:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 10:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103553024001,"66":14450,"103":206,"83":41984,"24":25,"16":10084802254340096,"45":1830291066673815552},"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-08-01 10:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 10:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 10:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103553024001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:36:40] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 10:36:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 10:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10084802254340096,"km_value":10084802254340.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:36:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066673815552,"description":"Unknown IO ID 45"} 
[2026-08-01 10:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103553024001,"power":14450,"unknown_103":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1830291066673815552}} 
[2026-08-01 10:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":146144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576640,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:36:41] local.INFO: GPS data processed {"connection_id":146144,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:36:41] local.INFO: Acknowledgment sent {"connection_id":146144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:36:42] local.INFO: TCP Data received {"connection_id":148478,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:36:42] local.INFO: Processing buffer {"connection_id":148478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:36:42] local.INFO: IMEI packet received {"connection_id":148478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:36:42] local.INFO: IMEI acknowledgment sent {"connection_id":148478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:36:44] local.INFO: TCP Data received {"connection_id":148478,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:36:44] local.INFO: Processing buffer {"connection_id":148478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:36:44] local.INFO: IMEI packet received {"connection_id":148478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":148478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:36:50] local.INFO: TCP Data received {"connection_id":148478,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:36:50] local.INFO: Processing buffer {"connection_id":148478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:36:50] local.INFO: IMEI packet received {"connection_id":148478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":148478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:36:51] local.INFO: TCP Data received {"connection_id":148478,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbb69548012d27168006c405100010014e2c..."} 
[2026-08-01 10:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbb69548012d27168006c405100010014e2c..."} 
[2026-08-01 10:36:51] local.INFO: Processing buffer {"connection_id":148478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbb69548012d27168006c405100010014e2c..."} 
[2026-08-01 10:36:51] local.INFO: Packet analysis {"connection_id":148478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbb6"} 
[2026-08-01 10:36:51] local.INFO: Extracted packet for processing {"connection_id":148478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbb6"} 
[2026-08-01 10:36:51] local.INFO: GPS Element Parsed {"raw_longitude":757536384,"raw_latitude":113509648,"longitude_deg":75.7536384,"latitude_deg":11.3509648,"altitude":16,"angle":334,"satellites":44,"speed":62,"hex_longitude":"2d271680","hex_latitude":"06c40510","is_valid_coordinates":true} 
[2026-08-01 10:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103546112001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366241473466728448,"note":"Value kept but may cause issues"} 
[2026-08-01 10:36:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2821012614394626048,"note":"Value kept but may cause issues"} 
[2026-08-01 10:36:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785560733000,"timestamp_ms":1785560733000,"timestamp_seconds":1785560733,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbb69548"} 
[2026-08-01 10:36:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:36: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-08-01 10:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 10:36: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-08-01 10:36:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:36:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103546112001,"66":27800,"231":206,"81":20992,"24":62,"16":366241473466728448,"45":2821012614394626048},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-08-01 10:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103546112001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:36:51] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-08-01 10:36:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-01 10:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366241473466728448,"km_value":366241473466728.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:36:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2821012614394626048,"description":"Unknown IO ID 45"} 
[2026-08-01 10:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103546112001,"power":27800,"unknown_231":206,"unknown_81":20992,"ignition":62,"odometer":null,"unknown_45":2821012614394626048}} 
[2026-08-01 10:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":148478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:36:51] local.INFO: GPS data processed {"connection_id":148478,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:36:51] local.INFO: Acknowledgment sent {"connection_id":148478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:37:00] local.INFO: TCP Data received {"connection_id":145942,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:37:00] local.INFO: Processing buffer {"connection_id":145942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:37:00] local.INFO: IMEI packet received {"connection_id":145942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 10:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":145942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:37:03] local.INFO: TCP Data received {"connection_id":145942,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:37:03] local.INFO: Processing buffer {"connection_id":145942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:37:03] local.INFO: IMEI packet received {"connection_id":145942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 10:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":145942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:37:06] local.INFO: TCP Data received {"connection_id":145942,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:37:06] local.INFO: Processing buffer {"connection_id":145942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:37:06] local.INFO: IMEI packet received {"connection_id":145942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 10:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":145942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:37:07] local.INFO: TCP Data received {"connection_id":145942,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbb71a18012d1944c00720ace80048011f06..."} 
[2026-08-01 10:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbb71a18012d1944c00720ace80048011f06..."} 
[2026-08-01 10:37:07] local.INFO: Processing buffer {"connection_id":145942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbb71a18012d1944c00720ace80048011f06..."} 
[2026-08-01 10:37:07] local.INFO: Packet analysis {"connection_id":145942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbb7"} 
[2026-08-01 10:37:07] local.INFO: Extracted packet for processing {"connection_id":145942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbb7"} 
[2026-08-01 10:37:07] local.INFO: GPS Element Parsed {"raw_longitude":756630720,"raw_latitude":119581928,"longitude_deg":75.663072,"latitude_deg":11.9581928,"altitude":72,"angle":287,"satellites":6,"speed":30,"hex_longitude":"2d1944c0","hex_latitude":"0720ace8","is_valid_coordinates":true} 
[2026-08-01 10:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103555328001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10084939693293568,"note":"Value kept but may cause issues"} 
[2026-08-01 10:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823887510953652224,"note":"Value kept but may cause issues"} 
[2026-08-01 10:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785560767000,"timestamp_ms":1785560767000,"timestamp_seconds":1785560767,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbb71a18"} 
[2026-08-01 10:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:37:07] 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-08-01 10:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-01 10:37:07] 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-08-01 10:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":145942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":145942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":145942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:37: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-08-01 10:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 10:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 10:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103555328001,"66":14352,"103":206,"83":41984,"24":30,"16":10084939693293568,"45":1823887510953652224},"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-08-01 10:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 10:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 10:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103555328001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:37:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 10:37:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 10:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10084939693293568,"km_value":10084939693293.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823887510953652224,"description":"Unknown IO ID 45"} 
[2026-08-01 10:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103555328001,"power":14352,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1823887510953652224}} 
[2026-08-01 10:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":145942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576642,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:37:07] local.INFO: GPS data processed {"connection_id":145942,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:37:07] local.INFO: Acknowledgment sent {"connection_id":145942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:37:22] local.INFO: TCP Data received {"connection_id":148478,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbb6acb8012d27070006c42640000f014f2d..."} 
[2026-08-01 10:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbb6acb8012d27070006c42640000f014f2d..."} 
[2026-08-01 10:37:22] local.INFO: Processing buffer {"connection_id":148478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbb6acb8012d27070006c42640000f014f2d..."} 
[2026-08-01 10:37:22] local.INFO: Packet analysis {"connection_id":148478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbb6"} 
[2026-08-01 10:37:22] local.INFO: Extracted packet for processing {"connection_id":148478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbb6"} 
[2026-08-01 10:37:22] local.INFO: GPS Element Parsed {"raw_longitude":757532416,"raw_latitude":113518144,"longitude_deg":75.7532416,"latitude_deg":11.3518144,"altitude":15,"angle":335,"satellites":45,"speed":61,"hex_longitude":"2d270700","hex_latitude":"06c42640","is_valid_coordinates":true} 
[2026-08-01 10:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:37:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103547648001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:37:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366241928733261824,"note":"Value kept but may cause issues"} 
[2026-08-01 10:37:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2816579383513649152,"note":"Value kept but may cause issues"} 
[2026-08-01 10:37:22] 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-08-01 10:37:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785560739000,"timestamp_ms":1785560739000,"timestamp_seconds":1785560739,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbb6acb8"} 
[2026-08-01 10:37:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:37:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 10:37: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-08-01 10:37:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:37:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:37:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:37:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:37:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:37:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:37:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:37:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:37:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:37:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103547648001,"66":27745,"231":206,"81":20992,"24":61,"16":366241928733261824,"45":2816579383513649152},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-08-01 10:37:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:37:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:37:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103547648001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:37:22] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-08-01 10:37:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-01 10:37:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366241928733261824,"km_value":366241928733261.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:37:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2816579383513649152,"description":"Unknown IO ID 45"} 
[2026-08-01 10:37:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103547648001,"power":27745,"unknown_231":206,"unknown_81":20992,"ignition":61,"odometer":null,"unknown_45":2816579383513649152}} 
[2026-08-01 10:37:22] local.INFO: DEBUG: GPS processor result {"connection_id":148478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:37:22] local.INFO: GPS data processed {"connection_id":148478,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:37:22] local.INFO: Acknowledgment sent {"connection_id":148478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:37:38] local.INFO: TCP Data received {"connection_id":145942,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbb83740012d18be00072159e00038014207..."} 
[2026-08-01 10:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbb83740012d18be00072159e00038014207..."} 
[2026-08-01 10:37:38] local.INFO: Processing buffer {"connection_id":145942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbb83740012d18be00072159e00038014207..."} 
[2026-08-01 10:37:38] local.INFO: Packet analysis {"connection_id":145942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbb8"} 
[2026-08-01 10:37:38] local.INFO: Extracted packet for processing {"connection_id":145942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbb8"} 
[2026-08-01 10:37:38] local.INFO: GPS Element Parsed {"raw_longitude":756596224,"raw_latitude":119626208,"longitude_deg":75.6596224,"latitude_deg":11.9626208,"altitude":56,"angle":322,"satellites":7,"speed":27,"hex_longitude":"2d18be00","hex_latitude":"072159e0","is_valid_coordinates":true} 
[2026-08-01 10: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-08-01 10:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103574528001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10087868860989440,"note":"Value kept but may cause issues"} 
[2026-08-01 10:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783706958039433216,"note":"Value kept but may cause issues"} 
[2026-08-01 10:37: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-08-01 10:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785560840000,"timestamp_ms":1785560840000,"timestamp_seconds":1785560840,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbb83740"} 
[2026-08-01 10:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:37:38] 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-08-01 10:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-01 10:37:38] 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-08-01 10:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:37:38] 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-08-01 10:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 10:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 10:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103574528001,"66":14407,"103":206,"83":41984,"24":27,"16":10087868860989440,"45":1783706958039433216},"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-08-01 10:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 10:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 10:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103574528001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:37:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 10:37:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 10:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10087868860989440,"km_value":10087868860989.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783706958039433216,"description":"Unknown IO ID 45"} 
[2026-08-01 10:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103574528001,"power":14407,"unknown_103":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1783706958039433216}} 
[2026-08-01 10:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":145942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:37:38] local.INFO: GPS data processed {"connection_id":145942,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:37:38] local.INFO: Acknowledgment sent {"connection_id":145942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:37:45] local.INFO: TCP Data received {"connection_id":146146,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:37:45] local.INFO: Processing buffer {"connection_id":146146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:37:45] local.INFO: IMEI packet received {"connection_id":146146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":146146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:37:48] local.INFO: TCP Data received {"connection_id":146146,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:37:48] local.INFO: Processing buffer {"connection_id":146146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:37:48] local.INFO: IMEI packet received {"connection_id":146146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":146146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:37:51] local.INFO: TCP Data received {"connection_id":146146,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbb7d980012d26174006c573400018013f2c..."} 
[2026-08-01 10:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbb7d980012d26174006c573400018013f2c..."} 
[2026-08-01 10:37:51] local.INFO: Processing buffer {"connection_id":146146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbb7d980012d26174006c573400018013f2c..."} 
[2026-08-01 10:37:51] local.INFO: Packet analysis {"connection_id":146146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbb7"} 
[2026-08-01 10:37:51] local.INFO: Extracted packet for processing {"connection_id":146146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbb7"} 
[2026-08-01 10:37:51] local.INFO: GPS Element Parsed {"raw_longitude":757471040,"raw_latitude":113603392,"longitude_deg":75.747104,"latitude_deg":11.3603392,"altitude":24,"angle":319,"satellites":44,"speed":48,"hex_longitude":"2d261740","hex_latitude":"06c57340","is_valid_coordinates":true} 
[2026-08-01 10: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-08-01 10:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103566848001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366247026859442176,"note":"Value kept but may cause issues"} 
[2026-08-01 10:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2751488295171426304,"note":"Value kept but may cause issues"} 
[2026-08-01 10:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785560816000,"timestamp_ms":1785560816000,"timestamp_seconds":1785560816,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbb7d980"} 
[2026-08-01 10:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10: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-08-01 10:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 10:37:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:37:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":146146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":146146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":146146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:37:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103566848001,"66":27843,"85":206,"81":20992,"24":48,"16":366247026859442176,"45":2751488295171426304},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-08-01 10:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103566848001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:37:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-08-01 10:37:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-01 10:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366247026859442176,"km_value":366247026859442.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2751488295171426304,"description":"Unknown IO ID 45"} 
[2026-08-01 10:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103566848001,"power":27843,"unknown_85":206,"unknown_81":20992,"ignition":48,"odometer":null,"unknown_45":2751488295171426304}} 
[2026-08-01 10:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":146146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:37:51] local.INFO: GPS data processed {"connection_id":146146,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:37:51] local.INFO: Acknowledgment sent {"connection_id":146146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:38:01] local.INFO: TCP Data received {"connection_id":147157,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147157,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:38:01] local.INFO: Processing buffer {"connection_id":147157,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:38:01] local.INFO: IMEI packet received {"connection_id":147157,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 10:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":147157,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:38:06] local.INFO: TCP Data received {"connection_id":147157,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147157,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:38:06] local.INFO: Processing buffer {"connection_id":147157,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:38:06] local.INFO: IMEI packet received {"connection_id":147157,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 10:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":147157,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:38:06] local.INFO: TCP Data received {"connection_id":147157,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbb86238012d18a9c0072172c80031013408..."} 
[2026-08-01 10:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbb86238012d18a9c0072172c80031013408..."} 
[2026-08-01 10:38:06] local.INFO: Processing buffer {"connection_id":147157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbb86238012d18a9c0072172c80031013408..."} 
[2026-08-01 10:38:06] local.INFO: Packet analysis {"connection_id":147157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbb8"} 
[2026-08-01 10:38:06] local.INFO: Extracted packet for processing {"connection_id":147157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbb8"} 
[2026-08-01 10:38:06] local.INFO: GPS Element Parsed {"raw_longitude":756591040,"raw_latitude":119632584,"longitude_deg":75.659104,"latitude_deg":11.9632584,"altitude":49,"angle":308,"satellites":8,"speed":27,"hex_longitude":"2d18a9c0","hex_latitude":"072172c8","is_valid_coordinates":true} 
[2026-08-01 10:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103575040001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10088268292947968,"note":"Value kept but may cause issues"} 
[2026-08-01 10:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1782862533109604352,"note":"Value kept but may cause issues"} 
[2026-08-01 10:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785560851000,"timestamp_ms":1785560851000,"timestamp_seconds":1785560851,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbb86238"} 
[2026-08-01 10:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:38:06] 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-08-01 10:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-01 10:38:06] 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-08-01 10:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:38:06] 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-08-01 10:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 10:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 10:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103575040001,"66":14374,"103":206,"83":41984,"24":27,"16":10088268292947968,"45":1782862533109604352},"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-08-01 10:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 10:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 10:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103575040001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:38:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 10:38:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 10:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10088268292947968,"km_value":10088268292947.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1782862533109604352,"description":"Unknown IO ID 45"} 
[2026-08-01 10:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103575040001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1782862533109604352}} 
[2026-08-01 10:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":147157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576646,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:38:06] local.INFO: GPS data processed {"connection_id":147157,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:38:06] local.INFO: Acknowledgment sent {"connection_id":147157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:38:37] local.INFO: TCP Data received {"connection_id":147157,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbb86a08012d18a500072175100030012408..."} 
[2026-08-01 10:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbb86a08012d18a500072175100030012408..."} 
[2026-08-01 10:38:37] local.INFO: Processing buffer {"connection_id":147157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbb86a08012d18a500072175100030012408..."} 
[2026-08-01 10:38:37] local.INFO: Packet analysis {"connection_id":147157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbb8"} 
[2026-08-01 10:38:37] local.INFO: Extracted packet for processing {"connection_id":147157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbb8"} 
[2026-08-01 10:38:37] local.INFO: GPS Element Parsed {"raw_longitude":756589824,"raw_latitude":119633168,"longitude_deg":75.6589824,"latitude_deg":11.9633168,"altitude":48,"angle":292,"satellites":8,"speed":29,"hex_longitude":"2d18a500","hex_latitude":"07217510","is_valid_coordinates":true} 
[2026-08-01 10:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103577856001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10088332717457408,"note":"Value kept but may cause issues"} 
[2026-08-01 10:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777162664832845824,"note":"Value kept but may cause issues"} 
[2026-08-01 10:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785560853000,"timestamp_ms":1785560853000,"timestamp_seconds":1785560853,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbb86a08"} 
[2026-08-01 10:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:38:37] 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-08-01 10:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-01 10:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:38:37] 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-08-01 10:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 10:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 10:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103577856001,"66":13472,"103":206,"83":41984,"24":29,"16":10088332717457408,"45":1777162664832845824},"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-08-01 10:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 10:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 10:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103577856001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:38:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 10:38:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 10:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10088332717457408,"km_value":10088332717457.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777162664832845824,"description":"Unknown IO ID 45"} 
[2026-08-01 10:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103577856001,"power":13472,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1777162664832845824}} 
[2026-08-01 10:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":147157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576647,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:38:37] local.INFO: GPS data processed {"connection_id":147157,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:38:37] local.INFO: Acknowledgment sent {"connection_id":147157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:38:42] local.INFO: TCP Data received {"connection_id":146146,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbb7f4d8012d26004006c58db00017013f2c..."} 
[2026-08-01 10:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbb7f4d8012d26004006c58db00017013f2c..."} 
[2026-08-01 10:38:42] local.INFO: Processing buffer {"connection_id":146146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbb7f4d8012d26004006c58db00017013f2c..."} 
[2026-08-01 10:38:42] local.INFO: Packet analysis {"connection_id":146146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbb7"} 
[2026-08-01 10:38:42] local.INFO: Extracted packet for processing {"connection_id":146146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbb7"} 
[2026-08-01 10:38:42] local.INFO: GPS Element Parsed {"raw_longitude":757465152,"raw_latitude":113610160,"longitude_deg":75.7465152,"latitude_deg":11.361016,"altitude":23,"angle":319,"satellites":44,"speed":53,"hex_longitude":"2d260040","hex_latitude":"06c58db0","is_valid_coordinates":true} 
[2026-08-01 10: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-08-01 10:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103568896001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366247456356171776,"note":"Value kept but may cause issues"} 
[2026-08-01 10:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2744732895732252672,"note":"Value kept but may cause issues"} 
[2026-08-01 10:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785560823000,"timestamp_ms":1785560823000,"timestamp_seconds":1785560823,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbb7f4d8"} 
[2026-08-01 10:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:38: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-08-01 10: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 10:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10: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-08-01 10:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":146146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":146146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":146146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103568896001,"66":27789,"85":206,"81":20992,"24":53,"16":366247456356171776,"45":2744732895732252672},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-08-01 10:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103568896001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:38:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-08-01 10:38:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-01 10:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366247456356171776,"km_value":366247456356171.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":2744732895732252672,"description":"Unknown IO ID 45"} 
[2026-08-01 10:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103568896001,"power":27789,"unknown_85":206,"unknown_81":20992,"ignition":53,"odometer":null,"unknown_45":2744732895732252672}} 
[2026-08-01 10:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":146146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:38:42] local.INFO: GPS data processed {"connection_id":146146,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:38:42] local.INFO: Acknowledgment sent {"connection_id":146146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:38:44] local.INFO: TCP Data received {"connection_id":148479,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:38:44] local.INFO: Processing buffer {"connection_id":148479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:38:44] local.INFO: IMEI packet received {"connection_id":148479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":148479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:38:46] local.INFO: TCP Data received {"connection_id":148479,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:38:46] local.INFO: Processing buffer {"connection_id":148479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:38:46] local.INFO: IMEI packet received {"connection_id":148479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":148479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:38:49] local.INFO: TCP Data received {"connection_id":148479,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:38:49] local.INFO: Processing buffer {"connection_id":148479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:38:49] local.INFO: IMEI packet received {"connection_id":148479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":148479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:38:50] local.INFO: TCP Data received {"connection_id":148479,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbb81030012d25e6c006c5ab80001401402d..."} 
[2026-08-01 10:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbb81030012d25e6c006c5ab80001401402d..."} 
[2026-08-01 10:38:50] local.INFO: Processing buffer {"connection_id":148479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbb81030012d25e6c006c5ab80001401402d..."} 
[2026-08-01 10:38:50] local.INFO: Packet analysis {"connection_id":148479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbb8"} 
[2026-08-01 10:38:50] local.INFO: Extracted packet for processing {"connection_id":148479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbb8"} 
[2026-08-01 10:38:50] local.INFO: GPS Element Parsed {"raw_longitude":757458624,"raw_latitude":113617792,"longitude_deg":75.7458624,"latitude_deg":11.3617792,"altitude":20,"angle":320,"satellites":45,"speed":60,"hex_longitude":"2d25e6c0","hex_latitude":"06c5ab80","is_valid_coordinates":true} 
[2026-08-01 10: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-08-01 10:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103570688001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366247937392508928,"note":"Value kept but may cause issues"} 
[2026-08-01 10:38:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2738258971269640192,"note":"Value kept but may cause issues"} 
[2026-08-01 10:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785560830000,"timestamp_ms":1785560830000,"timestamp_seconds":1785560830,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbb81030"} 
[2026-08-01 10:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-01 10:38:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10: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-08-01 10:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103570688001,"66":27267,"85":206,"81":20992,"24":60,"16":366247937392508928,"45":2738258971269640192},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-08-01 10:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103570688001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:38:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-08-01 10:38:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-01 10:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366247937392508928,"km_value":366247937392508.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:38:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2738258971269640192,"description":"Unknown IO ID 45"} 
[2026-08-01 10:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103570688001,"power":27267,"unknown_85":206,"unknown_81":20992,"ignition":60,"odometer":null,"unknown_45":2738258971269640192}} 
[2026-08-01 10:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":148479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:38:50] local.INFO: GPS data processed {"connection_id":148479,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:38:50] local.INFO: Acknowledgment sent {"connection_id":148479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:39:00] local.INFO: TCP Data received {"connection_id":147158,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:39:00] local.INFO: Processing buffer {"connection_id":147158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:39:00] local.INFO: IMEI packet received {"connection_id":147158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 10:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":147158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:39:02] local.INFO: TCP Data received {"connection_id":147158,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:39:02] local.INFO: Processing buffer {"connection_id":147158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:39:02] local.INFO: IMEI packet received {"connection_id":147158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 10:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":147158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:39:06] local.INFO: TCP Data received {"connection_id":147158,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:39:06] local.INFO: Processing buffer {"connection_id":147158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:39:06] local.INFO: IMEI packet received {"connection_id":147158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 10:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":147158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:39:06] local.INFO: TCP Data received {"connection_id":147158,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbb96408012d181c400721ab98003c00140a..."} 
[2026-08-01 10:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbb96408012d181c400721ab98003c00140a..."} 
[2026-08-01 10:39:06] local.INFO: Processing buffer {"connection_id":147158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbb96408012d181c400721ab98003c00140a..."} 
[2026-08-01 10:39:06] local.INFO: Packet analysis {"connection_id":147158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbb9"} 
[2026-08-01 10:39:06] local.INFO: Extracted packet for processing {"connection_id":147158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbb9"} 
[2026-08-01 10:39:06] local.INFO: GPS Element Parsed {"raw_longitude":756554816,"raw_latitude":119647128,"longitude_deg":75.6554816,"latitude_deg":11.9647128,"altitude":60,"angle":20,"satellites":10,"speed":15,"hex_longitude":"2d181c40","hex_latitude":"0721ab98","is_valid_coordinates":true} 
[2026-08-01 10: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-08-01 10:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103594496001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10090209618165760,"note":"Value kept but may cause issues"} 
[2026-08-01 10:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737193218143574016,"note":"Value kept but may cause issues"} 
[2026-08-01 10:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785560917000,"timestamp_ms":1785560917000,"timestamp_seconds":1785560917,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbb96408"} 
[2026-08-01 10:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4096,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-01 10:39:06] 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-08-01 10: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-08-01 10:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:39:06] 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-08-01 10:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 10:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 10:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103594496001,"66":14374,"105":206,"83":41984,"24":15,"16":10090209618165760,"45":1737193218143574016},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 10:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 10:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 10:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103594496001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:39:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 10:39:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 10:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10090209618165760,"km_value":10090209618165.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737193218143574016,"description":"Unknown IO ID 45"} 
[2026-08-01 10:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103594496001,"power":14374,"unknown_105":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1737193218143574016}} 
[2026-08-01 10:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":147158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576650,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:39:07] local.INFO: GPS data processed {"connection_id":147158,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:39:07] local.INFO: Acknowledgment sent {"connection_id":147158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:39:24] local.INFO: TCP Data received {"connection_id":148479,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbb92d58012d25130006c70d900017014a2c..."} 
[2026-08-01 10:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbb92d58012d25130006c70d900017014a2c..."} 
[2026-08-01 10:39:24] local.INFO: Processing buffer {"connection_id":148479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbb92d58012d25130006c70d900017014a2c..."} 
[2026-08-01 10:39:24] local.INFO: Packet analysis {"connection_id":148479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbb9"} 
[2026-08-01 10:39:24] local.INFO: Extracted packet for processing {"connection_id":148479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbb9"} 
[2026-08-01 10:39:24] local.INFO: GPS Element Parsed {"raw_longitude":757404416,"raw_latitude":113708432,"longitude_deg":75.7404416,"latitude_deg":11.3708432,"altitude":23,"angle":330,"satellites":44,"speed":46,"hex_longitude":"2d251300","hex_latitude":"06c70d90","is_valid_coordinates":true} 
[2026-08-01 10:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:39:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103589120001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:39:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366253039813656576,"note":"Value kept but may cause issues"} 
[2026-08-01 10:39:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2676827057625487360,"note":"Value kept but may cause issues"} 
[2026-08-01 10:39:24] 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-08-01 10:39:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785560903000,"timestamp_ms":1785560903000,"timestamp_seconds":1785560903,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbb92d58"} 
[2026-08-01 10:39:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:39: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-08-01 10:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 10:39:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:39:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:39:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:39:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:39:24] local.INFO: Teltonika packet parsed successfully {"connection_id":148479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:39:24] local.INFO: Passing IMEI to GPS processor {"connection_id":148479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:39:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":148479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:39:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:39:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:39:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:39:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103589120001,"66":27919,"78":206,"81":22528,"24":46,"16":366253039813656576,"45":2676827057625487360},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-08-01 10:39:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:39:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:39:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103589120001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:39:24] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-08-01 10:39:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-01 10:39:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366253039813656576,"km_value":366253039813656.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:39:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":2676827057625487360,"description":"Unknown IO ID 45"} 
[2026-08-01 10:39:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103589120001,"power":27919,"unknown_78":206,"unknown_81":22528,"ignition":46,"odometer":null,"unknown_45":2676827057625487360}} 
[2026-08-01 10:39:24] local.INFO: DEBUG: GPS processor result {"connection_id":148479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:39:24] local.INFO: GPS data processed {"connection_id":148479,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:39:24] local.INFO: Acknowledgment sent {"connection_id":148479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:39:37] local.INFO: TCP Data received {"connection_id":147158,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbb967f0012d181cc00721acd8003d00210a..."} 
[2026-08-01 10:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbb967f0012d181cc00721acd8003d00210a..."} 
[2026-08-01 10:39:37] local.INFO: Processing buffer {"connection_id":147158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbb967f0012d181cc00721acd8003d00210a..."} 
[2026-08-01 10:39:37] local.INFO: Packet analysis {"connection_id":147158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbb9"} 
[2026-08-01 10:39:37] local.INFO: Extracted packet for processing {"connection_id":147158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbb9"} 
[2026-08-01 10:39:37] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119647448,"longitude_deg":75.6554944,"latitude_deg":11.9647448,"altitude":61,"angle":33,"satellites":10,"speed":15,"hex_longitude":"2d181cc0","hex_latitude":"0721acd8","is_valid_coordinates":true} 
[2026-08-01 10: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-08-01 10:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103594752001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10090226798034944,"note":"Value kept but may cause issues"} 
[2026-08-01 10:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737333955632011264,"note":"Value kept but may cause issues"} 
[2026-08-01 10:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785560918000,"timestamp_ms":1785560918000,"timestamp_seconds":1785560918,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbb967f0"} 
[2026-08-01 10:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4096,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-01 10:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10: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-08-01 10:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:39:37] 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-08-01 10:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 10:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 10:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103594752001,"66":14537,"105":206,"83":41984,"24":15,"16":10090226798034944,"45":1737333955632011264},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 10:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 10:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 10:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103594752001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:39:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 10:39:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 10:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10090226798034944,"km_value":10090226798034.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737333955632011264,"description":"Unknown IO ID 45"} 
[2026-08-01 10:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103594752001,"power":14537,"unknown_105":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1737333955632011264}} 
[2026-08-01 10:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":147158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:39:38] local.INFO: GPS data processed {"connection_id":147158,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:39:38] local.INFO: Acknowledgment sent {"connection_id":147158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:39:44] local.INFO: TCP Data received {"connection_id":148480,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:39:44] local.INFO: Processing buffer {"connection_id":148480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:39:44] local.INFO: IMEI packet received {"connection_id":148480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":148480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:39:45] local.INFO: TCP Data received {"connection_id":148480,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:39:45] local.INFO: Processing buffer {"connection_id":148480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:39:45] local.INFO: IMEI packet received {"connection_id":148480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":148480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:39:49] local.INFO: TCP Data received {"connection_id":148480,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:39:49] local.INFO: Processing buffer {"connection_id":148480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:39:49] local.INFO: IMEI packet received {"connection_id":148480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":148480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:39:50] local.INFO: TCP Data received {"connection_id":148480,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbb94c98012d25028006c72d90001801522d..."} 
[2026-08-01 10:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbb94c98012d25028006c72d90001801522d..."} 
[2026-08-01 10:39:50] local.INFO: Processing buffer {"connection_id":148480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbb94c98012d25028006c72d90001801522d..."} 
[2026-08-01 10:39:50] local.INFO: Packet analysis {"connection_id":148480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbb9"} 
[2026-08-01 10:39:50] local.INFO: Extracted packet for processing {"connection_id":148480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbb9"} 
[2026-08-01 10:39:50] local.INFO: GPS Element Parsed {"raw_longitude":757400192,"raw_latitude":113716624,"longitude_deg":75.7400192,"latitude_deg":11.3716624,"altitude":24,"angle":338,"satellites":45,"speed":45,"hex_longitude":"2d250280","hex_latitude":"06c72d90","is_valid_coordinates":true} 
[2026-08-01 10: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-08-01 10:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103591168001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366253486490255360,"note":"Value kept but may cause issues"} 
[2026-08-01 10:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2671479033070194688,"note":"Value kept but may cause issues"} 
[2026-08-01 10:39:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785560911000,"timestamp_ms":1785560911000,"timestamp_seconds":1785560911,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbb94c98"} 
[2026-08-01 10:39:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:39: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-08-01 10:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 10:39:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10: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-08-01 10:39:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:39:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103591168001,"66":27995,"78":206,"81":22528,"24":45,"16":366253486490255360,"45":2671479033070194688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-08-01 10:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103591168001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:39:50] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-08-01 10:39:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-01 10:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366253486490255360,"km_value":366253486490255.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2671479033070194688,"description":"Unknown IO ID 45"} 
[2026-08-01 10:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103591168001,"power":27995,"unknown_78":206,"unknown_81":22528,"ignition":45,"odometer":null,"unknown_45":2671479033070194688}} 
[2026-08-01 10:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":148480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:39:50] local.INFO: GPS data processed {"connection_id":148480,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:39:50] local.INFO: Acknowledgment sent {"connection_id":148480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:40:05] local.INFO: TCP Data received {"connection_id":146147,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:40:05] local.INFO: Processing buffer {"connection_id":146147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:40:05] local.INFO: IMEI packet received {"connection_id":146147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 10:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":146147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:40:05] local.INFO: TCP Data received {"connection_id":146147,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:40:05] local.INFO: Processing buffer {"connection_id":146147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:40:05] local.INFO: IMEI packet received {"connection_id":146147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 10:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":146147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:40:11] local.INFO: TCP Data received {"connection_id":146147,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:40:11] local.INFO: Processing buffer {"connection_id":146147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:40:11] local.INFO: IMEI packet received {"connection_id":146147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 10:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":146147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:40:12] local.INFO: TCP Data received {"connection_id":146147,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbb98730012d1823400721b6f0004100150a..."} 
[2026-08-01 10:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbb98730012d1823400721b6f0004100150a..."} 
[2026-08-01 10:40:12] local.INFO: Processing buffer {"connection_id":146147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbb98730012d1823400721b6f0004100150a..."} 
[2026-08-01 10:40:12] local.INFO: Packet analysis {"connection_id":146147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbb9"} 
[2026-08-01 10:40:12] local.INFO: Extracted packet for processing {"connection_id":146147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbb9"} 
[2026-08-01 10:40:12] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650032,"longitude_deg":75.6556608,"latitude_deg":11.9650032,"altitude":65,"angle":21,"satellites":10,"speed":13,"hex_longitude":"2d182340","hex_latitude":"0721b6f0","is_valid_coordinates":true} 
[2026-08-01 10: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-08-01 10:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103595008001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10090372826923008,"note":"Value kept but may cause issues"} 
[2026-08-01 10:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120448512,"note":"Value kept but may cause issues"} 
[2026-08-01 10:40: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-08-01 10:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785560926000,"timestamp_ms":1785560926000,"timestamp_seconds":1785560926,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbb98730"} 
[2026-08-01 10:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4096,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10: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":201,"data_length":795,"current_offset":136} 
[2026-08-01 10:40:12] 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-08-01 10: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-08-01 10:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":146147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":146147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":146147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:40:12] 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-08-01 10:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 10:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 10:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103595008001,"66":14135,"105":206,"83":41984,"24":13,"16":10090372826923008,"45":1737474693120448512},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 10:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 10:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 10:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103595008001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:40:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 10:40:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 10:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10090372826923008,"km_value":10090372826923.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120448512,"description":"Unknown IO ID 45"} 
[2026-08-01 10:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103595008001,"power":14135,"unknown_105":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1737474693120448512}} 
[2026-08-01 10:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":146147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576654,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:40:12] local.INFO: GPS data processed {"connection_id":146147,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:40:12] local.INFO: Acknowledgment sent {"connection_id":146147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:40:21] local.INFO: TCP Data received {"connection_id":148480,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbb96bd8012d24f70006c74fe80019015a2d..."} 
[2026-08-01 10:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbb96bd8012d24f70006c74fe80019015a2d..."} 
[2026-08-01 10:40:21] local.INFO: Processing buffer {"connection_id":148480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbb96bd8012d24f70006c74fe80019015a2d..."} 
[2026-08-01 10:40:21] local.INFO: Packet analysis {"connection_id":148480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbb9"} 
[2026-08-01 10:40:21] local.INFO: Extracted packet for processing {"connection_id":148480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbb9"} 
[2026-08-01 10:40:21] local.INFO: GPS Element Parsed {"raw_longitude":757397248,"raw_latitude":113725416,"longitude_deg":75.7397248,"latitude_deg":11.3725416,"altitude":25,"angle":346,"satellites":45,"speed":47,"hex_longitude":"2d24f700","hex_latitude":"06c74fe8","is_valid_coordinates":true} 
[2026-08-01 10: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-08-01 10:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103593216001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366253933166854144,"note":"Value kept but may cause issues"} 
[2026-08-01 10:40:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2666834695956566016,"note":"Value kept but may cause issues"} 
[2026-08-01 10:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785560919000,"timestamp_ms":1785560919000,"timestamp_seconds":1785560919,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbb96bd8"} 
[2026-08-01 10:40:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:40: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-08-01 10:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-01 10:40:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10: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-08-01 10:40:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:40:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103593216001,"66":27397,"78":206,"81":22528,"24":47,"16":366253933166854144,"45":2666834695956566016},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-08-01 10:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103593216001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:40:21] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-08-01 10:40:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-01 10:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366253933166854144,"km_value":366253933166854.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:40:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2666834695956566016,"description":"Unknown IO ID 45"} 
[2026-08-01 10:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103593216001,"power":27397,"unknown_78":206,"unknown_81":22528,"ignition":47,"odometer":null,"unknown_45":2666834695956566016}} 
[2026-08-01 10:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":148480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:40:21] local.INFO: GPS data processed {"connection_id":148480,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:40:21] local.INFO: Acknowledgment sent {"connection_id":148480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:40:43] local.INFO: TCP Data received {"connection_id":146147,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbb98b18012d1823800721b7f0004101550a..."} 
[2026-08-01 10:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbb98b18012d1823800721b7f0004101550a..."} 
[2026-08-01 10:40:43] local.INFO: Processing buffer {"connection_id":146147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbb98b18012d1823800721b7f0004101550a..."} 
[2026-08-01 10:40:43] local.INFO: Packet analysis {"connection_id":146147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbb9"} 
[2026-08-01 10:40:43] local.INFO: Extracted packet for processing {"connection_id":146147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbb9"} 
[2026-08-01 10:40:43] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650288,"longitude_deg":75.6556672,"latitude_deg":11.9650288,"altitude":65,"angle":341,"satellites":10,"speed":8,"hex_longitude":"2d182380","hex_latitude":"0721b7f0","is_valid_coordinates":true} 
[2026-08-01 10:40:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103597056001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10090385711824896,"note":"Value kept but may cause issues"} 
[2026-08-01 10:40:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469729280,"note":"Value kept but may cause issues"} 
[2026-08-01 10:40: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-08-01 10:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785560927000,"timestamp_ms":1785560927000,"timestamp_seconds":1785560927,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbb98b18"} 
[2026-08-01 10:40:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:40:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4096,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:40:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-01 10:40:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:40:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:40:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":146147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":146147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":146147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:40:43] 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-08-01 10:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 10:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 10:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103597056001,"66":14135,"105":206,"83":41984,"24":8,"16":10090385711824896,"45":1739304280469729280},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 10:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 10:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 10:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103597056001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:40:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 10:40:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 10:40:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10090385711824896,"km_value":10090385711824.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:40:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469729280,"description":"Unknown IO ID 45"} 
[2026-08-01 10:40:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103597056001,"power":14135,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1739304280469729280}} 
[2026-08-01 10:40:43] local.INFO: DEBUG: GPS processor result {"connection_id":146147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:40:43] local.INFO: GPS data processed {"connection_id":146147,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:40:43] local.INFO: Acknowledgment sent {"connection_id":146147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:40:51] local.INFO: TCP Data received {"connection_id":146148,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:40:51] local.INFO: Processing buffer {"connection_id":146148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:40:51] local.INFO: IMEI packet received {"connection_id":146148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":146148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:40:52] local.INFO: TCP Data received {"connection_id":146148,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:40:52] local.INFO: Processing buffer {"connection_id":146148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:40:52] local.INFO: IMEI packet received {"connection_id":146148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":146148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:40:54] local.INFO: TCP Data received {"connection_id":146148,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbb98b18012d24f10006c77728001601612c..."} 
[2026-08-01 10:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbb98b18012d24f10006c77728001601612c..."} 
[2026-08-01 10:40:54] local.INFO: Processing buffer {"connection_id":146148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbb98b18012d24f10006c77728001601612c..."} 
[2026-08-01 10:40:54] local.INFO: Packet analysis {"connection_id":146148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbb9"} 
[2026-08-01 10:40:54] local.INFO: Extracted packet for processing {"connection_id":146148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbb9"} 
[2026-08-01 10:40:54] local.INFO: GPS Element Parsed {"raw_longitude":757395712,"raw_latitude":113735464,"longitude_deg":75.7395712,"latitude_deg":11.3735464,"altitude":22,"angle":353,"satellites":44,"speed":54,"hex_longitude":"2d24f100","hex_latitude":"06c77728","is_valid_coordinates":true} 
[2026-08-01 10:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103595264001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366254427088093184,"note":"Value kept but may cause issues"} 
[2026-08-01 10:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2663597733726644224,"note":"Value kept but may cause issues"} 
[2026-08-01 10:40:54] 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-08-01 10:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785560927000,"timestamp_ms":1785560927000,"timestamp_seconds":1785560927,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbb98b18"} 
[2026-08-01 10:40:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:40:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-01 10:40:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:40:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:40:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:40:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103595264001,"66":27332,"78":206,"81":22528,"24":54,"16":366254427088093184,"45":2663597733726644224},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-08-01 10:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103595264001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:40:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-08-01 10:40:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-01 10:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366254427088093184,"km_value":366254427088093.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:40:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":2663597733726644224,"description":"Unknown IO ID 45"} 
[2026-08-01 10:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103595264001,"power":27332,"unknown_78":206,"unknown_81":22528,"ignition":54,"odometer":null,"unknown_45":2663597733726644224}} 
[2026-08-01 10:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":146148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:40:54] local.INFO: GPS data processed {"connection_id":146148,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:40:54] local.INFO: Acknowledgment sent {"connection_id":146148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:40:56] local.INFO: TCP Data received {"connection_id":146148,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbb9a670012d24ed0006c79f08001201622c..."} 
[2026-08-01 10:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbb9a670012d24ed0006c79f08001201622c..."} 
[2026-08-01 10:40:56] local.INFO: Processing buffer {"connection_id":146148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbb9a670012d24ed0006c79f08001201622c..."} 
[2026-08-01 10:40:56] local.INFO: Packet analysis {"connection_id":146148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbb9"} 
[2026-08-01 10:40:56] local.INFO: Extracted packet for processing {"connection_id":146148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbb9"} 
[2026-08-01 10:40:56] local.INFO: GPS Element Parsed {"raw_longitude":757394688,"raw_latitude":113745672,"longitude_deg":75.7394688,"latitude_deg":11.3745672,"altitude":18,"angle":354,"satellites":44,"speed":61,"hex_longitude":"2d24ed00","hex_latitude":"06c79f08","is_valid_coordinates":true} 
[2026-08-01 10:40: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-08-01 10:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103597312001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366254925304299520,"note":"Value kept but may cause issues"} 
[2026-08-01 10:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2661908883868952576,"note":"Value kept but may cause issues"} 
[2026-08-01 10:40:56] 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-08-01 10:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785560934000,"timestamp_ms":1785560934000,"timestamp_seconds":1785560934,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbb9a670"} 
[2026-08-01 10:40:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:40: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-08-01 10:40: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":196,"data_length":795,"current_offset":136} 
[2026-08-01 10:40:56] 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-08-01 10:40: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-08-01 10:40:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":146148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":146148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":146148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103597312001,"66":27745,"79":206,"81":22528,"24":61,"16":366254925304299520,"45":2661908883868952576},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-08-01 10:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103597312001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:40:56] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-01 10:40:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-01 10:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366254925304299520,"km_value":366254925304299.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":2661908883868952576,"description":"Unknown IO ID 45"} 
[2026-08-01 10:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103597312001,"power":27745,"unknown_79":206,"unknown_81":22528,"ignition":61,"odometer":null,"unknown_45":2661908883868952576}} 
[2026-08-01 10:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":146148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:40:56] local.INFO: GPS data processed {"connection_id":146148,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:40:56] local.INFO: Acknowledgment sent {"connection_id":146148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:41:01] local.INFO: TCP Data received {"connection_id":145943,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:41:01] local.INFO: Processing buffer {"connection_id":145943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:41:01] local.INFO: IMEI packet received {"connection_id":145943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 10:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":145943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:41:05] local.INFO: TCP Data received {"connection_id":145943,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:41:05] local.INFO: Processing buffer {"connection_id":145943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:41:05] local.INFO: IMEI packet received {"connection_id":145943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 10:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":145943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:41:06] local.INFO: TCP Data received {"connection_id":145943,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbb98f00012d1823000721b888004201380a..."} 
[2026-08-01 10:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbb98f00012d1823000721b888004201380a..."} 
[2026-08-01 10:41:06] local.INFO: Processing buffer {"connection_id":145943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbb98f00012d1823000721b888004201380a..."} 
[2026-08-01 10:41:06] local.INFO: Packet analysis {"connection_id":145943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbb9"} 
[2026-08-01 10:41:06] local.INFO: Extracted packet for processing {"connection_id":145943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbb9"} 
[2026-08-01 10:41:06] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650440,"longitude_deg":75.6556544,"latitude_deg":11.965044,"altitude":66,"angle":312,"satellites":10,"speed":7,"hex_longitude":"2d182300","hex_latitude":"0721b888","is_valid_coordinates":true} 
[2026-08-01 10:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103597312001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10090398596726784,"note":"Value kept but may cause issues"} 
[2026-08-01 10:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213972480,"note":"Value kept but may cause issues"} 
[2026-08-01 10:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785560928000,"timestamp_ms":1785560928000,"timestamp_seconds":1785560928,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbb98f00"} 
[2026-08-01 10:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4096,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-01 10:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:41:06] 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-08-01 10:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 10:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 10:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103597312001,"66":14298,"105":206,"83":41984,"24":7,"16":10090398596726784,"45":1739374649213972480},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 10:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 10:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 10:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103597312001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:41:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 10:41:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 10:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10090398596726784,"km_value":10090398596726.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213972480,"description":"Unknown IO ID 45"} 
[2026-08-01 10:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103597312001,"power":14298,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1739374649213972480}} 
[2026-08-01 10:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":145943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576659,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:41:06] local.INFO: GPS data processed {"connection_id":145943,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:41:06] local.INFO: Acknowledgment sent {"connection_id":145943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:41:27] local.INFO: TCP Data received {"connection_id":146148,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbbb1988012d243f0006c933b0001401592d..."} 
[2026-08-01 10:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbbb1988012d243f0006c933b0001401592d..."} 
[2026-08-01 10:41:27] local.INFO: Processing buffer {"connection_id":146148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbbb1988012d243f0006c933b0001401592d..."} 
[2026-08-01 10:41:27] local.INFO: Packet analysis {"connection_id":146148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbbb"} 
[2026-08-01 10:41:27] local.INFO: Extracted packet for processing {"connection_id":146148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbbb"} 
[2026-08-01 10:41:27] local.INFO: GPS Element Parsed {"raw_longitude":757350144,"raw_latitude":113849264,"longitude_deg":75.7350144,"latitude_deg":11.3849264,"altitude":20,"angle":345,"satellites":45,"speed":52,"hex_longitude":"2d243f00","hex_latitude":"06c933b0","is_valid_coordinates":true} 
[2026-08-01 10:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103621632001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2615113669017882624,"note":"Value kept but may cause issues"} 
[2026-08-01 10:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366260461517144064,"note":"Value kept but may cause issues"} 
[2026-08-01 10:41:27] 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-08-01 10:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785561029000,"timestamp_ms":1785561029000,"timestamp_seconds":1785561029,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbbb1988"} 
[2026-08-01 10:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:41: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-08-01 10:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 10:41:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:41:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":146148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":146148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":146148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:41: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-08-01 10:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103621632001,"66":27843,"45":2615113669017882624,"81":22528,"24":52,"16":366260461517144064},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-08-01 10:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103621632001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":2615113669017882624,"description":"Unknown IO ID 45"} 
[2026-08-01 10:41:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-01 10:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366260461517144064,"km_value":366260461517144.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:41:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457103621632001,"power":27843,"unknown_45":2615113669017882624,"unknown_81":22528,"ignition":52,"odometer":null}} 
[2026-08-01 10:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":146148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:41:27] local.INFO: GPS data processed {"connection_id":146148,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:41:27] local.INFO: Acknowledgment sent {"connection_id":146148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:41:37] local.INFO: TCP Data received {"connection_id":145943,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbb9bde0012d1822800721b500004600cf0a..."} 
[2026-08-01 10:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbb9bde0012d1822800721b500004600cf0a..."} 
[2026-08-01 10:41:37] local.INFO: Processing buffer {"connection_id":145943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbb9bde0012d1822800721b500004600cf0a..."} 
[2026-08-01 10:41:37] local.INFO: Packet analysis {"connection_id":145943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbb9"} 
[2026-08-01 10:41:37] local.INFO: Extracted packet for processing {"connection_id":145943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbb9"} 
[2026-08-01 10:41:37] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649536,"longitude_deg":75.6556416,"latitude_deg":11.9649536,"altitude":70,"angle":207,"satellites":10,"speed":8,"hex_longitude":"2d182280","hex_latitude":"0721b500","is_valid_coordinates":true} 
[2026-08-01 10: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-08-01 10:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103597568001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10090463021236224,"note":"Value kept but may cause issues"} 
[2026-08-01 10:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725656064,"note":"Value kept but may cause issues"} 
[2026-08-01 10:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785560940000,"timestamp_ms":1785560940000,"timestamp_seconds":1785560940,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbb9bde0"} 
[2026-08-01 10:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4096,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-01 10:41:37] 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-08-01 10: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-08-01 10:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:41:37] 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-08-01 10:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 10:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 10:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103597568001,"66":14070,"105":206,"83":41984,"24":8,"16":10090463021236224,"45":1739233911725656064},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 10:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 10:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 10:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103597568001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:41:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 10:41:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 10:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10090463021236224,"km_value":10090463021236.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725656064,"description":"Unknown IO ID 45"} 
[2026-08-01 10:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103597568001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1739233911725656064}} 
[2026-08-01 10:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":145943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576661,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:41:37] local.INFO: GPS data processed {"connection_id":145943,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:41:37] local.INFO: Acknowledgment sent {"connection_id":145943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:41:41] local.INFO: TCP Data received {"connection_id":145944,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:41:41] local.INFO: Processing buffer {"connection_id":145944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:41:41] local.INFO: IMEI packet received {"connection_id":145944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":145944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:41:44] local.INFO: TCP Data received {"connection_id":145944,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:41:44] local.INFO: Processing buffer {"connection_id":145944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:41:44] local.INFO: IMEI packet received {"connection_id":145944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":145944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:41:48] local.INFO: TCP Data received {"connection_id":145944,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:41:48] local.INFO: Processing buffer {"connection_id":145944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:41:48] local.INFO: IMEI packet received {"connection_id":145944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":145944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:41:50] local.INFO: TCP Data received {"connection_id":145944,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbbb34e0012d24374006c959a80010015c2e..."} 
[2026-08-01 10:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbbb34e0012d24374006c959a80010015c2e..."} 
[2026-08-01 10:41:50] local.INFO: Processing buffer {"connection_id":145944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbbb34e0012d24374006c959a80010015c2e..."} 
[2026-08-01 10:41:50] local.INFO: Packet analysis {"connection_id":145944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbbb"} 
[2026-08-01 10:41:50] local.INFO: Extracted packet for processing {"connection_id":145944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbbb"} 
[2026-08-01 10:41:50] local.INFO: GPS Element Parsed {"raw_longitude":757348160,"raw_latitude":113858984,"longitude_deg":75.734816,"latitude_deg":11.3858984,"altitude":16,"angle":348,"satellites":46,"speed":60,"hex_longitude":"2d243740","hex_latitude":"06c959a8","is_valid_coordinates":true} 
[2026-08-01 10:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103623424001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:41:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2611806338043588608,"note":"Value kept but may cause issues"} 
[2026-08-01 10:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366260942553481216,"note":"Value kept but may cause issues"} 
[2026-08-01 10:41:50] 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-08-01 10:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785561036000,"timestamp_ms":1785561036000,"timestamp_seconds":1785561036,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbbb34e0"} 
[2026-08-01 10:41:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:41:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 10:41:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:41:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:41:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":145944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":145944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":145944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:41:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103623424001,"66":27745,"45":2611806338043588608,"81":22528,"24":60,"16":366260942553481216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-08-01 10:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103623424001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:41:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2611806338043588608,"description":"Unknown IO ID 45"} 
[2026-08-01 10:41:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-01 10:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366260942553481216,"km_value":366260942553481.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:41:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457103623424001,"power":27745,"unknown_45":2611806338043588608,"unknown_81":22528,"ignition":60,"odometer":null}} 
[2026-08-01 10:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":145944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:41:50] local.INFO: GPS data processed {"connection_id":145944,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:41:50] local.INFO: Acknowledgment sent {"connection_id":145944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:42:00] local.INFO: TCP Data received {"connection_id":147159,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:42:00] local.INFO: Processing buffer {"connection_id":147159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:42:00] local.INFO: IMEI packet received {"connection_id":147159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 10:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":147159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:42:05] local.INFO: TCP Data received {"connection_id":147159,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:42:05] local.INFO: Processing buffer {"connection_id":147159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:42:05] local.INFO: IMEI packet received {"connection_id":147159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 10:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":147159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:42:13] local.INFO: TCP Data received {"connection_id":147159,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbba0fe8012d1821400721b240004a00d70d..."} 
[2026-08-01 10:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbba0fe8012d1821400721b240004a00d70d..."} 
[2026-08-01 10:42:13] local.INFO: Processing buffer {"connection_id":147159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbba0fe8012d1821400721b240004a00d70d..."} 
[2026-08-01 10:42:13] local.INFO: Packet analysis {"connection_id":147159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbba"} 
[2026-08-01 10:42:13] local.INFO: Extracted packet for processing {"connection_id":147159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbba"} 
[2026-08-01 10:42:13] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119648832,"longitude_deg":75.6556096,"latitude_deg":11.9648832,"altitude":74,"angle":215,"satellites":13,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b240","is_valid_coordinates":true} 
[2026-08-01 10:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103600640001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10090501675941888,"note":"Value kept but may cause issues"} 
[2026-08-01 10:42:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237069312,"note":"Value kept but may cause issues"} 
[2026-08-01 10:42: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-08-01 10:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785560961000,"timestamp_ms":1785560961000,"timestamp_seconds":1785560961,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbba0fe8"} 
[2026-08-01 10:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:42:13] 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-08-01 10:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-01 10:42:13] 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-08-01 10:42:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":147159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":147159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":147159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:42:13] 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-08-01 10:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 10:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 10:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103600640001,"66":13254,"105":206,"83":41984,"24":0,"16":10090501675941888,"45":1739093174237069312},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 10:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 10:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 10:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103600640001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:42:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 10:42:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 10:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10090501675941888,"km_value":10090501675941.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:42:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237069312,"description":"Unknown IO ID 45"} 
[2026-08-01 10:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103600640001,"power":13254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174237069312}} 
[2026-08-01 10:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":147159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576663,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:42:14] local.INFO: GPS data processed {"connection_id":147159,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:42:14] local.INFO: Acknowledgment sent {"connection_id":147159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:42:21] local.INFO: TCP Data received {"connection_id":145944,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbbb4c50012d242ec006c97c98000e01572e..."} 
[2026-08-01 10:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbbb4c50012d242ec006c97c98000e01572e..."} 
[2026-08-01 10:42:21] local.INFO: Processing buffer {"connection_id":145944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbbb4c50012d242ec006c97c98000e01572e..."} 
[2026-08-01 10:42:21] local.INFO: Packet analysis {"connection_id":145944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbbb"} 
[2026-08-01 10:42:21] local.INFO: Extracted packet for processing {"connection_id":145944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbbb"} 
[2026-08-01 10:42:21] local.INFO: GPS Element Parsed {"raw_longitude":757345984,"raw_latitude":113867928,"longitude_deg":75.7345984,"latitude_deg":11.3867928,"altitude":14,"angle":343,"satellites":46,"speed":59,"hex_longitude":"2d242ec0","hex_latitude":"06c97c98","is_valid_coordinates":true} 
[2026-08-01 10: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-08-01 10:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103625216001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:42:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2609624906976569344,"note":"Value kept but may cause issues"} 
[2026-08-01 10:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366261384935112704,"note":"Value kept but may cause issues"} 
[2026-08-01 10:42:21] 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-08-01 10:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785561042000,"timestamp_ms":1785561042000,"timestamp_seconds":1785561042,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbbb4c50"} 
[2026-08-01 10:42:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:42: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-08-01 10:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 10:42:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10: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-08-01 10:42:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":145944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":145944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":145944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:42:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103625216001,"66":27865,"45":2609624906976569344,"81":22528,"24":59,"16":366261384935112704},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-08-01 10:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:42:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103625216001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:42:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2609624906976569344,"description":"Unknown IO ID 45"} 
[2026-08-01 10:42:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-01 10:42:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366261384935112704,"km_value":366261384935112.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:42:21] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457103625216001,"power":27865,"unknown_45":2609624906976569344,"unknown_81":22528,"ignition":59,"odometer":null}} 
[2026-08-01 10:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":145944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:42:21] local.INFO: GPS data processed {"connection_id":145944,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:42:21] local.INFO: Acknowledgment sent {"connection_id":145944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:42:44] local.INFO: TCP Data received {"connection_id":146149,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:42:44] local.INFO: Processing buffer {"connection_id":146149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:42:44] local.INFO: IMEI packet received {"connection_id":146149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":146149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:42:44] local.INFO: TCP Data received {"connection_id":147159,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbba61f0012d1821400721b240004a00d711..."} 
[2026-08-01 10:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbba61f0012d1821400721b240004a00d711..."} 
[2026-08-01 10:42:44] local.INFO: Processing buffer {"connection_id":147159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbba61f0012d1821400721b240004a00d711..."} 
[2026-08-01 10:42:44] local.INFO: Packet analysis {"connection_id":147159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbba"} 
[2026-08-01 10:42:44] local.INFO: Extracted packet for processing {"connection_id":147159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbba"} 
[2026-08-01 10:42:44] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119648832,"longitude_deg":75.6556096,"latitude_deg":11.9648832,"altitude":74,"angle":215,"satellites":17,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b240","is_valid_coordinates":true} 
[2026-08-01 10:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103606016001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10090501675941888,"note":"Value kept but may cause issues"} 
[2026-08-01 10:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516000768,"note":"Value kept but may cause issues"} 
[2026-08-01 10:42: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-08-01 10:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785560982000,"timestamp_ms":1785560982000,"timestamp_seconds":1785560982,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbba61f0"} 
[2026-08-01 10:42:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:42:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-01 10:42:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:42:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:42:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":147159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":147159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":147159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:42:44] 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-08-01 10:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 10:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 10:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103606016001,"66":13243,"105":206,"83":41984,"24":0,"16":10090501675941888,"45":1738741330516000768},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 10:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 10:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 10:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103606016001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:42:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 10:42:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 10:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10090501675941888,"km_value":10090501675941.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516000768,"description":"Unknown IO ID 45"} 
[2026-08-01 10:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103606016001,"power":13243,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516000768}} 
[2026-08-01 10:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":147159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576665,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:42:44] local.INFO: GPS data processed {"connection_id":147159,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:42:44] local.INFO: Acknowledgment sent {"connection_id":147159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:42:48] local.INFO: TCP Data received {"connection_id":146149,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:42:48] local.INFO: Processing buffer {"connection_id":146149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:42:48] local.INFO: IMEI packet received {"connection_id":146149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":146149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:42:49] local.INFO: TCP Data received {"connection_id":146149,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:42:49] local.INFO: Processing buffer {"connection_id":146149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:42:49] local.INFO: IMEI packet received {"connection_id":146149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":146149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:42:52] local.INFO: TCP Data received {"connection_id":146149,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbbc36b0012d23404006ca4ad8000e01362c..."} 
[2026-08-01 10:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbbc36b0012d23404006ca4ad8000e01362c..."} 
[2026-08-01 10:42:52] local.INFO: Processing buffer {"connection_id":146149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbbc36b0012d23404006ca4ad8000e01362c..."} 
[2026-08-01 10:42:52] local.INFO: Packet analysis {"connection_id":146149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbbc"} 
[2026-08-01 10:42:52] local.INFO: Extracted packet for processing {"connection_id":146149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbbc"} 
[2026-08-01 10:42:52] local.INFO: GPS Element Parsed {"raw_longitude":757284928,"raw_latitude":113920728,"longitude_deg":75.7284928,"latitude_deg":11.3920728,"altitude":14,"angle":310,"satellites":44,"speed":57,"hex_longitude":"2d234040","hex_latitude":"06ca4ad8","is_valid_coordinates":true} 
[2026-08-01 10: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-08-01 10:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103641088001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366265632657768448,"note":"Value kept but may cause issues"} 
[2026-08-01 10:42:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2545448612301531136,"note":"Value kept but may cause issues"} 
[2026-08-01 10:42:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785561102000,"timestamp_ms":1785561102000,"timestamp_seconds":1785561102,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbbc36b0"} 
[2026-08-01 10:42:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:42:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 10:42:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10: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-08-01 10:42:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":146149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":146149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":146149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:42:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103641088001,"66":27550,"171":206,"81":22528,"24":57,"16":366265632657768448,"45":2545448612301531136},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,81,24,16,45]} 
[2026-08-01 10:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103641088001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:42:52] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-08-01 10:42:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-01 10:42:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366265632657768448,"km_value":366265632657768.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:42:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":2545448612301531136,"description":"Unknown IO ID 45"} 
[2026-08-01 10:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103641088001,"power":27550,"unknown_171":206,"unknown_81":22528,"ignition":57,"odometer":null,"unknown_45":2545448612301531136}} 
[2026-08-01 10:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":146149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:42:52] local.INFO: GPS data processed {"connection_id":146149,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:42:52] local.INFO: Acknowledgment sent {"connection_id":146149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:42:53] local.INFO: TCP Data received {"connection_id":146149,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbbc4a38012d232d4006ca5fa0000e01422c..."} 
[2026-08-01 10:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbbc4a38012d232d4006ca5fa0000e01422c..."} 
[2026-08-01 10:42:53] local.INFO: Processing buffer {"connection_id":146149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbbc4a38012d232d4006ca5fa0000e01422c..."} 
[2026-08-01 10:42:53] local.INFO: Packet analysis {"connection_id":146149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbbc"} 
[2026-08-01 10:42:53] local.INFO: Extracted packet for processing {"connection_id":146149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbbc"} 
[2026-08-01 10:42:53] local.INFO: GPS Element Parsed {"raw_longitude":757280064,"raw_latitude":113926048,"longitude_deg":75.7280064,"latitude_deg":11.3926048,"altitude":14,"angle":322,"satellites":44,"speed":57,"hex_longitude":"2d232d40","hex_latitude":"06ca5fa0","is_valid_coordinates":true} 
[2026-08-01 10:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103642112001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366265980550119424,"note":"Value kept but may cause issues"} 
[2026-08-01 10:42:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2540100587744843776,"note":"Value kept but may cause issues"} 
[2026-08-01 10:42:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785561107000,"timestamp_ms":1785561107000,"timestamp_seconds":1785561107,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbbc4a38"} 
[2026-08-01 10:42:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:42:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-08-01 10:42:53] 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-08-01 10:42:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:42:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":146149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":146149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":146149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:42:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:42:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103642112001,"66":27767,"171":206,"81":22528,"24":57,"16":366265980550119424,"45":2540100587744843776},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,81,24,16,45]} 
[2026-08-01 10:42:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:42:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:42:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103642112001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:42:53] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-08-01 10:42:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-01 10:42:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366265980550119424,"km_value":366265980550119.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:42:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":2540100587744843776,"description":"Unknown IO ID 45"} 
[2026-08-01 10:42:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103642112001,"power":27767,"unknown_171":206,"unknown_81":22528,"ignition":57,"odometer":null,"unknown_45":2540100587744843776}} 
[2026-08-01 10:42:53] local.INFO: DEBUG: GPS processor result {"connection_id":146149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:42:53] local.INFO: GPS data processed {"connection_id":146149,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:42:53] local.INFO: Acknowledgment sent {"connection_id":146149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:43:00] local.INFO: TCP Data received {"connection_id":145945,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:43:00] local.INFO: Processing buffer {"connection_id":145945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:43:00] local.INFO: IMEI packet received {"connection_id":145945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 10:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":145945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:43:06] local.INFO: TCP Data received {"connection_id":145945,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:43:06] local.INFO: Processing buffer {"connection_id":145945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:43:06] local.INFO: IMEI packet received {"connection_id":145945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 10:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":145945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:43:06] local.INFO: TCP Data received {"connection_id":145945,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbbab3f8012d1821400721b240004a00d713..."} 
[2026-08-01 10:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbbab3f8012d1821400721b240004a00d713..."} 
[2026-08-01 10:43:06] local.INFO: Processing buffer {"connection_id":145945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbbab3f8012d1821400721b240004a00d713..."} 
[2026-08-01 10:43:06] local.INFO: Packet analysis {"connection_id":145945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbba"} 
[2026-08-01 10:43:06] local.INFO: Extracted packet for processing {"connection_id":145945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbba"} 
[2026-08-01 10:43:06] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119648832,"longitude_deg":75.6556096,"latitude_deg":11.9648832,"altitude":74,"angle":215,"satellites":19,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b240","is_valid_coordinates":true} 
[2026-08-01 10: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-08-01 10:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103611392001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10090501675941888,"note":"Value kept but may cause issues"} 
[2026-08-01 10:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516000768,"note":"Value kept but may cause issues"} 
[2026-08-01 10:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785561003000,"timestamp_ms":1785561003000,"timestamp_seconds":1785561003,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbbab3f8"} 
[2026-08-01 10:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:43:06] 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-08-01 10: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-01 10:43:06] 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-08-01 10: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-08-01 10:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:43:06] 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-08-01 10:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 10:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 10:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103611392001,"66":12743,"105":206,"83":41984,"24":0,"16":10090501675941888,"45":1738741330516000768},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 10:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 10:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 10:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103611392001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:43:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 10:43:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 10:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10090501675941888,"km_value":10090501675941.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516000768,"description":"Unknown IO ID 45"} 
[2026-08-01 10:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103611392001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516000768}} 
[2026-08-01 10:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":145945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:43:07] local.INFO: GPS data processed {"connection_id":145945,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:43:07] local.INFO: Acknowledgment sent {"connection_id":145945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:43:37] local.INFO: TCP Data received {"connection_id":145945,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbbb0600012d1821400721b240004a00d714..."} 
[2026-08-01 10:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbbb0600012d1821400721b240004a00d714..."} 
[2026-08-01 10:43:37] local.INFO: Processing buffer {"connection_id":145945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbbb0600012d1821400721b240004a00d714..."} 
[2026-08-01 10:43:37] local.INFO: Packet analysis {"connection_id":145945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbbb"} 
[2026-08-01 10:43:37] local.INFO: Extracted packet for processing {"connection_id":145945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbbb"} 
[2026-08-01 10:43:37] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119648832,"longitude_deg":75.6556096,"latitude_deg":11.9648832,"altitude":74,"angle":215,"satellites":20,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b240","is_valid_coordinates":true} 
[2026-08-01 10:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103616768001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10090501675941888,"note":"Value kept but may cause issues"} 
[2026-08-01 10:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516000768,"note":"Value kept but may cause issues"} 
[2026-08-01 10:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785561024000,"timestamp_ms":1785561024000,"timestamp_seconds":1785561024,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbbb0600"} 
[2026-08-01 10:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:43:37] 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-08-01 10:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-01 10:43:37] 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-08-01 10:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:43:37] 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-08-01 10:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 10:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 10:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103616768001,"66":13156,"105":206,"83":41984,"24":0,"16":10090501675941888,"45":1738741330516000768},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 10:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 10:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 10:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103616768001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:43:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 10:43:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 10:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10090501675941888,"km_value":10090501675941.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516000768,"description":"Unknown IO ID 45"} 
[2026-08-01 10:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103616768001,"power":13156,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516000768}} 
[2026-08-01 10:43:37] local.INFO: TCP Data received {"connection_id":146149,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbbc6590012d2314c006ca7f08000f01412d..."} 
[2026-08-01 10:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbbc6590012d2314c006ca7f08000f01412d..."} 
[2026-08-01 10:43:37] local.INFO: Processing buffer {"connection_id":146149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbbc6590012d2314c006ca7f08000f01412d..."} 
[2026-08-01 10:43:37] local.INFO: Packet analysis {"connection_id":146149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbbc"} 
[2026-08-01 10:43:37] local.INFO: Extracted packet for processing {"connection_id":146149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbbc"} 
[2026-08-01 10:43:37] local.INFO: GPS Element Parsed {"raw_longitude":757273792,"raw_latitude":113934088,"longitude_deg":75.7273792,"latitude_deg":11.3934088,"altitude":15,"angle":321,"satellites":45,"speed":56,"hex_longitude":"2d2314c0","hex_latitude":"06ca7f08","is_valid_coordinates":true} 
[2026-08-01 10:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103643392001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366266470176391168,"note":"Value kept but may cause issues"} 
[2026-08-01 10:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2534752563188703232,"note":"Value kept but may cause issues"} 
[2026-08-01 10:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785561114000,"timestamp_ms":1785561114000,"timestamp_seconds":1785561114,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbbc6590"} 
[2026-08-01 10:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 10:43: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-08-01 10:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103643392001,"66":27767,"171":206,"81":22528,"24":56,"16":366266470176391168,"45":2534752563188703232},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,81,24,16,45]} 
[2026-08-01 10:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103643392001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:43:37] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-08-01 10:43:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-01 10:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366266470176391168,"km_value":366266470176391.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":2534752563188703232,"description":"Unknown IO ID 45"} 
[2026-08-01 10:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103643392001,"power":27767,"unknown_171":206,"unknown_81":22528,"ignition":56,"odometer":null,"unknown_45":2534752563188703232}} 
[2026-08-01 10:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":146149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:43:37] local.INFO: GPS data processed {"connection_id":146149,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:43:37] local.INFO: Acknowledgment sent {"connection_id":146149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":145945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576670,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:43:37] local.INFO: GPS data processed {"connection_id":145945,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:43:37] local.INFO: Acknowledgment sent {"connection_id":145945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:44:00] local.INFO: TCP Data received {"connection_id":148481,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:44:00] local.INFO: Processing buffer {"connection_id":148481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:44:00] local.INFO: IMEI packet received {"connection_id":148481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 10:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":148481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:44:06] local.INFO: TCP Data received {"connection_id":148481,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:44:06] local.INFO: Processing buffer {"connection_id":148481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:44:06] local.INFO: IMEI packet received {"connection_id":148481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 10:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":148481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:44:07] local.INFO: TCP Data received {"connection_id":148481,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbbb5808012d1821400721b240004a00d715..."} 
[2026-08-01 10:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbbb5808012d1821400721b240004a00d715..."} 
[2026-08-01 10:44:07] local.INFO: Processing buffer {"connection_id":148481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbbb5808012d1821400721b240004a00d715..."} 
[2026-08-01 10:44:07] local.INFO: Packet analysis {"connection_id":148481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbbb"} 
[2026-08-01 10:44:07] local.INFO: Extracted packet for processing {"connection_id":148481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbbb"} 
[2026-08-01 10:44:07] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119648832,"longitude_deg":75.6556096,"latitude_deg":11.9648832,"altitude":74,"angle":215,"satellites":21,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b240","is_valid_coordinates":true} 
[2026-08-01 10: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-08-01 10:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103622144001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10090501675941888,"note":"Value kept but may cause issues"} 
[2026-08-01 10:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516000768,"note":"Value kept but may cause issues"} 
[2026-08-01 10:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785561045000,"timestamp_ms":1785561045000,"timestamp_seconds":1785561045,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbbb5808"} 
[2026-08-01 10:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10: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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-01 10:44:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10: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-08-01 10:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":148481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":148481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":148481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:44: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-08-01 10:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 10:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 10:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103622144001,"66":13080,"105":206,"83":41984,"24":0,"16":10090501675941888,"45":1738741330516000768},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 10:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 10:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 10:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103622144001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:44:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 10:44:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 10:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10090501675941888,"km_value":10090501675941.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516000768,"description":"Unknown IO ID 45"} 
[2026-08-01 10:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103622144001,"power":13080,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516000768}} 
[2026-08-01 10:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":148481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576671,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:44:07] local.INFO: GPS data processed {"connection_id":148481,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:44:07] local.INFO: Acknowledgment sent {"connection_id":148481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:44:38] local.INFO: TCP Data received {"connection_id":148481,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbbbaa10012d1821400721b240004a00d717..."} 
[2026-08-01 10:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbbbaa10012d1821400721b240004a00d717..."} 
[2026-08-01 10:44:38] local.INFO: Processing buffer {"connection_id":148481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbbbaa10012d1821400721b240004a00d717..."} 
[2026-08-01 10:44:38] local.INFO: Packet analysis {"connection_id":148481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbbb"} 
[2026-08-01 10:44:38] local.INFO: Extracted packet for processing {"connection_id":148481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbbb"} 
[2026-08-01 10:44:38] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119648832,"longitude_deg":75.6556096,"latitude_deg":11.9648832,"altitude":74,"angle":215,"satellites":23,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b240","is_valid_coordinates":true} 
[2026-08-01 10: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-08-01 10:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103627520001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10090501675941888,"note":"Value kept but may cause issues"} 
[2026-08-01 10:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516000768,"note":"Value kept but may cause issues"} 
[2026-08-01 10:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785561066000,"timestamp_ms":1785561066000,"timestamp_seconds":1785561066,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbbbaa10"} 
[2026-08-01 10:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-01 10:44:38] 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-08-01 10: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-08-01 10:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":148481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":148481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":148481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:44:38] 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-08-01 10:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 10:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 10:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103627520001,"66":13091,"105":206,"83":41984,"24":0,"16":10090501675941888,"45":1738741330516000768},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 10:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 10:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 10:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103627520001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:44:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 10:44:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 10:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10090501675941888,"km_value":10090501675941.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516000768,"description":"Unknown IO ID 45"} 
[2026-08-01 10:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103627520001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516000768}} 
[2026-08-01 10:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":148481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:44:38] local.INFO: GPS data processed {"connection_id":148481,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:44:38] local.INFO: Acknowledgment sent {"connection_id":148481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:44:49] local.INFO: TCP Data received {"connection_id":145947,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:44:49] local.INFO: Processing buffer {"connection_id":145947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:44:49] local.INFO: IMEI packet received {"connection_id":145947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":145947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:44:51] local.INFO: TCP Data received {"connection_id":145947,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:44:51] local.INFO: Processing buffer {"connection_id":145947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:44:51] local.INFO: IMEI packet received {"connection_id":145947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":145947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:44:54] local.INFO: TCP Data received {"connection_id":145947,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:44:54] local.INFO: Processing buffer {"connection_id":145947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:44:54] local.INFO: IMEI packet received {"connection_id":145947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":145947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:44:57] local.INFO: TCP Data received {"connection_id":145947,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbbd86a0012d2255c006cbbff0000b01332d..."} 
[2026-08-01 10:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbbd86a0012d2255c006cbbff0000b01332d..."} 
[2026-08-01 10:44:57] local.INFO: Processing buffer {"connection_id":145947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbbd86a0012d2255c006cbbff0000b01332d..."} 
[2026-08-01 10:44:57] local.INFO: Packet analysis {"connection_id":145947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbbd"} 
[2026-08-01 10:44:57] local.INFO: Extracted packet for processing {"connection_id":145947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbbd"} 
[2026-08-01 10:44:57] local.INFO: GPS Element Parsed {"raw_longitude":757224896,"raw_latitude":114016240,"longitude_deg":75.7224896,"latitude_deg":11.401624,"altitude":11,"angle":307,"satellites":45,"speed":53,"hex_longitude":"2d2255c0","hex_latitude":"06cbbff0","is_valid_coordinates":true} 
[2026-08-01 10:44: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-08-01 10:44:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103662336001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:44:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366271186050482176,"note":"Value kept but may cause issues"} 
[2026-08-01 10:44:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2482609323774783488,"note":"Value kept but may cause issues"} 
[2026-08-01 10:44:57] 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-08-01 10:44:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785561188000,"timestamp_ms":1785561188000,"timestamp_seconds":1785561188,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbbd86a0"} 
[2026-08-01 10:44:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:44: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-08-01 10:44:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-01 10:44:57] 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-08-01 10:44: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-08-01 10:44:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:44:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:44:57] local.INFO: Teltonika packet parsed successfully {"connection_id":145947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:44:57] local.INFO: Passing IMEI to GPS processor {"connection_id":145947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:44:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":145947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:44:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:44:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:44:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:44:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103662336001,"66":27767,"179":206,"81":22528,"24":53,"16":366271186050482176,"45":2482609323774783488},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-08-01 10:44:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:44:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:44:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103662336001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:44:57] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-01 10:44:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-01 10:44:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366271186050482176,"km_value":366271186050482.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:44:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":2482609323774783488,"description":"Unknown IO ID 45"} 
[2026-08-01 10:44:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103662336001,"power":27767,"unknown_179":206,"unknown_81":22528,"ignition":53,"odometer":null,"unknown_45":2482609323774783488}} 
[2026-08-01 10:44:57] local.INFO: DEBUG: GPS processor result {"connection_id":145947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:44:57] local.INFO: GPS data processed {"connection_id":145947,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:44:57] local.INFO: Acknowledgment sent {"connection_id":145947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:45:00] local.INFO: TCP Data received {"connection_id":147160,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:45:00] local.INFO: Processing buffer {"connection_id":147160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:45:00] local.INFO: IMEI packet received {"connection_id":147160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 10:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":147160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:45:06] local.INFO: TCP Data received {"connection_id":147160,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:45:06] local.INFO: Processing buffer {"connection_id":147160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:45:06] local.INFO: IMEI packet received {"connection_id":147160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 10:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":147160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:45:07] local.INFO: TCP Data received {"connection_id":147160,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbbbfc18012d1821400721b240004a00d71a..."} 
[2026-08-01 10:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbbbfc18012d1821400721b240004a00d71a..."} 
[2026-08-01 10:45:07] local.INFO: Processing buffer {"connection_id":147160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbbbfc18012d1821400721b240004a00d71a..."} 
[2026-08-01 10:45:07] local.INFO: Packet analysis {"connection_id":147160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbbb"} 
[2026-08-01 10:45:07] local.INFO: Extracted packet for processing {"connection_id":147160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbbb"} 
[2026-08-01 10:45:07] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119648832,"longitude_deg":75.6556096,"latitude_deg":11.9648832,"altitude":74,"angle":215,"satellites":26,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b240","is_valid_coordinates":true} 
[2026-08-01 10:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103632896001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10090501675941888,"note":"Value kept but may cause issues"} 
[2026-08-01 10:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516000768,"note":"Value kept but may cause issues"} 
[2026-08-01 10:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785561087000,"timestamp_ms":1785561087000,"timestamp_seconds":1785561087,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbbbfc18"} 
[2026-08-01 10:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5632,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-01 10:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":147160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":147160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":147160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 10:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 10:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103632896001,"66":13091,"105":206,"83":41984,"24":0,"16":10090501675941888,"45":1738741330516000768},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 10:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 10:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 10:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103632896001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:45:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 10:45:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 10:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10090501675941888,"km_value":10090501675941.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516000768,"description":"Unknown IO ID 45"} 
[2026-08-01 10:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103632896001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516000768}} 
[2026-08-01 10:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":147160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576674,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:45:07] local.INFO: GPS data processed {"connection_id":147160,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:45:07] local.INFO: Acknowledgment sent {"connection_id":147160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:45:30] local.INFO: TCP Data received {"connection_id":145947,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbbed2a8012d21a70006cd19d0000d014d2d..."} 
[2026-08-01 10:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbbed2a8012d21a70006cd19d0000d014d2d..."} 
[2026-08-01 10:45:30] local.INFO: Processing buffer {"connection_id":145947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbbed2a8012d21a70006cd19d0000d014d2d..."} 
[2026-08-01 10:45:30] local.INFO: Packet analysis {"connection_id":145947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbbe"} 
[2026-08-01 10:45:30] local.INFO: Extracted packet for processing {"connection_id":145947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbbe"} 
[2026-08-01 10:45:30] local.INFO: GPS Element Parsed {"raw_longitude":757180160,"raw_latitude":114104784,"longitude_deg":75.718016,"latitude_deg":11.4104784,"altitude":13,"angle":333,"satellites":45,"speed":36,"hex_longitude":"2d21a700","hex_latitude":"06cd19d0","is_valid_coordinates":true} 
[2026-08-01 10: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-08-01 10:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103683072001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366276069428297728,"note":"Value kept but may cause issues"} 
[2026-08-01 10:45:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2429269815709939712,"note":"Value kept but may cause issues"} 
[2026-08-01 10:45: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-08-01 10:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785561273000,"timestamp_ms":1785561273000,"timestamp_seconds":1785561273,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbbed2a8"} 
[2026-08-01 10:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10: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-08-01 10: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":119,"data_length":795,"current_offset":136} 
[2026-08-01 10:45: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-08-01 10: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-08-01 10:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":145947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":145947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":145947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:45: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-08-01 10:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103683072001,"66":27800,"233":206,"81":22528,"24":36,"16":366276069428297728,"45":2429269815709939712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,81,24,16,45]} 
[2026-08-01 10:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103683072001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:45:30] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-08-01 10:45:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-01 10:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366276069428297728,"km_value":366276069428297.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:45:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":2429269815709939712,"description":"Unknown IO ID 45"} 
[2026-08-01 10:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103683072001,"power":27800,"unknown_233":206,"unknown_81":22528,"ignition":36,"odometer":null,"unknown_45":2429269815709939712}} 
[2026-08-01 10:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":145947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:45:30] local.INFO: GPS data processed {"connection_id":145947,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:45:30] local.INFO: Acknowledgment sent {"connection_id":145947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:45:37] local.INFO: TCP Data received {"connection_id":147160,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbbc4e20012d1821400721b240004a00d71a..."} 
[2026-08-01 10:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbbc4e20012d1821400721b240004a00d71a..."} 
[2026-08-01 10:45:37] local.INFO: Processing buffer {"connection_id":147160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbbc4e20012d1821400721b240004a00d71a..."} 
[2026-08-01 10:45:37] local.INFO: Packet analysis {"connection_id":147160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbbc"} 
[2026-08-01 10:45:37] local.INFO: Extracted packet for processing {"connection_id":147160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbbc"} 
[2026-08-01 10:45:37] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119648832,"longitude_deg":75.6556096,"latitude_deg":11.9648832,"altitude":74,"angle":215,"satellites":26,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b240","is_valid_coordinates":true} 
[2026-08-01 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-08-01 10:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103638272001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10090501675941888,"note":"Value kept but may cause issues"} 
[2026-08-01 10:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516000768,"note":"Value kept but may cause issues"} 
[2026-08-01 10:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785561108000,"timestamp_ms":1785561108000,"timestamp_seconds":1785561108,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbbc4e20"} 
[2026-08-01 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-08-01 10:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5888,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-01 10:45:37] 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-08-01 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-08-01 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-08-01 10:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:45:37] 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-08-01 10:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 10:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 10:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103638272001,"66":13015,"105":206,"83":41984,"24":0,"16":10090501675941888,"45":1738741330516000768},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 10:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 10:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 10:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103638272001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:45:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 10:45:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 10:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10090501675941888,"km_value":10090501675941.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516000768,"description":"Unknown IO ID 45"} 
[2026-08-01 10:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103638272001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516000768}} 
[2026-08-01 10:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":147160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576676,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:45:38] local.INFO: GPS data processed {"connection_id":147160,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:45:38] local.INFO: Acknowledgment sent {"connection_id":147160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:45:44] local.INFO: TCP Data received {"connection_id":145948,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:45:44] local.INFO: Processing buffer {"connection_id":145948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:45:44] local.INFO: IMEI packet received {"connection_id":145948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":145948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:45:47] local.INFO: TCP Data received {"connection_id":145948,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:45:47] local.INFO: Processing buffer {"connection_id":145948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:45:47] local.INFO: IMEI packet received {"connection_id":145948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":145948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:45:49] local.INFO: TCP Data received {"connection_id":145948,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:45:49] local.INFO: Processing buffer {"connection_id":145948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:45:49] local.INFO: IMEI packet received {"connection_id":145948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":145948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:46:00] local.INFO: TCP Data received {"connection_id":147161,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147161,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:46:00] local.INFO: Processing buffer {"connection_id":147161,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:46:00] local.INFO: IMEI packet received {"connection_id":147161,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 10:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":147161,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:46:01] local.INFO: TCP Data received {"connection_id":145948,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbbef5d0012d21960006cd38d8000d014b2d..."} 
[2026-08-01 10:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbbef5d0012d21960006cd38d8000d014b2d..."} 
[2026-08-01 10:46:01] local.INFO: Processing buffer {"connection_id":145948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbbef5d0012d21960006cd38d8000d014b2d..."} 
[2026-08-01 10:46:01] local.INFO: Packet analysis {"connection_id":145948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbbe"} 
[2026-08-01 10:46:01] local.INFO: Extracted packet for processing {"connection_id":145948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbbe"} 
[2026-08-01 10:46:01] local.INFO: GPS Element Parsed {"raw_longitude":757175808,"raw_latitude":114112728,"longitude_deg":75.7175808,"latitude_deg":11.4112728,"altitude":13,"angle":331,"satellites":45,"speed":44,"hex_longitude":"2d219600","hex_latitude":"06cd38d8","is_valid_coordinates":true} 
[2026-08-01 10: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-08-01 10:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103685888001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366276507514961920,"note":"Value kept but may cause issues"} 
[2026-08-01 10:46:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2424906953573126144,"note":"Value kept but may cause issues"} 
[2026-08-01 10:46:01] 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-08-01 10:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785561282000,"timestamp_ms":1785561282000,"timestamp_seconds":1785561282,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbbef5d0"} 
[2026-08-01 10:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:46: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-08-01 10: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 10:46: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-08-01 10: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-08-01 10:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":145948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":145948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":145948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:46: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-08-01 10:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103685888001,"66":27908,"60":206,"81":22528,"24":44,"16":366276507514961920,"45":2424906953573126144},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,81,24,16,45]} 
[2026-08-01 10:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103685888001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:46:01] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-01 10:46:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-01 10:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366276507514961920,"km_value":366276507514961.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:46:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":2424906953573126144,"description":"Unknown IO ID 45"} 
[2026-08-01 10:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103685888001,"power":27908,"unknown_60":206,"unknown_81":22528,"ignition":44,"odometer":null,"unknown_45":2424906953573126144}} 
[2026-08-01 10:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":145948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:46:01] local.INFO: GPS data processed {"connection_id":145948,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:46:01] local.INFO: Acknowledgment sent {"connection_id":145948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:46:02] local.INFO: TCP Data received {"connection_id":147161,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147161,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:46:02] local.INFO: Processing buffer {"connection_id":147161,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:46:02] local.INFO: IMEI packet received {"connection_id":147161,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 10:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":147161,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:46:06] local.INFO: TCP Data received {"connection_id":147161,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147161,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:46:06] local.INFO: Processing buffer {"connection_id":147161,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:46:06] local.INFO: IMEI packet received {"connection_id":147161,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 10:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":147161,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:46:06] local.INFO: TCP Data received {"connection_id":147161,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbbca028012d1821400721b240004a00d71a..."} 
[2026-08-01 10:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbbca028012d1821400721b240004a00d71a..."} 
[2026-08-01 10:46:06] local.INFO: Processing buffer {"connection_id":147161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbbca028012d1821400721b240004a00d71a..."} 
[2026-08-01 10:46:06] local.INFO: Packet analysis {"connection_id":147161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbbc"} 
[2026-08-01 10:46:06] local.INFO: Extracted packet for processing {"connection_id":147161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbbc"} 
[2026-08-01 10:46:06] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119648832,"longitude_deg":75.6556096,"latitude_deg":11.9648832,"altitude":74,"angle":215,"satellites":26,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b240","is_valid_coordinates":true} 
[2026-08-01 10:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103643648001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10090501675941888,"note":"Value kept but may cause issues"} 
[2026-08-01 10:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516000768,"note":"Value kept but may cause issues"} 
[2026-08-01 10:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785561129000,"timestamp_ms":1785561129000,"timestamp_seconds":1785561129,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbbca028"} 
[2026-08-01 10:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-01 10:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:46:06] 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-08-01 10:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 10:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 10:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103643648001,"66":13004,"105":206,"83":41984,"24":0,"16":10090501675941888,"45":1738741330516000768},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 10:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 10:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 10:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103643648001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:46:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 10:46:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 10:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10090501675941888,"km_value":10090501675941.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516000768,"description":"Unknown IO ID 45"} 
[2026-08-01 10:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103643648001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516000768}} 
[2026-08-01 10:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":147161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:46:07] local.INFO: GPS data processed {"connection_id":147161,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:46:07] local.INFO: Acknowledgment sent {"connection_id":147161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:46:38] local.INFO: TCP Data received {"connection_id":147161,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbbcf230012d1821400721b240004a00d71a..."} 
[2026-08-01 10:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbbcf230012d1821400721b240004a00d71a..."} 
[2026-08-01 10:46:38] local.INFO: Processing buffer {"connection_id":147161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbbcf230012d1821400721b240004a00d71a..."} 
[2026-08-01 10:46:38] local.INFO: Packet analysis {"connection_id":147161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbbc"} 
[2026-08-01 10:46:38] local.INFO: Extracted packet for processing {"connection_id":147161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbbc"} 
[2026-08-01 10:46:38] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119648832,"longitude_deg":75.6556096,"latitude_deg":11.9648832,"altitude":74,"angle":215,"satellites":26,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b240","is_valid_coordinates":true} 
[2026-08-01 10:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103649024001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10090501675941888,"note":"Value kept but may cause issues"} 
[2026-08-01 10:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516000768,"note":"Value kept but may cause issues"} 
[2026-08-01 10:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785561150000,"timestamp_ms":1785561150000,"timestamp_seconds":1785561150,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbbcf230"} 
[2026-08-01 10:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:46:38] 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-08-01 10:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-01 10:46:38] 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-08-01 10:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":147161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":147161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":147161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 10:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 10:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103649024001,"66":12961,"105":206,"83":41984,"24":0,"16":10090501675941888,"45":1738741330516000768},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 10:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 10:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 10:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103649024001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:46:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 10:46:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 10:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10090501675941888,"km_value":10090501675941.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516000768,"description":"Unknown IO ID 45"} 
[2026-08-01 10:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103649024001,"power":12961,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516000768}} 
[2026-08-01 10:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":147161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576679,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:46:38] local.INFO: GPS data processed {"connection_id":147161,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:46:38] local.INFO: Acknowledgment sent {"connection_id":147161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:46:45] local.INFO: TCP Data received {"connection_id":145949,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:46:45] local.INFO: Processing buffer {"connection_id":145949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:46:45] local.INFO: IMEI packet received {"connection_id":145949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":145949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:46:49] local.INFO: TCP Data received {"connection_id":145949,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:46:49] local.INFO: Processing buffer {"connection_id":145949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:46:49] local.INFO: IMEI packet received {"connection_id":145949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":145949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:46:56] local.INFO: TCP Data received {"connection_id":145949,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:46:56] local.INFO: Processing buffer {"connection_id":145949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:46:56] local.INFO: IMEI packet received {"connection_id":145949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":145949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:46:58] local.INFO: TCP Data received {"connection_id":145949,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbbf1510012d21820006cd5870000c01442c..."} 
[2026-08-01 10:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbbf1510012d21820006cd5870000c01442c..."} 
[2026-08-01 10:46:58] local.INFO: Processing buffer {"connection_id":145949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbbf1510012d21820006cd5870000c01442c..."} 
[2026-08-01 10:46:58] local.INFO: Packet analysis {"connection_id":145949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbbf"} 
[2026-08-01 10:46:58] local.INFO: Extracted packet for processing {"connection_id":145949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbbf"} 
[2026-08-01 10:46:58] local.INFO: GPS Element Parsed {"raw_longitude":757170688,"raw_latitude":114120816,"longitude_deg":75.7170688,"latitude_deg":11.4120816,"altitude":12,"angle":324,"satellites":44,"speed":47,"hex_longitude":"2d218200","hex_latitude":"06cd5870","is_valid_coordinates":true} 
[2026-08-01 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-08-01 10:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103688192001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366276967076462592,"note":"Value kept but may cause issues"} 
[2026-08-01 10:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2420121878971078656,"note":"Value kept but may cause issues"} 
[2026-08-01 10:46:58] 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-08-01 10:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785561290000,"timestamp_ms":1785561290000,"timestamp_seconds":1785561290,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbbf1510"} 
[2026-08-01 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-08-01 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-08-01 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 10:46:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 10:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":145949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":145949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":145949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:46:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103688192001,"66":27821,"60":206,"81":22528,"24":47,"16":366276967076462592,"45":2420121878971078656},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,81,24,16,45]} 
[2026-08-01 10:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103688192001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:46:58] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-01 10:46:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-01 10:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366276967076462592,"km_value":366276967076462.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2420121878971078656,"description":"Unknown IO ID 45"} 
[2026-08-01 10:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103688192001,"power":27821,"unknown_60":206,"unknown_81":22528,"ignition":47,"odometer":null,"unknown_45":2420121878971078656}} 
[2026-08-01 10:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":145949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:46:58] local.INFO: GPS data processed {"connection_id":145949,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:46:58] local.INFO: Acknowledgment sent {"connection_id":145949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:46:59] local.INFO: TCP Data received {"connection_id":145949,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbbf3838012d216c0006cd7458000c013f2d..."} 
[2026-08-01 10:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbbf3838012d216c0006cd7458000c013f2d..."} 
[2026-08-01 10:46:59] local.INFO: Processing buffer {"connection_id":145949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbbf3838012d216c0006cd7458000c013f2d..."} 
[2026-08-01 10:46:59] local.INFO: Packet analysis {"connection_id":145949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbbf"} 
[2026-08-01 10:46:59] local.INFO: Extracted packet for processing {"connection_id":145949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbbf"} 
[2026-08-01 10:46:59] local.INFO: GPS Element Parsed {"raw_longitude":757165056,"raw_latitude":114127960,"longitude_deg":75.7165056,"latitude_deg":11.412796,"altitude":12,"angle":319,"satellites":45,"speed":39,"hex_longitude":"2d216c00","hex_latitude":"06cd7458","is_valid_coordinates":true} 
[2026-08-01 10: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-08-01 10:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103690240001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366277409458094080,"note":"Value kept but may cause issues"} 
[2026-08-01 10:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2414492379438936064,"note":"Value kept but may cause issues"} 
[2026-08-01 10:46:59] 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-08-01 10:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785561299000,"timestamp_ms":1785561299000,"timestamp_seconds":1785561299,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbbf3838"} 
[2026-08-01 10:46:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:46: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-08-01 10: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-08-01 10: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-08-01 10: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-08-01 10:46:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":145949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":145949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":145949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:46: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-08-01 10:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103690240001,"66":27767,"60":206,"81":22528,"24":39,"16":366277409458094080,"45":2414492379438936064},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,81,24,16,45]} 
[2026-08-01 10:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103690240001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:46:59] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-01 10:46:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-01 10:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366277409458094080,"km_value":366277409458094.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":2414492379438936064,"description":"Unknown IO ID 45"} 
[2026-08-01 10:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103690240001,"power":27767,"unknown_60":206,"unknown_81":22528,"ignition":39,"odometer":null,"unknown_45":2414492379438936064}} 
[2026-08-01 10:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":145949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:46:59] local.INFO: GPS data processed {"connection_id":145949,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:46:59] local.INFO: Acknowledgment sent {"connection_id":145949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:47:05] local.INFO: TCP Data received {"connection_id":148482,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:47:05] local.INFO: Processing buffer {"connection_id":148482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:47:05] local.INFO: IMEI packet received {"connection_id":148482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 10:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":148482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:47:05] local.INFO: TCP Data received {"connection_id":148482,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:47:05] local.INFO: Processing buffer {"connection_id":148482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:47:05] local.INFO: IMEI packet received {"connection_id":148482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 10:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":148482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:47:11] local.INFO: TCP Data received {"connection_id":148482,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:47:11] local.INFO: Processing buffer {"connection_id":148482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:47:11] local.INFO: IMEI packet received {"connection_id":148482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 10:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":148482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:47:12] local.INFO: TCP Data received {"connection_id":148482,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbc070b8012d1821400721b240004a00d71f..."} 
[2026-08-01 10:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbc070b8012d1821400721b240004a00d71f..."} 
[2026-08-01 10:47:12] local.INFO: Processing buffer {"connection_id":148482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbc070b8012d1821400721b240004a00d71f..."} 
[2026-08-01 10:47:12] local.INFO: Packet analysis {"connection_id":148482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbc0"} 
[2026-08-01 10:47:12] local.INFO: Extracted packet for processing {"connection_id":148482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbc0"} 
[2026-08-01 10:47:12] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119648832,"longitude_deg":75.6556096,"latitude_deg":11.9648832,"altitude":74,"angle":215,"satellites":31,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b240","is_valid_coordinates":true} 
[2026-08-01 10:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103707904001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10090501675941888,"note":"Value kept but may cause issues"} 
[2026-08-01 10:47:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516000768,"note":"Value kept but may cause issues"} 
[2026-08-01 10:47: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-08-01 10:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785561379000,"timestamp_ms":1785561379000,"timestamp_seconds":1785561379,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbc070b8"} 
[2026-08-01 10:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:47:12] 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-08-01 10:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-01 10:47:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:47:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":148482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":148482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":148482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:47:12] 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-08-01 10:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 10:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 10:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103707904001,"66":12722,"105":206,"83":41984,"24":0,"16":10090501675941888,"45":1738741330516000768},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 10:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 10:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 10:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103707904001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:47:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 10:47:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 10:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10090501675941888,"km_value":10090501675941.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:47:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516000768,"description":"Unknown IO ID 45"} 
[2026-08-01 10:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103707904001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516000768}} 
[2026-08-01 10:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":148482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:47:12] local.INFO: GPS data processed {"connection_id":148482,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:47:12] local.INFO: Acknowledgment sent {"connection_id":148482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:47:16] local.INFO: TCP Data received {"connection_id":148482,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbc0c2c0012d1821400721b240004a00d720..."} 
[2026-08-01 10:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbc0c2c0012d1821400721b240004a00d720..."} 
[2026-08-01 10:47:16] local.INFO: Processing buffer {"connection_id":148482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbc0c2c0012d1821400721b240004a00d720..."} 
[2026-08-01 10:47:16] local.INFO: Packet analysis {"connection_id":148482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbc0"} 
[2026-08-01 10:47:16] local.INFO: Extracted packet for processing {"connection_id":148482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbc0"} 
[2026-08-01 10:47:16] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119648832,"longitude_deg":75.6556096,"latitude_deg":11.9648832,"altitude":74,"angle":215,"satellites":32,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b240","is_valid_coordinates":true} 
[2026-08-01 10:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103713024001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10090501675941888,"note":"Value kept but may cause issues"} 
[2026-08-01 10:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516000768,"note":"Value kept but may cause issues"} 
[2026-08-01 10:47:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785561400000,"timestamp_ms":1785561400000,"timestamp_seconds":1785561400,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbc0c2c0"} 
[2026-08-01 10:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:47: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-08-01 10:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-01 10:47:16] 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-08-01 10:47:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":148482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":148482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":148482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:47:16] 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-08-01 10:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 10:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 10:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103713024001,"66":12776,"105":206,"83":41984,"24":0,"16":10090501675941888,"45":1738741330516000768},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 10:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 10:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 10:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103713024001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:47:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 10:47:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 10:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10090501675941888,"km_value":10090501675941.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516000768,"description":"Unknown IO ID 45"} 
[2026-08-01 10:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103713024001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516000768}} 
[2026-08-01 10:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":148482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576683,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:47:16] local.INFO: GPS data processed {"connection_id":148482,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:47:16] local.INFO: Acknowledgment sent {"connection_id":148482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:47:44] local.INFO: TCP Data received {"connection_id":147162,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:47:44] local.INFO: Processing buffer {"connection_id":147162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:47:44] local.INFO: IMEI packet received {"connection_id":147162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":147162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:47:49] local.INFO: TCP Data received {"connection_id":147162,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:47:49] local.INFO: Processing buffer {"connection_id":147162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:47:49] local.INFO: IMEI packet received {"connection_id":147162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":147162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:47:50] local.INFO: TCP Data received {"connection_id":147162,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbbf5b60012d21570006cd8ac8000c01322c..."} 
[2026-08-01 10:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbbf5b60012d21570006cd8ac8000c01322c..."} 
[2026-08-01 10:47:50] local.INFO: Processing buffer {"connection_id":147162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbbf5b60012d21570006cd8ac8000c01322c..."} 
[2026-08-01 10:47:50] local.INFO: Packet analysis {"connection_id":147162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbbf"} 
[2026-08-01 10:47:50] local.INFO: Extracted packet for processing {"connection_id":147162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbbf"} 
[2026-08-01 10:47:50] local.INFO: GPS Element Parsed {"raw_longitude":757159680,"raw_latitude":114133704,"longitude_deg":75.715968,"latitude_deg":11.4133704,"altitude":12,"angle":306,"satellites":44,"speed":21,"hex_longitude":"2d215700","hex_latitude":"06cd8ac8","is_valid_coordinates":true} 
[2026-08-01 10:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103692544001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366277787415216128,"note":"Value kept but may cause issues"} 
[2026-08-01 10:47:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2408299929953130496,"note":"Value kept but may cause issues"} 
[2026-08-01 10:47:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785561308000,"timestamp_ms":1785561308000,"timestamp_seconds":1785561308,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbbf5b60"} 
[2026-08-01 10:47:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:47:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 10:47:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:47:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:47:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:47:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:47:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:47:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:47:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:47:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:47:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:47:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:47:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103692544001,"66":27789,"169":206,"81":22528,"24":21,"16":366277787415216128,"45":2408299929953130496},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,81,24,16,45]} 
[2026-08-01 10:47:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:47:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:47:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103692544001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:47:50] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-01 10:47:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-01 10:47:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366277787415216128,"km_value":366277787415216.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:47:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2408299929953130496,"description":"Unknown IO ID 45"} 
[2026-08-01 10:47:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103692544001,"power":27789,"unknown_169":206,"unknown_81":22528,"ignition":21,"odometer":null,"unknown_45":2408299929953130496}} 
[2026-08-01 10:47:50] local.INFO: DEBUG: GPS processor result {"connection_id":147162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:47:50] local.INFO: GPS data processed {"connection_id":147162,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:47:50] local.INFO: Acknowledgment sent {"connection_id":147162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:48:01] local.INFO: TCP Data received {"connection_id":146150,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146150,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:48:01] local.INFO: Processing buffer {"connection_id":146150,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:48:01] local.INFO: IMEI packet received {"connection_id":146150,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 10:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":146150,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:48:01] local.INFO: TCP Data received {"connection_id":146150,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146150,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:48:01] local.INFO: Processing buffer {"connection_id":146150,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:48:01] local.INFO: IMEI packet received {"connection_id":146150,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 10:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":146150,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:48:02] local.INFO: TCP Data received {"connection_id":146150,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146150,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:48:02] local.INFO: Processing buffer {"connection_id":146150,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:48:02] local.INFO: IMEI packet received {"connection_id":146150,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 10:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":146150,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:48:04] local.INFO: TCP Data received {"connection_id":146150,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146150,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:48:04] local.INFO: Processing buffer {"connection_id":146150,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:48:04] local.INFO: IMEI packet received {"connection_id":146150,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 10:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":146150,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:48:04] local.INFO: TCP Data received {"connection_id":146150,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbc114c8012d1821400721b240004a00d720..."} 
[2026-08-01 10:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbc114c8012d1821400721b240004a00d720..."} 
[2026-08-01 10:48:04] local.INFO: Processing buffer {"connection_id":146150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbc114c8012d1821400721b240004a00d720..."} 
[2026-08-01 10:48:04] local.INFO: Packet analysis {"connection_id":146150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbc1"} 
[2026-08-01 10:48:04] local.INFO: Extracted packet for processing {"connection_id":146150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbc1"} 
[2026-08-01 10:48:04] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119648832,"longitude_deg":75.6556096,"latitude_deg":11.9648832,"altitude":74,"angle":215,"satellites":32,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b240","is_valid_coordinates":true} 
[2026-08-01 10: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-08-01 10:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103718400001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10090501675941888,"note":"Value kept but may cause issues"} 
[2026-08-01 10:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516000768,"note":"Value kept but may cause issues"} 
[2026-08-01 10:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785561421000,"timestamp_ms":1785561421000,"timestamp_seconds":1785561421,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbc114c8"} 
[2026-08-01 10:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:48:04] 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-08-01 10: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-01 10:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10: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-08-01 10:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:48:04] 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-08-01 10:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 10:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 10:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103718400001,"66":12711,"105":206,"83":41984,"24":0,"16":10090501675941888,"45":1738741330516000768},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 10:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 10:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 10:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103718400001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:48:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 10:48:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 10:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10090501675941888,"km_value":10090501675941.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516000768,"description":"Unknown IO ID 45"} 
[2026-08-01 10:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103718400001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516000768}} 
[2026-08-01 10:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":146150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:48:04] local.INFO: GPS data processed {"connection_id":146150,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:48:04] local.INFO: Acknowledgment sent {"connection_id":146150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:48:06] local.INFO: TCP Data received {"connection_id":146150,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbc162e8012d1821400721b240004a00d720..."} 
[2026-08-01 10:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbc162e8012d1821400721b240004a00d720..."} 
[2026-08-01 10:48:06] local.INFO: Processing buffer {"connection_id":146150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbc162e8012d1821400721b240004a00d720..."} 
[2026-08-01 10:48:06] local.INFO: Packet analysis {"connection_id":146150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbc1"} 
[2026-08-01 10:48:06] local.INFO: Extracted packet for processing {"connection_id":146150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbc1"} 
[2026-08-01 10:48:06] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119648832,"longitude_deg":75.6556096,"latitude_deg":11.9648832,"altitude":74,"angle":215,"satellites":32,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b240","is_valid_coordinates":true} 
[2026-08-01 10:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103723776001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10090501675941888,"note":"Value kept but may cause issues"} 
[2026-08-01 10:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516000768,"note":"Value kept but may cause issues"} 
[2026-08-01 10:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785561441000,"timestamp_ms":1785561441000,"timestamp_seconds":1785561441,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbc162e8"} 
[2026-08-01 10:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:48:06] 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-08-01 10: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-01 10:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10: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-08-01 10:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:48:06] 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-08-01 10:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 10:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 10:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103723776001,"66":14265,"105":206,"83":41984,"24":0,"16":10090501675941888,"45":1738741330516000768},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 10:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 10:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 10:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103723776001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:48:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 10:48:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 10:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10090501675941888,"km_value":10090501675941.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516000768,"description":"Unknown IO ID 45"} 
[2026-08-01 10:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103723776001,"power":14265,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516000768}} 
[2026-08-01 10:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":146150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:48:06] local.INFO: GPS data processed {"connection_id":146150,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:48:06] local.INFO: Acknowledgment sent {"connection_id":146150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:48:22] local.INFO: TCP Data received {"connection_id":147162,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbc114c8012d20b04006cecd08000c01591e..."} 
[2026-08-01 10:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbc114c8012d20b04006cecd08000c01591e..."} 
[2026-08-01 10:48:22] local.INFO: Processing buffer {"connection_id":147162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbc114c8012d20b04006cecd08000c01591e..."} 
[2026-08-01 10:48:22] local.INFO: Packet analysis {"connection_id":147162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbc1"} 
[2026-08-01 10:48:22] local.INFO: Extracted packet for processing {"connection_id":147162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbc1"} 
[2026-08-01 10:48:22] local.INFO: GPS Element Parsed {"raw_longitude":757116992,"raw_latitude":114216200,"longitude_deg":75.7116992,"latitude_deg":11.42162,"altitude":12,"angle":345,"satellites":30,"speed":32,"hex_longitude":"2d20b040","hex_latitude":"06cecd08","is_valid_coordinates":true} 
[2026-08-01 10:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:48:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103721216001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:48:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366282408800026624,"note":"Value kept but may cause issues"} 
[2026-08-01 10:48:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2357493696677206016,"note":"Value kept but may cause issues"} 
[2026-08-01 10:48:22] 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-08-01 10:48:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785561421000,"timestamp_ms":1785561421000,"timestamp_seconds":1785561421,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbc114c8"} 
[2026-08-01 10:48:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:48:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 10:48:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:48:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:48:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:48:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:48:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:48:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:48:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:48:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:48:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:48:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:48:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103721216001,"66":27821,"61":206,"81":22528,"24":32,"16":366282408800026624,"45":2357493696677206016},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,81,24,16,45]} 
[2026-08-01 10:48:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:48:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:48:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103721216001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:48:22] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-01 10:48:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-01 10:48:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366282408800026624,"km_value":366282408800026.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:48:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2357493696677206016,"description":"Unknown IO ID 45"} 
[2026-08-01 10:48:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103721216001,"power":27821,"unknown_61":206,"unknown_81":22528,"ignition":32,"odometer":null,"unknown_45":2357493696677206016}} 
[2026-08-01 10:48:22] local.INFO: DEBUG: GPS processor result {"connection_id":147162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:48:22] local.INFO: GPS data processed {"connection_id":147162,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:48:22] local.INFO: Acknowledgment sent {"connection_id":147162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:48:37] local.INFO: TCP Data received {"connection_id":146150,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbc19998012d1821000721b0d80050009620..."} 
[2026-08-01 10:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbc19998012d1821000721b0d80050009620..."} 
[2026-08-01 10:48:37] local.INFO: Processing buffer {"connection_id":146150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbc19998012d1821000721b0d80050009620..."} 
[2026-08-01 10:48:37] local.INFO: Packet analysis {"connection_id":146150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbc1"} 
[2026-08-01 10:48:37] local.INFO: Extracted packet for processing {"connection_id":146150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbc1"} 
[2026-08-01 10:48:37] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648472,"longitude_deg":75.6556032,"latitude_deg":11.9648472,"altitude":80,"angle":150,"satellites":32,"speed":2,"hex_longitude":"2d182100","hex_latitude":"0721b0d8","is_valid_coordinates":true} 
[2026-08-01 10:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103728896001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10090518855811072,"note":"Value kept but may cause issues"} 
[2026-08-01 10:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516000768,"note":"Value kept but may cause issues"} 
[2026-08-01 10:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785561455000,"timestamp_ms":1785561455000,"timestamp_seconds":1785561455,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbc19998"} 
[2026-08-01 10:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:48:37] 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-08-01 10:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-01 10:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:48:37] 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-08-01 10:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 10:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 10:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103728896001,"66":14157,"105":206,"83":41984,"24":2,"16":10090518855811072,"45":1738741330516000768},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 10:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 10:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 10:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103728896001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:48:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 10:48:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 10:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10090518855811072,"km_value":10090518855811.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516000768,"description":"Unknown IO ID 45"} 
[2026-08-01 10:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103728896001,"power":14157,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1738741330516000768}} 
[2026-08-01 10:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":146150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:48:37] local.INFO: GPS data processed {"connection_id":146150,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:48:37] local.INFO: Acknowledgment sent {"connection_id":146150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:48:45] local.INFO: TCP Data received {"connection_id":146151,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:48:45] local.INFO: Processing buffer {"connection_id":146151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:48:45] local.INFO: IMEI packet received {"connection_id":146151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":146151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:48:49] local.INFO: TCP Data received {"connection_id":146151,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:48:50] local.INFO: Processing buffer {"connection_id":146151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:48:50] local.INFO: IMEI packet received {"connection_id":146151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":146151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:48:51] local.INFO: TCP Data received {"connection_id":146151,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbc15730012d20a68006ceeac8000d014c22..."} 
[2026-08-01 10:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbc15730012d20a68006ceeac8000d014c22..."} 
[2026-08-01 10:48:51] local.INFO: Processing buffer {"connection_id":146151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbc15730012d20a68006ceeac8000d014c22..."} 
[2026-08-01 10:48:51] local.INFO: Packet analysis {"connection_id":146151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbc1"} 
[2026-08-01 10:48:51] local.INFO: Extracted packet for processing {"connection_id":146151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbc1"} 
[2026-08-01 10:48:51] local.INFO: GPS Element Parsed {"raw_longitude":757114496,"raw_latitude":114223816,"longitude_deg":75.7114496,"latitude_deg":11.4223816,"altitude":13,"angle":332,"satellites":34,"speed":9,"hex_longitude":"2d20a680","hex_latitude":"06ceeac8","is_valid_coordinates":true} 
[2026-08-01 10:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103723776001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366282799642050560,"note":"Value kept but may cause issues"} 
[2026-08-01 10:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2355453003098294272,"note":"Value kept but may cause issues"} 
[2026-08-01 10:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785561438000,"timestamp_ms":1785561438000,"timestamp_seconds":1785561438,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbc15730"} 
[2026-08-01 10:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 10:48:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:48:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":146151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":146151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":146151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103723776001,"66":27821,"61":206,"81":22528,"24":9,"16":366282799642050560,"45":2355453003098294272},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,81,24,16,45]} 
[2026-08-01 10:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103723776001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:48:51] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-01 10:48:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-01 10:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366282799642050560,"km_value":366282799642050.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2355453003098294272,"description":"Unknown IO ID 45"} 
[2026-08-01 10:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103723776001,"power":27821,"unknown_61":206,"unknown_81":22528,"ignition":9,"odometer":null,"unknown_45":2355453003098294272}} 
[2026-08-01 10:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":146151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:48:51] local.INFO: GPS data processed {"connection_id":146151,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:48:51] local.INFO: Acknowledgment sent {"connection_id":146151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:49:01] local.INFO: TCP Data received {"connection_id":146152,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:49:01] local.INFO: Processing buffer {"connection_id":146152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:49:01] local.INFO: IMEI packet received {"connection_id":146152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 10:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":146152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:49:06] local.INFO: TCP Data received {"connection_id":146152,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:49:06] local.INFO: Processing buffer {"connection_id":146152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:49:06] local.INFO: IMEI packet received {"connection_id":146152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 10:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":146152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:49:07] local.INFO: TCP Data received {"connection_id":146152,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbc28bc8012d1863c0072182a0004f006820..."} 
[2026-08-01 10:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbc28bc8012d1863c0072182a0004f006820..."} 
[2026-08-01 10:49:07] local.INFO: Processing buffer {"connection_id":146152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbc28bc8012d1863c0072182a0004f006820..."} 
[2026-08-01 10:49:07] local.INFO: Packet analysis {"connection_id":146152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbc2"} 
[2026-08-01 10:49:07] local.INFO: Extracted packet for processing {"connection_id":146152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbc2"} 
[2026-08-01 10:49:07] local.INFO: GPS Element Parsed {"raw_longitude":756573120,"raw_latitude":119636640,"longitude_deg":75.657312,"latitude_deg":11.963664,"altitude":79,"angle":104,"satellites":32,"speed":28,"hex_longitude":"2d1863c0","hex_latitude":"072182a0","is_valid_coordinates":true} 
[2026-08-01 10:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103747584001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10091609777504256,"note":"Value kept but may cause issues"} 
[2026-08-01 10:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755066879162300416,"note":"Value kept but may cause issues"} 
[2026-08-01 10:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785561517000,"timestamp_ms":1785561517000,"timestamp_seconds":1785561517,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbc28bc8"} 
[2026-08-01 10:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-01 10:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:49:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 10:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 10:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103747584001,"66":14157,"105":206,"83":41984,"24":28,"16":10091609777504256,"45":1755066879162300416},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 10:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 10:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 10:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103747584001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:49:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 10:49:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 10:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10091609777504256,"km_value":10091609777504.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755066879162300416,"description":"Unknown IO ID 45"} 
[2026-08-01 10:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103747584001,"power":14157,"unknown_105":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1755066879162300416}} 
[2026-08-01 10:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":146152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576690,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:49:07] local.INFO: GPS data processed {"connection_id":146152,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:49:07] local.INFO: Acknowledgment sent {"connection_id":146152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:49:25] local.INFO: TCP Data received {"connection_id":146151,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbc18de0012d209f4006cef6b0000f013d25..."} 
[2026-08-01 10:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbc18de0012d209f4006cef6b0000f013d25..."} 
[2026-08-01 10:49:25] local.INFO: Processing buffer {"connection_id":146151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbc18de0012d209f4006cef6b0000f013d25..."} 
[2026-08-01 10:49:25] local.INFO: Packet analysis {"connection_id":146151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbc1"} 
[2026-08-01 10:49:25] local.INFO: Extracted packet for processing {"connection_id":146151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbc1"} 
[2026-08-01 10:49:25] local.INFO: GPS Element Parsed {"raw_longitude":757112640,"raw_latitude":114226864,"longitude_deg":75.711264,"latitude_deg":11.4226864,"altitude":15,"angle":317,"satellites":37,"speed":13,"hex_longitude":"2d209f40","hex_latitude":"06cef6b0","is_valid_coordinates":true} 
[2026-08-01 10:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103728128001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366282971440742400,"note":"Value kept but may cause issues"} 
[2026-08-01 10:49:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2352708622077315072,"note":"Value kept but may cause issues"} 
[2026-08-01 10:49:25] 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-08-01 10:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785561452000,"timestamp_ms":1785561452000,"timestamp_seconds":1785561452,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbc18de0"} 
[2026-08-01 10:49:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:49: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-08-01 10:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 10:49:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:49:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:49:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":146151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":146151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":146151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:49:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103728128001,"66":27800,"61":206,"81":22528,"24":13,"16":366282971440742400,"45":2352708622077315072},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,81,24,16,45]} 
[2026-08-01 10:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103728128001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:49:25] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-01 10:49:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-01 10:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366282971440742400,"km_value":366282971440742.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:49:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":2352708622077315072,"description":"Unknown IO ID 45"} 
[2026-08-01 10:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103728128001,"power":27800,"unknown_61":206,"unknown_81":22528,"ignition":13,"odometer":null,"unknown_45":2352708622077315072}} 
[2026-08-01 10:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":146151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:49:25] local.INFO: GPS data processed {"connection_id":146151,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:49:25] local.INFO: Acknowledgment sent {"connection_id":146151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:49:38] local.INFO: TCP Data received {"connection_id":146152,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbc29b68012d186f8007218138004e005b1f..."} 
[2026-08-01 10:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbc29b68012d186f8007218138004e005b1f..."} 
[2026-08-01 10:49:38] local.INFO: Processing buffer {"connection_id":146152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbc29b68012d186f8007218138004e005b1f..."} 
[2026-08-01 10:49:38] local.INFO: Packet analysis {"connection_id":146152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbc2"} 
[2026-08-01 10:49:38] local.INFO: Extracted packet for processing {"connection_id":146152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbc2"} 
[2026-08-01 10:49:38] local.INFO: GPS Element Parsed {"raw_longitude":756576128,"raw_latitude":119636280,"longitude_deg":75.6576128,"latitude_deg":11.963628,"altitude":78,"angle":91,"satellites":31,"speed":30,"hex_longitude":"2d186f80","hex_latitude":"07218138","is_valid_coordinates":true} 
[2026-08-01 10:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103748352001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10091755806392320,"note":"Value kept but may cause issues"} 
[2026-08-01 10:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757459416464138240,"note":"Value kept but may cause issues"} 
[2026-08-01 10:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785561521000,"timestamp_ms":1785561521000,"timestamp_seconds":1785561521,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbc29b68"} 
[2026-08-01 10:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:49:38] 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-08-01 10:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-01 10:49: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-08-01 10:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 10:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 10:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103748352001,"66":14298,"105":206,"83":41984,"24":30,"16":10091755806392320,"45":1757459416464138240},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 10:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 10:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 10:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103748352001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:49:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 10:49:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 10:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10091755806392320,"km_value":10091755806392.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757459416464138240,"description":"Unknown IO ID 45"} 
[2026-08-01 10:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103748352001,"power":14298,"unknown_105":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1757459416464138240}} 
[2026-08-01 10:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":146152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576692,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:49:38] local.INFO: GPS data processed {"connection_id":146152,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:49:38] local.INFO: Acknowledgment sent {"connection_id":146152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:49:44] local.INFO: TCP Data received {"connection_id":146153,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:49:44] local.INFO: Processing buffer {"connection_id":146153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:49:44] local.INFO: IMEI packet received {"connection_id":146153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":146153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:49:49] local.INFO: TCP Data received {"connection_id":146153,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:49:49] local.INFO: Processing buffer {"connection_id":146153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:49:49] local.INFO: IMEI packet received {"connection_id":146153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":146153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:49:51] local.INFO: TCP Data received {"connection_id":146153,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:49:51] local.INFO: Processing buffer {"connection_id":146153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:49:51] local.INFO: IMEI packet received {"connection_id":146153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":146153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:49:51] local.INFO: TCP Data received {"connection_id":146153,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbc1b8d8012d208e4006cf0418000f01312b..."} 
[2026-08-01 10:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbc1b8d8012d208e4006cf0418000f01312b..."} 
[2026-08-01 10:49:51] local.INFO: Processing buffer {"connection_id":146153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbc1b8d8012d208e4006cf0418000f01312b..."} 
[2026-08-01 10:49:51] local.INFO: Packet analysis {"connection_id":146153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbc1"} 
[2026-08-01 10:49:51] local.INFO: Extracted packet for processing {"connection_id":146153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbc1"} 
[2026-08-01 10:49:51] local.INFO: GPS Element Parsed {"raw_longitude":757108288,"raw_latitude":114230296,"longitude_deg":75.7108288,"latitude_deg":11.4230296,"altitude":15,"angle":305,"satellites":43,"speed":25,"hex_longitude":"2d208e40","hex_latitude":"06cf0418","is_valid_coordinates":true} 
[2026-08-01 10:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103731712001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366283237728714752,"note":"Value kept but may cause issues"} 
[2026-08-01 10:49:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2350667928496943104,"note":"Value kept but may cause issues"} 
[2026-08-01 10:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785561463000,"timestamp_ms":1785561463000,"timestamp_seconds":1785561463,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbc1b8d8"} 
[2026-08-01 10:49:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:49:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 10:49:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:49:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:49:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":146153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":146153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":146153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:49:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103731712001,"66":27767,"80":206,"81":22528,"24":25,"16":366283237728714752,"45":2350667928496943104},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,81,24,16,45]} 
[2026-08-01 10:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103731712001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:49:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-08-01 10:49:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-01 10:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366283237728714752,"km_value":366283237728714.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:49:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2350667928496943104,"description":"Unknown IO ID 45"} 
[2026-08-01 10:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103731712001,"power":27767,"unknown_80":206,"unknown_81":22528,"ignition":25,"odometer":null,"unknown_45":2350667928496943104}} 
[2026-08-01 10:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":146153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:49:51] local.INFO: GPS data processed {"connection_id":146153,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:49:51] local.INFO: Acknowledgment sent {"connection_id":146153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:49:55] local.INFO: TCP Data received {"connection_id":146153,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbc1ef88012d20724006cf1960001101332b..."} 
[2026-08-01 10:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbc1ef88012d20724006cf1960001101332b..."} 
[2026-08-01 10:49:55] local.INFO: Processing buffer {"connection_id":146153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbc1ef88012d20724006cf1960001101332b..."} 
[2026-08-01 10:49:55] local.INFO: Packet analysis {"connection_id":146153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbc1"} 
[2026-08-01 10:49:55] local.INFO: Extracted packet for processing {"connection_id":146153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbc1"} 
[2026-08-01 10:49:55] local.INFO: GPS Element Parsed {"raw_longitude":757101120,"raw_latitude":114235744,"longitude_deg":75.710112,"latitude_deg":11.4235744,"altitude":17,"angle":307,"satellites":43,"speed":25,"hex_longitude":"2d207240","hex_latitude":"06cf1960","is_valid_coordinates":true} 
[2026-08-01 10:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103734528001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366283667225444352,"note":"Value kept but may cause issues"} 
[2026-08-01 10:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2345882853893740544,"note":"Value kept but may cause issues"} 
[2026-08-01 10:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785561477000,"timestamp_ms":1785561477000,"timestamp_seconds":1785561477,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbc1ef88"} 
[2026-08-01 10:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:49: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-08-01 10:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 10:49:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:49:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":146153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":146153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":146153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103734528001,"66":27767,"80":206,"81":22528,"24":25,"16":366283667225444352,"45":2345882853893740544},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,81,24,16,45]} 
[2026-08-01 10:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103734528001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:49:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-08-01 10:49:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-01 10:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366283667225444352,"km_value":366283667225444.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":2345882853893740544,"description":"Unknown IO ID 45"} 
[2026-08-01 10:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103734528001,"power":27767,"unknown_80":206,"unknown_81":22528,"ignition":25,"odometer":null,"unknown_45":2345882853893740544}} 
[2026-08-01 10:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":146153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:49:55] local.INFO: GPS data processed {"connection_id":146153,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:49:55] local.INFO: Acknowledgment sent {"connection_id":146153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:50:00] local.INFO: TCP Data received {"connection_id":146154,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:50:00] local.INFO: Processing buffer {"connection_id":146154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:50:00] local.INFO: IMEI packet received {"connection_id":146154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 10:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":146154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:50:00] local.INFO: TCP Data received {"connection_id":146154,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:50:00] local.INFO: Processing buffer {"connection_id":146154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:50:00] local.INFO: IMEI packet received {"connection_id":146154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 10:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":146154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:50:03] local.INFO: TCP Data received {"connection_id":146154,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:50:03] local.INFO: Processing buffer {"connection_id":146154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:50:03] local.INFO: IMEI packet received {"connection_id":146154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 10:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":146154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:50:06] local.INFO: TCP Data received {"connection_id":146154,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:50:06] local.INFO: Processing buffer {"connection_id":146154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:50:06] local.INFO: IMEI packet received {"connection_id":146154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 10:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":146154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:50:07] local.INFO: TCP Data received {"connection_id":146154,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbc37df8012d18d40007211a70004100771f..."} 
[2026-08-01 10:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbc37df8012d18d40007211a70004100771f..."} 
[2026-08-01 10:50:07] local.INFO: Processing buffer {"connection_id":146154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbc37df8012d18d40007211a70004100771f..."} 
[2026-08-01 10:50:07] local.INFO: Packet analysis {"connection_id":146154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbc3"} 
[2026-08-01 10:50:07] local.INFO: Extracted packet for processing {"connection_id":146154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbc3"} 
[2026-08-01 10:50:07] local.INFO: GPS Element Parsed {"raw_longitude":756601856,"raw_latitude":119609968,"longitude_deg":75.6601856,"latitude_deg":11.9609968,"altitude":65,"angle":119,"satellites":31,"speed":6,"hex_longitude":"2d18d400","hex_latitude":"07211a70","is_valid_coordinates":true} 
[2026-08-01 10:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103763968001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10093752966184960,"note":"Value kept but may cause issues"} 
[2026-08-01 10:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788914245104752640,"note":"Value kept but may cause issues"} 
[2026-08-01 10:50: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-08-01 10:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785561579000,"timestamp_ms":1785561579000,"timestamp_seconds":1785561579,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbc37df8"} 
[2026-08-01 10:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:50:07] 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-08-01 10:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-01 10:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 10:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 10:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103763968001,"66":14135,"106":206,"83":41984,"24":6,"16":10093752966184960,"45":1788914245104752640},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-01 10:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 10:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 10:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103763968001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:50:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-01 10:50:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 10:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10093752966184960,"km_value":10093752966184.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788914245104752640,"description":"Unknown IO ID 45"} 
[2026-08-01 10:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103763968001,"power":14135,"unknown_106":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1788914245104752640}} 
[2026-08-01 10:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":146154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576695,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:50:07] local.INFO: GPS data processed {"connection_id":146154,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:50:07] local.INFO: Acknowledgment sent {"connection_id":146154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:50:26] local.INFO: TCP Data received {"connection_id":146153,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbc22a20012d20550006cf2ee80015012e2c..."} 
[2026-08-01 10:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbc22a20012d20550006cf2ee80015012e2c..."} 
[2026-08-01 10:50:26] local.INFO: Processing buffer {"connection_id":146153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbc22a20012d20550006cf2ee80015012e2c..."} 
[2026-08-01 10:50:26] local.INFO: Packet analysis {"connection_id":146153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbc2"} 
[2026-08-01 10:50:26] local.INFO: Extracted packet for processing {"connection_id":146153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbc2"} 
[2026-08-01 10:50:26] local.INFO: GPS Element Parsed {"raw_longitude":757093632,"raw_latitude":114241256,"longitude_deg":75.7093632,"latitude_deg":11.4241256,"altitude":21,"angle":302,"satellites":44,"speed":21,"hex_longitude":"2d205500","hex_latitude":"06cf2ee8","is_valid_coordinates":true} 
[2026-08-01 10: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-08-01 10:50:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103738112001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:50:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366284113902043136,"note":"Value kept but may cause issues"} 
[2026-08-01 10:50:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2338001554547236864,"note":"Value kept but may cause issues"} 
[2026-08-01 10:50:26] 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-08-01 10:50:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785561492000,"timestamp_ms":1785561492000,"timestamp_seconds":1785561492,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbc22a20"} 
[2026-08-01 10:50:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:50:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 10:50: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-08-01 10:50:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:50:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:50:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:50:26] local.INFO: Teltonika packet parsed successfully {"connection_id":146153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:50:26] local.INFO: Passing IMEI to GPS processor {"connection_id":146153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:50:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":146153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:50:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:50:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:50:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:50:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103738112001,"66":27713,"79":206,"81":22528,"24":21,"16":366284113902043136,"45":2338001554547236864},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-08-01 10:50:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:50:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:50:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103738112001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:50:26] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-01 10:50:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-01 10:50:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366284113902043136,"km_value":366284113902043.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:50:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":2338001554547236864,"description":"Unknown IO ID 45"} 
[2026-08-01 10:50:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103738112001,"power":27713,"unknown_79":206,"unknown_81":22528,"ignition":21,"odometer":null,"unknown_45":2338001554547236864}} 
[2026-08-01 10:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":146153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:50:26] local.INFO: GPS data processed {"connection_id":146153,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:50:26] local.INFO: Acknowledgment sent {"connection_id":146153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:50:37] local.INFO: TCP Data received {"connection_id":146154,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbc381e0012d18d4c007211a40004100681f..."} 
[2026-08-01 10:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbc381e0012d18d4c007211a40004100681f..."} 
[2026-08-01 10:50:37] local.INFO: Processing buffer {"connection_id":146154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbc381e0012d18d4c007211a40004100681f..."} 
[2026-08-01 10:50:37] local.INFO: Packet analysis {"connection_id":146154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbc3"} 
[2026-08-01 10:50:37] local.INFO: Extracted packet for processing {"connection_id":146154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbc3"} 
[2026-08-01 10:50:37] local.INFO: GPS Element Parsed {"raw_longitude":756602048,"raw_latitude":119609920,"longitude_deg":75.6602048,"latitude_deg":11.960992,"altitude":65,"angle":104,"satellites":31,"speed":6,"hex_longitude":"2d18d4c0","hex_latitude":"07211a40","is_valid_coordinates":true} 
[2026-08-01 10: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-08-01 10:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103764224001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10093761556119552,"note":"Value kept but may cause issues"} 
[2026-08-01 10:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789054982593081344,"note":"Value kept but may cause issues"} 
[2026-08-01 10:50:37] 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-08-01 10:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785561580000,"timestamp_ms":1785561580000,"timestamp_seconds":1785561580,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbc381e0"} 
[2026-08-01 10:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:50:37] 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-08-01 10: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-01 10:50:37] 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-08-01 10: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-08-01 10:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:50:37] 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-08-01 10:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 10:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 10:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103764224001,"66":14461,"106":206,"83":41984,"24":6,"16":10093761556119552,"45":1789054982593081344},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-01 10:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 10:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 10:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103764224001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:50:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-01 10:50:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 10:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10093761556119552,"km_value":10093761556119.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789054982593081344,"description":"Unknown IO ID 45"} 
[2026-08-01 10:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103764224001,"power":14461,"unknown_106":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1789054982593081344}} 
[2026-08-01 10:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":146154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576697,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:50:37] local.INFO: GPS data processed {"connection_id":146154,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:50:37] local.INFO: Acknowledgment sent {"connection_id":146154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:50:44] local.INFO: TCP Data received {"connection_id":146155,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:50:44] local.INFO: Processing buffer {"connection_id":146155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:50:44] local.INFO: IMEI packet received {"connection_id":146155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":146155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:50:49] local.INFO: TCP Data received {"connection_id":146155,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:50:49] local.INFO: Processing buffer {"connection_id":146155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:50:49] local.INFO: IMEI packet received {"connection_id":146155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":146155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:50:50] local.INFO: TCP Data received {"connection_id":146155,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbc268a0012d20370006cf41100018012b2a..."} 
[2026-08-01 10:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbc268a0012d20370006cf41100018012b2a..."} 
[2026-08-01 10:50:50] local.INFO: Processing buffer {"connection_id":146155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbc268a0012d20370006cf41100018012b2a..."} 
[2026-08-01 10:50:50] local.INFO: Packet analysis {"connection_id":146155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbc2"} 
[2026-08-01 10:50:50] local.INFO: Extracted packet for processing {"connection_id":146155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbc2"} 
[2026-08-01 10:50:50] local.INFO: GPS Element Parsed {"raw_longitude":757085952,"raw_latitude":114245904,"longitude_deg":75.7085952,"latitude_deg":11.4245904,"altitude":24,"angle":299,"satellites":42,"speed":21,"hex_longitude":"2d203700","hex_latitude":"06cf4110","is_valid_coordinates":true} 
[2026-08-01 10:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:50:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103741952001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:50:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366284543398772736,"note":"Value kept but may cause issues"} 
[2026-08-01 10:50:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2329768411479861248,"note":"Value kept but may cause issues"} 
[2026-08-01 10:50:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:50:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785561508000,"timestamp_ms":1785561508000,"timestamp_seconds":1785561508,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbc268a0"} 
[2026-08-01 10:50:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:50:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 10:50:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:50:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:50:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:50:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:50:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:50:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:50:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:50:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:50:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:50:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:50:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103741952001,"66":27767,"79":206,"81":22528,"24":21,"16":366284543398772736,"45":2329768411479861248},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-08-01 10:50:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:50:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:50:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103741952001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:50:50] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-01 10:50:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-01 10:50:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366284543398772736,"km_value":366284543398772.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:50:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2329768411479861248,"description":"Unknown IO ID 45"} 
[2026-08-01 10:50:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103741952001,"power":27767,"unknown_79":206,"unknown_81":22528,"ignition":21,"odometer":null,"unknown_45":2329768411479861248}} 
[2026-08-01 10:50:50] local.INFO: DEBUG: GPS processor result {"connection_id":146155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:50:50] local.INFO: GPS data processed {"connection_id":146155,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:50:50] local.INFO: Acknowledgment sent {"connection_id":146155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:51:00] local.INFO: TCP Data received {"connection_id":148483,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:51:00] local.INFO: Processing buffer {"connection_id":148483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:51:00] local.INFO: IMEI packet received {"connection_id":148483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 10:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":148483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:51:04] local.INFO: TCP Data received {"connection_id":148483,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:51:04] local.INFO: Processing buffer {"connection_id":148483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:51:04] local.INFO: IMEI packet received {"connection_id":148483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 10:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":148483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:51:05] local.INFO: TCP Data received {"connection_id":148483,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:51:05] local.INFO: Processing buffer {"connection_id":148483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:51:05] local.INFO: IMEI packet received {"connection_id":148483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 10:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":148483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:51:06] local.INFO: TCP Data received {"connection_id":148483,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbc46c40012d18f4c0072130a80041000721..."} 
[2026-08-01 10:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbc46c40012d18f4c0072130a80041000721..."} 
[2026-08-01 10:51:06] local.INFO: Processing buffer {"connection_id":148483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbc46c40012d18f4c0072130a80041000721..."} 
[2026-08-01 10:51:06] local.INFO: Packet analysis {"connection_id":148483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbc4"} 
[2026-08-01 10:51:06] local.INFO: Extracted packet for processing {"connection_id":148483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbc4"} 
[2026-08-01 10:51:06] local.INFO: GPS Element Parsed {"raw_longitude":756610240,"raw_latitude":119615656,"longitude_deg":75.661024,"latitude_deg":11.9615656,"altitude":65,"angle":7,"satellites":33,"speed":7,"hex_longitude":"2d18f4c0","hex_latitude":"072130a8","is_valid_coordinates":true} 
[2026-08-01 10:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103777024001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10094375736442880,"note":"Value kept but may cause issues"} 
[2026-08-01 10:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1797851075616344064,"note":"Value kept but may cause issues"} 
[2026-08-01 10:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785561640000,"timestamp_ms":1785561640000,"timestamp_seconds":1785561640,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbc46c40"} 
[2026-08-01 10:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:51:06] 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-08-01 10:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-01 10:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:51:06] 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-08-01 10:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 10:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 10:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103777024001,"66":14515,"106":206,"83":41984,"24":7,"16":10094375736442880,"45":1797851075616344064},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-01 10:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 10:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 10:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103777024001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:51:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-01 10:51:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 10:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10094375736442880,"km_value":10094375736442.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1797851075616344064,"description":"Unknown IO ID 45"} 
[2026-08-01 10:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103777024001,"power":14515,"unknown_106":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1797851075616344064}} 
[2026-08-01 10:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":148483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576699,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:51:06] local.INFO: GPS data processed {"connection_id":148483,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:51:06] local.INFO: Acknowledgment sent {"connection_id":148483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:51:07] local.INFO: TCP Data received {"connection_id":148483,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbc47028012d18f4c0072131600041016321..."} 
[2026-08-01 10:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbc47028012d18f4c0072131600041016321..."} 
[2026-08-01 10:51:07] local.INFO: Processing buffer {"connection_id":148483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbc47028012d18f4c0072131600041016321..."} 
[2026-08-01 10:51:07] local.INFO: Packet analysis {"connection_id":148483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbc4"} 
[2026-08-01 10:51:07] local.INFO: Extracted packet for processing {"connection_id":148483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbc4"} 
[2026-08-01 10:51:07] local.INFO: GPS Element Parsed {"raw_longitude":756610240,"raw_latitude":119615840,"longitude_deg":75.661024,"latitude_deg":11.961584,"altitude":65,"angle":355,"satellites":33,"speed":6,"hex_longitude":"2d18f4c0","hex_latitude":"07213160","is_valid_coordinates":true} 
[2026-08-01 10:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103779840001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10094384326377472,"note":"Value kept but may cause issues"} 
[2026-08-01 10:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798273288081811456,"note":"Value kept but may cause issues"} 
[2026-08-01 10:51: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-08-01 10:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785561641000,"timestamp_ms":1785561641000,"timestamp_seconds":1785561641,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbc47028"} 
[2026-08-01 10:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:51:07] 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-08-01 10:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-01 10:51:07] 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-08-01 10:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":148483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":148483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":148483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 10:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 10:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103779840001,"66":14515,"106":206,"83":41984,"24":6,"16":10094384326377472,"45":1798273288081811456},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-01 10:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 10:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 10:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103779840001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:51:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-01 10:51:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 10:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10094384326377472,"km_value":10094384326377.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798273288081811456,"description":"Unknown IO ID 45"} 
[2026-08-01 10:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103779840001,"power":14515,"unknown_106":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1798273288081811456}} 
[2026-08-01 10:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":148483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576700,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:51:07] local.INFO: GPS data processed {"connection_id":148483,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:51:07] local.INFO: Acknowledgment sent {"connection_id":148483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:51:21] local.INFO: TCP Data received {"connection_id":146155,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbc29b68012d20188006cf52a80016012a2d..."} 
[2026-08-01 10:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbc29b68012d20188006cf52a80016012a2d..."} 
[2026-08-01 10:51:21] local.INFO: Processing buffer {"connection_id":146155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbc29b68012d20188006cf52a80016012a2d..."} 
[2026-08-01 10:51:21] local.INFO: Packet analysis {"connection_id":146155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbc2"} 
[2026-08-01 10:51:21] local.INFO: Extracted packet for processing {"connection_id":146155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbc2"} 
[2026-08-01 10:51:21] local.INFO: GPS Element Parsed {"raw_longitude":757078144,"raw_latitude":114250408,"longitude_deg":75.7078144,"latitude_deg":11.4250408,"altitude":22,"angle":298,"satellites":45,"speed":34,"hex_longitude":"2d201880","hex_latitude":"06cf52a8","is_valid_coordinates":true} 
[2026-08-01 10:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103746048001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366284972895502336,"note":"Value kept but may cause issues"} 
[2026-08-01 10:51:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2321324162179731456,"note":"Value kept but may cause issues"} 
[2026-08-01 10:51:21] 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-08-01 10:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785561521000,"timestamp_ms":1785561521000,"timestamp_seconds":1785561521,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbc29b68"} 
[2026-08-01 10:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 10:51:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:51:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103746048001,"66":27658,"79":206,"81":22528,"24":34,"16":366284972895502336,"45":2321324162179731456},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-08-01 10:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103746048001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:51:21] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-01 10:51:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-01 10:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366284972895502336,"km_value":366284972895502.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:51:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2321324162179731456,"description":"Unknown IO ID 45"} 
[2026-08-01 10:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103746048001,"power":27658,"unknown_79":206,"unknown_81":22528,"ignition":34,"odometer":null,"unknown_45":2321324162179731456}} 
[2026-08-01 10:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":146155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:51:21] local.INFO: GPS data processed {"connection_id":146155,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:51:21] local.INFO: Acknowledgment sent {"connection_id":146155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:51:38] local.INFO: TCP Data received {"connection_id":148483,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbc477f8012d18f4c0072132400041001c21..."} 
[2026-08-01 10:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbc477f8012d18f4c0072132400041001c21..."} 
[2026-08-01 10:51:38] local.INFO: Processing buffer {"connection_id":148483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbc477f8012d18f4c0072132400041001c21..."} 
[2026-08-01 10:51:38] local.INFO: Packet analysis {"connection_id":148483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbc4"} 
[2026-08-01 10:51:38] local.INFO: Extracted packet for processing {"connection_id":148483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbc4"} 
[2026-08-01 10:51:38] local.INFO: GPS Element Parsed {"raw_longitude":756610240,"raw_latitude":119616064,"longitude_deg":75.661024,"latitude_deg":11.9616064,"altitude":65,"angle":28,"satellites":33,"speed":0,"hex_longitude":"2d18f4c0","hex_latitude":"07213240","is_valid_coordinates":true} 
[2026-08-01 10: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-08-01 10:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103780096001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10094392916312064,"note":"Value kept but may cause issues"} 
[2026-08-01 10:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798273288081858560,"note":"Value kept but may cause issues"} 
[2026-08-01 10:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785561643000,"timestamp_ms":1785561643000,"timestamp_seconds":1785561643,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbc477f8"} 
[2026-08-01 10:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-01 10:51:38] 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-08-01 10: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-08-01 10:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":148483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":148483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":148483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 10:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 10:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103780096001,"66":14548,"106":206,"83":41984,"24":0,"16":10094392916312064,"45":1798273288081858560},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-01 10:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 10:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 10:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103780096001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:51:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-01 10:51:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 10:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10094392916312064,"km_value":10094392916312.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798273288081858560,"description":"Unknown IO ID 45"} 
[2026-08-01 10:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103780096001,"power":14548,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1798273288081858560}} 
[2026-08-01 10:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":148483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:51:38] local.INFO: GPS data processed {"connection_id":148483,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:51:38] local.INFO: Acknowledgment sent {"connection_id":148483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:51:49] local.INFO: TCP Data received {"connection_id":148484,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:51:49] local.INFO: Processing buffer {"connection_id":148484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:51:49] local.INFO: IMEI packet received {"connection_id":148484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":148484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:51:49] local.INFO: TCP Data received {"connection_id":148484,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:51:49] local.INFO: Processing buffer {"connection_id":148484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:51:49] local.INFO: IMEI packet received {"connection_id":148484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":148484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:51:54] local.INFO: TCP Data received {"connection_id":148484,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:51:54] local.INFO: Processing buffer {"connection_id":148484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:51:54] local.INFO: IMEI packet received {"connection_id":148484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":148484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:51:55] local.INFO: TCP Data received {"connection_id":148484,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbc46858012d1eff4006d03b58001101452b..."} 
[2026-08-01 10:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbc46858012d1eff4006d03b58001101452b..."} 
[2026-08-01 10:51:55] local.INFO: Processing buffer {"connection_id":148484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbc46858012d1eff4006d03b58001101452b..."} 
[2026-08-01 10:51:55] local.INFO: Packet analysis {"connection_id":148484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbc4"} 
[2026-08-01 10:51:55] local.INFO: Extracted packet for processing {"connection_id":148484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbc4"} 
[2026-08-01 10:51:55] local.INFO: GPS Element Parsed {"raw_longitude":757006144,"raw_latitude":114309976,"longitude_deg":75.7006144,"latitude_deg":11.4309976,"altitude":17,"angle":325,"satellites":43,"speed":26,"hex_longitude":"2d1eff40","hex_latitude":"06d03b58","is_valid_coordinates":true} 
[2026-08-01 10:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103775744001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366289611460182016,"note":"Value kept but may cause issues"} 
[2026-08-01 10:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2239203837738825728,"note":"Value kept but may cause issues"} 
[2026-08-01 10:51:55] 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-08-01 10:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785561639000,"timestamp_ms":1785561639000,"timestamp_seconds":1785561639,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbc46858"} 
[2026-08-01 10:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:51:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 10:51:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:51:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103775744001,"66":27908,"153":206,"81":22528,"24":26,"16":366289611460182016,"45":2239203837738825728},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,81,24,16,45]} 
[2026-08-01 10:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103775744001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:51:55] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-01 10:51:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-01 10:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366289611460182016,"km_value":366289611460182.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":2239203837738825728,"description":"Unknown IO ID 45"} 
[2026-08-01 10:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103775744001,"power":27908,"unknown_153":206,"unknown_81":22528,"ignition":26,"odometer":null,"unknown_45":2239203837738825728}} 
[2026-08-01 10:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":148484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:51:55] local.INFO: GPS data processed {"connection_id":148484,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:51:55] local.INFO: Acknowledgment sent {"connection_id":148484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:52:00] local.INFO: TCP Data received {"connection_id":146156,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:52:00] local.INFO: Processing buffer {"connection_id":146156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:52:00] local.INFO: IMEI packet received {"connection_id":146156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 10:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":146156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:52:03] local.INFO: TCP Data received {"connection_id":146156,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:52:03] local.INFO: Processing buffer {"connection_id":146156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:52:03] local.INFO: IMEI packet received {"connection_id":146156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 10:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":146156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:52:03] local.INFO: TCP Data received {"connection_id":146156,"ip":"42.106.6.29","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-01 10:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146156,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-01 10:52:03] local.INFO: Processing buffer {"connection_id":146156,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-01 10:52:03] local.INFO: IMEI packet received {"connection_id":146156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 10:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":146156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:52:27] local.INFO: TCP Data received {"connection_id":148484,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbc49738012d1eeb4006d057f00011014829..."} 
[2026-08-01 10:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbc49738012d1eeb4006d057f00011014829..."} 
[2026-08-01 10:52:27] local.INFO: Processing buffer {"connection_id":148484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbc49738012d1eeb4006d057f00011014829..."} 
[2026-08-01 10:52:27] local.INFO: Packet analysis {"connection_id":148484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbc4"} 
[2026-08-01 10:52:27] local.INFO: Extracted packet for processing {"connection_id":148484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbc4"} 
[2026-08-01 10:52:27] local.INFO: GPS Element Parsed {"raw_longitude":757001024,"raw_latitude":114317296,"longitude_deg":75.7001024,"latitude_deg":11.4317296,"altitude":17,"angle":328,"satellites":41,"speed":33,"hex_longitude":"2d1eeb40","hex_latitude":"06d057f0","is_valid_coordinates":true} 
[2026-08-01 10:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103779584001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366290040956911616,"note":"Value kept but may cause issues"} 
[2026-08-01 10:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2233574338206586880,"note":"Value kept but may cause issues"} 
[2026-08-01 10:52:27] 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-08-01 10:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785561651000,"timestamp_ms":1785561651000,"timestamp_seconds":1785561651,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbc49738"} 
[2026-08-01 10:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:52:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 10:52: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-08-01 10:52:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:52: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-08-01 10:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103779584001,"66":27865,"153":206,"81":22528,"24":33,"16":366290040956911616,"45":2233574338206586880},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,81,24,16,45]} 
[2026-08-01 10:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103779584001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:52:27] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-01 10:52:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-01 10:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366290040956911616,"km_value":366290040956911.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":2233574338206586880,"description":"Unknown IO ID 45"} 
[2026-08-01 10:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103779584001,"power":27865,"unknown_153":206,"unknown_81":22528,"ignition":33,"odometer":null,"unknown_45":2233574338206586880}} 
[2026-08-01 10:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":148484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:52:27] local.INFO: GPS data processed {"connection_id":148484,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:52:27] local.INFO: Acknowledgment sent {"connection_id":148484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:52:45] local.INFO: TCP Data received {"connection_id":146157,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:52:45] local.INFO: Processing buffer {"connection_id":146157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:52:45] local.INFO: IMEI packet received {"connection_id":146157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":146157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:52:49] local.INFO: TCP Data received {"connection_id":146157,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:52:49] local.INFO: Processing buffer {"connection_id":146157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:52:49] local.INFO: IMEI packet received {"connection_id":146157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":146157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:52:51] local.INFO: TCP Data received {"connection_id":146157,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbc4be48012d1ed80006d076c8001101472b..."} 
[2026-08-01 10:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbc4be48012d1ed80006d076c8001101472b..."} 
[2026-08-01 10:52:51] local.INFO: Processing buffer {"connection_id":146157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbc4be48012d1ed80006d076c8001101472b..."} 
[2026-08-01 10:52:51] local.INFO: Packet analysis {"connection_id":146157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbc4"} 
[2026-08-01 10:52:51] local.INFO: Extracted packet for processing {"connection_id":146157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbc4"} 
[2026-08-01 10:52:51] local.INFO: GPS Element Parsed {"raw_longitude":756996096,"raw_latitude":114325192,"longitude_deg":75.6996096,"latitude_deg":11.4325192,"altitude":17,"angle":327,"satellites":43,"speed":40,"hex_longitude":"2d1ed800","hex_latitude":"06d076c8","is_valid_coordinates":true} 
[2026-08-01 10:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103782656001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366290491928477696,"note":"Value kept but may cause issues"} 
[2026-08-01 10:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2227944838674247680,"note":"Value kept but may cause issues"} 
[2026-08-01 10:52:51] 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-08-01 10:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785561661000,"timestamp_ms":1785561661000,"timestamp_seconds":1785561661,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbc4be48"} 
[2026-08-01 10:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:52:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 10:52:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:52:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":146157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":146157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":146157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103782656001,"66":27691,"153":206,"81":22528,"24":40,"16":366290491928477696,"45":2227944838674247680},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,81,24,16,45]} 
[2026-08-01 10:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103782656001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:52:51] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-01 10:52:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-01 10:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366290491928477696,"km_value":366290491928477.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2227944838674247680,"description":"Unknown IO ID 45"} 
[2026-08-01 10:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103782656001,"power":27691,"unknown_153":206,"unknown_81":22528,"ignition":40,"odometer":null,"unknown_45":2227944838674247680}} 
[2026-08-01 10:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":146157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:52:51] local.INFO: GPS data processed {"connection_id":146157,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:52:51] local.INFO: Acknowledgment sent {"connection_id":146157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:53:22] local.INFO: TCP Data received {"connection_id":146157,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbc4e170012d1ec44006d096300011014a2b..."} 
[2026-08-01 10:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbc4e170012d1ec44006d096300011014a2b..."} 
[2026-08-01 10:53:22] local.INFO: Processing buffer {"connection_id":146157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbc4e170012d1ec44006d096300011014a2b..."} 
[2026-08-01 10:53:22] local.INFO: Packet analysis {"connection_id":146157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbc4"} 
[2026-08-01 10:53:22] local.INFO: Extracted packet for processing {"connection_id":146157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbc4"} 
[2026-08-01 10:53:22] local.INFO: GPS Element Parsed {"raw_longitude":756991040,"raw_latitude":114333232,"longitude_deg":75.699104,"latitude_deg":11.4333232,"altitude":17,"angle":330,"satellites":43,"speed":42,"hex_longitude":"2d1ec440","hex_latitude":"06d09630","is_valid_coordinates":true} 
[2026-08-01 10:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:53:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103785216001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:53:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366290947195011072,"note":"Value kept but may cause issues"} 
[2026-08-01 10:53:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2222526445374588928,"note":"Value kept but may cause issues"} 
[2026-08-01 10:53:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:53:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785561670000,"timestamp_ms":1785561670000,"timestamp_seconds":1785561670,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbc4e170"} 
[2026-08-01 10:53:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:53:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-01 10:53:22] 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-08-01 10:53:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:53:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:53:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:53:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:53:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:53:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:53:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:53:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:53:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:53:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103785216001,"66":26832,"153":206,"81":22528,"24":42,"16":366290947195011072,"45":2222526445374588928},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,81,24,16,45]} 
[2026-08-01 10:53:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:53:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:53:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103785216001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:53:22] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-01 10:53:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-01 10:53:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366290947195011072,"km_value":366290947195011.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:53:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2222526445374588928,"description":"Unknown IO ID 45"} 
[2026-08-01 10:53:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103785216001,"power":26832,"unknown_153":206,"unknown_81":22528,"ignition":42,"odometer":null,"unknown_45":2222526445374588928}} 
[2026-08-01 10:53:22] local.INFO: DEBUG: GPS processor result {"connection_id":146157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:53:22] local.INFO: GPS data processed {"connection_id":146157,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:53:22] local.INFO: Acknowledgment sent {"connection_id":146157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:53:44] local.INFO: TCP Data received {"connection_id":148485,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:53:44] local.INFO: Processing buffer {"connection_id":148485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:53:44] local.INFO: IMEI packet received {"connection_id":148485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":148485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:53:49] local.INFO: TCP Data received {"connection_id":148485,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:53:49] local.INFO: Processing buffer {"connection_id":148485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:53:49] local.INFO: IMEI packet received {"connection_id":148485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":148485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:53:50] local.INFO: TCP Data received {"connection_id":148485,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbc50498012d1eb08006d0b648001001462b..."} 
[2026-08-01 10:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbc50498012d1eb08006d0b648001001462b..."} 
[2026-08-01 10:53:50] local.INFO: Processing buffer {"connection_id":148485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbc50498012d1eb08006d0b648001001462b..."} 
[2026-08-01 10:53:50] local.INFO: Packet analysis {"connection_id":148485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbc5"} 
[2026-08-01 10:53:50] local.INFO: Extracted packet for processing {"connection_id":148485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbc5"} 
[2026-08-01 10:53:50] local.INFO: GPS Element Parsed {"raw_longitude":756985984,"raw_latitude":114341448,"longitude_deg":75.6985984,"latitude_deg":11.4341448,"altitude":16,"angle":326,"satellites":43,"speed":41,"hex_longitude":"2d1eb080","hex_latitude":"06d0b648","is_valid_coordinates":true} 
[2026-08-01 10: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-08-01 10:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103787520001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366291411051479040,"note":"Value kept but may cause issues"} 
[2026-08-01 10:53:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2216967314586611712,"note":"Value kept but may cause issues"} 
[2026-08-01 10:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785561679000,"timestamp_ms":1785561679000,"timestamp_seconds":1785561679,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbc50498"} 
[2026-08-01 10:53:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:53:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10: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":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-08-01 10:53:50] 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-08-01 10: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-08-01 10:53:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:53:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103787520001,"66":27713,"153":206,"81":22528,"24":41,"16":366291411051479040,"45":2216967314586611712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,81,24,16,45]} 
[2026-08-01 10:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103787520001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:53:50] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-01 10:53:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-01 10:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366291411051479040,"km_value":366291411051479.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:53:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2216967314586611712,"description":"Unknown IO ID 45"} 
[2026-08-01 10:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103787520001,"power":27713,"unknown_153":206,"unknown_81":22528,"ignition":41,"odometer":null,"unknown_45":2216967314586611712}} 
[2026-08-01 10:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":148485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:53:50] local.INFO: GPS data processed {"connection_id":148485,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:53:50] local.INFO: Acknowledgment sent {"connection_id":148485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:54:22] local.INFO: TCP Data received {"connection_id":148485,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbc527c0012d1e9c0006d0d6180013014629..."} 
[2026-08-01 10:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbc527c0012d1e9c0006d0d6180013014629..."} 
[2026-08-01 10:54:22] local.INFO: Processing buffer {"connection_id":148485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbc527c0012d1e9c0006d0d6180013014629..."} 
[2026-08-01 10:54:22] local.INFO: Packet analysis {"connection_id":148485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbc5"} 
[2026-08-01 10:54:22] local.INFO: Extracted packet for processing {"connection_id":148485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbc5"} 
[2026-08-01 10:54:22] local.INFO: GPS Element Parsed {"raw_longitude":756980736,"raw_latitude":114349592,"longitude_deg":75.6980736,"latitude_deg":11.4349592,"altitude":19,"angle":326,"satellites":41,"speed":42,"hex_longitude":"2d1e9c00","hex_latitude":"06d0d618","is_valid_coordinates":true} 
[2026-08-01 10:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103789824001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366291879202914304,"note":"Value kept but may cause issues"} 
[2026-08-01 10:54:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2211408183798679552,"note":"Value kept but may cause issues"} 
[2026-08-01 10:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785561688000,"timestamp_ms":1785561688000,"timestamp_seconds":1785561688,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbc527c0"} 
[2026-08-01 10:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:54:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 10:54:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:54:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103789824001,"66":27908,"153":206,"81":22528,"24":42,"16":366291879202914304,"45":2211408183798679552},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,81,24,16,45]} 
[2026-08-01 10:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103789824001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:54:22] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-01 10:54:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-01 10:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366291879202914304,"km_value":366291879202914.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:54:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2211408183798679552,"description":"Unknown IO ID 45"} 
[2026-08-01 10:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103789824001,"power":27908,"unknown_153":206,"unknown_81":22528,"ignition":42,"odometer":null,"unknown_45":2211408183798679552}} 
[2026-08-01 10:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":148485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:54:22] local.INFO: GPS data processed {"connection_id":148485,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:54:22] local.INFO: Acknowledgment sent {"connection_id":148485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:54:44] local.INFO: TCP Data received {"connection_id":147163,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:54:44] local.INFO: Processing buffer {"connection_id":147163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:54:44] local.INFO: IMEI packet received {"connection_id":147163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":147163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:54:46] local.INFO: TCP Data received {"connection_id":147163,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:54:46] local.INFO: Processing buffer {"connection_id":147163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:54:46] local.INFO: IMEI packet received {"connection_id":147163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":147163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:54:49] local.INFO: TCP Data received {"connection_id":147163,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:54:49] local.INFO: Processing buffer {"connection_id":147163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:54:49] local.INFO: IMEI packet received {"connection_id":147163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":147163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:54:58] local.INFO: TCP Data received {"connection_id":147163,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbc73718012d1dff0006d1cb680010014d2d..."} 
[2026-08-01 10:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbc73718012d1dff0006d1cb680010014d2d..."} 
[2026-08-01 10:54:58] local.INFO: Processing buffer {"connection_id":147163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbc73718012d1dff0006d1cb680010014d2d..."} 
[2026-08-01 10:54:58] local.INFO: Packet analysis {"connection_id":147163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbc7"} 
[2026-08-01 10:54:58] local.INFO: Extracted packet for processing {"connection_id":147163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbc7"} 
[2026-08-01 10:54:58] local.INFO: GPS Element Parsed {"raw_longitude":756940544,"raw_latitude":114412392,"longitude_deg":75.6940544,"latitude_deg":11.4412392,"altitude":16,"angle":333,"satellites":45,"speed":13,"hex_longitude":"2d1dff00","hex_latitude":"06d1cb68","is_valid_coordinates":true} 
[2026-08-01 10:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103823872001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366295504155312128,"note":"Value kept but may cause issues"} 
[2026-08-01 10:54:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2163135225310486528,"note":"Value kept but may cause issues"} 
[2026-08-01 10:54:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,81,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-01 10:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785561823000,"timestamp_ms":1785561823000,"timestamp_seconds":1785561823,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbc73718"} 
[2026-08-01 10:54:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:54:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 10:54: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-08-01 10:54:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:54:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":147163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":147163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":147163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:54:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:54:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:54:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103823872001,"66":27930,"16":366295504155312128,"81":20480,"24":13,"45":2163135225310486528},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,81,24,45]} 
[2026-08-01 10:54:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:54:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:54:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103823872001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:54:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366295504155312128,"km_value":366295504155312.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:54:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 10:54:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2163135225310486528,"description":"Unknown IO ID 45"} 
[2026-08-01 10:54:58] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457103823872001,"power":27930,"odometer":null,"unknown_81":20480,"ignition":13,"unknown_45":2163135225310486528}} 
[2026-08-01 10:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":147163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:54:58] local.INFO: GPS data processed {"connection_id":147163,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:54:58] local.INFO: Acknowledgment sent {"connection_id":147163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:55:29] local.INFO: TCP Data received {"connection_id":147163,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbc75e28012d1df7c006d1d7d8001001412c..."} 
[2026-08-01 10:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbc75e28012d1df7c006d1d7d8001001412c..."} 
[2026-08-01 10:55:29] local.INFO: Processing buffer {"connection_id":147163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbc75e28012d1df7c006d1d7d8001001412c..."} 
[2026-08-01 10:55:29] local.INFO: Packet analysis {"connection_id":147163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbc7"} 
[2026-08-01 10:55:29] local.INFO: Extracted packet for processing {"connection_id":147163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbc7"} 
[2026-08-01 10:55:29] local.INFO: GPS Element Parsed {"raw_longitude":756938688,"raw_latitude":114415576,"longitude_deg":75.6938688,"latitude_deg":11.4415576,"altitude":16,"angle":321,"satellites":44,"speed":19,"hex_longitude":"2d1df7c0","hex_latitude":"06d1d7d8","is_valid_coordinates":true} 
[2026-08-01 10: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-08-01 10:55:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103826688001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:55:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366295680248971264,"note":"Value kept but may cause issues"} 
[2026-08-01 10:55:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2161446375450699776,"note":"Value kept but may cause issues"} 
[2026-08-01 10:55:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,81,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-01 10:55:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785561833000,"timestamp_ms":1785561833000,"timestamp_seconds":1785561833,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbc75e28"} 
[2026-08-01 10:55:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:55:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-01 10:55: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-08-01 10: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-08-01 10:55:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:55:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:55:29] local.INFO: Teltonika packet parsed successfully {"connection_id":147163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:55:29] local.INFO: Passing IMEI to GPS processor {"connection_id":147163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:55:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":147163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:55: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-08-01 10:55:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:55:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:55:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103826688001,"66":27876,"16":366295680248971264,"81":20480,"24":19,"45":2161446375450699776},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,81,24,45]} 
[2026-08-01 10:55:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:55:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:55:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103826688001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:55:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366295680248971264,"km_value":366295680248971.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:55:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 10:55:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2161446375450699776,"description":"Unknown IO ID 45"} 
[2026-08-01 10:55:29] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457103826688001,"power":27876,"odometer":null,"unknown_81":20480,"ignition":19,"unknown_45":2161446375450699776}} 
[2026-08-01 10:55:29] local.INFO: DEBUG: GPS processor result {"connection_id":147163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:55:29] local.INFO: GPS data processed {"connection_id":147163,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:55:29] local.INFO: Acknowledgment sent {"connection_id":147163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:55:44] local.INFO: TCP Data received {"connection_id":146159,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:55:44] local.INFO: Processing buffer {"connection_id":146159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:55:44] local.INFO: IMEI packet received {"connection_id":146159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":146159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:55:47] local.INFO: TCP Data received {"connection_id":146159,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:55:47] local.INFO: Processing buffer {"connection_id":146159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:55:47] local.INFO: IMEI packet received {"connection_id":146159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":146159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:55:49] local.INFO: TCP Data received {"connection_id":146159,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:55:49] local.INFO: Processing buffer {"connection_id":146159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:55:49] local.INFO: IMEI packet received {"connection_id":146159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":146159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:55:52] local.INFO: TCP Data received {"connection_id":146159,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbc798c0012d1de14006d1f420000f01392a..."} 
[2026-08-01 10:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbc798c0012d1de14006d1f420000f01392a..."} 
[2026-08-01 10:55:52] local.INFO: Processing buffer {"connection_id":146159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbc798c0012d1de14006d1f420000f01392a..."} 
[2026-08-01 10:55:52] local.INFO: Packet analysis {"connection_id":146159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbc7"} 
[2026-08-01 10:55:52] local.INFO: Extracted packet for processing {"connection_id":146159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbc7"} 
[2026-08-01 10:55:52] local.INFO: GPS Element Parsed {"raw_longitude":756932928,"raw_latitude":114422816,"longitude_deg":75.6932928,"latitude_deg":11.4422816,"altitude":15,"angle":313,"satellites":42,"speed":25,"hex_longitude":"2d1de140","hex_latitude":"06d1f420","is_valid_coordinates":true} 
[2026-08-01 10:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:55:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103829248001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:55:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366296126925570048,"note":"Value kept but may cause issues"} 
[2026-08-01 10:55:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2159405681870362624,"note":"Value kept but may cause issues"} 
[2026-08-01 10:55:52] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,81,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-01 10:55:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785561848000,"timestamp_ms":1785561848000,"timestamp_seconds":1785561848,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbc798c0"} 
[2026-08-01 10:55:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10: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-08-01 10:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 10:55:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:55:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:55:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:55:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:55:52] local.INFO: Teltonika packet parsed successfully {"connection_id":146159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:55:52] local.INFO: Passing IMEI to GPS processor {"connection_id":146159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:55:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":146159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:55:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:55:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:55:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:55:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103829248001,"66":27800,"16":366296126925570048,"81":20480,"24":25,"45":2159405681870362624},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,81,24,45]} 
[2026-08-01 10:55:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:55:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:55:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103829248001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:55:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366296126925570048,"km_value":366296126925570.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:55:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 10:55:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":2159405681870362624,"description":"Unknown IO ID 45"} 
[2026-08-01 10:55:52] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457103829248001,"power":27800,"odometer":null,"unknown_81":20480,"ignition":25,"unknown_45":2159405681870362624}} 
[2026-08-01 10:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":146159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:55:52] local.INFO: GPS data processed {"connection_id":146159,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:55:52] local.INFO: Acknowledgment sent {"connection_id":146159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:56:23] local.INFO: TCP Data received {"connection_id":146159,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbc7e2f8012d1dc6c006d20c80001001392d..."} 
[2026-08-01 10:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbc7e2f8012d1dc6c006d20c80001001392d..."} 
[2026-08-01 10:56:23] local.INFO: Processing buffer {"connection_id":146159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbc7e2f8012d1dc6c006d20c80001001392d..."} 
[2026-08-01 10:56:23] local.INFO: Packet analysis {"connection_id":146159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbc7"} 
[2026-08-01 10:56:23] local.INFO: Extracted packet for processing {"connection_id":146159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbc7"} 
[2026-08-01 10:56:23] local.INFO: GPS Element Parsed {"raw_longitude":756926144,"raw_latitude":114429056,"longitude_deg":75.6926144,"latitude_deg":11.4429056,"altitude":16,"angle":313,"satellites":45,"speed":8,"hex_longitude":"2d1dc6c0","hex_latitude":"06d20c80","is_valid_coordinates":true} 
[2026-08-01 10:56:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:56:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103833088001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:56:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366296569307201536,"note":"Value kept but may cause issues"} 
[2026-08-01 10:56:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2153072494896226304,"note":"Value kept but may cause issues"} 
[2026-08-01 10:56:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:56:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785561867000,"timestamp_ms":1785561867000,"timestamp_seconds":1785561867,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbc7e2f8"} 
[2026-08-01 10:56:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:56:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:56:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 10:56:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:56:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:56:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:56:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:56:23] local.INFO: Teltonika packet parsed successfully {"connection_id":146159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:56:23] local.INFO: Passing IMEI to GPS processor {"connection_id":146159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:56:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":146159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:56:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:56:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:56:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:56:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103833088001,"66":27974,"5":206,"81":20480,"24":8,"16":366296569307201536,"45":2153072494896226304},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,81,24,16,45]} 
[2026-08-01 10:56:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:56:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:56:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103833088001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:56:23] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-01 10:56:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 10:56:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366296569307201536,"km_value":366296569307201.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:56:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":2153072494896226304,"description":"Unknown IO ID 45"} 
[2026-08-01 10:56:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103833088001,"power":27974,"unknown_5":206,"unknown_81":20480,"ignition":8,"odometer":null,"unknown_45":2153072494896226304}} 
[2026-08-01 10:56:23] local.INFO: DEBUG: GPS processor result {"connection_id":146159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:56:23] local.INFO: GPS data processed {"connection_id":146159,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:56:23] local.INFO: Acknowledgment sent {"connection_id":146159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:56:49] local.INFO: TCP Data received {"connection_id":147164,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:56:49] local.INFO: Processing buffer {"connection_id":147164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:56:49] local.INFO: IMEI packet received {"connection_id":147164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":147164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:56:50] local.INFO: TCP Data received {"connection_id":147164,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:56:50] local.INFO: Processing buffer {"connection_id":147164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:56:50] local.INFO: IMEI packet received {"connection_id":147164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":147164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:56:51] local.INFO: TCP Data received {"connection_id":147164,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbc83500012d1db14006d21f90001001382c..."} 
[2026-08-01 10:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbc83500012d1db14006d21f90001001382c..."} 
[2026-08-01 10:56:51] local.INFO: Processing buffer {"connection_id":147164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbc83500012d1db14006d21f90001001382c..."} 
[2026-08-01 10:56:51] local.INFO: Packet analysis {"connection_id":147164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbc8"} 
[2026-08-01 10:56:51] local.INFO: Extracted packet for processing {"connection_id":147164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbc8"} 
[2026-08-01 10:56:51] local.INFO: GPS Element Parsed {"raw_longitude":756920640,"raw_latitude":114433936,"longitude_deg":75.692064,"latitude_deg":11.4433936,"altitude":16,"angle":312,"satellites":44,"speed":21,"hex_longitude":"2d1db140","hex_latitude":"06d21f90","is_valid_coordinates":true} 
[2026-08-01 10: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-08-01 10:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103837952001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366296925789487104,"note":"Value kept but may cause issues"} 
[2026-08-01 10:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2145613408014991360,"note":"Value kept but may cause issues"} 
[2026-08-01 10:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785561888000,"timestamp_ms":1785561888000,"timestamp_seconds":1785561888,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbc83500"} 
[2026-08-01 10:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10: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-08-01 10: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-01 10:56:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10: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-08-01 10:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":147164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":147164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":147164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103837952001,"66":27843,"5":206,"81":20480,"24":21,"16":366296925789487104,"45":2145613408014991360},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,81,24,16,45]} 
[2026-08-01 10:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103837952001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:56:51] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-01 10:56:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 10:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366296925789487104,"km_value":366296925789487.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2145613408014991360,"description":"Unknown IO ID 45"} 
[2026-08-01 10:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103837952001,"power":27843,"unknown_5":206,"unknown_81":20480,"ignition":21,"odometer":null,"unknown_45":2145613408014991360}} 
[2026-08-01 10:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":147164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:56:51] local.INFO: GPS data processed {"connection_id":147164,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:56:51] local.INFO: Acknowledgment sent {"connection_id":147164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:56:55] local.INFO: TCP Data received {"connection_id":147164,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbc88708012d1da8c006d225b8001101322b..."} 
[2026-08-01 10:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbc88708012d1da8c006d225b8001101322b..."} 
[2026-08-01 10:56:55] local.INFO: Processing buffer {"connection_id":147164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbc88708012d1da8c006d225b8001101322b..."} 
[2026-08-01 10:56:55] local.INFO: Packet analysis {"connection_id":147164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbc8"} 
[2026-08-01 10:56:55] local.INFO: Extracted packet for processing {"connection_id":147164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbc8"} 
[2026-08-01 10:56:55] local.INFO: GPS Element Parsed {"raw_longitude":756918464,"raw_latitude":114435512,"longitude_deg":75.6918464,"latitude_deg":11.4435512,"altitude":17,"angle":306,"satellites":43,"speed":0,"hex_longitude":"2d1da8c0","hex_latitude":"06d225b8","is_valid_coordinates":true} 
[2026-08-01 10:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103843328001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366297054638505984,"note":"Value kept but may cause issues"} 
[2026-08-01 10:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2139561696016961536,"note":"Value kept but may cause issues"} 
[2026-08-01 10:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785561909000,"timestamp_ms":1785561909000,"timestamp_seconds":1785561909,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbc88708"} 
[2026-08-01 10:56:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:56: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-08-01 10:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 10:56:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:56:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:56:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":147164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":147164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":147164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:56:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103843328001,"66":28028,"5":206,"81":20480,"24":0,"16":366297054638505984,"45":2139561696016961536},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,81,24,16,45]} 
[2026-08-01 10:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103843328001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:56:55] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-01 10:56:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 10:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366297054638505984,"km_value":366297054638506.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":2139561696016961536,"description":"Unknown IO ID 45"} 
[2026-08-01 10:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103843328001,"power":28028,"unknown_5":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":2139561696016961536}} 
[2026-08-01 10:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":147164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:56:55] local.INFO: GPS data processed {"connection_id":147164,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:56:55] local.INFO: Acknowledgment sent {"connection_id":147164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:57:27] local.INFO: TCP Data received {"connection_id":147164,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbc8d910012d1da24006d22b28001201342c..."} 
[2026-08-01 10:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbc8d910012d1da24006d22b28001201342c..."} 
[2026-08-01 10:57:27] local.INFO: Processing buffer {"connection_id":147164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbc8d910012d1da24006d22b28001201342c..."} 
[2026-08-01 10:57:27] local.INFO: Packet analysis {"connection_id":147164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbc8"} 
[2026-08-01 10:57:27] local.INFO: Extracted packet for processing {"connection_id":147164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbc8"} 
[2026-08-01 10:57:27] local.INFO: GPS Element Parsed {"raw_longitude":756916800,"raw_latitude":114436904,"longitude_deg":75.69168,"latitude_deg":11.4436904,"altitude":18,"angle":308,"satellites":44,"speed":5,"hex_longitude":"2d1da240","hex_latitude":"06d22b28","is_valid_coordinates":true} 
[2026-08-01 10:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103848704001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366297157717721088,"note":"Value kept but may cause issues"} 
[2026-08-01 10:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2137169158715324416,"note":"Value kept but may cause issues"} 
[2026-08-01 10:57:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785561930000,"timestamp_ms":1785561930000,"timestamp_seconds":1785561930,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbc8d910"} 
[2026-08-01 10:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:57:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-01 10:57:27] 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-08-01 10:57:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":147164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":147164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":147164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:57: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-08-01 10:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103848704001,"66":27876,"18":206,"81":20480,"24":5,"16":366297157717721088,"45":2137169158715324416},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,81,24,16,45]} 
[2026-08-01 10:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103848704001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:57:27] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-08-01 10:57:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 10:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366297157717721088,"km_value":366297157717721.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":2137169158715324416,"description":"Unknown IO ID 45"} 
[2026-08-01 10:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103848704001,"power":27876,"unknown_18":206,"unknown_81":20480,"ignition":5,"odometer":null,"unknown_45":2137169158715324416}} 
[2026-08-01 10:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":147164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:57:27] local.INFO: GPS data processed {"connection_id":147164,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:57:27] local.INFO: Acknowledgment sent {"connection_id":147164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:57:44] local.INFO: TCP Data received {"connection_id":146160,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:57:44] local.INFO: Processing buffer {"connection_id":146160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:57:44] local.INFO: IMEI packet received {"connection_id":146160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":146160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:57:49] local.INFO: TCP Data received {"connection_id":146160,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:57:49] local.INFO: Processing buffer {"connection_id":146160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:57:49] local.INFO: IMEI packet received {"connection_id":146160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":146160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:57:50] local.INFO: TCP Data received {"connection_id":146160,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbc92b18012d1da18006d22c90001201362b..."} 
[2026-08-01 10:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbc92b18012d1da18006d22c90001201362b..."} 
[2026-08-01 10:57:50] local.INFO: Processing buffer {"connection_id":146160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbc92b18012d1da18006d22c90001201362b..."} 
[2026-08-01 10:57:50] local.INFO: Packet analysis {"connection_id":146160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbc9"} 
[2026-08-01 10:57:50] local.INFO: Extracted packet for processing {"connection_id":146160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbc9"} 
[2026-08-01 10:57:50] local.INFO: GPS Element Parsed {"raw_longitude":756916608,"raw_latitude":114437264,"longitude_deg":75.6916608,"latitude_deg":11.4437264,"altitude":18,"angle":310,"satellites":43,"speed":6,"hex_longitude":"2d1da180","hex_latitude":"06d22c90","is_valid_coordinates":true} 
[2026-08-01 10: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-08-01 10:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103854080001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366297179192557568,"note":"Value kept but may cause issues"} 
[2026-08-01 10:57:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2135339571367061504,"note":"Value kept but may cause issues"} 
[2026-08-01 10:57:50] 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-08-01 10:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785561951000,"timestamp_ms":1785561951000,"timestamp_seconds":1785561951,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbc92b18"} 
[2026-08-01 10:57:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:57:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 10:57:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:57:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:57:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:57:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103854080001,"66":27919,"18":206,"81":20480,"24":6,"16":366297179192557568,"45":2135339571367061504},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,81,24,16,45]} 
[2026-08-01 10:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103854080001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:57:50] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-08-01 10:57:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 10:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366297179192557568,"km_value":366297179192557.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:57:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2135339571367061504,"description":"Unknown IO ID 45"} 
[2026-08-01 10:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103854080001,"power":27919,"unknown_18":206,"unknown_81":20480,"ignition":6,"odometer":null,"unknown_45":2135339571367061504}} 
[2026-08-01 10:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":146160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:57:50] local.INFO: GPS data processed {"connection_id":146160,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:57:50] local.INFO: Acknowledgment sent {"connection_id":146160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:58:22] local.INFO: TCP Data received {"connection_id":146160,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbc97d20012d1d984006d235380013013a2b..."} 
[2026-08-01 10:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbc97d20012d1d984006d235380013013a2b..."} 
[2026-08-01 10:58:22] local.INFO: Processing buffer {"connection_id":146160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbc97d20012d1d984006d235380013013a2b..."} 
[2026-08-01 10:58:22] local.INFO: Packet analysis {"connection_id":146160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbc9"} 
[2026-08-01 10:58:22] local.INFO: Extracted packet for processing {"connection_id":146160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbc9"} 
[2026-08-01 10:58:22] local.INFO: GPS Element Parsed {"raw_longitude":756914240,"raw_latitude":114439480,"longitude_deg":75.691424,"latitude_deg":11.443948,"altitude":19,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2d1d9840","hex_latitude":"06d23538","is_valid_coordinates":true} 
[2026-08-01 10:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103859456001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366297338106347520,"note":"Value kept but may cause issues"} 
[2026-08-01 10:58:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2135128465134620672,"note":"Value kept but may cause issues"} 
[2026-08-01 10:58:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785561972000,"timestamp_ms":1785561972000,"timestamp_seconds":1785561972,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbc97d20"} 
[2026-08-01 10:58:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:58:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 10:58:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:58:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:58:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:58:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103859456001,"66":27843,"5":206,"81":20480,"24":0,"16":366297338106347520,"45":2135128465134620672},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,81,24,16,45]} 
[2026-08-01 10:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103859456001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:58:22] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-01 10:58:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 10:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366297338106347520,"km_value":366297338106347.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:58:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2135128465134620672,"description":"Unknown IO ID 45"} 
[2026-08-01 10:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103859456001,"power":27843,"unknown_5":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":2135128465134620672}} 
[2026-08-01 10:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":146160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:58:22] local.INFO: GPS data processed {"connection_id":146160,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:58:22] local.INFO: Acknowledgment sent {"connection_id":146160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:58:45] local.INFO: TCP Data received {"connection_id":148486,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:58:45] local.INFO: Processing buffer {"connection_id":148486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:58:45] local.INFO: IMEI packet received {"connection_id":148486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":148486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:58:49] local.INFO: TCP Data received {"connection_id":148486,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:58:49] local.INFO: Processing buffer {"connection_id":148486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:58:49] local.INFO: IMEI packet received {"connection_id":148486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":148486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:58:50] local.INFO: TCP Data received {"connection_id":148486,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbc9cf28012d1d954006d239380015013e2c..."} 
[2026-08-01 10:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbc9cf28012d1d954006d239380015013e2c..."} 
[2026-08-01 10:58:50] local.INFO: Processing buffer {"connection_id":148486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbc9cf28012d1d954006d239380015013e2c..."} 
[2026-08-01 10:58:50] local.INFO: Packet analysis {"connection_id":148486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbc9"} 
[2026-08-01 10:58:50] local.INFO: Extracted packet for processing {"connection_id":148486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbc9"} 
[2026-08-01 10:58:50] local.INFO: GPS Element Parsed {"raw_longitude":756913472,"raw_latitude":114440504,"longitude_deg":75.6913472,"latitude_deg":11.4440504,"altitude":21,"angle":318,"satellites":44,"speed":2,"hex_longitude":"2d1d9540","hex_latitude":"06d23938","is_valid_coordinates":true} 
[2026-08-01 10:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103864832001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366297402530856960,"note":"Value kept but may cause issues"} 
[2026-08-01 10:58:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2132524821600614400,"note":"Value kept but may cause issues"} 
[2026-08-01 10:58:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785561993000,"timestamp_ms":1785561993000,"timestamp_seconds":1785561993,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbc9cf28"} 
[2026-08-01 10:58:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:58:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 10:58:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:58:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:58:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:58:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103864832001,"66":28028,"5":206,"81":20480,"24":2,"16":366297402530856960,"45":2132524821600614400},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,81,24,16,45]} 
[2026-08-01 10:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103864832001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:58:50] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-01 10:58:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 10:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366297402530856960,"km_value":366297402530856.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:58:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2132524821600614400,"description":"Unknown IO ID 45"} 
[2026-08-01 10:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103864832001,"power":28028,"unknown_5":206,"unknown_81":20480,"ignition":2,"odometer":null,"unknown_45":2132524821600614400}} 
[2026-08-01 10:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":148486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:58:50] local.INFO: GPS data processed {"connection_id":148486,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:58:50] local.INFO: Acknowledgment sent {"connection_id":148486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:59:00] local.INFO: TCP Data received {"connection_id":148487,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:59:00] local.INFO: Processing buffer {"connection_id":148487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:59:00] local.INFO: IMEI packet received {"connection_id":148487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 10:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":148487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:59:06] local.INFO: TCP Data received {"connection_id":148487,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:59:06] local.INFO: Processing buffer {"connection_id":148487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 10:59:06] local.INFO: IMEI packet received {"connection_id":148487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 10:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":148487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:59:07] local.INFO: TCP Data received {"connection_id":148487,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbcafbf0012d1988c00720b0a0002f004721..."} 
[2026-08-01 10:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbcafbf0012d1988c00720b0a0002f004721..."} 
[2026-08-01 10:59:07] local.INFO: Processing buffer {"connection_id":148487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbcafbf0012d1988c00720b0a0002f004721..."} 
[2026-08-01 10:59:07] local.INFO: Packet analysis {"connection_id":148487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbca"} 
[2026-08-01 10:59:07] local.INFO: Extracted packet for processing {"connection_id":148487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbca"} 
[2026-08-01 10:59:07] local.INFO: GPS Element Parsed {"raw_longitude":756648128,"raw_latitude":119582880,"longitude_deg":75.6648128,"latitude_deg":11.958288,"altitude":47,"angle":71,"satellites":33,"speed":0,"hex_longitude":"2d1988c0","hex_latitude":"0720b0a0","is_valid_coordinates":true} 
[2026-08-01 10:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103885824001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10097536832372736,"note":"Value kept but may cause issues"} 
[2026-08-01 10:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839931584626597888,"note":"Value kept but may cause issues"} 
[2026-08-01 10:59:07] 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-08-01 10:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785562070000,"timestamp_ms":1785562070000,"timestamp_seconds":1785562070,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbcafbf0"} 
[2026-08-01 10:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:59:07] 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-08-01 10:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 10:59:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:59:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":148487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":148487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":148487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 10:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 10:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103885824001,"66":2166,"24":0,"16":10097536832372736,"45":1839931584626597888},"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-08-01 10:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 10:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 10:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103885824001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10097536832372736,"km_value":10097536832372.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839931584626597888,"description":"Unknown IO ID 45"} 
[2026-08-01 10:59:07] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457103885824001,"power":2166,"ignition":0,"odometer":null,"unknown_45":1839931584626597888}} 
[2026-08-01 10:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":148487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576719,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:59:07] local.INFO: GPS data processed {"connection_id":148487,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:59:07] local.INFO: Acknowledgment sent {"connection_id":148487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:59:26] local.INFO: TCP Data received {"connection_id":148486,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbca2130012d1d8c8006d24368001a01382c..."} 
[2026-08-01 10:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbca2130012d1d8c8006d24368001a01382c..."} 
[2026-08-01 10:59:26] local.INFO: Processing buffer {"connection_id":148486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbca2130012d1d8c8006d24368001a01382c..."} 
[2026-08-01 10:59:26] local.INFO: Packet analysis {"connection_id":148486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbca"} 
[2026-08-01 10:59:26] local.INFO: Extracted packet for processing {"connection_id":148486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbca"} 
[2026-08-01 10:59:26] local.INFO: GPS Element Parsed {"raw_longitude":756911232,"raw_latitude":114443112,"longitude_deg":75.6911232,"latitude_deg":11.4443112,"altitude":26,"angle":312,"satellites":44,"speed":18,"hex_longitude":"2d1d8c80","hex_latitude":"06d24368","is_valid_coordinates":true} 
[2026-08-01 10:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103870208001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366297570034581504,"note":"Value kept but may cause issues"} 
[2026-08-01 10:59:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2131680396670744576,"note":"Value kept but may cause issues"} 
[2026-08-01 10:59:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785562014000,"timestamp_ms":1785562014000,"timestamp_seconds":1785562014,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbca2130"} 
[2026-08-01 10:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:59:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-01 10:59:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:59:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:59:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103870208001,"66":27908,"5":206,"81":20480,"24":18,"16":366297570034581504,"45":2131680396670744576},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,81,24,16,45]} 
[2026-08-01 10:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103870208001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:59:26] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-01 10:59:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 10:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366297570034581504,"km_value":366297570034581.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:59:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":2131680396670744576,"description":"Unknown IO ID 45"} 
[2026-08-01 10:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103870208001,"power":27908,"unknown_5":206,"unknown_81":20480,"ignition":18,"odometer":null,"unknown_45":2131680396670744576}} 
[2026-08-01 10:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":148486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:59:26] local.INFO: GPS data processed {"connection_id":148486,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:59:26] local.INFO: Acknowledgment sent {"connection_id":148486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:59:38] local.INFO: TCP Data received {"connection_id":148487,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbcafbf0012d1988c00720b0a0002f004721..."} 
[2026-08-01 10:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbcafbf0012d1988c00720b0a0002f004721..."} 
[2026-08-01 10:59:38] local.INFO: Processing buffer {"connection_id":148487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbcafbf0012d1988c00720b0a0002f004721..."} 
[2026-08-01 10:59:38] local.INFO: Packet analysis {"connection_id":148487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbca"} 
[2026-08-01 10:59:38] local.INFO: Extracted packet for processing {"connection_id":148487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbca"} 
[2026-08-01 10:59:38] local.INFO: GPS Element Parsed {"raw_longitude":756648128,"raw_latitude":119582880,"longitude_deg":75.6648128,"latitude_deg":11.958288,"altitude":47,"angle":71,"satellites":33,"speed":0,"hex_longitude":"2d1988c0","hex_latitude":"0720b0a0","is_valid_coordinates":true} 
[2026-08-01 10:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103889920001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10097536832372736,"note":"Value kept but may cause issues"} 
[2026-08-01 10:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839931584626597888,"note":"Value kept but may cause issues"} 
[2026-08-01 10:59:38] 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-08-01 10:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785562070000,"timestamp_ms":1785562070000,"timestamp_seconds":1785562070,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbcafbf0"} 
[2026-08-01 10:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:59:38] 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-08-01 10:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 10:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 10:59:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":148487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":148487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":148487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 10:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 10:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 10:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103889920001,"66":2166,"24":0,"16":10097536832372736,"45":1839931584626597888},"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-08-01 10:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 10:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 10:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103889920001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10097536832372736,"km_value":10097536832372.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839931584626597888,"description":"Unknown IO ID 45"} 
[2026-08-01 10:59:38] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457103889920001,"power":2166,"ignition":0,"odometer":null,"unknown_45":1839931584626597888}} 
[2026-08-01 10:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":148487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576721,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:59:38] local.INFO: GPS data processed {"connection_id":148487,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:59:38] local.INFO: Acknowledgment sent {"connection_id":148487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 10:59:44] local.INFO: TCP Data received {"connection_id":145950,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:59:44] local.INFO: Processing buffer {"connection_id":145950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:59:44] local.INFO: IMEI packet received {"connection_id":145950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 10:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":145950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 10:59:50] local.INFO: TCP Data received {"connection_id":145950,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:59:50] local.INFO: Processing buffer {"connection_id":145950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 10:59:50] local.INFO: IMEI packet received {"connection_id":145950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 10:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":145950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 10:59:51] local.INFO: TCP Data received {"connection_id":145950,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbca7338012d1d81c006d24b700018013e2d..."} 
[2026-08-01 10:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbca7338012d1d81c006d24b700018013e2d..."} 
[2026-08-01 10:59:51] local.INFO: Processing buffer {"connection_id":145950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbca7338012d1d81c006d24b700018013e2d..."} 
[2026-08-01 10:59:51] local.INFO: Packet analysis {"connection_id":145950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbca"} 
[2026-08-01 10:59:51] local.INFO: Extracted packet for processing {"connection_id":145950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbca"} 
[2026-08-01 10:59:51] local.INFO: GPS Element Parsed {"raw_longitude":756908480,"raw_latitude":114445168,"longitude_deg":75.690848,"latitude_deg":11.4445168,"altitude":24,"angle":318,"satellites":45,"speed":0,"hex_longitude":"2d1d81c0","hex_latitude":"06d24b70","is_valid_coordinates":true} 
[2026-08-01 10:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 10:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103875584001,"note":"Value kept but may cause issues"} 
[2026-08-01 10:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366297737538306048,"note":"Value kept but may cause issues"} 
[2026-08-01 10:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2129217490625193984,"note":"Value kept but may cause issues"} 
[2026-08-01 10:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 10:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785562035000,"timestamp_ms":1785562035000,"timestamp_seconds":1785562035,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbca7338"} 
[2026-08-01 10:59:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 10:59:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 10:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 10:59: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-08-01 10:59:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 10:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 10:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 10:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":145950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 10:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":145950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":145950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 10:59:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 10:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 10:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 10:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103875584001,"66":27745,"5":206,"81":20480,"24":0,"16":366297737538306048,"45":2129217490625193984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,81,24,16,45]} 
[2026-08-01 10:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 10:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 10:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103875584001,"description":"Unknown IO ID 0"} 
[2026-08-01 10:59:51] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-01 10:59:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 10:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366297737538306048,"km_value":366297737538306.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 10:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2129217490625193984,"description":"Unknown IO ID 45"} 
[2026-08-01 10:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103875584001,"power":27745,"unknown_5":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":2129217490625193984}} 
[2026-08-01 10:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":145950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 10:59:51] local.INFO: GPS data processed {"connection_id":145950,"processed":1,"errors":0,"total":1} 
[2026-08-01 10:59:51] local.INFO: Acknowledgment sent {"connection_id":145950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:00:00] local.INFO: TCP Data received {"connection_id":146161,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146161,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:00:00] local.INFO: Processing buffer {"connection_id":146161,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:00:00] local.INFO: IMEI packet received {"connection_id":146161,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":146161,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:00:06] local.INFO: TCP Data received {"connection_id":146161,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146161,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:00:06] local.INFO: Processing buffer {"connection_id":146161,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:00:06] local.INFO: IMEI packet received {"connection_id":146161,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":146161,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:00:06] local.INFO: TCP Data received {"connection_id":146161,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbcc24d0012d19bb000720a7880032009521..."} 
[2026-08-01 11:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbcc24d0012d19bb000720a7880032009521..."} 
[2026-08-01 11:00:06] local.INFO: Processing buffer {"connection_id":146161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbcc24d0012d19bb000720a7880032009521..."} 
[2026-08-01 11:00:06] local.INFO: Packet analysis {"connection_id":146161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbcc"} 
[2026-08-01 11:00:06] local.INFO: Extracted packet for processing {"connection_id":146161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbcc"} 
[2026-08-01 11:00:06] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119580552,"longitude_deg":75.6660992,"latitude_deg":11.9580552,"altitude":50,"angle":149,"satellites":33,"speed":22,"hex_longitude":"2d19bb00","hex_latitude":"0720a788","is_valid_coordinates":true} 
[2026-08-01 11:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103909120001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10098189667401728,"note":"Value kept but may cause issues"} 
[2026-08-01 11:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853653489740769280,"note":"Value kept but may cause issues"} 
[2026-08-01 11:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785562146000,"timestamp_ms":1785562146000,"timestamp_seconds":1785562146,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbcc24d0"} 
[2026-08-01 11:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:00:06] 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-08-01 11:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-01 11:00:06] 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-08-01 11:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103909120001,"66":14298,"103":206,"83":41984,"24":22,"16":10098189667401728,"45":1853653489740769280},"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-08-01 11:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103909120001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:00:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 11:00:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10098189667401728,"km_value":10098189667401.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853653489740769280,"description":"Unknown IO ID 45"} 
[2026-08-01 11:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103909120001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1853653489740769280}} 
[2026-08-01 11:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":146161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:00:07] local.INFO: GPS data processed {"connection_id":146161,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:00:07] local.INFO: Acknowledgment sent {"connection_id":146161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:00:22] local.INFO: TCP Data received {"connection_id":145950,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbcac540012d1d7ec006d24d780019013e2b..."} 
[2026-08-01 11:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbcac540012d1d7ec006d24d780019013e2b..."} 
[2026-08-01 11:00:22] local.INFO: Processing buffer {"connection_id":145950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbcac540012d1d7ec006d24d780019013e2b..."} 
[2026-08-01 11:00:22] local.INFO: Packet analysis {"connection_id":145950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbca"} 
[2026-08-01 11:00:22] local.INFO: Extracted packet for processing {"connection_id":145950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbca"} 
[2026-08-01 11:00:22] local.INFO: GPS Element Parsed {"raw_longitude":756907712,"raw_latitude":114445688,"longitude_deg":75.6907712,"latitude_deg":11.4445688,"altitude":25,"angle":318,"satellites":43,"speed":1,"hex_longitude":"2d1d7ec0","hex_latitude":"06d24d78","is_valid_coordinates":true} 
[2026-08-01 11:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103880960001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366297789077913600,"note":"Value kept but may cause issues"} 
[2026-08-01 11:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2126191634626080768,"note":"Value kept but may cause issues"} 
[2026-08-01 11:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785562056000,"timestamp_ms":1785562056000,"timestamp_seconds":1785562056,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbcac540"} 
[2026-08-01 11:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 11:00:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:00:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":145950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":145950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":145950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103880960001,"66":27865,"5":206,"81":20480,"24":1,"16":366297789077913600,"45":2126191634626080768},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,81,24,16,45]} 
[2026-08-01 11:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103880960001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:00:22] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-01 11:00:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366297789077913600,"km_value":366297789077913.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2126191634626080768,"description":"Unknown IO ID 45"} 
[2026-08-01 11:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103880960001,"power":27865,"unknown_5":206,"unknown_81":20480,"ignition":1,"odometer":null,"unknown_45":2126191634626080768}} 
[2026-08-01 11:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":145950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:00:22] local.INFO: GPS data processed {"connection_id":145950,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:00:22] local.INFO: Acknowledgment sent {"connection_id":145950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:00:40] local.INFO: TCP Data received {"connection_id":146161,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbcc28b8012d19bb400720a560003200ab22..."} 
[2026-08-01 11:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbcc28b8012d19bb400720a560003200ab22..."} 
[2026-08-01 11:00:40] local.INFO: Processing buffer {"connection_id":146161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbcc28b8012d19bb400720a560003200ab22..."} 
[2026-08-01 11:00:40] local.INFO: Packet analysis {"connection_id":146161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbcc"} 
[2026-08-01 11:00:40] local.INFO: Extracted packet for processing {"connection_id":146161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbcc"} 
[2026-08-01 11:00:40] local.INFO: GPS Element Parsed {"raw_longitude":756661056,"raw_latitude":119580000,"longitude_deg":75.6661056,"latitude_deg":11.958,"altitude":50,"angle":171,"satellites":34,"speed":21,"hex_longitude":"2d19bb40","hex_latitude":"0720a560","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:00:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103909376001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:00:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10098219732172800,"note":"Value kept but may cause issues"} 
[2026-08-01 11:00:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702205712384,"note":"Value kept but may cause issues"} 
[2026-08-01 11:00: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-08-01 11:00:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785562147000,"timestamp_ms":1785562147000,"timestamp_seconds":1785562147,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbcc28b8"} 
[2026-08-01 11:00:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:00:40] 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-08-01 11: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-01 11:00:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11: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-08-01 11:00:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:00:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:00:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:00:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:00:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:00:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103909376001,"66":14298,"103":206,"83":41984,"24":21,"16":10098219732172800,"45":1854075702205712384},"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-08-01 11:00:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:00:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:00:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103909376001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:00:40] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 11:00:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:00:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10098219732172800,"km_value":10098219732172.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:00:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702205712384,"description":"Unknown IO ID 45"} 
[2026-08-01 11:00:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103909376001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1854075702205712384}} 
[2026-08-01 11:00:40] local.INFO: DEBUG: GPS processor result {"connection_id":146161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576725,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:00:40] local.INFO: GPS data processed {"connection_id":146161,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:00:40] local.INFO: Acknowledgment sent {"connection_id":146161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:00:44] local.INFO: TCP Data received {"connection_id":146162,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:00:44] local.INFO: Processing buffer {"connection_id":146162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:00:44] local.INFO: IMEI packet received {"connection_id":146162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:00:44] local.INFO: IMEI acknowledgment sent {"connection_id":146162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:00:50] local.INFO: TCP Data received {"connection_id":146162,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:00:50] local.INFO: Processing buffer {"connection_id":146162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:00:50] local.INFO: IMEI packet received {"connection_id":146162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":146162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:00:51] local.INFO: TCP Data received {"connection_id":146162,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbcb1748012d1d7c8006d251800017013e2b..."} 
[2026-08-01 11:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbcb1748012d1d7c8006d251800017013e2b..."} 
[2026-08-01 11:00:51] local.INFO: Processing buffer {"connection_id":146162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbcb1748012d1d7c8006d251800017013e2b..."} 
[2026-08-01 11:00:51] local.INFO: Packet analysis {"connection_id":146162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbcb"} 
[2026-08-01 11:00:51] local.INFO: Extracted packet for processing {"connection_id":146162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbcb"} 
[2026-08-01 11:00:51] local.INFO: GPS Element Parsed {"raw_longitude":756907136,"raw_latitude":114446720,"longitude_deg":75.6907136,"latitude_deg":11.444672,"altitude":23,"angle":318,"satellites":43,"speed":0,"hex_longitude":"2d1d7c80","hex_latitude":"06d25180","is_valid_coordinates":true} 
[2026-08-01 11:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103886336001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366297849207455744,"note":"Value kept but may cause issues"} 
[2026-08-01 11:00:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2125347209696081920,"note":"Value kept but may cause issues"} 
[2026-08-01 11:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785562077000,"timestamp_ms":1785562077000,"timestamp_seconds":1785562077,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbcb1748"} 
[2026-08-01 11:00:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:00: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-08-01 11:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 11:00:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:00:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:00:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":146162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":146162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":146162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:00:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103886336001,"66":27832,"5":206,"81":20480,"24":0,"16":366297849207455744,"45":2125347209696081920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,81,24,16,45]} 
[2026-08-01 11:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103886336001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:00:51] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-01 11:00:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366297849207455744,"km_value":366297849207455.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:00:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2125347209696081920,"description":"Unknown IO ID 45"} 
[2026-08-01 11:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103886336001,"power":27832,"unknown_5":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":2125347209696081920}} 
[2026-08-01 11:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":146162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:00:51] local.INFO: GPS data processed {"connection_id":146162,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:00:51] local.INFO: Acknowledgment sent {"connection_id":146162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:01:00] local.INFO: TCP Data received {"connection_id":146163,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:01:00] local.INFO: Processing buffer {"connection_id":146163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:01:00] local.INFO: IMEI packet received {"connection_id":146163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":146163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:01:06] local.INFO: TCP Data received {"connection_id":146163,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:01:06] local.INFO: Processing buffer {"connection_id":146163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:01:06] local.INFO: IMEI packet received {"connection_id":146163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":146163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:01:06] local.INFO: TCP Data received {"connection_id":146163,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbcc2ca0012d19bac00720a328003100c221..."} 
[2026-08-01 11:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbcc2ca0012d19bac00720a328003100c221..."} 
[2026-08-01 11:01:06] local.INFO: Processing buffer {"connection_id":146163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbcc2ca0012d19bac00720a328003100c221..."} 
[2026-08-01 11:01:06] local.INFO: Packet analysis {"connection_id":146163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbcc"} 
[2026-08-01 11:01:06] local.INFO: Extracted packet for processing {"connection_id":146163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbcc"} 
[2026-08-01 11:01:06] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119579432,"longitude_deg":75.6660928,"latitude_deg":11.9579432,"altitude":49,"angle":194,"satellites":33,"speed":22,"hex_longitude":"2d19bac0","hex_latitude":"0720a328","is_valid_coordinates":true} 
[2026-08-01 11:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103909632001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10098245501976576,"note":"Value kept but may cause issues"} 
[2026-08-01 11:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854146070949748736,"note":"Value kept but may cause issues"} 
[2026-08-01 11:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785562148000,"timestamp_ms":1785562148000,"timestamp_seconds":1785562148,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbcc2ca0"} 
[2026-08-01 11:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:01:06] 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-08-01 11:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-01 11:01:06] 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-08-01 11:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103909632001,"66":13352,"103":206,"83":41984,"24":22,"16":10098245501976576,"45":1854146070949748736},"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-08-01 11:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103909632001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:01:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 11:01:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10098245501976576,"km_value":10098245501976.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854146070949748736,"description":"Unknown IO ID 45"} 
[2026-08-01 11:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103909632001,"power":13352,"unknown_103":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1854146070949748736}} 
[2026-08-01 11:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":146163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576727,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:01:07] local.INFO: GPS data processed {"connection_id":146163,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:01:07] local.INFO: Acknowledgment sent {"connection_id":146163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:01:22] local.INFO: TCP Data received {"connection_id":146162,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbcb6950012d1d77c006d25868001501492d..."} 
[2026-08-01 11:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbcb6950012d1d77c006d25868001501492d..."} 
[2026-08-01 11:01:22] local.INFO: Processing buffer {"connection_id":146162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbcb6950012d1d77c006d25868001501492d..."} 
[2026-08-01 11:01:22] local.INFO: Packet analysis {"connection_id":146162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbcb"} 
[2026-08-01 11:01:22] local.INFO: Extracted packet for processing {"connection_id":146162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbcb"} 
[2026-08-01 11:01:22] local.INFO: GPS Element Parsed {"raw_longitude":756905920,"raw_latitude":114448488,"longitude_deg":75.690592,"latitude_deg":11.4448488,"altitude":21,"angle":329,"satellites":45,"speed":9,"hex_longitude":"2d1d77c0","hex_latitude":"06d25868","is_valid_coordinates":true} 
[2026-08-01 11:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103891712001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366297956581638144,"note":"Value kept but may cause issues"} 
[2026-08-01 11:01:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2124713890998747136,"note":"Value kept but may cause issues"} 
[2026-08-01 11:01:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785562098000,"timestamp_ms":1785562098000,"timestamp_seconds":1785562098,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbcb6950"} 
[2026-08-01 11:01:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:01:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-01 11:01:22] 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-08-01 11:01:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:01:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:01:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103891712001,"66":27843,"5":206,"81":20480,"24":9,"16":366297956581638144,"45":2124713890998747136},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,81,24,16,45]} 
[2026-08-01 11:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103891712001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:01:22] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-01 11:01:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366297956581638144,"km_value":366297956581638.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:01:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2124713890998747136,"description":"Unknown IO ID 45"} 
[2026-08-01 11:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103891712001,"power":27843,"unknown_5":206,"unknown_81":20480,"ignition":9,"odometer":null,"unknown_45":2124713890998747136}} 
[2026-08-01 11:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":146162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:01:22] local.INFO: GPS data processed {"connection_id":146162,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:01:22] local.INFO: Acknowledgment sent {"connection_id":146162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:01:38] local.INFO: TCP Data received {"connection_id":146163,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbcc3088012d19b9400720a0f0003100d221..."} 
[2026-08-01 11:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbcc3088012d19b9400720a0f0003100d221..."} 
[2026-08-01 11:01:38] local.INFO: Processing buffer {"connection_id":146163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbcc3088012d19b9400720a0f0003100d221..."} 
[2026-08-01 11:01:38] local.INFO: Packet analysis {"connection_id":146163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbcc"} 
[2026-08-01 11:01:38] local.INFO: Extracted packet for processing {"connection_id":146163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbcc"} 
[2026-08-01 11:01:38] local.INFO: GPS Element Parsed {"raw_longitude":756660544,"raw_latitude":119578864,"longitude_deg":75.6660544,"latitude_deg":11.9578864,"altitude":49,"angle":210,"satellites":33,"speed":25,"hex_longitude":"2d19b940","hex_latitude":"0720a0f0","is_valid_coordinates":true} 
[2026-08-01 11:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103909888001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10098279861714944,"note":"Value kept but may cause issues"} 
[2026-08-01 11:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333461248000,"note":"Value kept but may cause issues"} 
[2026-08-01 11:01: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-08-01 11:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785562149000,"timestamp_ms":1785562149000,"timestamp_seconds":1785562149,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbcc3088"} 
[2026-08-01 11:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:01:38] 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-08-01 11:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-01 11:01:38] 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-08-01 11:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103909888001,"66":13352,"103":206,"83":41984,"24":25,"16":10098279861714944,"45":1854005333461248000},"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-08-01 11:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103909888001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:01:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 11:01:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10098279861714944,"km_value":10098279861714.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333461248000,"description":"Unknown IO ID 45"} 
[2026-08-01 11:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103909888001,"power":13352,"unknown_103":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1854005333461248000}} 
[2026-08-01 11:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":146163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:01:38] local.INFO: GPS data processed {"connection_id":146163,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:01:38] local.INFO: Acknowledgment sent {"connection_id":146163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:01:44] local.INFO: TCP Data received {"connection_id":145951,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:01:44] local.INFO: Processing buffer {"connection_id":145951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:01:44] local.INFO: IMEI packet received {"connection_id":145951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":145951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:01:47] local.INFO: TCP Data received {"connection_id":145951,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:01:47] local.INFO: Processing buffer {"connection_id":145951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:01:47] local.INFO: IMEI packet received {"connection_id":145951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":145951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:01:48] local.INFO: TCP Data received {"connection_id":145951,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:01:48] local.INFO: Processing buffer {"connection_id":145951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:01:48] local.INFO: IMEI packet received {"connection_id":145951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":145951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:01:49] local.INFO: TCP Data received {"connection_id":145951,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:01:49] local.INFO: Processing buffer {"connection_id":145951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:01:49] local.INFO: IMEI packet received {"connection_id":145951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":145951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:01:50] local.INFO: TCP Data received {"connection_id":145951,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbcbbb58012d1d700006d26488001201482a..."} 
[2026-08-01 11:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbcbbb58012d1d700006d26488001201482a..."} 
[2026-08-01 11:01:50] local.INFO: Processing buffer {"connection_id":145951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbcbbb58012d1d700006d26488001201482a..."} 
[2026-08-01 11:01:50] local.INFO: Packet analysis {"connection_id":145951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbcb"} 
[2026-08-01 11:01:50] local.INFO: Extracted packet for processing {"connection_id":145951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbcb"} 
[2026-08-01 11:01:50] local.INFO: GPS Element Parsed {"raw_longitude":756903936,"raw_latitude":114451592,"longitude_deg":75.6903936,"latitude_deg":11.4451592,"altitude":18,"angle":328,"satellites":42,"speed":16,"hex_longitude":"2d1d7000","hex_latitude":"06d26488","is_valid_coordinates":true} 
[2026-08-01 11:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103897088001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366298136970264576,"note":"Value kept but may cause issues"} 
[2026-08-01 11:01:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2123376884859824128,"note":"Value kept but may cause issues"} 
[2026-08-01 11:01:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785562119000,"timestamp_ms":1785562119000,"timestamp_seconds":1785562119,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbcbbb58"} 
[2026-08-01 11:01:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:01:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 11:01:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:01:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:01:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":145951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":145951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":145951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:01:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103897088001,"66":27843,"5":206,"81":20480,"24":16,"16":366298136970264576,"45":2123376884859824128},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,81,24,16,45]} 
[2026-08-01 11:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103897088001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:01:50] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-01 11:01:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366298136970264576,"km_value":366298136970264.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:01:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2123376884859824128,"description":"Unknown IO ID 45"} 
[2026-08-01 11:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103897088001,"power":27843,"unknown_5":206,"unknown_81":20480,"ignition":16,"odometer":null,"unknown_45":2123376884859824128}} 
[2026-08-01 11:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":145951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:01:50] local.INFO: GPS data processed {"connection_id":145951,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:01:50] local.INFO: Acknowledgment sent {"connection_id":145951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:01:55] local.INFO: TCP Data received {"connection_id":145951,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbcbf5f0012d1d5ec006d28378000d014e29..."} 
[2026-08-01 11:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbcbf5f0012d1d5ec006d28378000d014e29..."} 
[2026-08-01 11:01:55] local.INFO: Processing buffer {"connection_id":145951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbcbf5f0012d1d5ec006d28378000d014e29..."} 
[2026-08-01 11:01:55] local.INFO: Packet analysis {"connection_id":145951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbcb"} 
[2026-08-01 11:01:55] local.INFO: Extracted packet for processing {"connection_id":145951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbcb"} 
[2026-08-01 11:01:55] local.INFO: GPS Element Parsed {"raw_longitude":756899520,"raw_latitude":114459512,"longitude_deg":75.689952,"latitude_deg":11.4459512,"altitude":13,"angle":334,"satellites":41,"speed":22,"hex_longitude":"2d1d5ec0","hex_latitude":"06d28378","is_valid_coordinates":true} 
[2026-08-01 11:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103902464001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366298575056928768,"note":"Value kept but may cause issues"} 
[2026-08-01 11:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2121195453791111168,"note":"Value kept but may cause issues"} 
[2026-08-01 11:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785562134000,"timestamp_ms":1785562134000,"timestamp_seconds":1785562134,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbcbf5f0"} 
[2026-08-01 11:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:01: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-08-01 11:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 11:01:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:01:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":145951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":145951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":145951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103902464001,"66":27843,"5":206,"81":20480,"24":22,"16":366298575056928768,"45":2121195453791111168},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,81,24,16,45]} 
[2026-08-01 11:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103902464001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:01:55] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-01 11:01:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366298575056928768,"km_value":366298575056928.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":2121195453791111168,"description":"Unknown IO ID 45"} 
[2026-08-01 11:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103902464001,"power":27843,"unknown_5":206,"unknown_81":20480,"ignition":22,"odometer":null,"unknown_45":2121195453791111168}} 
[2026-08-01 11:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":145951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:01:55] local.INFO: GPS data processed {"connection_id":145951,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:01:55] local.INFO: Acknowledgment sent {"connection_id":145951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:02:05] local.INFO: TCP Data received {"connection_id":146164,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:02:05] local.INFO: Processing buffer {"connection_id":146164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:02:05] local.INFO: IMEI packet received {"connection_id":146164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":146164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:02:10] local.INFO: TCP Data received {"connection_id":146164,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:02:10] local.INFO: Processing buffer {"connection_id":146164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:02:10] local.INFO: IMEI packet received {"connection_id":146164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":146164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:02:11] local.INFO: TCP Data received {"connection_id":146164,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbcc4be0012d19ad4007208f78002e00be22..."} 
[2026-08-01 11:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbcc4be0012d19ad4007208f78002e00be22..."} 
[2026-08-01 11:02:11] local.INFO: Processing buffer {"connection_id":146164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbcc4be0012d19ad4007208f78002e00be22..."} 
[2026-08-01 11:02:11] local.INFO: Packet analysis {"connection_id":146164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbcc"} 
[2026-08-01 11:02:11] local.INFO: Extracted packet for processing {"connection_id":146164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbcc"} 
[2026-08-01 11:02:11] local.INFO: GPS Element Parsed {"raw_longitude":756657472,"raw_latitude":119574392,"longitude_deg":75.6657472,"latitude_deg":11.9574392,"altitude":46,"angle":190,"satellites":34,"speed":31,"hex_longitude":"2d19ad40","hex_latitude":"07208f78","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103910144001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10098541854720000,"note":"Value kept but may cause issues"} 
[2026-08-01 11:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853583120996036608,"note":"Value kept but may cause issues"} 
[2026-08-01 11: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-08-01 11:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785562156000,"timestamp_ms":1785562156000,"timestamp_seconds":1785562156,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbcc4be0"} 
[2026-08-01 11:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11: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-08-01 11: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-01 11:02:11] 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-08-01 11: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-08-01 11:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11: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-08-01 11:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103910144001,"66":13080,"103":206,"83":41984,"24":31,"16":10098541854720000,"45":1853583120996036608},"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-08-01 11:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103910144001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:02:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 11:02:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10098541854720000,"km_value":10098541854720,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853583120996036608,"description":"Unknown IO ID 45"} 
[2026-08-01 11:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103910144001,"power":13080,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1853583120996036608}} 
[2026-08-01 11:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":146164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576732,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:02:11] local.INFO: GPS data processed {"connection_id":146164,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:02:11] local.INFO: Acknowledgment sent {"connection_id":146164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:02:26] local.INFO: TCP Data received {"connection_id":145951,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbcc47f8012d1d564006d29588000c01512a..."} 
[2026-08-01 11:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbcc47f8012d1d564006d29588000c01512a..."} 
[2026-08-01 11:02:26] local.INFO: Processing buffer {"connection_id":145951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbcc47f8012d1d564006d29588000c01512a..."} 
[2026-08-01 11:02:26] local.INFO: Packet analysis {"connection_id":145951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbcc"} 
[2026-08-01 11:02:26] local.INFO: Extracted packet for processing {"connection_id":145951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbcc"} 
[2026-08-01 11:02:26] local.INFO: GPS Element Parsed {"raw_longitude":756897344,"raw_latitude":114464136,"longitude_deg":75.6897344,"latitude_deg":11.4464136,"altitude":12,"angle":337,"satellites":42,"speed":8,"hex_longitude":"2d1d5640","hex_latitude":"06d29588","is_valid_coordinates":true} 
[2026-08-01 11:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103906304001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366298824165031936,"note":"Value kept but may cause issues"} 
[2026-08-01 11:02:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2116340010444879872,"note":"Value kept but may cause issues"} 
[2026-08-01 11:02:26] 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-08-01 11:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785562155000,"timestamp_ms":1785562155000,"timestamp_seconds":1785562155,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbcc47f8"} 
[2026-08-01 11:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:02:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 11:02:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:02:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":145951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":145951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":145951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:02:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103906304001,"66":27919,"81":20480,"24":8,"16":366298824165031936,"45":2116340010444879872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-08-01 11:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103906304001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:02:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366298824165031936,"km_value":366298824165031.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:02:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":2116340010444879872,"description":"Unknown IO ID 45"} 
[2026-08-01 11:02:26] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457103906304001,"power":27919,"unknown_81":20480,"ignition":8,"odometer":null,"unknown_45":2116340010444879872}} 
[2026-08-01 11:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":145951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:02:26] local.INFO: GPS data processed {"connection_id":145951,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:02:26] local.INFO: Acknowledgment sent {"connection_id":145951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:02:42] local.INFO: TCP Data received {"connection_id":146164,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbcc4fc8012d19ad0007208c58002d00b322..."} 
[2026-08-01 11:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbcc4fc8012d19ad0007208c58002d00b322..."} 
[2026-08-01 11:02:42] local.INFO: Processing buffer {"connection_id":146164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbcc4fc8012d19ad0007208c58002d00b322..."} 
[2026-08-01 11:02:42] local.INFO: Packet analysis {"connection_id":146164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbcc"} 
[2026-08-01 11:02:42] local.INFO: Extracted packet for processing {"connection_id":146164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbcc"} 
[2026-08-01 11:02:42] local.INFO: GPS Element Parsed {"raw_longitude":756657408,"raw_latitude":119573592,"longitude_deg":75.6657408,"latitude_deg":11.9573592,"altitude":45,"angle":179,"satellites":34,"speed":31,"hex_longitude":"2d19ad00","hex_latitude":"07208c58","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103911936001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10098584804392960,"note":"Value kept but may cause issues"} 
[2026-08-01 11:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850205421274363904,"note":"Value kept but may cause issues"} 
[2026-08-01 11: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-08-01 11:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785562157000,"timestamp_ms":1785562157000,"timestamp_seconds":1785562157,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbcc4fc8"} 
[2026-08-01 11:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11: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-08-01 11: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-01 11:02:42] 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-08-01 11: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-08-01 11:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":146164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":146164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":146164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11: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-08-01 11:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103911936001,"66":13080,"103":206,"83":41984,"24":31,"16":10098584804392960,"45":1850205421274363904},"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-08-01 11:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103911936001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:02:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 11:02:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10098584804392960,"km_value":10098584804392.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850205421274363904,"description":"Unknown IO ID 45"} 
[2026-08-01 11:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103911936001,"power":13080,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1850205421274363904}} 
[2026-08-01 11:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":146164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:02:42] local.INFO: GPS data processed {"connection_id":146164,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:02:42] local.INFO: Acknowledgment sent {"connection_id":146164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:03:01] local.INFO: TCP Data received {"connection_id":148488,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:03:01] local.INFO: Processing buffer {"connection_id":148488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:03:01] local.INFO: IMEI packet received {"connection_id":148488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":148488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:03:03] local.INFO: TCP Data received {"connection_id":148488,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:03:03] local.INFO: Processing buffer {"connection_id":148488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:03:03] local.INFO: IMEI packet received {"connection_id":148488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":148488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:03:04] local.INFO: TCP Data received {"connection_id":148488,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbcc5f68012d19afc007207ef8002d00a520..."} 
[2026-08-01 11:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbcc5f68012d19afc007207ef8002d00a520..."} 
[2026-08-01 11:03:04] local.INFO: Processing buffer {"connection_id":148488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbcc5f68012d19afc007207ef8002d00a520..."} 
[2026-08-01 11:03:04] local.INFO: Packet analysis {"connection_id":148488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbcc"} 
[2026-08-01 11:03:04] local.INFO: Extracted packet for processing {"connection_id":148488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbcc"} 
[2026-08-01 11:03:04] local.INFO: GPS Element Parsed {"raw_longitude":756658112,"raw_latitude":119570168,"longitude_deg":75.6658112,"latitude_deg":11.9570168,"altitude":45,"angle":165,"satellites":32,"speed":37,"hex_longitude":"2d19afc0","hex_latitude":"07207ef8","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103912192001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10098752308117504,"note":"Value kept but may cause issues"} 
[2026-08-01 11:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850135052529981440,"note":"Value kept but may cause issues"} 
[2026-08-01 11:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785562161000,"timestamp_ms":1785562161000,"timestamp_seconds":1785562161,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbcc5f68"} 
[2026-08-01 11:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:03:04] 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-08-01 11: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-01 11:03:04] 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-08-01 11: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-08-01 11:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":148488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":148488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":148488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103912192001,"66":14298,"103":206,"83":41984,"24":37,"16":10098752308117504,"45":1850135052529981440},"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-08-01 11:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103912192001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:03:04] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 11:03:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10098752308117504,"km_value":10098752308117.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850135052529981440,"description":"Unknown IO ID 45"} 
[2026-08-01 11:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103912192001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1850135052529981440}} 
[2026-08-01 11:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":148488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:03:04] local.INFO: GPS data processed {"connection_id":148488,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:03:04] local.INFO: Acknowledgment sent {"connection_id":148488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:03:18] local.INFO: TCP Data received {"connection_id":148488,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbcc8290012d19ba8007205d90002800a81e..."} 
[2026-08-01 11:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbcc8290012d19ba8007205d90002800a81e..."} 
[2026-08-01 11:03:18] local.INFO: Processing buffer {"connection_id":148488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbcc8290012d19ba8007205d90002800a81e..."} 
[2026-08-01 11:03:18] local.INFO: Packet analysis {"connection_id":148488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbcc"} 
[2026-08-01 11:03:18] local.INFO: Extracted packet for processing {"connection_id":148488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbcc"} 
[2026-08-01 11:03:18] local.INFO: GPS Element Parsed {"raw_longitude":756660864,"raw_latitude":119561616,"longitude_deg":75.6660864,"latitude_deg":11.9561616,"altitude":40,"angle":168,"satellites":30,"speed":39,"hex_longitude":"2d19ba80","hex_latitude":"07205d90","is_valid_coordinates":true} 
[2026-08-01 11:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103913216001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10099186099814400,"note":"Value kept but may cause issues"} 
[2026-08-01 11:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850909108715059200,"note":"Value kept but may cause issues"} 
[2026-08-01 11:03:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785562170000,"timestamp_ms":1785562170000,"timestamp_seconds":1785562170,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbcc8290"} 
[2026-08-01 11:03:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:03:18] 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-08-01 11:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-01 11:03:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:03:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:03:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":148488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":148488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":148488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:03: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-08-01 11:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103913216001,"66":13004,"103":206,"83":41984,"24":39,"16":10099186099814400,"45":1850909108715059200},"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-08-01 11:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103913216001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:03:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 11:03:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10099186099814400,"km_value":10099186099814.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850909108715059200,"description":"Unknown IO ID 45"} 
[2026-08-01 11:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103913216001,"power":13004,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1850909108715059200}} 
[2026-08-01 11:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":148488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576736,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:03:18] local.INFO: GPS data processed {"connection_id":148488,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:03:18] local.INFO: Acknowledgment sent {"connection_id":148488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:03:20] local.INFO: TCP Data received {"connection_id":145952,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:03:20] local.INFO: Processing buffer {"connection_id":145952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:03:20] local.INFO: IMEI packet received {"connection_id":145952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":145952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:03:25] local.INFO: TCP Data received {"connection_id":145952,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:03:25] local.INFO: Processing buffer {"connection_id":145952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:03:25] local.INFO: IMEI packet received {"connection_id":145952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":145952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:03:26] local.INFO: TCP Data received {"connection_id":145952,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbceb510012d1cf5c006d33b70000d01402a..."} 
[2026-08-01 11:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbceb510012d1cf5c006d33b70000d01402a..."} 
[2026-08-01 11:03:26] local.INFO: Processing buffer {"connection_id":145952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbceb510012d1cf5c006d33b70000d01402a..."} 
[2026-08-01 11:03:26] local.INFO: Packet analysis {"connection_id":145952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbce"} 
[2026-08-01 11:03:26] local.INFO: Extracted packet for processing {"connection_id":145952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbce"} 
[2026-08-01 11:03:26] local.INFO: GPS Element Parsed {"raw_longitude":756872640,"raw_latitude":114506608,"longitude_deg":75.687264,"latitude_deg":11.4506608,"altitude":13,"angle":320,"satellites":42,"speed":15,"hex_longitude":"2d1cf5c0","hex_latitude":"06d33b70","is_valid_coordinates":true} 
[2026-08-01 11:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:03:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103947008001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:03:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366301225051750400,"note":"Value kept but may cause issues"} 
[2026-08-01 11:03:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2092414637434773504,"note":"Value kept but may cause issues"} 
[2026-08-01 11:03:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:03:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785562314000,"timestamp_ms":1785562314000,"timestamp_seconds":1785562314,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbceb510"} 
[2026-08-01 11:03:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:03:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 11:03:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:03:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:03:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:03:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:03:26] local.INFO: Teltonika packet parsed successfully {"connection_id":145952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:03:26] local.INFO: Passing IMEI to GPS processor {"connection_id":145952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:03:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":145952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:03:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:03:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:03:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:03:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103947008001,"66":27800,"82":206,"81":20480,"24":15,"16":366301225051750400,"45":2092414637434773504},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-08-01 11:03:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:03:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:03:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103947008001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:03:26] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 11:03:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:03:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366301225051750400,"km_value":366301225051750.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:03:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":2092414637434773504,"description":"Unknown IO ID 45"} 
[2026-08-01 11:03:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103947008001,"power":27800,"unknown_82":206,"unknown_81":20480,"ignition":15,"odometer":null,"unknown_45":2092414637434773504}} 
[2026-08-01 11:03:26] local.INFO: DEBUG: GPS processor result {"connection_id":145952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:03:26] local.INFO: GPS data processed {"connection_id":145952,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:03:26] local.INFO: Acknowledgment sent {"connection_id":145952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:03:49] local.INFO: TCP Data received {"connection_id":146165,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:03:49] local.INFO: Processing buffer {"connection_id":146165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:03:49] local.INFO: IMEI packet received {"connection_id":146165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":146165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:03:54] local.INFO: TCP Data received {"connection_id":146165,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:03:54] local.INFO: Processing buffer {"connection_id":146165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:03:54] local.INFO: IMEI packet received {"connection_id":146165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":146165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:03:56] local.INFO: TCP Data received {"connection_id":146165,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbcef390012d1cdd8006d35698000e013d2c..."} 
[2026-08-01 11:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbcef390012d1cdd8006d35698000e013d2c..."} 
[2026-08-01 11:03:56] local.INFO: Processing buffer {"connection_id":146165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbcef390012d1cdd8006d35698000e013d2c..."} 
[2026-08-01 11:03:56] local.INFO: Packet analysis {"connection_id":146165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbce"} 
[2026-08-01 11:03:56] local.INFO: Extracted packet for processing {"connection_id":146165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbce"} 
[2026-08-01 11:03:56] local.INFO: GPS Element Parsed {"raw_longitude":756866432,"raw_latitude":114513560,"longitude_deg":75.6866432,"latitude_deg":11.451356,"altitude":14,"angle":317,"satellites":44,"speed":28,"hex_longitude":"2d1cdd80","hex_latitude":"06d35698","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:03:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103952384001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366301676023316480,"note":"Value kept but may cause issues"} 
[2026-08-01 11:03:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2086785137902317568,"note":"Value kept but may cause issues"} 
[2026-08-01 11:03:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785562330000,"timestamp_ms":1785562330000,"timestamp_seconds":1785562330,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbcef390"} 
[2026-08-01 11:03:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:03:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 11:03:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11: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-08-01 11:03:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":146165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":146165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":146165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:03:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:03:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103952384001,"66":27843,"82":206,"81":20480,"24":28,"16":366301676023316480,"45":2086785137902317568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-08-01 11:03:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:03:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:03:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103952384001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:03:56] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 11:03:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:03:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366301676023316480,"km_value":366301676023316.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:03:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":2086785137902317568,"description":"Unknown IO ID 45"} 
[2026-08-01 11:03:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103952384001,"power":27843,"unknown_82":206,"unknown_81":20480,"ignition":28,"odometer":null,"unknown_45":2086785137902317568}} 
[2026-08-01 11:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":146165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:03:56] local.INFO: GPS data processed {"connection_id":146165,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:03:56] local.INFO: Acknowledgment sent {"connection_id":146165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:04:01] local.INFO: TCP Data received {"connection_id":148489,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:04:01] local.INFO: Processing buffer {"connection_id":148489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:04:01] local.INFO: IMEI packet received {"connection_id":148489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":148489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:04:06] local.INFO: TCP Data received {"connection_id":148489,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:04:06] local.INFO: Processing buffer {"connection_id":148489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:04:06] local.INFO: IMEI packet received {"connection_id":148489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":148489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:04:07] local.INFO: TCP Data received {"connection_id":148489,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbcca9a0012d19bf8007203890002200a321..."} 
[2026-08-01 11:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbcca9a0012d19bf8007203890002200a321..."} 
[2026-08-01 11:04:07] local.INFO: Processing buffer {"connection_id":148489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbcca9a0012d19bf8007203890002200a321..."} 
[2026-08-01 11:04:07] local.INFO: Packet analysis {"connection_id":148489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbcc"} 
[2026-08-01 11:04:07] local.INFO: Extracted packet for processing {"connection_id":148489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbcc"} 
[2026-08-01 11:04:07] local.INFO: GPS Element Parsed {"raw_longitude":756662144,"raw_latitude":119552144,"longitude_deg":75.6662144,"latitude_deg":11.9552144,"altitude":34,"angle":163,"satellites":33,"speed":38,"hex_longitude":"2d19bf80","hex_latitude":"07203890","is_valid_coordinates":true} 
[2026-08-01 11:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103915520001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10099649956282368,"note":"Value kept but may cause issues"} 
[2026-08-01 11:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853934964712509440,"note":"Value kept but may cause issues"} 
[2026-08-01 11:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785562180000,"timestamp_ms":1785562180000,"timestamp_seconds":1785562180,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbcca9a0"} 
[2026-08-01 11:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-01 11:04:07] 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-08-01 11: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-08-01 11:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":148489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":148489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":148489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103915520001,"66":13135,"103":206,"83":41984,"24":38,"16":10099649956282368,"45":1853934964712509440},"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-08-01 11:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103915520001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:04:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 11:04:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10099649956282368,"km_value":10099649956282.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853934964712509440,"description":"Unknown IO ID 45"} 
[2026-08-01 11:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103915520001,"power":13135,"unknown_103":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1853934964712509440}} 
[2026-08-01 11:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":148489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576739,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:04:07] local.INFO: GPS data processed {"connection_id":148489,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:04:07] local.INFO: Acknowledgment sent {"connection_id":148489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:04:27] local.INFO: TCP Data received {"connection_id":146165,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbcf2a40012d1cc48006d37058000e013f2c..."} 
[2026-08-01 11:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbcf2a40012d1cc48006d37058000e013f2c..."} 
[2026-08-01 11:04:27] local.INFO: Processing buffer {"connection_id":146165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbcf2a40012d1cc48006d37058000e013f2c..."} 
[2026-08-01 11:04:27] local.INFO: Packet analysis {"connection_id":146165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbcf"} 
[2026-08-01 11:04:27] local.INFO: Extracted packet for processing {"connection_id":146165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbcf"} 
[2026-08-01 11:04:27] local.INFO: GPS Element Parsed {"raw_longitude":756860032,"raw_latitude":114520152,"longitude_deg":75.6860032,"latitude_deg":11.4520152,"altitude":14,"angle":319,"satellites":44,"speed":24,"hex_longitude":"2d1cc480","hex_latitude":"06d37058","is_valid_coordinates":true} 
[2026-08-01 11:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103956480001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366302114109980672,"note":"Value kept but may cause issues"} 
[2026-08-01 11:04:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2079959369718863872,"note":"Value kept but may cause issues"} 
[2026-08-01 11:04:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785562344000,"timestamp_ms":1785562344000,"timestamp_seconds":1785562344,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbcf2a40"} 
[2026-08-01 11:04:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:04: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-08-01 11:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 11:04: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-08-01 11:04:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:04:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":146165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":146165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":146165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:04: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-08-01 11:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103956480001,"66":27713,"82":206,"81":20480,"24":24,"16":366302114109980672,"45":2079959369718863872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-08-01 11:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103956480001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:04:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 11:04:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366302114109980672,"km_value":366302114109980.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:04:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":2079959369718863872,"description":"Unknown IO ID 45"} 
[2026-08-01 11:04:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103956480001,"power":27713,"unknown_82":206,"unknown_81":20480,"ignition":24,"odometer":null,"unknown_45":2079959369718863872}} 
[2026-08-01 11:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":146165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:04:27] local.INFO: GPS data processed {"connection_id":146165,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:04:27] local.INFO: Acknowledgment sent {"connection_id":146165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:04:38] local.INFO: TCP Data received {"connection_id":148489,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbcfd620012d19d200072014400024008a24..."} 
[2026-08-01 11:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbcfd620012d19d200072014400024008a24..."} 
[2026-08-01 11:04:38] local.INFO: Processing buffer {"connection_id":148489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbcfd620012d19d200072014400024008a24..."} 
[2026-08-01 11:04:38] local.INFO: Packet analysis {"connection_id":148489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbcf"} 
[2026-08-01 11:04:38] local.INFO: Extracted packet for processing {"connection_id":148489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbcf"} 
[2026-08-01 11:04:38] local.INFO: GPS Element Parsed {"raw_longitude":756666880,"raw_latitude":119542848,"longitude_deg":75.666688,"latitude_deg":11.9542848,"altitude":36,"angle":138,"satellites":36,"speed":0,"hex_longitude":"2d19d200","hex_latitude":"07201440","is_valid_coordinates":true} 
[2026-08-01 11:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103965952001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10100204007063552,"note":"Value kept but may cause issues"} 
[2026-08-01 11:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860549626660405248,"note":"Value kept but may cause issues"} 
[2026-08-01 11:04: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-08-01 11:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785562388000,"timestamp_ms":1785562388000,"timestamp_seconds":1785562388,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbcfd620"} 
[2026-08-01 11:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:04:38] 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-08-01 11:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-01 11:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:04:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":148489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":148489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":148489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103965952001,"66":12645,"101":206,"83":41984,"24":0,"16":10100204007063552,"45":1860549626660405248},"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-08-01 11:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103965952001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:04:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-01 11:04:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10100204007063552,"km_value":10100204007063.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860549626660405248,"description":"Unknown IO ID 45"} 
[2026-08-01 11:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103965952001,"power":12645,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1860549626660405248}} 
[2026-08-01 11:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":148489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:04:38] local.INFO: GPS data processed {"connection_id":148489,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:04:38] local.INFO: Acknowledgment sent {"connection_id":148489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:04:44] local.INFO: TCP Data received {"connection_id":147165,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:04:44] local.INFO: Processing buffer {"connection_id":147165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:04:44] local.INFO: IMEI packet received {"connection_id":147165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":147165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:04:49] local.INFO: TCP Data received {"connection_id":147165,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:04:49] local.INFO: Processing buffer {"connection_id":147165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:04:49] local.INFO: IMEI packet received {"connection_id":147165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":147165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:04:50] local.INFO: TCP Data received {"connection_id":147165,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbcf4d68012d1cb74006d38290000e014a2a..."} 
[2026-08-01 11:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbcf4d68012d1cb74006d38290000e014a2a..."} 
[2026-08-01 11:04:50] local.INFO: Processing buffer {"connection_id":147165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbcf4d68012d1cb74006d38290000e014a2a..."} 
[2026-08-01 11:04:50] local.INFO: Packet analysis {"connection_id":147165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbcf"} 
[2026-08-01 11:04:50] local.INFO: Extracted packet for processing {"connection_id":147165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbcf"} 
[2026-08-01 11:04:50] local.INFO: GPS Element Parsed {"raw_longitude":756856640,"raw_latitude":114524816,"longitude_deg":75.685664,"latitude_deg":11.4524816,"altitude":14,"angle":330,"satellites":42,"speed":27,"hex_longitude":"2d1cb740","hex_latitude":"06d38290","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103960064001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366302393282854912,"note":"Value kept but may cause issues"} 
[2026-08-01 11:04:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2072922495302785024,"note":"Value kept but may cause issues"} 
[2026-08-01 11:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785562353000,"timestamp_ms":1785562353000,"timestamp_seconds":1785562353,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbcf4d68"} 
[2026-08-01 11:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:04: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-08-01 11: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 11:04:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11: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-08-01 11:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:04:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103960064001,"66":27821,"82":206,"81":20480,"24":27,"16":366302393282854912,"45":2072922495302785024},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-08-01 11:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103960064001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:04:50] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 11:04:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366302393282854912,"km_value":366302393282854.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:04:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2072922495302785024,"description":"Unknown IO ID 45"} 
[2026-08-01 11:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103960064001,"power":27821,"unknown_82":206,"unknown_81":20480,"ignition":27,"odometer":null,"unknown_45":2072922495302785024}} 
[2026-08-01 11:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":147165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:04:50] local.INFO: GPS data processed {"connection_id":147165,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:04:50] local.INFO: Acknowledgment sent {"connection_id":147165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:05:01] local.INFO: TCP Data received {"connection_id":147166,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147166,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:05:01] local.INFO: Processing buffer {"connection_id":147166,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:05:01] local.INFO: IMEI packet received {"connection_id":147166,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":147166,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:05:06] local.INFO: TCP Data received {"connection_id":147166,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147166,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:05:06] local.INFO: Processing buffer {"connection_id":147166,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:05:06] local.INFO: IMEI packet received {"connection_id":147166,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":147166,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:05:07] local.INFO: TCP Data received {"connection_id":147166,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbd02828012d19d200072014400024008a23..."} 
[2026-08-01 11:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbd02828012d19d200072014400024008a23..."} 
[2026-08-01 11:05:07] local.INFO: Processing buffer {"connection_id":147166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbd02828012d19d200072014400024008a23..."} 
[2026-08-01 11:05:07] local.INFO: Packet analysis {"connection_id":147166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbd0"} 
[2026-08-01 11:05:07] local.INFO: Extracted packet for processing {"connection_id":147166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbd0"} 
[2026-08-01 11:05:07] local.INFO: GPS Element Parsed {"raw_longitude":756666880,"raw_latitude":119542848,"longitude_deg":75.666688,"latitude_deg":11.9542848,"altitude":36,"angle":138,"satellites":35,"speed":0,"hex_longitude":"2d19d200","hex_latitude":"07201440","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103971328001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10100204007063552,"note":"Value kept but may cause issues"} 
[2026-08-01 11:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860549626660405248,"note":"Value kept but may cause issues"} 
[2026-08-01 11:05: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-08-01 11:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785562409000,"timestamp_ms":1785562409000,"timestamp_seconds":1785562409,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbd02828"} 
[2026-08-01 11:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:05:07] 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-08-01 11: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-01 11:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11: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-08-01 11:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":147166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":147166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":147166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103971328001,"66":12591,"101":206,"83":41984,"24":0,"16":10100204007063552,"45":1860549626660405248},"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-08-01 11:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103971328001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:05:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-01 11:05:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10100204007063552,"km_value":10100204007063.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860549626660405248,"description":"Unknown IO ID 45"} 
[2026-08-01 11:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103971328001,"power":12591,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1860549626660405248}} 
[2026-08-01 11:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":147166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:05:07] local.INFO: GPS data processed {"connection_id":147166,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:05:07] local.INFO: Acknowledgment sent {"connection_id":147166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:05:22] local.INFO: TCP Data received {"connection_id":147165,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbcf9f70012d1cad8006d395d8000f01522b..."} 
[2026-08-01 11:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbcf9f70012d1cad8006d395d8000f01522b..."} 
[2026-08-01 11:05:22] local.INFO: Processing buffer {"connection_id":147165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbcf9f70012d1cad8006d395d8000f01522b..."} 
[2026-08-01 11:05:22] local.INFO: Packet analysis {"connection_id":147165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbcf"} 
[2026-08-01 11:05:22] local.INFO: Extracted packet for processing {"connection_id":147165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbcf"} 
[2026-08-01 11:05:22] local.INFO: GPS Element Parsed {"raw_longitude":756854144,"raw_latitude":114529752,"longitude_deg":75.6854144,"latitude_deg":11.4529752,"altitude":15,"angle":338,"satellites":43,"speed":0,"hex_longitude":"2d1cad80","hex_latitude":"06d395d8","is_valid_coordinates":true} 
[2026-08-01 11:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103962368001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366302663865794560,"note":"Value kept but may cause issues"} 
[2026-08-01 11:05:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2069192951862562816,"note":"Value kept but may cause issues"} 
[2026-08-01 11:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785562374000,"timestamp_ms":1785562374000,"timestamp_seconds":1785562374,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbcf9f70"} 
[2026-08-01 11:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:05:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 11:05:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:05:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:05:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103962368001,"66":27767,"82":206,"81":20480,"24":0,"16":366302663865794560,"45":2069192951862562816},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-08-01 11:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103962368001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:05:22] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 11:05:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366302663865794560,"km_value":366302663865794.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:05:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2069192951862562816,"description":"Unknown IO ID 45"} 
[2026-08-01 11:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103962368001,"power":27767,"unknown_82":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":2069192951862562816}} 
[2026-08-01 11:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":147165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:05:22] local.INFO: GPS data processed {"connection_id":147165,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:05:22] local.INFO: Acknowledgment sent {"connection_id":147165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:05:37] local.INFO: TCP Data received {"connection_id":147166,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbd07a30012d19d200072014400024008a23..."} 
[2026-08-01 11:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbd07a30012d19d200072014400024008a23..."} 
[2026-08-01 11:05:37] local.INFO: Processing buffer {"connection_id":147166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbd07a30012d19d200072014400024008a23..."} 
[2026-08-01 11:05:37] local.INFO: Packet analysis {"connection_id":147166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbd0"} 
[2026-08-01 11:05:37] local.INFO: Extracted packet for processing {"connection_id":147166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbd0"} 
[2026-08-01 11:05:37] local.INFO: GPS Element Parsed {"raw_longitude":756666880,"raw_latitude":119542848,"longitude_deg":75.666688,"latitude_deg":11.9542848,"altitude":36,"angle":138,"satellites":35,"speed":0,"hex_longitude":"2d19d200","hex_latitude":"07201440","is_valid_coordinates":true} 
[2026-08-01 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-08-01 11:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103976704001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10100204007063552,"note":"Value kept but may cause issues"} 
[2026-08-01 11:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860549626660405248,"note":"Value kept but may cause issues"} 
[2026-08-01 11:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785562430000,"timestamp_ms":1785562430000,"timestamp_seconds":1785562430,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbd07a30"} 
[2026-08-01 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-08-01 11:05:37] 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-08-01 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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-01 11:05:37] 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-08-01 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-08-01 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-08-01 11:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103976704001,"66":12504,"101":206,"83":41984,"24":0,"16":10100204007063552,"45":1860549626660405248},"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-08-01 11:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103976704001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:05:37] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-01 11:05:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10100204007063552,"km_value":10100204007063.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860549626660405248,"description":"Unknown IO ID 45"} 
[2026-08-01 11:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103976704001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1860549626660405248}} 
[2026-08-01 11:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":147166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576745,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:05:37] local.INFO: GPS data processed {"connection_id":147166,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:05:37] local.INFO: Acknowledgment sent {"connection_id":147166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:05:49] local.INFO: TCP Data received {"connection_id":146166,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:05:49] local.INFO: Processing buffer {"connection_id":146166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:05:49] local.INFO: IMEI packet received {"connection_id":146166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":146166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:05:54] local.INFO: TCP Data received {"connection_id":146166,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:05:54] local.INFO: Processing buffer {"connection_id":146166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:05:54] local.INFO: IMEI packet received {"connection_id":146166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":146166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:05:56] local.INFO: TCP Data received {"connection_id":146166,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbcff178012d1c9f8006d3b5600010014a2b..."} 
[2026-08-01 11:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbcff178012d1c9f8006d3b5600010014a2b..."} 
[2026-08-01 11:05:56] local.INFO: Processing buffer {"connection_id":146166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbcff178012d1c9f8006d3b5600010014a2b..."} 
[2026-08-01 11:05:56] local.INFO: Packet analysis {"connection_id":146166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbcf"} 
[2026-08-01 11:05:56] local.INFO: Extracted packet for processing {"connection_id":146166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbcf"} 
[2026-08-01 11:05:56] local.INFO: GPS Element Parsed {"raw_longitude":756850560,"raw_latitude":114537824,"longitude_deg":75.685056,"latitude_deg":11.4537824,"altitude":16,"angle":330,"satellites":43,"speed":26,"hex_longitude":"2d1c9f80","hex_latitude":"06d3b560","is_valid_coordinates":true} 
[2026-08-01 11:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103967744001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366303093362524160,"note":"Value kept but may cause issues"} 
[2026-08-01 11:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2066448570840897536,"note":"Value kept but may cause issues"} 
[2026-08-01 11:05:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785562395000,"timestamp_ms":1785562395000,"timestamp_seconds":1785562395,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbcff178"} 
[2026-08-01 11:05:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:05:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 11:05:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:05:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:05:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":146166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":146166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":146166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:05:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103967744001,"66":27908,"13":206,"81":20480,"24":26,"16":366303093362524160,"45":2066448570840897536},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,81,24,16,45]} 
[2026-08-01 11:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103967744001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:05:56] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-01 11:05:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366303093362524160,"km_value":366303093362524.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":2066448570840897536,"description":"Unknown IO ID 45"} 
[2026-08-01 11:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103967744001,"power":27908,"unknown_13":206,"unknown_81":20480,"ignition":26,"odometer":null,"unknown_45":2066448570840897536}} 
[2026-08-01 11:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":146166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:05:56] local.INFO: GPS data processed {"connection_id":146166,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:05:56] local.INFO: Acknowledgment sent {"connection_id":146166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:05:57] local.INFO: TCP Data received {"connection_id":146166,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbd02058012d1c8c0006d3d5180011014b28..."} 
[2026-08-01 11:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbd02058012d1c8c0006d3d5180011014b28..."} 
[2026-08-01 11:05:57] local.INFO: Processing buffer {"connection_id":146166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbd02058012d1c8c0006d3d5180011014b28..."} 
[2026-08-01 11:05:57] local.INFO: Packet analysis {"connection_id":146166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbd0"} 
[2026-08-01 11:05:57] local.INFO: Extracted packet for processing {"connection_id":146166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbd0"} 
[2026-08-01 11:05:57] local.INFO: GPS Element Parsed {"raw_longitude":756845568,"raw_latitude":114545944,"longitude_deg":75.6845568,"latitude_deg":11.4545944,"altitude":17,"angle":331,"satellites":40,"speed":36,"hex_longitude":"2d1c8c00","hex_latitude":"06d3d518","is_valid_coordinates":true} 
[2026-08-01 11:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103973120001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:05:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366303552924024832,"note":"Value kept but may cause issues"} 
[2026-08-01 11:05:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2062507921169014784,"note":"Value kept but may cause issues"} 
[2026-08-01 11:05:57] 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-08-01 11:05:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785562407000,"timestamp_ms":1785562407000,"timestamp_seconds":1785562407,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbd02058"} 
[2026-08-01 11:05:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:05:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 11:05:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:05:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:05:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:05:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:05:57] local.INFO: Teltonika packet parsed successfully {"connection_id":146166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:05:57] local.INFO: Passing IMEI to GPS processor {"connection_id":146166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:05:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":146166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:05:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:05:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:05:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:05:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103973120001,"66":27908,"13":206,"81":20480,"24":36,"16":366303552924024832,"45":2062507921169014784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,81,24,16,45]} 
[2026-08-01 11:05:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:05:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:05:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103973120001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:05:57] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-01 11:05:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:05:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366303552924024832,"km_value":366303552924024.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:05:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":2062507921169014784,"description":"Unknown IO ID 45"} 
[2026-08-01 11:05:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103973120001,"power":27908,"unknown_13":206,"unknown_81":20480,"ignition":36,"odometer":null,"unknown_45":2062507921169014784}} 
[2026-08-01 11:05:57] local.INFO: DEBUG: GPS processor result {"connection_id":146166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:05:57] local.INFO: GPS data processed {"connection_id":146166,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:05:57] local.INFO: Acknowledgment sent {"connection_id":146166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:06:00] local.INFO: TCP Data received {"connection_id":145953,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:06:00] local.INFO: Processing buffer {"connection_id":145953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:06:00] local.INFO: IMEI packet received {"connection_id":145953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":145953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:06:06] local.INFO: TCP Data received {"connection_id":145953,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:06:06] local.INFO: Processing buffer {"connection_id":145953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:06:06] local.INFO: IMEI packet received {"connection_id":145953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":145953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:06:07] local.INFO: TCP Data received {"connection_id":145953,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbd0cc38012d19d200072014400024008a27..."} 
[2026-08-01 11:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbd0cc38012d19d200072014400024008a27..."} 
[2026-08-01 11:06:07] local.INFO: Processing buffer {"connection_id":145953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbd0cc38012d19d200072014400024008a27..."} 
[2026-08-01 11:06:07] local.INFO: Packet analysis {"connection_id":145953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbd0"} 
[2026-08-01 11:06:07] local.INFO: Extracted packet for processing {"connection_id":145953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbd0"} 
[2026-08-01 11:06:07] local.INFO: GPS Element Parsed {"raw_longitude":756666880,"raw_latitude":119542848,"longitude_deg":75.666688,"latitude_deg":11.9542848,"altitude":36,"angle":138,"satellites":39,"speed":0,"hex_longitude":"2d19d200","hex_latitude":"07201440","is_valid_coordinates":true} 
[2026-08-01 11:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103982080001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10100204007063552,"note":"Value kept but may cause issues"} 
[2026-08-01 11:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860549626660405248,"note":"Value kept but may cause issues"} 
[2026-08-01 11:06: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-08-01 11:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785562451000,"timestamp_ms":1785562451000,"timestamp_seconds":1785562451,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbd0cc38"} 
[2026-08-01 11:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:06:07] 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-08-01 11:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-01 11:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:06:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":145953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":145953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":145953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103982080001,"66":12461,"101":206,"83":41984,"24":0,"16":10100204007063552,"45":1860549626660405248},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-01 11:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103982080001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:06:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-01 11:06:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10100204007063552,"km_value":10100204007063.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860549626660405248,"description":"Unknown IO ID 45"} 
[2026-08-01 11:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103982080001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1860549626660405248}} 
[2026-08-01 11:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":145953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576748,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:06:07] local.INFO: GPS data processed {"connection_id":145953,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:06:07] local.INFO: Acknowledgment sent {"connection_id":145953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:06:28] local.INFO: TCP Data received {"connection_id":146166,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbd02c10012d1c878006d3df300010015628..."} 
[2026-08-01 11:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbd02c10012d1c878006d3df300010015628..."} 
[2026-08-01 11:06:28] local.INFO: Processing buffer {"connection_id":146166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbd02c10012d1c878006d3df300010015628..."} 
[2026-08-01 11:06:28] local.INFO: Packet analysis {"connection_id":146166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbd0"} 
[2026-08-01 11:06:28] local.INFO: Extracted packet for processing {"connection_id":146166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbd0"} 
[2026-08-01 11:06:28] local.INFO: GPS Element Parsed {"raw_longitude":756844416,"raw_latitude":114548528,"longitude_deg":75.6844416,"latitude_deg":11.4548528,"altitude":16,"angle":342,"satellites":40,"speed":38,"hex_longitude":"2d1c8780","hex_latitude":"06d3df30","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103976192001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366303690362978304,"note":"Value kept but may cause issues"} 
[2026-08-01 11:06:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2057019159125235712,"note":"Value kept but may cause issues"} 
[2026-08-01 11:06:28] 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-08-01 11:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785562410000,"timestamp_ms":1785562410000,"timestamp_seconds":1785562410,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbd02c10"} 
[2026-08-01 11:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11: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-08-01 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 11:06:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11: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-08-01 11:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":146166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":146166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":146166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:06: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-08-01 11:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103976192001,"66":27908,"13":206,"81":20480,"24":38,"16":366303690362978304,"45":2057019159125235712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,81,24,16,45]} 
[2026-08-01 11:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103976192001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:06:28] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-01 11:06:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366303690362978304,"km_value":366303690362978.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:06:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":2057019159125235712,"description":"Unknown IO ID 45"} 
[2026-08-01 11:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103976192001,"power":27908,"unknown_13":206,"unknown_81":20480,"ignition":38,"odometer":null,"unknown_45":2057019159125235712}} 
[2026-08-01 11:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":146166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:06:28] local.INFO: GPS data processed {"connection_id":146166,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:06:28] local.INFO: Acknowledgment sent {"connection_id":146166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:06:38] local.INFO: TCP Data received {"connection_id":145953,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbd11e40012d19d200072014400024008a26..."} 
[2026-08-01 11:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbd11e40012d19d200072014400024008a26..."} 
[2026-08-01 11:06:38] local.INFO: Processing buffer {"connection_id":145953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbd11e40012d19d200072014400024008a26..."} 
[2026-08-01 11:06:38] local.INFO: Packet analysis {"connection_id":145953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbd1"} 
[2026-08-01 11:06:38] local.INFO: Extracted packet for processing {"connection_id":145953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbd1"} 
[2026-08-01 11:06:38] local.INFO: GPS Element Parsed {"raw_longitude":756666880,"raw_latitude":119542848,"longitude_deg":75.666688,"latitude_deg":11.9542848,"altitude":36,"angle":138,"satellites":38,"speed":0,"hex_longitude":"2d19d200","hex_latitude":"07201440","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103987456001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10100204007063552,"note":"Value kept but may cause issues"} 
[2026-08-01 11:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860549626660405248,"note":"Value kept but may cause issues"} 
[2026-08-01 11:06: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-08-01 11:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785562472000,"timestamp_ms":1785562472000,"timestamp_seconds":1785562472,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbd11e40"} 
[2026-08-01 11:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:06:38] 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-08-01 11: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 11:06: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-08-01 11: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-08-01 11:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103987456001,"66":12504,"101":206,"83":41984,"24":0,"16":10100204007063552,"45":1860549626660405248},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-01 11:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103987456001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:06:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-01 11:06:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10100204007063552,"km_value":10100204007063.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860549626660405248,"description":"Unknown IO ID 45"} 
[2026-08-01 11:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103987456001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1860549626660405248}} 
[2026-08-01 11:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":145953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576750,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:06:38] local.INFO: GPS data processed {"connection_id":145953,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:06:38] local.INFO: Acknowledgment sent {"connection_id":145953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:06:43] local.INFO: TCP Data received {"connection_id":148490,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:06:43] local.INFO: Processing buffer {"connection_id":148490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:06:43] local.INFO: IMEI packet received {"connection_id":148490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":148490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:06:44] local.INFO: TCP Data received {"connection_id":148490,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:06:44] local.INFO: Processing buffer {"connection_id":148490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:06:44] local.INFO: IMEI packet received {"connection_id":148490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":148490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:06:46] local.INFO: TCP Data received {"connection_id":148490,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:06:46] local.INFO: Processing buffer {"connection_id":148490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:06:46] local.INFO: IMEI packet received {"connection_id":148490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":148490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:06:48] local.INFO: TCP Data received {"connection_id":148490,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbd25aa8012d1bf3c006d45c78000d014827..."} 
[2026-08-01 11:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbd25aa8012d1bf3c006d45c78000d014827..."} 
[2026-08-01 11:06:48] local.INFO: Processing buffer {"connection_id":148490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbd25aa8012d1bf3c006d45c78000d014827..."} 
[2026-08-01 11:06:48] local.INFO: Packet analysis {"connection_id":148490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbd2"} 
[2026-08-01 11:06:48] local.INFO: Extracted packet for processing {"connection_id":148490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbd2"} 
[2026-08-01 11:06:48] local.INFO: GPS Element Parsed {"raw_longitude":756806592,"raw_latitude":114580600,"longitude_deg":75.6806592,"latitude_deg":11.45806,"altitude":13,"angle":328,"satellites":39,"speed":31,"hex_longitude":"2d1bf3c0","hex_latitude":"06d45c78","is_valid_coordinates":true} 
[2026-08-01 11:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:06:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104012288001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:06:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366306159969173504,"note":"Value kept but may cause issues"} 
[2026-08-01 11:06:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2017260818672834560,"note":"Value kept but may cause issues"} 
[2026-08-01 11:06:48] 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-08-01 11:06:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785562553000,"timestamp_ms":1785562553000,"timestamp_seconds":1785562553,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbd25aa8"} 
[2026-08-01 11:06:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:06: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-08-01 11:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 11:06:48] 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-08-01 11:06:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:06:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:06:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:06:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:06:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:06:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:06:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:06:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:06:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:06:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104012288001,"66":27887,"243":206,"81":20480,"24":31,"16":366306159969173504,"45":2017260818672834560},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,81,24,16,45]} 
[2026-08-01 11:06:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:06:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:06:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104012288001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:06:48] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-08-01 11:06:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:06:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366306159969173504,"km_value":366306159969173.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:06:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":2017260818672834560,"description":"Unknown IO ID 45"} 
[2026-08-01 11:06:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104012288001,"power":27887,"unknown_243":206,"unknown_81":20480,"ignition":31,"odometer":null,"unknown_45":2017260818672834560}} 
[2026-08-01 11:06:48] local.INFO: DEBUG: GPS processor result {"connection_id":148490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:06:48] local.INFO: GPS data processed {"connection_id":148490,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:06:48] local.INFO: Acknowledgment sent {"connection_id":148490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:07:00] local.INFO: TCP Data received {"connection_id":148491,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:07:00] local.INFO: Processing buffer {"connection_id":148491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:07:00] local.INFO: IMEI packet received {"connection_id":148491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":148491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:07:06] local.INFO: TCP Data received {"connection_id":148491,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:07:06] local.INFO: Processing buffer {"connection_id":148491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:07:06] local.INFO: IMEI packet received {"connection_id":148491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":148491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:07:06] local.INFO: TCP Data received {"connection_id":148491,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbd17048012d19d200072014400024008a26..."} 
[2026-08-01 11:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbd17048012d19d200072014400024008a26..."} 
[2026-08-01 11:07:06] local.INFO: Processing buffer {"connection_id":148491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbd17048012d19d200072014400024008a26..."} 
[2026-08-01 11:07:06] local.INFO: Packet analysis {"connection_id":148491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbd1"} 
[2026-08-01 11:07:06] local.INFO: Extracted packet for processing {"connection_id":148491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbd1"} 
[2026-08-01 11:07:06] local.INFO: GPS Element Parsed {"raw_longitude":756666880,"raw_latitude":119542848,"longitude_deg":75.666688,"latitude_deg":11.9542848,"altitude":36,"angle":138,"satellites":38,"speed":0,"hex_longitude":"2d19d200","hex_latitude":"07201440","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103992832001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10100204007063552,"note":"Value kept but may cause issues"} 
[2026-08-01 11:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860549626660405248,"note":"Value kept but may cause issues"} 
[2026-08-01 11: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-08-01 11:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785562493000,"timestamp_ms":1785562493000,"timestamp_seconds":1785562493,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbd17048"} 
[2026-08-01 11:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:07:06] 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-08-01 11: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":216,"data_length":795,"current_offset":136} 
[2026-08-01 11:07:06] 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-08-01 11: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-08-01 11:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:07:06] 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-08-01 11:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103992832001,"66":12461,"101":206,"83":41984,"24":0,"16":10100204007063552,"45":1860549626660405248},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-01 11:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103992832001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:07:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-01 11:07:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10100204007063552,"km_value":10100204007063.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860549626660405248,"description":"Unknown IO ID 45"} 
[2026-08-01 11:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103992832001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1860549626660405248}} 
[2026-08-01 11:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":148491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576752,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:07:07] local.INFO: GPS data processed {"connection_id":148491,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:07:07] local.INFO: Acknowledgment sent {"connection_id":148491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:07:20] local.INFO: TCP Data received {"connection_id":148490,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbd26a48012d1bee8006d46748000d015526..."} 
[2026-08-01 11:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbd26a48012d1bee8006d46748000d015526..."} 
[2026-08-01 11:07:20] local.INFO: Processing buffer {"connection_id":148490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbd26a48012d1bee8006d46748000d015526..."} 
[2026-08-01 11:07:20] local.INFO: Packet analysis {"connection_id":148490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbd2"} 
[2026-08-01 11:07:20] local.INFO: Extracted packet for processing {"connection_id":148490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbd2"} 
[2026-08-01 11:07:20] local.INFO: GPS Element Parsed {"raw_longitude":756805248,"raw_latitude":114583368,"longitude_deg":75.6805248,"latitude_deg":11.4583368,"altitude":13,"angle":341,"satellites":38,"speed":29,"hex_longitude":"2d1bee80","hex_latitude":"06d46748","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104013568001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366306310293028864,"note":"Value kept but may cause issues"} 
[2026-08-01 11:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2014164593929910272,"note":"Value kept but may cause issues"} 
[2026-08-01 11:07:20] 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-08-01 11:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785562557000,"timestamp_ms":1785562557000,"timestamp_seconds":1785562557,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbd26a48"} 
[2026-08-01 11:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:07: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-08-01 11: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":239,"data_length":795,"current_offset":136} 
[2026-08-01 11:07:20] 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-08-01 11: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-08-01 11:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11: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-08-01 11:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104013568001,"66":27865,"243":206,"81":20480,"24":29,"16":366306310293028864,"45":2014164593929910272},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,81,24,16,45]} 
[2026-08-01 11:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104013568001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:07:20] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-08-01 11:07:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366306310293028864,"km_value":366306310293028.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":2014164593929910272,"description":"Unknown IO ID 45"} 
[2026-08-01 11:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104013568001,"power":27865,"unknown_243":206,"unknown_81":20480,"ignition":29,"odometer":null,"unknown_45":2014164593929910272}} 
[2026-08-01 11:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":148490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:07:20] local.INFO: GPS data processed {"connection_id":148490,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:07:20] local.INFO: Acknowledgment sent {"connection_id":148490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:07:37] local.INFO: TCP Data received {"connection_id":148491,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbd1c250012d19d200072014400024008a26..."} 
[2026-08-01 11:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbd1c250012d19d200072014400024008a26..."} 
[2026-08-01 11:07:37] local.INFO: Processing buffer {"connection_id":148491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbd1c250012d19d200072014400024008a26..."} 
[2026-08-01 11:07:37] local.INFO: Packet analysis {"connection_id":148491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbd1"} 
[2026-08-01 11:07:37] local.INFO: Extracted packet for processing {"connection_id":148491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbd1"} 
[2026-08-01 11:07:37] local.INFO: GPS Element Parsed {"raw_longitude":756666880,"raw_latitude":119542848,"longitude_deg":75.666688,"latitude_deg":11.9542848,"altitude":36,"angle":138,"satellites":38,"speed":0,"hex_longitude":"2d19d200","hex_latitude":"07201440","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457103998208001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10100204007063552,"note":"Value kept but may cause issues"} 
[2026-08-01 11:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860549626660405248,"note":"Value kept but may cause issues"} 
[2026-08-01 11:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785562514000,"timestamp_ms":1785562514000,"timestamp_seconds":1785562514,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbd1c250"} 
[2026-08-01 11:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:07:37] 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-08-01 11: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 11:07:37] 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-08-01 11: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-08-01 11:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:07:37] 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-08-01 11:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457103998208001,"66":12461,"101":206,"83":41984,"24":0,"16":10100204007063552,"45":1860549626660405248},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-01 11:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457103998208001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:07:37] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-01 11:07:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10100204007063552,"km_value":10100204007063.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860549626660405248,"description":"Unknown IO ID 45"} 
[2026-08-01 11:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457103998208001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1860549626660405248}} 
[2026-08-01 11:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":148491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:07:37] local.INFO: GPS data processed {"connection_id":148491,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:07:37] local.INFO: Acknowledgment sent {"connection_id":148491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:07:44] local.INFO: TCP Data received {"connection_id":145954,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:07:44] local.INFO: Processing buffer {"connection_id":145954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:07:44] local.INFO: IMEI packet received {"connection_id":145954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":145954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:07:45] local.INFO: TCP Data received {"connection_id":145954,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:07:45] local.INFO: Processing buffer {"connection_id":145954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:07:45] local.INFO: IMEI packet received {"connection_id":145954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":145954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:07:49] local.INFO: TCP Data received {"connection_id":145954,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:07:49] local.INFO: Processing buffer {"connection_id":145954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:07:49] local.INFO: IMEI packet received {"connection_id":145954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":145954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:07:51] local.INFO: TCP Data received {"connection_id":145954,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbd285a0012d1be4c006d47da8000b014521..."} 
[2026-08-01 11:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbd285a0012d1be4c006d47da8000b014521..."} 
[2026-08-01 11:07:51] local.INFO: Processing buffer {"connection_id":145954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbd285a0012d1be4c006d47da8000b014521..."} 
[2026-08-01 11:07:51] local.INFO: Packet analysis {"connection_id":145954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbd2"} 
[2026-08-01 11:07:51] local.INFO: Extracted packet for processing {"connection_id":145954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbd2"} 
[2026-08-01 11:07:51] local.INFO: GPS Element Parsed {"raw_longitude":756802752,"raw_latitude":114589096,"longitude_deg":75.6802752,"latitude_deg":11.4589096,"altitude":11,"angle":325,"satellites":33,"speed":38,"hex_longitude":"2d1be4c0","hex_latitude":"06d47da8","is_valid_coordinates":true} 
[2026-08-01 11:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104014592001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366306610940739584,"note":"Value kept but may cause issues"} 
[2026-08-01 11:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2012686850302887936,"note":"Value kept but may cause issues"} 
[2026-08-01 11:07:51] 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-08-01 11:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785562564000,"timestamp_ms":1785562564000,"timestamp_seconds":1785562564,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbd285a0"} 
[2026-08-01 11:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 11:07:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":145954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":145954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":145954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104014592001,"66":27821,"243":206,"81":20480,"24":38,"16":366306610940739584,"45":2012686850302887936},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,81,24,16,45]} 
[2026-08-01 11:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104014592001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:07:51] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-08-01 11:07:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366306610940739584,"km_value":366306610940739.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2012686850302887936,"description":"Unknown IO ID 45"} 
[2026-08-01 11:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104014592001,"power":27821,"unknown_243":206,"unknown_81":20480,"ignition":38,"odometer":null,"unknown_45":2012686850302887936}} 
[2026-08-01 11:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":145954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:07:51] local.INFO: GPS data processed {"connection_id":145954,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:07:51] local.INFO: Acknowledgment sent {"connection_id":145954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:08:00] local.INFO: TCP Data received {"connection_id":148492,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:08:00] local.INFO: Processing buffer {"connection_id":148492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:08:00] local.INFO: IMEI packet received {"connection_id":148492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":148492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:08:06] local.INFO: TCP Data received {"connection_id":148492,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:08:06] local.INFO: Processing buffer {"connection_id":148492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:08:06] local.INFO: IMEI packet received {"connection_id":148492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":148492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:08:06] local.INFO: TCP Data received {"connection_id":148492,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbd21458012d19d200072014400024008a25..."} 
[2026-08-01 11:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbd21458012d19d200072014400024008a25..."} 
[2026-08-01 11:08:06] local.INFO: Processing buffer {"connection_id":148492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbd21458012d19d200072014400024008a25..."} 
[2026-08-01 11:08:06] local.INFO: Packet analysis {"connection_id":148492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbd2"} 
[2026-08-01 11:08:06] local.INFO: Extracted packet for processing {"connection_id":148492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbd2"} 
[2026-08-01 11:08:06] local.INFO: GPS Element Parsed {"raw_longitude":756666880,"raw_latitude":119542848,"longitude_deg":75.666688,"latitude_deg":11.9542848,"altitude":36,"angle":138,"satellites":37,"speed":0,"hex_longitude":"2d19d200","hex_latitude":"07201440","is_valid_coordinates":true} 
[2026-08-01 11:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104003584001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10100204007063552,"note":"Value kept but may cause issues"} 
[2026-08-01 11:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860549626660405248,"note":"Value kept but may cause issues"} 
[2026-08-01 11:08: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-08-01 11:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785562535000,"timestamp_ms":1785562535000,"timestamp_seconds":1785562535,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbd21458"} 
[2026-08-01 11:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:08:06] 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-08-01 11:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 11:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:08:06] 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-08-01 11:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104003584001,"66":12428,"101":206,"83":41984,"24":0,"16":10100204007063552,"45":1860549626660405248},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-01 11:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104003584001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:08:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-01 11:08:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10100204007063552,"km_value":10100204007063.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860549626660405248,"description":"Unknown IO ID 45"} 
[2026-08-01 11:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104003584001,"power":12428,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1860549626660405248}} 
[2026-08-01 11:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":148492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:08:07] local.INFO: GPS data processed {"connection_id":148492,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:08:07] local.INFO: Acknowledgment sent {"connection_id":148492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:08:24] local.INFO: TCP Data received {"connection_id":145954,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbd29158012d1bde0006d485b0000b013927..."} 
[2026-08-01 11:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbd29158012d1bde0006d485b0000b013927..."} 
[2026-08-01 11:08:24] local.INFO: Processing buffer {"connection_id":145954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbd29158012d1bde0006d485b0000b013927..."} 
[2026-08-01 11:08:24] local.INFO: Packet analysis {"connection_id":145954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbd2"} 
[2026-08-01 11:08:24] local.INFO: Extracted packet for processing {"connection_id":145954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbd2"} 
[2026-08-01 11:08:24] local.INFO: GPS Element Parsed {"raw_longitude":756801024,"raw_latitude":114591152,"longitude_deg":75.6801024,"latitude_deg":11.4591152,"altitude":11,"angle":313,"satellites":39,"speed":31,"hex_longitude":"2d1bde00","hex_latitude":"06d485b0","is_valid_coordinates":true} 
[2026-08-01 11:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104016384001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366306744084725760,"note":"Value kept but may cause issues"} 
[2026-08-01 11:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2009942469281425408,"note":"Value kept but may cause issues"} 
[2026-08-01 11:08:24] 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-08-01 11:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785562567000,"timestamp_ms":1785562567000,"timestamp_seconds":1785562567,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbd29158"} 
[2026-08-01 11:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:08: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-08-01 11:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 11:08:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:08:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":145954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":145954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":145954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:08:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104016384001,"66":27767,"243":206,"81":20480,"24":31,"16":366306744084725760,"45":2009942469281425408},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,81,24,16,45]} 
[2026-08-01 11:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104016384001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:08:24] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-08-01 11:08:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366306744084725760,"km_value":366306744084725.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":2009942469281425408,"description":"Unknown IO ID 45"} 
[2026-08-01 11:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104016384001,"power":27767,"unknown_243":206,"unknown_81":20480,"ignition":31,"odometer":null,"unknown_45":2009942469281425408}} 
[2026-08-01 11:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":145954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:08:24] local.INFO: GPS data processed {"connection_id":145954,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:08:24] local.INFO: Acknowledgment sent {"connection_id":145954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:08:37] local.INFO: TCP Data received {"connection_id":148492,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbd26660012d19d200072014400024008a25..."} 
[2026-08-01 11:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbd26660012d19d200072014400024008a25..."} 
[2026-08-01 11:08:37] local.INFO: Processing buffer {"connection_id":148492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbd26660012d19d200072014400024008a25..."} 
[2026-08-01 11:08:37] local.INFO: Packet analysis {"connection_id":148492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbd2"} 
[2026-08-01 11:08:37] local.INFO: Extracted packet for processing {"connection_id":148492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbd2"} 
[2026-08-01 11:08:37] local.INFO: GPS Element Parsed {"raw_longitude":756666880,"raw_latitude":119542848,"longitude_deg":75.666688,"latitude_deg":11.9542848,"altitude":36,"angle":138,"satellites":37,"speed":0,"hex_longitude":"2d19d200","hex_latitude":"07201440","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104008960001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10100204007063552,"note":"Value kept but may cause issues"} 
[2026-08-01 11:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860549626660405248,"note":"Value kept but may cause issues"} 
[2026-08-01 11:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785562556000,"timestamp_ms":1785562556000,"timestamp_seconds":1785562556,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbd26660"} 
[2026-08-01 11:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:08:37] 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-08-01 11: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-01 11:08:37] 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-08-01 11: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-08-01 11:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:08:37] 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-08-01 11:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104008960001,"66":12385,"101":206,"83":41984,"24":0,"16":10100204007063552,"45":1860549626660405248},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-01 11:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104008960001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:08:37] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-01 11:08:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10100204007063552,"km_value":10100204007063.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860549626660405248,"description":"Unknown IO ID 45"} 
[2026-08-01 11:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104008960001,"power":12385,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1860549626660405248}} 
[2026-08-01 11:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":148492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:08:38] local.INFO: GPS data processed {"connection_id":148492,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:08:38] local.INFO: Acknowledgment sent {"connection_id":148492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:08:44] local.INFO: TCP Data received {"connection_id":146167,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:08:44] local.INFO: Processing buffer {"connection_id":146167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:08:44] local.INFO: IMEI packet received {"connection_id":146167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":146167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:08:49] local.INFO: TCP Data received {"connection_id":146167,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:08:49] local.INFO: Processing buffer {"connection_id":146167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:08:49] local.INFO: IMEI packet received {"connection_id":146167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":146167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:09:00] local.INFO: TCP Data received {"connection_id":145955,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:09:00] local.INFO: Processing buffer {"connection_id":145955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:09:00] local.INFO: IMEI packet received {"connection_id":145955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":145955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:09:01] local.INFO: TCP Data received {"connection_id":145955,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:09:01] local.INFO: Processing buffer {"connection_id":145955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:09:01] local.INFO: IMEI packet received {"connection_id":145955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":145955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:09:01] local.INFO: TCP Data received {"connection_id":146167,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbd417f8012d1ab2c006d52328000b012b24..."} 
[2026-08-01 11:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbd417f8012d1ab2c006d52328000b012b24..."} 
[2026-08-01 11:09:01] local.INFO: Processing buffer {"connection_id":146167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbd417f8012d1ab2c006d52328000b012b24..."} 
[2026-08-01 11:09:01] local.INFO: Packet analysis {"connection_id":146167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbd4"} 
[2026-08-01 11:09:01] local.INFO: Extracted packet for processing {"connection_id":146167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbd4"} 
[2026-08-01 11:09:01] local.INFO: GPS Element Parsed {"raw_longitude":756724416,"raw_latitude":114631464,"longitude_deg":75.6724416,"latitude_deg":11.4631464,"altitude":11,"angle":299,"satellites":36,"speed":48,"hex_longitude":"2d1ab2c0","hex_latitude":"06d52328","is_valid_coordinates":true} 
[2026-08-01 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-08-01 11:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104040704001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366310910203002880,"note":"Value kept but may cause issues"} 
[2026-08-01 11:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1933451644369928192,"note":"Value kept but may cause issues"} 
[2026-08-01 11:09:01] 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-08-01 11:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785562667000,"timestamp_ms":1785562667000,"timestamp_seconds":1785562667,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbd417f8"} 
[2026-08-01 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-08-01 11:09: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-08-01 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 11:09: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-08-01 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-08-01 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-08-01 11:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":146167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":146167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":146167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:09: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-08-01 11:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104040704001,"66":27908,"100":206,"81":20480,"24":48,"16":366310910203002880,"45":1933451644369928192},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,81,24,16,45]} 
[2026-08-01 11:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104040704001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:09:01] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-01 11:09:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366310910203002880,"km_value":366310910203002.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1933451644369928192,"description":"Unknown IO ID 45"} 
[2026-08-01 11:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104040704001,"power":27908,"unknown_100":206,"unknown_81":20480,"ignition":48,"odometer":null,"unknown_45":1933451644369928192}} 
[2026-08-01 11:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":146167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:09:01] local.INFO: GPS data processed {"connection_id":146167,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:09:01] local.INFO: Acknowledgment sent {"connection_id":146167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:09:05] local.INFO: TCP Data received {"connection_id":145955,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:09:05] local.INFO: Processing buffer {"connection_id":145955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:09:05] local.INFO: IMEI packet received {"connection_id":145955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":145955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:09:06] local.INFO: TCP Data received {"connection_id":145955,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbd2b868012d19d200072014400024008a24..."} 
[2026-08-01 11:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbd2b868012d19d200072014400024008a24..."} 
[2026-08-01 11:09:06] local.INFO: Processing buffer {"connection_id":145955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbd2b868012d19d200072014400024008a24..."} 
[2026-08-01 11:09:06] local.INFO: Packet analysis {"connection_id":145955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbd2"} 
[2026-08-01 11:09:06] local.INFO: Extracted packet for processing {"connection_id":145955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbd2"} 
[2026-08-01 11:09:06] local.INFO: GPS Element Parsed {"raw_longitude":756666880,"raw_latitude":119542848,"longitude_deg":75.666688,"latitude_deg":11.9542848,"altitude":36,"angle":138,"satellites":36,"speed":0,"hex_longitude":"2d19d200","hex_latitude":"07201440","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104014336001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10100204007063552,"note":"Value kept but may cause issues"} 
[2026-08-01 11:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860549626660405248,"note":"Value kept but may cause issues"} 
[2026-08-01 11:09: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-08-01 11:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785562577000,"timestamp_ms":1785562577000,"timestamp_seconds":1785562577,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbd2b868"} 
[2026-08-01 11:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:09:06] 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-08-01 11: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 11:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11: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-08-01 11:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:09:06] 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-08-01 11:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104014336001,"66":12385,"101":206,"83":41984,"24":0,"16":10100204007063552,"45":1860549626660405248},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-01 11:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104014336001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:09:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-01 11:09:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10100204007063552,"km_value":10100204007063.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860549626660405248,"description":"Unknown IO ID 45"} 
[2026-08-01 11:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104014336001,"power":12385,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1860549626660405248}} 
[2026-08-01 11:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":145955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:09:06] local.INFO: GPS data processed {"connection_id":145955,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:09:06] local.INFO: Acknowledgment sent {"connection_id":145955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:09:37] local.INFO: TCP Data received {"connection_id":145955,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbd30a70012d19d200072014400024008a25..."} 
[2026-08-01 11:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbd30a70012d19d200072014400024008a25..."} 
[2026-08-01 11:09:37] local.INFO: Processing buffer {"connection_id":145955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbd30a70012d19d200072014400024008a25..."} 
[2026-08-01 11:09:37] local.INFO: Packet analysis {"connection_id":145955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbd3"} 
[2026-08-01 11:09:37] local.INFO: Extracted packet for processing {"connection_id":145955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbd3"} 
[2026-08-01 11:09:37] local.INFO: GPS Element Parsed {"raw_longitude":756666880,"raw_latitude":119542848,"longitude_deg":75.666688,"latitude_deg":11.9542848,"altitude":36,"angle":138,"satellites":37,"speed":0,"hex_longitude":"2d19d200","hex_latitude":"07201440","is_valid_coordinates":true} 
[2026-08-01 11:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104019712001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10100204007063552,"note":"Value kept but may cause issues"} 
[2026-08-01 11:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860549626660405248,"note":"Value kept but may cause issues"} 
[2026-08-01 11:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785562598000,"timestamp_ms":1785562598000,"timestamp_seconds":1785562598,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbd30a70"} 
[2026-08-01 11:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:09:37] 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-08-01 11:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 11:09:37] 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-08-01 11:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:09:37] 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-08-01 11:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104019712001,"66":12385,"101":206,"83":41984,"24":0,"16":10100204007063552,"45":1860549626660405248},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-01 11:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104019712001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:09:37] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-01 11:09:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10100204007063552,"km_value":10100204007063.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860549626660405248,"description":"Unknown IO ID 45"} 
[2026-08-01 11:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104019712001,"power":12385,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1860549626660405248}} 
[2026-08-01 11:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":145955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576761,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:09:37] local.INFO: GPS data processed {"connection_id":145955,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:09:37] local.INFO: Acknowledgment sent {"connection_id":145955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:09:44] local.INFO: TCP Data received {"connection_id":147167,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:09:44] local.INFO: Processing buffer {"connection_id":147167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:09:44] local.INFO: IMEI packet received {"connection_id":147167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":147167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:09:50] local.INFO: TCP Data received {"connection_id":147167,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:09:50] local.INFO: Processing buffer {"connection_id":147167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:09:50] local.INFO: IMEI packet received {"connection_id":147167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":147167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:09:51] local.INFO: TCP Data received {"connection_id":147167,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbd43738012d1a90c006d534e0000b012620..."} 
[2026-08-01 11:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbd43738012d1a90c006d534e0000b012620..."} 
[2026-08-01 11:09:51] local.INFO: Processing buffer {"connection_id":147167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbd43738012d1a90c006d534e0000b012620..."} 
[2026-08-01 11:09:51] local.INFO: Packet analysis {"connection_id":147167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbd4"} 
[2026-08-01 11:09:51] local.INFO: Extracted packet for processing {"connection_id":147167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbd4"} 
[2026-08-01 11:09:51] local.INFO: GPS Element Parsed {"raw_longitude":756715712,"raw_latitude":114636000,"longitude_deg":75.6715712,"latitude_deg":11.4636,"altitude":11,"angle":294,"satellites":32,"speed":47,"hex_longitude":"2d1a90c0","hex_latitude":"06d534e0","is_valid_coordinates":true} 
[2026-08-01 11:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104042752001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366311378354438144,"note":"Value kept but may cause issues"} 
[2026-08-01 11:09:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1923811126418810880,"note":"Value kept but may cause issues"} 
[2026-08-01 11:09:51] 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-08-01 11:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785562675000,"timestamp_ms":1785562675000,"timestamp_seconds":1785562675,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbd43738"} 
[2026-08-01 11:09:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:09: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-08-01 11:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 11:09: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-08-01 11:09:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:09:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":147167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":147167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":147167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:09:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104042752001,"66":27800,"100":206,"81":20480,"24":47,"16":366311378354438144,"45":1923811126418810880},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,81,24,16,45]} 
[2026-08-01 11:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104042752001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:09:51] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-01 11:09:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366311378354438144,"km_value":366311378354438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:09:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1923811126418810880,"description":"Unknown IO ID 45"} 
[2026-08-01 11:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104042752001,"power":27800,"unknown_100":206,"unknown_81":20480,"ignition":47,"odometer":null,"unknown_45":1923811126418810880}} 
[2026-08-01 11:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":147167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:09:51] local.INFO: GPS data processed {"connection_id":147167,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:09:51] local.INFO: Acknowledgment sent {"connection_id":147167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:10:00] local.INFO: TCP Data received {"connection_id":145956,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:10:00] local.INFO: Processing buffer {"connection_id":145956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:10:00] local.INFO: IMEI packet received {"connection_id":145956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":145956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:10:04] local.INFO: TCP Data received {"connection_id":145956,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:10:04] local.INFO: Processing buffer {"connection_id":145956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:10:04] local.INFO: IMEI packet received {"connection_id":145956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":145956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:10:06] local.INFO: TCP Data received {"connection_id":145956,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:10:06] local.INFO: Processing buffer {"connection_id":145956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:10:06] local.INFO: IMEI packet received {"connection_id":145956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":145956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:10:06] local.INFO: TCP Data received {"connection_id":145956,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbd35c78012d19d200072014400024008a25..."} 
[2026-08-01 11:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbd35c78012d19d200072014400024008a25..."} 
[2026-08-01 11:10:06] local.INFO: Processing buffer {"connection_id":145956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbd35c78012d19d200072014400024008a25..."} 
[2026-08-01 11:10:06] local.INFO: Packet analysis {"connection_id":145956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbd3"} 
[2026-08-01 11:10:06] local.INFO: Extracted packet for processing {"connection_id":145956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbd3"} 
[2026-08-01 11:10:06] local.INFO: GPS Element Parsed {"raw_longitude":756666880,"raw_latitude":119542848,"longitude_deg":75.666688,"latitude_deg":11.9542848,"altitude":36,"angle":138,"satellites":37,"speed":0,"hex_longitude":"2d19d200","hex_latitude":"07201440","is_valid_coordinates":true} 
[2026-08-01 11:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104025088001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10100204007063552,"note":"Value kept but may cause issues"} 
[2026-08-01 11:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860549626660405248,"note":"Value kept but may cause issues"} 
[2026-08-01 11:10: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-08-01 11:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785562619000,"timestamp_ms":1785562619000,"timestamp_seconds":1785562619,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbd35c78"} 
[2026-08-01 11:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:10:06] 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-08-01 11:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 11:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:10:06] 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-08-01 11:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104025088001,"66":12319,"101":206,"83":41984,"24":0,"16":10100204007063552,"45":1860549626660405248},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-01 11:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104025088001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:10:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-01 11:10:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10100204007063552,"km_value":10100204007063.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860549626660405248,"description":"Unknown IO ID 45"} 
[2026-08-01 11:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104025088001,"power":12319,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1860549626660405248}} 
[2026-08-01 11:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":145956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:10:06] local.INFO: GPS data processed {"connection_id":145956,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:10:06] local.INFO: Acknowledgment sent {"connection_id":145956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:10:22] local.INFO: TCP Data received {"connection_id":147167,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbd45678012d1a6f4006d54548000a012925..."} 
[2026-08-01 11:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbd45678012d1a6f4006d54548000a012925..."} 
[2026-08-01 11:10:22] local.INFO: Processing buffer {"connection_id":147167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbd45678012d1a6f4006d54548000a012925..."} 
[2026-08-01 11:10:22] local.INFO: Packet analysis {"connection_id":147167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbd4"} 
[2026-08-01 11:10:22] local.INFO: Extracted packet for processing {"connection_id":147167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbd4"} 
[2026-08-01 11:10:22] local.INFO: GPS Element Parsed {"raw_longitude":756707136,"raw_latitude":114640200,"longitude_deg":75.6707136,"latitude_deg":11.46402,"altitude":10,"angle":297,"satellites":37,"speed":44,"hex_longitude":"2d1a6f40","hex_latitude":"06d54548","is_valid_coordinates":true} 
[2026-08-01 11:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104044800001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366311829326004224,"note":"Value kept but may cause issues"} 
[2026-08-01 11:10:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1914240977211809792,"note":"Value kept but may cause issues"} 
[2026-08-01 11:10:22] 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-08-01 11:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785562683000,"timestamp_ms":1785562683000,"timestamp_seconds":1785562683,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbd45678"} 
[2026-08-01 11:10:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:10:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 11:10: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-08-01 11:10:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:10:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:10:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104044800001,"66":27571,"159":206,"81":20480,"24":44,"16":366311829326004224,"45":1914240977211809792},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,81,24,16,45]} 
[2026-08-01 11:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104044800001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:10:22] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-08-01 11:10:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366311829326004224,"km_value":366311829326004.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:10:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1914240977211809792,"description":"Unknown IO ID 45"} 
[2026-08-01 11:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104044800001,"power":27571,"unknown_159":206,"unknown_81":20480,"ignition":44,"odometer":null,"unknown_45":1914240977211809792}} 
[2026-08-01 11:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":147167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:10:22] local.INFO: GPS data processed {"connection_id":147167,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:10:22] local.INFO: Acknowledgment sent {"connection_id":147167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:10:37] local.INFO: TCP Data received {"connection_id":145956,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbd3ae80012d19d200072014400024008a22..."} 
[2026-08-01 11:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbd3ae80012d19d200072014400024008a22..."} 
[2026-08-01 11:10:37] local.INFO: Processing buffer {"connection_id":145956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbd3ae80012d19d200072014400024008a22..."} 
[2026-08-01 11:10:37] local.INFO: Packet analysis {"connection_id":145956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbd3"} 
[2026-08-01 11:10:37] local.INFO: Extracted packet for processing {"connection_id":145956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbd3"} 
[2026-08-01 11:10:37] local.INFO: GPS Element Parsed {"raw_longitude":756666880,"raw_latitude":119542848,"longitude_deg":75.666688,"latitude_deg":11.9542848,"altitude":36,"angle":138,"satellites":34,"speed":0,"hex_longitude":"2d19d200","hex_latitude":"07201440","is_valid_coordinates":true} 
[2026-08-01 11:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104030464001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10100204007063552,"note":"Value kept but may cause issues"} 
[2026-08-01 11:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860549626660405248,"note":"Value kept but may cause issues"} 
[2026-08-01 11:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785562640000,"timestamp_ms":1785562640000,"timestamp_seconds":1785562640,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbd3ae80"} 
[2026-08-01 11:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:10:37] 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-08-01 11:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-01 11:10:37] 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-08-01 11:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:10:37] 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-08-01 11:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104030464001,"66":12341,"101":206,"83":41984,"24":0,"16":10100204007063552,"45":1860549626660405248},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-01 11:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104030464001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:10:37] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-01 11:10:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10100204007063552,"km_value":10100204007063.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860549626660405248,"description":"Unknown IO ID 45"} 
[2026-08-01 11:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104030464001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1860549626660405248}} 
[2026-08-01 11:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":145956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576765,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:10:37] local.INFO: GPS data processed {"connection_id":145956,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:10:37] local.INFO: Acknowledgment sent {"connection_id":145956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:10:44] local.INFO: TCP Data received {"connection_id":147168,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:10:44] local.INFO: Processing buffer {"connection_id":147168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:10:44] local.INFO: IMEI packet received {"connection_id":147168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":147168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:10:47] local.INFO: TCP Data received {"connection_id":147168,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:10:47] local.INFO: Processing buffer {"connection_id":147168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:10:47] local.INFO: IMEI packet received {"connection_id":147168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":147168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:10:49] local.INFO: TCP Data received {"connection_id":147168,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:10:49] local.INFO: Processing buffer {"connection_id":147168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:10:49] local.INFO: IMEI packet received {"connection_id":147168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":147168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:10:51] local.INFO: TCP Data received {"connection_id":147168,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbd5cd78012d190d8006d5ece80008011d24..."} 
[2026-08-01 11:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbd5cd78012d190d8006d5ece80008011d24..."} 
[2026-08-01 11:10:51] local.INFO: Processing buffer {"connection_id":147168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbd5cd78012d190d8006d5ece80008011d24..."} 
[2026-08-01 11:10:51] local.INFO: Packet analysis {"connection_id":147168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbd5"} 
[2026-08-01 11:10:51] local.INFO: Extracted packet for processing {"connection_id":147168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbd5"} 
[2026-08-01 11:10:51] local.INFO: GPS Element Parsed {"raw_longitude":756616576,"raw_latitude":114683112,"longitude_deg":75.6616576,"latitude_deg":11.4683112,"altitude":8,"angle":285,"satellites":36,"speed":31,"hex_longitude":"2d190d80","hex_latitude":"06d5ece8","is_valid_coordinates":true} 
[2026-08-01 11:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104068864001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366316669754146816,"note":"Value kept but may cause issues"} 
[2026-08-01 11:10:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1815021047932735488,"note":"Value kept but may cause issues"} 
[2026-08-01 11:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785562779000,"timestamp_ms":1785562779000,"timestamp_seconds":1785562779,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbd5cd78"} 
[2026-08-01 11:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:10:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-01 11:10:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:10:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":147168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":147168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":147168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:10:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104068864001,"66":27843,"159":206,"81":20480,"24":31,"16":366316669754146816,"45":1815021047932735488},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,81,24,16,45]} 
[2026-08-01 11:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104068864001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:10:51] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-08-01 11:10:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366316669754146816,"km_value":366316669754146.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:10:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1815021047932735488,"description":"Unknown IO ID 45"} 
[2026-08-01 11:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104068864001,"power":27843,"unknown_159":206,"unknown_81":20480,"ignition":31,"odometer":null,"unknown_45":1815021047932735488}} 
[2026-08-01 11:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":147168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:10:51] local.INFO: GPS data processed {"connection_id":147168,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:10:51] local.INFO: Acknowledgment sent {"connection_id":147168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:11:06] local.INFO: TCP Data received {"connection_id":145957,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:11:06] local.INFO: Processing buffer {"connection_id":145957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:11:06] local.INFO: IMEI packet received {"connection_id":145957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":145957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:11:06] local.INFO: TCP Data received {"connection_id":145957,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:11:06] local.INFO: Processing buffer {"connection_id":145957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:11:06] local.INFO: IMEI packet received {"connection_id":145957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":145957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:11:07] local.INFO: TCP Data received {"connection_id":145957,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbd40088012d19d200072014400024008a22..."} 
[2026-08-01 11:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbd40088012d19d200072014400024008a22..."} 
[2026-08-01 11:11:07] local.INFO: Processing buffer {"connection_id":145957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbd40088012d19d200072014400024008a22..."} 
[2026-08-01 11:11:07] local.INFO: Packet analysis {"connection_id":145957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbd4"} 
[2026-08-01 11:11:07] local.INFO: Extracted packet for processing {"connection_id":145957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbd4"} 
[2026-08-01 11:11:07] local.INFO: GPS Element Parsed {"raw_longitude":756666880,"raw_latitude":119542848,"longitude_deg":75.666688,"latitude_deg":11.9542848,"altitude":36,"angle":138,"satellites":34,"speed":0,"hex_longitude":"2d19d200","hex_latitude":"07201440","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104035840001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10100204007063552,"note":"Value kept but may cause issues"} 
[2026-08-01 11:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860549626660405248,"note":"Value kept but may cause issues"} 
[2026-08-01 11:11: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-08-01 11:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785562661000,"timestamp_ms":1785562661000,"timestamp_seconds":1785562661,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbd40088"} 
[2026-08-01 11:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:11:07] 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-08-01 11: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-01 11:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11: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-08-01 11:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":145957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":145957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":145957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:11:07] 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-08-01 11:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104035840001,"66":12287,"101":206,"83":41984,"24":0,"16":10100204007063552,"45":1860549626660405248},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-01 11:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104035840001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:11:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-01 11:11:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10100204007063552,"km_value":10100204007063.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860549626660405248,"description":"Unknown IO ID 45"} 
[2026-08-01 11:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104035840001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1860549626660405248}} 
[2026-08-01 11:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":145957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576767,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:11:07] local.INFO: GPS data processed {"connection_id":145957,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:11:07] local.INFO: Acknowledgment sent {"connection_id":145957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:11:11] local.INFO: TCP Data received {"connection_id":145957,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbd45290012d19d200072014400024008a24..."} 
[2026-08-01 11:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbd45290012d19d200072014400024008a24..."} 
[2026-08-01 11:11:11] local.INFO: Processing buffer {"connection_id":145957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbd45290012d19d200072014400024008a24..."} 
[2026-08-01 11:11:11] local.INFO: Packet analysis {"connection_id":145957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbd4"} 
[2026-08-01 11:11:11] local.INFO: Extracted packet for processing {"connection_id":145957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbd4"} 
[2026-08-01 11:11:11] local.INFO: GPS Element Parsed {"raw_longitude":756666880,"raw_latitude":119542848,"longitude_deg":75.666688,"latitude_deg":11.9542848,"altitude":36,"angle":138,"satellites":36,"speed":0,"hex_longitude":"2d19d200","hex_latitude":"07201440","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104041216001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10100204007063552,"note":"Value kept but may cause issues"} 
[2026-08-01 11:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860549626660405248,"note":"Value kept but may cause issues"} 
[2026-08-01 11: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-08-01 11:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785562682000,"timestamp_ms":1785562682000,"timestamp_seconds":1785562682,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbd45290"} 
[2026-08-01 11:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11: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-08-01 11: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-08-01 11: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-08-01 11: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-08-01 11:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":145957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":145957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":145957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:11:11] 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-08-01 11:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104041216001,"66":12287,"101":206,"83":41984,"24":0,"16":10100204007063552,"45":1860549626660405248},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-01 11:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104041216001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:11:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-01 11:11:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10100204007063552,"km_value":10100204007063.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860549626660405248,"description":"Unknown IO ID 45"} 
[2026-08-01 11:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104041216001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1860549626660405248}} 
[2026-08-01 11:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":145957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:11:11] local.INFO: GPS data processed {"connection_id":145957,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:11:11] local.INFO: Acknowledgment sent {"connection_id":145957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:11:22] local.INFO: TCP Data received {"connection_id":147168,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbd5f870012d18e88006d5f858000a011d29..."} 
[2026-08-01 11:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbd5f870012d18e88006d5f858000a011d29..."} 
[2026-08-01 11:11:22] local.INFO: Processing buffer {"connection_id":147168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbd5f870012d18e88006d5f858000a011d29..."} 
[2026-08-01 11:11:22] local.INFO: Packet analysis {"connection_id":147168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbd5"} 
[2026-08-01 11:11:22] local.INFO: Extracted packet for processing {"connection_id":147168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbd5"} 
[2026-08-01 11:11:22] local.INFO: GPS Element Parsed {"raw_longitude":756607104,"raw_latitude":114686040,"longitude_deg":75.6607104,"latitude_deg":11.468604,"altitude":10,"angle":285,"satellites":41,"speed":40,"hex_longitude":"2d18e880","hex_latitude":"06d5f858","is_valid_coordinates":true} 
[2026-08-01 11:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104071424001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366317142200549376,"note":"Value kept but may cause issues"} 
[2026-08-01 11:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805239792492668928,"note":"Value kept but may cause issues"} 
[2026-08-01 11:11:22] 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-08-01 11:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785562790000,"timestamp_ms":1785562790000,"timestamp_seconds":1785562790,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbd5f870"} 
[2026-08-01 11:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:11:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 11:11:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:11:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:11:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104071424001,"66":27658,"159":206,"81":20480,"24":40,"16":366317142200549376,"45":1805239792492668928},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,81,24,16,45]} 
[2026-08-01 11:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104071424001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:11:22] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-08-01 11:11:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366317142200549376,"km_value":366317142200549.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805239792492668928,"description":"Unknown IO ID 45"} 
[2026-08-01 11:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104071424001,"power":27658,"unknown_159":206,"unknown_81":20480,"ignition":40,"odometer":null,"unknown_45":1805239792492668928}} 
[2026-08-01 11:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":147168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:11:22] local.INFO: GPS data processed {"connection_id":147168,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:11:22] local.INFO: Acknowledgment sent {"connection_id":147168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:11:42] local.INFO: TCP Data received {"connection_id":145957,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbd4a498012d19d200072014400024008a25..."} 
[2026-08-01 11:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbd4a498012d19d200072014400024008a25..."} 
[2026-08-01 11:11:42] local.INFO: Processing buffer {"connection_id":145957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbd4a498012d19d200072014400024008a25..."} 
[2026-08-01 11:11:42] local.INFO: Packet analysis {"connection_id":145957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbd4"} 
[2026-08-01 11:11:42] local.INFO: Extracted packet for processing {"connection_id":145957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbd4"} 
[2026-08-01 11:11:42] local.INFO: GPS Element Parsed {"raw_longitude":756666880,"raw_latitude":119542848,"longitude_deg":75.666688,"latitude_deg":11.9542848,"altitude":36,"angle":138,"satellites":37,"speed":0,"hex_longitude":"2d19d200","hex_latitude":"07201440","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104046592001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10100204007063552,"note":"Value kept but may cause issues"} 
[2026-08-01 11:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860549626660405248,"note":"Value kept but may cause issues"} 
[2026-08-01 11: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-08-01 11:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785562703000,"timestamp_ms":1785562703000,"timestamp_seconds":1785562703,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbd4a498"} 
[2026-08-01 11:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:11: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-08-01 11: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 11:11: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-08-01 11: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-08-01 11:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":145957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":145957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":145957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:11:42] 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-08-01 11:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104046592001,"66":12254,"101":206,"83":41984,"24":0,"16":10100204007063552,"45":1860549626660405248},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-01 11:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104046592001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:11:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-01 11:11:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10100204007063552,"km_value":10100204007063.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860549626660405248,"description":"Unknown IO ID 45"} 
[2026-08-01 11:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104046592001,"power":12254,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1860549626660405248}} 
[2026-08-01 11:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":145957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576770,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:11:42] local.INFO: GPS data processed {"connection_id":145957,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:11:42] local.INFO: Acknowledgment sent {"connection_id":145957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:11:44] local.INFO: TCP Data received {"connection_id":146168,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:11:44] local.INFO: Processing buffer {"connection_id":146168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:11:44] local.INFO: IMEI packet received {"connection_id":146168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":146168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:11:49] local.INFO: TCP Data received {"connection_id":146168,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:11:49] local.INFO: Processing buffer {"connection_id":146168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:11:49] local.INFO: IMEI packet received {"connection_id":146168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":146168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:11:51] local.INFO: TCP Data received {"connection_id":146168,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbd61b98012d18c4c006d60310000a012822..."} 
[2026-08-01 11:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbd61b98012d18c4c006d60310000a012822..."} 
[2026-08-01 11:11:51] local.INFO: Processing buffer {"connection_id":146168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbd61b98012d18c4c006d60310000a012822..."} 
[2026-08-01 11:11:51] local.INFO: Packet analysis {"connection_id":146168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbd6"} 
[2026-08-01 11:11:51] local.INFO: Extracted packet for processing {"connection_id":146168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbd6"} 
[2026-08-01 11:11:51] local.INFO: GPS Element Parsed {"raw_longitude":756597952,"raw_latitude":114688784,"longitude_deg":75.6597952,"latitude_deg":11.4688784,"altitude":10,"angle":296,"satellites":34,"speed":41,"hex_longitude":"2d18c4c0","hex_latitude":"06d60310","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104074240001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366317597467082752,"note":"Value kept but may cause issues"} 
[2026-08-01 11:11:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1794825218355124224,"note":"Value kept but may cause issues"} 
[2026-08-01 11:11:51] 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-08-01 11:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785562799000,"timestamp_ms":1785562799000,"timestamp_seconds":1785562799,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbd61b98"} 
[2026-08-01 11:11:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:11:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 11:11:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:11:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:11:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":146168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":146168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":146168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104074240001,"66":27767,"158":206,"81":20480,"24":41,"16":366317597467082752,"45":1794825218355124224},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,81,24,16,45]} 
[2026-08-01 11:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104074240001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:11:51] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-01 11:11:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366317597467082752,"km_value":366317597467082.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:11:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1794825218355124224,"description":"Unknown IO ID 45"} 
[2026-08-01 11:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104074240001,"power":27767,"unknown_158":206,"unknown_81":20480,"ignition":41,"odometer":null,"unknown_45":1794825218355124224}} 
[2026-08-01 11:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":146168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:11:51] local.INFO: GPS data processed {"connection_id":146168,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:11:51] local.INFO: Acknowledgment sent {"connection_id":146168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:12:01] local.INFO: TCP Data received {"connection_id":146169,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:12:01] local.INFO: Processing buffer {"connection_id":146169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:12:01] local.INFO: IMEI packet received {"connection_id":146169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":146169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:12:06] local.INFO: TCP Data received {"connection_id":146169,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:12:06] local.INFO: Processing buffer {"connection_id":146169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:12:06] local.INFO: IMEI packet received {"connection_id":146169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":146169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:12:06] local.INFO: TCP Data received {"connection_id":146169,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbd4f6a0012d19d200072014400024008a26..."} 
[2026-08-01 11:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbd4f6a0012d19d200072014400024008a26..."} 
[2026-08-01 11:12:06] local.INFO: Processing buffer {"connection_id":146169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbd4f6a0012d19d200072014400024008a26..."} 
[2026-08-01 11:12:06] local.INFO: Packet analysis {"connection_id":146169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbd4"} 
[2026-08-01 11:12:06] local.INFO: Extracted packet for processing {"connection_id":146169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbd4"} 
[2026-08-01 11:12:06] local.INFO: GPS Element Parsed {"raw_longitude":756666880,"raw_latitude":119542848,"longitude_deg":75.666688,"latitude_deg":11.9542848,"altitude":36,"angle":138,"satellites":38,"speed":0,"hex_longitude":"2d19d200","hex_latitude":"07201440","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104051968001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10100204007063552,"note":"Value kept but may cause issues"} 
[2026-08-01 11:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860549626660405248,"note":"Value kept but may cause issues"} 
[2026-08-01 11:12: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-08-01 11:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785562724000,"timestamp_ms":1785562724000,"timestamp_seconds":1785562724,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbd4f6a0"} 
[2026-08-01 11:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:12: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-08-01 11: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-01 11:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11: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-08-01 11:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:12:06] 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-08-01 11:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104051968001,"66":12287,"101":206,"83":41984,"24":0,"16":10100204007063552,"45":1860549626660405248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-01 11:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104051968001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:12:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-01 11:12:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10100204007063552,"km_value":10100204007063.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860549626660405248,"description":"Unknown IO ID 45"} 
[2026-08-01 11:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104051968001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1860549626660405248}} 
[2026-08-01 11:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":146169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:12:07] local.INFO: GPS data processed {"connection_id":146169,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:12:07] local.INFO: Acknowledgment sent {"connection_id":146169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:12:30] local.INFO: TCP Data received {"connection_id":146168,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbd75fd0012d17a2c006d63698000a011b24..."} 
[2026-08-01 11:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbd75fd0012d17a2c006d63698000a011b24..."} 
[2026-08-01 11:12:30] local.INFO: Processing buffer {"connection_id":146168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbd75fd0012d17a2c006d63698000a011b24..."} 
[2026-08-01 11:12:30] local.INFO: Packet analysis {"connection_id":146168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbd7"} 
[2026-08-01 11:12:30] local.INFO: Extracted packet for processing {"connection_id":146168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbd7"} 
[2026-08-01 11:12:30] local.INFO: GPS Element Parsed {"raw_longitude":756523712,"raw_latitude":114701976,"longitude_deg":75.6523712,"latitude_deg":11.4701976,"altitude":10,"angle":283,"satellites":36,"speed":46,"hex_longitude":"2d17a2c0","hex_latitude":"06d63698","is_valid_coordinates":true} 
[2026-08-01 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-08-01 11:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104095744001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366321304023859200,"note":"Value kept but may cause issues"} 
[2026-08-01 11:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1712986368879982592,"note":"Value kept but may cause issues"} 
[2026-08-01 11:12:30] 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-08-01 11:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785562882000,"timestamp_ms":1785562882000,"timestamp_seconds":1785562882,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbd75fd0"} 
[2026-08-01 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-08-01 11:12: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-08-01 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 11: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-08-01 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-08-01 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-08-01 11:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":146168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":146168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":146168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:12: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-08-01 11:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104095744001,"66":27908,"160":206,"81":20480,"24":46,"16":366321304023859200,"45":1712986368879982592},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,81,24,16,45]} 
[2026-08-01 11:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104095744001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:12:30] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-01 11:12:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366321304023859200,"km_value":366321304023859.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1712986368879982592,"description":"Unknown IO ID 45"} 
[2026-08-01 11:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104095744001,"power":27908,"unknown_160":206,"unknown_81":20480,"ignition":46,"odometer":null,"unknown_45":1712986368879982592}} 
[2026-08-01 11:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":146168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:12:30] local.INFO: GPS data processed {"connection_id":146168,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:12:30] local.INFO: Acknowledgment sent {"connection_id":146168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:12:38] local.INFO: TCP Data received {"connection_id":146169,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbd548a8012d19d200072014400024008a26..."} 
[2026-08-01 11:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbd548a8012d19d200072014400024008a26..."} 
[2026-08-01 11:12:38] local.INFO: Processing buffer {"connection_id":146169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbd548a8012d19d200072014400024008a26..."} 
[2026-08-01 11:12:38] local.INFO: Packet analysis {"connection_id":146169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbd5"} 
[2026-08-01 11:12:38] local.INFO: Extracted packet for processing {"connection_id":146169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbd5"} 
[2026-08-01 11:12:38] local.INFO: GPS Element Parsed {"raw_longitude":756666880,"raw_latitude":119542848,"longitude_deg":75.666688,"latitude_deg":11.9542848,"altitude":36,"angle":138,"satellites":38,"speed":0,"hex_longitude":"2d19d200","hex_latitude":"07201440","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104057344001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10100204007063552,"note":"Value kept but may cause issues"} 
[2026-08-01 11:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860549626660405248,"note":"Value kept but may cause issues"} 
[2026-08-01 11:12: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-08-01 11:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785562745000,"timestamp_ms":1785562745000,"timestamp_seconds":1785562745,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbd548a8"} 
[2026-08-01 11:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:12:38] 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-08-01 11: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 11:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11: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-08-01 11:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104057344001,"66":12287,"101":206,"83":41984,"24":0,"16":10100204007063552,"45":1860549626660405248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-01 11:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104057344001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:12:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-01 11:12:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10100204007063552,"km_value":10100204007063.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860549626660405248,"description":"Unknown IO ID 45"} 
[2026-08-01 11:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104057344001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1860549626660405248}} 
[2026-08-01 11:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":146169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:12:38] local.INFO: GPS data processed {"connection_id":146169,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:12:38] local.INFO: Acknowledgment sent {"connection_id":146169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:12:44] local.INFO: TCP Data received {"connection_id":145958,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:12:44] local.INFO: Processing buffer {"connection_id":145958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:12:44] local.INFO: IMEI packet received {"connection_id":145958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":145958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:12:50] local.INFO: TCP Data received {"connection_id":145958,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:12:50] local.INFO: Processing buffer {"connection_id":145958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:12:50] local.INFO: IMEI packet received {"connection_id":145958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":145958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:12:51] local.INFO: TCP Data received {"connection_id":145958,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbd77f10012d177d0006d63ef8000a011a26..."} 
[2026-08-01 11:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbd77f10012d177d0006d63ef8000a011a26..."} 
[2026-08-01 11:12:51] local.INFO: Processing buffer {"connection_id":145958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbd77f10012d177d0006d63ef8000a011a26..."} 
[2026-08-01 11:12:51] local.INFO: Packet analysis {"connection_id":145958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbd7"} 
[2026-08-01 11:12:51] local.INFO: Extracted packet for processing {"connection_id":145958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbd7"} 
[2026-08-01 11:12:51] local.INFO: GPS Element Parsed {"raw_longitude":756514048,"raw_latitude":114704120,"longitude_deg":75.6514048,"latitude_deg":11.470412,"altitude":10,"angle":282,"satellites":38,"speed":49,"hex_longitude":"2d177d00","hex_latitude":"06d63ef8","is_valid_coordinates":true} 
[2026-08-01 11:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104097792001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366321776470261760,"note":"Value kept but may cause issues"} 
[2026-08-01 11:12:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1703134744695707648,"note":"Value kept but may cause issues"} 
[2026-08-01 11:12:51] 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-08-01 11:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785562890000,"timestamp_ms":1785562890000,"timestamp_seconds":1785562890,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbd77f10"} 
[2026-08-01 11:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:12: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-08-01 11:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 11:12: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-08-01 11:12:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":145958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":145958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":145958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104097792001,"66":27843,"160":206,"81":20480,"24":49,"16":366321776470261760,"45":1703134744695707648},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,81,24,16,45]} 
[2026-08-01 11:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104097792001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:12:51] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-01 11:12:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366321776470261760,"km_value":366321776470261.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:12:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1703134744695707648,"description":"Unknown IO ID 45"} 
[2026-08-01 11:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104097792001,"power":27843,"unknown_160":206,"unknown_81":20480,"ignition":49,"odometer":null,"unknown_45":1703134744695707648}} 
[2026-08-01 11:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":145958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:12:51] local.INFO: GPS data processed {"connection_id":145958,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:12:51] local.INFO: Acknowledgment sent {"connection_id":145958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:13:00] local.INFO: TCP Data received {"connection_id":148493,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:13:00] local.INFO: Processing buffer {"connection_id":148493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:13:00] local.INFO: IMEI packet received {"connection_id":148493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":148493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:13:06] local.INFO: TCP Data received {"connection_id":148493,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:13:06] local.INFO: Processing buffer {"connection_id":148493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:13:06] local.INFO: IMEI packet received {"connection_id":148493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":148493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:13:07] local.INFO: TCP Data received {"connection_id":148493,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbd59ab0012d19d200072014400024008a25..."} 
[2026-08-01 11:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbd59ab0012d19d200072014400024008a25..."} 
[2026-08-01 11:13:07] local.INFO: Processing buffer {"connection_id":148493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbd59ab0012d19d200072014400024008a25..."} 
[2026-08-01 11:13:07] local.INFO: Packet analysis {"connection_id":148493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbd5"} 
[2026-08-01 11:13:07] local.INFO: Extracted packet for processing {"connection_id":148493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbd5"} 
[2026-08-01 11:13:07] local.INFO: GPS Element Parsed {"raw_longitude":756666880,"raw_latitude":119542848,"longitude_deg":75.666688,"latitude_deg":11.9542848,"altitude":36,"angle":138,"satellites":37,"speed":0,"hex_longitude":"2d19d200","hex_latitude":"07201440","is_valid_coordinates":true} 
[2026-08-01 11:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104062720001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10100204007063552,"note":"Value kept but may cause issues"} 
[2026-08-01 11:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860549626660405248,"note":"Value kept but may cause issues"} 
[2026-08-01 11:13: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-08-01 11:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785562766000,"timestamp_ms":1785562766000,"timestamp_seconds":1785562766,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbd59ab0"} 
[2026-08-01 11:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:13:07] 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-08-01 11:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 11:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11: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-08-01 11:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":148493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":148493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":148493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104062720001,"66":12287,"101":206,"83":41984,"24":0,"16":10100204007063552,"45":1860549626660405248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-01 11:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104062720001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:13:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-01 11:13:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10100204007063552,"km_value":10100204007063.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860549626660405248,"description":"Unknown IO ID 45"} 
[2026-08-01 11:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104062720001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1860549626660405248}} 
[2026-08-01 11:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":148493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576776,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:13:07] local.INFO: GPS data processed {"connection_id":148493,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:13:07] local.INFO: Acknowledgment sent {"connection_id":148493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:13:22] local.INFO: TCP Data received {"connection_id":145958,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbd79e50012d17564006d64998000a011d26..."} 
[2026-08-01 11:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbd79e50012d17564006d64998000a011d26..."} 
[2026-08-01 11:13:22] local.INFO: Processing buffer {"connection_id":145958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbd79e50012d17564006d64998000a011d26..."} 
[2026-08-01 11:13:22] local.INFO: Packet analysis {"connection_id":145958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbd7"} 
[2026-08-01 11:13:22] local.INFO: Extracted packet for processing {"connection_id":145958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbd7"} 
[2026-08-01 11:13:22] local.INFO: GPS Element Parsed {"raw_longitude":756504128,"raw_latitude":114706840,"longitude_deg":75.6504128,"latitude_deg":11.470684,"altitude":10,"angle":285,"satellites":38,"speed":52,"hex_longitude":"2d175640","hex_latitude":"06d64998","is_valid_coordinates":true} 
[2026-08-01 11:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:13:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104099840001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:13:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366322266096533504,"note":"Value kept but may cause issues"} 
[2026-08-01 11:13:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1692509064325429248,"note":"Value kept but may cause issues"} 
[2026-08-01 11:13:22] 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-08-01 11:13:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785562898000,"timestamp_ms":1785562898000,"timestamp_seconds":1785562898,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbd79e50"} 
[2026-08-01 11:13:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:13:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 11:13:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:13:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:13:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:13:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:13:22] local.INFO: Teltonika packet parsed successfully {"connection_id":145958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:13:22] local.INFO: Passing IMEI to GPS processor {"connection_id":145958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:13:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":145958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:13:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:13:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:13:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:13:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104099840001,"66":27821,"160":206,"81":20480,"24":52,"16":366322266096533504,"45":1692509064325429248},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,81,24,16,45]} 
[2026-08-01 11:13:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:13:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:13:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104099840001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:13:22] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-01 11:13:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:13:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366322266096533504,"km_value":366322266096533.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:13:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1692509064325429248,"description":"Unknown IO ID 45"} 
[2026-08-01 11:13:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104099840001,"power":27821,"unknown_160":206,"unknown_81":20480,"ignition":52,"odometer":null,"unknown_45":1692509064325429248}} 
[2026-08-01 11:13:22] local.INFO: DEBUG: GPS processor result {"connection_id":145958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:13:22] local.INFO: GPS data processed {"connection_id":145958,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:13:22] local.INFO: Acknowledgment sent {"connection_id":145958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:13:38] local.INFO: TCP Data received {"connection_id":148493,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbd5ecb8012d19d200072014400024008a24..."} 
[2026-08-01 11:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbd5ecb8012d19d200072014400024008a24..."} 
[2026-08-01 11:13:38] local.INFO: Processing buffer {"connection_id":148493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbd5ecb8012d19d200072014400024008a24..."} 
[2026-08-01 11:13:38] local.INFO: Packet analysis {"connection_id":148493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbd5"} 
[2026-08-01 11:13:38] local.INFO: Extracted packet for processing {"connection_id":148493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbd5"} 
[2026-08-01 11:13:38] local.INFO: GPS Element Parsed {"raw_longitude":756666880,"raw_latitude":119542848,"longitude_deg":75.666688,"latitude_deg":11.9542848,"altitude":36,"angle":138,"satellites":36,"speed":0,"hex_longitude":"2d19d200","hex_latitude":"07201440","is_valid_coordinates":true} 
[2026-08-01 11:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104068096001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10100204007063552,"note":"Value kept but may cause issues"} 
[2026-08-01 11:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860549626660405248,"note":"Value kept but may cause issues"} 
[2026-08-01 11:13: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-08-01 11:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785562787000,"timestamp_ms":1785562787000,"timestamp_seconds":1785562787,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbd5ecb8"} 
[2026-08-01 11:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:13:38] 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-08-01 11:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 11:13:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:13:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":148493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":148493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":148493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104068096001,"66":12287,"101":206,"83":41984,"24":0,"16":10100204007063552,"45":1860549626660405248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-01 11:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104068096001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:13:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-01 11:13:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10100204007063552,"km_value":10100204007063.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860549626660405248,"description":"Unknown IO ID 45"} 
[2026-08-01 11:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104068096001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1860549626660405248}} 
[2026-08-01 11:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":148493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576778,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:13:38] local.INFO: GPS data processed {"connection_id":148493,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:13:38] local.INFO: Acknowledgment sent {"connection_id":148493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:13:49] local.INFO: TCP Data received {"connection_id":146170,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:13:49] local.INFO: Processing buffer {"connection_id":146170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:13:49] local.INFO: IMEI packet received {"connection_id":146170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":146170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:13:53] local.INFO: TCP Data received {"connection_id":146170,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:13:53] local.INFO: Processing buffer {"connection_id":146170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:13:53] local.INFO: IMEI packet received {"connection_id":146170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":146170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:13:54] local.INFO: TCP Data received {"connection_id":146170,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbd7bd90012d17304006d653d0000a011c27..."} 
[2026-08-01 11:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbd7bd90012d17304006d653d0000a011c27..."} 
[2026-08-01 11:13:54] local.INFO: Processing buffer {"connection_id":146170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbd7bd90012d17304006d653d0000a011c27..."} 
[2026-08-01 11:13:54] local.INFO: Packet analysis {"connection_id":146170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbd7"} 
[2026-08-01 11:13:54] local.INFO: Extracted packet for processing {"connection_id":146170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbd7"} 
[2026-08-01 11:13:54] local.INFO: GPS Element Parsed {"raw_longitude":756494400,"raw_latitude":114709456,"longitude_deg":75.64944,"latitude_deg":11.4709456,"altitude":10,"angle":284,"satellites":39,"speed":48,"hex_longitude":"2d173040","hex_latitude":"06d653d0","is_valid_coordinates":true} 
[2026-08-01 11:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104101888001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366322747132870656,"note":"Value kept but may cause issues"} 
[2026-08-01 11:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1681601908978587648,"note":"Value kept but may cause issues"} 
[2026-08-01 11:13:54] 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-08-01 11:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785562906000,"timestamp_ms":1785562906000,"timestamp_seconds":1785562906,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbd7bd90"} 
[2026-08-01 11:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:13:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 11:13:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:13:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:13:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104101888001,"66":27832,"160":206,"81":20480,"24":48,"16":366322747132870656,"45":1681601908978587648},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,81,24,16,45]} 
[2026-08-01 11:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104101888001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:13:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-01 11:13:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366322747132870656,"km_value":366322747132870.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1681601908978587648,"description":"Unknown IO ID 45"} 
[2026-08-01 11:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104101888001,"power":27832,"unknown_160":206,"unknown_81":20480,"ignition":48,"odometer":null,"unknown_45":1681601908978587648}} 
[2026-08-01 11:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":146170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:13:54] local.INFO: GPS data processed {"connection_id":146170,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:13:54] local.INFO: Acknowledgment sent {"connection_id":146170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:13:55] local.INFO: TCP Data received {"connection_id":146170,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbd7dcd0012d170a4006d65de0000a011d27..."} 
[2026-08-01 11:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbd7dcd0012d170a4006d65de0000a011d27..."} 
[2026-08-01 11:13:55] local.INFO: Processing buffer {"connection_id":146170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbd7dcd0012d170a4006d65de0000a011d27..."} 
[2026-08-01 11:13:55] local.INFO: Packet analysis {"connection_id":146170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbd7"} 
[2026-08-01 11:13:55] local.INFO: Extracted packet for processing {"connection_id":146170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbd7"} 
[2026-08-01 11:13:55] local.INFO: GPS Element Parsed {"raw_longitude":756484672,"raw_latitude":114712032,"longitude_deg":75.6484672,"latitude_deg":11.4712032,"altitude":10,"angle":285,"satellites":39,"speed":47,"hex_longitude":"2d170a40","hex_latitude":"06d65de0","is_valid_coordinates":true} 
[2026-08-01 11:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104103936001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1670905859864252416,"note":"Value kept but may cause issues"} 
[2026-08-01 11:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366323223874240512,"note":"Value kept but may cause issues"} 
[2026-08-01 11:13:55] 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-08-01 11:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785562914000,"timestamp_ms":1785562914000,"timestamp_seconds":1785562914,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbd7dcd0"} 
[2026-08-01 11:13:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:13: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-08-01 11:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-01 11:13:55] 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-08-01 11:13:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:13:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":146170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":146170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":146170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104103936001,"66":27800,"45":1670905859864252416,"81":20480,"24":47,"16":366323223874240512},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-08-01 11:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104103936001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1670905859864252416,"description":"Unknown IO ID 45"} 
[2026-08-01 11:13:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366323223874240512,"km_value":366323223874240.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:13:55] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457104103936001,"power":27800,"unknown_45":1670905859864252416,"unknown_81":20480,"ignition":47,"odometer":null}} 
[2026-08-01 11:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":146170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:13:55] local.INFO: GPS data processed {"connection_id":146170,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:13:55] local.INFO: Acknowledgment sent {"connection_id":146170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:14:01] local.INFO: TCP Data received {"connection_id":145959,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:14:01] local.INFO: Processing buffer {"connection_id":145959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:14:01] local.INFO: IMEI packet received {"connection_id":145959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":145959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:14:06] local.INFO: TCP Data received {"connection_id":145959,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:14:06] local.INFO: Processing buffer {"connection_id":145959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:14:06] local.INFO: IMEI packet received {"connection_id":145959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":145959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:14:07] local.INFO: TCP Data received {"connection_id":145959,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbd8ee40012d19d10007201458002b011625..."} 
[2026-08-01 11:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbd8ee40012d19d10007201458002b011625..."} 
[2026-08-01 11:14:07] local.INFO: Processing buffer {"connection_id":145959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbd8ee40012d19d10007201458002b011625..."} 
[2026-08-01 11:14:07] local.INFO: Packet analysis {"connection_id":145959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbd8"} 
[2026-08-01 11:14:07] local.INFO: Extracted packet for processing {"connection_id":145959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbd8"} 
[2026-08-01 11:14:07] local.INFO: GPS Element Parsed {"raw_longitude":756666624,"raw_latitude":119542872,"longitude_deg":75.6666624,"latitude_deg":11.9542872,"altitude":43,"angle":278,"satellites":37,"speed":6,"hex_longitude":"2d19d100","hex_latitude":"07201458","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104123648001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10100221186932736,"note":"Value kept but may cause issues"} 
[2026-08-01 11:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860479257916237824,"note":"Value kept but may cause issues"} 
[2026-08-01 11:14: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-08-01 11:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785562984000,"timestamp_ms":1785562984000,"timestamp_seconds":1785562984,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbd8ee40"} 
[2026-08-01 11:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:14:07] 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-08-01 11: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-01 11:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11: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-08-01 11:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":145959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":145959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":145959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104123648001,"66":14102,"101":206,"83":41984,"24":6,"16":10100221186932736,"45":1860479257916237824},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-01 11:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104123648001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:14:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-01 11:14:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10100221186932736,"km_value":10100221186932.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860479257916237824,"description":"Unknown IO ID 45"} 
[2026-08-01 11:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104123648001,"power":14102,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1860479257916237824}} 
[2026-08-01 11:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":145959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:14:07] local.INFO: GPS data processed {"connection_id":145959,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:14:07] local.INFO: Acknowledgment sent {"connection_id":145959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:14:27] local.INFO: TCP Data received {"connection_id":146170,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbd7fc10012d16e3c006d665a0000a011429..."} 
[2026-08-01 11:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbd7fc10012d16e3c006d665a0000a011429..."} 
[2026-08-01 11:14:27] local.INFO: Processing buffer {"connection_id":146170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbd7fc10012d16e3c006d665a0000a011429..."} 
[2026-08-01 11:14:27] local.INFO: Packet analysis {"connection_id":146170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbd7"} 
[2026-08-01 11:14:27] local.INFO: Extracted packet for processing {"connection_id":146170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbd7"} 
[2026-08-01 11:14:27] local.INFO: GPS Element Parsed {"raw_longitude":756474816,"raw_latitude":114714016,"longitude_deg":75.6474816,"latitude_deg":11.4714016,"altitude":10,"angle":276,"satellites":41,"speed":50,"hex_longitude":"2d16e3c0","hex_latitude":"06d665a0","is_valid_coordinates":true} 
[2026-08-01 11:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104105984001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1660209810749906944,"note":"Value kept but may cause issues"} 
[2026-08-01 11:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366323700615610368,"note":"Value kept but may cause issues"} 
[2026-08-01 11:14:27] 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-08-01 11:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785562922000,"timestamp_ms":1785562922000,"timestamp_seconds":1785562922,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbd7fc10"} 
[2026-08-01 11:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:14: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-08-01 11:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 11:14: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-08-01 11:14:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":146170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":146170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":146170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:14: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-08-01 11:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104105984001,"66":27908,"45":1660209810749906944,"81":20480,"24":50,"16":366323700615610368},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-08-01 11:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104105984001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1660209810749906944,"description":"Unknown IO ID 45"} 
[2026-08-01 11:14:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366323700615610368,"km_value":366323700615610.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:14:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457104105984001,"power":27908,"unknown_45":1660209810749906944,"unknown_81":20480,"ignition":50,"odometer":null}} 
[2026-08-01 11:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":146170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:14:27] local.INFO: GPS data processed {"connection_id":146170,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:14:27] local.INFO: Acknowledgment sent {"connection_id":146170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:14:38] local.INFO: TCP Data received {"connection_id":145959,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbd8f228012d19d08007201488002b012d25..."} 
[2026-08-01 11:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbd8f228012d19d08007201488002b012d25..."} 
[2026-08-01 11:14:38] local.INFO: Processing buffer {"connection_id":145959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbd8f228012d19d08007201488002b012d25..."} 
[2026-08-01 11:14:38] local.INFO: Packet analysis {"connection_id":145959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbd8"} 
[2026-08-01 11:14:38] local.INFO: Extracted packet for processing {"connection_id":145959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbd8"} 
[2026-08-01 11:14:38] local.INFO: GPS Element Parsed {"raw_longitude":756666496,"raw_latitude":119542920,"longitude_deg":75.6666496,"latitude_deg":11.954292,"altitude":43,"angle":301,"satellites":37,"speed":6,"hex_longitude":"2d19d080","hex_latitude":"07201488","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104123904001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10100229776867328,"note":"Value kept but may cause issues"} 
[2026-08-01 11:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860268151683700736,"note":"Value kept but may cause issues"} 
[2026-08-01 11:14: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-08-01 11:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785562985000,"timestamp_ms":1785562985000,"timestamp_seconds":1785562985,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbd8f228"} 
[2026-08-01 11:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:14:38] 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-08-01 11: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-01 11:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11: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-08-01 11:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104123904001,"66":14102,"101":206,"83":41984,"24":6,"16":10100229776867328,"45":1860268151683700736},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-01 11:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104123904001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:14:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-01 11:14:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10100229776867328,"km_value":10100229776867.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860268151683700736,"description":"Unknown IO ID 45"} 
[2026-08-01 11:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104123904001,"power":14102,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1860268151683700736}} 
[2026-08-01 11:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":145959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576783,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:14:38] local.INFO: GPS data processed {"connection_id":145959,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:14:38] local.INFO: Acknowledgment sent {"connection_id":145959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:14:45] local.INFO: TCP Data received {"connection_id":146171,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:14:45] local.INFO: Processing buffer {"connection_id":146171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:14:45] local.INFO: IMEI packet received {"connection_id":146171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":146171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:14:45] local.INFO: TCP Data received {"connection_id":146171,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:14:45] local.INFO: Processing buffer {"connection_id":146171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:14:45] local.INFO: IMEI packet received {"connection_id":146171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":146171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:14:49] local.INFO: TCP Data received {"connection_id":146171,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:14:49] local.INFO: Processing buffer {"connection_id":146171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:14:49] local.INFO: IMEI packet received {"connection_id":146171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":146171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:14:56] local.INFO: TCP Data received {"connection_id":146171,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbd99a20012d15b94006d6c908000d013c2c..."} 
[2026-08-01 11:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbd99a20012d15b94006d6c908000d013c2c..."} 
[2026-08-01 11:14:56] local.INFO: Processing buffer {"connection_id":146171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbd99a20012d15b94006d6c908000d013c2c..."} 
[2026-08-01 11:14:56] local.INFO: Packet analysis {"connection_id":146171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbd9"} 
[2026-08-01 11:14:56] local.INFO: Extracted packet for processing {"connection_id":146171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbd9"} 
[2026-08-01 11:14:56] local.INFO: GPS Element Parsed {"raw_longitude":756398400,"raw_latitude":114739464,"longitude_deg":75.63984,"latitude_deg":11.4739464,"altitude":13,"angle":316,"satellites":44,"speed":15,"hex_longitude":"2d15b940","hex_latitude":"06d6c908","is_valid_coordinates":true} 
[2026-08-01 11:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104132864001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366327656280489984,"note":"Value kept but may cause issues"} 
[2026-08-01 11:14:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1568589705837084672,"note":"Value kept but may cause issues"} 
[2026-08-01 11:14:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785563028000,"timestamp_ms":1785563028000,"timestamp_seconds":1785563028,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbd99a20"} 
[2026-08-01 11:14:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:14:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 11:14:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:14:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:14:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":146171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":146171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":146171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:14:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104132864001,"66":27767,"44":206,"81":20480,"24":15,"16":366327656280489984,"45":1568589705837084672},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-08-01 11:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104132864001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:14:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-01 11:14:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366327656280489984,"km_value":366327656280490.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:14:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1568589705837084672,"description":"Unknown IO ID 45"} 
[2026-08-01 11:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104132864001,"power":27767,"unknown_44":206,"unknown_81":20480,"ignition":15,"odometer":null,"unknown_45":1568589705837084672}} 
[2026-08-01 11:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":146171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:14:56] local.INFO: GPS data processed {"connection_id":146171,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:14:56] local.INFO: Acknowledgment sent {"connection_id":146171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:15:00] local.INFO: TCP Data received {"connection_id":147169,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:15:00] local.INFO: Processing buffer {"connection_id":147169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:15:00] local.INFO: IMEI packet received {"connection_id":147169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":147169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:15:01] local.INFO: TCP Data received {"connection_id":147169,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:15:01] local.INFO: Processing buffer {"connection_id":147169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:15:01] local.INFO: IMEI packet received {"connection_id":147169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":147169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:15:05] local.INFO: TCP Data received {"connection_id":147169,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:15:05] local.INFO: Processing buffer {"connection_id":147169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:15:05] local.INFO: IMEI packet received {"connection_id":147169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":147169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:15:06] local.INFO: TCP Data received {"connection_id":147169,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbd8f610012d19d04007201510002b014825..."} 
[2026-08-01 11:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbd8f610012d19d04007201510002b014825..."} 
[2026-08-01 11:15:06] local.INFO: Processing buffer {"connection_id":147169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbd8f610012d19d04007201510002b014825..."} 
[2026-08-01 11:15:06] local.INFO: Packet analysis {"connection_id":147169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbd8"} 
[2026-08-01 11:15:06] local.INFO: Extracted packet for processing {"connection_id":147169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbd8"} 
[2026-08-01 11:15:06] local.INFO: GPS Element Parsed {"raw_longitude":756666432,"raw_latitude":119543056,"longitude_deg":75.6666432,"latitude_deg":11.9543056,"altitude":43,"angle":328,"satellites":37,"speed":8,"hex_longitude":"2d19d040","hex_latitude":"07201510","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104124160001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10100234071834624,"note":"Value kept but may cause issues"} 
[2026-08-01 11:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860127414195357696,"note":"Value kept but may cause issues"} 
[2026-08-01 11:15: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-08-01 11:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785562986000,"timestamp_ms":1785562986000,"timestamp_seconds":1785562986,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbd8f610"} 
[2026-08-01 11:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:15:06] 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-08-01 11: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-01 11:15:06] 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-08-01 11: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-08-01 11:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:15:06] 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-08-01 11:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104124160001,"66":14102,"101":206,"83":41984,"24":8,"16":10100234071834624,"45":1860127414195357696},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-01 11:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104124160001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:15:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-01 11:15:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10100234071834624,"km_value":10100234071834.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860127414195357696,"description":"Unknown IO ID 45"} 
[2026-08-01 11:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104124160001,"power":14102,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1860127414195357696}} 
[2026-08-01 11:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":147169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576785,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:15:06] local.INFO: GPS data processed {"connection_id":147169,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:15:06] local.INFO: Acknowledgment sent {"connection_id":147169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:15:34] local.INFO: TCP Data received {"connection_id":146171,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbd9a1f0012d15b74006d6cbc0000c01482b..."} 
[2026-08-01 11:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbd9a1f0012d15b74006d6cbc0000c01482b..."} 
[2026-08-01 11:15:34] local.INFO: Processing buffer {"connection_id":146171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbd9a1f0012d15b74006d6cbc0000c01482b..."} 
[2026-08-01 11:15:34] local.INFO: Packet analysis {"connection_id":146171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbd9"} 
[2026-08-01 11:15:34] local.INFO: Extracted packet for processing {"connection_id":146171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbd9"} 
[2026-08-01 11:15:34] local.INFO: GPS Element Parsed {"raw_longitude":756397888,"raw_latitude":114740160,"longitude_deg":75.6397888,"latitude_deg":11.474016,"altitude":12,"angle":328,"satellites":43,"speed":18,"hex_longitude":"2d15b740","hex_latitude":"06d6cbc0","is_valid_coordinates":true} 
[2026-08-01 11:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104135168001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366327694935195648,"note":"Value kept but may cause issues"} 
[2026-08-01 11:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1565352743605438464,"note":"Value kept but may cause issues"} 
[2026-08-01 11:15: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-08-01 11:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785563030000,"timestamp_ms":1785563030000,"timestamp_seconds":1785563030,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbd9a1f0"} 
[2026-08-01 11:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:15: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-08-01 11:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 11:15: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-08-01 11: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-08-01 11:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:15: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-08-01 11:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104135168001,"66":27658,"44":206,"81":20480,"24":18,"16":366327694935195648,"45":1565352743605438464},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-08-01 11:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104135168001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:15:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-01 11:15:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366327694935195648,"km_value":366327694935195.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1565352743605438464,"description":"Unknown IO ID 45"} 
[2026-08-01 11:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104135168001,"power":27658,"unknown_44":206,"unknown_81":20480,"ignition":18,"odometer":null,"unknown_45":1565352743605438464}} 
[2026-08-01 11:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":146171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:15:34] local.INFO: GPS data processed {"connection_id":146171,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:15:34] local.INFO: Acknowledgment sent {"connection_id":146171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:15:37] local.INFO: TCP Data received {"connection_id":147169,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbda6158012d19b7400720aa600036013023..."} 
[2026-08-01 11:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbda6158012d19b7400720aa600036013023..."} 
[2026-08-01 11:15:37] local.INFO: Processing buffer {"connection_id":147169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbda6158012d19b7400720aa600036013023..."} 
[2026-08-01 11:15:37] local.INFO: Packet analysis {"connection_id":147169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbda"} 
[2026-08-01 11:15:37] local.INFO: Extracted packet for processing {"connection_id":147169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbda"} 
[2026-08-01 11:15:37] local.INFO: GPS Element Parsed {"raw_longitude":756660032,"raw_latitude":119581280,"longitude_deg":75.6660032,"latitude_deg":11.958128,"altitude":54,"angle":304,"satellites":35,"speed":17,"hex_longitude":"2d19b740","hex_latitude":"0720aa60","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104147968001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10102244116529152,"note":"Value kept but may cause issues"} 
[2026-08-01 11:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853442383508228096,"note":"Value kept but may cause issues"} 
[2026-08-01 11:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785563079000,"timestamp_ms":1785563079000,"timestamp_seconds":1785563079,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbda6158"} 
[2026-08-01 11:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:15: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-08-01 11: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-01 11:15:37] 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-08-01 11: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-08-01 11:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:15:37] 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-08-01 11:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104147968001,"66":14243,"103":206,"83":41984,"24":17,"16":10102244116529152,"45":1853442383508228096},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-01 11:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104147968001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:15:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 11:15:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10102244116529152,"km_value":10102244116529.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853442383508228096,"description":"Unknown IO ID 45"} 
[2026-08-01 11:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104147968001,"power":14243,"unknown_103":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1853442383508228096}} 
[2026-08-01 11:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":147169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:15:37] local.INFO: GPS data processed {"connection_id":147169,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:15:37] local.INFO: Acknowledgment sent {"connection_id":147169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:15:45] local.INFO: TCP Data received {"connection_id":145960,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:15:45] local.INFO: Processing buffer {"connection_id":145960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:15:45] local.INFO: IMEI packet received {"connection_id":145960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":145960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:15:50] local.INFO: TCP Data received {"connection_id":145960,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:15:50] local.INFO: Processing buffer {"connection_id":145960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:15:50] local.INFO: IMEI packet received {"connection_id":145960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":145960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:15:51] local.INFO: TCP Data received {"connection_id":145960,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbd9a9c0012d15b5c006d6cf78000c01562c..."} 
[2026-08-01 11:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbd9a9c0012d15b5c006d6cf78000c01562c..."} 
[2026-08-01 11:15:51] local.INFO: Processing buffer {"connection_id":145960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbd9a9c0012d15b5c006d6cf78000c01562c..."} 
[2026-08-01 11:15:51] local.INFO: Packet analysis {"connection_id":145960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbd9"} 
[2026-08-01 11:15:51] local.INFO: Extracted packet for processing {"connection_id":145960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbd9"} 
[2026-08-01 11:15:51] local.INFO: GPS Element Parsed {"raw_longitude":756397504,"raw_latitude":114741112,"longitude_deg":75.6397504,"latitude_deg":11.4741112,"altitude":12,"angle":342,"satellites":44,"speed":21,"hex_longitude":"2d15b5c0","hex_latitude":"06d6cf78","is_valid_coordinates":true} 
[2026-08-01 11:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104135680001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366327746474803200,"note":"Value kept but may cause issues"} 
[2026-08-01 11:15:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1564789793652195328,"note":"Value kept but may cause issues"} 
[2026-08-01 11:15:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785563032000,"timestamp_ms":1785563032000,"timestamp_seconds":1785563032,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbd9a9c0"} 
[2026-08-01 11:15:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:15:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 11:15:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:15:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:15:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":145960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":145960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":145960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:15:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104135680001,"66":27658,"44":206,"81":20480,"24":21,"16":366327746474803200,"45":1564789793652195328},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-08-01 11:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104135680001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:15:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-01 11:15:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366327746474803200,"km_value":366327746474803.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:15:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1564789793652195328,"description":"Unknown IO ID 45"} 
[2026-08-01 11:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104135680001,"power":27658,"unknown_44":206,"unknown_81":20480,"ignition":21,"odometer":null,"unknown_45":1564789793652195328}} 
[2026-08-01 11:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":145960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:15:51] local.INFO: GPS data processed {"connection_id":145960,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:15:51] local.INFO: Acknowledgment sent {"connection_id":145960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:16:00] local.INFO: TCP Data received {"connection_id":146172,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:16:00] local.INFO: Processing buffer {"connection_id":146172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:16:00] local.INFO: IMEI packet received {"connection_id":146172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":146172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:16:04] local.INFO: TCP Data received {"connection_id":146172,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:16:04] local.INFO: Processing buffer {"connection_id":146172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:16:04] local.INFO: IMEI packet received {"connection_id":146172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":146172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:16:05] local.INFO: TCP Data received {"connection_id":146172,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:16:05] local.INFO: Processing buffer {"connection_id":146172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:16:05] local.INFO: IMEI packet received {"connection_id":146172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":146172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:16:06] local.INFO: TCP Data received {"connection_id":146172,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbda6928012d19b3c00720abf00037012423..."} 
[2026-08-01 11:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbda6928012d19b3c00720abf00037012423..."} 
[2026-08-01 11:16:06] local.INFO: Processing buffer {"connection_id":146172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbda6928012d19b3c00720abf00037012423..."} 
[2026-08-01 11:16:06] local.INFO: Packet analysis {"connection_id":146172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbda"} 
[2026-08-01 11:16:06] local.INFO: Extracted packet for processing {"connection_id":146172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbda"} 
[2026-08-01 11:16:06] local.INFO: GPS Element Parsed {"raw_longitude":756659136,"raw_latitude":119581680,"longitude_deg":75.6659136,"latitude_deg":11.958168,"altitude":55,"angle":292,"satellites":35,"speed":19,"hex_longitude":"2d19b3c0","hex_latitude":"0720abf0","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104148224001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10102291361169408,"note":"Value kept but may cause issues"} 
[2026-08-01 11:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853020171043233792,"note":"Value kept but may cause issues"} 
[2026-08-01 11:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785563081000,"timestamp_ms":1785563081000,"timestamp_seconds":1785563081,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbda6928"} 
[2026-08-01 11:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:16:06] 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-08-01 11: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-01 11:16:06] 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-08-01 11: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-08-01 11:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:16:06] 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-08-01 11:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104148224001,"66":14298,"103":206,"83":41984,"24":19,"16":10102291361169408,"45":1853020171043233792},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-01 11:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104148224001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:16:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 11:16:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10102291361169408,"km_value":10102291361169.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853020171043233792,"description":"Unknown IO ID 45"} 
[2026-08-01 11:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104148224001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1853020171043233792}} 
[2026-08-01 11:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":146172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:16:06] local.INFO: GPS data processed {"connection_id":146172,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:16:06] local.INFO: Acknowledgment sent {"connection_id":146172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:16:07] local.INFO: TCP Data received {"connection_id":146172,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbda8480012d19a6400720b0400038011622..."} 
[2026-08-01 11:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbda8480012d19a6400720b0400038011622..."} 
[2026-08-01 11:16:07] local.INFO: Processing buffer {"connection_id":146172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbda8480012d19a6400720b0400038011622..."} 
[2026-08-01 11:16:07] local.INFO: Packet analysis {"connection_id":146172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbda"} 
[2026-08-01 11:16:07] local.INFO: Extracted packet for processing {"connection_id":146172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbda"} 
[2026-08-01 11:16:07] local.INFO: GPS Element Parsed {"raw_longitude":756655680,"raw_latitude":119582784,"longitude_deg":75.665568,"latitude_deg":11.9582784,"altitude":56,"angle":278,"satellites":34,"speed":21,"hex_longitude":"2d19a640","hex_latitude":"0720b040","is_valid_coordinates":true} 
[2026-08-01 11:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104148736001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10102463159861248,"note":"Value kept but may cause issues"} 
[2026-08-01 11:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852035008624848896,"note":"Value kept but may cause issues"} 
[2026-08-01 11:16:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785563088000,"timestamp_ms":1785563088000,"timestamp_seconds":1785563088,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbda8480"} 
[2026-08-01 11:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:16:07] 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-08-01 11:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-01 11:16:07] 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-08-01 11:16:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104148736001,"66":14352,"103":206,"83":41984,"24":21,"16":10102463159861248,"45":1852035008624848896},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-01 11:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104148736001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:16:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 11:16:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10102463159861248,"km_value":10102463159861.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852035008624848896,"description":"Unknown IO ID 45"} 
[2026-08-01 11:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104148736001,"power":14352,"unknown_103":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1852035008624848896}} 
[2026-08-01 11:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":146172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:16:08] local.INFO: GPS data processed {"connection_id":146172,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:16:08] local.INFO: Acknowledgment sent {"connection_id":146172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:16:23] local.INFO: TCP Data received {"connection_id":145960,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbdb18f0012d158f8006d6fef0000f013227..."} 
[2026-08-01 11:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbdb18f0012d158f8006d6fef0000f013227..."} 
[2026-08-01 11:16:23] local.INFO: Processing buffer {"connection_id":145960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbdb18f0012d158f8006d6fef0000f013227..."} 
[2026-08-01 11:16:23] local.INFO: Packet analysis {"connection_id":145960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbdb"} 
[2026-08-01 11:16:23] local.INFO: Extracted packet for processing {"connection_id":145960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbdb"} 
[2026-08-01 11:16:23] local.INFO: GPS Element Parsed {"raw_longitude":756387712,"raw_latitude":114753264,"longitude_deg":75.6387712,"latitude_deg":11.4753264,"altitude":15,"angle":306,"satellites":39,"speed":4,"hex_longitude":"2d158f80","hex_latitude":"06d6fef0","is_valid_coordinates":true} 
[2026-08-01 11:16:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104159744001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366328558223622144,"note":"Value kept but may cause issues"} 
[2026-08-01 11:16:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1553741900819619840,"note":"Value kept but may cause issues"} 
[2026-08-01 11:16:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785563126000,"timestamp_ms":1785563126000,"timestamp_seconds":1785563126,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbdb18f0"} 
[2026-08-01 11:16:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:16:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:16:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-01 11:16:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:16:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:16:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":145960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":145960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":145960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:16:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104159744001,"66":27876,"46":206,"81":20480,"24":4,"16":366328558223622144,"45":1553741900819619840},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-08-01 11:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104159744001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:16:23] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-08-01 11:16:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366328558223622144,"km_value":366328558223622.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:16:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1553741900819619840,"description":"Unknown IO ID 45"} 
[2026-08-01 11:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104159744001,"power":27876,"unknown_46":206,"unknown_81":20480,"ignition":4,"odometer":null,"unknown_45":1553741900819619840}} 
[2026-08-01 11:16:23] local.INFO: DEBUG: GPS processor result {"connection_id":145960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:16:23] local.INFO: GPS data processed {"connection_id":145960,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:16:23] local.INFO: Acknowledgment sent {"connection_id":145960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:16:39] local.INFO: TCP Data received {"connection_id":146172,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbdab360012d1989000720b2680039010826..."} 
[2026-08-01 11:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbdab360012d1989000720b2680039010826..."} 
[2026-08-01 11:16:39] local.INFO: Processing buffer {"connection_id":146172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbdab360012d1989000720b2680039010826..."} 
[2026-08-01 11:16:39] local.INFO: Packet analysis {"connection_id":146172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbda"} 
[2026-08-01 11:16:39] local.INFO: Extracted packet for processing {"connection_id":146172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbda"} 
[2026-08-01 11:16:39] local.INFO: GPS Element Parsed {"raw_longitude":756648192,"raw_latitude":119583336,"longitude_deg":75.6648192,"latitude_deg":11.9583336,"altitude":57,"angle":264,"satellites":38,"speed":24,"hex_longitude":"2d198900","hex_latitude":"0720b268","is_valid_coordinates":true} 
[2026-08-01 11:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104150528001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10102819642146816,"note":"Value kept but may cause issues"} 
[2026-08-01 11:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848235096439537664,"note":"Value kept but may cause issues"} 
[2026-08-01 11:16: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-08-01 11:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785563100000,"timestamp_ms":1785563100000,"timestamp_seconds":1785563100,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbdab360"} 
[2026-08-01 11:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:16:39] 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-08-01 11:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-01 11:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733136384,"note":"Value kept but may cause issues"} 
[2026-08-01 11:16:39] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-01 11:16:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 11:16:39] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3151636160,"note":"Value kept but may cause issues"} 
[2026-08-01 11:16:39] local.WARNING: Large IO value detected {"io_id":35,"raw_value":3823304704,"note":"Value kept but may cause issues"} 
[2026-08-01 11:16:39] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503753774071808,"note":"Value kept but may cause issues"} 
[2026-08-01 11:16:39] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-01 11:16:39] local.WARNING: Large IO value detected {"io_id":187,"raw_value":3663300609,"note":"Value kept but may cause issues"} 
[2026-08-01 11:16:39] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2821718070,"note":"Value kept but may cause issues"} 
[2026-08-01 11:16:39] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638478745892967,"note":"Value kept but may cause issues"} 
[2026-08-01 11:16:39] local.WARNING: Large IO value detected {"io_id":113,"raw_value":3747258777062408448,"note":"Value kept but may cause issues"} 
[2026-08-01 11:16:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-01 11:16:39] local.WARNING: Large IO value detected {"io_id":85,"raw_value":2684431641,"note":"Value kept but may cause issues"} 
[2026-08-01 11:16:39] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-01 11:16:39] local.WARNING: Large IO value detected {"io_id":104,"raw_value":84752215990280344,"note":"Value kept but may cause issues"} 
[2026-08-01 11:16:39] local.WARNING: Large IO value detected {"io_id":208,"raw_value":14636854028540672,"note":"Value kept but may cause issues"} 
[2026-08-01 11:16:39] local.WARNING: Large IO value detected {"io_id":25,"raw_value":-5908714874602520525,"note":"Value kept but may cause issues"} 
[2026-08-01 11:16:39] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,103,83,24,241,157,16,228,159,105,45,192,171,55,35,10,66,227,97,64,170,54,93,1,240,163,187,32,4,113,205,13,85,186,8,34,239,56,2,7,206,104,208,25],"length":628,"final_offset":758,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-01 11:16:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035531076386750464,"timestamp_seconds":4035531076386750.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 11:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:16:39] 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-08-01 11:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104150528001,"66":14276,"103":206,"83":41984,"24":24,"16":10102819642146816,"45":1848235096439537664},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-01 11:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104150528001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:16:39] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 11:16:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10102819642146816,"km_value":10102819642146.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848235096439537664,"description":"Unknown IO ID 45"} 
[2026-08-01 11:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104150528001,"power":14276,"unknown_103":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1848235096439537664}} 
[2026-08-01 11:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":146172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576792,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:16:39] local.INFO: GPS data processed {"connection_id":146172,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:16:39] local.INFO: Acknowledgment sent {"connection_id":146172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:16:44] local.INFO: TCP Data received {"connection_id":147170,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:16:44] local.INFO: Processing buffer {"connection_id":147170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:16:44] local.INFO: IMEI packet received {"connection_id":147170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":147170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:16:49] local.INFO: TCP Data received {"connection_id":147170,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:16:49] local.INFO: Processing buffer {"connection_id":147170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:16:49] local.INFO: IMEI packet received {"connection_id":147170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":147170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:16:51] local.INFO: TCP Data received {"connection_id":147170,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbdb4000012d158c0006d701980010014e28..."} 
[2026-08-01 11:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbdb4000012d158c0006d701980010014e28..."} 
[2026-08-01 11:16:51] local.INFO: Processing buffer {"connection_id":147170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbdb4000012d158c0006d701980010014e28..."} 
[2026-08-01 11:16:51] local.INFO: Packet analysis {"connection_id":147170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbdb"} 
[2026-08-01 11:16:51] local.INFO: Extracted packet for processing {"connection_id":147170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbdb"} 
[2026-08-01 11:16:51] local.INFO: GPS Element Parsed {"raw_longitude":756386816,"raw_latitude":114753944,"longitude_deg":75.6386816,"latitude_deg":11.4753944,"altitude":16,"angle":334,"satellites":40,"speed":0,"hex_longitude":"2d158c00","hex_latitude":"06d70198","is_valid_coordinates":true} 
[2026-08-01 11:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104160256001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366328614058196992,"note":"Value kept but may cause issues"} 
[2026-08-01 11:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1553601163331301376,"note":"Value kept but may cause issues"} 
[2026-08-01 11:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785563136000,"timestamp_ms":1785563136000,"timestamp_seconds":1785563136,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbdb4000"} 
[2026-08-01 11:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:16: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-08-01 11:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 11:16:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:16:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":147170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":147170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":147170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104160256001,"66":27832,"46":206,"81":20480,"24":0,"16":366328614058196992,"45":1553601163331301376},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-08-01 11:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104160256001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:16:51] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-08-01 11:16:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366328614058196992,"km_value":366328614058197.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1553601163331301376,"description":"Unknown IO ID 45"} 
[2026-08-01 11:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104160256001,"power":27832,"unknown_46":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1553601163331301376}} 
[2026-08-01 11:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":147170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:16:51] local.INFO: GPS data processed {"connection_id":147170,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:16:51] local.INFO: Acknowledgment sent {"connection_id":147170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:17:01] local.INFO: TCP Data received {"connection_id":147171,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147171,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:17:01] local.INFO: Processing buffer {"connection_id":147171,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:17:01] local.INFO: IMEI packet received {"connection_id":147171,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":147171,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:17:01] local.INFO: TCP Data received {"connection_id":147171,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147171,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:17:01] local.INFO: Processing buffer {"connection_id":147171,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:17:01] local.INFO: IMEI packet received {"connection_id":147171,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":147171,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:17:03] local.INFO: TCP Data received {"connection_id":147171,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147171,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:17:03] local.INFO: Processing buffer {"connection_id":147171,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:17:03] local.INFO: IMEI packet received {"connection_id":147171,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":147171,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:17:06] local.INFO: TCP Data received {"connection_id":147171,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147171,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:17:06] local.INFO: Processing buffer {"connection_id":147171,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:17:06] local.INFO: IMEI packet received {"connection_id":147171,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":147171,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:17:07] local.INFO: TCP Data received {"connection_id":147171,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbdae628012d1965400720aaf00035010525..."} 
[2026-08-01 11:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbdae628012d1965400720aaf00035010525..."} 
[2026-08-01 11:17:07] local.INFO: Processing buffer {"connection_id":147171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbdae628012d1965400720aaf00035010525..."} 
[2026-08-01 11:17:07] local.INFO: Packet analysis {"connection_id":147171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbda"} 
[2026-08-01 11:17:07] local.INFO: Extracted packet for processing {"connection_id":147171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbda"} 
[2026-08-01 11:17:07] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119581424,"longitude_deg":75.663904,"latitude_deg":11.9581424,"altitude":53,"angle":261,"satellites":37,"speed":26,"hex_longitude":"2d196540","hex_latitude":"0720aaf0","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104153600001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10103266318745600,"note":"Value kept but may cause issues"} 
[2026-08-01 11:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840001953370892288,"note":"Value kept but may cause issues"} 
[2026-08-01 11:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785563113000,"timestamp_ms":1785563113000,"timestamp_seconds":1785563113,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbdae628"} 
[2026-08-01 11:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:17:07] 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-08-01 11: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":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-01 11:17:07] 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-08-01 11: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-08-01 11:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":147171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":147171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":147171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104153600001,"66":14580,"103":206,"83":41984,"24":26,"16":10103266318745600,"45":1840001953370892288},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-01 11:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104153600001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:17:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 11:17:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10103266318745600,"km_value":10103266318745.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840001953370892288,"description":"Unknown IO ID 45"} 
[2026-08-01 11:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104153600001,"power":14580,"unknown_103":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1840001953370892288}} 
[2026-08-01 11:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":147171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576794,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:17:07] local.INFO: GPS data processed {"connection_id":147171,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:17:07] local.INFO: Acknowledgment sent {"connection_id":147171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:17:22] local.INFO: TCP Data received {"connection_id":147170,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbdb5b58012d158b8006d702280010013a28..."} 
[2026-08-01 11:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbdb5b58012d158b8006d702280010013a28..."} 
[2026-08-01 11:17:22] local.INFO: Processing buffer {"connection_id":147170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbdb5b58012d158b8006d702280010013a28..."} 
[2026-08-01 11:17:22] local.INFO: Packet analysis {"connection_id":147170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbdb"} 
[2026-08-01 11:17:22] local.INFO: Extracted packet for processing {"connection_id":147170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbdb"} 
[2026-08-01 11:17:22] local.INFO: GPS Element Parsed {"raw_longitude":756386688,"raw_latitude":114754088,"longitude_deg":75.6386688,"latitude_deg":11.4754088,"altitude":16,"angle":314,"satellites":40,"speed":4,"hex_longitude":"2d158b80","hex_latitude":"06d70228","is_valid_coordinates":true} 
[2026-08-01 11:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104162816001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366328622648131584,"note":"Value kept but may cause issues"} 
[2026-08-01 11:17:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1552616000912988160,"note":"Value kept but may cause issues"} 
[2026-08-01 11:17:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785563143000,"timestamp_ms":1785563143000,"timestamp_seconds":1785563143,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbdb5b58"} 
[2026-08-01 11:17:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:17:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-01 11:17:22] 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-08-01 11:17:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:17:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:17:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104162816001,"66":27908,"46":206,"81":20480,"24":4,"16":366328622648131584,"45":1552616000912988160},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-08-01 11:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104162816001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:17:22] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-08-01 11:17:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366328622648131584,"km_value":366328622648131.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:17:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1552616000912988160,"description":"Unknown IO ID 45"} 
[2026-08-01 11:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104162816001,"power":27908,"unknown_46":206,"unknown_81":20480,"ignition":4,"odometer":null,"unknown_45":1552616000912988160}} 
[2026-08-01 11:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":147170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:17:22] local.INFO: GPS data processed {"connection_id":147170,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:17:22] local.INFO: Acknowledgment sent {"connection_id":147170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:17:38] local.INFO: TCP Data received {"connection_id":147171,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbdc64f8012d18c400072142600045016022..."} 
[2026-08-01 11:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbdc64f8012d18c400072142600045016022..."} 
[2026-08-01 11:17:38] local.INFO: Processing buffer {"connection_id":147171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbdc64f8012d18c400072142600045016022..."} 
[2026-08-01 11:17:38] local.INFO: Packet analysis {"connection_id":147171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbdc"} 
[2026-08-01 11:17:38] local.INFO: Extracted packet for processing {"connection_id":147171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbdc"} 
[2026-08-01 11:17:38] local.INFO: GPS Element Parsed {"raw_longitude":756597760,"raw_latitude":119620192,"longitude_deg":75.659776,"latitude_deg":11.9620192,"altitude":69,"angle":352,"satellites":34,"speed":25,"hex_longitude":"2d18c400","hex_latitude":"07214260","is_valid_coordinates":true} 
[2026-08-01 11:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104181504001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10106272795852800,"note":"Value kept but may cause issues"} 
[2026-08-01 11:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784762489200553984,"note":"Value kept but may cause issues"} 
[2026-08-01 11:17: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-08-01 11:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785563211000,"timestamp_ms":1785563211000,"timestamp_seconds":1785563211,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbdc64f8"} 
[2026-08-01 11:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:17:38] 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-08-01 11:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-01 11:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":147171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":147171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":147171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:17:38] 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-08-01 11:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104181504001,"66":14396,"103":206,"83":41984,"24":25,"16":10106272795852800,"45":1784762489200553984},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-01 11:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104181504001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:17:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 11:17:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10106272795852800,"km_value":10106272795852.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784762489200553984,"description":"Unknown IO ID 45"} 
[2026-08-01 11:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104181504001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1784762489200553984}} 
[2026-08-01 11:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":147171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:17:38] local.INFO: GPS data processed {"connection_id":147171,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:17:38] local.INFO: Acknowledgment sent {"connection_id":147171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:17:44] local.INFO: TCP Data received {"connection_id":148494,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:17:44] local.INFO: Processing buffer {"connection_id":148494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:17:44] local.INFO: IMEI packet received {"connection_id":148494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":148494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:17:45] local.INFO: TCP Data received {"connection_id":148494,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:17:45] local.INFO: Processing buffer {"connection_id":148494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:17:45] local.INFO: IMEI packet received {"connection_id":148494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":148494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:17:49] local.INFO: TCP Data received {"connection_id":148494,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:17:49] local.INFO: Processing buffer {"connection_id":148494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:17:49] local.INFO: IMEI packet received {"connection_id":148494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":148494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:17:50] local.INFO: TCP Data received {"connection_id":148494,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbdbad60012d15808006d70b280011013628..."} 
[2026-08-01 11:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbdbad60012d15808006d70b280011013628..."} 
[2026-08-01 11:17:50] local.INFO: Processing buffer {"connection_id":148494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbdbad60012d15808006d70b280011013628..."} 
[2026-08-01 11:17:50] local.INFO: Packet analysis {"connection_id":148494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbdb"} 
[2026-08-01 11:17:50] local.INFO: Extracted packet for processing {"connection_id":148494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbdb"} 
[2026-08-01 11:17:50] local.INFO: GPS Element Parsed {"raw_longitude":756383872,"raw_latitude":114756392,"longitude_deg":75.6383872,"latitude_deg":11.4756392,"altitude":17,"angle":310,"satellites":40,"speed":7,"hex_longitude":"2d158080","hex_latitude":"06d70b28","is_valid_coordinates":true} 
[2026-08-01 11:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:17:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104164608001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:17:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366328798741790720,"note":"Value kept but may cause issues"} 
[2026-08-01 11:17:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1552475263424669696,"note":"Value kept but may cause issues"} 
[2026-08-01 11:17:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:17:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785563164000,"timestamp_ms":1785563164000,"timestamp_seconds":1785563164,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbdbad60"} 
[2026-08-01 11:17:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:17:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 11:17:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:17:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:17:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:17:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:17:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:17:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:17:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:17:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:17:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:17:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:17:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104164608001,"66":27876,"46":206,"81":20480,"24":7,"16":366328798741790720,"45":1552475263424669696},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-08-01 11:17:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:17:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:17:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104164608001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:17:50] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-08-01 11:17:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:17:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366328798741790720,"km_value":366328798741790.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:17:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1552475263424669696,"description":"Unknown IO ID 45"} 
[2026-08-01 11:17:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104164608001,"power":27876,"unknown_46":206,"unknown_81":20480,"ignition":7,"odometer":null,"unknown_45":1552475263424669696}} 
[2026-08-01 11:17:50] local.INFO: DEBUG: GPS processor result {"connection_id":148494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:17:50] local.INFO: GPS data processed {"connection_id":148494,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:17:50] local.INFO: Acknowledgment sent {"connection_id":148494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:18:06] local.INFO: TCP Data received {"connection_id":146173,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146173,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:18:06] local.INFO: Processing buffer {"connection_id":146173,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:18:06] local.INFO: IMEI packet received {"connection_id":146173,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":146173,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:18:09] local.INFO: TCP Data received {"connection_id":146173,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146173,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:18:09] local.INFO: Processing buffer {"connection_id":146173,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:18:09] local.INFO: IMEI packet received {"connection_id":146173,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":146173,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:18:10] local.INFO: TCP Data received {"connection_id":146173,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbdc7c68012d18c2c0072151e00046015324..."} 
[2026-08-01 11:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbdc7c68012d18c2c0072151e00046015324..."} 
[2026-08-01 11:18:10] local.INFO: Processing buffer {"connection_id":146173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbdc7c68012d18c2c0072151e00046015324..."} 
[2026-08-01 11:18:10] local.INFO: Packet analysis {"connection_id":146173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbdc"} 
[2026-08-01 11:18:10] local.INFO: Extracted packet for processing {"connection_id":146173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbdc"} 
[2026-08-01 11:18:10] local.INFO: GPS Element Parsed {"raw_longitude":756597440,"raw_latitude":119624160,"longitude_deg":75.659744,"latitude_deg":11.962416,"altitude":70,"angle":339,"satellites":36,"speed":24,"hex_longitude":"2d18c2c0","hex_latitude":"072151e0","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104182016001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10106466069381120,"note":"Value kept but may cause issues"} 
[2026-08-01 11:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784551382968328192,"note":"Value kept but may cause issues"} 
[2026-08-01 11:18: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-08-01 11:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785563217000,"timestamp_ms":1785563217000,"timestamp_seconds":1785563217,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbdc7c68"} 
[2026-08-01 11:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-01 11:18: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-08-01 11: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-08-01 11:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11: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-08-01 11:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104182016001,"66":14363,"103":206,"83":41984,"24":24,"16":10106466069381120,"45":1784551382968328192},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-01 11:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104182016001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:18:10] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 11:18:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10106466069381120,"km_value":10106466069381.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784551382968328192,"description":"Unknown IO ID 45"} 
[2026-08-01 11:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104182016001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1784551382968328192}} 
[2026-08-01 11:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":146173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:18:10] local.INFO: GPS data processed {"connection_id":146173,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:18:10] local.INFO: Acknowledgment sent {"connection_id":146173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:18:11] local.INFO: TCP Data received {"connection_id":146173,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbdc8438012d18c080072155f00046014423..."} 
[2026-08-01 11:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbdc8438012d18c080072155f00046014423..."} 
[2026-08-01 11:18:11] local.INFO: Processing buffer {"connection_id":146173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbdc8438012d18c080072155f00046014423..."} 
[2026-08-01 11:18:11] local.INFO: Packet analysis {"connection_id":146173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbdc"} 
[2026-08-01 11:18:11] local.INFO: Extracted packet for processing {"connection_id":146173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbdc"} 
[2026-08-01 11:18:11] local.INFO: GPS Element Parsed {"raw_longitude":756596864,"raw_latitude":119625200,"longitude_deg":75.6596864,"latitude_deg":11.96252,"altitude":70,"angle":324,"satellites":35,"speed":23,"hex_longitude":"2d18c080","hex_latitude":"072155f0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 11:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104183552001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10106521903955968,"note":"Value kept but may cause issues"} 
[2026-08-01 11:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784199539248455680,"note":"Value kept but may cause issues"} 
[2026-08-01 11:18: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-08-01 11:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785563219000,"timestamp_ms":1785563219000,"timestamp_seconds":1785563219,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbdc8438"} 
[2026-08-01 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-08-01 11:18: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-08-01 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":27,"data_length":795,"current_offset":136} 
[2026-08-01 11:18:11] 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-08-01 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-08-01 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-08-01 11:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104183552001,"66":14374,"103":206,"83":41984,"24":23,"16":10106521903955968,"45":1784199539248455680},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-01 11:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104183552001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:18:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 11:18:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10106521903955968,"km_value":10106521903955.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784199539248455680,"description":"Unknown IO ID 45"} 
[2026-08-01 11:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104183552001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1784199539248455680}} 
[2026-08-01 11:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":146173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576799,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:18:11] local.INFO: GPS data processed {"connection_id":146173,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:18:11] local.INFO: Acknowledgment sent {"connection_id":146173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:18:22] local.INFO: TCP Data received {"connection_id":148494,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbdbff68012d15708006d719580012013c27..."} 
[2026-08-01 11:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbdbff68012d15708006d719580012013c27..."} 
[2026-08-01 11:18:22] local.INFO: Processing buffer {"connection_id":148494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbdbff68012d15708006d719580012013c27..."} 
[2026-08-01 11:18:22] local.INFO: Packet analysis {"connection_id":148494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbdb"} 
[2026-08-01 11:18:22] local.INFO: Extracted packet for processing {"connection_id":148494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbdb"} 
[2026-08-01 11:18:22] local.INFO: GPS Element Parsed {"raw_longitude":756379776,"raw_latitude":114760024,"longitude_deg":75.6379776,"latitude_deg":11.4760024,"altitude":18,"angle":316,"satellites":39,"speed":10,"hex_longitude":"2d157080","hex_latitude":"06d71958","is_valid_coordinates":true} 
[2026-08-01 11:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104169984001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366329060734795776,"note":"Value kept but may cause issues"} 
[2026-08-01 11:18:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1549379038681442304,"note":"Value kept but may cause issues"} 
[2026-08-01 11:18:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785563185000,"timestamp_ms":1785563185000,"timestamp_seconds":1785563185,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbdbff68"} 
[2026-08-01 11:18:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:18:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 11:18:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:18:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:18:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:18:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104169984001,"66":27930,"46":206,"81":20480,"24":10,"16":366329060734795776,"45":1549379038681442304},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-08-01 11:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104169984001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:18:22] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-08-01 11:18:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366329060734795776,"km_value":366329060734795.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:18:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1549379038681442304,"description":"Unknown IO ID 45"} 
[2026-08-01 11:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104169984001,"power":27930,"unknown_46":206,"unknown_81":20480,"ignition":10,"odometer":null,"unknown_45":1549379038681442304}} 
[2026-08-01 11:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":148494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:18:22] local.INFO: GPS data processed {"connection_id":148494,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:18:22] local.INFO: Acknowledgment sent {"connection_id":148494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:18:43] local.INFO: TCP Data received {"connection_id":146173,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbdcc2b8012d18abc0072170c0004b013224..."} 
[2026-08-01 11:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbdcc2b8012d18abc0072170c0004b013224..."} 
[2026-08-01 11:18:43] local.INFO: Processing buffer {"connection_id":146173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbdcc2b8012d18abc0072170c0004b013224..."} 
[2026-08-01 11:18:43] local.INFO: Packet analysis {"connection_id":146173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbdc"} 
[2026-08-01 11:18:43] local.INFO: Extracted packet for processing {"connection_id":146173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbdc"} 
[2026-08-01 11:18:43] local.INFO: GPS Element Parsed {"raw_longitude":756591552,"raw_latitude":119632064,"longitude_deg":75.6591552,"latitude_deg":11.9632064,"altitude":75,"angle":306,"satellites":36,"speed":19,"hex_longitude":"2d18abc0","hex_latitude":"072170c0","is_valid_coordinates":true} 
[2026-08-01 11:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104184064001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10106938515783680,"note":"Value kept but may cause issues"} 
[2026-08-01 11:18:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783566220551122944,"note":"Value kept but may cause issues"} 
[2026-08-01 11:18: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-08-01 11:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785563235000,"timestamp_ms":1785563235000,"timestamp_seconds":1785563235,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbdcc2b8"} 
[2026-08-01 11:18:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:18: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-08-01 11:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-01 11:18:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:18:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:18:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":146173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":146173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":146173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:18:43] 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-08-01 11:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:18:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104184064001,"66":14461,"106":206,"83":41984,"24":19,"16":10106938515783680,"45":1783566220551122944},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-01 11:18:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:18:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:18:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104184064001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:18:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-01 11:18:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:18:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10106938515783680,"km_value":10106938515783.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:18:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783566220551122944,"description":"Unknown IO ID 45"} 
[2026-08-01 11:18:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104184064001,"power":14461,"unknown_106":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1783566220551122944}} 
[2026-08-01 11:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":146173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576801,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:18:43] local.INFO: GPS data processed {"connection_id":146173,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:18:43] local.INFO: Acknowledgment sent {"connection_id":146173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:18:44] local.INFO: TCP Data received {"connection_id":147172,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:18:44] local.INFO: Processing buffer {"connection_id":147172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:18:44] local.INFO: IMEI packet received {"connection_id":147172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":147172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:18:49] local.INFO: TCP Data received {"connection_id":147172,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:18:49] local.INFO: Processing buffer {"connection_id":147172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:18:49] local.INFO: IMEI packet received {"connection_id":147172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":147172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:18:50] local.INFO: TCP Data received {"connection_id":147172,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbdc5170012d155d8006d72f600012013d28..."} 
[2026-08-01 11:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbdc5170012d155d8006d72f600012013d28..."} 
[2026-08-01 11:18:50] local.INFO: Processing buffer {"connection_id":147172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbdc5170012d155d8006d72f600012013d28..."} 
[2026-08-01 11:18:50] local.INFO: Packet analysis {"connection_id":147172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbdc"} 
[2026-08-01 11:18:50] local.INFO: Extracted packet for processing {"connection_id":147172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbdc"} 
[2026-08-01 11:18:50] local.INFO: GPS Element Parsed {"raw_longitude":756374912,"raw_latitude":114765664,"longitude_deg":75.6374912,"latitude_deg":11.4765664,"altitude":18,"angle":317,"satellites":40,"speed":16,"hex_longitude":"2d155d80","hex_latitude":"06d72f60","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:18:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104175360001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:18:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366329421512048640,"note":"Value kept but may cause issues"} 
[2026-08-01 11:18:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1544875439055001600,"note":"Value kept but may cause issues"} 
[2026-08-01 11:18:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:18:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785563206000,"timestamp_ms":1785563206000,"timestamp_seconds":1785563206,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbdc5170"} 
[2026-08-01 11:18:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:18:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-01 11:18:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11: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-08-01 11:18:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:18:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:18:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:18:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:18:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:18:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:18:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:18:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:18:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104175360001,"66":27800,"183":206,"81":20480,"24":16,"16":366329421512048640,"45":1544875439055001600},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-01 11:18:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:18:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:18:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104175360001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:18:50] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-01 11:18:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:18:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366329421512048640,"km_value":366329421512048.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:18:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1544875439055001600,"description":"Unknown IO ID 45"} 
[2026-08-01 11:18:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104175360001,"power":27800,"unknown_183":206,"unknown_81":20480,"ignition":16,"odometer":null,"unknown_45":1544875439055001600}} 
[2026-08-01 11:18:50] local.INFO: DEBUG: GPS processor result {"connection_id":147172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:18:50] local.INFO: GPS data processed {"connection_id":147172,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:18:50] local.INFO: Acknowledgment sent {"connection_id":147172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:19:00] local.INFO: TCP Data received {"connection_id":148495,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:19:00] local.INFO: Processing buffer {"connection_id":148495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:19:00] local.INFO: IMEI packet received {"connection_id":148495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":148495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:19:00] local.INFO: TCP Data received {"connection_id":148495,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:19:00] local.INFO: Processing buffer {"connection_id":148495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:19:00] local.INFO: IMEI packet received {"connection_id":148495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":148495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:19:05] local.INFO: TCP Data received {"connection_id":148495,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:19:05] local.INFO: Processing buffer {"connection_id":148495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:19:05] local.INFO: IMEI packet received {"connection_id":148495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":148495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:19:06] local.INFO: TCP Data received {"connection_id":148495,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbdcce70012d18a680072173a8004b012325..."} 
[2026-08-01 11:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbdcce70012d18a680072173a8004b012325..."} 
[2026-08-01 11:19:06] local.INFO: Processing buffer {"connection_id":148495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbdcce70012d18a680072173a8004b012325..."} 
[2026-08-01 11:19:06] local.INFO: Packet analysis {"connection_id":148495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbdc"} 
[2026-08-01 11:19:06] local.INFO: Extracted packet for processing {"connection_id":148495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbdc"} 
[2026-08-01 11:19:06] local.INFO: GPS Element Parsed {"raw_longitude":756590208,"raw_latitude":119632808,"longitude_deg":75.6590208,"latitude_deg":11.9632808,"altitude":75,"angle":291,"satellites":37,"speed":21,"hex_longitude":"2d18a680","hex_latitude":"072173a8","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104188160001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10107015825195008,"note":"Value kept but may cause issues"} 
[2026-08-01 11:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777725614786134016,"note":"Value kept but may cause issues"} 
[2026-08-01 11:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785563238000,"timestamp_ms":1785563238000,"timestamp_seconds":1785563238,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbdcce70"} 
[2026-08-01 11:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-01 11:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11: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-08-01 11:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:19:06] 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-08-01 11:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104188160001,"66":14428,"106":206,"83":41984,"24":21,"16":10107015825195008,"45":1777725614786134016},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-01 11:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104188160001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:19:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-01 11:19:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10107015825195008,"km_value":10107015825195.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777725614786134016,"description":"Unknown IO ID 45"} 
[2026-08-01 11:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104188160001,"power":14428,"unknown_106":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1777725614786134016}} 
[2026-08-01 11:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":148495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576803,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:19:06] local.INFO: GPS data processed {"connection_id":148495,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:19:06] local.INFO: Acknowledgment sent {"connection_id":148495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:19:21] local.INFO: TCP Data received {"connection_id":147172,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbdca378012d15500006d73ec80012014029..."} 
[2026-08-01 11:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbdca378012d15500006d73ec80012014029..."} 
[2026-08-01 11:19:21] local.INFO: Processing buffer {"connection_id":147172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbdca378012d15500006d73ec80012014029..."} 
[2026-08-01 11:19:21] local.INFO: Packet analysis {"connection_id":147172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbdc"} 
[2026-08-01 11:19:21] local.INFO: Extracted packet for processing {"connection_id":147172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbdc"} 
[2026-08-01 11:19:21] local.INFO: GPS Element Parsed {"raw_longitude":756371456,"raw_latitude":114769608,"longitude_deg":75.6371456,"latitude_deg":11.4769608,"altitude":18,"angle":320,"satellites":41,"speed":0,"hex_longitude":"2d155000","hex_latitude":"06d73ec8","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104180736001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366329674915119104,"note":"Value kept but may cause issues"} 
[2026-08-01 11:19:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1539527414498942976,"note":"Value kept but may cause issues"} 
[2026-08-01 11:19:21] 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-08-01 11:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785563227000,"timestamp_ms":1785563227000,"timestamp_seconds":1785563227,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbdca378"} 
[2026-08-01 11:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:19:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 11:19:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11: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-08-01 11:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:19:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104180736001,"66":27745,"183":206,"81":20480,"24":0,"16":366329674915119104,"45":1539527414498942976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-01 11:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104180736001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:19:21] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-01 11:19:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366329674915119104,"km_value":366329674915119.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:19:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1539527414498942976,"description":"Unknown IO ID 45"} 
[2026-08-01 11:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104180736001,"power":27745,"unknown_183":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1539527414498942976}} 
[2026-08-01 11:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":147172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:19:21] local.INFO: GPS data processed {"connection_id":147172,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:19:21] local.INFO: Acknowledgment sent {"connection_id":147172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:19:37] local.INFO: TCP Data received {"connection_id":148495,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbdd0138012d18850007217fe0004b011d25..."} 
[2026-08-01 11:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbdd0138012d18850007217fe0004b011d25..."} 
[2026-08-01 11:19:37] local.INFO: Processing buffer {"connection_id":148495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbdd0138012d18850007217fe0004b011d25..."} 
[2026-08-01 11:19:37] local.INFO: Packet analysis {"connection_id":148495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbdd"} 
[2026-08-01 11:19:37] local.INFO: Extracted packet for processing {"connection_id":148495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbdd"} 
[2026-08-01 11:19:37] local.INFO: GPS Element Parsed {"raw_longitude":756581632,"raw_latitude":119635936,"longitude_deg":75.6581632,"latitude_deg":11.9635936,"altitude":75,"angle":285,"satellites":37,"speed":26,"hex_longitude":"2d188500","hex_latitude":"07217fe0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 11:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104188928001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10107449616891904,"note":"Value kept but may cause issues"} 
[2026-08-01 11:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776247871158593536,"note":"Value kept but may cause issues"} 
[2026-08-01 11:19:37] 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-08-01 11:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785563251000,"timestamp_ms":1785563251000,"timestamp_seconds":1785563251,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbdd0138"} 
[2026-08-01 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-08-01 11:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-01 11:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 11:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:19:37] 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-08-01 11:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104188928001,"66":13906,"106":206,"83":41984,"24":26,"16":10107449616891904,"45":1776247871158593536},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-01 11:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104188928001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:19:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-01 11:19:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10107449616891904,"km_value":10107449616891.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776247871158593536,"description":"Unknown IO ID 45"} 
[2026-08-01 11:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104188928001,"power":13906,"unknown_106":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1776247871158593536}} 
[2026-08-01 11:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":148495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:19:37] local.INFO: GPS data processed {"connection_id":148495,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:19:37] local.INFO: Acknowledgment sent {"connection_id":148495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:19:44] local.INFO: TCP Data received {"connection_id":146174,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:19:44] local.INFO: Processing buffer {"connection_id":146174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:19:44] local.INFO: IMEI packet received {"connection_id":146174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":146174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:19:45] local.INFO: TCP Data received {"connection_id":146174,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:19:45] local.INFO: Processing buffer {"connection_id":146174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:19:45] local.INFO: IMEI packet received {"connection_id":146174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":146174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:19:49] local.INFO: TCP Data received {"connection_id":146174,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:19:49] local.INFO: Processing buffer {"connection_id":146174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:19:49] local.INFO: IMEI packet received {"connection_id":146174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":146174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:19:50] local.INFO: TCP Data received {"connection_id":146174,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbde3da0012d146ac006d82cc80012013d29..."} 
[2026-08-01 11:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbde3da0012d146ac006d82cc80012013d29..."} 
[2026-08-01 11:19:50] local.INFO: Processing buffer {"connection_id":146174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbde3da0012d146ac006d82cc80012013d29..."} 
[2026-08-01 11:19:50] local.INFO: Packet analysis {"connection_id":146174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbde"} 
[2026-08-01 11:19:50] local.INFO: Extracted packet for processing {"connection_id":146174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbde"} 
[2026-08-01 11:19:50] local.INFO: GPS Element Parsed {"raw_longitude":756312768,"raw_latitude":114830536,"longitude_deg":75.6312768,"latitude_deg":11.4830536,"altitude":18,"angle":317,"satellites":41,"speed":52,"hex_longitude":"2d146ac0","hex_latitude":"06d82cc8","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104211200001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366333737954181120,"note":"Value kept but may cause issues"} 
[2026-08-01 11:19:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1478376975823476736,"note":"Value kept but may cause issues"} 
[2026-08-01 11:19:50] 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-08-01 11:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785563332000,"timestamp_ms":1785563332000,"timestamp_seconds":1785563332,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbde3da0"} 
[2026-08-01 11:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:19:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-01 11:19:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11: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-08-01 11:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:19:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104211200001,"66":27919,"184":206,"81":20480,"24":52,"16":366333737954181120,"45":1478376975823476736},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,81,24,16,45]} 
[2026-08-01 11:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104211200001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:19:50] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-08-01 11:19:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366333737954181120,"km_value":366333737954181.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:19:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1478376975823476736,"description":"Unknown IO ID 45"} 
[2026-08-01 11:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104211200001,"power":27919,"unknown_184":206,"unknown_81":20480,"ignition":52,"odometer":null,"unknown_45":1478376975823476736}} 
[2026-08-01 11:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":146174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:19:50] local.INFO: GPS data processed {"connection_id":146174,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:19:50] local.INFO: Acknowledgment sent {"connection_id":146174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:20:01] local.INFO: TCP Data received {"connection_id":148496,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:20:01] local.INFO: Processing buffer {"connection_id":148496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:20:01] local.INFO: IMEI packet received {"connection_id":148496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":148496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:20:03] local.INFO: TCP Data received {"connection_id":148496,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:20:03] local.INFO: Processing buffer {"connection_id":148496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:20:03] local.INFO: IMEI packet received {"connection_id":148496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":148496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:20:04] local.INFO: TCP Data received {"connection_id":148496,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:20:04] local.INFO: Processing buffer {"connection_id":148496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:20:04] local.INFO: IMEI packet received {"connection_id":148496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":148496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:20:04] local.INFO: TCP Data received {"connection_id":148496,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbde83f0012d181c800721a718004f015127..."} 
[2026-08-01 11:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbde83f0012d181c800721a718004f015127..."} 
[2026-08-01 11:20:04] local.INFO: Processing buffer {"connection_id":148496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbde83f0012d181c800721a718004f015127..."} 
[2026-08-01 11:20:04] local.INFO: Packet analysis {"connection_id":148496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbde"} 
[2026-08-01 11:20:04] local.INFO: Extracted packet for processing {"connection_id":148496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbde"} 
[2026-08-01 11:20:04] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119645976,"longitude_deg":75.655488,"latitude_deg":11.9645976,"altitude":79,"angle":337,"satellites":39,"speed":2,"hex_longitude":"2d181c80","hex_latitude":"0721a718","is_valid_coordinates":true} 
[2026-08-01 11:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104217088001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10108854071197696,"note":"Value kept but may cause issues"} 
[2026-08-01 11:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324375865344,"note":"Value kept but may cause issues"} 
[2026-08-01 11:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785563350000,"timestamp_ms":1785563350000,"timestamp_seconds":1785563350,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbde83f0"} 
[2026-08-01 11:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:20:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-01 11:20:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 11:20:04] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3925868544,"note":"Value kept but may cause issues"} 
[2026-08-01 11:20:04] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3151858160,"note":"Value kept but may cause issues"} 
[2026-08-01 11:20:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788854,"note":"Value kept but may cause issues"} 
[2026-08-01 11:20:04] local.WARNING: Large IO value detected {"io_id":187,"raw_value":3720900609,"note":"Value kept but may cause issues"} 
[2026-08-01 11:20:04] local.WARNING: Large IO value detected {"io_id":33,"raw_value":-8574853346896501504,"note":"Value kept but may cause issues"} 
[2026-08-01 11:20:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-01 11:20:04] local.WARNING: Large IO value detected {"io_id":41,"raw_value":2147951004,"note":"Value kept but may cause issues"} 
[2026-08-01 11:20:04] local.WARNING: Large IO value detected {"io_id":35,"raw_value":3921739776,"note":"Value kept but may cause issues"} 
[2026-08-01 11:20:04] local.WARNING: Large IO value detected {"io_id":224,"raw_value":57819369443316644,"note":"Value kept but may cause issues"} 
[2026-08-01 11:20:04] local.WARNING: Large IO value detected {"io_id":221,"raw_value":5998795996850683911,"note":"Value kept but may cause issues"} 
[2026-08-01 11:20:04] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,105,83,24,241,157,16,233,159,116,45,166,79,38,10,66,108,64,165,26,128,1,240,109,227,187,33,4,113,205,161,41,48,239,55,2,35,7,22,224,221],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-01 11:20:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692908532995915776,"timestamp_seconds":5692908532995916.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 11:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":148496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":148496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":148496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104217088001,"66":13276,"105":206,"83":41984,"24":2,"16":10108854071197696,"45":1737404324375865344},"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-08-01 11:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104217088001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:20:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:20:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10108854071197696,"km_value":10108854071197.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324375865344,"description":"Unknown IO ID 45"} 
[2026-08-01 11:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104217088001,"power":13276,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1737404324375865344}} 
[2026-08-01 11:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":148496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576807,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:20:05] local.INFO: GPS data processed {"connection_id":148496,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:20:05] local.INFO: Acknowledgment sent {"connection_id":148496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:20:05] local.INFO: TCP Data received {"connection_id":148496,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbde87d8012d181c800721a788004f016026..."} 
[2026-08-01 11:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbde87d8012d181c800721a788004f016026..."} 
[2026-08-01 11:20:05] local.INFO: Processing buffer {"connection_id":148496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbde87d8012d181c800721a788004f016026..."} 
[2026-08-01 11:20:05] local.INFO: Packet analysis {"connection_id":148496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbde"} 
[2026-08-01 11:20:05] local.INFO: Extracted packet for processing {"connection_id":148496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbde"} 
[2026-08-01 11:20:05] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119646088,"longitude_deg":75.655488,"latitude_deg":11.9646088,"altitude":79,"angle":352,"satellites":38,"speed":4,"hex_longitude":"2d181c80","hex_latitude":"0721a788","is_valid_coordinates":true} 
[2026-08-01 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-08-01 11:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104217600001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10108862661132288,"note":"Value kept but may cause issues"} 
[2026-08-01 11:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324375894016,"note":"Value kept but may cause issues"} 
[2026-08-01 11:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785563351000,"timestamp_ms":1785563351000,"timestamp_seconds":1785563351,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbde87d8"} 
[2026-08-01 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-08-01 11:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-01 11:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 11:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104217600001,"66":13276,"105":206,"83":41984,"24":4,"16":10108862661132288,"45":1737404324375894016},"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-08-01 11:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104217600001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:20:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:20:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10108862661132288,"km_value":10108862661132.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324375894016,"description":"Unknown IO ID 45"} 
[2026-08-01 11:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104217600001,"power":13276,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1737404324375894016}} 
[2026-08-01 11:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":148496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576808,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:20:05] local.INFO: GPS data processed {"connection_id":148496,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:20:05] local.INFO: Acknowledgment sent {"connection_id":148496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:20:23] local.INFO: TCP Data received {"connection_id":146174,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbde58f8012d14534006d849680011014627..."} 
[2026-08-01 11:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbde58f8012d14534006d849680011014627..."} 
[2026-08-01 11:20:23] local.INFO: Processing buffer {"connection_id":146174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbde58f8012d14534006d849680011014627..."} 
[2026-08-01 11:20:23] local.INFO: Packet analysis {"connection_id":146174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbde"} 
[2026-08-01 11:20:23] local.INFO: Extracted packet for processing {"connection_id":146174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbde"} 
[2026-08-01 11:20:23] local.INFO: GPS Element Parsed {"raw_longitude":756306752,"raw_latitude":114837864,"longitude_deg":75.6306752,"latitude_deg":11.4837864,"altitude":17,"angle":326,"satellites":39,"speed":54,"hex_longitude":"2d145340","hex_latitude":"06d84968","is_valid_coordinates":true} 
[2026-08-01 11:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104212992001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366334197515681792,"note":"Value kept but may cause issues"} 
[2026-08-01 11:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1471199363919038464,"note":"Value kept but may cause issues"} 
[2026-08-01 11:20:23] 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-08-01 11:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785563339000,"timestamp_ms":1785563339000,"timestamp_seconds":1785563339,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbde58f8"} 
[2026-08-01 11:20:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:20:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 11:20:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:20:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:20:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":146174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":146174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":146174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:20:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104212992001,"66":27876,"184":206,"81":20480,"24":54,"16":366334197515681792,"45":1471199363919038464},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,81,24,16,45]} 
[2026-08-01 11:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104212992001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:20:23] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-08-01 11:20:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366334197515681792,"km_value":366334197515681.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:20:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1471199363919038464,"description":"Unknown IO ID 45"} 
[2026-08-01 11:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104212992001,"power":27876,"unknown_184":206,"unknown_81":20480,"ignition":54,"odometer":null,"unknown_45":1471199363919038464}} 
[2026-08-01 11:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":146174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:20:23] local.INFO: GPS data processed {"connection_id":146174,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:20:23] local.INFO: Acknowledgment sent {"connection_id":146174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:20:36] local.INFO: TCP Data received {"connection_id":148496,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbde8bc0012d181c800721a860004f000a27..."} 
[2026-08-01 11:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbde8bc0012d181c800721a860004f000a27..."} 
[2026-08-01 11:20:36] local.INFO: Processing buffer {"connection_id":148496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbde8bc0012d181c800721a860004f000a27..."} 
[2026-08-01 11:20:36] local.INFO: Packet analysis {"connection_id":148496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbde"} 
[2026-08-01 11:20:36] local.INFO: Extracted packet for processing {"connection_id":148496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbde"} 
[2026-08-01 11:20:36] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119646304,"longitude_deg":75.655488,"latitude_deg":11.9646304,"altitude":79,"angle":10,"satellites":39,"speed":12,"hex_longitude":"2d181c80","hex_latitude":"0721a860","is_valid_coordinates":true} 
[2026-08-01 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-08-01 11:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104217856001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10108871251066880,"note":"Value kept but may cause issues"} 
[2026-08-01 11:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324375922688,"note":"Value kept but may cause issues"} 
[2026-08-01 11:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785563352000,"timestamp_ms":1785563352000,"timestamp_seconds":1785563352,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbde8bc0"} 
[2026-08-01 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-08-01 11:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-01 11:20:36] 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-08-01 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-08-01 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-08-01 11:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104217856001,"66":13015,"105":206,"83":41984,"24":12,"16":10108871251066880,"45":1737404324375922688},"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-08-01 11:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104217856001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:20:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:20:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10108871251066880,"km_value":10108871251066.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324375922688,"description":"Unknown IO ID 45"} 
[2026-08-01 11:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104217856001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1737404324375922688}} 
[2026-08-01 11:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":148496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576810,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:20:36] local.INFO: GPS data processed {"connection_id":148496,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:20:36] local.INFO: Acknowledgment sent {"connection_id":148496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:20:49] local.INFO: TCP Data received {"connection_id":145961,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:20:49] local.INFO: Processing buffer {"connection_id":145961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:20:49] local.INFO: IMEI packet received {"connection_id":145961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":145961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:20:52] local.INFO: TCP Data received {"connection_id":145961,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:20:52] local.INFO: Processing buffer {"connection_id":145961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:20:52] local.INFO: IMEI packet received {"connection_id":145961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":145961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:20:54] local.INFO: TCP Data received {"connection_id":145961,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbde7450012d14418006d86aa80011014f27..."} 
[2026-08-01 11:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbde7450012d14418006d86aa80011014f27..."} 
[2026-08-01 11:20:54] local.INFO: Processing buffer {"connection_id":145961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbde7450012d14418006d86aa80011014f27..."} 
[2026-08-01 11:20:54] local.INFO: Packet analysis {"connection_id":145961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbde"} 
[2026-08-01 11:20:54] local.INFO: Extracted packet for processing {"connection_id":145961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbde"} 
[2026-08-01 11:20:54] local.INFO: GPS Element Parsed {"raw_longitude":756302208,"raw_latitude":114846376,"longitude_deg":75.6302208,"latitude_deg":11.4846376,"altitude":17,"angle":335,"satellites":39,"speed":54,"hex_longitude":"2d144180","hex_latitude":"06d86aa8","is_valid_coordinates":true} 
[2026-08-01 11:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104214784001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366334661372149760,"note":"Value kept but may cause issues"} 
[2026-08-01 11:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1464584701968214016,"note":"Value kept but may cause issues"} 
[2026-08-01 11:20:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785563346000,"timestamp_ms":1785563346000,"timestamp_seconds":1785563346,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbde7450"} 
[2026-08-01 11:20:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:20:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 11:20:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:20:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:20:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":145961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":145961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":145961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:20:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104214784001,"66":27767,"184":206,"81":20480,"24":54,"16":366334661372149760,"45":1464584701968214016},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,81,24,16,45]} 
[2026-08-01 11:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104214784001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:20:54] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-08-01 11:20:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366334661372149760,"km_value":366334661372149.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1464584701968214016,"description":"Unknown IO ID 45"} 
[2026-08-01 11:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104214784001,"power":27767,"unknown_184":206,"unknown_81":20480,"ignition":54,"odometer":null,"unknown_45":1464584701968214016}} 
[2026-08-01 11:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":145961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:20:54] local.INFO: GPS data processed {"connection_id":145961,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:20:54] local.INFO: Acknowledgment sent {"connection_id":145961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:20:55] local.INFO: TCP Data received {"connection_id":145961,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbde9390012d14328006d88b280010014f2b..."} 
[2026-08-01 11:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbde9390012d14328006d88b280010014f2b..."} 
[2026-08-01 11:20:55] local.INFO: Processing buffer {"connection_id":145961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbde9390012d14328006d88b280010014f2b..."} 
[2026-08-01 11:20:55] local.INFO: Packet analysis {"connection_id":145961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbde"} 
[2026-08-01 11:20:55] local.INFO: Extracted packet for processing {"connection_id":145961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbde"} 
[2026-08-01 11:20:55] local.INFO: GPS Element Parsed {"raw_longitude":756298368,"raw_latitude":114854696,"longitude_deg":75.6298368,"latitude_deg":11.4854696,"altitude":16,"angle":335,"satellites":43,"speed":38,"hex_longitude":"2d143280","hex_latitude":"06d88b28","is_valid_coordinates":true} 
[2026-08-01 11:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104216576001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366335103753781248,"note":"Value kept but may cause issues"} 
[2026-08-01 11:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1459588521133778944,"note":"Value kept but may cause issues"} 
[2026-08-01 11:20:55] 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-08-01 11:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785563354000,"timestamp_ms":1785563354000,"timestamp_seconds":1785563354,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbde9390"} 
[2026-08-01 11:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:20: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-08-01 11:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 11:20:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":145961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":145961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":145961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104216576001,"66":27767,"184":206,"81":20480,"24":38,"16":366335103753781248,"45":1459588521133778944},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,81,24,16,45]} 
[2026-08-01 11:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104216576001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:20:55] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-08-01 11:20:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366335103753781248,"km_value":366335103753781.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1459588521133778944,"description":"Unknown IO ID 45"} 
[2026-08-01 11:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104216576001,"power":27767,"unknown_184":206,"unknown_81":20480,"ignition":38,"odometer":null,"unknown_45":1459588521133778944}} 
[2026-08-01 11:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":145961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:20:55] local.INFO: GPS data processed {"connection_id":145961,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:20:55] local.INFO: Acknowledgment sent {"connection_id":145961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:21:01] local.INFO: TCP Data received {"connection_id":147173,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147173,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:21:01] local.INFO: Processing buffer {"connection_id":147173,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:21:01] local.INFO: IMEI packet received {"connection_id":147173,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":147173,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:21:06] local.INFO: TCP Data received {"connection_id":147173,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147173,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:21:06] local.INFO: Processing buffer {"connection_id":147173,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:21:06] local.INFO: IMEI packet received {"connection_id":147173,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":147173,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:21:07] local.INFO: TCP Data received {"connection_id":147173,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbde8fa8012d181d000721a988004f001d27..."} 
[2026-08-01 11:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbde8fa8012d181d000721a988004f001d27..."} 
[2026-08-01 11:21:07] local.INFO: Processing buffer {"connection_id":147173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbde8fa8012d181d000721a988004f001d27..."} 
[2026-08-01 11:21:07] local.INFO: Packet analysis {"connection_id":147173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbde"} 
[2026-08-01 11:21:07] local.INFO: Extracted packet for processing {"connection_id":147173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbde"} 
[2026-08-01 11:21:07] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119646600,"longitude_deg":75.6555008,"latitude_deg":11.96466,"altitude":79,"angle":29,"satellites":39,"speed":14,"hex_longitude":"2d181d00","hex_latitude":"0721a988","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104218112001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10108888430936064,"note":"Value kept but may cause issues"} 
[2026-08-01 11:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324375977984,"note":"Value kept but may cause issues"} 
[2026-08-01 11:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785563353000,"timestamp_ms":1785563353000,"timestamp_seconds":1785563353,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbde8fa8"} 
[2026-08-01 11:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-01 11:21:07] 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-08-01 11: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-08-01 11:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":147173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":147173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":147173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:21: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-08-01 11:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104218112001,"66":13015,"105":206,"83":41984,"24":14,"16":10108888430936064,"45":1737404324375977984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104218112001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:21:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:21:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10108888430936064,"km_value":10108888430936.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324375977984,"description":"Unknown IO ID 45"} 
[2026-08-01 11:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104218112001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1737404324375977984}} 
[2026-08-01 11:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":147173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576813,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:21:07] local.INFO: GPS data processed {"connection_id":147173,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:21:07] local.INFO: Acknowledgment sent {"connection_id":147173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:21:26] local.INFO: TCP Data received {"connection_id":145961,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbdec658012d14238006d8ac00000f014f2a..."} 
[2026-08-01 11:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbdec658012d14238006d8ac00000f014f2a..."} 
[2026-08-01 11:21:26] local.INFO: Processing buffer {"connection_id":145961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbdec658012d14238006d8ac00000f014f2a..."} 
[2026-08-01 11:21:26] local.INFO: Packet analysis {"connection_id":145961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbde"} 
[2026-08-01 11:21:26] local.INFO: Extracted packet for processing {"connection_id":145961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbde"} 
[2026-08-01 11:21:26] local.INFO: GPS Element Parsed {"raw_longitude":756294528,"raw_latitude":114863104,"longitude_deg":75.6294528,"latitude_deg":11.4863104,"altitude":15,"angle":335,"satellites":42,"speed":12,"hex_longitude":"2d142380","hex_latitude":"06d8ac00","is_valid_coordinates":true} 
[2026-08-01 11:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104218624001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366335550430380032,"note":"Value kept but may cause issues"} 
[2026-08-01 11:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1455366396485249024,"note":"Value kept but may cause issues"} 
[2026-08-01 11:21:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785563367000,"timestamp_ms":1785563367000,"timestamp_seconds":1785563367,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbdec658"} 
[2026-08-01 11:21:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:21: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-08-01 11:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 11:21: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-08-01 11:21:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:21:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":145961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":145961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":145961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:21:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104218624001,"66":27767,"184":206,"81":20480,"24":12,"16":366335550430380032,"45":1455366396485249024},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,81,24,16,45]} 
[2026-08-01 11:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104218624001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:21:26] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-08-01 11:21:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366335550430380032,"km_value":366335550430380.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1455366396485249024,"description":"Unknown IO ID 45"} 
[2026-08-01 11:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104218624001,"power":27767,"unknown_184":206,"unknown_81":20480,"ignition":12,"odometer":null,"unknown_45":1455366396485249024}} 
[2026-08-01 11:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":145961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:21:26] local.INFO: GPS data processed {"connection_id":145961,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:21:26] local.INFO: Acknowledgment sent {"connection_id":145961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:21:38] local.INFO: TCP Data received {"connection_id":147173,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbdebe88012d1825000721b7880050016127..."} 
[2026-08-01 11:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbdebe88012d1825000721b7880050016127..."} 
[2026-08-01 11:21:38] local.INFO: Processing buffer {"connection_id":147173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbdebe88012d1825000721b7880050016127..."} 
[2026-08-01 11:21:38] local.INFO: Packet analysis {"connection_id":147173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbde"} 
[2026-08-01 11:21:38] local.INFO: Extracted packet for processing {"connection_id":147173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbde"} 
[2026-08-01 11:21:38] local.INFO: GPS Element Parsed {"raw_longitude":756557056,"raw_latitude":119650184,"longitude_deg":75.6557056,"latitude_deg":11.9650184,"altitude":80,"angle":353,"satellites":39,"speed":8,"hex_longitude":"2d182500","hex_latitude":"0721b788","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104218368001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109090294398976,"note":"Value kept but may cause issues"} 
[2026-08-01 11:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864409088,"note":"Value kept but may cause issues"} 
[2026-08-01 11:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785563365000,"timestamp_ms":1785563365000,"timestamp_seconds":1785563365,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbdebe88"} 
[2026-08-01 11:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:21:38] 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-08-01 11: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-01 11:21: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-08-01 11: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-08-01 11:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":147173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":147173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":147173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:21:38] 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-08-01 11:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104218368001,"66":12993,"105":206,"83":41984,"24":8,"16":10109090294398976,"45":1737545061864409088},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104218368001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:21:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:21:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109090294398976,"km_value":10109090294398.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864409088,"description":"Unknown IO ID 45"} 
[2026-08-01 11:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104218368001,"power":12993,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1737545061864409088}} 
[2026-08-01 11:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":147173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576815,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:21:38] local.INFO: GPS data processed {"connection_id":147173,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:21:38] local.INFO: Acknowledgment sent {"connection_id":147173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:21:44] local.INFO: TCP Data received {"connection_id":145962,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:21:44] local.INFO: Processing buffer {"connection_id":145962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:21:44] local.INFO: IMEI packet received {"connection_id":145962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":145962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:21:45] local.INFO: TCP Data received {"connection_id":145962,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:21:45] local.INFO: Processing buffer {"connection_id":145962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:21:45] local.INFO: IMEI packet received {"connection_id":145962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":145962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:21:49] local.INFO: TCP Data received {"connection_id":145962,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbdf1860012d141ac006d8bf80000f015125..."} 
[2026-08-01 11:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbdf1860012d141ac006d8bf80000f015125..."} 
[2026-08-01 11:21:49] local.INFO: Processing buffer {"connection_id":145962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbdf1860012d141ac006d8bf80000f015125..."} 
[2026-08-01 11:21:49] local.INFO: Packet analysis {"connection_id":145962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbdf"} 
[2026-08-01 11:21:49] local.INFO: Extracted packet for processing {"connection_id":145962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbdf"} 
[2026-08-01 11:21:49] local.INFO: GPS Element Parsed {"raw_longitude":756292288,"raw_latitude":114868096,"longitude_deg":75.6292288,"latitude_deg":11.4868096,"altitude":15,"angle":337,"satellites":37,"speed":16,"hex_longitude":"2d141ac0","hex_latitude":"06d8bf80","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104221952001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366335816718352384,"note":"Value kept but may cause issues"} 
[2026-08-01 11:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1451144271836741632,"note":"Value kept but may cause issues"} 
[2026-08-01 11:21:49] 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-08-01 11:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785563388000,"timestamp_ms":1785563388000,"timestamp_seconds":1785563388,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbdf1860"} 
[2026-08-01 11:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:21: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-08-01 11:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 11:21:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11: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-08-01 11:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":145962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":145962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":145962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104221952001,"66":27767,"184":206,"81":20480,"24":16,"16":366335816718352384,"45":1451144271836741632},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,81,24,16,45]} 
[2026-08-01 11:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104221952001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:21:49] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-08-01 11:21:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366335816718352384,"km_value":366335816718352.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1451144271836741632,"description":"Unknown IO ID 45"} 
[2026-08-01 11:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104221952001,"power":27767,"unknown_184":206,"unknown_81":20480,"ignition":16,"odometer":null,"unknown_45":1451144271836741632}} 
[2026-08-01 11:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":145962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:21:49] local.INFO: GPS data processed {"connection_id":145962,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:21:49] local.INFO: Acknowledgment sent {"connection_id":145962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:21:50] local.INFO: TCP Data received {"connection_id":145962,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbdf52f8012d1409c006d8e090000d014926..."} 
[2026-08-01 11:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbdf52f8012d1409c006d8e090000d014926..."} 
[2026-08-01 11:21:50] local.INFO: Processing buffer {"connection_id":145962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbdf52f8012d1409c006d8e090000d014926..."} 
[2026-08-01 11:21:50] local.INFO: Packet analysis {"connection_id":145962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbdf"} 
[2026-08-01 11:21:50] local.INFO: Extracted packet for processing {"connection_id":145962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbdf"} 
[2026-08-01 11:21:50] local.INFO: GPS Element Parsed {"raw_longitude":756287936,"raw_latitude":114876560,"longitude_deg":75.6287936,"latitude_deg":11.487656,"altitude":13,"angle":329,"satellites":38,"speed":31,"hex_longitude":"2d1409c0","hex_latitude":"06d8e090","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:21:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104227328001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:21:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366336276279853056,"note":"Value kept but may cause issues"} 
[2026-08-01 11:21:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1448681365791801344,"note":"Value kept but may cause issues"} 
[2026-08-01 11:21:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:21:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785563403000,"timestamp_ms":1785563403000,"timestamp_seconds":1785563403,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbdf52f8"} 
[2026-08-01 11:21:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:21: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-08-01 11:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 11:21:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11: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-08-01 11:21:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:21:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:21:50] local.INFO: Teltonika packet parsed successfully {"connection_id":145962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:21:50] local.INFO: Passing IMEI to GPS processor {"connection_id":145962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:21:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":145962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:21:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:21:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:21:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:21:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104227328001,"66":27865,"89":206,"81":20480,"24":31,"16":366336276279853056,"45":1448681365791801344},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,81,24,16,45]} 
[2026-08-01 11:21:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:21:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:21:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104227328001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:21:50] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 11:21:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:21:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366336276279853056,"km_value":366336276279853.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:21:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1448681365791801344,"description":"Unknown IO ID 45"} 
[2026-08-01 11:21:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104227328001,"power":27865,"unknown_89":206,"unknown_81":20480,"ignition":31,"odometer":null,"unknown_45":1448681365791801344}} 
[2026-08-01 11:21:50] local.INFO: DEBUG: GPS processor result {"connection_id":145962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:21:50] local.INFO: GPS data processed {"connection_id":145962,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:21:50] local.INFO: Acknowledgment sent {"connection_id":145962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:22:00] local.INFO: TCP Data received {"connection_id":148497,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148497,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:22:00] local.INFO: Processing buffer {"connection_id":148497,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:22:00] local.INFO: IMEI packet received {"connection_id":148497,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":148497,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:22:06] local.INFO: TCP Data received {"connection_id":148497,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148497,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:22:06] local.INFO: Processing buffer {"connection_id":148497,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:22:06] local.INFO: IMEI packet received {"connection_id":148497,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":148497,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:22:07] local.INFO: TCP Data received {"connection_id":148497,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbdec270012d1824c00721b8000050012027..."} 
[2026-08-01 11:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbdec270012d1824c00721b8000050012027..."} 
[2026-08-01 11:22:07] local.INFO: Processing buffer {"connection_id":148497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbdec270012d1824c00721b8000050012027..."} 
[2026-08-01 11:22:07] local.INFO: Packet analysis {"connection_id":148497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbde"} 
[2026-08-01 11:22:07] local.INFO: Extracted packet for processing {"connection_id":148497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbde"} 
[2026-08-01 11:22:07] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650304,"longitude_deg":75.6556992,"latitude_deg":11.9650304,"altitude":80,"angle":288,"satellites":39,"speed":6,"hex_longitude":"2d1824c0","hex_latitude":"0721b800","is_valid_coordinates":true} 
[2026-08-01 11:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104221440001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109094589366272,"note":"Value kept but may cause issues"} 
[2026-08-01 11:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861679011840,"note":"Value kept but may cause issues"} 
[2026-08-01 11:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785563366000,"timestamp_ms":1785563366000,"timestamp_seconds":1785563366,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbdec270"} 
[2026-08-01 11:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-01 11:22:07] 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-08-01 11:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":148497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":148497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":148497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:22: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-08-01 11:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104221440001,"66":13254,"105":206,"83":41984,"24":6,"16":10109094589366272,"45":1739796861679011840},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104221440001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:22:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:22:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109094589366272,"km_value":10109094589366.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861679011840,"description":"Unknown IO ID 45"} 
[2026-08-01 11:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104221440001,"power":13254,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739796861679011840}} 
[2026-08-01 11:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":148497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576818,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:22:07] local.INFO: GPS data processed {"connection_id":148497,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:22:07] local.INFO: Acknowledgment sent {"connection_id":148497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:22:21] local.INFO: TCP Data received {"connection_id":145962,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbdf7df0012d13f58006d90158000e014728..."} 
[2026-08-01 11:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbdf7df0012d13f58006d90158000e014728..."} 
[2026-08-01 11:22:21] local.INFO: Processing buffer {"connection_id":145962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbdf7df0012d13f58006d90158000e014728..."} 
[2026-08-01 11:22:21] local.INFO: Packet analysis {"connection_id":145962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbdf"} 
[2026-08-01 11:22:21] local.INFO: Extracted packet for processing {"connection_id":145962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbdf"} 
[2026-08-01 11:22:21] local.INFO: GPS Element Parsed {"raw_longitude":756282752,"raw_latitude":114884952,"longitude_deg":75.6282752,"latitude_deg":11.4884952,"altitude":14,"angle":327,"satellites":40,"speed":39,"hex_longitude":"2d13f580","hex_latitude":"06d90158","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104231168001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366336753021222912,"note":"Value kept but may cause issues"} 
[2026-08-01 11:22:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1443896291189886976,"note":"Value kept but may cause issues"} 
[2026-08-01 11:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785563414000,"timestamp_ms":1785563414000,"timestamp_seconds":1785563414,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbdf7df0"} 
[2026-08-01 11:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:22: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-08-01 11:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 11:22:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11: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-08-01 11:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":145962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":145962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":145962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:22:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104231168001,"66":27745,"89":206,"81":20480,"24":39,"16":366336753021222912,"45":1443896291189886976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,81,24,16,45]} 
[2026-08-01 11:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104231168001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:22:21] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 11:22:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366336753021222912,"km_value":366336753021222.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:22:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1443896291189886976,"description":"Unknown IO ID 45"} 
[2026-08-01 11:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104231168001,"power":27745,"unknown_89":206,"unknown_81":20480,"ignition":39,"odometer":null,"unknown_45":1443896291189886976}} 
[2026-08-01 11:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":145962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:22:21] local.INFO: GPS data processed {"connection_id":145962,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:22:21] local.INFO: Acknowledgment sent {"connection_id":145962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:22:38] local.INFO: TCP Data received {"connection_id":148497,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbdec658012d1824400721b7f80050010027..."} 
[2026-08-01 11:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbdec658012d1824400721b7f80050010027..."} 
[2026-08-01 11:22:38] local.INFO: Processing buffer {"connection_id":148497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbdec658012d1824400721b7f80050010027..."} 
[2026-08-01 11:22:38] local.INFO: Packet analysis {"connection_id":148497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbde"} 
[2026-08-01 11:22:38] local.INFO: Extracted packet for processing {"connection_id":148497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbde"} 
[2026-08-01 11:22:38] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650296,"longitude_deg":75.6556864,"latitude_deg":11.9650296,"altitude":80,"angle":256,"satellites":39,"speed":6,"hex_longitude":"2d182440","hex_latitude":"0721b7f8","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104221696001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109103179300864,"note":"Value kept but may cause issues"} 
[2026-08-01 11:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934864896,"note":"Value kept but may cause issues"} 
[2026-08-01 11:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785563367000,"timestamp_ms":1785563367000,"timestamp_seconds":1785563367,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbdec658"} 
[2026-08-01 11:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:22:38] 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-08-01 11: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-01 11:22:38] 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-08-01 11: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-08-01 11:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":148497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":148497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":148497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:22:38] 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-08-01 11:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104221696001,"66":13254,"105":206,"83":41984,"24":6,"16":10109103179300864,"45":1739726492934864896},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104221696001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:22:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:22:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109103179300864,"km_value":10109103179300.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934864896,"description":"Unknown IO ID 45"} 
[2026-08-01 11:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104221696001,"power":13254,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739726492934864896}} 
[2026-08-01 11:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":148497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:22:38] local.INFO: GPS data processed {"connection_id":148497,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:22:38] local.INFO: Acknowledgment sent {"connection_id":148497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:22:44] local.INFO: TCP Data received {"connection_id":148498,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:22:44] local.INFO: Processing buffer {"connection_id":148498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:22:44] local.INFO: IMEI packet received {"connection_id":148498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":148498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:22:49] local.INFO: TCP Data received {"connection_id":148498,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:22:49] local.INFO: Processing buffer {"connection_id":148498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:22:49] local.INFO: IMEI packet received {"connection_id":148498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":148498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:22:50] local.INFO: TCP Data received {"connection_id":148498,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbdfa500012d13e1c006d91ff0000f014927..."} 
[2026-08-01 11:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbdfa500012d13e1c006d91ff0000f014927..."} 
[2026-08-01 11:22:50] local.INFO: Processing buffer {"connection_id":148498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbdfa500012d13e1c006d91ff0000f014927..."} 
[2026-08-01 11:22:50] local.INFO: Packet analysis {"connection_id":148498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbdf"} 
[2026-08-01 11:22:50] local.INFO: Extracted packet for processing {"connection_id":148498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbdf"} 
[2026-08-01 11:22:50] local.INFO: GPS Element Parsed {"raw_longitude":756277696,"raw_latitude":114892784,"longitude_deg":75.6277696,"latitude_deg":11.4892784,"altitude":15,"angle":329,"satellites":39,"speed":36,"hex_longitude":"2d13e1c0","hex_latitude":"06d91ff0","is_valid_coordinates":true} 
[2026-08-01 11:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:22:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104233984001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:22:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366337203992788992,"note":"Value kept but may cause issues"} 
[2026-08-01 11:22:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1438196422913644544,"note":"Value kept but may cause issues"} 
[2026-08-01 11:22:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:22:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785563424000,"timestamp_ms":1785563424000,"timestamp_seconds":1785563424,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbdfa500"} 
[2026-08-01 11:22:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:22: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-08-01 11:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 11:22:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:22:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:22:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:22:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:22:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:22:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:22:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:22:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:22:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:22:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:22:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104233984001,"66":27800,"88":206,"81":20480,"24":36,"16":366337203992788992,"45":1438196422913644544},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,81,24,16,45]} 
[2026-08-01 11:22:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:22:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:22:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104233984001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:22:50] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-08-01 11:22:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:22:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366337203992788992,"km_value":366337203992789.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:22:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1438196422913644544,"description":"Unknown IO ID 45"} 
[2026-08-01 11:22:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104233984001,"power":27800,"unknown_88":206,"unknown_81":20480,"ignition":36,"odometer":null,"unknown_45":1438196422913644544}} 
[2026-08-01 11:22:50] local.INFO: DEBUG: GPS processor result {"connection_id":148498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:22:50] local.INFO: GPS data processed {"connection_id":148498,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:22:50] local.INFO: Acknowledgment sent {"connection_id":148498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:23:00] local.INFO: TCP Data received {"connection_id":146175,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146175,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:23:00] local.INFO: Processing buffer {"connection_id":146175,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:23:00] local.INFO: IMEI packet received {"connection_id":146175,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":146175,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:23:06] local.INFO: TCP Data received {"connection_id":146175,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146175,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:23:06] local.INFO: Processing buffer {"connection_id":146175,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:23:06] local.INFO: IMEI packet received {"connection_id":146175,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":146175,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:23:07] local.INFO: TCP Data received {"connection_id":146175,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbe0c9f8012d1821c00721b2e8005000d426..."} 
[2026-08-01 11:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbe0c9f8012d1821c00721b2e8005000d426..."} 
[2026-08-01 11:23:07] local.INFO: Processing buffer {"connection_id":146175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbe0c9f8012d1821c00721b2e8005000d426..."} 
[2026-08-01 11:23:07] local.INFO: Packet analysis {"connection_id":146175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbe0"} 
[2026-08-01 11:23:07] local.INFO: Extracted packet for processing {"connection_id":146175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbe0"} 
[2026-08-01 11:23:07] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649000,"longitude_deg":75.6556224,"latitude_deg":11.9649,"altitude":80,"angle":212,"satellites":38,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-01 11:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104250368001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109176193744896,"note":"Value kept but may cause issues"} 
[2026-08-01 11:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004399104,"note":"Value kept but may cause issues"} 
[2026-08-01 11:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785563499000,"timestamp_ms":1785563499000,"timestamp_seconds":1785563499,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbe0c9f8"} 
[2026-08-01 11:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-01 11:23:07] 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-08-01 11:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:23: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-08-01 11:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104250368001,"66":12863,"105":206,"83":41984,"24":0,"16":10109176193744896,"45":1738882068004399104},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104250368001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:23:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:23:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109176193744896,"km_value":10109176193744.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004399104,"description":"Unknown IO ID 45"} 
[2026-08-01 11:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104250368001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004399104}} 
[2026-08-01 11:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":146175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576822,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:23:07] local.INFO: GPS data processed {"connection_id":146175,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:23:07] local.INFO: Acknowledgment sent {"connection_id":146175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:23:22] local.INFO: TCP Data received {"connection_id":148498,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbe175d8012d13c44006da6148000b01642c..."} 
[2026-08-01 11:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbe175d8012d13c44006da6148000b01642c..."} 
[2026-08-01 11:23:22] local.INFO: Processing buffer {"connection_id":148498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbe175d8012d13c44006da6148000b01642c..."} 
[2026-08-01 11:23:22] local.INFO: Packet analysis {"connection_id":148498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbe1"} 
[2026-08-01 11:23:22] local.INFO: Extracted packet for processing {"connection_id":148498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbe1"} 
[2026-08-01 11:23:22] local.INFO: GPS Element Parsed {"raw_longitude":756270144,"raw_latitude":114975048,"longitude_deg":75.6270144,"latitude_deg":11.4975048,"altitude":11,"angle":356,"satellites":44,"speed":11,"hex_longitude":"2d13c440","hex_latitude":"06da6148","is_valid_coordinates":true} 
[2026-08-01 11:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104266240001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366341258441916416,"note":"Value kept but may cause issues"} 
[2026-08-01 11:23:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1424193042845153280,"note":"Value kept but may cause issues"} 
[2026-08-01 11:23:22] 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-08-01 11:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785563543000,"timestamp_ms":1785563543000,"timestamp_seconds":1785563543,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbe175d8"} 
[2026-08-01 11:23:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:23:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 11:23:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:23:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:23:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:23:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104266240001,"66":27767,"151":206,"81":20480,"24":11,"16":366341258441916416,"45":1424193042845153280},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,81,24,16,45]} 
[2026-08-01 11:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104266240001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:23:22] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-08-01 11:23:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366341258441916416,"km_value":366341258441916.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:23:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1424193042845153280,"description":"Unknown IO ID 45"} 
[2026-08-01 11:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104266240001,"power":27767,"unknown_151":206,"unknown_81":20480,"ignition":11,"odometer":null,"unknown_45":1424193042845153280}} 
[2026-08-01 11:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":148498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:23:22] local.INFO: GPS data processed {"connection_id":148498,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:23:22] local.INFO: Acknowledgment sent {"connection_id":148498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:23:38] local.INFO: TCP Data received {"connection_id":146175,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbe11c00012d1821c00721b2e8005000d426..."} 
[2026-08-01 11:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbe11c00012d1821c00721b2e8005000d426..."} 
[2026-08-01 11:23:38] local.INFO: Processing buffer {"connection_id":146175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbe11c00012d1821c00721b2e8005000d426..."} 
[2026-08-01 11:23:38] local.INFO: Packet analysis {"connection_id":146175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbe1"} 
[2026-08-01 11:23:38] local.INFO: Extracted packet for processing {"connection_id":146175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbe1"} 
[2026-08-01 11:23:38] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649000,"longitude_deg":75.6556224,"latitude_deg":11.9649,"altitude":80,"angle":212,"satellites":38,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-01 11:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104255744001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109176193744896,"note":"Value kept but may cause issues"} 
[2026-08-01 11:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004399104,"note":"Value kept but may cause issues"} 
[2026-08-01 11:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785563520000,"timestamp_ms":1785563520000,"timestamp_seconds":1785563520,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbe11c00"} 
[2026-08-01 11:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:23:38] 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-08-01 11:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-01 11:23:38] 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-08-01 11:23:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:23:38] 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-08-01 11:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104255744001,"66":12841,"105":206,"83":41984,"24":0,"16":10109176193744896,"45":1738882068004399104},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104255744001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:23:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:23:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109176193744896,"km_value":10109176193744.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004399104,"description":"Unknown IO ID 45"} 
[2026-08-01 11:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104255744001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004399104}} 
[2026-08-01 11:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":146175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576824,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:23:38] local.INFO: GPS data processed {"connection_id":146175,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:23:38] local.INFO: Acknowledgment sent {"connection_id":146175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:23:44] local.INFO: TCP Data received {"connection_id":148499,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:23:44] local.INFO: Processing buffer {"connection_id":148499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:23:44] local.INFO: IMEI packet received {"connection_id":148499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":148499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:23:46] local.INFO: TCP Data received {"connection_id":148499,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:23:46] local.INFO: Processing buffer {"connection_id":148499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:23:46] local.INFO: IMEI packet received {"connection_id":148499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":148499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:23:48] local.INFO: TCP Data received {"connection_id":148499,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbe18190012d13c3c006da6520000b01572c..."} 
[2026-08-01 11:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbe18190012d13c3c006da6520000b01572c..."} 
[2026-08-01 11:23:48] local.INFO: Processing buffer {"connection_id":148499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbe18190012d13c3c006da6520000b01572c..."} 
[2026-08-01 11:23:48] local.INFO: Packet analysis {"connection_id":148499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbe1"} 
[2026-08-01 11:23:48] local.INFO: Extracted packet for processing {"connection_id":148499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbe1"} 
[2026-08-01 11:23:48] local.INFO: GPS Element Parsed {"raw_longitude":756270016,"raw_latitude":114976032,"longitude_deg":75.6270016,"latitude_deg":11.4976032,"altitude":11,"angle":343,"satellites":44,"speed":15,"hex_longitude":"2d13c3c0","hex_latitude":"06da6520","is_valid_coordinates":true} 
[2026-08-01 11:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104267008001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366341305686556672,"note":"Value kept but may cause issues"} 
[2026-08-01 11:23:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1424333780333709312,"note":"Value kept but may cause issues"} 
[2026-08-01 11:23:48] 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-08-01 11:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785563546000,"timestamp_ms":1785563546000,"timestamp_seconds":1785563546,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbe18190"} 
[2026-08-01 11:23:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:23: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-08-01 11:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 11:23:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:23:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:23:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:23:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104267008001,"66":27800,"151":206,"81":20480,"24":15,"16":366341305686556672,"45":1424333780333709312},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,81,24,16,45]} 
[2026-08-01 11:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104267008001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:23:48] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-08-01 11:23:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366341305686556672,"km_value":366341305686556.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:23:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1424333780333709312,"description":"Unknown IO ID 45"} 
[2026-08-01 11:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104267008001,"power":27800,"unknown_151":206,"unknown_81":20480,"ignition":15,"odometer":null,"unknown_45":1424333780333709312}} 
[2026-08-01 11:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":148499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:23:48] local.INFO: GPS data processed {"connection_id":148499,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:23:48] local.INFO: Acknowledgment sent {"connection_id":148499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:24:01] local.INFO: TCP Data received {"connection_id":146176,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:24:01] local.INFO: Processing buffer {"connection_id":146176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:24:01] local.INFO: IMEI packet received {"connection_id":146176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":146176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:24:06] local.INFO: TCP Data received {"connection_id":146176,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:24:06] local.INFO: Processing buffer {"connection_id":146176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:24:06] local.INFO: IMEI packet received {"connection_id":146176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":146176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:24:10] local.INFO: TCP Data received {"connection_id":146176,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:24:10] local.INFO: Processing buffer {"connection_id":146176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:24:10] local.INFO: IMEI packet received {"connection_id":146176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":146176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:24:11] local.INFO: TCP Data received {"connection_id":146176,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbe16e08012d1821c00721b2e8005000d426..."} 
[2026-08-01 11:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbe16e08012d1821c00721b2e8005000d426..."} 
[2026-08-01 11:24:11] local.INFO: Processing buffer {"connection_id":146176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbe16e08012d1821c00721b2e8005000d426..."} 
[2026-08-01 11:24:11] local.INFO: Packet analysis {"connection_id":146176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbe1"} 
[2026-08-01 11:24:11] local.INFO: Extracted packet for processing {"connection_id":146176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbe1"} 
[2026-08-01 11:24:11] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649000,"longitude_deg":75.6556224,"latitude_deg":11.9649,"altitude":80,"angle":212,"satellites":38,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-01 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-08-01 11:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104261120001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109176193744896,"note":"Value kept but may cause issues"} 
[2026-08-01 11:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004399104,"note":"Value kept but may cause issues"} 
[2026-08-01 11: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-08-01 11:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785563541000,"timestamp_ms":1785563541000,"timestamp_seconds":1785563541,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbe16e08"} 
[2026-08-01 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-08-01 11:24: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-08-01 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-01 11:24: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-08-01 11: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-08-01 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-08-01 11:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:24: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-08-01 11:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104261120001,"66":12841,"105":206,"83":41984,"24":0,"16":10109176193744896,"45":1738882068004399104},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104261120001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:24:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:24:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109176193744896,"km_value":10109176193744.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004399104,"description":"Unknown IO ID 45"} 
[2026-08-01 11:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104261120001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004399104}} 
[2026-08-01 11:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":146176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576826,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:24:11] local.INFO: GPS data processed {"connection_id":146176,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:24:11] local.INFO: Acknowledgment sent {"connection_id":146176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:24:16] local.INFO: TCP Data received {"connection_id":146176,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbe1c010012d1821c00721b2e8005000d428..."} 
[2026-08-01 11:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbe1c010012d1821c00721b2e8005000d428..."} 
[2026-08-01 11:24:16] local.INFO: Processing buffer {"connection_id":146176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbe1c010012d1821c00721b2e8005000d428..."} 
[2026-08-01 11:24:16] local.INFO: Packet analysis {"connection_id":146176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbe1"} 
[2026-08-01 11:24:16] local.INFO: Extracted packet for processing {"connection_id":146176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbe1"} 
[2026-08-01 11:24:16] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649000,"longitude_deg":75.6556224,"latitude_deg":11.9649,"altitude":80,"angle":212,"satellites":40,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-01 11:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104266496001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109176193744896,"note":"Value kept but may cause issues"} 
[2026-08-01 11:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004399104,"note":"Value kept but may cause issues"} 
[2026-08-01 11:24: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-08-01 11:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785563562000,"timestamp_ms":1785563562000,"timestamp_seconds":1785563562,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbe1c010"} 
[2026-08-01 11:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:24: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-08-01 11:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-01 11:24: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-08-01 11:24:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":146176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":146176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":146176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:24: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-08-01 11:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104266496001,"66":12841,"105":206,"83":41984,"24":0,"16":10109176193744896,"45":1738882068004399104},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104266496001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:24:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:24:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109176193744896,"km_value":10109176193744.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004399104,"description":"Unknown IO ID 45"} 
[2026-08-01 11:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104266496001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004399104}} 
[2026-08-01 11:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":146176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:24:16] local.INFO: GPS data processed {"connection_id":146176,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:24:16] local.INFO: Acknowledgment sent {"connection_id":146176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:24:19] local.INFO: TCP Data received {"connection_id":148499,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbe1bc28012d13b80006da8718000b01532b..."} 
[2026-08-01 11:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbe1bc28012d13b80006da8718000b01532b..."} 
[2026-08-01 11:24:19] local.INFO: Processing buffer {"connection_id":148499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbe1bc28012d13b80006da8718000b01532b..."} 
[2026-08-01 11:24:19] local.INFO: Packet analysis {"connection_id":148499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbe1"} 
[2026-08-01 11:24:19] local.INFO: Extracted packet for processing {"connection_id":148499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbe1"} 
[2026-08-01 11:24:19] local.INFO: GPS Element Parsed {"raw_longitude":756267008,"raw_latitude":114984728,"longitude_deg":75.6267008,"latitude_deg":11.4984728,"altitude":11,"angle":339,"satellites":43,"speed":30,"hex_longitude":"2d13b800","hex_latitude":"06da8718","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104267776001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366341752363155456,"note":"Value kept but may cause issues"} 
[2026-08-01 11:24:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1424193042845605888,"note":"Value kept but may cause issues"} 
[2026-08-01 11:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785563561000,"timestamp_ms":1785563561000,"timestamp_seconds":1785563561,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbe1bc28"} 
[2026-08-01 11:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:24: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-08-01 11: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 11:24:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11: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-08-01 11:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":148499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":148499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":148499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104267776001,"66":27865,"152":206,"81":20480,"24":30,"16":366341752363155456,"45":1424193042845605888},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,81,24,16,45]} 
[2026-08-01 11:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104267776001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:24:19] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-01 11:24:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366341752363155456,"km_value":366341752363155.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:24:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1424193042845605888,"description":"Unknown IO ID 45"} 
[2026-08-01 11:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104267776001,"power":27865,"unknown_152":206,"unknown_81":20480,"ignition":30,"odometer":null,"unknown_45":1424193042845605888}} 
[2026-08-01 11:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":148499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:24:19] local.INFO: GPS data processed {"connection_id":148499,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:24:19] local.INFO: Acknowledgment sent {"connection_id":148499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:24:44] local.INFO: TCP Data received {"connection_id":147174,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:24:44] local.INFO: Processing buffer {"connection_id":147174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:24:44] local.INFO: IMEI packet received {"connection_id":147174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":147174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:24:49] local.INFO: TCP Data received {"connection_id":147174,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:24:49] local.INFO: Processing buffer {"connection_id":147174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:24:49] local.INFO: IMEI packet received {"connection_id":147174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":147174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:24:50] local.INFO: TCP Data received {"connection_id":147174,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbe1e720012d13abc006daaa90000b01592a..."} 
[2026-08-01 11:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbe1e720012d13abc006daaa90000b01592a..."} 
[2026-08-01 11:24:50] local.INFO: Processing buffer {"connection_id":147174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbe1e720012d13abc006daaa90000b01592a..."} 
[2026-08-01 11:24:50] local.INFO: Packet analysis {"connection_id":147174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbe1"} 
[2026-08-01 11:24:50] local.INFO: Extracted packet for processing {"connection_id":147174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbe1"} 
[2026-08-01 11:24:50] local.INFO: GPS Element Parsed {"raw_longitude":756263872,"raw_latitude":114993808,"longitude_deg":75.6263872,"latitude_deg":11.4993808,"altitude":11,"angle":345,"satellites":42,"speed":38,"hex_longitude":"2d13abc0","hex_latitude":"06daaa90","is_valid_coordinates":true} 
[2026-08-01 11:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104271616001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366342216219623424,"note":"Value kept but may cause issues"} 
[2026-08-01 11:24:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1420885711871481856,"note":"Value kept but may cause issues"} 
[2026-08-01 11:24:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785563572000,"timestamp_ms":1785563572000,"timestamp_seconds":1785563572,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbe1e720"} 
[2026-08-01 11:24:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:24:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 11:24:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:24:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:24:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:24:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104271616001,"66":27843,"152":206,"81":20480,"24":38,"16":366342216219623424,"45":1420885711871481856},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,81,24,16,45]} 
[2026-08-01 11:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104271616001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:24:50] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-01 11:24:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366342216219623424,"km_value":366342216219623.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:24:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1420885711871481856,"description":"Unknown IO ID 45"} 
[2026-08-01 11:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104271616001,"power":27843,"unknown_152":206,"unknown_81":20480,"ignition":38,"odometer":null,"unknown_45":1420885711871481856}} 
[2026-08-01 11:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":147174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:24:50] local.INFO: GPS data processed {"connection_id":147174,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:24:50] local.INFO: Acknowledgment sent {"connection_id":147174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:25:01] local.INFO: TCP Data received {"connection_id":147175,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147175,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:25:01] local.INFO: Processing buffer {"connection_id":147175,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:25:01] local.INFO: IMEI packet received {"connection_id":147175,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":147175,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:25:05] local.INFO: TCP Data received {"connection_id":147175,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147175,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:25:05] local.INFO: Processing buffer {"connection_id":147175,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:25:05] local.INFO: IMEI packet received {"connection_id":147175,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":147175,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:25:06] local.INFO: TCP Data received {"connection_id":147175,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbe21218012d1821c00721b2e8005000d427..."} 
[2026-08-01 11:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbe21218012d1821c00721b2e8005000d427..."} 
[2026-08-01 11:25:06] local.INFO: Processing buffer {"connection_id":147175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbe21218012d1821c00721b2e8005000d427..."} 
[2026-08-01 11:25:06] local.INFO: Packet analysis {"connection_id":147175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbe2"} 
[2026-08-01 11:25:06] local.INFO: Extracted packet for processing {"connection_id":147175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbe2"} 
[2026-08-01 11:25:06] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649000,"longitude_deg":75.6556224,"latitude_deg":11.9649,"altitude":80,"angle":212,"satellites":39,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-01 11:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104271872001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109176193744896,"note":"Value kept but may cause issues"} 
[2026-08-01 11:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004399104,"note":"Value kept but may cause issues"} 
[2026-08-01 11:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785563583000,"timestamp_ms":1785563583000,"timestamp_seconds":1785563583,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbe21218"} 
[2026-08-01 11:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-01 11:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:25:06] 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-08-01 11:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104271872001,"66":12819,"105":206,"83":41984,"24":0,"16":10109176193744896,"45":1738882068004399104},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104271872001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:25:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:25:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109176193744896,"km_value":10109176193744.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004399104,"description":"Unknown IO ID 45"} 
[2026-08-01 11:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104271872001,"power":12819,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004399104}} 
[2026-08-01 11:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":147175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576830,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:25:06] local.INFO: GPS data processed {"connection_id":147175,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:25:06] local.INFO: Acknowledgment sent {"connection_id":147175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:25:22] local.INFO: TCP Data received {"connection_id":147174,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbe20660012d13a6c006daca78000c01642b..."} 
[2026-08-01 11:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbe20660012d13a6c006daca78000c01642b..."} 
[2026-08-01 11:25:22] local.INFO: Processing buffer {"connection_id":147174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbe20660012d13a6c006daca78000c01642b..."} 
[2026-08-01 11:25:22] local.INFO: Packet analysis {"connection_id":147174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbe2"} 
[2026-08-01 11:25:22] local.INFO: Extracted packet for processing {"connection_id":147174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbe2"} 
[2026-08-01 11:25:22] local.INFO: GPS Element Parsed {"raw_longitude":756262592,"raw_latitude":115001976,"longitude_deg":75.6262592,"latitude_deg":11.5001976,"altitude":12,"angle":356,"satellites":43,"speed":43,"hex_longitude":"2d13a6c0","hex_latitude":"06daca78","is_valid_coordinates":true} 
[2026-08-01 11:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:25:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104274432001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:25:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366342619946549248,"note":"Value kept but may cause issues"} 
[2026-08-01 11:25:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1417437643409100800,"note":"Value kept but may cause issues"} 
[2026-08-01 11:25:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:25:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785563580000,"timestamp_ms":1785563580000,"timestamp_seconds":1785563580,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbe20660"} 
[2026-08-01 11:25:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:25:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 11:25:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:25:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:25:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:25:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:25:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:25:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:25:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:25:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:25:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:25:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:25:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104274432001,"66":27745,"152":206,"81":20480,"24":43,"16":366342619946549248,"45":1417437643409100800},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,81,24,16,45]} 
[2026-08-01 11:25:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:25:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:25:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104274432001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:25:22] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-01 11:25:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:25:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366342619946549248,"km_value":366342619946549.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:25:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1417437643409100800,"description":"Unknown IO ID 45"} 
[2026-08-01 11:25:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104274432001,"power":27745,"unknown_152":206,"unknown_81":20480,"ignition":43,"odometer":null,"unknown_45":1417437643409100800}} 
[2026-08-01 11:25:22] local.INFO: DEBUG: GPS processor result {"connection_id":147174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:25:22] local.INFO: GPS data processed {"connection_id":147174,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:25:22] local.INFO: Acknowledgment sent {"connection_id":147174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:25:37] local.INFO: TCP Data received {"connection_id":147175,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbe26420012d1821c00721b2e8005000d428..."} 
[2026-08-01 11:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbe26420012d1821c00721b2e8005000d428..."} 
[2026-08-01 11:25:37] local.INFO: Processing buffer {"connection_id":147175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbe26420012d1821c00721b2e8005000d428..."} 
[2026-08-01 11:25:37] local.INFO: Packet analysis {"connection_id":147175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbe2"} 
[2026-08-01 11:25:37] local.INFO: Extracted packet for processing {"connection_id":147175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbe2"} 
[2026-08-01 11:25:37] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649000,"longitude_deg":75.6556224,"latitude_deg":11.9649,"altitude":80,"angle":212,"satellites":40,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104277248001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109176193744896,"note":"Value kept but may cause issues"} 
[2026-08-01 11:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004399104,"note":"Value kept but may cause issues"} 
[2026-08-01 11:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785563604000,"timestamp_ms":1785563604000,"timestamp_seconds":1785563604,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbe26420"} 
[2026-08-01 11:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-01 11:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-08-01 11:25:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-01 11:25:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 11:25:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3152029160,"note":"Value kept but may cause issues"} 
[2026-08-01 11:25:37] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-01 11:25:37] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503753881157632,"note":"Value kept but may cause issues"} 
[2026-08-01 11:25:37] local.WARNING: Large IO value detected {"io_id":187,"raw_value":-2318263087509528128,"note":"Value kept but may cause issues"} 
[2026-08-01 11:25:37] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3221692850,"note":"Value kept but may cause issues"} 
[2026-08-01 11:25:37] local.WARNING: Large IO value detected {"io_id":113,"raw_value":3819316371100336384,"note":"Value kept but may cause issues"} 
[2026-08-01 11:25:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667660726741499928,"corrected_to":0} 
[2026-08-01 11:25:37] local.WARNING: Large IO value detected {"io_id":119,"raw_value":4026608920,"note":"Value kept but may cause issues"} 
[2026-08-01 11:25:37] local.WARNING: Large IO value detected {"io_id":232,"raw_value":22518909324230656,"note":"Value kept but may cause issues"} 
[2026-08-01 11:25:37] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182066500862208,"note":"Value kept but may cause issues"} 
[2026-08-01 11:25:37] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-6052612042274058669,"note":"Value kept but may cause issues"} 
[2026-08-01 11:25:37] local.WARNING: Large IO value detected {"io_id":35,"raw_value":3929931776,"note":"Value kept but may cause issues"} 
[2026-08-01 11:25:37] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2428258237145994280,"note":"Value kept but may cause issues"} 
[2026-08-01 11:25:37] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-01 11:25:37] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195067136,"note":"Value kept but may cause issues"} 
[2026-08-01 11:25:37] local.WARNING: Large IO value detected {"io_id":216,"raw_value":84750501224587698,"note":"Value kept but may cause issues"} 
[2026-08-01 11:25:37] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,234,159,192,45,178,80,40,10,66,110,38,28,1,240,41,227,187,33,4,113,205,119,232,239,50,2,35,7,164,62,69,216],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":7667660726741499928,"validated":0}]} 
[2026-08-01 11:25:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5764840787003047936,"timestamp_seconds":5764840787003048.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 11:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:25:37] 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-08-01 11:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104277248001,"66":12798,"105":206,"83":41984,"24":0,"16":10109176193744896,"45":1738882068004399104},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104277248001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:25:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:25:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109176193744896,"km_value":10109176193744.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004399104,"description":"Unknown IO ID 45"} 
[2026-08-01 11:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104277248001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004399104}} 
[2026-08-01 11:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":147175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:25:37] local.INFO: GPS data processed {"connection_id":147175,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:25:37] local.INFO: Acknowledgment sent {"connection_id":147175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:25:44] local.INFO: TCP Data received {"connection_id":146177,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:25:44] local.INFO: Processing buffer {"connection_id":146177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:25:44] local.INFO: IMEI packet received {"connection_id":146177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:25:44] local.INFO: IMEI acknowledgment sent {"connection_id":146177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:25:45] local.INFO: TCP Data received {"connection_id":146177,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:25:45] local.INFO: Processing buffer {"connection_id":146177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:25:45] local.INFO: IMEI packet received {"connection_id":146177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":146177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:25:49] local.INFO: TCP Data received {"connection_id":146177,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:25:49] local.INFO: Processing buffer {"connection_id":146177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:25:49] local.INFO: IMEI packet received {"connection_id":146177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":146177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:25:50] local.INFO: TCP Data received {"connection_id":146177,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbe38d00012d13324006dc46e00008014f2b..."} 
[2026-08-01 11:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbe38d00012d13324006dc46e00008014f2b..."} 
[2026-08-01 11:25:50] local.INFO: Processing buffer {"connection_id":146177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbe38d00012d13324006dc46e00008014f2b..."} 
[2026-08-01 11:25:50] local.INFO: Packet analysis {"connection_id":146177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbe3"} 
[2026-08-01 11:25:50] local.INFO: Extracted packet for processing {"connection_id":146177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbe3"} 
[2026-08-01 11:25:50] local.INFO: GPS Element Parsed {"raw_longitude":756232768,"raw_latitude":115099360,"longitude_deg":75.6232768,"latitude_deg":11.509936,"altitude":8,"angle":335,"satellites":43,"speed":45,"hex_longitude":"2d133240","hex_latitude":"06dc46e0","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:25:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104300032001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:25:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366347602108612608,"note":"Value kept but may cause issues"} 
[2026-08-01 11:25:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1387249452181737472,"note":"Value kept but may cause issues"} 
[2026-08-01 11:25:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:25:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785563680000,"timestamp_ms":1785563680000,"timestamp_seconds":1785563680,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbe38d00"} 
[2026-08-01 11:25:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:25: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-08-01 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 11:25:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11: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-08-01 11:25:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:25:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:25:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:25:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:25:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:25:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:25:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:25:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:25:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104300032001,"66":27843,"65":206,"81":20480,"24":45,"16":366347602108612608,"45":1387249452181737472},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,81,24,16,45]} 
[2026-08-01 11:25:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:25:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:25:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104300032001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:25:50] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-08-01 11:25:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:25:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366347602108612608,"km_value":366347602108612.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:25:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1387249452181737472,"description":"Unknown IO ID 45"} 
[2026-08-01 11:25:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104300032001,"power":27843,"unknown_65":206,"unknown_81":20480,"ignition":45,"odometer":null,"unknown_45":1387249452181737472}} 
[2026-08-01 11:25:50] local.INFO: DEBUG: GPS processor result {"connection_id":146177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:25:50] local.INFO: GPS data processed {"connection_id":146177,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:25:50] local.INFO: Acknowledgment sent {"connection_id":146177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:26:01] local.INFO: TCP Data received {"connection_id":148500,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:26:01] local.INFO: Processing buffer {"connection_id":148500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:26:01] local.INFO: IMEI packet received {"connection_id":148500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":148500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:26:06] local.INFO: TCP Data received {"connection_id":148500,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:26:06] local.INFO: Processing buffer {"connection_id":148500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:26:06] local.INFO: IMEI packet received {"connection_id":148500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":148500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:26:07] local.INFO: TCP Data received {"connection_id":148500,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbe2b628012d1821c00721b2e8005000d425..."} 
[2026-08-01 11:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbe2b628012d1821c00721b2e8005000d425..."} 
[2026-08-01 11:26:07] local.INFO: Processing buffer {"connection_id":148500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbe2b628012d1821c00721b2e8005000d425..."} 
[2026-08-01 11:26:07] local.INFO: Packet analysis {"connection_id":148500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbe2"} 
[2026-08-01 11:26:07] local.INFO: Extracted packet for processing {"connection_id":148500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbe2"} 
[2026-08-01 11:26:07] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649000,"longitude_deg":75.6556224,"latitude_deg":11.9649,"altitude":80,"angle":212,"satellites":37,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104282624001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109176193744896,"note":"Value kept but may cause issues"} 
[2026-08-01 11:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004399104,"note":"Value kept but may cause issues"} 
[2026-08-01 11:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785563625000,"timestamp_ms":1785563625000,"timestamp_seconds":1785563625,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbe2b628"} 
[2026-08-01 11:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-01 11:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11: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-08-01 11:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":148500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":148500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":148500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:26: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-08-01 11:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104282624001,"66":12798,"105":206,"83":41984,"24":0,"16":10109176193744896,"45":1738882068004399104},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104282624001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:26:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:26:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109176193744896,"km_value":10109176193744.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004399104,"description":"Unknown IO ID 45"} 
[2026-08-01 11:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104282624001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004399104}} 
[2026-08-01 11:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":148500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576834,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:26:07] local.INFO: GPS data processed {"connection_id":148500,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:26:07] local.INFO: Acknowledgment sent {"connection_id":148500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:26:22] local.INFO: TCP Data received {"connection_id":146177,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbe3ac40012d13220006dc66400009014a2a..."} 
[2026-08-01 11:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbe3ac40012d13220006dc66400009014a2a..."} 
[2026-08-01 11:26:22] local.INFO: Processing buffer {"connection_id":146177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbe3ac40012d13220006dc66400009014a2a..."} 
[2026-08-01 11:26:22] local.INFO: Packet analysis {"connection_id":146177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbe3"} 
[2026-08-01 11:26:22] local.INFO: Extracted packet for processing {"connection_id":146177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbe3"} 
[2026-08-01 11:26:22] local.INFO: GPS Element Parsed {"raw_longitude":756228608,"raw_latitude":115107392,"longitude_deg":75.6228608,"latitude_deg":11.5107392,"altitude":9,"angle":330,"satellites":42,"speed":43,"hex_longitude":"2d132200","hex_latitude":"06dc6640","is_valid_coordinates":true} 
[2026-08-01 11:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104302080001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366348040195276800,"note":"Value kept but may cause issues"} 
[2026-08-01 11:26:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1383238433765777408,"note":"Value kept but may cause issues"} 
[2026-08-01 11:26:22] 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-08-01 11:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785563688000,"timestamp_ms":1785563688000,"timestamp_seconds":1785563688,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbe3ac40"} 
[2026-08-01 11:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:26:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 11:26:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:26:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:26:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104302080001,"66":206,"81":20480,"24":43,"16":366348040195276800,"45":1383238433765777408},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-08-01 11:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104302080001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:26:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366348040195276800,"km_value":366348040195276.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:26:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1383238433765777408,"description":"Unknown IO ID 45"} 
[2026-08-01 11:26:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457104302080001,"power":206,"unknown_81":20480,"ignition":43,"odometer":null,"unknown_45":1383238433765777408}} 
[2026-08-01 11:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":146177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:26:22] local.INFO: GPS data processed {"connection_id":146177,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:26:22] local.INFO: Acknowledgment sent {"connection_id":146177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:26:38] local.INFO: TCP Data received {"connection_id":148500,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbe30830012d1821c00721b2e8005000d426..."} 
[2026-08-01 11:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbe30830012d1821c00721b2e8005000d426..."} 
[2026-08-01 11:26:38] local.INFO: Processing buffer {"connection_id":148500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbe30830012d1821c00721b2e8005000d426..."} 
[2026-08-01 11:26:38] local.INFO: Packet analysis {"connection_id":148500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbe3"} 
[2026-08-01 11:26:38] local.INFO: Extracted packet for processing {"connection_id":148500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbe3"} 
[2026-08-01 11:26:38] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649000,"longitude_deg":75.6556224,"latitude_deg":11.9649,"altitude":80,"angle":212,"satellites":38,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104288000001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109176193744896,"note":"Value kept but may cause issues"} 
[2026-08-01 11:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004399104,"note":"Value kept but may cause issues"} 
[2026-08-01 11:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785563646000,"timestamp_ms":1785563646000,"timestamp_seconds":1785563646,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbe30830"} 
[2026-08-01 11:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:26:38] 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-08-01 11: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-01 11:26:38] 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-08-01 11: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-08-01 11:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":148500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":148500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":148500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:26:38] 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-08-01 11:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104288000001,"66":12798,"105":206,"83":41984,"24":0,"16":10109176193744896,"45":1738882068004399104},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104288000001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:26:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:26:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109176193744896,"km_value":10109176193744.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004399104,"description":"Unknown IO ID 45"} 
[2026-08-01 11:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104288000001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004399104}} 
[2026-08-01 11:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":148500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576836,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:26:38] local.INFO: GPS data processed {"connection_id":148500,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:26:38] local.INFO: Acknowledgment sent {"connection_id":148500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:26:44] local.INFO: TCP Data received {"connection_id":147176,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:26:44] local.INFO: Processing buffer {"connection_id":147176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:26:44] local.INFO: IMEI packet received {"connection_id":147176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":147176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:26:56] local.INFO: TCP Data received {"connection_id":147176,"ip":"42.106.6.17","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 11:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147176,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 11:26:56] local.INFO: Processing buffer {"connection_id":147176,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 11:26:56] local.INFO: IMEI packet received {"connection_id":147176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":147176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:27:01] local.INFO: TCP Data received {"connection_id":146178,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:27:01] local.INFO: Processing buffer {"connection_id":146178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:27:01] local.INFO: IMEI packet received {"connection_id":146178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":146178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:27:06] local.INFO: TCP Data received {"connection_id":146178,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:27:06] local.INFO: Processing buffer {"connection_id":146178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:27:06] local.INFO: IMEI packet received {"connection_id":146178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":146178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:27:06] local.INFO: TCP Data received {"connection_id":146178,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbe35a38012d1821c00721b2e8005000d428..."} 
[2026-08-01 11:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbe35a38012d1821c00721b2e8005000d428..."} 
[2026-08-01 11:27:06] local.INFO: Processing buffer {"connection_id":146178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbe35a38012d1821c00721b2e8005000d428..."} 
[2026-08-01 11:27:06] local.INFO: Packet analysis {"connection_id":146178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbe3"} 
[2026-08-01 11:27:06] local.INFO: Extracted packet for processing {"connection_id":146178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbe3"} 
[2026-08-01 11:27:06] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649000,"longitude_deg":75.6556224,"latitude_deg":11.9649,"altitude":80,"angle":212,"satellites":40,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104293376001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109176193744896,"note":"Value kept but may cause issues"} 
[2026-08-01 11:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004399104,"note":"Value kept but may cause issues"} 
[2026-08-01 11:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785563667000,"timestamp_ms":1785563667000,"timestamp_seconds":1785563667,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbe35a38"} 
[2026-08-01 11:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-01 11:27:06] 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-08-01 11: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-08-01 11:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:27:06] 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-08-01 11:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104293376001,"66":12743,"105":206,"83":41984,"24":0,"16":10109176193744896,"45":1738882068004399104},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104293376001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:27:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:27:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109176193744896,"km_value":10109176193744.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004399104,"description":"Unknown IO ID 45"} 
[2026-08-01 11:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104293376001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004399104}} 
[2026-08-01 11:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":146178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576837,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:27:07] local.INFO: GPS data processed {"connection_id":146178,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:27:07] local.INFO: Acknowledgment sent {"connection_id":146178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:27:12] local.INFO: TCP Data received {"connection_id":147176,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbe3cf68012d130e8006dc8728000a014529..."} 
[2026-08-01 11:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbe3cf68012d130e8006dc8728000a014529..."} 
[2026-08-01 11:27:12] local.INFO: Processing buffer {"connection_id":147176,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fbb..."} 
[2026-08-01 11:27:12] local.INFO: IMEI packet received {"connection_id":147176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":147176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:27:13] local.INFO: TCP Data received {"connection_id":147176,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbe3f290012d12f94006dca580000b01442a..."} 
[2026-08-01 11:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbe3f290012d12f94006dca580000b01442a..."} 
[2026-08-01 11:27:13] local.INFO: Processing buffer {"connection_id":147176,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fbbe3cf68012d130e8006dc8728000a014529..."} 
[2026-08-01 11:27:13] local.INFO: Packet analysis {"connection_id":147176,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fbbe3"} 
[2026-08-01 11:27:13] local.INFO: Extracted packet for processing {"connection_id":147176,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbe3"} 
[2026-08-01 11:27:13] local.INFO: GPS Element Parsed {"raw_longitude":756223616,"raw_latitude":115115816,"longitude_deg":75.6223616,"latitude_deg":11.5115816,"altitude":10,"angle":325,"satellites":41,"speed":43,"hex_longitude":"2d130e80","hex_latitude":"06dc8728","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104304128001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366348512641679360,"note":"Value kept but may cause issues"} 
[2026-08-01 11:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1378664465396285440,"note":"Value kept but may cause issues"} 
[2026-08-01 11:27:13] 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-08-01 11:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785563697000,"timestamp_ms":1785563697000,"timestamp_seconds":1785563697,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbe3cf68"} 
[2026-08-01 11:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:27:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 11:27:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11: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-08-01 11:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":147176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":147176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":147176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104304128001,"66":27908,"67":206,"81":20480,"24":43,"16":366348512641679360,"45":1378664465396285440},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,81,24,16,45]} 
[2026-08-01 11:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104304128001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:27:13] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-01 11:27:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366348512641679360,"km_value":366348512641679.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1378664465396285440,"description":"Unknown IO ID 45"} 
[2026-08-01 11:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104304128001,"power":27908,"unknown_67":206,"unknown_81":20480,"ignition":43,"odometer":null,"unknown_45":1378664465396285440}} 
[2026-08-01 11:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":147176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:27:13] local.INFO: GPS data processed {"connection_id":147176,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:27:13] local.INFO: Acknowledgment sent {"connection_id":147176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:27:13] local.INFO: Packet analysis {"connection_id":147176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbe3"} 
[2026-08-01 11:27:13] local.INFO: Extracted packet for processing {"connection_id":147176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbe3"} 
[2026-08-01 11:27:13] local.INFO: GPS Element Parsed {"raw_longitude":756218176,"raw_latitude":115123584,"longitude_deg":75.6218176,"latitude_deg":11.5123584,"altitude":11,"angle":324,"satellites":42,"speed":40,"hex_longitude":"2d12f940","hex_latitude":"06dca580","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104306432001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366348967908212736,"note":"Value kept but may cause issues"} 
[2026-08-01 11:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1373175703352584192,"note":"Value kept but may cause issues"} 
[2026-08-01 11:27:13] 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-08-01 11:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785563706000,"timestamp_ms":1785563706000,"timestamp_seconds":1785563706,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbe3f290"} 
[2026-08-01 11:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:27: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-08-01 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 11:27:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11: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-08-01 11:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":147176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":147176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":147176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104306432001,"66":27800,"67":206,"81":20480,"24":40,"16":366348967908212736,"45":1373175703352584192},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,81,24,16,45]} 
[2026-08-01 11:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104306432001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:27:13] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-01 11:27:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366348967908212736,"km_value":366348967908212.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1373175703352584192,"description":"Unknown IO ID 45"} 
[2026-08-01 11:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104306432001,"power":27800,"unknown_67":206,"unknown_81":20480,"ignition":40,"odometer":null,"unknown_45":1373175703352584192}} 
[2026-08-01 11:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":147176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:27:13] local.INFO: GPS data processed {"connection_id":147176,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:27:13] local.INFO: Acknowledgment sent {"connection_id":147176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:27:13] local.INFO: TCP Data received {"connection_id":147176,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbe419a0012d12e50006dcc4b8000e01492b..."} 
[2026-08-01 11:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbe419a0012d12e50006dcc4b8000e01492b..."} 
[2026-08-01 11:27:13] local.INFO: Processing buffer {"connection_id":147176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbe419a0012d12e50006dcc4b8000e01492b..."} 
[2026-08-01 11:27:13] local.INFO: Packet analysis {"connection_id":147176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbe4"} 
[2026-08-01 11:27:13] local.INFO: Extracted packet for processing {"connection_id":147176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbe4"} 
[2026-08-01 11:27:13] local.INFO: GPS Element Parsed {"raw_longitude":756212992,"raw_latitude":115131576,"longitude_deg":75.6212992,"latitude_deg":11.5131576,"altitude":14,"angle":329,"satellites":43,"speed":33,"hex_longitude":"2d12e500","hex_latitude":"06dcc4b8","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104308736001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366349427469713408,"note":"Value kept but may cause issues"} 
[2026-08-01 11:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1367194360099471360,"note":"Value kept but may cause issues"} 
[2026-08-01 11:27:13] 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-08-01 11:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785563716000,"timestamp_ms":1785563716000,"timestamp_seconds":1785563716,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbe419a0"} 
[2026-08-01 11:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:27:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 11:27:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11: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-08-01 11:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":147176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":147176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":147176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104308736001,"66":27843,"67":206,"81":20480,"24":33,"16":366349427469713408,"45":1367194360099471360},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,81,24,16,45]} 
[2026-08-01 11:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104308736001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:27:13] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-01 11:27:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366349427469713408,"km_value":366349427469713.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1367194360099471360,"description":"Unknown IO ID 45"} 
[2026-08-01 11:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104308736001,"power":27843,"unknown_67":206,"unknown_81":20480,"ignition":33,"odometer":null,"unknown_45":1367194360099471360}} 
[2026-08-01 11:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":147176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:27:13] local.INFO: GPS data processed {"connection_id":147176,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:27:13] local.INFO: Acknowledgment sent {"connection_id":147176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:27:37] local.INFO: TCP Data received {"connection_id":146178,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbe3ac40012d1821c00721b2e8005000d428..."} 
[2026-08-01 11:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbe3ac40012d1821c00721b2e8005000d428..."} 
[2026-08-01 11:27:38] local.INFO: Processing buffer {"connection_id":146178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbe3ac40012d1821c00721b2e8005000d428..."} 
[2026-08-01 11:27:38] local.INFO: Packet analysis {"connection_id":146178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbe3"} 
[2026-08-01 11:27:38] local.INFO: Extracted packet for processing {"connection_id":146178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbe3"} 
[2026-08-01 11:27:38] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649000,"longitude_deg":75.6556224,"latitude_deg":11.9649,"altitude":80,"angle":212,"satellites":40,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104298752001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109176193744896,"note":"Value kept but may cause issues"} 
[2026-08-01 11:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004399104,"note":"Value kept but may cause issues"} 
[2026-08-01 11:27:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785563688000,"timestamp_ms":1785563688000,"timestamp_seconds":1785563688,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbe3ac40"} 
[2026-08-01 11:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:27:38] 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-08-01 11: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-01 11:27:38] 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-08-01 11: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-08-01 11:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:27:38] 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-08-01 11:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104298752001,"66":12743,"105":206,"83":41984,"24":0,"16":10109176193744896,"45":1738882068004399104},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104298752001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:27:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:27:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109176193744896,"km_value":10109176193744.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004399104,"description":"Unknown IO ID 45"} 
[2026-08-01 11:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104298752001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004399104}} 
[2026-08-01 11:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":146178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:27:38] local.INFO: GPS data processed {"connection_id":146178,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:27:38] local.INFO: Acknowledgment sent {"connection_id":146178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:27:44] local.INFO: TCP Data received {"connection_id":148501,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:27:44] local.INFO: Processing buffer {"connection_id":148501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:27:44] local.INFO: IMEI packet received {"connection_id":148501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":148501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:27:45] local.INFO: TCP Data received {"connection_id":148501,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:27:45] local.INFO: Processing buffer {"connection_id":148501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:27:45] local.INFO: IMEI packet received {"connection_id":148501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":148501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:27:50] local.INFO: TCP Data received {"connection_id":148501,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:27:50] local.INFO: Processing buffer {"connection_id":148501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:27:50] local.INFO: IMEI packet received {"connection_id":148501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":148501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:27:51] local.INFO: TCP Data received {"connection_id":148501,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbe54e38012d126c8006ddea28000c016328..."} 
[2026-08-01 11:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbe54e38012d126c8006ddea28000c016328..."} 
[2026-08-01 11:27:51] local.INFO: Processing buffer {"connection_id":148501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbe54e38012d126c8006ddea28000c016328..."} 
[2026-08-01 11:27:51] local.INFO: Packet analysis {"connection_id":148501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbe5"} 
[2026-08-01 11:27:51] local.INFO: Extracted packet for processing {"connection_id":148501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbe5"} 
[2026-08-01 11:27:51] local.INFO: GPS Element Parsed {"raw_longitude":756182144,"raw_latitude":115206696,"longitude_deg":75.6182144,"latitude_deg":11.5206696,"altitude":12,"angle":355,"satellites":40,"speed":56,"hex_longitude":"2d126c80","hex_latitude":"06ddea28","is_valid_coordinates":true} 
[2026-08-01 11:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104329728001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366353404609429504,"note":"Value kept but may cause issues"} 
[2026-08-01 11:27:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1328561919564615680,"note":"Value kept but may cause issues"} 
[2026-08-01 11:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785563795000,"timestamp_ms":1785563795000,"timestamp_seconds":1785563795,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbe54e38"} 
[2026-08-01 11:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 11:27: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-08-01 11:27:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:27:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104329728001,"66":27800,"231":206,"81":20480,"24":56,"16":366353404609429504,"45":1328561919564615680},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-08-01 11:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104329728001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:27:51] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-08-01 11:27:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366353404609429504,"km_value":366353404609429.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:27:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1328561919564615680,"description":"Unknown IO ID 45"} 
[2026-08-01 11:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104329728001,"power":27800,"unknown_231":206,"unknown_81":20480,"ignition":56,"odometer":null,"unknown_45":1328561919564615680}} 
[2026-08-01 11:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":148501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:27:51] local.INFO: GPS data processed {"connection_id":148501,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:27:51] local.INFO: Acknowledgment sent {"connection_id":148501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:28:00] local.INFO: TCP Data received {"connection_id":146179,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146179,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:28:00] local.INFO: Processing buffer {"connection_id":146179,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:28:00] local.INFO: IMEI packet received {"connection_id":146179,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":146179,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:28:06] local.INFO: TCP Data received {"connection_id":146179,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146179,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:28:06] local.INFO: Processing buffer {"connection_id":146179,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:28:06] local.INFO: IMEI packet received {"connection_id":146179,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":146179,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:28:06] local.INFO: TCP Data received {"connection_id":146179,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbe3fe48012d1821c00721b2e8005000d426..."} 
[2026-08-01 11:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbe3fe48012d1821c00721b2e8005000d426..."} 
[2026-08-01 11:28:06] local.INFO: Processing buffer {"connection_id":146179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbe3fe48012d1821c00721b2e8005000d426..."} 
[2026-08-01 11:28:06] local.INFO: Packet analysis {"connection_id":146179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbe3"} 
[2026-08-01 11:28:06] local.INFO: Extracted packet for processing {"connection_id":146179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbe3"} 
[2026-08-01 11:28:06] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649000,"longitude_deg":75.6556224,"latitude_deg":11.9649,"altitude":80,"angle":212,"satellites":38,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-01 11:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104304128001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109176193744896,"note":"Value kept but may cause issues"} 
[2026-08-01 11:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004399104,"note":"Value kept but may cause issues"} 
[2026-08-01 11:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785563709000,"timestamp_ms":1785563709000,"timestamp_seconds":1785563709,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbe3fe48"} 
[2026-08-01 11:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-01 11:28:06] 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-08-01 11:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:28:06] 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-08-01 11:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104304128001,"66":12722,"105":206,"83":41984,"24":0,"16":10109176193744896,"45":1738882068004399104},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104304128001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:28:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:28:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109176193744896,"km_value":10109176193744.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004399104,"description":"Unknown IO ID 45"} 
[2026-08-01 11:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104304128001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004399104}} 
[2026-08-01 11:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":146179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:28:07] local.INFO: GPS data processed {"connection_id":146179,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:28:07] local.INFO: Acknowledgment sent {"connection_id":146179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:28:22] local.INFO: TCP Data received {"connection_id":148501,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbe56990012d1269c006de10b8000c01612a..."} 
[2026-08-01 11:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbe56990012d1269c006de10b8000c01612a..."} 
[2026-08-01 11:28:22] local.INFO: Processing buffer {"connection_id":148501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbe56990012d1269c006de10b8000c01612a..."} 
[2026-08-01 11:28:22] local.INFO: Packet analysis {"connection_id":148501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbe5"} 
[2026-08-01 11:28:22] local.INFO: Extracted packet for processing {"connection_id":148501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbe5"} 
[2026-08-01 11:28:22] local.INFO: GPS Element Parsed {"raw_longitude":756181440,"raw_latitude":115216568,"longitude_deg":75.618144,"latitude_deg":11.5216568,"altitude":12,"angle":353,"satellites":42,"speed":55,"hex_longitude":"2d1269c0","hex_latitude":"06de10b8","is_valid_coordinates":true} 
[2026-08-01 11:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104331520001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366353885645766656,"note":"Value kept but may cause issues"} 
[2026-08-01 11:28:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1327576757148723200,"note":"Value kept but may cause issues"} 
[2026-08-01 11:28:22] 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-08-01 11:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785563802000,"timestamp_ms":1785563802000,"timestamp_seconds":1785563802,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbe56990"} 
[2026-08-01 11:28:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:28:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 11:28: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-08-01 11:28:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:28:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:28:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104331520001,"66":27908,"231":206,"81":20480,"24":55,"16":366353885645766656,"45":1327576757148723200},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-08-01 11:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104331520001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:28:22] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-08-01 11:28:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366353885645766656,"km_value":366353885645766.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:28:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1327576757148723200,"description":"Unknown IO ID 45"} 
[2026-08-01 11:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104331520001,"power":27908,"unknown_231":206,"unknown_81":20480,"ignition":55,"odometer":null,"unknown_45":1327576757148723200}} 
[2026-08-01 11:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":148501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:28:22] local.INFO: GPS data processed {"connection_id":148501,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:28:22] local.INFO: Acknowledgment sent {"connection_id":148501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:28:38] local.INFO: TCP Data received {"connection_id":146179,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbe45050012d1821c00721b2e8005000d428..."} 
[2026-08-01 11:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbe45050012d1821c00721b2e8005000d428..."} 
[2026-08-01 11:28:38] local.INFO: Processing buffer {"connection_id":146179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbe45050012d1821c00721b2e8005000d428..."} 
[2026-08-01 11:28:38] local.INFO: Packet analysis {"connection_id":146179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbe4"} 
[2026-08-01 11:28:38] local.INFO: Extracted packet for processing {"connection_id":146179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbe4"} 
[2026-08-01 11:28:38] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649000,"longitude_deg":75.6556224,"latitude_deg":11.9649,"altitude":80,"angle":212,"satellites":40,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104309504001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109176193744896,"note":"Value kept but may cause issues"} 
[2026-08-01 11:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004399104,"note":"Value kept but may cause issues"} 
[2026-08-01 11:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785563730000,"timestamp_ms":1785563730000,"timestamp_seconds":1785563730,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbe45050"} 
[2026-08-01 11:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:28:38] 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-08-01 11: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-01 11:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11: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-08-01 11:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:28:38] 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-08-01 11:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104309504001,"66":12461,"105":206,"83":41984,"24":0,"16":10109176193744896,"45":1738882068004399104},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104309504001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:28:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:28:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109176193744896,"km_value":10109176193744.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004399104,"description":"Unknown IO ID 45"} 
[2026-08-01 11:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104309504001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004399104}} 
[2026-08-01 11:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":146179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:28:38] local.INFO: GPS data processed {"connection_id":146179,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:28:38] local.INFO: Acknowledgment sent {"connection_id":146179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:28:44] local.INFO: TCP Data received {"connection_id":147177,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:28:44] local.INFO: Processing buffer {"connection_id":147177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:28:44] local.INFO: IMEI packet received {"connection_id":147177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":147177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:28:45] local.INFO: TCP Data received {"connection_id":147177,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:28:45] local.INFO: Processing buffer {"connection_id":147177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:28:45] local.INFO: IMEI packet received {"connection_id":147177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":147177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:28:49] local.INFO: TCP Data received {"connection_id":147177,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:28:49] local.INFO: Processing buffer {"connection_id":147177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:28:49] local.INFO: IMEI packet received {"connection_id":147177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":147177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:28:51] local.INFO: TCP Data received {"connection_id":147177,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbe584e8012d1263c006de3580000c015e2a..."} 
[2026-08-01 11:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbe584e8012d1263c006de3580000c015e2a..."} 
[2026-08-01 11:28:51] local.INFO: Processing buffer {"connection_id":147177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbe584e8012d1263c006de3580000c015e2a..."} 
[2026-08-01 11:28:51] local.INFO: Packet analysis {"connection_id":147177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbe5"} 
[2026-08-01 11:28:51] local.INFO: Extracted packet for processing {"connection_id":147177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbe5"} 
[2026-08-01 11:28:51] local.INFO: GPS Element Parsed {"raw_longitude":756179904,"raw_latitude":115225984,"longitude_deg":75.6179904,"latitude_deg":11.5225984,"altitude":12,"angle":350,"satellites":42,"speed":52,"hex_longitude":"2d1263c0","hex_latitude":"06de3580","is_valid_coordinates":true} 
[2026-08-01 11:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104333312001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366354345207267328,"note":"Value kept but may cause issues"} 
[2026-08-01 11:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1326802700965296128,"note":"Value kept but may cause issues"} 
[2026-08-01 11:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785563809000,"timestamp_ms":1785563809000,"timestamp_seconds":1785563809,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbe584e8"} 
[2026-08-01 11:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:28: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-08-01 11:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 11:28: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-08-01 11:28:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":147177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":147177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":147177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104333312001,"66":27843,"231":206,"81":20480,"24":52,"16":366354345207267328,"45":1326802700965296128},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-08-01 11:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104333312001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:28:51] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-08-01 11:28:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366354345207267328,"km_value":366354345207267.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1326802700965296128,"description":"Unknown IO ID 45"} 
[2026-08-01 11:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104333312001,"power":27843,"unknown_231":206,"unknown_81":20480,"ignition":52,"odometer":null,"unknown_45":1326802700965296128}} 
[2026-08-01 11:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":147177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:28:51] local.INFO: GPS data processed {"connection_id":147177,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:28:51] local.INFO: Acknowledgment sent {"connection_id":147177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:29:00] local.INFO: TCP Data received {"connection_id":145963,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145963,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:29:00] local.INFO: Processing buffer {"connection_id":145963,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:29:00] local.INFO: IMEI packet received {"connection_id":145963,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":145963,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:29:06] local.INFO: TCP Data received {"connection_id":145963,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145963,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:29:06] local.INFO: Processing buffer {"connection_id":145963,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:29:06] local.INFO: IMEI packet received {"connection_id":145963,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":145963,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:29:06] local.INFO: TCP Data received {"connection_id":145963,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbe4a258012d1821c00721b2e8005000d428..."} 
[2026-08-01 11:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbe4a258012d1821c00721b2e8005000d428..."} 
[2026-08-01 11:29:06] local.INFO: Processing buffer {"connection_id":145963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbe4a258012d1821c00721b2e8005000d428..."} 
[2026-08-01 11:29:06] local.INFO: Packet analysis {"connection_id":145963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbe4"} 
[2026-08-01 11:29:06] local.INFO: Extracted packet for processing {"connection_id":145963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbe4"} 
[2026-08-01 11:29:06] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649000,"longitude_deg":75.6556224,"latitude_deg":11.9649,"altitude":80,"angle":212,"satellites":40,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104314880001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109176193744896,"note":"Value kept but may cause issues"} 
[2026-08-01 11:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004399104,"note":"Value kept but may cause issues"} 
[2026-08-01 11:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785563751000,"timestamp_ms":1785563751000,"timestamp_seconds":1785563751,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbe4a258"} 
[2026-08-01 11:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 11:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11: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-08-01 11:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:29:06] 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-08-01 11:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104314880001,"66":12711,"105":206,"83":41984,"24":0,"16":10109176193744896,"45":1738882068004399104},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104314880001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:29:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:29:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109176193744896,"km_value":10109176193744.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004399104,"description":"Unknown IO ID 45"} 
[2026-08-01 11:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104314880001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004399104}} 
[2026-08-01 11:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":145963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:29:06] local.INFO: GPS data processed {"connection_id":145963,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:29:06] local.INFO: Acknowledgment sent {"connection_id":145963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:29:30] local.INFO: TCP Data received {"connection_id":147177,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbe5a428012d125c8006de5ac8000d015d29..."} 
[2026-08-01 11:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbe5a428012d125c8006de5ac8000d015d29..."} 
[2026-08-01 11:29:30] local.INFO: Processing buffer {"connection_id":147177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbe5a428012d125c8006de5ac8000d015d29..."} 
[2026-08-01 11:29:30] local.INFO: Packet analysis {"connection_id":147177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbe5"} 
[2026-08-01 11:29:30] local.INFO: Extracted packet for processing {"connection_id":147177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbe5"} 
[2026-08-01 11:29:30] local.INFO: GPS Element Parsed {"raw_longitude":756178048,"raw_latitude":115235528,"longitude_deg":75.6178048,"latitude_deg":11.5235528,"altitude":13,"angle":349,"satellites":41,"speed":39,"hex_longitude":"2d125c80","hex_latitude":"06de5ac8","is_valid_coordinates":true} 
[2026-08-01 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-08-01 11:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104335104001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366354817653669888,"note":"Value kept but may cause issues"} 
[2026-08-01 11:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1325113851107442688,"note":"Value kept but may cause issues"} 
[2026-08-01 11:29: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-08-01 11:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785563817000,"timestamp_ms":1785563817000,"timestamp_seconds":1785563817,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbe5a428"} 
[2026-08-01 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-08-01 11: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-08-01 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 11:29: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-08-01 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-08-01 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-08-01 11:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:29: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-08-01 11:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104335104001,"66":27832,"231":206,"81":20480,"24":39,"16":366354817653669888,"45":1325113851107442688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-08-01 11:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104335104001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:29:30] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-08-01 11:29:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366354817653669888,"km_value":366354817653669.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1325113851107442688,"description":"Unknown IO ID 45"} 
[2026-08-01 11:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104335104001,"power":27832,"unknown_231":206,"unknown_81":20480,"ignition":39,"odometer":null,"unknown_45":1325113851107442688}} 
[2026-08-01 11:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":147177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:29:30] local.INFO: GPS data processed {"connection_id":147177,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:29:30] local.INFO: Acknowledgment sent {"connection_id":147177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:29:38] local.INFO: TCP Data received {"connection_id":145963,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbe4f460012d1821c00721b2e8005000d427..."} 
[2026-08-01 11:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbe4f460012d1821c00721b2e8005000d427..."} 
[2026-08-01 11:29:38] local.INFO: Processing buffer {"connection_id":145963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbe4f460012d1821c00721b2e8005000d427..."} 
[2026-08-01 11:29:38] local.INFO: Packet analysis {"connection_id":145963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbe4"} 
[2026-08-01 11:29:38] local.INFO: Extracted packet for processing {"connection_id":145963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbe4"} 
[2026-08-01 11:29:38] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649000,"longitude_deg":75.6556224,"latitude_deg":11.9649,"altitude":80,"angle":212,"satellites":39,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-01 11:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104320256001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109176193744896,"note":"Value kept but may cause issues"} 
[2026-08-01 11:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004399104,"note":"Value kept but may cause issues"} 
[2026-08-01 11:29:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785563772000,"timestamp_ms":1785563772000,"timestamp_seconds":1785563772,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbe4f460"} 
[2026-08-01 11:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:29:38] 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-08-01 11:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-01 11:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:29:38] 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-08-01 11:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104320256001,"66":12689,"105":206,"83":41984,"24":0,"16":10109176193744896,"45":1738882068004399104},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104320256001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:29:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:29:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109176193744896,"km_value":10109176193744.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004399104,"description":"Unknown IO ID 45"} 
[2026-08-01 11:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104320256001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004399104}} 
[2026-08-01 11:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":145963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576849,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:29:38] local.INFO: GPS data processed {"connection_id":145963,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:29:38] local.INFO: Acknowledgment sent {"connection_id":145963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:29:49] local.INFO: TCP Data received {"connection_id":147178,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:29:49] local.INFO: Processing buffer {"connection_id":147178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:29:49] local.INFO: IMEI packet received {"connection_id":147178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":147178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:29:49] local.INFO: TCP Data received {"connection_id":147178,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:29:49] local.INFO: Processing buffer {"connection_id":147178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:29:49] local.INFO: IMEI packet received {"connection_id":147178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":147178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:29:55] local.INFO: TCP Data received {"connection_id":147178,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:29:55] local.INFO: Processing buffer {"connection_id":147178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:29:55] local.INFO: IMEI packet received {"connection_id":147178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":147178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:29:56] local.INFO: TCP Data received {"connection_id":147178,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbe726e0012d12054006dfbf88000e015f2b..."} 
[2026-08-01 11:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbe726e0012d12054006dfbf88000e015f2b..."} 
[2026-08-01 11:29:56] local.INFO: Processing buffer {"connection_id":147178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbe726e0012d12054006dfbf88000e015f2b..."} 
[2026-08-01 11:29:56] local.INFO: Packet analysis {"connection_id":147178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbe7"} 
[2026-08-01 11:29:56] local.INFO: Extracted packet for processing {"connection_id":147178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbe7"} 
[2026-08-01 11:29:56] local.INFO: GPS Element Parsed {"raw_longitude":756155712,"raw_latitude":115326856,"longitude_deg":75.6155712,"latitude_deg":11.5326856,"altitude":14,"angle":351,"satellites":43,"speed":53,"hex_longitude":"2d120540","hex_latitude":"06dfbf88","is_valid_coordinates":true} 
[2026-08-01 11:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104360704001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366359387498872832,"note":"Value kept but may cause issues"} 
[2026-08-01 11:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1299992209459505152,"note":"Value kept but may cause issues"} 
[2026-08-01 11:29:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785563916000,"timestamp_ms":1785563916000,"timestamp_seconds":1785563916,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbe726e0"} 
[2026-08-01 11:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:29:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 11:29:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:29:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":147178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":147178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":147178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:29:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104360704001,"66":27821,"97":206,"81":20480,"24":53,"16":366359387498872832,"45":1299992209459505152},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-01 11:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104360704001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:29:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-01 11:29:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366359387498872832,"km_value":366359387498872.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1299992209459505152,"description":"Unknown IO ID 45"} 
[2026-08-01 11:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104360704001,"power":27821,"unknown_97":206,"unknown_81":20480,"ignition":53,"odometer":null,"unknown_45":1299992209459505152}} 
[2026-08-01 11:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":147178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:29:56] local.INFO: GPS data processed {"connection_id":147178,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:29:56] local.INFO: Acknowledgment sent {"connection_id":147178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:29:57] local.INFO: TCP Data received {"connection_id":147178,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbe74238012d11fec006dfe430000d015b2b..."} 
[2026-08-01 11:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbe74238012d11fec006dfe430000d015b2b..."} 
[2026-08-01 11:29:57] local.INFO: Processing buffer {"connection_id":147178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbe74238012d11fec006dfe430000d015b2b..."} 
[2026-08-01 11:29:57] local.INFO: Packet analysis {"connection_id":147178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbe7"} 
[2026-08-01 11:29:57] local.INFO: Extracted packet for processing {"connection_id":147178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbe7"} 
[2026-08-01 11:29:57] local.INFO: GPS Element Parsed {"raw_longitude":756154048,"raw_latitude":115336240,"longitude_deg":75.6154048,"latitude_deg":11.533624,"altitude":13,"angle":347,"satellites":43,"speed":55,"hex_longitude":"2d11fec0","hex_latitude":"06dfe430","is_valid_coordinates":true} 
[2026-08-01 11:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:29:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104362496001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:29:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366359851355340800,"note":"Value kept but may cause issues"} 
[2026-08-01 11:29:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1298514465834108928,"note":"Value kept but may cause issues"} 
[2026-08-01 11:29:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:29:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785563923000,"timestamp_ms":1785563923000,"timestamp_seconds":1785563923,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbe74238"} 
[2026-08-01 11:29:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:29: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-08-01 11:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 11:29:57] 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-08-01 11:29: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-08-01 11:29:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:29:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:29:57] local.INFO: Teltonika packet parsed successfully {"connection_id":147178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:29:57] local.INFO: Passing IMEI to GPS processor {"connection_id":147178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:29:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":147178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:29:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:29:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:29:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:29:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104362496001,"66":27821,"97":206,"81":20480,"24":55,"16":366359851355340800,"45":1298514465834108928},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-01 11:29:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:29:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:29:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104362496001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:29:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-01 11:29:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:29:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366359851355340800,"km_value":366359851355340.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:29:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1298514465834108928,"description":"Unknown IO ID 45"} 
[2026-08-01 11:29:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104362496001,"power":27821,"unknown_97":206,"unknown_81":20480,"ignition":55,"odometer":null,"unknown_45":1298514465834108928}} 
[2026-08-01 11:29:57] local.INFO: DEBUG: GPS processor result {"connection_id":147178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:29:57] local.INFO: GPS data processed {"connection_id":147178,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:29:57] local.INFO: Acknowledgment sent {"connection_id":147178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:30:00] local.INFO: TCP Data received {"connection_id":145964,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:30:00] local.INFO: Processing buffer {"connection_id":145964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:30:00] local.INFO: IMEI packet received {"connection_id":145964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":145964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:30:06] local.INFO: TCP Data received {"connection_id":145964,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:30:06] local.INFO: Processing buffer {"connection_id":145964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:30:06] local.INFO: IMEI packet received {"connection_id":145964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":145964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:30:06] local.INFO: TCP Data received {"connection_id":145964,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbe54668012d1821c00721b2e8005000d427..."} 
[2026-08-01 11:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbe54668012d1821c00721b2e8005000d427..."} 
[2026-08-01 11:30:06] local.INFO: Processing buffer {"connection_id":145964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbe54668012d1821c00721b2e8005000d427..."} 
[2026-08-01 11:30:06] local.INFO: Packet analysis {"connection_id":145964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbe5"} 
[2026-08-01 11:30:06] local.INFO: Extracted packet for processing {"connection_id":145964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbe5"} 
[2026-08-01 11:30:06] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649000,"longitude_deg":75.6556224,"latitude_deg":11.9649,"altitude":80,"angle":212,"satellites":39,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-01 11:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104325632001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109176193744896,"note":"Value kept but may cause issues"} 
[2026-08-01 11:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004399104,"note":"Value kept but may cause issues"} 
[2026-08-01 11:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785563793000,"timestamp_ms":1785563793000,"timestamp_seconds":1785563793,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbe54668"} 
[2026-08-01 11:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-01 11:30:06] 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-08-01 11:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:30:06] 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-08-01 11:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104325632001,"66":12667,"105":206,"83":41984,"24":0,"16":10109176193744896,"45":1738882068004399104},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104325632001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:30:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:30:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109176193744896,"km_value":10109176193744.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004399104,"description":"Unknown IO ID 45"} 
[2026-08-01 11:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104325632001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004399104}} 
[2026-08-01 11:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":145964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:30:06] local.INFO: GPS data processed {"connection_id":145964,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:30:06] local.INFO: Acknowledgment sent {"connection_id":145964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:30:28] local.INFO: TCP Data received {"connection_id":147178,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbe75d90012d11f48006e009c0000d01572a..."} 
[2026-08-01 11:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbe75d90012d11f48006e009c0000d01572a..."} 
[2026-08-01 11:30:28] local.INFO: Processing buffer {"connection_id":147178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbe75d90012d11f48006e009c0000d01572a..."} 
[2026-08-01 11:30:28] local.INFO: Packet analysis {"connection_id":147178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbe7"} 
[2026-08-01 11:30:28] local.INFO: Extracted packet for processing {"connection_id":147178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbe7"} 
[2026-08-01 11:30:28] local.INFO: GPS Element Parsed {"raw_longitude":756151424,"raw_latitude":115345856,"longitude_deg":75.6151424,"latitude_deg":11.5345856,"altitude":13,"angle":343,"satellites":42,"speed":57,"hex_longitude":"2d11f480","hex_latitude":"06e009c0","is_valid_coordinates":true} 
[2026-08-01 11:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104364288001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366360332391677952,"note":"Value kept but may cause issues"} 
[2026-08-01 11:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1296684878487891968,"note":"Value kept but may cause issues"} 
[2026-08-01 11:30:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785563930000,"timestamp_ms":1785563930000,"timestamp_seconds":1785563930,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbe75d90"} 
[2026-08-01 11:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:30: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-08-01 11:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 11:30:28] 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-08-01 11:30:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":147178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":147178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":147178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:30: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-08-01 11:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104364288001,"66":27832,"97":206,"81":20480,"24":57,"16":366360332391677952,"45":1296684878487891968},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-01 11:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104364288001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:30:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-01 11:30:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366360332391677952,"km_value":366360332391677.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1296684878487891968,"description":"Unknown IO ID 45"} 
[2026-08-01 11:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104364288001,"power":27832,"unknown_97":206,"unknown_81":20480,"ignition":57,"odometer":null,"unknown_45":1296684878487891968}} 
[2026-08-01 11:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":147178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:30:28] local.INFO: GPS data processed {"connection_id":147178,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:30:28] local.INFO: Acknowledgment sent {"connection_id":147178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:30:37] local.INFO: TCP Data received {"connection_id":145964,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbe59870012d1821c00721b2e8005000d427..."} 
[2026-08-01 11:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbe59870012d1821c00721b2e8005000d427..."} 
[2026-08-01 11:30:37] local.INFO: Processing buffer {"connection_id":145964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbe59870012d1821c00721b2e8005000d427..."} 
[2026-08-01 11:30:37] local.INFO: Packet analysis {"connection_id":145964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbe5"} 
[2026-08-01 11:30:37] local.INFO: Extracted packet for processing {"connection_id":145964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbe5"} 
[2026-08-01 11:30:37] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649000,"longitude_deg":75.6556224,"latitude_deg":11.9649,"altitude":80,"angle":212,"satellites":39,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-01 11:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104331008001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109176193744896,"note":"Value kept but may cause issues"} 
[2026-08-01 11:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004399104,"note":"Value kept but may cause issues"} 
[2026-08-01 11:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785563814000,"timestamp_ms":1785563814000,"timestamp_seconds":1785563814,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbe59870"} 
[2026-08-01 11:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-01 11:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:30:37] 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-08-01 11:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104331008001,"66":12645,"105":206,"83":41984,"24":0,"16":10109176193744896,"45":1738882068004399104},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104331008001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:30:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:30:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109176193744896,"km_value":10109176193744.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004399104,"description":"Unknown IO ID 45"} 
[2026-08-01 11:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104331008001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004399104}} 
[2026-08-01 11:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":145964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:30:38] local.INFO: GPS data processed {"connection_id":145964,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:30:38] local.INFO: Acknowledgment sent {"connection_id":145964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:30:42] local.INFO: TCP Data received {"connection_id":148502,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:30:42] local.INFO: Processing buffer {"connection_id":148502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:30:42] local.INFO: IMEI packet received {"connection_id":148502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":148502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:30:44] local.INFO: TCP Data received {"connection_id":148502,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:30:44] local.INFO: Processing buffer {"connection_id":148502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:30:44] local.INFO: IMEI packet received {"connection_id":148502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":148502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:30:48] local.INFO: TCP Data received {"connection_id":148502,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:30:48] local.INFO: Processing buffer {"connection_id":148502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:30:48] local.INFO: IMEI packet received {"connection_id":148502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":148502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:30:49] local.INFO: TCP Data received {"connection_id":148502,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbe778e8012d11e98006e02e00000f01572a..."} 
[2026-08-01 11:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbe778e8012d11e98006e02e00000f01572a..."} 
[2026-08-01 11:30:49] local.INFO: Processing buffer {"connection_id":148502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbe778e8012d11e98006e02e00000f01572a..."} 
[2026-08-01 11:30:49] local.INFO: Packet analysis {"connection_id":148502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbe7"} 
[2026-08-01 11:30:49] local.INFO: Extracted packet for processing {"connection_id":148502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbe7"} 
[2026-08-01 11:30:49] local.INFO: GPS Element Parsed {"raw_longitude":756148608,"raw_latitude":115355136,"longitude_deg":75.6148608,"latitude_deg":11.5355136,"altitude":15,"angle":343,"satellites":42,"speed":53,"hex_longitude":"2d11e980","hex_latitude":"06e02e00","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:30:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104366080001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:30:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366360800543113216,"note":"Value kept but may cause issues"} 
[2026-08-01 11:30:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1293799759979069440,"note":"Value kept but may cause issues"} 
[2026-08-01 11:30:49] 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-08-01 11:30:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785563937000,"timestamp_ms":1785563937000,"timestamp_seconds":1785563937,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbe778e8"} 
[2026-08-01 11:30:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:30:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-01 11:30:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11: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-08-01 11:30:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:30:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:30:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:30:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:30:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:30:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:30:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:30:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:30:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104366080001,"66":27767,"98":206,"81":20480,"24":53,"16":366360800543113216,"45":1293799759979069440},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,81,24,16,45]} 
[2026-08-01 11:30:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:30:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:30:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104366080001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:30:49] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-01 11:30:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:30:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366360800543113216,"km_value":366360800543113.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:30:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1293799759979069440,"description":"Unknown IO ID 45"} 
[2026-08-01 11:30:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104366080001,"power":27767,"unknown_98":206,"unknown_81":20480,"ignition":53,"odometer":null,"unknown_45":1293799759979069440}} 
[2026-08-01 11:30:49] local.INFO: DEBUG: GPS processor result {"connection_id":148502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:30:49] local.INFO: GPS data processed {"connection_id":148502,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:30:49] local.INFO: Acknowledgment sent {"connection_id":148502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:31:01] local.INFO: TCP Data received {"connection_id":147179,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147179,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:31:01] local.INFO: Processing buffer {"connection_id":147179,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:31:01] local.INFO: IMEI packet received {"connection_id":147179,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":147179,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:31:06] local.INFO: TCP Data received {"connection_id":147179,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147179,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:31:06] local.INFO: Processing buffer {"connection_id":147179,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:31:06] local.INFO: IMEI packet received {"connection_id":147179,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":147179,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:31:10] local.INFO: TCP Data received {"connection_id":147179,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147179,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:31:10] local.INFO: Processing buffer {"connection_id":147179,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:31:10] local.INFO: IMEI packet received {"connection_id":147179,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":147179,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:31:11] local.INFO: TCP Data received {"connection_id":147179,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbe5ea78012d1821c00721b2e8005000d427..."} 
[2026-08-01 11:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbe5ea78012d1821c00721b2e8005000d427..."} 
[2026-08-01 11:31:11] local.INFO: Processing buffer {"connection_id":147179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbe5ea78012d1821c00721b2e8005000d427..."} 
[2026-08-01 11:31:11] local.INFO: Packet analysis {"connection_id":147179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbe5"} 
[2026-08-01 11:31:11] local.INFO: Extracted packet for processing {"connection_id":147179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbe5"} 
[2026-08-01 11:31:11] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649000,"longitude_deg":75.6556224,"latitude_deg":11.9649,"altitude":80,"angle":212,"satellites":39,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-01 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-08-01 11:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104336384001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109176193744896,"note":"Value kept but may cause issues"} 
[2026-08-01 11:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004399104,"note":"Value kept but may cause issues"} 
[2026-08-01 11: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-08-01 11:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785563835000,"timestamp_ms":1785563835000,"timestamp_seconds":1785563835,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbe5ea78"} 
[2026-08-01 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-08-01 11:31: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-08-01 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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-01 11:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 11:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":147179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":147179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":147179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11: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-08-01 11:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104336384001,"66":12635,"105":206,"83":41984,"24":0,"16":10109176193744896,"45":1738882068004399104},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104336384001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:31:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:31:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109176193744896,"km_value":10109176193744.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004399104,"description":"Unknown IO ID 45"} 
[2026-08-01 11:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104336384001,"power":12635,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004399104}} 
[2026-08-01 11:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":147179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576856,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:31:11] local.INFO: GPS data processed {"connection_id":147179,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:31:11] local.INFO: Acknowledgment sent {"connection_id":147179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:31:19] local.INFO: TCP Data received {"connection_id":147179,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbe63c80012d1821c00721b2e8005000d427..."} 
[2026-08-01 11:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbe63c80012d1821c00721b2e8005000d427..."} 
[2026-08-01 11:31:19] local.INFO: Processing buffer {"connection_id":147179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbe63c80012d1821c00721b2e8005000d427..."} 
[2026-08-01 11:31:19] local.INFO: Packet analysis {"connection_id":147179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbe6"} 
[2026-08-01 11:31:19] local.INFO: Extracted packet for processing {"connection_id":147179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbe6"} 
[2026-08-01 11:31:19] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649000,"longitude_deg":75.6556224,"latitude_deg":11.9649,"altitude":80,"angle":212,"satellites":39,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-01 11:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:31:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104341760001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:31:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109176193744896,"note":"Value kept but may cause issues"} 
[2026-08-01 11:31:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004399104,"note":"Value kept but may cause issues"} 
[2026-08-01 11:31:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:31:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785563856000,"timestamp_ms":1785563856000,"timestamp_seconds":1785563856,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbe63c80"} 
[2026-08-01 11:31:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:31:19] 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-08-01 11:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-01 11:31:19] 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-08-01 11:31:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:31:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:31:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:31:19] local.INFO: Teltonika packet parsed successfully {"connection_id":147179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:31:19] local.INFO: Passing IMEI to GPS processor {"connection_id":147179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:31:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":147179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:31:19] 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-08-01 11:31:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:31:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:31:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104341760001,"66":12613,"105":206,"83":41984,"24":0,"16":10109176193744896,"45":1738882068004399104},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:31:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:31:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:31:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104341760001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:31:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:31:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:31:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109176193744896,"km_value":10109176193744.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:31:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004399104,"description":"Unknown IO ID 45"} 
[2026-08-01 11:31:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104341760001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004399104}} 
[2026-08-01 11:31:19] local.INFO: DEBUG: GPS processor result {"connection_id":147179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:31:19] local.INFO: GPS data processed {"connection_id":147179,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:31:19] local.INFO: Acknowledgment sent {"connection_id":147179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:31:21] local.INFO: TCP Data received {"connection_id":148502,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbe89610012d11864006e1c1b8000c015e29..."} 
[2026-08-01 11:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbe89610012d11864006e1c1b8000c015e29..."} 
[2026-08-01 11:31:21] local.INFO: Processing buffer {"connection_id":148502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbe89610012d11864006e1c1b8000c015e29..."} 
[2026-08-01 11:31:21] local.INFO: Packet analysis {"connection_id":148502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbe8"} 
[2026-08-01 11:31:21] local.INFO: Extracted packet for processing {"connection_id":148502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbe8"} 
[2026-08-01 11:31:21] local.INFO: GPS Element Parsed {"raw_longitude":756123200,"raw_latitude":115458488,"longitude_deg":75.61232,"latitude_deg":11.5458488,"altitude":12,"angle":350,"satellites":41,"speed":39,"hex_longitude":"2d118640","hex_latitude":"06e1c1b8","is_valid_coordinates":true} 
[2026-08-01 11:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104384768001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366365980273672192,"note":"Value kept but may cause issues"} 
[2026-08-01 11:31:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1264455993683453952,"note":"Value kept but may cause issues"} 
[2026-08-01 11:31:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785564010000,"timestamp_ms":1785564010000,"timestamp_seconds":1785564010,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbe89610"} 
[2026-08-01 11:31:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:31: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-08-01 11:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 11:31:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:31:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:31:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:31:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104384768001,"66":27865,"108":206,"81":20480,"24":39,"16":366365980273672192,"45":1264455993683453952},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,81,24,16,45]} 
[2026-08-01 11:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104384768001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:31:21] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-01 11:31:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366365980273672192,"km_value":366365980273672.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:31:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1264455993683453952,"description":"Unknown IO ID 45"} 
[2026-08-01 11:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104384768001,"power":27865,"unknown_108":206,"unknown_81":20480,"ignition":39,"odometer":null,"unknown_45":1264455993683453952}} 
[2026-08-01 11:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":148502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:31:21] local.INFO: GPS data processed {"connection_id":148502,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:31:21] local.INFO: Acknowledgment sent {"connection_id":148502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:31:47] local.INFO: TCP Data received {"connection_id":146180,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:31:47] local.INFO: Processing buffer {"connection_id":146180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:31:47] local.INFO: IMEI packet received {"connection_id":146180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":146180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:31:49] local.INFO: TCP Data received {"connection_id":146180,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:31:49] local.INFO: Processing buffer {"connection_id":146180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:31:49] local.INFO: IMEI packet received {"connection_id":146180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":146180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:31:54] local.INFO: TCP Data received {"connection_id":146180,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:31:54] local.INFO: Processing buffer {"connection_id":146180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:31:54] local.INFO: IMEI packet received {"connection_id":146180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":146180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:31:54] local.INFO: TCP Data received {"connection_id":146180,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbe8c4f0012d117fc006e1e4c8000c015e28..."} 
[2026-08-01 11:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbe8c4f0012d117fc006e1e4c8000c015e28..."} 
[2026-08-01 11:31:54] local.INFO: Processing buffer {"connection_id":146180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbe8c4f0012d117fc006e1e4c8000c015e28..."} 
[2026-08-01 11:31:54] local.INFO: Packet analysis {"connection_id":146180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbe8"} 
[2026-08-01 11:31:54] local.INFO: Extracted packet for processing {"connection_id":146180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbe8"} 
[2026-08-01 11:31:54] local.INFO: GPS Element Parsed {"raw_longitude":756121536,"raw_latitude":115467464,"longitude_deg":75.6121536,"latitude_deg":11.5467464,"altitude":12,"angle":350,"satellites":40,"speed":31,"hex_longitude":"2d117fc0","hex_latitude":"06e1e4c8","is_valid_coordinates":true} 
[2026-08-01 11:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104386560001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366366422655303680,"note":"Value kept but may cause issues"} 
[2026-08-01 11:31:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1262767143825553408,"note":"Value kept but may cause issues"} 
[2026-08-01 11:31:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785564022000,"timestamp_ms":1785564022000,"timestamp_seconds":1785564022,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbe8c4f0"} 
[2026-08-01 11:31:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:31:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 11:31:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:31:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:31:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:31:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104386560001,"66":27800,"108":206,"81":20480,"24":31,"16":366366422655303680,"45":1262767143825553408},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,81,24,16,45]} 
[2026-08-01 11:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104386560001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:31:54] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-01 11:31:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366366422655303680,"km_value":366366422655303.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:31:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1262767143825553408,"description":"Unknown IO ID 45"} 
[2026-08-01 11:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104386560001,"power":27800,"unknown_108":206,"unknown_81":20480,"ignition":31,"odometer":null,"unknown_45":1262767143825553408}} 
[2026-08-01 11:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":146180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:31:54] local.INFO: GPS data processed {"connection_id":146180,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:31:54] local.INFO: Acknowledgment sent {"connection_id":146180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:32:01] local.INFO: TCP Data received {"connection_id":148503,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:32:01] local.INFO: Processing buffer {"connection_id":148503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:32:01] local.INFO: IMEI packet received {"connection_id":148503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":148503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:32:05] local.INFO: TCP Data received {"connection_id":148503,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:32:05] local.INFO: Processing buffer {"connection_id":148503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:32:05] local.INFO: IMEI packet received {"connection_id":148503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":148503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:32:06] local.INFO: TCP Data received {"connection_id":148503,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbe68e88012d1821c00721b2e8005000d427..."} 
[2026-08-01 11:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbe68e88012d1821c00721b2e8005000d427..."} 
[2026-08-01 11:32:06] local.INFO: Processing buffer {"connection_id":148503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbe68e88012d1821c00721b2e8005000d427..."} 
[2026-08-01 11:32:06] local.INFO: Packet analysis {"connection_id":148503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbe6"} 
[2026-08-01 11:32:06] local.INFO: Extracted packet for processing {"connection_id":148503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbe6"} 
[2026-08-01 11:32:06] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649000,"longitude_deg":75.6556224,"latitude_deg":11.9649,"altitude":80,"angle":212,"satellites":39,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104347136001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109176193744896,"note":"Value kept but may cause issues"} 
[2026-08-01 11:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004399104,"note":"Value kept but may cause issues"} 
[2026-08-01 11:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785563877000,"timestamp_ms":1785563877000,"timestamp_seconds":1785563877,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbe68e88"} 
[2026-08-01 11:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-01 11:32:06] 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-08-01 11: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-08-01 11:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:32:06] 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-08-01 11:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104347136001,"66":12602,"105":206,"83":41984,"24":0,"16":10109176193744896,"45":1738882068004399104},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104347136001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:32:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:32:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109176193744896,"km_value":10109176193744.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004399104,"description":"Unknown IO ID 45"} 
[2026-08-01 11:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104347136001,"power":12602,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004399104}} 
[2026-08-01 11:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":148503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576860,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:32:06] local.INFO: GPS data processed {"connection_id":148503,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:32:06] local.INFO: Acknowledgment sent {"connection_id":148503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:32:26] local.INFO: TCP Data received {"connection_id":146180,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbe8efe8012d117bc006e209a8000e016528..."} 
[2026-08-01 11:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbe8efe8012d117bc006e209a8000e016528..."} 
[2026-08-01 11:32:26] local.INFO: Processing buffer {"connection_id":146180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbe8efe8012d117bc006e209a8000e016528..."} 
[2026-08-01 11:32:26] local.INFO: Packet analysis {"connection_id":146180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbe8"} 
[2026-08-01 11:32:26] local.INFO: Extracted packet for processing {"connection_id":146180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbe8"} 
[2026-08-01 11:32:26] local.INFO: GPS Element Parsed {"raw_longitude":756120512,"raw_latitude":115476904,"longitude_deg":75.6120512,"latitude_deg":11.5476904,"altitude":14,"angle":357,"satellites":40,"speed":37,"hex_longitude":"2d117bc0","hex_latitude":"06e209a8","is_valid_coordinates":true} 
[2026-08-01 11:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104389632001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366366882216804352,"note":"Value kept but may cause issues"} 
[2026-08-01 11:32:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1260937556479232000,"note":"Value kept but may cause issues"} 
[2026-08-01 11:32:26] 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-08-01 11:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785564033000,"timestamp_ms":1785564033000,"timestamp_seconds":1785564033,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbe8efe8"} 
[2026-08-01 11:32:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:32: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-08-01 11:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 11:32: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-08-01 11:32:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:32:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":146180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":146180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":146180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:32:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104389632001,"66":27843,"108":206,"81":20480,"24":37,"16":366366882216804352,"45":1260937556479232000},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,81,24,16,45]} 
[2026-08-01 11:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104389632001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:32:26] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-01 11:32:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366366882216804352,"km_value":366366882216804.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:32:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1260937556479232000,"description":"Unknown IO ID 45"} 
[2026-08-01 11:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104389632001,"power":27843,"unknown_108":206,"unknown_81":20480,"ignition":37,"odometer":null,"unknown_45":1260937556479232000}} 
[2026-08-01 11:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":146180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:32:26] local.INFO: GPS data processed {"connection_id":146180,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:32:26] local.INFO: Acknowledgment sent {"connection_id":146180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:32:37] local.INFO: TCP Data received {"connection_id":148503,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbe6e090012d1821c00721b2e8005000d427..."} 
[2026-08-01 11:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbe6e090012d1821c00721b2e8005000d427..."} 
[2026-08-01 11:32:37] local.INFO: Processing buffer {"connection_id":148503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbe6e090012d1821c00721b2e8005000d427..."} 
[2026-08-01 11:32:37] local.INFO: Packet analysis {"connection_id":148503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbe6"} 
[2026-08-01 11:32:37] local.INFO: Extracted packet for processing {"connection_id":148503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbe6"} 
[2026-08-01 11:32:37] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649000,"longitude_deg":75.6556224,"latitude_deg":11.9649,"altitude":80,"angle":212,"satellites":39,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-01 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-08-01 11:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104352512001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109176193744896,"note":"Value kept but may cause issues"} 
[2026-08-01 11:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004399104,"note":"Value kept but may cause issues"} 
[2026-08-01 11:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785563898000,"timestamp_ms":1785563898000,"timestamp_seconds":1785563898,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbe6e090"} 
[2026-08-01 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-08-01 11:32:37] 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-08-01 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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-08-01 11:32:37] 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-08-01 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-08-01 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-08-01 11:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:32:37] 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-08-01 11:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104352512001,"66":12591,"105":206,"83":41984,"24":0,"16":10109176193744896,"45":1738882068004399104},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104352512001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:32:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:32:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109176193744896,"km_value":10109176193744.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004399104,"description":"Unknown IO ID 45"} 
[2026-08-01 11:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104352512001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004399104}} 
[2026-08-01 11:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":148503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:32:37] local.INFO: GPS data processed {"connection_id":148503,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:32:37] local.INFO: Acknowledgment sent {"connection_id":148503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:32:44] local.INFO: TCP Data received {"connection_id":147180,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:32:44] local.INFO: Processing buffer {"connection_id":147180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:32:44] local.INFO: IMEI packet received {"connection_id":147180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":147180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:32:49] local.INFO: TCP Data received {"connection_id":147180,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:32:49] local.INFO: Processing buffer {"connection_id":147180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:32:49] local.INFO: IMEI packet received {"connection_id":147180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":147180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:32:50] local.INFO: TCP Data received {"connection_id":147180,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbe916f8012d117c0006e22d580011000129..."} 
[2026-08-01 11:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbe916f8012d117c0006e22d580011000129..."} 
[2026-08-01 11:32:50] local.INFO: Processing buffer {"connection_id":147180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbe916f8012d117c0006e22d580011000129..."} 
[2026-08-01 11:32:50] local.INFO: Packet analysis {"connection_id":147180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbe9"} 
[2026-08-01 11:32:50] local.INFO: Extracted packet for processing {"connection_id":147180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbe9"} 
[2026-08-01 11:32:50] local.INFO: GPS Element Parsed {"raw_longitude":756120576,"raw_latitude":115486040,"longitude_deg":75.6120576,"latitude_deg":11.548604,"altitude":17,"angle":1,"satellites":41,"speed":32,"hex_longitude":"2d117c00","hex_latitude":"06e22d58","is_valid_coordinates":true} 
[2026-08-01 11:32:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:32:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104392448001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:32:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366367324598435840,"note":"Value kept but may cause issues"} 
[2026-08-01 11:32:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1259811656574806016,"note":"Value kept but may cause issues"} 
[2026-08-01 11:32:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:32:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785564043000,"timestamp_ms":1785564043000,"timestamp_seconds":1785564043,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbe916f8"} 
[2026-08-01 11:32:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:32: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-08-01 11: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 11:32:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:32:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:32:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:32:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:32:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:32:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:32:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:32:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:32:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:32:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:32:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104392448001,"66":27626,"108":206,"81":20480,"24":32,"16":366367324598435840,"45":1259811656574806016},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,81,24,16,45]} 
[2026-08-01 11:32:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:32:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:32:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104392448001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:32:50] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-01 11:32:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:32:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366367324598435840,"km_value":366367324598435.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:32:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1259811656574806016,"description":"Unknown IO ID 45"} 
[2026-08-01 11:32:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104392448001,"power":27626,"unknown_108":206,"unknown_81":20480,"ignition":32,"odometer":null,"unknown_45":1259811656574806016}} 
[2026-08-01 11:32:50] local.INFO: DEBUG: GPS processor result {"connection_id":147180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:32:50] local.INFO: GPS data processed {"connection_id":147180,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:32:50] local.INFO: Acknowledgment sent {"connection_id":147180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:33:01] local.INFO: TCP Data received {"connection_id":147181,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:33:01] local.INFO: Processing buffer {"connection_id":147181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:33:01] local.INFO: IMEI packet received {"connection_id":147181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":147181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:33:06] local.INFO: TCP Data received {"connection_id":147181,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:33:06] local.INFO: Processing buffer {"connection_id":147181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:33:06] local.INFO: IMEI packet received {"connection_id":147181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":147181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:33:06] local.INFO: TCP Data received {"connection_id":147181,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbe73298012d1821c00721b2e8005000d428..."} 
[2026-08-01 11:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbe73298012d1821c00721b2e8005000d428..."} 
[2026-08-01 11:33:06] local.INFO: Processing buffer {"connection_id":147181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbe73298012d1821c00721b2e8005000d428..."} 
[2026-08-01 11:33:06] local.INFO: Packet analysis {"connection_id":147181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbe7"} 
[2026-08-01 11:33:06] local.INFO: Extracted packet for processing {"connection_id":147181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbe7"} 
[2026-08-01 11:33:06] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649000,"longitude_deg":75.6556224,"latitude_deg":11.9649,"altitude":80,"angle":212,"satellites":40,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104357888001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109176193744896,"note":"Value kept but may cause issues"} 
[2026-08-01 11:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004399104,"note":"Value kept but may cause issues"} 
[2026-08-01 11:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785563919000,"timestamp_ms":1785563919000,"timestamp_seconds":1785563919,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbe73298"} 
[2026-08-01 11:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:33:06] 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-08-01 11: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-01 11:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11: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-08-01 11:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:33:06] 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-08-01 11:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104357888001,"66":12580,"105":206,"83":41984,"24":0,"16":10109176193744896,"45":1738882068004399104},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104357888001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:33:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:33:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109176193744896,"km_value":10109176193744.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004399104,"description":"Unknown IO ID 45"} 
[2026-08-01 11:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104357888001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004399104}} 
[2026-08-01 11:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":147181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576864,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:33:07] local.INFO: GPS data processed {"connection_id":147181,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:33:07] local.INFO: Acknowledgment sent {"connection_id":147181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:33:37] local.INFO: TCP Data received {"connection_id":147180,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbeab120012d114a0006e417780007015528..."} 
[2026-08-01 11:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbeab120012d114a0006e417780007015528..."} 
[2026-08-01 11:33:37] local.INFO: Processing buffer {"connection_id":147180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbeab120012d114a0006e417780007015528..."} 
[2026-08-01 11:33:37] local.INFO: Packet analysis {"connection_id":147180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbea"} 
[2026-08-01 11:33:37] local.INFO: Extracted packet for processing {"connection_id":147180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbea"} 
[2026-08-01 11:33:37] local.INFO: GPS Element Parsed {"raw_longitude":756107776,"raw_latitude":115611512,"longitude_deg":75.6107776,"latitude_deg":11.5611512,"altitude":7,"angle":341,"satellites":40,"speed":39,"hex_longitude":"2d114a00","hex_latitude":"06e41778","is_valid_coordinates":true} 
[2026-08-01 11:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104420352001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366373500761407488,"note":"Value kept but may cause issues"} 
[2026-08-01 11:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1247215651400015872,"note":"Value kept but may cause issues"} 
[2026-08-01 11:33:37] 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-08-01 11:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785564148000,"timestamp_ms":1785564148000,"timestamp_seconds":1785564148,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbeab120"} 
[2026-08-01 11:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:33: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-08-01 11:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 11:33: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-08-01 11:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104420352001,"66":27876,"111":206,"81":20480,"24":39,"16":366373500761407488,"45":1247215651400015872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,81,24,16,45]} 
[2026-08-01 11:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104420352001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:33:37] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-01 11:33:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366373500761407488,"km_value":366373500761407.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1247215651400015872,"description":"Unknown IO ID 45"} 
[2026-08-01 11:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104420352001,"power":27876,"unknown_111":206,"unknown_81":20480,"ignition":39,"odometer":null,"unknown_45":1247215651400015872}} 
[2026-08-01 11:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":147180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:33:37] local.INFO: GPS data processed {"connection_id":147180,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:33:37] local.INFO: Acknowledgment sent {"connection_id":147180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:33:37] local.INFO: TCP Data received {"connection_id":147181,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbe784a0012d1821c00721b2e8005000d428..."} 
[2026-08-01 11:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbe784a0012d1821c00721b2e8005000d428..."} 
[2026-08-01 11:33:38] local.INFO: Processing buffer {"connection_id":147181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbe784a0012d1821c00721b2e8005000d428..."} 
[2026-08-01 11:33:38] local.INFO: Packet analysis {"connection_id":147181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbe7"} 
[2026-08-01 11:33:38] local.INFO: Extracted packet for processing {"connection_id":147181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbe7"} 
[2026-08-01 11:33:38] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649000,"longitude_deg":75.6556224,"latitude_deg":11.9649,"altitude":80,"angle":212,"satellites":40,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104363264001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109176193744896,"note":"Value kept but may cause issues"} 
[2026-08-01 11:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004399104,"note":"Value kept but may cause issues"} 
[2026-08-01 11:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785563940000,"timestamp_ms":1785563940000,"timestamp_seconds":1785563940,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbe784a0"} 
[2026-08-01 11:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:33:38] 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-08-01 11: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-08-01 11:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11: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-08-01 11:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":147181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":147181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":147181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:33:38] 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-08-01 11:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104363264001,"66":12558,"105":206,"83":41984,"24":0,"16":10109176193744896,"45":1738882068004399104},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104363264001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:33:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:33:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109176193744896,"km_value":10109176193744.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004399104,"description":"Unknown IO ID 45"} 
[2026-08-01 11:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104363264001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004399104}} 
[2026-08-01 11:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":147181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576866,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:33:38] local.INFO: GPS data processed {"connection_id":147181,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:33:38] local.INFO: Acknowledgment sent {"connection_id":147181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:33:44] local.INFO: TCP Data received {"connection_id":147182,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:33:44] local.INFO: Processing buffer {"connection_id":147182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:33:44] local.INFO: IMEI packet received {"connection_id":147182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":147182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:33:45] local.INFO: TCP Data received {"connection_id":147182,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:33:45] local.INFO: Processing buffer {"connection_id":147182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:33:45] local.INFO: IMEI packet received {"connection_id":147182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":147182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:33:49] local.INFO: TCP Data received {"connection_id":147182,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:33:49] local.INFO: Processing buffer {"connection_id":147182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:33:49] local.INFO: IMEI packet received {"connection_id":147182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":147182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:33:50] local.INFO: TCP Data received {"connection_id":147182,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbead448012d113a8006e43790000a014929..."} 
[2026-08-01 11:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbead448012d113a8006e43790000a014929..."} 
[2026-08-01 11:33:50] local.INFO: Processing buffer {"connection_id":147182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbead448012d113a8006e43790000a014929..."} 
[2026-08-01 11:33:50] local.INFO: Packet analysis {"connection_id":147182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbea"} 
[2026-08-01 11:33:50] local.INFO: Extracted packet for processing {"connection_id":147182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbea"} 
[2026-08-01 11:33:50] local.INFO: GPS Element Parsed {"raw_longitude":756103808,"raw_latitude":115619728,"longitude_deg":75.6103808,"latitude_deg":11.5619728,"altitude":10,"angle":329,"satellites":41,"speed":40,"hex_longitude":"2d113a80","hex_latitude":"06e43790","is_valid_coordinates":true} 
[2026-08-01 11:33:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:33:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104421888001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:33:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366373938848071680,"note":"Value kept but may cause issues"} 
[2026-08-01 11:33:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1245808276517910528,"note":"Value kept but may cause issues"} 
[2026-08-01 11:33:50] 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-08-01 11:33:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785564157000,"timestamp_ms":1785564157000,"timestamp_seconds":1785564157,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbead448"} 
[2026-08-01 11:33:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:33:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:33:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 11:33:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:33:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:33:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:33:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:33:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:33:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:33:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:33:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:33:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:33:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:33:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104421888001,"66":27789,"105":206,"81":20480,"24":40,"16":366373938848071680,"45":1245808276517910528},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,81,24,16,45]} 
[2026-08-01 11:33:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:33:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:33:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104421888001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:33:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:33:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:33:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366373938848071680,"km_value":366373938848071.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:33:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1245808276517910528,"description":"Unknown IO ID 45"} 
[2026-08-01 11:33:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104421888001,"power":27789,"unknown_105":206,"unknown_81":20480,"ignition":40,"odometer":null,"unknown_45":1245808276517910528}} 
[2026-08-01 11:33:50] local.INFO: DEBUG: GPS processor result {"connection_id":147182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:33:50] local.INFO: GPS data processed {"connection_id":147182,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:33:50] local.INFO: Acknowledgment sent {"connection_id":147182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:34:00] local.INFO: TCP Data received {"connection_id":148504,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:34:00] local.INFO: Processing buffer {"connection_id":148504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:34:00] local.INFO: IMEI packet received {"connection_id":148504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":148504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:34:06] local.INFO: TCP Data received {"connection_id":148504,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:34:06] local.INFO: Processing buffer {"connection_id":148504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:34:06] local.INFO: IMEI packet received {"connection_id":148504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":148504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:34:06] local.INFO: TCP Data received {"connection_id":148504,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbe7d6a8012d1821c00721b2e8005000d427..."} 
[2026-08-01 11:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbe7d6a8012d1821c00721b2e8005000d427..."} 
[2026-08-01 11:34:06] local.INFO: Processing buffer {"connection_id":148504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbe7d6a8012d1821c00721b2e8005000d427..."} 
[2026-08-01 11:34:06] local.INFO: Packet analysis {"connection_id":148504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbe7"} 
[2026-08-01 11:34:06] local.INFO: Extracted packet for processing {"connection_id":148504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbe7"} 
[2026-08-01 11:34:06] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649000,"longitude_deg":75.6556224,"latitude_deg":11.9649,"altitude":80,"angle":212,"satellites":39,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104368640001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109176193744896,"note":"Value kept but may cause issues"} 
[2026-08-01 11:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004399104,"note":"Value kept but may cause issues"} 
[2026-08-01 11:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785563961000,"timestamp_ms":1785563961000,"timestamp_seconds":1785563961,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbe7d6a8"} 
[2026-08-01 11:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-01 11:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-01 11:34:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-01 11:34:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 11:34:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3152386160,"note":"Value kept but may cause issues"} 
[2026-08-01 11:34:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249384239784899304,"note":"Value kept but may cause issues"} 
[2026-08-01 11:34:06] local.WARNING: Large IO value detected {"io_id":187,"raw_value":3862724609,"note":"Value kept but may cause issues"} 
[2026-08-01 11:34:06] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3221692850,"note":"Value kept but may cause issues"} 
[2026-08-01 11:34:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-01 11:34:06] local.WARNING: Large IO value detected {"io_id":35,"raw_value":3929931776,"note":"Value kept but may cause issues"} 
[2026-08-01 11:34:06] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-01 11:34:06] local.WARNING: Large IO value detected {"io_id":53,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-01 11:34:06] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-01 11:34:06] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,234,159,50,45,192,178,80,40,10,66,224,39,142,1,240,58,227,187,33,4,113,205,232,239,49,2,35,7,106,53,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-01 11:34:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5764840791298015232,"timestamp_seconds":5764840791298015.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 11:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:34:06] 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-08-01 11:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104368640001,"66":12558,"105":206,"83":41984,"24":0,"16":10109176193744896,"45":1738882068004399104},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104368640001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:34:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:34:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109176193744896,"km_value":10109176193744.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004399104,"description":"Unknown IO ID 45"} 
[2026-08-01 11:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104368640001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004399104}} 
[2026-08-01 11:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":148504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:34:06] local.INFO: GPS data processed {"connection_id":148504,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:34:06] local.INFO: Acknowledgment sent {"connection_id":148504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:34:28] local.INFO: TCP Data received {"connection_id":147182,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbead448012d113a8006e43790000a014929..."} 
[2026-08-01 11:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbead448012d113a8006e43790000a014929..."} 
[2026-08-01 11:34:28] local.INFO: Processing buffer {"connection_id":147182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbead448012d113a8006e43790000a014929..."} 
[2026-08-01 11:34:28] local.INFO: Packet analysis {"connection_id":147182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbea"} 
[2026-08-01 11:34:28] local.INFO: Extracted packet for processing {"connection_id":147182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbea"} 
[2026-08-01 11:34:28] local.INFO: GPS Element Parsed {"raw_longitude":756103808,"raw_latitude":115619728,"longitude_deg":75.6103808,"latitude_deg":11.5619728,"altitude":10,"angle":329,"satellites":41,"speed":40,"hex_longitude":"2d113a80","hex_latitude":"06e43790","is_valid_coordinates":true} 
[2026-08-01 11:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:34:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104424192001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:34:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366373938848071680,"note":"Value kept but may cause issues"} 
[2026-08-01 11:34:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1241445414380998656,"note":"Value kept but may cause issues"} 
[2026-08-01 11:34:28] 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-08-01 11:34:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785564157000,"timestamp_ms":1785564157000,"timestamp_seconds":1785564157,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbead448"} 
[2026-08-01 11:34:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:34: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-08-01 11:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-01 11:34:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:34:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:34:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:34:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:34:28] local.INFO: Teltonika packet parsed successfully {"connection_id":147182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:34:28] local.INFO: Passing IMEI to GPS processor {"connection_id":147182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:34:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":147182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:34: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-08-01 11:34:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:34:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:34:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104424192001,"66":27789,"105":206,"81":20480,"24":40,"16":366373938848071680,"45":1241445414380998656},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,81,24,16,45]} 
[2026-08-01 11:34:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:34:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:34:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104424192001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:34:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:34:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-01 11:34:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366373938848071680,"km_value":366373938848071.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:34:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1241445414380998656,"description":"Unknown IO ID 45"} 
[2026-08-01 11:34:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104424192001,"power":27789,"unknown_105":206,"unknown_81":20480,"ignition":40,"odometer":null,"unknown_45":1241445414380998656}} 
[2026-08-01 11:34:28] local.INFO: DEBUG: GPS processor result {"connection_id":147182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:34:28] local.INFO: GPS data processed {"connection_id":147182,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:34:28] local.INFO: Acknowledgment sent {"connection_id":147182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:34:38] local.INFO: TCP Data received {"connection_id":148504,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbeb5d00012d1821c00721b2e8005000d428..."} 
[2026-08-01 11:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbeb5d00012d1821c00721b2e8005000d428..."} 
[2026-08-01 11:34:38] local.INFO: Processing buffer {"connection_id":148504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbeb5d00012d1821c00721b2e8005000d428..."} 
[2026-08-01 11:34:38] local.INFO: Packet analysis {"connection_id":148504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbeb"} 
[2026-08-01 11:34:38] local.INFO: Extracted packet for processing {"connection_id":148504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbeb"} 
[2026-08-01 11:34:38] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649000,"longitude_deg":75.6556224,"latitude_deg":11.9649,"altitude":80,"angle":212,"satellites":40,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-01 11:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104427776001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109176193744896,"note":"Value kept but may cause issues"} 
[2026-08-01 11:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004399104,"note":"Value kept but may cause issues"} 
[2026-08-01 11:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785564192000,"timestamp_ms":1785564192000,"timestamp_seconds":1785564192,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbeb5d00"} 
[2026-08-01 11:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:34:38] 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-08-01 11:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-01 11:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":148504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":148504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":148504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:34:38] 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-08-01 11:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104427776001,"66":12461,"105":206,"83":41984,"24":0,"16":10109176193744896,"45":1738882068004399104},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104427776001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:34:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:34:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109176193744896,"km_value":10109176193744.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004399104,"description":"Unknown IO ID 45"} 
[2026-08-01 11:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104427776001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004399104}} 
[2026-08-01 11:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":148504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:34:38] local.INFO: GPS data processed {"connection_id":148504,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:34:38] local.INFO: Acknowledgment sent {"connection_id":148504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:34:44] local.INFO: TCP Data received {"connection_id":147183,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:34:44] local.INFO: Processing buffer {"connection_id":147183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:34:44] local.INFO: IMEI packet received {"connection_id":147183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":147183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:34:45] local.INFO: TCP Data received {"connection_id":147183,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:34:45] local.INFO: Processing buffer {"connection_id":147183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:34:45] local.INFO: IMEI packet received {"connection_id":147183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":147183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:34:50] local.INFO: TCP Data received {"connection_id":147183,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:34:50] local.INFO: Processing buffer {"connection_id":147183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:34:50] local.INFO: IMEI packet received {"connection_id":147183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":147183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:34:52] local.INFO: TCP Data received {"connection_id":147183,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbec1c68012d10c8c006e585c80010015b29..."} 
[2026-08-01 11:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbec1c68012d10c8c006e585c80010015b29..."} 
[2026-08-01 11:34:52] local.INFO: Processing buffer {"connection_id":147183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbec1c68012d10c8c006e585c80010015b29..."} 
[2026-08-01 11:34:52] local.INFO: Packet analysis {"connection_id":147183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbec"} 
[2026-08-01 11:34:52] local.INFO: Extracted packet for processing {"connection_id":147183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbec"} 
[2026-08-01 11:34:52] local.INFO: GPS Element Parsed {"raw_longitude":756074688,"raw_latitude":115705288,"longitude_deg":75.6074688,"latitude_deg":11.5705288,"altitude":16,"angle":347,"satellites":41,"speed":50,"hex_longitude":"2d10c8c0","hex_latitude":"06e585c8","is_valid_coordinates":true} 
[2026-08-01 11:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104443648001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366378392729157632,"note":"Value kept but may cause issues"} 
[2026-08-01 11:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1210060954497097728,"note":"Value kept but may cause issues"} 
[2026-08-01 11:34:52] 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-08-01 11:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785564241000,"timestamp_ms":1785564241000,"timestamp_seconds":1785564241,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbec1c68"} 
[2026-08-01 11:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:34:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 11:34:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:34:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":147183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":147183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":147183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:34:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104443648001,"66":27843,"246":206,"80":6400,"24":50,"16":366378392729157632,"45":1210060954497097728},"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-08-01 11:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104443648001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:34:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366378392729157632,"km_value":366378392729157.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1210060954497097728,"description":"Unknown IO ID 45"} 
[2026-08-01 11:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104443648001,"power":27843,"main_input_voltage":206,"unknown_80":6400,"ignition":50,"odometer":null,"unknown_45":1210060954497097728}} 
[2026-08-01 11:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":147183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:34:52] local.INFO: GPS data processed {"connection_id":147183,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:34:52] local.INFO: Acknowledgment sent {"connection_id":147183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:35:00] local.INFO: TCP Data received {"connection_id":145965,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:35:00] local.INFO: Processing buffer {"connection_id":145965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:35:00] local.INFO: IMEI packet received {"connection_id":145965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":145965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:35:06] local.INFO: TCP Data received {"connection_id":145965,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:35:06] local.INFO: Processing buffer {"connection_id":145965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:35:06] local.INFO: IMEI packet received {"connection_id":145965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":145965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:35:06] local.INFO: TCP Data received {"connection_id":145965,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbebaf08012d1821c00721b2e8005000d428..."} 
[2026-08-01 11:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbebaf08012d1821c00721b2e8005000d428..."} 
[2026-08-01 11:35:06] local.INFO: Processing buffer {"connection_id":145965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbebaf08012d1821c00721b2e8005000d428..."} 
[2026-08-01 11:35:06] local.INFO: Packet analysis {"connection_id":145965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbeb"} 
[2026-08-01 11:35:06] local.INFO: Extracted packet for processing {"connection_id":145965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbeb"} 
[2026-08-01 11:35:06] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649000,"longitude_deg":75.6556224,"latitude_deg":11.9649,"altitude":80,"angle":212,"satellites":40,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104433152001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109176193744896,"note":"Value kept but may cause issues"} 
[2026-08-01 11:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004399104,"note":"Value kept but may cause issues"} 
[2026-08-01 11:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785564213000,"timestamp_ms":1785564213000,"timestamp_seconds":1785564213,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbebaf08"} 
[2026-08-01 11:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:35:06] 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-08-01 11: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 11:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11: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-08-01 11:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:35:06] 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-08-01 11:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104433152001,"66":12461,"105":206,"83":41984,"24":0,"16":10109176193744896,"45":1738882068004399104},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104433152001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:35:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:35:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109176193744896,"km_value":10109176193744.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004399104,"description":"Unknown IO ID 45"} 
[2026-08-01 11:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104433152001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004399104}} 
[2026-08-01 11:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":145965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576872,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:35:06] local.INFO: GPS data processed {"connection_id":145965,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:35:06] local.INFO: Acknowledgment sent {"connection_id":145965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:35:23] local.INFO: TCP Data received {"connection_id":147183,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbec1c68012d10c8c006e585c80010015b29..."} 
[2026-08-01 11:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbec1c68012d10c8c006e585c80010015b29..."} 
[2026-08-01 11:35:23] local.INFO: Processing buffer {"connection_id":147183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbec1c68012d10c8c006e585c80010015b29..."} 
[2026-08-01 11:35:23] local.INFO: Packet analysis {"connection_id":147183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbec"} 
[2026-08-01 11:35:23] local.INFO: Extracted packet for processing {"connection_id":147183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbec"} 
[2026-08-01 11:35:23] local.INFO: GPS Element Parsed {"raw_longitude":756074688,"raw_latitude":115705288,"longitude_deg":75.6074688,"latitude_deg":11.5705288,"altitude":16,"angle":347,"satellites":41,"speed":50,"hex_longitude":"2d10c8c0","hex_latitude":"06e585c8","is_valid_coordinates":true} 
[2026-08-01 11:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:35:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104445696001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:35:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366378392729157632,"note":"Value kept but may cause issues"} 
[2026-08-01 11:35:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1209427635802064896,"note":"Value kept but may cause issues"} 
[2026-08-01 11:35:23] 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-08-01 11:35:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785564241000,"timestamp_ms":1785564241000,"timestamp_seconds":1785564241,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbec1c68"} 
[2026-08-01 11:35:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:35:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 11:35:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:35:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:35:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:35:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:35:23] local.INFO: Teltonika packet parsed successfully {"connection_id":147183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:35:23] local.INFO: Passing IMEI to GPS processor {"connection_id":147183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:35:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":147183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:35:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:35:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:35:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:35:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104445696001,"66":27843,"246":206,"80":6400,"24":50,"16":366378392729157632,"45":1209427635802064896},"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-08-01 11:35:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:35:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:35:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104445696001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:35:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:35:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366378392729157632,"km_value":366378392729157.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:35:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1209427635802064896,"description":"Unknown IO ID 45"} 
[2026-08-01 11:35:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104445696001,"power":27843,"main_input_voltage":206,"unknown_80":6400,"ignition":50,"odometer":null,"unknown_45":1209427635802064896}} 
[2026-08-01 11:35:23] local.INFO: DEBUG: GPS processor result {"connection_id":147183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:35:23] local.INFO: GPS data processed {"connection_id":147183,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:35:23] local.INFO: Acknowledgment sent {"connection_id":147183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:35:38] local.INFO: TCP Data received {"connection_id":145965,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbec0110012d1821c00721b2e8005000d426..."} 
[2026-08-01 11:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbec0110012d1821c00721b2e8005000d426..."} 
[2026-08-01 11:35:38] local.INFO: Processing buffer {"connection_id":145965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbec0110012d1821c00721b2e8005000d426..."} 
[2026-08-01 11:35:38] local.INFO: Packet analysis {"connection_id":145965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbec"} 
[2026-08-01 11:35:38] local.INFO: Extracted packet for processing {"connection_id":145965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbec"} 
[2026-08-01 11:35:38] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649000,"longitude_deg":75.6556224,"latitude_deg":11.9649,"altitude":80,"angle":212,"satellites":38,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-01 11:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104438528001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109176193744896,"note":"Value kept but may cause issues"} 
[2026-08-01 11:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004399104,"note":"Value kept but may cause issues"} 
[2026-08-01 11:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785564234000,"timestamp_ms":1785564234000,"timestamp_seconds":1785564234,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbec0110"} 
[2026-08-01 11:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:35:38] 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-08-01 11:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 11:35: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-08-01 11:35:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:35:38] 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-08-01 11:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104438528001,"66":12428,"105":206,"83":41984,"24":0,"16":10109176193744896,"45":1738882068004399104},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104438528001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:35:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:35:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109176193744896,"km_value":10109176193744.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004399104,"description":"Unknown IO ID 45"} 
[2026-08-01 11:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104438528001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004399104}} 
[2026-08-01 11:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":145965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:35:38] local.INFO: GPS data processed {"connection_id":145965,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:35:38] local.INFO: Acknowledgment sent {"connection_id":145965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:35:44] local.INFO: TCP Data received {"connection_id":146181,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:35:44] local.INFO: Processing buffer {"connection_id":146181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:35:44] local.INFO: IMEI packet received {"connection_id":146181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":146181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:35:48] local.INFO: TCP Data received {"connection_id":146181,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:35:48] local.INFO: Processing buffer {"connection_id":146181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:35:48] local.INFO: IMEI packet received {"connection_id":146181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":146181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:35:49] local.INFO: TCP Data received {"connection_id":146181,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:35:49] local.INFO: Processing buffer {"connection_id":146181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:35:49] local.INFO: IMEI packet received {"connection_id":146181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":146181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:35:50] local.INFO: TCP Data received {"connection_id":146181,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbec33d8012d10be8006e5a2800010015028..."} 
[2026-08-01 11:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbec33d8012d10be8006e5a2800010015028..."} 
[2026-08-01 11:35:50] local.INFO: Processing buffer {"connection_id":146181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbec33d8012d10be8006e5a2800010015028..."} 
[2026-08-01 11:35:50] local.INFO: Packet analysis {"connection_id":146181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbec"} 
[2026-08-01 11:35:50] local.INFO: Extracted packet for processing {"connection_id":146181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbec"} 
[2026-08-01 11:35:50] local.INFO: GPS Element Parsed {"raw_longitude":756072064,"raw_latitude":115712640,"longitude_deg":75.6072064,"latitude_deg":11.571264,"altitude":16,"angle":336,"satellites":40,"speed":52,"hex_longitude":"2d10be80","hex_latitude":"06e5a280","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104445696001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366378770686279680,"note":"Value kept but may cause issues"} 
[2026-08-01 11:35:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1209427635802064896,"note":"Value kept but may cause issues"} 
[2026-08-01 11:35:50] 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-08-01 11:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785564247000,"timestamp_ms":1785564247000,"timestamp_seconds":1785564247,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbec33d8"} 
[2026-08-01 11:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:35: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-08-01 11:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 11:35:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:35:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104445696001,"66":27821,"246":206,"80":6400,"24":52,"16":366378770686279680,"45":1209427635802064896},"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-08-01 11:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104445696001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:35:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366378770686279680,"km_value":366378770686279.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:35:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1209427635802064896,"description":"Unknown IO ID 45"} 
[2026-08-01 11:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104445696001,"power":27821,"main_input_voltage":206,"unknown_80":6400,"ignition":52,"odometer":null,"unknown_45":1209427635802064896}} 
[2026-08-01 11:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":146181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:35:50] local.INFO: GPS data processed {"connection_id":146181,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:35:50] local.INFO: Acknowledgment sent {"connection_id":146181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:36:00] local.INFO: TCP Data received {"connection_id":148505,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:36:00] local.INFO: Processing buffer {"connection_id":148505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:36:00] local.INFO: IMEI packet received {"connection_id":148505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":148505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:36:06] local.INFO: TCP Data received {"connection_id":148505,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:36:06] local.INFO: Processing buffer {"connection_id":148505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:36:06] local.INFO: IMEI packet received {"connection_id":148505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":148505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:36:06] local.INFO: TCP Data received {"connection_id":148505,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbec5318012d1821c00721b2e8005000d426..."} 
[2026-08-01 11:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbec5318012d1821c00721b2e8005000d426..."} 
[2026-08-01 11:36:06] local.INFO: Processing buffer {"connection_id":148505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbec5318012d1821c00721b2e8005000d426..."} 
[2026-08-01 11:36:06] local.INFO: Packet analysis {"connection_id":148505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbec"} 
[2026-08-01 11:36:06] local.INFO: Extracted packet for processing {"connection_id":148505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbec"} 
[2026-08-01 11:36:06] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649000,"longitude_deg":75.6556224,"latitude_deg":11.9649,"altitude":80,"angle":212,"satellites":38,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104443904001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109176193744896,"note":"Value kept but may cause issues"} 
[2026-08-01 11:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004399104,"note":"Value kept but may cause issues"} 
[2026-08-01 11:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785564255000,"timestamp_ms":1785564255000,"timestamp_seconds":1785564255,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbec5318"} 
[2026-08-01 11:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:36:06] 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-08-01 11:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-01 11:36:06] 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-08-01 11: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-08-01 11:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:36:06] 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-08-01 11:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104443904001,"66":12406,"105":206,"83":41984,"24":0,"16":10109176193744896,"45":1738882068004399104},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104443904001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:36:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:36:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109176193744896,"km_value":10109176193744.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004399104,"description":"Unknown IO ID 45"} 
[2026-08-01 11:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104443904001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004399104}} 
[2026-08-01 11:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":148505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:36:06] local.INFO: GPS data processed {"connection_id":148505,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:36:06] local.INFO: Acknowledgment sent {"connection_id":148505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:36:22] local.INFO: TCP Data received {"connection_id":146181,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbec4f30012d10ae8006e5c3f8000e014d26..."} 
[2026-08-01 11:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbec4f30012d10ae8006e5c3f8000e014d26..."} 
[2026-08-01 11:36:22] local.INFO: Processing buffer {"connection_id":146181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbec4f30012d10ae8006e5c3f8000e014d26..."} 
[2026-08-01 11:36:22] local.INFO: Packet analysis {"connection_id":146181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbec"} 
[2026-08-01 11:36:22] local.INFO: Extracted packet for processing {"connection_id":146181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbec"} 
[2026-08-01 11:36:22] local.INFO: GPS Element Parsed {"raw_longitude":756067968,"raw_latitude":115721208,"longitude_deg":75.6067968,"latitude_deg":11.5721208,"altitude":14,"angle":333,"satellites":38,"speed":53,"hex_longitude":"2d10ae80","hex_latitude":"06e5c3f8","is_valid_coordinates":true} 
[2026-08-01 11:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104447232001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:36:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366379230247780352,"note":"Value kept but may cause issues"} 
[2026-08-01 11:36:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1206542517292662784,"note":"Value kept but may cause issues"} 
[2026-08-01 11:36:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:36:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785564254000,"timestamp_ms":1785564254000,"timestamp_seconds":1785564254,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbec4f30"} 
[2026-08-01 11:36:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:36:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 11:36:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:36:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:36:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:36:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:36:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:36:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:36:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:36:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:36:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:36:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:36:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104447232001,"66":27919,"246":206,"80":6400,"24":53,"16":366379230247780352,"45":1206542517292662784},"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-08-01 11:36:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:36:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:36:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104447232001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:36:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:36:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366379230247780352,"km_value":366379230247780.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:36:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1206542517292662784,"description":"Unknown IO ID 45"} 
[2026-08-01 11:36:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104447232001,"power":27919,"main_input_voltage":206,"unknown_80":6400,"ignition":53,"odometer":null,"unknown_45":1206542517292662784}} 
[2026-08-01 11:36:22] local.INFO: DEBUG: GPS processor result {"connection_id":146181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:36:22] local.INFO: GPS data processed {"connection_id":146181,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:36:22] local.INFO: Acknowledgment sent {"connection_id":146181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:36:38] local.INFO: TCP Data received {"connection_id":148505,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbeca520012d1821c00721b2e8005000d427..."} 
[2026-08-01 11:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbeca520012d1821c00721b2e8005000d427..."} 
[2026-08-01 11:36:38] local.INFO: Processing buffer {"connection_id":148505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbeca520012d1821c00721b2e8005000d427..."} 
[2026-08-01 11:36:38] local.INFO: Packet analysis {"connection_id":148505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbec"} 
[2026-08-01 11:36:38] local.INFO: Extracted packet for processing {"connection_id":148505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbec"} 
[2026-08-01 11:36:38] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649000,"longitude_deg":75.6556224,"latitude_deg":11.9649,"altitude":80,"angle":212,"satellites":39,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-01 11:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104449280001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109176193744896,"note":"Value kept but may cause issues"} 
[2026-08-01 11:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004399104,"note":"Value kept but may cause issues"} 
[2026-08-01 11:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785564276000,"timestamp_ms":1785564276000,"timestamp_seconds":1785564276,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbeca520"} 
[2026-08-01 11:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:36:38] 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-08-01 11:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 11:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:36:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":148505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":148505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":148505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:36:38] 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-08-01 11:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104449280001,"66":12461,"105":206,"83":41984,"24":0,"16":10109176193744896,"45":1738882068004399104},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104449280001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:36:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:36:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109176193744896,"km_value":10109176193744.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004399104,"description":"Unknown IO ID 45"} 
[2026-08-01 11:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104449280001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004399104}} 
[2026-08-01 11:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":148505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576878,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:36:38] local.INFO: GPS data processed {"connection_id":148505,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:36:38] local.INFO: Acknowledgment sent {"connection_id":148505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:36:49] local.INFO: TCP Data received {"connection_id":147184,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:36:49] local.INFO: Processing buffer {"connection_id":147184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:36:49] local.INFO: IMEI packet received {"connection_id":147184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":147184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:36:50] local.INFO: TCP Data received {"connection_id":147184,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:36:50] local.INFO: Processing buffer {"connection_id":147184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:36:50] local.INFO: IMEI packet received {"connection_id":147184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":147184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:36:51] local.INFO: TCP Data received {"connection_id":147184,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbed7810012d0fc68006e6a6500008012225..."} 
[2026-08-01 11:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbed7810012d0fc68006e6a6500008012225..."} 
[2026-08-01 11:36:51] local.INFO: Processing buffer {"connection_id":147184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbed7810012d0fc68006e6a6500008012225..."} 
[2026-08-01 11:36:51] local.INFO: Packet analysis {"connection_id":147184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbed"} 
[2026-08-01 11:36:51] local.INFO: Extracted packet for processing {"connection_id":147184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbed"} 
[2026-08-01 11:36:51] local.INFO: GPS Element Parsed {"raw_longitude":756008576,"raw_latitude":115779152,"longitude_deg":75.6008576,"latitude_deg":11.5779152,"altitude":8,"angle":290,"satellites":37,"speed":4,"hex_longitude":"2d0fc680","hex_latitude":"06e6a650","is_valid_coordinates":true} 
[2026-08-01 11:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104463104001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366383340531482624,"note":"Value kept but may cause issues"} 
[2026-08-01 11:36:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1145392078618372096,"note":"Value kept but may cause issues"} 
[2026-08-01 11:36:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785564330000,"timestamp_ms":1785564330000,"timestamp_seconds":1785564330,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbed7810"} 
[2026-08-01 11:36:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:36:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 11:36:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:36:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:36:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":147184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":147184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":147184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104463104001,"66":27930,"74":206,"80":6400,"24":4,"16":366383340531482624,"45":1145392078618372096},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,80,24,16,45]} 
[2026-08-01 11:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104463104001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:36:51] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-08-01 11:36:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366383340531482624,"km_value":366383340531482.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:36:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1145392078618372096,"description":"Unknown IO ID 45"} 
[2026-08-01 11:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104463104001,"power":27930,"unknown_74":206,"unknown_80":6400,"ignition":4,"odometer":null,"unknown_45":1145392078618372096}} 
[2026-08-01 11:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":147184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:36:51] local.INFO: GPS data processed {"connection_id":147184,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:36:51] local.INFO: Acknowledgment sent {"connection_id":147184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:36:55] local.INFO: TCP Data received {"connection_id":147184,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbedca18012d0fc1c006e6a8300007012227..."} 
[2026-08-01 11:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbedca18012d0fc1c006e6a8300007012227..."} 
[2026-08-01 11:36:55] local.INFO: Processing buffer {"connection_id":147184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbedca18012d0fc1c006e6a8300007012227..."} 
[2026-08-01 11:36:55] local.INFO: Packet analysis {"connection_id":147184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbed"} 
[2026-08-01 11:36:55] local.INFO: Extracted packet for processing {"connection_id":147184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbed"} 
[2026-08-01 11:36:55] local.INFO: GPS Element Parsed {"raw_longitude":756007360,"raw_latitude":115779632,"longitude_deg":75.600736,"latitude_deg":11.5779632,"altitude":7,"angle":290,"satellites":39,"speed":0,"hex_longitude":"2d0fc1c0","hex_latitude":"06e6a830","is_valid_coordinates":true} 
[2026-08-01 11:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104468480001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366383404955992064,"note":"Value kept but may cause issues"} 
[2026-08-01 11:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1136736723085447168,"note":"Value kept but may cause issues"} 
[2026-08-01 11:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785564351000,"timestamp_ms":1785564351000,"timestamp_seconds":1785564351,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbedca18"} 
[2026-08-01 11:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:36: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-08-01 11:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-01 11:36:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:36:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":147184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":147184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":147184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:36:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104468480001,"66":27974,"74":206,"80":6400,"24":0,"16":366383404955992064,"45":1136736723085447168},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,80,24,16,45]} 
[2026-08-01 11:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104468480001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:36:55] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-08-01 11:36:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366383404955992064,"km_value":366383404955992.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1136736723085447168,"description":"Unknown IO ID 45"} 
[2026-08-01 11:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104468480001,"power":27974,"unknown_74":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1136736723085447168}} 
[2026-08-01 11:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":147184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:36:55] local.INFO: GPS data processed {"connection_id":147184,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:36:55] local.INFO: Acknowledgment sent {"connection_id":147184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:37:06] local.INFO: TCP Data received {"connection_id":145966,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:37:06] local.INFO: Processing buffer {"connection_id":145966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:37:06] local.INFO: IMEI packet received {"connection_id":145966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":145966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:37:10] local.INFO: TCP Data received {"connection_id":145966,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:37:10] local.INFO: Processing buffer {"connection_id":145966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:37:10] local.INFO: IMEI packet received {"connection_id":145966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":145966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:37:11] local.INFO: TCP Data received {"connection_id":145966,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbecf728012d1821c00721b2e8005000d428..."} 
[2026-08-01 11:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbecf728012d1821c00721b2e8005000d428..."} 
[2026-08-01 11:37:11] local.INFO: Processing buffer {"connection_id":145966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbecf728012d1821c00721b2e8005000d428..."} 
[2026-08-01 11:37:11] local.INFO: Packet analysis {"connection_id":145966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbec"} 
[2026-08-01 11:37:11] local.INFO: Extracted packet for processing {"connection_id":145966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbec"} 
[2026-08-01 11:37:11] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649000,"longitude_deg":75.6556224,"latitude_deg":11.9649,"altitude":80,"angle":212,"satellites":40,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104454656001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109176193744896,"note":"Value kept but may cause issues"} 
[2026-08-01 11:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004399104,"note":"Value kept but may cause issues"} 
[2026-08-01 11: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-08-01 11:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785564297000,"timestamp_ms":1785564297000,"timestamp_seconds":1785564297,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbecf728"} 
[2026-08-01 11:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:37: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-08-01 11: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":173,"data_length":795,"current_offset":136} 
[2026-08-01 11:37: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-08-01 11: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-08-01 11:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":145966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":145966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":145966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11: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-08-01 11:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104454656001,"66":12439,"105":206,"83":41984,"24":0,"16":10109176193744896,"45":1738882068004399104},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104454656001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:37:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:37:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109176193744896,"km_value":10109176193744.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004399104,"description":"Unknown IO ID 45"} 
[2026-08-01 11:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104454656001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004399104}} 
[2026-08-01 11:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":145966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576881,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:37:11] local.INFO: GPS data processed {"connection_id":145966,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:37:11] local.INFO: Acknowledgment sent {"connection_id":145966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:37:16] local.INFO: TCP Data received {"connection_id":145966,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbed4930012d1821c00721b2e8005000d427..."} 
[2026-08-01 11:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbed4930012d1821c00721b2e8005000d427..."} 
[2026-08-01 11:37:16] local.INFO: Processing buffer {"connection_id":145966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbed4930012d1821c00721b2e8005000d427..."} 
[2026-08-01 11:37:16] local.INFO: Packet analysis {"connection_id":145966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbed"} 
[2026-08-01 11:37:16] local.INFO: Extracted packet for processing {"connection_id":145966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbed"} 
[2026-08-01 11:37:16] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649000,"longitude_deg":75.6556224,"latitude_deg":11.9649,"altitude":80,"angle":212,"satellites":39,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-01 11:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104460032001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109176193744896,"note":"Value kept but may cause issues"} 
[2026-08-01 11:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004399104,"note":"Value kept but may cause issues"} 
[2026-08-01 11:37: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-08-01 11:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785564318000,"timestamp_ms":1785564318000,"timestamp_seconds":1785564318,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbed4930"} 
[2026-08-01 11:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:37: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-08-01 11:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 11:37:16] 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-08-01 11:37:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":145966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":145966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":145966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:37: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-08-01 11:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104460032001,"66":12461,"105":206,"83":41984,"24":0,"16":10109176193744896,"45":1738882068004399104},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104460032001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:37:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:37:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109176193744896,"km_value":10109176193744.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004399104,"description":"Unknown IO ID 45"} 
[2026-08-01 11:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104460032001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004399104}} 
[2026-08-01 11:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":145966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:37:16] local.INFO: GPS data processed {"connection_id":145966,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:37:16] local.INFO: Acknowledgment sent {"connection_id":145966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:37:26] local.INFO: TCP Data received {"connection_id":147184,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbee1c20012d0fb94006e6aa800007011d29..."} 
[2026-08-01 11:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbee1c20012d0fb94006e6aa800007011d29..."} 
[2026-08-01 11:37:26] local.INFO: Processing buffer {"connection_id":147184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbee1c20012d0fb94006e6aa800007011d29..."} 
[2026-08-01 11:37:26] local.INFO: Packet analysis {"connection_id":147184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbee"} 
[2026-08-01 11:37:26] local.INFO: Extracted packet for processing {"connection_id":147184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbee"} 
[2026-08-01 11:37:26] local.INFO: GPS Element Parsed {"raw_longitude":756005184,"raw_latitude":115780224,"longitude_deg":75.6005184,"latitude_deg":11.5780224,"altitude":7,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d0fb940","hex_latitude":"06e6aa80","is_valid_coordinates":true} 
[2026-08-01 11:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:37:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104473856001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:37:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366383516625141760,"note":"Value kept but may cause issues"} 
[2026-08-01 11:37:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1135399716946194432,"note":"Value kept but may cause issues"} 
[2026-08-01 11:37:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:37:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785564372000,"timestamp_ms":1785564372000,"timestamp_seconds":1785564372,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbee1c20"} 
[2026-08-01 11:37:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:37:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-01 11:37:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:37:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:37:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:37:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:37:26] local.INFO: Teltonika packet parsed successfully {"connection_id":147184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:37:26] local.INFO: Passing IMEI to GPS processor {"connection_id":147184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:37:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":147184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:37:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:37:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:37:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:37:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104473856001,"66":27767,"74":206,"80":6400,"24":0,"16":366383516625141760,"45":1135399716946194432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,80,24,16,45]} 
[2026-08-01 11:37:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:37:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:37:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104473856001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:37:26] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-08-01 11:37:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:37:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366383516625141760,"km_value":366383516625141.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:37:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1135399716946194432,"description":"Unknown IO ID 45"} 
[2026-08-01 11:37:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104473856001,"power":27767,"unknown_74":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1135399716946194432}} 
[2026-08-01 11:37:26] local.INFO: DEBUG: GPS processor result {"connection_id":147184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:37:26] local.INFO: GPS data processed {"connection_id":147184,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:37:26] local.INFO: Acknowledgment sent {"connection_id":147184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:37:44] local.INFO: TCP Data received {"connection_id":147185,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:37:44] local.INFO: Processing buffer {"connection_id":147185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:37:44] local.INFO: IMEI packet received {"connection_id":147185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":147185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:37:49] local.INFO: TCP Data received {"connection_id":147185,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:37:49] local.INFO: Processing buffer {"connection_id":147185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:37:49] local.INFO: IMEI packet received {"connection_id":147185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":147185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:37:50] local.INFO: TCP Data received {"connection_id":147185,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbee6e28012d0fb50006e6ab200008011d28..."} 
[2026-08-01 11:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbee6e28012d0fb50006e6ab200008011d28..."} 
[2026-08-01 11:37:50] local.INFO: Processing buffer {"connection_id":147185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbee6e28012d0fb50006e6ab200008011d28..."} 
[2026-08-01 11:37:50] local.INFO: Packet analysis {"connection_id":147185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbee"} 
[2026-08-01 11:37:50] local.INFO: Extracted packet for processing {"connection_id":147185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbee"} 
[2026-08-01 11:37:50] local.INFO: GPS Element Parsed {"raw_longitude":756004096,"raw_latitude":115780384,"longitude_deg":75.6004096,"latitude_deg":11.5780384,"altitude":8,"angle":285,"satellites":40,"speed":3,"hex_longitude":"2d0fb500","hex_latitude":"06e6ab20","is_valid_coordinates":true} 
[2026-08-01 11:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:37:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104479232001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:37:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366383568164749312,"note":"Value kept but may cause issues"} 
[2026-08-01 11:37:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1133007179644305408,"note":"Value kept but may cause issues"} 
[2026-08-01 11:37:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:37:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785564393000,"timestamp_ms":1785564393000,"timestamp_seconds":1785564393,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbee6e28"} 
[2026-08-01 11:37:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:37: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-08-01 11:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 11:37:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:37:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:37:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:37:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:37:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:37:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:37:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:37:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:37:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:37:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:37:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104479232001,"66":27930,"74":206,"80":6400,"24":3,"16":366383568164749312,"45":1133007179644305408},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,80,24,16,45]} 
[2026-08-01 11:37:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:37:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:37:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104479232001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:37:50] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-08-01 11:37:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:37:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366383568164749312,"km_value":366383568164749.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:37:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1133007179644305408,"description":"Unknown IO ID 45"} 
[2026-08-01 11:37:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104479232001,"power":27930,"unknown_74":206,"unknown_80":6400,"ignition":3,"odometer":null,"unknown_45":1133007179644305408}} 
[2026-08-01 11:37:50] local.INFO: DEBUG: GPS processor result {"connection_id":147185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:37:50] local.INFO: GPS data processed {"connection_id":147185,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:37:50] local.INFO: Acknowledgment sent {"connection_id":147185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:38:01] local.INFO: TCP Data received {"connection_id":146182,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:38:01] local.INFO: Processing buffer {"connection_id":146182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:38:01] local.INFO: IMEI packet received {"connection_id":146182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":146182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:38:01] local.INFO: TCP Data received {"connection_id":146182,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:38:01] local.INFO: Processing buffer {"connection_id":146182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:38:01] local.INFO: IMEI packet received {"connection_id":146182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":146182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:38:06] local.INFO: TCP Data received {"connection_id":146182,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:38:06] local.INFO: Processing buffer {"connection_id":146182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:38:06] local.INFO: IMEI packet received {"connection_id":146182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":146182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:38:06] local.INFO: TCP Data received {"connection_id":146182,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbed9b38012d1821c00721b2e8005000d428..."} 
[2026-08-01 11:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbed9b38012d1821c00721b2e8005000d428..."} 
[2026-08-01 11:38:06] local.INFO: Processing buffer {"connection_id":146182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbed9b38012d1821c00721b2e8005000d428..."} 
[2026-08-01 11:38:06] local.INFO: Packet analysis {"connection_id":146182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbed"} 
[2026-08-01 11:38:06] local.INFO: Extracted packet for processing {"connection_id":146182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbed"} 
[2026-08-01 11:38:06] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649000,"longitude_deg":75.6556224,"latitude_deg":11.9649,"altitude":80,"angle":212,"satellites":40,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-01 11:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104465408001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109176193744896,"note":"Value kept but may cause issues"} 
[2026-08-01 11:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004399104,"note":"Value kept but may cause issues"} 
[2026-08-01 11:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785564339000,"timestamp_ms":1785564339000,"timestamp_seconds":1785564339,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbed9b38"} 
[2026-08-01 11:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:38:06] 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-08-01 11:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 11:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:38:06] 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-08-01 11:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104465408001,"66":12385,"105":206,"83":41984,"24":0,"16":10109176193744896,"45":1738882068004399104},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104465408001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:38:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:38:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109176193744896,"km_value":10109176193744.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004399104,"description":"Unknown IO ID 45"} 
[2026-08-01 11:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104465408001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004399104}} 
[2026-08-01 11:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":146182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576885,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:38:07] local.INFO: GPS data processed {"connection_id":146182,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:38:07] local.INFO: Acknowledgment sent {"connection_id":146182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:38:11] local.INFO: TCP Data received {"connection_id":146182,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbeded40012d1821c00721b2e8005000d428..."} 
[2026-08-01 11:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbeded40012d1821c00721b2e8005000d428..."} 
[2026-08-01 11:38:11] local.INFO: Processing buffer {"connection_id":146182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbeded40012d1821c00721b2e8005000d428..."} 
[2026-08-01 11:38:11] local.INFO: Packet analysis {"connection_id":146182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbed"} 
[2026-08-01 11:38:11] local.INFO: Extracted packet for processing {"connection_id":146182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbed"} 
[2026-08-01 11:38:11] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649000,"longitude_deg":75.6556224,"latitude_deg":11.9649,"altitude":80,"angle":212,"satellites":40,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104470784001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109176193744896,"note":"Value kept but may cause issues"} 
[2026-08-01 11:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004399104,"note":"Value kept but may cause issues"} 
[2026-08-01 11:38: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-08-01 11:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785564360000,"timestamp_ms":1785564360000,"timestamp_seconds":1785564360,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbeded40"} 
[2026-08-01 11:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:38: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-08-01 11: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":97,"data_length":795,"current_offset":136} 
[2026-08-01 11:38: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-08-01 11: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-08-01 11:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11: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-08-01 11:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104470784001,"66":12385,"105":206,"83":41984,"24":0,"16":10109176193744896,"45":1738882068004399104},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104470784001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:38:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:38:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109176193744896,"km_value":10109176193744.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004399104,"description":"Unknown IO ID 45"} 
[2026-08-01 11:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104470784001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004399104}} 
[2026-08-01 11:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":146182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:38:11] local.INFO: GPS data processed {"connection_id":146182,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:38:11] local.INFO: Acknowledgment sent {"connection_id":146182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:38:21] local.INFO: TCP Data received {"connection_id":147185,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbeec030012d0fb24006e6ab680007011d28..."} 
[2026-08-01 11:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbeec030012d0fb24006e6ab680007011d28..."} 
[2026-08-01 11:38:21] local.INFO: Processing buffer {"connection_id":147185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbeec030012d0fb24006e6ab680007011d28..."} 
[2026-08-01 11:38:21] local.INFO: Packet analysis {"connection_id":147185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbee"} 
[2026-08-01 11:38:21] local.INFO: Extracted packet for processing {"connection_id":147185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbee"} 
[2026-08-01 11:38:21] local.INFO: GPS Element Parsed {"raw_longitude":756003392,"raw_latitude":115780456,"longitude_deg":75.6003392,"latitude_deg":11.5780456,"altitude":7,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d0fb240","hex_latitude":"06e6ab68","is_valid_coordinates":true} 
[2026-08-01 11:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104484608001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366383602524487680,"note":"Value kept but may cause issues"} 
[2026-08-01 11:38:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1131810910993326080,"note":"Value kept but may cause issues"} 
[2026-08-01 11:38:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785564414000,"timestamp_ms":1785564414000,"timestamp_seconds":1785564414,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbeec030"} 
[2026-08-01 11:38:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:38:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-01 11:38:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:38:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:38:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:38:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104484608001,"66":27876,"74":206,"80":6400,"24":0,"16":366383602524487680,"45":1131810910993326080},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,80,24,16,45]} 
[2026-08-01 11:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104484608001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:38:21] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-08-01 11:38:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366383602524487680,"km_value":366383602524487.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:38:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1131810910993326080,"description":"Unknown IO ID 45"} 
[2026-08-01 11:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104484608001,"power":27876,"unknown_74":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1131810910993326080}} 
[2026-08-01 11:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":147185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:38:21] local.INFO: GPS data processed {"connection_id":147185,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:38:21] local.INFO: Acknowledgment sent {"connection_id":147185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:38:42] local.INFO: TCP Data received {"connection_id":146182,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbee3f48012d1821c00721b2e8005000d427..."} 
[2026-08-01 11:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbee3f48012d1821c00721b2e8005000d427..."} 
[2026-08-01 11:38:42] local.INFO: Processing buffer {"connection_id":146182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbee3f48012d1821c00721b2e8005000d427..."} 
[2026-08-01 11:38:42] local.INFO: Packet analysis {"connection_id":146182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbee"} 
[2026-08-01 11:38:42] local.INFO: Extracted packet for processing {"connection_id":146182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbee"} 
[2026-08-01 11:38:42] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649000,"longitude_deg":75.6556224,"latitude_deg":11.9649,"altitude":80,"angle":212,"satellites":39,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104476160001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109176193744896,"note":"Value kept but may cause issues"} 
[2026-08-01 11:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004399104,"note":"Value kept but may cause issues"} 
[2026-08-01 11: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-08-01 11:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785564381000,"timestamp_ms":1785564381000,"timestamp_seconds":1785564381,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbee3f48"} 
[2026-08-01 11:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:38:42] 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-08-01 11: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":97,"data_length":795,"current_offset":136} 
[2026-08-01 11:38: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-08-01 11: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-08-01 11:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":146182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":146182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":146182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11: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-08-01 11:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104476160001,"66":12428,"105":206,"83":41984,"24":0,"16":10109176193744896,"45":1738882068004399104},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104476160001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:38:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:38:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109176193744896,"km_value":10109176193744.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004399104,"description":"Unknown IO ID 45"} 
[2026-08-01 11:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104476160001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004399104}} 
[2026-08-01 11:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":146182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:38:42] local.INFO: GPS data processed {"connection_id":146182,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:38:42] local.INFO: Acknowledgment sent {"connection_id":146182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:38:44] local.INFO: TCP Data received {"connection_id":148506,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:38:44] local.INFO: Processing buffer {"connection_id":148506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:38:44] local.INFO: IMEI packet received {"connection_id":148506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":148506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:38:46] local.INFO: TCP Data received {"connection_id":148506,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:38:46] local.INFO: Processing buffer {"connection_id":148506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:38:46] local.INFO: IMEI packet received {"connection_id":148506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":148506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:38:50] local.INFO: TCP Data received {"connection_id":148506,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:38:50] local.INFO: Processing buffer {"connection_id":148506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:38:50] local.INFO: IMEI packet received {"connection_id":148506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":148506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:38:51] local.INFO: TCP Data received {"connection_id":148506,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbef1238012d0fb24006e6ab680007011d27..."} 
[2026-08-01 11:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbef1238012d0fb24006e6ab680007011d27..."} 
[2026-08-01 11:38:51] local.INFO: Processing buffer {"connection_id":148506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbef1238012d0fb24006e6ab680007011d27..."} 
[2026-08-01 11:38:51] local.INFO: Packet analysis {"connection_id":148506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbef"} 
[2026-08-01 11:38:51] local.INFO: Extracted packet for processing {"connection_id":148506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbef"} 
[2026-08-01 11:38:51] local.INFO: GPS Element Parsed {"raw_longitude":756003392,"raw_latitude":115780456,"longitude_deg":75.6003392,"latitude_deg":11.5780456,"altitude":7,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d0fb240","hex_latitude":"06e6ab68","is_valid_coordinates":true} 
[2026-08-01 11:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104489984001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366383602524487680,"note":"Value kept but may cause issues"} 
[2026-08-01 11:38:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1131036854807390208,"note":"Value kept but may cause issues"} 
[2026-08-01 11:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785564435000,"timestamp_ms":1785564435000,"timestamp_seconds":1785564435,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbef1238"} 
[2026-08-01 11:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:38:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 11:38:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:38:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104489984001,"66":27919,"74":206,"80":6400,"24":0,"16":366383602524487680,"45":1131036854807390208},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,80,24,16,45]} 
[2026-08-01 11:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104489984001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:38:51] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-08-01 11:38:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366383602524487680,"km_value":366383602524487.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:38:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1131036854807390208,"description":"Unknown IO ID 45"} 
[2026-08-01 11:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104489984001,"power":27919,"unknown_74":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1131036854807390208}} 
[2026-08-01 11:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":148506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:38:51] local.INFO: GPS data processed {"connection_id":148506,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:38:51] local.INFO: Acknowledgment sent {"connection_id":148506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:39:01] local.INFO: TCP Data received {"connection_id":146183,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146183,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:39:01] local.INFO: Processing buffer {"connection_id":146183,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:39:01] local.INFO: IMEI packet received {"connection_id":146183,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":146183,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:39:05] local.INFO: TCP Data received {"connection_id":146183,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146183,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:39:05] local.INFO: Processing buffer {"connection_id":146183,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:39:05] local.INFO: IMEI packet received {"connection_id":146183,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":146183,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:39:05] local.INFO: TCP Data received {"connection_id":146183,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbee9150012d1821c00721b2e8005000d428..."} 
[2026-08-01 11:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbee9150012d1821c00721b2e8005000d428..."} 
[2026-08-01 11:39:05] local.INFO: Processing buffer {"connection_id":146183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbee9150012d1821c00721b2e8005000d428..."} 
[2026-08-01 11:39:05] local.INFO: Packet analysis {"connection_id":146183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbee"} 
[2026-08-01 11:39:05] local.INFO: Extracted packet for processing {"connection_id":146183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbee"} 
[2026-08-01 11:39:05] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649000,"longitude_deg":75.6556224,"latitude_deg":11.9649,"altitude":80,"angle":212,"satellites":40,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-01 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-08-01 11:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104481536001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109176193744896,"note":"Value kept but may cause issues"} 
[2026-08-01 11:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004399104,"note":"Value kept but may cause issues"} 
[2026-08-01 11:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785564402000,"timestamp_ms":1785564402000,"timestamp_seconds":1785564402,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbee9150"} 
[2026-08-01 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-08-01 11:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-01 11:39:05] 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-08-01 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-08-01 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-08-01 11:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:39:05] 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-08-01 11:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104481536001,"66":12385,"105":206,"83":41984,"24":0,"16":10109176193744896,"45":1738882068004399104},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104481536001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:39:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:39:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109176193744896,"km_value":10109176193744.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004399104,"description":"Unknown IO ID 45"} 
[2026-08-01 11:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104481536001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004399104}} 
[2026-08-01 11:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":146183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:39:06] local.INFO: GPS data processed {"connection_id":146183,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:39:06] local.INFO: Acknowledgment sent {"connection_id":146183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:39:22] local.INFO: TCP Data received {"connection_id":148506,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbef6440012d0faf4006e6ac300007011929..."} 
[2026-08-01 11:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbef6440012d0faf4006e6ac300007011929..."} 
[2026-08-01 11:39:22] local.INFO: Processing buffer {"connection_id":148506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbef6440012d0faf4006e6ac300007011929..."} 
[2026-08-01 11:39:22] local.INFO: Packet analysis {"connection_id":148506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbef"} 
[2026-08-01 11:39:22] local.INFO: Extracted packet for processing {"connection_id":148506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbef"} 
[2026-08-01 11:39:22] local.INFO: GPS Element Parsed {"raw_longitude":756002624,"raw_latitude":115780656,"longitude_deg":75.6002624,"latitude_deg":11.5780656,"altitude":7,"angle":281,"satellites":41,"speed":0,"hex_longitude":"2d0faf40","hex_latitude":"06e6ac30","is_valid_coordinates":true} 
[2026-08-01 11:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104495360001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366383641179193344,"note":"Value kept but may cause issues"} 
[2026-08-01 11:39:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1131036854807390208,"note":"Value kept but may cause issues"} 
[2026-08-01 11:39:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785564456000,"timestamp_ms":1785564456000,"timestamp_seconds":1785564456,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbef6440"} 
[2026-08-01 11:39:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:39:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 11:39:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:39:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:39:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:39:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104495360001,"66":28050,"74":206,"80":6400,"24":0,"16":366383641179193344,"45":1131036854807390208},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,80,24,16,45]} 
[2026-08-01 11:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104495360001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:39:22] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-08-01 11:39:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366383641179193344,"km_value":366383641179193.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:39:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1131036854807390208,"description":"Unknown IO ID 45"} 
[2026-08-01 11:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104495360001,"power":28050,"unknown_74":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1131036854807390208}} 
[2026-08-01 11:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":148506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:39:22] local.INFO: GPS data processed {"connection_id":148506,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:39:22] local.INFO: Acknowledgment sent {"connection_id":148506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:39:37] local.INFO: TCP Data received {"connection_id":146183,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbeee358012d1821c00721b2e8005000d427..."} 
[2026-08-01 11:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbeee358012d1821c00721b2e8005000d427..."} 
[2026-08-01 11:39:37] local.INFO: Processing buffer {"connection_id":146183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbeee358012d1821c00721b2e8005000d427..."} 
[2026-08-01 11:39:37] local.INFO: Packet analysis {"connection_id":146183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbee"} 
[2026-08-01 11:39:37] local.INFO: Extracted packet for processing {"connection_id":146183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbee"} 
[2026-08-01 11:39:37] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649000,"longitude_deg":75.6556224,"latitude_deg":11.9649,"altitude":80,"angle":212,"satellites":39,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-01 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-08-01 11:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104486912001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109176193744896,"note":"Value kept but may cause issues"} 
[2026-08-01 11:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004399104,"note":"Value kept but may cause issues"} 
[2026-08-01 11:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785564423000,"timestamp_ms":1785564423000,"timestamp_seconds":1785564423,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbeee358"} 
[2026-08-01 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-08-01 11:39:37] 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-08-01 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 11:39:37] 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-08-01 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-08-01 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-08-01 11:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:39:37] 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-08-01 11:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104486912001,"66":12428,"105":206,"83":41984,"24":0,"16":10109176193744896,"45":1738882068004399104},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104486912001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:39:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:39:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109176193744896,"km_value":10109176193744.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004399104,"description":"Unknown IO ID 45"} 
[2026-08-01 11:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104486912001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004399104}} 
[2026-08-01 11:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":146183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576892,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:39:37] local.INFO: GPS data processed {"connection_id":146183,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:39:37] local.INFO: Acknowledgment sent {"connection_id":146183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:39:44] local.INFO: TCP Data received {"connection_id":148507,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:39:44] local.INFO: Processing buffer {"connection_id":148507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:39:44] local.INFO: IMEI packet received {"connection_id":148507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":148507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:39:50] local.INFO: TCP Data received {"connection_id":148507,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:39:50] local.INFO: Processing buffer {"connection_id":148507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:39:50] local.INFO: IMEI packet received {"connection_id":148507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":148507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:39:51] local.INFO: TCP Data received {"connection_id":148507,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbefa2c0012d0fad8006e6ad600006012e29..."} 
[2026-08-01 11:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbefa2c0012d0fad8006e6ad600006012e29..."} 
[2026-08-01 11:39:51] local.INFO: Processing buffer {"connection_id":148507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbefa2c0012d0fad8006e6ad600006012e29..."} 
[2026-08-01 11:39:51] local.INFO: Packet analysis {"connection_id":148507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbef"} 
[2026-08-01 11:39:51] local.INFO: Extracted packet for processing {"connection_id":148507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbef"} 
[2026-08-01 11:39:51] local.INFO: GPS Element Parsed {"raw_longitude":756002176,"raw_latitude":115780960,"longitude_deg":75.6002176,"latitude_deg":11.578096,"altitude":6,"angle":302,"satellites":41,"speed":2,"hex_longitude":"2d0fad80","hex_latitude":"06e6ad60","is_valid_coordinates":true} 
[2026-08-01 11:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104500736001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366383666948997120,"note":"Value kept but may cause issues"} 
[2026-08-01 11:39:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1130192429877309440,"note":"Value kept but may cause issues"} 
[2026-08-01 11:39:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785564472000,"timestamp_ms":1785564472000,"timestamp_seconds":1785564472,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbefa2c0"} 
[2026-08-01 11:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:39: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-08-01 11:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-01 11:39:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:39:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:39:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104500736001,"66":27767,"74":206,"80":6400,"24":2,"16":366383666948997120,"45":1130192429877309440},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,80,24,16,45]} 
[2026-08-01 11:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104500736001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:39:51] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-08-01 11:39:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366383666948997120,"km_value":366383666948997.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:39:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1130192429877309440,"description":"Unknown IO ID 45"} 
[2026-08-01 11:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104500736001,"power":27767,"unknown_74":206,"unknown_80":6400,"ignition":2,"odometer":null,"unknown_45":1130192429877309440}} 
[2026-08-01 11:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":148507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:39:51] local.INFO: GPS data processed {"connection_id":148507,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:39:51] local.INFO: Acknowledgment sent {"connection_id":148507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:40:01] local.INFO: TCP Data received {"connection_id":148508,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148508,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:40:01] local.INFO: Processing buffer {"connection_id":148508,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:40:01] local.INFO: IMEI packet received {"connection_id":148508,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":148508,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:40:06] local.INFO: TCP Data received {"connection_id":148508,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148508,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:40:06] local.INFO: Processing buffer {"connection_id":148508,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:40:06] local.INFO: IMEI packet received {"connection_id":148508,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":148508,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:40:06] local.INFO: TCP Data received {"connection_id":148508,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbef3560012d1821c00721b2e8005000d428..."} 
[2026-08-01 11:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbef3560012d1821c00721b2e8005000d428..."} 
[2026-08-01 11:40:06] local.INFO: Processing buffer {"connection_id":148508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbef3560012d1821c00721b2e8005000d428..."} 
[2026-08-01 11:40:06] local.INFO: Packet analysis {"connection_id":148508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbef"} 
[2026-08-01 11:40:06] local.INFO: Extracted packet for processing {"connection_id":148508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbef"} 
[2026-08-01 11:40:06] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649000,"longitude_deg":75.6556224,"latitude_deg":11.9649,"altitude":80,"angle":212,"satellites":40,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-01 11:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104492288001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109176193744896,"note":"Value kept but may cause issues"} 
[2026-08-01 11:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004399104,"note":"Value kept but may cause issues"} 
[2026-08-01 11:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785564444000,"timestamp_ms":1785564444000,"timestamp_seconds":1785564444,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbef3560"} 
[2026-08-01 11:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:40:06] 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-08-01 11:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-01 11:40:06] 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-08-01 11:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:40:06] 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-08-01 11:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104492288001,"66":12341,"105":206,"83":41984,"24":0,"16":10109176193744896,"45":1738882068004399104},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104492288001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:40:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:40:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109176193744896,"km_value":10109176193744.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004399104,"description":"Unknown IO ID 45"} 
[2026-08-01 11:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104492288001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004399104}} 
[2026-08-01 11:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":148508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576894,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:40:07] local.INFO: GPS data processed {"connection_id":148508,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:40:07] local.INFO: Acknowledgment sent {"connection_id":148508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:40:22] local.INFO: TCP Data received {"connection_id":148507,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbefe140012d0fa74006e6aff00006012228..."} 
[2026-08-01 11:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbefe140012d0fa74006e6aff00006012228..."} 
[2026-08-01 11:40:22] local.INFO: Processing buffer {"connection_id":148507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbefe140012d0fa74006e6aff00006012228..."} 
[2026-08-01 11:40:22] local.INFO: Packet analysis {"connection_id":148507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbef"} 
[2026-08-01 11:40:22] local.INFO: Extracted packet for processing {"connection_id":148507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbef"} 
[2026-08-01 11:40:22] local.INFO: GPS Element Parsed {"raw_longitude":756000576,"raw_latitude":115781616,"longitude_deg":75.6000576,"latitude_deg":11.5781616,"altitude":6,"angle":290,"satellites":40,"speed":5,"hex_longitude":"2d0fa740","hex_latitude":"06e6aff0","is_valid_coordinates":true} 
[2026-08-01 11:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104504832001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366383748553375744,"note":"Value kept but may cause issues"} 
[2026-08-01 11:40:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1129699848668143616,"note":"Value kept but may cause issues"} 
[2026-08-01 11:40:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785564488000,"timestamp_ms":1785564488000,"timestamp_seconds":1785564488,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbefe140"} 
[2026-08-01 11:40:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:40:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 11:40:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:40:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:40:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:40:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104504832001,"66":27767,"74":206,"80":6400,"24":5,"16":366383748553375744,"45":1129699848668143616},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,80,24,16,45]} 
[2026-08-01 11:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104504832001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:40:22] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-08-01 11:40:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366383748553375744,"km_value":366383748553375.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:40:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1129699848668143616,"description":"Unknown IO ID 45"} 
[2026-08-01 11:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104504832001,"power":27767,"unknown_74":206,"unknown_80":6400,"ignition":5,"odometer":null,"unknown_45":1129699848668143616}} 
[2026-08-01 11:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":148507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:40:22] local.INFO: GPS data processed {"connection_id":148507,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:40:22] local.INFO: Acknowledgment sent {"connection_id":148507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:40:38] local.INFO: TCP Data received {"connection_id":148508,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbef8768012d1821c00721b2e8005000d426..."} 
[2026-08-01 11:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbef8768012d1821c00721b2e8005000d426..."} 
[2026-08-01 11:40:38] local.INFO: Processing buffer {"connection_id":148508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbef8768012d1821c00721b2e8005000d426..."} 
[2026-08-01 11:40:38] local.INFO: Packet analysis {"connection_id":148508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbef"} 
[2026-08-01 11:40:38] local.INFO: Extracted packet for processing {"connection_id":148508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbef"} 
[2026-08-01 11:40:38] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649000,"longitude_deg":75.6556224,"latitude_deg":11.9649,"altitude":80,"angle":212,"satellites":38,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-01 11:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104497664001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109176193744896,"note":"Value kept but may cause issues"} 
[2026-08-01 11:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004399104,"note":"Value kept but may cause issues"} 
[2026-08-01 11:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785564465000,"timestamp_ms":1785564465000,"timestamp_seconds":1785564465,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbef8768"} 
[2026-08-01 11:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:40:38] 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-08-01 11:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-01 11:40:38] 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-08-01 11:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":148508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":148508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":148508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:40:38] 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-08-01 11:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104497664001,"66":12385,"105":206,"83":41984,"24":0,"16":10109176193744896,"45":1738882068004399104},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104497664001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:40:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:40:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109176193744896,"km_value":10109176193744.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004399104,"description":"Unknown IO ID 45"} 
[2026-08-01 11:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104497664001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004399104}} 
[2026-08-01 11:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":148508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:40:38] local.INFO: GPS data processed {"connection_id":148508,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:40:38] local.INFO: Acknowledgment sent {"connection_id":148508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:40:44] local.INFO: TCP Data received {"connection_id":146184,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:40:44] local.INFO: Processing buffer {"connection_id":146184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:40:44] local.INFO: IMEI packet received {"connection_id":146184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":146184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:40:49] local.INFO: TCP Data received {"connection_id":146184,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:40:49] local.INFO: Processing buffer {"connection_id":146184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:40:49] local.INFO: IMEI packet received {"connection_id":146184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":146184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:40:51] local.INFO: TCP Data received {"connection_id":146184,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbf03348012d0fa08006e6b3000006012b29..."} 
[2026-08-01 11:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbf03348012d0fa08006e6b3000006012b29..."} 
[2026-08-01 11:40:51] local.INFO: Processing buffer {"connection_id":146184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbf03348012d0fa08006e6b3000006012b29..."} 
[2026-08-01 11:40:51] local.INFO: Packet analysis {"connection_id":146184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbf0"} 
[2026-08-01 11:40:51] local.INFO: Extracted packet for processing {"connection_id":146184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbf0"} 
[2026-08-01 11:40:51] local.INFO: GPS Element Parsed {"raw_longitude":755998848,"raw_latitude":115782400,"longitude_deg":75.5998848,"latitude_deg":11.57824,"altitude":6,"angle":299,"satellites":41,"speed":4,"hex_longitude":"2d0fa080","hex_latitude":"06e6b300","is_valid_coordinates":true} 
[2026-08-01 11:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104508928001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366383843042656256,"note":"Value kept but may cause issues"} 
[2026-08-01 11:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1127940630063869952,"note":"Value kept but may cause issues"} 
[2026-08-01 11:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785564509000,"timestamp_ms":1785564509000,"timestamp_seconds":1785564509,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbf03348"} 
[2026-08-01 11:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:40: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-08-01 11:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 11:40:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":146184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":146184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":146184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104508928001,"66":27995,"74":206,"80":6400,"24":4,"16":366383843042656256,"45":1127940630063869952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,80,24,16,45]} 
[2026-08-01 11:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104508928001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:40:51] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-08-01 11:40:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366383843042656256,"km_value":366383843042656.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1127940630063869952,"description":"Unknown IO ID 45"} 
[2026-08-01 11:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104508928001,"power":27995,"unknown_74":206,"unknown_80":6400,"ignition":4,"odometer":null,"unknown_45":1127940630063869952}} 
[2026-08-01 11:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":146184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:40:51] local.INFO: GPS data processed {"connection_id":146184,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:40:51] local.INFO: Acknowledgment sent {"connection_id":146184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:41:00] local.INFO: TCP Data received {"connection_id":146185,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146185,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:41:00] local.INFO: Processing buffer {"connection_id":146185,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:41:00] local.INFO: IMEI packet received {"connection_id":146185,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":146185,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:41:06] local.INFO: TCP Data received {"connection_id":146185,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146185,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:41:06] local.INFO: Processing buffer {"connection_id":146185,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:41:06] local.INFO: IMEI packet received {"connection_id":146185,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":146185,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:41:06] local.INFO: TCP Data received {"connection_id":146185,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbefd970012d1821c00721b2e8005000d428..."} 
[2026-08-01 11:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbefd970012d1821c00721b2e8005000d428..."} 
[2026-08-01 11:41:06] local.INFO: Processing buffer {"connection_id":146185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbefd970012d1821c00721b2e8005000d428..."} 
[2026-08-01 11:41:06] local.INFO: Packet analysis {"connection_id":146185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbef"} 
[2026-08-01 11:41:06] local.INFO: Extracted packet for processing {"connection_id":146185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbef"} 
[2026-08-01 11:41:06] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649000,"longitude_deg":75.6556224,"latitude_deg":11.9649,"altitude":80,"angle":212,"satellites":40,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-08-01 11:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104503040001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109176193744896,"note":"Value kept but may cause issues"} 
[2026-08-01 11:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004399104,"note":"Value kept but may cause issues"} 
[2026-08-01 11:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785564486000,"timestamp_ms":1785564486000,"timestamp_seconds":1785564486,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbefd970"} 
[2026-08-01 11:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:41:06] 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-08-01 11:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 11:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:41:06] 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-08-01 11:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104503040001,"66":12385,"105":206,"83":41984,"24":0,"16":10109176193744896,"45":1738882068004399104},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104503040001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:41:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:41:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109176193744896,"km_value":10109176193744.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004399104,"description":"Unknown IO ID 45"} 
[2026-08-01 11:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104503040001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004399104}} 
[2026-08-01 11:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":146185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:41:07] local.INFO: GPS data processed {"connection_id":146185,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:41:07] local.INFO: Acknowledgment sent {"connection_id":146185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:41:22] local.INFO: TCP Data received {"connection_id":146184,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbf08550012d0f9a8006e6b6100007012929..."} 
[2026-08-01 11:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbf08550012d0f9a8006e6b6100007012929..."} 
[2026-08-01 11:41:22] local.INFO: Processing buffer {"connection_id":146184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbf08550012d0f9a8006e6b6100007012929..."} 
[2026-08-01 11:41:22] local.INFO: Packet analysis {"connection_id":146184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbf0"} 
[2026-08-01 11:41:22] local.INFO: Extracted packet for processing {"connection_id":146184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbf0"} 
[2026-08-01 11:41:22] local.INFO: GPS Element Parsed {"raw_longitude":755997312,"raw_latitude":115783184,"longitude_deg":75.5997312,"latitude_deg":11.5783184,"altitude":7,"angle":297,"satellites":41,"speed":4,"hex_longitude":"2d0f9a80","hex_latitude":"06e6b610","is_valid_coordinates":true} 
[2026-08-01 11:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104514304001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366383928942002176,"note":"Value kept but may cause issues"} 
[2026-08-01 11:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1126040673971273728,"note":"Value kept but may cause issues"} 
[2026-08-01 11:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785564530000,"timestamp_ms":1785564530000,"timestamp_seconds":1785564530,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbf08550"} 
[2026-08-01 11:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:41:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-01 11:41:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:41:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104514304001,"66":27865,"74":206,"80":6400,"24":4,"16":366383928942002176,"45":1126040673971273728},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,80,24,16,45]} 
[2026-08-01 11:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104514304001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:41:22] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-08-01 11:41:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366383928942002176,"km_value":366383928942002.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1126040673971273728,"description":"Unknown IO ID 45"} 
[2026-08-01 11:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104514304001,"power":27865,"unknown_74":206,"unknown_80":6400,"ignition":4,"odometer":null,"unknown_45":1126040673971273728}} 
[2026-08-01 11:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":146184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:41:22] local.INFO: GPS data processed {"connection_id":146184,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:41:22] local.INFO: Acknowledgment sent {"connection_id":146184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:41:38] local.INFO: TCP Data received {"connection_id":146185,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbf02b78012d181f800721b118004b00d528..."} 
[2026-08-01 11:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbf02b78012d181f800721b118004b00d528..."} 
[2026-08-01 11:41:38] local.INFO: Processing buffer {"connection_id":146185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbf02b78012d181f800721b118004b00d528..."} 
[2026-08-01 11:41:38] local.INFO: Packet analysis {"connection_id":146185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbf0"} 
[2026-08-01 11:41:38] local.INFO: Extracted packet for processing {"connection_id":146185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbf0"} 
[2026-08-01 11:41:38] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648536,"longitude_deg":75.6555648,"latitude_deg":11.9648536,"altitude":75,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b118","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104508416001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109214848450560,"note":"Value kept but may cause issues"} 
[2026-08-01 11:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004399104,"note":"Value kept but may cause issues"} 
[2026-08-01 11:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785564507000,"timestamp_ms":1785564507000,"timestamp_seconds":1785564507,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbf02b78"} 
[2026-08-01 11:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:41:38] 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-08-01 11: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 11:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11: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-08-01 11:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:41:38] 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-08-01 11:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104508416001,"66":12385,"105":206,"83":41984,"24":0,"16":10109214848450560,"45":1738882068004399104},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104508416001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:41:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:41:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109214848450560,"km_value":10109214848450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004399104,"description":"Unknown IO ID 45"} 
[2026-08-01 11:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104508416001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004399104}} 
[2026-08-01 11:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":146185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576900,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:41:38] local.INFO: GPS data processed {"connection_id":146185,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:41:38] local.INFO: Acknowledgment sent {"connection_id":146185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:41:45] local.INFO: TCP Data received {"connection_id":148509,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:41:45] local.INFO: Processing buffer {"connection_id":148509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:41:45] local.INFO: IMEI packet received {"connection_id":148509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":148509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:41:51] local.INFO: TCP Data received {"connection_id":148509,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:41:51] local.INFO: Processing buffer {"connection_id":148509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:41:51] local.INFO: IMEI packet received {"connection_id":148509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":148509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:41:54] local.INFO: TCP Data received {"connection_id":148509,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:41:54] local.INFO: Processing buffer {"connection_id":148509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:41:54] local.INFO: IMEI packet received {"connection_id":148509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":148509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:41:55] local.INFO: TCP Data received {"connection_id":148509,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbf0d758012d0f8cc006e6bc380005012628..."} 
[2026-08-01 11:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbf0d758012d0f8cc006e6bc380005012628..."} 
[2026-08-01 11:41:55] local.INFO: Processing buffer {"connection_id":148509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbf0d758012d0f8cc006e6bc380005012628..."} 
[2026-08-01 11:41:55] local.INFO: Packet analysis {"connection_id":148509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbf0"} 
[2026-08-01 11:41:55] local.INFO: Extracted packet for processing {"connection_id":148509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbf0"} 
[2026-08-01 11:41:55] local.INFO: GPS Element Parsed {"raw_longitude":755993792,"raw_latitude":115784760,"longitude_deg":75.5993792,"latitude_deg":11.578476,"altitude":5,"angle":294,"satellites":40,"speed":4,"hex_longitude":"2d0f8cc0","hex_latitude":"06e6bc38","is_valid_coordinates":true} 
[2026-08-01 11:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104519680001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366384113625595904,"note":"Value kept but may cause issues"} 
[2026-08-01 11:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1124351824111210496,"note":"Value kept but may cause issues"} 
[2026-08-01 11:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785564551000,"timestamp_ms":1785564551000,"timestamp_seconds":1785564551,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbf0d758"} 
[2026-08-01 11:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 11:41:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104519680001,"66":27995,"74":206,"80":6400,"24":4,"16":366384113625595904,"45":1124351824111210496},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,80,24,16,45]} 
[2026-08-01 11:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104519680001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:41:55] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-08-01 11:41:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366384113625595904,"km_value":366384113625595.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1124351824111210496,"description":"Unknown IO ID 45"} 
[2026-08-01 11:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104519680001,"power":27995,"unknown_74":206,"unknown_80":6400,"ignition":4,"odometer":null,"unknown_45":1124351824111210496}} 
[2026-08-01 11:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":148509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:41:55] local.INFO: GPS data processed {"connection_id":148509,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:41:55] local.INFO: Acknowledgment sent {"connection_id":148509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:42:00] local.INFO: TCP Data received {"connection_id":148509,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbf12960012d0f81c006e6c0800005012628..."} 
[2026-08-01 11:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbf12960012d0f81c006e6c0800005012628..."} 
[2026-08-01 11:42:00] local.INFO: Processing buffer {"connection_id":148509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbf12960012d0f81c006e6c0800005012628..."} 
[2026-08-01 11:42:00] local.INFO: Packet analysis {"connection_id":148509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbf1"} 
[2026-08-01 11:42:00] local.INFO: Extracted packet for processing {"connection_id":148509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbf1"} 
[2026-08-01 11:42:00] local.INFO: GPS Element Parsed {"raw_longitude":755990976,"raw_latitude":115785856,"longitude_deg":75.5990976,"latitude_deg":11.5785856,"altitude":5,"angle":294,"satellites":40,"speed":0,"hex_longitude":"2d0f81c0","hex_latitude":"06e6c080","is_valid_coordinates":true} 
[2026-08-01 11:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104525056001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366384255359516672,"note":"Value kept but may cause issues"} 
[2026-08-01 11:42:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1120481543181842432,"note":"Value kept but may cause issues"} 
[2026-08-01 11:42:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785564572000,"timestamp_ms":1785564572000,"timestamp_seconds":1785564572,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbf12960"} 
[2026-08-01 11:42:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11: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-08-01 11:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-01 11:42: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-08-01 11:42:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:42:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":148509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":148509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":148509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:42: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-08-01 11:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104525056001,"66":27908,"74":206,"80":6400,"24":0,"16":366384255359516672,"45":1120481543181842432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,80,24,16,45]} 
[2026-08-01 11:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104525056001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:42:00] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-08-01 11:42:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366384255359516672,"km_value":366384255359516.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:42:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1120481543181842432,"description":"Unknown IO ID 45"} 
[2026-08-01 11:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104525056001,"power":27908,"unknown_74":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1120481543181842432}} 
[2026-08-01 11:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":148509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:42:00] local.INFO: GPS data processed {"connection_id":148509,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:42:00] local.INFO: Acknowledgment sent {"connection_id":148509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:42:00] local.INFO: TCP Data received {"connection_id":147186,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:42:00] local.INFO: Processing buffer {"connection_id":147186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:42:00] local.INFO: IMEI packet received {"connection_id":147186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":147186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:42:06] local.INFO: TCP Data received {"connection_id":147186,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:42:06] local.INFO: Processing buffer {"connection_id":147186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:42:06] local.INFO: IMEI packet received {"connection_id":147186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":147186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:42:06] local.INFO: TCP Data received {"connection_id":147186,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbf07d80012d181f800721b108004b00d527..."} 
[2026-08-01 11:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbf07d80012d181f800721b108004b00d527..."} 
[2026-08-01 11:42:06] local.INFO: Processing buffer {"connection_id":147186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbf07d80012d181f800721b108004b00d527..."} 
[2026-08-01 11:42:06] local.INFO: Packet analysis {"connection_id":147186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbf0"} 
[2026-08-01 11:42:06] local.INFO: Extracted packet for processing {"connection_id":147186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbf0"} 
[2026-08-01 11:42:06] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648520,"longitude_deg":75.6555648,"latitude_deg":11.964852,"altitude":75,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b108","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104513792001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109214848450560,"note":"Value kept but may cause issues"} 
[2026-08-01 11:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306681344,"note":"Value kept but may cause issues"} 
[2026-08-01 11:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785564528000,"timestamp_ms":1785564528000,"timestamp_seconds":1785564528,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbf07d80"} 
[2026-08-01 11:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 11:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11: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-08-01 11:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:42:06] 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-08-01 11:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104513792001,"66":12385,"105":206,"83":41984,"24":0,"16":10109214848450560,"45":1738248749306681344},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104513792001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:42:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:42:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109214848450560,"km_value":10109214848450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306681344,"description":"Unknown IO ID 45"} 
[2026-08-01 11:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104513792001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306681344}} 
[2026-08-01 11:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":147186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:42:06] local.INFO: GPS data processed {"connection_id":147186,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:42:06] local.INFO: Acknowledgment sent {"connection_id":147186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:42:37] local.INFO: TCP Data received {"connection_id":147186,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbf0cf88012d181f800721b108004b00d526..."} 
[2026-08-01 11:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbf0cf88012d181f800721b108004b00d526..."} 
[2026-08-01 11:42:37] local.INFO: Processing buffer {"connection_id":147186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbf0cf88012d181f800721b108004b00d526..."} 
[2026-08-01 11:42:37] local.INFO: Packet analysis {"connection_id":147186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbf0"} 
[2026-08-01 11:42:37] local.INFO: Extracted packet for processing {"connection_id":147186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbf0"} 
[2026-08-01 11:42:37] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648520,"longitude_deg":75.6555648,"latitude_deg":11.964852,"altitude":75,"angle":213,"satellites":38,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b108","is_valid_coordinates":true} 
[2026-08-01 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-08-01 11:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104519168001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109214848450560,"note":"Value kept but may cause issues"} 
[2026-08-01 11:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306677248,"note":"Value kept but may cause issues"} 
[2026-08-01 11:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785564549000,"timestamp_ms":1785564549000,"timestamp_seconds":1785564549,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbf0cf88"} 
[2026-08-01 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-08-01 11:42:37] 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-08-01 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 11:42:37] 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-08-01 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-08-01 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-08-01 11:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:42:37] 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-08-01 11:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104519168001,"66":12385,"105":206,"83":41984,"24":0,"16":10109214848450560,"45":1738248749306677248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104519168001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:42:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:42:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109214848450560,"km_value":10109214848450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306677248,"description":"Unknown IO ID 45"} 
[2026-08-01 11:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104519168001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306677248}} 
[2026-08-01 11:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":147186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:42:38] local.INFO: GPS data processed {"connection_id":147186,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:42:38] local.INFO: Acknowledgment sent {"connection_id":147186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:42:46] local.INFO: TCP Data received {"connection_id":145967,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:42:46] local.INFO: Processing buffer {"connection_id":145967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:42:46] local.INFO: IMEI packet received {"connection_id":145967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":145967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:42:49] local.INFO: TCP Data received {"connection_id":145967,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:42:49] local.INFO: Processing buffer {"connection_id":145967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:42:49] local.INFO: IMEI packet received {"connection_id":145967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":145967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:42:50] local.INFO: TCP Data received {"connection_id":145967,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:42:50] local.INFO: Processing buffer {"connection_id":145967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:42:50] local.INFO: IMEI packet received {"connection_id":145967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":145967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:42:51] local.INFO: TCP Data received {"connection_id":145967,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:42:51] local.INFO: Processing buffer {"connection_id":145967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:42:51] local.INFO: IMEI packet received {"connection_id":145967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":145967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:42:52] local.INFO: TCP Data received {"connection_id":145967,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbf30dc0012d0f5a4006e6d7280007012828..."} 
[2026-08-01 11:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbf30dc0012d0f5a4006e6d7280007012828..."} 
[2026-08-01 11:42:52] local.INFO: Processing buffer {"connection_id":145967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbf30dc0012d0f5a4006e6d7280007012828..."} 
[2026-08-01 11:42:52] local.INFO: Packet analysis {"connection_id":145967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbf3"} 
[2026-08-01 11:42:52] local.INFO: Extracted packet for processing {"connection_id":145967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbf3"} 
[2026-08-01 11:42:52] local.INFO: GPS Element Parsed {"raw_longitude":755980864,"raw_latitude":115791656,"longitude_deg":75.5980864,"latitude_deg":11.5791656,"altitude":7,"angle":296,"satellites":40,"speed":15,"hex_longitude":"2d0f5a40","hex_latitude":"06e6d728","is_valid_coordinates":true} 
[2026-08-01 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-08-01 11:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104560896001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366384826590167040,"note":"Value kept but may cause issues"} 
[2026-08-01 11:42:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1107815169231364096,"note":"Value kept but may cause issues"} 
[2026-08-01 11:42:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785564696000,"timestamp_ms":1785564696000,"timestamp_seconds":1785564696,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbf30dc0"} 
[2026-08-01 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-08-01 11:42: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-08-01 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 11:42:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 11:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":145967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":145967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":145967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:42:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104560896001,"66":27745,"166":206,"80":6400,"24":15,"16":366384826590167040,"45":1107815169231364096},"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-08-01 11:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104560896001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:42:52] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-01 11:42:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:42:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366384826590167040,"km_value":366384826590167.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:42:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1107815169231364096,"description":"Unknown IO ID 45"} 
[2026-08-01 11:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104560896001,"power":27745,"unknown_166":206,"unknown_80":6400,"ignition":15,"odometer":null,"unknown_45":1107815169231364096}} 
[2026-08-01 11:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":145967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:42:52] local.INFO: GPS data processed {"connection_id":145967,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:42:52] local.INFO: Acknowledgment sent {"connection_id":145967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:43:06] local.INFO: TCP Data received {"connection_id":145968,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:43:06] local.INFO: Processing buffer {"connection_id":145968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:43:06] local.INFO: IMEI packet received {"connection_id":145968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":145968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:43:10] local.INFO: TCP Data received {"connection_id":145968,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:43:10] local.INFO: Processing buffer {"connection_id":145968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:43:10] local.INFO: IMEI packet received {"connection_id":145968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":145968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:43:12] local.INFO: TCP Data received {"connection_id":145968,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbf12190012d181f800721b108004b00d526..."} 
[2026-08-01 11:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbf12190012d181f800721b108004b00d526..."} 
[2026-08-01 11:43:12] local.INFO: Processing buffer {"connection_id":145968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbf12190012d181f800721b108004b00d526..."} 
[2026-08-01 11:43:12] local.INFO: Packet analysis {"connection_id":145968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbf1"} 
[2026-08-01 11:43:12] local.INFO: Extracted packet for processing {"connection_id":145968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbf1"} 
[2026-08-01 11:43:12] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648520,"longitude_deg":75.6555648,"latitude_deg":11.964852,"altitude":75,"angle":213,"satellites":38,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b108","is_valid_coordinates":true} 
[2026-08-01 11:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104524544001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109214848450560,"note":"Value kept but may cause issues"} 
[2026-08-01 11:43:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306677248,"note":"Value kept but may cause issues"} 
[2026-08-01 11:43: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-08-01 11:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785564570000,"timestamp_ms":1785564570000,"timestamp_seconds":1785564570,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbf12190"} 
[2026-08-01 11:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:43: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-08-01 11:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 11:43:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:43:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":145968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":145968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":145968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:43:12] 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-08-01 11:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104524544001,"66":12319,"105":206,"83":41984,"24":0,"16":10109214848450560,"45":1738248749306677248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104524544001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:43:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:43:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109214848450560,"km_value":10109214848450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:43:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306677248,"description":"Unknown IO ID 45"} 
[2026-08-01 11:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104524544001,"power":12319,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306677248}} 
[2026-08-01 11:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":145968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576906,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:43:13] local.INFO: GPS data processed {"connection_id":145968,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:43:13] local.INFO: Acknowledgment sent {"connection_id":145968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:43:16] local.INFO: TCP Data received {"connection_id":145968,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbf17398012d181f800721b108004b00d527..."} 
[2026-08-01 11:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbf17398012d181f800721b108004b00d527..."} 
[2026-08-01 11:43:16] local.INFO: Processing buffer {"connection_id":145968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbf17398012d181f800721b108004b00d527..."} 
[2026-08-01 11:43:16] local.INFO: Packet analysis {"connection_id":145968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbf1"} 
[2026-08-01 11:43:16] local.INFO: Extracted packet for processing {"connection_id":145968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbf1"} 
[2026-08-01 11:43:16] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648520,"longitude_deg":75.6555648,"latitude_deg":11.964852,"altitude":75,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b108","is_valid_coordinates":true} 
[2026-08-01 11:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104529920001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109214848450560,"note":"Value kept but may cause issues"} 
[2026-08-01 11:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306677248,"note":"Value kept but may cause issues"} 
[2026-08-01 11:43: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-08-01 11:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785564591000,"timestamp_ms":1785564591000,"timestamp_seconds":1785564591,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbf17398"} 
[2026-08-01 11:43:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:43: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-08-01 11:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-01 11:43:16] 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-08-01 11:43:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:43:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":145968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":145968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":145968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:43: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-08-01 11:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104529920001,"66":12374,"105":206,"83":41984,"24":0,"16":10109214848450560,"45":1738248749306677248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104529920001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:43:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:43:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109214848450560,"km_value":10109214848450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306677248,"description":"Unknown IO ID 45"} 
[2026-08-01 11:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104529920001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306677248}} 
[2026-08-01 11:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":145968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:43:16] local.INFO: GPS data processed {"connection_id":145968,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:43:16] local.INFO: Acknowledgment sent {"connection_id":145968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:43:24] local.INFO: TCP Data received {"connection_id":145967,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbf35410012d0f3d0006e6e620000c013428..."} 
[2026-08-01 11:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbf35410012d0f3d0006e6e620000c013428..."} 
[2026-08-01 11:43:24] local.INFO: Processing buffer {"connection_id":145967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbf35410012d0f3d0006e6e620000c013428..."} 
[2026-08-01 11:43:24] local.INFO: Packet analysis {"connection_id":145967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbf3"} 
[2026-08-01 11:43:24] local.INFO: Extracted packet for processing {"connection_id":145967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbf3"} 
[2026-08-01 11:43:24] local.INFO: GPS Element Parsed {"raw_longitude":755973376,"raw_latitude":115795488,"longitude_deg":75.5973376,"latitude_deg":11.5795488,"altitude":12,"angle":308,"satellites":40,"speed":19,"hex_longitude":"2d0f3d00","hex_latitude":"06e6e620","is_valid_coordinates":true} 
[2026-08-01 11:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:43:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104562176001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:43:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366385230317092864,"note":"Value kept but may cause issues"} 
[2026-08-01 11:43:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1106267056859719680,"note":"Value kept but may cause issues"} 
[2026-08-01 11:43:24] 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-08-01 11:43:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785564714000,"timestamp_ms":1785564714000,"timestamp_seconds":1785564714,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbf35410"} 
[2026-08-01 11:43:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:43:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 11:43:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:43:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:43:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:43:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:43:24] local.INFO: Teltonika packet parsed successfully {"connection_id":145967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:43:24] local.INFO: Passing IMEI to GPS processor {"connection_id":145967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:43:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":145967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:43:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:43:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:43:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:43:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104562176001,"66":27713,"166":206,"80":6400,"24":19,"16":366385230317092864,"45":1106267056859719680},"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-08-01 11:43:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:43:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:43:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104562176001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:43:24] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-01 11:43:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:43:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366385230317092864,"km_value":366385230317092.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:43:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1106267056859719680,"description":"Unknown IO ID 45"} 
[2026-08-01 11:43:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104562176001,"power":27713,"unknown_166":206,"unknown_80":6400,"ignition":19,"odometer":null,"unknown_45":1106267056859719680}} 
[2026-08-01 11:43:24] local.INFO: DEBUG: GPS processor result {"connection_id":145967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:43:24] local.INFO: GPS data processed {"connection_id":145967,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:43:24] local.INFO: Acknowledgment sent {"connection_id":145967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:43:42] local.INFO: TCP Data received {"connection_id":146186,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:43:42] local.INFO: Processing buffer {"connection_id":146186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:43:42] local.INFO: IMEI packet received {"connection_id":146186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":146186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:43:44] local.INFO: TCP Data received {"connection_id":146186,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:43:44] local.INFO: Processing buffer {"connection_id":146186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:43:44] local.INFO: IMEI packet received {"connection_id":146186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":146186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:43:45] local.INFO: TCP Data received {"connection_id":146186,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:43:45] local.INFO: Processing buffer {"connection_id":146186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:43:45] local.INFO: IMEI packet received {"connection_id":146186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":146186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:43:48] local.INFO: TCP Data received {"connection_id":146186,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:43:48] local.INFO: Processing buffer {"connection_id":146186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:43:48] local.INFO: IMEI packet received {"connection_id":146186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":146186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:43:50] local.INFO: TCP Data received {"connection_id":146186,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbf46580012d0eb2c006e783f80008013128..."} 
[2026-08-01 11:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbf46580012d0eb2c006e783f80008013128..."} 
[2026-08-01 11:43:50] local.INFO: Processing buffer {"connection_id":146186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbf46580012d0eb2c006e783f80008013128..."} 
[2026-08-01 11:43:50] local.INFO: Packet analysis {"connection_id":146186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbf4"} 
[2026-08-01 11:43:50] local.INFO: Extracted packet for processing {"connection_id":146186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbf4"} 
[2026-08-01 11:43:50] local.INFO: GPS Element Parsed {"raw_longitude":755937984,"raw_latitude":115835896,"longitude_deg":75.5937984,"latitude_deg":11.5835896,"altitude":8,"angle":305,"satellites":40,"speed":21,"hex_longitude":"2d0eb2c0","hex_latitude":"06e783f8","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104583680001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366387833067274240,"note":"Value kept but may cause issues"} 
[2026-08-01 11:43:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1061090323108507648,"note":"Value kept but may cause issues"} 
[2026-08-01 11:43:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785564784000,"timestamp_ms":1785564784000,"timestamp_seconds":1785564784,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbf46580"} 
[2026-08-01 11:43:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:43: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-08-01 11:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-01 11:43:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11: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-08-01 11:43:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:43:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104583680001,"66":27843,"177":206,"80":6400,"24":21,"16":366387833067274240,"45":1061090323108507648},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-08-01 11:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104583680001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:43:50] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-01 11:43:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366387833067274240,"km_value":366387833067274.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:43:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1061090323108507648,"description":"Unknown IO ID 45"} 
[2026-08-01 11:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104583680001,"power":27843,"unknown_177":206,"unknown_80":6400,"ignition":21,"odometer":null,"unknown_45":1061090323108507648}} 
[2026-08-01 11:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":146186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:43:50] local.INFO: GPS data processed {"connection_id":146186,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:43:50] local.INFO: Acknowledgment sent {"connection_id":146186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:43:59] local.INFO: TCP Data received {"connection_id":146187,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:43:59] local.INFO: Processing buffer {"connection_id":146187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:43:59] local.INFO: IMEI packet received {"connection_id":146187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":146187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:44:00] local.INFO: TCP Data received {"connection_id":146187,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:44:00] local.INFO: Processing buffer {"connection_id":146187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:44:00] local.INFO: IMEI packet received {"connection_id":146187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":146187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:44:06] local.INFO: TCP Data received {"connection_id":146187,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:44:06] local.INFO: Processing buffer {"connection_id":146187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:44:06] local.INFO: IMEI packet received {"connection_id":146187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":146187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:44:06] local.INFO: TCP Data received {"connection_id":146187,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbf1c5a0012d181f800721b108004b00d527..."} 
[2026-08-01 11:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbf1c5a0012d181f800721b108004b00d527..."} 
[2026-08-01 11:44:06] local.INFO: Processing buffer {"connection_id":146187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbf1c5a0012d181f800721b108004b00d527..."} 
[2026-08-01 11:44:06] local.INFO: Packet analysis {"connection_id":146187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbf1"} 
[2026-08-01 11:44:06] local.INFO: Extracted packet for processing {"connection_id":146187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbf1"} 
[2026-08-01 11:44:06] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648520,"longitude_deg":75.6555648,"latitude_deg":11.964852,"altitude":75,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b108","is_valid_coordinates":true} 
[2026-08-01 11:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104535296001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109214848450560,"note":"Value kept but may cause issues"} 
[2026-08-01 11:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306677248,"note":"Value kept but may cause issues"} 
[2026-08-01 11:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785564612000,"timestamp_ms":1785564612000,"timestamp_seconds":1785564612,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbf1c5a0"} 
[2026-08-01 11:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 11:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:44:06] 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-08-01 11:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104535296001,"66":12363,"105":206,"83":41984,"24":0,"16":10109214848450560,"45":1738248749306677248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104535296001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:44:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:44:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109214848450560,"km_value":10109214848450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306677248,"description":"Unknown IO ID 45"} 
[2026-08-01 11:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104535296001,"power":12363,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306677248}} 
[2026-08-01 11:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":146187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:44:06] local.INFO: GPS data processed {"connection_id":146187,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:44:06] local.INFO: Acknowledgment sent {"connection_id":146187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:44:21] local.INFO: TCP Data received {"connection_id":146186,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbf46d50012d0eaf0006e786080008012528..."} 
[2026-08-01 11:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbf46d50012d0eaf0006e786080008012528..."} 
[2026-08-01 11:44:21] local.INFO: Processing buffer {"connection_id":146186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbf46d50012d0eaf0006e786080008012528..."} 
[2026-08-01 11:44:21] local.INFO: Packet analysis {"connection_id":146186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbf4"} 
[2026-08-01 11:44:21] local.INFO: Extracted packet for processing {"connection_id":146186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbf4"} 
[2026-08-01 11:44:21] local.INFO: GPS Element Parsed {"raw_longitude":755937024,"raw_latitude":115836424,"longitude_deg":75.5937024,"latitude_deg":11.5836424,"altitude":8,"angle":293,"satellites":40,"speed":20,"hex_longitude":"2d0eaf00","hex_latitude":"06e78608","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104584704001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366387884606881792,"note":"Value kept but may cause issues"} 
[2026-08-01 11:44:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1059119998272010240,"note":"Value kept but may cause issues"} 
[2026-08-01 11:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785564786000,"timestamp_ms":1785564786000,"timestamp_seconds":1785564786,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbf46d50"} 
[2026-08-01 11:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:44:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 11:44:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11: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-08-01 11:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:44:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104584704001,"66":27930,"177":206,"80":6400,"24":20,"16":366387884606881792,"45":1059119998272010240},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-08-01 11:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104584704001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:44:21] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-01 11:44:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366387884606881792,"km_value":366387884606881.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:44:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1059119998272010240,"description":"Unknown IO ID 45"} 
[2026-08-01 11:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104584704001,"power":27930,"unknown_177":206,"unknown_80":6400,"ignition":20,"odometer":null,"unknown_45":1059119998272010240}} 
[2026-08-01 11:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":146186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:44:21] local.INFO: GPS data processed {"connection_id":146186,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:44:21] local.INFO: Acknowledgment sent {"connection_id":146186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:44:37] local.INFO: TCP Data received {"connection_id":146187,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbf217a8012d181f800721b108004b00d528..."} 
[2026-08-01 11:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbf217a8012d181f800721b108004b00d528..."} 
[2026-08-01 11:44:37] local.INFO: Processing buffer {"connection_id":146187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbf217a8012d181f800721b108004b00d528..."} 
[2026-08-01 11:44:37] local.INFO: Packet analysis {"connection_id":146187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbf2"} 
[2026-08-01 11:44:37] local.INFO: Extracted packet for processing {"connection_id":146187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbf2"} 
[2026-08-01 11:44:37] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648520,"longitude_deg":75.6555648,"latitude_deg":11.964852,"altitude":75,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b108","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104540672001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109214848450560,"note":"Value kept but may cause issues"} 
[2026-08-01 11:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306677248,"note":"Value kept but may cause issues"} 
[2026-08-01 11:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785564633000,"timestamp_ms":1785564633000,"timestamp_seconds":1785564633,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbf217a8"} 
[2026-08-01 11:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:44:37] 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-08-01 11: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-01 11:44:37] 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-08-01 11: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-08-01 11:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:44:37] 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-08-01 11:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104540672001,"66":12363,"105":206,"83":41984,"24":0,"16":10109214848450560,"45":1738248749306677248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104540672001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:44:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:44:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109214848450560,"km_value":10109214848450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306677248,"description":"Unknown IO ID 45"} 
[2026-08-01 11:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104540672001,"power":12363,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306677248}} 
[2026-08-01 11:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":146187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576912,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:44:38] local.INFO: GPS data processed {"connection_id":146187,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:44:38] local.INFO: Acknowledgment sent {"connection_id":146187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:44:44] local.INFO: TCP Data received {"connection_id":147187,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:44:44] local.INFO: Processing buffer {"connection_id":147187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:44:44] local.INFO: IMEI packet received {"connection_id":147187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":147187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:44:51] local.INFO: TCP Data received {"connection_id":147187,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:44:51] local.INFO: Processing buffer {"connection_id":147187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:44:51] local.INFO: IMEI packet received {"connection_id":147187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":147187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:44:53] local.INFO: TCP Data received {"connection_id":147187,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbf47cf0012d0ea70006e78a700007013428..."} 
[2026-08-01 11:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbf47cf0012d0ea70006e78a700007013428..."} 
[2026-08-01 11:44:53] local.INFO: Processing buffer {"connection_id":147187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbf47cf0012d0ea70006e78a700007013428..."} 
[2026-08-01 11:44:53] local.INFO: Packet analysis {"connection_id":147187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbf4"} 
[2026-08-01 11:44:53] local.INFO: Extracted packet for processing {"connection_id":147187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbf4"} 
[2026-08-01 11:44:53] local.INFO: GPS Element Parsed {"raw_longitude":755934976,"raw_latitude":115837552,"longitude_deg":75.5934976,"latitude_deg":11.5837552,"altitude":7,"angle":308,"satellites":40,"speed":26,"hex_longitude":"2d0ea700","hex_latitude":"06e78a70","is_valid_coordinates":true} 
[2026-08-01 11:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:44:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104585216001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:44:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366387996276031488,"note":"Value kept but may cause issues"} 
[2026-08-01 11:44:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1058064467109480448,"note":"Value kept but may cause issues"} 
[2026-08-01 11:44:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:44:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785564790000,"timestamp_ms":1785564790000,"timestamp_seconds":1785564790,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbf47cf0"} 
[2026-08-01 11:44:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:44:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-01 11:44:53] 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-08-01 11:44:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:44:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:44:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:44:53] local.INFO: Teltonika packet parsed successfully {"connection_id":147187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:44:53] local.INFO: Passing IMEI to GPS processor {"connection_id":147187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:44:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":147187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:44:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:44:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:44:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:44:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104585216001,"66":27865,"177":206,"80":6400,"24":26,"16":366387996276031488,"45":1058064467109480448},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-08-01 11:44:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:44:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:44:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104585216001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:44:53] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-01 11:44:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:44:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366387996276031488,"km_value":366387996276031.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:44:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1058064467109480448,"description":"Unknown IO ID 45"} 
[2026-08-01 11:44:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104585216001,"power":27865,"unknown_177":206,"unknown_80":6400,"ignition":26,"odometer":null,"unknown_45":1058064467109480448}} 
[2026-08-01 11:44:53] local.INFO: DEBUG: GPS processor result {"connection_id":147187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:44:53] local.INFO: GPS data processed {"connection_id":147187,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:44:53] local.INFO: Acknowledgment sent {"connection_id":147187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:44:54] local.INFO: TCP Data received {"connection_id":147187,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbf4a018012d0e930006e79ea00007014029..."} 
[2026-08-01 11:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbf4a018012d0e930006e79ea00007014029..."} 
[2026-08-01 11:44:54] local.INFO: Processing buffer {"connection_id":147187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbf4a018012d0e930006e79ea00007014029..."} 
[2026-08-01 11:44:54] local.INFO: Packet analysis {"connection_id":147187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbf4"} 
[2026-08-01 11:44:54] local.INFO: Extracted packet for processing {"connection_id":147187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbf4"} 
[2026-08-01 11:44:54] local.INFO: GPS Element Parsed {"raw_longitude":755929856,"raw_latitude":115842720,"longitude_deg":75.5929856,"latitude_deg":11.584272,"altitude":7,"angle":320,"satellites":41,"speed":36,"hex_longitude":"2d0e9300","hex_latitude":"06e79ea0","is_valid_coordinates":true} 
[2026-08-01 11:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104586240001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366388344168382464,"note":"Value kept but may cause issues"} 
[2026-08-01 11:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1055812667296083968,"note":"Value kept but may cause issues"} 
[2026-08-01 11:44:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785564799000,"timestamp_ms":1785564799000,"timestamp_seconds":1785564799,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbf4a018"} 
[2026-08-01 11:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:44:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 11:44:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:44:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":147187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":147187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":147187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:44:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104586240001,"66":28050,"177":206,"80":6400,"24":36,"16":366388344168382464,"45":1055812667296083968},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-08-01 11:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104586240001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:44:54] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-01 11:44:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366388344168382464,"km_value":366388344168382.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1055812667296083968,"description":"Unknown IO ID 45"} 
[2026-08-01 11:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104586240001,"power":28050,"unknown_177":206,"unknown_80":6400,"ignition":36,"odometer":null,"unknown_45":1055812667296083968}} 
[2026-08-01 11:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":147187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:44:54] local.INFO: GPS data processed {"connection_id":147187,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:44:54] local.INFO: Acknowledgment sent {"connection_id":147187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:45:01] local.INFO: TCP Data received {"connection_id":148510,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:45:01] local.INFO: Processing buffer {"connection_id":148510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:45:01] local.INFO: IMEI packet received {"connection_id":148510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":148510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:45:01] local.INFO: TCP Data received {"connection_id":148510,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:45:01] local.INFO: Processing buffer {"connection_id":148510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:45:01] local.INFO: IMEI packet received {"connection_id":148510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":148510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:45:06] local.INFO: TCP Data received {"connection_id":148510,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:45:06] local.INFO: Processing buffer {"connection_id":148510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:45:06] local.INFO: IMEI packet received {"connection_id":148510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":148510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:45:06] local.INFO: TCP Data received {"connection_id":148510,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbf269b0012d181f800721b108004b00d525..."} 
[2026-08-01 11:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbf269b0012d181f800721b108004b00d525..."} 
[2026-08-01 11:45:06] local.INFO: Processing buffer {"connection_id":148510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbf269b0012d181f800721b108004b00d525..."} 
[2026-08-01 11:45:06] local.INFO: Packet analysis {"connection_id":148510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbf2"} 
[2026-08-01 11:45:06] local.INFO: Extracted packet for processing {"connection_id":148510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbf2"} 
[2026-08-01 11:45:06] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648520,"longitude_deg":75.6555648,"latitude_deg":11.964852,"altitude":75,"angle":213,"satellites":37,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b108","is_valid_coordinates":true} 
[2026-08-01 11:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104546048001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109214848450560,"note":"Value kept but may cause issues"} 
[2026-08-01 11:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306677248,"note":"Value kept but may cause issues"} 
[2026-08-01 11:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785564654000,"timestamp_ms":1785564654000,"timestamp_seconds":1785564654,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbf269b0"} 
[2026-08-01 11:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-01 11:45:06] 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-08-01 11:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:45:06] 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-08-01 11:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104546048001,"66":12319,"105":206,"83":41984,"24":0,"16":10109214848450560,"45":1738248749306677248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104546048001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:45:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:45:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109214848450560,"km_value":10109214848450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306677248,"description":"Unknown IO ID 45"} 
[2026-08-01 11:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104546048001,"power":12319,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306677248}} 
[2026-08-01 11:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":148510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:45:07] local.INFO: GPS data processed {"connection_id":148510,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:45:07] local.INFO: Acknowledgment sent {"connection_id":148510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:45:25] local.INFO: TCP Data received {"connection_id":147187,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbf4afb8012d0e8a8006e7aac00006014b29..."} 
[2026-08-01 11:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbf4afb8012d0e8a8006e7aac00006014b29..."} 
[2026-08-01 11:45:25] local.INFO: Processing buffer {"connection_id":147187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbf4afb8012d0e8a8006e7aac00006014b29..."} 
[2026-08-01 11:45:25] local.INFO: Packet analysis {"connection_id":147187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbf4"} 
[2026-08-01 11:45:25] local.INFO: Extracted packet for processing {"connection_id":147187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbf4"} 
[2026-08-01 11:45:25] local.INFO: GPS Element Parsed {"raw_longitude":755927680,"raw_latitude":115845824,"longitude_deg":75.592768,"latitude_deg":11.5845824,"altitude":6,"angle":331,"satellites":41,"speed":37,"hex_longitude":"2d0e8a80","hex_latitude":"06e7aac0","is_valid_coordinates":true} 
[2026-08-01 11:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104588544001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366388528851976192,"note":"Value kept but may cause issues"} 
[2026-08-01 11:45:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1050183167763193856,"note":"Value kept but may cause issues"} 
[2026-08-01 11:45:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785564803000,"timestamp_ms":1785564803000,"timestamp_seconds":1785564803,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbf4afb8"} 
[2026-08-01 11:45:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:45:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-01 11:45:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:45:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:45:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":147187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":147187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":147187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:45:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104588544001,"66":27908,"177":206,"80":6400,"24":37,"16":366388528851976192,"45":1050183167763193856},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-08-01 11:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104588544001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:45:25] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-01 11:45:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366388528851976192,"km_value":366388528851976.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:45:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1050183167763193856,"description":"Unknown IO ID 45"} 
[2026-08-01 11:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104588544001,"power":27908,"unknown_177":206,"unknown_80":6400,"ignition":37,"odometer":null,"unknown_45":1050183167763193856}} 
[2026-08-01 11:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":147187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:45:25] local.INFO: GPS data processed {"connection_id":147187,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:45:25] local.INFO: Acknowledgment sent {"connection_id":147187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:45:37] local.INFO: TCP Data received {"connection_id":148510,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbf2bbb8012d181f800721b108004b00d524..."} 
[2026-08-01 11:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbf2bbb8012d181f800721b108004b00d524..."} 
[2026-08-01 11:45:37] local.INFO: Processing buffer {"connection_id":148510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbf2bbb8012d181f800721b108004b00d524..."} 
[2026-08-01 11:45:37] local.INFO: Packet analysis {"connection_id":148510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbf2"} 
[2026-08-01 11:45:37] local.INFO: Extracted packet for processing {"connection_id":148510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbf2"} 
[2026-08-01 11:45:37] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648520,"longitude_deg":75.6555648,"latitude_deg":11.964852,"altitude":75,"angle":213,"satellites":36,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b108","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104551424001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109214848450560,"note":"Value kept but may cause issues"} 
[2026-08-01 11:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306677248,"note":"Value kept but may cause issues"} 
[2026-08-01 11:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785564675000,"timestamp_ms":1785564675000,"timestamp_seconds":1785564675,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbf2bbb8"} 
[2026-08-01 11:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:45:37] 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-08-01 11: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-01 11:45:37] 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-08-01 11: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-08-01 11:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:45:37] 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-08-01 11:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104551424001,"66":12341,"105":206,"83":41984,"24":0,"16":10109214848450560,"45":1738248749306677248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104551424001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:45:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:45:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109214848450560,"km_value":10109214848450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306677248,"description":"Unknown IO ID 45"} 
[2026-08-01 11:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104551424001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306677248}} 
[2026-08-01 11:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":148510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:45:38] local.INFO: GPS data processed {"connection_id":148510,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:45:38] local.INFO: Acknowledgment sent {"connection_id":148510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:45:44] local.INFO: TCP Data received {"connection_id":148511,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:45:44] local.INFO: Processing buffer {"connection_id":148511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:45:44] local.INFO: IMEI packet received {"connection_id":148511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":148511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:45:45] local.INFO: TCP Data received {"connection_id":148511,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:45:45] local.INFO: Processing buffer {"connection_id":148511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:45:45] local.INFO: IMEI packet received {"connection_id":148511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":148511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:45:46] local.INFO: TCP Data received {"connection_id":148511,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:45:46] local.INFO: Processing buffer {"connection_id":148511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:45:46] local.INFO: IMEI packet received {"connection_id":148511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":148511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:45:49] local.INFO: TCP Data received {"connection_id":148511,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:45:49] local.INFO: Processing buffer {"connection_id":148511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:45:49] local.INFO: IMEI packet received {"connection_id":148511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":148511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:45:51] local.INFO: TCP Data received {"connection_id":148511,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbf4c340012d0e848006e7ba280006015c28..."} 
[2026-08-01 11:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbf4c340012d0e848006e7ba280006015c28..."} 
[2026-08-01 11:45:51] local.INFO: Processing buffer {"connection_id":148511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbf4c340012d0e848006e7ba280006015c28..."} 
[2026-08-01 11:45:51] local.INFO: Packet analysis {"connection_id":148511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbf4"} 
[2026-08-01 11:45:51] local.INFO: Extracted packet for processing {"connection_id":148511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbf4"} 
[2026-08-01 11:45:51] local.INFO: GPS Element Parsed {"raw_longitude":755926144,"raw_latitude":115849768,"longitude_deg":75.5926144,"latitude_deg":11.5849768,"altitude":6,"angle":348,"satellites":40,"speed":28,"hex_longitude":"2d0e8480","hex_latitude":"06e7ba28","is_valid_coordinates":true} 
[2026-08-01 11:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104589568001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366388735010406400,"note":"Value kept but may cause issues"} 
[2026-08-01 11:45:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1047790630461947904,"note":"Value kept but may cause issues"} 
[2026-08-01 11:45:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785564808000,"timestamp_ms":1785564808000,"timestamp_seconds":1785564808,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbf4c340"} 
[2026-08-01 11:45:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:45: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-08-01 11:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 11:45: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-08-01 11:45:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:45:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:45:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104589568001,"66":27865,"177":206,"80":6400,"24":28,"16":366388735010406400,"45":1047790630461947904},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-08-01 11:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104589568001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:45:51] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-01 11:45:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366388735010406400,"km_value":366388735010406.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:45:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1047790630461947904,"description":"Unknown IO ID 45"} 
[2026-08-01 11:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104589568001,"power":27865,"unknown_177":206,"unknown_80":6400,"ignition":28,"odometer":null,"unknown_45":1047790630461947904}} 
[2026-08-01 11:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":148511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:45:51] local.INFO: GPS data processed {"connection_id":148511,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:45:51] local.INFO: Acknowledgment sent {"connection_id":148511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:46:01] local.INFO: TCP Data received {"connection_id":147188,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147188,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:46:01] local.INFO: Processing buffer {"connection_id":147188,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:46:01] local.INFO: IMEI packet received {"connection_id":147188,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":147188,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:46:05] local.INFO: TCP Data received {"connection_id":147188,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147188,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:46:05] local.INFO: Processing buffer {"connection_id":147188,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:46:05] local.INFO: IMEI packet received {"connection_id":147188,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":147188,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:46:05] local.INFO: TCP Data received {"connection_id":147188,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbf30dc0012d181f800721b108004b00d526..."} 
[2026-08-01 11:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbf30dc0012d181f800721b108004b00d526..."} 
[2026-08-01 11:46:05] local.INFO: Processing buffer {"connection_id":147188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbf30dc0012d181f800721b108004b00d526..."} 
[2026-08-01 11:46:05] local.INFO: Packet analysis {"connection_id":147188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbf3"} 
[2026-08-01 11:46:05] local.INFO: Extracted packet for processing {"connection_id":147188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbf3"} 
[2026-08-01 11:46:05] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648520,"longitude_deg":75.6555648,"latitude_deg":11.964852,"altitude":75,"angle":213,"satellites":38,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b108","is_valid_coordinates":true} 
[2026-08-01 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-08-01 11:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104556800001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109214848450560,"note":"Value kept but may cause issues"} 
[2026-08-01 11:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306677248,"note":"Value kept but may cause issues"} 
[2026-08-01 11:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785564696000,"timestamp_ms":1785564696000,"timestamp_seconds":1785564696,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbf30dc0"} 
[2026-08-01 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-08-01 11:46:05] 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-08-01 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-01 11:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 11:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:46:05] 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-08-01 11:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104556800001,"66":12298,"105":206,"83":41984,"24":0,"16":10109214848450560,"45":1738248749306677248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104556800001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:46:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:46:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109214848450560,"km_value":10109214848450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306677248,"description":"Unknown IO ID 45"} 
[2026-08-01 11:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104556800001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306677248}} 
[2026-08-01 11:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":147188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:46:06] local.INFO: GPS data processed {"connection_id":147188,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:46:06] local.INFO: Acknowledgment sent {"connection_id":147188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:46:22] local.INFO: TCP Data received {"connection_id":148511,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbf51548012d0e7f0006e7d1e80007015b28..."} 
[2026-08-01 11:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbf51548012d0e7f0006e7d1e80007015b28..."} 
[2026-08-01 11:46:22] local.INFO: Processing buffer {"connection_id":148511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbf51548012d0e7f0006e7d1e80007015b28..."} 
[2026-08-01 11:46:22] local.INFO: Packet analysis {"connection_id":148511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbf5"} 
[2026-08-01 11:46:22] local.INFO: Extracted packet for processing {"connection_id":148511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbf5"} 
[2026-08-01 11:46:22] local.INFO: GPS Element Parsed {"raw_longitude":755924736,"raw_latitude":115855848,"longitude_deg":75.5924736,"latitude_deg":11.5855848,"altitude":7,"angle":347,"satellites":40,"speed":7,"hex_longitude":"2d0e7f00","hex_latitude":"06e7d1e8","is_valid_coordinates":true} 
[2026-08-01 11:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:46:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104590848001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:46:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366389039953084416,"note":"Value kept but may cause issues"} 
[2026-08-01 11:46:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1046101780602693632,"note":"Value kept but may cause issues"} 
[2026-08-01 11:46:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:46:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785564829000,"timestamp_ms":1785564829000,"timestamp_seconds":1785564829,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbf51548"} 
[2026-08-01 11:46:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:46:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 11:46:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:46:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:46:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:46:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:46:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:46:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:46:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:46:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:46:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:46:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:46:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104590848001,"66":27767,"177":206,"80":6400,"24":7,"16":366389039953084416,"45":1046101780602693632},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-08-01 11:46:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:46:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:46:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104590848001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:46:22] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-01 11:46:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:46:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366389039953084416,"km_value":366389039953084.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:46:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1046101780602693632,"description":"Unknown IO ID 45"} 
[2026-08-01 11:46:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104590848001,"power":27767,"unknown_177":206,"unknown_80":6400,"ignition":7,"odometer":null,"unknown_45":1046101780602693632}} 
[2026-08-01 11:46:22] local.INFO: DEBUG: GPS processor result {"connection_id":148511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:46:22] local.INFO: GPS data processed {"connection_id":148511,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:46:22] local.INFO: Acknowledgment sent {"connection_id":148511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:46:36] local.INFO: TCP Data received {"connection_id":147188,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbf35fc8012d181f800721b108004b00d527..."} 
[2026-08-01 11:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbf35fc8012d181f800721b108004b00d527..."} 
[2026-08-01 11:46:36] local.INFO: Processing buffer {"connection_id":147188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbf35fc8012d181f800721b108004b00d527..."} 
[2026-08-01 11:46:36] local.INFO: Packet analysis {"connection_id":147188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbf3"} 
[2026-08-01 11:46:36] local.INFO: Extracted packet for processing {"connection_id":147188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbf3"} 
[2026-08-01 11:46:36] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648520,"longitude_deg":75.6555648,"latitude_deg":11.964852,"altitude":75,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b108","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104562176001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109214848450560,"note":"Value kept but may cause issues"} 
[2026-08-01 11:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306677248,"note":"Value kept but may cause issues"} 
[2026-08-01 11:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785564717000,"timestamp_ms":1785564717000,"timestamp_seconds":1785564717,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbf35fc8"} 
[2026-08-01 11:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 11:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-01 11:46:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-01 11:46:36] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185635,"note":"Value kept but may cause issues"} 
[2026-08-01 11:46:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 11:46:36] local.WARNING: Large IO value detected {"io_id":234,"raw_value":5116089176692883457,"note":"Value kept but may cause issues"} 
[2026-08-01 11:46:36] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4904191811164235745,"note":"Value kept but may cause issues"} 
[2026-08-01 11:46:36] local.WARNING: Large IO value detected {"io_id":187,"raw_value":4056260609,"note":"Value kept but may cause issues"} 
[2026-08-01 11:46:36] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513886480419717333,"note":"Value kept but may cause issues"} 
[2026-08-01 11:46:36] local.WARNING: Large IO value detected {"io_id":75,"raw_value":59995951481225216,"note":"Value kept but may cause issues"} 
[2026-08-01 11:46:36] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832568,"note":"Value kept but may cause issues"} 
[2026-08-01 11:46:36] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120352133326,"note":"Value kept but may cause issues"} 
[2026-08-01 11:46:36] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2970091595,"note":"Value kept but may cause issues"} 
[2026-08-01 11:46:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-01 11:46:36] local.WARNING: Large IO value detected {"io_id":115,"raw_value":2550213912,"note":"Value kept but may cause issues"} 
[2026-08-01 11:46:36] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2147951025,"note":"Value kept but may cause issues"} 
[2026-08-01 11:46:36] local.WARNING: Large IO value detected {"io_id":35,"raw_value":3930521600,"note":"Value kept but may cause issues"} 
[2026-08-01 11:46:36] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,234,159,187,45,128,177,75,36,10,66,37,23,1,240,227,33,4,113,205,115,31,8,39,239,48,2,35,7,38],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-01 11:46:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404553912030068736,"timestamp_seconds":5404553912030069.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 11:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:46:36] 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-08-01 11:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104562176001,"66":12319,"105":206,"83":41984,"24":0,"16":10109214848450560,"45":1738248749306677248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104562176001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:46:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:46:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109214848450560,"km_value":10109214848450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306677248,"description":"Unknown IO ID 45"} 
[2026-08-01 11:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104562176001,"power":12319,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306677248}} 
[2026-08-01 11:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":147188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:46:36] local.INFO: GPS data processed {"connection_id":147188,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:46:36] local.INFO: Acknowledgment sent {"connection_id":147188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:46:44] local.INFO: TCP Data received {"connection_id":147189,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:46:44] local.INFO: Processing buffer {"connection_id":147189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:46:44] local.INFO: IMEI packet received {"connection_id":147189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":147189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:46:48] local.INFO: TCP Data received {"connection_id":147189,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:46:48] local.INFO: Processing buffer {"connection_id":147189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:46:48] local.INFO: IMEI packet received {"connection_id":147189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":147189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:46:49] local.INFO: TCP Data received {"connection_id":147189,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:46:49] local.INFO: Processing buffer {"connection_id":147189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:46:49] local.INFO: IMEI packet received {"connection_id":147189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":147189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:46:50] local.INFO: TCP Data received {"connection_id":147189,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbf6d680012d0e7e0006e859900007016629..."} 
[2026-08-01 11:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbf6d680012d0e7e0006e859900007016629..."} 
[2026-08-01 11:46:50] local.INFO: Processing buffer {"connection_id":147189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbf6d680012d0e7e0006e859900007016629..."} 
[2026-08-01 11:46:50] local.INFO: Packet analysis {"connection_id":147189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbf6"} 
[2026-08-01 11:46:50] local.INFO: Extracted packet for processing {"connection_id":147189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbf6"} 
[2026-08-01 11:46:50] local.INFO: GPS Element Parsed {"raw_longitude":755924480,"raw_latitude":115890576,"longitude_deg":75.592448,"latitude_deg":11.5890576,"altitude":7,"angle":358,"satellites":41,"speed":6,"hex_longitude":"2d0e7e00","hex_latitude":"06e85990","is_valid_coordinates":true} 
[2026-08-01 11:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104621312001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:46:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366390783709806592,"note":"Value kept but may cause issues"} 
[2026-08-01 11:46:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1043920349542871040,"note":"Value kept but may cause issues"} 
[2026-08-01 11:46:50] 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-08-01 11:46:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785564944000,"timestamp_ms":1785564944000,"timestamp_seconds":1785564944,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbf6d680"} 
[2026-08-01 11:46:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:46: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-08-01 11:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 11:46:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:46:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:46:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:46:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:46:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:46:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:46:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:46:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:46:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:46:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:46:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104621312001,"66":27974,"103":206,"80":6400,"24":6,"16":366390783709806592,"45":1043920349542871040},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-08-01 11:46:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:46:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:46:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104621312001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:46:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 11:46:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:46:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366390783709806592,"km_value":366390783709806.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:46:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1043920349542871040,"description":"Unknown IO ID 45"} 
[2026-08-01 11:46:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104621312001,"power":27974,"unknown_103":206,"unknown_80":6400,"ignition":6,"odometer":null,"unknown_45":1043920349542871040}} 
[2026-08-01 11:46:50] local.INFO: DEBUG: GPS processor result {"connection_id":147189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:46:50] local.INFO: GPS data processed {"connection_id":147189,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:46:50] local.INFO: Acknowledgment sent {"connection_id":147189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:46:55] local.INFO: TCP Data received {"connection_id":147189,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbf6da68012d0e7e0006e85a480008015a29..."} 
[2026-08-01 11:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbf6da68012d0e7e0006e85a480008015a29..."} 
[2026-08-01 11:46:55] local.INFO: Processing buffer {"connection_id":147189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbf6da68012d0e7e0006e85a480008015a29..."} 
[2026-08-01 11:46:55] local.INFO: Packet analysis {"connection_id":147189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbf6"} 
[2026-08-01 11:46:55] local.INFO: Extracted packet for processing {"connection_id":147189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbf6"} 
[2026-08-01 11:46:55] local.INFO: GPS Element Parsed {"raw_longitude":755924480,"raw_latitude":115890760,"longitude_deg":75.592448,"latitude_deg":11.589076,"altitude":8,"angle":346,"satellites":41,"speed":7,"hex_longitude":"2d0e7e00","hex_latitude":"06e85a48","is_valid_coordinates":true} 
[2026-08-01 11:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104625664001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366390792299741184,"note":"Value kept but may cause issues"} 
[2026-08-01 11:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1044272193264521216,"note":"Value kept but may cause issues"} 
[2026-08-01 11:46:55] 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-08-01 11:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785564945000,"timestamp_ms":1785564945000,"timestamp_seconds":1785564945,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbf6da68"} 
[2026-08-01 11:46:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:46: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-08-01 11:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-01 11:46:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:46:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:46:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":147189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":147189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":147189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:46:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104625664001,"66":28050,"103":206,"80":6400,"24":7,"16":366390792299741184,"45":1044272193264521216},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-08-01 11:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104625664001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:46:55] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 11:46:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366390792299741184,"km_value":366390792299741.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1044272193264521216,"description":"Unknown IO ID 45"} 
[2026-08-01 11:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104625664001,"power":28050,"unknown_103":206,"unknown_80":6400,"ignition":7,"odometer":null,"unknown_45":1044272193264521216}} 
[2026-08-01 11:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":147189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:46:55] local.INFO: GPS data processed {"connection_id":147189,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:46:55] local.INFO: Acknowledgment sent {"connection_id":147189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:47:00] local.INFO: TCP Data received {"connection_id":145969,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:47:00] local.INFO: Processing buffer {"connection_id":145969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:47:00] local.INFO: IMEI packet received {"connection_id":145969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":145969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:47:13] local.INFO: TCP Data received {"connection_id":145969,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:47:13] local.INFO: Processing buffer {"connection_id":145969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:47:13] local.INFO: IMEI packet received {"connection_id":145969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":145969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:47:14] local.INFO: TCP Data received {"connection_id":145969,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbf3b1d0012d181f800721b108004b00d526..."} 
[2026-08-01 11:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbf3b1d0012d181f800721b108004b00d526..."} 
[2026-08-01 11:47:14] local.INFO: Processing buffer {"connection_id":145969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbf3b1d0012d181f800721b108004b00d526..."} 
[2026-08-01 11:47:14] local.INFO: Packet analysis {"connection_id":145969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbf3"} 
[2026-08-01 11:47:14] local.INFO: Extracted packet for processing {"connection_id":145969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbf3"} 
[2026-08-01 11:47:14] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648520,"longitude_deg":75.6555648,"latitude_deg":11.964852,"altitude":75,"angle":213,"satellites":38,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b108","is_valid_coordinates":true} 
[2026-08-01 11:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104567552001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109214848450560,"note":"Value kept but may cause issues"} 
[2026-08-01 11:47:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306677248,"note":"Value kept but may cause issues"} 
[2026-08-01 11:47: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-08-01 11:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785564738000,"timestamp_ms":1785564738000,"timestamp_seconds":1785564738,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbf3b1d0"} 
[2026-08-01 11:47:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:47:14] 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-08-01 11:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-01 11:47:14] 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-08-01 11:47:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:47:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":145969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":145969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":145969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:47:14] 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-08-01 11:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104567552001,"66":12298,"105":206,"83":41984,"24":0,"16":10109214848450560,"45":1738248749306677248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104567552001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:47:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:47:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109214848450560,"km_value":10109214848450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306677248,"description":"Unknown IO ID 45"} 
[2026-08-01 11:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104567552001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306677248}} 
[2026-08-01 11:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":145969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:47:14] local.INFO: GPS data processed {"connection_id":145969,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:47:14] local.INFO: Acknowledgment sent {"connection_id":145969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:47:26] local.INFO: TCP Data received {"connection_id":147189,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbf6de50012d0e7d8006e85b080008000029..."} 
[2026-08-01 11:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbf6de50012d0e7d8006e85b080008000029..."} 
[2026-08-01 11:47:26] local.INFO: Processing buffer {"connection_id":147189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbf6de50012d0e7d8006e85b080008000029..."} 
[2026-08-01 11:47:26] local.INFO: Packet analysis {"connection_id":147189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbf6"} 
[2026-08-01 11:47:26] local.INFO: Extracted packet for processing {"connection_id":147189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbf6"} 
[2026-08-01 11:47:26] local.INFO: GPS Element Parsed {"raw_longitude":755924352,"raw_latitude":115890952,"longitude_deg":75.5924352,"latitude_deg":11.5890952,"altitude":8,"angle":0,"satellites":41,"speed":7,"hex_longitude":"2d0e7d80","hex_latitude":"06e85b08","is_valid_coordinates":true} 
[2026-08-01 11:47: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-08-01 11:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104625920001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366390800889675776,"note":"Value kept but may cause issues"} 
[2026-08-01 11:47:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1044272193264568320,"note":"Value kept but may cause issues"} 
[2026-08-01 11:47:26] 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-08-01 11:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785564946000,"timestamp_ms":1785564946000,"timestamp_seconds":1785564946,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbf6de50"} 
[2026-08-01 11:47:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:47:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:47: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":146,"data_length":795,"current_offset":136} 
[2026-08-01 11:47:26] 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-08-01 11:47: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-08-01 11:47:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":147189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":147189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":147189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:47:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104625920001,"66":28050,"103":206,"80":6400,"24":7,"16":366390800889675776,"45":1044272193264568320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-08-01 11:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104625920001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:47:26] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 11:47:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366390800889675776,"km_value":366390800889675.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:47:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1044272193264568320,"description":"Unknown IO ID 45"} 
[2026-08-01 11:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104625920001,"power":28050,"unknown_103":206,"unknown_80":6400,"ignition":7,"odometer":null,"unknown_45":1044272193264568320}} 
[2026-08-01 11:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":147189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:47:26] local.INFO: GPS data processed {"connection_id":147189,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:47:26] local.INFO: Acknowledgment sent {"connection_id":147189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:47:49] local.INFO: TCP Data received {"connection_id":148512,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:47:49] local.INFO: Processing buffer {"connection_id":148512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:47:49] local.INFO: IMEI packet received {"connection_id":148512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":148512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:47:53] local.INFO: TCP Data received {"connection_id":145969,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbf73440012d181f800721b108004b00d527..."} 
[2026-08-01 11:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbf73440012d181f800721b108004b00d527..."} 
[2026-08-01 11:47:53] local.INFO: Processing buffer {"connection_id":145969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbf73440012d181f800721b108004b00d527..."} 
[2026-08-01 11:47:53] local.INFO: Packet analysis {"connection_id":145969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbf7"} 
[2026-08-01 11:47:53] local.INFO: Extracted packet for processing {"connection_id":145969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbf7"} 
[2026-08-01 11:47:53] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648520,"longitude_deg":75.6555648,"latitude_deg":11.964852,"altitude":75,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b108","is_valid_coordinates":true} 
[2026-08-01 11:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104626688001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109214848450560,"note":"Value kept but may cause issues"} 
[2026-08-01 11:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306677248,"note":"Value kept but may cause issues"} 
[2026-08-01 11:47:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785564968000,"timestamp_ms":1785564968000,"timestamp_seconds":1785564968,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbf73440"} 
[2026-08-01 11:47:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:47:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 11:47:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:47:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:47:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":145969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":145969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":145969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:47:53] 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-08-01 11:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104626688001,"66":12287,"105":206,"83":41984,"24":0,"16":10109214848450560,"45":1738248749306677248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104626688001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:47:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:47:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109214848450560,"km_value":10109214848450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306677248,"description":"Unknown IO ID 45"} 
[2026-08-01 11:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104626688001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306677248}} 
[2026-08-01 11:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":145969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:47:53] local.INFO: GPS data processed {"connection_id":145969,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:47:53] local.INFO: Acknowledgment sent {"connection_id":145969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:47:54] local.INFO: TCP Data received {"connection_id":148512,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:47:54] local.INFO: Processing buffer {"connection_id":148512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:47:54] local.INFO: IMEI packet received {"connection_id":148512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":148512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:47:55] local.INFO: TCP Data received {"connection_id":148512,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbf6f5c0012d0e7e0006e862580007000c29..."} 
[2026-08-01 11:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbf6f5c0012d0e7e0006e862580007000c29..."} 
[2026-08-01 11:47:55] local.INFO: Processing buffer {"connection_id":148512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbf6f5c0012d0e7e0006e862580007000c29..."} 
[2026-08-01 11:47:55] local.INFO: Packet analysis {"connection_id":148512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbf6"} 
[2026-08-01 11:47:55] local.INFO: Extracted packet for processing {"connection_id":148512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbf6"} 
[2026-08-01 11:47:55] local.INFO: GPS Element Parsed {"raw_longitude":755924480,"raw_latitude":115892824,"longitude_deg":75.592448,"latitude_deg":11.5892824,"altitude":7,"angle":12,"satellites":41,"speed":14,"hex_longitude":"2d0e7e00","hex_latitude":"06e86258","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104626176001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366390895378956288,"note":"Value kept but may cause issues"} 
[2026-08-01 11:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1044131455776262144,"note":"Value kept but may cause issues"} 
[2026-08-01 11:47:55] 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-08-01 11:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785564952000,"timestamp_ms":1785564952000,"timestamp_seconds":1785564952,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbf6f5c0"} 
[2026-08-01 11:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:47: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-08-01 11: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-01 11:47:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11: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-08-01 11:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104626176001,"66":28028,"103":206,"80":6400,"24":14,"16":366390895378956288,"45":1044131455776262144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-08-01 11:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104626176001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:47:55] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 11:47:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366390895378956288,"km_value":366390895378956.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1044131455776262144,"description":"Unknown IO ID 45"} 
[2026-08-01 11:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104626176001,"power":28028,"unknown_103":206,"unknown_80":6400,"ignition":14,"odometer":null,"unknown_45":1044131455776262144}} 
[2026-08-01 11:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":148512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:47:55] local.INFO: GPS data processed {"connection_id":148512,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:47:55] local.INFO: Acknowledgment sent {"connection_id":148512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:48:00] local.INFO: TCP Data received {"connection_id":148512,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbf73440012d0e89c006e88428000a00142a..."} 
[2026-08-01 11:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbf73440012d0e89c006e88428000a00142a..."} 
[2026-08-01 11:48:00] local.INFO: Processing buffer {"connection_id":148512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbf73440012d0e89c006e88428000a00142a..."} 
[2026-08-01 11:48:00] local.INFO: Packet analysis {"connection_id":148512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbf7"} 
[2026-08-01 11:48:00] local.INFO: Extracted packet for processing {"connection_id":148512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbf7"} 
[2026-08-01 11:48:00] local.INFO: GPS Element Parsed {"raw_longitude":755927488,"raw_latitude":115901480,"longitude_deg":75.5927488,"latitude_deg":11.590148,"altitude":10,"angle":20,"satellites":42,"speed":25,"hex_longitude":"2d0e89c0","hex_latitude":"06e88428","is_valid_coordinates":true} 
[2026-08-01 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-08-01 11:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104627712001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366391337760587776,"note":"Value kept but may cause issues"} 
[2026-08-01 11:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1044272193265096704,"note":"Value kept but may cause issues"} 
[2026-08-01 11:48:00] 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-08-01 11:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785564968000,"timestamp_ms":1785564968000,"timestamp_seconds":1785564968,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbf73440"} 
[2026-08-01 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-08-01 11:48: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-08-01 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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-01 11:48: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-08-01 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-08-01 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-08-01 11:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":148512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":148512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":148512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:48: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-08-01 11:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104627712001,"66":27821,"103":206,"80":6400,"24":25,"16":366391337760587776,"45":1044272193265096704},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-08-01 11:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104627712001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:48:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 11:48:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366391337760587776,"km_value":366391337760587.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1044272193265096704,"description":"Unknown IO ID 45"} 
[2026-08-01 11:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104627712001,"power":27821,"unknown_103":206,"unknown_80":6400,"ignition":25,"odometer":null,"unknown_45":1044272193265096704}} 
[2026-08-01 11:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":148512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:48:00] local.INFO: GPS data processed {"connection_id":148512,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:48:00] local.INFO: Acknowledgment sent {"connection_id":148512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:48:00] local.INFO: TCP Data received {"connection_id":146188,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146188,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:48:00] local.INFO: Processing buffer {"connection_id":146188,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:48:00] local.INFO: IMEI packet received {"connection_id":146188,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":146188,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:48:06] local.INFO: TCP Data received {"connection_id":146188,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146188,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:48:06] local.INFO: Processing buffer {"connection_id":146188,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:48:06] local.INFO: IMEI packet received {"connection_id":146188,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":146188,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:48:06] local.INFO: TCP Data received {"connection_id":146188,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbf78648012d181f800721b108004b00d526..."} 
[2026-08-01 11:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbf78648012d181f800721b108004b00d526..."} 
[2026-08-01 11:48:06] local.INFO: Processing buffer {"connection_id":146188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbf78648012d181f800721b108004b00d526..."} 
[2026-08-01 11:48:06] local.INFO: Packet analysis {"connection_id":146188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbf7"} 
[2026-08-01 11:48:06] local.INFO: Extracted packet for processing {"connection_id":146188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbf7"} 
[2026-08-01 11:48:06] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648520,"longitude_deg":75.6555648,"latitude_deg":11.964852,"altitude":75,"angle":213,"satellites":38,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b108","is_valid_coordinates":true} 
[2026-08-01 11:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104631808001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109214848450560,"note":"Value kept but may cause issues"} 
[2026-08-01 11:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306677248,"note":"Value kept but may cause issues"} 
[2026-08-01 11:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785564989000,"timestamp_ms":1785564989000,"timestamp_seconds":1785564989,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbf78648"} 
[2026-08-01 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-08-01 11:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 11:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 11:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:48:06] 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-08-01 11:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104631808001,"66":12287,"105":206,"83":41984,"24":0,"16":10109214848450560,"45":1738248749306677248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104631808001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:48:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:48:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109214848450560,"km_value":10109214848450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306677248,"description":"Unknown IO ID 45"} 
[2026-08-01 11:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104631808001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306677248}} 
[2026-08-01 11:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":146188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:48:06] local.INFO: GPS data processed {"connection_id":146188,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:48:06] local.INFO: Acknowledgment sent {"connection_id":146188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:48:37] local.INFO: TCP Data received {"connection_id":146188,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbf7dc38012d181f800721b108004b00d527..."} 
[2026-08-01 11:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbf7dc38012d181f800721b108004b00d527..."} 
[2026-08-01 11:48:37] local.INFO: Processing buffer {"connection_id":146188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbf7dc38012d181f800721b108004b00d527..."} 
[2026-08-01 11:48:37] local.INFO: Packet analysis {"connection_id":146188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbf7"} 
[2026-08-01 11:48:37] local.INFO: Extracted packet for processing {"connection_id":146188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbf7"} 
[2026-08-01 11:48:37] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648520,"longitude_deg":75.6555648,"latitude_deg":11.964852,"altitude":75,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b108","is_valid_coordinates":true} 
[2026-08-01 11:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104637184001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109214848450560,"note":"Value kept but may cause issues"} 
[2026-08-01 11:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306677248,"note":"Value kept but may cause issues"} 
[2026-08-01 11:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785565011000,"timestamp_ms":1785565011000,"timestamp_seconds":1785565011,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbf7dc38"} 
[2026-08-01 11:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:48:37] 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-08-01 11:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 11:48:37] 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-08-01 11:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:48:37] 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-08-01 11:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104637184001,"66":12287,"105":206,"83":41984,"24":0,"16":10109214848450560,"45":1738248749306677248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104637184001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:48:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:48:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109214848450560,"km_value":10109214848450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306677248,"description":"Unknown IO ID 45"} 
[2026-08-01 11:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104637184001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306677248}} 
[2026-08-01 11:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":146188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576930,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:48:37] local.INFO: GPS data processed {"connection_id":146188,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:48:37] local.INFO: Acknowledgment sent {"connection_id":146188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:48:43] local.INFO: TCP Data received {"connection_id":146189,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:48:43] local.INFO: Processing buffer {"connection_id":146189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:48:43] local.INFO: IMEI packet received {"connection_id":146189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":146189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:48:44] local.INFO: TCP Data received {"connection_id":146189,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:48:44] local.INFO: Processing buffer {"connection_id":146189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:48:44] local.INFO: IMEI packet received {"connection_id":146189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":146189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:48:50] local.INFO: TCP Data received {"connection_id":146189,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:48:50] local.INFO: Processing buffer {"connection_id":146189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:48:50] local.INFO: IMEI packet received {"connection_id":146189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":146189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:48:51] local.INFO: TCP Data received {"connection_id":146189,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbf772c0012d0e918006e895d0000a00002a..."} 
[2026-08-01 11:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbf772c0012d0e918006e895d0000a00002a..."} 
[2026-08-01 11:48:51] local.INFO: Processing buffer {"connection_id":146189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbf772c0012d0e918006e895d0000a00002a..."} 
[2026-08-01 11:48:51] local.INFO: Packet analysis {"connection_id":146189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbf7"} 
[2026-08-01 11:48:51] local.INFO: Extracted packet for processing {"connection_id":146189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbf7"} 
[2026-08-01 11:48:51] local.INFO: GPS Element Parsed {"raw_longitude":755929472,"raw_latitude":115906000,"longitude_deg":75.5929472,"latitude_deg":11.5906,"altitude":10,"angle":0,"satellites":42,"speed":6,"hex_longitude":"2d0e9180","hex_latitude":"06e895d0","is_valid_coordinates":true} 
[2026-08-01 11:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104631808001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366391578278756352,"note":"Value kept but may cause issues"} 
[2026-08-01 11:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1047579524243662848,"note":"Value kept but may cause issues"} 
[2026-08-01 11:48:51] 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-08-01 11:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785564984000,"timestamp_ms":1785564984000,"timestamp_seconds":1785564984,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbf772c0"} 
[2026-08-01 11:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 11:48:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:48:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":146189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":146189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":146189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104631808001,"66":27865,"2":206,"80":6400,"24":6,"16":366391578278756352,"45":1047579524243662848},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,80,24,16,45]} 
[2026-08-01 11:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104631808001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:48:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366391578278756352,"km_value":366391578278756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1047579524243662848,"description":"Unknown IO ID 45"} 
[2026-08-01 11:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104631808001,"power":27865,"power_alt":206,"unknown_80":6400,"ignition":6,"odometer":null,"unknown_45":1047579524243662848}} 
[2026-08-01 11:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":146189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:48:51] local.INFO: GPS data processed {"connection_id":146189,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:48:51] local.INFO: Acknowledgment sent {"connection_id":146189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:49:06] local.INFO: TCP Data received {"connection_id":148513,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:49:06] local.INFO: Processing buffer {"connection_id":148513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:49:06] local.INFO: IMEI packet received {"connection_id":148513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":148513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:49:10] local.INFO: TCP Data received {"connection_id":148513,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:49:10] local.INFO: Processing buffer {"connection_id":148513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:49:10] local.INFO: IMEI packet received {"connection_id":148513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":148513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:49:11] local.INFO: TCP Data received {"connection_id":148513,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbf82e40012d181f800721b108004b00d527..."} 
[2026-08-01 11:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbf82e40012d181f800721b108004b00d527..."} 
[2026-08-01 11:49:11] local.INFO: Processing buffer {"connection_id":148513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbf82e40012d181f800721b108004b00d527..."} 
[2026-08-01 11:49:11] local.INFO: Packet analysis {"connection_id":148513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbf8"} 
[2026-08-01 11:49:11] local.INFO: Extracted packet for processing {"connection_id":148513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbf8"} 
[2026-08-01 11:49:11] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648520,"longitude_deg":75.6555648,"latitude_deg":11.964852,"altitude":75,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b108","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104642816001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109214848450560,"note":"Value kept but may cause issues"} 
[2026-08-01 11:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306677248,"note":"Value kept but may cause issues"} 
[2026-08-01 11:49: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-08-01 11:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785565032000,"timestamp_ms":1785565032000,"timestamp_seconds":1785565032,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbf82e40"} 
[2026-08-01 11:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:49: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-08-01 11: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 11:49: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-08-01 11: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-08-01 11:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":148513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":148513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":148513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:49: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-08-01 11:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104642816001,"66":12287,"105":206,"83":41984,"24":0,"16":10109214848450560,"45":1738248749306677248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104642816001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:49:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:49:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109214848450560,"km_value":10109214848450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306677248,"description":"Unknown IO ID 45"} 
[2026-08-01 11:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104642816001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306677248}} 
[2026-08-01 11:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":148513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:49:11] local.INFO: GPS data processed {"connection_id":148513,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:49:11] local.INFO: Acknowledgment sent {"connection_id":148513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:49:14] local.INFO: TCP Data received {"connection_id":148513,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbf88048012d181f800721b108004b00d527..."} 
[2026-08-01 11:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbf88048012d181f800721b108004b00d527..."} 
[2026-08-01 11:49:14] local.INFO: Processing buffer {"connection_id":148513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbf88048012d181f800721b108004b00d527..."} 
[2026-08-01 11:49:14] local.INFO: Packet analysis {"connection_id":148513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbf8"} 
[2026-08-01 11:49:14] local.INFO: Extracted packet for processing {"connection_id":148513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbf8"} 
[2026-08-01 11:49:14] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648520,"longitude_deg":75.6555648,"latitude_deg":11.964852,"altitude":75,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b108","is_valid_coordinates":true} 
[2026-08-01 11:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104648192001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109214848450560,"note":"Value kept but may cause issues"} 
[2026-08-01 11:49:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306677248,"note":"Value kept but may cause issues"} 
[2026-08-01 11:49: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-08-01 11:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785565053000,"timestamp_ms":1785565053000,"timestamp_seconds":1785565053,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbf88048"} 
[2026-08-01 11:49:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:49: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-08-01 11:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 11:49: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-08-01 11:49:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:49:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":148513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":148513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":148513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:49:14] 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-08-01 11:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104648192001,"66":12254,"105":206,"83":41984,"24":0,"16":10109214848450560,"45":1738248749306677248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104648192001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:49:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:49:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109214848450560,"km_value":10109214848450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:49:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306677248,"description":"Unknown IO ID 45"} 
[2026-08-01 11:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104648192001,"power":12254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306677248}} 
[2026-08-01 11:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":148513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:49:14] local.INFO: GPS data processed {"connection_id":148513,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:49:14] local.INFO: Acknowledgment sent {"connection_id":148513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:49:22] local.INFO: TCP Data received {"connection_id":146189,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbf78a30012d0e910006e89898000a014a2a..."} 
[2026-08-01 11:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbf78a30012d0e910006e89898000a014a2a..."} 
[2026-08-01 11:49:22] local.INFO: Processing buffer {"connection_id":146189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbf78a30012d0e910006e89898000a014a2a..."} 
[2026-08-01 11:49:22] local.INFO: Packet analysis {"connection_id":146189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbf7"} 
[2026-08-01 11:49:22] local.INFO: Extracted packet for processing {"connection_id":146189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbf7"} 
[2026-08-01 11:49:22] local.INFO: GPS Element Parsed {"raw_longitude":755929344,"raw_latitude":115906712,"longitude_deg":75.5929344,"latitude_deg":11.5906712,"altitude":10,"angle":330,"satellites":42,"speed":6,"hex_longitude":"2d0e9100","hex_latitude":"06e89898","is_valid_coordinates":true} 
[2026-08-01 11:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104635904001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366391616933462016,"note":"Value kept but may cause issues"} 
[2026-08-01 11:49:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1049760955314327552,"note":"Value kept but may cause issues"} 
[2026-08-01 11:49:22] 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-08-01 11:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785564990000,"timestamp_ms":1785564990000,"timestamp_seconds":1785564990,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbf78a30"} 
[2026-08-01 11:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:49:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 11:49:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:49:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104635904001,"66":27876,"2":206,"80":6400,"24":6,"16":366391616933462016,"45":1049760955314327552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,80,24,16,45]} 
[2026-08-01 11:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104635904001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:49:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366391616933462016,"km_value":366391616933462.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:49:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1049760955314327552,"description":"Unknown IO ID 45"} 
[2026-08-01 11:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104635904001,"power":27876,"power_alt":206,"unknown_80":6400,"ignition":6,"odometer":null,"unknown_45":1049760955314327552}} 
[2026-08-01 11:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":146189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:49:22] local.INFO: GPS data processed {"connection_id":146189,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:49:22] local.INFO: Acknowledgment sent {"connection_id":146189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:49:45] local.INFO: TCP Data received {"connection_id":147190,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:49:45] local.INFO: Processing buffer {"connection_id":147190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:49:45] local.INFO: IMEI packet received {"connection_id":147190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":147190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:49:45] local.INFO: TCP Data received {"connection_id":148513,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbf8d250012d181f800721b108004b00d528..."} 
[2026-08-01 11:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbf8d250012d181f800721b108004b00d528..."} 
[2026-08-01 11:49:45] local.INFO: Processing buffer {"connection_id":148513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbf8d250012d181f800721b108004b00d528..."} 
[2026-08-01 11:49:45] local.INFO: Packet analysis {"connection_id":148513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbf8"} 
[2026-08-01 11:49:45] local.INFO: Extracted packet for processing {"connection_id":148513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbf8"} 
[2026-08-01 11:49:45] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648520,"longitude_deg":75.6555648,"latitude_deg":11.964852,"altitude":75,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b108","is_valid_coordinates":true} 
[2026-08-01 11:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104653568001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109214848450560,"note":"Value kept but may cause issues"} 
[2026-08-01 11:49:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306677248,"note":"Value kept but may cause issues"} 
[2026-08-01 11:49: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-08-01 11:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785565074000,"timestamp_ms":1785565074000,"timestamp_seconds":1785565074,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbf8d250"} 
[2026-08-01 11:49:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:49:45] 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-08-01 11:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-01 11:49:45] 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-08-01 11:49:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:49:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:49:45] 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-08-01 11:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104653568001,"66":12232,"105":206,"83":41984,"24":0,"16":10109214848450560,"45":1738248749306677248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104653568001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:49:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:49:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109214848450560,"km_value":10109214848450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:49:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306677248,"description":"Unknown IO ID 45"} 
[2026-08-01 11:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104653568001,"power":12232,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306677248}} 
[2026-08-01 11:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":148513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576935,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:49:45] local.INFO: GPS data processed {"connection_id":148513,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:49:45] local.INFO: Acknowledgment sent {"connection_id":148513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:49:45] local.INFO: TCP Data received {"connection_id":147190,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:49:45] local.INFO: Processing buffer {"connection_id":147190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:49:45] local.INFO: IMEI packet received {"connection_id":147190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":147190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:49:49] local.INFO: TCP Data received {"connection_id":147190,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:49:49] local.INFO: Processing buffer {"connection_id":147190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:49:49] local.INFO: IMEI packet received {"connection_id":147190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":147190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:49:51] local.INFO: TCP Data received {"connection_id":147190,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbf795e8012d0e900006e89a50000a01592a..."} 
[2026-08-01 11:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbf795e8012d0e900006e89a50000a01592a..."} 
[2026-08-01 11:49:51] local.INFO: Processing buffer {"connection_id":147190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbf795e8012d0e900006e89a50000a01592a..."} 
[2026-08-01 11:49:51] local.INFO: Packet analysis {"connection_id":147190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbf7"} 
[2026-08-01 11:49:51] local.INFO: Extracted packet for processing {"connection_id":147190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbf7"} 
[2026-08-01 11:49:51] local.INFO: GPS Element Parsed {"raw_longitude":755929088,"raw_latitude":115907152,"longitude_deg":75.5929088,"latitude_deg":11.5907152,"altitude":10,"angle":345,"satellites":42,"speed":5,"hex_longitude":"2d0e9000","hex_latitude":"06e89a50","is_valid_coordinates":true} 
[2026-08-01 11:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104637440001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366391642703265792,"note":"Value kept but may cause issues"} 
[2026-08-01 11:49:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1049620217826154496,"note":"Value kept but may cause issues"} 
[2026-08-01 11:49:51] 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-08-01 11:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785564993000,"timestamp_ms":1785564993000,"timestamp_seconds":1785564993,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbf795e8"} 
[2026-08-01 11:49:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:49:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 11:49:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:49:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:49:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":147190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":147190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":147190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:49:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104637440001,"66":27713,"2":206,"80":6400,"24":5,"16":366391642703265792,"45":1049620217826154496},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,80,24,16,45]} 
[2026-08-01 11:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104637440001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:49:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366391642703265792,"km_value":366391642703265.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:49:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1049620217826154496,"description":"Unknown IO ID 45"} 
[2026-08-01 11:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104637440001,"power":27713,"power_alt":206,"unknown_80":6400,"ignition":5,"odometer":null,"unknown_45":1049620217826154496}} 
[2026-08-01 11:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":147190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:49:51] local.INFO: GPS data processed {"connection_id":147190,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:49:51] local.INFO: Acknowledgment sent {"connection_id":147190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:49:55] local.INFO: TCP Data received {"connection_id":147190,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbf7a970012d0e8f8006e89e78000900032a..."} 
[2026-08-01 11:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbf7a970012d0e8f8006e89e78000900032a..."} 
[2026-08-01 11:49:55] local.INFO: Processing buffer {"connection_id":147190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbf7a970012d0e8f8006e89e78000900032a..."} 
[2026-08-01 11:49:55] local.INFO: Packet analysis {"connection_id":147190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbf7"} 
[2026-08-01 11:49:55] local.INFO: Extracted packet for processing {"connection_id":147190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbf7"} 
[2026-08-01 11:49:55] local.INFO: GPS Element Parsed {"raw_longitude":755928960,"raw_latitude":115908216,"longitude_deg":75.592896,"latitude_deg":11.5908216,"altitude":9,"angle":3,"satellites":42,"speed":11,"hex_longitude":"2d0e8f80","hex_latitude":"06e89e78","is_valid_coordinates":true} 
[2026-08-01 11:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104638208001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366391694242873344,"note":"Value kept but may cause issues"} 
[2026-08-01 11:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1049338742849556480,"note":"Value kept but may cause issues"} 
[2026-08-01 11:49:55] 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-08-01 11:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785564998000,"timestamp_ms":1785564998000,"timestamp_seconds":1785564998,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbf7a970"} 
[2026-08-01 11:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:49: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-08-01 11:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 11:49:55] 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-08-01 11:49:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":147190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":147190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":147190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104638208001,"66":27974,"2":206,"80":6400,"24":11,"16":366391694242873344,"45":1049338742849556480},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,80,24,16,45]} 
[2026-08-01 11:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104638208001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:49:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366391694242873344,"km_value":366391694242873.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1049338742849556480,"description":"Unknown IO ID 45"} 
[2026-08-01 11:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104638208001,"power":27974,"power_alt":206,"unknown_80":6400,"ignition":11,"odometer":null,"unknown_45":1049338742849556480}} 
[2026-08-01 11:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":147190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:49:55] local.INFO: GPS data processed {"connection_id":147190,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:49:55] local.INFO: Acknowledgment sent {"connection_id":147190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:50:01] local.INFO: TCP Data received {"connection_id":147191,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147191,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:50:01] local.INFO: Processing buffer {"connection_id":147191,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:50:01] local.INFO: IMEI packet received {"connection_id":147191,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":147191,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:50:06] local.INFO: TCP Data received {"connection_id":147191,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147191,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:50:06] local.INFO: Processing buffer {"connection_id":147191,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:50:06] local.INFO: IMEI packet received {"connection_id":147191,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":147191,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:50:08] local.INFO: TCP Data received {"connection_id":147191,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbf92458012d181f800721b108004b00d527..."} 
[2026-08-01 11:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbf92458012d181f800721b108004b00d527..."} 
[2026-08-01 11:50:08] local.INFO: Processing buffer {"connection_id":147191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbf92458012d181f800721b108004b00d527..."} 
[2026-08-01 11:50:08] local.INFO: Packet analysis {"connection_id":147191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbf9"} 
[2026-08-01 11:50:08] local.INFO: Extracted packet for processing {"connection_id":147191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbf9"} 
[2026-08-01 11:50:08] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648520,"longitude_deg":75.6555648,"latitude_deg":11.964852,"altitude":75,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b108","is_valid_coordinates":true} 
[2026-08-01 11:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104658944001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109214848450560,"note":"Value kept but may cause issues"} 
[2026-08-01 11:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306677248,"note":"Value kept but may cause issues"} 
[2026-08-01 11:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785565095000,"timestamp_ms":1785565095000,"timestamp_seconds":1785565095,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbf92458"} 
[2026-08-01 11:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:50:08] 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-08-01 11:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-01 11:50:08] 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-08-01 11:50:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":147191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":147191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":147191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:50:08] 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-08-01 11:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104658944001,"66":12232,"105":206,"83":41984,"24":0,"16":10109214848450560,"45":1738248749306677248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104658944001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:50:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:50:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109214848450560,"km_value":10109214848450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306677248,"description":"Unknown IO ID 45"} 
[2026-08-01 11:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104658944001,"power":12232,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306677248}} 
[2026-08-01 11:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":147191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:50:09] local.INFO: GPS data processed {"connection_id":147191,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:50:09] local.INFO: Acknowledgment sent {"connection_id":147191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:50:27] local.INFO: TCP Data received {"connection_id":147190,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbf7b140012d0e900006e8a108000900122a..."} 
[2026-08-01 11:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbf7b140012d0e900006e8a108000900122a..."} 
[2026-08-01 11:50:27] local.INFO: Processing buffer {"connection_id":147190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbf7b140012d0e900006e8a108000900122a..."} 
[2026-08-01 11:50:27] local.INFO: Packet analysis {"connection_id":147190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbf7"} 
[2026-08-01 11:50:27] local.INFO: Extracted packet for processing {"connection_id":147190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbf7"} 
[2026-08-01 11:50:27] local.INFO: GPS Element Parsed {"raw_longitude":755929088,"raw_latitude":115908872,"longitude_deg":75.5929088,"latitude_deg":11.5908872,"altitude":9,"angle":18,"satellites":42,"speed":14,"hex_longitude":"2d0e9000","hex_latitude":"06e8a108","is_valid_coordinates":true} 
[2026-08-01 11:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104639488001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366391724307644416,"note":"Value kept but may cause issues"} 
[2026-08-01 11:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1049198005361473536,"note":"Value kept but may cause issues"} 
[2026-08-01 11:50:27] 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-08-01 11:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785565000000,"timestamp_ms":1785565000000,"timestamp_seconds":1785565000,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbf7b140"} 
[2026-08-01 11:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:50:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-01 11:50: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-08-01 11:50:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":147190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":147190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":147190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104639488001,"66":27919,"2":206,"80":6400,"24":14,"16":366391724307644416,"45":1049198005361473536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,80,24,16,45]} 
[2026-08-01 11:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104639488001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:50:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366391724307644416,"km_value":366391724307644.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1049198005361473536,"description":"Unknown IO ID 45"} 
[2026-08-01 11:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104639488001,"power":27919,"power_alt":206,"unknown_80":6400,"ignition":14,"odometer":null,"unknown_45":1049198005361473536}} 
[2026-08-01 11:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":147190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:50:27] local.INFO: GPS data processed {"connection_id":147190,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:50:27] local.INFO: Acknowledgment sent {"connection_id":147190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:50:39] local.INFO: TCP Data received {"connection_id":147191,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbf97660012d181f800721b108004b00d528..."} 
[2026-08-01 11:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbf97660012d181f800721b108004b00d528..."} 
[2026-08-01 11:50:39] local.INFO: Processing buffer {"connection_id":147191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbf97660012d181f800721b108004b00d528..."} 
[2026-08-01 11:50:39] local.INFO: Packet analysis {"connection_id":147191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbf9"} 
[2026-08-01 11:50:39] local.INFO: Extracted packet for processing {"connection_id":147191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbf9"} 
[2026-08-01 11:50:39] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648520,"longitude_deg":75.6555648,"latitude_deg":11.964852,"altitude":75,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b108","is_valid_coordinates":true} 
[2026-08-01 11:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104664320001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109214848450560,"note":"Value kept but may cause issues"} 
[2026-08-01 11:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306677248,"note":"Value kept but may cause issues"} 
[2026-08-01 11:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785565116000,"timestamp_ms":1785565116000,"timestamp_seconds":1785565116,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbf97660"} 
[2026-08-01 11:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:50: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-08-01 11:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-01 11:50:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:50:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":147191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":147191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":147191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:50: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-08-01 11:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104664320001,"66":12265,"105":206,"83":41984,"24":0,"16":10109214848450560,"45":1738248749306677248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104664320001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:50:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:50:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109214848450560,"km_value":10109214848450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306677248,"description":"Unknown IO ID 45"} 
[2026-08-01 11:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104664320001,"power":12265,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306677248}} 
[2026-08-01 11:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":147191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:50:39] local.INFO: GPS data processed {"connection_id":147191,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:50:39] local.INFO: Acknowledgment sent {"connection_id":147191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:50:44] local.INFO: TCP Data received {"connection_id":146190,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:50:44] local.INFO: Processing buffer {"connection_id":146190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:50:44] local.INFO: IMEI packet received {"connection_id":146190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":146190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:50:49] local.INFO: TCP Data received {"connection_id":146190,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:50:49] local.INFO: Processing buffer {"connection_id":146190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:50:49] local.INFO: IMEI packet received {"connection_id":146190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":146190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:50:51] local.INFO: TCP Data received {"connection_id":146190,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbf80348012d0e9c8006e8bf800009001429..."} 
[2026-08-01 11:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbf80348012d0e9c8006e8bf800009001429..."} 
[2026-08-01 11:50:51] local.INFO: Processing buffer {"connection_id":146190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbf80348012d0e9c8006e8bf800009001429..."} 
[2026-08-01 11:50:51] local.INFO: Packet analysis {"connection_id":146190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbf8"} 
[2026-08-01 11:50:51] local.INFO: Extracted packet for processing {"connection_id":146190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbf8"} 
[2026-08-01 11:50:51] local.INFO: GPS Element Parsed {"raw_longitude":755932288,"raw_latitude":115916672,"longitude_deg":75.5932288,"latitude_deg":11.5916672,"altitude":9,"angle":20,"satellites":41,"speed":12,"hex_longitude":"2d0e9c80","hex_latitude":"06e8bf80","is_valid_coordinates":true} 
[2026-08-01 11:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104640000001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366392136624504832,"note":"Value kept but may cause issues"} 
[2026-08-01 11:50:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1049338742849996800,"note":"Value kept but may cause issues"} 
[2026-08-01 11:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785565021000,"timestamp_ms":1785565021000,"timestamp_seconds":1785565021,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbf80348"} 
[2026-08-01 11:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:50: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-08-01 11:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 11:50:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:50:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":146190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":146190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":146190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104640000001,"66":27887,"103":206,"80":6400,"24":12,"16":366392136624504832,"45":1049338742849996800},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-08-01 11:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104640000001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:50:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 11:50:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366392136624504832,"km_value":366392136624504.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:50:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1049338742849996800,"description":"Unknown IO ID 45"} 
[2026-08-01 11:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104640000001,"power":27887,"unknown_103":206,"unknown_80":6400,"ignition":12,"odometer":null,"unknown_45":1049338742849996800}} 
[2026-08-01 11:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":146190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:50:51] local.INFO: GPS data processed {"connection_id":146190,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:50:51] local.INFO: Acknowledgment sent {"connection_id":146190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:50:58] local.INFO: TCP Data received {"connection_id":145970,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145970,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:50:58] local.INFO: Processing buffer {"connection_id":145970,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:50:58] local.INFO: IMEI packet received {"connection_id":145970,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":145970,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:51:01] local.INFO: TCP Data received {"connection_id":145970,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145970,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:51:01] local.INFO: Processing buffer {"connection_id":145970,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:51:01] local.INFO: IMEI packet received {"connection_id":145970,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":145970,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:51:06] local.INFO: TCP Data received {"connection_id":145970,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145970,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:51:06] local.INFO: Processing buffer {"connection_id":145970,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:51:06] local.INFO: IMEI packet received {"connection_id":145970,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":145970,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:51:06] local.INFO: TCP Data received {"connection_id":145970,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbf9c868012d181f800721b108004b00d528..."} 
[2026-08-01 11:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbf9c868012d181f800721b108004b00d528..."} 
[2026-08-01 11:51:06] local.INFO: Processing buffer {"connection_id":145970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbf9c868012d181f800721b108004b00d528..."} 
[2026-08-01 11:51:06] local.INFO: Packet analysis {"connection_id":145970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbf9"} 
[2026-08-01 11:51:06] local.INFO: Extracted packet for processing {"connection_id":145970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbf9"} 
[2026-08-01 11:51:06] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648520,"longitude_deg":75.6555648,"latitude_deg":11.964852,"altitude":75,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b108","is_valid_coordinates":true} 
[2026-08-01 11:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104669696001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109214848450560,"note":"Value kept but may cause issues"} 
[2026-08-01 11:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306677248,"note":"Value kept but may cause issues"} 
[2026-08-01 11:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785565137000,"timestamp_ms":1785565137000,"timestamp_seconds":1785565137,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbf9c868"} 
[2026-08-01 11:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-01 11:51:06] 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-08-01 11:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:51:06] 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-08-01 11:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104669696001,"66":12287,"107":206,"83":41984,"24":0,"16":10109214848450560,"45":1738248749306677248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-01 11:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104669696001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:51:06] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 11:51:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109214848450560,"km_value":10109214848450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306677248,"description":"Unknown IO ID 45"} 
[2026-08-01 11:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104669696001,"power":12287,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306677248}} 
[2026-08-01 11:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":145970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:51:07] local.INFO: GPS data processed {"connection_id":145970,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:51:07] local.INFO: Acknowledgment sent {"connection_id":145970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:51:22] local.INFO: TCP Data received {"connection_id":146190,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbf85550012d0ea38006e8d108000a00182b..."} 
[2026-08-01 11:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbf85550012d0ea38006e8d108000a00182b..."} 
[2026-08-01 11:51:22] local.INFO: Processing buffer {"connection_id":146190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbf85550012d0ea38006e8d108000a00182b..."} 
[2026-08-01 11:51:22] local.INFO: Packet analysis {"connection_id":146190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbf8"} 
[2026-08-01 11:51:22] local.INFO: Extracted packet for processing {"connection_id":146190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbf8"} 
[2026-08-01 11:51:22] local.INFO: GPS Element Parsed {"raw_longitude":755934080,"raw_latitude":115921160,"longitude_deg":75.593408,"latitude_deg":11.592116,"altitude":10,"angle":24,"satellites":43,"speed":5,"hex_longitude":"2d0ea380","hex_latitude":"06e8d108","is_valid_coordinates":true} 
[2026-08-01 11:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:51:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104645376001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:51:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366392368552738816,"note":"Value kept but may cause issues"} 
[2026-08-01 11:51:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1052857180060876800,"note":"Value kept but may cause issues"} 
[2026-08-01 11:51:22] 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-08-01 11:51:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785565042000,"timestamp_ms":1785565042000,"timestamp_seconds":1785565042,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbf85550"} 
[2026-08-01 11:51:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:51:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-01 11:51:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:51:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:51:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:51:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:51:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:51:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:51:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:51:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:51:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:51:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:51:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104645376001,"66":27995,"103":206,"80":6400,"24":5,"16":366392368552738816,"45":1052857180060876800},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-08-01 11:51:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:51:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:51:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104645376001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:51:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 11:51:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:51:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366392368552738816,"km_value":366392368552738.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:51:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1052857180060876800,"description":"Unknown IO ID 45"} 
[2026-08-01 11:51:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104645376001,"power":27995,"unknown_103":206,"unknown_80":6400,"ignition":5,"odometer":null,"unknown_45":1052857180060876800}} 
[2026-08-01 11:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":146190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:51:22] local.INFO: GPS data processed {"connection_id":146190,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:51:22] local.INFO: Acknowledgment sent {"connection_id":146190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:51:38] local.INFO: TCP Data received {"connection_id":145970,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbfa1a70012d181f800721b108004b00d528..."} 
[2026-08-01 11:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbfa1a70012d181f800721b108004b00d528..."} 
[2026-08-01 11:51:38] local.INFO: Processing buffer {"connection_id":145970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbfa1a70012d181f800721b108004b00d528..."} 
[2026-08-01 11:51:38] local.INFO: Packet analysis {"connection_id":145970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbfa"} 
[2026-08-01 11:51:38] local.INFO: Extracted packet for processing {"connection_id":145970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbfa"} 
[2026-08-01 11:51:38] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648520,"longitude_deg":75.6555648,"latitude_deg":11.964852,"altitude":75,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b108","is_valid_coordinates":true} 
[2026-08-01 11:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104675072001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109214848450560,"note":"Value kept but may cause issues"} 
[2026-08-01 11:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306677248,"note":"Value kept but may cause issues"} 
[2026-08-01 11:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785565158000,"timestamp_ms":1785565158000,"timestamp_seconds":1785565158,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbfa1a70"} 
[2026-08-01 11:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 11:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:51:38] 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-08-01 11:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104675072001,"66":12287,"107":206,"83":41984,"24":0,"16":10109214848450560,"45":1738248749306677248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-01 11:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104675072001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:51:38] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 11:51:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109214848450560,"km_value":10109214848450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306677248,"description":"Unknown IO ID 45"} 
[2026-08-01 11:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104675072001,"power":12287,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306677248}} 
[2026-08-01 11:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":145970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576944,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:51:38] local.INFO: GPS data processed {"connection_id":145970,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:51:38] local.INFO: Acknowledgment sent {"connection_id":145970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:51:42] local.INFO: TCP Data received {"connection_id":148514,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:51:42] local.INFO: Processing buffer {"connection_id":148514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:51:42] local.INFO: IMEI packet received {"connection_id":148514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":148514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:51:44] local.INFO: TCP Data received {"connection_id":148514,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:51:44] local.INFO: Processing buffer {"connection_id":148514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:51:44] local.INFO: IMEI packet received {"connection_id":148514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":148514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:51:50] local.INFO: TCP Data received {"connection_id":148514,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:51:50] local.INFO: Processing buffer {"connection_id":148514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:51:50] local.INFO: IMEI packet received {"connection_id":148514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":148514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:51:51] local.INFO: TCP Data received {"connection_id":148514,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbf8a758012d0ea44006e8d3b0000900142b..."} 
[2026-08-01 11:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbf8a758012d0ea44006e8d3b0000900142b..."} 
[2026-08-01 11:51:51] local.INFO: Processing buffer {"connection_id":148514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbf8a758012d0ea44006e8d3b0000900142b..."} 
[2026-08-01 11:51:51] local.INFO: Packet analysis {"connection_id":148514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbf8"} 
[2026-08-01 11:51:51] local.INFO: Extracted packet for processing {"connection_id":148514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbf8"} 
[2026-08-01 11:51:51] local.INFO: GPS Element Parsed {"raw_longitude":755934272,"raw_latitude":115921840,"longitude_deg":75.5934272,"latitude_deg":11.592184,"altitude":9,"angle":20,"satellites":43,"speed":0,"hex_longitude":"2d0ea440","hex_latitude":"06e8d3b0","is_valid_coordinates":true} 
[2026-08-01 11:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104650752001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366392407207444480,"note":"Value kept but may cause issues"} 
[2026-08-01 11:51:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1054827504899000320,"note":"Value kept but may cause issues"} 
[2026-08-01 11:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785565063000,"timestamp_ms":1785565063000,"timestamp_seconds":1785565063,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbf8a758"} 
[2026-08-01 11:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:51: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-08-01 11:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-01 11:51:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:51:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104650752001,"66":27995,"103":206,"80":6400,"24":0,"16":366392407207444480,"45":1054827504899000320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-08-01 11:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104650752001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:51:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 11:51:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366392407207444480,"km_value":366392407207444.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:51:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1054827504899000320,"description":"Unknown IO ID 45"} 
[2026-08-01 11:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104650752001,"power":27995,"unknown_103":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1054827504899000320}} 
[2026-08-01 11:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":148514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:51:51] local.INFO: GPS data processed {"connection_id":148514,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:51:51] local.INFO: Acknowledgment sent {"connection_id":148514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:52:01] local.INFO: TCP Data received {"connection_id":147192,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:52:01] local.INFO: Processing buffer {"connection_id":147192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:52:01] local.INFO: IMEI packet received {"connection_id":147192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":147192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:52:01] local.INFO: TCP Data received {"connection_id":147192,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:52:01] local.INFO: Processing buffer {"connection_id":147192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:52:01] local.INFO: IMEI packet received {"connection_id":147192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":147192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:52:06] local.INFO: TCP Data received {"connection_id":147192,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:52:06] local.INFO: Processing buffer {"connection_id":147192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:52:06] local.INFO: IMEI packet received {"connection_id":147192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":147192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:52:06] local.INFO: TCP Data received {"connection_id":147192,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbfa6c78012d181f800721b108004b00d527..."} 
[2026-08-01 11:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbfa6c78012d181f800721b108004b00d527..."} 
[2026-08-01 11:52:06] local.INFO: Processing buffer {"connection_id":147192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbfa6c78012d181f800721b108004b00d527..."} 
[2026-08-01 11:52:06] local.INFO: Packet analysis {"connection_id":147192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbfa"} 
[2026-08-01 11:52:06] local.INFO: Extracted packet for processing {"connection_id":147192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbfa"} 
[2026-08-01 11:52:06] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648520,"longitude_deg":75.6555648,"latitude_deg":11.964852,"altitude":75,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b108","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104680448001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109214848450560,"note":"Value kept but may cause issues"} 
[2026-08-01 11:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306677248,"note":"Value kept but may cause issues"} 
[2026-08-01 11:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785565179000,"timestamp_ms":1785565179000,"timestamp_seconds":1785565179,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbfa6c78"} 
[2026-08-01 11:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 11:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11: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-08-01 11:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:52:06] 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-08-01 11:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104680448001,"66":12287,"107":206,"83":41984,"24":0,"16":10109214848450560,"45":1738248749306677248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-01 11:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104680448001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:52:06] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 11:52:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109214848450560,"km_value":10109214848450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306677248,"description":"Unknown IO ID 45"} 
[2026-08-01 11:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104680448001,"power":12287,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306677248}} 
[2026-08-01 11:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":147192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576946,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:52:07] local.INFO: GPS data processed {"connection_id":147192,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:52:07] local.INFO: Acknowledgment sent {"connection_id":147192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:52:23] local.INFO: TCP Data received {"connection_id":148514,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbfbb880012d0ec40006e918500009000b2c..."} 
[2026-08-01 11:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbfbb880012d0ec40006e918500009000b2c..."} 
[2026-08-01 11:52:23] local.INFO: Processing buffer {"connection_id":148514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbfbb880012d0ec40006e918500009000b2c..."} 
[2026-08-01 11:52:23] local.INFO: Packet analysis {"connection_id":148514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbfb"} 
[2026-08-01 11:52:23] local.INFO: Extracted packet for processing {"connection_id":148514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbfb"} 
[2026-08-01 11:52:23] local.INFO: GPS Element Parsed {"raw_longitude":755942400,"raw_latitude":115939408,"longitude_deg":75.59424,"latitude_deg":11.5939408,"altitude":9,"angle":11,"satellites":44,"speed":0,"hex_longitude":"2d0ec400","hex_latitude":"06e91850","is_valid_coordinates":true} 
[2026-08-01 11:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104702208001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366393369280118784,"note":"Value kept but may cause issues"} 
[2026-08-01 11:52:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1063764335414063104,"note":"Value kept but may cause issues"} 
[2026-08-01 11:52:23] 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-08-01 11:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785565264000,"timestamp_ms":1785565264000,"timestamp_seconds":1785565264,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbfbb880"} 
[2026-08-01 11:52:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:52:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-01 11:52:23] 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-08-01 11:52:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:52:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":148514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":148514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":148514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:52:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104702208001,"66":27930,"104":206,"80":6400,"24":0,"16":366393369280118784,"45":1063764335414063104},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,80,24,16,45]} 
[2026-08-01 11:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104702208001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:52:23] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-01 11:52:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366393369280118784,"km_value":366393369280118.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:52:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1063764335414063104,"description":"Unknown IO ID 45"} 
[2026-08-01 11:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104702208001,"power":27930,"unknown_104":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1063764335414063104}} 
[2026-08-01 11:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":148514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:52:23] local.INFO: GPS data processed {"connection_id":148514,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:52:23] local.INFO: Acknowledgment sent {"connection_id":148514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:52:38] local.INFO: TCP Data received {"connection_id":147192,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbfabe80012d181f800721b108004b00d527..."} 
[2026-08-01 11:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbfabe80012d181f800721b108004b00d527..."} 
[2026-08-01 11:52:38] local.INFO: Processing buffer {"connection_id":147192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbfabe80012d181f800721b108004b00d527..."} 
[2026-08-01 11:52:38] local.INFO: Packet analysis {"connection_id":147192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbfa"} 
[2026-08-01 11:52:38] local.INFO: Extracted packet for processing {"connection_id":147192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbfa"} 
[2026-08-01 11:52:38] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648520,"longitude_deg":75.6555648,"latitude_deg":11.964852,"altitude":75,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b108","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104685824001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109214848450560,"note":"Value kept but may cause issues"} 
[2026-08-01 11:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306677248,"note":"Value kept but may cause issues"} 
[2026-08-01 11:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785565200000,"timestamp_ms":1785565200000,"timestamp_seconds":1785565200,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbfabe80"} 
[2026-08-01 11:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 11:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11: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-08-01 11:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":147192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":147192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":147192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:52:38] 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-08-01 11:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104685824001,"66":12287,"107":206,"83":41984,"24":0,"16":10109214848450560,"45":1738248749306677248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-01 11:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104685824001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:52:38] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 11:52:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109214848450560,"km_value":10109214848450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306677248,"description":"Unknown IO ID 45"} 
[2026-08-01 11:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104685824001,"power":12287,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306677248}} 
[2026-08-01 11:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":147192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576948,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:52:38] local.INFO: GPS data processed {"connection_id":147192,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:52:38] local.INFO: Acknowledgment sent {"connection_id":147192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:52:44] local.INFO: TCP Data received {"connection_id":146191,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:52:44] local.INFO: Processing buffer {"connection_id":146191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:52:44] local.INFO: IMEI packet received {"connection_id":146191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":146191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:52:49] local.INFO: TCP Data received {"connection_id":146191,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:52:49] local.INFO: Processing buffer {"connection_id":146191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:52:49] local.INFO: IMEI packet received {"connection_id":146191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":146191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:52:51] local.INFO: TCP Data received {"connection_id":146191,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbfc0a88012d0ec40006e918c00009000b2b..."} 
[2026-08-01 11:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbfc0a88012d0ec40006e918c00009000b2b..."} 
[2026-08-01 11:52:51] local.INFO: Processing buffer {"connection_id":146191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbfc0a88012d0ec40006e918c00009000b2b..."} 
[2026-08-01 11:52:51] local.INFO: Packet analysis {"connection_id":146191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbfc"} 
[2026-08-01 11:52:51] local.INFO: Extracted packet for processing {"connection_id":146191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbfc"} 
[2026-08-01 11:52:51] local.INFO: GPS Element Parsed {"raw_longitude":755942400,"raw_latitude":115939520,"longitude_deg":75.59424,"latitude_deg":11.593952,"altitude":9,"angle":11,"satellites":43,"speed":0,"hex_longitude":"2d0ec400","hex_latitude":"06e918c0","is_valid_coordinates":true} 
[2026-08-01 11:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104707584001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366393373575086080,"note":"Value kept but may cause issues"} 
[2026-08-01 11:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1063975441646768128,"note":"Value kept but may cause issues"} 
[2026-08-01 11:52:51] 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-08-01 11:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785565285000,"timestamp_ms":1785565285000,"timestamp_seconds":1785565285,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbfc0a88"} 
[2026-08-01 11:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:52:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-01 11:52:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:52:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":146191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":146191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":146191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104707584001,"66":27908,"104":206,"80":6400,"24":0,"16":366393373575086080,"45":1063975441646768128},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,80,24,16,45]} 
[2026-08-01 11:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104707584001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:52:51] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-01 11:52:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366393373575086080,"km_value":366393373575086.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1063975441646768128,"description":"Unknown IO ID 45"} 
[2026-08-01 11:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104707584001,"power":27908,"unknown_104":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1063975441646768128}} 
[2026-08-01 11:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":146191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:52:51] local.INFO: GPS data processed {"connection_id":146191,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:52:51] local.INFO: Acknowledgment sent {"connection_id":146191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:53:02] local.INFO: TCP Data received {"connection_id":148515,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:53:02] local.INFO: Processing buffer {"connection_id":148515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:53:02] local.INFO: IMEI packet received {"connection_id":148515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":148515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:53:06] local.INFO: TCP Data received {"connection_id":148515,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:53:06] local.INFO: Processing buffer {"connection_id":148515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:53:06] local.INFO: IMEI packet received {"connection_id":148515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":148515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:53:07] local.INFO: TCP Data received {"connection_id":148515,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbfb1088012d181f800721b108004b00d527..."} 
[2026-08-01 11:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbfb1088012d181f800721b108004b00d527..."} 
[2026-08-01 11:53:07] local.INFO: Processing buffer {"connection_id":148515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbfb1088012d181f800721b108004b00d527..."} 
[2026-08-01 11:53:07] local.INFO: Packet analysis {"connection_id":148515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbfb"} 
[2026-08-01 11:53:07] local.INFO: Extracted packet for processing {"connection_id":148515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbfb"} 
[2026-08-01 11:53:07] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648520,"longitude_deg":75.6555648,"latitude_deg":11.964852,"altitude":75,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b108","is_valid_coordinates":true} 
[2026-08-01 11:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104691200001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109214848450560,"note":"Value kept but may cause issues"} 
[2026-08-01 11:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306677248,"note":"Value kept but may cause issues"} 
[2026-08-01 11:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785565221000,"timestamp_ms":1785565221000,"timestamp_seconds":1785565221,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbfb1088"} 
[2026-08-01 11:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:53:07] 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-08-01 11:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 11:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":148515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":148515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":148515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:53: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-08-01 11:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104691200001,"66":12287,"107":206,"83":41984,"24":0,"16":10109214848450560,"45":1738248749306677248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-01 11:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104691200001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:53:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 11:53:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109214848450560,"km_value":10109214848450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306677248,"description":"Unknown IO ID 45"} 
[2026-08-01 11:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104691200001,"power":12287,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306677248}} 
[2026-08-01 11:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":148515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:53:07] local.INFO: GPS data processed {"connection_id":148515,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:53:07] local.INFO: Acknowledgment sent {"connection_id":148515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:53:22] local.INFO: TCP Data received {"connection_id":146191,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbfc4cf0012d0ec3c006e91c10000900002c..."} 
[2026-08-01 11:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbfc4cf0012d0ec3c006e91c10000900002c..."} 
[2026-08-01 11:53:22] local.INFO: Processing buffer {"connection_id":146191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbfc4cf0012d0ec3c006e91c10000900002c..."} 
[2026-08-01 11:53:22] local.INFO: Packet analysis {"connection_id":146191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbfc"} 
[2026-08-01 11:53:22] local.INFO: Extracted packet for processing {"connection_id":146191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbfc"} 
[2026-08-01 11:53:22] local.INFO: GPS Element Parsed {"raw_longitude":755942336,"raw_latitude":115940368,"longitude_deg":75.5942336,"latitude_deg":11.5940368,"altitude":9,"angle":0,"satellites":44,"speed":7,"hex_longitude":"2d0ec3c0","hex_latitude":"06e91c10","is_valid_coordinates":true} 
[2026-08-01 11:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:53:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104712960001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:53:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366393416524759040,"note":"Value kept but may cause issues"} 
[2026-08-01 11:53:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1063975441646796800,"note":"Value kept but may cause issues"} 
[2026-08-01 11:53:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:53:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785565302000,"timestamp_ms":1785565302000,"timestamp_seconds":1785565302,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbfc4cf0"} 
[2026-08-01 11:53:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:53:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 11:53:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:53:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:53:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:53:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:53:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:53:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:53:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:53:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:53:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:53:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:53:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104712960001,"66":27995,"104":206,"80":6400,"24":7,"16":366393416524759040,"45":1063975441646796800},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,80,24,16,45]} 
[2026-08-01 11:53:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:53:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:53:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104712960001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:53:22] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-01 11:53:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:53:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366393416524759040,"km_value":366393416524759.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:53:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1063975441646796800,"description":"Unknown IO ID 45"} 
[2026-08-01 11:53:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104712960001,"power":27995,"unknown_104":206,"unknown_80":6400,"ignition":7,"odometer":null,"unknown_45":1063975441646796800}} 
[2026-08-01 11:53:23] local.INFO: DEBUG: GPS processor result {"connection_id":146191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:53:23] local.INFO: GPS data processed {"connection_id":146191,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:53:23] local.INFO: Acknowledgment sent {"connection_id":146191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:53:38] local.INFO: TCP Data received {"connection_id":148515,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbfb6290012d181f800721b108004b00d527..."} 
[2026-08-01 11:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbfb6290012d181f800721b108004b00d527..."} 
[2026-08-01 11:53:38] local.INFO: Processing buffer {"connection_id":148515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbfb6290012d181f800721b108004b00d527..."} 
[2026-08-01 11:53:38] local.INFO: Packet analysis {"connection_id":148515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbfb"} 
[2026-08-01 11:53:38] local.INFO: Extracted packet for processing {"connection_id":148515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbfb"} 
[2026-08-01 11:53:38] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648520,"longitude_deg":75.6555648,"latitude_deg":11.964852,"altitude":75,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b108","is_valid_coordinates":true} 
[2026-08-01 11:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104696576001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109214848450560,"note":"Value kept but may cause issues"} 
[2026-08-01 11:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306677248,"note":"Value kept but may cause issues"} 
[2026-08-01 11:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785565242000,"timestamp_ms":1785565242000,"timestamp_seconds":1785565242,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbfb6290"} 
[2026-08-01 11:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:53:38] 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-08-01 11:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 11:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":148515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":148515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":148515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:53:38] 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-08-01 11:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104696576001,"66":12287,"107":206,"83":41984,"24":0,"16":10109214848450560,"45":1738248749306677248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-01 11:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104696576001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:53:38] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 11:53:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109214848450560,"km_value":10109214848450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306677248,"description":"Unknown IO ID 45"} 
[2026-08-01 11:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104696576001,"power":12287,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306677248}} 
[2026-08-01 11:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":148515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576952,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:53:39] local.INFO: GPS data processed {"connection_id":148515,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:53:39] local.INFO: Acknowledgment sent {"connection_id":148515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:53:44] local.INFO: TCP Data received {"connection_id":146192,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:53:44] local.INFO: Processing buffer {"connection_id":146192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:53:44] local.INFO: IMEI packet received {"connection_id":146192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":146192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:53:49] local.INFO: TCP Data received {"connection_id":146192,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:53:49] local.INFO: Processing buffer {"connection_id":146192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:53:49] local.INFO: IMEI packet received {"connection_id":146192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":146192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:53:51] local.INFO: TCP Data received {"connection_id":146192,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbfc9ef8012d0ec4c006e92480000800012b..."} 
[2026-08-01 11:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbfc9ef8012d0ec4c006e92480000800012b..."} 
[2026-08-01 11:53:51] local.INFO: Processing buffer {"connection_id":146192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbfc9ef8012d0ec4c006e92480000800012b..."} 
[2026-08-01 11:53:51] local.INFO: Packet analysis {"connection_id":146192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbfc"} 
[2026-08-01 11:53:51] local.INFO: Extracted packet for processing {"connection_id":146192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbfc"} 
[2026-08-01 11:53:51] local.INFO: GPS Element Parsed {"raw_longitude":755942592,"raw_latitude":115942528,"longitude_deg":75.5942592,"latitude_deg":11.5942528,"altitude":8,"angle":1,"satellites":43,"speed":0,"hex_longitude":"2d0ec4c0","hex_latitude":"06e92480","is_valid_coordinates":true} 
[2026-08-01 11:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104717312001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366393528193908736,"note":"Value kept but may cause issues"} 
[2026-08-01 11:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1063905072902836224,"note":"Value kept but may cause issues"} 
[2026-08-01 11:53:51] 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-08-01 11:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785565323000,"timestamp_ms":1785565323000,"timestamp_seconds":1785565323,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbfc9ef8"} 
[2026-08-01 11:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:53: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-08-01 11:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-01 11:53:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:53:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":146192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":146192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":146192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:53:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104717312001,"66":27930,"104":206,"80":6400,"24":0,"16":366393528193908736,"45":1063905072902836224},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,80,24,16,45]} 
[2026-08-01 11:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104717312001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:53:51] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-01 11:53:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366393528193908736,"km_value":366393528193908.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1063905072902836224,"description":"Unknown IO ID 45"} 
[2026-08-01 11:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104717312001,"power":27930,"unknown_104":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1063905072902836224}} 
[2026-08-01 11:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":146192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:53:51] local.INFO: GPS data processed {"connection_id":146192,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:53:51] local.INFO: Acknowledgment sent {"connection_id":146192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:54:00] local.INFO: TCP Data received {"connection_id":145971,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:54:00] local.INFO: Processing buffer {"connection_id":145971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:54:00] local.INFO: IMEI packet received {"connection_id":145971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":145971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:54:06] local.INFO: TCP Data received {"connection_id":145971,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:54:06] local.INFO: Processing buffer {"connection_id":145971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:54:06] local.INFO: IMEI packet received {"connection_id":145971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":145971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:54:07] local.INFO: TCP Data received {"connection_id":145971,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbfbb498012d181f800721b108004b00d528..."} 
[2026-08-01 11:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbfbb498012d181f800721b108004b00d528..."} 
[2026-08-01 11:54:07] local.INFO: Processing buffer {"connection_id":145971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbfbb498012d181f800721b108004b00d528..."} 
[2026-08-01 11:54:07] local.INFO: Packet analysis {"connection_id":145971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbfb"} 
[2026-08-01 11:54:07] local.INFO: Extracted packet for processing {"connection_id":145971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbfb"} 
[2026-08-01 11:54:07] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648520,"longitude_deg":75.6555648,"latitude_deg":11.964852,"altitude":75,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b108","is_valid_coordinates":true} 
[2026-08-01 11:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104701952001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109214848450560,"note":"Value kept but may cause issues"} 
[2026-08-01 11:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306677248,"note":"Value kept but may cause issues"} 
[2026-08-01 11:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785565263000,"timestamp_ms":1785565263000,"timestamp_seconds":1785565263,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbfbb498"} 
[2026-08-01 11:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:54:07] 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-08-01 11:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 11:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:54:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":145971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":145971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":145971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:54: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-08-01 11:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104701952001,"66":12287,"107":206,"83":41984,"24":0,"16":10109214848450560,"45":1738248749306677248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-01 11:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104701952001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:54:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 11:54:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109214848450560,"km_value":10109214848450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306677248,"description":"Unknown IO ID 45"} 
[2026-08-01 11:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104701952001,"power":12287,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306677248}} 
[2026-08-01 11:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":145971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:54:07] local.INFO: GPS data processed {"connection_id":145971,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:54:07] local.INFO: Acknowledgment sent {"connection_id":145971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:54:22] local.INFO: TCP Data received {"connection_id":146192,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbfce160012d0ec68006e928d0000800192b..."} 
[2026-08-01 11:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbfce160012d0ec68006e928d0000800192b..."} 
[2026-08-01 11:54:22] local.INFO: Processing buffer {"connection_id":146192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbfce160012d0ec68006e928d0000800192b..."} 
[2026-08-01 11:54:22] local.INFO: Packet analysis {"connection_id":146192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbfc"} 
[2026-08-01 11:54:22] local.INFO: Extracted packet for processing {"connection_id":146192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbfc"} 
[2026-08-01 11:54:22] local.INFO: GPS Element Parsed {"raw_longitude":755943040,"raw_latitude":115943632,"longitude_deg":75.594304,"latitude_deg":11.5943632,"altitude":8,"angle":25,"satellites":43,"speed":5,"hex_longitude":"2d0ec680","hex_latitude":"06e928d0","is_valid_coordinates":true} 
[2026-08-01 11:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104722688001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366393588323450880,"note":"Value kept but may cause issues"} 
[2026-08-01 11:54:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1064186547880099840,"note":"Value kept but may cause issues"} 
[2026-08-01 11:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785565340000,"timestamp_ms":1785565340000,"timestamp_seconds":1785565340,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbfce160"} 
[2026-08-01 11:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:54:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-01 11:54:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:54:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104722688001,"66":27984,"104":206,"80":6400,"24":5,"16":366393588323450880,"45":1064186547880099840},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,80,24,16,45]} 
[2026-08-01 11:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104722688001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:54:22] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-01 11:54:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366393588323450880,"km_value":366393588323450.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:54:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1064186547880099840,"description":"Unknown IO ID 45"} 
[2026-08-01 11:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104722688001,"power":27984,"unknown_104":206,"unknown_80":6400,"ignition":5,"odometer":null,"unknown_45":1064186547880099840}} 
[2026-08-01 11:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":146192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:54:22] local.INFO: GPS data processed {"connection_id":146192,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:54:22] local.INFO: Acknowledgment sent {"connection_id":146192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:54:38] local.INFO: TCP Data received {"connection_id":145971,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbfc06a0012d181f800721b108004b00d528..."} 
[2026-08-01 11:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbfc06a0012d181f800721b108004b00d528..."} 
[2026-08-01 11:54:38] local.INFO: Processing buffer {"connection_id":145971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbfc06a0012d181f800721b108004b00d528..."} 
[2026-08-01 11:54:38] local.INFO: Packet analysis {"connection_id":145971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbfc"} 
[2026-08-01 11:54:38] local.INFO: Extracted packet for processing {"connection_id":145971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbfc"} 
[2026-08-01 11:54:38] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648520,"longitude_deg":75.6555648,"latitude_deg":11.964852,"altitude":75,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b108","is_valid_coordinates":true} 
[2026-08-01 11:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104707328001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109214848450560,"note":"Value kept but may cause issues"} 
[2026-08-01 11:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306677248,"note":"Value kept but may cause issues"} 
[2026-08-01 11:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785565284000,"timestamp_ms":1785565284000,"timestamp_seconds":1785565284,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbfc06a0"} 
[2026-08-01 11:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 11:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:54:38] 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-08-01 11:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104707328001,"66":12232,"107":206,"83":41984,"24":0,"16":10109214848450560,"45":1738248749306677248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-01 11:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104707328001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:54:38] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 11:54:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109214848450560,"km_value":10109214848450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306677248,"description":"Unknown IO ID 45"} 
[2026-08-01 11:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104707328001,"power":12232,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306677248}} 
[2026-08-01 11:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":145971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576956,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:54:38] local.INFO: GPS data processed {"connection_id":145971,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:54:38] local.INFO: Acknowledgment sent {"connection_id":145971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:54:49] local.INFO: TCP Data received {"connection_id":145972,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:54:49] local.INFO: Processing buffer {"connection_id":145972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:54:49] local.INFO: IMEI packet received {"connection_id":145972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":145972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:54:54] local.INFO: TCP Data received {"connection_id":145972,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:54:54] local.INFO: Processing buffer {"connection_id":145972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:54:54] local.INFO: IMEI packet received {"connection_id":145972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":145972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:54:55] local.INFO: TCP Data received {"connection_id":145972,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbfd3368012d0ec98006e92f28000800152b..."} 
[2026-08-01 11:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbfd3368012d0ec98006e92f28000800152b..."} 
[2026-08-01 11:54:55] local.INFO: Processing buffer {"connection_id":145972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbfd3368012d0ec98006e92f28000800152b..."} 
[2026-08-01 11:54:55] local.INFO: Packet analysis {"connection_id":145972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbfd"} 
[2026-08-01 11:54:55] local.INFO: Extracted packet for processing {"connection_id":145972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbfd"} 
[2026-08-01 11:54:55] local.INFO: GPS Element Parsed {"raw_longitude":755943808,"raw_latitude":115945256,"longitude_deg":75.5943808,"latitude_deg":11.5945256,"altitude":8,"angle":21,"satellites":43,"speed":0,"hex_longitude":"2d0ec980","hex_latitude":"06e92f28","is_valid_coordinates":true} 
[2026-08-01 11:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104727040001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366393682812731392,"note":"Value kept but may cause issues"} 
[2026-08-01 11:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1064679129089626112,"note":"Value kept but may cause issues"} 
[2026-08-01 11:54:55] 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-08-01 11:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785565361000,"timestamp_ms":1785565361000,"timestamp_seconds":1785565361,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbfd3368"} 
[2026-08-01 11:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-01 11:54:55] 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-08-01 11:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":145972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":145972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":145972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104727040001,"66":27865,"104":206,"80":6400,"24":0,"16":366393682812731392,"45":1064679129089626112},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,80,24,16,45]} 
[2026-08-01 11:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104727040001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:54:55] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-01 11:54:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366393682812731392,"km_value":366393682812731.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1064679129089626112,"description":"Unknown IO ID 45"} 
[2026-08-01 11:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104727040001,"power":27865,"unknown_104":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1064679129089626112}} 
[2026-08-01 11:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":145972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:54:55] local.INFO: GPS data processed {"connection_id":145972,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:54:55] local.INFO: Acknowledgment sent {"connection_id":145972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:55:06] local.INFO: TCP Data received {"connection_id":147193,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147193,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:55:06] local.INFO: Processing buffer {"connection_id":147193,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:55:06] local.INFO: IMEI packet received {"connection_id":147193,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":147193,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:55:07] local.INFO: TCP Data received {"connection_id":145972,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbfd8570012d0ecbc006e934a0000900162b..."} 
[2026-08-01 11:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbfd8570012d0ecbc006e934a0000900162b..."} 
[2026-08-01 11:55:07] local.INFO: Processing buffer {"connection_id":145972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbfd8570012d0ecbc006e934a0000900162b..."} 
[2026-08-01 11:55:07] local.INFO: Packet analysis {"connection_id":145972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbfd"} 
[2026-08-01 11:55:07] local.INFO: Extracted packet for processing {"connection_id":145972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbfd"} 
[2026-08-01 11:55:07] local.INFO: GPS Element Parsed {"raw_longitude":755944384,"raw_latitude":115946656,"longitude_deg":75.5944384,"latitude_deg":11.5946656,"altitude":9,"angle":22,"satellites":43,"speed":0,"hex_longitude":"2d0ecbc0","hex_latitude":"06e934a0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 11:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104732416001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366393760122142720,"note":"Value kept but may cause issues"} 
[2026-08-01 11:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1065523554020173824,"note":"Value kept but may cause issues"} 
[2026-08-01 11:55:07] 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-08-01 11:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785565382000,"timestamp_ms":1785565382000,"timestamp_seconds":1785565382,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbfd8570"} 
[2026-08-01 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-08-01 11:55: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-08-01 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 11:55: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-08-01 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-08-01 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-08-01 11:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":145972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":145972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":145972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:55: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-08-01 11:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104732416001,"66":27745,"103":206,"80":6400,"24":0,"16":366393760122142720,"45":1065523554020173824},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-08-01 11:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104732416001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:55:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 11:55:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366393760122142720,"km_value":366393760122142.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1065523554020173824,"description":"Unknown IO ID 45"} 
[2026-08-01 11:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104732416001,"power":27745,"unknown_103":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1065523554020173824}} 
[2026-08-01 11:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":145972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:55:07] local.INFO: GPS data processed {"connection_id":145972,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:55:07] local.INFO: Acknowledgment sent {"connection_id":145972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:55:10] local.INFO: TCP Data received {"connection_id":147193,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147193,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:55:10] local.INFO: Processing buffer {"connection_id":147193,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:55:10] local.INFO: IMEI packet received {"connection_id":147193,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":147193,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:55:11] local.INFO: TCP Data received {"connection_id":147193,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbfc54c0012d181f800721b108004b00d528..."} 
[2026-08-01 11:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbfc54c0012d181f800721b108004b00d528..."} 
[2026-08-01 11:55:11] local.INFO: Processing buffer {"connection_id":147193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbfc54c0012d181f800721b108004b00d528..."} 
[2026-08-01 11:55:11] local.INFO: Packet analysis {"connection_id":147193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbfc"} 
[2026-08-01 11:55:11] local.INFO: Extracted packet for processing {"connection_id":147193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbfc"} 
[2026-08-01 11:55:11] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648520,"longitude_deg":75.6555648,"latitude_deg":11.964852,"altitude":75,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b108","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104712704001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109214848450560,"note":"Value kept but may cause issues"} 
[2026-08-01 11:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306677248,"note":"Value kept but may cause issues"} 
[2026-08-01 11: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-08-01 11:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785565304000,"timestamp_ms":1785565304000,"timestamp_seconds":1785565304,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbfc54c0"} 
[2026-08-01 11:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:55: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-08-01 11: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-01 11:55: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-08-01 11: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-08-01 11:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":147193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":147193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":147193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:55: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-08-01 11:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104712704001,"66":12287,"107":206,"83":41984,"24":0,"16":10109214848450560,"45":1738248749306677248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-01 11:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104712704001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:55:11] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 11:55:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109214848450560,"km_value":10109214848450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306677248,"description":"Unknown IO ID 45"} 
[2026-08-01 11:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104712704001,"power":12287,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306677248}} 
[2026-08-01 11:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":147193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:55:11] local.INFO: GPS data processed {"connection_id":147193,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:55:11] local.INFO: Acknowledgment sent {"connection_id":147193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:55:12] local.INFO: TCP Data received {"connection_id":147193,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbfca6c8012d181f800721b108004b00d526..."} 
[2026-08-01 11:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbfca6c8012d181f800721b108004b00d526..."} 
[2026-08-01 11:55:12] local.INFO: Processing buffer {"connection_id":147193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbfca6c8012d181f800721b108004b00d526..."} 
[2026-08-01 11:55:12] local.INFO: Packet analysis {"connection_id":147193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbfc"} 
[2026-08-01 11:55:12] local.INFO: Extracted packet for processing {"connection_id":147193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbfc"} 
[2026-08-01 11:55:12] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648520,"longitude_deg":75.6555648,"latitude_deg":11.964852,"altitude":75,"angle":213,"satellites":38,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b108","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104717824001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109214848450560,"note":"Value kept but may cause issues"} 
[2026-08-01 11:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306677248,"note":"Value kept but may cause issues"} 
[2026-08-01 11:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785565325000,"timestamp_ms":1785565325000,"timestamp_seconds":1785565325,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbfca6c8"} 
[2026-08-01 11:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:55: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-08-01 11: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 11:55:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11: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-08-01 11:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":147193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":147193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":147193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:55:12] 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-08-01 11:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104717824001,"66":12287,"107":206,"83":41984,"24":0,"16":10109214848450560,"45":1738248749306677248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-01 11:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104717824001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:55:12] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 11:55:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109214848450560,"km_value":10109214848450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306677248,"description":"Unknown IO ID 45"} 
[2026-08-01 11:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104717824001,"power":12287,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306677248}} 
[2026-08-01 11:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":147193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:55:12] local.INFO: GPS data processed {"connection_id":147193,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:55:12] local.INFO: Acknowledgment sent {"connection_id":147193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:55:43] local.INFO: TCP Data received {"connection_id":147193,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbfcfcb8012d181f800721b108004b00d528..."} 
[2026-08-01 11:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbfcfcb8012d181f800721b108004b00d528..."} 
[2026-08-01 11:55:43] local.INFO: Processing buffer {"connection_id":147193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbfcfcb8012d181f800721b108004b00d528..."} 
[2026-08-01 11:55:43] local.INFO: Packet analysis {"connection_id":147193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbfc"} 
[2026-08-01 11:55:43] local.INFO: Extracted packet for processing {"connection_id":147193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbfc"} 
[2026-08-01 11:55:43] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648520,"longitude_deg":75.6555648,"latitude_deg":11.964852,"altitude":75,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b108","is_valid_coordinates":true} 
[2026-08-01 11:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104723200001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109214848450560,"note":"Value kept but may cause issues"} 
[2026-08-01 11:55:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306677248,"note":"Value kept but may cause issues"} 
[2026-08-01 11:55: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-08-01 11:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785565347000,"timestamp_ms":1785565347000,"timestamp_seconds":1785565347,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbfcfcb8"} 
[2026-08-01 11:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:55: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-08-01 11:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 11:55: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-08-01 11:55:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:55:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":147193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":147193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":147193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:55:43] 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-08-01 11:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104723200001,"66":12232,"107":206,"83":41984,"24":0,"16":10109214848450560,"45":1738248749306677248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-01 11:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104723200001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:55:43] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 11:55:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109214848450560,"km_value":10109214848450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:55:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306677248,"description":"Unknown IO ID 45"} 
[2026-08-01 11:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104723200001,"power":12232,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306677248}} 
[2026-08-01 11:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":147193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:55:43] local.INFO: GPS data processed {"connection_id":147193,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:55:43] local.INFO: Acknowledgment sent {"connection_id":147193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:55:44] local.INFO: TCP Data received {"connection_id":145973,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:55:44] local.INFO: Processing buffer {"connection_id":145973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:55:44] local.INFO: IMEI packet received {"connection_id":145973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":145973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:55:49] local.INFO: TCP Data received {"connection_id":145973,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:55:49] local.INFO: Processing buffer {"connection_id":145973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:55:49] local.INFO: IMEI packet received {"connection_id":145973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":145973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:55:50] local.INFO: TCP Data received {"connection_id":145973,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbfdd778012d0ece0006e93ae0000900162b..."} 
[2026-08-01 11:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbfdd778012d0ece0006e93ae0000900162b..."} 
[2026-08-01 11:55:50] local.INFO: Processing buffer {"connection_id":145973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbfdd778012d0ece0006e93ae0000900162b..."} 
[2026-08-01 11:55:50] local.INFO: Packet analysis {"connection_id":145973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbfd"} 
[2026-08-01 11:55:50] local.INFO: Extracted packet for processing {"connection_id":145973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbfd"} 
[2026-08-01 11:55:50] local.INFO: GPS Element Parsed {"raw_longitude":755944960,"raw_latitude":115948256,"longitude_deg":75.594496,"latitude_deg":11.5948256,"altitude":9,"angle":22,"satellites":43,"speed":3,"hex_longitude":"2d0ece00","hex_latitude":"06e93ae0","is_valid_coordinates":true} 
[2026-08-01 11:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:55:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104737792001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:55:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366393846021488640,"note":"Value kept but may cause issues"} 
[2026-08-01 11:55:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1066156872718131200,"note":"Value kept but may cause issues"} 
[2026-08-01 11:55:50] 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-08-01 11:55:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785565403000,"timestamp_ms":1785565403000,"timestamp_seconds":1785565403,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbfdd778"} 
[2026-08-01 11:55:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:55: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-08-01 11:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 11:55:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:55:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:55:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:55:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:55:50] local.INFO: Teltonika packet parsed successfully {"connection_id":145973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:55:50] local.INFO: Passing IMEI to GPS processor {"connection_id":145973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:55:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":145973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:55:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:55:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:55:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:55:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104737792001,"66":27919,"103":206,"80":6400,"24":3,"16":366393846021488640,"45":1066156872718131200},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-08-01 11:55:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:55:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:55:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104737792001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:55:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 11:55:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:55:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366393846021488640,"km_value":366393846021488.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:55:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1066156872718131200,"description":"Unknown IO ID 45"} 
[2026-08-01 11:55:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104737792001,"power":27919,"unknown_103":206,"unknown_80":6400,"ignition":3,"odometer":null,"unknown_45":1066156872718131200}} 
[2026-08-01 11:55:50] local.INFO: DEBUG: GPS processor result {"connection_id":145973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:55:50] local.INFO: GPS data processed {"connection_id":145973,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:55:50] local.INFO: Acknowledgment sent {"connection_id":145973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:55:53] local.INFO: TCP Data received {"connection_id":145973,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbfe2980012d0ecf4006e93d50000900162a..."} 
[2026-08-01 11:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbfe2980012d0ecf4006e93d50000900162a..."} 
[2026-08-01 11:55:53] local.INFO: Processing buffer {"connection_id":145973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbfe2980012d0ecf4006e93d50000900162a..."} 
[2026-08-01 11:55:53] local.INFO: Packet analysis {"connection_id":145973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbfe"} 
[2026-08-01 11:55:53] local.INFO: Extracted packet for processing {"connection_id":145973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbfe"} 
[2026-08-01 11:55:53] local.INFO: GPS Element Parsed {"raw_longitude":755945280,"raw_latitude":115948880,"longitude_deg":75.594528,"latitude_deg":11.594888,"altitude":9,"angle":22,"satellites":42,"speed":3,"hex_longitude":"2d0ecf40","hex_latitude":"06e93d50","is_valid_coordinates":true} 
[2026-08-01 11:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104743168001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366393880381227008,"note":"Value kept but may cause issues"} 
[2026-08-01 11:55:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1066790191416139776,"note":"Value kept but may cause issues"} 
[2026-08-01 11:55:53] 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-08-01 11:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785565424000,"timestamp_ms":1785565424000,"timestamp_seconds":1785565424,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbfe2980"} 
[2026-08-01 11:55:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:55: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-08-01 11:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 11:55:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:55:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:55:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":145973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":145973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":145973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:55:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104743168001,"66":28006,"103":206,"80":6400,"24":3,"16":366393880381227008,"45":1066790191416139776},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-08-01 11:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104743168001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:55:53] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 11:55:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366393880381227008,"km_value":366393880381227.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:55:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1066790191416139776,"description":"Unknown IO ID 45"} 
[2026-08-01 11:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104743168001,"power":28006,"unknown_103":206,"unknown_80":6400,"ignition":3,"odometer":null,"unknown_45":1066790191416139776}} 
[2026-08-01 11:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":145973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:55:53] local.INFO: GPS data processed {"connection_id":145973,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:55:53] local.INFO: Acknowledgment sent {"connection_id":145973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:56:01] local.INFO: TCP Data received {"connection_id":148516,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:56:01] local.INFO: Processing buffer {"connection_id":148516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:56:01] local.INFO: IMEI packet received {"connection_id":148516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":148516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:56:06] local.INFO: TCP Data received {"connection_id":148516,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:56:06] local.INFO: Processing buffer {"connection_id":148516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:56:06] local.INFO: IMEI packet received {"connection_id":148516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":148516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:56:06] local.INFO: TCP Data received {"connection_id":148516,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbfd4ec0012d181f800721b108004b00d526..."} 
[2026-08-01 11:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbfd4ec0012d181f800721b108004b00d526..."} 
[2026-08-01 11:56:06] local.INFO: Processing buffer {"connection_id":148516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbfd4ec0012d181f800721b108004b00d526..."} 
[2026-08-01 11:56:06] local.INFO: Packet analysis {"connection_id":148516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbfd"} 
[2026-08-01 11:56:06] local.INFO: Extracted packet for processing {"connection_id":148516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbfd"} 
[2026-08-01 11:56:06] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648520,"longitude_deg":75.6555648,"latitude_deg":11.964852,"altitude":75,"angle":213,"satellites":38,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b108","is_valid_coordinates":true} 
[2026-08-01 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-08-01 11:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104728832001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109214848450560,"note":"Value kept but may cause issues"} 
[2026-08-01 11:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306677248,"note":"Value kept but may cause issues"} 
[2026-08-01 11:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785565368000,"timestamp_ms":1785565368000,"timestamp_seconds":1785565368,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbfd4ec0"} 
[2026-08-01 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-08-01 11:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-01 11:56:06] 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-08-01 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-08-01 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-08-01 11:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:56:06] 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-08-01 11:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104728832001,"66":12287,"107":206,"83":41984,"24":0,"16":10109214848450560,"45":1738248749306677248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-01 11:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104728832001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:56:06] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 11:56:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109214848450560,"km_value":10109214848450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306677248,"description":"Unknown IO ID 45"} 
[2026-08-01 11:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104728832001,"power":12287,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306677248}} 
[2026-08-01 11:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":148516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576964,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:56:06] local.INFO: GPS data processed {"connection_id":148516,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:56:06] local.INFO: Acknowledgment sent {"connection_id":148516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:56:26] local.INFO: TCP Data received {"connection_id":145973,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbfe7b88012d0ed0c006e93fe00009001629..."} 
[2026-08-01 11:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbfe7b88012d0ed0c006e93fe00009001629..."} 
[2026-08-01 11:56:26] local.INFO: Processing buffer {"connection_id":145973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbfe7b88012d0ed0c006e93fe00009001629..."} 
[2026-08-01 11:56:26] local.INFO: Packet analysis {"connection_id":145973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbfe"} 
[2026-08-01 11:56:26] local.INFO: Extracted packet for processing {"connection_id":145973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbfe"} 
[2026-08-01 11:56:26] local.INFO: GPS Element Parsed {"raw_longitude":755945664,"raw_latitude":115949536,"longitude_deg":75.5945664,"latitude_deg":11.5949536,"altitude":9,"angle":22,"satellites":41,"speed":0,"hex_longitude":"2d0ed0c0","hex_latitude":"06e93fe0","is_valid_coordinates":true} 
[2026-08-01 11:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104748544001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366393923330899968,"note":"Value kept but may cause issues"} 
[2026-08-01 11:56:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1067142035137187840,"note":"Value kept but may cause issues"} 
[2026-08-01 11:56:26] 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-08-01 11:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785565445000,"timestamp_ms":1785565445000,"timestamp_seconds":1785565445,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbfe7b88"} 
[2026-08-01 11:56:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:56:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-01 11:56:26] 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-08-01 11:56:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:56:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":145973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":145973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":145973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:56:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104748544001,"66":27691,"103":206,"80":6400,"24":0,"16":366393923330899968,"45":1067142035137187840},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-08-01 11:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104748544001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:56:26] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 11:56:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366393923330899968,"km_value":366393923330899.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:56:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1067142035137187840,"description":"Unknown IO ID 45"} 
[2026-08-01 11:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104748544001,"power":27691,"unknown_103":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1067142035137187840}} 
[2026-08-01 11:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":145973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:56:26] local.INFO: GPS data processed {"connection_id":145973,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:56:26] local.INFO: Acknowledgment sent {"connection_id":145973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:56:37] local.INFO: TCP Data received {"connection_id":148516,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbfda0c8012d181f800721b108004b00d527..."} 
[2026-08-01 11:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbfda0c8012d181f800721b108004b00d527..."} 
[2026-08-01 11:56:37] local.INFO: Processing buffer {"connection_id":148516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbfda0c8012d181f800721b108004b00d527..."} 
[2026-08-01 11:56:37] local.INFO: Packet analysis {"connection_id":148516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbfd"} 
[2026-08-01 11:56:37] local.INFO: Extracted packet for processing {"connection_id":148516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbfd"} 
[2026-08-01 11:56:37] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648520,"longitude_deg":75.6555648,"latitude_deg":11.964852,"altitude":75,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b108","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104734208001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109214848450560,"note":"Value kept but may cause issues"} 
[2026-08-01 11:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306677248,"note":"Value kept but may cause issues"} 
[2026-08-01 11:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785565389000,"timestamp_ms":1785565389000,"timestamp_seconds":1785565389,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbfda0c8"} 
[2026-08-01 11:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:56:37] 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-08-01 11: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 11:56:37] 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-08-01 11: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-08-01 11:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:56:37] 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-08-01 11:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104734208001,"66":12287,"105":206,"83":41984,"24":0,"16":10109214848450560,"45":1738248749306677248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104734208001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:56:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:56:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109214848450560,"km_value":10109214848450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306677248,"description":"Unknown IO ID 45"} 
[2026-08-01 11:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104734208001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306677248}} 
[2026-08-01 11:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":148516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576966,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:56:38] local.INFO: GPS data processed {"connection_id":148516,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:56:38] local.INFO: Acknowledgment sent {"connection_id":148516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:56:44] local.INFO: TCP Data received {"connection_id":146193,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:56:44] local.INFO: Processing buffer {"connection_id":146193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:56:44] local.INFO: IMEI packet received {"connection_id":146193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":146193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:56:50] local.INFO: TCP Data received {"connection_id":146193,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:56:50] local.INFO: Processing buffer {"connection_id":146193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:56:50] local.INFO: IMEI packet received {"connection_id":146193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":146193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:56:51] local.INFO: TCP Data received {"connection_id":146193,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbfecd90012d0ed14006e94350000900112b..."} 
[2026-08-01 11:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbfecd90012d0ed14006e94350000900112b..."} 
[2026-08-01 11:56:51] local.INFO: Processing buffer {"connection_id":146193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbfecd90012d0ed14006e94350000900112b..."} 
[2026-08-01 11:56:51] local.INFO: Packet analysis {"connection_id":146193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbfe"} 
[2026-08-01 11:56:51] local.INFO: Extracted packet for processing {"connection_id":146193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbfe"} 
[2026-08-01 11:56:51] local.INFO: GPS Element Parsed {"raw_longitude":755945792,"raw_latitude":115950416,"longitude_deg":75.5945792,"latitude_deg":11.5950416,"altitude":9,"angle":17,"satellites":43,"speed":1,"hex_longitude":"2d0ed140","hex_latitude":"06e94350","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104753920001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366393966280572928,"note":"Value kept but may cause issues"} 
[2026-08-01 11:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1067564247602421760,"note":"Value kept but may cause issues"} 
[2026-08-01 11:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785565466000,"timestamp_ms":1785565466000,"timestamp_seconds":1785565466,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbfecd90"} 
[2026-08-01 11:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11: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-08-01 11:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-01 11:56:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11: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-08-01 11:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":146193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":146193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":146193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104753920001,"66":27908,"103":206,"80":6400,"24":1,"16":366393966280572928,"45":1067564247602421760},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-08-01 11:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104753920001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:56:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 11:56:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366393966280572928,"km_value":366393966280572.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1067564247602421760,"description":"Unknown IO ID 45"} 
[2026-08-01 11:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104753920001,"power":27908,"unknown_103":206,"unknown_80":6400,"ignition":1,"odometer":null,"unknown_45":1067564247602421760}} 
[2026-08-01 11:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":146193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:56:51] local.INFO: GPS data processed {"connection_id":146193,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:56:51] local.INFO: Acknowledgment sent {"connection_id":146193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:57:01] local.INFO: TCP Data received {"connection_id":145974,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:57:01] local.INFO: Processing buffer {"connection_id":145974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:57:01] local.INFO: IMEI packet received {"connection_id":145974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":145974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:57:06] local.INFO: TCP Data received {"connection_id":145974,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:57:06] local.INFO: Processing buffer {"connection_id":145974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:57:06] local.INFO: IMEI packet received {"connection_id":145974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":145974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:57:06] local.INFO: TCP Data received {"connection_id":145974,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbbfdf2d0012d181f800721b108004b00d527..."} 
[2026-08-01 11:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbbfdf2d0012d181f800721b108004b00d527..."} 
[2026-08-01 11:57:06] local.INFO: Processing buffer {"connection_id":145974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbbfdf2d0012d181f800721b108004b00d527..."} 
[2026-08-01 11:57:06] local.INFO: Packet analysis {"connection_id":145974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbbfd"} 
[2026-08-01 11:57:06] local.INFO: Extracted packet for processing {"connection_id":145974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbbfd"} 
[2026-08-01 11:57:06] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648520,"longitude_deg":75.6555648,"latitude_deg":11.964852,"altitude":75,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b108","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104739584001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109214848450560,"note":"Value kept but may cause issues"} 
[2026-08-01 11:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306677248,"note":"Value kept but may cause issues"} 
[2026-08-01 11:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785565410000,"timestamp_ms":1785565410000,"timestamp_seconds":1785565410,"priority":1,"record_length":96,"hex_timestamp":"0000019fbbfdf2d0"} 
[2026-08-01 11:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 11:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11: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-08-01 11:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:57:06] 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-08-01 11:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104739584001,"66":12211,"105":206,"83":41984,"24":0,"16":10109214848450560,"45":1738248749306677248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104739584001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:57:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:57:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109214848450560,"km_value":10109214848450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306677248,"description":"Unknown IO ID 45"} 
[2026-08-01 11:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104739584001,"power":12211,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306677248}} 
[2026-08-01 11:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":145974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576968,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:57:06] local.INFO: GPS data processed {"connection_id":145974,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:57:06] local.INFO: Acknowledgment sent {"connection_id":145974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:57:23] local.INFO: TCP Data received {"connection_id":146193,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc00a250012d0ed6c006e979100009000d28..."} 
[2026-08-01 11:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc00a250012d0ed6c006e979100009000d28..."} 
[2026-08-01 11:57:23] local.INFO: Processing buffer {"connection_id":146193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc00a250012d0ed6c006e979100009000d28..."} 
[2026-08-01 11:57:23] local.INFO: Packet analysis {"connection_id":146193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc00"} 
[2026-08-01 11:57:23] local.INFO: Extracted packet for processing {"connection_id":146193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc00"} 
[2026-08-01 11:57:23] local.INFO: GPS Element Parsed {"raw_longitude":755947200,"raw_latitude":115964176,"longitude_deg":75.59472,"latitude_deg":11.5964176,"altitude":9,"angle":13,"satellites":40,"speed":5,"hex_longitude":"2d0ed6c0","hex_latitude":"06e97910","is_valid_coordinates":true} 
[2026-08-01 11:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104789504001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366394670655209472,"note":"Value kept but may cause issues"} 
[2026-08-01 11:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1069253097466333184,"note":"Value kept but may cause issues"} 
[2026-08-01 11:57:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785565586000,"timestamp_ms":1785565586000,"timestamp_seconds":1785565586,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc00a250"} 
[2026-08-01 11:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:57:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 11:57:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:57:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":146193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":146193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":146193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:57:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104789504001,"66":27919,"102":206,"80":6400,"24":5,"16":366394670655209472,"45":1069253097466333184},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,80,24,16,45]} 
[2026-08-01 11:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104789504001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:57:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 11:57:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366394670655209472,"km_value":366394670655209.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1069253097466333184,"description":"Unknown IO ID 45"} 
[2026-08-01 11:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104789504001,"power":27919,"unknown_102":206,"unknown_80":6400,"ignition":5,"odometer":null,"unknown_45":1069253097466333184}} 
[2026-08-01 11:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":146193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:57:23] local.INFO: GPS data processed {"connection_id":146193,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:57:23] local.INFO: Acknowledgment sent {"connection_id":146193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:57:37] local.INFO: TCP Data received {"connection_id":145974,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc011780012d181e000721a880004e00b128..."} 
[2026-08-01 11:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc011780012d181e000721a880004e00b128..."} 
[2026-08-01 11:57:37] local.INFO: Processing buffer {"connection_id":145974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc011780012d181e000721a880004e00b128..."} 
[2026-08-01 11:57:37] local.INFO: Packet analysis {"connection_id":145974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc01"} 
[2026-08-01 11:57:37] local.INFO: Extracted packet for processing {"connection_id":145974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc01"} 
[2026-08-01 11:57:37] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119646336,"longitude_deg":75.6555264,"latitude_deg":11.9646336,"altitude":78,"angle":177,"satellites":40,"speed":8,"hex_longitude":"2d181e00","hex_latitude":"0721a880","is_valid_coordinates":true} 
[2026-08-01 11:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104796928001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10109330812567552,"note":"Value kept but may cause issues"} 
[2026-08-01 11:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608658432,"note":"Value kept but may cause issues"} 
[2026-08-01 11:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785565616000,"timestamp_ms":1785565616000,"timestamp_seconds":1785565616,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc011780"} 
[2026-08-01 11:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-08-01 11:57:37] 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-08-01 11:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 11:57:37] 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-08-01 11:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 11:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 11:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104796928001,"66":13820,"105":206,"83":41984,"24":8,"16":10109330812567552,"45":1737615430608658432},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 11:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 11:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 11:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104796928001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:57:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 11:57:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 11:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10109330812567552,"km_value":10109330812567.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608658432,"description":"Unknown IO ID 45"} 
[2026-08-01 11:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104796928001,"power":13820,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1737615430608658432}} 
[2026-08-01 11:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":145974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:57:37] local.INFO: GPS data processed {"connection_id":145974,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:57:37] local.INFO: Acknowledgment sent {"connection_id":145974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:57:44] local.INFO: TCP Data received {"connection_id":147194,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:57:44] local.INFO: Processing buffer {"connection_id":147194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:57:44] local.INFO: IMEI packet received {"connection_id":147194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":147194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:57:49] local.INFO: TCP Data received {"connection_id":147194,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:57:49] local.INFO: Processing buffer {"connection_id":147194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:57:49] local.INFO: IMEI packet received {"connection_id":147194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":147194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:57:50] local.INFO: TCP Data received {"connection_id":147194,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc00b9c0012d0ed6c006e97cc0000701622a..."} 
[2026-08-01 11:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc00b9c0012d0ed6c006e97cc0000701622a..."} 
[2026-08-01 11:57:50] local.INFO: Processing buffer {"connection_id":147194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc00b9c0012d0ed6c006e97cc0000701622a..."} 
[2026-08-01 11:57:50] local.INFO: Packet analysis {"connection_id":147194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc00"} 
[2026-08-01 11:57:50] local.INFO: Extracted packet for processing {"connection_id":147194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc00"} 
[2026-08-01 11:57:50] local.INFO: GPS Element Parsed {"raw_longitude":755947200,"raw_latitude":115965120,"longitude_deg":75.59472,"latitude_deg":11.596512,"altitude":7,"angle":354,"satellites":42,"speed":7,"hex_longitude":"2d0ed6c0","hex_latitude":"06e97cc0","is_valid_coordinates":true} 
[2026-08-01 11: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-08-01 11:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104790016001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366394717899849728,"note":"Value kept but may cause issues"} 
[2026-08-01 11:57:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1069253097466433536,"note":"Value kept but may cause issues"} 
[2026-08-01 11:57:50] 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-08-01 11:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785565592000,"timestamp_ms":1785565592000,"timestamp_seconds":1785565592,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc00b9c0"} 
[2026-08-01 11:57:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:57:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 11:57:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:57:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:57:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:57:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104790016001,"66":28104,"102":206,"80":6400,"24":7,"16":366394717899849728,"45":1069253097466433536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,80,24,16,45]} 
[2026-08-01 11:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104790016001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:57:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 11:57:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366394717899849728,"km_value":366394717899849.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:57:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1069253097466433536,"description":"Unknown IO ID 45"} 
[2026-08-01 11:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104790016001,"power":28104,"unknown_102":206,"unknown_80":6400,"ignition":7,"odometer":null,"unknown_45":1069253097466433536}} 
[2026-08-01 11:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":147194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:57:50] local.INFO: GPS data processed {"connection_id":147194,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:57:50] local.INFO: Acknowledgment sent {"connection_id":147194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:57:58] local.INFO: TCP Data received {"connection_id":146194,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:57:58] local.INFO: Processing buffer {"connection_id":146194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:57:58] local.INFO: IMEI packet received {"connection_id":146194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 11:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":146194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:58:01] local.INFO: TCP Data received {"connection_id":146194,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:58:01] local.INFO: Processing buffer {"connection_id":146194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:58:01] local.INFO: IMEI packet received {"connection_id":146194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":146194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:58:01] local.INFO: TCP Data received {"connection_id":146194,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:58:01] local.INFO: Processing buffer {"connection_id":146194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:58:01] local.INFO: IMEI packet received {"connection_id":146194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":146194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:58:02] local.INFO: TCP Data received {"connection_id":146194,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:58:02] local.INFO: Processing buffer {"connection_id":146194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 11:58:02] local.INFO: IMEI packet received {"connection_id":146194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 11:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":146194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:58:22] local.INFO: TCP Data received {"connection_id":147194,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc00e4b8012d0ed54006e984080007015622..."} 
[2026-08-01 11:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc00e4b8012d0ed54006e984080007015622..."} 
[2026-08-01 11:58:22] local.INFO: Processing buffer {"connection_id":147194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc00e4b8012d0ed54006e984080007015622..."} 
[2026-08-01 11:58:22] local.INFO: Packet analysis {"connection_id":147194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc00"} 
[2026-08-01 11:58:22] local.INFO: Extracted packet for processing {"connection_id":147194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc00"} 
[2026-08-01 11:58:22] local.INFO: GPS Element Parsed {"raw_longitude":755946816,"raw_latitude":115966984,"longitude_deg":75.5946816,"latitude_deg":11.5966984,"altitude":7,"angle":342,"satellites":34,"speed":6,"hex_longitude":"2d0ed540","hex_latitude":"06e98408","is_valid_coordinates":true} 
[2026-08-01 11:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104791552001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366394812389130240,"note":"Value kept but may cause issues"} 
[2026-08-01 11:58:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1069253097466675200,"note":"Value kept but may cause issues"} 
[2026-08-01 11:58:22] 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-08-01 11:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785565603000,"timestamp_ms":1785565603000,"timestamp_seconds":1785565603,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc00e4b8"} 
[2026-08-01 11:58:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:58:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-01 11:58:22] 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-08-01 11:58:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:58:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:58:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104791552001,"66":27930,"102":206,"80":6400,"24":6,"16":366394812389130240,"45":1069253097466675200},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,80,24,16,45]} 
[2026-08-01 11:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104791552001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:58:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 11:58:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366394812389130240,"km_value":366394812389130.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:58:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1069253097466675200,"description":"Unknown IO ID 45"} 
[2026-08-01 11:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104791552001,"power":27930,"unknown_102":206,"unknown_80":6400,"ignition":6,"odometer":null,"unknown_45":1069253097466675200}} 
[2026-08-01 11:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":147194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:58:22] local.INFO: GPS data processed {"connection_id":147194,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:58:22] local.INFO: Acknowledgment sent {"connection_id":147194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:58:45] local.INFO: TCP Data received {"connection_id":145975,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:58:45] local.INFO: Processing buffer {"connection_id":145975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:58:45] local.INFO: IMEI packet received {"connection_id":145975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":145975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:58:49] local.INFO: TCP Data received {"connection_id":145975,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:58:49] local.INFO: Processing buffer {"connection_id":145975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:58:49] local.INFO: IMEI packet received {"connection_id":145975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":145975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:58:51] local.INFO: TCP Data received {"connection_id":145975,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc00f070012d0ed48006e985f80007016224..."} 
[2026-08-01 11:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc00f070012d0ed48006e985f80007016224..."} 
[2026-08-01 11:58:51] local.INFO: Processing buffer {"connection_id":145975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc00f070012d0ed48006e985f80007016224..."} 
[2026-08-01 11:58:51] local.INFO: Packet analysis {"connection_id":145975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc00"} 
[2026-08-01 11:58:51] local.INFO: Extracted packet for processing {"connection_id":145975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc00"} 
[2026-08-01 11:58:51] local.INFO: GPS Element Parsed {"raw_longitude":755946624,"raw_latitude":115967480,"longitude_deg":75.5946624,"latitude_deg":11.596748,"altitude":7,"angle":354,"satellites":36,"speed":5,"hex_longitude":"2d0ed480","hex_latitude":"06e985f8","is_valid_coordinates":true} 
[2026-08-01 11:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104794368001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366394838158934016,"note":"Value kept but may cause issues"} 
[2026-08-01 11:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1068830885002086400,"note":"Value kept but may cause issues"} 
[2026-08-01 11:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 11:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785565606000,"timestamp_ms":1785565606000,"timestamp_seconds":1785565606,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc00f070"} 
[2026-08-01 11:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:58: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-08-01 11:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-01 11:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:58:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":145975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":145975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":145975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104794368001,"66":28028,"102":206,"80":6400,"24":5,"16":366394838158934016,"45":1068830885002086400},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,80,24,16,45]} 
[2026-08-01 11:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104794368001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:58:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 11:58:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366394838158934016,"km_value":366394838158934.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1068830885002086400,"description":"Unknown IO ID 45"} 
[2026-08-01 11:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104794368001,"power":28028,"unknown_102":206,"unknown_80":6400,"ignition":5,"odometer":null,"unknown_45":1068830885002086400}} 
[2026-08-01 11:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":145975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:58:51] local.INFO: GPS data processed {"connection_id":145975,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:58:51] local.INFO: Acknowledgment sent {"connection_id":145975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:59:22] local.INFO: TCP Data received {"connection_id":145975,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc012720012d0ed34006e98e300009014e28..."} 
[2026-08-01 11:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc012720012d0ed34006e98e300009014e28..."} 
[2026-08-01 11:59:22] local.INFO: Processing buffer {"connection_id":145975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc012720012d0ed34006e98e300009014e28..."} 
[2026-08-01 11:59:22] local.INFO: Packet analysis {"connection_id":145975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc01"} 
[2026-08-01 11:59:22] local.INFO: Extracted packet for processing {"connection_id":145975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc01"} 
[2026-08-01 11:59:22] local.INFO: GPS Element Parsed {"raw_longitude":755946304,"raw_latitude":115969584,"longitude_deg":75.5946304,"latitude_deg":11.5969584,"altitude":9,"angle":334,"satellites":40,"speed":5,"hex_longitude":"2d0ed340","hex_latitude":"06e98e30","is_valid_coordinates":true} 
[2026-08-01 11:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104795136001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366394945533116416,"note":"Value kept but may cause issues"} 
[2026-08-01 11:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1068619778769680384,"note":"Value kept but may cause issues"} 
[2026-08-01 11:59:22] 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-08-01 11:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785565620000,"timestamp_ms":1785565620000,"timestamp_seconds":1785565620,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc012720"} 
[2026-08-01 11:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:59:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 11:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-01 11:59:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:59:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":145975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":145975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":145975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104795136001,"66":27908,"35":206,"80":6400,"24":5,"16":366394945533116416,"45":1068619778769680384},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-08-01 11:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104795136001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:59:22] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-01 11:59:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366394945533116416,"km_value":366394945533116.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1068619778769680384,"description":"Unknown IO ID 45"} 
[2026-08-01 11:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104795136001,"power":27908,"unknown_35":206,"unknown_80":6400,"ignition":5,"odometer":null,"unknown_45":1068619778769680384}} 
[2026-08-01 11:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":145975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:59:22] local.INFO: GPS data processed {"connection_id":145975,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:59:22] local.INFO: Acknowledgment sent {"connection_id":145975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 11:59:44] local.INFO: TCP Data received {"connection_id":147195,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:59:44] local.INFO: Processing buffer {"connection_id":147195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:59:44] local.INFO: IMEI packet received {"connection_id":147195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 11:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":147195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 11:59:49] local.INFO: TCP Data received {"connection_id":147195,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:59:49] local.INFO: Processing buffer {"connection_id":147195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 11:59:49] local.INFO: IMEI packet received {"connection_id":147195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 11:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":147195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 11:59:50] local.INFO: TCP Data received {"connection_id":147195,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc02b978012d0eb5c006e9c5a80017014529..."} 
[2026-08-01 11:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc02b978012d0eb5c006e9c5a80017014529..."} 
[2026-08-01 11:59:50] local.INFO: Processing buffer {"connection_id":147195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc02b978012d0eb5c006e9c5a80017014529..."} 
[2026-08-01 11:59:50] local.INFO: Packet analysis {"connection_id":147195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc02"} 
[2026-08-01 11:59:50] local.INFO: Extracted packet for processing {"connection_id":147195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc02"} 
[2026-08-01 11:59:50] local.INFO: GPS Element Parsed {"raw_longitude":755938752,"raw_latitude":115983784,"longitude_deg":75.5938752,"latitude_deg":11.5983784,"altitude":23,"angle":325,"satellites":41,"speed":4,"hex_longitude":"2d0eb5c0","hex_latitude":"06e9c5a8","is_valid_coordinates":true} 
[2026-08-01 11:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 11:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104824576001,"note":"Value kept but may cause issues"} 
[2026-08-01 11:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366395744397033472,"note":"Value kept but may cause issues"} 
[2026-08-01 11:59:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1060105160728303616,"note":"Value kept but may cause issues"} 
[2026-08-01 11:59:50] 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-08-01 11:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785565723000,"timestamp_ms":1785565723000,"timestamp_seconds":1785565723,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc02b978"} 
[2026-08-01 11:59:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 11:59: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-08-01 11:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 11:59:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 11:59:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 11:59:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 11:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 11:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 11:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 11:59:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 11:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 11:59:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 11:59:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104824576001,"66":27843,"1":206,"80":6400,"24":4,"16":366395744397033472,"45":1060105160728303616},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-08-01 11:59:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 11:59:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 11:59:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104824576001,"description":"Unknown IO ID 0"} 
[2026-08-01 11:59:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 11:59:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366395744397033472,"km_value":366395744397033.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 11:59:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1060105160728303616,"description":"Unknown IO ID 45"} 
[2026-08-01 11:59:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104824576001,"power":27843,"imei":206,"unknown_80":6400,"ignition":4,"odometer":null,"unknown_45":1060105160728303616}} 
[2026-08-01 11:59:50] local.INFO: DEBUG: GPS processor result {"connection_id":147195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 11:59:50] local.INFO: GPS data processed {"connection_id":147195,"processed":1,"errors":0,"total":1} 
[2026-08-01 11:59:50] local.INFO: Acknowledgment sent {"connection_id":147195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:00:22] local.INFO: TCP Data received {"connection_id":147195,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc02cd00012d0eb3c006e9c8c80017015129..."} 
[2026-08-01 12:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc02cd00012d0eb3c006e9c8c80017015129..."} 
[2026-08-01 12:00:22] local.INFO: Processing buffer {"connection_id":147195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc02cd00012d0eb3c006e9c8c80017015129..."} 
[2026-08-01 12:00:22] local.INFO: Packet analysis {"connection_id":147195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc02"} 
[2026-08-01 12:00:22] local.INFO: Extracted packet for processing {"connection_id":147195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc02"} 
[2026-08-01 12:00:22] local.INFO: GPS Element Parsed {"raw_longitude":755938240,"raw_latitude":115984584,"longitude_deg":75.593824,"latitude_deg":11.5984584,"altitude":23,"angle":337,"satellites":41,"speed":8,"hex_longitude":"2d0eb3c0","hex_latitude":"06e9c8c8","is_valid_coordinates":true} 
[2026-08-01 12:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104825088001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366395787346706432,"note":"Value kept but may cause issues"} 
[2026-08-01 12:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1059964423240001536,"note":"Value kept but may cause issues"} 
[2026-08-01 12:00:22] 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-08-01 12:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785565728000,"timestamp_ms":1785565728000,"timestamp_seconds":1785565728,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc02cd00"} 
[2026-08-01 12:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 12:00:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:00:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104825088001,"66":27821,"1":206,"80":6400,"24":8,"16":366395787346706432,"45":1059964423240001536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-08-01 12:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104825088001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:00:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366395787346706432,"km_value":366395787346706.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1059964423240001536,"description":"Unknown IO ID 45"} 
[2026-08-01 12:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104825088001,"power":27821,"imei":206,"unknown_80":6400,"ignition":8,"odometer":null,"unknown_45":1059964423240001536}} 
[2026-08-01 12:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":147195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:00:22] local.INFO: GPS data processed {"connection_id":147195,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:00:22] local.INFO: Acknowledgment sent {"connection_id":147195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:00:44] local.INFO: TCP Data received {"connection_id":145976,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:00:44] local.INFO: Processing buffer {"connection_id":145976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:00:44] local.INFO: IMEI packet received {"connection_id":145976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:00:44] local.INFO: IMEI acknowledgment sent {"connection_id":145976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:00:49] local.INFO: TCP Data received {"connection_id":145976,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:00:49] local.INFO: Processing buffer {"connection_id":145976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:00:49] local.INFO: IMEI packet received {"connection_id":145976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":145976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:00:50] local.INFO: TCP Data received {"connection_id":145976,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc039050012d0e9c0006e9ebc80013014c2c..."} 
[2026-08-01 12:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc039050012d0e9c0006e9ebc80013014c2c..."} 
[2026-08-01 12:00:50] local.INFO: Processing buffer {"connection_id":145976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc039050012d0e9c0006e9ebc80013014c2c..."} 
[2026-08-01 12:00:50] local.INFO: Packet analysis {"connection_id":145976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc03"} 
[2026-08-01 12:00:50] local.INFO: Extracted packet for processing {"connection_id":145976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc03"} 
[2026-08-01 12:00:50] local.INFO: GPS Element Parsed {"raw_longitude":755932160,"raw_latitude":115993544,"longitude_deg":75.593216,"latitude_deg":11.5993544,"altitude":19,"angle":332,"satellites":44,"speed":4,"hex_longitude":"2d0e9c00","hex_latitude":"06e9ebc8","is_valid_coordinates":true} 
[2026-08-01 12:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104838656001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:00:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366396324217618432,"note":"Value kept but may cause issues"} 
[2026-08-01 12:00:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1053138655057209344,"note":"Value kept but may cause issues"} 
[2026-08-01 12:00:50] 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-08-01 12:00:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785565778000,"timestamp_ms":1785565778000,"timestamp_seconds":1785565778,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc039050"} 
[2026-08-01 12:00:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:00:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 12:00:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:00:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:00:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:00:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:00:50] local.INFO: Teltonika packet parsed successfully {"connection_id":145976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:00:50] local.INFO: Passing IMEI to GPS processor {"connection_id":145976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:00:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":145976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:00:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:00:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:00:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:00:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104838656001,"66":27995,"1":206,"80":6400,"24":4,"16":366396324217618432,"45":1053138655057209344},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-08-01 12:00:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:00:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:00:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104838656001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:00:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:00:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366396324217618432,"km_value":366396324217618.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:00:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1053138655057209344,"description":"Unknown IO ID 45"} 
[2026-08-01 12:00:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104838656001,"power":27995,"imei":206,"unknown_80":6400,"ignition":4,"odometer":null,"unknown_45":1053138655057209344}} 
[2026-08-01 12:00:50] local.INFO: DEBUG: GPS processor result {"connection_id":145976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:00:50] local.INFO: GPS data processed {"connection_id":145976,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:00:50] local.INFO: Acknowledgment sent {"connection_id":145976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:01:28] local.INFO: TCP Data received {"connection_id":145976,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc03a7c0012d0e998006e9ef900013014129..."} 
[2026-08-01 12:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc03a7c0012d0e998006e9ef900013014129..."} 
[2026-08-01 12:01:28] local.INFO: Processing buffer {"connection_id":145976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc03a7c0012d0e998006e9ef900013014129..."} 
[2026-08-01 12:01:28] local.INFO: Packet analysis {"connection_id":145976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc03"} 
[2026-08-01 12:01:28] local.INFO: Extracted packet for processing {"connection_id":145976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc03"} 
[2026-08-01 12:01:28] local.INFO: GPS Element Parsed {"raw_longitude":755931520,"raw_latitude":115994512,"longitude_deg":75.593152,"latitude_deg":11.5994512,"altitude":19,"angle":321,"satellites":41,"speed":5,"hex_longitude":"2d0e9980","hex_latitude":"06e9ef90","is_valid_coordinates":true} 
[2026-08-01 12:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104839168001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:01:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366396380052193280,"note":"Value kept but may cause issues"} 
[2026-08-01 12:01:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1052716442592200704,"note":"Value kept but may cause issues"} 
[2026-08-01 12:01:28] 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-08-01 12:01:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785565784000,"timestamp_ms":1785565784000,"timestamp_seconds":1785565784,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc03a7c0"} 
[2026-08-01 12:01:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:01: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-08-01 12:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-01 12:01: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-08-01 12:01:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:01:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:01:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:01:28] local.INFO: Teltonika packet parsed successfully {"connection_id":145976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:01:28] local.INFO: Passing IMEI to GPS processor {"connection_id":145976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:01:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":145976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:01: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-08-01 12:01:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104839168001,"66":27919,"1":206,"80":6400,"24":5,"16":366396380052193280,"45":1052716442592200704},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-08-01 12:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104839168001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:01:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366396380052193280,"km_value":366396380052193.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:01:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1052716442592200704,"description":"Unknown IO ID 45"} 
[2026-08-01 12:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104839168001,"power":27919,"imei":206,"unknown_80":6400,"ignition":5,"odometer":null,"unknown_45":1052716442592200704}} 
[2026-08-01 12:01:28] local.INFO: DEBUG: GPS processor result {"connection_id":145976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:01:28] local.INFO: GPS data processed {"connection_id":145976,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:01:28] local.INFO: Acknowledgment sent {"connection_id":145976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:02:19] local.INFO: TCP Data received {"connection_id":147197,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:02:19] local.INFO: Processing buffer {"connection_id":147197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:02:19] local.INFO: IMEI packet received {"connection_id":147197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":147197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:02:23] local.INFO: TCP Data received {"connection_id":147197,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:02:23] local.INFO: Processing buffer {"connection_id":147197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:02:23] local.INFO: IMEI packet received {"connection_id":147197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":147197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:02:24] local.INFO: TCP Data received {"connection_id":147197,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc03e258012d0e93c006e9f9a0001101522c..."} 
[2026-08-01 12:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc03e258012d0e93c006e9f9a0001101522c..."} 
[2026-08-01 12:02:24] local.INFO: Processing buffer {"connection_id":147197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc03e258012d0e93c006e9f9a0001101522c..."} 
[2026-08-01 12:02:24] local.INFO: Packet analysis {"connection_id":147197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc03"} 
[2026-08-01 12:02:24] local.INFO: Extracted packet for processing {"connection_id":147197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc03"} 
[2026-08-01 12:02:24] local.INFO: GPS Element Parsed {"raw_longitude":755930048,"raw_latitude":115997088,"longitude_deg":75.5930048,"latitude_deg":11.5997088,"altitude":17,"angle":338,"satellites":44,"speed":8,"hex_longitude":"2d0e93c0","hex_latitude":"06e9f9a0","is_valid_coordinates":true} 
[2026-08-01 12:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104840704001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366396526081081344,"note":"Value kept but may cause issues"} 
[2026-08-01 12:02:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1052012755150671872,"note":"Value kept but may cause issues"} 
[2026-08-01 12:02:24] 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-08-01 12:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785565799000,"timestamp_ms":1785565799000,"timestamp_seconds":1785565799,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc03e258"} 
[2026-08-01 12:02:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:02:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 12:02:24] 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-08-01 12:02:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:02:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":147197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":147197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":147197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:02:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104840704001,"66":27767,"35":206,"80":6400,"24":8,"16":366396526081081344,"45":1052012755150671872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-08-01 12:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104840704001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:02:24] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-01 12:02:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366396526081081344,"km_value":366396526081081.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:02:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1052012755150671872,"description":"Unknown IO ID 45"} 
[2026-08-01 12:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104840704001,"power":27767,"unknown_35":206,"unknown_80":6400,"ignition":8,"odometer":null,"unknown_45":1052012755150671872}} 
[2026-08-01 12:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":147197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:02:24] local.INFO: GPS data processed {"connection_id":147197,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:02:24] local.INFO: Acknowledgment sent {"connection_id":147197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:02:49] local.INFO: TCP Data received {"connection_id":148517,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:02:49] local.INFO: Processing buffer {"connection_id":148517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:02:49] local.INFO: IMEI packet received {"connection_id":148517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":148517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:02:54] local.INFO: TCP Data received {"connection_id":148517,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:02:54] local.INFO: Processing buffer {"connection_id":148517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:02:54] local.INFO: IMEI packet received {"connection_id":148517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":148517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:02:55] local.INFO: TCP Data received {"connection_id":148517,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc03e640012d0e930006e9fa60001201462c..."} 
[2026-08-01 12:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc03e640012d0e930006e9fa60001201462c..."} 
[2026-08-01 12:02:55] local.INFO: Processing buffer {"connection_id":148517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc03e640012d0e930006e9fa60001201462c..."} 
[2026-08-01 12:02:55] local.INFO: Packet analysis {"connection_id":148517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc03"} 
[2026-08-01 12:02:55] local.INFO: Extracted packet for processing {"connection_id":148517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc03"} 
[2026-08-01 12:02:55] local.INFO: GPS Element Parsed {"raw_longitude":755929856,"raw_latitude":115997280,"longitude_deg":75.5929856,"latitude_deg":11.599728,"altitude":18,"angle":326,"satellites":44,"speed":8,"hex_longitude":"2d0e9300","hex_latitude":"06e9fa60","is_valid_coordinates":true} 
[2026-08-01 12:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104844544001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366396538965983232,"note":"Value kept but may cause issues"} 
[2026-08-01 12:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1050394274035245056,"note":"Value kept but may cause issues"} 
[2026-08-01 12:02:55] 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-08-01 12:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785565800000,"timestamp_ms":1785565800000,"timestamp_seconds":1785565800,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc03e640"} 
[2026-08-01 12:02:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:02: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-08-01 12:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 12:02:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:02:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:02:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:02:55] 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-08-01 12:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104844544001,"66":27767,"35":206,"80":6400,"24":8,"16":366396538965983232,"45":1050394274035245056},"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-08-01 12:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104844544001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:02:55] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-01 12:02:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366396538965983232,"km_value":366396538965983.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1050394274035245056,"description":"Unknown IO ID 45"} 
[2026-08-01 12:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104844544001,"power":27767,"unknown_35":206,"unknown_80":6400,"ignition":8,"odometer":null,"unknown_45":1050394274035245056}} 
[2026-08-01 12:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":148517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:02:55] local.INFO: GPS data processed {"connection_id":148517,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:02:55] local.INFO: Acknowledgment sent {"connection_id":148517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:03:02] local.INFO: TCP Data received {"connection_id":148518,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:03:02] local.INFO: Processing buffer {"connection_id":148518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:03:02] local.INFO: IMEI packet received {"connection_id":148518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 12:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":148518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:03:05] local.INFO: TCP Data received {"connection_id":148518,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:03:05] local.INFO: Processing buffer {"connection_id":148518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:03:05] local.INFO: IMEI packet received {"connection_id":148518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":148518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:03:05] local.INFO: TCP Data received {"connection_id":148518,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:03:05] local.INFO: Processing buffer {"connection_id":148518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:03:05] local.INFO: IMEI packet received {"connection_id":148518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":148518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:03:06] local.INFO: TCP Data received {"connection_id":148518,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:03:06] local.INFO: Processing buffer {"connection_id":148518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:03:06] local.INFO: IMEI packet received {"connection_id":148518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":148518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:03:26] local.INFO: TCP Data received {"connection_id":148517,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc043848012d0e860006ea0f00001201492c..."} 
[2026-08-01 12:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc043848012d0e860006ea0f00001201492c..."} 
[2026-08-01 12:03:27] local.INFO: Processing buffer {"connection_id":148517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc043848012d0e860006ea0f00001201492c..."} 
[2026-08-01 12:03:27] local.INFO: Packet analysis {"connection_id":148517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc04"} 
[2026-08-01 12:03:27] local.INFO: Extracted packet for processing {"connection_id":148517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc04"} 
[2026-08-01 12:03:27] local.INFO: GPS Element Parsed {"raw_longitude":755926528,"raw_latitude":116002560,"longitude_deg":75.5926528,"latitude_deg":11.600256,"altitude":18,"angle":329,"satellites":44,"speed":5,"hex_longitude":"2d0e8600","hex_latitude":"06ea0f00","is_valid_coordinates":true} 
[2026-08-01 12:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104844800001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366396843908661248,"note":"Value kept but may cause issues"} 
[2026-08-01 12:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1050183167802761216,"note":"Value kept but may cause issues"} 
[2026-08-01 12:03:27] 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-08-01 12:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785565821000,"timestamp_ms":1785565821000,"timestamp_seconds":1785565821,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc043848"} 
[2026-08-01 12:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:03: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-08-01 12:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 12:03:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:03:27] 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-08-01 12:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104844800001,"66":27865,"35":206,"80":6400,"24":5,"16":366396843908661248,"45":1050183167802761216},"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-08-01 12:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104844800001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:03:27] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-01 12:03:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366396843908661248,"km_value":366396843908661.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1050183167802761216,"description":"Unknown IO ID 45"} 
[2026-08-01 12:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104844800001,"power":27865,"unknown_35":206,"unknown_80":6400,"ignition":5,"odometer":null,"unknown_45":1050183167802761216}} 
[2026-08-01 12:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":148517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:03:27] local.INFO: GPS data processed {"connection_id":148517,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:03:27] local.INFO: Acknowledgment sent {"connection_id":148517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:03:44] local.INFO: TCP Data received {"connection_id":146197,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:03:44] local.INFO: Processing buffer {"connection_id":146197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:03:44] local.INFO: IMEI packet received {"connection_id":146197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":146197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:03:49] local.INFO: TCP Data received {"connection_id":146197,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:03:49] local.INFO: Processing buffer {"connection_id":146197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:03:49] local.INFO: IMEI packet received {"connection_id":146197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":146197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:03:50] local.INFO: TCP Data received {"connection_id":146197,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc048a50012d0e7d8006ea1a68001301472c..."} 
[2026-08-01 12:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc048a50012d0e7d8006ea1a68001301472c..."} 
[2026-08-01 12:03:50] local.INFO: Processing buffer {"connection_id":146197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc048a50012d0e7d8006ea1a68001301472c..."} 
[2026-08-01 12:03:50] local.INFO: Packet analysis {"connection_id":146197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc04"} 
[2026-08-01 12:03:50] local.INFO: Extracted packet for processing {"connection_id":146197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc04"} 
[2026-08-01 12:03:50] local.INFO: GPS Element Parsed {"raw_longitude":755924352,"raw_latitude":116005480,"longitude_deg":75.5924352,"latitude_deg":11.600548,"altitude":19,"angle":327,"satellites":44,"speed":6,"hex_longitude":"2d0e7d80","hex_latitude":"06ea1a68","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104850176001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:03:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366397020002320384,"note":"Value kept but may cause issues"} 
[2026-08-01 12:03:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1046523993106874368,"note":"Value kept but may cause issues"} 
[2026-08-01 12:03:50] 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-08-01 12:03:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785565842000,"timestamp_ms":1785565842000,"timestamp_seconds":1785565842,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc048a50"} 
[2026-08-01 12:03:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:03: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-08-01 12:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 12:03:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12: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-08-01 12:03:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:03:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:03:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:03:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:03:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:03:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:03:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:03:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:03:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104850176001,"66":27908,"35":206,"80":6400,"24":6,"16":366397020002320384,"45":1046523993106874368},"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-08-01 12:03:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:03:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:03:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104850176001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:03:50] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-01 12:03:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:03:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366397020002320384,"km_value":366397020002320.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:03:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1046523993106874368,"description":"Unknown IO ID 45"} 
[2026-08-01 12:03:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104850176001,"power":27908,"unknown_35":206,"unknown_80":6400,"ignition":6,"odometer":null,"unknown_45":1046523993106874368}} 
[2026-08-01 12:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":146197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:03:50] local.INFO: GPS data processed {"connection_id":146197,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:03:50] local.INFO: Acknowledgment sent {"connection_id":146197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:04:21] local.INFO: TCP Data received {"connection_id":146197,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc072260012d0dd68006ead0f0001d014828..."} 
[2026-08-01 12:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc072260012d0dd68006ead0f0001d014828..."} 
[2026-08-01 12:04:21] local.INFO: Processing buffer {"connection_id":146197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc072260012d0dd68006ead0f0001d014828..."} 
[2026-08-01 12:04:21] local.INFO: Packet analysis {"connection_id":146197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc07"} 
[2026-08-01 12:04:21] local.INFO: Extracted packet for processing {"connection_id":146197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc07"} 
[2026-08-01 12:04:21] local.INFO: GPS Element Parsed {"raw_longitude":755881600,"raw_latitude":116052208,"longitude_deg":75.58816,"latitude_deg":11.6052208,"altitude":29,"angle":328,"satellites":40,"speed":16,"hex_longitude":"2d0dd680","hex_latitude":"06ead0f0","is_valid_coordinates":true} 
[2026-08-01 12:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104898560001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366400129558642688,"note":"Value kept but may cause issues"} 
[2026-08-01 12:04:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":997688084660135936,"note":"Value kept but may cause issues"} 
[2026-08-01 12:04:21] 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-08-01 12:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785566012000,"timestamp_ms":1785566012000,"timestamp_seconds":1785566012,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc072260"} 
[2026-08-01 12:04:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:04:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 12:04:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:04:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:04:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:04:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104898560001,"66":27800,"82":206,"80":6400,"24":16,"16":366400129558642688,"45":997688084660135936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,80,24,16,45]} 
[2026-08-01 12:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104898560001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:04:21] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 12:04:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366400129558642688,"km_value":366400129558642.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:04:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":997688084660135936,"description":"Unknown IO ID 45"} 
[2026-08-01 12:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104898560001,"power":27800,"unknown_82":206,"unknown_80":6400,"ignition":16,"odometer":null,"unknown_45":997688084660135936}} 
[2026-08-01 12:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":146197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:04:21] local.INFO: GPS data processed {"connection_id":146197,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:04:21] local.INFO: Acknowledgment sent {"connection_id":146197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:04:44] local.INFO: TCP Data received {"connection_id":145978,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:04:44] local.INFO: Processing buffer {"connection_id":145978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:04:44] local.INFO: IMEI packet received {"connection_id":145978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":145978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:04:45] local.INFO: TCP Data received {"connection_id":145978,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:04:45] local.INFO: Processing buffer {"connection_id":145978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:04:45] local.INFO: IMEI packet received {"connection_id":145978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":145978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:04:49] local.INFO: TCP Data received {"connection_id":145978,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:04:49] local.INFO: Processing buffer {"connection_id":145978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:04:49] local.INFO: IMEI packet received {"connection_id":145978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":145978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:04:51] local.INFO: TCP Data received {"connection_id":145978,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc0735e8012d0dd2c006ead7c0001e013929..."} 
[2026-08-01 12:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc0735e8012d0dd2c006ead7c0001e013929..."} 
[2026-08-01 12:04:51] local.INFO: Processing buffer {"connection_id":145978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc0735e8012d0dd2c006ead7c0001e013929..."} 
[2026-08-01 12:04:51] local.INFO: Packet analysis {"connection_id":145978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc07"} 
[2026-08-01 12:04:51] local.INFO: Extracted packet for processing {"connection_id":145978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc07"} 
[2026-08-01 12:04:51] local.INFO: GPS Element Parsed {"raw_longitude":755880640,"raw_latitude":116053952,"longitude_deg":75.588064,"latitude_deg":11.6053952,"altitude":30,"angle":313,"satellites":41,"speed":15,"hex_longitude":"2d0dd2c0","hex_latitude":"06ead7c0","is_valid_coordinates":true} 
[2026-08-01 12:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104899072001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366400224047923200,"note":"Value kept but may cause issues"} 
[2026-08-01 12:04:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":997125134706864128,"note":"Value kept but may cause issues"} 
[2026-08-01 12:04:51] 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-08-01 12:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785566017000,"timestamp_ms":1785566017000,"timestamp_seconds":1785566017,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc0735e8"} 
[2026-08-01 12:04:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:04:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 12:04:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:04:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:04:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":145978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":145978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":145978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:04:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104899072001,"66":27843,"82":206,"80":6400,"24":15,"16":366400224047923200,"45":997125134706864128},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,80,24,16,45]} 
[2026-08-01 12:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104899072001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:04:51] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 12:04:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366400224047923200,"km_value":366400224047923.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:04:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":997125134706864128,"description":"Unknown IO ID 45"} 
[2026-08-01 12:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104899072001,"power":27843,"unknown_82":206,"unknown_80":6400,"ignition":15,"odometer":null,"unknown_45":997125134706864128}} 
[2026-08-01 12:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":145978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:04:51] local.INFO: GPS data processed {"connection_id":145978,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:04:51] local.INFO: Acknowledgment sent {"connection_id":145978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:05:22] local.INFO: TCP Data received {"connection_id":145978,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc0739d0012d0dd1c006ead8b8001e012e29..."} 
[2026-08-01 12:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc0739d0012d0dd1c006ead8b8001e012e29..."} 
[2026-08-01 12:05:22] local.INFO: Processing buffer {"connection_id":145978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc0739d0012d0dd1c006ead8b8001e012e29..."} 
[2026-08-01 12:05:22] local.INFO: Packet analysis {"connection_id":145978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc07"} 
[2026-08-01 12:05:22] local.INFO: Extracted packet for processing {"connection_id":145978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc07"} 
[2026-08-01 12:05:22] local.INFO: GPS Element Parsed {"raw_longitude":755880384,"raw_latitude":116054200,"longitude_deg":75.5880384,"latitude_deg":11.60542,"altitude":30,"angle":302,"satellites":41,"speed":15,"hex_longitude":"2d0dd1c0","hex_latitude":"06ead8b8","is_valid_coordinates":true} 
[2026-08-01 12:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104900352001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366400245522759680,"note":"Value kept but may cause issues"} 
[2026-08-01 12:05:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":996069603544645632,"note":"Value kept but may cause issues"} 
[2026-08-01 12:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785566018000,"timestamp_ms":1785566018000,"timestamp_seconds":1785566018,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc0739d0"} 
[2026-08-01 12:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:05:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 12:05:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:05:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":145978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":145978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":145978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:05:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104900352001,"66":27843,"82":206,"80":6400,"24":15,"16":366400245522759680,"45":996069603544645632},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,80,24,16,45]} 
[2026-08-01 12:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104900352001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:05:22] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 12:05:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366400245522759680,"km_value":366400245522759.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:05:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":996069603544645632,"description":"Unknown IO ID 45"} 
[2026-08-01 12:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104900352001,"power":27843,"unknown_82":206,"unknown_80":6400,"ignition":15,"odometer":null,"unknown_45":996069603544645632}} 
[2026-08-01 12:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":145978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:05:22] local.INFO: GPS data processed {"connection_id":145978,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:05:22] local.INFO: Acknowledgment sent {"connection_id":145978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:05:48] local.INFO: TCP Data received {"connection_id":147200,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:05:48] local.INFO: Processing buffer {"connection_id":147200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:05:48] local.INFO: IMEI packet received {"connection_id":147200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":147200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:05:49] local.INFO: TCP Data received {"connection_id":147200,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:05:49] local.INFO: Processing buffer {"connection_id":147200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:05:49] local.INFO: IMEI packet received {"connection_id":147200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":147200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:05:50] local.INFO: TCP Data received {"connection_id":147200,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:05:50] local.INFO: Processing buffer {"connection_id":147200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:05:50] local.INFO: IMEI packet received {"connection_id":147200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":147200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:05:54] local.INFO: TCP Data received {"connection_id":147200,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:05:54] local.INFO: Processing buffer {"connection_id":147200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:05:54] local.INFO: IMEI packet received {"connection_id":147200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":147200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:05:56] local.INFO: TCP Data received {"connection_id":147200,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc078020012d0db14006eae958001f012628..."} 
[2026-08-01 12:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc078020012d0db14006eae958001f012628..."} 
[2026-08-01 12:05:56] local.INFO: Processing buffer {"connection_id":147200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc078020012d0db14006eae958001f012628..."} 
[2026-08-01 12:05:56] local.INFO: Packet analysis {"connection_id":147200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc07"} 
[2026-08-01 12:05:56] local.INFO: Extracted packet for processing {"connection_id":147200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc07"} 
[2026-08-01 12:05:56] local.INFO: GPS Element Parsed {"raw_longitude":755872064,"raw_latitude":116058456,"longitude_deg":75.5872064,"latitude_deg":11.6058456,"altitude":31,"angle":294,"satellites":40,"speed":24,"hex_longitude":"2d0db140","hex_latitude":"06eae958","is_valid_coordinates":true} 
[2026-08-01 12:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104900608001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366400692199358464,"note":"Value kept but may cause issues"} 
[2026-08-01 12:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":995788128567998464,"note":"Value kept but may cause issues"} 
[2026-08-01 12:05:56] 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-08-01 12:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785566036000,"timestamp_ms":1785566036000,"timestamp_seconds":1785566036,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc078020"} 
[2026-08-01 12:05:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:05:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 12:05:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:05:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:05:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":147200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":147200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":147200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:05:56] 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-08-01 12:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104900608001,"66":27745,"82":206,"80":6400,"24":24,"16":366400692199358464,"45":995788128567998464},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,80,24,16,45]} 
[2026-08-01 12:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104900608001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:05:56] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 12:05:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366400692199358464,"km_value":366400692199358.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":995788128567998464,"description":"Unknown IO ID 45"} 
[2026-08-01 12:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104900608001,"power":27745,"unknown_82":206,"unknown_80":6400,"ignition":24,"odometer":null,"unknown_45":995788128567998464}} 
[2026-08-01 12:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":147200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:05:56] local.INFO: GPS data processed {"connection_id":147200,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:05:56] local.INFO: Acknowledgment sent {"connection_id":147200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:06:04] local.INFO: TCP Data received {"connection_id":147200,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc07ab18012d0d964006eaf570001f011b24..."} 
[2026-08-01 12:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc07ab18012d0d964006eaf570001f011b24..."} 
[2026-08-01 12:06:04] local.INFO: Processing buffer {"connection_id":147200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc07ab18012d0d964006eaf570001f011b24..."} 
[2026-08-01 12:06:04] local.INFO: Packet analysis {"connection_id":147200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc07"} 
[2026-08-01 12:06:04] local.INFO: Extracted packet for processing {"connection_id":147200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc07"} 
[2026-08-01 12:06:04] local.INFO: GPS Element Parsed {"raw_longitude":755865152,"raw_latitude":116061552,"longitude_deg":75.5865152,"latitude_deg":11.6061552,"altitude":31,"angle":283,"satellites":36,"speed":28,"hex_longitude":"2d0d9640","hex_latitude":"06eaf570","is_valid_coordinates":true} 
[2026-08-01 12:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104905216001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366401052976611328,"note":"Value kept but may cause issues"} 
[2026-08-01 12:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":986640191825991680,"note":"Value kept but may cause issues"} 
[2026-08-01 12:06:04] 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-08-01 12:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785566047000,"timestamp_ms":1785566047000,"timestamp_seconds":1785566047,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc07ab18"} 
[2026-08-01 12:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 12:06: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-08-01 12:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104905216001,"66":27821,"84":206,"80":6400,"24":28,"16":366401052976611328,"45":986640191825991680},"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-08-01 12:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104905216001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:06:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-08-01 12:06:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366401052976611328,"km_value":366401052976611.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":986640191825991680,"description":"Unknown IO ID 45"} 
[2026-08-01 12:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104905216001,"power":27821,"unknown_84":206,"unknown_80":6400,"ignition":28,"odometer":null,"unknown_45":986640191825991680}} 
[2026-08-01 12:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":147200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:06:04] local.INFO: GPS data processed {"connection_id":147200,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:06:04] local.INFO: Acknowledgment sent {"connection_id":147200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:06:44] local.INFO: TCP Data received {"connection_id":146198,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:06:44] local.INFO: Processing buffer {"connection_id":146198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:06:44] local.INFO: IMEI packet received {"connection_id":146198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":146198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:06:49] local.INFO: TCP Data received {"connection_id":146198,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:06:49] local.INFO: Processing buffer {"connection_id":146198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:06:49] local.INFO: IMEI packet received {"connection_id":146198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":146198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:06:50] local.INFO: TCP Data received {"connection_id":146198,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc07d610012d0d740006eb02c8001b012327..."} 
[2026-08-01 12:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc07d610012d0d740006eb02c8001b012327..."} 
[2026-08-01 12:06:50] local.INFO: Processing buffer {"connection_id":146198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc07d610012d0d740006eb02c8001b012327..."} 
[2026-08-01 12:06:50] local.INFO: Packet analysis {"connection_id":146198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc07"} 
[2026-08-01 12:06:50] local.INFO: Extracted packet for processing {"connection_id":146198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc07"} 
[2026-08-01 12:06:50] local.INFO: GPS Element Parsed {"raw_longitude":755856384,"raw_latitude":116064968,"longitude_deg":75.5856384,"latitude_deg":11.6064968,"altitude":27,"angle":291,"satellites":39,"speed":35,"hex_longitude":"2d0d7400","hex_latitude":"06eb02c8","is_valid_coordinates":true} 
[2026-08-01 12:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:06:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104908032001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:06:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366401499653210112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:06:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":979040367455596544,"note":"Value kept but may cause issues"} 
[2026-08-01 12:06:50] 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-08-01 12:06:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785566058000,"timestamp_ms":1785566058000,"timestamp_seconds":1785566058,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc07d610"} 
[2026-08-01 12:06:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:06:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 12:06:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:06:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:06:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:06:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:06:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:06:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:06:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:06:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:06:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:06:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:06:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104908032001,"66":27767,"84":206,"80":6400,"24":35,"16":366401499653210112,"45":979040367455596544},"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-08-01 12:06:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:06:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:06:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104908032001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:06:50] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-08-01 12:06:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:06:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366401499653210112,"km_value":366401499653210.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:06:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":979040367455596544,"description":"Unknown IO ID 45"} 
[2026-08-01 12:06:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104908032001,"power":27767,"unknown_84":206,"unknown_80":6400,"ignition":35,"odometer":null,"unknown_45":979040367455596544}} 
[2026-08-01 12:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":146198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:06:51] local.INFO: GPS data processed {"connection_id":146198,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:06:51] local.INFO: Acknowledgment sent {"connection_id":146198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:07:22] local.INFO: TCP Data received {"connection_id":146198,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc09ca10012d0c92c006eb70c0001300902b..."} 
[2026-08-01 12:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc09ca10012d0c92c006eb70c0001300902b..."} 
[2026-08-01 12:07:22] local.INFO: Processing buffer {"connection_id":146198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc09ca10012d0c92c006eb70c0001300902b..."} 
[2026-08-01 12:07:22] local.INFO: Packet analysis {"connection_id":146198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc09"} 
[2026-08-01 12:07:22] local.INFO: Extracted packet for processing {"connection_id":146198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc09"} 
[2026-08-01 12:07:22] local.INFO: GPS Element Parsed {"raw_longitude":755798720,"raw_latitude":116093120,"longitude_deg":75.579872,"latitude_deg":11.609312,"altitude":19,"angle":144,"satellites":43,"speed":9,"hex_longitude":"2d0c92c0","hex_latitude":"06eb70c0","is_valid_coordinates":true} 
[2026-08-01 12:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104943104001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366404707993780224,"note":"Value kept but may cause issues"} 
[2026-08-01 12:07:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":905716136030666752,"note":"Value kept but may cause issues"} 
[2026-08-01 12:07:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785566186000,"timestamp_ms":1785566186000,"timestamp_seconds":1785566186,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc09ca10"} 
[2026-08-01 12:07:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:07:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 12:07:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:07:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:07:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:07:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:07:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104943104001,"66":27865,"238":206,"80":6400,"24":9,"16":366404707993780224,"45":905716136030666752},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,80,24,16,45]} 
[2026-08-01 12:07:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:07:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:07:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104943104001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:07:22] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-08-01 12:07:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:07:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366404707993780224,"km_value":366404707993780.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:07:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":905716136030666752,"description":"Unknown IO ID 45"} 
[2026-08-01 12:07:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104943104001,"power":27865,"unknown_238":206,"unknown_80":6400,"ignition":9,"odometer":null,"unknown_45":905716136030666752}} 
[2026-08-01 12:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":146198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:07:22] local.INFO: GPS data processed {"connection_id":146198,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:07:22] local.INFO: Acknowledgment sent {"connection_id":146198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:07:45] local.INFO: TCP Data received {"connection_id":148519,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:07:45] local.INFO: Processing buffer {"connection_id":148519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:07:45] local.INFO: IMEI packet received {"connection_id":148519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":148519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:07:49] local.INFO: TCP Data received {"connection_id":148519,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:07:49] local.INFO: Processing buffer {"connection_id":148519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:07:49] local.INFO: IMEI packet received {"connection_id":148519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":148519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:07:50] local.INFO: TCP Data received {"connection_id":148519,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc09d9b0012d0c948006eb6d480013009c2a..."} 
[2026-08-01 12:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc09d9b0012d0c948006eb6d480013009c2a..."} 
[2026-08-01 12:07:50] local.INFO: Processing buffer {"connection_id":148519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc09d9b0012d0c948006eb6d480013009c2a..."} 
[2026-08-01 12:07:50] local.INFO: Packet analysis {"connection_id":148519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc09"} 
[2026-08-01 12:07:50] local.INFO: Extracted packet for processing {"connection_id":148519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc09"} 
[2026-08-01 12:07:50] local.INFO: GPS Element Parsed {"raw_longitude":755799168,"raw_latitude":116092232,"longitude_deg":75.5799168,"latitude_deg":11.6092232,"altitude":19,"angle":156,"satellites":42,"speed":8,"hex_longitude":"2d0c9480","hex_latitude":"06eb6d48","is_valid_coordinates":true} 
[2026-08-01 12:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:07:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104943616001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:07:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366404759533387776,"note":"Value kept but may cause issues"} 
[2026-08-01 12:07:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":905997611007262720,"note":"Value kept but may cause issues"} 
[2026-08-01 12:07:50] 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-08-01 12:07:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785566190000,"timestamp_ms":1785566190000,"timestamp_seconds":1785566190,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc09d9b0"} 
[2026-08-01 12:07:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:07:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 12:07:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:07:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:07:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:07:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:07:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:07:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:07:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:07:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:07:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:07:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:07:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104943616001,"66":27767,"238":206,"80":6400,"24":8,"16":366404759533387776,"45":905997611007262720},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,80,24,16,45]} 
[2026-08-01 12:07:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:07:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:07:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104943616001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:07:50] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-08-01 12:07:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:07:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366404759533387776,"km_value":366404759533387.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:07:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":905997611007262720,"description":"Unknown IO ID 45"} 
[2026-08-01 12:07:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104943616001,"power":27767,"unknown_238":206,"unknown_80":6400,"ignition":8,"odometer":null,"unknown_45":905997611007262720}} 
[2026-08-01 12:07:50] local.INFO: DEBUG: GPS processor result {"connection_id":148519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:07:50] local.INFO: GPS data processed {"connection_id":148519,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:07:50] local.INFO: Acknowledgment sent {"connection_id":148519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:08:11] local.INFO: TCP Data received {"connection_id":146199,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146199,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:08:11] local.INFO: Processing buffer {"connection_id":146199,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:08:11] local.INFO: IMEI packet received {"connection_id":146199,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 12:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":146199,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:08:11] local.INFO: TCP Data received {"connection_id":146199,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc089190012d1825800721b8c0004f014e27..."} 
[2026-08-01 12:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc089190012d1825800721b8c0004f014e27..."} 
[2026-08-01 12:08:11] local.INFO: Processing buffer {"connection_id":146199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc089190012d1825800721b8c0004f014e27..."} 
[2026-08-01 12:08:11] local.INFO: Packet analysis {"connection_id":146199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc08"} 
[2026-08-01 12:08:11] local.INFO: Extracted packet for processing {"connection_id":146199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc08"} 
[2026-08-01 12:08:11] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119650496,"longitude_deg":75.6557184,"latitude_deg":11.9650496,"altitude":79,"angle":334,"satellites":39,"speed":0,"hex_longitude":"2d182580","hex_latitude":"0721b8c0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 12:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104918016001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10115232097632256,"note":"Value kept but may cause issues"} 
[2026-08-01 12:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911579648,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 12:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785566106000,"timestamp_ms":1785566106000,"timestamp_seconds":1785566106,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc089190"} 
[2026-08-01 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-08-01 12: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-08-01 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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-01 12:08: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-08-01 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-08-01 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-08-01 12:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:08: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-08-01 12:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104918016001,"66":13135,"105":206,"83":41984,"24":0,"16":10115232097632256,"45":1740007967911579648},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104918016001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:08:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:08:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10115232097632256,"km_value":10115232097632.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911579648,"description":"Unknown IO ID 45"} 
[2026-08-01 12:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104918016001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740007967911579648}} 
[2026-08-01 12:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":146199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576991,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:08:11] local.INFO: GPS data processed {"connection_id":146199,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:08:11] local.INFO: Acknowledgment sent {"connection_id":146199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:08:22] local.INFO: TCP Data received {"connection_id":148519,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc09fcd8012d0c9d8006eb5ca00010008f29..."} 
[2026-08-01 12:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc09fcd8012d0c9d8006eb5ca00010008f29..."} 
[2026-08-01 12:08:22] local.INFO: Processing buffer {"connection_id":148519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc09fcd8012d0c9d8006eb5ca00010008f29..."} 
[2026-08-01 12:08:22] local.INFO: Packet analysis {"connection_id":148519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc09"} 
[2026-08-01 12:08:22] local.INFO: Extracted packet for processing {"connection_id":148519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc09"} 
[2026-08-01 12:08:22] local.INFO: GPS Element Parsed {"raw_longitude":755801472,"raw_latitude":116087968,"longitude_deg":75.5801472,"latitude_deg":11.6087968,"altitude":16,"angle":143,"satellites":41,"speed":31,"hex_longitude":"2d0c9d80","hex_latitude":"06eb5ca0","is_valid_coordinates":true} 
[2026-08-01 12:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104944640001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366404991461621760,"note":"Value kept but may cause issues"} 
[2026-08-01 12:08:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":906490192216279040,"note":"Value kept but may cause issues"} 
[2026-08-01 12:08:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785566199000,"timestamp_ms":1785566199000,"timestamp_seconds":1785566199,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc09fcd8"} 
[2026-08-01 12:08:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:08:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 12:08:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:08:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:08:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104944640001,"66":27919,"238":206,"80":6400,"24":31,"16":366404991461621760,"45":906490192216279040},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,80,24,16,45]} 
[2026-08-01 12:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104944640001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:08:22] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-08-01 12:08:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366404991461621760,"km_value":366404991461621.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:08:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":906490192216279040,"description":"Unknown IO ID 45"} 
[2026-08-01 12:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104944640001,"power":27919,"unknown_238":206,"unknown_80":6400,"ignition":31,"odometer":null,"unknown_45":906490192216279040}} 
[2026-08-01 12:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":148519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:08:22] local.INFO: GPS data processed {"connection_id":148519,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:08:22] local.INFO: Acknowledgment sent {"connection_id":148519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:08:42] local.INFO: TCP Data received {"connection_id":146199,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc08e398012d1825800721b8c0004f014e27..."} 
[2026-08-01 12:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc08e398012d1825800721b8c0004f014e27..."} 
[2026-08-01 12:08:42] local.INFO: Processing buffer {"connection_id":146199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc08e398012d1825800721b8c0004f014e27..."} 
[2026-08-01 12:08:42] local.INFO: Packet analysis {"connection_id":146199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc08"} 
[2026-08-01 12:08:42] local.INFO: Extracted packet for processing {"connection_id":146199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc08"} 
[2026-08-01 12:08:42] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119650496,"longitude_deg":75.6557184,"latitude_deg":11.9650496,"altitude":79,"angle":334,"satellites":39,"speed":0,"hex_longitude":"2d182580","hex_latitude":"0721b8c0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 12:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104923136001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10115232097632256,"note":"Value kept but may cause issues"} 
[2026-08-01 12:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599167447040,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 12:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785566127000,"timestamp_ms":1785566127000,"timestamp_seconds":1785566127,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc08e398"} 
[2026-08-01 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-08-01 12:08:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-01 12:08: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-08-01 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-08-01 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-08-01 12:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":146199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":146199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":146199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:08: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-08-01 12:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104923136001,"66":13124,"105":206,"83":41984,"24":0,"16":10115232097632256,"45":1739937599167447040},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104923136001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:08:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:08:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10115232097632256,"km_value":10115232097632.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599167447040,"description":"Unknown IO ID 45"} 
[2026-08-01 12:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104923136001,"power":13124,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739937599167447040}} 
[2026-08-01 12:08:43] local.INFO: DEBUG: GPS processor result {"connection_id":146199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:08:43] local.INFO: GPS data processed {"connection_id":146199,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:08:43] local.INFO: Acknowledgment sent {"connection_id":146199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:08:44] local.INFO: TCP Data received {"connection_id":145979,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:08:44] local.INFO: Processing buffer {"connection_id":145979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:08:44] local.INFO: IMEI packet received {"connection_id":145979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":145979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:08:47] local.INFO: TCP Data received {"connection_id":145979,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:08:47] local.INFO: Processing buffer {"connection_id":145979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:08:47] local.INFO: IMEI packet received {"connection_id":145979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":145979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:08:48] local.INFO: TCP Data received {"connection_id":145979,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc0a23e8012d0cb3c006eb3de8000e009124..."} 
[2026-08-01 12:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc0a23e8012d0cb3c006eb3de8000e009124..."} 
[2026-08-01 12:08:48] local.INFO: Processing buffer {"connection_id":145979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc0a23e8012d0cb3c006eb3de8000e009124..."} 
[2026-08-01 12:08:48] local.INFO: Packet analysis {"connection_id":145979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc0a"} 
[2026-08-01 12:08:48] local.INFO: Extracted packet for processing {"connection_id":145979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc0a"} 
[2026-08-01 12:08:48] local.INFO: GPS Element Parsed {"raw_longitude":755807168,"raw_latitude":116080104,"longitude_deg":75.5807168,"latitude_deg":11.6080104,"altitude":14,"angle":145,"satellites":36,"speed":40,"hex_longitude":"2d0cb3c0","hex_latitude":"06eb3de8","is_valid_coordinates":true} 
[2026-08-01 12:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104946944001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366405463908024320,"note":"Value kept but may cause issues"} 
[2026-08-01 12:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":909023467005583360,"note":"Value kept but may cause issues"} 
[2026-08-01 12:08:48] 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-08-01 12:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785566209000,"timestamp_ms":1785566209000,"timestamp_seconds":1785566209,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc0a23e8"} 
[2026-08-01 12:08:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:08:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 12:08:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:08:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:08:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":145979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":145979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":145979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104946944001,"66":27800,"238":206,"80":6400,"24":40,"16":366405463908024320,"45":909023467005583360},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,80,24,16,45]} 
[2026-08-01 12:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104946944001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:08:48] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-08-01 12:08:48] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366405463908024320,"km_value":366405463908024.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:08:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":909023467005583360,"description":"Unknown IO ID 45"} 
[2026-08-01 12:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104946944001,"power":27800,"unknown_238":206,"unknown_80":6400,"ignition":40,"odometer":null,"unknown_45":909023467005583360}} 
[2026-08-01 12:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":145979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:08:48] local.INFO: GPS data processed {"connection_id":145979,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:08:48] local.INFO: Acknowledgment sent {"connection_id":145979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:09:01] local.INFO: TCP Data received {"connection_id":145980,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:09:01] local.INFO: Processing buffer {"connection_id":145980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:09:01] local.INFO: IMEI packet received {"connection_id":145980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 12:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":145980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:09:06] local.INFO: TCP Data received {"connection_id":145980,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:09:06] local.INFO: Processing buffer {"connection_id":145980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:09:06] local.INFO: IMEI packet received {"connection_id":145980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":145980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:09:06] local.INFO: TCP Data received {"connection_id":145980,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc093988012d1825800721b8c0004f014e25..."} 
[2026-08-01 12:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc093988012d1825800721b8c0004f014e25..."} 
[2026-08-01 12:09:06] local.INFO: Processing buffer {"connection_id":145980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc093988012d1825800721b8c0004f014e25..."} 
[2026-08-01 12:09:06] local.INFO: Packet analysis {"connection_id":145980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc09"} 
[2026-08-01 12:09:06] local.INFO: Extracted packet for processing {"connection_id":145980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc09"} 
[2026-08-01 12:09:06] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119650496,"longitude_deg":75.6557184,"latitude_deg":11.9650496,"altitude":79,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2d182580","hex_latitude":"0721b8c0","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104928512001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10115232097632256,"note":"Value kept but may cause issues"} 
[2026-08-01 12:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599167447040,"note":"Value kept but may cause issues"} 
[2026-08-01 12:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785566149000,"timestamp_ms":1785566149000,"timestamp_seconds":1785566149,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc093988"} 
[2026-08-01 12:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:09:06] 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-08-01 12: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":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-01 12:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12: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-08-01 12:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:09:06] 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-08-01 12:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104928512001,"66":13091,"105":206,"83":41984,"24":0,"16":10115232097632256,"45":1739937599167447040},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104928512001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:09:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:09:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10115232097632256,"km_value":10115232097632.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599167447040,"description":"Unknown IO ID 45"} 
[2026-08-01 12:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104928512001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739937599167447040}} 
[2026-08-01 12:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":145980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576995,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:09:06] local.INFO: GPS data processed {"connection_id":145980,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:09:06] local.INFO: Acknowledgment sent {"connection_id":145980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:09:20] local.INFO: TCP Data received {"connection_id":145979,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc0a4af8012d0ccac006eb1fb0000d008e25..."} 
[2026-08-01 12:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc0a4af8012d0ccac006eb1fb0000d008e25..."} 
[2026-08-01 12:09:20] local.INFO: Processing buffer {"connection_id":145979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc0a4af8012d0ccac006eb1fb0000d008e25..."} 
[2026-08-01 12:09:20] local.INFO: Packet analysis {"connection_id":145979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc0a"} 
[2026-08-01 12:09:20] local.INFO: Extracted packet for processing {"connection_id":145979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc0a"} 
[2026-08-01 12:09:20] local.INFO: GPS Element Parsed {"raw_longitude":755813056,"raw_latitude":116072368,"longitude_deg":75.5813056,"latitude_deg":11.6072368,"altitude":13,"angle":142,"satellites":37,"speed":37,"hex_longitude":"2d0ccac0","hex_latitude":"06eb1fb0","is_valid_coordinates":true} 
[2026-08-01 12:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104949504001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366405927764492288,"note":"Value kept but may cause issues"} 
[2026-08-01 12:09:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":915286285235382272,"note":"Value kept but may cause issues"} 
[2026-08-01 12:09: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-08-01 12:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785566219000,"timestamp_ms":1785566219000,"timestamp_seconds":1785566219,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc0a4af8"} 
[2026-08-01 12:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:09:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 12:09:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:09:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":145979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":145979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":145979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:09:20] 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-08-01 12:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104949504001,"66":27832,"238":206,"80":6400,"24":37,"16":366405927764492288,"45":915286285235382272},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,80,24,16,45]} 
[2026-08-01 12:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104949504001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:09:20] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-08-01 12:09:20] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366405927764492288,"km_value":366405927764492.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:09:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":915286285235382272,"description":"Unknown IO ID 45"} 
[2026-08-01 12:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104949504001,"power":27832,"unknown_238":206,"unknown_80":6400,"ignition":37,"odometer":null,"unknown_45":915286285235382272}} 
[2026-08-01 12:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":145979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:09:20] local.INFO: GPS data processed {"connection_id":145979,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:09:20] local.INFO: Acknowledgment sent {"connection_id":145979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:09:37] local.INFO: TCP Data received {"connection_id":145980,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc0987a8012d1825800721b8c0004f014e25..."} 
[2026-08-01 12:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc0987a8012d1825800721b8c0004f014e25..."} 
[2026-08-01 12:09:37] local.INFO: Processing buffer {"connection_id":145980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc0987a8012d1825800721b8c0004f014e25..."} 
[2026-08-01 12:09:37] local.INFO: Packet analysis {"connection_id":145980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc09"} 
[2026-08-01 12:09:37] local.INFO: Extracted packet for processing {"connection_id":145980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc09"} 
[2026-08-01 12:09:37] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119650496,"longitude_deg":75.6557184,"latitude_deg":11.9650496,"altitude":79,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2d182580","hex_latitude":"0721b8c0","is_valid_coordinates":true} 
[2026-08-01 12:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104934144001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10115232097632256,"note":"Value kept but may cause issues"} 
[2026-08-01 12:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599167447040,"note":"Value kept but may cause issues"} 
[2026-08-01 12:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785566169000,"timestamp_ms":1785566169000,"timestamp_seconds":1785566169,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc0987a8"} 
[2026-08-01 12:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:09:37] 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-08-01 12:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-01 12:09:37] 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-08-01 12:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:09:37] 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-08-01 12:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104934144001,"66":13091,"105":206,"83":41984,"24":0,"16":10115232097632256,"45":1739937599167447040},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104934144001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:09:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:09:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10115232097632256,"km_value":10115232097632.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599167447040,"description":"Unknown IO ID 45"} 
[2026-08-01 12:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104934144001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739937599167447040}} 
[2026-08-01 12:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":145980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:09:37] local.INFO: GPS data processed {"connection_id":145980,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:09:37] local.INFO: Acknowledgment sent {"connection_id":145980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:09:44] local.INFO: TCP Data received {"connection_id":148520,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:09:44] local.INFO: Processing buffer {"connection_id":148520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:09:44] local.INFO: IMEI packet received {"connection_id":148520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":148520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:09:49] local.INFO: TCP Data received {"connection_id":148520,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:09:49] local.INFO: Processing buffer {"connection_id":148520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:09:49] local.INFO: IMEI packet received {"connection_id":148520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":148520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:09:50] local.INFO: TCP Data received {"connection_id":148520,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc0a8978012d0ce04006eb0328000d009126..."} 
[2026-08-01 12:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc0a8978012d0ce04006eb0328000d009126..."} 
[2026-08-01 12:09:50] local.INFO: Processing buffer {"connection_id":148520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc0a8978012d0ce04006eb0328000d009126..."} 
[2026-08-01 12:09:50] local.INFO: Packet analysis {"connection_id":148520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc0a"} 
[2026-08-01 12:09:50] local.INFO: Extracted packet for processing {"connection_id":148520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc0a"} 
[2026-08-01 12:09:50] local.INFO: GPS Element Parsed {"raw_longitude":755818560,"raw_latitude":116065064,"longitude_deg":75.581856,"latitude_deg":11.6065064,"altitude":13,"angle":145,"satellites":38,"speed":16,"hex_longitude":"2d0ce040","hex_latitude":"06eb0328","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104952064001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366406370146123776,"note":"Value kept but may cause issues"} 
[2026-08-01 12:09:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":921760209697746944,"note":"Value kept but may cause issues"} 
[2026-08-01 12:09:50] 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-08-01 12:09:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785566235000,"timestamp_ms":1785566235000,"timestamp_seconds":1785566235,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc0a8978"} 
[2026-08-01 12:09:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:09:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-01 12:09:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12: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-08-01 12:09:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:09:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:09:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:09:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:09:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104952064001,"66":27821,"236":206,"80":6400,"24":16,"16":366406370146123776,"45":921760209697746944},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,80,24,16,45]} 
[2026-08-01 12:09:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:09:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:09:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104952064001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:09:50] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-01 12:09:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:09:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366406370146123776,"km_value":366406370146123.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:09:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":921760209697746944,"description":"Unknown IO ID 45"} 
[2026-08-01 12:09:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104952064001,"power":27821,"unknown_236":206,"unknown_80":6400,"ignition":16,"odometer":null,"unknown_45":921760209697746944}} 
[2026-08-01 12:09:50] local.INFO: DEBUG: GPS processor result {"connection_id":148520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:09:50] local.INFO: GPS data processed {"connection_id":148520,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:09:50] local.INFO: Acknowledgment sent {"connection_id":148520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:10:01] local.INFO: TCP Data received {"connection_id":148521,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:10:01] local.INFO: Processing buffer {"connection_id":148521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:10:01] local.INFO: IMEI packet received {"connection_id":148521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 12:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":148521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:10:06] local.INFO: TCP Data received {"connection_id":148521,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:10:06] local.INFO: Processing buffer {"connection_id":148521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:10:06] local.INFO: IMEI packet received {"connection_id":148521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":148521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:10:06] local.INFO: TCP Data received {"connection_id":148521,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc09d9b0012d1825800721b8c0004f014e25..."} 
[2026-08-01 12:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc09d9b0012d1825800721b8c0004f014e25..."} 
[2026-08-01 12:10:06] local.INFO: Processing buffer {"connection_id":148521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc09d9b0012d1825800721b8c0004f014e25..."} 
[2026-08-01 12:10:06] local.INFO: Packet analysis {"connection_id":148521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc09"} 
[2026-08-01 12:10:06] local.INFO: Extracted packet for processing {"connection_id":148521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc09"} 
[2026-08-01 12:10:06] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119650496,"longitude_deg":75.6557184,"latitude_deg":11.9650496,"altitude":79,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2d182580","hex_latitude":"0721b8c0","is_valid_coordinates":true} 
[2026-08-01 12:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104939264001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10115232097632256,"note":"Value kept but may cause issues"} 
[2026-08-01 12:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599167447040,"note":"Value kept but may cause issues"} 
[2026-08-01 12:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785566190000,"timestamp_ms":1785566190000,"timestamp_seconds":1785566190,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc09d9b0"} 
[2026-08-01 12:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:10:06] 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-08-01 12:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-01 12:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:10:06] 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-08-01 12:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104939264001,"66":13048,"105":206,"83":41984,"24":0,"16":10115232097632256,"45":1739937599167447040},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104939264001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:10:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:10:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10115232097632256,"km_value":10115232097632.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599167447040,"description":"Unknown IO ID 45"} 
[2026-08-01 12:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104939264001,"power":13048,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739937599167447040}} 
[2026-08-01 12:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":148521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":576999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:10:06] local.INFO: GPS data processed {"connection_id":148521,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:10:06] local.INFO: Acknowledgment sent {"connection_id":148521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:10:22] local.INFO: TCP Data received {"connection_id":148520,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc0adb80012d0cf04006eaee280013008b29..."} 
[2026-08-01 12:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc0adb80012d0cf04006eaee280013008b29..."} 
[2026-08-01 12:10:22] local.INFO: Processing buffer {"connection_id":148520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc0adb80012d0cf04006eaee280013008b29..."} 
[2026-08-01 12:10:22] local.INFO: Packet analysis {"connection_id":148520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc0a"} 
[2026-08-01 12:10:22] local.INFO: Extracted packet for processing {"connection_id":148520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc0a"} 
[2026-08-01 12:10:22] local.INFO: GPS Element Parsed {"raw_longitude":755822656,"raw_latitude":116059688,"longitude_deg":75.5822656,"latitude_deg":11.6059688,"altitude":19,"angle":139,"satellites":41,"speed":14,"hex_longitude":"2d0cf040","hex_latitude":"06eaee28","is_valid_coordinates":true} 
[2026-08-01 12:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104956160001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366406696563638272,"note":"Value kept but may cause issues"} 
[2026-08-01 12:10:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":927811921695156224,"note":"Value kept but may cause issues"} 
[2026-08-01 12:10:22] 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-08-01 12:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785566256000,"timestamp_ms":1785566256000,"timestamp_seconds":1785566256,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc0adb80"} 
[2026-08-01 12:10:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:10:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 12:10:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:10:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:10:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:10:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104956160001,"66":27865,"236":206,"80":6400,"24":14,"16":366406696563638272,"45":927811921695156224},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,80,24,16,45]} 
[2026-08-01 12:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104956160001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:10:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-01 12:10:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366406696563638272,"km_value":366406696563638.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:10:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":927811921695156224,"description":"Unknown IO ID 45"} 
[2026-08-01 12:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104956160001,"power":27865,"unknown_236":206,"unknown_80":6400,"ignition":14,"odometer":null,"unknown_45":927811921695156224}} 
[2026-08-01 12:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":148520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:10:22] local.INFO: GPS data processed {"connection_id":148520,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:10:22] local.INFO: Acknowledgment sent {"connection_id":148520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:10:38] local.INFO: TCP Data received {"connection_id":148521,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc0a2bb8012d1825800721b8c0004f014e24..."} 
[2026-08-01 12:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc0a2bb8012d1825800721b8c0004f014e24..."} 
[2026-08-01 12:10:38] local.INFO: Processing buffer {"connection_id":148521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc0a2bb8012d1825800721b8c0004f014e24..."} 
[2026-08-01 12:10:38] local.INFO: Packet analysis {"connection_id":148521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc0a"} 
[2026-08-01 12:10:38] local.INFO: Extracted packet for processing {"connection_id":148521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc0a"} 
[2026-08-01 12:10:38] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119650496,"longitude_deg":75.6557184,"latitude_deg":11.9650496,"altitude":79,"angle":334,"satellites":36,"speed":0,"hex_longitude":"2d182580","hex_latitude":"0721b8c0","is_valid_coordinates":true} 
[2026-08-01 12:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104944640001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10115232097632256,"note":"Value kept but may cause issues"} 
[2026-08-01 12:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599167447040,"note":"Value kept but may cause issues"} 
[2026-08-01 12:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785566211000,"timestamp_ms":1785566211000,"timestamp_seconds":1785566211,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc0a2bb8"} 
[2026-08-01 12:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-01 12:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":148521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":148521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":148521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:10:38] 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-08-01 12:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104944640001,"66":13048,"105":206,"83":41984,"24":0,"16":10115232097632256,"45":1739937599167447040},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104944640001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:10:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:10:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10115232097632256,"km_value":10115232097632.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599167447040,"description":"Unknown IO ID 45"} 
[2026-08-01 12:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104944640001,"power":13048,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739937599167447040}} 
[2026-08-01 12:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":148521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:10:38] local.INFO: GPS data processed {"connection_id":148521,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:10:38] local.INFO: Acknowledgment sent {"connection_id":148521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:10:44] local.INFO: TCP Data received {"connection_id":147203,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:10:44] local.INFO: Processing buffer {"connection_id":147203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:10:44] local.INFO: IMEI packet received {"connection_id":147203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":147203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:10:49] local.INFO: TCP Data received {"connection_id":147203,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:10:49] local.INFO: Processing buffer {"connection_id":147203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:10:49] local.INFO: IMEI packet received {"connection_id":147203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":147203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:10:50] local.INFO: TCP Data received {"connection_id":147203,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc0b1a00012d0d048006ead9880018007e29..."} 
[2026-08-01 12:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc0b1a00012d0d048006ead9880018007e29..."} 
[2026-08-01 12:10:50] local.INFO: Processing buffer {"connection_id":147203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc0b1a00012d0d048006ead9880018007e29..."} 
[2026-08-01 12:10:50] local.INFO: Packet analysis {"connection_id":147203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc0b"} 
[2026-08-01 12:10:50] local.INFO: Extracted packet for processing {"connection_id":147203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc0b"} 
[2026-08-01 12:10:50] local.INFO: GPS Element Parsed {"raw_longitude":755827840,"raw_latitude":116054408,"longitude_deg":75.582784,"latitude_deg":11.6054408,"altitude":24,"angle":126,"satellites":41,"speed":23,"hex_longitude":"2d0d0480","hex_latitude":"06ead988","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104961536001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366407053045923840,"note":"Value kept but may cause issues"} 
[2026-08-01 12:10:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":932315521321150464,"note":"Value kept but may cause issues"} 
[2026-08-01 12:10:50] 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-08-01 12:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785566272000,"timestamp_ms":1785566272000,"timestamp_seconds":1785566272,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc0b1a00"} 
[2026-08-01 12:10:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:10:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 12:10:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12: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-08-01 12:10:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:10:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104961536001,"66":27713,"83":206,"80":6400,"24":23,"16":366407053045923840,"45":932315521321150464},"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-08-01 12:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104961536001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:10:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:10:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366407053045923840,"km_value":366407053045923.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:10:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":932315521321150464,"description":"Unknown IO ID 45"} 
[2026-08-01 12:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104961536001,"power":27713,"unknown_83":206,"unknown_80":6400,"ignition":23,"odometer":null,"unknown_45":932315521321150464}} 
[2026-08-01 12:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":147203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:10:50] local.INFO: GPS data processed {"connection_id":147203,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:10:50] local.INFO: Acknowledgment sent {"connection_id":147203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:11:00] local.INFO: TCP Data received {"connection_id":145981,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:11:00] local.INFO: Processing buffer {"connection_id":145981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:11:00] local.INFO: IMEI packet received {"connection_id":145981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 12:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":145981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:11:03] local.INFO: TCP Data received {"connection_id":145981,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:11:03] local.INFO: Processing buffer {"connection_id":145981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:11:03] local.INFO: IMEI packet received {"connection_id":145981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":145981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:11:05] local.INFO: TCP Data received {"connection_id":145981,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:11:05] local.INFO: Processing buffer {"connection_id":145981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:11:05] local.INFO: IMEI packet received {"connection_id":145981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":145981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:11:06] local.INFO: TCP Data received {"connection_id":145981,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc0a7dc0012d1825800721b8c0004f014e22..."} 
[2026-08-01 12:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc0a7dc0012d1825800721b8c0004f014e22..."} 
[2026-08-01 12:11:06] local.INFO: Processing buffer {"connection_id":145981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc0a7dc0012d1825800721b8c0004f014e22..."} 
[2026-08-01 12:11:06] local.INFO: Packet analysis {"connection_id":145981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc0a"} 
[2026-08-01 12:11:06] local.INFO: Extracted packet for processing {"connection_id":145981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc0a"} 
[2026-08-01 12:11:06] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119650496,"longitude_deg":75.6557184,"latitude_deg":11.9650496,"altitude":79,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2d182580","hex_latitude":"0721b8c0","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104950016001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10115232097632256,"note":"Value kept but may cause issues"} 
[2026-08-01 12:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599167447040,"note":"Value kept but may cause issues"} 
[2026-08-01 12:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785566232000,"timestamp_ms":1785566232000,"timestamp_seconds":1785566232,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc0a7dc0"} 
[2026-08-01 12:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:11:06] 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-08-01 12: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-01 12:11: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-08-01 12: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-08-01 12:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:11:06] 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-08-01 12:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104950016001,"66":13004,"105":206,"83":41984,"24":0,"16":10115232097632256,"45":1739937599167447040},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104950016001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:11:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:11:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10115232097632256,"km_value":10115232097632.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599167447040,"description":"Unknown IO ID 45"} 
[2026-08-01 12:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104950016001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739937599167447040}} 
[2026-08-01 12:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":145981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:11:07] local.INFO: GPS data processed {"connection_id":145981,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:11:07] local.INFO: Acknowledgment sent {"connection_id":145981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:11:22] local.INFO: TCP Data received {"connection_id":147203,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc0b5c68012d0d238006eac540001c007528..."} 
[2026-08-01 12:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc0b5c68012d0d238006eac540001c007528..."} 
[2026-08-01 12:11:22] local.INFO: Processing buffer {"connection_id":147203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc0b5c68012d0d238006eac540001c007528..."} 
[2026-08-01 12:11:22] local.INFO: Packet analysis {"connection_id":147203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc0b"} 
[2026-08-01 12:11:22] local.INFO: Extracted packet for processing {"connection_id":147203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc0b"} 
[2026-08-01 12:11:22] local.INFO: GPS Element Parsed {"raw_longitude":755835776,"raw_latitude":116049216,"longitude_deg":75.5835776,"latitude_deg":11.6049216,"altitude":28,"angle":117,"satellites":40,"speed":24,"hex_longitude":"2d0d2380","hex_latitude":"06eac540","is_valid_coordinates":true} 
[2026-08-01 12:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104965632001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366407508312457216,"note":"Value kept but may cause issues"} 
[2026-08-01 12:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":938015389598189568,"note":"Value kept but may cause issues"} 
[2026-08-01 12:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785566289000,"timestamp_ms":1785566289000,"timestamp_seconds":1785566289,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc0b5c68"} 
[2026-08-01 12:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:11:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 12:11:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:11:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:11:22] 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-08-01 12:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104965632001,"66":27745,"83":206,"80":6400,"24":24,"16":366407508312457216,"45":938015389598189568},"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-08-01 12:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104965632001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:11:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:11:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366407508312457216,"km_value":366407508312457.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":938015389598189568,"description":"Unknown IO ID 45"} 
[2026-08-01 12:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104965632001,"power":27745,"unknown_83":206,"unknown_80":6400,"ignition":24,"odometer":null,"unknown_45":938015389598189568}} 
[2026-08-01 12:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":147203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:11:22] local.INFO: GPS data processed {"connection_id":147203,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:11:22] local.INFO: Acknowledgment sent {"connection_id":147203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:11:38] local.INFO: TCP Data received {"connection_id":145981,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc0ad3b0012d1825800721b8c0004f014e1f..."} 
[2026-08-01 12:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc0ad3b0012d1825800721b8c0004f014e1f..."} 
[2026-08-01 12:11:38] local.INFO: Processing buffer {"connection_id":145981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc0ad3b0012d1825800721b8c0004f014e1f..."} 
[2026-08-01 12:11:38] local.INFO: Packet analysis {"connection_id":145981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc0a"} 
[2026-08-01 12:11:38] local.INFO: Extracted packet for processing {"connection_id":145981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc0a"} 
[2026-08-01 12:11:38] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119650496,"longitude_deg":75.6557184,"latitude_deg":11.9650496,"altitude":79,"angle":334,"satellites":31,"speed":0,"hex_longitude":"2d182580","hex_latitude":"0721b8c0","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104955392001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10115232097632256,"note":"Value kept but may cause issues"} 
[2026-08-01 12:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599167447040,"note":"Value kept but may cause issues"} 
[2026-08-01 12:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785566254000,"timestamp_ms":1785566254000,"timestamp_seconds":1785566254,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc0ad3b0"} 
[2026-08-01 12:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-01 12:11:38] 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-08-01 12: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-08-01 12:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:11:38] 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-08-01 12:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104955392001,"66":12939,"105":206,"83":41984,"24":0,"16":10115232097632256,"45":1739937599167447040},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104955392001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:11:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:11:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10115232097632256,"km_value":10115232097632.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599167447040,"description":"Unknown IO ID 45"} 
[2026-08-01 12:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104955392001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739937599167447040}} 
[2026-08-01 12:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":145981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:11:38] local.INFO: GPS data processed {"connection_id":145981,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:11:38] local.INFO: Acknowledgment sent {"connection_id":145981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:11:44] local.INFO: TCP Data received {"connection_id":148522,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:11:44] local.INFO: Processing buffer {"connection_id":148522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:11:44] local.INFO: IMEI packet received {"connection_id":148522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":148522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:11:49] local.INFO: TCP Data received {"connection_id":148522,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:11:49] local.INFO: Processing buffer {"connection_id":148522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:11:49] local.INFO: IMEI packet received {"connection_id":148522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":148522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:11:50] local.INFO: TCP Data received {"connection_id":148522,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc0b8760012d0d3bc006eab7e8001c00892a..."} 
[2026-08-01 12:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc0b8760012d0d3bc006eab7e8001c00892a..."} 
[2026-08-01 12:11:50] local.INFO: Processing buffer {"connection_id":148522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc0b8760012d0d3bc006eab7e8001c00892a..."} 
[2026-08-01 12:11:50] local.INFO: Packet analysis {"connection_id":148522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc0b"} 
[2026-08-01 12:11:50] local.INFO: Extracted packet for processing {"connection_id":148522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc0b"} 
[2026-08-01 12:11:50] local.INFO: GPS Element Parsed {"raw_longitude":755841984,"raw_latitude":116045800,"longitude_deg":75.5841984,"latitude_deg":11.60458,"altitude":28,"angle":137,"satellites":42,"speed":21,"hex_longitude":"2d0d3bc0","hex_latitude":"06eab7e8","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104969984001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366407847614873600,"note":"Value kept but may cause issues"} 
[2026-08-01 12:11:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":946741113874890752,"note":"Value kept but may cause issues"} 
[2026-08-01 12:11:50] 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-08-01 12:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785566300000,"timestamp_ms":1785566300000,"timestamp_seconds":1785566300,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc0b8760"} 
[2026-08-01 12:11:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:11:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 12:11:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12: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-08-01 12:11:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:11:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104969984001,"66":27767,"83":206,"80":6400,"24":21,"16":366407847614873600,"45":946741113874890752},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-01 12:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104969984001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:11:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:11:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366407847614873600,"km_value":366407847614873.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:11:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":946741113874890752,"description":"Unknown IO ID 45"} 
[2026-08-01 12:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104969984001,"power":27767,"unknown_83":206,"unknown_80":6400,"ignition":21,"odometer":null,"unknown_45":946741113874890752}} 
[2026-08-01 12:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":148522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:11:50] local.INFO: GPS data processed {"connection_id":148522,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:11:50] local.INFO: Acknowledgment sent {"connection_id":148522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:12:00] local.INFO: TCP Data received {"connection_id":147204,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147204,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:12:00] local.INFO: Processing buffer {"connection_id":147204,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:12:00] local.INFO: IMEI packet received {"connection_id":147204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 12:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":147204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:12:06] local.INFO: TCP Data received {"connection_id":147204,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147204,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:12:06] local.INFO: Processing buffer {"connection_id":147204,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:12:06] local.INFO: IMEI packet received {"connection_id":147204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":147204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:12:06] local.INFO: TCP Data received {"connection_id":147204,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc0b25b8012d1825800721b8c0004f014e25..."} 
[2026-08-01 12:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc0b25b8012d1825800721b8c0004f014e25..."} 
[2026-08-01 12:12:06] local.INFO: Processing buffer {"connection_id":147204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc0b25b8012d1825800721b8c0004f014e25..."} 
[2026-08-01 12:12:06] local.INFO: Packet analysis {"connection_id":147204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc0b"} 
[2026-08-01 12:12:06] local.INFO: Extracted packet for processing {"connection_id":147204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc0b"} 
[2026-08-01 12:12:06] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119650496,"longitude_deg":75.6557184,"latitude_deg":11.9650496,"altitude":79,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2d182580","hex_latitude":"0721b8c0","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104961024001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10115232097632256,"note":"Value kept but may cause issues"} 
[2026-08-01 12:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599167447040,"note":"Value kept but may cause issues"} 
[2026-08-01 12:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785566275000,"timestamp_ms":1785566275000,"timestamp_seconds":1785566275,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc0b25b8"} 
[2026-08-01 12:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:12:06] 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-08-01 12: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-01 12:12:06] 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-08-01 12: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-08-01 12:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:12:06] 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-08-01 12:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104961024001,"66":12972,"105":206,"83":41984,"24":0,"16":10115232097632256,"45":1739937599167447040},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104961024001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:12:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:12:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10115232097632256,"km_value":10115232097632.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599167447040,"description":"Unknown IO ID 45"} 
[2026-08-01 12:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104961024001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739937599167447040}} 
[2026-08-01 12:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":147204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:12:07] local.INFO: GPS data processed {"connection_id":147204,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:12:07] local.INFO: Acknowledgment sent {"connection_id":147204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:12:21] local.INFO: TCP Data received {"connection_id":148522,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc0ba6a0012d0d474006eaa800001900942a..."} 
[2026-08-01 12:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc0ba6a0012d0d474006eaa800001900942a..."} 
[2026-08-01 12:12:21] local.INFO: Processing buffer {"connection_id":148522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc0ba6a0012d0d474006eaa800001900942a..."} 
[2026-08-01 12:12:21] local.INFO: Packet analysis {"connection_id":148522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc0b"} 
[2026-08-01 12:12:21] local.INFO: Extracted packet for processing {"connection_id":148522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc0b"} 
[2026-08-01 12:12:21] local.INFO: GPS Element Parsed {"raw_longitude":755844928,"raw_latitude":116041728,"longitude_deg":75.5844928,"latitude_deg":11.6041728,"altitude":25,"angle":148,"satellites":42,"speed":21,"hex_longitude":"2d0d4740","hex_latitude":"06eaa800","is_valid_coordinates":true} 
[2026-08-01 12:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104972800001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366408088133042176,"note":"Value kept but may cause issues"} 
[2026-08-01 12:12:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953566882059249664,"note":"Value kept but may cause issues"} 
[2026-08-01 12:12:21] 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-08-01 12:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785566308000,"timestamp_ms":1785566308000,"timestamp_seconds":1785566308,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc0ba6a0"} 
[2026-08-01 12:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:12:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 12:12:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:12:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:12:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104972800001,"66":27908,"83":206,"80":6400,"24":21,"16":366408088133042176,"45":953566882059249664},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-01 12:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104972800001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:12:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:12:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366408088133042176,"km_value":366408088133042.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:12:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":953566882059249664,"description":"Unknown IO ID 45"} 
[2026-08-01 12:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104972800001,"power":27908,"unknown_83":206,"unknown_80":6400,"ignition":21,"odometer":null,"unknown_45":953566882059249664}} 
[2026-08-01 12:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":148522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:12:21] local.INFO: GPS data processed {"connection_id":148522,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:12:21] local.INFO: Acknowledgment sent {"connection_id":148522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:12:38] local.INFO: TCP Data received {"connection_id":147204,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc0b77c0012d1825800721b8c0004f014e26..."} 
[2026-08-01 12:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc0b77c0012d1825800721b8c0004f014e26..."} 
[2026-08-01 12:12:38] local.INFO: Processing buffer {"connection_id":147204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc0b77c0012d1825800721b8c0004f014e26..."} 
[2026-08-01 12:12:38] local.INFO: Packet analysis {"connection_id":147204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc0b"} 
[2026-08-01 12:12:38] local.INFO: Extracted packet for processing {"connection_id":147204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc0b"} 
[2026-08-01 12:12:38] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119650496,"longitude_deg":75.6557184,"latitude_deg":11.9650496,"altitude":79,"angle":334,"satellites":38,"speed":0,"hex_longitude":"2d182580","hex_latitude":"0721b8c0","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104966400001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10115232097632256,"note":"Value kept but may cause issues"} 
[2026-08-01 12:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599167447040,"note":"Value kept but may cause issues"} 
[2026-08-01 12:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785566296000,"timestamp_ms":1785566296000,"timestamp_seconds":1785566296,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc0b77c0"} 
[2026-08-01 12:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-01 12:12:38] 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-08-01 12: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-08-01 12:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":147204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":147204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":147204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:12:38] 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-08-01 12:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104966400001,"66":12950,"105":206,"83":41984,"24":0,"16":10115232097632256,"45":1739937599167447040},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104966400001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:12:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:12:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10115232097632256,"km_value":10115232097632.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599167447040,"description":"Unknown IO ID 45"} 
[2026-08-01 12:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104966400001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739937599167447040}} 
[2026-08-01 12:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":147204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577009,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:12:38] local.INFO: GPS data processed {"connection_id":147204,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:12:38] local.INFO: Acknowledgment sent {"connection_id":147204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:12:49] local.INFO: TCP Data received {"connection_id":148523,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:12:49] local.INFO: Processing buffer {"connection_id":148523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:12:49] local.INFO: IMEI packet received {"connection_id":148523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":148523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:12:54] local.INFO: TCP Data received {"connection_id":148523,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:12:54] local.INFO: Processing buffer {"connection_id":148523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:12:54] local.INFO: IMEI packet received {"connection_id":148523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":148523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:12:55] local.INFO: TCP Data received {"connection_id":148523,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc0bd968012d0d550006ea8e680014009f25..."} 
[2026-08-01 12:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc0bd968012d0d550006ea8e680014009f25..."} 
[2026-08-01 12:12:55] local.INFO: Processing buffer {"connection_id":148523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc0bd968012d0d550006ea8e680014009f25..."} 
[2026-08-01 12:12:55] local.INFO: Packet analysis {"connection_id":148523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc0b"} 
[2026-08-01 12:12:55] local.INFO: Extracted packet for processing {"connection_id":148523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc0b"} 
[2026-08-01 12:12:55] local.INFO: GPS Element Parsed {"raw_longitude":755848448,"raw_latitude":116035176,"longitude_deg":75.5848448,"latitude_deg":11.6035176,"altitude":20,"angle":159,"satellites":37,"speed":27,"hex_longitude":"2d0d5500","hex_latitude":"06ea8e68","is_valid_coordinates":true} 
[2026-08-01 12:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104974848001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366408448910295040,"note":"Value kept but may cause issues"} 
[2026-08-01 12:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":956803844290379776,"note":"Value kept but may cause issues"} 
[2026-08-01 12:12:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785566321000,"timestamp_ms":1785566321000,"timestamp_seconds":1785566321,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc0bd968"} 
[2026-08-01 12:12:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:12:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 12:12:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:12:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:12:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104974848001,"66":27876,"83":206,"80":6400,"24":27,"16":366408448910295040,"45":956803844290379776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-01 12:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104974848001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:12:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:12:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366408448910295040,"km_value":366408448910295.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":956803844290379776,"description":"Unknown IO ID 45"} 
[2026-08-01 12:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104974848001,"power":27876,"unknown_83":206,"unknown_80":6400,"ignition":27,"odometer":null,"unknown_45":956803844290379776}} 
[2026-08-01 12:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":148523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:12:55] local.INFO: GPS data processed {"connection_id":148523,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:12:55] local.INFO: Acknowledgment sent {"connection_id":148523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:13:00] local.INFO: TCP Data received {"connection_id":145982,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:13:00] local.INFO: Processing buffer {"connection_id":145982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:13:00] local.INFO: IMEI packet received {"connection_id":145982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 12:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":145982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:13:06] local.INFO: TCP Data received {"connection_id":145982,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:13:06] local.INFO: Processing buffer {"connection_id":145982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:13:06] local.INFO: IMEI packet received {"connection_id":145982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":145982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:13:06] local.INFO: TCP Data received {"connection_id":145982,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc0bc9c8012d1825800721b8c0004f014e28..."} 
[2026-08-01 12:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc0bc9c8012d1825800721b8c0004f014e28..."} 
[2026-08-01 12:13:06] local.INFO: Processing buffer {"connection_id":145982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc0bc9c8012d1825800721b8c0004f014e28..."} 
[2026-08-01 12:13:06] local.INFO: Packet analysis {"connection_id":145982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc0b"} 
[2026-08-01 12:13:06] local.INFO: Extracted packet for processing {"connection_id":145982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc0b"} 
[2026-08-01 12:13:06] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119650496,"longitude_deg":75.6557184,"latitude_deg":11.9650496,"altitude":79,"angle":334,"satellites":40,"speed":0,"hex_longitude":"2d182580","hex_latitude":"0721b8c0","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104971776001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10115232097632256,"note":"Value kept but may cause issues"} 
[2026-08-01 12:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599167447040,"note":"Value kept but may cause issues"} 
[2026-08-01 12:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785566317000,"timestamp_ms":1785566317000,"timestamp_seconds":1785566317,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc0bc9c8"} 
[2026-08-01 12:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:13:06] 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-08-01 12: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-01 12:13:06] 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-08-01 12: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-08-01 12:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:13:06] 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-08-01 12:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104971776001,"66":12939,"105":206,"83":41984,"24":0,"16":10115232097632256,"45":1739937599167447040},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104971776001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:13:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:13:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10115232097632256,"km_value":10115232097632.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599167447040,"description":"Unknown IO ID 45"} 
[2026-08-01 12:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104971776001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739937599167447040}} 
[2026-08-01 12:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":145982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:13:06] local.INFO: GPS data processed {"connection_id":145982,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:13:06] local.INFO: Acknowledgment sent {"connection_id":145982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:13:38] local.INFO: TCP Data received {"connection_id":145982,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc0f05e8012d1823000721b598005000d827..."} 
[2026-08-01 12:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc0f05e8012d1823000721b598005000d827..."} 
[2026-08-01 12:13:38] local.INFO: Processing buffer {"connection_id":145982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc0f05e8012d1823000721b598005000d827..."} 
[2026-08-01 12:13:38] local.INFO: Packet analysis {"connection_id":145982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc0f"} 
[2026-08-01 12:13:38] local.INFO: Extracted packet for processing {"connection_id":145982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc0f"} 
[2026-08-01 12:13:38] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649688,"longitude_deg":75.6556544,"latitude_deg":11.9649688,"altitude":80,"angle":216,"satellites":39,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b598","is_valid_coordinates":true} 
[2026-08-01 12:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105026048001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10115287932207104,"note":"Value kept but may cause issues"} 
[2026-08-01 12:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725463552,"note":"Value kept but may cause issues"} 
[2026-08-01 12:13:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785566529000,"timestamp_ms":1785566529000,"timestamp_seconds":1785566529,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc0f05e8"} 
[2026-08-01 12:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:13: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-08-01 12:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-01 12:13:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:13:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:13:38] 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-08-01 12:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105026048001,"66":12711,"105":206,"83":41984,"24":0,"16":10115287932207104,"45":1739233911725463552},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105026048001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:13:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:13:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10115287932207104,"km_value":10115287932207.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725463552,"description":"Unknown IO ID 45"} 
[2026-08-01 12:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105026048001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725463552}} 
[2026-08-01 12:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":145982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577012,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:13:38] local.INFO: GPS data processed {"connection_id":145982,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:13:38] local.INFO: Acknowledgment sent {"connection_id":145982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:13:44] local.INFO: TCP Data received {"connection_id":148523,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc0be908012d0d57c006ea8648001300ad25..."} 
[2026-08-01 12:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc0be908012d0d57c006ea8648001300ad25..."} 
[2026-08-01 12:13:44] local.INFO: Processing buffer {"connection_id":148523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc0be908012d0d57c006ea8648001300ad25..."} 
[2026-08-01 12:13:44] local.INFO: Packet analysis {"connection_id":148523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc0b"} 
[2026-08-01 12:13:44] local.INFO: Extracted packet for processing {"connection_id":148523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc0b"} 
[2026-08-01 12:13:44] local.INFO: GPS Element Parsed {"raw_longitude":755849152,"raw_latitude":116033096,"longitude_deg":75.5849152,"latitude_deg":11.6033096,"altitude":19,"angle":173,"satellites":37,"speed":20,"hex_longitude":"2d0d57c0","hex_latitude":"06ea8648","is_valid_coordinates":true} 
[2026-08-01 12:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104978176001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366408556284477440,"note":"Value kept but may cause issues"} 
[2026-08-01 12:13:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":960674125218473984,"note":"Value kept but may cause issues"} 
[2026-08-01 12:13:44] 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-08-01 12:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785566325000,"timestamp_ms":1785566325000,"timestamp_seconds":1785566325,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc0be908"} 
[2026-08-01 12:13:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:13:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 12:13:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:13:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:13:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":148523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":148523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":148523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:13:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104978176001,"66":27767,"83":206,"80":6400,"24":20,"16":366408556284477440,"45":960674125218473984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-01 12:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104978176001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:13:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:13:44] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366408556284477440,"km_value":366408556284477.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:13:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":960674125218473984,"description":"Unknown IO ID 45"} 
[2026-08-01 12:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104978176001,"power":27767,"unknown_83":206,"unknown_80":6400,"ignition":20,"odometer":null,"unknown_45":960674125218473984}} 
[2026-08-01 12:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":148523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:13:44] local.INFO: GPS data processed {"connection_id":148523,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:13:44] local.INFO: Acknowledgment sent {"connection_id":148523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:13:49] local.INFO: TCP Data received {"connection_id":146200,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:13:49] local.INFO: Processing buffer {"connection_id":146200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:13:49] local.INFO: IMEI packet received {"connection_id":146200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":146200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:13:55] local.INFO: TCP Data received {"connection_id":146200,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:13:55] local.INFO: Processing buffer {"connection_id":146200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:13:55] local.INFO: IMEI packet received {"connection_id":146200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":146200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:13:56] local.INFO: TCP Data received {"connection_id":146200,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc0c3340012d0d5a4006ea6328000e00b426..."} 
[2026-08-01 12:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc0c3340012d0d5a4006ea6328000e00b426..."} 
[2026-08-01 12:13:56] local.INFO: Processing buffer {"connection_id":146200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc0c3340012d0d5a4006ea6328000e00b426..."} 
[2026-08-01 12:13:56] local.INFO: Packet analysis {"connection_id":146200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc0c"} 
[2026-08-01 12:13:56] local.INFO: Extracted packet for processing {"connection_id":146200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc0c"} 
[2026-08-01 12:13:56] local.INFO: GPS Element Parsed {"raw_longitude":755849792,"raw_latitude":116024104,"longitude_deg":75.5849792,"latitude_deg":11.6024104,"altitude":14,"angle":180,"satellites":38,"speed":14,"hex_longitude":"2d0d5a40","hex_latitude":"06ea6328","is_valid_coordinates":true} 
[2026-08-01 12:13:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104979200001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366408994371141632,"note":"Value kept but may cause issues"} 
[2026-08-01 12:13:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":961448181403895808,"note":"Value kept but may cause issues"} 
[2026-08-01 12:13:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785566344000,"timestamp_ms":1785566344000,"timestamp_seconds":1785566344,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc0c3340"} 
[2026-08-01 12:13:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:13:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12:13:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 12:13:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:13:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:13:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":146200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":146200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":146200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:13:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104979200001,"66":27626,"83":206,"80":6400,"24":14,"16":366408994371141632,"45":961448181403895808},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-01 12:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104979200001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:13:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:13:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366408994371141632,"km_value":366408994371141.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:13:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":961448181403895808,"description":"Unknown IO ID 45"} 
[2026-08-01 12:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104979200001,"power":27626,"unknown_83":206,"unknown_80":6400,"ignition":14,"odometer":null,"unknown_45":961448181403895808}} 
[2026-08-01 12:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":146200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:13:56] local.INFO: GPS data processed {"connection_id":146200,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:13:56] local.INFO: Acknowledgment sent {"connection_id":146200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:14:06] local.INFO: TCP Data received {"connection_id":147205,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:14:06] local.INFO: Processing buffer {"connection_id":147205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:14:06] local.INFO: IMEI packet received {"connection_id":147205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 12:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":147205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:14:11] local.INFO: TCP Data received {"connection_id":147205,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:14:11] local.INFO: Processing buffer {"connection_id":147205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:14:11] local.INFO: IMEI packet received {"connection_id":147205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":147205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:14:11] local.INFO: TCP Data received {"connection_id":147205,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc0f5bd8012d1823000721b598005000d827..."} 
[2026-08-01 12:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc0f5bd8012d1823000721b598005000d827..."} 
[2026-08-01 12:14:11] local.INFO: Processing buffer {"connection_id":147205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc0f5bd8012d1823000721b598005000d827..."} 
[2026-08-01 12:14:11] local.INFO: Packet analysis {"connection_id":147205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc0f"} 
[2026-08-01 12:14:11] local.INFO: Extracted packet for processing {"connection_id":147205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc0f"} 
[2026-08-01 12:14:11] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649688,"longitude_deg":75.6556544,"latitude_deg":11.9649688,"altitude":80,"angle":216,"satellites":39,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b598","is_valid_coordinates":true} 
[2026-08-01 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-08-01 12:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105031424001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10115287932207104,"note":"Value kept but may cause issues"} 
[2026-08-01 12:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725463552,"note":"Value kept but may cause issues"} 
[2026-08-01 12:14: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-08-01 12:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785566551000,"timestamp_ms":1785566551000,"timestamp_seconds":1785566551,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc0f5bd8"} 
[2026-08-01 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-08-01 12:14: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-08-01 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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-01 12:14: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-08-01 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-08-01 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-08-01 12:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":147205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":147205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":147205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:14: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-08-01 12:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105031424001,"66":12722,"105":206,"83":41984,"24":0,"16":10115287932207104,"45":1739233911725463552},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105031424001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:14:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:14:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10115287932207104,"km_value":10115287932207.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725463552,"description":"Unknown IO ID 45"} 
[2026-08-01 12:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105031424001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725463552}} 
[2026-08-01 12:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":147205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:14:11] local.INFO: GPS data processed {"connection_id":147205,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:14:11] local.INFO: Acknowledgment sent {"connection_id":147205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:14:12] local.INFO: TCP Data received {"connection_id":147205,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc0fade0012d1823000721b598005000d826..."} 
[2026-08-01 12:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc0fade0012d1823000721b598005000d826..."} 
[2026-08-01 12:14:12] local.INFO: Processing buffer {"connection_id":147205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc0fade0012d1823000721b598005000d826..."} 
[2026-08-01 12:14:12] local.INFO: Packet analysis {"connection_id":147205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc0f"} 
[2026-08-01 12:14:12] local.INFO: Extracted packet for processing {"connection_id":147205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc0f"} 
[2026-08-01 12:14:12] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649688,"longitude_deg":75.6556544,"latitude_deg":11.9649688,"altitude":80,"angle":216,"satellites":38,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b598","is_valid_coordinates":true} 
[2026-08-01 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-08-01 12:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105037056001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10115287932207104,"note":"Value kept but may cause issues"} 
[2026-08-01 12:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725463552,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 12:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785566572000,"timestamp_ms":1785566572000,"timestamp_seconds":1785566572,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc0fade0"} 
[2026-08-01 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-08-01 12:14:12] 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-08-01 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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-01 12:14:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 12:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":147205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":147205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":147205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:14:12] 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-08-01 12:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105037056001,"66":12711,"105":206,"83":41984,"24":0,"16":10115287932207104,"45":1739233911725463552},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105037056001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:14:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:14:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10115287932207104,"km_value":10115287932207.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:14:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725463552,"description":"Unknown IO ID 45"} 
[2026-08-01 12:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105037056001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725463552}} 
[2026-08-01 12:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":147205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577016,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:14:12] local.INFO: GPS data processed {"connection_id":147205,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:14:12] local.INFO: Acknowledgment sent {"connection_id":147205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:14:27] local.INFO: TCP Data received {"connection_id":146200,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc0c5e38012d0d5c0006ea5338000e00a627..."} 
[2026-08-01 12:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc0c5e38012d0d5c0006ea5338000e00a627..."} 
[2026-08-01 12:14:27] local.INFO: Processing buffer {"connection_id":146200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc0c5e38012d0d5c0006ea5338000e00a627..."} 
[2026-08-01 12:14:27] local.INFO: Packet analysis {"connection_id":146200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc0c"} 
[2026-08-01 12:14:27] local.INFO: Extracted packet for processing {"connection_id":146200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc0c"} 
[2026-08-01 12:14:27] local.INFO: GPS Element Parsed {"raw_longitude":755850240,"raw_latitude":116020024,"longitude_deg":75.585024,"latitude_deg":11.6020024,"altitude":14,"angle":166,"satellites":39,"speed":15,"hex_longitude":"2d0d5c00","hex_latitude":"06ea5338","is_valid_coordinates":true} 
[2026-08-01 12:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104984064001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366409196234604544,"note":"Value kept but may cause issues"} 
[2026-08-01 12:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":962151868843370496,"note":"Value kept but may cause issues"} 
[2026-08-01 12:14:27] 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-08-01 12:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785566355000,"timestamp_ms":1785566355000,"timestamp_seconds":1785566355,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc0c5e38"} 
[2026-08-01 12:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:14: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-08-01 12:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-01 12:14:27] 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-08-01 12:14:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":146200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":146200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":146200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104984064001,"66":27767,"83":206,"80":6400,"24":15,"16":366409196234604544,"45":962151868843370496},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-01 12:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104984064001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:14:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:14:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366409196234604544,"km_value":366409196234604.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":962151868843370496,"description":"Unknown IO ID 45"} 
[2026-08-01 12:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104984064001,"power":27767,"unknown_83":206,"unknown_80":6400,"ignition":15,"odometer":null,"unknown_45":962151868843370496}} 
[2026-08-01 12:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":146200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:14:27] local.INFO: GPS data processed {"connection_id":146200,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:14:27] local.INFO: Acknowledgment sent {"connection_id":146200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:14:43] local.INFO: TCP Data received {"connection_id":147205,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc0fffe8012d1823000721b598005000d827..."} 
[2026-08-01 12:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc0fffe8012d1823000721b598005000d827..."} 
[2026-08-01 12:14:43] local.INFO: Processing buffer {"connection_id":147205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc0fffe8012d1823000721b598005000d827..."} 
[2026-08-01 12:14:43] local.INFO: Packet analysis {"connection_id":147205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc0f"} 
[2026-08-01 12:14:43] local.INFO: Extracted packet for processing {"connection_id":147205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc0f"} 
[2026-08-01 12:14:43] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649688,"longitude_deg":75.6556544,"latitude_deg":11.9649688,"altitude":80,"angle":216,"satellites":39,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b598","is_valid_coordinates":true} 
[2026-08-01 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-08-01 12:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105042432001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10115287932207104,"note":"Value kept but may cause issues"} 
[2026-08-01 12:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725463552,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 12:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785566593000,"timestamp_ms":1785566593000,"timestamp_seconds":1785566593,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc0fffe8"} 
[2026-08-01 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-08-01 12:14: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-08-01 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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-01 12:14:43] 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-08-01 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-08-01 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-08-01 12:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":147205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":147205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":147205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:14:43] 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-08-01 12:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105042432001,"66":12613,"105":206,"83":41984,"24":0,"16":10115287932207104,"45":1739233911725463552},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105042432001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:14:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:14:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10115287932207104,"km_value":10115287932207.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725463552,"description":"Unknown IO ID 45"} 
[2026-08-01 12:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105042432001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725463552}} 
[2026-08-01 12:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":147205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:14:43] local.INFO: GPS data processed {"connection_id":147205,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:14:43] local.INFO: Acknowledgment sent {"connection_id":147205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:14:44] local.INFO: TCP Data received {"connection_id":148524,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:14:44] local.INFO: Processing buffer {"connection_id":148524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:14:44] local.INFO: IMEI packet received {"connection_id":148524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":148524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:14:49] local.INFO: TCP Data received {"connection_id":148524,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:14:49] local.INFO: Processing buffer {"connection_id":148524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:14:49] local.INFO: IMEI packet received {"connection_id":148524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":148524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:14:50] local.INFO: TCP Data received {"connection_id":148524,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc0ca870012d0d618006ea3110001100b028..."} 
[2026-08-01 12:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc0ca870012d0d618006ea3110001100b028..."} 
[2026-08-01 12:14:50] local.INFO: Processing buffer {"connection_id":148524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc0ca870012d0d618006ea3110001100b028..."} 
[2026-08-01 12:14:50] local.INFO: Packet analysis {"connection_id":148524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc0c"} 
[2026-08-01 12:14:50] local.INFO: Extracted packet for processing {"connection_id":148524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc0c"} 
[2026-08-01 12:14:50] local.INFO: GPS Element Parsed {"raw_longitude":755851648,"raw_latitude":116011280,"longitude_deg":75.5851648,"latitude_deg":11.601128,"altitude":17,"angle":176,"satellites":40,"speed":18,"hex_longitude":"2d0d6180","hex_latitude":"06ea3110","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104986880001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366409625731334144,"note":"Value kept but may cause issues"} 
[2026-08-01 12:14:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":962644450051569664,"note":"Value kept but may cause issues"} 
[2026-08-01 12:14:50] 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-08-01 12:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785566374000,"timestamp_ms":1785566374000,"timestamp_seconds":1785566374,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc0ca870"} 
[2026-08-01 12:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:14:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 12:14:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12: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-08-01 12:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:14:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104986880001,"66":27800,"83":206,"80":6400,"24":18,"16":366409625731334144,"45":962644450051569664},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-01 12:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104986880001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:14:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:14:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366409625731334144,"km_value":366409625731334.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:14:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":962644450051569664,"description":"Unknown IO ID 45"} 
[2026-08-01 12:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104986880001,"power":27800,"unknown_83":206,"unknown_80":6400,"ignition":18,"odometer":null,"unknown_45":962644450051569664}} 
[2026-08-01 12:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":148524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:14:50] local.INFO: GPS data processed {"connection_id":148524,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:14:50] local.INFO: Acknowledgment sent {"connection_id":148524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:15:01] local.INFO: TCP Data received {"connection_id":147206,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147206,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:15:01] local.INFO: Processing buffer {"connection_id":147206,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:15:01] local.INFO: IMEI packet received {"connection_id":147206,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 12:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":147206,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:15:06] local.INFO: TCP Data received {"connection_id":147206,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147206,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:15:06] local.INFO: Processing buffer {"connection_id":147206,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:15:06] local.INFO: IMEI packet received {"connection_id":147206,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":147206,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:15:06] local.INFO: TCP Data received {"connection_id":147206,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc1051f0012d1823000721b598005000d826..."} 
[2026-08-01 12:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc1051f0012d1823000721b598005000d826..."} 
[2026-08-01 12:15:06] local.INFO: Processing buffer {"connection_id":147206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc1051f0012d1823000721b598005000d826..."} 
[2026-08-01 12:15:06] local.INFO: Packet analysis {"connection_id":147206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc10"} 
[2026-08-01 12:15:06] local.INFO: Extracted packet for processing {"connection_id":147206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc10"} 
[2026-08-01 12:15:06] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649688,"longitude_deg":75.6556544,"latitude_deg":11.9649688,"altitude":80,"angle":216,"satellites":38,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b598","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105047808001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10115287932207104,"note":"Value kept but may cause issues"} 
[2026-08-01 12:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725463552,"note":"Value kept but may cause issues"} 
[2026-08-01 12:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785566614000,"timestamp_ms":1785566614000,"timestamp_seconds":1785566614,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc1051f0"} 
[2026-08-01 12:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-01 12:15:06] 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-08-01 12: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-08-01 12:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:15:06] 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-08-01 12:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105047808001,"66":12526,"105":206,"83":41984,"24":0,"16":10115287932207104,"45":1739233911725463552},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105047808001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:15:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:15:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10115287932207104,"km_value":10115287932207.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725463552,"description":"Unknown IO ID 45"} 
[2026-08-01 12:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105047808001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725463552}} 
[2026-08-01 12:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":147206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577020,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:15:06] local.INFO: GPS data processed {"connection_id":147206,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:15:06] local.INFO: Acknowledgment sent {"connection_id":147206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:15:21] local.INFO: TCP Data received {"connection_id":148524,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc0cfa78012d0d62c006ea1110001400b827..."} 
[2026-08-01 12:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc0cfa78012d0d62c006ea1110001400b827..."} 
[2026-08-01 12:15:21] local.INFO: Processing buffer {"connection_id":148524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc0cfa78012d0d62c006ea1110001400b827..."} 
[2026-08-01 12:15:21] local.INFO: Packet analysis {"connection_id":148524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc0c"} 
[2026-08-01 12:15:21] local.INFO: Extracted packet for processing {"connection_id":148524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc0c"} 
[2026-08-01 12:15:21] local.INFO: GPS Element Parsed {"raw_longitude":755851968,"raw_latitude":116003088,"longitude_deg":75.5851968,"latitude_deg":11.6003088,"altitude":20,"angle":184,"satellites":39,"speed":13,"hex_longitude":"2d0d62c0","hex_latitude":"06ea1110","is_valid_coordinates":true} 
[2026-08-01 12:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104991744001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410025163292672,"note":"Value kept but may cause issues"} 
[2026-08-01 12:15:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964192562421239808,"note":"Value kept but may cause issues"} 
[2026-08-01 12:15:21] 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-08-01 12:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785566395000,"timestamp_ms":1785566395000,"timestamp_seconds":1785566395,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc0cfa78"} 
[2026-08-01 12:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 12:15:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:15:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104991744001,"66":27930,"83":206,"80":6400,"24":13,"16":366410025163292672,"45":964192562421239808},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-01 12:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104991744001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:15:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:15:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410025163292672,"km_value":366410025163292.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:15:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":964192562421239808,"description":"Unknown IO ID 45"} 
[2026-08-01 12:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104991744001,"power":27930,"unknown_83":206,"unknown_80":6400,"ignition":13,"odometer":null,"unknown_45":964192562421239808}} 
[2026-08-01 12:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":148524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:15:21] local.INFO: GPS data processed {"connection_id":148524,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:15:21] local.INFO: Acknowledgment sent {"connection_id":148524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:15:37] local.INFO: TCP Data received {"connection_id":147206,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc10a3f8012d1823000721b598005000d827..."} 
[2026-08-01 12:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc10a3f8012d1823000721b598005000d827..."} 
[2026-08-01 12:15:37] local.INFO: Processing buffer {"connection_id":147206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc10a3f8012d1823000721b598005000d827..."} 
[2026-08-01 12:15:37] local.INFO: Packet analysis {"connection_id":147206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc10"} 
[2026-08-01 12:15:37] local.INFO: Extracted packet for processing {"connection_id":147206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc10"} 
[2026-08-01 12:15:37] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649688,"longitude_deg":75.6556544,"latitude_deg":11.9649688,"altitude":80,"angle":216,"satellites":39,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b598","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105053184001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10115287932207104,"note":"Value kept but may cause issues"} 
[2026-08-01 12:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725463552,"note":"Value kept but may cause issues"} 
[2026-08-01 12:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785566635000,"timestamp_ms":1785566635000,"timestamp_seconds":1785566635,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc10a3f8"} 
[2026-08-01 12:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-01 12:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12: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-08-01 12:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:15:37] 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-08-01 12:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105053184001,"66":12558,"105":206,"83":41984,"24":0,"16":10115287932207104,"45":1739233911725463552},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105053184001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:15:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:15:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10115287932207104,"km_value":10115287932207.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725463552,"description":"Unknown IO ID 45"} 
[2026-08-01 12:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105053184001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725463552}} 
[2026-08-01 12:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":147206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577022,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:15:37] local.INFO: GPS data processed {"connection_id":147206,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:15:37] local.INFO: Acknowledgment sent {"connection_id":147206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:15:49] local.INFO: TCP Data received {"connection_id":147207,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:15:49] local.INFO: Processing buffer {"connection_id":147207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:15:49] local.INFO: IMEI packet received {"connection_id":147207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":147207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:15:54] local.INFO: TCP Data received {"connection_id":147207,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:15:54] local.INFO: Processing buffer {"connection_id":147207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:15:54] local.INFO: IMEI packet received {"connection_id":147207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":147207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:15:55] local.INFO: TCP Data received {"connection_id":147207,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc0d0248012d0d628006ea0e68001400b427..."} 
[2026-08-01 12:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc0d0248012d0d628006ea0e68001400b427..."} 
[2026-08-01 12:15:55] local.INFO: Processing buffer {"connection_id":147207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc0d0248012d0d628006ea0e68001400b427..."} 
[2026-08-01 12:15:55] local.INFO: Packet analysis {"connection_id":147207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc0d"} 
[2026-08-01 12:15:55] local.INFO: Extracted packet for processing {"connection_id":147207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc0d"} 
[2026-08-01 12:15:55] local.INFO: GPS Element Parsed {"raw_longitude":755851904,"raw_latitude":116002408,"longitude_deg":75.5851904,"latitude_deg":11.6002408,"altitude":20,"angle":180,"satellites":39,"speed":12,"hex_longitude":"2d0d6280","hex_latitude":"06ea0e68","is_valid_coordinates":true} 
[2026-08-01 12:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104997120001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964544406140030976,"note":"Value kept but may cause issues"} 
[2026-08-01 12:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785566397000,"timestamp_ms":1785566397000,"timestamp_seconds":1785566397,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc0d0248"} 
[2026-08-01 12:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:15: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-08-01 12:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-01 12:15:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:15:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":147207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":147207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":147207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104997120001,"66":27843,"83":206,"80":6400,"24":12,"16":366410055228063744,"45":964544406140030976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-01 12:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104997120001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:15:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:15:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":964544406140030976,"description":"Unknown IO ID 45"} 
[2026-08-01 12:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104997120001,"power":27843,"unknown_83":206,"unknown_80":6400,"ignition":12,"odometer":null,"unknown_45":964544406140030976}} 
[2026-08-01 12:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":147207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:15:55] local.INFO: GPS data processed {"connection_id":147207,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:15:55] local.INFO: Acknowledgment sent {"connection_id":147207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:16:01] local.INFO: TCP Data received {"connection_id":146201,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:16:01] local.INFO: Processing buffer {"connection_id":146201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:16:01] local.INFO: IMEI packet received {"connection_id":146201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 12:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":146201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:16:06] local.INFO: TCP Data received {"connection_id":146201,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:16:06] local.INFO: Processing buffer {"connection_id":146201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:16:06] local.INFO: IMEI packet received {"connection_id":146201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":146201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:16:06] local.INFO: TCP Data received {"connection_id":146201,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc10f218012d1821000721b250004f00d827..."} 
[2026-08-01 12:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc10f218012d1821000721b250004f00d827..."} 
[2026-08-01 12:16:06] local.INFO: Processing buffer {"connection_id":146201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc10f218012d1821000721b250004f00d827..."} 
[2026-08-01 12:16:06] local.INFO: Packet analysis {"connection_id":146201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc10"} 
[2026-08-01 12:16:06] local.INFO: Extracted packet for processing {"connection_id":146201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc10"} 
[2026-08-01 12:16:06] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648848,"longitude_deg":75.6556032,"latitude_deg":11.9648848,"altitude":79,"angle":216,"satellites":39,"speed":2,"hex_longitude":"2d182100","hex_latitude":"0721b250","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105058560001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10115335176847360,"note":"Value kept but may cause issues"} 
[2026-08-01 12:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725463552,"note":"Value kept but may cause issues"} 
[2026-08-01 12:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785566655000,"timestamp_ms":1785566655000,"timestamp_seconds":1785566655,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc10f218"} 
[2026-08-01 12:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-01 12:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-01 12:16:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-01 12:16:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 12:16:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3155080160,"note":"Value kept but may cause issues"} 
[2026-08-01 12:16:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249385614174434712,"note":"Value kept but may cause issues"} 
[2026-08-01 12:16:06] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3046637648,"note":"Value kept but may cause issues"} 
[2026-08-01 12:16:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-01 12:16:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3892391192,"note":"Value kept but may cause issues"} 
[2026-08-01 12:16:06] local.WARNING: Large IO value detected {"io_id":35,"raw_value":4023189504,"note":"Value kept but may cause issues"} 
[2026-08-01 12:16:06] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2801847658,"note":"Value kept but may cause issues"} 
[2026-08-01 12:16:06] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-01 12:16:06] local.WARNING: Large IO value detected {"io_id":63,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-01 12:16:06] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-01 12:16:06] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,239,159,81,45,181,80,38,10,66,255,39,173,1,240,167,227,188,33,4,113,205,5,35,152,49,2,7,106,63,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-01 12:16:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5764845185049559040,"timestamp_seconds":5764845185049559.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 12:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:16:06] 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-08-01 12:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105058560001,"66":12526,"105":206,"83":41984,"24":2,"16":10115335176847360,"45":1739233911725463552},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105058560001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:16:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:16:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10115335176847360,"km_value":10115335176847.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725463552,"description":"Unknown IO ID 45"} 
[2026-08-01 12:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105058560001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1739233911725463552}} 
[2026-08-01 12:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":146201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:16:06] local.INFO: GPS data processed {"connection_id":146201,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:16:06] local.INFO: Acknowledgment sent {"connection_id":146201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:16:27] local.INFO: TCP Data received {"connection_id":147207,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc0d15d0012d0d628006ea0910001400c227..."} 
[2026-08-01 12:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc0d15d0012d0d628006ea0910001400c227..."} 
[2026-08-01 12:16:27] local.INFO: Processing buffer {"connection_id":147207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc0d15d0012d0d628006ea0910001400c227..."} 
[2026-08-01 12:16:27] local.INFO: Packet analysis {"connection_id":147207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc0d"} 
[2026-08-01 12:16:27] local.INFO: Extracted packet for processing {"connection_id":147207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc0d"} 
[2026-08-01 12:16:27] local.INFO: GPS Element Parsed {"raw_longitude":755851904,"raw_latitude":116001040,"longitude_deg":75.5851904,"latitude_deg":11.600104,"altitude":20,"angle":194,"satellites":39,"speed":0,"hex_longitude":"2d0d6280","hex_latitude":"06ea0910","is_valid_coordinates":true} 
[2026-08-01 12:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104997632001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964474037395679232,"note":"Value kept but may cause issues"} 
[2026-08-01 12:16:27] 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-08-01 12:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785566402000,"timestamp_ms":1785566402000,"timestamp_seconds":1785566402,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc0d15d0"} 
[2026-08-01 12:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:16:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 12:16: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-08-01 12:16:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":147207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":147207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":147207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104997632001,"66":27180,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964474037395679232},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-01 12:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104997632001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:16:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:16:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":964474037395679232,"description":"Unknown IO ID 45"} 
[2026-08-01 12:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104997632001,"power":27180,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964474037395679232}} 
[2026-08-01 12:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":147207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:16:27] local.INFO: GPS data processed {"connection_id":147207,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:16:27] local.INFO: Acknowledgment sent {"connection_id":147207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:16:37] local.INFO: TCP Data received {"connection_id":146201,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc114420012d1820400721b160004e00ce26..."} 
[2026-08-01 12:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc114420012d1820400721b160004e00ce26..."} 
[2026-08-01 12:16:37] local.INFO: Processing buffer {"connection_id":146201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc114420012d1820400721b160004e00ce26..."} 
[2026-08-01 12:16:37] local.INFO: Packet analysis {"connection_id":146201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc11"} 
[2026-08-01 12:16:37] local.INFO: Extracted packet for processing {"connection_id":146201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc11"} 
[2026-08-01 12:16:37] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648608,"longitude_deg":75.655584,"latitude_deg":11.9648608,"altitude":78,"angle":206,"satellites":38,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b160","is_valid_coordinates":true} 
[2026-08-01 12:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105063680001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10115352356716544,"note":"Value kept but may cause issues"} 
[2026-08-01 12:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771827200,"note":"Value kept but may cause issues"} 
[2026-08-01 12:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785566676000,"timestamp_ms":1785566676000,"timestamp_seconds":1785566676,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc114420"} 
[2026-08-01 12:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-01 12:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:16:37] 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-08-01 12:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105063680001,"66":12504,"105":206,"83":41984,"24":0,"16":10115352356716544,"45":1738670961771827200},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105063680001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:16:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:16:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10115352356716544,"km_value":10115352356716.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771827200,"description":"Unknown IO ID 45"} 
[2026-08-01 12:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105063680001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771827200}} 
[2026-08-01 12:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":146201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:16:38] local.INFO: GPS data processed {"connection_id":146201,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:16:38] local.INFO: Acknowledgment sent {"connection_id":146201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:16:44] local.INFO: TCP Data received {"connection_id":147208,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:16:44] local.INFO: Processing buffer {"connection_id":147208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:16:44] local.INFO: IMEI packet received {"connection_id":147208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":147208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:16:49] local.INFO: TCP Data received {"connection_id":147208,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:16:49] local.INFO: Processing buffer {"connection_id":147208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:16:49] local.INFO: IMEI packet received {"connection_id":147208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":147208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:16:50] local.INFO: TCP Data received {"connection_id":147208,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc11ad98012d0d620006ea0808001600c228..."} 
[2026-08-01 12:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc11ad98012d0d620006ea0808001600c228..."} 
[2026-08-01 12:16:50] local.INFO: Processing buffer {"connection_id":147208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc11ad98012d0d620006ea0808001600c228..."} 
[2026-08-01 12:16:50] local.INFO: Packet analysis {"connection_id":147208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc11"} 
[2026-08-01 12:16:50] local.INFO: Extracted packet for processing {"connection_id":147208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc11"} 
[2026-08-01 12:16:50] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":40,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:16:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104998912001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:16:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:16:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964474037395329024,"note":"Value kept but may cause issues"} 
[2026-08-01 12:16:50] 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-08-01 12:16:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785566703000,"timestamp_ms":1785566703000,"timestamp_seconds":1785566703,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc11ad98"} 
[2026-08-01 12:16:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:16:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-01 12:16:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:16:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:16:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:16:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:16:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:16:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:16:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:16:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:16:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:16:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:16:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104998912001,"66":26473,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964474037395329024},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-01 12:16:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:16:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:16:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104998912001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:16:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:16:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:16:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:16:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":964474037395329024,"description":"Unknown IO ID 45"} 
[2026-08-01 12:16:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104998912001,"power":26473,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964474037395329024}} 
[2026-08-01 12:16:50] local.INFO: DEBUG: GPS processor result {"connection_id":147208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:16:50] local.INFO: GPS data processed {"connection_id":147208,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:16:50] local.INFO: Acknowledgment sent {"connection_id":147208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:16:59] local.INFO: TCP Data received {"connection_id":148525,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:16:59] local.INFO: Processing buffer {"connection_id":148525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:16:59] local.INFO: IMEI packet received {"connection_id":148525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 12:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":148525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:17:00] local.INFO: TCP Data received {"connection_id":148525,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:17:00] local.INFO: Processing buffer {"connection_id":148525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:17:00] local.INFO: IMEI packet received {"connection_id":148525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":148525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:17:06] local.INFO: TCP Data received {"connection_id":148525,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:17:06] local.INFO: Processing buffer {"connection_id":148525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:17:06] local.INFO: IMEI packet received {"connection_id":148525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":148525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:17:22] local.INFO: TCP Data received {"connection_id":147208,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc11ad98012d0d620006ea0808001600c228..."} 
[2026-08-01 12:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc11ad98012d0d620006ea0808001600c228..."} 
[2026-08-01 12:17:22] local.INFO: Processing buffer {"connection_id":147208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc11ad98012d0d620006ea0808001600c228..."} 
[2026-08-01 12:17:22] local.INFO: Packet analysis {"connection_id":147208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc11"} 
[2026-08-01 12:17:22] local.INFO: Extracted packet for processing {"connection_id":147208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc11"} 
[2026-08-01 12:17:22] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":40,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104998912001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:17:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964474037395329024,"note":"Value kept but may cause issues"} 
[2026-08-01 12:17:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785566703000,"timestamp_ms":1785566703000,"timestamp_seconds":1785566703,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc11ad98"} 
[2026-08-01 12:17:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:17:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-01 12:17:22] 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-08-01 12:17:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:17:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:17:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104998912001,"66":26473,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964474037395329024},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-01 12:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104998912001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:17:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:17:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:17:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":964474037395329024,"description":"Unknown IO ID 45"} 
[2026-08-01 12:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104998912001,"power":26473,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964474037395329024}} 
[2026-08-01 12:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":147208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:17:22] local.INFO: GPS data processed {"connection_id":147208,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:17:22] local.INFO: Acknowledgment sent {"connection_id":147208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:17:28] local.INFO: TCP Data received {"connection_id":148525,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc119628012d1820400721b160004e00ce28..."} 
[2026-08-01 12:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc119628012d1820400721b160004e00ce28..."} 
[2026-08-01 12:17:28] local.INFO: Processing buffer {"connection_id":148525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc119628012d1820400721b160004e00ce28..."} 
[2026-08-01 12:17:28] local.INFO: Packet analysis {"connection_id":148525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc11"} 
[2026-08-01 12:17:28] local.INFO: Extracted packet for processing {"connection_id":148525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc11"} 
[2026-08-01 12:17:28] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648608,"longitude_deg":75.655584,"latitude_deg":11.9648608,"altitude":78,"angle":206,"satellites":40,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b160","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105069056001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10115352356716544,"note":"Value kept but may cause issues"} 
[2026-08-01 12:17:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539232768,"note":"Value kept but may cause issues"} 
[2026-08-01 12:17:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785566697000,"timestamp_ms":1785566697000,"timestamp_seconds":1785566697,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc119628"} 
[2026-08-01 12:17:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:17:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-01 12:17:28] 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-08-01 12: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-08-01 12:17:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":148525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":148525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":148525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:17:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:17:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105069056001,"66":12504,"105":206,"83":41984,"24":0,"16":10115352356716544,"45":1738459855539232768},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:17:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:17:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:17:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105069056001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:17:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:17:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:17:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10115352356716544,"km_value":10115352356716.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:17:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539232768,"description":"Unknown IO ID 45"} 
[2026-08-01 12:17:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105069056001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539232768}} 
[2026-08-01 12:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":148525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577029,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:17:28] local.INFO: GPS data processed {"connection_id":148525,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:17:28] local.INFO: Acknowledgment sent {"connection_id":148525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:17:44] local.INFO: TCP Data received {"connection_id":146202,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:17:44] local.INFO: Processing buffer {"connection_id":146202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:17:44] local.INFO: IMEI packet received {"connection_id":146202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":146202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:17:49] local.INFO: TCP Data received {"connection_id":146202,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:17:49] local.INFO: Processing buffer {"connection_id":146202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:17:49] local.INFO: IMEI packet received {"connection_id":146202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":146202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:17:50] local.INFO: TCP Data received {"connection_id":146202,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc11ad98012d0d620006ea0808001600c228..."} 
[2026-08-01 12:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc11ad98012d0d620006ea0808001600c228..."} 
[2026-08-01 12:17:50] local.INFO: Processing buffer {"connection_id":146202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc11ad98012d0d620006ea0808001600c228..."} 
[2026-08-01 12:17:50] local.INFO: Packet analysis {"connection_id":146202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc11"} 
[2026-08-01 12:17:50] local.INFO: Extracted packet for processing {"connection_id":146202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc11"} 
[2026-08-01 12:17:50] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":40,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:17:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104998912001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:17:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:17:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964474037395329024,"note":"Value kept but may cause issues"} 
[2026-08-01 12:17:50] 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-08-01 12:17:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785566703000,"timestamp_ms":1785566703000,"timestamp_seconds":1785566703,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc11ad98"} 
[2026-08-01 12:17:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:17:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-01 12:17:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:17:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:17:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:17:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:17:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:17:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:17:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:17:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:17:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:17:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:17:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104998912001,"66":26473,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964474037395329024},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-01 12:17:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:17:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:17:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104998912001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:17:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:17:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:17:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:17:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":964474037395329024,"description":"Unknown IO ID 45"} 
[2026-08-01 12:17:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104998912001,"power":26473,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964474037395329024}} 
[2026-08-01 12:17:50] local.INFO: DEBUG: GPS processor result {"connection_id":146202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:17:50] local.INFO: GPS data processed {"connection_id":146202,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:17:50] local.INFO: Acknowledgment sent {"connection_id":146202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:18:00] local.INFO: TCP Data received {"connection_id":148526,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:18:00] local.INFO: Processing buffer {"connection_id":148526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:18:00] local.INFO: IMEI packet received {"connection_id":148526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 12:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":148526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:18:02] local.INFO: TCP Data received {"connection_id":148526,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:18:02] local.INFO: Processing buffer {"connection_id":148526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:18:02] local.INFO: IMEI packet received {"connection_id":148526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":148526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:18:05] local.INFO: TCP Data received {"connection_id":148526,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:18:05] local.INFO: Processing buffer {"connection_id":148526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:18:05] local.INFO: IMEI packet received {"connection_id":148526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":148526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:18:06] local.INFO: TCP Data received {"connection_id":148526,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc11e830012d1820400721b160004e00ce29..."} 
[2026-08-01 12:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc11e830012d1820400721b160004e00ce29..."} 
[2026-08-01 12:18:06] local.INFO: Processing buffer {"connection_id":148526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc11e830012d1820400721b160004e00ce29..."} 
[2026-08-01 12:18:06] local.INFO: Packet analysis {"connection_id":148526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc11"} 
[2026-08-01 12:18:06] local.INFO: Extracted packet for processing {"connection_id":148526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc11"} 
[2026-08-01 12:18:06] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648608,"longitude_deg":75.655584,"latitude_deg":11.9648608,"altitude":78,"angle":206,"satellites":41,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b160","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105074432001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10115352356716544,"note":"Value kept but may cause issues"} 
[2026-08-01 12:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539232768,"note":"Value kept but may cause issues"} 
[2026-08-01 12:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785566718000,"timestamp_ms":1785566718000,"timestamp_seconds":1785566718,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc11e830"} 
[2026-08-01 12:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:18:06] 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-08-01 12: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-01 12:18:06] 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-08-01 12: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-08-01 12:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:18:06] 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-08-01 12:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105074432001,"66":12461,"105":206,"83":41984,"24":0,"16":10115352356716544,"45":1738459855539232768},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105074432001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:18:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:18:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10115352356716544,"km_value":10115352356716.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539232768,"description":"Unknown IO ID 45"} 
[2026-08-01 12:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105074432001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539232768}} 
[2026-08-01 12:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":148526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:18:07] local.INFO: GPS data processed {"connection_id":148526,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:18:07] local.INFO: Acknowledgment sent {"connection_id":148526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:18:21] local.INFO: TCP Data received {"connection_id":146202,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc11ad98012d0d620006ea0808001600c228..."} 
[2026-08-01 12:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc11ad98012d0d620006ea0808001600c228..."} 
[2026-08-01 12:18:21] local.INFO: Processing buffer {"connection_id":146202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc11ad98012d0d620006ea0808001600c228..."} 
[2026-08-01 12:18:21] local.INFO: Packet analysis {"connection_id":146202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc11"} 
[2026-08-01 12:18:21] local.INFO: Extracted packet for processing {"connection_id":146202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc11"} 
[2026-08-01 12:18:21] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":40,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104998912001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:18:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964474037395329024,"note":"Value kept but may cause issues"} 
[2026-08-01 12:18:21] 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-08-01 12:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785566703000,"timestamp_ms":1785566703000,"timestamp_seconds":1785566703,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc11ad98"} 
[2026-08-01 12:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:18:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-01 12:18:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:18:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:18:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104998912001,"66":26473,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964474037395329024},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-01 12:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104998912001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:18:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:18:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:18:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":964474037395329024,"description":"Unknown IO ID 45"} 
[2026-08-01 12:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104998912001,"power":26473,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964474037395329024}} 
[2026-08-01 12:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":146202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:18:21] local.INFO: GPS data processed {"connection_id":146202,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:18:21] local.INFO: Acknowledgment sent {"connection_id":146202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:18:38] local.INFO: TCP Data received {"connection_id":148526,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc123a38012d1820400721b160004e00ce29..."} 
[2026-08-01 12:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc123a38012d1820400721b160004e00ce29..."} 
[2026-08-01 12:18:38] local.INFO: Processing buffer {"connection_id":148526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc123a38012d1820400721b160004e00ce29..."} 
[2026-08-01 12:18:38] local.INFO: Packet analysis {"connection_id":148526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc12"} 
[2026-08-01 12:18:38] local.INFO: Extracted packet for processing {"connection_id":148526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc12"} 
[2026-08-01 12:18:38] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648608,"longitude_deg":75.655584,"latitude_deg":11.9648608,"altitude":78,"angle":206,"satellites":41,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b160","is_valid_coordinates":true} 
[2026-08-01 12:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105079808001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10115352356716544,"note":"Value kept but may cause issues"} 
[2026-08-01 12:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539232768,"note":"Value kept but may cause issues"} 
[2026-08-01 12:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785566739000,"timestamp_ms":1785566739000,"timestamp_seconds":1785566739,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc123a38"} 
[2026-08-01 12:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:18:38] 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-08-01 12:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 12:18: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-08-01 12:18:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":148526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":148526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":148526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:18:38] 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-08-01 12:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105079808001,"66":12428,"105":206,"83":41984,"24":0,"16":10115352356716544,"45":1738459855539232768},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105079808001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:18:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:18:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10115352356716544,"km_value":10115352356716.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539232768,"description":"Unknown IO ID 45"} 
[2026-08-01 12:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105079808001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539232768}} 
[2026-08-01 12:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":148526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:18:38] local.INFO: GPS data processed {"connection_id":148526,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:18:38] local.INFO: Acknowledgment sent {"connection_id":148526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:18:44] local.INFO: TCP Data received {"connection_id":146203,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:18:44] local.INFO: Processing buffer {"connection_id":146203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:18:44] local.INFO: IMEI packet received {"connection_id":146203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":146203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:18:49] local.INFO: TCP Data received {"connection_id":146203,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:18:49] local.INFO: Processing buffer {"connection_id":146203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:18:49] local.INFO: IMEI packet received {"connection_id":146203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":146203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:18:50] local.INFO: TCP Data received {"connection_id":146203,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc11ad98012d0d620006ea0808001600c228..."} 
[2026-08-01 12:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc11ad98012d0d620006ea0808001600c228..."} 
[2026-08-01 12:18:50] local.INFO: Processing buffer {"connection_id":146203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc11ad98012d0d620006ea0808001600c228..."} 
[2026-08-01 12:18:50] local.INFO: Packet analysis {"connection_id":146203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc11"} 
[2026-08-01 12:18:50] local.INFO: Extracted packet for processing {"connection_id":146203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc11"} 
[2026-08-01 12:18:50] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":40,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:18:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104998912001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:18:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:18:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964474037395329024,"note":"Value kept but may cause issues"} 
[2026-08-01 12:18:50] 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-08-01 12:18:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785566703000,"timestamp_ms":1785566703000,"timestamp_seconds":1785566703,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc11ad98"} 
[2026-08-01 12:18:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:18:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:18:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-01 12:18:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12: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-08-01 12:18:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:18:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:18:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:18:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:18:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:18:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:18:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:18:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:18:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104998912001,"66":26473,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964474037395329024},"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-08-01 12:18:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:18:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:18:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104998912001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:18:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:18:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:18:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:18:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":964474037395329024,"description":"Unknown IO ID 45"} 
[2026-08-01 12:18:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104998912001,"power":26473,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964474037395329024}} 
[2026-08-01 12:18:50] local.INFO: DEBUG: GPS processor result {"connection_id":146203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:18:50] local.INFO: GPS data processed {"connection_id":146203,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:18:50] local.INFO: Acknowledgment sent {"connection_id":146203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:19:00] local.INFO: TCP Data received {"connection_id":147209,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147209,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:19:00] local.INFO: Processing buffer {"connection_id":147209,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:19:00] local.INFO: IMEI packet received {"connection_id":147209,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 12:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":147209,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:19:06] local.INFO: TCP Data received {"connection_id":147209,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147209,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:19:06] local.INFO: Processing buffer {"connection_id":147209,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:19:06] local.INFO: IMEI packet received {"connection_id":147209,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":147209,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:19:06] local.INFO: TCP Data received {"connection_id":147209,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc128c40012d1820400721b160004e00ce26..."} 
[2026-08-01 12:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc128c40012d1820400721b160004e00ce26..."} 
[2026-08-01 12:19:06] local.INFO: Processing buffer {"connection_id":147209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc128c40012d1820400721b160004e00ce26..."} 
[2026-08-01 12:19:06] local.INFO: Packet analysis {"connection_id":147209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc12"} 
[2026-08-01 12:19:06] local.INFO: Extracted packet for processing {"connection_id":147209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc12"} 
[2026-08-01 12:19:06] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648608,"longitude_deg":75.655584,"latitude_deg":11.9648608,"altitude":78,"angle":206,"satellites":38,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b160","is_valid_coordinates":true} 
[2026-08-01 12:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105085184001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10115352356716544,"note":"Value kept but may cause issues"} 
[2026-08-01 12:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539232768,"note":"Value kept but may cause issues"} 
[2026-08-01 12:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785566760000,"timestamp_ms":1785566760000,"timestamp_seconds":1785566760,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc128c40"} 
[2026-08-01 12:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:19:06] 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-08-01 12:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-01 12:19:06] 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-08-01 12:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:19:06] 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-08-01 12:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105085184001,"66":12374,"105":206,"83":41984,"24":0,"16":10115352356716544,"45":1738459855539232768},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105085184001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:19:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:19:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10115352356716544,"km_value":10115352356716.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539232768,"description":"Unknown IO ID 45"} 
[2026-08-01 12:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105085184001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539232768}} 
[2026-08-01 12:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":147209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:19:06] local.INFO: GPS data processed {"connection_id":147209,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:19:06] local.INFO: Acknowledgment sent {"connection_id":147209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:19:21] local.INFO: TCP Data received {"connection_id":146203,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc11ad98012d0d620006ea0808001600c228..."} 
[2026-08-01 12:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc11ad98012d0d620006ea0808001600c228..."} 
[2026-08-01 12:19:21] local.INFO: Processing buffer {"connection_id":146203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc11ad98012d0d620006ea0808001600c228..."} 
[2026-08-01 12:19:21] local.INFO: Packet analysis {"connection_id":146203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc11"} 
[2026-08-01 12:19:21] local.INFO: Extracted packet for processing {"connection_id":146203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc11"} 
[2026-08-01 12:19:21] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":40,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104998912001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:19:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964474037395329024,"note":"Value kept but may cause issues"} 
[2026-08-01 12:19:21] 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-08-01 12:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785566703000,"timestamp_ms":1785566703000,"timestamp_seconds":1785566703,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc11ad98"} 
[2026-08-01 12:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:19:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12: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":44,"data_length":795,"current_offset":136} 
[2026-08-01 12:19:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12: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-08-01 12:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:19:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104998912001,"66":26473,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964474037395329024},"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-08-01 12:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104998912001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:19:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:19:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:19:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":964474037395329024,"description":"Unknown IO ID 45"} 
[2026-08-01 12:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104998912001,"power":26473,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964474037395329024}} 
[2026-08-01 12:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":146203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:19:21] local.INFO: GPS data processed {"connection_id":146203,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:19:21] local.INFO: Acknowledgment sent {"connection_id":146203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:19:38] local.INFO: TCP Data received {"connection_id":147209,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc12de48012d1820400721b160004e00ce26..."} 
[2026-08-01 12:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc12de48012d1820400721b160004e00ce26..."} 
[2026-08-01 12:19:38] local.INFO: Processing buffer {"connection_id":147209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc12de48012d1820400721b160004e00ce26..."} 
[2026-08-01 12:19:38] local.INFO: Packet analysis {"connection_id":147209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc12"} 
[2026-08-01 12:19:38] local.INFO: Extracted packet for processing {"connection_id":147209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc12"} 
[2026-08-01 12:19:38] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648608,"longitude_deg":75.655584,"latitude_deg":11.9648608,"altitude":78,"angle":206,"satellites":38,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b160","is_valid_coordinates":true} 
[2026-08-01 12:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105090560001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10115352356716544,"note":"Value kept but may cause issues"} 
[2026-08-01 12:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539232768,"note":"Value kept but may cause issues"} 
[2026-08-01 12:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785566781000,"timestamp_ms":1785566781000,"timestamp_seconds":1785566781,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc12de48"} 
[2026-08-01 12:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:19:38] 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-08-01 12:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 12:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":147209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":147209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":147209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:19:38] 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-08-01 12:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105090560001,"66":12374,"105":206,"83":41984,"24":0,"16":10115352356716544,"45":1738459855539232768},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105090560001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:19:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:19:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10115352356716544,"km_value":10115352356716.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539232768,"description":"Unknown IO ID 45"} 
[2026-08-01 12:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105090560001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539232768}} 
[2026-08-01 12:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":147209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:19:38] local.INFO: GPS data processed {"connection_id":147209,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:19:38] local.INFO: Acknowledgment sent {"connection_id":147209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:19:49] local.INFO: TCP Data received {"connection_id":148527,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:19:49] local.INFO: Processing buffer {"connection_id":148527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:19:49] local.INFO: IMEI packet received {"connection_id":148527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":148527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:19:54] local.INFO: TCP Data received {"connection_id":148527,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:19:54] local.INFO: Processing buffer {"connection_id":148527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:19:54] local.INFO: IMEI packet received {"connection_id":148527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":148527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:19:56] local.INFO: TCP Data received {"connection_id":148527,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc11ad98012d0d620006ea0808001600c228..."} 
[2026-08-01 12:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc11ad98012d0d620006ea0808001600c228..."} 
[2026-08-01 12:19:56] local.INFO: Processing buffer {"connection_id":148527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc11ad98012d0d620006ea0808001600c228..."} 
[2026-08-01 12:19:56] local.INFO: Packet analysis {"connection_id":148527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc11"} 
[2026-08-01 12:19:56] local.INFO: Extracted packet for processing {"connection_id":148527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc11"} 
[2026-08-01 12:19:56] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":40,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12:19:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104998912001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964474037395329024,"note":"Value kept but may cause issues"} 
[2026-08-01 12:19:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785566703000,"timestamp_ms":1785566703000,"timestamp_seconds":1785566703,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc11ad98"} 
[2026-08-01 12:19:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:19:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:19:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-01 12:19:56] 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-08-01 12:19:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:19:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":148527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":148527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":148527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:19:56] 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-08-01 12:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104998912001,"66":26473,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964474037395329024},"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-08-01 12:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104998912001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:19:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:19:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":964474037395329024,"description":"Unknown IO ID 45"} 
[2026-08-01 12:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104998912001,"power":26473,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964474037395329024}} 
[2026-08-01 12:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":148527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:19:56] local.INFO: GPS data processed {"connection_id":148527,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:19:56] local.INFO: Acknowledgment sent {"connection_id":148527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:20:00] local.INFO: TCP Data received {"connection_id":148527,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc11ad98012d0d620006ea0808001600c228..."} 
[2026-08-01 12:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc11ad98012d0d620006ea0808001600c228..."} 
[2026-08-01 12:20:00] local.INFO: Processing buffer {"connection_id":148527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc11ad98012d0d620006ea0808001600c228..."} 
[2026-08-01 12:20:00] local.INFO: Packet analysis {"connection_id":148527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc11"} 
[2026-08-01 12:20:00] local.INFO: Extracted packet for processing {"connection_id":148527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc11"} 
[2026-08-01 12:20:00] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":40,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457104998912001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964474037395329024,"note":"Value kept but may cause issues"} 
[2026-08-01 12:20: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-08-01 12:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785566703000,"timestamp_ms":1785566703000,"timestamp_seconds":1785566703,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc11ad98"} 
[2026-08-01 12:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:20: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-08-01 12:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-01 12:20:00] 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-08-01 12: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-08-01 12:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":148527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":148527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":148527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:20: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-08-01 12:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457104998912001,"66":26473,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964474037395329024},"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-08-01 12:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457104998912001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:20:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:20:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":964474037395329024,"description":"Unknown IO ID 45"} 
[2026-08-01 12:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457104998912001,"power":26473,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964474037395329024}} 
[2026-08-01 12:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":148527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:20:00] local.INFO: GPS data processed {"connection_id":148527,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:20:00] local.INFO: Acknowledgment sent {"connection_id":148527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:20:06] local.INFO: TCP Data received {"connection_id":148528,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:20:06] local.INFO: Processing buffer {"connection_id":148528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:20:06] local.INFO: IMEI packet received {"connection_id":148528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 12:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":148528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:20:09] local.INFO: TCP Data received {"connection_id":148528,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:20:09] local.INFO: Processing buffer {"connection_id":148528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:20:09] local.INFO: IMEI packet received {"connection_id":148528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":148528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:20:09] local.INFO: TCP Data received {"connection_id":148528,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc133050012d1820400721b160004e00ce28..."} 
[2026-08-01 12:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc133050012d1820400721b160004e00ce28..."} 
[2026-08-01 12:20:09] local.INFO: Processing buffer {"connection_id":148528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc133050012d1820400721b160004e00ce28..."} 
[2026-08-01 12:20:09] local.INFO: Packet analysis {"connection_id":148528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc13"} 
[2026-08-01 12:20:09] local.INFO: Extracted packet for processing {"connection_id":148528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc13"} 
[2026-08-01 12:20:09] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648608,"longitude_deg":75.655584,"latitude_deg":11.9648608,"altitude":78,"angle":206,"satellites":40,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b160","is_valid_coordinates":true} 
[2026-08-01 12:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105095936001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10115352356716544,"note":"Value kept but may cause issues"} 
[2026-08-01 12:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539232768,"note":"Value kept but may cause issues"} 
[2026-08-01 12:20: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-08-01 12:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785566802000,"timestamp_ms":1785566802000,"timestamp_seconds":1785566802,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc133050"} 
[2026-08-01 12:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:20:09] 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-08-01 12:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 12:20:09] 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-08-01 12:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":148528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":148528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":148528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:20:09] 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-08-01 12:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105095936001,"66":12374,"105":206,"83":41984,"24":0,"16":10115352356716544,"45":1738459855539232768},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105095936001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:20:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:20:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10115352356716544,"km_value":10115352356716.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539232768,"description":"Unknown IO ID 45"} 
[2026-08-01 12:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105095936001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539232768}} 
[2026-08-01 12:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":148528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:20:10] local.INFO: GPS data processed {"connection_id":148528,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:20:10] local.INFO: Acknowledgment sent {"connection_id":148528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:20:10] local.INFO: TCP Data received {"connection_id":148528,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc138258012d1820400721b160004e00ce26..."} 
[2026-08-01 12:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc138258012d1820400721b160004e00ce26..."} 
[2026-08-01 12:20:10] local.INFO: Processing buffer {"connection_id":148528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc138258012d1820400721b160004e00ce26..."} 
[2026-08-01 12:20:10] local.INFO: Packet analysis {"connection_id":148528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc13"} 
[2026-08-01 12:20:10] local.INFO: Extracted packet for processing {"connection_id":148528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc13"} 
[2026-08-01 12:20:10] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648608,"longitude_deg":75.655584,"latitude_deg":11.9648608,"altitude":78,"angle":206,"satellites":38,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b160","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105101312001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10115352356716544,"note":"Value kept but may cause issues"} 
[2026-08-01 12:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539232768,"note":"Value kept but may cause issues"} 
[2026-08-01 12:20: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-08-01 12:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785566823000,"timestamp_ms":1785566823000,"timestamp_seconds":1785566823,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc138258"} 
[2026-08-01 12:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 12:20: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-08-01 12: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-08-01 12:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":148528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":148528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":148528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:20: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-08-01 12:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105101312001,"66":12298,"105":206,"83":41984,"24":0,"16":10115352356716544,"45":1738459855539232768},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105101312001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:20:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:20:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10115352356716544,"km_value":10115352356716.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539232768,"description":"Unknown IO ID 45"} 
[2026-08-01 12:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105101312001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539232768}} 
[2026-08-01 12:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":148528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:20:11] local.INFO: GPS data processed {"connection_id":148528,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:20:11] local.INFO: Acknowledgment sent {"connection_id":148528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:20:41] local.INFO: TCP Data received {"connection_id":148528,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc13d460012d1820400721b160004e00ce27..."} 
[2026-08-01 12:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc13d460012d1820400721b160004e00ce27..."} 
[2026-08-01 12:20:41] local.INFO: Processing buffer {"connection_id":148528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc13d460012d1820400721b160004e00ce27..."} 
[2026-08-01 12:20:41] local.INFO: Packet analysis {"connection_id":148528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc13"} 
[2026-08-01 12:20:41] local.INFO: Extracted packet for processing {"connection_id":148528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc13"} 
[2026-08-01 12:20:41] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648608,"longitude_deg":75.655584,"latitude_deg":11.9648608,"altitude":78,"angle":206,"satellites":39,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b160","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105106688001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10115352356716544,"note":"Value kept but may cause issues"} 
[2026-08-01 12:20:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539232768,"note":"Value kept but may cause issues"} 
[2026-08-01 12:20: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-08-01 12:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785566844000,"timestamp_ms":1785566844000,"timestamp_seconds":1785566844,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc13d460"} 
[2026-08-01 12:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:20:41] 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-08-01 12: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 12:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-01 12:20:41] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-01 12:20:41] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185635,"note":"Value kept but may cause issues"} 
[2026-08-01 12:20:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 12:20:41] local.WARNING: Large IO value detected {"io_id":239,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-01 12:20:41] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4895056415725643744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:20:41] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2902510954,"note":"Value kept but may cause issues"} 
[2026-08-01 12:20:41] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513886858377035982,"note":"Value kept but may cause issues"} 
[2026-08-01 12:20:41] local.WARNING: Large IO value detected {"io_id":78,"raw_value":58027825667506176,"note":"Value kept but may cause issues"} 
[2026-08-01 12:20:41] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832576,"note":"Value kept but may cause issues"} 
[2026-08-01 12:20:41] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3519563991043604686,"note":"Value kept but may cause issues"} 
[2026-08-01 12:20:41] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2975858766,"note":"Value kept but may cause issues"} 
[2026-08-01 12:20:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-01 12:20:41] local.WARNING: Large IO value detected {"io_id":35,"raw_value":4024172544,"note":"Value kept but may cause issues"} 
[2026-08-01 12:20:41] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,239,159,48,45,64,177,78,40,10,66,222,38,140,1,240,86,227,188,33,4,113,205,232,32,96,41,2,35,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-01 12:20:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620718997562458112,"timestamp_seconds":5620718997562458.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 12:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":148528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":148528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":148528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:20: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-08-01 12:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105106688001,"66":12298,"105":206,"83":41984,"24":0,"16":10115352356716544,"45":1738459855539232768},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105106688001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:20:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:20:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10115352356716544,"km_value":10115352356716.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:20:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539232768,"description":"Unknown IO ID 45"} 
[2026-08-01 12:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105106688001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539232768}} 
[2026-08-01 12:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":148528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577042,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:20:41] local.INFO: GPS data processed {"connection_id":148528,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:20:41] local.INFO: Acknowledgment sent {"connection_id":148528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:20:42] local.INFO: TCP Data received {"connection_id":145983,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:20:42] local.INFO: Processing buffer {"connection_id":145983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:20:42] local.INFO: IMEI packet received {"connection_id":145983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:20:42] local.INFO: IMEI acknowledgment sent {"connection_id":145983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:20:44] local.INFO: TCP Data received {"connection_id":145983,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:20:44] local.INFO: Processing buffer {"connection_id":145983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:20:44] local.INFO: IMEI packet received {"connection_id":145983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:20:44] local.INFO: IMEI acknowledgment sent {"connection_id":145983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:20:49] local.INFO: TCP Data received {"connection_id":145983,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:20:49] local.INFO: Processing buffer {"connection_id":145983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:20:49] local.INFO: IMEI packet received {"connection_id":145983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":145983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:20:50] local.INFO: TCP Data received {"connection_id":145983,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc164560012d0d620006ea0808001600c228..."} 
[2026-08-01 12:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc164560012d0d620006ea0808001600c228..."} 
[2026-08-01 12:20:50] local.INFO: Processing buffer {"connection_id":145983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc164560012d0d620006ea0808001600c228..."} 
[2026-08-01 12:20:50] local.INFO: Packet analysis {"connection_id":145983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc16"} 
[2026-08-01 12:20:50] local.INFO: Extracted packet for processing {"connection_id":145983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc16"} 
[2026-08-01 12:20:50] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":40,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:20:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105075968001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:20:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:20:50] 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-08-01 12:20:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785567004000,"timestamp_ms":1785567004000,"timestamp_seconds":1785567004,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc164560"} 
[2026-08-01 12:20:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:20:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-01 12:20:50] 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-08-01 12:20:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:20:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":145983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":145983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":145983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:20:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:20:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:20:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:20:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105075968001,"66":26158,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"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-08-01 12:20:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:20:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:20:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105075968001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:20:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:20:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:20:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:20:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:20:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105075968001,"power":26158,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":145983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:20:50] local.INFO: GPS data processed {"connection_id":145983,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:20:50] local.INFO: Acknowledgment sent {"connection_id":145983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:21:01] local.INFO: TCP Data received {"connection_id":148529,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:21:01] local.INFO: Processing buffer {"connection_id":148529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:21:01] local.INFO: IMEI packet received {"connection_id":148529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 12:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":148529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:21:06] local.INFO: TCP Data received {"connection_id":148529,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:21:06] local.INFO: Processing buffer {"connection_id":148529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:21:06] local.INFO: IMEI packet received {"connection_id":148529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":148529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:21:07] local.INFO: TCP Data received {"connection_id":148529,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc142a50012d1820400721b160004e00ce27..."} 
[2026-08-01 12:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc142a50012d1820400721b160004e00ce27..."} 
[2026-08-01 12:21:07] local.INFO: Processing buffer {"connection_id":148529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc142a50012d1820400721b160004e00ce27..."} 
[2026-08-01 12:21:07] local.INFO: Packet analysis {"connection_id":148529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc14"} 
[2026-08-01 12:21:07] local.INFO: Extracted packet for processing {"connection_id":148529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc14"} 
[2026-08-01 12:21:07] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648608,"longitude_deg":75.655584,"latitude_deg":11.9648608,"altitude":78,"angle":206,"satellites":39,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b160","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105112064001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10115352356716544,"note":"Value kept but may cause issues"} 
[2026-08-01 12:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539232768,"note":"Value kept but may cause issues"} 
[2026-08-01 12:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785566866000,"timestamp_ms":1785566866000,"timestamp_seconds":1785566866,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc142a50"} 
[2026-08-01 12:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:21:07] 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-08-01 12: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 12:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-01 12:21:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-01 12:21:07] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185635,"note":"Value kept but may cause issues"} 
[2026-08-01 12:21:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 12:21:07] local.WARNING: Large IO value detected {"io_id":239,"raw_value":-2594073385365405695,"note":"Value kept but may cause issues"} 
[2026-08-01 12:21:07] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4894966221412427744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:21:07] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513886858377035982,"note":"Value kept but may cause issues"} 
[2026-08-01 12:21:07] local.WARNING: Large IO value detected {"io_id":78,"raw_value":58028925179133952,"note":"Value kept but may cause issues"} 
[2026-08-01 12:21:07] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832576,"note":"Value kept but may cause issues"} 
[2026-08-01 12:21:07] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3507460567045046478,"note":"Value kept but may cause issues"} 
[2026-08-01 12:21:07] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2348862826,"note":"Value kept but may cause issues"} 
[2026-08-01 12:21:07] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2975858766,"note":"Value kept but may cause issues"} 
[2026-08-01 12:21:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-01 12:21:07] local.WARNING: Large IO value detected {"io_id":35,"raw_value":4024172544,"note":"Value kept but may cause issues"} 
[2026-08-01 12:21:07] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,239,159,130,45,64,177,78,38,10,66,48,40,222,1,240,86,227,188,33,4,113,205,58,32,96,41,2,35,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-01 12:21:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620719001857425408,"timestamp_seconds":5620719001857425.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 12:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":148529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":148529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":148529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:21: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-08-01 12:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105112064001,"66":12341,"105":206,"83":41984,"24":0,"16":10115352356716544,"45":1738459855539232768},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105112064001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:21:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:21:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10115352356716544,"km_value":10115352356716.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539232768,"description":"Unknown IO ID 45"} 
[2026-08-01 12:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105112064001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539232768}} 
[2026-08-01 12:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":148529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577044,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:21:07] local.INFO: GPS data processed {"connection_id":148529,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:21:07] local.INFO: Acknowledgment sent {"connection_id":148529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:21:11] local.INFO: TCP Data received {"connection_id":148529,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc147c58012d1820400721b160004e00ce26..."} 
[2026-08-01 12:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc147c58012d1820400721b160004e00ce26..."} 
[2026-08-01 12:21:11] local.INFO: Processing buffer {"connection_id":148529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc147c58012d1820400721b160004e00ce26..."} 
[2026-08-01 12:21:11] local.INFO: Packet analysis {"connection_id":148529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc14"} 
[2026-08-01 12:21:11] local.INFO: Extracted packet for processing {"connection_id":148529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc14"} 
[2026-08-01 12:21:11] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648608,"longitude_deg":75.655584,"latitude_deg":11.9648608,"altitude":78,"angle":206,"satellites":38,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b160","is_valid_coordinates":true} 
[2026-08-01 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-08-01 12:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105117696001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10115352356716544,"note":"Value kept but may cause issues"} 
[2026-08-01 12:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539232768,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 12:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785566887000,"timestamp_ms":1785566887000,"timestamp_seconds":1785566887,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc147c58"} 
[2026-08-01 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-08-01 12: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-08-01 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-01 12:21: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-08-01 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-08-01 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-08-01 12:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":148529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":148529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":148529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:21: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-08-01 12:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105117696001,"66":12287,"105":206,"83":41984,"24":0,"16":10115352356716544,"45":1738459855539232768},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105117696001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:21:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:21:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10115352356716544,"km_value":10115352356716.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539232768,"description":"Unknown IO ID 45"} 
[2026-08-01 12:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105117696001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539232768}} 
[2026-08-01 12:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":148529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:21:11] local.INFO: GPS data processed {"connection_id":148529,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:21:11] local.INFO: Acknowledgment sent {"connection_id":148529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:21:21] local.INFO: TCP Data received {"connection_id":145983,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc164560012d0d620006ea0808001600c228..."} 
[2026-08-01 12:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc164560012d0d620006ea0808001600c228..."} 
[2026-08-01 12:21:21] local.INFO: Processing buffer {"connection_id":145983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc164560012d0d620006ea0808001600c228..."} 
[2026-08-01 12:21:21] local.INFO: Packet analysis {"connection_id":145983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc16"} 
[2026-08-01 12:21:21] local.INFO: Extracted packet for processing {"connection_id":145983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc16"} 
[2026-08-01 12:21:21] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":40,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105075968001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:21:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:21:21] 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-08-01 12:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785567004000,"timestamp_ms":1785567004000,"timestamp_seconds":1785567004,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc164560"} 
[2026-08-01 12:21:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:21:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-01 12:21:21] 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-08-01 12:21:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:21:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":145983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":145983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":145983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:21:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105075968001,"66":26158,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"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-08-01 12:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105075968001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:21:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:21:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:21:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105075968001,"power":26158,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":145983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:21:21] local.INFO: GPS data processed {"connection_id":145983,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:21:21] local.INFO: Acknowledgment sent {"connection_id":145983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:21:42] local.INFO: TCP Data received {"connection_id":148529,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc14ce60012d1820400721b160004e00ce27..."} 
[2026-08-01 12:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc14ce60012d1820400721b160004e00ce27..."} 
[2026-08-01 12:21:42] local.INFO: Processing buffer {"connection_id":148529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc14ce60012d1820400721b160004e00ce27..."} 
[2026-08-01 12:21:42] local.INFO: Packet analysis {"connection_id":148529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc14"} 
[2026-08-01 12:21:42] local.INFO: Extracted packet for processing {"connection_id":148529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc14"} 
[2026-08-01 12:21:42] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648608,"longitude_deg":75.655584,"latitude_deg":11.9648608,"altitude":78,"angle":206,"satellites":39,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b160","is_valid_coordinates":true} 
[2026-08-01 12:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105123072001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10115352356716544,"note":"Value kept but may cause issues"} 
[2026-08-01 12:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539232768,"note":"Value kept but may cause issues"} 
[2026-08-01 12:21: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-08-01 12:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785566908000,"timestamp_ms":1785566908000,"timestamp_seconds":1785566908,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc14ce60"} 
[2026-08-01 12:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:21: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-08-01 12:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 12:21: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-08-01 12:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":148529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":148529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":148529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12: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-08-01 12:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105123072001,"66":12287,"105":206,"83":41984,"24":0,"16":10115352356716544,"45":1738459855539232768},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105123072001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:21:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:21:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10115352356716544,"km_value":10115352356716.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539232768,"description":"Unknown IO ID 45"} 
[2026-08-01 12:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105123072001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539232768}} 
[2026-08-01 12:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":148529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577047,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:21:42] local.INFO: GPS data processed {"connection_id":148529,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:21:42] local.INFO: Acknowledgment sent {"connection_id":148529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:21:44] local.INFO: TCP Data received {"connection_id":148530,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:21:44] local.INFO: Processing buffer {"connection_id":148530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:21:44] local.INFO: IMEI packet received {"connection_id":148530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":148530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:21:49] local.INFO: TCP Data received {"connection_id":148530,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:21:49] local.INFO: Processing buffer {"connection_id":148530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:21:49] local.INFO: IMEI packet received {"connection_id":148530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":148530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:21:51] local.INFO: TCP Data received {"connection_id":148530,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc164560012d0d620006ea0808001600c228..."} 
[2026-08-01 12:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc164560012d0d620006ea0808001600c228..."} 
[2026-08-01 12:21:51] local.INFO: Processing buffer {"connection_id":148530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc164560012d0d620006ea0808001600c228..."} 
[2026-08-01 12:21:51] local.INFO: Packet analysis {"connection_id":148530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc16"} 
[2026-08-01 12:21:51] local.INFO: Extracted packet for processing {"connection_id":148530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc16"} 
[2026-08-01 12:21:51] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":40,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105075968001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:21:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:21:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785567004000,"timestamp_ms":1785567004000,"timestamp_seconds":1785567004,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc164560"} 
[2026-08-01 12:21:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:21: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-08-01 12:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-01 12:21:51] 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-08-01 12:21:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:21:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:21:51] 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-08-01 12:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105075968001,"66":26158,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"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-08-01 12:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105075968001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:21:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:21:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:21:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105075968001,"power":26158,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":148530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:21:51] local.INFO: GPS data processed {"connection_id":148530,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:21:51] local.INFO: Acknowledgment sent {"connection_id":148530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:22:01] local.INFO: TCP Data received {"connection_id":146204,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146204,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:22:01] local.INFO: Processing buffer {"connection_id":146204,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:22:01] local.INFO: IMEI packet received {"connection_id":146204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 12:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":146204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:22:06] local.INFO: TCP Data received {"connection_id":146204,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146204,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:22:06] local.INFO: Processing buffer {"connection_id":146204,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:22:06] local.INFO: IMEI packet received {"connection_id":146204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":146204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:22:06] local.INFO: TCP Data received {"connection_id":146204,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc152068012d1820400721b160004e00ce27..."} 
[2026-08-01 12:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc152068012d1820400721b160004e00ce27..."} 
[2026-08-01 12:22:06] local.INFO: Processing buffer {"connection_id":146204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc152068012d1820400721b160004e00ce27..."} 
[2026-08-01 12:22:06] local.INFO: Packet analysis {"connection_id":146204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc15"} 
[2026-08-01 12:22:06] local.INFO: Extracted packet for processing {"connection_id":146204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc15"} 
[2026-08-01 12:22:06] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648608,"longitude_deg":75.655584,"latitude_deg":11.9648608,"altitude":78,"angle":206,"satellites":39,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b160","is_valid_coordinates":true} 
[2026-08-01 12:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105128448001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10115352356716544,"note":"Value kept but may cause issues"} 
[2026-08-01 12:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539232768,"note":"Value kept but may cause issues"} 
[2026-08-01 12:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785566929000,"timestamp_ms":1785566929000,"timestamp_seconds":1785566929,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc152068"} 
[2026-08-01 12:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:22:06] 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-08-01 12:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 12:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:22:06] 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-08-01 12:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105128448001,"66":12287,"105":206,"83":41984,"24":0,"16":10115352356716544,"45":1738459855539232768},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105128448001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:22:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:22:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10115352356716544,"km_value":10115352356716.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539232768,"description":"Unknown IO ID 45"} 
[2026-08-01 12:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105128448001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539232768}} 
[2026-08-01 12:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":146204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577049,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:22:06] local.INFO: GPS data processed {"connection_id":146204,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:22:06] local.INFO: Acknowledgment sent {"connection_id":146204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:22:22] local.INFO: TCP Data received {"connection_id":148530,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc164560012d0d620006ea0808001600c228..."} 
[2026-08-01 12:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc164560012d0d620006ea0808001600c228..."} 
[2026-08-01 12:22:22] local.INFO: Processing buffer {"connection_id":148530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc164560012d0d620006ea0808001600c228..."} 
[2026-08-01 12:22:22] local.INFO: Packet analysis {"connection_id":148530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc16"} 
[2026-08-01 12:22:22] local.INFO: Extracted packet for processing {"connection_id":148530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc16"} 
[2026-08-01 12:22:22] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":40,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:22:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105075968001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:22:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:22:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785567004000,"timestamp_ms":1785567004000,"timestamp_seconds":1785567004,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc164560"} 
[2026-08-01 12:22:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:22:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-01 12:22:22] 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-08-01 12:22:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:22:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:22:22] 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-08-01 12:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:22:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105075968001,"66":26158,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"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-08-01 12:22:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:22:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:22:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105075968001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:22:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:22:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:22:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:22:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:22:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105075968001,"power":26158,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:22:22] local.INFO: DEBUG: GPS processor result {"connection_id":148530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:22:22] local.INFO: GPS data processed {"connection_id":148530,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:22:22] local.INFO: Acknowledgment sent {"connection_id":148530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:22:37] local.INFO: TCP Data received {"connection_id":146204,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc157270012d1820400721b160004e00ce26..."} 
[2026-08-01 12:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc157270012d1820400721b160004e00ce26..."} 
[2026-08-01 12:22:37] local.INFO: Processing buffer {"connection_id":146204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc157270012d1820400721b160004e00ce26..."} 
[2026-08-01 12:22:37] local.INFO: Packet analysis {"connection_id":146204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc15"} 
[2026-08-01 12:22:37] local.INFO: Extracted packet for processing {"connection_id":146204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc15"} 
[2026-08-01 12:22:37] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648608,"longitude_deg":75.655584,"latitude_deg":11.9648608,"altitude":78,"angle":206,"satellites":38,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b160","is_valid_coordinates":true} 
[2026-08-01 12:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105133824001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10115352356716544,"note":"Value kept but may cause issues"} 
[2026-08-01 12:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539232768,"note":"Value kept but may cause issues"} 
[2026-08-01 12:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785566950000,"timestamp_ms":1785566950000,"timestamp_seconds":1785566950,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc157270"} 
[2026-08-01 12:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:22:37] 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-08-01 12:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 12:22:37] 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-08-01 12:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:22:37] 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-08-01 12:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105133824001,"66":12254,"105":206,"83":41984,"24":0,"16":10115352356716544,"45":1738459855539232768},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105133824001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:22:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:22:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10115352356716544,"km_value":10115352356716.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539232768,"description":"Unknown IO ID 45"} 
[2026-08-01 12:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105133824001,"power":12254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539232768}} 
[2026-08-01 12:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":146204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:22:37] local.INFO: GPS data processed {"connection_id":146204,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:22:37] local.INFO: Acknowledgment sent {"connection_id":146204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:22:44] local.INFO: TCP Data received {"connection_id":146205,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:22:44] local.INFO: Processing buffer {"connection_id":146205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:22:44] local.INFO: IMEI packet received {"connection_id":146205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":146205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:22:49] local.INFO: TCP Data received {"connection_id":146205,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:22:49] local.INFO: Processing buffer {"connection_id":146205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:22:49] local.INFO: IMEI packet received {"connection_id":146205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":146205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:22:50] local.INFO: TCP Data received {"connection_id":146205,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc164560012d0d620006ea0808001600c228..."} 
[2026-08-01 12:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc164560012d0d620006ea0808001600c228..."} 
[2026-08-01 12:22:50] local.INFO: Processing buffer {"connection_id":146205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc164560012d0d620006ea0808001600c228..."} 
[2026-08-01 12:22:50] local.INFO: Packet analysis {"connection_id":146205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc16"} 
[2026-08-01 12:22:50] local.INFO: Extracted packet for processing {"connection_id":146205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc16"} 
[2026-08-01 12:22:50] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":40,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:22:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105075968001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:22:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:22:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:22:50] 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-08-01 12:22:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785567004000,"timestamp_ms":1785567004000,"timestamp_seconds":1785567004,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc164560"} 
[2026-08-01 12:22:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:22:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-01 12:22:50] 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-08-01 12:22:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:22:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:22:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:22:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:22:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:22:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:22:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:22:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:22:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:22:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105075968001,"66":26158,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"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-08-01 12:22:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:22:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:22:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105075968001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:22:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:22:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:22:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:22:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:22:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105075968001,"power":26158,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:22:50] local.INFO: DEBUG: GPS processor result {"connection_id":146205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:22:50] local.INFO: GPS data processed {"connection_id":146205,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:22:50] local.INFO: Acknowledgment sent {"connection_id":146205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:23:01] local.INFO: TCP Data received {"connection_id":145984,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:23:01] local.INFO: Processing buffer {"connection_id":145984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:23:01] local.INFO: IMEI packet received {"connection_id":145984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 12:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":145984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:23:06] local.INFO: TCP Data received {"connection_id":145984,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:23:06] local.INFO: Processing buffer {"connection_id":145984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:23:06] local.INFO: IMEI packet received {"connection_id":145984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":145984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:23:06] local.INFO: TCP Data received {"connection_id":145984,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc15c090012d1820400721b160004e00ce26..."} 
[2026-08-01 12:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc15c090012d1820400721b160004e00ce26..."} 
[2026-08-01 12:23:06] local.INFO: Processing buffer {"connection_id":145984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc15c090012d1820400721b160004e00ce26..."} 
[2026-08-01 12:23:06] local.INFO: Packet analysis {"connection_id":145984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc15"} 
[2026-08-01 12:23:06] local.INFO: Extracted packet for processing {"connection_id":145984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc15"} 
[2026-08-01 12:23:06] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648608,"longitude_deg":75.655584,"latitude_deg":11.9648608,"altitude":78,"angle":206,"satellites":38,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b160","is_valid_coordinates":true} 
[2026-08-01 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-08-01 12:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105139200001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10115352356716544,"note":"Value kept but may cause issues"} 
[2026-08-01 12:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539232768,"note":"Value kept but may cause issues"} 
[2026-08-01 12:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785566970000,"timestamp_ms":1785566970000,"timestamp_seconds":1785566970,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc15c090"} 
[2026-08-01 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-08-01 12:23:06] 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-08-01 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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-01 12:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 12:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:23:06] 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-08-01 12:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105139200001,"66":13820,"105":206,"83":41984,"24":0,"16":10115352356716544,"45":1738459855539232768},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105139200001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:23:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:23:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10115352356716544,"km_value":10115352356716.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539232768,"description":"Unknown IO ID 45"} 
[2026-08-01 12:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105139200001,"power":13820,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539232768}} 
[2026-08-01 12:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":145984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:23:07] local.INFO: GPS data processed {"connection_id":145984,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:23:07] local.INFO: Acknowledgment sent {"connection_id":145984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:23:22] local.INFO: TCP Data received {"connection_id":146205,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc164560012d0d620006ea0808001600c228..."} 
[2026-08-01 12:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc164560012d0d620006ea0808001600c228..."} 
[2026-08-01 12:23:22] local.INFO: Processing buffer {"connection_id":146205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc164560012d0d620006ea0808001600c228..."} 
[2026-08-01 12:23:22] local.INFO: Packet analysis {"connection_id":146205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc16"} 
[2026-08-01 12:23:22] local.INFO: Extracted packet for processing {"connection_id":146205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc16"} 
[2026-08-01 12:23:22] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":40,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105075968001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:23:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:23:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785567004000,"timestamp_ms":1785567004000,"timestamp_seconds":1785567004,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc164560"} 
[2026-08-01 12:23:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:23:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-01 12:23:22] 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-08-01 12: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-08-01 12:23:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:23:22] 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-08-01 12:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105075968001,"66":26158,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"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-08-01 12:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105075968001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:23:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:23:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:23:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105075968001,"power":26158,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":146205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:23:22] local.INFO: GPS data processed {"connection_id":146205,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:23:22] local.INFO: Acknowledgment sent {"connection_id":146205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:23:38] local.INFO: TCP Data received {"connection_id":145984,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc161298012d1820400721b160004e00ce26..."} 
[2026-08-01 12:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc161298012d1820400721b160004e00ce26..."} 
[2026-08-01 12:23:38] local.INFO: Processing buffer {"connection_id":145984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc161298012d1820400721b160004e00ce26..."} 
[2026-08-01 12:23:38] local.INFO: Packet analysis {"connection_id":145984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc16"} 
[2026-08-01 12:23:38] local.INFO: Extracted packet for processing {"connection_id":145984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc16"} 
[2026-08-01 12:23:38] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648608,"longitude_deg":75.655584,"latitude_deg":11.9648608,"altitude":78,"angle":206,"satellites":38,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b160","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105144320001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10115352356716544,"note":"Value kept but may cause issues"} 
[2026-08-01 12:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539232768,"note":"Value kept but may cause issues"} 
[2026-08-01 12:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785566991000,"timestamp_ms":1785566991000,"timestamp_seconds":1785566991,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc161298"} 
[2026-08-01 12:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-01 12:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12: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-08-01 12:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:23:38] 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-08-01 12:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105144320001,"66":12287,"105":206,"83":41984,"24":0,"16":10115352356716544,"45":1738459855539232768},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105144320001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:23:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:23:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10115352356716544,"km_value":10115352356716.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539232768,"description":"Unknown IO ID 45"} 
[2026-08-01 12:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105144320001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539232768}} 
[2026-08-01 12:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":145984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:23:38] local.INFO: GPS data processed {"connection_id":145984,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:23:38] local.INFO: Acknowledgment sent {"connection_id":145984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:23:44] local.INFO: TCP Data received {"connection_id":147210,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:23:44] local.INFO: Processing buffer {"connection_id":147210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:23:44] local.INFO: IMEI packet received {"connection_id":147210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":147210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:23:49] local.INFO: TCP Data received {"connection_id":147210,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:23:49] local.INFO: Processing buffer {"connection_id":147210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:23:49] local.INFO: IMEI packet received {"connection_id":147210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":147210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:23:50] local.INFO: TCP Data received {"connection_id":147210,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc164560012d0d620006ea0808001600c228..."} 
[2026-08-01 12:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc164560012d0d620006ea0808001600c228..."} 
[2026-08-01 12:23:50] local.INFO: Processing buffer {"connection_id":147210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc164560012d0d620006ea0808001600c228..."} 
[2026-08-01 12:23:50] local.INFO: Packet analysis {"connection_id":147210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc16"} 
[2026-08-01 12:23:50] local.INFO: Extracted packet for processing {"connection_id":147210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc16"} 
[2026-08-01 12:23:50] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":40,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105075968001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:23:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:23:50] 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-08-01 12:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785567004000,"timestamp_ms":1785567004000,"timestamp_seconds":1785567004,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc164560"} 
[2026-08-01 12:23:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:23:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12: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":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-01 12:23:50] 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-08-01 12: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-08-01 12:23:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:23:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105075968001,"66":26158,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"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-08-01 12:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105075968001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:23:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:23:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:23:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:23:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105075968001,"power":26158,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:23:50] local.INFO: DEBUG: GPS processor result {"connection_id":147210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:23:50] local.INFO: GPS data processed {"connection_id":147210,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:23:50] local.INFO: Acknowledgment sent {"connection_id":147210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:23:59] local.INFO: TCP Data received {"connection_id":147211,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:23:59] local.INFO: Processing buffer {"connection_id":147211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:23:59] local.INFO: IMEI packet received {"connection_id":147211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 12:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":147211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:24:00] local.INFO: TCP Data received {"connection_id":147211,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:24:00] local.INFO: Processing buffer {"connection_id":147211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:24:00] local.INFO: IMEI packet received {"connection_id":147211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":147211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:24:06] local.INFO: TCP Data received {"connection_id":147211,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:24:06] local.INFO: Processing buffer {"connection_id":147211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:24:06] local.INFO: IMEI packet received {"connection_id":147211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":147211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:24:06] local.INFO: TCP Data received {"connection_id":147211,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc1664a0012d1820400721b160004e00ce26..."} 
[2026-08-01 12:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc1664a0012d1820400721b160004e00ce26..."} 
[2026-08-01 12:24:06] local.INFO: Processing buffer {"connection_id":147211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc1664a0012d1820400721b160004e00ce26..."} 
[2026-08-01 12:24:06] local.INFO: Packet analysis {"connection_id":147211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc16"} 
[2026-08-01 12:24:06] local.INFO: Extracted packet for processing {"connection_id":147211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc16"} 
[2026-08-01 12:24:06] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648608,"longitude_deg":75.655584,"latitude_deg":11.9648608,"altitude":78,"angle":206,"satellites":38,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b160","is_valid_coordinates":true} 
[2026-08-01 12:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105149696001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10115352356716544,"note":"Value kept but may cause issues"} 
[2026-08-01 12:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539232768,"note":"Value kept but may cause issues"} 
[2026-08-01 12:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785567012000,"timestamp_ms":1785567012000,"timestamp_seconds":1785567012,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc1664a0"} 
[2026-08-01 12:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:24:06] 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-08-01 12:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 12:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:24:06] 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-08-01 12:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105149696001,"66":12287,"105":206,"83":41984,"24":0,"16":10115352356716544,"45":1738459855539232768},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105149696001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:24:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:24:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10115352356716544,"km_value":10115352356716.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539232768,"description":"Unknown IO ID 45"} 
[2026-08-01 12:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105149696001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539232768}} 
[2026-08-01 12:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":147211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:24:06] local.INFO: GPS data processed {"connection_id":147211,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:24:06] local.INFO: Acknowledgment sent {"connection_id":147211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:24:22] local.INFO: TCP Data received {"connection_id":147210,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc164560012d0d620006ea0808001600c228..."} 
[2026-08-01 12:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc164560012d0d620006ea0808001600c228..."} 
[2026-08-01 12:24:22] local.INFO: Processing buffer {"connection_id":147210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc164560012d0d620006ea0808001600c228..."} 
[2026-08-01 12:24:22] local.INFO: Packet analysis {"connection_id":147210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc16"} 
[2026-08-01 12:24:22] local.INFO: Extracted packet for processing {"connection_id":147210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc16"} 
[2026-08-01 12:24:22] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":40,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:24:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105075968001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:24:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:24:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:24:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:24:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785567004000,"timestamp_ms":1785567004000,"timestamp_seconds":1785567004,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc164560"} 
[2026-08-01 12:24:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:24:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-01 12:24:22] 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-08-01 12:24:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:24:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:24:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:24:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:24:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:24:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:24:22] 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-08-01 12:24:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:24:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:24:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105075968001,"66":26158,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"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-08-01 12:24:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:24:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:24:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105075968001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:24:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:24:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:24:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:24:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:24:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105075968001,"power":26158,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:24:22] local.INFO: DEBUG: GPS processor result {"connection_id":147210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:24:22] local.INFO: GPS data processed {"connection_id":147210,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:24:22] local.INFO: Acknowledgment sent {"connection_id":147210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:24:37] local.INFO: TCP Data received {"connection_id":147211,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc16b6a8012d1820400721b160004e00ce27..."} 
[2026-08-01 12:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc16b6a8012d1820400721b160004e00ce27..."} 
[2026-08-01 12:24:37] local.INFO: Processing buffer {"connection_id":147211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc16b6a8012d1820400721b160004e00ce27..."} 
[2026-08-01 12:24:37] local.INFO: Packet analysis {"connection_id":147211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc16"} 
[2026-08-01 12:24:37] local.INFO: Extracted packet for processing {"connection_id":147211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc16"} 
[2026-08-01 12:24:37] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648608,"longitude_deg":75.655584,"latitude_deg":11.9648608,"altitude":78,"angle":206,"satellites":39,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b160","is_valid_coordinates":true} 
[2026-08-01 12:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105155072001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10115352356716544,"note":"Value kept but may cause issues"} 
[2026-08-01 12:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539232768,"note":"Value kept but may cause issues"} 
[2026-08-01 12:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785567033000,"timestamp_ms":1785567033000,"timestamp_seconds":1785567033,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc16b6a8"} 
[2026-08-01 12:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:24:37] 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-08-01 12:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 12:24:37] 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-08-01 12:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:24:37] 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-08-01 12:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105155072001,"66":12232,"105":206,"83":41984,"24":0,"16":10115352356716544,"45":1738459855539232768},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105155072001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:24:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:24:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10115352356716544,"km_value":10115352356716.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539232768,"description":"Unknown IO ID 45"} 
[2026-08-01 12:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105155072001,"power":12232,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539232768}} 
[2026-08-01 12:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":147211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:24:37] local.INFO: GPS data processed {"connection_id":147211,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:24:37] local.INFO: Acknowledgment sent {"connection_id":147211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:24:44] local.INFO: TCP Data received {"connection_id":148531,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:24:44] local.INFO: Processing buffer {"connection_id":148531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:24:44] local.INFO: IMEI packet received {"connection_id":148531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":148531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:24:49] local.INFO: TCP Data received {"connection_id":148531,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:24:49] local.INFO: Processing buffer {"connection_id":148531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:24:49] local.INFO: IMEI packet received {"connection_id":148531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":148531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:24:51] local.INFO: TCP Data received {"connection_id":148531,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc164560012d0d620006ea0808001600c228..."} 
[2026-08-01 12:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc164560012d0d620006ea0808001600c228..."} 
[2026-08-01 12:24:51] local.INFO: Processing buffer {"connection_id":148531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc164560012d0d620006ea0808001600c228..."} 
[2026-08-01 12:24:51] local.INFO: Packet analysis {"connection_id":148531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc16"} 
[2026-08-01 12:24:51] local.INFO: Extracted packet for processing {"connection_id":148531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc16"} 
[2026-08-01 12:24:51] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":40,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105075968001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:24:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785567004000,"timestamp_ms":1785567004000,"timestamp_seconds":1785567004,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc164560"} 
[2026-08-01 12:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:24: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-08-01 12: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":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-01 12:24:51] 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-08-01 12: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-08-01 12:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:24:51] 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-08-01 12:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105075968001,"66":26158,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"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-08-01 12:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105075968001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:24:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:24:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:24:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105075968001,"power":26158,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":148531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:24:51] local.INFO: GPS data processed {"connection_id":148531,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:24:51] local.INFO: Acknowledgment sent {"connection_id":148531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:25:00] local.INFO: TCP Data received {"connection_id":146206,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146206,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:25:00] local.INFO: Processing buffer {"connection_id":146206,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:25:00] local.INFO: IMEI packet received {"connection_id":146206,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 12:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":146206,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:25:02] local.INFO: TCP Data received {"connection_id":146206,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146206,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:25:02] local.INFO: Processing buffer {"connection_id":146206,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:25:02] local.INFO: IMEI packet received {"connection_id":146206,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":146206,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:25:05] local.INFO: TCP Data received {"connection_id":146206,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146206,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:25:05] local.INFO: Processing buffer {"connection_id":146206,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:25:05] local.INFO: IMEI packet received {"connection_id":146206,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":146206,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:25:06] local.INFO: TCP Data received {"connection_id":146206,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc1708b0012d1820400721b160004e00ce24..."} 
[2026-08-01 12:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc1708b0012d1820400721b160004e00ce24..."} 
[2026-08-01 12:25:06] local.INFO: Processing buffer {"connection_id":146206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc1708b0012d1820400721b160004e00ce24..."} 
[2026-08-01 12:25:06] local.INFO: Packet analysis {"connection_id":146206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc17"} 
[2026-08-01 12:25:06] local.INFO: Extracted packet for processing {"connection_id":146206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc17"} 
[2026-08-01 12:25:06] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648608,"longitude_deg":75.655584,"latitude_deg":11.9648608,"altitude":78,"angle":206,"satellites":36,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b160","is_valid_coordinates":true} 
[2026-08-01 12:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105160448001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10115352356716544,"note":"Value kept but may cause issues"} 
[2026-08-01 12:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539232768,"note":"Value kept but may cause issues"} 
[2026-08-01 12:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785567054000,"timestamp_ms":1785567054000,"timestamp_seconds":1785567054,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc1708b0"} 
[2026-08-01 12:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:25:06] 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-08-01 12:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-01 12:25:06] 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-08-01 12:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:25:06] 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-08-01 12:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105160448001,"66":12265,"105":206,"83":41984,"24":0,"16":10115352356716544,"45":1738459855539232768},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105160448001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:25:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:25:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10115352356716544,"km_value":10115352356716.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539232768,"description":"Unknown IO ID 45"} 
[2026-08-01 12:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105160448001,"power":12265,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539232768}} 
[2026-08-01 12:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":146206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:25:06] local.INFO: GPS data processed {"connection_id":146206,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:25:06] local.INFO: Acknowledgment sent {"connection_id":146206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:25:23] local.INFO: TCP Data received {"connection_id":148531,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc164560012d0d620006ea0808001600c228..."} 
[2026-08-01 12:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc164560012d0d620006ea0808001600c228..."} 
[2026-08-01 12:25:23] local.INFO: Processing buffer {"connection_id":148531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc164560012d0d620006ea0808001600c228..."} 
[2026-08-01 12:25:23] local.INFO: Packet analysis {"connection_id":148531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc16"} 
[2026-08-01 12:25:23] local.INFO: Extracted packet for processing {"connection_id":148531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc16"} 
[2026-08-01 12:25:23] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":40,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105075968001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:25:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:25:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785567004000,"timestamp_ms":1785567004000,"timestamp_seconds":1785567004,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc164560"} 
[2026-08-01 12:25:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:25:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-01 12:25:23] 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-08-01 12:25:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:25:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":148531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":148531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":148531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:25:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105075968001,"66":26158,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"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-08-01 12:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105075968001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:25:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:25:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:25:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105075968001,"power":26158,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:25:23] local.INFO: DEBUG: GPS processor result {"connection_id":148531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:25:23] local.INFO: GPS data processed {"connection_id":148531,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:25:23] local.INFO: Acknowledgment sent {"connection_id":148531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:25:37] local.INFO: TCP Data received {"connection_id":146206,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc175ab8012d1820400721b160004e00ce24..."} 
[2026-08-01 12:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc175ab8012d1820400721b160004e00ce24..."} 
[2026-08-01 12:25:37] local.INFO: Processing buffer {"connection_id":146206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc175ab8012d1820400721b160004e00ce24..."} 
[2026-08-01 12:25:37] local.INFO: Packet analysis {"connection_id":146206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc17"} 
[2026-08-01 12:25:37] local.INFO: Extracted packet for processing {"connection_id":146206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc17"} 
[2026-08-01 12:25:37] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648608,"longitude_deg":75.655584,"latitude_deg":11.9648608,"altitude":78,"angle":206,"satellites":36,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b160","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105165824001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10115352356716544,"note":"Value kept but may cause issues"} 
[2026-08-01 12:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539232768,"note":"Value kept but may cause issues"} 
[2026-08-01 12:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785567075000,"timestamp_ms":1785567075000,"timestamp_seconds":1785567075,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc175ab8"} 
[2026-08-01 12:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:25:37] 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-08-01 12: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-01 12:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12: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-08-01 12:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:25:37] 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-08-01 12:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105165824001,"66":12232,"105":206,"83":41984,"24":0,"16":10115352356716544,"45":1738459855539232768},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105165824001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:25:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:25:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10115352356716544,"km_value":10115352356716.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539232768,"description":"Unknown IO ID 45"} 
[2026-08-01 12:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105165824001,"power":12232,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539232768}} 
[2026-08-01 12:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":146206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:25:37] local.INFO: GPS data processed {"connection_id":146206,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:25:37] local.INFO: Acknowledgment sent {"connection_id":146206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:25:49] local.INFO: TCP Data received {"connection_id":148532,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:25:49] local.INFO: Processing buffer {"connection_id":148532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:25:49] local.INFO: IMEI packet received {"connection_id":148532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":148532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:25:54] local.INFO: TCP Data received {"connection_id":148532,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:25:54] local.INFO: Processing buffer {"connection_id":148532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:25:54] local.INFO: IMEI packet received {"connection_id":148532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":148532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:25:55] local.INFO: TCP Data received {"connection_id":148532,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc1add28012d0d620006ea0808001600c226..."} 
[2026-08-01 12:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc1add28012d0d620006ea0808001600c226..."} 
[2026-08-01 12:25:55] local.INFO: Processing buffer {"connection_id":148532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc1add28012d0d620006ea0808001600c226..."} 
[2026-08-01 12:25:55] local.INFO: Packet analysis {"connection_id":148532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc1a"} 
[2026-08-01 12:25:55] local.INFO: Extracted packet for processing {"connection_id":148532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc1a"} 
[2026-08-01 12:25:55] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":38,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105153024001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:25:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:25:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785567305000,"timestamp_ms":1785567305000,"timestamp_seconds":1785567305,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc1add28"} 
[2026-08-01 12:25:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:25:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-01 12:25:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12: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-08-01 12:25:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:25:55] 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-08-01 12:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105153024001,"66":26039,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"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-08-01 12:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105153024001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:25:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:25:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:25:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105153024001,"power":26039,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":148532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:25:55] local.INFO: GPS data processed {"connection_id":148532,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:25:55] local.INFO: Acknowledgment sent {"connection_id":148532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:26:00] local.INFO: TCP Data received {"connection_id":145985,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:26:00] local.INFO: Processing buffer {"connection_id":145985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:26:00] local.INFO: IMEI packet received {"connection_id":145985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 12:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":145985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:26:06] local.INFO: TCP Data received {"connection_id":145985,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:26:06] local.INFO: Processing buffer {"connection_id":145985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:26:06] local.INFO: IMEI packet received {"connection_id":145985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":145985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:26:06] local.INFO: TCP Data received {"connection_id":145985,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc1a9ea8012d1817000721a2e0004c00bc25..."} 
[2026-08-01 12:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc1a9ea8012d1817000721a2e0004c00bc25..."} 
[2026-08-01 12:26:06] local.INFO: Processing buffer {"connection_id":145985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc1a9ea8012d1817000721a2e0004c00bc25..."} 
[2026-08-01 12:26:06] local.INFO: Packet analysis {"connection_id":145985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc1a"} 
[2026-08-01 12:26:06] local.INFO: Extracted packet for processing {"connection_id":145985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc1a"} 
[2026-08-01 12:26:06] local.INFO: GPS Element Parsed {"raw_longitude":756553472,"raw_latitude":119644896,"longitude_deg":75.6553472,"latitude_deg":11.9644896,"altitude":76,"angle":188,"satellites":37,"speed":4,"hex_longitude":"2d181700","hex_latitude":"0721a2e0","is_valid_coordinates":true} 
[2026-08-01 12:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105224960001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10115567105081344,"note":"Value kept but may cause issues"} 
[2026-08-01 12:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736067318236362752,"note":"Value kept but may cause issues"} 
[2026-08-01 12:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785567289000,"timestamp_ms":1785567289000,"timestamp_seconds":1785567289,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc1a9ea8"} 
[2026-08-01 12:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:26:06] 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-08-01 12:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-01 12:26:06] 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-08-01 12:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:26:06] 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-08-01 12:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105224960001,"66":14004,"105":206,"83":41984,"24":4,"16":10115567105081344,"45":1736067318236362752},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105224960001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:26:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:26:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10115567105081344,"km_value":10115567105081.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736067318236362752,"description":"Unknown IO ID 45"} 
[2026-08-01 12:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105224960001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1736067318236362752}} 
[2026-08-01 12:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":145985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:26:06] local.INFO: GPS data processed {"connection_id":145985,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:26:06] local.INFO: Acknowledgment sent {"connection_id":145985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:26:26] local.INFO: TCP Data received {"connection_id":148532,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc1add28012d0d620006ea0808001600c226..."} 
[2026-08-01 12:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc1add28012d0d620006ea0808001600c226..."} 
[2026-08-01 12:26:26] local.INFO: Processing buffer {"connection_id":148532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc1add28012d0d620006ea0808001600c226..."} 
[2026-08-01 12:26:26] local.INFO: Packet analysis {"connection_id":148532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc1a"} 
[2026-08-01 12:26:26] local.INFO: Extracted packet for processing {"connection_id":148532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc1a"} 
[2026-08-01 12:26:26] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":38,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105153024001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:26:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:26:26] 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-08-01 12:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785567305000,"timestamp_ms":1785567305000,"timestamp_seconds":1785567305,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc1add28"} 
[2026-08-01 12:26:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:26:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-01 12:26:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12: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-08-01 12:26:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:26:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105153024001,"66":26039,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"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-08-01 12:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105153024001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:26:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:26:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:26:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105153024001,"power":26039,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:26:26] local.INFO: DEBUG: GPS processor result {"connection_id":148532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:26:26] local.INFO: GPS data processed {"connection_id":148532,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:26:26] local.INFO: Acknowledgment sent {"connection_id":148532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:26:37] local.INFO: TCP Data received {"connection_id":145985,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc1ad558012d1816800721a008004b00af24..."} 
[2026-08-01 12:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc1ad558012d1816800721a008004b00af24..."} 
[2026-08-01 12:26:37] local.INFO: Processing buffer {"connection_id":145985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc1ad558012d1816800721a008004b00af24..."} 
[2026-08-01 12:26:37] local.INFO: Packet analysis {"connection_id":145985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc1a"} 
[2026-08-01 12:26:37] local.INFO: Extracted packet for processing {"connection_id":145985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc1a"} 
[2026-08-01 12:26:37] local.INFO: GPS Element Parsed {"raw_longitude":756553344,"raw_latitude":119644168,"longitude_deg":75.6553344,"latitude_deg":11.9644168,"altitude":75,"angle":175,"satellites":36,"speed":3,"hex_longitude":"2d181680","hex_latitude":"0721a008","is_valid_coordinates":true} 
[2026-08-01 12:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105225984001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10115605759787008,"note":"Value kept but may cause issues"} 
[2026-08-01 12:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735856212003708928,"note":"Value kept but may cause issues"} 
[2026-08-01 12:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785567303000,"timestamp_ms":1785567303000,"timestamp_seconds":1785567303,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc1ad558"} 
[2026-08-01 12:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:26:37] 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-08-01 12:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-01 12:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:26:37] 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-08-01 12:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105225984001,"66":13928,"107":206,"83":41984,"24":3,"16":10115605759787008,"45":1735856212003708928},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-01 12:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105225984001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:26:37] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 12:26:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10115605759787008,"km_value":10115605759787.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735856212003708928,"description":"Unknown IO ID 45"} 
[2026-08-01 12:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105225984001,"power":13928,"unknown_107":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1735856212003708928}} 
[2026-08-01 12:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":145985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:26:37] local.INFO: GPS data processed {"connection_id":145985,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:26:37] local.INFO: Acknowledgment sent {"connection_id":145985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:26:44] local.INFO: TCP Data received {"connection_id":146207,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:26:44] local.INFO: Processing buffer {"connection_id":146207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:26:44] local.INFO: IMEI packet received {"connection_id":146207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":146207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:26:49] local.INFO: TCP Data received {"connection_id":146207,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:26:49] local.INFO: Processing buffer {"connection_id":146207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:26:49] local.INFO: IMEI packet received {"connection_id":146207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":146207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:26:50] local.INFO: TCP Data received {"connection_id":146207,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc1add28012d0d620006ea0808001600c226..."} 
[2026-08-01 12:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc1add28012d0d620006ea0808001600c226..."} 
[2026-08-01 12:26:50] local.INFO: Processing buffer {"connection_id":146207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc1add28012d0d620006ea0808001600c226..."} 
[2026-08-01 12:26:50] local.INFO: Packet analysis {"connection_id":146207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc1a"} 
[2026-08-01 12:26:50] local.INFO: Extracted packet for processing {"connection_id":146207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc1a"} 
[2026-08-01 12:26:50] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":38,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12:26:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:26:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105153024001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:26:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:26:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:26:50] 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-08-01 12:26:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785567305000,"timestamp_ms":1785567305000,"timestamp_seconds":1785567305,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc1add28"} 
[2026-08-01 12:26:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:26:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:26:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-01 12:26:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:26:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:26:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:26:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:26:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:26:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:26:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:26:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:26:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:26:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:26:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105153024001,"66":26039,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"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-08-01 12:26:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:26:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:26:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105153024001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:26:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:26:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:26:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:26:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:26:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105153024001,"power":26039,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:26:50] local.INFO: DEBUG: GPS processor result {"connection_id":146207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:26:50] local.INFO: GPS data processed {"connection_id":146207,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:26:50] local.INFO: Acknowledgment sent {"connection_id":146207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:27:06] local.INFO: TCP Data received {"connection_id":146208,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146208,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:27:06] local.INFO: Processing buffer {"connection_id":146208,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:27:06] local.INFO: IMEI packet received {"connection_id":146208,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 12:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":146208,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:27:09] local.INFO: TCP Data received {"connection_id":146208,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146208,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:27:09] local.INFO: Processing buffer {"connection_id":146208,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:27:09] local.INFO: IMEI packet received {"connection_id":146208,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":146208,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:27:17] local.INFO: TCP Data received {"connection_id":146208,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc1bb7e8012d1814c007219c780048002225..."} 
[2026-08-01 12:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc1bb7e8012d1814c007219c780048002225..."} 
[2026-08-01 12:27:17] local.INFO: Processing buffer {"connection_id":146208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc1bb7e8012d1814c007219c780048002225..."} 
[2026-08-01 12:27:17] local.INFO: Packet analysis {"connection_id":146208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc1b"} 
[2026-08-01 12:27:17] local.INFO: Extracted packet for processing {"connection_id":146208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc1b"} 
[2026-08-01 12:27:17] local.INFO: GPS Element Parsed {"raw_longitude":756552896,"raw_latitude":119643256,"longitude_deg":75.6552896,"latitude_deg":11.9643256,"altitude":72,"angle":34,"satellites":37,"speed":10,"hex_longitude":"2d1814c0","hex_latitude":"07219c78","is_valid_coordinates":true} 
[2026-08-01 12:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105244160001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10115751788675072,"note":"Value kept but may cause issues"} 
[2026-08-01 12:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735011787073099776,"note":"Value kept but may cause issues"} 
[2026-08-01 12:27: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-08-01 12:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785567361000,"timestamp_ms":1785567361000,"timestamp_seconds":1785567361,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc1bb7e8"} 
[2026-08-01 12:27:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:27:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-01 12:27:17] 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-08-01 12:27:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:27:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":146208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":146208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":146208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:27: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-08-01 12:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105244160001,"66":13156,"105":206,"83":41984,"24":10,"16":10115751788675072,"45":1735011787073099776},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105244160001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:27:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:27:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10115751788675072,"km_value":10115751788675.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735011787073099776,"description":"Unknown IO ID 45"} 
[2026-08-01 12:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105244160001,"power":13156,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1735011787073099776}} 
[2026-08-01 12:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":146208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577069,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:27:17] local.INFO: GPS data processed {"connection_id":146208,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:27:17] local.INFO: Acknowledgment sent {"connection_id":146208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:27:21] local.INFO: TCP Data received {"connection_id":146208,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc1be2e0012d181c800721a7c80048004324..."} 
[2026-08-01 12:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc1be2e0012d181c800721a7c80048004324..."} 
[2026-08-01 12:27:21] local.INFO: Processing buffer {"connection_id":146208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc1be2e0012d181c800721a7c80048004324..."} 
[2026-08-01 12:27:21] local.INFO: Packet analysis {"connection_id":146208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc1b"} 
[2026-08-01 12:27:21] local.INFO: Extracted packet for processing {"connection_id":146208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc1b"} 
[2026-08-01 12:27:21] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119646152,"longitude_deg":75.655488,"latitude_deg":11.9646152,"altitude":72,"angle":67,"satellites":36,"speed":5,"hex_longitude":"2d181c80","hex_latitude":"0721a7c8","is_valid_coordinates":true} 
[2026-08-01 12:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105244416001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10115923587366912,"note":"Value kept but may cause issues"} 
[2026-08-01 12:27:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735222893305690112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:27: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-08-01 12:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785567372000,"timestamp_ms":1785567372000,"timestamp_seconds":1785567372,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc1be2e0"} 
[2026-08-01 12:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:27: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-08-01 12:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-01 12:27:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:27:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:27: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-08-01 12:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105244416001,"66":14243,"105":206,"83":41984,"24":5,"16":10115923587366912,"45":1735222893305690112},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105244416001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:27:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:27:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10115923587366912,"km_value":10115923587366.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:27:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735222893305690112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105244416001,"power":14243,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1735222893305690112}} 
[2026-08-01 12:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":146208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:27:21] local.INFO: GPS data processed {"connection_id":146208,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:27:21] local.INFO: Acknowledgment sent {"connection_id":146208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:27:22] local.INFO: TCP Data received {"connection_id":146207,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc1add28012d0d620006ea0808001600c226..."} 
[2026-08-01 12:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc1add28012d0d620006ea0808001600c226..."} 
[2026-08-01 12:27:22] local.INFO: Processing buffer {"connection_id":146207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc1add28012d0d620006ea0808001600c226..."} 
[2026-08-01 12:27:22] local.INFO: Packet analysis {"connection_id":146207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc1a"} 
[2026-08-01 12:27:22] local.INFO: Extracted packet for processing {"connection_id":146207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc1a"} 
[2026-08-01 12:27:22] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":38,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105153024001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:27:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:27:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785567305000,"timestamp_ms":1785567305000,"timestamp_seconds":1785567305,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc1add28"} 
[2026-08-01 12:27:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:27:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-01 12:27:22] 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-08-01 12:27:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:27:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:27:22] 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-08-01 12:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105153024001,"66":26039,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"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-08-01 12:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105153024001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:27:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:27:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:27:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:27:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105153024001,"power":26039,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":146207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:27:22] local.INFO: GPS data processed {"connection_id":146207,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:27:22] local.INFO: Acknowledgment sent {"connection_id":146207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:27:44] local.INFO: TCP Data received {"connection_id":148533,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:27:44] local.INFO: Processing buffer {"connection_id":148533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:27:44] local.INFO: IMEI packet received {"connection_id":148533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":148533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:27:49] local.INFO: TCP Data received {"connection_id":148533,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:27:49] local.INFO: Processing buffer {"connection_id":148533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:27:49] local.INFO: IMEI packet received {"connection_id":148533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":148533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:27:51] local.INFO: TCP Data received {"connection_id":148533,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc1add28012d0d620006ea0808001600c226..."} 
[2026-08-01 12:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc1add28012d0d620006ea0808001600c226..."} 
[2026-08-01 12:27:51] local.INFO: Processing buffer {"connection_id":148533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc1add28012d0d620006ea0808001600c226..."} 
[2026-08-01 12:27:51] local.INFO: Packet analysis {"connection_id":148533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc1a"} 
[2026-08-01 12:27:51] local.INFO: Extracted packet for processing {"connection_id":148533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc1a"} 
[2026-08-01 12:27:51] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":38,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105153024001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:27:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785567305000,"timestamp_ms":1785567305000,"timestamp_seconds":1785567305,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc1add28"} 
[2026-08-01 12:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-01 12:27:51] 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-08-01 12:27:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:27:51] 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-08-01 12:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105153024001,"66":26039,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"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-08-01 12:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105153024001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:27:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:27:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:27:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105153024001,"power":26039,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":148533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:27:51] local.INFO: GPS data processed {"connection_id":148533,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:27:51] local.INFO: Acknowledgment sent {"connection_id":148533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:28:00] local.INFO: TCP Data received {"connection_id":147212,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:28:00] local.INFO: Processing buffer {"connection_id":147212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:28:00] local.INFO: IMEI packet received {"connection_id":147212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 12:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":147212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:28:09] local.INFO: TCP Data received {"connection_id":147212,"ip":"42.106.6.27","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-01 12:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147212,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-01 12:28:09] local.INFO: Processing buffer {"connection_id":147212,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-01 12:28:09] local.INFO: IMEI packet received {"connection_id":147212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":147212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:28:10] local.INFO: TCP Data received {"connection_id":147212,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc1ccd40012d18afc007216ef8004500861d..."} 
[2026-08-01 12:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc1ccd40012d18afc007216ef8004500861d..."} 
[2026-08-01 12:28:10] local.INFO: Processing buffer {"connection_id":147212,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019fbc..."} 
[2026-08-01 12:28:10] local.INFO: IMEI packet received {"connection_id":147212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":147212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:28:10] local.INFO: TCP Data received {"connection_id":147212,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc1cd8f8012d18b6c007216598004200911e..."} 
[2026-08-01 12:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc1cd8f8012d18b6c007216598004200911e..."} 
[2026-08-01 12:28:10] local.INFO: Processing buffer {"connection_id":147212,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fbc1ccd40012d18afc007216ef8004500861d..."} 
[2026-08-01 12:28:10] local.INFO: Packet analysis {"connection_id":147212,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fbc1c"} 
[2026-08-01 12:28:10] local.INFO: Extracted packet for processing {"connection_id":147212,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc1c"} 
[2026-08-01 12:28:10] local.INFO: GPS Element Parsed {"raw_longitude":756592576,"raw_latitude":119631608,"longitude_deg":75.6592576,"latitude_deg":11.9631608,"altitude":69,"angle":134,"satellites":29,"speed":37,"hex_longitude":"2d18afc0","hex_latitude":"07216ef8","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105260288001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10117890682388480,"note":"Value kept but may cause issues"} 
[2026-08-01 12:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1770688740369145856,"note":"Value kept but may cause issues"} 
[2026-08-01 12:28: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-08-01 12:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785567432000,"timestamp_ms":1785567432000,"timestamp_seconds":1785567432,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc1ccd40"} 
[2026-08-01 12:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-01 12:28:10] 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-08-01 12: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-08-01 12:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":147212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":147212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":147212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:28: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-08-01 12:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105260288001,"66":14396,"106":206,"83":41984,"24":37,"16":10117890682388480,"45":1770688740369145856},"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-08-01 12:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105260288001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:28:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-01 12:28:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10117890682388480,"km_value":10117890682388.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1770688740369145856,"description":"Unknown IO ID 45"} 
[2026-08-01 12:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105260288001,"power":14396,"unknown_106":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1770688740369145856}} 
[2026-08-01 12:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":147212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:28:11] local.INFO: GPS data processed {"connection_id":147212,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:28:11] local.INFO: Acknowledgment sent {"connection_id":147212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:28:11] local.INFO: Packet analysis {"connection_id":147212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc1c"} 
[2026-08-01 12:28:11] local.INFO: Extracted packet for processing {"connection_id":147212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc1c"} 
[2026-08-01 12:28:11] local.INFO: GPS Element Parsed {"raw_longitude":756594368,"raw_latitude":119629208,"longitude_deg":75.6594368,"latitude_deg":11.9629208,"altitude":66,"angle":145,"satellites":30,"speed":42,"hex_longitude":"2d18b6c0","hex_latitude":"07216598","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105262592001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10118036711276544,"note":"Value kept but may cause issues"} 
[2026-08-01 12:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778851514692859904,"note":"Value kept but may cause issues"} 
[2026-08-01 12:28: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-08-01 12:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785567435000,"timestamp_ms":1785567435000,"timestamp_seconds":1785567435,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc1cd8f8"} 
[2026-08-01 12:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12: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-08-01 12:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-01 12:28: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-08-01 12: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-08-01 12:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":147212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":147212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":147212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:28: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-08-01 12:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105262592001,"66":14004,"106":206,"83":41984,"24":42,"16":10118036711276544,"45":1778851514692859904},"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-08-01 12:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105262592001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:28:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-01 12:28:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10118036711276544,"km_value":10118036711276.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778851514692859904,"description":"Unknown IO ID 45"} 
[2026-08-01 12:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105262592001,"power":14004,"unknown_106":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1778851514692859904}} 
[2026-08-01 12:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":147212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577074,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:28:11] local.INFO: GPS data processed {"connection_id":147212,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:28:11] local.INFO: Acknowledgment sent {"connection_id":147212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:28:11] local.INFO: TCP Data received {"connection_id":147212,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc1cf450012d18c48007215080003f00a720..."} 
[2026-08-01 12:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc1cf450012d18c48007215080003f00a720..."} 
[2026-08-01 12:28:11] local.INFO: Processing buffer {"connection_id":147212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc1cf450012d18c48007215080003f00a720..."} 
[2026-08-01 12:28:11] local.INFO: Packet analysis {"connection_id":147212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc1c"} 
[2026-08-01 12:28:11] local.INFO: Extracted packet for processing {"connection_id":147212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc1c"} 
[2026-08-01 12:28:11] local.INFO: GPS Element Parsed {"raw_longitude":756597888,"raw_latitude":119623808,"longitude_deg":75.6597888,"latitude_deg":11.9623808,"altitude":63,"angle":167,"satellites":32,"speed":32,"hex_longitude":"2d18c480","hex_latitude":"07215080","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105263360001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10118350243889152,"note":"Value kept but may cause issues"} 
[2026-08-01 12:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1780821839529220096,"note":"Value kept but may cause issues"} 
[2026-08-01 12:28: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-08-01 12:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785567442000,"timestamp_ms":1785567442000,"timestamp_seconds":1785567442,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc1cf450"} 
[2026-08-01 12:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12: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-08-01 12: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-01 12:28: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-08-01 12: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-08-01 12:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":147212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":147212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":147212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:28: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-08-01 12:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105263360001,"66":14265,"106":206,"83":41984,"24":32,"16":10118350243889152,"45":1780821839529220096},"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-08-01 12:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105263360001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:28:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-01 12:28:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10118350243889152,"km_value":10118350243889.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1780821839529220096,"description":"Unknown IO ID 45"} 
[2026-08-01 12:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105263360001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1780821839529220096}} 
[2026-08-01 12:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":147212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:28:11] local.INFO: GPS data processed {"connection_id":147212,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:28:11] local.INFO: Acknowledgment sent {"connection_id":147212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:28:22] local.INFO: TCP Data received {"connection_id":148533,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc1add28012d0d620006ea0808001600c226..."} 
[2026-08-01 12:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc1add28012d0d620006ea0808001600c226..."} 
[2026-08-01 12:28:22] local.INFO: Processing buffer {"connection_id":148533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc1add28012d0d620006ea0808001600c226..."} 
[2026-08-01 12:28:22] local.INFO: Packet analysis {"connection_id":148533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc1a"} 
[2026-08-01 12:28:22] local.INFO: Extracted packet for processing {"connection_id":148533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc1a"} 
[2026-08-01 12:28:22] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":38,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105153024001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:28:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:28:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785567305000,"timestamp_ms":1785567305000,"timestamp_seconds":1785567305,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc1add28"} 
[2026-08-01 12:28:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:28:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-01 12:28:22] 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-08-01 12:28:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:28:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:28:22] 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-08-01 12:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105153024001,"66":26039,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"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-08-01 12:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105153024001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:28:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:28:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:28:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105153024001,"power":26039,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":148533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:28:22] local.INFO: GPS data processed {"connection_id":148533,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:28:22] local.INFO: Acknowledgment sent {"connection_id":148533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:28:43] local.INFO: TCP Data received {"connection_id":147212,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc1d1390012d18c80007213a58003c009821..."} 
[2026-08-01 12:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc1d1390012d18c80007213a58003c009821..."} 
[2026-08-01 12:28:43] local.INFO: Processing buffer {"connection_id":147212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc1d1390012d18c80007213a58003c009821..."} 
[2026-08-01 12:28:43] local.INFO: Packet analysis {"connection_id":147212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc1d"} 
[2026-08-01 12:28:43] local.INFO: Extracted packet for processing {"connection_id":147212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc1d"} 
[2026-08-01 12:28:43] local.INFO: GPS Element Parsed {"raw_longitude":756598784,"raw_latitude":119618136,"longitude_deg":75.6598784,"latitude_deg":11.9618136,"altitude":60,"angle":152,"satellites":33,"speed":27,"hex_longitude":"2d18c800","hex_latitude":"07213a58","is_valid_coordinates":true} 
[2026-08-01 12:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:28:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105265152001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:28:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10118629416763392,"note":"Value kept but may cause issues"} 
[2026-08-01 12:28:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784692120457609216,"note":"Value kept but may cause issues"} 
[2026-08-01 12:28: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-08-01 12:28:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785567450000,"timestamp_ms":1785567450000,"timestamp_seconds":1785567450,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc1d1390"} 
[2026-08-01 12:28:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:28: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-08-01 12:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-01 12:28:43] 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-08-01 12:28:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:28:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:28:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:28:43] local.INFO: Teltonika packet parsed successfully {"connection_id":147212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:28:43] local.INFO: Passing IMEI to GPS processor {"connection_id":147212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:28:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":147212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:28:43] 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-08-01 12:28:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:28:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:28:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105265152001,"66":14189,"103":206,"83":41984,"24":27,"16":10118629416763392,"45":1784692120457609216},"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-08-01 12:28:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:28:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:28:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105265152001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:28:43] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 12:28:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:28:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10118629416763392,"km_value":10118629416763.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:28:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784692120457609216,"description":"Unknown IO ID 45"} 
[2026-08-01 12:28:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105265152001,"power":14189,"unknown_103":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1784692120457609216}} 
[2026-08-01 12:28:43] local.INFO: DEBUG: GPS processor result {"connection_id":147212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:28:43] local.INFO: GPS data processed {"connection_id":147212,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:28:43] local.INFO: Acknowledgment sent {"connection_id":147212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:28:44] local.INFO: TCP Data received {"connection_id":148534,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:28:44] local.INFO: Processing buffer {"connection_id":148534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:28:44] local.INFO: IMEI packet received {"connection_id":148534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":148534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:28:49] local.INFO: TCP Data received {"connection_id":148534,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:28:49] local.INFO: Processing buffer {"connection_id":148534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:28:49] local.INFO: IMEI packet received {"connection_id":148534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":148534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:28:50] local.INFO: TCP Data received {"connection_id":148534,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc1add28012d0d620006ea0808001600c226..."} 
[2026-08-01 12:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc1add28012d0d620006ea0808001600c226..."} 
[2026-08-01 12:28:50] local.INFO: Processing buffer {"connection_id":148534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc1add28012d0d620006ea0808001600c226..."} 
[2026-08-01 12:28:50] local.INFO: Packet analysis {"connection_id":148534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc1a"} 
[2026-08-01 12:28:50] local.INFO: Extracted packet for processing {"connection_id":148534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc1a"} 
[2026-08-01 12:28:50] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":38,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105153024001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:28:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:28:50] 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-08-01 12:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785567305000,"timestamp_ms":1785567305000,"timestamp_seconds":1785567305,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc1add28"} 
[2026-08-01 12:28:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:28:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-01 12:28:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12: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-08-01 12:28:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:28:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105153024001,"66":26039,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"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-08-01 12:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105153024001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:28:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:28:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:28:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105153024001,"power":26039,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":148534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:28:50] local.INFO: GPS data processed {"connection_id":148534,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:28:50] local.INFO: Acknowledgment sent {"connection_id":148534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:29:00] local.INFO: TCP Data received {"connection_id":147213,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147213,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:29:01] local.INFO: Processing buffer {"connection_id":147213,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:29:01] local.INFO: IMEI packet received {"connection_id":147213,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 12:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":147213,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:29:06] local.INFO: TCP Data received {"connection_id":147213,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147213,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:29:06] local.INFO: Processing buffer {"connection_id":147213,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:29:06] local.INFO: IMEI packet received {"connection_id":147213,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":147213,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:29:06] local.INFO: TCP Data received {"connection_id":147213,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc1d32d0012d18d28007212788003900a621..."} 
[2026-08-01 12:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc1d32d0012d18d28007212788003900a621..."} 
[2026-08-01 12:29:06] local.INFO: Processing buffer {"connection_id":147213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc1d32d0012d18d28007212788003900a621..."} 
[2026-08-01 12:29:06] local.INFO: Packet analysis {"connection_id":147213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc1d"} 
[2026-08-01 12:29:06] local.INFO: Extracted packet for processing {"connection_id":147213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc1d"} 
[2026-08-01 12:29:06] local.INFO: GPS Element Parsed {"raw_longitude":756601472,"raw_latitude":119613320,"longitude_deg":75.6601472,"latitude_deg":11.961332,"altitude":57,"angle":166,"satellites":33,"speed":27,"hex_longitude":"2d18d280","hex_latitude":"07212788","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105267200001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10118895704735744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785677282874644480,"note":"Value kept but may cause issues"} 
[2026-08-01 12:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785567458000,"timestamp_ms":1785567458000,"timestamp_seconds":1785567458,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc1d32d0"} 
[2026-08-01 12:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-01 12:29:06] 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-08-01 12: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-08-01 12:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:29:06] 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-08-01 12:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105267200001,"66":14070,"103":206,"83":41984,"24":27,"16":10118895704735744,"45":1785677282874644480},"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-08-01 12:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105267200001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:29:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 12:29:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10118895704735744,"km_value":10118895704735.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785677282874644480,"description":"Unknown IO ID 45"} 
[2026-08-01 12:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105267200001,"power":14070,"unknown_103":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1785677282874644480}} 
[2026-08-01 12:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":147213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:29:06] local.INFO: GPS data processed {"connection_id":147213,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:29:06] local.INFO: Acknowledgment sent {"connection_id":147213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:29:22] local.INFO: TCP Data received {"connection_id":148534,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc1add28012d0d620006ea0808001600c226..."} 
[2026-08-01 12:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc1add28012d0d620006ea0808001600c226..."} 
[2026-08-01 12:29:22] local.INFO: Processing buffer {"connection_id":148534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc1add28012d0d620006ea0808001600c226..."} 
[2026-08-01 12:29:22] local.INFO: Packet analysis {"connection_id":148534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc1a"} 
[2026-08-01 12:29:22] local.INFO: Extracted packet for processing {"connection_id":148534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc1a"} 
[2026-08-01 12:29:22] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":38,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105153024001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:29:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:29:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:29:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:29:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785567305000,"timestamp_ms":1785567305000,"timestamp_seconds":1785567305,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc1add28"} 
[2026-08-01 12:29:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:29:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-01 12:29:22] 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-08-01 12:29:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:29:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:29:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:29:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:29:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:29:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:29:22] 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-08-01 12:29:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:29:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:29:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105153024001,"66":26039,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"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-08-01 12:29:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:29:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:29:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105153024001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:29:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:29:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:29:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:29:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:29:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105153024001,"power":26039,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:29:22] local.INFO: DEBUG: GPS processor result {"connection_id":148534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:29:22] local.INFO: GPS data processed {"connection_id":148534,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:29:22] local.INFO: Acknowledgment sent {"connection_id":148534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:29:37] local.INFO: TCP Data received {"connection_id":147213,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc1e2cd0012d196dc00720ad680015004c1b..."} 
[2026-08-01 12:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc1e2cd0012d196dc00720ad680015004c1b..."} 
[2026-08-01 12:29:37] local.INFO: Processing buffer {"connection_id":147213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc1e2cd0012d196dc00720ad680015004c1b..."} 
[2026-08-01 12:29:37] local.INFO: Packet analysis {"connection_id":147213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc1e"} 
[2026-08-01 12:29:37] local.INFO: Extracted packet for processing {"connection_id":147213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc1e"} 
[2026-08-01 12:29:37] local.INFO: GPS Element Parsed {"raw_longitude":756641216,"raw_latitude":119582056,"longitude_deg":75.6641216,"latitude_deg":11.9582056,"altitude":21,"angle":76,"satellites":27,"speed":36,"hex_longitude":"2d196dc0","hex_latitude":"0720ad68","is_valid_coordinates":true} 
[2026-08-01 12:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105283840001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10121605829099520,"note":"Value kept but may cause issues"} 
[2026-08-01 12:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825717098302363648,"note":"Value kept but may cause issues"} 
[2026-08-01 12:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785567522000,"timestamp_ms":1785567522000,"timestamp_seconds":1785567522,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc1e2cd0"} 
[2026-08-01 12:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:29:37] 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-08-01 12:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-01 12:29:37] 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-08-01 12:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:29:37] 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-08-01 12:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105283840001,"66":14374,"103":206,"83":41984,"24":36,"16":10121605829099520,"45":1825717098302363648},"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-08-01 12:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105283840001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:29:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 12:29:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10121605829099520,"km_value":10121605829099.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825717098302363648,"description":"Unknown IO ID 45"} 
[2026-08-01 12:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105283840001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1825717098302363648}} 
[2026-08-01 12:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":147213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:29:38] local.INFO: GPS data processed {"connection_id":147213,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:29:38] local.INFO: Acknowledgment sent {"connection_id":147213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:29:44] local.INFO: TCP Data received {"connection_id":145986,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:29:44] local.INFO: Processing buffer {"connection_id":145986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:29:44] local.INFO: IMEI packet received {"connection_id":145986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":145986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:29:49] local.INFO: TCP Data received {"connection_id":145986,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:29:49] local.INFO: Processing buffer {"connection_id":145986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:29:49] local.INFO: IMEI packet received {"connection_id":145986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":145986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:29:51] local.INFO: TCP Data received {"connection_id":145986,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc1add28012d0d620006ea0808001600c226..."} 
[2026-08-01 12:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc1add28012d0d620006ea0808001600c226..."} 
[2026-08-01 12:29:51] local.INFO: Processing buffer {"connection_id":145986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc1add28012d0d620006ea0808001600c226..."} 
[2026-08-01 12:29:51] local.INFO: Packet analysis {"connection_id":145986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc1a"} 
[2026-08-01 12:29:51] local.INFO: Extracted packet for processing {"connection_id":145986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc1a"} 
[2026-08-01 12:29:51] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":38,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105153024001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:29:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785567305000,"timestamp_ms":1785567305000,"timestamp_seconds":1785567305,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc1add28"} 
[2026-08-01 12:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-01 12:29:51] 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-08-01 12: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-08-01 12:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":145986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":145986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":145986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:29:51] 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-08-01 12:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105153024001,"66":26039,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"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-08-01 12:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105153024001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:29:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:29:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:29:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105153024001,"power":26039,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":145986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:29:51] local.INFO: GPS data processed {"connection_id":145986,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:29:51] local.INFO: Acknowledgment sent {"connection_id":145986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:30:00] local.INFO: TCP Data received {"connection_id":147214,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:30:00] local.INFO: Processing buffer {"connection_id":147214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:30:00] local.INFO: IMEI packet received {"connection_id":147214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 12:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":147214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:30:05] local.INFO: TCP Data received {"connection_id":147214,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:30:05] local.INFO: Processing buffer {"connection_id":147214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:30:05] local.INFO: IMEI packet received {"connection_id":147214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":147214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:30:06] local.INFO: TCP Data received {"connection_id":147214,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc1eb1a0012d19ad4007208fa0001d00bf20..."} 
[2026-08-01 12:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc1eb1a0012d19ad4007208fa0001d00bf20..."} 
[2026-08-01 12:30:06] local.INFO: Processing buffer {"connection_id":147214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc1eb1a0012d19ad4007208fa0001d00bf20..."} 
[2026-08-01 12:30:06] local.INFO: Packet analysis {"connection_id":147214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc1e"} 
[2026-08-01 12:30:06] local.INFO: Extracted packet for processing {"connection_id":147214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc1e"} 
[2026-08-01 12:30:06] local.INFO: GPS Element Parsed {"raw_longitude":756657472,"raw_latitude":119574432,"longitude_deg":75.6657472,"latitude_deg":11.9574432,"altitude":29,"angle":191,"satellites":32,"speed":30,"hex_longitude":"2d19ad40","hex_latitude":"07208fa0","is_valid_coordinates":true} 
[2026-08-01 12:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105292800001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10122958743797760,"note":"Value kept but may cause issues"} 
[2026-08-01 12:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853442383507552256,"note":"Value kept but may cause issues"} 
[2026-08-01 12:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785567556000,"timestamp_ms":1785567556000,"timestamp_seconds":1785567556,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc1eb1a0"} 
[2026-08-01 12:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-01 12:30:06] 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-08-01 12:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:30:06] 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-08-01 12:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105292800001,"66":14298,"103":206,"83":41984,"24":30,"16":10122958743797760,"45":1853442383507552256},"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-08-01 12:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105292800001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:30:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 12:30:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10122958743797760,"km_value":10122958743797.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853442383507552256,"description":"Unknown IO ID 45"} 
[2026-08-01 12:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105292800001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1853442383507552256}} 
[2026-08-01 12:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":147214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:30:06] local.INFO: GPS data processed {"connection_id":147214,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:30:06] local.INFO: Acknowledgment sent {"connection_id":147214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:30:22] local.INFO: TCP Data received {"connection_id":145986,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc1add28012d0d620006ea0808001600c226..."} 
[2026-08-01 12:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc1add28012d0d620006ea0808001600c226..."} 
[2026-08-01 12:30:22] local.INFO: Processing buffer {"connection_id":145986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc1add28012d0d620006ea0808001600c226..."} 
[2026-08-01 12:30:22] local.INFO: Packet analysis {"connection_id":145986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc1a"} 
[2026-08-01 12:30:22] local.INFO: Extracted packet for processing {"connection_id":145986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc1a"} 
[2026-08-01 12:30:22] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":38,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105153024001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:30:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785567305000,"timestamp_ms":1785567305000,"timestamp_seconds":1785567305,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc1add28"} 
[2026-08-01 12:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:30:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-01 12:30:22] 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-08-01 12:30:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":145986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":145986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":145986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:30:22] 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-08-01 12:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105153024001,"66":26039,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"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-08-01 12:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105153024001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:30:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:30:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:30:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105153024001,"power":26039,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":145986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:30:22] local.INFO: GPS data processed {"connection_id":145986,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:30:22] local.INFO: Acknowledgment sent {"connection_id":145986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:30:37] local.INFO: TCP Data received {"connection_id":147214,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc1eb588012d19ad4007208c88001d00b421..."} 
[2026-08-01 12:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc1eb588012d19ad4007208c88001d00b421..."} 
[2026-08-01 12:30:37] local.INFO: Processing buffer {"connection_id":147214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc1eb588012d19ad4007208c88001d00b421..."} 
[2026-08-01 12:30:37] local.INFO: Packet analysis {"connection_id":147214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc1e"} 
[2026-08-01 12:30:37] local.INFO: Extracted packet for processing {"connection_id":147214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc1e"} 
[2026-08-01 12:30:37] local.INFO: GPS Element Parsed {"raw_longitude":756657472,"raw_latitude":119573640,"longitude_deg":75.6657472,"latitude_deg":11.957364,"altitude":29,"angle":180,"satellites":33,"speed":31,"hex_longitude":"2d19ad40","hex_latitude":"07208c88","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105294336001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10122997398503424,"note":"Value kept but may cause issues"} 
[2026-08-01 12:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850205421274374144,"note":"Value kept but may cause issues"} 
[2026-08-01 12:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785567557000,"timestamp_ms":1785567557000,"timestamp_seconds":1785567557,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc1eb588"} 
[2026-08-01 12:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:30:37] 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-08-01 12: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-01 12:30:37] 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-08-01 12: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-08-01 12:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:30:37] 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-08-01 12:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105294336001,"66":14298,"103":206,"83":41984,"24":31,"16":10122997398503424,"45":1850205421274374144},"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-08-01 12:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105294336001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:30:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 12:30:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10122997398503424,"km_value":10122997398503.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850205421274374144,"description":"Unknown IO ID 45"} 
[2026-08-01 12:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105294336001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1850205421274374144}} 
[2026-08-01 12:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":147214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:30:37] local.INFO: GPS data processed {"connection_id":147214,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:30:37] local.INFO: Acknowledgment sent {"connection_id":147214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:30:49] local.INFO: TCP Data received {"connection_id":147215,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:30:49] local.INFO: Processing buffer {"connection_id":147215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:30:49] local.INFO: IMEI packet received {"connection_id":147215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":147215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:30:54] local.INFO: TCP Data received {"connection_id":147215,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:30:54] local.INFO: Processing buffer {"connection_id":147215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:30:54] local.INFO: IMEI packet received {"connection_id":147215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":147215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:30:56] local.INFO: TCP Data received {"connection_id":147215,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc1f74f0012d0d620006ea0808001600c226..."} 
[2026-08-01 12:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc1f74f0012d0d620006ea0808001600c226..."} 
[2026-08-01 12:30:56] local.INFO: Processing buffer {"connection_id":147215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc1f74f0012d0d620006ea0808001600c226..."} 
[2026-08-01 12:30:56] local.INFO: Packet analysis {"connection_id":147215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc1f"} 
[2026-08-01 12:30:56] local.INFO: Extracted packet for processing {"connection_id":147215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc1f"} 
[2026-08-01 12:30:56] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":38,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105230080001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:30:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785567606000,"timestamp_ms":1785567606000,"timestamp_seconds":1785567606,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc1f74f0"} 
[2026-08-01 12:30:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:30:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-01 12:30:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:30:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:30:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":147215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":147215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":147215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:30:56] 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-08-01 12:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105230080001,"66":25973,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"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-08-01 12:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105230080001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:30:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:30:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105230080001,"power":25973,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":147215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:30:56] local.INFO: GPS data processed {"connection_id":147215,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:30:56] local.INFO: Acknowledgment sent {"connection_id":147215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:31:00] local.INFO: TCP Data received {"connection_id":147215,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc1f74f0012d0d620006ea0808001600c226..."} 
[2026-08-01 12:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc1f74f0012d0d620006ea0808001600c226..."} 
[2026-08-01 12:31:00] local.INFO: Processing buffer {"connection_id":147215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc1f74f0012d0d620006ea0808001600c226..."} 
[2026-08-01 12:31:00] local.INFO: Packet analysis {"connection_id":147215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc1f"} 
[2026-08-01 12:31:00] local.INFO: Extracted packet for processing {"connection_id":147215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc1f"} 
[2026-08-01 12:31:00] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":38,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105230080001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:31:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:31: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-08-01 12:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785567606000,"timestamp_ms":1785567606000,"timestamp_seconds":1785567606,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc1f74f0"} 
[2026-08-01 12:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12: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-08-01 12: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-01 12:31:00] 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-08-01 12: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-08-01 12:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":147215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":147215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":147215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:31: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-08-01 12:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105230080001,"66":25973,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"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-08-01 12:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105230080001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:31:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:31:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:31:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105230080001,"power":25973,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":147215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:31:00] local.INFO: GPS data processed {"connection_id":147215,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:31:00] local.INFO: Acknowledgment sent {"connection_id":147215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:31:00] local.INFO: TCP Data received {"connection_id":145987,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:31:00] local.INFO: Processing buffer {"connection_id":145987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:31:00] local.INFO: IMEI packet received {"connection_id":145987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 12:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":145987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:31:06] local.INFO: TCP Data received {"connection_id":145987,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:31:06] local.INFO: Processing buffer {"connection_id":145987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:31:06] local.INFO: IMEI packet received {"connection_id":145987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":145987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:31:09] local.INFO: TCP Data received {"connection_id":145987,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc1ec140012d19af0007208290001e00a622..."} 
[2026-08-01 12:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc1ec140012d19af0007208290001e00a622..."} 
[2026-08-01 12:31:09] local.INFO: Processing buffer {"connection_id":145987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc1ec140012d19af0007208290001e00a622..."} 
[2026-08-01 12:31:09] local.INFO: Packet analysis {"connection_id":145987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc1e"} 
[2026-08-01 12:31:09] local.INFO: Extracted packet for processing {"connection_id":145987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc1e"} 
[2026-08-01 12:31:09] local.INFO: GPS Element Parsed {"raw_longitude":756657920,"raw_latitude":119571088,"longitude_deg":75.665792,"latitude_deg":11.9571088,"altitude":30,"angle":166,"satellites":34,"speed":36,"hex_longitude":"2d19af00","hex_latitude":"07208290","is_valid_coordinates":true} 
[2026-08-01 12:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105294592001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10123121952555008,"note":"Value kept but may cause issues"} 
[2026-08-01 12:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850205421274171392,"note":"Value kept but may cause issues"} 
[2026-08-01 12:31: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-08-01 12:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785567560000,"timestamp_ms":1785567560000,"timestamp_seconds":1785567560,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc1ec140"} 
[2026-08-01 12:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-01 12:31:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:31:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":145987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":145987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":145987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:31:09] 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-08-01 12:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105294592001,"66":13135,"103":206,"83":41984,"24":36,"16":10123121952555008,"45":1850205421274171392},"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-08-01 12:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105294592001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:31:09] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 12:31:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10123121952555008,"km_value":10123121952555.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850205421274171392,"description":"Unknown IO ID 45"} 
[2026-08-01 12:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105294592001,"power":13135,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1850205421274171392}} 
[2026-08-01 12:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":145987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:31:09] local.INFO: GPS data processed {"connection_id":145987,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:31:09] local.INFO: Acknowledgment sent {"connection_id":145987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:31:40] local.INFO: TCP Data received {"connection_id":145987,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc1ee850012d19bac007205f40002000a720..."} 
[2026-08-01 12:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc1ee850012d19bac007205f40002000a720..."} 
[2026-08-01 12:31:40] local.INFO: Processing buffer {"connection_id":145987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc1ee850012d19bac007205f40002000a720..."} 
[2026-08-01 12:31:40] local.INFO: Packet analysis {"connection_id":145987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc1e"} 
[2026-08-01 12:31:40] local.INFO: Extracted packet for processing {"connection_id":145987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc1e"} 
[2026-08-01 12:31:40] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119562048,"longitude_deg":75.6660928,"latitude_deg":11.9562048,"altitude":32,"angle":167,"satellites":32,"speed":35,"hex_longitude":"2d19bac0","hex_latitude":"07205f40","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105295360001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10123585809022976,"note":"Value kept but may cause issues"} 
[2026-08-01 12:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850698002482761728,"note":"Value kept but may cause issues"} 
[2026-08-01 12:31: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-08-01 12:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785567570000,"timestamp_ms":1785567570000,"timestamp_seconds":1785567570,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc1ee850"} 
[2026-08-01 12:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:31:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-01 12:31:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12: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-08-01 12:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":145987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":145987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":145987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:31:40] 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-08-01 12:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105295360001,"66":14080,"103":206,"83":41984,"24":35,"16":10123585809022976,"45":1850698002482761728},"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-08-01 12:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105295360001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:31:40] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 12:31:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10123585809022976,"km_value":10123585809022.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850698002482761728,"description":"Unknown IO ID 45"} 
[2026-08-01 12:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105295360001,"power":14080,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1850698002482761728}} 
[2026-08-01 12:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":145987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577089,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:31:40] local.INFO: GPS data processed {"connection_id":145987,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:31:40] local.INFO: Acknowledgment sent {"connection_id":145987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:31:44] local.INFO: TCP Data received {"connection_id":146209,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:31:44] local.INFO: Processing buffer {"connection_id":146209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:31:44] local.INFO: IMEI packet received {"connection_id":146209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":146209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:31:49] local.INFO: TCP Data received {"connection_id":146209,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:31:49] local.INFO: Processing buffer {"connection_id":146209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:31:49] local.INFO: IMEI packet received {"connection_id":146209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":146209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:31:50] local.INFO: TCP Data received {"connection_id":146209,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc1f74f0012d0d620006ea0808001600c226..."} 
[2026-08-01 12:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc1f74f0012d0d620006ea0808001600c226..."} 
[2026-08-01 12:31:50] local.INFO: Processing buffer {"connection_id":146209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc1f74f0012d0d620006ea0808001600c226..."} 
[2026-08-01 12:31:50] local.INFO: Packet analysis {"connection_id":146209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc1f"} 
[2026-08-01 12:31:50] local.INFO: Extracted packet for processing {"connection_id":146209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc1f"} 
[2026-08-01 12:31:50] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":38,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:31:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105230080001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:31:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:31:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:31:50] 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-08-01 12:31:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785567606000,"timestamp_ms":1785567606000,"timestamp_seconds":1785567606,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc1f74f0"} 
[2026-08-01 12:31:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:31:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-01 12:31:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12: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-08-01 12:31:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:31:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:31:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:31:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:31:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:31:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:31:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:31:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:31:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105230080001,"66":25973,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"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-08-01 12:31:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:31:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:31:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105230080001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:31:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:31:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:31:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:31:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:31:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105230080001,"power":25973,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:31:50] local.INFO: DEBUG: GPS processor result {"connection_id":146209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:31:50] local.INFO: GPS data processed {"connection_id":146209,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:31:50] local.INFO: Acknowledgment sent {"connection_id":146209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:32:06] local.INFO: TCP Data received {"connection_id":146210,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146210,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:32:06] local.INFO: Processing buffer {"connection_id":146210,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:32:06] local.INFO: IMEI packet received {"connection_id":146210,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 12:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":146210,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:32:11] local.INFO: TCP Data received {"connection_id":146210,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146210,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:32:11] local.INFO: Processing buffer {"connection_id":146210,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:32:11] local.INFO: IMEI packet received {"connection_id":146210,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":146210,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:32:11] local.INFO: TCP Data received {"connection_id":146210,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc1f03a8012d19bd8007204620001f00b31f..."} 
[2026-08-01 12:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc1f03a8012d19bd8007204620001f00b31f..."} 
[2026-08-01 12:32:11] local.INFO: Processing buffer {"connection_id":146210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc1f03a8012d19bd8007204620001f00b31f..."} 
[2026-08-01 12:32:11] local.INFO: Packet analysis {"connection_id":146210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc1f"} 
[2026-08-01 12:32:11] local.INFO: Extracted packet for processing {"connection_id":146210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc1f"} 
[2026-08-01 12:32:11] local.INFO: GPS Element Parsed {"raw_longitude":756661632,"raw_latitude":119555616,"longitude_deg":75.6661632,"latitude_deg":11.9555616,"altitude":31,"angle":179,"satellites":31,"speed":36,"hex_longitude":"2d19bd80","hex_latitude":"07204620","is_valid_coordinates":true} 
[2026-08-01 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-08-01 12:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105297920001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10123899341635584,"note":"Value kept but may cause issues"} 
[2026-08-01 12:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333456797696,"note":"Value kept but may cause issues"} 
[2026-08-01 12:32: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-08-01 12:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785567577000,"timestamp_ms":1785567577000,"timestamp_seconds":1785567577,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc1f03a8"} 
[2026-08-01 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-08-01 12: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-08-01 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":0,"data_length":795,"current_offset":136} 
[2026-08-01 12:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219968,"note":"Value kept but may cause issues"} 
[2026-08-01 12:32:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-01 12:32:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 12:32:11] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":22784,"corrected_to":0} 
[2026-08-01 12:32:11] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3156120160,"note":"Value kept but may cause issues"} 
[2026-08-01 12:32:11] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":3338665984,"corrected_to":0} 
[2026-08-01 12:32:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-01 12:32:11] local.WARNING: Large IO value detected {"io_id":186,"raw_value":2147950753,"note":"Value kept but may cause issues"} 
[2026-08-01 12:32:11] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3657485688,"note":"Value kept but may cause issues"} 
[2026-08-01 12:32:11] local.WARNING: Large IO value detected {"io_id":35,"raw_value":4136108032,"note":"Value kept but may cause issues"} 
[2026-08-01 12:32:11] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,103,83,24,241,157,16,247,159,193,45,130,30,34,10,66,246,181,64,140,29,33,177,1,240,218,227,188,32,4,113,205,26,150,186,239,55,2,35,7,21],"length":479,"final_offset":609,"validated_count":41,"validation_warnings":[{"io_id":247,"original":22784,"validated":0},{"io_id":246,"original":3338665984,"validated":0},{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-01 12:32:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2306026765096779776,"timestamp_seconds":2306026765096780.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 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-08-01 12:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12: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-08-01 12:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105297920001,"66":13243,"103":206,"83":41984,"24":36,"16":10123899341635584,"45":1854005333456797696},"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-08-01 12:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105297920001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:32:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 12:32:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10123899341635584,"km_value":10123899341635.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333456797696,"description":"Unknown IO ID 45"} 
[2026-08-01 12:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105297920001,"power":13243,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1854005333456797696}} 
[2026-08-01 12:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":146210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:32:11] local.INFO: GPS data processed {"connection_id":146210,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:32:11] local.INFO: Acknowledgment sent {"connection_id":146210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:32:15] local.INFO: TCP Data received {"connection_id":146210,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc1f0f60012d19be8007203bd8001f00a31e..."} 
[2026-08-01 12:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc1f0f60012d19be8007203bd8001f00a31e..."} 
[2026-08-01 12:32:15] local.INFO: Processing buffer {"connection_id":146210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc1f0f60012d19be8007203bd8001f00a31e..."} 
[2026-08-01 12:32:15] local.INFO: Packet analysis {"connection_id":146210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc1f"} 
[2026-08-01 12:32:15] local.INFO: Extracted packet for processing {"connection_id":146210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc1f"} 
[2026-08-01 12:32:15] local.INFO: GPS Element Parsed {"raw_longitude":756661888,"raw_latitude":119552984,"longitude_deg":75.6661888,"latitude_deg":11.9552984,"altitude":31,"angle":163,"satellites":30,"speed":35,"hex_longitude":"2d19be80","hex_latitude":"07203bd8","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105299712001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10124028190654464,"note":"Value kept but may cause issues"} 
[2026-08-01 12:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854779389641105408,"note":"Value kept but may cause issues"} 
[2026-08-01 12:32: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-08-01 12:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785567580000,"timestamp_ms":1785567580000,"timestamp_seconds":1785567580,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc1f0f60"} 
[2026-08-01 12:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:32:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-01 12:32:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12: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-08-01 12:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":146210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":146210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":146210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:32: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-08-01 12:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105299712001,"66":12722,"103":206,"83":41984,"24":35,"16":10124028190654464,"45":1854779389641105408},"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-08-01 12:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105299712001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:32:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 12:32:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10124028190654464,"km_value":10124028190654.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854779389641105408,"description":"Unknown IO ID 45"} 
[2026-08-01 12:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105299712001,"power":12722,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1854779389641105408}} 
[2026-08-01 12:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":146210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:32:16] local.INFO: GPS data processed {"connection_id":146210,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:32:16] local.INFO: Acknowledgment sent {"connection_id":146210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:32:22] local.INFO: TCP Data received {"connection_id":146209,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc1f74f0012d0d620006ea0808001600c226..."} 
[2026-08-01 12:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc1f74f0012d0d620006ea0808001600c226..."} 
[2026-08-01 12:32:22] local.INFO: Processing buffer {"connection_id":146209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc1f74f0012d0d620006ea0808001600c226..."} 
[2026-08-01 12:32:22] local.INFO: Packet analysis {"connection_id":146209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc1f"} 
[2026-08-01 12:32:22] local.INFO: Extracted packet for processing {"connection_id":146209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc1f"} 
[2026-08-01 12:32:22] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":38,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:32:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105230080001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:32:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:32:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:32:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:32:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785567606000,"timestamp_ms":1785567606000,"timestamp_seconds":1785567606,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc1f74f0"} 
[2026-08-01 12:32:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:32:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-01 12:32:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:32:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:32:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:32:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:32:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:32:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:32:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:32:22] 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-08-01 12:32:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:32:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:32:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105230080001,"66":25973,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"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-08-01 12:32:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:32:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:32:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105230080001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:32:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:32:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:32:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:32:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:32:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105230080001,"power":25973,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:32:22] local.INFO: DEBUG: GPS processor result {"connection_id":146209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:32:22] local.INFO: GPS data processed {"connection_id":146209,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:32:22] local.INFO: Acknowledgment sent {"connection_id":146209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:32:44] local.INFO: TCP Data received {"connection_id":145988,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:32:44] local.INFO: Processing buffer {"connection_id":145988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:32:44] local.INFO: IMEI packet received {"connection_id":145988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":145988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:32:49] local.INFO: TCP Data received {"connection_id":145988,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:32:49] local.INFO: Processing buffer {"connection_id":145988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:32:49] local.INFO: IMEI packet received {"connection_id":145988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":145988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:32:50] local.INFO: TCP Data received {"connection_id":145988,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc1f74f0012d0d620006ea0808001600c226..."} 
[2026-08-01 12:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc1f74f0012d0d620006ea0808001600c226..."} 
[2026-08-01 12:32:50] local.INFO: Processing buffer {"connection_id":145988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc1f74f0012d0d620006ea0808001600c226..."} 
[2026-08-01 12:32:50] local.INFO: Packet analysis {"connection_id":145988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc1f"} 
[2026-08-01 12:32:50] local.INFO: Extracted packet for processing {"connection_id":145988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc1f"} 
[2026-08-01 12:32:50] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":38,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12:32:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:32:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105230080001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:32:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:32:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:32:50] 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-08-01 12:32:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785567606000,"timestamp_ms":1785567606000,"timestamp_seconds":1785567606,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc1f74f0"} 
[2026-08-01 12:32:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:32:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-01 12:32:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:32:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:32:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:32:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:32:50] local.INFO: Teltonika packet parsed successfully {"connection_id":145988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:32:50] local.INFO: Passing IMEI to GPS processor {"connection_id":145988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:32:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":145988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:32:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:32:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:32:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:32:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105230080001,"66":25973,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"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-08-01 12:32:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:32:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:32:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105230080001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:32:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:32:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:32:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:32:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:32:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105230080001,"power":25973,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:32:50] local.INFO: DEBUG: GPS processor result {"connection_id":145988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:32:50] local.INFO: GPS data processed {"connection_id":145988,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:32:50] local.INFO: Acknowledgment sent {"connection_id":145988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:33:01] local.INFO: TCP Data received {"connection_id":147216,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:33:01] local.INFO: Processing buffer {"connection_id":147216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:33:01] local.INFO: IMEI packet received {"connection_id":147216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 12:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":147216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:33:01] local.INFO: TCP Data received {"connection_id":147216,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:33:01] local.INFO: Processing buffer {"connection_id":147216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:33:01] local.INFO: IMEI packet received {"connection_id":147216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":147216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:33:06] local.INFO: TCP Data received {"connection_id":147216,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:33:06] local.INFO: Processing buffer {"connection_id":147216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:33:06] local.INFO: IMEI packet received {"connection_id":147216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":147216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:33:06] local.INFO: TCP Data received {"connection_id":147216,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc1f2ea0012d19c74007202588001f00981d..."} 
[2026-08-01 12:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc1f2ea0012d19c74007202588001f00981d..."} 
[2026-08-01 12:33:06] local.INFO: Processing buffer {"connection_id":147216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc1f2ea0012d19c74007202588001f00981d..."} 
[2026-08-01 12:33:06] local.INFO: Packet analysis {"connection_id":147216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc1f"} 
[2026-08-01 12:33:06] local.INFO: Extracted packet for processing {"connection_id":147216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc1f"} 
[2026-08-01 12:33:06] local.INFO: GPS Element Parsed {"raw_longitude":756664128,"raw_latitude":119547272,"longitude_deg":75.6664128,"latitude_deg":11.9547272,"altitude":31,"angle":152,"satellites":29,"speed":27,"hex_longitude":"2d19c740","hex_latitude":"07202588","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105300480001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10124324543397888,"note":"Value kept but may cause issues"} 
[2026-08-01 12:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855060864617142272,"note":"Value kept but may cause issues"} 
[2026-08-01 12:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785567588000,"timestamp_ms":1785567588000,"timestamp_seconds":1785567588,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc1f2ea0"} 
[2026-08-01 12:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-01 12:33:06] 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-08-01 12: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-08-01 12:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:33:06] 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-08-01 12:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105300480001,"66":12863,"103":206,"83":41984,"24":27,"16":10124324543397888,"45":1855060864617142272},"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-08-01 12:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105300480001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:33:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 12:33:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10124324543397888,"km_value":10124324543397.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855060864617142272,"description":"Unknown IO ID 45"} 
[2026-08-01 12:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105300480001,"power":12863,"unknown_103":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1855060864617142272}} 
[2026-08-01 12:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":147216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577095,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:33:07] local.INFO: GPS data processed {"connection_id":147216,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:33:07] local.INFO: Acknowledgment sent {"connection_id":147216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:33:21] local.INFO: TCP Data received {"connection_id":145988,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc1f74f0012d0d620006ea0808001600c226..."} 
[2026-08-01 12:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc1f74f0012d0d620006ea0808001600c226..."} 
[2026-08-01 12:33:21] local.INFO: Processing buffer {"connection_id":145988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc1f74f0012d0d620006ea0808001600c226..."} 
[2026-08-01 12:33:21] local.INFO: Packet analysis {"connection_id":145988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc1f"} 
[2026-08-01 12:33:21] local.INFO: Extracted packet for processing {"connection_id":145988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc1f"} 
[2026-08-01 12:33:21] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":38,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105230080001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:33:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:33:21] 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-08-01 12:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785567606000,"timestamp_ms":1785567606000,"timestamp_seconds":1785567606,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc1f74f0"} 
[2026-08-01 12:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:33:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-01 12:33:21] 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-08-01 12:33:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":145988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":145988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":145988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:33:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105230080001,"66":25973,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"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-08-01 12:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105230080001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:33:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:33:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:33:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105230080001,"power":25973,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":145988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:33:21] local.INFO: GPS data processed {"connection_id":145988,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:33:21] local.INFO: Acknowledgment sent {"connection_id":145988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:33:38] local.INFO: TCP Data received {"connection_id":147216,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc1f4228012d19cb8007201db8001f00811c..."} 
[2026-08-01 12:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc1f4228012d19cb8007201db8001f00811c..."} 
[2026-08-01 12:33:38] local.INFO: Processing buffer {"connection_id":147216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc1f4228012d19cb8007201db8001f00811c..."} 
[2026-08-01 12:33:38] local.INFO: Packet analysis {"connection_id":147216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc1f"} 
[2026-08-01 12:33:38] local.INFO: Extracted packet for processing {"connection_id":147216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc1f"} 
[2026-08-01 12:33:38] local.INFO: GPS Element Parsed {"raw_longitude":756665216,"raw_latitude":119545272,"longitude_deg":75.6665216,"latitude_deg":11.9545272,"altitude":31,"angle":129,"satellites":28,"speed":12,"hex_longitude":"2d19cb80","hex_latitude":"07201db8","is_valid_coordinates":true} 
[2026-08-01 12:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105302528001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10124431917580288,"note":"Value kept but may cause issues"} 
[2026-08-01 12:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857523770661898240,"note":"Value kept but may cause issues"} 
[2026-08-01 12:33: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-08-01 12:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785567593000,"timestamp_ms":1785567593000,"timestamp_seconds":1785567593,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc1f4228"} 
[2026-08-01 12:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-01 12:33:38] 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-08-01 12:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":147216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":147216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":147216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:33:38] 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-08-01 12:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105302528001,"66":13015,"103":206,"83":41984,"24":12,"16":10124431917580288,"45":1857523770661898240},"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-08-01 12:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105302528001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:33:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 12:33:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10124431917580288,"km_value":10124431917580.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857523770661898240,"description":"Unknown IO ID 45"} 
[2026-08-01 12:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105302528001,"power":13015,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1857523770661898240}} 
[2026-08-01 12:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":147216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:33:38] local.INFO: GPS data processed {"connection_id":147216,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:33:38] local.INFO: Acknowledgment sent {"connection_id":147216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:33:44] local.INFO: TCP Data received {"connection_id":145989,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:33:44] local.INFO: Processing buffer {"connection_id":145989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:33:44] local.INFO: IMEI packet received {"connection_id":145989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":145989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:33:49] local.INFO: TCP Data received {"connection_id":145989,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:33:49] local.INFO: Processing buffer {"connection_id":145989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:33:49] local.INFO: IMEI packet received {"connection_id":145989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":145989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:33:51] local.INFO: TCP Data received {"connection_id":145989,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc1f74f0012d0d620006ea0808001600c226..."} 
[2026-08-01 12:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc1f74f0012d0d620006ea0808001600c226..."} 
[2026-08-01 12:33:51] local.INFO: Processing buffer {"connection_id":145989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc1f74f0012d0d620006ea0808001600c226..."} 
[2026-08-01 12:33:51] local.INFO: Packet analysis {"connection_id":145989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc1f"} 
[2026-08-01 12:33:51] local.INFO: Extracted packet for processing {"connection_id":145989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc1f"} 
[2026-08-01 12:33:51] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":38,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105230080001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785567606000,"timestamp_ms":1785567606000,"timestamp_seconds":1785567606,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc1f74f0"} 
[2026-08-01 12:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-01 12:33:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:33:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":145989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":145989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":145989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:33:51] 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-08-01 12:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105230080001,"66":25973,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"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-08-01 12:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105230080001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:33:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:33:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105230080001,"power":25973,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":145989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:33:51] local.INFO: GPS data processed {"connection_id":145989,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:33:51] local.INFO: Acknowledgment sent {"connection_id":145989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:34:00] local.INFO: TCP Data received {"connection_id":147217,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:34:00] local.INFO: Processing buffer {"connection_id":147217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:34:00] local.INFO: IMEI packet received {"connection_id":147217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 12:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":147217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:34:03] local.INFO: TCP Data received {"connection_id":147217,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:34:03] local.INFO: Processing buffer {"connection_id":147217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:34:03] local.INFO: IMEI packet received {"connection_id":147217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":147217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:34:08] local.INFO: TCP Data received {"connection_id":147217,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:34:08] local.INFO: Processing buffer {"connection_id":147217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:34:08] local.INFO: IMEI packet received {"connection_id":147217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":147217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:34:09] local.INFO: TCP Data received {"connection_id":147217,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc223410012d19cf80072022380024002d1f..."} 
[2026-08-01 12:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc223410012d19cf80072022380024002d1f..."} 
[2026-08-01 12:34:09] local.INFO: Processing buffer {"connection_id":147217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc223410012d19cf80072022380024002d1f..."} 
[2026-08-01 12:34:09] local.INFO: Packet analysis {"connection_id":147217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc22"} 
[2026-08-01 12:34:09] local.INFO: Extracted packet for processing {"connection_id":147217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc22"} 
[2026-08-01 12:34:09] local.INFO: GPS Element Parsed {"raw_longitude":756666240,"raw_latitude":119546424,"longitude_deg":75.666624,"latitude_deg":11.9546424,"altitude":36,"angle":45,"satellites":31,"speed":11,"hex_longitude":"2d19cf80","hex_latitude":"07202238","is_valid_coordinates":true} 
[2026-08-01 12:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105351424001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10124543586729984,"note":"Value kept but may cause issues"} 
[2026-08-01 12:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859142251777509376,"note":"Value kept but may cause issues"} 
[2026-08-01 12:34: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-08-01 12:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785567786000,"timestamp_ms":1785567786000,"timestamp_seconds":1785567786,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc223410"} 
[2026-08-01 12:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:34:09] 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-08-01 12:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-01 12:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":147217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":147217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":147217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:34:09] 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-08-01 12:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105351424001,"66":14341,"101":206,"83":41984,"24":11,"16":10124543586729984,"45":1859142251777509376},"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-08-01 12:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105351424001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:34:09] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-01 12:34:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10124543586729984,"km_value":10124543586729.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859142251777509376,"description":"Unknown IO ID 45"} 
[2026-08-01 12:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105351424001,"power":14341,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1859142251777509376}} 
[2026-08-01 12:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":147217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:34:09] local.INFO: GPS data processed {"connection_id":147217,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:34:09] local.INFO: Acknowledgment sent {"connection_id":147217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:34:11] local.INFO: TCP Data received {"connection_id":147217,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc224b80012d19d380072026a80022003b21..."} 
[2026-08-01 12:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc224b80012d19d380072026a80022003b21..."} 
[2026-08-01 12:34:11] local.INFO: Processing buffer {"connection_id":147217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc224b80012d19d380072026a80022003b21..."} 
[2026-08-01 12:34:11] local.INFO: Packet analysis {"connection_id":147217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc22"} 
[2026-08-01 12:34:11] local.INFO: Extracted packet for processing {"connection_id":147217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc22"} 
[2026-08-01 12:34:11] local.INFO: GPS Element Parsed {"raw_longitude":756667264,"raw_latitude":119547560,"longitude_deg":75.6667264,"latitude_deg":11.954756,"altitude":34,"angle":59,"satellites":33,"speed":11,"hex_longitude":"2d19d380","hex_latitude":"072026a8","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105353216001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10124616601174016,"note":"Value kept but may cause issues"} 
[2026-08-01 12:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859845939219544064,"note":"Value kept but may cause issues"} 
[2026-08-01 12: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-08-01 12:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785567792000,"timestamp_ms":1785567792000,"timestamp_seconds":1785567792,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc224b80"} 
[2026-08-01 12:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:34: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-08-01 12: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-01 12:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6974873664,"note":"Value kept but may cause issues"} 
[2026-08-01 12:34:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-01 12:34:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 12:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":84752337323106333,"note":"Value kept but may cause issues"} 
[2026-08-01 12:34:11] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3156251160,"note":"Value kept but may cause issues"} 
[2026-08-01 12:34:11] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503754114662400,"note":"Value kept but may cause issues"} 
[2026-08-01 12:34:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1074208797,"corrected_to":0} 
[2026-08-01 12:34:11] local.WARNING: Large IO value detected {"io_id":160,"raw_value":9852041300017152,"note":"Value kept but may cause issues"} 
[2026-08-01 12:34:11] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,101,83,24,241,157,16,248,159,45,30,36,35,10,66,222,64,29,136,1,240,33,227,188,32,4,113,205,228,160,28,239,50,2,7,206],"length":529,"final_offset":659,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1074208797,"validated":0}]} 
[2026-08-01 12:34:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2594122996533362688,"timestamp_seconds":2594122996533362.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 12:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":147217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":147217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":147217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:34: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-08-01 12:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105353216001,"66":14265,"101":206,"83":41984,"24":11,"16":10124616601174016,"45":1859845939219544064},"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-08-01 12:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105353216001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:34:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-01 12:34:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10124616601174016,"km_value":10124616601174.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859845939219544064,"description":"Unknown IO ID 45"} 
[2026-08-01 12:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105353216001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1859845939219544064}} 
[2026-08-01 12:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":147217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577100,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:34:11] local.INFO: GPS data processed {"connection_id":147217,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:34:11] local.INFO: Acknowledgment sent {"connection_id":147217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:34:22] local.INFO: TCP Data received {"connection_id":145989,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc1f74f0012d0d620006ea0808001600c226..."} 
[2026-08-01 12:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc1f74f0012d0d620006ea0808001600c226..."} 
[2026-08-01 12:34:22] local.INFO: Processing buffer {"connection_id":145989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc1f74f0012d0d620006ea0808001600c226..."} 
[2026-08-01 12:34:22] local.INFO: Packet analysis {"connection_id":145989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc1f"} 
[2026-08-01 12:34:22] local.INFO: Extracted packet for processing {"connection_id":145989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc1f"} 
[2026-08-01 12:34:22] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":38,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105230080001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:34:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785567606000,"timestamp_ms":1785567606000,"timestamp_seconds":1785567606,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc1f74f0"} 
[2026-08-01 12:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:34:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-01 12:34:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:34:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":145989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":145989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":145989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:34:22] 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-08-01 12:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105230080001,"66":25973,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"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-08-01 12:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105230080001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:34:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:34:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:34:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105230080001,"power":25973,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":145989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:34:22] local.INFO: GPS data processed {"connection_id":145989,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:34:22] local.INFO: Acknowledgment sent {"connection_id":145989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:34:42] local.INFO: TCP Data received {"connection_id":147217,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc225350012d19d5c0072027200021005421..."} 
[2026-08-01 12:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc225350012d19d5c0072027200021005421..."} 
[2026-08-01 12:34:42] local.INFO: Processing buffer {"connection_id":147217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc225350012d19d5c0072027200021005421..."} 
[2026-08-01 12:34:42] local.INFO: Packet analysis {"connection_id":147217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc22"} 
[2026-08-01 12:34:42] local.INFO: Extracted packet for processing {"connection_id":147217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc22"} 
[2026-08-01 12:34:42] local.INFO: GPS Element Parsed {"raw_longitude":756667840,"raw_latitude":119547680,"longitude_deg":75.666784,"latitude_deg":11.954768,"altitude":33,"angle":84,"satellites":33,"speed":12,"hex_longitude":"2d19d5c0","hex_latitude":"07202720","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105354752001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10124646665945088,"note":"Value kept but may cause issues"} 
[2026-08-01 12:34:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860971839126677504,"note":"Value kept but may cause issues"} 
[2026-08-01 12:34: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-08-01 12:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785567794000,"timestamp_ms":1785567794000,"timestamp_seconds":1785567794,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc225350"} 
[2026-08-01 12:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:34: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-08-01 12: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-01 12:34:42] 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-08-01 12: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-08-01 12:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":147217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":147217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":147217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12: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-08-01 12:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105354752001,"66":14352,"101":206,"83":41984,"24":12,"16":10124646665945088,"45":1860971839126677504},"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-08-01 12:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105354752001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:34:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-01 12:34:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10124646665945088,"km_value":10124646665945.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:34:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860971839126677504,"description":"Unknown IO ID 45"} 
[2026-08-01 12:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105354752001,"power":14352,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1860971839126677504}} 
[2026-08-01 12:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":147217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:34:42] local.INFO: GPS data processed {"connection_id":147217,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:34:42] local.INFO: Acknowledgment sent {"connection_id":147217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:34:44] local.INFO: TCP Data received {"connection_id":145990,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:34:44] local.INFO: Processing buffer {"connection_id":145990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:34:44] local.INFO: IMEI packet received {"connection_id":145990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":145990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:34:49] local.INFO: TCP Data received {"connection_id":145990,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:34:49] local.INFO: Processing buffer {"connection_id":145990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:34:49] local.INFO: IMEI packet received {"connection_id":145990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":145990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:34:50] local.INFO: TCP Data received {"connection_id":145990,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc1f74f0012d0d620006ea0808001600c226..."} 
[2026-08-01 12:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc1f74f0012d0d620006ea0808001600c226..."} 
[2026-08-01 12:34:50] local.INFO: Processing buffer {"connection_id":145990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc1f74f0012d0d620006ea0808001600c226..."} 
[2026-08-01 12:34:50] local.INFO: Packet analysis {"connection_id":145990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc1f"} 
[2026-08-01 12:34:50] local.INFO: Extracted packet for processing {"connection_id":145990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc1f"} 
[2026-08-01 12:34:50] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":38,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105230080001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:34:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:34:50] 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-08-01 12:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785567606000,"timestamp_ms":1785567606000,"timestamp_seconds":1785567606,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc1f74f0"} 
[2026-08-01 12:34:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:34:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-01 12:34:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:34:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:34:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":145990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":145990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":145990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:34:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105230080001,"66":25973,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"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-08-01 12:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105230080001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:34:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:34:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:34:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105230080001,"power":25973,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":145990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:34:50] local.INFO: GPS data processed {"connection_id":145990,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:34:50] local.INFO: Acknowledgment sent {"connection_id":145990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:35:21] local.INFO: TCP Data received {"connection_id":145990,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc1f74f0012d0d620006ea0808001600c226..."} 
[2026-08-01 12:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc1f74f0012d0d620006ea0808001600c226..."} 
[2026-08-01 12:35:21] local.INFO: Processing buffer {"connection_id":145990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc1f74f0012d0d620006ea0808001600c226..."} 
[2026-08-01 12:35:21] local.INFO: Packet analysis {"connection_id":145990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc1f"} 
[2026-08-01 12:35:21] local.INFO: Extracted packet for processing {"connection_id":145990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc1f"} 
[2026-08-01 12:35:21] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":38,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 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-08-01 12:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105230080001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:35:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:35:21] 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-08-01 12:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785567606000,"timestamp_ms":1785567606000,"timestamp_seconds":1785567606,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc1f74f0"} 
[2026-08-01 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-08-01 12:35:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-01 12:35:21] 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-08-01 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-08-01 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-08-01 12:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":145990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":145990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":145990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:35:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105230080001,"66":25973,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"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-08-01 12:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105230080001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:35:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:35:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:35:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105230080001,"power":25973,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":145990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:35:21] local.INFO: GPS data processed {"connection_id":145990,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:35:21] local.INFO: Acknowledgment sent {"connection_id":145990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:35:35] local.INFO: TCP Data received {"connection_id":148535,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:35:35] local.INFO: Processing buffer {"connection_id":148535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:35:35] local.INFO: IMEI packet received {"connection_id":148535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 12:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":148535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:35:42] local.INFO: TCP Data received {"connection_id":148535,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:35:42] local.INFO: Processing buffer {"connection_id":148535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:35:42] local.INFO: IMEI packet received {"connection_id":148535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:35:42] local.INFO: IMEI acknowledgment sent {"connection_id":148535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:35:43] local.INFO: TCP Data received {"connection_id":148535,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc237460012d1a658007204c700032004a21..."} 
[2026-08-01 12:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc237460012d1a658007204c700032004a21..."} 
[2026-08-01 12:35:43] local.INFO: Processing buffer {"connection_id":148535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc237460012d1a658007204c700032004a21..."} 
[2026-08-01 12:35:43] local.INFO: Packet analysis {"connection_id":148535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc23"} 
[2026-08-01 12:35:43] local.INFO: Extracted packet for processing {"connection_id":148535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc23"} 
[2026-08-01 12:35:43] local.INFO: GPS Element Parsed {"raw_longitude":756704640,"raw_latitude":119557232,"longitude_deg":75.670464,"latitude_deg":11.9557232,"altitude":50,"angle":74,"satellites":33,"speed":10,"hex_longitude":"2d1a6580","hex_latitude":"07204c70","is_valid_coordinates":true} 
[2026-08-01 12:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105373440001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10126502091816960,"note":"Value kept but may cause issues"} 
[2026-08-01 12:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1900800548333688832,"note":"Value kept but may cause issues"} 
[2026-08-01 12:35: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-08-01 12:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785567868000,"timestamp_ms":1785567868000,"timestamp_seconds":1785567868,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc237460"} 
[2026-08-01 12:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:35: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-08-01 12:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-01 12:35: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-08-01 12:35:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":148535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":148535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":148535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:35:43] 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-08-01 12:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105373440001,"66":14396,"101":206,"83":41984,"24":10,"16":10126502091816960,"45":1900800548333688832},"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-08-01 12:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105373440001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:35:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-01 12:35:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10126502091816960,"km_value":10126502091816.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1900800548333688832,"description":"Unknown IO ID 45"} 
[2026-08-01 12:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105373440001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1900800548333688832}} 
[2026-08-01 12:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":148535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:35:43] local.INFO: GPS data processed {"connection_id":148535,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:35:43] local.INFO: Acknowledgment sent {"connection_id":148535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:35:45] local.INFO: TCP Data received {"connection_id":147218,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:35:45] local.INFO: Processing buffer {"connection_id":147218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:35:45] local.INFO: IMEI packet received {"connection_id":147218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":147218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:35:49] local.INFO: TCP Data received {"connection_id":147218,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:35:49] local.INFO: Processing buffer {"connection_id":147218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:35:49] local.INFO: IMEI packet received {"connection_id":147218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":147218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:35:54] local.INFO: TCP Data received {"connection_id":147218,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:35:54] local.INFO: Processing buffer {"connection_id":147218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:35:54] local.INFO: IMEI packet received {"connection_id":147218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":147218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:35:56] local.INFO: TCP Data received {"connection_id":147218,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc240cb8012d0d620006ea0808001600c225..."} 
[2026-08-01 12:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc240cb8012d0d620006ea0808001600c225..."} 
[2026-08-01 12:35:56] local.INFO: Processing buffer {"connection_id":147218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc240cb8012d0d620006ea0808001600c225..."} 
[2026-08-01 12:35:56] local.INFO: Packet analysis {"connection_id":147218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc24"} 
[2026-08-01 12:35:56] local.INFO: Extracted packet for processing {"connection_id":147218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc24"} 
[2026-08-01 12:35:56] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":37,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105307136001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:35:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785567907000,"timestamp_ms":1785567907000,"timestamp_seconds":1785567907,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc240cb8"} 
[2026-08-01 12:35:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:35:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-01 12:35:56] 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-08-01 12:35:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:35:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":147218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":147218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":147218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:35:56] 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-08-01 12:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105307136001,"66":25875,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"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-08-01 12:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105307136001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:35:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:35:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105307136001,"power":25875,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":147218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:35:56] local.INFO: GPS data processed {"connection_id":147218,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:35:56] local.INFO: Acknowledgment sent {"connection_id":147218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:36:00] local.INFO: TCP Data received {"connection_id":147218,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc240cb8012d0d620006ea0808001600c225..."} 
[2026-08-01 12:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc240cb8012d0d620006ea0808001600c225..."} 
[2026-08-01 12:36:00] local.INFO: Processing buffer {"connection_id":147218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc240cb8012d0d620006ea0808001600c225..."} 
[2026-08-01 12:36:00] local.INFO: Packet analysis {"connection_id":147218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc24"} 
[2026-08-01 12:36:00] local.INFO: Extracted packet for processing {"connection_id":147218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc24"} 
[2026-08-01 12:36:00] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":37,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105307136001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:36: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-08-01 12:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785567907000,"timestamp_ms":1785567907000,"timestamp_seconds":1785567907,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc240cb8"} 
[2026-08-01 12:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:36: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-08-01 12: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-01 12:36:00] 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-08-01 12: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-08-01 12:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":147218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":147218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":147218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:36: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-08-01 12:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105307136001,"66":25875,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"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-08-01 12:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105307136001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:36:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:36:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105307136001,"power":25875,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":147218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:36:00] local.INFO: GPS data processed {"connection_id":147218,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:36:00] local.INFO: Acknowledgment sent {"connection_id":147218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:36:06] local.INFO: TCP Data received {"connection_id":146211,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:36:06] local.INFO: Processing buffer {"connection_id":146211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:36:06] local.INFO: IMEI packet received {"connection_id":146211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 12:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":146211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:36:08] local.INFO: TCP Data received {"connection_id":146211,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:36:08] local.INFO: Processing buffer {"connection_id":146211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:36:08] local.INFO: IMEI packet received {"connection_id":146211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":146211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:36:09] local.INFO: TCP Data received {"connection_id":146211,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc2408d0012d1a6b4007206ee0002600061e..."} 
[2026-08-01 12:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc2408d0012d1a6b4007206ee0002600061e..."} 
[2026-08-01 12:36:09] local.INFO: Processing buffer {"connection_id":146211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc2408d0012d1a6b4007206ee0002600061e..."} 
[2026-08-01 12:36:09] local.INFO: Packet analysis {"connection_id":146211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc24"} 
[2026-08-01 12:36:09] local.INFO: Extracted packet for processing {"connection_id":146211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc24"} 
[2026-08-01 12:36:09] local.INFO: GPS Element Parsed {"raw_longitude":756706112,"raw_latitude":119566048,"longitude_deg":75.6706112,"latitude_deg":11.9566048,"altitude":38,"angle":6,"satellites":30,"speed":7,"hex_longitude":"2d1a6b40","hex_latitude":"07206ee0","is_valid_coordinates":true} 
[2026-08-01 12:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105380096001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10126987423121408,"note":"Value kept but may cause issues"} 
[2026-08-01 12:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904389354288209920,"note":"Value kept but may cause issues"} 
[2026-08-01 12:36:09] 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-08-01 12:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785567906000,"timestamp_ms":1785567906000,"timestamp_seconds":1785567906,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc2408d0"} 
[2026-08-01 12:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:36:09] 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-08-01 12:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-01 12:36: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-08-01 12:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":146211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":146211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":146211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:36:09] 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-08-01 12:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105380096001,"66":14135,"106":206,"83":41984,"24":7,"16":10126987423121408,"45":1904389354288209920},"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-08-01 12:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105380096001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:36:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-01 12:36:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10126987423121408,"km_value":10126987423121.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904389354288209920,"description":"Unknown IO ID 45"} 
[2026-08-01 12:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105380096001,"power":14135,"unknown_106":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1904389354288209920}} 
[2026-08-01 12:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":146211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:36:10] local.INFO: GPS data processed {"connection_id":146211,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:36:10] local.INFO: Acknowledgment sent {"connection_id":146211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:36:41] local.INFO: TCP Data received {"connection_id":146211,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc240cb8012d1a6b4007206fa0002501601e..."} 
[2026-08-01 12:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc240cb8012d1a6b4007206fa0002501601e..."} 
[2026-08-01 12:36:41] local.INFO: Processing buffer {"connection_id":146211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc240cb8012d1a6b4007206fa0002501601e..."} 
[2026-08-01 12:36:41] local.INFO: Packet analysis {"connection_id":146211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc24"} 
[2026-08-01 12:36:41] local.INFO: Extracted packet for processing {"connection_id":146211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc24"} 
[2026-08-01 12:36:41] local.INFO: GPS Element Parsed {"raw_longitude":756706112,"raw_latitude":119566240,"longitude_deg":75.6706112,"latitude_deg":11.956624,"altitude":37,"angle":352,"satellites":30,"speed":6,"hex_longitude":"2d1a6b40","hex_latitude":"07206fa0","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105383936001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10127000308023296,"note":"Value kept but may cause issues"} 
[2026-08-01 12:36:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903685666847252480,"note":"Value kept but may cause issues"} 
[2026-08-01 12:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785567907000,"timestamp_ms":1785567907000,"timestamp_seconds":1785567907,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc240cb8"} 
[2026-08-01 12:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:36:41] 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-08-01 12: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-01 12:36:41] 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-08-01 12: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-08-01 12:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":146211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":146211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":146211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:36: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-08-01 12:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105383936001,"66":14157,"106":206,"83":41984,"24":6,"16":10127000308023296,"45":1903685666847252480},"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-08-01 12:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105383936001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:36:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-01 12:36:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10127000308023296,"km_value":10127000308023.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:36:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903685666847252480,"description":"Unknown IO ID 45"} 
[2026-08-01 12:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105383936001,"power":14157,"unknown_106":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1903685666847252480}} 
[2026-08-01 12:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":146211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:36:42] local.INFO: GPS data processed {"connection_id":146211,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:36:42] local.INFO: Acknowledgment sent {"connection_id":146211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:36:44] local.INFO: TCP Data received {"connection_id":148536,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:36:44] local.INFO: Processing buffer {"connection_id":148536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:36:44] local.INFO: IMEI packet received {"connection_id":148536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":148536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:36:49] local.INFO: TCP Data received {"connection_id":148536,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:36:49] local.INFO: Processing buffer {"connection_id":148536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:36:49] local.INFO: IMEI packet received {"connection_id":148536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":148536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:36:50] local.INFO: TCP Data received {"connection_id":148536,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc240cb8012d0d620006ea0808001600c225..."} 
[2026-08-01 12:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc240cb8012d0d620006ea0808001600c225..."} 
[2026-08-01 12:36:50] local.INFO: Processing buffer {"connection_id":148536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc240cb8012d0d620006ea0808001600c225..."} 
[2026-08-01 12:36:50] local.INFO: Packet analysis {"connection_id":148536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc24"} 
[2026-08-01 12:36:50] local.INFO: Extracted packet for processing {"connection_id":148536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc24"} 
[2026-08-01 12:36:50] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":37,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:36:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105307136001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:36:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:36:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:36:50] 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-08-01 12:36:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785567907000,"timestamp_ms":1785567907000,"timestamp_seconds":1785567907,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc240cb8"} 
[2026-08-01 12:36:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:36:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-01 12:36:50] 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-08-01 12:36:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:36:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:36:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:36:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:36:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:36:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:36:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:36:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:36:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:36:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105307136001,"66":25875,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"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-08-01 12:36:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:36:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:36:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105307136001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:36:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:36:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:36:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:36:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:36:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105307136001,"power":25875,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:36:50] local.INFO: DEBUG: GPS processor result {"connection_id":148536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:36:50] local.INFO: GPS data processed {"connection_id":148536,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:36:50] local.INFO: Acknowledgment sent {"connection_id":148536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:37:04] local.INFO: TCP Data received {"connection_id":146212,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:37:04] local.INFO: Processing buffer {"connection_id":146212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:37:04] local.INFO: IMEI packet received {"connection_id":146212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 12:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":146212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:37:05] local.INFO: TCP Data received {"connection_id":146212,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:37:05] local.INFO: Processing buffer {"connection_id":146212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:37:05] local.INFO: IMEI packet received {"connection_id":146212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":146212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:37:11] local.INFO: TCP Data received {"connection_id":146212,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:37:11] local.INFO: Processing buffer {"connection_id":146212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:37:11] local.INFO: IMEI packet received {"connection_id":146212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":146212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:37:12] local.INFO: TCP Data received {"connection_id":146212,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc241488012d1a6a8007207128002501551f..."} 
[2026-08-01 12:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc241488012d1a6a8007207128002501551f..."} 
[2026-08-01 12:37:12] local.INFO: Processing buffer {"connection_id":146212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc241488012d1a6a8007207128002501551f..."} 
[2026-08-01 12:37:12] local.INFO: Packet analysis {"connection_id":146212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc24"} 
[2026-08-01 12:37:12] local.INFO: Extracted packet for processing {"connection_id":146212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc24"} 
[2026-08-01 12:37:12] local.INFO: GPS Element Parsed {"raw_longitude":756705920,"raw_latitude":119566632,"longitude_deg":75.670592,"latitude_deg":11.9566632,"altitude":37,"angle":341,"satellites":31,"speed":7,"hex_longitude":"2d1a6a80","hex_latitude":"07207128","is_valid_coordinates":true} 
[2026-08-01 12:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105384192001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10127017487892480,"note":"Value kept but may cause issues"} 
[2026-08-01 12:37:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903685666847301632,"note":"Value kept but may cause issues"} 
[2026-08-01 12:37: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-08-01 12:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785567909000,"timestamp_ms":1785567909000,"timestamp_seconds":1785567909,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc241488"} 
[2026-08-01 12:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:37:12] 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-08-01 12:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-01 12:37:12] 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-08-01 12:37:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":146212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":146212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":146212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:37:12] 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-08-01 12:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105384192001,"66":14080,"106":206,"83":41984,"24":7,"16":10127017487892480,"45":1903685666847301632},"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-08-01 12:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105384192001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:37:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-01 12:37:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10127017487892480,"km_value":10127017487892.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:37:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903685666847301632,"description":"Unknown IO ID 45"} 
[2026-08-01 12:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105384192001,"power":14080,"unknown_106":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1903685666847301632}} 
[2026-08-01 12:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":146212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:37:12] local.INFO: GPS data processed {"connection_id":146212,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:37:12] local.INFO: Acknowledgment sent {"connection_id":146212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:37:22] local.INFO: TCP Data received {"connection_id":148536,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc240cb8012d0d620006ea0808001600c225..."} 
[2026-08-01 12:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc240cb8012d0d620006ea0808001600c225..."} 
[2026-08-01 12:37:22] local.INFO: Processing buffer {"connection_id":148536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc240cb8012d0d620006ea0808001600c225..."} 
[2026-08-01 12:37:22] local.INFO: Packet analysis {"connection_id":148536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc24"} 
[2026-08-01 12:37:22] local.INFO: Extracted packet for processing {"connection_id":148536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc24"} 
[2026-08-01 12:37:22] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":37,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:37:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105307136001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:37:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:37:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:37:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:37:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785567907000,"timestamp_ms":1785567907000,"timestamp_seconds":1785567907,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc240cb8"} 
[2026-08-01 12:37:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:37:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-01 12:37:22] 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-08-01 12:37:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:37:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:37:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:37:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:37:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:37:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:37:22] 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-08-01 12:37:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:37:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:37:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105307136001,"66":25875,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"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-08-01 12:37:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:37:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:37:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105307136001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:37:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:37:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:37:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:37:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:37:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105307136001,"power":25875,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:37:22] local.INFO: DEBUG: GPS processor result {"connection_id":148536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:37:22] local.INFO: GPS data processed {"connection_id":148536,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:37:22] local.INFO: Acknowledgment sent {"connection_id":148536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:37:42] local.INFO: TCP Data received {"connection_id":146212,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc25b680012d1a6740072057b8003700b320..."} 
[2026-08-01 12:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc25b680012d1a6740072057b8003700b320..."} 
[2026-08-01 12:37:42] local.INFO: Processing buffer {"connection_id":146212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc25b680012d1a6740072057b8003700b320..."} 
[2026-08-01 12:37:42] local.INFO: Packet analysis {"connection_id":146212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc25"} 
[2026-08-01 12:37:42] local.INFO: Extracted packet for processing {"connection_id":146212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc25"} 
[2026-08-01 12:37:42] local.INFO: GPS Element Parsed {"raw_longitude":756705088,"raw_latitude":119560120,"longitude_deg":75.6705088,"latitude_deg":11.956012,"altitude":55,"angle":179,"satellites":32,"speed":19,"hex_longitude":"2d1a6740","hex_latitude":"072057b8","is_valid_coordinates":true} 
[2026-08-01 12:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105411840001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10127494229262336,"note":"Value kept but may cause issues"} 
[2026-08-01 12:37:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902489398194847744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:37: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-08-01 12:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785568016000,"timestamp_ms":1785568016000,"timestamp_seconds":1785568016,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc25b680"} 
[2026-08-01 12:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:37: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-08-01 12:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-01 12:37: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-08-01 12:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":146212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":146212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":146212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12: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-08-01 12:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105411840001,"66":14461,"106":206,"83":41984,"24":19,"16":10127494229262336,"45":1902489398194847744},"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-08-01 12:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105411840001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:37:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-01 12:37:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10127494229262336,"km_value":10127494229262.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:37:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902489398194847744,"description":"Unknown IO ID 45"} 
[2026-08-01 12:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105411840001,"power":14461,"unknown_106":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1902489398194847744}} 
[2026-08-01 12:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":146212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577113,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:37:43] local.INFO: GPS data processed {"connection_id":146212,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:37:43] local.INFO: Acknowledgment sent {"connection_id":146212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:37:44] local.INFO: TCP Data received {"connection_id":145991,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:37:44] local.INFO: Processing buffer {"connection_id":145991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:37:44] local.INFO: IMEI packet received {"connection_id":145991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":145991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:37:49] local.INFO: TCP Data received {"connection_id":145991,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:37:49] local.INFO: Processing buffer {"connection_id":145991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:37:49] local.INFO: IMEI packet received {"connection_id":145991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":145991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:37:50] local.INFO: TCP Data received {"connection_id":145991,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc240cb8012d0d620006ea0808001600c225..."} 
[2026-08-01 12:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc240cb8012d0d620006ea0808001600c225..."} 
[2026-08-01 12:37:50] local.INFO: Processing buffer {"connection_id":145991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc240cb8012d0d620006ea0808001600c225..."} 
[2026-08-01 12:37:50] local.INFO: Packet analysis {"connection_id":145991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc24"} 
[2026-08-01 12:37:50] local.INFO: Extracted packet for processing {"connection_id":145991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc24"} 
[2026-08-01 12:37:50] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":37,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:37:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105307136001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:37:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:37:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:37:50] 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-08-01 12:37:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785567907000,"timestamp_ms":1785567907000,"timestamp_seconds":1785567907,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc240cb8"} 
[2026-08-01 12:37:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:37:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-01 12:37:50] 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-08-01 12:37:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:37:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:37:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:37:50] local.INFO: Teltonika packet parsed successfully {"connection_id":145991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:37:50] local.INFO: Passing IMEI to GPS processor {"connection_id":145991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:37:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":145991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:37:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:37:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:37:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:37:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105307136001,"66":25875,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"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-08-01 12:37:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:37:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:37:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105307136001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:37:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:37:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:37:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:37:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:37:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105307136001,"power":25875,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:37:50] local.INFO: DEBUG: GPS processor result {"connection_id":145991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:37:50] local.INFO: GPS data processed {"connection_id":145991,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:37:50] local.INFO: Acknowledgment sent {"connection_id":145991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:38:01] local.INFO: TCP Data received {"connection_id":145992,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:38:01] local.INFO: Processing buffer {"connection_id":145992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:38:01] local.INFO: IMEI packet received {"connection_id":145992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 12:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":145992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:38:01] local.INFO: TCP Data received {"connection_id":145992,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:38:01] local.INFO: Processing buffer {"connection_id":145992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:38:01] local.INFO: IMEI packet received {"connection_id":145992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":145992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:38:06] local.INFO: TCP Data received {"connection_id":145992,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:38:06] local.INFO: Processing buffer {"connection_id":145992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:38:06] local.INFO: IMEI packet received {"connection_id":145992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":145992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:38:07] local.INFO: TCP Data received {"connection_id":145992,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc25cdf0012d1a674007204eb8003b00cc20..."} 
[2026-08-01 12:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc25cdf0012d1a674007204eb8003b00cc20..."} 
[2026-08-01 12:38:07] local.INFO: Processing buffer {"connection_id":145992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc25cdf0012d1a674007204eb8003b00cc20..."} 
[2026-08-01 12:38:07] local.INFO: Packet analysis {"connection_id":145992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc25"} 
[2026-08-01 12:38:07] local.INFO: Extracted packet for processing {"connection_id":145992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc25"} 
[2026-08-01 12:38:07] local.INFO: GPS Element Parsed {"raw_longitude":756705088,"raw_latitude":119557816,"longitude_deg":75.6705088,"latitude_deg":11.9557816,"altitude":59,"angle":204,"satellites":32,"speed":8,"hex_longitude":"2d1a6740","hex_latitude":"07204eb8","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105412096001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10127605898412032,"note":"Value kept but may cause issues"} 
[2026-08-01 12:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902559766938892288,"note":"Value kept but may cause issues"} 
[2026-08-01 12:38: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-08-01 12:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785568022000,"timestamp_ms":1785568022000,"timestamp_seconds":1785568022,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc25cdf0"} 
[2026-08-01 12:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-01 12:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12: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-08-01 12:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":145992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":145992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":145992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:38: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-08-01 12:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105412096001,"66":14428,"106":206,"83":41984,"24":8,"16":10127605898412032,"45":1902559766938892288},"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-08-01 12:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105412096001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:38:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-01 12:38:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10127605898412032,"km_value":10127605898412.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902559766938892288,"description":"Unknown IO ID 45"} 
[2026-08-01 12:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105412096001,"power":14428,"unknown_106":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1902559766938892288}} 
[2026-08-01 12:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":145992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:38:07] local.INFO: GPS data processed {"connection_id":145992,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:38:07] local.INFO: Acknowledgment sent {"connection_id":145992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:38:22] local.INFO: TCP Data received {"connection_id":145991,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc240cb8012d0d620006ea0808001600c225..."} 
[2026-08-01 12:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc240cb8012d0d620006ea0808001600c225..."} 
[2026-08-01 12:38:22] local.INFO: Processing buffer {"connection_id":145991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc240cb8012d0d620006ea0808001600c225..."} 
[2026-08-01 12:38:22] local.INFO: Packet analysis {"connection_id":145991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc24"} 
[2026-08-01 12:38:22] local.INFO: Extracted packet for processing {"connection_id":145991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc24"} 
[2026-08-01 12:38:22] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":37,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:38:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105307136001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:38:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:38:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785567907000,"timestamp_ms":1785567907000,"timestamp_seconds":1785567907,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc240cb8"} 
[2026-08-01 12:38:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:38:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-01 12:38:22] 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-08-01 12:38:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:38:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":145991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":145991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":145991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:38:22] 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-08-01 12:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:38:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105307136001,"66":25875,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"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-08-01 12:38:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:38:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:38:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105307136001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:38:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:38:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:38:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:38:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:38:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105307136001,"power":25875,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:38:22] local.INFO: DEBUG: GPS processor result {"connection_id":145991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:38:22] local.INFO: GPS data processed {"connection_id":145991,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:38:22] local.INFO: Acknowledgment sent {"connection_id":145991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:38:38] local.INFO: TCP Data received {"connection_id":145992,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc25d1d8012d1a66c007204e10003c00e020..."} 
[2026-08-01 12:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc25d1d8012d1a66c007204e10003c00e020..."} 
[2026-08-01 12:38:38] local.INFO: Processing buffer {"connection_id":145992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc25d1d8012d1a66c007204e10003c00e020..."} 
[2026-08-01 12:38:38] local.INFO: Packet analysis {"connection_id":145992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc25"} 
[2026-08-01 12:38:38] local.INFO: Extracted packet for processing {"connection_id":145992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc25"} 
[2026-08-01 12:38:38] local.INFO: GPS Element Parsed {"raw_longitude":756704960,"raw_latitude":119557648,"longitude_deg":75.670496,"latitude_deg":11.9557648,"altitude":60,"angle":224,"satellites":32,"speed":6,"hex_longitude":"2d1a66c0","hex_latitude":"07204e10","is_valid_coordinates":true} 
[2026-08-01 12:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105413632001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10127618783313920,"note":"Value kept but may cause issues"} 
[2026-08-01 12:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902559766938302464,"note":"Value kept but may cause issues"} 
[2026-08-01 12:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785568023000,"timestamp_ms":1785568023000,"timestamp_seconds":1785568023,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc25d1d8"} 
[2026-08-01 12:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:38:38] 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-08-01 12:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-01 12:38:38] 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-08-01 12:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:38:38] 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-08-01 12:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105413632001,"66":14070,"106":206,"83":41984,"24":6,"16":10127618783313920,"45":1902559766938302464},"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-08-01 12:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105413632001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:38:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-01 12:38:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10127618783313920,"km_value":10127618783313.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902559766938302464,"description":"Unknown IO ID 45"} 
[2026-08-01 12:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105413632001,"power":14070,"unknown_106":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1902559766938302464}} 
[2026-08-01 12:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":145992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:38:38] local.INFO: GPS data processed {"connection_id":145992,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:38:38] local.INFO: Acknowledgment sent {"connection_id":145992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:38:49] local.INFO: TCP Data received {"connection_id":148537,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:38:49] local.INFO: Processing buffer {"connection_id":148537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:38:49] local.INFO: IMEI packet received {"connection_id":148537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":148537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:38:54] local.INFO: TCP Data received {"connection_id":148537,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:38:54] local.INFO: Processing buffer {"connection_id":148537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:38:54] local.INFO: IMEI packet received {"connection_id":148537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":148537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:38:55] local.INFO: TCP Data received {"connection_id":148537,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc240cb8012d0d620006ea0808001600c225..."} 
[2026-08-01 12:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc240cb8012d0d620006ea0808001600c225..."} 
[2026-08-01 12:38:55] local.INFO: Processing buffer {"connection_id":148537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc240cb8012d0d620006ea0808001600c225..."} 
[2026-08-01 12:38:55] local.INFO: Packet analysis {"connection_id":148537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc24"} 
[2026-08-01 12:38:55] local.INFO: Extracted packet for processing {"connection_id":148537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc24"} 
[2026-08-01 12:38:55] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":37,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105307136001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785567907000,"timestamp_ms":1785567907000,"timestamp_seconds":1785567907,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc240cb8"} 
[2026-08-01 12:38:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:38:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-01 12:38:55] 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-08-01 12:38:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:38:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:38:55] 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-08-01 12:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105307136001,"66":25875,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"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-08-01 12:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105307136001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:38:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:38:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105307136001,"power":25875,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":148537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:38:55] local.INFO: GPS data processed {"connection_id":148537,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:38:55] local.INFO: Acknowledgment sent {"connection_id":148537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:38:57] local.INFO: TCP Data received {"connection_id":145993,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145993,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:38:57] local.INFO: Processing buffer {"connection_id":145993,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:38:57] local.INFO: IMEI packet received {"connection_id":145993,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 12:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":145993,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:39:00] local.INFO: TCP Data received {"connection_id":148537,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc240cb8012d0d620006ea0808001600c225..."} 
[2026-08-01 12:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc240cb8012d0d620006ea0808001600c225..."} 
[2026-08-01 12:39:00] local.INFO: Processing buffer {"connection_id":148537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc240cb8012d0d620006ea0808001600c225..."} 
[2026-08-01 12:39:00] local.INFO: Packet analysis {"connection_id":148537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc24"} 
[2026-08-01 12:39:00] local.INFO: Extracted packet for processing {"connection_id":148537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc24"} 
[2026-08-01 12:39:00] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":37,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105307136001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:39: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-08-01 12:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785567907000,"timestamp_ms":1785567907000,"timestamp_seconds":1785567907,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc240cb8"} 
[2026-08-01 12:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12: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-08-01 12:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-01 12:39:00] 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-08-01 12:39:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":148537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":148537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":148537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:39: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-08-01 12:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105307136001,"66":25875,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"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-08-01 12:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105307136001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:39:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:39:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105307136001,"power":25875,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":148537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:39:00] local.INFO: GPS data processed {"connection_id":148537,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:39:00] local.INFO: Acknowledgment sent {"connection_id":148537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:39:01] local.INFO: TCP Data received {"connection_id":145993,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145993,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:39:01] local.INFO: Processing buffer {"connection_id":145993,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:39:01] local.INFO: IMEI packet received {"connection_id":145993,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":145993,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:39:01] local.INFO: TCP Data received {"connection_id":145993,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145993,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:39:01] local.INFO: Processing buffer {"connection_id":145993,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:39:01] local.INFO: IMEI packet received {"connection_id":145993,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":145993,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:39:06] local.INFO: TCP Data received {"connection_id":145993,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145993,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:39:06] local.INFO: Processing buffer {"connection_id":145993,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:39:06] local.INFO: IMEI packet received {"connection_id":145993,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":145993,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:39:06] local.INFO: TCP Data received {"connection_id":145993,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc26f2e8012d19d3c007202648002d00f821..."} 
[2026-08-01 12:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc26f2e8012d19d3c007202648002d00f821..."} 
[2026-08-01 12:39:06] local.INFO: Processing buffer {"connection_id":145993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc26f2e8012d19d3c007202648002d00f821..."} 
[2026-08-01 12:39:06] local.INFO: Packet analysis {"connection_id":145993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc26"} 
[2026-08-01 12:39:06] local.INFO: Extracted packet for processing {"connection_id":145993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc26"} 
[2026-08-01 12:39:06] local.INFO: GPS Element Parsed {"raw_longitude":756667328,"raw_latitude":119547464,"longitude_deg":75.6667328,"latitude_deg":11.9547464,"altitude":45,"angle":248,"satellites":33,"speed":19,"hex_longitude":"2d19d3c0","hex_latitude":"07202648","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105431808001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10129525748793344,"note":"Value kept but may cause issues"} 
[2026-08-01 12:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863505113917100032,"note":"Value kept but may cause issues"} 
[2026-08-01 12:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785568097000,"timestamp_ms":1785568097000,"timestamp_seconds":1785568097,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc26f2e8"} 
[2026-08-01 12:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:39: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-08-01 12: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-01 12:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219456,"note":"Value kept but may cause issues"} 
[2026-08-01 12:39:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-01 12:39:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 12:39:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3156616160,"note":"Value kept but may cause issues"} 
[2026-08-01 12:39:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-01 12:39:06] local.WARNING: Large IO value detected {"io_id":86,"raw_value":2818649370,"note":"Value kept but may cause issues"} 
[2026-08-01 12:39:06] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2147950659,"note":"Value kept but may cause issues"} 
[2026-08-01 12:39:06] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3288386936,"note":"Value kept but may cause issues"} 
[2026-08-01 12:39:06] local.WARNING: Large IO value detected {"io_id":35,"raw_value":4220977152,"note":"Value kept but may cause issues"} 
[2026-08-01 12:39:06] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,103,83,24,241,157,16,252,159,196,45,44,53,34,10,66,101,160,60,64,32,149,192,1,240,22,227,188,4,113,205,23,86,52,56,239,55,2,35,7,15],"length":479,"final_offset":609,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-08-01 12:39:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314935340503269376,"timestamp_seconds":3314935340503269.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 12:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:39:06] 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-08-01 12:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105431808001,"66":14374,"103":206,"83":41984,"24":19,"16":10129525748793344,"45":1863505113917100032},"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-08-01 12:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105431808001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:39:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 12:39:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10129525748793344,"km_value":10129525748793.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863505113917100032,"description":"Unknown IO ID 45"} 
[2026-08-01 12:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105431808001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1863505113917100032}} 
[2026-08-01 12:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":145993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:39:06] local.INFO: GPS data processed {"connection_id":145993,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:39:06] local.INFO: Acknowledgment sent {"connection_id":145993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:39:37] local.INFO: TCP Data received {"connection_id":145993,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc26f6d0012d19d24007202530002c00e622..."} 
[2026-08-01 12:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc26f6d0012d19d24007202530002c00e622..."} 
[2026-08-01 12:39:37] local.INFO: Processing buffer {"connection_id":145993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc26f6d0012d19d24007202530002c00e622..."} 
[2026-08-01 12:39:37] local.INFO: Packet analysis {"connection_id":145993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc26"} 
[2026-08-01 12:39:37] local.INFO: Extracted packet for processing {"connection_id":145993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc26"} 
[2026-08-01 12:39:37] local.INFO: GPS Element Parsed {"raw_longitude":756666944,"raw_latitude":119547184,"longitude_deg":75.6666944,"latitude_deg":11.9547184,"altitude":44,"angle":230,"satellites":34,"speed":18,"hex_longitude":"2d19d240","hex_latitude":"07202530","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105432832001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10129547223629824,"note":"Value kept but may cause issues"} 
[2026-08-01 12:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861042207870830592,"note":"Value kept but may cause issues"} 
[2026-08-01 12:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785568098000,"timestamp_ms":1785568098000,"timestamp_seconds":1785568098,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc26f6d0"} 
[2026-08-01 12:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-01 12:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12: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-08-01 12:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:39:37] 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-08-01 12:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105432832001,"66":14374,"103":206,"83":41984,"24":18,"16":10129547223629824,"45":1861042207870830592},"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-08-01 12:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105432832001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:39:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 12:39:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10129547223629824,"km_value":10129547223629.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861042207870830592,"description":"Unknown IO ID 45"} 
[2026-08-01 12:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105432832001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1861042207870830592}} 
[2026-08-01 12:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":145993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:39:37] local.INFO: GPS data processed {"connection_id":145993,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:39:37] local.INFO: Acknowledgment sent {"connection_id":145993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:39:44] local.INFO: TCP Data received {"connection_id":148538,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:39:44] local.INFO: Processing buffer {"connection_id":148538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:39:44] local.INFO: IMEI packet received {"connection_id":148538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":148538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:39:49] local.INFO: TCP Data received {"connection_id":148538,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:39:49] local.INFO: Processing buffer {"connection_id":148538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:39:49] local.INFO: IMEI packet received {"connection_id":148538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":148538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:39:50] local.INFO: TCP Data received {"connection_id":148538,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc240cb8012d0d620006ea0808001600c225..."} 
[2026-08-01 12:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc240cb8012d0d620006ea0808001600c225..."} 
[2026-08-01 12:39:50] local.INFO: Processing buffer {"connection_id":148538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc240cb8012d0d620006ea0808001600c225..."} 
[2026-08-01 12:39:50] local.INFO: Packet analysis {"connection_id":148538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc24"} 
[2026-08-01 12:39:50] local.INFO: Extracted packet for processing {"connection_id":148538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc24"} 
[2026-08-01 12:39:50] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":37,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105307136001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:39:50] 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-08-01 12:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785567907000,"timestamp_ms":1785567907000,"timestamp_seconds":1785567907,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc240cb8"} 
[2026-08-01 12:39:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:39:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-01 12:39:50] 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-08-01 12: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-08-01 12:39:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:39:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105307136001,"66":25875,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"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-08-01 12:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105307136001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:39:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:39:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105307136001,"power":25875,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":148538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:39:50] local.INFO: GPS data processed {"connection_id":148538,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:39:50] local.INFO: Acknowledgment sent {"connection_id":148538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:40:01] local.INFO: TCP Data received {"connection_id":145994,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145994,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:40:01] local.INFO: Processing buffer {"connection_id":145994,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:40:01] local.INFO: IMEI packet received {"connection_id":145994,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 12:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":145994,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:40:03] local.INFO: TCP Data received {"connection_id":145994,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145994,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:40:03] local.INFO: Processing buffer {"connection_id":145994,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:40:03] local.INFO: IMEI packet received {"connection_id":145994,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":145994,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:40:06] local.INFO: TCP Data received {"connection_id":145994,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145994,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:40:06] local.INFO: Processing buffer {"connection_id":145994,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:40:06] local.INFO: IMEI packet received {"connection_id":145994,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":145994,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:40:06] local.INFO: TCP Data received {"connection_id":145994,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc26fea0012d19d04007202230002c00d419..."} 
[2026-08-01 12:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc26fea0012d19d04007202230002c00d419..."} 
[2026-08-01 12:40:06] local.INFO: Processing buffer {"connection_id":145994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc26fea0012d19d04007202230002c00d419..."} 
[2026-08-01 12:40:06] local.INFO: Packet analysis {"connection_id":145994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc26"} 
[2026-08-01 12:40:06] local.INFO: Extracted packet for processing {"connection_id":145994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc26"} 
[2026-08-01 12:40:06] local.INFO: GPS Element Parsed {"raw_longitude":756666432,"raw_latitude":119546416,"longitude_deg":75.6666432,"latitude_deg":11.9546416,"altitude":44,"angle":212,"satellites":25,"speed":19,"hex_longitude":"2d19d040","hex_latitude":"07202230","is_valid_coordinates":true} 
[2026-08-01 12:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105433088001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10129594468270080,"note":"Value kept but may cause issues"} 
[2026-08-01 12:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860619995405692928,"note":"Value kept but may cause issues"} 
[2026-08-01 12:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785568100000,"timestamp_ms":1785568100000,"timestamp_seconds":1785568100,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc26fea0"} 
[2026-08-01 12:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:40: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-08-01 12:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-01 12:40:06] 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-08-01 12:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:40:06] 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-08-01 12:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105433088001,"66":14243,"103":206,"83":41984,"24":19,"16":10129594468270080,"45":1860619995405692928},"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-08-01 12:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105433088001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:40:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 12:40:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10129594468270080,"km_value":10129594468270.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860619995405692928,"description":"Unknown IO ID 45"} 
[2026-08-01 12:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105433088001,"power":14243,"unknown_103":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1860619995405692928}} 
[2026-08-01 12:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":145994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:40:07] local.INFO: GPS data processed {"connection_id":145994,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:40:07] local.INFO: Acknowledgment sent {"connection_id":145994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:40:07] local.INFO: TCP Data received {"connection_id":145994,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc270670012d19cd8007201f78002a00e21e..."} 
[2026-08-01 12:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc270670012d19cd8007201f78002a00e21e..."} 
[2026-08-01 12:40:07] local.INFO: Processing buffer {"connection_id":145994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc270670012d19cd8007201f78002a00e21e..."} 
[2026-08-01 12:40:07] local.INFO: Packet analysis {"connection_id":145994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc27"} 
[2026-08-01 12:40:07] local.INFO: Extracted packet for processing {"connection_id":145994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc27"} 
[2026-08-01 12:40:07] local.INFO: GPS Element Parsed {"raw_longitude":756665728,"raw_latitude":119545720,"longitude_deg":75.6665728,"latitude_deg":11.954572,"altitude":42,"angle":226,"satellites":30,"speed":16,"hex_longitude":"2d19cd80","hex_latitude":"07201f78","is_valid_coordinates":true} 
[2026-08-01 12:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105433600001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10129641712910336,"note":"Value kept but may cause issues"} 
[2026-08-01 12:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860057045452075008,"note":"Value kept but may cause issues"} 
[2026-08-01 12:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785568102000,"timestamp_ms":1785568102000,"timestamp_seconds":1785568102,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc270670"} 
[2026-08-01 12:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-01 12:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":145994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":145994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":145994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:40: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-08-01 12:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105433600001,"66":14483,"103":206,"83":41984,"24":16,"16":10129641712910336,"45":1860057045452075008},"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-08-01 12:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105433600001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:40:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 12:40:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10129641712910336,"km_value":10129641712910.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860057045452075008,"description":"Unknown IO ID 45"} 
[2026-08-01 12:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105433600001,"power":14483,"unknown_103":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1860057045452075008}} 
[2026-08-01 12:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":145994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577124,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:40:07] local.INFO: GPS data processed {"connection_id":145994,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:40:07] local.INFO: Acknowledgment sent {"connection_id":145994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:40:22] local.INFO: TCP Data received {"connection_id":148538,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc240cb8012d0d620006ea0808001600c225..."} 
[2026-08-01 12:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc240cb8012d0d620006ea0808001600c225..."} 
[2026-08-01 12:40:22] local.INFO: Processing buffer {"connection_id":148538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc240cb8012d0d620006ea0808001600c225..."} 
[2026-08-01 12:40:22] local.INFO: Packet analysis {"connection_id":148538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc24"} 
[2026-08-01 12:40:22] local.INFO: Extracted packet for processing {"connection_id":148538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc24"} 
[2026-08-01 12:40:22] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":37,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105307136001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:40:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:40:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785567907000,"timestamp_ms":1785567907000,"timestamp_seconds":1785567907,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc240cb8"} 
[2026-08-01 12:40:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:40:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-01 12:40:22] 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-08-01 12:40:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:40:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:40:22] 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-08-01 12:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105307136001,"66":25875,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"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-08-01 12:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105307136001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:40:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:40:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:40:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105307136001,"power":25875,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":148538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:40:22] local.INFO: GPS data processed {"connection_id":148538,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:40:22] local.INFO: Acknowledgment sent {"connection_id":148538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:40:38] local.INFO: TCP Data received {"connection_id":145994,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc285a48012d19b6c00720aca80034012d23..."} 
[2026-08-01 12:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc285a48012d19b6c00720aca80034012d23..."} 
[2026-08-01 12:40:38] local.INFO: Processing buffer {"connection_id":145994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc285a48012d19b6c00720aca80034012d23..."} 
[2026-08-01 12:40:38] local.INFO: Packet analysis {"connection_id":145994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc28"} 
[2026-08-01 12:40:38] local.INFO: Extracted packet for processing {"connection_id":145994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc28"} 
[2026-08-01 12:40:38] local.INFO: GPS Element Parsed {"raw_longitude":756659904,"raw_latitude":119581864,"longitude_deg":75.6659904,"latitude_deg":11.9581864,"altitude":52,"angle":301,"satellites":35,"speed":22,"hex_longitude":"2d19b6c0","hex_latitude":"0720aca8","is_valid_coordinates":true} 
[2026-08-01 12:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105456128001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10131595923030016,"note":"Value kept but may cause issues"} 
[2026-08-01 12:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853583120996718592,"note":"Value kept but may cause issues"} 
[2026-08-01 12:40: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-08-01 12:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785568189000,"timestamp_ms":1785568189000,"timestamp_seconds":1785568189,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc285a48"} 
[2026-08-01 12:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:40:38] 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-08-01 12:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-01 12:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":145994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":145994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":145994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:40:38] 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-08-01 12:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105456128001,"66":14374,"103":206,"83":41984,"24":22,"16":10131595923030016,"45":1853583120996718592},"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-08-01 12:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105456128001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:40:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 12:40:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10131595923030016,"km_value":10131595923030.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853583120996718592,"description":"Unknown IO ID 45"} 
[2026-08-01 12:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105456128001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1853583120996718592}} 
[2026-08-01 12:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":145994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:40:38] local.INFO: GPS data processed {"connection_id":145994,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:40:38] local.INFO: Acknowledgment sent {"connection_id":145994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:40:44] local.INFO: TCP Data received {"connection_id":146213,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:40:44] local.INFO: Processing buffer {"connection_id":146213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:40:44] local.INFO: IMEI packet received {"connection_id":146213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":146213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:40:46] local.INFO: TCP Data received {"connection_id":146213,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:40:46] local.INFO: Processing buffer {"connection_id":146213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:40:46] local.INFO: IMEI packet received {"connection_id":146213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":146213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:40:47] local.INFO: TCP Data received {"connection_id":146213,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc28a480012d0d620006ea0808001600c229..."} 
[2026-08-01 12:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc28a480012d0d620006ea0808001600c229..."} 
[2026-08-01 12:40:47] local.INFO: Processing buffer {"connection_id":146213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc28a480012d0d620006ea0808001600c229..."} 
[2026-08-01 12:40:47] local.INFO: Packet analysis {"connection_id":146213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc28"} 
[2026-08-01 12:40:47] local.INFO: Extracted packet for processing {"connection_id":146213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc28"} 
[2026-08-01 12:40:47] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":41,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105384192001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:40:47] 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-08-01 12:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785568208000,"timestamp_ms":1785568208000,"timestamp_seconds":1785568208,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc28a480"} 
[2026-08-01 12:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:40:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-01 12:40:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:40:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":146213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":146213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":146213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:40:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105384192001,"66":25778,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"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-08-01 12:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105384192001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:40:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:40:47] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105384192001,"power":25778,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":146213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:40:47] local.INFO: GPS data processed {"connection_id":146213,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:40:47] local.INFO: Acknowledgment sent {"connection_id":146213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:40:59] local.INFO: TCP Data received {"connection_id":145995,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:40:59] local.INFO: Processing buffer {"connection_id":145995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:40:59] local.INFO: IMEI packet received {"connection_id":145995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 12:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":145995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:41:00] local.INFO: TCP Data received {"connection_id":145995,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:41:00] local.INFO: Processing buffer {"connection_id":145995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:41:00] local.INFO: IMEI packet received {"connection_id":145995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":145995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:41:06] local.INFO: TCP Data received {"connection_id":145995,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:41:06] local.INFO: Processing buffer {"connection_id":145995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:41:06] local.INFO: IMEI packet received {"connection_id":145995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":145995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:41:06] local.INFO: TCP Data received {"connection_id":145995,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc2869e8012d19ad000720b0400036012122..."} 
[2026-08-01 12:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc2869e8012d19ad000720b0400036012122..."} 
[2026-08-01 12:41:06] local.INFO: Processing buffer {"connection_id":145995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc2869e8012d19ad000720b0400036012122..."} 
[2026-08-01 12:41:06] local.INFO: Packet analysis {"connection_id":145995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc28"} 
[2026-08-01 12:41:06] local.INFO: Extracted packet for processing {"connection_id":145995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc28"} 
[2026-08-01 12:41:06] local.INFO: GPS Element Parsed {"raw_longitude":756657408,"raw_latitude":119582784,"longitude_deg":75.6657408,"latitude_deg":11.9582784,"altitude":54,"angle":289,"satellites":34,"speed":25,"hex_longitude":"2d19ad00","hex_latitude":"0720b040","is_valid_coordinates":true} 
[2026-08-01 12:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105456384001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10131724772048896,"note":"Value kept but may cause issues"} 
[2026-08-01 12:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852879433555027968,"note":"Value kept but may cause issues"} 
[2026-08-01 12:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785568193000,"timestamp_ms":1785568193000,"timestamp_seconds":1785568193,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc2869e8"} 
[2026-08-01 12:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-01 12:41:06] 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-08-01 12:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:41:06] 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-08-01 12:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105456384001,"66":14461,"103":206,"83":41984,"24":25,"16":10131724772048896,"45":1852879433555027968},"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-08-01 12:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105456384001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:41:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 12:41:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10131724772048896,"km_value":10131724772048.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852879433555027968,"description":"Unknown IO ID 45"} 
[2026-08-01 12:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105456384001,"power":14461,"unknown_103":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1852879433555027968}} 
[2026-08-01 12:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":145995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577128,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:41:06] local.INFO: GPS data processed {"connection_id":145995,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:41:06] local.INFO: Acknowledgment sent {"connection_id":145995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:41:19] local.INFO: TCP Data received {"connection_id":146213,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc28a480012d0d620006ea0808001600c229..."} 
[2026-08-01 12:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc28a480012d0d620006ea0808001600c229..."} 
[2026-08-01 12:41:19] local.INFO: Processing buffer {"connection_id":146213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc28a480012d0d620006ea0808001600c229..."} 
[2026-08-01 12:41:19] local.INFO: Packet analysis {"connection_id":146213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc28"} 
[2026-08-01 12:41:19] local.INFO: Extracted packet for processing {"connection_id":146213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc28"} 
[2026-08-01 12:41:19] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":41,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105384192001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:41:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785568208000,"timestamp_ms":1785568208000,"timestamp_seconds":1785568208,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc28a480"} 
[2026-08-01 12:41:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:41:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-01 12:41:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12: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-08-01 12:41:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":146213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":146213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":146213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:41:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105384192001,"66":25778,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"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-08-01 12:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105384192001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:41:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:41:19] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:41:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105384192001,"power":25778,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":146213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:41:19] local.INFO: GPS data processed {"connection_id":146213,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:41:19] local.INFO: Acknowledgment sent {"connection_id":146213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:41:37] local.INFO: TCP Data received {"connection_id":145995,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc2875a0012d19a5400720b1c00038011423..."} 
[2026-08-01 12:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc2875a0012d19a5400720b1c00038011423..."} 
[2026-08-01 12:41:37] local.INFO: Processing buffer {"connection_id":145995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc2875a0012d19a5400720b1c00038011423..."} 
[2026-08-01 12:41:37] local.INFO: Packet analysis {"connection_id":145995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc28"} 
[2026-08-01 12:41:37] local.INFO: Extracted packet for processing {"connection_id":145995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc28"} 
[2026-08-01 12:41:37] local.INFO: GPS Element Parsed {"raw_longitude":756655424,"raw_latitude":119583168,"longitude_deg":75.6655424,"latitude_deg":11.9583168,"altitude":56,"angle":276,"satellites":35,"speed":27,"hex_longitude":"2d19a540","hex_latitude":"0720b1c0","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105457408001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10131819261329408,"note":"Value kept but may cause issues"} 
[2026-08-01 12:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850135052532334592,"note":"Value kept but may cause issues"} 
[2026-08-01 12:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785568196000,"timestamp_ms":1785568196000,"timestamp_seconds":1785568196,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc2875a0"} 
[2026-08-01 12:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-01 12:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12: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-08-01 12:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:41:37] 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-08-01 12:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105457408001,"66":14374,"103":206,"83":41984,"24":27,"16":10131819261329408,"45":1850135052532334592},"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-08-01 12:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105457408001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:41:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 12:41:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10131819261329408,"km_value":10131819261329.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850135052532334592,"description":"Unknown IO ID 45"} 
[2026-08-01 12:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105457408001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1850135052532334592}} 
[2026-08-01 12:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":145995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577130,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:41:38] local.INFO: GPS data processed {"connection_id":145995,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:41:38] local.INFO: Acknowledgment sent {"connection_id":145995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:41:44] local.INFO: TCP Data received {"connection_id":147219,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:41:44] local.INFO: Processing buffer {"connection_id":147219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:41:44] local.INFO: IMEI packet received {"connection_id":147219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":147219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:41:49] local.INFO: TCP Data received {"connection_id":147219,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:41:49] local.INFO: Processing buffer {"connection_id":147219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:41:49] local.INFO: IMEI packet received {"connection_id":147219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":147219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:41:50] local.INFO: TCP Data received {"connection_id":147219,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc28a480012d0d620006ea0808001600c229..."} 
[2026-08-01 12:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc28a480012d0d620006ea0808001600c229..."} 
[2026-08-01 12:41:50] local.INFO: Processing buffer {"connection_id":147219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc28a480012d0d620006ea0808001600c229..."} 
[2026-08-01 12:41:50] local.INFO: Packet analysis {"connection_id":147219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc28"} 
[2026-08-01 12:41:50] local.INFO: Extracted packet for processing {"connection_id":147219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc28"} 
[2026-08-01 12:41:50] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":41,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105384192001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:41:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:41:50] 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-08-01 12:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785568208000,"timestamp_ms":1785568208000,"timestamp_seconds":1785568208,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc28a480"} 
[2026-08-01 12:41:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:41:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-01 12:41:50] 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-08-01 12: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-08-01 12:41:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:41:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105384192001,"66":25778,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-01 12:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105384192001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:41:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:41:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:41:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105384192001,"power":25778,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":147219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:41:50] local.INFO: GPS data processed {"connection_id":147219,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:41:50] local.INFO: Acknowledgment sent {"connection_id":147219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:41:59] local.INFO: TCP Data received {"connection_id":145996,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:41:59] local.INFO: Processing buffer {"connection_id":145996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:41:59] local.INFO: IMEI packet received {"connection_id":145996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 12:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":145996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:42:00] local.INFO: TCP Data received {"connection_id":145996,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:42:00] local.INFO: Processing buffer {"connection_id":145996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:42:00] local.INFO: IMEI packet received {"connection_id":145996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":145996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:42:05] local.INFO: TCP Data received {"connection_id":145996,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:42:05] local.INFO: Processing buffer {"connection_id":145996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:42:05] local.INFO: IMEI packet received {"connection_id":145996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":145996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:42:05] local.INFO: TCP Data received {"connection_id":145996,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc29aa38012d18e0000720f6a00041013822..."} 
[2026-08-01 12:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc29aa38012d18e0000720f6a00041013822..."} 
[2026-08-01 12:42:05] local.INFO: Processing buffer {"connection_id":145996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc29aa38012d18e0000720f6a00041013822..."} 
[2026-08-01 12:42:05] local.INFO: Packet analysis {"connection_id":145996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc29"} 
[2026-08-01 12:42:05] local.INFO: Extracted packet for processing {"connection_id":145996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc29"} 
[2026-08-01 12:42:05] local.INFO: GPS Element Parsed {"raw_longitude":756604928,"raw_latitude":119600800,"longitude_deg":75.6604928,"latitude_deg":11.96008,"altitude":65,"angle":312,"satellites":34,"speed":33,"hex_longitude":"2d18e000","hex_latitude":"0720f6a0","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105476096001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10134572335366144,"note":"Value kept but may cause issues"} 
[2026-08-01 12:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1796795544448708608,"note":"Value kept but may cause issues"} 
[2026-08-01 12:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785568275000,"timestamp_ms":1785568275000,"timestamp_seconds":1785568275,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc29aa38"} 
[2026-08-01 12:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:42:05] 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-08-01 12: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-01 12:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12: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-08-01 12:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":145996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":145996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":145996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:42:05] 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-08-01 12:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105476096001,"66":14483,"103":206,"83":41984,"24":33,"16":10134572335366144,"45":1796795544448708608},"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-08-01 12:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105476096001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:42:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 12:42:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10134572335366144,"km_value":10134572335366.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1796795544448708608,"description":"Unknown IO ID 45"} 
[2026-08-01 12:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105476096001,"power":14483,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1796795544448708608}} 
[2026-08-01 12:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":145996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577132,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:42:05] local.INFO: GPS data processed {"connection_id":145996,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:42:05] local.INFO: Acknowledgment sent {"connection_id":145996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:42:22] local.INFO: TCP Data received {"connection_id":147219,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc28a480012d0d620006ea0808001600c229..."} 
[2026-08-01 12:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc28a480012d0d620006ea0808001600c229..."} 
[2026-08-01 12:42:22] local.INFO: Processing buffer {"connection_id":147219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc28a480012d0d620006ea0808001600c229..."} 
[2026-08-01 12:42:22] local.INFO: Packet analysis {"connection_id":147219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc28"} 
[2026-08-01 12:42:22] local.INFO: Extracted packet for processing {"connection_id":147219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc28"} 
[2026-08-01 12:42:22] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":41,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105384192001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:42:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785568208000,"timestamp_ms":1785568208000,"timestamp_seconds":1785568208,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc28a480"} 
[2026-08-01 12:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:42:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-01 12:42:22] 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-08-01 12:42:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:42:22] 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-08-01 12:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105384192001,"66":25778,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-01 12:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105384192001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:42:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:42:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105384192001,"power":25778,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":147219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:42:22] local.INFO: GPS data processed {"connection_id":147219,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:42:22] local.INFO: Acknowledgment sent {"connection_id":147219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:42:37] local.INFO: TCP Data received {"connection_id":145996,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc29b9d8012d18d7000720ffe80041014a23..."} 
[2026-08-01 12:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc29b9d8012d18d7000720ffe80041014a23..."} 
[2026-08-01 12:42:37] local.INFO: Processing buffer {"connection_id":145996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc29b9d8012d18d7000720ffe80041014a23..."} 
[2026-08-01 12:42:37] local.INFO: Packet analysis {"connection_id":145996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc29"} 
[2026-08-01 12:42:37] local.INFO: Extracted packet for processing {"connection_id":145996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc29"} 
[2026-08-01 12:42:37] local.INFO: GPS Element Parsed {"raw_longitude":756602624,"raw_latitude":119603176,"longitude_deg":75.6602624,"latitude_deg":11.9603176,"altitude":65,"angle":330,"satellites":35,"speed":33,"hex_longitude":"2d18d700","hex_latitude":"0720ffe8","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105478400001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10134731249156096,"note":"Value kept but may cause issues"} 
[2026-08-01 12:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792432682311262208,"note":"Value kept but may cause issues"} 
[2026-08-01 12:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785568279000,"timestamp_ms":1785568279000,"timestamp_seconds":1785568279,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc29b9d8"} 
[2026-08-01 12:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-01 12:42:37] 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-08-01 12: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-08-01 12:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:42:37] 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-08-01 12:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105478400001,"66":14483,"103":206,"83":41984,"24":33,"16":10134731249156096,"45":1792432682311262208},"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-08-01 12:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105478400001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:42:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 12:42:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10134731249156096,"km_value":10134731249156.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792432682311262208,"description":"Unknown IO ID 45"} 
[2026-08-01 12:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105478400001,"power":14483,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1792432682311262208}} 
[2026-08-01 12:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":145996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:42:37] local.INFO: GPS data processed {"connection_id":145996,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:42:37] local.INFO: Acknowledgment sent {"connection_id":145996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:42:44] local.INFO: TCP Data received {"connection_id":148539,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:42:44] local.INFO: Processing buffer {"connection_id":148539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:42:44] local.INFO: IMEI packet received {"connection_id":148539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":148539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:42:49] local.INFO: TCP Data received {"connection_id":148539,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:42:49] local.INFO: Processing buffer {"connection_id":148539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:42:49] local.INFO: IMEI packet received {"connection_id":148539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":148539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:42:50] local.INFO: TCP Data received {"connection_id":148539,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc28a480012d0d620006ea0808001600c229..."} 
[2026-08-01 12:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc28a480012d0d620006ea0808001600c229..."} 
[2026-08-01 12:42:50] local.INFO: Processing buffer {"connection_id":148539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc28a480012d0d620006ea0808001600c229..."} 
[2026-08-01 12:42:50] local.INFO: Packet analysis {"connection_id":148539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc28"} 
[2026-08-01 12:42:50] local.INFO: Extracted packet for processing {"connection_id":148539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc28"} 
[2026-08-01 12:42:50] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":41,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105384192001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:42:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:42:50] 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-08-01 12:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785568208000,"timestamp_ms":1785568208000,"timestamp_seconds":1785568208,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc28a480"} 
[2026-08-01 12:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-01 12:42:50] 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-08-01 12: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-08-01 12:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105384192001,"66":25778,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-01 12:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105384192001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:42:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:42:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:42:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105384192001,"power":25778,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":148539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:42:50] local.INFO: GPS data processed {"connection_id":148539,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:42:50] local.INFO: Acknowledgment sent {"connection_id":148539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:43:00] local.INFO: TCP Data received {"connection_id":145997,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:43:00] local.INFO: Processing buffer {"connection_id":145997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:43:00] local.INFO: IMEI packet received {"connection_id":145997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 12:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":145997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:43:03] local.INFO: TCP Data received {"connection_id":145997,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:43:03] local.INFO: Processing buffer {"connection_id":145997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:43:03] local.INFO: IMEI packet received {"connection_id":145997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":145997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:43:04] local.INFO: TCP Data received {"connection_id":145997,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:43:04] local.INFO: Processing buffer {"connection_id":145997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:43:04] local.INFO: IMEI packet received {"connection_id":145997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":145997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:43:05] local.INFO: TCP Data received {"connection_id":145997,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:43:05] local.INFO: Processing buffer {"connection_id":145997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:43:05] local.INFO: IMEI packet received {"connection_id":145997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":145997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:43:06] local.INFO: TCP Data received {"connection_id":145997,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc2a8cc8012d18848007218160004a011c24..."} 
[2026-08-01 12:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc2a8cc8012d18848007218160004a011c24..."} 
[2026-08-01 12:43:06] local.INFO: Processing buffer {"connection_id":145997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc2a8cc8012d18848007218160004a011c24..."} 
[2026-08-01 12:43:06] local.INFO: Packet analysis {"connection_id":145997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc2a"} 
[2026-08-01 12:43:06] local.INFO: Extracted packet for processing {"connection_id":145997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc2a"} 
[2026-08-01 12:43:06] local.INFO: GPS Element Parsed {"raw_longitude":756581504,"raw_latitude":119636320,"longitude_deg":75.6581504,"latitude_deg":11.963632,"altitude":74,"angle":284,"satellites":36,"speed":29,"hex_longitude":"2d188480","hex_latitude":"07218160","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105493248001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10136801423392768,"note":"Value kept but may cause issues"} 
[2026-08-01 12:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766677721951330304,"note":"Value kept but may cause issues"} 
[2026-08-01 12:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785568333000,"timestamp_ms":1785568333000,"timestamp_seconds":1785568333,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc2a8cc8"} 
[2026-08-01 12:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-01 12:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12: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-08-01 12:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":145997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":145997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":145997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:43:06] 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-08-01 12:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105493248001,"66":14135,"106":206,"83":41984,"24":29,"16":10136801423392768,"45":1766677721951330304},"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-08-01 12:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105493248001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:43:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-01 12:43:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10136801423392768,"km_value":10136801423392.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766677721951330304,"description":"Unknown IO ID 45"} 
[2026-08-01 12:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105493248001,"power":14135,"unknown_106":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1766677721951330304}} 
[2026-08-01 12:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":145997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:43:06] local.INFO: GPS data processed {"connection_id":145997,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:43:06] local.INFO: Acknowledgment sent {"connection_id":145997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:43:21] local.INFO: TCP Data received {"connection_id":148539,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc28a480012d0d620006ea0808001600c229..."} 
[2026-08-01 12:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc28a480012d0d620006ea0808001600c229..."} 
[2026-08-01 12:43:21] local.INFO: Processing buffer {"connection_id":148539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc28a480012d0d620006ea0808001600c229..."} 
[2026-08-01 12:43:21] local.INFO: Packet analysis {"connection_id":148539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc28"} 
[2026-08-01 12:43:21] local.INFO: Extracted packet for processing {"connection_id":148539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc28"} 
[2026-08-01 12:43:21] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":41,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105384192001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:43:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:43:21] 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-08-01 12:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785568208000,"timestamp_ms":1785568208000,"timestamp_seconds":1785568208,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc28a480"} 
[2026-08-01 12:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:43:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-01 12:43:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12: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-08-01 12:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:43:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105384192001,"66":25778,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-01 12:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105384192001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:43:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:43:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:43:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105384192001,"power":25778,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":148539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:43:21] local.INFO: GPS data processed {"connection_id":148539,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:43:21] local.INFO: Acknowledgment sent {"connection_id":148539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:43:37] local.INFO: TCP Data received {"connection_id":145997,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc2a9880012d187b8007218290004a010f23..."} 
[2026-08-01 12:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc2a9880012d187b8007218290004a010f23..."} 
[2026-08-01 12:43:37] local.INFO: Processing buffer {"connection_id":145997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc2a9880012d187b8007218290004a010f23..."} 
[2026-08-01 12:43:37] local.INFO: Packet analysis {"connection_id":145997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc2a"} 
[2026-08-01 12:43:37] local.INFO: Extracted packet for processing {"connection_id":145997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc2a"} 
[2026-08-01 12:43:37] local.INFO: GPS Element Parsed {"raw_longitude":756579200,"raw_latitude":119636624,"longitude_deg":75.65792,"latitude_deg":11.9636624,"altitude":74,"angle":271,"satellites":35,"speed":30,"hex_longitude":"2d187b80","hex_latitude":"07218290","is_valid_coordinates":true} 
[2026-08-01 12:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105493248001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10136913092542464,"note":"Value kept but may cause issues"} 
[2026-08-01 12:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766677721951330304,"note":"Value kept but may cause issues"} 
[2026-08-01 12:43:37] 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-08-01 12:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785568336000,"timestamp_ms":1785568336000,"timestamp_seconds":1785568336,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc2a9880"} 
[2026-08-01 12:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-01 12:43:37] 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-08-01 12:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":145997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":145997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":145997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:43:37] 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-08-01 12:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105493248001,"66":14113,"106":206,"83":41984,"24":30,"16":10136913092542464,"45":1766677721951330304},"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-08-01 12:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105493248001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:43:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-01 12:43:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10136913092542464,"km_value":10136913092542.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766677721951330304,"description":"Unknown IO ID 45"} 
[2026-08-01 12:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105493248001,"power":14113,"unknown_106":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1766677721951330304}} 
[2026-08-01 12:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":145997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577138,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:43:37] local.INFO: GPS data processed {"connection_id":145997,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:43:37] local.INFO: Acknowledgment sent {"connection_id":145997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:43:49] local.INFO: TCP Data received {"connection_id":146214,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:43:49] local.INFO: Processing buffer {"connection_id":146214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:43:49] local.INFO: IMEI packet received {"connection_id":146214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":146214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:43:54] local.INFO: TCP Data received {"connection_id":146214,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:43:54] local.INFO: Processing buffer {"connection_id":146214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:43:54] local.INFO: IMEI packet received {"connection_id":146214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":146214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:43:55] local.INFO: TCP Data received {"connection_id":146214,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc28a480012d0d620006ea0808001600c229..."} 
[2026-08-01 12:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc28a480012d0d620006ea0808001600c229..."} 
[2026-08-01 12:43:55] local.INFO: Processing buffer {"connection_id":146214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc28a480012d0d620006ea0808001600c229..."} 
[2026-08-01 12:43:55] local.INFO: Packet analysis {"connection_id":146214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc28"} 
[2026-08-01 12:43:55] local.INFO: Extracted packet for processing {"connection_id":146214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc28"} 
[2026-08-01 12:43:55] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":41,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105384192001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:43:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785568208000,"timestamp_ms":1785568208000,"timestamp_seconds":1785568208,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc28a480"} 
[2026-08-01 12:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:43:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-01 12:43:55] 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-08-01 12:43:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":146214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":146214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":146214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:43:55] 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-08-01 12:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105384192001,"66":25778,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-01 12:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105384192001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:43:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:43:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105384192001,"power":25778,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":146214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:43:55] local.INFO: GPS data processed {"connection_id":146214,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:43:55] local.INFO: Acknowledgment sent {"connection_id":146214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:44:00] local.INFO: TCP Data received {"connection_id":146214,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc28a480012d0d620006ea0808001600c229..."} 
[2026-08-01 12:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc28a480012d0d620006ea0808001600c229..."} 
[2026-08-01 12:44:00] local.INFO: Processing buffer {"connection_id":146214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc28a480012d0d620006ea0808001600c229..."} 
[2026-08-01 12:44:00] local.INFO: Packet analysis {"connection_id":146214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc28"} 
[2026-08-01 12:44:00] local.INFO: Extracted packet for processing {"connection_id":146214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc28"} 
[2026-08-01 12:44:00] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":41,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105384192001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:44:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:44: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-08-01 12:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785568208000,"timestamp_ms":1785568208000,"timestamp_seconds":1785568208,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc28a480"} 
[2026-08-01 12:44:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:44: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-08-01 12: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-01 12:44: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-08-01 12: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-08-01 12:44:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":146214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":146214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":146214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:44: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-08-01 12:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105384192001,"66":25778,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-01 12:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105384192001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:44:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:44:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:44:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105384192001,"power":25778,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:44:00] local.INFO: DEBUG: GPS processor result {"connection_id":146214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:44:00] local.INFO: GPS data processed {"connection_id":146214,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:44:00] local.INFO: Acknowledgment sent {"connection_id":146214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:44:05] local.INFO: TCP Data received {"connection_id":146215,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146215,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:44:05] local.INFO: Processing buffer {"connection_id":146215,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:44:05] local.INFO: IMEI packet received {"connection_id":146215,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 12:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":146215,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:44:07] local.INFO: TCP Data received {"connection_id":146215,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146215,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:44:07] local.INFO: Processing buffer {"connection_id":146215,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:44:07] local.INFO: IMEI packet received {"connection_id":146215,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":146215,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:44:08] local.INFO: TCP Data received {"connection_id":146215,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc2ab7c0012d1863c007218280004a011a23..."} 
[2026-08-01 12:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc2ab7c0012d1863c007218280004a011a23..."} 
[2026-08-01 12:44:08] local.INFO: Processing buffer {"connection_id":146215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc2ab7c0012d1863c007218280004a011a23..."} 
[2026-08-01 12:44:08] local.INFO: Packet analysis {"connection_id":146215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc2a"} 
[2026-08-01 12:44:08] local.INFO: Extracted packet for processing {"connection_id":146215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc2a"} 
[2026-08-01 12:44:08] local.INFO: GPS Element Parsed {"raw_longitude":756573120,"raw_latitude":119636608,"longitude_deg":75.657312,"latitude_deg":11.9636608,"altitude":74,"angle":282,"satellites":35,"speed":30,"hex_longitude":"2d1863c0","hex_latitude":"07218280","is_valid_coordinates":true} 
[2026-08-01 12:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105494016001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10137200855351296,"note":"Value kept but may cause issues"} 
[2026-08-01 12:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764144447161012224,"note":"Value kept but may cause issues"} 
[2026-08-01 12:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785568344000,"timestamp_ms":1785568344000,"timestamp_seconds":1785568344,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc2ab7c0"} 
[2026-08-01 12:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-01 12:44:08] 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-08-01 12:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":146215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":146215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":146215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:44:08] 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-08-01 12:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105494016001,"66":14113,"106":206,"83":41984,"24":30,"16":10137200855351296,"45":1764144447161012224},"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-08-01 12:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105494016001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:44:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-01 12:44:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10137200855351296,"km_value":10137200855351.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764144447161012224,"description":"Unknown IO ID 45"} 
[2026-08-01 12:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105494016001,"power":14113,"unknown_106":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1764144447161012224}} 
[2026-08-01 12:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":146215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:44:08] local.INFO: GPS data processed {"connection_id":146215,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:44:08] local.INFO: Acknowledgment sent {"connection_id":146215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:44:39] local.INFO: TCP Data received {"connection_id":146215,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc2abf90012d185e0007218468004a012625..."} 
[2026-08-01 12:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc2abf90012d185e0007218468004a012625..."} 
[2026-08-01 12:44:39] local.INFO: Processing buffer {"connection_id":146215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc2abf90012d185e0007218468004a012625..."} 
[2026-08-01 12:44:39] local.INFO: Packet analysis {"connection_id":146215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc2a"} 
[2026-08-01 12:44:39] local.INFO: Extracted packet for processing {"connection_id":146215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc2a"} 
[2026-08-01 12:44:39] local.INFO: GPS Element Parsed {"raw_longitude":756571648,"raw_latitude":119637096,"longitude_deg":75.6571648,"latitude_deg":11.9637096,"altitude":74,"angle":294,"satellites":37,"speed":30,"hex_longitude":"2d185e00","hex_latitude":"07218468","is_valid_coordinates":true} 
[2026-08-01 12:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105496064001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10137273869795328,"note":"Value kept but may cause issues"} 
[2026-08-01 12:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757459416464130048,"note":"Value kept but may cause issues"} 
[2026-08-01 12:44:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785568346000,"timestamp_ms":1785568346000,"timestamp_seconds":1785568346,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc2abf90"} 
[2026-08-01 12:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:44:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-01 12:44:39] 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-08-01 12:44:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:44: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-08-01 12:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105496064001,"66":14102,"105":206,"83":41984,"24":30,"16":10137273869795328,"45":1757459416464130048},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105496064001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:44:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:44:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10137273869795328,"km_value":10137273869795.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757459416464130048,"description":"Unknown IO ID 45"} 
[2026-08-01 12:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105496064001,"power":14102,"unknown_105":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1757459416464130048}} 
[2026-08-01 12:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":146215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:44:39] local.INFO: GPS data processed {"connection_id":146215,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:44:39] local.INFO: Acknowledgment sent {"connection_id":146215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:44:44] local.INFO: TCP Data received {"connection_id":148540,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:44:44] local.INFO: Processing buffer {"connection_id":148540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:44:44] local.INFO: IMEI packet received {"connection_id":148540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":148540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:44:49] local.INFO: TCP Data received {"connection_id":148540,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:44:49] local.INFO: Processing buffer {"connection_id":148540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:44:49] local.INFO: IMEI packet received {"connection_id":148540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":148540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:44:50] local.INFO: TCP Data received {"connection_id":148540,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc28a480012d0d620006ea0808001600c229..."} 
[2026-08-01 12:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc28a480012d0d620006ea0808001600c229..."} 
[2026-08-01 12:44:50] local.INFO: Processing buffer {"connection_id":148540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc28a480012d0d620006ea0808001600c229..."} 
[2026-08-01 12:44:50] local.INFO: Packet analysis {"connection_id":148540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc28"} 
[2026-08-01 12:44:50] local.INFO: Extracted packet for processing {"connection_id":148540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc28"} 
[2026-08-01 12:44:50] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":41,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105384192001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:44:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:44:50] 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-08-01 12:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785568208000,"timestamp_ms":1785568208000,"timestamp_seconds":1785568208,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc28a480"} 
[2026-08-01 12:44:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:44:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-01 12:44:50] 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-08-01 12: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-08-01 12:44:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:44:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105384192001,"66":25778,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-01 12:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105384192001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:44:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:44:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:44:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:44:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:44:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105384192001,"power":25778,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:44:50] local.INFO: DEBUG: GPS processor result {"connection_id":148540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:44:50] local.INFO: GPS data processed {"connection_id":148540,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:44:50] local.INFO: Acknowledgment sent {"connection_id":148540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:44:55] local.INFO: TCP Data received {"connection_id":148540,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc28a480012d0d620006ea0808001600c229..."} 
[2026-08-01 12:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc28a480012d0d620006ea0808001600c229..."} 
[2026-08-01 12:44:55] local.INFO: Processing buffer {"connection_id":148540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc28a480012d0d620006ea0808001600c229..."} 
[2026-08-01 12:44:55] local.INFO: Packet analysis {"connection_id":148540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc28"} 
[2026-08-01 12:44:55] local.INFO: Extracted packet for processing {"connection_id":148540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc28"} 
[2026-08-01 12:44:55] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":41,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105384192001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:44:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785568208000,"timestamp_ms":1785568208000,"timestamp_seconds":1785568208,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc28a480"} 
[2026-08-01 12:44:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:44:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-01 12:44:55] 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-08-01 12:44:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:44:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105384192001,"66":25778,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-01 12:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105384192001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:44:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:44:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105384192001,"power":25778,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":148540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:44:55] local.INFO: GPS data processed {"connection_id":148540,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:44:55] local.INFO: Acknowledgment sent {"connection_id":148540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:45:00] local.INFO: TCP Data received {"connection_id":148541,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:45:00] local.INFO: Processing buffer {"connection_id":148541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:45:00] local.INFO: IMEI packet received {"connection_id":148541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 12:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":148541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:45:05] local.INFO: TCP Data received {"connection_id":148541,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:45:05] local.INFO: Processing buffer {"connection_id":148541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:45:05] local.INFO: IMEI packet received {"connection_id":148541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":148541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:45:06] local.INFO: TCP Data received {"connection_id":148541,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc2aee70012d183d8007219350004b012423..."} 
[2026-08-01 12:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc2aee70012d183d8007219350004b012423..."} 
[2026-08-01 12:45:06] local.INFO: Processing buffer {"connection_id":148541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc2aee70012d183d8007219350004b012423..."} 
[2026-08-01 12:45:06] local.INFO: Packet analysis {"connection_id":148541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc2a"} 
[2026-08-01 12:45:06] local.INFO: Extracted packet for processing {"connection_id":148541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc2a"} 
[2026-08-01 12:45:06] local.INFO: GPS Element Parsed {"raw_longitude":756563328,"raw_latitude":119640912,"longitude_deg":75.6563328,"latitude_deg":11.9640912,"altitude":75,"angle":292,"satellites":35,"speed":26,"hex_longitude":"2d183d80","hex_latitude":"07219350","is_valid_coordinates":true} 
[2026-08-01 12:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105496576001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10137711956459520,"note":"Value kept but may cause issues"} 
[2026-08-01 12:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755840935348168704,"note":"Value kept but may cause issues"} 
[2026-08-01 12:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785568358000,"timestamp_ms":1785568358000,"timestamp_seconds":1785568358,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc2aee70"} 
[2026-08-01 12:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-01 12:45:06] 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-08-01 12:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:45:06] 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-08-01 12:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105496576001,"66":14135,"105":206,"83":41984,"24":26,"16":10137711956459520,"45":1755840935348168704},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105496576001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:45:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:45:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10137711956459520,"km_value":10137711956459.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755840935348168704,"description":"Unknown IO ID 45"} 
[2026-08-01 12:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105496576001,"power":14135,"unknown_105":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1755840935348168704}} 
[2026-08-01 12:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":148541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:45:06] local.INFO: GPS data processed {"connection_id":148541,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:45:06] local.INFO: Acknowledgment sent {"connection_id":148541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:45:26] local.INFO: TCP Data received {"connection_id":148540,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc28a480012d0d620006ea0808001600c229..."} 
[2026-08-01 12:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc28a480012d0d620006ea0808001600c229..."} 
[2026-08-01 12:45:26] local.INFO: Processing buffer {"connection_id":148540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc28a480012d0d620006ea0808001600c229..."} 
[2026-08-01 12:45:26] local.INFO: Packet analysis {"connection_id":148540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc28"} 
[2026-08-01 12:45:26] local.INFO: Extracted packet for processing {"connection_id":148540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc28"} 
[2026-08-01 12:45:26] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":41,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105384192001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:45:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:45:26] 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-08-01 12:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785568208000,"timestamp_ms":1785568208000,"timestamp_seconds":1785568208,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc28a480"} 
[2026-08-01 12:45:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:45:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-01 12:45:26] 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-08-01 12:45:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:45:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:45:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105384192001,"66":25778,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-01 12:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105384192001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:45:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:45:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:45:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105384192001,"power":25778,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:45:26] local.INFO: DEBUG: GPS processor result {"connection_id":148540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:45:26] local.INFO: GPS data processed {"connection_id":148540,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:45:26] local.INFO: Acknowledgment sent {"connection_id":148540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:45:37] local.INFO: TCP Data received {"connection_id":148541,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc2b1198012d182c8007219b70004a013324..."} 
[2026-08-01 12:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc2b1198012d182c8007219b70004a013324..."} 
[2026-08-01 12:45:37] local.INFO: Processing buffer {"connection_id":148541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc2b1198012d182c8007219b70004a013324..."} 
[2026-08-01 12:45:37] local.INFO: Packet analysis {"connection_id":148541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc2b"} 
[2026-08-01 12:45:37] local.INFO: Extracted packet for processing {"connection_id":148541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc2b"} 
[2026-08-01 12:45:37] local.INFO: GPS Element Parsed {"raw_longitude":756558976,"raw_latitude":119642992,"longitude_deg":75.6558976,"latitude_deg":11.9642992,"altitude":74,"angle":307,"satellites":36,"speed":14,"hex_longitude":"2d182c80","hex_latitude":"07219b70","is_valid_coordinates":true} 
[2026-08-01 12:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105499648001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10137939589726208,"note":"Value kept but may cause issues"} 
[2026-08-01 12:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746692998606049280,"note":"Value kept but may cause issues"} 
[2026-08-01 12:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785568367000,"timestamp_ms":1785568367000,"timestamp_seconds":1785568367,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc2b1198"} 
[2026-08-01 12:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-01 12:45:37] 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-08-01 12:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:45:37] 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-08-01 12:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105499648001,"66":14070,"105":206,"83":41984,"24":14,"16":10137939589726208,"45":1746692998606049280},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105499648001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:45:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:45:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10137939589726208,"km_value":10137939589726.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746692998606049280,"description":"Unknown IO ID 45"} 
[2026-08-01 12:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105499648001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1746692998606049280}} 
[2026-08-01 12:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":148541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:45:37] local.INFO: GPS data processed {"connection_id":148541,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:45:37] local.INFO: Acknowledgment sent {"connection_id":148541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:45:44] local.INFO: TCP Data received {"connection_id":145998,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:45:44] local.INFO: Processing buffer {"connection_id":145998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:45:44] local.INFO: IMEI packet received {"connection_id":145998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":145998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:45:47] local.INFO: TCP Data received {"connection_id":145998,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:45:47] local.INFO: Processing buffer {"connection_id":145998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:45:47] local.INFO: IMEI packet received {"connection_id":145998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":145998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:45:48] local.INFO: TCP Data received {"connection_id":145998,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc2d3c48012d0d620006ea0808001600c228..."} 
[2026-08-01 12:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc2d3c48012d0d620006ea0808001600c228..."} 
[2026-08-01 12:45:48] local.INFO: Processing buffer {"connection_id":145998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc2d3c48012d0d620006ea0808001600c228..."} 
[2026-08-01 12:45:48] local.INFO: Packet analysis {"connection_id":145998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc2d"} 
[2026-08-01 12:45:48] local.INFO: Extracted packet for processing {"connection_id":145998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc2d"} 
[2026-08-01 12:45:48] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":40,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105461248001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:45:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:45:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785568509000,"timestamp_ms":1785568509000,"timestamp_seconds":1785568509,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc2d3c48"} 
[2026-08-01 12:45:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:45:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-01 12:45:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:45:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:45:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:45:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:45:48] local.INFO: Teltonika packet parsed successfully {"connection_id":145998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:45:48] local.INFO: Passing IMEI to GPS processor {"connection_id":145998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:45:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":145998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:45:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:45:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:45:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:45:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105461248001,"66":25712,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-01 12:45:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:45:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:45:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105461248001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:45:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:45:48] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:45:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:45:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:45:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105461248001,"power":25712,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":145998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:45:48] local.INFO: GPS data processed {"connection_id":145998,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:45:48] local.INFO: Acknowledgment sent {"connection_id":145998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:46:01] local.INFO: TCP Data received {"connection_id":146216,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:46:01] local.INFO: Processing buffer {"connection_id":146216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:46:01] local.INFO: IMEI packet received {"connection_id":146216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 12:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":146216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:46:05] local.INFO: TCP Data received {"connection_id":146216,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:46:05] local.INFO: Processing buffer {"connection_id":146216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:46:05] local.INFO: IMEI packet received {"connection_id":146216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":146216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:46:06] local.INFO: TCP Data received {"connection_id":146216,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc2b63a0012d18270007219fa8004a013023..."} 
[2026-08-01 12:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc2b63a0012d18270007219fa8004a013023..."} 
[2026-08-01 12:46:06] local.INFO: Processing buffer {"connection_id":146216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc2b63a0012d18270007219fa8004a013023..."} 
[2026-08-01 12:46:06] local.INFO: Packet analysis {"connection_id":146216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc2b"} 
[2026-08-01 12:46:06] local.INFO: Extracted packet for processing {"connection_id":146216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc2b"} 
[2026-08-01 12:46:06] local.INFO: GPS Element Parsed {"raw_longitude":756557568,"raw_latitude":119644072,"longitude_deg":75.6557568,"latitude_deg":11.9644072,"altitude":74,"angle":304,"satellites":35,"speed":0,"hex_longitude":"2d182700","hex_latitude":"07219fa8","is_valid_coordinates":true} 
[2026-08-01 12:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105501952001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10138029784039424,"note":"Value kept but may cause issues"} 
[2026-08-01 12:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741907924002500608,"note":"Value kept but may cause issues"} 
[2026-08-01 12:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785568388000,"timestamp_ms":1785568388000,"timestamp_seconds":1785568388,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc2b63a0"} 
[2026-08-01 12:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-01 12:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:46:06] 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-08-01 12:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105501952001,"66":14102,"105":206,"83":41984,"24":0,"16":10138029784039424,"45":1741907924002500608},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105501952001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:46:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:46:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10138029784039424,"km_value":10138029784039.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741907924002500608,"description":"Unknown IO ID 45"} 
[2026-08-01 12:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105501952001,"power":14102,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741907924002500608}} 
[2026-08-01 12:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":146216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:46:06] local.INFO: GPS data processed {"connection_id":146216,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:46:06] local.INFO: Acknowledgment sent {"connection_id":146216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:46:20] local.INFO: TCP Data received {"connection_id":145998,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc2d3c48012d0d620006ea0808001600c228..."} 
[2026-08-01 12:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc2d3c48012d0d620006ea0808001600c228..."} 
[2026-08-01 12:46:20] local.INFO: Processing buffer {"connection_id":145998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc2d3c48012d0d620006ea0808001600c228..."} 
[2026-08-01 12:46:20] local.INFO: Packet analysis {"connection_id":145998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc2d"} 
[2026-08-01 12:46:20] local.INFO: Extracted packet for processing {"connection_id":145998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc2d"} 
[2026-08-01 12:46:20] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":40,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105461248001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:46:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:46:20] 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-08-01 12:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785568509000,"timestamp_ms":1785568509000,"timestamp_seconds":1785568509,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc2d3c48"} 
[2026-08-01 12:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:46:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-01 12:46:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:46:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":145998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":145998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":145998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:46:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105461248001,"66":25712,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-01 12:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105461248001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:46:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:46:20] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:46:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105461248001,"power":25712,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":145998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:46:20] local.INFO: GPS data processed {"connection_id":145998,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:46:20] local.INFO: Acknowledgment sent {"connection_id":145998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:46:37] local.INFO: TCP Data received {"connection_id":146216,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc2bb5a8012d18270007219fa8004a013023..."} 
[2026-08-01 12:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc2bb5a8012d18270007219fa8004a013023..."} 
[2026-08-01 12:46:37] local.INFO: Processing buffer {"connection_id":146216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc2bb5a8012d18270007219fa8004a013023..."} 
[2026-08-01 12:46:37] local.INFO: Packet analysis {"connection_id":146216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc2b"} 
[2026-08-01 12:46:37] local.INFO: Extracted packet for processing {"connection_id":146216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc2b"} 
[2026-08-01 12:46:37] local.INFO: GPS Element Parsed {"raw_longitude":756557568,"raw_latitude":119644072,"longitude_deg":75.6557568,"latitude_deg":11.9644072,"altitude":74,"angle":304,"satellites":35,"speed":0,"hex_longitude":"2d182700","hex_latitude":"07219fa8","is_valid_coordinates":true} 
[2026-08-01 12:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105507328001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10138029784039424,"note":"Value kept but may cause issues"} 
[2026-08-01 12:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740359811630868480,"note":"Value kept but may cause issues"} 
[2026-08-01 12:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785568409000,"timestamp_ms":1785568409000,"timestamp_seconds":1785568409,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc2bb5a8"} 
[2026-08-01 12:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-01 12:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:46:37] 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-08-01 12:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105507328001,"66":13102,"105":206,"83":41984,"24":0,"16":10138029784039424,"45":1740359811630868480},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105507328001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:46:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:46:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10138029784039424,"km_value":10138029784039.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740359811630868480,"description":"Unknown IO ID 45"} 
[2026-08-01 12:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105507328001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740359811630868480}} 
[2026-08-01 12:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":146216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:46:38] local.INFO: GPS data processed {"connection_id":146216,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:46:38] local.INFO: Acknowledgment sent {"connection_id":146216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:46:44] local.INFO: TCP Data received {"connection_id":145999,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:46:44] local.INFO: Processing buffer {"connection_id":145999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:46:44] local.INFO: IMEI packet received {"connection_id":145999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":145999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:46:49] local.INFO: TCP Data received {"connection_id":145999,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:46:49] local.INFO: Processing buffer {"connection_id":145999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:46:49] local.INFO: IMEI packet received {"connection_id":145999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":145999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:47:01] local.INFO: TCP Data received {"connection_id":146000,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:47:01] local.INFO: Processing buffer {"connection_id":146000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:47:01] local.INFO: IMEI packet received {"connection_id":146000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 12:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":146000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:47:01] local.INFO: TCP Data received {"connection_id":145999,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc2d3c48012d0d620006ea0808001600c228..."} 
[2026-08-01 12:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":145999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc2d3c48012d0d620006ea0808001600c228..."} 
[2026-08-01 12:47:01] local.INFO: Processing buffer {"connection_id":145999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc2d3c48012d0d620006ea0808001600c228..."} 
[2026-08-01 12:47:01] local.INFO: Packet analysis {"connection_id":145999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc2d"} 
[2026-08-01 12:47:01] local.INFO: Extracted packet for processing {"connection_id":145999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc2d"} 
[2026-08-01 12:47:01] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":40,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105461248001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:47: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-08-01 12:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785568509000,"timestamp_ms":1785568509000,"timestamp_seconds":1785568509,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc2d3c48"} 
[2026-08-01 12:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:47: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-08-01 12: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":178,"data_length":795,"current_offset":136} 
[2026-08-01 12:47:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12: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-08-01 12:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":145999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":145999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":145999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:47: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-08-01 12:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105461248001,"66":25712,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-01 12:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105461248001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:47:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:47:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105461248001,"power":25712,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":145999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:47:01] local.INFO: GPS data processed {"connection_id":145999,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:47:01] local.INFO: Acknowledgment sent {"connection_id":145999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:47:05] local.INFO: TCP Data received {"connection_id":146000,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:47:05] local.INFO: Processing buffer {"connection_id":146000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:47:05] local.INFO: IMEI packet received {"connection_id":146000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":146000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:47:06] local.INFO: TCP Data received {"connection_id":146000,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc2bfbf8012d1824c00721a020004c013f25..."} 
[2026-08-01 12:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc2bfbf8012d1824c00721a020004c013f25..."} 
[2026-08-01 12:47:06] local.INFO: Processing buffer {"connection_id":146000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc2bfbf8012d1824c00721a020004c013f25..."} 
[2026-08-01 12:47:06] local.INFO: Packet analysis {"connection_id":146000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc2b"} 
[2026-08-01 12:47:06] local.INFO: Extracted packet for processing {"connection_id":146000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc2b"} 
[2026-08-01 12:47:06] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119644192,"longitude_deg":75.6556992,"latitude_deg":11.9644192,"altitude":76,"angle":319,"satellites":37,"speed":3,"hex_longitude":"2d1824c0","hex_latitude":"0721a020","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105512704001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10138059848810496,"note":"Value kept but may cause issues"} 
[2026-08-01 12:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740359811630868480,"note":"Value kept but may cause issues"} 
[2026-08-01 12:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785568427000,"timestamp_ms":1785568427000,"timestamp_seconds":1785568427,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc2bfbf8"} 
[2026-08-01 12:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-01 12:47:06] 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-08-01 12: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-08-01 12:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:47:06] 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-08-01 12:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105512704001,"66":13080,"105":206,"83":41984,"24":3,"16":10138059848810496,"45":1740359811630868480},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105512704001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:47:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:47:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10138059848810496,"km_value":10138059848810.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740359811630868480,"description":"Unknown IO ID 45"} 
[2026-08-01 12:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105512704001,"power":13080,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1740359811630868480}} 
[2026-08-01 12:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":146000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577153,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:47:06] local.INFO: GPS data processed {"connection_id":146000,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:47:06] local.INFO: Acknowledgment sent {"connection_id":146000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:47:37] local.INFO: TCP Data received {"connection_id":146000,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc2c4e00012d1824c00721a048004c014324..."} 
[2026-08-01 12:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc2c4e00012d1824c00721a048004c014324..."} 
[2026-08-01 12:47:37] local.INFO: Processing buffer {"connection_id":146000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc2c4e00012d1824c00721a048004c014324..."} 
[2026-08-01 12:47:37] local.INFO: Packet analysis {"connection_id":146000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc2c"} 
[2026-08-01 12:47:37] local.INFO: Extracted packet for processing {"connection_id":146000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc2c"} 
[2026-08-01 12:47:37] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119644232,"longitude_deg":75.6556992,"latitude_deg":11.9644232,"altitude":76,"angle":323,"satellites":36,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721a048","is_valid_coordinates":true} 
[2026-08-01 12:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105517312001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10138059848810496,"note":"Value kept but may cause issues"} 
[2026-08-01 12:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492933300224,"note":"Value kept but may cause issues"} 
[2026-08-01 12:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785568448000,"timestamp_ms":1785568448000,"timestamp_seconds":1785568448,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc2c4e00"} 
[2026-08-01 12:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-01 12:47:37] 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-08-01 12:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:47:37] 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-08-01 12:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105517312001,"66":12004,"105":206,"83":41984,"24":0,"16":10138059848810496,"45":1739726492933300224},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105517312001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:47:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:47:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10138059848810496,"km_value":10138059848810.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492933300224,"description":"Unknown IO ID 45"} 
[2026-08-01 12:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105517312001,"power":12004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739726492933300224}} 
[2026-08-01 12:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":146000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:47:37] local.INFO: GPS data processed {"connection_id":146000,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:47:37] local.INFO: Acknowledgment sent {"connection_id":146000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:47:44] local.INFO: TCP Data received {"connection_id":147220,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:47:44] local.INFO: Processing buffer {"connection_id":147220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:47:44] local.INFO: IMEI packet received {"connection_id":147220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":147220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:47:49] local.INFO: TCP Data received {"connection_id":147220,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:47:49] local.INFO: Processing buffer {"connection_id":147220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:47:49] local.INFO: IMEI packet received {"connection_id":147220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":147220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:47:50] local.INFO: TCP Data received {"connection_id":147220,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc2d3c48012d0d620006ea0808001600c228..."} 
[2026-08-01 12:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc2d3c48012d0d620006ea0808001600c228..."} 
[2026-08-01 12:47:50] local.INFO: Processing buffer {"connection_id":147220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc2d3c48012d0d620006ea0808001600c228..."} 
[2026-08-01 12:47:50] local.INFO: Packet analysis {"connection_id":147220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc2d"} 
[2026-08-01 12:47:50] local.INFO: Extracted packet for processing {"connection_id":147220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc2d"} 
[2026-08-01 12:47:50] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":40,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105461248001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:47:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:47:50] 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-08-01 12:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785568509000,"timestamp_ms":1785568509000,"timestamp_seconds":1785568509,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc2d3c48"} 
[2026-08-01 12:47:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:47:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-01 12:47:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:47:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:47:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:47:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:47:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:47:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:47:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:47:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:47:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:47:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:47:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105461248001,"66":25712,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-01 12:47:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:47:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:47:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105461248001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:47:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:47:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:47:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:47:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:47:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105461248001,"power":25712,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:47:50] local.INFO: DEBUG: GPS processor result {"connection_id":147220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:47:50] local.INFO: GPS data processed {"connection_id":147220,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:47:50] local.INFO: Acknowledgment sent {"connection_id":147220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:48:00] local.INFO: TCP Data received {"connection_id":148542,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:48:00] local.INFO: Processing buffer {"connection_id":148542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:48:00] local.INFO: IMEI packet received {"connection_id":148542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 12:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":148542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:48:05] local.INFO: TCP Data received {"connection_id":148542,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:48:05] local.INFO: Processing buffer {"connection_id":148542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:48:05] local.INFO: IMEI packet received {"connection_id":148542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":148542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:48:06] local.INFO: TCP Data received {"connection_id":148542,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc2ca008012d1824c00721a048004c014323..."} 
[2026-08-01 12:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc2ca008012d1824c00721a048004c014323..."} 
[2026-08-01 12:48:06] local.INFO: Processing buffer {"connection_id":148542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc2ca008012d1824c00721a048004c014323..."} 
[2026-08-01 12:48:06] local.INFO: Packet analysis {"connection_id":148542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc2c"} 
[2026-08-01 12:48:06] local.INFO: Extracted packet for processing {"connection_id":148542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc2c"} 
[2026-08-01 12:48:06] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119644232,"longitude_deg":75.6556992,"latitude_deg":11.9644232,"altitude":76,"angle":323,"satellites":35,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721a048","is_valid_coordinates":true} 
[2026-08-01 12:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105522688001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10138059848810496,"note":"Value kept but may cause issues"} 
[2026-08-01 12:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492933310464,"note":"Value kept but may cause issues"} 
[2026-08-01 12:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785568469000,"timestamp_ms":1785568469000,"timestamp_seconds":1785568469,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc2ca008"} 
[2026-08-01 12:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12: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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 12:48:06] 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-08-01 12: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-08-01 12:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:48:06] 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-08-01 12:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105522688001,"66":13004,"105":206,"83":41984,"24":0,"16":10138059848810496,"45":1739726492933310464},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105522688001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:48:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:48:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10138059848810496,"km_value":10138059848810.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492933310464,"description":"Unknown IO ID 45"} 
[2026-08-01 12:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105522688001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739726492933310464}} 
[2026-08-01 12:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":148542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:48:06] local.INFO: GPS data processed {"connection_id":148542,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:48:06] local.INFO: Acknowledgment sent {"connection_id":148542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:48:21] local.INFO: TCP Data received {"connection_id":147220,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc2d3c48012d0d620006ea0808001600c228..."} 
[2026-08-01 12:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc2d3c48012d0d620006ea0808001600c228..."} 
[2026-08-01 12:48:21] local.INFO: Processing buffer {"connection_id":147220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc2d3c48012d0d620006ea0808001600c228..."} 
[2026-08-01 12:48:21] local.INFO: Packet analysis {"connection_id":147220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc2d"} 
[2026-08-01 12:48:21] local.INFO: Extracted packet for processing {"connection_id":147220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc2d"} 
[2026-08-01 12:48:21] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":40,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105461248001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:48:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:48:21] 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-08-01 12:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785568509000,"timestamp_ms":1785568509000,"timestamp_seconds":1785568509,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc2d3c48"} 
[2026-08-01 12:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:48:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-01 12:48:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:48:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:48:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105461248001,"66":25712,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-01 12:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105461248001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:48:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:48:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:48:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105461248001,"power":25712,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":147220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:48:21] local.INFO: GPS data processed {"connection_id":147220,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:48:21] local.INFO: Acknowledgment sent {"connection_id":147220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:48:39] local.INFO: TCP Data received {"connection_id":148542,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc2cf210012d1824c00721a048004c014325..."} 
[2026-08-01 12:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc2cf210012d1824c00721a048004c014325..."} 
[2026-08-01 12:48:39] local.INFO: Processing buffer {"connection_id":148542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc2cf210012d1824c00721a048004c014325..."} 
[2026-08-01 12:48:39] local.INFO: Packet analysis {"connection_id":148542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc2c"} 
[2026-08-01 12:48:39] local.INFO: Extracted packet for processing {"connection_id":148542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc2c"} 
[2026-08-01 12:48:39] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119644232,"longitude_deg":75.6556992,"latitude_deg":11.9644232,"altitude":76,"angle":323,"satellites":37,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721a048","is_valid_coordinates":true} 
[2026-08-01 12:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105528064001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10138059848810496,"note":"Value kept but may cause issues"} 
[2026-08-01 12:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492933310464,"note":"Value kept but may cause issues"} 
[2026-08-01 12:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785568490000,"timestamp_ms":1785568490000,"timestamp_seconds":1785568490,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc2cf210"} 
[2026-08-01 12:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:48:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-01 12:48:39] 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-08-01 12:48:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":148542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":148542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":148542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:48: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-08-01 12:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105528064001,"66":12939,"105":206,"83":41984,"24":0,"16":10138059848810496,"45":1739726492933310464},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105528064001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:48:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:48:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10138059848810496,"km_value":10138059848810.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492933310464,"description":"Unknown IO ID 45"} 
[2026-08-01 12:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105528064001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739726492933310464}} 
[2026-08-01 12:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":148542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:48:39] local.INFO: GPS data processed {"connection_id":148542,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:48:39] local.INFO: Acknowledgment sent {"connection_id":148542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:48:44] local.INFO: TCP Data received {"connection_id":147221,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:48:44] local.INFO: Processing buffer {"connection_id":147221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:48:44] local.INFO: IMEI packet received {"connection_id":147221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":147221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:48:49] local.INFO: TCP Data received {"connection_id":147221,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:48:49] local.INFO: Processing buffer {"connection_id":147221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:48:49] local.INFO: IMEI packet received {"connection_id":147221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":147221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:48:50] local.INFO: TCP Data received {"connection_id":147221,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc2d3c48012d0d620006ea0808001600c228..."} 
[2026-08-01 12:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc2d3c48012d0d620006ea0808001600c228..."} 
[2026-08-01 12:48:50] local.INFO: Processing buffer {"connection_id":147221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc2d3c48012d0d620006ea0808001600c228..."} 
[2026-08-01 12:48:50] local.INFO: Packet analysis {"connection_id":147221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc2d"} 
[2026-08-01 12:48:50] local.INFO: Extracted packet for processing {"connection_id":147221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc2d"} 
[2026-08-01 12:48:50] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":40,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105461248001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:48:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:48:50] 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-08-01 12:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785568509000,"timestamp_ms":1785568509000,"timestamp_seconds":1785568509,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc2d3c48"} 
[2026-08-01 12:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:48:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-01 12:48:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12: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-08-01 12:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:48:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105461248001,"66":25712,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-01 12:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105461248001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:48:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:48:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:48:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105461248001,"power":25712,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":147221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:48:50] local.INFO: GPS data processed {"connection_id":147221,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:48:50] local.INFO: Acknowledgment sent {"connection_id":147221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:49:00] local.INFO: TCP Data received {"connection_id":147222,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:49:00] local.INFO: Processing buffer {"connection_id":147222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:49:00] local.INFO: IMEI packet received {"connection_id":147222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 12:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":147222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:49:03] local.INFO: TCP Data received {"connection_id":147222,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:49:03] local.INFO: Processing buffer {"connection_id":147222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:49:03] local.INFO: IMEI packet received {"connection_id":147222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":147222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:49:05] local.INFO: TCP Data received {"connection_id":147222,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:49:05] local.INFO: Processing buffer {"connection_id":147222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:49:05] local.INFO: IMEI packet received {"connection_id":147222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":147222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:49:06] local.INFO: TCP Data received {"connection_id":147222,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc2ffb68012d183480072196380054007326..."} 
[2026-08-01 12:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc2ffb68012d183480072196380054007326..."} 
[2026-08-01 12:49:06] local.INFO: Processing buffer {"connection_id":147222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc2ffb68012d183480072196380054007326..."} 
[2026-08-01 12:49:06] local.INFO: Packet analysis {"connection_id":147222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc2f"} 
[2026-08-01 12:49:06] local.INFO: Extracted packet for processing {"connection_id":147222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc2f"} 
[2026-08-01 12:49:06] local.INFO: GPS Element Parsed {"raw_longitude":756561024,"raw_latitude":119641656,"longitude_deg":75.6561024,"latitude_deg":11.9641656,"altitude":84,"angle":115,"satellites":38,"speed":25,"hex_longitude":"2d183480","hex_latitude":"07219638","is_valid_coordinates":true} 
[2026-08-01 12:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105583104001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10138296072011776,"note":"Value kept but may cause issues"} 
[2026-08-01 12:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741485711537434624,"note":"Value kept but may cause issues"} 
[2026-08-01 12:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785568689000,"timestamp_ms":1785568689000,"timestamp_seconds":1785568689,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc2ffb68"} 
[2026-08-01 12:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-01 12:49:06] 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-08-01 12:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:49:06] 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-08-01 12:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105583104001,"66":14374,"105":206,"83":41984,"24":25,"16":10138296072011776,"45":1741485711537434624},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105583104001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:49:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:49:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10138296072011776,"km_value":10138296072011.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741485711537434624,"description":"Unknown IO ID 45"} 
[2026-08-01 12:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105583104001,"power":14374,"unknown_105":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1741485711537434624}} 
[2026-08-01 12:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":147222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:49:06] local.INFO: GPS data processed {"connection_id":147222,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:49:06] local.INFO: Acknowledgment sent {"connection_id":147222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:49:21] local.INFO: TCP Data received {"connection_id":147221,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc2d3c48012d0d620006ea0808001600c228..."} 
[2026-08-01 12:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc2d3c48012d0d620006ea0808001600c228..."} 
[2026-08-01 12:49:21] local.INFO: Processing buffer {"connection_id":147221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc2d3c48012d0d620006ea0808001600c228..."} 
[2026-08-01 12:49:21] local.INFO: Packet analysis {"connection_id":147221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc2d"} 
[2026-08-01 12:49:21] local.INFO: Extracted packet for processing {"connection_id":147221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc2d"} 
[2026-08-01 12:49:21] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":40,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105461248001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:49:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:49:21] 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-08-01 12:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785568509000,"timestamp_ms":1785568509000,"timestamp_seconds":1785568509,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc2d3c48"} 
[2026-08-01 12:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:49:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-01 12:49:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12: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-08-01 12:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:49:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105461248001,"66":25712,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-01 12:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105461248001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:49:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:49:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:49:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:49:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105461248001,"power":25712,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":147221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:49:21] local.INFO: GPS data processed {"connection_id":147221,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:49:21] local.INFO: Acknowledgment sent {"connection_id":147221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:49:37] local.INFO: TCP Data received {"connection_id":147222,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc302660012d185700072187a80052007324..."} 
[2026-08-01 12:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc302660012d185700072187a80052007324..."} 
[2026-08-01 12:49:37] local.INFO: Processing buffer {"connection_id":147222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc302660012d185700072187a80052007324..."} 
[2026-08-01 12:49:37] local.INFO: Packet analysis {"connection_id":147222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc30"} 
[2026-08-01 12:49:37] local.INFO: Extracted packet for processing {"connection_id":147222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc30"} 
[2026-08-01 12:49:37] local.INFO: GPS Element Parsed {"raw_longitude":756569856,"raw_latitude":119637928,"longitude_deg":75.6569856,"latitude_deg":11.9637928,"altitude":82,"angle":115,"satellites":36,"speed":39,"hex_longitude":"2d185700","hex_latitude":"072187a8","is_valid_coordinates":true} 
[2026-08-01 12:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105584384001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10138751338545152,"note":"Value kept but may cause issues"} 
[2026-08-01 12:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744159723815843840,"note":"Value kept but may cause issues"} 
[2026-08-01 12:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785568700000,"timestamp_ms":1785568700000,"timestamp_seconds":1785568700,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc302660"} 
[2026-08-01 12:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-01 12:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:49:37] 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-08-01 12:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105584384001,"66":13961,"105":206,"83":41984,"24":39,"16":10138751338545152,"45":1744159723815843840},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105584384001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:49:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:49:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10138751338545152,"km_value":10138751338545.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744159723815843840,"description":"Unknown IO ID 45"} 
[2026-08-01 12:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105584384001,"power":13961,"unknown_105":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1744159723815843840}} 
[2026-08-01 12:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":147222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:49:37] local.INFO: GPS data processed {"connection_id":147222,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:49:37] local.INFO: Acknowledgment sent {"connection_id":147222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:49:44] local.INFO: TCP Data received {"connection_id":146217,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:49:44] local.INFO: Processing buffer {"connection_id":146217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:49:44] local.INFO: IMEI packet received {"connection_id":146217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":146217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:49:49] local.INFO: TCP Data received {"connection_id":146217,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:49:49] local.INFO: Processing buffer {"connection_id":146217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:49:49] local.INFO: IMEI packet received {"connection_id":146217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":146217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:49:50] local.INFO: TCP Data received {"connection_id":146217,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc2d3c48012d0d620006ea0808001600c228..."} 
[2026-08-01 12:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc2d3c48012d0d620006ea0808001600c228..."} 
[2026-08-01 12:49:50] local.INFO: Processing buffer {"connection_id":146217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc2d3c48012d0d620006ea0808001600c228..."} 
[2026-08-01 12:49:50] local.INFO: Packet analysis {"connection_id":146217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc2d"} 
[2026-08-01 12:49:50] local.INFO: Extracted packet for processing {"connection_id":146217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc2d"} 
[2026-08-01 12:49:50] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":40,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:49:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105461248001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:49:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:49:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:49:50] 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-08-01 12:49:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785568509000,"timestamp_ms":1785568509000,"timestamp_seconds":1785568509,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc2d3c48"} 
[2026-08-01 12:49:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:49:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-01 12:49:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:49:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:49:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:49:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:49:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:49:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:49:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:49:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:49:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:49:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:49:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105461248001,"66":25712,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"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-08-01 12:49:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:49:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:49:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105461248001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:49:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:49:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:49:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:49:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:49:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105461248001,"power":25712,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":146217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:49:50] local.INFO: GPS data processed {"connection_id":146217,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:49:50] local.INFO: Acknowledgment sent {"connection_id":146217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:50:05] local.INFO: TCP Data received {"connection_id":148543,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:50:06] local.INFO: Processing buffer {"connection_id":148543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:50:06] local.INFO: IMEI packet received {"connection_id":148543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 12:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":148543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:50:10] local.INFO: TCP Data received {"connection_id":148543,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:50:10] local.INFO: Processing buffer {"connection_id":148543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:50:10] local.INFO: IMEI packet received {"connection_id":148543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":148543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:50:11] local.INFO: TCP Data received {"connection_id":148543,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc303600012d1865c0072182480052006622..."} 
[2026-08-01 12:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc303600012d1865c0072182480052006622..."} 
[2026-08-01 12:50:11] local.INFO: Processing buffer {"connection_id":148543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc303600012d1865c0072182480052006622..."} 
[2026-08-01 12:50:11] local.INFO: Packet analysis {"connection_id":148543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc30"} 
[2026-08-01 12:50:11] local.INFO: Extracted packet for processing {"connection_id":148543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc30"} 
[2026-08-01 12:50:11] local.INFO: GPS Element Parsed {"raw_longitude":756573632,"raw_latitude":119636552,"longitude_deg":75.6573632,"latitude_deg":11.9636552,"altitude":82,"angle":102,"satellites":34,"speed":36,"hex_longitude":"2d1865c0","hex_latitude":"07218248","is_valid_coordinates":true} 
[2026-08-01 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-08-01 12:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105587200001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10138940317106176,"note":"Value kept but may cause issues"} 
[2026-08-01 12:50:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753870610511407104,"note":"Value kept but may cause issues"} 
[2026-08-01 12:50: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-08-01 12:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785568704000,"timestamp_ms":1785568704000,"timestamp_seconds":1785568704,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc303600"} 
[2026-08-01 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-08-01 12:50: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-08-01 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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-01 12:50: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-08-01 12: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-08-01 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-08-01 12:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":148543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":148543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":148543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:50: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-08-01 12:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105587200001,"66":13852,"105":206,"83":41984,"24":36,"16":10138940317106176,"45":1753870610511407104},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105587200001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:50:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:50:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10138940317106176,"km_value":10138940317106.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:50:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753870610511407104,"description":"Unknown IO ID 45"} 
[2026-08-01 12:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105587200001,"power":13852,"unknown_105":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1753870610511407104}} 
[2026-08-01 12:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":148543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577164,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:50:11] local.INFO: GPS data processed {"connection_id":148543,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:50:11] local.INFO: Acknowledgment sent {"connection_id":148543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:50:12] local.INFO: TCP Data received {"connection_id":148543,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc3041b8012d187000072181400052005822..."} 
[2026-08-01 12:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc3041b8012d187000072181400052005822..."} 
[2026-08-01 12:50:12] local.INFO: Processing buffer {"connection_id":148543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc3041b8012d187000072181400052005822..."} 
[2026-08-01 12:50:12] local.INFO: Packet analysis {"connection_id":148543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc30"} 
[2026-08-01 12:50:12] local.INFO: Extracted packet for processing {"connection_id":148543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc30"} 
[2026-08-01 12:50:12] local.INFO: GPS Element Parsed {"raw_longitude":756576256,"raw_latitude":119636288,"longitude_deg":75.6576256,"latitude_deg":11.9636288,"altitude":82,"angle":88,"satellites":34,"speed":32,"hex_longitude":"2d187000","hex_latitude":"07218140","is_valid_coordinates":true} 
[2026-08-01 12:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105588224001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10139064871157760,"note":"Value kept but may cause issues"} 
[2026-08-01 12:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1758022366417537024,"note":"Value kept but may cause issues"} 
[2026-08-01 12:50: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-08-01 12:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785568707000,"timestamp_ms":1785568707000,"timestamp_seconds":1785568707,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc3041b8"} 
[2026-08-01 12:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:50:12] 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-08-01 12:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-08-01 12:50:12] 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-08-01 12:50:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":148543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":148543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":148543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:50:12] 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-08-01 12:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105588224001,"66":13993,"105":206,"83":41984,"24":32,"16":10139064871157760,"45":1758022366417537024},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 12:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105588224001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:50:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 12:50:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10139064871157760,"km_value":10139064871157.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:50:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1758022366417537024,"description":"Unknown IO ID 45"} 
[2026-08-01 12:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105588224001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1758022366417537024}} 
[2026-08-01 12:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":148543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577165,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:50:12] local.INFO: GPS data processed {"connection_id":148543,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:50:12] local.INFO: Acknowledgment sent {"connection_id":148543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:50:21] local.INFO: TCP Data received {"connection_id":146217,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc2d3c48012d0d620006ea0808001600c228..."} 
[2026-08-01 12:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc2d3c48012d0d620006ea0808001600c228..."} 
[2026-08-01 12:50:21] local.INFO: Processing buffer {"connection_id":146217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc2d3c48012d0d620006ea0808001600c228..."} 
[2026-08-01 12:50:21] local.INFO: Packet analysis {"connection_id":146217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc2d"} 
[2026-08-01 12:50:21] local.INFO: Extracted packet for processing {"connection_id":146217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc2d"} 
[2026-08-01 12:50:21] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":40,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105461248001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:50:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:50:21] 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-08-01 12:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785568509000,"timestamp_ms":1785568509000,"timestamp_seconds":1785568509,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc2d3c48"} 
[2026-08-01 12:50:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:50:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-01 12:50:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:50:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:50:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:50:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105461248001,"66":25712,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"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-08-01 12:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105461248001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:50:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:50:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:50:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105461248001,"power":25712,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":146217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:50:21] local.INFO: GPS data processed {"connection_id":146217,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:50:21] local.INFO: Acknowledgment sent {"connection_id":146217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:50:43] local.INFO: TCP Data received {"connection_id":148543,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc3166b0012d18e0c007214d180041006124..."} 
[2026-08-01 12:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc3166b0012d18e0c007214d180041006124..."} 
[2026-08-01 12:50:43] local.INFO: Processing buffer {"connection_id":148543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc3166b0012d18e0c007214d180041006124..."} 
[2026-08-01 12:50:43] local.INFO: Packet analysis {"connection_id":148543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc31"} 
[2026-08-01 12:50:43] local.INFO: Extracted packet for processing {"connection_id":148543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc31"} 
[2026-08-01 12:50:43] local.INFO: GPS Element Parsed {"raw_longitude":756605120,"raw_latitude":119622936,"longitude_deg":75.660512,"latitude_deg":11.9622936,"altitude":65,"angle":97,"satellites":36,"speed":6,"hex_longitude":"2d18e0c0","hex_latitude":"07214d18","is_valid_coordinates":true} 
[2026-08-01 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-08-01 12:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105607168001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10140709843632128,"note":"Value kept but may cause issues"} 
[2026-08-01 12:50:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792221576084459520,"note":"Value kept but may cause issues"} 
[2026-08-01 12:50: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-08-01 12:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785568782000,"timestamp_ms":1785568782000,"timestamp_seconds":1785568782,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc3166b0"} 
[2026-08-01 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-08-01 12:50: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-08-01 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-01 12:50: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-08-01 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-08-01 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-08-01 12:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":148543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":148543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":148543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:50:43] 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-08-01 12:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105607168001,"66":14515,"106":206,"83":41984,"24":6,"16":10140709843632128,"45":1792221576084459520},"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-08-01 12:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105607168001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:50:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-01 12:50:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10140709843632128,"km_value":10140709843632.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:50:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792221576084459520,"description":"Unknown IO ID 45"} 
[2026-08-01 12:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105607168001,"power":14515,"unknown_106":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1792221576084459520}} 
[2026-08-01 12:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":148543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:50:43] local.INFO: GPS data processed {"connection_id":148543,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:50:43] local.INFO: Acknowledgment sent {"connection_id":148543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:50:44] local.INFO: TCP Data received {"connection_id":147223,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:50:44] local.INFO: Processing buffer {"connection_id":147223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:50:44] local.INFO: IMEI packet received {"connection_id":147223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":147223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:50:48] local.INFO: TCP Data received {"connection_id":147223,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:50:48] local.INFO: Processing buffer {"connection_id":147223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:50:48] local.INFO: IMEI packet received {"connection_id":147223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":147223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:50:49] local.INFO: TCP Data received {"connection_id":147223,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc31d410012d0d620006ea0808001600c229..."} 
[2026-08-01 12:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc31d410012d0d620006ea0808001600c229..."} 
[2026-08-01 12:50:49] local.INFO: Processing buffer {"connection_id":147223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc31d410012d0d620006ea0808001600c229..."} 
[2026-08-01 12:50:49] local.INFO: Packet analysis {"connection_id":147223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc31"} 
[2026-08-01 12:50:49] local.INFO: Extracted packet for processing {"connection_id":147223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc31"} 
[2026-08-01 12:50:49] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":41,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105538304001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:50:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:50:49] 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-08-01 12:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785568810000,"timestamp_ms":1785568810000,"timestamp_seconds":1785568810,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc31d410"} 
[2026-08-01 12:50:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:50:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-01 12:50:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12: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-08-01 12:50:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:50:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105538304001,"66":25734,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-01 12:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105538304001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:50:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:50:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:50:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105538304001,"power":25734,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:50:49] local.INFO: DEBUG: GPS processor result {"connection_id":147223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:50:49] local.INFO: GPS data processed {"connection_id":147223,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:50:49] local.INFO: Acknowledgment sent {"connection_id":147223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:51:00] local.INFO: TCP Data received {"connection_id":147224,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147224,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:51:00] local.INFO: Processing buffer {"connection_id":147224,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:51:00] local.INFO: IMEI packet received {"connection_id":147224,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 12:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":147224,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:51:04] local.INFO: TCP Data received {"connection_id":147224,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147224,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:51:04] local.INFO: Processing buffer {"connection_id":147224,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:51:04] local.INFO: IMEI packet received {"connection_id":147224,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":147224,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:51:04] local.INFO: TCP Data received {"connection_id":147224,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc317268012d18e30007214cf00041005324..."} 
[2026-08-01 12:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc317268012d18e30007214cf00041005324..."} 
[2026-08-01 12:51:04] local.INFO: Processing buffer {"connection_id":147224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc317268012d18e30007214cf00041005324..."} 
[2026-08-01 12:51:04] local.INFO: Packet analysis {"connection_id":147224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc31"} 
[2026-08-01 12:51:04] local.INFO: Extracted packet for processing {"connection_id":147224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc31"} 
[2026-08-01 12:51:04] local.INFO: GPS Element Parsed {"raw_longitude":756605696,"raw_latitude":119622896,"longitude_deg":75.6605696,"latitude_deg":11.9622896,"altitude":65,"angle":83,"satellites":36,"speed":6,"hex_longitude":"2d18e300","hex_latitude":"07214cf0","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105608192001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10140731318468608,"note":"Value kept but may cause issues"} 
[2026-08-01 12:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792643788549462016,"note":"Value kept but may cause issues"} 
[2026-08-01 12:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785568785000,"timestamp_ms":1785568785000,"timestamp_seconds":1785568785,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc317268"} 
[2026-08-01 12:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-01 12:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12: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-08-01 12:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:51:04] 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-08-01 12:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105608192001,"66":14428,"106":206,"83":41984,"24":6,"16":10140731318468608,"45":1792643788549462016},"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-08-01 12:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105608192001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:51:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-01 12:51:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10140731318468608,"km_value":10140731318468.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792643788549462016,"description":"Unknown IO ID 45"} 
[2026-08-01 12:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105608192001,"power":14428,"unknown_106":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1792643788549462016}} 
[2026-08-01 12:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":147224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:51:04] local.INFO: GPS data processed {"connection_id":147224,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:51:04] local.INFO: Acknowledgment sent {"connection_id":147224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:51:06] local.INFO: TCP Data received {"connection_id":147224,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc31ad00012d18e84007214d380040006222..."} 
[2026-08-01 12:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc31ad00012d18e84007214d380040006222..."} 
[2026-08-01 12:51:06] local.INFO: Processing buffer {"connection_id":147224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc31ad00012d18e84007214d380040006222..."} 
[2026-08-01 12:51:06] local.INFO: Packet analysis {"connection_id":147224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc31"} 
[2026-08-01 12:51:06] local.INFO: Extracted packet for processing {"connection_id":147224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc31"} 
[2026-08-01 12:51:06] local.INFO: GPS Element Parsed {"raw_longitude":756607040,"raw_latitude":119622968,"longitude_deg":75.660704,"latitude_deg":11.9622968,"altitude":64,"angle":98,"satellites":34,"speed":4,"hex_longitude":"2d18e840","hex_latitude":"07214d38","is_valid_coordinates":true} 
[2026-08-01 12:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105608960001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10140804332912640,"note":"Value kept but may cause issues"} 
[2026-08-01 12:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1793277107247050752,"note":"Value kept but may cause issues"} 
[2026-08-01 12:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785568800000,"timestamp_ms":1785568800000,"timestamp_seconds":1785568800,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc31ad00"} 
[2026-08-01 12:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-01 12:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:51:06] 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-08-01 12:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105608960001,"66":14113,"106":206,"83":41984,"24":4,"16":10140804332912640,"45":1793277107247050752},"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-08-01 12:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105608960001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:51:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-01 12:51:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10140804332912640,"km_value":10140804332912.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1793277107247050752,"description":"Unknown IO ID 45"} 
[2026-08-01 12:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105608960001,"power":14113,"unknown_106":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1793277107247050752}} 
[2026-08-01 12:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":147224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577170,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:51:06] local.INFO: GPS data processed {"connection_id":147224,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:51:06] local.INFO: Acknowledgment sent {"connection_id":147224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:51:21] local.INFO: TCP Data received {"connection_id":147223,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc31d410012d0d620006ea0808001600c229..."} 
[2026-08-01 12:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc31d410012d0d620006ea0808001600c229..."} 
[2026-08-01 12:51:21] local.INFO: Processing buffer {"connection_id":147223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc31d410012d0d620006ea0808001600c229..."} 
[2026-08-01 12:51:21] local.INFO: Packet analysis {"connection_id":147223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc31"} 
[2026-08-01 12:51:21] local.INFO: Extracted packet for processing {"connection_id":147223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc31"} 
[2026-08-01 12:51:21] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":41,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105538304001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:51:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:51:21] 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-08-01 12:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785568810000,"timestamp_ms":1785568810000,"timestamp_seconds":1785568810,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc31d410"} 
[2026-08-01 12:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-01 12:51:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:51:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105538304001,"66":25734,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-01 12:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105538304001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:51:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:51:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:51:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105538304001,"power":25734,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":147223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:51:21] local.INFO: GPS data processed {"connection_id":147223,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:51:21] local.INFO: Acknowledgment sent {"connection_id":147223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:51:37] local.INFO: TCP Data received {"connection_id":147224,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc31c858012d18eb4007214d10003f005323..."} 
[2026-08-01 12:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc31c858012d18eb4007214d10003f005323..."} 
[2026-08-01 12:51:37] local.INFO: Processing buffer {"connection_id":147224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc31c858012d18eb4007214d10003f005323..."} 
[2026-08-01 12:51:37] local.INFO: Packet analysis {"connection_id":147224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc31"} 
[2026-08-01 12:51:37] local.INFO: Extracted packet for processing {"connection_id":147224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc31"} 
[2026-08-01 12:51:37] local.INFO: GPS Element Parsed {"raw_longitude":756607808,"raw_latitude":119622928,"longitude_deg":75.6607808,"latitude_deg":11.9622928,"altitude":63,"angle":83,"satellites":35,"speed":2,"hex_longitude":"2d18eb40","hex_latitude":"07214d10","is_valid_coordinates":true} 
[2026-08-01 12:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105612800001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10140842987618304,"note":"Value kept but may cause issues"} 
[2026-08-01 12:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1794754850874800128,"note":"Value kept but may cause issues"} 
[2026-08-01 12:51:37] 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-08-01 12:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785568807000,"timestamp_ms":1785568807000,"timestamp_seconds":1785568807,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc31c858"} 
[2026-08-01 12:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-01 12:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:51:37] 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-08-01 12:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105612800001,"66":14135,"106":206,"83":41984,"24":2,"16":10140842987618304,"45":1794754850874800128},"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-08-01 12:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105612800001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:51:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-01 12:51:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10140842987618304,"km_value":10140842987618.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1794754850874800128,"description":"Unknown IO ID 45"} 
[2026-08-01 12:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105612800001,"power":14135,"unknown_106":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1794754850874800128}} 
[2026-08-01 12:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":147224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:51:37] local.INFO: GPS data processed {"connection_id":147224,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:51:37] local.INFO: Acknowledgment sent {"connection_id":147224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:51:49] local.INFO: TCP Data received {"connection_id":146001,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:51:49] local.INFO: Processing buffer {"connection_id":146001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:51:49] local.INFO: IMEI packet received {"connection_id":146001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":146001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:51:54] local.INFO: TCP Data received {"connection_id":146001,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:51:54] local.INFO: Processing buffer {"connection_id":146001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:51:54] local.INFO: IMEI packet received {"connection_id":146001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":146001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:51:55] local.INFO: TCP Data received {"connection_id":146001,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc31d410012d0d620006ea0808001600c229..."} 
[2026-08-01 12:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc31d410012d0d620006ea0808001600c229..."} 
[2026-08-01 12:51:55] local.INFO: Processing buffer {"connection_id":146001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc31d410012d0d620006ea0808001600c229..."} 
[2026-08-01 12:51:55] local.INFO: Packet analysis {"connection_id":146001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc31"} 
[2026-08-01 12:51:55] local.INFO: Extracted packet for processing {"connection_id":146001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc31"} 
[2026-08-01 12:51:55] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":41,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105538304001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:51:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785568810000,"timestamp_ms":1785568810000,"timestamp_seconds":1785568810,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc31d410"} 
[2026-08-01 12:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:51:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-01 12:51:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:51:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":146001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":146001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":146001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:51:55] 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-08-01 12:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105538304001,"66":25734,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-01 12:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105538304001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:51:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:51:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105538304001,"power":25734,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":146001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:51:55] local.INFO: GPS data processed {"connection_id":146001,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:51:55] local.INFO: Acknowledgment sent {"connection_id":146001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:51:57] local.INFO: TCP Data received {"connection_id":146218,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:51:57] local.INFO: Processing buffer {"connection_id":146218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:51:57] local.INFO: IMEI packet received {"connection_id":146218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 12:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":146218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:51:59] local.INFO: TCP Data received {"connection_id":146218,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:51:59] local.INFO: Processing buffer {"connection_id":146218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:51:59] local.INFO: IMEI packet received {"connection_id":146218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":146218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:52:00] local.INFO: TCP Data received {"connection_id":146001,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc31d410012d0d620006ea0808001600c229..."} 
[2026-08-01 12:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc31d410012d0d620006ea0808001600c229..."} 
[2026-08-01 12:52:00] local.INFO: Processing buffer {"connection_id":146001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc31d410012d0d620006ea0808001600c229..."} 
[2026-08-01 12:52:00] local.INFO: Packet analysis {"connection_id":146001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc31"} 
[2026-08-01 12:52:00] local.INFO: Extracted packet for processing {"connection_id":146001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc31"} 
[2026-08-01 12:52:00] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":41,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105538304001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:52: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-08-01 12:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785568810000,"timestamp_ms":1785568810000,"timestamp_seconds":1785568810,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc31d410"} 
[2026-08-01 12:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12: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-08-01 12: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":112,"data_length":795,"current_offset":136} 
[2026-08-01 12:52:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12: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-08-01 12:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":146001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":146001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":146001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:52: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-08-01 12:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105538304001,"66":25734,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-01 12:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105538304001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:52:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:52:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105538304001,"power":25734,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":146001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:52:00] local.INFO: GPS data processed {"connection_id":146001,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:52:00] local.INFO: Acknowledgment sent {"connection_id":146001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:52:00] local.INFO: TCP Data received {"connection_id":146218,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:52:00] local.INFO: Processing buffer {"connection_id":146218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:52:00] local.INFO: IMEI packet received {"connection_id":146218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":146218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:52:01] local.INFO: TCP Data received {"connection_id":146218,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:52:01] local.INFO: Processing buffer {"connection_id":146218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:52:01] local.INFO: IMEI packet received {"connection_id":146218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":146218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:52:44] local.INFO: TCP Data received {"connection_id":147225,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:52:44] local.INFO: Processing buffer {"connection_id":147225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:52:44] local.INFO: IMEI packet received {"connection_id":147225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":147225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:52:49] local.INFO: TCP Data received {"connection_id":147225,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:52:49] local.INFO: Processing buffer {"connection_id":147225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:52:49] local.INFO: IMEI packet received {"connection_id":147225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":147225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:52:50] local.INFO: TCP Data received {"connection_id":147225,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc31d410012d0d620006ea0808001600c229..."} 
[2026-08-01 12:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc31d410012d0d620006ea0808001600c229..."} 
[2026-08-01 12:52:50] local.INFO: Processing buffer {"connection_id":147225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc31d410012d0d620006ea0808001600c229..."} 
[2026-08-01 12:52:50] local.INFO: Packet analysis {"connection_id":147225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc31"} 
[2026-08-01 12:52:50] local.INFO: Extracted packet for processing {"connection_id":147225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc31"} 
[2026-08-01 12:52:50] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":41,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105538304001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:52:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:52:50] 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-08-01 12:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785568810000,"timestamp_ms":1785568810000,"timestamp_seconds":1785568810,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc31d410"} 
[2026-08-01 12:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:52:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-01 12:52:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12: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-08-01 12:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:52:50] 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-08-01 12:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105538304001,"66":25734,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"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-08-01 12:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105538304001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:52:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:52:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:52:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105538304001,"power":25734,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:52:50] local.INFO: DEBUG: GPS processor result {"connection_id":147225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:52:50] local.INFO: GPS data processed {"connection_id":147225,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:52:50] local.INFO: Acknowledgment sent {"connection_id":147225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:53:21] local.INFO: TCP Data received {"connection_id":147225,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc31d410012d0d620006ea0808001600c229..."} 
[2026-08-01 12:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc31d410012d0d620006ea0808001600c229..."} 
[2026-08-01 12:53:21] local.INFO: Processing buffer {"connection_id":147225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc31d410012d0d620006ea0808001600c229..."} 
[2026-08-01 12:53:21] local.INFO: Packet analysis {"connection_id":147225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc31"} 
[2026-08-01 12:53:21] local.INFO: Extracted packet for processing {"connection_id":147225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc31"} 
[2026-08-01 12:53:21] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":41,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105538304001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:53:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:53:21] 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-08-01 12:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785568810000,"timestamp_ms":1785568810000,"timestamp_seconds":1785568810,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc31d410"} 
[2026-08-01 12:53:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:53:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-01 12:53:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:53:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:53:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:53:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105538304001,"66":25734,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"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-08-01 12:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105538304001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:53:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:53:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:53:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105538304001,"power":25734,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":147225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:53:21] local.INFO: GPS data processed {"connection_id":147225,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:53:21] local.INFO: Acknowledgment sent {"connection_id":147225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:53:44] local.INFO: TCP Data received {"connection_id":146003,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:53:44] local.INFO: Processing buffer {"connection_id":146003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:53:44] local.INFO: IMEI packet received {"connection_id":146003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":146003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:53:49] local.INFO: TCP Data received {"connection_id":146003,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:53:49] local.INFO: Processing buffer {"connection_id":146003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:53:49] local.INFO: IMEI packet received {"connection_id":146003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":146003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:53:50] local.INFO: TCP Data received {"connection_id":146003,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc31d410012d0d620006ea0808001600c229..."} 
[2026-08-01 12:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc31d410012d0d620006ea0808001600c229..."} 
[2026-08-01 12:53:50] local.INFO: Processing buffer {"connection_id":146003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc31d410012d0d620006ea0808001600c229..."} 
[2026-08-01 12:53:50] local.INFO: Packet analysis {"connection_id":146003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc31"} 
[2026-08-01 12:53:50] local.INFO: Extracted packet for processing {"connection_id":146003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc31"} 
[2026-08-01 12:53:50] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":41,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105538304001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:53:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:53:50] 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-08-01 12:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785568810000,"timestamp_ms":1785568810000,"timestamp_seconds":1785568810,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc31d410"} 
[2026-08-01 12:53:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:53:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-01 12:53:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12: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-08-01 12:53:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:53:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105538304001,"66":25734,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-01 12:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105538304001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:53:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:53:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:53:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105538304001,"power":25734,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":146003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:53:50] local.INFO: GPS data processed {"connection_id":146003,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:53:50] local.INFO: Acknowledgment sent {"connection_id":146003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:54:21] local.INFO: TCP Data received {"connection_id":146003,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc31d410012d0d620006ea0808001600c229..."} 
[2026-08-01 12:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc31d410012d0d620006ea0808001600c229..."} 
[2026-08-01 12:54:21] local.INFO: Processing buffer {"connection_id":146003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc31d410012d0d620006ea0808001600c229..."} 
[2026-08-01 12:54:21] local.INFO: Packet analysis {"connection_id":146003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc31"} 
[2026-08-01 12:54:21] local.INFO: Extracted packet for processing {"connection_id":146003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc31"} 
[2026-08-01 12:54:21] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":41,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105538304001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:54:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:54:21] 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-08-01 12:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785568810000,"timestamp_ms":1785568810000,"timestamp_seconds":1785568810,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc31d410"} 
[2026-08-01 12:54:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:54:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-01 12:54:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12: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-08-01 12:54:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:54:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105538304001,"66":25734,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-01 12:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105538304001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:54:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:54:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:54:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105538304001,"power":25734,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":146003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:54:21] local.INFO: GPS data processed {"connection_id":146003,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:54:21] local.INFO: Acknowledgment sent {"connection_id":146003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:54:44] local.INFO: TCP Data received {"connection_id":147227,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:54:44] local.INFO: Processing buffer {"connection_id":147227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:54:44] local.INFO: IMEI packet received {"connection_id":147227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":147227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:54:49] local.INFO: TCP Data received {"connection_id":147227,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:54:49] local.INFO: Processing buffer {"connection_id":147227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:54:49] local.INFO: IMEI packet received {"connection_id":147227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":147227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:54:50] local.INFO: TCP Data received {"connection_id":147227,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc31d410012d0d620006ea0808001600c229..."} 
[2026-08-01 12:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc31d410012d0d620006ea0808001600c229..."} 
[2026-08-01 12:54:50] local.INFO: Processing buffer {"connection_id":147227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc31d410012d0d620006ea0808001600c229..."} 
[2026-08-01 12:54:50] local.INFO: Packet analysis {"connection_id":147227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc31"} 
[2026-08-01 12:54:50] local.INFO: Extracted packet for processing {"connection_id":147227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc31"} 
[2026-08-01 12:54:50] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":41,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105538304001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:54:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:54:50] 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-08-01 12:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785568810000,"timestamp_ms":1785568810000,"timestamp_seconds":1785568810,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc31d410"} 
[2026-08-01 12:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:54:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-01 12:54:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:54:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:54:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105538304001,"66":25734,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-01 12:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105538304001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:54:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:54:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:54:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105538304001,"power":25734,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":147227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:54:50] local.INFO: GPS data processed {"connection_id":147227,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:54:50] local.INFO: Acknowledgment sent {"connection_id":147227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:55:21] local.INFO: TCP Data received {"connection_id":147227,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc31d410012d0d620006ea0808001600c229..."} 
[2026-08-01 12:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc31d410012d0d620006ea0808001600c229..."} 
[2026-08-01 12:55:21] local.INFO: Processing buffer {"connection_id":147227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc31d410012d0d620006ea0808001600c229..."} 
[2026-08-01 12:55:21] local.INFO: Packet analysis {"connection_id":147227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc31"} 
[2026-08-01 12:55:21] local.INFO: Extracted packet for processing {"connection_id":147227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc31"} 
[2026-08-01 12:55:21] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":41,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105538304001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:55:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:55:21] 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-08-01 12:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785568810000,"timestamp_ms":1785568810000,"timestamp_seconds":1785568810,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc31d410"} 
[2026-08-01 12:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:55:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-01 12:55:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:55:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:55:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105538304001,"66":25734,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-01 12:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105538304001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:55:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:55:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:55:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105538304001,"power":25734,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":147227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:55:21] local.INFO: GPS data processed {"connection_id":147227,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:55:21] local.INFO: Acknowledgment sent {"connection_id":147227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:55:50] local.INFO: TCP Data received {"connection_id":146220,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:55:50] local.INFO: Processing buffer {"connection_id":146220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:55:50] local.INFO: IMEI packet received {"connection_id":146220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":146220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:55:51] local.INFO: TCP Data received {"connection_id":146220,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:55:51] local.INFO: Processing buffer {"connection_id":146220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:55:51] local.INFO: IMEI packet received {"connection_id":146220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":146220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:55:55] local.INFO: TCP Data received {"connection_id":146220,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:55:55] local.INFO: Processing buffer {"connection_id":146220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:55:55] local.INFO: IMEI packet received {"connection_id":146220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":146220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:55:56] local.INFO: TCP Data received {"connection_id":146220,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc366bd8012d0d620006ea0808001600c229..."} 
[2026-08-01 12:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc366bd8012d0d620006ea0808001600c229..."} 
[2026-08-01 12:55:56] local.INFO: Processing buffer {"connection_id":146220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc366bd8012d0d620006ea0808001600c229..."} 
[2026-08-01 12:55:56] local.INFO: Packet analysis {"connection_id":146220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc36"} 
[2026-08-01 12:55:56] local.INFO: Extracted packet for processing {"connection_id":146220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc36"} 
[2026-08-01 12:55:56] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":41,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105615360001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:55:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785569111000,"timestamp_ms":1785569111000,"timestamp_seconds":1785569111,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc366bd8"} 
[2026-08-01 12:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:55:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-01 12:55:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:55:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":146220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":146220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":146220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105615360001,"66":25745,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-01 12:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105615360001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:55:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:55:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105615360001,"power":25745,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":146220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:55:56] local.INFO: GPS data processed {"connection_id":146220,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:55:56] local.INFO: Acknowledgment sent {"connection_id":146220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:56:00] local.INFO: TCP Data received {"connection_id":146220,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc366bd8012d0d620006ea0808001600c229..."} 
[2026-08-01 12:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc366bd8012d0d620006ea0808001600c229..."} 
[2026-08-01 12:56:00] local.INFO: Processing buffer {"connection_id":146220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc366bd8012d0d620006ea0808001600c229..."} 
[2026-08-01 12:56:00] local.INFO: Packet analysis {"connection_id":146220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc36"} 
[2026-08-01 12:56:00] local.INFO: Extracted packet for processing {"connection_id":146220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc36"} 
[2026-08-01 12:56:00] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":41,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105615360001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:56:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:56: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-08-01 12:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785569111000,"timestamp_ms":1785569111000,"timestamp_seconds":1785569111,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc366bd8"} 
[2026-08-01 12:56:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:56: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-08-01 12: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":134,"data_length":795,"current_offset":136} 
[2026-08-01 12:56:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12: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-08-01 12:56:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":146220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":146220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":146220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:56: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-08-01 12:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105615360001,"66":25745,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-01 12:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105615360001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:56:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:56:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:56:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105615360001,"power":25745,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":146220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:56:00] local.INFO: GPS data processed {"connection_id":146220,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:56:00] local.INFO: Acknowledgment sent {"connection_id":146220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:56:45] local.INFO: TCP Data received {"connection_id":146005,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:56:45] local.INFO: Processing buffer {"connection_id":146005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:56:45] local.INFO: IMEI packet received {"connection_id":146005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":146005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:56:49] local.INFO: TCP Data received {"connection_id":146005,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:56:49] local.INFO: Processing buffer {"connection_id":146005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:56:49] local.INFO: IMEI packet received {"connection_id":146005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":146005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:56:50] local.INFO: TCP Data received {"connection_id":146005,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc366bd8012d0d620006ea0808001600c229..."} 
[2026-08-01 12:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc366bd8012d0d620006ea0808001600c229..."} 
[2026-08-01 12:56:50] local.INFO: Processing buffer {"connection_id":146005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc366bd8012d0d620006ea0808001600c229..."} 
[2026-08-01 12:56:50] local.INFO: Packet analysis {"connection_id":146005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc36"} 
[2026-08-01 12:56:50] local.INFO: Extracted packet for processing {"connection_id":146005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc36"} 
[2026-08-01 12:56:50] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":41,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105615360001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:56:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:56:50] 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-08-01 12:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785569111000,"timestamp_ms":1785569111000,"timestamp_seconds":1785569111,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc366bd8"} 
[2026-08-01 12:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:56:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-01 12:56:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12: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-08-01 12:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:56:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105615360001,"66":25745,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-01 12:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105615360001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:56:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:56:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:56:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105615360001,"power":25745,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":146005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:56:50] local.INFO: GPS data processed {"connection_id":146005,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:56:50] local.INFO: Acknowledgment sent {"connection_id":146005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:57:05] local.INFO: TCP Data received {"connection_id":147228,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:57:05] local.INFO: Processing buffer {"connection_id":147228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:57:05] local.INFO: IMEI packet received {"connection_id":147228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 12:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":147228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:57:11] local.INFO: TCP Data received {"connection_id":147228,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:57:11] local.INFO: Processing buffer {"connection_id":147228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:57:11] local.INFO: IMEI packet received {"connection_id":147228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":147228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:57:11] local.INFO: TCP Data received {"connection_id":147228,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc3621a0012d19034007213dc0003b00ed29..."} 
[2026-08-01 12:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc3621a0012d19034007213dc0003b00ed29..."} 
[2026-08-01 12:57:11] local.INFO: Processing buffer {"connection_id":147228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc3621a0012d19034007213dc0003b00ed29..."} 
[2026-08-01 12:57:11] local.INFO: Packet analysis {"connection_id":147228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc36"} 
[2026-08-01 12:57:11] local.INFO: Extracted packet for processing {"connection_id":147228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc36"} 
[2026-08-01 12:57:11] local.INFO: GPS Element Parsed {"raw_longitude":756613952,"raw_latitude":119619008,"longitude_deg":75.6613952,"latitude_deg":11.9619008,"altitude":59,"angle":237,"satellites":41,"speed":0,"hex_longitude":"2d190340","hex_latitude":"07213dc0","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105682176001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10141302549118976,"note":"Value kept but may cause issues"} 
[2026-08-01 12:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1802354675244974080,"note":"Value kept but may cause issues"} 
[2026-08-01 12: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-08-01 12:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785569092000,"timestamp_ms":1785569092000,"timestamp_seconds":1785569092,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc3621a0"} 
[2026-08-01 12:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:57: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-08-01 12: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-08-01 12: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-08-01 12: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-08-01 12:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":147228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":147228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":147228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:57: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-08-01 12:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105682176001,"66":12667,"103":206,"83":41984,"24":0,"16":10141302549118976,"45":1802354675244974080},"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-08-01 12:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105682176001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:57:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 12:57:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10141302549118976,"km_value":10141302549118.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1802354675244974080,"description":"Unknown IO ID 45"} 
[2026-08-01 12:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105682176001,"power":12667,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1802354675244974080}} 
[2026-08-01 12:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":147228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:57:12] local.INFO: GPS data processed {"connection_id":147228,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:57:12] local.INFO: Acknowledgment sent {"connection_id":147228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:57:16] local.INFO: TCP Data received {"connection_id":147228,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc3673a8012d19034007213dc0003b00ed28..."} 
[2026-08-01 12:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc3673a8012d19034007213dc0003b00ed28..."} 
[2026-08-01 12:57:16] local.INFO: Processing buffer {"connection_id":147228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc3673a8012d19034007213dc0003b00ed28..."} 
[2026-08-01 12:57:16] local.INFO: Packet analysis {"connection_id":147228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc36"} 
[2026-08-01 12:57:16] local.INFO: Extracted packet for processing {"connection_id":147228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc36"} 
[2026-08-01 12:57:16] local.INFO: GPS Element Parsed {"raw_longitude":756613952,"raw_latitude":119619008,"longitude_deg":75.6613952,"latitude_deg":11.9619008,"altitude":59,"angle":237,"satellites":40,"speed":0,"hex_longitude":"2d190340","hex_latitude":"07213dc0","is_valid_coordinates":true} 
[2026-08-01 12:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105687552001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10141302549118976,"note":"Value kept but may cause issues"} 
[2026-08-01 12:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1802354675244974080,"note":"Value kept but may cause issues"} 
[2026-08-01 12:57: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-08-01 12:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785569113000,"timestamp_ms":1785569113000,"timestamp_seconds":1785569113,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc3673a8"} 
[2026-08-01 12:57:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:57: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-08-01 12:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-01 12:57:16] 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-08-01 12:57:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:57:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":147228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":147228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":147228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12: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-08-01 12:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105687552001,"66":12602,"103":206,"83":41984,"24":0,"16":10141302549118976,"45":1802354675244974080},"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-08-01 12:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105687552001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:57:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 12:57:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10141302549118976,"km_value":10141302549118.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1802354675244974080,"description":"Unknown IO ID 45"} 
[2026-08-01 12:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105687552001,"power":12602,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1802354675244974080}} 
[2026-08-01 12:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":147228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:57:17] local.INFO: GPS data processed {"connection_id":147228,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:57:17] local.INFO: Acknowledgment sent {"connection_id":147228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:57:21] local.INFO: TCP Data received {"connection_id":146005,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc37b3f8012d0d620006ea0808001600c225..."} 
[2026-08-01 12:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc37b3f8012d0d620006ea0808001600c225..."} 
[2026-08-01 12:57:21] local.INFO: Processing buffer {"connection_id":146005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc37b3f8012d0d620006ea0808001600c225..."} 
[2026-08-01 12:57:21] local.INFO: Packet analysis {"connection_id":146005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc37"} 
[2026-08-01 12:57:21] local.INFO: Extracted packet for processing {"connection_id":146005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc37"} 
[2026-08-01 12:57:21] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116000776,"longitude_deg":75.5851776,"latitude_deg":11.6000776,"altitude":22,"angle":194,"satellites":37,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea0808","is_valid_coordinates":true} 
[2026-08-01 12:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105692416001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:57:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:57:21] 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-08-01 12:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785569195000,"timestamp_ms":1785569195000,"timestamp_seconds":1785569195,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc37b3f8"} 
[2026-08-01 12:57:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:57:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 12:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-01 12:57:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:57:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:57:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:57:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105692416001,"66":25745,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-01 12:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105692416001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:57:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:57:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:57:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105692416001,"power":25745,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":146005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:57:21] local.INFO: GPS data processed {"connection_id":146005,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:57:21] local.INFO: Acknowledgment sent {"connection_id":146005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:57:44] local.INFO: TCP Data received {"connection_id":148544,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:57:44] local.INFO: Processing buffer {"connection_id":148544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:57:44] local.INFO: IMEI packet received {"connection_id":148544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":148544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:57:49] local.INFO: TCP Data received {"connection_id":148544,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:57:49] local.INFO: Processing buffer {"connection_id":148544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:57:49] local.INFO: IMEI packet received {"connection_id":148544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":148544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:57:50] local.INFO: TCP Data received {"connection_id":148544,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc3809e8012d0d62c006ea0960001600c928..."} 
[2026-08-01 12:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc3809e8012d0d62c006ea0960001600c928..."} 
[2026-08-01 12:57:50] local.INFO: Processing buffer {"connection_id":148544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc3809e8012d0d62c006ea0960001600c928..."} 
[2026-08-01 12:57:50] local.INFO: Packet analysis {"connection_id":148544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc38"} 
[2026-08-01 12:57:50] local.INFO: Extracted packet for processing {"connection_id":148544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc38"} 
[2026-08-01 12:57:50] local.INFO: GPS Element Parsed {"raw_longitude":755851968,"raw_latitude":116001120,"longitude_deg":75.5851968,"latitude_deg":11.600112,"altitude":22,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2d0d62c0","hex_latitude":"06ea0960","is_valid_coordinates":true} 
[2026-08-01 12:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105713920001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:57:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906906112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:57:50] 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-08-01 12:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785569217000,"timestamp_ms":1785569217000,"timestamp_seconds":1785569217,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc3809e8"} 
[2026-08-01 12:57:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:57:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-01 12:57:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:57:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:57:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:57:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105713920001,"66":27821,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964333299906906112},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-01 12:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105713920001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:57:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:57:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:57:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906906112,"description":"Unknown IO ID 45"} 
[2026-08-01 12:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105713920001,"power":27821,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299906906112}} 
[2026-08-01 12:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":148544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:57:50] local.INFO: GPS data processed {"connection_id":148544,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:57:50] local.INFO: Acknowledgment sent {"connection_id":148544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:57:57] local.INFO: TCP Data received {"connection_id":146006,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:57:57] local.INFO: Processing buffer {"connection_id":146006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:57:57] local.INFO: IMEI packet received {"connection_id":146006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 12:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":146006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:58:00] local.INFO: TCP Data received {"connection_id":146006,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:58:00] local.INFO: Processing buffer {"connection_id":146006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:58:00] local.INFO: IMEI packet received {"connection_id":146006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":146006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:58:05] local.INFO: TCP Data received {"connection_id":146006,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:58:05] local.INFO: Processing buffer {"connection_id":146006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:58:05] local.INFO: IMEI packet received {"connection_id":146006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":146006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:58:07] local.INFO: TCP Data received {"connection_id":146006,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc36c5b0012d19034007213dc0003b00ed28..."} 
[2026-08-01 12:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc36c5b0012d19034007213dc0003b00ed28..."} 
[2026-08-01 12:58:07] local.INFO: Processing buffer {"connection_id":146006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc36c5b0012d19034007213dc0003b00ed28..."} 
[2026-08-01 12:58:07] local.INFO: Packet analysis {"connection_id":146006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc36"} 
[2026-08-01 12:58:07] local.INFO: Extracted packet for processing {"connection_id":146006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc36"} 
[2026-08-01 12:58:07] local.INFO: GPS Element Parsed {"raw_longitude":756613952,"raw_latitude":119619008,"longitude_deg":75.6613952,"latitude_deg":11.9619008,"altitude":59,"angle":237,"satellites":40,"speed":0,"hex_longitude":"2d190340","hex_latitude":"07213dc0","is_valid_coordinates":true} 
[2026-08-01 12:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105692928001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10141302549118976,"note":"Value kept but may cause issues"} 
[2026-08-01 12:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1802354675244974080,"note":"Value kept but may cause issues"} 
[2026-08-01 12:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785569134000,"timestamp_ms":1785569134000,"timestamp_seconds":1785569134,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc36c5b0"} 
[2026-08-01 12:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:58:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-08-01 12:58:07] 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-08-01 12:58:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:58: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-08-01 12:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105692928001,"66":12558,"103":206,"83":41984,"24":0,"16":10141302549118976,"45":1802354675244974080},"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-08-01 12:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105692928001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:58:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 12:58:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10141302549118976,"km_value":10141302549118.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1802354675244974080,"description":"Unknown IO ID 45"} 
[2026-08-01 12:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105692928001,"power":12558,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1802354675244974080}} 
[2026-08-01 12:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":146006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577188,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:58:07] local.INFO: GPS data processed {"connection_id":146006,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:58:07] local.INFO: Acknowledgment sent {"connection_id":146006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:58:26] local.INFO: TCP Data received {"connection_id":148544,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc385bf0012d0d62c006ea0960001600c927..."} 
[2026-08-01 12:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc385bf0012d0d62c006ea0960001600c927..."} 
[2026-08-01 12:58:26] local.INFO: Processing buffer {"connection_id":148544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc385bf0012d0d62c006ea0960001600c927..."} 
[2026-08-01 12:58:26] local.INFO: Packet analysis {"connection_id":148544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc38"} 
[2026-08-01 12:58:26] local.INFO: Extracted packet for processing {"connection_id":148544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc38"} 
[2026-08-01 12:58:26] local.INFO: GPS Element Parsed {"raw_longitude":755851968,"raw_latitude":116001120,"longitude_deg":75.5851968,"latitude_deg":11.600112,"altitude":22,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2d0d62c0","hex_latitude":"06ea0960","is_valid_coordinates":true} 
[2026-08-01 12:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105719552001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410055228063744,"note":"Value kept but may cause issues"} 
[2026-08-01 12:58:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964544406139527168,"note":"Value kept but may cause issues"} 
[2026-08-01 12:58:26] 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-08-01 12:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785569238000,"timestamp_ms":1785569238000,"timestamp_seconds":1785569238,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc385bf0"} 
[2026-08-01 12:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:58: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-08-01 12:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 12:58:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:58:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:58:26] 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-08-01 12:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105719552001,"66":27767,"83":206,"80":6400,"24":0,"16":366410055228063744,"45":964544406139527168},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-01 12:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105719552001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:58:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:58:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410055228063744,"km_value":366410055228063.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:58:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":964544406139527168,"description":"Unknown IO ID 45"} 
[2026-08-01 12:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105719552001,"power":27767,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964544406139527168}} 
[2026-08-01 12:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":148544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:58:26] local.INFO: GPS data processed {"connection_id":148544,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:58:26] local.INFO: Acknowledgment sent {"connection_id":148544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:58:39] local.INFO: TCP Data received {"connection_id":146006,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc38bd98012d18fe0007214a40003f013d29..."} 
[2026-08-01 12:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc38bd98012d18fe0007214a40003f013d29..."} 
[2026-08-01 12:58:39] local.INFO: Processing buffer {"connection_id":146006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc38bd98012d18fe0007214a40003f013d29..."} 
[2026-08-01 12:58:39] local.INFO: Packet analysis {"connection_id":146006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc38"} 
[2026-08-01 12:58:39] local.INFO: Extracted packet for processing {"connection_id":146006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc38"} 
[2026-08-01 12:58:39] local.INFO: GPS Element Parsed {"raw_longitude":756612608,"raw_latitude":119622208,"longitude_deg":75.6612608,"latitude_deg":11.9622208,"altitude":63,"angle":317,"satellites":41,"speed":11,"hex_longitude":"2d18fe00","hex_latitude":"07214a40","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105731072001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10141478642778112,"note":"Value kept but may cause issues"} 
[2026-08-01 12:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1801158406594715648,"note":"Value kept but may cause issues"} 
[2026-08-01 12:58: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-08-01 12:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785569263000,"timestamp_ms":1785569263000,"timestamp_seconds":1785569263,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc38bd98"} 
[2026-08-01 12:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-01 12:58:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12: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-08-01 12:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:58: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-08-01 12:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105731072001,"66":14265,"103":206,"83":41984,"24":11,"16":10141478642778112,"45":1801158406594715648},"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-08-01 12:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105731072001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:58:39] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 12:58:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10141478642778112,"km_value":10141478642778.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1801158406594715648,"description":"Unknown IO ID 45"} 
[2026-08-01 12:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105731072001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1801158406594715648}} 
[2026-08-01 12:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":146006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:58:39] local.INFO: GPS data processed {"connection_id":146006,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:58:39] local.INFO: Acknowledgment sent {"connection_id":146006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:58:44] local.INFO: TCP Data received {"connection_id":148545,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:58:44] local.INFO: Processing buffer {"connection_id":148545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:58:44] local.INFO: IMEI packet received {"connection_id":148545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":148545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:58:45] local.INFO: TCP Data received {"connection_id":148545,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:58:45] local.INFO: Processing buffer {"connection_id":148545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:58:45] local.INFO: IMEI packet received {"connection_id":148545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":148545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:58:49] local.INFO: TCP Data received {"connection_id":148545,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:58:49] local.INFO: Processing buffer {"connection_id":148545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:58:49] local.INFO: IMEI packet received {"connection_id":148545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":148545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:58:50] local.INFO: TCP Data received {"connection_id":148545,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc3886e8012d0d614006ea09a00011014927..."} 
[2026-08-01 12:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc3886e8012d0d614006ea09a00011014927..."} 
[2026-08-01 12:58:50] local.INFO: Processing buffer {"connection_id":148545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc3886e8012d0d614006ea09a00011014927..."} 
[2026-08-01 12:58:50] local.INFO: Packet analysis {"connection_id":148545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc38"} 
[2026-08-01 12:58:50] local.INFO: Extracted packet for processing {"connection_id":148545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc38"} 
[2026-08-01 12:58:50] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116001184,"longitude_deg":75.5851584,"latitude_deg":11.6001184,"altitude":17,"angle":329,"satellites":39,"speed":6,"hex_longitude":"2d0d6140","hex_latitude":"06ea09a0","is_valid_coordinates":true} 
[2026-08-01 12:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105724928001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410076702900224,"note":"Value kept but may cause issues"} 
[2026-08-01 12:58:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964544406139527168,"note":"Value kept but may cause issues"} 
[2026-08-01 12:58:50] 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-08-01 12:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785569249000,"timestamp_ms":1785569249000,"timestamp_seconds":1785569249,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc3886e8"} 
[2026-08-01 12:58:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:58:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 12:58:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:58:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:58:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:58:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105724928001,"66":27865,"83":206,"80":6400,"24":6,"16":366410076702900224,"45":964544406139527168},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-01 12:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105724928001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:58:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:58:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410076702900224,"km_value":366410076702900.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:58:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":964544406139527168,"description":"Unknown IO ID 45"} 
[2026-08-01 12:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105724928001,"power":27865,"unknown_83":206,"unknown_80":6400,"ignition":6,"odometer":null,"unknown_45":964544406139527168}} 
[2026-08-01 12:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":148545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:58:50] local.INFO: GPS data processed {"connection_id":148545,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:58:50] local.INFO: Acknowledgment sent {"connection_id":148545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:59:01] local.INFO: TCP Data received {"connection_id":147229,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147229,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:59:01] local.INFO: Processing buffer {"connection_id":147229,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:59:01] local.INFO: IMEI packet received {"connection_id":147229,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 12:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":147229,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:59:01] local.INFO: TCP Data received {"connection_id":147229,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147229,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:59:01] local.INFO: Processing buffer {"connection_id":147229,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:59:01] local.INFO: IMEI packet received {"connection_id":147229,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":147229,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:59:02] local.INFO: TCP Data received {"connection_id":147229,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147229,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:59:02] local.INFO: Processing buffer {"connection_id":147229,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 12:59:02] local.INFO: IMEI packet received {"connection_id":147229,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 12:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":147229,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:59:03] local.INFO: TCP Data received {"connection_id":147229,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc394268012d18dc80072151880042011f28..."} 
[2026-08-01 12:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc394268012d18dc80072151880042011f28..."} 
[2026-08-01 12:59:03] local.INFO: Processing buffer {"connection_id":147229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc394268012d18dc80072151880042011f28..."} 
[2026-08-01 12:59:03] local.INFO: Packet analysis {"connection_id":147229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc39"} 
[2026-08-01 12:59:03] local.INFO: Extracted packet for processing {"connection_id":147229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc39"} 
[2026-08-01 12:59:03] local.INFO: GPS Element Parsed {"raw_longitude":756604032,"raw_latitude":119624072,"longitude_deg":75.6604032,"latitude_deg":11.9624072,"altitude":66,"angle":287,"satellites":40,"speed":7,"hex_longitude":"2d18dc80","hex_latitude":"07215188","is_valid_coordinates":true} 
[2026-08-01 12:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105739776001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10141925319376896,"note":"Value kept but may cause issues"} 
[2026-08-01 12:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791658626131245056,"note":"Value kept but may cause issues"} 
[2026-08-01 12:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785569297000,"timestamp_ms":1785569297000,"timestamp_seconds":1785569297,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc394268"} 
[2026-08-01 12:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-01 12:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:59:03] 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-08-01 12:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105739776001,"66":14363,"103":206,"83":41984,"24":7,"16":10141925319376896,"45":1791658626131245056},"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-08-01 12:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105739776001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:59:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 12:59:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10141925319376896,"km_value":10141925319376.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791658626131245056,"description":"Unknown IO ID 45"} 
[2026-08-01 12:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105739776001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1791658626131245056}} 
[2026-08-01 12:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":147229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:59:03] local.INFO: GPS data processed {"connection_id":147229,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:59:03] local.INFO: Acknowledgment sent {"connection_id":147229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:59:22] local.INFO: TCP Data received {"connection_id":148545,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc388ad0012d0d610006ea0a380011015828..."} 
[2026-08-01 12:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc388ad0012d0d610006ea0a380011015828..."} 
[2026-08-01 12:59:22] local.INFO: Processing buffer {"connection_id":148545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc388ad0012d0d610006ea0a380011015828..."} 
[2026-08-01 12:59:22] local.INFO: Packet analysis {"connection_id":148545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc38"} 
[2026-08-01 12:59:22] local.INFO: Extracted packet for processing {"connection_id":148545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc38"} 
[2026-08-01 12:59:22] local.INFO: GPS Element Parsed {"raw_longitude":755851520,"raw_latitude":116001336,"longitude_deg":75.585152,"latitude_deg":11.6001336,"altitude":17,"angle":344,"satellites":40,"speed":7,"hex_longitude":"2d0d6100","hex_latitude":"06ea0a38","is_valid_coordinates":true} 
[2026-08-01 12:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105727744001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410085292834816,"note":"Value kept but may cause issues"} 
[2026-08-01 12:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964122193674477568,"note":"Value kept but may cause issues"} 
[2026-08-01 12:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785569250000,"timestamp_ms":1785569250000,"timestamp_seconds":1785569250,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc388ad0"} 
[2026-08-01 12:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:59:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 12:59:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:59:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105727744001,"66":27865,"83":206,"80":6400,"24":7,"16":366410085292834816,"45":964122193674477568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-01 12:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105727744001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:59:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:59:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410085292834816,"km_value":366410085292834.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":964122193674477568,"description":"Unknown IO ID 45"} 
[2026-08-01 12:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105727744001,"power":27865,"unknown_83":206,"unknown_80":6400,"ignition":7,"odometer":null,"unknown_45":964122193674477568}} 
[2026-08-01 12:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":148545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:59:22] local.INFO: GPS data processed {"connection_id":148545,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:59:22] local.INFO: Acknowledgment sent {"connection_id":148545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:59:34] local.INFO: TCP Data received {"connection_id":147229,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc395208012d18d880072152200042011227..."} 
[2026-08-01 12:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc395208012d18d880072152200042011227..."} 
[2026-08-01 12:59:34] local.INFO: Processing buffer {"connection_id":147229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc395208012d18d880072152200042011227..."} 
[2026-08-01 12:59:34] local.INFO: Packet analysis {"connection_id":147229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc39"} 
[2026-08-01 12:59:34] local.INFO: Extracted packet for processing {"connection_id":147229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc39"} 
[2026-08-01 12:59:34] local.INFO: GPS Element Parsed {"raw_longitude":756603008,"raw_latitude":119624224,"longitude_deg":75.6603008,"latitude_deg":11.9624224,"altitude":66,"angle":274,"satellites":39,"speed":9,"hex_longitude":"2d18d880","hex_latitude":"07215220","is_valid_coordinates":true} 
[2026-08-01 12: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-08-01 12:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105740032001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10141972564017152,"note":"Value kept but may cause issues"} 
[2026-08-01 12:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791447519898732544,"note":"Value kept but may cause issues"} 
[2026-08-01 12:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785569301000,"timestamp_ms":1785569301000,"timestamp_seconds":1785569301,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc395208"} 
[2026-08-01 12:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:59: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-08-01 12: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-01 12:59:34] 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-08-01 12: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-08-01 12:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 12:59:34] 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-08-01 12:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 12:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 12:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105740032001,"66":14483,"103":206,"83":41984,"24":9,"16":10141972564017152,"45":1791447519898732544},"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-08-01 12:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 12:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 12:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105740032001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:59:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 12:59:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 12:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10141972564017152,"km_value":10141972564017.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791447519898732544,"description":"Unknown IO ID 45"} 
[2026-08-01 12:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105740032001,"power":14483,"unknown_103":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1791447519898732544}} 
[2026-08-01 12:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":147229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577194,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:59:34] local.INFO: GPS data processed {"connection_id":147229,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:59:34] local.INFO: Acknowledgment sent {"connection_id":147229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:59:49] local.INFO: TCP Data received {"connection_id":148546,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:59:49] local.INFO: Processing buffer {"connection_id":148546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:59:49] local.INFO: IMEI packet received {"connection_id":148546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 12:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":148546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 12:59:54] local.INFO: TCP Data received {"connection_id":148546,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:59:54] local.INFO: Processing buffer {"connection_id":148546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 12:59:54] local.INFO: IMEI packet received {"connection_id":148546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 12:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":148546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 12:59:55] local.INFO: TCP Data received {"connection_id":148546,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc3892a0012d0d610006ea0bb80011000629..."} 
[2026-08-01 12:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc3892a0012d0d610006ea0bb80011000629..."} 
[2026-08-01 12:59:55] local.INFO: Processing buffer {"connection_id":148546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc3892a0012d0d610006ea0bb80011000629..."} 
[2026-08-01 12:59:55] local.INFO: Packet analysis {"connection_id":148546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc38"} 
[2026-08-01 12:59:55] local.INFO: Extracted packet for processing {"connection_id":148546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc38"} 
[2026-08-01 12:59:55] local.INFO: GPS Element Parsed {"raw_longitude":755851520,"raw_latitude":116001720,"longitude_deg":75.585152,"latitude_deg":11.600172,"altitude":17,"angle":6,"satellites":41,"speed":8,"hex_longitude":"2d0d6100","hex_latitude":"06ea0bb8","is_valid_coordinates":true} 
[2026-08-01 12:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105728000001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410102472704000,"note":"Value kept but may cause issues"} 
[2026-08-01 12:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964051824930338816,"note":"Value kept but may cause issues"} 
[2026-08-01 12:59:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785569252000,"timestamp_ms":1785569252000,"timestamp_seconds":1785569252,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc3892a0"} 
[2026-08-01 12:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 12:59:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 12:59:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105728000001,"66":27821,"83":206,"80":6400,"24":8,"16":366410102472704000,"45":964051824930338816},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-01 12:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105728000001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:59:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:59:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410102472704000,"km_value":366410102472704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":964051824930338816,"description":"Unknown IO ID 45"} 
[2026-08-01 12:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105728000001,"power":27821,"unknown_83":206,"unknown_80":6400,"ignition":8,"odometer":null,"unknown_45":964051824930338816}} 
[2026-08-01 12:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":148546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:59:55] local.INFO: GPS data processed {"connection_id":148546,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:59:55] local.INFO: Acknowledgment sent {"connection_id":148546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 12:59:56] local.INFO: TCP Data received {"connection_id":148546,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc389688012d0d614006ea0c900011001229..."} 
[2026-08-01 12:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc389688012d0d614006ea0c900011001229..."} 
[2026-08-01 12:59:56] local.INFO: Processing buffer {"connection_id":148546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc389688012d0d614006ea0c900011001229..."} 
[2026-08-01 12:59:56] local.INFO: Packet analysis {"connection_id":148546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc38"} 
[2026-08-01 12:59:56] local.INFO: Extracted packet for processing {"connection_id":148546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc38"} 
[2026-08-01 12:59:56] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116001936,"longitude_deg":75.5851584,"latitude_deg":11.6001936,"altitude":17,"angle":18,"satellites":41,"speed":9,"hex_longitude":"2d0d6140","hex_latitude":"06ea0c90","is_valid_coordinates":true} 
[2026-08-01 12:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 12:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105728512001,"note":"Value kept but may cause issues"} 
[2026-08-01 12:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366410111062638592,"note":"Value kept but may cause issues"} 
[2026-08-01 12:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964051824930437120,"note":"Value kept but may cause issues"} 
[2026-08-01 12:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 12:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785569253000,"timestamp_ms":1785569253000,"timestamp_seconds":1785569253,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc389688"} 
[2026-08-01 12:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 12:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 12:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 12:59: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-08-01 12:59:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 12:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 12:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 12:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":148546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 12:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":148546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":148546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 12:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 12:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 12:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 12:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105728512001,"66":27767,"83":206,"80":6400,"24":9,"16":366410111062638592,"45":964051824930437120},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-01 12:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 12:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 12:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105728512001,"description":"Unknown IO ID 0"} 
[2026-08-01 12:59:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 12:59:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 12:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366410111062638592,"km_value":366410111062638.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 12:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":964051824930437120,"description":"Unknown IO ID 45"} 
[2026-08-01 12:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105728512001,"power":27767,"unknown_83":206,"unknown_80":6400,"ignition":9,"odometer":null,"unknown_45":964051824930437120}} 
[2026-08-01 12:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":148546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 12:59:56] local.INFO: GPS data processed {"connection_id":148546,"processed":1,"errors":0,"total":1} 
[2026-08-01 12:59:56] local.INFO: Acknowledgment sent {"connection_id":148546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:00:00] local.INFO: TCP Data received {"connection_id":147230,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147230,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:00:00] local.INFO: Processing buffer {"connection_id":147230,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:00:00] local.INFO: IMEI packet received {"connection_id":147230,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 13:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":147230,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:00:05] local.INFO: TCP Data received {"connection_id":147230,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147230,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:00:05] local.INFO: Processing buffer {"connection_id":147230,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:00:05] local.INFO: IMEI packet received {"connection_id":147230,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":147230,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:00:06] local.INFO: TCP Data received {"connection_id":147230,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc395dc0012d18d580072151e00041010626..."} 
[2026-08-01 13:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc395dc0012d18d580072151e00041010626..."} 
[2026-08-01 13:00:06] local.INFO: Processing buffer {"connection_id":147230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc395dc0012d18d580072151e00041010626..."} 
[2026-08-01 13:00:06] local.INFO: Packet analysis {"connection_id":147230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc39"} 
[2026-08-01 13:00:06] local.INFO: Extracted packet for processing {"connection_id":147230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc39"} 
[2026-08-01 13:00:06] local.INFO: GPS Element Parsed {"raw_longitude":756602240,"raw_latitude":119624160,"longitude_deg":75.660224,"latitude_deg":11.962416,"altitude":65,"angle":262,"satellites":38,"speed":9,"hex_longitude":"2d18d580","hex_latitude":"072151e0","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105741056001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10142011218722816,"note":"Value kept but may cause issues"} 
[2026-08-01 13:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790321619991928832,"note":"Value kept but may cause issues"} 
[2026-08-01 13:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785569304000,"timestamp_ms":1785569304000,"timestamp_seconds":1785569304,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc395dc0"} 
[2026-08-01 13:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:00:06] 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-08-01 13: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-01 13:00:06] 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-08-01 13: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-08-01 13:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:00:06] 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-08-01 13:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105741056001,"66":14341,"103":206,"83":41984,"24":9,"16":10142011218722816,"45":1790321619991928832},"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-08-01 13:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105741056001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:00:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 13:00:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10142011218722816,"km_value":10142011218722.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790321619991928832,"description":"Unknown IO ID 45"} 
[2026-08-01 13:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105741056001,"power":14341,"unknown_103":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1790321619991928832}} 
[2026-08-01 13:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":147230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577197,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:00:06] local.INFO: GPS data processed {"connection_id":147230,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:00:06] local.INFO: Acknowledgment sent {"connection_id":147230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:00:28] local.INFO: TCP Data received {"connection_id":148546,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc3a3498012d0d37c006eabad00018012b27..."} 
[2026-08-01 13:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc3a3498012d0d37c006eabad00018012b27..."} 
[2026-08-01 13:00:28] local.INFO: Processing buffer {"connection_id":148546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc3a3498012d0d37c006eabad00018012b27..."} 
[2026-08-01 13:00:28] local.INFO: Packet analysis {"connection_id":148546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc3a"} 
[2026-08-01 13:00:28] local.INFO: Extracted packet for processing {"connection_id":148546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc3a"} 
[2026-08-01 13:00:28] local.INFO: GPS Element Parsed {"raw_longitude":755840960,"raw_latitude":116046544,"longitude_deg":75.584096,"latitude_deg":11.6046544,"altitude":24,"angle":299,"satellites":39,"speed":17,"hex_longitude":"2d0d37c0","hex_latitude":"06eabad0","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105755136001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366412404575174656,"note":"Value kept but may cause issues"} 
[2026-08-01 13:00:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953496513315051520,"note":"Value kept but may cause issues"} 
[2026-08-01 13:00: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-08-01 13:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785569359000,"timestamp_ms":1785569359000,"timestamp_seconds":1785569359,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc3a3498"} 
[2026-08-01 13:00:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:00: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-08-01 13:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 13:00: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-08-01 13: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-08-01 13:00:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":148546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":148546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":148546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:00: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-08-01 13:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105755136001,"66":27767,"83":206,"80":6400,"24":17,"16":366412404575174656,"45":953496513315051520},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-01 13:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105755136001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:00:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-01 13:00:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 13:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366412404575174656,"km_value":366412404575174.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:00:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":953496513315051520,"description":"Unknown IO ID 45"} 
[2026-08-01 13:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105755136001,"power":27767,"unknown_83":206,"unknown_80":6400,"ignition":17,"odometer":null,"unknown_45":953496513315051520}} 
[2026-08-01 13:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":148546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:00:28] local.INFO: GPS data processed {"connection_id":148546,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:00:28] local.INFO: Acknowledgment sent {"connection_id":148546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:00:37] local.INFO: TCP Data received {"connection_id":147230,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc397530012d18cd40072152000041011126..."} 
[2026-08-01 13:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc397530012d18cd40072152000041011126..."} 
[2026-08-01 13:00:37] local.INFO: Processing buffer {"connection_id":147230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc397530012d18cd40072152000041011126..."} 
[2026-08-01 13:00:37] local.INFO: Packet analysis {"connection_id":147230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc39"} 
[2026-08-01 13:00:37] local.INFO: Extracted packet for processing {"connection_id":147230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc39"} 
[2026-08-01 13:00:37] local.INFO: GPS Element Parsed {"raw_longitude":756600128,"raw_latitude":119624192,"longitude_deg":75.6600128,"latitude_deg":11.9624192,"altitude":65,"angle":273,"satellites":38,"speed":17,"hex_longitude":"2d18cd40","hex_latitude":"07215200","is_valid_coordinates":true} 
[2026-08-01 13:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105741824001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10142114297937920,"note":"Value kept but may cause issues"} 
[2026-08-01 13:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789477195061780480,"note":"Value kept but may cause issues"} 
[2026-08-01 13:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785569310000,"timestamp_ms":1785569310000,"timestamp_seconds":1785569310,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc397530"} 
[2026-08-01 13:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-01 13:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6974880042,"note":"Value kept but may cause issues"} 
[2026-08-01 13:00:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-01 13:00:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 13:00:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3157864160,"note":"Value kept but may cause issues"} 
[2026-08-01 13:00:37] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503754380017664,"note":"Value kept but may cause issues"} 
[2026-08-01 13:00:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-01 13:00:37] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3355520280,"note":"Value kept but may cause issues"} 
[2026-08-01 13:00:37] local.WARNING: Large IO value detected {"io_id":222,"raw_value":3221692750,"note":"Value kept but may cause issues"} 
[2026-08-01 13:00:37] local.WARNING: Large IO value detected {"io_id":248,"raw_value":84751317268373837,"note":"Value kept but may cause issues"} 
[2026-08-01 13:00:37] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3657485688,"note":"Value kept but may cause issues"} 
[2026-08-01 13:00:37] local.WARNING: Large IO value detected {"io_id":56,"raw_value":18578680540301312,"note":"Value kept but may cause issues"} 
[2026-08-01 13:00:37] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,103,83,24,241,157,16,8,159,82,45,128,66,39,10,81,40,62,64,1,240,218,227,188,33,4,113,205,50,222,248,239,55,2,36,7,206,56],"length":529,"final_offset":659,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-01 13:00:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4684031847721140224,"timestamp_seconds":4684031847721140.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 13:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:00:37] 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-08-01 13:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105741824001,"66":14265,"103":206,"83":41984,"24":17,"16":10142114297937920,"45":1789477195061780480},"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-08-01 13:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105741824001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:00:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 13:00:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10142114297937920,"km_value":10142114297937.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789477195061780480,"description":"Unknown IO ID 45"} 
[2026-08-01 13:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105741824001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1789477195061780480}} 
[2026-08-01 13:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":147230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577199,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:00:37] local.INFO: GPS data processed {"connection_id":147230,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:00:37] local.INFO: Acknowledgment sent {"connection_id":147230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:00:42] local.INFO: TCP Data received {"connection_id":148547,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:00:42] local.INFO: Processing buffer {"connection_id":148547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:00:42] local.INFO: IMEI packet received {"connection_id":148547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":148547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:00:44] local.INFO: TCP Data received {"connection_id":148547,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:00:44] local.INFO: Processing buffer {"connection_id":148547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:00:44] local.INFO: IMEI packet received {"connection_id":148547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:00:44] local.INFO: IMEI acknowledgment sent {"connection_id":148547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:00:49] local.INFO: TCP Data received {"connection_id":148547,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:00:49] local.INFO: Processing buffer {"connection_id":148547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:00:49] local.INFO: IMEI packet received {"connection_id":148547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":148547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:00:50] local.INFO: TCP Data received {"connection_id":148547,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc3a7318012d0d170006eaccd00018012f28..."} 
[2026-08-01 13:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc3a7318012d0d170006eaccd00018012f28..."} 
[2026-08-01 13:00:50] local.INFO: Processing buffer {"connection_id":148547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc3a7318012d0d170006eaccd00018012f28..."} 
[2026-08-01 13:00:50] local.INFO: Packet analysis {"connection_id":148547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc3a"} 
[2026-08-01 13:00:50] local.INFO: Extracted packet for processing {"connection_id":148547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc3a"} 
[2026-08-01 13:00:50] local.INFO: GPS Element Parsed {"raw_longitude":755832576,"raw_latitude":116051152,"longitude_deg":75.5832576,"latitude_deg":11.6051152,"altitude":24,"angle":303,"satellites":40,"speed":24,"hex_longitude":"2d0d1700","hex_latitude":"06eaccd0","is_valid_coordinates":true} 
[2026-08-01 13:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105755904001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:00:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366412859841708032,"note":"Value kept but may cause issues"} 
[2026-08-01 13:00:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952440982152597504,"note":"Value kept but may cause issues"} 
[2026-08-01 13:00:50] 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-08-01 13:00:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785569375000,"timestamp_ms":1785569375000,"timestamp_seconds":1785569375,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc3a7318"} 
[2026-08-01 13:00:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:00: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-08-01 13:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 13:00:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:00:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:00:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:00:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:00:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:00:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:00:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:00:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:00:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:00:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:00:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105755904001,"66":27821,"238":206,"80":6400,"24":24,"16":366412859841708032,"45":952440982152597504},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,80,24,16,45]} 
[2026-08-01 13:00:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:00:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:00:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105755904001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:00:50] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-08-01 13:00:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 13:00:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366412859841708032,"km_value":366412859841708.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:00:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":952440982152597504,"description":"Unknown IO ID 45"} 
[2026-08-01 13:00:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105755904001,"power":27821,"unknown_238":206,"unknown_80":6400,"ignition":24,"odometer":null,"unknown_45":952440982152597504}} 
[2026-08-01 13:00:50] local.INFO: DEBUG: GPS processor result {"connection_id":148547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:00:50] local.INFO: GPS data processed {"connection_id":148547,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:00:50] local.INFO: Acknowledgment sent {"connection_id":148547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:01:00] local.INFO: TCP Data received {"connection_id":146221,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146221,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:01:00] local.INFO: Processing buffer {"connection_id":146221,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:01:00] local.INFO: IMEI packet received {"connection_id":146221,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 13:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":146221,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:01:06] local.INFO: TCP Data received {"connection_id":146221,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146221,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:01:06] local.INFO: Processing buffer {"connection_id":146221,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:01:06] local.INFO: IMEI packet received {"connection_id":146221,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":146221,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:01:07] local.INFO: TCP Data received {"connection_id":146221,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc3ac520012d1826000721a038004b013e26..."} 
[2026-08-01 13:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc3ac520012d1826000721a038004b013e26..."} 
[2026-08-01 13:01:07] local.INFO: Processing buffer {"connection_id":146221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc3ac520012d1826000721a038004b013e26..."} 
[2026-08-01 13:01:07] local.INFO: Packet analysis {"connection_id":146221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc3a"} 
[2026-08-01 13:01:07] local.INFO: Extracted packet for processing {"connection_id":146221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc3a"} 
[2026-08-01 13:01:07] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119644216,"longitude_deg":75.6557312,"latitude_deg":11.9644216,"altitude":75,"angle":318,"satellites":38,"speed":7,"hex_longitude":"2d182600","hex_latitude":"0721a038","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105763584001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10144459350081536,"note":"Value kept but may cause issues"} 
[2026-08-01 13:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741978292746643456,"note":"Value kept but may cause issues"} 
[2026-08-01 13:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785569396000,"timestamp_ms":1785569396000,"timestamp_seconds":1785569396,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc3ac520"} 
[2026-08-01 13:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-01 13:01:07] 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-08-01 13: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-08-01 13:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:01: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-08-01 13:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105763584001,"66":14102,"105":206,"83":41984,"24":7,"16":10144459350081536,"45":1741978292746643456},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 13:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105763584001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:01:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 13:01:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10144459350081536,"km_value":10144459350081.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741978292746643456,"description":"Unknown IO ID 45"} 
[2026-08-01 13:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105763584001,"power":14102,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1741978292746643456}} 
[2026-08-01 13:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":146221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:01:07] local.INFO: GPS data processed {"connection_id":146221,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:01:07] local.INFO: Acknowledgment sent {"connection_id":146221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:01:21] local.INFO: TCP Data received {"connection_id":148547,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc3aa9c8012d0cfcc006eadf900014013b26..."} 
[2026-08-01 13:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc3aa9c8012d0cfcc006eadf900014013b26..."} 
[2026-08-01 13:01:21] local.INFO: Processing buffer {"connection_id":148547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc3aa9c8012d0cfcc006eadf900014013b26..."} 
[2026-08-01 13:01:21] local.INFO: Packet analysis {"connection_id":148547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc3a"} 
[2026-08-01 13:01:21] local.INFO: Extracted packet for processing {"connection_id":148547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc3a"} 
[2026-08-01 13:01:21] local.INFO: GPS Element Parsed {"raw_longitude":755825856,"raw_latitude":116055952,"longitude_deg":75.5825856,"latitude_deg":11.6055952,"altitude":20,"angle":315,"satellites":38,"speed":19,"hex_longitude":"2d0cfcc0","hex_latitude":"06eadf90","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105760000001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366413259273666560,"note":"Value kept but may cause issues"} 
[2026-08-01 13:01:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":943222676666503168,"note":"Value kept but may cause issues"} 
[2026-08-01 13:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785569389000,"timestamp_ms":1785569389000,"timestamp_seconds":1785569389,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc3aa9c8"} 
[2026-08-01 13:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:01:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 13:01:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13: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-08-01 13:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105760000001,"66":27843,"238":206,"80":6400,"24":19,"16":366413259273666560,"45":943222676666503168},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,80,24,16,45]} 
[2026-08-01 13:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105760000001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:01:21] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-08-01 13:01:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 13:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366413259273666560,"km_value":366413259273666.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:01:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":943222676666503168,"description":"Unknown IO ID 45"} 
[2026-08-01 13:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105760000001,"power":27843,"unknown_238":206,"unknown_80":6400,"ignition":19,"odometer":null,"unknown_45":943222676666503168}} 
[2026-08-01 13:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":148547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:01:21] local.INFO: GPS data processed {"connection_id":148547,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:01:21] local.INFO: Acknowledgment sent {"connection_id":148547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:01:38] local.INFO: TCP Data received {"connection_id":146221,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc3ae848012d1825000721a190004d003821..."} 
[2026-08-01 13:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc3ae848012d1825000721a190004d003821..."} 
[2026-08-01 13:01:38] local.INFO: Processing buffer {"connection_id":146221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc3ae848012d1825000721a190004d003821..."} 
[2026-08-01 13:01:38] local.INFO: Packet analysis {"connection_id":146221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc3a"} 
[2026-08-01 13:01:38] local.INFO: Extracted packet for processing {"connection_id":146221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc3a"} 
[2026-08-01 13:01:38] local.INFO: GPS Element Parsed {"raw_longitude":756557056,"raw_latitude":119644560,"longitude_deg":75.6557056,"latitude_deg":11.964456,"altitude":77,"angle":56,"satellites":33,"speed":0,"hex_longitude":"2d182500","hex_latitude":"0721a190","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105765376001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10144489414852608,"note":"Value kept but may cause issues"} 
[2026-08-01 13:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336654194688,"note":"Value kept but may cause issues"} 
[2026-08-01 13:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785569405000,"timestamp_ms":1785569405000,"timestamp_seconds":1785569405,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc3ae848"} 
[2026-08-01 13:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-01 13:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13: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-08-01 13:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:01:38] 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-08-01 13:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105765376001,"66":14113,"105":206,"83":41984,"24":0,"16":10144489414852608,"45":1740078336654194688},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 13:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105765376001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:01:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 13:01:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10144489414852608,"km_value":10144489414852.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336654194688,"description":"Unknown IO ID 45"} 
[2026-08-01 13:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105765376001,"power":14113,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740078336654194688}} 
[2026-08-01 13:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":146221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:01:38] local.INFO: GPS data processed {"connection_id":146221,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:01:38] local.INFO: Acknowledgment sent {"connection_id":146221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:02:00] local.INFO: TCP Data received {"connection_id":147231,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:02:00] local.INFO: Processing buffer {"connection_id":147231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:02:00] local.INFO: IMEI packet received {"connection_id":147231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 13:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":147231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:02:05] local.INFO: TCP Data received {"connection_id":147231,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:02:05] local.INFO: Processing buffer {"connection_id":147231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:02:05] local.INFO: IMEI packet received {"connection_id":147231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":147231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:02:06] local.INFO: TCP Data received {"connection_id":147231,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc3b22e0012d1824c00721a1c8004d013e24..."} 
[2026-08-01 13:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc3b22e0012d1824c00721a1c8004d013e24..."} 
[2026-08-01 13:02:06] local.INFO: Processing buffer {"connection_id":147231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc3b22e0012d1824c00721a1c8004d013e24..."} 
[2026-08-01 13:02:06] local.INFO: Packet analysis {"connection_id":147231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc3b"} 
[2026-08-01 13:02:06] local.INFO: Extracted packet for processing {"connection_id":147231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc3b"} 
[2026-08-01 13:02:06] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119644616,"longitude_deg":75.6556992,"latitude_deg":11.9644616,"altitude":77,"angle":318,"satellites":36,"speed":3,"hex_longitude":"2d1824c0","hex_latitude":"0721a1c8","is_valid_coordinates":true} 
[2026-08-01 13:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105767680001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10144502299754496,"note":"Value kept but may cause issues"} 
[2026-08-01 13:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861677572096,"note":"Value kept but may cause issues"} 
[2026-08-01 13:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785569420000,"timestamp_ms":1785569420000,"timestamp_seconds":1785569420,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc3b22e0"} 
[2026-08-01 13:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:02:06] 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-08-01 13:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-01 13:02:06] 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-08-01 13:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:02:06] 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-08-01 13:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105767680001,"66":14102,"105":206,"83":41984,"24":3,"16":10144502299754496,"45":1739796861677572096},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 13:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105767680001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:02:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 13:02:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10144502299754496,"km_value":10144502299754.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861677572096,"description":"Unknown IO ID 45"} 
[2026-08-01 13:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105767680001,"power":14102,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1739796861677572096}} 
[2026-08-01 13:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":147231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:02:06] local.INFO: GPS data processed {"connection_id":147231,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:02:06] local.INFO: Acknowledgment sent {"connection_id":147231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:02:37] local.INFO: TCP Data received {"connection_id":147231,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc3b55a8012d181f800721a628004e013127..."} 
[2026-08-01 13:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc3b55a8012d181f800721a628004e013127..."} 
[2026-08-01 13:02:37] local.INFO: Processing buffer {"connection_id":147231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc3b55a8012d181f800721a628004e013127..."} 
[2026-08-01 13:02:37] local.INFO: Packet analysis {"connection_id":147231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc3b"} 
[2026-08-01 13:02:37] local.INFO: Extracted packet for processing {"connection_id":147231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc3b"} 
[2026-08-01 13:02:37] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119645736,"longitude_deg":75.6555648,"latitude_deg":11.9645736,"altitude":78,"angle":305,"satellites":39,"speed":3,"hex_longitude":"2d181f80","hex_latitude":"0721a628","is_valid_coordinates":true} 
[2026-08-01 13:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105771520001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10144588199100416,"note":"Value kept but may cause issues"} 
[2026-08-01 13:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492933408768,"note":"Value kept but may cause issues"} 
[2026-08-01 13:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785569433000,"timestamp_ms":1785569433000,"timestamp_seconds":1785569433,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc3b55a8"} 
[2026-08-01 13:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-01 13:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:02:37] 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-08-01 13:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105771520001,"66":14461,"105":206,"83":41984,"24":3,"16":10144588199100416,"45":1739726492933408768},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 13:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105771520001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:02:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 13:02:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10144588199100416,"km_value":10144588199100.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492933408768,"description":"Unknown IO ID 45"} 
[2026-08-01 13:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105771520001,"power":14461,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1739726492933408768}} 
[2026-08-01 13:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":147231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:02:37] local.INFO: GPS data processed {"connection_id":147231,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:02:37] local.INFO: Acknowledgment sent {"connection_id":147231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:03:00] local.INFO: TCP Data received {"connection_id":146222,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:03:00] local.INFO: Processing buffer {"connection_id":146222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:03:00] local.INFO: IMEI packet received {"connection_id":146222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 13:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":146222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:03:01] local.INFO: TCP Data received {"connection_id":146222,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:03:01] local.INFO: Processing buffer {"connection_id":146222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:03:01] local.INFO: IMEI packet received {"connection_id":146222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":146222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:03:05] local.INFO: TCP Data received {"connection_id":146222,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:03:05] local.INFO: Processing buffer {"connection_id":146222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:03:05] local.INFO: IMEI packet received {"connection_id":146222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":146222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:03:06] local.INFO: TCP Data received {"connection_id":146222,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc3ba7b0012d181dc00721a748004f01382a..."} 
[2026-08-01 13:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc3ba7b0012d181dc00721a748004f01382a..."} 
[2026-08-01 13:03:06] local.INFO: Processing buffer {"connection_id":146222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc3ba7b0012d181dc00721a748004f01382a..."} 
[2026-08-01 13:03:06] local.INFO: Packet analysis {"connection_id":146222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc3b"} 
[2026-08-01 13:03:06] local.INFO: Extracted packet for processing {"connection_id":146222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc3b"} 
[2026-08-01 13:03:06] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119646024,"longitude_deg":75.65552,"latitude_deg":11.9646024,"altitude":79,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721a748","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105774848001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10144613968904192,"note":"Value kept but may cause issues"} 
[2026-08-01 13:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749305964544,"note":"Value kept but may cause issues"} 
[2026-08-01 13:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785569454000,"timestamp_ms":1785569454000,"timestamp_seconds":1785569454,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc3ba7b0"} 
[2026-08-01 13:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:03:06] 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-08-01 13: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-01 13:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13: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-08-01 13:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:03:06] 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-08-01 13:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105774848001,"66":14494,"105":206,"83":41984,"24":0,"16":10144613968904192,"45":1738248749305964544},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 13:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105774848001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:03:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 13:03:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10144613968904192,"km_value":10144613968904.191,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749305964544,"description":"Unknown IO ID 45"} 
[2026-08-01 13:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105774848001,"power":14494,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749305964544}} 
[2026-08-01 13:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":146222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577206,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:03:06] local.INFO: GPS data processed {"connection_id":146222,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:03:06] local.INFO: Acknowledgment sent {"connection_id":146222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:03:37] local.INFO: TCP Data received {"connection_id":146222,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc3bda78012d181d000721a758004e01482a..."} 
[2026-08-01 13:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc3bda78012d181d000721a758004e01482a..."} 
[2026-08-01 13:03:37] local.INFO: Processing buffer {"connection_id":146222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc3bda78012d181d000721a758004e01482a..."} 
[2026-08-01 13:03:37] local.INFO: Packet analysis {"connection_id":146222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc3b"} 
[2026-08-01 13:03:37] local.INFO: Extracted packet for processing {"connection_id":146222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc3b"} 
[2026-08-01 13:03:37] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119646040,"longitude_deg":75.6555008,"latitude_deg":11.964604,"altitude":78,"angle":328,"satellites":42,"speed":2,"hex_longitude":"2d181d00","hex_latitude":"0721a758","is_valid_coordinates":true} 
[2026-08-01 13:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105780224001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10144622558838784,"note":"Value kept but may cause issues"} 
[2026-08-01 13:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168096794624,"note":"Value kept but may cause issues"} 
[2026-08-01 13:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785569467000,"timestamp_ms":1785569467000,"timestamp_seconds":1785569467,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc3bda78"} 
[2026-08-01 13:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-08-01 13:03:37] 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-08-01 13:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:03:37] 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-08-01 13:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105780224001,"66":13135,"105":206,"83":41984,"24":2,"16":10144622558838784,"45":1737756168096794624},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 13:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105780224001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:03:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 13:03:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10144622558838784,"km_value":10144622558838.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168096794624,"description":"Unknown IO ID 45"} 
[2026-08-01 13:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105780224001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1737756168096794624}} 
[2026-08-01 13:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":146222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:03:37] local.INFO: GPS data processed {"connection_id":146222,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:03:37] local.INFO: Acknowledgment sent {"connection_id":146222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:04:00] local.INFO: TCP Data received {"connection_id":148548,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:04:00] local.INFO: Processing buffer {"connection_id":148548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:04:00] local.INFO: IMEI packet received {"connection_id":148548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 13:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":148548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:04:04] local.INFO: TCP Data received {"connection_id":148548,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:04:04] local.INFO: Processing buffer {"connection_id":148548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:04:04] local.INFO: IMEI packet received {"connection_id":148548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":148548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:04:05] local.INFO: TCP Data received {"connection_id":148548,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:04:05] local.INFO: Processing buffer {"connection_id":148548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:04:05] local.INFO: IMEI packet received {"connection_id":148548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":148548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:04:06] local.INFO: TCP Data received {"connection_id":148548,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc3be248012d181c800721a878004f01622a..."} 
[2026-08-01 13:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc3be248012d181c800721a878004f01622a..."} 
[2026-08-01 13:04:06] local.INFO: Processing buffer {"connection_id":148548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc3be248012d181c800721a878004f01622a..."} 
[2026-08-01 13:04:06] local.INFO: Packet analysis {"connection_id":148548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc3b"} 
[2026-08-01 13:04:06] local.INFO: Extracted packet for processing {"connection_id":148548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc3b"} 
[2026-08-01 13:04:06] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119646328,"longitude_deg":75.655488,"latitude_deg":11.9646328,"altitude":79,"angle":354,"satellites":42,"speed":9,"hex_longitude":"2d181c80","hex_latitude":"0721a878","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105783552001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10144639738707968,"note":"Value kept but may cause issues"} 
[2026-08-01 13:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864265728,"note":"Value kept but may cause issues"} 
[2026-08-01 13:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785569469000,"timestamp_ms":1785569469000,"timestamp_seconds":1785569469,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc3be248"} 
[2026-08-01 13:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:04:06] 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-08-01 13: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-01 13:04:06] 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-08-01 13: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-08-01 13:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:04:06] 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-08-01 13:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105783552001,"66":13048,"105":206,"83":41984,"24":9,"16":10144639738707968,"45":1737545061864265728},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 13:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105783552001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:04:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 13:04:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10144639738707968,"km_value":10144639738707.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864265728,"description":"Unknown IO ID 45"} 
[2026-08-01 13:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105783552001,"power":13048,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1737545061864265728}} 
[2026-08-01 13:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":148548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:04:06] local.INFO: GPS data processed {"connection_id":148548,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:04:06] local.INFO: Acknowledgment sent {"connection_id":148548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:04:37] local.INFO: TCP Data received {"connection_id":148548,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc3be630012d181c800721a970004e00042a..."} 
[2026-08-01 13:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc3be630012d181c800721a970004e00042a..."} 
[2026-08-01 13:04:37] local.INFO: Processing buffer {"connection_id":148548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc3be630012d181c800721a970004e00042a..."} 
[2026-08-01 13:04:37] local.INFO: Packet analysis {"connection_id":148548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc3b"} 
[2026-08-01 13:04:37] local.INFO: Extracted packet for processing {"connection_id":148548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc3b"} 
[2026-08-01 13:04:37] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119646576,"longitude_deg":75.655488,"latitude_deg":11.9646576,"altitude":78,"angle":4,"satellites":42,"speed":9,"hex_longitude":"2d181c80","hex_latitude":"0721a970","is_valid_coordinates":true} 
[2026-08-01 13:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105784064001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10144652623609856,"note":"Value kept but may cause issues"} 
[2026-08-01 13:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324375984128,"note":"Value kept but may cause issues"} 
[2026-08-01 13:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785569470000,"timestamp_ms":1785569470000,"timestamp_seconds":1785569470,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc3be630"} 
[2026-08-01 13:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-01 13:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:04:37] 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-08-01 13:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105784064001,"66":13048,"105":206,"83":41984,"24":9,"16":10144652623609856,"45":1737404324375984128},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 13:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105784064001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:04:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 13:04:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10144652623609856,"km_value":10144652623609.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324375984128,"description":"Unknown IO ID 45"} 
[2026-08-01 13:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105784064001,"power":13048,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1737404324375984128}} 
[2026-08-01 13:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":148548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577209,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:04:37] local.INFO: GPS data processed {"connection_id":148548,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:04:37] local.INFO: Acknowledgment sent {"connection_id":148548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:05:00] local.INFO: TCP Data received {"connection_id":146223,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146223,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:05:00] local.INFO: Processing buffer {"connection_id":146223,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:05:00] local.INFO: IMEI packet received {"connection_id":146223,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 13:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":146223,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:05:04] local.INFO: TCP Data received {"connection_id":146007,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:05:04] local.INFO: Processing buffer {"connection_id":146007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:05:04] local.INFO: IMEI packet received {"connection_id":146007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":146007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:05:05] local.INFO: TCP Data received {"connection_id":146223,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146223,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:05:05] local.INFO: Processing buffer {"connection_id":146223,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:05:05] local.INFO: IMEI packet received {"connection_id":146223,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":146223,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:05:06] local.INFO: TCP Data received {"connection_id":146007,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:05:06] local.INFO: Processing buffer {"connection_id":146007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:05:06] local.INFO: IMEI packet received {"connection_id":146007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":146007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:05:06] local.INFO: TCP Data received {"connection_id":146223,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc3bea18012d181cc00721aa70004e00162a..."} 
[2026-08-01 13:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc3bea18012d181cc00721aa70004e00162a..."} 
[2026-08-01 13:05:06] local.INFO: Processing buffer {"connection_id":146223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc3bea18012d181cc00721aa70004e00162a..."} 
[2026-08-01 13:05:06] local.INFO: Packet analysis {"connection_id":146223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc3b"} 
[2026-08-01 13:05:06] local.INFO: Extracted packet for processing {"connection_id":146223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc3b"} 
[2026-08-01 13:05:06] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119646832,"longitude_deg":75.6554944,"latitude_deg":11.9646832,"altitude":78,"angle":22,"satellites":42,"speed":11,"hex_longitude":"2d181cc0","hex_latitude":"0721aa70","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105784320001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10144665508511744,"note":"Value kept but may cause issues"} 
[2026-08-01 13:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324376047616,"note":"Value kept but may cause issues"} 
[2026-08-01 13:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785569471000,"timestamp_ms":1785569471000,"timestamp_seconds":1785569471,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc3bea18"} 
[2026-08-01 13:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:05:06] 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-08-01 13: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-08-01 13: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-08-01 13: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-08-01 13:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:05:06] 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-08-01 13:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105784320001,"66":13222,"105":206,"83":41984,"24":11,"16":10144665508511744,"45":1737404324376047616},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 13:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105784320001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:05:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 13:05:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10144665508511744,"km_value":10144665508511.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324376047616,"description":"Unknown IO ID 45"} 
[2026-08-01 13:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105784320001,"power":13222,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1737404324376047616}} 
[2026-08-01 13:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":146223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:05:06] local.INFO: GPS data processed {"connection_id":146223,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:05:06] local.INFO: Acknowledgment sent {"connection_id":146223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:05:09] local.INFO: TCP Data received {"connection_id":146007,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:05:09] local.INFO: Processing buffer {"connection_id":146007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:05:09] local.INFO: IMEI packet received {"connection_id":146007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":146007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:05:11] local.INFO: TCP Data received {"connection_id":146007,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc3c7aa0012d0c71c006ebad68001201522a..."} 
[2026-08-01 13:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc3c7aa0012d0c71c006ebad68001201522a..."} 
[2026-08-01 13:05:11] local.INFO: Processing buffer {"connection_id":146007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc3c7aa0012d0c71c006ebad68001201522a..."} 
[2026-08-01 13:05:11] local.INFO: Packet analysis {"connection_id":146007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc3c"} 
[2026-08-01 13:05:11] local.INFO: Extracted packet for processing {"connection_id":146007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc3c"} 
[2026-08-01 13:05:11] local.INFO: GPS Element Parsed {"raw_longitude":755790272,"raw_latitude":116108648,"longitude_deg":75.5790272,"latitude_deg":11.6108648,"altitude":18,"angle":338,"satellites":42,"speed":27,"hex_longitude":"2d0c71c0","hex_latitude":"06ebad68","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105789696001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366416351650119680,"note":"Value kept but may cause issues"} 
[2026-08-01 13:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":901142167660836864,"note":"Value kept but may cause issues"} 
[2026-08-01 13:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785569508000,"timestamp_ms":1785569508000,"timestamp_seconds":1785569508,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc3c7aa0"} 
[2026-08-01 13:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:05:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 13:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13: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-08-01 13:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105789696001,"66":27876,"50":206,"80":6400,"24":27,"16":366416351650119680,"45":901142167660836864},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,80,24,16,45]} 
[2026-08-01 13:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105789696001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:05:11] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-01 13:05:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 13:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366416351650119680,"km_value":366416351650119.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":901142167660836864,"description":"Unknown IO ID 45"} 
[2026-08-01 13:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105789696001,"power":27876,"unknown_50":206,"unknown_80":6400,"ignition":27,"odometer":null,"unknown_45":901142167660836864}} 
[2026-08-01 13:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":146007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:05:11] local.INFO: GPS data processed {"connection_id":146007,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:05:11] local.INFO: Acknowledgment sent {"connection_id":146007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:05:37] local.INFO: TCP Data received {"connection_id":146223,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc3e9998012d181f800721b0d0004c01652a..."} 
[2026-08-01 13:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc3e9998012d181f800721b0d0004c01652a..."} 
[2026-08-01 13:05:37] local.INFO: Processing buffer {"connection_id":146223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc3e9998012d181f800721b0d0004c01652a..."} 
[2026-08-01 13:05:37] local.INFO: Packet analysis {"connection_id":146223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc3e"} 
[2026-08-01 13:05:37] local.INFO: Extracted packet for processing {"connection_id":146223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc3e"} 
[2026-08-01 13:05:37] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648464,"longitude_deg":75.6555648,"latitude_deg":11.9648464,"altitude":76,"angle":357,"satellites":42,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b0d0","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105824256001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10144833012236288,"note":"Value kept but may cause issues"} 
[2026-08-01 13:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306662912,"note":"Value kept but may cause issues"} 
[2026-08-01 13:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785569647000,"timestamp_ms":1785569647000,"timestamp_seconds":1785569647,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc3e9998"} 
[2026-08-01 13:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-01 13:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13: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-08-01 13:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:05:37] 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-08-01 13:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105824256001,"66":13004,"105":206,"83":41984,"24":0,"16":10144833012236288,"45":1738248749306662912},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 13:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105824256001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:05:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 13:05:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10144833012236288,"km_value":10144833012236.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306662912,"description":"Unknown IO ID 45"} 
[2026-08-01 13:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105824256001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306662912}} 
[2026-08-01 13:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":146223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:05:38] local.INFO: GPS data processed {"connection_id":146223,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:05:38] local.INFO: Acknowledgment sent {"connection_id":146223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:05:51] local.INFO: TCP Data received {"connection_id":146008,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:05:51] local.INFO: Processing buffer {"connection_id":146008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:05:51] local.INFO: IMEI packet received {"connection_id":146008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":146008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:05:55] local.INFO: TCP Data received {"connection_id":146008,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:05:55] local.INFO: Processing buffer {"connection_id":146008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:05:55] local.INFO: IMEI packet received {"connection_id":146008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":146008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:05:58] local.INFO: TCP Data received {"connection_id":146008,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc3c9210012d0c6d4006ebbe280012015d2c..."} 
[2026-08-01 13:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc3c9210012d0c6d4006ebbe280012015d2c..."} 
[2026-08-01 13:05:58] local.INFO: Processing buffer {"connection_id":146008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc3c9210012d0c6d4006ebbe280012015d2c..."} 
[2026-08-01 13:05:58] local.INFO: Packet analysis {"connection_id":146008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc3c"} 
[2026-08-01 13:05:58] local.INFO: Extracted packet for processing {"connection_id":146008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc3c"} 
[2026-08-01 13:05:58] local.INFO: GPS Element Parsed {"raw_longitude":755789120,"raw_latitude":116112936,"longitude_deg":75.578912,"latitude_deg":11.6112936,"altitude":18,"angle":349,"satellites":44,"speed":31,"hex_longitude":"2d0c6d40","hex_latitude":"06ebbe28","is_valid_coordinates":true} 
[2026-08-01 13:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105794048001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:05:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366416566398484480,"note":"Value kept but may cause issues"} 
[2026-08-01 13:05:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":896708936779786240,"note":"Value kept but may cause issues"} 
[2026-08-01 13:05:58] 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-08-01 13:05:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785569514000,"timestamp_ms":1785569514000,"timestamp_seconds":1785569514,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc3c9210"} 
[2026-08-01 13:05:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:05: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-08-01 13:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 13:05: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-08-01 13:05:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:05:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:05:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":146008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":146008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":146008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:05:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105794048001,"66":27930,"50":206,"80":6400,"24":31,"16":366416566398484480,"45":896708936779786240},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,80,24,16,45]} 
[2026-08-01 13:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105794048001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:05:58] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-01 13:05:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 13:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366416566398484480,"km_value":366416566398484.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:05:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":896708936779786240,"description":"Unknown IO ID 45"} 
[2026-08-01 13:05:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105794048001,"power":27930,"unknown_50":206,"unknown_80":6400,"ignition":31,"odometer":null,"unknown_45":896708936779786240}} 
[2026-08-01 13:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":146008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:05:58] local.INFO: GPS data processed {"connection_id":146008,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:05:58] local.INFO: Acknowledgment sent {"connection_id":146008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:06:01] local.INFO: TCP Data received {"connection_id":146008,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc3cbd08012d0c68c006ebe210001001632c..."} 
[2026-08-01 13:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc3cbd08012d0c68c006ebe210001001632c..."} 
[2026-08-01 13:06:01] local.INFO: Processing buffer {"connection_id":146008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc3cbd08012d0c68c006ebe210001001632c..."} 
[2026-08-01 13:06:01] local.INFO: Packet analysis {"connection_id":146008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc3c"} 
[2026-08-01 13:06:01] local.INFO: Extracted packet for processing {"connection_id":146008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc3c"} 
[2026-08-01 13:06:01] local.INFO: GPS Element Parsed {"raw_longitude":755787968,"raw_latitude":116122128,"longitude_deg":75.5787968,"latitude_deg":11.6122128,"altitude":16,"angle":355,"satellites":44,"speed":34,"hex_longitude":"2d0c68c0","hex_latitude":"06ebe210","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105795584001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366417013075083264,"note":"Value kept but may cause issues"} 
[2026-08-01 13:06:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895442299385686016,"note":"Value kept but may cause issues"} 
[2026-08-01 13:06:01] 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-08-01 13:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785569525000,"timestamp_ms":1785569525000,"timestamp_seconds":1785569525,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc3cbd08"} 
[2026-08-01 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-08-01 13:06:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-01 13:06: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-08-01 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-08-01 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-08-01 13:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":146008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":146008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":146008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:06:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105795584001,"66":28028,"50":206,"80":6400,"24":34,"16":366417013075083264,"45":895442299385686016},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,80,24,16,45]} 
[2026-08-01 13:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105795584001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:06:01] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-01 13:06:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-01 13:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366417013075083264,"km_value":366417013075083.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:06:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":895442299385686016,"description":"Unknown IO ID 45"} 
[2026-08-01 13:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105795584001,"power":28028,"unknown_50":206,"unknown_80":6400,"ignition":34,"odometer":null,"unknown_45":895442299385686016}} 
[2026-08-01 13:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":146008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:06:01] local.INFO: GPS data processed {"connection_id":146008,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:06:01] local.INFO: Acknowledgment sent {"connection_id":146008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:06:05] local.INFO: TCP Data received {"connection_id":146009,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146009,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:06:05] local.INFO: Processing buffer {"connection_id":146009,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:06:05] local.INFO: IMEI packet received {"connection_id":146009,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 13:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":146009,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:06:10] local.INFO: TCP Data received {"connection_id":146009,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146009,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:06:10] local.INFO: Processing buffer {"connection_id":146009,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:06:10] local.INFO: IMEI packet received {"connection_id":146009,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":146009,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:06:10] local.INFO: TCP Data received {"connection_id":146009,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc3eeba0012d181f800721b0d0004c016529..."} 
[2026-08-01 13:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc3eeba0012d181f800721b0d0004c016529..."} 
[2026-08-01 13:06:10] local.INFO: Processing buffer {"connection_id":146009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc3eeba0012d181f800721b0d0004c016529..."} 
[2026-08-01 13:06:10] local.INFO: Packet analysis {"connection_id":146009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc3e"} 
[2026-08-01 13:06:10] local.INFO: Extracted packet for processing {"connection_id":146009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc3e"} 
[2026-08-01 13:06:10] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648464,"longitude_deg":75.6555648,"latitude_deg":11.9648464,"altitude":76,"angle":357,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b0d0","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105829632001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10144833012236288,"note":"Value kept but may cause issues"} 
[2026-08-01 13:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306662912,"note":"Value kept but may cause issues"} 
[2026-08-01 13:06: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-08-01 13:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785569668000,"timestamp_ms":1785569668000,"timestamp_seconds":1785569668,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc3eeba0"} 
[2026-08-01 13:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-01 13:06:10] 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-08-01 13: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-08-01 13:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:06: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-08-01 13:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105829632001,"66":12993,"105":206,"83":41984,"24":0,"16":10144833012236288,"45":1738248749306662912},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 13:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105829632001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:06:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 13:06:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10144833012236288,"km_value":10144833012236.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306662912,"description":"Unknown IO ID 45"} 
[2026-08-01 13:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105829632001,"power":12993,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306662912}} 
[2026-08-01 13:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":146009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:06:10] local.INFO: GPS data processed {"connection_id":146009,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:06:10] local.INFO: Acknowledgment sent {"connection_id":146009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:06:11] local.INFO: TCP Data received {"connection_id":146009,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc3f3da8012d181f800721b0d0004c016529..."} 
[2026-08-01 13:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc3f3da8012d181f800721b0d0004c016529..."} 
[2026-08-01 13:06:11] local.INFO: Processing buffer {"connection_id":146009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc3f3da8012d181f800721b0d0004c016529..."} 
[2026-08-01 13:06:11] local.INFO: Packet analysis {"connection_id":146009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc3f"} 
[2026-08-01 13:06:11] local.INFO: Extracted packet for processing {"connection_id":146009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc3f"} 
[2026-08-01 13:06:11] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648464,"longitude_deg":75.6555648,"latitude_deg":11.9648464,"altitude":76,"angle":357,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b0d0","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105835008001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10144833012236288,"note":"Value kept but may cause issues"} 
[2026-08-01 13:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306662912,"note":"Value kept but may cause issues"} 
[2026-08-01 13: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-08-01 13:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785569689000,"timestamp_ms":1785569689000,"timestamp_seconds":1785569689,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc3f3da8"} 
[2026-08-01 13:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-01 13:06:11] 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-08-01 13: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-08-01 13:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:06: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-08-01 13:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105835008001,"66":12950,"105":206,"83":41984,"24":0,"16":10144833012236288,"45":1738248749306662912},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 13:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105835008001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:06:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 13:06:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10144833012236288,"km_value":10144833012236.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306662912,"description":"Unknown IO ID 45"} 
[2026-08-01 13:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105835008001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306662912}} 
[2026-08-01 13:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":146009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:06:11] local.INFO: GPS data processed {"connection_id":146009,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:06:11] local.INFO: Acknowledgment sent {"connection_id":146009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:06:42] local.INFO: TCP Data received {"connection_id":146009,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc3f8fb0012d181f800721b0d0004c016529..."} 
[2026-08-01 13:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc3f8fb0012d181f800721b0d0004c016529..."} 
[2026-08-01 13:06:42] local.INFO: Processing buffer {"connection_id":146009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc3f8fb0012d181f800721b0d0004c016529..."} 
[2026-08-01 13:06:42] local.INFO: Packet analysis {"connection_id":146009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc3f"} 
[2026-08-01 13:06:42] local.INFO: Extracted packet for processing {"connection_id":146009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc3f"} 
[2026-08-01 13:06:42] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648464,"longitude_deg":75.6555648,"latitude_deg":11.9648464,"altitude":76,"angle":357,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b0d0","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105840384001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10144833012236288,"note":"Value kept but may cause issues"} 
[2026-08-01 13:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306662912,"note":"Value kept but may cause issues"} 
[2026-08-01 13: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-08-01 13:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785569710000,"timestamp_ms":1785569710000,"timestamp_seconds":1785569710,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc3f8fb0"} 
[2026-08-01 13:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:06: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-08-01 13: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-01 13:06:42] 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-08-01 13: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-08-01 13:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":146009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":146009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":146009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:06: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-08-01 13:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105840384001,"66":12885,"105":206,"83":41984,"24":0,"16":10144833012236288,"45":1738248749306662912},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 13:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105840384001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:06:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 13:06:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10144833012236288,"km_value":10144833012236.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306662912,"description":"Unknown IO ID 45"} 
[2026-08-01 13:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105840384001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306662912}} 
[2026-08-01 13:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":146009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:06:42] local.INFO: GPS data processed {"connection_id":146009,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:06:42] local.INFO: Acknowledgment sent {"connection_id":146009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:06:44] local.INFO: TCP Data received {"connection_id":148549,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:06:44] local.INFO: Processing buffer {"connection_id":148549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:06:44] local.INFO: IMEI packet received {"connection_id":148549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":148549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:06:45] local.INFO: TCP Data received {"connection_id":148549,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:06:45] local.INFO: Processing buffer {"connection_id":148549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:06:45] local.INFO: IMEI packet received {"connection_id":148549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":148549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:06:47] local.INFO: TCP Data received {"connection_id":148549,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:06:47] local.INFO: Processing buffer {"connection_id":148549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:06:47] local.INFO: IMEI packet received {"connection_id":148549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:06:47] local.INFO: IMEI acknowledgment sent {"connection_id":148549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:06:48] local.INFO: TCP Data received {"connection_id":148549,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc3fc660012d0c454006ec74700011000929..."} 
[2026-08-01 13:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc3fc660012d0c454006ec74700011000929..."} 
[2026-08-01 13:06:48] local.INFO: Processing buffer {"connection_id":148549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc3fc660012d0c454006ec74700011000929..."} 
[2026-08-01 13:06:48] local.INFO: Packet analysis {"connection_id":148549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc3f"} 
[2026-08-01 13:06:48] local.INFO: Extracted packet for processing {"connection_id":148549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc3f"} 
[2026-08-01 13:06:48] local.INFO: GPS Element Parsed {"raw_longitude":755778880,"raw_latitude":116159600,"longitude_deg":75.577888,"latitude_deg":11.61596,"altitude":17,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d0c4540","hex_latitude":"06ec7470","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:06:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105843968001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:06:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366418928630497280,"note":"Value kept but may cause issues"} 
[2026-08-01 13:06:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884112931584876544,"note":"Value kept but may cause issues"} 
[2026-08-01 13:06:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:06:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785569724000,"timestamp_ms":1785569724000,"timestamp_seconds":1785569724,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc3fc660"} 
[2026-08-01 13:06:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:06:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-01 13:06:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13: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-08-01 13:06:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:06:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:06:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:06:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:06:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:06:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:06:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:06:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:06:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105843968001,"66":27767,"42":206,"2":56576,"24":0,"16":366418928630497280,"45":884112931584876544},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-08-01 13:06:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:06:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:06:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105843968001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:06:48] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-01 13:06:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366418928630497280,"km_value":366418928630497.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:06:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":884112931584876544,"description":"Unknown IO ID 45"} 
[2026-08-01 13:06:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105843968001,"power":27767,"unknown_42":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":884112931584876544}} 
[2026-08-01 13:06:48] local.INFO: DEBUG: GPS processor result {"connection_id":148549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:06:48] local.INFO: GPS data processed {"connection_id":148549,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:06:48] local.INFO: Acknowledgment sent {"connection_id":148549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:06:56] local.INFO: TCP Data received {"connection_id":146010,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:06:56] local.INFO: Processing buffer {"connection_id":146010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:06:56] local.INFO: IMEI packet received {"connection_id":146010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 13:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":146010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:06:57] local.INFO: TCP Data received {"connection_id":146010,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:06:57] local.INFO: Processing buffer {"connection_id":146010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:06:57] local.INFO: IMEI packet received {"connection_id":146010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":146010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:07:00] local.INFO: TCP Data received {"connection_id":146010,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:07:00] local.INFO: Processing buffer {"connection_id":146010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:07:00] local.INFO: IMEI packet received {"connection_id":146010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":146010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:07:05] local.INFO: TCP Data received {"connection_id":146010,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:07:05] local.INFO: Processing buffer {"connection_id":146010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:07:05] local.INFO: IMEI packet received {"connection_id":146010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":146010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:07:06] local.INFO: TCP Data received {"connection_id":146010,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc3fe1b8012d181f800721b0d0004c01652a..."} 
[2026-08-01 13:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc3fe1b8012d181f800721b0d0004c01652a..."} 
[2026-08-01 13:07:06] local.INFO: Processing buffer {"connection_id":146010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc3fe1b8012d181f800721b0d0004c01652a..."} 
[2026-08-01 13:07:06] local.INFO: Packet analysis {"connection_id":146010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc3f"} 
[2026-08-01 13:07:06] local.INFO: Extracted packet for processing {"connection_id":146010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc3f"} 
[2026-08-01 13:07:06] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648464,"longitude_deg":75.6555648,"latitude_deg":11.9648464,"altitude":76,"angle":357,"satellites":42,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b0d0","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105845760001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10144833012236288,"note":"Value kept but may cause issues"} 
[2026-08-01 13:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306662912,"note":"Value kept but may cause issues"} 
[2026-08-01 13:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785569731000,"timestamp_ms":1785569731000,"timestamp_seconds":1785569731,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc3fe1b8"} 
[2026-08-01 13:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:07:06] 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-08-01 13: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-01 13:07:06] 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-08-01 13: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-08-01 13:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:07:06] 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-08-01 13:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105845760001,"66":13863,"105":206,"83":41984,"24":0,"16":10144833012236288,"45":1738248749306662912},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 13:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105845760001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:07:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 13:07:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10144833012236288,"km_value":10144833012236.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306662912,"description":"Unknown IO ID 45"} 
[2026-08-01 13:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105845760001,"power":13863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306662912}} 
[2026-08-01 13:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":146010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:07:06] local.INFO: GPS data processed {"connection_id":146010,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:07:06] local.INFO: Acknowledgment sent {"connection_id":146010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:07:20] local.INFO: TCP Data received {"connection_id":148549,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc401868012d0c45c006ec7920000e00092b..."} 
[2026-08-01 13:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc401868012d0c45c006ec7920000e00092b..."} 
[2026-08-01 13:07:20] local.INFO: Processing buffer {"connection_id":148549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc401868012d0c45c006ec7920000e00092b..."} 
[2026-08-01 13:07:20] local.INFO: Packet analysis {"connection_id":148549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc40"} 
[2026-08-01 13:07:20] local.INFO: Extracted packet for processing {"connection_id":148549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc40"} 
[2026-08-01 13:07:20] local.INFO: GPS Element Parsed {"raw_longitude":755779008,"raw_latitude":116160800,"longitude_deg":75.5779008,"latitude_deg":11.61608,"altitude":14,"angle":9,"satellites":43,"speed":2,"hex_longitude":"2d0c45c0","hex_latitude":"06ec7920","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105849344001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366418988760039424,"note":"Value kept but may cause issues"} 
[2026-08-01 13:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884183300329205760,"note":"Value kept but may cause issues"} 
[2026-08-01 13:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785569745000,"timestamp_ms":1785569745000,"timestamp_seconds":1785569745,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc401868"} 
[2026-08-01 13:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:07: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-08-01 13: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":119,"data_length":795,"current_offset":136} 
[2026-08-01 13:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13: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-08-01 13:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:07:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105849344001,"66":27974,"158":206,"2":56576,"24":2,"16":366418988760039424,"45":884183300329205760},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-08-01 13:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105849344001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:07:20] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-01 13:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366418988760039424,"km_value":366418988760039.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":884183300329205760,"description":"Unknown IO ID 45"} 
[2026-08-01 13:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105849344001,"power":27974,"unknown_158":206,"power_alt":56576,"ignition":2,"odometer":null,"unknown_45":884183300329205760}} 
[2026-08-01 13:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":148549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:07:20] local.INFO: GPS data processed {"connection_id":148549,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:07:20] local.INFO: Acknowledgment sent {"connection_id":148549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:07:37] local.INFO: TCP Data received {"connection_id":146010,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc4033c0012d181f800721b0d0004c016529..."} 
[2026-08-01 13:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc4033c0012d181f800721b0d0004c016529..."} 
[2026-08-01 13:07:37] local.INFO: Processing buffer {"connection_id":146010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc4033c0012d181f800721b0d0004c016529..."} 
[2026-08-01 13:07:37] local.INFO: Packet analysis {"connection_id":146010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc40"} 
[2026-08-01 13:07:37] local.INFO: Extracted packet for processing {"connection_id":146010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc40"} 
[2026-08-01 13:07:37] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648464,"longitude_deg":75.6555648,"latitude_deg":11.9648464,"altitude":76,"angle":357,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b0d0","is_valid_coordinates":true} 
[2026-08-01 13:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105851136001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10144833012236288,"note":"Value kept but may cause issues"} 
[2026-08-01 13:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306662912,"note":"Value kept but may cause issues"} 
[2026-08-01 13:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785569752000,"timestamp_ms":1785569752000,"timestamp_seconds":1785569752,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc4033c0"} 
[2026-08-01 13:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-08-01 13:07:37] 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-08-01 13:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:07:37] 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-08-01 13:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105851136001,"66":14048,"105":206,"83":41984,"24":0,"16":10144833012236288,"45":1738248749306662912},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 13:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105851136001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:07:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 13:07:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10144833012236288,"km_value":10144833012236.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306662912,"description":"Unknown IO ID 45"} 
[2026-08-01 13:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105851136001,"power":14048,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306662912}} 
[2026-08-01 13:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":146010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:07:38] local.INFO: GPS data processed {"connection_id":146010,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:07:38] local.INFO: Acknowledgment sent {"connection_id":146010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:07:44] local.INFO: TCP Data received {"connection_id":146224,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:07:44] local.INFO: Processing buffer {"connection_id":146224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:07:44] local.INFO: IMEI packet received {"connection_id":146224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":146224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:07:49] local.INFO: TCP Data received {"connection_id":146224,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:07:49] local.INFO: Processing buffer {"connection_id":146224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:07:49] local.INFO: IMEI packet received {"connection_id":146224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":146224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:07:50] local.INFO: TCP Data received {"connection_id":146224,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc406a70012d0c47c006ec86b8000c000528..."} 
[2026-08-01 13:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc406a70012d0c47c006ec86b8000c000528..."} 
[2026-08-01 13:07:50] local.INFO: Processing buffer {"connection_id":146224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc406a70012d0c47c006ec86b8000c000528..."} 
[2026-08-01 13:07:50] local.INFO: Packet analysis {"connection_id":146224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc40"} 
[2026-08-01 13:07:50] local.INFO: Extracted packet for processing {"connection_id":146224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc40"} 
[2026-08-01 13:07:50] local.INFO: GPS Element Parsed {"raw_longitude":755779520,"raw_latitude":116164280,"longitude_deg":75.577952,"latitude_deg":11.616428,"altitude":12,"angle":5,"satellites":40,"speed":8,"hex_longitude":"2d0c47c0","hex_latitude":"06ec86b8","is_valid_coordinates":true} 
[2026-08-01 13:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:07:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105854720001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:07:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366419164853698560,"note":"Value kept but may cause issues"} 
[2026-08-01 13:07:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884324037817868288,"note":"Value kept but may cause issues"} 
[2026-08-01 13:07:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:07:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785569766000,"timestamp_ms":1785569766000,"timestamp_seconds":1785569766,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc406a70"} 
[2026-08-01 13:07:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:07:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-01 13:07:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:07:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:07:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:07:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:07:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:07:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:07:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:07:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:07:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:07:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:07:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105854720001,"66":27887,"158":206,"2":56576,"24":8,"16":366419164853698560,"45":884324037817868288},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-08-01 13:07:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:07:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:07:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105854720001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:07:50] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-01 13:07:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366419164853698560,"km_value":366419164853698.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:07:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":884324037817868288,"description":"Unknown IO ID 45"} 
[2026-08-01 13:07:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105854720001,"power":27887,"unknown_158":206,"power_alt":56576,"ignition":8,"odometer":null,"unknown_45":884324037817868288}} 
[2026-08-01 13:07:50] local.INFO: DEBUG: GPS processor result {"connection_id":146224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:07:50] local.INFO: GPS data processed {"connection_id":146224,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:07:50] local.INFO: Acknowledgment sent {"connection_id":146224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:08:00] local.INFO: TCP Data received {"connection_id":148550,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:08:00] local.INFO: Processing buffer {"connection_id":148550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:08:00] local.INFO: IMEI packet received {"connection_id":148550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 13:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":148550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:08:01] local.INFO: TCP Data received {"connection_id":148550,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:08:01] local.INFO: Processing buffer {"connection_id":148550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:08:01] local.INFO: IMEI packet received {"connection_id":148550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":148550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:08:06] local.INFO: TCP Data received {"connection_id":148550,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:08:06] local.INFO: Processing buffer {"connection_id":148550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:08:06] local.INFO: IMEI packet received {"connection_id":148550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":148550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:08:06] local.INFO: TCP Data received {"connection_id":148550,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc4056e8012d181dc00721aee8004a00c72a..."} 
[2026-08-01 13:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc4056e8012d181dc00721aee8004a00c72a..."} 
[2026-08-01 13:08:06] local.INFO: Processing buffer {"connection_id":148550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc4056e8012d181dc00721aee8004a00c72a..."} 
[2026-08-01 13:08:06] local.INFO: Packet analysis {"connection_id":148550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc40"} 
[2026-08-01 13:08:06] local.INFO: Extracted packet for processing {"connection_id":148550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc40"} 
[2026-08-01 13:08:06] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647976,"longitude_deg":75.65552,"latitude_deg":11.9647976,"altitude":74,"angle":199,"satellites":42,"speed":1,"hex_longitude":"2d181dc0","hex_latitude":"0721aee8","is_valid_coordinates":true} 
[2026-08-01 13:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105856512001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10144867371974656,"note":"Value kept but may cause issues"} 
[2026-08-01 13:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306662912,"note":"Value kept but may cause issues"} 
[2026-08-01 13:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785569761000,"timestamp_ms":1785569761000,"timestamp_seconds":1785569761,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc4056e8"} 
[2026-08-01 13:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:08:06] 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-08-01 13:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-01 13:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:08:06] 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-08-01 13:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105856512001,"66":13678,"105":206,"83":41984,"24":1,"16":10144867371974656,"45":1738248749306662912},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 13:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105856512001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:08:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 13:08:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10144867371974656,"km_value":10144867371974.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306662912,"description":"Unknown IO ID 45"} 
[2026-08-01 13:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105856512001,"power":13678,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1738248749306662912}} 
[2026-08-01 13:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":148550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:08:06] local.INFO: GPS data processed {"connection_id":148550,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:08:06] local.INFO: Acknowledgment sent {"connection_id":148550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:08:21] local.INFO: TCP Data received {"connection_id":146224,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc407628012d0c47c006ec8908000c01612a..."} 
[2026-08-01 13:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc407628012d0c47c006ec8908000c01612a..."} 
[2026-08-01 13:08:21] local.INFO: Processing buffer {"connection_id":146224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc407628012d0c47c006ec8908000c01612a..."} 
[2026-08-01 13:08:21] local.INFO: Packet analysis {"connection_id":146224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc40"} 
[2026-08-01 13:08:21] local.INFO: Extracted packet for processing {"connection_id":146224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc40"} 
[2026-08-01 13:08:21] local.INFO: GPS Element Parsed {"raw_longitude":755779520,"raw_latitude":116164872,"longitude_deg":75.577952,"latitude_deg":11.6164872,"altitude":12,"angle":353,"satellites":42,"speed":6,"hex_longitude":"2d0c47c0","hex_latitude":"06ec8908","is_valid_coordinates":true} 
[2026-08-01 13:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105860096001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366419190623502336,"note":"Value kept but may cause issues"} 
[2026-08-01 13:08:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884886987772180480,"note":"Value kept but may cause issues"} 
[2026-08-01 13:08:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785569769000,"timestamp_ms":1785569769000,"timestamp_seconds":1785569769,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc407628"} 
[2026-08-01 13:08:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:08:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-01 13:08:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:08:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:08:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:08:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105860096001,"66":27821,"158":206,"2":56576,"24":6,"16":366419190623502336,"45":884886987772180480},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-08-01 13:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105860096001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:08:21] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-01 13:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366419190623502336,"km_value":366419190623502.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:08:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":884886987772180480,"description":"Unknown IO ID 45"} 
[2026-08-01 13:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105860096001,"power":27821,"unknown_158":206,"power_alt":56576,"ignition":6,"odometer":null,"unknown_45":884886987772180480}} 
[2026-08-01 13:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":146224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:08:21] local.INFO: GPS data processed {"connection_id":146224,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:08:21] local.INFO: Acknowledgment sent {"connection_id":146224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:08:37] local.INFO: TCP Data received {"connection_id":148550,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc420880012d18a9c0072174b0004e007327..."} 
[2026-08-01 13:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc420880012d18a9c0072174b0004e007327..."} 
[2026-08-01 13:08:37] local.INFO: Processing buffer {"connection_id":148550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc420880012d18a9c0072174b0004e007327..."} 
[2026-08-01 13:08:37] local.INFO: Packet analysis {"connection_id":148550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc42"} 
[2026-08-01 13:08:37] local.INFO: Extracted packet for processing {"connection_id":148550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc42"} 
[2026-08-01 13:08:37] local.INFO: GPS Element Parsed {"raw_longitude":756591040,"raw_latitude":119633072,"longitude_deg":75.659104,"latitude_deg":11.9633072,"altitude":78,"angle":115,"satellites":39,"speed":27,"hex_longitude":"2d18a9c0","hex_latitude":"072174b0","is_valid_coordinates":true} 
[2026-08-01 13:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105883904001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10146812992159744,"note":"Value kept but may cause issues"} 
[2026-08-01 13:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1767311040648937472,"note":"Value kept but may cause issues"} 
[2026-08-01 13:08:37] 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-08-01 13:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785569872000,"timestamp_ms":1785569872000,"timestamp_seconds":1785569872,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc420880"} 
[2026-08-01 13:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-01 13:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446302976,"note":"Value kept but may cause issues"} 
[2026-08-01 13:08:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-01 13:08:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 13:08:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3158378160,"note":"Value kept but may cause issues"} 
[2026-08-01 13:08:37] local.WARNING: Large IO value detected {"io_id":11,"raw_value":2147483648,"note":"Value kept but may cause issues"} 
[2026-08-01 13:08:37] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2533883979,"note":"Value kept but may cause issues"} 
[2026-08-01 13:08:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-01 13:08:37] local.WARNING: Large IO value detected {"io_id":37,"raw_value":4026608920,"note":"Value kept but may cause issues"} 
[2026-08-01 13:08:37] local.WARNING: Large IO value detected {"io_id":38,"raw_value":2147951008,"note":"Value kept but may cause issues"} 
[2026-08-01 13:08:37] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,106,83,24,241,157,16,12,159,166,45,128,130,75,39,10,66,11,151,131,41,192,1,240,71,227,188,33,4,113,205,22,37,38,239,56,105,2,36,7,74],"length":479,"final_offset":609,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-01 13:08:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476492771698802688,"timestamp_seconds":5476492771698803.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 13:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:08:37] 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-08-01 13:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105883904001,"66":14189,"106":206,"83":41984,"24":27,"16":10146812992159744,"45":1767311040648937472},"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-08-01 13:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105883904001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:08:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-01 13:08:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10146812992159744,"km_value":10146812992159.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1767311040648937472,"description":"Unknown IO ID 45"} 
[2026-08-01 13:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105883904001,"power":14189,"unknown_106":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1767311040648937472}} 
[2026-08-01 13:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":148550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:08:38] local.INFO: GPS data processed {"connection_id":148550,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:08:38] local.INFO: Acknowledgment sent {"connection_id":148550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:08:44] local.INFO: TCP Data received {"connection_id":147232,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:08:44] local.INFO: Processing buffer {"connection_id":147232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:08:44] local.INFO: IMEI packet received {"connection_id":147232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":147232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:08:49] local.INFO: TCP Data received {"connection_id":147232,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:08:49] local.INFO: Processing buffer {"connection_id":147232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:08:49] local.INFO: IMEI packet received {"connection_id":147232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":147232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:08:52] local.INFO: TCP Data received {"connection_id":147232,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc40c830012d0c458006ec96c8000a01632c..."} 
[2026-08-01 13:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc40c830012d0c458006ec96c8000a01632c..."} 
[2026-08-01 13:08:52] local.INFO: Processing buffer {"connection_id":147232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc40c830012d0c458006ec96c8000a01632c..."} 
[2026-08-01 13:08:52] local.INFO: Packet analysis {"connection_id":147232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc40"} 
[2026-08-01 13:08:52] local.INFO: Extracted packet for processing {"connection_id":147232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc40"} 
[2026-08-01 13:08:52] local.INFO: GPS Element Parsed {"raw_longitude":755778944,"raw_latitude":116168392,"longitude_deg":75.5778944,"latitude_deg":11.6168392,"altitude":10,"angle":355,"satellites":44,"speed":8,"hex_longitude":"2d0c4580","hex_latitude":"06ec96c8","is_valid_coordinates":true} 
[2026-08-01 13:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105860864001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366419366717161472,"note":"Value kept but may cause issues"} 
[2026-08-01 13:08:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884886987772332032,"note":"Value kept but may cause issues"} 
[2026-08-01 13:08:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785569790000,"timestamp_ms":1785569790000,"timestamp_seconds":1785569790,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc40c830"} 
[2026-08-01 13:08:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:08: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-08-01 13:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 13:08:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:08:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:08:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":147232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":147232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":147232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:08:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105860864001,"66":27571,"158":206,"2":56576,"24":8,"16":366419366717161472,"45":884886987772332032},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-08-01 13:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105860864001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:08:52] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-01 13:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366419366717161472,"km_value":366419366717161.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:08:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":884886987772332032,"description":"Unknown IO ID 45"} 
[2026-08-01 13:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105860864001,"power":27571,"unknown_158":206,"power_alt":56576,"ignition":8,"odometer":null,"unknown_45":884886987772332032}} 
[2026-08-01 13:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":147232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:08:52] local.INFO: GPS data processed {"connection_id":147232,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:08:52] local.INFO: Acknowledgment sent {"connection_id":147232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:09:04] local.INFO: TCP Data received {"connection_id":148551,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:09:04] local.INFO: Processing buffer {"connection_id":148551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:09:04] local.INFO: IMEI packet received {"connection_id":148551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 13:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":148551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:09:04] local.INFO: TCP Data received {"connection_id":148551,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:09:04] local.INFO: Processing buffer {"connection_id":148551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:09:04] local.INFO: IMEI packet received {"connection_id":148551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":148551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:09:05] local.INFO: TCP Data received {"connection_id":148551,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc420c68012d18ac0007217350004d007e29..."} 
[2026-08-01 13:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc420c68012d18ac0007217350004d007e29..."} 
[2026-08-01 13:09:05] local.INFO: Processing buffer {"connection_id":148551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc420c68012d18ac0007217350004d007e29..."} 
[2026-08-01 13:09:05] local.INFO: Packet analysis {"connection_id":148551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc42"} 
[2026-08-01 13:09:05] local.INFO: Extracted packet for processing {"connection_id":148551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc42"} 
[2026-08-01 13:09:05] local.INFO: GPS Element Parsed {"raw_longitude":756591616,"raw_latitude":119632720,"longitude_deg":75.6591616,"latitude_deg":11.963272,"altitude":77,"angle":126,"satellites":41,"speed":26,"hex_longitude":"2d18ac00","hex_latitude":"07217350","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105887232001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10146843056930816,"note":"Value kept but may cause issues"} 
[2026-08-01 13:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777162664832970752,"note":"Value kept but may cause issues"} 
[2026-08-01 13:09:05] 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-08-01 13:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785569873000,"timestamp_ms":1785569873000,"timestamp_seconds":1785569873,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc420c68"} 
[2026-08-01 13:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-01 13:09:05] 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-08-01 13: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-08-01 13:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:09:05] 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-08-01 13:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105887232001,"66":14233,"106":206,"83":41984,"24":26,"16":10146843056930816,"45":1777162664832970752},"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-08-01 13:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105887232001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:09:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-01 13:09:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10146843056930816,"km_value":10146843056930.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777162664832970752,"description":"Unknown IO ID 45"} 
[2026-08-01 13:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105887232001,"power":14233,"unknown_106":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1777162664832970752}} 
[2026-08-01 13:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":148551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:09:05] local.INFO: GPS data processed {"connection_id":148551,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:09:05] local.INFO: Acknowledgment sent {"connection_id":148551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:09:05] local.INFO: TCP Data received {"connection_id":148551,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc421438012d18afc007216f88004c008a26..."} 
[2026-08-01 13:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc421438012d18afc007216f88004c008a26..."} 
[2026-08-01 13:09:05] local.INFO: Processing buffer {"connection_id":148551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc421438012d18afc007216f88004c008a26..."} 
[2026-08-01 13:09:05] local.INFO: Packet analysis {"connection_id":148551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc42"} 
[2026-08-01 13:09:05] local.INFO: Extracted packet for processing {"connection_id":148551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc42"} 
[2026-08-01 13:09:05] local.INFO: GPS Element Parsed {"raw_longitude":756592576,"raw_latitude":119631752,"longitude_deg":75.6592576,"latitude_deg":11.9631752,"altitude":76,"angle":138,"satellites":38,"speed":26,"hex_longitude":"2d18afc0","hex_latitude":"07216f88","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105887488001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10146907481440256,"note":"Value kept but may cause issues"} 
[2026-08-01 13:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777795983530479616,"note":"Value kept but may cause issues"} 
[2026-08-01 13:09:05] 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-08-01 13:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785569875000,"timestamp_ms":1785569875000,"timestamp_seconds":1785569875,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc421438"} 
[2026-08-01 13:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-01 13:09:05] 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-08-01 13: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-08-01 13:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:09:05] 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-08-01 13:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105887488001,"66":14102,"106":206,"83":41984,"24":26,"16":10146907481440256,"45":1777795983530479616},"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-08-01 13:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105887488001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:09:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-01 13:09:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10146907481440256,"km_value":10146907481440.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777795983530479616,"description":"Unknown IO ID 45"} 
[2026-08-01 13:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105887488001,"power":14102,"unknown_106":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1777795983530479616}} 
[2026-08-01 13:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":148551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577228,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:09:06] local.INFO: GPS data processed {"connection_id":148551,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:09:06] local.INFO: Acknowledgment sent {"connection_id":148551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:09:24] local.INFO: TCP Data received {"connection_id":147232,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc4106b0012d0c448006eca648000d01572c..."} 
[2026-08-01 13:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc4106b0012d0c448006eca648000d01572c..."} 
[2026-08-01 13:09:24] local.INFO: Processing buffer {"connection_id":147232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc4106b0012d0c448006eca648000d01572c..."} 
[2026-08-01 13:09:24] local.INFO: Packet analysis {"connection_id":147232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc41"} 
[2026-08-01 13:09:24] local.INFO: Extracted packet for processing {"connection_id":147232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc41"} 
[2026-08-01 13:09:24] local.INFO: GPS Element Parsed {"raw_longitude":755778688,"raw_latitude":116172360,"longitude_deg":75.5778688,"latitude_deg":11.617236,"altitude":13,"angle":343,"satellites":44,"speed":9,"hex_longitude":"2d0c4480","hex_latitude":"06eca648","is_valid_coordinates":true} 
[2026-08-01 13:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105866240001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366419559990689792,"note":"Value kept but may cause issues"} 
[2026-08-01 13:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884253669075634176,"note":"Value kept but may cause issues"} 
[2026-08-01 13:09:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785569806000,"timestamp_ms":1785569806000,"timestamp_seconds":1785569806,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc4106b0"} 
[2026-08-01 13:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:09: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-08-01 13:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-01 13:09:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:09:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":147232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":147232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":147232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:09:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105866240001,"66":27876,"158":206,"2":56576,"24":9,"16":366419559990689792,"45":884253669075634176},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-08-01 13:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105866240001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:09:24] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-01 13:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366419559990689792,"km_value":366419559990689.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":884253669075634176,"description":"Unknown IO ID 45"} 
[2026-08-01 13:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105866240001,"power":27876,"unknown_158":206,"power_alt":56576,"ignition":9,"odometer":null,"unknown_45":884253669075634176}} 
[2026-08-01 13:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":147232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:09:24] local.INFO: GPS data processed {"connection_id":147232,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:09:24] local.INFO: Acknowledgment sent {"connection_id":147232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:09:37] local.INFO: TCP Data received {"connection_id":148551,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc423f30012d18c280072154e80045009728..."} 
[2026-08-01 13:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc423f30012d18c280072154e80045009728..."} 
[2026-08-01 13:09:37] local.INFO: Processing buffer {"connection_id":148551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc423f30012d18c280072154e80045009728..."} 
[2026-08-01 13:09:37] local.INFO: Packet analysis {"connection_id":148551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc42"} 
[2026-08-01 13:09:37] local.INFO: Extracted packet for processing {"connection_id":148551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc42"} 
[2026-08-01 13:09:37] local.INFO: GPS Element Parsed {"raw_longitude":756597376,"raw_latitude":119624936,"longitude_deg":75.6597376,"latitude_deg":11.9624936,"altitude":69,"angle":151,"satellites":40,"speed":26,"hex_longitude":"2d18c280","hex_latitude":"072154e8","is_valid_coordinates":true} 
[2026-08-01 13:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105888000001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10147311208366080,"note":"Value kept but may cause issues"} 
[2026-08-01 13:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778851514692896768,"note":"Value kept but may cause issues"} 
[2026-08-01 13:09:37] 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-08-01 13:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785569886000,"timestamp_ms":1785569886000,"timestamp_seconds":1785569886,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc423f30"} 
[2026-08-01 13:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-01 13:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:09:37] 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-08-01 13:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105888000001,"66":14461,"106":206,"83":41984,"24":26,"16":10147311208366080,"45":1778851514692896768},"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-08-01 13:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105888000001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:09:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-01 13:09:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10147311208366080,"km_value":10147311208366.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778851514692896768,"description":"Unknown IO ID 45"} 
[2026-08-01 13:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105888000001,"power":14461,"unknown_106":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1778851514692896768}} 
[2026-08-01 13:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":148551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577230,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:09:37] local.INFO: GPS data processed {"connection_id":148551,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:09:37] local.INFO: Acknowledgment sent {"connection_id":148551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:09:49] local.INFO: TCP Data received {"connection_id":146011,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:09:49] local.INFO: Processing buffer {"connection_id":146011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:09:49] local.INFO: IMEI packet received {"connection_id":146011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":146011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:09:54] local.INFO: TCP Data received {"connection_id":146011,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:09:54] local.INFO: Processing buffer {"connection_id":146011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:09:54] local.INFO: IMEI packet received {"connection_id":146011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":146011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:09:57] local.INFO: TCP Data received {"connection_id":146011,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc411e20012d0c430006ecadc0000d01632b..."} 
[2026-08-01 13:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc411e20012d0c430006ecadc0000d01632b..."} 
[2026-08-01 13:09:57] local.INFO: Processing buffer {"connection_id":146011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc411e20012d0c430006ecadc0000d01632b..."} 
[2026-08-01 13:09:57] local.INFO: Packet analysis {"connection_id":146011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc41"} 
[2026-08-01 13:09:57] local.INFO: Extracted packet for processing {"connection_id":146011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc41"} 
[2026-08-01 13:09:57] local.INFO: GPS Element Parsed {"raw_longitude":755778304,"raw_latitude":116174272,"longitude_deg":75.5778304,"latitude_deg":11.6174272,"altitude":13,"angle":355,"satellites":43,"speed":16,"hex_longitude":"2d0c4300","hex_latitude":"06ecadc0","is_valid_coordinates":true} 
[2026-08-01 13:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105870336001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366419658774937600,"note":"Value kept but may cause issues"} 
[2026-08-01 13:09:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":883972194099939328,"note":"Value kept but may cause issues"} 
[2026-08-01 13:09:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785569812000,"timestamp_ms":1785569812000,"timestamp_seconds":1785569812,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc411e20"} 
[2026-08-01 13:09:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:09: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-08-01 13:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 13:09:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:09:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:09:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":146011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":146011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":146011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:09:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105870336001,"66":27876,"158":206,"2":56576,"24":16,"16":366419658774937600,"45":883972194099939328},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-08-01 13:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105870336001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:09:57] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-01 13:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366419658774937600,"km_value":366419658774937.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:09:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":883972194099939328,"description":"Unknown IO ID 45"} 
[2026-08-01 13:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105870336001,"power":27876,"unknown_158":206,"power_alt":56576,"ignition":16,"odometer":null,"unknown_45":883972194099939328}} 
[2026-08-01 13:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":146011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:09:57] local.INFO: GPS data processed {"connection_id":146011,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:09:57] local.INFO: Acknowledgment sent {"connection_id":146011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:09:59] local.INFO: TCP Data received {"connection_id":146011,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc4125f0012d0c430006ecb100000d00052a..."} 
[2026-08-01 13:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc4125f0012d0c430006ecb100000d00052a..."} 
[2026-08-01 13:09:59] local.INFO: Processing buffer {"connection_id":146011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc4125f0012d0c430006ecb100000d00052a..."} 
[2026-08-01 13:09:59] local.INFO: Packet analysis {"connection_id":146011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc41"} 
[2026-08-01 13:09:59] local.INFO: Extracted packet for processing {"connection_id":146011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc41"} 
[2026-08-01 13:09:59] local.INFO: GPS Element Parsed {"raw_longitude":755778304,"raw_latitude":116175104,"longitude_deg":75.5778304,"latitude_deg":11.6175104,"altitude":13,"angle":5,"satellites":42,"speed":16,"hex_longitude":"2d0c4300","hex_latitude":"06ecb100","is_valid_coordinates":true} 
[2026-08-01 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-08-01 13:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105871872001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366419697429643264,"note":"Value kept but may cause issues"} 
[2026-08-01 13:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":883549981635362816,"note":"Value kept but may cause issues"} 
[2026-08-01 13:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785569814000,"timestamp_ms":1785569814000,"timestamp_seconds":1785569814,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc4125f0"} 
[2026-08-01 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-08-01 13:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 13:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 13:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":146011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":146011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":146011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105871872001,"66":27832,"158":206,"2":56576,"24":16,"16":366419697429643264,"45":883549981635362816},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-08-01 13:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105871872001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:09:59] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-01 13:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366419697429643264,"km_value":366419697429643.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":883549981635362816,"description":"Unknown IO ID 45"} 
[2026-08-01 13:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105871872001,"power":27832,"unknown_158":206,"power_alt":56576,"ignition":16,"odometer":null,"unknown_45":883549981635362816}} 
[2026-08-01 13:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":146011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:09:59] local.INFO: GPS data processed {"connection_id":146011,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:09:59] local.INFO: Acknowledgment sent {"connection_id":146011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:10:00] local.INFO: TCP Data received {"connection_id":148552,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:10:00] local.INFO: Processing buffer {"connection_id":148552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:10:00] local.INFO: IMEI packet received {"connection_id":148552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 13:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":148552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:10:03] local.INFO: TCP Data received {"connection_id":148552,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:10:03] local.INFO: Processing buffer {"connection_id":148552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:10:03] local.INFO: IMEI packet received {"connection_id":148552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":148552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:10:06] local.INFO: TCP Data received {"connection_id":148552,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:10:06] local.INFO: Processing buffer {"connection_id":148552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:10:06] local.INFO: IMEI packet received {"connection_id":148552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":148552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:10:06] local.INFO: TCP Data received {"connection_id":148552,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc4321c0012d1911400720c5b00033007628..."} 
[2026-08-01 13:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc4321c0012d1911400720c5b00033007628..."} 
[2026-08-01 13:10:06] local.INFO: Processing buffer {"connection_id":148552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc4321c0012d1911400720c5b00033007628..."} 
[2026-08-01 13:10:06] local.INFO: Packet analysis {"connection_id":148552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc43"} 
[2026-08-01 13:10:06] local.INFO: Extracted packet for processing {"connection_id":148552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc43"} 
[2026-08-01 13:10:06] local.INFO: GPS Element Parsed {"raw_longitude":756617536,"raw_latitude":119588272,"longitude_deg":75.6617536,"latitude_deg":11.9588272,"altitude":51,"angle":118,"satellites":40,"speed":36,"hex_longitude":"2d191140","hex_latitude":"0720c5b0","is_valid_coordinates":true} 
[2026-08-01 13:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105903360001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10149450102079488,"note":"Value kept but may cause issues"} 
[2026-08-01 13:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1799399187982624768,"note":"Value kept but may cause issues"} 
[2026-08-01 13:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785569944000,"timestamp_ms":1785569944000,"timestamp_seconds":1785569944,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc4321c0"} 
[2026-08-01 13:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:10:06] 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-08-01 13:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-01 13:10:06] 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-08-01 13:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:10:06] 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-08-01 13:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105903360001,"66":14135,"103":206,"83":41984,"24":36,"16":10149450102079488,"45":1799399187982624768},"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-08-01 13:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105903360001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:10:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 13:10:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10149450102079488,"km_value":10149450102079.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1799399187982624768,"description":"Unknown IO ID 45"} 
[2026-08-01 13:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105903360001,"power":14135,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1799399187982624768}} 
[2026-08-01 13:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":148552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:10:06] local.INFO: GPS data processed {"connection_id":148552,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:10:06] local.INFO: Acknowledgment sent {"connection_id":148552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:10:38] local.INFO: TCP Data received {"connection_id":148552,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc43e8f8012d194f4007209568002200a725..."} 
[2026-08-01 13:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc43e8f8012d194f4007209568002200a725..."} 
[2026-08-01 13:10:38] local.INFO: Processing buffer {"connection_id":148552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc43e8f8012d194f4007209568002200a725..."} 
[2026-08-01 13:10:38] local.INFO: Packet analysis {"connection_id":148552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc43"} 
[2026-08-01 13:10:38] local.INFO: Extracted packet for processing {"connection_id":148552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc43"} 
[2026-08-01 13:10:38] local.INFO: GPS Element Parsed {"raw_longitude":756633408,"raw_latitude":119575912,"longitude_deg":75.6633408,"latitude_deg":11.9575912,"altitude":34,"angle":167,"satellites":37,"speed":13,"hex_longitude":"2d194f40","hex_latitude":"07209568","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105917696001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10150768657039360,"note":"Value kept but may cause issues"} 
[2026-08-01 13:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823817142208462848,"note":"Value kept but may cause issues"} 
[2026-08-01 13:10: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-08-01 13:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785569995000,"timestamp_ms":1785569995000,"timestamp_seconds":1785569995,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc43e8f8"} 
[2026-08-01 13:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-01 13:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13: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-08-01 13:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":148552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":148552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":148552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:10:38] 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-08-01 13:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105917696001,"66":14483,"103":206,"83":41984,"24":13,"16":10150768657039360,"45":1823817142208462848},"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-08-01 13:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105917696001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:10:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 13:10:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10150768657039360,"km_value":10150768657039.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823817142208462848,"description":"Unknown IO ID 45"} 
[2026-08-01 13:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105917696001,"power":14483,"unknown_103":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1823817142208462848}} 
[2026-08-01 13:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":148552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:10:38] local.INFO: GPS data processed {"connection_id":148552,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:10:38] local.INFO: Acknowledgment sent {"connection_id":148552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:10:44] local.INFO: TCP Data received {"connection_id":146225,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:10:44] local.INFO: Processing buffer {"connection_id":146225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:10:44] local.INFO: IMEI packet received {"connection_id":146225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":146225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:10:49] local.INFO: TCP Data received {"connection_id":146225,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:10:49] local.INFO: Processing buffer {"connection_id":146225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:10:49] local.INFO: IMEI packet received {"connection_id":146225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":146225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:10:52] local.INFO: TCP Data received {"connection_id":146225,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc438750012d0c4d0006edd910000b01512a..."} 
[2026-08-01 13:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc438750012d0c4d0006edd910000b01512a..."} 
[2026-08-01 13:10:52] local.INFO: Processing buffer {"connection_id":146225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc438750012d0c4d0006edd910000b01512a..."} 
[2026-08-01 13:10:52] local.INFO: Packet analysis {"connection_id":146225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc43"} 
[2026-08-01 13:10:52] local.INFO: Extracted packet for processing {"connection_id":146225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc43"} 
[2026-08-01 13:10:52] local.INFO: GPS Element Parsed {"raw_longitude":755780864,"raw_latitude":116250896,"longitude_deg":75.5780864,"latitude_deg":11.6250896,"altitude":11,"angle":337,"satellites":42,"speed":26,"hex_longitude":"2d0c4d00","hex_latitude":"06edd910","is_valid_coordinates":true} 
[2026-08-01 13:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105908736001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366423434051190784,"note":"Value kept but may cause issues"} 
[2026-08-01 13:10:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":889531324907825152,"note":"Value kept but may cause issues"} 
[2026-08-01 13:10:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785569970000,"timestamp_ms":1785569970000,"timestamp_seconds":1785569970,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc438750"} 
[2026-08-01 13:10:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:10:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 13:10: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-08-01 13:10:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:10:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":146225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":146225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":146225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:10:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105908736001,"66":27919,"158":206,"2":56576,"24":26,"16":366423434051190784,"45":889531324907825152},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-08-01 13:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105908736001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:10:52] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-01 13:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366423434051190784,"km_value":366423434051190.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:10:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":889531324907825152,"description":"Unknown IO ID 45"} 
[2026-08-01 13:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105908736001,"power":27919,"unknown_158":206,"power_alt":56576,"ignition":26,"odometer":null,"unknown_45":889531324907825152}} 
[2026-08-01 13:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":146225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:10:52] local.INFO: GPS data processed {"connection_id":146225,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:10:52] local.INFO: Acknowledgment sent {"connection_id":146225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:11:00] local.INFO: TCP Data received {"connection_id":146012,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:11:00] local.INFO: Processing buffer {"connection_id":146012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:11:00] local.INFO: IMEI packet received {"connection_id":146012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 13:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":146012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:11:05] local.INFO: TCP Data received {"connection_id":146012,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:11:05] local.INFO: Processing buffer {"connection_id":146012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:11:05] local.INFO: IMEI packet received {"connection_id":146012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":146012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:11:05] local.INFO: TCP Data received {"connection_id":146012,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:11:05] local.INFO: Processing buffer {"connection_id":146012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:11:05] local.INFO: IMEI packet received {"connection_id":146012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":146012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:11:08] local.INFO: TCP Data received {"connection_id":146012,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc43f0c8012d195000072092d80021008f27..."} 
[2026-08-01 13:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc43f0c8012d195000072092d80021008f27..."} 
[2026-08-01 13:11:08] local.INFO: Processing buffer {"connection_id":146012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc43f0c8012d195000072092d80021008f27..."} 
[2026-08-01 13:11:08] local.INFO: Packet analysis {"connection_id":146012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc43"} 
[2026-08-01 13:11:08] local.INFO: Extracted packet for processing {"connection_id":146012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc43"} 
[2026-08-01 13:11:08] local.INFO: GPS Element Parsed {"raw_longitude":756633600,"raw_latitude":119575256,"longitude_deg":75.66336,"latitude_deg":11.9575256,"altitude":33,"angle":143,"satellites":39,"speed":14,"hex_longitude":"2d195000","hex_latitude":"072092d8","is_valid_coordinates":true} 
[2026-08-01 13:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105918720001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10150803016777728,"note":"Value kept but may cause issues"} 
[2026-08-01 13:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823746773463951360,"note":"Value kept but may cause issues"} 
[2026-08-01 13:11:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785569997000,"timestamp_ms":1785569997000,"timestamp_seconds":1785569997,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc43f0c8"} 
[2026-08-01 13:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-01 13:11:08] 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-08-01 13:11:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":146012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":146012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":146012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:11:08] 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-08-01 13:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105918720001,"66":14428,"103":206,"83":41984,"24":14,"16":10150803016777728,"45":1823746773463951360},"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-08-01 13:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105918720001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:11:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 13:11:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10150803016777728,"km_value":10150803016777.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823746773463951360,"description":"Unknown IO ID 45"} 
[2026-08-01 13:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105918720001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1823746773463951360}} 
[2026-08-01 13:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":146012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:11:08] local.INFO: GPS data processed {"connection_id":146012,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:11:08] local.INFO: Acknowledgment sent {"connection_id":146012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:11:09] local.INFO: TCP Data received {"connection_id":146012,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc43f898012d195200072091380022008228..."} 
[2026-08-01 13:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc43f898012d195200072091380022008228..."} 
[2026-08-01 13:11:09] local.INFO: Processing buffer {"connection_id":146012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc43f898012d195200072091380022008228..."} 
[2026-08-01 13:11:09] local.INFO: Packet analysis {"connection_id":146012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc43"} 
[2026-08-01 13:11:09] local.INFO: Extracted packet for processing {"connection_id":146012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc43"} 
[2026-08-01 13:11:09] local.INFO: GPS Element Parsed {"raw_longitude":756634112,"raw_latitude":119574840,"longitude_deg":75.6634112,"latitude_deg":11.957484,"altitude":34,"angle":130,"satellites":40,"speed":12,"hex_longitude":"2d195200","hex_latitude":"07209138","is_valid_coordinates":true} 
[2026-08-01 13:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105919232001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10150833081548800,"note":"Value kept but may cause issues"} 
[2026-08-01 13:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823957879696316416,"note":"Value kept but may cause issues"} 
[2026-08-01 13:11: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-08-01 13:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785569999000,"timestamp_ms":1785569999000,"timestamp_seconds":1785569999,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc43f898"} 
[2026-08-01 13:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:11:09] 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-08-01 13:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-01 13:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":146012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":146012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":146012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:11:09] 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-08-01 13:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105919232001,"66":14461,"103":206,"83":41984,"24":12,"16":10150833081548800,"45":1823957879696316416},"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-08-01 13:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105919232001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:11:09] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 13:11:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10150833081548800,"km_value":10150833081548.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823957879696316416,"description":"Unknown IO ID 45"} 
[2026-08-01 13:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105919232001,"power":14461,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1823957879696316416}} 
[2026-08-01 13:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":146012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577237,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:11:09] local.INFO: GPS data processed {"connection_id":146012,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:11:09] local.INFO: Acknowledgment sent {"connection_id":146012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:11:24] local.INFO: TCP Data received {"connection_id":146225,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc43c9b8012d0c3d4006edf818000b014727..."} 
[2026-08-01 13:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc43c9b8012d0c3d4006edf818000b014727..."} 
[2026-08-01 13:11:24] local.INFO: Processing buffer {"connection_id":146225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc43c9b8012d0c3d4006edf818000b014727..."} 
[2026-08-01 13:11:24] local.INFO: Packet analysis {"connection_id":146225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc43"} 
[2026-08-01 13:11:24] local.INFO: Extracted packet for processing {"connection_id":146225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc43"} 
[2026-08-01 13:11:24] local.INFO: GPS Element Parsed {"raw_longitude":755776832,"raw_latitude":116258840,"longitude_deg":75.5776832,"latitude_deg":11.625884,"altitude":11,"angle":327,"satellites":39,"speed":23,"hex_longitude":"2d0c3d40","hex_latitude":"06edf818","is_valid_coordinates":true} 
[2026-08-01 13:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105912320001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366423863547920384,"note":"Value kept but may cause issues"} 
[2026-08-01 13:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886364731422085120,"note":"Value kept but may cause issues"} 
[2026-08-01 13:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785569987000,"timestamp_ms":1785569987000,"timestamp_seconds":1785569987,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc43c9b8"} 
[2026-08-01 13:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:11: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-08-01 13:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 13:11:24] 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-08-01 13:11:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":146225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":146225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":146225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:11:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105912320001,"66":27908,"158":206,"2":56576,"24":23,"16":366423863547920384,"45":886364731422085120},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-08-01 13:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105912320001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:11:24] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-01 13:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366423863547920384,"km_value":366423863547920.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":886364731422085120,"description":"Unknown IO ID 45"} 
[2026-08-01 13:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105912320001,"power":27908,"unknown_158":206,"power_alt":56576,"ignition":23,"odometer":null,"unknown_45":886364731422085120}} 
[2026-08-01 13:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":146225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:11:24] local.INFO: GPS data processed {"connection_id":146225,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:11:24] local.INFO: Acknowledgment sent {"connection_id":146225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:11:40] local.INFO: TCP Data received {"connection_id":146012,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc441bc0012d19584007208bd00020007228..."} 
[2026-08-01 13:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc441bc0012d19584007208bd00020007228..."} 
[2026-08-01 13:11:40] local.INFO: Processing buffer {"connection_id":146012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc441bc0012d19584007208bd00020007228..."} 
[2026-08-01 13:11:40] local.INFO: Packet analysis {"connection_id":146012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc44"} 
[2026-08-01 13:11:40] local.INFO: Extracted packet for processing {"connection_id":146012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc44"} 
[2026-08-01 13:11:40] local.INFO: GPS Element Parsed {"raw_longitude":756635712,"raw_latitude":119573456,"longitude_deg":75.6635712,"latitude_deg":11.9573456,"altitude":32,"angle":114,"satellites":40,"speed":10,"hex_longitude":"2d195840","hex_latitude":"07208bd0","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105919744001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10150936160763904,"note":"Value kept but may cause issues"} 
[2026-08-01 13:11:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824520829649631232,"note":"Value kept but may cause issues"} 
[2026-08-01 13:11: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-08-01 13:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785570008000,"timestamp_ms":1785570008000,"timestamp_seconds":1785570008,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc441bc0"} 
[2026-08-01 13:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:11:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-01 13:11: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-08-01 13: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-08-01 13:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:11:40] 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-08-01 13:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105919744001,"66":14135,"103":206,"83":41984,"24":10,"16":10150936160763904,"45":1824520829649631232},"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-08-01 13:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105919744001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:11:40] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 13:11:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10150936160763904,"km_value":10150936160763.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:11:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824520829649631232,"description":"Unknown IO ID 45"} 
[2026-08-01 13:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105919744001,"power":14135,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1824520829649631232}} 
[2026-08-01 13:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":146012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:11:40] local.INFO: GPS data processed {"connection_id":146012,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:11:40] local.INFO: Acknowledgment sent {"connection_id":146012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:11:44] local.INFO: TCP Data received {"connection_id":147233,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:11:44] local.INFO: Processing buffer {"connection_id":147233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:11:44] local.INFO: IMEI packet received {"connection_id":147233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":147233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:11:45] local.INFO: TCP Data received {"connection_id":147233,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:11:45] local.INFO: Processing buffer {"connection_id":147233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:11:45] local.INFO: IMEI packet received {"connection_id":147233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":147233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:11:49] local.INFO: TCP Data received {"connection_id":147233,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:11:49] local.INFO: Processing buffer {"connection_id":147233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:11:49] local.INFO: IMEI packet received {"connection_id":147233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":147233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:11:52] local.INFO: TCP Data received {"connection_id":147233,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc440068012d0c2a8006ee1580000e014a29..."} 
[2026-08-01 13:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc440068012d0c2a8006ee1580000e014a29..."} 
[2026-08-01 13:11:52] local.INFO: Processing buffer {"connection_id":147233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc440068012d0c2a8006ee1580000e014a29..."} 
[2026-08-01 13:11:52] local.INFO: Packet analysis {"connection_id":147233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc44"} 
[2026-08-01 13:11:52] local.INFO: Extracted packet for processing {"connection_id":147233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc44"} 
[2026-08-01 13:11:52] local.INFO: GPS Element Parsed {"raw_longitude":755772032,"raw_latitude":116266368,"longitude_deg":75.5772032,"latitude_deg":11.6266368,"altitude":14,"angle":330,"satellites":41,"speed":22,"hex_longitude":"2d0c2a80","hex_latitude":"06ee1580","is_valid_coordinates":true} 
[2026-08-01 13:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105916672001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366424297339617280,"note":"Value kept but may cause issues"} 
[2026-08-01 13:11:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881931500540925952,"note":"Value kept but may cause issues"} 
[2026-08-01 13:11:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785570001000,"timestamp_ms":1785570001000,"timestamp_seconds":1785570001,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc440068"} 
[2026-08-01 13:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:11: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-08-01 13:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 13:11:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:11:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":147233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":147233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":147233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:11:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105916672001,"66":27919,"118":206,"2":56576,"24":22,"16":366424297339617280,"45":881931500540925952},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-01 13:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105916672001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:11:52] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-01 13:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366424297339617280,"km_value":366424297339617.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:11:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":881931500540925952,"description":"Unknown IO ID 45"} 
[2026-08-01 13:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105916672001,"power":27919,"unknown_118":206,"power_alt":56576,"ignition":22,"odometer":null,"unknown_45":881931500540925952}} 
[2026-08-01 13:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":147233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:11:52] local.INFO: GPS data processed {"connection_id":147233,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:11:52] local.INFO: Acknowledgment sent {"connection_id":147233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:12:05] local.INFO: TCP Data received {"connection_id":148553,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:12:05] local.INFO: Processing buffer {"connection_id":148553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:12:05] local.INFO: IMEI packet received {"connection_id":148553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 13:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":148553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:12:09] local.INFO: TCP Data received {"connection_id":148553,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:12:09] local.INFO: Processing buffer {"connection_id":148553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:12:09] local.INFO: IMEI packet received {"connection_id":148553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":148553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:12:10] local.INFO: TCP Data received {"connection_id":148553,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc441fa8012d19590007208b480020008128..."} 
[2026-08-01 13:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc441fa8012d19590007208b480020008128..."} 
[2026-08-01 13:12:10] local.INFO: Processing buffer {"connection_id":148553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc441fa8012d19590007208b480020008128..."} 
[2026-08-01 13:12:10] local.INFO: Packet analysis {"connection_id":148553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc44"} 
[2026-08-01 13:12:10] local.INFO: Extracted packet for processing {"connection_id":148553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc44"} 
[2026-08-01 13:12:10] local.INFO: GPS Element Parsed {"raw_longitude":756635904,"raw_latitude":119573320,"longitude_deg":75.6635904,"latitude_deg":11.957332,"altitude":32,"angle":129,"satellites":40,"speed":10,"hex_longitude":"2d195900","hex_latitude":"07208b48","is_valid_coordinates":true} 
[2026-08-01 13:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105922048001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10150949045665792,"note":"Value kept but may cause issues"} 
[2026-08-01 13:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826280048253718528,"note":"Value kept but may cause issues"} 
[2026-08-01 13: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-08-01 13:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785570009000,"timestamp_ms":1785570009000,"timestamp_seconds":1785570009,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc441fa8"} 
[2026-08-01 13:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-01 13:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":148553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":148553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":148553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13: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-08-01 13:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105922048001,"66":14070,"103":206,"83":41984,"24":10,"16":10150949045665792,"45":1826280048253718528},"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-08-01 13:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105922048001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:12:10] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 13:12:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10150949045665792,"km_value":10150949045665.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826280048253718528,"description":"Unknown IO ID 45"} 
[2026-08-01 13:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105922048001,"power":14070,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1826280048253718528}} 
[2026-08-01 13:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":148553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:12:10] local.INFO: GPS data processed {"connection_id":148553,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:12:10] local.INFO: Acknowledgment sent {"connection_id":148553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:12:10] local.INFO: TCP Data received {"connection_id":148553,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc446210012d19640007207948001d008f29..."} 
[2026-08-01 13:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc446210012d19640007207948001d008f29..."} 
[2026-08-01 13:12:10] local.INFO: Processing buffer {"connection_id":148553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc446210012d19640007207948001d008f29..."} 
[2026-08-01 13:12:10] local.INFO: Packet analysis {"connection_id":148553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc44"} 
[2026-08-01 13:12:10] local.INFO: Extracted packet for processing {"connection_id":148553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc44"} 
[2026-08-01 13:12:10] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119568712,"longitude_deg":75.663872,"latitude_deg":11.9568712,"altitude":29,"angle":143,"satellites":41,"speed":14,"hex_longitude":"2d196400","hex_latitude":"07207948","is_valid_coordinates":true} 
[2026-08-01 13:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105922304001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10151215333638144,"note":"Value kept but may cause issues"} 
[2026-08-01 13:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826491154486216704,"note":"Value kept but may cause issues"} 
[2026-08-01 13: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-08-01 13:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785570026000,"timestamp_ms":1785570026000,"timestamp_seconds":1785570026,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc446210"} 
[2026-08-01 13:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-01 13:12: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-08-01 13:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":148553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":148553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":148553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13: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-08-01 13:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105922304001,"66":14548,"103":206,"83":41984,"24":14,"16":10151215333638144,"45":1826491154486216704},"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-08-01 13:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105922304001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:12:10] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 13:12:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10151215333638144,"km_value":10151215333638.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826491154486216704,"description":"Unknown IO ID 45"} 
[2026-08-01 13:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105922304001,"power":14548,"unknown_103":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1826491154486216704}} 
[2026-08-01 13:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":148553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:12:11] local.INFO: GPS data processed {"connection_id":148553,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:12:11] local.INFO: Acknowledgment sent {"connection_id":148553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:12:23] local.INFO: TCP Data received {"connection_id":147233,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc443ee8012d0c184006ee34900011014528..."} 
[2026-08-01 13:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc443ee8012d0c184006ee34900011014528..."} 
[2026-08-01 13:12:23] local.INFO: Processing buffer {"connection_id":147233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc443ee8012d0c184006ee34900011014528..."} 
[2026-08-01 13:12:23] local.INFO: Packet analysis {"connection_id":147233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc44"} 
[2026-08-01 13:12:23] local.INFO: Extracted packet for processing {"connection_id":147233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc44"} 
[2026-08-01 13:12:23] local.INFO: GPS Element Parsed {"raw_longitude":755767360,"raw_latitude":116274320,"longitude_deg":75.576736,"latitude_deg":11.627432,"altitude":17,"angle":325,"satellites":40,"speed":20,"hex_longitude":"2d0c1840","hex_latitude":"06ee3490","is_valid_coordinates":true} 
[2026-08-01 13:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105920256001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366424739721248768,"note":"Value kept but may cause issues"} 
[2026-08-01 13:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876653844729528320,"note":"Value kept but may cause issues"} 
[2026-08-01 13:12:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785570017000,"timestamp_ms":1785570017000,"timestamp_seconds":1785570017,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc443ee8"} 
[2026-08-01 13:12:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:12:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 13:12:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:12:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:12:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":147233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":147233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":147233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:12:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105920256001,"66":27821,"118":206,"2":56576,"24":20,"16":366424739721248768,"45":876653844729528320},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-01 13:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105920256001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:12:23] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-01 13:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366424739721248768,"km_value":366424739721248.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:12:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":876653844729528320,"description":"Unknown IO ID 45"} 
[2026-08-01 13:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105920256001,"power":27821,"unknown_118":206,"power_alt":56576,"ignition":20,"odometer":null,"unknown_45":876653844729528320}} 
[2026-08-01 13:12:23] local.INFO: DEBUG: GPS processor result {"connection_id":147233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:12:23] local.INFO: GPS data processed {"connection_id":147233,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:12:23] local.INFO: Acknowledgment sent {"connection_id":147233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:12:41] local.INFO: TCP Data received {"connection_id":148553,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc4465f8012d196440072077e8001c009a29..."} 
[2026-08-01 13:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc4465f8012d196440072077e8001c009a29..."} 
[2026-08-01 13:12:41] local.INFO: Processing buffer {"connection_id":148553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc4465f8012d196440072077e8001c009a29..."} 
[2026-08-01 13:12:41] local.INFO: Packet analysis {"connection_id":148553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc44"} 
[2026-08-01 13:12:41] local.INFO: Extracted packet for processing {"connection_id":148553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc44"} 
[2026-08-01 13:12:41] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119568360,"longitude_deg":75.6638784,"latitude_deg":11.956836,"altitude":28,"angle":154,"satellites":41,"speed":15,"hex_longitude":"2d196440","hex_latitude":"072077e8","is_valid_coordinates":true} 
[2026-08-01 13:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105926656001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10151232513507328,"note":"Value kept but may cause issues"} 
[2026-08-01 13:12:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379228854272,"note":"Value kept but may cause issues"} 
[2026-08-01 13:12: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-08-01 13:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785570027000,"timestamp_ms":1785570027000,"timestamp_seconds":1785570027,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc4465f8"} 
[2026-08-01 13:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-01 13:12:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":148553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":148553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":148553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:12: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-08-01 13:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105926656001,"66":14483,"103":206,"83":41984,"24":15,"16":10151232513507328,"45":1829587379228854272},"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-08-01 13:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105926656001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:12:41] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 13:12:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10151232513507328,"km_value":10151232513507.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:12:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379228854272,"description":"Unknown IO ID 45"} 
[2026-08-01 13:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105926656001,"power":14483,"unknown_103":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1829587379228854272}} 
[2026-08-01 13:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":148553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:12:41] local.INFO: GPS data processed {"connection_id":148553,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:12:41] local.INFO: Acknowledgment sent {"connection_id":148553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:12:44] local.INFO: TCP Data received {"connection_id":147234,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:12:44] local.INFO: Processing buffer {"connection_id":147234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:12:44] local.INFO: IMEI packet received {"connection_id":147234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":147234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:12:46] local.INFO: TCP Data received {"connection_id":147234,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:12:46] local.INFO: Processing buffer {"connection_id":147234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:12:46] local.INFO: IMEI packet received {"connection_id":147234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":147234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:12:49] local.INFO: TCP Data received {"connection_id":147234,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:12:49] local.INFO: Processing buffer {"connection_id":147234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:12:49] local.INFO: IMEI packet received {"connection_id":147234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":147234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:12:50] local.INFO: TCP Data received {"connection_id":147234,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc448150012d0c050006ee53f00014014a27..."} 
[2026-08-01 13:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc448150012d0c050006ee53f00014014a27..."} 
[2026-08-01 13:12:50] local.INFO: Processing buffer {"connection_id":147234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc448150012d0c050006ee53f00014014a27..."} 
[2026-08-01 13:12:50] local.INFO: Packet analysis {"connection_id":147234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc44"} 
[2026-08-01 13:12:50] local.INFO: Extracted packet for processing {"connection_id":147234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc44"} 
[2026-08-01 13:12:50] local.INFO: GPS Element Parsed {"raw_longitude":755762432,"raw_latitude":116282352,"longitude_deg":75.5762432,"latitude_deg":11.6282352,"altitude":20,"angle":330,"satellites":39,"speed":23,"hex_longitude":"2d0c0500","hex_latitude":"06ee53f0","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:12:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105924352001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:12:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366425194987782144,"note":"Value kept but may cause issues"} 
[2026-08-01 13:12:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":871516926406594560,"note":"Value kept but may cause issues"} 
[2026-08-01 13:12:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:12:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785570034000,"timestamp_ms":1785570034000,"timestamp_seconds":1785570034,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc448150"} 
[2026-08-01 13:12:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:12:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:12:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 13:12:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13: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-08-01 13:12:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:12:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:12:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:12:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:12:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:12:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:12:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:12:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:12:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105924352001,"66":27876,"118":206,"2":56576,"24":23,"16":366425194987782144,"45":871516926406594560},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-01 13:12:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:12:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:12:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105924352001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:12:50] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-01 13:12:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366425194987782144,"km_value":366425194987782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:12:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":871516926406594560,"description":"Unknown IO ID 45"} 
[2026-08-01 13:12:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105924352001,"power":27876,"unknown_118":206,"power_alt":56576,"ignition":23,"odometer":null,"unknown_45":871516926406594560}} 
[2026-08-01 13:12:50] local.INFO: DEBUG: GPS processor result {"connection_id":147234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:12:50] local.INFO: GPS data processed {"connection_id":147234,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:12:50] local.INFO: Acknowledgment sent {"connection_id":147234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:13:00] local.INFO: TCP Data received {"connection_id":146226,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146226,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:13:00] local.INFO: Processing buffer {"connection_id":146226,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:13:00] local.INFO: IMEI packet received {"connection_id":146226,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 13:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":146226,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:13:05] local.INFO: TCP Data received {"connection_id":146226,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146226,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:13:05] local.INFO: Processing buffer {"connection_id":146226,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:13:05] local.INFO: IMEI packet received {"connection_id":146226,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":146226,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:13:05] local.INFO: TCP Data received {"connection_id":146226,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc44b800012d196a00072068d0002000a02a..."} 
[2026-08-01 13:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc44b800012d196a00072068d0002000a02a..."} 
[2026-08-01 13:13:05] local.INFO: Processing buffer {"connection_id":146226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc44b800012d196a00072068d0002000a02a..."} 
[2026-08-01 13:13:05] local.INFO: Packet analysis {"connection_id":146226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc44"} 
[2026-08-01 13:13:05] local.INFO: Extracted packet for processing {"connection_id":146226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc44"} 
[2026-08-01 13:13:05] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119564496,"longitude_deg":75.6640256,"latitude_deg":11.9564496,"altitude":32,"angle":160,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"072068d0","is_valid_coordinates":true} 
[2026-08-01 13:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105926912001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10151442966904832,"note":"Value kept but may cause issues"} 
[2026-08-01 13:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747972941824,"note":"Value kept but may cause issues"} 
[2026-08-01 13:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785570048000,"timestamp_ms":1785570048000,"timestamp_seconds":1785570048,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc44b800"} 
[2026-08-01 13:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-01 13:13:05] 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-08-01 13:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:13:05] 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-08-01 13:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105926912001,"66":14461,"103":206,"83":41984,"24":0,"16":10151442966904832,"45":1829657747972941824},"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-08-01 13:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105926912001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:13:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 13:13:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10151442966904832,"km_value":10151442966904.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747972941824,"description":"Unknown IO ID 45"} 
[2026-08-01 13:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105926912001,"power":14461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747972941824}} 
[2026-08-01 13:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":146226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:13:05] local.INFO: GPS data processed {"connection_id":146226,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:13:05] local.INFO: Acknowledgment sent {"connection_id":146226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:13:22] local.INFO: TCP Data received {"connection_id":147234,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc45f080012d0b92c006ef6928000e015729..."} 
[2026-08-01 13:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc45f080012d0b92c006ef6928000e015729..."} 
[2026-08-01 13:13:22] local.INFO: Processing buffer {"connection_id":147234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc45f080012d0b92c006ef6928000e015729..."} 
[2026-08-01 13:13:22] local.INFO: Packet analysis {"connection_id":147234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc45"} 
[2026-08-01 13:13:22] local.INFO: Extracted packet for processing {"connection_id":147234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc45"} 
[2026-08-01 13:13:22] local.INFO: GPS Element Parsed {"raw_longitude":755733184,"raw_latitude":116353320,"longitude_deg":75.5733184,"latitude_deg":11.635332,"altitude":14,"angle":343,"satellites":41,"speed":32,"hex_longitude":"2d0b92c0","hex_latitude":"06ef6928","is_valid_coordinates":true} 
[2026-08-01 13:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:13:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105949952001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:13:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366428918724427776,"note":"Value kept but may cause issues"} 
[2026-08-01 13:13:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":837106610521579520,"note":"Value kept but may cause issues"} 
[2026-08-01 13:13:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:13:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785570128000,"timestamp_ms":1785570128000,"timestamp_seconds":1785570128,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc45f080"} 
[2026-08-01 13:13:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:13:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 13:13:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:13:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:13:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:13:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:13:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:13:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:13:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:13:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:13:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:13:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:13:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105949952001,"66":27767,"118":206,"2":56576,"24":32,"16":366428918724427776,"45":837106610521579520},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-01 13:13:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:13:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:13:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105949952001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:13:22] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-01 13:13:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366428918724427776,"km_value":366428918724427.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:13:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":837106610521579520,"description":"Unknown IO ID 45"} 
[2026-08-01 13:13:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105949952001,"power":27767,"unknown_118":206,"power_alt":56576,"ignition":32,"odometer":null,"unknown_45":837106610521579520}} 
[2026-08-01 13:13:22] local.INFO: DEBUG: GPS processor result {"connection_id":147234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:13:22] local.INFO: GPS data processed {"connection_id":147234,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:13:22] local.INFO: Acknowledgment sent {"connection_id":147234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:13:37] local.INFO: TCP Data received {"connection_id":146226,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc44f680012d196a80072065b8002200ae2a..."} 
[2026-08-01 13:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc44f680012d196a80072065b8002200ae2a..."} 
[2026-08-01 13:13:37] local.INFO: Processing buffer {"connection_id":146226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc44f680012d196a80072065b8002200ae2a..."} 
[2026-08-01 13:13:37] local.INFO: Packet analysis {"connection_id":146226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc44"} 
[2026-08-01 13:13:37] local.INFO: Extracted packet for processing {"connection_id":146226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc44"} 
[2026-08-01 13:13:37] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119563704,"longitude_deg":75.6640384,"latitude_deg":11.9563704,"altitude":34,"angle":174,"satellites":42,"speed":9,"hex_longitude":"2d196a80","hex_latitude":"072065b8","is_valid_coordinates":true} 
[2026-08-01 13:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105932288001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10151481621610496,"note":"Value kept but may cause issues"} 
[2026-08-01 13:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229088038912,"note":"Value kept but may cause issues"} 
[2026-08-01 13:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785570064000,"timestamp_ms":1785570064000,"timestamp_seconds":1785570064,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc44f680"} 
[2026-08-01 13:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-01 13:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:13:37] 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-08-01 13:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105932288001,"66":14396,"103":206,"83":41984,"24":9,"16":10151481621610496,"45":1831276229088038912},"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-08-01 13:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105932288001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:13:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 13:13:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10151481621610496,"km_value":10151481621610.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229088038912,"description":"Unknown IO ID 45"} 
[2026-08-01 13:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105932288001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1831276229088038912}} 
[2026-08-01 13:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":146226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:13:37] local.INFO: GPS data processed {"connection_id":146226,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:13:37] local.INFO: Acknowledgment sent {"connection_id":146226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:13:44] local.INFO: TCP Data received {"connection_id":148554,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:13:44] local.INFO: Processing buffer {"connection_id":148554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:13:44] local.INFO: IMEI packet received {"connection_id":148554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":148554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:13:45] local.INFO: TCP Data received {"connection_id":148554,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:13:45] local.INFO: Processing buffer {"connection_id":148554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:13:45] local.INFO: IMEI packet received {"connection_id":148554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":148554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:13:49] local.INFO: TCP Data received {"connection_id":148554,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:13:49] local.INFO: Processing buffer {"connection_id":148554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:13:49] local.INFO: IMEI packet received {"connection_id":148554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":148554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:13:50] local.INFO: TCP Data received {"connection_id":148554,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc461f60012d0b888006ef8cf8000e015b29..."} 
[2026-08-01 13:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc461f60012d0b888006ef8cf8000e015b29..."} 
[2026-08-01 13:13:50] local.INFO: Processing buffer {"connection_id":148554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc461f60012d0b888006ef8cf8000e015b29..."} 
[2026-08-01 13:13:50] local.INFO: Packet analysis {"connection_id":148554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc46"} 
[2026-08-01 13:13:50] local.INFO: Extracted packet for processing {"connection_id":148554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc46"} 
[2026-08-01 13:13:50] local.INFO: GPS Element Parsed {"raw_longitude":755730560,"raw_latitude":116362488,"longitude_deg":75.573056,"latitude_deg":11.6362488,"altitude":14,"angle":347,"satellites":41,"speed":29,"hex_longitude":"2d0b8880","hex_latitude":"06ef8cf8","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105952768001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366429382580895744,"note":"Value kept but may cause issues"} 
[2026-08-01 13:13:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":833940017035945984,"note":"Value kept but may cause issues"} 
[2026-08-01 13:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785570140000,"timestamp_ms":1785570140000,"timestamp_seconds":1785570140,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc461f60"} 
[2026-08-01 13:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:13:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 13:13:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13: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-08-01 13:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105952768001,"66":27908,"118":206,"2":56576,"24":29,"16":366429382580895744,"45":833940017035945984},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-01 13:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105952768001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:13:50] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-01 13:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366429382580895744,"km_value":366429382580895.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:13:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":833940017035945984,"description":"Unknown IO ID 45"} 
[2026-08-01 13:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105952768001,"power":27908,"unknown_118":206,"power_alt":56576,"ignition":29,"odometer":null,"unknown_45":833940017035945984}} 
[2026-08-01 13:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":148554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:13:50] local.INFO: GPS data processed {"connection_id":148554,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:13:50] local.INFO: Acknowledgment sent {"connection_id":148554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:14:00] local.INFO: TCP Data received {"connection_id":146013,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:14:00] local.INFO: Processing buffer {"connection_id":146013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:14:00] local.INFO: IMEI packet received {"connection_id":146013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 13:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":146013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:14:05] local.INFO: TCP Data received {"connection_id":146013,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:14:05] local.INFO: Processing buffer {"connection_id":146013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:14:05] local.INFO: IMEI packet received {"connection_id":146013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":146013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:14:06] local.INFO: TCP Data received {"connection_id":146013,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc44fe50012d196a8007206408002200bb2a..."} 
[2026-08-01 13:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc44fe50012d196a8007206408002200bb2a..."} 
[2026-08-01 13:14:06] local.INFO: Processing buffer {"connection_id":146013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc44fe50012d196a8007206408002200bb2a..."} 
[2026-08-01 13:14:06] local.INFO: Packet analysis {"connection_id":146013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc44"} 
[2026-08-01 13:14:06] local.INFO: Extracted packet for processing {"connection_id":146013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc44"} 
[2026-08-01 13:14:06] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119563272,"longitude_deg":75.6640384,"latitude_deg":11.9563272,"altitude":34,"angle":187,"satellites":42,"speed":7,"hex_longitude":"2d196a80","hex_latitude":"07206408","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105936384001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10151503096446976,"note":"Value kept but may cause issues"} 
[2026-08-01 13:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966576191488,"note":"Value kept but may cause issues"} 
[2026-08-01 13:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785570066000,"timestamp_ms":1785570066000,"timestamp_seconds":1785570066,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc44fe50"} 
[2026-08-01 13:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:14:06] 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-08-01 13: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-01 13:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13: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-08-01 13:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:14:06] 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-08-01 13:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105936384001,"66":13287,"103":206,"83":41984,"24":7,"16":10151503096446976,"45":1831416966576191488},"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-08-01 13:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105936384001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:14:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 13:14:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10151503096446976,"km_value":10151503096446.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966576191488,"description":"Unknown IO ID 45"} 
[2026-08-01 13:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105936384001,"power":13287,"unknown_103":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1831416966576191488}} 
[2026-08-01 13:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":146013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:14:06] local.INFO: GPS data processed {"connection_id":146013,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:14:06] local.INFO: Acknowledgment sent {"connection_id":146013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:14:22] local.INFO: TCP Data received {"connection_id":148554,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc465610012d0b800006efb1200011015c26..."} 
[2026-08-01 13:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc465610012d0b800006efb1200011015c26..."} 
[2026-08-01 13:14:22] local.INFO: Processing buffer {"connection_id":148554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc465610012d0b800006efb1200011015c26..."} 
[2026-08-01 13:14:22] local.INFO: Packet analysis {"connection_id":148554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc46"} 
[2026-08-01 13:14:22] local.INFO: Extracted packet for processing {"connection_id":148554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc46"} 
[2026-08-01 13:14:22] local.INFO: GPS Element Parsed {"raw_longitude":755728384,"raw_latitude":116371744,"longitude_deg":75.5728384,"latitude_deg":11.6371744,"altitude":17,"angle":348,"satellites":38,"speed":26,"hex_longitude":"2d0b8000","hex_latitude":"06efb120","is_valid_coordinates":true} 
[2026-08-01 13:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105955840001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366429842142396416,"note":"Value kept but may cause issues"} 
[2026-08-01 13:14:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":831054898527008768,"note":"Value kept but may cause issues"} 
[2026-08-01 13:14:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785570154000,"timestamp_ms":1785570154000,"timestamp_seconds":1785570154,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc465610"} 
[2026-08-01 13:14:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:14:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 13:14:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:14:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:14:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:14:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105955840001,"66":27876,"118":206,"2":56576,"24":26,"16":366429842142396416,"45":831054898527008768},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-01 13:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105955840001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:14:22] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-01 13:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366429842142396416,"km_value":366429842142396.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:14:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":831054898527008768,"description":"Unknown IO ID 45"} 
[2026-08-01 13:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105955840001,"power":27876,"unknown_118":206,"power_alt":56576,"ignition":26,"odometer":null,"unknown_45":831054898527008768}} 
[2026-08-01 13:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":148554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:14:22] local.INFO: GPS data processed {"connection_id":148554,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:14:22] local.INFO: Acknowledgment sent {"connection_id":148554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:14:37] local.INFO: TCP Data received {"connection_id":146013,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc4515c0012d196a8007205cb0002300ae2b..."} 
[2026-08-01 13:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc4515c0012d196a8007205cb0002300ae2b..."} 
[2026-08-01 13:14:37] local.INFO: Processing buffer {"connection_id":146013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc4515c0012d196a8007205cb0002300ae2b..."} 
[2026-08-01 13:14:37] local.INFO: Packet analysis {"connection_id":146013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc45"} 
[2026-08-01 13:14:37] local.INFO: Extracted packet for processing {"connection_id":146013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc45"} 
[2026-08-01 13:14:37] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119561392,"longitude_deg":75.6640384,"latitude_deg":11.9561392,"altitude":35,"angle":174,"satellites":43,"speed":12,"hex_longitude":"2d196a80","hex_latitude":"07205cb0","is_valid_coordinates":true} 
[2026-08-01 13:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105936896001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10151593290760192,"note":"Value kept but may cause issues"} 
[2026-08-01 13:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966576080896,"note":"Value kept but may cause issues"} 
[2026-08-01 13:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785570072000,"timestamp_ms":1785570072000,"timestamp_seconds":1785570072,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc4515c0"} 
[2026-08-01 13:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-08-01 13:14:37] 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-08-01 13:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:14:37] 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-08-01 13:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105936896001,"66":14113,"103":206,"83":41984,"24":12,"16":10151593290760192,"45":1831416966576080896},"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-08-01 13:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105936896001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:14:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 13:14:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10151593290760192,"km_value":10151593290760.191,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966576080896,"description":"Unknown IO ID 45"} 
[2026-08-01 13:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105936896001,"power":14113,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1831416966576080896}} 
[2026-08-01 13:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":146013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:14:37] local.INFO: GPS data processed {"connection_id":146013,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:14:37] local.INFO: Acknowledgment sent {"connection_id":146013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:14:44] local.INFO: TCP Data received {"connection_id":148555,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:14:44] local.INFO: Processing buffer {"connection_id":148555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:14:44] local.INFO: IMEI packet received {"connection_id":148555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":148555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:14:45] local.INFO: TCP Data received {"connection_id":148555,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:14:45] local.INFO: Processing buffer {"connection_id":148555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:14:45] local.INFO: IMEI packet received {"connection_id":148555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":148555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:14:49] local.INFO: TCP Data received {"connection_id":148555,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:14:49] local.INFO: Processing buffer {"connection_id":148555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:14:49] local.INFO: IMEI packet received {"connection_id":148555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":148555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:14:51] local.INFO: TCP Data received {"connection_id":148555,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc4688d8012d0b788006efd4280011015a29..."} 
[2026-08-01 13:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc4688d8012d0b788006efd4280011015a29..."} 
[2026-08-01 13:14:51] local.INFO: Processing buffer {"connection_id":148555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc4688d8012d0b788006efd4280011015a29..."} 
[2026-08-01 13:14:51] local.INFO: Packet analysis {"connection_id":148555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc46"} 
[2026-08-01 13:14:51] local.INFO: Extracted packet for processing {"connection_id":148555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc46"} 
[2026-08-01 13:14:51] local.INFO: GPS Element Parsed {"raw_longitude":755726464,"raw_latitude":116380712,"longitude_deg":75.5726464,"latitude_deg":11.6380712,"altitude":17,"angle":346,"satellites":41,"speed":31,"hex_longitude":"2d0b7880","hex_latitude":"06efd428","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105959424001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366430288818995200,"note":"Value kept but may cause issues"} 
[2026-08-01 13:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":828662361227337728,"note":"Value kept but may cause issues"} 
[2026-08-01 13:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785570167000,"timestamp_ms":1785570167000,"timestamp_seconds":1785570167,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc4688d8"} 
[2026-08-01 13:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 13:14:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13: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-08-01 13:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105959424001,"66":27908,"118":206,"2":56576,"24":31,"16":366430288818995200,"45":828662361227337728},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-01 13:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105959424001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:14:51] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-01 13:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366430288818995200,"km_value":366430288818995.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":828662361227337728,"description":"Unknown IO ID 45"} 
[2026-08-01 13:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105959424001,"power":27908,"unknown_118":206,"power_alt":56576,"ignition":31,"odometer":null,"unknown_45":828662361227337728}} 
[2026-08-01 13:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":148555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:14:51] local.INFO: GPS data processed {"connection_id":148555,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:14:51] local.INFO: Acknowledgment sent {"connection_id":148555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:15:00] local.INFO: TCP Data received {"connection_id":146227,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:15:00] local.INFO: Processing buffer {"connection_id":146227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:15:00] local.INFO: IMEI packet received {"connection_id":146227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 13:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":146227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:15:05] local.INFO: TCP Data received {"connection_id":146227,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:15:05] local.INFO: Processing buffer {"connection_id":146227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:15:05] local.INFO: IMEI packet received {"connection_id":146227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":146227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:15:06] local.INFO: TCP Data received {"connection_id":146227,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc455c10012d196dc007204530002a00bc29..."} 
[2026-08-01 13:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc455c10012d196dc007204530002a00bc29..."} 
[2026-08-01 13:15:06] local.INFO: Processing buffer {"connection_id":146227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc455c10012d196dc007204530002a00bc29..."} 
[2026-08-01 13:15:06] local.INFO: Packet analysis {"connection_id":146227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc45"} 
[2026-08-01 13:15:06] local.INFO: Extracted packet for processing {"connection_id":146227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc45"} 
[2026-08-01 13:15:06] local.INFO: GPS Element Parsed {"raw_longitude":756641216,"raw_latitude":119555376,"longitude_deg":75.6641216,"latitude_deg":11.9555376,"altitude":42,"angle":188,"satellites":41,"speed":19,"hex_longitude":"2d196dc0","hex_latitude":"07204530","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105938432001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10151889643503616,"note":"Value kept but may cause issues"} 
[2026-08-01 13:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966575599616,"note":"Value kept but may cause issues"} 
[2026-08-01 13:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785570090000,"timestamp_ms":1785570090000,"timestamp_seconds":1785570090,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc455c10"} 
[2026-08-01 13:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-01 13:15:06] 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-08-01 13: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-08-01 13:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:15:06] 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-08-01 13:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105938432001,"66":14102,"106":206,"83":41984,"24":19,"16":10151889643503616,"45":1831416966575599616},"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-08-01 13:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105938432001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:15:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-01 13:15:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10151889643503616,"km_value":10151889643503.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966575599616,"description":"Unknown IO ID 45"} 
[2026-08-01 13:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105938432001,"power":14102,"unknown_106":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1831416966575599616}} 
[2026-08-01 13:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":146227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:15:06] local.INFO: GPS data processed {"connection_id":146227,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:15:06] local.INFO: Acknowledgment sent {"connection_id":146227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:15:24] local.INFO: TCP Data received {"connection_id":148555,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc46b3d0012d0b708006eff980000f01592b..."} 
[2026-08-01 13:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc46b3d0012d0b708006eff980000f01592b..."} 
[2026-08-01 13:15:24] local.INFO: Processing buffer {"connection_id":148555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc46b3d0012d0b708006eff980000f01592b..."} 
[2026-08-01 13:15:24] local.INFO: Packet analysis {"connection_id":148555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc46"} 
[2026-08-01 13:15:24] local.INFO: Extracted packet for processing {"connection_id":148555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc46"} 
[2026-08-01 13:15:24] local.INFO: GPS Element Parsed {"raw_longitude":755724416,"raw_latitude":116390272,"longitude_deg":75.5724416,"latitude_deg":11.6390272,"altitude":15,"angle":345,"satellites":43,"speed":39,"hex_longitude":"2d0b7080","hex_latitude":"06eff980","is_valid_coordinates":true} 
[2026-08-01 13:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105962752001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366430761265397760,"note":"Value kept but may cause issues"} 
[2026-08-01 13:15:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":826551298904303616,"note":"Value kept but may cause issues"} 
[2026-08-01 13:15:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785570178000,"timestamp_ms":1785570178000,"timestamp_seconds":1785570178,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc46b3d0"} 
[2026-08-01 13:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:15: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-08-01 13:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 13:15:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:15:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":148555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":148555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":148555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:15:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105962752001,"66":27908,"118":206,"2":56576,"24":39,"16":366430761265397760,"45":826551298904303616},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-01 13:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105962752001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:15:24] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-01 13:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366430761265397760,"km_value":366430761265397.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:15:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":826551298904303616,"description":"Unknown IO ID 45"} 
[2026-08-01 13:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105962752001,"power":27908,"unknown_118":206,"power_alt":56576,"ignition":39,"odometer":null,"unknown_45":826551298904303616}} 
[2026-08-01 13:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":148555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:15:24] local.INFO: GPS data processed {"connection_id":148555,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:15:24] local.INFO: Acknowledgment sent {"connection_id":148555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:15:38] local.INFO: TCP Data received {"connection_id":146227,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc47d0f8012d19670007203358003500fe25..."} 
[2026-08-01 13:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc47d0f8012d19670007203358003500fe25..."} 
[2026-08-01 13:15:38] local.INFO: Processing buffer {"connection_id":146227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc47d0f8012d19670007203358003500fe25..."} 
[2026-08-01 13:15:38] local.INFO: Packet analysis {"connection_id":146227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc47"} 
[2026-08-01 13:15:38] local.INFO: Extracted packet for processing {"connection_id":146227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc47"} 
[2026-08-01 13:15:38] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119550808,"longitude_deg":75.6639488,"latitude_deg":11.9550808,"altitude":53,"angle":254,"satellites":37,"speed":0,"hex_longitude":"2d196700","hex_latitude":"07203358","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105978880001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10152151636508672,"note":"Value kept but may cause issues"} 
[2026-08-01 13:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804154402816,"note":"Value kept but may cause issues"} 
[2026-08-01 13:15: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-08-01 13:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785570251000,"timestamp_ms":1785570251000,"timestamp_seconds":1785570251,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc47d0f8"} 
[2026-08-01 13:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-01 13:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13: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-08-01 13:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:15:38] 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-08-01 13:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105978880001,"66":12265,"103":206,"83":41984,"24":0,"16":10152151636508672,"45":1830431804154402816},"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-08-01 13:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105978880001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:15:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 13:15:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10152151636508672,"km_value":10152151636508.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804154402816,"description":"Unknown IO ID 45"} 
[2026-08-01 13:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105978880001,"power":12265,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804154402816}} 
[2026-08-01 13:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":146227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:15:38] local.INFO: GPS data processed {"connection_id":146227,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:15:38] local.INFO: Acknowledgment sent {"connection_id":146227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:15:49] local.INFO: TCP Data received {"connection_id":148556,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:15:49] local.INFO: Processing buffer {"connection_id":148556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:15:49] local.INFO: IMEI packet received {"connection_id":148556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":148556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:15:55] local.INFO: TCP Data received {"connection_id":148556,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:15:55] local.INFO: Processing buffer {"connection_id":148556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:15:55] local.INFO: IMEI packet received {"connection_id":148556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":148556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:15:57] local.INFO: TCP Data received {"connection_id":148556,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc46d6f8012d0b684006f01d60000d015b2d..."} 
[2026-08-01 13:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc46d6f8012d0b684006f01d60000d015b2d..."} 
[2026-08-01 13:15:57] local.INFO: Processing buffer {"connection_id":148556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc46d6f8012d0b684006f01d60000d015b2d..."} 
[2026-08-01 13:15:57] local.INFO: Packet analysis {"connection_id":148556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc46"} 
[2026-08-01 13:15:57] local.INFO: Extracted packet for processing {"connection_id":148556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc46"} 
[2026-08-01 13:15:57] local.INFO: GPS Element Parsed {"raw_longitude":755722304,"raw_latitude":116399456,"longitude_deg":75.5722304,"latitude_deg":11.6399456,"altitude":13,"angle":347,"satellites":45,"speed":42,"hex_longitude":"2d0b6840","hex_latitude":"06f01d60","is_valid_coordinates":true} 
[2026-08-01 13:15:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:15:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105965568001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:15:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366431216531931136,"note":"Value kept but may cause issues"} 
[2026-08-01 13:15:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":824299499093065728,"note":"Value kept but may cause issues"} 
[2026-08-01 13:15:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:15:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785570187000,"timestamp_ms":1785570187000,"timestamp_seconds":1785570187,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc46d6f8"} 
[2026-08-01 13:15:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:15: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-08-01 13:15:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 13:15:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:15:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:15:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:15:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:15:57] local.INFO: Teltonika packet parsed successfully {"connection_id":148556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:15:57] local.INFO: Passing IMEI to GPS processor {"connection_id":148556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:15:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":148556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:15:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:15:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:15:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:15:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105965568001,"66":27245,"118":206,"2":56576,"24":42,"16":366431216531931136,"45":824299499093065728},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-01 13:15:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:15:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:15:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105965568001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:15:57] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-01 13:15:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366431216531931136,"km_value":366431216531931.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:15:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":824299499093065728,"description":"Unknown IO ID 45"} 
[2026-08-01 13:15:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105965568001,"power":27245,"unknown_118":206,"power_alt":56576,"ignition":42,"odometer":null,"unknown_45":824299499093065728}} 
[2026-08-01 13:15:57] local.INFO: DEBUG: GPS processor result {"connection_id":148556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:15:57] local.INFO: GPS data processed {"connection_id":148556,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:15:57] local.INFO: Acknowledgment sent {"connection_id":148556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:15:58] local.INFO: TCP Data received {"connection_id":148556,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc46fa20012d0b608006f041e0000d01592c..."} 
[2026-08-01 13:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc46fa20012d0b608006f041e0000d01592c..."} 
[2026-08-01 13:15:58] local.INFO: Processing buffer {"connection_id":148556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc46fa20012d0b608006f041e0000d01592c..."} 
[2026-08-01 13:15:58] local.INFO: Packet analysis {"connection_id":148556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc46"} 
[2026-08-01 13:15:58] local.INFO: Extracted packet for processing {"connection_id":148556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc46"} 
[2026-08-01 13:15:58] local.INFO: GPS Element Parsed {"raw_longitude":755720320,"raw_latitude":116408800,"longitude_deg":75.572032,"latitude_deg":11.64088,"altitude":13,"angle":345,"satellites":44,"speed":41,"hex_longitude":"2d0b6080","hex_latitude":"06f041e0","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105967872001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366431680388399104,"note":"Value kept but may cause issues"} 
[2026-08-01 13:15:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":821977330537553920,"note":"Value kept but may cause issues"} 
[2026-08-01 13:15:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785570196000,"timestamp_ms":1785570196000,"timestamp_seconds":1785570196,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc46fa20"} 
[2026-08-01 13:15:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:15: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-08-01 13: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-01 13:15:58] 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-08-01 13: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-08-01 13:15:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":148556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":148556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":148556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:15:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:15:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:15:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105967872001,"66":27800,"118":206,"2":56576,"24":41,"16":366431680388399104,"45":821977330537553920},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-01 13:15:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:15:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:15:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105967872001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:15:58] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-01 13:15:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366431680388399104,"km_value":366431680388399.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:15:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":821977330537553920,"description":"Unknown IO ID 45"} 
[2026-08-01 13:15:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105967872001,"power":27800,"unknown_118":206,"power_alt":56576,"ignition":41,"odometer":null,"unknown_45":821977330537553920}} 
[2026-08-01 13:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":148556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:15:58] local.INFO: GPS data processed {"connection_id":148556,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:15:58] local.INFO: Acknowledgment sent {"connection_id":148556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:16:00] local.INFO: TCP Data received {"connection_id":146228,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:16:00] local.INFO: Processing buffer {"connection_id":146228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:16:00] local.INFO: IMEI packet received {"connection_id":146228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 13:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":146228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:16:05] local.INFO: TCP Data received {"connection_id":146228,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:16:05] local.INFO: Processing buffer {"connection_id":146228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:16:05] local.INFO: IMEI packet received {"connection_id":146228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":146228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:16:06] local.INFO: TCP Data received {"connection_id":146228,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc482300012d19670007203358003500fe28..."} 
[2026-08-01 13:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc482300012d19670007203358003500fe28..."} 
[2026-08-01 13:16:06] local.INFO: Processing buffer {"connection_id":146228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc482300012d19670007203358003500fe28..."} 
[2026-08-01 13:16:06] local.INFO: Packet analysis {"connection_id":146228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc48"} 
[2026-08-01 13:16:06] local.INFO: Extracted packet for processing {"connection_id":146228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc48"} 
[2026-08-01 13:16:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119550808,"longitude_deg":75.6639488,"latitude_deg":11.9550808,"altitude":53,"angle":254,"satellites":40,"speed":0,"hex_longitude":"2d196700","hex_latitude":"07203358","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105984256001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10152151636508672,"note":"Value kept but may cause issues"} 
[2026-08-01 13:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804154402816,"note":"Value kept but may cause issues"} 
[2026-08-01 13:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785570272000,"timestamp_ms":1785570272000,"timestamp_seconds":1785570272,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc482300"} 
[2026-08-01 13:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-01 13:16:06] 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-08-01 13: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-08-01 13:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:16:06] 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-08-01 13:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105984256001,"66":12232,"103":206,"83":41984,"24":0,"16":10152151636508672,"45":1830431804154402816},"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-08-01 13:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105984256001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:16:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 13:16:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10152151636508672,"km_value":10152151636508.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804154402816,"description":"Unknown IO ID 45"} 
[2026-08-01 13:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105984256001,"power":12232,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804154402816}} 
[2026-08-01 13:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":146228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577259,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:16:06] local.INFO: GPS data processed {"connection_id":146228,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:16:06] local.INFO: Acknowledgment sent {"connection_id":146228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:16:37] local.INFO: TCP Data received {"connection_id":146228,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc487508012d19670007203358003500fe27..."} 
[2026-08-01 13:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc487508012d19670007203358003500fe27..."} 
[2026-08-01 13:16:37] local.INFO: Processing buffer {"connection_id":146228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc487508012d19670007203358003500fe27..."} 
[2026-08-01 13:16:37] local.INFO: Packet analysis {"connection_id":146228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc48"} 
[2026-08-01 13:16:37] local.INFO: Extracted packet for processing {"connection_id":146228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc48"} 
[2026-08-01 13:16:37] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119550808,"longitude_deg":75.6639488,"latitude_deg":11.9550808,"altitude":53,"angle":254,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"07203358","is_valid_coordinates":true} 
[2026-08-01 13:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105989632001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10152151636508672,"note":"Value kept but may cause issues"} 
[2026-08-01 13:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804154402816,"note":"Value kept but may cause issues"} 
[2026-08-01 13:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785570293000,"timestamp_ms":1785570293000,"timestamp_seconds":1785570293,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc487508"} 
[2026-08-01 13:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-01 13:16:37] 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-08-01 13:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:16:37] 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-08-01 13:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105989632001,"66":12156,"103":206,"83":41984,"24":0,"16":10152151636508672,"45":1830431804154402816},"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-08-01 13:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105989632001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:16:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 13:16:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10152151636508672,"km_value":10152151636508.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804154402816,"description":"Unknown IO ID 45"} 
[2026-08-01 13:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105989632001,"power":12156,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804154402816}} 
[2026-08-01 13:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":146228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:16:37] local.INFO: GPS data processed {"connection_id":146228,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:16:37] local.INFO: Acknowledgment sent {"connection_id":146228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:16:41] local.INFO: TCP Data received {"connection_id":146229,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:16:41] local.INFO: Processing buffer {"connection_id":146229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:16:41] local.INFO: IMEI packet received {"connection_id":146229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":146229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:16:45] local.INFO: TCP Data received {"connection_id":146229,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:16:45] local.INFO: Processing buffer {"connection_id":146229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:16:45] local.INFO: IMEI packet received {"connection_id":146229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":146229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:16:49] local.INFO: TCP Data received {"connection_id":146229,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:16:49] local.INFO: Processing buffer {"connection_id":146229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:16:49] local.INFO: IMEI packet received {"connection_id":146229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":146229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:16:51] local.INFO: TCP Data received {"connection_id":146229,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc48cee0012d0a894006f14fa80011012c2a..."} 
[2026-08-01 13:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc48cee0012d0a894006f14fa80011012c2a..."} 
[2026-08-01 13:16:51] local.INFO: Processing buffer {"connection_id":146229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc48cee0012d0a894006f14fa80011012c2a..."} 
[2026-08-01 13:16:51] local.INFO: Packet analysis {"connection_id":146229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc48"} 
[2026-08-01 13:16:51] local.INFO: Extracted packet for processing {"connection_id":146229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc48"} 
[2026-08-01 13:16:51] local.INFO: GPS Element Parsed {"raw_longitude":755665216,"raw_latitude":116477864,"longitude_deg":75.5665216,"latitude_deg":11.6477864,"altitude":17,"angle":300,"satellites":42,"speed":33,"hex_longitude":"2d0a8940","hex_latitude":"06f14fa8","is_valid_coordinates":true} 
[2026-08-01 13:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105998080001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366436099909746688,"note":"Value kept but may cause issues"} 
[2026-08-01 13:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":767723028795480064,"note":"Value kept but may cause issues"} 
[2026-08-01 13:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785570316000,"timestamp_ms":1785570316000,"timestamp_seconds":1785570316,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc48cee0"} 
[2026-08-01 13:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:16:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 13:16:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:16:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":146229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":146229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":146229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105998080001,"66":27908,"118":206,"2":56576,"24":33,"16":366436099909746688,"45":767723028795480064},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-01 13:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105998080001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:16:51] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-01 13:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366436099909746688,"km_value":366436099909746.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":767723028795480064,"description":"Unknown IO ID 45"} 
[2026-08-01 13:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105998080001,"power":27908,"unknown_118":206,"power_alt":56576,"ignition":33,"odometer":null,"unknown_45":767723028795480064}} 
[2026-08-01 13:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":146229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:16:51] local.INFO: GPS data processed {"connection_id":146229,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:16:51] local.INFO: Acknowledgment sent {"connection_id":146229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:17:00] local.INFO: TCP Data received {"connection_id":148557,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148557,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:17:00] local.INFO: Processing buffer {"connection_id":148557,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:17:00] local.INFO: IMEI packet received {"connection_id":148557,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 13:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":148557,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:17:05] local.INFO: TCP Data received {"connection_id":148557,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148557,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:17:05] local.INFO: Processing buffer {"connection_id":148557,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:17:05] local.INFO: IMEI packet received {"connection_id":148557,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":148557,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:17:06] local.INFO: TCP Data received {"connection_id":148557,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc48c710012d19670007203358003500fe2a..."} 
[2026-08-01 13:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc48c710012d19670007203358003500fe2a..."} 
[2026-08-01 13:17:06] local.INFO: Processing buffer {"connection_id":148557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc48c710012d19670007203358003500fe2a..."} 
[2026-08-01 13:17:06] local.INFO: Packet analysis {"connection_id":148557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc48"} 
[2026-08-01 13:17:06] local.INFO: Extracted packet for processing {"connection_id":148557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc48"} 
[2026-08-01 13:17:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119550808,"longitude_deg":75.6639488,"latitude_deg":11.9550808,"altitude":53,"angle":254,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"07203358","is_valid_coordinates":true} 
[2026-08-01 13:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457105995008001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10152151636508672,"note":"Value kept but may cause issues"} 
[2026-08-01 13:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804154402816,"note":"Value kept but may cause issues"} 
[2026-08-01 13:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785570314000,"timestamp_ms":1785570314000,"timestamp_seconds":1785570314,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc48c710"} 
[2026-08-01 13:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:17:06] 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-08-01 13:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-01 13:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:17:06] 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-08-01 13:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457105995008001,"66":12145,"103":206,"83":41984,"24":0,"16":10152151636508672,"45":1830431804154402816},"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-08-01 13:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457105995008001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:17:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 13:17:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10152151636508672,"km_value":10152151636508.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804154402816,"description":"Unknown IO ID 45"} 
[2026-08-01 13:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457105995008001,"power":12145,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804154402816}} 
[2026-08-01 13:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":148557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:17:06] local.INFO: GPS data processed {"connection_id":148557,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:17:06] local.INFO: Acknowledgment sent {"connection_id":148557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:17:23] local.INFO: TCP Data received {"connection_id":146229,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc4901a8012d0a6a8006f163780012012c26..."} 
[2026-08-01 13:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc4901a8012d0a6a8006f163780012012c26..."} 
[2026-08-01 13:17:23] local.INFO: Processing buffer {"connection_id":146229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc4901a8012d0a6a8006f163780012012c26..."} 
[2026-08-01 13:17:23] local.INFO: Packet analysis {"connection_id":146229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc49"} 
[2026-08-01 13:17:23] local.INFO: Extracted packet for processing {"connection_id":146229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc49"} 
[2026-08-01 13:17:23] local.INFO: GPS Element Parsed {"raw_longitude":755657344,"raw_latitude":116482936,"longitude_deg":75.5657344,"latitude_deg":11.6482936,"altitude":18,"angle":300,"satellites":38,"speed":21,"hex_longitude":"2d0a6a80","hex_latitude":"06f16378","is_valid_coordinates":true} 
[2026-08-01 13:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106000896001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366436546586345472,"note":"Value kept but may cause issues"} 
[2026-08-01 13:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":759208410751150080,"note":"Value kept but may cause issues"} 
[2026-08-01 13:17:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785570329000,"timestamp_ms":1785570329000,"timestamp_seconds":1785570329,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc4901a8"} 
[2026-08-01 13:17:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:17:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 13:17:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:17:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:17:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":146229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":146229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":146229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:17:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106000896001,"66":27908,"119":206,"2":56576,"24":21,"16":366436546586345472,"45":759208410751150080},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-08-01 13:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106000896001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:17:23] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-01 13:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366436546586345472,"km_value":366436546586345.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":759208410751150080,"description":"Unknown IO ID 45"} 
[2026-08-01 13:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106000896001,"power":27908,"unknown_119":206,"power_alt":56576,"ignition":21,"odometer":null,"unknown_45":759208410751150080}} 
[2026-08-01 13:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":146229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:17:23] local.INFO: GPS data processed {"connection_id":146229,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:17:23] local.INFO: Acknowledgment sent {"connection_id":146229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:17:37] local.INFO: TCP Data received {"connection_id":148557,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc491918012d19670007203358003500fe2a..."} 
[2026-08-01 13:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc491918012d19670007203358003500fe2a..."} 
[2026-08-01 13:17:37] local.INFO: Processing buffer {"connection_id":148557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc491918012d19670007203358003500fe2a..."} 
[2026-08-01 13:17:37] local.INFO: Packet analysis {"connection_id":148557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc49"} 
[2026-08-01 13:17:37] local.INFO: Extracted packet for processing {"connection_id":148557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc49"} 
[2026-08-01 13:17:37] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119550808,"longitude_deg":75.6639488,"latitude_deg":11.9550808,"altitude":53,"angle":254,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"07203358","is_valid_coordinates":true} 
[2026-08-01 13:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106000384001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10152151636508672,"note":"Value kept but may cause issues"} 
[2026-08-01 13:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804154402816,"note":"Value kept but may cause issues"} 
[2026-08-01 13:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785570335000,"timestamp_ms":1785570335000,"timestamp_seconds":1785570335,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc491918"} 
[2026-08-01 13:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-01 13:17:37] 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-08-01 13:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:17:37] 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-08-01 13:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106000384001,"66":12113,"103":206,"83":41984,"24":0,"16":10152151636508672,"45":1830431804154402816},"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-08-01 13:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106000384001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:17:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 13:17:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10152151636508672,"km_value":10152151636508.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804154402816,"description":"Unknown IO ID 45"} 
[2026-08-01 13:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106000384001,"power":12113,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804154402816}} 
[2026-08-01 13:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":148557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577264,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:17:37] local.INFO: GPS data processed {"connection_id":148557,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:17:37] local.INFO: Acknowledgment sent {"connection_id":148557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:17:44] local.INFO: TCP Data received {"connection_id":146230,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:17:44] local.INFO: Processing buffer {"connection_id":146230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:17:44] local.INFO: IMEI packet received {"connection_id":146230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":146230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:17:46] local.INFO: TCP Data received {"connection_id":146230,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:17:46] local.INFO: Processing buffer {"connection_id":146230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:17:46] local.INFO: IMEI packet received {"connection_id":146230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":146230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:17:49] local.INFO: TCP Data received {"connection_id":146230,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:17:49] local.INFO: Processing buffer {"connection_id":146230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:17:49] local.INFO: IMEI packet received {"connection_id":146230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":146230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:17:51] local.INFO: TCP Data received {"connection_id":146230,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc493c40012d0a4b8006f177b00011012e27..."} 
[2026-08-01 13:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc493c40012d0a4b8006f177b00011012e27..."} 
[2026-08-01 13:17:51] local.INFO: Processing buffer {"connection_id":146230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc493c40012d0a4b8006f177b00011012e27..."} 
[2026-08-01 13:17:51] local.INFO: Packet analysis {"connection_id":146230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc49"} 
[2026-08-01 13:17:51] local.INFO: Extracted packet for processing {"connection_id":146230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc49"} 
[2026-08-01 13:17:51] local.INFO: GPS Element Parsed {"raw_longitude":755649408,"raw_latitude":116488112,"longitude_deg":75.5649408,"latitude_deg":11.6488112,"altitude":17,"angle":302,"satellites":39,"speed":30,"hex_longitude":"2d0a4b80","hex_latitude":"06f177b0","is_valid_coordinates":true} 
[2026-08-01 13:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106004224001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366436997557911552,"note":"Value kept but may cause issues"} 
[2026-08-01 13:17:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":750553055218595840,"note":"Value kept but may cause issues"} 
[2026-08-01 13:17:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785570344000,"timestamp_ms":1785570344000,"timestamp_seconds":1785570344,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc493c40"} 
[2026-08-01 13:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:17:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 13:17: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-08-01 13:17:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":146230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":146230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":146230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:17:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106004224001,"66":27713,"119":206,"2":56576,"24":30,"16":366436997557911552,"45":750553055218595840},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-08-01 13:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106004224001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:17:51] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-01 13:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366436997557911552,"km_value":366436997557911.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:17:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":750553055218595840,"description":"Unknown IO ID 45"} 
[2026-08-01 13:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106004224001,"power":27713,"unknown_119":206,"power_alt":56576,"ignition":30,"odometer":null,"unknown_45":750553055218595840}} 
[2026-08-01 13:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":146230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:17:51] local.INFO: GPS data processed {"connection_id":146230,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:17:51] local.INFO: Acknowledgment sent {"connection_id":146230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:18:00] local.INFO: TCP Data received {"connection_id":146014,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:18:00] local.INFO: Processing buffer {"connection_id":146014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:18:00] local.INFO: IMEI packet received {"connection_id":146014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 13:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":146014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:18:05] local.INFO: TCP Data received {"connection_id":146014,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:18:05] local.INFO: Processing buffer {"connection_id":146014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:18:05] local.INFO: IMEI packet received {"connection_id":146014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":146014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:18:06] local.INFO: TCP Data received {"connection_id":146014,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc496b20012d19670007203358003500fe2a..."} 
[2026-08-01 13:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc496b20012d19670007203358003500fe2a..."} 
[2026-08-01 13:18:06] local.INFO: Processing buffer {"connection_id":146014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc496b20012d19670007203358003500fe2a..."} 
[2026-08-01 13:18:06] local.INFO: Packet analysis {"connection_id":146014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc49"} 
[2026-08-01 13:18:06] local.INFO: Extracted packet for processing {"connection_id":146014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc49"} 
[2026-08-01 13:18:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119550808,"longitude_deg":75.6639488,"latitude_deg":11.9550808,"altitude":53,"angle":254,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"07203358","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106005760001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10152151636508672,"note":"Value kept but may cause issues"} 
[2026-08-01 13:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804154402816,"note":"Value kept but may cause issues"} 
[2026-08-01 13:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785570356000,"timestamp_ms":1785570356000,"timestamp_seconds":1785570356,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc496b20"} 
[2026-08-01 13:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-08-01 13:18:06] 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-08-01 13: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-08-01 13:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:18:06] 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-08-01 13:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106005760001,"66":12385,"103":206,"83":41984,"24":0,"16":10152151636508672,"45":1830431804154402816},"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-08-01 13:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106005760001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:18:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 13:18:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10152151636508672,"km_value":10152151636508.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804154402816,"description":"Unknown IO ID 45"} 
[2026-08-01 13:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106005760001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804154402816}} 
[2026-08-01 13:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":146014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:18:06] local.INFO: GPS data processed {"connection_id":146014,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:18:06] local.INFO: Acknowledgment sent {"connection_id":146014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:18:22] local.INFO: TCP Data received {"connection_id":146230,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc496350012d0a2dc006f18a580010012f2a..."} 
[2026-08-01 13:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc496350012d0a2dc006f18a580010012f2a..."} 
[2026-08-01 13:18:22] local.INFO: Processing buffer {"connection_id":146230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc496350012d0a2dc006f18a580010012f2a..."} 
[2026-08-01 13:18:22] local.INFO: Packet analysis {"connection_id":146230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc49"} 
[2026-08-01 13:18:22] local.INFO: Extracted packet for processing {"connection_id":146230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc49"} 
[2026-08-01 13:18:22] local.INFO: GPS Element Parsed {"raw_longitude":755641792,"raw_latitude":116492888,"longitude_deg":75.5641792,"latitude_deg":11.6492888,"altitude":16,"angle":303,"satellites":42,"speed":39,"hex_longitude":"2d0a2dc0","hex_latitude":"06f18a58","is_valid_coordinates":true} 
[2026-08-01 13:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106008064001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366437427054641152,"note":"Value kept but may cause issues"} 
[2026-08-01 13:18:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":741827330941890560,"note":"Value kept but may cause issues"} 
[2026-08-01 13:18:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785570354000,"timestamp_ms":1785570354000,"timestamp_seconds":1785570354,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc496350"} 
[2026-08-01 13:18:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:18:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 13:18:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:18:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:18:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:18:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106008064001,"66":27876,"119":206,"2":56576,"24":39,"16":366437427054641152,"45":741827330941890560},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-08-01 13:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106008064001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:18:22] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-01 13:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366437427054641152,"km_value":366437427054641.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:18:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":741827330941890560,"description":"Unknown IO ID 45"} 
[2026-08-01 13:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106008064001,"power":27876,"unknown_119":206,"power_alt":56576,"ignition":39,"odometer":null,"unknown_45":741827330941890560}} 
[2026-08-01 13:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":146230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:18:22] local.INFO: GPS data processed {"connection_id":146230,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:18:22] local.INFO: Acknowledgment sent {"connection_id":146230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:18:37] local.INFO: TCP Data received {"connection_id":146014,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc4b2488012d196c0007205f10003000042c..."} 
[2026-08-01 13:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc4b2488012d196c0007205f10003000042c..."} 
[2026-08-01 13:18:37] local.INFO: Processing buffer {"connection_id":146014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc4b2488012d196c0007205f10003000042c..."} 
[2026-08-01 13:18:37] local.INFO: Packet analysis {"connection_id":146014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc4b"} 
[2026-08-01 13:18:37] local.INFO: Extracted packet for processing {"connection_id":146014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc4b"} 
[2026-08-01 13:18:37] local.INFO: GPS Element Parsed {"raw_longitude":756640768,"raw_latitude":119562000,"longitude_deg":75.6640768,"latitude_deg":11.9562,"altitude":48,"angle":4,"satellites":44,"speed":11,"hex_longitude":"2d196c00","hex_latitude":"07205f10","is_valid_coordinates":true} 
[2026-08-01 13:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106035968001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10152800176570368,"note":"Value kept but may cause issues"} 
[2026-08-01 13:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832542866481217536,"note":"Value kept but may cause issues"} 
[2026-08-01 13:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785570469000,"timestamp_ms":1785570469000,"timestamp_seconds":1785570469,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc4b2488"} 
[2026-08-01 13:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-01 13:18:37] 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-08-01 13:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:18:37] 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-08-01 13:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106035968001,"66":14352,"103":206,"83":41984,"24":11,"16":10152800176570368,"45":1832542866481217536},"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-08-01 13:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106035968001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:18:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 13:18:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10152800176570368,"km_value":10152800176570.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832542866481217536,"description":"Unknown IO ID 45"} 
[2026-08-01 13:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106035968001,"power":14352,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1832542866481217536}} 
[2026-08-01 13:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":146014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:18:37] local.INFO: GPS data processed {"connection_id":146014,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:18:37] local.INFO: Acknowledgment sent {"connection_id":146014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:18:44] local.INFO: TCP Data received {"connection_id":146015,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:18:44] local.INFO: Processing buffer {"connection_id":146015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:18:44] local.INFO: IMEI packet received {"connection_id":146015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":146015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:18:46] local.INFO: TCP Data received {"connection_id":146015,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:18:46] local.INFO: Processing buffer {"connection_id":146015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:18:46] local.INFO: IMEI packet received {"connection_id":146015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":146015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:19:04] local.INFO: TCP Data received {"connection_id":147235,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:19:04] local.INFO: Processing buffer {"connection_id":147235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:19:04] local.INFO: IMEI packet received {"connection_id":147235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 13:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":147235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:19:05] local.INFO: TCP Data received {"connection_id":147235,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:19:05] local.INFO: Processing buffer {"connection_id":147235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:19:05] local.INFO: IMEI packet received {"connection_id":147235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":147235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:19:09] local.INFO: TCP Data received {"connection_id":146015,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:19:09] local.INFO: Processing buffer {"connection_id":146015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:19:09] local.INFO: IMEI packet received {"connection_id":146015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":146015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:19:10] local.INFO: TCP Data received {"connection_id":147235,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:19:10] local.INFO: Processing buffer {"connection_id":147235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:19:10] local.INFO: IMEI packet received {"connection_id":147235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":147235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:19:11] local.INFO: TCP Data received {"connection_id":147235,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc4b3bf8012d196cc007206490002f015d2d..."} 
[2026-08-01 13:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc4b3bf8012d196cc007206490002f015d2d..."} 
[2026-08-01 13:19:11] local.INFO: Processing buffer {"connection_id":147235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc4b3bf8012d196cc007206490002f015d2d..."} 
[2026-08-01 13:19:11] local.INFO: Packet analysis {"connection_id":147235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc4b"} 
[2026-08-01 13:19:11] local.INFO: Extracted packet for processing {"connection_id":147235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc4b"} 
[2026-08-01 13:19:11] local.INFO: GPS Element Parsed {"raw_longitude":756640960,"raw_latitude":119563408,"longitude_deg":75.664096,"latitude_deg":11.9563408,"altitude":47,"angle":349,"satellites":45,"speed":6,"hex_longitude":"2d196cc0","hex_latitude":"07206490","is_valid_coordinates":true} 
[2026-08-01 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-08-01 13:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106040064001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10152868896047104,"note":"Value kept but may cause issues"} 
[2026-08-01 13:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831839179040821248,"note":"Value kept but may cause issues"} 
[2026-08-01 13:19: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-08-01 13:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785570475000,"timestamp_ms":1785570475000,"timestamp_seconds":1785570475,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc4b3bf8"} 
[2026-08-01 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-08-01 13:19: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-08-01 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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-01 13:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733141504,"note":"Value kept but may cause issues"} 
[2026-08-01 13:19:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-01 13:19:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 13:19:11] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3159003160,"note":"Value kept but may cause issues"} 
[2026-08-01 13:19:11] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-01 13:19:11] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503754538549248,"note":"Value kept but may cause issues"} 
[2026-08-01 13:19:11] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638195278051431,"note":"Value kept but may cause issues"} 
[2026-08-01 13:19:11] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5188410657820967168,"note":"Value kept but may cause issues"} 
[2026-08-01 13:19:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-01 13:19:11] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-01 13:19:11] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3036728696,"note":"Value kept but may cause issues"} 
[2026-08-01 13:19:11] local.WARNING: Large IO value detected {"io_id":48,"raw_value":84751918563794996,"note":"Value kept but may cause issues"} 
[2026-08-01 13:19:11] local.WARNING: Large IO value detected {"io_id":104,"raw_value":15481343450284544,"note":"Value kept but may cause issues"} 
[2026-08-01 13:19:11] local.WARNING: Large IO value detected {"io_id":25,"raw_value":7349882426729431096,"note":"Value kept but may cause issues"} 
[2026-08-01 13:19:11] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,103,83,24,241,157,16,17,159,230,45,128,74,49,41,10,66,183,53,54,42,155,192,1,240,55,227,188,32,4,113,205,2,148,108,152,43,239,52,36,7,206,48,104,25],"length":628,"final_offset":758,"validated_count":45,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-01 13:19:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3458769100846333952,"timestamp_seconds":3458769100846334.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 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-08-01 13:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":147235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":147235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":147235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:19: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-08-01 13:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106040064001,"66":14396,"103":206,"83":41984,"24":6,"16":10152868896047104,"45":1831839179040821248},"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-08-01 13:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106040064001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:19:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 13:19:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10152868896047104,"km_value":10152868896047.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831839179040821248,"description":"Unknown IO ID 45"} 
[2026-08-01 13:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106040064001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1831839179040821248}} 
[2026-08-01 13:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":147235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:19:11] local.INFO: GPS data processed {"connection_id":147235,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:19:11] local.INFO: Acknowledgment sent {"connection_id":147235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:19:16] local.INFO: TCP Data received {"connection_id":147235,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc4b47b0012d196bc007206710002f014c2d..."} 
[2026-08-01 13:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc4b47b0012d196bc007206710002f014c2d..."} 
[2026-08-01 13:19:16] local.INFO: Processing buffer {"connection_id":147235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc4b47b0012d196bc007206710002f014c2d..."} 
[2026-08-01 13:19:16] local.INFO: Packet analysis {"connection_id":147235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc4b"} 
[2026-08-01 13:19:16] local.INFO: Extracted packet for processing {"connection_id":147235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc4b"} 
[2026-08-01 13:19:16] local.INFO: GPS Element Parsed {"raw_longitude":756640704,"raw_latitude":119564048,"longitude_deg":75.6640704,"latitude_deg":11.9564048,"altitude":47,"angle":332,"satellites":45,"speed":11,"hex_longitude":"2d196bc0","hex_latitude":"07206710","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106041600001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10152903255785472,"note":"Value kept but may cause issues"} 
[2026-08-01 13:19:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832050285273714688,"note":"Value kept but may cause issues"} 
[2026-08-01 13:19: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-08-01 13:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785570478000,"timestamp_ms":1785570478000,"timestamp_seconds":1785570478,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc4b47b0"} 
[2026-08-01 13:19:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:19: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-08-01 13: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-01 13:19:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13: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-08-01 13:19:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":147235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":147235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":147235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:19: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-08-01 13:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106041600001,"66":14374,"103":206,"83":41984,"24":11,"16":10152903255785472,"45":1832050285273714688},"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-08-01 13:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106041600001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:19:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 13:19:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10152903255785472,"km_value":10152903255785.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:19:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832050285273714688,"description":"Unknown IO ID 45"} 
[2026-08-01 13:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106041600001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1832050285273714688}} 
[2026-08-01 13:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":147235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:19:16] local.INFO: GPS data processed {"connection_id":147235,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:19:16] local.INFO: Acknowledgment sent {"connection_id":147235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:19:20] local.INFO: TCP Data received {"connection_id":146015,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc4b0d18012d09ad0006f2a038000c000a29..."} 
[2026-08-01 13:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc4b0d18012d09ad0006f2a038000c000a29..."} 
[2026-08-01 13:19:20] local.INFO: Processing buffer {"connection_id":146015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc4b0d18012d09ad0006f2a038000c000a29..."} 
[2026-08-01 13:19:20] local.INFO: Packet analysis {"connection_id":146015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc4b"} 
[2026-08-01 13:19:20] local.INFO: Extracted packet for processing {"connection_id":146015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc4b"} 
[2026-08-01 13:19:20] local.INFO: GPS Element Parsed {"raw_longitude":755608832,"raw_latitude":116564024,"longitude_deg":75.5608832,"latitude_deg":11.6564024,"altitude":12,"angle":10,"satellites":41,"speed":26,"hex_longitude":"2d09ad00","hex_latitude":"06f2a038","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106038016001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366441369834618880,"note":"Value kept but may cause issues"} 
[2026-08-01 13:19:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":697143178408161280,"note":"Value kept but may cause issues"} 
[2026-08-01 13:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785570463000,"timestamp_ms":1785570463000,"timestamp_seconds":1785570463,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc4b0d18"} 
[2026-08-01 13:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:19: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-08-01 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 13:19: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-08-01 13: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-08-01 13:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:19:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106038016001,"66":27615,"119":206,"2":56576,"24":26,"16":366441369834618880,"45":697143178408161280},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-08-01 13:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106038016001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:19:20] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-01 13:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366441369834618880,"km_value":366441369834618.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:19:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":697143178408161280,"description":"Unknown IO ID 45"} 
[2026-08-01 13:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106038016001,"power":27615,"unknown_119":206,"power_alt":56576,"ignition":26,"odometer":null,"unknown_45":697143178408161280}} 
[2026-08-01 13:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":146015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:19:20] local.INFO: GPS data processed {"connection_id":146015,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:19:20] local.INFO: Acknowledgment sent {"connection_id":146015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:19:26] local.INFO: TCP Data received {"connection_id":146015,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc4b2c58012d09b00006f2b048000e016528..."} 
[2026-08-01 13:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc4b2c58012d09b00006f2b048000e016528..."} 
[2026-08-01 13:19:26] local.INFO: Processing buffer {"connection_id":146015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc4b2c58012d09b00006f2b048000e016528..."} 
[2026-08-01 13:19:26] local.INFO: Packet analysis {"connection_id":146015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc4b"} 
[2026-08-01 13:19:26] local.INFO: Extracted packet for processing {"connection_id":146015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc4b"} 
[2026-08-01 13:19:26] local.INFO: GPS Element Parsed {"raw_longitude":755609600,"raw_latitude":116568136,"longitude_deg":75.56096,"latitude_deg":11.6568136,"altitude":14,"angle":357,"satellites":40,"speed":18,"hex_longitude":"2d09b000","hex_latitude":"06f2b048","is_valid_coordinates":true} 
[2026-08-01 13:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106038528001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366441571698081792,"note":"Value kept but may cause issues"} 
[2026-08-01 13:19:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":697213547152685056,"note":"Value kept but may cause issues"} 
[2026-08-01 13:19:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785570471000,"timestamp_ms":1785570471000,"timestamp_seconds":1785570471,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc4b2c58"} 
[2026-08-01 13:19:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:19:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-01 13:19:26] 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-08-01 13:19:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:19:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":146015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":146015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":146015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:19:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106038528001,"66":27365,"119":206,"2":56576,"24":18,"16":366441571698081792,"45":697213547152685056},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-08-01 13:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106038528001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:19:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-01 13:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366441571698081792,"km_value":366441571698081.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:19:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":697213547152685056,"description":"Unknown IO ID 45"} 
[2026-08-01 13:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106038528001,"power":27365,"unknown_119":206,"power_alt":56576,"ignition":18,"odometer":null,"unknown_45":697213547152685056}} 
[2026-08-01 13:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":146015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:19:26] local.INFO: GPS data processed {"connection_id":146015,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:19:26] local.INFO: Acknowledgment sent {"connection_id":146015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:19:49] local.INFO: TCP Data received {"connection_id":148558,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:19:49] local.INFO: Processing buffer {"connection_id":148558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:19:49] local.INFO: IMEI packet received {"connection_id":148558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":148558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:19:54] local.INFO: TCP Data received {"connection_id":148558,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:19:54] local.INFO: Processing buffer {"connection_id":148558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:19:54] local.INFO: IMEI packet received {"connection_id":148558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":148558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:19:56] local.INFO: TCP Data received {"connection_id":148558,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc4b6ec0012d09acc006f2d438001101612b..."} 
[2026-08-01 13:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc4b6ec0012d09acc006f2d438001101612b..."} 
[2026-08-01 13:19:56] local.INFO: Processing buffer {"connection_id":148558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc4b6ec0012d09acc006f2d438001101612b..."} 
[2026-08-01 13:19:56] local.INFO: Packet analysis {"connection_id":148558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc4b"} 
[2026-08-01 13:19:56] local.INFO: Extracted packet for processing {"connection_id":148558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc4b"} 
[2026-08-01 13:19:56] local.INFO: GPS Element Parsed {"raw_longitude":755608768,"raw_latitude":116577336,"longitude_deg":75.5608768,"latitude_deg":11.6577336,"altitude":17,"angle":353,"satellites":43,"speed":24,"hex_longitude":"2d09acc0","hex_latitude":"06f2d438","is_valid_coordinates":true} 
[2026-08-01 13:19:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106040576001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366442018374680576,"note":"Value kept but may cause issues"} 
[2026-08-01 13:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":698057972083869696,"note":"Value kept but may cause issues"} 
[2026-08-01 13:19:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785570488000,"timestamp_ms":1785570488000,"timestamp_seconds":1785570488,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc4b6ec0"} 
[2026-08-01 13:19:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:19:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:19:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-01 13:19:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:19:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:19:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":148558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":148558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":148558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:19:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106040576001,"66":27865,"119":206,"2":56576,"24":24,"16":366442018374680576,"45":698057972083869696},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-08-01 13:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106040576001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:19:56] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-01 13:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366442018374680576,"km_value":366442018374680.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":698057972083869696,"description":"Unknown IO ID 45"} 
[2026-08-01 13:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106040576001,"power":27865,"unknown_119":206,"power_alt":56576,"ignition":24,"odometer":null,"unknown_45":698057972083869696}} 
[2026-08-01 13:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":148558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:19:56] local.INFO: GPS data processed {"connection_id":148558,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:19:56] local.INFO: Acknowledgment sent {"connection_id":148558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:19:56] local.INFO: TCP Data received {"connection_id":146231,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:19:56] local.INFO: Processing buffer {"connection_id":146231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:19:56] local.INFO: IMEI packet received {"connection_id":146231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 13:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":146231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:19:57] local.INFO: TCP Data received {"connection_id":148558,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc4ba570012d09a98006f2f750001201632a..."} 
[2026-08-01 13:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc4ba570012d09a98006f2f750001201632a..."} 
[2026-08-01 13:19:57] local.INFO: Processing buffer {"connection_id":148558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc4ba570012d09a98006f2f750001201632a..."} 
[2026-08-01 13:19:57] local.INFO: Packet analysis {"connection_id":148558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc4b"} 
[2026-08-01 13:19:57] local.INFO: Extracted packet for processing {"connection_id":148558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc4b"} 
[2026-08-01 13:19:57] local.INFO: GPS Element Parsed {"raw_longitude":755607936,"raw_latitude":116586320,"longitude_deg":75.5607936,"latitude_deg":11.658632,"altitude":18,"angle":355,"satellites":42,"speed":27,"hex_longitude":"2d09a980","hex_latitude":"06f2f750","is_valid_coordinates":true} 
[2026-08-01 13:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106044928001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366442456461344768,"note":"Value kept but may cause issues"} 
[2026-08-01 13:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":697143178411915264,"note":"Value kept but may cause issues"} 
[2026-08-01 13:19:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785570502000,"timestamp_ms":1785570502000,"timestamp_seconds":1785570502,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc4ba570"} 
[2026-08-01 13:19:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:19: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-08-01 13:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 13:19:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:19:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:19:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":148558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":148558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":148558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:19:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106044928001,"66":27974,"119":206,"2":56576,"24":27,"16":366442456461344768,"45":697143178411915264},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-08-01 13:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106044928001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:19:57] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-01 13:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366442456461344768,"km_value":366442456461344.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:19:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":697143178411915264,"description":"Unknown IO ID 45"} 
[2026-08-01 13:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106044928001,"power":27974,"unknown_119":206,"power_alt":56576,"ignition":27,"odometer":null,"unknown_45":697143178411915264}} 
[2026-08-01 13:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":148558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:19:57] local.INFO: GPS data processed {"connection_id":148558,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:19:57] local.INFO: Acknowledgment sent {"connection_id":148558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:20:00] local.INFO: TCP Data received {"connection_id":146231,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:20:00] local.INFO: Processing buffer {"connection_id":146231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:20:00] local.INFO: IMEI packet received {"connection_id":146231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":146231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:20:01] local.INFO: TCP Data received {"connection_id":146231,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:20:01] local.INFO: Processing buffer {"connection_id":146231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:20:01] local.INFO: IMEI packet received {"connection_id":146231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":146231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:20:05] local.INFO: TCP Data received {"connection_id":146231,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:20:05] local.INFO: Processing buffer {"connection_id":146231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:20:05] local.INFO: IMEI packet received {"connection_id":146231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":146231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:20:06] local.INFO: TCP Data received {"connection_id":146231,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc4c41b0012d195080072099200038000c2c..."} 
[2026-08-01 13:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc4c41b0012d195080072099200038000c2c..."} 
[2026-08-01 13:20:06] local.INFO: Processing buffer {"connection_id":146231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc4c41b0012d195080072099200038000c2c..."} 
[2026-08-01 13:20:06] local.INFO: Packet analysis {"connection_id":146231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc4c"} 
[2026-08-01 13:20:06] local.INFO: Extracted packet for processing {"connection_id":146231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc4c"} 
[2026-08-01 13:20:06] local.INFO: GPS Element Parsed {"raw_longitude":756633728,"raw_latitude":119576864,"longitude_deg":75.6633728,"latitude_deg":11.9576864,"altitude":56,"angle":12,"satellites":44,"speed":11,"hex_longitude":"2d195080","hex_latitude":"07209920","is_valid_coordinates":true} 
[2026-08-01 13:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106057728001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10153629105258496,"note":"Value kept but may cause issues"} 
[2026-08-01 13:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824028248440610816,"note":"Value kept but may cause issues"} 
[2026-08-01 13:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785570542000,"timestamp_ms":1785570542000,"timestamp_seconds":1785570542,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc4c41b0"} 
[2026-08-01 13:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-01 13:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:20:06] 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-08-01 13:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106057728001,"66":14135,"103":206,"83":41984,"24":11,"16":10153629105258496,"45":1824028248440610816},"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-08-01 13:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106057728001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:20:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 13:20:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10153629105258496,"km_value":10153629105258.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824028248440610816,"description":"Unknown IO ID 45"} 
[2026-08-01 13:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106057728001,"power":14135,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1824028248440610816}} 
[2026-08-01 13:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":146231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:20:06] local.INFO: GPS data processed {"connection_id":146231,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:20:06] local.INFO: Acknowledgment sent {"connection_id":146231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:20:11] local.INFO: TCP Data received {"connection_id":146231,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc4c4980012d19514007209b10003800202c..."} 
[2026-08-01 13:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc4c4980012d19514007209b10003800202c..."} 
[2026-08-01 13:20:11] local.INFO: Processing buffer {"connection_id":146231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc4c4980012d19514007209b10003800202c..."} 
[2026-08-01 13:20:11] local.INFO: Packet analysis {"connection_id":146231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc4c"} 
[2026-08-01 13:20:11] local.INFO: Extracted packet for processing {"connection_id":146231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc4c"} 
[2026-08-01 13:20:11] local.INFO: GPS Element Parsed {"raw_longitude":756633920,"raw_latitude":119577360,"longitude_deg":75.663392,"latitude_deg":11.957736,"altitude":56,"angle":32,"satellites":44,"speed":8,"hex_longitude":"2d195140","hex_latitude":"07209b10","is_valid_coordinates":true} 
[2026-08-01 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-08-01 13:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106058752001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10153654875062272,"note":"Value kept but may cause issues"} 
[2026-08-01 13:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824098617185083392,"note":"Value kept but may cause issues"} 
[2026-08-01 13: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-08-01 13:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785570544000,"timestamp_ms":1785570544000,"timestamp_seconds":1785570544,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc4c4980"} 
[2026-08-01 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-08-01 13: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-08-01 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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-01 13:20:11] 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-08-01 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-08-01 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-08-01 13:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:20: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-08-01 13:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106058752001,"66":14048,"103":206,"83":41984,"24":8,"16":10153654875062272,"45":1824098617185083392},"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-08-01 13:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106058752001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:20:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 13:20:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10153654875062272,"km_value":10153654875062.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824098617185083392,"description":"Unknown IO ID 45"} 
[2026-08-01 13:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106058752001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1824098617185083392}} 
[2026-08-01 13:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":146231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:20:11] local.INFO: GPS data processed {"connection_id":146231,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:20:11] local.INFO: Acknowledgment sent {"connection_id":146231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:20:29] local.INFO: TCP Data received {"connection_id":148558,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc4bd450012d09a68006f31ad0001401632b..."} 
[2026-08-01 13:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc4bd450012d09a68006f31ad0001401632b..."} 
[2026-08-01 13:20:29] local.INFO: Processing buffer {"connection_id":148558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc4bd450012d09a68006f31ad0001401632b..."} 
[2026-08-01 13:20:29] local.INFO: Packet analysis {"connection_id":148558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc4b"} 
[2026-08-01 13:20:29] local.INFO: Extracted packet for processing {"connection_id":148558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc4b"} 
[2026-08-01 13:20:29] local.INFO: GPS Element Parsed {"raw_longitude":755607168,"raw_latitude":116595408,"longitude_deg":75.5607168,"latitude_deg":11.6595408,"altitude":20,"angle":355,"satellites":43,"speed":31,"hex_longitude":"2d09a680","hex_latitude":"06f31ad0","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106048512001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366442898842976256,"note":"Value kept but may cause issues"} 
[2026-08-01 13:20:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":696228384739905536,"note":"Value kept but may cause issues"} 
[2026-08-01 13:20:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785570514000,"timestamp_ms":1785570514000,"timestamp_seconds":1785570514,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc4bd450"} 
[2026-08-01 13:20:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13: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-08-01 13: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-01 13:20:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13: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-08-01 13:20:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":148558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":148558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":148558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:20:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106048512001,"66":27843,"67":206,"2":56576,"24":31,"16":366442898842976256,"45":696228384739905536},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,2,24,16,45]} 
[2026-08-01 13:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:20:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:20:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106048512001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:20:29] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-01 13:20:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366442898842976256,"km_value":366442898842976.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:20:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":696228384739905536,"description":"Unknown IO ID 45"} 
[2026-08-01 13:20:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106048512001,"power":27843,"unknown_67":206,"power_alt":56576,"ignition":31,"odometer":null,"unknown_45":696228384739905536}} 
[2026-08-01 13:20:29] local.INFO: DEBUG: GPS processor result {"connection_id":148558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:20:29] local.INFO: GPS data processed {"connection_id":148558,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:20:29] local.INFO: Acknowledgment sent {"connection_id":148558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:20:41] local.INFO: TCP Data received {"connection_id":146231,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc4c5538012d19528007209cd0003800322d..."} 
[2026-08-01 13:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc4c5538012d19528007209cd0003800322d..."} 
[2026-08-01 13:20:41] local.INFO: Processing buffer {"connection_id":146231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc4c5538012d19528007209cd0003800322d..."} 
[2026-08-01 13:20:41] local.INFO: Packet analysis {"connection_id":146231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc4c"} 
[2026-08-01 13:20:41] local.INFO: Extracted packet for processing {"connection_id":146231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc4c"} 
[2026-08-01 13:20:41] local.INFO: GPS Element Parsed {"raw_longitude":756634240,"raw_latitude":119577808,"longitude_deg":75.663424,"latitude_deg":11.9577808,"altitude":56,"angle":50,"satellites":45,"speed":6,"hex_longitude":"2d195280","hex_latitude":"07209cd0","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106059264001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10153680644866048,"note":"Value kept but may cause issues"} 
[2026-08-01 13:20:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824309723417743360,"note":"Value kept but may cause issues"} 
[2026-08-01 13:20: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-08-01 13:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785570547000,"timestamp_ms":1785570547000,"timestamp_seconds":1785570547,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc4c5538"} 
[2026-08-01 13:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:20: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-08-01 13: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-01 13:20: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-08-01 13: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-08-01 13:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":146231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":146231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":146231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:20: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-08-01 13:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106059264001,"66":14048,"103":206,"83":41984,"24":6,"16":10153680644866048,"45":1824309723417743360},"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-08-01 13:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106059264001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:20:41] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 13:20:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10153680644866048,"km_value":10153680644866.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:20:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824309723417743360,"description":"Unknown IO ID 45"} 
[2026-08-01 13:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106059264001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1824309723417743360}} 
[2026-08-01 13:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":146231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:20:42] local.INFO: GPS data processed {"connection_id":146231,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:20:42] local.INFO: Acknowledgment sent {"connection_id":146231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:20:43] local.INFO: TCP Data received {"connection_id":146232,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:20:43] local.INFO: Processing buffer {"connection_id":146232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:20:43] local.INFO: IMEI packet received {"connection_id":146232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":146232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:20:44] local.INFO: TCP Data received {"connection_id":146232,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:20:44] local.INFO: Processing buffer {"connection_id":146232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:20:44] local.INFO: IMEI packet received {"connection_id":146232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:20:44] local.INFO: IMEI acknowledgment sent {"connection_id":146232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:20:49] local.INFO: TCP Data received {"connection_id":146232,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:20:49] local.INFO: Processing buffer {"connection_id":146232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:20:49] local.INFO: IMEI packet received {"connection_id":146232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":146232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:20:52] local.INFO: TCP Data received {"connection_id":146232,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc4bf390012d09a3c006f33130001401582b..."} 
[2026-08-01 13:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc4bf390012d09a3c006f33130001401582b..."} 
[2026-08-01 13:20:52] local.INFO: Processing buffer {"connection_id":146232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc4bf390012d09a3c006f33130001401582b..."} 
[2026-08-01 13:20:52] local.INFO: Packet analysis {"connection_id":146232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc4b"} 
[2026-08-01 13:20:52] local.INFO: Extracted packet for processing {"connection_id":146232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc4b"} 
[2026-08-01 13:20:52] local.INFO: GPS Element Parsed {"raw_longitude":755606464,"raw_latitude":116601136,"longitude_deg":75.5606464,"latitude_deg":11.6601136,"altitude":20,"angle":344,"satellites":43,"speed":26,"hex_longitude":"2d09a3c0","hex_latitude":"06f33130","is_valid_coordinates":true} 
[2026-08-01 13:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106051584001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366443182310817792,"note":"Value kept but may cause issues"} 
[2026-08-01 13:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":695383959812100096,"note":"Value kept but may cause issues"} 
[2026-08-01 13:20:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785570522000,"timestamp_ms":1785570522000,"timestamp_seconds":1785570522,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc4bf390"} 
[2026-08-01 13:20:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:20:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 13:20:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:20:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:20:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":146232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":146232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":146232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:20:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106051584001,"66":27876,"67":206,"2":56576,"24":26,"16":366443182310817792,"45":695383959812100096},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,2,24,16,45]} 
[2026-08-01 13:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106051584001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:20:52] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-01 13:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366443182310817792,"km_value":366443182310817.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":695383959812100096,"description":"Unknown IO ID 45"} 
[2026-08-01 13:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106051584001,"power":27876,"unknown_67":206,"power_alt":56576,"ignition":26,"odometer":null,"unknown_45":695383959812100096}} 
[2026-08-01 13:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":146232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:20:52] local.INFO: GPS data processed {"connection_id":146232,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:20:52] local.INFO: Acknowledgment sent {"connection_id":146232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:21:01] local.INFO: TCP Data received {"connection_id":146233,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:21:01] local.INFO: Processing buffer {"connection_id":146233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:21:01] local.INFO: IMEI packet received {"connection_id":146233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 13:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":146233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:21:01] local.INFO: TCP Data received {"connection_id":146233,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:21:01] local.INFO: Processing buffer {"connection_id":146233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:21:01] local.INFO: IMEI packet received {"connection_id":146233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":146233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:21:05] local.INFO: TCP Data received {"connection_id":146233,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:21:05] local.INFO: Processing buffer {"connection_id":146233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:21:05] local.INFO: IMEI packet received {"connection_id":146233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":146233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:21:06] local.INFO: TCP Data received {"connection_id":146233,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc4d5320012d1958000720aac00035010f2a..."} 
[2026-08-01 13:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc4d5320012d1958000720aac00035010f2a..."} 
[2026-08-01 13:21:06] local.INFO: Processing buffer {"connection_id":146233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc4d5320012d1958000720aac00035010f2a..."} 
[2026-08-01 13:21:06] local.INFO: Packet analysis {"connection_id":146233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc4d"} 
[2026-08-01 13:21:06] local.INFO: Extracted packet for processing {"connection_id":146233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc4d"} 
[2026-08-01 13:21:06] local.INFO: GPS Element Parsed {"raw_longitude":756635648,"raw_latitude":119581376,"longitude_deg":75.6635648,"latitude_deg":11.9581376,"altitude":53,"angle":271,"satellites":42,"speed":10,"hex_longitude":"2d195800","hex_latitude":"0720aac0","is_valid_coordinates":true} 
[2026-08-01 13:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106076416001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10153946932838400,"note":"Value kept but may cause issues"} 
[2026-08-01 13:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826420785744097280,"note":"Value kept but may cause issues"} 
[2026-08-01 13:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785570612000,"timestamp_ms":1785570612000,"timestamp_seconds":1785570612,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc4d5320"} 
[2026-08-01 13:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-01 13:21:06] 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-08-01 13:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:21:06] 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-08-01 13:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106076416001,"66":14157,"103":206,"83":41984,"24":10,"16":10153946932838400,"45":1826420785744097280},"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-08-01 13:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106076416001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:21:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 13:21:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10153946932838400,"km_value":10153946932838.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826420785744097280,"description":"Unknown IO ID 45"} 
[2026-08-01 13:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106076416001,"power":14157,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1826420785744097280}} 
[2026-08-01 13:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":146233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:21:06] local.INFO: GPS data processed {"connection_id":146233,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:21:06] local.INFO: Acknowledgment sent {"connection_id":146233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:21:10] local.INFO: TCP Data received {"connection_id":146233,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc4d66a8012d194e000720ab180035011a2a..."} 
[2026-08-01 13:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc4d66a8012d194e000720ab180035011a2a..."} 
[2026-08-01 13:21:10] local.INFO: Processing buffer {"connection_id":146233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc4d66a8012d194e000720ab180035011a2a..."} 
[2026-08-01 13:21:10] local.INFO: Packet analysis {"connection_id":146233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc4d"} 
[2026-08-01 13:21:10] local.INFO: Extracted packet for processing {"connection_id":146233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc4d"} 
[2026-08-01 13:21:10] local.INFO: GPS Element Parsed {"raw_longitude":756633088,"raw_latitude":119581464,"longitude_deg":75.6633088,"latitude_deg":11.9581464,"altitude":53,"angle":282,"satellites":42,"speed":26,"hex_longitude":"2d194e00","hex_latitude":"0720ab18","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106076672001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10154071486889984,"note":"Value kept but may cause issues"} 
[2026-08-01 13:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826209679511568384,"note":"Value kept but may cause issues"} 
[2026-08-01 13:21: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-08-01 13:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785570617000,"timestamp_ms":1785570617000,"timestamp_seconds":1785570617,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc4d66a8"} 
[2026-08-01 13:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:21:10] 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-08-01 13: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-01 13:21:10] 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-08-01 13: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-08-01 13:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13: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-08-01 13:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106076672001,"66":14113,"103":206,"83":41984,"24":26,"16":10154071486889984,"45":1826209679511568384},"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-08-01 13:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106076672001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:21:10] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 13:21:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10154071486889984,"km_value":10154071486889.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826209679511568384,"description":"Unknown IO ID 45"} 
[2026-08-01 13:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106076672001,"power":14113,"unknown_103":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1826209679511568384}} 
[2026-08-01 13:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":146233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:21:10] local.INFO: GPS data processed {"connection_id":146233,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:21:10] local.INFO: Acknowledgment sent {"connection_id":146233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:21:24] local.INFO: TCP Data received {"connection_id":146232,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc4c1aa0012d099dc006f34b78001401632a..."} 
[2026-08-01 13:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc4c1aa0012d099dc006f34b78001401632a..."} 
[2026-08-01 13:21:24] local.INFO: Processing buffer {"connection_id":146232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc4c1aa0012d099dc006f34b78001401632a..."} 
[2026-08-01 13:21:24] local.INFO: Packet analysis {"connection_id":146232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc4c"} 
[2026-08-01 13:21:24] local.INFO: Extracted packet for processing {"connection_id":146232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc4c"} 
[2026-08-01 13:21:24] local.INFO: GPS Element Parsed {"raw_longitude":755604928,"raw_latitude":116607864,"longitude_deg":75.5604928,"latitude_deg":11.6607864,"altitude":20,"angle":355,"satellites":42,"speed":27,"hex_longitude":"2d099dc0","hex_latitude":"06f34b78","is_valid_coordinates":true} 
[2026-08-01 13:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106053632001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366443517318266880,"note":"Value kept but may cause issues"} 
[2026-08-01 13:21:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":694609903627612160,"note":"Value kept but may cause issues"} 
[2026-08-01 13:21:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785570532000,"timestamp_ms":1785570532000,"timestamp_seconds":1785570532,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc4c1aa0"} 
[2026-08-01 13:21:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:21: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-08-01 13:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 13:21:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:21:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:21:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":146232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":146232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":146232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:21:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106053632001,"66":27919,"67":206,"2":56576,"24":27,"16":366443517318266880,"45":694609903627612160},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,2,24,16,45]} 
[2026-08-01 13:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106053632001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:21:24] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-01 13:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366443517318266880,"km_value":366443517318266.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:21:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":694609903627612160,"description":"Unknown IO ID 45"} 
[2026-08-01 13:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106053632001,"power":27919,"unknown_67":206,"power_alt":56576,"ignition":27,"odometer":null,"unknown_45":694609903627612160}} 
[2026-08-01 13:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":146232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:21:24] local.INFO: GPS data processed {"connection_id":146232,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:21:24] local.INFO: Acknowledgment sent {"connection_id":146232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:21:41] local.INFO: TCP Data received {"connection_id":146233,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc4d7a30012d193e800720b0c0003401272b..."} 
[2026-08-01 13:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc4d7a30012d193e800720b0c0003401272b..."} 
[2026-08-01 13:21:41] local.INFO: Processing buffer {"connection_id":146233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc4d7a30012d193e800720b0c0003401272b..."} 
[2026-08-01 13:21:41] local.INFO: Packet analysis {"connection_id":146233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc4d"} 
[2026-08-01 13:21:41] local.INFO: Extracted packet for processing {"connection_id":146233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc4d"} 
[2026-08-01 13:21:41] local.INFO: GPS Element Parsed {"raw_longitude":756629120,"raw_latitude":119582912,"longitude_deg":75.662912,"latitude_deg":11.9582912,"altitude":52,"angle":295,"satellites":43,"speed":33,"hex_longitude":"2d193e80","hex_latitude":"0720b0c0","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106077952001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10154273350352896,"note":"Value kept but may cause issues"} 
[2026-08-01 13:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823394929744484352,"note":"Value kept but may cause issues"} 
[2026-08-01 13: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-08-01 13:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785570622000,"timestamp_ms":1785570622000,"timestamp_seconds":1785570622,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc4d7a30"} 
[2026-08-01 13:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:21:41] 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-08-01 13: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-01 13:21:41] 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-08-01 13: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-08-01 13:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":146233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":146233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":146233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:21: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-08-01 13:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106077952001,"66":14189,"103":206,"83":41984,"24":33,"16":10154273350352896,"45":1823394929744484352},"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-08-01 13:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106077952001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:21:41] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 13:21:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10154273350352896,"km_value":10154273350352.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823394929744484352,"description":"Unknown IO ID 45"} 
[2026-08-01 13:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106077952001,"power":14189,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1823394929744484352}} 
[2026-08-01 13:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":146233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:21:42] local.INFO: GPS data processed {"connection_id":146233,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:21:42] local.INFO: Acknowledgment sent {"connection_id":146233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:21:42] local.INFO: TCP Data received {"connection_id":146016,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:21:42] local.INFO: Processing buffer {"connection_id":146016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:21:42] local.INFO: IMEI packet received {"connection_id":146016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":146016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:21:44] local.INFO: TCP Data received {"connection_id":146016,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:21:44] local.INFO: Processing buffer {"connection_id":146016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:21:44] local.INFO: IMEI packet received {"connection_id":146016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":146016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:21:49] local.INFO: TCP Data received {"connection_id":146016,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:21:49] local.INFO: Processing buffer {"connection_id":146016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:21:49] local.INFO: IMEI packet received {"connection_id":146016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":146016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:21:51] local.INFO: TCP Data received {"connection_id":146016,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc4dc468012d093c0006f4a388000c01442b..."} 
[2026-08-01 13:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc4dc468012d093c0006f4a388000c01442b..."} 
[2026-08-01 13:21:51] local.INFO: Processing buffer {"connection_id":146016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc4dc468012d093c0006f4a388000c01442b..."} 
[2026-08-01 13:21:51] local.INFO: Packet analysis {"connection_id":146016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc4d"} 
[2026-08-01 13:21:51] local.INFO: Extracted packet for processing {"connection_id":146016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc4d"} 
[2026-08-01 13:21:51] local.INFO: GPS Element Parsed {"raw_longitude":755579904,"raw_latitude":116695944,"longitude_deg":75.5579904,"latitude_deg":11.6695944,"altitude":12,"angle":324,"satellites":43,"speed":30,"hex_longitude":"2d093c00","hex_latitude":"06f4a388","is_valid_coordinates":true} 
[2026-08-01 13:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106081280001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366447984084254720,"note":"Value kept but may cause issues"} 
[2026-08-01 13:21:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":670684530629515264,"note":"Value kept but may cause issues"} 
[2026-08-01 13:21:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785570641000,"timestamp_ms":1785570641000,"timestamp_seconds":1785570641,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc4dc468"} 
[2026-08-01 13:21:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:21:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 13:21: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-08-01 13:21:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:21:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":146016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":146016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":146016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:21:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106081280001,"66":27865,"67":206,"2":56576,"24":30,"16":366447984084254720,"45":670684530629515264},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,2,24,16,45]} 
[2026-08-01 13:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106081280001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:21:51] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-01 13:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366447984084254720,"km_value":366447984084254.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:21:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":670684530629515264,"description":"Unknown IO ID 45"} 
[2026-08-01 13:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106081280001,"power":27865,"unknown_67":206,"power_alt":56576,"ignition":30,"odometer":null,"unknown_45":670684530629515264}} 
[2026-08-01 13:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":146016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:21:51] local.INFO: GPS data processed {"connection_id":146016,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:21:51] local.INFO: Acknowledgment sent {"connection_id":146016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:22:01] local.INFO: TCP Data received {"connection_id":147236,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147236,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:22:01] local.INFO: Processing buffer {"connection_id":147236,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:22:01] local.INFO: IMEI packet received {"connection_id":147236,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 13:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":147236,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:22:01] local.INFO: TCP Data received {"connection_id":147236,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147236,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:22:01] local.INFO: Processing buffer {"connection_id":147236,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:22:01] local.INFO: IMEI packet received {"connection_id":147236,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":147236,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:22:02] local.INFO: TCP Data received {"connection_id":147236,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147236,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:22:02] local.INFO: Processing buffer {"connection_id":147236,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:22:02] local.INFO: IMEI packet received {"connection_id":147236,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":147236,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:22:19] local.INFO: TCP Data received {"connection_id":147236,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc4da528012d191d400720c070003201222b..."} 
[2026-08-01 13:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc4da528012d191d400720c070003201222b..."} 
[2026-08-01 13:22:19] local.INFO: Processing buffer {"connection_id":147236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc4da528012d191d400720c070003201222b..."} 
[2026-08-01 13:22:19] local.INFO: Packet analysis {"connection_id":147236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc4d"} 
[2026-08-01 13:22:19] local.INFO: Extracted packet for processing {"connection_id":147236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc4d"} 
[2026-08-01 13:22:19] local.INFO: GPS Element Parsed {"raw_longitude":756620608,"raw_latitude":119586928,"longitude_deg":75.6620608,"latitude_deg":11.9586928,"altitude":50,"angle":290,"satellites":43,"speed":39,"hex_longitude":"2d191d40","hex_latitude":"0720c070","is_valid_coordinates":true} 
[2026-08-01 13:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:22:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106079232001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:22:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10154720026951680,"note":"Value kept but may cause issues"} 
[2026-08-01 13:22:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819032067605839872,"note":"Value kept but may cause issues"} 
[2026-08-01 13:22:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:22:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785570633000,"timestamp_ms":1785570633000,"timestamp_seconds":1785570633,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc4da528"} 
[2026-08-01 13:22:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:22:19] 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-08-01 13:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-01 13:22:19] 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-08-01 13:22:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:22:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:22:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:22:19] local.INFO: Teltonika packet parsed successfully {"connection_id":147236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:22:19] local.INFO: Passing IMEI to GPS processor {"connection_id":147236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:22:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":147236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:22:19] 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-08-01 13:22:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:22:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:22:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106079232001,"66":14135,"103":206,"83":41984,"24":39,"16":10154720026951680,"45":1819032067605839872},"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-08-01 13:22:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:22:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:22:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106079232001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:22:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 13:22:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:22:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10154720026951680,"km_value":10154720026951.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:22:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819032067605839872,"description":"Unknown IO ID 45"} 
[2026-08-01 13:22:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106079232001,"power":14135,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1819032067605839872}} 
[2026-08-01 13:22:19] local.INFO: DEBUG: GPS processor result {"connection_id":147236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:22:19] local.INFO: GPS data processed {"connection_id":147236,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:22:19] local.INFO: Acknowledgment sent {"connection_id":147236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:22:23] local.INFO: TCP Data received {"connection_id":146016,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc4df348012d0925c006f4c1e8000c01442b..."} 
[2026-08-01 13:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc4df348012d0925c006f4c1e8000c01442b..."} 
[2026-08-01 13:22:23] local.INFO: Processing buffer {"connection_id":146016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc4df348012d0925c006f4c1e8000c01442b..."} 
[2026-08-01 13:22:23] local.INFO: Packet analysis {"connection_id":146016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc4d"} 
[2026-08-01 13:22:23] local.INFO: Extracted packet for processing {"connection_id":146016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc4d"} 
[2026-08-01 13:22:23] local.INFO: GPS Element Parsed {"raw_longitude":755574208,"raw_latitude":116703720,"longitude_deg":75.5574208,"latitude_deg":11.670372,"altitude":12,"angle":324,"satellites":43,"speed":30,"hex_longitude":"2d0925c0","hex_latitude":"06f4c1e8","is_valid_coordinates":true} 
[2026-08-01 13:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106084096001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366448452235689984,"note":"Value kept but may cause issues"} 
[2026-08-01 13:22:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":665406874818152448,"note":"Value kept but may cause issues"} 
[2026-08-01 13:22:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785570653000,"timestamp_ms":1785570653000,"timestamp_seconds":1785570653,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc4df348"} 
[2026-08-01 13:22:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:22:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 13:22:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13: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-08-01 13:22:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":146016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":146016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":146016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:22:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:22:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:22:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106084096001,"66":27767,"69":206,"2":56576,"24":30,"16":366448452235689984,"45":665406874818152448},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-08-01 13:22:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:22:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:22:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106084096001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:22:23] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-01 13:22:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366448452235689984,"km_value":366448452235690.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:22:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":665406874818152448,"description":"Unknown IO ID 45"} 
[2026-08-01 13:22:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106084096001,"power":27767,"unknown_69":206,"power_alt":56576,"ignition":30,"odometer":null,"unknown_45":665406874818152448}} 
[2026-08-01 13:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":146016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:22:23] local.INFO: GPS data processed {"connection_id":146016,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:22:23] local.INFO: Acknowledgment sent {"connection_id":146016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:22:44] local.INFO: TCP Data received {"connection_id":146234,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:22:44] local.INFO: Processing buffer {"connection_id":146234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:22:44] local.INFO: IMEI packet received {"connection_id":146234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":146234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:22:47] local.INFO: TCP Data received {"connection_id":146234,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:22:47] local.INFO: Processing buffer {"connection_id":146234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:22:47] local.INFO: IMEI packet received {"connection_id":146234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":146234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:22:49] local.INFO: TCP Data received {"connection_id":146234,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:22:49] local.INFO: Processing buffer {"connection_id":146234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:22:49] local.INFO: IMEI packet received {"connection_id":146234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":146234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:22:50] local.INFO: TCP Data received {"connection_id":146234,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc4e1e40012d09108006f4de60000e014228..."} 
[2026-08-01 13:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc4e1e40012d09108006f4de60000e014228..."} 
[2026-08-01 13:22:50] local.INFO: Processing buffer {"connection_id":146234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc4e1e40012d09108006f4de60000e014228..."} 
[2026-08-01 13:22:50] local.INFO: Packet analysis {"connection_id":146234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc4e"} 
[2026-08-01 13:22:50] local.INFO: Extracted packet for processing {"connection_id":146234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc4e"} 
[2026-08-01 13:22:50] local.INFO: GPS Element Parsed {"raw_longitude":755568768,"raw_latitude":116711008,"longitude_deg":75.5568768,"latitude_deg":11.6711008,"altitude":14,"angle":322,"satellites":40,"speed":31,"hex_longitude":"2d091080","hex_latitude":"06f4de60","is_valid_coordinates":true} 
[2026-08-01 13:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:22:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106087168001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:22:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366448886027386880,"note":"Value kept but may cause issues"} 
[2026-08-01 13:22:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":659144056588331008,"note":"Value kept but may cause issues"} 
[2026-08-01 13:22:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:22:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785570664000,"timestamp_ms":1785570664000,"timestamp_seconds":1785570664,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc4e1e40"} 
[2026-08-01 13:22:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:22:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 13:22:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:22:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:22:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:22:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:22:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:22:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:22:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:22:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:22:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:22:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:22:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106087168001,"66":27615,"69":206,"2":56576,"24":31,"16":366448886027386880,"45":659144056588331008},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-08-01 13:22:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:22:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:22:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106087168001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:22:50] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-01 13:22:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366448886027386880,"km_value":366448886027386.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:22:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":659144056588331008,"description":"Unknown IO ID 45"} 
[2026-08-01 13:22:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106087168001,"power":27615,"unknown_69":206,"power_alt":56576,"ignition":31,"odometer":null,"unknown_45":659144056588331008}} 
[2026-08-01 13:22:50] local.INFO: DEBUG: GPS processor result {"connection_id":146234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:22:50] local.INFO: GPS data processed {"connection_id":146234,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:22:50] local.INFO: Acknowledgment sent {"connection_id":146234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:22:54] local.INFO: TCP Data received {"connection_id":146234,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc4e6490012d08fac006f4f6e8000e01362a..."} 
[2026-08-01 13:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc4e6490012d08fac006f4f6e8000e01362a..."} 
[2026-08-01 13:22:54] local.INFO: Processing buffer {"connection_id":146234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc4e6490012d08fac006f4f6e8000e01362a..."} 
[2026-08-01 13:22:54] local.INFO: Packet analysis {"connection_id":146234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc4e"} 
[2026-08-01 13:22:54] local.INFO: Extracted packet for processing {"connection_id":146234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc4e"} 
[2026-08-01 13:22:54] local.INFO: GPS Element Parsed {"raw_longitude":755563200,"raw_latitude":116717288,"longitude_deg":75.55632,"latitude_deg":11.6717288,"altitude":14,"angle":310,"satellites":42,"speed":14,"hex_longitude":"2d08fac0","hex_latitude":"06f4f6e8","is_valid_coordinates":true} 
[2026-08-01 13:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:22:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106089984001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:22:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366449289754312704,"note":"Value kept but may cause issues"} 
[2026-08-01 13:22:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":653162713335095296,"note":"Value kept but may cause issues"} 
[2026-08-01 13:22:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:22:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785570682000,"timestamp_ms":1785570682000,"timestamp_seconds":1785570682,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc4e6490"} 
[2026-08-01 13:22:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:22: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-08-01 13:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-01 13:22:54] 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-08-01 13:22:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:22:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:22:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:22:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:22:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:22:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:22:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:22:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:22:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:22:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106089984001,"66":27908,"69":206,"2":56576,"24":14,"16":366449289754312704,"45":653162713335095296},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-08-01 13:22:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:22:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:22:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106089984001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:22:54] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-01 13:22:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366449289754312704,"km_value":366449289754312.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:22:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":653162713335095296,"description":"Unknown IO ID 45"} 
[2026-08-01 13:22:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106089984001,"power":27908,"unknown_69":206,"power_alt":56576,"ignition":14,"odometer":null,"unknown_45":653162713335095296}} 
[2026-08-01 13:22:54] local.INFO: DEBUG: GPS processor result {"connection_id":146234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:22:54] local.INFO: GPS data processed {"connection_id":146234,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:22:54] local.INFO: Acknowledgment sent {"connection_id":146234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:23:00] local.INFO: TCP Data received {"connection_id":146017,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:23:00] local.INFO: Processing buffer {"connection_id":146017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:23:00] local.INFO: IMEI packet received {"connection_id":146017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 13:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":146017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:23:02] local.INFO: TCP Data received {"connection_id":146017,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:23:02] local.INFO: Processing buffer {"connection_id":146017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:23:02] local.INFO: IMEI packet received {"connection_id":146017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":146017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:23:05] local.INFO: TCP Data received {"connection_id":146017,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:23:05] local.INFO: Processing buffer {"connection_id":146017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:23:05] local.INFO: IMEI packet received {"connection_id":146017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":146017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:23:06] local.INFO: TCP Data received {"connection_id":146017,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc4e9f28012d18c30007214748004300032b..."} 
[2026-08-01 13:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc4e9f28012d18c30007214748004300032b..."} 
[2026-08-01 13:23:06] local.INFO: Processing buffer {"connection_id":146017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc4e9f28012d18c30007214748004300032b..."} 
[2026-08-01 13:23:06] local.INFO: Packet analysis {"connection_id":146017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc4e"} 
[2026-08-01 13:23:06] local.INFO: Extracted packet for processing {"connection_id":146017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc4e"} 
[2026-08-01 13:23:06] local.INFO: GPS Element Parsed {"raw_longitude":756597504,"raw_latitude":119621448,"longitude_deg":75.6597504,"latitude_deg":11.9621448,"altitude":67,"angle":3,"satellites":43,"speed":12,"hex_longitude":"2d18c300","hex_latitude":"07214748","is_valid_coordinates":true} 
[2026-08-01 13:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106097408001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10156863215632384,"note":"Value kept but may cause issues"} 
[2026-08-01 13:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784269907991562240,"note":"Value kept but may cause issues"} 
[2026-08-01 13:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785570697000,"timestamp_ms":1785570697000,"timestamp_seconds":1785570697,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc4e9f28"} 
[2026-08-01 13:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-01 13:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:23:06] 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-08-01 13:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106097408001,"66":14102,"103":206,"83":41984,"24":12,"16":10156863215632384,"45":1784269907991562240},"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-08-01 13:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106097408001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:23:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 13:23:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10156863215632384,"km_value":10156863215632.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784269907991562240,"description":"Unknown IO ID 45"} 
[2026-08-01 13:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106097408001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1784269907991562240}} 
[2026-08-01 13:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":146017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:23:06] local.INFO: GPS data processed {"connection_id":146017,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:23:06] local.INFO: Acknowledgment sent {"connection_id":146017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:23:11] local.INFO: TCP Data received {"connection_id":146017,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc4eb2b0012d18c30007214d18004201612d..."} 
[2026-08-01 13:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc4eb2b0012d18c30007214d18004201612d..."} 
[2026-08-01 13:23:11] local.INFO: Processing buffer {"connection_id":146017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc4eb2b0012d18c30007214d18004201612d..."} 
[2026-08-01 13:23:11] local.INFO: Packet analysis {"connection_id":146017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc4e"} 
[2026-08-01 13:23:11] local.INFO: Extracted packet for processing {"connection_id":146017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc4e"} 
[2026-08-01 13:23:11] local.INFO: GPS Element Parsed {"raw_longitude":756597504,"raw_latitude":119622936,"longitude_deg":75.6597504,"latitude_deg":11.9622936,"altitude":66,"angle":353,"satellites":45,"speed":12,"hex_longitude":"2d18c300","hex_latitude":"07214d18","is_valid_coordinates":true} 
[2026-08-01 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-08-01 13:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106098432001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10156931935109120,"note":"Value kept but may cause issues"} 
[2026-08-01 13:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784269907991939072,"note":"Value kept but may cause issues"} 
[2026-08-01 13: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-08-01 13:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785570702000,"timestamp_ms":1785570702000,"timestamp_seconds":1785570702,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc4eb2b0"} 
[2026-08-01 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-08-01 13:23: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-08-01 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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-01 13:23: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-08-01 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-08-01 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-08-01 13:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:23: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-08-01 13:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106098432001,"66":14211,"103":206,"83":41984,"24":12,"16":10156931935109120,"45":1784269907991939072},"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-08-01 13:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106098432001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:23:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 13:23:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10156931935109120,"km_value":10156931935109.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784269907991939072,"description":"Unknown IO ID 45"} 
[2026-08-01 13:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106098432001,"power":14211,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1784269907991939072}} 
[2026-08-01 13:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":146017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577290,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:23:11] local.INFO: GPS data processed {"connection_id":146017,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:23:11] local.INFO: Acknowledgment sent {"connection_id":146017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:23:26] local.INFO: TCP Data received {"connection_id":146234,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc4e7048012d08f74006f4f958000d012a2a..."} 
[2026-08-01 13:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc4e7048012d08f74006f4f958000d012a2a..."} 
[2026-08-01 13:23:26] local.INFO: Processing buffer {"connection_id":146234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc4e7048012d08f74006f4f958000d012a2a..."} 
[2026-08-01 13:23:26] local.INFO: Packet analysis {"connection_id":146234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc4e"} 
[2026-08-01 13:23:26] local.INFO: Extracted packet for processing {"connection_id":146234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc4e"} 
[2026-08-01 13:23:26] local.INFO: GPS Element Parsed {"raw_longitude":755562304,"raw_latitude":116717912,"longitude_deg":75.5562304,"latitude_deg":11.6717912,"altitude":13,"angle":298,"satellites":42,"speed":15,"hex_longitude":"2d08f740","hex_latitude":"06f4f958","is_valid_coordinates":true} 
[2026-08-01 13:23:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:23:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106094592001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:23:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366449345588887552,"note":"Value kept but may cause issues"} 
[2026-08-01 13:23:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":647040632593246208,"note":"Value kept but may cause issues"} 
[2026-08-01 13:23:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:23:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785570685000,"timestamp_ms":1785570685000,"timestamp_seconds":1785570685,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc4e7048"} 
[2026-08-01 13:23:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:23: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-08-01 13:23:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 13:23:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:23:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:23:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:23:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:23:26] local.INFO: Teltonika packet parsed successfully {"connection_id":146234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:23:26] local.INFO: Passing IMEI to GPS processor {"connection_id":146234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:23:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":146234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:23:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:23:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:23:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:23:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106094592001,"66":27767,"69":206,"2":56576,"24":15,"16":366449345588887552,"45":647040632593246208},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-08-01 13:23:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:23:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:23:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106094592001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:23:26] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-01 13:23:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366449345588887552,"km_value":366449345588887.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:23:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":647040632593246208,"description":"Unknown IO ID 45"} 
[2026-08-01 13:23:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106094592001,"power":27767,"unknown_69":206,"power_alt":56576,"ignition":15,"odometer":null,"unknown_45":647040632593246208}} 
[2026-08-01 13:23:26] local.INFO: DEBUG: GPS processor result {"connection_id":146234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:23:26] local.INFO: GPS data processed {"connection_id":146234,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:23:26] local.INFO: Acknowledgment sent {"connection_id":146234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:23:42] local.INFO: TCP Data received {"connection_id":146017,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc4f04b8012d18c28007215040004301572c..."} 
[2026-08-01 13:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc4f04b8012d18c28007215040004301572c..."} 
[2026-08-01 13:23:42] local.INFO: Processing buffer {"connection_id":146017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc4f04b8012d18c28007215040004301572c..."} 
[2026-08-01 13:23:42] local.INFO: Packet analysis {"connection_id":146017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc4f"} 
[2026-08-01 13:23:42] local.INFO: Extracted packet for processing {"connection_id":146017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc4f"} 
[2026-08-01 13:23:42] local.INFO: GPS Element Parsed {"raw_longitude":756597376,"raw_latitude":119623744,"longitude_deg":75.6597376,"latitude_deg":11.9623744,"altitude":67,"angle":343,"satellites":44,"speed":0,"hex_longitude":"2d18c280","hex_latitude":"07215040","is_valid_coordinates":true} 
[2026-08-01 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-08-01 13:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106099712001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10156974884782080,"note":"Value kept but may cause issues"} 
[2026-08-01 13:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784269907992320000,"note":"Value kept but may cause issues"} 
[2026-08-01 13:23: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-08-01 13:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785570723000,"timestamp_ms":1785570723000,"timestamp_seconds":1785570723,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc4f04b8"} 
[2026-08-01 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-08-01 13:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-01 13:23:42] 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-08-01 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-08-01 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-08-01 13:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":146017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":146017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":146017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13: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-08-01 13:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106099712001,"66":14157,"103":206,"83":41984,"24":0,"16":10156974884782080,"45":1784269907992320000},"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-08-01 13:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106099712001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:23:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 13:23:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10156974884782080,"km_value":10156974884782.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784269907992320000,"description":"Unknown IO ID 45"} 
[2026-08-01 13:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106099712001,"power":14157,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1784269907992320000}} 
[2026-08-01 13:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":146017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577292,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:23:42] local.INFO: GPS data processed {"connection_id":146017,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:23:42] local.INFO: Acknowledgment sent {"connection_id":146017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:23:47] local.INFO: TCP Data received {"connection_id":146235,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:23:47] local.INFO: Processing buffer {"connection_id":146235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:23:47] local.INFO: IMEI packet received {"connection_id":146235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":146235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:23:47] local.INFO: TCP Data received {"connection_id":146235,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:23:47] local.INFO: Processing buffer {"connection_id":146235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:23:47] local.INFO: IMEI packet received {"connection_id":146235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":146235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:23:49] local.INFO: TCP Data received {"connection_id":146235,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:23:49] local.INFO: Processing buffer {"connection_id":146235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:23:49] local.INFO: IMEI packet received {"connection_id":146235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":146235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:23:50] local.INFO: TCP Data received {"connection_id":146235,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc4e9370012d08e7c006f50228000b01352a..."} 
[2026-08-01 13:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc4e9370012d08e7c006f50228000b01352a..."} 
[2026-08-01 13:23:50] local.INFO: Processing buffer {"connection_id":146235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc4e9370012d08e7c006f50228000b01352a..."} 
[2026-08-01 13:23:50] local.INFO: Packet analysis {"connection_id":146235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc4e"} 
[2026-08-01 13:23:50] local.INFO: Extracted packet for processing {"connection_id":146235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc4e"} 
[2026-08-01 13:23:50] local.INFO: GPS Element Parsed {"raw_longitude":755558336,"raw_latitude":116720168,"longitude_deg":75.5558336,"latitude_deg":11.6720168,"altitude":11,"angle":309,"satellites":42,"speed":25,"hex_longitude":"2d08e7c0","hex_latitude":"06f50228","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106095360001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366449564632219648,"note":"Value kept but may cause issues"} 
[2026-08-01 13:23:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":646055470174918656,"note":"Value kept but may cause issues"} 
[2026-08-01 13:23:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785570694000,"timestamp_ms":1785570694000,"timestamp_seconds":1785570694,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc4e9370"} 
[2026-08-01 13:23:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:23:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 13:23:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13: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-08-01 13:23:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:23:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106095360001,"66":27789,"69":206,"2":56576,"24":25,"16":366449564632219648,"45":646055470174918656},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-08-01 13:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106095360001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:23:50] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-01 13:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366449564632219648,"km_value":366449564632219.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:23:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":646055470174918656,"description":"Unknown IO ID 45"} 
[2026-08-01 13:23:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106095360001,"power":27789,"unknown_69":206,"power_alt":56576,"ignition":25,"odometer":null,"unknown_45":646055470174918656}} 
[2026-08-01 13:23:50] local.INFO: DEBUG: GPS processor result {"connection_id":146235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:23:50] local.INFO: GPS data processed {"connection_id":146235,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:23:50] local.INFO: Acknowledgment sent {"connection_id":146235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:23:54] local.INFO: TCP Data received {"connection_id":146235,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc4ebe68012d08d2c006f517c0000b01422a..."} 
[2026-08-01 13:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc4ebe68012d08d2c006f517c0000b01422a..."} 
[2026-08-01 13:23:54] local.INFO: Processing buffer {"connection_id":146235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc4ebe68012d08d2c006f517c0000b01422a..."} 
[2026-08-01 13:23:54] local.INFO: Packet analysis {"connection_id":146235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc4e"} 
[2026-08-01 13:23:54] local.INFO: Extracted packet for processing {"connection_id":146235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc4e"} 
[2026-08-01 13:23:54] local.INFO: GPS Element Parsed {"raw_longitude":755552960,"raw_latitude":116725696,"longitude_deg":75.555296,"latitude_deg":11.6725696,"altitude":11,"angle":322,"satellites":42,"speed":27,"hex_longitude":"2d08d2c0","hex_latitude":"06f517c0","is_valid_coordinates":true} 
[2026-08-01 13:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106097664001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366449933999407104,"note":"Value kept but may cause issues"} 
[2026-08-01 13:23:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":641692608036481024,"note":"Value kept but may cause issues"} 
[2026-08-01 13:23:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785570705000,"timestamp_ms":1785570705000,"timestamp_seconds":1785570705,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc4ebe68"} 
[2026-08-01 13:23:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:23: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-08-01 13:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-01 13:23:54] 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-08-01 13:23:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:23:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:23:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106097664001,"66":27865,"69":206,"2":56576,"24":27,"16":366449933999407104,"45":641692608036481024},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-08-01 13:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106097664001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:23:54] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-01 13:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366449933999407104,"km_value":366449933999407.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:23:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":641692608036481024,"description":"Unknown IO ID 45"} 
[2026-08-01 13:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106097664001,"power":27865,"unknown_69":206,"power_alt":56576,"ignition":27,"odometer":null,"unknown_45":641692608036481024}} 
[2026-08-01 13:23:54] local.INFO: DEBUG: GPS processor result {"connection_id":146235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:23:54] local.INFO: GPS data processed {"connection_id":146235,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:23:54] local.INFO: Acknowledgment sent {"connection_id":146235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:24:01] local.INFO: TCP Data received {"connection_id":147237,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:24:01] local.INFO: Processing buffer {"connection_id":147237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:24:01] local.INFO: IMEI packet received {"connection_id":147237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 13:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":147237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:24:05] local.INFO: TCP Data received {"connection_id":147237,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:24:05] local.INFO: Processing buffer {"connection_id":147237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:24:05] local.INFO: IMEI packet received {"connection_id":147237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":147237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:24:06] local.INFO: TCP Data received {"connection_id":147237,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc4f56c0012d18c28007215040004301572e..."} 
[2026-08-01 13:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc4f56c0012d18c28007215040004301572e..."} 
[2026-08-01 13:24:06] local.INFO: Processing buffer {"connection_id":147237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc4f56c0012d18c28007215040004301572e..."} 
[2026-08-01 13:24:06] local.INFO: Packet analysis {"connection_id":147237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc4f"} 
[2026-08-01 13:24:06] local.INFO: Extracted packet for processing {"connection_id":147237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc4f"} 
[2026-08-01 13:24:06] local.INFO: GPS Element Parsed {"raw_longitude":756597376,"raw_latitude":119623744,"longitude_deg":75.6597376,"latitude_deg":11.9623744,"altitude":67,"angle":343,"satellites":46,"speed":0,"hex_longitude":"2d18c280","hex_latitude":"07215040","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106105088001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10156974884782080,"note":"Value kept but may cause issues"} 
[2026-08-01 13:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784129170504171520,"note":"Value kept but may cause issues"} 
[2026-08-01 13:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785570744000,"timestamp_ms":1785570744000,"timestamp_seconds":1785570744,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc4f56c0"} 
[2026-08-01 13:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-01 13:24:06] 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-08-01 13: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-08-01 13:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:24:06] 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-08-01 13:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106105088001,"66":13417,"103":206,"83":41984,"24":0,"16":10156974884782080,"45":1784129170504171520},"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-08-01 13:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106105088001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:24:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 13:24:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10156974884782080,"km_value":10156974884782.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784129170504171520,"description":"Unknown IO ID 45"} 
[2026-08-01 13:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106105088001,"power":13417,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1784129170504171520}} 
[2026-08-01 13:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":147237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577295,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:24:06] local.INFO: GPS data processed {"connection_id":147237,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:24:06] local.INFO: Acknowledgment sent {"connection_id":147237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:24:26] local.INFO: TCP Data received {"connection_id":146235,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc4eed48012d08bcc006f534b0000c01412a..."} 
[2026-08-01 13:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc4eed48012d08bcc006f534b0000c01412a..."} 
[2026-08-01 13:24:26] local.INFO: Processing buffer {"connection_id":146235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc4eed48012d08bcc006f534b0000c01412a..."} 
[2026-08-01 13:24:26] local.INFO: Packet analysis {"connection_id":146235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc4e"} 
[2026-08-01 13:24:26] local.INFO: Extracted packet for processing {"connection_id":146235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc4e"} 
[2026-08-01 13:24:26] local.INFO: GPS Element Parsed {"raw_longitude":755547328,"raw_latitude":116733104,"longitude_deg":75.5547328,"latitude_deg":11.6733104,"altitude":12,"angle":321,"satellites":42,"speed":30,"hex_longitude":"2d08bcc0","hex_latitude":"06f534b0","is_valid_coordinates":true} 
[2026-08-01 13:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106100480001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366450380676005888,"note":"Value kept but may cause issues"} 
[2026-08-01 13:24:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":635781633526972416,"note":"Value kept but may cause issues"} 
[2026-08-01 13:24:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785570717000,"timestamp_ms":1785570717000,"timestamp_seconds":1785570717,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc4eed48"} 
[2026-08-01 13:24:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:24:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 13:24:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:24:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:24:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":146235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":146235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":146235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:24:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106100480001,"66":27550,"69":206,"2":56576,"24":30,"16":366450380676005888,"45":635781633526972416},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-08-01 13:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106100480001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:24:26] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-01 13:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366450380676005888,"km_value":366450380676005.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:24:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":635781633526972416,"description":"Unknown IO ID 45"} 
[2026-08-01 13:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106100480001,"power":27550,"unknown_69":206,"power_alt":56576,"ignition":30,"odometer":null,"unknown_45":635781633526972416}} 
[2026-08-01 13:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":146235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:24:26] local.INFO: GPS data processed {"connection_id":146235,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:24:26] local.INFO: Acknowledgment sent {"connection_id":146235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:24:37] local.INFO: TCP Data received {"connection_id":147237,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc4f9d10012d18c100072154080046014c2d..."} 
[2026-08-01 13:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc4f9d10012d18c100072154080046014c2d..."} 
[2026-08-01 13:24:37] local.INFO: Processing buffer {"connection_id":147237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc4f9d10012d18c100072154080046014c2d..."} 
[2026-08-01 13:24:37] local.INFO: Packet analysis {"connection_id":147237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc4f"} 
[2026-08-01 13:24:37] local.INFO: Extracted packet for processing {"connection_id":147237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc4f"} 
[2026-08-01 13:24:37] local.INFO: GPS Element Parsed {"raw_longitude":756596992,"raw_latitude":119624712,"longitude_deg":75.6596992,"latitude_deg":11.9624712,"altitude":70,"angle":332,"satellites":45,"speed":10,"hex_longitude":"2d18c100","hex_latitude":"07215408","is_valid_coordinates":true} 
[2026-08-01 13:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106110464001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10157026424389632,"note":"Value kept but may cause issues"} 
[2026-08-01 13:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784129170504171520,"note":"Value kept but may cause issues"} 
[2026-08-01 13:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785570762000,"timestamp_ms":1785570762000,"timestamp_seconds":1785570762,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc4f9d10"} 
[2026-08-01 13:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-01 13:24:37] 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-08-01 13:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:24:37] 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-08-01 13:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106110464001,"66":14113,"103":206,"83":41984,"24":10,"16":10157026424389632,"45":1784129170504171520},"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-08-01 13:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106110464001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:24:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 13:24:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10157026424389632,"km_value":10157026424389.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784129170504171520,"description":"Unknown IO ID 45"} 
[2026-08-01 13:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106110464001,"power":14113,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1784129170504171520}} 
[2026-08-01 13:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":147237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:24:37] local.INFO: GPS data processed {"connection_id":147237,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:24:37] local.INFO: Acknowledgment sent {"connection_id":147237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:24:44] local.INFO: TCP Data received {"connection_id":147238,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:24:44] local.INFO: Processing buffer {"connection_id":147238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:24:44] local.INFO: IMEI packet received {"connection_id":147238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":147238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:24:49] local.INFO: TCP Data received {"connection_id":147238,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:24:49] local.INFO: Processing buffer {"connection_id":147238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:24:49] local.INFO: IMEI packet received {"connection_id":147238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":147238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:24:51] local.INFO: TCP Data received {"connection_id":147238,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc506c18012d07cf4006f65a78000d01442a..."} 
[2026-08-01 13:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc506c18012d07cf4006f65a78000d01442a..."} 
[2026-08-01 13:24:51] local.INFO: Processing buffer {"connection_id":147238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc506c18012d07cf4006f65a78000d01442a..."} 
[2026-08-01 13:24:51] local.INFO: Packet analysis {"connection_id":147238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc50"} 
[2026-08-01 13:24:51] local.INFO: Extracted packet for processing {"connection_id":147238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc50"} 
[2026-08-01 13:24:51] local.INFO: GPS Element Parsed {"raw_longitude":755486528,"raw_latitude":116808312,"longitude_deg":75.5486528,"latitude_deg":11.6808312,"altitude":13,"angle":324,"satellites":42,"speed":16,"hex_longitude":"2d07cf40","hex_latitude":"06f65a78","is_valid_coordinates":true} 
[2026-08-01 13:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106126592001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366455045010489344,"note":"Value kept but may cause issues"} 
[2026-08-01 13:24:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":565342520625700864,"note":"Value kept but may cause issues"} 
[2026-08-01 13:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785570815000,"timestamp_ms":1785570815000,"timestamp_seconds":1785570815,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc506c18"} 
[2026-08-01 13:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:24:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-01 13:24:51] 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-08-01 13:24:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":147238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":147238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":147238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106126592001,"66":27865,"69":206,"2":56576,"24":16,"16":366455045010489344,"45":565342520625700864},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-08-01 13:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106126592001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:24:51] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-01 13:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366455045010489344,"km_value":366455045010489.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:24:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":565342520625700864,"description":"Unknown IO ID 45"} 
[2026-08-01 13:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106126592001,"power":27865,"unknown_69":206,"power_alt":56576,"ignition":16,"odometer":null,"unknown_45":565342520625700864}} 
[2026-08-01 13:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":147238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:24:51] local.INFO: GPS data processed {"connection_id":147238,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:24:51] local.INFO: Acknowledgment sent {"connection_id":147238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:25:00] local.INFO: TCP Data received {"connection_id":146018,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:25:00] local.INFO: Processing buffer {"connection_id":146018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:25:00] local.INFO: IMEI packet received {"connection_id":146018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 13:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":146018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:25:06] local.INFO: TCP Data received {"connection_id":146018,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:25:06] local.INFO: Processing buffer {"connection_id":146018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:25:06] local.INFO: IMEI packet received {"connection_id":146018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":146018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:25:07] local.INFO: TCP Data received {"connection_id":146018,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc4fa8c8012d18bf80072156580046013b2b..."} 
[2026-08-01 13:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc4fa8c8012d18bf80072156580046013b2b..."} 
[2026-08-01 13:25:07] local.INFO: Processing buffer {"connection_id":146018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc4fa8c8012d18bf80072156580046013b2b..."} 
[2026-08-01 13:25:07] local.INFO: Packet analysis {"connection_id":146018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc4f"} 
[2026-08-01 13:25:07] local.INFO: Extracted packet for processing {"connection_id":146018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc4f"} 
[2026-08-01 13:25:07] local.INFO: GPS Element Parsed {"raw_longitude":756596608,"raw_latitude":119625304,"longitude_deg":75.6596608,"latitude_deg":11.9625304,"altitude":70,"angle":315,"satellites":43,"speed":9,"hex_longitude":"2d18bf80","hex_latitude":"07215658","is_valid_coordinates":true} 
[2026-08-01 13:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106115072001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10157060784128000,"note":"Value kept but may cause issues"} 
[2026-08-01 13:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783706958039353344,"note":"Value kept but may cause issues"} 
[2026-08-01 13:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785570765000,"timestamp_ms":1785570765000,"timestamp_seconds":1785570765,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc4fa8c8"} 
[2026-08-01 13:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-01 13:25:07] 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-08-01 13:25:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:25: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-08-01 13:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106115072001,"66":14189,"103":206,"83":41984,"24":9,"16":10157060784128000,"45":1783706958039353344},"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-08-01 13:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106115072001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:25:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 13:25:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10157060784128000,"km_value":10157060784128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783706958039353344,"description":"Unknown IO ID 45"} 
[2026-08-01 13:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106115072001,"power":14189,"unknown_103":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1783706958039353344}} 
[2026-08-01 13:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":146018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:25:07] local.INFO: GPS data processed {"connection_id":146018,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:25:07] local.INFO: Acknowledgment sent {"connection_id":146018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:25:28] local.INFO: TCP Data received {"connection_id":147238,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc50aa98012d07b98006f675c0000d01422a..."} 
[2026-08-01 13:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc50aa98012d07b98006f675c0000d01422a..."} 
[2026-08-01 13:25:28] local.INFO: Processing buffer {"connection_id":147238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc50aa98012d07b98006f675c0000d01422a..."} 
[2026-08-01 13:25:28] local.INFO: Packet analysis {"connection_id":147238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc50"} 
[2026-08-01 13:25:28] local.INFO: Extracted packet for processing {"connection_id":147238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc50"} 
[2026-08-01 13:25:28] local.INFO: GPS Element Parsed {"raw_longitude":755480960,"raw_latitude":116815296,"longitude_deg":75.548096,"latitude_deg":11.6815296,"altitude":13,"angle":322,"satellites":42,"speed":28,"hex_longitude":"2d07b980","hex_latitude":"06f675c0","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106128640001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366455474507218944,"note":"Value kept but may cause issues"} 
[2026-08-01 13:25:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":562738877091706880,"note":"Value kept but may cause issues"} 
[2026-08-01 13:25:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785570831000,"timestamp_ms":1785570831000,"timestamp_seconds":1785570831,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc50aa98"} 
[2026-08-01 13:25:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:25:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 13:25:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:25:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:25:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":147238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":147238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":147238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:25:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106128640001,"66":27821,"69":206,"2":56576,"24":28,"16":366455474507218944,"45":562738877091706880},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-08-01 13:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106128640001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:25:28] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-01 13:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366455474507218944,"km_value":366455474507218.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:25:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":562738877091706880,"description":"Unknown IO ID 45"} 
[2026-08-01 13:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106128640001,"power":27821,"unknown_69":206,"power_alt":56576,"ignition":28,"odometer":null,"unknown_45":562738877091706880}} 
[2026-08-01 13:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":147238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:25:28] local.INFO: GPS data processed {"connection_id":147238,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:25:28] local.INFO: Acknowledgment sent {"connection_id":147238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:25:38] local.INFO: TCP Data received {"connection_id":146018,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc519cc8012d181dc00721a5c8004d01162b..."} 
[2026-08-01 13:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc519cc8012d181dc00721a5c8004d01162b..."} 
[2026-08-01 13:25:38] local.INFO: Processing buffer {"connection_id":146018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc519cc8012d181dc00721a5c8004d01162b..."} 
[2026-08-01 13:25:38] local.INFO: Packet analysis {"connection_id":146018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc51"} 
[2026-08-01 13:25:38] local.INFO: Extracted packet for processing {"connection_id":146018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc51"} 
[2026-08-01 13:25:38] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119645640,"longitude_deg":75.65552,"latitude_deg":11.964564,"altitude":77,"angle":278,"satellites":43,"speed":6,"hex_longitude":"2d181dc0","hex_latitude":"0721a5c8","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106147840001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10159354296664064,"note":"Value kept but may cause issues"} 
[2026-08-01 13:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749305876480,"note":"Value kept but may cause issues"} 
[2026-08-01 13:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785570893000,"timestamp_ms":1785570893000,"timestamp_seconds":1785570893,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc519cc8"} 
[2026-08-01 13:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13: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":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-01 13:25:38] 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-08-01 13: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-08-01 13:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:25:38] 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-08-01 13:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106147840001,"66":14157,"107":206,"83":41984,"24":6,"16":10159354296664064,"45":1738248749305876480},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-01 13:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106147840001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:25:38] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 13:25:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10159354296664064,"km_value":10159354296664.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749305876480,"description":"Unknown IO ID 45"} 
[2026-08-01 13:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106147840001,"power":14157,"unknown_107":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1738248749305876480}} 
[2026-08-01 13:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":146018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:25:38] local.INFO: GPS data processed {"connection_id":146018,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:25:38] local.INFO: Acknowledgment sent {"connection_id":146018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:25:49] local.INFO: TCP Data received {"connection_id":146236,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:25:49] local.INFO: Processing buffer {"connection_id":146236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:25:49] local.INFO: IMEI packet received {"connection_id":146236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":146236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:25:50] local.INFO: TCP Data received {"connection_id":146236,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:25:50] local.INFO: Processing buffer {"connection_id":146236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:25:50] local.INFO: IMEI packet received {"connection_id":146236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":146236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:25:58] local.INFO: TCP Data received {"connection_id":146236,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:25:58] local.INFO: Processing buffer {"connection_id":146236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:25:58] local.INFO: IMEI packet received {"connection_id":146236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":146236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:26:00] local.INFO: TCP Data received {"connection_id":147239,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:26:00] local.INFO: Processing buffer {"connection_id":147239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:26:00] local.INFO: IMEI packet received {"connection_id":147239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 13:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":147239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:26:03] local.INFO: TCP Data received {"connection_id":147239,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:26:03] local.INFO: Processing buffer {"connection_id":147239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:26:03] local.INFO: IMEI packet received {"connection_id":147239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":147239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:26:05] local.INFO: TCP Data received {"connection_id":147239,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:26:05] local.INFO: Processing buffer {"connection_id":147239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:26:05] local.INFO: IMEI packet received {"connection_id":147239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":147239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:26:06] local.INFO: TCP Data received {"connection_id":147239,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc51a880012d181c800721a5b0004d00e32c..."} 
[2026-08-01 13:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc51a880012d181c800721a5b0004d00e32c..."} 
[2026-08-01 13:26:06] local.INFO: Processing buffer {"connection_id":147239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc51a880012d181c800721a5b0004d00e32c..."} 
[2026-08-01 13:26:06] local.INFO: Packet analysis {"connection_id":147239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc51"} 
[2026-08-01 13:26:06] local.INFO: Extracted packet for processing {"connection_id":147239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc51"} 
[2026-08-01 13:26:06] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119645616,"longitude_deg":75.655488,"latitude_deg":11.9645616,"altitude":77,"angle":227,"satellites":44,"speed":6,"hex_longitude":"2d181c80","hex_latitude":"0721a5b0","is_valid_coordinates":true} 
[2026-08-01 13:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106148608001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10159367181565952,"note":"Value kept but may cause issues"} 
[2026-08-01 13:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168096696320,"note":"Value kept but may cause issues"} 
[2026-08-01 13:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785570896000,"timestamp_ms":1785570896000,"timestamp_seconds":1785570896,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc51a880"} 
[2026-08-01 13:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-01 13:26:06] 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-08-01 13:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:26:06] 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-08-01 13:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106148608001,"66":14211,"107":206,"83":41984,"24":6,"16":10159367181565952,"45":1737756168096696320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-01 13:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106148608001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:26:06] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 13:26:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10159367181565952,"km_value":10159367181565.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168096696320,"description":"Unknown IO ID 45"} 
[2026-08-01 13:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106148608001,"power":14211,"unknown_107":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1737756168096696320}} 
[2026-08-01 13:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":147239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:26:06] local.INFO: GPS data processed {"connection_id":147239,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:26:06] local.INFO: Acknowledgment sent {"connection_id":147239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:26:11] local.INFO: TCP Data received {"connection_id":146236,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc50d590012d07a2c006f69188000d01412a..."} 
[2026-08-01 13:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc50d590012d07a2c006f69188000d01412a..."} 
[2026-08-01 13:26:11] local.INFO: Processing buffer {"connection_id":146236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc50d590012d07a2c006f69188000d01412a..."} 
[2026-08-01 13:26:11] local.INFO: Packet analysis {"connection_id":146236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc50"} 
[2026-08-01 13:26:11] local.INFO: Extracted packet for processing {"connection_id":146236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc50"} 
[2026-08-01 13:26:11] local.INFO: GPS Element Parsed {"raw_longitude":755475136,"raw_latitude":116822408,"longitude_deg":75.5475136,"latitude_deg":11.6822408,"altitude":13,"angle":321,"satellites":42,"speed":36,"hex_longitude":"2d07a2c0","hex_latitude":"06f69188","is_valid_coordinates":true} 
[2026-08-01 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-08-01 13:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106132736001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366455916888850432,"note":"Value kept but may cause issues"} 
[2026-08-01 13:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":556616796350038016,"note":"Value kept but may cause issues"} 
[2026-08-01 13:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785570842000,"timestamp_ms":1785570842000,"timestamp_seconds":1785570842,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc50d590"} 
[2026-08-01 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-08-01 13:26: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-08-01 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 13:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 13:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106132736001,"66":28028,"69":206,"2":56576,"24":36,"16":366455916888850432,"45":556616796350038016},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-08-01 13:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106132736001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:26:11] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-01 13:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366455916888850432,"km_value":366455916888850.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":556616796350038016,"description":"Unknown IO ID 45"} 
[2026-08-01 13:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106132736001,"power":28028,"unknown_69":206,"power_alt":56576,"ignition":36,"odometer":null,"unknown_45":556616796350038016}} 
[2026-08-01 13:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":146236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:26:11] local.INFO: GPS data processed {"connection_id":146236,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:26:11] local.INFO: Acknowledgment sent {"connection_id":146236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:26:18] local.INFO: TCP Data received {"connection_id":146236,"ip":"117.224.186.144","data_length":1360,"data_hex":"000000000000030f8e0a0000019fbc50fca0012d078ac006f6adb0000c01402a..."} 
[2026-08-01 13:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146236,"packet_length":1360,"packet_hex":"000000000000030f8e0a0000019fbc50fca0012d078ac006f6adb0000c01402a..."} 
[2026-08-01 13:26:18] local.INFO: Processing buffer {"connection_id":146236,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a0000019fbc50fca0012d078ac006f6adb0000c01402a..."} 
[2026-08-01 13:26:18] local.INFO: Packet analysis {"connection_id":146236,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a0000019fbc50"} 
[2026-08-01 13:26:18] local.INFO: Extracted packet for processing {"connection_id":146236,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019fbc50"} 
[2026-08-01 13:26:18] local.INFO: GPS Element Parsed {"raw_longitude":755468992,"raw_latitude":116829616,"longitude_deg":75.5468992,"latitude_deg":11.6829616,"altitude":12,"angle":320,"satellites":42,"speed":37,"hex_longitude":"2d078ac0","hex_latitude":"06f6adb0","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106135552001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366456372155383808,"note":"Value kept but may cause issues"} 
[2026-08-01 13:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":550213240631691264,"note":"Value kept but may cause issues"} 
[2026-08-01 13:26:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785570852000,"timestamp_ms":1785570852000,"timestamp_seconds":1785570852,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc50fca0"} 
[2026-08-01 13:26:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:26: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-08-01 13: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-01 13:26:18] 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-08-01 13: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-08-01 13:26:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":146236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":146236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":146236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:26:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106135552001,"66":27908,"69":206,"2":56576,"24":37,"16":366456372155383808,"45":550213240631691264},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-08-01 13:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106135552001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:26:18] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-01 13:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366456372155383808,"km_value":366456372155383.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":550213240631691264,"description":"Unknown IO ID 45"} 
[2026-08-01 13:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106135552001,"power":27908,"unknown_69":206,"power_alt":56576,"ignition":37,"odometer":null,"unknown_45":550213240631691264}} 
[2026-08-01 13:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":146236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:26:18] local.INFO: GPS data processed {"connection_id":146236,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:26:18] local.INFO: Acknowledgment sent {"connection_id":146236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:26:18] local.INFO: Packet analysis {"connection_id":146236,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019fbc51"} 
[2026-08-01 13:26:18] local.INFO: Incomplete packet, waiting for more data {"connection_id":146236,"needed":795,"available":565} 
[2026-08-01 13:26:19] local.INFO: TCP Data received {"connection_id":146236,"ip":"117.224.186.144","data_length":230,"data_hex":"2d08088006f61ca8000d013d2c002e0000000a000400ef0100715f00f0010045..."} 
[2026-08-01 13:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146236,"packet_length":230,"packet_hex":"2d08088006f61ca8000d013d2c002e0000000a000400ef0100715f00f0010045..."} 
[2026-08-01 13:26:19] local.INFO: Processing buffer {"connection_id":146236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc5123b0012d07740006f6c878000d013f26..."} 
[2026-08-01 13:26:19] local.INFO: Packet analysis {"connection_id":146236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc51"} 
[2026-08-01 13:26:19] local.INFO: Extracted packet for processing {"connection_id":146236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc51"} 
[2026-08-01 13:26:19] local.INFO: GPS Element Parsed {"raw_longitude":755463168,"raw_latitude":116836472,"longitude_deg":75.5463168,"latitude_deg":11.6836472,"altitude":13,"angle":319,"satellites":38,"speed":32,"hex_longitude":"2d077400","hex_latitude":"06f6c878","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:26:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106138112001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:26:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366456805947080704,"note":"Value kept but may cause issues"} 
[2026-08-01 13:26:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":543457841192480768,"note":"Value kept but may cause issues"} 
[2026-08-01 13:26:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:26:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785570862000,"timestamp_ms":1785570862000,"timestamp_seconds":1785570862,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc5123b0"} 
[2026-08-01 13:26:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:26: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-08-01 13: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 13:26:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13: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-08-01 13:26:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:26:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":146236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":146236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":146236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:26:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:26:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:26:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:26:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106138112001,"66":27843,"69":206,"2":56576,"24":32,"16":366456805947080704,"45":543457841192480768},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-08-01 13:26:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:26:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:26:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106138112001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:26:19] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-01 13:26:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366456805947080704,"km_value":366456805947080.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:26:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":543457841192480768,"description":"Unknown IO ID 45"} 
[2026-08-01 13:26:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106138112001,"power":27843,"unknown_69":206,"power_alt":56576,"ignition":32,"odometer":null,"unknown_45":543457841192480768}} 
[2026-08-01 13:26:19] local.INFO: DEBUG: GPS processor result {"connection_id":146236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:26:19] local.INFO: GPS data processed {"connection_id":146236,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:26:19] local.INFO: Acknowledgment sent {"connection_id":146236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:26:37] local.INFO: TCP Data received {"connection_id":147239,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc51b050012d181b000721a3f8004d00d72b..."} 
[2026-08-01 13:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc51b050012d181b000721a3f8004d00d72b..."} 
[2026-08-01 13:26:37] local.INFO: Processing buffer {"connection_id":147239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc51b050012d181b000721a3f8004d00d72b..."} 
[2026-08-01 13:26:37] local.INFO: Packet analysis {"connection_id":147239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc51"} 
[2026-08-01 13:26:37] local.INFO: Extracted packet for processing {"connection_id":147239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc51"} 
[2026-08-01 13:26:37] local.INFO: GPS Element Parsed {"raw_longitude":756554496,"raw_latitude":119645176,"longitude_deg":75.6554496,"latitude_deg":11.9645176,"altitude":77,"angle":215,"satellites":43,"speed":15,"hex_longitude":"2d181b00","hex_latitude":"0721a3f8","is_valid_coordinates":true} 
[2026-08-01 13:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106149376001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10159397246337024,"note":"Value kept but may cause issues"} 
[2026-08-01 13:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324375801856,"note":"Value kept but may cause issues"} 
[2026-08-01 13:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785570898000,"timestamp_ms":1785570898000,"timestamp_seconds":1785570898,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc51b050"} 
[2026-08-01 13:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-01 13:26:37] 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-08-01 13:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:26:37] 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-08-01 13:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106149376001,"66":14004,"107":206,"83":41984,"24":15,"16":10159397246337024,"45":1737404324375801856},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-01 13:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106149376001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:26:37] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 13:26:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10159397246337024,"km_value":10159397246337.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324375801856,"description":"Unknown IO ID 45"} 
[2026-08-01 13:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106149376001,"power":14004,"unknown_107":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1737404324375801856}} 
[2026-08-01 13:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":147239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:26:37] local.INFO: GPS data processed {"connection_id":147239,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:26:37] local.INFO: Acknowledgment sent {"connection_id":147239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:26:49] local.INFO: TCP Data received {"connection_id":148559,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:26:49] local.INFO: Processing buffer {"connection_id":148559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:26:49] local.INFO: IMEI packet received {"connection_id":148559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":148559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:26:54] local.INFO: TCP Data received {"connection_id":148559,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:26:54] local.INFO: Processing buffer {"connection_id":148559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:26:54] local.INFO: IMEI packet received {"connection_id":148559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":148559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:26:55] local.INFO: TCP Data received {"connection_id":148559,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc515e48012d07600006f6e1b8000c014b22..."} 
[2026-08-01 13:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc515e48012d07600006f6e1b8000c014b22..."} 
[2026-08-01 13:26:55] local.INFO: Processing buffer {"connection_id":148559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc515e48012d07600006f6e1b8000c014b22..."} 
[2026-08-01 13:26:55] local.INFO: Packet analysis {"connection_id":148559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc51"} 
[2026-08-01 13:26:55] local.INFO: Extracted packet for processing {"connection_id":148559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc51"} 
[2026-08-01 13:26:55] local.INFO: GPS Element Parsed {"raw_longitude":755458048,"raw_latitude":116842936,"longitude_deg":75.5458048,"latitude_deg":11.6842936,"altitude":12,"angle":331,"satellites":34,"speed":5,"hex_longitude":"2d076000","hex_latitude":"06f6e1b8","is_valid_coordinates":true} 
[2026-08-01 13:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106140672001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366457201084071936,"note":"Value kept but may cause issues"} 
[2026-08-01 13:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":537054285474068480,"note":"Value kept but may cause issues"} 
[2026-08-01 13:26:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785570877000,"timestamp_ms":1785570877000,"timestamp_seconds":1785570877,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc515e48"} 
[2026-08-01 13:26:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:26:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 13:26:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:26:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:26:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:26:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106140672001,"66":27865,"69":206,"2":56576,"24":5,"16":366457201084071936,"45":537054285474068480},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-08-01 13:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106140672001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:26:55] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-01 13:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366457201084071936,"km_value":366457201084071.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":537054285474068480,"description":"Unknown IO ID 45"} 
[2026-08-01 13:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106140672001,"power":27865,"unknown_69":206,"power_alt":56576,"ignition":5,"odometer":null,"unknown_45":537054285474068480}} 
[2026-08-01 13:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":148559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:26:55] local.INFO: GPS data processed {"connection_id":148559,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:26:55] local.INFO: Acknowledgment sent {"connection_id":148559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:27:04] local.INFO: TCP Data received {"connection_id":146237,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:27:04] local.INFO: Processing buffer {"connection_id":146237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:27:04] local.INFO: IMEI packet received {"connection_id":146237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 13:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":146237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:27:08] local.INFO: TCP Data received {"connection_id":146237,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:27:08] local.INFO: Processing buffer {"connection_id":146237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:27:08] local.INFO: IMEI packet received {"connection_id":146237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":146237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:27:13] local.INFO: TCP Data received {"connection_id":146237,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:27:13] local.INFO: Processing buffer {"connection_id":146237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:27:13] local.INFO: IMEI packet received {"connection_id":146237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":146237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:27:21] local.INFO: TCP Data received {"connection_id":146237,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc51df30012d18054007218848004d00e42a..."} 
[2026-08-01 13:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc51df30012d18054007218848004d00e42a..."} 
[2026-08-01 13:27:21] local.INFO: Processing buffer {"connection_id":146237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc51df30012d18054007218848004d00e42a..."} 
[2026-08-01 13:27:21] local.INFO: Packet analysis {"connection_id":146237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc51"} 
[2026-08-01 13:27:21] local.INFO: Extracted packet for processing {"connection_id":146237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc51"} 
[2026-08-01 13:27:21] local.INFO: GPS Element Parsed {"raw_longitude":756548928,"raw_latitude":119638088,"longitude_deg":75.6548928,"latitude_deg":11.9638088,"altitude":77,"angle":228,"satellites":42,"speed":40,"hex_longitude":"2d180540","hex_latitude":"07218848","is_valid_coordinates":true} 
[2026-08-01 13:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106149888001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10159831038033920,"note":"Value kept but may cause issues"} 
[2026-08-01 13:27:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736982111910623232,"note":"Value kept but may cause issues"} 
[2026-08-01 13:27: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-08-01 13:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785570910000,"timestamp_ms":1785570910000,"timestamp_seconds":1785570910,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc51df30"} 
[2026-08-01 13:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:27:21] 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-08-01 13:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-01 13:27: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-08-01 13:27:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:27: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-08-01 13:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106149888001,"66":14070,"107":206,"83":41984,"24":40,"16":10159831038033920,"45":1736982111910623232},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-01 13:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106149888001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:27:21] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 13:27:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10159831038033920,"km_value":10159831038033.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:27:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736982111910623232,"description":"Unknown IO ID 45"} 
[2026-08-01 13:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106149888001,"power":14070,"unknown_107":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1736982111910623232}} 
[2026-08-01 13:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":146237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:27:21] local.INFO: GPS data processed {"connection_id":146237,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:27:21] local.INFO: Acknowledgment sent {"connection_id":146237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:27:22] local.INFO: TCP Data received {"connection_id":146237,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc51df30012d18054007218848004d00e42a..."} 
[2026-08-01 13:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc51df30012d18054007218848004d00e42a..."} 
[2026-08-01 13:27:22] local.INFO: Processing buffer {"connection_id":146237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc51df30012d18054007218848004d00e42a..."} 
[2026-08-01 13:27:22] local.INFO: Packet analysis {"connection_id":146237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc51"} 
[2026-08-01 13:27:22] local.INFO: Extracted packet for processing {"connection_id":146237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc51"} 
[2026-08-01 13:27:22] local.INFO: GPS Element Parsed {"raw_longitude":756548928,"raw_latitude":119638088,"longitude_deg":75.6548928,"latitude_deg":11.9638088,"altitude":77,"angle":228,"satellites":42,"speed":40,"hex_longitude":"2d180540","hex_latitude":"07218848","is_valid_coordinates":true} 
[2026-08-01 13:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106152960001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10159831038033920,"note":"Value kept but may cause issues"} 
[2026-08-01 13:27:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1730860031165351936,"note":"Value kept but may cause issues"} 
[2026-08-01 13:27:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785570910000,"timestamp_ms":1785570910000,"timestamp_seconds":1785570910,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc51df30"} 
[2026-08-01 13:27:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:27:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-01 13:27:22] 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-08-01 13:27:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:27:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:27: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-08-01 13:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106152960001,"66":14070,"107":206,"83":41984,"24":40,"16":10159831038033920,"45":1730860031165351936},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-01 13:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106152960001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:27:22] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 13:27:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10159831038033920,"km_value":10159831038033.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:27:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1730860031165351936,"description":"Unknown IO ID 45"} 
[2026-08-01 13:27:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106152960001,"power":14070,"unknown_107":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1730860031165351936}} 
[2026-08-01 13:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":146237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577309,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:27:22] local.INFO: GPS data processed {"connection_id":146237,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:27:22] local.INFO: Acknowledgment sent {"connection_id":146237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:27:27] local.INFO: TCP Data received {"connection_id":148559,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc516230012d075fc006f6e228000c013b22..."} 
[2026-08-01 13:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc516230012d075fc006f6e228000c013b22..."} 
[2026-08-01 13:27:27] local.INFO: Processing buffer {"connection_id":148559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc516230012d075fc006f6e228000c013b22..."} 
[2026-08-01 13:27:27] local.INFO: Packet analysis {"connection_id":148559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc51"} 
[2026-08-01 13:27:27] local.INFO: Extracted packet for processing {"connection_id":148559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc51"} 
[2026-08-01 13:27:27] local.INFO: GPS Element Parsed {"raw_longitude":755457984,"raw_latitude":116843048,"longitude_deg":75.5457984,"latitude_deg":11.6843048,"altitude":12,"angle":315,"satellites":34,"speed":6,"hex_longitude":"2d075fc0","hex_latitude":"06f6e228","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106144512001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366457209674006528,"note":"Value kept but may cause issues"} 
[2026-08-01 13:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":531424785941510144,"note":"Value kept but may cause issues"} 
[2026-08-01 13:27:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785570878000,"timestamp_ms":1785570878000,"timestamp_seconds":1785570878,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc516230"} 
[2026-08-01 13:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:27: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-08-01 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 13:27:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13: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-08-01 13:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106144512001,"66":27865,"69":206,"2":56576,"24":6,"16":366457209674006528,"45":531424785941510144},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-08-01 13:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106144512001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:27:27] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-01 13:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366457209674006528,"km_value":366457209674006.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":531424785941510144,"description":"Unknown IO ID 45"} 
[2026-08-01 13:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106144512001,"power":27865,"unknown_69":206,"power_alt":56576,"ignition":6,"odometer":null,"unknown_45":531424785941510144}} 
[2026-08-01 13:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":148559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:27:27] local.INFO: GPS data processed {"connection_id":148559,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:27:27] local.INFO: Acknowledgment sent {"connection_id":148559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:27:44] local.INFO: TCP Data received {"connection_id":148560,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:27:44] local.INFO: Processing buffer {"connection_id":148560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:27:44] local.INFO: IMEI packet received {"connection_id":148560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":148560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:27:47] local.INFO: TCP Data received {"connection_id":148560,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:27:47] local.INFO: Processing buffer {"connection_id":148560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:27:47] local.INFO: IMEI packet received {"connection_id":148560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":148560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:27:48] local.INFO: TCP Data received {"connection_id":148560,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc533ec0012d06728006f7fa880009013e27..."} 
[2026-08-01 13:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc533ec0012d06728006f7fa880009013e27..."} 
[2026-08-01 13:27:48] local.INFO: Processing buffer {"connection_id":148560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc533ec0012d06728006f7fa880009013e27..."} 
[2026-08-01 13:27:48] local.INFO: Packet analysis {"connection_id":148560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc53"} 
[2026-08-01 13:27:48] local.INFO: Extracted packet for processing {"connection_id":148560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc53"} 
[2026-08-01 13:27:48] local.INFO: GPS Element Parsed {"raw_longitude":755397248,"raw_latitude":116914824,"longitude_deg":75.5397248,"latitude_deg":11.6914824,"altitude":9,"angle":318,"satellites":39,"speed":37,"hex_longitude":"2d067280","hex_latitude":"06f7fa88","is_valid_coordinates":true} 
[2026-08-01 13:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106173440001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366461732274569216,"note":"Value kept but may cause issues"} 
[2026-08-01 13:27:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":471540984662917120,"note":"Value kept but may cause issues"} 
[2026-08-01 13:27:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785571000000,"timestamp_ms":1785571000000,"timestamp_seconds":1785571000,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc533ec0"} 
[2026-08-01 13:27:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:27:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 13:27:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:27:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:27:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:27:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106173440001,"66":27767,"155":206,"28":32256,"24":37,"16":366461732274569216,"45":471540984662917120},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,28,24,16,45]} 
[2026-08-01 13:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106173440001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:27:48] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-01 13:27:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:27:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366461732274569216,"km_value":366461732274569.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:27:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":471540984662917120,"description":"Unknown IO ID 45"} 
[2026-08-01 13:27:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106173440001,"power":27767,"unknown_155":206,"unknown_28":32256,"ignition":37,"odometer":null,"unknown_45":471540984662917120}} 
[2026-08-01 13:27:48] local.INFO: DEBUG: GPS processor result {"connection_id":148560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:27:48] local.INFO: GPS data processed {"connection_id":148560,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:27:48] local.INFO: Acknowledgment sent {"connection_id":148560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:28:00] local.INFO: TCP Data received {"connection_id":148561,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:28:00] local.INFO: Processing buffer {"connection_id":148561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:28:00] local.INFO: IMEI packet received {"connection_id":148561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 13:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":148561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:28:04] local.INFO: TCP Data received {"connection_id":148561,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:28:04] local.INFO: Processing buffer {"connection_id":148561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:28:04] local.INFO: IMEI packet received {"connection_id":148561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":148561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:28:04] local.INFO: TCP Data received {"connection_id":148561,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc535630012d16c78007203b18002600df2d..."} 
[2026-08-01 13:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc535630012d16c78007203b18002600df2d..."} 
[2026-08-01 13:28:04] local.INFO: Processing buffer {"connection_id":148561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc535630012d16c78007203b18002600df2d..."} 
[2026-08-01 13:28:04] local.INFO: Packet analysis {"connection_id":148561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc53"} 
[2026-08-01 13:28:04] local.INFO: Extracted packet for processing {"connection_id":148561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc53"} 
[2026-08-01 13:28:04] local.INFO: GPS Element Parsed {"raw_longitude":756467584,"raw_latitude":119552792,"longitude_deg":75.6467584,"latitude_deg":11.9552792,"altitude":38,"angle":223,"satellites":45,"speed":51,"hex_longitude":"2d16c780","hex_latitude":"07203b18","is_valid_coordinates":true} 
[2026-08-01 13:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106175744001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10165530459635712,"note":"Value kept but may cause issues"} 
[2026-08-01 13:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1648247125480730624,"note":"Value kept but may cause issues"} 
[2026-08-01 13:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785571006000,"timestamp_ms":1785571006000,"timestamp_seconds":1785571006,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc535630"} 
[2026-08-01 13:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:28:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-01 13:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":148561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":148561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":148561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:28:04] 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-08-01 13:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106175744001,"66":14113,"85":206,"83":41984,"24":51,"16":10165530459635712,"45":1648247125480730624},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-08-01 13:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106175744001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:28:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-08-01 13:28:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10165530459635712,"km_value":10165530459635.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1648247125480730624,"description":"Unknown IO ID 45"} 
[2026-08-01 13:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106175744001,"power":14113,"unknown_85":206,"unknown_83":41984,"ignition":51,"odometer":null,"unknown_45":1648247125480730624}} 
[2026-08-01 13:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":148561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:28:04] local.INFO: GPS data processed {"connection_id":148561,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:28:04] local.INFO: Acknowledgment sent {"connection_id":148561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:28:23] local.INFO: TCP Data received {"connection_id":148560,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc5365d0012d0658c006f816e00009013d26..."} 
[2026-08-01 13:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc5365d0012d0658c006f816e00009013d26..."} 
[2026-08-01 13:28:23] local.INFO: Processing buffer {"connection_id":148560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc5365d0012d0658c006f816e00009013d26..."} 
[2026-08-01 13:28:23] local.INFO: Packet analysis {"connection_id":148560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc53"} 
[2026-08-01 13:28:23] local.INFO: Extracted packet for processing {"connection_id":148560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc53"} 
[2026-08-01 13:28:23] local.INFO: GPS Element Parsed {"raw_longitude":755390656,"raw_latitude":116922080,"longitude_deg":75.5390656,"latitude_deg":11.692208,"altitude":9,"angle":317,"satellites":38,"speed":39,"hex_longitude":"2d0658c0","hex_latitude":"06f816e0","is_valid_coordinates":true} 
[2026-08-01 13:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106176000001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366462204720971776,"note":"Value kept but may cause issues"} 
[2026-08-01 13:28:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":464574478991132672,"note":"Value kept but may cause issues"} 
[2026-08-01 13:28:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785571010000,"timestamp_ms":1785571010000,"timestamp_seconds":1785571010,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc5365d0"} 
[2026-08-01 13:28:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:28:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 13:28:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:28:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:28:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":148560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":148560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":148560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:28:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106176000001,"66":27691,"155":206,"28":32256,"24":39,"16":366462204720971776,"45":464574478991132672},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,28,24,16,45]} 
[2026-08-01 13:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106176000001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:28:23] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-01 13:28:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366462204720971776,"km_value":366462204720971.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:28:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":464574478991132672,"description":"Unknown IO ID 45"} 
[2026-08-01 13:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106176000001,"power":27691,"unknown_155":206,"unknown_28":32256,"ignition":39,"odometer":null,"unknown_45":464574478991132672}} 
[2026-08-01 13:28:23] local.INFO: DEBUG: GPS processor result {"connection_id":148560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:28:23] local.INFO: GPS data processed {"connection_id":148560,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:28:23] local.INFO: Acknowledgment sent {"connection_id":148560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:28:36] local.INFO: TCP Data received {"connection_id":148561,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc537188012d16aec0072024f8002900ea2b..."} 
[2026-08-01 13:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc537188012d16aec0072024f8002900ea2b..."} 
[2026-08-01 13:28:36] local.INFO: Processing buffer {"connection_id":148561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc537188012d16aec0072024f8002900ea2b..."} 
[2026-08-01 13:28:36] local.INFO: Packet analysis {"connection_id":148561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc53"} 
[2026-08-01 13:28:36] local.INFO: Extracted packet for processing {"connection_id":148561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc53"} 
[2026-08-01 13:28:36] local.INFO: GPS Element Parsed {"raw_longitude":756461248,"raw_latitude":119547128,"longitude_deg":75.6461248,"latitude_deg":11.9547128,"altitude":41,"angle":234,"satellites":43,"speed":46,"hex_longitude":"2d16aec0","hex_latitude":"072024f8","is_valid_coordinates":true} 
[2026-08-01 13:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106177536001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10165938481528832,"note":"Value kept but may cause issues"} 
[2026-08-01 13:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1641421357293705216,"note":"Value kept but may cause issues"} 
[2026-08-01 13:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785571013000,"timestamp_ms":1785571013000,"timestamp_seconds":1785571013,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc537188"} 
[2026-08-01 13:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:28:36] 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-08-01 13:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-01 13:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:28:36] 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-08-01 13:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106177536001,"66":14211,"85":206,"83":41984,"24":46,"16":10165938481528832,"45":1641421357293705216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-08-01 13:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106177536001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:28:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-08-01 13:28:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10165938481528832,"km_value":10165938481528.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1641421357293705216,"description":"Unknown IO ID 45"} 
[2026-08-01 13:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106177536001,"power":14211,"unknown_85":206,"unknown_83":41984,"ignition":46,"odometer":null,"unknown_45":1641421357293705216}} 
[2026-08-01 13:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":148561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:28:36] local.INFO: GPS data processed {"connection_id":148561,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:28:36] local.INFO: Acknowledgment sent {"connection_id":148561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:28:44] local.INFO: TCP Data received {"connection_id":146019,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:28:44] local.INFO: Processing buffer {"connection_id":146019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:28:44] local.INFO: IMEI packet received {"connection_id":146019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":146019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:28:45] local.INFO: TCP Data received {"connection_id":146019,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:28:45] local.INFO: Processing buffer {"connection_id":146019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:28:45] local.INFO: IMEI packet received {"connection_id":146019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":146019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:28:50] local.INFO: TCP Data received {"connection_id":146019,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:28:50] local.INFO: Processing buffer {"connection_id":146019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:28:50] local.INFO: IMEI packet received {"connection_id":146019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":146019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:28:51] local.INFO: TCP Data received {"connection_id":146019,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc5388f8012d06408006f831500008014023..."} 
[2026-08-01 13:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc5388f8012d06408006f831500008014023..."} 
[2026-08-01 13:28:51] local.INFO: Processing buffer {"connection_id":146019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc5388f8012d06408006f831500008014023..."} 
[2026-08-01 13:28:51] local.INFO: Packet analysis {"connection_id":146019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc53"} 
[2026-08-01 13:28:51] local.INFO: Extracted packet for processing {"connection_id":146019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc53"} 
[2026-08-01 13:28:51] local.INFO: GPS Element Parsed {"raw_longitude":755384448,"raw_latitude":116928848,"longitude_deg":75.5384448,"latitude_deg":11.6928848,"altitude":8,"angle":320,"satellites":35,"speed":38,"hex_longitude":"2d064080","hex_latitude":"06f83150","is_valid_coordinates":true} 
[2026-08-01 13:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106178560001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366462642807635968,"note":"Value kept but may cause issues"} 
[2026-08-01 13:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":457326498342690816,"note":"Value kept but may cause issues"} 
[2026-08-01 13:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785571019000,"timestamp_ms":1785571019000,"timestamp_seconds":1785571019,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc5388f8"} 
[2026-08-01 13:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:28:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-01 13:28:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:28:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":146019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":146019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":146019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106178560001,"66":27821,"155":206,"28":32256,"24":38,"16":366462642807635968,"45":457326498342690816},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,28,24,16,45]} 
[2026-08-01 13:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106178560001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:28:51] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-01 13:28:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366462642807635968,"km_value":366462642807635.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":457326498342690816,"description":"Unknown IO ID 45"} 
[2026-08-01 13:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106178560001,"power":27821,"unknown_155":206,"unknown_28":32256,"ignition":38,"odometer":null,"unknown_45":457326498342690816}} 
[2026-08-01 13:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":146019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:28:51] local.INFO: GPS data processed {"connection_id":146019,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:28:51] local.INFO: Acknowledgment sent {"connection_id":146019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:29:09] local.INFO: TCP Data received {"connection_id":146238,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146238,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:29:09] local.INFO: Processing buffer {"connection_id":146238,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:29:09] local.INFO: IMEI packet received {"connection_id":146238,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 13:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":146238,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:29:11] local.INFO: TCP Data received {"connection_id":146238,"ip":"42.106.6.27","data_length":51,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-01 13:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146238,"packet_length":51,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-01 13:29:11] local.INFO: Processing buffer {"connection_id":146238,"buffer_length":51,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-01 13:29:11] local.INFO: IMEI packet received {"connection_id":146238,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":146238,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:29:31] local.INFO: TCP Data received {"connection_id":146019,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc53b008012d0626c006f84d580007013d29..."} 
[2026-08-01 13:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc53b008012d0626c006f84d580007013d29..."} 
[2026-08-01 13:29:31] local.INFO: Processing buffer {"connection_id":146019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc53b008012d0626c006f84d580007013d29..."} 
[2026-08-01 13:29:31] local.INFO: Packet analysis {"connection_id":146019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc53"} 
[2026-08-01 13:29:31] local.INFO: Extracted packet for processing {"connection_id":146019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc53"} 
[2026-08-01 13:29:31] local.INFO: GPS Element Parsed {"raw_longitude":755377856,"raw_latitude":116936024,"longitude_deg":75.5377856,"latitude_deg":11.6936024,"altitude":7,"angle":317,"satellites":41,"speed":38,"hex_longitude":"2d0626c0","hex_latitude":"06f84d58","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106180864001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366463110959071232,"note":"Value kept but may cause issues"} 
[2026-08-01 13:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":450500730159190016,"note":"Value kept but may cause issues"} 
[2026-08-01 13:29:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785571029000,"timestamp_ms":1785571029000,"timestamp_seconds":1785571029,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc53b008"} 
[2026-08-01 13:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:29: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-08-01 13: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":173,"data_length":795,"current_offset":136} 
[2026-08-01 13:29: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-08-01 13: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-08-01 13:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":146019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":146019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":146019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106180864001,"66":27865,"73":206,"28":32256,"24":38,"16":366463110959071232,"45":450500730159190016},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,28,24,16,45]} 
[2026-08-01 13:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106180864001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:29:31] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-08-01 13:29:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366463110959071232,"km_value":366463110959071.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":450500730159190016,"description":"Unknown IO ID 45"} 
[2026-08-01 13:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106180864001,"power":27865,"unknown_73":206,"unknown_28":32256,"ignition":38,"odometer":null,"unknown_45":450500730159190016}} 
[2026-08-01 13:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":146019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:29:31] local.INFO: GPS data processed {"connection_id":146019,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:29:31] local.INFO: Acknowledgment sent {"connection_id":146019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:29:44] local.INFO: TCP Data received {"connection_id":146020,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:29:44] local.INFO: Processing buffer {"connection_id":146020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:29:44] local.INFO: IMEI packet received {"connection_id":146020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":146020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:29:49] local.INFO: TCP Data received {"connection_id":146020,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:29:49] local.INFO: Processing buffer {"connection_id":146020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:29:49] local.INFO: IMEI packet received {"connection_id":146020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":146020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:29:50] local.INFO: TCP Data received {"connection_id":146020,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc53db00012d060ac006f865980009013527..."} 
[2026-08-01 13:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc53db00012d060ac006f865980009013527..."} 
[2026-08-01 13:29:50] local.INFO: Processing buffer {"connection_id":146020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc53db00012d060ac006f865980009013527..."} 
[2026-08-01 13:29:50] local.INFO: Packet analysis {"connection_id":146020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc53"} 
[2026-08-01 13:29:50] local.INFO: Extracted packet for processing {"connection_id":146020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc53"} 
[2026-08-01 13:29:50] local.INFO: GPS Element Parsed {"raw_longitude":755370688,"raw_latitude":116942232,"longitude_deg":75.5370688,"latitude_deg":11.6942232,"altitude":9,"angle":309,"satellites":39,"speed":26,"hex_longitude":"2d060ac0","hex_latitude":"06f86598","is_valid_coordinates":true} 
[2026-08-01 13:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106183424001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366463566225604608,"note":"Value kept but may cause issues"} 
[2026-08-01 13:29:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":443252749510727680,"note":"Value kept but may cause issues"} 
[2026-08-01 13:29:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785571040000,"timestamp_ms":1785571040000,"timestamp_seconds":1785571040,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc53db00"} 
[2026-08-01 13:29:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:29:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 13:29:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:29:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:29:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:29:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106183424001,"66":27919,"73":206,"28":32256,"24":26,"16":366463566225604608,"45":443252749510727680},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,28,24,16,45]} 
[2026-08-01 13:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106183424001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:29:50] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-08-01 13:29:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366463566225604608,"km_value":366463566225604.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:29:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":443252749510727680,"description":"Unknown IO ID 45"} 
[2026-08-01 13:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106183424001,"power":27919,"unknown_73":206,"unknown_28":32256,"ignition":26,"odometer":null,"unknown_45":443252749510727680}} 
[2026-08-01 13:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":146020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:29:50] local.INFO: GPS data processed {"connection_id":146020,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:29:50] local.INFO: Acknowledgment sent {"connection_id":146020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:30:21] local.INFO: TCP Data received {"connection_id":146020,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc541598012d05f18006f87ed0000e013c29..."} 
[2026-08-01 13:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc541598012d05f18006f87ed0000e013c29..."} 
[2026-08-01 13:30:21] local.INFO: Processing buffer {"connection_id":146020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc541598012d05f18006f87ed0000e013c29..."} 
[2026-08-01 13:30:21] local.INFO: Packet analysis {"connection_id":146020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc54"} 
[2026-08-01 13:30:21] local.INFO: Extracted packet for processing {"connection_id":146020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc54"} 
[2026-08-01 13:30:21] local.INFO: GPS Element Parsed {"raw_longitude":755364224,"raw_latitude":116948688,"longitude_deg":75.5364224,"latitude_deg":11.6948688,"altitude":14,"angle":316,"satellites":41,"speed":26,"hex_longitude":"2d05f180","hex_latitude":"06f87ed0","is_valid_coordinates":true} 
[2026-08-01 13:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106186240001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366464004312268800,"note":"Value kept but may cause issues"} 
[2026-08-01 13:30:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":435371450164418560,"note":"Value kept but may cause issues"} 
[2026-08-01 13:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785571055000,"timestamp_ms":1785571055000,"timestamp_seconds":1785571055,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc541598"} 
[2026-08-01 13:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:30:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 13:30:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:30:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:30:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106186240001,"66":27974,"73":206,"28":32256,"24":26,"16":366464004312268800,"45":435371450164418560},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,28,24,16,45]} 
[2026-08-01 13:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106186240001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:30:21] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-08-01 13:30:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366464004312268800,"km_value":366464004312268.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:30:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":435371450164418560,"description":"Unknown IO ID 45"} 
[2026-08-01 13:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106186240001,"power":27974,"unknown_73":206,"unknown_28":32256,"ignition":26,"odometer":null,"unknown_45":435371450164418560}} 
[2026-08-01 13:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":146020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:30:21] local.INFO: GPS data processed {"connection_id":146020,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:30:21] local.INFO: Acknowledgment sent {"connection_id":146020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:30:49] local.INFO: TCP Data received {"connection_id":146239,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:30:49] local.INFO: Processing buffer {"connection_id":146239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:30:49] local.INFO: IMEI packet received {"connection_id":146239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":146239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:30:50] local.INFO: TCP Data received {"connection_id":146239,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:30:50] local.INFO: Processing buffer {"connection_id":146239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:30:50] local.INFO: IMEI packet received {"connection_id":146239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":146239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:30:51] local.INFO: TCP Data received {"connection_id":146239,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc560998012d05a20006f985300016000427..."} 
[2026-08-01 13:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc560998012d05a20006f985300016000427..."} 
[2026-08-01 13:30:51] local.INFO: Processing buffer {"connection_id":146239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc560998012d05a20006f985300016000427..."} 
[2026-08-01 13:30:51] local.INFO: Packet analysis {"connection_id":146239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc56"} 
[2026-08-01 13:30:51] local.INFO: Extracted packet for processing {"connection_id":146239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc56"} 
[2026-08-01 13:30:51] local.INFO: GPS Element Parsed {"raw_longitude":755343872,"raw_latitude":117015856,"longitude_deg":75.5343872,"latitude_deg":11.7015856,"altitude":22,"angle":4,"satellites":39,"speed":5,"hex_longitude":"2d05a200","hex_latitude":"06f98530","is_valid_coordinates":true} 
[2026-08-01 13:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106222592001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366467496120680448,"note":"Value kept but may cause issues"} 
[2026-08-01 13:30:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":405886946372784128,"note":"Value kept but may cause issues"} 
[2026-08-01 13:30:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785571183000,"timestamp_ms":1785571183000,"timestamp_seconds":1785571183,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc560998"} 
[2026-08-01 13:30:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:30:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 13:30:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:30:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:30:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":146239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":146239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":146239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:30:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106222592001,"66":27745,"74":206,"28":32256,"24":5,"16":366467496120680448,"45":405886946372784128},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,28,24,16,45]} 
[2026-08-01 13:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106222592001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:30:51] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-08-01 13:30:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366467496120680448,"km_value":366467496120680.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:30:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":405886946372784128,"description":"Unknown IO ID 45"} 
[2026-08-01 13:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106222592001,"power":27745,"unknown_74":206,"unknown_28":32256,"ignition":5,"odometer":null,"unknown_45":405886946372784128}} 
[2026-08-01 13:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":146239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:30:51] local.INFO: GPS data processed {"connection_id":146239,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:30:51] local.INFO: Acknowledgment sent {"connection_id":146239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:30:53] local.INFO: TCP Data received {"connection_id":146239,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc564c00012d05a5c006f9a7b00017000226..."} 
[2026-08-01 13:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc564c00012d05a5c006f9a7b00017000226..."} 
[2026-08-01 13:30:53] local.INFO: Processing buffer {"connection_id":146239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc564c00012d05a5c006f9a7b00017000226..."} 
[2026-08-01 13:30:53] local.INFO: Packet analysis {"connection_id":146239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc56"} 
[2026-08-01 13:30:53] local.INFO: Extracted packet for processing {"connection_id":146239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc56"} 
[2026-08-01 13:30:53] local.INFO: GPS Element Parsed {"raw_longitude":755344832,"raw_latitude":117024688,"longitude_deg":75.5344832,"latitude_deg":11.7024688,"altitude":23,"angle":2,"satellites":38,"speed":29,"hex_longitude":"2d05a5c0","hex_latitude":"06f9a7b0","is_valid_coordinates":true} 
[2026-08-01 13:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:30:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106222848001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:30:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366467925617410048,"note":"Value kept but may cause issues"} 
[2026-08-01 13:30:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":405886946372825088,"note":"Value kept but may cause issues"} 
[2026-08-01 13:30:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:30:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785571200000,"timestamp_ms":1785571200000,"timestamp_seconds":1785571200,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc564c00"} 
[2026-08-01 13:30:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:30:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 13:30:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:30:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:30:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:30:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:30:53] local.INFO: Teltonika packet parsed successfully {"connection_id":146239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:30:53] local.INFO: Passing IMEI to GPS processor {"connection_id":146239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:30:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":146239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:30:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:30:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:30:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:30:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106222848001,"66":27832,"74":206,"28":32256,"24":29,"16":366467925617410048,"45":405886946372825088},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,28,24,16,45]} 
[2026-08-01 13:30:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:30:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:30:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106222848001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:30:53] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-08-01 13:30:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:30:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366467925617410048,"km_value":366467925617410.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:30:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":405886946372825088,"description":"Unknown IO ID 45"} 
[2026-08-01 13:30:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106222848001,"power":27832,"unknown_74":206,"unknown_28":32256,"ignition":29,"odometer":null,"unknown_45":405886946372825088}} 
[2026-08-01 13:30:53] local.INFO: DEBUG: GPS processor result {"connection_id":146239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:30:53] local.INFO: GPS data processed {"connection_id":146239,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:30:53] local.INFO: Acknowledgment sent {"connection_id":146239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:31:25] local.INFO: TCP Data received {"connection_id":146239,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc567ae0012d05a60006f9c060001201532a..."} 
[2026-08-01 13:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc567ae0012d05a60006f9c060001201532a..."} 
[2026-08-01 13:31:25] local.INFO: Processing buffer {"connection_id":146239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc567ae0012d05a60006f9c060001201532a..."} 
[2026-08-01 13:31:25] local.INFO: Packet analysis {"connection_id":146239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc56"} 
[2026-08-01 13:31:25] local.INFO: Extracted packet for processing {"connection_id":146239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc56"} 
[2026-08-01 13:31:25] local.INFO: GPS Element Parsed {"raw_longitude":755344896,"raw_latitude":117031008,"longitude_deg":75.5344896,"latitude_deg":11.7031008,"altitude":18,"angle":339,"satellites":42,"speed":19,"hex_longitude":"2d05a600","hex_latitude":"06f9c060","is_valid_coordinates":true} 
[2026-08-01 13:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106227200001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366468234855055360,"note":"Value kept but may cause issues"} 
[2026-08-01 13:31:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":406942477537751040,"note":"Value kept but may cause issues"} 
[2026-08-01 13:31:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785571212000,"timestamp_ms":1785571212000,"timestamp_seconds":1785571212,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc567ae0"} 
[2026-08-01 13:31:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:31: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-08-01 13:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-01 13:31:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:31:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:31:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":146239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":146239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":146239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:31:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106227200001,"66":27930,"74":206,"28":32256,"24":19,"16":366468234855055360,"45":406942477537751040},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,28,24,16,45]} 
[2026-08-01 13:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106227200001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:31:25] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-08-01 13:31:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366468234855055360,"km_value":366468234855055.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:31:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":406942477537751040,"description":"Unknown IO ID 45"} 
[2026-08-01 13:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106227200001,"power":27930,"unknown_74":206,"unknown_28":32256,"ignition":19,"odometer":null,"unknown_45":406942477537751040}} 
[2026-08-01 13:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":146239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:31:25] local.INFO: GPS data processed {"connection_id":146239,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:31:25] local.INFO: Acknowledgment sent {"connection_id":146239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:31:44] local.INFO: TCP Data received {"connection_id":148562,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:31:44] local.INFO: Processing buffer {"connection_id":148562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:31:44] local.INFO: IMEI packet received {"connection_id":148562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":148562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:31:44] local.INFO: TCP Data received {"connection_id":148562,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:31:44] local.INFO: Processing buffer {"connection_id":148562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:31:44] local.INFO: IMEI packet received {"connection_id":148562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":148562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:31:48] local.INFO: TCP Data received {"connection_id":148562,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:31:48] local.INFO: Processing buffer {"connection_id":148562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:31:48] local.INFO: IMEI packet received {"connection_id":148562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":148562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:31:49] local.INFO: TCP Data received {"connection_id":148562,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc56e458012d0574c006f9da800004002025..."} 
[2026-08-01 13:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc56e458012d0574c006f9da800004002025..."} 
[2026-08-01 13:31:49] local.INFO: Processing buffer {"connection_id":148562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc56e458012d0574c006f9da800004002025..."} 
[2026-08-01 13:31:49] local.INFO: Packet analysis {"connection_id":148562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc56"} 
[2026-08-01 13:31:49] local.INFO: Extracted packet for processing {"connection_id":148562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc56"} 
[2026-08-01 13:31:49] local.INFO: GPS Element Parsed {"raw_longitude":755332288,"raw_latitude":117037696,"longitude_deg":75.5332288,"latitude_deg":11.7037696,"altitude":4,"angle":32,"satellites":37,"speed":24,"hex_longitude":"2d0574c0","hex_latitude":"06f9da80","is_valid_coordinates":true} 
[2026-08-01 13:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106236416001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366469080963612672,"note":"Value kept but may cause issues"} 
[2026-08-01 13:31:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":392165041263411200,"note":"Value kept but may cause issues"} 
[2026-08-01 13:31:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785571239000,"timestamp_ms":1785571239000,"timestamp_seconds":1785571239,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc56e458"} 
[2026-08-01 13:31:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:31:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 13:31:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:31:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:31:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:31:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106236416001,"66":27876,"74":206,"28":32256,"24":24,"16":366469080963612672,"45":392165041263411200},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,28,24,16,45]} 
[2026-08-01 13:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106236416001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:31:49] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-08-01 13:31:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366469080963612672,"km_value":366469080963612.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:31:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":392165041263411200,"description":"Unknown IO ID 45"} 
[2026-08-01 13:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106236416001,"power":27876,"unknown_74":206,"unknown_28":32256,"ignition":24,"odometer":null,"unknown_45":392165041263411200}} 
[2026-08-01 13:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":148562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:31:49] local.INFO: GPS data processed {"connection_id":148562,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:31:49] local.INFO: Acknowledgment sent {"connection_id":148562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:32:21] local.INFO: TCP Data received {"connection_id":148562,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc571338012d05864006f9f9f00001001d24..."} 
[2026-08-01 13:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc571338012d05864006f9f9f00001001d24..."} 
[2026-08-01 13:32:21] local.INFO: Processing buffer {"connection_id":148562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc571338012d05864006f9f9f00001001d24..."} 
[2026-08-01 13:32:21] local.INFO: Packet analysis {"connection_id":148562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc57"} 
[2026-08-01 13:32:21] local.INFO: Extracted packet for processing {"connection_id":148562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc57"} 
[2026-08-01 13:32:21] local.INFO: GPS Element Parsed {"raw_longitude":755336768,"raw_latitude":117045744,"longitude_deg":75.5336768,"latitude_deg":11.7045744,"altitude":1,"angle":29,"satellites":36,"speed":28,"hex_longitude":"2d058640","hex_latitude":"06f9f9f0","is_valid_coordinates":true} 
[2026-08-01 13:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106237184001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366469523345244160,"note":"Value kept but may cause issues"} 
[2026-08-01 13:32:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":393150203682258944,"note":"Value kept but may cause issues"} 
[2026-08-01 13:32:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785571251000,"timestamp_ms":1785571251000,"timestamp_seconds":1785571251,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc571338"} 
[2026-08-01 13:32:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:32:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 13:32:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:32:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:32:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:32:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106237184001,"66":27876,"13":206,"28":32256,"24":28,"16":366469523345244160,"45":393150203682258944},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,28,24,16,45]} 
[2026-08-01 13:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106237184001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:32:21] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-01 13:32:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366469523345244160,"km_value":366469523345244.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:32:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":393150203682258944,"description":"Unknown IO ID 45"} 
[2026-08-01 13:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106237184001,"power":27876,"unknown_13":206,"unknown_28":32256,"ignition":28,"odometer":null,"unknown_45":393150203682258944}} 
[2026-08-01 13:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":148562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:32:21] local.INFO: GPS data processed {"connection_id":148562,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:32:21] local.INFO: Acknowledgment sent {"connection_id":148562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:32:43] local.INFO: TCP Data received {"connection_id":147241,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:32:43] local.INFO: Processing buffer {"connection_id":147241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:32:43] local.INFO: IMEI packet received {"connection_id":147241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":147241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:32:44] local.INFO: TCP Data received {"connection_id":147241,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:32:44] local.INFO: Processing buffer {"connection_id":147241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:32:44] local.INFO: IMEI packet received {"connection_id":147241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":147241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:32:49] local.INFO: TCP Data received {"connection_id":147241,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:32:49] local.INFO: Processing buffer {"connection_id":147241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:32:49] local.INFO: IMEI packet received {"connection_id":147241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":147241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:32:51] local.INFO: TCP Data received {"connection_id":147241,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc5749e8012d059b0006fa17200003002426..."} 
[2026-08-01 13:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc5749e8012d059b0006fa17200003002426..."} 
[2026-08-01 13:32:51] local.INFO: Processing buffer {"connection_id":147241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc5749e8012d059b0006fa17200003002426..."} 
[2026-08-01 13:32:51] local.INFO: Packet analysis {"connection_id":147241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc57"} 
[2026-08-01 13:32:51] local.INFO: Extracted packet for processing {"connection_id":147241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc57"} 
[2026-08-01 13:32:51] local.INFO: GPS Element Parsed {"raw_longitude":755342080,"raw_latitude":117053216,"longitude_deg":75.534208,"latitude_deg":11.7053216,"altitude":3,"angle":36,"satellites":38,"speed":27,"hex_longitude":"2d059b00","hex_latitude":"06fa1720","is_valid_coordinates":true} 
[2026-08-01 13:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106240256001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366469965726875648,"note":"Value kept but may cause issues"} 
[2026-08-01 13:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":398076015776755712,"note":"Value kept but may cause issues"} 
[2026-08-01 13:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785571265000,"timestamp_ms":1785571265000,"timestamp_seconds":1785571265,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc5749e8"} 
[2026-08-01 13:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 13:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:32:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":147241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":147241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":147241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106240256001,"66":27919,"13":206,"28":32256,"24":27,"16":366469965726875648,"45":398076015776755712},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,28,24,16,45]} 
[2026-08-01 13:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106240256001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:32:51] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-01 13:32:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366469965726875648,"km_value":366469965726875.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":398076015776755712,"description":"Unknown IO ID 45"} 
[2026-08-01 13:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106240256001,"power":27919,"unknown_13":206,"unknown_28":32256,"ignition":27,"odometer":null,"unknown_45":398076015776755712}} 
[2026-08-01 13:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":147241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:32:51] local.INFO: GPS data processed {"connection_id":147241,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:32:51] local.INFO: Acknowledgment sent {"connection_id":147241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:33:23] local.INFO: TCP Data received {"connection_id":147241,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc589dc0012d0515c006fa7b080011012a2a..."} 
[2026-08-01 13:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc589dc0012d0515c006fa7b080011012a2a..."} 
[2026-08-01 13:33:23] local.INFO: Processing buffer {"connection_id":147241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc589dc0012d0515c006fa7b080011012a2a..."} 
[2026-08-01 13:33:23] local.INFO: Packet analysis {"connection_id":147241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc58"} 
[2026-08-01 13:33:23] local.INFO: Extracted packet for processing {"connection_id":147241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc58"} 
[2026-08-01 13:33:23] local.INFO: GPS Element Parsed {"raw_longitude":755307968,"raw_latitude":117078792,"longitude_deg":75.5307968,"latitude_deg":11.7078792,"altitude":17,"angle":298,"satellites":42,"speed":21,"hex_longitude":"2d0515c0","hex_latitude":"06fa7b08","is_valid_coordinates":true} 
[2026-08-01 13:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106265600001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366472336548823040,"note":"Value kept but may cause issues"} 
[2026-08-01 13:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":367465612067768320,"note":"Value kept but may cause issues"} 
[2026-08-01 13:33:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785571352000,"timestamp_ms":1785571352000,"timestamp_seconds":1785571352,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc589dc0"} 
[2026-08-01 13:33:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:33: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-08-01 13:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 13:33:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:33:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:33:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":147241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":147241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":147241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:33:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106265600001,"66":27919,"188":206,"28":32256,"24":21,"16":366472336548823040,"45":367465612067768320},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,28,24,16,45]} 
[2026-08-01 13:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106265600001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:33:23] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-01 13:33:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366472336548823040,"km_value":366472336548823.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":367465612067768320,"description":"Unknown IO ID 45"} 
[2026-08-01 13:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106265600001,"power":27919,"unknown_188":206,"unknown_28":32256,"ignition":21,"odometer":null,"unknown_45":367465612067768320}} 
[2026-08-01 13:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":147241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:33:23] local.INFO: GPS data processed {"connection_id":147241,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:33:23] local.INFO: Acknowledgment sent {"connection_id":147241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:33:44] local.INFO: TCP Data received {"connection_id":148563,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:33:44] local.INFO: Processing buffer {"connection_id":148563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:33:44] local.INFO: IMEI packet received {"connection_id":148563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":148563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:33:45] local.INFO: TCP Data received {"connection_id":148563,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:33:45] local.INFO: Processing buffer {"connection_id":148563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:33:45] local.INFO: IMEI packet received {"connection_id":148563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":148563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:33:47] local.INFO: TCP Data received {"connection_id":148563,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:33:47] local.INFO: Processing buffer {"connection_id":148563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:33:47] local.INFO: IMEI packet received {"connection_id":148563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":148563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:33:48] local.INFO: TCP Data received {"connection_id":148563,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc58ad60012d050e8006fa7e280013011c2b..."} 
[2026-08-01 13:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc58ad60012d050e8006fa7e280013011c2b..."} 
[2026-08-01 13:33:48] local.INFO: Processing buffer {"connection_id":148563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc58ad60012d050e8006fa7e280013011c2b..."} 
[2026-08-01 13:33:48] local.INFO: Packet analysis {"connection_id":148563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc58"} 
[2026-08-01 13:33:48] local.INFO: Extracted packet for processing {"connection_id":148563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc58"} 
[2026-08-01 13:33:48] local.INFO: GPS Element Parsed {"raw_longitude":755306112,"raw_latitude":117079592,"longitude_deg":75.5306112,"latitude_deg":11.7079592,"altitude":19,"angle":284,"satellites":43,"speed":19,"hex_longitude":"2d050e80","hex_latitude":"06fa7e28","is_valid_coordinates":true} 
[2026-08-01 13:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106266112001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366472435333070848,"note":"Value kept but may cause issues"} 
[2026-08-01 13:33:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":366410080905267200,"note":"Value kept but may cause issues"} 
[2026-08-01 13:33:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785571356000,"timestamp_ms":1785571356000,"timestamp_seconds":1785571356,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc58ad60"} 
[2026-08-01 13:33:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:33:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 13:33:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:33:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:33:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:33:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106266112001,"66":27876,"188":206,"28":32256,"24":19,"16":366472435333070848,"45":366410080905267200},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,28,24,16,45]} 
[2026-08-01 13:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106266112001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:33:48] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-01 13:33:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366472435333070848,"km_value":366472435333070.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:33:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":366410080905267200,"description":"Unknown IO ID 45"} 
[2026-08-01 13:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106266112001,"power":27876,"unknown_188":206,"unknown_28":32256,"ignition":19,"odometer":null,"unknown_45":366410080905267200}} 
[2026-08-01 13:33:48] local.INFO: DEBUG: GPS processor result {"connection_id":148563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:33:48] local.INFO: GPS data processed {"connection_id":148563,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:33:48] local.INFO: Acknowledgment sent {"connection_id":148563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:34:10] local.INFO: TCP Data received {"connection_id":146240,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:34:10] local.INFO: Processing buffer {"connection_id":146240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:34:10] local.INFO: IMEI packet received {"connection_id":146240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 13:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":146240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:34:11] local.INFO: TCP Data received {"connection_id":146240,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc58e410012d112340071f2be8003c01322d..."} 
[2026-08-01 13:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc58e410012d112340071f2be8003c01322d..."} 
[2026-08-01 13:34:11] local.INFO: Processing buffer {"connection_id":146240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc58e410012d112340071f2be8003c01322d..."} 
[2026-08-01 13:34:11] local.INFO: Packet analysis {"connection_id":146240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc58"} 
[2026-08-01 13:34:11] local.INFO: Extracted packet for processing {"connection_id":146240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc58"} 
[2026-08-01 13:34:11] local.INFO: GPS Element Parsed {"raw_longitude":756097856,"raw_latitude":119483368,"longitude_deg":75.6097856,"latitude_deg":11.9483368,"altitude":60,"angle":306,"satellites":45,"speed":11,"hex_longitude":"2d112340","hex_latitude":"071f2be8","is_valid_coordinates":true} 
[2026-08-01 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-08-01 13:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106270464001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10184320941555712,"note":"Value kept but may cause issues"} 
[2026-08-01 13:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1235252965882419200,"note":"Value kept but may cause issues"} 
[2026-08-01 13:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785571370000,"timestamp_ms":1785571370000,"timestamp_seconds":1785571370,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc58e410"} 
[2026-08-01 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-08-01 13:34: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-08-01 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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-01 13:34:11] 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-08-01 13: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-08-01 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-08-01 13:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:34: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-08-01 13:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106270464001,"66":14211,"33":206,"83":41984,"24":11,"16":10184320941555712,"45":1235252965882419200},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,83,24,16,45]} 
[2026-08-01 13:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106270464001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:34:11] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-01 13:34:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10184320941555712,"km_value":10184320941555.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1235252965882419200,"description":"Unknown IO ID 45"} 
[2026-08-01 13:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106270464001,"power":14211,"unknown_33":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1235252965882419200}} 
[2026-08-01 13:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":146240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:34:11] local.INFO: GPS data processed {"connection_id":146240,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:34:11] local.INFO: Acknowledgment sent {"connection_id":146240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:34:20] local.INFO: TCP Data received {"connection_id":148563,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc58b918012d05088006fa7ee00014010f29..."} 
[2026-08-01 13:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc58b918012d05088006fa7ee00014010f29..."} 
[2026-08-01 13:34:20] local.INFO: Processing buffer {"connection_id":148563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc58b918012d05088006fa7ee00014010f29..."} 
[2026-08-01 13:34:20] local.INFO: Packet analysis {"connection_id":148563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc58"} 
[2026-08-01 13:34:20] local.INFO: Extracted packet for processing {"connection_id":148563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc58"} 
[2026-08-01 13:34:20] local.INFO: GPS Element Parsed {"raw_longitude":755304576,"raw_latitude":117079776,"longitude_deg":75.5304576,"latitude_deg":11.7079776,"altitude":20,"angle":271,"satellites":41,"speed":20,"hex_longitude":"2d050880","hex_latitude":"06fa7ee0","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106267136001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366472508347514880,"note":"Value kept but may cause issues"} 
[2026-08-01 13:34:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":364369387324319744,"note":"Value kept but may cause issues"} 
[2026-08-01 13:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785571359000,"timestamp_ms":1785571359000,"timestamp_seconds":1785571359,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc58b918"} 
[2026-08-01 13:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:34: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-08-01 13: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 13:34:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13: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-08-01 13:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:34:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106267136001,"66":27974,"188":206,"28":32256,"24":20,"16":366472508347514880,"45":364369387324319744},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,28,24,16,45]} 
[2026-08-01 13:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106267136001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:34:20] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-01 13:34:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366472508347514880,"km_value":366472508347514.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:34:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":364369387324319744,"description":"Unknown IO ID 45"} 
[2026-08-01 13:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106267136001,"power":27974,"unknown_188":206,"unknown_28":32256,"ignition":20,"odometer":null,"unknown_45":364369387324319744}} 
[2026-08-01 13:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":148563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:34:20] local.INFO: GPS data processed {"connection_id":148563,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:34:20] local.INFO: Acknowledgment sent {"connection_id":148563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:34:42] local.INFO: TCP Data received {"connection_id":146240,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc59d258012d110100071fbb70003f014e2d..."} 
[2026-08-01 13:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc59d258012d110100071fbb70003f014e2d..."} 
[2026-08-01 13:34:42] local.INFO: Processing buffer {"connection_id":146240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc59d258012d110100071fbb70003f014e2d..."} 
[2026-08-01 13:34:42] local.INFO: Packet analysis {"connection_id":146240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc59"} 
[2026-08-01 13:34:42] local.INFO: Extracted packet for processing {"connection_id":146240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc59"} 
[2026-08-01 13:34:42] local.INFO: GPS Element Parsed {"raw_longitude":756089088,"raw_latitude":119520112,"longitude_deg":75.6089088,"latitude_deg":11.9520112,"altitude":63,"angle":334,"satellites":45,"speed":29,"hex_longitude":"2d110100","hex_latitude":"071fbb70","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106285824001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10186202137231360,"note":"Value kept but may cause issues"} 
[2026-08-01 13:34:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1226175397892636672,"note":"Value kept but may cause issues"} 
[2026-08-01 13:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785571431000,"timestamp_ms":1785571431000,"timestamp_seconds":1785571431,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc59d258"} 
[2026-08-01 13:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:34: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-08-01 13: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-01 13:34:42] 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-08-01 13: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-08-01 13:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":146240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":146240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":146240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13: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-08-01 13:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106285824001,"66":14211,"33":206,"83":41984,"24":29,"16":10186202137231360,"45":1226175397892636672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,83,24,16,45]} 
[2026-08-01 13:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106285824001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:34:42] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-01 13:34:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10186202137231360,"km_value":10186202137231.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:34:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1226175397892636672,"description":"Unknown IO ID 45"} 
[2026-08-01 13:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106285824001,"power":14211,"unknown_33":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1226175397892636672}} 
[2026-08-01 13:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":146240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:34:42] local.INFO: GPS data processed {"connection_id":146240,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:34:42] local.INFO: Acknowledgment sent {"connection_id":146240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:34:44] local.INFO: TCP Data received {"connection_id":146024,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:34:44] local.INFO: Processing buffer {"connection_id":146024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:34:44] local.INFO: IMEI packet received {"connection_id":146024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":146024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:34:45] local.INFO: TCP Data received {"connection_id":146024,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:34:45] local.INFO: Processing buffer {"connection_id":146024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:34:45] local.INFO: IMEI packet received {"connection_id":146024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":146024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:34:46] local.INFO: TCP Data received {"connection_id":146024,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:34:46] local.INFO: Processing buffer {"connection_id":146024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:34:46] local.INFO: IMEI packet received {"connection_id":146024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":146024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:34:49] local.INFO: TCP Data received {"connection_id":146024,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:34:49] local.INFO: Processing buffer {"connection_id":146024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:34:49] local.INFO: IMEI packet received {"connection_id":146024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":146024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:34:51] local.INFO: TCP Data received {"connection_id":146024,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc59b318012d0487c006fb1d70000f014c29..."} 
[2026-08-01 13:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc59b318012d0487c006fb1d70000f014c29..."} 
[2026-08-01 13:34:51] local.INFO: Processing buffer {"connection_id":146024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc59b318012d0487c006fb1d70000f014c29..."} 
[2026-08-01 13:34:51] local.INFO: Packet analysis {"connection_id":146024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc59"} 
[2026-08-01 13:34:51] local.INFO: Extracted packet for processing {"connection_id":146024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc59"} 
[2026-08-01 13:34:51] local.INFO: GPS Element Parsed {"raw_longitude":755271616,"raw_latitude":117120368,"longitude_deg":75.5271616,"latitude_deg":11.7120368,"altitude":15,"angle":332,"satellites":41,"speed":40,"hex_longitude":"2d0487c0","hex_latitude":"06fb1d70","is_valid_coordinates":true} 
[2026-08-01 13:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106282240001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366475248536649728,"note":"Value kept but may cause issues"} 
[2026-08-01 13:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":331647921290129408,"note":"Value kept but may cause issues"} 
[2026-08-01 13:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785571423000,"timestamp_ms":1785571423000,"timestamp_seconds":1785571423,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc59b318"} 
[2026-08-01 13:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:34:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 13:34:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:34:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":146024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":146024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":146024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106282240001,"66":27484,"189":206,"28":32256,"24":40,"16":366475248536649728,"45":331647921290129408},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,28,24,16,45]} 
[2026-08-01 13:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106282240001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:34:51] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-01 13:34:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366475248536649728,"km_value":366475248536649.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":331647921290129408,"description":"Unknown IO ID 45"} 
[2026-08-01 13:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106282240001,"power":27484,"unknown_189":206,"unknown_28":32256,"ignition":40,"odometer":null,"unknown_45":331647921290129408}} 
[2026-08-01 13:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":146024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:34:51] local.INFO: GPS data processed {"connection_id":146024,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:34:51] local.INFO: Acknowledgment sent {"connection_id":146024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:35:01] local.INFO: TCP Data received {"connection_id":147244,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:35:01] local.INFO: Processing buffer {"connection_id":147244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:35:01] local.INFO: IMEI packet received {"connection_id":147244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 13:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":147244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:35:02] local.INFO: TCP Data received {"connection_id":147244,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:35:02] local.INFO: Processing buffer {"connection_id":147244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:35:02] local.INFO: IMEI packet received {"connection_id":147244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":147244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:35:04] local.INFO: TCP Data received {"connection_id":147244,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:35:04] local.INFO: Processing buffer {"connection_id":147244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:35:04] local.INFO: IMEI packet received {"connection_id":147244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":147244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:35:05] local.INFO: TCP Data received {"connection_id":147244,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:35:05] local.INFO: Processing buffer {"connection_id":147244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:35:05] local.INFO: IMEI packet received {"connection_id":147244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":147244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:35:28] local.INFO: TCP Data received {"connection_id":146024,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc59ca88012d047e0006fb2e600014014129..."} 
[2026-08-01 13:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc59ca88012d047e0006fb2e600014014129..."} 
[2026-08-01 13:35:28] local.INFO: Processing buffer {"connection_id":146024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc59ca88012d047e0006fb2e600014014129..."} 
[2026-08-01 13:35:28] local.INFO: Packet analysis {"connection_id":146024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc59"} 
[2026-08-01 13:35:28] local.INFO: Extracted packet for processing {"connection_id":146024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc59"} 
[2026-08-01 13:35:28] local.INFO: GPS Element Parsed {"raw_longitude":755269120,"raw_latitude":117124704,"longitude_deg":75.526912,"latitude_deg":11.7124704,"altitude":20,"angle":321,"satellites":41,"speed":27,"hex_longitude":"2d047e00","hex_latitude":"06fb2e60","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106284288001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366475489054818304,"note":"Value kept but may cause issues"} 
[2026-08-01 13:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":326440634222997504,"note":"Value kept but may cause issues"} 
[2026-08-01 13:35:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785571429000,"timestamp_ms":1785571429000,"timestamp_seconds":1785571429,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc59ca88"} 
[2026-08-01 13:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:35:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-01 13:35:28] 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-08-01 13: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-08-01 13:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":146024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":146024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":146024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:35:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106284288001,"66":27865,"189":206,"28":32256,"24":27,"16":366475489054818304,"45":326440634222997504},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,28,24,16,45]} 
[2026-08-01 13:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106284288001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:35:28] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-01 13:35:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366475489054818304,"km_value":366475489054818.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":326440634222997504,"description":"Unknown IO ID 45"} 
[2026-08-01 13:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106284288001,"power":27865,"unknown_189":206,"unknown_28":32256,"ignition":27,"odometer":null,"unknown_45":326440634222997504}} 
[2026-08-01 13:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":146024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:35:28] local.INFO: GPS data processed {"connection_id":146024,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:35:28] local.INFO: Acknowledgment sent {"connection_id":146024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:35:47] local.INFO: TCP Data received {"connection_id":146241,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:35:47] local.INFO: Processing buffer {"connection_id":146241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:35:47] local.INFO: IMEI packet received {"connection_id":146241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":146241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:35:49] local.INFO: TCP Data received {"connection_id":146241,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:35:49] local.INFO: Processing buffer {"connection_id":146241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:35:49] local.INFO: IMEI packet received {"connection_id":146241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":146241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:35:54] local.INFO: TCP Data received {"connection_id":146241,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc5abcb8012d03c40006fb9eb00015012225..."} 
[2026-08-01 13:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc5abcb8012d03c40006fb9eb00015012225..."} 
[2026-08-01 13:35:54] local.INFO: Processing buffer {"connection_id":146241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc5abcb8012d03c40006fb9eb00015012225..."} 
[2026-08-01 13:35:54] local.INFO: Packet analysis {"connection_id":146241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc5a"} 
[2026-08-01 13:35:54] local.INFO: Extracted packet for processing {"connection_id":146241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc5a"} 
[2026-08-01 13:35:54] local.INFO: GPS Element Parsed {"raw_longitude":755221504,"raw_latitude":117153456,"longitude_deg":75.5221504,"latitude_deg":11.7153456,"altitude":21,"angle":290,"satellites":37,"speed":44,"hex_longitude":"2d03c400","hex_latitude":"06fb9eb0","is_valid_coordinates":true} 
[2026-08-01 13:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106299648001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366478216359051264,"note":"Value kept but may cause issues"} 
[2026-08-01 13:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":281334269212792832,"note":"Value kept but may cause issues"} 
[2026-08-01 13:35:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785571491000,"timestamp_ms":1785571491000,"timestamp_seconds":1785571491,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc5abcb8"} 
[2026-08-01 13:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:35:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 13:35:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:35:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:35:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106299648001,"66":27539,"109":206,"28":32256,"24":44,"16":366478216359051264,"45":281334269212792832},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,28,24,16,45]} 
[2026-08-01 13:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106299648001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:35:54] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-01 13:35:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366478216359051264,"km_value":366478216359051.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":281334269212792832,"description":"Unknown IO ID 45"} 
[2026-08-01 13:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106299648001,"power":27539,"unknown_109":206,"unknown_28":32256,"ignition":44,"odometer":null,"unknown_45":281334269212792832}} 
[2026-08-01 13:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":146241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:35:54] local.INFO: GPS data processed {"connection_id":146241,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:35:54] local.INFO: Acknowledgment sent {"connection_id":146241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:36:25] local.INFO: TCP Data received {"connection_id":146241,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc5acc58012d03b50006fba6b0001301332a..."} 
[2026-08-01 13:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc5acc58012d03b50006fba6b0001301332a..."} 
[2026-08-01 13:36:25] local.INFO: Processing buffer {"connection_id":146241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc5acc58012d03b50006fba6b0001301332a..."} 
[2026-08-01 13:36:25] local.INFO: Packet analysis {"connection_id":146241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc5a"} 
[2026-08-01 13:36:25] local.INFO: Extracted packet for processing {"connection_id":146241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc5a"} 
[2026-08-01 13:36:25] local.INFO: GPS Element Parsed {"raw_longitude":755217664,"raw_latitude":117155504,"longitude_deg":75.5217664,"latitude_deg":11.7155504,"altitude":19,"angle":307,"satellites":42,"speed":41,"hex_longitude":"2d03b500","hex_latitude":"06fba6b0","is_valid_coordinates":true} 
[2026-08-01 13:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106301696001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366478422517481472,"note":"Value kept but may cause issues"} 
[2026-08-01 13:36:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":271341907540357120,"note":"Value kept but may cause issues"} 
[2026-08-01 13:36:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785571495000,"timestamp_ms":1785571495000,"timestamp_seconds":1785571495,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc5acc58"} 
[2026-08-01 13:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:36:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-01 13:36:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:36:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":146241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":146241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":146241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:36:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106301696001,"66":27843,"109":206,"28":32256,"24":41,"16":366478422517481472,"45":271341907540357120},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,28,24,16,45]} 
[2026-08-01 13:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106301696001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:36:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-01 13:36:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366478422517481472,"km_value":366478422517481.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:36:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":271341907540357120,"description":"Unknown IO ID 45"} 
[2026-08-01 13:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106301696001,"power":27843,"unknown_109":206,"unknown_28":32256,"ignition":41,"odometer":null,"unknown_45":271341907540357120}} 
[2026-08-01 13:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":146241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:36:25] local.INFO: GPS data processed {"connection_id":146241,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:36:25] local.INFO: Acknowledgment sent {"connection_id":146241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:36:48] local.INFO: TCP Data received {"connection_id":147246,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:36:48] local.INFO: Processing buffer {"connection_id":147246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:36:48] local.INFO: IMEI packet received {"connection_id":147246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":147246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:36:49] local.INFO: TCP Data received {"connection_id":147246,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:36:49] local.INFO: Processing buffer {"connection_id":147246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:36:49] local.INFO: IMEI packet received {"connection_id":147246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":147246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:36:54] local.INFO: TCP Data received {"connection_id":147246,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:36:54] local.INFO: Processing buffer {"connection_id":147246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:36:54] local.INFO: IMEI packet received {"connection_id":147246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":147246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:36:55] local.INFO: TCP Data received {"connection_id":147246,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc5baee8012d03308006fc6a680009012b29..."} 
[2026-08-01 13:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc5baee8012d03308006fc6a680009012b29..."} 
[2026-08-01 13:36:55] local.INFO: Processing buffer {"connection_id":147246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc5baee8012d03308006fc6a680009012b29..."} 
[2026-08-01 13:36:55] local.INFO: Packet analysis {"connection_id":147246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc5b"} 
[2026-08-01 13:36:55] local.INFO: Extracted packet for processing {"connection_id":147246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc5b"} 
[2026-08-01 13:36:55] local.INFO: GPS Element Parsed {"raw_longitude":755183744,"raw_latitude":117205608,"longitude_deg":75.5183744,"latitude_deg":11.7205608,"altitude":9,"angle":299,"satellites":41,"speed":42,"hex_longitude":"2d033080","hex_latitude":"06fc6a68","is_valid_coordinates":true} 
[2026-08-01 13:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106316032001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366481480534196224,"note":"Value kept but may cause issues"} 
[2026-08-01 13:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":235102004301168640,"note":"Value kept but may cause issues"} 
[2026-08-01 13:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785571553000,"timestamp_ms":1785571553000,"timestamp_seconds":1785571553,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc5baee8"} 
[2026-08-01 13:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:36:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 13:36: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-08-01 13:36:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":147246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":147246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":147246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:36:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106316032001,"66":27800,"109":206,"28":32256,"24":42,"16":366481480534196224,"45":235102004301168640},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,28,24,16,45]} 
[2026-08-01 13:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106316032001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:36:55] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-01 13:36:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366481480534196224,"km_value":366481480534196.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":235102004301168640,"description":"Unknown IO ID 45"} 
[2026-08-01 13:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106316032001,"power":27800,"unknown_109":206,"unknown_28":32256,"ignition":42,"odometer":null,"unknown_45":235102004301168640}} 
[2026-08-01 13:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":147246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:36:55] local.INFO: GPS data processed {"connection_id":147246,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:36:55] local.INFO: Acknowledgment sent {"connection_id":147246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:36:57] local.INFO: TCP Data received {"connection_id":147246,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc5bd210012d030c0006fc78d80008012429..."} 
[2026-08-01 13:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc5bd210012d030c0006fc78d80008012429..."} 
[2026-08-01 13:36:57] local.INFO: Processing buffer {"connection_id":147246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc5bd210012d030c0006fc78d80008012429..."} 
[2026-08-01 13:36:57] local.INFO: Packet analysis {"connection_id":147246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc5b"} 
[2026-08-01 13:36:57] local.INFO: Extracted packet for processing {"connection_id":147246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc5b"} 
[2026-08-01 13:36:57] local.INFO: GPS Element Parsed {"raw_longitude":755174400,"raw_latitude":117209304,"longitude_deg":75.51744,"latitude_deg":11.7209304,"altitude":8,"angle":292,"satellites":41,"speed":46,"hex_longitude":"2d030c00","hex_latitude":"06fc78d8","is_valid_coordinates":true} 
[2026-08-01 13:36:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:36:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106317568001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:36:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366481961570533376,"note":"Value kept but may cause issues"} 
[2026-08-01 13:36:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":229824348488886272,"note":"Value kept but may cause issues"} 
[2026-08-01 13:36:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:36:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785571562000,"timestamp_ms":1785571562000,"timestamp_seconds":1785571562,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc5bd210"} 
[2026-08-01 13:36:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:36: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-08-01 13:36:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 13:36:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:36:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:36:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:36:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:36:57] local.INFO: Teltonika packet parsed successfully {"connection_id":147246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:36:57] local.INFO: Passing IMEI to GPS processor {"connection_id":147246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:36:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":147246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:36:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:36:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:36:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:36:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106317568001,"66":28050,"109":206,"28":32256,"24":46,"16":366481961570533376,"45":229824348488886272},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,28,24,16,45]} 
[2026-08-01 13:36:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:36:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:36:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106317568001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:36:57] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-01 13:36:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:36:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366481961570533376,"km_value":366481961570533.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:36:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":229824348488886272,"description":"Unknown IO ID 45"} 
[2026-08-01 13:36:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106317568001,"power":28050,"unknown_109":206,"unknown_28":32256,"ignition":46,"odometer":null,"unknown_45":229824348488886272}} 
[2026-08-01 13:36:57] local.INFO: DEBUG: GPS processor result {"connection_id":147246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:36:57] local.INFO: GPS data processed {"connection_id":147246,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:36:57] local.INFO: Acknowledgment sent {"connection_id":147246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:37:28] local.INFO: TCP Data received {"connection_id":147246,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc5bf150012d02eac006fc86b0000601262a..."} 
[2026-08-01 13:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc5bf150012d02eac006fc86b0000601262a..."} 
[2026-08-01 13:37:28] local.INFO: Processing buffer {"connection_id":147246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc5bf150012d02eac006fc86b0000601262a..."} 
[2026-08-01 13:37:28] local.INFO: Packet analysis {"connection_id":147246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc5b"} 
[2026-08-01 13:37:28] local.INFO: Extracted packet for processing {"connection_id":147246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc5b"} 
[2026-08-01 13:37:28] local.INFO: GPS Element Parsed {"raw_longitude":755165888,"raw_latitude":117212848,"longitude_deg":75.5165888,"latitude_deg":11.7212848,"altitude":6,"angle":294,"satellites":42,"speed":43,"hex_longitude":"2d02eac0","hex_latitude":"06fc86b0","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106319872001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366482399657197568,"note":"Value kept but may cause issues"} 
[2026-08-01 13:37:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":219550511839893504,"note":"Value kept but may cause issues"} 
[2026-08-01 13:37:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785571570000,"timestamp_ms":1785571570000,"timestamp_seconds":1785571570,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc5bf150"} 
[2026-08-01 13:37:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:37: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-08-01 13: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-01 13:37:28] 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-08-01 13: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-08-01 13:37:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":147246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":147246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":147246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:37:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106319872001,"66":27865,"109":206,"28":32256,"24":43,"16":366482399657197568,"45":219550511839893504},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,28,24,16,45]} 
[2026-08-01 13:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106319872001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:37:28] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-01 13:37:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366482399657197568,"km_value":366482399657197.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:37:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":219550511839893504,"description":"Unknown IO ID 45"} 
[2026-08-01 13:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106319872001,"power":27865,"unknown_109":206,"unknown_28":32256,"ignition":43,"odometer":null,"unknown_45":219550511839893504}} 
[2026-08-01 13:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":147246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:37:28] local.INFO: GPS data processed {"connection_id":147246,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:37:28] local.INFO: Acknowledgment sent {"connection_id":147246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:37:43] local.INFO: TCP Data received {"connection_id":148564,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:37:43] local.INFO: Processing buffer {"connection_id":148564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:37:43] local.INFO: IMEI packet received {"connection_id":148564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":148564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:37:44] local.INFO: TCP Data received {"connection_id":148564,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:37:44] local.INFO: Processing buffer {"connection_id":148564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:37:44] local.INFO: IMEI packet received {"connection_id":148564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":148564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:37:49] local.INFO: TCP Data received {"connection_id":148564,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:37:49] local.INFO: Processing buffer {"connection_id":148564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:37:49] local.INFO: IMEI packet received {"connection_id":148564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":148564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:37:51] local.INFO: TCP Data received {"connection_id":148564,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc5c1090012d02cbc006fc97500005012f29..."} 
[2026-08-01 13:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc5c1090012d02cbc006fc97500005012f29..."} 
[2026-08-01 13:37:51] local.INFO: Processing buffer {"connection_id":148564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc5c1090012d02cbc006fc97500005012f29..."} 
[2026-08-01 13:37:51] local.INFO: Packet analysis {"connection_id":148564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc5c"} 
[2026-08-01 13:37:51] local.INFO: Extracted packet for processing {"connection_id":148564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc5c"} 
[2026-08-01 13:37:51] local.INFO: GPS Element Parsed {"raw_longitude":755157952,"raw_latitude":117217104,"longitude_deg":75.5157952,"latitude_deg":11.7217104,"altitude":5,"angle":303,"satellites":41,"speed":44,"hex_longitude":"2d02cbc0","hex_latitude":"06fc9750","is_valid_coordinates":true} 
[2026-08-01 13:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106321920001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366482829153927168,"note":"Value kept but may cause issues"} 
[2026-08-01 13:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":210191468865171456,"note":"Value kept but may cause issues"} 
[2026-08-01 13:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785571578000,"timestamp_ms":1785571578000,"timestamp_seconds":1785571578,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc5c1090"} 
[2026-08-01 13:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:37:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 13:37:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:37:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:37:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106321920001,"66":27800,"109":206,"28":32256,"24":44,"16":366482829153927168,"45":210191468865171456},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,28,24,16,45]} 
[2026-08-01 13:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106321920001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:37:51] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-01 13:37:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366482829153927168,"km_value":366482829153927.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":210191468865171456,"description":"Unknown IO ID 45"} 
[2026-08-01 13:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106321920001,"power":27800,"unknown_109":206,"unknown_28":32256,"ignition":44,"odometer":null,"unknown_45":210191468865171456}} 
[2026-08-01 13:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":148564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:37:51] local.INFO: GPS data processed {"connection_id":148564,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:37:51] local.INFO: Acknowledgment sent {"connection_id":148564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:38:22] local.INFO: TCP Data received {"connection_id":148564,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc5c2fd0012d02ad0006fcaaa00005012f2a..."} 
[2026-08-01 13:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc5c2fd0012d02ad0006fcaaa00005012f2a..."} 
[2026-08-01 13:38:22] local.INFO: Processing buffer {"connection_id":148564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc5c2fd0012d02ad0006fcaaa00005012f2a..."} 
[2026-08-01 13:38:22] local.INFO: Packet analysis {"connection_id":148564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc5c"} 
[2026-08-01 13:38:22] local.INFO: Extracted packet for processing {"connection_id":148564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc5c"} 
[2026-08-01 13:38:22] local.INFO: GPS Element Parsed {"raw_longitude":755150080,"raw_latitude":117222048,"longitude_deg":75.515008,"latitude_deg":11.7222048,"altitude":5,"angle":303,"satellites":42,"speed":45,"hex_longitude":"2d02ad00","hex_latitude":"06fcaaa0","is_valid_coordinates":true} 
[2026-08-01 13:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:38:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106323968001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366483271535558656,"note":"Value kept but may cause issues"} 
[2026-08-01 13:38:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":201465744588230656,"note":"Value kept but may cause issues"} 
[2026-08-01 13:38:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785571586000,"timestamp_ms":1785571586000,"timestamp_seconds":1785571586,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc5c2fd0"} 
[2026-08-01 13:38:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:38:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 13:38: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-08-01 13:38:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:38:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:38:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:38:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106323968001,"66":27908,"110":206,"28":32256,"24":45,"16":366483271535558656,"45":201465744588230656},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,28,24,16,45]} 
[2026-08-01 13:38:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:38:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:38:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106323968001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:38:22] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-01 13:38:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:38:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366483271535558656,"km_value":366483271535558.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:38:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":201465744588230656,"description":"Unknown IO ID 45"} 
[2026-08-01 13:38:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106323968001,"power":27908,"unknown_110":206,"unknown_28":32256,"ignition":45,"odometer":null,"unknown_45":201465744588230656}} 
[2026-08-01 13:38:22] local.INFO: DEBUG: GPS processor result {"connection_id":148564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:38:22] local.INFO: GPS data processed {"connection_id":148564,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:38:22] local.INFO: Acknowledgment sent {"connection_id":148564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:38:44] local.INFO: TCP Data received {"connection_id":147248,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:38:44] local.INFO: Processing buffer {"connection_id":147248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:38:44] local.INFO: IMEI packet received {"connection_id":147248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":147248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:38:47] local.INFO: TCP Data received {"connection_id":147248,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:38:47] local.INFO: Processing buffer {"connection_id":147248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:38:47] local.INFO: IMEI packet received {"connection_id":147248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":147248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:38:48] local.INFO: TCP Data received {"connection_id":147248,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:38:48] local.INFO: Processing buffer {"connection_id":147248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:38:48] local.INFO: IMEI packet received {"connection_id":147248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":147248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:38:49] local.INFO: TCP Data received {"connection_id":147248,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:38:49] local.INFO: Processing buffer {"connection_id":147248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:38:49] local.INFO: IMEI packet received {"connection_id":147248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":147248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:38:54] local.INFO: TCP Data received {"connection_id":147248,"ip":"117.224.186.144","data_length":1360,"data_hex":"000000000000030f8e0a0000019fbc5c4b28012d02964006fcbbd80005013f2b..."} 
[2026-08-01 13:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147248,"packet_length":1360,"packet_hex":"000000000000030f8e0a0000019fbc5c4b28012d02964006fcbbd80005013f2b..."} 
[2026-08-01 13:38:54] local.INFO: Processing buffer {"connection_id":147248,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a0000019fbc5c4b28012d02964006fcbbd80005013f2b..."} 
[2026-08-01 13:38:54] local.INFO: Packet analysis {"connection_id":147248,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a0000019fbc5c"} 
[2026-08-01 13:38:54] local.INFO: Extracted packet for processing {"connection_id":147248,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019fbc5c"} 
[2026-08-01 13:38:54] local.INFO: GPS Element Parsed {"raw_longitude":755144256,"raw_latitude":117226456,"longitude_deg":75.5144256,"latitude_deg":11.7226456,"altitude":5,"angle":319,"satellites":43,"speed":33,"hex_longitude":"2d029640","hex_latitude":"06fcbbd8","is_valid_coordinates":true} 
[2026-08-01 13:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106326016001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366483623722876928,"note":"Value kept but may cause issues"} 
[2026-08-01 13:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":192810389055643648,"note":"Value kept but may cause issues"} 
[2026-08-01 13:38:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785571593000,"timestamp_ms":1785571593000,"timestamp_seconds":1785571593,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc5c4b28"} 
[2026-08-01 13:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:38:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 13:38:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:38:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":147248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":147248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":147248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:38:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106326016001,"66":27974,"110":206,"28":32256,"24":33,"16":366483623722876928,"45":192810389055643648},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,28,24,16,45]} 
[2026-08-01 13:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106326016001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:38:54] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-01 13:38:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366483623722876928,"km_value":366483623722876.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":192810389055643648,"description":"Unknown IO ID 45"} 
[2026-08-01 13:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106326016001,"power":27974,"unknown_110":206,"unknown_28":32256,"ignition":33,"odometer":null,"unknown_45":192810389055643648}} 
[2026-08-01 13:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":147248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:38:54] local.INFO: GPS data processed {"connection_id":147248,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:38:54] local.INFO: Acknowledgment sent {"connection_id":147248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:38:54] local.INFO: Packet analysis {"connection_id":147248,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019fbc5c"} 
[2026-08-01 13:38:54] local.INFO: Incomplete packet, waiting for more data {"connection_id":147248,"needed":795,"available":565} 
[2026-08-01 13:38:55] local.INFO: TCP Data received {"connection_id":147248,"ip":"117.224.186.144","data_length":1025,"data_hex":"2d03434006fc5a800008013b2700270000000a000400ef0100715f00f0010045..."} 
[2026-08-01 13:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147248,"packet_length":1025,"packet_hex":"2d03434006fc5a800008013b2700270000000a000400ef0100715f00f0010045..."} 
[2026-08-01 13:38:55] local.INFO: Processing buffer {"connection_id":147248,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fbc5c56e0012d0291c006fcc2980006014d2a..."} 
[2026-08-01 13:38:55] local.INFO: Packet analysis {"connection_id":147248,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fbc5c"} 
[2026-08-01 13:38:55] local.INFO: Extracted packet for processing {"connection_id":147248,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc5c"} 
[2026-08-01 13:38:55] local.INFO: GPS Element Parsed {"raw_longitude":755143104,"raw_latitude":117228184,"longitude_deg":75.5143104,"latitude_deg":11.7228184,"altitude":6,"angle":333,"satellites":42,"speed":23,"hex_longitude":"2d0291c0","hex_latitude":"06fcc298","is_valid_coordinates":true} 
[2026-08-01 13:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106327808001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366483722507124736,"note":"Value kept but may cause issues"} 
[2026-08-01 13:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":186406833336604672,"note":"Value kept but may cause issues"} 
[2026-08-01 13:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785571596000,"timestamp_ms":1785571596000,"timestamp_seconds":1785571596,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc5c56e0"} 
[2026-08-01 13:38:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:38:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-01 13:38:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:38:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:38:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":147248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":147248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":147248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:38:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106327808001,"66":27930,"110":206,"28":32256,"24":23,"16":366483722507124736,"45":186406833336604672},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,28,24,16,45]} 
[2026-08-01 13:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106327808001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:38:55] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-01 13:38:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366483722507124736,"km_value":366483722507124.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":186406833336604672,"description":"Unknown IO ID 45"} 
[2026-08-01 13:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106327808001,"power":27930,"unknown_110":206,"unknown_28":32256,"ignition":23,"odometer":null,"unknown_45":186406833336604672}} 
[2026-08-01 13:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":147248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:38:55] local.INFO: GPS data processed {"connection_id":147248,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:38:55] local.INFO: Acknowledgment sent {"connection_id":147248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:38:55] local.INFO: Packet analysis {"connection_id":147248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc5c"} 
[2026-08-01 13:38:55] local.INFO: Extracted packet for processing {"connection_id":147248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc5c"} 
[2026-08-01 13:38:55] local.INFO: GPS Element Parsed {"raw_longitude":755138112,"raw_latitude":117236296,"longitude_deg":75.5138112,"latitude_deg":11.7236296,"altitude":4,"angle":324,"satellites":41,"speed":31,"hex_longitude":"2d027e40","hex_latitude":"06fce248","is_valid_coordinates":true} 
[2026-08-01 13:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106328576001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366484182068625408,"note":"Value kept but may cause issues"} 
[2026-08-01 13:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":185140195941849088,"note":"Value kept but may cause issues"} 
[2026-08-01 13:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785571612000,"timestamp_ms":1785571612000,"timestamp_seconds":1785571612,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc5c9560"} 
[2026-08-01 13:38:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:38:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-01 13:38:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:38:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:38:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":147248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":147248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":147248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:38:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106328576001,"66":27658,"110":206,"28":32256,"24":31,"16":366484182068625408,"45":185140195941849088},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,28,24,16,45]} 
[2026-08-01 13:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106328576001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:38:55] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-01 13:38:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366484182068625408,"km_value":366484182068625.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":185140195941849088,"description":"Unknown IO ID 45"} 
[2026-08-01 13:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106328576001,"power":27658,"unknown_110":206,"unknown_28":32256,"ignition":31,"odometer":null,"unknown_45":185140195941849088}} 
[2026-08-01 13:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":147248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:38:55] local.INFO: GPS data processed {"connection_id":147248,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:38:55] local.INFO: Acknowledgment sent {"connection_id":147248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:39:27] local.INFO: TCP Data received {"connection_id":147248,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc5df108012d01edc006fdea580008013b29..."} 
[2026-08-01 13:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc5df108012d01edc006fdea580008013b29..."} 
[2026-08-01 13:39:27] local.INFO: Processing buffer {"connection_id":147248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc5df108012d01edc006fdea580008013b29..."} 
[2026-08-01 13:39:27] local.INFO: Packet analysis {"connection_id":147248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc5d"} 
[2026-08-01 13:39:27] local.INFO: Extracted packet for processing {"connection_id":147248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc5d"} 
[2026-08-01 13:39:27] local.INFO: GPS Element Parsed {"raw_longitude":755101120,"raw_latitude":117303896,"longitude_deg":75.510112,"latitude_deg":11.7303896,"altitude":8,"angle":315,"satellites":41,"speed":40,"hex_longitude":"2d01edc0","hex_latitude":"06fdea58","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106352896001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366487944459976704,"note":"Value kept but may cause issues"} 
[2026-08-01 13:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":146578124150140928,"note":"Value kept but may cause issues"} 
[2026-08-01 13:39:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785571701000,"timestamp_ms":1785571701000,"timestamp_seconds":1785571701,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc5df108"} 
[2026-08-01 13:39:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:39: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-08-01 13: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":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-08-01 13:39:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:39:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:39:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":147248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":147248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":147248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:39:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106352896001,"66":27767,"110":206,"28":32256,"24":40,"16":366487944459976704,"45":146578124150140928},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,28,24,16,45]} 
[2026-08-01 13:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106352896001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:39:27] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-01 13:39:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366487944459976704,"km_value":366487944459976.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":146578124150140928,"description":"Unknown IO ID 45"} 
[2026-08-01 13:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106352896001,"power":27767,"unknown_110":206,"unknown_28":32256,"ignition":40,"odometer":null,"unknown_45":146578124150140928}} 
[2026-08-01 13:39:27] local.INFO: DEBUG: GPS processor result {"connection_id":147248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:39:27] local.INFO: GPS data processed {"connection_id":147248,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:39:27] local.INFO: Acknowledgment sent {"connection_id":147248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:39:43] local.INFO: TCP Data received {"connection_id":146244,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:39:43] local.INFO: Processing buffer {"connection_id":146244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:39:43] local.INFO: IMEI packet received {"connection_id":146244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":146244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:39:44] local.INFO: TCP Data received {"connection_id":146244,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:39:44] local.INFO: Processing buffer {"connection_id":146244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:39:44] local.INFO: IMEI packet received {"connection_id":146244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":146244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:39:49] local.INFO: TCP Data received {"connection_id":146244,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:39:49] local.INFO: Processing buffer {"connection_id":146244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:39:49] local.INFO: IMEI packet received {"connection_id":146244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":146244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:39:51] local.INFO: TCP Data received {"connection_id":146244,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc5e1430012d01d3c006fe03500008013b26..."} 
[2026-08-01 13:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc5e1430012d01d3c006fe03500008013b26..."} 
[2026-08-01 13:39:51] local.INFO: Processing buffer {"connection_id":146244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc5e1430012d01d3c006fe03500008013b26..."} 
[2026-08-01 13:39:51] local.INFO: Packet analysis {"connection_id":146244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc5e"} 
[2026-08-01 13:39:51] local.INFO: Extracted packet for processing {"connection_id":146244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc5e"} 
[2026-08-01 13:39:51] local.INFO: GPS Element Parsed {"raw_longitude":755094464,"raw_latitude":117310288,"longitude_deg":75.5094464,"latitude_deg":11.7310288,"altitude":8,"angle":315,"satellites":38,"speed":40,"hex_longitude":"2d01d3c0","hex_latitude":"06fe0350","is_valid_coordinates":true} 
[2026-08-01 13:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106355456001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366488386841608192,"note":"Value kept but may cause issues"} 
[2026-08-01 13:39:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":138978299780683776,"note":"Value kept but may cause issues"} 
[2026-08-01 13:39:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785571710000,"timestamp_ms":1785571710000,"timestamp_seconds":1785571710,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc5e1430"} 
[2026-08-01 13:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:39:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 13:39:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:39:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":146244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":146244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":146244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:39:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106355456001,"66":27974,"110":206,"28":32256,"24":40,"16":366488386841608192,"45":138978299780683776},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,28,24,16,45]} 
[2026-08-01 13:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106355456001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:39:51] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-01 13:39:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366488386841608192,"km_value":366488386841608.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:39:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":138978299780683776,"description":"Unknown IO ID 45"} 
[2026-08-01 13:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106355456001,"power":27974,"unknown_110":206,"unknown_28":32256,"ignition":40,"odometer":null,"unknown_45":138978299780683776}} 
[2026-08-01 13:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":146244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:39:51] local.INFO: GPS data processed {"connection_id":146244,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:39:51] local.INFO: Acknowledgment sent {"connection_id":146244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:40:10] local.INFO: TCP Data received {"connection_id":148565,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:40:10] local.INFO: Processing buffer {"connection_id":148565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:40:10] local.INFO: IMEI packet received {"connection_id":148565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 13:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":148565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:40:10] local.INFO: TCP Data received {"connection_id":148565,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc5ea0d0012d0fcd80072203f8005d004d2a..."} 
[2026-08-01 13:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc5ea0d0012d0fcd80072203f8005d004d2a..."} 
[2026-08-01 13:40:10] local.INFO: Processing buffer {"connection_id":148565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc5ea0d0012d0fcd80072203f8005d004d2a..."} 
[2026-08-01 13:40:10] local.INFO: Packet analysis {"connection_id":148565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc5e"} 
[2026-08-01 13:40:10] local.INFO: Extracted packet for processing {"connection_id":148565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc5e"} 
[2026-08-01 13:40:10] local.INFO: GPS Element Parsed {"raw_longitude":756010368,"raw_latitude":119669752,"longitude_deg":75.6010368,"latitude_deg":11.9669752,"altitude":93,"angle":77,"satellites":42,"speed":5,"hex_longitude":"2d0fcd80","hex_latitude":"072203f8","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106364160001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10196488583905280,"note":"Value kept but may cause issues"} 
[2026-08-01 13:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1136947830313160704,"note":"Value kept but may cause issues"} 
[2026-08-01 13:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785571746000,"timestamp_ms":1785571746000,"timestamp_seconds":1785571746,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc5ea0d0"} 
[2026-08-01 13:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-01 13:40: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-08-01 13: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-08-01 13:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":148565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":148565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":148565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13: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-08-01 13:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106364160001,"66":13993,"234":206,"83":41984,"24":5,"16":10196488583905280,"45":1136947830313160704},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,83,24,16,45]} 
[2026-08-01 13:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106364160001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:40:10] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-01 13:40:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10196488583905280,"km_value":10196488583905.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1136947830313160704,"description":"Unknown IO ID 45"} 
[2026-08-01 13:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106364160001,"power":13993,"unknown_234":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1136947830313160704}} 
[2026-08-01 13:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":148565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:40:10] local.INFO: GPS data processed {"connection_id":148565,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:40:10] local.INFO: Acknowledgment sent {"connection_id":148565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:40:22] local.INFO: TCP Data received {"connection_id":146244,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc5e3b40012d01b9c006fe1c880007013d29..."} 
[2026-08-01 13:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc5e3b40012d01b9c006fe1c880007013d29..."} 
[2026-08-01 13:40:22] local.INFO: Processing buffer {"connection_id":146244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc5e3b40012d01b9c006fe1c880007013d29..."} 
[2026-08-01 13:40:22] local.INFO: Packet analysis {"connection_id":146244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc5e"} 
[2026-08-01 13:40:22] local.INFO: Extracted packet for processing {"connection_id":146244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc5e"} 
[2026-08-01 13:40:22] local.INFO: GPS Element Parsed {"raw_longitude":755087808,"raw_latitude":117316744,"longitude_deg":75.5087808,"latitude_deg":11.7316744,"altitude":7,"angle":317,"satellites":41,"speed":28,"hex_longitude":"2d01b9c0","hex_latitude":"06fe1c88","is_valid_coordinates":true} 
[2026-08-01 13:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106357760001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366488829223239680,"note":"Value kept but may cause issues"} 
[2026-08-01 13:40:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":131659950387843072,"note":"Value kept but may cause issues"} 
[2026-08-01 13:40:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785571720000,"timestamp_ms":1785571720000,"timestamp_seconds":1785571720,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc5e3b40"} 
[2026-08-01 13:40:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:40:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-01 13:40:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:40:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:40:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:40:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106357760001,"66":27919,"110":206,"28":32256,"24":28,"16":366488829223239680,"45":131659950387843072},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,28,24,16,45]} 
[2026-08-01 13:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106357760001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:40:22] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-01 13:40:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366488829223239680,"km_value":366488829223239.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:40:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":131659950387843072,"description":"Unknown IO ID 45"} 
[2026-08-01 13:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106357760001,"power":27919,"unknown_110":206,"unknown_28":32256,"ignition":28,"odometer":null,"unknown_45":131659950387843072}} 
[2026-08-01 13:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":146244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:40:22] local.INFO: GPS data processed {"connection_id":146244,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:40:22] local.INFO: Acknowledgment sent {"connection_id":146244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:40:42] local.INFO: TCP Data received {"connection_id":148565,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc5ea4b8012d0fce0007220408005d00582a..."} 
[2026-08-01 13:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc5ea4b8012d0fce0007220408005d00582a..."} 
[2026-08-01 13:40:42] local.INFO: Processing buffer {"connection_id":148565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc5ea4b8012d0fce0007220408005d00582a..."} 
[2026-08-01 13:40:42] local.INFO: Packet analysis {"connection_id":148565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc5e"} 
[2026-08-01 13:40:42] local.INFO: Extracted packet for processing {"connection_id":148565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc5e"} 
[2026-08-01 13:40:42] local.INFO: GPS Element Parsed {"raw_longitude":756010496,"raw_latitude":119669768,"longitude_deg":75.6010496,"latitude_deg":11.9669768,"altitude":93,"angle":88,"satellites":42,"speed":6,"hex_longitude":"2d0fce00","hex_latitude":"07220408","is_valid_coordinates":true} 
[2026-08-01 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-08-01 13:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106366976001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10196492878872576,"note":"Value kept but may cause issues"} 
[2026-08-01 13:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1138707048918415360,"note":"Value kept but may cause issues"} 
[2026-08-01 13:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785571747000,"timestamp_ms":1785571747000,"timestamp_seconds":1785571747,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc5ea4b8"} 
[2026-08-01 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-08-01 13:40: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-08-01 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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-01 13:40:42] 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-08-01 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-08-01 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-08-01 13:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":148565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":148565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":148565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:40: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-08-01 13:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106366976001,"66":14048,"234":206,"83":41984,"24":6,"16":10196492878872576,"45":1138707048918415360},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,83,24,16,45]} 
[2026-08-01 13:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106366976001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:40:42] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-01 13:40:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10196492878872576,"km_value":10196492878872.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1138707048918415360,"description":"Unknown IO ID 45"} 
[2026-08-01 13:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106366976001,"power":14048,"unknown_234":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1138707048918415360}} 
[2026-08-01 13:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":148565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577346,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:40:42] local.INFO: GPS data processed {"connection_id":148565,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:40:42] local.INFO: Acknowledgment sent {"connection_id":148565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:40:44] local.INFO: TCP Data received {"connection_id":147249,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:40:44] local.INFO: Processing buffer {"connection_id":147249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:40:44] local.INFO: IMEI packet received {"connection_id":147249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":147249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:40:49] local.INFO: TCP Data received {"connection_id":147249,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:40:49] local.INFO: Processing buffer {"connection_id":147249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:40:49] local.INFO: IMEI packet received {"connection_id":147249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":147249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:40:51] local.INFO: TCP Data received {"connection_id":147249,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc5e6a20012d019f0006fe37880005013b29..."} 
[2026-08-01 13:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc5e6a20012d019f0006fe37880005013b29..."} 
[2026-08-01 13:40:51] local.INFO: Processing buffer {"connection_id":147249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc5e6a20012d019f0006fe37880005013b29..."} 
[2026-08-01 13:40:51] local.INFO: Packet analysis {"connection_id":147249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc5e"} 
[2026-08-01 13:40:51] local.INFO: Extracted packet for processing {"connection_id":147249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc5e"} 
[2026-08-01 13:40:51] local.INFO: GPS Element Parsed {"raw_longitude":755080960,"raw_latitude":117323656,"longitude_deg":75.508096,"latitude_deg":11.7323656,"altitude":5,"angle":315,"satellites":41,"speed":35,"hex_longitude":"2d019f00","hex_latitude":"06fe3788","is_valid_coordinates":true} 
[2026-08-01 13:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106360320001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366489297374674944,"note":"Value kept but may cause issues"} 
[2026-08-01 13:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":124341600995018752,"note":"Value kept but may cause issues"} 
[2026-08-01 13:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785571732000,"timestamp_ms":1785571732000,"timestamp_seconds":1785571732,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc5e6a20"} 
[2026-08-01 13:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 13:40:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":147249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":147249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":147249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106360320001,"66":27908,"110":206,"28":32256,"24":35,"16":366489297374674944,"45":124341600995018752},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,28,24,16,45]} 
[2026-08-01 13:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106360320001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:40:51] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-01 13:40:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366489297374674944,"km_value":366489297374674.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":124341600995018752,"description":"Unknown IO ID 45"} 
[2026-08-01 13:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106360320001,"power":27908,"unknown_110":206,"unknown_28":32256,"ignition":35,"odometer":null,"unknown_45":124341600995018752}} 
[2026-08-01 13:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":147249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:40:51] local.INFO: GPS data processed {"connection_id":147249,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:40:51] local.INFO: Acknowledgment sent {"connection_id":147249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:41:00] local.INFO: TCP Data received {"connection_id":146245,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146245,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:41:00] local.INFO: Processing buffer {"connection_id":146245,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:41:00] local.INFO: IMEI packet received {"connection_id":146245,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 13:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":146245,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:41:05] local.INFO: TCP Data received {"connection_id":146245,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146245,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:41:05] local.INFO: Processing buffer {"connection_id":146245,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:41:05] local.INFO: IMEI packet received {"connection_id":146245,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":146245,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:41:06] local.INFO: TCP Data received {"connection_id":146245,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc5ea8a0012d0fcf0007220400005d006428..."} 
[2026-08-01 13:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc5ea8a0012d0fcf0007220400005d006428..."} 
[2026-08-01 13:41:06] local.INFO: Processing buffer {"connection_id":146245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc5ea8a0012d0fcf0007220400005d006428..."} 
[2026-08-01 13:41:06] local.INFO: Packet analysis {"connection_id":146245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc5e"} 
[2026-08-01 13:41:06] local.INFO: Extracted packet for processing {"connection_id":146245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc5e"} 
[2026-08-01 13:41:06] local.INFO: GPS Element Parsed {"raw_longitude":756010752,"raw_latitude":119669760,"longitude_deg":75.6010752,"latitude_deg":11.966976,"altitude":93,"angle":100,"satellites":40,"speed":6,"hex_longitude":"2d0fcf00","hex_latitude":"07220400","is_valid_coordinates":true} 
[2026-08-01 13:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106367232001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10196505763774464,"note":"Value kept but may cause issues"} 
[2026-08-01 13:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1138847786406774784,"note":"Value kept but may cause issues"} 
[2026-08-01 13:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785571748000,"timestamp_ms":1785571748000,"timestamp_seconds":1785571748,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc5ea8a0"} 
[2026-08-01 13:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-01 13:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:41:06] 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-08-01 13:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106367232001,"66":14048,"234":206,"83":41984,"24":6,"16":10196505763774464,"45":1138847786406774784},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,83,24,16,45]} 
[2026-08-01 13:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106367232001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:41:06] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-01 13:41:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10196505763774464,"km_value":10196505763774.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1138847786406774784,"description":"Unknown IO ID 45"} 
[2026-08-01 13:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106367232001,"power":14048,"unknown_234":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1138847786406774784}} 
[2026-08-01 13:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":146245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:41:06] local.INFO: GPS data processed {"connection_id":146245,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:41:06] local.INFO: Acknowledgment sent {"connection_id":146245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:41:22] local.INFO: TCP Data received {"connection_id":147249,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc5ff4a8012d007e4006fec770000801482a..."} 
[2026-08-01 13:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc5ff4a8012d007e4006fec770000801482a..."} 
[2026-08-01 13:41:22] local.INFO: Processing buffer {"connection_id":147249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc5ff4a8012d007e4006fec770000801482a..."} 
[2026-08-01 13:41:22] local.INFO: Packet analysis {"connection_id":147249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc5f"} 
[2026-08-01 13:41:22] local.INFO: Extracted packet for processing {"connection_id":147249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc5f"} 
[2026-08-01 13:41:22] local.INFO: GPS Element Parsed {"raw_longitude":755007040,"raw_latitude":117360496,"longitude_deg":75.500704,"latitude_deg":11.7360496,"altitude":8,"angle":328,"satellites":42,"speed":28,"hex_longitude":"2d007e40","hex_latitude":"06fec770","is_valid_coordinates":true} 
[2026-08-01 13:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106388736001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366493326053998592,"note":"Value kept but may cause issues"} 
[2026-08-01 13:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":36521408272181248,"note":"Value kept but may cause issues"} 
[2026-08-01 13:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785571833000,"timestamp_ms":1785571833000,"timestamp_seconds":1785571833,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc5ff4a8"} 
[2026-08-01 13:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:41:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 13:41:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:41:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106388736001,"66":27865,"15":206,"28":32256,"24":28,"16":366493326053998592,"45":36521408272181248},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-08-01 13:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106388736001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:41:22] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-01 13:41:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366493326053998592,"km_value":366493326053998.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":36521408272181248,"description":"Unknown IO ID 45"} 
[2026-08-01 13:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106388736001,"power":27865,"unknown_15":206,"unknown_28":32256,"ignition":28,"odometer":null,"unknown_45":36521408272181248}} 
[2026-08-01 13:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":147249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:41:22] local.INFO: GPS data processed {"connection_id":147249,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:41:22] local.INFO: Acknowledgment sent {"connection_id":147249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:41:37] local.INFO: TCP Data received {"connection_id":146245,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc5ebc28012d0fd3c0072203a8005d00462a..."} 
[2026-08-01 13:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc5ebc28012d0fd3c0072203a8005d00462a..."} 
[2026-08-01 13:41:37] local.INFO: Processing buffer {"connection_id":146245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc5ebc28012d0fd3c0072203a8005d00462a..."} 
[2026-08-01 13:41:37] local.INFO: Packet analysis {"connection_id":146245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc5e"} 
[2026-08-01 13:41:37] local.INFO: Extracted packet for processing {"connection_id":146245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc5e"} 
[2026-08-01 13:41:37] local.INFO: GPS Element Parsed {"raw_longitude":756011968,"raw_latitude":119669672,"longitude_deg":75.6011968,"latitude_deg":11.9669672,"altitude":93,"angle":70,"satellites":42,"speed":13,"hex_longitude":"2d0fd3c0","hex_latitude":"072203a8","is_valid_coordinates":true} 
[2026-08-01 13:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106367488001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10196565893316608,"note":"Value kept but may cause issues"} 
[2026-08-01 13:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1139129261383483392,"note":"Value kept but may cause issues"} 
[2026-08-01 13:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785571753000,"timestamp_ms":1785571753000,"timestamp_seconds":1785571753,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc5ebc28"} 
[2026-08-01 13:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-01 13:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:41:37] 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-08-01 13:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106367488001,"66":14135,"234":206,"83":41984,"24":13,"16":10196565893316608,"45":1139129261383483392},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,83,24,16,45]} 
[2026-08-01 13:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106367488001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:41:37] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-01 13:41:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10196565893316608,"km_value":10196565893316.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1139129261383483392,"description":"Unknown IO ID 45"} 
[2026-08-01 13:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106367488001,"power":14135,"unknown_234":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1139129261383483392}} 
[2026-08-01 13:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":146245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:41:37] local.INFO: GPS data processed {"connection_id":146245,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:41:37] local.INFO: Acknowledgment sent {"connection_id":146245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:41:49] local.INFO: TCP Data received {"connection_id":148566,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:41:49] local.INFO: Processing buffer {"connection_id":148566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:41:49] local.INFO: IMEI packet received {"connection_id":148566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":148566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:41:53] local.INFO: TCP Data received {"connection_id":148566,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:41:53] local.INFO: Processing buffer {"connection_id":148566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:41:53] local.INFO: IMEI packet received {"connection_id":148566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":148566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:41:55] local.INFO: TCP Data received {"connection_id":148566,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc5ffc78012d007b8006fecc78000801552a..."} 
[2026-08-01 13:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc5ffc78012d007b8006fecc78000801552a..."} 
[2026-08-01 13:41:55] local.INFO: Processing buffer {"connection_id":148566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc5ffc78012d007b8006fecc78000801552a..."} 
[2026-08-01 13:41:55] local.INFO: Packet analysis {"connection_id":148566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc5f"} 
[2026-08-01 13:41:55] local.INFO: Extracted packet for processing {"connection_id":148566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc5f"} 
[2026-08-01 13:41:55] local.INFO: GPS Element Parsed {"raw_longitude":755006336,"raw_latitude":117361784,"longitude_deg":75.5006336,"latitude_deg":11.7361784,"altitude":8,"angle":341,"satellites":42,"speed":27,"hex_longitude":"2d007b80","hex_latitude":"06fecc78","is_valid_coordinates":true} 
[2026-08-01 13:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106389248001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366493399068442624,"note":"Value kept but may cause issues"} 
[2026-08-01 13:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":35536245854007296,"note":"Value kept but may cause issues"} 
[2026-08-01 13:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785571835000,"timestamp_ms":1785571835000,"timestamp_seconds":1785571835,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc5ffc78"} 
[2026-08-01 13:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 13:41:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106389248001,"66":27767,"15":206,"28":32256,"24":27,"16":366493399068442624,"45":35536245854007296},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-08-01 13:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106389248001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:41:55] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-01 13:41:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366493399068442624,"km_value":366493399068442.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":35536245854007296,"description":"Unknown IO ID 45"} 
[2026-08-01 13:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106389248001,"power":27767,"unknown_15":206,"unknown_28":32256,"ignition":27,"odometer":null,"unknown_45":35536245854007296}} 
[2026-08-01 13:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":148566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:41:55] local.INFO: GPS data processed {"connection_id":148566,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:41:55] local.INFO: Acknowledgment sent {"connection_id":148566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:41:56] local.INFO: TCP Data received {"connection_id":148566,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc600830012d007a4006fed468000901622a..."} 
[2026-08-01 13:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc600830012d007a4006fed468000901622a..."} 
[2026-08-01 13:41:56] local.INFO: Processing buffer {"connection_id":148566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc600830012d007a4006fed468000901622a..."} 
[2026-08-01 13:41:56] local.INFO: Packet analysis {"connection_id":148566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc60"} 
[2026-08-01 13:41:56] local.INFO: Extracted packet for processing {"connection_id":148566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc60"} 
[2026-08-01 13:41:56] local.INFO: GPS Element Parsed {"raw_longitude":755006016,"raw_latitude":117363816,"longitude_deg":75.5006016,"latitude_deg":11.7363816,"altitude":9,"angle":354,"satellites":42,"speed":26,"hex_longitude":"2d007a40","hex_latitude":"06fed468","is_valid_coordinates":true} 
[2026-08-01 13:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106389760001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366493497852690432,"note":"Value kept but may cause issues"} 
[2026-08-01 13:41:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":34762189668382720,"note":"Value kept but may cause issues"} 
[2026-08-01 13:41:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785571838000,"timestamp_ms":1785571838000,"timestamp_seconds":1785571838,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc600830"} 
[2026-08-01 13:41:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:41:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 13:41:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:41:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:41:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":148566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":148566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":148566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:41:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106389760001,"66":27800,"15":206,"28":32256,"24":26,"16":366493497852690432,"45":34762189668382720},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-08-01 13:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106389760001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:41:56] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-01 13:41:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366493497852690432,"km_value":366493497852690.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:41:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":34762189668382720,"description":"Unknown IO ID 45"} 
[2026-08-01 13:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106389760001,"power":27800,"unknown_15":206,"unknown_28":32256,"ignition":26,"odometer":null,"unknown_45":34762189668382720}} 
[2026-08-01 13:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":148566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:41:56] local.INFO: GPS data processed {"connection_id":148566,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:41:56] local.INFO: Acknowledgment sent {"connection_id":148566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:41:58] local.INFO: TCP Data received {"connection_id":147250,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:41:58] local.INFO: Processing buffer {"connection_id":147250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:41:58] local.INFO: IMEI packet received {"connection_id":147250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 13:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":147250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:42:01] local.INFO: TCP Data received {"connection_id":147250,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:42:01] local.INFO: Processing buffer {"connection_id":147250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:42:01] local.INFO: IMEI packet received {"connection_id":147250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":147250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:42:05] local.INFO: TCP Data received {"connection_id":147250,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:42:05] local.INFO: Processing buffer {"connection_id":147250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:42:05] local.INFO: IMEI packet received {"connection_id":147250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":147250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:42:06] local.INFO: TCP Data received {"connection_id":147250,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc600830012d0fdd8007222438005c01572b..."} 
[2026-08-01 13:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc600830012d0fdd8007222438005c01572b..."} 
[2026-08-01 13:42:06] local.INFO: Processing buffer {"connection_id":147250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc600830012d0fdd8007222438005c01572b..."} 
[2026-08-01 13:42:06] local.INFO: Packet analysis {"connection_id":147250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc60"} 
[2026-08-01 13:42:06] local.INFO: Extracted packet for processing {"connection_id":147250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc60"} 
[2026-08-01 13:42:06] local.INFO: GPS Element Parsed {"raw_longitude":756014464,"raw_latitude":119678008,"longitude_deg":75.6014464,"latitude_deg":11.9678008,"altitude":92,"angle":343,"satellites":43,"speed":1,"hex_longitude":"2d0fdd80","hex_latitude":"07222438","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106390272001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10196991095078912,"note":"Value kept but may cause issues"} 
[2026-08-01 13:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1143210648547893248,"note":"Value kept but may cause issues"} 
[2026-08-01 13:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785571838000,"timestamp_ms":1785571838000,"timestamp_seconds":1785571838,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc600830"} 
[2026-08-01 13:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-01 13:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13: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-08-01 13:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:42:06] 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-08-01 13:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106390272001,"66":13080,"234":206,"83":41984,"24":1,"16":10196991095078912,"45":1143210648547893248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,83,24,16,45]} 
[2026-08-01 13:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106390272001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:42:06] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-01 13:42:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10196991095078912,"km_value":10196991095078.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1143210648547893248,"description":"Unknown IO ID 45"} 
[2026-08-01 13:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106390272001,"power":13080,"unknown_234":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1143210648547893248}} 
[2026-08-01 13:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":147250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:42:06] local.INFO: GPS data processed {"connection_id":147250,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:42:06] local.INFO: Acknowledgment sent {"connection_id":147250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:42:27] local.INFO: TCP Data received {"connection_id":148566,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc603ee0012d00758006fef6d0000d015b2b..."} 
[2026-08-01 13:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc603ee0012d00758006fef6d0000d015b2b..."} 
[2026-08-01 13:42:27] local.INFO: Processing buffer {"connection_id":148566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc603ee0012d00758006fef6d0000d015b2b..."} 
[2026-08-01 13:42:27] local.INFO: Packet analysis {"connection_id":148566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc60"} 
[2026-08-01 13:42:27] local.INFO: Extracted packet for processing {"connection_id":148566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc60"} 
[2026-08-01 13:42:27] local.INFO: GPS Element Parsed {"raw_longitude":755004800,"raw_latitude":117372624,"longitude_deg":75.50048,"latitude_deg":11.7372624,"altitude":13,"angle":347,"satellites":43,"speed":26,"hex_longitude":"2d007580","hex_latitude":"06fef6d0","is_valid_coordinates":true} 
[2026-08-01 13:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106390528001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366493931644387328,"note":"Value kept but may cause issues"} 
[2026-08-01 13:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":34410345948014592,"note":"Value kept but may cause issues"} 
[2026-08-01 13:42:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785571852000,"timestamp_ms":1785571852000,"timestamp_seconds":1785571852,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc603ee0"} 
[2026-08-01 13:42:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13: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-08-01 13:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 13:42: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-08-01 13:42:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:42:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106390528001,"66":27539,"15":206,"28":32256,"24":26,"16":366493931644387328,"45":34410345948014592},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-08-01 13:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106390528001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:42:27] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-01 13:42:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366493931644387328,"km_value":366493931644387.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":34410345948014592,"description":"Unknown IO ID 45"} 
[2026-08-01 13:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106390528001,"power":27539,"unknown_15":206,"unknown_28":32256,"ignition":26,"odometer":null,"unknown_45":34410345948014592}} 
[2026-08-01 13:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":148566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:42:27] local.INFO: GPS data processed {"connection_id":148566,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:42:27] local.INFO: Acknowledgment sent {"connection_id":148566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:42:37] local.INFO: TCP Data received {"connection_id":147250,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc605a38012d0fdd4007222450005c01572a..."} 
[2026-08-01 13:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc605a38012d0fdd4007222450005c01572a..."} 
[2026-08-01 13:42:37] local.INFO: Processing buffer {"connection_id":147250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc605a38012d0fdd4007222450005c01572a..."} 
[2026-08-01 13:42:37] local.INFO: Packet analysis {"connection_id":147250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc60"} 
[2026-08-01 13:42:37] local.INFO: Extracted packet for processing {"connection_id":147250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc60"} 
[2026-08-01 13:42:37] local.INFO: GPS Element Parsed {"raw_longitude":756014400,"raw_latitude":119678032,"longitude_deg":75.60144,"latitude_deg":11.9678032,"altitude":92,"angle":343,"satellites":42,"speed":0,"hex_longitude":"2d0fdd40","hex_latitude":"07222450","is_valid_coordinates":true} 
[2026-08-01 13:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106390528001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10196995390046208,"note":"Value kept but may cause issues"} 
[2026-08-01 13:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1143210648547899392,"note":"Value kept but may cause issues"} 
[2026-08-01 13:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785571859000,"timestamp_ms":1785571859000,"timestamp_seconds":1785571859,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc605a38"} 
[2026-08-01 13:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-01 13:42:37] 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-08-01 13:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:42:37] 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-08-01 13:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106390528001,"66":13015,"234":206,"83":41984,"24":0,"16":10196995390046208,"45":1143210648547899392},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,83,24,16,45]} 
[2026-08-01 13:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106390528001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:42:37] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-01 13:42:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10196995390046208,"km_value":10196995390046.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1143210648547899392,"description":"Unknown IO ID 45"} 
[2026-08-01 13:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106390528001,"power":13015,"unknown_234":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1143210648547899392}} 
[2026-08-01 13:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":147250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:42:37] local.INFO: GPS data processed {"connection_id":147250,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:42:37] local.INFO: Acknowledgment sent {"connection_id":147250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:42:44] local.INFO: TCP Data received {"connection_id":148567,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:42:44] local.INFO: Processing buffer {"connection_id":148567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:42:44] local.INFO: IMEI packet received {"connection_id":148567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":148567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:42:46] local.INFO: TCP Data received {"connection_id":148567,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:42:46] local.INFO: Processing buffer {"connection_id":148567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:42:46] local.INFO: IMEI packet received {"connection_id":148567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":148567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:42:48] local.INFO: TCP Data received {"connection_id":148567,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc606dc0012d00708006ff1920000f01632a..."} 
[2026-08-01 13:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc606dc0012d00708006ff1920000f01632a..."} 
[2026-08-01 13:42:48] local.INFO: Processing buffer {"connection_id":148567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc606dc0012d00708006ff1920000f01632a..."} 
[2026-08-01 13:42:48] local.INFO: Packet analysis {"connection_id":148567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc60"} 
[2026-08-01 13:42:48] local.INFO: Extracted packet for processing {"connection_id":148567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc60"} 
[2026-08-01 13:42:48] local.INFO: GPS Element Parsed {"raw_longitude":755003520,"raw_latitude":117381408,"longitude_deg":75.500352,"latitude_deg":11.7381408,"altitude":15,"angle":355,"satellites":42,"speed":31,"hex_longitude":"2d007080","hex_latitude":"06ff1920","is_valid_coordinates":true} 
[2026-08-01 13:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106394112001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366494361141116928,"note":"Value kept but may cause issues"} 
[2026-08-01 13:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":33073339810893824,"note":"Value kept but may cause issues"} 
[2026-08-01 13:42:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785571864000,"timestamp_ms":1785571864000,"timestamp_seconds":1785571864,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc606dc0"} 
[2026-08-01 13:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:42:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-01 13:42:48] 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-08-01 13:42:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:42:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106394112001,"66":27800,"17":206,"28":32256,"24":31,"16":366494361141116928,"45":33073339810893824},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,45]} 
[2026-08-01 13:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106394112001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:42:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366494361141116928,"km_value":366494361141116.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":33073339810893824,"description":"Unknown IO ID 45"} 
[2026-08-01 13:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106394112001,"power":27800,"axis_x":206,"unknown_28":32256,"ignition":31,"odometer":null,"unknown_45":33073339810893824}} 
[2026-08-01 13:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":148567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:42:48] local.INFO: GPS data processed {"connection_id":148567,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:42:48] local.INFO: Acknowledgment sent {"connection_id":148567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:43:01] local.INFO: TCP Data received {"connection_id":147251,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147251,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:43:01] local.INFO: Processing buffer {"connection_id":147251,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:43:01] local.INFO: IMEI packet received {"connection_id":147251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 13:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":147251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:43:01] local.INFO: TCP Data received {"connection_id":147251,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147251,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:43:01] local.INFO: Processing buffer {"connection_id":147251,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:43:01] local.INFO: IMEI packet received {"connection_id":147251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":147251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:43:05] local.INFO: TCP Data received {"connection_id":147251,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147251,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:43:05] local.INFO: Processing buffer {"connection_id":147251,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:43:05] local.INFO: IMEI packet received {"connection_id":147251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":147251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:43:06] local.INFO: TCP Data received {"connection_id":147251,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc60ac40012d0fdd4007222450005c015723..."} 
[2026-08-01 13:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc60ac40012d0fdd4007222450005c015723..."} 
[2026-08-01 13:43:06] local.INFO: Processing buffer {"connection_id":147251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc60ac40012d0fdd4007222450005c015723..."} 
[2026-08-01 13:43:06] local.INFO: Packet analysis {"connection_id":147251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc60"} 
[2026-08-01 13:43:06] local.INFO: Extracted packet for processing {"connection_id":147251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc60"} 
[2026-08-01 13:43:06] local.INFO: GPS Element Parsed {"raw_longitude":756014400,"raw_latitude":119678032,"longitude_deg":75.60144,"latitude_deg":11.9678032,"altitude":92,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d0fdd40","hex_latitude":"07222450","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106395904001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10196995390046208,"note":"Value kept but may cause issues"} 
[2026-08-01 13:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1143140279803727872,"note":"Value kept but may cause issues"} 
[2026-08-01 13:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785571880000,"timestamp_ms":1785571880000,"timestamp_seconds":1785571880,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc60ac40"} 
[2026-08-01 13:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-01 13:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13: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-08-01 13:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:43:06] 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-08-01 13:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106395904001,"66":12972,"234":206,"83":41984,"24":0,"16":10196995390046208,"45":1143140279803727872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,83,24,16,45]} 
[2026-08-01 13:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106395904001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:43:06] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-01 13:43:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10196995390046208,"km_value":10196995390046.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1143140279803727872,"description":"Unknown IO ID 45"} 
[2026-08-01 13:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106395904001,"power":12972,"unknown_234":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1143140279803727872}} 
[2026-08-01 13:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":147251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:43:06] local.INFO: GPS data processed {"connection_id":147251,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:43:06] local.INFO: Acknowledgment sent {"connection_id":147251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:43:20] local.INFO: TCP Data received {"connection_id":148567,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc6098b8012d00698006ff3e80001201602a..."} 
[2026-08-01 13:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc6098b8012d00698006ff3e80001201602a..."} 
[2026-08-01 13:43:20] local.INFO: Processing buffer {"connection_id":148567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc6098b8012d00698006ff3e80001201602a..."} 
[2026-08-01 13:43:20] local.INFO: Packet analysis {"connection_id":148567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc60"} 
[2026-08-01 13:43:20] local.INFO: Extracted packet for processing {"connection_id":148567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc60"} 
[2026-08-01 13:43:20] local.INFO: GPS Element Parsed {"raw_longitude":755001728,"raw_latitude":117390976,"longitude_deg":75.5001728,"latitude_deg":11.7390976,"altitude":18,"angle":352,"satellites":42,"speed":37,"hex_longitude":"2d006980","hex_latitude":"06ff3e80","is_valid_coordinates":true} 
[2026-08-01 13:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106397184001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366494833587519488,"note":"Value kept but may cause issues"} 
[2026-08-01 13:43:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":31665964929589248,"note":"Value kept but may cause issues"} 
[2026-08-01 13:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785571875000,"timestamp_ms":1785571875000,"timestamp_seconds":1785571875,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc6098b8"} 
[2026-08-01 13:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:43:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 13:43:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:43:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:43:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106397184001,"66":27908,"17":206,"28":32256,"24":37,"16":366494833587519488,"45":31665964929589248},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,45]} 
[2026-08-01 13:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106397184001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:43:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366494833587519488,"km_value":366494833587519.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:43:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":31665964929589248,"description":"Unknown IO ID 45"} 
[2026-08-01 13:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106397184001,"power":27908,"axis_x":206,"unknown_28":32256,"ignition":37,"odometer":null,"unknown_45":31665964929589248}} 
[2026-08-01 13:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":148567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:43:20] local.INFO: GPS data processed {"connection_id":148567,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:43:20] local.INFO: Acknowledgment sent {"connection_id":148567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:43:37] local.INFO: TCP Data received {"connection_id":147251,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc60fe48012d0fdd4007222450005c015724..."} 
[2026-08-01 13:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc60fe48012d0fdd4007222450005c015724..."} 
[2026-08-01 13:43:37] local.INFO: Processing buffer {"connection_id":147251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc60fe48012d0fdd4007222450005c015724..."} 
[2026-08-01 13:43:37] local.INFO: Packet analysis {"connection_id":147251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc60"} 
[2026-08-01 13:43:37] local.INFO: Extracted packet for processing {"connection_id":147251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc60"} 
[2026-08-01 13:43:37] local.INFO: GPS Element Parsed {"raw_longitude":756014400,"raw_latitude":119678032,"longitude_deg":75.60144,"latitude_deg":11.9678032,"altitude":92,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d0fdd40","hex_latitude":"07222450","is_valid_coordinates":true} 
[2026-08-01 13:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106401280001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10196995390046208,"note":"Value kept but may cause issues"} 
[2026-08-01 13:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1143140279803727872,"note":"Value kept but may cause issues"} 
[2026-08-01 13:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785571901000,"timestamp_ms":1785571901000,"timestamp_seconds":1785571901,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc60fe48"} 
[2026-08-01 13:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-01 13:43:37] 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-08-01 13:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:43:37] 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-08-01 13:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106401280001,"66":12950,"234":206,"83":41984,"24":0,"16":10196995390046208,"45":1143140279803727872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,83,24,16,45]} 
[2026-08-01 13:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106401280001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:43:37] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-01 13:43:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10196995390046208,"km_value":10196995390046.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1143140279803727872,"description":"Unknown IO ID 45"} 
[2026-08-01 13:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106401280001,"power":12950,"unknown_234":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1143140279803727872}} 
[2026-08-01 13:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":147251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:43:37] local.INFO: GPS data processed {"connection_id":147251,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:43:37] local.INFO: Acknowledgment sent {"connection_id":147251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:43:44] local.INFO: TCP Data received {"connection_id":148568,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:43:44] local.INFO: Processing buffer {"connection_id":148568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:43:44] local.INFO: IMEI packet received {"connection_id":148568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":148568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:43:51] local.INFO: TCP Data received {"connection_id":148568,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:43:51] local.INFO: Processing buffer {"connection_id":148568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:43:51] local.INFO: IMEI packet received {"connection_id":148568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":148568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:43:53] local.INFO: TCP Data received {"connection_id":148568,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc60b7f8012d00644006ff5a50001101522a..."} 
[2026-08-01 13:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc60b7f8012d00644006ff5a50001101522a..."} 
[2026-08-01 13:43:53] local.INFO: Processing buffer {"connection_id":148568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc60b7f8012d00644006ff5a50001101522a..."} 
[2026-08-01 13:43:53] local.INFO: Packet analysis {"connection_id":148568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc60"} 
[2026-08-01 13:43:53] local.INFO: Extracted packet for processing {"connection_id":148568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc60"} 
[2026-08-01 13:43:53] local.INFO: GPS Element Parsed {"raw_longitude":755000384,"raw_latitude":117398096,"longitude_deg":75.5000384,"latitude_deg":11.7398096,"altitude":17,"angle":338,"satellites":42,"speed":33,"hex_longitude":"2d006440","hex_latitude":"06ff5a50","is_valid_coordinates":true} 
[2026-08-01 13:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106400000001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366495185774837760,"note":"Value kept but may cause issues"} 
[2026-08-01 13:43:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":29695640095064064,"note":"Value kept but may cause issues"} 
[2026-08-01 13:43:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785571883000,"timestamp_ms":1785571883000,"timestamp_seconds":1785571883,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc60b7f8"} 
[2026-08-01 13:43:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:43:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 13:43:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:43:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:43:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:43:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106400000001,"66":27082,"17":206,"28":32256,"24":33,"16":366495185774837760,"45":29695640095064064},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,45]} 
[2026-08-01 13:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106400000001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:43:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366495185774837760,"km_value":366495185774837.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:43:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":29695640095064064,"description":"Unknown IO ID 45"} 
[2026-08-01 13:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106400000001,"power":27082,"axis_x":206,"unknown_28":32256,"ignition":33,"odometer":null,"unknown_45":29695640095064064}} 
[2026-08-01 13:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":148568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:43:53] local.INFO: GPS data processed {"connection_id":148568,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:43:53] local.INFO: Acknowledgment sent {"connection_id":148568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:44:00] local.INFO: TCP Data received {"connection_id":147252,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:44:00] local.INFO: Processing buffer {"connection_id":147252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:44:00] local.INFO: IMEI packet received {"connection_id":147252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 13:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":147252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:44:09] local.INFO: TCP Data received {"connection_id":147252,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:44:09] local.INFO: Processing buffer {"connection_id":147252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:44:09] local.INFO: IMEI packet received {"connection_id":147252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":147252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:44:10] local.INFO: TCP Data received {"connection_id":147252,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:44:10] local.INFO: Processing buffer {"connection_id":147252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:44:10] local.INFO: IMEI packet received {"connection_id":147252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":147252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:44:11] local.INFO: TCP Data received {"connection_id":147252,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc615050012d0fdd4007222450005c015721..."} 
[2026-08-01 13:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc615050012d0fdd4007222450005c015721..."} 
[2026-08-01 13:44:11] local.INFO: Processing buffer {"connection_id":147252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc615050012d0fdd4007222450005c015721..."} 
[2026-08-01 13:44:11] local.INFO: Packet analysis {"connection_id":147252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc61"} 
[2026-08-01 13:44:11] local.INFO: Extracted packet for processing {"connection_id":147252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc61"} 
[2026-08-01 13:44:11] local.INFO: GPS Element Parsed {"raw_longitude":756014400,"raw_latitude":119678032,"longitude_deg":75.60144,"latitude_deg":11.9678032,"altitude":92,"angle":343,"satellites":33,"speed":0,"hex_longitude":"2d0fdd40","hex_latitude":"07222450","is_valid_coordinates":true} 
[2026-08-01 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-08-01 13:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106406656001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10196995390046208,"note":"Value kept but may cause issues"} 
[2026-08-01 13:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1143140279803727872,"note":"Value kept but may cause issues"} 
[2026-08-01 13:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785571922000,"timestamp_ms":1785571922000,"timestamp_seconds":1785571922,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc615050"} 
[2026-08-01 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-08-01 13:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-01 13:44: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-08-01 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-08-01 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-08-01 13:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":147252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":147252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":147252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13: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-08-01 13:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106406656001,"66":12917,"47":206,"83":41984,"24":0,"16":10196995390046208,"45":1143140279803727872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,83,24,16,45]} 
[2026-08-01 13:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106406656001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:44:11] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-01 13:44:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10196995390046208,"km_value":10196995390046.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1143140279803727872,"description":"Unknown IO ID 45"} 
[2026-08-01 13:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106406656001,"power":12917,"unknown_47":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1143140279803727872}} 
[2026-08-01 13:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":147252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:44:11] local.INFO: GPS data processed {"connection_id":147252,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:44:11] local.INFO: Acknowledgment sent {"connection_id":147252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:44:11] local.INFO: TCP Data received {"connection_id":147252,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc61a258012d0fdd4007222450005c015721..."} 
[2026-08-01 13:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc61a258012d0fdd4007222450005c015721..."} 
[2026-08-01 13:44:11] local.INFO: Processing buffer {"connection_id":147252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc61a258012d0fdd4007222450005c015721..."} 
[2026-08-01 13:44:11] local.INFO: Packet analysis {"connection_id":147252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc61"} 
[2026-08-01 13:44:11] local.INFO: Extracted packet for processing {"connection_id":147252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc61"} 
[2026-08-01 13:44:11] local.INFO: GPS Element Parsed {"raw_longitude":756014400,"raw_latitude":119678032,"longitude_deg":75.60144,"latitude_deg":11.9678032,"altitude":92,"angle":343,"satellites":33,"speed":0,"hex_longitude":"2d0fdd40","hex_latitude":"07222450","is_valid_coordinates":true} 
[2026-08-01 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-08-01 13:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106412032001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10196995390046208,"note":"Value kept but may cause issues"} 
[2026-08-01 13:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1143140279803727872,"note":"Value kept but may cause issues"} 
[2026-08-01 13:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785571943000,"timestamp_ms":1785571943000,"timestamp_seconds":1785571943,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc61a258"} 
[2026-08-01 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-08-01 13:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-01 13:44:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 13:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":147252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":147252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":147252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13: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-08-01 13:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106412032001,"66":12841,"47":206,"83":41984,"24":0,"16":10196995390046208,"45":1143140279803727872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,83,24,16,45]} 
[2026-08-01 13:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106412032001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:44:11] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-01 13:44:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10196995390046208,"km_value":10196995390046.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1143140279803727872,"description":"Unknown IO ID 45"} 
[2026-08-01 13:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106412032001,"power":12841,"unknown_47":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1143140279803727872}} 
[2026-08-01 13:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":147252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577362,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:44:12] local.INFO: GPS data processed {"connection_id":147252,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:44:12] local.INFO: Acknowledgment sent {"connection_id":147252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:44:24] local.INFO: TCP Data received {"connection_id":148568,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc60c3b0012d005f8006ff6308001101422b..."} 
[2026-08-01 13:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc60c3b0012d005f8006ff6308001101422b..."} 
[2026-08-01 13:44:24] local.INFO: Processing buffer {"connection_id":148568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc60c3b0012d005f8006ff6308001101422b..."} 
[2026-08-01 13:44:24] local.INFO: Packet analysis {"connection_id":148568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc60"} 
[2026-08-01 13:44:24] local.INFO: Extracted packet for processing {"connection_id":148568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc60"} 
[2026-08-01 13:44:24] local.INFO: GPS Element Parsed {"raw_longitude":754999168,"raw_latitude":117400328,"longitude_deg":75.4999168,"latitude_deg":11.7400328,"altitude":17,"angle":322,"satellites":43,"speed":33,"hex_longitude":"2d005f80","hex_latitude":"06ff6308","is_valid_coordinates":true} 
[2026-08-01 13:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106402048001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366495310328889344,"note":"Value kept but may cause issues"} 
[2026-08-01 13:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":28217896469155840,"note":"Value kept but may cause issues"} 
[2026-08-01 13:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785571886000,"timestamp_ms":1785571886000,"timestamp_seconds":1785571886,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc60c3b0"} 
[2026-08-01 13:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:44: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-08-01 13:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-08-01 13:44:24] 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-08-01 13:44:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":148568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":148568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":148568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:44:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106402048001,"66":27821,"17":206,"28":32256,"24":33,"16":366495310328889344,"45":28217896469155840},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,45]} 
[2026-08-01 13:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106402048001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:44:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366495310328889344,"km_value":366495310328889.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":28217896469155840,"description":"Unknown IO ID 45"} 
[2026-08-01 13:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106402048001,"power":27821,"axis_x":206,"unknown_28":32256,"ignition":33,"odometer":null,"unknown_45":28217896469155840}} 
[2026-08-01 13:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":148568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:44:24] local.INFO: GPS data processed {"connection_id":148568,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:44:24] local.INFO: Acknowledgment sent {"connection_id":148568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:44:43] local.INFO: TCP Data received {"connection_id":147252,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc61f460012d0fdd4007222450005c015726..."} 
[2026-08-01 13:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc61f460012d0fdd4007222450005c015726..."} 
[2026-08-01 13:44:43] local.INFO: Processing buffer {"connection_id":147252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc61f460012d0fdd4007222450005c015726..."} 
[2026-08-01 13:44:43] local.INFO: Packet analysis {"connection_id":147252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc61"} 
[2026-08-01 13:44:43] local.INFO: Extracted packet for processing {"connection_id":147252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc61"} 
[2026-08-01 13:44:43] local.INFO: GPS Element Parsed {"raw_longitude":756014400,"raw_latitude":119678032,"longitude_deg":75.60144,"latitude_deg":11.9678032,"altitude":92,"angle":343,"satellites":38,"speed":0,"hex_longitude":"2d0fdd40","hex_latitude":"07222450","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:44:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106417408001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:44:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10196995390046208,"note":"Value kept but may cause issues"} 
[2026-08-01 13:44:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1143140279803727872,"note":"Value kept but may cause issues"} 
[2026-08-01 13:44:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:44:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785571964000,"timestamp_ms":1785571964000,"timestamp_seconds":1785571964,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc61f460"} 
[2026-08-01 13:44:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:44: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-08-01 13: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-01 13:44:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13: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-08-01 13:44:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:44:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:44:43] local.INFO: Teltonika packet parsed successfully {"connection_id":147252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:44:43] local.INFO: Passing IMEI to GPS processor {"connection_id":147252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:44:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":147252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:44:43] 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-08-01 13:44:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:44:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:44:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106417408001,"66":12819,"47":206,"83":41984,"24":0,"16":10196995390046208,"45":1143140279803727872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,83,24,16,45]} 
[2026-08-01 13:44:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:44:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:44:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106417408001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:44:43] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-01 13:44:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:44:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10196995390046208,"km_value":10196995390046.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:44:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1143140279803727872,"description":"Unknown IO ID 45"} 
[2026-08-01 13:44:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106417408001,"power":12819,"unknown_47":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1143140279803727872}} 
[2026-08-01 13:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":147252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:44:43] local.INFO: GPS data processed {"connection_id":147252,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:44:43] local.INFO: Acknowledgment sent {"connection_id":147252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:44:44] local.INFO: TCP Data received {"connection_id":146246,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:44:44] local.INFO: Processing buffer {"connection_id":146246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:44:44] local.INFO: IMEI packet received {"connection_id":146246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":146246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:44:49] local.INFO: TCP Data received {"connection_id":146246,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:44:49] local.INFO: Processing buffer {"connection_id":146246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:44:49] local.INFO: IMEI packet received {"connection_id":146246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":146246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:44:52] local.INFO: TCP Data received {"connection_id":146246,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc60d738012d0053c006ff6e980011013629..."} 
[2026-08-01 13:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc60d738012d0053c006ff6e980011013629..."} 
[2026-08-01 13:44:53] local.INFO: Processing buffer {"connection_id":146246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc60d738012d0053c006ff6e980011013629..."} 
[2026-08-01 13:44:53] local.INFO: Packet analysis {"connection_id":146246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc60"} 
[2026-08-01 13:44:53] local.INFO: Extracted packet for processing {"connection_id":146246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc60"} 
[2026-08-01 13:44:53] local.INFO: GPS Element Parsed {"raw_longitude":754996160,"raw_latitude":117403288,"longitude_deg":75.499616,"latitude_deg":11.7403288,"altitude":17,"angle":310,"satellites":41,"speed":32,"hex_longitude":"2d0053c0","hex_latitude":"06ff6e98","is_valid_coordinates":true} 
[2026-08-01 13:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:44:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106402816001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:44:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366495512192352256,"note":"Value kept but may cause issues"} 
[2026-08-01 13:44:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":26880890330351616,"note":"Value kept but may cause issues"} 
[2026-08-01 13:44:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:44:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785571891000,"timestamp_ms":1785571891000,"timestamp_seconds":1785571891,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc60d738"} 
[2026-08-01 13:44:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:44:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 13:44:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:44:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:44:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:44:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:44:53] local.INFO: Teltonika packet parsed successfully {"connection_id":146246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:44:53] local.INFO: Passing IMEI to GPS processor {"connection_id":146246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:44:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":146246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:44:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:44:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:44:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:44:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106402816001,"66":27843,"17":206,"28":32256,"24":32,"16":366495512192352256,"45":26880890330351616},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,45]} 
[2026-08-01 13:44:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:44:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:44:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106402816001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:44:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:44:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366495512192352256,"km_value":366495512192352.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:44:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":26880890330351616,"description":"Unknown IO ID 45"} 
[2026-08-01 13:44:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106402816001,"power":27843,"axis_x":206,"unknown_28":32256,"ignition":32,"odometer":null,"unknown_45":26880890330351616}} 
[2026-08-01 13:44:53] local.INFO: DEBUG: GPS processor result {"connection_id":146246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:44:53] local.INFO: GPS data processed {"connection_id":146246,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:44:53] local.INFO: Acknowledgment sent {"connection_id":146246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:45:05] local.INFO: TCP Data received {"connection_id":147253,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:45:05] local.INFO: Processing buffer {"connection_id":147253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:45:05] local.INFO: IMEI packet received {"connection_id":147253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 13:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":147253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:45:08] local.INFO: TCP Data received {"connection_id":147253,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:45:08] local.INFO: Processing buffer {"connection_id":147253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:45:08] local.INFO: IMEI packet received {"connection_id":147253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":147253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:45:09] local.INFO: TCP Data received {"connection_id":147253,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc624668012d0fdd4007222450005c015720..."} 
[2026-08-01 13:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc624668012d0fdd4007222450005c015720..."} 
[2026-08-01 13:45:09] local.INFO: Processing buffer {"connection_id":147253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc624668012d0fdd4007222450005c015720..."} 
[2026-08-01 13:45:09] local.INFO: Packet analysis {"connection_id":147253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc62"} 
[2026-08-01 13:45:09] local.INFO: Extracted packet for processing {"connection_id":147253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc62"} 
[2026-08-01 13:45:09] local.INFO: GPS Element Parsed {"raw_longitude":756014400,"raw_latitude":119678032,"longitude_deg":75.60144,"latitude_deg":11.9678032,"altitude":92,"angle":343,"satellites":32,"speed":0,"hex_longitude":"2d0fdd40","hex_latitude":"07222450","is_valid_coordinates":true} 
[2026-08-01 13:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106422784001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10196995390046208,"note":"Value kept but may cause issues"} 
[2026-08-01 13:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1143140279803727872,"note":"Value kept but may cause issues"} 
[2026-08-01 13:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785571985000,"timestamp_ms":1785571985000,"timestamp_seconds":1785571985,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc624668"} 
[2026-08-01 13:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:45:09] 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-08-01 13:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-01 13:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-08-01 13:45:09] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-01 13:45:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 13:45:09] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3160410160,"note":"Value kept but may cause issues"} 
[2026-08-01 13:45:09] local.WARNING: Large IO value detected {"io_id":240,"raw_value":25895741511696896,"note":"Value kept but may cause issues"} 
[2026-08-01 13:45:09] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503755221106688,"note":"Value kept but may cause issues"} 
[2026-08-01 13:45:09] local.WARNING: Large IO value detected {"io_id":188,"raw_value":6918734097436106112,"note":"Value kept but may cause issues"} 
[2026-08-01 13:45:09] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5332525845896823040,"note":"Value kept but may cause issues"} 
[2026-08-01 13:45:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":4965782425295912984,"corrected_to":0} 
[2026-08-01 13:45:09] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182156695175424,"note":"Value kept but may cause issues"} 
[2026-08-01 13:45:09] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607153988,"note":"Value kept but may cause issues"} 
[2026-08-01 13:45:09] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2460126482366817834,"note":"Value kept but may cause issues"} 
[2026-08-01 13:45:09] local.WARNING: Large IO value detected {"io_id":51,"raw_value":1729607952777662035,"note":"Value kept but may cause issues"} 
[2026-08-01 13:45:09] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755403736154353,"note":"Value kept but may cause issues"} 
[2026-08-01 13:45:09] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195083776,"note":"Value kept but may cause issues"} 
[2026-08-01 13:45:09] local.WARNING: Large IO value detected {"io_id":96,"raw_value":84741412000047651,"note":"Value kept but may cause issues"} 
[2026-08-01 13:45:09] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,47,83,24,241,157,16,58,159,162,45,64,36,92,33,10,66,80,254,1,240,150,227,188,34,4,113,205,90,221,42,239,50,234,2,7,51,164,28,69,96],"length":625,"final_offset":755,"validated_count":41,"validation_warnings":[{"io_id":205,"original":4965782425295912984,"validated":0}]} 
[2026-08-01 13:45:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6629675947186454528,"timestamp_seconds":6629675947186455.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 13:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":147253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":147253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":147253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:45:09] 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-08-01 13:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106422784001,"66":12776,"47":206,"83":41984,"24":0,"16":10196995390046208,"45":1143140279803727872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,83,24,16,45]} 
[2026-08-01 13:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106422784001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:45:09] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-01 13:45:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10196995390046208,"km_value":10196995390046.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1143140279803727872,"description":"Unknown IO ID 45"} 
[2026-08-01 13:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106422784001,"power":12776,"unknown_47":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1143140279803727872}} 
[2026-08-01 13:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":147253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:45:09] local.INFO: GPS data processed {"connection_id":147253,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:45:09] local.INFO: Acknowledgment sent {"connection_id":147253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:45:10] local.INFO: TCP Data received {"connection_id":147253,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc629870012d0fdd4007222450005c015729..."} 
[2026-08-01 13:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc629870012d0fdd4007222450005c015729..."} 
[2026-08-01 13:45:10] local.INFO: Processing buffer {"connection_id":147253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc629870012d0fdd4007222450005c015729..."} 
[2026-08-01 13:45:10] local.INFO: Packet analysis {"connection_id":147253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc62"} 
[2026-08-01 13:45:10] local.INFO: Extracted packet for processing {"connection_id":147253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc62"} 
[2026-08-01 13:45:10] local.INFO: GPS Element Parsed {"raw_longitude":756014400,"raw_latitude":119678032,"longitude_deg":75.60144,"latitude_deg":11.9678032,"altitude":92,"angle":343,"satellites":41,"speed":0,"hex_longitude":"2d0fdd40","hex_latitude":"07222450","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106428160001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10196995390046208,"note":"Value kept but may cause issues"} 
[2026-08-01 13:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1143140279803727872,"note":"Value kept but may cause issues"} 
[2026-08-01 13:45:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785572006000,"timestamp_ms":1785572006000,"timestamp_seconds":1785572006,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc629870"} 
[2026-08-01 13:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:45:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-01 13:45: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-08-01 13: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-08-01 13:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":147253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":147253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":147253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:45: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-08-01 13:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106428160001,"66":12743,"47":206,"83":41984,"24":0,"16":10196995390046208,"45":1143140279803727872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,83,24,16,45]} 
[2026-08-01 13:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106428160001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:45:10] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-01 13:45:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10196995390046208,"km_value":10196995390046.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1143140279803727872,"description":"Unknown IO ID 45"} 
[2026-08-01 13:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106428160001,"power":12743,"unknown_47":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1143140279803727872}} 
[2026-08-01 13:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":147253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:45:10] local.INFO: GPS data processed {"connection_id":147253,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:45:10] local.INFO: Acknowledgment sent {"connection_id":147253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:45:25] local.INFO: TCP Data received {"connection_id":146246,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc610de8012d00384006ff8508000e01342a..."} 
[2026-08-01 13:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc610de8012d00384006ff8508000e01342a..."} 
[2026-08-01 13:45:25] local.INFO: Processing buffer {"connection_id":146246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc610de8012d00384006ff8508000e01342a..."} 
[2026-08-01 13:45:25] local.INFO: Packet analysis {"connection_id":146246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc61"} 
[2026-08-01 13:45:25] local.INFO: Extracted packet for processing {"connection_id":146246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc61"} 
[2026-08-01 13:45:25] local.INFO: GPS Element Parsed {"raw_longitude":754989120,"raw_latitude":117409032,"longitude_deg":75.498912,"latitude_deg":11.7409032,"altitude":14,"angle":308,"satellites":42,"speed":18,"hex_longitude":"2d003840","hex_latitude":"06ff8508","is_valid_coordinates":true} 
[2026-08-01 13:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106404096001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366495945984049152,"note":"Value kept but may cause issues"} 
[2026-08-01 13:45:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":23573559354759168,"note":"Value kept but may cause issues"} 
[2026-08-01 13:45:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785571905000,"timestamp_ms":1785571905000,"timestamp_seconds":1785571905,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc610de8"} 
[2026-08-01 13:45:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:45: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-08-01 13:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 13:45:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:45:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:45:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":146246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":146246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":146246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:45:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106404096001,"66":27050,"17":206,"28":32256,"24":18,"16":366495945984049152,"45":23573559354759168},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,45]} 
[2026-08-01 13:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106404096001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:45:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366495945984049152,"km_value":366495945984049.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:45:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":23573559354759168,"description":"Unknown IO ID 45"} 
[2026-08-01 13:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106404096001,"power":27050,"axis_x":206,"unknown_28":32256,"ignition":18,"odometer":null,"unknown_45":23573559354759168}} 
[2026-08-01 13:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":146246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:45:25] local.INFO: GPS data processed {"connection_id":146246,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:45:25] local.INFO: Acknowledgment sent {"connection_id":146246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:45:42] local.INFO: TCP Data received {"connection_id":147253,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc62ea78012d0fdd4007222450005c015728..."} 
[2026-08-01 13:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc62ea78012d0fdd4007222450005c015728..."} 
[2026-08-01 13:45:42] local.INFO: Processing buffer {"connection_id":147253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc62ea78012d0fdd4007222450005c015728..."} 
[2026-08-01 13:45:42] local.INFO: Packet analysis {"connection_id":147253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc62"} 
[2026-08-01 13:45:42] local.INFO: Extracted packet for processing {"connection_id":147253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc62"} 
[2026-08-01 13:45:42] local.INFO: GPS Element Parsed {"raw_longitude":756014400,"raw_latitude":119678032,"longitude_deg":75.60144,"latitude_deg":11.9678032,"altitude":92,"angle":343,"satellites":40,"speed":0,"hex_longitude":"2d0fdd40","hex_latitude":"07222450","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106433536001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10196995390046208,"note":"Value kept but may cause issues"} 
[2026-08-01 13:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1143140279803727872,"note":"Value kept but may cause issues"} 
[2026-08-01 13:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785572027000,"timestamp_ms":1785572027000,"timestamp_seconds":1785572027,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc62ea78"} 
[2026-08-01 13:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:45: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-08-01 13: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-01 13:45: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-08-01 13: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-08-01 13:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":147253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":147253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":147253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13: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-08-01 13:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106433536001,"66":12711,"233":206,"83":41984,"24":0,"16":10196995390046208,"45":1143140279803727872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,83,24,16,45]} 
[2026-08-01 13:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106433536001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:45:42] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-08-01 13:45:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10196995390046208,"km_value":10196995390046.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1143140279803727872,"description":"Unknown IO ID 45"} 
[2026-08-01 13:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106433536001,"power":12711,"unknown_233":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1143140279803727872}} 
[2026-08-01 13:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":147253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:45:42] local.INFO: GPS data processed {"connection_id":147253,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:45:42] local.INFO: Acknowledgment sent {"connection_id":147253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:45:49] local.INFO: TCP Data received {"connection_id":148569,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:45:49] local.INFO: Processing buffer {"connection_id":148569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:45:49] local.INFO: IMEI packet received {"connection_id":148569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":148569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:45:54] local.INFO: TCP Data received {"connection_id":148569,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:45:54] local.INFO: Processing buffer {"connection_id":148569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:45:54] local.INFO: IMEI packet received {"connection_id":148569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":148569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:46:00] local.INFO: TCP Data received {"connection_id":148569,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc6140b0012d00278006ff9140000c01262c..."} 
[2026-08-01 13:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc6140b0012d00278006ff9140000c01262c..."} 
[2026-08-01 13:46:00] local.INFO: Processing buffer {"connection_id":148569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc6140b0012d00278006ff9140000c01262c..."} 
[2026-08-01 13:46:00] local.INFO: Packet analysis {"connection_id":148569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc61"} 
[2026-08-01 13:46:00] local.INFO: Extracted packet for processing {"connection_id":148569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc61"} 
[2026-08-01 13:46:00] local.INFO: GPS Element Parsed {"raw_longitude":754984832,"raw_latitude":117412160,"longitude_deg":75.4984832,"latitude_deg":11.741216,"altitude":12,"angle":294,"satellites":44,"speed":23,"hex_longitude":"2d002780","hex_latitude":"06ff9140","is_valid_coordinates":true} 
[2026-08-01 13:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106407680001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366496203682086912,"note":"Value kept but may cause issues"} 
[2026-08-01 13:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":15832997496686592,"note":"Value kept but may cause issues"} 
[2026-08-01 13:46:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785571918000,"timestamp_ms":1785571918000,"timestamp_seconds":1785571918,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc6140b0"} 
[2026-08-01 13:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:46: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-08-01 13:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-08-01 13:46:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:46:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":148569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":148569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":148569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:46:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106407680001,"66":27919,"17":206,"28":32256,"24":23,"16":366496203682086912,"45":15832997496686592},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,45]} 
[2026-08-01 13:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106407680001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:46:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366496203682086912,"km_value":366496203682086.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":15832997496686592,"description":"Unknown IO ID 45"} 
[2026-08-01 13:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106407680001,"power":27919,"axis_x":206,"unknown_28":32256,"ignition":23,"odometer":null,"unknown_45":15832997496686592}} 
[2026-08-01 13:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":148569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:46:00] local.INFO: GPS data processed {"connection_id":148569,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:46:00] local.INFO: Acknowledgment sent {"connection_id":148569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:46:00] local.INFO: TCP Data received {"connection_id":146247,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146247,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:46:00] local.INFO: Processing buffer {"connection_id":146247,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:46:00] local.INFO: IMEI packet received {"connection_id":146247,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 13:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":146247,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:46:02] local.INFO: TCP Data received {"connection_id":148569,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc6167c0012d000dc006ff9d50000c01322b..."} 
[2026-08-01 13:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc6167c0012d000dc006ff9d50000c01322b..."} 
[2026-08-01 13:46:02] local.INFO: Processing buffer {"connection_id":148569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc6167c0012d000dc006ff9d50000c01322b..."} 
[2026-08-01 13:46:02] local.INFO: Packet analysis {"connection_id":148569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc61"} 
[2026-08-01 13:46:02] local.INFO: Extracted packet for processing {"connection_id":148569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc61"} 
[2026-08-01 13:46:02] local.INFO: GPS Element Parsed {"raw_longitude":754978240,"raw_latitude":117415248,"longitude_deg":75.497824,"latitude_deg":11.7415248,"altitude":12,"angle":306,"satellites":43,"speed":32,"hex_longitude":"2d000dc0","hex_latitude":"06ff9d50","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106411008001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366496551574437888,"note":"Value kept but may cause issues"} 
[2026-08-01 13:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":11118291637583872,"note":"Value kept but may cause issues"} 
[2026-08-01 13:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785571928000,"timestamp_ms":1785571928000,"timestamp_seconds":1785571928,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc6167c0"} 
[2026-08-01 13:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13: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-08-01 13: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-08-01 13: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-08-01 13: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-08-01 13:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":148569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":148569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":148569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106411008001,"66":27919,"17":206,"28":32256,"24":32,"16":366496551574437888,"45":11118291637583872},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,45]} 
[2026-08-01 13:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106411008001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:46:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366496551574437888,"km_value":366496551574437.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":11118291637583872,"description":"Unknown IO ID 45"} 
[2026-08-01 13:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106411008001,"power":27919,"axis_x":206,"unknown_28":32256,"ignition":32,"odometer":null,"unknown_45":11118291637583872}} 
[2026-08-01 13:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":148569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:46:02] local.INFO: GPS data processed {"connection_id":148569,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:46:02] local.INFO: Acknowledgment sent {"connection_id":148569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:46:05] local.INFO: TCP Data received {"connection_id":146247,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146247,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:46:05] local.INFO: Processing buffer {"connection_id":146247,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:46:05] local.INFO: IMEI packet received {"connection_id":146247,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":146247,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:46:06] local.INFO: TCP Data received {"connection_id":146247,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc633c80012d0fdd4007222450005c015726..."} 
[2026-08-01 13:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc633c80012d0fdd4007222450005c015726..."} 
[2026-08-01 13:46:06] local.INFO: Processing buffer {"connection_id":146247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc633c80012d0fdd4007222450005c015726..."} 
[2026-08-01 13:46:06] local.INFO: Packet analysis {"connection_id":146247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc63"} 
[2026-08-01 13:46:06] local.INFO: Extracted packet for processing {"connection_id":146247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc63"} 
[2026-08-01 13:46:06] local.INFO: GPS Element Parsed {"raw_longitude":756014400,"raw_latitude":119678032,"longitude_deg":75.60144,"latitude_deg":11.9678032,"altitude":92,"angle":343,"satellites":38,"speed":0,"hex_longitude":"2d0fdd40","hex_latitude":"07222450","is_valid_coordinates":true} 
[2026-08-01 13:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106438912001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10196995390046208,"note":"Value kept but may cause issues"} 
[2026-08-01 13:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1143140279803727872,"note":"Value kept but may cause issues"} 
[2026-08-01 13:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785572048000,"timestamp_ms":1785572048000,"timestamp_seconds":1785572048,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc633c80"} 
[2026-08-01 13:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-01 13:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:46:06] 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-08-01 13:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106438912001,"66":12667,"233":206,"83":41984,"24":0,"16":10196995390046208,"45":1143140279803727872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,83,24,16,45]} 
[2026-08-01 13:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106438912001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:46:06] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-08-01 13:46:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10196995390046208,"km_value":10196995390046.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1143140279803727872,"description":"Unknown IO ID 45"} 
[2026-08-01 13:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106438912001,"power":12667,"unknown_233":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1143140279803727872}} 
[2026-08-01 13:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":146247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577372,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:46:06] local.INFO: GPS data processed {"connection_id":146247,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:46:06] local.INFO: Acknowledgment sent {"connection_id":146247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:46:37] local.INFO: TCP Data received {"connection_id":146247,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc638e88012d0fdd4007222450005c015720..."} 
[2026-08-01 13:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc638e88012d0fdd4007222450005c015720..."} 
[2026-08-01 13:46:37] local.INFO: Processing buffer {"connection_id":146247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc638e88012d0fdd4007222450005c015720..."} 
[2026-08-01 13:46:37] local.INFO: Packet analysis {"connection_id":146247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc63"} 
[2026-08-01 13:46:37] local.INFO: Extracted packet for processing {"connection_id":146247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc63"} 
[2026-08-01 13:46:37] local.INFO: GPS Element Parsed {"raw_longitude":756014400,"raw_latitude":119678032,"longitude_deg":75.60144,"latitude_deg":11.9678032,"altitude":92,"angle":343,"satellites":32,"speed":0,"hex_longitude":"2d0fdd40","hex_latitude":"07222450","is_valid_coordinates":true} 
[2026-08-01 13:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106444288001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10196995390046208,"note":"Value kept but may cause issues"} 
[2026-08-01 13:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1143140279803727872,"note":"Value kept but may cause issues"} 
[2026-08-01 13:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785572069000,"timestamp_ms":1785572069000,"timestamp_seconds":1785572069,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc638e88"} 
[2026-08-01 13:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-01 13:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:46:37] 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-08-01 13:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106444288001,"66":12591,"233":206,"83":41984,"24":0,"16":10196995390046208,"45":1143140279803727872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,83,24,16,45]} 
[2026-08-01 13:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106444288001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:46:37] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-08-01 13:46:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10196995390046208,"km_value":10196995390046.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1143140279803727872,"description":"Unknown IO ID 45"} 
[2026-08-01 13:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106444288001,"power":12591,"unknown_233":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1143140279803727872}} 
[2026-08-01 13:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":146247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:46:37] local.INFO: GPS data processed {"connection_id":146247,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:46:37] local.INFO: Acknowledgment sent {"connection_id":146247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:46:44] local.INFO: TCP Data received {"connection_id":146025,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:46:44] local.INFO: Processing buffer {"connection_id":146025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:46:44] local.INFO: IMEI packet received {"connection_id":146025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":146025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:46:47] local.INFO: TCP Data received {"connection_id":146025,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:46:47] local.INFO: Processing buffer {"connection_id":146025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:46:47] local.INFO: IMEI packet received {"connection_id":146025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":146025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:46:49] local.INFO: TCP Data received {"connection_id":146025,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc646d30012cffa2c006ffd300000801242a..."} 
[2026-08-01 13:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc646d30012cffa2c006ffd300000801242a..."} 
[2026-08-01 13:46:49] local.INFO: Processing buffer {"connection_id":146025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc646d30012cffa2c006ffd300000801242a..."} 
[2026-08-01 13:46:49] local.INFO: Packet analysis {"connection_id":146025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc64"} 
[2026-08-01 13:46:49] local.INFO: Extracted packet for processing {"connection_id":146025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc64"} 
[2026-08-01 13:46:49] local.INFO: GPS Element Parsed {"raw_longitude":754950848,"raw_latitude":117428992,"longitude_deg":75.4950848,"latitude_deg":11.7428992,"altitude":8,"angle":292,"satellites":42,"speed":0,"hex_longitude":"2cffa2c0","hex_latitude":"06ffd300","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:46:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106458880001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366498037633122304,"note":"Value kept but may cause issues"} 
[2026-08-01 13:46:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-26247511516446720,"note":"Value kept but may cause issues"} 
[2026-08-01 13:46:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785572126000,"timestamp_ms":1785572126000,"timestamp_seconds":1785572126,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc646d30"} 
[2026-08-01 13:46:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:46: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-08-01 13: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 13:46:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13: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-08-01 13:46:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:46:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106458880001,"66":27919,"17":206,"28":32256,"24":0,"16":366498037633122304,"44":-26247511516446720},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 13:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106458880001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:46:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:46:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366498037633122304,"km_value":366498037633122.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:46:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-26247511516446720,"description":"Unknown IO ID 44"} 
[2026-08-01 13:46:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106458880001,"power":27919,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-26247511516446720}} 
[2026-08-01 13:46:49] local.INFO: DEBUG: GPS processor result {"connection_id":146025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:46:49] local.INFO: GPS data processed {"connection_id":146025,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:46:49] local.INFO: Acknowledgment sent {"connection_id":146025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:46:50] local.INFO: TCP Data received {"connection_id":146025,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc64bf38012cff970006ffd888000801252c..."} 
[2026-08-01 13:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc64bf38012cff970006ffd888000801252c..."} 
[2026-08-01 13:46:50] local.INFO: Processing buffer {"connection_id":146025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc64bf38012cff970006ffd888000801252c..."} 
[2026-08-01 13:46:50] local.INFO: Packet analysis {"connection_id":146025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc64"} 
[2026-08-01 13:46:50] local.INFO: Extracted packet for processing {"connection_id":146025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc64"} 
[2026-08-01 13:46:50] local.INFO: GPS Element Parsed {"raw_longitude":754947840,"raw_latitude":117430408,"longitude_deg":75.494784,"latitude_deg":11.7430408,"altitude":8,"angle":293,"satellites":44,"speed":5,"hex_longitude":"2cff9700","hex_latitude":"06ffd888","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106464256001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:46:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366498196546912256,"note":"Value kept but may cause issues"} 
[2026-08-01 13:46:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-26247511516446720,"note":"Value kept but may cause issues"} 
[2026-08-01 13:46:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:46:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785572147000,"timestamp_ms":1785572147000,"timestamp_seconds":1785572147,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc64bf38"} 
[2026-08-01 13:46:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:46: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-08-01 13: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 13:46:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13: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-08-01 13:46:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:46:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:46:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:46:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:46:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:46:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:46:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:46:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:46:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106464256001,"66":27919,"17":206,"28":32256,"24":5,"16":366498196546912256,"44":-26247511516446720},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 13:46:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:46:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:46:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106464256001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:46:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:46:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366498196546912256,"km_value":366498196546912.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:46:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-26247511516446720,"description":"Unknown IO ID 44"} 
[2026-08-01 13:46:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106464256001,"power":27919,"axis_x":206,"unknown_28":32256,"ignition":5,"odometer":null,"unknown_44":-26247511516446720}} 
[2026-08-01 13:46:50] local.INFO: DEBUG: GPS processor result {"connection_id":146025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:46:50] local.INFO: GPS data processed {"connection_id":146025,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:46:50] local.INFO: Acknowledgment sent {"connection_id":146025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:47:00] local.INFO: TCP Data received {"connection_id":146248,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:47:00] local.INFO: Processing buffer {"connection_id":146248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:47:00] local.INFO: IMEI packet received {"connection_id":146248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 13:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":146248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:47:05] local.INFO: TCP Data received {"connection_id":146248,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:47:05] local.INFO: Processing buffer {"connection_id":146248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:47:05] local.INFO: IMEI packet received {"connection_id":146248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":146248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:47:06] local.INFO: TCP Data received {"connection_id":146248,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc63e090012d0fdd4007222450005c015727..."} 
[2026-08-01 13:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc63e090012d0fdd4007222450005c015727..."} 
[2026-08-01 13:47:06] local.INFO: Processing buffer {"connection_id":146248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc63e090012d0fdd4007222450005c015727..."} 
[2026-08-01 13:47:06] local.INFO: Packet analysis {"connection_id":146248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc63"} 
[2026-08-01 13:47:06] local.INFO: Extracted packet for processing {"connection_id":146248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc63"} 
[2026-08-01 13:47:06] local.INFO: GPS Element Parsed {"raw_longitude":756014400,"raw_latitude":119678032,"longitude_deg":75.60144,"latitude_deg":11.9678032,"altitude":92,"angle":343,"satellites":39,"speed":0,"hex_longitude":"2d0fdd40","hex_latitude":"07222450","is_valid_coordinates":true} 
[2026-08-01 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-08-01 13:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106449664001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10196995390046208,"note":"Value kept but may cause issues"} 
[2026-08-01 13:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1143140279803727872,"note":"Value kept but may cause issues"} 
[2026-08-01 13:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785572090000,"timestamp_ms":1785572090000,"timestamp_seconds":1785572090,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc63e090"} 
[2026-08-01 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-08-01 13:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-01 13:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 13:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:47:06] 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-08-01 13:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106449664001,"66":12591,"233":206,"83":41984,"24":0,"16":10196995390046208,"45":1143140279803727872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,83,24,16,45]} 
[2026-08-01 13:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106449664001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:47:06] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-08-01 13:47:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10196995390046208,"km_value":10196995390046.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1143140279803727872,"description":"Unknown IO ID 45"} 
[2026-08-01 13:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106449664001,"power":12591,"unknown_233":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1143140279803727872}} 
[2026-08-01 13:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":146248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:47:06] local.INFO: GPS data processed {"connection_id":146248,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:47:06] local.INFO: Acknowledgment sent {"connection_id":146248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:47:22] local.INFO: TCP Data received {"connection_id":146025,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc651140012cff8c0006ffdd30000801242a..."} 
[2026-08-01 13:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc651140012cff8c0006ffdd30000801242a..."} 
[2026-08-01 13:47:22] local.INFO: Processing buffer {"connection_id":146025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc651140012cff8c0006ffdd30000801242a..."} 
[2026-08-01 13:47:22] local.INFO: Packet analysis {"connection_id":146025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc65"} 
[2026-08-01 13:47:22] local.INFO: Extracted packet for processing {"connection_id":146025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc65"} 
[2026-08-01 13:47:22] local.INFO: GPS Element Parsed {"raw_longitude":754945024,"raw_latitude":117431600,"longitude_deg":75.4945024,"latitude_deg":11.74316,"altitude":8,"angle":292,"satellites":42,"speed":6,"hex_longitude":"2cff8c00","hex_latitude":"06ffdd30","is_valid_coordinates":true} 
[2026-08-01 13:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106469632001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366498342575800320,"note":"Value kept but may cause issues"} 
[2026-08-01 13:47:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-29554842492434432,"note":"Value kept but may cause issues"} 
[2026-08-01 13:47:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785572168000,"timestamp_ms":1785572168000,"timestamp_seconds":1785572168,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc651140"} 
[2026-08-01 13:47:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:47:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 13:47:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:47:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:47:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:47:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:47:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106469632001,"66":28050,"17":206,"28":32256,"24":6,"16":366498342575800320,"44":-29554842492434432},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 13:47:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:47:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:47:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106469632001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:47:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:47:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366498342575800320,"km_value":366498342575800.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:47:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-29554842492434432,"description":"Unknown IO ID 44"} 
[2026-08-01 13:47:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106469632001,"power":28050,"axis_x":206,"unknown_28":32256,"ignition":6,"odometer":null,"unknown_44":-29554842492434432}} 
[2026-08-01 13:47:22] local.INFO: DEBUG: GPS processor result {"connection_id":146025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:47:22] local.INFO: GPS data processed {"connection_id":146025,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:47:22] local.INFO: Acknowledgment sent {"connection_id":146025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:47:37] local.INFO: TCP Data received {"connection_id":146248,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc643298012d0fdd4007222450005c015727..."} 
[2026-08-01 13:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc643298012d0fdd4007222450005c015727..."} 
[2026-08-01 13:47:37] local.INFO: Processing buffer {"connection_id":146248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc643298012d0fdd4007222450005c015727..."} 
[2026-08-01 13:47:37] local.INFO: Packet analysis {"connection_id":146248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc64"} 
[2026-08-01 13:47:37] local.INFO: Extracted packet for processing {"connection_id":146248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc64"} 
[2026-08-01 13:47:37] local.INFO: GPS Element Parsed {"raw_longitude":756014400,"raw_latitude":119678032,"longitude_deg":75.60144,"latitude_deg":11.9678032,"altitude":92,"angle":343,"satellites":39,"speed":0,"hex_longitude":"2d0fdd40","hex_latitude":"07222450","is_valid_coordinates":true} 
[2026-08-01 13:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106455040001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10196995390046208,"note":"Value kept but may cause issues"} 
[2026-08-01 13:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1143140279803727872,"note":"Value kept but may cause issues"} 
[2026-08-01 13:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785572111000,"timestamp_ms":1785572111000,"timestamp_seconds":1785572111,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc643298"} 
[2026-08-01 13:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-01 13:47:37] 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-08-01 13:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:47:37] 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-08-01 13:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106455040001,"66":12558,"233":206,"83":41984,"24":0,"16":10196995390046208,"45":1143140279803727872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,83,24,16,45]} 
[2026-08-01 13:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106455040001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:47:37] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-08-01 13:47:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10196995390046208,"km_value":10196995390046.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1143140279803727872,"description":"Unknown IO ID 45"} 
[2026-08-01 13:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106455040001,"power":12558,"unknown_233":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1143140279803727872}} 
[2026-08-01 13:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":146248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577378,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:47:37] local.INFO: GPS data processed {"connection_id":146248,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:47:37] local.INFO: Acknowledgment sent {"connection_id":146248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:47:49] local.INFO: TCP Data received {"connection_id":148570,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:47:49] local.INFO: Processing buffer {"connection_id":148570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:47:49] local.INFO: IMEI packet received {"connection_id":148570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":148570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:47:55] local.INFO: TCP Data received {"connection_id":148570,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:47:55] local.INFO: Processing buffer {"connection_id":148570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:47:55] local.INFO: IMEI packet received {"connection_id":148570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":148570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:48:01] local.INFO: TCP Data received {"connection_id":146026,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:48:01] local.INFO: Processing buffer {"connection_id":146026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:48:01] local.INFO: IMEI packet received {"connection_id":146026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 13:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":146026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:48:02] local.INFO: TCP Data received {"connection_id":148570,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc656348012cff7d0006ffe3200007011d2c..."} 
[2026-08-01 13:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc656348012cff7d0006ffe3200007011d2c..."} 
[2026-08-01 13:48:02] local.INFO: Processing buffer {"connection_id":148570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc656348012cff7d0006ffe3200007011d2c..."} 
[2026-08-01 13:48:02] local.INFO: Packet analysis {"connection_id":148570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc65"} 
[2026-08-01 13:48:02] local.INFO: Extracted packet for processing {"connection_id":148570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc65"} 
[2026-08-01 13:48:02] local.INFO: GPS Element Parsed {"raw_longitude":754941184,"raw_latitude":117433120,"longitude_deg":75.4941184,"latitude_deg":11.743312,"altitude":7,"angle":285,"satellites":44,"speed":5,"hex_longitude":"2cff7d00","hex_latitude":"06ffe320","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106475008001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366498540144295936,"note":"Value kept but may cause issues"} 
[2026-08-01 13:48:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-32651067235946496,"note":"Value kept but may cause issues"} 
[2026-08-01 13:48:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785572189000,"timestamp_ms":1785572189000,"timestamp_seconds":1785572189,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc656348"} 
[2026-08-01 13:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13: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-08-01 13: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-01 13:48:02] 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-08-01 13: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-08-01 13:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":148570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":148570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":148570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106475008001,"66":27865,"17":206,"28":32256,"24":5,"16":366498540144295936,"44":-32651067235946496},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 13:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106475008001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:48:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366498540144295936,"km_value":366498540144295.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:48:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-32651067235946496,"description":"Unknown IO ID 44"} 
[2026-08-01 13:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106475008001,"power":27865,"axis_x":206,"unknown_28":32256,"ignition":5,"odometer":null,"unknown_44":-32651067235946496}} 
[2026-08-01 13:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":148570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:48:02] local.INFO: GPS data processed {"connection_id":148570,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:48:02] local.INFO: Acknowledgment sent {"connection_id":148570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:48:05] local.INFO: TCP Data received {"connection_id":146026,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:48:05] local.INFO: Processing buffer {"connection_id":146026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:48:05] local.INFO: IMEI packet received {"connection_id":146026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":146026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:48:08] local.INFO: TCP Data received {"connection_id":146026,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc6484a0012d0fdd4007222450005c015724..."} 
[2026-08-01 13:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc6484a0012d0fdd4007222450005c015724..."} 
[2026-08-01 13:48:08] local.INFO: Processing buffer {"connection_id":146026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc6484a0012d0fdd4007222450005c015724..."} 
[2026-08-01 13:48:08] local.INFO: Packet analysis {"connection_id":146026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc64"} 
[2026-08-01 13:48:08] local.INFO: Extracted packet for processing {"connection_id":146026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc64"} 
[2026-08-01 13:48:08] local.INFO: GPS Element Parsed {"raw_longitude":756014400,"raw_latitude":119678032,"longitude_deg":75.60144,"latitude_deg":11.9678032,"altitude":92,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d0fdd40","hex_latitude":"07222450","is_valid_coordinates":true} 
[2026-08-01 13:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106460416001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10196995390046208,"note":"Value kept but may cause issues"} 
[2026-08-01 13:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1143140279803727872,"note":"Value kept but may cause issues"} 
[2026-08-01 13:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785572132000,"timestamp_ms":1785572132000,"timestamp_seconds":1785572132,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc6484a0"} 
[2026-08-01 13:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-01 13:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-01 13:48:08] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-01 13:48:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 13:48:08] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3160557160,"note":"Value kept but may cause issues"} 
[2026-08-01 13:48:08] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3247057123424740432,"note":"Value kept but may cause issues"} 
[2026-08-01 13:48:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1156120782,"corrected_to":0} 
[2026-08-01 13:48:08] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3338718585,"note":"Value kept but may cause issues"} 
[2026-08-01 13:48:08] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3386933778411689984,"note":"Value kept but may cause issues"} 
[2026-08-01 13:48:08] local.WARNING: Large IO value detected {"io_id":74,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-01 13:48:08] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-01 13:48:08] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,233,83,24,241,157,16,58,159,224,45,64,36,92,39,10,66,142,32,60,1,240,123,227,188,34,4,113,205,152,221,80,41,239,49,47,2,7,121,74,206],"length":575,"final_offset":705,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1156120782,"validated":0}]} 
[2026-08-01 13:48:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6629675951481421824,"timestamp_seconds":6629675951481422.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 13:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":146026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":146026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":146026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:48:08] 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-08-01 13:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106460416001,"66":12504,"233":206,"83":41984,"24":0,"16":10196995390046208,"45":1143140279803727872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,83,24,16,45]} 
[2026-08-01 13:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106460416001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:48:08] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-08-01 13:48:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10196995390046208,"km_value":10196995390046.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1143140279803727872,"description":"Unknown IO ID 45"} 
[2026-08-01 13:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106460416001,"power":12504,"unknown_233":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1143140279803727872}} 
[2026-08-01 13:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":146026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:48:08] local.INFO: GPS data processed {"connection_id":146026,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:48:08] local.INFO: Acknowledgment sent {"connection_id":146026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:48:38] local.INFO: TCP Data received {"connection_id":146026,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc64d6a8012d0fdd4007222450005c015725..."} 
[2026-08-01 13:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc64d6a8012d0fdd4007222450005c015725..."} 
[2026-08-01 13:48:38] local.INFO: Processing buffer {"connection_id":146026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc64d6a8012d0fdd4007222450005c015725..."} 
[2026-08-01 13:48:38] local.INFO: Packet analysis {"connection_id":146026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc64"} 
[2026-08-01 13:48:38] local.INFO: Extracted packet for processing {"connection_id":146026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc64"} 
[2026-08-01 13:48:38] local.INFO: GPS Element Parsed {"raw_longitude":756014400,"raw_latitude":119678032,"longitude_deg":75.60144,"latitude_deg":11.9678032,"altitude":92,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d0fdd40","hex_latitude":"07222450","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106465792001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10196995390046208,"note":"Value kept but may cause issues"} 
[2026-08-01 13:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1143140279803727872,"note":"Value kept but may cause issues"} 
[2026-08-01 13:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785572153000,"timestamp_ms":1785572153000,"timestamp_seconds":1785572153,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc64d6a8"} 
[2026-08-01 13:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-01 13:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13: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-08-01 13:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:48:38] 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-08-01 13:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106465792001,"66":12504,"233":206,"83":41984,"24":0,"16":10196995390046208,"45":1143140279803727872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,83,24,16,45]} 
[2026-08-01 13:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106465792001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:48:38] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-08-01 13:48:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10196995390046208,"km_value":10196995390046.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1143140279803727872,"description":"Unknown IO ID 45"} 
[2026-08-01 13:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106465792001,"power":12504,"unknown_233":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1143140279803727872}} 
[2026-08-01 13:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":146026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:48:39] local.INFO: GPS data processed {"connection_id":146026,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:48:39] local.INFO: Acknowledgment sent {"connection_id":146026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:48:44] local.INFO: TCP Data received {"connection_id":146249,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:48:44] local.INFO: Processing buffer {"connection_id":146249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:48:44] local.INFO: IMEI packet received {"connection_id":146249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":146249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:48:45] local.INFO: TCP Data received {"connection_id":146249,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:48:45] local.INFO: Processing buffer {"connection_id":146249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:48:45] local.INFO: IMEI packet received {"connection_id":146249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":146249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:48:49] local.INFO: TCP Data received {"connection_id":146249,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:48:49] local.INFO: Processing buffer {"connection_id":146249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:48:49] local.INFO: IMEI packet received {"connection_id":146249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":146249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:48:50] local.INFO: TCP Data received {"connection_id":146249,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc65b550012cff73c006ffe5700006011e29..."} 
[2026-08-01 13:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc65b550012cff73c006ffe5700006011e29..."} 
[2026-08-01 13:48:50] local.INFO: Processing buffer {"connection_id":146249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc65b550012cff73c006ffe5700006011e29..."} 
[2026-08-01 13:48:50] local.INFO: Packet analysis {"connection_id":146249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc65"} 
[2026-08-01 13:48:50] local.INFO: Extracted packet for processing {"connection_id":146249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc65"} 
[2026-08-01 13:48:50] local.INFO: GPS Element Parsed {"raw_longitude":754938816,"raw_latitude":117433712,"longitude_deg":75.4938816,"latitude_deg":11.7433712,"altitude":6,"angle":286,"satellites":41,"speed":2,"hex_longitude":"2cff73c0","hex_latitude":"06ffe570","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106480384001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366498656108412928,"note":"Value kept but may cause issues"} 
[2026-08-01 13:48:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-36873191886217216,"note":"Value kept but may cause issues"} 
[2026-08-01 13:48:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785572210000,"timestamp_ms":1785572210000,"timestamp_seconds":1785572210,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc65b550"} 
[2026-08-01 13:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:48: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-08-01 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 13:48:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13: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-08-01 13:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:48:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106480384001,"66":27800,"17":206,"28":32256,"24":2,"16":366498656108412928,"44":-36873191886217216},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 13:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106480384001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:48:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366498656108412928,"km_value":366498656108412.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:48:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-36873191886217216,"description":"Unknown IO ID 44"} 
[2026-08-01 13:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106480384001,"power":27800,"axis_x":206,"unknown_28":32256,"ignition":2,"odometer":null,"unknown_44":-36873191886217216}} 
[2026-08-01 13:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":146249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:48:50] local.INFO: GPS data processed {"connection_id":146249,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:48:50] local.INFO: Acknowledgment sent {"connection_id":146249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:48:58] local.INFO: TCP Data received {"connection_id":146250,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:48:58] local.INFO: Processing buffer {"connection_id":146250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:48:58] local.INFO: IMEI packet received {"connection_id":146250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 13:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":146250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:49:01] local.INFO: TCP Data received {"connection_id":146250,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:49:01] local.INFO: Processing buffer {"connection_id":146250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:49:01] local.INFO: IMEI packet received {"connection_id":146250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":146250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:49:05] local.INFO: TCP Data received {"connection_id":146250,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:49:05] local.INFO: Processing buffer {"connection_id":146250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:49:05] local.INFO: IMEI packet received {"connection_id":146250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":146250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:49:06] local.INFO: TCP Data received {"connection_id":146250,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc6528b0012d0fdd4007222450005c015720..."} 
[2026-08-01 13:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc6528b0012d0fdd4007222450005c015720..."} 
[2026-08-01 13:49:06] local.INFO: Processing buffer {"connection_id":146250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc6528b0012d0fdd4007222450005c015720..."} 
[2026-08-01 13:49:06] local.INFO: Packet analysis {"connection_id":146250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc65"} 
[2026-08-01 13:49:06] local.INFO: Extracted packet for processing {"connection_id":146250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc65"} 
[2026-08-01 13:49:06] local.INFO: GPS Element Parsed {"raw_longitude":756014400,"raw_latitude":119678032,"longitude_deg":75.60144,"latitude_deg":11.9678032,"altitude":92,"angle":343,"satellites":32,"speed":0,"hex_longitude":"2d0fdd40","hex_latitude":"07222450","is_valid_coordinates":true} 
[2026-08-01 13:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106471168001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10196995390046208,"note":"Value kept but may cause issues"} 
[2026-08-01 13:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1143140279803727872,"note":"Value kept but may cause issues"} 
[2026-08-01 13:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785572174000,"timestamp_ms":1785572174000,"timestamp_seconds":1785572174,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc6528b0"} 
[2026-08-01 13:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-01 13:49:06] 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-08-01 13:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:49:06] 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-08-01 13:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106471168001,"66":12472,"233":206,"83":41984,"24":0,"16":10196995390046208,"45":1143140279803727872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,83,24,16,45]} 
[2026-08-01 13:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106471168001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:49:06] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-08-01 13:49:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10196995390046208,"km_value":10196995390046.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1143140279803727872,"description":"Unknown IO ID 45"} 
[2026-08-01 13:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106471168001,"power":12472,"unknown_233":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1143140279803727872}} 
[2026-08-01 13:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":146250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:49:06] local.INFO: GPS data processed {"connection_id":146250,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:49:06] local.INFO: Acknowledgment sent {"connection_id":146250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:49:22] local.INFO: TCP Data received {"connection_id":146249,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc65ccc0012cff724006ffe5e00006011329..."} 
[2026-08-01 13:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc65ccc0012cff724006ffe5e00006011329..."} 
[2026-08-01 13:49:22] local.INFO: Processing buffer {"connection_id":146249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc65ccc0012cff724006ffe5e00006011329..."} 
[2026-08-01 13:49:22] local.INFO: Packet analysis {"connection_id":146249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc65"} 
[2026-08-01 13:49:22] local.INFO: Extracted packet for processing {"connection_id":146249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc65"} 
[2026-08-01 13:49:22] local.INFO: GPS Element Parsed {"raw_longitude":754938432,"raw_latitude":117433824,"longitude_deg":75.4938432,"latitude_deg":11.7433824,"altitude":6,"angle":275,"satellites":41,"speed":0,"hex_longitude":"2cff7240","hex_latitude":"06ffe5e0","is_valid_coordinates":true} 
[2026-08-01 13:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106485760001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366498677583249408,"note":"Value kept but may cause issues"} 
[2026-08-01 13:49:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-39476835420639232,"note":"Value kept but may cause issues"} 
[2026-08-01 13:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785572216000,"timestamp_ms":1785572216000,"timestamp_seconds":1785572216,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc65ccc0"} 
[2026-08-01 13:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:49:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 13:49: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-08-01 13:49:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106485760001,"66":27995,"17":206,"28":32256,"24":0,"16":366498677583249408,"44":-39476835420639232},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 13:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106485760001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:49:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366498677583249408,"km_value":366498677583249.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:49:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-39476835420639232,"description":"Unknown IO ID 44"} 
[2026-08-01 13:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106485760001,"power":27995,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-39476835420639232}} 
[2026-08-01 13:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":146249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:49:22] local.INFO: GPS data processed {"connection_id":146249,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:49:22] local.INFO: Acknowledgment sent {"connection_id":146249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:49:37] local.INFO: TCP Data received {"connection_id":146250,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc657ab8012d0fdd4007222450005c015724..."} 
[2026-08-01 13:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc657ab8012d0fdd4007222450005c015724..."} 
[2026-08-01 13:49:37] local.INFO: Processing buffer {"connection_id":146250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc657ab8012d0fdd4007222450005c015724..."} 
[2026-08-01 13:49:37] local.INFO: Packet analysis {"connection_id":146250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc65"} 
[2026-08-01 13:49:37] local.INFO: Extracted packet for processing {"connection_id":146250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc65"} 
[2026-08-01 13:49:37] local.INFO: GPS Element Parsed {"raw_longitude":756014400,"raw_latitude":119678032,"longitude_deg":75.60144,"latitude_deg":11.9678032,"altitude":92,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d0fdd40","hex_latitude":"07222450","is_valid_coordinates":true} 
[2026-08-01 13:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106476544001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10196995390046208,"note":"Value kept but may cause issues"} 
[2026-08-01 13:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1143140279803727872,"note":"Value kept but may cause issues"} 
[2026-08-01 13:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785572195000,"timestamp_ms":1785572195000,"timestamp_seconds":1785572195,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc657ab8"} 
[2026-08-01 13:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-01 13:49:37] 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-08-01 13:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:49:37] 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-08-01 13:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106476544001,"66":12461,"234":206,"83":41984,"24":0,"16":10196995390046208,"45":1143140279803727872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,83,24,16,45]} 
[2026-08-01 13:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106476544001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:49:37] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-01 13:49:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10196995390046208,"km_value":10196995390046.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1143140279803727872,"description":"Unknown IO ID 45"} 
[2026-08-01 13:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106476544001,"power":12461,"unknown_234":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1143140279803727872}} 
[2026-08-01 13:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":146250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:49:37] local.INFO: GPS data processed {"connection_id":146250,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:49:37] local.INFO: Acknowledgment sent {"connection_id":146250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:49:44] local.INFO: TCP Data received {"connection_id":146027,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:49:44] local.INFO: Processing buffer {"connection_id":146027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:49:44] local.INFO: IMEI packet received {"connection_id":146027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":146027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:49:48] local.INFO: TCP Data received {"connection_id":146027,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:49:48] local.INFO: Processing buffer {"connection_id":146027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:49:48] local.INFO: IMEI packet received {"connection_id":146027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":146027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:49:49] local.INFO: TCP Data received {"connection_id":146027,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:49:49] local.INFO: Processing buffer {"connection_id":146027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:49:49] local.INFO: IMEI packet received {"connection_id":146027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":146027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:49:50] local.INFO: TCP Data received {"connection_id":146027,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc65e048012cff6f8006ffe6600007012228..."} 
[2026-08-01 13:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc65e048012cff6f8006ffe6600007012228..."} 
[2026-08-01 13:49:50] local.INFO: Processing buffer {"connection_id":146027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc65e048012cff6f8006ffe6600007012228..."} 
[2026-08-01 13:49:50] local.INFO: Packet analysis {"connection_id":146027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc65"} 
[2026-08-01 13:49:50] local.INFO: Extracted packet for processing {"connection_id":146027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc65"} 
[2026-08-01 13:49:50] local.INFO: GPS Element Parsed {"raw_longitude":754937728,"raw_latitude":117433952,"longitude_deg":75.4937728,"latitude_deg":11.7433952,"altitude":7,"angle":290,"satellites":40,"speed":10,"hex_longitude":"2cff6f80","hex_latitude":"06ffe660","is_valid_coordinates":true} 
[2026-08-01 13:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:49:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106487296001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:49:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366498707648020480,"note":"Value kept but may cause issues"} 
[2026-08-01 13:49:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-39899047885676544,"note":"Value kept but may cause issues"} 
[2026-08-01 13:49:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:49:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785572221000,"timestamp_ms":1785572221000,"timestamp_seconds":1785572221,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc65e048"} 
[2026-08-01 13:49:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:49:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-01 13:49:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:49:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:49:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:49:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:49:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:49:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:49:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:49:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:49:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:49:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:49:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106487296001,"66":27800,"17":206,"28":32256,"24":10,"16":366498707648020480,"44":-39899047885676544},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 13:49:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:49:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:49:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106487296001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:49:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:49:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366498707648020480,"km_value":366498707648020.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:49:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-39899047885676544,"description":"Unknown IO ID 44"} 
[2026-08-01 13:49:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106487296001,"power":27800,"axis_x":206,"unknown_28":32256,"ignition":10,"odometer":null,"unknown_44":-39899047885676544}} 
[2026-08-01 13:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":146027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:49:50] local.INFO: GPS data processed {"connection_id":146027,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:49:50] local.INFO: Acknowledgment sent {"connection_id":146027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:49:55] local.INFO: TCP Data received {"connection_id":146027,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc65f7b8012cff678006ffe9780007012f2a..."} 
[2026-08-01 13:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc65f7b8012cff678006ffe9780007012f2a..."} 
[2026-08-01 13:49:55] local.INFO: Processing buffer {"connection_id":146027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc65f7b8012cff678006ffe9780007012f2a..."} 
[2026-08-01 13:49:55] local.INFO: Packet analysis {"connection_id":146027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc65"} 
[2026-08-01 13:49:55] local.INFO: Extracted packet for processing {"connection_id":146027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc65"} 
[2026-08-01 13:49:55] local.INFO: GPS Element Parsed {"raw_longitude":754935680,"raw_latitude":117434744,"longitude_deg":75.493568,"latitude_deg":11.7434744,"altitude":7,"angle":303,"satellites":42,"speed":14,"hex_longitude":"2cff6780","hex_latitude":"06ffe978","is_valid_coordinates":true} 
[2026-08-01 13:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106488576001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366498815022202880,"note":"Value kept but may cause issues"} 
[2026-08-01 13:49:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-40673104071598080,"note":"Value kept but may cause issues"} 
[2026-08-01 13:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785572227000,"timestamp_ms":1785572227000,"timestamp_seconds":1785572227,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc65f7b8"} 
[2026-08-01 13:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:49:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 13:49: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-08-01 13:49:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":146027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":146027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":146027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106488576001,"66":27343,"17":206,"28":32256,"24":14,"16":366498815022202880,"44":-40673104071598080},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 13:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106488576001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:49:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366498815022202880,"km_value":366498815022202.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:49:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-40673104071598080,"description":"Unknown IO ID 44"} 
[2026-08-01 13:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106488576001,"power":27343,"axis_x":206,"unknown_28":32256,"ignition":14,"odometer":null,"unknown_44":-40673104071598080}} 
[2026-08-01 13:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":146027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:49:55] local.INFO: GPS data processed {"connection_id":146027,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:49:55] local.INFO: Acknowledgment sent {"connection_id":146027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:50:01] local.INFO: TCP Data received {"connection_id":147254,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:50:01] local.INFO: Processing buffer {"connection_id":147254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:50:01] local.INFO: IMEI packet received {"connection_id":147254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 13:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":147254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:50:02] local.INFO: TCP Data received {"connection_id":147254,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:50:02] local.INFO: Processing buffer {"connection_id":147254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:50:02] local.INFO: IMEI packet received {"connection_id":147254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":147254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:50:05] local.INFO: TCP Data received {"connection_id":147254,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:50:05] local.INFO: Processing buffer {"connection_id":147254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:50:05] local.INFO: IMEI packet received {"connection_id":147254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":147254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:50:06] local.INFO: TCP Data received {"connection_id":147254,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc65ccc0012d0fdd4007222450005c015720..."} 
[2026-08-01 13:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc65ccc0012d0fdd4007222450005c015720..."} 
[2026-08-01 13:50:06] local.INFO: Processing buffer {"connection_id":147254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc65ccc0012d0fdd4007222450005c015720..."} 
[2026-08-01 13:50:06] local.INFO: Packet analysis {"connection_id":147254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc65"} 
[2026-08-01 13:50:06] local.INFO: Extracted packet for processing {"connection_id":147254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc65"} 
[2026-08-01 13:50:06] local.INFO: GPS Element Parsed {"raw_longitude":756014400,"raw_latitude":119678032,"longitude_deg":75.60144,"latitude_deg":11.9678032,"altitude":92,"angle":343,"satellites":32,"speed":0,"hex_longitude":"2d0fdd40","hex_latitude":"07222450","is_valid_coordinates":true} 
[2026-08-01 13:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106481920001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10196995390046208,"note":"Value kept but may cause issues"} 
[2026-08-01 13:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1143140279803727872,"note":"Value kept but may cause issues"} 
[2026-08-01 13:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785572216000,"timestamp_ms":1785572216000,"timestamp_seconds":1785572216,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc65ccc0"} 
[2026-08-01 13:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 13:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:50:06] 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-08-01 13:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106481920001,"66":12439,"234":206,"83":41984,"24":0,"16":10196995390046208,"45":1143140279803727872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,83,24,16,45]} 
[2026-08-01 13:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106481920001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:50:06] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-01 13:50:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10196995390046208,"km_value":10196995390046.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1143140279803727872,"description":"Unknown IO ID 45"} 
[2026-08-01 13:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106481920001,"power":12439,"unknown_234":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1143140279803727872}} 
[2026-08-01 13:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":147254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:50:06] local.INFO: GPS data processed {"connection_id":147254,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:50:06] local.INFO: Acknowledgment sent {"connection_id":147254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:50:27] local.INFO: TCP Data received {"connection_id":146027,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc6649c0012cff60c006ffef000007012c2c..."} 
[2026-08-01 13:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc6649c0012cff60c006ffef000007012c2c..."} 
[2026-08-01 13:50:27] local.INFO: Processing buffer {"connection_id":146027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc6649c0012cff60c006ffef000007012c2c..."} 
[2026-08-01 13:50:27] local.INFO: Packet analysis {"connection_id":146027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc66"} 
[2026-08-01 13:50:27] local.INFO: Extracted packet for processing {"connection_id":146027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc66"} 
[2026-08-01 13:50:27] local.INFO: GPS Element Parsed {"raw_longitude":754933952,"raw_latitude":117436160,"longitude_deg":75.4933952,"latitude_deg":11.743616,"altitude":7,"angle":300,"satellites":44,"speed":0,"hex_longitude":"2cff60c0","hex_latitude":"06ffef00","is_valid_coordinates":true} 
[2026-08-01 13:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106490112001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366498926691352576,"note":"Value kept but may cause issues"} 
[2026-08-01 13:50:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-42924903885080576,"note":"Value kept but may cause issues"} 
[2026-08-01 13:50:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785572248000,"timestamp_ms":1785572248000,"timestamp_seconds":1785572248,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc6649c0"} 
[2026-08-01 13:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:50: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-08-01 13:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-01 13:50:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:50:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":146027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":146027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":146027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106490112001,"66":27484,"17":206,"28":32256,"24":0,"16":366498926691352576,"44":-42924903885080576},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 13:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106490112001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:50:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366498926691352576,"km_value":366498926691352.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:50:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-42924903885080576,"description":"Unknown IO ID 44"} 
[2026-08-01 13:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106490112001,"power":27484,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-42924903885080576}} 
[2026-08-01 13:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":146027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:50:27] local.INFO: GPS data processed {"connection_id":146027,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:50:27] local.INFO: Acknowledgment sent {"connection_id":146027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:50:37] local.INFO: TCP Data received {"connection_id":147254,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc661ec8012d0fdd4007222450005c015727..."} 
[2026-08-01 13:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc661ec8012d0fdd4007222450005c015727..."} 
[2026-08-01 13:50:37] local.INFO: Processing buffer {"connection_id":147254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc661ec8012d0fdd4007222450005c015727..."} 
[2026-08-01 13:50:37] local.INFO: Packet analysis {"connection_id":147254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc66"} 
[2026-08-01 13:50:37] local.INFO: Extracted packet for processing {"connection_id":147254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc66"} 
[2026-08-01 13:50:37] local.INFO: GPS Element Parsed {"raw_longitude":756014400,"raw_latitude":119678032,"longitude_deg":75.60144,"latitude_deg":11.9678032,"altitude":92,"angle":343,"satellites":39,"speed":0,"hex_longitude":"2d0fdd40","hex_latitude":"07222450","is_valid_coordinates":true} 
[2026-08-01 13:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106487296001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10196995390046208,"note":"Value kept but may cause issues"} 
[2026-08-01 13:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1143140279803727872,"note":"Value kept but may cause issues"} 
[2026-08-01 13:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785572237000,"timestamp_ms":1785572237000,"timestamp_seconds":1785572237,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc661ec8"} 
[2026-08-01 13:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 13:50:37] 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-08-01 13:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:50:37] 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-08-01 13:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106487296001,"66":12439,"234":206,"83":41984,"24":0,"16":10196995390046208,"45":1143140279803727872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,83,24,16,45]} 
[2026-08-01 13:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106487296001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:50:37] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-01 13:50:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10196995390046208,"km_value":10196995390046.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1143140279803727872,"description":"Unknown IO ID 45"} 
[2026-08-01 13:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106487296001,"power":12439,"unknown_234":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1143140279803727872}} 
[2026-08-01 13:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":147254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:50:37] local.INFO: GPS data processed {"connection_id":147254,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:50:37] local.INFO: Acknowledgment sent {"connection_id":147254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:50:49] local.INFO: TCP Data received {"connection_id":147255,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:50:49] local.INFO: Processing buffer {"connection_id":147255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:50:49] local.INFO: IMEI packet received {"connection_id":147255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":147255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:50:51] local.INFO: TCP Data received {"connection_id":147255,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:50:51] local.INFO: Processing buffer {"connection_id":147255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:50:51] local.INFO: IMEI packet received {"connection_id":147255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":147255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:50:54] local.INFO: TCP Data received {"connection_id":147255,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc669010012cff5ec006fff108000701382c..."} 
[2026-08-01 13:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc669010012cff5ec006fff108000701382c..."} 
[2026-08-01 13:50:54] local.INFO: Processing buffer {"connection_id":147255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc669010012cff5ec006fff108000701382c..."} 
[2026-08-01 13:50:54] local.INFO: Packet analysis {"connection_id":147255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc66"} 
[2026-08-01 13:50:54] local.INFO: Extracted packet for processing {"connection_id":147255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc66"} 
[2026-08-01 13:50:54] local.INFO: GPS Element Parsed {"raw_longitude":754933440,"raw_latitude":117436680,"longitude_deg":75.493344,"latitude_deg":11.743668,"altitude":7,"angle":312,"satellites":44,"speed":5,"hex_longitude":"2cff5ec0","hex_latitude":"06fff108","is_valid_coordinates":true} 
[2026-08-01 13:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:50:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106495488001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:50:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366498961051090944,"note":"Value kept but may cause issues"} 
[2026-08-01 13:50:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-44824859977515008,"note":"Value kept but may cause issues"} 
[2026-08-01 13:50:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:50:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785572266000,"timestamp_ms":1785572266000,"timestamp_seconds":1785572266,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc669010"} 
[2026-08-01 13:50:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:50: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-08-01 13:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-01 13:50:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:50:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:50:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:50:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:50:54] local.INFO: Teltonika packet parsed successfully {"connection_id":147255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:50:54] local.INFO: Passing IMEI to GPS processor {"connection_id":147255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:50:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":147255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:50:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:50:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:50:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:50:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106495488001,"66":27267,"17":206,"28":32256,"24":5,"16":366498961051090944,"44":-44824859977515008},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 13:50:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:50:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:50:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106495488001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:50:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:50:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366498961051090944,"km_value":366498961051090.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:50:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-44824859977515008,"description":"Unknown IO ID 44"} 
[2026-08-01 13:50:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106495488001,"power":27267,"axis_x":206,"unknown_28":32256,"ignition":5,"odometer":null,"unknown_44":-44824859977515008}} 
[2026-08-01 13:50:54] local.INFO: DEBUG: GPS processor result {"connection_id":147255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:50:54] local.INFO: GPS data processed {"connection_id":147255,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:50:54] local.INFO: Acknowledgment sent {"connection_id":147255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:50:56] local.INFO: TCP Data received {"connection_id":147255,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc66e218012cff568006fff6e0000901302b..."} 
[2026-08-01 13:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc66e218012cff568006fff6e0000901302b..."} 
[2026-08-01 13:50:56] local.INFO: Processing buffer {"connection_id":147255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc66e218012cff568006fff6e0000901302b..."} 
[2026-08-01 13:50:56] local.INFO: Packet analysis {"connection_id":147255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc66"} 
[2026-08-01 13:50:56] local.INFO: Extracted packet for processing {"connection_id":147255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc66"} 
[2026-08-01 13:50:56] local.INFO: GPS Element Parsed {"raw_longitude":754931328,"raw_latitude":117438176,"longitude_deg":75.4931328,"latitude_deg":11.7438176,"altitude":9,"angle":304,"satellites":43,"speed":0,"hex_longitude":"2cff5680","hex_latitude":"06fff6e0","is_valid_coordinates":true} 
[2026-08-01 13:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106500096001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366499089900109824,"note":"Value kept but may cause issues"} 
[2026-08-01 13:50:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-45387809930803200,"note":"Value kept but may cause issues"} 
[2026-08-01 13:50:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785572287000,"timestamp_ms":1785572287000,"timestamp_seconds":1785572287,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc66e218"} 
[2026-08-01 13:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:50:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-01 13:50: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-08-01 13:50:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":147255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":147255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":147255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106500096001,"66":27919,"17":206,"28":32256,"24":0,"16":366499089900109824,"44":-45387809930803200},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 13:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106500096001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:50:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366499089900109824,"km_value":366499089900109.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:50:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-45387809930803200,"description":"Unknown IO ID 44"} 
[2026-08-01 13:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106500096001,"power":27919,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-45387809930803200}} 
[2026-08-01 13:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":147255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:50:56] local.INFO: GPS data processed {"connection_id":147255,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:50:56] local.INFO: Acknowledgment sent {"connection_id":147255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:51:00] local.INFO: TCP Data received {"connection_id":146251,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146251,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:51:00] local.INFO: Processing buffer {"connection_id":146251,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:51:00] local.INFO: IMEI packet received {"connection_id":146251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 13:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":146251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:51:04] local.INFO: TCP Data received {"connection_id":146251,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146251,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:51:04] local.INFO: Processing buffer {"connection_id":146251,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:51:04] local.INFO: IMEI packet received {"connection_id":146251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":146251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:51:05] local.INFO: TCP Data received {"connection_id":146251,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc6670d0012d0fdd4007222450005c015728..."} 
[2026-08-01 13:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc6670d0012d0fdd4007222450005c015728..."} 
[2026-08-01 13:51:05] local.INFO: Processing buffer {"connection_id":146251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc6670d0012d0fdd4007222450005c015728..."} 
[2026-08-01 13:51:05] local.INFO: Packet analysis {"connection_id":146251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc66"} 
[2026-08-01 13:51:05] local.INFO: Extracted packet for processing {"connection_id":146251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc66"} 
[2026-08-01 13:51:05] local.INFO: GPS Element Parsed {"raw_longitude":756014400,"raw_latitude":119678032,"longitude_deg":75.60144,"latitude_deg":11.9678032,"altitude":92,"angle":343,"satellites":40,"speed":0,"hex_longitude":"2d0fdd40","hex_latitude":"07222450","is_valid_coordinates":true} 
[2026-08-01 13:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106492672001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10196995390046208,"note":"Value kept but may cause issues"} 
[2026-08-01 13:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1143140279803727872,"note":"Value kept but may cause issues"} 
[2026-08-01 13:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785572258000,"timestamp_ms":1785572258000,"timestamp_seconds":1785572258,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc6670d0"} 
[2026-08-01 13:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 13:51:05] 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-08-01 13:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:51:05] 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-08-01 13:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106492672001,"66":12406,"234":206,"83":41984,"24":0,"16":10196995390046208,"45":1143140279803727872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,83,24,16,45]} 
[2026-08-01 13:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106492672001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:51:05] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-01 13:51:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10196995390046208,"km_value":10196995390046.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1143140279803727872,"description":"Unknown IO ID 45"} 
[2026-08-01 13:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106492672001,"power":12406,"unknown_234":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1143140279803727872}} 
[2026-08-01 13:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":146251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:51:05] local.INFO: GPS data processed {"connection_id":146251,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:51:05] local.INFO: Acknowledgment sent {"connection_id":146251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:51:27] local.INFO: TCP Data received {"connection_id":147255,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc673420012cff50c006fffbb8000a01382d..."} 
[2026-08-01 13:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc673420012cff50c006fffbb8000a01382d..."} 
[2026-08-01 13:51:27] local.INFO: Processing buffer {"connection_id":147255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc673420012cff50c006fffbb8000a01382d..."} 
[2026-08-01 13:51:27] local.INFO: Packet analysis {"connection_id":147255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc67"} 
[2026-08-01 13:51:27] local.INFO: Extracted packet for processing {"connection_id":147255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc67"} 
[2026-08-01 13:51:27] local.INFO: GPS Element Parsed {"raw_longitude":754929856,"raw_latitude":117439416,"longitude_deg":75.4929856,"latitude_deg":11.7439416,"altitude":10,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2cff50c0","hex_latitude":"06fffbb8","is_valid_coordinates":true} 
[2026-08-01 13:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106505472001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366499180094423040,"note":"Value kept but may cause issues"} 
[2026-08-01 13:51:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-47709978488283136,"note":"Value kept but may cause issues"} 
[2026-08-01 13:51:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785572308000,"timestamp_ms":1785572308000,"timestamp_seconds":1785572308,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc673420"} 
[2026-08-01 13:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:51: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-08-01 13:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 13:51:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:51:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":147255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":147255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":147255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106505472001,"66":27865,"33":206,"28":32256,"24":0,"16":366499180094423040,"44":-47709978488283136},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-08-01 13:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106505472001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:51:27] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-01 13:51:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366499180094423040,"km_value":366499180094423.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:51:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-47709978488283136,"description":"Unknown IO ID 44"} 
[2026-08-01 13:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106505472001,"power":27865,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-47709978488283136}} 
[2026-08-01 13:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":147255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:51:27] local.INFO: GPS data processed {"connection_id":147255,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:51:27] local.INFO: Acknowledgment sent {"connection_id":147255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:51:36] local.INFO: TCP Data received {"connection_id":146251,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc66c2d8012d0fdd4007222450005c01572b..."} 
[2026-08-01 13:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc66c2d8012d0fdd4007222450005c01572b..."} 
[2026-08-01 13:51:36] local.INFO: Processing buffer {"connection_id":146251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc66c2d8012d0fdd4007222450005c01572b..."} 
[2026-08-01 13:51:36] local.INFO: Packet analysis {"connection_id":146251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc66"} 
[2026-08-01 13:51:36] local.INFO: Extracted packet for processing {"connection_id":146251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc66"} 
[2026-08-01 13:51:36] local.INFO: GPS Element Parsed {"raw_longitude":756014400,"raw_latitude":119678032,"longitude_deg":75.60144,"latitude_deg":11.9678032,"altitude":92,"angle":343,"satellites":43,"speed":0,"hex_longitude":"2d0fdd40","hex_latitude":"07222450","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106498048001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10196995390046208,"note":"Value kept but may cause issues"} 
[2026-08-01 13:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1143140279803727872,"note":"Value kept but may cause issues"} 
[2026-08-01 13:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785572279000,"timestamp_ms":1785572279000,"timestamp_seconds":1785572279,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc66c2d8"} 
[2026-08-01 13:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:51:36] 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-08-01 13: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 13:51:36] 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-08-01 13: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-08-01 13:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:51:36] 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-08-01 13:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106498048001,"66":11167,"234":206,"83":41984,"24":0,"16":10196995390046208,"45":1143140279803727872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,83,24,16,45]} 
[2026-08-01 13:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106498048001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:51:36] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-01 13:51:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10196995390046208,"km_value":10196995390046.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1143140279803727872,"description":"Unknown IO ID 45"} 
[2026-08-01 13:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106498048001,"power":11167,"unknown_234":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1143140279803727872}} 
[2026-08-01 13:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":146251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:51:36] local.INFO: GPS data processed {"connection_id":146251,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:51:36] local.INFO: Acknowledgment sent {"connection_id":146251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:51:44] local.INFO: TCP Data received {"connection_id":146028,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:51:44] local.INFO: Processing buffer {"connection_id":146028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:51:44] local.INFO: IMEI packet received {"connection_id":146028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":146028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:51:49] local.INFO: TCP Data received {"connection_id":146028,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:51:49] local.INFO: Processing buffer {"connection_id":146028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:51:49] local.INFO: IMEI packet received {"connection_id":146028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":146028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:51:52] local.INFO: TCP Data received {"connection_id":146028,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc678628012cff4840070004b8000b013b2d..."} 
[2026-08-01 13:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc678628012cff4840070004b8000b013b2d..."} 
[2026-08-01 13:51:52] local.INFO: Processing buffer {"connection_id":146028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc678628012cff4840070004b8000b013b2d..."} 
[2026-08-01 13:51:52] local.INFO: Packet analysis {"connection_id":146028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc67"} 
[2026-08-01 13:51:52] local.INFO: Extracted packet for processing {"connection_id":146028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc67"} 
[2026-08-01 13:51:52] local.INFO: GPS Element Parsed {"raw_longitude":754927680,"raw_latitude":117441720,"longitude_deg":75.492768,"latitude_deg":11.744172,"altitude":11,"angle":315,"satellites":45,"speed":12,"hex_longitude":"2cff4840","hex_latitude":"070004b8","is_valid_coordinates":true} 
[2026-08-01 13:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106510848001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366499339008212992,"note":"Value kept but may cause issues"} 
[2026-08-01 13:51:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-49328459604051968,"note":"Value kept but may cause issues"} 
[2026-08-01 13:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785572329000,"timestamp_ms":1785572329000,"timestamp_seconds":1785572329,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc678628"} 
[2026-08-01 13:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:51: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-08-01 13:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 13:51:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:51:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":146028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":146028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":146028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:51:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106510848001,"66":27919,"33":206,"28":32256,"24":12,"16":366499339008212992,"44":-49328459604051968},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-08-01 13:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106510848001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:51:52] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-01 13:51:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366499339008212992,"km_value":366499339008213.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:51:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-49328459604051968,"description":"Unknown IO ID 44"} 
[2026-08-01 13:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106510848001,"power":27919,"unknown_33":206,"unknown_28":32256,"ignition":12,"odometer":null,"unknown_44":-49328459604051968}} 
[2026-08-01 13:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":146028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:51:52] local.INFO: GPS data processed {"connection_id":146028,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:51:52] local.INFO: Acknowledgment sent {"connection_id":146028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:52:05] local.INFO: TCP Data received {"connection_id":146029,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:52:05] local.INFO: Processing buffer {"connection_id":146029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:52:05] local.INFO: IMEI packet received {"connection_id":146029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 13:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":146029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:52:07] local.INFO: TCP Data received {"connection_id":146029,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:52:07] local.INFO: Processing buffer {"connection_id":146029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:52:07] local.INFO: IMEI packet received {"connection_id":146029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":146029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:52:08] local.INFO: TCP Data received {"connection_id":146029,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc6714e0012d0fdd4007222450005c015729..."} 
[2026-08-01 13:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc6714e0012d0fdd4007222450005c015729..."} 
[2026-08-01 13:52:08] local.INFO: Processing buffer {"connection_id":146029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc6714e0012d0fdd4007222450005c015729..."} 
[2026-08-01 13:52:08] local.INFO: Packet analysis {"connection_id":146029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc67"} 
[2026-08-01 13:52:08] local.INFO: Extracted packet for processing {"connection_id":146029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc67"} 
[2026-08-01 13:52:08] local.INFO: GPS Element Parsed {"raw_longitude":756014400,"raw_latitude":119678032,"longitude_deg":75.60144,"latitude_deg":11.9678032,"altitude":92,"angle":343,"satellites":41,"speed":0,"hex_longitude":"2d0fdd40","hex_latitude":"07222450","is_valid_coordinates":true} 
[2026-08-01 13:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106503424001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10196995390046208,"note":"Value kept but may cause issues"} 
[2026-08-01 13:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1143140279803727872,"note":"Value kept but may cause issues"} 
[2026-08-01 13:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785572300000,"timestamp_ms":1785572300000,"timestamp_seconds":1785572300,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc6714e0"} 
[2026-08-01 13:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-08-01 13:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1844,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":146029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":146029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":146029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:52:08] 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-08-01 13:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106503424001,"66":12145,"234":206,"83":41984,"24":0,"16":10196995390046208,"45":1143140279803727872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,83,24,16,45]} 
[2026-08-01 13:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106503424001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:52:08] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-01 13:52:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10196995390046208,"km_value":10196995390046.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1143140279803727872,"description":"Unknown IO ID 45"} 
[2026-08-01 13:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106503424001,"power":12145,"unknown_234":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1143140279803727872}} 
[2026-08-01 13:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":146029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:52:08] local.INFO: GPS data processed {"connection_id":146029,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:52:08] local.INFO: Acknowledgment sent {"connection_id":146029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:52:11] local.INFO: TCP Data received {"connection_id":146029,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc6766e8012d0fdd4007222450005c015727..."} 
[2026-08-01 13:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc6766e8012d0fdd4007222450005c015727..."} 
[2026-08-01 13:52:11] local.INFO: Processing buffer {"connection_id":146029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc6766e8012d0fdd4007222450005c015727..."} 
[2026-08-01 13:52:11] local.INFO: Packet analysis {"connection_id":146029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc67"} 
[2026-08-01 13:52:11] local.INFO: Extracted packet for processing {"connection_id":146029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc67"} 
[2026-08-01 13:52:11] local.INFO: GPS Element Parsed {"raw_longitude":756014400,"raw_latitude":119678032,"longitude_deg":75.60144,"latitude_deg":11.9678032,"altitude":92,"angle":343,"satellites":39,"speed":0,"hex_longitude":"2d0fdd40","hex_latitude":"07222450","is_valid_coordinates":true} 
[2026-08-01 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-08-01 13:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106508800001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10196995390046208,"note":"Value kept but may cause issues"} 
[2026-08-01 13:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1143140279803727872,"note":"Value kept but may cause issues"} 
[2026-08-01 13:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785572321000,"timestamp_ms":1785572321000,"timestamp_seconds":1785572321,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc6766e8"} 
[2026-08-01 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-08-01 13:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-01 13:52: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-08-01 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-08-01 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-08-01 13:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13: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-08-01 13:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106508800001,"66":12363,"234":206,"83":41984,"24":0,"16":10196995390046208,"45":1143140279803727872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,83,24,16,45]} 
[2026-08-01 13:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106508800001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:52:11] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-01 13:52:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10196995390046208,"km_value":10196995390046.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1143140279803727872,"description":"Unknown IO ID 45"} 
[2026-08-01 13:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106508800001,"power":12363,"unknown_234":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1143140279803727872}} 
[2026-08-01 13:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":146029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577398,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:52:11] local.INFO: GPS data processed {"connection_id":146029,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:52:11] local.INFO: Acknowledgment sent {"connection_id":146029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:52:23] local.INFO: TCP Data received {"connection_id":146028,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc67d830012cff3900070014580010014129..."} 
[2026-08-01 13:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc67d830012cff3900070014580010014129..."} 
[2026-08-01 13:52:23] local.INFO: Processing buffer {"connection_id":146028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc67d830012cff3900070014580010014129..."} 
[2026-08-01 13:52:23] local.INFO: Packet analysis {"connection_id":146028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc67"} 
[2026-08-01 13:52:23] local.INFO: Extracted packet for processing {"connection_id":146028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc67"} 
[2026-08-01 13:52:23] local.INFO: GPS Element Parsed {"raw_longitude":754923776,"raw_latitude":117445720,"longitude_deg":75.4923776,"latitude_deg":11.744572,"altitude":16,"angle":321,"satellites":41,"speed":0,"hex_longitude":"2cff3900","hex_latitude":"07001458","is_valid_coordinates":true} 
[2026-08-01 13:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106516224001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366499605296185344,"note":"Value kept but may cause issues"} 
[2026-08-01 13:52:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-51720996905502720,"note":"Value kept but may cause issues"} 
[2026-08-01 13:52:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785572350000,"timestamp_ms":1785572350000,"timestamp_seconds":1785572350,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc67d830"} 
[2026-08-01 13:52:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:52: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-08-01 13:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 13:52:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:52:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:52:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":146028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":146028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":146028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:52:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106516224001,"66":27908,"33":206,"28":32256,"24":0,"16":366499605296185344,"44":-51720996905502720},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-08-01 13:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106516224001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:52:23] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-01 13:52:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366499605296185344,"km_value":366499605296185.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:52:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-51720996905502720,"description":"Unknown IO ID 44"} 
[2026-08-01 13:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106516224001,"power":27908,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-51720996905502720}} 
[2026-08-01 13:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":146028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:52:23] local.INFO: GPS data processed {"connection_id":146028,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:52:23] local.INFO: Acknowledgment sent {"connection_id":146028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:52:42] local.INFO: TCP Data received {"connection_id":146029,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc67b8f0012d0fdd4007222450005c015727..."} 
[2026-08-01 13:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc67b8f0012d0fdd4007222450005c015727..."} 
[2026-08-01 13:52:42] local.INFO: Processing buffer {"connection_id":146029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc67b8f0012d0fdd4007222450005c015727..."} 
[2026-08-01 13:52:42] local.INFO: Packet analysis {"connection_id":146029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc67"} 
[2026-08-01 13:52:42] local.INFO: Extracted packet for processing {"connection_id":146029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc67"} 
[2026-08-01 13:52:42] local.INFO: GPS Element Parsed {"raw_longitude":756014400,"raw_latitude":119678032,"longitude_deg":75.60144,"latitude_deg":11.9678032,"altitude":92,"angle":343,"satellites":39,"speed":0,"hex_longitude":"2d0fdd40","hex_latitude":"07222450","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106514176001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10196995390046208,"note":"Value kept but may cause issues"} 
[2026-08-01 13:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1143140279803727872,"note":"Value kept but may cause issues"} 
[2026-08-01 13:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785572342000,"timestamp_ms":1785572342000,"timestamp_seconds":1785572342,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc67b8f0"} 
[2026-08-01 13:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:52:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13: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":75,"data_length":795,"current_offset":136} 
[2026-08-01 13:52:42] 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-08-01 13: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-08-01 13:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":146029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":146029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":146029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13: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-08-01 13:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106514176001,"66":12341,"234":206,"83":41984,"24":0,"16":10196995390046208,"45":1143140279803727872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,83,24,16,45]} 
[2026-08-01 13:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106514176001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:52:42] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-01 13:52:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10196995390046208,"km_value":10196995390046.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1143140279803727872,"description":"Unknown IO ID 45"} 
[2026-08-01 13:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106514176001,"power":12341,"unknown_234":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1143140279803727872}} 
[2026-08-01 13:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":146029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:52:42] local.INFO: GPS data processed {"connection_id":146029,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:52:42] local.INFO: Acknowledgment sent {"connection_id":146029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:52:44] local.INFO: TCP Data received {"connection_id":148571,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:52:44] local.INFO: Processing buffer {"connection_id":148571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:52:44] local.INFO: IMEI packet received {"connection_id":148571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":148571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:52:45] local.INFO: TCP Data received {"connection_id":148571,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:52:45] local.INFO: Processing buffer {"connection_id":148571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:52:45] local.INFO: IMEI packet received {"connection_id":148571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":148571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:52:47] local.INFO: TCP Data received {"connection_id":148571,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:52:47] local.INFO: Processing buffer {"connection_id":148571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:52:47] local.INFO: IMEI packet received {"connection_id":148571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":148571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:52:49] local.INFO: TCP Data received {"connection_id":148571,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:52:49] local.INFO: Processing buffer {"connection_id":148571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:52:49] local.INFO: IMEI packet received {"connection_id":148571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":148571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:52:51] local.INFO: TCP Data received {"connection_id":148571,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc682a38012cff3900070014d0001001412b..."} 
[2026-08-01 13:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc682a38012cff3900070014d0001001412b..."} 
[2026-08-01 13:52:51] local.INFO: Processing buffer {"connection_id":148571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc682a38012cff3900070014d0001001412b..."} 
[2026-08-01 13:52:51] local.INFO: Packet analysis {"connection_id":148571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc68"} 
[2026-08-01 13:52:51] local.INFO: Extracted packet for processing {"connection_id":148571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc68"} 
[2026-08-01 13:52:51] local.INFO: GPS Element Parsed {"raw_longitude":754923776,"raw_latitude":117445840,"longitude_deg":75.4923776,"latitude_deg":11.744584,"altitude":16,"angle":321,"satellites":43,"speed":0,"hex_longitude":"2cff3900","hex_latitude":"070014d0","is_valid_coordinates":true} 
[2026-08-01 13:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106521600001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366499618181087232,"note":"Value kept but may cause issues"} 
[2026-08-01 13:52:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-56013490299316224,"note":"Value kept but may cause issues"} 
[2026-08-01 13:52:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785572371000,"timestamp_ms":1785572371000,"timestamp_seconds":1785572371,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc682a38"} 
[2026-08-01 13:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:52:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 13:52: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-08-01 13:52:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106521600001,"66":27539,"33":206,"28":32256,"24":0,"16":366499618181087232,"44":-56013490299316224},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-08-01 13:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106521600001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:52:51] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-01 13:52:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366499618181087232,"km_value":366499618181087.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:52:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-56013490299316224,"description":"Unknown IO ID 44"} 
[2026-08-01 13:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106521600001,"power":27539,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-56013490299316224}} 
[2026-08-01 13:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":148571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:52:51] local.INFO: GPS data processed {"connection_id":148571,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:52:51] local.INFO: Acknowledgment sent {"connection_id":148571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:52:55] local.INFO: TCP Data received {"connection_id":148571,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc687c40012cff3740070017d8001301412b..."} 
[2026-08-01 13:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc687c40012cff3740070017d8001301412b..."} 
[2026-08-01 13:52:55] local.INFO: Processing buffer {"connection_id":148571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc687c40012cff3740070017d8001301412b..."} 
[2026-08-01 13:52:55] local.INFO: Packet analysis {"connection_id":148571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc68"} 
[2026-08-01 13:52:55] local.INFO: Extracted packet for processing {"connection_id":148571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc68"} 
[2026-08-01 13:52:55] local.INFO: GPS Element Parsed {"raw_longitude":754923328,"raw_latitude":117446616,"longitude_deg":75.4923328,"latitude_deg":11.7446616,"altitude":19,"angle":321,"satellites":43,"speed":0,"hex_longitude":"2cff3740","hex_latitude":"070017d8","is_valid_coordinates":true} 
[2026-08-01 13:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106526976001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366499661130760192,"note":"Value kept but may cause issues"} 
[2026-08-01 13:52:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-56013490299285504,"note":"Value kept but may cause issues"} 
[2026-08-01 13:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785572392000,"timestamp_ms":1785572392000,"timestamp_seconds":1785572392,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc687c40"} 
[2026-08-01 13:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:52:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-01 13:52:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:52:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106526976001,"66":28050,"33":206,"28":32256,"24":0,"16":366499661130760192,"44":-56013490299285504},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-08-01 13:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106526976001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:52:55] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-01 13:52:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366499661130760192,"km_value":366499661130760.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:52:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-56013490299285504,"description":"Unknown IO ID 44"} 
[2026-08-01 13:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106526976001,"power":28050,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-56013490299285504}} 
[2026-08-01 13:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":148571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:52:55] local.INFO: GPS data processed {"connection_id":148571,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:52:55] local.INFO: Acknowledgment sent {"connection_id":148571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:53:00] local.INFO: TCP Data received {"connection_id":146252,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:53:00] local.INFO: Processing buffer {"connection_id":146252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:53:00] local.INFO: IMEI packet received {"connection_id":146252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 13:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":146252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:53:05] local.INFO: TCP Data received {"connection_id":146252,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:53:05] local.INFO: Processing buffer {"connection_id":146252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:53:05] local.INFO: IMEI packet received {"connection_id":146252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":146252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:53:06] local.INFO: TCP Data received {"connection_id":146252,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc680af8012d0fdd4007222450005c015728..."} 
[2026-08-01 13:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc680af8012d0fdd4007222450005c015728..."} 
[2026-08-01 13:53:06] local.INFO: Processing buffer {"connection_id":146252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc680af8012d0fdd4007222450005c015728..."} 
[2026-08-01 13:53:06] local.INFO: Packet analysis {"connection_id":146252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc68"} 
[2026-08-01 13:53:06] local.INFO: Extracted packet for processing {"connection_id":146252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc68"} 
[2026-08-01 13:53:06] local.INFO: GPS Element Parsed {"raw_longitude":756014400,"raw_latitude":119678032,"longitude_deg":75.60144,"latitude_deg":11.9678032,"altitude":92,"angle":343,"satellites":40,"speed":0,"hex_longitude":"2d0fdd40","hex_latitude":"07222450","is_valid_coordinates":true} 
[2026-08-01 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-08-01 13:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106519552001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10196995390046208,"note":"Value kept but may cause issues"} 
[2026-08-01 13:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1143140279803727872,"note":"Value kept but may cause issues"} 
[2026-08-01 13:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785572363000,"timestamp_ms":1785572363000,"timestamp_seconds":1785572363,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc680af8"} 
[2026-08-01 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-08-01 13:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-01 13:53:06] 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-08-01 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-08-01 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-08-01 13:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:53:06] 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-08-01 13:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106519552001,"66":12374,"234":206,"83":41984,"24":0,"16":10196995390046208,"45":1143140279803727872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,83,24,16,45]} 
[2026-08-01 13:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106519552001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:53:06] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-01 13:53:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10196995390046208,"km_value":10196995390046.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1143140279803727872,"description":"Unknown IO ID 45"} 
[2026-08-01 13:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106519552001,"power":12374,"unknown_234":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1143140279803727872}} 
[2026-08-01 13:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":146252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:53:06] local.INFO: GPS data processed {"connection_id":146252,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:53:06] local.INFO: Acknowledgment sent {"connection_id":146252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:53:26] local.INFO: TCP Data received {"connection_id":148571,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc6b2008012cfeeec007004990000a00a828..."} 
[2026-08-01 13:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc6b2008012cfeeec007004990000a00a828..."} 
[2026-08-01 13:53:26] local.INFO: Processing buffer {"connection_id":148571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc6b2008012cfeeec007004990000a00a828..."} 
[2026-08-01 13:53:26] local.INFO: Packet analysis {"connection_id":148571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc6b"} 
[2026-08-01 13:53:26] local.INFO: Extracted packet for processing {"connection_id":148571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc6b"} 
[2026-08-01 13:53:26] local.INFO: GPS Element Parsed {"raw_longitude":754904768,"raw_latitude":117459344,"longitude_deg":75.4904768,"latitude_deg":11.7459344,"altitude":10,"angle":168,"satellites":40,"speed":3,"hex_longitude":"2cfeeec0","hex_latitude":"07004990","is_valid_coordinates":true} 
[2026-08-01 13:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106571264001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501052700164096,"note":"Value kept but may cause issues"} 
[2026-08-01 13:53:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-76842638572331008,"note":"Value kept but may cause issues"} 
[2026-08-01 13:53:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785572565000,"timestamp_ms":1785572565000,"timestamp_seconds":1785572565,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc6b2008"} 
[2026-08-01 13:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:53:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-01 13:53:26] 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-08-01 13:53:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:53:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106571264001,"66":27919,"33":206,"28":32256,"24":3,"16":366501052700164096,"44":-76842638572331008},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-08-01 13:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106571264001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:53:26] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-01 13:53:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501052700164096,"km_value":366501052700164.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:53:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-76842638572331008,"description":"Unknown IO ID 44"} 
[2026-08-01 13:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106571264001,"power":27919,"unknown_33":206,"unknown_28":32256,"ignition":3,"odometer":null,"unknown_44":-76842638572331008}} 
[2026-08-01 13:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":148571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:53:26] local.INFO: GPS data processed {"connection_id":148571,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:53:26] local.INFO: Acknowledgment sent {"connection_id":148571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:53:37] local.INFO: TCP Data received {"connection_id":146252,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc685d00012d0fdd4007222450005c015725..."} 
[2026-08-01 13:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc685d00012d0fdd4007222450005c015725..."} 
[2026-08-01 13:53:37] local.INFO: Processing buffer {"connection_id":146252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc685d00012d0fdd4007222450005c015725..."} 
[2026-08-01 13:53:37] local.INFO: Packet analysis {"connection_id":146252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc68"} 
[2026-08-01 13:53:37] local.INFO: Extracted packet for processing {"connection_id":146252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc68"} 
[2026-08-01 13:53:37] local.INFO: GPS Element Parsed {"raw_longitude":756014400,"raw_latitude":119678032,"longitude_deg":75.60144,"latitude_deg":11.9678032,"altitude":92,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d0fdd40","hex_latitude":"07222450","is_valid_coordinates":true} 
[2026-08-01 13:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106524928001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10196995390046208,"note":"Value kept but may cause issues"} 
[2026-08-01 13:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1143140279803727872,"note":"Value kept but may cause issues"} 
[2026-08-01 13:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785572384000,"timestamp_ms":1785572384000,"timestamp_seconds":1785572384,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc685d00"} 
[2026-08-01 13:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 13:53:37] 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-08-01 13:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:53:37] 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-08-01 13:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106524928001,"66":12341,"234":206,"83":41984,"24":0,"16":10196995390046208,"45":1143140279803727872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,83,24,16,45]} 
[2026-08-01 13:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106524928001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:53:37] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-01 13:53:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10196995390046208,"km_value":10196995390046.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1143140279803727872,"description":"Unknown IO ID 45"} 
[2026-08-01 13:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106524928001,"power":12341,"unknown_234":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1143140279803727872}} 
[2026-08-01 13:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":146252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:53:37] local.INFO: GPS data processed {"connection_id":146252,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:53:37] local.INFO: Acknowledgment sent {"connection_id":146252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:53:44] local.INFO: TCP Data received {"connection_id":147256,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:53:44] local.INFO: Processing buffer {"connection_id":147256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:53:44] local.INFO: IMEI packet received {"connection_id":147256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":147256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:53:49] local.INFO: TCP Data received {"connection_id":147256,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:53:49] local.INFO: Processing buffer {"connection_id":147256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:53:49] local.INFO: IMEI packet received {"connection_id":147256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":147256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:53:51] local.INFO: TCP Data received {"connection_id":147256,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc6b23f0012cfeef0007004928000a008828..."} 
[2026-08-01 13:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc6b23f0012cfeef0007004928000a008828..."} 
[2026-08-01 13:53:51] local.INFO: Processing buffer {"connection_id":147256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc6b23f0012cfeef0007004928000a008828..."} 
[2026-08-01 13:53:51] local.INFO: Packet analysis {"connection_id":147256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc6b"} 
[2026-08-01 13:53:51] local.INFO: Extracted packet for processing {"connection_id":147256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc6b"} 
[2026-08-01 13:53:51] local.INFO: GPS Element Parsed {"raw_longitude":754904832,"raw_latitude":117459240,"longitude_deg":75.4904832,"latitude_deg":11.745924,"altitude":10,"angle":136,"satellites":40,"speed":7,"hex_longitude":"2cfeef00","hex_latitude":"07004928","is_valid_coordinates":true} 
[2026-08-01 13:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106576640001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501056995131392,"note":"Value kept but may cause issues"} 
[2026-08-01 13:53:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-76913007316594688,"note":"Value kept but may cause issues"} 
[2026-08-01 13:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785572566000,"timestamp_ms":1785572566000,"timestamp_seconds":1785572566,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc6b23f0"} 
[2026-08-01 13:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:53:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 13:53:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:53:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":147256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":147256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":147256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:53:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106576640001,"66":27919,"33":206,"28":32256,"24":7,"16":366501056995131392,"44":-76913007316594688},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-08-01 13:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106576640001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:53:51] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-01 13:53:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501056995131392,"km_value":366501056995131.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:53:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-76913007316594688,"description":"Unknown IO ID 44"} 
[2026-08-01 13:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106576640001,"power":27919,"unknown_33":206,"unknown_28":32256,"ignition":7,"odometer":null,"unknown_44":-76913007316594688}} 
[2026-08-01 13:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":147256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:53:51] local.INFO: GPS data processed {"connection_id":147256,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:53:51] local.INFO: Acknowledgment sent {"connection_id":147256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:54:01] local.INFO: TCP Data received {"connection_id":146030,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:54:01] local.INFO: Processing buffer {"connection_id":146030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:54:01] local.INFO: IMEI packet received {"connection_id":146030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 13:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":146030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:54:05] local.INFO: TCP Data received {"connection_id":146030,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:54:05] local.INFO: Processing buffer {"connection_id":146030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:54:05] local.INFO: IMEI packet received {"connection_id":146030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":146030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:54:07] local.INFO: TCP Data received {"connection_id":146030,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc68af08012d0fdd4007222450005c015720..."} 
[2026-08-01 13:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc68af08012d0fdd4007222450005c015720..."} 
[2026-08-01 13:54:07] local.INFO: Processing buffer {"connection_id":146030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc68af08012d0fdd4007222450005c015720..."} 
[2026-08-01 13:54:07] local.INFO: Packet analysis {"connection_id":146030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc68"} 
[2026-08-01 13:54:07] local.INFO: Extracted packet for processing {"connection_id":146030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc68"} 
[2026-08-01 13:54:07] local.INFO: GPS Element Parsed {"raw_longitude":756014400,"raw_latitude":119678032,"longitude_deg":75.60144,"latitude_deg":11.9678032,"altitude":92,"angle":343,"satellites":32,"speed":0,"hex_longitude":"2d0fdd40","hex_latitude":"07222450","is_valid_coordinates":true} 
[2026-08-01 13:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106530304001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10196995390046208,"note":"Value kept but may cause issues"} 
[2026-08-01 13:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1143140279803727872,"note":"Value kept but may cause issues"} 
[2026-08-01 13:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785572405000,"timestamp_ms":1785572405000,"timestamp_seconds":1785572405,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc68af08"} 
[2026-08-01 13:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:54:07] 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-08-01 13:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-01 13:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:54:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:54: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-08-01 13:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106530304001,"66":12363,"234":206,"83":41984,"24":0,"16":10196995390046208,"45":1143140279803727872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,83,24,16,45]} 
[2026-08-01 13:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106530304001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:54:07] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-01 13:54:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10196995390046208,"km_value":10196995390046.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1143140279803727872,"description":"Unknown IO ID 45"} 
[2026-08-01 13:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106530304001,"power":12363,"unknown_234":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1143140279803727872}} 
[2026-08-01 13:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":146030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:54:07] local.INFO: GPS data processed {"connection_id":146030,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:54:07] local.INFO: Acknowledgment sent {"connection_id":146030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:54:22] local.INFO: TCP Data received {"connection_id":147256,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc6b27d8012cfeefc0070048b8000a007728..."} 
[2026-08-01 13:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc6b27d8012cfeefc0070048b8000a007728..."} 
[2026-08-01 13:54:22] local.INFO: Processing buffer {"connection_id":147256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc6b27d8012cfeefc0070048b8000a007728..."} 
[2026-08-01 13:54:22] local.INFO: Packet analysis {"connection_id":147256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc6b"} 
[2026-08-01 13:54:22] local.INFO: Extracted packet for processing {"connection_id":147256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc6b"} 
[2026-08-01 13:54:22] local.INFO: GPS Element Parsed {"raw_longitude":754905024,"raw_latitude":117459128,"longitude_deg":75.4905024,"latitude_deg":11.7459128,"altitude":10,"angle":119,"satellites":40,"speed":8,"hex_longitude":"2cfeefc0","hex_latitude":"070048b8","is_valid_coordinates":true} 
[2026-08-01 13:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106576896001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501065585065984,"note":"Value kept but may cause issues"} 
[2026-08-01 13:54:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-76842638572443648,"note":"Value kept but may cause issues"} 
[2026-08-01 13:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785572567000,"timestamp_ms":1785572567000,"timestamp_seconds":1785572567,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc6b27d8"} 
[2026-08-01 13:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:54:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 13:54:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:54:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106576896001,"66":27800,"33":206,"28":32256,"24":8,"16":366501065585065984,"44":-76842638572443648},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-08-01 13:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106576896001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:54:22] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-01 13:54:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501065585065984,"km_value":366501065585066.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:54:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-76842638572443648,"description":"Unknown IO ID 44"} 
[2026-08-01 13:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106576896001,"power":27800,"unknown_33":206,"unknown_28":32256,"ignition":8,"odometer":null,"unknown_44":-76842638572443648}} 
[2026-08-01 13:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":147256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:54:22] local.INFO: GPS data processed {"connection_id":147256,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:54:22] local.INFO: Acknowledgment sent {"connection_id":147256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:54:38] local.INFO: TCP Data received {"connection_id":146030,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc6beb28012d0fdd0007222558005c012429..."} 
[2026-08-01 13:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc6beb28012d0fdd0007222558005c012429..."} 
[2026-08-01 13:54:38] local.INFO: Processing buffer {"connection_id":146030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc6beb28012d0fdd0007222558005c012429..."} 
[2026-08-01 13:54:38] local.INFO: Packet analysis {"connection_id":146030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc6b"} 
[2026-08-01 13:54:38] local.INFO: Extracted packet for processing {"connection_id":146030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc6b"} 
[2026-08-01 13:54:38] local.INFO: GPS Element Parsed {"raw_longitude":756014336,"raw_latitude":119678296,"longitude_deg":75.6014336,"latitude_deg":11.9678296,"altitude":92,"angle":292,"satellites":41,"speed":1,"hex_longitude":"2d0fdd00","hex_latitude":"07222558","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106589696001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10197051224621056,"note":"Value kept but may cause issues"} 
[2026-08-01 13:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1143140279803793408,"note":"Value kept but may cause issues"} 
[2026-08-01 13:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785572617000,"timestamp_ms":1785572617000,"timestamp_seconds":1785572617,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc6beb28"} 
[2026-08-01 13:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-01 13:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13: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-08-01 13:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:54:38] 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-08-01 13:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106589696001,"66":14048,"234":206,"83":41984,"24":1,"16":10197051224621056,"45":1143140279803793408},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,83,24,16,45]} 
[2026-08-01 13:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106589696001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:54:38] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-01 13:54:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10197051224621056,"km_value":10197051224621.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1143140279803793408,"description":"Unknown IO ID 45"} 
[2026-08-01 13:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106589696001,"power":14048,"unknown_234":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1143140279803793408}} 
[2026-08-01 13:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":146030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:54:38] local.INFO: GPS data processed {"connection_id":146030,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:54:38] local.INFO: Acknowledgment sent {"connection_id":146030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:54:44] local.INFO: TCP Data received {"connection_id":146253,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:54:44] local.INFO: Processing buffer {"connection_id":146253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:54:44] local.INFO: IMEI packet received {"connection_id":146253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":146253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:54:49] local.INFO: TCP Data received {"connection_id":146253,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:54:49] local.INFO: Processing buffer {"connection_id":146253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:54:49] local.INFO: IMEI packet received {"connection_id":146253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":146253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:54:50] local.INFO: TCP Data received {"connection_id":146253,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc6b4ee8012cfef6c007004388000b008325..."} 
[2026-08-01 13:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc6b4ee8012cfef6c007004388000b008325..."} 
[2026-08-01 13:54:50] local.INFO: Processing buffer {"connection_id":146253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc6b4ee8012cfef6c007004388000b008325..."} 
[2026-08-01 13:54:50] local.INFO: Packet analysis {"connection_id":146253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc6b"} 
[2026-08-01 13:54:50] local.INFO: Extracted packet for processing {"connection_id":146253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc6b"} 
[2026-08-01 13:54:50] local.INFO: GPS Element Parsed {"raw_longitude":754906816,"raw_latitude":117457800,"longitude_deg":75.4906816,"latitude_deg":11.74578,"altitude":11,"angle":131,"satellites":37,"speed":9,"hex_longitude":"2cfef6c0","hex_latitude":"07004388","is_valid_coordinates":true} 
[2026-08-01 13:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106577152001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501177254215680,"note":"Value kept but may cause issues"} 
[2026-08-01 13:54:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-76631532339939328,"note":"Value kept but may cause issues"} 
[2026-08-01 13:54:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785572577000,"timestamp_ms":1785572577000,"timestamp_seconds":1785572577,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc6b4ee8"} 
[2026-08-01 13:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:54:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 13:54:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:54:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:54:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106577152001,"66":27843,"33":206,"28":32256,"24":9,"16":366501177254215680,"44":-76631532339939328},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-08-01 13:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106577152001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:54:50] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-01 13:54:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501177254215680,"km_value":366501177254215.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:54:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-76631532339939328,"description":"Unknown IO ID 44"} 
[2026-08-01 13:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106577152001,"power":27843,"unknown_33":206,"unknown_28":32256,"ignition":9,"odometer":null,"unknown_44":-76631532339939328}} 
[2026-08-01 13:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":146253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:54:50] local.INFO: GPS data processed {"connection_id":146253,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:54:50] local.INFO: Acknowledgment sent {"connection_id":146253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:55:00] local.INFO: TCP Data received {"connection_id":146254,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:55:00] local.INFO: Processing buffer {"connection_id":146254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:55:00] local.INFO: IMEI packet received {"connection_id":146254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 13:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":146254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:55:11] local.INFO: TCP Data received {"connection_id":146254,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:55:11] local.INFO: Processing buffer {"connection_id":146254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:55:11] local.INFO: IMEI packet received {"connection_id":146254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":146254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:55:11] local.INFO: TCP Data received {"connection_id":146254,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:55:11] local.INFO: Processing buffer {"connection_id":146254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:55:11] local.INFO: IMEI packet received {"connection_id":146254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":146254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:55:15] local.INFO: TCP Data received {"connection_id":146254,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:55:15] local.INFO: Processing buffer {"connection_id":146254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:55:15] local.INFO: IMEI packet received {"connection_id":146254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":146254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:55:16] local.INFO: TCP Data received {"connection_id":146254,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc6bf2f8012d0fdd4007222528005c009b29..."} 
[2026-08-01 13:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc6bf2f8012d0fdd4007222528005c009b29..."} 
[2026-08-01 13:55:16] local.INFO: Processing buffer {"connection_id":146254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc6bf2f8012d0fdd4007222528005c009b29..."} 
[2026-08-01 13:55:16] local.INFO: Packet analysis {"connection_id":146254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc6b"} 
[2026-08-01 13:55:16] local.INFO: Extracted packet for processing {"connection_id":146254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc6b"} 
[2026-08-01 13:55:16] local.INFO: GPS Element Parsed {"raw_longitude":756014400,"raw_latitude":119678248,"longitude_deg":75.60144,"latitude_deg":11.9678248,"altitude":92,"angle":155,"satellites":41,"speed":0,"hex_longitude":"2d0fdd40","hex_latitude":"07222528","is_valid_coordinates":true} 
[2026-08-01 13:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106589952001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10197055519588352,"note":"Value kept but may cause issues"} 
[2026-08-01 13:55:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1143069911059617792,"note":"Value kept but may cause issues"} 
[2026-08-01 13:55:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:55:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785572619000,"timestamp_ms":1785572619000,"timestamp_seconds":1785572619,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc6bf2f8"} 
[2026-08-01 13:55:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:55: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-08-01 13:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-01 13:55:16] 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-08-01 13:55:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:55:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:55:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:55:16] local.INFO: Teltonika packet parsed successfully {"connection_id":146254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:55:16] local.INFO: Passing IMEI to GPS processor {"connection_id":146254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:55:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":146254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:55: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-08-01 13:55:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106589952001,"66":14233,"234":206,"83":41984,"24":0,"16":10197055519588352,"45":1143069911059617792},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,83,24,16,45]} 
[2026-08-01 13:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106589952001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:55:16] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-01 13:55:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10197055519588352,"km_value":10197055519588.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:55:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1143069911059617792,"description":"Unknown IO ID 45"} 
[2026-08-01 13:55:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106589952001,"power":14233,"unknown_234":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1143069911059617792}} 
[2026-08-01 13:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":146254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:55:16] local.INFO: GPS data processed {"connection_id":146254,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:55:16] local.INFO: Acknowledgment sent {"connection_id":146254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:55:22] local.INFO: TCP Data received {"connection_id":146253,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc6ba0f0012cfefa8007004000000b008928..."} 
[2026-08-01 13:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc6ba0f0012cfefa8007004000000b008928..."} 
[2026-08-01 13:55:22] local.INFO: Processing buffer {"connection_id":146253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc6ba0f0012cfefa8007004000000b008928..."} 
[2026-08-01 13:55:22] local.INFO: Packet analysis {"connection_id":146253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc6b"} 
[2026-08-01 13:55:22] local.INFO: Extracted packet for processing {"connection_id":146253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc6b"} 
[2026-08-01 13:55:22] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117456896,"longitude_deg":75.4907776,"latitude_deg":11.7456896,"altitude":11,"angle":137,"satellites":40,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004000","is_valid_coordinates":true} 
[2026-08-01 13:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:55:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106579712001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:55:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501237383757824,"note":"Value kept but may cause issues"} 
[2026-08-01 13:55:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74661207503304704,"note":"Value kept but may cause issues"} 
[2026-08-01 13:55:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:55:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785572598000,"timestamp_ms":1785572598000,"timestamp_seconds":1785572598,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc6ba0f0"} 
[2026-08-01 13:55:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:55:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 13:55:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:55:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:55:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:55:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:55:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:55:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:55:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:55:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:55:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:55:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:55:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106579712001,"66":27745,"33":206,"28":32256,"24":0,"16":366501237383757824,"44":-74661207503304704},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-08-01 13:55:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:55:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:55:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106579712001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:55:22] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-01 13:55:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:55:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501237383757824,"km_value":366501237383757.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:55:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74661207503304704,"description":"Unknown IO ID 44"} 
[2026-08-01 13:55:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106579712001,"power":27745,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74661207503304704}} 
[2026-08-01 13:55:22] local.INFO: DEBUG: GPS processor result {"connection_id":146253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:55:22] local.INFO: GPS data processed {"connection_id":146253,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:55:22] local.INFO: Acknowledgment sent {"connection_id":146253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:55:44] local.INFO: TCP Data received {"connection_id":146031,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:55:44] local.INFO: Processing buffer {"connection_id":146031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:55:44] local.INFO: IMEI packet received {"connection_id":146031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":146031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:55:49] local.INFO: TCP Data received {"connection_id":146031,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:55:49] local.INFO: Processing buffer {"connection_id":146031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:55:49] local.INFO: IMEI packet received {"connection_id":146031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":146031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:55:50] local.INFO: TCP Data received {"connection_id":146031,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc6bf2f8012cfefa8007004000000b008926..."} 
[2026-08-01 13:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc6bf2f8012cfefa8007004000000b008926..."} 
[2026-08-01 13:55:50] local.INFO: Processing buffer {"connection_id":146031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc6bf2f8012cfefa8007004000000b008926..."} 
[2026-08-01 13:55:50] local.INFO: Packet analysis {"connection_id":146031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc6b"} 
[2026-08-01 13:55:50] local.INFO: Extracted packet for processing {"connection_id":146031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc6b"} 
[2026-08-01 13:55:50] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117456896,"longitude_deg":75.4907776,"latitude_deg":11.7456896,"altitude":11,"angle":137,"satellites":38,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004000","is_valid_coordinates":true} 
[2026-08-01 13:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:55:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106585088001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:55:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501237383757824,"note":"Value kept but may cause issues"} 
[2026-08-01 13:55:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340871168,"note":"Value kept but may cause issues"} 
[2026-08-01 13:55:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:55:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785572619000,"timestamp_ms":1785572619000,"timestamp_seconds":1785572619,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc6bf2f8"} 
[2026-08-01 13:55:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:55:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 13:55:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:55:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:55:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:55:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:55:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:55:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:55:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:55:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:55:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:55:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:55:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106585088001,"66":28028,"33":206,"28":32256,"24":0,"16":366501237383757824,"44":-73605676340871168},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-08-01 13:55:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106585088001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:55:51] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-01 13:55:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501237383757824,"km_value":366501237383757.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:55:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340871168,"description":"Unknown IO ID 44"} 
[2026-08-01 13:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106585088001,"power":28028,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-73605676340871168}} 
[2026-08-01 13:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":146031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:55:51] local.INFO: GPS data processed {"connection_id":146031,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:55:51] local.INFO: Acknowledgment sent {"connection_id":146031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:56:00] local.INFO: TCP Data received {"connection_id":148572,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148572,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:56:00] local.INFO: Processing buffer {"connection_id":148572,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:56:00] local.INFO: IMEI packet received {"connection_id":148572,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 13:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":148572,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:56:03] local.INFO: TCP Data received {"connection_id":148572,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148572,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:56:03] local.INFO: Processing buffer {"connection_id":148572,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:56:03] local.INFO: IMEI packet received {"connection_id":148572,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":148572,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:56:05] local.INFO: TCP Data received {"connection_id":148572,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148572,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:56:05] local.INFO: Processing buffer {"connection_id":148572,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:56:05] local.INFO: IMEI packet received {"connection_id":148572,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":148572,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:56:06] local.INFO: TCP Data received {"connection_id":148572,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc6c9320012d0fcc8007220240005d00cc2a..."} 
[2026-08-01 13:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc6c9320012d0fcc8007220240005d00cc2a..."} 
[2026-08-01 13:56:06] local.INFO: Processing buffer {"connection_id":148572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc6c9320012d0fcc8007220240005d00cc2a..."} 
[2026-08-01 13:56:06] local.INFO: Packet analysis {"connection_id":148572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc6c"} 
[2026-08-01 13:56:06] local.INFO: Extracted packet for processing {"connection_id":148572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc6c"} 
[2026-08-01 13:56:06] local.INFO: GPS Element Parsed {"raw_longitude":756010112,"raw_latitude":119669312,"longitude_deg":75.6010112,"latitude_deg":11.9669312,"altitude":93,"angle":204,"satellites":42,"speed":8,"hex_longitude":"2d0fcc80","hex_latitude":"07220240","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106600704001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10197588095533056,"note":"Value kept but may cause issues"} 
[2026-08-01 13:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1138566311429996544,"note":"Value kept but may cause issues"} 
[2026-08-01 13:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785572660000,"timestamp_ms":1785572660000,"timestamp_seconds":1785572660,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc6c9320"} 
[2026-08-01 13:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-01 13:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13: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-08-01 13:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:56:06] 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-08-01 13:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106600704001,"66":14428,"126":206,"83":41984,"24":8,"16":10197588095533056,"45":1138566311429996544},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,83,24,16,45]} 
[2026-08-01 13:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106600704001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:56:06] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-08-01 13:56:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10197588095533056,"km_value":10197588095533.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1138566311429996544,"description":"Unknown IO ID 45"} 
[2026-08-01 13:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106600704001,"power":14428,"unknown_126":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1138566311429996544}} 
[2026-08-01 13:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":148572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:56:06] local.INFO: GPS data processed {"connection_id":148572,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:56:06] local.INFO: Acknowledgment sent {"connection_id":148572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:56:22] local.INFO: TCP Data received {"connection_id":146031,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc6c4500012cfefa8007004000000b00892d..."} 
[2026-08-01 13:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc6c4500012cfefa8007004000000b00892d..."} 
[2026-08-01 13:56:22] local.INFO: Processing buffer {"connection_id":146031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc6c4500012cfefa8007004000000b00892d..."} 
[2026-08-01 13:56:22] local.INFO: Packet analysis {"connection_id":146031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc6c"} 
[2026-08-01 13:56:22] local.INFO: Extracted packet for processing {"connection_id":146031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc6c"} 
[2026-08-01 13:56:22] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117456896,"longitude_deg":75.4907776,"latitude_deg":11.7456896,"altitude":11,"angle":137,"satellites":45,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004000","is_valid_coordinates":true} 
[2026-08-01 13:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:56:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106590464001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:56:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501237383757824,"note":"Value kept but may cause issues"} 
[2026-08-01 13:56:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340871168,"note":"Value kept but may cause issues"} 
[2026-08-01 13:56:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:56:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785572640000,"timestamp_ms":1785572640000,"timestamp_seconds":1785572640,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc6c4500"} 
[2026-08-01 13:56:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:56:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-01 13:56:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:56:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:56:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:56:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:56:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:56:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:56:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:56:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:56:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:56:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:56:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106590464001,"66":28093,"33":206,"28":32256,"24":0,"16":366501237383757824,"44":-73605676340871168},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-08-01 13:56:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:56:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:56:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106590464001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:56:22] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-01 13:56:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:56:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501237383757824,"km_value":366501237383757.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:56:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340871168,"description":"Unknown IO ID 44"} 
[2026-08-01 13:56:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106590464001,"power":28093,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-73605676340871168}} 
[2026-08-01 13:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":146031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:56:22] local.INFO: GPS data processed {"connection_id":146031,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:56:22] local.INFO: Acknowledgment sent {"connection_id":146031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:56:38] local.INFO: TCP Data received {"connection_id":148572,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc6ce528012d0fbe400721e4b8006100d529..."} 
[2026-08-01 13:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc6ce528012d0fbe400721e4b8006100d529..."} 
[2026-08-01 13:56:38] local.INFO: Processing buffer {"connection_id":148572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc6ce528012d0fbe400721e4b8006100d529..."} 
[2026-08-01 13:56:38] local.INFO: Packet analysis {"connection_id":148572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc6c"} 
[2026-08-01 13:56:38] local.INFO: Extracted packet for processing {"connection_id":148572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc6c"} 
[2026-08-01 13:56:38] local.INFO: GPS Element Parsed {"raw_longitude":756006464,"raw_latitude":119661752,"longitude_deg":75.6006464,"latitude_deg":11.9661752,"altitude":97,"angle":213,"satellites":41,"speed":17,"hex_longitude":"2d0fbe40","hex_latitude":"0721e4b8","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106600960001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10197996117426176,"note":"Value kept but may cause issues"} 
[2026-08-01 13:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1138425573941592064,"note":"Value kept but may cause issues"} 
[2026-08-01 13:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785572681000,"timestamp_ms":1785572681000,"timestamp_seconds":1785572681,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc6ce528"} 
[2026-08-01 13:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-01 13:56:38] 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-08-01 13: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-08-01 13:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":148572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":148572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":148572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:56:38] 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-08-01 13:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106600960001,"66":14341,"234":206,"83":41984,"24":17,"16":10197996117426176,"45":1138425573941592064},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,83,24,16,45]} 
[2026-08-01 13:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106600960001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:56:38] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-01 13:56:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10197996117426176,"km_value":10197996117426.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1138425573941592064,"description":"Unknown IO ID 45"} 
[2026-08-01 13:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106600960001,"power":14341,"unknown_234":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1138425573941592064}} 
[2026-08-01 13:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":148572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577416,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:56:38] local.INFO: GPS data processed {"connection_id":148572,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:56:38] local.INFO: Acknowledgment sent {"connection_id":148572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:56:49] local.INFO: TCP Data received {"connection_id":146032,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:56:49] local.INFO: Processing buffer {"connection_id":146032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:56:49] local.INFO: IMEI packet received {"connection_id":146032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":146032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:56:54] local.INFO: TCP Data received {"connection_id":146032,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:56:54] local.INFO: Processing buffer {"connection_id":146032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:56:54] local.INFO: IMEI packet received {"connection_id":146032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":146032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:57:01] local.INFO: TCP Data received {"connection_id":146033,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:57:01] local.INFO: Processing buffer {"connection_id":146033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:57:01] local.INFO: IMEI packet received {"connection_id":146033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 13:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":146033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:57:05] local.INFO: TCP Data received {"connection_id":146033,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:57:05] local.INFO: Processing buffer {"connection_id":146033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:57:05] local.INFO: IMEI packet received {"connection_id":146033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":146033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:57:09] local.INFO: TCP Data received {"connection_id":146032,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc6c9708012cfefe0007003eb8000d008929..."} 
[2026-08-01 13:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc6c9708012cfefe0007003eb8000d008929..."} 
[2026-08-01 13:57:09] local.INFO: Processing buffer {"connection_id":146032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc6c9708012cfefe0007003eb8000d008929..."} 
[2026-08-01 13:57:09] local.INFO: Packet analysis {"connection_id":146032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc6c"} 
[2026-08-01 13:57:09] local.INFO: Extracted packet for processing {"connection_id":146032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc6c"} 
[2026-08-01 13:57:09] local.INFO: GPS Element Parsed {"raw_longitude":754908672,"raw_latitude":117456568,"longitude_deg":75.4908672,"latitude_deg":11.7456568,"altitude":13,"angle":137,"satellites":41,"speed":1,"hex_longitude":"2cfefe00","hex_latitude":"07003eb8","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106595840001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501284628398080,"note":"Value kept but may cause issues"} 
[2026-08-01 13:57:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340871168,"note":"Value kept but may cause issues"} 
[2026-08-01 13:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785572661000,"timestamp_ms":1785572661000,"timestamp_seconds":1785572661,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc6c9708"} 
[2026-08-01 13:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13: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-08-01 13: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":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-08-01 13:57:09] 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-08-01 13: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-08-01 13:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":146032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":146032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":146032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106595840001,"66":27745,"33":206,"28":32256,"24":1,"16":366501284628398080,"44":-73605676340871168},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-08-01 13:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106595840001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:57:09] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-01 13:57:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501284628398080,"km_value":366501284628398.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:57:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340871168,"description":"Unknown IO ID 44"} 
[2026-08-01 13:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106595840001,"power":27745,"unknown_33":206,"unknown_28":32256,"ignition":1,"odometer":null,"unknown_44":-73605676340871168}} 
[2026-08-01 13:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":146032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:57:09] local.INFO: GPS data processed {"connection_id":146032,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:57:09] local.INFO: Acknowledgment sent {"connection_id":146032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:57:10] local.INFO: TCP Data received {"connection_id":146033,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:57:10] local.INFO: Processing buffer {"connection_id":146033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:57:10] local.INFO: IMEI packet received {"connection_id":146033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":146033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:57:11] local.INFO: TCP Data received {"connection_id":146033,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc6e2578012d0f93c007213798008000a429..."} 
[2026-08-01 13:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc6e2578012d0f93c007213798008000a429..."} 
[2026-08-01 13:57:11] local.INFO: Processing buffer {"connection_id":146033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc6e2578012d0f93c007213798008000a429..."} 
[2026-08-01 13:57:11] local.INFO: Packet analysis {"connection_id":146033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc6e"} 
[2026-08-01 13:57:11] local.INFO: Extracted packet for processing {"connection_id":146033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc6e"} 
[2026-08-01 13:57:11] local.INFO: GPS Element Parsed {"raw_longitude":755995584,"raw_latitude":119617432,"longitude_deg":75.5995584,"latitude_deg":11.9617432,"altitude":128,"angle":164,"satellites":41,"speed":38,"hex_longitude":"2d0f93c0","hex_latitude":"07213798","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106624768001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10200311104798720,"note":"Value kept but may cause issues"} 
[2026-08-01 13:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1120129700444391424,"note":"Value kept but may cause issues"} 
[2026-08-01 13:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785572763000,"timestamp_ms":1785572763000,"timestamp_seconds":1785572763,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc6e2578"} 
[2026-08-01 13:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13: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":148,"data_length":795,"current_offset":136} 
[2026-08-01 13:57:11] 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-08-01 13: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-08-01 13:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:57: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-08-01 13:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106624768001,"66":14102,"77":206,"83":41984,"24":38,"16":10200311104798720,"45":1120129700444391424},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,83,24,16,45]} 
[2026-08-01 13:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106624768001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:57:11] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-01 13:57:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10200311104798720,"km_value":10200311104798.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1120129700444391424,"description":"Unknown IO ID 45"} 
[2026-08-01 13:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106624768001,"power":14102,"unknown_77":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1120129700444391424}} 
[2026-08-01 13:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":146033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577418,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:57:11] local.INFO: GPS data processed {"connection_id":146033,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:57:11] local.INFO: Acknowledgment sent {"connection_id":146033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:57:12] local.INFO: TCP Data received {"connection_id":146033,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc6e4c88012d0f9a8007211230007d00ad2a..."} 
[2026-08-01 13:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc6e4c88012d0f9a8007211230007d00ad2a..."} 
[2026-08-01 13:57:12] local.INFO: Processing buffer {"connection_id":146033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc6e4c88012d0f9a8007211230007d00ad2a..."} 
[2026-08-01 13:57:12] local.INFO: Packet analysis {"connection_id":146033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc6e"} 
[2026-08-01 13:57:12] local.INFO: Extracted packet for processing {"connection_id":146033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc6e"} 
[2026-08-01 13:57:12] local.INFO: GPS Element Parsed {"raw_longitude":755997312,"raw_latitude":119607856,"longitude_deg":75.5997312,"latitude_deg":11.9607856,"altitude":125,"angle":173,"satellites":42,"speed":38,"hex_longitude":"2d0f9a80","hex_latitude":"07211230","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106627328001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10200783551201280,"note":"Value kept but may cause issues"} 
[2026-08-01 13:57:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1122451868999981056,"note":"Value kept but may cause issues"} 
[2026-08-01 13:57:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785572773000,"timestamp_ms":1785572773000,"timestamp_seconds":1785572773,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc6e4c88"} 
[2026-08-01 13:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:57: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-08-01 13: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-01 13:57:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13: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-08-01 13:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":146033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":146033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":146033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:57:12] 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-08-01 13:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106627328001,"66":14265,"77":206,"83":41984,"24":38,"16":10200783551201280,"45":1122451868999981056},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,83,24,16,45]} 
[2026-08-01 13:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106627328001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:57:12] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-01 13:57:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10200783551201280,"km_value":10200783551201.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:57:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1122451868999981056,"description":"Unknown IO ID 45"} 
[2026-08-01 13:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106627328001,"power":14265,"unknown_77":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1122451868999981056}} 
[2026-08-01 13:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":146033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:57:12] local.INFO: GPS data processed {"connection_id":146033,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:57:12] local.INFO: Acknowledgment sent {"connection_id":146033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:57:15] local.INFO: TCP Data received {"connection_id":146032,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc6caa90012cfefe8007003e40000d009e2a..."} 
[2026-08-01 13:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc6caa90012cfefe8007003e40000d009e2a..."} 
[2026-08-01 13:57:15] local.INFO: Processing buffer {"connection_id":146032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc6caa90012cfefe8007003e40000d009e2a..."} 
[2026-08-01 13:57:15] local.INFO: Packet analysis {"connection_id":146032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc6c"} 
[2026-08-01 13:57:15] local.INFO: Extracted packet for processing {"connection_id":146032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc6c"} 
[2026-08-01 13:57:15] local.INFO: GPS Element Parsed {"raw_longitude":754908800,"raw_latitude":117456448,"longitude_deg":75.49088,"latitude_deg":11.7456448,"altitude":13,"angle":158,"satellites":42,"speed":0,"hex_longitude":"2cfefe80","hex_latitude":"07003e40","is_valid_coordinates":true} 
[2026-08-01 13:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106601216001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 13:57:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72620513922467840,"note":"Value kept but may cause issues"} 
[2026-08-01 13:57:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785572666000,"timestamp_ms":1785572666000,"timestamp_seconds":1785572666,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc6caa90"} 
[2026-08-01 13:57:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 13:57:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:57:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:57:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":146032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":146032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":146032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:57:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106601216001,"66":27919,"33":206,"28":32256,"24":0,"16":366501297513299968,"44":-72620513922467840},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-08-01 13:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106601216001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:57:15] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-01 13:57:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:57:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72620513922467840,"description":"Unknown IO ID 44"} 
[2026-08-01 13:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106601216001,"power":27919,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-72620513922467840}} 
[2026-08-01 13:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":146032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:57:15] local.INFO: GPS data processed {"connection_id":146032,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:57:15] local.INFO: Acknowledgment sent {"connection_id":146032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:57:43] local.INFO: TCP Data received {"connection_id":146033,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc6e7398012d0f9f000720ed18007b00af29..."} 
[2026-08-01 13:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc6e7398012d0f9f000720ed18007b00af29..."} 
[2026-08-01 13:57:43] local.INFO: Processing buffer {"connection_id":146033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc6e7398012d0f9f000720ed18007b00af29..."} 
[2026-08-01 13:57:43] local.INFO: Packet analysis {"connection_id":146033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc6e"} 
[2026-08-01 13:57:43] local.INFO: Extracted packet for processing {"connection_id":146033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc6e"} 
[2026-08-01 13:57:43] local.INFO: GPS Element Parsed {"raw_longitude":755998464,"raw_latitude":119598360,"longitude_deg":75.5998464,"latitude_deg":11.959836,"altitude":123,"angle":175,"satellites":41,"speed":37,"hex_longitude":"2d0f9f00","hex_latitude":"0720ed18","is_valid_coordinates":true} 
[2026-08-01 13:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106629888001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10201247407669248,"note":"Value kept but may cause issues"} 
[2026-08-01 13:57:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1124351825090326528,"note":"Value kept but may cause issues"} 
[2026-08-01 13:57:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785572783000,"timestamp_ms":1785572783000,"timestamp_seconds":1785572783,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc6e7398"} 
[2026-08-01 13:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:57:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-01 13:57:43] 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-08-01 13:57:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":146033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":146033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":146033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:57:43] 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-08-01 13:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106629888001,"66":14233,"77":206,"83":41984,"24":37,"16":10201247407669248,"45":1124351825090326528},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,83,24,16,45]} 
[2026-08-01 13:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106629888001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:57:43] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-01 13:57:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10201247407669248,"km_value":10201247407669.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:57:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1124351825090326528,"description":"Unknown IO ID 45"} 
[2026-08-01 13:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106629888001,"power":14233,"unknown_77":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1124351825090326528}} 
[2026-08-01 13:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":146033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:57:43] local.INFO: GPS data processed {"connection_id":146033,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:57:43] local.INFO: Acknowledgment sent {"connection_id":146033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:57:44] local.INFO: TCP Data received {"connection_id":146255,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:57:44] local.INFO: Processing buffer {"connection_id":146255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:57:44] local.INFO: IMEI packet received {"connection_id":146255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":146255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:57:50] local.INFO: TCP Data received {"connection_id":146255,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:57:50] local.INFO: Processing buffer {"connection_id":146255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:57:50] local.INFO: IMEI packet received {"connection_id":146255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":146255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:57:55] local.INFO: TCP Data received {"connection_id":146255,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc6caa90012cfefe8007003e40000d009e2a..."} 
[2026-08-01 13:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc6caa90012cfefe8007003e40000d009e2a..."} 
[2026-08-01 13:57:55] local.INFO: Processing buffer {"connection_id":146255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc6caa90012cfefe8007003e40000d009e2a..."} 
[2026-08-01 13:57:55] local.INFO: Packet analysis {"connection_id":146255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc6c"} 
[2026-08-01 13:57:55] local.INFO: Extracted packet for processing {"connection_id":146255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc6c"} 
[2026-08-01 13:57:55] local.INFO: GPS Element Parsed {"raw_longitude":754908800,"raw_latitude":117456448,"longitude_deg":75.49088,"latitude_deg":11.7456448,"altitude":13,"angle":158,"satellites":42,"speed":0,"hex_longitude":"2cfefe80","hex_latitude":"07003e40","is_valid_coordinates":true} 
[2026-08-01 13:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106602496001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 13:57:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72479776434143232,"note":"Value kept but may cause issues"} 
[2026-08-01 13:57:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785572666000,"timestamp_ms":1785572666000,"timestamp_seconds":1785572666,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc6caa90"} 
[2026-08-01 13:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:57:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 13:57:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:57:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":146255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":146255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":146255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106602496001,"66":27919,"33":206,"28":32256,"24":0,"16":366501297513299968,"44":-72479776434143232},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-08-01 13:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106602496001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:57:55] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-01 13:57:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:57:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72479776434143232,"description":"Unknown IO ID 44"} 
[2026-08-01 13:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106602496001,"power":27919,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-72479776434143232}} 
[2026-08-01 13:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":146255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:57:55] local.INFO: GPS data processed {"connection_id":146255,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:57:55] local.INFO: Acknowledgment sent {"connection_id":146255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:58:00] local.INFO: TCP Data received {"connection_id":146034,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:58:00] local.INFO: Processing buffer {"connection_id":146034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:58:00] local.INFO: IMEI packet received {"connection_id":146034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 13:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":146034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:58:02] local.INFO: TCP Data received {"connection_id":146034,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:58:02] local.INFO: Processing buffer {"connection_id":146034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:58:02] local.INFO: IMEI packet received {"connection_id":146034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":146034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:58:05] local.INFO: TCP Data received {"connection_id":146034,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:58:05] local.INFO: Processing buffer {"connection_id":146034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:58:05] local.INFO: IMEI packet received {"connection_id":146034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":146034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:58:06] local.INFO: TCP Data received {"connection_id":146034,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc6e9aa8012d0fa2c00720c880007800ab28..."} 
[2026-08-01 13:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc6e9aa8012d0fa2c00720c880007800ab28..."} 
[2026-08-01 13:58:06] local.INFO: Processing buffer {"connection_id":146034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc6e9aa8012d0fa2c00720c880007800ab28..."} 
[2026-08-01 13:58:06] local.INFO: Packet analysis {"connection_id":146034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc6e"} 
[2026-08-01 13:58:06] local.INFO: Extracted packet for processing {"connection_id":146034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc6e"} 
[2026-08-01 13:58:06] local.INFO: GPS Element Parsed {"raw_longitude":755999424,"raw_latitude":119588992,"longitude_deg":75.5999424,"latitude_deg":11.9588992,"altitude":120,"angle":171,"satellites":40,"speed":36,"hex_longitude":"2d0fa2c0","hex_latitude":"0720c880","is_valid_coordinates":true} 
[2026-08-01 13:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106632448001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10201706969169920,"note":"Value kept but may cause issues"} 
[2026-08-01 13:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1125618462483093504,"note":"Value kept but may cause issues"} 
[2026-08-01 13:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785572793000,"timestamp_ms":1785572793000,"timestamp_seconds":1785572793,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc6e9aa8"} 
[2026-08-01 13:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-01 13:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:58:06] 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-08-01 13:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106632448001,"66":14211,"77":206,"83":41984,"24":36,"16":10201706969169920,"45":1125618462483093504},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,83,24,16,45]} 
[2026-08-01 13:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106632448001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:58:06] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-01 13:58:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10201706969169920,"km_value":10201706969169.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1125618462483093504,"description":"Unknown IO ID 45"} 
[2026-08-01 13:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106632448001,"power":14211,"unknown_77":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1125618462483093504}} 
[2026-08-01 13:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":146034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:58:06] local.INFO: GPS data processed {"connection_id":146034,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:58:06] local.INFO: Acknowledgment sent {"connection_id":146034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:58:27] local.INFO: TCP Data received {"connection_id":146255,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc6caa90012cfefe8007003e40000d009e2a..."} 
[2026-08-01 13:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc6caa90012cfefe8007003e40000d009e2a..."} 
[2026-08-01 13:58:27] local.INFO: Processing buffer {"connection_id":146255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc6caa90012cfefe8007003e40000d009e2a..."} 
[2026-08-01 13:58:27] local.INFO: Packet analysis {"connection_id":146255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc6c"} 
[2026-08-01 13:58:27] local.INFO: Extracted packet for processing {"connection_id":146255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc6c"} 
[2026-08-01 13:58:27] local.INFO: GPS Element Parsed {"raw_longitude":754908800,"raw_latitude":117456448,"longitude_deg":75.49088,"latitude_deg":11.7456448,"altitude":13,"angle":158,"satellites":42,"speed":0,"hex_longitude":"2cfefe80","hex_latitude":"07003e40","is_valid_coordinates":true} 
[2026-08-01 13:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106602496001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 13:58:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72479776434143232,"note":"Value kept but may cause issues"} 
[2026-08-01 13:58:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785572666000,"timestamp_ms":1785572666000,"timestamp_seconds":1785572666,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc6caa90"} 
[2026-08-01 13:58:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13: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-08-01 13: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":15,"data_length":795,"current_offset":136} 
[2026-08-01 13:58:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13: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-08-01 13:58:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":146255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":146255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":146255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:58:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106602496001,"66":27919,"33":206,"28":32256,"24":0,"16":366501297513299968,"44":-72479776434143232},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-08-01 13:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106602496001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:58:27] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-01 13:58:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:58:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72479776434143232,"description":"Unknown IO ID 44"} 
[2026-08-01 13:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106602496001,"power":27919,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-72479776434143232}} 
[2026-08-01 13:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":146255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:58:27] local.INFO: GPS data processed {"connection_id":146255,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:58:27] local.INFO: Acknowledgment sent {"connection_id":146255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:58:40] local.INFO: TCP Data received {"connection_id":146034,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc6ec1b8012d0fa9000720a3c0007300aa27..."} 
[2026-08-01 13:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc6ec1b8012d0fa9000720a3c0007300aa27..."} 
[2026-08-01 13:58:40] local.INFO: Processing buffer {"connection_id":146034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc6ec1b8012d0fa9000720a3c0007300aa27..."} 
[2026-08-01 13:58:40] local.INFO: Packet analysis {"connection_id":146034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc6e"} 
[2026-08-01 13:58:40] local.INFO: Extracted packet for processing {"connection_id":146034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc6e"} 
[2026-08-01 13:58:40] local.INFO: GPS Element Parsed {"raw_longitude":756001024,"raw_latitude":119579584,"longitude_deg":75.6001024,"latitude_deg":11.9579584,"altitude":115,"angle":170,"satellites":39,"speed":35,"hex_longitude":"2d0fa900","hex_latitude":"0720a3c0","is_valid_coordinates":true} 
[2026-08-01 13: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-08-01 13:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106635008001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10202166530670592,"note":"Value kept but may cause issues"} 
[2026-08-01 13:58:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1126673993643360256,"note":"Value kept but may cause issues"} 
[2026-08-01 13:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785572803000,"timestamp_ms":1785572803000,"timestamp_seconds":1785572803,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc6ec1b8"} 
[2026-08-01 13:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:58:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-01 13:58: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-08-01 13: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-08-01 13:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:58:40] 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-08-01 13:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106635008001,"66":14483,"77":206,"83":41984,"24":35,"16":10202166530670592,"45":1126673993643360256},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,83,24,16,45]} 
[2026-08-01 13:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106635008001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:58:40] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-01 13:58:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10202166530670592,"km_value":10202166530670.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:58:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1126673993643360256,"description":"Unknown IO ID 45"} 
[2026-08-01 13:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106635008001,"power":14483,"unknown_77":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1126673993643360256}} 
[2026-08-01 13:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":146034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:58:40] local.INFO: GPS data processed {"connection_id":146034,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:58:40] local.INFO: Acknowledgment sent {"connection_id":146034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:58:44] local.INFO: TCP Data received {"connection_id":147257,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:58:44] local.INFO: Processing buffer {"connection_id":147257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:58:44] local.INFO: IMEI packet received {"connection_id":147257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":147257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:58:49] local.INFO: TCP Data received {"connection_id":147257,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:58:49] local.INFO: Processing buffer {"connection_id":147257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:58:49] local.INFO: IMEI packet received {"connection_id":147257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":147257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:58:51] local.INFO: TCP Data received {"connection_id":147257,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc6caa90012cfefe8007003e40000d009e2a..."} 
[2026-08-01 13:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc6caa90012cfefe8007003e40000d009e2a..."} 
[2026-08-01 13:58:51] local.INFO: Processing buffer {"connection_id":147257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc6caa90012cfefe8007003e40000d009e2a..."} 
[2026-08-01 13:58:51] local.INFO: Packet analysis {"connection_id":147257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc6c"} 
[2026-08-01 13:58:51] local.INFO: Extracted packet for processing {"connection_id":147257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc6c"} 
[2026-08-01 13:58:51] local.INFO: GPS Element Parsed {"raw_longitude":754908800,"raw_latitude":117456448,"longitude_deg":75.49088,"latitude_deg":11.7456448,"altitude":13,"angle":158,"satellites":42,"speed":0,"hex_longitude":"2cfefe80","hex_latitude":"07003e40","is_valid_coordinates":true} 
[2026-08-01 13:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106602496001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 13:58:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72479776434143232,"note":"Value kept but may cause issues"} 
[2026-08-01 13:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785572666000,"timestamp_ms":1785572666000,"timestamp_seconds":1785572666,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc6caa90"} 
[2026-08-01 13:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 13:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13: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-08-01 13:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":147257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":147257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":147257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106602496001,"66":27919,"33":206,"28":32256,"24":0,"16":366501297513299968,"44":-72479776434143232},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-08-01 13:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106602496001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:58:51] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-01 13:58:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:58:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72479776434143232,"description":"Unknown IO ID 44"} 
[2026-08-01 13:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106602496001,"power":27919,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-72479776434143232}} 
[2026-08-01 13:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":147257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:58:51] local.INFO: GPS data processed {"connection_id":147257,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:58:51] local.INFO: Acknowledgment sent {"connection_id":147257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:59:00] local.INFO: TCP Data received {"connection_id":146035,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:59:00] local.INFO: Processing buffer {"connection_id":146035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:59:00] local.INFO: IMEI packet received {"connection_id":146035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 13:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":146035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:59:05] local.INFO: TCP Data received {"connection_id":146035,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:59:05] local.INFO: Processing buffer {"connection_id":146035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 13:59:05] local.INFO: IMEI packet received {"connection_id":146035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 13:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":146035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:59:06] local.INFO: TCP Data received {"connection_id":146035,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc6ed540012d0fabc0072097680072009729..."} 
[2026-08-01 13:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc6ed540012d0fabc0072097680072009729..."} 
[2026-08-01 13:59:06] local.INFO: Processing buffer {"connection_id":146035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc6ed540012d0fabc0072097680072009729..."} 
[2026-08-01 13:59:06] local.INFO: Packet analysis {"connection_id":146035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc6e"} 
[2026-08-01 13:59:06] local.INFO: Extracted packet for processing {"connection_id":146035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc6e"} 
[2026-08-01 13:59:06] local.INFO: GPS Element Parsed {"raw_longitude":756001728,"raw_latitude":119576424,"longitude_deg":75.6001728,"latitude_deg":11.9576424,"altitude":114,"angle":151,"satellites":41,"speed":15,"hex_longitude":"2d0fabc0","hex_latitude":"07209768","is_valid_coordinates":true} 
[2026-08-01 13:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106637568001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10202325444460544,"note":"Value kept but may cause issues"} 
[2026-08-01 13:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1128433212245393408,"note":"Value kept but may cause issues"} 
[2026-08-01 13:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785572808000,"timestamp_ms":1785572808000,"timestamp_seconds":1785572808,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc6ed540"} 
[2026-08-01 13:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-01 13:59:06] 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-08-01 13:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:59:06] 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-08-01 13:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106637568001,"66":14461,"77":206,"83":41984,"24":15,"16":10202325444460544,"45":1128433212245393408},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,83,24,16,45]} 
[2026-08-01 13:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106637568001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:59:06] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-01 13:59:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10202325444460544,"km_value":10202325444460.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1128433212245393408,"description":"Unknown IO ID 45"} 
[2026-08-01 13:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106637568001,"power":14461,"unknown_77":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1128433212245393408}} 
[2026-08-01 13:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":146035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:59:06] local.INFO: GPS data processed {"connection_id":146035,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:59:06] local.INFO: Acknowledgment sent {"connection_id":146035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:59:22] local.INFO: TCP Data received {"connection_id":147257,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc6caa90012cfefe8007003e40000d009e2a..."} 
[2026-08-01 13:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc6caa90012cfefe8007003e40000d009e2a..."} 
[2026-08-01 13:59:22] local.INFO: Processing buffer {"connection_id":147257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc6caa90012cfefe8007003e40000d009e2a..."} 
[2026-08-01 13:59:22] local.INFO: Packet analysis {"connection_id":147257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc6c"} 
[2026-08-01 13:59:22] local.INFO: Extracted packet for processing {"connection_id":147257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc6c"} 
[2026-08-01 13:59:22] local.INFO: GPS Element Parsed {"raw_longitude":754908800,"raw_latitude":117456448,"longitude_deg":75.49088,"latitude_deg":11.7456448,"altitude":13,"angle":158,"satellites":42,"speed":0,"hex_longitude":"2cfefe80","hex_latitude":"07003e40","is_valid_coordinates":true} 
[2026-08-01 13:59: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-08-01 13:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106602496001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 13:59:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72479776434143232,"note":"Value kept but may cause issues"} 
[2026-08-01 13:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785572666000,"timestamp_ms":1785572666000,"timestamp_seconds":1785572666,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc6caa90"} 
[2026-08-01 13:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:59:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 13:59:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:59:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106602496001,"66":27919,"33":206,"28":32256,"24":0,"16":366501297513299968,"44":-72479776434143232},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-08-01 13:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106602496001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:59:22] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-01 13:59:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:59:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72479776434143232,"description":"Unknown IO ID 44"} 
[2026-08-01 13:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106602496001,"power":27919,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-72479776434143232}} 
[2026-08-01 13:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":147257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:59:22] local.INFO: GPS data processed {"connection_id":147257,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:59:22] local.INFO: Acknowledgment sent {"connection_id":147257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:59:37] local.INFO: TCP Data received {"connection_id":146035,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc708ea8012d109dc0072021100062007a29..."} 
[2026-08-01 13:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc708ea8012d109dc0072021100062007a29..."} 
[2026-08-01 13:59:37] local.INFO: Processing buffer {"connection_id":146035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc708ea8012d109dc0072021100062007a29..."} 
[2026-08-01 13:59:37] local.INFO: Packet analysis {"connection_id":146035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc70"} 
[2026-08-01 13:59:37] local.INFO: Extracted packet for processing {"connection_id":146035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc70"} 
[2026-08-01 13:59:37] local.INFO: GPS Element Parsed {"raw_longitude":756063680,"raw_latitude":119546128,"longitude_deg":75.606368,"latitude_deg":11.9546128,"altitude":98,"angle":122,"satellites":41,"speed":20,"hex_longitude":"2d109dc0","hex_latitude":"07202110","is_valid_coordinates":true} 
[2026-08-01 13:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106667264001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10205709878689792,"note":"Value kept but may cause issues"} 
[2026-08-01 13:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1196339050368393216,"note":"Value kept but may cause issues"} 
[2026-08-01 13:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785572921000,"timestamp_ms":1785572921000,"timestamp_seconds":1785572921,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc708ea8"} 
[2026-08-01 13:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-01 13:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 13:59:37] 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-08-01 13:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 13:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 13:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106667264001,"66":14135,"33":206,"83":41984,"24":20,"16":10205709878689792,"45":1196339050368393216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,83,24,16,45]} 
[2026-08-01 13:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 13:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 13:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106667264001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:59:37] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-01 13:59:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 13:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10205709878689792,"km_value":10205709878689.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1196339050368393216,"description":"Unknown IO ID 45"} 
[2026-08-01 13:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106667264001,"power":14135,"unknown_33":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1196339050368393216}} 
[2026-08-01 13:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":146035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:59:37] local.INFO: GPS data processed {"connection_id":146035,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:59:37] local.INFO: Acknowledgment sent {"connection_id":146035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 13:59:44] local.INFO: TCP Data received {"connection_id":147258,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:59:44] local.INFO: Processing buffer {"connection_id":147258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:59:44] local.INFO: IMEI packet received {"connection_id":147258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 13:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":147258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 13:59:49] local.INFO: TCP Data received {"connection_id":147258,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:59:49] local.INFO: Processing buffer {"connection_id":147258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 13:59:49] local.INFO: IMEI packet received {"connection_id":147258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 13:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":147258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 13:59:51] local.INFO: TCP Data received {"connection_id":147258,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc6caa90012cfefe8007003e40000d009e2a..."} 
[2026-08-01 13:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc6caa90012cfefe8007003e40000d009e2a..."} 
[2026-08-01 13:59:51] local.INFO: Processing buffer {"connection_id":147258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc6caa90012cfefe8007003e40000d009e2a..."} 
[2026-08-01 13:59:51] local.INFO: Packet analysis {"connection_id":147258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc6c"} 
[2026-08-01 13:59:51] local.INFO: Extracted packet for processing {"connection_id":147258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc6c"} 
[2026-08-01 13:59:51] local.INFO: GPS Element Parsed {"raw_longitude":754908800,"raw_latitude":117456448,"longitude_deg":75.49088,"latitude_deg":11.7456448,"altitude":13,"angle":158,"satellites":42,"speed":0,"hex_longitude":"2cfefe80","hex_latitude":"07003e40","is_valid_coordinates":true} 
[2026-08-01 13:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 13:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106602496001,"note":"Value kept but may cause issues"} 
[2026-08-01 13:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 13:59:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72479776434143232,"note":"Value kept but may cause issues"} 
[2026-08-01 13:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 13:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785572666000,"timestamp_ms":1785572666000,"timestamp_seconds":1785572666,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc6caa90"} 
[2026-08-01 13:59:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 13:59:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 13:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 13:59:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 13:59:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 13:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 13:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 13:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":147258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 13:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":147258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":147258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 13:59:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 13:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 13:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 13:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106602496001,"66":27919,"33":206,"28":32256,"24":0,"16":366501297513299968,"44":-72479776434143232},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-08-01 13:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 13:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 13:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106602496001,"description":"Unknown IO ID 0"} 
[2026-08-01 13:59:51] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-01 13:59:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 13:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 13:59:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72479776434143232,"description":"Unknown IO ID 44"} 
[2026-08-01 13:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106602496001,"power":27919,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-72479776434143232}} 
[2026-08-01 13:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":147258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 13:59:51] local.INFO: GPS data processed {"connection_id":147258,"processed":1,"errors":0,"total":1} 
[2026-08-01 13:59:51] local.INFO: Acknowledgment sent {"connection_id":147258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:00:05] local.INFO: TCP Data received {"connection_id":146256,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:00:05] local.INFO: Processing buffer {"connection_id":146256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:00:05] local.INFO: IMEI packet received {"connection_id":146256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 14:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":146256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:00:09] local.INFO: TCP Data received {"connection_id":146256,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:00:09] local.INFO: Processing buffer {"connection_id":146256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:00:09] local.INFO: IMEI packet received {"connection_id":146256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":146256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:00:10] local.INFO: TCP Data received {"connection_id":146256,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc70a230012d10a70007201bd0005e006b28..."} 
[2026-08-01 14:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc70a230012d10a70007201bd0005e006b28..."} 
[2026-08-01 14:00:10] local.INFO: Processing buffer {"connection_id":146256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc70a230012d10a70007201bd0005e006b28..."} 
[2026-08-01 14:00:10] local.INFO: Packet analysis {"connection_id":146256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc70"} 
[2026-08-01 14:00:10] local.INFO: Extracted packet for processing {"connection_id":146256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc70"} 
[2026-08-01 14:00:10] local.INFO: GPS Element Parsed {"raw_longitude":756066048,"raw_latitude":119544784,"longitude_deg":75.6066048,"latitude_deg":11.9544784,"altitude":94,"angle":107,"satellites":40,"speed":22,"hex_longitude":"2d10a700","hex_latitude":"07201bd0","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106667776001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10205843022675968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1197324212786761728,"note":"Value kept but may cause issues"} 
[2026-08-01 14:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785572926000,"timestamp_ms":1785572926000,"timestamp_seconds":1785572926,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc70a230"} 
[2026-08-01 14:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-01 14:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14: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-08-01 14:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:00: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-08-01 14:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106667776001,"66":14211,"33":206,"83":41984,"24":22,"16":10205843022675968,"45":1197324212786761728},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,83,24,16,45]} 
[2026-08-01 14:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106667776001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:00:10] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-01 14:00:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10205843022675968,"km_value":10205843022675.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1197324212786761728,"description":"Unknown IO ID 45"} 
[2026-08-01 14:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106667776001,"power":14211,"unknown_33":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1197324212786761728}} 
[2026-08-01 14:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":146256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:00:10] local.INFO: GPS data processed {"connection_id":146256,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:00:10] local.INFO: Acknowledgment sent {"connection_id":146256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:00:11] local.INFO: TCP Data received {"connection_id":146256,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc70aa00012d10ab4007201b20005c005f29..."} 
[2026-08-01 14:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc70aa00012d10ab4007201b20005c005f29..."} 
[2026-08-01 14:00:11] local.INFO: Processing buffer {"connection_id":146256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc70aa00012d10ab4007201b20005c005f29..."} 
[2026-08-01 14:00:11] local.INFO: Packet analysis {"connection_id":146256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc70"} 
[2026-08-01 14:00:11] local.INFO: Extracted packet for processing {"connection_id":146256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc70"} 
[2026-08-01 14:00:11] local.INFO: GPS Element Parsed {"raw_longitude":756067136,"raw_latitude":119544608,"longitude_deg":75.6067136,"latitude_deg":11.9544608,"altitude":92,"angle":95,"satellites":41,"speed":20,"hex_longitude":"2d10ab40","hex_latitude":"07201b20","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106669056001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10205894562283520,"note":"Value kept but may cause issues"} 
[2026-08-01 14:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1199927856320991232,"note":"Value kept but may cause issues"} 
[2026-08-01 14:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785572928000,"timestamp_ms":1785572928000,"timestamp_seconds":1785572928,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc70aa00"} 
[2026-08-01 14:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:00: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-08-01 14: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-01 14:00:11] 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-08-01 14: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-08-01 14:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14: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-08-01 14:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106669056001,"66":13624,"33":206,"83":41984,"24":20,"16":10205894562283520,"45":1199927856320991232},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,83,24,16,45]} 
[2026-08-01 14:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106669056001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:00:11] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-01 14:00:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10205894562283520,"km_value":10205894562283.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1199927856320991232,"description":"Unknown IO ID 45"} 
[2026-08-01 14:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106669056001,"power":13624,"unknown_33":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1199927856320991232}} 
[2026-08-01 14:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":146256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:00:11] local.INFO: GPS data processed {"connection_id":146256,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:00:11] local.INFO: Acknowledgment sent {"connection_id":146256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:00:27] local.INFO: TCP Data received {"connection_id":147258,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc7155e0012cff008007003d580019009e27..."} 
[2026-08-01 14:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc7155e0012cff008007003d580019009e27..."} 
[2026-08-01 14:00:27] local.INFO: Processing buffer {"connection_id":147258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc7155e0012cff008007003d580019009e27..."} 
[2026-08-01 14:00:27] local.INFO: Packet analysis {"connection_id":147258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc71"} 
[2026-08-01 14:00:27] local.INFO: Extracted packet for processing {"connection_id":147258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc71"} 
[2026-08-01 14:00:27] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":25,"angle":158,"satellites":39,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106602496001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:00:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72479776434143232,"note":"Value kept but may cause issues"} 
[2026-08-01 14:00:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785572972000,"timestamp_ms":1785572972000,"timestamp_seconds":1785572972,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc7155e0"} 
[2026-08-01 14:00:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:00:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 14:00:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:00:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:00:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":147258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":147258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":147258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:00:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106602496001,"66":26484,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-72479776434143232},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106602496001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:00:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:00:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72479776434143232,"description":"Unknown IO ID 44"} 
[2026-08-01 14:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106602496001,"power":26484,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-72479776434143232}} 
[2026-08-01 14:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":147258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:00:27] local.INFO: GPS data processed {"connection_id":147258,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:00:27] local.INFO: Acknowledgment sent {"connection_id":147258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:00:42] local.INFO: TCP Data received {"connection_id":146256,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc71bb70012d10f900071fe4680040009e26..."} 
[2026-08-01 14:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc71bb70012d10f900071fe4680040009e26..."} 
[2026-08-01 14:00:42] local.INFO: Processing buffer {"connection_id":146256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc71bb70012d10f900071fe4680040009e26..."} 
[2026-08-01 14:00:42] local.INFO: Packet analysis {"connection_id":146256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc71"} 
[2026-08-01 14:00:42] local.INFO: Extracted packet for processing {"connection_id":146256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc71"} 
[2026-08-01 14:00:42] local.INFO: GPS Element Parsed {"raw_longitude":756087040,"raw_latitude":119530600,"longitude_deg":75.608704,"latitude_deg":11.95306,"altitude":64,"angle":158,"satellites":38,"speed":26,"hex_longitude":"2d10f900","hex_latitude":"071fe468","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106686464001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10207316196458496,"note":"Value kept but may cause issues"} 
[2026-08-01 14:00:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1222445854454931456,"note":"Value kept but may cause issues"} 
[2026-08-01 14:00:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785572998000,"timestamp_ms":1785572998000,"timestamp_seconds":1785572998,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc71bb70"} 
[2026-08-01 14:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-01 14:00:42] 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-08-01 14: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-08-01 14:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":146256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":146256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":146256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:00: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-08-01 14:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106686464001,"66":14624,"33":206,"83":41984,"24":26,"16":10207316196458496,"45":1222445854454931456},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,83,24,16,45]} 
[2026-08-01 14:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106686464001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:00:42] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-01 14:00:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10207316196458496,"km_value":10207316196458.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:00:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1222445854454931456,"description":"Unknown IO ID 45"} 
[2026-08-01 14:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106686464001,"power":14624,"unknown_33":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1222445854454931456}} 
[2026-08-01 14:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":146256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:00:42] local.INFO: GPS data processed {"connection_id":146256,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:00:42] local.INFO: Acknowledgment sent {"connection_id":146256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:00:44] local.INFO: TCP Data received {"connection_id":147259,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:00:44] local.INFO: Processing buffer {"connection_id":147259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:00:44] local.INFO: IMEI packet received {"connection_id":147259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:00:44] local.INFO: IMEI acknowledgment sent {"connection_id":147259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:00:49] local.INFO: TCP Data received {"connection_id":147259,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:00:49] local.INFO: Processing buffer {"connection_id":147259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:00:49] local.INFO: IMEI packet received {"connection_id":147259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":147259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:00:50] local.INFO: TCP Data received {"connection_id":147259,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc7155e0012cff008007003d580019009e27..."} 
[2026-08-01 14:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc7155e0012cff008007003d580019009e27..."} 
[2026-08-01 14:00:50] local.INFO: Processing buffer {"connection_id":147259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc7155e0012cff008007003d580019009e27..."} 
[2026-08-01 14:00:50] local.INFO: Packet analysis {"connection_id":147259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc71"} 
[2026-08-01 14:00:50] local.INFO: Extracted packet for processing {"connection_id":147259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc71"} 
[2026-08-01 14:00:50] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":25,"angle":158,"satellites":39,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106602496001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:00:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:00:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72479776434143232,"note":"Value kept but may cause issues"} 
[2026-08-01 14:00:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:00:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785572972000,"timestamp_ms":1785572972000,"timestamp_seconds":1785572972,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc7155e0"} 
[2026-08-01 14:00:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:00:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 14:00:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:00:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:00:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:00:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:00:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:00:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:00:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:00:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:00:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:00:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:00:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106602496001,"66":26484,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-72479776434143232},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:00:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:00:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:00:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106602496001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:00:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:00:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:00:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72479776434143232,"description":"Unknown IO ID 44"} 
[2026-08-01 14:00:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106602496001,"power":26484,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-72479776434143232}} 
[2026-08-01 14:00:50] local.INFO: DEBUG: GPS processor result {"connection_id":147259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:00:50] local.INFO: GPS data processed {"connection_id":147259,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:00:50] local.INFO: Acknowledgment sent {"connection_id":147259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:00:55] local.INFO: TCP Data received {"connection_id":147259,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc7155e0012cff008007003d580019009e27..."} 
[2026-08-01 14:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc7155e0012cff008007003d580019009e27..."} 
[2026-08-01 14:00:55] local.INFO: Processing buffer {"connection_id":147259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc7155e0012cff008007003d580019009e27..."} 
[2026-08-01 14:00:55] local.INFO: Packet analysis {"connection_id":147259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc71"} 
[2026-08-01 14:00:55] local.INFO: Extracted packet for processing {"connection_id":147259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc71"} 
[2026-08-01 14:00:55] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":25,"angle":158,"satellites":39,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106602496001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:00:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72479776434143232,"note":"Value kept but may cause issues"} 
[2026-08-01 14:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785572972000,"timestamp_ms":1785572972000,"timestamp_seconds":1785572972,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc7155e0"} 
[2026-08-01 14:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 14:00:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":147259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":147259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":147259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106602496001,"66":26484,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-72479776434143232},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106602496001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:00:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:00:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72479776434143232,"description":"Unknown IO ID 44"} 
[2026-08-01 14:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106602496001,"power":26484,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-72479776434143232}} 
[2026-08-01 14:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":147259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:00:55] local.INFO: GPS data processed {"connection_id":147259,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:00:55] local.INFO: Acknowledgment sent {"connection_id":147259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:01:00] local.INFO: TCP Data received {"connection_id":146036,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:01:00] local.INFO: Processing buffer {"connection_id":146036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:01:00] local.INFO: IMEI packet received {"connection_id":146036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 14:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":146036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:01:04] local.INFO: TCP Data received {"connection_id":146036,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:01:04] local.INFO: Processing buffer {"connection_id":146036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:01:04] local.INFO: IMEI packet received {"connection_id":146036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":146036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:01:05] local.INFO: TCP Data received {"connection_id":146036,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc71c340012d10fbc0071fe0600040009125..."} 
[2026-08-01 14:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc71c340012d10fbc0071fe0600040009125..."} 
[2026-08-01 14:01:05] local.INFO: Processing buffer {"connection_id":146036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc71c340012d10fbc0071fe0600040009125..."} 
[2026-08-01 14:01:05] local.INFO: Packet analysis {"connection_id":146036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc71"} 
[2026-08-01 14:01:05] local.INFO: Extracted packet for processing {"connection_id":146036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc71"} 
[2026-08-01 14:01:05] local.INFO: GPS Element Parsed {"raw_longitude":756087744,"raw_latitude":119529568,"longitude_deg":75.6087744,"latitude_deg":11.9529568,"altitude":64,"angle":145,"satellites":37,"speed":20,"hex_longitude":"2d10fbc0","hex_latitude":"071fe060","is_valid_coordinates":true} 
[2026-08-01 14:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106687488001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10207376326000640,"note":"Value kept but may cause issues"} 
[2026-08-01 14:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1223008804407633920,"note":"Value kept but may cause issues"} 
[2026-08-01 14:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785573000000,"timestamp_ms":1785573000000,"timestamp_seconds":1785573000,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc71c340"} 
[2026-08-01 14:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-08-01 14:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":771,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:01:05] 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-08-01 14:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106687488001,"66":14548,"33":206,"83":41984,"24":20,"16":10207376326000640,"45":1223008804407633920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,83,24,16,45]} 
[2026-08-01 14:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106687488001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:01:05] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-01 14:01:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10207376326000640,"km_value":10207376326000.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1223008804407633920,"description":"Unknown IO ID 45"} 
[2026-08-01 14:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106687488001,"power":14548,"unknown_33":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1223008804407633920}} 
[2026-08-01 14:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":146036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:01:05] local.INFO: GPS data processed {"connection_id":146036,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:01:05] local.INFO: Acknowledgment sent {"connection_id":146036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:01:06] local.INFO: TCP Data received {"connection_id":146036,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc71cb10012d10fd40071fdce00040009f27..."} 
[2026-08-01 14:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc71cb10012d10fd40071fdce00040009f27..."} 
[2026-08-01 14:01:06] local.INFO: Processing buffer {"connection_id":146036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc71cb10012d10fd40071fdce00040009f27..."} 
[2026-08-01 14:01:06] local.INFO: Packet analysis {"connection_id":146036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc71"} 
[2026-08-01 14:01:06] local.INFO: Extracted packet for processing {"connection_id":146036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc71"} 
[2026-08-01 14:01:06] local.INFO: GPS Element Parsed {"raw_longitude":756088128,"raw_latitude":119528672,"longitude_deg":75.6088128,"latitude_deg":11.9528672,"altitude":64,"angle":159,"satellites":39,"speed":19,"hex_longitude":"2d10fd40","hex_latitude":"071fdce0","is_valid_coordinates":true} 
[2026-08-01 14:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106688000001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10207423570640896,"note":"Value kept but may cause issues"} 
[2026-08-01 14:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1223782860593324032,"note":"Value kept but may cause issues"} 
[2026-08-01 14:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785573002000,"timestamp_ms":1785573002000,"timestamp_seconds":1785573002,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc71cb10"} 
[2026-08-01 14:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-01 14:01:06] 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-08-01 14:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:01:06] 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-08-01 14:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106688000001,"66":14624,"33":206,"83":41984,"24":19,"16":10207423570640896,"45":1223782860593324032},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,83,24,16,45]} 
[2026-08-01 14:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106688000001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:01:06] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-01 14:01:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10207423570640896,"km_value":10207423570640.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1223782860593324032,"description":"Unknown IO ID 45"} 
[2026-08-01 14:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106688000001,"power":14624,"unknown_33":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1223782860593324032}} 
[2026-08-01 14:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":146036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577438,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:01:06] local.INFO: GPS data processed {"connection_id":146036,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:01:06] local.INFO: Acknowledgment sent {"connection_id":146036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:01:26] local.INFO: TCP Data received {"connection_id":147259,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc7155e0012cff008007003d580019009e27..."} 
[2026-08-01 14:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc7155e0012cff008007003d580019009e27..."} 
[2026-08-01 14:01:26] local.INFO: Processing buffer {"connection_id":147259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc7155e0012cff008007003d580019009e27..."} 
[2026-08-01 14:01:26] local.INFO: Packet analysis {"connection_id":147259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc71"} 
[2026-08-01 14:01:26] local.INFO: Extracted packet for processing {"connection_id":147259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc71"} 
[2026-08-01 14:01:26] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":25,"angle":158,"satellites":39,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106602496001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:01:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72479776434143232,"note":"Value kept but may cause issues"} 
[2026-08-01 14:01:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785572972000,"timestamp_ms":1785572972000,"timestamp_seconds":1785572972,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc7155e0"} 
[2026-08-01 14:01:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:01:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 14:01:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:01:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:01:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":147259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":147259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":147259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:01:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106602496001,"66":26484,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-72479776434143232},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106602496001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:01:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:01:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72479776434143232,"description":"Unknown IO ID 44"} 
[2026-08-01 14:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106602496001,"power":26484,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-72479776434143232}} 
[2026-08-01 14:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":147259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:01:26] local.INFO: GPS data processed {"connection_id":147259,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:01:26] local.INFO: Acknowledgment sent {"connection_id":147259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:01:38] local.INFO: TCP Data received {"connection_id":146036,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc71d6c8012d10fec0071fd6f0003f00ad25..."} 
[2026-08-01 14:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc71d6c8012d10fec0071fd6f0003f00ad25..."} 
[2026-08-01 14:01:38] local.INFO: Processing buffer {"connection_id":146036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc71d6c8012d10fec0071fd6f0003f00ad25..."} 
[2026-08-01 14:01:38] local.INFO: Packet analysis {"connection_id":146036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc71"} 
[2026-08-01 14:01:38] local.INFO: Extracted packet for processing {"connection_id":146036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc71"} 
[2026-08-01 14:01:38] local.INFO: GPS Element Parsed {"raw_longitude":756088512,"raw_latitude":119527152,"longitude_deg":75.6088512,"latitude_deg":11.9527152,"altitude":63,"angle":173,"satellites":37,"speed":20,"hex_longitude":"2d10fec0","hex_latitude":"071fd6f0","is_valid_coordinates":true} 
[2026-08-01 14:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106688512001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10207500880052224,"note":"Value kept but may cause issues"} 
[2026-08-01 14:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224205073058160640,"note":"Value kept but may cause issues"} 
[2026-08-01 14:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785573005000,"timestamp_ms":1785573005000,"timestamp_seconds":1785573005,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc71d6c8"} 
[2026-08-01 14:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-08-01 14:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":771,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:01:38] 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-08-01 14:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106688512001,"66":14591,"33":206,"83":41984,"24":20,"16":10207500880052224,"45":1224205073058160640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,83,24,16,45]} 
[2026-08-01 14:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106688512001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:01:38] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-01 14:01:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10207500880052224,"km_value":10207500880052.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224205073058160640,"description":"Unknown IO ID 45"} 
[2026-08-01 14:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106688512001,"power":14591,"unknown_33":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1224205073058160640}} 
[2026-08-01 14:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":146036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577440,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:01:38] local.INFO: GPS data processed {"connection_id":146036,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:01:38] local.INFO: Acknowledgment sent {"connection_id":146036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:01:44] local.INFO: TCP Data received {"connection_id":146037,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:01:44] local.INFO: Processing buffer {"connection_id":146037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:01:44] local.INFO: IMEI packet received {"connection_id":146037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":146037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:01:49] local.INFO: TCP Data received {"connection_id":146037,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:01:49] local.INFO: Processing buffer {"connection_id":146037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:01:49] local.INFO: IMEI packet received {"connection_id":146037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":146037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:01:50] local.INFO: TCP Data received {"connection_id":146037,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc7155e0012cff008007003d580019009e27..."} 
[2026-08-01 14:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc7155e0012cff008007003d580019009e27..."} 
[2026-08-01 14:01:50] local.INFO: Processing buffer {"connection_id":146037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc7155e0012cff008007003d580019009e27..."} 
[2026-08-01 14:01:50] local.INFO: Packet analysis {"connection_id":146037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc71"} 
[2026-08-01 14:01:50] local.INFO: Extracted packet for processing {"connection_id":146037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc71"} 
[2026-08-01 14:01:50] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":25,"angle":158,"satellites":39,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106602496001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:01:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72479776434143232,"note":"Value kept but may cause issues"} 
[2026-08-01 14:01:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785572972000,"timestamp_ms":1785572972000,"timestamp_seconds":1785572972,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc7155e0"} 
[2026-08-01 14:01:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:01:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 14:01:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:01:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:01:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:01:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106602496001,"66":26484,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-72479776434143232},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106602496001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:01:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:01:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72479776434143232,"description":"Unknown IO ID 44"} 
[2026-08-01 14:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106602496001,"power":26484,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-72479776434143232}} 
[2026-08-01 14:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":146037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:01:51] local.INFO: GPS data processed {"connection_id":146037,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:01:51] local.INFO: Acknowledgment sent {"connection_id":146037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:02:00] local.INFO: TCP Data received {"connection_id":146038,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:02:00] local.INFO: Processing buffer {"connection_id":146038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:02:00] local.INFO: IMEI packet received {"connection_id":146038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 14:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":146038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:02:01] local.INFO: TCP Data received {"connection_id":146038,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:02:01] local.INFO: Processing buffer {"connection_id":146038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:02:01] local.INFO: IMEI packet received {"connection_id":146038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":146038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:02:03] local.INFO: TCP Data received {"connection_id":146038,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:02:03] local.INFO: Processing buffer {"connection_id":146038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:02:03] local.INFO: IMEI packet received {"connection_id":146038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":146038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:02:04] local.INFO: TCP Data received {"connection_id":146038,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc72d0c8012d112100071f4b88003600b024..."} 
[2026-08-01 14:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc72d0c8012d112100071f4b88003600b024..."} 
[2026-08-01 14:02:04] local.INFO: Processing buffer {"connection_id":146038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc72d0c8012d112100071f4b88003600b024..."} 
[2026-08-01 14:02:04] local.INFO: Packet analysis {"connection_id":146038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc72"} 
[2026-08-01 14:02:04] local.INFO: Extracted packet for processing {"connection_id":146038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc72"} 
[2026-08-01 14:02:04] local.INFO: GPS Element Parsed {"raw_longitude":756097280,"raw_latitude":119491464,"longitude_deg":75.609728,"latitude_deg":11.9491464,"altitude":54,"angle":176,"satellites":36,"speed":23,"hex_longitude":"2d112100","hex_latitude":"071f4b88","is_valid_coordinates":true} 
[2026-08-01 14:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106705152001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10209339126054912,"note":"Value kept but may cause issues"} 
[2026-08-01 14:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1233986328489637888,"note":"Value kept but may cause issues"} 
[2026-08-01 14:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785573069000,"timestamp_ms":1785573069000,"timestamp_seconds":1785573069,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc72d0c8"} 
[2026-08-01 14:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:02:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-01 14:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:02:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:02:04] 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-08-01 14:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106705152001,"66":13656,"32":206,"83":41984,"24":23,"16":10209339126054912,"45":1233986328489637888},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,83,24,16,45]} 
[2026-08-01 14:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106705152001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:02:04] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-01 14:02:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10209339126054912,"km_value":10209339126054.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1233986328489637888,"description":"Unknown IO ID 45"} 
[2026-08-01 14:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106705152001,"power":13656,"unknown_32":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1233986328489637888}} 
[2026-08-01 14:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":146038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:02:04] local.INFO: GPS data processed {"connection_id":146038,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:02:04] local.INFO: Acknowledgment sent {"connection_id":146038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:02:23] local.INFO: TCP Data received {"connection_id":146037,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc7155e0012cff008007003d580019009e27..."} 
[2026-08-01 14:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc7155e0012cff008007003d580019009e27..."} 
[2026-08-01 14:02:23] local.INFO: Processing buffer {"connection_id":146037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc7155e0012cff008007003d580019009e27..."} 
[2026-08-01 14:02:23] local.INFO: Packet analysis {"connection_id":146037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc71"} 
[2026-08-01 14:02:23] local.INFO: Extracted packet for processing {"connection_id":146037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc71"} 
[2026-08-01 14:02:23] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":25,"angle":158,"satellites":39,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14:02:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106602496001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:02:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72479776434143232,"note":"Value kept but may cause issues"} 
[2026-08-01 14:02:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785572972000,"timestamp_ms":1785572972000,"timestamp_seconds":1785572972,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc7155e0"} 
[2026-08-01 14:02:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:02:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14:02:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 14:02:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:02:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:02:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":146037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":146037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":146037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:02:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106602496001,"66":26484,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-72479776434143232},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106602496001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:02:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:02:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72479776434143232,"description":"Unknown IO ID 44"} 
[2026-08-01 14:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106602496001,"power":26484,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-72479776434143232}} 
[2026-08-01 14:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":146037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:02:23] local.INFO: GPS data processed {"connection_id":146037,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:02:23] local.INFO: Acknowledgment sent {"connection_id":146037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:02:35] local.INFO: TCP Data received {"connection_id":146038,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc730778012d112180071f2ed0003600a526..."} 
[2026-08-01 14:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc730778012d112180071f2ed0003600a526..."} 
[2026-08-01 14:02:35] local.INFO: Processing buffer {"connection_id":146038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc730778012d112180071f2ed0003600a526..."} 
[2026-08-01 14:02:35] local.INFO: Packet analysis {"connection_id":146038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc73"} 
[2026-08-01 14:02:35] local.INFO: Extracted packet for processing {"connection_id":146038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc73"} 
[2026-08-01 14:02:35] local.INFO: GPS Element Parsed {"raw_longitude":756097408,"raw_latitude":119484112,"longitude_deg":75.6097408,"latitude_deg":11.9484112,"altitude":54,"angle":165,"satellites":38,"speed":11,"hex_longitude":"2d112180","hex_latitude":"071f2ed0","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106705664001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10209695608340480,"note":"Value kept but may cause issues"} 
[2026-08-01 14:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1234267803466041344,"note":"Value kept but may cause issues"} 
[2026-08-01 14:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785573083000,"timestamp_ms":1785573083000,"timestamp_seconds":1785573083,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc730778"} 
[2026-08-01 14:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-01 14:02:35] 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-08-01 14: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-08-01 14:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:02:35] 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-08-01 14:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106705664001,"66":14157,"32":206,"83":41984,"24":11,"16":10209695608340480,"45":1234267803466041344},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,83,24,16,45]} 
[2026-08-01 14:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106705664001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:02:35] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-01 14:02:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10209695608340480,"km_value":10209695608340.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1234267803466041344,"description":"Unknown IO ID 45"} 
[2026-08-01 14:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106705664001,"power":14157,"unknown_32":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1234267803466041344}} 
[2026-08-01 14:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":146038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:02:35] local.INFO: GPS data processed {"connection_id":146038,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:02:35] local.INFO: Acknowledgment sent {"connection_id":146038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:02:49] local.INFO: TCP Data received {"connection_id":147260,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:02:49] local.INFO: Processing buffer {"connection_id":147260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:02:49] local.INFO: IMEI packet received {"connection_id":147260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":147260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:02:54] local.INFO: TCP Data received {"connection_id":147260,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:02:54] local.INFO: Processing buffer {"connection_id":147260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:02:54] local.INFO: IMEI packet received {"connection_id":147260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":147260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:02:56] local.INFO: TCP Data received {"connection_id":147260,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc7155e0012cff008007003d580019009e27..."} 
[2026-08-01 14:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc7155e0012cff008007003d580019009e27..."} 
[2026-08-01 14:02:56] local.INFO: Processing buffer {"connection_id":147260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc7155e0012cff008007003d580019009e27..."} 
[2026-08-01 14:02:56] local.INFO: Packet analysis {"connection_id":147260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc71"} 
[2026-08-01 14:02:56] local.INFO: Extracted packet for processing {"connection_id":147260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc71"} 
[2026-08-01 14:02:56] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":25,"angle":158,"satellites":39,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106602496001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:02:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72479776434143232,"note":"Value kept but may cause issues"} 
[2026-08-01 14:02:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785572972000,"timestamp_ms":1785572972000,"timestamp_seconds":1785572972,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc7155e0"} 
[2026-08-01 14:02:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:02:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 14:02:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:02:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:02:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":147260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":147260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":147260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:02:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106602496001,"66":26484,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-72479776434143232},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106602496001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:02:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:02:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72479776434143232,"description":"Unknown IO ID 44"} 
[2026-08-01 14:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106602496001,"power":26484,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-72479776434143232}} 
[2026-08-01 14:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":147260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:02:56] local.INFO: GPS data processed {"connection_id":147260,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:02:56] local.INFO: Acknowledgment sent {"connection_id":147260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:02:57] local.INFO: TCP Data received {"connection_id":146257,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:02:57] local.INFO: Processing buffer {"connection_id":146257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:02:57] local.INFO: IMEI packet received {"connection_id":146257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 14:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":146257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:03:01] local.INFO: TCP Data received {"connection_id":146257,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:03:01] local.INFO: Processing buffer {"connection_id":146257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:03:01] local.INFO: IMEI packet received {"connection_id":146257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":146257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:03:01] local.INFO: TCP Data received {"connection_id":146257,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:03:01] local.INFO: Processing buffer {"connection_id":146257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:03:01] local.INFO: IMEI packet received {"connection_id":146257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":146257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:03:03] local.INFO: TCP Data received {"connection_id":146257,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:03:03] local.INFO: Processing buffer {"connection_id":146257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:03:03] local.INFO: IMEI packet received {"connection_id":146257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":146257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:03:04] local.INFO: TCP Data received {"connection_id":146257,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc73c2f8012d111e00071f14d0003a011a27..."} 
[2026-08-01 14:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc73c2f8012d111e00071f14d0003a011a27..."} 
[2026-08-01 14:03:04] local.INFO: Processing buffer {"connection_id":146257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc73c2f8012d111e00071f14d0003a011a27..."} 
[2026-08-01 14:03:04] local.INFO: Packet analysis {"connection_id":146257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc73"} 
[2026-08-01 14:03:04] local.INFO: Extracted packet for processing {"connection_id":146257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc73"} 
[2026-08-01 14:03:04] local.INFO: GPS Element Parsed {"raw_longitude":756096512,"raw_latitude":119477456,"longitude_deg":75.6096512,"latitude_deg":11.9477456,"altitude":58,"angle":282,"satellites":39,"speed":4,"hex_longitude":"2d111e00","hex_latitude":"071f14d0","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106721280001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10210056385593344,"note":"Value kept but may cause issues"} 
[2026-08-01 14:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1233564116020660224,"note":"Value kept but may cause issues"} 
[2026-08-01 14:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785573131000,"timestamp_ms":1785573131000,"timestamp_seconds":1785573131,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc73c2f8"} 
[2026-08-01 14:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-01 14:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14: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-08-01 14:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:03:04] 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-08-01 14:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106721280001,"66":14483,"32":206,"83":41984,"24":4,"16":10210056385593344,"45":1233564116020660224},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,83,24,16,45]} 
[2026-08-01 14:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106721280001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:03:04] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-01 14:03:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10210056385593344,"km_value":10210056385593.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1233564116020660224,"description":"Unknown IO ID 45"} 
[2026-08-01 14:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106721280001,"power":14483,"unknown_32":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1233564116020660224}} 
[2026-08-01 14:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":146257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:03:04] local.INFO: GPS data processed {"connection_id":146257,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:03:04] local.INFO: Acknowledgment sent {"connection_id":146257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:03:29] local.INFO: TCP Data received {"connection_id":147260,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc7155e0012cff008007003d580019009e27..."} 
[2026-08-01 14:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc7155e0012cff008007003d580019009e27..."} 
[2026-08-01 14:03:29] local.INFO: Processing buffer {"connection_id":147260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc7155e0012cff008007003d580019009e27..."} 
[2026-08-01 14:03:29] local.INFO: Packet analysis {"connection_id":147260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc71"} 
[2026-08-01 14:03:29] local.INFO: Extracted packet for processing {"connection_id":147260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc71"} 
[2026-08-01 14:03:29] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":25,"angle":158,"satellites":39,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106602496001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:03:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72479776434143232,"note":"Value kept but may cause issues"} 
[2026-08-01 14:03:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785572972000,"timestamp_ms":1785572972000,"timestamp_seconds":1785572972,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc7155e0"} 
[2026-08-01 14:03:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14: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-08-01 14: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":15,"data_length":795,"current_offset":136} 
[2026-08-01 14:03: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-08-01 14: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-08-01 14:03:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":147260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":147260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":147260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:03:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106602496001,"66":26484,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-72479776434143232},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106602496001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:03:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:03:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72479776434143232,"description":"Unknown IO ID 44"} 
[2026-08-01 14:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106602496001,"power":26484,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-72479776434143232}} 
[2026-08-01 14:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":147260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:03:29] local.INFO: GPS data processed {"connection_id":147260,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:03:29] local.INFO: Acknowledgment sent {"connection_id":147260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:03:37] local.INFO: TCP Data received {"connection_id":146257,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc73c6e0012d111d00071f1550003a013226..."} 
[2026-08-01 14:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc73c6e0012d111d00071f1550003a013226..."} 
[2026-08-01 14:03:37] local.INFO: Processing buffer {"connection_id":146257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc73c6e0012d111d00071f1550003a013226..."} 
[2026-08-01 14:03:37] local.INFO: Packet analysis {"connection_id":146257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc73"} 
[2026-08-01 14:03:37] local.INFO: Extracted packet for processing {"connection_id":146257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc73"} 
[2026-08-01 14:03:37] local.INFO: GPS Element Parsed {"raw_longitude":756096256,"raw_latitude":119477584,"longitude_deg":75.6096256,"latitude_deg":11.9477584,"altitude":58,"angle":306,"satellites":38,"speed":6,"hex_longitude":"2d111d00","hex_latitude":"071f1550","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106721536001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10210069270495232,"note":"Value kept but may cause issues"} 
[2026-08-01 14:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1233423378532323328,"note":"Value kept but may cause issues"} 
[2026-08-01 14:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785573132000,"timestamp_ms":1785573132000,"timestamp_seconds":1785573132,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc73c6e0"} 
[2026-08-01 14:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-01 14:03:37] 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-08-01 14: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-08-01 14:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:03:37] 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-08-01 14:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106721536001,"66":14483,"32":206,"83":41984,"24":6,"16":10210069270495232,"45":1233423378532323328},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,83,24,16,45]} 
[2026-08-01 14:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106721536001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:03:37] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-01 14:03:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10210069270495232,"km_value":10210069270495.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1233423378532323328,"description":"Unknown IO ID 45"} 
[2026-08-01 14:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106721536001,"power":14483,"unknown_32":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1233423378532323328}} 
[2026-08-01 14:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":146257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:03:37] local.INFO: GPS data processed {"connection_id":146257,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:03:37] local.INFO: Acknowledgment sent {"connection_id":146257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:03:44] local.INFO: TCP Data received {"connection_id":148573,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:03:44] local.INFO: Processing buffer {"connection_id":148573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:03:44] local.INFO: IMEI packet received {"connection_id":148573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":148573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:03:49] local.INFO: TCP Data received {"connection_id":148573,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:03:49] local.INFO: Processing buffer {"connection_id":148573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:03:49] local.INFO: IMEI packet received {"connection_id":148573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":148573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:03:50] local.INFO: TCP Data received {"connection_id":148573,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc7155e0012cff008007003d580019009e27..."} 
[2026-08-01 14:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc7155e0012cff008007003d580019009e27..."} 
[2026-08-01 14:03:50] local.INFO: Processing buffer {"connection_id":148573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc7155e0012cff008007003d580019009e27..."} 
[2026-08-01 14:03:50] local.INFO: Packet analysis {"connection_id":148573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc71"} 
[2026-08-01 14:03:50] local.INFO: Extracted packet for processing {"connection_id":148573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc71"} 
[2026-08-01 14:03:50] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":25,"angle":158,"satellites":39,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106602496001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:03:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:03:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72479776434143232,"note":"Value kept but may cause issues"} 
[2026-08-01 14:03:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:03:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785572972000,"timestamp_ms":1785572972000,"timestamp_seconds":1785572972,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc7155e0"} 
[2026-08-01 14:03:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:03:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 14:03:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:03:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:03:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:03:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:03:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:03:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:03:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:03:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:03:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:03:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:03:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106602496001,"66":26484,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-72479776434143232},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:03:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:03:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:03:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106602496001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:03:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:03:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:03:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72479776434143232,"description":"Unknown IO ID 44"} 
[2026-08-01 14:03:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106602496001,"power":26484,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-72479776434143232}} 
[2026-08-01 14:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":148573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:03:50] local.INFO: GPS data processed {"connection_id":148573,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:03:50] local.INFO: Acknowledgment sent {"connection_id":148573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:04:00] local.INFO: TCP Data received {"connection_id":146039,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146039,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:04:00] local.INFO: Processing buffer {"connection_id":146039,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:04:00] local.INFO: IMEI packet received {"connection_id":146039,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 14:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":146039,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:04:01] local.INFO: TCP Data received {"connection_id":146039,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146039,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:04:01] local.INFO: Processing buffer {"connection_id":146039,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:04:01] local.INFO: IMEI packet received {"connection_id":146039,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":146039,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:04:05] local.INFO: TCP Data received {"connection_id":146039,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146039,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:04:05] local.INFO: Processing buffer {"connection_id":146039,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:04:05] local.INFO: IMEI packet received {"connection_id":146039,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":146039,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:04:05] local.INFO: TCP Data received {"connection_id":146039,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc74ad58012d119e80071f4d500037005628..."} 
[2026-08-01 14:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc74ad58012d119e80071f4d500037005628..."} 
[2026-08-01 14:04:05] local.INFO: Processing buffer {"connection_id":146039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc74ad58012d119e80071f4d500037005628..."} 
[2026-08-01 14:04:05] local.INFO: Packet analysis {"connection_id":146039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc74"} 
[2026-08-01 14:04:05] local.INFO: Extracted packet for processing {"connection_id":146039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc74"} 
[2026-08-01 14:04:05] local.INFO: GPS Element Parsed {"raw_longitude":756129408,"raw_latitude":119491920,"longitude_deg":75.6129408,"latitude_deg":11.949192,"altitude":55,"angle":86,"satellites":40,"speed":26,"hex_longitude":"2d119e80","hex_latitude":"071f4d50","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106733312001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10211898926563328,"note":"Value kept but may cause issues"} 
[2026-08-01 14:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1258967232672202752,"note":"Value kept but may cause issues"} 
[2026-08-01 14:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785573191000,"timestamp_ms":1785573191000,"timestamp_seconds":1785573191,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc74ad58"} 
[2026-08-01 14:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-01 14:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14: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-08-01 14:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:04:05] 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-08-01 14:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106733312001,"66":14494,"31":206,"83":41984,"24":26,"16":10211898926563328,"45":1258967232672202752},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,45]} 
[2026-08-01 14:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106733312001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:04:05] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-01 14:04:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10211898926563328,"km_value":10211898926563.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1258967232672202752,"description":"Unknown IO ID 45"} 
[2026-08-01 14:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106733312001,"power":14494,"unknown_31":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1258967232672202752}} 
[2026-08-01 14:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":146039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:04:05] local.INFO: GPS data processed {"connection_id":146039,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:04:05] local.INFO: Acknowledgment sent {"connection_id":146039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:04:22] local.INFO: TCP Data received {"connection_id":148573,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc7155e0012cff008007003d580019009e27..."} 
[2026-08-01 14:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc7155e0012cff008007003d580019009e27..."} 
[2026-08-01 14:04:22] local.INFO: Processing buffer {"connection_id":148573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc7155e0012cff008007003d580019009e27..."} 
[2026-08-01 14:04:22] local.INFO: Packet analysis {"connection_id":148573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc71"} 
[2026-08-01 14:04:22] local.INFO: Extracted packet for processing {"connection_id":148573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc71"} 
[2026-08-01 14:04:22] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":25,"angle":158,"satellites":39,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106602496001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:04:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72479776434143232,"note":"Value kept but may cause issues"} 
[2026-08-01 14:04:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785572972000,"timestamp_ms":1785572972000,"timestamp_seconds":1785572972,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc7155e0"} 
[2026-08-01 14:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:04:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 14:04:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14: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-08-01 14:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:04:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106602496001,"66":26484,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-72479776434143232},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106602496001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:04:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:04:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72479776434143232,"description":"Unknown IO ID 44"} 
[2026-08-01 14:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106602496001,"power":26484,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-72479776434143232}} 
[2026-08-01 14:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":148573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:04:22] local.INFO: GPS data processed {"connection_id":148573,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:04:22] local.INFO: Acknowledgment sent {"connection_id":148573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:04:36] local.INFO: TCP Data received {"connection_id":146039,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc74c0e0012d11a9c0071f4d900039006228..."} 
[2026-08-01 14:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc74c0e0012d11a9c0071f4d900039006228..."} 
[2026-08-01 14:04:36] local.INFO: Processing buffer {"connection_id":146039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc74c0e0012d11a9c0071f4d900039006228..."} 
[2026-08-01 14:04:36] local.INFO: Packet analysis {"connection_id":146039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc74"} 
[2026-08-01 14:04:36] local.INFO: Extracted packet for processing {"connection_id":146039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc74"} 
[2026-08-01 14:04:36] local.INFO: GPS Element Parsed {"raw_longitude":756132288,"raw_latitude":119491984,"longitude_deg":75.6132288,"latitude_deg":11.9491984,"altitude":57,"angle":98,"satellites":40,"speed":19,"hex_longitude":"2d11a9c0","hex_latitude":"071f4d90","is_valid_coordinates":true} 
[2026-08-01 14:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106736896001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10212036365516800,"note":"Value kept but may cause issues"} 
[2026-08-01 14:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1269592913043345408,"note":"Value kept but may cause issues"} 
[2026-08-01 14:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785573196000,"timestamp_ms":1785573196000,"timestamp_seconds":1785573196,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc74c0e0"} 
[2026-08-01 14:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-08-01 14:04:36] 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-08-01 14:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:04:36] 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-08-01 14:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106736896001,"66":14494,"31":206,"83":41984,"24":19,"16":10212036365516800,"45":1269592913043345408},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,45]} 
[2026-08-01 14:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106736896001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:04:36] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-01 14:04:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10212036365516800,"km_value":10212036365516.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1269592913043345408,"description":"Unknown IO ID 45"} 
[2026-08-01 14:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106736896001,"power":14494,"unknown_31":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1269592913043345408}} 
[2026-08-01 14:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":146039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:04:36] local.INFO: GPS data processed {"connection_id":146039,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:04:36] local.INFO: Acknowledgment sent {"connection_id":146039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:04:49] local.INFO: TCP Data received {"connection_id":147261,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:04:49] local.INFO: Processing buffer {"connection_id":147261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:04:49] local.INFO: IMEI packet received {"connection_id":147261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":147261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:04:55] local.INFO: TCP Data received {"connection_id":147261,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:04:55] local.INFO: Processing buffer {"connection_id":147261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:04:55] local.INFO: IMEI packet received {"connection_id":147261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":147261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:04:57] local.INFO: TCP Data received {"connection_id":147261,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc7155e0012cff008007003d580019009e27..."} 
[2026-08-01 14:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc7155e0012cff008007003d580019009e27..."} 
[2026-08-01 14:04:57] local.INFO: Processing buffer {"connection_id":147261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc7155e0012cff008007003d580019009e27..."} 
[2026-08-01 14:04:57] local.INFO: Packet analysis {"connection_id":147261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc71"} 
[2026-08-01 14:04:57] local.INFO: Extracted packet for processing {"connection_id":147261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc71"} 
[2026-08-01 14:04:57] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":25,"angle":158,"satellites":39,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:04:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106602496001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:04:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:04:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72479776434143232,"note":"Value kept but may cause issues"} 
[2026-08-01 14:04:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:04:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785572972000,"timestamp_ms":1785572972000,"timestamp_seconds":1785572972,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc7155e0"} 
[2026-08-01 14:04:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:04:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 14:04:57] 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-08-01 14:04:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:04:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:04:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:04:57] local.INFO: Teltonika packet parsed successfully {"connection_id":147261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:04:57] local.INFO: Passing IMEI to GPS processor {"connection_id":147261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:04:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":147261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:04:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:04:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:04:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:04:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106602496001,"66":26484,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-72479776434143232},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:04:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:04:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:04:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106602496001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:04:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:04:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:04:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72479776434143232,"description":"Unknown IO ID 44"} 
[2026-08-01 14:04:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106602496001,"power":26484,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-72479776434143232}} 
[2026-08-01 14:04:57] local.INFO: DEBUG: GPS processor result {"connection_id":147261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:04:57] local.INFO: GPS data processed {"connection_id":147261,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:04:57] local.INFO: Acknowledgment sent {"connection_id":147261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:05:00] local.INFO: TCP Data received {"connection_id":147261,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc7155e0012cff008007003d580019009e27..."} 
[2026-08-01 14:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc7155e0012cff008007003d580019009e27..."} 
[2026-08-01 14:05:00] local.INFO: Processing buffer {"connection_id":147261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc7155e0012cff008007003d580019009e27..."} 
[2026-08-01 14:05:00] local.INFO: Packet analysis {"connection_id":147261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc71"} 
[2026-08-01 14:05:00] local.INFO: Extracted packet for processing {"connection_id":147261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc71"} 
[2026-08-01 14:05:00] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":25,"angle":158,"satellites":39,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106602496001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:05:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72479776434143232,"note":"Value kept but may cause issues"} 
[2026-08-01 14:05:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785572972000,"timestamp_ms":1785572972000,"timestamp_seconds":1785572972,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc7155e0"} 
[2026-08-01 14:05:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:05: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-08-01 14: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 14:05: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-08-01 14: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-08-01 14:05:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":147261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":147261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":147261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:05:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106602496001,"66":26484,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-72479776434143232},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106602496001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:05:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:05:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72479776434143232,"description":"Unknown IO ID 44"} 
[2026-08-01 14:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106602496001,"power":26484,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-72479776434143232}} 
[2026-08-01 14:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":147261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:05:00] local.INFO: GPS data processed {"connection_id":147261,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:05:00] local.INFO: Acknowledgment sent {"connection_id":147261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:05:00] local.INFO: TCP Data received {"connection_id":146258,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146258,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:05:00] local.INFO: Processing buffer {"connection_id":146258,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:05:00] local.INFO: IMEI packet received {"connection_id":146258,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 14:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":146258,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:05:01] local.INFO: TCP Data received {"connection_id":146258,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146258,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:05:01] local.INFO: Processing buffer {"connection_id":146258,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:05:01] local.INFO: IMEI packet received {"connection_id":146258,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":146258,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:05:08] local.INFO: TCP Data received {"connection_id":146258,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146258,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:05:08] local.INFO: Processing buffer {"connection_id":146258,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:05:08] local.INFO: IMEI packet received {"connection_id":146258,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":146258,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:05:08] local.INFO: TCP Data received {"connection_id":146258,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc74d850012d11b480071f4b180039006e28..."} 
[2026-08-01 14:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc74d850012d11b480071f4b180039006e28..."} 
[2026-08-01 14:05:08] local.INFO: Processing buffer {"connection_id":146258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc74d850012d11b480071f4b180039006e28..."} 
[2026-08-01 14:05:08] local.INFO: Packet analysis {"connection_id":146258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc74"} 
[2026-08-01 14:05:08] local.INFO: Extracted packet for processing {"connection_id":146258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc74"} 
[2026-08-01 14:05:08] local.INFO: GPS Element Parsed {"raw_longitude":756135040,"raw_latitude":119491352,"longitude_deg":75.613504,"latitude_deg":11.9491352,"altitude":57,"angle":110,"satellites":40,"speed":18,"hex_longitude":"2d11b480","hex_latitude":"071f4b18","is_valid_coordinates":true} 
[2026-08-01 14:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106738176001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10212169509502976,"note":"Value kept but may cause issues"} 
[2026-08-01 14:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1272759506531356672,"note":"Value kept but may cause issues"} 
[2026-08-01 14:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785573202000,"timestamp_ms":1785573202000,"timestamp_seconds":1785573202,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc74d850"} 
[2026-08-01 14:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-08-01 14:05:08] 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-08-01 14:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":146258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":146258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":146258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:05:08] 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-08-01 14:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106738176001,"66":14483,"31":206,"83":41984,"24":18,"16":10212169509502976,"45":1272759506531356672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,45]} 
[2026-08-01 14:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106738176001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:05:08] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-01 14:05:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10212169509502976,"km_value":10212169509502.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1272759506531356672,"description":"Unknown IO ID 45"} 
[2026-08-01 14:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106738176001,"power":14483,"unknown_31":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1272759506531356672}} 
[2026-08-01 14:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":146258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:05:08] local.INFO: GPS data processed {"connection_id":146258,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:05:08] local.INFO: Acknowledgment sent {"connection_id":146258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:05:40] local.INFO: TCP Data received {"connection_id":146258,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc760ce8012d12f440071f1778002a007129..."} 
[2026-08-01 14:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc760ce8012d12f440071f1778002a007129..."} 
[2026-08-01 14:05:40] local.INFO: Processing buffer {"connection_id":146258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc760ce8012d12f440071f1778002a007129..."} 
[2026-08-01 14:05:40] local.INFO: Packet analysis {"connection_id":146258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc76"} 
[2026-08-01 14:05:40] local.INFO: Extracted packet for processing {"connection_id":146258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc76"} 
[2026-08-01 14:05:40] local.INFO: GPS Element Parsed {"raw_longitude":756216896,"raw_latitude":119478136,"longitude_deg":75.6216896,"latitude_deg":11.9478136,"altitude":42,"angle":113,"satellites":41,"speed":47,"hex_longitude":"2d12f440","hex_latitude":"071f1778","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106758144001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10216206778761216,"note":"Value kept but may cause issues"} 
[2026-08-01 14:05:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1355794624658296832,"note":"Value kept but may cause issues"} 
[2026-08-01 14:05:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785573281000,"timestamp_ms":1785573281000,"timestamp_seconds":1785573281,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc760ce8"} 
[2026-08-01 14:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:05: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-08-01 14: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-01 14:05:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14: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-08-01 14:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:05:40] 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-08-01 14:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106758144001,"66":14461,"31":206,"83":41984,"24":47,"16":10216206778761216,"45":1355794624658296832},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,45]} 
[2026-08-01 14:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106758144001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:05:40] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-01 14:05:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10216206778761216,"km_value":10216206778761.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1355794624658296832,"description":"Unknown IO ID 45"} 
[2026-08-01 14:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106758144001,"power":14461,"unknown_31":206,"unknown_83":41984,"ignition":47,"odometer":null,"unknown_45":1355794624658296832}} 
[2026-08-01 14:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":146258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:05:40] local.INFO: GPS data processed {"connection_id":146258,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:05:40] local.INFO: Acknowledgment sent {"connection_id":146258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:05:45] local.INFO: TCP Data received {"connection_id":146040,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:05:45] local.INFO: Processing buffer {"connection_id":146040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:05:45] local.INFO: IMEI packet received {"connection_id":146040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":146040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:05:55] local.INFO: TCP Data received {"connection_id":146040,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:05:55] local.INFO: Processing buffer {"connection_id":146040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:05:55] local.INFO: IMEI packet received {"connection_id":146040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":146040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:05:56] local.INFO: TCP Data received {"connection_id":146040,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc75eda8012cff008007003d580015009e24..."} 
[2026-08-01 14:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc75eda8012cff008007003d580015009e24..."} 
[2026-08-01 14:05:56] local.INFO: Processing buffer {"connection_id":146040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc75eda8012cff008007003d580015009e24..."} 
[2026-08-01 14:05:56] local.INFO: Packet analysis {"connection_id":146040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc75"} 
[2026-08-01 14:05:56] local.INFO: Extracted packet for processing {"connection_id":146040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc75"} 
[2026-08-01 14:05:56] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":21,"angle":158,"satellites":36,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106680832001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:05:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:05:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785573273000,"timestamp_ms":1785573273000,"timestamp_seconds":1785573273,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc75eda8"} 
[2026-08-01 14:05:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:05:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-01 14:05:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:05:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:05:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":146040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":146040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":146040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:05:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106680832001,"66":26223,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106680832001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:05:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:05:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106680832001,"power":26223,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":146040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:05:56] local.INFO: GPS data processed {"connection_id":146040,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:05:56] local.INFO: Acknowledgment sent {"connection_id":146040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:05:57] local.INFO: TCP Data received {"connection_id":146040,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc75eda8012cff008007003d580015009e24..."} 
[2026-08-01 14:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc75eda8012cff008007003d580015009e24..."} 
[2026-08-01 14:05:57] local.INFO: Processing buffer {"connection_id":146040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc75eda8012cff008007003d580015009e24..."} 
[2026-08-01 14:05:57] local.INFO: Packet analysis {"connection_id":146040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc75"} 
[2026-08-01 14:05:57] local.INFO: Extracted packet for processing {"connection_id":146040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc75"} 
[2026-08-01 14:05:57] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":21,"angle":158,"satellites":36,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106680832001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:05:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:05:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:05:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:05:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785573273000,"timestamp_ms":1785573273000,"timestamp_seconds":1785573273,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc75eda8"} 
[2026-08-01 14:05:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:05:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-01 14:05:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:05:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:05:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:05:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:05:57] local.INFO: Teltonika packet parsed successfully {"connection_id":146040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:05:57] local.INFO: Passing IMEI to GPS processor {"connection_id":146040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:05:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":146040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:05:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:05:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:05:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:05:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106680832001,"66":26223,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:05:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:05:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:05:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106680832001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:05:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:05:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:05:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:05:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106680832001,"power":26223,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:05:57] local.INFO: DEBUG: GPS processor result {"connection_id":146040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:05:57] local.INFO: GPS data processed {"connection_id":146040,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:05:57] local.INFO: Acknowledgment sent {"connection_id":146040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:06:00] local.INFO: TCP Data received {"connection_id":147262,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:06:00] local.INFO: Processing buffer {"connection_id":147262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:06:00] local.INFO: IMEI packet received {"connection_id":147262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 14:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":147262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:06:00] local.INFO: TCP Data received {"connection_id":147262,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:06:00] local.INFO: Processing buffer {"connection_id":147262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:06:00] local.INFO: IMEI packet received {"connection_id":147262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":147262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:06:05] local.INFO: TCP Data received {"connection_id":147262,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:06:05] local.INFO: Processing buffer {"connection_id":147262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:06:05] local.INFO: IMEI packet received {"connection_id":147262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":147262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:06:06] local.INFO: TCP Data received {"connection_id":147262,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc762c28012d131580071f0ae80029006928..."} 
[2026-08-01 14:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc762c28012d131580071f0ae80029006928..."} 
[2026-08-01 14:06:06] local.INFO: Processing buffer {"connection_id":147262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc762c28012d131580071f0ae80029006928..."} 
[2026-08-01 14:06:06] local.INFO: Packet analysis {"connection_id":147262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc76"} 
[2026-08-01 14:06:06] local.INFO: Extracted packet for processing {"connection_id":147262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc76"} 
[2026-08-01 14:06:06] local.INFO: GPS Element Parsed {"raw_longitude":756225408,"raw_latitude":119474920,"longitude_deg":75.6225408,"latitude_deg":11.947492,"altitude":41,"angle":105,"satellites":40,"speed":46,"hex_longitude":"2d131580","hex_latitude":"071f0ae8","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106759936001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10216644865425408,"note":"Value kept but may cause issues"} 
[2026-08-01 14:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1365786986330683392,"note":"Value kept but may cause issues"} 
[2026-08-01 14:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785573289000,"timestamp_ms":1785573289000,"timestamp_seconds":1785573289,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc762c28"} 
[2026-08-01 14:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-01 14:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14: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-08-01 14:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:06:06] 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-08-01 14:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106759936001,"66":14233,"31":206,"83":41984,"24":46,"16":10216644865425408,"45":1365786986330683392},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,45]} 
[2026-08-01 14:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106759936001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:06:06] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-01 14:06:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10216644865425408,"km_value":10216644865425.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1365786986330683392,"description":"Unknown IO ID 45"} 
[2026-08-01 14:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106759936001,"power":14233,"unknown_31":206,"unknown_83":41984,"ignition":46,"odometer":null,"unknown_45":1365786986330683392}} 
[2026-08-01 14:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":147262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:06:06] local.INFO: GPS data processed {"connection_id":147262,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:06:06] local.INFO: Acknowledgment sent {"connection_id":147262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:06:29] local.INFO: TCP Data received {"connection_id":146040,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc75eda8012cff008007003d580015009e24..."} 
[2026-08-01 14:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc75eda8012cff008007003d580015009e24..."} 
[2026-08-01 14:06:29] local.INFO: Processing buffer {"connection_id":146040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc75eda8012cff008007003d580015009e24..."} 
[2026-08-01 14:06:29] local.INFO: Packet analysis {"connection_id":146040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc75"} 
[2026-08-01 14:06:29] local.INFO: Extracted packet for processing {"connection_id":146040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc75"} 
[2026-08-01 14:06:29] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":21,"angle":158,"satellites":36,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14:06:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106680832001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:06:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:06:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785573273000,"timestamp_ms":1785573273000,"timestamp_seconds":1785573273,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc75eda8"} 
[2026-08-01 14:06:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14: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-08-01 14:06:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-01 14:06:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:06:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:06:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":146040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":146040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":146040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:06:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106680832001,"66":26223,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106680832001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:06:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:06:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106680832001,"power":26223,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":146040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:06:29] local.INFO: GPS data processed {"connection_id":146040,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:06:29] local.INFO: Acknowledgment sent {"connection_id":146040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:06:37] local.INFO: TCP Data received {"connection_id":147262,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc764b68012d133b80071f0148002a006a29..."} 
[2026-08-01 14:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc764b68012d133b80071f0148002a006a29..."} 
[2026-08-01 14:06:37] local.INFO: Processing buffer {"connection_id":147262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc764b68012d133b80071f0148002a006a29..."} 
[2026-08-01 14:06:37] local.INFO: Packet analysis {"connection_id":147262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc76"} 
[2026-08-01 14:06:37] local.INFO: Extracted packet for processing {"connection_id":147262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc76"} 
[2026-08-01 14:06:37] local.INFO: GPS Element Parsed {"raw_longitude":756235136,"raw_latitude":119472456,"longitude_deg":75.6235136,"latitude_deg":11.9472456,"altitude":42,"angle":106,"satellites":41,"speed":50,"hex_longitude":"2d133b80","hex_latitude":"071f0148","is_valid_coordinates":true} 
[2026-08-01 14:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106761984001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10217117311827968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1375146029305489408,"note":"Value kept but may cause issues"} 
[2026-08-01 14:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785573297000,"timestamp_ms":1785573297000,"timestamp_seconds":1785573297,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc764b68"} 
[2026-08-01 14:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-01 14:06:37] 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-08-01 14:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:06:37] 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-08-01 14:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106761984001,"66":14396,"11":206,"83":41984,"24":50,"16":10217117311827968,"45":1375146029305489408},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-08-01 14:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106761984001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:06:37] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-01 14:06:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10217117311827968,"km_value":10217117311827.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1375146029305489408,"description":"Unknown IO ID 45"} 
[2026-08-01 14:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106761984001,"power":14396,"unknown_11":206,"unknown_83":41984,"ignition":50,"odometer":null,"unknown_45":1375146029305489408}} 
[2026-08-01 14:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":147262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:06:37] local.INFO: GPS data processed {"connection_id":147262,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:06:37] local.INFO: Acknowledgment sent {"connection_id":147262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:06:44] local.INFO: TCP Data received {"connection_id":146259,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:06:44] local.INFO: Processing buffer {"connection_id":146259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:06:44] local.INFO: IMEI packet received {"connection_id":146259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":146259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:06:49] local.INFO: TCP Data received {"connection_id":146259,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:06:49] local.INFO: Processing buffer {"connection_id":146259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:06:49] local.INFO: IMEI packet received {"connection_id":146259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":146259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:06:50] local.INFO: TCP Data received {"connection_id":146259,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc75eda8012cff008007003d580015009e24..."} 
[2026-08-01 14:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc75eda8012cff008007003d580015009e24..."} 
[2026-08-01 14:06:50] local.INFO: Processing buffer {"connection_id":146259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc75eda8012cff008007003d580015009e24..."} 
[2026-08-01 14:06:50] local.INFO: Packet analysis {"connection_id":146259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc75"} 
[2026-08-01 14:06:50] local.INFO: Extracted packet for processing {"connection_id":146259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc75"} 
[2026-08-01 14:06:50] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":21,"angle":158,"satellites":36,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:06:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106680832001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:06:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:06:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:06:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:06:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785573273000,"timestamp_ms":1785573273000,"timestamp_seconds":1785573273,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc75eda8"} 
[2026-08-01 14:06:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:06:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-01 14:06:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:06:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:06:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:06:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:06:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:06:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:06:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:06:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:06:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:06:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:06:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106680832001,"66":26223,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:06:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:06:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:06:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106680832001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:06:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:06:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:06:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:06:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106680832001,"power":26223,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":146259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:06:51] local.INFO: GPS data processed {"connection_id":146259,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:06:51] local.INFO: Acknowledgment sent {"connection_id":146259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:07:07] local.INFO: TCP Data received {"connection_id":148574,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:07:07] local.INFO: Processing buffer {"connection_id":148574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:07:07] local.INFO: IMEI packet received {"connection_id":148574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 14:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":148574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:07:09] local.INFO: TCP Data received {"connection_id":148574,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:07:09] local.INFO: Processing buffer {"connection_id":148574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:07:09] local.INFO: IMEI packet received {"connection_id":148574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":148574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:07:10] local.INFO: TCP Data received {"connection_id":148574,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc777830012d1487c0071f6428002f00352a..."} 
[2026-08-01 14:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc777830012d1487c0071f6428002f00352a..."} 
[2026-08-01 14:07:10] local.INFO: Processing buffer {"connection_id":148574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc777830012d1487c0071f6428002f00352a..."} 
[2026-08-01 14:07:10] local.INFO: Packet analysis {"connection_id":148574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc77"} 
[2026-08-01 14:07:10] local.INFO: Extracted packet for processing {"connection_id":148574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc77"} 
[2026-08-01 14:07:10] local.INFO: GPS Element Parsed {"raw_longitude":756320192,"raw_latitude":119497768,"longitude_deg":75.6320192,"latitude_deg":11.9497768,"altitude":47,"angle":53,"satellites":42,"speed":38,"hex_longitude":"2d1487c0","hex_latitude":"071f6428","is_valid_coordinates":true} 
[2026-08-01 14:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106780928001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10221450933829632,"note":"Value kept but may cause issues"} 
[2026-08-01 14:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1470566046414856192,"note":"Value kept but may cause issues"} 
[2026-08-01 14:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785573374000,"timestamp_ms":1785573374000,"timestamp_seconds":1785573374,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc777830"} 
[2026-08-01 14:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-01 14:07:10] 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-08-01 14:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":148574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":148574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":148574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:07: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-08-01 14:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106780928001,"66":14591,"11":206,"83":41984,"24":38,"16":10221450933829632,"45":1470566046414856192},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-08-01 14:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106780928001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:07:10] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-01 14:07:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10221450933829632,"km_value":10221450933829.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1470566046414856192,"description":"Unknown IO ID 45"} 
[2026-08-01 14:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106780928001,"power":14591,"unknown_11":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1470566046414856192}} 
[2026-08-01 14:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":148574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577463,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:07:10] local.INFO: GPS data processed {"connection_id":148574,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:07:10] local.INFO: Acknowledgment sent {"connection_id":148574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:07:22] local.INFO: TCP Data received {"connection_id":146259,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc75eda8012cff008007003d580015009e24..."} 
[2026-08-01 14:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc75eda8012cff008007003d580015009e24..."} 
[2026-08-01 14:07:22] local.INFO: Processing buffer {"connection_id":146259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc75eda8012cff008007003d580015009e24..."} 
[2026-08-01 14:07:22] local.INFO: Packet analysis {"connection_id":146259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc75"} 
[2026-08-01 14:07:22] local.INFO: Extracted packet for processing {"connection_id":146259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc75"} 
[2026-08-01 14:07:22] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":21,"angle":158,"satellites":36,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106680832001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:07:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:07:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785573273000,"timestamp_ms":1785573273000,"timestamp_seconds":1785573273,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc75eda8"} 
[2026-08-01 14:07:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:07:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-01 14:07:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:07:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:07:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:07:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:07:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106680832001,"66":26223,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:07:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:07:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:07:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106680832001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:07:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:07:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:07:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:07:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106680832001,"power":26223,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":146259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:07:22] local.INFO: GPS data processed {"connection_id":146259,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:07:22] local.INFO: Acknowledgment sent {"connection_id":146259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:07:41] local.INFO: TCP Data received {"connection_id":148574,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc779b58012d14a4c0071f79e80035003b2a..."} 
[2026-08-01 14:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc779b58012d14a4c0071f79e80035003b2a..."} 
[2026-08-01 14:07:41] local.INFO: Processing buffer {"connection_id":148574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc779b58012d14a4c0071f79e80035003b2a..."} 
[2026-08-01 14:07:41] local.INFO: Packet analysis {"connection_id":148574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc77"} 
[2026-08-01 14:07:41] local.INFO: Extracted packet for processing {"connection_id":148574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc77"} 
[2026-08-01 14:07:41] local.INFO: GPS Element Parsed {"raw_longitude":756327616,"raw_latitude":119503336,"longitude_deg":75.6327616,"latitude_deg":11.9503336,"altitude":53,"angle":59,"satellites":42,"speed":42,"hex_longitude":"2d14a4c0","hex_latitude":"071f79e8","is_valid_coordinates":true} 
[2026-08-01 14:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106783744001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10221897610428416,"note":"Value kept but may cause issues"} 
[2026-08-01 14:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1479362139438458880,"note":"Value kept but may cause issues"} 
[2026-08-01 14:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785573383000,"timestamp_ms":1785573383000,"timestamp_seconds":1785573383,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc779b58"} 
[2026-08-01 14:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 14:07:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2773,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:07:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":148574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":148574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":148574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:07: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-08-01 14:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106783744001,"66":14135,"12":206,"83":41984,"24":42,"16":10221897610428416,"45":1479362139438458880},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-08-01 14:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106783744001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:07:41] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-01 14:07:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10221897610428416,"km_value":10221897610428.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1479362139438458880,"description":"Unknown IO ID 45"} 
[2026-08-01 14:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106783744001,"power":14135,"unknown_12":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1479362139438458880}} 
[2026-08-01 14:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":148574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:07:41] local.INFO: GPS data processed {"connection_id":148574,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:07:41] local.INFO: Acknowledgment sent {"connection_id":148574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:07:44] local.INFO: TCP Data received {"connection_id":146041,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:07:44] local.INFO: Processing buffer {"connection_id":146041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:07:44] local.INFO: IMEI packet received {"connection_id":146041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":146041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:07:49] local.INFO: TCP Data received {"connection_id":146041,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:07:49] local.INFO: Processing buffer {"connection_id":146041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:07:49] local.INFO: IMEI packet received {"connection_id":146041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":146041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:07:55] local.INFO: TCP Data received {"connection_id":146041,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc75eda8012cff008007003d580015009e24..."} 
[2026-08-01 14:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc75eda8012cff008007003d580015009e24..."} 
[2026-08-01 14:07:55] local.INFO: Processing buffer {"connection_id":146041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc75eda8012cff008007003d580015009e24..."} 
[2026-08-01 14:07:55] local.INFO: Packet analysis {"connection_id":146041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc75"} 
[2026-08-01 14:07:55] local.INFO: Extracted packet for processing {"connection_id":146041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc75"} 
[2026-08-01 14:07:55] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":21,"angle":158,"satellites":36,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106680832001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:07:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:07:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785573273000,"timestamp_ms":1785573273000,"timestamp_seconds":1785573273,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc75eda8"} 
[2026-08-01 14:07:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:07:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-01 14:07:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:07:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:07:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":146041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":146041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":146041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:07:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106680832001,"66":26223,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106680832001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:07:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:07:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106680832001,"power":26223,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":146041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:07:55] local.INFO: GPS data processed {"connection_id":146041,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:07:55] local.INFO: Acknowledgment sent {"connection_id":146041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:08:00] local.INFO: TCP Data received {"connection_id":147263,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:08:00] local.INFO: Processing buffer {"connection_id":147263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:08:00] local.INFO: IMEI packet received {"connection_id":147263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 14:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":147263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:08:01] local.INFO: TCP Data received {"connection_id":147263,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:08:01] local.INFO: Processing buffer {"connection_id":147263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:08:01] local.INFO: IMEI packet received {"connection_id":147263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":147263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:08:05] local.INFO: TCP Data received {"connection_id":147263,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:08:05] local.INFO: Processing buffer {"connection_id":147263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:08:05] local.INFO: IMEI packet received {"connection_id":147263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":147263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:08:06] local.INFO: TCP Data received {"connection_id":147263,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc77ba98012d14c280071f8708003800472a..."} 
[2026-08-01 14:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc77ba98012d14c280071f8708003800472a..."} 
[2026-08-01 14:08:06] local.INFO: Processing buffer {"connection_id":147263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc77ba98012d14c280071f8708003800472a..."} 
[2026-08-01 14:08:06] local.INFO: Packet analysis {"connection_id":147263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc77"} 
[2026-08-01 14:08:06] local.INFO: Extracted packet for processing {"connection_id":147263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc77"} 
[2026-08-01 14:08:06] local.INFO: GPS Element Parsed {"raw_longitude":756335232,"raw_latitude":119506696,"longitude_deg":75.6335232,"latitude_deg":11.9506696,"altitude":56,"angle":71,"satellites":42,"speed":40,"hex_longitude":"2d14c280","hex_latitude":"071f8708","is_valid_coordinates":true} 
[2026-08-01 14:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106786048001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10222292747419648,"note":"Value kept but may cause issues"} 
[2026-08-01 14:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1487524913764493312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785573391000,"timestamp_ms":1785573391000,"timestamp_seconds":1785573391,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc77ba98"} 
[2026-08-01 14:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-01 14:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:08:06] 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-08-01 14:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106786048001,"66":14102,"12":206,"83":41984,"24":40,"16":10222292747419648,"45":1487524913764493312},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-08-01 14:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106786048001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:08:06] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-01 14:08:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10222292747419648,"km_value":10222292747419.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1487524913764493312,"description":"Unknown IO ID 45"} 
[2026-08-01 14:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106786048001,"power":14102,"unknown_12":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1487524913764493312}} 
[2026-08-01 14:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":147263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:08:06] local.INFO: GPS data processed {"connection_id":147263,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:08:06] local.INFO: Acknowledgment sent {"connection_id":147263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:08:26] local.INFO: TCP Data received {"connection_id":146041,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc75eda8012cff008007003d580015009e24..."} 
[2026-08-01 14:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc75eda8012cff008007003d580015009e24..."} 
[2026-08-01 14:08:26] local.INFO: Processing buffer {"connection_id":146041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc75eda8012cff008007003d580015009e24..."} 
[2026-08-01 14:08:26] local.INFO: Packet analysis {"connection_id":146041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc75"} 
[2026-08-01 14:08:26] local.INFO: Extracted packet for processing {"connection_id":146041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc75"} 
[2026-08-01 14:08:26] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":21,"angle":158,"satellites":36,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:08:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106680832001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:08:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:08:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:08:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:08:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785573273000,"timestamp_ms":1785573273000,"timestamp_seconds":1785573273,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc75eda8"} 
[2026-08-01 14:08:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:08:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14: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":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-01 14:08:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14: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-08-01 14:08:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:08:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:08:26] local.INFO: Teltonika packet parsed successfully {"connection_id":146041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:08:26] local.INFO: Passing IMEI to GPS processor {"connection_id":146041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:08:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":146041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:08:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:08:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:08:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:08:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106680832001,"66":26223,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:08:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:08:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:08:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106680832001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:08:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:08:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:08:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:08:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106680832001,"power":26223,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:08:26] local.INFO: DEBUG: GPS processor result {"connection_id":146041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:08:26] local.INFO: GPS data processed {"connection_id":146041,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:08:26] local.INFO: Acknowledgment sent {"connection_id":146041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:08:37] local.INFO: TCP Data received {"connection_id":147263,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc77ddc0012d14e700071f93b0003a004529..."} 
[2026-08-01 14:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc77ddc0012d14e700071f93b0003a004529..."} 
[2026-08-01 14:08:37] local.INFO: Processing buffer {"connection_id":147263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc77ddc0012d14e700071f93b0003a004529..."} 
[2026-08-01 14:08:37] local.INFO: Packet analysis {"connection_id":147263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc77"} 
[2026-08-01 14:08:37] local.INFO: Extracted packet for processing {"connection_id":147263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc77"} 
[2026-08-01 14:08:37] local.INFO: GPS Element Parsed {"raw_longitude":756344576,"raw_latitude":119509936,"longitude_deg":75.6344576,"latitude_deg":11.9509936,"altitude":58,"angle":69,"satellites":41,"speed":46,"hex_longitude":"2d14e700","hex_latitude":"071f93b0","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106788096001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10222765193822208,"note":"Value kept but may cause issues"} 
[2026-08-01 14:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1495898794322495488,"note":"Value kept but may cause issues"} 
[2026-08-01 14:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785573400000,"timestamp_ms":1785573400000,"timestamp_seconds":1785573400,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc77ddc0"} 
[2026-08-01 14:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-01 14:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14: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-08-01 14:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:08:37] 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-08-01 14:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106788096001,"66":14265,"12":206,"83":41984,"24":46,"16":10222765193822208,"45":1495898794322495488},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-08-01 14:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106788096001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:08:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-01 14:08:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10222765193822208,"km_value":10222765193822.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1495898794322495488,"description":"Unknown IO ID 45"} 
[2026-08-01 14:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106788096001,"power":14265,"unknown_12":206,"unknown_83":41984,"ignition":46,"odometer":null,"unknown_45":1495898794322495488}} 
[2026-08-01 14:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":147263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:08:37] local.INFO: GPS data processed {"connection_id":147263,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:08:37] local.INFO: Acknowledgment sent {"connection_id":147263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:08:49] local.INFO: TCP Data received {"connection_id":146042,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:08:49] local.INFO: Processing buffer {"connection_id":146042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:08:49] local.INFO: IMEI packet received {"connection_id":146042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":146042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:09:00] local.INFO: TCP Data received {"connection_id":146043,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:09:00] local.INFO: Processing buffer {"connection_id":146043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:09:00] local.INFO: IMEI packet received {"connection_id":146043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 14:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":146043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:09:02] local.INFO: TCP Data received {"connection_id":146042,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:09:02] local.INFO: Processing buffer {"connection_id":146042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:09:02] local.INFO: IMEI packet received {"connection_id":146042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":146042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:09:03] local.INFO: TCP Data received {"connection_id":146042,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc75eda8012cff008007003d580015009e24..."} 
[2026-08-01 14:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc75eda8012cff008007003d580015009e24..."} 
[2026-08-01 14:09:03] local.INFO: Processing buffer {"connection_id":146042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc75eda8012cff008007003d580015009e24..."} 
[2026-08-01 14:09:03] local.INFO: Packet analysis {"connection_id":146042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc75"} 
[2026-08-01 14:09:03] local.INFO: Extracted packet for processing {"connection_id":146042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc75"} 
[2026-08-01 14:09:03] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":21,"angle":158,"satellites":36,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106680832001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:09:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785573273000,"timestamp_ms":1785573273000,"timestamp_seconds":1785573273,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc75eda8"} 
[2026-08-01 14:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:09: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-08-01 14: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":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-01 14:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14: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-08-01 14:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106680832001,"66":26223,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106680832001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:09:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:09:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106680832001,"power":26223,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":146042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:09:03] local.INFO: GPS data processed {"connection_id":146042,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:09:03] local.INFO: Acknowledgment sent {"connection_id":146042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:09:04] local.INFO: TCP Data received {"connection_id":146042,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc75eda8012cff008007003d580015009e24..."} 
[2026-08-01 14:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc75eda8012cff008007003d580015009e24..."} 
[2026-08-01 14:09:04] local.INFO: Processing buffer {"connection_id":146042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc75eda8012cff008007003d580015009e24..."} 
[2026-08-01 14:09:04] local.INFO: Packet analysis {"connection_id":146042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc75"} 
[2026-08-01 14:09:04] local.INFO: Extracted packet for processing {"connection_id":146042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc75"} 
[2026-08-01 14:09:04] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":21,"angle":158,"satellites":36,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106680832001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:09:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785573273000,"timestamp_ms":1785573273000,"timestamp_seconds":1785573273,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc75eda8"} 
[2026-08-01 14:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14: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":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-01 14:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14: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-08-01 14:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106680832001,"66":26223,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106680832001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:09:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:09:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106680832001,"power":26223,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":146042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:09:05] local.INFO: GPS data processed {"connection_id":146042,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:09:05] local.INFO: Acknowledgment sent {"connection_id":146042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:09:06] local.INFO: TCP Data received {"connection_id":146043,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:09:06] local.INFO: Processing buffer {"connection_id":146043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:09:06] local.INFO: IMEI packet received {"connection_id":146043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":146043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:09:07] local.INFO: TCP Data received {"connection_id":146043,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc790e70012d160fc0071fe108002000572a..."} 
[2026-08-01 14:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc790e70012d160fc0071fe108002000572a..."} 
[2026-08-01 14:09:07] local.INFO: Processing buffer {"connection_id":146043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc790e70012d160fc0071fe108002000572a..."} 
[2026-08-01 14:09:07] local.INFO: Packet analysis {"connection_id":146043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc79"} 
[2026-08-01 14:09:07] local.INFO: Extracted packet for processing {"connection_id":146043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc79"} 
[2026-08-01 14:09:07] local.INFO: GPS Element Parsed {"raw_longitude":756420544,"raw_latitude":119529736,"longitude_deg":75.6420544,"latitude_deg":11.9529736,"altitude":32,"angle":87,"satellites":42,"speed":26,"hex_longitude":"2d160fc0","hex_latitude":"071fe108","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106806272001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10226600599617536,"note":"Value kept but may cause issues"} 
[2026-08-01 14:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1579074649946144768,"note":"Value kept but may cause issues"} 
[2026-08-01 14:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785573478000,"timestamp_ms":1785573478000,"timestamp_seconds":1785573478,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc790e70"} 
[2026-08-01 14:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-01 14:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14: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-08-01 14:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:09: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-08-01 14:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106806272001,"66":14483,"87":206,"83":41984,"24":26,"16":10226600599617536,"45":1579074649946144768},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-08-01 14:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106806272001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:09:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-01 14:09:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10226600599617536,"km_value":10226600599617.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1579074649946144768,"description":"Unknown IO ID 45"} 
[2026-08-01 14:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106806272001,"power":14483,"unknown_87":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1579074649946144768}} 
[2026-08-01 14:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":146043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:09:07] local.INFO: GPS data processed {"connection_id":146043,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:09:07] local.INFO: Acknowledgment sent {"connection_id":146043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:09:38] local.INFO: TCP Data received {"connection_id":146043,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc792db0012d1627c0071fe4900022004a28..."} 
[2026-08-01 14:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc792db0012d1627c0071fe4900022004a28..."} 
[2026-08-01 14:09:38] local.INFO: Processing buffer {"connection_id":146043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc792db0012d1627c0071fe4900022004a28..."} 
[2026-08-01 14:09:38] local.INFO: Packet analysis {"connection_id":146043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc79"} 
[2026-08-01 14:09:38] local.INFO: Extracted packet for processing {"connection_id":146043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc79"} 
[2026-08-01 14:09:38] local.INFO: GPS Element Parsed {"raw_longitude":756426688,"raw_latitude":119530640,"longitude_deg":75.6426688,"latitude_deg":11.953064,"altitude":34,"angle":74,"satellites":40,"speed":29,"hex_longitude":"2d1627c0","hex_latitude":"071fe490","is_valid_coordinates":true} 
[2026-08-01 14:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106810368001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10226896952360960,"note":"Value kept but may cause issues"} 
[2026-08-01 14:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1589700330317219840,"note":"Value kept but may cause issues"} 
[2026-08-01 14:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785573486000,"timestamp_ms":1785573486000,"timestamp_seconds":1785573486,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc792db0"} 
[2026-08-01 14:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-01 14:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:09:38] 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-08-01 14:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106810368001,"66":14483,"85":206,"83":41984,"24":29,"16":10226896952360960,"45":1589700330317219840},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-08-01 14:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106810368001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:09:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-08-01 14:09:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10226896952360960,"km_value":10226896952360.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1589700330317219840,"description":"Unknown IO ID 45"} 
[2026-08-01 14:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106810368001,"power":14483,"unknown_85":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1589700330317219840}} 
[2026-08-01 14:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":146043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:09:38] local.INFO: GPS data processed {"connection_id":146043,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:09:38] local.INFO: Acknowledgment sent {"connection_id":146043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:09:44] local.INFO: TCP Data received {"connection_id":146044,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:09:44] local.INFO: Processing buffer {"connection_id":146044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:09:44] local.INFO: IMEI packet received {"connection_id":146044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":146044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:09:49] local.INFO: TCP Data received {"connection_id":146044,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:09:49] local.INFO: Processing buffer {"connection_id":146044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:09:49] local.INFO: IMEI packet received {"connection_id":146044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":146044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:09:50] local.INFO: TCP Data received {"connection_id":146044,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc75eda8012cff008007003d580015009e24..."} 
[2026-08-01 14:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc75eda8012cff008007003d580015009e24..."} 
[2026-08-01 14:09:50] local.INFO: Processing buffer {"connection_id":146044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc75eda8012cff008007003d580015009e24..."} 
[2026-08-01 14:09:50] local.INFO: Packet analysis {"connection_id":146044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc75"} 
[2026-08-01 14:09:50] local.INFO: Extracted packet for processing {"connection_id":146044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc75"} 
[2026-08-01 14:09:50] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":21,"angle":158,"satellites":36,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106680832001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:09:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:09:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:09:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785573273000,"timestamp_ms":1785573273000,"timestamp_seconds":1785573273,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc75eda8"} 
[2026-08-01 14:09:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:09:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14: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":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-01 14:09:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14: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-08-01 14:09:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:09:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:09:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:09:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:09:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106680832001,"66":26223,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:09:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:09:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:09:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106680832001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:09:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:09:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:09:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:09:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106680832001,"power":26223,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:09:50] local.INFO: DEBUG: GPS processor result {"connection_id":146044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:09:50] local.INFO: GPS data processed {"connection_id":146044,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:09:50] local.INFO: Acknowledgment sent {"connection_id":146044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:10:03] local.INFO: TCP Data received {"connection_id":147264,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147264,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:10:03] local.INFO: Processing buffer {"connection_id":147264,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:10:03] local.INFO: IMEI packet received {"connection_id":147264,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 14:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":147264,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:10:05] local.INFO: TCP Data received {"connection_id":147264,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147264,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:10:05] local.INFO: Processing buffer {"connection_id":147264,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:10:05] local.INFO: IMEI packet received {"connection_id":147264,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":147264,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:10:10] local.INFO: TCP Data received {"connection_id":147264,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147264,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:10:10] local.INFO: Processing buffer {"connection_id":147264,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:10:10] local.INFO: IMEI packet received {"connection_id":147264,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":147264,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:10:11] local.INFO: TCP Data received {"connection_id":147264,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc793d50012d163300071fe9280024003e29..."} 
[2026-08-01 14:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc793d50012d163300071fe9280024003e29..."} 
[2026-08-01 14:10:11] local.INFO: Processing buffer {"connection_id":147264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc793d50012d163300071fe9280024003e29..."} 
[2026-08-01 14:10:11] local.INFO: Packet analysis {"connection_id":147264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc79"} 
[2026-08-01 14:10:11] local.INFO: Extracted packet for processing {"connection_id":147264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc79"} 
[2026-08-01 14:10:11] local.INFO: GPS Element Parsed {"raw_longitude":756429568,"raw_latitude":119531816,"longitude_deg":75.6429568,"latitude_deg":11.9531816,"altitude":36,"angle":62,"satellites":41,"speed":32,"hex_longitude":"2d163300","hex_latitude":"071fe928","is_valid_coordinates":true} 
[2026-08-01 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-08-01 14:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106812416001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10227047276216320,"note":"Value kept but may cause issues"} 
[2026-08-01 14:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1596455729758507008,"note":"Value kept but may cause issues"} 
[2026-08-01 14:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785573490000,"timestamp_ms":1785573490000,"timestamp_seconds":1785573490,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc793d50"} 
[2026-08-01 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-08-01 14:10: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-08-01 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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-01 14:10:11] 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-08-01 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-08-01 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-08-01 14:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":147264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":147264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":147264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:10: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-08-01 14:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106812416001,"66":14483,"85":206,"83":41984,"24":32,"16":10227047276216320,"45":1596455729758507008},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-08-01 14:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106812416001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:10:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-08-01 14:10:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10227047276216320,"km_value":10227047276216.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1596455729758507008,"description":"Unknown IO ID 45"} 
[2026-08-01 14:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106812416001,"power":14483,"unknown_85":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1596455729758507008}} 
[2026-08-01 14:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":147264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577475,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:10:11] local.INFO: GPS data processed {"connection_id":147264,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:10:11] local.INFO: Acknowledgment sent {"connection_id":147264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:10:12] local.INFO: TCP Data received {"connection_id":147264,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc796848012d1655c0071ffae80027003e29..."} 
[2026-08-01 14:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc796848012d1655c0071ffae80027003e29..."} 
[2026-08-01 14:10:12] local.INFO: Processing buffer {"connection_id":147264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc796848012d1655c0071ffae80027003e29..."} 
[2026-08-01 14:10:12] local.INFO: Packet analysis {"connection_id":147264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc79"} 
[2026-08-01 14:10:12] local.INFO: Extracted packet for processing {"connection_id":147264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc79"} 
[2026-08-01 14:10:12] local.INFO: GPS Element Parsed {"raw_longitude":756438464,"raw_latitude":119536360,"longitude_deg":75.6438464,"latitude_deg":11.953636,"altitude":39,"angle":62,"satellites":41,"speed":40,"hex_longitude":"2d1655c0","hex_latitude":"071ffae8","is_valid_coordinates":true} 
[2026-08-01 14:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106813440001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10227524017586176,"note":"Value kept but may cause issues"} 
[2026-08-01 14:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1599622323246802944,"note":"Value kept but may cause issues"} 
[2026-08-01 14:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785573501000,"timestamp_ms":1785573501000,"timestamp_seconds":1785573501,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc796848"} 
[2026-08-01 14:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:10: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-08-01 14:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-01 14:10:12] 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-08-01 14:10:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":147264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":147264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":147264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:10:12] 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-08-01 14:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106813440001,"66":14483,"85":206,"83":41984,"24":40,"16":10227524017586176,"45":1599622323246802944},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-08-01 14:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106813440001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:10:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-08-01 14:10:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10227524017586176,"km_value":10227524017586.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1599622323246802944,"description":"Unknown IO ID 45"} 
[2026-08-01 14:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106813440001,"power":14483,"unknown_85":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1599622323246802944}} 
[2026-08-01 14:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":147264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:10:12] local.INFO: GPS data processed {"connection_id":147264,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:10:12] local.INFO: Acknowledgment sent {"connection_id":147264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:10:22] local.INFO: TCP Data received {"connection_id":146044,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc7a8570012cff008007003d580015009e23..."} 
[2026-08-01 14:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc7a8570012cff008007003d580015009e23..."} 
[2026-08-01 14:10:22] local.INFO: Processing buffer {"connection_id":146044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc7a8570012cff008007003d580015009e23..."} 
[2026-08-01 14:10:22] local.INFO: Packet analysis {"connection_id":146044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc7a"} 
[2026-08-01 14:10:22] local.INFO: Extracted packet for processing {"connection_id":146044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc7a"} 
[2026-08-01 14:10:22] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":21,"angle":158,"satellites":35,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106757888001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:10:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:10:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785573574000,"timestamp_ms":1785573574000,"timestamp_seconds":1785573574,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc7a8570"} 
[2026-08-01 14:10:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:10:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-01 14:10:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:10:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:10:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:10:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106757888001,"66":26082,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106757888001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:10:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:10:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106757888001,"power":26082,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":146044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:10:22] local.INFO: GPS data processed {"connection_id":146044,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:10:22] local.INFO: Acknowledgment sent {"connection_id":146044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:10:43] local.INFO: TCP Data received {"connection_id":147264,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc7ac7d8012d1787800720fd98003e002f2a..."} 
[2026-08-01 14:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc7ac7d8012d1787800720fd98003e002f2a..."} 
[2026-08-01 14:10:43] local.INFO: Processing buffer {"connection_id":147264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc7ac7d8012d1787800720fd98003e002f2a..."} 
[2026-08-01 14:10:43] local.INFO: Packet analysis {"connection_id":147264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc7a"} 
[2026-08-01 14:10:43] local.INFO: Extracted packet for processing {"connection_id":147264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc7a"} 
[2026-08-01 14:10:43] local.INFO: GPS Element Parsed {"raw_longitude":756516736,"raw_latitude":119602584,"longitude_deg":75.6516736,"latitude_deg":11.9602584,"altitude":62,"angle":47,"satellites":42,"speed":43,"hex_longitude":"2d178780","hex_latitude":"0720fd98","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:10:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106836992001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10232484704813056,"note":"Value kept but may cause issues"} 
[2026-08-01 14:10:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1687935097206095872,"note":"Value kept but may cause issues"} 
[2026-08-01 14:10: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-08-01 14:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785573591000,"timestamp_ms":1785573591000,"timestamp_seconds":1785573591,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc7ac7d8"} 
[2026-08-01 14:10:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:10: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-08-01 14:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-08-01 14:10:43] 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-08-01 14: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-08-01 14:10:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":147264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":147264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":147264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:10:43] 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-08-01 14:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106836992001,"66":14635,"107":206,"83":41984,"24":43,"16":10232484704813056,"45":1687935097206095872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-01 14:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106836992001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:10:43] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 14:10:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:10:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10232484704813056,"km_value":10232484704813.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:10:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1687935097206095872,"description":"Unknown IO ID 45"} 
[2026-08-01 14:10:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106836992001,"power":14635,"unknown_107":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1687935097206095872}} 
[2026-08-01 14:10:43] local.INFO: DEBUG: GPS processor result {"connection_id":147264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:10:43] local.INFO: GPS data processed {"connection_id":147264,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:10:43] local.INFO: Acknowledgment sent {"connection_id":147264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:10:44] local.INFO: TCP Data received {"connection_id":148575,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:10:44] local.INFO: Processing buffer {"connection_id":148575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:10:44] local.INFO: IMEI packet received {"connection_id":148575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":148575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:10:49] local.INFO: TCP Data received {"connection_id":148575,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:10:49] local.INFO: Processing buffer {"connection_id":148575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:10:49] local.INFO: IMEI packet received {"connection_id":148575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":148575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:10:50] local.INFO: TCP Data received {"connection_id":148575,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc7a8570012cff008007003d580015009e23..."} 
[2026-08-01 14:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc7a8570012cff008007003d580015009e23..."} 
[2026-08-01 14:10:50] local.INFO: Processing buffer {"connection_id":148575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc7a8570012cff008007003d580015009e23..."} 
[2026-08-01 14:10:50] local.INFO: Packet analysis {"connection_id":148575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc7a"} 
[2026-08-01 14:10:50] local.INFO: Extracted packet for processing {"connection_id":148575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc7a"} 
[2026-08-01 14:10:50] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":21,"angle":158,"satellites":35,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106757888001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:10:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:10:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785573574000,"timestamp_ms":1785573574000,"timestamp_seconds":1785573574,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc7a8570"} 
[2026-08-01 14:10:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:10:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-01 14:10:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14: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-08-01 14:10:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:10:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106757888001,"66":26082,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106757888001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:10:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:10:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106757888001,"power":26082,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":148575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:10:50] local.INFO: GPS data processed {"connection_id":148575,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:10:50] local.INFO: Acknowledgment sent {"connection_id":148575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:10:59] local.INFO: TCP Data received {"connection_id":147265,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:10:59] local.INFO: Processing buffer {"connection_id":147265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:10:59] local.INFO: IMEI packet received {"connection_id":147265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 14:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":147265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:11:00] local.INFO: TCP Data received {"connection_id":147265,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:11:00] local.INFO: Processing buffer {"connection_id":147265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:11:00] local.INFO: IMEI packet received {"connection_id":147265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":147265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:11:03] local.INFO: TCP Data received {"connection_id":147265,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:11:03] local.INFO: Processing buffer {"connection_id":147265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:11:03] local.INFO: IMEI packet received {"connection_id":147265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":147265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:11:04] local.INFO: TCP Data received {"connection_id":147265,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc7ae330012d17a08007210ef8003c003a2a..."} 
[2026-08-01 14:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc7ae330012d17a08007210ef8003c003a2a..."} 
[2026-08-01 14:11:04] local.INFO: Processing buffer {"connection_id":147265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc7ae330012d17a08007210ef8003c003a2a..."} 
[2026-08-01 14:11:04] local.INFO: Packet analysis {"connection_id":147265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc7a"} 
[2026-08-01 14:11:04] local.INFO: Extracted packet for processing {"connection_id":147265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc7a"} 
[2026-08-01 14:11:04] local.INFO: GPS Element Parsed {"raw_longitude":756523136,"raw_latitude":119607032,"longitude_deg":75.6523136,"latitude_deg":11.9607032,"altitude":60,"angle":58,"satellites":42,"speed":40,"hex_longitude":"2d17a080","hex_latitude":"07210ef8","is_valid_coordinates":true} 
[2026-08-01 14:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106839296001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10232858366967808,"note":"Value kept but may cause issues"} 
[2026-08-01 14:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1695464552834897920,"note":"Value kept but may cause issues"} 
[2026-08-01 14:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785573598000,"timestamp_ms":1785573598000,"timestamp_seconds":1785573598,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc7ae330"} 
[2026-08-01 14:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-01 14:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":870,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:11:04] 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-08-01 14:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106839296001,"66":14352,"107":206,"83":41984,"24":40,"16":10232858366967808,"45":1695464552834897920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-01 14:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106839296001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:11:04] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 14:11:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10232858366967808,"km_value":10232858366967.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1695464552834897920,"description":"Unknown IO ID 45"} 
[2026-08-01 14:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106839296001,"power":14352,"unknown_107":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1695464552834897920}} 
[2026-08-01 14:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":147265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577480,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:11:04] local.INFO: GPS data processed {"connection_id":147265,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:11:04] local.INFO: Acknowledgment sent {"connection_id":147265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:11:22] local.INFO: TCP Data received {"connection_id":148575,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc7a8570012cff008007003d580015009e23..."} 
[2026-08-01 14:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc7a8570012cff008007003d580015009e23..."} 
[2026-08-01 14:11:22] local.INFO: Processing buffer {"connection_id":148575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc7a8570012cff008007003d580015009e23..."} 
[2026-08-01 14:11:22] local.INFO: Packet analysis {"connection_id":148575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc7a"} 
[2026-08-01 14:11:22] local.INFO: Extracted packet for processing {"connection_id":148575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc7a"} 
[2026-08-01 14:11:22] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":21,"angle":158,"satellites":35,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106757888001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:11:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785573574000,"timestamp_ms":1785573574000,"timestamp_seconds":1785573574,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc7a8570"} 
[2026-08-01 14:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:11:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-01 14:11:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:11:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:11:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106757888001,"66":26082,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106757888001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:11:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:11:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106757888001,"power":26082,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":148575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:11:22] local.INFO: GPS data processed {"connection_id":148575,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:11:22] local.INFO: Acknowledgment sent {"connection_id":148575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:11:35] local.INFO: TCP Data received {"connection_id":147265,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc7af6b8012d17ad00072116d8003a002f2a..."} 
[2026-08-01 14:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc7af6b8012d17ad00072116d8003a002f2a..."} 
[2026-08-01 14:11:35] local.INFO: Processing buffer {"connection_id":147265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc7af6b8012d17ad00072116d8003a002f2a..."} 
[2026-08-01 14:11:35] local.INFO: Packet analysis {"connection_id":147265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc7a"} 
[2026-08-01 14:11:35] local.INFO: Extracted packet for processing {"connection_id":147265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc7a"} 
[2026-08-01 14:11:35] local.INFO: GPS Element Parsed {"raw_longitude":756526336,"raw_latitude":119609048,"longitude_deg":75.6526336,"latitude_deg":11.9609048,"altitude":58,"angle":47,"satellites":42,"speed":21,"hex_longitude":"2d17ad00","hex_latitude":"072116d8","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106841088001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10233038755594240,"note":"Value kept but may cause issues"} 
[2026-08-01 14:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1702501427253803008,"note":"Value kept but may cause issues"} 
[2026-08-01 14:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785573603000,"timestamp_ms":1785573603000,"timestamp_seconds":1785573603,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc7af6b8"} 
[2026-08-01 14:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-01 14:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733142528,"note":"Value kept but may cause issues"} 
[2026-08-01 14:11:35] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-01 14:11:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 14:11:35] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3162121160,"note":"Value kept but may cause issues"} 
[2026-08-01 14:11:35] local.WARNING: Large IO value detected {"io_id":89,"raw_value":2315255808,"note":"Value kept but may cause issues"} 
[2026-08-01 14:11:35] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-01 14:11:35] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503755727634432,"note":"Value kept but may cause issues"} 
[2026-08-01 14:11:35] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2959605806,"note":"Value kept but may cause issues"} 
[2026-08-01 14:11:35] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638152328374891,"note":"Value kept but may cause issues"} 
[2026-08-01 14:11:35] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5476641033972678912,"note":"Value kept but may cause issues"} 
[2026-08-01 14:11:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-08-01 14:11:35] local.WARNING: Large IO value detected {"io_id":25,"raw_value":3221692568,"note":"Value kept but may cause issues"} 
[2026-08-01 14:11:35] local.WARNING: Large IO value detected {"io_id":136,"raw_value":84749151531114593,"note":"Value kept but may cause issues"} 
[2026-08-01 14:11:35] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2298531178,"note":"Value kept but may cause issues"} 
[2026-08-01 14:11:35] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-01 14:11:35] local.WARNING: Large IO value detected {"io_id":184,"raw_value":11259175866739968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:11:35] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-3494785475635838936,"note":"Value kept but may cause issues"} 
[2026-08-01 14:11:35] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,107,83,24,241,157,16,90,159,199,45,128,253,62,42,10,66,164,192,226,58,89,129,1,240,27,227,188,32,4,113,205,46,67,25,136,40,239,54,2,36,7,206,184,22],"length":628,"final_offset":758,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-08-01 14:11:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323519594341335040,"timestamp_seconds":4323519594341335.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 14:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:11:35] 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-08-01 14:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106841088001,"66":14559,"107":206,"83":41984,"24":21,"16":10233038755594240,"45":1702501427253803008},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-01 14:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106841088001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:11:35] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 14:11:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10233038755594240,"km_value":10233038755594.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1702501427253803008,"description":"Unknown IO ID 45"} 
[2026-08-01 14:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106841088001,"power":14559,"unknown_107":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1702501427253803008}} 
[2026-08-01 14:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":147265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:11:35] local.INFO: GPS data processed {"connection_id":147265,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:11:35] local.INFO: Acknowledgment sent {"connection_id":147265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:11:44] local.INFO: TCP Data received {"connection_id":146260,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:11:44] local.INFO: Processing buffer {"connection_id":146260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:11:44] local.INFO: IMEI packet received {"connection_id":146260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":146260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:11:49] local.INFO: TCP Data received {"connection_id":146260,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:11:49] local.INFO: Processing buffer {"connection_id":146260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:11:49] local.INFO: IMEI packet received {"connection_id":146260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":146260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:11:51] local.INFO: TCP Data received {"connection_id":146260,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc7a8570012cff008007003d580015009e23..."} 
[2026-08-01 14:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc7a8570012cff008007003d580015009e23..."} 
[2026-08-01 14:11:51] local.INFO: Processing buffer {"connection_id":146260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc7a8570012cff008007003d580015009e23..."} 
[2026-08-01 14:11:51] local.INFO: Packet analysis {"connection_id":146260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc7a"} 
[2026-08-01 14:11:51] local.INFO: Extracted packet for processing {"connection_id":146260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc7a"} 
[2026-08-01 14:11:51] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":21,"angle":158,"satellites":35,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106757888001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:11:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785573574000,"timestamp_ms":1785573574000,"timestamp_seconds":1785573574,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc7a8570"} 
[2026-08-01 14:11:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:11:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-01 14:11:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14: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-08-01 14:11:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":146260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":146260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":146260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106757888001,"66":26082,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106757888001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:11:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:11:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106757888001,"power":26082,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":146260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:11:51] local.INFO: GPS data processed {"connection_id":146260,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:11:51] local.INFO: Acknowledgment sent {"connection_id":146260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:12:00] local.INFO: TCP Data received {"connection_id":146045,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:12:00] local.INFO: Processing buffer {"connection_id":146045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:12:00] local.INFO: IMEI packet received {"connection_id":146045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 14:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":146045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:12:05] local.INFO: TCP Data received {"connection_id":146045,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:12:05] local.INFO: Processing buffer {"connection_id":146045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:12:05] local.INFO: IMEI packet received {"connection_id":146045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":146045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:12:06] local.INFO: TCP Data received {"connection_id":146045,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc7bc9a8012d17cf800720da78003500be28..."} 
[2026-08-01 14:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc7bc9a8012d17cf800720da78003500be28..."} 
[2026-08-01 14:12:06] local.INFO: Processing buffer {"connection_id":146045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc7bc9a8012d17cf800720da78003500be28..."} 
[2026-08-01 14:12:06] local.INFO: Packet analysis {"connection_id":146045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc7b"} 
[2026-08-01 14:12:06] local.INFO: Extracted packet for processing {"connection_id":146045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc7b"} 
[2026-08-01 14:12:06] local.INFO: GPS Element Parsed {"raw_longitude":756535168,"raw_latitude":119593592,"longitude_deg":75.6535168,"latitude_deg":11.9593592,"altitude":53,"angle":190,"satellites":40,"speed":15,"hex_longitude":"2d17cf80","hex_latitude":"0720da78","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106853120001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10234052367876096,"note":"Value kept but may cause issues"} 
[2026-08-01 14:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1715590013668440064,"note":"Value kept but may cause issues"} 
[2026-08-01 14:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785573657000,"timestamp_ms":1785573657000,"timestamp_seconds":1785573657,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc7bc9a8"} 
[2026-08-01 14:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-01 14:12:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-01 14:12:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 14:12:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3162182160,"note":"Value kept but may cause issues"} 
[2026-08-01 14:12:06] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":26624,"corrected_to":0} 
[2026-08-01 14:12:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788857,"note":"Value kept but may cause issues"} 
[2026-08-01 14:12:06] local.WARNING: Large IO value detected {"io_id":33,"raw_value":1938799888699829504,"note":"Value kept but may cause issues"} 
[2026-08-01 14:12:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-08-01 14:12:06] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3003174250,"note":"Value kept but may cause issues"} 
[2026-08-01 14:12:06] local.WARNING: Large IO value detected {"io_id":21,"raw_value":57819378033251236,"note":"Value kept but may cause issues"} 
[2026-08-01 14:12:06] local.WARNING: Large IO value detected {"io_id":123,"raw_value":1020066608782278663,"note":"Value kept but may cause issues"} 
[2026-08-01 14:12:06] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,107,83,24,241,157,16,91,159,135,45,54,41,10,66,115,128,247,55,40,100,1,240,179,227,188,33,4,113,205,11,61,190,208,42,239,56,2,36,7,58,13,21,123],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":247,"original":26624,"validated":0},{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-08-01 14:12:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3891304863405899776,"timestamp_seconds":3891304863405900.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 14:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:12:06] 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-08-01 14:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106853120001,"66":13276,"107":206,"83":41984,"24":15,"16":10234052367876096,"45":1715590013668440064},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-01 14:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106853120001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:12:06] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 14:12:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10234052367876096,"km_value":10234052367876.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1715590013668440064,"description":"Unknown IO ID 45"} 
[2026-08-01 14:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106853120001,"power":13276,"unknown_107":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1715590013668440064}} 
[2026-08-01 14:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":146045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:12:06] local.INFO: GPS data processed {"connection_id":146045,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:12:06] local.INFO: Acknowledgment sent {"connection_id":146045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:12:22] local.INFO: TCP Data received {"connection_id":146260,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc7a8570012cff008007003d580015009e23..."} 
[2026-08-01 14:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc7a8570012cff008007003d580015009e23..."} 
[2026-08-01 14:12:22] local.INFO: Processing buffer {"connection_id":146260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc7a8570012cff008007003d580015009e23..."} 
[2026-08-01 14:12:22] local.INFO: Packet analysis {"connection_id":146260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc7a"} 
[2026-08-01 14:12:22] local.INFO: Extracted packet for processing {"connection_id":146260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc7a"} 
[2026-08-01 14:12:22] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":21,"angle":158,"satellites":35,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106757888001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:12:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:12:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785573574000,"timestamp_ms":1785573574000,"timestamp_seconds":1785573574,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc7a8570"} 
[2026-08-01 14:12:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:12:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-01 14:12:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:12:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:12:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:12:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106757888001,"66":26082,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106757888001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:12:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:12:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106757888001,"power":26082,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":146260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:12:22] local.INFO: GPS data processed {"connection_id":146260,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:12:22] local.INFO: Acknowledgment sent {"connection_id":146260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:12:37] local.INFO: TCP Data received {"connection_id":146045,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc7bd560012d17ce000720d648003500cc28..."} 
[2026-08-01 14:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc7bd560012d17ce000720d648003500cc28..."} 
[2026-08-01 14:12:37] local.INFO: Processing buffer {"connection_id":146045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc7bd560012d17ce000720d648003500cc28..."} 
[2026-08-01 14:12:37] local.INFO: Packet analysis {"connection_id":146045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc7b"} 
[2026-08-01 14:12:37] local.INFO: Extracted packet for processing {"connection_id":146045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc7b"} 
[2026-08-01 14:12:37] local.INFO: GPS Element Parsed {"raw_longitude":756534784,"raw_latitude":119592520,"longitude_deg":75.6534784,"latitude_deg":11.959252,"altitude":53,"angle":204,"satellites":40,"speed":13,"hex_longitude":"2d17ce00","hex_latitude":"0720d648","is_valid_coordinates":true} 
[2026-08-01 14:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106856192001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10234103907483648,"note":"Value kept but may cause issues"} 
[2026-08-01 14:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1715730751155763200,"note":"Value kept but may cause issues"} 
[2026-08-01 14:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785573660000,"timestamp_ms":1785573660000,"timestamp_seconds":1785573660,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc7bd560"} 
[2026-08-01 14:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-01 14:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:12:37] 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-08-01 14:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106856192001,"66":13276,"107":206,"83":41984,"24":13,"16":10234103907483648,"45":1715730751155763200},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-01 14:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106856192001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:12:37] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 14:12:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10234103907483648,"km_value":10234103907483.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1715730751155763200,"description":"Unknown IO ID 45"} 
[2026-08-01 14:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106856192001,"power":13276,"unknown_107":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1715730751155763200}} 
[2026-08-01 14:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":146045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:12:37] local.INFO: GPS data processed {"connection_id":146045,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:12:37] local.INFO: Acknowledgment sent {"connection_id":146045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:12:49] local.INFO: TCP Data received {"connection_id":148576,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:12:49] local.INFO: Processing buffer {"connection_id":148576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:12:49] local.INFO: IMEI packet received {"connection_id":148576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":148576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:12:54] local.INFO: TCP Data received {"connection_id":148576,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:12:54] local.INFO: Processing buffer {"connection_id":148576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:12:54] local.INFO: IMEI packet received {"connection_id":148576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":148576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:12:56] local.INFO: TCP Data received {"connection_id":148576,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc7a8570012cff008007003d580015009e23..."} 
[2026-08-01 14:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc7a8570012cff008007003d580015009e23..."} 
[2026-08-01 14:12:56] local.INFO: Processing buffer {"connection_id":148576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc7a8570012cff008007003d580015009e23..."} 
[2026-08-01 14:12:56] local.INFO: Packet analysis {"connection_id":148576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc7a"} 
[2026-08-01 14:12:56] local.INFO: Extracted packet for processing {"connection_id":148576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc7a"} 
[2026-08-01 14:12:56] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":21,"angle":158,"satellites":35,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106757888001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:12:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:12:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785573574000,"timestamp_ms":1785573574000,"timestamp_seconds":1785573574,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc7a8570"} 
[2026-08-01 14:12:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:12:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-01 14:12:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:12:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:12:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":148576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":148576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":148576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:12:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106757888001,"66":26082,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106757888001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:12:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:12:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106757888001,"power":26082,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":148576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:12:56] local.INFO: GPS data processed {"connection_id":148576,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:12:56] local.INFO: Acknowledgment sent {"connection_id":148576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:13:00] local.INFO: TCP Data received {"connection_id":148576,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc7a8570012cff008007003d580015009e23..."} 
[2026-08-01 14:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc7a8570012cff008007003d580015009e23..."} 
[2026-08-01 14:13:00] local.INFO: Processing buffer {"connection_id":148576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc7a8570012cff008007003d580015009e23..."} 
[2026-08-01 14:13:00] local.INFO: Packet analysis {"connection_id":148576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc7a"} 
[2026-08-01 14:13:00] local.INFO: Extracted packet for processing {"connection_id":148576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc7a"} 
[2026-08-01 14:13:00] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":21,"angle":158,"satellites":35,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106757888001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:13:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:13:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785573574000,"timestamp_ms":1785573574000,"timestamp_seconds":1785573574,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc7a8570"} 
[2026-08-01 14:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:13: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-08-01 14: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-01 14:13:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14: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-08-01 14:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":148576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":148576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":148576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106757888001,"66":26082,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106757888001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:13:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:13:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106757888001,"power":26082,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":148576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:13:00] local.INFO: GPS data processed {"connection_id":148576,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:13:00] local.INFO: Acknowledgment sent {"connection_id":148576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:13:00] local.INFO: TCP Data received {"connection_id":146261,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146261,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:13:00] local.INFO: Processing buffer {"connection_id":146261,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:13:00] local.INFO: IMEI packet received {"connection_id":146261,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 14:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":146261,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:13:05] local.INFO: TCP Data received {"connection_id":146261,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146261,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:13:05] local.INFO: Processing buffer {"connection_id":146261,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:13:05] local.INFO: IMEI packet received {"connection_id":146261,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":146261,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:13:06] local.INFO: TCP Data received {"connection_id":146261,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc7be8e8012d17cb000720d108003400da27..."} 
[2026-08-01 14:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc7be8e8012d17cb000720d108003400da27..."} 
[2026-08-01 14:13:06] local.INFO: Processing buffer {"connection_id":146261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc7be8e8012d17cb000720d108003400da27..."} 
[2026-08-01 14:13:06] local.INFO: Packet analysis {"connection_id":146261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc7b"} 
[2026-08-01 14:13:06] local.INFO: Extracted packet for processing {"connection_id":146261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc7b"} 
[2026-08-01 14:13:06] local.INFO: GPS Element Parsed {"raw_longitude":756534016,"raw_latitude":119591176,"longitude_deg":75.6534016,"latitude_deg":11.9591176,"altitude":52,"angle":218,"satellites":39,"speed":10,"hex_longitude":"2d17cb00","hex_latitude":"0720d108","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106856960001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10234181216894976,"note":"Value kept but may cause issues"} 
[2026-08-01 14:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1715308538690422784,"note":"Value kept but may cause issues"} 
[2026-08-01 14:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785573665000,"timestamp_ms":1785573665000,"timestamp_seconds":1785573665,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc7be8e8"} 
[2026-08-01 14:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-01 14:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14: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-08-01 14:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:13:06] 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-08-01 14:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106856960001,"66":13276,"107":206,"83":41984,"24":10,"16":10234181216894976,"45":1715308538690422784},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-01 14:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106856960001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:13:06] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 14:13:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10234181216894976,"km_value":10234181216894.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1715308538690422784,"description":"Unknown IO ID 45"} 
[2026-08-01 14:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106856960001,"power":13276,"unknown_107":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1715308538690422784}} 
[2026-08-01 14:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":146261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:13:07] local.INFO: GPS data processed {"connection_id":146261,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:13:07] local.INFO: Acknowledgment sent {"connection_id":146261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:13:38] local.INFO: TCP Data received {"connection_id":146261,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc7c0440012d17c6c00720cbb0003400e728..."} 
[2026-08-01 14:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc7c0440012d17c6c00720cbb0003400e728..."} 
[2026-08-01 14:13:38] local.INFO: Processing buffer {"connection_id":146261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc7c0440012d17c6c00720cbb0003400e728..."} 
[2026-08-01 14:13:38] local.INFO: Packet analysis {"connection_id":146261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc7c"} 
[2026-08-01 14:13:38] local.INFO: Extracted packet for processing {"connection_id":146261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc7c"} 
[2026-08-01 14:13:38] local.INFO: GPS Element Parsed {"raw_longitude":756532928,"raw_latitude":119589808,"longitude_deg":75.6532928,"latitude_deg":11.9589808,"altitude":52,"angle":231,"satellites":40,"speed":9,"hex_longitude":"2d17c6c0","hex_latitude":"0720cbb0","is_valid_coordinates":true} 
[2026-08-01 14:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106858240001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10234267116240896,"note":"Value kept but may cause issues"} 
[2026-08-01 14:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714464113759946752,"note":"Value kept but may cause issues"} 
[2026-08-01 14:13:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785573672000,"timestamp_ms":1785573672000,"timestamp_seconds":1785573672,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc7c0440"} 
[2026-08-01 14:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-01 14:13:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:13:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:13:38] 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-08-01 14:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106858240001,"66":13222,"107":206,"83":41984,"24":9,"16":10234267116240896,"45":1714464113759946752},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-01 14:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106858240001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:13:38] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 14:13:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10234267116240896,"km_value":10234267116240.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714464113759946752,"description":"Unknown IO ID 45"} 
[2026-08-01 14:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106858240001,"power":13222,"unknown_107":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1714464113759946752}} 
[2026-08-01 14:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":146261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:13:38] local.INFO: GPS data processed {"connection_id":146261,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:13:38] local.INFO: Acknowledgment sent {"connection_id":146261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:13:44] local.INFO: TCP Data received {"connection_id":148577,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:13:44] local.INFO: Processing buffer {"connection_id":148577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:13:44] local.INFO: IMEI packet received {"connection_id":148577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":148577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:13:49] local.INFO: TCP Data received {"connection_id":148577,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:13:49] local.INFO: Processing buffer {"connection_id":148577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:13:49] local.INFO: IMEI packet received {"connection_id":148577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":148577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:13:51] local.INFO: TCP Data received {"connection_id":148577,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc7a8570012cff008007003d580015009e23..."} 
[2026-08-01 14:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc7a8570012cff008007003d580015009e23..."} 
[2026-08-01 14:13:51] local.INFO: Processing buffer {"connection_id":148577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc7a8570012cff008007003d580015009e23..."} 
[2026-08-01 14:13:51] local.INFO: Packet analysis {"connection_id":148577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc7a"} 
[2026-08-01 14:13:51] local.INFO: Extracted packet for processing {"connection_id":148577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc7a"} 
[2026-08-01 14:13:51] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":21,"angle":158,"satellites":35,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106757888001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:13:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785573574000,"timestamp_ms":1785573574000,"timestamp_seconds":1785573574,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc7a8570"} 
[2026-08-01 14:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:13:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-01 14:13:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:13:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106757888001,"66":26082,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106757888001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:13:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:13:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106757888001,"power":26082,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":148577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:13:51] local.INFO: GPS data processed {"connection_id":148577,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:13:51] local.INFO: Acknowledgment sent {"connection_id":148577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:13:59] local.INFO: TCP Data received {"connection_id":146262,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:13:59] local.INFO: Processing buffer {"connection_id":146262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:13:59] local.INFO: IMEI packet received {"connection_id":146262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 14:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":146262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:14:00] local.INFO: TCP Data received {"connection_id":146262,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:14:00] local.INFO: Processing buffer {"connection_id":146262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:14:00] local.INFO: IMEI packet received {"connection_id":146262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":146262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:14:05] local.INFO: TCP Data received {"connection_id":146262,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:14:05] local.INFO: Processing buffer {"connection_id":146262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:14:05] local.INFO: IMEI packet received {"connection_id":146262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":146262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:14:06] local.INFO: TCP Data received {"connection_id":146262,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc7dc578012d17ae000720af90003400b428..."} 
[2026-08-01 14:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc7dc578012d17ae000720af90003400b428..."} 
[2026-08-01 14:14:06] local.INFO: Processing buffer {"connection_id":146262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc7dc578012d17ae000720af90003400b428..."} 
[2026-08-01 14:14:06] local.INFO: Packet analysis {"connection_id":146262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc7d"} 
[2026-08-01 14:14:06] local.INFO: Extracted packet for processing {"connection_id":146262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc7d"} 
[2026-08-01 14:14:06] local.INFO: GPS Element Parsed {"raw_longitude":756526592,"raw_latitude":119582608,"longitude_deg":75.6526592,"latitude_deg":11.9582608,"altitude":52,"angle":180,"satellites":40,"speed":6,"hex_longitude":"2d17ae00","hex_latitude":"0720af90","is_valid_coordinates":true} 
[2026-08-01 14:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106885632001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10234816872054784,"note":"Value kept but may cause issues"} 
[2026-08-01 14:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1705949495712923648,"note":"Value kept but may cause issues"} 
[2026-08-01 14:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785573787000,"timestamp_ms":1785573787000,"timestamp_seconds":1785573787,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc7dc578"} 
[2026-08-01 14:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:14:06] 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-08-01 14:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-01 14:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:14:06] 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-08-01 14:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106885632001,"66":13004,"107":206,"83":41984,"24":6,"16":10234816872054784,"45":1705949495712923648},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-01 14:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106885632001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:14:06] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 14:14:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10234816872054784,"km_value":10234816872054.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1705949495712923648,"description":"Unknown IO ID 45"} 
[2026-08-01 14:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106885632001,"power":13004,"unknown_107":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1705949495712923648}} 
[2026-08-01 14:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":146262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:14:06] local.INFO: GPS data processed {"connection_id":146262,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:14:06] local.INFO: Acknowledgment sent {"connection_id":146262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:14:27] local.INFO: TCP Data received {"connection_id":148577,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc7a8570012cff008007003d580015009e23..."} 
[2026-08-01 14:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc7a8570012cff008007003d580015009e23..."} 
[2026-08-01 14:14:27] local.INFO: Processing buffer {"connection_id":148577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc7a8570012cff008007003d580015009e23..."} 
[2026-08-01 14:14:27] local.INFO: Packet analysis {"connection_id":148577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc7a"} 
[2026-08-01 14:14:27] local.INFO: Extracted packet for processing {"connection_id":148577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc7a"} 
[2026-08-01 14:14:27] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":21,"angle":158,"satellites":35,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106757888001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:14:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:14:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785573574000,"timestamp_ms":1785573574000,"timestamp_seconds":1785573574,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc7a8570"} 
[2026-08-01 14:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:14:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-01 14:14:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:14:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106757888001,"66":26082,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106757888001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:14:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:14:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106757888001,"power":26082,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":148577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:14:27] local.INFO: GPS data processed {"connection_id":148577,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:14:27] local.INFO: Acknowledgment sent {"connection_id":148577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:14:37] local.INFO: TCP Data received {"connection_id":146262,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc7dfc28012d17acc00720afd80034016026..."} 
[2026-08-01 14:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc7dfc28012d17acc00720afd80034016026..."} 
[2026-08-01 14:14:37] local.INFO: Processing buffer {"connection_id":146262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc7dfc28012d17acc00720afd80034016026..."} 
[2026-08-01 14:14:37] local.INFO: Packet analysis {"connection_id":146262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc7d"} 
[2026-08-01 14:14:37] local.INFO: Extracted packet for processing {"connection_id":146262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc7d"} 
[2026-08-01 14:14:37] local.INFO: GPS Element Parsed {"raw_longitude":756526272,"raw_latitude":119582680,"longitude_deg":75.6526272,"latitude_deg":11.958268,"altitude":52,"angle":352,"satellites":38,"speed":7,"hex_longitude":"2d17acc0","hex_latitude":"0720afd8","is_valid_coordinates":true} 
[2026-08-01 14:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106889472001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10234872706629632,"note":"Value kept but may cause issues"} 
[2026-08-01 14:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1706301339433144320,"note":"Value kept but may cause issues"} 
[2026-08-01 14:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785573801000,"timestamp_ms":1785573801000,"timestamp_seconds":1785573801,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc7dfc28"} 
[2026-08-01 14:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-01 14:14:37] 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-08-01 14:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:14:37] 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-08-01 14:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106889472001,"66":12874,"107":206,"83":41984,"24":7,"16":10234872706629632,"45":1706301339433144320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-01 14:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106889472001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:14:37] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 14:14:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10234872706629632,"km_value":10234872706629.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1706301339433144320,"description":"Unknown IO ID 45"} 
[2026-08-01 14:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106889472001,"power":12874,"unknown_107":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1706301339433144320}} 
[2026-08-01 14:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":146262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:14:37] local.INFO: GPS data processed {"connection_id":146262,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:14:37] local.INFO: Acknowledgment sent {"connection_id":146262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:14:44] local.INFO: TCP Data received {"connection_id":147266,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:14:44] local.INFO: Processing buffer {"connection_id":147266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:14:44] local.INFO: IMEI packet received {"connection_id":147266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":147266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:14:52] local.INFO: TCP Data received {"connection_id":147266,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:14:52] local.INFO: Processing buffer {"connection_id":147266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:14:52] local.INFO: IMEI packet received {"connection_id":147266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":147266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:14:57] local.INFO: TCP Data received {"connection_id":147266,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc7a8570012cff008007003d580015009e23..."} 
[2026-08-01 14:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc7a8570012cff008007003d580015009e23..."} 
[2026-08-01 14:14:57] local.INFO: Processing buffer {"connection_id":147266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc7a8570012cff008007003d580015009e23..."} 
[2026-08-01 14:14:57] local.INFO: Packet analysis {"connection_id":147266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc7a"} 
[2026-08-01 14:14:57] local.INFO: Extracted packet for processing {"connection_id":147266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc7a"} 
[2026-08-01 14:14:57] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":21,"angle":158,"satellites":35,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:14:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106757888001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:14:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:14:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:14:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:14:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785573574000,"timestamp_ms":1785573574000,"timestamp_seconds":1785573574,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc7a8570"} 
[2026-08-01 14:14:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:14:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-01 14:14:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:14:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:14:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:14:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:14:57] local.INFO: Teltonika packet parsed successfully {"connection_id":147266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:14:57] local.INFO: Passing IMEI to GPS processor {"connection_id":147266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:14:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":147266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:14:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:14:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:14:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:14:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106757888001,"66":26082,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:14:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:14:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:14:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106757888001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:14:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:14:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:14:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:14:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106757888001,"power":26082,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:14:57] local.INFO: DEBUG: GPS processor result {"connection_id":147266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:14:57] local.INFO: GPS data processed {"connection_id":147266,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:14:57] local.INFO: Acknowledgment sent {"connection_id":147266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:15:00] local.INFO: TCP Data received {"connection_id":146046,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:15:00] local.INFO: Processing buffer {"connection_id":146046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:15:00] local.INFO: IMEI packet received {"connection_id":146046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 14:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":146046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:15:05] local.INFO: TCP Data received {"connection_id":146046,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:15:05] local.INFO: Processing buffer {"connection_id":146046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:15:05] local.INFO: IMEI packet received {"connection_id":146046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":146046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:15:06] local.INFO: TCP Data received {"connection_id":146046,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc7e1398012d17ac000720b470003401532a..."} 
[2026-08-01 14:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc7e1398012d17ac000720b470003401532a..."} 
[2026-08-01 14:15:06] local.INFO: Processing buffer {"connection_id":146046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc7e1398012d17ac000720b470003401532a..."} 
[2026-08-01 14:15:06] local.INFO: Packet analysis {"connection_id":146046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc7e"} 
[2026-08-01 14:15:06] local.INFO: Extracted packet for processing {"connection_id":146046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc7e"} 
[2026-08-01 14:15:06] local.INFO: GPS Element Parsed {"raw_longitude":756526080,"raw_latitude":119583856,"longitude_deg":75.652608,"latitude_deg":11.9583856,"altitude":52,"angle":339,"satellites":42,"speed":7,"hex_longitude":"2d17ac00","hex_latitude":"0720b470","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106893056001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10234928541204480,"note":"Value kept but may cause issues"} 
[2026-08-01 14:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1705949495712274432,"note":"Value kept but may cause issues"} 
[2026-08-01 14:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785573807000,"timestamp_ms":1785573807000,"timestamp_seconds":1785573807,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc7e1398"} 
[2026-08-01 14:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-08-01 14:15:06] 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-08-01 14: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-08-01 14:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:15:06] 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-08-01 14:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106893056001,"66":12841,"107":206,"83":41984,"24":7,"16":10234928541204480,"45":1705949495712274432},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-01 14:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106893056001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:15:06] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 14:15:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10234928541204480,"km_value":10234928541204.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1705949495712274432,"description":"Unknown IO ID 45"} 
[2026-08-01 14:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106893056001,"power":12841,"unknown_107":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1705949495712274432}} 
[2026-08-01 14:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":146046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:15:06] local.INFO: GPS data processed {"connection_id":146046,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:15:06] local.INFO: Acknowledgment sent {"connection_id":146046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:15:28] local.INFO: TCP Data received {"connection_id":147266,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc7f1d38012cff008007003d580015009e21..."} 
[2026-08-01 14:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc7f1d38012cff008007003d580015009e21..."} 
[2026-08-01 14:15:28] local.INFO: Processing buffer {"connection_id":147266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc7f1d38012cff008007003d580015009e21..."} 
[2026-08-01 14:15:28] local.INFO: Packet analysis {"connection_id":147266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc7f"} 
[2026-08-01 14:15:28] local.INFO: Extracted packet for processing {"connection_id":147266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc7f"} 
[2026-08-01 14:15:28] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":21,"angle":158,"satellites":33,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106834944001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:15:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:15:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785573875000,"timestamp_ms":1785573875000,"timestamp_seconds":1785573875,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc7f1d38"} 
[2026-08-01 14:15:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:15: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-08-01 14: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-08-01 14:15: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-08-01 14: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-08-01 14:15:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":147266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":147266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":147266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:15:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106834944001,"66":25952,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106834944001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:15:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:15:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106834944001,"power":25952,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":147266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:15:28] local.INFO: GPS data processed {"connection_id":147266,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:15:28] local.INFO: Acknowledgment sent {"connection_id":147266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:15:38] local.INFO: TCP Data received {"connection_id":146046,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc7e65a0012d17abc00720b530003401582a..."} 
[2026-08-01 14:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc7e65a0012d17abc00720b530003401582a..."} 
[2026-08-01 14:15:38] local.INFO: Processing buffer {"connection_id":146046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc7e65a0012d17abc00720b530003401582a..."} 
[2026-08-01 14:15:38] local.INFO: Packet analysis {"connection_id":146046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc7e"} 
[2026-08-01 14:15:38] local.INFO: Extracted packet for processing {"connection_id":146046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc7e"} 
[2026-08-01 14:15:38] local.INFO: GPS Element Parsed {"raw_longitude":756526016,"raw_latitude":119584048,"longitude_deg":75.6526016,"latitude_deg":11.9584048,"altitude":52,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d17abc0","hex_latitude":"0720b530","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106894592001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10234941426106368,"note":"Value kept but may cause issues"} 
[2026-08-01 14:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1705738389480042496,"note":"Value kept but may cause issues"} 
[2026-08-01 14:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785573828000,"timestamp_ms":1785573828000,"timestamp_seconds":1785573828,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc7e65a0"} 
[2026-08-01 14:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-01 14:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14: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-08-01 14:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:15:38] 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-08-01 14:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106894592001,"66":12678,"107":206,"83":41984,"24":0,"16":10234941426106368,"45":1705738389480042496},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-01 14:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106894592001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:15:38] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 14:15:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10234941426106368,"km_value":10234941426106.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1705738389480042496,"description":"Unknown IO ID 45"} 
[2026-08-01 14:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106894592001,"power":12678,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1705738389480042496}} 
[2026-08-01 14:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":146046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:15:38] local.INFO: GPS data processed {"connection_id":146046,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:15:38] local.INFO: Acknowledgment sent {"connection_id":146046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:15:44] local.INFO: TCP Data received {"connection_id":148578,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:15:44] local.INFO: Processing buffer {"connection_id":148578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:15:44] local.INFO: IMEI packet received {"connection_id":148578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":148578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:15:49] local.INFO: TCP Data received {"connection_id":148578,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:15:49] local.INFO: Processing buffer {"connection_id":148578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:15:49] local.INFO: IMEI packet received {"connection_id":148578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":148578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:15:50] local.INFO: TCP Data received {"connection_id":148578,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc7f1d38012cff008007003d580015009e21..."} 
[2026-08-01 14:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc7f1d38012cff008007003d580015009e21..."} 
[2026-08-01 14:15:50] local.INFO: Processing buffer {"connection_id":148578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc7f1d38012cff008007003d580015009e21..."} 
[2026-08-01 14:15:50] local.INFO: Packet analysis {"connection_id":148578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc7f"} 
[2026-08-01 14:15:50] local.INFO: Extracted packet for processing {"connection_id":148578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc7f"} 
[2026-08-01 14:15:50] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":21,"angle":158,"satellites":33,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:15:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106834944001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:15:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:15:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:15:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:15:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785573875000,"timestamp_ms":1785573875000,"timestamp_seconds":1785573875,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc7f1d38"} 
[2026-08-01 14:15:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:15:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-08-01 14:15:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14: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-08-01 14:15:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:15:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:15:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:15:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:15:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:15:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:15:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:15:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:15:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106834944001,"66":25952,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:15:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:15:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:15:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106834944001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:15:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:15:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:15:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:15:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106834944001,"power":25952,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:15:50] local.INFO: DEBUG: GPS processor result {"connection_id":148578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:15:50] local.INFO: GPS data processed {"connection_id":148578,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:15:50] local.INFO: Acknowledgment sent {"connection_id":148578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:16:03] local.INFO: TCP Data received {"connection_id":146263,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:16:03] local.INFO: Processing buffer {"connection_id":146263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:16:03] local.INFO: IMEI packet received {"connection_id":146263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 14:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":146263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:16:05] local.INFO: TCP Data received {"connection_id":146263,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:16:05] local.INFO: Processing buffer {"connection_id":146263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:16:05] local.INFO: IMEI packet received {"connection_id":146263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":146263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:16:07] local.INFO: TCP Data received {"connection_id":146263,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:16:07] local.INFO: Processing buffer {"connection_id":146263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:16:07] local.INFO: IMEI packet received {"connection_id":146263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":146263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:16:08] local.INFO: TCP Data received {"connection_id":146263,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc7fcd00012d17c9000720ce600035002428..."} 
[2026-08-01 14:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc7fcd00012d17c9000720ce600035002428..."} 
[2026-08-01 14:16:08] local.INFO: Processing buffer {"connection_id":146263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc7fcd00012d17c9000720ce600035002428..."} 
[2026-08-01 14:16:08] local.INFO: Packet analysis {"connection_id":146263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc7f"} 
[2026-08-01 14:16:08] local.INFO: Extracted packet for processing {"connection_id":146263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc7f"} 
[2026-08-01 14:16:08] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119590496,"longitude_deg":75.6533504,"latitude_deg":11.9590496,"altitude":53,"angle":36,"satellites":40,"speed":12,"hex_longitude":"2d17c900","hex_latitude":"0720ce60","is_valid_coordinates":true} 
[2026-08-01 14:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106920192001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10235469707083776,"note":"Value kept but may cause issues"} 
[2026-08-01 14:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1710875307805978624,"note":"Value kept but may cause issues"} 
[2026-08-01 14:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785573920000,"timestamp_ms":1785573920000,"timestamp_seconds":1785573920,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc7fcd00"} 
[2026-08-01 14:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-01 14:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:16:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":146263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":146263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":146263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:16:08] 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-08-01 14:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106920192001,"66":13580,"107":206,"83":41984,"24":12,"16":10235469707083776,"45":1710875307805978624},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-01 14:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106920192001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:16:08] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 14:16:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10235469707083776,"km_value":10235469707083.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1710875307805978624,"description":"Unknown IO ID 45"} 
[2026-08-01 14:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106920192001,"power":13580,"unknown_107":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1710875307805978624}} 
[2026-08-01 14:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":146263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:16:08] local.INFO: GPS data processed {"connection_id":146263,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:16:08] local.INFO: Acknowledgment sent {"connection_id":146263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:16:22] local.INFO: TCP Data received {"connection_id":148578,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc7f1d38012cff008007003d580015009e21..."} 
[2026-08-01 14:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc7f1d38012cff008007003d580015009e21..."} 
[2026-08-01 14:16:22] local.INFO: Processing buffer {"connection_id":148578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc7f1d38012cff008007003d580015009e21..."} 
[2026-08-01 14:16:22] local.INFO: Packet analysis {"connection_id":148578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc7f"} 
[2026-08-01 14:16:22] local.INFO: Extracted packet for processing {"connection_id":148578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc7f"} 
[2026-08-01 14:16:22] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":21,"angle":158,"satellites":33,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106834944001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:16:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:16:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785573875000,"timestamp_ms":1785573875000,"timestamp_seconds":1785573875,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc7f1d38"} 
[2026-08-01 14:16:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:16:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-08-01 14:16:22] 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-08-01 14:16:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:16:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:16:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:16:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:16:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106834944001,"66":25952,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:16:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:16:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:16:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106834944001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:16:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:16:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:16:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:16:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106834944001,"power":25952,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":148578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:16:22] local.INFO: GPS data processed {"connection_id":148578,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:16:22] local.INFO: Acknowledgment sent {"connection_id":148578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:16:39] local.INFO: TCP Data received {"connection_id":146263,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc7fe088012d17cc800720d3d00034001828..."} 
[2026-08-01 14:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc7fe088012d17cc800720d3d00034001828..."} 
[2026-08-01 14:16:39] local.INFO: Processing buffer {"connection_id":146263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc7fe088012d17cc800720d3d00034001828..."} 
[2026-08-01 14:16:39] local.INFO: Packet analysis {"connection_id":146263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc7f"} 
[2026-08-01 14:16:39] local.INFO: Extracted packet for processing {"connection_id":146263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc7f"} 
[2026-08-01 14:16:39] local.INFO: GPS Element Parsed {"raw_longitude":756534400,"raw_latitude":119591888,"longitude_deg":75.65344,"latitude_deg":11.9591888,"altitude":52,"angle":24,"satellites":40,"speed":13,"hex_longitude":"2d17cc80","hex_latitude":"0720d3d0","is_valid_coordinates":true} 
[2026-08-01 14:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106923520001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10235551311462400,"note":"Value kept but may cause issues"} 
[2026-08-01 14:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163806351360,"note":"Value kept but may cause issues"} 
[2026-08-01 14:16: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-08-01 14:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785573925000,"timestamp_ms":1785573925000,"timestamp_seconds":1785573925,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc7fe088"} 
[2026-08-01 14:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:16:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-01 14:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751522908,"note":"Value kept but may cause issues"} 
[2026-08-01 14:16:39] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-01 14:16:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 14:16:39] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3162458160,"note":"Value kept but may cause issues"} 
[2026-08-01 14:16:39] local.WARNING: Large IO value detected {"io_id":92,"raw_value":3170893824,"note":"Value kept but may cause issues"} 
[2026-08-01 14:16:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":7000564175835496458,"note":"Value kept but may cause issues"} 
[2026-08-01 14:16:39] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-01 14:16:39] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3182952499,"note":"Value kept but may cause issues"} 
[2026-08-01 14:16:39] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639178825558635,"note":"Value kept but may cause issues"} 
[2026-08-01 14:16:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-08-01 14:16:39] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-01 14:16:39] local.WARNING: Large IO value detected {"io_id":23,"raw_value":-6070844460582305742,"note":"Value kept but may cause issues"} 
[2026-08-01 14:16:39] local.WARNING: Large IO value detected {"io_id":55,"raw_value":-2737962716495819181,"note":"Value kept but may cause issues"} 
[2026-08-01 14:16:39] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755429505958129,"note":"Value kept but may cause issues"} 
[2026-08-01 14:16:39] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,107,83,24,241,157,16,93,159,154,45,64,195,52,38,10,66,92,142,193,39,87,1,240,227,188,32,4,113,205,9,76,172,136,239,56,2,36,7,51,23,55,164],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-08-01 14:16:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819092238228258816,"timestamp_seconds":3819092238228259.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 14:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:16: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-08-01 14:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106923520001,"66":14461,"107":206,"83":41984,"24":13,"16":10235551311462400,"45":1713901163806351360},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-01 14:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106923520001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:16:39] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 14:16:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10235551311462400,"km_value":10235551311462.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163806351360,"description":"Unknown IO ID 45"} 
[2026-08-01 14:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106923520001,"power":14461,"unknown_107":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1713901163806351360}} 
[2026-08-01 14:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":146263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:16:39] local.INFO: GPS data processed {"connection_id":146263,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:16:39] local.INFO: Acknowledgment sent {"connection_id":146263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:16:49] local.INFO: TCP Data received {"connection_id":146047,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:16:49] local.INFO: Processing buffer {"connection_id":146047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:16:49] local.INFO: IMEI packet received {"connection_id":146047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":146047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:16:54] local.INFO: TCP Data received {"connection_id":146047,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:16:54] local.INFO: Processing buffer {"connection_id":146047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:16:54] local.INFO: IMEI packet received {"connection_id":146047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":146047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:16:55] local.INFO: TCP Data received {"connection_id":146047,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc7f1d38012cff008007003d580015009e21..."} 
[2026-08-01 14:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc7f1d38012cff008007003d580015009e21..."} 
[2026-08-01 14:16:55] local.INFO: Processing buffer {"connection_id":146047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc7f1d38012cff008007003d580015009e21..."} 
[2026-08-01 14:16:55] local.INFO: Packet analysis {"connection_id":146047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc7f"} 
[2026-08-01 14:16:55] local.INFO: Extracted packet for processing {"connection_id":146047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc7f"} 
[2026-08-01 14:16:55] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":21,"angle":158,"satellites":33,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106834944001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:16:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:16:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785573875000,"timestamp_ms":1785573875000,"timestamp_seconds":1785573875,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc7f1d38"} 
[2026-08-01 14:16:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:16:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-08-01 14:16:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14: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-08-01 14:16:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":146047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":146047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":146047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:16:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106834944001,"66":25952,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106834944001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:16:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:16:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106834944001,"power":25952,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":146047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:16:55] local.INFO: GPS data processed {"connection_id":146047,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:16:55] local.INFO: Acknowledgment sent {"connection_id":146047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:17:00] local.INFO: TCP Data received {"connection_id":146047,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc7f1d38012cff008007003d580015009e21..."} 
[2026-08-01 14:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc7f1d38012cff008007003d580015009e21..."} 
[2026-08-01 14:17:00] local.INFO: Processing buffer {"connection_id":146047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc7f1d38012cff008007003d580015009e21..."} 
[2026-08-01 14:17:00] local.INFO: Packet analysis {"connection_id":146047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc7f"} 
[2026-08-01 14:17:00] local.INFO: Extracted packet for processing {"connection_id":146047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc7f"} 
[2026-08-01 14:17:00] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":21,"angle":158,"satellites":33,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106834944001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:17:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:17:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785573875000,"timestamp_ms":1785573875000,"timestamp_seconds":1785573875,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc7f1d38"} 
[2026-08-01 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-08-01 14:17: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-08-01 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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-08-01 14:17: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-08-01 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-08-01 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-08-01 14:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":146047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":146047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":146047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106834944001,"66":25952,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106834944001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:17:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:17:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106834944001,"power":25952,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":146047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:17:00] local.INFO: GPS data processed {"connection_id":146047,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:17:00] local.INFO: Acknowledgment sent {"connection_id":146047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:17:00] local.INFO: TCP Data received {"connection_id":148579,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:17:00] local.INFO: Processing buffer {"connection_id":148579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:17:00] local.INFO: IMEI packet received {"connection_id":148579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 14:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":148579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:17:05] local.INFO: TCP Data received {"connection_id":148579,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:17:05] local.INFO: Processing buffer {"connection_id":148579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:17:05] local.INFO: IMEI packet received {"connection_id":148579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":148579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:17:06] local.INFO: TCP Data received {"connection_id":148579,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc7ff028012d17cec00720d9900035000728..."} 
[2026-08-01 14:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc7ff028012d17cec00720d9900035000728..."} 
[2026-08-01 14:17:06] local.INFO: Processing buffer {"connection_id":148579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc7ff028012d17cec00720d9900035000728..."} 
[2026-08-01 14:17:06] local.INFO: Packet analysis {"connection_id":148579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc7f"} 
[2026-08-01 14:17:06] local.INFO: Extracted packet for processing {"connection_id":148579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc7f"} 
[2026-08-01 14:17:06] local.INFO: GPS Element Parsed {"raw_longitude":756534976,"raw_latitude":119593360,"longitude_deg":75.6534976,"latitude_deg":11.959336,"altitude":53,"angle":7,"satellites":40,"speed":17,"hex_longitude":"2d17cec0","hex_latitude":"0720d990","is_valid_coordinates":true} 
[2026-08-01 14:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106924800001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10235624325906432,"note":"Value kept but may cause issues"} 
[2026-08-01 14:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714886326225195008,"note":"Value kept but may cause issues"} 
[2026-08-01 14:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785573929000,"timestamp_ms":1785573929000,"timestamp_seconds":1785573929,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc7ff028"} 
[2026-08-01 14:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-01 14:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:17:06] 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-08-01 14:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106924800001,"66":14559,"107":206,"83":41984,"24":17,"16":10235624325906432,"45":1714886326225195008},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-01 14:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106924800001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:17:06] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 14:17:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10235624325906432,"km_value":10235624325906.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714886326225195008,"description":"Unknown IO ID 45"} 
[2026-08-01 14:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106924800001,"power":14559,"unknown_107":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1714886326225195008}} 
[2026-08-01 14:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":148579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:17:06] local.INFO: GPS data processed {"connection_id":148579,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:17:06] local.INFO: Acknowledgment sent {"connection_id":148579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:17:37] local.INFO: TCP Data received {"connection_id":148579,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc8128a8012d17b34007211c980038000a2b..."} 
[2026-08-01 14:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc8128a8012d17b34007211c980038000a2b..."} 
[2026-08-01 14:17:37] local.INFO: Processing buffer {"connection_id":148579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc8128a8012d17b34007211c980038000a2b..."} 
[2026-08-01 14:17:37] local.INFO: Packet analysis {"connection_id":148579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc81"} 
[2026-08-01 14:17:37] local.INFO: Extracted packet for processing {"connection_id":148579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc81"} 
[2026-08-01 14:17:37] local.INFO: GPS Element Parsed {"raw_longitude":756527936,"raw_latitude":119610520,"longitude_deg":75.6527936,"latitude_deg":11.961052,"altitude":56,"angle":10,"satellites":43,"speed":11,"hex_longitude":"2d17b340","hex_latitude":"07211c98","is_valid_coordinates":true} 
[2026-08-01 14:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106945792001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10236560628776960,"note":"Value kept but may cause issues"} 
[2026-08-01 14:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1707779083067908096,"note":"Value kept but may cause issues"} 
[2026-08-01 14:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785574009000,"timestamp_ms":1785574009000,"timestamp_seconds":1785574009,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc8128a8"} 
[2026-08-01 14:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-01 14:17:37] 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-08-01 14:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:17:37] 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-08-01 14:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106945792001,"66":14461,"107":206,"83":41984,"24":11,"16":10236560628776960,"45":1707779083067908096},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-01 14:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106945792001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:17:37] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 14:17:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10236560628776960,"km_value":10236560628776.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1707779083067908096,"description":"Unknown IO ID 45"} 
[2026-08-01 14:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106945792001,"power":14461,"unknown_107":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1707779083067908096}} 
[2026-08-01 14:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":148579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:17:37] local.INFO: GPS data processed {"connection_id":148579,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:17:37] local.INFO: Acknowledgment sent {"connection_id":148579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:17:44] local.INFO: TCP Data received {"connection_id":146264,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:17:44] local.INFO: Processing buffer {"connection_id":146264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:17:44] local.INFO: IMEI packet received {"connection_id":146264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":146264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:17:49] local.INFO: TCP Data received {"connection_id":146264,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:17:49] local.INFO: Processing buffer {"connection_id":146264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:17:49] local.INFO: IMEI packet received {"connection_id":146264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":146264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:17:51] local.INFO: TCP Data received {"connection_id":146264,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc7f1d38012cff008007003d580015009e21..."} 
[2026-08-01 14:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc7f1d38012cff008007003d580015009e21..."} 
[2026-08-01 14:17:51] local.INFO: Processing buffer {"connection_id":146264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc7f1d38012cff008007003d580015009e21..."} 
[2026-08-01 14:17:51] local.INFO: Packet analysis {"connection_id":146264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc7f"} 
[2026-08-01 14:17:51] local.INFO: Extracted packet for processing {"connection_id":146264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc7f"} 
[2026-08-01 14:17:51] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":21,"angle":158,"satellites":33,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106834944001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:17:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:17:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785573875000,"timestamp_ms":1785573875000,"timestamp_seconds":1785573875,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc7f1d38"} 
[2026-08-01 14:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:17:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-08-01 14:17:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:17:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":146264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":146264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":146264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:17:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106834944001,"66":25952,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106834944001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:17:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:17:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106834944001,"power":25952,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":146264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:17:51] local.INFO: GPS data processed {"connection_id":146264,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:17:51] local.INFO: Acknowledgment sent {"connection_id":146264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:18:00] local.INFO: TCP Data received {"connection_id":146048,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:18:00] local.INFO: Processing buffer {"connection_id":146048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:18:00] local.INFO: IMEI packet received {"connection_id":146048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 14:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":146048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:18:05] local.INFO: TCP Data received {"connection_id":146048,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:18:05] local.INFO: Processing buffer {"connection_id":146048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:18:05] local.INFO: IMEI packet received {"connection_id":146048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":146048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:18:06] local.INFO: TCP Data received {"connection_id":146048,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc812c90012d17b38007211dd0003800192a..."} 
[2026-08-01 14:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc812c90012d17b38007211dd0003800192a..."} 
[2026-08-01 14:18:06] local.INFO: Processing buffer {"connection_id":146048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc812c90012d17b38007211dd0003800192a..."} 
[2026-08-01 14:18:06] local.INFO: Packet analysis {"connection_id":146048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc81"} 
[2026-08-01 14:18:06] local.INFO: Extracted packet for processing {"connection_id":146048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc81"} 
[2026-08-01 14:18:06] local.INFO: GPS Element Parsed {"raw_longitude":756528000,"raw_latitude":119610832,"longitude_deg":75.6528,"latitude_deg":11.9610832,"altitude":56,"angle":25,"satellites":42,"speed":14,"hex_longitude":"2d17b380","hex_latitude":"07211dd0","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106946304001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10236577808646144,"note":"Value kept but may cause issues"} 
[2026-08-01 14:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1707779083068020736,"note":"Value kept but may cause issues"} 
[2026-08-01 14:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785574010000,"timestamp_ms":1785574010000,"timestamp_seconds":1785574010,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc812c90"} 
[2026-08-01 14:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:18:06] 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-08-01 14: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-01 14:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14: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-08-01 14:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:18:06] 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-08-01 14:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106946304001,"66":14461,"107":206,"83":41984,"24":14,"16":10236577808646144,"45":1707779083068020736},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-01 14:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106946304001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:18:06] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 14:18:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10236577808646144,"km_value":10236577808646.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1707779083068020736,"description":"Unknown IO ID 45"} 
[2026-08-01 14:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106946304001,"power":14461,"unknown_107":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1707779083068020736}} 
[2026-08-01 14:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":146048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:18:06] local.INFO: GPS data processed {"connection_id":146048,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:18:06] local.INFO: Acknowledgment sent {"connection_id":146048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:18:23] local.INFO: TCP Data received {"connection_id":146264,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc7f1d38012cff008007003d580015009e21..."} 
[2026-08-01 14:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc7f1d38012cff008007003d580015009e21..."} 
[2026-08-01 14:18:23] local.INFO: Processing buffer {"connection_id":146264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc7f1d38012cff008007003d580015009e21..."} 
[2026-08-01 14:18:23] local.INFO: Packet analysis {"connection_id":146264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc7f"} 
[2026-08-01 14:18:23] local.INFO: Extracted packet for processing {"connection_id":146264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc7f"} 
[2026-08-01 14:18:23] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":21,"angle":158,"satellites":33,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:18:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106834944001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:18:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:18:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:18:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:18:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785573875000,"timestamp_ms":1785573875000,"timestamp_seconds":1785573875,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc7f1d38"} 
[2026-08-01 14:18:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:18:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-08-01 14:18:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:18:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:18:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:18:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:18:23] local.INFO: Teltonika packet parsed successfully {"connection_id":146264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:18:23] local.INFO: Passing IMEI to GPS processor {"connection_id":146264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:18:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":146264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:18:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:18:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:18:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:18:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106834944001,"66":25952,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:18:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:18:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:18:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106834944001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:18:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:18:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:18:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:18:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106834944001,"power":25952,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:18:23] local.INFO: DEBUG: GPS processor result {"connection_id":146264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:18:23] local.INFO: GPS data processed {"connection_id":146264,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:18:23] local.INFO: Acknowledgment sent {"connection_id":146264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:18:37] local.INFO: TCP Data received {"connection_id":146048,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc813078012d17b48007211f18003800262a..."} 
[2026-08-01 14:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc813078012d17b48007211f18003800262a..."} 
[2026-08-01 14:18:37] local.INFO: Processing buffer {"connection_id":146048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc813078012d17b48007211f18003800262a..."} 
[2026-08-01 14:18:37] local.INFO: Packet analysis {"connection_id":146048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc81"} 
[2026-08-01 14:18:37] local.INFO: Extracted packet for processing {"connection_id":146048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc81"} 
[2026-08-01 14:18:37] local.INFO: GPS Element Parsed {"raw_longitude":756528256,"raw_latitude":119611160,"longitude_deg":75.6528256,"latitude_deg":11.961116,"altitude":56,"angle":38,"satellites":42,"speed":16,"hex_longitude":"2d17b480","hex_latitude":"07211f18","is_valid_coordinates":true} 
[2026-08-01 14:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106946560001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10236599283482624,"note":"Value kept but may cause issues"} 
[2026-08-01 14:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1707849451812278272,"note":"Value kept but may cause issues"} 
[2026-08-01 14:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785574011000,"timestamp_ms":1785574011000,"timestamp_seconds":1785574011,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc813078"} 
[2026-08-01 14:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-01 14:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:18:37] 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-08-01 14:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106946560001,"66":14428,"107":206,"83":41984,"24":16,"16":10236599283482624,"45":1707849451812278272},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-01 14:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106946560001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:18:37] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 14:18:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10236599283482624,"km_value":10236599283482.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1707849451812278272,"description":"Unknown IO ID 45"} 
[2026-08-01 14:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106946560001,"power":14428,"unknown_107":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1707849451812278272}} 
[2026-08-01 14:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":146048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:18:37] local.INFO: GPS data processed {"connection_id":146048,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:18:37] local.INFO: Acknowledgment sent {"connection_id":146048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:18:44] local.INFO: TCP Data received {"connection_id":148580,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:18:44] local.INFO: Processing buffer {"connection_id":148580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:18:44] local.INFO: IMEI packet received {"connection_id":148580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":148580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:18:49] local.INFO: TCP Data received {"connection_id":148580,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:18:49] local.INFO: Processing buffer {"connection_id":148580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:18:49] local.INFO: IMEI packet received {"connection_id":148580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":148580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:18:51] local.INFO: TCP Data received {"connection_id":148580,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc7f1d38012cff008007003d580015009e21..."} 
[2026-08-01 14:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc7f1d38012cff008007003d580015009e21..."} 
[2026-08-01 14:18:51] local.INFO: Processing buffer {"connection_id":148580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc7f1d38012cff008007003d580015009e21..."} 
[2026-08-01 14:18:51] local.INFO: Packet analysis {"connection_id":148580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc7f"} 
[2026-08-01 14:18:51] local.INFO: Extracted packet for processing {"connection_id":148580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc7f"} 
[2026-08-01 14:18:51] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":21,"angle":158,"satellites":33,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106834944001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:18:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785573875000,"timestamp_ms":1785573875000,"timestamp_seconds":1785573875,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc7f1d38"} 
[2026-08-01 14:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:18:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-08-01 14:18:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:18:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:18:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106834944001,"66":25952,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106834944001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:18:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:18:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106834944001,"power":25952,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":148580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:18:51] local.INFO: GPS data processed {"connection_id":148580,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:18:51] local.INFO: Acknowledgment sent {"connection_id":148580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:19:00] local.INFO: TCP Data received {"connection_id":146265,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:19:00] local.INFO: Processing buffer {"connection_id":146265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:19:00] local.INFO: IMEI packet received {"connection_id":146265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 14:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":146265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:19:05] local.INFO: TCP Data received {"connection_id":146265,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:19:05] local.INFO: Processing buffer {"connection_id":146265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:19:05] local.INFO: IMEI packet received {"connection_id":146265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":146265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:19:06] local.INFO: TCP Data received {"connection_id":146265,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc816728012d17ca0007213ba0003c001f29..."} 
[2026-08-01 14:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc816728012d17ca0007213ba0003c001f29..."} 
[2026-08-01 14:19:06] local.INFO: Processing buffer {"connection_id":146265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc816728012d17ca0007213ba0003c001f29..."} 
[2026-08-01 14:19:06] local.INFO: Packet analysis {"connection_id":146265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc81"} 
[2026-08-01 14:19:06] local.INFO: Extracted packet for processing {"connection_id":146265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc81"} 
[2026-08-01 14:19:06] local.INFO: GPS Element Parsed {"raw_longitude":756533760,"raw_latitude":119618464,"longitude_deg":75.653376,"latitude_deg":11.9618464,"altitude":60,"angle":31,"satellites":41,"speed":30,"hex_longitude":"2d17ca00","hex_latitude":"07213ba0","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106946816001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10237037370146816,"note":"Value kept but may cause issues"} 
[2026-08-01 14:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1708130926789072896,"note":"Value kept but may cause issues"} 
[2026-08-01 14:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785574025000,"timestamp_ms":1785574025000,"timestamp_seconds":1785574025,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc816728"} 
[2026-08-01 14:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-01 14:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14: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-08-01 14:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:19:06] 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-08-01 14:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106946816001,"66":14135,"107":206,"83":41984,"24":30,"16":10237037370146816,"45":1708130926789072896},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-01 14:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106946816001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:19:06] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 14:19:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10237037370146816,"km_value":10237037370146.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1708130926789072896,"description":"Unknown IO ID 45"} 
[2026-08-01 14:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106946816001,"power":14135,"unknown_107":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1708130926789072896}} 
[2026-08-01 14:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":146265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:19:06] local.INFO: GPS data processed {"connection_id":146265,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:19:06] local.INFO: Acknowledgment sent {"connection_id":146265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:19:23] local.INFO: TCP Data received {"connection_id":148580,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc7f1d38012cff008007003d580015009e21..."} 
[2026-08-01 14:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc7f1d38012cff008007003d580015009e21..."} 
[2026-08-01 14:19:23] local.INFO: Processing buffer {"connection_id":148580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc7f1d38012cff008007003d580015009e21..."} 
[2026-08-01 14:19:23] local.INFO: Packet analysis {"connection_id":148580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc7f"} 
[2026-08-01 14:19:23] local.INFO: Extracted packet for processing {"connection_id":148580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc7f"} 
[2026-08-01 14:19:23] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":21,"angle":158,"satellites":33,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106834944001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:19:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:19:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785573875000,"timestamp_ms":1785573875000,"timestamp_seconds":1785573875,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc7f1d38"} 
[2026-08-01 14:19:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:19:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-08-01 14:19:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:19:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:19:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":148580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":148580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":148580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:19:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106834944001,"66":25952,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106834944001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:19:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:19:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106834944001,"power":25952,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":148580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:19:23] local.INFO: GPS data processed {"connection_id":148580,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:19:23] local.INFO: Acknowledgment sent {"connection_id":148580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:19:37] local.INFO: TCP Data received {"connection_id":146265,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc8318c0012d181d000721aa30004a009e2a..."} 
[2026-08-01 14:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc8318c0012d181d000721aa30004a009e2a..."} 
[2026-08-01 14:19:37] local.INFO: Processing buffer {"connection_id":146265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc8318c0012d181d000721aa30004a009e2a..."} 
[2026-08-01 14:19:37] local.INFO: Packet analysis {"connection_id":146265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc83"} 
[2026-08-01 14:19:37] local.INFO: Extracted packet for processing {"connection_id":146265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc83"} 
[2026-08-01 14:19:37] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119646768,"longitude_deg":75.6555008,"latitude_deg":11.9646768,"altitude":74,"angle":158,"satellites":42,"speed":8,"hex_longitude":"2d181d00","hex_latitude":"0721aa30","is_valid_coordinates":true} 
[2026-08-01 14:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106978560001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10238794011770880,"note":"Value kept but may cause issues"} 
[2026-08-01 14:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120313344,"note":"Value kept but may cause issues"} 
[2026-08-01 14:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785574136000,"timestamp_ms":1785574136000,"timestamp_seconds":1785574136,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc8318c0"} 
[2026-08-01 14:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-01 14:19:37] 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-08-01 14:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:19:37] 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-08-01 14:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106978560001,"66":13091,"105":206,"83":41984,"24":8,"16":10238794011770880,"45":1737474693120313344},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 14:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106978560001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:19:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 14:19:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10238794011770880,"km_value":10238794011770.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120313344,"description":"Unknown IO ID 45"} 
[2026-08-01 14:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106978560001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1737474693120313344}} 
[2026-08-01 14:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":146265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:19:37] local.INFO: GPS data processed {"connection_id":146265,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:19:37] local.INFO: Acknowledgment sent {"connection_id":146265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:19:44] local.INFO: TCP Data received {"connection_id":147267,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:19:44] local.INFO: Processing buffer {"connection_id":147267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:19:44] local.INFO: IMEI packet received {"connection_id":147267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":147267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:19:49] local.INFO: TCP Data received {"connection_id":147267,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:19:49] local.INFO: Processing buffer {"connection_id":147267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:19:49] local.INFO: IMEI packet received {"connection_id":147267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":147267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:19:50] local.INFO: TCP Data received {"connection_id":147267,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc7f1d38012cff008007003d580015009e21..."} 
[2026-08-01 14:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc7f1d38012cff008007003d580015009e21..."} 
[2026-08-01 14:19:50] local.INFO: Processing buffer {"connection_id":147267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc7f1d38012cff008007003d580015009e21..."} 
[2026-08-01 14:19:50] local.INFO: Packet analysis {"connection_id":147267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc7f"} 
[2026-08-01 14:19:50] local.INFO: Extracted packet for processing {"connection_id":147267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc7f"} 
[2026-08-01 14:19:50] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":21,"angle":158,"satellites":33,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106834944001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:19:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:19:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785573875000,"timestamp_ms":1785573875000,"timestamp_seconds":1785573875,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc7f1d38"} 
[2026-08-01 14:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:19:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-08-01 14:19:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14: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-08-01 14:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:19:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106834944001,"66":25952,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106834944001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:19:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:19:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106834944001,"power":25952,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":147267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:19:50] local.INFO: GPS data processed {"connection_id":147267,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:19:50] local.INFO: Acknowledgment sent {"connection_id":147267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:20:00] local.INFO: TCP Data received {"connection_id":148581,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:20:00] local.INFO: Processing buffer {"connection_id":148581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:20:00] local.INFO: IMEI packet received {"connection_id":148581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 14:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":148581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:20:03] local.INFO: TCP Data received {"connection_id":148581,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:20:03] local.INFO: Processing buffer {"connection_id":148581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:20:03] local.INFO: IMEI packet received {"connection_id":148581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":148581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:20:05] local.INFO: TCP Data received {"connection_id":148581,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:20:05] local.INFO: Processing buffer {"connection_id":148581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:20:05] local.INFO: IMEI packet received {"connection_id":148581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":148581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:20:07] local.INFO: TCP Data received {"connection_id":148581,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc831ca8012d181d400721a970004a00be29..."} 
[2026-08-01 14:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc831ca8012d181d400721a970004a00be29..."} 
[2026-08-01 14:20:07] local.INFO: Processing buffer {"connection_id":148581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc831ca8012d181d400721a970004a00be29..."} 
[2026-08-01 14:20:07] local.INFO: Packet analysis {"connection_id":148581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc83"} 
[2026-08-01 14:20:07] local.INFO: Extracted packet for processing {"connection_id":148581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc83"} 
[2026-08-01 14:20:07] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119646576,"longitude_deg":75.6555072,"latitude_deg":11.9646576,"altitude":74,"angle":190,"satellites":41,"speed":8,"hex_longitude":"2d181d40","hex_latitude":"0721a970","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106978816001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10238802601705472,"note":"Value kept but may cause issues"} 
[2026-08-01 14:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864452096,"note":"Value kept but may cause issues"} 
[2026-08-01 14:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785574137000,"timestamp_ms":1785574137000,"timestamp_seconds":1785574137,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc831ca8"} 
[2026-08-01 14:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-01 14:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14: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-08-01 14:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":148581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":148581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":148581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:20: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-08-01 14:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106978816001,"66":14048,"105":206,"83":41984,"24":8,"16":10238802601705472,"45":1737545061864452096},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 14:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106978816001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:20:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 14:20:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10238802601705472,"km_value":10238802601705.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864452096,"description":"Unknown IO ID 45"} 
[2026-08-01 14:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106978816001,"power":14048,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1737545061864452096}} 
[2026-08-01 14:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":148581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:20:07] local.INFO: GPS data processed {"connection_id":148581,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:20:07] local.INFO: Acknowledgment sent {"connection_id":148581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:20:11] local.INFO: TCP Data received {"connection_id":148581,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc832090012d181d000721a890004a00cc28..."} 
[2026-08-01 14:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc832090012d181d000721a890004a00cc28..."} 
[2026-08-01 14:20:11] local.INFO: Processing buffer {"connection_id":148581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc832090012d181d000721a890004a00cc28..."} 
[2026-08-01 14:20:11] local.INFO: Packet analysis {"connection_id":148581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc83"} 
[2026-08-01 14:20:11] local.INFO: Extracted packet for processing {"connection_id":148581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc83"} 
[2026-08-01 14:20:11] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119646352,"longitude_deg":75.6555008,"latitude_deg":11.9646352,"altitude":74,"angle":204,"satellites":40,"speed":10,"hex_longitude":"2d181d00","hex_latitude":"0721a890","is_valid_coordinates":true} 
[2026-08-01 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-08-01 14:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106979072001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10238815486607360,"note":"Value kept but may cause issues"} 
[2026-08-01 14:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608580608,"note":"Value kept but may cause issues"} 
[2026-08-01 14: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-08-01 14:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785574138000,"timestamp_ms":1785574138000,"timestamp_seconds":1785574138,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc832090"} 
[2026-08-01 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-08-01 14:20: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-08-01 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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-01 14:20:11] 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-08-01 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-08-01 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-08-01 14:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":148581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":148581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":148581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:20: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-08-01 14:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106979072001,"66":14048,"105":206,"83":41984,"24":10,"16":10238815486607360,"45":1737615430608580608},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 14:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106979072001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:20:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 14:20:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10238815486607360,"km_value":10238815486607.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608580608,"description":"Unknown IO ID 45"} 
[2026-08-01 14:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106979072001,"power":14048,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1737615430608580608}} 
[2026-08-01 14:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":148581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:20:11] local.INFO: GPS data processed {"connection_id":148581,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:20:11] local.INFO: Acknowledgment sent {"connection_id":148581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:20:22] local.INFO: TCP Data received {"connection_id":147267,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc83b500012cff008007003d580020009e22..."} 
[2026-08-01 14:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc83b500012cff008007003d580020009e22..."} 
[2026-08-01 14:20:22] local.INFO: Processing buffer {"connection_id":147267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc83b500012cff008007003d580020009e22..."} 
[2026-08-01 14:20:22] local.INFO: Packet analysis {"connection_id":147267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc83"} 
[2026-08-01 14:20:22] local.INFO: Extracted packet for processing {"connection_id":147267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc83"} 
[2026-08-01 14:20:22] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":32,"angle":158,"satellites":34,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14:20:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:20:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106912000001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:20:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:20:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:20:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:20:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785574176000,"timestamp_ms":1785574176000,"timestamp_seconds":1785574176,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc83b500"} 
[2026-08-01 14:20:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:20:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14:20:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 14:20:22] 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-08-01 14:20:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:20:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:20:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:20:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:20:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:20:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:20:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:20:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:20:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:20:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106912000001,"66":25897,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:20:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:20:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:20:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106912000001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:20:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:20:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:20:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:20:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106912000001,"power":25897,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:20:22] local.INFO: DEBUG: GPS processor result {"connection_id":147267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:20:22] local.INFO: GPS data processed {"connection_id":147267,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:20:22] local.INFO: Acknowledgment sent {"connection_id":147267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:20:41] local.INFO: TCP Data received {"connection_id":148581,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc832860012d181bc00721a6d0004a00da27..."} 
[2026-08-01 14:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc832860012d181bc00721a6d0004a00da27..."} 
[2026-08-01 14:20:41] local.INFO: Processing buffer {"connection_id":148581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc832860012d181bc00721a6d0004a00da27..."} 
[2026-08-01 14:20:41] local.INFO: Packet analysis {"connection_id":148581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc83"} 
[2026-08-01 14:20:41] local.INFO: Extracted packet for processing {"connection_id":148581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc83"} 
[2026-08-01 14:20:41] local.INFO: GPS Element Parsed {"raw_longitude":756554688,"raw_latitude":119645904,"longitude_deg":75.6554688,"latitude_deg":11.9645904,"altitude":74,"angle":218,"satellites":39,"speed":10,"hex_longitude":"2d181bc0","hex_latitude":"0721a6d0","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106979328001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10238841256411136,"note":"Value kept but may cause issues"} 
[2026-08-01 14:20:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864345600,"note":"Value kept but may cause issues"} 
[2026-08-01 14:20: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-08-01 14:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785574140000,"timestamp_ms":1785574140000,"timestamp_seconds":1785574140,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc832860"} 
[2026-08-01 14:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:20:41] 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-08-01 14: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-01 14:20: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-08-01 14: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-08-01 14:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":148581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":148581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":148581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:20: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-08-01 14:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106979328001,"66":14004,"105":206,"83":41984,"24":10,"16":10238841256411136,"45":1737545061864345600},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 14:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106979328001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:20:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 14:20:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10238841256411136,"km_value":10238841256411.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:20:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864345600,"description":"Unknown IO ID 45"} 
[2026-08-01 14:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106979328001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1737545061864345600}} 
[2026-08-01 14:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":148581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:20:42] local.INFO: GPS data processed {"connection_id":148581,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:20:42] local.INFO: Acknowledgment sent {"connection_id":148581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:20:49] local.INFO: TCP Data received {"connection_id":146049,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:20:49] local.INFO: Processing buffer {"connection_id":146049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:20:49] local.INFO: IMEI packet received {"connection_id":146049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":146049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:20:54] local.INFO: TCP Data received {"connection_id":146049,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:20:54] local.INFO: Processing buffer {"connection_id":146049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:20:54] local.INFO: IMEI packet received {"connection_id":146049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":146049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:20:55] local.INFO: TCP Data received {"connection_id":146049,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc83b500012cff008007003d580020009e22..."} 
[2026-08-01 14:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc83b500012cff008007003d580020009e22..."} 
[2026-08-01 14:20:55] local.INFO: Processing buffer {"connection_id":146049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc83b500012cff008007003d580020009e22..."} 
[2026-08-01 14:20:55] local.INFO: Packet analysis {"connection_id":146049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc83"} 
[2026-08-01 14:20:55] local.INFO: Extracted packet for processing {"connection_id":146049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc83"} 
[2026-08-01 14:20:55] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":32,"angle":158,"satellites":34,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106912000001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:20:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785574176000,"timestamp_ms":1785574176000,"timestamp_seconds":1785574176,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc83b500"} 
[2026-08-01 14:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:20:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 14:20:55] 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-08-01 14:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":146049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":146049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":146049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106912000001,"66":25897,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106912000001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:20:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:20:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106912000001,"power":25897,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":146049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:20:55] local.INFO: GPS data processed {"connection_id":146049,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:20:55] local.INFO: Acknowledgment sent {"connection_id":146049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:21:00] local.INFO: TCP Data received {"connection_id":147268,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:21:00] local.INFO: Processing buffer {"connection_id":147268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:21:00] local.INFO: IMEI packet received {"connection_id":147268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 14:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":147268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:21:00] local.INFO: TCP Data received {"connection_id":146049,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc83b500012cff008007003d580020009e22..."} 
[2026-08-01 14:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc83b500012cff008007003d580020009e22..."} 
[2026-08-01 14:21:00] local.INFO: Processing buffer {"connection_id":146049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc83b500012cff008007003d580020009e22..."} 
[2026-08-01 14:21:00] local.INFO: Packet analysis {"connection_id":146049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc83"} 
[2026-08-01 14:21:00] local.INFO: Extracted packet for processing {"connection_id":146049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc83"} 
[2026-08-01 14:21:00] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":32,"angle":158,"satellites":34,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106912000001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:21:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:21:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785574176000,"timestamp_ms":1785574176000,"timestamp_seconds":1785574176,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc83b500"} 
[2026-08-01 14:21:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:21: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-08-01 14: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 14:21:00] 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-08-01 14: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-08-01 14:21:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":146049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":146049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":146049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:21:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106912000001,"66":25897,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106912000001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:21:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:21:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106912000001,"power":25897,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":146049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:21:00] local.INFO: GPS data processed {"connection_id":146049,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:21:00] local.INFO: Acknowledgment sent {"connection_id":146049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:21:04] local.INFO: TCP Data received {"connection_id":147268,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:21:04] local.INFO: Processing buffer {"connection_id":147268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:21:04] local.INFO: IMEI packet received {"connection_id":147268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":147268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:21:05] local.INFO: TCP Data received {"connection_id":147268,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:21:05] local.INFO: Processing buffer {"connection_id":147268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:21:05] local.INFO: IMEI packet received {"connection_id":147268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":147268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:21:06] local.INFO: TCP Data received {"connection_id":147268,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc845528012d17eb4007218938004b011b2a..."} 
[2026-08-01 14:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc845528012d17eb4007218938004b011b2a..."} 
[2026-08-01 14:21:06] local.INFO: Processing buffer {"connection_id":147268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc845528012d17eb4007218938004b011b2a..."} 
[2026-08-01 14:21:06] local.INFO: Packet analysis {"connection_id":147268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc84"} 
[2026-08-01 14:21:06] local.INFO: Extracted packet for processing {"connection_id":147268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc84"} 
[2026-08-01 14:21:06] local.INFO: GPS Element Parsed {"raw_longitude":756542272,"raw_latitude":119638328,"longitude_deg":75.6542272,"latitude_deg":11.9638328,"altitude":75,"angle":283,"satellites":42,"speed":10,"hex_longitude":"2d17eb40","hex_latitude":"07218938","is_valid_coordinates":true} 
[2026-08-01 14:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106997760001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10239678775033856,"note":"Value kept but may cause issues"} 
[2026-08-01 14:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1726004587816923136,"note":"Value kept but may cause issues"} 
[2026-08-01 14:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785574217000,"timestamp_ms":1785574217000,"timestamp_seconds":1785574217,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc845528"} 
[2026-08-01 14:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-01 14:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:21:06] 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-08-01 14:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106997760001,"66":14135,"107":206,"83":41984,"24":10,"16":10239678775033856,"45":1726004587816923136},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-01 14:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106997760001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:21:06] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 14:21:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10239678775033856,"km_value":10239678775033.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1726004587816923136,"description":"Unknown IO ID 45"} 
[2026-08-01 14:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106997760001,"power":14135,"unknown_107":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1726004587816923136}} 
[2026-08-01 14:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":147268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:21:06] local.INFO: GPS data processed {"connection_id":147268,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:21:06] local.INFO: Acknowledgment sent {"connection_id":147268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:21:40] local.INFO: TCP Data received {"connection_id":147268,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc847850012d17e14007218c20004d013128..."} 
[2026-08-01 14:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc847850012d17e14007218c20004d013128..."} 
[2026-08-01 14:21:40] local.INFO: Processing buffer {"connection_id":147268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc847850012d17e14007218c20004d013128..."} 
[2026-08-01 14:21:40] local.INFO: Packet analysis {"connection_id":147268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc84"} 
[2026-08-01 14:21:40] local.INFO: Extracted packet for processing {"connection_id":147268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc84"} 
[2026-08-01 14:21:40] local.INFO: GPS Element Parsed {"raw_longitude":756539712,"raw_latitude":119639072,"longitude_deg":75.6539712,"latitude_deg":11.9639072,"altitude":77,"angle":305,"satellites":40,"speed":9,"hex_longitude":"2d17e140","hex_latitude":"07218c20","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106999552001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10239807624052736,"note":"Value kept but may cause issues"} 
[2026-08-01 14:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1723541681770936320,"note":"Value kept but may cause issues"} 
[2026-08-01 14:21: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-08-01 14:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785574226000,"timestamp_ms":1785574226000,"timestamp_seconds":1785574226,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc847850"} 
[2026-08-01 14:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:21: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-08-01 14: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-01 14:21: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-08-01 14: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-08-01 14:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":147268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":147268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":147268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:21:40] 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-08-01 14:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106999552001,"66":14494,"107":206,"83":41984,"24":9,"16":10239807624052736,"45":1723541681770936320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-01 14:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106999552001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:21:40] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 14:21:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10239807624052736,"km_value":10239807624052.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1723541681770936320,"description":"Unknown IO ID 45"} 
[2026-08-01 14:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106999552001,"power":14494,"unknown_107":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1723541681770936320}} 
[2026-08-01 14:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":147268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:21:40] local.INFO: GPS data processed {"connection_id":147268,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:21:40] local.INFO: Acknowledgment sent {"connection_id":147268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:21:44] local.INFO: TCP Data received {"connection_id":146050,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:21:44] local.INFO: Processing buffer {"connection_id":146050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:21:44] local.INFO: IMEI packet received {"connection_id":146050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":146050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:21:49] local.INFO: TCP Data received {"connection_id":146050,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:21:49] local.INFO: Processing buffer {"connection_id":146050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:21:49] local.INFO: IMEI packet received {"connection_id":146050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":146050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:21:50] local.INFO: TCP Data received {"connection_id":146050,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc83b500012cff008007003d580020009e22..."} 
[2026-08-01 14:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc83b500012cff008007003d580020009e22..."} 
[2026-08-01 14:21:50] local.INFO: Processing buffer {"connection_id":146050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc83b500012cff008007003d580020009e22..."} 
[2026-08-01 14:21:50] local.INFO: Packet analysis {"connection_id":146050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc83"} 
[2026-08-01 14:21:50] local.INFO: Extracted packet for processing {"connection_id":146050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc83"} 
[2026-08-01 14:21:50] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":32,"angle":158,"satellites":34,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:21:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106912000001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:21:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:21:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:21:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:21:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785574176000,"timestamp_ms":1785574176000,"timestamp_seconds":1785574176,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc83b500"} 
[2026-08-01 14:21:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:21:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 14:21:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14: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-08-01 14:21:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:21:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:21:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:21:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:21:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:21:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:21:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:21:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:21:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106912000001,"66":25897,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:21:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:21:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:21:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106912000001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:21:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:21:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:21:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:21:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106912000001,"power":25897,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:21:50] local.INFO: DEBUG: GPS processor result {"connection_id":146050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:21:50] local.INFO: GPS data processed {"connection_id":146050,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:21:50] local.INFO: Acknowledgment sent {"connection_id":146050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:22:05] local.INFO: TCP Data received {"connection_id":146051,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:22:05] local.INFO: Processing buffer {"connection_id":146051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:22:05] local.INFO: IMEI packet received {"connection_id":146051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 14:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":146051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:22:08] local.INFO: TCP Data received {"connection_id":146051,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:22:08] local.INFO: Processing buffer {"connection_id":146051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:22:08] local.INFO: IMEI packet received {"connection_id":146051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":146051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:22:09] local.INFO: TCP Data received {"connection_id":146051,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc8537b8012d17ad400721a0980048012e25..."} 
[2026-08-01 14:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc8537b8012d17ad400721a0980048012e25..."} 
[2026-08-01 14:22:09] local.INFO: Processing buffer {"connection_id":146051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc8537b8012d17ad400721a0980048012e25..."} 
[2026-08-01 14:22:09] local.INFO: Packet analysis {"connection_id":146051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc85"} 
[2026-08-01 14:22:09] local.INFO: Extracted packet for processing {"connection_id":146051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc85"} 
[2026-08-01 14:22:09] local.INFO: GPS Element Parsed {"raw_longitude":756526400,"raw_latitude":119644312,"longitude_deg":75.65264,"latitude_deg":11.9644312,"altitude":72,"angle":302,"satellites":37,"speed":11,"hex_longitude":"2d17ad40","hex_latitude":"0721a098","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107012096001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10240546358427648,"note":"Value kept but may cause issues"} 
[2026-08-01 14:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1710241989122590720,"note":"Value kept but may cause issues"} 
[2026-08-01 14:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785574275000,"timestamp_ms":1785574275000,"timestamp_seconds":1785574275,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc8537b8"} 
[2026-08-01 14:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-01 14:22:09] 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-08-01 14: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-08-01 14:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":146051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":146051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":146051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:22:09] 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-08-01 14:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107012096001,"66":14537,"107":206,"83":41984,"24":11,"16":10240546358427648,"45":1710241989122590720},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-01 14:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107012096001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:22:09] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 14:22:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10240546358427648,"km_value":10240546358427.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1710241989122590720,"description":"Unknown IO ID 45"} 
[2026-08-01 14:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107012096001,"power":14537,"unknown_107":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1710241989122590720}} 
[2026-08-01 14:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":146051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:22:09] local.INFO: GPS data processed {"connection_id":146051,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:22:09] local.INFO: Acknowledgment sent {"connection_id":146051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:22:10] local.INFO: TCP Data received {"connection_id":146051,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc853ba0012d17acc00721a1380048013f25..."} 
[2026-08-01 14:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc853ba0012d17acc00721a1380048013f25..."} 
[2026-08-01 14:22:10] local.INFO: Processing buffer {"connection_id":146051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc853ba0012d17acc00721a1380048013f25..."} 
[2026-08-01 14:22:10] local.INFO: Packet analysis {"connection_id":146051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc85"} 
[2026-08-01 14:22:10] local.INFO: Extracted packet for processing {"connection_id":146051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc85"} 
[2026-08-01 14:22:10] local.INFO: GPS Element Parsed {"raw_longitude":756526272,"raw_latitude":119644472,"longitude_deg":75.6526272,"latitude_deg":11.9644472,"altitude":72,"angle":319,"satellites":37,"speed":8,"hex_longitude":"2d17acc0","hex_latitude":"0721a138","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107014400001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10240559243329536,"note":"Value kept but may cause issues"} 
[2026-08-01 14:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1706090233216407552,"note":"Value kept but may cause issues"} 
[2026-08-01 14:22: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-08-01 14:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785574276000,"timestamp_ms":1785574276000,"timestamp_seconds":1785574276,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc853ba0"} 
[2026-08-01 14:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-01 14:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14: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-08-01 14:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:22: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-08-01 14:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107014400001,"66":14537,"107":206,"83":41984,"24":8,"16":10240559243329536,"45":1706090233216407552},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-01 14:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107014400001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:22:10] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 14:22:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10240559243329536,"km_value":10240559243329.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1706090233216407552,"description":"Unknown IO ID 45"} 
[2026-08-01 14:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107014400001,"power":14537,"unknown_107":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1706090233216407552}} 
[2026-08-01 14:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":146051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:22:11] local.INFO: GPS data processed {"connection_id":146051,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:22:11] local.INFO: Acknowledgment sent {"connection_id":146051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:22:22] local.INFO: TCP Data received {"connection_id":146050,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc83b500012cff008007003d580020009e22..."} 
[2026-08-01 14:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc83b500012cff008007003d580020009e22..."} 
[2026-08-01 14:22:22] local.INFO: Processing buffer {"connection_id":146050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc83b500012cff008007003d580020009e22..."} 
[2026-08-01 14:22:22] local.INFO: Packet analysis {"connection_id":146050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc83"} 
[2026-08-01 14:22:22] local.INFO: Extracted packet for processing {"connection_id":146050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc83"} 
[2026-08-01 14:22:22] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":32,"angle":158,"satellites":34,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:22:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106912000001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:22:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:22:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785574176000,"timestamp_ms":1785574176000,"timestamp_seconds":1785574176,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc83b500"} 
[2026-08-01 14:22:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:22:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 14:22:22] 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-08-01 14:22:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:22:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:22:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:22:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106912000001,"66":25897,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:22:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:22:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:22:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106912000001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:22:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:22:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:22:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:22:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106912000001,"power":25897,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:22:22] local.INFO: DEBUG: GPS processor result {"connection_id":146050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:22:22] local.INFO: GPS data processed {"connection_id":146050,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:22:22] local.INFO: Acknowledgment sent {"connection_id":146050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:22:42] local.INFO: TCP Data received {"connection_id":146051,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc853f88012d17ac000721a1e80048014c25..."} 
[2026-08-01 14:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc853f88012d17ac000721a1e80048014c25..."} 
[2026-08-01 14:22:42] local.INFO: Processing buffer {"connection_id":146051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc853f88012d17ac000721a1e80048014c25..."} 
[2026-08-01 14:22:42] local.INFO: Packet analysis {"connection_id":146051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc85"} 
[2026-08-01 14:22:42] local.INFO: Extracted packet for processing {"connection_id":146051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc85"} 
[2026-08-01 14:22:42] local.INFO: GPS Element Parsed {"raw_longitude":756526080,"raw_latitude":119644648,"longitude_deg":75.652608,"latitude_deg":11.9644648,"altitude":72,"angle":332,"satellites":37,"speed":8,"hex_longitude":"2d17ac00","hex_latitude":"0721a1e8","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107014656001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10240567833264128,"note":"Value kept but may cause issues"} 
[2026-08-01 14:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1705949495728093184,"note":"Value kept but may cause issues"} 
[2026-08-01 14:22: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-08-01 14:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785574277000,"timestamp_ms":1785574277000,"timestamp_seconds":1785574277,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc853f88"} 
[2026-08-01 14:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-01 14:22:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14: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-08-01 14:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":146051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":146051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":146051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:22: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-08-01 14:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107014656001,"66":14483,"107":206,"83":41984,"24":8,"16":10240567833264128,"45":1705949495728093184},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-01 14:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107014656001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:22:42] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 14:22:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10240567833264128,"km_value":10240567833264.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1705949495728093184,"description":"Unknown IO ID 45"} 
[2026-08-01 14:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107014656001,"power":14483,"unknown_107":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1705949495728093184}} 
[2026-08-01 14:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":146051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:22:42] local.INFO: GPS data processed {"connection_id":146051,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:22:42] local.INFO: Acknowledgment sent {"connection_id":146051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:22:44] local.INFO: TCP Data received {"connection_id":146266,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:22:44] local.INFO: Processing buffer {"connection_id":146266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:22:44] local.INFO: IMEI packet received {"connection_id":146266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":146266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:22:49] local.INFO: TCP Data received {"connection_id":146266,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:22:49] local.INFO: Processing buffer {"connection_id":146266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:22:49] local.INFO: IMEI packet received {"connection_id":146266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":146266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:22:50] local.INFO: TCP Data received {"connection_id":146266,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc83b500012cff008007003d580020009e22..."} 
[2026-08-01 14:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc83b500012cff008007003d580020009e22..."} 
[2026-08-01 14:22:50] local.INFO: Processing buffer {"connection_id":146266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc83b500012cff008007003d580020009e22..."} 
[2026-08-01 14:22:50] local.INFO: Packet analysis {"connection_id":146266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc83"} 
[2026-08-01 14:22:50] local.INFO: Extracted packet for processing {"connection_id":146266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc83"} 
[2026-08-01 14:22:50] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":32,"angle":158,"satellites":34,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:22:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106912000001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:22:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:22:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:22:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:22:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785574176000,"timestamp_ms":1785574176000,"timestamp_seconds":1785574176,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc83b500"} 
[2026-08-01 14:22:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:22:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 14:22:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:22:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:22:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:22:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:22:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:22:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:22:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:22:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:22:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:22:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:22:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106912000001,"66":25897,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:22:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:22:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:22:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106912000001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:22:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:22:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:22:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:22:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106912000001,"power":25897,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:22:50] local.INFO: DEBUG: GPS processor result {"connection_id":146266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:22:50] local.INFO: GPS data processed {"connection_id":146266,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:22:50] local.INFO: Acknowledgment sent {"connection_id":146266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:22:59] local.INFO: TCP Data received {"connection_id":146267,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:22:59] local.INFO: Processing buffer {"connection_id":146267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:22:59] local.INFO: IMEI packet received {"connection_id":146267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 14:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":146267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:23:00] local.INFO: TCP Data received {"connection_id":146267,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:23:00] local.INFO: Processing buffer {"connection_id":146267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:23:00] local.INFO: IMEI packet received {"connection_id":146267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":146267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:23:03] local.INFO: TCP Data received {"connection_id":146267,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:23:03] local.INFO: Processing buffer {"connection_id":146267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:23:03] local.INFO: IMEI packet received {"connection_id":146267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":146267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:23:04] local.INFO: TCP Data received {"connection_id":146267,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc854370012d17ac000721a2e00048016625..."} 
[2026-08-01 14:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc854370012d17ac000721a2e00048016625..."} 
[2026-08-01 14:23:04] local.INFO: Processing buffer {"connection_id":146267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc854370012d17ac000721a2e00048016625..."} 
[2026-08-01 14:23:04] local.INFO: Packet analysis {"connection_id":146267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc85"} 
[2026-08-01 14:23:04] local.INFO: Extracted packet for processing {"connection_id":146267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc85"} 
[2026-08-01 14:23:04] local.INFO: GPS Element Parsed {"raw_longitude":756526080,"raw_latitude":119644896,"longitude_deg":75.652608,"latitude_deg":11.9644896,"altitude":72,"angle":358,"satellites":37,"speed":10,"hex_longitude":"2d17ac00","hex_latitude":"0721a2e0","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107014912001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10240580718166016,"note":"Value kept but may cause issues"} 
[2026-08-01 14:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1705738389495605248,"note":"Value kept but may cause issues"} 
[2026-08-01 14:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785574278000,"timestamp_ms":1785574278000,"timestamp_seconds":1785574278,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc854370"} 
[2026-08-01 14:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:23: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-08-01 14: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-01 14:23:04] 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-08-01 14: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-08-01 14:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:23:04] 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-08-01 14:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107014912001,"66":14483,"107":206,"83":41984,"24":10,"16":10240580718166016,"45":1705738389495605248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-01 14:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107014912001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:23:04] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 14:23:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10240580718166016,"km_value":10240580718166.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1705738389495605248,"description":"Unknown IO ID 45"} 
[2026-08-01 14:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107014912001,"power":14483,"unknown_107":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1705738389495605248}} 
[2026-08-01 14:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":146267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577530,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:23:04] local.INFO: GPS data processed {"connection_id":146267,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:23:04] local.INFO: Acknowledgment sent {"connection_id":146267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:23:22] local.INFO: TCP Data received {"connection_id":146266,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc83b500012cff008007003d580020009e22..."} 
[2026-08-01 14:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc83b500012cff008007003d580020009e22..."} 
[2026-08-01 14:23:22] local.INFO: Processing buffer {"connection_id":146266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc83b500012cff008007003d580020009e22..."} 
[2026-08-01 14:23:22] local.INFO: Packet analysis {"connection_id":146266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc83"} 
[2026-08-01 14:23:22] local.INFO: Extracted packet for processing {"connection_id":146266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc83"} 
[2026-08-01 14:23:22] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":32,"angle":158,"satellites":34,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106912000001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:23:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:23:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785574176000,"timestamp_ms":1785574176000,"timestamp_seconds":1785574176,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc83b500"} 
[2026-08-01 14:23:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:23:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 14:23:22] 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-08-01 14: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-08-01 14:23:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:23:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106912000001,"66":25897,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106912000001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:23:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:23:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106912000001,"power":25897,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":146266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:23:22] local.INFO: GPS data processed {"connection_id":146266,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:23:22] local.INFO: Acknowledgment sent {"connection_id":146266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:23:35] local.INFO: TCP Data received {"connection_id":146267,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc86aeb8012d179c00072222700051014c26..."} 
[2026-08-01 14:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc86aeb8012d179c00072222700051014c26..."} 
[2026-08-01 14:23:35] local.INFO: Processing buffer {"connection_id":146267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc86aeb8012d179c00072222700051014c26..."} 
[2026-08-01 14:23:35] local.INFO: Packet analysis {"connection_id":146267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc86"} 
[2026-08-01 14:23:35] local.INFO: Extracted packet for processing {"connection_id":146267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc86"} 
[2026-08-01 14:23:35] local.INFO: GPS Element Parsed {"raw_longitude":756521984,"raw_latitude":119677552,"longitude_deg":75.6521984,"latitude_deg":11.9677552,"altitude":81,"angle":332,"satellites":38,"speed":10,"hex_longitude":"2d179c00","hex_latitude":"07222270","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107038720001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10242307295019008,"note":"Value kept but may cause issues"} 
[2026-08-01 14:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701375527364950016,"note":"Value kept but may cause issues"} 
[2026-08-01 14:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785574371000,"timestamp_ms":1785574371000,"timestamp_seconds":1785574371,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc86aeb8"} 
[2026-08-01 14:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:23:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-01 14:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14: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-08-01 14:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:23:35] 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-08-01 14:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107038720001,"66":14070,"107":206,"83":41984,"24":10,"16":10242307295019008,"45":1701375527364950016},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-01 14:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107038720001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:23:35] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 14:23:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10242307295019008,"km_value":10242307295019.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701375527364950016,"description":"Unknown IO ID 45"} 
[2026-08-01 14:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107038720001,"power":14070,"unknown_107":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1701375527364950016}} 
[2026-08-01 14:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":146267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:23:35] local.INFO: GPS data processed {"connection_id":146267,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:23:35] local.INFO: Acknowledgment sent {"connection_id":146267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:23:47] local.INFO: TCP Data received {"connection_id":147269,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:23:47] local.INFO: Processing buffer {"connection_id":147269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:23:47] local.INFO: IMEI packet received {"connection_id":147269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":147269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:23:49] local.INFO: TCP Data received {"connection_id":147269,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:23:49] local.INFO: Processing buffer {"connection_id":147269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:23:49] local.INFO: IMEI packet received {"connection_id":147269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":147269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:23:57] local.INFO: TCP Data received {"connection_id":148582,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:23:57] local.INFO: Processing buffer {"connection_id":148582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:23:57] local.INFO: IMEI packet received {"connection_id":148582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 14:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":148582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:23:59] local.INFO: TCP Data received {"connection_id":148582,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:23:59] local.INFO: Processing buffer {"connection_id":148582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:23:59] local.INFO: IMEI packet received {"connection_id":148582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":148582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:24:00] local.INFO: TCP Data received {"connection_id":148582,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:24:00] local.INFO: Processing buffer {"connection_id":148582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:24:00] local.INFO: IMEI packet received {"connection_id":148582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":148582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:24:00] local.INFO: TCP Data received {"connection_id":148582,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:24:00] local.INFO: Processing buffer {"connection_id":148582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:24:00] local.INFO: IMEI packet received {"connection_id":148582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":148582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:24:01] local.INFO: TCP Data received {"connection_id":147269,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc83b500012cff008007003d580020009e22..."} 
[2026-08-01 14:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc83b500012cff008007003d580020009e22..."} 
[2026-08-01 14:24:01] local.INFO: Processing buffer {"connection_id":147269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc83b500012cff008007003d580020009e22..."} 
[2026-08-01 14:24:01] local.INFO: Packet analysis {"connection_id":147269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc83"} 
[2026-08-01 14:24:01] local.INFO: Extracted packet for processing {"connection_id":147269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc83"} 
[2026-08-01 14:24:01] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":32,"angle":158,"satellites":34,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 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-08-01 14:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106912000001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:24:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:24:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785574176000,"timestamp_ms":1785574176000,"timestamp_seconds":1785574176,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc83b500"} 
[2026-08-01 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-08-01 14: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-08-01 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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 14:24:01] 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-08-01 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-08-01 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-08-01 14:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":147269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":147269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":147269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:24:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106912000001,"66":25897,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106912000001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:24:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:24:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106912000001,"power":25897,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":147269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:24:01] local.INFO: GPS data processed {"connection_id":147269,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:24:01] local.INFO: Acknowledgment sent {"connection_id":147269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:24:44] local.INFO: TCP Data received {"connection_id":146052,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:24:44] local.INFO: Processing buffer {"connection_id":146052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:24:44] local.INFO: IMEI packet received {"connection_id":146052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":146052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:24:49] local.INFO: TCP Data received {"connection_id":146052,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:24:49] local.INFO: Processing buffer {"connection_id":146052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:24:49] local.INFO: IMEI packet received {"connection_id":146052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":146052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:24:50] local.INFO: TCP Data received {"connection_id":146052,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc83b500012cff008007003d580020009e22..."} 
[2026-08-01 14:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc83b500012cff008007003d580020009e22..."} 
[2026-08-01 14:24:50] local.INFO: Processing buffer {"connection_id":146052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc83b500012cff008007003d580020009e22..."} 
[2026-08-01 14:24:50] local.INFO: Packet analysis {"connection_id":146052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc83"} 
[2026-08-01 14:24:50] local.INFO: Extracted packet for processing {"connection_id":146052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc83"} 
[2026-08-01 14:24:50] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":32,"angle":158,"satellites":34,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106912000001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:24:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:24:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785574176000,"timestamp_ms":1785574176000,"timestamp_seconds":1785574176,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc83b500"} 
[2026-08-01 14:24:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:24:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 14:24:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:24:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:24:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:24:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106912000001,"66":25897,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106912000001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:24:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:24:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106912000001,"power":25897,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":146052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:24:50] local.INFO: GPS data processed {"connection_id":146052,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:24:50] local.INFO: Acknowledgment sent {"connection_id":146052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:25:22] local.INFO: TCP Data received {"connection_id":146052,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc884cc8012cff008007003d580020009e22..."} 
[2026-08-01 14:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc884cc8012cff008007003d580020009e22..."} 
[2026-08-01 14:25:22] local.INFO: Processing buffer {"connection_id":146052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc884cc8012cff008007003d580020009e22..."} 
[2026-08-01 14:25:22] local.INFO: Packet analysis {"connection_id":146052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc88"} 
[2026-08-01 14:25:22] local.INFO: Extracted packet for processing {"connection_id":146052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc88"} 
[2026-08-01 14:25:22] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":32,"angle":158,"satellites":34,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:25:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106989056001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:25:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:25:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:25:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:25:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785574477000,"timestamp_ms":1785574477000,"timestamp_seconds":1785574477,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc884cc8"} 
[2026-08-01 14:25:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:25:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-01 14:25:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:25:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:25:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:25:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:25:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:25:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:25:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:25:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:25:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:25:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:25:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106989056001,"66":25778,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:25:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:25:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:25:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106989056001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:25:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:25:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:25:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:25:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106989056001,"power":25778,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:25:22] local.INFO: DEBUG: GPS processor result {"connection_id":146052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:25:22] local.INFO: GPS data processed {"connection_id":146052,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:25:22] local.INFO: Acknowledgment sent {"connection_id":146052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:25:44] local.INFO: TCP Data received {"connection_id":147270,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:25:44] local.INFO: Processing buffer {"connection_id":147270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:25:44] local.INFO: IMEI packet received {"connection_id":147270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:25:44] local.INFO: IMEI acknowledgment sent {"connection_id":147270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:25:49] local.INFO: TCP Data received {"connection_id":147270,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:25:49] local.INFO: Processing buffer {"connection_id":147270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:25:49] local.INFO: IMEI packet received {"connection_id":147270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":147270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:25:50] local.INFO: TCP Data received {"connection_id":147270,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc884cc8012cff008007003d580020009e22..."} 
[2026-08-01 14:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc884cc8012cff008007003d580020009e22..."} 
[2026-08-01 14:25:50] local.INFO: Processing buffer {"connection_id":147270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc884cc8012cff008007003d580020009e22..."} 
[2026-08-01 14:25:50] local.INFO: Packet analysis {"connection_id":147270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc88"} 
[2026-08-01 14:25:50] local.INFO: Extracted packet for processing {"connection_id":147270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc88"} 
[2026-08-01 14:25:50] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":32,"angle":158,"satellites":34,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14:25:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:25:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106989056001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:25:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:25:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:25:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:25:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785574477000,"timestamp_ms":1785574477000,"timestamp_seconds":1785574477,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc884cc8"} 
[2026-08-01 14:25:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:25:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14:25:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-01 14:25:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:25:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:25:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:25:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:25:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:25:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:25:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:25:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:25:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:25:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:25:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106989056001,"66":25778,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:25:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:25:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:25:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106989056001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:25:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:25:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:25:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:25:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106989056001,"power":25778,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:25:50] local.INFO: DEBUG: GPS processor result {"connection_id":147270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:25:50] local.INFO: GPS data processed {"connection_id":147270,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:25:50] local.INFO: Acknowledgment sent {"connection_id":147270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:26:22] local.INFO: TCP Data received {"connection_id":147270,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc884cc8012cff008007003d580020009e22..."} 
[2026-08-01 14:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc884cc8012cff008007003d580020009e22..."} 
[2026-08-01 14:26:22] local.INFO: Processing buffer {"connection_id":147270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc884cc8012cff008007003d580020009e22..."} 
[2026-08-01 14:26:22] local.INFO: Packet analysis {"connection_id":147270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc88"} 
[2026-08-01 14:26:22] local.INFO: Extracted packet for processing {"connection_id":147270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc88"} 
[2026-08-01 14:26:22] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":32,"angle":158,"satellites":34,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106989056001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:26:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:26:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785574477000,"timestamp_ms":1785574477000,"timestamp_seconds":1785574477,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc884cc8"} 
[2026-08-01 14:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:26:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-01 14:26:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:26:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:26:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106989056001,"66":25778,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106989056001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:26:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:26:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106989056001,"power":25778,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":147270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:26:22] local.INFO: GPS data processed {"connection_id":147270,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:26:22] local.INFO: Acknowledgment sent {"connection_id":147270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:26:44] local.INFO: TCP Data received {"connection_id":147271,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:26:44] local.INFO: Processing buffer {"connection_id":147271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:26:44] local.INFO: IMEI packet received {"connection_id":147271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":147271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:26:49] local.INFO: TCP Data received {"connection_id":147271,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:26:49] local.INFO: Processing buffer {"connection_id":147271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:26:49] local.INFO: IMEI packet received {"connection_id":147271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":147271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:26:51] local.INFO: TCP Data received {"connection_id":147271,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc884cc8012cff008007003d580020009e22..."} 
[2026-08-01 14:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc884cc8012cff008007003d580020009e22..."} 
[2026-08-01 14:26:51] local.INFO: Processing buffer {"connection_id":147271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc884cc8012cff008007003d580020009e22..."} 
[2026-08-01 14:26:51] local.INFO: Packet analysis {"connection_id":147271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc88"} 
[2026-08-01 14:26:51] local.INFO: Extracted packet for processing {"connection_id":147271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc88"} 
[2026-08-01 14:26:51] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":32,"angle":158,"satellites":34,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106989056001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:26:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785574477000,"timestamp_ms":1785574477000,"timestamp_seconds":1785574477,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc884cc8"} 
[2026-08-01 14:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-01 14:26:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:26:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":147271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":147271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":147271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106989056001,"66":25778,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106989056001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:26:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:26:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106989056001,"power":25778,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":147271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:26:51] local.INFO: GPS data processed {"connection_id":147271,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:26:51] local.INFO: Acknowledgment sent {"connection_id":147271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:27:22] local.INFO: TCP Data received {"connection_id":147271,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc884cc8012cff008007003d580020009e22..."} 
[2026-08-01 14:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc884cc8012cff008007003d580020009e22..."} 
[2026-08-01 14:27:22] local.INFO: Processing buffer {"connection_id":147271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc884cc8012cff008007003d580020009e22..."} 
[2026-08-01 14:27:22] local.INFO: Packet analysis {"connection_id":147271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc88"} 
[2026-08-01 14:27:22] local.INFO: Extracted packet for processing {"connection_id":147271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc88"} 
[2026-08-01 14:27:22] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":32,"angle":158,"satellites":34,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106989056001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:27:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:27:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785574477000,"timestamp_ms":1785574477000,"timestamp_seconds":1785574477,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc884cc8"} 
[2026-08-01 14:27:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:27:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-01 14:27:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:27:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:27:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:27:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106989056001,"66":25778,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106989056001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:27:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:27:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:27:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106989056001,"power":25778,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":147271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:27:22] local.INFO: GPS data processed {"connection_id":147271,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:27:22] local.INFO: Acknowledgment sent {"connection_id":147271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:27:44] local.INFO: TCP Data received {"connection_id":147272,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:27:44] local.INFO: Processing buffer {"connection_id":147272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:27:44] local.INFO: IMEI packet received {"connection_id":147272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":147272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:27:49] local.INFO: TCP Data received {"connection_id":147272,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:27:49] local.INFO: Processing buffer {"connection_id":147272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:27:49] local.INFO: IMEI packet received {"connection_id":147272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":147272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:27:50] local.INFO: TCP Data received {"connection_id":147272,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc884cc8012cff008007003d580020009e22..."} 
[2026-08-01 14:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc884cc8012cff008007003d580020009e22..."} 
[2026-08-01 14:27:50] local.INFO: Processing buffer {"connection_id":147272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc884cc8012cff008007003d580020009e22..."} 
[2026-08-01 14:27:50] local.INFO: Packet analysis {"connection_id":147272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc88"} 
[2026-08-01 14:27:50] local.INFO: Extracted packet for processing {"connection_id":147272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc88"} 
[2026-08-01 14:27:50] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":32,"angle":158,"satellites":34,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:27:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106989056001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:27:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:27:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:27:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:27:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785574477000,"timestamp_ms":1785574477000,"timestamp_seconds":1785574477,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc884cc8"} 
[2026-08-01 14:27:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:27:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-01 14:27:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:27:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:27:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:27:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:27:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:27:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:27:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:27:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:27:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:27:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106989056001,"66":25778,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106989056001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:27:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:27:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106989056001,"power":25778,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":147272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:27:51] local.INFO: GPS data processed {"connection_id":147272,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:27:51] local.INFO: Acknowledgment sent {"connection_id":147272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:28:22] local.INFO: TCP Data received {"connection_id":147272,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc884cc8012cff008007003d580020009e22..."} 
[2026-08-01 14:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc884cc8012cff008007003d580020009e22..."} 
[2026-08-01 14:28:22] local.INFO: Processing buffer {"connection_id":147272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc884cc8012cff008007003d580020009e22..."} 
[2026-08-01 14:28:22] local.INFO: Packet analysis {"connection_id":147272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc88"} 
[2026-08-01 14:28:22] local.INFO: Extracted packet for processing {"connection_id":147272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc88"} 
[2026-08-01 14:28:22] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":32,"angle":158,"satellites":34,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106989056001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:28:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:28:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785574477000,"timestamp_ms":1785574477000,"timestamp_seconds":1785574477,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc884cc8"} 
[2026-08-01 14:28:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:28:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-01 14:28:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:28:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:28:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:28:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106989056001,"66":25778,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106989056001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:28:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:28:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106989056001,"power":25778,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":147272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:28:22] local.INFO: GPS data processed {"connection_id":147272,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:28:22] local.INFO: Acknowledgment sent {"connection_id":147272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:28:44] local.INFO: TCP Data received {"connection_id":146055,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:28:44] local.INFO: Processing buffer {"connection_id":146055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:28:44] local.INFO: IMEI packet received {"connection_id":146055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":146055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:28:49] local.INFO: TCP Data received {"connection_id":146055,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:28:49] local.INFO: Processing buffer {"connection_id":146055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:28:49] local.INFO: IMEI packet received {"connection_id":146055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":146055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:28:50] local.INFO: TCP Data received {"connection_id":146055,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc884cc8012cff008007003d580020009e22..."} 
[2026-08-01 14:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc884cc8012cff008007003d580020009e22..."} 
[2026-08-01 14:28:50] local.INFO: Processing buffer {"connection_id":146055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc884cc8012cff008007003d580020009e22..."} 
[2026-08-01 14:28:50] local.INFO: Packet analysis {"connection_id":146055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc88"} 
[2026-08-01 14:28:50] local.INFO: Extracted packet for processing {"connection_id":146055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc88"} 
[2026-08-01 14:28:50] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":32,"angle":158,"satellites":34,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106989056001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:28:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:28:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785574477000,"timestamp_ms":1785574477000,"timestamp_seconds":1785574477,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc884cc8"} 
[2026-08-01 14:28:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:28:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-01 14:28:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:28:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:28:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:28:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106989056001,"66":25778,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106989056001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:28:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:28:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106989056001,"power":25778,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":146055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:28:50] local.INFO: GPS data processed {"connection_id":146055,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:28:50] local.INFO: Acknowledgment sent {"connection_id":146055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:29:03] local.INFO: TCP Data received {"connection_id":146269,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146269,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:29:03] local.INFO: Processing buffer {"connection_id":146269,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:29:03] local.INFO: IMEI packet received {"connection_id":146269,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 14:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":146269,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:29:05] local.INFO: TCP Data received {"connection_id":146269,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146269,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:29:05] local.INFO: Processing buffer {"connection_id":146269,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:29:05] local.INFO: IMEI packet received {"connection_id":146269,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":146269,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:29:08] local.INFO: TCP Data received {"connection_id":146269,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146269,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:29:08] local.INFO: Processing buffer {"connection_id":146269,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:29:08] local.INFO: IMEI packet received {"connection_id":146269,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":146269,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:29:09] local.INFO: TCP Data received {"connection_id":146269,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc8b6d90012d17abc00721a2d8004c008c26..."} 
[2026-08-01 14:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc8b6d90012d17abc00721a2d8004c008c26..."} 
[2026-08-01 14:29:09] local.INFO: Processing buffer {"connection_id":146269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc8b6d90012d17abc00721a2d8004c008c26..."} 
[2026-08-01 14:29:09] local.INFO: Packet analysis {"connection_id":146269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc8b"} 
[2026-08-01 14:29:09] local.INFO: Extracted packet for processing {"connection_id":146269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc8b"} 
[2026-08-01 14:29:09] local.INFO: GPS Element Parsed {"raw_longitude":756526016,"raw_latitude":119644888,"longitude_deg":75.6526016,"latitude_deg":11.9644888,"altitude":76,"angle":140,"satellites":38,"speed":7,"hex_longitude":"2d17abc0","hex_latitude":"0721a2d8","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107117824001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10245120498597888,"note":"Value kept but may cause issues"} 
[2026-08-01 14:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1705456914519093248,"note":"Value kept but may cause issues"} 
[2026-08-01 14:29:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785574682000,"timestamp_ms":1785574682000,"timestamp_seconds":1785574682,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc8b6d90"} 
[2026-08-01 14:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-01 14:29:09] 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-08-01 14: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-08-01 14:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":146269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":146269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":146269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:29:09] 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-08-01 14:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107117824001,"66":14157,"107":206,"83":41984,"24":7,"16":10245120498597888,"45":1705456914519093248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-01 14:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107117824001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:29:09] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 14:29:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10245120498597888,"km_value":10245120498597.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1705456914519093248,"description":"Unknown IO ID 45"} 
[2026-08-01 14:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107117824001,"power":14157,"unknown_107":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1705456914519093248}} 
[2026-08-01 14:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":146269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577543,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:29:09] local.INFO: GPS data processed {"connection_id":146269,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:29:09] local.INFO: Acknowledgment sent {"connection_id":146269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:29:22] local.INFO: TCP Data received {"connection_id":146055,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc884cc8012cff008007003d580020009e22..."} 
[2026-08-01 14:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc884cc8012cff008007003d580020009e22..."} 
[2026-08-01 14:29:22] local.INFO: Processing buffer {"connection_id":146055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc884cc8012cff008007003d580020009e22..."} 
[2026-08-01 14:29:22] local.INFO: Packet analysis {"connection_id":146055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc88"} 
[2026-08-01 14:29:22] local.INFO: Extracted packet for processing {"connection_id":146055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc88"} 
[2026-08-01 14:29:22] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":32,"angle":158,"satellites":34,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106989056001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:29:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:29:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:29:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:29:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785574477000,"timestamp_ms":1785574477000,"timestamp_seconds":1785574477,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc884cc8"} 
[2026-08-01 14:29:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:29:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-01 14:29:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:29:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:29:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:29:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:29:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:29:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:29:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:29:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:29:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:29:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:29:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106989056001,"66":25778,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:29:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:29:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:29:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106989056001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:29:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:29:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:29:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:29:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106989056001,"power":25778,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:29:22] local.INFO: DEBUG: GPS processor result {"connection_id":146055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:29:22] local.INFO: GPS data processed {"connection_id":146055,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:29:22] local.INFO: Acknowledgment sent {"connection_id":146055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:29:43] local.INFO: TCP Data received {"connection_id":146269,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc8c30e0012d17e1c007218c90004f007628..."} 
[2026-08-01 14:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc8c30e0012d17e1c007218c90004f007628..."} 
[2026-08-01 14:29:43] local.INFO: Processing buffer {"connection_id":146269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc8c30e0012d17e1c007218c90004f007628..."} 
[2026-08-01 14:29:43] local.INFO: Packet analysis {"connection_id":146269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc8c"} 
[2026-08-01 14:29:43] local.INFO: Extracted packet for processing {"connection_id":146269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc8c"} 
[2026-08-01 14:29:43] local.INFO: GPS Element Parsed {"raw_longitude":756539840,"raw_latitude":119639184,"longitude_deg":75.653984,"latitude_deg":11.9639184,"altitude":79,"angle":118,"satellites":40,"speed":10,"hex_longitude":"2d17e1c0","hex_latitude":"07218c90","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107131136001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10245876412841984,"note":"Value kept but may cause issues"} 
[2026-08-01 14:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1720586194515736576,"note":"Value kept but may cause issues"} 
[2026-08-01 14:29: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-08-01 14:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785574732000,"timestamp_ms":1785574732000,"timestamp_seconds":1785574732,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc8c30e0"} 
[2026-08-01 14:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:29: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-08-01 14: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-01 14:29:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14: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-08-01 14:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":146269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":146269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":146269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:29:43] 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-08-01 14:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107131136001,"66":14135,"107":206,"83":41984,"24":10,"16":10245876412841984,"45":1720586194515736576},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-01 14:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107131136001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:29:43] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 14:29:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10245876412841984,"km_value":10245876412841.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1720586194515736576,"description":"Unknown IO ID 45"} 
[2026-08-01 14:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107131136001,"power":14135,"unknown_107":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1720586194515736576}} 
[2026-08-01 14:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":146269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:29:43] local.INFO: GPS data processed {"connection_id":146269,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:29:43] local.INFO: Acknowledgment sent {"connection_id":146269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:29:49] local.INFO: TCP Data received {"connection_id":146270,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:29:49] local.INFO: Processing buffer {"connection_id":146270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:29:49] local.INFO: IMEI packet received {"connection_id":146270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":146270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:29:54] local.INFO: TCP Data received {"connection_id":146270,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:29:54] local.INFO: Processing buffer {"connection_id":146270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:29:54] local.INFO: IMEI packet received {"connection_id":146270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":146270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:29:55] local.INFO: TCP Data received {"connection_id":146270,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc884cc8012cff008007003d580020009e22..."} 
[2026-08-01 14:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc884cc8012cff008007003d580020009e22..."} 
[2026-08-01 14:29:55] local.INFO: Processing buffer {"connection_id":146270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc884cc8012cff008007003d580020009e22..."} 
[2026-08-01 14:29:55] local.INFO: Packet analysis {"connection_id":146270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc88"} 
[2026-08-01 14:29:55] local.INFO: Extracted packet for processing {"connection_id":146270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc88"} 
[2026-08-01 14:29:55] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":32,"angle":158,"satellites":34,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106989056001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:29:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:29:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785574477000,"timestamp_ms":1785574477000,"timestamp_seconds":1785574477,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc884cc8"} 
[2026-08-01 14:29:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:29:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-01 14:29:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:29:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:29:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":146270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":146270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":146270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:29:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106989056001,"66":25778,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106989056001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:29:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:29:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106989056001,"power":25778,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":146270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:29:55] local.INFO: GPS data processed {"connection_id":146270,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:29:55] local.INFO: Acknowledgment sent {"connection_id":146270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:29:57] local.INFO: TCP Data received {"connection_id":147273,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147273,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:29:57] local.INFO: Processing buffer {"connection_id":147273,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:29:57] local.INFO: IMEI packet received {"connection_id":147273,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 14:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":147273,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:30:00] local.INFO: TCP Data received {"connection_id":146270,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc884cc8012cff008007003d580020009e22..."} 
[2026-08-01 14:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc884cc8012cff008007003d580020009e22..."} 
[2026-08-01 14:30:00] local.INFO: Processing buffer {"connection_id":146270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc884cc8012cff008007003d580020009e22..."} 
[2026-08-01 14:30:00] local.INFO: Packet analysis {"connection_id":146270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc88"} 
[2026-08-01 14:30:00] local.INFO: Extracted packet for processing {"connection_id":146270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc88"} 
[2026-08-01 14:30:00] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":32,"angle":158,"satellites":34,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457106989056001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:30:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:30:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785574477000,"timestamp_ms":1785574477000,"timestamp_seconds":1785574477,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc884cc8"} 
[2026-08-01 14:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:30: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-08-01 14: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-01 14:30:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14: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-08-01 14:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":146270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":146270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":146270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:30:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457106989056001,"66":25778,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457106989056001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:30:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:30:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457106989056001,"power":25778,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":146270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:30:00] local.INFO: GPS data processed {"connection_id":146270,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:30:00] local.INFO: Acknowledgment sent {"connection_id":146270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:30:00] local.INFO: TCP Data received {"connection_id":147273,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147273,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:30:00] local.INFO: Processing buffer {"connection_id":147273,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:30:00] local.INFO: IMEI packet received {"connection_id":147273,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":147273,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:30:05] local.INFO: TCP Data received {"connection_id":147273,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147273,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:30:05] local.INFO: Processing buffer {"connection_id":147273,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:30:05] local.INFO: IMEI packet received {"connection_id":147273,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":147273,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:30:06] local.INFO: TCP Data received {"connection_id":147273,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc8c34c8012d17e2c007218c58004e00622a..."} 
[2026-08-01 14:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc8c34c8012d17e2c007218c58004e00622a..."} 
[2026-08-01 14:30:06] local.INFO: Processing buffer {"connection_id":147273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc8c34c8012d17e2c007218c58004e00622a..."} 
[2026-08-01 14:30:06] local.INFO: Packet analysis {"connection_id":147273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc8c"} 
[2026-08-01 14:30:06] local.INFO: Extracted packet for processing {"connection_id":147273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc8c"} 
[2026-08-01 14:30:06] local.INFO: GPS Element Parsed {"raw_longitude":756540096,"raw_latitude":119639128,"longitude_deg":75.6540096,"latitude_deg":11.9639128,"altitude":78,"angle":98,"satellites":42,"speed":10,"hex_longitude":"2d17e2c0","hex_latitude":"07218c58","is_valid_coordinates":true} 
[2026-08-01 14:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107131392001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10245889297743872,"note":"Value kept but may cause issues"} 
[2026-08-01 14:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1720867669492404224,"note":"Value kept but may cause issues"} 
[2026-08-01 14:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785574733000,"timestamp_ms":1785574733000,"timestamp_seconds":1785574733,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc8c34c8"} 
[2026-08-01 14:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-01 14:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:30:06] 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-08-01 14:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107131392001,"66":13472,"107":206,"83":41984,"24":10,"16":10245889297743872,"45":1720867669492404224},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-01 14:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107131392001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:30:06] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 14:30:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10245889297743872,"km_value":10245889297743.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1720867669492404224,"description":"Unknown IO ID 45"} 
[2026-08-01 14:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107131392001,"power":13472,"unknown_107":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1720867669492404224}} 
[2026-08-01 14:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":147273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:30:06] local.INFO: GPS data processed {"connection_id":147273,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:30:06] local.INFO: Acknowledgment sent {"connection_id":147273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:30:37] local.INFO: TCP Data received {"connection_id":147273,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc8c5408012d17eac007218a60004a006d2a..."} 
[2026-08-01 14:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc8c5408012d17eac007218a60004a006d2a..."} 
[2026-08-01 14:30:37] local.INFO: Processing buffer {"connection_id":147273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc8c5408012d17eac007218a60004a006d2a..."} 
[2026-08-01 14:30:37] local.INFO: Packet analysis {"connection_id":147273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc8c"} 
[2026-08-01 14:30:37] local.INFO: Extracted packet for processing {"connection_id":147273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc8c"} 
[2026-08-01 14:30:37] local.INFO: GPS Element Parsed {"raw_longitude":756542144,"raw_latitude":119638624,"longitude_deg":75.6542144,"latitude_deg":11.9638624,"altitude":74,"angle":109,"satellites":42,"speed":9,"hex_longitude":"2d17eac0","hex_latitude":"07218a60","is_valid_coordinates":true} 
[2026-08-01 14:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107131648001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10245992376958976,"note":"Value kept but may cause issues"} 
[2026-08-01 14:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1721149144469100544,"note":"Value kept but may cause issues"} 
[2026-08-01 14:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785574741000,"timestamp_ms":1785574741000,"timestamp_seconds":1785574741,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc8c5408"} 
[2026-08-01 14:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-01 14:30:37] 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-08-01 14:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:30:37] 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-08-01 14:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107131648001,"66":13863,"107":206,"83":41984,"24":9,"16":10245992376958976,"45":1721149144469100544},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-01 14:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107131648001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:30:37] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 14:30:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10245992376958976,"km_value":10245992376958.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1721149144469100544,"description":"Unknown IO ID 45"} 
[2026-08-01 14:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107131648001,"power":13863,"unknown_107":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1721149144469100544}} 
[2026-08-01 14:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":147273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:30:37] local.INFO: GPS data processed {"connection_id":147273,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:30:37] local.INFO: Acknowledgment sent {"connection_id":147273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:30:44] local.INFO: TCP Data received {"connection_id":146271,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:30:44] local.INFO: Processing buffer {"connection_id":146271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:30:44] local.INFO: IMEI packet received {"connection_id":146271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":146271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:31:00] local.INFO: TCP Data received {"connection_id":146271,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:31:00] local.INFO: Processing buffer {"connection_id":146271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:31:00] local.INFO: IMEI packet received {"connection_id":146271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":146271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:31:00] local.INFO: TCP Data received {"connection_id":146272,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:31:00] local.INFO: Processing buffer {"connection_id":146272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:31:00] local.INFO: IMEI packet received {"connection_id":146272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 14:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":146272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:31:05] local.INFO: TCP Data received {"connection_id":146272,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:31:05] local.INFO: Processing buffer {"connection_id":146272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:31:05] local.INFO: IMEI packet received {"connection_id":146272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":146272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:31:05] local.INFO: TCP Data received {"connection_id":146271,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc8ce490012cff008007003d580020009e25..."} 
[2026-08-01 14:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc8ce490012cff008007003d580020009e25..."} 
[2026-08-01 14:31:05] local.INFO: Processing buffer {"connection_id":146271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc8ce490012cff008007003d580020009e25..."} 
[2026-08-01 14:31:05] local.INFO: Packet analysis {"connection_id":146271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc8c"} 
[2026-08-01 14:31:05] local.INFO: Extracted packet for processing {"connection_id":146271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc8c"} 
[2026-08-01 14:31:05] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":32,"angle":158,"satellites":37,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107066112001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:31:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785574778000,"timestamp_ms":1785574778000,"timestamp_seconds":1785574778,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc8ce490"} 
[2026-08-01 14:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:31: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-08-01 14:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-01 14:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107066112001,"66":25756,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107066112001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:31:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:31:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107066112001,"power":25756,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":146271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:31:05] local.INFO: GPS data processed {"connection_id":146271,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:31:05] local.INFO: Acknowledgment sent {"connection_id":146271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:31:06] local.INFO: TCP Data received {"connection_id":146272,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc8c7b18012d17f5c0072185d8004a00812a..."} 
[2026-08-01 14:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc8c7b18012d17f5c0072185d8004a00812a..."} 
[2026-08-01 14:31:06] local.INFO: Processing buffer {"connection_id":146272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc8c7b18012d17f5c0072185d8004a00812a..."} 
[2026-08-01 14:31:06] local.INFO: Packet analysis {"connection_id":146272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc8c"} 
[2026-08-01 14:31:06] local.INFO: Extracted packet for processing {"connection_id":146272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc8c"} 
[2026-08-01 14:31:06] local.INFO: GPS Element Parsed {"raw_longitude":756544960,"raw_latitude":119637464,"longitude_deg":75.654496,"latitude_deg":11.9637464,"altitude":74,"angle":129,"satellites":42,"speed":11,"hex_longitude":"2d17f5c0","hex_latitude":"072185d8","is_valid_coordinates":true} 
[2026-08-01 14:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107133696001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10246138405847040,"note":"Value kept but may cause issues"} 
[2026-08-01 14:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1723400944282656768,"note":"Value kept but may cause issues"} 
[2026-08-01 14:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785574751000,"timestamp_ms":1785574751000,"timestamp_seconds":1785574751,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc8c7b18"} 
[2026-08-01 14:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:31:06] 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-08-01 14:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-08-01 14:31:06] 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-08-01 14:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:31:06] 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-08-01 14:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107133696001,"66":13961,"107":206,"83":41984,"24":11,"16":10246138405847040,"45":1723400944282656768},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-01 14:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107133696001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:31:06] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 14:31:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10246138405847040,"km_value":10246138405847.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1723400944282656768,"description":"Unknown IO ID 45"} 
[2026-08-01 14:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107133696001,"power":13961,"unknown_107":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1723400944282656768}} 
[2026-08-01 14:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":146272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:31:06] local.INFO: GPS data processed {"connection_id":146272,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:31:06] local.INFO: Acknowledgment sent {"connection_id":146272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:31:37] local.INFO: TCP Data received {"connection_id":146272,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc8d6190012d181ec00721afc8004b014828..."} 
[2026-08-01 14:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc8d6190012d181ec00721afc8004b014828..."} 
[2026-08-01 14:31:37] local.INFO: Processing buffer {"connection_id":146272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc8d6190012d181ec00721afc8004b014828..."} 
[2026-08-01 14:31:37] local.INFO: Packet analysis {"connection_id":146272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc8d"} 
[2026-08-01 14:31:37] local.INFO: Extracted packet for processing {"connection_id":146272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc8d"} 
[2026-08-01 14:31:37] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648200,"longitude_deg":75.6555456,"latitude_deg":11.96482,"altitude":75,"angle":328,"satellites":40,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721afc8","is_valid_coordinates":true} 
[2026-08-01 14:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107145984001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10246993104338944,"note":"Value kept but may cause issues"} 
[2026-08-01 14:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795016192,"note":"Value kept but may cause issues"} 
[2026-08-01 14:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785574810000,"timestamp_ms":1785574810000,"timestamp_seconds":1785574810,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc8d6190"} 
[2026-08-01 14:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-01 14:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:31:37] 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-08-01 14:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107145984001,"66":12885,"105":206,"83":41984,"24":0,"16":10246993104338944,"45":1738389486795016192},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 14:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107145984001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:31:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 14:31:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10246993104338944,"km_value":10246993104338.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795016192,"description":"Unknown IO ID 45"} 
[2026-08-01 14:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107145984001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795016192}} 
[2026-08-01 14:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":146272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:31:37] local.INFO: GPS data processed {"connection_id":146272,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:31:37] local.INFO: Acknowledgment sent {"connection_id":146272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:31:44] local.INFO: TCP Data received {"connection_id":147274,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:31:44] local.INFO: Processing buffer {"connection_id":147274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:31:44] local.INFO: IMEI packet received {"connection_id":147274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":147274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:31:49] local.INFO: TCP Data received {"connection_id":147274,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:31:49] local.INFO: Processing buffer {"connection_id":147274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:31:49] local.INFO: IMEI packet received {"connection_id":147274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":147274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:31:50] local.INFO: TCP Data received {"connection_id":147274,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc8ce490012cff008007003d580020009e25..."} 
[2026-08-01 14:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc8ce490012cff008007003d580020009e25..."} 
[2026-08-01 14:31:50] local.INFO: Processing buffer {"connection_id":147274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc8ce490012cff008007003d580020009e25..."} 
[2026-08-01 14:31:50] local.INFO: Packet analysis {"connection_id":147274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc8c"} 
[2026-08-01 14:31:50] local.INFO: Extracted packet for processing {"connection_id":147274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc8c"} 
[2026-08-01 14:31:50] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":32,"angle":158,"satellites":37,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:31:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107066112001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:31:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:31:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:31:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:31:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785574778000,"timestamp_ms":1785574778000,"timestamp_seconds":1785574778,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc8ce490"} 
[2026-08-01 14:31:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:31:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14:31:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-01 14:31:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:31:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:31:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:31:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:31:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:31:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:31:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:31:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:31:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:31:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:31:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107066112001,"66":25756,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:31:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:31:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:31:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107066112001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:31:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:31:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:31:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:31:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107066112001,"power":25756,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:31:50] local.INFO: DEBUG: GPS processor result {"connection_id":147274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:31:50] local.INFO: GPS data processed {"connection_id":147274,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:31:50] local.INFO: Acknowledgment sent {"connection_id":147274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:32:00] local.INFO: TCP Data received {"connection_id":148584,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:32:00] local.INFO: Processing buffer {"connection_id":148584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:32:00] local.INFO: IMEI packet received {"connection_id":148584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 14:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":148584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:32:05] local.INFO: TCP Data received {"connection_id":148584,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:32:05] local.INFO: Processing buffer {"connection_id":148584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:32:05] local.INFO: IMEI packet received {"connection_id":148584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":148584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:32:06] local.INFO: TCP Data received {"connection_id":148584,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc8db398012d181ec00721afc8004b014826..."} 
[2026-08-01 14:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc8db398012d181ec00721afc8004b014826..."} 
[2026-08-01 14:32:06] local.INFO: Processing buffer {"connection_id":148584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc8db398012d181ec00721afc8004b014826..."} 
[2026-08-01 14:32:06] local.INFO: Packet analysis {"connection_id":148584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc8d"} 
[2026-08-01 14:32:06] local.INFO: Extracted packet for processing {"connection_id":148584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc8d"} 
[2026-08-01 14:32:06] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648200,"longitude_deg":75.6555456,"latitude_deg":11.96482,"altitude":75,"angle":328,"satellites":38,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721afc8","is_valid_coordinates":true} 
[2026-08-01 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-08-01 14:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107151360001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10246993104338944,"note":"Value kept but may cause issues"} 
[2026-08-01 14:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074062336,"note":"Value kept but may cause issues"} 
[2026-08-01 14:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785574831000,"timestamp_ms":1785574831000,"timestamp_seconds":1785574831,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc8db398"} 
[2026-08-01 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-08-01 14:32:06] 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-08-01 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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-01 14:32:06] 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-08-01 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-08-01 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-08-01 14:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:32:06] 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-08-01 14:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107151360001,"66":13004,"105":206,"83":41984,"24":0,"16":10246993104338944,"45":1738037643074062336},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 14:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107151360001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:32:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 14:32:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10246993104338944,"km_value":10246993104338.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074062336,"description":"Unknown IO ID 45"} 
[2026-08-01 14:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107151360001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074062336}} 
[2026-08-01 14:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":148584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:32:06] local.INFO: GPS data processed {"connection_id":148584,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:32:06] local.INFO: Acknowledgment sent {"connection_id":148584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:32:22] local.INFO: TCP Data received {"connection_id":147274,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc8ce490012cff008007003d580020009e25..."} 
[2026-08-01 14:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc8ce490012cff008007003d580020009e25..."} 
[2026-08-01 14:32:22] local.INFO: Processing buffer {"connection_id":147274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc8ce490012cff008007003d580020009e25..."} 
[2026-08-01 14:32:22] local.INFO: Packet analysis {"connection_id":147274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc8c"} 
[2026-08-01 14:32:22] local.INFO: Extracted packet for processing {"connection_id":147274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc8c"} 
[2026-08-01 14:32:22] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":32,"angle":158,"satellites":37,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:32:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107066112001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:32:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:32:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:32:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:32:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785574778000,"timestamp_ms":1785574778000,"timestamp_seconds":1785574778,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc8ce490"} 
[2026-08-01 14:32:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:32:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-01 14:32:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:32:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:32:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:32:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:32:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:32:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:32:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:32:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:32:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:32:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:32:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107066112001,"66":25756,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:32:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:32:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:32:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107066112001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:32:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:32:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:32:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:32:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107066112001,"power":25756,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:32:22] local.INFO: DEBUG: GPS processor result {"connection_id":147274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:32:22] local.INFO: GPS data processed {"connection_id":147274,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:32:22] local.INFO: Acknowledgment sent {"connection_id":147274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:32:37] local.INFO: TCP Data received {"connection_id":148584,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc8e05a0012d181ec00721afc8004b014828..."} 
[2026-08-01 14:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc8e05a0012d181ec00721afc8004b014828..."} 
[2026-08-01 14:32:37] local.INFO: Processing buffer {"connection_id":148584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc8e05a0012d181ec00721afc8004b014828..."} 
[2026-08-01 14:32:37] local.INFO: Packet analysis {"connection_id":148584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc8e"} 
[2026-08-01 14:32:37] local.INFO: Extracted packet for processing {"connection_id":148584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc8e"} 
[2026-08-01 14:32:37] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648200,"longitude_deg":75.6555456,"latitude_deg":11.96482,"altitude":75,"angle":328,"satellites":40,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721afc8","is_valid_coordinates":true} 
[2026-08-01 14:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107156736001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10246993104338944,"note":"Value kept but may cause issues"} 
[2026-08-01 14:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074062336,"note":"Value kept but may cause issues"} 
[2026-08-01 14:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785574852000,"timestamp_ms":1785574852000,"timestamp_seconds":1785574852,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc8e05a0"} 
[2026-08-01 14:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-01 14:32:37] 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-08-01 14:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:32:37] 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-08-01 14:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107156736001,"66":12972,"105":206,"83":41984,"24":0,"16":10246993104338944,"45":1738037643074062336},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 14:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107156736001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:32:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 14:32:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10246993104338944,"km_value":10246993104338.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074062336,"description":"Unknown IO ID 45"} 
[2026-08-01 14:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107156736001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074062336}} 
[2026-08-01 14:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":148584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:32:37] local.INFO: GPS data processed {"connection_id":148584,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:32:37] local.INFO: Acknowledgment sent {"connection_id":148584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:32:44] local.INFO: TCP Data received {"connection_id":146056,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:32:44] local.INFO: Processing buffer {"connection_id":146056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:32:44] local.INFO: IMEI packet received {"connection_id":146056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":146056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:32:49] local.INFO: TCP Data received {"connection_id":146056,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:32:49] local.INFO: Processing buffer {"connection_id":146056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:32:49] local.INFO: IMEI packet received {"connection_id":146056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":146056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:32:51] local.INFO: TCP Data received {"connection_id":146056,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc8ce490012cff008007003d580020009e25..."} 
[2026-08-01 14:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc8ce490012cff008007003d580020009e25..."} 
[2026-08-01 14:32:51] local.INFO: Processing buffer {"connection_id":146056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc8ce490012cff008007003d580020009e25..."} 
[2026-08-01 14:32:51] local.INFO: Packet analysis {"connection_id":146056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc8c"} 
[2026-08-01 14:32:51] local.INFO: Extracted packet for processing {"connection_id":146056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc8c"} 
[2026-08-01 14:32:51] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":32,"angle":158,"satellites":37,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107066112001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:32:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785574778000,"timestamp_ms":1785574778000,"timestamp_seconds":1785574778,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc8ce490"} 
[2026-08-01 14:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-01 14:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:32:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":146056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":146056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":146056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107066112001,"66":25756,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107066112001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:32:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:32:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107066112001,"power":25756,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":146056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:32:51] local.INFO: GPS data processed {"connection_id":146056,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:32:51] local.INFO: Acknowledgment sent {"connection_id":146056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:33:00] local.INFO: TCP Data received {"connection_id":148585,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:33:00] local.INFO: Processing buffer {"connection_id":148585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:33:00] local.INFO: IMEI packet received {"connection_id":148585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 14:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":148585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:33:05] local.INFO: TCP Data received {"connection_id":148585,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:33:05] local.INFO: Processing buffer {"connection_id":148585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:33:05] local.INFO: IMEI packet received {"connection_id":148585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":148585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:33:06] local.INFO: TCP Data received {"connection_id":148585,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc8e57a8012d181ec00721afc8004b014828..."} 
[2026-08-01 14:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc8e57a8012d181ec00721afc8004b014828..."} 
[2026-08-01 14:33:06] local.INFO: Processing buffer {"connection_id":148585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc8e57a8012d181ec00721afc8004b014828..."} 
[2026-08-01 14:33:06] local.INFO: Packet analysis {"connection_id":148585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc8e"} 
[2026-08-01 14:33:06] local.INFO: Extracted packet for processing {"connection_id":148585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc8e"} 
[2026-08-01 14:33:06] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648200,"longitude_deg":75.6555456,"latitude_deg":11.96482,"altitude":75,"angle":328,"satellites":40,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721afc8","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107162112001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10246993104338944,"note":"Value kept but may cause issues"} 
[2026-08-01 14:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074062336,"note":"Value kept but may cause issues"} 
[2026-08-01 14:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785574873000,"timestamp_ms":1785574873000,"timestamp_seconds":1785574873,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc8e57a8"} 
[2026-08-01 14:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-01 14:33:06] 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-08-01 14: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-08-01 14:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:33:06] 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-08-01 14:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107162112001,"66":12939,"105":206,"83":41984,"24":0,"16":10246993104338944,"45":1738037643074062336},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 14:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107162112001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:33:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 14:33:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10246993104338944,"km_value":10246993104338.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074062336,"description":"Unknown IO ID 45"} 
[2026-08-01 14:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107162112001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074062336}} 
[2026-08-01 14:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":148585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577558,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:33:06] local.INFO: GPS data processed {"connection_id":148585,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:33:06] local.INFO: Acknowledgment sent {"connection_id":148585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:33:22] local.INFO: TCP Data received {"connection_id":146056,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc8ce490012cff008007003d580020009e25..."} 
[2026-08-01 14:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc8ce490012cff008007003d580020009e25..."} 
[2026-08-01 14:33:22] local.INFO: Processing buffer {"connection_id":146056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc8ce490012cff008007003d580020009e25..."} 
[2026-08-01 14:33:22] local.INFO: Packet analysis {"connection_id":146056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc8c"} 
[2026-08-01 14:33:22] local.INFO: Extracted packet for processing {"connection_id":146056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc8c"} 
[2026-08-01 14:33:22] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":32,"angle":158,"satellites":37,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:33:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107066112001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:33:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:33:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:33:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:33:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785574778000,"timestamp_ms":1785574778000,"timestamp_seconds":1785574778,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc8ce490"} 
[2026-08-01 14:33:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:33:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-01 14:33:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:33:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:33:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:33:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:33:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:33:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:33:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:33:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:33:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:33:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:33:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107066112001,"66":25756,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:33:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:33:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:33:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107066112001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:33:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:33:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:33:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:33:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107066112001,"power":25756,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:33:22] local.INFO: DEBUG: GPS processor result {"connection_id":146056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:33:22] local.INFO: GPS data processed {"connection_id":146056,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:33:22] local.INFO: Acknowledgment sent {"connection_id":146056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:33:37] local.INFO: TCP Data received {"connection_id":148585,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc8ea9b0012d181ec00721afc8004b014828..."} 
[2026-08-01 14:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc8ea9b0012d181ec00721afc8004b014828..."} 
[2026-08-01 14:33:37] local.INFO: Processing buffer {"connection_id":148585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc8ea9b0012d181ec00721afc8004b014828..."} 
[2026-08-01 14:33:37] local.INFO: Packet analysis {"connection_id":148585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc8e"} 
[2026-08-01 14:33:37] local.INFO: Extracted packet for processing {"connection_id":148585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc8e"} 
[2026-08-01 14:33:37] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648200,"longitude_deg":75.6555456,"latitude_deg":11.96482,"altitude":75,"angle":328,"satellites":40,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721afc8","is_valid_coordinates":true} 
[2026-08-01 14:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107167488001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10246993104338944,"note":"Value kept but may cause issues"} 
[2026-08-01 14:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074062336,"note":"Value kept but may cause issues"} 
[2026-08-01 14:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785574894000,"timestamp_ms":1785574894000,"timestamp_seconds":1785574894,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc8ea9b0"} 
[2026-08-01 14:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-01 14:33:37] 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-08-01 14:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:33:37] 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-08-01 14:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107167488001,"66":12917,"105":206,"83":41984,"24":0,"16":10246993104338944,"45":1738037643074062336},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 14:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107167488001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:33:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 14:33:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10246993104338944,"km_value":10246993104338.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074062336,"description":"Unknown IO ID 45"} 
[2026-08-01 14:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107167488001,"power":12917,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074062336}} 
[2026-08-01 14:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":148585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:33:37] local.INFO: GPS data processed {"connection_id":148585,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:33:37] local.INFO: Acknowledgment sent {"connection_id":148585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:33:51] local.INFO: TCP Data received {"connection_id":148586,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:33:51] local.INFO: Processing buffer {"connection_id":148586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:33:51] local.INFO: IMEI packet received {"connection_id":148586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":148586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:33:54] local.INFO: TCP Data received {"connection_id":148586,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:33:54] local.INFO: Processing buffer {"connection_id":148586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:33:54] local.INFO: IMEI packet received {"connection_id":148586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":148586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:33:56] local.INFO: TCP Data received {"connection_id":148586,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc8ce490012cff008007003d580020009e25..."} 
[2026-08-01 14:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc8ce490012cff008007003d580020009e25..."} 
[2026-08-01 14:33:56] local.INFO: Processing buffer {"connection_id":148586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc8ce490012cff008007003d580020009e25..."} 
[2026-08-01 14:33:56] local.INFO: Packet analysis {"connection_id":148586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc8c"} 
[2026-08-01 14:33:56] local.INFO: Extracted packet for processing {"connection_id":148586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc8c"} 
[2026-08-01 14:33:56] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":32,"angle":158,"satellites":37,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14:33: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-08-01 14:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107066112001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:33:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:33:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785574778000,"timestamp_ms":1785574778000,"timestamp_seconds":1785574778,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc8ce490"} 
[2026-08-01 14:33:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:33:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14:33:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-01 14:33:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:33: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-08-01 14:33:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":148586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":148586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":148586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:33:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107066112001,"66":25756,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107066112001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:33:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:33:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107066112001,"power":25756,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":148586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:33:56] local.INFO: GPS data processed {"connection_id":148586,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:33:56] local.INFO: Acknowledgment sent {"connection_id":148586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:34:00] local.INFO: TCP Data received {"connection_id":148586,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc8ce490012cff008007003d580020009e25..."} 
[2026-08-01 14:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc8ce490012cff008007003d580020009e25..."} 
[2026-08-01 14:34:00] local.INFO: Processing buffer {"connection_id":148586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc8ce490012cff008007003d580020009e25..."} 
[2026-08-01 14:34:00] local.INFO: Packet analysis {"connection_id":148586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc8c"} 
[2026-08-01 14:34:00] local.INFO: Extracted packet for processing {"connection_id":148586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc8c"} 
[2026-08-01 14:34:00] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":32,"angle":158,"satellites":37,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107066112001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:34:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:34:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785574778000,"timestamp_ms":1785574778000,"timestamp_seconds":1785574778,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc8ce490"} 
[2026-08-01 14:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:34: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-08-01 14:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-01 14:34:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:34:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":148586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":148586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":148586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:34:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107066112001,"66":25756,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107066112001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:34:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:34:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107066112001,"power":25756,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":148586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:34:00] local.INFO: GPS data processed {"connection_id":148586,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:34:00] local.INFO: Acknowledgment sent {"connection_id":148586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:34:00] local.INFO: TCP Data received {"connection_id":146273,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146273,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:34:00] local.INFO: Processing buffer {"connection_id":146273,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:34:00] local.INFO: IMEI packet received {"connection_id":146273,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 14:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":146273,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:34:05] local.INFO: TCP Data received {"connection_id":146273,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146273,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:34:05] local.INFO: Processing buffer {"connection_id":146273,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:34:05] local.INFO: IMEI packet received {"connection_id":146273,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":146273,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:34:06] local.INFO: TCP Data received {"connection_id":146273,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc8efbb8012d181ec00721afc8004b014827..."} 
[2026-08-01 14:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc8efbb8012d181ec00721afc8004b014827..."} 
[2026-08-01 14:34:06] local.INFO: Processing buffer {"connection_id":146273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc8efbb8012d181ec00721afc8004b014827..."} 
[2026-08-01 14:34:06] local.INFO: Packet analysis {"connection_id":146273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc8e"} 
[2026-08-01 14:34:06] local.INFO: Extracted packet for processing {"connection_id":146273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc8e"} 
[2026-08-01 14:34:06] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648200,"longitude_deg":75.6555456,"latitude_deg":11.96482,"altitude":75,"angle":328,"satellites":39,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721afc8","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107172864001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10246993104338944,"note":"Value kept but may cause issues"} 
[2026-08-01 14:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074062336,"note":"Value kept but may cause issues"} 
[2026-08-01 14:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785574915000,"timestamp_ms":1785574915000,"timestamp_seconds":1785574915,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc8efbb8"} 
[2026-08-01 14:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-01 14:34: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-08-01 14: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-08-01 14:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:34:06] 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-08-01 14:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107172864001,"66":12841,"105":206,"83":41984,"24":0,"16":10246993104338944,"45":1738037643074062336},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 14:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107172864001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:34:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 14:34:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10246993104338944,"km_value":10246993104338.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074062336,"description":"Unknown IO ID 45"} 
[2026-08-01 14:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107172864001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074062336}} 
[2026-08-01 14:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":146273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:34:06] local.INFO: GPS data processed {"connection_id":146273,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:34:06] local.INFO: Acknowledgment sent {"connection_id":146273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:34:37] local.INFO: TCP Data received {"connection_id":146273,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc8f4dc0012d181ec00721afc8004b014827..."} 
[2026-08-01 14:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc8f4dc0012d181ec00721afc8004b014827..."} 
[2026-08-01 14:34:37] local.INFO: Processing buffer {"connection_id":146273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc8f4dc0012d181ec00721afc8004b014827..."} 
[2026-08-01 14:34:37] local.INFO: Packet analysis {"connection_id":146273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc8f"} 
[2026-08-01 14:34:37] local.INFO: Extracted packet for processing {"connection_id":146273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc8f"} 
[2026-08-01 14:34:37] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648200,"longitude_deg":75.6555456,"latitude_deg":11.96482,"altitude":75,"angle":328,"satellites":39,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721afc8","is_valid_coordinates":true} 
[2026-08-01 14:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107178240001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10246993104338944,"note":"Value kept but may cause issues"} 
[2026-08-01 14:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074062336,"note":"Value kept but may cause issues"} 
[2026-08-01 14:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785574936000,"timestamp_ms":1785574936000,"timestamp_seconds":1785574936,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc8f4dc0"} 
[2026-08-01 14:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-01 14:34:37] 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-08-01 14:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:34:37] 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-08-01 14:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107178240001,"66":12809,"105":206,"83":41984,"24":0,"16":10246993104338944,"45":1738037643074062336},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 14:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107178240001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:34:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 14:34:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10246993104338944,"km_value":10246993104338.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074062336,"description":"Unknown IO ID 45"} 
[2026-08-01 14:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107178240001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074062336}} 
[2026-08-01 14:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":146273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:34:37] local.INFO: GPS data processed {"connection_id":146273,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:34:37] local.INFO: Acknowledgment sent {"connection_id":146273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:34:44] local.INFO: TCP Data received {"connection_id":147275,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:34:44] local.INFO: Processing buffer {"connection_id":147275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:34:44] local.INFO: IMEI packet received {"connection_id":147275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":147275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:34:49] local.INFO: TCP Data received {"connection_id":147275,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:34:49] local.INFO: Processing buffer {"connection_id":147275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:34:49] local.INFO: IMEI packet received {"connection_id":147275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":147275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:34:50] local.INFO: TCP Data received {"connection_id":147275,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc8ce490012cff008007003d580020009e25..."} 
[2026-08-01 14:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc8ce490012cff008007003d580020009e25..."} 
[2026-08-01 14:34:50] local.INFO: Processing buffer {"connection_id":147275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc8ce490012cff008007003d580020009e25..."} 
[2026-08-01 14:34:50] local.INFO: Packet analysis {"connection_id":147275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc8c"} 
[2026-08-01 14:34:50] local.INFO: Extracted packet for processing {"connection_id":147275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc8c"} 
[2026-08-01 14:34:50] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":32,"angle":158,"satellites":37,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107066112001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:34:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:34:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785574778000,"timestamp_ms":1785574778000,"timestamp_seconds":1785574778,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc8ce490"} 
[2026-08-01 14:34:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:34:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-01 14:34:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:34:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:34:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:34:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107066112001,"66":25756,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107066112001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:34:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:34:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107066112001,"power":25756,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":147275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:34:50] local.INFO: GPS data processed {"connection_id":147275,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:34:50] local.INFO: Acknowledgment sent {"connection_id":147275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:35:00] local.INFO: TCP Data received {"connection_id":148587,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:35:00] local.INFO: Processing buffer {"connection_id":148587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:35:00] local.INFO: IMEI packet received {"connection_id":148587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 14:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":148587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:35:00] local.INFO: TCP Data received {"connection_id":148587,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:35:00] local.INFO: Processing buffer {"connection_id":148587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:35:00] local.INFO: IMEI packet received {"connection_id":148587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":148587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:35:05] local.INFO: TCP Data received {"connection_id":148587,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:35:05] local.INFO: Processing buffer {"connection_id":148587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:35:05] local.INFO: IMEI packet received {"connection_id":148587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":148587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:35:06] local.INFO: TCP Data received {"connection_id":148587,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc8f9fc8012d181ec00721afc8004b014828..."} 
[2026-08-01 14:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc8f9fc8012d181ec00721afc8004b014828..."} 
[2026-08-01 14:35:06] local.INFO: Processing buffer {"connection_id":148587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc8f9fc8012d181ec00721afc8004b014828..."} 
[2026-08-01 14:35:06] local.INFO: Packet analysis {"connection_id":148587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc8f"} 
[2026-08-01 14:35:06] local.INFO: Extracted packet for processing {"connection_id":148587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc8f"} 
[2026-08-01 14:35:06] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648200,"longitude_deg":75.6555456,"latitude_deg":11.96482,"altitude":75,"angle":328,"satellites":40,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721afc8","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107183616001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10246993104338944,"note":"Value kept but may cause issues"} 
[2026-08-01 14:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074062336,"note":"Value kept but may cause issues"} 
[2026-08-01 14:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785574957000,"timestamp_ms":1785574957000,"timestamp_seconds":1785574957,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc8f9fc8"} 
[2026-08-01 14:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-01 14:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":504403158433268736,"note":"Value kept but may cause issues"} 
[2026-08-01 14:35:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-01 14:35:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 14:35:06] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2516582400,"note":"Value kept but may cause issues"} 
[2026-08-01 14:35:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3163382160,"note":"Value kept but may cause issues"} 
[2026-08-01 14:35:06] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-01 14:35:06] local.WARNING: Large IO value detected {"io_id":188,"raw_value":-8282251651078152192,"note":"Value kept but may cause issues"} 
[2026-08-01 14:35:06] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2949120075,"note":"Value kept but may cause issues"} 
[2026-08-01 14:35:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-01 14:35:06] local.WARNING: Large IO value detected {"io_id":179,"raw_value":2550213912,"note":"Value kept but may cause issues"} 
[2026-08-01 14:35:06] local.WARNING: Large IO value detected {"io_id":30,"raw_value":3221692847,"note":"Value kept but may cause issues"} 
[2026-08-01 14:35:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4915528,"corrected_to":0} 
[2026-08-01 14:35:06] local.WARNING: Large IO value detected {"io_id":50,"raw_value":6125121350135762515,"note":"Value kept but may cause issues"} 
[2026-08-01 14:35:06] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2427660102753404971,"note":"Value kept but may cause issues"} 
[2026-08-01 14:35:06] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-01 14:35:06] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,103,159,251,45,192,175,75,39,10,66,169,40,87,1,240,139,227,188,33,4,113,205,179,30,200,38,239,50,2,36,7,164,150],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0},{"io_id":200,"original":4915528,"validated":0}]} 
[2026-08-01 14:35:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404680360162230272,"timestamp_seconds":5404680360162230.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 14:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:35:06] 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-08-01 14:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107183616001,"66":12776,"105":206,"83":41984,"24":0,"16":10246993104338944,"45":1738037643074062336},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 14:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107183616001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:35:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 14:35:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10246993104338944,"km_value":10246993104338.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074062336,"description":"Unknown IO ID 45"} 
[2026-08-01 14:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107183616001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074062336}} 
[2026-08-01 14:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":148587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:35:06] local.INFO: GPS data processed {"connection_id":148587,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:35:06] local.INFO: Acknowledgment sent {"connection_id":148587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:35:22] local.INFO: TCP Data received {"connection_id":147275,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc9141c0012cff008007003d580020009e24..."} 
[2026-08-01 14:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc9141c0012cff008007003d580020009e24..."} 
[2026-08-01 14:35:22] local.INFO: Processing buffer {"connection_id":147275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc9141c0012cff008007003d580020009e24..."} 
[2026-08-01 14:35:22] local.INFO: Packet analysis {"connection_id":147275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc91"} 
[2026-08-01 14:35:22] local.INFO: Extracted packet for processing {"connection_id":147275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc91"} 
[2026-08-01 14:35:22] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117456216,"longitude_deg":75.4909312,"latitude_deg":11.7456216,"altitude":32,"angle":158,"satellites":36,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003d58","is_valid_coordinates":true} 
[2026-08-01 14:35: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-08-01 14:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107143168001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:35:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:35:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785575064000,"timestamp_ms":1785575064000,"timestamp_seconds":1785575064,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc9141c0"} 
[2026-08-01 14:35:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:35:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 14:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-01 14:35:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:35:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:35:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:35:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107143168001,"66":25734,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107143168001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:35:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:35:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107143168001,"power":25734,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":147275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:35:22] local.INFO: GPS data processed {"connection_id":147275,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:35:22] local.INFO: Acknowledgment sent {"connection_id":147275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:35:37] local.INFO: TCP Data received {"connection_id":148587,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc8ff1d0012d181ec00721afc8004b014828..."} 
[2026-08-01 14:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc8ff1d0012d181ec00721afc8004b014828..."} 
[2026-08-01 14:35:37] local.INFO: Processing buffer {"connection_id":148587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc8ff1d0012d181ec00721afc8004b014828..."} 
[2026-08-01 14:35:37] local.INFO: Packet analysis {"connection_id":148587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc8f"} 
[2026-08-01 14:35:37] local.INFO: Extracted packet for processing {"connection_id":148587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc8f"} 
[2026-08-01 14:35:37] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648200,"longitude_deg":75.6555456,"latitude_deg":11.96482,"altitude":75,"angle":328,"satellites":40,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721afc8","is_valid_coordinates":true} 
[2026-08-01 14:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107188992001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10246993104338944,"note":"Value kept but may cause issues"} 
[2026-08-01 14:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074062336,"note":"Value kept but may cause issues"} 
[2026-08-01 14:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785574978000,"timestamp_ms":1785574978000,"timestamp_seconds":1785574978,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc8ff1d0"} 
[2026-08-01 14:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-01 14:35:37] 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-08-01 14:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:35:37] 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-08-01 14:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107188992001,"66":12743,"105":206,"83":41984,"24":0,"16":10246993104338944,"45":1738037643074062336},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 14:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107188992001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:35:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 14:35:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10246993104338944,"km_value":10246993104338.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074062336,"description":"Unknown IO ID 45"} 
[2026-08-01 14:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107188992001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074062336}} 
[2026-08-01 14:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":148587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577568,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:35:37] local.INFO: GPS data processed {"connection_id":148587,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:35:37] local.INFO: Acknowledgment sent {"connection_id":148587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:35:44] local.INFO: TCP Data received {"connection_id":148588,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:35:44] local.INFO: Processing buffer {"connection_id":148588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:35:44] local.INFO: IMEI packet received {"connection_id":148588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":148588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:35:49] local.INFO: TCP Data received {"connection_id":148588,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:35:49] local.INFO: Processing buffer {"connection_id":148588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:35:49] local.INFO: IMEI packet received {"connection_id":148588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":148588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:35:49] local.INFO: TCP Data received {"connection_id":148588,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:35:49] local.INFO: Processing buffer {"connection_id":148588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:35:49] local.INFO: IMEI packet received {"connection_id":148588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":148588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:35:52] local.INFO: TCP Data received {"connection_id":148588,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc914d78012cff028007003af8002000ac25..."} 
[2026-08-01 14:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc914d78012cff028007003af8002000ac25..."} 
[2026-08-01 14:35:52] local.INFO: Processing buffer {"connection_id":148588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc914d78012cff028007003af8002000ac25..."} 
[2026-08-01 14:35:52] local.INFO: Packet analysis {"connection_id":148588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc91"} 
[2026-08-01 14:35:52] local.INFO: Extracted packet for processing {"connection_id":148588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc91"} 
[2026-08-01 14:35:52] local.INFO: GPS Element Parsed {"raw_longitude":754909824,"raw_latitude":117455608,"longitude_deg":75.4909824,"latitude_deg":11.7455608,"altitude":32,"angle":172,"satellites":37,"speed":0,"hex_longitude":"2cff0280","hex_latitude":"07003af8","is_valid_coordinates":true} 
[2026-08-01 14:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107216384001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:35:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480781312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:35:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785575067000,"timestamp_ms":1785575067000,"timestamp_seconds":1785575067,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc914d78"} 
[2026-08-01 14:35:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:35: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-08-01 14:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-01 14:35:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:35:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:35:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:35:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107216384001,"66":27691,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71916826480781312},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107216384001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:35:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:35:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480781312,"description":"Unknown IO ID 44"} 
[2026-08-01 14:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107216384001,"power":27691,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71916826480781312}} 
[2026-08-01 14:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":148588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:35:52] local.INFO: GPS data processed {"connection_id":148588,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:35:52] local.INFO: Acknowledgment sent {"connection_id":148588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:35:54] local.INFO: TCP Data received {"connection_id":148588,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc919f80012cff028007003af8002000ac21..."} 
[2026-08-01 14:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc919f80012cff028007003af8002000ac21..."} 
[2026-08-01 14:35:54] local.INFO: Processing buffer {"connection_id":148588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc919f80012cff028007003af8002000ac21..."} 
[2026-08-01 14:35:54] local.INFO: Packet analysis {"connection_id":148588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc91"} 
[2026-08-01 14:35:54] local.INFO: Extracted packet for processing {"connection_id":148588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc91"} 
[2026-08-01 14:35:54] local.INFO: GPS Element Parsed {"raw_longitude":754909824,"raw_latitude":117455608,"longitude_deg":75.4909824,"latitude_deg":11.7455608,"altitude":32,"angle":172,"satellites":33,"speed":0,"hex_longitude":"2cff0280","hex_latitude":"07003af8","is_valid_coordinates":true} 
[2026-08-01 14:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107217152001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:35:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71353876527515648,"note":"Value kept but may cause issues"} 
[2026-08-01 14:35:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785575088000,"timestamp_ms":1785575088000,"timestamp_seconds":1785575088,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc919f80"} 
[2026-08-01 14:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:35:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-01 14:35:54] 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-08-01 14:35:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:35:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107217152001,"66":27691,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71353876527515648},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107217152001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:35:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:35:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71353876527515648,"description":"Unknown IO ID 44"} 
[2026-08-01 14:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107217152001,"power":27691,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71353876527515648}} 
[2026-08-01 14:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":148588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:35:54] local.INFO: GPS data processed {"connection_id":148588,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:35:54] local.INFO: Acknowledgment sent {"connection_id":148588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:36:03] local.INFO: TCP Data received {"connection_id":146274,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146274,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:36:03] local.INFO: Processing buffer {"connection_id":146274,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:36:03] local.INFO: IMEI packet received {"connection_id":146274,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 14:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":146274,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:36:05] local.INFO: TCP Data received {"connection_id":146274,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146274,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:36:05] local.INFO: Processing buffer {"connection_id":146274,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:36:05] local.INFO: IMEI packet received {"connection_id":146274,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":146274,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:36:11] local.INFO: TCP Data received {"connection_id":146274,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146274,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:36:11] local.INFO: Processing buffer {"connection_id":146274,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:36:11] local.INFO: IMEI packet received {"connection_id":146274,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":146274,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:36:12] local.INFO: TCP Data received {"connection_id":146274,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc9043d8012d181ec00721afc8004b014828..."} 
[2026-08-01 14:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc9043d8012d181ec00721afc8004b014828..."} 
[2026-08-01 14:36:12] local.INFO: Processing buffer {"connection_id":146274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc9043d8012d181ec00721afc8004b014828..."} 
[2026-08-01 14:36:12] local.INFO: Packet analysis {"connection_id":146274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc90"} 
[2026-08-01 14:36:12] local.INFO: Extracted packet for processing {"connection_id":146274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc90"} 
[2026-08-01 14:36:12] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648200,"longitude_deg":75.6555456,"latitude_deg":11.96482,"altitude":75,"angle":328,"satellites":40,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721afc8","is_valid_coordinates":true} 
[2026-08-01 14:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107194368001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10246993104338944,"note":"Value kept but may cause issues"} 
[2026-08-01 14:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074062336,"note":"Value kept but may cause issues"} 
[2026-08-01 14:36:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785574999000,"timestamp_ms":1785574999000,"timestamp_seconds":1785574999,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc9043d8"} 
[2026-08-01 14:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:36: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-08-01 14:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-01 14:36:12] 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-08-01 14:36:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":146274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":146274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":146274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:36:12] 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-08-01 14:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107194368001,"66":12667,"105":206,"83":41984,"24":0,"16":10246993104338944,"45":1738037643074062336},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 14:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107194368001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:36:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 14:36:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10246993104338944,"km_value":10246993104338.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074062336,"description":"Unknown IO ID 45"} 
[2026-08-01 14:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107194368001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074062336}} 
[2026-08-01 14:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":146274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577571,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:36:12] local.INFO: GPS data processed {"connection_id":146274,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:36:12] local.INFO: Acknowledgment sent {"connection_id":146274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:36:19] local.INFO: TCP Data received {"connection_id":146274,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc9095e0012d181ec00721afc8004b014829..."} 
[2026-08-01 14:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc9095e0012d181ec00721afc8004b014829..."} 
[2026-08-01 14:36:19] local.INFO: Processing buffer {"connection_id":146274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc9095e0012d181ec00721afc8004b014829..."} 
[2026-08-01 14:36:19] local.INFO: Packet analysis {"connection_id":146274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc90"} 
[2026-08-01 14:36:19] local.INFO: Extracted packet for processing {"connection_id":146274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc90"} 
[2026-08-01 14:36:19] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648200,"longitude_deg":75.6555456,"latitude_deg":11.96482,"altitude":75,"angle":328,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721afc8","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:36:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107199744001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:36:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10246993104338944,"note":"Value kept but may cause issues"} 
[2026-08-01 14:36:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074062336,"note":"Value kept but may cause issues"} 
[2026-08-01 14:36:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:36:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785575020000,"timestamp_ms":1785575020000,"timestamp_seconds":1785575020,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc9095e0"} 
[2026-08-01 14:36:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:36:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-01 14:36:19] 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-08-01 14: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-08-01 14:36:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:36:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:36:19] local.INFO: Teltonika packet parsed successfully {"connection_id":146274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:36:19] local.INFO: Passing IMEI to GPS processor {"connection_id":146274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:36:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":146274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:36:19] 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-08-01 14:36:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:36:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:36:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107199744001,"66":12667,"105":206,"83":41984,"24":0,"16":10246993104338944,"45":1738037643074062336},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 14:36:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:36:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:36:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107199744001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:36:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 14:36:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:36:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10246993104338944,"km_value":10246993104338.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:36:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074062336,"description":"Unknown IO ID 45"} 
[2026-08-01 14:36:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107199744001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074062336}} 
[2026-08-01 14:36:19] local.INFO: DEBUG: GPS processor result {"connection_id":146274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:36:19] local.INFO: GPS data processed {"connection_id":146274,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:36:19] local.INFO: Acknowledgment sent {"connection_id":146274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:36:32] local.INFO: TCP Data received {"connection_id":148588,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc91f188012cff028007003af8002000ac23..."} 
[2026-08-01 14:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc91f188012cff028007003af8002000ac23..."} 
[2026-08-01 14:36:32] local.INFO: Processing buffer {"connection_id":148588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc91f188012cff028007003af8002000ac23..."} 
[2026-08-01 14:36:32] local.INFO: Packet analysis {"connection_id":148588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc91"} 
[2026-08-01 14:36:32] local.INFO: Extracted packet for processing {"connection_id":148588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc91"} 
[2026-08-01 14:36:32] local.INFO: GPS Element Parsed {"raw_longitude":754909824,"raw_latitude":117455608,"longitude_deg":75.4909824,"latitude_deg":11.7455608,"altitude":32,"angle":172,"satellites":35,"speed":0,"hex_longitude":"2cff0280","hex_latitude":"07003af8","is_valid_coordinates":true} 
[2026-08-01 14:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107222528001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:36:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71353876527515648,"note":"Value kept but may cause issues"} 
[2026-08-01 14:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785575109000,"timestamp_ms":1785575109000,"timestamp_seconds":1785575109,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc91f188"} 
[2026-08-01 14:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-01 14:36:32] 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-08-01 14:36:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":148588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":148588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":148588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107222528001,"66":27865,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71353876527515648},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107222528001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:36:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:36:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71353876527515648,"description":"Unknown IO ID 44"} 
[2026-08-01 14:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107222528001,"power":27865,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71353876527515648}} 
[2026-08-01 14:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":148588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:36:32] local.INFO: GPS data processed {"connection_id":148588,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:36:32] local.INFO: Acknowledgment sent {"connection_id":148588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:36:49] local.INFO: TCP Data received {"connection_id":146275,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:36:49] local.INFO: Processing buffer {"connection_id":146275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:36:49] local.INFO: IMEI packet received {"connection_id":146275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":146275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:36:54] local.INFO: TCP Data received {"connection_id":146275,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:36:54] local.INFO: Processing buffer {"connection_id":146275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:36:54] local.INFO: IMEI packet received {"connection_id":146275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":146275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:36:56] local.INFO: TCP Data received {"connection_id":146275,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc924390012cff028007003af8002000ac25..."} 
[2026-08-01 14:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc924390012cff028007003af8002000ac25..."} 
[2026-08-01 14:36:56] local.INFO: Processing buffer {"connection_id":146275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc924390012cff028007003af8002000ac25..."} 
[2026-08-01 14:36:56] local.INFO: Packet analysis {"connection_id":146275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc92"} 
[2026-08-01 14:36:56] local.INFO: Extracted packet for processing {"connection_id":146275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc92"} 
[2026-08-01 14:36:56] local.INFO: GPS Element Parsed {"raw_longitude":754909824,"raw_latitude":117455608,"longitude_deg":75.4909824,"latitude_deg":11.7455608,"altitude":32,"angle":172,"satellites":37,"speed":0,"hex_longitude":"2cff0280","hex_latitude":"07003af8","is_valid_coordinates":true} 
[2026-08-01 14:36: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-08-01 14:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107227904001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501297513299968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:36:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71353876527515648,"note":"Value kept but may cause issues"} 
[2026-08-01 14:36:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785575130000,"timestamp_ms":1785575130000,"timestamp_seconds":1785575130,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc924390"} 
[2026-08-01 14:36:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:36:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:36:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 14:36:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:36: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-08-01 14:36:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":146275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":146275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":146275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:36:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107227904001,"66":28006,"17":206,"28":32256,"24":0,"16":366501297513299968,"44":-71353876527515648},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107227904001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:36:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501297513299968,"km_value":366501297513299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:36:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71353876527515648,"description":"Unknown IO ID 44"} 
[2026-08-01 14:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107227904001,"power":28006,"axis_x":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-71353876527515648}} 
[2026-08-01 14:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":146275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:36:56] local.INFO: GPS data processed {"connection_id":146275,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:36:56] local.INFO: Acknowledgment sent {"connection_id":146275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:37:00] local.INFO: TCP Data received {"connection_id":146057,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:37:00] local.INFO: Processing buffer {"connection_id":146057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:37:00] local.INFO: IMEI packet received {"connection_id":146057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 14:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":146057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:37:05] local.INFO: TCP Data received {"connection_id":146057,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:37:05] local.INFO: Processing buffer {"connection_id":146057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:37:05] local.INFO: IMEI packet received {"connection_id":146057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":146057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:37:06] local.INFO: TCP Data received {"connection_id":146057,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc90e7e8012d181e000721ae90004a01482a..."} 
[2026-08-01 14:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc90e7e8012d181e000721ae90004a01482a..."} 
[2026-08-01 14:37:06] local.INFO: Processing buffer {"connection_id":146057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc90e7e8012d181e000721ae90004a01482a..."} 
[2026-08-01 14:37:06] local.INFO: Packet analysis {"connection_id":146057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc90"} 
[2026-08-01 14:37:06] local.INFO: Extracted packet for processing {"connection_id":146057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc90"} 
[2026-08-01 14:37:06] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647888,"longitude_deg":75.6555264,"latitude_deg":11.9647888,"altitude":74,"angle":328,"satellites":42,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae90","is_valid_coordinates":true} 
[2026-08-01 14:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107205120001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10247014579175424,"note":"Value kept but may cause issues"} 
[2026-08-01 14:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074062336,"note":"Value kept but may cause issues"} 
[2026-08-01 14:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785575041000,"timestamp_ms":1785575041000,"timestamp_seconds":1785575041,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc90e7e8"} 
[2026-08-01 14:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-01 14:37:06] 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-08-01 14:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:37:06] 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-08-01 14:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107205120001,"66":12558,"105":206,"83":41984,"24":0,"16":10247014579175424,"45":1738037643074062336},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 14:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107205120001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:37:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 14:37:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10247014579175424,"km_value":10247014579175.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074062336,"description":"Unknown IO ID 45"} 
[2026-08-01 14:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107205120001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074062336}} 
[2026-08-01 14:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":146057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:37:06] local.INFO: GPS data processed {"connection_id":146057,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:37:06] local.INFO: Acknowledgment sent {"connection_id":146057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:37:28] local.INFO: TCP Data received {"connection_id":146275,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc9289e0012cff014007003c480017007e25..."} 
[2026-08-01 14:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc9289e0012cff014007003c480017007e25..."} 
[2026-08-01 14:37:28] local.INFO: Processing buffer {"connection_id":146275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc9289e0012cff014007003c480017007e25..."} 
[2026-08-01 14:37:28] local.INFO: Packet analysis {"connection_id":146275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc92"} 
[2026-08-01 14:37:28] local.INFO: Extracted packet for processing {"connection_id":146275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc92"} 
[2026-08-01 14:37:28] local.INFO: GPS Element Parsed {"raw_longitude":754909504,"raw_latitude":117455944,"longitude_deg":75.4909504,"latitude_deg":11.7455944,"altitude":23,"angle":126,"satellites":37,"speed":2,"hex_longitude":"2cff0140","hex_latitude":"07003c48","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107233280001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501318988136448,"note":"Value kept but may cause issues"} 
[2026-08-01 14:37:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71353876527515648,"note":"Value kept but may cause issues"} 
[2026-08-01 14:37:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785575148000,"timestamp_ms":1785575148000,"timestamp_seconds":1785575148,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc9289e0"} 
[2026-08-01 14:37:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:37: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-08-01 14: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-01 14:37:28] 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-08-01 14: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-08-01 14:37:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":146275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":146275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":146275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:37:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107233280001,"66":27995,"17":206,"28":32256,"24":2,"16":366501318988136448,"44":-71353876527515648},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,44]} 
[2026-08-01 14:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107233280001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:37:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501318988136448,"km_value":366501318988136.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:37:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71353876527515648,"description":"Unknown IO ID 44"} 
[2026-08-01 14:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107233280001,"power":27995,"axis_x":206,"unknown_28":32256,"ignition":2,"odometer":null,"unknown_44":-71353876527515648}} 
[2026-08-01 14:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":146275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:37:28] local.INFO: GPS data processed {"connection_id":146275,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:37:28] local.INFO: Acknowledgment sent {"connection_id":146275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:37:37] local.INFO: TCP Data received {"connection_id":146057,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc9139f0012d181e000721ae90004a014825..."} 
[2026-08-01 14:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc9139f0012d181e000721ae90004a014825..."} 
[2026-08-01 14:37:37] local.INFO: Processing buffer {"connection_id":146057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc9139f0012d181e000721ae90004a014825..."} 
[2026-08-01 14:37:37] local.INFO: Packet analysis {"connection_id":146057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc91"} 
[2026-08-01 14:37:37] local.INFO: Extracted packet for processing {"connection_id":146057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc91"} 
[2026-08-01 14:37:37] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647888,"longitude_deg":75.6555264,"latitude_deg":11.9647888,"altitude":74,"angle":328,"satellites":37,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae90","is_valid_coordinates":true} 
[2026-08-01 14:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107210496001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10247014579175424,"note":"Value kept but may cause issues"} 
[2026-08-01 14:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841449472,"note":"Value kept but may cause issues"} 
[2026-08-01 14:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785575062000,"timestamp_ms":1785575062000,"timestamp_seconds":1785575062,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc9139f0"} 
[2026-08-01 14:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-01 14:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-01 14:37:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-01 14:37:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 14:37:37] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2516582400,"note":"Value kept but may cause issues"} 
[2026-08-01 14:37:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3163487160,"note":"Value kept but may cause issues"} 
[2026-08-01 14:37:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249380941250015176,"note":"Value kept but may cause issues"} 
[2026-08-01 14:37:37] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2409613313,"note":"Value kept but may cause issues"} 
[2026-08-01 14:37:37] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2949120075,"note":"Value kept but may cause issues"} 
[2026-08-01 14:37:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-01 14:37:37] local.WARNING: Large IO value detected {"io_id":77,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-08-01 14:37:37] local.WARNING: Large IO value detected {"io_id":30,"raw_value":3221692847,"note":"Value kept but may cause issues"} 
[2026-08-01 14:37:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4915528,"corrected_to":0} 
[2026-08-01 14:37:37] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-01 14:37:37] local.WARNING: Large IO value detected {"io_id":78,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-01 14:37:37] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-01 14:37:37] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,103,159,149,45,192,175,75,41,10,66,67,40,1,240,199,227,188,33,4,113,205,77,30,200,39,239,50,2,36,7,106,78,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0},{"io_id":200,"original":4915528,"validated":0}]} 
[2026-08-01 14:37:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332622779009204224,"timestamp_seconds":5332622779009204.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 14:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:37:37] 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-08-01 14:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107210496001,"66":12667,"105":206,"83":41984,"24":0,"16":10247014579175424,"45":1737826536841449472},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 14:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107210496001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:37:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 14:37:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10247014579175424,"km_value":10247014579175.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841449472,"description":"Unknown IO ID 45"} 
[2026-08-01 14:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107210496001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841449472}} 
[2026-08-01 14:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":146057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577577,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:37:37] local.INFO: GPS data processed {"connection_id":146057,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:37:37] local.INFO: Acknowledgment sent {"connection_id":146057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:37:44] local.INFO: TCP Data received {"connection_id":146276,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:37:44] local.INFO: Processing buffer {"connection_id":146276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:37:44] local.INFO: IMEI packet received {"connection_id":146276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":146276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:37:47] local.INFO: TCP Data received {"connection_id":146276,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:37:47] local.INFO: Processing buffer {"connection_id":146276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:37:47] local.INFO: IMEI packet received {"connection_id":146276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":146276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:37:48] local.INFO: TCP Data received {"connection_id":146276,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc92d418012cff018007003b680016015821..."} 
[2026-08-01 14:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc92d418012cff018007003b680016015821..."} 
[2026-08-01 14:37:48] local.INFO: Processing buffer {"connection_id":146276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc92d418012cff018007003b680016015821..."} 
[2026-08-01 14:37:48] local.INFO: Packet analysis {"connection_id":146276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc92"} 
[2026-08-01 14:37:48] local.INFO: Extracted packet for processing {"connection_id":146276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc92"} 
[2026-08-01 14:37:48] local.INFO: GPS Element Parsed {"raw_longitude":754909568,"raw_latitude":117455720,"longitude_deg":75.4909568,"latitude_deg":11.745572,"altitude":22,"angle":344,"satellites":33,"speed":1,"hex_longitude":"2cff0180","hex_latitude":"07003b68","is_valid_coordinates":true} 
[2026-08-01 14:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107237888001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501340462972928,"note":"Value kept but may cause issues"} 
[2026-08-01 14:37:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71705720248317952,"note":"Value kept but may cause issues"} 
[2026-08-01 14:37:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785575167000,"timestamp_ms":1785575167000,"timestamp_seconds":1785575167,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc92d418"} 
[2026-08-01 14:37:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:37:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-01 14:37:48] 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-08-01 14:37:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:37:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:37:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107237888001,"66":27995,"196":206,"28":32256,"24":1,"16":366501340462972928,"44":-71705720248317952},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,28,24,16,44]} 
[2026-08-01 14:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107237888001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:37:48] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-01 14:37:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501340462972928,"km_value":366501340462972.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:37:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71705720248317952,"description":"Unknown IO ID 44"} 
[2026-08-01 14:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107237888001,"power":27995,"unknown_196":206,"unknown_28":32256,"ignition":1,"odometer":null,"unknown_44":-71705720248317952}} 
[2026-08-01 14:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":146276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:37:48] local.INFO: GPS data processed {"connection_id":146276,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:37:48] local.INFO: Acknowledgment sent {"connection_id":146276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:38:00] local.INFO: TCP Data received {"connection_id":147276,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147276,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:38:00] local.INFO: Processing buffer {"connection_id":147276,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:38:00] local.INFO: IMEI packet received {"connection_id":147276,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 14:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":147276,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:38:01] local.INFO: TCP Data received {"connection_id":147276,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147276,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:38:01] local.INFO: Processing buffer {"connection_id":147276,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:38:01] local.INFO: IMEI packet received {"connection_id":147276,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":147276,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:38:05] local.INFO: TCP Data received {"connection_id":147276,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147276,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:38:05] local.INFO: Processing buffer {"connection_id":147276,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:38:05] local.INFO: IMEI packet received {"connection_id":147276,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":147276,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:38:06] local.INFO: TCP Data received {"connection_id":147276,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc937ff8012d181fc00721a740004c008029..."} 
[2026-08-01 14:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc937ff8012d181fc00721a740004c008029..."} 
[2026-08-01 14:38:06] local.INFO: Processing buffer {"connection_id":147276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc937ff8012d181fc00721a740004c008029..."} 
[2026-08-01 14:38:06] local.INFO: Packet analysis {"connection_id":147276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc93"} 
[2026-08-01 14:38:06] local.INFO: Extracted packet for processing {"connection_id":147276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc93"} 
[2026-08-01 14:38:06] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119646016,"longitude_deg":75.6555712,"latitude_deg":11.9646016,"altitude":76,"angle":128,"satellites":41,"speed":2,"hex_longitude":"2d181fc0","hex_latitude":"0721a740","is_valid_coordinates":true} 
[2026-08-01 14:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107253504001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10247117658390528,"note":"Value kept but may cause issues"} 
[2026-08-01 14:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073558528,"note":"Value kept but may cause issues"} 
[2026-08-01 14:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785575211000,"timestamp_ms":1785575211000,"timestamp_seconds":1785575211,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc937ff8"} 
[2026-08-01 14:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-01 14:38:06] 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-08-01 14:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:38:06] 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-08-01 14:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107253504001,"66":13798,"105":206,"83":41984,"24":2,"16":10247117658390528,"45":1738037643073558528},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 14:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107253504001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:38:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 14:38:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10247117658390528,"km_value":10247117658390.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073558528,"description":"Unknown IO ID 45"} 
[2026-08-01 14:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107253504001,"power":13798,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1738037643073558528}} 
[2026-08-01 14:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":147276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577579,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:38:06] local.INFO: GPS data processed {"connection_id":147276,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:38:06] local.INFO: Acknowledgment sent {"connection_id":147276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:38:19] local.INFO: TCP Data received {"connection_id":146276,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc93f140012cfefdc0070031e8001500d129..."} 
[2026-08-01 14:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc93f140012cfefdc0070031e8001500d129..."} 
[2026-08-01 14:38:19] local.INFO: Processing buffer {"connection_id":146276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc93f140012cfefdc0070031e8001500d129..."} 
[2026-08-01 14:38:19] local.INFO: Packet analysis {"connection_id":146276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc93"} 
[2026-08-01 14:38:19] local.INFO: Extracted packet for processing {"connection_id":146276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc93"} 
[2026-08-01 14:38:19] local.INFO: GPS Element Parsed {"raw_longitude":754908608,"raw_latitude":117453288,"longitude_deg":75.4908608,"latitude_deg":11.7453288,"altitude":21,"angle":209,"satellites":41,"speed":6,"hex_longitude":"2cfefdc0","hex_latitude":"070031e8","is_valid_coordinates":true} 
[2026-08-01 14:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107260672001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501499376762880,"note":"Value kept but may cause issues"} 
[2026-08-01 14:38:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72339038946494464,"note":"Value kept but may cause issues"} 
[2026-08-01 14:38:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785575240000,"timestamp_ms":1785575240000,"timestamp_seconds":1785575240,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc93f140"} 
[2026-08-01 14:38:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:38: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-08-01 14:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 14:38:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:38:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:38:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":146276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":146276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":146276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:38:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107260672001,"66":27180,"196":206,"28":32256,"24":6,"16":366501499376762880,"44":-72339038946494464},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,28,24,16,44]} 
[2026-08-01 14:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107260672001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:38:19] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-01 14:38:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501499376762880,"km_value":366501499376762.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:38:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72339038946494464,"description":"Unknown IO ID 44"} 
[2026-08-01 14:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107260672001,"power":27180,"unknown_196":206,"unknown_28":32256,"ignition":6,"odometer":null,"unknown_44":-72339038946494464}} 
[2026-08-01 14:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":146276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:38:19] local.INFO: GPS data processed {"connection_id":146276,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:38:19] local.INFO: Acknowledgment sent {"connection_id":146276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:38:37] local.INFO: TCP Data received {"connection_id":147276,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc93c648012d1820000721a638004c009f29..."} 
[2026-08-01 14:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc93c648012d1820000721a638004c009f29..."} 
[2026-08-01 14:38:37] local.INFO: Processing buffer {"connection_id":147276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc93c648012d1820000721a638004c009f29..."} 
[2026-08-01 14:38:37] local.INFO: Packet analysis {"connection_id":147276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc93"} 
[2026-08-01 14:38:37] local.INFO: Extracted packet for processing {"connection_id":147276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc93"} 
[2026-08-01 14:38:37] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119645752,"longitude_deg":75.6555776,"latitude_deg":11.9645752,"altitude":76,"angle":159,"satellites":41,"speed":4,"hex_longitude":"2d182000","hex_latitude":"0721a638","is_valid_coordinates":true} 
[2026-08-01 14:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107254016001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10247134838259712,"note":"Value kept but may cause issues"} 
[2026-08-01 14:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050213888,"note":"Value kept but may cause issues"} 
[2026-08-01 14:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785575229000,"timestamp_ms":1785575229000,"timestamp_seconds":1785575229,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc93c648"} 
[2026-08-01 14:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-01 14:38: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-08-01 14:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:38:37] 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-08-01 14:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107254016001,"66":14233,"105":206,"83":41984,"24":4,"16":10247134838259712,"45":1738319118050213888},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 14:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107254016001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:38:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 14:38:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10247134838259712,"km_value":10247134838259.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050213888,"description":"Unknown IO ID 45"} 
[2026-08-01 14:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107254016001,"power":14233,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1738319118050213888}} 
[2026-08-01 14:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":147276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:38:37] local.INFO: GPS data processed {"connection_id":147276,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:38:37] local.INFO: Acknowledgment sent {"connection_id":147276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:38:47] local.INFO: TCP Data received {"connection_id":148589,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:38:47] local.INFO: Processing buffer {"connection_id":148589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:38:47] local.INFO: IMEI packet received {"connection_id":148589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":148589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:38:50] local.INFO: TCP Data received {"connection_id":148589,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:38:50] local.INFO: Processing buffer {"connection_id":148589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:38:50] local.INFO: IMEI packet received {"connection_id":148589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":148589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:38:52] local.INFO: TCP Data received {"connection_id":148589,"ip":"117.224.186.144","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fbc..."} 
[2026-08-01 14:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148589,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fbc..."} 
[2026-08-01 14:38:52] local.INFO: Processing buffer {"connection_id":148589,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fbc..."} 
[2026-08-01 14:38:52] local.INFO: IMEI packet received {"connection_id":148589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":148589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:38:55] local.INFO: TCP Data received {"connection_id":148589,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc9404c8012cfefbc007002f08001300d129..."} 
[2026-08-01 14:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc9404c8012cfefbc007002f08001300d129..."} 
[2026-08-01 14:38:55] local.INFO: Processing buffer {"connection_id":148589,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fbc93fcf8012cfefc8007003048001400dd29..."} 
[2026-08-01 14:38:55] local.INFO: Packet analysis {"connection_id":148589,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fbc93"} 
[2026-08-01 14:38:55] local.INFO: Extracted packet for processing {"connection_id":148589,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc93"} 
[2026-08-01 14:38:55] local.INFO: GPS Element Parsed {"raw_longitude":754908288,"raw_latitude":117452872,"longitude_deg":75.4908288,"latitude_deg":11.7452872,"altitude":20,"angle":221,"satellites":41,"speed":6,"hex_longitude":"2cfefc80","hex_latitude":"07003048","is_valid_coordinates":true} 
[2026-08-01 14:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107261440001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501525146566656,"note":"Value kept but may cause issues"} 
[2026-08-01 14:38:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72690882667485184,"note":"Value kept but may cause issues"} 
[2026-08-01 14:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785575243000,"timestamp_ms":1785575243000,"timestamp_seconds":1785575243,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc93fcf8"} 
[2026-08-01 14:38:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:38:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-01 14:38:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:38:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:38:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:38:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107261440001,"66":27930,"196":206,"28":32256,"24":6,"16":366501525146566656,"44":-72690882667485184},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,28,24,16,44]} 
[2026-08-01 14:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107261440001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:38:55] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-01 14:38:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501525146566656,"km_value":366501525146566.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:38:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72690882667485184,"description":"Unknown IO ID 44"} 
[2026-08-01 14:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107261440001,"power":27930,"unknown_196":206,"unknown_28":32256,"ignition":6,"odometer":null,"unknown_44":-72690882667485184}} 
[2026-08-01 14:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":148589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:38:55] local.INFO: GPS data processed {"connection_id":148589,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:38:55] local.INFO: Acknowledgment sent {"connection_id":148589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:38:55] local.INFO: Packet analysis {"connection_id":148589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc94"} 
[2026-08-01 14:38:55] local.INFO: Extracted packet for processing {"connection_id":148589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc94"} 
[2026-08-01 14:38:55] local.INFO: GPS Element Parsed {"raw_longitude":754908096,"raw_latitude":117452552,"longitude_deg":75.4908096,"latitude_deg":11.7452552,"altitude":19,"angle":209,"satellites":41,"speed":7,"hex_longitude":"2cfefbc0","hex_latitude":"07002f08","is_valid_coordinates":true} 
[2026-08-01 14:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107262208001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501542326435840,"note":"Value kept but may cause issues"} 
[2026-08-01 14:38:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73042726388480000,"note":"Value kept but may cause issues"} 
[2026-08-01 14:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785575245000,"timestamp_ms":1785575245000,"timestamp_seconds":1785575245,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc9404c8"} 
[2026-08-01 14:38:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:38:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-01 14:38:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:38:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:38:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:38:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107262208001,"66":27593,"196":206,"28":32256,"24":7,"16":366501542326435840,"44":-73042726388480000},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,28,24,16,44]} 
[2026-08-01 14:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107262208001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:38:55] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-01 14:38:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501542326435840,"km_value":366501542326435.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:38:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73042726388480000,"description":"Unknown IO ID 44"} 
[2026-08-01 14:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107262208001,"power":27593,"unknown_196":206,"unknown_28":32256,"ignition":7,"odometer":null,"unknown_44":-73042726388480000}} 
[2026-08-01 14:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":148589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:38:55] local.INFO: GPS data processed {"connection_id":148589,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:38:55] local.INFO: Acknowledgment sent {"connection_id":148589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:39:00] local.INFO: TCP Data received {"connection_id":146058,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:39:00] local.INFO: Processing buffer {"connection_id":146058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:39:00] local.INFO: IMEI packet received {"connection_id":146058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 14:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":146058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:39:05] local.INFO: TCP Data received {"connection_id":148589,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc9456d0012cfef8c007002ab8001200ce24..."} 
[2026-08-01 14:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc9456d0012cfef8c007002ab8001200ce24..."} 
[2026-08-01 14:39:05] local.INFO: Processing buffer {"connection_id":148589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc9456d0012cfef8c007002ab8001200ce24..."} 
[2026-08-01 14:39:05] local.INFO: Packet analysis {"connection_id":148589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc94"} 
[2026-08-01 14:39:05] local.INFO: Extracted packet for processing {"connection_id":148589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc94"} 
[2026-08-01 14:39:05] local.INFO: GPS Element Parsed {"raw_longitude":754907328,"raw_latitude":117451448,"longitude_deg":75.4907328,"latitude_deg":11.7451448,"altitude":18,"angle":206,"satellites":36,"speed":0,"hex_longitude":"2cfef8c0","hex_latitude":"07002ab8","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107262720001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501611045912576,"note":"Value kept but may cause issues"} 
[2026-08-01 14:39:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73253832621094912,"note":"Value kept but may cause issues"} 
[2026-08-01 14:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785575266000,"timestamp_ms":1785575266000,"timestamp_seconds":1785575266,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc9456d0"} 
[2026-08-01 14:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:39: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-08-01 14: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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-01 14:39:05] 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-08-01 14: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-08-01 14:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107262720001,"66":27984,"196":206,"28":32256,"24":0,"16":366501611045912576,"44":-73253832621094912},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,28,24,16,44]} 
[2026-08-01 14:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107262720001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:39:05] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-01 14:39:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501611045912576,"km_value":366501611045912.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:39:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73253832621094912,"description":"Unknown IO ID 44"} 
[2026-08-01 14:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107262720001,"power":27984,"unknown_196":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-73253832621094912}} 
[2026-08-01 14:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":148589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:39:05] local.INFO: GPS data processed {"connection_id":148589,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:39:05] local.INFO: Acknowledgment sent {"connection_id":148589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:39:05] local.INFO: TCP Data received {"connection_id":146058,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:39:05] local.INFO: Processing buffer {"connection_id":146058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:39:05] local.INFO: IMEI packet received {"connection_id":146058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":146058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:39:06] local.INFO: TCP Data received {"connection_id":146058,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc93ca30012d1820400721a5b0004c008d29..."} 
[2026-08-01 14:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc93ca30012d1820400721a5b0004c008d29..."} 
[2026-08-01 14:39:06] local.INFO: Processing buffer {"connection_id":146058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc93ca30012d1820400721a5b0004c008d29..."} 
[2026-08-01 14:39:06] local.INFO: Packet analysis {"connection_id":146058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc93"} 
[2026-08-01 14:39:06] local.INFO: Extracted packet for processing {"connection_id":146058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc93"} 
[2026-08-01 14:39:06] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119645616,"longitude_deg":75.655584,"latitude_deg":11.9645616,"altitude":76,"angle":141,"satellites":41,"speed":7,"hex_longitude":"2d182040","hex_latitude":"0721a5b0","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107258624001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10247139133227008,"note":"Value kept but may cause issues"} 
[2026-08-01 14:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794323968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785575230000,"timestamp_ms":1785575230000,"timestamp_seconds":1785575230,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc93ca30"} 
[2026-08-01 14:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-01 14:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14: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-08-01 14:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:39:06] 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-08-01 14:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107258624001,"66":14233,"105":206,"83":41984,"24":7,"16":10247139133227008,"45":1738389486794323968},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 14:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107258624001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:39:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 14:39:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10247139133227008,"km_value":10247139133227.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794323968,"description":"Unknown IO ID 45"} 
[2026-08-01 14:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107258624001,"power":14233,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1738389486794323968}} 
[2026-08-01 14:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":146058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577585,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:39:06] local.INFO: GPS data processed {"connection_id":146058,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:39:06] local.INFO: Acknowledgment sent {"connection_id":146058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:39:37] local.INFO: TCP Data received {"connection_id":146058,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc954518012d18d28007212768004400a426..."} 
[2026-08-01 14:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc954518012d18d28007212768004400a426..."} 
[2026-08-01 14:39:37] local.INFO: Processing buffer {"connection_id":146058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc954518012d18d28007212768004400a426..."} 
[2026-08-01 14:39:37] local.INFO: Packet analysis {"connection_id":146058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc95"} 
[2026-08-01 14:39:37] local.INFO: Extracted packet for processing {"connection_id":146058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc95"} 
[2026-08-01 14:39:37] local.INFO: GPS Element Parsed {"raw_longitude":756601472,"raw_latitude":119613288,"longitude_deg":75.6601472,"latitude_deg":11.9613288,"altitude":68,"angle":164,"satellites":38,"speed":33,"hex_longitude":"2d18d280","hex_latitude":"07212768","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107282432001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10250072595890176,"note":"Value kept but may cause issues"} 
[2026-08-01 14:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786310601571987456,"note":"Value kept but may cause issues"} 
[2026-08-01 14:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785575327000,"timestamp_ms":1785575327000,"timestamp_seconds":1785575327,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc954518"} 
[2026-08-01 14:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14: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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-08-01 14:39:37] 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-08-01 14: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-08-01 14:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:39:37] 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-08-01 14:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107282432001,"66":14189,"103":206,"83":41984,"24":33,"16":10250072595890176,"45":1786310601571987456},"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-08-01 14:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107282432001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:39:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 14:39:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10250072595890176,"km_value":10250072595890.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786310601571987456,"description":"Unknown IO ID 45"} 
[2026-08-01 14:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107282432001,"power":14189,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1786310601571987456}} 
[2026-08-01 14:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":146058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:39:37] local.INFO: GPS data processed {"connection_id":146058,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:39:37] local.INFO: Acknowledgment sent {"connection_id":146058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:39:44] local.INFO: TCP Data received {"connection_id":148590,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:39:44] local.INFO: Processing buffer {"connection_id":148590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:39:44] local.INFO: IMEI packet received {"connection_id":148590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":148590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:39:45] local.INFO: TCP Data received {"connection_id":148590,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:39:45] local.INFO: Processing buffer {"connection_id":148590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:39:45] local.INFO: IMEI packet received {"connection_id":148590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":148590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:39:49] local.INFO: TCP Data received {"connection_id":148590,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:39:49] local.INFO: Processing buffer {"connection_id":148590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:39:49] local.INFO: IMEI packet received {"connection_id":148590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":148590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:39:50] local.INFO: TCP Data received {"connection_id":148590,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc9558a0012cff0280070037c0001001652a..."} 
[2026-08-01 14:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc9558a0012cff0280070037c0001001652a..."} 
[2026-08-01 14:39:50] local.INFO: Processing buffer {"connection_id":148590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc9558a0012cff0280070037c0001001652a..."} 
[2026-08-01 14:39:50] local.INFO: Packet analysis {"connection_id":148590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc95"} 
[2026-08-01 14:39:50] local.INFO: Extracted packet for processing {"connection_id":148590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc95"} 
[2026-08-01 14:39:50] local.INFO: GPS Element Parsed {"raw_longitude":754909824,"raw_latitude":117454784,"longitude_deg":75.4909824,"latitude_deg":11.7454784,"altitude":16,"angle":357,"satellites":42,"speed":2,"hex_longitude":"2cff0280","hex_latitude":"070037c0","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107284736001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366501834384211968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:39:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71353876527745024,"note":"Value kept but may cause issues"} 
[2026-08-01 14:39:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785575332000,"timestamp_ms":1785575332000,"timestamp_seconds":1785575332,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc9558a0"} 
[2026-08-01 14:39:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:39:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-01 14:39:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14: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-08-01 14:39:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:39:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107284736001,"66":27995,"33":206,"28":32256,"24":2,"16":366501834384211968,"44":-71353876527745024},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-08-01 14:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107284736001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:39:50] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-01 14:39:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366501834384211968,"km_value":366501834384211.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:39:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71353876527745024,"description":"Unknown IO ID 44"} 
[2026-08-01 14:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107284736001,"power":27995,"unknown_33":206,"unknown_28":32256,"ignition":2,"odometer":null,"unknown_44":-71353876527745024}} 
[2026-08-01 14:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":148590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:39:50] local.INFO: GPS data processed {"connection_id":148590,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:39:50] local.INFO: Acknowledgment sent {"connection_id":148590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:40:00] local.INFO: TCP Data received {"connection_id":147277,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:40:00] local.INFO: Processing buffer {"connection_id":147277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:40:00] local.INFO: IMEI packet received {"connection_id":147277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 14:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":147277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:40:04] local.INFO: TCP Data received {"connection_id":147277,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:40:04] local.INFO: Processing buffer {"connection_id":147277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:40:04] local.INFO: IMEI packet received {"connection_id":147277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":147277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:40:05] local.INFO: TCP Data received {"connection_id":147277,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc954ce8012d18d2c0072120b0004300b627..."} 
[2026-08-01 14:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc954ce8012d18d2c0072120b0004300b627..."} 
[2026-08-01 14:40:05] local.INFO: Processing buffer {"connection_id":147277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc954ce8012d18d2c0072120b0004300b627..."} 
[2026-08-01 14:40:05] local.INFO: Packet analysis {"connection_id":147277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc95"} 
[2026-08-01 14:40:05] local.INFO: Extracted packet for processing {"connection_id":147277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc95"} 
[2026-08-01 14:40:05] local.INFO: GPS Element Parsed {"raw_longitude":756601536,"raw_latitude":119611568,"longitude_deg":75.6601536,"latitude_deg":11.9611568,"altitude":67,"angle":182,"satellites":39,"speed":33,"hex_longitude":"2d18d2c0","hex_latitude":"072120b0","is_valid_coordinates":true} 
[2026-08-01 14:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107283712001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10250154200268800,"note":"Value kept but may cause issues"} 
[2026-08-01 14:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788632770128865280,"note":"Value kept but may cause issues"} 
[2026-08-01 14:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785575329000,"timestamp_ms":1785575329000,"timestamp_seconds":1785575329,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc954ce8"} 
[2026-08-01 14:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:40:05] 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-08-01 14:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-01 14:40:05] 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-08-01 14:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:40:05] 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-08-01 14:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107283712001,"66":14135,"103":206,"83":41984,"24":33,"16":10250154200268800,"45":1788632770128865280},"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-08-01 14:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107283712001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:40:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 14:40:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10250154200268800,"km_value":10250154200268.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788632770128865280,"description":"Unknown IO ID 45"} 
[2026-08-01 14:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107283712001,"power":14135,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1788632770128865280}} 
[2026-08-01 14:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":147277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:40:05] local.INFO: GPS data processed {"connection_id":147277,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:40:05] local.INFO: Acknowledgment sent {"connection_id":147277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:40:21] local.INFO: TCP Data received {"connection_id":148590,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc95f4e0012cfeefc007004d30000b002527..."} 
[2026-08-01 14:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc95f4e0012cfeefc007004d30000b002527..."} 
[2026-08-01 14:40:21] local.INFO: Processing buffer {"connection_id":148590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc95f4e0012cfeefc007004d30000b002527..."} 
[2026-08-01 14:40:21] local.INFO: Packet analysis {"connection_id":148590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc95"} 
[2026-08-01 14:40:21] local.INFO: Extracted packet for processing {"connection_id":148590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc95"} 
[2026-08-01 14:40:21] local.INFO: GPS Element Parsed {"raw_longitude":754905024,"raw_latitude":117460272,"longitude_deg":75.4905024,"latitude_deg":11.7460272,"altitude":11,"angle":37,"satellites":39,"speed":6,"hex_longitude":"2cfeefc0","hex_latitude":"07004d30","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107294976001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366502203751399424,"note":"Value kept but may cause issues"} 
[2026-08-01 14:40:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-76701901083869184,"note":"Value kept but may cause issues"} 
[2026-08-01 14:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785575372000,"timestamp_ms":1785575372000,"timestamp_seconds":1785575372,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc95f4e0"} 
[2026-08-01 14:40:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:40:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-01 14:40:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14: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-08-01 14:40:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:40:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107294976001,"66":27365,"33":206,"28":32256,"24":6,"16":366502203751399424,"44":-76701901083869184},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-08-01 14:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107294976001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:40:21] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-01 14:40:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366502203751399424,"km_value":366502203751399.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:40:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-76701901083869184,"description":"Unknown IO ID 44"} 
[2026-08-01 14:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107294976001,"power":27365,"unknown_33":206,"unknown_28":32256,"ignition":6,"odometer":null,"unknown_44":-76701901083869184}} 
[2026-08-01 14:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":148590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:40:21] local.INFO: GPS data processed {"connection_id":148590,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:40:21] local.INFO: Acknowledgment sent {"connection_id":148590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:40:36] local.INFO: TCP Data received {"connection_id":147277,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc961808012d195a800720ab60002b005627..."} 
[2026-08-01 14:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc961808012d195a800720ab60002b005627..."} 
[2026-08-01 14:40:36] local.INFO: Processing buffer {"connection_id":147277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc961808012d195a800720ab60002b005627..."} 
[2026-08-01 14:40:36] local.INFO: Packet analysis {"connection_id":147277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc96"} 
[2026-08-01 14:40:36] local.INFO: Extracted packet for processing {"connection_id":147277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc96"} 
[2026-08-01 14:40:36] local.INFO: GPS Element Parsed {"raw_longitude":756636288,"raw_latitude":119581536,"longitude_deg":75.6636288,"latitude_deg":11.9581536,"altitude":43,"angle":86,"satellites":39,"speed":40,"hex_longitude":"2d195a80","hex_latitude":"0720ab60","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107297024001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10252550792019968,"note":"Value kept but may cause issues"} 
[2026-08-01 14:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824661567139700736,"note":"Value kept but may cause issues"} 
[2026-08-01 14:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785575381000,"timestamp_ms":1785575381000,"timestamp_seconds":1785575381,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc961808"} 
[2026-08-01 14:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-01 14:40:36] 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-08-01 14: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-08-01 14:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:40:36] 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-08-01 14:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107297024001,"66":13820,"103":206,"83":41984,"24":40,"16":10252550792019968,"45":1824661567139700736},"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-08-01 14:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107297024001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:40:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 14:40:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10252550792019968,"km_value":10252550792019.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824661567139700736,"description":"Unknown IO ID 45"} 
[2026-08-01 14:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107297024001,"power":13820,"unknown_103":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1824661567139700736}} 
[2026-08-01 14:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":147277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:40:36] local.INFO: GPS data processed {"connection_id":147277,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:40:36] local.INFO: Acknowledgment sent {"connection_id":147277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:40:44] local.INFO: TCP Data received {"connection_id":147278,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:40:44] local.INFO: Processing buffer {"connection_id":147278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:40:44] local.INFO: IMEI packet received {"connection_id":147278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":147278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:40:49] local.INFO: TCP Data received {"connection_id":147278,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:40:49] local.INFO: Processing buffer {"connection_id":147278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:40:49] local.INFO: IMEI packet received {"connection_id":147278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":147278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:40:50] local.INFO: TCP Data received {"connection_id":147278,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc95f8c8012cfef04007004da0000b003226..."} 
[2026-08-01 14:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc95f8c8012cfef04007004da0000b003226..."} 
[2026-08-01 14:40:50] local.INFO: Processing buffer {"connection_id":147278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc95f8c8012cfef04007004da0000b003226..."} 
[2026-08-01 14:40:50] local.INFO: Packet analysis {"connection_id":147278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc95"} 
[2026-08-01 14:40:50] local.INFO: Extracted packet for processing {"connection_id":147278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc95"} 
[2026-08-01 14:40:50] local.INFO: GPS Element Parsed {"raw_longitude":754905152,"raw_latitude":117460384,"longitude_deg":75.4905152,"latitude_deg":11.7460384,"altitude":11,"angle":50,"satellites":38,"speed":4,"hex_longitude":"2cfef040","hex_latitude":"07004da0","is_valid_coordinates":true} 
[2026-08-01 14:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107295232001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366502212341334016,"note":"Value kept but may cause issues"} 
[2026-08-01 14:40:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-76631532339646464,"note":"Value kept but may cause issues"} 
[2026-08-01 14:40:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785575373000,"timestamp_ms":1785575373000,"timestamp_seconds":1785575373,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc95f8c8"} 
[2026-08-01 14:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:40:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-01 14:40:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:40:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:40:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107295232001,"66":27800,"33":206,"28":32256,"24":4,"16":366502212341334016,"44":-76631532339646464},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-08-01 14:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107295232001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:40:50] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-01 14:40:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366502212341334016,"km_value":366502212341334.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:40:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-76631532339646464,"description":"Unknown IO ID 44"} 
[2026-08-01 14:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107295232001,"power":27800,"unknown_33":206,"unknown_28":32256,"ignition":4,"odometer":null,"unknown_44":-76631532339646464}} 
[2026-08-01 14:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":147278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:40:50] local.INFO: GPS data processed {"connection_id":147278,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:40:50] local.INFO: Acknowledgment sent {"connection_id":147278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:40:59] local.INFO: TCP Data received {"connection_id":146277,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:40:59] local.INFO: Processing buffer {"connection_id":146277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:40:59] local.INFO: IMEI packet received {"connection_id":146277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 14:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":146277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:41:00] local.INFO: TCP Data received {"connection_id":146277,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:41:00] local.INFO: Processing buffer {"connection_id":146277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:41:00] local.INFO: IMEI packet received {"connection_id":146277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":146277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:41:01] local.INFO: TCP Data received {"connection_id":146277,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:41:01] local.INFO: Processing buffer {"connection_id":146277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:41:01] local.INFO: IMEI packet received {"connection_id":146277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":146277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:41:05] local.INFO: TCP Data received {"connection_id":146277,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:41:05] local.INFO: Processing buffer {"connection_id":146277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:41:05] local.INFO: IMEI packet received {"connection_id":146277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":146277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:41:06] local.INFO: TCP Data received {"connection_id":146277,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc96ac78012d19ae4007209120002b00c925..."} 
[2026-08-01 14:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc96ac78012d19ae4007209120002b00c925..."} 
[2026-08-01 14:41:06] local.INFO: Processing buffer {"connection_id":146277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc96ac78012d19ae4007209120002b00c925..."} 
[2026-08-01 14:41:06] local.INFO: Packet analysis {"connection_id":146277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc96"} 
[2026-08-01 14:41:06] local.INFO: Extracted packet for processing {"connection_id":146277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc96"} 
[2026-08-01 14:41:06] local.INFO: GPS Element Parsed {"raw_longitude":756657728,"raw_latitude":119574816,"longitude_deg":75.6657728,"latitude_deg":11.9574816,"altitude":43,"angle":201,"satellites":37,"speed":33,"hex_longitude":"2d19ae40","hex_latitude":"07209120","is_valid_coordinates":true} 
[2026-08-01 14:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107306752001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10254135634952192,"note":"Value kept but may cause issues"} 
[2026-08-01 14:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851472058670053376,"note":"Value kept but may cause issues"} 
[2026-08-01 14:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785575419000,"timestamp_ms":1785575419000,"timestamp_seconds":1785575419,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc96ac78"} 
[2026-08-01 14:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-01 14:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:41:06] 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-08-01 14:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107306752001,"66":14461,"103":206,"83":41984,"24":33,"16":10254135634952192,"45":1851472058670053376},"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-08-01 14:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107306752001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:41:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 14:41:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10254135634952192,"km_value":10254135634952.191,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851472058670053376,"description":"Unknown IO ID 45"} 
[2026-08-01 14:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107306752001,"power":14461,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1851472058670053376}} 
[2026-08-01 14:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":146277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577592,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:41:06] local.INFO: GPS data processed {"connection_id":146277,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:41:06] local.INFO: Acknowledgment sent {"connection_id":146277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:41:22] local.INFO: TCP Data received {"connection_id":147278,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc960098012cfef08007004df8000a003d25..."} 
[2026-08-01 14:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc960098012cfef08007004df8000a003d25..."} 
[2026-08-01 14:41:22] local.INFO: Processing buffer {"connection_id":147278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc960098012cfef08007004df8000a003d25..."} 
[2026-08-01 14:41:22] local.INFO: Packet analysis {"connection_id":147278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc96"} 
[2026-08-01 14:41:22] local.INFO: Extracted packet for processing {"connection_id":147278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc96"} 
[2026-08-01 14:41:22] local.INFO: GPS Element Parsed {"raw_longitude":754905216,"raw_latitude":117460472,"longitude_deg":75.4905216,"latitude_deg":11.7460472,"altitude":10,"angle":61,"satellites":37,"speed":0,"hex_longitude":"2cfef080","hex_latitude":"07004df8","is_valid_coordinates":true} 
[2026-08-01 14:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107295488001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366502216636301312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:41:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-76490794851262464,"note":"Value kept but may cause issues"} 
[2026-08-01 14:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785575375000,"timestamp_ms":1785575375000,"timestamp_seconds":1785575375,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc960098"} 
[2026-08-01 14:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:41:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 14:41: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-08-01 14:41:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107295488001,"66":27550,"33":206,"28":32256,"24":0,"16":366502216636301312,"44":-76490794851262464},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-08-01 14:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107295488001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:41:22] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-01 14:41:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366502216636301312,"km_value":366502216636301.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:41:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-76490794851262464,"description":"Unknown IO ID 44"} 
[2026-08-01 14:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107295488001,"power":27550,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-76490794851262464}} 
[2026-08-01 14:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":147278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:41:22] local.INFO: GPS data processed {"connection_id":147278,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:41:22] local.INFO: Acknowledgment sent {"connection_id":147278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:41:37] local.INFO: TCP Data received {"connection_id":146277,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc96b448012d19ad4007208a10002a00b626..."} 
[2026-08-01 14:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc96b448012d19ad4007208a10002a00b626..."} 
[2026-08-01 14:41:37] local.INFO: Processing buffer {"connection_id":146277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc96b448012d19ad4007208a10002a00b626..."} 
[2026-08-01 14:41:37] local.INFO: Packet analysis {"connection_id":146277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc96"} 
[2026-08-01 14:41:37] local.INFO: Extracted packet for processing {"connection_id":146277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc96"} 
[2026-08-01 14:41:37] local.INFO: GPS Element Parsed {"raw_longitude":756657472,"raw_latitude":119573008,"longitude_deg":75.6657472,"latitude_deg":11.9573008,"altitude":42,"angle":182,"satellites":38,"speed":36,"hex_longitude":"2d19ad40","hex_latitude":"07208a10","is_valid_coordinates":true} 
[2026-08-01 14:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107307264001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10254225829265408,"note":"Value kept but may cause issues"} 
[2026-08-01 14:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850486896251183104,"note":"Value kept but may cause issues"} 
[2026-08-01 14:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785575421000,"timestamp_ms":1785575421000,"timestamp_seconds":1785575421,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc96b448"} 
[2026-08-01 14:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-01 14:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:41:37] 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-08-01 14:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107307264001,"66":14374,"103":206,"83":41984,"24":36,"16":10254225829265408,"45":1850486896251183104},"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-08-01 14:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107307264001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:41:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 14:41:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10254225829265408,"km_value":10254225829265.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850486896251183104,"description":"Unknown IO ID 45"} 
[2026-08-01 14:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107307264001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1850486896251183104}} 
[2026-08-01 14:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":146277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:41:38] local.INFO: GPS data processed {"connection_id":146277,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:41:38] local.INFO: Acknowledgment sent {"connection_id":146277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:41:49] local.INFO: TCP Data received {"connection_id":146278,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:41:49] local.INFO: Processing buffer {"connection_id":146278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:41:49] local.INFO: IMEI packet received {"connection_id":146278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":146278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:41:54] local.INFO: TCP Data received {"connection_id":146278,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:41:54] local.INFO: Processing buffer {"connection_id":146278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:41:54] local.INFO: IMEI packet received {"connection_id":146278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":146278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:41:55] local.INFO: TCP Data received {"connection_id":146278,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc962b90012cfef28007004f98000a002a28..."} 
[2026-08-01 14:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc962b90012cfef28007004f98000a002a28..."} 
[2026-08-01 14:41:55] local.INFO: Processing buffer {"connection_id":146278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc962b90012cfef28007004f98000a002a28..."} 
[2026-08-01 14:41:55] local.INFO: Packet analysis {"connection_id":146278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc96"} 
[2026-08-01 14:41:55] local.INFO: Extracted packet for processing {"connection_id":146278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc96"} 
[2026-08-01 14:41:55] local.INFO: GPS Element Parsed {"raw_longitude":754905728,"raw_latitude":117460888,"longitude_deg":75.4905728,"latitude_deg":11.7460888,"altitude":10,"angle":42,"satellites":40,"speed":4,"hex_longitude":"2cfef280","hex_latitude":"07004f98","is_valid_coordinates":true} 
[2026-08-01 14:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107296000001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366502250996039680,"note":"Value kept but may cause issues"} 
[2026-08-01 14:41:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-76420426107062272,"note":"Value kept but may cause issues"} 
[2026-08-01 14:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785575386000,"timestamp_ms":1785575386000,"timestamp_seconds":1785575386,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc962b90"} 
[2026-08-01 14:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-08-01 14:41:55] 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-08-01 14:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":146278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":146278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":146278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107296000001,"66":27887,"33":206,"28":32256,"24":4,"16":366502250996039680,"44":-76420426107062272},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-08-01 14:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107296000001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:41:55] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-01 14:41:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366502250996039680,"km_value":366502250996039.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:41:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-76420426107062272,"description":"Unknown IO ID 44"} 
[2026-08-01 14:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107296000001,"power":27887,"unknown_33":206,"unknown_28":32256,"ignition":4,"odometer":null,"unknown_44":-76420426107062272}} 
[2026-08-01 14:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":146278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:41:55] local.INFO: GPS data processed {"connection_id":146278,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:41:55] local.INFO: Acknowledgment sent {"connection_id":146278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:42:00] local.INFO: TCP Data received {"connection_id":146278,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc964ad0012cfef8c007005648000c003929..."} 
[2026-08-01 14:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc964ad0012cfef8c007005648000c003929..."} 
[2026-08-01 14:42:00] local.INFO: Processing buffer {"connection_id":146278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc964ad0012cfef8c007005648000c003929..."} 
[2026-08-01 14:42:00] local.INFO: Packet analysis {"connection_id":146278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc96"} 
[2026-08-01 14:42:00] local.INFO: Extracted packet for processing {"connection_id":146278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc96"} 
[2026-08-01 14:42:00] local.INFO: GPS Element Parsed {"raw_longitude":754907328,"raw_latitude":117462600,"longitude_deg":75.4907328,"latitude_deg":11.74626,"altitude":12,"angle":57,"satellites":41,"speed":9,"hex_longitude":"2cfef8c0","hex_latitude":"07005648","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107298816001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366502362665189376,"note":"Value kept but may cause issues"} 
[2026-08-01 14:42:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-75857476153534464,"note":"Value kept but may cause issues"} 
[2026-08-01 14:42:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785575394000,"timestamp_ms":1785575394000,"timestamp_seconds":1785575394,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc964ad0"} 
[2026-08-01 14:42:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:42: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-08-01 14: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":239,"data_length":795,"current_offset":136} 
[2026-08-01 14:42:00] 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-08-01 14: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-08-01 14:42:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":146278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":146278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":146278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:42:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107298816001,"66":27908,"33":206,"28":32256,"24":9,"16":366502362665189376,"44":-75857476153534464},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-08-01 14:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107298816001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:42:00] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-01 14:42:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366502362665189376,"km_value":366502362665189.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:42:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-75857476153534464,"description":"Unknown IO ID 44"} 
[2026-08-01 14:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107298816001,"power":27908,"unknown_33":206,"unknown_28":32256,"ignition":9,"odometer":null,"unknown_44":-75857476153534464}} 
[2026-08-01 14:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":146278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:42:00] local.INFO: GPS data processed {"connection_id":146278,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:42:00] local.INFO: Acknowledgment sent {"connection_id":146278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:42:00] local.INFO: TCP Data received {"connection_id":148591,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:42:00] local.INFO: Processing buffer {"connection_id":148591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:42:00] local.INFO: IMEI packet received {"connection_id":148591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 14:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":148591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:42:05] local.INFO: TCP Data received {"connection_id":148591,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:42:05] local.INFO: Processing buffer {"connection_id":148591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:42:05] local.INFO: IMEI packet received {"connection_id":148591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":148591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:42:06] local.INFO: TCP Data received {"connection_id":148591,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc96bc18012d19af0007208200002800a725..."} 
[2026-08-01 14:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc96bc18012d19af0007208200002800a725..."} 
[2026-08-01 14:42:06] local.INFO: Processing buffer {"connection_id":148591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc96bc18012d19af0007208200002800a725..."} 
[2026-08-01 14:42:06] local.INFO: Packet analysis {"connection_id":148591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc96"} 
[2026-08-01 14:42:06] local.INFO: Extracted packet for processing {"connection_id":148591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc96"} 
[2026-08-01 14:42:06] local.INFO: GPS Element Parsed {"raw_longitude":756657920,"raw_latitude":119570944,"longitude_deg":75.665792,"latitude_deg":11.9570944,"altitude":40,"angle":167,"satellites":37,"speed":42,"hex_longitude":"2d19af00","hex_latitude":"07208200","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107307776001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10254328908480512,"note":"Value kept but may cause issues"} 
[2026-08-01 14:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850205421274009600,"note":"Value kept but may cause issues"} 
[2026-08-01 14:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785575423000,"timestamp_ms":1785575423000,"timestamp_seconds":1785575423,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc96bc18"} 
[2026-08-01 14:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-01 14:42:06] 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-08-01 14: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-08-01 14:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:42:06] 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-08-01 14:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107307776001,"66":14374,"103":206,"83":41984,"24":42,"16":10254328908480512,"45":1850205421274009600},"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-08-01 14:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107307776001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:42:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 14:42:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10254328908480512,"km_value":10254328908480.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850205421274009600,"description":"Unknown IO ID 45"} 
[2026-08-01 14:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107307776001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1850205421274009600}} 
[2026-08-01 14:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":148591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577597,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:42:06] local.INFO: GPS data processed {"connection_id":148591,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:42:06] local.INFO: Acknowledgment sent {"connection_id":148591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:42:37] local.INFO: TCP Data received {"connection_id":148591,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc97f498012d1a74c0071fd2d80031008725..."} 
[2026-08-01 14:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc97f498012d1a74c0071fd2d80031008725..."} 
[2026-08-01 14:42:37] local.INFO: Processing buffer {"connection_id":148591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc97f498012d1a74c0071fd2d80031008725..."} 
[2026-08-01 14:42:37] local.INFO: Packet analysis {"connection_id":148591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc97"} 
[2026-08-01 14:42:37] local.INFO: Extracted packet for processing {"connection_id":148591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc97"} 
[2026-08-01 14:42:37] local.INFO: GPS Element Parsed {"raw_longitude":756708544,"raw_latitude":119526104,"longitude_deg":75.6708544,"latitude_deg":11.9526104,"altitude":49,"angle":135,"satellites":37,"speed":38,"hex_longitude":"2d1a74c0","hex_latitude":"071fd2d8","is_valid_coordinates":true} 
[2026-08-01 14:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107328256001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10257988220616704,"note":"Value kept but may cause issues"} 
[2026-08-01 14:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904811566744197120,"note":"Value kept but may cause issues"} 
[2026-08-01 14:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785575503000,"timestamp_ms":1785575503000,"timestamp_seconds":1785575503,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc97f498"} 
[2026-08-01 14:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-01 14:42:37] 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-08-01 14:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:42:37] 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-08-01 14:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107328256001,"66":14135,"101":206,"83":41984,"24":38,"16":10257988220616704,"45":1904811566744197120},"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-08-01 14:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107328256001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:42:37] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-01 14:42:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10257988220616704,"km_value":10257988220616.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904811566744197120,"description":"Unknown IO ID 45"} 
[2026-08-01 14:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107328256001,"power":14135,"unknown_101":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1904811566744197120}} 
[2026-08-01 14:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":148591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:42:37] local.INFO: GPS data processed {"connection_id":148591,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:42:37] local.INFO: Acknowledgment sent {"connection_id":148591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:42:44] local.INFO: TCP Data received {"connection_id":147279,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:42:44] local.INFO: Processing buffer {"connection_id":147279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:42:44] local.INFO: IMEI packet received {"connection_id":147279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":147279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:42:45] local.INFO: TCP Data received {"connection_id":147279,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:42:45] local.INFO: Processing buffer {"connection_id":147279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:42:45] local.INFO: IMEI packet received {"connection_id":147279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":147279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:42:49] local.INFO: TCP Data received {"connection_id":147279,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:42:49] local.INFO: Processing buffer {"connection_id":147279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:42:49] local.INFO: IMEI packet received {"connection_id":147279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":147279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:42:50] local.INFO: TCP Data received {"connection_id":147279,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc97e8e0012cfea68007008d10000d012022..."} 
[2026-08-01 14:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc97e8e0012cfea68007008d10000d012022..."} 
[2026-08-01 14:42:50] local.INFO: Processing buffer {"connection_id":147279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc97e8e0012cfea68007008d10000d012022..."} 
[2026-08-01 14:42:50] local.INFO: Packet analysis {"connection_id":147279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc97"} 
[2026-08-01 14:42:50] local.INFO: Extracted packet for processing {"connection_id":147279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc97"} 
[2026-08-01 14:42:50] local.INFO: GPS Element Parsed {"raw_longitude":754886272,"raw_latitude":117476624,"longitude_deg":75.4886272,"latitude_deg":11.7476624,"altitude":13,"angle":288,"satellites":34,"speed":26,"hex_longitude":"2cfea680","hex_latitude":"07008d10","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107323392001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366503702694985728,"note":"Value kept but may cause issues"} 
[2026-08-01 14:42:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-87749793916377088,"note":"Value kept but may cause issues"} 
[2026-08-01 14:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785575500000,"timestamp_ms":1785575500000,"timestamp_seconds":1785575500,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc97e8e0"} 
[2026-08-01 14:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 14:42:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14: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-08-01 14:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107323392001,"66":27930,"33":206,"28":32256,"24":26,"16":366503702694985728,"44":-87749793916377088},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-08-01 14:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107323392001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:42:50] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-01 14:42:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366503702694985728,"km_value":366503702694985.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:42:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-87749793916377088,"description":"Unknown IO ID 44"} 
[2026-08-01 14:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107323392001,"power":27930,"unknown_33":206,"unknown_28":32256,"ignition":26,"odometer":null,"unknown_44":-87749793916377088}} 
[2026-08-01 14:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":147279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:42:50] local.INFO: GPS data processed {"connection_id":147279,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:42:50] local.INFO: Acknowledgment sent {"connection_id":147279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:42:52] local.INFO: TCP Data received {"connection_id":147279,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc982378012cfe8c8007009778000e012b2a..."} 
[2026-08-01 14:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc982378012cfe8c8007009778000e012b2a..."} 
[2026-08-01 14:42:52] local.INFO: Processing buffer {"connection_id":147279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc982378012cfe8c8007009778000e012b2a..."} 
[2026-08-01 14:42:52] local.INFO: Packet analysis {"connection_id":147279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc98"} 
[2026-08-01 14:42:52] local.INFO: Extracted packet for processing {"connection_id":147279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc98"} 
[2026-08-01 14:42:52] local.INFO: GPS Element Parsed {"raw_longitude":754879616,"raw_latitude":117479288,"longitude_deg":75.4879616,"latitude_deg":11.7479288,"altitude":14,"angle":299,"satellites":42,"speed":13,"hex_longitude":"2cfe8c80","hex_latitude":"07009778","is_valid_coordinates":true} 
[2026-08-01 14:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107328000001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366504046292369408,"note":"Value kept but may cause issues"} 
[2026-08-01 14:42:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-97249574379515904,"note":"Value kept but may cause issues"} 
[2026-08-01 14:42:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785575515000,"timestamp_ms":1785575515000,"timestamp_seconds":1785575515,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc982378"} 
[2026-08-01 14:42:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:42: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-08-01 14:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-01 14:42:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:42:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:42:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":147279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":147279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":147279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:42:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107328000001,"66":27930,"31":206,"28":32256,"24":13,"16":366504046292369408,"44":-97249574379515904},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,28,24,16,44]} 
[2026-08-01 14:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107328000001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:42:52] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-01 14:42:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:42:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366504046292369408,"km_value":366504046292369.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:42:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-97249574379515904,"description":"Unknown IO ID 44"} 
[2026-08-01 14:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107328000001,"power":27930,"unknown_31":206,"unknown_28":32256,"ignition":13,"odometer":null,"unknown_44":-97249574379515904}} 
[2026-08-01 14:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":147279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:42:52] local.INFO: GPS data processed {"connection_id":147279,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:42:52] local.INFO: Acknowledgment sent {"connection_id":147279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:43:00] local.INFO: TCP Data received {"connection_id":146279,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146279,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:43:00] local.INFO: Processing buffer {"connection_id":146279,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:43:00] local.INFO: IMEI packet received {"connection_id":146279,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 14:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":146279,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:43:05] local.INFO: TCP Data received {"connection_id":146279,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146279,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:43:05] local.INFO: Processing buffer {"connection_id":146279,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:43:05] local.INFO: IMEI packet received {"connection_id":146279,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":146279,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:43:06] local.INFO: TCP Data received {"connection_id":146279,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc97fc68012d1a7980071fcc880032009524..."} 
[2026-08-01 14:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc97fc68012d1a7980071fcc880032009524..."} 
[2026-08-01 14:43:06] local.INFO: Processing buffer {"connection_id":146279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc97fc68012d1a7980071fcc880032009524..."} 
[2026-08-01 14:43:06] local.INFO: Packet analysis {"connection_id":146279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc97"} 
[2026-08-01 14:43:06] local.INFO: Extracted packet for processing {"connection_id":146279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc97"} 
[2026-08-01 14:43:06] local.INFO: GPS Element Parsed {"raw_longitude":756709760,"raw_latitude":119524488,"longitude_deg":75.670976,"latitude_deg":11.9524488,"altitude":50,"angle":149,"satellites":36,"speed":40,"hex_longitude":"2d1a7980","hex_latitude":"071fcc88","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107328768001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10258082709897216,"note":"Value kept but may cause issues"} 
[2026-08-01 14:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906359679115778048,"note":"Value kept but may cause issues"} 
[2026-08-01 14:43: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-08-01 14:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785575505000,"timestamp_ms":1785575505000,"timestamp_seconds":1785575505,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc97fc68"} 
[2026-08-01 14:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-01 14:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14: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-08-01 14:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:43:06] 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-08-01 14:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107328768001,"66":14374,"101":206,"83":41984,"24":40,"16":10258082709897216,"45":1906359679115778048},"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-08-01 14:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107328768001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:43:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-01 14:43:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10258082709897216,"km_value":10258082709897.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906359679115778048,"description":"Unknown IO ID 45"} 
[2026-08-01 14:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107328768001,"power":14374,"unknown_101":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1906359679115778048}} 
[2026-08-01 14:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":146279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577601,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:43:06] local.INFO: GPS data processed {"connection_id":146279,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:43:06] local.INFO: Acknowledgment sent {"connection_id":146279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:43:24] local.INFO: TCP Data received {"connection_id":147279,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc984e70012cfe77800700a680000b013629..."} 
[2026-08-01 14:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc984e70012cfe77800700a680000b013629..."} 
[2026-08-01 14:43:24] local.INFO: Processing buffer {"connection_id":147279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc984e70012cfe77800700a680000b013629..."} 
[2026-08-01 14:43:24] local.INFO: Packet analysis {"connection_id":147279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc98"} 
[2026-08-01 14:43:24] local.INFO: Extracted packet for processing {"connection_id":147279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc98"} 
[2026-08-01 14:43:24] local.INFO: GPS Element Parsed {"raw_longitude":754874240,"raw_latitude":117483136,"longitude_deg":75.487424,"latitude_deg":11.7483136,"altitude":11,"angle":310,"satellites":41,"speed":30,"hex_longitude":"2cfe7780","hex_latitude":"0700a680","is_valid_coordinates":true} 
[2026-08-01 14:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:43:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107331840001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:43:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366504359824982016,"note":"Value kept but may cause issues"} 
[2026-08-01 14:43:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-104567923773310976,"note":"Value kept but may cause issues"} 
[2026-08-01 14:43:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:43:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785575526000,"timestamp_ms":1785575526000,"timestamp_seconds":1785575526,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc984e70"} 
[2026-08-01 14:43:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:43: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-08-01 14:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-01 14:43:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:43:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:43:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:43:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:43:24] local.INFO: Teltonika packet parsed successfully {"connection_id":147279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:43:24] local.INFO: Passing IMEI to GPS processor {"connection_id":147279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:43:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":147279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:43:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:43:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:43:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:43:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107331840001,"66":27865,"31":206,"28":32256,"24":30,"16":366504359824982016,"44":-104567923773310976},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,28,24,16,44]} 
[2026-08-01 14:43:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:43:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:43:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107331840001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:43:24] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-01 14:43:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:43:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366504359824982016,"km_value":366504359824982.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:43:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-104567923773310976,"description":"Unknown IO ID 44"} 
[2026-08-01 14:43:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107331840001,"power":27865,"unknown_31":206,"unknown_28":32256,"ignition":30,"odometer":null,"unknown_44":-104567923773310976}} 
[2026-08-01 14:43:24] local.INFO: DEBUG: GPS processor result {"connection_id":147279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:43:24] local.INFO: GPS data processed {"connection_id":147279,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:43:24] local.INFO: Acknowledgment sent {"connection_id":147279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:43:37] local.INFO: TCP Data received {"connection_id":146279,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc98def8012d1ac300071fc138003c001526..."} 
[2026-08-01 14:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc98def8012d1ac300071fc138003c001526..."} 
[2026-08-01 14:43:37] local.INFO: Processing buffer {"connection_id":146279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc98def8012d1ac300071fc138003c001526..."} 
[2026-08-01 14:43:37] local.INFO: Packet analysis {"connection_id":146279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc98"} 
[2026-08-01 14:43:37] local.INFO: Extracted packet for processing {"connection_id":146279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc98"} 
[2026-08-01 14:43:37] local.INFO: GPS Element Parsed {"raw_longitude":756728576,"raw_latitude":119521592,"longitude_deg":75.6728576,"latitude_deg":11.9521592,"altitude":60,"angle":21,"satellites":38,"speed":13,"hex_longitude":"2d1ac300","hex_latitude":"071fc138","is_valid_coordinates":true} 
[2026-08-01 14:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107342592001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10259680437731328,"note":"Value kept but may cause issues"} 
[2026-08-01 14:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927892514832506880,"note":"Value kept but may cause issues"} 
[2026-08-01 14:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785575563000,"timestamp_ms":1785575563000,"timestamp_seconds":1785575563,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc98def8"} 
[2026-08-01 14:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-08-01 14:43:37] 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-08-01 14:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:43:37] 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-08-01 14:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107342592001,"66":13972,"101":206,"83":41984,"24":13,"16":10259680437731328,"45":1927892514832506880},"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-08-01 14:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107342592001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:43:37] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-01 14:43:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10259680437731328,"km_value":10259680437731.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927892514832506880,"description":"Unknown IO ID 45"} 
[2026-08-01 14:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107342592001,"power":13972,"unknown_101":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1927892514832506880}} 
[2026-08-01 14:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":146279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577603,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:43:37] local.INFO: GPS data processed {"connection_id":146279,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:43:37] local.INFO: Acknowledgment sent {"connection_id":146279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:43:45] local.INFO: TCP Data received {"connection_id":146059,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:43:45] local.INFO: Processing buffer {"connection_id":146059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:43:45] local.INFO: IMEI packet received {"connection_id":146059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":146059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:43:49] local.INFO: TCP Data received {"connection_id":146059,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:43:49] local.INFO: Processing buffer {"connection_id":146059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:43:49] local.INFO: IMEI packet received {"connection_id":146059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":146059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:43:50] local.INFO: TCP Data received {"connection_id":146059,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc986db0012cfe67000700b700000a014626..."} 
[2026-08-01 14:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc986db0012cfe67000700b700000a014626..."} 
[2026-08-01 14:43:50] local.INFO: Processing buffer {"connection_id":146059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc986db0012cfe67000700b700000a014626..."} 
[2026-08-01 14:43:50] local.INFO: Packet analysis {"connection_id":146059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc98"} 
[2026-08-01 14:43:50] local.INFO: Extracted packet for processing {"connection_id":146059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc98"} 
[2026-08-01 14:43:50] local.INFO: GPS Element Parsed {"raw_longitude":754870016,"raw_latitude":117487360,"longitude_deg":75.4870016,"latitude_deg":11.748736,"altitude":10,"angle":326,"satellites":38,"speed":25,"hex_longitude":"2cfe6700","hex_latitude":"0700b700","is_valid_coordinates":true} 
[2026-08-01 14:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107334656001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366504651882758144,"note":"Value kept but may cause issues"} 
[2026-08-01 14:43:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-110478898283249664,"note":"Value kept but may cause issues"} 
[2026-08-01 14:43:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785575534000,"timestamp_ms":1785575534000,"timestamp_seconds":1785575534,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc986db0"} 
[2026-08-01 14:43:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:43:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 14:43:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:43:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:43:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:43:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107334656001,"66":27930,"31":206,"28":32256,"24":25,"16":366504651882758144,"44":-110478898283249664},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,28,24,16,44]} 
[2026-08-01 14:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107334656001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:43:50] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-01 14:43:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366504651882758144,"km_value":366504651882758.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:43:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-110478898283249664,"description":"Unknown IO ID 44"} 
[2026-08-01 14:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107334656001,"power":27930,"unknown_31":206,"unknown_28":32256,"ignition":25,"odometer":null,"unknown_44":-110478898283249664}} 
[2026-08-01 14:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":146059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:43:50] local.INFO: GPS data processed {"connection_id":146059,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:43:50] local.INFO: Acknowledgment sent {"connection_id":146059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:44:05] local.INFO: TCP Data received {"connection_id":148592,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:44:05] local.INFO: Processing buffer {"connection_id":148592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:44:05] local.INFO: IMEI packet received {"connection_id":148592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 14:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":148592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:44:10] local.INFO: TCP Data received {"connection_id":148592,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:44:10] local.INFO: Processing buffer {"connection_id":148592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:44:10] local.INFO: IMEI packet received {"connection_id":148592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":148592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:44:11] local.INFO: TCP Data received {"connection_id":148592,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc98f280012d1ac440071fc780003c000925..."} 
[2026-08-01 14:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc98f280012d1ac440071fc780003c000925..."} 
[2026-08-01 14:44:11] local.INFO: Processing buffer {"connection_id":148592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc98f280012d1ac440071fc780003c000925..."} 
[2026-08-01 14:44:11] local.INFO: Packet analysis {"connection_id":148592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc98"} 
[2026-08-01 14:44:11] local.INFO: Extracted packet for processing {"connection_id":148592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc98"} 
[2026-08-01 14:44:11] local.INFO: GPS Element Parsed {"raw_longitude":756728896,"raw_latitude":119523200,"longitude_deg":75.6728896,"latitude_deg":11.95232,"altitude":60,"angle":9,"satellites":37,"speed":11,"hex_longitude":"2d1ac440","hex_latitude":"071fc780","is_valid_coordinates":true} 
[2026-08-01 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-08-01 14:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107344128001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10259757747142656,"note":"Value kept but may cause issues"} 
[2026-08-01 14:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928385096042231808,"note":"Value kept but may cause issues"} 
[2026-08-01 14:44: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-08-01 14:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785575568000,"timestamp_ms":1785575568000,"timestamp_seconds":1785575568,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc98f280"} 
[2026-08-01 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-08-01 14:44: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-08-01 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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-01 14:44:11] 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-08-01 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-08-01 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-08-01 14:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":148592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":148592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":148592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14: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-08-01 14:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107344128001,"66":14004,"101":206,"83":41984,"24":11,"16":10259757747142656,"45":1928385096042231808},"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-08-01 14:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107344128001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:44:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-01 14:44:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10259757747142656,"km_value":10259757747142.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928385096042231808,"description":"Unknown IO ID 45"} 
[2026-08-01 14:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107344128001,"power":14004,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1928385096042231808}} 
[2026-08-01 14:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":148592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:44:11] local.INFO: GPS data processed {"connection_id":148592,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:44:11] local.INFO: Acknowledgment sent {"connection_id":148592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:44:22] local.INFO: TCP Data received {"connection_id":146059,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc997f20012cfe588007011340000e01642a..."} 
[2026-08-01 14:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc997f20012cfe588007011340000e01642a..."} 
[2026-08-01 14:44:22] local.INFO: Processing buffer {"connection_id":146059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc997f20012cfe588007011340000e01642a..."} 
[2026-08-01 14:44:22] local.INFO: Packet analysis {"connection_id":146059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc99"} 
[2026-08-01 14:44:22] local.INFO: Extracted packet for processing {"connection_id":146059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc99"} 
[2026-08-01 14:44:22] local.INFO: GPS Element Parsed {"raw_longitude":754866304,"raw_latitude":117510976,"longitude_deg":75.4866304,"latitude_deg":11.7510976,"altitude":14,"angle":356,"satellites":42,"speed":5,"hex_longitude":"2cfe5880","hex_latitude":"07011340","is_valid_coordinates":true} 
[2026-08-01 14:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107351296001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366506004797456384,"note":"Value kept but may cause issues"} 
[2026-08-01 14:44:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-119626835019700224,"note":"Value kept but may cause issues"} 
[2026-08-01 14:44:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785575604000,"timestamp_ms":1785575604000,"timestamp_seconds":1785575604,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc997f20"} 
[2026-08-01 14:44:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:44:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-01 14:44:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:44:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:44:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:44:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107351296001,"66":27995,"34":206,"28":32256,"24":5,"16":366506004797456384,"44":-119626835019700224},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,28,24,16,44]} 
[2026-08-01 14:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107351296001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:44:22] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-01 14:44:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366506004797456384,"km_value":366506004797456.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:44:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-119626835019700224,"description":"Unknown IO ID 44"} 
[2026-08-01 14:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107351296001,"power":27995,"unknown_34":206,"unknown_28":32256,"ignition":5,"odometer":null,"unknown_44":-119626835019700224}} 
[2026-08-01 14:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":146059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:44:22] local.INFO: GPS data processed {"connection_id":146059,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:44:22] local.INFO: Acknowledgment sent {"connection_id":146059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:44:44] local.INFO: TCP Data received {"connection_id":148592,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc991990012d1ac480071fd3b0003e016424..."} 
[2026-08-01 14:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc991990012d1ac480071fd3b0003e016424..."} 
[2026-08-01 14:44:44] local.INFO: Processing buffer {"connection_id":148592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc991990012d1ac480071fd3b0003e016424..."} 
[2026-08-01 14:44:44] local.INFO: Packet analysis {"connection_id":148592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc99"} 
[2026-08-01 14:44:44] local.INFO: Extracted packet for processing {"connection_id":148592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc99"} 
[2026-08-01 14:44:44] local.INFO: GPS Element Parsed {"raw_longitude":756728960,"raw_latitude":119526320,"longitude_deg":75.672896,"latitude_deg":11.952632,"altitude":62,"angle":356,"satellites":36,"speed":9,"hex_longitude":"2d1ac480","hex_latitude":"071fd3b0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 14:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107345408001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10259912365965312,"note":"Value kept but may cause issues"} 
[2026-08-01 14:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928736939763531776,"note":"Value kept but may cause issues"} 
[2026-08-01 14:44: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-08-01 14:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785575578000,"timestamp_ms":1785575578000,"timestamp_seconds":1785575578,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc991990"} 
[2026-08-01 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-08-01 14:44:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":180,"data_length":795,"current_offset":136} 
[2026-08-01 14:44:44] 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-08-01 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-08-01 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-08-01 14:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":148592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":148592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":148592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:44:44] 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-08-01 14:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107345408001,"66":14113,"101":206,"83":41984,"24":9,"16":10259912365965312,"45":1928736939763531776},"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-08-01 14:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107345408001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:44:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-01 14:44:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10259912365965312,"km_value":10259912365965.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:44:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928736939763531776,"description":"Unknown IO ID 45"} 
[2026-08-01 14:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107345408001,"power":14113,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1928736939763531776}} 
[2026-08-01 14:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":148592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:44:44] local.INFO: GPS data processed {"connection_id":148592,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:44:44] local.INFO: Acknowledgment sent {"connection_id":148592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:44:49] local.INFO: TCP Data received {"connection_id":147280,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:44:49] local.INFO: Processing buffer {"connection_id":147280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:44:49] local.INFO: IMEI packet received {"connection_id":147280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":147280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:44:57] local.INFO: TCP Data received {"connection_id":148593,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:44:57] local.INFO: Processing buffer {"connection_id":148593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:44:57] local.INFO: IMEI packet received {"connection_id":148593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 14:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":148593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:44:58] local.INFO: TCP Data received {"connection_id":147280,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:44:58] local.INFO: Processing buffer {"connection_id":147280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:44:58] local.INFO: IMEI packet received {"connection_id":147280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":147280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:44:59] local.INFO: TCP Data received {"connection_id":148593,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:44:59] local.INFO: Processing buffer {"connection_id":148593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:44:59] local.INFO: IMEI packet received {"connection_id":148593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":148593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:45:00] local.INFO: TCP Data received {"connection_id":148593,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:45:00] local.INFO: Processing buffer {"connection_id":148593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:45:00] local.INFO: IMEI packet received {"connection_id":148593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":148593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:45:00] local.INFO: TCP Data received {"connection_id":147280,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc999690012cfe5800070116e0000d01532a..."} 
[2026-08-01 14:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc999690012cfe5800070116e0000d01532a..."} 
[2026-08-01 14:45:00] local.INFO: Processing buffer {"connection_id":147280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc999690012cfe5800070116e0000d01532a..."} 
[2026-08-01 14:45:00] local.INFO: Packet analysis {"connection_id":147280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc99"} 
[2026-08-01 14:45:00] local.INFO: Extracted packet for processing {"connection_id":147280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc99"} 
[2026-08-01 14:45:00] local.INFO: GPS Element Parsed {"raw_longitude":754866176,"raw_latitude":117511904,"longitude_deg":75.4866176,"latitude_deg":11.7511904,"altitude":13,"angle":339,"satellites":42,"speed":5,"hex_longitude":"2cfe5800","hex_latitude":"070116e0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 14:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107354624001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366506052042096640,"note":"Value kept but may cause issues"} 
[2026-08-01 14:45:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-119204622554152960,"note":"Value kept but may cause issues"} 
[2026-08-01 14:45:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785575610000,"timestamp_ms":1785575610000,"timestamp_seconds":1785575610,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc999690"} 
[2026-08-01 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-08-01 14:45: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-08-01 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-01 14:45: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-08-01 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-08-01 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-08-01 14:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":147280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":147280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":147280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:45:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107354624001,"66":27865,"34":206,"28":32256,"24":5,"16":366506052042096640,"44":-119204622554152960},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,28,24,16,44]} 
[2026-08-01 14:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107354624001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:45:00] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-01 14:45:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366506052042096640,"km_value":366506052042096.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:45:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-119204622554152960,"description":"Unknown IO ID 44"} 
[2026-08-01 14:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107354624001,"power":27865,"unknown_34":206,"unknown_28":32256,"ignition":5,"odometer":null,"unknown_44":-119204622554152960}} 
[2026-08-01 14:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":147280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:45:00] local.INFO: GPS data processed {"connection_id":147280,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:45:00] local.INFO: Acknowledgment sent {"connection_id":147280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:45:05] local.INFO: TCP Data received {"connection_id":148593,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:45:05] local.INFO: Processing buffer {"connection_id":148593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:45:05] local.INFO: IMEI packet received {"connection_id":148593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":148593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:45:06] local.INFO: TCP Data received {"connection_id":148593,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc996b98012d1ac480071fd4f00040016420..."} 
[2026-08-01 14:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc996b98012d1ac480071fd4f00040016420..."} 
[2026-08-01 14:45:06] local.INFO: Processing buffer {"connection_id":148593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc996b98012d1ac480071fd4f00040016420..."} 
[2026-08-01 14:45:06] local.INFO: Packet analysis {"connection_id":148593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc99"} 
[2026-08-01 14:45:06] local.INFO: Extracted packet for processing {"connection_id":148593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc99"} 
[2026-08-01 14:45:06] local.INFO: GPS Element Parsed {"raw_longitude":756728960,"raw_latitude":119526640,"longitude_deg":75.672896,"latitude_deg":11.952664,"altitude":64,"angle":356,"satellites":32,"speed":0,"hex_longitude":"2d1ac480","hex_latitude":"071fd4f0","is_valid_coordinates":true} 
[2026-08-01 14:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107347968001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10259925250867200,"note":"Value kept but may cause issues"} 
[2026-08-01 14:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928807308508508160,"note":"Value kept but may cause issues"} 
[2026-08-01 14:45: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-08-01 14:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785575599000,"timestamp_ms":1785575599000,"timestamp_seconds":1785575599,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc996b98"} 
[2026-08-01 14:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-01 14:45:06] 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-08-01 14:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:45:06] 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-08-01 14:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107347968001,"66":14157,"101":206,"83":41984,"24":0,"16":10259925250867200,"45":1928807308508508160},"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-08-01 14:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107347968001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:45:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-01 14:45:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10259925250867200,"km_value":10259925250867.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928807308508508160,"description":"Unknown IO ID 45"} 
[2026-08-01 14:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107347968001,"power":14157,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1928807308508508160}} 
[2026-08-01 14:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":148593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:45:06] local.INFO: GPS data processed {"connection_id":148593,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:45:06] local.INFO: Acknowledgment sent {"connection_id":148593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:45:37] local.INFO: TCP Data received {"connection_id":148593,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc99bda0012d1ac480071fd4f00040016422..."} 
[2026-08-01 14:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc99bda0012d1ac480071fd4f00040016422..."} 
[2026-08-01 14:45:37] local.INFO: Processing buffer {"connection_id":148593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc99bda0012d1ac480071fd4f00040016422..."} 
[2026-08-01 14:45:37] local.INFO: Packet analysis {"connection_id":148593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc99"} 
[2026-08-01 14:45:37] local.INFO: Extracted packet for processing {"connection_id":148593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc99"} 
[2026-08-01 14:45:37] local.INFO: GPS Element Parsed {"raw_longitude":756728960,"raw_latitude":119526640,"longitude_deg":75.672896,"latitude_deg":11.952664,"altitude":64,"angle":356,"satellites":34,"speed":0,"hex_longitude":"2d1ac480","hex_latitude":"071fd4f0","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107353344001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10259925250867200,"note":"Value kept but may cause issues"} 
[2026-08-01 14:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928807308508590080,"note":"Value kept but may cause issues"} 
[2026-08-01 14:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785575620000,"timestamp_ms":1785575620000,"timestamp_seconds":1785575620,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc99bda0"} 
[2026-08-01 14:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-01 14:45:37] 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-08-01 14: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-08-01 14:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:45:37] 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-08-01 14:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107353344001,"66":14591,"101":206,"83":41984,"24":0,"16":10259925250867200,"45":1928807308508590080},"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-08-01 14:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107353344001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:45:37] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-01 14:45:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10259925250867200,"km_value":10259925250867.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928807308508590080,"description":"Unknown IO ID 45"} 
[2026-08-01 14:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107353344001,"power":14591,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1928807308508590080}} 
[2026-08-01 14:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":148593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577610,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:45:38] local.INFO: GPS data processed {"connection_id":148593,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:45:38] local.INFO: Acknowledgment sent {"connection_id":148593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:45:45] local.INFO: TCP Data received {"connection_id":147281,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:45:45] local.INFO: Processing buffer {"connection_id":147281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:45:45] local.INFO: IMEI packet received {"connection_id":147281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":147281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:45:45] local.INFO: TCP Data received {"connection_id":147281,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:45:45] local.INFO: Processing buffer {"connection_id":147281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:45:45] local.INFO: IMEI packet received {"connection_id":147281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":147281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:45:49] local.INFO: TCP Data received {"connection_id":147281,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:45:49] local.INFO: Processing buffer {"connection_id":147281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:45:49] local.INFO: IMEI packet received {"connection_id":147281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":147281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:45:50] local.INFO: TCP Data received {"connection_id":147281,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc99b1e8012cfe560007011af0000c01442a..."} 
[2026-08-01 14:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc99b1e8012cfe560007011af0000c01442a..."} 
[2026-08-01 14:45:50] local.INFO: Processing buffer {"connection_id":147281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc99b1e8012cfe560007011af0000c01442a..."} 
[2026-08-01 14:45:50] local.INFO: Packet analysis {"connection_id":147281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc99"} 
[2026-08-01 14:45:50] local.INFO: Extracted packet for processing {"connection_id":147281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc99"} 
[2026-08-01 14:45:50] local.INFO: GPS Element Parsed {"raw_longitude":754865664,"raw_latitude":117512944,"longitude_deg":75.4865664,"latitude_deg":11.7512944,"altitude":12,"angle":324,"satellites":42,"speed":7,"hex_longitude":"2cfe5600","hex_latitude":"07011af0","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:45:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107356160001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:45:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366506107876671488,"note":"Value kept but may cause issues"} 
[2026-08-01 14:45:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-119345360042270720,"note":"Value kept but may cause issues"} 
[2026-08-01 14:45:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:45:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785575617000,"timestamp_ms":1785575617000,"timestamp_seconds":1785575617,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc99b1e8"} 
[2026-08-01 14:45:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:45:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 14:45:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14: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-08-01 14:45:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:45:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:45:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:45:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:45:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:45:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:45:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:45:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:45:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107356160001,"66":27952,"34":206,"28":32256,"24":7,"16":366506107876671488,"44":-119345360042270720},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,28,24,16,44]} 
[2026-08-01 14:45:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:45:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:45:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107356160001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:45:50] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-01 14:45:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:45:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366506107876671488,"km_value":366506107876671.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:45:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-119345360042270720,"description":"Unknown IO ID 44"} 
[2026-08-01 14:45:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107356160001,"power":27952,"unknown_34":206,"unknown_28":32256,"ignition":7,"odometer":null,"unknown_44":-119345360042270720}} 
[2026-08-01 14:45:50] local.INFO: DEBUG: GPS processor result {"connection_id":147281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:45:50] local.INFO: GPS data processed {"connection_id":147281,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:45:50] local.INFO: Acknowledgment sent {"connection_id":147281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:45:58] local.INFO: TCP Data received {"connection_id":147282,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:45:58] local.INFO: Processing buffer {"connection_id":147282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:45:58] local.INFO: IMEI packet received {"connection_id":147282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 14:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":147282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:45:59] local.INFO: TCP Data received {"connection_id":147282,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:45:59] local.INFO: Processing buffer {"connection_id":147282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:45:59] local.INFO: IMEI packet received {"connection_id":147282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":147282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:46:00] local.INFO: TCP Data received {"connection_id":147282,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:46:00] local.INFO: Processing buffer {"connection_id":147282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:46:00] local.INFO: IMEI packet received {"connection_id":147282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":147282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:46:00] local.INFO: TCP Data received {"connection_id":147282,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:46:00] local.INFO: Processing buffer {"connection_id":147282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:46:00] local.INFO: IMEI packet received {"connection_id":147282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":147282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:46:22] local.INFO: TCP Data received {"connection_id":147281,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc99d510012cfe518007012138000d013728..."} 
[2026-08-01 14:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc99d510012cfe518007012138000d013728..."} 
[2026-08-01 14:46:22] local.INFO: Processing buffer {"connection_id":147281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc99d510012cfe518007012138000d013728..."} 
[2026-08-01 14:46:22] local.INFO: Packet analysis {"connection_id":147281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc99"} 
[2026-08-01 14:46:22] local.INFO: Extracted packet for processing {"connection_id":147281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc99"} 
[2026-08-01 14:46:22] local.INFO: GPS Element Parsed {"raw_longitude":754864512,"raw_latitude":117514552,"longitude_deg":75.4864512,"latitude_deg":11.7514552,"altitude":13,"angle":311,"satellites":40,"speed":6,"hex_longitude":"2cfe5180","hex_latitude":"07012138","is_valid_coordinates":true} 
[2026-08-01 14:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:46:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107357952001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:46:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366506202365952000,"note":"Value kept but may cause issues"} 
[2026-08-01 14:46:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-119908309995425792,"note":"Value kept but may cause issues"} 
[2026-08-01 14:46:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:46:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785575626000,"timestamp_ms":1785575626000,"timestamp_seconds":1785575626,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc99d510"} 
[2026-08-01 14:46:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:46:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-08-01 14:46:22] 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-08-01 14:46:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:46:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:46:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:46:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:46:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:46:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:46:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:46:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:46:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:46:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107357952001,"66":27767,"34":206,"28":32256,"24":6,"16":366506202365952000,"44":-119908309995425792},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,28,24,16,44]} 
[2026-08-01 14:46:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:46:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:46:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107357952001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:46:22] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-01 14:46:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:46:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366506202365952000,"km_value":366506202365952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:46:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-119908309995425792,"description":"Unknown IO ID 44"} 
[2026-08-01 14:46:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107357952001,"power":27767,"unknown_34":206,"unknown_28":32256,"ignition":6,"odometer":null,"unknown_44":-119908309995425792}} 
[2026-08-01 14:46:22] local.INFO: DEBUG: GPS processor result {"connection_id":147281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:46:22] local.INFO: GPS data processed {"connection_id":147281,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:46:22] local.INFO: Acknowledgment sent {"connection_id":147281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:46:43] local.INFO: TCP Data received {"connection_id":146060,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:46:43] local.INFO: Processing buffer {"connection_id":146060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:46:43] local.INFO: IMEI packet received {"connection_id":146060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":146060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:46:44] local.INFO: TCP Data received {"connection_id":146060,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:46:44] local.INFO: Processing buffer {"connection_id":146060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:46:44] local.INFO: IMEI packet received {"connection_id":146060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":146060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:46:49] local.INFO: TCP Data received {"connection_id":146060,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:46:49] local.INFO: Processing buffer {"connection_id":146060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:46:49] local.INFO: IMEI packet received {"connection_id":146060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":146060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:46:50] local.INFO: TCP Data received {"connection_id":146060,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc9a2718012cfe450007012e10000c013e29..."} 
[2026-08-01 14:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc9a2718012cfe450007012e10000c013e29..."} 
[2026-08-01 14:46:50] local.INFO: Processing buffer {"connection_id":146060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc9a2718012cfe450007012e10000c013e29..."} 
[2026-08-01 14:46:50] local.INFO: Packet analysis {"connection_id":146060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc9a"} 
[2026-08-01 14:46:50] local.INFO: Extracted packet for processing {"connection_id":146060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc9a"} 
[2026-08-01 14:46:50] local.INFO: GPS Element Parsed {"raw_longitude":754861312,"raw_latitude":117517840,"longitude_deg":75.4861312,"latitude_deg":11.751784,"altitude":12,"angle":318,"satellites":41,"speed":0,"hex_longitude":"2cfe4500","hex_latitude":"07012e10","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107360256001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:46:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366506425704251392,"note":"Value kept but may cause issues"} 
[2026-08-01 14:46:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-121174947390212096,"note":"Value kept but may cause issues"} 
[2026-08-01 14:46:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:46:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785575647000,"timestamp_ms":1785575647000,"timestamp_seconds":1785575647,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc9a2718"} 
[2026-08-01 14:46:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:46: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-08-01 14:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 14:46:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14: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-08-01 14:46:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:46:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:46:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:46:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:46:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:46:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:46:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:46:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:46:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107360256001,"66":27952,"34":206,"28":32256,"24":0,"16":366506425704251392,"44":-121174947390212096},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,28,24,16,44]} 
[2026-08-01 14:46:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:46:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:46:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107360256001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:46:50] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-01 14:46:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:46:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366506425704251392,"km_value":366506425704251.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:46:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-121174947390212096,"description":"Unknown IO ID 44"} 
[2026-08-01 14:46:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107360256001,"power":27952,"unknown_34":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-121174947390212096}} 
[2026-08-01 14:46:50] local.INFO: DEBUG: GPS processor result {"connection_id":146060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:46:50] local.INFO: GPS data processed {"connection_id":146060,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:46:50] local.INFO: Acknowledgment sent {"connection_id":146060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:47:22] local.INFO: TCP Data received {"connection_id":146060,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc9c26d0012cfd69000701e180000c013c28..."} 
[2026-08-01 14:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc9c26d0012cfd69000701e180000c013c28..."} 
[2026-08-01 14:47:22] local.INFO: Processing buffer {"connection_id":146060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc9c26d0012cfd69000701e180000c013c28..."} 
[2026-08-01 14:47:22] local.INFO: Packet analysis {"connection_id":146060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc9c"} 
[2026-08-01 14:47:22] local.INFO: Extracted packet for processing {"connection_id":146060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc9c"} 
[2026-08-01 14:47:22] local.INFO: GPS Element Parsed {"raw_longitude":754804992,"raw_latitude":117563776,"longitude_deg":75.4804992,"latitude_deg":11.7563776,"altitude":12,"angle":316,"satellites":40,"speed":29,"hex_longitude":"2cfd6900","hex_latitude":"0701e180","is_valid_coordinates":true} 
[2026-08-01 14:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107395840001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366509990527107072,"note":"Value kept but may cause issues"} 
[2026-08-01 14:47:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-179581005046781952,"note":"Value kept but may cause issues"} 
[2026-08-01 14:47:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785575778000,"timestamp_ms":1785575778000,"timestamp_seconds":1785575778,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc9c26d0"} 
[2026-08-01 14:47:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:47:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-01 14:47:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:47:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:47:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:47:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:47:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107395840001,"66":27876,"93":206,"28":32256,"24":29,"16":366509990527107072,"44":-179581005046781952},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,28,24,16,44]} 
[2026-08-01 14:47:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:47:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:47:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107395840001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:47:22] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-01 14:47:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:47:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366509990527107072,"km_value":366509990527107.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:47:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-179581005046781952,"description":"Unknown IO ID 44"} 
[2026-08-01 14:47:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107395840001,"power":27876,"unknown_93":206,"unknown_28":32256,"ignition":29,"odometer":null,"unknown_44":-179581005046781952}} 
[2026-08-01 14:47:22] local.INFO: DEBUG: GPS processor result {"connection_id":146060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:47:22] local.INFO: GPS data processed {"connection_id":146060,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:47:22] local.INFO: Acknowledgment sent {"connection_id":146060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:47:44] local.INFO: TCP Data received {"connection_id":148594,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:47:44] local.INFO: Processing buffer {"connection_id":148594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:47:44] local.INFO: IMEI packet received {"connection_id":148594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":148594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:47:48] local.INFO: TCP Data received {"connection_id":148594,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:47:48] local.INFO: Processing buffer {"connection_id":148594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:47:48] local.INFO: IMEI packet received {"connection_id":148594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":148594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:47:49] local.INFO: TCP Data received {"connection_id":148594,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:47:49] local.INFO: Processing buffer {"connection_id":148594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:47:49] local.INFO: IMEI packet received {"connection_id":148594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":148594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:47:50] local.INFO: TCP Data received {"connection_id":148594,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc9c5998012cfd51400701fb00000c013f26..."} 
[2026-08-01 14:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc9c5998012cfd51400701fb00000c013f26..."} 
[2026-08-01 14:47:50] local.INFO: Processing buffer {"connection_id":148594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc9c5998012cfd51400701fb00000c013f26..."} 
[2026-08-01 14:47:50] local.INFO: Packet analysis {"connection_id":148594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc9c"} 
[2026-08-01 14:47:50] local.INFO: Extracted packet for processing {"connection_id":148594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc9c"} 
[2026-08-01 14:47:50] local.INFO: GPS Element Parsed {"raw_longitude":754798912,"raw_latitude":117570304,"longitude_deg":75.4798912,"latitude_deg":11.7570304,"altitude":12,"angle":319,"satellites":38,"speed":22,"hex_longitude":"2cfd5140","hex_latitude":"0701fb00","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107399168001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366510420023836672,"note":"Value kept but may cause issues"} 
[2026-08-01 14:47:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-186617879462838272,"note":"Value kept but may cause issues"} 
[2026-08-01 14:47:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785575791000,"timestamp_ms":1785575791000,"timestamp_seconds":1785575791,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc9c5998"} 
[2026-08-01 14:47:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:47:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 14:47:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14: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-08-01 14:47:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:47:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:47:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:47:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:47:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:47:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:47:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:47:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:47:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107399168001,"66":27919,"93":206,"28":32256,"24":22,"16":366510420023836672,"44":-186617879462838272},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,28,24,16,44]} 
[2026-08-01 14:47:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:47:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:47:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107399168001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:47:50] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-01 14:47:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:47:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366510420023836672,"km_value":366510420023836.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:47:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-186617879462838272,"description":"Unknown IO ID 44"} 
[2026-08-01 14:47:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107399168001,"power":27919,"unknown_93":206,"unknown_28":32256,"ignition":22,"odometer":null,"unknown_44":-186617879462838272}} 
[2026-08-01 14:47:50] local.INFO: DEBUG: GPS processor result {"connection_id":148594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:47:50] local.INFO: GPS data processed {"connection_id":148594,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:47:50] local.INFO: Acknowledgment sent {"connection_id":148594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:47:54] local.INFO: TCP Data received {"connection_id":148594,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc9c8490012cfd3e8007021040000a014e26..."} 
[2026-08-01 14:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc9c8490012cfd3e8007021040000a014e26..."} 
[2026-08-01 14:47:54] local.INFO: Processing buffer {"connection_id":148594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc9c8490012cfd3e8007021040000a014e26..."} 
[2026-08-01 14:47:54] local.INFO: Packet analysis {"connection_id":148594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc9c"} 
[2026-08-01 14:47:54] local.INFO: Extracted packet for processing {"connection_id":148594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc9c"} 
[2026-08-01 14:47:54] local.INFO: GPS Element Parsed {"raw_longitude":754794112,"raw_latitude":117575744,"longitude_deg":75.4794112,"latitude_deg":11.7575744,"altitude":10,"angle":334,"satellites":38,"speed":26,"hex_longitude":"2cfd3e80","hex_latitude":"07021040","is_valid_coordinates":true} 
[2026-08-01 14:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107402496001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366510772211154944,"note":"Value kept but may cause issues"} 
[2026-08-01 14:47:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-193302910158045184,"note":"Value kept but may cause issues"} 
[2026-08-01 14:47:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785575802000,"timestamp_ms":1785575802000,"timestamp_seconds":1785575802,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc9c8490"} 
[2026-08-01 14:47:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:47:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 14:47:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:47:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:47:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:47:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107402496001,"66":27908,"93":206,"28":32256,"24":26,"16":366510772211154944,"44":-193302910158045184},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,28,24,16,44]} 
[2026-08-01 14:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107402496001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:47:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-01 14:47:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366510772211154944,"km_value":366510772211154.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:47:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-193302910158045184,"description":"Unknown IO ID 44"} 
[2026-08-01 14:47:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107402496001,"power":27908,"unknown_93":206,"unknown_28":32256,"ignition":26,"odometer":null,"unknown_44":-193302910158045184}} 
[2026-08-01 14:47:54] local.INFO: DEBUG: GPS processor result {"connection_id":148594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:47:54] local.INFO: GPS data processed {"connection_id":148594,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:47:54] local.INFO: Acknowledgment sent {"connection_id":148594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:48:26] local.INFO: TCP Data received {"connection_id":148594,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc9c8c60012cfd3d40070214f8000a016628..."} 
[2026-08-01 14:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc9c8c60012cfd3d40070214f8000a016628..."} 
[2026-08-01 14:48:26] local.INFO: Processing buffer {"connection_id":148594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc9c8c60012cfd3d40070214f8000a016628..."} 
[2026-08-01 14:48:26] local.INFO: Packet analysis {"connection_id":148594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc9c"} 
[2026-08-01 14:48:26] local.INFO: Extracted packet for processing {"connection_id":148594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc9c"} 
[2026-08-01 14:48:26] local.INFO: GPS Element Parsed {"raw_longitude":754793792,"raw_latitude":117576952,"longitude_deg":75.4793792,"latitude_deg":11.7576952,"altitude":10,"angle":358,"satellites":40,"speed":24,"hex_longitude":"2cfd3d40","hex_latitude":"070214f8","is_valid_coordinates":true} 
[2026-08-01 14:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:48:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107405312001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:48:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366510832340697088,"note":"Value kept but may cause issues"} 
[2026-08-01 14:48:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-198580565969977344,"note":"Value kept but may cause issues"} 
[2026-08-01 14:48:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:48:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785575804000,"timestamp_ms":1785575804000,"timestamp_seconds":1785575804,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc9c8c60"} 
[2026-08-01 14:48:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:48: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-08-01 14:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 14:48:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:48:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:48:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:48:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:48:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:48:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:48:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:48:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:48:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:48:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:48:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107405312001,"66":27180,"93":206,"28":32256,"24":24,"16":366510832340697088,"44":-198580565969977344},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,28,24,16,44]} 
[2026-08-01 14:48:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:48:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:48:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107405312001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:48:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-01 14:48:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:48:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366510832340697088,"km_value":366510832340697.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:48:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-198580565969977344,"description":"Unknown IO ID 44"} 
[2026-08-01 14:48:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107405312001,"power":27180,"unknown_93":206,"unknown_28":32256,"ignition":24,"odometer":null,"unknown_44":-198580565969977344}} 
[2026-08-01 14:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":148594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:48:26] local.INFO: GPS data processed {"connection_id":148594,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:48:26] local.INFO: Acknowledgment sent {"connection_id":148594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:48:44] local.INFO: TCP Data received {"connection_id":147284,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:48:44] local.INFO: Processing buffer {"connection_id":147284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:48:44] local.INFO: IMEI packet received {"connection_id":147284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":147284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:48:48] local.INFO: TCP Data received {"connection_id":147284,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:48:48] local.INFO: Processing buffer {"connection_id":147284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:48:48] local.INFO: IMEI packet received {"connection_id":147284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":147284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:48:49] local.INFO: TCP Data received {"connection_id":147284,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:48:49] local.INFO: Processing buffer {"connection_id":147284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:48:49] local.INFO: IMEI packet received {"connection_id":147284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":147284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:48:50] local.INFO: TCP Data received {"connection_id":147284,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc9c9048012cfd3d8007021738000a000f28..."} 
[2026-08-01 14:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc9c9048012cfd3d8007021738000a000f28..."} 
[2026-08-01 14:48:50] local.INFO: Processing buffer {"connection_id":147284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc9c9048012cfd3d8007021738000a000f28..."} 
[2026-08-01 14:48:50] local.INFO: Packet analysis {"connection_id":147284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc9c"} 
[2026-08-01 14:48:50] local.INFO: Extracted packet for processing {"connection_id":147284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc9c"} 
[2026-08-01 14:48:50] local.INFO: GPS Element Parsed {"raw_longitude":754793856,"raw_latitude":117577528,"longitude_deg":75.4793856,"latitude_deg":11.7577528,"altitude":10,"angle":15,"satellites":40,"speed":22,"hex_longitude":"2cfd3d80","hex_latitude":"07021738","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107405824001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366510858110500864,"note":"Value kept but may cause issues"} 
[2026-08-01 14:48:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-198932409690556416,"note":"Value kept but may cause issues"} 
[2026-08-01 14:48:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785575805000,"timestamp_ms":1785575805000,"timestamp_seconds":1785575805,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc9c9048"} 
[2026-08-01 14:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:48: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-08-01 14:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-01 14:48:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14: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-08-01 14:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:48:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107405824001,"66":27930,"93":206,"28":32256,"24":22,"16":366510858110500864,"44":-198932409690556416},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,28,24,16,44]} 
[2026-08-01 14:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107405824001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:48:50] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-01 14:48:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366510858110500864,"km_value":366510858110500.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:48:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-198932409690556416,"description":"Unknown IO ID 44"} 
[2026-08-01 14:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107405824001,"power":27930,"unknown_93":206,"unknown_28":32256,"ignition":22,"odometer":null,"unknown_44":-198932409690556416}} 
[2026-08-01 14:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":147284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:48:50] local.INFO: GPS data processed {"connection_id":147284,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:48:50] local.INFO: Acknowledgment sent {"connection_id":147284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:49:22] local.INFO: TCP Data received {"connection_id":147284,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc9dd868012cfd5fc007030a700007014929..."} 
[2026-08-01 14:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc9dd868012cfd5fc007030a700007014929..."} 
[2026-08-01 14:49:22] local.INFO: Processing buffer {"connection_id":147284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc9dd868012cfd5fc007030a700007014929..."} 
[2026-08-01 14:49:22] local.INFO: Packet analysis {"connection_id":147284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc9d"} 
[2026-08-01 14:49:22] local.INFO: Extracted packet for processing {"connection_id":147284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc9d"} 
[2026-08-01 14:49:22] local.INFO: GPS Element Parsed {"raw_longitude":754802624,"raw_latitude":117639792,"longitude_deg":75.4802624,"latitude_deg":11.7639792,"altitude":7,"angle":329,"satellites":41,"speed":8,"hex_longitude":"2cfd5fc0","hex_latitude":"07030a70","is_valid_coordinates":true} 
[2026-08-01 14:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107426048001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366513997731594240,"note":"Value kept but may cause issues"} 
[2026-08-01 14:49:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-188517835536513024,"note":"Value kept but may cause issues"} 
[2026-08-01 14:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785575889000,"timestamp_ms":1785575889000,"timestamp_seconds":1785575889,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc9dd868"} 
[2026-08-01 14:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:49:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-01 14:49:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:49:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107426048001,"66":27908,"92":206,"28":32256,"24":8,"16":366513997731594240,"44":-188517835536513024},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,44]} 
[2026-08-01 14:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107426048001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:49:22] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-01 14:49:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366513997731594240,"km_value":366513997731594.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:49:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-188517835536513024,"description":"Unknown IO ID 44"} 
[2026-08-01 14:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107426048001,"power":27908,"unknown_92":206,"unknown_28":32256,"ignition":8,"odometer":null,"unknown_44":-188517835536513024}} 
[2026-08-01 14:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":147284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:49:22] local.INFO: GPS data processed {"connection_id":147284,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:49:22] local.INFO: Acknowledgment sent {"connection_id":147284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:49:53] local.INFO: TCP Data received {"connection_id":146280,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:49:53] local.INFO: Processing buffer {"connection_id":146280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:49:53] local.INFO: IMEI packet received {"connection_id":146280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":146280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:49:54] local.INFO: TCP Data received {"connection_id":146280,"ip":"117.224.186.144","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 14:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146280,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 14:49:54] local.INFO: Processing buffer {"connection_id":146280,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 14:49:54] local.INFO: IMEI packet received {"connection_id":146280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":146280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:49:59] local.INFO: TCP Data received {"connection_id":146280,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:49:59] local.INFO: Processing buffer {"connection_id":146280,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 14:49:59] local.INFO: IMEI packet received {"connection_id":146280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":146280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:50:03] local.INFO: TCP Data received {"connection_id":146280,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc9e1ad0012cfd4c80070328880008014829..."} 
[2026-08-01 14:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc9e1ad0012cfd4c80070328880008014829..."} 
[2026-08-01 14:50:03] local.INFO: Processing buffer {"connection_id":146280,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fbc..."} 
[2026-08-01 14:50:03] local.INFO: IMEI packet received {"connection_id":146280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":146280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:50:04] local.INFO: TCP Data received {"connection_id":146280,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc9e4d98012cfd3a0007034750000a014828..."} 
[2026-08-01 14:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc9e4d98012cfd3a0007034750000a014828..."} 
[2026-08-01 14:50:04] local.INFO: Processing buffer {"connection_id":146280,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fbc9e1ad0012cfd4c80070328880008014829..."} 
[2026-08-01 14:50:04] local.INFO: Packet analysis {"connection_id":146280,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fbc9e"} 
[2026-08-01 14:50:04] local.INFO: Extracted packet for processing {"connection_id":146280,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc9e"} 
[2026-08-01 14:50:04] local.INFO: GPS Element Parsed {"raw_longitude":754797696,"raw_latitude":117647496,"longitude_deg":75.4797696,"latitude_deg":11.7647496,"altitude":8,"angle":328,"satellites":41,"speed":29,"hex_longitude":"2cfd4c80","hex_latitude":"07032888","is_valid_coordinates":true} 
[2026-08-01 14:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107427584001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366514440113225728,"note":"Value kept but may cause issues"} 
[2026-08-01 14:50:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-189221522977951744,"note":"Value kept but may cause issues"} 
[2026-08-01 14:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785575906000,"timestamp_ms":1785575906000,"timestamp_seconds":1785575906,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc9e1ad0"} 
[2026-08-01 14:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 14:50: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-08-01 14:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107427584001,"66":27919,"92":206,"28":32256,"24":29,"16":366514440113225728,"44":-189221522977951744},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,44]} 
[2026-08-01 14:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107427584001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:50:04] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-01 14:50:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366514440113225728,"km_value":366514440113225.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:50:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-189221522977951744,"description":"Unknown IO ID 44"} 
[2026-08-01 14:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107427584001,"power":27919,"unknown_92":206,"unknown_28":32256,"ignition":29,"odometer":null,"unknown_44":-189221522977951744}} 
[2026-08-01 14:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":146280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:50:04] local.INFO: GPS data processed {"connection_id":146280,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:50:04] local.INFO: Acknowledgment sent {"connection_id":146280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:50:04] local.INFO: Packet analysis {"connection_id":146280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc9e"} 
[2026-08-01 14:50:04] local.INFO: Extracted packet for processing {"connection_id":146280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc9e"} 
[2026-08-01 14:50:04] local.INFO: GPS Element Parsed {"raw_longitude":754792960,"raw_latitude":117655376,"longitude_deg":75.479296,"latitude_deg":11.7655376,"altitude":10,"angle":328,"satellites":40,"speed":31,"hex_longitude":"2cfd3a00","hex_latitude":"07034750","is_valid_coordinates":true} 
[2026-08-01 14:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107431936001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366514882494857216,"note":"Value kept but may cause issues"} 
[2026-08-01 14:50:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-194639916277659648,"note":"Value kept but may cause issues"} 
[2026-08-01 14:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785575919000,"timestamp_ms":1785575919000,"timestamp_seconds":1785575919,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc9e4d98"} 
[2026-08-01 14:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 14:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107431936001,"66":27800,"95":206,"28":32256,"24":31,"16":366514882494857216,"44":-194639916277659648},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,28,24,16,44]} 
[2026-08-01 14:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107431936001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:50:04] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-01 14:50:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366514882494857216,"km_value":366514882494857.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:50:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-194639916277659648,"description":"Unknown IO ID 44"} 
[2026-08-01 14:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107431936001,"power":27800,"unknown_95":206,"unknown_28":32256,"ignition":31,"odometer":null,"unknown_44":-194639916277659648}} 
[2026-08-01 14:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":146280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:50:04] local.INFO: GPS data processed {"connection_id":146280,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:50:04] local.INFO: Acknowledgment sent {"connection_id":146280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:50:06] local.INFO: TCP Data received {"connection_id":146280,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc9e6cd8012cfd278007035f980007013d27..."} 
[2026-08-01 14:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc9e6cd8012cfd278007035f980007013d27..."} 
[2026-08-01 14:50:06] local.INFO: Processing buffer {"connection_id":146280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc9e6cd8012cfd278007035f980007013d27..."} 
[2026-08-01 14:50:06] local.INFO: Packet analysis {"connection_id":146280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc9e"} 
[2026-08-01 14:50:06] local.INFO: Extracted packet for processing {"connection_id":146280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc9e"} 
[2026-08-01 14:50:06] local.INFO: GPS Element Parsed {"raw_longitude":754788224,"raw_latitude":117661592,"longitude_deg":75.4788224,"latitude_deg":11.7661592,"altitude":7,"angle":317,"satellites":39,"speed":44,"hex_longitude":"2cfd2780","hex_latitude":"07035f98","is_valid_coordinates":true} 
[2026-08-01 14:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107435264001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366515260451979264,"note":"Value kept but may cause issues"} 
[2026-08-01 14:50:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-199847203344789504,"note":"Value kept but may cause issues"} 
[2026-08-01 14:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785575927000,"timestamp_ms":1785575927000,"timestamp_seconds":1785575927,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc9e6cd8"} 
[2026-08-01 14:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 14:50: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-08-01 14:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107435264001,"66":27865,"95":206,"28":32256,"24":44,"16":366515260451979264,"44":-199847203344789504},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,28,24,16,44]} 
[2026-08-01 14:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107435264001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:50:06] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-01 14:50:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366515260451979264,"km_value":366515260451979.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:50:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-199847203344789504,"description":"Unknown IO ID 44"} 
[2026-08-01 14:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107435264001,"power":27865,"unknown_95":206,"unknown_28":32256,"ignition":44,"odometer":null,"unknown_44":-199847203344789504}} 
[2026-08-01 14:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":146280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:50:06] local.INFO: GPS data processed {"connection_id":146280,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:50:06] local.INFO: Acknowledgment sent {"connection_id":146280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:50:41] local.INFO: TCP Data received {"connection_id":146281,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:50:41] local.INFO: Processing buffer {"connection_id":146281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:50:41] local.INFO: IMEI packet received {"connection_id":146281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":146281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:50:43] local.INFO: TCP Data received {"connection_id":146281,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:50:43] local.INFO: Processing buffer {"connection_id":146281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:50:43] local.INFO: IMEI packet received {"connection_id":146281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":146281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:50:44] local.INFO: TCP Data received {"connection_id":146281,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:50:44] local.INFO: Processing buffer {"connection_id":146281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:50:44] local.INFO: IMEI packet received {"connection_id":146281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":146281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:50:49] local.INFO: TCP Data received {"connection_id":146281,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:50:49] local.INFO: Processing buffer {"connection_id":146281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:50:49] local.INFO: IMEI packet received {"connection_id":146281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":146281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:50:50] local.INFO: TCP Data received {"connection_id":146281,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc9e7890012cfd1d00070368480006013129..."} 
[2026-08-01 14:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc9e7890012cfd1d00070368480006013129..."} 
[2026-08-01 14:50:50] local.INFO: Processing buffer {"connection_id":146281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc9e7890012cfd1d00070368480006013129..."} 
[2026-08-01 14:50:50] local.INFO: Packet analysis {"connection_id":146281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc9e"} 
[2026-08-01 14:50:50] local.INFO: Extracted packet for processing {"connection_id":146281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc9e"} 
[2026-08-01 14:50:50] local.INFO: GPS Element Parsed {"raw_longitude":754785536,"raw_latitude":117663816,"longitude_deg":75.4785536,"latitude_deg":11.7663816,"altitude":6,"angle":305,"satellites":41,"speed":45,"hex_longitude":"2cfd1d00","hex_latitude":"07036848","is_valid_coordinates":true} 
[2026-08-01 14:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:50:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107437312001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:50:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366515427955703808,"note":"Value kept but may cause issues"} 
[2026-08-01 14:50:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-205054490412345344,"note":"Value kept but may cause issues"} 
[2026-08-01 14:50:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:50:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785575930000,"timestamp_ms":1785575930000,"timestamp_seconds":1785575930,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc9e7890"} 
[2026-08-01 14:50:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:50:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 14:50:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:50:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:50:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:50:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:50:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:50:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:50:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:50:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:50:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:50:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:50:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107437312001,"66":27919,"95":206,"28":32256,"24":45,"16":366515427955703808,"44":-205054490412345344},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,28,24,16,44]} 
[2026-08-01 14:50:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:50:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:50:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107437312001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:50:50] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-01 14:50:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:50:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366515427955703808,"km_value":366515427955703.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:50:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-205054490412345344,"description":"Unknown IO ID 44"} 
[2026-08-01 14:50:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107437312001,"power":27919,"unknown_95":206,"unknown_28":32256,"ignition":45,"odometer":null,"unknown_44":-205054490412345344}} 
[2026-08-01 14:50:50] local.INFO: DEBUG: GPS processor result {"connection_id":146281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:50:50] local.INFO: GPS data processed {"connection_id":146281,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:50:50] local.INFO: Acknowledgment sent {"connection_id":146281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:51:05] local.INFO: TCP Data received {"connection_id":146062,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:51:05] local.INFO: Processing buffer {"connection_id":146062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:51:05] local.INFO: IMEI packet received {"connection_id":146062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 14:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":146062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:51:06] local.INFO: TCP Data received {"connection_id":146062,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:51:06] local.INFO: Processing buffer {"connection_id":146062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:51:06] local.INFO: IMEI packet received {"connection_id":146062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":146062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:51:07] local.INFO: TCP Data received {"connection_id":146062,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc9f0148012d19e200072009b00033008727..."} 
[2026-08-01 14:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc9f0148012d19e200072009b00033008727..."} 
[2026-08-01 14:51:07] local.INFO: Processing buffer {"connection_id":146062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc9f0148012d19e200072009b00033008727..."} 
[2026-08-01 14:51:07] local.INFO: Packet analysis {"connection_id":146062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc9f"} 
[2026-08-01 14:51:07] local.INFO: Extracted packet for processing {"connection_id":146062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc9f"} 
[2026-08-01 14:51:07] local.INFO: GPS Element Parsed {"raw_longitude":756670976,"raw_latitude":119540144,"longitude_deg":75.6670976,"latitude_deg":11.9540144,"altitude":51,"angle":135,"satellites":39,"speed":0,"hex_longitude":"2d19e200","hex_latitude":"072009b0","is_valid_coordinates":true} 
[2026-08-01 14:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107441664001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10264026944634880,"note":"Value kept but may cause issues"} 
[2026-08-01 14:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865053226287083520,"note":"Value kept but may cause issues"} 
[2026-08-01 14:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785575965000,"timestamp_ms":1785575965000,"timestamp_seconds":1785575965,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc9f0148"} 
[2026-08-01 14:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-01 14:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:51: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-08-01 14:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107441664001,"66":12885,"101":206,"83":41984,"24":0,"16":10264026944634880,"45":1865053226287083520},"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-08-01 14:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107441664001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:51:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-01 14:51:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10264026944634880,"km_value":10264026944634.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865053226287083520,"description":"Unknown IO ID 45"} 
[2026-08-01 14:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107441664001,"power":12885,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1865053226287083520}} 
[2026-08-01 14:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":146062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577624,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:51:07] local.INFO: GPS data processed {"connection_id":146062,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:51:07] local.INFO: Acknowledgment sent {"connection_id":146062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:51:10] local.INFO: TCP Data received {"connection_id":146062,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc9f5350012d19e200072009b00033008727..."} 
[2026-08-01 14:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc9f5350012d19e200072009b00033008727..."} 
[2026-08-01 14:51:10] local.INFO: Processing buffer {"connection_id":146062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc9f5350012d19e200072009b00033008727..."} 
[2026-08-01 14:51:10] local.INFO: Packet analysis {"connection_id":146062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc9f"} 
[2026-08-01 14:51:10] local.INFO: Extracted packet for processing {"connection_id":146062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc9f"} 
[2026-08-01 14:51:10] local.INFO: GPS Element Parsed {"raw_longitude":756670976,"raw_latitude":119540144,"longitude_deg":75.6670976,"latitude_deg":11.9540144,"altitude":51,"angle":135,"satellites":39,"speed":0,"hex_longitude":"2d19e200","hex_latitude":"072009b0","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107447040001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10264026944634880,"note":"Value kept but may cause issues"} 
[2026-08-01 14:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865053226287083520,"note":"Value kept but may cause issues"} 
[2026-08-01 14: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-08-01 14:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785575986000,"timestamp_ms":1785575986000,"timestamp_seconds":1785575986,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc9f5350"} 
[2026-08-01 14:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14: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":85,"data_length":795,"current_offset":136} 
[2026-08-01 14:51: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-08-01 14: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-08-01 14:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14: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-08-01 14:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107447040001,"66":12863,"101":206,"83":41984,"24":0,"16":10264026944634880,"45":1865053226287083520},"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-08-01 14:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107447040001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:51:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-01 14:51:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10264026944634880,"km_value":10264026944634.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865053226287083520,"description":"Unknown IO ID 45"} 
[2026-08-01 14:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107447040001,"power":12863,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1865053226287083520}} 
[2026-08-01 14:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":146062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:51:11] local.INFO: GPS data processed {"connection_id":146062,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:51:11] local.INFO: Acknowledgment sent {"connection_id":146062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:51:22] local.INFO: TCP Data received {"connection_id":146281,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc9fdc08012cfbc3400703f550000c012528..."} 
[2026-08-01 14:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc9fdc08012cfbc3400703f550000c012528..."} 
[2026-08-01 14:51:22] local.INFO: Processing buffer {"connection_id":146281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc9fdc08012cfbc3400703f550000c012528..."} 
[2026-08-01 14:51:22] local.INFO: Packet analysis {"connection_id":146281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc9f"} 
[2026-08-01 14:51:22] local.INFO: Extracted packet for processing {"connection_id":146281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc9f"} 
[2026-08-01 14:51:22] local.INFO: GPS Element Parsed {"raw_longitude":754697024,"raw_latitude":117699920,"longitude_deg":75.4697024,"latitude_deg":11.769992,"altitude":12,"angle":293,"satellites":40,"speed":22,"hex_longitude":"2cfbc340","hex_latitude":"0703f550","is_valid_coordinates":true} 
[2026-08-01 14:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:51:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107460608001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:51:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366520023570710528,"note":"Value kept but may cause issues"} 
[2026-08-01 14:51:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-303218888530503680,"note":"Value kept but may cause issues"} 
[2026-08-01 14:51:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:51:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785576021000,"timestamp_ms":1785576021000,"timestamp_seconds":1785576021,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc9fdc08"} 
[2026-08-01 14:51:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:51:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-01 14:51:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:51:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:51:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:51:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:51:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:51:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:51:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:51:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:51:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:51:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:51:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107460608001,"66":27919,"9":206,"28":32256,"24":22,"16":366520023570710528,"44":-303218888530503680},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,28,24,16,44]} 
[2026-08-01 14:51:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:51:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:51:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107460608001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:51:22] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-01 14:51:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:51:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366520023570710528,"km_value":366520023570710.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:51:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-303218888530503680,"description":"Unknown IO ID 44"} 
[2026-08-01 14:51:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107460608001,"power":27919,"unknown_9":206,"unknown_28":32256,"ignition":22,"odometer":null,"unknown_44":-303218888530503680}} 
[2026-08-01 14:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":146281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:51:22] local.INFO: GPS data processed {"connection_id":146281,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:51:22] local.INFO: Acknowledgment sent {"connection_id":146281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:51:41] local.INFO: TCP Data received {"connection_id":146062,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc9fa558012d19e200072009b00033008727..."} 
[2026-08-01 14:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc9fa558012d19e200072009b00033008727..."} 
[2026-08-01 14:51:41] local.INFO: Processing buffer {"connection_id":146062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc9fa558012d19e200072009b00033008727..."} 
[2026-08-01 14:51:41] local.INFO: Packet analysis {"connection_id":146062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc9f"} 
[2026-08-01 14:51:41] local.INFO: Extracted packet for processing {"connection_id":146062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc9f"} 
[2026-08-01 14:51:41] local.INFO: GPS Element Parsed {"raw_longitude":756670976,"raw_latitude":119540144,"longitude_deg":75.6670976,"latitude_deg":11.9540144,"altitude":51,"angle":135,"satellites":39,"speed":0,"hex_longitude":"2d19e200","hex_latitude":"072009b0","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107452416001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10264026944634880,"note":"Value kept but may cause issues"} 
[2026-08-01 14:51:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865053226287083520,"note":"Value kept but may cause issues"} 
[2026-08-01 14: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-08-01 14:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785576007000,"timestamp_ms":1785576007000,"timestamp_seconds":1785576007,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc9fa558"} 
[2026-08-01 14:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:51:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-01 14:51:41] 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-08-01 14: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-08-01 14:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":146062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":146062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":146062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:51: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-08-01 14:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107452416001,"66":12841,"101":206,"83":41984,"24":0,"16":10264026944634880,"45":1865053226287083520},"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-08-01 14:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107452416001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:51:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-01 14:51:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10264026944634880,"km_value":10264026944634.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:51:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865053226287083520,"description":"Unknown IO ID 45"} 
[2026-08-01 14:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107452416001,"power":12841,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1865053226287083520}} 
[2026-08-01 14:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":146062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577627,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:51:41] local.INFO: GPS data processed {"connection_id":146062,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:51:41] local.INFO: Acknowledgment sent {"connection_id":146062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:51:44] local.INFO: TCP Data received {"connection_id":148597,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:51:44] local.INFO: Processing buffer {"connection_id":148597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:51:44] local.INFO: IMEI packet received {"connection_id":148597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":148597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:51:49] local.INFO: TCP Data received {"connection_id":148597,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:51:49] local.INFO: Processing buffer {"connection_id":148597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:51:49] local.INFO: IMEI packet received {"connection_id":148597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":148597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:51:50] local.INFO: TCP Data received {"connection_id":148597,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbc9ff760012cfbb9400703fa50000d013328..."} 
[2026-08-01 14:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbc9ff760012cfbb9400703fa50000d013328..."} 
[2026-08-01 14:51:50] local.INFO: Processing buffer {"connection_id":148597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbc9ff760012cfbb9400703fa50000d013328..."} 
[2026-08-01 14:51:50] local.INFO: Packet analysis {"connection_id":148597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbc9f"} 
[2026-08-01 14:51:50] local.INFO: Extracted packet for processing {"connection_id":148597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbc9f"} 
[2026-08-01 14:51:50] local.INFO: GPS Element Parsed {"raw_longitude":754694464,"raw_latitude":117701200,"longitude_deg":75.4694464,"latitude_deg":11.77012,"altitude":13,"angle":307,"satellites":40,"speed":11,"hex_longitude":"2cfbb940","hex_latitude":"0703fa50","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107461376001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366520161009664000,"note":"Value kept but may cause issues"} 
[2026-08-01 14:51:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-305329950855704576,"note":"Value kept but may cause issues"} 
[2026-08-01 14:51:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785576028000,"timestamp_ms":1785576028000,"timestamp_seconds":1785576028,"priority":1,"record_length":96,"hex_timestamp":"0000019fbc9ff760"} 
[2026-08-01 14:51:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:51:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 14:51:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:51:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:51:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:51:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107461376001,"66":27919,"9":206,"28":32256,"24":11,"16":366520161009664000,"44":-305329950855704576},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,28,24,16,44]} 
[2026-08-01 14:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107461376001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:51:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-01 14:51:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366520161009664000,"km_value":366520161009664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:51:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-305329950855704576,"description":"Unknown IO ID 44"} 
[2026-08-01 14:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107461376001,"power":27919,"unknown_9":206,"unknown_28":32256,"ignition":11,"odometer":null,"unknown_44":-305329950855704576}} 
[2026-08-01 14:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":148597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:51:50] local.INFO: GPS data processed {"connection_id":148597,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:51:50] local.INFO: Acknowledgment sent {"connection_id":148597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:51:59] local.INFO: TCP Data received {"connection_id":147285,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:51:59] local.INFO: Processing buffer {"connection_id":147285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:51:59] local.INFO: IMEI packet received {"connection_id":147285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 14:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":147285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:51:59] local.INFO: TCP Data received {"connection_id":147285,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:51:59] local.INFO: Processing buffer {"connection_id":147285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:51:59] local.INFO: IMEI packet received {"connection_id":147285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":147285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:52:00] local.INFO: TCP Data received {"connection_id":147285,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:52:00] local.INFO: Processing buffer {"connection_id":147285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:52:00] local.INFO: IMEI packet received {"connection_id":147285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":147285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:52:00] local.INFO: TCP Data received {"connection_id":147285,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:52:00] local.INFO: Processing buffer {"connection_id":147285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:52:00] local.INFO: IMEI packet received {"connection_id":147285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":147285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:52:23] local.INFO: TCP Data received {"connection_id":148597,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbca016a0012cfbadc007040388000c013f25..."} 
[2026-08-01 14:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbca016a0012cfbadc007040388000c013f25..."} 
[2026-08-01 14:52:23] local.INFO: Processing buffer {"connection_id":148597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbca016a0012cfbadc007040388000c013f25..."} 
[2026-08-01 14:52:23] local.INFO: Packet analysis {"connection_id":148597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbca0"} 
[2026-08-01 14:52:23] local.INFO: Extracted packet for processing {"connection_id":148597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbca0"} 
[2026-08-01 14:52:23] local.INFO: GPS Element Parsed {"raw_longitude":754691520,"raw_latitude":117703560,"longitude_deg":75.469152,"latitude_deg":11.770356,"altitude":12,"angle":319,"satellites":37,"speed":25,"hex_longitude":"2cfbadc0","hex_latitude":"07040388","is_valid_coordinates":true} 
[2026-08-01 14:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107463168001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366520341398290432,"note":"Value kept but may cause issues"} 
[2026-08-01 14:52:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-308144700622483456,"note":"Value kept but may cause issues"} 
[2026-08-01 14:52:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785576036000,"timestamp_ms":1785576036000,"timestamp_seconds":1785576036,"priority":1,"record_length":96,"hex_timestamp":"0000019fbca016a0"} 
[2026-08-01 14:52:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:52: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-08-01 14:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 14:52:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:52:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:52:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":148597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":148597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":148597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:52:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107463168001,"66":27930,"9":206,"28":32256,"24":25,"16":366520341398290432,"44":-308144700622483456},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,28,24,16,44]} 
[2026-08-01 14:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107463168001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:52:23] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-01 14:52:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366520341398290432,"km_value":366520341398290.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:52:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-308144700622483456,"description":"Unknown IO ID 44"} 
[2026-08-01 14:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107463168001,"power":27930,"unknown_9":206,"unknown_28":32256,"ignition":25,"odometer":null,"unknown_44":-308144700622483456}} 
[2026-08-01 14:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":148597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:52:23] local.INFO: GPS data processed {"connection_id":148597,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:52:23] local.INFO: Acknowledgment sent {"connection_id":148597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:52:43] local.INFO: TCP Data received {"connection_id":146282,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:52:43] local.INFO: Processing buffer {"connection_id":146282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:52:43] local.INFO: IMEI packet received {"connection_id":146282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":146282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:52:44] local.INFO: TCP Data received {"connection_id":146282,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:52:44] local.INFO: Processing buffer {"connection_id":146282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:52:44] local.INFO: IMEI packet received {"connection_id":146282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":146282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:52:49] local.INFO: TCP Data received {"connection_id":146282,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:52:49] local.INFO: Processing buffer {"connection_id":146282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:52:49] local.INFO: IMEI packet received {"connection_id":146282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":146282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:52:50] local.INFO: TCP Data received {"connection_id":146282,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbca04580012cfb968007042150000b014427..."} 
[2026-08-01 14:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbca04580012cfb968007042150000b014427..."} 
[2026-08-01 14:52:50] local.INFO: Processing buffer {"connection_id":146282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbca04580012cfb968007042150000b014427..."} 
[2026-08-01 14:52:50] local.INFO: Packet analysis {"connection_id":146282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbca0"} 
[2026-08-01 14:52:50] local.INFO: Extracted packet for processing {"connection_id":146282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbca0"} 
[2026-08-01 14:52:50] local.INFO: GPS Element Parsed {"raw_longitude":754685568,"raw_latitude":117711184,"longitude_deg":75.4685568,"latitude_deg":11.7711184,"altitude":11,"angle":324,"satellites":39,"speed":30,"hex_longitude":"2cfb9680","hex_latitude":"07042150","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107465216001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366520805254758400,"note":"Value kept but may cause issues"} 
[2026-08-01 14:52:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-311381662854051840,"note":"Value kept but may cause issues"} 
[2026-08-01 14:52:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785576048000,"timestamp_ms":1785576048000,"timestamp_seconds":1785576048,"priority":1,"record_length":96,"hex_timestamp":"0000019fbca04580"} 
[2026-08-01 14:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:52: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-08-01 14: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-01 14:52:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14: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-08-01 14:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:52:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107465216001,"66":27865,"9":206,"28":32256,"24":30,"16":366520805254758400,"44":-311381662854051840},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,28,24,16,44]} 
[2026-08-01 14:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107465216001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:52:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-01 14:52:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366520805254758400,"km_value":366520805254758.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:52:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-311381662854051840,"description":"Unknown IO ID 44"} 
[2026-08-01 14:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107465216001,"power":27865,"unknown_9":206,"unknown_28":32256,"ignition":30,"odometer":null,"unknown_44":-311381662854051840}} 
[2026-08-01 14:52:50] local.INFO: DEBUG: GPS processor result {"connection_id":146282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:52:50] local.INFO: GPS data processed {"connection_id":146282,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:52:50] local.INFO: Acknowledgment sent {"connection_id":146282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:53:21] local.INFO: TCP Data received {"connection_id":146282,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbca1d008012cfa9e4007053f10000a013b28..."} 
[2026-08-01 14:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbca1d008012cfa9e4007053f10000a013b28..."} 
[2026-08-01 14:53:21] local.INFO: Processing buffer {"connection_id":146282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbca1d008012cfa9e4007053f10000a013b28..."} 
[2026-08-01 14:53:21] local.INFO: Packet analysis {"connection_id":146282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbca1"} 
[2026-08-01 14:53:21] local.INFO: Extracted packet for processing {"connection_id":146282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbca1"} 
[2026-08-01 14:53:21] local.INFO: GPS Element Parsed {"raw_longitude":754622016,"raw_latitude":117784336,"longitude_deg":75.4622016,"latitude_deg":11.7784336,"altitude":10,"angle":315,"satellites":40,"speed":43,"hex_longitude":"2cfa9e40","hex_latitude":"07053f10","is_valid_coordinates":true} 
[2026-08-01 14:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107492096001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366525581258391552,"note":"Value kept but may cause issues"} 
[2026-08-01 14:53:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-381539300780310528,"note":"Value kept but may cause issues"} 
[2026-08-01 14:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785576149000,"timestamp_ms":1785576149000,"timestamp_seconds":1785576149,"priority":1,"record_length":96,"hex_timestamp":"0000019fbca1d008"} 
[2026-08-01 14:53:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:53:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 14:53:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:53:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:53:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:53:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107492096001,"66":27517,"11":206,"28":32256,"24":43,"16":366525581258391552,"44":-381539300780310528},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,28,24,16,44]} 
[2026-08-01 14:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107492096001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:53:21] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-01 14:53:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366525581258391552,"km_value":366525581258391.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:53:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-381539300780310528,"description":"Unknown IO ID 44"} 
[2026-08-01 14:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107492096001,"power":27517,"unknown_11":206,"unknown_28":32256,"ignition":43,"odometer":null,"unknown_44":-381539300780310528}} 
[2026-08-01 14:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":146282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:53:21] local.INFO: GPS data processed {"connection_id":146282,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:53:21] local.INFO: Acknowledgment sent {"connection_id":146282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:53:43] local.INFO: TCP Data received {"connection_id":147286,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:53:43] local.INFO: Processing buffer {"connection_id":147286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:53:43] local.INFO: IMEI packet received {"connection_id":147286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":147286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:53:46] local.INFO: TCP Data received {"connection_id":147286,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:53:46] local.INFO: Processing buffer {"connection_id":147286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:53:46] local.INFO: IMEI packet received {"connection_id":147286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":147286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:53:50] local.INFO: TCP Data received {"connection_id":147286,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:53:50] local.INFO: Processing buffer {"connection_id":147286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:53:50] local.INFO: IMEI packet received {"connection_id":147286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":147286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:53:51] local.INFO: TCP Data received {"connection_id":147286,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbca1dfa8012cfa9140070549f0000b012f28..."} 
[2026-08-01 14:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbca1dfa8012cfa9140070549f0000b012f28..."} 
[2026-08-01 14:53:51] local.INFO: Processing buffer {"connection_id":147286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbca1dfa8012cfa9140070549f0000b012f28..."} 
[2026-08-01 14:53:51] local.INFO: Packet analysis {"connection_id":147286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbca1"} 
[2026-08-01 14:53:51] local.INFO: Extracted packet for processing {"connection_id":147286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbca1"} 
[2026-08-01 14:53:51] local.INFO: GPS Element Parsed {"raw_longitude":754618688,"raw_latitude":117787120,"longitude_deg":75.4618688,"latitude_deg":11.778712,"altitude":11,"angle":303,"satellites":40,"speed":42,"hex_longitude":"2cfa9140","hex_latitude":"070549f0","is_valid_coordinates":true} 
[2026-08-01 14:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107494144001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366525787416821760,"note":"Value kept but may cause issues"} 
[2026-08-01 14:53:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-387802119010316288,"note":"Value kept but may cause issues"} 
[2026-08-01 14:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785576153000,"timestamp_ms":1785576153000,"timestamp_seconds":1785576153,"priority":1,"record_length":96,"hex_timestamp":"0000019fbca1dfa8"} 
[2026-08-01 14:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:53:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-01 14:53:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:53:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":147286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":147286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":147286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:53:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107494144001,"66":27919,"11":206,"28":32256,"24":42,"16":366525787416821760,"44":-387802119010316288},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,28,24,16,44]} 
[2026-08-01 14:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107494144001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:53:51] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-01 14:53:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366525787416821760,"km_value":366525787416821.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:53:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-387802119010316288,"description":"Unknown IO ID 44"} 
[2026-08-01 14:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107494144001,"power":27919,"unknown_11":206,"unknown_28":32256,"ignition":42,"odometer":null,"unknown_44":-387802119010316288}} 
[2026-08-01 14:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":147286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:53:51] local.INFO: GPS data processed {"connection_id":147286,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:53:51] local.INFO: Acknowledgment sent {"connection_id":147286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:54:22] local.INFO: TCP Data received {"connection_id":147286,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbca1ef48012cfa820007055170000b012328..."} 
[2026-08-01 14:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbca1ef48012cfa820007055170000b012328..."} 
[2026-08-01 14:54:22] local.INFO: Processing buffer {"connection_id":147286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbca1ef48012cfa820007055170000b012328..."} 
[2026-08-01 14:54:22] local.INFO: Packet analysis {"connection_id":147286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbca1"} 
[2026-08-01 14:54:22] local.INFO: Extracted packet for processing {"connection_id":147286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbca1"} 
[2026-08-01 14:54:22] local.INFO: GPS Element Parsed {"raw_longitude":754614784,"raw_latitude":117789040,"longitude_deg":75.4614784,"latitude_deg":11.778904,"altitude":11,"angle":291,"satellites":40,"speed":42,"hex_longitude":"2cfa8200","hex_latitude":"07055170","is_valid_coordinates":true} 
[2026-08-01 14:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107495168001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366525997870219264,"note":"Value kept but may cause issues"} 
[2026-08-01 14:54:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-391461293706842112,"note":"Value kept but may cause issues"} 
[2026-08-01 14:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785576157000,"timestamp_ms":1785576157000,"timestamp_seconds":1785576157,"priority":1,"record_length":96,"hex_timestamp":"0000019fbca1ef48"} 
[2026-08-01 14:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:54:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 14:54:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:54:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107495168001,"66":27832,"11":206,"28":32256,"24":42,"16":366525997870219264,"44":-391461293706842112},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,28,24,16,44]} 
[2026-08-01 14:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107495168001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:54:22] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-01 14:54:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366525997870219264,"km_value":366525997870219.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:54:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-391461293706842112,"description":"Unknown IO ID 44"} 
[2026-08-01 14:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107495168001,"power":27832,"unknown_11":206,"unknown_28":32256,"ignition":42,"odometer":null,"unknown_44":-391461293706842112}} 
[2026-08-01 14:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":147286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:54:22] local.INFO: GPS data processed {"connection_id":147286,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:54:22] local.INFO: Acknowledgment sent {"connection_id":147286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:54:48] local.INFO: TCP Data received {"connection_id":146285,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:54:48] local.INFO: Processing buffer {"connection_id":146285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:54:48] local.INFO: IMEI packet received {"connection_id":146285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":146285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:54:50] local.INFO: TCP Data received {"connection_id":146285,"ip":"117.224.186.144","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 14:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146285,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 14:54:50] local.INFO: Processing buffer {"connection_id":146285,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 14:54:50] local.INFO: IMEI packet received {"connection_id":146285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":146285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:54:52] local.INFO: TCP Data received {"connection_id":146285,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbca31ff8012cf9b34007063580000d000125..."} 
[2026-08-01 14:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbca31ff8012cf9b34007063580000d000125..."} 
[2026-08-01 14:54:52] local.INFO: Processing buffer {"connection_id":146285,"buffer_length":829,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 14:54:52] local.INFO: IMEI packet received {"connection_id":146285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":146285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:54:54] local.INFO: TCP Data received {"connection_id":146285,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbca34af0012cf9b3c0070659a0000d016128..."} 
[2026-08-01 14:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbca34af0012cf9b3c0070659a0000d016128..."} 
[2026-08-01 14:54:54] local.INFO: Processing buffer {"connection_id":146285,"buffer_length":1607,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fbc..."} 
[2026-08-01 14:54:54] local.INFO: IMEI packet received {"connection_id":146285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":146285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:54:56] local.INFO: TCP Data received {"connection_id":146285,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbca356a8012cf9b0c007066510000c015226..."} 
[2026-08-01 14:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbca356a8012cf9b0c007066510000c015226..."} 
[2026-08-01 14:54:56] local.INFO: Processing buffer {"connection_id":146285,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a0000019fbca31ff8012cf9b34007063580000d000125..."} 
[2026-08-01 14:54:56] local.INFO: Packet analysis {"connection_id":146285,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a0000019fbca3"} 
[2026-08-01 14:54:56] local.INFO: Extracted packet for processing {"connection_id":146285,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fbca3"} 
[2026-08-01 14:54:56] local.INFO: GPS Element Parsed {"raw_longitude":754561856,"raw_latitude":117847424,"longitude_deg":75.4561856,"latitude_deg":11.7847424,"altitude":13,"angle":1,"satellites":37,"speed":32,"hex_longitude":"2cf9b340","hex_latitude":"07063580","is_valid_coordinates":true} 
[2026-08-01 14:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107515392001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366530009369673728,"note":"Value kept but may cause issues"} 
[2026-08-01 14:54:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-453808001033465856,"note":"Value kept but may cause issues"} 
[2026-08-01 14:54:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785576235000,"timestamp_ms":1785576235000,"timestamp_seconds":1785576235,"priority":1,"record_length":96,"hex_timestamp":"0000019fbca31ff8"} 
[2026-08-01 14:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:54:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 14:54:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:54:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":146285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":146285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":146285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107515392001,"66":27571,"11":206,"28":32256,"24":32,"16":366530009369673728,"44":-453808001033465856},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,28,24,16,44]} 
[2026-08-01 14:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107515392001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:54:56] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-01 14:54:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366530009369673728,"km_value":366530009369673.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:54:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-453808001033465856,"description":"Unknown IO ID 44"} 
[2026-08-01 14:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107515392001,"power":27571,"unknown_11":206,"unknown_28":32256,"ignition":32,"odometer":null,"unknown_44":-453808001033465856}} 
[2026-08-01 14:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":146285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:54:56] local.INFO: GPS data processed {"connection_id":146285,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:54:56] local.INFO: Acknowledgment sent {"connection_id":146285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:54:56] local.INFO: Packet analysis {"connection_id":146285,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fbca3"} 
[2026-08-01 14:54:56] local.INFO: Extracted packet for processing {"connection_id":146285,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbca3"} 
[2026-08-01 14:54:56] local.INFO: GPS Element Parsed {"raw_longitude":754561984,"raw_latitude":117856672,"longitude_deg":75.4561984,"latitude_deg":11.7856672,"altitude":13,"angle":353,"satellites":40,"speed":37,"hex_longitude":"2cf9b3c0","hex_latitude":"070659a0","is_valid_coordinates":true} 
[2026-08-01 14:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107516160001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366530460341239808,"note":"Value kept but may cause issues"} 
[2026-08-01 14:54:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-453948738521169920,"note":"Value kept but may cause issues"} 
[2026-08-01 14:54:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785576246000,"timestamp_ms":1785576246000,"timestamp_seconds":1785576246,"priority":1,"record_length":96,"hex_timestamp":"0000019fbca34af0"} 
[2026-08-01 14:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:54:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-01 14:54:56] 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-08-01 14:54:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":146285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":146285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":146285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107516160001,"66":27908,"166":206,"28":32256,"24":37,"16":366530460341239808,"44":-453948738521169920},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,28,24,16,44]} 
[2026-08-01 14:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107516160001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:54:56] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-01 14:54:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366530460341239808,"km_value":366530460341239.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:54:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-453948738521169920,"description":"Unknown IO ID 44"} 
[2026-08-01 14:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107516160001,"power":27908,"unknown_166":206,"unknown_28":32256,"ignition":37,"odometer":null,"unknown_44":-453948738521169920}} 
[2026-08-01 14:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":146285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:54:56] local.INFO: GPS data processed {"connection_id":146285,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:54:56] local.INFO: Acknowledgment sent {"connection_id":146285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:54:56] local.INFO: Packet analysis {"connection_id":146285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbca3"} 
[2026-08-01 14:54:56] local.INFO: Extracted packet for processing {"connection_id":146285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbca3"} 
[2026-08-01 14:54:56] local.INFO: GPS Element Parsed {"raw_longitude":754561216,"raw_latitude":117859600,"longitude_deg":75.4561216,"latitude_deg":11.78596,"altitude":12,"angle":338,"satellites":38,"speed":42,"hex_longitude":"2cf9b0c0","hex_latitude":"07066510","is_valid_coordinates":true} 
[2026-08-01 14:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107518976001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366530606370127872,"note":"Value kept but may cause issues"} 
[2026-08-01 14:54:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-453808001030447104,"note":"Value kept but may cause issues"} 
[2026-08-01 14:54:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785576249000,"timestamp_ms":1785576249000,"timestamp_seconds":1785576249,"priority":1,"record_length":96,"hex_timestamp":"0000019fbca356a8"} 
[2026-08-01 14:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:54:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 14:54:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:54:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":146285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":146285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":146285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107518976001,"66":27843,"166":206,"28":32256,"24":42,"16":366530606370127872,"44":-453808001030447104},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,28,24,16,44]} 
[2026-08-01 14:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107518976001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:54:56] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-01 14:54:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366530606370127872,"km_value":366530606370127.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:54:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-453808001030447104,"description":"Unknown IO ID 44"} 
[2026-08-01 14:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107518976001,"power":27843,"unknown_166":206,"unknown_28":32256,"ignition":42,"odometer":null,"unknown_44":-453808001030447104}} 
[2026-08-01 14:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":146285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:54:56] local.INFO: GPS data processed {"connection_id":146285,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:54:56] local.INFO: Acknowledgment sent {"connection_id":146285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:55:00] local.INFO: TCP Data received {"connection_id":146285,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbca375e8012cf9a240070686a00008015525..."} 
[2026-08-01 14:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbca375e8012cf9a240070686a00008015525..."} 
[2026-08-01 14:55:00] local.INFO: Processing buffer {"connection_id":146285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbca375e8012cf9a240070686a00008015525..."} 
[2026-08-01 14:55:00] local.INFO: Packet analysis {"connection_id":146285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbca3"} 
[2026-08-01 14:55:00] local.INFO: Extracted packet for processing {"connection_id":146285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbca3"} 
[2026-08-01 14:55:00] local.INFO: GPS Element Parsed {"raw_longitude":754557504,"raw_latitude":117868192,"longitude_deg":75.4557504,"latitude_deg":11.7868192,"altitude":8,"angle":341,"satellites":37,"speed":48,"hex_longitude":"2cf9a240","hex_latitude":"070686a0","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107519744001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366531057341693952,"note":"Value kept but may cause issues"} 
[2026-08-01 14:55:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-454652425959829504,"note":"Value kept but may cause issues"} 
[2026-08-01 14:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785576257000,"timestamp_ms":1785576257000,"timestamp_seconds":1785576257,"priority":1,"record_length":96,"hex_timestamp":"0000019fbca375e8"} 
[2026-08-01 14:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 14:55: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-08-01 14: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-08-01 14:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":146285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":146285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":146285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107519744001,"66":27876,"166":206,"28":32256,"24":48,"16":366531057341693952,"44":-454652425959829504},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,28,24,16,44]} 
[2026-08-01 14:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107519744001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:55:00] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-01 14:55:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366531057341693952,"km_value":366531057341693.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:55:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-454652425959829504,"description":"Unknown IO ID 44"} 
[2026-08-01 14:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107519744001,"power":27876,"unknown_166":206,"unknown_28":32256,"ignition":48,"odometer":null,"unknown_44":-454652425959829504}} 
[2026-08-01 14:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":146285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:55:00] local.INFO: GPS data processed {"connection_id":146285,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:55:00] local.INFO: Acknowledgment sent {"connection_id":146285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:55:44] local.INFO: TCP Data received {"connection_id":147287,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:55:44] local.INFO: Processing buffer {"connection_id":147287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:55:44] local.INFO: IMEI packet received {"connection_id":147287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":147287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:55:47] local.INFO: TCP Data received {"connection_id":147287,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:55:47] local.INFO: Processing buffer {"connection_id":147287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:55:47] local.INFO: IMEI packet received {"connection_id":147287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":147287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:55:49] local.INFO: TCP Data received {"connection_id":147287,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:55:49] local.INFO: Processing buffer {"connection_id":147287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:55:49] local.INFO: IMEI packet received {"connection_id":147287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":147287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:55:50] local.INFO: TCP Data received {"connection_id":147287,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbca39528012cf996000706aa180006015626..."} 
[2026-08-01 14:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbca39528012cf996000706aa180006015626..."} 
[2026-08-01 14:55:50] local.INFO: Processing buffer {"connection_id":147287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbca39528012cf996000706aa180006015626..."} 
[2026-08-01 14:55:50] local.INFO: Packet analysis {"connection_id":147287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbca3"} 
[2026-08-01 14:55:50] local.INFO: Extracted packet for processing {"connection_id":147287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbca3"} 
[2026-08-01 14:55:50] local.INFO: GPS Element Parsed {"raw_longitude":754554368,"raw_latitude":117877272,"longitude_deg":75.4554368,"latitude_deg":11.7877272,"altitude":6,"angle":342,"satellites":38,"speed":48,"hex_longitude":"2cf99600","hex_latitude":"0706aa18","is_valid_coordinates":true} 
[2026-08-01 14:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:55:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107521792001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:55:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366531525493129216,"note":"Value kept but may cause issues"} 
[2026-08-01 14:55:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-458733813119934464,"note":"Value kept but may cause issues"} 
[2026-08-01 14:55:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:55:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785576265000,"timestamp_ms":1785576265000,"timestamp_seconds":1785576265,"priority":1,"record_length":96,"hex_timestamp":"0000019fbca39528"} 
[2026-08-01 14:55:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:55:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 14:55:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:55:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:55:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:55:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:55:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:55:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:55:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:55:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:55:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:55:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:55:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107521792001,"66":27865,"166":206,"28":32256,"24":48,"16":366531525493129216,"44":-458733813119934464},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,28,24,16,44]} 
[2026-08-01 14:55:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:55:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:55:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107521792001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:55:50] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-01 14:55:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:55:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366531525493129216,"km_value":366531525493129.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:55:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-458733813119934464,"description":"Unknown IO ID 44"} 
[2026-08-01 14:55:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107521792001,"power":27865,"unknown_166":206,"unknown_28":32256,"ignition":48,"odometer":null,"unknown_44":-458733813119934464}} 
[2026-08-01 14:55:50] local.INFO: DEBUG: GPS processor result {"connection_id":147287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:55:50] local.INFO: GPS data processed {"connection_id":147287,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:55:50] local.INFO: Acknowledgment sent {"connection_id":147287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:56:21] local.INFO: TCP Data received {"connection_id":147287,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbca3b850012cf98c400706cdc00007015a27..."} 
[2026-08-01 14:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbca3b850012cf98c400706cdc00007015a27..."} 
[2026-08-01 14:56:21] local.INFO: Processing buffer {"connection_id":147287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbca3b850012cf98c400706cdc00007015a27..."} 
[2026-08-01 14:56:21] local.INFO: Packet analysis {"connection_id":147287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbca3"} 
[2026-08-01 14:56:21] local.INFO: Extracted packet for processing {"connection_id":147287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbca3"} 
[2026-08-01 14:56:21] local.INFO: GPS Element Parsed {"raw_longitude":754551872,"raw_latitude":117886400,"longitude_deg":75.4551872,"latitude_deg":11.78864,"altitude":7,"angle":346,"satellites":39,"speed":37,"hex_longitude":"2cf98c40","hex_latitude":"0706cdc0","is_valid_coordinates":true} 
[2026-08-01 14:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107523840001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366531980759662592,"note":"Value kept but may cause issues"} 
[2026-08-01 14:56:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-462181881582315520,"note":"Value kept but may cause issues"} 
[2026-08-01 14:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785576274000,"timestamp_ms":1785576274000,"timestamp_seconds":1785576274,"priority":1,"record_length":96,"hex_timestamp":"0000019fbca3b850"} 
[2026-08-01 14:56:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:56:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 14:56:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:56:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:56:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:56:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107523840001,"66":27865,"165":206,"28":32256,"24":37,"16":366531980759662592,"44":-462181881582315520},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-08-01 14:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107523840001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:56:21] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-01 14:56:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366531980759662592,"km_value":366531980759662.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:56:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-462181881582315520,"description":"Unknown IO ID 44"} 
[2026-08-01 14:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107523840001,"power":27865,"unknown_165":206,"unknown_28":32256,"ignition":37,"odometer":null,"unknown_44":-462181881582315520}} 
[2026-08-01 14:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":147287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:56:21] local.INFO: GPS data processed {"connection_id":147287,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:56:21] local.INFO: Acknowledgment sent {"connection_id":147287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:56:46] local.INFO: TCP Data received {"connection_id":148599,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:56:46] local.INFO: Processing buffer {"connection_id":148599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:56:46] local.INFO: IMEI packet received {"connection_id":148599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":148599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:56:49] local.INFO: TCP Data received {"connection_id":148599,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:56:49] local.INFO: Processing buffer {"connection_id":148599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:56:49] local.INFO: IMEI packet received {"connection_id":148599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":148599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:56:54] local.INFO: TCP Data received {"connection_id":148599,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:56:54] local.INFO: Processing buffer {"connection_id":148599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:56:54] local.INFO: IMEI packet received {"connection_id":148599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":148599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:56:55] local.INFO: TCP Data received {"connection_id":148599,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbca3e730012cf981c00706f0380007014e28..."} 
[2026-08-01 14:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbca3e730012cf981c00706f0380007014e28..."} 
[2026-08-01 14:56:55] local.INFO: Processing buffer {"connection_id":148599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbca3e730012cf981c00706f0380007014e28..."} 
[2026-08-01 14:56:55] local.INFO: Packet analysis {"connection_id":148599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbca3"} 
[2026-08-01 14:56:55] local.INFO: Extracted packet for processing {"connection_id":148599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbca3"} 
[2026-08-01 14:56:55] local.INFO: GPS Element Parsed {"raw_longitude":754549184,"raw_latitude":117895224,"longitude_deg":75.4549184,"latitude_deg":11.7895224,"altitude":7,"angle":334,"satellites":40,"speed":27,"hex_longitude":"2cf981c0","hex_latitude":"0706f038","is_valid_coordinates":true} 
[2026-08-01 14:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107526144001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366532427436261376,"note":"Value kept but may cause issues"} 
[2026-08-01 14:56:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-464926262602907648,"note":"Value kept but may cause issues"} 
[2026-08-01 14:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785576286000,"timestamp_ms":1785576286000,"timestamp_seconds":1785576286,"priority":1,"record_length":96,"hex_timestamp":"0000019fbca3e730"} 
[2026-08-01 14:56:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:56:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 14:56:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:56:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:56:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:56:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107526144001,"66":27995,"165":206,"28":32256,"24":27,"16":366532427436261376,"44":-464926262602907648},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-08-01 14:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107526144001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:56:55] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-01 14:56:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366532427436261376,"km_value":366532427436261.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:56:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-464926262602907648,"description":"Unknown IO ID 44"} 
[2026-08-01 14:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107526144001,"power":27995,"unknown_165":206,"unknown_28":32256,"ignition":27,"odometer":null,"unknown_44":-464926262602907648}} 
[2026-08-01 14:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":148599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:56:55] local.INFO: GPS data processed {"connection_id":148599,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:56:55] local.INFO: Acknowledgment sent {"connection_id":148599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:57:05] local.INFO: TCP Data received {"connection_id":146063,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:57:05] local.INFO: Processing buffer {"connection_id":146063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:57:05] local.INFO: IMEI packet received {"connection_id":146063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 14:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":146063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:57:06] local.INFO: TCP Data received {"connection_id":146063,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbca1bc80012d196f40071fecc8003e011a27..."} 
[2026-08-01 14:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbca1bc80012d196f40071fecc8003e011a27..."} 
[2026-08-01 14:57:06] local.INFO: Processing buffer {"connection_id":146063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbca1bc80012d196f40071fecc8003e011a27..."} 
[2026-08-01 14:57:06] local.INFO: Packet analysis {"connection_id":146063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbca1"} 
[2026-08-01 14:57:06] local.INFO: Extracted packet for processing {"connection_id":146063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbca1"} 
[2026-08-01 14:57:06] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119532744,"longitude_deg":75.66416,"latitude_deg":11.9532744,"altitude":62,"angle":282,"satellites":39,"speed":14,"hex_longitude":"2d196f40","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107491840001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265590312730624,"note":"Value kept but may cause issues"} 
[2026-08-01 14:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834865035032903680,"note":"Value kept but may cause issues"} 
[2026-08-01 14:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785576144000,"timestamp_ms":1785576144000,"timestamp_seconds":1785576144,"priority":1,"record_length":96,"hex_timestamp":"0000019fbca1bc80"} 
[2026-08-01 14:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-01 14:57:06] 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-08-01 14: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-08-01 14:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:57:06] 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-08-01 14:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107491840001,"66":13124,"102":206,"83":41984,"24":14,"16":10265590312730624,"45":1834865035032903680},"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-08-01 14:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107491840001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:57:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 14:57:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265590312730624,"km_value":10265590312730.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834865035032903680,"description":"Unknown IO ID 45"} 
[2026-08-01 14:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107491840001,"power":13124,"unknown_102":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1834865035032903680}} 
[2026-08-01 14:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":146063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577641,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:57:06] local.INFO: GPS data processed {"connection_id":146063,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:57:06] local.INFO: Acknowledgment sent {"connection_id":146063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:57:27] local.INFO: TCP Data received {"connection_id":148599,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbca58540012cf8cf4007082bf8000a01432a..."} 
[2026-08-01 14:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbca58540012cf8cf4007082bf8000a01432a..."} 
[2026-08-01 14:57:27] local.INFO: Processing buffer {"connection_id":148599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbca58540012cf8cf4007082bf8000a01432a..."} 
[2026-08-01 14:57:27] local.INFO: Packet analysis {"connection_id":148599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbca5"} 
[2026-08-01 14:57:27] local.INFO: Extracted packet for processing {"connection_id":148599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbca5"} 
[2026-08-01 14:57:27] local.INFO: GPS Element Parsed {"raw_longitude":754503488,"raw_latitude":117976056,"longitude_deg":75.4503488,"latitude_deg":11.7976056,"altitude":10,"angle":323,"satellites":42,"speed":54,"hex_longitude":"2cf8cf40","hex_latitude":"07082bf8","is_valid_coordinates":true} 
[2026-08-01 14:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107554560001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366536950036824064,"note":"Value kept but may cause issues"} 
[2026-08-01 14:57:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-512284427413444608,"note":"Value kept but may cause issues"} 
[2026-08-01 14:57:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785576392000,"timestamp_ms":1785576392000,"timestamp_seconds":1785576392,"priority":1,"record_length":96,"hex_timestamp":"0000019fbca58540"} 
[2026-08-01 14:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:57: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-08-01 14:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-01 14:57: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-08-01 14:57:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107554560001,"66":27843,"167":206,"28":32256,"24":54,"16":366536950036824064,"44":-512284427413444608},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,28,24,16,44]} 
[2026-08-01 14:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107554560001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:57:27] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-01 14:57:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366536950036824064,"km_value":366536950036824.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:57:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-512284427413444608,"description":"Unknown IO ID 44"} 
[2026-08-01 14:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107554560001,"power":27843,"unknown_167":206,"unknown_28":32256,"ignition":54,"odometer":null,"unknown_44":-512284427413444608}} 
[2026-08-01 14:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":148599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:57:27] local.INFO: GPS data processed {"connection_id":148599,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:57:27] local.INFO: Acknowledgment sent {"connection_id":148599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:57:37] local.INFO: TCP Data received {"connection_id":146063,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbca542d8012d1968c0071fee10003d011428..."} 
[2026-08-01 14:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbca542d8012d1968c0071fee10003d011428..."} 
[2026-08-01 14:57:37] local.INFO: Processing buffer {"connection_id":146063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbca542d8012d1968c0071fee10003d011428..."} 
[2026-08-01 14:57:37] local.INFO: Packet analysis {"connection_id":146063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbca5"} 
[2026-08-01 14:57:37] local.INFO: Extracted packet for processing {"connection_id":146063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbca5"} 
[2026-08-01 14:57:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 14:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107546624001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 14:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 14:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785576375000,"timestamp_ms":1785576375000,"timestamp_seconds":1785576375,"priority":1,"record_length":96,"hex_timestamp":"0000019fbca542d8"} 
[2026-08-01 14:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-08-01 14:57:37] 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-08-01 14:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:57:37] 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-08-01 14:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107546624001,"66":12917,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 14:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107546624001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:57:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 14:57:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 14:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107546624001,"power":12917,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 14:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":146063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:57:37] local.INFO: GPS data processed {"connection_id":146063,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:57:37] local.INFO: Acknowledgment sent {"connection_id":146063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:58:05] local.INFO: TCP Data received {"connection_id":148600,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:58:05] local.INFO: Processing buffer {"connection_id":148600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:58:05] local.INFO: IMEI packet received {"connection_id":148600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 14:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":148600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:58:08] local.INFO: TCP Data received {"connection_id":146286,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:58:08] local.INFO: Processing buffer {"connection_id":146286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:58:08] local.INFO: IMEI packet received {"connection_id":146286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":146286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:58:10] local.INFO: TCP Data received {"connection_id":148600,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:58:10] local.INFO: Processing buffer {"connection_id":148600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:58:10] local.INFO: IMEI packet received {"connection_id":148600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":148600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:58:11] local.INFO: TCP Data received {"connection_id":146286,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:58:11] local.INFO: Processing buffer {"connection_id":146286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:58:11] local.INFO: IMEI packet received {"connection_id":146286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":146286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:58:13] local.INFO: TCP Data received {"connection_id":148600,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbca594e0012d1968c0071fee10003d011429..."} 
[2026-08-01 14:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbca594e0012d1968c0071fee10003d011429..."} 
[2026-08-01 14:58:13] local.INFO: Processing buffer {"connection_id":148600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbca594e0012d1968c0071fee10003d011429..."} 
[2026-08-01 14:58:13] local.INFO: Packet analysis {"connection_id":148600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbca5"} 
[2026-08-01 14:58:13] local.INFO: Extracted packet for processing {"connection_id":148600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbca5"} 
[2026-08-01 14:58:13] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 14:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107552000001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 14:58:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 14:58: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-08-01 14:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785576396000,"timestamp_ms":1785576396000,"timestamp_seconds":1785576396,"priority":1,"record_length":96,"hex_timestamp":"0000019fbca594e0"} 
[2026-08-01 14:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:58: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-08-01 14:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-01 14:58:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:58:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":148600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":148600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":148600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:58:13] 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-08-01 14:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107552000001,"66":12885,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 14:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107552000001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:58:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 14:58:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:58:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 14:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107552000001,"power":12885,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 14:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":148600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:58:13] local.INFO: GPS data processed {"connection_id":148600,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:58:13] local.INFO: Acknowledgment sent {"connection_id":148600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:58:15] local.INFO: TCP Data received {"connection_id":148600,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbca5e6e8012d1968c0071fee10003d011429..."} 
[2026-08-01 14:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbca5e6e8012d1968c0071fee10003d011429..."} 
[2026-08-01 14:58:15] local.INFO: Processing buffer {"connection_id":148600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbca5e6e8012d1968c0071fee10003d011429..."} 
[2026-08-01 14:58:15] local.INFO: Packet analysis {"connection_id":148600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbca5"} 
[2026-08-01 14:58:15] local.INFO: Extracted packet for processing {"connection_id":148600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbca5"} 
[2026-08-01 14:58:15] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 14:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107557376001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 14:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 14:58: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-08-01 14:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785576417000,"timestamp_ms":1785576417000,"timestamp_seconds":1785576417,"priority":1,"record_length":96,"hex_timestamp":"0000019fbca5e6e8"} 
[2026-08-01 14:58:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:58:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-01 14:58: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-08-01 14:58:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:58:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:58: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-08-01 14:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107557376001,"66":12863,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 14:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107557376001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:58:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 14:58:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 14:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107557376001,"power":12863,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 14:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":148600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577645,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:58:15] local.INFO: GPS data processed {"connection_id":148600,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:58:15] local.INFO: Acknowledgment sent {"connection_id":148600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:58:17] local.INFO: TCP Data received {"connection_id":146286,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbca5a098012cf8b84007084a38000901442b..."} 
[2026-08-01 14:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbca5a098012cf8b84007084a38000901442b..."} 
[2026-08-01 14:58:17] local.INFO: Processing buffer {"connection_id":146286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbca5a098012cf8b84007084a38000901442b..."} 
[2026-08-01 14:58:17] local.INFO: Packet analysis {"connection_id":146286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbca5"} 
[2026-08-01 14:58:17] local.INFO: Extracted packet for processing {"connection_id":146286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbca5"} 
[2026-08-01 14:58:17] local.INFO: GPS Element Parsed {"raw_longitude":754497600,"raw_latitude":117983800,"longitude_deg":75.44976,"latitude_deg":11.79838,"altitude":9,"angle":324,"satellites":43,"speed":54,"hex_longitude":"2cf8b840","hex_latitude":"07084a38","is_valid_coordinates":true} 
[2026-08-01 14:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107556352001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366537418188259328,"note":"Value kept but may cause issues"} 
[2026-08-01 14:58:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-518125033178269696,"note":"Value kept but may cause issues"} 
[2026-08-01 14:58:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785576399000,"timestamp_ms":1785576399000,"timestamp_seconds":1785576399,"priority":1,"record_length":96,"hex_timestamp":"0000019fbca5a098"} 
[2026-08-01 14:58:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:58:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 14:58:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:58:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:58:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":146286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":146286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":146286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:58:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107556352001,"66":27767,"167":206,"28":32256,"24":54,"16":366537418188259328,"44":-518125033178269696},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,28,24,16,44]} 
[2026-08-01 14:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107556352001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:58:17] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-01 14:58:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366537418188259328,"km_value":366537418188259.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:58:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-518125033178269696,"description":"Unknown IO ID 44"} 
[2026-08-01 14:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107556352001,"power":27767,"unknown_167":206,"unknown_28":32256,"ignition":54,"odometer":null,"unknown_44":-518125033178269696}} 
[2026-08-01 14:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":146286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:58:17] local.INFO: GPS data processed {"connection_id":146286,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:58:17] local.INFO: Acknowledgment sent {"connection_id":146286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:58:22] local.INFO: TCP Data received {"connection_id":146286,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbca5bbf0012cf8a300070866f0000a01442a..."} 
[2026-08-01 14:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbca5bbf0012cf8a300070866f0000a01442a..."} 
[2026-08-01 14:58:22] local.INFO: Processing buffer {"connection_id":146286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbca5bbf0012cf8a300070866f0000a01442a..."} 
[2026-08-01 14:58:22] local.INFO: Packet analysis {"connection_id":146286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbca5"} 
[2026-08-01 14:58:22] local.INFO: Extracted packet for processing {"connection_id":146286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbca5"} 
[2026-08-01 14:58:22] local.INFO: GPS Element Parsed {"raw_longitude":754492160,"raw_latitude":117991152,"longitude_deg":75.449216,"latitude_deg":11.7991152,"altitude":10,"angle":324,"satellites":42,"speed":48,"hex_longitude":"2cf8a300","hex_latitude":"070866f0","is_valid_coordinates":true} 
[2026-08-01 14:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107558144001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366537860569890816,"note":"Value kept but may cause issues"} 
[2026-08-01 14:58:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-524598957640632320,"note":"Value kept but may cause issues"} 
[2026-08-01 14:58:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785576406000,"timestamp_ms":1785576406000,"timestamp_seconds":1785576406,"priority":1,"record_length":96,"hex_timestamp":"0000019fbca5bbf0"} 
[2026-08-01 14:58:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:58:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 14:58:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:58:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:58:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:58:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107558144001,"66":27919,"167":206,"28":32256,"24":48,"16":366537860569890816,"44":-524598957640632320},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,28,24,16,44]} 
[2026-08-01 14:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107558144001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:58:22] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-01 14:58:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366537860569890816,"km_value":366537860569890.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:58:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-524598957640632320,"description":"Unknown IO ID 44"} 
[2026-08-01 14:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107558144001,"power":27919,"unknown_167":206,"unknown_28":32256,"ignition":48,"odometer":null,"unknown_44":-524598957640632320}} 
[2026-08-01 14:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":146286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:58:22] local.INFO: GPS data processed {"connection_id":146286,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:58:22] local.INFO: Acknowledgment sent {"connection_id":146286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:58:44] local.INFO: TCP Data received {"connection_id":146064,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:58:44] local.INFO: Processing buffer {"connection_id":146064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:58:44] local.INFO: IMEI packet received {"connection_id":146064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":146064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:58:50] local.INFO: TCP Data received {"connection_id":146064,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:58:50] local.INFO: Processing buffer {"connection_id":146064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:58:50] local.INFO: IMEI packet received {"connection_id":146064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":146064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:58:53] local.INFO: TCP Data received {"connection_id":146064,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbca5db30012cf88cc0070885a8000b01442a..."} 
[2026-08-01 14:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbca5db30012cf88cc0070885a8000b01442a..."} 
[2026-08-01 14:58:53] local.INFO: Processing buffer {"connection_id":146064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbca5db30012cf88cc0070885a8000b01442a..."} 
[2026-08-01 14:58:53] local.INFO: Packet analysis {"connection_id":146064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbca5"} 
[2026-08-01 14:58:53] local.INFO: Extracted packet for processing {"connection_id":146064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbca5"} 
[2026-08-01 14:58:53] local.INFO: GPS Element Parsed {"raw_longitude":754486464,"raw_latitude":117999016,"longitude_deg":75.4486464,"latitude_deg":11.7999016,"altitude":11,"angle":324,"satellites":42,"speed":47,"hex_longitude":"2cf88cc0","hex_latitude":"070885a8","is_valid_coordinates":true} 
[2026-08-01 14:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107559936001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366538328721326080,"note":"Value kept but may cause issues"} 
[2026-08-01 14:58:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-530580300893851648,"note":"Value kept but may cause issues"} 
[2026-08-01 14:58:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785576414000,"timestamp_ms":1785576414000,"timestamp_seconds":1785576414,"priority":1,"record_length":96,"hex_timestamp":"0000019fbca5db30"} 
[2026-08-01 14:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:58:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 14:58:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:58:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":146064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":146064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":146064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:58:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107559936001,"66":27876,"167":206,"28":32256,"24":47,"16":366538328721326080,"44":-530580300893851648},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,28,24,16,44]} 
[2026-08-01 14:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107559936001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:58:53] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-01 14:58:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-01 14:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366538328721326080,"km_value":366538328721326.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:58:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-530580300893851648,"description":"Unknown IO ID 44"} 
[2026-08-01 14:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107559936001,"power":27876,"unknown_167":206,"unknown_28":32256,"ignition":47,"odometer":null,"unknown_44":-530580300893851648}} 
[2026-08-01 14:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":146064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:58:53] local.INFO: GPS data processed {"connection_id":146064,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:58:53] local.INFO: Acknowledgment sent {"connection_id":146064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:58:59] local.INFO: TCP Data received {"connection_id":147289,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:58:59] local.INFO: Processing buffer {"connection_id":147289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:58:59] local.INFO: IMEI packet received {"connection_id":147289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 14:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":147289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:59:00] local.INFO: TCP Data received {"connection_id":147289,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:59:00] local.INFO: Processing buffer {"connection_id":147289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:59:00] local.INFO: IMEI packet received {"connection_id":147289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":147289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:59:05] local.INFO: TCP Data received {"connection_id":147289,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:59:05] local.INFO: Processing buffer {"connection_id":147289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:59:05] local.INFO: IMEI packet received {"connection_id":147289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":147289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:59:06] local.INFO: TCP Data received {"connection_id":147289,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbca638f0012d1968c0071fee10003d011429..."} 
[2026-08-01 14:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbca638f0012d1968c0071fee10003d011429..."} 
[2026-08-01 14:59:06] local.INFO: Processing buffer {"connection_id":147289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbca638f0012d1968c0071fee10003d011429..."} 
[2026-08-01 14:59:06] local.INFO: Packet analysis {"connection_id":147289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbca6"} 
[2026-08-01 14:59:06] local.INFO: Extracted packet for processing {"connection_id":147289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbca6"} 
[2026-08-01 14:59:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 14:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107562752001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 14:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 14:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785576438000,"timestamp_ms":1785576438000,"timestamp_seconds":1785576438,"priority":1,"record_length":96,"hex_timestamp":"0000019fbca638f0"} 
[2026-08-01 14:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-01 14:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:59:06] 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-08-01 14:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107562752001,"66":12841,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 14:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107562752001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:59:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 14:59:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 14:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107562752001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 14:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":147289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577649,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:59:06] local.INFO: GPS data processed {"connection_id":147289,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:59:06] local.INFO: Acknowledgment sent {"connection_id":147289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:59:26] local.INFO: TCP Data received {"connection_id":146064,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbca75230012cf76d80070a14b0000b013f2b..."} 
[2026-08-01 14:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbca75230012cf76d80070a14b0000b013f2b..."} 
[2026-08-01 14:59:26] local.INFO: Processing buffer {"connection_id":146064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbca75230012cf76d80070a14b0000b013f2b..."} 
[2026-08-01 14:59:26] local.INFO: Packet analysis {"connection_id":146064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbca7"} 
[2026-08-01 14:59:26] local.INFO: Extracted packet for processing {"connection_id":146064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbca7"} 
[2026-08-01 14:59:26] local.INFO: GPS Element Parsed {"raw_longitude":754412928,"raw_latitude":118101168,"longitude_deg":75.4412928,"latitude_deg":11.8101168,"altitude":11,"angle":319,"satellites":43,"speed":51,"hex_longitude":"2cf76d80","hex_latitude":"070a14b0","is_valid_coordinates":true} 
[2026-08-01 14:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 14:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107584768001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366544436164820992,"note":"Value kept but may cause issues"} 
[2026-08-01 14:59:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-611011775462500352,"note":"Value kept but may cause issues"} 
[2026-08-01 14:59:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 14:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785576510000,"timestamp_ms":1785576510000,"timestamp_seconds":1785576510,"priority":1,"record_length":96,"hex_timestamp":"0000019fbca75230"} 
[2026-08-01 14:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:59:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 14:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 14:59:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 14:59:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 14:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":146064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":146064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":146064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 14:59:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 14:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 14:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 14:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107584768001,"66":27908,"31":206,"2":54272,"24":51,"16":366544436164820992,"44":-611011775462500352},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,2,24,16,44]} 
[2026-08-01 14:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 14:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 14:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107584768001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:59:26] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-01 14:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366544436164820992,"km_value":366544436164821.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:59:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-611011775462500352,"description":"Unknown IO ID 44"} 
[2026-08-01 14:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107584768001,"power":27908,"unknown_31":206,"power_alt":54272,"ignition":51,"odometer":null,"unknown_44":-611011775462500352}} 
[2026-08-01 14:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":146064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:59:26] local.INFO: GPS data processed {"connection_id":146064,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:59:26] local.INFO: Acknowledgment sent {"connection_id":146064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:59:35] local.INFO: TCP Data received {"connection_id":148601,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:59:35] local.INFO: Processing buffer {"connection_id":148601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:59:35] local.INFO: IMEI packet received {"connection_id":148601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 14:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":148601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:59:40] local.INFO: TCP Data received {"connection_id":148601,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:59:40] local.INFO: Processing buffer {"connection_id":148601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 14:59:40] local.INFO: IMEI packet received {"connection_id":148601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 14:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":148601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:59:41] local.INFO: TCP Data received {"connection_id":148601,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbca6dd00012d1968c0071fee10003d011426..."} 
[2026-08-01 14:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbca6dd00012d1968c0071fee10003d011426..."} 
[2026-08-01 14:59:41] local.INFO: Processing buffer {"connection_id":148601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbca6dd00012d1968c0071fee10003d011426..."} 
[2026-08-01 14:59:41] local.INFO: Packet analysis {"connection_id":148601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbca6"} 
[2026-08-01 14:59:41] local.INFO: Extracted packet for processing {"connection_id":148601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbca6"} 
[2026-08-01 14:59:41] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 14: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-08-01 14:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107573504001,"note":"Value kept but may cause issues"} 
[2026-08-01 14:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 14:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 14: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-08-01 14:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785576480000,"timestamp_ms":1785576480000,"timestamp_seconds":1785576480,"priority":1,"record_length":96,"hex_timestamp":"0000019fbca6dd00"} 
[2026-08-01 14:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 14:59: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-08-01 14: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 14:59: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-08-01 14: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-08-01 14:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 14:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 14:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":148601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 14:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":148601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":148601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 14:59: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-08-01 14:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 14:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 14:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107573504001,"66":12841,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 14:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 14:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 14:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107573504001,"description":"Unknown IO ID 0"} 
[2026-08-01 14:59:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 14:59:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 14:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 14:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 14:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107573504001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 14:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":148601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577651,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 14:59:41] local.INFO: GPS data processed {"connection_id":148601,"processed":1,"errors":0,"total":1} 
[2026-08-01 14:59:41] local.INFO: Acknowledgment sent {"connection_id":148601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 14:59:49] local.INFO: TCP Data received {"connection_id":146287,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:59:49] local.INFO: Processing buffer {"connection_id":146287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:59:49] local.INFO: IMEI packet received {"connection_id":146287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 14:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":146287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 14:59:50] local.INFO: TCP Data received {"connection_id":146287,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:59:50] local.INFO: Processing buffer {"connection_id":146287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:59:50] local.INFO: IMEI packet received {"connection_id":146287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":146287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 14:59:54] local.INFO: TCP Data received {"connection_id":146287,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:59:54] local.INFO: Processing buffer {"connection_id":146287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 14:59:54] local.INFO: IMEI packet received {"connection_id":146287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 14:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":146287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:00:05] local.INFO: TCP Data received {"connection_id":147290,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147290,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:00:05] local.INFO: Processing buffer {"connection_id":147290,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:00:05] local.INFO: IMEI packet received {"connection_id":147290,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":147290,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:00:10] local.INFO: TCP Data received {"connection_id":147290,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147290,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:00:10] local.INFO: Processing buffer {"connection_id":147290,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:00:10] local.INFO: IMEI packet received {"connection_id":147290,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":147290,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:00:11] local.INFO: TCP Data received {"connection_id":147290,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbca72f08012d1968c0071fee10003d01142a..."} 
[2026-08-01 15:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbca72f08012d1968c0071fee10003d01142a..."} 
[2026-08-01 15:00:11] local.INFO: Processing buffer {"connection_id":147290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbca72f08012d1968c0071fee10003d01142a..."} 
[2026-08-01 15:00:11] local.INFO: Packet analysis {"connection_id":147290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbca7"} 
[2026-08-01 15:00:11] local.INFO: Extracted packet for processing {"connection_id":147290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbca7"} 
[2026-08-01 15:00:11] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107578880001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15: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-08-01 15:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785576501000,"timestamp_ms":1785576501000,"timestamp_seconds":1785576501,"priority":1,"record_length":96,"hex_timestamp":"0000019fbca72f08"} 
[2026-08-01 15:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15: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-08-01 15: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":41,"data_length":795,"current_offset":136} 
[2026-08-01 15:00: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-08-01 15: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-08-01 15:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":147290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":147290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":147290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:00:11] 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-08-01 15:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107578880001,"66":12809,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107578880001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:00:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:00:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107578880001,"power":12809,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":147290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:00:11] local.INFO: GPS data processed {"connection_id":147290,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:00:11] local.INFO: Acknowledgment sent {"connection_id":147290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:00:35] local.INFO: TCP Data received {"connection_id":146287,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbca76d88012cf75700070a3048000b01402b..."} 
[2026-08-01 15:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbca76d88012cf75700070a3048000b01402b..."} 
[2026-08-01 15:00:35] local.INFO: Processing buffer {"connection_id":146287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbca76d88012cf75700070a3048000b01402b..."} 
[2026-08-01 15:00:35] local.INFO: Packet analysis {"connection_id":146287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbca7"} 
[2026-08-01 15:00:35] local.INFO: Extracted packet for processing {"connection_id":146287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbca7"} 
[2026-08-01 15:00:35] local.INFO: GPS Element Parsed {"raw_longitude":754407168,"raw_latitude":118108232,"longitude_deg":75.4407168,"latitude_deg":11.8108232,"altitude":11,"angle":320,"satellites":43,"speed":52,"hex_longitude":"2cf75700","hex_latitude":"070a3048","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107586560001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366544874251485184,"note":"Value kept but may cause issues"} 
[2026-08-01 15:00:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-617696806157635584,"note":"Value kept but may cause issues"} 
[2026-08-01 15:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785576517000,"timestamp_ms":1785576517000,"timestamp_seconds":1785576517,"priority":1,"record_length":96,"hex_timestamp":"0000019fbca76d88"} 
[2026-08-01 15:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:00:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 15:00: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-08-01 15: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-08-01 15:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107586560001,"66":27691,"31":206,"2":54272,"24":52,"16":366544874251485184,"44":-617696806157635584},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,2,24,16,44]} 
[2026-08-01 15:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107586560001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:00:35] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-01 15:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366544874251485184,"km_value":366544874251485.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:00:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-617696806157635584,"description":"Unknown IO ID 44"} 
[2026-08-01 15:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107586560001,"power":27691,"unknown_31":206,"power_alt":54272,"ignition":52,"odometer":null,"unknown_44":-617696806157635584}} 
[2026-08-01 15:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":146287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:00:35] local.INFO: GPS data processed {"connection_id":146287,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:00:35] local.INFO: Acknowledgment sent {"connection_id":146287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:00:42] local.INFO: TCP Data received {"connection_id":147290,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbca78110012d1968c0071fee10003d01142a..."} 
[2026-08-01 15:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbca78110012d1968c0071fee10003d01142a..."} 
[2026-08-01 15:00:42] local.INFO: Processing buffer {"connection_id":147290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbca78110012d1968c0071fee10003d01142a..."} 
[2026-08-01 15:00:42] local.INFO: Packet analysis {"connection_id":147290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbca7"} 
[2026-08-01 15:00:42] local.INFO: Extracted packet for processing {"connection_id":147290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbca7"} 
[2026-08-01 15:00:42] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107584256001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:00:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15: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-08-01 15:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785576522000,"timestamp_ms":1785576522000,"timestamp_seconds":1785576522,"priority":1,"record_length":96,"hex_timestamp":"0000019fbca78110"} 
[2026-08-01 15:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15: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-08-01 15: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":9,"data_length":795,"current_offset":136} 
[2026-08-01 15:00:42] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-01 15:00:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 15:00:42] local.WARNING: Large IO value detected {"io_id":120,"raw_value":2466250752,"note":"Value kept but may cause issues"} 
[2026-08-01 15:00:42] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3164947160,"note":"Value kept but may cause issues"} 
[2026-08-01 15:00:42] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-01 15:00:42] local.WARNING: Large IO value detected {"io_id":188,"raw_value":-6561515953608628032,"note":"Value kept but may cause issues"} 
[2026-08-01 15:00:42] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026045,"note":"Value kept but may cause issues"} 
[2026-08-01 15:00:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-01 15:00:42] local.WARNING: Large IO value detected {"io_id":148,"raw_value":3758173465,"note":"Value kept but may cause issues"} 
[2026-08-01 15:00:42] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-01 15:00:42] local.WARNING: Large IO value detected {"io_id":50,"raw_value":8430964419428666963,"note":"Value kept but may cause issues"} 
[2026-08-01 15:00:42] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300794052842427431,"note":"Value kept but may cause issues"} 
[2026-08-01 15:00:42] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-01 15:00:42] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,120,159,221,45,192,238,61,38,10,66,138,39,56,1,240,41,227,188,31,4,113,205,148,104,239,50,2,36,7,164,147],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-01 15:00:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395816881911496704,"timestamp_seconds":4395816881911496.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 15:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":147290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":147290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":147290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:00: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-08-01 15:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107584256001,"66":12798,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107584256001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:00:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:00:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:00:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107584256001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":147290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577654,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:00:42] local.INFO: GPS data processed {"connection_id":147290,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:00:42] local.INFO: Acknowledgment sent {"connection_id":147290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:00:44] local.INFO: TCP Data received {"connection_id":147291,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:00:44] local.INFO: Processing buffer {"connection_id":147291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:00:44] local.INFO: IMEI packet received {"connection_id":147291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 15:00:44] local.INFO: IMEI acknowledgment sent {"connection_id":147291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:00:49] local.INFO: TCP Data received {"connection_id":147291,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:00:49] local.INFO: Processing buffer {"connection_id":147291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:00:49] local.INFO: IMEI packet received {"connection_id":147291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":147291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:00:50] local.INFO: TCP Data received {"connection_id":147291,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:00:50] local.INFO: Processing buffer {"connection_id":147291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:00:50] local.INFO: IMEI packet received {"connection_id":147291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":147291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:00:54] local.INFO: TCP Data received {"connection_id":147291,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbca7a438012cf72740070a6ac8000b01422b..."} 
[2026-08-01 15:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbca7a438012cf72740070a6ac8000b01422b..."} 
[2026-08-01 15:00:54] local.INFO: Processing buffer {"connection_id":147291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbca7a438012cf72740070a6ac8000b01422b..."} 
[2026-08-01 15:00:54] local.INFO: Packet analysis {"connection_id":147291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbca7"} 
[2026-08-01 15:00:54] local.INFO: Extracted packet for processing {"connection_id":147291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbca7"} 
[2026-08-01 15:00:54] local.INFO: GPS Element Parsed {"raw_longitude":754394944,"raw_latitude":118123208,"longitude_deg":75.4394944,"latitude_deg":11.8123208,"altitude":11,"angle":322,"satellites":43,"speed":58,"hex_longitude":"2cf72740","hex_latitude":"070a6ac8","is_valid_coordinates":true} 
[2026-08-01 15:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107590144001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366545806259388416,"note":"Value kept but may cause issues"} 
[2026-08-01 15:00:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-630644655082663936,"note":"Value kept but may cause issues"} 
[2026-08-01 15:00:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785576531000,"timestamp_ms":1785576531000,"timestamp_seconds":1785576531,"priority":1,"record_length":96,"hex_timestamp":"0000019fbca7a438"} 
[2026-08-01 15:00:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:00:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 15:00:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:00:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:00:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":147291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":147291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":147291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:00:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107590144001,"66":27821,"32":206,"2":54272,"24":58,"16":366545806259388416,"44":-630644655082663936},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-08-01 15:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107590144001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:00:54] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-01 15:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366545806259388416,"km_value":366545806259388.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:00:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-630644655082663936,"description":"Unknown IO ID 44"} 
[2026-08-01 15:00:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107590144001,"power":27821,"unknown_32":206,"power_alt":54272,"ignition":58,"odometer":null,"unknown_44":-630644655082663936}} 
[2026-08-01 15:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":147291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:00:54] local.INFO: GPS data processed {"connection_id":147291,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:00:54] local.INFO: Acknowledgment sent {"connection_id":147291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:00:55] local.INFO: TCP Data received {"connection_id":147291,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbca7bba8012cf71100070a8628000b01412a..."} 
[2026-08-01 15:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbca7bba8012cf71100070a8628000b01412a..."} 
[2026-08-01 15:00:55] local.INFO: Processing buffer {"connection_id":147291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbca7bba8012cf71100070a8628000b01412a..."} 
[2026-08-01 15:00:55] local.INFO: Packet analysis {"connection_id":147291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbca7"} 
[2026-08-01 15:00:55] local.INFO: Extracted packet for processing {"connection_id":147291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbca7"} 
[2026-08-01 15:00:55] local.INFO: GPS Element Parsed {"raw_longitude":754389248,"raw_latitude":118130216,"longitude_deg":75.4389248,"latitude_deg":11.8130216,"altitude":11,"angle":321,"satellites":42,"speed":61,"hex_longitude":"2cf71100","hex_latitude":"070a8628","is_valid_coordinates":true} 
[2026-08-01 15:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107591936001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366546240051085312,"note":"Value kept but may cause issues"} 
[2026-08-01 15:00:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-637470423265916928,"note":"Value kept but may cause issues"} 
[2026-08-01 15:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785576537000,"timestamp_ms":1785576537000,"timestamp_seconds":1785576537,"priority":1,"record_length":96,"hex_timestamp":"0000019fbca7bba8"} 
[2026-08-01 15:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 15:00:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":147291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":147291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":147291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107591936001,"66":27745,"32":206,"2":54272,"24":61,"16":366546240051085312,"44":-637470423265916928},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-08-01 15:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107591936001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:00:55] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-01 15:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366546240051085312,"km_value":366546240051085.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:00:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-637470423265916928,"description":"Unknown IO ID 44"} 
[2026-08-01 15:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107591936001,"power":27745,"unknown_32":206,"power_alt":54272,"ignition":61,"odometer":null,"unknown_44":-637470423265916928}} 
[2026-08-01 15:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":147291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:00:55] local.INFO: GPS data processed {"connection_id":147291,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:00:55] local.INFO: Acknowledgment sent {"connection_id":147291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:01:00] local.INFO: TCP Data received {"connection_id":148602,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:01:00] local.INFO: Processing buffer {"connection_id":148602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:01:00] local.INFO: IMEI packet received {"connection_id":148602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":148602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:01:05] local.INFO: TCP Data received {"connection_id":148602,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:01:05] local.INFO: Processing buffer {"connection_id":148602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:01:05] local.INFO: IMEI packet received {"connection_id":148602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":148602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:01:06] local.INFO: TCP Data received {"connection_id":148602,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbca7d318012d1968c0071fee10003d011426..."} 
[2026-08-01 15:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbca7d318012d1968c0071fee10003d011426..."} 
[2026-08-01 15:01:06] local.INFO: Processing buffer {"connection_id":148602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbca7d318012d1968c0071fee10003d011426..."} 
[2026-08-01 15:01:06] local.INFO: Packet analysis {"connection_id":148602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbca7"} 
[2026-08-01 15:01:06] local.INFO: Extracted packet for processing {"connection_id":148602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbca7"} 
[2026-08-01 15:01:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107589632001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785576543000,"timestamp_ms":1785576543000,"timestamp_seconds":1785576543,"priority":1,"record_length":96,"hex_timestamp":"0000019fbca7d318"} 
[2026-08-01 15:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-01 15:01:06] 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-08-01 15: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-08-01 15:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:01:06] 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-08-01 15:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107589632001,"66":12722,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107589632001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:01:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:01:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107589632001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":148602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:01:06] local.INFO: GPS data processed {"connection_id":148602,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:01:06] local.INFO: Acknowledgment sent {"connection_id":148602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:01:27] local.INFO: TCP Data received {"connection_id":147291,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbca7d318012cf6fb80070aa240000a01442b..."} 
[2026-08-01 15:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbca7d318012cf6fb80070aa240000a01442b..."} 
[2026-08-01 15:01:27] local.INFO: Processing buffer {"connection_id":147291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbca7d318012cf6fb80070aa240000a01442b..."} 
[2026-08-01 15:01:27] local.INFO: Packet analysis {"connection_id":147291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbca7"} 
[2026-08-01 15:01:27] local.INFO: Extracted packet for processing {"connection_id":147291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbca7"} 
[2026-08-01 15:01:27] local.INFO: GPS Element Parsed {"raw_longitude":754383744,"raw_latitude":118137408,"longitude_deg":75.4383744,"latitude_deg":11.8137408,"altitude":10,"angle":324,"satellites":43,"speed":58,"hex_longitude":"2cf6fb80","hex_latitude":"070aa240","is_valid_coordinates":true} 
[2026-08-01 15:01: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-08-01 15:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107593472001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366546673842782208,"note":"Value kept but may cause issues"} 
[2026-08-01 15:01:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-643733241495934976,"note":"Value kept but may cause issues"} 
[2026-08-01 15:01:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785576543000,"timestamp_ms":1785576543000,"timestamp_seconds":1785576543,"priority":1,"record_length":96,"hex_timestamp":"0000019fbca7d318"} 
[2026-08-01 15:01:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:01: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-08-01 15:01: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-08-01 15:01: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-08-01 15:01: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-08-01 15:01:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":147291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":147291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":147291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:01:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107593472001,"66":27876,"32":206,"2":54272,"24":58,"16":366546673842782208,"44":-643733241495934976},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-08-01 15:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107593472001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:01:27] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-01 15:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366546673842782208,"km_value":366546673842782.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:01:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-643733241495934976,"description":"Unknown IO ID 44"} 
[2026-08-01 15:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107593472001,"power":27876,"unknown_32":206,"power_alt":54272,"ignition":58,"odometer":null,"unknown_44":-643733241495934976}} 
[2026-08-01 15:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":147291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:01:27] local.INFO: GPS data processed {"connection_id":147291,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:01:27] local.INFO: Acknowledgment sent {"connection_id":147291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:01:37] local.INFO: TCP Data received {"connection_id":148602,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbca82520012d1968c0071fee10003d011429..."} 
[2026-08-01 15:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbca82520012d1968c0071fee10003d011429..."} 
[2026-08-01 15:01:37] local.INFO: Processing buffer {"connection_id":148602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbca82520012d1968c0071fee10003d011429..."} 
[2026-08-01 15:01:37] local.INFO: Packet analysis {"connection_id":148602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbca8"} 
[2026-08-01 15:01:37] local.INFO: Extracted packet for processing {"connection_id":148602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbca8"} 
[2026-08-01 15:01:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107595008001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785576564000,"timestamp_ms":1785576564000,"timestamp_seconds":1785576564,"priority":1,"record_length":96,"hex_timestamp":"0000019fbca82520"} 
[2026-08-01 15:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-01 15:01:37] 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-08-01 15:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:01:37] 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-08-01 15:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107595008001,"66":12722,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107595008001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:01:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:01:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107595008001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":148602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577659,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:01:37] local.INFO: GPS data processed {"connection_id":148602,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:01:37] local.INFO: Acknowledgment sent {"connection_id":148602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:01:44] local.INFO: TCP Data received {"connection_id":147292,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:01:44] local.INFO: Processing buffer {"connection_id":147292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:01:44] local.INFO: IMEI packet received {"connection_id":147292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 15:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":147292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:01:49] local.INFO: TCP Data received {"connection_id":147292,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:01:49] local.INFO: Processing buffer {"connection_id":147292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:01:49] local.INFO: IMEI packet received {"connection_id":147292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":147292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:01:50] local.INFO: TCP Data received {"connection_id":147292,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbca951e8012cf61a00070bb860000701572a..."} 
[2026-08-01 15:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbca951e8012cf61a00070bb860000701572a..."} 
[2026-08-01 15:01:50] local.INFO: Processing buffer {"connection_id":147292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbca951e8012cf61a00070bb860000701572a..."} 
[2026-08-01 15:01:50] local.INFO: Packet analysis {"connection_id":147292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbca9"} 
[2026-08-01 15:01:50] local.INFO: Extracted packet for processing {"connection_id":147292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbca9"} 
[2026-08-01 15:01:50] local.INFO: GPS Element Parsed {"raw_longitude":754326016,"raw_latitude":118208608,"longitude_deg":75.4326016,"latitude_deg":11.8208608,"altitude":7,"angle":343,"satellites":42,"speed":33,"hex_longitude":"2cf61a00","hex_latitude":"070bb860","is_valid_coordinates":true} 
[2026-08-01 15:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107617280001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366551114838966272,"note":"Value kept but may cause issues"} 
[2026-08-01 15:01:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-709316911051517952,"note":"Value kept but may cause issues"} 
[2026-08-01 15:01:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785576641000,"timestamp_ms":1785576641000,"timestamp_seconds":1785576641,"priority":1,"record_length":96,"hex_timestamp":"0000019fbca951e8"} 
[2026-08-01 15:01:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:01:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 15:01:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:01:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:01:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:01:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107617280001,"66":27767,"209":206,"2":54272,"24":33,"16":366551114838966272,"44":-709316911051517952},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,2,24,16,44]} 
[2026-08-01 15:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107617280001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:01:50] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-01 15:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366551114838966272,"km_value":366551114838966.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:01:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-709316911051517952,"description":"Unknown IO ID 44"} 
[2026-08-01 15:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107617280001,"power":27767,"unknown_209":206,"power_alt":54272,"ignition":33,"odometer":null,"unknown_44":-709316911051517952}} 
[2026-08-01 15:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":147292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:01:50] local.INFO: GPS data processed {"connection_id":147292,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:01:50] local.INFO: Acknowledgment sent {"connection_id":147292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:02:00] local.INFO: TCP Data received {"connection_id":147293,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147293,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:02:00] local.INFO: Processing buffer {"connection_id":147293,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:02:00] local.INFO: IMEI packet received {"connection_id":147293,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":147293,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:02:05] local.INFO: TCP Data received {"connection_id":147293,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147293,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:02:05] local.INFO: Processing buffer {"connection_id":147293,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:02:05] local.INFO: IMEI packet received {"connection_id":147293,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":147293,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:02:06] local.INFO: TCP Data received {"connection_id":147293,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbca87728012d1968c0071fee10003d011427..."} 
[2026-08-01 15:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbca87728012d1968c0071fee10003d011427..."} 
[2026-08-01 15:02:06] local.INFO: Processing buffer {"connection_id":147293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbca87728012d1968c0071fee10003d011427..."} 
[2026-08-01 15:02:06] local.INFO: Packet analysis {"connection_id":147293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbca8"} 
[2026-08-01 15:02:06] local.INFO: Extracted packet for processing {"connection_id":147293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbca8"} 
[2026-08-01 15:02:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107600384001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785576585000,"timestamp_ms":1785576585000,"timestamp_seconds":1785576585,"priority":1,"record_length":96,"hex_timestamp":"0000019fbca87728"} 
[2026-08-01 15:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-01 15:02:06] 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-08-01 15:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:02:06] 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-08-01 15:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107600384001,"66":12722,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107600384001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:02:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:02:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107600384001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":147293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577661,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:02:06] local.INFO: GPS data processed {"connection_id":147293,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:02:06] local.INFO: Acknowledgment sent {"connection_id":147293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:02:31] local.INFO: TCP Data received {"connection_id":147292,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbca97510012cf61440070bd6f8000801632b..."} 
[2026-08-01 15:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbca97510012cf61440070bd6f8000801632b..."} 
[2026-08-01 15:02:31] local.INFO: Processing buffer {"connection_id":147292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbca97510012cf61440070bd6f8000801632b..."} 
[2026-08-01 15:02:31] local.INFO: Packet analysis {"connection_id":147292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbca9"} 
[2026-08-01 15:02:31] local.INFO: Extracted packet for processing {"connection_id":147292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbca9"} 
[2026-08-01 15:02:31] local.INFO: GPS Element Parsed {"raw_longitude":754324544,"raw_latitude":118216440,"longitude_deg":75.4324544,"latitude_deg":11.821644,"altitude":8,"angle":355,"satellites":43,"speed":36,"hex_longitude":"2cf61440","hex_latitude":"070bd6f8","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107620096001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366551501386022912,"note":"Value kept but may cause issues"} 
[2026-08-01 15:02:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-713257560723398656,"note":"Value kept but may cause issues"} 
[2026-08-01 15:02:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785576650000,"timestamp_ms":1785576650000,"timestamp_seconds":1785576650,"priority":1,"record_length":96,"hex_timestamp":"0000019fbca97510"} 
[2026-08-01 15:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15: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-08-01 15: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":119,"data_length":795,"current_offset":136} 
[2026-08-01 15:02: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-08-01 15: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-08-01 15:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":147292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":147292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":147292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107620096001,"66":27876,"209":206,"2":54272,"24":36,"16":366551501386022912,"44":-713257560723398656},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,2,24,16,44]} 
[2026-08-01 15:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107620096001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:02:31] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-01 15:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366551501386022912,"km_value":366551501386022.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:02:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-713257560723398656,"description":"Unknown IO ID 44"} 
[2026-08-01 15:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107620096001,"power":27876,"unknown_209":206,"power_alt":54272,"ignition":36,"odometer":null,"unknown_44":-713257560723398656}} 
[2026-08-01 15:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":147292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:02:31] local.INFO: GPS data processed {"connection_id":147292,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:02:31] local.INFO: Acknowledgment sent {"connection_id":147292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:02:37] local.INFO: TCP Data received {"connection_id":147293,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbca8c930012d1968c0071fee10003d011429..."} 
[2026-08-01 15:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbca8c930012d1968c0071fee10003d011429..."} 
[2026-08-01 15:02:37] local.INFO: Processing buffer {"connection_id":147293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbca8c930012d1968c0071fee10003d011429..."} 
[2026-08-01 15:02:37] local.INFO: Packet analysis {"connection_id":147293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbca8"} 
[2026-08-01 15:02:37] local.INFO: Extracted packet for processing {"connection_id":147293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbca8"} 
[2026-08-01 15:02:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107605760001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785576606000,"timestamp_ms":1785576606000,"timestamp_seconds":1785576606,"priority":1,"record_length":96,"hex_timestamp":"0000019fbca8c930"} 
[2026-08-01 15:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-01 15:02:37] 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-08-01 15:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:02:37] 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-08-01 15:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107605760001,"66":12689,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107605760001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:02:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:02:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107605760001,"power":12689,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":147293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577663,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:02:37] local.INFO: GPS data processed {"connection_id":147293,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:02:37] local.INFO: Acknowledgment sent {"connection_id":147293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:02:49] local.INFO: TCP Data received {"connection_id":146288,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:02:49] local.INFO: Processing buffer {"connection_id":146288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:02:49] local.INFO: IMEI packet received {"connection_id":146288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 15:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":146288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:02:50] local.INFO: TCP Data received {"connection_id":146288,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:02:50] local.INFO: Processing buffer {"connection_id":146288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:02:50] local.INFO: IMEI packet received {"connection_id":146288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":146288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:02:54] local.INFO: TCP Data received {"connection_id":146288,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:02:54] local.INFO: Processing buffer {"connection_id":146288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:02:54] local.INFO: IMEI packet received {"connection_id":146288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":146288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:02:54] local.INFO: TCP Data received {"connection_id":146288,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbca99c20012cf614c0070bf9f0000a000229..."} 
[2026-08-01 15:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbca99c20012cf614c0070bf9f0000a000229..."} 
[2026-08-01 15:02:54] local.INFO: Processing buffer {"connection_id":146288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbca99c20012cf614c0070bf9f0000a000229..."} 
[2026-08-01 15:02:54] local.INFO: Packet analysis {"connection_id":146288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbca9"} 
[2026-08-01 15:02:54] local.INFO: Extracted packet for processing {"connection_id":146288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbca9"} 
[2026-08-01 15:02:54] local.INFO: GPS Element Parsed {"raw_longitude":754324672,"raw_latitude":118225392,"longitude_deg":75.4324672,"latitude_deg":11.8225392,"altitude":10,"angle":2,"satellites":41,"speed":34,"hex_longitude":"2cf614c0","hex_latitude":"070bf9f0","is_valid_coordinates":true} 
[2026-08-01 15:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:02:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107622400001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:02:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366551935177719808,"note":"Value kept but may cause issues"} 
[2026-08-01 15:02:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-714876041837479936,"note":"Value kept but may cause issues"} 
[2026-08-01 15:02:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:02:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785576660000,"timestamp_ms":1785576660000,"timestamp_seconds":1785576660,"priority":1,"record_length":96,"hex_timestamp":"0000019fbca99c20"} 
[2026-08-01 15:02:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:02:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 15:02:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:02:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:02:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:02:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:02:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:02:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:02:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:02:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:02:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:02:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:02:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107622400001,"66":27930,"209":206,"2":54272,"24":34,"16":366551935177719808,"44":-714876041837479936},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,2,24,16,44]} 
[2026-08-01 15:02:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:02:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:02:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107622400001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:02:54] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-01 15:02:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366551935177719808,"km_value":366551935177719.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:02:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-714876041837479936,"description":"Unknown IO ID 44"} 
[2026-08-01 15:02:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107622400001,"power":27930,"unknown_209":206,"power_alt":54272,"ignition":34,"odometer":null,"unknown_44":-714876041837479936}} 
[2026-08-01 15:02:54] local.INFO: DEBUG: GPS processor result {"connection_id":146288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:02:54] local.INFO: GPS data processed {"connection_id":146288,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:02:54] local.INFO: Acknowledgment sent {"connection_id":146288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:02:56] local.INFO: TCP Data received {"connection_id":146288,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbca9c718012cf616c0070c1e68000a00052a..."} 
[2026-08-01 15:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbca9c718012cf616c0070c1e68000a00052a..."} 
[2026-08-01 15:02:56] local.INFO: Processing buffer {"connection_id":146288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbca9c718012cf616c0070c1e68000a00052a..."} 
[2026-08-01 15:02:56] local.INFO: Packet analysis {"connection_id":146288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbca9"} 
[2026-08-01 15:02:56] local.INFO: Extracted packet for processing {"connection_id":146288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbca9"} 
[2026-08-01 15:02:56] local.INFO: GPS Element Parsed {"raw_longitude":754325184,"raw_latitude":118234728,"longitude_deg":75.4325184,"latitude_deg":11.8234728,"altitude":10,"angle":5,"satellites":42,"speed":32,"hex_longitude":"2cf616c0","hex_latitude":"070c1e68","is_valid_coordinates":true} 
[2026-08-01 15:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107624960001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366552390444253184,"note":"Value kept but may cause issues"} 
[2026-08-01 15:02:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-714735304346832896,"note":"Value kept but may cause issues"} 
[2026-08-01 15:02:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785576671000,"timestamp_ms":1785576671000,"timestamp_seconds":1785576671,"priority":1,"record_length":96,"hex_timestamp":"0000019fbca9c718"} 
[2026-08-01 15:02:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:02:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-01 15:02:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:02:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:02:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":146288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":146288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":146288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:02:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107624960001,"66":27865,"209":206,"2":54272,"24":32,"16":366552390444253184,"44":-714735304346832896},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,2,24,16,44]} 
[2026-08-01 15:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107624960001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:02:56] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-01 15:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366552390444253184,"km_value":366552390444253.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:02:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-714735304346832896,"description":"Unknown IO ID 44"} 
[2026-08-01 15:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107624960001,"power":27865,"unknown_209":206,"power_alt":54272,"ignition":32,"odometer":null,"unknown_44":-714735304346832896}} 
[2026-08-01 15:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":146288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:02:56] local.INFO: GPS data processed {"connection_id":146288,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:02:56] local.INFO: Acknowledgment sent {"connection_id":146288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:03:00] local.INFO: TCP Data received {"connection_id":148603,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:03:00] local.INFO: Processing buffer {"connection_id":148603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:03:00] local.INFO: IMEI packet received {"connection_id":148603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":148603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:03:05] local.INFO: TCP Data received {"connection_id":148603,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:03:05] local.INFO: Processing buffer {"connection_id":148603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:03:05] local.INFO: IMEI packet received {"connection_id":148603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":148603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:03:06] local.INFO: TCP Data received {"connection_id":148603,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbca91b38012d1968c0071fee10003d01142a..."} 
[2026-08-01 15:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbca91b38012d1968c0071fee10003d01142a..."} 
[2026-08-01 15:03:06] local.INFO: Processing buffer {"connection_id":148603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbca91b38012d1968c0071fee10003d01142a..."} 
[2026-08-01 15:03:06] local.INFO: Packet analysis {"connection_id":148603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbca9"} 
[2026-08-01 15:03:06] local.INFO: Extracted packet for processing {"connection_id":148603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbca9"} 
[2026-08-01 15:03:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107611136001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785576627000,"timestamp_ms":1785576627000,"timestamp_seconds":1785576627,"priority":1,"record_length":96,"hex_timestamp":"0000019fbca91b38"} 
[2026-08-01 15:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-01 15:03:06] 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-08-01 15: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-08-01 15:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:03:06] 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-08-01 15:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107611136001,"66":12722,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107611136001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:03:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:03:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107611136001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":148603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:03:06] local.INFO: GPS data processed {"connection_id":148603,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:03:06] local.INFO: Acknowledgment sent {"connection_id":148603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:03:28] local.INFO: TCP Data received {"connection_id":146288,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcaaff98012cf5f5c0070d8398000b01532b..."} 
[2026-08-01 15:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcaaff98012cf5f5c0070d8398000b01532b..."} 
[2026-08-01 15:03:28] local.INFO: Processing buffer {"connection_id":146288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcaaff98012cf5f5c0070d8398000b01532b..."} 
[2026-08-01 15:03:28] local.INFO: Packet analysis {"connection_id":146288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcaa"} 
[2026-08-01 15:03:28] local.INFO: Extracted packet for processing {"connection_id":146288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcaa"} 
[2026-08-01 15:03:28] local.INFO: GPS Element Parsed {"raw_longitude":754316736,"raw_latitude":118326168,"longitude_deg":75.4316736,"latitude_deg":11.8326168,"altitude":11,"angle":339,"satellites":43,"speed":59,"hex_longitude":"2cf5f5c0","hex_latitude":"070d8398","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:03:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107646720001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:03:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366556895864946688,"note":"Value kept but may cause issues"} 
[2026-08-01 15:03:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-720153697624850432,"note":"Value kept but may cause issues"} 
[2026-08-01 15:03:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:03:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785576751000,"timestamp_ms":1785576751000,"timestamp_seconds":1785576751,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcaaff98"} 
[2026-08-01 15:03:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:03: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-08-01 15: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 15:03:28] 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-08-01 15: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-08-01 15:03:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:03:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:03:28] local.INFO: Teltonika packet parsed successfully {"connection_id":146288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:03:28] local.INFO: Passing IMEI to GPS processor {"connection_id":146288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:03:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":146288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:03:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:03:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:03:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:03:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107646720001,"66":27876,"208":206,"2":54272,"24":59,"16":366556895864946688,"44":-720153697624850432},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,2,24,16,44]} 
[2026-08-01 15:03:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:03:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:03:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107646720001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:03:28] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-01 15:03:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366556895864946688,"km_value":366556895864946.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:03:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-720153697624850432,"description":"Unknown IO ID 44"} 
[2026-08-01 15:03:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107646720001,"power":27876,"unknown_208":206,"power_alt":54272,"ignition":59,"odometer":null,"unknown_44":-720153697624850432}} 
[2026-08-01 15:03:28] local.INFO: DEBUG: GPS processor result {"connection_id":146288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:03:28] local.INFO: GPS data processed {"connection_id":146288,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:03:28] local.INFO: Acknowledgment sent {"connection_id":146288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:03:37] local.INFO: TCP Data received {"connection_id":148603,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbca96d40012d1968c0071fee10003d011428..."} 
[2026-08-01 15:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbca96d40012d1968c0071fee10003d011428..."} 
[2026-08-01 15:03:37] local.INFO: Processing buffer {"connection_id":148603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbca96d40012d1968c0071fee10003d011428..."} 
[2026-08-01 15:03:37] local.INFO: Packet analysis {"connection_id":148603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbca9"} 
[2026-08-01 15:03:37] local.INFO: Extracted packet for processing {"connection_id":148603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbca9"} 
[2026-08-01 15:03:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107616512001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785576648000,"timestamp_ms":1785576648000,"timestamp_seconds":1785576648,"priority":1,"record_length":96,"hex_timestamp":"0000019fbca96d40"} 
[2026-08-01 15:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-01 15:03:37] 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-08-01 15: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-08-01 15:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:03:37] 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-08-01 15:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107616512001,"66":12689,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107616512001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:03:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:03:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107616512001,"power":12689,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":148603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:03:37] local.INFO: GPS data processed {"connection_id":148603,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:03:37] local.INFO: Acknowledgment sent {"connection_id":148603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:03:41] local.INFO: TCP Data received {"connection_id":146289,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:03:41] local.INFO: Processing buffer {"connection_id":146289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:03:41] local.INFO: IMEI packet received {"connection_id":146289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 15:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":146289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:03:45] local.INFO: TCP Data received {"connection_id":146289,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:03:45] local.INFO: Processing buffer {"connection_id":146289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:03:45] local.INFO: IMEI packet received {"connection_id":146289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":146289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:03:50] local.INFO: TCP Data received {"connection_id":146289,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:03:50] local.INFO: Processing buffer {"connection_id":146289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:03:50] local.INFO: IMEI packet received {"connection_id":146289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":146289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:03:51] local.INFO: TCP Data received {"connection_id":146289,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcab1708012cf5e940070da4e0000b01542a..."} 
[2026-08-01 15:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcab1708012cf5e940070da4e0000b01542a..."} 
[2026-08-01 15:03:51] local.INFO: Processing buffer {"connection_id":146289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcab1708012cf5e940070da4e0000b01542a..."} 
[2026-08-01 15:03:51] local.INFO: Packet analysis {"connection_id":146289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcab"} 
[2026-08-01 15:03:51] local.INFO: Extracted packet for processing {"connection_id":146289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcab"} 
[2026-08-01 15:03:51] local.INFO: GPS Element Parsed {"raw_longitude":754313536,"raw_latitude":118334688,"longitude_deg":75.4313536,"latitude_deg":11.8334688,"altitude":11,"angle":340,"satellites":42,"speed":60,"hex_longitude":"2cf5e940","hex_latitude":"070da4e0","is_valid_coordinates":true} 
[2026-08-01 15:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107648256001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366557338246578176,"note":"Value kept but may cause issues"} 
[2026-08-01 15:03:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-723461028599064576,"note":"Value kept but may cause issues"} 
[2026-08-01 15:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785576757000,"timestamp_ms":1785576757000,"timestamp_seconds":1785576757,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcab1708"} 
[2026-08-01 15:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:03:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 15:03:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:03:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":146289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":146289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":146289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107648256001,"66":27745,"208":206,"2":54272,"24":60,"16":366557338246578176,"44":-723461028599064576},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,2,24,16,44]} 
[2026-08-01 15:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107648256001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:03:51] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-01 15:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366557338246578176,"km_value":366557338246578.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:03:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-723461028599064576,"description":"Unknown IO ID 44"} 
[2026-08-01 15:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107648256001,"power":27745,"unknown_208":206,"power_alt":54272,"ignition":60,"odometer":null,"unknown_44":-723461028599064576}} 
[2026-08-01 15:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":146289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:03:51] local.INFO: GPS data processed {"connection_id":146289,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:03:51] local.INFO: Acknowledgment sent {"connection_id":146289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:03:53] local.INFO: TCP Data received {"connection_id":146289,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcab2e78012cf5dd40070dc628000b015429..."} 
[2026-08-01 15:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcab2e78012cf5dd40070dc628000b015429..."} 
[2026-08-01 15:03:53] local.INFO: Processing buffer {"connection_id":146289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcab2e78012cf5dd40070dc628000b015429..."} 
[2026-08-01 15:03:53] local.INFO: Packet analysis {"connection_id":146289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcab"} 
[2026-08-01 15:03:53] local.INFO: Extracted packet for processing {"connection_id":146289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcab"} 
[2026-08-01 15:03:53] local.INFO: GPS Element Parsed {"raw_longitude":754310464,"raw_latitude":118343208,"longitude_deg":75.4310464,"latitude_deg":11.8343208,"altitude":11,"angle":340,"satellites":41,"speed":59,"hex_longitude":"2cf5dd40","hex_latitude":"070dc628","is_valid_coordinates":true} 
[2026-08-01 15:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107649792001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366557776333242368,"note":"Value kept but may cause issues"} 
[2026-08-01 15:03:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-726979465805766656,"note":"Value kept but may cause issues"} 
[2026-08-01 15:03:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785576763000,"timestamp_ms":1785576763000,"timestamp_seconds":1785576763,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcab2e78"} 
[2026-08-01 15:03:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:03:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 15:03:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:03:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:03:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":146289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":146289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":146289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:03:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107649792001,"66":27865,"146":206,"2":54272,"24":59,"16":366557776333242368,"44":-726979465805766656},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,2,24,16,44]} 
[2026-08-01 15:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107649792001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:03:53] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-01 15:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366557776333242368,"km_value":366557776333242.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:03:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-726979465805766656,"description":"Unknown IO ID 44"} 
[2026-08-01 15:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107649792001,"power":27865,"unknown_146":206,"power_alt":54272,"ignition":59,"odometer":null,"unknown_44":-726979465805766656}} 
[2026-08-01 15:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":146289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:03:53] local.INFO: GPS data processed {"connection_id":146289,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:03:53] local.INFO: Acknowledgment sent {"connection_id":146289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:04:05] local.INFO: TCP Data received {"connection_id":147294,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:04:05] local.INFO: Processing buffer {"connection_id":147294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:04:05] local.INFO: IMEI packet received {"connection_id":147294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":147294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:04:10] local.INFO: TCP Data received {"connection_id":147294,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:04:10] local.INFO: Processing buffer {"connection_id":147294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:04:10] local.INFO: IMEI packet received {"connection_id":147294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":147294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:04:11] local.INFO: TCP Data received {"connection_id":147294,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbca9bf48012d1968c0071fee10003d01142a..."} 
[2026-08-01 15:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbca9bf48012d1968c0071fee10003d01142a..."} 
[2026-08-01 15:04:11] local.INFO: Processing buffer {"connection_id":147294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbca9bf48012d1968c0071fee10003d01142a..."} 
[2026-08-01 15:04:11] local.INFO: Packet analysis {"connection_id":147294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbca9"} 
[2026-08-01 15:04:11] local.INFO: Extracted packet for processing {"connection_id":147294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbca9"} 
[2026-08-01 15:04:11] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107621888001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785576669000,"timestamp_ms":1785576669000,"timestamp_seconds":1785576669,"priority":1,"record_length":96,"hex_timestamp":"0000019fbca9bf48"} 
[2026-08-01 15:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:04: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-08-01 15:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-01 15:04: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-08-01 15: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-08-01 15:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":147294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":147294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":147294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:04:11] 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-08-01 15:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107621888001,"66":12689,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107621888001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:04:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:04:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107621888001,"power":12689,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":147294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577671,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:04:11] local.INFO: GPS data processed {"connection_id":147294,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:04:11] local.INFO: Acknowledgment sent {"connection_id":147294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:04:14] local.INFO: TCP Data received {"connection_id":147294,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcaa1150012d1968c0071fee10003d011429..."} 
[2026-08-01 15:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcaa1150012d1968c0071fee10003d011429..."} 
[2026-08-01 15:04:14] local.INFO: Processing buffer {"connection_id":147294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcaa1150012d1968c0071fee10003d011429..."} 
[2026-08-01 15:04:14] local.INFO: Packet analysis {"connection_id":147294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcaa"} 
[2026-08-01 15:04:14] local.INFO: Extracted packet for processing {"connection_id":147294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcaa"} 
[2026-08-01 15:04:14] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:04:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107627264001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:04:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:04:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:04: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-08-01 15:04:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785576690000,"timestamp_ms":1785576690000,"timestamp_seconds":1785576690,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcaa1150"} 
[2026-08-01 15:04:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:04:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-01 15:04:14] 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-08-01 15: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-08-01 15:04:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:04:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:04:14] local.INFO: Teltonika packet parsed successfully {"connection_id":147294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:04:14] local.INFO: Passing IMEI to GPS processor {"connection_id":147294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:04:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":147294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:04:14] 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-08-01 15:04:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:04:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:04:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107627264001,"66":12232,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:04:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:04:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:04:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107627264001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:04:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:04:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:04:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:04:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:04:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107627264001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:04:14] local.INFO: DEBUG: GPS processor result {"connection_id":147294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:04:14] local.INFO: GPS data processed {"connection_id":147294,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:04:14] local.INFO: Acknowledgment sent {"connection_id":147294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:04:25] local.INFO: TCP Data received {"connection_id":146289,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcab45e8012cf5d140070de728000a015429..."} 
[2026-08-01 15:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcab45e8012cf5d140070de728000a015429..."} 
[2026-08-01 15:04:25] local.INFO: Processing buffer {"connection_id":146289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcab45e8012cf5d140070de728000a015429..."} 
[2026-08-01 15:04:25] local.INFO: Packet analysis {"connection_id":146289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcab"} 
[2026-08-01 15:04:25] local.INFO: Extracted packet for processing {"connection_id":146289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcab"} 
[2026-08-01 15:04:25] local.INFO: GPS Element Parsed {"raw_longitude":754307392,"raw_latitude":118351656,"longitude_deg":75.4307392,"latitude_deg":11.8351656,"altitude":10,"angle":340,"satellites":41,"speed":59,"hex_longitude":"2cf5d140","hex_latitude":"070de728","is_valid_coordinates":true} 
[2026-08-01 15:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107651328001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366558210124939264,"note":"Value kept but may cause issues"} 
[2026-08-01 15:04:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-730357165524113408,"note":"Value kept but may cause issues"} 
[2026-08-01 15:04:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785576769000,"timestamp_ms":1785576769000,"timestamp_seconds":1785576769,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcab45e8"} 
[2026-08-01 15:04:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:04: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-08-01 15:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 15:04:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:04:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:04:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":146289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":146289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":146289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:04:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107651328001,"66":27930,"146":206,"2":54272,"24":59,"16":366558210124939264,"44":-730357165524113408},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,2,24,16,44]} 
[2026-08-01 15:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107651328001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:04:25] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-01 15:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366558210124939264,"km_value":366558210124939.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:04:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-730357165524113408,"description":"Unknown IO ID 44"} 
[2026-08-01 15:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107651328001,"power":27930,"unknown_146":206,"power_alt":54272,"ignition":59,"odometer":null,"unknown_44":-730357165524113408}} 
[2026-08-01 15:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":146289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:04:25] local.INFO: GPS data processed {"connection_id":146289,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:04:25] local.INFO: Acknowledgment sent {"connection_id":146289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:04:44] local.INFO: TCP Data received {"connection_id":146290,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:04:44] local.INFO: Processing buffer {"connection_id":146290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:04:44] local.INFO: IMEI packet received {"connection_id":146290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 15:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":146290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:04:49] local.INFO: TCP Data received {"connection_id":146290,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:04:49] local.INFO: Processing buffer {"connection_id":146290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:04:49] local.INFO: IMEI packet received {"connection_id":146290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":146290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:04:51] local.INFO: TCP Data received {"connection_id":146290,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcab6140012cf5c340070e0cf8000901542a..."} 
[2026-08-01 15:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcab6140012cf5c340070e0cf8000901542a..."} 
[2026-08-01 15:04:51] local.INFO: Processing buffer {"connection_id":146290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcab6140012cf5c340070e0cf8000901542a..."} 
[2026-08-01 15:04:51] local.INFO: Packet analysis {"connection_id":146290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcab"} 
[2026-08-01 15:04:51] local.INFO: Extracted packet for processing {"connection_id":146290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcab"} 
[2026-08-01 15:04:51] local.INFO: GPS Element Parsed {"raw_longitude":754303808,"raw_latitude":118361336,"longitude_deg":75.4303808,"latitude_deg":11.8361336,"altitude":9,"angle":340,"satellites":42,"speed":57,"hex_longitude":"2cf5c340","hex_latitude":"070e0cf8","is_valid_coordinates":true} 
[2026-08-01 15:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107652864001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366558708341145600,"note":"Value kept but may cause issues"} 
[2026-08-01 15:04:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-733734865242478592,"note":"Value kept but may cause issues"} 
[2026-08-01 15:04:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785576776000,"timestamp_ms":1785576776000,"timestamp_seconds":1785576776,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcab6140"} 
[2026-08-01 15:04:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:04:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-01 15:04:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:04:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:04:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":146290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":146290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":146290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:04:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107652864001,"66":27876,"146":206,"2":54272,"24":57,"16":366558708341145600,"44":-733734865242478592},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,2,24,16,44]} 
[2026-08-01 15:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107652864001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:04:51] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-01 15:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366558708341145600,"km_value":366558708341145.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:04:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-733734865242478592,"description":"Unknown IO ID 44"} 
[2026-08-01 15:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107652864001,"power":27876,"unknown_146":206,"power_alt":54272,"ignition":57,"odometer":null,"unknown_44":-733734865242478592}} 
[2026-08-01 15:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":146290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:04:51] local.INFO: GPS data processed {"connection_id":146290,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:04:51] local.INFO: Acknowledgment sent {"connection_id":146290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:04:57] local.INFO: TCP Data received {"connection_id":147294,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcaa6358012d1968c0071fee10003d011422..."} 
[2026-08-01 15:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcaa6358012d1968c0071fee10003d011422..."} 
[2026-08-01 15:04:57] local.INFO: Processing buffer {"connection_id":147294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcaa6358012d1968c0071fee10003d011422..."} 
[2026-08-01 15:04:57] local.INFO: Packet analysis {"connection_id":147294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcaa"} 
[2026-08-01 15:04:57] local.INFO: Extracted packet for processing {"connection_id":147294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcaa"} 
[2026-08-01 15:04:57] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:04:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107632640001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:04:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:04:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:04:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:04:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785576711000,"timestamp_ms":1785576711000,"timestamp_seconds":1785576711,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcaa6358"} 
[2026-08-01 15:04:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:04:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-01 15:04:57] 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-08-01 15:04:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:04:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:04:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:04:57] local.INFO: Teltonika packet parsed successfully {"connection_id":147294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:04:57] local.INFO: Passing IMEI to GPS processor {"connection_id":147294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:04:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":147294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:04:57] 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-08-01 15:04:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:04:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:04:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107632640001,"66":12667,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:04:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:04:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:04:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107632640001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:04:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:04:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:04:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:04:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:04:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107632640001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:04:57] local.INFO: DEBUG: GPS processor result {"connection_id":147294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:04:57] local.INFO: GPS data processed {"connection_id":147294,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:04:57] local.INFO: Acknowledgment sent {"connection_id":147294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:05:00] local.INFO: TCP Data received {"connection_id":147295,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:05:00] local.INFO: Processing buffer {"connection_id":147295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:05:00] local.INFO: IMEI packet received {"connection_id":147295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":147295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:05:05] local.INFO: TCP Data received {"connection_id":147295,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:05:05] local.INFO: Processing buffer {"connection_id":147295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:05:05] local.INFO: IMEI packet received {"connection_id":147295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":147295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:05:06] local.INFO: TCP Data received {"connection_id":147295,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcaab560012d1968c0071fee10003d011424..."} 
[2026-08-01 15:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcaab560012d1968c0071fee10003d011424..."} 
[2026-08-01 15:05:06] local.INFO: Processing buffer {"connection_id":147295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcaab560012d1968c0071fee10003d011424..."} 
[2026-08-01 15:05:06] local.INFO: Packet analysis {"connection_id":147295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcaa"} 
[2026-08-01 15:05:06] local.INFO: Extracted packet for processing {"connection_id":147295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcaa"} 
[2026-08-01 15:05:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107638016001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785576732000,"timestamp_ms":1785576732000,"timestamp_seconds":1785576732,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcaab560"} 
[2026-08-01 15:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-01 15:05:06] 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-08-01 15: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-08-01 15:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:05:06] 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-08-01 15:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107638016001,"66":12613,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107638016001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:05:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:05:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107638016001,"power":12613,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":147295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577676,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:05:06] local.INFO: GPS data processed {"connection_id":147295,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:05:06] local.INFO: Acknowledgment sent {"connection_id":147295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:05:24] local.INFO: TCP Data received {"connection_id":146290,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcacd840012cf56980070f2990000900002e..."} 
[2026-08-01 15:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcacd840012cf56980070f2990000900002e..."} 
[2026-08-01 15:05:24] local.INFO: Processing buffer {"connection_id":146290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcacd840012cf56980070f2990000900002e..."} 
[2026-08-01 15:05:24] local.INFO: Packet analysis {"connection_id":146290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcac"} 
[2026-08-01 15:05:24] local.INFO: Extracted packet for processing {"connection_id":146290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcac"} 
[2026-08-01 15:05:24] local.INFO: GPS Element Parsed {"raw_longitude":754280832,"raw_latitude":118434192,"longitude_deg":75.4280832,"latitude_deg":11.8434192,"altitude":9,"angle":0,"satellites":46,"speed":43,"hex_longitude":"2cf56980","hex_latitude":"070f2990","is_valid_coordinates":true} 
[2026-08-01 15:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107676928001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366562436372758528,"note":"Value kept but may cause issues"} 
[2026-08-01 15:05:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-762163837871636480,"note":"Value kept but may cause issues"} 
[2026-08-01 15:05:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785576872000,"timestamp_ms":1785576872000,"timestamp_seconds":1785576872,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcacd840"} 
[2026-08-01 15:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:05: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-08-01 15:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 15:05:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:05:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":146290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":146290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":146290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:05:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107676928001,"66":27800,"36":206,"2":54272,"24":43,"16":366562436372758528,"44":-762163837871636480},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,2,24,16,44]} 
[2026-08-01 15:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107676928001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:05:24] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-01 15:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366562436372758528,"km_value":366562436372758.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:05:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-762163837871636480,"description":"Unknown IO ID 44"} 
[2026-08-01 15:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107676928001,"power":27800,"unknown_36":206,"power_alt":54272,"ignition":43,"odometer":null,"unknown_44":-762163837871636480}} 
[2026-08-01 15:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":146290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:05:24] local.INFO: GPS data processed {"connection_id":146290,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:05:24] local.INFO: Acknowledgment sent {"connection_id":146290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:05:37] local.INFO: TCP Data received {"connection_id":147295,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcab0768012d1968c0071fee10003d011428..."} 
[2026-08-01 15:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcab0768012d1968c0071fee10003d011428..."} 
[2026-08-01 15:05:37] local.INFO: Processing buffer {"connection_id":147295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcab0768012d1968c0071fee10003d011428..."} 
[2026-08-01 15:05:37] local.INFO: Packet analysis {"connection_id":147295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcab"} 
[2026-08-01 15:05:37] local.INFO: Extracted packet for processing {"connection_id":147295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcab"} 
[2026-08-01 15:05:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107643392001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785576753000,"timestamp_ms":1785576753000,"timestamp_seconds":1785576753,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcab0768"} 
[2026-08-01 15:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-01 15:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:05:37] 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-08-01 15:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107643392001,"66":12645,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107643392001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:05:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:05:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107643392001,"power":12645,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":147295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:05:37] local.INFO: GPS data processed {"connection_id":147295,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:05:37] local.INFO: Acknowledgment sent {"connection_id":147295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:05:43] local.INFO: TCP Data received {"connection_id":147296,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:05:43] local.INFO: Processing buffer {"connection_id":147296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:05:43] local.INFO: IMEI packet received {"connection_id":147296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 15:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":147296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:05:44] local.INFO: TCP Data received {"connection_id":147296,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:05:44] local.INFO: Processing buffer {"connection_id":147296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:05:44] local.INFO: IMEI packet received {"connection_id":147296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:05:44] local.INFO: IMEI acknowledgment sent {"connection_id":147296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:05:49] local.INFO: TCP Data received {"connection_id":147296,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:05:49] local.INFO: Processing buffer {"connection_id":147296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:05:49] local.INFO: IMEI packet received {"connection_id":147296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":147296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:05:50] local.INFO: TCP Data received {"connection_id":147296,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcacd840012cf56980070f2990000900002e..."} 
[2026-08-01 15:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcacd840012cf56980070f2990000900002e..."} 
[2026-08-01 15:05:50] local.INFO: Processing buffer {"connection_id":147296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcacd840012cf56980070f2990000900002e..."} 
[2026-08-01 15:05:50] local.INFO: Packet analysis {"connection_id":147296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcac"} 
[2026-08-01 15:05:50] local.INFO: Extracted packet for processing {"connection_id":147296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcac"} 
[2026-08-01 15:05:50] local.INFO: GPS Element Parsed {"raw_longitude":754280832,"raw_latitude":118434192,"longitude_deg":75.4280832,"latitude_deg":11.8434192,"altitude":9,"angle":0,"satellites":46,"speed":43,"hex_longitude":"2cf56980","hex_latitude":"070f2990","is_valid_coordinates":true} 
[2026-08-01 15:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107679232001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:05:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366562436372758528,"note":"Value kept but may cause issues"} 
[2026-08-01 15:05:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-762937894055079936,"note":"Value kept but may cause issues"} 
[2026-08-01 15:05:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:05:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785576872000,"timestamp_ms":1785576872000,"timestamp_seconds":1785576872,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcacd840"} 
[2026-08-01 15:05:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:05:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 15:05:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:05:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:05:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:05:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:05:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:05:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:05:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:05:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:05:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:05:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:05:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107679232001,"66":27800,"36":206,"2":54272,"24":43,"16":366562436372758528,"44":-762937894055079936},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,2,24,16,44]} 
[2026-08-01 15:05:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:05:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:05:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107679232001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:05:50] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-01 15:05:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366562436372758528,"km_value":366562436372758.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:05:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-762937894055079936,"description":"Unknown IO ID 44"} 
[2026-08-01 15:05:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107679232001,"power":27800,"unknown_36":206,"power_alt":54272,"ignition":43,"odometer":null,"unknown_44":-762937894055079936}} 
[2026-08-01 15:05:50] local.INFO: DEBUG: GPS processor result {"connection_id":147296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:05:50] local.INFO: GPS data processed {"connection_id":147296,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:05:50] local.INFO: Acknowledgment sent {"connection_id":147296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:05:59] local.INFO: TCP Data received {"connection_id":148604,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148604,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:05:59] local.INFO: Processing buffer {"connection_id":148604,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:05:59] local.INFO: IMEI packet received {"connection_id":148604,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":148604,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:06:00] local.INFO: TCP Data received {"connection_id":148604,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148604,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:06:00] local.INFO: Processing buffer {"connection_id":148604,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:06:00] local.INFO: IMEI packet received {"connection_id":148604,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":148604,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:06:05] local.INFO: TCP Data received {"connection_id":148604,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148604,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:06:05] local.INFO: Processing buffer {"connection_id":148604,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:06:05] local.INFO: IMEI packet received {"connection_id":148604,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":148604,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:06:06] local.INFO: TCP Data received {"connection_id":148604,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcab5970012d1968c0071fee10003d01142a..."} 
[2026-08-01 15:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcab5970012d1968c0071fee10003d01142a..."} 
[2026-08-01 15:06:06] local.INFO: Processing buffer {"connection_id":148604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcab5970012d1968c0071fee10003d01142a..."} 
[2026-08-01 15:06:06] local.INFO: Packet analysis {"connection_id":148604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcab"} 
[2026-08-01 15:06:06] local.INFO: Extracted packet for processing {"connection_id":148604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcab"} 
[2026-08-01 15:06:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107648768001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785576774000,"timestamp_ms":1785576774000,"timestamp_seconds":1785576774,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcab5970"} 
[2026-08-01 15:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-01 15:06:06] 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-08-01 15: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-08-01 15:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:06:06] 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-08-01 15:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107648768001,"66":12591,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107648768001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:06:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:06:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107648768001,"power":12591,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":148604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577680,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:06:06] local.INFO: GPS data processed {"connection_id":148604,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:06:06] local.INFO: Acknowledgment sent {"connection_id":148604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:06:22] local.INFO: TCP Data received {"connection_id":147296,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcacfb68012cf56d80070f50200009000a2d..."} 
[2026-08-01 15:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcacfb68012cf56d80070f50200009000a2d..."} 
[2026-08-01 15:06:22] local.INFO: Processing buffer {"connection_id":147296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcacfb68012cf56d80070f50200009000a2d..."} 
[2026-08-01 15:06:22] local.INFO: Packet analysis {"connection_id":147296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcac"} 
[2026-08-01 15:06:22] local.INFO: Extracted packet for processing {"connection_id":147296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcac"} 
[2026-08-01 15:06:22] local.INFO: GPS Element Parsed {"raw_longitude":754281856,"raw_latitude":118444064,"longitude_deg":75.4281856,"latitude_deg":11.8444064,"altitude":9,"angle":10,"satellites":45,"speed":43,"hex_longitude":"2cf56d80","hex_latitude":"070f5020","is_valid_coordinates":true} 
[2026-08-01 15:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:06:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107679232001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:06:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366562917409095680,"note":"Value kept but may cause issues"} 
[2026-08-01 15:06:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-762937894055079936,"note":"Value kept but may cause issues"} 
[2026-08-01 15:06:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:06:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785576881000,"timestamp_ms":1785576881000,"timestamp_seconds":1785576881,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcacfb68"} 
[2026-08-01 15:06:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:06:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 15:06: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-08-01 15:06:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:06:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:06:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:06:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:06:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:06:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:06:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:06:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:06:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:06:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107679232001,"66":27517,"36":206,"2":54272,"24":43,"16":366562917409095680,"44":-762937894055079936},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,2,24,16,44]} 
[2026-08-01 15:06:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:06:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:06:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107679232001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:06:22] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-01 15:06:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366562917409095680,"km_value":366562917409095.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:06:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-762937894055079936,"description":"Unknown IO ID 44"} 
[2026-08-01 15:06:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107679232001,"power":27517,"unknown_36":206,"power_alt":54272,"ignition":43,"odometer":null,"unknown_44":-762937894055079936}} 
[2026-08-01 15:06:22] local.INFO: DEBUG: GPS processor result {"connection_id":147296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:06:22] local.INFO: GPS data processed {"connection_id":147296,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:06:22] local.INFO: Acknowledgment sent {"connection_id":147296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:06:37] local.INFO: TCP Data received {"connection_id":148604,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcabab78012d1968c0071fee10003d011429..."} 
[2026-08-01 15:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcabab78012d1968c0071fee10003d011429..."} 
[2026-08-01 15:06:37] local.INFO: Processing buffer {"connection_id":148604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcabab78012d1968c0071fee10003d011429..."} 
[2026-08-01 15:06:37] local.INFO: Packet analysis {"connection_id":148604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcab"} 
[2026-08-01 15:06:37] local.INFO: Extracted packet for processing {"connection_id":148604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcab"} 
[2026-08-01 15:06:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107654144001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785576795000,"timestamp_ms":1785576795000,"timestamp_seconds":1785576795,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcabab78"} 
[2026-08-01 15:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-01 15:06:37] 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-08-01 15:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:06:37] 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-08-01 15:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107654144001,"66":12591,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107654144001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:06:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:06:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107654144001,"power":12591,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":148604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:06:37] local.INFO: GPS data processed {"connection_id":148604,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:06:37] local.INFO: Acknowledgment sent {"connection_id":148604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:06:44] local.INFO: TCP Data received {"connection_id":148605,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:06:44] local.INFO: Processing buffer {"connection_id":148605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:06:44] local.INFO: IMEI packet received {"connection_id":148605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 15:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":148605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:06:46] local.INFO: TCP Data received {"connection_id":148605,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:06:46] local.INFO: Processing buffer {"connection_id":148605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:06:46] local.INFO: IMEI packet received {"connection_id":148605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":148605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:06:49] local.INFO: TCP Data received {"connection_id":148605,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:06:49] local.INFO: Processing buffer {"connection_id":148605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:06:49] local.INFO: IMEI packet received {"connection_id":148605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":148605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:06:51] local.INFO: TCP Data received {"connection_id":148605,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcad1e90012cf57840070f7440000b00132b..."} 
[2026-08-01 15:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcad1e90012cf57840070f7440000b00132b..."} 
[2026-08-01 15:06:51] local.INFO: Processing buffer {"connection_id":148605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcad1e90012cf57840070f7440000b00132b..."} 
[2026-08-01 15:06:51] local.INFO: Packet analysis {"connection_id":148605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcad"} 
[2026-08-01 15:06:51] local.INFO: Extracted packet for processing {"connection_id":148605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcad"} 
[2026-08-01 15:06:51] local.INFO: GPS Element Parsed {"raw_longitude":754284608,"raw_latitude":118453312,"longitude_deg":75.4284608,"latitude_deg":11.8453312,"altitude":11,"angle":19,"satellites":43,"speed":41,"hex_longitude":"2cf57840","hex_latitude":"070f7440","is_valid_coordinates":true} 
[2026-08-01 15:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107681536001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366563385560530944,"note":"Value kept but may cause issues"} 
[2026-08-01 15:06:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-761811994145710080,"note":"Value kept but may cause issues"} 
[2026-08-01 15:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785576890000,"timestamp_ms":1785576890000,"timestamp_seconds":1785576890,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcad1e90"} 
[2026-08-01 15:06:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:06:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-01 15:06:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:06:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:06:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107681536001,"66":27995,"36":206,"2":54272,"24":41,"16":366563385560530944,"44":-761811994145710080},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,2,24,16,44]} 
[2026-08-01 15:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107681536001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:06:51] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-01 15:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366563385560530944,"km_value":366563385560530.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:06:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-761811994145710080,"description":"Unknown IO ID 44"} 
[2026-08-01 15:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107681536001,"power":27995,"unknown_36":206,"power_alt":54272,"ignition":41,"odometer":null,"unknown_44":-761811994145710080}} 
[2026-08-01 15:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":148605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:06:51] local.INFO: GPS data processed {"connection_id":148605,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:06:51] local.INFO: Acknowledgment sent {"connection_id":148605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:07:00] local.INFO: TCP Data received {"connection_id":146291,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:07:00] local.INFO: Processing buffer {"connection_id":146291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:07:00] local.INFO: IMEI packet received {"connection_id":146291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":146291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:07:02] local.INFO: TCP Data received {"connection_id":146291,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:07:02] local.INFO: Processing buffer {"connection_id":146291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:07:02] local.INFO: IMEI packet received {"connection_id":146291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":146291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:07:05] local.INFO: TCP Data received {"connection_id":146291,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:07:05] local.INFO: Processing buffer {"connection_id":146291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:07:05] local.INFO: IMEI packet received {"connection_id":146291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":146291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:07:06] local.INFO: TCP Data received {"connection_id":146291,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcabfd80012d1968c0071fee10003d011429..."} 
[2026-08-01 15:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcabfd80012d1968c0071fee10003d011429..."} 
[2026-08-01 15:07:06] local.INFO: Processing buffer {"connection_id":146291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcabfd80012d1968c0071fee10003d011429..."} 
[2026-08-01 15:07:06] local.INFO: Packet analysis {"connection_id":146291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcab"} 
[2026-08-01 15:07:06] local.INFO: Extracted packet for processing {"connection_id":146291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcab"} 
[2026-08-01 15:07:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107659520001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785576816000,"timestamp_ms":1785576816000,"timestamp_seconds":1785576816,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcabfd80"} 
[2026-08-01 15:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-01 15:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15: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-08-01 15:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:07:06] 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-08-01 15:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107659520001,"66":12558,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107659520001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:07:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:07:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107659520001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":146291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577684,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:07:06] local.INFO: GPS data processed {"connection_id":146291,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:07:06] local.INFO: Acknowledgment sent {"connection_id":146291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:07:10] local.INFO: TCP Data received {"connection_id":146291,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcac4f88012d1968c0071fee10003d011429..."} 
[2026-08-01 15:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcac4f88012d1968c0071fee10003d011429..."} 
[2026-08-01 15:07:10] local.INFO: Processing buffer {"connection_id":146291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcac4f88012d1968c0071fee10003d011429..."} 
[2026-08-01 15:07:10] local.INFO: Packet analysis {"connection_id":146291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcac"} 
[2026-08-01 15:07:10] local.INFO: Extracted packet for processing {"connection_id":146291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcac"} 
[2026-08-01 15:07:10] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107664896001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15: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-08-01 15:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785576837000,"timestamp_ms":1785576837000,"timestamp_seconds":1785576837,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcac4f88"} 
[2026-08-01 15:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:07: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-08-01 15:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-01 15:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-01 15:07:10] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-01 15:07:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 15:07:10] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-08-01 15:07:10] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3165262160,"note":"Value kept but may cause issues"} 
[2026-08-01 15:07:10] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249743780087066128,"note":"Value kept but may cause issues"} 
[2026-08-01 15:07:10] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2864013313,"note":"Value kept but may cause issues"} 
[2026-08-01 15:07:10] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026045,"note":"Value kept but may cause issues"} 
[2026-08-01 15:07:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-01 15:07:10] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-01 15:07:10] local.WARNING: Large IO value detected {"io_id":81,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-01 15:07:10] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-01 15:07:10] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,120,159,171,45,192,238,61,41,10,66,89,42,7,1,240,101,227,188,31,4,113,205,99,104,34,239,49,2,36,81,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-01 15:07:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395816877616529408,"timestamp_seconds":4395816877616529.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 15:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:07: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-08-01 15:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107664896001,"66":12591,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107664896001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:07:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:07:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107664896001,"power":12591,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":146291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:07:10] local.INFO: GPS data processed {"connection_id":146291,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:07:10] local.INFO: Acknowledgment sent {"connection_id":146291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:07:22] local.INFO: TCP Data received {"connection_id":148605,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcae7650012cf50300071027b80016012b2a..."} 
[2026-08-01 15:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcae7650012cf50300071027b80016012b2a..."} 
[2026-08-01 15:07:22] local.INFO: Processing buffer {"connection_id":148605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcae7650012cf50300071027b80016012b2a..."} 
[2026-08-01 15:07:22] local.INFO: Packet analysis {"connection_id":148605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcae"} 
[2026-08-01 15:07:22] local.INFO: Extracted packet for processing {"connection_id":148605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcae"} 
[2026-08-01 15:07:22] local.INFO: GPS Element Parsed {"raw_longitude":754254592,"raw_latitude":118499256,"longitude_deg":75.4254592,"latitude_deg":11.8499256,"altitude":22,"angle":299,"satellites":42,"speed":27,"hex_longitude":"2cf50300","hex_latitude":"071027b8","is_valid_coordinates":true} 
[2026-08-01 15:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107704832001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366566434987311104,"note":"Value kept but may cause issues"} 
[2026-08-01 15:07:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-787426217012600832,"note":"Value kept but may cause issues"} 
[2026-08-01 15:07:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785576978000,"timestamp_ms":1785576978000,"timestamp_seconds":1785576978,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcae7650"} 
[2026-08-01 15:07:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:07:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 15:07:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:07:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:07:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:07:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:07:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107704832001,"66":27800,"36":206,"2":54272,"24":27,"16":366566434987311104,"44":-787426217012600832},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,2,24,16,44]} 
[2026-08-01 15:07:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:07:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:07:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107704832001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:07:22] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-01 15:07:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366566434987311104,"km_value":366566434987311.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:07:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-787426217012600832,"description":"Unknown IO ID 44"} 
[2026-08-01 15:07:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107704832001,"power":27800,"unknown_36":206,"power_alt":54272,"ignition":27,"odometer":null,"unknown_44":-787426217012600832}} 
[2026-08-01 15:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":148605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:07:22] local.INFO: GPS data processed {"connection_id":148605,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:07:22] local.INFO: Acknowledgment sent {"connection_id":148605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:07:41] local.INFO: TCP Data received {"connection_id":146291,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcaca190012d1968c0071fee10003d011429..."} 
[2026-08-01 15:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcaca190012d1968c0071fee10003d011429..."} 
[2026-08-01 15:07:41] local.INFO: Processing buffer {"connection_id":146291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcaca190012d1968c0071fee10003d011429..."} 
[2026-08-01 15:07:41] local.INFO: Packet analysis {"connection_id":146291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcac"} 
[2026-08-01 15:07:41] local.INFO: Extracted packet for processing {"connection_id":146291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcac"} 
[2026-08-01 15:07:41] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107670272001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15: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-08-01 15:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785576858000,"timestamp_ms":1785576858000,"timestamp_seconds":1785576858,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcaca190"} 
[2026-08-01 15:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:07: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-08-01 15: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-01 15:07: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-08-01 15: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-08-01 15:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":146291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":146291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":146291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:07: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-08-01 15:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107670272001,"66":12558,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107670272001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:07:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:07:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107670272001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":146291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577687,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:07:41] local.INFO: GPS data processed {"connection_id":146291,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:07:41] local.INFO: Acknowledgment sent {"connection_id":146291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:07:44] local.INFO: TCP Data received {"connection_id":148606,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:07:44] local.INFO: Processing buffer {"connection_id":148606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:07:44] local.INFO: IMEI packet received {"connection_id":148606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 15:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":148606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:07:49] local.INFO: TCP Data received {"connection_id":148606,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:07:49] local.INFO: Processing buffer {"connection_id":148606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:07:49] local.INFO: IMEI packet received {"connection_id":148606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":148606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:07:50] local.INFO: TCP Data received {"connection_id":148606,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcaead00012cf4e50007103bf8001801342b..."} 
[2026-08-01 15:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcaead00012cf4e50007103bf8001801342b..."} 
[2026-08-01 15:07:50] local.INFO: Processing buffer {"connection_id":148606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcaead00012cf4e50007103bf8001801342b..."} 
[2026-08-01 15:07:50] local.INFO: Packet analysis {"connection_id":148606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcae"} 
[2026-08-01 15:07:50] local.INFO: Extracted packet for processing {"connection_id":148606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcae"} 
[2026-08-01 15:07:50] local.INFO: GPS Element Parsed {"raw_longitude":754246912,"raw_latitude":118504440,"longitude_deg":75.4246912,"latitude_deg":11.850444,"altitude":24,"angle":308,"satellites":43,"speed":19,"hex_longitude":"2cf4e500","hex_latitude":"07103bf8","is_valid_coordinates":true} 
[2026-08-01 15:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:07:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107706368001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:07:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366566877368942592,"note":"Value kept but may cause issues"} 
[2026-08-01 15:07:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-791789079151265792,"note":"Value kept but may cause issues"} 
[2026-08-01 15:07:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:07:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785576992000,"timestamp_ms":1785576992000,"timestamp_seconds":1785576992,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcaead00"} 
[2026-08-01 15:07:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:07:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 15:07:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:07:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:07:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:07:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:07:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:07:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:07:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:07:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:07:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:07:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:07:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107706368001,"66":27876,"36":206,"2":54272,"24":19,"16":366566877368942592,"44":-791789079151265792},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,2,24,16,44]} 
[2026-08-01 15:07:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:07:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:07:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107706368001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:07:50] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-01 15:07:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366566877368942592,"km_value":366566877368942.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:07:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-791789079151265792,"description":"Unknown IO ID 44"} 
[2026-08-01 15:07:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107706368001,"power":27876,"unknown_36":206,"power_alt":54272,"ignition":19,"odometer":null,"unknown_44":-791789079151265792}} 
[2026-08-01 15:07:50] local.INFO: DEBUG: GPS processor result {"connection_id":148606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:07:50] local.INFO: GPS data processed {"connection_id":148606,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:07:50] local.INFO: Acknowledgment sent {"connection_id":148606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:08:00] local.INFO: TCP Data received {"connection_id":147297,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147297,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:08:00] local.INFO: Processing buffer {"connection_id":147297,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:08:00] local.INFO: IMEI packet received {"connection_id":147297,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":147297,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:08:05] local.INFO: TCP Data received {"connection_id":147297,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147297,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:08:05] local.INFO: Processing buffer {"connection_id":147297,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:08:05] local.INFO: IMEI packet received {"connection_id":147297,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":147297,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:08:06] local.INFO: TCP Data received {"connection_id":147297,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcacf398012d1968c0071fee10003d01142a..."} 
[2026-08-01 15:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcacf398012d1968c0071fee10003d01142a..."} 
[2026-08-01 15:08:06] local.INFO: Processing buffer {"connection_id":147297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcacf398012d1968c0071fee10003d01142a..."} 
[2026-08-01 15:08:06] local.INFO: Packet analysis {"connection_id":147297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcac"} 
[2026-08-01 15:08:06] local.INFO: Extracted packet for processing {"connection_id":147297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcac"} 
[2026-08-01 15:08:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107675648001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785576879000,"timestamp_ms":1785576879000,"timestamp_seconds":1785576879,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcacf398"} 
[2026-08-01 15:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-01 15:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-01 15:08:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-01 15:08:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 15:08:06] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-08-01 15:08:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3165304160,"note":"Value kept but may cause issues"} 
[2026-08-01 15:08:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249743780087066128,"note":"Value kept but may cause issues"} 
[2026-08-01 15:08:06] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2874765313,"note":"Value kept but may cause issues"} 
[2026-08-01 15:08:06] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026045,"note":"Value kept but may cause issues"} 
[2026-08-01 15:08:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-01 15:08:06] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-01 15:08:06] local.WARNING: Large IO value detected {"io_id":81,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-01 15:08:06] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-01 15:08:06] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,120,159,79,45,192,238,61,41,10,66,253,171,1,240,47,227,188,31,4,113,205,7,104,40,239,49,2,36,81,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-01 15:08:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395816877616529408,"timestamp_seconds":4395816877616529.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 15:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:08:06] 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-08-01 15:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107675648001,"66":12548,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107675648001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:08:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:08:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107675648001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":147297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577689,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:08:06] local.INFO: GPS data processed {"connection_id":147297,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:08:06] local.INFO: Acknowledgment sent {"connection_id":147297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:08:22] local.INFO: TCP Data received {"connection_id":148606,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcaed028012cf4d90007104798001a014028..."} 
[2026-08-01 15:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcaed028012cf4d90007104798001a014028..."} 
[2026-08-01 15:08:22] local.INFO: Processing buffer {"connection_id":148606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcaed028012cf4d90007104798001a014028..."} 
[2026-08-01 15:08:22] local.INFO: Packet analysis {"connection_id":148606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcae"} 
[2026-08-01 15:08:22] local.INFO: Extracted packet for processing {"connection_id":148606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcae"} 
[2026-08-01 15:08:22] local.INFO: GPS Element Parsed {"raw_longitude":754243840,"raw_latitude":118507416,"longitude_deg":75.424384,"latitude_deg":11.8507416,"altitude":26,"angle":320,"satellites":40,"speed":19,"hex_longitude":"2cf4d900","hex_latitude":"07104798","is_valid_coordinates":true} 
[2026-08-01 15:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107709952001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366567083527372800,"note":"Value kept but may cause issues"} 
[2026-08-01 15:08:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-800233328451258368,"note":"Value kept but may cause issues"} 
[2026-08-01 15:08:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785577001000,"timestamp_ms":1785577001000,"timestamp_seconds":1785577001,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcaed028"} 
[2026-08-01 15:08:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:08:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 15:08:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:08:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:08:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107709952001,"66":27865,"36":206,"2":54272,"24":19,"16":366567083527372800,"44":-800233328451258368},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,2,24,16,44]} 
[2026-08-01 15:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107709952001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:08:22] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-01 15:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366567083527372800,"km_value":366567083527372.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:08:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-800233328451258368,"description":"Unknown IO ID 44"} 
[2026-08-01 15:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107709952001,"power":27865,"unknown_36":206,"power_alt":54272,"ignition":19,"odometer":null,"unknown_44":-800233328451258368}} 
[2026-08-01 15:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":148606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:08:22] local.INFO: GPS data processed {"connection_id":148606,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:08:22] local.INFO: Acknowledgment sent {"connection_id":148606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:08:37] local.INFO: TCP Data received {"connection_id":147297,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcad45a0012d1968c0071fee10003d01142a..."} 
[2026-08-01 15:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcad45a0012d1968c0071fee10003d01142a..."} 
[2026-08-01 15:08:37] local.INFO: Processing buffer {"connection_id":147297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcad45a0012d1968c0071fee10003d01142a..."} 
[2026-08-01 15:08:37] local.INFO: Packet analysis {"connection_id":147297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcad"} 
[2026-08-01 15:08:37] local.INFO: Extracted packet for processing {"connection_id":147297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcad"} 
[2026-08-01 15:08:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107681024001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785576900000,"timestamp_ms":1785576900000,"timestamp_seconds":1785576900,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcad45a0"} 
[2026-08-01 15:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 15:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-01 15:08:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-01 15:08:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 15:08:37] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-08-01 15:08:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3165325160,"note":"Value kept but may cause issues"} 
[2026-08-01 15:08:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184203387085,"note":"Value kept but may cause issues"} 
[2026-08-01 15:08:37] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2880141313,"note":"Value kept but may cause issues"} 
[2026-08-01 15:08:37] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026045,"note":"Value kept but may cause issues"} 
[2026-08-01 15:08:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-01 15:08:37] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-01 15:08:37] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,120,159,161,45,192,238,61,41,10,66,79,253,1,240,14,227,188,31,4,113,205,89,104,42,239,49,2,36,7],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-01 15:08:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395816881911496704,"timestamp_seconds":4395816881911496.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 15:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:08:37] 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-08-01 15:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107681024001,"66":12558,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107681024001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:08:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:08:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107681024001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":147297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:08:37] local.INFO: GPS data processed {"connection_id":147297,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:08:37] local.INFO: Acknowledgment sent {"connection_id":147297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:08:50] local.INFO: TCP Data received {"connection_id":146292,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:08:50] local.INFO: Processing buffer {"connection_id":146292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:08:50] local.INFO: IMEI packet received {"connection_id":146292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 15:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":146292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:08:51] local.INFO: TCP Data received {"connection_id":146292,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:08:51] local.INFO: Processing buffer {"connection_id":146292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:08:51] local.INFO: IMEI packet received {"connection_id":146292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":146292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:08:52] local.INFO: TCP Data received {"connection_id":146292,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcaffcf0012cf41b400710d798000e013928..."} 
[2026-08-01 15:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcaffcf0012cf41b400710d798000e013928..."} 
[2026-08-01 15:08:52] local.INFO: Processing buffer {"connection_id":146292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcaffcf0012cf41b400710d798000e013928..."} 
[2026-08-01 15:08:52] local.INFO: Packet analysis {"connection_id":146292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcaf"} 
[2026-08-01 15:08:52] local.INFO: Extracted packet for processing {"connection_id":146292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcaf"} 
[2026-08-01 15:08:52] local.INFO: GPS Element Parsed {"raw_longitude":754195264,"raw_latitude":118544280,"longitude_deg":75.4195264,"latitude_deg":11.854428,"altitude":14,"angle":313,"satellites":40,"speed":54,"hex_longitude":"2cf41b40","hex_latitude":"0710d798","is_valid_coordinates":true} 
[2026-08-01 15:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107730176001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366570047054807040,"note":"Value kept but may cause issues"} 
[2026-08-01 15:08:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-849491449367103488,"note":"Value kept but may cause issues"} 
[2026-08-01 15:08:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785577078000,"timestamp_ms":1785577078000,"timestamp_seconds":1785577078,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcaffcf0"} 
[2026-08-01 15:08:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:08: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-08-01 15:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 15:08:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:08:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:08:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":146292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":146292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":146292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:08:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107730176001,"66":27767,"100":206,"2":54272,"24":54,"16":366570047054807040,"44":-849491449367103488},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,2,24,16,44]} 
[2026-08-01 15:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107730176001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:08:52] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-01 15:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366570047054807040,"km_value":366570047054807.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:08:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-849491449367103488,"description":"Unknown IO ID 44"} 
[2026-08-01 15:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107730176001,"power":27767,"unknown_100":206,"power_alt":54272,"ignition":54,"odometer":null,"unknown_44":-849491449367103488}} 
[2026-08-01 15:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":146292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:08:52] local.INFO: GPS data processed {"connection_id":146292,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:08:52] local.INFO: Acknowledgment sent {"connection_id":146292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:08:54] local.INFO: TCP Data received {"connection_id":146292,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcb01848012cf402800710f158000b014228..."} 
[2026-08-01 15:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcb01848012cf402800710f158000b014228..."} 
[2026-08-01 15:08:54] local.INFO: Processing buffer {"connection_id":146292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcb01848012cf402800710f158000b014228..."} 
[2026-08-01 15:08:54] local.INFO: Packet analysis {"connection_id":146292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcb0"} 
[2026-08-01 15:08:54] local.INFO: Extracted packet for processing {"connection_id":146292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcb0"} 
[2026-08-01 15:08:54] local.INFO: GPS Element Parsed {"raw_longitude":754188928,"raw_latitude":118550872,"longitude_deg":75.4188928,"latitude_deg":11.8550872,"altitude":11,"angle":322,"satellites":40,"speed":49,"hex_longitude":"2cf40280","hex_latitude":"0710f158","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107731968001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366570485141471232,"note":"Value kept but may cause issues"} 
[2026-08-01 15:08:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-857020904992434176,"note":"Value kept but may cause issues"} 
[2026-08-01 15:08:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785577085000,"timestamp_ms":1785577085000,"timestamp_seconds":1785577085,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcb01848"} 
[2026-08-01 15:08:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:08: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-08-01 15: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 15:08:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15: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-08-01 15:08:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:08:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107731968001,"66":27908,"100":206,"2":54272,"24":49,"16":366570485141471232,"44":-857020904992434176},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,2,24,16,44]} 
[2026-08-01 15:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107731968001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:08:54] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-01 15:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366570485141471232,"km_value":366570485141471.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:08:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-857020904992434176,"description":"Unknown IO ID 44"} 
[2026-08-01 15:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107731968001,"power":27908,"unknown_100":206,"power_alt":54272,"ignition":49,"odometer":null,"unknown_44":-857020904992434176}} 
[2026-08-01 15:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":146292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:08:54] local.INFO: GPS data processed {"connection_id":146292,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:08:54] local.INFO: Acknowledgment sent {"connection_id":146292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:09:00] local.INFO: TCP Data received {"connection_id":146065,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:09:00] local.INFO: Processing buffer {"connection_id":146065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:09:00] local.INFO: IMEI packet received {"connection_id":146065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":146065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:09:05] local.INFO: TCP Data received {"connection_id":146065,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:09:05] local.INFO: Processing buffer {"connection_id":146065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:09:05] local.INFO: IMEI packet received {"connection_id":146065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":146065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:09:06] local.INFO: TCP Data received {"connection_id":146065,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcad97a8012d1968c0071fee10003d011429..."} 
[2026-08-01 15:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcad97a8012d1968c0071fee10003d011429..."} 
[2026-08-01 15:09:06] local.INFO: Processing buffer {"connection_id":146065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcad97a8012d1968c0071fee10003d011429..."} 
[2026-08-01 15:09:06] local.INFO: Packet analysis {"connection_id":146065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcad"} 
[2026-08-01 15:09:06] local.INFO: Extracted packet for processing {"connection_id":146065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcad"} 
[2026-08-01 15:09:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107686400001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785576921000,"timestamp_ms":1785576921000,"timestamp_seconds":1785576921,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcad97a8"} 
[2026-08-01 15:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-01 15:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-01 15:09:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-01 15:09:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 15:09:06] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-08-01 15:09:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3165346160,"note":"Value kept but may cause issues"} 
[2026-08-01 15:09:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249743780087066128,"note":"Value kept but may cause issues"} 
[2026-08-01 15:09:06] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2885517313,"note":"Value kept but may cause issues"} 
[2026-08-01 15:09:06] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026045,"note":"Value kept but may cause issues"} 
[2026-08-01 15:09:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-01 15:09:06] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-01 15:09:06] local.WARNING: Large IO value detected {"io_id":81,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-01 15:09:06] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-01 15:09:06] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,120,159,243,45,192,238,61,42,10,66,161,41,79,1,240,47,227,188,31,4,113,205,171,104,239,49,2,36,7,81,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-01 15:09:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395816881911496704,"timestamp_seconds":4395816881911496.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 15:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:09:06] 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-08-01 15:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107686400001,"66":12526,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107686400001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:09:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:09:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107686400001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":146065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:09:06] local.INFO: GPS data processed {"connection_id":146065,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:09:06] local.INFO: Acknowledgment sent {"connection_id":146065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:09:27] local.INFO: TCP Data received {"connection_id":146292,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcb03788012cf3efc007110ec0000b014a22..."} 
[2026-08-01 15:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcb03788012cf3efc007110ec0000b014a22..."} 
[2026-08-01 15:09:27] local.INFO: Processing buffer {"connection_id":146292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcb03788012cf3efc007110ec0000b014a22..."} 
[2026-08-01 15:09:27] local.INFO: Packet analysis {"connection_id":146292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcb0"} 
[2026-08-01 15:09:27] local.INFO: Extracted packet for processing {"connection_id":146292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcb0"} 
[2026-08-01 15:09:27] local.INFO: GPS Element Parsed {"raw_longitude":754184128,"raw_latitude":118558400,"longitude_deg":75.4184128,"latitude_deg":11.85584,"altitude":11,"angle":330,"satellites":34,"speed":34,"hex_longitude":"2cf3efc0","hex_latitude":"07110ec0","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107733760001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366570914638200832,"note":"Value kept but may cause issues"} 
[2026-08-01 15:09:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-863987410664335360,"note":"Value kept but may cause issues"} 
[2026-08-01 15:09:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785577093000,"timestamp_ms":1785577093000,"timestamp_seconds":1785577093,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcb03788"} 
[2026-08-01 15:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15: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-08-01 15: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":4,"data_length":795,"current_offset":136} 
[2026-08-01 15:09: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-08-01 15: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-08-01 15:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":146292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":146292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":146292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107733760001,"66":27800,"100":206,"2":54272,"24":34,"16":366570914638200832,"44":-863987410664335360},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,2,24,16,44]} 
[2026-08-01 15:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107733760001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:09:27] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-01 15:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366570914638200832,"km_value":366570914638200.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:09:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-863987410664335360,"description":"Unknown IO ID 44"} 
[2026-08-01 15:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107733760001,"power":27800,"unknown_100":206,"power_alt":54272,"ignition":34,"odometer":null,"unknown_44":-863987410664335360}} 
[2026-08-01 15:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":146292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:09:27] local.INFO: GPS data processed {"connection_id":146292,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:09:27] local.INFO: Acknowledgment sent {"connection_id":146292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:09:37] local.INFO: TCP Data received {"connection_id":146065,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcade9b0012d1968c0071fee10003d011429..."} 
[2026-08-01 15:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcade9b0012d1968c0071fee10003d011429..."} 
[2026-08-01 15:09:37] local.INFO: Processing buffer {"connection_id":146065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcade9b0012d1968c0071fee10003d011429..."} 
[2026-08-01 15:09:37] local.INFO: Packet analysis {"connection_id":146065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcad"} 
[2026-08-01 15:09:37] local.INFO: Extracted packet for processing {"connection_id":146065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcad"} 
[2026-08-01 15:09:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107691776001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785576942000,"timestamp_ms":1785576942000,"timestamp_seconds":1785576942,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcade9b0"} 
[2026-08-01 15:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-01 15:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:09:37] 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-08-01 15:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107691776001,"66":12515,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107691776001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:09:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:09:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107691776001,"power":12515,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":146065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:09:37] local.INFO: GPS data processed {"connection_id":146065,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:09:37] local.INFO: Acknowledgment sent {"connection_id":146065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:09:44] local.INFO: TCP Data received {"connection_id":148607,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:09:44] local.INFO: Processing buffer {"connection_id":148607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:09:44] local.INFO: IMEI packet received {"connection_id":148607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 15:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":148607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:09:49] local.INFO: TCP Data received {"connection_id":148607,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:09:49] local.INFO: Processing buffer {"connection_id":148607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:09:49] local.INFO: IMEI packet received {"connection_id":148607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":148607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:09:52] local.INFO: TCP Data received {"connection_id":148607,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcb06668012cf3e10007112478000c013f25..."} 
[2026-08-01 15:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcb06668012cf3e10007112478000c013f25..."} 
[2026-08-01 15:09:52] local.INFO: Processing buffer {"connection_id":148607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcb06668012cf3e10007112478000c013f25..."} 
[2026-08-01 15:09:52] local.INFO: Packet analysis {"connection_id":148607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcb0"} 
[2026-08-01 15:09:52] local.INFO: Extracted packet for processing {"connection_id":148607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcb0"} 
[2026-08-01 15:09:52] local.INFO: GPS Element Parsed {"raw_longitude":754180352,"raw_latitude":118563960,"longitude_deg":75.4180352,"latitude_deg":11.856396,"altitude":12,"angle":319,"satellites":37,"speed":24,"hex_longitude":"2cf3e100","hex_latitude":"07112478","is_valid_coordinates":true} 
[2026-08-01 15:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107735808001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366571236760748032,"note":"Value kept but may cause issues"} 
[2026-08-01 15:09:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-869265066475732992,"note":"Value kept but may cause issues"} 
[2026-08-01 15:09:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785577105000,"timestamp_ms":1785577105000,"timestamp_seconds":1785577105,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcb06668"} 
[2026-08-01 15:09:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:09: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-08-01 15:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 15:09: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-08-01 15:09:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:09:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:09:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107735808001,"66":27995,"100":206,"2":54272,"24":24,"16":366571236760748032,"44":-869265066475732992},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,2,24,16,44]} 
[2026-08-01 15:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107735808001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:09:52] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-01 15:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366571236760748032,"km_value":366571236760748.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:09:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-869265066475732992,"description":"Unknown IO ID 44"} 
[2026-08-01 15:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107735808001,"power":27995,"unknown_100":206,"power_alt":54272,"ignition":24,"odometer":null,"unknown_44":-869265066475732992}} 
[2026-08-01 15:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":148607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:09:52] local.INFO: GPS data processed {"connection_id":148607,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:09:52] local.INFO: Acknowledgment sent {"connection_id":148607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:10:00] local.INFO: TCP Data received {"connection_id":148608,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:10:00] local.INFO: Processing buffer {"connection_id":148608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:10:00] local.INFO: IMEI packet received {"connection_id":148608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":148608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:10:05] local.INFO: TCP Data received {"connection_id":148608,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:10:05] local.INFO: Processing buffer {"connection_id":148608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:10:05] local.INFO: IMEI packet received {"connection_id":148608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":148608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:10:06] local.INFO: TCP Data received {"connection_id":148608,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcae3bb8012d1968c0071fee10003d011428..."} 
[2026-08-01 15:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcae3bb8012d1968c0071fee10003d011428..."} 
[2026-08-01 15:10:06] local.INFO: Processing buffer {"connection_id":148608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcae3bb8012d1968c0071fee10003d011428..."} 
[2026-08-01 15:10:06] local.INFO: Packet analysis {"connection_id":148608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcae"} 
[2026-08-01 15:10:06] local.INFO: Extracted packet for processing {"connection_id":148608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcae"} 
[2026-08-01 15:10:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107697152001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785576963000,"timestamp_ms":1785576963000,"timestamp_seconds":1785576963,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcae3bb8"} 
[2026-08-01 15:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-01 15:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:10:06] 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-08-01 15:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107697152001,"66":12493,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107697152001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:10:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:10:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107697152001,"power":12493,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":148608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577698,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:10:06] local.INFO: GPS data processed {"connection_id":148608,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:10:06] local.INFO: Acknowledgment sent {"connection_id":148608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:10:23] local.INFO: TCP Data received {"connection_id":148607,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcb085a8012cf3d38007113120000b01342a..."} 
[2026-08-01 15:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcb085a8012cf3d38007113120000b01342a..."} 
[2026-08-01 15:10:24] local.INFO: Processing buffer {"connection_id":148607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcb085a8012cf3d38007113120000b01342a..."} 
[2026-08-01 15:10:24] local.INFO: Packet analysis {"connection_id":148607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcb0"} 
[2026-08-01 15:10:24] local.INFO: Extracted packet for processing {"connection_id":148607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcb0"} 
[2026-08-01 15:10:24] local.INFO: GPS Element Parsed {"raw_longitude":754176896,"raw_latitude":118567200,"longitude_deg":75.4176896,"latitude_deg":11.85672,"altitude":11,"angle":308,"satellites":42,"speed":17,"hex_longitude":"2cf3d380","hex_latitude":"07113120","is_valid_coordinates":true} 
[2026-08-01 15:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107738880001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366571468688982016,"note":"Value kept but may cause issues"} 
[2026-08-01 15:10:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-873416822380791808,"note":"Value kept but may cause issues"} 
[2026-08-01 15:10:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785577113000,"timestamp_ms":1785577113000,"timestamp_seconds":1785577113,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcb085a8"} 
[2026-08-01 15:10:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:10: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-08-01 15:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-01 15:10:24] 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-08-01 15:10:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:10:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":148607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":148607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":148607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:10:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107738880001,"66":27843,"100":206,"2":54272,"24":17,"16":366571468688982016,"44":-873416822380791808},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,2,24,16,44]} 
[2026-08-01 15:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107738880001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:10:24] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-01 15:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366571468688982016,"km_value":366571468688982.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:10:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-873416822380791808,"description":"Unknown IO ID 44"} 
[2026-08-01 15:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107738880001,"power":27843,"unknown_100":206,"power_alt":54272,"ignition":17,"odometer":null,"unknown_44":-873416822380791808}} 
[2026-08-01 15:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":148607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:10:24] local.INFO: GPS data processed {"connection_id":148607,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:10:24] local.INFO: Acknowledgment sent {"connection_id":148607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:10:37] local.INFO: TCP Data received {"connection_id":148608,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcae8dc0012d1968c0071fee10003d011427..."} 
[2026-08-01 15:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcae8dc0012d1968c0071fee10003d011427..."} 
[2026-08-01 15:10:37] local.INFO: Processing buffer {"connection_id":148608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcae8dc0012d1968c0071fee10003d011427..."} 
[2026-08-01 15:10:37] local.INFO: Packet analysis {"connection_id":148608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcae"} 
[2026-08-01 15:10:37] local.INFO: Extracted packet for processing {"connection_id":148608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcae"} 
[2026-08-01 15:10:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107702528001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785576984000,"timestamp_ms":1785576984000,"timestamp_seconds":1785576984,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcae8dc0"} 
[2026-08-01 15:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-01 15:10:37] 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-08-01 15:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:10:37] 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-08-01 15:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107702528001,"66":12461,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107702528001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:10:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:10:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107702528001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":148608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577700,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:10:37] local.INFO: GPS data processed {"connection_id":148608,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:10:37] local.INFO: Acknowledgment sent {"connection_id":148608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:10:44] local.INFO: TCP Data received {"connection_id":147298,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:10:44] local.INFO: Processing buffer {"connection_id":147298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:10:44] local.INFO: IMEI packet received {"connection_id":147298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 15:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":147298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:10:47] local.INFO: TCP Data received {"connection_id":147298,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:10:47] local.INFO: Processing buffer {"connection_id":147298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:10:47] local.INFO: IMEI packet received {"connection_id":147298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":147298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:10:49] local.INFO: TCP Data received {"connection_id":147298,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:10:49] local.INFO: Processing buffer {"connection_id":147298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:10:49] local.INFO: IMEI packet received {"connection_id":147298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":147298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:10:50] local.INFO: TCP Data received {"connection_id":147298,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcb0b870012cf3c28007113e180009012829..."} 
[2026-08-01 15:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcb0b870012cf3c28007113e180009012829..."} 
[2026-08-01 15:10:50] local.INFO: Processing buffer {"connection_id":147298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcb0b870012cf3c28007113e180009012829..."} 
[2026-08-01 15:10:50] local.INFO: Packet analysis {"connection_id":147298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcb0"} 
[2026-08-01 15:10:50] local.INFO: Extracted packet for processing {"connection_id":147298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcb0"} 
[2026-08-01 15:10:50] local.INFO: GPS Element Parsed {"raw_longitude":754172544,"raw_latitude":118570520,"longitude_deg":75.4172544,"latitude_deg":11.857052,"altitude":9,"angle":296,"satellites":41,"speed":17,"hex_longitude":"2cf3c280","hex_latitude":"07113e18","is_valid_coordinates":true} 
[2026-08-01 15:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107740928001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366571730681987072,"note":"Value kept but may cause issues"} 
[2026-08-01 15:10:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-877216734565556224,"note":"Value kept but may cause issues"} 
[2026-08-01 15:10:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785577126000,"timestamp_ms":1785577126000,"timestamp_seconds":1785577126,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcb0b870"} 
[2026-08-01 15:10:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:10:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 15:10:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:10:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:10:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:10:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107740928001,"66":27234,"100":206,"2":54272,"24":17,"16":366571730681987072,"44":-877216734565556224},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,2,24,16,44]} 
[2026-08-01 15:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107740928001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:10:50] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-01 15:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366571730681987072,"km_value":366571730681987.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:10:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-877216734565556224,"description":"Unknown IO ID 44"} 
[2026-08-01 15:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107740928001,"power":27234,"unknown_100":206,"power_alt":54272,"ignition":17,"odometer":null,"unknown_44":-877216734565556224}} 
[2026-08-01 15:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":147298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:10:50] local.INFO: GPS data processed {"connection_id":147298,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:10:50] local.INFO: Acknowledgment sent {"connection_id":147298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:10:55] local.INFO: TCP Data received {"connection_id":147298,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcb0d3c8012cf3b5c0071145480009013528..."} 
[2026-08-01 15:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcb0d3c8012cf3b5c0071145480009013528..."} 
[2026-08-01 15:10:55] local.INFO: Processing buffer {"connection_id":147298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcb0d3c8012cf3b5c0071145480009013528..."} 
[2026-08-01 15:10:55] local.INFO: Packet analysis {"connection_id":147298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcb0"} 
[2026-08-01 15:10:55] local.INFO: Extracted packet for processing {"connection_id":147298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcb0"} 
[2026-08-01 15:10:55] local.INFO: GPS Element Parsed {"raw_longitude":754169280,"raw_latitude":118572360,"longitude_deg":75.416928,"latitude_deg":11.857236,"altitude":9,"angle":309,"satellites":40,"speed":24,"hex_longitude":"2cf3b5c0","hex_latitude":"07114548","is_valid_coordinates":true} 
[2026-08-01 15:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107744256001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366571906775646208,"note":"Value kept but may cause issues"} 
[2026-08-01 15:10:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-882001809168787456,"note":"Value kept but may cause issues"} 
[2026-08-01 15:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785577133000,"timestamp_ms":1785577133000,"timestamp_seconds":1785577133,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcb0d3c8"} 
[2026-08-01 15:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-01 15:10:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:10:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":147298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":147298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":147298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107744256001,"66":27767,"100":206,"2":54272,"24":24,"16":366571906775646208,"44":-882001809168787456},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,2,24,16,44]} 
[2026-08-01 15:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107744256001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:10:55] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-01 15:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366571906775646208,"km_value":366571906775646.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:10:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-882001809168787456,"description":"Unknown IO ID 44"} 
[2026-08-01 15:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107744256001,"power":27767,"unknown_100":206,"power_alt":54272,"ignition":24,"odometer":null,"unknown_44":-882001809168787456}} 
[2026-08-01 15:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":147298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:10:55] local.INFO: GPS data processed {"connection_id":147298,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:10:55] local.INFO: Acknowledgment sent {"connection_id":147298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:11:05] local.INFO: TCP Data received {"connection_id":146293,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146293,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:11:05] local.INFO: Processing buffer {"connection_id":146293,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:11:05] local.INFO: IMEI packet received {"connection_id":146293,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":146293,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:11:10] local.INFO: TCP Data received {"connection_id":146293,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146293,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:11:10] local.INFO: Processing buffer {"connection_id":146293,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:11:10] local.INFO: IMEI packet received {"connection_id":146293,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":146293,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:11:11] local.INFO: TCP Data received {"connection_id":146293,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcaedfc8012d1968c0071fee10003d01142a..."} 
[2026-08-01 15:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcaedfc8012d1968c0071fee10003d01142a..."} 
[2026-08-01 15:11:11] local.INFO: Processing buffer {"connection_id":146293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcaedfc8012d1968c0071fee10003d01142a..."} 
[2026-08-01 15:11:11] local.INFO: Packet analysis {"connection_id":146293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcae"} 
[2026-08-01 15:11:11] local.INFO: Extracted packet for processing {"connection_id":146293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcae"} 
[2026-08-01 15:11:11] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 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-08-01 15:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107707904001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15: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-08-01 15:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785577005000,"timestamp_ms":1785577005000,"timestamp_seconds":1785577005,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcaedfc8"} 
[2026-08-01 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-08-01 15:11: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-08-01 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 15:11: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-08-01 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-08-01 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-08-01 15:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:11:11] 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-08-01 15:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107707904001,"66":12515,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107707904001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:11:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:11:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107707904001,"power":12515,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":146293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577703,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:11:11] local.INFO: GPS data processed {"connection_id":146293,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:11:11] local.INFO: Acknowledgment sent {"connection_id":146293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:11:15] local.INFO: TCP Data received {"connection_id":146293,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcaf31d0012d1968c0071fee10003d011428..."} 
[2026-08-01 15:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcaf31d0012d1968c0071fee10003d011428..."} 
[2026-08-01 15:11:15] local.INFO: Processing buffer {"connection_id":146293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcaf31d0012d1968c0071fee10003d011428..."} 
[2026-08-01 15:11:15] local.INFO: Packet analysis {"connection_id":146293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcaf"} 
[2026-08-01 15:11:15] local.INFO: Extracted packet for processing {"connection_id":146293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcaf"} 
[2026-08-01 15:11:15] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107713280001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:11: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-08-01 15:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785577026000,"timestamp_ms":1785577026000,"timestamp_seconds":1785577026,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcaf31d0"} 
[2026-08-01 15:11:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:11: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-08-01 15: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-01 15:11:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15: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-08-01 15:11:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":146293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":146293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":146293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:11:15] 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-08-01 15:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107713280001,"66":12461,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107713280001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:11:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:11:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107713280001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":146293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577704,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:11:15] local.INFO: GPS data processed {"connection_id":146293,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:11:15] local.INFO: Acknowledgment sent {"connection_id":146293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:11:27] local.INFO: TCP Data received {"connection_id":147298,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcb121e8012cf39bc007115db00008013c29..."} 
[2026-08-01 15:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcb121e8012cf39bc007115db00008013c29..."} 
[2026-08-01 15:11:27] local.INFO: Processing buffer {"connection_id":147298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcb121e8012cf39bc007115db00008013c29..."} 
[2026-08-01 15:11:27] local.INFO: Packet analysis {"connection_id":147298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcb1"} 
[2026-08-01 15:11:27] local.INFO: Extracted packet for processing {"connection_id":147298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcb1"} 
[2026-08-01 15:11:27] local.INFO: GPS Element Parsed {"raw_longitude":754162624,"raw_latitude":118578608,"longitude_deg":75.4162624,"latitude_deg":11.8578608,"altitude":8,"angle":316,"satellites":41,"speed":9,"hex_longitude":"2cf39bc0","hex_latitude":"07115db0","is_valid_coordinates":true} 
[2026-08-01 15:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107746048001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366572344862310400,"note":"Value kept but may cause issues"} 
[2026-08-01 15:11:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-885590615121377280,"note":"Value kept but may cause issues"} 
[2026-08-01 15:11:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785577153000,"timestamp_ms":1785577153000,"timestamp_seconds":1785577153,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcb121e8"} 
[2026-08-01 15:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:11: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-08-01 15:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 15:11:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:11:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":147298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":147298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":147298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:11:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107746048001,"66":27865,"100":206,"2":54272,"24":9,"16":366572344862310400,"44":-885590615121377280},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,2,24,16,44]} 
[2026-08-01 15:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107746048001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:11:27] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-01 15:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366572344862310400,"km_value":366572344862310.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:11:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-885590615121377280,"description":"Unknown IO ID 44"} 
[2026-08-01 15:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107746048001,"power":27865,"unknown_100":206,"power_alt":54272,"ignition":9,"odometer":null,"unknown_44":-885590615121377280}} 
[2026-08-01 15:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":147298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:11:27] local.INFO: GPS data processed {"connection_id":147298,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:11:27] local.INFO: Acknowledgment sent {"connection_id":147298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:11:44] local.INFO: TCP Data received {"connection_id":146066,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:11:44] local.INFO: Processing buffer {"connection_id":146066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:11:44] local.INFO: IMEI packet received {"connection_id":146066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 15:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":146066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:11:46] local.INFO: TCP Data received {"connection_id":146066,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:11:46] local.INFO: Processing buffer {"connection_id":146066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:11:46] local.INFO: IMEI packet received {"connection_id":146066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":146066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:11:49] local.INFO: TCP Data received {"connection_id":146066,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:11:49] local.INFO: Processing buffer {"connection_id":146066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:11:49] local.INFO: IMEI packet received {"connection_id":146066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":146066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:11:50] local.INFO: TCP Data received {"connection_id":146066,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcb154b0012cf3908007116c380008014729..."} 
[2026-08-01 15:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcb154b0012cf3908007116c380008014729..."} 
[2026-08-01 15:11:50] local.INFO: Processing buffer {"connection_id":146066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcb154b0012cf3908007116c380008014729..."} 
[2026-08-01 15:11:50] local.INFO: Packet analysis {"connection_id":146066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcb1"} 
[2026-08-01 15:11:50] local.INFO: Extracted packet for processing {"connection_id":146066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcb1"} 
[2026-08-01 15:11:50] local.INFO: GPS Element Parsed {"raw_longitude":754159744,"raw_latitude":118582328,"longitude_deg":75.4159744,"latitude_deg":11.8582328,"altitude":8,"angle":327,"satellites":41,"speed":21,"hex_longitude":"2cf39080","hex_latitude":"07116c38","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107751168001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366572572495577088,"note":"Value kept but may cause issues"} 
[2026-08-01 15:11:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-892908964514254848,"note":"Value kept but may cause issues"} 
[2026-08-01 15:11:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785577166000,"timestamp_ms":1785577166000,"timestamp_seconds":1785577166,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcb154b0"} 
[2026-08-01 15:11:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:11:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 15:11:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:11:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:11:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:11:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107751168001,"66":27930,"100":206,"2":54272,"24":21,"16":366572572495577088,"44":-892908964514254848},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,2,24,16,44]} 
[2026-08-01 15:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107751168001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:11:50] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-01 15:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366572572495577088,"km_value":366572572495577.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:11:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-892908964514254848,"description":"Unknown IO ID 44"} 
[2026-08-01 15:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107751168001,"power":27930,"unknown_100":206,"power_alt":54272,"ignition":21,"odometer":null,"unknown_44":-892908964514254848}} 
[2026-08-01 15:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":146066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:11:50] local.INFO: GPS data processed {"connection_id":146066,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:11:50] local.INFO: Acknowledgment sent {"connection_id":146066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:12:00] local.INFO: TCP Data received {"connection_id":148609,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:12:00] local.INFO: Processing buffer {"connection_id":148609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:12:00] local.INFO: IMEI packet received {"connection_id":148609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":148609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:12:05] local.INFO: TCP Data received {"connection_id":148609,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:12:05] local.INFO: Processing buffer {"connection_id":148609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:12:05] local.INFO: IMEI packet received {"connection_id":148609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":148609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:12:06] local.INFO: TCP Data received {"connection_id":148609,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcaf83d8012d1968c0071fee10003d01142a..."} 
[2026-08-01 15:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcaf83d8012d1968c0071fee10003d01142a..."} 
[2026-08-01 15:12:06] local.INFO: Processing buffer {"connection_id":148609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcaf83d8012d1968c0071fee10003d01142a..."} 
[2026-08-01 15:12:06] local.INFO: Packet analysis {"connection_id":148609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcaf"} 
[2026-08-01 15:12:06] local.INFO: Extracted packet for processing {"connection_id":148609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcaf"} 
[2026-08-01 15:12:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107718656001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785577047000,"timestamp_ms":1785577047000,"timestamp_seconds":1785577047,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcaf83d8"} 
[2026-08-01 15:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 15:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15: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-08-01 15:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:12:06] 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-08-01 15:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107718656001,"66":12504,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107718656001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:12:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:12:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107718656001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":148609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577707,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:12:06] local.INFO: GPS data processed {"connection_id":148609,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:12:06] local.INFO: Acknowledgment sent {"connection_id":148609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:12:22] local.INFO: TCP Data received {"connection_id":146066,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcb177d8012cf3830007117e700007013c27..."} 
[2026-08-01 15:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcb177d8012cf3830007117e700007013c27..."} 
[2026-08-01 15:12:22] local.INFO: Processing buffer {"connection_id":146066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcb177d8012cf3830007117e700007013c27..."} 
[2026-08-01 15:12:22] local.INFO: Packet analysis {"connection_id":146066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcb1"} 
[2026-08-01 15:12:22] local.INFO: Extracted packet for processing {"connection_id":146066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcb1"} 
[2026-08-01 15:12:22] local.INFO: GPS Element Parsed {"raw_longitude":754156288,"raw_latitude":118586992,"longitude_deg":75.4156288,"latitude_deg":11.8586992,"altitude":7,"angle":316,"satellites":39,"speed":23,"hex_longitude":"2cf38300","hex_latitude":"07117e70","is_valid_coordinates":true} 
[2026-08-01 15:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107754496001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366572851668451328,"note":"Value kept but may cause issues"} 
[2026-08-01 15:12:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-896075558001297408,"note":"Value kept but may cause issues"} 
[2026-08-01 15:12:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785577175000,"timestamp_ms":1785577175000,"timestamp_seconds":1785577175,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcb177d8"} 
[2026-08-01 15:12:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:12:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-01 15:12:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:12:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:12:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:12:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107754496001,"66":27930,"100":206,"2":54272,"24":23,"16":366572851668451328,"44":-896075558001297408},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,2,24,16,44]} 
[2026-08-01 15:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107754496001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:12:22] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-01 15:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366572851668451328,"km_value":366572851668451.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:12:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-896075558001297408,"description":"Unknown IO ID 44"} 
[2026-08-01 15:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107754496001,"power":27930,"unknown_100":206,"power_alt":54272,"ignition":23,"odometer":null,"unknown_44":-896075558001297408}} 
[2026-08-01 15:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":146066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:12:22] local.INFO: GPS data processed {"connection_id":146066,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:12:22] local.INFO: Acknowledgment sent {"connection_id":146066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:12:37] local.INFO: TCP Data received {"connection_id":148609,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcafd5e0012d1968c0071fee10003d01142b..."} 
[2026-08-01 15:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcafd5e0012d1968c0071fee10003d01142b..."} 
[2026-08-01 15:12:37] local.INFO: Processing buffer {"connection_id":148609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcafd5e0012d1968c0071fee10003d01142b..."} 
[2026-08-01 15:12:37] local.INFO: Packet analysis {"connection_id":148609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcaf"} 
[2026-08-01 15:12:37] local.INFO: Extracted packet for processing {"connection_id":148609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcaf"} 
[2026-08-01 15:12:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107724032001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785577068000,"timestamp_ms":1785577068000,"timestamp_seconds":1785577068,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcafd5e0"} 
[2026-08-01 15:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-01 15:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:12:37] 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-08-01 15:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107724032001,"66":12504,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107724032001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:12:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:12:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107724032001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":148609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577709,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:12:37] local.INFO: GPS data processed {"connection_id":148609,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:12:37] local.INFO: Acknowledgment sent {"connection_id":148609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:12:49] local.INFO: TCP Data received {"connection_id":148610,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:12:49] local.INFO: Processing buffer {"connection_id":148610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:12:49] local.INFO: IMEI packet received {"connection_id":148610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 15:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":148610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:12:54] local.INFO: TCP Data received {"connection_id":148610,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:12:54] local.INFO: Processing buffer {"connection_id":148610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:12:54] local.INFO: IMEI packet received {"connection_id":148610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":148610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:12:55] local.INFO: TCP Data received {"connection_id":148610,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcb1c5f8012cf3690007119700000801392d..."} 
[2026-08-01 15:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcb1c5f8012cf3690007119700000801392d..."} 
[2026-08-01 15:12:55] local.INFO: Processing buffer {"connection_id":148610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcb1c5f8012cf3690007119700000801392d..."} 
[2026-08-01 15:12:55] local.INFO: Packet analysis {"connection_id":148610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcb1"} 
[2026-08-01 15:12:55] local.INFO: Extracted packet for processing {"connection_id":148610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcb1"} 
[2026-08-01 15:12:55] local.INFO: GPS Element Parsed {"raw_longitude":754149632,"raw_latitude":118593280,"longitude_deg":75.4149632,"latitude_deg":11.859328,"altitude":8,"angle":313,"satellites":45,"speed":21,"hex_longitude":"2cf36900","hex_latitude":"07119700","is_valid_coordinates":true} 
[2026-08-01 15:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107756800001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366573294050082816,"note":"Value kept but may cause issues"} 
[2026-08-01 15:12:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-899875470185697280,"note":"Value kept but may cause issues"} 
[2026-08-01 15:12:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785577195000,"timestamp_ms":1785577195000,"timestamp_seconds":1785577195,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcb1c5f8"} 
[2026-08-01 15:12:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:12:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-01 15:12:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:12:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:12:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107756800001,"66":27876,"100":206,"2":54272,"24":21,"16":366573294050082816,"44":-899875470185697280},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,2,24,16,44]} 
[2026-08-01 15:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107756800001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:12:55] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-01 15:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366573294050082816,"km_value":366573294050082.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:12:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-899875470185697280,"description":"Unknown IO ID 44"} 
[2026-08-01 15:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107756800001,"power":27876,"unknown_100":206,"power_alt":54272,"ignition":21,"odometer":null,"unknown_44":-899875470185697280}} 
[2026-08-01 15:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":148610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:12:55] local.INFO: GPS data processed {"connection_id":148610,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:12:55] local.INFO: Acknowledgment sent {"connection_id":148610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:12:56] local.INFO: TCP Data received {"connection_id":148610,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcb1fca8012cf34e800711b0980008013a2a..."} 
[2026-08-01 15:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcb1fca8012cf34e800711b0980008013a2a..."} 
[2026-08-01 15:12:56] local.INFO: Processing buffer {"connection_id":148610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcb1fca8012cf34e800711b0980008013a2a..."} 
[2026-08-01 15:12:56] local.INFO: Packet analysis {"connection_id":148610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcb1"} 
[2026-08-01 15:12:56] local.INFO: Extracted packet for processing {"connection_id":148610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcb1"} 
[2026-08-01 15:12:56] local.INFO: GPS Element Parsed {"raw_longitude":754142848,"raw_latitude":118599832,"longitude_deg":75.4142848,"latitude_deg":11.8599832,"altitude":8,"angle":314,"satellites":42,"speed":29,"hex_longitude":"2cf34e80","hex_latitude":"0711b098","is_valid_coordinates":true} 
[2026-08-01 15:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107761920001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366573745021648896,"note":"Value kept but may cause issues"} 
[2026-08-01 15:12:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-907193819578564608,"note":"Value kept but may cause issues"} 
[2026-08-01 15:12:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785577209000,"timestamp_ms":1785577209000,"timestamp_seconds":1785577209,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcb1fca8"} 
[2026-08-01 15:12:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:12:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 15:12:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:12:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:12:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":148610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":148610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":148610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:12:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107761920001,"66":27930,"101":206,"2":54272,"24":29,"16":366573745021648896,"44":-907193819578564608},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,2,24,16,44]} 
[2026-08-01 15:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107761920001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:12:56] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-01 15:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366573745021648896,"km_value":366573745021648.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:12:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-907193819578564608,"description":"Unknown IO ID 44"} 
[2026-08-01 15:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107761920001,"power":27930,"unknown_101":206,"power_alt":54272,"ignition":29,"odometer":null,"unknown_44":-907193819578564608}} 
[2026-08-01 15:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":148610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:12:56] local.INFO: GPS data processed {"connection_id":148610,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:12:56] local.INFO: Acknowledgment sent {"connection_id":148610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:13:00] local.INFO: TCP Data received {"connection_id":146067,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:13:00] local.INFO: Processing buffer {"connection_id":146067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:13:00] local.INFO: IMEI packet received {"connection_id":146067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":146067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:13:00] local.INFO: TCP Data received {"connection_id":146067,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:13:00] local.INFO: Processing buffer {"connection_id":146067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:13:00] local.INFO: IMEI packet received {"connection_id":146067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":146067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:13:05] local.INFO: TCP Data received {"connection_id":146067,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:13:05] local.INFO: Processing buffer {"connection_id":146067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:13:05] local.INFO: IMEI packet received {"connection_id":146067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":146067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:13:06] local.INFO: TCP Data received {"connection_id":146067,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcb35c38012d1968c0071fee10003d011429..."} 
[2026-08-01 15:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcb35c38012d1968c0071fee10003d011429..."} 
[2026-08-01 15:13:06] local.INFO: Processing buffer {"connection_id":146067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcb35c38012d1968c0071fee10003d011429..."} 
[2026-08-01 15:13:06] local.INFO: Packet analysis {"connection_id":146067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcb3"} 
[2026-08-01 15:13:06] local.INFO: Extracted packet for processing {"connection_id":146067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcb3"} 
[2026-08-01 15:13:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107783168001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785577299000,"timestamp_ms":1785577299000,"timestamp_seconds":1785577299,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcb35c38"} 
[2026-08-01 15:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 15:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15: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-08-01 15:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:13:06] 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-08-01 15:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107783168001,"66":12439,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107783168001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:13:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:13:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107783168001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":146067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577712,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:13:06] local.INFO: GPS data processed {"connection_id":146067,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:13:06] local.INFO: Acknowledgment sent {"connection_id":146067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:13:28] local.INFO: TCP Data received {"connection_id":148610,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcb3fc60012cf2514007127140000a01332e..."} 
[2026-08-01 15:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcb3fc60012cf2514007127140000a01332e..."} 
[2026-08-01 15:13:28] local.INFO: Processing buffer {"connection_id":148610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcb3fc60012cf2514007127140000a01332e..."} 
[2026-08-01 15:13:28] local.INFO: Packet analysis {"connection_id":148610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcb3"} 
[2026-08-01 15:13:28] local.INFO: Extracted packet for processing {"connection_id":148610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcb3"} 
[2026-08-01 15:13:28] local.INFO: GPS Element Parsed {"raw_longitude":754078016,"raw_latitude":118649152,"longitude_deg":75.4078016,"latitude_deg":11.8649152,"altitude":10,"angle":307,"satellites":46,"speed":23,"hex_longitude":"2cf25140","hex_latitude":"07127140","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107798528001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366577670621757440,"note":"Value kept but may cause issues"} 
[2026-08-01 15:13:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-984880913136553984,"note":"Value kept but may cause issues"} 
[2026-08-01 15:13:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785577340000,"timestamp_ms":1785577340000,"timestamp_seconds":1785577340,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcb3fc60"} 
[2026-08-01 15:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15: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-08-01 15: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":15,"data_length":795,"current_offset":136} 
[2026-08-01 15:13:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15: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-08-01 15:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":148610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":148610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":148610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107798528001,"66":27800,"96":206,"2":54272,"24":23,"16":366577670621757440,"44":-984880913136553984},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-08-01 15:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107798528001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:13:28] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-01 15:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366577670621757440,"km_value":366577670621757.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:13:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-984880913136553984,"description":"Unknown IO ID 44"} 
[2026-08-01 15:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107798528001,"power":27800,"unknown_96":206,"power_alt":54272,"ignition":23,"odometer":null,"unknown_44":-984880913136553984}} 
[2026-08-01 15:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":148610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:13:28] local.INFO: GPS data processed {"connection_id":148610,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:13:28] local.INFO: Acknowledgment sent {"connection_id":148610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:13:37] local.INFO: TCP Data received {"connection_id":146067,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcb3ae40012d1968c0071fee10003d01142a..."} 
[2026-08-01 15:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcb3ae40012d1968c0071fee10003d01142a..."} 
[2026-08-01 15:13:37] local.INFO: Processing buffer {"connection_id":146067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcb3ae40012d1968c0071fee10003d01142a..."} 
[2026-08-01 15:13:37] local.INFO: Packet analysis {"connection_id":146067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcb3"} 
[2026-08-01 15:13:37] local.INFO: Extracted packet for processing {"connection_id":146067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcb3"} 
[2026-08-01 15:13:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107788544001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785577320000,"timestamp_ms":1785577320000,"timestamp_seconds":1785577320,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcb3ae40"} 
[2026-08-01 15:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 15:13:37] 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-08-01 15:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:13:37] 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-08-01 15:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107788544001,"66":12428,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107788544001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:13:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:13:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107788544001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":146067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577714,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:13:37] local.INFO: GPS data processed {"connection_id":146067,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:13:37] local.INFO: Acknowledgment sent {"connection_id":146067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:13:44] local.INFO: TCP Data received {"connection_id":146294,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:13:44] local.INFO: Processing buffer {"connection_id":146294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:13:44] local.INFO: IMEI packet received {"connection_id":146294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 15:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":146294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:13:46] local.INFO: TCP Data received {"connection_id":146294,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:13:46] local.INFO: Processing buffer {"connection_id":146294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:13:46] local.INFO: IMEI packet received {"connection_id":146294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":146294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:13:47] local.INFO: TCP Data received {"connection_id":146294,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcb40430012cf24e4007127468000a01442e..."} 
[2026-08-01 15:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcb40430012cf24e4007127468000a01442e..."} 
[2026-08-01 15:13:47] local.INFO: Processing buffer {"connection_id":146294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcb40430012cf24e4007127468000a01442e..."} 
[2026-08-01 15:13:47] local.INFO: Packet analysis {"connection_id":146294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcb4"} 
[2026-08-01 15:13:47] local.INFO: Extracted packet for processing {"connection_id":146294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcb4"} 
[2026-08-01 15:13:47] local.INFO: GPS Element Parsed {"raw_longitude":754077248,"raw_latitude":118649960,"longitude_deg":75.4077248,"latitude_deg":11.864996,"altitude":10,"angle":324,"satellites":46,"speed":23,"hex_longitude":"2cf24e40","hex_latitude":"07127468","is_valid_coordinates":true} 
[2026-08-01 15:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107799040001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366577726456332288,"note":"Value kept but may cause issues"} 
[2026-08-01 15:13:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-985936444299067392,"note":"Value kept but may cause issues"} 
[2026-08-01 15:13:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785577342000,"timestamp_ms":1785577342000,"timestamp_seconds":1785577342,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcb40430"} 
[2026-08-01 15:13:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:13: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-08-01 15:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 15:13:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:13:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:13:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":146294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":146294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":146294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107799040001,"66":27832,"96":206,"2":54272,"24":23,"16":366577726456332288,"44":-985936444299067392},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-08-01 15:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107799040001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:13:47] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-01 15:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366577726456332288,"km_value":366577726456332.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:13:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-985936444299067392,"description":"Unknown IO ID 44"} 
[2026-08-01 15:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107799040001,"power":27832,"unknown_96":206,"power_alt":54272,"ignition":23,"odometer":null,"unknown_44":-985936444299067392}} 
[2026-08-01 15:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":146294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:13:47] local.INFO: GPS data processed {"connection_id":146294,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:13:47] local.INFO: Acknowledgment sent {"connection_id":146294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:14:00] local.INFO: TCP Data received {"connection_id":148611,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:14:00] local.INFO: Processing buffer {"connection_id":148611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:14:00] local.INFO: IMEI packet received {"connection_id":148611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":148611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:14:02] local.INFO: TCP Data received {"connection_id":148611,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:14:02] local.INFO: Processing buffer {"connection_id":148611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:14:02] local.INFO: IMEI packet received {"connection_id":148611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":148611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:14:05] local.INFO: TCP Data received {"connection_id":148611,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:14:05] local.INFO: Processing buffer {"connection_id":148611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:14:05] local.INFO: IMEI packet received {"connection_id":148611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":148611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:14:06] local.INFO: TCP Data received {"connection_id":148611,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcb40048012d1968c0071fee10003d011424..."} 
[2026-08-01 15:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcb40048012d1968c0071fee10003d011424..."} 
[2026-08-01 15:14:06] local.INFO: Processing buffer {"connection_id":148611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcb40048012d1968c0071fee10003d011424..."} 
[2026-08-01 15:14:06] local.INFO: Packet analysis {"connection_id":148611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcb4"} 
[2026-08-01 15:14:06] local.INFO: Extracted packet for processing {"connection_id":148611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcb4"} 
[2026-08-01 15:14:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107793920001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785577341000,"timestamp_ms":1785577341000,"timestamp_seconds":1785577341,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcb40048"} 
[2026-08-01 15:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-01 15:14:06] 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-08-01 15: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-08-01 15:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:14:06] 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-08-01 15:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107793920001,"66":12374,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107793920001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:14:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:14:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107793920001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":148611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:14:06] local.INFO: GPS data processed {"connection_id":148611,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:14:06] local.INFO: Acknowledgment sent {"connection_id":148611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:14:10] local.INFO: TCP Data received {"connection_id":148611,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcb45250012d1968c0071fee10003d011427..."} 
[2026-08-01 15:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcb45250012d1968c0071fee10003d011427..."} 
[2026-08-01 15:14:10] local.INFO: Processing buffer {"connection_id":148611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcb45250012d1968c0071fee10003d011427..."} 
[2026-08-01 15:14:10] local.INFO: Packet analysis {"connection_id":148611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcb4"} 
[2026-08-01 15:14:10] local.INFO: Extracted packet for processing {"connection_id":148611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcb4"} 
[2026-08-01 15:14:10] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107799296001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15: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-08-01 15:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785577362000,"timestamp_ms":1785577362000,"timestamp_seconds":1785577362,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcb45250"} 
[2026-08-01 15:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:14: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-08-01 15: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 15:14: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-08-01 15: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-08-01 15:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":148611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":148611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":148611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:14: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-08-01 15:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107799296001,"66":12428,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107799296001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:14:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:14:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107799296001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":148611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:14:11] local.INFO: GPS data processed {"connection_id":148611,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:14:11] local.INFO: Acknowledgment sent {"connection_id":148611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:14:18] local.INFO: TCP Data received {"connection_id":146294,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcb436f8012cf23880071292e8000901452e..."} 
[2026-08-01 15:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcb436f8012cf23880071292e8000901452e..."} 
[2026-08-01 15:14:18] local.INFO: Processing buffer {"connection_id":146294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcb436f8012cf23880071292e8000901452e..."} 
[2026-08-01 15:14:18] local.INFO: Packet analysis {"connection_id":146294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcb4"} 
[2026-08-01 15:14:18] local.INFO: Extracted packet for processing {"connection_id":146294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcb4"} 
[2026-08-01 15:14:18] local.INFO: GPS Element Parsed {"raw_longitude":754071680,"raw_latitude":118657768,"longitude_deg":75.407168,"latitude_deg":11.8657768,"altitude":9,"angle":325,"satellites":46,"speed":30,"hex_longitude":"2cf23880","hex_latitude":"071292e8","is_valid_coordinates":true} 
[2026-08-01 15:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107799552001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366578186017832960,"note":"Value kept but may cause issues"} 
[2026-08-01 15:14:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-986780869228992512,"note":"Value kept but may cause issues"} 
[2026-08-01 15:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785577355000,"timestamp_ms":1785577355000,"timestamp_seconds":1785577355,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcb436f8"} 
[2026-08-01 15:14:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:14: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-08-01 15:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-01 15:14:18] 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-08-01 15:14:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:14:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":146294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":146294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":146294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:14:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107799552001,"66":27767,"96":206,"2":54272,"24":30,"16":366578186017832960,"44":-986780869228992512},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-08-01 15:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107799552001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:14:18] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-01 15:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366578186017832960,"km_value":366578186017832.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:14:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-986780869228992512,"description":"Unknown IO ID 44"} 
[2026-08-01 15:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107799552001,"power":27767,"unknown_96":206,"power_alt":54272,"ignition":30,"odometer":null,"unknown_44":-986780869228992512}} 
[2026-08-01 15:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":146294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:14:18] local.INFO: GPS data processed {"connection_id":146294,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:14:18] local.INFO: Acknowledgment sent {"connection_id":146294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:14:41] local.INFO: TCP Data received {"connection_id":148611,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcb4a458012d1968c0071fee10003d011427..."} 
[2026-08-01 15:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcb4a458012d1968c0071fee10003d011427..."} 
[2026-08-01 15:14:41] local.INFO: Processing buffer {"connection_id":148611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcb4a458012d1968c0071fee10003d011427..."} 
[2026-08-01 15:14:41] local.INFO: Packet analysis {"connection_id":148611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcb4"} 
[2026-08-01 15:14:41] local.INFO: Extracted packet for processing {"connection_id":148611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcb4"} 
[2026-08-01 15:14:41] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107804672001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15: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-08-01 15:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785577383000,"timestamp_ms":1785577383000,"timestamp_seconds":1785577383,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcb4a458"} 
[2026-08-01 15:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:14: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-08-01 15: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-01 15:14:41] 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-08-01 15: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-08-01 15:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":148611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":148611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":148611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:14: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-08-01 15:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107804672001,"66":12004,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107804672001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:14:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:14:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107804672001,"power":12004,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":148611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577719,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:14:41] local.INFO: GPS data processed {"connection_id":148611,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:14:41] local.INFO: Acknowledgment sent {"connection_id":148611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:14:45] local.INFO: TCP Data received {"connection_id":146068,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:14:45] local.INFO: Processing buffer {"connection_id":146068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:14:45] local.INFO: IMEI packet received {"connection_id":146068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 15:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":146068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:14:48] local.INFO: TCP Data received {"connection_id":146068,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:14:48] local.INFO: Processing buffer {"connection_id":146068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:14:48] local.INFO: IMEI packet received {"connection_id":146068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":146068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:14:49] local.INFO: TCP Data received {"connection_id":146068,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcb47190012cf222c00712af000008013f2b..."} 
[2026-08-01 15:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcb47190012cf222c00712af000008013f2b..."} 
[2026-08-01 15:14:49] local.INFO: Processing buffer {"connection_id":146068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcb47190012cf222c00712af000008013f2b..."} 
[2026-08-01 15:14:49] local.INFO: Packet analysis {"connection_id":146068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcb4"} 
[2026-08-01 15:14:49] local.INFO: Extracted packet for processing {"connection_id":146068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcb4"} 
[2026-08-01 15:14:49] local.INFO: GPS Element Parsed {"raw_longitude":754066112,"raw_latitude":118664960,"longitude_deg":75.4066112,"latitude_deg":11.866496,"altitude":8,"angle":319,"satellites":43,"speed":21,"hex_longitude":"2cf222c0","hex_latitude":"0712af00","is_valid_coordinates":true} 
[2026-08-01 15:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107802880001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:14:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366578624104497152,"note":"Value kept but may cause issues"} 
[2026-08-01 15:14:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-992902949970450432,"note":"Value kept but may cause issues"} 
[2026-08-01 15:14:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:14:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785577370000,"timestamp_ms":1785577370000,"timestamp_seconds":1785577370,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcb47190"} 
[2026-08-01 15:14:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:14: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-08-01 15:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 15:14:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:14:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:14:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:14:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:14:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:14:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:14:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:14:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107802880001,"66":27713,"96":206,"2":54272,"24":21,"16":366578624104497152,"44":-992902949970450432},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-08-01 15:14:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:14:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:14:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107802880001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:14:49] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-01 15:14:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366578624104497152,"km_value":366578624104497.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:14:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-992902949970450432,"description":"Unknown IO ID 44"} 
[2026-08-01 15:14:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107802880001,"power":27713,"unknown_96":206,"power_alt":54272,"ignition":21,"odometer":null,"unknown_44":-992902949970450432}} 
[2026-08-01 15:14:49] local.INFO: DEBUG: GPS processor result {"connection_id":146068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:14:49] local.INFO: GPS data processed {"connection_id":146068,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:14:49] local.INFO: Acknowledgment sent {"connection_id":146068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:15:00] local.INFO: TCP Data received {"connection_id":146295,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:15:00] local.INFO: Processing buffer {"connection_id":146295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:15:00] local.INFO: IMEI packet received {"connection_id":146295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":146295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:15:05] local.INFO: TCP Data received {"connection_id":146295,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:15:05] local.INFO: Processing buffer {"connection_id":146295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:15:05] local.INFO: IMEI packet received {"connection_id":146295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":146295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:15:06] local.INFO: TCP Data received {"connection_id":146295,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcb4f660012d1968c0071fee10003d011429..."} 
[2026-08-01 15:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcb4f660012d1968c0071fee10003d011429..."} 
[2026-08-01 15:15:06] local.INFO: Processing buffer {"connection_id":146295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcb4f660012d1968c0071fee10003d011429..."} 
[2026-08-01 15:15:06] local.INFO: Packet analysis {"connection_id":146295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcb4"} 
[2026-08-01 15:15:06] local.INFO: Extracted packet for processing {"connection_id":146295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcb4"} 
[2026-08-01 15:15:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107810048001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785577404000,"timestamp_ms":1785577404000,"timestamp_seconds":1785577404,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcb4f660"} 
[2026-08-01 15:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15: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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 15:15:06] 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-08-01 15: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-08-01 15:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:15:06] 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-08-01 15:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107810048001,"66":12374,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107810048001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:15:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:15:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107810048001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":146295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577721,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:15:06] local.INFO: GPS data processed {"connection_id":146295,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:15:06] local.INFO: Acknowledgment sent {"connection_id":146295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:15:21] local.INFO: TCP Data received {"connection_id":146068,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcb48518012cf21a000712b6b8000801332c..."} 
[2026-08-01 15:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcb48518012cf21a000712b6b8000801332c..."} 
[2026-08-01 15:15:21] local.INFO: Processing buffer {"connection_id":146068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcb48518012cf21a000712b6b8000801332c..."} 
[2026-08-01 15:15:21] local.INFO: Packet analysis {"connection_id":146068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcb4"} 
[2026-08-01 15:15:21] local.INFO: Extracted packet for processing {"connection_id":146068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcb4"} 
[2026-08-01 15:15:21] local.INFO: GPS Element Parsed {"raw_longitude":754063872,"raw_latitude":118666936,"longitude_deg":75.4063872,"latitude_deg":11.8666936,"altitude":8,"angle":307,"satellites":44,"speed":25,"hex_longitude":"2cf21a00","hex_latitude":"0712b6b8","is_valid_coordinates":true} 
[2026-08-01 15:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107806720001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366578765838417920,"note":"Value kept but may cause issues"} 
[2026-08-01 15:15:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-999025030712066048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785577375000,"timestamp_ms":1785577375000,"timestamp_seconds":1785577375,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcb48518"} 
[2026-08-01 15:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 15:15:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:15:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107806720001,"66":27865,"96":206,"2":54272,"24":25,"16":366578765838417920,"44":-999025030712066048},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-08-01 15:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107806720001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:15:21] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-01 15:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366578765838417920,"km_value":366578765838417.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:15:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-999025030712066048,"description":"Unknown IO ID 44"} 
[2026-08-01 15:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107806720001,"power":27865,"unknown_96":206,"power_alt":54272,"ignition":25,"odometer":null,"unknown_44":-999025030712066048}} 
[2026-08-01 15:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":146068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:15:21] local.INFO: GPS data processed {"connection_id":146068,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:15:21] local.INFO: Acknowledgment sent {"connection_id":146068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:15:37] local.INFO: TCP Data received {"connection_id":146295,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcb54868012d1968c0071fee10003d011427..."} 
[2026-08-01 15:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcb54868012d1968c0071fee10003d011427..."} 
[2026-08-01 15:15:37] local.INFO: Processing buffer {"connection_id":146295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcb54868012d1968c0071fee10003d011427..."} 
[2026-08-01 15:15:37] local.INFO: Packet analysis {"connection_id":146295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcb5"} 
[2026-08-01 15:15:37] local.INFO: Extracted packet for processing {"connection_id":146295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcb5"} 
[2026-08-01 15:15:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107815424001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785577425000,"timestamp_ms":1785577425000,"timestamp_seconds":1785577425,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcb54868"} 
[2026-08-01 15:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 15:15:37] 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-08-01 15: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-08-01 15:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:15:37] 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-08-01 15:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107815424001,"66":12385,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107815424001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:15:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:15:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107815424001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":146295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:15:37] local.INFO: GPS data processed {"connection_id":146295,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:15:37] local.INFO: Acknowledgment sent {"connection_id":146295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:15:44] local.INFO: TCP Data received {"connection_id":146069,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:15:44] local.INFO: Processing buffer {"connection_id":146069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:15:44] local.INFO: IMEI packet received {"connection_id":146069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 15:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":146069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:15:49] local.INFO: TCP Data received {"connection_id":146069,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:15:49] local.INFO: Processing buffer {"connection_id":146069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:15:49] local.INFO: IMEI packet received {"connection_id":146069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":146069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:15:50] local.INFO: TCP Data received {"connection_id":146069,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcb4b7e0012cf1fa800712c8380009012b2d..."} 
[2026-08-01 15:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcb4b7e0012cf1fa800712c8380009012b2d..."} 
[2026-08-01 15:15:50] local.INFO: Processing buffer {"connection_id":146069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcb4b7e0012cf1fa800712c8380009012b2d..."} 
[2026-08-01 15:15:50] local.INFO: Packet analysis {"connection_id":146069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcb4"} 
[2026-08-01 15:15:50] local.INFO: Extracted packet for processing {"connection_id":146069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcb4"} 
[2026-08-01 15:15:50] local.INFO: GPS Element Parsed {"raw_longitude":754055808,"raw_latitude":118671416,"longitude_deg":75.4055808,"latitude_deg":11.8671416,"altitude":9,"angle":299,"satellites":45,"speed":31,"hex_longitude":"2cf1fa80","hex_latitude":"0712c838","is_valid_coordinates":true} 
[2026-08-01 15:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:15:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107808000001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:15:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366579208220049408,"note":"Value kept but may cause issues"} 
[2026-08-01 15:15:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1001487936757778432,"note":"Value kept but may cause issues"} 
[2026-08-01 15:15:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:15:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785577388000,"timestamp_ms":1785577388000,"timestamp_seconds":1785577388,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcb4b7e0"} 
[2026-08-01 15:15:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:15:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 15:15:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:15:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:15:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:15:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:15:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:15:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:15:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:15:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:15:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:15:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:15:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107808000001,"66":27800,"96":206,"2":54272,"24":31,"16":366579208220049408,"44":-1001487936757778432},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-08-01 15:15:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:15:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:15:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107808000001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:15:50] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-01 15:15:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366579208220049408,"km_value":366579208220049.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:15:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1001487936757778432,"description":"Unknown IO ID 44"} 
[2026-08-01 15:15:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107808000001,"power":27800,"unknown_96":206,"power_alt":54272,"ignition":31,"odometer":null,"unknown_44":-1001487936757778432}} 
[2026-08-01 15:15:50] local.INFO: DEBUG: GPS processor result {"connection_id":146069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:15:50] local.INFO: GPS data processed {"connection_id":146069,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:15:50] local.INFO: Acknowledgment sent {"connection_id":146069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:16:00] local.INFO: TCP Data received {"connection_id":146296,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146296,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:16:00] local.INFO: Processing buffer {"connection_id":146296,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:16:00] local.INFO: IMEI packet received {"connection_id":146296,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":146296,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:16:05] local.INFO: TCP Data received {"connection_id":146296,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146296,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:16:05] local.INFO: Processing buffer {"connection_id":146296,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:16:05] local.INFO: IMEI packet received {"connection_id":146296,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":146296,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:16:06] local.INFO: TCP Data received {"connection_id":146296,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcb59a70012d1968c0071fee10003d011429..."} 
[2026-08-01 15:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcb59a70012d1968c0071fee10003d011429..."} 
[2026-08-01 15:16:06] local.INFO: Processing buffer {"connection_id":146296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcb59a70012d1968c0071fee10003d011429..."} 
[2026-08-01 15:16:06] local.INFO: Packet analysis {"connection_id":146296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcb5"} 
[2026-08-01 15:16:06] local.INFO: Extracted packet for processing {"connection_id":146296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcb5"} 
[2026-08-01 15:16:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107820800001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785577446000,"timestamp_ms":1785577446000,"timestamp_seconds":1785577446,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcb59a70"} 
[2026-08-01 15:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 15:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15: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-08-01 15:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:16:06] 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-08-01 15:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107820800001,"66":12374,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107820800001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:16:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:16:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107820800001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":146296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577725,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:16:06] local.INFO: GPS data processed {"connection_id":146296,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:16:06] local.INFO: Acknowledgment sent {"connection_id":146296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:16:22] local.INFO: TCP Data received {"connection_id":146069,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcb50218012cf1da400712d8680007012a2e..."} 
[2026-08-01 15:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcb50218012cf1da400712d8680007012a2e..."} 
[2026-08-01 15:16:22] local.INFO: Processing buffer {"connection_id":146069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcb50218012cf1da400712d8680007012a2e..."} 
[2026-08-01 15:16:22] local.INFO: Packet analysis {"connection_id":146069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcb5"} 
[2026-08-01 15:16:22] local.INFO: Extracted packet for processing {"connection_id":146069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcb5"} 
[2026-08-01 15:16:22] local.INFO: GPS Element Parsed {"raw_longitude":754047552,"raw_latitude":118675560,"longitude_deg":75.4047552,"latitude_deg":11.867556,"altitude":7,"angle":298,"satellites":46,"speed":10,"hex_longitude":"2cf1da40","hex_latitude":"0712d868","is_valid_coordinates":true} 
[2026-08-01 15:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107811328001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366579646306713600,"note":"Value kept but may cause issues"} 
[2026-08-01 15:16:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1010354398523017216,"note":"Value kept but may cause issues"} 
[2026-08-01 15:16:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785577407000,"timestamp_ms":1785577407000,"timestamp_seconds":1785577407,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcb50218"} 
[2026-08-01 15:16:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:16:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 15:16: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-08-01 15:16:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:16:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:16:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:16:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:16:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107811328001,"66":27908,"96":206,"2":54272,"24":10,"16":366579646306713600,"44":-1010354398523017216},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-08-01 15:16:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:16:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:16:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107811328001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:16:22] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-01 15:16:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366579646306713600,"km_value":366579646306713.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:16:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1010354398523017216,"description":"Unknown IO ID 44"} 
[2026-08-01 15:16:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107811328001,"power":27908,"unknown_96":206,"power_alt":54272,"ignition":10,"odometer":null,"unknown_44":-1010354398523017216}} 
[2026-08-01 15:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":146069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:16:22] local.INFO: GPS data processed {"connection_id":146069,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:16:22] local.INFO: Acknowledgment sent {"connection_id":146069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:16:37] local.INFO: TCP Data received {"connection_id":146296,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcb5ec78012d1968c0071fee10003d01142b..."} 
[2026-08-01 15:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcb5ec78012d1968c0071fee10003d01142b..."} 
[2026-08-01 15:16:37] local.INFO: Processing buffer {"connection_id":146296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcb5ec78012d1968c0071fee10003d01142b..."} 
[2026-08-01 15:16:37] local.INFO: Packet analysis {"connection_id":146296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcb5"} 
[2026-08-01 15:16:37] local.INFO: Extracted packet for processing {"connection_id":146296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcb5"} 
[2026-08-01 15:16:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107826176001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785577467000,"timestamp_ms":1785577467000,"timestamp_seconds":1785577467,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcb5ec78"} 
[2026-08-01 15:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 15:16:37] 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-08-01 15:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:16:37] 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-08-01 15:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107826176001,"66":12406,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107826176001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:16:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:16:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107826176001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":146296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577727,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:16:37] local.INFO: GPS data processed {"connection_id":146296,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:16:37] local.INFO: Acknowledgment sent {"connection_id":146296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:16:43] local.INFO: TCP Data received {"connection_id":148612,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:16:43] local.INFO: Processing buffer {"connection_id":148612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:16:43] local.INFO: IMEI packet received {"connection_id":148612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 15:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":148612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:16:44] local.INFO: TCP Data received {"connection_id":148612,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:16:44] local.INFO: Processing buffer {"connection_id":148612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:16:44] local.INFO: IMEI packet received {"connection_id":148612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":148612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:16:46] local.INFO: TCP Data received {"connection_id":148612,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:16:46] local.INFO: Processing buffer {"connection_id":148612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:16:46] local.INFO: IMEI packet received {"connection_id":148612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":148612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:16:49] local.INFO: TCP Data received {"connection_id":148612,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:16:49] local.INFO: Processing buffer {"connection_id":148612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:16:49] local.INFO: IMEI packet received {"connection_id":148612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":148612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:16:50] local.INFO: TCP Data received {"connection_id":148612,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcb701d0012cf0cd8007137900002501102b..."} 
[2026-08-01 15:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcb701d0012cf0cd8007137900002501102b..."} 
[2026-08-01 15:16:50] local.INFO: Processing buffer {"connection_id":148612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcb701d0012cf0cd8007137900002501102b..."} 
[2026-08-01 15:16:50] local.INFO: Packet analysis {"connection_id":148612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcb7"} 
[2026-08-01 15:16:50] local.INFO: Extracted packet for processing {"connection_id":148612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcb7"} 
[2026-08-01 15:16:50] local.INFO: GPS Element Parsed {"raw_longitude":753978752,"raw_latitude":118716672,"longitude_deg":75.3978752,"latitude_deg":11.8716672,"altitude":37,"angle":272,"satellites":43,"speed":26,"hex_longitude":"2cf0cd80","hex_latitude":"07137900","is_valid_coordinates":true} 
[2026-08-01 15:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:16:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107845888001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:16:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366583623446429696,"note":"Value kept but may cause issues"} 
[2026-08-01 15:16:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1084734161107093504,"note":"Value kept but may cause issues"} 
[2026-08-01 15:16:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:16:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785577538000,"timestamp_ms":1785577538000,"timestamp_seconds":1785577538,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcb701d0"} 
[2026-08-01 15:16:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:16:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-01 15:16:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:16:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:16:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:16:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:16:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:16:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:16:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:16:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:16:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:16:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:16:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107845888001,"66":27376,"63":206,"2":54272,"24":26,"16":366583623446429696,"44":-1084734161107093504},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,2,24,16,44]} 
[2026-08-01 15:16:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:16:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:16:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107845888001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:16:50] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-01 15:16:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366583623446429696,"km_value":366583623446429.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:16:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1084734161107093504,"description":"Unknown IO ID 44"} 
[2026-08-01 15:16:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107845888001,"power":27376,"unknown_63":206,"power_alt":54272,"ignition":26,"odometer":null,"unknown_44":-1084734161107093504}} 
[2026-08-01 15:16:50] local.INFO: DEBUG: GPS processor result {"connection_id":148612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:16:50] local.INFO: GPS data processed {"connection_id":148612,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:16:50] local.INFO: Acknowledgment sent {"connection_id":148612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:17:05] local.INFO: TCP Data received {"connection_id":146297,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146297,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:17:05] local.INFO: Processing buffer {"connection_id":146297,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:17:05] local.INFO: IMEI packet received {"connection_id":146297,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":146297,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:17:10] local.INFO: TCP Data received {"connection_id":146297,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146297,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:17:10] local.INFO: Processing buffer {"connection_id":146297,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:17:10] local.INFO: IMEI packet received {"connection_id":146297,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":146297,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:17:11] local.INFO: TCP Data received {"connection_id":146297,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcb63e80012d1968c0071fee10003d01142b..."} 
[2026-08-01 15:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcb63e80012d1968c0071fee10003d01142b..."} 
[2026-08-01 15:17:11] local.INFO: Processing buffer {"connection_id":146297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcb63e80012d1968c0071fee10003d01142b..."} 
[2026-08-01 15:17:11] local.INFO: Packet analysis {"connection_id":146297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcb6"} 
[2026-08-01 15:17:11] local.INFO: Extracted packet for processing {"connection_id":146297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcb6"} 
[2026-08-01 15:17:11] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 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-08-01 15:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107831552001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:17: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-08-01 15:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785577488000,"timestamp_ms":1785577488000,"timestamp_seconds":1785577488,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcb63e80"} 
[2026-08-01 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-08-01 15:17: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-08-01 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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 15:17: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-08-01 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-08-01 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-08-01 15:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:17:11] 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-08-01 15:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107831552001,"66":12406,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107831552001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:17:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:17:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:17:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107831552001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":146297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:17:11] local.INFO: GPS data processed {"connection_id":146297,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:17:11] local.INFO: Acknowledgment sent {"connection_id":146297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:17:12] local.INFO: TCP Data received {"connection_id":146297,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcb69088012d1968c0071fee10003d011429..."} 
[2026-08-01 15:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcb69088012d1968c0071fee10003d011429..."} 
[2026-08-01 15:17:12] local.INFO: Processing buffer {"connection_id":146297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcb69088012d1968c0071fee10003d011429..."} 
[2026-08-01 15:17:12] local.INFO: Packet analysis {"connection_id":146297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcb6"} 
[2026-08-01 15:17:12] local.INFO: Extracted packet for processing {"connection_id":146297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcb6"} 
[2026-08-01 15:17:12] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107836928001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785577509000,"timestamp_ms":1785577509000,"timestamp_seconds":1785577509,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcb69088"} 
[2026-08-01 15:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:17: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-08-01 15:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 15:17:12] 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-08-01 15:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":146297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":146297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":146297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:17:12] 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-08-01 15:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107836928001,"66":12319,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107836928001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:17:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:17:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107836928001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":146297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577730,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:17:12] local.INFO: GPS data processed {"connection_id":146297,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:17:12] local.INFO: Acknowledgment sent {"connection_id":146297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:17:22] local.INFO: TCP Data received {"connection_id":148612,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcb72110012cf0b5c0071377780025010528..."} 
[2026-08-01 15:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcb72110012cf0b5c0071377780025010528..."} 
[2026-08-01 15:17:22] local.INFO: Processing buffer {"connection_id":148612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcb72110012cf0b5c0071377780025010528..."} 
[2026-08-01 15:17:22] local.INFO: Packet analysis {"connection_id":148612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcb7"} 
[2026-08-01 15:17:22] local.INFO: Extracted packet for processing {"connection_id":148612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcb7"} 
[2026-08-01 15:17:22] local.INFO: GPS Element Parsed {"raw_longitude":753972672,"raw_latitude":118716280,"longitude_deg":75.3972672,"latitude_deg":11.871628,"altitude":37,"angle":261,"satellites":40,"speed":31,"hex_longitude":"2cf0b5c0","hex_latitude":"07137778","is_valid_coordinates":true} 
[2026-08-01 15:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107849728001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366583911209238528,"note":"Value kept but may cause issues"} 
[2026-08-01 15:17:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1095078366501339136,"note":"Value kept but may cause issues"} 
[2026-08-01 15:17:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785577546000,"timestamp_ms":1785577546000,"timestamp_seconds":1785577546,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcb72110"} 
[2026-08-01 15:17:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:17:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-01 15:17:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:17:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:17:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:17:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107849728001,"66":27908,"63":206,"2":54272,"24":31,"16":366583911209238528,"44":-1095078366501339136},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,2,24,16,44]} 
[2026-08-01 15:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107849728001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:17:22] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-01 15:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366583911209238528,"km_value":366583911209238.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:17:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1095078366501339136,"description":"Unknown IO ID 44"} 
[2026-08-01 15:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107849728001,"power":27908,"unknown_63":206,"power_alt":54272,"ignition":31,"odometer":null,"unknown_44":-1095078366501339136}} 
[2026-08-01 15:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":148612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:17:22] local.INFO: GPS data processed {"connection_id":148612,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:17:22] local.INFO: Acknowledgment sent {"connection_id":148612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:17:43] local.INFO: TCP Data received {"connection_id":146297,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcb6e290012d1968c0071fee10003d011427..."} 
[2026-08-01 15:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcb6e290012d1968c0071fee10003d011427..."} 
[2026-08-01 15:17:43] local.INFO: Processing buffer {"connection_id":146297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcb6e290012d1968c0071fee10003d011427..."} 
[2026-08-01 15:17:43] local.INFO: Packet analysis {"connection_id":146297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcb6"} 
[2026-08-01 15:17:43] local.INFO: Extracted packet for processing {"connection_id":146297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcb6"} 
[2026-08-01 15:17:43] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107842304001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:17:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:17: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-08-01 15:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785577530000,"timestamp_ms":1785577530000,"timestamp_seconds":1785577530,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcb6e290"} 
[2026-08-01 15:17:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:17: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-08-01 15:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-01 15:17:43] 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-08-01 15:17:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:17:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":146297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":146297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":146297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:17:43] 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-08-01 15:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107842304001,"66":12341,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107842304001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:17:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:17:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:17:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:17:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107842304001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":146297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577732,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:17:43] local.INFO: GPS data processed {"connection_id":146297,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:17:43] local.INFO: Acknowledgment sent {"connection_id":146297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:17:44] local.INFO: TCP Data received {"connection_id":146298,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:17:44] local.INFO: Processing buffer {"connection_id":146298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:17:44] local.INFO: IMEI packet received {"connection_id":146298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 15:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":146298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:17:49] local.INFO: TCP Data received {"connection_id":146298,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:17:49] local.INFO: Processing buffer {"connection_id":146298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:17:49] local.INFO: IMEI packet received {"connection_id":146298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":146298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:17:50] local.INFO: TCP Data received {"connection_id":146298,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcb753d8012cf0960007137280002600f82e..."} 
[2026-08-01 15:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcb753d8012cf0960007137280002600f82e..."} 
[2026-08-01 15:17:50] local.INFO: Processing buffer {"connection_id":146298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcb753d8012cf0960007137280002600f82e..."} 
[2026-08-01 15:17:50] local.INFO: Packet analysis {"connection_id":146298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcb7"} 
[2026-08-01 15:17:50] local.INFO: Extracted packet for processing {"connection_id":146298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcb7"} 
[2026-08-01 15:17:50] local.INFO: GPS Element Parsed {"raw_longitude":753964544,"raw_latitude":118715008,"longitude_deg":75.3964544,"latitude_deg":11.8715008,"altitude":38,"angle":248,"satellites":46,"speed":13,"hex_longitude":"2cf09600","hex_latitude":"07137280","is_valid_coordinates":true} 
[2026-08-01 15:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:17:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107851776001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:17:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366584302051262464,"note":"Value kept but may cause issues"} 
[2026-08-01 15:17:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1101763397198317568,"note":"Value kept but may cause issues"} 
[2026-08-01 15:17:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:17:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785577559000,"timestamp_ms":1785577559000,"timestamp_seconds":1785577559,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcb753d8"} 
[2026-08-01 15:17:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:17:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 15:17:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:17:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:17:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:17:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:17:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:17:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:17:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:17:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:17:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:17:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:17:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107851776001,"66":27887,"64":206,"2":54272,"24":13,"16":366584302051262464,"44":-1101763397198317568},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,2,24,16,44]} 
[2026-08-01 15:17:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:17:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:17:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107851776001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:17:50] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-01 15:17:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366584302051262464,"km_value":366584302051262.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:17:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1101763397198317568,"description":"Unknown IO ID 44"} 
[2026-08-01 15:17:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107851776001,"power":27887,"unknown_64":206,"power_alt":54272,"ignition":13,"odometer":null,"unknown_44":-1101763397198317568}} 
[2026-08-01 15:17:50] local.INFO: DEBUG: GPS processor result {"connection_id":146298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:17:50] local.INFO: GPS data processed {"connection_id":146298,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:17:50] local.INFO: Acknowledgment sent {"connection_id":146298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:18:00] local.INFO: TCP Data received {"connection_id":147299,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:18:00] local.INFO: Processing buffer {"connection_id":147299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:18:00] local.INFO: IMEI packet received {"connection_id":147299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":147299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:18:05] local.INFO: TCP Data received {"connection_id":147299,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:18:05] local.INFO: Processing buffer {"connection_id":147299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:18:05] local.INFO: IMEI packet received {"connection_id":147299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":147299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:18:06] local.INFO: TCP Data received {"connection_id":147299,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcb73498012d1968c0071fee10003d011427..."} 
[2026-08-01 15:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcb73498012d1968c0071fee10003d011427..."} 
[2026-08-01 15:18:06] local.INFO: Processing buffer {"connection_id":147299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcb73498012d1968c0071fee10003d011427..."} 
[2026-08-01 15:18:06] local.INFO: Packet analysis {"connection_id":147299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcb7"} 
[2026-08-01 15:18:06] local.INFO: Extracted packet for processing {"connection_id":147299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcb7"} 
[2026-08-01 15:18:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107847680001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785577551000,"timestamp_ms":1785577551000,"timestamp_seconds":1785577551,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcb73498"} 
[2026-08-01 15:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-01 15:18:06] 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-08-01 15:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:18:06] 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-08-01 15:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107847680001,"66":12406,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107847680001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:18:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:18:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107847680001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":147299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:18:06] local.INFO: GPS data processed {"connection_id":147299,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:18:06] local.INFO: Acknowledgment sent {"connection_id":147299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:18:22] local.INFO: TCP Data received {"connection_id":146298,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcb76378012cf0920007137128002601082d..."} 
[2026-08-01 15:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcb76378012cf0920007137128002601082d..."} 
[2026-08-01 15:18:22] local.INFO: Processing buffer {"connection_id":146298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcb76378012cf0920007137128002601082d..."} 
[2026-08-01 15:18:22] local.INFO: Packet analysis {"connection_id":146298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcb7"} 
[2026-08-01 15:18:22] local.INFO: Extracted packet for processing {"connection_id":146298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcb7"} 
[2026-08-01 15:18:22] local.INFO: GPS Element Parsed {"raw_longitude":753963520,"raw_latitude":118714664,"longitude_deg":75.396352,"latitude_deg":11.8714664,"altitude":38,"angle":264,"satellites":45,"speed":10,"hex_longitude":"2cf09200","hex_latitude":"07137128","is_valid_coordinates":true} 
[2026-08-01 15:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107855104001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366584353590870016,"note":"Value kept but may cause issues"} 
[2026-08-01 15:18:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1110700227709206528,"note":"Value kept but may cause issues"} 
[2026-08-01 15:18:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785577563000,"timestamp_ms":1785577563000,"timestamp_seconds":1785577563,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcb76378"} 
[2026-08-01 15:18:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:18:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-01 15:18:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:18:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:18:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:18:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107855104001,"66":28028,"64":206,"2":54272,"24":10,"16":366584353590870016,"44":-1110700227709206528},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,2,24,16,44]} 
[2026-08-01 15:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107855104001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:18:22] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-01 15:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366584353590870016,"km_value":366584353590870.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:18:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1110700227709206528,"description":"Unknown IO ID 44"} 
[2026-08-01 15:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107855104001,"power":28028,"unknown_64":206,"power_alt":54272,"ignition":10,"odometer":null,"unknown_44":-1110700227709206528}} 
[2026-08-01 15:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":146298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:18:22] local.INFO: GPS data processed {"connection_id":146298,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:18:22] local.INFO: Acknowledgment sent {"connection_id":146298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:18:37] local.INFO: TCP Data received {"connection_id":147299,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcb786a0012d1968c0071fee10003d011427..."} 
[2026-08-01 15:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcb786a0012d1968c0071fee10003d011427..."} 
[2026-08-01 15:18:37] local.INFO: Processing buffer {"connection_id":147299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcb786a0012d1968c0071fee10003d011427..."} 
[2026-08-01 15:18:37] local.INFO: Packet analysis {"connection_id":147299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcb7"} 
[2026-08-01 15:18:37] local.INFO: Extracted packet for processing {"connection_id":147299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcb7"} 
[2026-08-01 15:18:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107853056001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785577572000,"timestamp_ms":1785577572000,"timestamp_seconds":1785577572,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcb786a0"} 
[2026-08-01 15:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 15:18:37] 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-08-01 15:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:18:37] 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-08-01 15:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107853056001,"66":12385,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107853056001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:18:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:18:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107853056001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":147299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577736,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:18:37] local.INFO: GPS data processed {"connection_id":147299,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:18:37] local.INFO: Acknowledgment sent {"connection_id":147299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:18:44] local.INFO: TCP Data received {"connection_id":147300,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:18:44] local.INFO: Processing buffer {"connection_id":147300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:18:44] local.INFO: IMEI packet received {"connection_id":147300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 15:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":147300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:18:50] local.INFO: TCP Data received {"connection_id":147300,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:18:50] local.INFO: Processing buffer {"connection_id":147300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:18:50] local.INFO: IMEI packet received {"connection_id":147300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":147300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:18:51] local.INFO: TCP Data received {"connection_id":147300,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcb76b48012cf0904007137140002701172d..."} 
[2026-08-01 15:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcb76b48012cf0904007137140002701172d..."} 
[2026-08-01 15:18:51] local.INFO: Processing buffer {"connection_id":147300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcb76b48012cf0904007137140002701172d..."} 
[2026-08-01 15:18:51] local.INFO: Packet analysis {"connection_id":147300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcb7"} 
[2026-08-01 15:18:51] local.INFO: Extracted packet for processing {"connection_id":147300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcb7"} 
[2026-08-01 15:18:51] local.INFO: GPS Element Parsed {"raw_longitude":753963072,"raw_latitude":118714688,"longitude_deg":75.3963072,"latitude_deg":11.8714688,"altitude":39,"angle":279,"satellites":45,"speed":7,"hex_longitude":"2cf09040","hex_latitude":"07137140","is_valid_coordinates":true} 
[2026-08-01 15:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107856128001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366584375065706496,"note":"Value kept but may cause issues"} 
[2026-08-01 15:18:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1111826127616137216,"note":"Value kept but may cause issues"} 
[2026-08-01 15:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785577565000,"timestamp_ms":1785577565000,"timestamp_seconds":1785577565,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcb76b48"} 
[2026-08-01 15:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:18:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-01 15:18:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:18:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":147300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":147300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":147300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:18:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107856128001,"66":27604,"64":206,"2":54272,"24":7,"16":366584375065706496,"44":-1111826127616137216},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,2,24,16,44]} 
[2026-08-01 15:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107856128001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:18:51] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-01 15:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366584375065706496,"km_value":366584375065706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:18:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1111826127616137216,"description":"Unknown IO ID 44"} 
[2026-08-01 15:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107856128001,"power":27604,"unknown_64":206,"power_alt":54272,"ignition":7,"odometer":null,"unknown_44":-1111826127616137216}} 
[2026-08-01 15:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":147300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:18:51] local.INFO: GPS data processed {"connection_id":147300,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:18:51] local.INFO: Acknowledgment sent {"connection_id":147300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:19:00] local.INFO: TCP Data received {"connection_id":147301,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:19:00] local.INFO: Processing buffer {"connection_id":147301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:19:00] local.INFO: IMEI packet received {"connection_id":147301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":147301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:19:05] local.INFO: TCP Data received {"connection_id":147301,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:19:05] local.INFO: Processing buffer {"connection_id":147301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:19:05] local.INFO: IMEI packet received {"connection_id":147301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":147301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:19:06] local.INFO: TCP Data received {"connection_id":147301,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcb7d8a8012d1968c0071fee10003d011428..."} 
[2026-08-01 15:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcb7d8a8012d1968c0071fee10003d011428..."} 
[2026-08-01 15:19:06] local.INFO: Processing buffer {"connection_id":147301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcb7d8a8012d1968c0071fee10003d011428..."} 
[2026-08-01 15:19:06] local.INFO: Packet analysis {"connection_id":147301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcb7"} 
[2026-08-01 15:19:06] local.INFO: Extracted packet for processing {"connection_id":147301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcb7"} 
[2026-08-01 15:19:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107858432001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785577593000,"timestamp_ms":1785577593000,"timestamp_seconds":1785577593,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcb7d8a8"} 
[2026-08-01 15:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 15:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15: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-08-01 15:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:19:06] 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-08-01 15:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107858432001,"66":12363,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107858432001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:19:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:19:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107858432001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":147301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:19:06] local.INFO: GPS data processed {"connection_id":147301,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:19:06] local.INFO: Acknowledgment sent {"connection_id":147301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:19:35] local.INFO: TCP Data received {"connection_id":147300,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcb9a1b0012cefa2400713a8400022012828..."} 
[2026-08-01 15:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcb9a1b0012cefa2400713a8400022012828..."} 
[2026-08-01 15:19:35] local.INFO: Processing buffer {"connection_id":147300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcb9a1b0012cefa2400713a8400022012828..."} 
[2026-08-01 15:19:35] local.INFO: Packet analysis {"connection_id":147300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcb9"} 
[2026-08-01 15:19:35] local.INFO: Extracted packet for processing {"connection_id":147300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcb9"} 
[2026-08-01 15:19:35] local.INFO: GPS Element Parsed {"raw_longitude":753902144,"raw_latitude":118728768,"longitude_deg":75.3902144,"latitude_deg":11.8728768,"altitude":34,"angle":296,"satellites":40,"speed":33,"hex_longitude":"2cefa240","hex_latitude":"0713a840","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107893760001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366587437377388544,"note":"Value kept but may cause issues"} 
[2026-08-01 15:19:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1179309753278906368,"note":"Value kept but may cause issues"} 
[2026-08-01 15:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785577710000,"timestamp_ms":1785577710000,"timestamp_seconds":1785577710,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcb9a1b0"} 
[2026-08-01 15:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 15:19: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-08-01 15: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-08-01 15:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107893760001,"66":27908,"153":206,"2":54272,"24":33,"16":366587437377388544,"44":-1179309753278906368},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,2,24,16,44]} 
[2026-08-01 15:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107893760001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:19:35] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-01 15:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366587437377388544,"km_value":366587437377388.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:19:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1179309753278906368,"description":"Unknown IO ID 44"} 
[2026-08-01 15:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107893760001,"power":27908,"unknown_153":206,"power_alt":54272,"ignition":33,"odometer":null,"unknown_44":-1179309753278906368}} 
[2026-08-01 15:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":147300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:19:35] local.INFO: GPS data processed {"connection_id":147300,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:19:35] local.INFO: Acknowledgment sent {"connection_id":147300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:19:37] local.INFO: TCP Data received {"connection_id":147301,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcb82ab0012d1968c0071fee10003d011428..."} 
[2026-08-01 15:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcb82ab0012d1968c0071fee10003d011428..."} 
[2026-08-01 15:19:37] local.INFO: Processing buffer {"connection_id":147301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcb82ab0012d1968c0071fee10003d011428..."} 
[2026-08-01 15:19:37] local.INFO: Packet analysis {"connection_id":147301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcb8"} 
[2026-08-01 15:19:37] local.INFO: Extracted packet for processing {"connection_id":147301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcb8"} 
[2026-08-01 15:19:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107863808001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785577614000,"timestamp_ms":1785577614000,"timestamp_seconds":1785577614,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcb82ab0"} 
[2026-08-01 15:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-01 15:19:37] 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-08-01 15:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:19:37] 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-08-01 15:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107863808001,"66":12385,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107863808001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:19:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:19:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107863808001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":147301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577740,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:19:37] local.INFO: GPS data processed {"connection_id":147301,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:19:37] local.INFO: Acknowledgment sent {"connection_id":147301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:19:59] local.INFO: TCP Data received {"connection_id":146070,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:19:59] local.INFO: Processing buffer {"connection_id":146070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:19:59] local.INFO: IMEI packet received {"connection_id":146070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 15:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":146070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:19:59] local.INFO: TCP Data received {"connection_id":146071,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:19:59] local.INFO: Processing buffer {"connection_id":146071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:19:59] local.INFO: IMEI packet received {"connection_id":146071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":146071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:20:00] local.INFO: TCP Data received {"connection_id":146071,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:20:00] local.INFO: Processing buffer {"connection_id":146071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:20:00] local.INFO: IMEI packet received {"connection_id":146071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":146071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:20:05] local.INFO: TCP Data received {"connection_id":146071,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:20:05] local.INFO: Processing buffer {"connection_id":146071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:20:05] local.INFO: IMEI packet received {"connection_id":146071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":146071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:20:06] local.INFO: TCP Data received {"connection_id":146071,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcb87cb8012d1968c0071fee10003d011429..."} 
[2026-08-01 15:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcb87cb8012d1968c0071fee10003d011429..."} 
[2026-08-01 15:20:06] local.INFO: Processing buffer {"connection_id":146071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcb87cb8012d1968c0071fee10003d011429..."} 
[2026-08-01 15:20:06] local.INFO: Packet analysis {"connection_id":146071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcb8"} 
[2026-08-01 15:20:06] local.INFO: Extracted packet for processing {"connection_id":146071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcb8"} 
[2026-08-01 15:20:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107869184001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785577635000,"timestamp_ms":1785577635000,"timestamp_seconds":1785577635,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcb87cb8"} 
[2026-08-01 15:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 15:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:20:06] 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-08-01 15:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107869184001,"66":12385,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107869184001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:20:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:20:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107869184001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":146071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:20:06] local.INFO: GPS data processed {"connection_id":146071,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:20:06] local.INFO: Acknowledgment sent {"connection_id":146071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:20:13] local.INFO: TCP Data received {"connection_id":146070,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:20:13] local.INFO: Processing buffer {"connection_id":146070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:20:13] local.INFO: IMEI packet received {"connection_id":146070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":146070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:20:16] local.INFO: TCP Data received {"connection_id":146070,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcb9a980012cef9cc00713abb80022013429..."} 
[2026-08-01 15:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcb9a980012cef9cc00713abb80022013429..."} 
[2026-08-01 15:20:16] local.INFO: Processing buffer {"connection_id":146070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcb9a980012cef9cc00713abb80022013429..."} 
[2026-08-01 15:20:16] local.INFO: Packet analysis {"connection_id":146070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcb9"} 
[2026-08-01 15:20:16] local.INFO: Extracted packet for processing {"connection_id":146070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcb9"} 
[2026-08-01 15:20:16] local.INFO: GPS Element Parsed {"raw_longitude":753900736,"raw_latitude":118729656,"longitude_deg":75.3900736,"latitude_deg":11.8729656,"altitude":34,"angle":308,"satellites":41,"speed":31,"hex_longitude":"2cef9cc0","hex_latitude":"0713abb8","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107893760001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366587514686799872,"note":"Value kept but may cause issues"} 
[2026-08-01 15:20:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1179309753278906368,"note":"Value kept but may cause issues"} 
[2026-08-01 15:20:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785577712000,"timestamp_ms":1785577712000,"timestamp_seconds":1785577712,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcb9a980"} 
[2026-08-01 15:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:20: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-08-01 15:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 15:20:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15: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-08-01 15:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":146070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":146070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":146070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:20:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107893760001,"66":27865,"153":206,"2":54272,"24":31,"16":366587514686799872,"44":-1179309753278906368},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,2,24,16,44]} 
[2026-08-01 15:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107893760001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:20:16] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-01 15:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366587514686799872,"km_value":366587514686799.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:20:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1179309753278906368,"description":"Unknown IO ID 44"} 
[2026-08-01 15:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107893760001,"power":27865,"unknown_153":206,"power_alt":54272,"ignition":31,"odometer":null,"unknown_44":-1179309753278906368}} 
[2026-08-01 15:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":146070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:20:16] local.INFO: GPS data processed {"connection_id":146070,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:20:16] local.INFO: Acknowledgment sent {"connection_id":146070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:20:37] local.INFO: TCP Data received {"connection_id":146071,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcb8cec0012d1968c0071fee10003d011427..."} 
[2026-08-01 15:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcb8cec0012d1968c0071fee10003d011427..."} 
[2026-08-01 15:20:37] local.INFO: Processing buffer {"connection_id":146071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcb8cec0012d1968c0071fee10003d011427..."} 
[2026-08-01 15:20:37] local.INFO: Packet analysis {"connection_id":146071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcb8"} 
[2026-08-01 15:20:37] local.INFO: Extracted packet for processing {"connection_id":146071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcb8"} 
[2026-08-01 15:20:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107874560001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785577656000,"timestamp_ms":1785577656000,"timestamp_seconds":1785577656,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcb8cec0"} 
[2026-08-01 15:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 15:20:37] 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-08-01 15: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-08-01 15:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:20:37] 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-08-01 15:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107874560001,"66":12385,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107874560001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:20:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:20:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107874560001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":146071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:20:37] local.INFO: GPS data processed {"connection_id":146071,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:20:37] local.INFO: Acknowledgment sent {"connection_id":146071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:21:00] local.INFO: TCP Data received {"connection_id":147302,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147302,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:21:00] local.INFO: Processing buffer {"connection_id":147302,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:21:00] local.INFO: IMEI packet received {"connection_id":147302,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":147302,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:21:02] local.INFO: TCP Data received {"connection_id":147302,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147302,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:21:02] local.INFO: Processing buffer {"connection_id":147302,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:21:02] local.INFO: IMEI packet received {"connection_id":147302,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":147302,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:21:05] local.INFO: TCP Data received {"connection_id":147302,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147302,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:21:05] local.INFO: Processing buffer {"connection_id":147302,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:21:05] local.INFO: IMEI packet received {"connection_id":147302,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":147302,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:21:06] local.INFO: TCP Data received {"connection_id":147302,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcb920c8012d1968c0071fee10003d011427..."} 
[2026-08-01 15:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcb920c8012d1968c0071fee10003d011427..."} 
[2026-08-01 15:21:06] local.INFO: Processing buffer {"connection_id":147302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcb920c8012d1968c0071fee10003d011427..."} 
[2026-08-01 15:21:06] local.INFO: Packet analysis {"connection_id":147302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcb9"} 
[2026-08-01 15:21:06] local.INFO: Extracted packet for processing {"connection_id":147302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcb9"} 
[2026-08-01 15:21:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107879936001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785577677000,"timestamp_ms":1785577677000,"timestamp_seconds":1785577677,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcb920c8"} 
[2026-08-01 15:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 15:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:21:06] 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-08-01 15:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107879936001,"66":12385,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107879936001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:21:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:21:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107879936001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":147302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577744,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:21:06] local.INFO: GPS data processed {"connection_id":147302,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:21:06] local.INFO: Acknowledgment sent {"connection_id":147302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:21:19] local.INFO: TCP Data received {"connection_id":147303,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:21:19] local.INFO: Processing buffer {"connection_id":147303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:21:19] local.INFO: IMEI packet received {"connection_id":147303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 15:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":147303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:21:24] local.INFO: TCP Data received {"connection_id":147303,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:21:24] local.INFO: Processing buffer {"connection_id":147303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:21:24] local.INFO: IMEI packet received {"connection_id":147303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":147303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:21:25] local.INFO: TCP Data received {"connection_id":147303,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcb9c8c0012cef8fc00713b9000022013f2b..."} 
[2026-08-01 15:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcb9c8c0012cef8fc00713b9000022013f2b..."} 
[2026-08-01 15:21:25] local.INFO: Processing buffer {"connection_id":147303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcb9c8c0012cef8fc00713b9000022013f2b..."} 
[2026-08-01 15:21:25] local.INFO: Packet analysis {"connection_id":147303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcb9"} 
[2026-08-01 15:21:25] local.INFO: Extracted packet for processing {"connection_id":147303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcb9"} 
[2026-08-01 15:21:25] local.INFO: GPS Element Parsed {"raw_longitude":753897408,"raw_latitude":118733056,"longitude_deg":75.3897408,"latitude_deg":11.8733056,"altitude":34,"angle":319,"satellites":43,"speed":15,"hex_longitude":"2cef8fc0","hex_latitude":"0713b900","is_valid_coordinates":true} 
[2026-08-01 15:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107894272001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366587746615033856,"note":"Value kept but may cause issues"} 
[2026-08-01 15:21:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1180857865650587648,"note":"Value kept but may cause issues"} 
[2026-08-01 15:21:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785577720000,"timestamp_ms":1785577720000,"timestamp_seconds":1785577720,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcb9c8c0"} 
[2026-08-01 15:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:21: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-08-01 15:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 15:21:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:21:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":147303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":147303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":147303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:21:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107894272001,"66":27887,"153":206,"2":54272,"24":15,"16":366587746615033856,"44":-1180857865650587648},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,2,24,16,44]} 
[2026-08-01 15:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107894272001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:21:25] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-01 15:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366587746615033856,"km_value":366587746615033.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:21:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1180857865650587648,"description":"Unknown IO ID 44"} 
[2026-08-01 15:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107894272001,"power":27887,"unknown_153":206,"power_alt":54272,"ignition":15,"odometer":null,"unknown_44":-1180857865650587648}} 
[2026-08-01 15:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":147303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:21:25] local.INFO: GPS data processed {"connection_id":147303,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:21:25] local.INFO: Acknowledgment sent {"connection_id":147303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:21:49] local.INFO: TCP Data received {"connection_id":147302,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcb972d0012d1968c0071fee10003d011427..."} 
[2026-08-01 15:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcb972d0012d1968c0071fee10003d011427..."} 
[2026-08-01 15:21:49] local.INFO: Processing buffer {"connection_id":147302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcb972d0012d1968c0071fee10003d011427..."} 
[2026-08-01 15:21:49] local.INFO: Packet analysis {"connection_id":147302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcb9"} 
[2026-08-01 15:21:49] local.INFO: Extracted packet for processing {"connection_id":147302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcb9"} 
[2026-08-01 15:21:49] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107885312001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:21: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-08-01 15:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785577698000,"timestamp_ms":1785577698000,"timestamp_seconds":1785577698,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcb972d0"} 
[2026-08-01 15:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:21: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-08-01 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 15:21:49] 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-08-01 15: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-08-01 15:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:21:49] 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-08-01 15:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107885312001,"66":12385,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107885312001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:21:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:21:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107885312001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:21:49] local.INFO: TCP Data received {"connection_id":146299,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:21:49] local.INFO: Processing buffer {"connection_id":146299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:21:49] local.INFO: IMEI packet received {"connection_id":146299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 15:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":146299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":147302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:21:49] local.INFO: GPS data processed {"connection_id":147302,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:21:49] local.INFO: Acknowledgment sent {"connection_id":147302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:21:54] local.INFO: TCP Data received {"connection_id":146299,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:21:54] local.INFO: Processing buffer {"connection_id":146299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:21:54] local.INFO: IMEI packet received {"connection_id":146299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":146299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:21:55] local.INFO: TCP Data received {"connection_id":146299,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcb9f7a0012cef7ec00713c988002101332c..."} 
[2026-08-01 15:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcb9f7a0012cef7ec00713c988002101332c..."} 
[2026-08-01 15:21:55] local.INFO: Processing buffer {"connection_id":146299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcb9f7a0012cef7ec00713c988002101332c..."} 
[2026-08-01 15:21:55] local.INFO: Packet analysis {"connection_id":146299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcb9"} 
[2026-08-01 15:21:55] local.INFO: Extracted packet for processing {"connection_id":146299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcb9"} 
[2026-08-01 15:21:55] local.INFO: GPS Element Parsed {"raw_longitude":753893056,"raw_latitude":118737288,"longitude_deg":75.3893056,"latitude_deg":11.8737288,"altitude":33,"angle":307,"satellites":44,"speed":27,"hex_longitude":"2cef7ec0","hex_latitude":"0713c988","is_valid_coordinates":true} 
[2026-08-01 15:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107896320001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366588038672809984,"note":"Value kept but may cause issues"} 
[2026-08-01 15:21:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1184517040346955776,"note":"Value kept but may cause issues"} 
[2026-08-01 15:21:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785577732000,"timestamp_ms":1785577732000,"timestamp_seconds":1785577732,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcb9f7a0"} 
[2026-08-01 15:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:21:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-01 15:21:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:21:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":146299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":146299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":146299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107896320001,"66":27843,"64":206,"2":54272,"24":27,"16":366588038672809984,"44":-1184517040346955776},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,2,24,16,44]} 
[2026-08-01 15:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107896320001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:21:55] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-01 15:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366588038672809984,"km_value":366588038672810.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:21:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1184517040346955776,"description":"Unknown IO ID 44"} 
[2026-08-01 15:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107896320001,"power":27843,"unknown_64":206,"power_alt":54272,"ignition":27,"odometer":null,"unknown_44":-1184517040346955776}} 
[2026-08-01 15:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":146299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:21:55] local.INFO: GPS data processed {"connection_id":146299,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:21:55] local.INFO: Acknowledgment sent {"connection_id":146299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:22:00] local.INFO: TCP Data received {"connection_id":148613,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:22:00] local.INFO: Processing buffer {"connection_id":148613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:22:00] local.INFO: IMEI packet received {"connection_id":148613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":148613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:22:05] local.INFO: TCP Data received {"connection_id":148613,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:22:05] local.INFO: Processing buffer {"connection_id":148613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:22:05] local.INFO: IMEI packet received {"connection_id":148613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":148613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:22:06] local.INFO: TCP Data received {"connection_id":148613,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcb9c4d8012d1968c0071fee10003d011428..."} 
[2026-08-01 15:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcb9c4d8012d1968c0071fee10003d011428..."} 
[2026-08-01 15:22:06] local.INFO: Processing buffer {"connection_id":148613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcb9c4d8012d1968c0071fee10003d011428..."} 
[2026-08-01 15:22:06] local.INFO: Packet analysis {"connection_id":148613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcb9"} 
[2026-08-01 15:22:06] local.INFO: Extracted packet for processing {"connection_id":148613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcb9"} 
[2026-08-01 15:22:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107890688001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785577719000,"timestamp_ms":1785577719000,"timestamp_seconds":1785577719,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcb9c4d8"} 
[2026-08-01 15:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 15:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:22:06] 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-08-01 15:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107890688001,"66":12385,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107890688001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:22:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:22:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107890688001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":148613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577748,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:22:06] local.INFO: GPS data processed {"connection_id":148613,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:22:06] local.INFO: Acknowledgment sent {"connection_id":148613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:22:26] local.INFO: TCP Data received {"connection_id":146299,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcba0740012cef74800713cf68002101242b..."} 
[2026-08-01 15:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcba0740012cef74800713cf68002101242b..."} 
[2026-08-01 15:22:26] local.INFO: Processing buffer {"connection_id":146299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcba0740012cef74800713cf68002101242b..."} 
[2026-08-01 15:22:26] local.INFO: Packet analysis {"connection_id":146299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcba"} 
[2026-08-01 15:22:26] local.INFO: Extracted packet for processing {"connection_id":146299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcba"} 
[2026-08-01 15:22:26] local.INFO: GPS Element Parsed {"raw_longitude":753890432,"raw_latitude":118738792,"longitude_deg":75.3890432,"latitude_deg":11.8738792,"altitude":33,"angle":292,"satellites":43,"speed":32,"hex_longitude":"2cef7480","hex_latitude":"0713cf68","is_valid_coordinates":true} 
[2026-08-01 15:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107899392001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366588180406730752,"note":"Value kept but may cause issues"} 
[2026-08-01 15:22:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1189302114949953536,"note":"Value kept but may cause issues"} 
[2026-08-01 15:22:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785577736000,"timestamp_ms":1785577736000,"timestamp_seconds":1785577736,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcba0740"} 
[2026-08-01 15:22:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:22: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-08-01 15:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 15:22:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:22:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:22:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":146299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":146299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":146299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:22:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107899392001,"66":27876,"64":206,"2":54272,"24":32,"16":366588180406730752,"44":-1189302114949953536},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,2,24,16,44]} 
[2026-08-01 15:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107899392001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:22:26] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-01 15:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366588180406730752,"km_value":366588180406730.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:22:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1189302114949953536,"description":"Unknown IO ID 44"} 
[2026-08-01 15:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107899392001,"power":27876,"unknown_64":206,"power_alt":54272,"ignition":32,"odometer":null,"unknown_44":-1189302114949953536}} 
[2026-08-01 15:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":146299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:22:26] local.INFO: GPS data processed {"connection_id":146299,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:22:26] local.INFO: Acknowledgment sent {"connection_id":146299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:22:37] local.INFO: TCP Data received {"connection_id":148613,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcba16e0012d1968c0071fee10003d011428..."} 
[2026-08-01 15:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcba16e0012d1968c0071fee10003d011428..."} 
[2026-08-01 15:22:37] local.INFO: Processing buffer {"connection_id":148613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcba16e0012d1968c0071fee10003d011428..."} 
[2026-08-01 15:22:37] local.INFO: Packet analysis {"connection_id":148613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcba"} 
[2026-08-01 15:22:37] local.INFO: Extracted packet for processing {"connection_id":148613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcba"} 
[2026-08-01 15:22:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107896064001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785577740000,"timestamp_ms":1785577740000,"timestamp_seconds":1785577740,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcba16e0"} 
[2026-08-01 15:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 15:22:37] 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-08-01 15:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:22:37] 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-08-01 15:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107896064001,"66":12385,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107896064001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:22:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:22:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107896064001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":148613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577750,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:22:37] local.INFO: GPS data processed {"connection_id":148613,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:22:37] local.INFO: Acknowledgment sent {"connection_id":148613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:22:44] local.INFO: TCP Data received {"connection_id":146300,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:22:44] local.INFO: Processing buffer {"connection_id":146300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:22:44] local.INFO: IMEI packet received {"connection_id":146300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 15:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":146300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:22:49] local.INFO: TCP Data received {"connection_id":146300,"ip":"117.224.186.144","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:22:49] local.INFO: Processing buffer {"connection_id":146300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:22:49] local.INFO: IMEI packet received {"connection_id":146300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":146300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:22:51] local.INFO: TCP Data received {"connection_id":146300,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcba12f8012cef6ac00713d220002001172c..."} 
[2026-08-01 15:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcba12f8012cef6ac00713d220002001172c..."} 
[2026-08-01 15:22:51] local.INFO: Processing buffer {"connection_id":146300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcba12f8012cef6ac00713d220002001172c..."} 
[2026-08-01 15:22:51] local.INFO: Packet analysis {"connection_id":146300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcba"} 
[2026-08-01 15:22:51] local.INFO: Extracted packet for processing {"connection_id":146300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcba"} 
[2026-08-01 15:22:51] local.INFO: GPS Element Parsed {"raw_longitude":753887936,"raw_latitude":118739488,"longitude_deg":75.3887936,"latitude_deg":11.8739488,"altitude":32,"angle":279,"satellites":44,"speed":35,"hex_longitude":"2cef6ac0","hex_latitude":"0713d220","is_valid_coordinates":true} 
[2026-08-01 15:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107900416001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366588304960782336,"note":"Value kept but may cause issues"} 
[2026-08-01 15:22:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1192187233460852736,"note":"Value kept but may cause issues"} 
[2026-08-01 15:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785577739000,"timestamp_ms":1785577739000,"timestamp_seconds":1785577739,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcba12f8"} 
[2026-08-01 15:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:22:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 15:22:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:22:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":146300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":146300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":146300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:22:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107900416001,"66":27658,"64":206,"2":54272,"24":35,"16":366588304960782336,"44":-1192187233460852736},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,2,24,16,44]} 
[2026-08-01 15:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107900416001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:22:51] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-01 15:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366588304960782336,"km_value":366588304960782.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:22:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1192187233460852736,"description":"Unknown IO ID 44"} 
[2026-08-01 15:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107900416001,"power":27658,"unknown_64":206,"power_alt":54272,"ignition":35,"odometer":null,"unknown_44":-1192187233460852736}} 
[2026-08-01 15:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":146300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:22:51] local.INFO: GPS data processed {"connection_id":146300,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:22:51] local.INFO: Acknowledgment sent {"connection_id":146300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:23:00] local.INFO: TCP Data received {"connection_id":147304,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147304,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:23:00] local.INFO: Processing buffer {"connection_id":147304,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:23:00] local.INFO: IMEI packet received {"connection_id":147304,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":147304,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:23:05] local.INFO: TCP Data received {"connection_id":147304,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147304,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:23:05] local.INFO: Processing buffer {"connection_id":147304,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:23:05] local.INFO: IMEI packet received {"connection_id":147304,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":147304,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:23:06] local.INFO: TCP Data received {"connection_id":147304,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcba68e8012d1968c0071fee10003d011428..."} 
[2026-08-01 15:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcba68e8012d1968c0071fee10003d011428..."} 
[2026-08-01 15:23:06] local.INFO: Processing buffer {"connection_id":147304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcba68e8012d1968c0071fee10003d011428..."} 
[2026-08-01 15:23:06] local.INFO: Packet analysis {"connection_id":147304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcba"} 
[2026-08-01 15:23:06] local.INFO: Extracted packet for processing {"connection_id":147304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcba"} 
[2026-08-01 15:23:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107901440001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785577761000,"timestamp_ms":1785577761000,"timestamp_seconds":1785577761,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcba68e8"} 
[2026-08-01 15:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 15:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15: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-08-01 15:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:23:06] 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-08-01 15:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107901440001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107901440001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:23:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:23:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107901440001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":147304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577752,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:23:06] local.INFO: GPS data processed {"connection_id":147304,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:23:06] local.INFO: Acknowledgment sent {"connection_id":147304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:23:34] local.INFO: TCP Data received {"connection_id":146300,"ip":"117.224.186.144","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcbd00f8012cee91800713daa0002201072d..."} 
[2026-08-01 15:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcbd00f8012cee91800713daa0002201072d..."} 
[2026-08-01 15:23:34] local.INFO: Processing buffer {"connection_id":146300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcbd00f8012cee91800713daa0002201072d..."} 
[2026-08-01 15:23:34] local.INFO: Packet analysis {"connection_id":146300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcbd"} 
[2026-08-01 15:23:34] local.INFO: Extracted packet for processing {"connection_id":146300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcbd"} 
[2026-08-01 15:23:34] local.INFO: GPS Element Parsed {"raw_longitude":753832320,"raw_latitude":118741664,"longitude_deg":75.383232,"latitude_deg":11.8741664,"altitude":34,"angle":263,"satellites":45,"speed":15,"hex_longitude":"2cee9180","hex_latitude":"0713daa0","is_valid_coordinates":true} 
[2026-08-01 15:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107944960001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366590963545538560,"note":"Value kept but may cause issues"} 
[2026-08-01 15:23:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1254885784522336256,"note":"Value kept but may cause issues"} 
[2026-08-01 15:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785577931000,"timestamp_ms":1785577931000,"timestamp_seconds":1785577931,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcbd00f8"} 
[2026-08-01 15:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15: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-08-01 15:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 15:23: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-08-01 15:23:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.186.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107944960001,"66":27865,"206":206,"2":54272,"24":15,"16":366590963545538560,"44":-1254885784522336256},"client_ip":"117.224.186.144","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-08-01 15:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107944960001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:23:34] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-01 15:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366590963545538560,"km_value":366590963545538.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:23:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1254885784522336256,"description":"Unknown IO ID 44"} 
[2026-08-01 15:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107944960001,"power":27865,"unknown_206":206,"power_alt":54272,"ignition":15,"odometer":null,"unknown_44":-1254885784522336256}} 
[2026-08-01 15:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":146300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:23:34] local.INFO: GPS data processed {"connection_id":146300,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:23:34] local.INFO: Acknowledgment sent {"connection_id":146300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:23:37] local.INFO: TCP Data received {"connection_id":147304,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcbabaf0012d1968c0071fee10003d011428..."} 
[2026-08-01 15:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcbabaf0012d1968c0071fee10003d011428..."} 
[2026-08-01 15:23:37] local.INFO: Processing buffer {"connection_id":147304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcbabaf0012d1968c0071fee10003d011428..."} 
[2026-08-01 15:23:37] local.INFO: Packet analysis {"connection_id":147304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcba"} 
[2026-08-01 15:23:37] local.INFO: Extracted packet for processing {"connection_id":147304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcba"} 
[2026-08-01 15:23:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107906816001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785577782000,"timestamp_ms":1785577782000,"timestamp_seconds":1785577782,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcbabaf0"} 
[2026-08-01 15:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 15:23:37] 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-08-01 15:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:23:37] 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-08-01 15:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107906816001,"66":12385,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107906816001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:23:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:23:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107906816001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":147304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:23:37] local.INFO: GPS data processed {"connection_id":147304,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:23:37] local.INFO: Acknowledgment sent {"connection_id":147304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:24:05] local.INFO: TCP Data received {"connection_id":147305,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:24:05] local.INFO: Processing buffer {"connection_id":147305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:24:05] local.INFO: IMEI packet received {"connection_id":147305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":147305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:24:10] local.INFO: TCP Data received {"connection_id":147305,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:24:10] local.INFO: Processing buffer {"connection_id":147305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:24:10] local.INFO: IMEI packet received {"connection_id":147305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":147305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:24:11] local.INFO: TCP Data received {"connection_id":147305,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcbb0cf8012d1968c0071fee10003d011428..."} 
[2026-08-01 15:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcbb0cf8012d1968c0071fee10003d011428..."} 
[2026-08-01 15:24:11] local.INFO: Processing buffer {"connection_id":147305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcbb0cf8012d1968c0071fee10003d011428..."} 
[2026-08-01 15:24:11] local.INFO: Packet analysis {"connection_id":147305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcbb"} 
[2026-08-01 15:24:11] local.INFO: Extracted packet for processing {"connection_id":147305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcbb"} 
[2026-08-01 15:24:11] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 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-08-01 15:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107912192001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785577803000,"timestamp_ms":1785577803000,"timestamp_seconds":1785577803,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcbb0cf8"} 
[2026-08-01 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-08-01 15:24: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-08-01 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":97,"data_length":795,"current_offset":136} 
[2026-08-01 15:24: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-08-01 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-08-01 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-08-01 15:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":147305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":147305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":147305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:24:11] 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-08-01 15:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107912192001,"66":12298,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107912192001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:24:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:24:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107912192001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":147305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577755,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:24:11] local.INFO: GPS data processed {"connection_id":147305,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:24:11] local.INFO: Acknowledgment sent {"connection_id":147305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:24:11] local.INFO: TCP Data received {"connection_id":147305,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcbb5f00012d1968c0071fee10003d011425..."} 
[2026-08-01 15:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcbb5f00012d1968c0071fee10003d011425..."} 
[2026-08-01 15:24:12] local.INFO: Processing buffer {"connection_id":147305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcbb5f00012d1968c0071fee10003d011425..."} 
[2026-08-01 15:24:12] local.INFO: Packet analysis {"connection_id":147305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcbb"} 
[2026-08-01 15:24:12] local.INFO: Extracted packet for processing {"connection_id":147305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcbb"} 
[2026-08-01 15:24:12] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107917568001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:24:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785577824000,"timestamp_ms":1785577824000,"timestamp_seconds":1785577824,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcbb5f00"} 
[2026-08-01 15:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:24: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-08-01 15: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 15:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-01 15:24:12] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-01 15:24:12] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-01 15:24:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 15:24:12] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-7854277750134145023,"note":"Value kept but may cause issues"} 
[2026-08-01 15:24:12] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4847897674815563416,"note":"Value kept but may cause issues"} 
[2026-08-01 15:24:12] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390635034411284,"note":"Value kept but may cause issues"} 
[2026-08-01 15:24:12] local.WARNING: Large IO value detected {"io_id":61,"raw_value":77729974525624320,"note":"Value kept but may cause issues"} 
[2026-08-01 15:24:12] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832593,"note":"Value kept but may cause issues"} 
[2026-08-01 15:24:12] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3486068469049721038,"note":"Value kept but may cause issues"} 
[2026-08-01 15:24:12] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-01 15:24:12] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3116685313,"note":"Value kept but may cause issues"} 
[2026-08-01 15:24:12] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026045,"note":"Value kept but may cause issues"} 
[2026-08-01 15:24:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-01 15:24:12] local.WARNING: Large IO value detected {"io_id":114,"raw_value":3489738009,"note":"Value kept but may cause issues"} 
[2026-08-01 15:24:12] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,120,159,186,45,192,238,61,40,10,66,104,22,1,240,97,227,188,31,4,113,205,114,39,239,48,2,36,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-01 15:24:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395816873321562112,"timestamp_seconds":4395816873321562.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 15:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":147305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":147305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":147305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:24:12] 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-08-01 15:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107917568001,"66":12319,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107917568001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:24:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:24:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:24:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107917568001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":147305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:24:12] local.INFO: GPS data processed {"connection_id":147305,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:24:12] local.INFO: Acknowledgment sent {"connection_id":147305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:24:43] local.INFO: TCP Data received {"connection_id":147305,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcbbb108012d1968c0071fee10003d011426..."} 
[2026-08-01 15:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcbbb108012d1968c0071fee10003d011426..."} 
[2026-08-01 15:24:43] local.INFO: Processing buffer {"connection_id":147305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcbbb108012d1968c0071fee10003d011426..."} 
[2026-08-01 15:24:43] local.INFO: Packet analysis {"connection_id":147305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcbb"} 
[2026-08-01 15:24:43] local.INFO: Extracted packet for processing {"connection_id":147305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcbb"} 
[2026-08-01 15:24:43] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107922944001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:24:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:24: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-08-01 15:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785577845000,"timestamp_ms":1785577845000,"timestamp_seconds":1785577845,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcbbb108"} 
[2026-08-01 15:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:24:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-01 15:24:43] 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-08-01 15: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-08-01 15:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":147305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":147305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":147305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:24:43] 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-08-01 15:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107922944001,"66":12374,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107922944001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:24:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:24:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:24:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107922944001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":147305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577757,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:24:43] local.INFO: GPS data processed {"connection_id":147305,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:24:43] local.INFO: Acknowledgment sent {"connection_id":147305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:25:02] local.INFO: TCP Data received {"connection_id":146301,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:25:02] local.INFO: Processing buffer {"connection_id":146301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:25:02] local.INFO: IMEI packet received {"connection_id":146301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":146301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:25:05] local.INFO: TCP Data received {"connection_id":146301,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:25:05] local.INFO: Processing buffer {"connection_id":146301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:25:05] local.INFO: IMEI packet received {"connection_id":146301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":146301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:25:08] local.INFO: TCP Data received {"connection_id":146301,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcbc0310012d1968c0071fee10003d011426..."} 
[2026-08-01 15:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcbc0310012d1968c0071fee10003d011426..."} 
[2026-08-01 15:25:08] local.INFO: Processing buffer {"connection_id":146301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcbc0310012d1968c0071fee10003d011426..."} 
[2026-08-01 15:25:08] local.INFO: Packet analysis {"connection_id":146301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcbc"} 
[2026-08-01 15:25:08] local.INFO: Extracted packet for processing {"connection_id":146301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcbc"} 
[2026-08-01 15:25:08] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107928320001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785577866000,"timestamp_ms":1785577866000,"timestamp_seconds":1785577866,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcbc0310"} 
[2026-08-01 15:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:25: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-08-01 15:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 15:25:08] 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-08-01 15:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":146301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":146301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":146301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:25:08] 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-08-01 15:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107928320001,"66":12385,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107928320001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:25:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:25:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107928320001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":146301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:25:08] local.INFO: GPS data processed {"connection_id":146301,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:25:08] local.INFO: Acknowledgment sent {"connection_id":146301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:25:11] local.INFO: TCP Data received {"connection_id":146301,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcbc5518012d1968c0071fee10003d011427..."} 
[2026-08-01 15:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcbc5518012d1968c0071fee10003d011427..."} 
[2026-08-01 15:25:11] local.INFO: Processing buffer {"connection_id":146301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcbc5518012d1968c0071fee10003d011427..."} 
[2026-08-01 15:25:11] local.INFO: Packet analysis {"connection_id":146301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcbc"} 
[2026-08-01 15:25:11] local.INFO: Extracted packet for processing {"connection_id":146301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcbc"} 
[2026-08-01 15:25:11] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107933696001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15: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-08-01 15:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785577887000,"timestamp_ms":1785577887000,"timestamp_seconds":1785577887,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcbc5518"} 
[2026-08-01 15:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:25: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-08-01 15:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 15: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-08-01 15:25:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:25:11] 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-08-01 15:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107933696001,"66":12374,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107933696001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:25:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:25:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107933696001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":146301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577759,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:25:11] local.INFO: GPS data processed {"connection_id":146301,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:25:11] local.INFO: Acknowledgment sent {"connection_id":146301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:25:46] local.INFO: TCP Data received {"connection_id":146301,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcbca720012d1968c0071fee10003d011428..."} 
[2026-08-01 15:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcbca720012d1968c0071fee10003d011428..."} 
[2026-08-01 15:25:46] local.INFO: Processing buffer {"connection_id":146301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcbca720012d1968c0071fee10003d011428..."} 
[2026-08-01 15:25:46] local.INFO: Packet analysis {"connection_id":146301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcbc"} 
[2026-08-01 15:25:46] local.INFO: Extracted packet for processing {"connection_id":146301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcbc"} 
[2026-08-01 15:25:46] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107939072001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:25:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785577908000,"timestamp_ms":1785577908000,"timestamp_seconds":1785577908,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcbca720"} 
[2026-08-01 15:25:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:25: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-08-01 15:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 15:25: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-08-01 15:25:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:25:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":146301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":146301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":146301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107939072001,"66":12385,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107939072001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:25:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:25:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107939072001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":146301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:25:46] local.INFO: GPS data processed {"connection_id":146301,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:25:46] local.INFO: Acknowledgment sent {"connection_id":146301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:26:00] local.INFO: TCP Data received {"connection_id":146072,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146072,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:26:00] local.INFO: Processing buffer {"connection_id":146072,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:26:00] local.INFO: IMEI packet received {"connection_id":146072,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":146072,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:26:05] local.INFO: TCP Data received {"connection_id":146072,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146072,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:26:05] local.INFO: Processing buffer {"connection_id":146072,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:26:05] local.INFO: IMEI packet received {"connection_id":146072,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":146072,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:26:06] local.INFO: TCP Data received {"connection_id":146072,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcbcf928012d1968c0071fee10003d011426..."} 
[2026-08-01 15:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcbcf928012d1968c0071fee10003d011426..."} 
[2026-08-01 15:26:06] local.INFO: Processing buffer {"connection_id":146072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcbcf928012d1968c0071fee10003d011426..."} 
[2026-08-01 15:26:06] local.INFO: Packet analysis {"connection_id":146072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcbc"} 
[2026-08-01 15:26:06] local.INFO: Extracted packet for processing {"connection_id":146072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcbc"} 
[2026-08-01 15:26:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107944448001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785577929000,"timestamp_ms":1785577929000,"timestamp_seconds":1785577929,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcbcf928"} 
[2026-08-01 15:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 15:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:26:06] 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-08-01 15:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107944448001,"66":12004,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107944448001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:26:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:26:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107944448001,"power":12004,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":146072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577761,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:26:06] local.INFO: GPS data processed {"connection_id":146072,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:26:06] local.INFO: Acknowledgment sent {"connection_id":146072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:26:37] local.INFO: TCP Data received {"connection_id":146072,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcbd4b30012d1968c0071fee10003d011425..."} 
[2026-08-01 15:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcbd4b30012d1968c0071fee10003d011425..."} 
[2026-08-01 15:26:37] local.INFO: Processing buffer {"connection_id":146072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcbd4b30012d1968c0071fee10003d011425..."} 
[2026-08-01 15:26:37] local.INFO: Packet analysis {"connection_id":146072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcbd"} 
[2026-08-01 15:26:37] local.INFO: Extracted packet for processing {"connection_id":146072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcbd"} 
[2026-08-01 15:26:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107949824001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785577950000,"timestamp_ms":1785577950000,"timestamp_seconds":1785577950,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcbd4b30"} 
[2026-08-01 15:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 15:26:37] 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-08-01 15:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:26:37] 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-08-01 15:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107949824001,"66":11993,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107949824001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:26:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:26:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107949824001,"power":11993,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":146072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577762,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:26:37] local.INFO: GPS data processed {"connection_id":146072,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:26:37] local.INFO: Acknowledgment sent {"connection_id":146072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:26:59] local.INFO: TCP Data received {"connection_id":146302,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146302,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:26:59] local.INFO: Processing buffer {"connection_id":146302,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:26:59] local.INFO: IMEI packet received {"connection_id":146302,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":146302,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:27:00] local.INFO: TCP Data received {"connection_id":146302,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146302,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:27:00] local.INFO: Processing buffer {"connection_id":146302,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:27:00] local.INFO: IMEI packet received {"connection_id":146302,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":146302,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:27:05] local.INFO: TCP Data received {"connection_id":146302,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146302,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:27:05] local.INFO: Processing buffer {"connection_id":146302,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:27:05] local.INFO: IMEI packet received {"connection_id":146302,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":146302,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:27:06] local.INFO: TCP Data received {"connection_id":146302,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcbd9d38012d1968c0071fee10003d011425..."} 
[2026-08-01 15:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcbd9d38012d1968c0071fee10003d011425..."} 
[2026-08-01 15:27:06] local.INFO: Processing buffer {"connection_id":146302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcbd9d38012d1968c0071fee10003d011425..."} 
[2026-08-01 15:27:06] local.INFO: Packet analysis {"connection_id":146302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcbd"} 
[2026-08-01 15:27:06] local.INFO: Extracted packet for processing {"connection_id":146302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcbd"} 
[2026-08-01 15:27:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107955200001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785577971000,"timestamp_ms":1785577971000,"timestamp_seconds":1785577971,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcbd9d38"} 
[2026-08-01 15:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15: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":46,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 15:27:06] 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-08-01 15: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-08-01 15:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:27:06] 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-08-01 15:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107955200001,"66":12385,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107955200001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:27:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:27:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107955200001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":146302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:27:06] local.INFO: GPS data processed {"connection_id":146302,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:27:06] local.INFO: Acknowledgment sent {"connection_id":146302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:27:37] local.INFO: TCP Data received {"connection_id":146302,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcbdef40012d1968c0071fee10003d011423..."} 
[2026-08-01 15:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcbdef40012d1968c0071fee10003d011423..."} 
[2026-08-01 15:27:37] local.INFO: Processing buffer {"connection_id":146302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcbdef40012d1968c0071fee10003d011423..."} 
[2026-08-01 15:27:37] local.INFO: Packet analysis {"connection_id":146302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcbd"} 
[2026-08-01 15:27:37] local.INFO: Extracted packet for processing {"connection_id":146302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcbd"} 
[2026-08-01 15:27:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107960576001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785577992000,"timestamp_ms":1785577992000,"timestamp_seconds":1785577992,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcbdef40"} 
[2026-08-01 15:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 15:27:37] 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-08-01 15:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:27:37] 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-08-01 15:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107960576001,"66":12363,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107960576001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:27:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:27:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107960576001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":146302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:27:37] local.INFO: GPS data processed {"connection_id":146302,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:27:37] local.INFO: Acknowledgment sent {"connection_id":146302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:27:44] local.INFO: TCP Data received {"connection_id":148614,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:27:44] local.INFO: Processing buffer {"connection_id":148614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:27:44] local.INFO: IMEI packet received {"connection_id":148614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 15:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":148614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:27:49] local.INFO: TCP Data received {"connection_id":148614,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:27:49] local.INFO: Processing buffer {"connection_id":148614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:27:49] local.INFO: IMEI packet received {"connection_id":148614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":148614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:27:51] local.INFO: TCP Data received {"connection_id":148614,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcbfa8a8012cedce000713e4c00026010b2b..."} 
[2026-08-01 15:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcbfa8a8012cedce000713e4c00026010b2b..."} 
[2026-08-01 15:27:51] local.INFO: Processing buffer {"connection_id":148614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcbfa8a8012cedce000713e4c00026010b2b..."} 
[2026-08-01 15:27:51] local.INFO: Packet analysis {"connection_id":148614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcbf"} 
[2026-08-01 15:27:51] local.INFO: Extracted packet for processing {"connection_id":148614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcbf"} 
[2026-08-01 15:27:51] local.INFO: GPS Element Parsed {"raw_longitude":753782272,"raw_latitude":118744256,"longitude_deg":75.3782272,"latitude_deg":11.8744256,"altitude":38,"angle":267,"satellites":43,"speed":13,"hex_longitude":"2cedce00","hex_latitude":"0713e4c0","is_valid_coordinates":true} 
[2026-08-01 15:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107986944001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366593355842322432,"note":"Value kept but may cause issues"} 
[2026-08-01 15:27:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1300062518283786240,"note":"Value kept but may cause issues"} 
[2026-08-01 15:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785578105000,"timestamp_ms":1785578105000,"timestamp_seconds":1785578105,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcbfa8a8"} 
[2026-08-01 15:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 15:27:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:27:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":148614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":148614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":148614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:27:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107986944001,"66":27517,"206":206,"2":54272,"24":13,"16":366593355842322432,"44":-1300062518283786240},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-08-01 15:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107986944001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:27:51] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-01 15:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366593355842322432,"km_value":366593355842322.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:27:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1300062518283786240,"description":"Unknown IO ID 44"} 
[2026-08-01 15:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107986944001,"power":27517,"unknown_206":206,"power_alt":54272,"ignition":13,"odometer":null,"unknown_44":-1300062518283786240}} 
[2026-08-01 15:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":148614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:27:51] local.INFO: GPS data processed {"connection_id":148614,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:27:51] local.INFO: Acknowledgment sent {"connection_id":148614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:28:00] local.INFO: TCP Data received {"connection_id":146303,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146303,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:28:00] local.INFO: Processing buffer {"connection_id":146303,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:28:00] local.INFO: IMEI packet received {"connection_id":146303,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":146303,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:28:02] local.INFO: TCP Data received {"connection_id":146303,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146303,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:28:02] local.INFO: Processing buffer {"connection_id":146303,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:28:02] local.INFO: IMEI packet received {"connection_id":146303,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":146303,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:28:05] local.INFO: TCP Data received {"connection_id":146303,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146303,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:28:05] local.INFO: Processing buffer {"connection_id":146303,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:28:05] local.INFO: IMEI packet received {"connection_id":146303,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":146303,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:28:06] local.INFO: TCP Data received {"connection_id":146303,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcbe4148012d1968c0071fee10003d011427..."} 
[2026-08-01 15:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcbe4148012d1968c0071fee10003d011427..."} 
[2026-08-01 15:28:06] local.INFO: Processing buffer {"connection_id":146303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcbe4148012d1968c0071fee10003d011427..."} 
[2026-08-01 15:28:06] local.INFO: Packet analysis {"connection_id":146303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcbe"} 
[2026-08-01 15:28:06] local.INFO: Extracted packet for processing {"connection_id":146303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcbe"} 
[2026-08-01 15:28:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107965952001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785578013000,"timestamp_ms":1785578013000,"timestamp_seconds":1785578013,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcbe4148"} 
[2026-08-01 15:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-01 15:28:06] 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-08-01 15:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:28:06] 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-08-01 15:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107965952001,"66":12265,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107965952001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:28:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:28:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107965952001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":146303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:28:06] local.INFO: GPS data processed {"connection_id":146303,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:28:06] local.INFO: Acknowledgment sent {"connection_id":146303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:28:22] local.INFO: TCP Data received {"connection_id":148614,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcbfa8a8012cedce000713e4c00026010b2b..."} 
[2026-08-01 15:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcbfa8a8012cedce000713e4c00026010b2b..."} 
[2026-08-01 15:28:22] local.INFO: Processing buffer {"connection_id":148614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcbfa8a8012cedce000713e4c00026010b2b..."} 
[2026-08-01 15:28:22] local.INFO: Packet analysis {"connection_id":148614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcbf"} 
[2026-08-01 15:28:22] local.INFO: Extracted packet for processing {"connection_id":148614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcbf"} 
[2026-08-01 15:28:22] local.INFO: GPS Element Parsed {"raw_longitude":753782272,"raw_latitude":118744256,"longitude_deg":75.3782272,"latitude_deg":11.8744256,"altitude":38,"angle":267,"satellites":43,"speed":13,"hex_longitude":"2cedce00","hex_latitude":"0713e4c0","is_valid_coordinates":true} 
[2026-08-01 15:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107994880001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366593355842322432,"note":"Value kept but may cause issues"} 
[2026-08-01 15:28:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1311110411119706112,"note":"Value kept but may cause issues"} 
[2026-08-01 15:28:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785578105000,"timestamp_ms":1785578105000,"timestamp_seconds":1785578105,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcbfa8a8"} 
[2026-08-01 15:28:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:28:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-01 15:28:22] 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-08-01 15:28:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:28:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:28:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107994880001,"66":27517,"206":206,"2":54272,"24":13,"16":366593355842322432,"44":-1311110411119706112},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-08-01 15:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107994880001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:28:22] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-01 15:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366593355842322432,"km_value":366593355842322.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:28:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1311110411119706112,"description":"Unknown IO ID 44"} 
[2026-08-01 15:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107994880001,"power":27517,"unknown_206":206,"power_alt":54272,"ignition":13,"odometer":null,"unknown_44":-1311110411119706112}} 
[2026-08-01 15:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":148614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:28:22] local.INFO: GPS data processed {"connection_id":148614,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:28:22] local.INFO: Acknowledgment sent {"connection_id":148614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:28:37] local.INFO: TCP Data received {"connection_id":146303,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcbe9350012d1968c0071fee10003d011427..."} 
[2026-08-01 15:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcbe9350012d1968c0071fee10003d011427..."} 
[2026-08-01 15:28:37] local.INFO: Processing buffer {"connection_id":146303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcbe9350012d1968c0071fee10003d011427..."} 
[2026-08-01 15:28:37] local.INFO: Packet analysis {"connection_id":146303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcbe"} 
[2026-08-01 15:28:37] local.INFO: Extracted packet for processing {"connection_id":146303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcbe"} 
[2026-08-01 15:28:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107971328001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785578034000,"timestamp_ms":1785578034000,"timestamp_seconds":1785578034,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcbe9350"} 
[2026-08-01 15:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-01 15:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:28:37] 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-08-01 15:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107971328001,"66":12341,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107971328001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:28:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:28:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107971328001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":146303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:28:37] local.INFO: GPS data processed {"connection_id":146303,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:28:37] local.INFO: Acknowledgment sent {"connection_id":146303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:28:44] local.INFO: TCP Data received {"connection_id":147306,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:28:44] local.INFO: Processing buffer {"connection_id":147306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:28:44] local.INFO: IMEI packet received {"connection_id":147306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 15:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":147306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:28:49] local.INFO: TCP Data received {"connection_id":147306,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:28:49] local.INFO: Processing buffer {"connection_id":147306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:28:49] local.INFO: IMEI packet received {"connection_id":147306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":147306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:28:50] local.INFO: TCP Data received {"connection_id":147306,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcbfa8a8012cedce000713e4c00026010b2b..."} 
[2026-08-01 15:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcbfa8a8012cedce000713e4c00026010b2b..."} 
[2026-08-01 15:28:50] local.INFO: Processing buffer {"connection_id":147306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcbfa8a8012cedce000713e4c00026010b2b..."} 
[2026-08-01 15:28:50] local.INFO: Packet analysis {"connection_id":147306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcbf"} 
[2026-08-01 15:28:50] local.INFO: Extracted packet for processing {"connection_id":147306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcbf"} 
[2026-08-01 15:28:50] local.INFO: GPS Element Parsed {"raw_longitude":753782272,"raw_latitude":118744256,"longitude_deg":75.3782272,"latitude_deg":11.8744256,"altitude":38,"angle":267,"satellites":43,"speed":13,"hex_longitude":"2cedce00","hex_latitude":"0713e4c0","is_valid_coordinates":true} 
[2026-08-01 15:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107994880001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366593355842322432,"note":"Value kept but may cause issues"} 
[2026-08-01 15:28:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1311110411119706112,"note":"Value kept but may cause issues"} 
[2026-08-01 15:28:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785578105000,"timestamp_ms":1785578105000,"timestamp_seconds":1785578105,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcbfa8a8"} 
[2026-08-01 15:28:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:28:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-01 15:28:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:28:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:28:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:28:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107994880001,"66":27713,"206":206,"2":54272,"24":13,"16":366593355842322432,"44":-1311110411119706112},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-08-01 15:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107994880001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:28:50] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-01 15:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366593355842322432,"km_value":366593355842322.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:28:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1311110411119706112,"description":"Unknown IO ID 44"} 
[2026-08-01 15:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107994880001,"power":27713,"unknown_206":206,"power_alt":54272,"ignition":13,"odometer":null,"unknown_44":-1311110411119706112}} 
[2026-08-01 15:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":147306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:28:50] local.INFO: GPS data processed {"connection_id":147306,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:28:50] local.INFO: Acknowledgment sent {"connection_id":147306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:29:00] local.INFO: TCP Data received {"connection_id":147307,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147307,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:29:00] local.INFO: Processing buffer {"connection_id":147307,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:29:00] local.INFO: IMEI packet received {"connection_id":147307,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":147307,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:29:05] local.INFO: TCP Data received {"connection_id":147307,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147307,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:29:05] local.INFO: Processing buffer {"connection_id":147307,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:29:05] local.INFO: IMEI packet received {"connection_id":147307,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":147307,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:29:06] local.INFO: TCP Data received {"connection_id":147307,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcc219a8012d1968c0071fee10003d011426..."} 
[2026-08-01 15:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcc219a8012d1968c0071fee10003d011426..."} 
[2026-08-01 15:29:06] local.INFO: Processing buffer {"connection_id":147307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcc219a8012d1968c0071fee10003d011426..."} 
[2026-08-01 15:29:06] local.INFO: Packet analysis {"connection_id":147307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcc2"} 
[2026-08-01 15:29:06] local.INFO: Extracted packet for processing {"connection_id":147307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcc2"} 
[2026-08-01 15:29:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108030464001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785578265000,"timestamp_ms":1785578265000,"timestamp_seconds":1785578265,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcc219a8"} 
[2026-08-01 15:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 15:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15: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-08-01 15:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:29:06] 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-08-01 15:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108030464001,"66":12341,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108030464001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:29:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:29:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108030464001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":147307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577770,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:29:06] local.INFO: GPS data processed {"connection_id":147307,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:29:06] local.INFO: Acknowledgment sent {"connection_id":147307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:29:21] local.INFO: TCP Data received {"connection_id":147306,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcbffab0012cedaf000713e5980023011226..."} 
[2026-08-01 15:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcbffab0012cedaf000713e5980023011226..."} 
[2026-08-01 15:29:21] local.INFO: Processing buffer {"connection_id":147306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcbffab0012cedaf000713e5980023011226..."} 
[2026-08-01 15:29:21] local.INFO: Packet analysis {"connection_id":147306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcbf"} 
[2026-08-01 15:29:21] local.INFO: Extracted packet for processing {"connection_id":147306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcbf"} 
[2026-08-01 15:29:21] local.INFO: GPS Element Parsed {"raw_longitude":753774336,"raw_latitude":118744472,"longitude_deg":75.3774336,"latitude_deg":11.8744472,"altitude":35,"angle":274,"satellites":38,"speed":7,"hex_longitude":"2cedaf00","hex_latitude":"0713e598","is_valid_coordinates":true} 
[2026-08-01 15:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457107994880001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366593733799444480,"note":"Value kept but may cause issues"} 
[2026-08-01 15:29:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1311110411119706112,"note":"Value kept but may cause issues"} 
[2026-08-01 15:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785578126000,"timestamp_ms":1785578126000,"timestamp_seconds":1785578126,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcbffab0"} 
[2026-08-01 15:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:29:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 15:29:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:29:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:29:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457107994880001,"66":27908,"219":206,"2":54272,"24":7,"16":366593733799444480,"44":-1311110411119706112},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,2,24,16,44]} 
[2026-08-01 15:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457107994880001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:29:21] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 15:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366593733799444480,"km_value":366593733799444.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:29:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1311110411119706112,"description":"Unknown IO ID 44"} 
[2026-08-01 15:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457107994880001,"power":27908,"unknown_219":206,"power_alt":54272,"ignition":7,"odometer":null,"unknown_44":-1311110411119706112}} 
[2026-08-01 15:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":147306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:29:21] local.INFO: GPS data processed {"connection_id":147306,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:29:21] local.INFO: Acknowledgment sent {"connection_id":147306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:29:37] local.INFO: TCP Data received {"connection_id":147307,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcc26bb0012d1968c0071fee10003d011420..."} 
[2026-08-01 15:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcc26bb0012d1968c0071fee10003d011420..."} 
[2026-08-01 15:29:37] local.INFO: Processing buffer {"connection_id":147307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcc26bb0012d1968c0071fee10003d011420..."} 
[2026-08-01 15:29:37] local.INFO: Packet analysis {"connection_id":147307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcc2"} 
[2026-08-01 15:29:37] local.INFO: Extracted packet for processing {"connection_id":147307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcc2"} 
[2026-08-01 15:29:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":32,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108035840001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785578286000,"timestamp_ms":1785578286000,"timestamp_seconds":1785578286,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcc26bb0"} 
[2026-08-01 15:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-01 15:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:29:37] 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-08-01 15:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108035840001,"66":12341,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108035840001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:29:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:29:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108035840001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":147307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:29:37] local.INFO: GPS data processed {"connection_id":147307,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:29:37] local.INFO: Acknowledgment sent {"connection_id":147307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:29:49] local.INFO: TCP Data received {"connection_id":146073,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:29:49] local.INFO: Processing buffer {"connection_id":146073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:29:49] local.INFO: IMEI packet received {"connection_id":146073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 15:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":146073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:29:54] local.INFO: TCP Data received {"connection_id":146073,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:29:54] local.INFO: Processing buffer {"connection_id":146073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:29:54] local.INFO: IMEI packet received {"connection_id":146073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":146073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:29:55] local.INFO: TCP Data received {"connection_id":146073,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcc04cb8012ced96c00713e6d80021011329..."} 
[2026-08-01 15:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcc04cb8012ced96c00713e6d80021011329..."} 
[2026-08-01 15:29:55] local.INFO: Processing buffer {"connection_id":146073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcc04cb8012ced96c00713e6d80021011329..."} 
[2026-08-01 15:29:55] local.INFO: Packet analysis {"connection_id":146073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcc0"} 
[2026-08-01 15:29:55] local.INFO: Extracted packet for processing {"connection_id":146073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcc0"} 
[2026-08-01 15:29:55] local.INFO: GPS Element Parsed {"raw_longitude":753768128,"raw_latitude":118744792,"longitude_deg":75.3768128,"latitude_deg":11.8744792,"altitude":33,"angle":275,"satellites":41,"speed":9,"hex_longitude":"2ced96c0","hex_latitude":"0713e6d8","is_valid_coordinates":true} 
[2026-08-01 15:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108000256001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366594025857220608,"note":"Value kept but may cause issues"} 
[2026-08-01 15:29:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1319836135397681152,"note":"Value kept but may cause issues"} 
[2026-08-01 15:29:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785578147000,"timestamp_ms":1785578147000,"timestamp_seconds":1785578147,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcc04cb8"} 
[2026-08-01 15:29:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:29:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 15:29:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:29:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:29:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":146073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":146073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":146073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:29:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108000256001,"66":27919,"219":206,"2":54272,"24":9,"16":366594025857220608,"44":-1319836135397681152},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,2,24,16,44]} 
[2026-08-01 15:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108000256001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:29:55] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 15:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366594025857220608,"km_value":366594025857220.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:29:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1319836135397681152,"description":"Unknown IO ID 44"} 
[2026-08-01 15:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108000256001,"power":27919,"unknown_219":206,"power_alt":54272,"ignition":9,"odometer":null,"unknown_44":-1319836135397681152}} 
[2026-08-01 15:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":146073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:29:55] local.INFO: GPS data processed {"connection_id":146073,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:29:55] local.INFO: Acknowledgment sent {"connection_id":146073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:29:59] local.INFO: TCP Data received {"connection_id":146073,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcc09ec0012ced8f000713e6c8002001102b..."} 
[2026-08-01 15:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcc09ec0012ced8f000713e6c8002001102b..."} 
[2026-08-01 15:29:59] local.INFO: Processing buffer {"connection_id":146073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcc09ec0012ced8f000713e6c8002001102b..."} 
[2026-08-01 15:29:59] local.INFO: Packet analysis {"connection_id":146073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcc0"} 
[2026-08-01 15:29:59] local.INFO: Extracted packet for processing {"connection_id":146073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcc0"} 
[2026-08-01 15:29:59] local.INFO: GPS Element Parsed {"raw_longitude":753766144,"raw_latitude":118744776,"longitude_deg":75.3766144,"latitude_deg":11.8744776,"altitude":32,"angle":272,"satellites":43,"speed":0,"hex_longitude":"2ced8f00","hex_latitude":"0713e6c8","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108005632001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366594120346501120,"note":"Value kept but may cause issues"} 
[2026-08-01 15:29:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1326661903582832640,"note":"Value kept but may cause issues"} 
[2026-08-01 15:29:59] 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-08-01 15:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785578168000,"timestamp_ms":1785578168000,"timestamp_seconds":1785578168,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcc09ec0"} 
[2026-08-01 15:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:29: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-08-01 15: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 15:29:59] 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-08-01 15: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-08-01 15:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":146073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":146073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":146073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:29: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-08-01 15:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108005632001,"66":27767,"196":206,"83":41216,"24":0,"16":366594120346501120,"44":-1326661903582832640},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,83,24,16,44]} 
[2026-08-01 15:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108005632001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:29:59] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-01 15:29:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 15:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366594120346501120,"km_value":366594120346501.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:29:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1326661903582832640,"description":"Unknown IO ID 44"} 
[2026-08-01 15:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108005632001,"power":27767,"unknown_196":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1326661903582832640}} 
[2026-08-01 15:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":146073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:29:59] local.INFO: GPS data processed {"connection_id":146073,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:29:59] local.INFO: Acknowledgment sent {"connection_id":146073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:30:02] local.INFO: TCP Data received {"connection_id":146304,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146304,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:30:02] local.INFO: Processing buffer {"connection_id":146304,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:30:02] local.INFO: IMEI packet received {"connection_id":146304,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":146304,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:30:05] local.INFO: TCP Data received {"connection_id":146304,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146304,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:30:05] local.INFO: Processing buffer {"connection_id":146304,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:30:05] local.INFO: IMEI packet received {"connection_id":146304,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":146304,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:30:09] local.INFO: TCP Data received {"connection_id":146304,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcc2bdb8012d1968c0071fee10003d011427..."} 
[2026-08-01 15:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcc2bdb8012d1968c0071fee10003d011427..."} 
[2026-08-01 15:30:09] local.INFO: Processing buffer {"connection_id":146304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcc2bdb8012d1968c0071fee10003d011427..."} 
[2026-08-01 15:30:09] local.INFO: Packet analysis {"connection_id":146304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcc2"} 
[2026-08-01 15:30:09] local.INFO: Extracted packet for processing {"connection_id":146304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcc2"} 
[2026-08-01 15:30:09] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108041216001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:30: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-08-01 15:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785578307000,"timestamp_ms":1785578307000,"timestamp_seconds":1785578307,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcc2bdb8"} 
[2026-08-01 15:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:30: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-08-01 15:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-01 15:30:09] 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-08-01 15:30:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":146304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":146304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":146304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:30:09] 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-08-01 15:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108041216001,"66":12341,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108041216001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:30:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:30:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108041216001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":146304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577775,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:30:09] local.INFO: GPS data processed {"connection_id":146304,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:30:09] local.INFO: Acknowledgment sent {"connection_id":146304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:30:40] local.INFO: TCP Data received {"connection_id":146304,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcc30fc0012d1968c0071fee10003d011423..."} 
[2026-08-01 15:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcc30fc0012d1968c0071fee10003d011423..."} 
[2026-08-01 15:30:40] local.INFO: Processing buffer {"connection_id":146304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcc30fc0012d1968c0071fee10003d011423..."} 
[2026-08-01 15:30:40] local.INFO: Packet analysis {"connection_id":146304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcc3"} 
[2026-08-01 15:30:40] local.INFO: Extracted packet for processing {"connection_id":146304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcc3"} 
[2026-08-01 15:30:40] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108046592001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:30: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-08-01 15:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785578328000,"timestamp_ms":1785578328000,"timestamp_seconds":1785578328,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcc30fc0"} 
[2026-08-01 15:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:30: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-08-01 15: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-01 15:30:40] 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-08-01 15: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-08-01 15:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:30:40] 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-08-01 15:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108046592001,"66":12341,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108046592001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:30:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:30:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108046592001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":146304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577776,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:30:40] local.INFO: GPS data processed {"connection_id":146304,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:30:40] local.INFO: Acknowledgment sent {"connection_id":146304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:30:40] local.INFO: TCP Data received {"connection_id":148615,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:30:40] local.INFO: Processing buffer {"connection_id":148615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:30:40] local.INFO: IMEI packet received {"connection_id":148615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 15:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":148615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:30:44] local.INFO: TCP Data received {"connection_id":148615,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:30:44] local.INFO: Processing buffer {"connection_id":148615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:30:44] local.INFO: IMEI packet received {"connection_id":148615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":148615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:30:49] local.INFO: TCP Data received {"connection_id":148615,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:30:49] local.INFO: Processing buffer {"connection_id":148615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:30:49] local.INFO: IMEI packet received {"connection_id":148615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":148615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:30:50] local.INFO: TCP Data received {"connection_id":148615,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcc0fc80012ced88400713e6c0002301082b..."} 
[2026-08-01 15:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcc0fc80012ced88400713e6c0002301082b..."} 
[2026-08-01 15:30:50] local.INFO: Processing buffer {"connection_id":148615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcc0fc80012ced88400713e6c0002301082b..."} 
[2026-08-01 15:30:50] local.INFO: Packet analysis {"connection_id":148615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcc0"} 
[2026-08-01 15:30:50] local.INFO: Extracted packet for processing {"connection_id":148615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcc0"} 
[2026-08-01 15:30:50] local.INFO: GPS Element Parsed {"raw_longitude":753764416,"raw_latitude":118744768,"longitude_deg":75.3764416,"latitude_deg":11.8744768,"altitude":35,"angle":264,"satellites":43,"speed":0,"hex_longitude":"2ced8840","hex_latitude":"0713e6c0","is_valid_coordinates":true} 
[2026-08-01 15:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108011008001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:30:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366594206245847040,"note":"Value kept but may cause issues"} 
[2026-08-01 15:30:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1328843334652344320,"note":"Value kept but may cause issues"} 
[2026-08-01 15:30:50] 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-08-01 15:30:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785578192000,"timestamp_ms":1785578192000,"timestamp_seconds":1785578192,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcc0fc80"} 
[2026-08-01 15:30:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:30:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 15:30:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:30:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:30:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:30:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:30:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:30:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:30:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:30:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:30:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:30:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:30:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108011008001,"66":27876,"196":206,"83":41216,"24":0,"16":366594206245847040,"44":-1328843334652344320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,83,24,16,44]} 
[2026-08-01 15:30:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:30:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:30:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108011008001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:30:50] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-01 15:30:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 15:30:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366594206245847040,"km_value":366594206245847.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:30:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1328843334652344320,"description":"Unknown IO ID 44"} 
[2026-08-01 15:30:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108011008001,"power":27876,"unknown_196":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1328843334652344320}} 
[2026-08-01 15:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":148615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:30:50] local.INFO: GPS data processed {"connection_id":148615,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:30:50] local.INFO: Acknowledgment sent {"connection_id":148615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:31:05] local.INFO: TCP Data received {"connection_id":147308,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:31:05] local.INFO: Processing buffer {"connection_id":147308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:31:05] local.INFO: IMEI packet received {"connection_id":147308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":147308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:31:10] local.INFO: TCP Data received {"connection_id":147308,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:31:10] local.INFO: Processing buffer {"connection_id":147308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:31:10] local.INFO: IMEI packet received {"connection_id":147308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":147308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:31:11] local.INFO: TCP Data received {"connection_id":147308,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcc361c8012d1968c0071fee10003d011423..."} 
[2026-08-01 15:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcc361c8012d1968c0071fee10003d011423..."} 
[2026-08-01 15:31:11] local.INFO: Processing buffer {"connection_id":147308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcc361c8012d1968c0071fee10003d011423..."} 
[2026-08-01 15:31:11] local.INFO: Packet analysis {"connection_id":147308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcc3"} 
[2026-08-01 15:31:11] local.INFO: Extracted packet for processing {"connection_id":147308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcc3"} 
[2026-08-01 15:31:11] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 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-08-01 15:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108051968001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15: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-08-01 15:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785578349000,"timestamp_ms":1785578349000,"timestamp_seconds":1785578349,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcc361c8"} 
[2026-08-01 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-08-01 15:31: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-08-01 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":53,"data_length":795,"current_offset":136} 
[2026-08-01 15:31: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-08-01 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-08-01 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-08-01 15:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":147308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":147308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":147308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:31:11] 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-08-01 15:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108051968001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108051968001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:31:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:31:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108051968001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":147308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577778,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:31:11] local.INFO: GPS data processed {"connection_id":147308,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:31:11] local.INFO: Acknowledgment sent {"connection_id":147308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:31:12] local.INFO: TCP Data received {"connection_id":147308,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcc3b3d0012d1968c0071fee10003d011422..."} 
[2026-08-01 15:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcc3b3d0012d1968c0071fee10003d011422..."} 
[2026-08-01 15:31:12] local.INFO: Processing buffer {"connection_id":147308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcc3b3d0012d1968c0071fee10003d011422..."} 
[2026-08-01 15:31:12] local.INFO: Packet analysis {"connection_id":147308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcc3"} 
[2026-08-01 15:31:12] local.INFO: Extracted packet for processing {"connection_id":147308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcc3"} 
[2026-08-01 15:31:12] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108057344001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785578370000,"timestamp_ms":1785578370000,"timestamp_seconds":1785578370,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcc3b3d0"} 
[2026-08-01 15:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:31: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-08-01 15: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 15:31:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15: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-08-01 15:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":147308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":147308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":147308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:31:12] 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-08-01 15:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108057344001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108057344001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:31:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:31:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108057344001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":147308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577779,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:31:12] local.INFO: GPS data processed {"connection_id":147308,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:31:12] local.INFO: Acknowledgment sent {"connection_id":147308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:31:22] local.INFO: TCP Data received {"connection_id":148615,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcc14e88012ced88400713e6c00023010829..."} 
[2026-08-01 15:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcc14e88012ced88400713e6c00023010829..."} 
[2026-08-01 15:31:22] local.INFO: Processing buffer {"connection_id":148615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcc14e88012ced88400713e6c00023010829..."} 
[2026-08-01 15:31:22] local.INFO: Packet analysis {"connection_id":148615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcc1"} 
[2026-08-01 15:31:22] local.INFO: Extracted packet for processing {"connection_id":148615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcc1"} 
[2026-08-01 15:31:22] local.INFO: GPS Element Parsed {"raw_longitude":753764416,"raw_latitude":118744768,"longitude_deg":75.3764416,"latitude_deg":11.8744768,"altitude":35,"angle":264,"satellites":41,"speed":0,"hex_longitude":"2ced8840","hex_latitude":"0713e6c0","is_valid_coordinates":true} 
[2026-08-01 15:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108017152001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366594206245847040,"note":"Value kept but may cause issues"} 
[2026-08-01 15:31:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1330743290745143296,"note":"Value kept but may cause issues"} 
[2026-08-01 15:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785578213000,"timestamp_ms":1785578213000,"timestamp_seconds":1785578213,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcc14e88"} 
[2026-08-01 15:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:31:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 15:31:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:31:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108017152001,"66":27919,"26":206,"83":41216,"24":0,"16":366594206245847040,"44":-1330743290745143296},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,83,24,16,44]} 
[2026-08-01 15:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108017152001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:31:22] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-08-01 15:31:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 15:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366594206245847040,"km_value":366594206245847.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:31:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1330743290745143296,"description":"Unknown IO ID 44"} 
[2026-08-01 15:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108017152001,"power":27919,"unknown_26":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1330743290745143296}} 
[2026-08-01 15:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":148615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:31:22] local.INFO: GPS data processed {"connection_id":148615,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:31:22] local.INFO: Acknowledgment sent {"connection_id":148615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:31:43] local.INFO: TCP Data received {"connection_id":147308,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcc405d8012d1968c0071fee10003d011423..."} 
[2026-08-01 15:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcc405d8012d1968c0071fee10003d011423..."} 
[2026-08-01 15:31:43] local.INFO: Processing buffer {"connection_id":147308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcc405d8012d1968c0071fee10003d011423..."} 
[2026-08-01 15:31:43] local.INFO: Packet analysis {"connection_id":147308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcc4"} 
[2026-08-01 15:31:43] local.INFO: Extracted packet for processing {"connection_id":147308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcc4"} 
[2026-08-01 15:31:43] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108062720001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:31: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-08-01 15:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785578391000,"timestamp_ms":1785578391000,"timestamp_seconds":1785578391,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcc405d8"} 
[2026-08-01 15:31:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:31:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 15:31: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-08-01 15: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-08-01 15:31:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":147308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":147308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":147308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:31:43] 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-08-01 15:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108062720001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108062720001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:31:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:31:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108062720001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":147308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:31:43] local.INFO: GPS data processed {"connection_id":147308,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:31:43] local.INFO: Acknowledgment sent {"connection_id":147308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:31:43] local.INFO: TCP Data received {"connection_id":147309,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:31:43] local.INFO: Processing buffer {"connection_id":147309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:31:43] local.INFO: IMEI packet received {"connection_id":147309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 15:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":147309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:31:43] local.INFO: TCP Data received {"connection_id":147309,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:31:44] local.INFO: Processing buffer {"connection_id":147309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:31:44] local.INFO: IMEI packet received {"connection_id":147309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":147309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:31:49] local.INFO: TCP Data received {"connection_id":147309,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:31:49] local.INFO: Processing buffer {"connection_id":147309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:31:49] local.INFO: IMEI packet received {"connection_id":147309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":147309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:31:50] local.INFO: TCP Data received {"connection_id":147309,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcc1a090012ced88400713e6c00023010828..."} 
[2026-08-01 15:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcc1a090012ced88400713e6c00023010828..."} 
[2026-08-01 15:31:50] local.INFO: Processing buffer {"connection_id":147309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcc1a090012ced88400713e6c00023010828..."} 
[2026-08-01 15:31:50] local.INFO: Packet analysis {"connection_id":147309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcc1"} 
[2026-08-01 15:31:50] local.INFO: Extracted packet for processing {"connection_id":147309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcc1"} 
[2026-08-01 15:31:50] local.INFO: GPS Element Parsed {"raw_longitude":753764416,"raw_latitude":118744768,"longitude_deg":75.3764416,"latitude_deg":11.8744768,"altitude":35,"angle":264,"satellites":40,"speed":0,"hex_longitude":"2ced8840","hex_latitude":"0713e6c0","is_valid_coordinates":true} 
[2026-08-01 15:31:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:31:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108022528001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:31:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366594206245847040,"note":"Value kept but may cause issues"} 
[2026-08-01 15:31:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1330743290745143296,"note":"Value kept but may cause issues"} 
[2026-08-01 15:31:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:31:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785578234000,"timestamp_ms":1785578234000,"timestamp_seconds":1785578234,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcc1a090"} 
[2026-08-01 15:31:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15: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-08-01 15:31:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 15:31:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:31:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:31:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:31:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:31:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:31:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:31:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:31:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:31:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:31:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:31:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108022528001,"66":27767,"26":206,"83":41216,"24":0,"16":366594206245847040,"44":-1330743290745143296},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,83,24,16,44]} 
[2026-08-01 15:31:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:31:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:31:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108022528001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:31:50] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-08-01 15:31:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 15:31:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366594206245847040,"km_value":366594206245847.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:31:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1330743290745143296,"description":"Unknown IO ID 44"} 
[2026-08-01 15:31:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108022528001,"power":27767,"unknown_26":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1330743290745143296}} 
[2026-08-01 15:31:50] local.INFO: DEBUG: GPS processor result {"connection_id":147309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:31:50] local.INFO: GPS data processed {"connection_id":147309,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:31:50] local.INFO: Acknowledgment sent {"connection_id":147309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:32:00] local.INFO: TCP Data received {"connection_id":148616,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:32:00] local.INFO: Processing buffer {"connection_id":148616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:32:00] local.INFO: IMEI packet received {"connection_id":148616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":148616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:32:05] local.INFO: TCP Data received {"connection_id":148616,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:32:05] local.INFO: Processing buffer {"connection_id":148616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:32:05] local.INFO: IMEI packet received {"connection_id":148616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":148616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:32:06] local.INFO: TCP Data received {"connection_id":148616,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcc457e0012d1968c0071fee10003d011425..."} 
[2026-08-01 15:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcc457e0012d1968c0071fee10003d011425..."} 
[2026-08-01 15:32:06] local.INFO: Processing buffer {"connection_id":148616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcc457e0012d1968c0071fee10003d011425..."} 
[2026-08-01 15:32:06] local.INFO: Packet analysis {"connection_id":148616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcc4"} 
[2026-08-01 15:32:06] local.INFO: Extracted packet for processing {"connection_id":148616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcc4"} 
[2026-08-01 15:32:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108068096001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785578412000,"timestamp_ms":1785578412000,"timestamp_seconds":1785578412,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcc457e0"} 
[2026-08-01 15:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 15:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15: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-08-01 15:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:32:06] 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-08-01 15:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108068096001,"66":12298,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108068096001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:32:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:32:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108068096001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":148616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577783,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:32:06] local.INFO: GPS data processed {"connection_id":148616,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:32:06] local.INFO: Acknowledgment sent {"connection_id":148616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:32:22] local.INFO: TCP Data received {"connection_id":147309,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcc526e8012ced2d400713fbf0001801292d..."} 
[2026-08-01 15:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcc526e8012ced2d400713fbf0001801292d..."} 
[2026-08-01 15:32:22] local.INFO: Processing buffer {"connection_id":147309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcc526e8012ced2d400713fbf0001801292d..."} 
[2026-08-01 15:32:22] local.INFO: Packet analysis {"connection_id":147309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcc5"} 
[2026-08-01 15:32:22] local.INFO: Extracted packet for processing {"connection_id":147309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcc5"} 
[2026-08-01 15:32:22] local.INFO: GPS Element Parsed {"raw_longitude":753741120,"raw_latitude":118750192,"longitude_deg":75.374112,"latitude_deg":11.8750192,"altitude":24,"angle":297,"satellites":45,"speed":0,"hex_longitude":"2ced2d40","hex_latitude":"0713fbf0","is_valid_coordinates":true} 
[2026-08-01 15:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:32:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108081664001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:32:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366595370181984256,"note":"Value kept but may cause issues"} 
[2026-08-01 15:32:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1356357513624424448,"note":"Value kept but may cause issues"} 
[2026-08-01 15:32:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:32:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785578465000,"timestamp_ms":1785578465000,"timestamp_seconds":1785578465,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcc526e8"} 
[2026-08-01 15:32:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:32:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-01 15:32:22] 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-08-01 15:32:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:32:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:32:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:32:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:32:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:32:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:32:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:32:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:32:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:32:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108081664001,"66":27908,"26":206,"83":41216,"24":0,"16":366595370181984256,"44":-1356357513624424448},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,83,24,16,44]} 
[2026-08-01 15:32:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:32:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:32:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108081664001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:32:22] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-08-01 15:32:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 15:32:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366595370181984256,"km_value":366595370181984.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:32:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1356357513624424448,"description":"Unknown IO ID 44"} 
[2026-08-01 15:32:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108081664001,"power":27908,"unknown_26":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1356357513624424448}} 
[2026-08-01 15:32:22] local.INFO: DEBUG: GPS processor result {"connection_id":147309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:32:22] local.INFO: GPS data processed {"connection_id":147309,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:32:22] local.INFO: Acknowledgment sent {"connection_id":147309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:32:37] local.INFO: TCP Data received {"connection_id":148616,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcc4a9e8012d1968c0071fee10003d011423..."} 
[2026-08-01 15:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcc4a9e8012d1968c0071fee10003d011423..."} 
[2026-08-01 15:32:37] local.INFO: Processing buffer {"connection_id":148616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcc4a9e8012d1968c0071fee10003d011423..."} 
[2026-08-01 15:32:37] local.INFO: Packet analysis {"connection_id":148616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcc4"} 
[2026-08-01 15:32:37] local.INFO: Extracted packet for processing {"connection_id":148616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcc4"} 
[2026-08-01 15:32:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108073472001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785578433000,"timestamp_ms":1785578433000,"timestamp_seconds":1785578433,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcc4a9e8"} 
[2026-08-01 15:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 15:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-01 15:32:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-01 15:32:37] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-01 15:32:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 15:32:37] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-7854277750134145023,"note":"Value kept but may cause issues"} 
[2026-08-01 15:32:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4845282039732299416,"note":"Value kept but may cause issues"} 
[2026-08-01 15:32:37] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390635034411284,"note":"Value kept but may cause issues"} 
[2026-08-01 15:32:37] local.WARNING: Large IO value detected {"io_id":61,"raw_value":77722277944229888,"note":"Value kept but may cause issues"} 
[2026-08-01 15:32:37] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832594,"note":"Value kept but may cause issues"} 
[2026-08-01 15:32:37] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-08-01 15:32:37] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3272589313,"note":"Value kept but may cause issues"} 
[2026-08-01 15:32:37] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026045,"note":"Value kept but may cause issues"} 
[2026-08-01 15:32:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-01 15:32:37] local.WARNING: Large IO value detected {"io_id":189,"raw_value":3087084825,"note":"Value kept but may cause issues"} 
[2026-08-01 15:32:37] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-01 15:32:37] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,120,159,5,45,192,238,61,35,10,66,179,34,97,1,240,255,227,188,31,4,113,205,189,104,39,239,48,2,36,7,38],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-01 15:32:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395816860436660224,"timestamp_seconds":4395816860436660.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 15:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:32:37] 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-08-01 15:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108073472001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108073472001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:32:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:32:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108073472001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":148616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577785,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:32:37] local.INFO: GPS data processed {"connection_id":148616,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:32:37] local.INFO: Acknowledgment sent {"connection_id":148616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:32:44] local.INFO: TCP Data received {"connection_id":147310,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:32:44] local.INFO: Processing buffer {"connection_id":147310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:32:44] local.INFO: IMEI packet received {"connection_id":147310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 15:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":147310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:32:49] local.INFO: TCP Data received {"connection_id":147310,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:32:49] local.INFO: Processing buffer {"connection_id":147310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:32:49] local.INFO: IMEI packet received {"connection_id":147310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":147310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:32:50] local.INFO: TCP Data received {"connection_id":147310,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcc56950012ced2c400713fd30001801382e..."} 
[2026-08-01 15:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcc56950012ced2c400713fd30001801382e..."} 
[2026-08-01 15:32:50] local.INFO: Processing buffer {"connection_id":147310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcc56950012ced2c400713fd30001801382e..."} 
[2026-08-01 15:32:50] local.INFO: Packet analysis {"connection_id":147310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcc5"} 
[2026-08-01 15:32:50] local.INFO: Extracted packet for processing {"connection_id":147310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcc5"} 
[2026-08-01 15:32:50] local.INFO: GPS Element Parsed {"raw_longitude":753740864,"raw_latitude":118750512,"longitude_deg":75.3740864,"latitude_deg":11.8750512,"altitude":24,"angle":312,"satellites":46,"speed":6,"hex_longitude":"2ced2c40","hex_latitude":"0713fd30","is_valid_coordinates":true} 
[2026-08-01 15:32:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:32:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108087040001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:32:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366595391656820736,"note":"Value kept but may cause issues"} 
[2026-08-01 15:32:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1356357513624424448,"note":"Value kept but may cause issues"} 
[2026-08-01 15:32:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:32:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785578482000,"timestamp_ms":1785578482000,"timestamp_seconds":1785578482,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcc56950"} 
[2026-08-01 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-08-01 15:32:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 15:32:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:32:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 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-08-01 15:32:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:32:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:32:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:32:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:32:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:32:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:32:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:32:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108087040001,"66":28017,"26":206,"83":41216,"24":6,"16":366595391656820736,"44":-1356357513624424448},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,83,24,16,44]} 
[2026-08-01 15:32:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:32:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:32:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108087040001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:32:50] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-08-01 15:32:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 15:32:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366595391656820736,"km_value":366595391656820.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:32:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1356357513624424448,"description":"Unknown IO ID 44"} 
[2026-08-01 15:32:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108087040001,"power":28017,"unknown_26":206,"unknown_83":41216,"ignition":6,"odometer":null,"unknown_44":-1356357513624424448}} 
[2026-08-01 15:32:50] local.INFO: DEBUG: GPS processor result {"connection_id":147310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:32:50] local.INFO: GPS data processed {"connection_id":147310,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:32:50] local.INFO: Acknowledgment sent {"connection_id":147310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:33:00] local.INFO: TCP Data received {"connection_id":148617,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:33:00] local.INFO: Processing buffer {"connection_id":148617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:33:00] local.INFO: IMEI packet received {"connection_id":148617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":148617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:33:05] local.INFO: TCP Data received {"connection_id":148617,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:33:05] local.INFO: Processing buffer {"connection_id":148617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:33:05] local.INFO: IMEI packet received {"connection_id":148617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":148617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:33:06] local.INFO: TCP Data received {"connection_id":148617,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcc4fbf0012d1968c0071fee10003d011424..."} 
[2026-08-01 15:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcc4fbf0012d1968c0071fee10003d011424..."} 
[2026-08-01 15:33:06] local.INFO: Processing buffer {"connection_id":148617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcc4fbf0012d1968c0071fee10003d011424..."} 
[2026-08-01 15:33:06] local.INFO: Packet analysis {"connection_id":148617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcc4"} 
[2026-08-01 15:33:06] local.INFO: Extracted packet for processing {"connection_id":148617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcc4"} 
[2026-08-01 15:33:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 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-08-01 15:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108078848001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785578454000,"timestamp_ms":1785578454000,"timestamp_seconds":1785578454,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcc4fbf0"} 
[2026-08-01 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-08-01 15:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 15:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 15:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:33:06] 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-08-01 15:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108078848001,"66":12319,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108078848001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:33:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:33:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108078848001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":148617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:33:06] local.INFO: GPS data processed {"connection_id":148617,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:33:06] local.INFO: Acknowledgment sent {"connection_id":148617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:33:22] local.INFO: TCP Data received {"connection_id":147310,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcc57508012ced2b400713fe78001801442d..."} 
[2026-08-01 15:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcc57508012ced2b400713fe78001801442d..."} 
[2026-08-01 15:33:22] local.INFO: Processing buffer {"connection_id":147310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcc57508012ced2b400713fe78001801442d..."} 
[2026-08-01 15:33:22] local.INFO: Packet analysis {"connection_id":147310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcc5"} 
[2026-08-01 15:33:22] local.INFO: Extracted packet for processing {"connection_id":147310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcc5"} 
[2026-08-01 15:33:22] local.INFO: GPS Element Parsed {"raw_longitude":753740608,"raw_latitude":118750840,"longitude_deg":75.3740608,"latitude_deg":11.875084,"altitude":24,"angle":324,"satellites":45,"speed":5,"hex_longitude":"2ced2b40","hex_latitude":"0713fe78","is_valid_coordinates":true} 
[2026-08-01 15:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:33:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108091392001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:33:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366595408836689920,"note":"Value kept but may cause issues"} 
[2026-08-01 15:33:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1356638988601053184,"note":"Value kept but may cause issues"} 
[2026-08-01 15:33:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:33:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785578485000,"timestamp_ms":1785578485000,"timestamp_seconds":1785578485,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcc57508"} 
[2026-08-01 15:33:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:33:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-01 15:33:22] 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-08-01 15:33:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:33:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:33:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:33:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:33:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:33:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:33:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:33:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:33:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:33:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108091392001,"66":27821,"26":206,"83":41216,"24":5,"16":366595408836689920,"44":-1356638988601053184},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,83,24,16,44]} 
[2026-08-01 15:33:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:33:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:33:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108091392001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:33:22] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-08-01 15:33:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 15:33:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366595408836689920,"km_value":366595408836689.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:33:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1356638988601053184,"description":"Unknown IO ID 44"} 
[2026-08-01 15:33:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108091392001,"power":27821,"unknown_26":206,"unknown_83":41216,"ignition":5,"odometer":null,"unknown_44":-1356638988601053184}} 
[2026-08-01 15:33:22] local.INFO: DEBUG: GPS processor result {"connection_id":147310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:33:22] local.INFO: GPS data processed {"connection_id":147310,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:33:22] local.INFO: Acknowledgment sent {"connection_id":147310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:33:37] local.INFO: TCP Data received {"connection_id":148617,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcc54df8012d1968c0071fee10003d011424..."} 
[2026-08-01 15:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcc54df8012d1968c0071fee10003d011424..."} 
[2026-08-01 15:33:37] local.INFO: Processing buffer {"connection_id":148617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcc54df8012d1968c0071fee10003d011424..."} 
[2026-08-01 15:33:37] local.INFO: Packet analysis {"connection_id":148617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcc5"} 
[2026-08-01 15:33:37] local.INFO: Extracted packet for processing {"connection_id":148617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcc5"} 
[2026-08-01 15:33:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108084224001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785578475000,"timestamp_ms":1785578475000,"timestamp_seconds":1785578475,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcc54df8"} 
[2026-08-01 15:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:33: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-08-01 15:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-01 15:33:37] 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-08-01 15:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:33:37] 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-08-01 15:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108084224001,"66":12341,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108084224001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:33:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:33:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108084224001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":148617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:33:37] local.INFO: GPS data processed {"connection_id":148617,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:33:37] local.INFO: Acknowledgment sent {"connection_id":148617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:33:44] local.INFO: TCP Data received {"connection_id":146074,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:33:44] local.INFO: Processing buffer {"connection_id":146074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:33:44] local.INFO: IMEI packet received {"connection_id":146074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 15:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":146074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:33:49] local.INFO: TCP Data received {"connection_id":146074,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:33:49] local.INFO: Processing buffer {"connection_id":146074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:33:49] local.INFO: IMEI packet received {"connection_id":146074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":146074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:33:50] local.INFO: TCP Data received {"connection_id":146074,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcc5c710012ced254007140768001701482b..."} 
[2026-08-01 15:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcc5c710012ced254007140768001701482b..."} 
[2026-08-01 15:33:50] local.INFO: Processing buffer {"connection_id":146074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcc5c710012ced254007140768001701482b..."} 
[2026-08-01 15:33:50] local.INFO: Packet analysis {"connection_id":146074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcc5"} 
[2026-08-01 15:33:50] local.INFO: Extracted packet for processing {"connection_id":146074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcc5"} 
[2026-08-01 15:33:50] local.INFO: GPS Element Parsed {"raw_longitude":753739072,"raw_latitude":118753128,"longitude_deg":75.3739072,"latitude_deg":11.8753128,"altitude":23,"angle":328,"satellites":43,"speed":5,"hex_longitude":"2ced2540","hex_latitude":"07140768","is_valid_coordinates":true} 
[2026-08-01 15:33:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:33:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108092160001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:33:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366595546275643392,"note":"Value kept but may cause issues"} 
[2026-08-01 15:33:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1356920463577679872,"note":"Value kept but may cause issues"} 
[2026-08-01 15:33:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:33:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785578506000,"timestamp_ms":1785578506000,"timestamp_seconds":1785578506,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcc5c710"} 
[2026-08-01 15:33:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:33:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:33:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 15:33:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:33:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:33:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:33:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:33:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:33:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:33:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:33:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:33:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:33:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:33:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108092160001,"66":28050,"26":206,"83":41216,"24":5,"16":366595546275643392,"44":-1356920463577679872},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,83,24,16,44]} 
[2026-08-01 15:33:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:33:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:33:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108092160001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:33:50] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-08-01 15:33:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 15:33:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366595546275643392,"km_value":366595546275643.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:33:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1356920463577679872,"description":"Unknown IO ID 44"} 
[2026-08-01 15:33:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108092160001,"power":28050,"unknown_26":206,"unknown_83":41216,"ignition":5,"odometer":null,"unknown_44":-1356920463577679872}} 
[2026-08-01 15:33:50] local.INFO: DEBUG: GPS processor result {"connection_id":146074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:33:50] local.INFO: GPS data processed {"connection_id":146074,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:33:50] local.INFO: Acknowledgment sent {"connection_id":146074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:33:59] local.INFO: TCP Data received {"connection_id":146075,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:33:59] local.INFO: Processing buffer {"connection_id":146075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:33:59] local.INFO: IMEI packet received {"connection_id":146075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":146075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:34:01] local.INFO: TCP Data received {"connection_id":146075,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:34:01] local.INFO: Processing buffer {"connection_id":146075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:34:01] local.INFO: IMEI packet received {"connection_id":146075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":146075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:34:05] local.INFO: TCP Data received {"connection_id":146075,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:34:05] local.INFO: Processing buffer {"connection_id":146075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:34:05] local.INFO: IMEI packet received {"connection_id":146075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":146075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:34:06] local.INFO: TCP Data received {"connection_id":146075,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcc5a000012d1968c0071fee10003d011425..."} 
[2026-08-01 15:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcc5a000012d1968c0071fee10003d011425..."} 
[2026-08-01 15:34:06] local.INFO: Processing buffer {"connection_id":146075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcc5a000012d1968c0071fee10003d011425..."} 
[2026-08-01 15:34:06] local.INFO: Packet analysis {"connection_id":146075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcc5"} 
[2026-08-01 15:34:06] local.INFO: Extracted packet for processing {"connection_id":146075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcc5"} 
[2026-08-01 15:34:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108089600001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785578496000,"timestamp_ms":1785578496000,"timestamp_seconds":1785578496,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcc5a000"} 
[2026-08-01 15:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-01 15:34:06] 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-08-01 15: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-08-01 15:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:34:06] 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-08-01 15:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108089600001,"66":12319,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108089600001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:34:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:34:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108089600001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":146075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:34:06] local.INFO: GPS data processed {"connection_id":146075,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:34:06] local.INFO: Acknowledgment sent {"connection_id":146075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:34:22] local.INFO: TCP Data received {"connection_id":146074,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcc5fdc0012ced21c007140ea8001701532b..."} 
[2026-08-01 15:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcc5fdc0012ced21c007140ea8001701532b..."} 
[2026-08-01 15:34:22] local.INFO: Processing buffer {"connection_id":146074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcc5fdc0012ced21c007140ea8001701532b..."} 
[2026-08-01 15:34:22] local.INFO: Packet analysis {"connection_id":146074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcc5"} 
[2026-08-01 15:34:22] local.INFO: Extracted packet for processing {"connection_id":146074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcc5"} 
[2026-08-01 15:34:22] local.INFO: GPS Element Parsed {"raw_longitude":753738176,"raw_latitude":118754984,"longitude_deg":75.3738176,"latitude_deg":11.8754984,"altitude":23,"angle":339,"satellites":43,"speed":6,"hex_longitude":"2ced21c0","hex_latitude":"07140ea8","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108097536001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366595645059891200,"note":"Value kept but may cause issues"} 
[2026-08-01 15:34:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1358609313437358080,"note":"Value kept but may cause issues"} 
[2026-08-01 15:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785578520000,"timestamp_ms":1785578520000,"timestamp_seconds":1785578520,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcc5fdc0"} 
[2026-08-01 15:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:34:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-01 15:34:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15: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-08-01 15:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:34:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108097536001,"66":27843,"193":206,"83":41216,"24":6,"16":366595645059891200,"44":-1358609313437358080},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,83,24,16,44]} 
[2026-08-01 15:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108097536001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:34:22] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-01 15:34:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 15:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366595645059891200,"km_value":366595645059891.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:34:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1358609313437358080,"description":"Unknown IO ID 44"} 
[2026-08-01 15:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108097536001,"power":27843,"unknown_193":206,"unknown_83":41216,"ignition":6,"odometer":null,"unknown_44":-1358609313437358080}} 
[2026-08-01 15:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":146074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:34:22] local.INFO: GPS data processed {"connection_id":146074,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:34:22] local.INFO: Acknowledgment sent {"connection_id":146074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:34:37] local.INFO: TCP Data received {"connection_id":146075,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcc5f208012d1968c0071fee10003d011427..."} 
[2026-08-01 15:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcc5f208012d1968c0071fee10003d011427..."} 
[2026-08-01 15:34:37] local.INFO: Processing buffer {"connection_id":146075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcc5f208012d1968c0071fee10003d011427..."} 
[2026-08-01 15:34:37] local.INFO: Packet analysis {"connection_id":146075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcc5"} 
[2026-08-01 15:34:37] local.INFO: Extracted packet for processing {"connection_id":146075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcc5"} 
[2026-08-01 15:34:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108094976001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785578517000,"timestamp_ms":1785578517000,"timestamp_seconds":1785578517,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcc5f208"} 
[2026-08-01 15:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:34: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-08-01 15:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-01 15:34:37] 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-08-01 15:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:34:37] 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-08-01 15:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108094976001,"66":12341,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108094976001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:34:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:34:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108094976001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":146075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577793,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:34:37] local.INFO: GPS data processed {"connection_id":146075,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:34:37] local.INFO: Acknowledgment sent {"connection_id":146075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:34:44] local.INFO: TCP Data received {"connection_id":146076,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:34:44] local.INFO: Processing buffer {"connection_id":146076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:34:44] local.INFO: IMEI packet received {"connection_id":146076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 15:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":146076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:34:49] local.INFO: TCP Data received {"connection_id":146076,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:34:49] local.INFO: Processing buffer {"connection_id":146076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:34:49] local.INFO: IMEI packet received {"connection_id":146076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":146076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:34:50] local.INFO: TCP Data received {"connection_id":146076,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcc63c40012ced1cc007141c28001801472d..."} 
[2026-08-01 15:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcc63c40012ced1cc007141c28001801472d..."} 
[2026-08-01 15:34:50] local.INFO: Processing buffer {"connection_id":146076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcc63c40012ced1cc007141c28001801472d..."} 
[2026-08-01 15:34:50] local.INFO: Packet analysis {"connection_id":146076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcc6"} 
[2026-08-01 15:34:50] local.INFO: Extracted packet for processing {"connection_id":146076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcc6"} 
[2026-08-01 15:34:50] local.INFO: GPS Element Parsed {"raw_longitude":753736896,"raw_latitude":118758440,"longitude_deg":75.3736896,"latitude_deg":11.875844,"altitude":24,"angle":327,"satellites":45,"speed":10,"hex_longitude":"2ced1cc0","hex_latitude":"07141c28","is_valid_coordinates":true} 
[2026-08-01 15:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108101120001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366595825448517632,"note":"Value kept but may cause issues"} 
[2026-08-01 15:34:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1359594475855370240,"note":"Value kept but may cause issues"} 
[2026-08-01 15:34:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785578536000,"timestamp_ms":1785578536000,"timestamp_seconds":1785578536,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcc63c40"} 
[2026-08-01 15:34:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:34:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 15:34:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:34:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:34:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:34:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108101120001,"66":27800,"193":206,"83":41216,"24":10,"16":366595825448517632,"44":-1359594475855370240},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,83,24,16,44]} 
[2026-08-01 15:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108101120001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:34:50] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-01 15:34:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 15:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366595825448517632,"km_value":366595825448517.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:34:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1359594475855370240,"description":"Unknown IO ID 44"} 
[2026-08-01 15:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108101120001,"power":27800,"unknown_193":206,"unknown_83":41216,"ignition":10,"odometer":null,"unknown_44":-1359594475855370240}} 
[2026-08-01 15:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":146076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:34:50] local.INFO: GPS data processed {"connection_id":146076,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:34:50] local.INFO: Acknowledgment sent {"connection_id":146076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:35:00] local.INFO: TCP Data received {"connection_id":148618,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:35:00] local.INFO: Processing buffer {"connection_id":148618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:35:00] local.INFO: IMEI packet received {"connection_id":148618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":148618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:35:02] local.INFO: TCP Data received {"connection_id":148618,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:35:02] local.INFO: Processing buffer {"connection_id":148618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:35:02] local.INFO: IMEI packet received {"connection_id":148618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":148618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:35:05] local.INFO: TCP Data received {"connection_id":148618,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:35:05] local.INFO: Processing buffer {"connection_id":148618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:35:05] local.INFO: IMEI packet received {"connection_id":148618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":148618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:35:06] local.INFO: TCP Data received {"connection_id":148618,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcc64410012d1968c0071fee10003d011425..."} 
[2026-08-01 15:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcc64410012d1968c0071fee10003d011425..."} 
[2026-08-01 15:35:06] local.INFO: Processing buffer {"connection_id":148618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcc64410012d1968c0071fee10003d011425..."} 
[2026-08-01 15:35:06] local.INFO: Packet analysis {"connection_id":148618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcc6"} 
[2026-08-01 15:35:06] local.INFO: Extracted packet for processing {"connection_id":148618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcc6"} 
[2026-08-01 15:35:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108100352001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785578538000,"timestamp_ms":1785578538000,"timestamp_seconds":1785578538,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcc64410"} 
[2026-08-01 15:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-01 15:35:06] 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-08-01 15: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-08-01 15:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:35:06] 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-08-01 15:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108100352001,"66":12298,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108100352001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:35:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:35:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108100352001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":148618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577795,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:35:06] local.INFO: GPS data processed {"connection_id":148618,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:35:06] local.INFO: Acknowledgment sent {"connection_id":148618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:35:21] local.INFO: TCP Data received {"connection_id":146076,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcc64410012ced1b4007141dc80018013a2e..."} 
[2026-08-01 15:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcc64410012ced1b4007141dc80018013a2e..."} 
[2026-08-01 15:35:21] local.INFO: Processing buffer {"connection_id":146076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcc64410012ced1b4007141dc80018013a2e..."} 
[2026-08-01 15:35:21] local.INFO: Packet analysis {"connection_id":146076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcc6"} 
[2026-08-01 15:35:21] local.INFO: Extracted packet for processing {"connection_id":146076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcc6"} 
[2026-08-01 15:35:21] local.INFO: GPS Element Parsed {"raw_longitude":753736512,"raw_latitude":118758856,"longitude_deg":75.3736512,"latitude_deg":11.8758856,"altitude":24,"angle":314,"satellites":46,"speed":10,"hex_longitude":"2ced1b40","hex_latitude":"07141dc8","is_valid_coordinates":true} 
[2026-08-01 15:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108105216001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366595855513288704,"note":"Value kept but may cause issues"} 
[2026-08-01 15:35:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1361001850738038784,"note":"Value kept but may cause issues"} 
[2026-08-01 15:35:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785578538000,"timestamp_ms":1785578538000,"timestamp_seconds":1785578538,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcc64410"} 
[2026-08-01 15:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:35:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 15:35:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:35:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:35:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108105216001,"66":27571,"193":206,"83":41216,"24":10,"16":366595855513288704,"44":-1361001850738038784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,83,24,16,44]} 
[2026-08-01 15:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108105216001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:35:21] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-01 15:35:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 15:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366595855513288704,"km_value":366595855513288.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:35:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1361001850738038784,"description":"Unknown IO ID 44"} 
[2026-08-01 15:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108105216001,"power":27571,"unknown_193":206,"unknown_83":41216,"ignition":10,"odometer":null,"unknown_44":-1361001850738038784}} 
[2026-08-01 15:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":146076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:35:21] local.INFO: GPS data processed {"connection_id":146076,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:35:21] local.INFO: Acknowledgment sent {"connection_id":146076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:35:37] local.INFO: TCP Data received {"connection_id":148618,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcc69618012d1968c0071fee10003d011426..."} 
[2026-08-01 15:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcc69618012d1968c0071fee10003d011426..."} 
[2026-08-01 15:35:37] local.INFO: Processing buffer {"connection_id":148618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcc69618012d1968c0071fee10003d011426..."} 
[2026-08-01 15:35:37] local.INFO: Packet analysis {"connection_id":148618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcc6"} 
[2026-08-01 15:35:37] local.INFO: Extracted packet for processing {"connection_id":148618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcc6"} 
[2026-08-01 15:35:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108105728001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785578559000,"timestamp_ms":1785578559000,"timestamp_seconds":1785578559,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcc69618"} 
[2026-08-01 15:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 15:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-01 15:35:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-01 15:35:37] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-01 15:35:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 15:35:37] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-7854277750134145023,"note":"Value kept but may cause issues"} 
[2026-08-01 15:35:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4844740873853003416,"note":"Value kept but may cause issues"} 
[2026-08-01 15:35:37] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390635034411284,"note":"Value kept but may cause issues"} 
[2026-08-01 15:35:37] local.WARNING: Large IO value detected {"io_id":61,"raw_value":77727775502368768,"note":"Value kept but may cause issues"} 
[2026-08-01 15:35:37] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832594,"note":"Value kept but may cause issues"} 
[2026-08-01 15:35:37] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-08-01 15:35:37] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3304845313,"note":"Value kept but may cause issues"} 
[2026-08-01 15:35:37] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026045,"note":"Value kept but may cause issues"} 
[2026-08-01 15:35:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-01 15:35:37] local.WARNING: Large IO value detected {"io_id":169,"raw_value":3892391193,"note":"Value kept but may cause issues"} 
[2026-08-01 15:35:37] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-01 15:35:37] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-08-01 15:35:37] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,120,159,242,45,192,238,61,39,10,66,160,37,77,1,240,53,227,188,31,4,113,205,169,104,35,239,47,2,36,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-01 15:35:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395816860436660224,"timestamp_seconds":4395816860436660.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 15:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:35:37] 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-08-01 15:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108105728001,"66":12319,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108105728001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:35:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:35:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108105728001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":148618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577797,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:35:37] local.INFO: GPS data processed {"connection_id":148618,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:35:37] local.INFO: Acknowledgment sent {"connection_id":148618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:35:44] local.INFO: TCP Data received {"connection_id":147311,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:35:44] local.INFO: Processing buffer {"connection_id":147311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:35:44] local.INFO: IMEI packet received {"connection_id":147311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 15:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":147311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:35:48] local.INFO: TCP Data received {"connection_id":147311,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:35:48] local.INFO: Processing buffer {"connection_id":147311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:35:48] local.INFO: IMEI packet received {"connection_id":147311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":147311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:35:49] local.INFO: TCP Data received {"connection_id":147311,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcc64be0012ced19c007141ef00018012b2e..."} 
[2026-08-01 15:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcc64be0012ced19c007141ef00018012b2e..."} 
[2026-08-01 15:35:49] local.INFO: Processing buffer {"connection_id":147311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcc64be0012ced19c007141ef00018012b2e..."} 
[2026-08-01 15:35:49] local.INFO: Packet analysis {"connection_id":147311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcc6"} 
[2026-08-01 15:35:49] local.INFO: Extracted packet for processing {"connection_id":147311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcc6"} 
[2026-08-01 15:35:49] local.INFO: GPS Element Parsed {"raw_longitude":753736128,"raw_latitude":118759152,"longitude_deg":75.3736128,"latitude_deg":11.8759152,"altitude":24,"angle":299,"satellites":46,"speed":9,"hex_longitude":"2ced19c0","hex_latitude":"07141ef0","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:35:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108105728001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:35:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366595876988125184,"note":"Value kept but may cause issues"} 
[2026-08-01 15:35:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1361424063202998272,"note":"Value kept but may cause issues"} 
[2026-08-01 15:35:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:35:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785578540000,"timestamp_ms":1785578540000,"timestamp_seconds":1785578540,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcc64be0"} 
[2026-08-01 15:35:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:35:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-01 15:35:49] 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-08-01 15: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-08-01 15:35:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:35:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:35:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:35:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:35:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:35: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-08-01 15:35:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:35:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:35:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108105728001,"66":27713,"193":206,"83":41216,"24":9,"16":366595876988125184,"44":-1361424063202998272},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,83,24,16,44]} 
[2026-08-01 15:35:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:35:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:35:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108105728001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:35:49] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-01 15:35:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 15:35:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366595876988125184,"km_value":366595876988125.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:35:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1361424063202998272,"description":"Unknown IO ID 44"} 
[2026-08-01 15:35:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108105728001,"power":27713,"unknown_193":206,"unknown_83":41216,"ignition":9,"odometer":null,"unknown_44":-1361424063202998272}} 
[2026-08-01 15:35:49] local.INFO: DEBUG: GPS processor result {"connection_id":147311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:35:49] local.INFO: GPS data processed {"connection_id":147311,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:35:49] local.INFO: Acknowledgment sent {"connection_id":147311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:36:00] local.INFO: TCP Data received {"connection_id":146077,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:36:00] local.INFO: Processing buffer {"connection_id":146077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:36:00] local.INFO: IMEI packet received {"connection_id":146077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":146077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:36:05] local.INFO: TCP Data received {"connection_id":146077,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:36:05] local.INFO: Processing buffer {"connection_id":146077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:36:05] local.INFO: IMEI packet received {"connection_id":146077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":146077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:36:06] local.INFO: TCP Data received {"connection_id":146077,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcc6e820012d1968c0071fee10003d011426..."} 
[2026-08-01 15:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcc6e820012d1968c0071fee10003d011426..."} 
[2026-08-01 15:36:06] local.INFO: Processing buffer {"connection_id":146077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcc6e820012d1968c0071fee10003d011426..."} 
[2026-08-01 15:36:06] local.INFO: Packet analysis {"connection_id":146077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcc6"} 
[2026-08-01 15:36:06] local.INFO: Extracted packet for processing {"connection_id":146077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcc6"} 
[2026-08-01 15:36:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108111104001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785578580000,"timestamp_ms":1785578580000,"timestamp_seconds":1785578580,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcc6e820"} 
[2026-08-01 15:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-01 15:36:06] 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-08-01 15: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-08-01 15:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:36:06] 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-08-01 15:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108111104001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108111104001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:36:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:36:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108111104001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":146077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577799,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:36:06] local.INFO: GPS data processed {"connection_id":146077,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:36:06] local.INFO: Acknowledgment sent {"connection_id":146077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:36:22] local.INFO: TCP Data received {"connection_id":147311,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcc8b128012ceca00007144f58001401062a..."} 
[2026-08-01 15:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcc8b128012ceca00007144f58001401062a..."} 
[2026-08-01 15:36:22] local.INFO: Processing buffer {"connection_id":147311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcc8b128012ceca00007144f58001401062a..."} 
[2026-08-01 15:36:22] local.INFO: Packet analysis {"connection_id":147311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcc8"} 
[2026-08-01 15:36:22] local.INFO: Extracted packet for processing {"connection_id":147311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcc8"} 
[2026-08-01 15:36:22] local.INFO: GPS Element Parsed {"raw_longitude":753704960,"raw_latitude":118771544,"longitude_deg":75.370496,"latitude_deg":11.8771544,"altitude":20,"angle":262,"satellites":42,"speed":1,"hex_longitude":"2ceca000","hex_latitude":"07144f58","is_valid_coordinates":true} 
[2026-08-01 15:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108141056001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:36:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366597564910272512,"note":"Value kept but may cause issues"} 
[2026-08-01 15:36:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1395412166637584384,"note":"Value kept but may cause issues"} 
[2026-08-01 15:36:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:36:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785578697000,"timestamp_ms":1785578697000,"timestamp_seconds":1785578697,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcc8b128"} 
[2026-08-01 15:36:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:36:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 15:36:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:36:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:36:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:36:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:36:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:36:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:36:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:36:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:36:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:36:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:36:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108141056001,"66":27919,"194":206,"83":41216,"24":1,"16":366597564910272512,"44":-1395412166637584384},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,83,24,16,44]} 
[2026-08-01 15:36:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:36:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:36:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108141056001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:36:22] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-01 15:36:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 15:36:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366597564910272512,"km_value":366597564910272.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:36:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1395412166637584384,"description":"Unknown IO ID 44"} 
[2026-08-01 15:36:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108141056001,"power":27919,"unknown_194":206,"unknown_83":41216,"ignition":1,"odometer":null,"unknown_44":-1395412166637584384}} 
[2026-08-01 15:36:22] local.INFO: DEBUG: GPS processor result {"connection_id":147311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:36:22] local.INFO: GPS data processed {"connection_id":147311,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:36:22] local.INFO: Acknowledgment sent {"connection_id":147311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:36:37] local.INFO: TCP Data received {"connection_id":146077,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcc73a28012d1968c0071fee10003d011426..."} 
[2026-08-01 15:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcc73a28012d1968c0071fee10003d011426..."} 
[2026-08-01 15:36:37] local.INFO: Processing buffer {"connection_id":146077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcc73a28012d1968c0071fee10003d011426..."} 
[2026-08-01 15:36:37] local.INFO: Packet analysis {"connection_id":146077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcc7"} 
[2026-08-01 15:36:37] local.INFO: Extracted packet for processing {"connection_id":146077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcc7"} 
[2026-08-01 15:36:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108116480001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785578601000,"timestamp_ms":1785578601000,"timestamp_seconds":1785578601,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcc73a28"} 
[2026-08-01 15:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:36: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-08-01 15:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 15:36:37] 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-08-01 15:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:36:37] 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-08-01 15:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108116480001,"66":12113,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108116480001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:36:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:36:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108116480001,"power":12113,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":146077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577801,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:36:37] local.INFO: GPS data processed {"connection_id":146077,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:36:37] local.INFO: Acknowledgment sent {"connection_id":146077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:36:44] local.INFO: TCP Data received {"connection_id":147312,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:36:44] local.INFO: Processing buffer {"connection_id":147312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:36:44] local.INFO: IMEI packet received {"connection_id":147312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 15:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":147312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:36:49] local.INFO: TCP Data received {"connection_id":147312,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:36:49] local.INFO: Processing buffer {"connection_id":147312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:36:49] local.INFO: IMEI packet received {"connection_id":147312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":147312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:36:50] local.INFO: TCP Data received {"connection_id":147312,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcc90330012cec9b0007144e700013010a2d..."} 
[2026-08-01 15:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcc90330012cec9b0007144e700013010a2d..."} 
[2026-08-01 15:36:50] local.INFO: Processing buffer {"connection_id":147312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcc90330012cec9b0007144e700013010a2d..."} 
[2026-08-01 15:36:50] local.INFO: Packet analysis {"connection_id":147312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcc9"} 
[2026-08-01 15:36:50] local.INFO: Extracted packet for processing {"connection_id":147312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcc9"} 
[2026-08-01 15:36:50] local.INFO: GPS Element Parsed {"raw_longitude":753703680,"raw_latitude":118771312,"longitude_deg":75.370368,"latitude_deg":11.8771312,"altitude":19,"angle":266,"satellites":45,"speed":0,"hex_longitude":"2cec9b00","hex_latitude":"07144e70","is_valid_coordinates":true} 
[2026-08-01 15:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:36:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108146432001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:36:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366597629334781952,"note":"Value kept but may cause issues"} 
[2026-08-01 15:36:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1396115854079338496,"note":"Value kept but may cause issues"} 
[2026-08-01 15:36:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:36:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785578718000,"timestamp_ms":1785578718000,"timestamp_seconds":1785578718,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcc90330"} 
[2026-08-01 15:36:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:36:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 15:36:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:36:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:36:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:36:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:36:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:36:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:36:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:36:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:36:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:36:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:36:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108146432001,"66":27876,"194":206,"83":41216,"24":0,"16":366597629334781952,"44":-1396115854079338496},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,83,24,16,44]} 
[2026-08-01 15:36:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:36:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:36:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108146432001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:36:50] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-01 15:36:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 15:36:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366597629334781952,"km_value":366597629334781.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:36:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1396115854079338496,"description":"Unknown IO ID 44"} 
[2026-08-01 15:36:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108146432001,"power":27876,"unknown_194":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1396115854079338496}} 
[2026-08-01 15:36:50] local.INFO: DEBUG: GPS processor result {"connection_id":147312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:36:50] local.INFO: GPS data processed {"connection_id":147312,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:36:50] local.INFO: Acknowledgment sent {"connection_id":147312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:37:00] local.INFO: TCP Data received {"connection_id":147313,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:37:00] local.INFO: Processing buffer {"connection_id":147313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:37:00] local.INFO: IMEI packet received {"connection_id":147313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":147313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:37:05] local.INFO: TCP Data received {"connection_id":147313,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:37:05] local.INFO: Processing buffer {"connection_id":147313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:37:05] local.INFO: IMEI packet received {"connection_id":147313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":147313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:37:06] local.INFO: TCP Data received {"connection_id":147313,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcc78c30012d1968c0071fee10003d011425..."} 
[2026-08-01 15:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcc78c30012d1968c0071fee10003d011425..."} 
[2026-08-01 15:37:06] local.INFO: Processing buffer {"connection_id":147313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcc78c30012d1968c0071fee10003d011425..."} 
[2026-08-01 15:37:06] local.INFO: Packet analysis {"connection_id":147313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcc7"} 
[2026-08-01 15:37:06] local.INFO: Extracted packet for processing {"connection_id":147313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcc7"} 
[2026-08-01 15:37:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 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-08-01 15:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108121856001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785578622000,"timestamp_ms":1785578622000,"timestamp_seconds":1785578622,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcc78c30"} 
[2026-08-01 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-08-01 15:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-08-01 15:37:06] 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-08-01 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-08-01 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-08-01 15:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:37:06] 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-08-01 15:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108121856001,"66":12319,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108121856001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:37:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:37:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108121856001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":147313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577803,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:37:06] local.INFO: GPS data processed {"connection_id":147313,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:37:06] local.INFO: Acknowledgment sent {"connection_id":147313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:37:21] local.INFO: TCP Data received {"connection_id":147312,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcc95538012cec9b0007144e700013010a2e..."} 
[2026-08-01 15:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcc95538012cec9b0007144e700013010a2e..."} 
[2026-08-01 15:37:21] local.INFO: Processing buffer {"connection_id":147312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcc95538012cec9b0007144e700013010a2e..."} 
[2026-08-01 15:37:21] local.INFO: Packet analysis {"connection_id":147312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcc9"} 
[2026-08-01 15:37:21] local.INFO: Extracted packet for processing {"connection_id":147312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcc9"} 
[2026-08-01 15:37:21] local.INFO: GPS Element Parsed {"raw_longitude":753703680,"raw_latitude":118771312,"longitude_deg":75.370368,"latitude_deg":11.8771312,"altitude":19,"angle":266,"satellites":46,"speed":0,"hex_longitude":"2cec9b00","hex_latitude":"07144e70","is_valid_coordinates":true} 
[2026-08-01 15:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108151808001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366597629334781952,"note":"Value kept but may cause issues"} 
[2026-08-01 15:37:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1397523228962951168,"note":"Value kept but may cause issues"} 
[2026-08-01 15:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785578739000,"timestamp_ms":1785578739000,"timestamp_seconds":1785578739,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcc95538"} 
[2026-08-01 15:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:37:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 15:37:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:37:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108151808001,"66":27821,"194":206,"83":41216,"24":0,"16":366597629334781952,"44":-1397523228962951168},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,83,24,16,44]} 
[2026-08-01 15:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108151808001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:37:21] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-01 15:37:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 15:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366597629334781952,"km_value":366597629334781.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:37:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1397523228962951168,"description":"Unknown IO ID 44"} 
[2026-08-01 15:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108151808001,"power":27821,"unknown_194":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1397523228962951168}} 
[2026-08-01 15:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":147312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:37:21] local.INFO: GPS data processed {"connection_id":147312,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:37:21] local.INFO: Acknowledgment sent {"connection_id":147312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:37:37] local.INFO: TCP Data received {"connection_id":147313,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcc7de38012d1968c0071fee10003d011426..."} 
[2026-08-01 15:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcc7de38012d1968c0071fee10003d011426..."} 
[2026-08-01 15:37:37] local.INFO: Processing buffer {"connection_id":147313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcc7de38012d1968c0071fee10003d011426..."} 
[2026-08-01 15:37:37] local.INFO: Packet analysis {"connection_id":147313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcc7"} 
[2026-08-01 15:37:37] local.INFO: Extracted packet for processing {"connection_id":147313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcc7"} 
[2026-08-01 15:37:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108127232001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785578643000,"timestamp_ms":1785578643000,"timestamp_seconds":1785578643,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcc7de38"} 
[2026-08-01 15:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-01 15:37:37] 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-08-01 15:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:37:37] 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-08-01 15:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108127232001,"66":11961,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108127232001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:37:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:37:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108127232001,"power":11961,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":147313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:37:37] local.INFO: GPS data processed {"connection_id":147313,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:37:37] local.INFO: Acknowledgment sent {"connection_id":147313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:37:49] local.INFO: TCP Data received {"connection_id":146078,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:37:49] local.INFO: Processing buffer {"connection_id":146078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:37:49] local.INFO: IMEI packet received {"connection_id":146078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 15:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":146078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:37:54] local.INFO: TCP Data received {"connection_id":146078,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:37:54] local.INFO: Processing buffer {"connection_id":146078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:37:54] local.INFO: IMEI packet received {"connection_id":146078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":146078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:37:55] local.INFO: TCP Data received {"connection_id":146078,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcc9a740012cec9b0007144e700013010a2e..."} 
[2026-08-01 15:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcc9a740012cec9b0007144e700013010a2e..."} 
[2026-08-01 15:37:55] local.INFO: Processing buffer {"connection_id":146078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcc9a740012cec9b0007144e700013010a2e..."} 
[2026-08-01 15:37:55] local.INFO: Packet analysis {"connection_id":146078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcc9"} 
[2026-08-01 15:37:55] local.INFO: Extracted packet for processing {"connection_id":146078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcc9"} 
[2026-08-01 15:37:55] local.INFO: GPS Element Parsed {"raw_longitude":753703680,"raw_latitude":118771312,"longitude_deg":75.370368,"latitude_deg":11.8771312,"altitude":19,"angle":266,"satellites":46,"speed":0,"hex_longitude":"2cec9b00","hex_latitude":"07144e70","is_valid_coordinates":true} 
[2026-08-01 15:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108157184001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366597629334781952,"note":"Value kept but may cause issues"} 
[2026-08-01 15:37:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1397523228962951168,"note":"Value kept but may cause issues"} 
[2026-08-01 15:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785578760000,"timestamp_ms":1785578760000,"timestamp_seconds":1785578760,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcc9a740"} 
[2026-08-01 15:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:37: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-08-01 15:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 15:37:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:37:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":146078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":146078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":146078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108157184001,"66":27865,"194":206,"83":41216,"24":0,"16":366597629334781952,"44":-1397523228962951168},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,83,24,16,44]} 
[2026-08-01 15:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108157184001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:37:55] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-01 15:37:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 15:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366597629334781952,"km_value":366597629334781.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:37:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1397523228962951168,"description":"Unknown IO ID 44"} 
[2026-08-01 15:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108157184001,"power":27865,"unknown_194":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1397523228962951168}} 
[2026-08-01 15:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":146078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:37:55] local.INFO: GPS data processed {"connection_id":146078,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:37:55] local.INFO: Acknowledgment sent {"connection_id":146078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:38:00] local.INFO: TCP Data received {"connection_id":146078,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcc9f948012cec940007144dc0001101072d..."} 
[2026-08-01 15:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcc9f948012cec940007144dc0001101072d..."} 
[2026-08-01 15:38:00] local.INFO: Processing buffer {"connection_id":146078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcc9f948012cec940007144dc0001101072d..."} 
[2026-08-01 15:38:00] local.INFO: Packet analysis {"connection_id":146078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcc9"} 
[2026-08-01 15:38:00] local.INFO: Extracted packet for processing {"connection_id":146078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcc9"} 
[2026-08-01 15:38:00] local.INFO: GPS Element Parsed {"raw_longitude":753701888,"raw_latitude":118771136,"longitude_deg":75.3701888,"latitude_deg":11.8771136,"altitude":17,"angle":263,"satellites":45,"speed":0,"hex_longitude":"2cec9400","hex_latitude":"07144dc0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 15:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108162560001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366597715234127872,"note":"Value kept but may cause issues"} 
[2026-08-01 15:38:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1397523228962951168,"note":"Value kept but may cause issues"} 
[2026-08-01 15:38:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785578781000,"timestamp_ms":1785578781000,"timestamp_seconds":1785578781,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcc9f948"} 
[2026-08-01 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-08-01 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-08-01 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 15:38:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 15:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":146078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":146078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":146078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:38: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-08-01 15:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108162560001,"66":27745,"194":206,"83":41216,"24":0,"16":366597715234127872,"44":-1397523228962951168},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,83,24,16,44]} 
[2026-08-01 15:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108162560001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:38:00] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-01 15:38:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 15:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366597715234127872,"km_value":366597715234127.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:38:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1397523228962951168,"description":"Unknown IO ID 44"} 
[2026-08-01 15:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108162560001,"power":27745,"unknown_194":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1397523228962951168}} 
[2026-08-01 15:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":146078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:38:00] local.INFO: GPS data processed {"connection_id":146078,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:38:00] local.INFO: Acknowledgment sent {"connection_id":146078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:38:05] local.INFO: TCP Data received {"connection_id":148619,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:38:05] local.INFO: Processing buffer {"connection_id":148619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:38:05] local.INFO: IMEI packet received {"connection_id":148619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":148619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:38:10] local.INFO: TCP Data received {"connection_id":148619,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:38:10] local.INFO: Processing buffer {"connection_id":148619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:38:10] local.INFO: IMEI packet received {"connection_id":148619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":148619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:38:13] local.INFO: TCP Data received {"connection_id":148619,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcc83040012d1968c0071fee10003d011425..."} 
[2026-08-01 15:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcc83040012d1968c0071fee10003d011425..."} 
[2026-08-01 15:38:13] local.INFO: Processing buffer {"connection_id":148619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcc83040012d1968c0071fee10003d011425..."} 
[2026-08-01 15:38:13] local.INFO: Packet analysis {"connection_id":148619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcc8"} 
[2026-08-01 15:38:13] local.INFO: Extracted packet for processing {"connection_id":148619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcc8"} 
[2026-08-01 15:38:13] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:38:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108132608001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:38:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:38: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-08-01 15:38:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785578664000,"timestamp_ms":1785578664000,"timestamp_seconds":1785578664,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcc83040"} 
[2026-08-01 15:38:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:38: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-08-01 15:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-01 15:38:13] 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-08-01 15:38:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:38:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":148619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":148619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":148619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:38:13] 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-08-01 15:38:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108132608001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108132608001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:38:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:38:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:38:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:38:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108132608001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":148619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577808,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:38:13] local.INFO: GPS data processed {"connection_id":148619,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:38:13] local.INFO: Acknowledgment sent {"connection_id":148619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:38:14] local.INFO: TCP Data received {"connection_id":148619,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcc88248012d1968c0071fee10003d011426..."} 
[2026-08-01 15:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcc88248012d1968c0071fee10003d011426..."} 
[2026-08-01 15:38:14] local.INFO: Processing buffer {"connection_id":148619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcc88248012d1968c0071fee10003d011426..."} 
[2026-08-01 15:38:14] local.INFO: Packet analysis {"connection_id":148619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcc8"} 
[2026-08-01 15:38:14] local.INFO: Extracted packet for processing {"connection_id":148619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcc8"} 
[2026-08-01 15:38:14] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108137984001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:38:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:38: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-08-01 15:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785578685000,"timestamp_ms":1785578685000,"timestamp_seconds":1785578685,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcc88248"} 
[2026-08-01 15:38:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:38: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-08-01 15: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 15:38: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-08-01 15: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-08-01 15:38:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":148619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":148619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":148619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:38:14] 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-08-01 15:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108137984001,"66":12298,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108137984001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:38:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:38:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:38:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108137984001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":148619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577809,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:38:14] local.INFO: GPS data processed {"connection_id":148619,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:38:14] local.INFO: Acknowledgment sent {"connection_id":148619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:38:44] local.INFO: TCP Data received {"connection_id":146079,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:38:44] local.INFO: Processing buffer {"connection_id":146079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:38:44] local.INFO: IMEI packet received {"connection_id":146079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 15:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":146079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:38:48] local.INFO: TCP Data received {"connection_id":146079,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:38:48] local.INFO: Processing buffer {"connection_id":146079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:38:48] local.INFO: IMEI packet received {"connection_id":146079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":146079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:38:48] local.INFO: TCP Data received {"connection_id":148619,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcc8d450012d1968c0071fee10003d011424..."} 
[2026-08-01 15:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcc8d450012d1968c0071fee10003d011424..."} 
[2026-08-01 15:38:48] local.INFO: Processing buffer {"connection_id":148619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcc8d450012d1968c0071fee10003d011424..."} 
[2026-08-01 15:38:48] local.INFO: Packet analysis {"connection_id":148619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcc8"} 
[2026-08-01 15:38:48] local.INFO: Extracted packet for processing {"connection_id":148619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcc8"} 
[2026-08-01 15:38:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108143360001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:38: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-08-01 15:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785578706000,"timestamp_ms":1785578706000,"timestamp_seconds":1785578706,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcc8d450"} 
[2026-08-01 15:38:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:38:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 15:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-01 15:38:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-01 15:38:48] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-01 15:38:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 15:38:48] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-7854277750134145023,"note":"Value kept but may cause issues"} 
[2026-08-01 15:38:48] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4844109513660491416,"note":"Value kept but may cause issues"} 
[2026-08-01 15:38:48] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390635034411284,"note":"Value kept but may cause issues"} 
[2026-08-01 15:38:48] local.WARNING: Large IO value detected {"io_id":61,"raw_value":77728875013996544,"note":"Value kept but may cause issues"} 
[2026-08-01 15:38:48] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832595,"note":"Value kept but may cause issues"} 
[2026-08-01 15:38:48] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-08-01 15:38:48] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026045,"note":"Value kept but may cause issues"} 
[2026-08-01 15:38:48] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3342477313,"note":"Value kept but may cause issues"} 
[2026-08-01 15:38:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-01 15:38:48] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-01 15:38:48] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-08-01 15:38:48] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,120,159,48,45,192,238,61,37,10,66,222,38,140,1,240,31,227,188,4,113,205,232,104,239,47,2,36,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-01 15:38:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395816864731627520,"timestamp_seconds":4395816864731627.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 15:38:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:38:48] 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-08-01 15:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108143360001,"66":12298,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108143360001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:38:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:38:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108143360001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":148619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577810,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:38:48] local.INFO: GPS data processed {"connection_id":148619,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:38:48] local.INFO: Acknowledgment sent {"connection_id":148619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:38:49] local.INFO: TCP Data received {"connection_id":146079,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcca4b50012cec940007144dc0001101072d..."} 
[2026-08-01 15:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcca4b50012cec940007144dc0001101072d..."} 
[2026-08-01 15:38:49] local.INFO: Processing buffer {"connection_id":146079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcca4b50012cec940007144dc0001101072d..."} 
[2026-08-01 15:38:49] local.INFO: Packet analysis {"connection_id":146079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcca"} 
[2026-08-01 15:38:49] local.INFO: Extracted packet for processing {"connection_id":146079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcca"} 
[2026-08-01 15:38:49] local.INFO: GPS Element Parsed {"raw_longitude":753701888,"raw_latitude":118771136,"longitude_deg":75.3701888,"latitude_deg":11.8771136,"altitude":17,"angle":263,"satellites":45,"speed":0,"hex_longitude":"2cec9400","hex_latitude":"07144dc0","is_valid_coordinates":true} 
[2026-08-01 15:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108167936001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366597715234127872,"note":"Value kept but may cause issues"} 
[2026-08-01 15:38:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1399493553799970816,"note":"Value kept but may cause issues"} 
[2026-08-01 15:38:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785578802000,"timestamp_ms":1785578802000,"timestamp_seconds":1785578802,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcca4b50"} 
[2026-08-01 15:38:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:38: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-08-01 15:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 15:38:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:38:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:38:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:38: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-08-01 15:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108167936001,"66":27767,"194":206,"83":41216,"24":0,"16":366597715234127872,"44":-1399493553799970816},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,83,24,16,44]} 
[2026-08-01 15:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108167936001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:38:49] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-01 15:38:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 15:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366597715234127872,"km_value":366597715234127.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:38:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1399493553799970816,"description":"Unknown IO ID 44"} 
[2026-08-01 15:38:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108167936001,"power":27767,"unknown_194":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1399493553799970816}} 
[2026-08-01 15:38:49] local.INFO: DEBUG: GPS processor result {"connection_id":146079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:38:49] local.INFO: GPS data processed {"connection_id":146079,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:38:49] local.INFO: Acknowledgment sent {"connection_id":146079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:39:00] local.INFO: TCP Data received {"connection_id":147314,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:39:00] local.INFO: Processing buffer {"connection_id":147314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:39:00] local.INFO: IMEI packet received {"connection_id":147314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":147314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:39:05] local.INFO: TCP Data received {"connection_id":147314,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:39:05] local.INFO: Processing buffer {"connection_id":147314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:39:05] local.INFO: IMEI packet received {"connection_id":147314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":147314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:39:06] local.INFO: TCP Data received {"connection_id":147314,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcc92658012d1968c0071fee10003d011426..."} 
[2026-08-01 15:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcc92658012d1968c0071fee10003d011426..."} 
[2026-08-01 15:39:06] local.INFO: Processing buffer {"connection_id":147314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcc92658012d1968c0071fee10003d011426..."} 
[2026-08-01 15:39:06] local.INFO: Packet analysis {"connection_id":147314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcc9"} 
[2026-08-01 15:39:06] local.INFO: Extracted packet for processing {"connection_id":147314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcc9"} 
[2026-08-01 15:39:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 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-08-01 15:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108148736001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785578727000,"timestamp_ms":1785578727000,"timestamp_seconds":1785578727,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcc92658"} 
[2026-08-01 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-08-01 15:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 15:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-01 15:39:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-01 15:39:06] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-01 15:39:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 15:39:06] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-7854277750134145023,"note":"Value kept but may cause issues"} 
[2026-08-01 15:39:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4844019319347275416,"note":"Value kept but may cause issues"} 
[2026-08-01 15:39:06] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390635034411284,"note":"Value kept but may cause issues"} 
[2026-08-01 15:39:06] local.WARNING: Large IO value detected {"io_id":61,"raw_value":77728875013996544,"note":"Value kept but may cause issues"} 
[2026-08-01 15:39:06] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832595,"note":"Value kept but may cause issues"} 
[2026-08-01 15:39:06] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-08-01 15:39:06] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3347853313,"note":"Value kept but may cause issues"} 
[2026-08-01 15:39:06] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026045,"note":"Value kept but may cause issues"} 
[2026-08-01 15:39:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-01 15:39:06] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-01 15:39:06] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,120,159,130,45,192,238,61,38,10,66,48,37,222,1,240,185,227,188,31,4,113,205,58,104,239,47,2,36,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-01 15:39:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395816856141692928,"timestamp_seconds":4395816856141693.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 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-08-01 15:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:39:06] 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-08-01 15:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108148736001,"66":12298,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108148736001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:39:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:39:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108148736001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":147314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:39:06] local.INFO: GPS data processed {"connection_id":147314,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:39:06] local.INFO: Acknowledgment sent {"connection_id":147314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:39:20] local.INFO: TCP Data received {"connection_id":146079,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcca9d58012cec940007144dc0001101072e..."} 
[2026-08-01 15:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcca9d58012cec940007144dc0001101072e..."} 
[2026-08-01 15:39:20] local.INFO: Processing buffer {"connection_id":146079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcca9d58012cec940007144dc0001101072e..."} 
[2026-08-01 15:39:20] local.INFO: Packet analysis {"connection_id":146079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcca"} 
[2026-08-01 15:39:20] local.INFO: Extracted packet for processing {"connection_id":146079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcca"} 
[2026-08-01 15:39:20] local.INFO: GPS Element Parsed {"raw_longitude":753701888,"raw_latitude":118771136,"longitude_deg":75.3701888,"latitude_deg":11.8771136,"altitude":17,"angle":263,"satellites":46,"speed":0,"hex_longitude":"2cec9400","hex_latitude":"07144dc0","is_valid_coordinates":true} 
[2026-08-01 15:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108173312001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366597715234127872,"note":"Value kept but may cause issues"} 
[2026-08-01 15:39:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1399493553799970816,"note":"Value kept but may cause issues"} 
[2026-08-01 15:39:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785578823000,"timestamp_ms":1785578823000,"timestamp_seconds":1785578823,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcca9d58"} 
[2026-08-01 15:39:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:39: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-08-01 15:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 15:39:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:39:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:39:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:39:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108173312001,"66":27930,"194":206,"83":41216,"24":0,"16":366597715234127872,"44":-1399493553799970816},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,83,24,16,44]} 
[2026-08-01 15:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108173312001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:39:20] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-01 15:39:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 15:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366597715234127872,"km_value":366597715234127.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:39:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1399493553799970816,"description":"Unknown IO ID 44"} 
[2026-08-01 15:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108173312001,"power":27930,"unknown_194":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1399493553799970816}} 
[2026-08-01 15:39:20] local.INFO: DEBUG: GPS processor result {"connection_id":146079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:39:20] local.INFO: GPS data processed {"connection_id":146079,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:39:20] local.INFO: Acknowledgment sent {"connection_id":146079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:39:37] local.INFO: TCP Data received {"connection_id":147314,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcc97860012d1968c0071fee10003d011425..."} 
[2026-08-01 15:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcc97860012d1968c0071fee10003d011425..."} 
[2026-08-01 15:39:37] local.INFO: Processing buffer {"connection_id":147314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcc97860012d1968c0071fee10003d011425..."} 
[2026-08-01 15:39:37] local.INFO: Packet analysis {"connection_id":147314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcc9"} 
[2026-08-01 15:39:37] local.INFO: Extracted packet for processing {"connection_id":147314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcc9"} 
[2026-08-01 15:39:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108154112001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785578748000,"timestamp_ms":1785578748000,"timestamp_seconds":1785578748,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcc97860"} 
[2026-08-01 15:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:39: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-08-01 15:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 15:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-01 15:39:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-01 15:39:37] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-01 15:39:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 15:39:37] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-7854277750134145023,"note":"Value kept but may cause issues"} 
[2026-08-01 15:39:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4843929125034059416,"note":"Value kept but may cause issues"} 
[2026-08-01 15:39:37] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390635034411284,"note":"Value kept but may cause issues"} 
[2026-08-01 15:39:37] local.WARNING: Large IO value detected {"io_id":61,"raw_value":77728875013996544,"note":"Value kept but may cause issues"} 
[2026-08-01 15:39:37] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832594,"note":"Value kept but may cause issues"} 
[2026-08-01 15:39:37] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3409507275384422606,"note":"Value kept but may cause issues"} 
[2026-08-01 15:39:37] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3353229313,"note":"Value kept but may cause issues"} 
[2026-08-01 15:39:37] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026045,"note":"Value kept but may cause issues"} 
[2026-08-01 15:39:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-01 15:39:37] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-01 15:39:37] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,120,159,212,45,192,238,61,36,10,66,130,38,48,1,240,255,227,188,31,4,113,205,140,104,37,239,2,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-01 15:39:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395816864731627520,"timestamp_seconds":4395816864731627.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 15:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:39:37] 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-08-01 15:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108154112001,"66":12298,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108154112001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:39:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:39:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108154112001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":147314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:39:37] local.INFO: GPS data processed {"connection_id":147314,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:39:37] local.INFO: Acknowledgment sent {"connection_id":147314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:39:42] local.INFO: TCP Data received {"connection_id":148620,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:39:42] local.INFO: Processing buffer {"connection_id":148620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:39:42] local.INFO: IMEI packet received {"connection_id":148620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 15:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":148620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:39:43] local.INFO: TCP Data received {"connection_id":148620,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:39:43] local.INFO: Processing buffer {"connection_id":148620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:39:43] local.INFO: IMEI packet received {"connection_id":148620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":148620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:39:49] local.INFO: TCP Data received {"connection_id":148620,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:39:49] local.INFO: Processing buffer {"connection_id":148620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:39:49] local.INFO: IMEI packet received {"connection_id":148620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":148620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:39:50] local.INFO: TCP Data received {"connection_id":148620,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbccaef60012cec8e0007144cf8001001062e..."} 
[2026-08-01 15:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbccaef60012cec8e0007144cf8001001062e..."} 
[2026-08-01 15:39:50] local.INFO: Processing buffer {"connection_id":148620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbccaef60012cec8e0007144cf8001001062e..."} 
[2026-08-01 15:39:50] local.INFO: Packet analysis {"connection_id":148620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcca"} 
[2026-08-01 15:39:50] local.INFO: Extracted packet for processing {"connection_id":148620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcca"} 
[2026-08-01 15:39:50] local.INFO: GPS Element Parsed {"raw_longitude":753700352,"raw_latitude":118770936,"longitude_deg":75.3700352,"latitude_deg":11.8770936,"altitude":16,"angle":262,"satellites":46,"speed":2,"hex_longitude":"2cec8e00","hex_latitude":"07144cf8","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108178688001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366597792543539200,"note":"Value kept but may cause issues"} 
[2026-08-01 15:39:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1399493553799970816,"note":"Value kept but may cause issues"} 
[2026-08-01 15:39:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785578844000,"timestamp_ms":1785578844000,"timestamp_seconds":1785578844,"priority":1,"record_length":96,"hex_timestamp":"0000019fbccaef60"} 
[2026-08-01 15:39:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:39: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-08-01 15:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-01 15:39:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15: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-08-01 15:39:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:39:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108178688001,"66":27843,"194":206,"83":41216,"24":2,"16":366597792543539200,"44":-1399493553799970816},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,83,24,16,44]} 
[2026-08-01 15:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108178688001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:39:50] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-01 15:39:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 15:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366597792543539200,"km_value":366597792543539.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:39:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1399493553799970816,"description":"Unknown IO ID 44"} 
[2026-08-01 15:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108178688001,"power":27843,"unknown_194":206,"unknown_83":41216,"ignition":2,"odometer":null,"unknown_44":-1399493553799970816}} 
[2026-08-01 15:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":148620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:39:50] local.INFO: GPS data processed {"connection_id":148620,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:39:50] local.INFO: Acknowledgment sent {"connection_id":148620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:40:00] local.INFO: TCP Data received {"connection_id":146080,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:40:00] local.INFO: Processing buffer {"connection_id":146080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:40:00] local.INFO: IMEI packet received {"connection_id":146080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":146080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:40:05] local.INFO: TCP Data received {"connection_id":146080,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:40:05] local.INFO: Processing buffer {"connection_id":146080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:40:05] local.INFO: IMEI packet received {"connection_id":146080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":146080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:40:06] local.INFO: TCP Data received {"connection_id":146080,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcc9ca68012d1968c0071fee10003d011426..."} 
[2026-08-01 15:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcc9ca68012d1968c0071fee10003d011426..."} 
[2026-08-01 15:40:06] local.INFO: Processing buffer {"connection_id":146080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcc9ca68012d1968c0071fee10003d011426..."} 
[2026-08-01 15:40:06] local.INFO: Packet analysis {"connection_id":146080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcc9"} 
[2026-08-01 15:40:06] local.INFO: Extracted packet for processing {"connection_id":146080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcc9"} 
[2026-08-01 15:40:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108159488001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785578769000,"timestamp_ms":1785578769000,"timestamp_seconds":1785578769,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcc9ca68"} 
[2026-08-01 15:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 15:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-01 15:40:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-01 15:40:06] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-01 15:40:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 15:40:06] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-7854277750134145023,"note":"Value kept but may cause issues"} 
[2026-08-01 15:40:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4843838930720843416,"note":"Value kept but may cause issues"} 
[2026-08-01 15:40:06] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390635034411284,"note":"Value kept but may cause issues"} 
[2026-08-01 15:40:06] local.WARNING: Large IO value detected {"io_id":61,"raw_value":77727775502368768,"note":"Value kept but may cause issues"} 
[2026-08-01 15:40:06] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832594,"note":"Value kept but may cause issues"} 
[2026-08-01 15:40:06] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-08-01 15:40:06] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3358605313,"note":"Value kept but may cause issues"} 
[2026-08-01 15:40:06] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026045,"note":"Value kept but may cause issues"} 
[2026-08-01 15:40:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-01 15:40:06] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-01 15:40:06] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3103837560,"note":"Value kept but may cause issues"} 
[2026-08-01 15:40:06] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,102,83,24,241,157,16,120,159,38,45,192,238,61,10,66,212,36,130,1,240,227,188,31,4,113,205,222,104,239,46,2,7],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-01 15:40:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395816860436660224,"timestamp_seconds":4395816860436660.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 15:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:40:06] 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-08-01 15:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108159488001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108159488001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:40:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:40:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108159488001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":146080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:40:06] local.INFO: GPS data processed {"connection_id":146080,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:40:06] local.INFO: Acknowledgment sent {"connection_id":146080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:40:21] local.INFO: TCP Data received {"connection_id":148620,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbccaf730012cec8dc007144cd8001000f72e..."} 
[2026-08-01 15:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbccaf730012cec8dc007144cd8001000f72e..."} 
[2026-08-01 15:40:21] local.INFO: Processing buffer {"connection_id":148620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbccaf730012cec8dc007144cd8001000f72e..."} 
[2026-08-01 15:40:21] local.INFO: Packet analysis {"connection_id":148620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcca"} 
[2026-08-01 15:40:21] local.INFO: Extracted packet for processing {"connection_id":148620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcca"} 
[2026-08-01 15:40:21] local.INFO: GPS Element Parsed {"raw_longitude":753700288,"raw_latitude":118770904,"longitude_deg":75.3700288,"latitude_deg":11.8770904,"altitude":16,"angle":247,"satellites":46,"speed":0,"hex_longitude":"2cec8dc0","hex_latitude":"07144cd8","is_valid_coordinates":true} 
[2026-08-01 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-08-01 15:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108184064001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366597796838506496,"note":"Value kept but may cause issues"} 
[2026-08-01 15:40:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1401182403660285952,"note":"Value kept but may cause issues"} 
[2026-08-01 15:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785578846000,"timestamp_ms":1785578846000,"timestamp_seconds":1785578846,"priority":1,"record_length":96,"hex_timestamp":"0000019fbccaf730"} 
[2026-08-01 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-08-01 15:40:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 15:40:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 15:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:40:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108184064001,"66":28050,"194":206,"83":41216,"24":0,"16":366597796838506496,"44":-1401182403660285952},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,83,24,16,44]} 
[2026-08-01 15:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108184064001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:40:21] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-01 15:40:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 15:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366597796838506496,"km_value":366597796838506.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:40:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1401182403660285952,"description":"Unknown IO ID 44"} 
[2026-08-01 15:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108184064001,"power":28050,"unknown_194":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1401182403660285952}} 
[2026-08-01 15:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":148620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:40:21] local.INFO: GPS data processed {"connection_id":148620,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:40:21] local.INFO: Acknowledgment sent {"connection_id":148620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:40:37] local.INFO: TCP Data received {"connection_id":146080,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcca1c70012d1968c0071fee10003d011424..."} 
[2026-08-01 15:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcca1c70012d1968c0071fee10003d011424..."} 
[2026-08-01 15:40:37] local.INFO: Processing buffer {"connection_id":146080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcca1c70012d1968c0071fee10003d011424..."} 
[2026-08-01 15:40:37] local.INFO: Packet analysis {"connection_id":146080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcca"} 
[2026-08-01 15:40:37] local.INFO: Extracted packet for processing {"connection_id":146080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcca"} 
[2026-08-01 15:40:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108164864001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785578790000,"timestamp_ms":1785578790000,"timestamp_seconds":1785578790,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcca1c70"} 
[2026-08-01 15:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 15:40:37] 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-08-01 15:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:40:37] 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-08-01 15:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108164864001,"66":11874,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108164864001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:40:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:40:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108164864001,"power":11874,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":146080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577818,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:40:37] local.INFO: GPS data processed {"connection_id":146080,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:40:37] local.INFO: Acknowledgment sent {"connection_id":146080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:40:44] local.INFO: TCP Data received {"connection_id":147315,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:40:44] local.INFO: Processing buffer {"connection_id":147315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:40:44] local.INFO: IMEI packet received {"connection_id":147315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 15:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":147315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:40:45] local.INFO: TCP Data received {"connection_id":147315,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:40:45] local.INFO: Processing buffer {"connection_id":147315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:40:45] local.INFO: IMEI packet received {"connection_id":147315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":147315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:40:49] local.INFO: TCP Data received {"connection_id":147315,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:40:49] local.INFO: Processing buffer {"connection_id":147315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:40:49] local.INFO: IMEI packet received {"connection_id":147315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":147315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:40:50] local.INFO: TCP Data received {"connection_id":147315,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbccafb18012cec8dc007144cc8001001072e..."} 
[2026-08-01 15:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbccafb18012cec8dc007144cc8001001072e..."} 
[2026-08-01 15:40:50] local.INFO: Processing buffer {"connection_id":147315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbccafb18012cec8dc007144cc8001001072e..."} 
[2026-08-01 15:40:50] local.INFO: Packet analysis {"connection_id":147315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcca"} 
[2026-08-01 15:40:50] local.INFO: Extracted packet for processing {"connection_id":147315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcca"} 
[2026-08-01 15:40:50] local.INFO: GPS Element Parsed {"raw_longitude":753700288,"raw_latitude":118770888,"longitude_deg":75.3700288,"latitude_deg":11.8770888,"altitude":16,"angle":263,"satellites":46,"speed":0,"hex_longitude":"2cec8dc0","hex_latitude":"07144cc8","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108184576001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366597796838506496,"note":"Value kept but may cause issues"} 
[2026-08-01 15:40:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1401252772404471808,"note":"Value kept but may cause issues"} 
[2026-08-01 15:40:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785578847000,"timestamp_ms":1785578847000,"timestamp_seconds":1785578847,"priority":1,"record_length":96,"hex_timestamp":"0000019fbccafb18"} 
[2026-08-01 15:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:40:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-01 15:40:50] 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-08-01 15: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-08-01 15:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:40:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108184576001,"66":27843,"194":206,"83":41216,"24":0,"16":366597796838506496,"44":-1401252772404471808},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,83,24,16,44]} 
[2026-08-01 15:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108184576001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:40:50] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-01 15:40:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 15:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366597796838506496,"km_value":366597796838506.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:40:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1401252772404471808,"description":"Unknown IO ID 44"} 
[2026-08-01 15:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108184576001,"power":27843,"unknown_194":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1401252772404471808}} 
[2026-08-01 15:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":147315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:40:50] local.INFO: GPS data processed {"connection_id":147315,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:40:50] local.INFO: Acknowledgment sent {"connection_id":147315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:40:59] local.INFO: TCP Data received {"connection_id":148621,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:40:59] local.INFO: Processing buffer {"connection_id":148621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:40:59] local.INFO: IMEI packet received {"connection_id":148621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":148621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:41:00] local.INFO: TCP Data received {"connection_id":148621,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:41:00] local.INFO: Processing buffer {"connection_id":148621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:41:00] local.INFO: IMEI packet received {"connection_id":148621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":148621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:41:05] local.INFO: TCP Data received {"connection_id":148621,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:41:05] local.INFO: Processing buffer {"connection_id":148621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:41:05] local.INFO: IMEI packet received {"connection_id":148621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":148621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:41:06] local.INFO: TCP Data received {"connection_id":148621,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcca6e78012d1968c0071fee10003d011425..."} 
[2026-08-01 15:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcca6e78012d1968c0071fee10003d011425..."} 
[2026-08-01 15:41:06] local.INFO: Processing buffer {"connection_id":148621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcca6e78012d1968c0071fee10003d011425..."} 
[2026-08-01 15:41:06] local.INFO: Packet analysis {"connection_id":148621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcca"} 
[2026-08-01 15:41:06] local.INFO: Extracted packet for processing {"connection_id":148621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcca"} 
[2026-08-01 15:41:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108170240001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785578811000,"timestamp_ms":1785578811000,"timestamp_seconds":1785578811,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcca6e78"} 
[2026-08-01 15:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-01 15:41:06] 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-08-01 15:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:41:06] 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-08-01 15:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108170240001,"66":12298,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108170240001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:41:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:41:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108170240001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":148621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:41:06] local.INFO: GPS data processed {"connection_id":148621,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:41:06] local.INFO: Acknowledgment sent {"connection_id":148621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:41:23] local.INFO: TCP Data received {"connection_id":147315,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbccd8f40012cec7600071447f00011010e2c..."} 
[2026-08-01 15:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbccd8f40012cec7600071447f00011010e2c..."} 
[2026-08-01 15:41:23] local.INFO: Processing buffer {"connection_id":147315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbccd8f40012cec7600071447f00011010e2c..."} 
[2026-08-01 15:41:23] local.INFO: Packet analysis {"connection_id":147315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbccd"} 
[2026-08-01 15:41:23] local.INFO: Extracted packet for processing {"connection_id":147315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbccd"} 
[2026-08-01 15:41:23] local.INFO: GPS Element Parsed {"raw_longitude":753694208,"raw_latitude":118769648,"longitude_deg":75.3694208,"latitude_deg":11.8769648,"altitude":17,"angle":270,"satellites":44,"speed":3,"hex_longitude":"2cec7600","hex_latitude":"071447f0","is_valid_coordinates":true} 
[2026-08-01 15:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108225792001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366598097486217216,"note":"Value kept but may cause issues"} 
[2026-08-01 15:41:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1407093378171545600,"note":"Value kept but may cause issues"} 
[2026-08-01 15:41:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785579016000,"timestamp_ms":1785579016000,"timestamp_seconds":1785579016,"priority":1,"record_length":96,"hex_timestamp":"0000019fbccd8f40"} 
[2026-08-01 15:41:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:41:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 15:41:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:41:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:41:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":147315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":147315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":147315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:41:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108225792001,"66":27995,"194":206,"83":41216,"24":3,"16":366598097486217216,"44":-1407093378171545600},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,83,24,16,44]} 
[2026-08-01 15:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108225792001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:41:23] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-01 15:41:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 15:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366598097486217216,"km_value":366598097486217.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:41:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1407093378171545600,"description":"Unknown IO ID 44"} 
[2026-08-01 15:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108225792001,"power":27995,"unknown_194":206,"unknown_83":41216,"ignition":3,"odometer":null,"unknown_44":-1407093378171545600}} 
[2026-08-01 15:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":147315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:41:23] local.INFO: GPS data processed {"connection_id":147315,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:41:23] local.INFO: Acknowledgment sent {"connection_id":147315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:41:37] local.INFO: TCP Data received {"connection_id":148621,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbccac080012d1968c0071fee10003d011424..."} 
[2026-08-01 15:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbccac080012d1968c0071fee10003d011424..."} 
[2026-08-01 15:41:37] local.INFO: Processing buffer {"connection_id":148621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbccac080012d1968c0071fee10003d011424..."} 
[2026-08-01 15:41:37] local.INFO: Packet analysis {"connection_id":148621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcca"} 
[2026-08-01 15:41:37] local.INFO: Extracted packet for processing {"connection_id":148621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcca"} 
[2026-08-01 15:41:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108175616001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785578832000,"timestamp_ms":1785578832000,"timestamp_seconds":1785578832,"priority":1,"record_length":96,"hex_timestamp":"0000019fbccac080"} 
[2026-08-01 15:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:41: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-08-01 15:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 15:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-01 15:41:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-01 15:41:37] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-01 15:41:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 15:41:37] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-7854277750134145023,"note":"Value kept but may cause issues"} 
[2026-08-01 15:41:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4843568347781195416,"note":"Value kept but may cause issues"} 
[2026-08-01 15:41:37] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390635034411284,"note":"Value kept but may cause issues"} 
[2026-08-01 15:41:37] local.WARNING: Large IO value detected {"io_id":61,"raw_value":77728875013996544,"note":"Value kept but may cause issues"} 
[2026-08-01 15:41:37] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832595,"note":"Value kept but may cause issues"} 
[2026-08-01 15:41:37] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-08-01 15:41:37] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":26625,"corrected_to":0} 
[2026-08-01 15:41:37] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3374733313,"note":"Value kept but may cause issues"} 
[2026-08-01 15:41:37] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026045,"note":"Value kept but may cause issues"} 
[2026-08-01 15:41:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-01 15:41:37] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-01 15:41:37] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,102,83,24,241,157,16,120,159,28,45,192,238,61,36,10,66,202,38,1,240,227,188,31,4,113,205,212,104,239,48,2,7,37],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":202,"original":26625,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-01 15:41:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395816860436660224,"timestamp_seconds":4395816860436660.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 15:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:41:37] 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-08-01 15:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108175616001,"66":12298,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108175616001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:41:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:41:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108175616001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":148621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577822,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:41:37] local.INFO: GPS data processed {"connection_id":148621,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:41:37] local.INFO: Acknowledgment sent {"connection_id":148621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:41:44] local.INFO: TCP Data received {"connection_id":146305,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:41:44] local.INFO: Processing buffer {"connection_id":146305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:41:44] local.INFO: IMEI packet received {"connection_id":146305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 15:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":146305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:41:49] local.INFO: TCP Data received {"connection_id":146305,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:41:49] local.INFO: Processing buffer {"connection_id":146305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:41:49] local.INFO: IMEI packet received {"connection_id":146305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":146305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:41:50] local.INFO: TCP Data received {"connection_id":146305,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbccda6b0012cec7500071447f8001200ff2d..."} 
[2026-08-01 15:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbccda6b0012cec7500071447f8001200ff2d..."} 
[2026-08-01 15:41:50] local.INFO: Processing buffer {"connection_id":146305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbccda6b0012cec7500071447f8001200ff2d..."} 
[2026-08-01 15:41:50] local.INFO: Packet analysis {"connection_id":146305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbccd"} 
[2026-08-01 15:41:50] local.INFO: Extracted packet for processing {"connection_id":146305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbccd"} 
[2026-08-01 15:41:50] local.INFO: GPS Element Parsed {"raw_longitude":753693952,"raw_latitude":118769656,"longitude_deg":75.3693952,"latitude_deg":11.8769656,"altitude":18,"angle":255,"satellites":45,"speed":4,"hex_longitude":"2cec7500","hex_latitude":"071447f8","is_valid_coordinates":true} 
[2026-08-01 15:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108228096001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366598114666086400,"note":"Value kept but may cause issues"} 
[2026-08-01 15:41:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1407937803101671424,"note":"Value kept but may cause issues"} 
[2026-08-01 15:41:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785579022000,"timestamp_ms":1785579022000,"timestamp_seconds":1785579022,"priority":1,"record_length":96,"hex_timestamp":"0000019fbccda6b0"} 
[2026-08-01 15:41:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:41:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-01 15:41:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:41:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:41:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:41:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108228096001,"66":27767,"194":206,"83":41216,"24":4,"16":366598114666086400,"44":-1407937803101671424},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,83,24,16,44]} 
[2026-08-01 15:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108228096001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:41:50] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-01 15:41:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 15:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366598114666086400,"km_value":366598114666086.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:41:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1407937803101671424,"description":"Unknown IO ID 44"} 
[2026-08-01 15:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108228096001,"power":27767,"unknown_194":206,"unknown_83":41216,"ignition":4,"odometer":null,"unknown_44":-1407937803101671424}} 
[2026-08-01 15:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":146305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:41:50] local.INFO: GPS data processed {"connection_id":146305,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:41:50] local.INFO: Acknowledgment sent {"connection_id":146305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:42:00] local.INFO: TCP Data received {"connection_id":148622,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:42:00] local.INFO: Processing buffer {"connection_id":148622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:42:00] local.INFO: IMEI packet received {"connection_id":148622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":148622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:42:02] local.INFO: TCP Data received {"connection_id":148622,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:42:02] local.INFO: Processing buffer {"connection_id":148622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:42:02] local.INFO: IMEI packet received {"connection_id":148622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":148622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:42:05] local.INFO: TCP Data received {"connection_id":148622,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:42:05] local.INFO: Processing buffer {"connection_id":148622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:42:05] local.INFO: IMEI packet received {"connection_id":148622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":148622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:42:06] local.INFO: TCP Data received {"connection_id":148622,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbccb1288012d1968c0071fee10003d011423..."} 
[2026-08-01 15:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbccb1288012d1968c0071fee10003d011423..."} 
[2026-08-01 15:42:06] local.INFO: Processing buffer {"connection_id":148622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbccb1288012d1968c0071fee10003d011423..."} 
[2026-08-01 15:42:06] local.INFO: Packet analysis {"connection_id":148622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbccb"} 
[2026-08-01 15:42:06] local.INFO: Extracted packet for processing {"connection_id":148622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbccb"} 
[2026-08-01 15:42:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108180992001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785578853000,"timestamp_ms":1785578853000,"timestamp_seconds":1785578853,"priority":1,"record_length":96,"hex_timestamp":"0000019fbccb1288"} 
[2026-08-01 15:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 15:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-01 15:42:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-01 15:42:06] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-01 15:42:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 15:42:06] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-7854277750134145023,"note":"Value kept but may cause issues"} 
[2026-08-01 15:42:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4843478153467979416,"note":"Value kept but may cause issues"} 
[2026-08-01 15:42:06] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390635034411284,"note":"Value kept but may cause issues"} 
[2026-08-01 15:42:06] local.WARNING: Large IO value detected {"io_id":61,"raw_value":77726675990740992,"note":"Value kept but may cause issues"} 
[2026-08-01 15:42:06] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832594,"note":"Value kept but may cause issues"} 
[2026-08-01 15:42:06] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-08-01 15:42:06] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":26625,"corrected_to":0} 
[2026-08-01 15:42:06] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3380109313,"note":"Value kept but may cause issues"} 
[2026-08-01 15:42:06] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026045,"note":"Value kept but may cause issues"} 
[2026-08-01 15:42:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-01 15:42:06] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-01 15:42:06] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,120,159,110,45,192,238,61,37,10,66,28,36,202,1,240,255,227,188,31,4,113,205,38,104,239,48,2,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":202,"original":26625,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-01 15:42:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395816856141692928,"timestamp_seconds":4395816856141693.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 15:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:42:06] 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-08-01 15:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108180992001,"66":11874,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108180992001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:42:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:42:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108180992001,"power":11874,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":148622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577824,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:42:06] local.INFO: GPS data processed {"connection_id":148622,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:42:06] local.INFO: Acknowledgment sent {"connection_id":148622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:42:21] local.INFO: TCP Data received {"connection_id":146305,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbccddd60012cec70c0071446f00012010a2c..."} 
[2026-08-01 15:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbccddd60012cec70c0071446f00012010a2c..."} 
[2026-08-01 15:42:21] local.INFO: Processing buffer {"connection_id":146305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbccddd60012cec70c0071446f00012010a2c..."} 
[2026-08-01 15:42:21] local.INFO: Packet analysis {"connection_id":146305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbccd"} 
[2026-08-01 15:42:21] local.INFO: Extracted packet for processing {"connection_id":146305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbccd"} 
[2026-08-01 15:42:21] local.INFO: GPS Element Parsed {"raw_longitude":753692864,"raw_latitude":118769392,"longitude_deg":75.3692864,"latitude_deg":11.8769392,"altitude":18,"angle":266,"satellites":44,"speed":0,"hex_longitude":"2cec70c0","hex_latitude":"071446f0","is_valid_coordinates":true} 
[2026-08-01 15:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108229632001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366598170500661248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:42:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1408219278078380032,"note":"Value kept but may cause issues"} 
[2026-08-01 15:42:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785579036000,"timestamp_ms":1785579036000,"timestamp_seconds":1785579036,"priority":1,"record_length":96,"hex_timestamp":"0000019fbccddd60"} 
[2026-08-01 15:42:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:42:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 15:42:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:42:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:42:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:42:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108229632001,"66":27919,"194":206,"83":41216,"24":0,"16":366598170500661248,"44":-1408219278078380032},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,83,24,16,44]} 
[2026-08-01 15:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:42:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108229632001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:42:21] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-01 15:42:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 15:42:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366598170500661248,"km_value":366598170500661.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:42:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1408219278078380032,"description":"Unknown IO ID 44"} 
[2026-08-01 15:42:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108229632001,"power":27919,"unknown_194":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1408219278078380032}} 
[2026-08-01 15:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":146305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:42:21] local.INFO: GPS data processed {"connection_id":146305,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:42:21] local.INFO: Acknowledgment sent {"connection_id":146305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:42:37] local.INFO: TCP Data received {"connection_id":148622,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbccb6490012d1968c0071fee10003d011424..."} 
[2026-08-01 15:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbccb6490012d1968c0071fee10003d011424..."} 
[2026-08-01 15:42:37] local.INFO: Processing buffer {"connection_id":148622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbccb6490012d1968c0071fee10003d011424..."} 
[2026-08-01 15:42:37] local.INFO: Packet analysis {"connection_id":148622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbccb"} 
[2026-08-01 15:42:37] local.INFO: Extracted packet for processing {"connection_id":148622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbccb"} 
[2026-08-01 15:42:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108186368001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785578874000,"timestamp_ms":1785578874000,"timestamp_seconds":1785578874,"priority":1,"record_length":96,"hex_timestamp":"0000019fbccb6490"} 
[2026-08-01 15:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15: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":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-01 15:42:37] 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-08-01 15: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-08-01 15:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:42:37] 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-08-01 15:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108186368001,"66":11928,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108186368001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:42:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:42:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108186368001,"power":11928,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":148622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577826,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:42:37] local.INFO: GPS data processed {"connection_id":148622,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:42:37] local.INFO: Acknowledgment sent {"connection_id":148622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:42:44] local.INFO: TCP Data received {"connection_id":146081,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:42:44] local.INFO: Processing buffer {"connection_id":146081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:42:44] local.INFO: IMEI packet received {"connection_id":146081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 15:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":146081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:42:49] local.INFO: TCP Data received {"connection_id":146081,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:42:49] local.INFO: Processing buffer {"connection_id":146081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:42:49] local.INFO: IMEI packet received {"connection_id":146081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":146081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:42:50] local.INFO: TCP Data received {"connection_id":146081,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcce2f68012cec70c0071446d80012010a2a..."} 
[2026-08-01 15:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcce2f68012cec70c0071446d80012010a2a..."} 
[2026-08-01 15:42:50] local.INFO: Processing buffer {"connection_id":146081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcce2f68012cec70c0071446d80012010a2a..."} 
[2026-08-01 15:42:50] local.INFO: Packet analysis {"connection_id":146081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcce"} 
[2026-08-01 15:42:50] local.INFO: Extracted packet for processing {"connection_id":146081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcce"} 
[2026-08-01 15:42:50] local.INFO: GPS Element Parsed {"raw_longitude":753692864,"raw_latitude":118769368,"longitude_deg":75.3692864,"latitude_deg":11.8769368,"altitude":18,"angle":266,"satellites":42,"speed":0,"hex_longitude":"2cec70c0","hex_latitude":"071446d8","is_valid_coordinates":true} 
[2026-08-01 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-08-01 15:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108233216001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366598170500661248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:42:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1409415546729467904,"note":"Value kept but may cause issues"} 
[2026-08-01 15:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785579057000,"timestamp_ms":1785579057000,"timestamp_seconds":1785579057,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcce2f68"} 
[2026-08-01 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-08-01 15:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 15:42:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 15:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108233216001,"66":27767,"194":206,"83":41216,"24":0,"16":366598170500661248,"44":-1409415546729467904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,83,24,16,44]} 
[2026-08-01 15:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108233216001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:42:50] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-01 15:42:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 15:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366598170500661248,"km_value":366598170500661.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:42:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1409415546729467904,"description":"Unknown IO ID 44"} 
[2026-08-01 15:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108233216001,"power":27767,"unknown_194":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1409415546729467904}} 
[2026-08-01 15:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":146081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:42:50] local.INFO: GPS data processed {"connection_id":146081,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:42:50] local.INFO: Acknowledgment sent {"connection_id":146081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:43:00] local.INFO: TCP Data received {"connection_id":147316,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:43:00] local.INFO: Processing buffer {"connection_id":147316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:43:00] local.INFO: IMEI packet received {"connection_id":147316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":147316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:43:08] local.INFO: TCP Data received {"connection_id":147316,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:43:08] local.INFO: Processing buffer {"connection_id":147316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:43:08] local.INFO: IMEI packet received {"connection_id":147316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":147316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:43:09] local.INFO: TCP Data received {"connection_id":147316,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcceeae8012d1968c0071fee10003d011426..."} 
[2026-08-01 15:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcceeae8012d1968c0071fee10003d011426..."} 
[2026-08-01 15:43:09] local.INFO: Processing buffer {"connection_id":147316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcceeae8012d1968c0071fee10003d011426..."} 
[2026-08-01 15:43:09] local.INFO: Packet analysis {"connection_id":147316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcce"} 
[2026-08-01 15:43:09] local.INFO: Extracted packet for processing {"connection_id":147316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcce"} 
[2026-08-01 15:43:09] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108245504001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:43: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-08-01 15:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785579105000,"timestamp_ms":1785579105000,"timestamp_seconds":1785579105,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcceeae8"} 
[2026-08-01 15:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:43: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-08-01 15:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-01 15:43:09] 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-08-01 15:43:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":147316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":147316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":147316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:43:09] 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-08-01 15:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108245504001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108245504001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:43:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:43:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108245504001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":147316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577828,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:43:09] local.INFO: GPS data processed {"connection_id":147316,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:43:09] local.INFO: Acknowledgment sent {"connection_id":147316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:43:23] local.INFO: TCP Data received {"connection_id":146081,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcce8170012cec70c0071446d80012010a28..."} 
[2026-08-01 15:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcce8170012cec70c0071446d80012010a28..."} 
[2026-08-01 15:43:23] local.INFO: Processing buffer {"connection_id":146081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcce8170012cec70c0071446d80012010a28..."} 
[2026-08-01 15:43:23] local.INFO: Packet analysis {"connection_id":146081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcce"} 
[2026-08-01 15:43:23] local.INFO: Extracted packet for processing {"connection_id":146081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcce"} 
[2026-08-01 15:43:23] local.INFO: GPS Element Parsed {"raw_longitude":753692864,"raw_latitude":118769368,"longitude_deg":75.3692864,"latitude_deg":11.8769368,"altitude":18,"angle":266,"satellites":40,"speed":0,"hex_longitude":"2cec70c0","hex_latitude":"071446d8","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108238592001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366598170500661248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:43:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1409415546729474048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:43:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785579078000,"timestamp_ms":1785579078000,"timestamp_seconds":1785579078,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcce8170"} 
[2026-08-01 15:43:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:43:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 15:43:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15: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-08-01 15:43:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":146081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":146081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":146081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:43:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108238592001,"66":27745,"194":206,"83":41216,"24":0,"16":366598170500661248,"44":-1409415546729474048},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,83,24,16,44]} 
[2026-08-01 15:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108238592001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:43:23] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-01 15:43:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 15:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366598170500661248,"km_value":366598170500661.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:43:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1409415546729474048,"description":"Unknown IO ID 44"} 
[2026-08-01 15:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108238592001,"power":27745,"unknown_194":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1409415546729474048}} 
[2026-08-01 15:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":146081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:43:23] local.INFO: GPS data processed {"connection_id":146081,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:43:23] local.INFO: Acknowledgment sent {"connection_id":146081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:43:40] local.INFO: TCP Data received {"connection_id":147316,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbccf3cf0012d1968c0071fee10003d011426..."} 
[2026-08-01 15:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbccf3cf0012d1968c0071fee10003d011426..."} 
[2026-08-01 15:43:40] local.INFO: Processing buffer {"connection_id":147316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbccf3cf0012d1968c0071fee10003d011426..."} 
[2026-08-01 15:43:40] local.INFO: Packet analysis {"connection_id":147316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbccf"} 
[2026-08-01 15:43:40] local.INFO: Extracted packet for processing {"connection_id":147316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbccf"} 
[2026-08-01 15:43:40] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108250880001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:43:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:43: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-08-01 15:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785579126000,"timestamp_ms":1785579126000,"timestamp_seconds":1785579126,"priority":1,"record_length":96,"hex_timestamp":"0000019fbccf3cf0"} 
[2026-08-01 15:43:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:43: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-08-01 15: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 15:43:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15: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-08-01 15:43:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":147316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":147316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":147316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:43:40] 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-08-01 15:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108250880001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108250880001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:43:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:43:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:43:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:43:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108250880001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":147316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577830,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:43:40] local.INFO: GPS data processed {"connection_id":147316,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:43:40] local.INFO: Acknowledgment sent {"connection_id":147316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:43:44] local.INFO: TCP Data received {"connection_id":146082,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:43:44] local.INFO: Processing buffer {"connection_id":146082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:43:44] local.INFO: IMEI packet received {"connection_id":146082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 15:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":146082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:43:49] local.INFO: TCP Data received {"connection_id":146082,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:43:49] local.INFO: Processing buffer {"connection_id":146082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:43:49] local.INFO: IMEI packet received {"connection_id":146082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":146082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:43:50] local.INFO: TCP Data received {"connection_id":146082,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcced378012cec70c0071446d80012010a29..."} 
[2026-08-01 15:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcced378012cec70c0071446d80012010a29..."} 
[2026-08-01 15:43:50] local.INFO: Processing buffer {"connection_id":146082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcced378012cec70c0071446d80012010a29..."} 
[2026-08-01 15:43:50] local.INFO: Packet analysis {"connection_id":146082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcce"} 
[2026-08-01 15:43:50] local.INFO: Extracted packet for processing {"connection_id":146082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcce"} 
[2026-08-01 15:43:50] local.INFO: GPS Element Parsed {"raw_longitude":753692864,"raw_latitude":118769368,"longitude_deg":75.3692864,"latitude_deg":11.8769368,"altitude":18,"angle":266,"satellites":41,"speed":0,"hex_longitude":"2cec70c0","hex_latitude":"071446d8","is_valid_coordinates":true} 
[2026-08-01 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-08-01 15:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108243968001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366598170500661248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:43:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1409415546729474048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:43:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785579099000,"timestamp_ms":1785579099000,"timestamp_seconds":1785579099,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcced378"} 
[2026-08-01 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-08-01 15:43: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-08-01 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 15:43:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 15:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:43:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108243968001,"66":27745,"194":206,"83":41216,"24":0,"16":366598170500661248,"44":-1409415546729474048},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,83,24,16,44]} 
[2026-08-01 15:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108243968001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:43:50] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-01 15:43:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 15:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366598170500661248,"km_value":366598170500661.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:43:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1409415546729474048,"description":"Unknown IO ID 44"} 
[2026-08-01 15:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108243968001,"power":27745,"unknown_194":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1409415546729474048}} 
[2026-08-01 15:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":146082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:43:50] local.INFO: GPS data processed {"connection_id":146082,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:43:50] local.INFO: Acknowledgment sent {"connection_id":146082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:44:00] local.INFO: TCP Data received {"connection_id":148623,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:44:00] local.INFO: Processing buffer {"connection_id":148623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:44:00] local.INFO: IMEI packet received {"connection_id":148623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":148623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:44:05] local.INFO: TCP Data received {"connection_id":148623,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:44:05] local.INFO: Processing buffer {"connection_id":148623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:44:05] local.INFO: IMEI packet received {"connection_id":148623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":148623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:44:06] local.INFO: TCP Data received {"connection_id":148623,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbccf8ef8012d1968c0071fee10003d011425..."} 
[2026-08-01 15:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbccf8ef8012d1968c0071fee10003d011425..."} 
[2026-08-01 15:44:06] local.INFO: Processing buffer {"connection_id":148623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbccf8ef8012d1968c0071fee10003d011425..."} 
[2026-08-01 15:44:06] local.INFO: Packet analysis {"connection_id":148623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbccf"} 
[2026-08-01 15:44:06] local.INFO: Extracted packet for processing {"connection_id":148623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbccf"} 
[2026-08-01 15:44:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108256256001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785579147000,"timestamp_ms":1785579147000,"timestamp_seconds":1785579147,"priority":1,"record_length":96,"hex_timestamp":"0000019fbccf8ef8"} 
[2026-08-01 15:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 15:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:44:06] 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-08-01 15:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108256256001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108256256001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:44:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:44:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108256256001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":148623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:44:06] local.INFO: GPS data processed {"connection_id":148623,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:44:06] local.INFO: Acknowledgment sent {"connection_id":148623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:44:22] local.INFO: TCP Data received {"connection_id":146082,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbccf2580012cec70c0071446d80012010a29..."} 
[2026-08-01 15:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbccf2580012cec70c0071446d80012010a29..."} 
[2026-08-01 15:44:22] local.INFO: Processing buffer {"connection_id":146082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbccf2580012cec70c0071446d80012010a29..."} 
[2026-08-01 15:44:22] local.INFO: Packet analysis {"connection_id":146082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbccf"} 
[2026-08-01 15:44:22] local.INFO: Extracted packet for processing {"connection_id":146082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbccf"} 
[2026-08-01 15:44:22] local.INFO: GPS Element Parsed {"raw_longitude":753692864,"raw_latitude":118769368,"longitude_deg":75.3692864,"latitude_deg":11.8769368,"altitude":18,"angle":266,"satellites":41,"speed":0,"hex_longitude":"2cec70c0","hex_latitude":"071446d8","is_valid_coordinates":true} 
[2026-08-01 15:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108249344001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366598170500661248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:44:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1409415546729474048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:44:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785579120000,"timestamp_ms":1785579120000,"timestamp_seconds":1785579120,"priority":1,"record_length":96,"hex_timestamp":"0000019fbccf2580"} 
[2026-08-01 15:44:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:44:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 15:44:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:44:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:44:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:44:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108249344001,"66":27767,"194":206,"83":41216,"24":0,"16":366598170500661248,"44":-1409415546729474048},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,83,24,16,44]} 
[2026-08-01 15:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108249344001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:44:22] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-01 15:44:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 15:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366598170500661248,"km_value":366598170500661.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:44:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1409415546729474048,"description":"Unknown IO ID 44"} 
[2026-08-01 15:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108249344001,"power":27767,"unknown_194":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1409415546729474048}} 
[2026-08-01 15:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":146082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:44:22] local.INFO: GPS data processed {"connection_id":146082,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:44:22] local.INFO: Acknowledgment sent {"connection_id":146082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:44:37] local.INFO: TCP Data received {"connection_id":148623,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbccfe100012d1968c0071fee10003d011427..."} 
[2026-08-01 15:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbccfe100012d1968c0071fee10003d011427..."} 
[2026-08-01 15:44:37] local.INFO: Processing buffer {"connection_id":148623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbccfe100012d1968c0071fee10003d011427..."} 
[2026-08-01 15:44:37] local.INFO: Packet analysis {"connection_id":148623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbccf"} 
[2026-08-01 15:44:37] local.INFO: Extracted packet for processing {"connection_id":148623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbccf"} 
[2026-08-01 15:44:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108261632001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785579168000,"timestamp_ms":1785579168000,"timestamp_seconds":1785579168,"priority":1,"record_length":96,"hex_timestamp":"0000019fbccfe100"} 
[2026-08-01 15:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 15:44:37] 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-08-01 15: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-08-01 15:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:44:37] 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-08-01 15:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108261632001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108261632001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:44:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:44:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108261632001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":148623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577834,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:44:37] local.INFO: GPS data processed {"connection_id":148623,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:44:37] local.INFO: Acknowledgment sent {"connection_id":148623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:44:49] local.INFO: TCP Data received {"connection_id":146083,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:44:49] local.INFO: Processing buffer {"connection_id":146083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:44:49] local.INFO: IMEI packet received {"connection_id":146083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 15:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":146083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:44:57] local.INFO: TCP Data received {"connection_id":146083,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:44:57] local.INFO: Processing buffer {"connection_id":146083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:44:57] local.INFO: IMEI packet received {"connection_id":146083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":146083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:44:58] local.INFO: TCP Data received {"connection_id":146083,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbccf7788012cec70c0071446d80012010a2a..."} 
[2026-08-01 15:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbccf7788012cec70c0071446d80012010a2a..."} 
[2026-08-01 15:44:58] local.INFO: Processing buffer {"connection_id":146083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbccf7788012cec70c0071446d80012010a2a..."} 
[2026-08-01 15:44:58] local.INFO: Packet analysis {"connection_id":146083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbccf"} 
[2026-08-01 15:44:58] local.INFO: Extracted packet for processing {"connection_id":146083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbccf"} 
[2026-08-01 15:44:58] local.INFO: GPS Element Parsed {"raw_longitude":753692864,"raw_latitude":118769368,"longitude_deg":75.3692864,"latitude_deg":11.8769368,"altitude":18,"angle":266,"satellites":42,"speed":0,"hex_longitude":"2cec70c0","hex_latitude":"071446d8","is_valid_coordinates":true} 
[2026-08-01 15:44:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108254720001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366598170500661248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:44:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1409415546729474048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:44:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785579141000,"timestamp_ms":1785579141000,"timestamp_seconds":1785579141,"priority":1,"record_length":96,"hex_timestamp":"0000019fbccf7788"} 
[2026-08-01 15:44:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:44:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:44:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 15:44: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-08-01 15:44:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:44:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":146083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":146083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":146083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:44:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108254720001,"66":27995,"194":206,"83":41216,"24":0,"16":366598170500661248,"44":-1409415546729474048},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,83,24,16,44]} 
[2026-08-01 15:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108254720001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:44:58] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-01 15:44:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 15:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366598170500661248,"km_value":366598170500661.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:44:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1409415546729474048,"description":"Unknown IO ID 44"} 
[2026-08-01 15:44:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108254720001,"power":27995,"unknown_194":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1409415546729474048}} 
[2026-08-01 15:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":146083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:44:58] local.INFO: GPS data processed {"connection_id":146083,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:44:58] local.INFO: Acknowledgment sent {"connection_id":146083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:44:59] local.INFO: TCP Data received {"connection_id":146083,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbccfc990012cec70c0071446d80012010a29..."} 
[2026-08-01 15:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbccfc990012cec70c0071446d80012010a29..."} 
[2026-08-01 15:44:59] local.INFO: Processing buffer {"connection_id":146083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbccfc990012cec70c0071446d80012010a29..."} 
[2026-08-01 15:44:59] local.INFO: Packet analysis {"connection_id":146083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbccf"} 
[2026-08-01 15:44:59] local.INFO: Extracted packet for processing {"connection_id":146083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbccf"} 
[2026-08-01 15:44:59] local.INFO: GPS Element Parsed {"raw_longitude":753692864,"raw_latitude":118769368,"longitude_deg":75.3692864,"latitude_deg":11.8769368,"altitude":18,"angle":266,"satellites":41,"speed":0,"hex_longitude":"2cec70c0","hex_latitude":"071446d8","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108260096001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366598170500661248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:44:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1409415546729474048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:44:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785579162000,"timestamp_ms":1785579162000,"timestamp_seconds":1785579162,"priority":1,"record_length":96,"hex_timestamp":"0000019fbccfc990"} 
[2026-08-01 15:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:44: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-08-01 15: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-01 15:44: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-08-01 15: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-08-01 15:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":146083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":146083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":146083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:44: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-08-01 15:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108260096001,"66":27843,"194":206,"83":41216,"24":0,"16":366598170500661248,"44":-1409415546729474048},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,83,24,16,44]} 
[2026-08-01 15:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108260096001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:44:59] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-01 15:44:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 15:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366598170500661248,"km_value":366598170500661.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:44:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1409415546729474048,"description":"Unknown IO ID 44"} 
[2026-08-01 15:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108260096001,"power":27843,"unknown_194":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1409415546729474048}} 
[2026-08-01 15:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":146083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:44:59] local.INFO: GPS data processed {"connection_id":146083,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:44:59] local.INFO: Acknowledgment sent {"connection_id":146083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:45:05] local.INFO: TCP Data received {"connection_id":147317,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147317,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:45:05] local.INFO: Processing buffer {"connection_id":147317,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:45:05] local.INFO: IMEI packet received {"connection_id":147317,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":147317,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:45:10] local.INFO: TCP Data received {"connection_id":147317,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147317,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:45:10] local.INFO: Processing buffer {"connection_id":147317,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:45:10] local.INFO: IMEI packet received {"connection_id":147317,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":147317,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:45:11] local.INFO: TCP Data received {"connection_id":147317,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcd03308012d1968c0071fee10003d011425..."} 
[2026-08-01 15:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcd03308012d1968c0071fee10003d011425..."} 
[2026-08-01 15:45:11] local.INFO: Processing buffer {"connection_id":147317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcd03308012d1968c0071fee10003d011425..."} 
[2026-08-01 15:45:11] local.INFO: Packet analysis {"connection_id":147317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcd0"} 
[2026-08-01 15:45:11] local.INFO: Extracted packet for processing {"connection_id":147317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcd0"} 
[2026-08-01 15:45:11] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108267008001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15: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-08-01 15:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785579189000,"timestamp_ms":1785579189000,"timestamp_seconds":1785579189,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcd03308"} 
[2026-08-01 15:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:45: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-08-01 15: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 15:45: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-08-01 15: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-08-01 15:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":147317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":147317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":147317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:45:11] 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-08-01 15:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108267008001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108267008001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:45:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:45:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108267008001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":147317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577837,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:45:11] local.INFO: GPS data processed {"connection_id":147317,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:45:11] local.INFO: Acknowledgment sent {"connection_id":147317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:45:11] local.INFO: TCP Data received {"connection_id":147317,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcd08510012d1968c0071fee10003d011426..."} 
[2026-08-01 15:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcd08510012d1968c0071fee10003d011426..."} 
[2026-08-01 15:45:11] local.INFO: Processing buffer {"connection_id":147317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcd08510012d1968c0071fee10003d011426..."} 
[2026-08-01 15:45:11] local.INFO: Packet analysis {"connection_id":147317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcd0"} 
[2026-08-01 15:45:11] local.INFO: Extracted packet for processing {"connection_id":147317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcd0"} 
[2026-08-01 15:45:11] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108272384001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15: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-08-01 15:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785579210000,"timestamp_ms":1785579210000,"timestamp_seconds":1785579210,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcd08510"} 
[2026-08-01 15:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:45: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-08-01 15: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 15:45: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-08-01 15: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-08-01 15:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":147317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":147317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":147317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:45:11] 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-08-01 15:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108272384001,"66":12232,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108272384001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:45:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:45:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108272384001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":147317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:45:12] local.INFO: GPS data processed {"connection_id":147317,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:45:12] local.INFO: Acknowledgment sent {"connection_id":147317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:45:43] local.INFO: TCP Data received {"connection_id":147317,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcd0d718012d1968c0071fee10003d011427..."} 
[2026-08-01 15:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcd0d718012d1968c0071fee10003d011427..."} 
[2026-08-01 15:45:43] local.INFO: Processing buffer {"connection_id":147317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcd0d718012d1968c0071fee10003d011427..."} 
[2026-08-01 15:45:43] local.INFO: Packet analysis {"connection_id":147317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcd0"} 
[2026-08-01 15:45:43] local.INFO: Extracted packet for processing {"connection_id":147317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcd0"} 
[2026-08-01 15:45:43] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108277760001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15: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-08-01 15:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785579231000,"timestamp_ms":1785579231000,"timestamp_seconds":1785579231,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcd0d718"} 
[2026-08-01 15:45:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:45: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-08-01 15: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":200,"data_length":795,"current_offset":136} 
[2026-08-01 15:45:43] 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-08-01 15: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-08-01 15:45:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":147317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":147317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":147317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:45:43] 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-08-01 15:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108277760001,"66":12298,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108277760001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:45:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:45:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108277760001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":147317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:45:43] local.INFO: GPS data processed {"connection_id":147317,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:45:43] local.INFO: Acknowledgment sent {"connection_id":147317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:45:44] local.INFO: TCP Data received {"connection_id":148624,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:45:44] local.INFO: Processing buffer {"connection_id":148624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:45:44] local.INFO: IMEI packet received {"connection_id":148624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 15:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":148624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:45:49] local.INFO: TCP Data received {"connection_id":148624,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:45:49] local.INFO: Processing buffer {"connection_id":148624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:45:49] local.INFO: IMEI packet received {"connection_id":148624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":148624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:45:50] local.INFO: TCP Data received {"connection_id":148624,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcd01b98012cec70c0071446d80012010a2a..."} 
[2026-08-01 15:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcd01b98012cec70c0071446d80012010a2a..."} 
[2026-08-01 15:45:50] local.INFO: Processing buffer {"connection_id":148624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcd01b98012cec70c0071446d80012010a2a..."} 
[2026-08-01 15:45:50] local.INFO: Packet analysis {"connection_id":148624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcd0"} 
[2026-08-01 15:45:50] local.INFO: Extracted packet for processing {"connection_id":148624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcd0"} 
[2026-08-01 15:45:50] local.INFO: GPS Element Parsed {"raw_longitude":753692864,"raw_latitude":118769368,"longitude_deg":75.3692864,"latitude_deg":11.8769368,"altitude":18,"angle":266,"satellites":42,"speed":0,"hex_longitude":"2cec70c0","hex_latitude":"071446d8","is_valid_coordinates":true} 
[2026-08-01 15:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:45:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108265472001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:45:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366598170500661248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:45:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1409415546729474048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:45:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:45:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785579183000,"timestamp_ms":1785579183000,"timestamp_seconds":1785579183,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcd01b98"} 
[2026-08-01 15:45:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:45:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 15:45:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:45:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:45:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:45:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:45:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:45:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:45:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:45:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:45:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:45:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:45:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108265472001,"66":27865,"194":206,"83":41216,"24":0,"16":366598170500661248,"44":-1409415546729474048},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,83,24,16,44]} 
[2026-08-01 15:45:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:45:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:45:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108265472001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:45:50] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-01 15:45:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 15:45:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366598170500661248,"km_value":366598170500661.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:45:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1409415546729474048,"description":"Unknown IO ID 44"} 
[2026-08-01 15:45:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108265472001,"power":27865,"unknown_194":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1409415546729474048}} 
[2026-08-01 15:45:50] local.INFO: DEBUG: GPS processor result {"connection_id":148624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:45:50] local.INFO: GPS data processed {"connection_id":148624,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:45:50] local.INFO: Acknowledgment sent {"connection_id":148624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:45:54] local.INFO: TCP Data received {"connection_id":148624,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcd06da0012cec6dc0071445a80013010e2a..."} 
[2026-08-01 15:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcd06da0012cec6dc0071445a80013010e2a..."} 
[2026-08-01 15:45:54] local.INFO: Processing buffer {"connection_id":148624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcd06da0012cec6dc0071445a80013010e2a..."} 
[2026-08-01 15:45:54] local.INFO: Packet analysis {"connection_id":148624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcd0"} 
[2026-08-01 15:45:54] local.INFO: Extracted packet for processing {"connection_id":148624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcd0"} 
[2026-08-01 15:45:54] local.INFO: GPS Element Parsed {"raw_longitude":753692096,"raw_latitude":118769064,"longitude_deg":75.3692096,"latitude_deg":11.8769064,"altitude":19,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2cec6dc0","hex_latitude":"071445a8","is_valid_coordinates":true} 
[2026-08-01 15:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108270848001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366598209155366912,"note":"Value kept but may cause issues"} 
[2026-08-01 15:45:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1409415546729474048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:45:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785579204000,"timestamp_ms":1785579204000,"timestamp_seconds":1785579204,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcd06da0"} 
[2026-08-01 15:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:45: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-08-01 15:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 15:45:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:45:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:45:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108270848001,"66":27908,"194":206,"83":41216,"24":0,"16":366598209155366912,"44":-1409415546729474048},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,83,24,16,44]} 
[2026-08-01 15:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108270848001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:45:54] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-01 15:45:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 15:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366598209155366912,"km_value":366598209155366.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:45:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1409415546729474048,"description":"Unknown IO ID 44"} 
[2026-08-01 15:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108270848001,"power":27908,"unknown_194":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1409415546729474048}} 
[2026-08-01 15:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":148624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:45:54] local.INFO: GPS data processed {"connection_id":148624,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:45:54] local.INFO: Acknowledgment sent {"connection_id":148624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:46:00] local.INFO: TCP Data received {"connection_id":147318,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:46:00] local.INFO: Processing buffer {"connection_id":147318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:46:00] local.INFO: IMEI packet received {"connection_id":147318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":147318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:46:05] local.INFO: TCP Data received {"connection_id":147318,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:46:05] local.INFO: Processing buffer {"connection_id":147318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:46:05] local.INFO: IMEI packet received {"connection_id":147318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":147318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:46:06] local.INFO: TCP Data received {"connection_id":147318,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcd12920012d1968c0071fee10003d011427..."} 
[2026-08-01 15:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcd12920012d1968c0071fee10003d011427..."} 
[2026-08-01 15:46:06] local.INFO: Processing buffer {"connection_id":147318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcd12920012d1968c0071fee10003d011427..."} 
[2026-08-01 15:46:06] local.INFO: Packet analysis {"connection_id":147318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcd1"} 
[2026-08-01 15:46:06] local.INFO: Extracted packet for processing {"connection_id":147318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcd1"} 
[2026-08-01 15:46:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108283136001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785579252000,"timestamp_ms":1785579252000,"timestamp_seconds":1785579252,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcd12920"} 
[2026-08-01 15:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 15:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-01 15:46:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-01 15:46:06] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-01 15:46:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 15:46:06] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-7854277750134145023,"note":"Value kept but may cause issues"} 
[2026-08-01 15:46:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4841764461516875416,"note":"Value kept but may cause issues"} 
[2026-08-01 15:46:06] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390635034411284,"note":"Value kept but may cause issues"} 
[2026-08-01 15:46:06] local.WARNING: Large IO value detected {"io_id":61,"raw_value":77728875013996544,"note":"Value kept but may cause issues"} 
[2026-08-01 15:46:06] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832594,"note":"Value kept but may cause issues"} 
[2026-08-01 15:46:06] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-08-01 15:46:06] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3482253313,"note":"Value kept but may cause issues"} 
[2026-08-01 15:46:06] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026045,"note":"Value kept but may cause issues"} 
[2026-08-01 15:46:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-01 15:46:06] local.WARNING: Large IO value detected {"io_id":60,"raw_value":4026608921,"note":"Value kept but may cause issues"} 
[2026-08-01 15:46:06] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-01 15:46:06] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-08-01 15:46:06] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,120,159,133,45,192,238,61,38,10,66,51,37,225,1,240,255,227,188,31,4,113,205,60,104,239,47,2,36,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-01 15:46:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395816869026594816,"timestamp_seconds":4395816869026595.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 15:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:46:06] 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-08-01 15:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108283136001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108283136001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:46:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:46:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108283136001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":147318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577842,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:46:06] local.INFO: GPS data processed {"connection_id":147318,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:46:06] local.INFO: Acknowledgment sent {"connection_id":147318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:46:25] local.INFO: TCP Data received {"connection_id":148624,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcd07188012cec6cc007144578001300fe2a..."} 
[2026-08-01 15:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcd07188012cec6cc007144578001300fe2a..."} 
[2026-08-01 15:46:25] local.INFO: Processing buffer {"connection_id":148624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcd07188012cec6cc007144578001300fe2a..."} 
[2026-08-01 15:46:25] local.INFO: Packet analysis {"connection_id":148624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcd0"} 
[2026-08-01 15:46:25] local.INFO: Extracted packet for processing {"connection_id":148624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcd0"} 
[2026-08-01 15:46:25] local.INFO: GPS Element Parsed {"raw_longitude":753691840,"raw_latitude":118769016,"longitude_deg":75.369184,"latitude_deg":11.8769016,"altitude":19,"angle":254,"satellites":42,"speed":3,"hex_longitude":"2cec6cc0","hex_latitude":"07144578","is_valid_coordinates":true} 
[2026-08-01 15:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108276224001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366598222040268800,"note":"Value kept but may cause issues"} 
[2026-08-01 15:46:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1410259971659683840,"note":"Value kept but may cause issues"} 
[2026-08-01 15:46:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785579205000,"timestamp_ms":1785579205000,"timestamp_seconds":1785579205,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcd07188"} 
[2026-08-01 15:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:46:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 15:46:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:46:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:46:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108276224001,"66":27865,"194":206,"83":41216,"24":3,"16":366598222040268800,"44":-1410259971659683840},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,83,24,16,44]} 
[2026-08-01 15:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108276224001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:46:25] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-01 15:46:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 15:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366598222040268800,"km_value":366598222040268.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:46:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1410259971659683840,"description":"Unknown IO ID 44"} 
[2026-08-01 15:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108276224001,"power":27865,"unknown_194":206,"unknown_83":41216,"ignition":3,"odometer":null,"unknown_44":-1410259971659683840}} 
[2026-08-01 15:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":148624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:46:25] local.INFO: GPS data processed {"connection_id":148624,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:46:25] local.INFO: Acknowledgment sent {"connection_id":148624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:46:38] local.INFO: TCP Data received {"connection_id":147318,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcd17b28012d1968c0071fee10003d011427..."} 
[2026-08-01 15:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcd17b28012d1968c0071fee10003d011427..."} 
[2026-08-01 15:46:38] local.INFO: Processing buffer {"connection_id":147318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcd17b28012d1968c0071fee10003d011427..."} 
[2026-08-01 15:46:38] local.INFO: Packet analysis {"connection_id":147318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcd1"} 
[2026-08-01 15:46:38] local.INFO: Extracted packet for processing {"connection_id":147318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcd1"} 
[2026-08-01 15:46:38] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108288512001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785579273000,"timestamp_ms":1785579273000,"timestamp_seconds":1785579273,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcd17b28"} 
[2026-08-01 15:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:46: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-08-01 15:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 15:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":147318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":147318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":147318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108288512001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108288512001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:46:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:46:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108288512001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":147318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:46:38] local.INFO: GPS data processed {"connection_id":147318,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:46:38] local.INFO: Acknowledgment sent {"connection_id":147318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:46:44] local.INFO: TCP Data received {"connection_id":148625,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:46:44] local.INFO: Processing buffer {"connection_id":148625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:46:44] local.INFO: IMEI packet received {"connection_id":148625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 15:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":148625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:46:49] local.INFO: TCP Data received {"connection_id":148625,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:46:49] local.INFO: Processing buffer {"connection_id":148625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:46:49] local.INFO: IMEI packet received {"connection_id":148625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":148625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:46:50] local.INFO: TCP Data received {"connection_id":148625,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcd08510012cec6b0007144518001300eb2b..."} 
[2026-08-01 15:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcd08510012cec6b0007144518001300eb2b..."} 
[2026-08-01 15:46:50] local.INFO: Processing buffer {"connection_id":148625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcd08510012cec6b0007144518001300eb2b..."} 
[2026-08-01 15:46:50] local.INFO: Packet analysis {"connection_id":148625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcd0"} 
[2026-08-01 15:46:50] local.INFO: Extracted packet for processing {"connection_id":148625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcd0"} 
[2026-08-01 15:46:50] local.INFO: GPS Element Parsed {"raw_longitude":753691392,"raw_latitude":118768920,"longitude_deg":75.3691392,"latitude_deg":11.876892,"altitude":19,"angle":235,"satellites":43,"speed":0,"hex_longitude":"2cec6b00","hex_latitude":"07144518","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108276480001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:46:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366598243515105280,"note":"Value kept but may cause issues"} 
[2026-08-01 15:46:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1410541446636406784,"note":"Value kept but may cause issues"} 
[2026-08-01 15:46:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:46:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785579210000,"timestamp_ms":1785579210000,"timestamp_seconds":1785579210,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcd08510"} 
[2026-08-01 15:46:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:46: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-08-01 15:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 15:46:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15: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-08-01 15:46:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:46:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:46:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:46:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:46:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:46:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:46:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:46:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:46:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108276480001,"66":27876,"194":206,"83":41216,"24":0,"16":366598243515105280,"44":-1410541446636406784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,83,24,16,44]} 
[2026-08-01 15:46:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:46:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:46:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108276480001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:46:50] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-01 15:46:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 15:46:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366598243515105280,"km_value":366598243515105.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:46:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1410541446636406784,"description":"Unknown IO ID 44"} 
[2026-08-01 15:46:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108276480001,"power":27876,"unknown_194":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1410541446636406784}} 
[2026-08-01 15:46:50] local.INFO: DEBUG: GPS processor result {"connection_id":148625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:46:50] local.INFO: GPS data processed {"connection_id":148625,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:46:50] local.INFO: Acknowledgment sent {"connection_id":148625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:47:00] local.INFO: TCP Data received {"connection_id":147319,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:47:00] local.INFO: Processing buffer {"connection_id":147319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:47:00] local.INFO: IMEI packet received {"connection_id":147319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":147319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:47:05] local.INFO: TCP Data received {"connection_id":147319,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:47:05] local.INFO: Processing buffer {"connection_id":147319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:47:05] local.INFO: IMEI packet received {"connection_id":147319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":147319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:47:06] local.INFO: TCP Data received {"connection_id":147319,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcd1cd30012d1968c0071fee10003d011426..."} 
[2026-08-01 15:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcd1cd30012d1968c0071fee10003d011426..."} 
[2026-08-01 15:47:06] local.INFO: Processing buffer {"connection_id":147319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcd1cd30012d1968c0071fee10003d011426..."} 
[2026-08-01 15:47:06] local.INFO: Packet analysis {"connection_id":147319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcd1"} 
[2026-08-01 15:47:06] local.INFO: Extracted packet for processing {"connection_id":147319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcd1"} 
[2026-08-01 15:47:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108293888001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785579294000,"timestamp_ms":1785579294000,"timestamp_seconds":1785579294,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcd1cd30"} 
[2026-08-01 15:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 15:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:47:06] 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-08-01 15:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108293888001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108293888001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:47:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:47:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108293888001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":147319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577846,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:47:06] local.INFO: GPS data processed {"connection_id":147319,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:47:06] local.INFO: Acknowledgment sent {"connection_id":147319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:47:21] local.INFO: TCP Data received {"connection_id":148625,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcd08ce0012cec6ac007144510001300fd2c..."} 
[2026-08-01 15:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcd08ce0012cec6ac007144510001300fd2c..."} 
[2026-08-01 15:47:21] local.INFO: Processing buffer {"connection_id":148625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcd08ce0012cec6ac007144510001300fd2c..."} 
[2026-08-01 15:47:21] local.INFO: Packet analysis {"connection_id":148625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcd0"} 
[2026-08-01 15:47:21] local.INFO: Extracted packet for processing {"connection_id":148625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcd0"} 
[2026-08-01 15:47:21] local.INFO: GPS Element Parsed {"raw_longitude":753691328,"raw_latitude":118768912,"longitude_deg":75.3691328,"latitude_deg":11.8768912,"altitude":19,"angle":253,"satellites":44,"speed":3,"hex_longitude":"2cec6ac0","hex_latitude":"07144510","is_valid_coordinates":true} 
[2026-08-01 15:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108277760001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366598247810072576,"note":"Value kept but may cause issues"} 
[2026-08-01 15:47:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1411034027845675008,"note":"Value kept but may cause issues"} 
[2026-08-01 15:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785579212000,"timestamp_ms":1785579212000,"timestamp_seconds":1785579212,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcd08ce0"} 
[2026-08-01 15:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:47:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 15:47:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:47:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:47:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108277760001,"66":27876,"194":206,"83":41216,"24":3,"16":366598247810072576,"44":-1411034027845675008},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,83,24,16,44]} 
[2026-08-01 15:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108277760001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:47:21] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-01 15:47:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 15:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366598247810072576,"km_value":366598247810072.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:47:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1411034027845675008,"description":"Unknown IO ID 44"} 
[2026-08-01 15:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108277760001,"power":27876,"unknown_194":206,"unknown_83":41216,"ignition":3,"odometer":null,"unknown_44":-1411034027845675008}} 
[2026-08-01 15:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":148625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:47:21] local.INFO: GPS data processed {"connection_id":148625,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:47:21] local.INFO: Acknowledgment sent {"connection_id":148625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:47:37] local.INFO: TCP Data received {"connection_id":147319,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcd21f38012d1968c0071fee10003d011424..."} 
[2026-08-01 15:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcd21f38012d1968c0071fee10003d011424..."} 
[2026-08-01 15:47:37] local.INFO: Processing buffer {"connection_id":147319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcd21f38012d1968c0071fee10003d011424..."} 
[2026-08-01 15:47:37] local.INFO: Packet analysis {"connection_id":147319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcd2"} 
[2026-08-01 15:47:37] local.INFO: Extracted packet for processing {"connection_id":147319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcd2"} 
[2026-08-01 15:47:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108299264001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785579315000,"timestamp_ms":1785579315000,"timestamp_seconds":1785579315,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcd21f38"} 
[2026-08-01 15:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:47: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-08-01 15: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 15:47:37] 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-08-01 15: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-08-01 15:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:47:37] 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-08-01 15:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108299264001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108299264001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:47:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:47:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108299264001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":147319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577848,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:47:37] local.INFO: GPS data processed {"connection_id":147319,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:47:37] local.INFO: Acknowledgment sent {"connection_id":147319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:47:42] local.INFO: TCP Data received {"connection_id":148626,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:47:42] local.INFO: Processing buffer {"connection_id":148626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:47:42] local.INFO: IMEI packet received {"connection_id":148626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 15:47:42] local.INFO: IMEI acknowledgment sent {"connection_id":148626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:47:44] local.INFO: TCP Data received {"connection_id":148626,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:47:44] local.INFO: Processing buffer {"connection_id":148626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:47:44] local.INFO: IMEI packet received {"connection_id":148626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":148626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:47:49] local.INFO: TCP Data received {"connection_id":148626,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:47:49] local.INFO: Processing buffer {"connection_id":148626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:47:49] local.INFO: IMEI packet received {"connection_id":148626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":148626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:47:50] local.INFO: TCP Data received {"connection_id":148626,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcd0bbc0012cec6380071443d80013010b2c..."} 
[2026-08-01 15:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcd0bbc0012cec6380071443d80013010b2c..."} 
[2026-08-01 15:47:50] local.INFO: Processing buffer {"connection_id":148626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcd0bbc0012cec6380071443d80013010b2c..."} 
[2026-08-01 15:47:50] local.INFO: Packet analysis {"connection_id":148626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcd0"} 
[2026-08-01 15:47:50] local.INFO: Extracted packet for processing {"connection_id":148626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcd0"} 
[2026-08-01 15:47:50] local.INFO: GPS Element Parsed {"raw_longitude":753689472,"raw_latitude":118768600,"longitude_deg":75.3689472,"latitude_deg":11.87686,"altitude":19,"angle":267,"satellites":44,"speed":2,"hex_longitude":"2cec6380","hex_latitude":"071443d8","is_valid_coordinates":true} 
[2026-08-01 15:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108278272001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366598338004385792,"note":"Value kept but may cause issues"} 
[2026-08-01 15:47:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1411104396589854720,"note":"Value kept but may cause issues"} 
[2026-08-01 15:47:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785579224000,"timestamp_ms":1785579224000,"timestamp_seconds":1785579224,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcd0bbc0"} 
[2026-08-01 15:47:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:47:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 15:47:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:47:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:47:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:47:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:47:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:47:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:47:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:47:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:47:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:47:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:47:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108278272001,"66":28017,"194":206,"83":41216,"24":2,"16":366598338004385792,"44":-1411104396589854720},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,83,24,16,44]} 
[2026-08-01 15:47:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:47:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:47:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108278272001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:47:50] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-01 15:47:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 15:47:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366598338004385792,"km_value":366598338004385.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:47:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1411104396589854720,"description":"Unknown IO ID 44"} 
[2026-08-01 15:47:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108278272001,"power":28017,"unknown_194":206,"unknown_83":41216,"ignition":2,"odometer":null,"unknown_44":-1411104396589854720}} 
[2026-08-01 15:47:50] local.INFO: DEBUG: GPS processor result {"connection_id":148626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:47:50] local.INFO: GPS data processed {"connection_id":148626,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:47:50] local.INFO: Acknowledgment sent {"connection_id":148626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:47:59] local.INFO: TCP Data received {"connection_id":146306,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:47:59] local.INFO: Processing buffer {"connection_id":146306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:47:59] local.INFO: IMEI packet received {"connection_id":146306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":146306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:48:00] local.INFO: TCP Data received {"connection_id":146306,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:48:00] local.INFO: Processing buffer {"connection_id":146306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:48:00] local.INFO: IMEI packet received {"connection_id":146306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":146306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:48:05] local.INFO: TCP Data received {"connection_id":146306,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:48:05] local.INFO: Processing buffer {"connection_id":146306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:48:05] local.INFO: IMEI packet received {"connection_id":146306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":146306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:48:06] local.INFO: TCP Data received {"connection_id":146306,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcd27140012d1968c0071fee10003d011425..."} 
[2026-08-01 15:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcd27140012d1968c0071fee10003d011425..."} 
[2026-08-01 15:48:06] local.INFO: Processing buffer {"connection_id":146306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcd27140012d1968c0071fee10003d011425..."} 
[2026-08-01 15:48:06] local.INFO: Packet analysis {"connection_id":146306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcd2"} 
[2026-08-01 15:48:06] local.INFO: Extracted packet for processing {"connection_id":146306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcd2"} 
[2026-08-01 15:48:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108304640001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785579336000,"timestamp_ms":1785579336000,"timestamp_seconds":1785579336,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcd27140"} 
[2026-08-01 15:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 15:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15: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-08-01 15:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:48:06] 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-08-01 15:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108304640001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108304640001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:48:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:48:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108304640001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":146306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577850,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:48:06] local.INFO: GPS data processed {"connection_id":146306,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:48:06] local.INFO: Acknowledgment sent {"connection_id":146306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:48:22] local.INFO: TCP Data received {"connection_id":148626,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcd10dc8012cec6300071443f0001301092b..."} 
[2026-08-01 15:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcd10dc8012cec6300071443f0001301092b..."} 
[2026-08-01 15:48:22] local.INFO: Processing buffer {"connection_id":148626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcd10dc8012cec6300071443f0001301092b..."} 
[2026-08-01 15:48:22] local.INFO: Packet analysis {"connection_id":148626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcd1"} 
[2026-08-01 15:48:22] local.INFO: Extracted packet for processing {"connection_id":148626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcd1"} 
[2026-08-01 15:48:22] local.INFO: GPS Element Parsed {"raw_longitude":753689344,"raw_latitude":118768624,"longitude_deg":75.3689344,"latitude_deg":11.8768624,"altitude":19,"angle":265,"satellites":43,"speed":0,"hex_longitude":"2cec6300","hex_latitude":"071443f0","is_valid_coordinates":true} 
[2026-08-01 15:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:48:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108281344001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:48:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366598346594320384,"note":"Value kept but may cause issues"} 
[2026-08-01 15:48:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1413145090171086848,"note":"Value kept but may cause issues"} 
[2026-08-01 15:48:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:48:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785579245000,"timestamp_ms":1785579245000,"timestamp_seconds":1785579245,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcd10dc8"} 
[2026-08-01 15:48:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:48:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-01 15:48:22] 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-08-01 15:48:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:48:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:48:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:48:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:48:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:48:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:48:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:48:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:48:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:48:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108281344001,"66":27767,"194":206,"83":41216,"24":0,"16":366598346594320384,"44":-1413145090171086848},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,83,24,16,44]} 
[2026-08-01 15:48:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:48:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:48:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108281344001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:48:22] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-01 15:48:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 15:48:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366598346594320384,"km_value":366598346594320.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:48:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1413145090171086848,"description":"Unknown IO ID 44"} 
[2026-08-01 15:48:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108281344001,"power":27767,"unknown_194":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1413145090171086848}} 
[2026-08-01 15:48:22] local.INFO: DEBUG: GPS processor result {"connection_id":148626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:48:22] local.INFO: GPS data processed {"connection_id":148626,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:48:22] local.INFO: Acknowledgment sent {"connection_id":148626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:48:37] local.INFO: TCP Data received {"connection_id":146306,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcd2c348012d1968c0071fee10003d011426..."} 
[2026-08-01 15:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcd2c348012d1968c0071fee10003d011426..."} 
[2026-08-01 15:48:37] local.INFO: Processing buffer {"connection_id":146306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcd2c348012d1968c0071fee10003d011426..."} 
[2026-08-01 15:48:37] local.INFO: Packet analysis {"connection_id":146306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcd2"} 
[2026-08-01 15:48:37] local.INFO: Extracted packet for processing {"connection_id":146306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcd2"} 
[2026-08-01 15:48:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108310016001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785579357000,"timestamp_ms":1785579357000,"timestamp_seconds":1785579357,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcd2c348"} 
[2026-08-01 15:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:48: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-08-01 15:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 15:48:37] 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-08-01 15:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:48:37] 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-08-01 15:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108310016001,"66":12254,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108310016001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:48:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:48:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108310016001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":146306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:48:37] local.INFO: GPS data processed {"connection_id":146306,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:48:37] local.INFO: Acknowledgment sent {"connection_id":146306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:48:45] local.INFO: TCP Data received {"connection_id":147320,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:48:45] local.INFO: Processing buffer {"connection_id":147320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:48:45] local.INFO: IMEI packet received {"connection_id":147320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 15:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":147320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:48:48] local.INFO: TCP Data received {"connection_id":147320,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:48:48] local.INFO: Processing buffer {"connection_id":147320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:48:48] local.INFO: IMEI packet received {"connection_id":147320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":147320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:48:49] local.INFO: TCP Data received {"connection_id":147320,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcd41b08012cec3140071437b0001401002c..."} 
[2026-08-01 15:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcd41b08012cec3140071437b0001401002c..."} 
[2026-08-01 15:48:49] local.INFO: Processing buffer {"connection_id":147320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcd41b08012cec3140071437b0001401002c..."} 
[2026-08-01 15:48:49] local.INFO: Packet analysis {"connection_id":147320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcd4"} 
[2026-08-01 15:48:49] local.INFO: Extracted packet for processing {"connection_id":147320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcd4"} 
[2026-08-01 15:48:49] local.INFO: GPS Element Parsed {"raw_longitude":753676608,"raw_latitude":118765488,"longitude_deg":75.3676608,"latitude_deg":11.8765488,"altitude":20,"angle":256,"satellites":44,"speed":5,"hex_longitude":"2cec3140","hex_latitude":"071437b0","is_valid_coordinates":true} 
[2026-08-01 15:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108332544001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:48:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-01 15:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366598969364578304,"note":"Value kept but may cause issues"} 
[2026-08-01 15:48:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1425107776681975808,"note":"Value kept but may cause issues"} 
[2026-08-01 15:48:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-01 15:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785579445000,"timestamp_ms":1785579445000,"timestamp_seconds":1785579445,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcd41b08"} 
[2026-08-01 15:48:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:48: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-08-01 15:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 15:48:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:48:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:48:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:48: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-08-01 15:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108332544001,"66":27930,"200":0,"83":41472,"24":5,"16":366598969364578304,"44":-1425107776681975808},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,83,24,16,44]} 
[2026-08-01 15:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108332544001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:48:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 15:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366598969364578304,"km_value":366598969364578.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:48:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1425107776681975808,"description":"Unknown IO ID 44"} 
[2026-08-01 15:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108332544001,"power":27930,"gsm_signal":0,"unknown_83":41472,"ignition":5,"odometer":null,"unknown_44":-1425107776681975808}} 
[2026-08-01 15:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":147320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:48:49] local.INFO: GPS data processed {"connection_id":147320,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:48:49] local.INFO: Acknowledgment sent {"connection_id":147320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:49:00] local.INFO: TCP Data received {"connection_id":146307,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146307,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:49:00] local.INFO: Processing buffer {"connection_id":146307,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:49:00] local.INFO: IMEI packet received {"connection_id":146307,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":146307,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:49:02] local.INFO: TCP Data received {"connection_id":146307,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146307,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:49:02] local.INFO: Processing buffer {"connection_id":146307,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:49:02] local.INFO: IMEI packet received {"connection_id":146307,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":146307,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:49:05] local.INFO: TCP Data received {"connection_id":146307,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146307,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:49:05] local.INFO: Processing buffer {"connection_id":146307,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:49:05] local.INFO: IMEI packet received {"connection_id":146307,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":146307,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:49:06] local.INFO: TCP Data received {"connection_id":146307,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcd31550012d1968c0071fee10003d011424..."} 
[2026-08-01 15:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcd31550012d1968c0071fee10003d011424..."} 
[2026-08-01 15:49:06] local.INFO: Processing buffer {"connection_id":146307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcd31550012d1968c0071fee10003d011424..."} 
[2026-08-01 15:49:06] local.INFO: Packet analysis {"connection_id":146307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcd3"} 
[2026-08-01 15:49:06] local.INFO: Extracted packet for processing {"connection_id":146307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcd3"} 
[2026-08-01 15:49:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108315392001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785579378000,"timestamp_ms":1785579378000,"timestamp_seconds":1785579378,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcd31550"} 
[2026-08-01 15:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-01 15:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:49:06] 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-08-01 15:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108315392001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108315392001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:49:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:49:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108315392001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":146307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:49:06] local.INFO: GPS data processed {"connection_id":146307,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:49:06] local.INFO: Acknowledgment sent {"connection_id":146307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:49:20] local.INFO: TCP Data received {"connection_id":147320,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcd46d10012cec2cc0071436c0001301002c..."} 
[2026-08-01 15:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcd46d10012cec2cc0071436c0001301002c..."} 
[2026-08-01 15:49:20] local.INFO: Processing buffer {"connection_id":147320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcd46d10012cec2cc0071436c0001301002c..."} 
[2026-08-01 15:49:20] local.INFO: Packet analysis {"connection_id":147320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcd4"} 
[2026-08-01 15:49:20] local.INFO: Extracted packet for processing {"connection_id":147320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcd4"} 
[2026-08-01 15:49:20] local.INFO: GPS Element Parsed {"raw_longitude":753675456,"raw_latitude":118765248,"longitude_deg":75.3675456,"latitude_deg":11.8765248,"altitude":19,"angle":256,"satellites":44,"speed":0,"hex_longitude":"2cec2cc0","hex_latitude":"071436c0","is_valid_coordinates":true} 
[2026-08-01 15:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:49:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108337920001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:49:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-01 15:49:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366599029494120448,"note":"Value kept but may cause issues"} 
[2026-08-01 15:49:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1427289207751593984,"note":"Value kept but may cause issues"} 
[2026-08-01 15:49:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-01 15:49:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785579466000,"timestamp_ms":1785579466000,"timestamp_seconds":1785579466,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcd46d10"} 
[2026-08-01 15:49:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:49: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-08-01 15:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-01 15:49:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:49:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:49:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:49:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:49:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:49:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:49:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:49:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:49:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:49:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:49:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108337920001,"66":27865,"200":0,"83":41472,"24":0,"16":366599029494120448,"44":-1427289207751593984},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,83,24,16,44]} 
[2026-08-01 15:49:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:49:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:49:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108337920001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:49:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 15:49:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366599029494120448,"km_value":366599029494120.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:49:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1427289207751593984,"description":"Unknown IO ID 44"} 
[2026-08-01 15:49:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108337920001,"power":27865,"gsm_signal":0,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1427289207751593984}} 
[2026-08-01 15:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":147320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:49:20] local.INFO: GPS data processed {"connection_id":147320,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:49:20] local.INFO: Acknowledgment sent {"connection_id":147320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:49:37] local.INFO: TCP Data received {"connection_id":146307,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcd36758012d1968c0071fee10003d011426..."} 
[2026-08-01 15:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcd36758012d1968c0071fee10003d011426..."} 
[2026-08-01 15:49:37] local.INFO: Processing buffer {"connection_id":146307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcd36758012d1968c0071fee10003d011426..."} 
[2026-08-01 15:49:37] local.INFO: Packet analysis {"connection_id":146307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcd3"} 
[2026-08-01 15:49:37] local.INFO: Extracted packet for processing {"connection_id":146307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcd3"} 
[2026-08-01 15:49:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108320768001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785579399000,"timestamp_ms":1785579399000,"timestamp_seconds":1785579399,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcd36758"} 
[2026-08-01 15:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:49: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-08-01 15: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 15:49:37] 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-08-01 15: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-08-01 15:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:49:37] 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-08-01 15:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108320768001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108320768001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:49:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:49:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108320768001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":146307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577856,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:49:37] local.INFO: GPS data processed {"connection_id":146307,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:49:37] local.INFO: Acknowledgment sent {"connection_id":146307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:49:44] local.INFO: TCP Data received {"connection_id":146308,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:49:44] local.INFO: Processing buffer {"connection_id":146308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:49:44] local.INFO: IMEI packet received {"connection_id":146308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 15:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":146308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:49:49] local.INFO: TCP Data received {"connection_id":146308,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:49:49] local.INFO: Processing buffer {"connection_id":146308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:49:49] local.INFO: IMEI packet received {"connection_id":146308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":146308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:49:50] local.INFO: TCP Data received {"connection_id":146308,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcd478c8012cec2b0007143618001300f42b..."} 
[2026-08-01 15:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcd478c8012cec2b0007143618001300f42b..."} 
[2026-08-01 15:49:50] local.INFO: Processing buffer {"connection_id":146308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcd478c8012cec2b0007143618001300f42b..."} 
[2026-08-01 15:49:50] local.INFO: Packet analysis {"connection_id":146308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcd4"} 
[2026-08-01 15:49:50] local.INFO: Extracted packet for processing {"connection_id":146308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcd4"} 
[2026-08-01 15:49:50] local.INFO: GPS Element Parsed {"raw_longitude":753675008,"raw_latitude":118765080,"longitude_deg":75.3675008,"latitude_deg":11.876508,"altitude":19,"angle":244,"satellites":43,"speed":5,"hex_longitude":"2cec2b00","hex_latitude":"07143618","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:49:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108343296001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:49:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-01 15:49:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366599050968956928,"note":"Value kept but may cause issues"} 
[2026-08-01 15:49:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1428555845146853376,"note":"Value kept but may cause issues"} 
[2026-08-01 15:49:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-01 15:49:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785579469000,"timestamp_ms":1785579469000,"timestamp_seconds":1785579469,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcd478c8"} 
[2026-08-01 15:49:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:49:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 15:49:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15: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-08-01 15:49:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:49:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:49:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:49:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:49:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:49:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:49:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:49:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:49:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108343296001,"66":27974,"200":0,"83":41472,"24":5,"16":366599050968956928,"44":-1428555845146853376},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,83,24,16,44]} 
[2026-08-01 15:49:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:49:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:49:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108343296001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:49:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 15:49:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366599050968956928,"km_value":366599050968956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:49:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1428555845146853376,"description":"Unknown IO ID 44"} 
[2026-08-01 15:49:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108343296001,"power":27974,"gsm_signal":0,"unknown_83":41472,"ignition":5,"odometer":null,"unknown_44":-1428555845146853376}} 
[2026-08-01 15:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":146308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:49:50] local.INFO: GPS data processed {"connection_id":146308,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:49:50] local.INFO: Acknowledgment sent {"connection_id":146308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:50:00] local.INFO: TCP Data received {"connection_id":146309,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:50:00] local.INFO: Processing buffer {"connection_id":146309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:50:00] local.INFO: IMEI packet received {"connection_id":146309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":146309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:50:05] local.INFO: TCP Data received {"connection_id":146309,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:50:05] local.INFO: Processing buffer {"connection_id":146309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:50:05] local.INFO: IMEI packet received {"connection_id":146309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":146309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:50:06] local.INFO: TCP Data received {"connection_id":146309,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcd3b960012d1968c0071fee10003d011426..."} 
[2026-08-01 15:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcd3b960012d1968c0071fee10003d011426..."} 
[2026-08-01 15:50:06] local.INFO: Processing buffer {"connection_id":146309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcd3b960012d1968c0071fee10003d011426..."} 
[2026-08-01 15:50:06] local.INFO: Packet analysis {"connection_id":146309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcd3"} 
[2026-08-01 15:50:06] local.INFO: Extracted packet for processing {"connection_id":146309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcd3"} 
[2026-08-01 15:50:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108326144001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785579420000,"timestamp_ms":1785579420000,"timestamp_seconds":1785579420,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcd3b960"} 
[2026-08-01 15:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 15:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:50:06] 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-08-01 15:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108326144001,"66":12265,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108326144001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:50:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:50:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108326144001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":146309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:50:06] local.INFO: GPS data processed {"connection_id":146309,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:50:06] local.INFO: Acknowledgment sent {"connection_id":146309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:50:21] local.INFO: TCP Data received {"connection_id":146308,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcd4cad0012cec1e8007142f50001200f828..."} 
[2026-08-01 15:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcd4cad0012cec1e8007142f50001200f828..."} 
[2026-08-01 15:50:21] local.INFO: Processing buffer {"connection_id":146308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcd4cad0012cec1e8007142f50001200f828..."} 
[2026-08-01 15:50:21] local.INFO: Packet analysis {"connection_id":146308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcd4"} 
[2026-08-01 15:50:21] local.INFO: Extracted packet for processing {"connection_id":146308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcd4"} 
[2026-08-01 15:50:21] local.INFO: GPS Element Parsed {"raw_longitude":753671808,"raw_latitude":118763344,"longitude_deg":75.3671808,"latitude_deg":11.8763344,"altitude":18,"angle":248,"satellites":40,"speed":9,"hex_longitude":"2cec1e80","hex_latitude":"07142f50","is_valid_coordinates":true} 
[2026-08-01 15:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108344064001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:50:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-01 15:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366599227062616064,"note":"Value kept but may cause issues"} 
[2026-08-01 15:50:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1429048426356140032,"note":"Value kept but may cause issues"} 
[2026-08-01 15:50:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-01 15:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785579490000,"timestamp_ms":1785579490000,"timestamp_seconds":1785579490,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcd4cad0"} 
[2026-08-01 15:50:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:50:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-01 15:50:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:50:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:50:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:50:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108344064001,"66":27713,"200":0,"83":41472,"24":9,"16":366599227062616064,"44":-1429048426356140032},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,83,24,16,44]} 
[2026-08-01 15:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108344064001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:50:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 15:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366599227062616064,"km_value":366599227062616.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:50:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1429048426356140032,"description":"Unknown IO ID 44"} 
[2026-08-01 15:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108344064001,"power":27713,"gsm_signal":0,"unknown_83":41472,"ignition":9,"odometer":null,"unknown_44":-1429048426356140032}} 
[2026-08-01 15:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":146308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:50:21] local.INFO: GPS data processed {"connection_id":146308,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:50:21] local.INFO: Acknowledgment sent {"connection_id":146308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:50:37] local.INFO: TCP Data received {"connection_id":146309,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcd40b68012d1968c0071fee10003d011426..."} 
[2026-08-01 15:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcd40b68012d1968c0071fee10003d011426..."} 
[2026-08-01 15:50:37] local.INFO: Processing buffer {"connection_id":146309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcd40b68012d1968c0071fee10003d011426..."} 
[2026-08-01 15:50:37] local.INFO: Packet analysis {"connection_id":146309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcd4"} 
[2026-08-01 15:50:37] local.INFO: Extracted packet for processing {"connection_id":146309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcd4"} 
[2026-08-01 15:50:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108331520001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785579441000,"timestamp_ms":1785579441000,"timestamp_seconds":1785579441,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcd40b68"} 
[2026-08-01 15:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:50: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-08-01 15: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-01 15:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15: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-08-01 15:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:50:37] 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-08-01 15:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108331520001,"66":12156,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108331520001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:50:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:50:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108331520001,"power":12156,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":146309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577860,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:50:37] local.INFO: GPS data processed {"connection_id":146309,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:50:37] local.INFO: Acknowledgment sent {"connection_id":146309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:50:48] local.INFO: TCP Data received {"connection_id":147321,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:50:48] local.INFO: Processing buffer {"connection_id":147321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:50:48] local.INFO: IMEI packet received {"connection_id":147321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 15:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":147321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:50:48] local.INFO: TCP Data received {"connection_id":147321,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:50:48] local.INFO: Processing buffer {"connection_id":147321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:50:48] local.INFO: IMEI packet received {"connection_id":147321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":147321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:50:50] local.INFO: TCP Data received {"connection_id":147321,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:50:50] local.INFO: Processing buffer {"connection_id":147321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:50:50] local.INFO: IMEI packet received {"connection_id":147321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":147321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:50:55] local.INFO: TCP Data received {"connection_id":147321,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:50:55] local.INFO: Processing buffer {"connection_id":147321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:50:55] local.INFO: IMEI packet received {"connection_id":147321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":147321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:50:56] local.INFO: TCP Data received {"connection_id":147321,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcd69f90012cebc0800713fa58000c00e324..."} 
[2026-08-01 15:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcd69f90012cebc0800713fa58000c00e324..."} 
[2026-08-01 15:50:56] local.INFO: Processing buffer {"connection_id":147321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcd69f90012cebc0800713fa58000c00e324..."} 
[2026-08-01 15:50:56] local.INFO: Packet analysis {"connection_id":147321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcd6"} 
[2026-08-01 15:50:56] local.INFO: Extracted packet for processing {"connection_id":147321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcd6"} 
[2026-08-01 15:50:56] local.INFO: GPS Element Parsed {"raw_longitude":753647744,"raw_latitude":118749784,"longitude_deg":75.3647744,"latitude_deg":11.8749784,"altitude":12,"angle":227,"satellites":36,"speed":9,"hex_longitude":"2cebc080","hex_latitude":"0713fa58","is_valid_coordinates":true} 
[2026-08-01 15:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108379136001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366600584272281600,"note":"Value kept but may cause issues"} 
[2026-08-01 15:50:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1457829242728593408,"note":"Value kept but may cause issues"} 
[2026-08-01 15:50:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785579610000,"timestamp_ms":1785579610000,"timestamp_seconds":1785579610,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcd69f90"} 
[2026-08-01 15:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:50:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 15:50:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:50:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":147321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":147321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":147321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108379136001,"66":27800,"202":206,"83":41472,"24":9,"16":366600584272281600,"44":-1457829242728593408},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,83,24,16,44]} 
[2026-08-01 15:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108379136001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:50:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 15:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366600584272281600,"km_value":366600584272281.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:50:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1457829242728593408,"description":"Unknown IO ID 44"} 
[2026-08-01 15:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108379136001,"power":27800,"mcc":206,"unknown_83":41472,"ignition":9,"odometer":null,"unknown_44":-1457829242728593408}} 
[2026-08-01 15:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":147321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:50:56] local.INFO: GPS data processed {"connection_id":147321,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:50:56] local.INFO: Acknowledgment sent {"connection_id":147321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:50:57] local.INFO: TCP Data received {"connection_id":147321,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcd6a760012cebbf800713f908000c00cd27..."} 
[2026-08-01 15:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcd6a760012cebbf800713f908000c00cd27..."} 
[2026-08-01 15:50:57] local.INFO: Processing buffer {"connection_id":147321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcd6a760012cebbf800713f908000c00cd27..."} 
[2026-08-01 15:50:57] local.INFO: Packet analysis {"connection_id":147321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcd6"} 
[2026-08-01 15:50:57] local.INFO: Extracted packet for processing {"connection_id":147321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcd6"} 
[2026-08-01 15:50:57] local.INFO: GPS Element Parsed {"raw_longitude":753647488,"raw_latitude":118749448,"longitude_deg":75.3647488,"latitude_deg":11.8749448,"altitude":12,"angle":205,"satellites":39,"speed":8,"hex_longitude":"2cebbf80","hex_latitude":"0713f908","is_valid_coordinates":true} 
[2026-08-01 15:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:50:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108380160001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:50:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366600605747118080,"note":"Value kept but may cause issues"} 
[2026-08-01 15:50:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1459025511379740672,"note":"Value kept but may cause issues"} 
[2026-08-01 15:50:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:50:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785579612000,"timestamp_ms":1785579612000,"timestamp_seconds":1785579612,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcd6a760"} 
[2026-08-01 15:50:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:50: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-08-01 15:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 15:50:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:50:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:50:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:50:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:50:57] local.INFO: Teltonika packet parsed successfully {"connection_id":147321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:50:57] local.INFO: Passing IMEI to GPS processor {"connection_id":147321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:50:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":147321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:50:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:50:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:50:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:50:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108380160001,"66":27865,"202":206,"83":41472,"24":8,"16":366600605747118080,"44":-1459025511379740672},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,83,24,16,44]} 
[2026-08-01 15:50:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:50:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:50:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108380160001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:50:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 15:50:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366600605747118080,"km_value":366600605747118.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:50:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1459025511379740672,"description":"Unknown IO ID 44"} 
[2026-08-01 15:50:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108380160001,"power":27865,"mcc":206,"unknown_83":41472,"ignition":8,"odometer":null,"unknown_44":-1459025511379740672}} 
[2026-08-01 15:50:57] local.INFO: DEBUG: GPS processor result {"connection_id":147321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:50:57] local.INFO: GPS data processed {"connection_id":147321,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:50:57] local.INFO: Acknowledgment sent {"connection_id":147321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:51:00] local.INFO: TCP Data received {"connection_id":146310,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146310,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:51:00] local.INFO: Processing buffer {"connection_id":146310,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:51:00] local.INFO: IMEI packet received {"connection_id":146310,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":146310,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:51:05] local.INFO: TCP Data received {"connection_id":146310,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146310,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:51:05] local.INFO: Processing buffer {"connection_id":146310,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:51:05] local.INFO: IMEI packet received {"connection_id":146310,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":146310,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:51:06] local.INFO: TCP Data received {"connection_id":146310,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcd45d70012d1968c0071fee10003d011426..."} 
[2026-08-01 15:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcd45d70012d1968c0071fee10003d011426..."} 
[2026-08-01 15:51:06] local.INFO: Processing buffer {"connection_id":146310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcd45d70012d1968c0071fee10003d011426..."} 
[2026-08-01 15:51:06] local.INFO: Packet analysis {"connection_id":146310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcd4"} 
[2026-08-01 15:51:06] local.INFO: Extracted packet for processing {"connection_id":146310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcd4"} 
[2026-08-01 15:51:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108336896001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785579462000,"timestamp_ms":1785579462000,"timestamp_seconds":1785579462,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcd45d70"} 
[2026-08-01 15:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-01 15:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:51:06] 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-08-01 15:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108336896001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108336896001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:51:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:51:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108336896001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":146310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577863,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:51:06] local.INFO: GPS data processed {"connection_id":146310,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:51:06] local.INFO: Acknowledgment sent {"connection_id":146310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:51:28] local.INFO: TCP Data received {"connection_id":147321,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcd6af30012cebbec00713f790000b00bb28..."} 
[2026-08-01 15:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcd6af30012cebbec00713f790000b00bb28..."} 
[2026-08-01 15:51:28] local.INFO: Processing buffer {"connection_id":147321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcd6af30012cebbec00713f790000b00bb28..."} 
[2026-08-01 15:51:28] local.INFO: Packet analysis {"connection_id":147321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcd6"} 
[2026-08-01 15:51:28] local.INFO: Extracted packet for processing {"connection_id":147321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcd6"} 
[2026-08-01 15:51:28] local.INFO: GPS Element Parsed {"raw_longitude":753647296,"raw_latitude":118749072,"longitude_deg":75.3647296,"latitude_deg":11.8749072,"altitude":11,"angle":187,"satellites":40,"speed":8,"hex_longitude":"2cebbec0","hex_latitude":"0713f790","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108380672001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366600622926987264,"note":"Value kept but may cause issues"} 
[2026-08-01 15:51:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1459306986356537344,"note":"Value kept but may cause issues"} 
[2026-08-01 15:51:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785579614000,"timestamp_ms":1785579614000,"timestamp_seconds":1785579614,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcd6af30"} 
[2026-08-01 15:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:51: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-08-01 15: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 15:51:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15: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-08-01 15:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":147321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":147321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":147321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:51: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-08-01 15:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108380672001,"66":27593,"202":206,"83":41472,"24":8,"16":366600622926987264,"44":-1459306986356537344},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,83,24,16,44]} 
[2026-08-01 15:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108380672001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:51:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 15:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366600622926987264,"km_value":366600622926987.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:51:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1459306986356537344,"description":"Unknown IO ID 44"} 
[2026-08-01 15:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108380672001,"power":27593,"mcc":206,"unknown_83":41472,"ignition":8,"odometer":null,"unknown_44":-1459306986356537344}} 
[2026-08-01 15:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":147321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:51:28] local.INFO: GPS data processed {"connection_id":147321,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:51:28] local.INFO: Acknowledgment sent {"connection_id":147321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:51:37] local.INFO: TCP Data received {"connection_id":146310,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcd4af78012d1968c0071fee10003d011425..."} 
[2026-08-01 15:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcd4af78012d1968c0071fee10003d011425..."} 
[2026-08-01 15:51:37] local.INFO: Processing buffer {"connection_id":146310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcd4af78012d1968c0071fee10003d011425..."} 
[2026-08-01 15:51:37] local.INFO: Packet analysis {"connection_id":146310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcd4"} 
[2026-08-01 15:51:37] local.INFO: Extracted packet for processing {"connection_id":146310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcd4"} 
[2026-08-01 15:51:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108342272001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785579483000,"timestamp_ms":1785579483000,"timestamp_seconds":1785579483,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcd4af78"} 
[2026-08-01 15:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:51: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-08-01 15:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 15:51:37] 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-08-01 15:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:51:37] 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-08-01 15:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108342272001,"66":12254,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108342272001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:51:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:51:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108342272001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":146310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:51:37] local.INFO: GPS data processed {"connection_id":146310,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:51:37] local.INFO: Acknowledgment sent {"connection_id":146310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:51:44] local.INFO: TCP Data received {"connection_id":146311,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:51:44] local.INFO: Processing buffer {"connection_id":146311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:51:44] local.INFO: IMEI packet received {"connection_id":146311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 15:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":146311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:51:44] local.INFO: TCP Data received {"connection_id":146311,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:51:44] local.INFO: Processing buffer {"connection_id":146311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:51:45] local.INFO: IMEI packet received {"connection_id":146311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":146311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:51:49] local.INFO: TCP Data received {"connection_id":146311,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:51:49] local.INFO: Processing buffer {"connection_id":146311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:51:49] local.INFO: IMEI packet received {"connection_id":146311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":146311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:51:50] local.INFO: TCP Data received {"connection_id":146311,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcd6b700012cebbec00713f568000b00a92c..."} 
[2026-08-01 15:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcd6b700012cebbec00713f568000b00a92c..."} 
[2026-08-01 15:51:50] local.INFO: Processing buffer {"connection_id":146311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcd6b700012cebbec00713f568000b00a92c..."} 
[2026-08-01 15:51:50] local.INFO: Packet analysis {"connection_id":146311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcd6"} 
[2026-08-01 15:51:50] local.INFO: Extracted packet for processing {"connection_id":146311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcd6"} 
[2026-08-01 15:51:50] local.INFO: GPS Element Parsed {"raw_longitude":753647296,"raw_latitude":118748520,"longitude_deg":75.3647296,"latitude_deg":11.874852,"altitude":11,"angle":169,"satellites":44,"speed":12,"hex_longitude":"2cebbec0","hex_latitude":"0713f568","is_valid_coordinates":true} 
[2026-08-01 15:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108381184001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366600652991758336,"note":"Value kept but may cause issues"} 
[2026-08-01 15:51:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1459518092589166592,"note":"Value kept but may cause issues"} 
[2026-08-01 15:51:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785579616000,"timestamp_ms":1785579616000,"timestamp_seconds":1785579616,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcd6b700"} 
[2026-08-01 15:51:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:51:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-01 15:51:50] 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-08-01 15:51:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:51:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:51:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108381184001,"66":27626,"202":206,"83":41472,"24":12,"16":366600652991758336,"44":-1459518092589166592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,83,24,16,44]} 
[2026-08-01 15:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108381184001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:51:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 15:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366600652991758336,"km_value":366600652991758.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:51:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1459518092589166592,"description":"Unknown IO ID 44"} 
[2026-08-01 15:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108381184001,"power":27626,"mcc":206,"unknown_83":41472,"ignition":12,"odometer":null,"unknown_44":-1459518092589166592}} 
[2026-08-01 15:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":146311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:51:50] local.INFO: GPS data processed {"connection_id":146311,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:51:50] local.INFO: Acknowledgment sent {"connection_id":146311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:52:05] local.INFO: TCP Data received {"connection_id":146084,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:52:05] local.INFO: Processing buffer {"connection_id":146084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:52:05] local.INFO: IMEI packet received {"connection_id":146084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":146084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:52:10] local.INFO: TCP Data received {"connection_id":146084,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:52:10] local.INFO: Processing buffer {"connection_id":146084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:52:10] local.INFO: IMEI packet received {"connection_id":146084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":146084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:52:11] local.INFO: TCP Data received {"connection_id":146084,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcd50180012d1968c0071fee10003d011425..."} 
[2026-08-01 15:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcd50180012d1968c0071fee10003d011425..."} 
[2026-08-01 15:52:11] local.INFO: Processing buffer {"connection_id":146084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcd50180012d1968c0071fee10003d011425..."} 
[2026-08-01 15:52:11] local.INFO: Packet analysis {"connection_id":146084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcd5"} 
[2026-08-01 15:52:11] local.INFO: Extracted packet for processing {"connection_id":146084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcd5"} 
[2026-08-01 15:52:11] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108347648001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15: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-08-01 15:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785579504000,"timestamp_ms":1785579504000,"timestamp_seconds":1785579504,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcd50180"} 
[2026-08-01 15:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:52: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-08-01 15: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-01 15:52: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-08-01 15: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-08-01 15:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:52:11] 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-08-01 15:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108347648001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108347648001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:52:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:52:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108347648001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":146084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:52:11] local.INFO: GPS data processed {"connection_id":146084,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:52:11] local.INFO: Acknowledgment sent {"connection_id":146084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:52:11] local.INFO: TCP Data received {"connection_id":146084,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcd55388012d1968c0071fee10003d011428..."} 
[2026-08-01 15:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcd55388012d1968c0071fee10003d011428..."} 
[2026-08-01 15:52:11] local.INFO: Processing buffer {"connection_id":146084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcd55388012d1968c0071fee10003d011428..."} 
[2026-08-01 15:52:11] local.INFO: Packet analysis {"connection_id":146084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcd5"} 
[2026-08-01 15:52:11] local.INFO: Extracted packet for processing {"connection_id":146084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcd5"} 
[2026-08-01 15:52:11] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108353024001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15: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-08-01 15:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785579525000,"timestamp_ms":1785579525000,"timestamp_seconds":1785579525,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcd55388"} 
[2026-08-01 15:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:52: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-08-01 15: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 15:52: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-08-01 15: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-08-01 15:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:52:11] 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-08-01 15:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108353024001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108353024001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:52:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:52:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108353024001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":146084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:52:12] local.INFO: GPS data processed {"connection_id":146084,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:52:12] local.INFO: Acknowledgment sent {"connection_id":146084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:52:20] local.INFO: TCP Data received {"connection_id":146311,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcd70520012cebc5400713d248000c00a82a..."} 
[2026-08-01 15:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcd70520012cebc5400713d248000c00a82a..."} 
[2026-08-01 15:52:20] local.INFO: Processing buffer {"connection_id":146311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcd70520012cebc5400713d248000c00a82a..."} 
[2026-08-01 15:52:20] local.INFO: Packet analysis {"connection_id":146311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcd7"} 
[2026-08-01 15:52:20] local.INFO: Extracted packet for processing {"connection_id":146311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcd7"} 
[2026-08-01 15:52:20] local.INFO: GPS Element Parsed {"raw_longitude":753648960,"raw_latitude":118739528,"longitude_deg":75.364896,"latitude_deg":11.8739528,"altitude":12,"angle":168,"satellites":42,"speed":14,"hex_longitude":"2cebc540","hex_latitude":"0713d248","is_valid_coordinates":true} 
[2026-08-01 15:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108381696001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366601095373389824,"note":"Value kept but may cause issues"} 
[2026-08-01 15:52:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1459518092589307904,"note":"Value kept but may cause issues"} 
[2026-08-01 15:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785579636000,"timestamp_ms":1785579636000,"timestamp_seconds":1785579636,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcd70520"} 
[2026-08-01 15:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:52: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-08-01 15:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-01 15:52:20] 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-08-01 15:52:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108381696001,"66":27919,"3":206,"83":41472,"24":14,"16":366601095373389824,"44":-1459518092589307904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-08-01 15:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108381696001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:52:21] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-01 15:52:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 15:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366601095373389824,"km_value":366601095373389.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:52:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1459518092589307904,"description":"Unknown IO ID 44"} 
[2026-08-01 15:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108381696001,"power":27919,"unknown_3":206,"unknown_83":41472,"ignition":14,"odometer":null,"unknown_44":-1459518092589307904}} 
[2026-08-01 15:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":146311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:52:21] local.INFO: GPS data processed {"connection_id":146311,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:52:21] local.INFO: Acknowledgment sent {"connection_id":146311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:52:43] local.INFO: TCP Data received {"connection_id":146084,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcd5a590012d1968c0071fee10003d011427..."} 
[2026-08-01 15:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcd5a590012d1968c0071fee10003d011427..."} 
[2026-08-01 15:52:43] local.INFO: Processing buffer {"connection_id":146084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcd5a590012d1968c0071fee10003d011427..."} 
[2026-08-01 15:52:43] local.INFO: Packet analysis {"connection_id":146084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcd5"} 
[2026-08-01 15:52:43] local.INFO: Extracted packet for processing {"connection_id":146084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcd5"} 
[2026-08-01 15:52:43] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:52:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108358400001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:52:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:52:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15: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-08-01 15:52:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785579546000,"timestamp_ms":1785579546000,"timestamp_seconds":1785579546,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcd5a590"} 
[2026-08-01 15:52:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:52:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15: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-08-01 15: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-08-01 15:52:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:52:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:52:43] local.INFO: Teltonika packet parsed successfully {"connection_id":146084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:52:43] local.INFO: Passing IMEI to GPS processor {"connection_id":146084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:52:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":146084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:52:43] 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-08-01 15:52:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:52:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:52:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108358400001,"66":12265,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:52:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:52:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:52:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108358400001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:52:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:52:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:52:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:52:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:52:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108358400001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:52:43] local.INFO: DEBUG: GPS processor result {"connection_id":146084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:52:43] local.INFO: GPS data processed {"connection_id":146084,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:52:43] local.INFO: Acknowledgment sent {"connection_id":146084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:52:44] local.INFO: TCP Data received {"connection_id":147322,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:52:44] local.INFO: Processing buffer {"connection_id":147322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:52:44] local.INFO: IMEI packet received {"connection_id":147322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 15:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":147322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:52:45] local.INFO: TCP Data received {"connection_id":147322,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:52:45] local.INFO: Processing buffer {"connection_id":147322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:52:45] local.INFO: IMEI packet received {"connection_id":147322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":147322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:52:48] local.INFO: TCP Data received {"connection_id":147322,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:52:48] local.INFO: Processing buffer {"connection_id":147322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:52:48] local.INFO: IMEI packet received {"connection_id":147322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":147322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:52:49] local.INFO: TCP Data received {"connection_id":147322,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcd81690012cebb8400713a290000e00e523..."} 
[2026-08-01 15:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcd81690012cebb8400713a290000e00e523..."} 
[2026-08-01 15:52:49] local.INFO: Processing buffer {"connection_id":147322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcd81690012cebb8400713a290000e00e523..."} 
[2026-08-01 15:52:49] local.INFO: Packet analysis {"connection_id":147322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcd8"} 
[2026-08-01 15:52:49] local.INFO: Extracted packet for processing {"connection_id":147322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcd8"} 
[2026-08-01 15:52:49] local.INFO: GPS Element Parsed {"raw_longitude":753645632,"raw_latitude":118727312,"longitude_deg":75.3645632,"latitude_deg":11.8727312,"altitude":14,"angle":229,"satellites":35,"speed":13,"hex_longitude":"2cebb840","hex_latitude":"0713a290","is_valid_coordinates":true} 
[2026-08-01 15:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108402688001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366601859877568512,"note":"Value kept but may cause issues"} 
[2026-08-01 15:52:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1458392192687300608,"note":"Value kept but may cause issues"} 
[2026-08-01 15:52:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785579706000,"timestamp_ms":1785579706000,"timestamp_seconds":1785579706,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcd81690"} 
[2026-08-01 15:52:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:52: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-08-01 15:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 15:52:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:52:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:52:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:52: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-08-01 15:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108402688001,"66":27843,"3":206,"83":41472,"24":13,"16":366601859877568512,"44":-1458392192687300608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-08-01 15:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108402688001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:52:49] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-01 15:52:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 15:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366601859877568512,"km_value":366601859877568.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:52:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1458392192687300608,"description":"Unknown IO ID 44"} 
[2026-08-01 15:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108402688001,"power":27843,"unknown_3":206,"unknown_83":41472,"ignition":13,"odometer":null,"unknown_44":-1458392192687300608}} 
[2026-08-01 15:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":147322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:52:49] local.INFO: GPS data processed {"connection_id":147322,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:52:49] local.INFO: Acknowledgment sent {"connection_id":147322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:53:00] local.INFO: TCP Data received {"connection_id":146085,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:53:00] local.INFO: Processing buffer {"connection_id":146085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:53:00] local.INFO: IMEI packet received {"connection_id":146085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":146085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:53:05] local.INFO: TCP Data received {"connection_id":146085,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:53:05] local.INFO: Processing buffer {"connection_id":146085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:53:05] local.INFO: IMEI packet received {"connection_id":146085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":146085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:53:06] local.INFO: TCP Data received {"connection_id":146085,"ip":"42.106.6.34","data_length":93,"data_hex":"00000000000000518e010000019fbcd5f798012d1968c0071fee10003d011427..."} 
[2026-08-01 15:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146085,"packet_length":93,"packet_hex":"00000000000000518e010000019fbcd5f798012d1968c0071fee10003d011427..."} 
[2026-08-01 15:53:06] local.INFO: Processing buffer {"connection_id":146085,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fbcd5f798012d1968c0071fee10003d011427..."} 
[2026-08-01 15:53:06] local.INFO: Packet analysis {"connection_id":146085,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fbcd5"} 
[2026-08-01 15:53:06] local.INFO: Extracted packet for processing {"connection_id":146085,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fbcd5"} 
[2026-08-01 15:53:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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":93,"current_offset":40} 
[2026-08-01 15:53:06] 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-08-01 15:53:06] 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-08-01 15:53:06] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:53:06] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-01 15:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146085,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-01 15:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146085,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-01 15:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146085,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-01 15:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-01 15:53:06] local.WARNING: DEBUG: No valid data to process  
[2026-08-01 15:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":146085,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-01 15:53:06] local.ERROR: GPS data processing failed {"connection_id":146085,"error":"No valid data to process"} 
[2026-08-01 15:53:06] local.INFO: Acknowledgment sent {"connection_id":146085,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-01 15:53:20] local.INFO: TCP Data received {"connection_id":147322,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcd86898012cebaec007139af8000b00e421..."} 
[2026-08-01 15:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcd86898012cebaec007139af8000b00e421..."} 
[2026-08-01 15:53:20] local.INFO: Processing buffer {"connection_id":147322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcd86898012cebaec007139af8000b00e421..."} 
[2026-08-01 15:53:20] local.INFO: Packet analysis {"connection_id":147322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcd8"} 
[2026-08-01 15:53:20] local.INFO: Extracted packet for processing {"connection_id":147322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcd8"} 
[2026-08-01 15:53:20] local.INFO: GPS Element Parsed {"raw_longitude":753643200,"raw_latitude":118725368,"longitude_deg":75.36432,"latitude_deg":11.8725368,"altitude":11,"angle":228,"satellites":33,"speed":0,"hex_longitude":"2cebaec0","hex_latitude":"07139af8","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108404736001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366602014496391168,"note":"Value kept but may cause issues"} 
[2026-08-01 15:53:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1461347679943356416,"note":"Value kept but may cause issues"} 
[2026-08-01 15:53:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785579727000,"timestamp_ms":1785579727000,"timestamp_seconds":1785579727,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcd86898"} 
[2026-08-01 15:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:53: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-08-01 15:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 15:53:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15: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-08-01 15:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:53:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108404736001,"66":27876,"3":206,"83":41472,"24":0,"16":366602014496391168,"44":-1461347679943356416},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-08-01 15:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108404736001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:53:20] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-01 15:53:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 15:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366602014496391168,"km_value":366602014496391.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:53:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1461347679943356416,"description":"Unknown IO ID 44"} 
[2026-08-01 15:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108404736001,"power":27876,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1461347679943356416}} 
[2026-08-01 15:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":147322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:53:20] local.INFO: GPS data processed {"connection_id":147322,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:53:20] local.INFO: Acknowledgment sent {"connection_id":147322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:53:37] local.INFO: TCP Data received {"connection_id":146085,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcd649a0012d1968c0071fee10003d011426..."} 
[2026-08-01 15:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcd649a0012d1968c0071fee10003d011426..."} 
[2026-08-01 15:53:37] local.INFO: Processing buffer {"connection_id":146085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcd649a0012d1968c0071fee10003d011426..."} 
[2026-08-01 15:53:37] local.INFO: Packet analysis {"connection_id":146085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcd6"} 
[2026-08-01 15:53:37] local.INFO: Extracted packet for processing {"connection_id":146085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcd6"} 
[2026-08-01 15:53:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108369152001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785579588000,"timestamp_ms":1785579588000,"timestamp_seconds":1785579588,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcd649a0"} 
[2026-08-01 15:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:53: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-08-01 15:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 15:53:37] 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-08-01 15:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:53:37] 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-08-01 15:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108369152001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108369152001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:53:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:53:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108369152001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":146085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:53:37] local.INFO: GPS data processed {"connection_id":146085,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:53:37] local.INFO: Acknowledgment sent {"connection_id":146085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:53:43] local.INFO: TCP Data received {"connection_id":146086,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:53:43] local.INFO: Processing buffer {"connection_id":146086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:53:43] local.INFO: IMEI packet received {"connection_id":146086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 15:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":146086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:53:46] local.INFO: TCP Data received {"connection_id":146086,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:53:46] local.INFO: Processing buffer {"connection_id":146086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:53:46] local.INFO: IMEI packet received {"connection_id":146086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":146086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:53:48] local.INFO: TCP Data received {"connection_id":146086,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:53:48] local.INFO: Processing buffer {"connection_id":146086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:53:48] local.INFO: IMEI packet received {"connection_id":146086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":146086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:53:48] local.INFO: TCP Data received {"connection_id":146086,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:53:48] local.INFO: Processing buffer {"connection_id":146086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:53:48] local.INFO: IMEI packet received {"connection_id":146086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":146086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:53:49] local.INFO: TCP Data received {"connection_id":146086,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcd87450012cebad40071399e0000b00f425..."} 
[2026-08-01 15:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcd87450012cebad40071399e0000b00f425..."} 
[2026-08-01 15:53:49] local.INFO: Processing buffer {"connection_id":146086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcd87450012cebad40071399e0000b00f425..."} 
[2026-08-01 15:53:49] local.INFO: Packet analysis {"connection_id":146086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcd8"} 
[2026-08-01 15:53:49] local.INFO: Extracted packet for processing {"connection_id":146086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcd8"} 
[2026-08-01 15:53:49] local.INFO: GPS Element Parsed {"raw_longitude":753642816,"raw_latitude":118725088,"longitude_deg":75.3642816,"latitude_deg":11.8725088,"altitude":11,"angle":244,"satellites":37,"speed":5,"hex_longitude":"2cebad40","hex_latitude":"071399e0","is_valid_coordinates":true} 
[2026-08-01 15:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:53:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108410112001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:53:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366602035971227648,"note":"Value kept but may cause issues"} 
[2026-08-01 15:53:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1464021692222605312,"note":"Value kept but may cause issues"} 
[2026-08-01 15:53:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:53:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785579730000,"timestamp_ms":1785579730000,"timestamp_seconds":1785579730,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcd87450"} 
[2026-08-01 15:53:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:53: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-08-01 15:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 15:53:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:53:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:53:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:53:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:53:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:53:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:53:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:53: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-08-01 15:53:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:53:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:53:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108410112001,"66":27974,"3":206,"83":41472,"24":5,"16":366602035971227648,"44":-1464021692222605312},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-08-01 15:53:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:53:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:53:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108410112001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:53:49] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-01 15:53:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 15:53:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366602035971227648,"km_value":366602035971227.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:53:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1464021692222605312,"description":"Unknown IO ID 44"} 
[2026-08-01 15:53:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108410112001,"power":27974,"unknown_3":206,"unknown_83":41472,"ignition":5,"odometer":null,"unknown_44":-1464021692222605312}} 
[2026-08-01 15:53:49] local.INFO: DEBUG: GPS processor result {"connection_id":146086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:53:49] local.INFO: GPS data processed {"connection_id":146086,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:53:49] local.INFO: Acknowledgment sent {"connection_id":146086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:53:54] local.INFO: TCP Data received {"connection_id":146086,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcd87838012cebac8007139998000b00e926..."} 
[2026-08-01 15:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcd87838012cebac8007139998000b00e926..."} 
[2026-08-01 15:53:54] local.INFO: Processing buffer {"connection_id":146086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcd87838012cebac8007139998000b00e926..."} 
[2026-08-01 15:53:54] local.INFO: Packet analysis {"connection_id":146086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcd8"} 
[2026-08-01 15:53:54] local.INFO: Extracted packet for processing {"connection_id":146086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcd8"} 
[2026-08-01 15:53:54] local.INFO: GPS Element Parsed {"raw_longitude":753642624,"raw_latitude":118725016,"longitude_deg":75.3642624,"latitude_deg":11.8725016,"altitude":11,"angle":233,"satellites":38,"speed":6,"hex_longitude":"2cebac80","hex_latitude":"07139998","is_valid_coordinates":true} 
[2026-08-01 15:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108410880001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366602044561162240,"note":"Value kept but may cause issues"} 
[2026-08-01 15:53:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1464443904687742976,"note":"Value kept but may cause issues"} 
[2026-08-01 15:53:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785579731000,"timestamp_ms":1785579731000,"timestamp_seconds":1785579731,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcd87838"} 
[2026-08-01 15:53:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:53:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-01 15:53:54] 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-08-01 15:53:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:53:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:53:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108410880001,"66":27800,"3":206,"83":41472,"24":6,"16":366602044561162240,"44":-1464443904687742976},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-08-01 15:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108410880001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:53:54] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-01 15:53:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 15:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366602044561162240,"km_value":366602044561162.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:53:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1464443904687742976,"description":"Unknown IO ID 44"} 
[2026-08-01 15:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108410880001,"power":27800,"unknown_3":206,"unknown_83":41472,"ignition":6,"odometer":null,"unknown_44":-1464443904687742976}} 
[2026-08-01 15:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":146086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:53:54] local.INFO: GPS data processed {"connection_id":146086,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:53:54] local.INFO: Acknowledgment sent {"connection_id":146086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:54:00] local.INFO: TCP Data received {"connection_id":147323,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147323,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:54:00] local.INFO: Processing buffer {"connection_id":147323,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:54:00] local.INFO: IMEI packet received {"connection_id":147323,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":147323,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:54:05] local.INFO: TCP Data received {"connection_id":147323,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147323,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:54:05] local.INFO: Processing buffer {"connection_id":147323,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:54:05] local.INFO: IMEI packet received {"connection_id":147323,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":147323,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:54:06] local.INFO: TCP Data received {"connection_id":147323,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcd69ba8012d1968c0071fee10003d011427..."} 
[2026-08-01 15:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcd69ba8012d1968c0071fee10003d011427..."} 
[2026-08-01 15:54:06] local.INFO: Processing buffer {"connection_id":147323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcd69ba8012d1968c0071fee10003d011427..."} 
[2026-08-01 15:54:06] local.INFO: Packet analysis {"connection_id":147323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcd6"} 
[2026-08-01 15:54:06] local.INFO: Extracted packet for processing {"connection_id":147323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcd6"} 
[2026-08-01 15:54:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108374528001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785579609000,"timestamp_ms":1785579609000,"timestamp_seconds":1785579609,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcd69ba8"} 
[2026-08-01 15:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 15:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15: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-08-01 15:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:54:06] 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-08-01 15:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108374528001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108374528001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:54:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:54:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108374528001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":147323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:54:06] local.INFO: GPS data processed {"connection_id":147323,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:54:06] local.INFO: Acknowledgment sent {"connection_id":147323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:54:24] local.INFO: TCP Data received {"connection_id":146086,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcd88008012cebabc007139918000b00d326..."} 
[2026-08-01 15:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcd88008012cebabc007139918000b00d326..."} 
[2026-08-01 15:54:24] local.INFO: Processing buffer {"connection_id":146086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcd88008012cebabc007139918000b00d326..."} 
[2026-08-01 15:54:24] local.INFO: Packet analysis {"connection_id":146086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcd8"} 
[2026-08-01 15:54:24] local.INFO: Extracted packet for processing {"connection_id":146086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcd8"} 
[2026-08-01 15:54:24] local.INFO: GPS Element Parsed {"raw_longitude":753642432,"raw_latitude":118724888,"longitude_deg":75.3642432,"latitude_deg":11.8724888,"altitude":11,"angle":211,"satellites":38,"speed":2,"hex_longitude":"2cebabc0","hex_latitude":"07139918","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108411136001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366602057446064128,"note":"Value kept but may cause issues"} 
[2026-08-01 15:54:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1464655010920294400,"note":"Value kept but may cause issues"} 
[2026-08-01 15:54:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785579733000,"timestamp_ms":1785579733000,"timestamp_seconds":1785579733,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcd88008"} 
[2026-08-01 15:54:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:54: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-08-01 15: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 15:54:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15: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-08-01 15:54:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":146086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":146086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":146086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:54:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108411136001,"66":27919,"3":206,"83":41472,"24":2,"16":366602057446064128,"44":-1464655010920294400},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-08-01 15:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108411136001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:54:24] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-01 15:54:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 15:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366602057446064128,"km_value":366602057446064.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:54:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1464655010920294400,"description":"Unknown IO ID 44"} 
[2026-08-01 15:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108411136001,"power":27919,"unknown_3":206,"unknown_83":41472,"ignition":2,"odometer":null,"unknown_44":-1464655010920294400}} 
[2026-08-01 15:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":146086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:54:24] local.INFO: GPS data processed {"connection_id":146086,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:54:24] local.INFO: Acknowledgment sent {"connection_id":146086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:54:37] local.INFO: TCP Data received {"connection_id":147323,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcd6edb0012d1968c0071fee10003d011427..."} 
[2026-08-01 15:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcd6edb0012d1968c0071fee10003d011427..."} 
[2026-08-01 15:54:37] local.INFO: Processing buffer {"connection_id":147323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcd6edb0012d1968c0071fee10003d011427..."} 
[2026-08-01 15:54:37] local.INFO: Packet analysis {"connection_id":147323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcd6"} 
[2026-08-01 15:54:37] local.INFO: Extracted packet for processing {"connection_id":147323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcd6"} 
[2026-08-01 15:54:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108379904001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785579630000,"timestamp_ms":1785579630000,"timestamp_seconds":1785579630,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcd6edb0"} 
[2026-08-01 15:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:54: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-08-01 15:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 15:54:37] 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-08-01 15:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:54:37] 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-08-01 15:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108379904001,"66":12254,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108379904001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:54:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:54:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108379904001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":147323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577878,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:54:37] local.INFO: GPS data processed {"connection_id":147323,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:54:37] local.INFO: Acknowledgment sent {"connection_id":147323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:54:43] local.INFO: TCP Data received {"connection_id":146312,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:54:43] local.INFO: Processing buffer {"connection_id":146312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:54:43] local.INFO: IMEI packet received {"connection_id":146312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 15:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":146312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:54:44] local.INFO: TCP Data received {"connection_id":146312,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:54:44] local.INFO: Processing buffer {"connection_id":146312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:54:44] local.INFO: IMEI packet received {"connection_id":146312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":146312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:54:45] local.INFO: TCP Data received {"connection_id":146312,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:54:45] local.INFO: Processing buffer {"connection_id":146312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:54:45] local.INFO: IMEI packet received {"connection_id":146312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":146312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:54:49] local.INFO: TCP Data received {"connection_id":146312,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:54:49] local.INFO: Processing buffer {"connection_id":146312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:54:49] local.INFO: IMEI packet received {"connection_id":146312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":146312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:54:50] local.INFO: TCP Data received {"connection_id":146312,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcd883f0012cebab40071398e8000b00e727..."} 
[2026-08-01 15:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcd883f0012cebab40071398e8000b00e727..."} 
[2026-08-01 15:54:50] local.INFO: Processing buffer {"connection_id":146312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcd883f0012cebab40071398e8000b00e727..."} 
[2026-08-01 15:54:50] local.INFO: Packet analysis {"connection_id":146312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcd8"} 
[2026-08-01 15:54:50] local.INFO: Extracted packet for processing {"connection_id":146312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcd8"} 
[2026-08-01 15:54:50] local.INFO: GPS Element Parsed {"raw_longitude":753642304,"raw_latitude":118724840,"longitude_deg":75.3642304,"latitude_deg":11.872484,"altitude":11,"angle":231,"satellites":39,"speed":1,"hex_longitude":"2cebab40","hex_latitude":"071398e8","is_valid_coordinates":true} 
[2026-08-01 15:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108411648001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366602066035998720,"note":"Value kept but may cause issues"} 
[2026-08-01 15:54:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1464866117152860160,"note":"Value kept but may cause issues"} 
[2026-08-01 15:54:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785579734000,"timestamp_ms":1785579734000,"timestamp_seconds":1785579734,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcd883f0"} 
[2026-08-01 15:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:54:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 15:54:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:54:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:54:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108411648001,"66":27919,"3":206,"83":41472,"24":1,"16":366602066035998720,"44":-1464866117152860160},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-08-01 15:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108411648001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:54:50] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-01 15:54:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 15:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366602066035998720,"km_value":366602066035998.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:54:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1464866117152860160,"description":"Unknown IO ID 44"} 
[2026-08-01 15:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108411648001,"power":27919,"unknown_3":206,"unknown_83":41472,"ignition":1,"odometer":null,"unknown_44":-1464866117152860160}} 
[2026-08-01 15:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":146312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:54:50] local.INFO: GPS data processed {"connection_id":146312,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:54:50] local.INFO: Acknowledgment sent {"connection_id":146312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:54:59] local.INFO: TCP Data received {"connection_id":146087,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:54:59] local.INFO: Processing buffer {"connection_id":146087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:54:59] local.INFO: IMEI packet received {"connection_id":146087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":146087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:55:00] local.INFO: TCP Data received {"connection_id":146087,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:55:00] local.INFO: Processing buffer {"connection_id":146087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:55:00] local.INFO: IMEI packet received {"connection_id":146087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":146087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:55:05] local.INFO: TCP Data received {"connection_id":146087,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:55:05] local.INFO: Processing buffer {"connection_id":146087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:55:05] local.INFO: IMEI packet received {"connection_id":146087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":146087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:55:06] local.INFO: TCP Data received {"connection_id":146087,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcd73fb8012d1968c0071fee10003d011427..."} 
[2026-08-01 15:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcd73fb8012d1968c0071fee10003d011427..."} 
[2026-08-01 15:55:06] local.INFO: Processing buffer {"connection_id":146087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcd73fb8012d1968c0071fee10003d011427..."} 
[2026-08-01 15:55:06] local.INFO: Packet analysis {"connection_id":146087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcd7"} 
[2026-08-01 15:55:06] local.INFO: Extracted packet for processing {"connection_id":146087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcd7"} 
[2026-08-01 15:55:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108385280001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785579651000,"timestamp_ms":1785579651000,"timestamp_seconds":1785579651,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcd73fb8"} 
[2026-08-01 15:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-01 15:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15: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-08-01 15:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:55:06] 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-08-01 15:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108385280001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108385280001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:55:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:55:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108385280001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":146087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:55:06] local.INFO: GPS data processed {"connection_id":146087,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:55:06] local.INFO: Acknowledgment sent {"connection_id":146087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:55:23] local.INFO: TCP Data received {"connection_id":146312,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcda3d58012ceb7a80071383f8000d01002b..."} 
[2026-08-01 15:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcda3d58012ceb7a80071383f8000d01002b..."} 
[2026-08-01 15:55:23] local.INFO: Processing buffer {"connection_id":146312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcda3d58012ceb7a80071383f8000d01002b..."} 
[2026-08-01 15:55:23] local.INFO: Packet analysis {"connection_id":146312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcda"} 
[2026-08-01 15:55:23] local.INFO: Extracted packet for processing {"connection_id":146312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcda"} 
[2026-08-01 15:55:23] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118719480,"longitude_deg":75.3629824,"latitude_deg":11.871948,"altitude":13,"angle":256,"satellites":43,"speed":8,"hex_longitude":"2ceb7a80","hex_latitude":"071383f8","is_valid_coordinates":true} 
[2026-08-01 15:55:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108440576001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366602723165995008,"note":"Value kept but may cause issues"} 
[2026-08-01 15:55:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653524688896,"note":"Value kept but may cause issues"} 
[2026-08-01 15:55:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:55:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785579847000,"timestamp_ms":1785579847000,"timestamp_seconds":1785579847,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcda3d58"} 
[2026-08-01 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-08-01 15:55:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 15:55:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:55:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:55:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:55:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:55:23] local.INFO: Teltonika packet parsed successfully {"connection_id":146312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:55:23] local.INFO: Passing IMEI to GPS processor {"connection_id":146312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:55:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":146312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:55:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:55:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:55:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:55:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108440576001,"66":27332,"3":206,"83":41472,"24":8,"16":366602723165995008,"44":-1478517653524688896},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-08-01 15:55:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:55:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:55:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108440576001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:55:23] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-01 15:55:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 15:55:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366602723165995008,"km_value":366602723165995.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:55:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653524688896,"description":"Unknown IO ID 44"} 
[2026-08-01 15:55:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108440576001,"power":27332,"unknown_3":206,"unknown_83":41472,"ignition":8,"odometer":null,"unknown_44":-1478517653524688896}} 
[2026-08-01 15:55:23] local.INFO: DEBUG: GPS processor result {"connection_id":146312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:55:23] local.INFO: GPS data processed {"connection_id":146312,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:55:23] local.INFO: Acknowledgment sent {"connection_id":146312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:55:37] local.INFO: TCP Data received {"connection_id":146087,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcd791c0012d1968c0071fee10003d011425..."} 
[2026-08-01 15:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcd791c0012d1968c0071fee10003d011425..."} 
[2026-08-01 15:55:37] local.INFO: Processing buffer {"connection_id":146087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcd791c0012d1968c0071fee10003d011425..."} 
[2026-08-01 15:55:37] local.INFO: Packet analysis {"connection_id":146087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcd7"} 
[2026-08-01 15:55:37] local.INFO: Extracted packet for processing {"connection_id":146087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcd7"} 
[2026-08-01 15:55:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108390656001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785579672000,"timestamp_ms":1785579672000,"timestamp_seconds":1785579672,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcd791c0"} 
[2026-08-01 15:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15: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-08-01 15:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 15:55:37] 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-08-01 15:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:55:37] 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-08-01 15:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108390656001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108390656001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:55:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:55:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108390656001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":146087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:55:37] local.INFO: GPS data processed {"connection_id":146087,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:55:37] local.INFO: Acknowledgment sent {"connection_id":146087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:55:49] local.INFO: TCP Data received {"connection_id":147324,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:55:49] local.INFO: Processing buffer {"connection_id":147324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:55:49] local.INFO: IMEI packet received {"connection_id":147324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 15:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":147324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:55:54] local.INFO: TCP Data received {"connection_id":147324,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:55:54] local.INFO: Processing buffer {"connection_id":147324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:55:54] local.INFO: IMEI packet received {"connection_id":147324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":147324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:55:55] local.INFO: TCP Data received {"connection_id":147324,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcda8f60012ceb700007137fd8000e01022b..."} 
[2026-08-01 15:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcda8f60012ceb700007137fd8000e01022b..."} 
[2026-08-01 15:55:55] local.INFO: Processing buffer {"connection_id":147324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcda8f60012ceb700007137fd8000e01022b..."} 
[2026-08-01 15:55:55] local.INFO: Packet analysis {"connection_id":147324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcda"} 
[2026-08-01 15:55:55] local.INFO: Extracted packet for processing {"connection_id":147324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcda"} 
[2026-08-01 15:55:55] local.INFO: GPS Element Parsed {"raw_longitude":753627136,"raw_latitude":118718424,"longitude_deg":75.3627136,"latitude_deg":11.8718424,"altitude":14,"angle":258,"satellites":43,"speed":0,"hex_longitude":"2ceb7000","hex_latitude":"07137fd8","is_valid_coordinates":true} 
[2026-08-01 15:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108440832001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366602860604948480,"note":"Value kept but may cause issues"} 
[2026-08-01 15:55:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759757244416,"note":"Value kept but may cause issues"} 
[2026-08-01 15:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785579868000,"timestamp_ms":1785579868000,"timestamp_seconds":1785579868,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcda8f60"} 
[2026-08-01 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-08-01 15:55: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-08-01 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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-01 15:55:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:55:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 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-08-01 15:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":147324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":147324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":147324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108440832001,"66":27876,"191":206,"83":41472,"24":0,"16":366602860604948480,"44":-1478728759757244416},"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-08-01 15:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108440832001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:55:55] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 15:55:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 15:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366602860604948480,"km_value":366602860604948.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:55:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759757244416,"description":"Unknown IO ID 44"} 
[2026-08-01 15:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108440832001,"power":27876,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759757244416}} 
[2026-08-01 15:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":147324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:55:55] local.INFO: GPS data processed {"connection_id":147324,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:55:55] local.INFO: Acknowledgment sent {"connection_id":147324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:55:55] local.INFO: TCP Data received {"connection_id":147324,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcdab670012ceb6b4007137df0000d00f427..."} 
[2026-08-01 15:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcdab670012ceb6b4007137df0000d00f427..."} 
[2026-08-01 15:55:55] local.INFO: Processing buffer {"connection_id":147324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcdab670012ceb6b4007137df0000d00f427..."} 
[2026-08-01 15:55:55] local.INFO: Packet analysis {"connection_id":147324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcda"} 
[2026-08-01 15:55:55] local.INFO: Extracted packet for processing {"connection_id":147324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcda"} 
[2026-08-01 15:55:55] local.INFO: GPS Element Parsed {"raw_longitude":753625920,"raw_latitude":118717936,"longitude_deg":75.362592,"latitude_deg":11.8717936,"altitude":13,"angle":244,"satellites":39,"speed":8,"hex_longitude":"2ceb6b40","hex_latitude":"07137df0","is_valid_coordinates":true} 
[2026-08-01 15:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108446208001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366602925029457920,"note":"Value kept but may cause issues"} 
[2026-08-01 15:55:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1481684247012976640,"note":"Value kept but may cause issues"} 
[2026-08-01 15:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785579878000,"timestamp_ms":1785579878000,"timestamp_seconds":1785579878,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcdab670"} 
[2026-08-01 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-08-01 15:55: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-08-01 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 15:55:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:55:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 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-08-01 15:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":147324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":147324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":147324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108446208001,"66":27876,"191":206,"83":41472,"24":8,"16":366602925029457920,"44":-1481684247012976640},"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-08-01 15:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108446208001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:55:55] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 15:55:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 15:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366602925029457920,"km_value":366602925029457.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:55:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1481684247012976640,"description":"Unknown IO ID 44"} 
[2026-08-01 15:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108446208001,"power":27876,"unknown_191":206,"unknown_83":41472,"ignition":8,"odometer":null,"unknown_44":-1481684247012976640}} 
[2026-08-01 15:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":147324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:55:55] local.INFO: GPS data processed {"connection_id":147324,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:55:55] local.INFO: Acknowledgment sent {"connection_id":147324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:56:00] local.INFO: TCP Data received {"connection_id":148627,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:56:00] local.INFO: Processing buffer {"connection_id":148627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:56:00] local.INFO: IMEI packet received {"connection_id":148627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":148627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:56:02] local.INFO: TCP Data received {"connection_id":148627,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:56:02] local.INFO: Processing buffer {"connection_id":148627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:56:02] local.INFO: IMEI packet received {"connection_id":148627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":148627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:56:05] local.INFO: TCP Data received {"connection_id":148627,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:56:05] local.INFO: Processing buffer {"connection_id":148627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:56:05] local.INFO: IMEI packet received {"connection_id":148627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":148627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:56:06] local.INFO: TCP Data received {"connection_id":148627,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcd7e3c8012d1968c0071fee10003d011427..."} 
[2026-08-01 15:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcd7e3c8012d1968c0071fee10003d011427..."} 
[2026-08-01 15:56:06] local.INFO: Processing buffer {"connection_id":148627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcd7e3c8012d1968c0071fee10003d011427..."} 
[2026-08-01 15:56:06] local.INFO: Packet analysis {"connection_id":148627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcd7"} 
[2026-08-01 15:56:06] local.INFO: Extracted packet for processing {"connection_id":148627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcd7"} 
[2026-08-01 15:56:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108396032001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785579693000,"timestamp_ms":1785579693000,"timestamp_seconds":1785579693,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcd7e3c8"} 
[2026-08-01 15:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 15:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15: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-08-01 15:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:56:06] 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-08-01 15:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108396032001,"66":12113,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108396032001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:56:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:56:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108396032001,"power":12113,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":148627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577885,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:56:06] local.INFO: GPS data processed {"connection_id":148627,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:56:06] local.INFO: Acknowledgment sent {"connection_id":148627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:56:26] local.INFO: TCP Data received {"connection_id":147324,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcdae550012ceb614007137aa8000c010729..."} 
[2026-08-01 15:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcdae550012ceb614007137aa8000c010729..."} 
[2026-08-01 15:56:26] local.INFO: Processing buffer {"connection_id":147324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcdae550012ceb614007137aa8000c010729..."} 
[2026-08-01 15:56:26] local.INFO: Packet analysis {"connection_id":147324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcda"} 
[2026-08-01 15:56:26] local.INFO: Extracted packet for processing {"connection_id":147324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcda"} 
[2026-08-01 15:56:26] local.INFO: GPS Element Parsed {"raw_longitude":753623360,"raw_latitude":118717096,"longitude_deg":75.362336,"latitude_deg":11.8717096,"altitude":12,"angle":263,"satellites":41,"speed":7,"hex_longitude":"2ceb6140","hex_latitude":"07137aa8","is_valid_coordinates":true} 
[2026-08-01 15:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108448768001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366603053878476800,"note":"Value kept but may cause issues"} 
[2026-08-01 15:56:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483021253152477184,"note":"Value kept but may cause issues"} 
[2026-08-01 15:56:26] 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-08-01 15:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785579890000,"timestamp_ms":1785579890000,"timestamp_seconds":1785579890,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcdae550"} 
[2026-08-01 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-08-01 15:56: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-08-01 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 15:56:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:56:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 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-08-01 15:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":147324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":147324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":147324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 15:56:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 15:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 15:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 15:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108448768001,"66":27767,"191":206,"83":41472,"24":7,"16":366603053878476800,"44":-1483021253152477184},"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-08-01 15:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 15:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 15:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108448768001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:56:26] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 15:56:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 15:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366603053878476800,"km_value":366603053878476.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:56:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483021253152477184,"description":"Unknown IO ID 44"} 
[2026-08-01 15:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108448768001,"power":27767,"unknown_191":206,"unknown_83":41472,"ignition":7,"odometer":null,"unknown_44":-1483021253152477184}} 
[2026-08-01 15:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":147324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:56:26] local.INFO: GPS data processed {"connection_id":147324,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:56:26] local.INFO: Acknowledgment sent {"connection_id":147324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:56:37] local.INFO: TCP Data received {"connection_id":148627,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcd835d0012d1968c0071fee10003d011427..."} 
[2026-08-01 15:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcd835d0012d1968c0071fee10003d011427..."} 
[2026-08-01 15:56:37] local.INFO: Processing buffer {"connection_id":148627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcd835d0012d1968c0071fee10003d011427..."} 
[2026-08-01 15:56:37] local.INFO: Packet analysis {"connection_id":148627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcd8"} 
[2026-08-01 15:56:37] local.INFO: Extracted packet for processing {"connection_id":148627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcd8"} 
[2026-08-01 15:56:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108401408001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785579714000,"timestamp_ms":1785579714000,"timestamp_seconds":1785579714,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcd835d0"} 
[2026-08-01 15:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:56: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-08-01 15:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-08-01 15:56:37] 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-08-01 15:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:56:37] 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-08-01 15:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108401408001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108401408001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:56:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:56:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108401408001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":148627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577887,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:56:37] local.INFO: GPS data processed {"connection_id":148627,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:56:37] local.INFO: Acknowledgment sent {"connection_id":148627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:56:57] local.INFO: TCP Data received {"connection_id":146088,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:56:57] local.INFO: Processing buffer {"connection_id":146088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 15:56:57] local.INFO: IMEI packet received {"connection_id":146088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 15:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":146088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:57:00] local.INFO: TCP Data received {"connection_id":146089,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:57:00] local.INFO: Processing buffer {"connection_id":146089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:57:00] local.INFO: IMEI packet received {"connection_id":146089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":146089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:57:00] local.INFO: TCP Data received {"connection_id":146088,"ip":"42.106.6.23","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 15:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146088,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 15:57:00] local.INFO: Processing buffer {"connection_id":146088,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 15:57:00] local.INFO: IMEI packet received {"connection_id":146088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 15:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":146088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:57:05] local.INFO: TCP Data received {"connection_id":146089,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:57:05] local.INFO: Processing buffer {"connection_id":146089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:57:05] local.INFO: IMEI packet received {"connection_id":146089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":146089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:57:06] local.INFO: TCP Data received {"connection_id":146089,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcdbbc28012d1968c0071fee10003d011428..."} 
[2026-08-01 15:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcdbbc28012d1968c0071fee10003d011428..."} 
[2026-08-01 15:57:06] local.INFO: Processing buffer {"connection_id":146089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcdbbc28012d1968c0071fee10003d011428..."} 
[2026-08-01 15:57:06] local.INFO: Packet analysis {"connection_id":146089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcdb"} 
[2026-08-01 15:57:06] local.INFO: Extracted packet for processing {"connection_id":146089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcdb"} 
[2026-08-01 15:57:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 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-08-01 15:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108460544001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785579945000,"timestamp_ms":1785579945000,"timestamp_seconds":1785579945,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcdbbc28"} 
[2026-08-01 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-08-01 15:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 15:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 15:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:57:06] 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-08-01 15:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108460544001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108460544001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:57:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:57:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108460544001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":146089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:57:06] local.INFO: GPS data processed {"connection_id":146089,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:57:06] local.INFO: Acknowledgment sent {"connection_id":146089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:57:37] local.INFO: TCP Data received {"connection_id":146089,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcdc0e30012d1968c0071fee10003d011426..."} 
[2026-08-01 15:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcdc0e30012d1968c0071fee10003d011426..."} 
[2026-08-01 15:57:37] local.INFO: Processing buffer {"connection_id":146089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcdc0e30012d1968c0071fee10003d011426..."} 
[2026-08-01 15:57:37] local.INFO: Packet analysis {"connection_id":146089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcdc"} 
[2026-08-01 15:57:37] local.INFO: Extracted packet for processing {"connection_id":146089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcdc"} 
[2026-08-01 15:57:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108465920001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785579966000,"timestamp_ms":1785579966000,"timestamp_seconds":1785579966,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcdc0e30"} 
[2026-08-01 15:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:57: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-08-01 15:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 15:57:37] 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-08-01 15:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:57:37] 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-08-01 15:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108465920001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108465920001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:57:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:57:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108465920001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":146089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577889,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:57:37] local.INFO: GPS data processed {"connection_id":146089,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:57:37] local.INFO: Acknowledgment sent {"connection_id":146089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:58:00] local.INFO: TCP Data received {"connection_id":148628,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:58:00] local.INFO: Processing buffer {"connection_id":148628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:58:00] local.INFO: IMEI packet received {"connection_id":148628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":148628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:58:05] local.INFO: TCP Data received {"connection_id":148628,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:58:05] local.INFO: Processing buffer {"connection_id":148628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:58:05] local.INFO: IMEI packet received {"connection_id":148628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":148628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:58:06] local.INFO: TCP Data received {"connection_id":148628,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcdc6038012d1968c0071fee10003d011427..."} 
[2026-08-01 15:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcdc6038012d1968c0071fee10003d011427..."} 
[2026-08-01 15:58:06] local.INFO: Processing buffer {"connection_id":148628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcdc6038012d1968c0071fee10003d011427..."} 
[2026-08-01 15:58:06] local.INFO: Packet analysis {"connection_id":148628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcdc"} 
[2026-08-01 15:58:06] local.INFO: Extracted packet for processing {"connection_id":148628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcdc"} 
[2026-08-01 15:58:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108471296001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785579987000,"timestamp_ms":1785579987000,"timestamp_seconds":1785579987,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcdc6038"} 
[2026-08-01 15:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 15:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:58:06] 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-08-01 15:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108471296001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108471296001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:58:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:58:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108471296001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":148628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:58:06] local.INFO: GPS data processed {"connection_id":148628,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:58:06] local.INFO: Acknowledgment sent {"connection_id":148628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:58:37] local.INFO: TCP Data received {"connection_id":148628,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcdcb240012d1968c0071fee10003d011426..."} 
[2026-08-01 15:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcdcb240012d1968c0071fee10003d011426..."} 
[2026-08-01 15:58:37] local.INFO: Processing buffer {"connection_id":148628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcdcb240012d1968c0071fee10003d011426..."} 
[2026-08-01 15:58:37] local.INFO: Packet analysis {"connection_id":148628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcdc"} 
[2026-08-01 15:58:37] local.INFO: Extracted packet for processing {"connection_id":148628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcdc"} 
[2026-08-01 15:58:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108476672001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785580008000,"timestamp_ms":1785580008000,"timestamp_seconds":1785580008,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcdcb240"} 
[2026-08-01 15:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:58: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-08-01 15:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 15:58:37] 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-08-01 15:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:58:37] 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-08-01 15:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108476672001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108476672001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:58:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:58:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108476672001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":148628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:58:37] local.INFO: GPS data processed {"connection_id":148628,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:58:37] local.INFO: Acknowledgment sent {"connection_id":148628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:59:05] local.INFO: TCP Data received {"connection_id":147326,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:59:05] local.INFO: Processing buffer {"connection_id":147326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:59:05] local.INFO: IMEI packet received {"connection_id":147326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 15:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":147326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 15:59:10] local.INFO: TCP Data received {"connection_id":147326,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:59:10] local.INFO: Processing buffer {"connection_id":147326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 15:59:10] local.INFO: IMEI packet received {"connection_id":147326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 15:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":147326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 15:59:11] local.INFO: TCP Data received {"connection_id":147326,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcdd0448012d1968c0071fee10003d011427..."} 
[2026-08-01 15:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcdd0448012d1968c0071fee10003d011427..."} 
[2026-08-01 15:59:11] local.INFO: Processing buffer {"connection_id":147326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcdd0448012d1968c0071fee10003d011427..."} 
[2026-08-01 15:59:11] local.INFO: Packet analysis {"connection_id":147326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcdd"} 
[2026-08-01 15:59:11] local.INFO: Extracted packet for processing {"connection_id":147326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcdd"} 
[2026-08-01 15:59:11] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15: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-08-01 15:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108482048001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15: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-08-01 15:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785580029000,"timestamp_ms":1785580029000,"timestamp_seconds":1785580029,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcdd0448"} 
[2026-08-01 15:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:59: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-08-01 15: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-08-01 15: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-08-01 15: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-08-01 15:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":147326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":147326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":147326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:59:11] 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-08-01 15:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108482048001,"66":12254,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108482048001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:59:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:59:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108482048001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":147326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577892,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:59:11] local.INFO: GPS data processed {"connection_id":147326,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:59:11] local.INFO: Acknowledgment sent {"connection_id":147326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:59:12] local.INFO: TCP Data received {"connection_id":147326,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcdd5650012d1968c0071fee10003d011426..."} 
[2026-08-01 15:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcdd5650012d1968c0071fee10003d011426..."} 
[2026-08-01 15:59:12] local.INFO: Processing buffer {"connection_id":147326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcdd5650012d1968c0071fee10003d011426..."} 
[2026-08-01 15:59:12] local.INFO: Packet analysis {"connection_id":147326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcdd"} 
[2026-08-01 15:59:12] local.INFO: Extracted packet for processing {"connection_id":147326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcdd"} 
[2026-08-01 15:59:12] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108487424001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 15:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785580050000,"timestamp_ms":1785580050000,"timestamp_seconds":1785580050,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcdd5650"} 
[2026-08-01 15:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:59: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-08-01 15:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-01 15:59:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 15:59:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":147326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":147326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":147326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:59:12] 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-08-01 15:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108487424001,"66":12232,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108487424001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:59:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:59:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108487424001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":147326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:59:12] local.INFO: GPS data processed {"connection_id":147326,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:59:12] local.INFO: Acknowledgment sent {"connection_id":147326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 15:59:43] local.INFO: TCP Data received {"connection_id":147326,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcdda858012d1968c0071fee10003d011428..."} 
[2026-08-01 15:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcdda858012d1968c0071fee10003d011428..."} 
[2026-08-01 15:59:43] local.INFO: Processing buffer {"connection_id":147326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcdda858012d1968c0071fee10003d011428..."} 
[2026-08-01 15:59:43] local.INFO: Packet analysis {"connection_id":147326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcdd"} 
[2026-08-01 15:59:43] local.INFO: Extracted packet for processing {"connection_id":147326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcdd"} 
[2026-08-01 15:59:43] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 15:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 15:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108492800001,"note":"Value kept but may cause issues"} 
[2026-08-01 15:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 15:59:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 15:59: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-08-01 15:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785580071000,"timestamp_ms":1785580071000,"timestamp_seconds":1785580071,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcdda858"} 
[2026-08-01 15:59:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 15:59:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 15:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-01 15:59:43] 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-08-01 15:59:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 15:59:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 15:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 15:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":147326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 15:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":147326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":147326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 15:59:43] 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-08-01 15:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 15:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 15:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108492800001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 15:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 15:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 15:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108492800001,"description":"Unknown IO ID 0"} 
[2026-08-01 15:59:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 15:59:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 15:59:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 15:59:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 15:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108492800001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 15:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":147326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577894,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 15:59:43] local.INFO: GPS data processed {"connection_id":147326,"processed":1,"errors":0,"total":1} 
[2026-08-01 15:59:43] local.INFO: Acknowledgment sent {"connection_id":147326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:00:00] local.INFO: TCP Data received {"connection_id":146313,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:00:00] local.INFO: Processing buffer {"connection_id":146313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:00:00] local.INFO: IMEI packet received {"connection_id":146313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":146313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:00:05] local.INFO: TCP Data received {"connection_id":146313,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:00:05] local.INFO: Processing buffer {"connection_id":146313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:00:05] local.INFO: IMEI packet received {"connection_id":146313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":146313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:00:06] local.INFO: TCP Data received {"connection_id":146313,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcddfa60012d1968c0071fee10003d011428..."} 
[2026-08-01 16:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcddfa60012d1968c0071fee10003d011428..."} 
[2026-08-01 16:00:06] local.INFO: Processing buffer {"connection_id":146313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcddfa60012d1968c0071fee10003d011428..."} 
[2026-08-01 16:00:06] local.INFO: Packet analysis {"connection_id":146313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcdd"} 
[2026-08-01 16:00:06] local.INFO: Extracted packet for processing {"connection_id":146313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcdd"} 
[2026-08-01 16:00:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108498176001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785580092000,"timestamp_ms":1785580092000,"timestamp_seconds":1785580092,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcddfa60"} 
[2026-08-01 16:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16: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-08-01 16:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:00:06] 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-08-01 16:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108498176001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108498176001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:00:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:00:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108498176001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":146313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:00:06] local.INFO: GPS data processed {"connection_id":146313,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:00:06] local.INFO: Acknowledgment sent {"connection_id":146313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:00:37] local.INFO: TCP Data received {"connection_id":146313,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcde4c68012d1968c0071fee10003d011425..."} 
[2026-08-01 16:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcde4c68012d1968c0071fee10003d011425..."} 
[2026-08-01 16:00:37] local.INFO: Processing buffer {"connection_id":146313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcde4c68012d1968c0071fee10003d011425..."} 
[2026-08-01 16:00:37] local.INFO: Packet analysis {"connection_id":146313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcde"} 
[2026-08-01 16:00:37] local.INFO: Extracted packet for processing {"connection_id":146313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcde"} 
[2026-08-01 16:00:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108503552001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785580113000,"timestamp_ms":1785580113000,"timestamp_seconds":1785580113,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcde4c68"} 
[2026-08-01 16:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:00: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-08-01 16:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:00:37] 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-08-01 16:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:00:37] 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-08-01 16:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108503552001,"66":12211,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108503552001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:00:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:00:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108503552001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":146313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:00:37] local.INFO: GPS data processed {"connection_id":146313,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:00:37] local.INFO: Acknowledgment sent {"connection_id":146313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:01:00] local.INFO: TCP Data received {"connection_id":146092,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:01:00] local.INFO: Processing buffer {"connection_id":146092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:01:00] local.INFO: IMEI packet received {"connection_id":146092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":146092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:01:05] local.INFO: TCP Data received {"connection_id":146092,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:01:05] local.INFO: Processing buffer {"connection_id":146092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:01:05] local.INFO: IMEI packet received {"connection_id":146092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":146092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:01:06] local.INFO: TCP Data received {"connection_id":146092,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcde9e70012d1968c0071fee10003d011427..."} 
[2026-08-01 16:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcde9e70012d1968c0071fee10003d011427..."} 
[2026-08-01 16:01:06] local.INFO: Processing buffer {"connection_id":146092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcde9e70012d1968c0071fee10003d011427..."} 
[2026-08-01 16:01:06] local.INFO: Packet analysis {"connection_id":146092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcde"} 
[2026-08-01 16:01:06] local.INFO: Extracted packet for processing {"connection_id":146092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcde"} 
[2026-08-01 16:01:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108508928001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785580134000,"timestamp_ms":1785580134000,"timestamp_seconds":1785580134,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcde9e70"} 
[2026-08-01 16:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-01 16:01:06] 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-08-01 16: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-08-01 16:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:01:06] 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-08-01 16:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108508928001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108508928001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:01:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:01:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108508928001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":146092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577897,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:01:06] local.INFO: GPS data processed {"connection_id":146092,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:01:06] local.INFO: Acknowledgment sent {"connection_id":146092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:01:37] local.INFO: TCP Data received {"connection_id":146092,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcdef078012d1968c0071fee10003d011427..."} 
[2026-08-01 16:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcdef078012d1968c0071fee10003d011427..."} 
[2026-08-01 16:01:37] local.INFO: Processing buffer {"connection_id":146092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcdef078012d1968c0071fee10003d011427..."} 
[2026-08-01 16:01:37] local.INFO: Packet analysis {"connection_id":146092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcde"} 
[2026-08-01 16:01:37] local.INFO: Extracted packet for processing {"connection_id":146092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcde"} 
[2026-08-01 16:01:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108514304001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785580155000,"timestamp_ms":1785580155000,"timestamp_seconds":1785580155,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcdef078"} 
[2026-08-01 16:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:01: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-08-01 16:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:01:37] 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-08-01 16:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:01:37] 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-08-01 16:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108514304001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108514304001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:01:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:01:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108514304001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":146092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:01:37] local.INFO: GPS data processed {"connection_id":146092,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:01:37] local.INFO: Acknowledgment sent {"connection_id":146092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:01:59] local.INFO: TCP Data received {"connection_id":146093,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:01:59] local.INFO: Processing buffer {"connection_id":146093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:01:59] local.INFO: IMEI packet received {"connection_id":146093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":146093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:02:00] local.INFO: TCP Data received {"connection_id":146093,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:02:00] local.INFO: Processing buffer {"connection_id":146093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:02:00] local.INFO: IMEI packet received {"connection_id":146093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":146093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:02:04] local.INFO: TCP Data received {"connection_id":148630,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:02:04] local.INFO: Processing buffer {"connection_id":148630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:02:04] local.INFO: IMEI packet received {"connection_id":148630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":148630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:02:05] local.INFO: TCP Data received {"connection_id":148630,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcdfea78012ceb79400713c318000e009f2b..."} 
[2026-08-01 16:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcdfea78012ceb79400713c318000e009f2b..."} 
[2026-08-01 16:02:05] local.INFO: Processing buffer {"connection_id":148630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcdfea78012ceb79400713c318000e009f2b..."} 
[2026-08-01 16:02:05] local.INFO: Packet analysis {"connection_id":148630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcdf"} 
[2026-08-01 16:02:05] local.INFO: Extracted packet for processing {"connection_id":148630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcdf"} 
[2026-08-01 16:02:05] local.INFO: GPS Element Parsed {"raw_longitude":753629504,"raw_latitude":118735640,"longitude_deg":75.3629504,"latitude_deg":11.873564,"altitude":14,"angle":159,"satellites":43,"speed":6,"hex_longitude":"2ceb7940","hex_latitude":"0713c318","is_valid_coordinates":true} 
[2026-08-01 16:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108535808001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366607993090867200,"note":"Value kept but may cause issues"} 
[2026-08-01 16:02:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1479150972218132480,"note":"Value kept but may cause issues"} 
[2026-08-01 16:02: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-08-01 16:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785580219000,"timestamp_ms":1785580219000,"timestamp_seconds":1785580219,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcdfea78"} 
[2026-08-01 16:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:02: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-08-01 16:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 16:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108535808001,"66":27865,"190":206,"83":41472,"24":6,"16":366607993090867200,"44":-1479150972218132480},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-08-01 16:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108535808001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:02:05] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-01 16:02:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366607993090867200,"km_value":366607993090867.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:02:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1479150972218132480,"description":"Unknown IO ID 44"} 
[2026-08-01 16:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108535808001,"power":27865,"unknown_190":206,"unknown_83":41472,"ignition":6,"odometer":null,"unknown_44":-1479150972218132480}} 
[2026-08-01 16:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":148630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:02:05] local.INFO: GPS data processed {"connection_id":148630,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:02:05] local.INFO: Acknowledgment sent {"connection_id":148630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:02:05] local.INFO: TCP Data received {"connection_id":146093,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:02:05] local.INFO: Processing buffer {"connection_id":146093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:02:05] local.INFO: IMEI packet received {"connection_id":146093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":146093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:02:06] local.INFO: TCP Data received {"connection_id":146093,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcdf4280012d1968c0071fee10003d011426..."} 
[2026-08-01 16:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcdf4280012d1968c0071fee10003d011426..."} 
[2026-08-01 16:02:06] local.INFO: Processing buffer {"connection_id":146093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcdf4280012d1968c0071fee10003d011426..."} 
[2026-08-01 16:02:06] local.INFO: Packet analysis {"connection_id":146093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcdf"} 
[2026-08-01 16:02:06] local.INFO: Extracted packet for processing {"connection_id":146093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcdf"} 
[2026-08-01 16:02:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108519680001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785580176000,"timestamp_ms":1785580176000,"timestamp_seconds":1785580176,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcdf4280"} 
[2026-08-01 16:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:02:06] 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-08-01 16:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108519680001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108519680001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:02:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:02:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108519680001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":146093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577900,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:02:06] local.INFO: GPS data processed {"connection_id":146093,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:02:06] local.INFO: Acknowledgment sent {"connection_id":146093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:02:37] local.INFO: TCP Data received {"connection_id":146093,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcdf9488012d1968c0071fee10003d011426..."} 
[2026-08-01 16:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcdf9488012d1968c0071fee10003d011426..."} 
[2026-08-01 16:02:37] local.INFO: Processing buffer {"connection_id":146093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcdf9488012d1968c0071fee10003d011426..."} 
[2026-08-01 16:02:37] local.INFO: Packet analysis {"connection_id":146093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcdf"} 
[2026-08-01 16:02:37] local.INFO: Extracted packet for processing {"connection_id":146093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcdf"} 
[2026-08-01 16:02:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108525056001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785580197000,"timestamp_ms":1785580197000,"timestamp_seconds":1785580197,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcdf9488"} 
[2026-08-01 16:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:02: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-08-01 16:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:02:37] 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-08-01 16:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:02:37] 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-08-01 16:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108525056001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108525056001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:02:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:02:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108525056001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":146093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:02:37] local.INFO: GPS data processed {"connection_id":146093,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:02:37] local.INFO: Acknowledgment sent {"connection_id":146093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:02:44] local.INFO: TCP Data received {"connection_id":146094,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:02:44] local.INFO: Processing buffer {"connection_id":146094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:02:44] local.INFO: IMEI packet received {"connection_id":146094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":146094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:02:49] local.INFO: TCP Data received {"connection_id":146094,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:02:49] local.INFO: Processing buffer {"connection_id":146094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:02:49] local.INFO: IMEI packet received {"connection_id":146094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":146094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:02:50] local.INFO: TCP Data received {"connection_id":146094,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcdfee60012ceb79c00713c270000e00b02c..."} 
[2026-08-01 16:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcdfee60012ceb79c00713c270000e00b02c..."} 
[2026-08-01 16:02:50] local.INFO: Processing buffer {"connection_id":146094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcdfee60012ceb79c00713c270000e00b02c..."} 
[2026-08-01 16:02:50] local.INFO: Packet analysis {"connection_id":146094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcdf"} 
[2026-08-01 16:02:50] local.INFO: Extracted packet for processing {"connection_id":146094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcdf"} 
[2026-08-01 16:02:50] local.INFO: GPS Element Parsed {"raw_longitude":753629632,"raw_latitude":118735472,"longitude_deg":75.3629632,"latitude_deg":11.8735472,"altitude":14,"angle":176,"satellites":44,"speed":6,"hex_longitude":"2ceb79c0","hex_latitude":"0713c270","is_valid_coordinates":true} 
[2026-08-01 16:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:02:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108536064001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:02:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608001680801792,"note":"Value kept but may cause issues"} 
[2026-08-01 16:02:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1479080603473995776,"note":"Value kept but may cause issues"} 
[2026-08-01 16:02:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:02:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785580220000,"timestamp_ms":1785580220000,"timestamp_seconds":1785580220,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcdfee60"} 
[2026-08-01 16:02:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:02: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-08-01 16:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 16:02:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:02:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:02:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:02:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:02:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:02:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:02:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:02:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:02:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:02:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:02:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108536064001,"66":27865,"190":206,"83":41472,"24":6,"16":366608001680801792,"44":-1479080603473995776},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-08-01 16:02:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:02:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:02:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108536064001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:02:50] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-01 16:02:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:02:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608001680801792,"km_value":366608001680801.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:02:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1479080603473995776,"description":"Unknown IO ID 44"} 
[2026-08-01 16:02:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108536064001,"power":27865,"unknown_190":206,"unknown_83":41472,"ignition":6,"odometer":null,"unknown_44":-1479080603473995776}} 
[2026-08-01 16:02:50] local.INFO: DEBUG: GPS processor result {"connection_id":146094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:02:50] local.INFO: GPS data processed {"connection_id":146094,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:02:50] local.INFO: Acknowledgment sent {"connection_id":146094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:03:00] local.INFO: TCP Data received {"connection_id":148631,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:03:00] local.INFO: Processing buffer {"connection_id":148631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:03:00] local.INFO: IMEI packet received {"connection_id":148631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":148631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:03:02] local.INFO: TCP Data received {"connection_id":148631,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:03:02] local.INFO: Processing buffer {"connection_id":148631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:03:02] local.INFO: IMEI packet received {"connection_id":148631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":148631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:03:05] local.INFO: TCP Data received {"connection_id":148631,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:03:05] local.INFO: Processing buffer {"connection_id":148631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:03:05] local.INFO: IMEI packet received {"connection_id":148631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":148631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:03:06] local.INFO: TCP Data received {"connection_id":148631,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcdfe690012d1968c0071fee10003d011426..."} 
[2026-08-01 16:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcdfe690012d1968c0071fee10003d011426..."} 
[2026-08-01 16:03:06] local.INFO: Processing buffer {"connection_id":148631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcdfe690012d1968c0071fee10003d011426..."} 
[2026-08-01 16:03:06] local.INFO: Packet analysis {"connection_id":148631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcdf"} 
[2026-08-01 16:03:06] local.INFO: Extracted packet for processing {"connection_id":148631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcdf"} 
[2026-08-01 16:03:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108530432001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785580218000,"timestamp_ms":1785580218000,"timestamp_seconds":1785580218,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcdfe690"} 
[2026-08-01 16:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:03:06] 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-08-01 16:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108530432001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108530432001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:03:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:03:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108530432001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":148631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:03:06] local.INFO: GPS data processed {"connection_id":148631,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:03:06] local.INFO: Acknowledgment sent {"connection_id":148631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:03:21] local.INFO: TCP Data received {"connection_id":146094,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcdff248012ceb79c00713c1e8000e00c32c..."} 
[2026-08-01 16:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcdff248012ceb79c00713c1e8000e00c32c..."} 
[2026-08-01 16:03:21] local.INFO: Processing buffer {"connection_id":146094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcdff248012ceb79c00713c1e8000e00c32c..."} 
[2026-08-01 16:03:21] local.INFO: Packet analysis {"connection_id":146094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcdf"} 
[2026-08-01 16:03:21] local.INFO: Extracted packet for processing {"connection_id":146094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcdf"} 
[2026-08-01 16:03:21] local.INFO: GPS Element Parsed {"raw_longitude":753629632,"raw_latitude":118735336,"longitude_deg":75.3629632,"latitude_deg":11.8735336,"altitude":14,"angle":195,"satellites":44,"speed":6,"hex_longitude":"2ceb79c0","hex_latitude":"0713c1e8","is_valid_coordinates":true} 
[2026-08-01 16:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108536320001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608010270736384,"note":"Value kept but may cause issues"} 
[2026-08-01 16:03:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478939865985683456,"note":"Value kept but may cause issues"} 
[2026-08-01 16:03:21] 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-08-01 16:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785580221000,"timestamp_ms":1785580221000,"timestamp_seconds":1785580221,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcdff248"} 
[2026-08-01 16:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:03:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 16:03:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:03:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:03:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108536320001,"66":27974,"190":206,"83":41472,"24":6,"16":366608010270736384,"44":-1478939865985683456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-08-01 16:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108536320001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:03:21] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-01 16:03:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608010270736384,"km_value":366608010270736.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:03:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478939865985683456,"description":"Unknown IO ID 44"} 
[2026-08-01 16:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108536320001,"power":27974,"unknown_190":206,"unknown_83":41472,"ignition":6,"odometer":null,"unknown_44":-1478939865985683456}} 
[2026-08-01 16:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":146094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:03:21] local.INFO: GPS data processed {"connection_id":146094,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:03:21] local.INFO: Acknowledgment sent {"connection_id":146094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:03:37] local.INFO: TCP Data received {"connection_id":148631,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbce03898012d1968c0071fee10003d011427..."} 
[2026-08-01 16:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbce03898012d1968c0071fee10003d011427..."} 
[2026-08-01 16:03:37] local.INFO: Processing buffer {"connection_id":148631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbce03898012d1968c0071fee10003d011427..."} 
[2026-08-01 16:03:37] local.INFO: Packet analysis {"connection_id":148631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbce0"} 
[2026-08-01 16:03:37] local.INFO: Extracted packet for processing {"connection_id":148631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbce0"} 
[2026-08-01 16:03:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108535808001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785580239000,"timestamp_ms":1785580239000,"timestamp_seconds":1785580239,"priority":1,"record_length":96,"hex_timestamp":"0000019fbce03898"} 
[2026-08-01 16:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:03: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-08-01 16:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:03:37] 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-08-01 16:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:03:37] 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-08-01 16:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108535808001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108535808001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:03:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:03:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108535808001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":148631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:03:37] local.INFO: GPS data processed {"connection_id":148631,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:03:37] local.INFO: Acknowledgment sent {"connection_id":148631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:03:43] local.INFO: TCP Data received {"connection_id":147327,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:03:43] local.INFO: Processing buffer {"connection_id":147327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:03:43] local.INFO: IMEI packet received {"connection_id":147327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":147327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:03:49] local.INFO: TCP Data received {"connection_id":147327,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:03:49] local.INFO: Processing buffer {"connection_id":147327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:03:49] local.INFO: IMEI packet received {"connection_id":147327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":147327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:03:50] local.INFO: TCP Data received {"connection_id":147327,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fbce00da0012ceb79c00713bea0000f009f2c..."} 
[2026-08-01 16:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbce00da0012ceb79c00713bea0000f009f2c..."} 
[2026-08-01 16:03:50] local.INFO: Processing buffer {"connection_id":147327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbce00da0012ceb79c00713bea0000f009f2c..."} 
[2026-08-01 16:03:50] local.INFO: Packet analysis {"connection_id":147327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbce0"} 
[2026-08-01 16:03:50] local.INFO: Extracted packet for processing {"connection_id":147327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbce0"} 
[2026-08-01 16:03:50] local.INFO: GPS Element Parsed {"raw_longitude":753629632,"raw_latitude":118734496,"longitude_deg":75.3629632,"latitude_deg":11.8734496,"altitude":15,"angle":159,"satellites":44,"speed":5,"hex_longitude":"2ceb79c0","hex_latitude":"0713bea0","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108536576001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:03:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608053220409344,"note":"Value kept but may cause issues"} 
[2026-08-01 16:03:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478939865985718272,"note":"Value kept but may cause issues"} 
[2026-08-01 16:03:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:03:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785580228000,"timestamp_ms":1785580228000,"timestamp_seconds":1785580228,"priority":1,"record_length":96,"hex_timestamp":"0000019fbce00da0"} 
[2026-08-01 16:03:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:03:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-01 16:03:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16: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-08-01 16:03:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:03:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:03:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:03:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:03:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:03:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:03:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:03:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:03:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108536576001,"66":28028,"190":206,"83":41472,"24":5,"16":366608053220409344,"44":-1478939865985718272},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-08-01 16:03:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:03:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:03:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108536576001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:03:50] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-01 16:03:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:03:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608053220409344,"km_value":366608053220409.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:03:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478939865985718272,"description":"Unknown IO ID 44"} 
[2026-08-01 16:03:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108536576001,"power":28028,"unknown_190":206,"unknown_83":41472,"ignition":5,"odometer":null,"unknown_44":-1478939865985718272}} 
[2026-08-01 16:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":147327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:03:50] local.INFO: GPS data processed {"connection_id":147327,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:03:50] local.INFO: Acknowledgment sent {"connection_id":147327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:04:00] local.INFO: TCP Data received {"connection_id":148632,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:04:00] local.INFO: Processing buffer {"connection_id":148632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:04:00] local.INFO: IMEI packet received {"connection_id":148632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":148632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:04:05] local.INFO: TCP Data received {"connection_id":148632,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:04:05] local.INFO: Processing buffer {"connection_id":148632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:04:05] local.INFO: IMEI packet received {"connection_id":148632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":148632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:04:06] local.INFO: TCP Data received {"connection_id":148632,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbce08aa0012d1968c0071fee10003d011427..."} 
[2026-08-01 16:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbce08aa0012d1968c0071fee10003d011427..."} 
[2026-08-01 16:04:06] local.INFO: Processing buffer {"connection_id":148632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbce08aa0012d1968c0071fee10003d011427..."} 
[2026-08-01 16:04:06] local.INFO: Packet analysis {"connection_id":148632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbce0"} 
[2026-08-01 16:04:06] local.INFO: Extracted packet for processing {"connection_id":148632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbce0"} 
[2026-08-01 16:04:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108541184001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785580260000,"timestamp_ms":1785580260000,"timestamp_seconds":1785580260,"priority":1,"record_length":96,"hex_timestamp":"0000019fbce08aa0"} 
[2026-08-01 16:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16: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-08-01 16:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:04:06] 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-08-01 16:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108541184001,"66":12232,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108541184001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:04:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:04:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108541184001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":148632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:04:06] local.INFO: GPS data processed {"connection_id":148632,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:04:06] local.INFO: Acknowledgment sent {"connection_id":148632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:04:21] local.INFO: TCP Data received {"connection_id":147327,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fbce01188012ceb7a000713be18000f00942c..."} 
[2026-08-01 16:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbce01188012ceb7a000713be18000f00942c..."} 
[2026-08-01 16:04:21] local.INFO: Processing buffer {"connection_id":147327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbce01188012ceb7a000713be18000f00942c..."} 
[2026-08-01 16:04:21] local.INFO: Packet analysis {"connection_id":147327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbce0"} 
[2026-08-01 16:04:21] local.INFO: Extracted packet for processing {"connection_id":147327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbce0"} 
[2026-08-01 16:04:21] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118734360,"longitude_deg":75.3629696,"latitude_deg":11.873436,"altitude":15,"angle":148,"satellites":44,"speed":5,"hex_longitude":"2ceb7a00","hex_latitude":"0713be18","is_valid_coordinates":true} 
[2026-08-01 16:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108538368001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608061810343936,"note":"Value kept but may cause issues"} 
[2026-08-01 16:04:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478939865985933312,"note":"Value kept but may cause issues"} 
[2026-08-01 16:04:21] 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-08-01 16:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785580229000,"timestamp_ms":1785580229000,"timestamp_seconds":1785580229,"priority":1,"record_length":96,"hex_timestamp":"0000019fbce01188"} 
[2026-08-01 16:04:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:04:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-01 16:04:21] 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-08-01 16:04:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:04:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:04:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108538368001,"66":27952,"190":206,"83":41472,"24":5,"16":366608061810343936,"44":-1478939865985933312},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-08-01 16:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108538368001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:04:21] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-01 16:04:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608061810343936,"km_value":366608061810343.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:04:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478939865985933312,"description":"Unknown IO ID 44"} 
[2026-08-01 16:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108538368001,"power":27952,"unknown_190":206,"unknown_83":41472,"ignition":5,"odometer":null,"unknown_44":-1478939865985933312}} 
[2026-08-01 16:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":147327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:04:21] local.INFO: GPS data processed {"connection_id":147327,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:04:21] local.INFO: Acknowledgment sent {"connection_id":147327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:04:37] local.INFO: TCP Data received {"connection_id":148632,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbce0dca8012d1968c0071fee10003d011428..."} 
[2026-08-01 16:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbce0dca8012d1968c0071fee10003d011428..."} 
[2026-08-01 16:04:37] local.INFO: Processing buffer {"connection_id":148632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbce0dca8012d1968c0071fee10003d011428..."} 
[2026-08-01 16:04:37] local.INFO: Packet analysis {"connection_id":148632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbce0"} 
[2026-08-01 16:04:37] local.INFO: Extracted packet for processing {"connection_id":148632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbce0"} 
[2026-08-01 16:04:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108546560001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785580281000,"timestamp_ms":1785580281000,"timestamp_seconds":1785580281,"priority":1,"record_length":96,"hex_timestamp":"0000019fbce0dca8"} 
[2026-08-01 16:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:04: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-08-01 16: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-01 16:04:37] 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-08-01 16: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-08-01 16:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:04:37] 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-08-01 16:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108546560001,"66":12156,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108546560001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:04:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:04:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108546560001,"power":12156,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":148632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:04:37] local.INFO: GPS data processed {"connection_id":148632,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:04:37] local.INFO: Acknowledgment sent {"connection_id":148632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:04:43] local.INFO: TCP Data received {"connection_id":146314,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:04:43] local.INFO: Processing buffer {"connection_id":146314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:04:43] local.INFO: IMEI packet received {"connection_id":146314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":146314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:04:49] local.INFO: TCP Data received {"connection_id":146314,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:04:49] local.INFO: Processing buffer {"connection_id":146314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:04:49] local.INFO: IMEI packet received {"connection_id":146314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":146314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:04:50] local.INFO: TCP Data received {"connection_id":146314,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fbce034b0012ceb7a800713ba60000f00ad2a..."} 
[2026-08-01 16:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbce034b0012ceb7a800713ba60000f00ad2a..."} 
[2026-08-01 16:04:50] local.INFO: Processing buffer {"connection_id":146314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbce034b0012ceb7a800713ba60000f00ad2a..."} 
[2026-08-01 16:04:50] local.INFO: Packet analysis {"connection_id":146314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbce0"} 
[2026-08-01 16:04:50] local.INFO: Extracted packet for processing {"connection_id":146314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbce0"} 
[2026-08-01 16:04:50] local.INFO: GPS Element Parsed {"raw_longitude":753629824,"raw_latitude":118733408,"longitude_deg":75.3629824,"latitude_deg":11.8733408,"altitude":15,"angle":173,"satellites":42,"speed":6,"hex_longitude":"2ceb7a80","hex_latitude":"0713ba60","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108538624001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608109054984192,"note":"Value kept but may cause issues"} 
[2026-08-01 16:04:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478869497241790464,"note":"Value kept but may cause issues"} 
[2026-08-01 16:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785580238000,"timestamp_ms":1785580238000,"timestamp_seconds":1785580238,"priority":1,"record_length":96,"hex_timestamp":"0000019fbce034b0"} 
[2026-08-01 16:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:04: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-08-01 16: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-08-01 16:04:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16: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-08-01 16:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:04:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108538624001,"66":27930,"190":206,"83":41472,"24":6,"16":366608109054984192,"44":-1478869497241790464},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-08-01 16:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108538624001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:04:50] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-01 16:04:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608109054984192,"km_value":366608109054984.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:04:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478869497241790464,"description":"Unknown IO ID 44"} 
[2026-08-01 16:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108538624001,"power":27930,"unknown_190":206,"unknown_83":41472,"ignition":6,"odometer":null,"unknown_44":-1478869497241790464}} 
[2026-08-01 16:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":146314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:04:50] local.INFO: GPS data processed {"connection_id":146314,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:04:50] local.INFO: Acknowledgment sent {"connection_id":146314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:05:00] local.INFO: TCP Data received {"connection_id":146315,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146315,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:05:00] local.INFO: Processing buffer {"connection_id":146315,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:05:00] local.INFO: IMEI packet received {"connection_id":146315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":146315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:05:05] local.INFO: TCP Data received {"connection_id":146315,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146315,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:05:05] local.INFO: Processing buffer {"connection_id":146315,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:05:05] local.INFO: IMEI packet received {"connection_id":146315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":146315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:05:06] local.INFO: TCP Data received {"connection_id":146315,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbce12eb0012d1968c0071fee10003d011427..."} 
[2026-08-01 16:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbce12eb0012d1968c0071fee10003d011427..."} 
[2026-08-01 16:05:06] local.INFO: Processing buffer {"connection_id":146315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbce12eb0012d1968c0071fee10003d011427..."} 
[2026-08-01 16:05:06] local.INFO: Packet analysis {"connection_id":146315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbce1"} 
[2026-08-01 16:05:06] local.INFO: Extracted packet for processing {"connection_id":146315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbce1"} 
[2026-08-01 16:05:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108551936001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785580302000,"timestamp_ms":1785580302000,"timestamp_seconds":1785580302,"priority":1,"record_length":96,"hex_timestamp":"0000019fbce12eb0"} 
[2026-08-01 16:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-01 16:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16: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-08-01 16:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:05:06] 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-08-01 16:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108551936001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108551936001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:05:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:05:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108551936001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":146315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:05:06] local.INFO: GPS data processed {"connection_id":146315,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:05:06] local.INFO: Acknowledgment sent {"connection_id":146315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:05:21] local.INFO: TCP Data received {"connection_id":146314,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fbce086b8012ceb7b800713b6e8001000ae27..."} 
[2026-08-01 16:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbce086b8012ceb7b800713b6e8001000ae27..."} 
[2026-08-01 16:05:21] local.INFO: Processing buffer {"connection_id":146314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbce086b8012ceb7b800713b6e8001000ae27..."} 
[2026-08-01 16:05:21] local.INFO: Packet analysis {"connection_id":146314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbce0"} 
[2026-08-01 16:05:21] local.INFO: Extracted packet for processing {"connection_id":146314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbce0"} 
[2026-08-01 16:05:21] local.INFO: GPS Element Parsed {"raw_longitude":753630080,"raw_latitude":118732520,"longitude_deg":75.363008,"latitude_deg":11.873252,"altitude":16,"angle":174,"satellites":39,"speed":0,"hex_longitude":"2ceb7b80","hex_latitude":"0713b6e8","is_valid_coordinates":true} 
[2026-08-01 16:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108540928001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608152004657152,"note":"Value kept but may cause issues"} 
[2026-08-01 16:05:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478728759753678848,"note":"Value kept but may cause issues"} 
[2026-08-01 16:05:21] 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-08-01 16:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785580259000,"timestamp_ms":1785580259000,"timestamp_seconds":1785580259,"priority":1,"record_length":96,"hex_timestamp":"0000019fbce086b8"} 
[2026-08-01 16:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:05:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-01 16:05:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:05:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:05:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108540928001,"66":28006,"190":206,"83":41472,"24":0,"16":366608152004657152,"44":-1478728759753678848},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-08-01 16:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108540928001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:05:21] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-01 16:05:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608152004657152,"km_value":366608152004657.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:05:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478728759753678848,"description":"Unknown IO ID 44"} 
[2026-08-01 16:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108540928001,"power":28006,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478728759753678848}} 
[2026-08-01 16:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":146314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:05:21] local.INFO: GPS data processed {"connection_id":146314,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:05:21] local.INFO: Acknowledgment sent {"connection_id":146314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:05:37] local.INFO: TCP Data received {"connection_id":146315,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbce180b8012d1968c0071fee10003d011425..."} 
[2026-08-01 16:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbce180b8012d1968c0071fee10003d011425..."} 
[2026-08-01 16:05:37] local.INFO: Processing buffer {"connection_id":146315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbce180b8012d1968c0071fee10003d011425..."} 
[2026-08-01 16:05:37] local.INFO: Packet analysis {"connection_id":146315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbce1"} 
[2026-08-01 16:05:37] local.INFO: Extracted packet for processing {"connection_id":146315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbce1"} 
[2026-08-01 16:05:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108557312001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785580323000,"timestamp_ms":1785580323000,"timestamp_seconds":1785580323,"priority":1,"record_length":96,"hex_timestamp":"0000019fbce180b8"} 
[2026-08-01 16:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:05: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-08-01 16:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:05:37] 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-08-01 16:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:05:37] 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-08-01 16:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108557312001,"66":11341,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108557312001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:05:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:05:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108557312001,"power":11341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":146315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:05:37] local.INFO: GPS data processed {"connection_id":146315,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:05:37] local.INFO: Acknowledgment sent {"connection_id":146315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:05:43] local.INFO: TCP Data received {"connection_id":146095,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:05:43] local.INFO: Processing buffer {"connection_id":146095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:05:43] local.INFO: IMEI packet received {"connection_id":146095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":146095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:05:49] local.INFO: TCP Data received {"connection_id":146095,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:05:49] local.INFO: Processing buffer {"connection_id":146095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:05:49] local.INFO: IMEI packet received {"connection_id":146095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":146095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:05:57] local.INFO: TCP Data received {"connection_id":146095,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbce08aa0012ceb7b800713b6c0001000c024..."} 
[2026-08-01 16:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbce08aa0012ceb7b800713b6c0001000c024..."} 
[2026-08-01 16:05:57] local.INFO: Processing buffer {"connection_id":146095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbce08aa0012ceb7b800713b6c0001000c024..."} 
[2026-08-01 16:05:57] local.INFO: Packet analysis {"connection_id":146095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbce0"} 
[2026-08-01 16:05:57] local.INFO: Extracted packet for processing {"connection_id":146095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbce0"} 
[2026-08-01 16:05:57] local.INFO: GPS Element Parsed {"raw_longitude":753630080,"raw_latitude":118732480,"longitude_deg":75.363008,"latitude_deg":11.873248,"altitude":16,"angle":192,"satellites":36,"speed":1,"hex_longitude":"2ceb7b80","hex_latitude":"0713b6c0","is_valid_coordinates":true} 
[2026-08-01 16:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108546304001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:05:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608156299624448,"note":"Value kept but may cause issues"} 
[2026-08-01 16:05:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478447284777195520,"note":"Value kept but may cause issues"} 
[2026-08-01 16:05:57] 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-08-01 16:05:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785580260000,"timestamp_ms":1785580260000,"timestamp_seconds":1785580260,"priority":1,"record_length":96,"hex_timestamp":"0000019fbce08aa0"} 
[2026-08-01 16:05:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:05: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-08-01 16:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-01 16:05:57] 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-08-01 16:05:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:05:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:05:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:05:57] local.INFO: Teltonika packet parsed successfully {"connection_id":146095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:05:57] local.INFO: Passing IMEI to GPS processor {"connection_id":146095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:05:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":146095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:05:57] 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-08-01 16:05:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:05:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:05:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108546304001,"66":28006,"190":206,"83":41472,"24":1,"16":366608156299624448,"44":-1478447284777195520},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-08-01 16:05:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:05:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:05:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108546304001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:05:57] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-01 16:05:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:05:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608156299624448,"km_value":366608156299624.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:05:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478447284777195520,"description":"Unknown IO ID 44"} 
[2026-08-01 16:05:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108546304001,"power":28006,"unknown_190":206,"unknown_83":41472,"ignition":1,"odometer":null,"unknown_44":-1478447284777195520}} 
[2026-08-01 16:05:57] local.INFO: DEBUG: GPS processor result {"connection_id":146095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:05:57] local.INFO: GPS data processed {"connection_id":146095,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:05:57] local.INFO: Acknowledgment sent {"connection_id":146095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:06:05] local.INFO: TCP Data received {"connection_id":147328,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:06:05] local.INFO: Processing buffer {"connection_id":147328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:06:05] local.INFO: IMEI packet received {"connection_id":147328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":147328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:06:10] local.INFO: TCP Data received {"connection_id":147328,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:06:10] local.INFO: Processing buffer {"connection_id":147328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:06:10] local.INFO: IMEI packet received {"connection_id":147328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":147328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:06:11] local.INFO: TCP Data received {"connection_id":147328,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbce1d2c0012d1968c0071fee10003d011428..."} 
[2026-08-01 16:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbce1d2c0012d1968c0071fee10003d011428..."} 
[2026-08-01 16:06:11] local.INFO: Processing buffer {"connection_id":147328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbce1d2c0012d1968c0071fee10003d011428..."} 
[2026-08-01 16:06:11] local.INFO: Packet analysis {"connection_id":147328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbce1"} 
[2026-08-01 16:06:11] local.INFO: Extracted packet for processing {"connection_id":147328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbce1"} 
[2026-08-01 16:06:11] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 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-08-01 16:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108562688001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785580344000,"timestamp_ms":1785580344000,"timestamp_seconds":1785580344,"priority":1,"record_length":96,"hex_timestamp":"0000019fbce1d2c0"} 
[2026-08-01 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-08-01 16:06: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-08-01 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":44,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-01 16:06:11] 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-08-01 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-08-01 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-08-01 16:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":147328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":147328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":147328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:06:11] 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-08-01 16:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108562688001,"66":11993,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108562688001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:06:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:06:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108562688001,"power":11993,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":147328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:06:11] local.INFO: GPS data processed {"connection_id":147328,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:06:11] local.INFO: Acknowledgment sent {"connection_id":147328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:06:11] local.INFO: TCP Data received {"connection_id":147328,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbce224c8012d1968c0071fee10003d011425..."} 
[2026-08-01 16:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbce224c8012d1968c0071fee10003d011425..."} 
[2026-08-01 16:06:11] local.INFO: Processing buffer {"connection_id":147328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbce224c8012d1968c0071fee10003d011425..."} 
[2026-08-01 16:06:11] local.INFO: Packet analysis {"connection_id":147328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbce2"} 
[2026-08-01 16:06:11] local.INFO: Extracted packet for processing {"connection_id":147328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbce2"} 
[2026-08-01 16:06:11] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 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-08-01 16:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108568064001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785580365000,"timestamp_ms":1785580365000,"timestamp_seconds":1785580365,"priority":1,"record_length":96,"hex_timestamp":"0000019fbce224c8"} 
[2026-08-01 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-08-01 16:06: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-08-01 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":46,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 16:06:11] 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-08-01 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-08-01 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-08-01 16:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":147328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":147328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":147328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:06:11] 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-08-01 16:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108568064001,"66":12265,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108568064001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:06:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:06:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108568064001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":147328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:06:11] local.INFO: GPS data processed {"connection_id":147328,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:06:11] local.INFO: Acknowledgment sent {"connection_id":147328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:06:37] local.INFO: TCP Data received {"connection_id":146095,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbce0dca8012ceb7b400713b678001000c527..."} 
[2026-08-01 16:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbce0dca8012ceb7b400713b678001000c527..."} 
[2026-08-01 16:06:37] local.INFO: Processing buffer {"connection_id":146095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbce0dca8012ceb7b400713b678001000c527..."} 
[2026-08-01 16:06:37] local.INFO: Packet analysis {"connection_id":146095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbce0"} 
[2026-08-01 16:06:37] local.INFO: Extracted packet for processing {"connection_id":146095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbce0"} 
[2026-08-01 16:06:37] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732408,"longitude_deg":75.3630016,"latitude_deg":11.8732408,"altitude":16,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b678","is_valid_coordinates":true} 
[2026-08-01 16:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108546560001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:06:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478447284777205760,"note":"Value kept but may cause issues"} 
[2026-08-01 16:06:37] 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-08-01 16:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785580281000,"timestamp_ms":1785580281000,"timestamp_seconds":1785580281,"priority":1,"record_length":96,"hex_timestamp":"0000019fbce0dca8"} 
[2026-08-01 16:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-01 16:06: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-08-01 16:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108546560001,"66":27865,"190":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478447284777205760},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-08-01 16:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108546560001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:06:37] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-01 16:06:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:06:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478447284777205760,"description":"Unknown IO ID 44"} 
[2026-08-01 16:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108546560001,"power":27865,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478447284777205760}} 
[2026-08-01 16:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":146095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:06:38] local.INFO: GPS data processed {"connection_id":146095,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:06:38] local.INFO: Acknowledgment sent {"connection_id":146095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:06:42] local.INFO: TCP Data received {"connection_id":147328,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbce276d0012d1968c0071fee10003d011426..."} 
[2026-08-01 16:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbce276d0012d1968c0071fee10003d011426..."} 
[2026-08-01 16:06:42] local.INFO: Processing buffer {"connection_id":147328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbce276d0012d1968c0071fee10003d011426..."} 
[2026-08-01 16:06:42] local.INFO: Packet analysis {"connection_id":147328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbce2"} 
[2026-08-01 16:06:42] local.INFO: Extracted packet for processing {"connection_id":147328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbce2"} 
[2026-08-01 16:06:42] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 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-08-01 16:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108573440001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16: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-08-01 16:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785580386000,"timestamp_ms":1785580386000,"timestamp_seconds":1785580386,"priority":1,"record_length":96,"hex_timestamp":"0000019fbce276d0"} 
[2026-08-01 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-08-01 16:06: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-08-01 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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-01 16:06: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-08-01 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-08-01 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-08-01 16:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":147328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":147328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":147328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:06: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-08-01 16:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108573440001,"66":12232,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108573440001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:06:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:06:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108573440001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":147328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577918,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:06:42] local.INFO: GPS data processed {"connection_id":147328,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:06:42] local.INFO: Acknowledgment sent {"connection_id":147328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:06:43] local.INFO: TCP Data received {"connection_id":146316,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:06:43] local.INFO: Processing buffer {"connection_id":146316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:06:43] local.INFO: IMEI packet received {"connection_id":146316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":146316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:06:49] local.INFO: TCP Data received {"connection_id":146316,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:06:49] local.INFO: Processing buffer {"connection_id":146316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:06:49] local.INFO: IMEI packet received {"connection_id":146316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":146316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:06:50] local.INFO: TCP Data received {"connection_id":146316,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbce12eb0012ceb7b400713b678001000c526..."} 
[2026-08-01 16:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbce12eb0012ceb7b400713b678001000c526..."} 
[2026-08-01 16:06:50] local.INFO: Processing buffer {"connection_id":146316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbce12eb0012ceb7b400713b678001000c526..."} 
[2026-08-01 16:06:50] local.INFO: Packet analysis {"connection_id":146316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbce1"} 
[2026-08-01 16:06:50] local.INFO: Extracted packet for processing {"connection_id":146316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbce1"} 
[2026-08-01 16:06:50] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732408,"longitude_deg":75.3630016,"latitude_deg":11.8732408,"altitude":16,"angle":197,"satellites":38,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b678","is_valid_coordinates":true} 
[2026-08-01 16:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:06:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108551936001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:06:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:06:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521401856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:06:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:06:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785580302000,"timestamp_ms":1785580302000,"timestamp_seconds":1785580302,"priority":1,"record_length":96,"hex_timestamp":"0000019fbce12eb0"} 
[2026-08-01 16:06:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:06: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-08-01 16:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 16:06:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:06:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:06:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:06:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:06:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:06:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:06:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:06:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:06:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:06:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:06:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108551936001,"66":27995,"190":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478517653521401856},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-08-01 16:06:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:06:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:06:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108551936001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:06:50] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-01 16:06:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:06:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:06:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521401856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:06:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108551936001,"power":27995,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521401856}} 
[2026-08-01 16:06:50] local.INFO: DEBUG: GPS processor result {"connection_id":146316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:06:50] local.INFO: GPS data processed {"connection_id":146316,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:06:50] local.INFO: Acknowledgment sent {"connection_id":146316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:07:00] local.INFO: TCP Data received {"connection_id":146096,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:07:00] local.INFO: Processing buffer {"connection_id":146096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:07:00] local.INFO: IMEI packet received {"connection_id":146096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":146096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:07:05] local.INFO: TCP Data received {"connection_id":146096,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:07:05] local.INFO: Processing buffer {"connection_id":146096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:07:05] local.INFO: IMEI packet received {"connection_id":146096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":146096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:07:06] local.INFO: TCP Data received {"connection_id":146096,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbce2c8d8012d1968c0071fee10003d011427..."} 
[2026-08-01 16:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbce2c8d8012d1968c0071fee10003d011427..."} 
[2026-08-01 16:07:06] local.INFO: Processing buffer {"connection_id":146096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbce2c8d8012d1968c0071fee10003d011427..."} 
[2026-08-01 16:07:06] local.INFO: Packet analysis {"connection_id":146096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbce2"} 
[2026-08-01 16:07:06] local.INFO: Extracted packet for processing {"connection_id":146096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbce2"} 
[2026-08-01 16:07:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108578816001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785580407000,"timestamp_ms":1785580407000,"timestamp_seconds":1785580407,"priority":1,"record_length":96,"hex_timestamp":"0000019fbce2c8d8"} 
[2026-08-01 16:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-01 16:07:06] 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-08-01 16: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-08-01 16:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:07:06] 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-08-01 16:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108578816001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108578816001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:07:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:07:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108578816001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":146096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:07:06] local.INFO: GPS data processed {"connection_id":146096,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:07:06] local.INFO: Acknowledgment sent {"connection_id":146096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:07:21] local.INFO: TCP Data received {"connection_id":146316,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbce178e8012ceb7b400713b678001000c527..."} 
[2026-08-01 16:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbce178e8012ceb7b400713b678001000c527..."} 
[2026-08-01 16:07:21] local.INFO: Processing buffer {"connection_id":146316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbce178e8012ceb7b400713b678001000c527..."} 
[2026-08-01 16:07:21] local.INFO: Packet analysis {"connection_id":146316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbce1"} 
[2026-08-01 16:07:21] local.INFO: Extracted packet for processing {"connection_id":146316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbce1"} 
[2026-08-01 16:07:21] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732408,"longitude_deg":75.3630016,"latitude_deg":11.8732408,"altitude":16,"angle":197,"satellites":39,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b678","is_valid_coordinates":true} 
[2026-08-01 16:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108557312001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:07:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521401856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:07:21] 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-08-01 16:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785580321000,"timestamp_ms":1785580321000,"timestamp_seconds":1785580321,"priority":1,"record_length":96,"hex_timestamp":"0000019fbce178e8"} 
[2026-08-01 16:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:07:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-01 16:07:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:07:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:07:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108557312001,"66":27745,"190":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478517653521401856},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-08-01 16:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108557312001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:07:21] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-01 16:07:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:07:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521401856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108557312001,"power":27745,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521401856}} 
[2026-08-01 16:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":146316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:07:21] local.INFO: GPS data processed {"connection_id":146316,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:07:21] local.INFO: Acknowledgment sent {"connection_id":146316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:07:37] local.INFO: TCP Data received {"connection_id":146096,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbce31ae0012d1968c0071fee10003d011425..."} 
[2026-08-01 16:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbce31ae0012d1968c0071fee10003d011425..."} 
[2026-08-01 16:07:37] local.INFO: Processing buffer {"connection_id":146096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbce31ae0012d1968c0071fee10003d011425..."} 
[2026-08-01 16:07:37] local.INFO: Packet analysis {"connection_id":146096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbce3"} 
[2026-08-01 16:07:37] local.INFO: Extracted packet for processing {"connection_id":146096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbce3"} 
[2026-08-01 16:07:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108584192001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785580428000,"timestamp_ms":1785580428000,"timestamp_seconds":1785580428,"priority":1,"record_length":96,"hex_timestamp":"0000019fbce31ae0"} 
[2026-08-01 16:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:07: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-08-01 16:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:07:37] 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-08-01 16:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:07:37] 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-08-01 16:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108584192001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108584192001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:07:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:07:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108584192001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":146096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:07:37] local.INFO: GPS data processed {"connection_id":146096,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:07:37] local.INFO: Acknowledgment sent {"connection_id":146096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:07:43] local.INFO: TCP Data received {"connection_id":147329,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:07:43] local.INFO: Processing buffer {"connection_id":147329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:07:43] local.INFO: IMEI packet received {"connection_id":147329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":147329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:07:44] local.INFO: TCP Data received {"connection_id":147329,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:07:44] local.INFO: Processing buffer {"connection_id":147329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:07:44] local.INFO: IMEI packet received {"connection_id":147329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":147329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:07:49] local.INFO: TCP Data received {"connection_id":147329,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:07:49] local.INFO: Processing buffer {"connection_id":147329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:07:49] local.INFO: IMEI packet received {"connection_id":147329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":147329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:07:50] local.INFO: TCP Data received {"connection_id":147329,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fbce180b8012ceb7b400713b678001000c525..."} 
[2026-08-01 16:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbce180b8012ceb7b400713b678001000c525..."} 
[2026-08-01 16:07:50] local.INFO: Processing buffer {"connection_id":147329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbce180b8012ceb7b400713b678001000c525..."} 
[2026-08-01 16:07:50] local.INFO: Packet analysis {"connection_id":147329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbce1"} 
[2026-08-01 16:07:50] local.INFO: Extracted packet for processing {"connection_id":147329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbce1"} 
[2026-08-01 16:07:50] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732408,"longitude_deg":75.3630016,"latitude_deg":11.8732408,"altitude":16,"angle":197,"satellites":37,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b678","is_valid_coordinates":true} 
[2026-08-01 16:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:07:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108562176001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:07:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:07:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521401856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:07:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:07:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785580323000,"timestamp_ms":1785580323000,"timestamp_seconds":1785580323,"priority":1,"record_length":96,"hex_timestamp":"0000019fbce180b8"} 
[2026-08-01 16:07:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:07:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 16:07:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:07:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:07:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:07:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:07:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:07:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:07:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:07:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:07:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:07:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:07:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108562176001,"66":27593,"190":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478517653521401856},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-08-01 16:07:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:07:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:07:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108562176001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:07:50] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-01 16:07:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:07:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:07:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521401856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:07:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108562176001,"power":27593,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521401856}} 
[2026-08-01 16:07:50] local.INFO: DEBUG: GPS processor result {"connection_id":147329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:07:50] local.INFO: GPS data processed {"connection_id":147329,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:07:50] local.INFO: Acknowledgment sent {"connection_id":147329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:08:00] local.INFO: TCP Data received {"connection_id":146097,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146097,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:08:00] local.INFO: Processing buffer {"connection_id":146097,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:08:00] local.INFO: IMEI packet received {"connection_id":146097,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":146097,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:08:05] local.INFO: TCP Data received {"connection_id":146097,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146097,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:08:05] local.INFO: Processing buffer {"connection_id":146097,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:08:05] local.INFO: IMEI packet received {"connection_id":146097,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":146097,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:08:06] local.INFO: TCP Data received {"connection_id":146097,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbce36ce8012d1968c0071fee10003d011426..."} 
[2026-08-01 16:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbce36ce8012d1968c0071fee10003d011426..."} 
[2026-08-01 16:08:06] local.INFO: Processing buffer {"connection_id":146097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbce36ce8012d1968c0071fee10003d011426..."} 
[2026-08-01 16:08:06] local.INFO: Packet analysis {"connection_id":146097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbce3"} 
[2026-08-01 16:08:06] local.INFO: Extracted packet for processing {"connection_id":146097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbce3"} 
[2026-08-01 16:08:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108589568001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785580449000,"timestamp_ms":1785580449000,"timestamp_seconds":1785580449,"priority":1,"record_length":96,"hex_timestamp":"0000019fbce36ce8"} 
[2026-08-01 16:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:08:06] 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-08-01 16:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108589568001,"66":12265,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108589568001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:08:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:08:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108589568001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":146097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:08:06] local.INFO: GPS data processed {"connection_id":146097,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:08:06] local.INFO: Acknowledgment sent {"connection_id":146097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:08:21] local.INFO: TCP Data received {"connection_id":147329,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fbce62438012ceb7b800713b498001100c529..."} 
[2026-08-01 16:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbce62438012ceb7b800713b498001100c529..."} 
[2026-08-01 16:08:21] local.INFO: Processing buffer {"connection_id":147329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbce62438012ceb7b800713b498001100c529..."} 
[2026-08-01 16:08:21] local.INFO: Packet analysis {"connection_id":147329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbce6"} 
[2026-08-01 16:08:21] local.INFO: Extracted packet for processing {"connection_id":147329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbce6"} 
[2026-08-01 16:08:21] local.INFO: GPS Element Parsed {"raw_longitude":753630080,"raw_latitude":118731928,"longitude_deg":75.363008,"latitude_deg":11.8731928,"altitude":17,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2ceb7b80","hex_latitude":"0713b498","is_valid_coordinates":true} 
[2026-08-01 16:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108562688001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:08:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521401856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:08:21] 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-08-01 16:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785580627000,"timestamp_ms":1785580627000,"timestamp_seconds":1785580627,"priority":1,"record_length":96,"hex_timestamp":"0000019fbce62438"} 
[2026-08-01 16:08:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:08:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-01 16:08:21] 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-08-01 16:08:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:08:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:08:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108562688001,"66":26430,"190":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478517653521401856},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-08-01 16:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108562688001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:08:21] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-01 16:08:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:08:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521401856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108562688001,"power":26430,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521401856}} 
[2026-08-01 16:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":147329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:08:21] local.INFO: GPS data processed {"connection_id":147329,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:08:21] local.INFO: Acknowledgment sent {"connection_id":147329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:08:44] local.INFO: TCP Data received {"connection_id":146317,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:08:44] local.INFO: Processing buffer {"connection_id":146317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:08:44] local.INFO: IMEI packet received {"connection_id":146317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":146317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:08:48] local.INFO: TCP Data received {"connection_id":146097,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbce3bef0012d1968c0071fee10003d011424..."} 
[2026-08-01 16:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbce3bef0012d1968c0071fee10003d011424..."} 
[2026-08-01 16:08:48] local.INFO: Processing buffer {"connection_id":146097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbce3bef0012d1968c0071fee10003d011424..."} 
[2026-08-01 16:08:48] local.INFO: Packet analysis {"connection_id":146097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbce3"} 
[2026-08-01 16:08:48] local.INFO: Extracted packet for processing {"connection_id":146097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbce3"} 
[2026-08-01 16:08:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108594944001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:08: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-08-01 16:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785580470000,"timestamp_ms":1785580470000,"timestamp_seconds":1785580470,"priority":1,"record_length":96,"hex_timestamp":"0000019fbce3bef0"} 
[2026-08-01 16:08:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:08:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-01 16:08:48] 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-08-01 16:08:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:08:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:08:48] 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-08-01 16:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108594944001,"66":12178,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108594944001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:08:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:08:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:08:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108594944001,"power":12178,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":146097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:08:48] local.INFO: GPS data processed {"connection_id":146097,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:08:48] local.INFO: Acknowledgment sent {"connection_id":146097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:08:49] local.INFO: TCP Data received {"connection_id":146317,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:08:49] local.INFO: Processing buffer {"connection_id":146317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:08:49] local.INFO: IMEI packet received {"connection_id":146317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":146317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:08:50] local.INFO: TCP Data received {"connection_id":146317,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fbce62438012ceb7b800713b498001100c529..."} 
[2026-08-01 16:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbce62438012ceb7b800713b498001100c529..."} 
[2026-08-01 16:08:50] local.INFO: Processing buffer {"connection_id":146317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbce62438012ceb7b800713b498001100c529..."} 
[2026-08-01 16:08:50] local.INFO: Packet analysis {"connection_id":146317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbce6"} 
[2026-08-01 16:08:50] local.INFO: Extracted packet for processing {"connection_id":146317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbce6"} 
[2026-08-01 16:08:50] local.INFO: GPS Element Parsed {"raw_longitude":753630080,"raw_latitude":118731928,"longitude_deg":75.363008,"latitude_deg":11.8731928,"altitude":17,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2ceb7b80","hex_latitude":"0713b498","is_valid_coordinates":true} 
[2026-08-01 16:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:08:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108562688001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:08:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:08:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521401856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:08:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:08:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785580627000,"timestamp_ms":1785580627000,"timestamp_seconds":1785580627,"priority":1,"record_length":96,"hex_timestamp":"0000019fbce62438"} 
[2026-08-01 16:08:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:08:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-01 16:08:50] 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-08-01 16:08:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:08:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:08:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:08:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:08:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:08:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:08:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:08:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:08:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:08:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108562688001,"66":26430,"190":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478517653521401856},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-08-01 16:08:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:08:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:08:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108562688001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:08:50] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-01 16:08:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:08:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:08:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521401856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:08:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108562688001,"power":26430,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521401856}} 
[2026-08-01 16:08:50] local.INFO: DEBUG: GPS processor result {"connection_id":146317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:08:50] local.INFO: GPS data processed {"connection_id":146317,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:08:50] local.INFO: Acknowledgment sent {"connection_id":146317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:08:59] local.INFO: TCP Data received {"connection_id":147330,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147330,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:08:59] local.INFO: Processing buffer {"connection_id":147330,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:08:59] local.INFO: IMEI packet received {"connection_id":147330,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":147330,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:09:00] local.INFO: TCP Data received {"connection_id":147330,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147330,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:09:00] local.INFO: Processing buffer {"connection_id":147330,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:09:00] local.INFO: IMEI packet received {"connection_id":147330,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":147330,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:09:05] local.INFO: TCP Data received {"connection_id":147330,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147330,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:09:05] local.INFO: Processing buffer {"connection_id":147330,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:09:05] local.INFO: IMEI packet received {"connection_id":147330,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":147330,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:09:06] local.INFO: TCP Data received {"connection_id":147330,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbce410f8012d1968c0071fee10003d011425..."} 
[2026-08-01 16:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbce410f8012d1968c0071fee10003d011425..."} 
[2026-08-01 16:09:06] local.INFO: Processing buffer {"connection_id":147330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbce410f8012d1968c0071fee10003d011425..."} 
[2026-08-01 16:09:06] local.INFO: Packet analysis {"connection_id":147330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbce4"} 
[2026-08-01 16:09:06] local.INFO: Extracted packet for processing {"connection_id":147330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbce4"} 
[2026-08-01 16:09:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108600320001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785580491000,"timestamp_ms":1785580491000,"timestamp_seconds":1785580491,"priority":1,"record_length":96,"hex_timestamp":"0000019fbce410f8"} 
[2026-08-01 16:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-01 16:09:06] 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-08-01 16: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-08-01 16:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:09:06] 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-08-01 16:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108600320001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108600320001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:09:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:09:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108600320001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":147330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577928,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:09:06] local.INFO: GPS data processed {"connection_id":147330,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:09:06] local.INFO: Acknowledgment sent {"connection_id":147330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:09:21] local.INFO: TCP Data received {"connection_id":146317,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fbce62438012ceb7b800713b498001100c529..."} 
[2026-08-01 16:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbce62438012ceb7b800713b498001100c529..."} 
[2026-08-01 16:09:21] local.INFO: Processing buffer {"connection_id":146317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbce62438012ceb7b800713b498001100c529..."} 
[2026-08-01 16:09:21] local.INFO: Packet analysis {"connection_id":146317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbce6"} 
[2026-08-01 16:09:21] local.INFO: Extracted packet for processing {"connection_id":146317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbce6"} 
[2026-08-01 16:09:21] local.INFO: GPS Element Parsed {"raw_longitude":753630080,"raw_latitude":118731928,"longitude_deg":75.363008,"latitude_deg":11.8731928,"altitude":17,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2ceb7b80","hex_latitude":"0713b498","is_valid_coordinates":true} 
[2026-08-01 16:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108562688001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:09:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521401856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:09:21] 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-08-01 16:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785580627000,"timestamp_ms":1785580627000,"timestamp_seconds":1785580627,"priority":1,"record_length":96,"hex_timestamp":"0000019fbce62438"} 
[2026-08-01 16:09:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:09:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-01 16:09:21] 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-08-01 16:09:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:09:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:09:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108562688001,"66":26430,"190":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478517653521401856},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-08-01 16:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108562688001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:09:21] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-01 16:09:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:09:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521401856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108562688001,"power":26430,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521401856}} 
[2026-08-01 16:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":146317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:09:21] local.INFO: GPS data processed {"connection_id":146317,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:09:21] local.INFO: Acknowledgment sent {"connection_id":146317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:09:37] local.INFO: TCP Data received {"connection_id":147330,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbce46300012d1968c0071fee10003d011425..."} 
[2026-08-01 16:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbce46300012d1968c0071fee10003d011425..."} 
[2026-08-01 16:09:37] local.INFO: Processing buffer {"connection_id":147330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbce46300012d1968c0071fee10003d011425..."} 
[2026-08-01 16:09:37] local.INFO: Packet analysis {"connection_id":147330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbce4"} 
[2026-08-01 16:09:37] local.INFO: Extracted packet for processing {"connection_id":147330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbce4"} 
[2026-08-01 16:09:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108605696001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785580512000,"timestamp_ms":1785580512000,"timestamp_seconds":1785580512,"priority":1,"record_length":96,"hex_timestamp":"0000019fbce46300"} 
[2026-08-01 16:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:09: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-08-01 16:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:09:37] 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-08-01 16:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:09:37] 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-08-01 16:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108605696001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108605696001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:09:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:09:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108605696001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":147330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577930,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:09:37] local.INFO: GPS data processed {"connection_id":147330,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:09:37] local.INFO: Acknowledgment sent {"connection_id":147330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:09:44] local.INFO: TCP Data received {"connection_id":148633,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:09:44] local.INFO: Processing buffer {"connection_id":148633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:09:44] local.INFO: IMEI packet received {"connection_id":148633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":148633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:09:49] local.INFO: TCP Data received {"connection_id":148633,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:09:49] local.INFO: Processing buffer {"connection_id":148633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:09:49] local.INFO: IMEI packet received {"connection_id":148633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":148633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:09:50] local.INFO: TCP Data received {"connection_id":148633,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fbce62438012ceb7b800713b498001100c529..."} 
[2026-08-01 16:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbce62438012ceb7b800713b498001100c529..."} 
[2026-08-01 16:09:50] local.INFO: Processing buffer {"connection_id":148633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbce62438012ceb7b800713b498001100c529..."} 
[2026-08-01 16:09:50] local.INFO: Packet analysis {"connection_id":148633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbce6"} 
[2026-08-01 16:09:50] local.INFO: Extracted packet for processing {"connection_id":148633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbce6"} 
[2026-08-01 16:09:50] local.INFO: GPS Element Parsed {"raw_longitude":753630080,"raw_latitude":118731928,"longitude_deg":75.363008,"latitude_deg":11.8731928,"altitude":17,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2ceb7b80","hex_latitude":"0713b498","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108562688001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:09:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521401856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:09:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:09:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785580627000,"timestamp_ms":1785580627000,"timestamp_seconds":1785580627,"priority":1,"record_length":96,"hex_timestamp":"0000019fbce62438"} 
[2026-08-01 16:09:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:09:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16: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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-01 16:09:50] 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-08-01 16: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-08-01 16:09:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:09:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:09:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:09:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:09:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108562688001,"66":26430,"190":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478517653521401856},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-08-01 16:09:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:09:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:09:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108562688001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:09:50] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-01 16:09:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:09:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:09:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521401856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:09:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108562688001,"power":26430,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521401856}} 
[2026-08-01 16:09:50] local.INFO: DEBUG: GPS processor result {"connection_id":148633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:09:50] local.INFO: GPS data processed {"connection_id":148633,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:09:50] local.INFO: Acknowledgment sent {"connection_id":148633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:10:00] local.INFO: TCP Data received {"connection_id":147331,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:10:00] local.INFO: Processing buffer {"connection_id":147331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:10:00] local.INFO: IMEI packet received {"connection_id":147331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":147331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:10:02] local.INFO: TCP Data received {"connection_id":147331,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:10:02] local.INFO: Processing buffer {"connection_id":147331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:10:02] local.INFO: IMEI packet received {"connection_id":147331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":147331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:10:05] local.INFO: TCP Data received {"connection_id":147331,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:10:05] local.INFO: Processing buffer {"connection_id":147331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:10:05] local.INFO: IMEI packet received {"connection_id":147331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":147331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:10:06] local.INFO: TCP Data received {"connection_id":147331,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbce4b508012d1968c0071fee10003d011426..."} 
[2026-08-01 16:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbce4b508012d1968c0071fee10003d011426..."} 
[2026-08-01 16:10:06] local.INFO: Processing buffer {"connection_id":147331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbce4b508012d1968c0071fee10003d011426..."} 
[2026-08-01 16:10:06] local.INFO: Packet analysis {"connection_id":147331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbce4"} 
[2026-08-01 16:10:06] local.INFO: Extracted packet for processing {"connection_id":147331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbce4"} 
[2026-08-01 16:10:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108611072001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785580533000,"timestamp_ms":1785580533000,"timestamp_seconds":1785580533,"priority":1,"record_length":96,"hex_timestamp":"0000019fbce4b508"} 
[2026-08-01 16:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:10:06] 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-08-01 16:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108611072001,"66":12200,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108611072001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:10:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:10:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108611072001,"power":12200,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":147331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:10:06] local.INFO: GPS data processed {"connection_id":147331,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:10:06] local.INFO: Acknowledgment sent {"connection_id":147331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:10:21] local.INFO: TCP Data received {"connection_id":148633,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fbce62438012ceb7b800713b498001100c529..."} 
[2026-08-01 16:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbce62438012ceb7b800713b498001100c529..."} 
[2026-08-01 16:10:21] local.INFO: Processing buffer {"connection_id":148633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbce62438012ceb7b800713b498001100c529..."} 
[2026-08-01 16:10:21] local.INFO: Packet analysis {"connection_id":148633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbce6"} 
[2026-08-01 16:10:21] local.INFO: Extracted packet for processing {"connection_id":148633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbce6"} 
[2026-08-01 16:10:21] local.INFO: GPS Element Parsed {"raw_longitude":753630080,"raw_latitude":118731928,"longitude_deg":75.363008,"latitude_deg":11.8731928,"altitude":17,"angle":197,"satellites":41,"speed":0,"hex_longitude":"2ceb7b80","hex_latitude":"0713b498","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108562688001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:10:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521401856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:10:21] 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-08-01 16:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785580627000,"timestamp_ms":1785580627000,"timestamp_seconds":1785580627,"priority":1,"record_length":96,"hex_timestamp":"0000019fbce62438"} 
[2026-08-01 16:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:10:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16: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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-01 16:10:21] 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-08-01 16: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-08-01 16:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:10:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108562688001,"66":26430,"190":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478517653521401856},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-08-01 16:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108562688001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:10:21] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-01 16:10:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:10:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521401856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108562688001,"power":26430,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521401856}} 
[2026-08-01 16:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":148633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:10:21] local.INFO: GPS data processed {"connection_id":148633,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:10:21] local.INFO: Acknowledgment sent {"connection_id":148633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:10:37] local.INFO: TCP Data received {"connection_id":147331,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbce50710012d1968c0071fee10003d011428..."} 
[2026-08-01 16:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbce50710012d1968c0071fee10003d011428..."} 
[2026-08-01 16:10:37] local.INFO: Processing buffer {"connection_id":147331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbce50710012d1968c0071fee10003d011428..."} 
[2026-08-01 16:10:37] local.INFO: Packet analysis {"connection_id":147331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbce5"} 
[2026-08-01 16:10:37] local.INFO: Extracted packet for processing {"connection_id":147331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbce5"} 
[2026-08-01 16:10:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108616448001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785580554000,"timestamp_ms":1785580554000,"timestamp_seconds":1785580554,"priority":1,"record_length":96,"hex_timestamp":"0000019fbce50710"} 
[2026-08-01 16:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:10: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-08-01 16:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-08-01 16:10:37] 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-08-01 16:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:10:37] 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-08-01 16:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108616448001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108616448001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:10:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:10:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108616448001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":147331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:10:37] local.INFO: GPS data processed {"connection_id":147331,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:10:37] local.INFO: Acknowledgment sent {"connection_id":147331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:10:42] local.INFO: TCP Data received {"connection_id":148634,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:10:42] local.INFO: Processing buffer {"connection_id":148634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:10:42] local.INFO: IMEI packet received {"connection_id":148634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:10:42] local.INFO: IMEI acknowledgment sent {"connection_id":148634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:10:43] local.INFO: TCP Data received {"connection_id":148634,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:10:43] local.INFO: Processing buffer {"connection_id":148634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:10:43] local.INFO: IMEI packet received {"connection_id":148634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":148634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:10:44] local.INFO: TCP Data received {"connection_id":148634,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:10:44] local.INFO: Processing buffer {"connection_id":148634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:10:44] local.INFO: IMEI packet received {"connection_id":148634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":148634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:10:49] local.INFO: TCP Data received {"connection_id":148634,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:10:49] local.INFO: Processing buffer {"connection_id":148634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:10:49] local.INFO: IMEI packet received {"connection_id":148634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":148634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:10:50] local.INFO: TCP Data received {"connection_id":148634,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fbce8d7a0012ceb7b800713b498001100c52a..."} 
[2026-08-01 16:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbce8d7a0012ceb7b800713b498001100c52a..."} 
[2026-08-01 16:10:50] local.INFO: Processing buffer {"connection_id":148634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbce8d7a0012ceb7b800713b498001100c52a..."} 
[2026-08-01 16:10:50] local.INFO: Packet analysis {"connection_id":148634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbce8"} 
[2026-08-01 16:10:50] local.INFO: Extracted packet for processing {"connection_id":148634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbce8"} 
[2026-08-01 16:10:50] local.INFO: GPS Element Parsed {"raw_longitude":753630080,"raw_latitude":118731928,"longitude_deg":75.363008,"latitude_deg":11.8731928,"altitude":17,"angle":197,"satellites":42,"speed":0,"hex_longitude":"2ceb7b80","hex_latitude":"0713b498","is_valid_coordinates":true} 
[2026-08-01 16:10: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-08-01 16:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108640512001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:10:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478447284777347072,"note":"Value kept but may cause issues"} 
[2026-08-01 16:10:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785580804000,"timestamp_ms":1785580804000,"timestamp_seconds":1785580804,"priority":1,"record_length":96,"hex_timestamp":"0000019fbce8d7a0"} 
[2026-08-01 16:10:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:10:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-01 16:10:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1271,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:10:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:10:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:10:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108640512001,"66":26267,"190":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478447284777347072},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-08-01 16:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108640512001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:10:50] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-01 16:10:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:10:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478447284777347072,"description":"Unknown IO ID 44"} 
[2026-08-01 16:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108640512001,"power":26267,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478447284777347072}} 
[2026-08-01 16:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":148634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:10:50] local.INFO: GPS data processed {"connection_id":148634,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:10:50] local.INFO: Acknowledgment sent {"connection_id":148634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:11:00] local.INFO: TCP Data received {"connection_id":146098,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:11:00] local.INFO: Processing buffer {"connection_id":146098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:11:00] local.INFO: IMEI packet received {"connection_id":146098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":146098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:11:05] local.INFO: TCP Data received {"connection_id":146098,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:11:05] local.INFO: Processing buffer {"connection_id":146098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:11:05] local.INFO: IMEI packet received {"connection_id":146098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":146098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:11:06] local.INFO: TCP Data received {"connection_id":146098,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbce55918012d1968c0071fee10003d011427..."} 
[2026-08-01 16:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbce55918012d1968c0071fee10003d011427..."} 
[2026-08-01 16:11:06] local.INFO: Processing buffer {"connection_id":146098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbce55918012d1968c0071fee10003d011427..."} 
[2026-08-01 16:11:06] local.INFO: Packet analysis {"connection_id":146098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbce5"} 
[2026-08-01 16:11:06] local.INFO: Extracted packet for processing {"connection_id":146098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbce5"} 
[2026-08-01 16:11:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108621824001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785580575000,"timestamp_ms":1785580575000,"timestamp_seconds":1785580575,"priority":1,"record_length":96,"hex_timestamp":"0000019fbce55918"} 
[2026-08-01 16:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16: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-08-01 16:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:11:06] 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-08-01 16:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108621824001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108621824001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:11:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:11:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108621824001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":146098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:11:06] local.INFO: GPS data processed {"connection_id":146098,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:11:06] local.INFO: Acknowledgment sent {"connection_id":146098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:11:21] local.INFO: TCP Data received {"connection_id":148634,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fbce8e358012ceb7b800713b2f8001100a02c..."} 
[2026-08-01 16:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbce8e358012ceb7b800713b2f8001100a02c..."} 
[2026-08-01 16:11:21] local.INFO: Processing buffer {"connection_id":148634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbce8e358012ceb7b800713b2f8001100a02c..."} 
[2026-08-01 16:11:21] local.INFO: Packet analysis {"connection_id":148634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbce8"} 
[2026-08-01 16:11:21] local.INFO: Extracted packet for processing {"connection_id":148634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbce8"} 
[2026-08-01 16:11:21] local.INFO: GPS Element Parsed {"raw_longitude":753630080,"raw_latitude":118731512,"longitude_deg":75.363008,"latitude_deg":11.8731512,"altitude":17,"angle":160,"satellites":44,"speed":0,"hex_longitude":"2ceb7b80","hex_latitude":"0713b2f8","is_valid_coordinates":true} 
[2026-08-01 16:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108685824001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:11:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478447284777347072,"note":"Value kept but may cause issues"} 
[2026-08-01 16:11:21] 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-08-01 16:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785580807000,"timestamp_ms":1785580807000,"timestamp_seconds":1785580807,"priority":1,"record_length":96,"hex_timestamp":"0000019fbce8e358"} 
[2026-08-01 16:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:11:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-01 16:11:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:11:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:11:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108685824001,"66":27463,"190":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478447284777347072},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-08-01 16:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108685824001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:11:21] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-01 16:11:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:11:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478447284777347072,"description":"Unknown IO ID 44"} 
[2026-08-01 16:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108685824001,"power":27463,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478447284777347072}} 
[2026-08-01 16:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":148634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:11:21] local.INFO: GPS data processed {"connection_id":148634,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:11:21] local.INFO: Acknowledgment sent {"connection_id":148634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:11:37] local.INFO: TCP Data received {"connection_id":146098,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbce8df70012d1968c0071fee10003d011428..."} 
[2026-08-01 16:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbce8df70012d1968c0071fee10003d011428..."} 
[2026-08-01 16:11:37] local.INFO: Processing buffer {"connection_id":146098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbce8df70012d1968c0071fee10003d011428..."} 
[2026-08-01 16:11:37] local.INFO: Packet analysis {"connection_id":146098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbce8"} 
[2026-08-01 16:11:37] local.INFO: Extracted packet for processing {"connection_id":146098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbce8"} 
[2026-08-01 16:11:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108680960001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785580806000,"timestamp_ms":1785580806000,"timestamp_seconds":1785580806,"priority":1,"record_length":96,"hex_timestamp":"0000019fbce8df70"} 
[2026-08-01 16:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:11:37] 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-08-01 16:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:11:37] 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-08-01 16:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108680960001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108680960001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:11:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:11:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108680960001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":146098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:11:37] local.INFO: GPS data processed {"connection_id":146098,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:11:37] local.INFO: Acknowledgment sent {"connection_id":146098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:11:43] local.INFO: TCP Data received {"connection_id":146099,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:11:43] local.INFO: Processing buffer {"connection_id":146099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:11:43] local.INFO: IMEI packet received {"connection_id":146099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":146099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:11:49] local.INFO: TCP Data received {"connection_id":146099,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:11:49] local.INFO: Processing buffer {"connection_id":146099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:11:49] local.INFO: IMEI packet received {"connection_id":146099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":146099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:11:50] local.INFO: TCP Data received {"connection_id":146099,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fbce93560012ceb7b800713b2f8001100a02c..."} 
[2026-08-01 16:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbce93560012ceb7b800713b2f8001100a02c..."} 
[2026-08-01 16:11:50] local.INFO: Processing buffer {"connection_id":146099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbce93560012ceb7b800713b2f8001100a02c..."} 
[2026-08-01 16:11:50] local.INFO: Packet analysis {"connection_id":146099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbce9"} 
[2026-08-01 16:11:50] local.INFO: Extracted packet for processing {"connection_id":146099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbce9"} 
[2026-08-01 16:11:50] local.INFO: GPS Element Parsed {"raw_longitude":753630080,"raw_latitude":118731512,"longitude_deg":75.363008,"latitude_deg":11.8731512,"altitude":17,"angle":160,"satellites":44,"speed":0,"hex_longitude":"2ceb7b80","hex_latitude":"0713b2f8","is_valid_coordinates":true} 
[2026-08-01 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-08-01 16:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108686592001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:11:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478447284777453568,"note":"Value kept but may cause issues"} 
[2026-08-01 16:11:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785580828000,"timestamp_ms":1785580828000,"timestamp_seconds":1785580828,"priority":1,"record_length":96,"hex_timestamp":"0000019fbce93560"} 
[2026-08-01 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-08-01 16:11: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-08-01 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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-01 16:11:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 16:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:11:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108686592001,"66":27887,"190":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478447284777453568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-08-01 16:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108686592001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:11:50] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-01 16:11:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:11:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478447284777453568,"description":"Unknown IO ID 44"} 
[2026-08-01 16:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108686592001,"power":27887,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478447284777453568}} 
[2026-08-01 16:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":146099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:11:50] local.INFO: GPS data processed {"connection_id":146099,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:11:50] local.INFO: Acknowledgment sent {"connection_id":146099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:12:00] local.INFO: TCP Data received {"connection_id":146318,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:12:00] local.INFO: Processing buffer {"connection_id":146318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:12:00] local.INFO: IMEI packet received {"connection_id":146318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":146318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:12:05] local.INFO: TCP Data received {"connection_id":146318,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:12:05] local.INFO: Processing buffer {"connection_id":146318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:12:05] local.INFO: IMEI packet received {"connection_id":146318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":146318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:12:06] local.INFO: TCP Data received {"connection_id":146318,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbce93178012d1968c0071fee10003d011428..."} 
[2026-08-01 16:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbce93178012d1968c0071fee10003d011428..."} 
[2026-08-01 16:12:06] local.INFO: Processing buffer {"connection_id":146318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbce93178012d1968c0071fee10003d011428..."} 
[2026-08-01 16:12:06] local.INFO: Packet analysis {"connection_id":146318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbce9"} 
[2026-08-01 16:12:06] local.INFO: Extracted packet for processing {"connection_id":146318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbce9"} 
[2026-08-01 16:12:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108686336001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785580827000,"timestamp_ms":1785580827000,"timestamp_seconds":1785580827,"priority":1,"record_length":96,"hex_timestamp":"0000019fbce93178"} 
[2026-08-01 16:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:12:06] 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-08-01 16:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108686336001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108686336001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:12:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:12:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108686336001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":146318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:12:06] local.INFO: GPS data processed {"connection_id":146318,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:12:06] local.INFO: Acknowledgment sent {"connection_id":146318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:12:21] local.INFO: TCP Data received {"connection_id":146099,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fbce98768012ceb7b800713b2f8001100a02b..."} 
[2026-08-01 16:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbce98768012ceb7b800713b2f8001100a02b..."} 
[2026-08-01 16:12:21] local.INFO: Processing buffer {"connection_id":146099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbce98768012ceb7b800713b2f8001100a02b..."} 
[2026-08-01 16:12:21] local.INFO: Packet analysis {"connection_id":146099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbce9"} 
[2026-08-01 16:12:21] local.INFO: Extracted packet for processing {"connection_id":146099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbce9"} 
[2026-08-01 16:12:21] local.INFO: GPS Element Parsed {"raw_longitude":753630080,"raw_latitude":118731512,"longitude_deg":75.363008,"latitude_deg":11.8731512,"altitude":17,"angle":160,"satellites":43,"speed":0,"hex_longitude":"2ceb7b80","hex_latitude":"0713b2f8","is_valid_coordinates":true} 
[2026-08-01 16:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108691968001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:12:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478447284777453568,"note":"Value kept but may cause issues"} 
[2026-08-01 16:12:21] 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-08-01 16:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785580849000,"timestamp_ms":1785580849000,"timestamp_seconds":1785580849,"priority":1,"record_length":96,"hex_timestamp":"0000019fbce98768"} 
[2026-08-01 16:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:12:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-01 16:12:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:12:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:12:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108691968001,"66":27919,"190":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478447284777453568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-08-01 16:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108691968001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:12:21] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-01 16:12:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:12:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478447284777453568,"description":"Unknown IO ID 44"} 
[2026-08-01 16:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108691968001,"power":27919,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478447284777453568}} 
[2026-08-01 16:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":146099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:12:21] local.INFO: GPS data processed {"connection_id":146099,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:12:21] local.INFO: Acknowledgment sent {"connection_id":146099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:12:37] local.INFO: TCP Data received {"connection_id":146318,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbce98380012d1968c0071fee10003d011426..."} 
[2026-08-01 16:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbce98380012d1968c0071fee10003d011426..."} 
[2026-08-01 16:12:37] local.INFO: Processing buffer {"connection_id":146318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbce98380012d1968c0071fee10003d011426..."} 
[2026-08-01 16:12:37] local.INFO: Packet analysis {"connection_id":146318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbce9"} 
[2026-08-01 16:12:37] local.INFO: Extracted packet for processing {"connection_id":146318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbce9"} 
[2026-08-01 16:12:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108691712001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785580848000,"timestamp_ms":1785580848000,"timestamp_seconds":1785580848,"priority":1,"record_length":96,"hex_timestamp":"0000019fbce98380"} 
[2026-08-01 16:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:12:37] 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-08-01 16:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:12:37] 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-08-01 16:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108691712001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108691712001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:12:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:12:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108691712001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":146318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:12:37] local.INFO: GPS data processed {"connection_id":146318,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:12:37] local.INFO: Acknowledgment sent {"connection_id":146318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:12:49] local.INFO: TCP Data received {"connection_id":147332,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:12:49] local.INFO: Processing buffer {"connection_id":147332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:12:49] local.INFO: IMEI packet received {"connection_id":147332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":147332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:12:54] local.INFO: TCP Data received {"connection_id":147332,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:12:54] local.INFO: Processing buffer {"connection_id":147332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:12:54] local.INFO: IMEI packet received {"connection_id":147332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":147332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:12:55] local.INFO: TCP Data received {"connection_id":147332,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fbce9aa90012ceb7b800713b2f8001100a02a..."} 
[2026-08-01 16:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbce9aa90012ceb7b800713b2f8001100a02a..."} 
[2026-08-01 16:12:55] local.INFO: Processing buffer {"connection_id":147332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbce9aa90012ceb7b800713b2f8001100a02a..."} 
[2026-08-01 16:12:55] local.INFO: Packet analysis {"connection_id":147332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbce9"} 
[2026-08-01 16:12:55] local.INFO: Extracted packet for processing {"connection_id":147332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbce9"} 
[2026-08-01 16:12:55] local.INFO: GPS Element Parsed {"raw_longitude":753630080,"raw_latitude":118731512,"longitude_deg":75.363008,"latitude_deg":11.8731512,"altitude":17,"angle":160,"satellites":42,"speed":0,"hex_longitude":"2ceb7b80","hex_latitude":"0713b2f8","is_valid_coordinates":true} 
[2026-08-01 16:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108697344001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:12:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478447284777453568,"note":"Value kept but may cause issues"} 
[2026-08-01 16:12:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785580858000,"timestamp_ms":1785580858000,"timestamp_seconds":1785580858,"priority":1,"record_length":96,"hex_timestamp":"0000019fbce9aa90"} 
[2026-08-01 16:12:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:12:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 16:12:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:12:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:12:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":147332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":147332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":147332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108697344001,"66":27995,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478447284777453568},"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-08-01 16:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108697344001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:12:55] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:12:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:12:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478447284777453568,"description":"Unknown IO ID 44"} 
[2026-08-01 16:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108697344001,"power":27995,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478447284777453568}} 
[2026-08-01 16:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":147332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:12:55] local.INFO: GPS data processed {"connection_id":147332,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:12:55] local.INFO: Acknowledgment sent {"connection_id":147332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:13:05] local.INFO: TCP Data received {"connection_id":148635,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:13:05] local.INFO: Processing buffer {"connection_id":148635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:13:05] local.INFO: IMEI packet received {"connection_id":148635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":148635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:13:10] local.INFO: TCP Data received {"connection_id":148635,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:13:10] local.INFO: Processing buffer {"connection_id":148635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:13:10] local.INFO: IMEI packet received {"connection_id":148635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":148635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:13:11] local.INFO: TCP Data received {"connection_id":148635,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbce9d588012d1968c0071fee10003d011428..."} 
[2026-08-01 16:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbce9d588012d1968c0071fee10003d011428..."} 
[2026-08-01 16:13:11] local.INFO: Processing buffer {"connection_id":148635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbce9d588012d1968c0071fee10003d011428..."} 
[2026-08-01 16:13:11] local.INFO: Packet analysis {"connection_id":148635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbce9"} 
[2026-08-01 16:13:11] local.INFO: Extracted packet for processing {"connection_id":148635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbce9"} 
[2026-08-01 16:13:11] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108697088001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785580869000,"timestamp_ms":1785580869000,"timestamp_seconds":1785580869,"priority":1,"record_length":96,"hex_timestamp":"0000019fbce9d588"} 
[2026-08-01 16:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:13: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-08-01 16: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":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:13: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-08-01 16: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-08-01 16:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":148635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":148635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":148635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:13:11] 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-08-01 16:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108697088001,"66":12254,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108697088001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:13:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:13:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108697088001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":148635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577944,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:13:11] local.INFO: GPS data processed {"connection_id":148635,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:13:11] local.INFO: Acknowledgment sent {"connection_id":148635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:13:11] local.INFO: TCP Data received {"connection_id":148635,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcea2790012d1968c0071fee10003d011427..."} 
[2026-08-01 16:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcea2790012d1968c0071fee10003d011427..."} 
[2026-08-01 16:13:11] local.INFO: Processing buffer {"connection_id":148635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcea2790012d1968c0071fee10003d011427..."} 
[2026-08-01 16:13:11] local.INFO: Packet analysis {"connection_id":148635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcea"} 
[2026-08-01 16:13:11] local.INFO: Extracted packet for processing {"connection_id":148635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcea"} 
[2026-08-01 16:13:11] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108702464001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785580890000,"timestamp_ms":1785580890000,"timestamp_seconds":1785580890,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcea2790"} 
[2026-08-01 16:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:13: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-08-01 16: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":222,"data_length":795,"current_offset":136} 
[2026-08-01 16:13: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-08-01 16: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-08-01 16:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":148635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":148635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":148635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:13:11] 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-08-01 16:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108702464001,"66":12232,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108702464001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:13:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:13:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108702464001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":148635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:13:12] local.INFO: GPS data processed {"connection_id":148635,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:13:12] local.INFO: Acknowledgment sent {"connection_id":148635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:13:13] local.INFO: TCP Data received {"connection_id":147332,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fbce9aa90012ceb7b800713b2f8001100a02a..."} 
[2026-08-01 16:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbce9aa90012ceb7b800713b2f8001100a02a..."} 
[2026-08-01 16:13:13] local.INFO: Processing buffer {"connection_id":147332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbce9aa90012ceb7b800713b2f8001100a02a..."} 
[2026-08-01 16:13:13] local.INFO: Packet analysis {"connection_id":147332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbce9"} 
[2026-08-01 16:13:13] local.INFO: Extracted packet for processing {"connection_id":147332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbce9"} 
[2026-08-01 16:13:13] local.INFO: GPS Element Parsed {"raw_longitude":753630080,"raw_latitude":118731512,"longitude_deg":75.363008,"latitude_deg":11.8731512,"altitude":17,"angle":160,"satellites":42,"speed":0,"hex_longitude":"2ceb7b80","hex_latitude":"0713b2f8","is_valid_coordinates":true} 
[2026-08-01 16:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108697344001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:13:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478447284777453568,"note":"Value kept but may cause issues"} 
[2026-08-01 16:13:13] 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-08-01 16:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785580858000,"timestamp_ms":1785580858000,"timestamp_seconds":1785580858,"priority":1,"record_length":96,"hex_timestamp":"0000019fbce9aa90"} 
[2026-08-01 16:13:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:13: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-08-01 16:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 16:13:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:13:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:13:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":147332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":147332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":147332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108697344001,"66":27995,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478447284777453568},"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-08-01 16:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108697344001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:13:13] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:13:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:13:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478447284777453568,"description":"Unknown IO ID 44"} 
[2026-08-01 16:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108697344001,"power":27995,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478447284777453568}} 
[2026-08-01 16:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":147332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:13:13] local.INFO: GPS data processed {"connection_id":147332,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:13:13] local.INFO: Acknowledgment sent {"connection_id":147332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:13:43] local.INFO: TCP Data received {"connection_id":148635,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcea7998012d1968c0071fee10003d011428..."} 
[2026-08-01 16:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcea7998012d1968c0071fee10003d011428..."} 
[2026-08-01 16:13:43] local.INFO: Processing buffer {"connection_id":148635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcea7998012d1968c0071fee10003d011428..."} 
[2026-08-01 16:13:43] local.INFO: Packet analysis {"connection_id":148635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcea"} 
[2026-08-01 16:13:43] local.INFO: Extracted packet for processing {"connection_id":148635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcea"} 
[2026-08-01 16:13:43] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108707840001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:13: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-08-01 16:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785580911000,"timestamp_ms":1785580911000,"timestamp_seconds":1785580911,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcea7998"} 
[2026-08-01 16:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:13:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-01 16:13:43] 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-08-01 16: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-08-01 16:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":148635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":148635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":148635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:13:43] 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-08-01 16:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108707840001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108707840001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:13:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:13:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108707840001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":148635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:13:43] local.INFO: GPS data processed {"connection_id":148635,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:13:43] local.INFO: Acknowledgment sent {"connection_id":148635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:13:44] local.INFO: TCP Data received {"connection_id":147333,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:13:44] local.INFO: Processing buffer {"connection_id":147333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:13:44] local.INFO: IMEI packet received {"connection_id":147333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":147333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:13:49] local.INFO: TCP Data received {"connection_id":147333,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:13:49] local.INFO: Processing buffer {"connection_id":147333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:13:49] local.INFO: IMEI packet received {"connection_id":147333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":147333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:13:50] local.INFO: TCP Data received {"connection_id":147333,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbce9aa90012ceb7b800713b2f8001100a02a..."} 
[2026-08-01 16:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbce9aa90012ceb7b800713b2f8001100a02a..."} 
[2026-08-01 16:13:50] local.INFO: Processing buffer {"connection_id":147333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbce9aa90012ceb7b800713b2f8001100a02a..."} 
[2026-08-01 16:13:50] local.INFO: Packet analysis {"connection_id":147333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbce9"} 
[2026-08-01 16:13:50] local.INFO: Extracted packet for processing {"connection_id":147333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbce9"} 
[2026-08-01 16:13:50] local.INFO: GPS Element Parsed {"raw_longitude":753630080,"raw_latitude":118731512,"longitude_deg":75.363008,"latitude_deg":11.8731512,"altitude":17,"angle":160,"satellites":42,"speed":0,"hex_longitude":"2ceb7b80","hex_latitude":"0713b2f8","is_valid_coordinates":true} 
[2026-08-01 16:13: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-08-01 16:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108697344001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:13:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478447284777453568,"note":"Value kept but may cause issues"} 
[2026-08-01 16:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785580858000,"timestamp_ms":1785580858000,"timestamp_seconds":1785580858,"priority":1,"record_length":96,"hex_timestamp":"0000019fbce9aa90"} 
[2026-08-01 16:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:13:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 16:13:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:13:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108697344001,"66":27995,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478447284777453568},"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-08-01 16:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108697344001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:13:50] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:13:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:13:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478447284777453568,"description":"Unknown IO ID 44"} 
[2026-08-01 16:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108697344001,"power":27995,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478447284777453568}} 
[2026-08-01 16:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":147333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:13:50] local.INFO: GPS data processed {"connection_id":147333,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:13:50] local.INFO: Acknowledgment sent {"connection_id":147333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:14:00] local.INFO: TCP Data received {"connection_id":146319,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:14:00] local.INFO: Processing buffer {"connection_id":146319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:14:00] local.INFO: IMEI packet received {"connection_id":146319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":146319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:14:05] local.INFO: TCP Data received {"connection_id":146319,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:14:05] local.INFO: Processing buffer {"connection_id":146319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:14:05] local.INFO: IMEI packet received {"connection_id":146319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":146319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:14:06] local.INFO: TCP Data received {"connection_id":146319,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbceacba0012d1968c0071fee10003d011428..."} 
[2026-08-01 16:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbceacba0012d1968c0071fee10003d011428..."} 
[2026-08-01 16:14:06] local.INFO: Processing buffer {"connection_id":146319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbceacba0012d1968c0071fee10003d011428..."} 
[2026-08-01 16:14:06] local.INFO: Packet analysis {"connection_id":146319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcea"} 
[2026-08-01 16:14:06] local.INFO: Extracted packet for processing {"connection_id":146319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcea"} 
[2026-08-01 16:14:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108713216001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785580932000,"timestamp_ms":1785580932000,"timestamp_seconds":1785580932,"priority":1,"record_length":96,"hex_timestamp":"0000019fbceacba0"} 
[2026-08-01 16:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16: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-08-01 16:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:14:06] 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-08-01 16:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108713216001,"66":12135,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108713216001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:14:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:14:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108713216001,"power":12135,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":146319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577949,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:14:06] local.INFO: GPS data processed {"connection_id":146319,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:14:06] local.INFO: Acknowledgment sent {"connection_id":146319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:14:21] local.INFO: TCP Data received {"connection_id":147333,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbce9aa90012ceb7b800713b2f8001100a02a..."} 
[2026-08-01 16:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbce9aa90012ceb7b800713b2f8001100a02a..."} 
[2026-08-01 16:14:21] local.INFO: Processing buffer {"connection_id":147333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbce9aa90012ceb7b800713b2f8001100a02a..."} 
[2026-08-01 16:14:21] local.INFO: Packet analysis {"connection_id":147333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbce9"} 
[2026-08-01 16:14:21] local.INFO: Extracted packet for processing {"connection_id":147333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbce9"} 
[2026-08-01 16:14:21] local.INFO: GPS Element Parsed {"raw_longitude":753630080,"raw_latitude":118731512,"longitude_deg":75.363008,"latitude_deg":11.8731512,"altitude":17,"angle":160,"satellites":42,"speed":0,"hex_longitude":"2ceb7b80","hex_latitude":"0713b2f8","is_valid_coordinates":true} 
[2026-08-01 16:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108697344001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:14:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478447284777453568,"note":"Value kept but may cause issues"} 
[2026-08-01 16:14:21] 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-08-01 16:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785580858000,"timestamp_ms":1785580858000,"timestamp_seconds":1785580858,"priority":1,"record_length":96,"hex_timestamp":"0000019fbce9aa90"} 
[2026-08-01 16:14:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:14:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 16:14:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:14:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:14:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:14:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108697344001,"66":27995,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478447284777453568},"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-08-01 16:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108697344001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:14:21] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:14:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:14:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478447284777453568,"description":"Unknown IO ID 44"} 
[2026-08-01 16:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108697344001,"power":27995,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478447284777453568}} 
[2026-08-01 16:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":147333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:14:21] local.INFO: GPS data processed {"connection_id":147333,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:14:21] local.INFO: Acknowledgment sent {"connection_id":147333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:14:36] local.INFO: TCP Data received {"connection_id":146319,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbceb1da8012d1968c0071fee10003d011427..."} 
[2026-08-01 16:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbceb1da8012d1968c0071fee10003d011427..."} 
[2026-08-01 16:14:36] local.INFO: Processing buffer {"connection_id":146319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbceb1da8012d1968c0071fee10003d011427..."} 
[2026-08-01 16:14:36] local.INFO: Packet analysis {"connection_id":146319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbceb"} 
[2026-08-01 16:14:36] local.INFO: Extracted packet for processing {"connection_id":146319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbceb"} 
[2026-08-01 16:14:36] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 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-08-01 16:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108718592001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785580953000,"timestamp_ms":1785580953000,"timestamp_seconds":1785580953,"priority":1,"record_length":96,"hex_timestamp":"0000019fbceb1da8"} 
[2026-08-01 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-08-01 16:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-01 16:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 16:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:14:36] 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-08-01 16:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108718592001,"66":12254,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108718592001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:14:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:14:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108718592001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":146319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:14:37] local.INFO: GPS data processed {"connection_id":146319,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:14:37] local.INFO: Acknowledgment sent {"connection_id":146319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:14:44] local.INFO: TCP Data received {"connection_id":148636,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:14:44] local.INFO: Processing buffer {"connection_id":148636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:14:44] local.INFO: IMEI packet received {"connection_id":148636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":148636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:14:49] local.INFO: TCP Data received {"connection_id":148636,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:14:49] local.INFO: Processing buffer {"connection_id":148636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:14:49] local.INFO: IMEI packet received {"connection_id":148636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":148636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:14:49] local.INFO: TCP Data received {"connection_id":148636,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fbce9aa90012ceb7b800713b2f8001100a02a..."} 
[2026-08-01 16:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbce9aa90012ceb7b800713b2f8001100a02a..."} 
[2026-08-01 16:14:49] local.INFO: Processing buffer {"connection_id":148636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbce9aa90012ceb7b800713b2f8001100a02a..."} 
[2026-08-01 16:14:49] local.INFO: Packet analysis {"connection_id":148636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbce9"} 
[2026-08-01 16:14:49] local.INFO: Extracted packet for processing {"connection_id":148636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbce9"} 
[2026-08-01 16:14:49] local.INFO: GPS Element Parsed {"raw_longitude":753630080,"raw_latitude":118731512,"longitude_deg":75.363008,"latitude_deg":11.8731512,"altitude":17,"angle":160,"satellites":42,"speed":0,"hex_longitude":"2ceb7b80","hex_latitude":"0713b2f8","is_valid_coordinates":true} 
[2026-08-01 16:14: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-08-01 16:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108697344001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:14:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:14:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478447284777453568,"note":"Value kept but may cause issues"} 
[2026-08-01 16:14:49] 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-08-01 16:14:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785580858000,"timestamp_ms":1785580858000,"timestamp_seconds":1785580858,"priority":1,"record_length":96,"hex_timestamp":"0000019fbce9aa90"} 
[2026-08-01 16:14:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:14:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 16:14:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:14:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:14:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:14:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:14:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:14:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:14:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:14:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108697344001,"66":27995,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478447284777453568},"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-08-01 16:14:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:14:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:14:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108697344001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:14:49] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:14:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:14:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:14:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478447284777453568,"description":"Unknown IO ID 44"} 
[2026-08-01 16:14:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108697344001,"power":27995,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478447284777453568}} 
[2026-08-01 16:14:49] local.INFO: DEBUG: GPS processor result {"connection_id":148636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:14:49] local.INFO: GPS data processed {"connection_id":148636,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:14:49] local.INFO: Acknowledgment sent {"connection_id":148636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:15:00] local.INFO: TCP Data received {"connection_id":146100,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146100,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:15:00] local.INFO: Processing buffer {"connection_id":146100,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:15:00] local.INFO: IMEI packet received {"connection_id":146100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":146100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:15:05] local.INFO: TCP Data received {"connection_id":146100,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146100,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:15:05] local.INFO: Processing buffer {"connection_id":146100,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:15:05] local.INFO: IMEI packet received {"connection_id":146100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":146100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:15:06] local.INFO: TCP Data received {"connection_id":146100,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbceb6fb0012d1968c0071fee10003d011427..."} 
[2026-08-01 16:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbceb6fb0012d1968c0071fee10003d011427..."} 
[2026-08-01 16:15:06] local.INFO: Processing buffer {"connection_id":146100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbceb6fb0012d1968c0071fee10003d011427..."} 
[2026-08-01 16:15:06] local.INFO: Packet analysis {"connection_id":146100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbceb"} 
[2026-08-01 16:15:06] local.INFO: Extracted packet for processing {"connection_id":146100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbceb"} 
[2026-08-01 16:15:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 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-08-01 16:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108723968001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785580974000,"timestamp_ms":1785580974000,"timestamp_seconds":1785580974,"priority":1,"record_length":96,"hex_timestamp":"0000019fbceb6fb0"} 
[2026-08-01 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-08-01 16:15: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-08-01 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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-01 16:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 16:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:15:06] 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-08-01 16:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108723968001,"66":12298,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108723968001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:15:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:15:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108723968001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":146100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577953,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:15:06] local.INFO: GPS data processed {"connection_id":146100,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:15:06] local.INFO: Acknowledgment sent {"connection_id":146100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:15:21] local.INFO: TCP Data received {"connection_id":148636,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fbce9aa90012ceb7b800713b2f8001100a02a..."} 
[2026-08-01 16:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbce9aa90012ceb7b800713b2f8001100a02a..."} 
[2026-08-01 16:15:21] local.INFO: Processing buffer {"connection_id":148636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbce9aa90012ceb7b800713b2f8001100a02a..."} 
[2026-08-01 16:15:21] local.INFO: Packet analysis {"connection_id":148636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbce9"} 
[2026-08-01 16:15:21] local.INFO: Extracted packet for processing {"connection_id":148636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbce9"} 
[2026-08-01 16:15:21] local.INFO: GPS Element Parsed {"raw_longitude":753630080,"raw_latitude":118731512,"longitude_deg":75.363008,"latitude_deg":11.8731512,"altitude":17,"angle":160,"satellites":42,"speed":0,"hex_longitude":"2ceb7b80","hex_latitude":"0713b2f8","is_valid_coordinates":true} 
[2026-08-01 16:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108697344001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:15:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478447284777453568,"note":"Value kept but may cause issues"} 
[2026-08-01 16:15:21] 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-08-01 16:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785580858000,"timestamp_ms":1785580858000,"timestamp_seconds":1785580858,"priority":1,"record_length":96,"hex_timestamp":"0000019fbce9aa90"} 
[2026-08-01 16:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 16:15:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:15:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108697344001,"66":27995,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478447284777453568},"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-08-01 16:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108697344001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:15:21] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:15:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:15:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478447284777453568,"description":"Unknown IO ID 44"} 
[2026-08-01 16:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108697344001,"power":27995,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478447284777453568}} 
[2026-08-01 16:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":148636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:15:21] local.INFO: GPS data processed {"connection_id":148636,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:15:21] local.INFO: Acknowledgment sent {"connection_id":148636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:15:37] local.INFO: TCP Data received {"connection_id":146100,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcebc1b8012d1968c0071fee10003d011427..."} 
[2026-08-01 16:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcebc1b8012d1968c0071fee10003d011427..."} 
[2026-08-01 16:15:37] local.INFO: Processing buffer {"connection_id":146100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcebc1b8012d1968c0071fee10003d011427..."} 
[2026-08-01 16:15:37] local.INFO: Packet analysis {"connection_id":146100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbceb"} 
[2026-08-01 16:15:37] local.INFO: Extracted packet for processing {"connection_id":146100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbceb"} 
[2026-08-01 16:15:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108729344001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785580995000,"timestamp_ms":1785580995000,"timestamp_seconds":1785580995,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcebc1b8"} 
[2026-08-01 16:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 16:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-01 16:15:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-01 16:15:37] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-01 16:15:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 16:15:37] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-7854277750134145023,"note":"Value kept but may cause issues"} 
[2026-08-01 16:15:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4834278333519947416,"note":"Value kept but may cause issues"} 
[2026-08-01 16:15:37] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390635034411284,"note":"Value kept but may cause issues"} 
[2026-08-01 16:15:37] local.WARNING: Large IO value detected {"io_id":61,"raw_value":77728875013996544,"note":"Value kept but may cause issues"} 
[2026-08-01 16:15:37] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832596,"note":"Value kept but may cause issues"} 
[2026-08-01 16:15:37] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-08-01 16:15:37] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":40961,"corrected_to":0} 
[2026-08-01 16:15:37] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3928461313,"note":"Value kept but may cause issues"} 
[2026-08-01 16:15:37] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026045,"note":"Value kept but may cause issues"} 
[2026-08-01 16:15:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-01 16:15:37] local.WARNING: Large IO value detected {"io_id":213,"raw_value":2281778457,"note":"Value kept but may cause issues"} 
[2026-08-01 16:15:37] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-01 16:15:37] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3724594552,"note":"Value kept but may cause issues"} 
[2026-08-01 16:15:37] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,120,159,29,45,192,238,61,39,10,66,203,40,121,1,240,255,227,188,31,4,113,205,213,104,239,47,2,36,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":203,"original":40961,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-01 16:15:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395816869026594816,"timestamp_seconds":4395816869026595.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 16:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:15:37] 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-08-01 16:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108729344001,"66":12298,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108729344001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:15:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:15:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108729344001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":146100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577955,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:15:37] local.INFO: GPS data processed {"connection_id":146100,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:15:37] local.INFO: Acknowledgment sent {"connection_id":146100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:15:44] local.INFO: TCP Data received {"connection_id":147334,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:15:44] local.INFO: Processing buffer {"connection_id":147334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:15:44] local.INFO: IMEI packet received {"connection_id":147334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":147334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:15:49] local.INFO: TCP Data received {"connection_id":147334,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:15:49] local.INFO: Processing buffer {"connection_id":147334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:15:49] local.INFO: IMEI packet received {"connection_id":147334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":147334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:15:50] local.INFO: TCP Data received {"connection_id":147334,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fbce9aa90012ceb7b800713b2f8001100a02a..."} 
[2026-08-01 16:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbce9aa90012ceb7b800713b2f8001100a02a..."} 
[2026-08-01 16:15:50] local.INFO: Processing buffer {"connection_id":147334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbce9aa90012ceb7b800713b2f8001100a02a..."} 
[2026-08-01 16:15:50] local.INFO: Packet analysis {"connection_id":147334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbce9"} 
[2026-08-01 16:15:50] local.INFO: Extracted packet for processing {"connection_id":147334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbce9"} 
[2026-08-01 16:15:50] local.INFO: GPS Element Parsed {"raw_longitude":753630080,"raw_latitude":118731512,"longitude_deg":75.363008,"latitude_deg":11.8731512,"altitude":17,"angle":160,"satellites":42,"speed":0,"hex_longitude":"2ceb7b80","hex_latitude":"0713b2f8","is_valid_coordinates":true} 
[2026-08-01 16:15: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-08-01 16:15:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108697344001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:15:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:15:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478447284777453568,"note":"Value kept but may cause issues"} 
[2026-08-01 16:15:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:15:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785580858000,"timestamp_ms":1785580858000,"timestamp_seconds":1785580858,"priority":1,"record_length":96,"hex_timestamp":"0000019fbce9aa90"} 
[2026-08-01 16:15:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:15:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 16:15:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16: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-08-01 16:15:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:15:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:15:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:15:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:15:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:15:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:15:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:15:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:15:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108697344001,"66":27995,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478447284777453568},"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-08-01 16:15:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:15:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:15:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108697344001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:15:50] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:15:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:15:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:15:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478447284777453568,"description":"Unknown IO ID 44"} 
[2026-08-01 16:15:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108697344001,"power":27995,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478447284777453568}} 
[2026-08-01 16:15:50] local.INFO: DEBUG: GPS processor result {"connection_id":147334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:15:50] local.INFO: GPS data processed {"connection_id":147334,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:15:50] local.INFO: Acknowledgment sent {"connection_id":147334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:15:59] local.INFO: TCP Data received {"connection_id":148637,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:15:59] local.INFO: Processing buffer {"connection_id":148637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:15:59] local.INFO: IMEI packet received {"connection_id":148637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":148637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:16:00] local.INFO: TCP Data received {"connection_id":148637,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:16:00] local.INFO: Processing buffer {"connection_id":148637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:16:00] local.INFO: IMEI packet received {"connection_id":148637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":148637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:16:05] local.INFO: TCP Data received {"connection_id":148637,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:16:05] local.INFO: Processing buffer {"connection_id":148637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:16:05] local.INFO: IMEI packet received {"connection_id":148637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":148637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:16:06] local.INFO: TCP Data received {"connection_id":148637,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcec13c0012d1968c0071fee10003d011429..."} 
[2026-08-01 16:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcec13c0012d1968c0071fee10003d011429..."} 
[2026-08-01 16:16:06] local.INFO: Processing buffer {"connection_id":148637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcec13c0012d1968c0071fee10003d011429..."} 
[2026-08-01 16:16:06] local.INFO: Packet analysis {"connection_id":148637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcec"} 
[2026-08-01 16:16:06] local.INFO: Extracted packet for processing {"connection_id":148637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcec"} 
[2026-08-01 16:16:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108734720001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785581016000,"timestamp_ms":1785581016000,"timestamp_seconds":1785581016,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcec13c0"} 
[2026-08-01 16:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:16: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-08-01 16: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 16:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-01 16:16:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-01 16:16:06] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-01 16:16:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 16:16:06] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-7854277750134145023,"note":"Value kept but may cause issues"} 
[2026-08-01 16:16:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4834188139206731416,"note":"Value kept but may cause issues"} 
[2026-08-01 16:16:06] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390635034411284,"note":"Value kept but may cause issues"} 
[2026-08-01 16:16:06] local.WARNING: Large IO value detected {"io_id":61,"raw_value":77731074037252096,"note":"Value kept but may cause issues"} 
[2026-08-01 16:16:06] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832596,"note":"Value kept but may cause issues"} 
[2026-08-01 16:16:06] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3449195247100625102,"note":"Value kept but may cause issues"} 
[2026-08-01 16:16:06] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":40961,"corrected_to":0} 
[2026-08-01 16:16:06] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3933837313,"note":"Value kept but may cause issues"} 
[2026-08-01 16:16:06] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026045,"note":"Value kept but may cause issues"} 
[2026-08-01 16:16:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-01 16:16:06] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-01 16:16:06] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3355495800,"note":"Value kept but may cause issues"} 
[2026-08-01 16:16:06] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,120,159,111,45,192,238,61,39,10,66,29,203,1,240,103,227,188,31,4,113,205,104,239,47,2,36,7,38],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":203,"original":40961,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-01 16:16:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395816869026594816,"timestamp_seconds":4395816869026595.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 16:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:16:06] 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-08-01 16:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108734720001,"66":12298,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108734720001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:16:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:16:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108734720001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":148637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:16:06] local.INFO: GPS data processed {"connection_id":148637,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:16:06] local.INFO: Acknowledgment sent {"connection_id":148637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:16:21] local.INFO: TCP Data received {"connection_id":147334,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fbce9aa90012ceb7b800713b2f8001100a02a..."} 
[2026-08-01 16:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbce9aa90012ceb7b800713b2f8001100a02a..."} 
[2026-08-01 16:16:21] local.INFO: Processing buffer {"connection_id":147334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbce9aa90012ceb7b800713b2f8001100a02a..."} 
[2026-08-01 16:16:21] local.INFO: Packet analysis {"connection_id":147334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbce9"} 
[2026-08-01 16:16:21] local.INFO: Extracted packet for processing {"connection_id":147334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbce9"} 
[2026-08-01 16:16:21] local.INFO: GPS Element Parsed {"raw_longitude":753630080,"raw_latitude":118731512,"longitude_deg":75.363008,"latitude_deg":11.8731512,"altitude":17,"angle":160,"satellites":42,"speed":0,"hex_longitude":"2ceb7b80","hex_latitude":"0713b2f8","is_valid_coordinates":true} 
[2026-08-01 16:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108697344001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:16:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478447284777453568,"note":"Value kept but may cause issues"} 
[2026-08-01 16:16:21] 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-08-01 16:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785580858000,"timestamp_ms":1785580858000,"timestamp_seconds":1785580858,"priority":1,"record_length":96,"hex_timestamp":"0000019fbce9aa90"} 
[2026-08-01 16:16:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:16:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 16:16:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16: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-08-01 16:16:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:16:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108697344001,"66":27995,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478447284777453568},"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-08-01 16:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108697344001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:16:21] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:16:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:16:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478447284777453568,"description":"Unknown IO ID 44"} 
[2026-08-01 16:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108697344001,"power":27995,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478447284777453568}} 
[2026-08-01 16:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":147334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:16:21] local.INFO: GPS data processed {"connection_id":147334,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:16:21] local.INFO: Acknowledgment sent {"connection_id":147334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:16:37] local.INFO: TCP Data received {"connection_id":148637,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcec65c8012d1968c0071fee10003d011427..."} 
[2026-08-01 16:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcec65c8012d1968c0071fee10003d011427..."} 
[2026-08-01 16:16:37] local.INFO: Processing buffer {"connection_id":148637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcec65c8012d1968c0071fee10003d011427..."} 
[2026-08-01 16:16:37] local.INFO: Packet analysis {"connection_id":148637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcec"} 
[2026-08-01 16:16:37] local.INFO: Extracted packet for processing {"connection_id":148637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcec"} 
[2026-08-01 16:16:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108740096001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785581037000,"timestamp_ms":1785581037000,"timestamp_seconds":1785581037,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcec65c8"} 
[2026-08-01 16:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 16:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-01 16:16:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-01 16:16:37] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-01 16:16:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 16:16:37] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-7854277750134145023,"note":"Value kept but may cause issues"} 
[2026-08-01 16:16:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4834097944893515416,"note":"Value kept but may cause issues"} 
[2026-08-01 16:16:37] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390635034411284,"note":"Value kept but may cause issues"} 
[2026-08-01 16:16:37] local.WARNING: Large IO value detected {"io_id":61,"raw_value":77729974525624320,"note":"Value kept but may cause issues"} 
[2026-08-01 16:16:37] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832595,"note":"Value kept but may cause issues"} 
[2026-08-01 16:16:37] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3443002797612990670,"note":"Value kept but may cause issues"} 
[2026-08-01 16:16:37] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3939213313,"note":"Value kept but may cause issues"} 
[2026-08-01 16:16:37] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026045,"note":"Value kept but may cause issues"} 
[2026-08-01 16:16:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-01 16:16:37] local.WARNING: Large IO value detected {"io_id":121,"raw_value":2550213913,"note":"Value kept but may cause issues"} 
[2026-08-01 16:16:37] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-01 16:16:37] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-08-01 16:16:37] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,120,159,193,45,192,238,61,39,10,66,111,29,1,240,222,227,188,31,4,113,205,121,104,40,239,47,2,36,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-01 16:16:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395816877616529408,"timestamp_seconds":4395816877616529.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 16:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:16:37] 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-08-01 16:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108740096001,"66":12254,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108740096001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:16:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:16:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108740096001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":148637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:16:37] local.INFO: GPS data processed {"connection_id":148637,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:16:37] local.INFO: Acknowledgment sent {"connection_id":148637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:16:43] local.INFO: TCP Data received {"connection_id":146320,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:16:43] local.INFO: Processing buffer {"connection_id":146320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:16:43] local.INFO: IMEI packet received {"connection_id":146320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":146320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:16:49] local.INFO: TCP Data received {"connection_id":146320,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:16:49] local.INFO: Processing buffer {"connection_id":146320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:16:49] local.INFO: IMEI packet received {"connection_id":146320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":146320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:16:50] local.INFO: TCP Data received {"connection_id":146320,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcee4e10012ceb7bc00713b300001100a02b..."} 
[2026-08-01 16:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcee4e10012ceb7bc00713b300001100a02b..."} 
[2026-08-01 16:16:50] local.INFO: Processing buffer {"connection_id":146320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcee4e10012ceb7bc00713b300001100a02b..."} 
[2026-08-01 16:16:50] local.INFO: Packet analysis {"connection_id":146320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcee"} 
[2026-08-01 16:16:50] local.INFO: Extracted packet for processing {"connection_id":146320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcee"} 
[2026-08-01 16:16:50] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":43,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:16:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108699648001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:16:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:16:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478447284777453568,"note":"Value kept but may cause issues"} 
[2026-08-01 16:16:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:16:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785581162000,"timestamp_ms":1785581162000,"timestamp_seconds":1785581162,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcee4e10"} 
[2026-08-01 16:16:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:16:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-01 16:16:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:16:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:16:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:16:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:16:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:16:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:16:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:16:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:16:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:16:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:16:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108699648001,"66":26321,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478447284777453568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-08-01 16:16:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:16:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:16:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108699648001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:16:50] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:16:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:16:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:16:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478447284777453568,"description":"Unknown IO ID 44"} 
[2026-08-01 16:16:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108699648001,"power":26321,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478447284777453568}} 
[2026-08-01 16:16:50] local.INFO: DEBUG: GPS processor result {"connection_id":146320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:16:50] local.INFO: GPS data processed {"connection_id":146320,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:16:50] local.INFO: Acknowledgment sent {"connection_id":146320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:17:00] local.INFO: TCP Data received {"connection_id":147335,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:17:00] local.INFO: Processing buffer {"connection_id":147335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:17:00] local.INFO: IMEI packet received {"connection_id":147335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":147335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:17:02] local.INFO: TCP Data received {"connection_id":147335,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:17:02] local.INFO: Processing buffer {"connection_id":147335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:17:02] local.INFO: IMEI packet received {"connection_id":147335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":147335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:17:05] local.INFO: TCP Data received {"connection_id":147335,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:17:05] local.INFO: Processing buffer {"connection_id":147335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:17:05] local.INFO: IMEI packet received {"connection_id":147335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":147335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:17:06] local.INFO: TCP Data received {"connection_id":147335,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcecb7d0012d1968c0071fee10003d011429..."} 
[2026-08-01 16:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcecb7d0012d1968c0071fee10003d011429..."} 
[2026-08-01 16:17:06] local.INFO: Processing buffer {"connection_id":147335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcecb7d0012d1968c0071fee10003d011429..."} 
[2026-08-01 16:17:06] local.INFO: Packet analysis {"connection_id":147335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcec"} 
[2026-08-01 16:17:06] local.INFO: Extracted packet for processing {"connection_id":147335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcec"} 
[2026-08-01 16:17:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108745472001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785581058000,"timestamp_ms":1785581058000,"timestamp_seconds":1785581058,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcecb7d0"} 
[2026-08-01 16:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:17: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-08-01 16:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-01 16:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:17:06] 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-08-01 16:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108745472001,"66":12298,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108745472001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:17:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:17:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108745472001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":147335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:17:06] local.INFO: GPS data processed {"connection_id":147335,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:17:06] local.INFO: Acknowledgment sent {"connection_id":147335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:17:21] local.INFO: TCP Data received {"connection_id":146320,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcee4e10012ceb7bc00713b300001100a02b..."} 
[2026-08-01 16:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcee4e10012ceb7bc00713b300001100a02b..."} 
[2026-08-01 16:17:21] local.INFO: Processing buffer {"connection_id":146320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcee4e10012ceb7bc00713b300001100a02b..."} 
[2026-08-01 16:17:21] local.INFO: Packet analysis {"connection_id":146320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcee"} 
[2026-08-01 16:17:21] local.INFO: Extracted packet for processing {"connection_id":146320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcee"} 
[2026-08-01 16:17:21] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":43,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108699648001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:17:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478447284777453568,"note":"Value kept but may cause issues"} 
[2026-08-01 16:17:21] 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-08-01 16:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785581162000,"timestamp_ms":1785581162000,"timestamp_seconds":1785581162,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcee4e10"} 
[2026-08-01 16:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:17:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-01 16:17:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:17:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:17:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108699648001,"66":26321,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478447284777453568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-08-01 16:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108699648001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:17:21] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:17:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:17:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478447284777453568,"description":"Unknown IO ID 44"} 
[2026-08-01 16:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108699648001,"power":26321,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478447284777453568}} 
[2026-08-01 16:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":146320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:17:21] local.INFO: GPS data processed {"connection_id":146320,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:17:21] local.INFO: Acknowledgment sent {"connection_id":146320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:17:37] local.INFO: TCP Data received {"connection_id":147335,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbced09d8012d1968c0071fee10003d011428..."} 
[2026-08-01 16:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbced09d8012d1968c0071fee10003d011428..."} 
[2026-08-01 16:17:37] local.INFO: Processing buffer {"connection_id":147335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbced09d8012d1968c0071fee10003d011428..."} 
[2026-08-01 16:17:37] local.INFO: Packet analysis {"connection_id":147335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbced"} 
[2026-08-01 16:17:37] local.INFO: Extracted packet for processing {"connection_id":147335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbced"} 
[2026-08-01 16:17:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108750848001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785581079000,"timestamp_ms":1785581079000,"timestamp_seconds":1785581079,"priority":1,"record_length":96,"hex_timestamp":"0000019fbced09d8"} 
[2026-08-01 16:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:17: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-08-01 16:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 16:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-01 16:17:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-01 16:17:37] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-01 16:17:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 16:17:37] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-7854277750134145023,"note":"Value kept but may cause issues"} 
[2026-08-01 16:17:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4833917556267083416,"note":"Value kept but may cause issues"} 
[2026-08-01 16:17:37] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390635034411284,"note":"Value kept but may cause issues"} 
[2026-08-01 16:17:37] local.WARNING: Large IO value detected {"io_id":61,"raw_value":77731074037252096,"note":"Value kept but may cause issues"} 
[2026-08-01 16:17:37] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832595,"note":"Value kept but may cause issues"} 
[2026-08-01 16:17:37] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3415699724872057038,"note":"Value kept but may cause issues"} 
[2026-08-01 16:17:37] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3949965313,"note":"Value kept but may cause issues"} 
[2026-08-01 16:17:37] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026045,"note":"Value kept but may cause issues"} 
[2026-08-01 16:17:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-01 16:17:37] local.WARNING: Large IO value detected {"io_id":29,"raw_value":2818649369,"note":"Value kept but may cause issues"} 
[2026-08-01 16:17:37] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-01 16:17:37] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3724594552,"note":"Value kept but may cause issues"} 
[2026-08-01 16:17:37] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,120,159,101,45,192,238,61,39,10,66,19,41,193,1,240,227,188,31,4,113,205,29,104,239,47,2,36,7,40],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-01 16:17:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395816877616529408,"timestamp_seconds":4395816877616529.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 16:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:17:37] 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-08-01 16:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108750848001,"66":12298,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108750848001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:17:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:17:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108750848001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":147335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:17:37] local.INFO: GPS data processed {"connection_id":147335,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:17:37] local.INFO: Acknowledgment sent {"connection_id":147335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:17:44] local.INFO: TCP Data received {"connection_id":147336,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:17:44] local.INFO: Processing buffer {"connection_id":147336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:17:44] local.INFO: IMEI packet received {"connection_id":147336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":147336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:17:49] local.INFO: TCP Data received {"connection_id":147336,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:17:49] local.INFO: Processing buffer {"connection_id":147336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:17:49] local.INFO: IMEI packet received {"connection_id":147336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":147336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:17:50] local.INFO: TCP Data received {"connection_id":147336,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcee4e10012ceb7bc00713b300001100a02b..."} 
[2026-08-01 16:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcee4e10012ceb7bc00713b300001100a02b..."} 
[2026-08-01 16:17:50] local.INFO: Processing buffer {"connection_id":147336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcee4e10012ceb7bc00713b300001100a02b..."} 
[2026-08-01 16:17:50] local.INFO: Packet analysis {"connection_id":147336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcee"} 
[2026-08-01 16:17:50] local.INFO: Extracted packet for processing {"connection_id":147336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcee"} 
[2026-08-01 16:17:50] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":43,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:17:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108699648001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:17:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:17:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478447284777453568,"note":"Value kept but may cause issues"} 
[2026-08-01 16:17:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:17:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785581162000,"timestamp_ms":1785581162000,"timestamp_seconds":1785581162,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcee4e10"} 
[2026-08-01 16:17:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:17:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-01 16:17:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:17:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:17:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:17:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:17:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:17:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:17:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:17:50] 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-08-01 16:17:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:17:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:17:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108699648001,"66":26321,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478447284777453568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-08-01 16:17:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:17:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:17:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108699648001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:17:50] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:17:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:17:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:17:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478447284777453568,"description":"Unknown IO ID 44"} 
[2026-08-01 16:17:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108699648001,"power":26321,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478447284777453568}} 
[2026-08-01 16:17:50] local.INFO: DEBUG: GPS processor result {"connection_id":147336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:17:50] local.INFO: GPS data processed {"connection_id":147336,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:17:50] local.INFO: Acknowledgment sent {"connection_id":147336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:18:00] local.INFO: TCP Data received {"connection_id":147337,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:18:00] local.INFO: Processing buffer {"connection_id":147337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:18:00] local.INFO: IMEI packet received {"connection_id":147337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":147337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:18:05] local.INFO: TCP Data received {"connection_id":147337,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:18:05] local.INFO: Processing buffer {"connection_id":147337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:18:05] local.INFO: IMEI packet received {"connection_id":147337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":147337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:18:06] local.INFO: TCP Data received {"connection_id":147337,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbced5be0012d1968c0071fee10003d011427..."} 
[2026-08-01 16:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbced5be0012d1968c0071fee10003d011427..."} 
[2026-08-01 16:18:06] local.INFO: Processing buffer {"connection_id":147337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbced5be0012d1968c0071fee10003d011427..."} 
[2026-08-01 16:18:06] local.INFO: Packet analysis {"connection_id":147337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbced"} 
[2026-08-01 16:18:06] local.INFO: Extracted packet for processing {"connection_id":147337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbced"} 
[2026-08-01 16:18:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108756224001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785581100000,"timestamp_ms":1785581100000,"timestamp_seconds":1785581100,"priority":1,"record_length":96,"hex_timestamp":"0000019fbced5be0"} 
[2026-08-01 16:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:18: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-08-01 16: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 16:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-01 16:18:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-01 16:18:06] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-01 16:18:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 16:18:06] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-7854277750134145023,"note":"Value kept but may cause issues"} 
[2026-08-01 16:18:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4833827361953867416,"note":"Value kept but may cause issues"} 
[2026-08-01 16:18:06] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390635034411284,"note":"Value kept but may cause issues"} 
[2026-08-01 16:18:06] local.WARNING: Large IO value detected {"io_id":61,"raw_value":77729974525624320,"note":"Value kept but may cause issues"} 
[2026-08-01 16:18:06] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832596,"note":"Value kept but may cause issues"} 
[2026-08-01 16:18:06] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3449195247100625102,"note":"Value kept but may cause issues"} 
[2026-08-01 16:18:06] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3955341313,"note":"Value kept but may cause issues"} 
[2026-08-01 16:18:06] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026045,"note":"Value kept but may cause issues"} 
[2026-08-01 16:18:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-01 16:18:06] local.WARNING: Large IO value detected {"io_id":111,"raw_value":2952867097,"note":"Value kept but may cause issues"} 
[2026-08-01 16:18:06] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-01 16:18:06] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,120,159,183,45,192,238,61,41,10,66,101,39,19,1,240,227,188,31,4,113,205,111,104,239,48,2,36,7,40],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-01 16:18:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395816873321562112,"timestamp_seconds":4395816873321562.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 16:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:18:06] 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-08-01 16:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108756224001,"66":12254,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108756224001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:18:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:18:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108756224001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":147337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577965,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:18:06] local.INFO: GPS data processed {"connection_id":147337,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:18:06] local.INFO: Acknowledgment sent {"connection_id":147337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:18:21] local.INFO: TCP Data received {"connection_id":147336,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcee4e10012ceb7bc00713b300001100a02b..."} 
[2026-08-01 16:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcee4e10012ceb7bc00713b300001100a02b..."} 
[2026-08-01 16:18:21] local.INFO: Processing buffer {"connection_id":147336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcee4e10012ceb7bc00713b300001100a02b..."} 
[2026-08-01 16:18:21] local.INFO: Packet analysis {"connection_id":147336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcee"} 
[2026-08-01 16:18:21] local.INFO: Extracted packet for processing {"connection_id":147336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcee"} 
[2026-08-01 16:18:21] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":43,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108699648001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:18:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478447284777453568,"note":"Value kept but may cause issues"} 
[2026-08-01 16:18:21] 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-08-01 16:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785581162000,"timestamp_ms":1785581162000,"timestamp_seconds":1785581162,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcee4e10"} 
[2026-08-01 16:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:18:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-01 16:18:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:18:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:18:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108699648001,"66":26321,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478447284777453568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-08-01 16:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108699648001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:18:21] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:18:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:18:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478447284777453568,"description":"Unknown IO ID 44"} 
[2026-08-01 16:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108699648001,"power":26321,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478447284777453568}} 
[2026-08-01 16:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":147336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:18:21] local.INFO: GPS data processed {"connection_id":147336,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:18:21] local.INFO: Acknowledgment sent {"connection_id":147336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:18:37] local.INFO: TCP Data received {"connection_id":147337,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcedade8012d1968c0071fee10003d011426..."} 
[2026-08-01 16:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcedade8012d1968c0071fee10003d011426..."} 
[2026-08-01 16:18:37] local.INFO: Processing buffer {"connection_id":147337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcedade8012d1968c0071fee10003d011426..."} 
[2026-08-01 16:18:37] local.INFO: Packet analysis {"connection_id":147337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbced"} 
[2026-08-01 16:18:37] local.INFO: Extracted packet for processing {"connection_id":147337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbced"} 
[2026-08-01 16:18:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108761600001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785581121000,"timestamp_ms":1785581121000,"timestamp_seconds":1785581121,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcedade8"} 
[2026-08-01 16:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-01 16:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:18:37] 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-08-01 16:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108761600001,"66":12178,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108761600001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:18:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:18:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108761600001,"power":12178,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":147337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:18:37] local.INFO: GPS data processed {"connection_id":147337,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:18:37] local.INFO: Acknowledgment sent {"connection_id":147337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:18:44] local.INFO: TCP Data received {"connection_id":146101,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:18:44] local.INFO: Processing buffer {"connection_id":146101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:18:44] local.INFO: IMEI packet received {"connection_id":146101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":146101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:18:49] local.INFO: TCP Data received {"connection_id":146101,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:18:49] local.INFO: Processing buffer {"connection_id":146101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:18:49] local.INFO: IMEI packet received {"connection_id":146101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":146101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:18:52] local.INFO: TCP Data received {"connection_id":146101,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcee4e10012ceb7bc00713b300001100a02b..."} 
[2026-08-01 16:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcee4e10012ceb7bc00713b300001100a02b..."} 
[2026-08-01 16:18:52] local.INFO: Processing buffer {"connection_id":146101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcee4e10012ceb7bc00713b300001100a02b..."} 
[2026-08-01 16:18:52] local.INFO: Packet analysis {"connection_id":146101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcee"} 
[2026-08-01 16:18:52] local.INFO: Extracted packet for processing {"connection_id":146101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcee"} 
[2026-08-01 16:18:52] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":43,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108699648001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:18:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478447284777453568,"note":"Value kept but may cause issues"} 
[2026-08-01 16:18:52] 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-08-01 16:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785581162000,"timestamp_ms":1785581162000,"timestamp_seconds":1785581162,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcee4e10"} 
[2026-08-01 16:18:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:18:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-01 16:18:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:18:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:18:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":146101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":146101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":146101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:18:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108699648001,"66":26321,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478447284777453568},"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-08-01 16:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108699648001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:18:52] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:18:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:18:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478447284777453568,"description":"Unknown IO ID 44"} 
[2026-08-01 16:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108699648001,"power":26321,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478447284777453568}} 
[2026-08-01 16:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":146101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:18:52] local.INFO: GPS data processed {"connection_id":146101,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:18:52] local.INFO: Acknowledgment sent {"connection_id":146101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:19:00] local.INFO: TCP Data received {"connection_id":146321,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146321,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:19:00] local.INFO: Processing buffer {"connection_id":146321,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:19:00] local.INFO: IMEI packet received {"connection_id":146321,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":146321,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:19:05] local.INFO: TCP Data received {"connection_id":146321,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146321,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:19:05] local.INFO: Processing buffer {"connection_id":146321,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:19:05] local.INFO: IMEI packet received {"connection_id":146321,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":146321,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:19:06] local.INFO: TCP Data received {"connection_id":146321,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcedfff0012d1968c0071fee10003d011425..."} 
[2026-08-01 16:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcedfff0012d1968c0071fee10003d011425..."} 
[2026-08-01 16:19:06] local.INFO: Processing buffer {"connection_id":146321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcedfff0012d1968c0071fee10003d011425..."} 
[2026-08-01 16:19:06] local.INFO: Packet analysis {"connection_id":146321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbced"} 
[2026-08-01 16:19:06] local.INFO: Extracted packet for processing {"connection_id":146321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbced"} 
[2026-08-01 16:19:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108766976001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785581142000,"timestamp_ms":1785581142000,"timestamp_seconds":1785581142,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcedfff0"} 
[2026-08-01 16:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:19: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-08-01 16: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-01 16:19:06] 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-08-01 16: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-08-01 16:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:19:06] 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-08-01 16:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108766976001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108766976001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:19:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:19:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108766976001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":146321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577969,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:19:06] local.INFO: GPS data processed {"connection_id":146321,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:19:06] local.INFO: Acknowledgment sent {"connection_id":146321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:19:24] local.INFO: TCP Data received {"connection_id":146101,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcee4e10012ceb7bc00713b300001100a02b..."} 
[2026-08-01 16:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcee4e10012ceb7bc00713b300001100a02b..."} 
[2026-08-01 16:19:24] local.INFO: Processing buffer {"connection_id":146101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcee4e10012ceb7bc00713b300001100a02b..."} 
[2026-08-01 16:19:24] local.INFO: Packet analysis {"connection_id":146101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcee"} 
[2026-08-01 16:19:24] local.INFO: Extracted packet for processing {"connection_id":146101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcee"} 
[2026-08-01 16:19:24] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":43,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108699648001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:19:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478447284777453568,"note":"Value kept but may cause issues"} 
[2026-08-01 16:19:24] 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-08-01 16:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785581162000,"timestamp_ms":1785581162000,"timestamp_seconds":1785581162,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcee4e10"} 
[2026-08-01 16:19:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:19:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-01 16:19:24] 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-08-01 16:19:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:19:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":146101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":146101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":146101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:19:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108699648001,"66":26321,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478447284777453568},"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-08-01 16:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108699648001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:19:24] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:19:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:19:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478447284777453568,"description":"Unknown IO ID 44"} 
[2026-08-01 16:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108699648001,"power":26321,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478447284777453568}} 
[2026-08-01 16:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":146101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:19:24] local.INFO: GPS data processed {"connection_id":146101,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:19:24] local.INFO: Acknowledgment sent {"connection_id":146101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:19:37] local.INFO: TCP Data received {"connection_id":146321,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcee51f8012d1968c0071fee10003d011425..."} 
[2026-08-01 16:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcee51f8012d1968c0071fee10003d011425..."} 
[2026-08-01 16:19:37] local.INFO: Processing buffer {"connection_id":146321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcee51f8012d1968c0071fee10003d011425..."} 
[2026-08-01 16:19:37] local.INFO: Packet analysis {"connection_id":146321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcee"} 
[2026-08-01 16:19:37] local.INFO: Extracted packet for processing {"connection_id":146321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcee"} 
[2026-08-01 16:19:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108772352001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785581163000,"timestamp_ms":1785581163000,"timestamp_seconds":1785581163,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcee51f8"} 
[2026-08-01 16:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:19:37] 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-08-01 16:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:19:37] 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-08-01 16:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108772352001,"66":12265,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108772352001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:19:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:19:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108772352001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":146321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577971,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:19:37] local.INFO: GPS data processed {"connection_id":146321,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:19:37] local.INFO: Acknowledgment sent {"connection_id":146321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:19:44] local.INFO: TCP Data received {"connection_id":146322,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:19:44] local.INFO: Processing buffer {"connection_id":146322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:19:44] local.INFO: IMEI packet received {"connection_id":146322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":146322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:19:48] local.INFO: TCP Data received {"connection_id":146322,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:19:48] local.INFO: Processing buffer {"connection_id":146322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:19:48] local.INFO: IMEI packet received {"connection_id":146322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":146322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:19:49] local.INFO: TCP Data received {"connection_id":146322,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcee4e10012ceb7bc00713b300001100a02b..."} 
[2026-08-01 16:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcee4e10012ceb7bc00713b300001100a02b..."} 
[2026-08-01 16:19:49] local.INFO: Processing buffer {"connection_id":146322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcee4e10012ceb7bc00713b300001100a02b..."} 
[2026-08-01 16:19:49] local.INFO: Packet analysis {"connection_id":146322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcee"} 
[2026-08-01 16:19:49] local.INFO: Extracted packet for processing {"connection_id":146322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcee"} 
[2026-08-01 16:19:49] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":43,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108699648001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:19:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478447284777453568,"note":"Value kept but may cause issues"} 
[2026-08-01 16:19:49] 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-08-01 16:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785581162000,"timestamp_ms":1785581162000,"timestamp_seconds":1785581162,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcee4e10"} 
[2026-08-01 16:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:19:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-01 16:19:49] 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-08-01 16:19:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:19:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108699648001,"66":26321,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478447284777453568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-08-01 16:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108699648001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:19:49] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:19:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:19:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478447284777453568,"description":"Unknown IO ID 44"} 
[2026-08-01 16:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108699648001,"power":26321,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478447284777453568}} 
[2026-08-01 16:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":146322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:19:49] local.INFO: GPS data processed {"connection_id":146322,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:19:49] local.INFO: Acknowledgment sent {"connection_id":146322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:20:05] local.INFO: TCP Data received {"connection_id":146323,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146323,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:20:05] local.INFO: Processing buffer {"connection_id":146323,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:20:05] local.INFO: IMEI packet received {"connection_id":146323,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":146323,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:20:10] local.INFO: TCP Data received {"connection_id":146323,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146323,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:20:10] local.INFO: Processing buffer {"connection_id":146323,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:20:10] local.INFO: IMEI packet received {"connection_id":146323,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":146323,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:20:11] local.INFO: TCP Data received {"connection_id":146323,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbceea400012d1968c0071fee10003d011428..."} 
[2026-08-01 16:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbceea400012d1968c0071fee10003d011428..."} 
[2026-08-01 16:20:11] local.INFO: Processing buffer {"connection_id":146323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbceea400012d1968c0071fee10003d011428..."} 
[2026-08-01 16:20:11] local.INFO: Packet analysis {"connection_id":146323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcee"} 
[2026-08-01 16:20:11] local.INFO: Extracted packet for processing {"connection_id":146323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcee"} 
[2026-08-01 16:20:11] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108777728001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16: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-08-01 16:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785581184000,"timestamp_ms":1785581184000,"timestamp_seconds":1785581184,"priority":1,"record_length":96,"hex_timestamp":"0000019fbceea400"} 
[2026-08-01 16:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:20: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-08-01 16:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-01 16:20:11] 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-08-01 16:20:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:20:11] 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-08-01 16:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108777728001,"66":11852,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108777728001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:20:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:20:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108777728001,"power":11852,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":146323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:20:11] local.INFO: GPS data processed {"connection_id":146323,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:20:11] local.INFO: Acknowledgment sent {"connection_id":146323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:20:11] local.INFO: TCP Data received {"connection_id":146323,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbceef608012d1968c0071fee10003d011426..."} 
[2026-08-01 16:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbceef608012d1968c0071fee10003d011426..."} 
[2026-08-01 16:20:11] local.INFO: Processing buffer {"connection_id":146323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbceef608012d1968c0071fee10003d011426..."} 
[2026-08-01 16:20:11] local.INFO: Packet analysis {"connection_id":146323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcee"} 
[2026-08-01 16:20:11] local.INFO: Extracted packet for processing {"connection_id":146323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcee"} 
[2026-08-01 16:20:11] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108783104001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16: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-08-01 16:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785581205000,"timestamp_ms":1785581205000,"timestamp_seconds":1785581205,"priority":1,"record_length":96,"hex_timestamp":"0000019fbceef608"} 
[2026-08-01 16:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:20: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-08-01 16:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-01 16:20:11] 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-08-01 16:20:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:20:11] 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-08-01 16:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108783104001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108783104001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:20:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:20:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108783104001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":146323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577974,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:20:11] local.INFO: GPS data processed {"connection_id":146323,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:20:11] local.INFO: Acknowledgment sent {"connection_id":146323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:20:20] local.INFO: TCP Data received {"connection_id":146322,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcee4e10012ceb7bc00713b300001100a02b..."} 
[2026-08-01 16:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcee4e10012ceb7bc00713b300001100a02b..."} 
[2026-08-01 16:20:20] local.INFO: Processing buffer {"connection_id":146322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcee4e10012ceb7bc00713b300001100a02b..."} 
[2026-08-01 16:20:20] local.INFO: Packet analysis {"connection_id":146322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcee"} 
[2026-08-01 16:20:20] local.INFO: Extracted packet for processing {"connection_id":146322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcee"} 
[2026-08-01 16:20:20] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":43,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108699648001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:20:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478447284777453568,"note":"Value kept but may cause issues"} 
[2026-08-01 16:20:20] 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-08-01 16:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785581162000,"timestamp_ms":1785581162000,"timestamp_seconds":1785581162,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcee4e10"} 
[2026-08-01 16:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-01 16:20:20] 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-08-01 16:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108699648001,"66":26321,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478447284777453568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-08-01 16:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108699648001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:20:20] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:20:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:20:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478447284777453568,"description":"Unknown IO ID 44"} 
[2026-08-01 16:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108699648001,"power":26321,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478447284777453568}} 
[2026-08-01 16:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":146322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:20:20] local.INFO: GPS data processed {"connection_id":146322,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:20:20] local.INFO: Acknowledgment sent {"connection_id":146322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:20:43] local.INFO: TCP Data received {"connection_id":146323,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcef4810012d1968c0071fee10003d011427..."} 
[2026-08-01 16:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcef4810012d1968c0071fee10003d011427..."} 
[2026-08-01 16:20:43] local.INFO: Processing buffer {"connection_id":146323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcef4810012d1968c0071fee10003d011427..."} 
[2026-08-01 16:20:43] local.INFO: Packet analysis {"connection_id":146323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcef"} 
[2026-08-01 16:20:43] local.INFO: Extracted packet for processing {"connection_id":146323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcef"} 
[2026-08-01 16:20:43] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:20:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108788480001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:20:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:20:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:20: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-08-01 16:20:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785581226000,"timestamp_ms":1785581226000,"timestamp_seconds":1785581226,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcef4810"} 
[2026-08-01 16:20:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:20: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-08-01 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:20: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-08-01 16: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-08-01 16:20:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:20:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:20:43] local.INFO: Teltonika packet parsed successfully {"connection_id":146323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:20:43] local.INFO: Passing IMEI to GPS processor {"connection_id":146323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:20:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":146323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:20:43] 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-08-01 16:20:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:20:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:20:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108788480001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:20:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:20:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:20:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108788480001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:20:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:20:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:20:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:20:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:20:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108788480001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:20:43] local.INFO: DEBUG: GPS processor result {"connection_id":146323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577976,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:20:43] local.INFO: GPS data processed {"connection_id":146323,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:20:43] local.INFO: Acknowledgment sent {"connection_id":146323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:20:43] local.INFO: TCP Data received {"connection_id":146324,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:20:43] local.INFO: Processing buffer {"connection_id":146324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:20:43] local.INFO: IMEI packet received {"connection_id":146324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":146324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:20:49] local.INFO: TCP Data received {"connection_id":146324,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:20:49] local.INFO: Processing buffer {"connection_id":146324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:20:49] local.INFO: IMEI packet received {"connection_id":146324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":146324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:20:50] local.INFO: TCP Data received {"connection_id":146324,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcee4e10012ceb7bc00713b300001100a02b..."} 
[2026-08-01 16:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcee4e10012ceb7bc00713b300001100a02b..."} 
[2026-08-01 16:20:50] local.INFO: Processing buffer {"connection_id":146324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcee4e10012ceb7bc00713b300001100a02b..."} 
[2026-08-01 16:20:50] local.INFO: Packet analysis {"connection_id":146324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcee"} 
[2026-08-01 16:20:50] local.INFO: Extracted packet for processing {"connection_id":146324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcee"} 
[2026-08-01 16:20:50] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":43,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:20:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108699648001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:20:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478447284777453568,"note":"Value kept but may cause issues"} 
[2026-08-01 16:20:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:20:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785581162000,"timestamp_ms":1785581162000,"timestamp_seconds":1785581162,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcee4e10"} 
[2026-08-01 16:20:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:20:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-01 16:20:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:20:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:20:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:20:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:20:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:20:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:20:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108699648001,"66":26321,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478447284777453568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-08-01 16:20:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:20:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:20:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108699648001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:20:50] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:20:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:20:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:20:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478447284777453568,"description":"Unknown IO ID 44"} 
[2026-08-01 16:20:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108699648001,"power":26321,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478447284777453568}} 
[2026-08-01 16:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":146324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:20:50] local.INFO: GPS data processed {"connection_id":146324,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:20:50] local.INFO: Acknowledgment sent {"connection_id":146324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:21:00] local.INFO: TCP Data received {"connection_id":146102,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:21:00] local.INFO: Processing buffer {"connection_id":146102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:21:00] local.INFO: IMEI packet received {"connection_id":146102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":146102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:21:05] local.INFO: TCP Data received {"connection_id":146102,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:21:05] local.INFO: Processing buffer {"connection_id":146102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:21:05] local.INFO: IMEI packet received {"connection_id":146102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":146102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:21:09] local.INFO: TCP Data received {"connection_id":146102,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcef9a18012d1968c0071fee10003d011425..."} 
[2026-08-01 16:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcef9a18012d1968c0071fee10003d011425..."} 
[2026-08-01 16:21:09] local.INFO: Processing buffer {"connection_id":146102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcef9a18012d1968c0071fee10003d011425..."} 
[2026-08-01 16:21:09] local.INFO: Packet analysis {"connection_id":146102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcef"} 
[2026-08-01 16:21:09] local.INFO: Extracted packet for processing {"connection_id":146102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcef"} 
[2026-08-01 16:21:09] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108793856001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:21: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-08-01 16:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785581247000,"timestamp_ms":1785581247000,"timestamp_seconds":1785581247,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcef9a18"} 
[2026-08-01 16:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16: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-08-01 16:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":146102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":146102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":146102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:21:09] 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-08-01 16:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108793856001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108793856001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:21:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:21:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108793856001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":146102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:21:09] local.INFO: GPS data processed {"connection_id":146102,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:21:09] local.INFO: Acknowledgment sent {"connection_id":146102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:21:22] local.INFO: TCP Data received {"connection_id":146324,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcee4e10012ceb7bc00713b300001100a02b..."} 
[2026-08-01 16:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcee4e10012ceb7bc00713b300001100a02b..."} 
[2026-08-01 16:21:22] local.INFO: Processing buffer {"connection_id":146324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcee4e10012ceb7bc00713b300001100a02b..."} 
[2026-08-01 16:21:22] local.INFO: Packet analysis {"connection_id":146324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcee"} 
[2026-08-01 16:21:22] local.INFO: Extracted packet for processing {"connection_id":146324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcee"} 
[2026-08-01 16:21:22] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":43,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:21:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108699648001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:21:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478447284777453568,"note":"Value kept but may cause issues"} 
[2026-08-01 16:21:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785581162000,"timestamp_ms":1785581162000,"timestamp_seconds":1785581162,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcee4e10"} 
[2026-08-01 16:21:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:21:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-01 16:21:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:21:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:21:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:21:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108699648001,"66":26321,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478447284777453568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-08-01 16:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:21:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:21:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108699648001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:21:22] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:21:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:21:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:21:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478447284777453568,"description":"Unknown IO ID 44"} 
[2026-08-01 16:21:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108699648001,"power":26321,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478447284777453568}} 
[2026-08-01 16:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":146324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:21:22] local.INFO: GPS data processed {"connection_id":146324,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:21:22] local.INFO: Acknowledgment sent {"connection_id":146324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:21:40] local.INFO: TCP Data received {"connection_id":146102,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcefec20012d1968c0071fee10003d011428..."} 
[2026-08-01 16:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcefec20012d1968c0071fee10003d011428..."} 
[2026-08-01 16:21:40] local.INFO: Processing buffer {"connection_id":146102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcefec20012d1968c0071fee10003d011428..."} 
[2026-08-01 16:21:40] local.INFO: Packet analysis {"connection_id":146102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcef"} 
[2026-08-01 16:21:40] local.INFO: Extracted packet for processing {"connection_id":146102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcef"} 
[2026-08-01 16:21:40] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108799232001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:21: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-08-01 16:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785581268000,"timestamp_ms":1785581268000,"timestamp_seconds":1785581268,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcefec20"} 
[2026-08-01 16:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:21:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16: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-08-01 16:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:21:40] 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-08-01 16:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108799232001,"66":12298,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108799232001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:21:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:21:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108799232001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":146102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577980,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:21:40] local.INFO: GPS data processed {"connection_id":146102,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:21:40] local.INFO: Acknowledgment sent {"connection_id":146102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:21:43] local.INFO: TCP Data received {"connection_id":146325,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:21:43] local.INFO: Processing buffer {"connection_id":146325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:21:43] local.INFO: IMEI packet received {"connection_id":146325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":146325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:21:48] local.INFO: TCP Data received {"connection_id":146325,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:21:48] local.INFO: Processing buffer {"connection_id":146325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:21:48] local.INFO: IMEI packet received {"connection_id":146325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":146325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:21:50] local.INFO: TCP Data received {"connection_id":146325,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcf2e5d8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcf2e5d8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:21:50] local.INFO: Processing buffer {"connection_id":146325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcf2e5d8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:21:50] local.INFO: Packet analysis {"connection_id":146325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcf2"} 
[2026-08-01 16:21:50] local.INFO: Extracted packet for processing {"connection_id":146325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcf2"} 
[2026-08-01 16:21:50] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":40,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:21:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108777472001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:21:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:21:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:21:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:21:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785581463000,"timestamp_ms":1785581463000,"timestamp_seconds":1785581463,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcf2e5d8"} 
[2026-08-01 16:21:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:21:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-01 16:21:50] 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-08-01 16:21:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:21:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:21:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:21:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:21:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:21:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:21:50] 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-08-01 16:21:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:21:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:21:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108777472001,"66":26136,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-08-01 16:21:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:21:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:21:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108777472001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:21:50] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:21:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:21:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:21:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:21:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108777472001,"power":26136,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:21:50] local.INFO: DEBUG: GPS processor result {"connection_id":146325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:21:50] local.INFO: GPS data processed {"connection_id":146325,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:21:50] local.INFO: Acknowledgment sent {"connection_id":146325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:22:00] local.INFO: TCP Data received {"connection_id":148638,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148638,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:22:00] local.INFO: Processing buffer {"connection_id":148638,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:22:00] local.INFO: IMEI packet received {"connection_id":148638,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":148638,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:22:05] local.INFO: TCP Data received {"connection_id":148638,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148638,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:22:05] local.INFO: Processing buffer {"connection_id":148638,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:22:05] local.INFO: IMEI packet received {"connection_id":148638,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":148638,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:22:06] local.INFO: TCP Data received {"connection_id":148638,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcf03e28012d1968c0071fee10003d011428..."} 
[2026-08-01 16:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcf03e28012d1968c0071fee10003d011428..."} 
[2026-08-01 16:22:06] local.INFO: Processing buffer {"connection_id":148638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcf03e28012d1968c0071fee10003d011428..."} 
[2026-08-01 16:22:06] local.INFO: Packet analysis {"connection_id":148638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcf0"} 
[2026-08-01 16:22:06] local.INFO: Extracted packet for processing {"connection_id":148638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcf0"} 
[2026-08-01 16:22:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108804608001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785581289000,"timestamp_ms":1785581289000,"timestamp_seconds":1785581289,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcf03e28"} 
[2026-08-01 16:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:22: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-08-01 16:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 16:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-01 16:22:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-01 16:22:06] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-01 16:22:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 16:22:06] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-7854277750134145023,"note":"Value kept but may cause issues"} 
[2026-08-01 16:22:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4833015613134923416,"note":"Value kept but may cause issues"} 
[2026-08-01 16:22:06] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390635034411284,"note":"Value kept but may cause issues"} 
[2026-08-01 16:22:06] local.WARNING: Large IO value detected {"io_id":61,"raw_value":77727775502368768,"note":"Value kept but may cause issues"} 
[2026-08-01 16:22:06] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832596,"note":"Value kept but may cause issues"} 
[2026-08-01 16:22:06] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-08-01 16:22:06] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":2049,"corrected_to":0} 
[2026-08-01 16:22:06] local.WARNING: Large IO value detected {"io_id":188,"raw_value":4003725313,"note":"Value kept but may cause issues"} 
[2026-08-01 16:22:06] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026045,"note":"Value kept but may cause issues"} 
[2026-08-01 16:22:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-01 16:22:06] local.WARNING: Large IO value detected {"io_id":81,"raw_value":4160826649,"note":"Value kept but may cause issues"} 
[2026-08-01 16:22:06] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-01 16:22:06] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3909143928,"note":"Value kept but may cause issues"} 
[2026-08-01 16:22:06] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,120,159,154,45,192,238,61,37,10,66,72,39,246,1,240,255,227,188,31,4,113,205,81,104,239,47,2,36,7,38],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":246,"original":2049,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-01 16:22:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395816873321562112,"timestamp_seconds":4395816873321562.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 16:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:22:06] 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-08-01 16:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108804608001,"66":12254,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108804608001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:22:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:22:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108804608001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":148638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577982,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:22:06] local.INFO: GPS data processed {"connection_id":148638,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:22:06] local.INFO: Acknowledgment sent {"connection_id":148638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:22:21] local.INFO: TCP Data received {"connection_id":146325,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcf2e5d8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcf2e5d8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:22:21] local.INFO: Processing buffer {"connection_id":146325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcf2e5d8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:22:21] local.INFO: Packet analysis {"connection_id":146325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcf2"} 
[2026-08-01 16:22:21] local.INFO: Extracted packet for processing {"connection_id":146325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcf2"} 
[2026-08-01 16:22:21] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":40,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108777472001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:22:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:22:21] 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-08-01 16:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785581463000,"timestamp_ms":1785581463000,"timestamp_seconds":1785581463,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcf2e5d8"} 
[2026-08-01 16:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:22:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-01 16:22:21] 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-08-01 16:22:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:22:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108777472001,"66":26136,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-08-01 16:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108777472001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:22:21] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:22:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:22:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108777472001,"power":26136,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":146325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:22:21] local.INFO: GPS data processed {"connection_id":146325,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:22:21] local.INFO: Acknowledgment sent {"connection_id":146325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:22:37] local.INFO: TCP Data received {"connection_id":148638,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcf09030012d1968c0071fee10003d011426..."} 
[2026-08-01 16:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcf09030012d1968c0071fee10003d011426..."} 
[2026-08-01 16:22:37] local.INFO: Processing buffer {"connection_id":148638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcf09030012d1968c0071fee10003d011426..."} 
[2026-08-01 16:22:37] local.INFO: Packet analysis {"connection_id":148638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcf0"} 
[2026-08-01 16:22:37] local.INFO: Extracted packet for processing {"connection_id":148638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcf0"} 
[2026-08-01 16:22:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108809984001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785581310000,"timestamp_ms":1785581310000,"timestamp_seconds":1785581310,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcf09030"} 
[2026-08-01 16:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-01 16:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16: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-08-01 16:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:22:37] 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-08-01 16:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108809984001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108809984001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:22:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:22:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108809984001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":148638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:22:37] local.INFO: GPS data processed {"connection_id":148638,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:22:37] local.INFO: Acknowledgment sent {"connection_id":148638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:22:44] local.INFO: TCP Data received {"connection_id":147338,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:22:44] local.INFO: Processing buffer {"connection_id":147338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:22:44] local.INFO: IMEI packet received {"connection_id":147338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":147338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:22:49] local.INFO: TCP Data received {"connection_id":147338,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:22:49] local.INFO: Processing buffer {"connection_id":147338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:22:49] local.INFO: IMEI packet received {"connection_id":147338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":147338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:22:50] local.INFO: TCP Data received {"connection_id":147338,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcf2e5d8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcf2e5d8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:22:50] local.INFO: Processing buffer {"connection_id":147338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcf2e5d8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:22:50] local.INFO: Packet analysis {"connection_id":147338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcf2"} 
[2026-08-01 16:22:50] local.INFO: Extracted packet for processing {"connection_id":147338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcf2"} 
[2026-08-01 16:22:50] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":40,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:22:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108777472001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:22:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:22:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:22:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:22:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785581463000,"timestamp_ms":1785581463000,"timestamp_seconds":1785581463,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcf2e5d8"} 
[2026-08-01 16:22:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:22:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-01 16:22:50] 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-08-01 16:22:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:22:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:22:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:22:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:22:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:22:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:22:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:22:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:22:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:22:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108777472001,"66":26136,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"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-08-01 16:22:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:22:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:22:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108777472001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:22:50] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:22:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:22:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:22:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:22:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108777472001,"power":26136,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:22:50] local.INFO: DEBUG: GPS processor result {"connection_id":147338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:22:50] local.INFO: GPS data processed {"connection_id":147338,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:22:50] local.INFO: Acknowledgment sent {"connection_id":147338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:22:59] local.INFO: TCP Data received {"connection_id":146326,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:22:59] local.INFO: Processing buffer {"connection_id":146326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:22:59] local.INFO: IMEI packet received {"connection_id":146326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":146326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:23:00] local.INFO: TCP Data received {"connection_id":146326,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:23:00] local.INFO: Processing buffer {"connection_id":146326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:23:00] local.INFO: IMEI packet received {"connection_id":146326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":146326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:23:05] local.INFO: TCP Data received {"connection_id":146326,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:23:05] local.INFO: Processing buffer {"connection_id":146326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:23:05] local.INFO: IMEI packet received {"connection_id":146326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":146326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:23:06] local.INFO: TCP Data received {"connection_id":146326,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcf0e238012d1968c0071fee10003d011428..."} 
[2026-08-01 16:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcf0e238012d1968c0071fee10003d011428..."} 
[2026-08-01 16:23:06] local.INFO: Processing buffer {"connection_id":146326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcf0e238012d1968c0071fee10003d011428..."} 
[2026-08-01 16:23:06] local.INFO: Packet analysis {"connection_id":146326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcf0"} 
[2026-08-01 16:23:06] local.INFO: Extracted packet for processing {"connection_id":146326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcf0"} 
[2026-08-01 16:23:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108815360001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785581331000,"timestamp_ms":1785581331000,"timestamp_seconds":1785581331,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcf0e238"} 
[2026-08-01 16:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:23: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-08-01 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16: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-08-01 16:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:23:06] 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-08-01 16:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108815360001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108815360001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:23:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:23:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108815360001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":146326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:23:06] local.INFO: GPS data processed {"connection_id":146326,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:23:06] local.INFO: Acknowledgment sent {"connection_id":146326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:23:21] local.INFO: TCP Data received {"connection_id":147338,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcf2e5d8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcf2e5d8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:23:21] local.INFO: Processing buffer {"connection_id":147338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcf2e5d8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:23:21] local.INFO: Packet analysis {"connection_id":147338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcf2"} 
[2026-08-01 16:23:21] local.INFO: Extracted packet for processing {"connection_id":147338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcf2"} 
[2026-08-01 16:23:21] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":40,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108777472001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:23:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:23:21] 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-08-01 16:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785581463000,"timestamp_ms":1785581463000,"timestamp_seconds":1785581463,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcf2e5d8"} 
[2026-08-01 16:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:23:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-01 16:23:21] 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-08-01 16:23:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:23:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108777472001,"66":26136,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"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-08-01 16:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108777472001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:23:21] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:23:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:23:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108777472001,"power":26136,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":147338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:23:21] local.INFO: GPS data processed {"connection_id":147338,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:23:21] local.INFO: Acknowledgment sent {"connection_id":147338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:23:37] local.INFO: TCP Data received {"connection_id":146326,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcf13440012d1968c0071fee10003d011428..."} 
[2026-08-01 16:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcf13440012d1968c0071fee10003d011428..."} 
[2026-08-01 16:23:37] local.INFO: Processing buffer {"connection_id":146326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcf13440012d1968c0071fee10003d011428..."} 
[2026-08-01 16:23:37] local.INFO: Packet analysis {"connection_id":146326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcf1"} 
[2026-08-01 16:23:37] local.INFO: Extracted packet for processing {"connection_id":146326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcf1"} 
[2026-08-01 16:23:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108820736001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785581352000,"timestamp_ms":1785581352000,"timestamp_seconds":1785581352,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcf13440"} 
[2026-08-01 16:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:23:37] 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-08-01 16:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:23:37] 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-08-01 16:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108820736001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108820736001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:23:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:23:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108820736001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":146326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577988,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:23:37] local.INFO: GPS data processed {"connection_id":146326,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:23:37] local.INFO: Acknowledgment sent {"connection_id":146326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:23:44] local.INFO: TCP Data received {"connection_id":146103,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:23:44] local.INFO: Processing buffer {"connection_id":146103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:23:44] local.INFO: IMEI packet received {"connection_id":146103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":146103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:23:48] local.INFO: TCP Data received {"connection_id":146103,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:23:48] local.INFO: Processing buffer {"connection_id":146103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:23:48] local.INFO: IMEI packet received {"connection_id":146103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":146103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:23:49] local.INFO: TCP Data received {"connection_id":146103,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcf2e5d8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcf2e5d8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:23:49] local.INFO: Processing buffer {"connection_id":146103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcf2e5d8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:23:49] local.INFO: Packet analysis {"connection_id":146103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcf2"} 
[2026-08-01 16:23:49] local.INFO: Extracted packet for processing {"connection_id":146103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcf2"} 
[2026-08-01 16:23:49] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":40,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108777472001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:23:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:23:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:23:49] 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-08-01 16:23:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785581463000,"timestamp_ms":1785581463000,"timestamp_seconds":1785581463,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcf2e5d8"} 
[2026-08-01 16:23:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:23:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-01 16:23:49] 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-08-01 16: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-08-01 16:23:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:23:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:23:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:23:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:23:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:23:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:23:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:23:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:23:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108777472001,"66":26136,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"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-08-01 16:23:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:23:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:23:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108777472001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:23:49] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:23:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:23:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:23:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:23:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108777472001,"power":26136,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:23:49] local.INFO: DEBUG: GPS processor result {"connection_id":146103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:23:49] local.INFO: GPS data processed {"connection_id":146103,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:23:49] local.INFO: Acknowledgment sent {"connection_id":146103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:24:00] local.INFO: TCP Data received {"connection_id":148639,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:24:00] local.INFO: Processing buffer {"connection_id":148639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:24:00] local.INFO: IMEI packet received {"connection_id":148639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":148639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:24:02] local.INFO: TCP Data received {"connection_id":148639,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:24:02] local.INFO: Processing buffer {"connection_id":148639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:24:02] local.INFO: IMEI packet received {"connection_id":148639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":148639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:24:05] local.INFO: TCP Data received {"connection_id":148639,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:24:05] local.INFO: Processing buffer {"connection_id":148639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:24:05] local.INFO: IMEI packet received {"connection_id":148639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":148639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:24:06] local.INFO: TCP Data received {"connection_id":148639,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcf18648012d1968c0071fee10003d011426..."} 
[2026-08-01 16:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcf18648012d1968c0071fee10003d011426..."} 
[2026-08-01 16:24:06] local.INFO: Processing buffer {"connection_id":148639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcf18648012d1968c0071fee10003d011426..."} 
[2026-08-01 16:24:06] local.INFO: Packet analysis {"connection_id":148639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcf1"} 
[2026-08-01 16:24:06] local.INFO: Extracted packet for processing {"connection_id":148639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcf1"} 
[2026-08-01 16:24:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108826112001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785581373000,"timestamp_ms":1785581373000,"timestamp_seconds":1785581373,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcf18648"} 
[2026-08-01 16:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:24: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-08-01 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16: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-08-01 16:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:24:06] 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-08-01 16:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108826112001,"66":11993,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108826112001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:24:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:24:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108826112001,"power":11993,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":148639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577990,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:24:06] local.INFO: GPS data processed {"connection_id":148639,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:24:06] local.INFO: Acknowledgment sent {"connection_id":148639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:24:21] local.INFO: TCP Data received {"connection_id":146103,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcf2e5d8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcf2e5d8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:24:21] local.INFO: Processing buffer {"connection_id":146103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcf2e5d8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:24:21] local.INFO: Packet analysis {"connection_id":146103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcf2"} 
[2026-08-01 16:24:21] local.INFO: Extracted packet for processing {"connection_id":146103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcf2"} 
[2026-08-01 16:24:21] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":40,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:24:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108777472001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:24:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:24:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:24:21] 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-08-01 16:24:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785581463000,"timestamp_ms":1785581463000,"timestamp_seconds":1785581463,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcf2e5d8"} 
[2026-08-01 16:24:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:24:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-01 16:24:21] 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-08-01 16:24:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:24:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:24:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:24:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:24:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:24:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:24:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:24:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:24:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:24:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108777472001,"66":26136,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"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-08-01 16:24:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:24:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:24:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108777472001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:24:21] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:24:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:24:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:24:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:24:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108777472001,"power":26136,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:24:21] local.INFO: DEBUG: GPS processor result {"connection_id":146103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:24:21] local.INFO: GPS data processed {"connection_id":146103,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:24:21] local.INFO: Acknowledgment sent {"connection_id":146103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:24:37] local.INFO: TCP Data received {"connection_id":148639,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcf1d850012d1968c0071fee10003d011425..."} 
[2026-08-01 16:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcf1d850012d1968c0071fee10003d011425..."} 
[2026-08-01 16:24:37] local.INFO: Processing buffer {"connection_id":148639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcf1d850012d1968c0071fee10003d011425..."} 
[2026-08-01 16:24:37] local.INFO: Packet analysis {"connection_id":148639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcf1"} 
[2026-08-01 16:24:37] local.INFO: Extracted packet for processing {"connection_id":148639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcf1"} 
[2026-08-01 16:24:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108831488001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785581394000,"timestamp_ms":1785581394000,"timestamp_seconds":1785581394,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcf1d850"} 
[2026-08-01 16:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 16:24:37] 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-08-01 16:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:24:37] 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-08-01 16:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108831488001,"66":12298,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108831488001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:24:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:24:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108831488001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":148639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:24:37] local.INFO: GPS data processed {"connection_id":148639,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:24:37] local.INFO: Acknowledgment sent {"connection_id":148639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:24:44] local.INFO: TCP Data received {"connection_id":146327,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:24:44] local.INFO: Processing buffer {"connection_id":146327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:24:44] local.INFO: IMEI packet received {"connection_id":146327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":146327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:24:49] local.INFO: TCP Data received {"connection_id":146327,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:24:49] local.INFO: Processing buffer {"connection_id":146327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:24:49] local.INFO: IMEI packet received {"connection_id":146327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":146327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:24:50] local.INFO: TCP Data received {"connection_id":146327,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcf2e5d8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcf2e5d8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:24:50] local.INFO: Processing buffer {"connection_id":146327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcf2e5d8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:24:50] local.INFO: Packet analysis {"connection_id":146327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcf2"} 
[2026-08-01 16:24:50] local.INFO: Extracted packet for processing {"connection_id":146327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcf2"} 
[2026-08-01 16:24:50] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":40,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108777472001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:24:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:24:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785581463000,"timestamp_ms":1785581463000,"timestamp_seconds":1785581463,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcf2e5d8"} 
[2026-08-01 16:24:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:24:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-01 16:24:50] 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-08-01 16: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-08-01 16:24:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:24:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108777472001,"66":26136,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"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-08-01 16:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108777472001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:24:50] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:24:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:24:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108777472001,"power":26136,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":146327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:24:50] local.INFO: GPS data processed {"connection_id":146327,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:24:50] local.INFO: Acknowledgment sent {"connection_id":146327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:25:00] local.INFO: TCP Data received {"connection_id":146328,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:25:00] local.INFO: Processing buffer {"connection_id":146328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:25:00] local.INFO: IMEI packet received {"connection_id":146328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":146328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:25:05] local.INFO: TCP Data received {"connection_id":146328,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:25:05] local.INFO: Processing buffer {"connection_id":146328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:25:05] local.INFO: IMEI packet received {"connection_id":146328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":146328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:25:06] local.INFO: TCP Data received {"connection_id":146328,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcf22a58012d1968c0071fee10003d011423..."} 
[2026-08-01 16:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcf22a58012d1968c0071fee10003d011423..."} 
[2026-08-01 16:25:06] local.INFO: Processing buffer {"connection_id":146328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcf22a58012d1968c0071fee10003d011423..."} 
[2026-08-01 16:25:06] local.INFO: Packet analysis {"connection_id":146328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcf2"} 
[2026-08-01 16:25:06] local.INFO: Extracted packet for processing {"connection_id":146328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcf2"} 
[2026-08-01 16:25:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108836864001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785581415000,"timestamp_ms":1785581415000,"timestamp_seconds":1785581415,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcf22a58"} 
[2026-08-01 16:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 16:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-01 16:25:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-01 16:25:06] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-01 16:25:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 16:25:06] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-7854277750134145023,"note":"Value kept but may cause issues"} 
[2026-08-01 16:25:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4832474447255627416,"note":"Value kept but may cause issues"} 
[2026-08-01 16:25:06] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390635034411284,"note":"Value kept but may cause issues"} 
[2026-08-01 16:25:06] local.WARNING: Large IO value detected {"io_id":61,"raw_value":77731074037252096,"note":"Value kept but may cause issues"} 
[2026-08-01 16:25:06] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832596,"note":"Value kept but may cause issues"} 
[2026-08-01 16:25:06] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-08-01 16:25:06] local.WARNING: Large IO value detected {"io_id":188,"raw_value":4035981313,"note":"Value kept but may cause issues"} 
[2026-08-01 16:25:06] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026045,"note":"Value kept but may cause issues"} 
[2026-08-01 16:25:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-01 16:25:06] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-01 16:25:06] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3724594552,"note":"Value kept but may cause issues"} 
[2026-08-01 16:25:06] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,120,159,134,45,192,238,61,38,10,66,52,40,226,1,240,255,227,188,31,4,113,205,62,104,239,47,2,36,7,37],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-01 16:25:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395816860436660224,"timestamp_seconds":4395816860436660.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 16:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:25:06] 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-08-01 16:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108836864001,"66":12254,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108836864001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:25:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:25:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108836864001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":146328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577994,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:25:06] local.INFO: GPS data processed {"connection_id":146328,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:25:06] local.INFO: Acknowledgment sent {"connection_id":146328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:25:21] local.INFO: TCP Data received {"connection_id":146327,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcf2e5d8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcf2e5d8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:25:21] local.INFO: Processing buffer {"connection_id":146327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcf2e5d8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:25:21] local.INFO: Packet analysis {"connection_id":146327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcf2"} 
[2026-08-01 16:25:21] local.INFO: Extracted packet for processing {"connection_id":146327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcf2"} 
[2026-08-01 16:25:21] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":40,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108777472001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:25:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:25:21] 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-08-01 16:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785581463000,"timestamp_ms":1785581463000,"timestamp_seconds":1785581463,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcf2e5d8"} 
[2026-08-01 16:25:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:25:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-01 16:25:21] 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-08-01 16:25:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:25:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:25:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108777472001,"66":26136,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"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-08-01 16:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108777472001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:25:21] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:25:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:25:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108777472001,"power":26136,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":146327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:25:21] local.INFO: GPS data processed {"connection_id":146327,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:25:21] local.INFO: Acknowledgment sent {"connection_id":146327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:25:37] local.INFO: TCP Data received {"connection_id":146328,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcf5b0b0012d1968c0071fee10003d011423..."} 
[2026-08-01 16:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcf5b0b0012d1968c0071fee10003d011423..."} 
[2026-08-01 16:25:37] local.INFO: Processing buffer {"connection_id":146328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcf5b0b0012d1968c0071fee10003d011423..."} 
[2026-08-01 16:25:37] local.INFO: Packet analysis {"connection_id":146328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcf5"} 
[2026-08-01 16:25:37] local.INFO: Extracted packet for processing {"connection_id":146328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcf5"} 
[2026-08-01 16:25:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108896000001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785581646000,"timestamp_ms":1785581646000,"timestamp_seconds":1785581646,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcf5b0b0"} 
[2026-08-01 16:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:25:37] 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-08-01 16:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:25:37] 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-08-01 16:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108896000001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108896000001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:25:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:25:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108896000001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":146328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:25:37] local.INFO: GPS data processed {"connection_id":146328,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:25:37] local.INFO: Acknowledgment sent {"connection_id":146328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:25:43] local.INFO: TCP Data received {"connection_id":148640,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:25:43] local.INFO: Processing buffer {"connection_id":148640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:25:43] local.INFO: IMEI packet received {"connection_id":148640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":148640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:25:48] local.INFO: TCP Data received {"connection_id":148640,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:25:48] local.INFO: Processing buffer {"connection_id":148640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:25:48] local.INFO: IMEI packet received {"connection_id":148640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":148640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:25:49] local.INFO: TCP Data received {"connection_id":148640,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcf2e5d8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcf2e5d8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:25:49] local.INFO: Processing buffer {"connection_id":148640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcf2e5d8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:25:49] local.INFO: Packet analysis {"connection_id":148640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcf2"} 
[2026-08-01 16:25:49] local.INFO: Extracted packet for processing {"connection_id":148640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcf2"} 
[2026-08-01 16:25:49] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":40,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:25:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108777472001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:25:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:25:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:25:49] 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-08-01 16:25:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785581463000,"timestamp_ms":1785581463000,"timestamp_seconds":1785581463,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcf2e5d8"} 
[2026-08-01 16:25:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:25:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-01 16:25:49] 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-08-01 16: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-08-01 16:25:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:25:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:25:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:25:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:25:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:25:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:25:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:25:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:25:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108777472001,"66":26136,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-08-01 16:25:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:25:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:25:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108777472001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:25:49] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:25:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:25:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:25:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:25:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108777472001,"power":26136,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:25:49] local.INFO: DEBUG: GPS processor result {"connection_id":148640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:25:49] local.INFO: GPS data processed {"connection_id":148640,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:25:49] local.INFO: Acknowledgment sent {"connection_id":148640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:26:00] local.INFO: TCP Data received {"connection_id":146329,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:26:00] local.INFO: Processing buffer {"connection_id":146329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:26:00] local.INFO: IMEI packet received {"connection_id":146329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":146329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:26:05] local.INFO: TCP Data received {"connection_id":146329,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:26:05] local.INFO: Processing buffer {"connection_id":146329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:26:05] local.INFO: IMEI packet received {"connection_id":146329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":146329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:26:06] local.INFO: TCP Data received {"connection_id":146329,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcf602b8012d1968c0071fee10003d011424..."} 
[2026-08-01 16:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcf602b8012d1968c0071fee10003d011424..."} 
[2026-08-01 16:26:06] local.INFO: Processing buffer {"connection_id":146329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcf602b8012d1968c0071fee10003d011424..."} 
[2026-08-01 16:26:06] local.INFO: Packet analysis {"connection_id":146329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcf6"} 
[2026-08-01 16:26:06] local.INFO: Extracted packet for processing {"connection_id":146329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcf6"} 
[2026-08-01 16:26:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108901376001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785581667000,"timestamp_ms":1785581667000,"timestamp_seconds":1785581667,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcf602b8"} 
[2026-08-01 16:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:26: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-08-01 16:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:26:06] 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-08-01 16:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108901376001,"66":12298,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108901376001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:26:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:26:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108901376001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":146329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:26:06] local.INFO: GPS data processed {"connection_id":146329,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:26:06] local.INFO: Acknowledgment sent {"connection_id":146329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:26:21] local.INFO: TCP Data received {"connection_id":148640,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcf2e5d8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcf2e5d8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:26:21] local.INFO: Processing buffer {"connection_id":148640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcf2e5d8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:26:21] local.INFO: Packet analysis {"connection_id":148640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcf2"} 
[2026-08-01 16:26:21] local.INFO: Extracted packet for processing {"connection_id":148640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcf2"} 
[2026-08-01 16:26:21] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":40,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108777472001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:26:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:26:21] 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-08-01 16:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785581463000,"timestamp_ms":1785581463000,"timestamp_seconds":1785581463,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcf2e5d8"} 
[2026-08-01 16:26:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:26:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-01 16:26:21] 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-08-01 16:26:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:26:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:26:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108777472001,"66":26136,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-08-01 16:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108777472001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:26:21] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:26:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:26:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108777472001,"power":26136,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":148640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":577999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:26:21] local.INFO: GPS data processed {"connection_id":148640,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:26:21] local.INFO: Acknowledgment sent {"connection_id":148640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:26:37] local.INFO: TCP Data received {"connection_id":146329,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcf654c0012d1968c0071fee10003d011426..."} 
[2026-08-01 16:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcf654c0012d1968c0071fee10003d011426..."} 
[2026-08-01 16:26:37] local.INFO: Processing buffer {"connection_id":146329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcf654c0012d1968c0071fee10003d011426..."} 
[2026-08-01 16:26:37] local.INFO: Packet analysis {"connection_id":146329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcf6"} 
[2026-08-01 16:26:37] local.INFO: Extracted packet for processing {"connection_id":146329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcf6"} 
[2026-08-01 16:26:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108906752001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785581688000,"timestamp_ms":1785581688000,"timestamp_seconds":1785581688,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcf654c0"} 
[2026-08-01 16:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 16:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-01 16:26:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-01 16:26:37] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-01 16:26:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 16:26:37] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-7854277750134145023,"note":"Value kept but may cause issues"} 
[2026-08-01 16:26:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4831301921183819416,"note":"Value kept but may cause issues"} 
[2026-08-01 16:26:37] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390635034411284,"note":"Value kept but may cause issues"} 
[2026-08-01 16:26:37] local.WARNING: Large IO value detected {"io_id":61,"raw_value":77727775502368768,"note":"Value kept but may cause issues"} 
[2026-08-01 16:26:37] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832597,"note":"Value kept but may cause issues"} 
[2026-08-01 16:26:37] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3449195247100625102,"note":"Value kept but may cause issues"} 
[2026-08-01 16:26:37] local.WARNING: Large IO value detected {"io_id":188,"raw_value":4105869313,"note":"Value kept but may cause issues"} 
[2026-08-01 16:26:37] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026045,"note":"Value kept but may cause issues"} 
[2026-08-01 16:26:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-01 16:26:37] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-01 16:26:37] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,120,159,176,45,192,238,61,35,10,66,94,38,12,1,240,222,227,188,31,4,113,205,104,239,48,2,36,7,37],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-01 16:26:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395816856141692928,"timestamp_seconds":4395816856141693.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 16:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:26:37] 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-08-01 16:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108906752001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108906752001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:26:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:26:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108906752001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":146329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:26:37] local.INFO: GPS data processed {"connection_id":146329,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:26:37] local.INFO: Acknowledgment sent {"connection_id":146329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:26:43] local.INFO: TCP Data received {"connection_id":146330,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:26:43] local.INFO: Processing buffer {"connection_id":146330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:26:43] local.INFO: IMEI packet received {"connection_id":146330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":146330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:26:49] local.INFO: TCP Data received {"connection_id":146330,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:26:49] local.INFO: Processing buffer {"connection_id":146330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:26:49] local.INFO: IMEI packet received {"connection_id":146330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":146330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:26:50] local.INFO: TCP Data received {"connection_id":146330,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcf77da0012ceb7bc00713b300001100a026..."} 
[2026-08-01 16:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcf77da0012ceb7bc00713b300001100a026..."} 
[2026-08-01 16:26:50] local.INFO: Processing buffer {"connection_id":146330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcf77da0012ceb7bc00713b300001100a026..."} 
[2026-08-01 16:26:50] local.INFO: Packet analysis {"connection_id":146330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcf7"} 
[2026-08-01 16:26:50] local.INFO: Extracted packet for processing {"connection_id":146330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcf7"} 
[2026-08-01 16:26:50] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":38,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16:26:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:26:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108854528001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:26:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:26:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:26:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:26:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785581764000,"timestamp_ms":1785581764000,"timestamp_seconds":1785581764,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcf77da0"} 
[2026-08-01 16:26:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:26:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:26:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-01 16:26:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:26:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:26:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:26:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:26:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:26:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:26:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:26:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:26:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:26:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:26:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108854528001,"66":26039,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-08-01 16:26:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:26:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:26:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108854528001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:26:50] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:26:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:26:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:26:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:26:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108854528001,"power":26039,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:26:50] local.INFO: DEBUG: GPS processor result {"connection_id":146330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:26:50] local.INFO: GPS data processed {"connection_id":146330,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:26:50] local.INFO: Acknowledgment sent {"connection_id":146330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:27:05] local.INFO: TCP Data received {"connection_id":148641,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:27:05] local.INFO: Processing buffer {"connection_id":148641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:27:05] local.INFO: IMEI packet received {"connection_id":148641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":148641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:27:10] local.INFO: TCP Data received {"connection_id":148641,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:27:10] local.INFO: Processing buffer {"connection_id":148641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:27:10] local.INFO: IMEI packet received {"connection_id":148641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":148641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:27:11] local.INFO: TCP Data received {"connection_id":148641,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcf6a6c8012d1968c0071fee10003d011428..."} 
[2026-08-01 16:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcf6a6c8012d1968c0071fee10003d011428..."} 
[2026-08-01 16:27:11] local.INFO: Processing buffer {"connection_id":148641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcf6a6c8012d1968c0071fee10003d011428..."} 
[2026-08-01 16:27:11] local.INFO: Packet analysis {"connection_id":148641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcf6"} 
[2026-08-01 16:27:11] local.INFO: Extracted packet for processing {"connection_id":148641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcf6"} 
[2026-08-01 16:27:11] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108912128001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16: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-08-01 16:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785581709000,"timestamp_ms":1785581709000,"timestamp_seconds":1785581709,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcf6a6c8"} 
[2026-08-01 16:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:27: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-08-01 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:27: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-08-01 16: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-08-01 16:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":148641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":148641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":148641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:27:11] 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-08-01 16:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108912128001,"66":12265,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108912128001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:27:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:27:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108912128001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":148641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:27:11] local.INFO: GPS data processed {"connection_id":148641,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:27:11] local.INFO: Acknowledgment sent {"connection_id":148641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:27:11] local.INFO: TCP Data received {"connection_id":148641,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcf6f8d0012d1968c0071fee10003d011427..."} 
[2026-08-01 16:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcf6f8d0012d1968c0071fee10003d011427..."} 
[2026-08-01 16:27:11] local.INFO: Processing buffer {"connection_id":148641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcf6f8d0012d1968c0071fee10003d011427..."} 
[2026-08-01 16:27:11] local.INFO: Packet analysis {"connection_id":148641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcf6"} 
[2026-08-01 16:27:11] local.INFO: Extracted packet for processing {"connection_id":148641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcf6"} 
[2026-08-01 16:27:11] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108917504001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16: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-08-01 16:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785581730000,"timestamp_ms":1785581730000,"timestamp_seconds":1785581730,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcf6f8d0"} 
[2026-08-01 16:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:27: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-08-01 16: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-01 16:27:11] 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-08-01 16: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-08-01 16:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":148641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":148641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":148641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:27:11] 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-08-01 16:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108917504001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108917504001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:27:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:27:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108917504001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":148641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:27:11] local.INFO: GPS data processed {"connection_id":148641,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:27:11] local.INFO: Acknowledgment sent {"connection_id":148641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:27:22] local.INFO: TCP Data received {"connection_id":146330,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcf77da0012ceb7bc00713b300001100a026..."} 
[2026-08-01 16:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcf77da0012ceb7bc00713b300001100a026..."} 
[2026-08-01 16:27:22] local.INFO: Processing buffer {"connection_id":146330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcf77da0012ceb7bc00713b300001100a026..."} 
[2026-08-01 16:27:22] local.INFO: Packet analysis {"connection_id":146330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcf7"} 
[2026-08-01 16:27:22] local.INFO: Extracted packet for processing {"connection_id":146330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcf7"} 
[2026-08-01 16:27:22] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":38,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108854528001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:27:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:27:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785581764000,"timestamp_ms":1785581764000,"timestamp_seconds":1785581764,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcf77da0"} 
[2026-08-01 16:27:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:27:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-01 16:27:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:27:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:27:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:27:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108854528001,"66":26039,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-08-01 16:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108854528001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:27:22] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:27:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:27:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:27:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108854528001,"power":26039,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":146330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:27:22] local.INFO: GPS data processed {"connection_id":146330,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:27:22] local.INFO: Acknowledgment sent {"connection_id":146330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:27:43] local.INFO: TCP Data received {"connection_id":148641,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcf74ad8012d1968c0071fee10003d011427..."} 
[2026-08-01 16:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcf74ad8012d1968c0071fee10003d011427..."} 
[2026-08-01 16:27:43] local.INFO: Processing buffer {"connection_id":148641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcf74ad8012d1968c0071fee10003d011427..."} 
[2026-08-01 16:27:43] local.INFO: Packet analysis {"connection_id":148641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcf7"} 
[2026-08-01 16:27:43] local.INFO: Extracted packet for processing {"connection_id":148641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcf7"} 
[2026-08-01 16:27:43] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108922880001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:27:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:27: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-08-01 16:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785581751000,"timestamp_ms":1785581751000,"timestamp_seconds":1785581751,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcf74ad8"} 
[2026-08-01 16:27:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:27:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:27: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-08-01 16: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-08-01 16:27:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":148641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":148641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":148641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:27:43] 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-08-01 16:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108922880001,"66":12298,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108922880001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:27:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:27:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:27:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:27:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108922880001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:27:43] local.INFO: DEBUG: GPS processor result {"connection_id":148641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:27:43] local.INFO: GPS data processed {"connection_id":148641,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:27:43] local.INFO: Acknowledgment sent {"connection_id":148641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:27:44] local.INFO: TCP Data received {"connection_id":148642,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:27:44] local.INFO: Processing buffer {"connection_id":148642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:27:44] local.INFO: IMEI packet received {"connection_id":148642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":148642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:27:48] local.INFO: TCP Data received {"connection_id":148642,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:27:48] local.INFO: Processing buffer {"connection_id":148642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:27:48] local.INFO: IMEI packet received {"connection_id":148642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":148642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:27:49] local.INFO: TCP Data received {"connection_id":148642,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcf77da0012ceb7bc00713b300001100a026..."} 
[2026-08-01 16:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcf77da0012ceb7bc00713b300001100a026..."} 
[2026-08-01 16:27:49] local.INFO: Processing buffer {"connection_id":148642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcf77da0012ceb7bc00713b300001100a026..."} 
[2026-08-01 16:27:49] local.INFO: Packet analysis {"connection_id":148642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcf7"} 
[2026-08-01 16:27:49] local.INFO: Extracted packet for processing {"connection_id":148642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcf7"} 
[2026-08-01 16:27:49] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":38,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108854528001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:27:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:27:49] 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-08-01 16:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785581764000,"timestamp_ms":1785581764000,"timestamp_seconds":1785581764,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcf77da0"} 
[2026-08-01 16:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:27:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-01 16:27:49] 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-08-01 16: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-08-01 16:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:27:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108854528001,"66":26039,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-08-01 16:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108854528001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:27:49] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:27:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:27:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108854528001,"power":26039,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":148642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:27:49] local.INFO: GPS data processed {"connection_id":148642,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:27:49] local.INFO: Acknowledgment sent {"connection_id":148642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:28:00] local.INFO: TCP Data received {"connection_id":148643,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:28:00] local.INFO: Processing buffer {"connection_id":148643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:28:00] local.INFO: IMEI packet received {"connection_id":148643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":148643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:28:05] local.INFO: TCP Data received {"connection_id":148643,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:28:05] local.INFO: Processing buffer {"connection_id":148643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:28:05] local.INFO: IMEI packet received {"connection_id":148643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":148643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:28:06] local.INFO: TCP Data received {"connection_id":148643,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcf79ce0012d1968c0071fee10003d011428..."} 
[2026-08-01 16:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcf79ce0012d1968c0071fee10003d011428..."} 
[2026-08-01 16:28:06] local.INFO: Processing buffer {"connection_id":148643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcf79ce0012d1968c0071fee10003d011428..."} 
[2026-08-01 16:28:06] local.INFO: Packet analysis {"connection_id":148643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcf7"} 
[2026-08-01 16:28:06] local.INFO: Extracted packet for processing {"connection_id":148643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcf7"} 
[2026-08-01 16:28:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108928256001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785581772000,"timestamp_ms":1785581772000,"timestamp_seconds":1785581772,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcf79ce0"} 
[2026-08-01 16:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:28: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-08-01 16:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 16:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-01 16:28:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-01 16:28:06] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-01 16:28:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 16:28:06] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-7854277750134145023,"note":"Value kept but may cause issues"} 
[2026-08-01 16:28:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4830941143930955416,"note":"Value kept but may cause issues"} 
[2026-08-01 16:28:06] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390635034411284,"note":"Value kept but may cause issues"} 
[2026-08-01 16:28:06] local.WARNING: Large IO value detected {"io_id":61,"raw_value":77728875013996544,"note":"Value kept but may cause issues"} 
[2026-08-01 16:28:06] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832597,"note":"Value kept but may cause issues"} 
[2026-08-01 16:28:06] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-08-01 16:28:06] local.WARNING: Large IO value detected {"io_id":188,"raw_value":4127373313,"note":"Value kept but may cause issues"} 
[2026-08-01 16:28:06] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026045,"note":"Value kept but may cause issues"} 
[2026-08-01 16:28:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-01 16:28:06] local.WARNING: Large IO value detected {"io_id":176,"raw_value":2952867097,"note":"Value kept but may cause issues"} 
[2026-08-01 16:28:06] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-01 16:28:06] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-08-01 16:28:06] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,120,159,248,45,192,238,61,39,10,66,166,40,84,1,240,255,227,188,31,4,113,205,176,104,35,239,47,2,36,7,38],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-01 16:28:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395816869026594816,"timestamp_seconds":4395816869026595.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 16:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:28:06] 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-08-01 16:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108928256001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108928256001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:28:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:28:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108928256001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":148643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:28:06] local.INFO: GPS data processed {"connection_id":148643,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:28:06] local.INFO: Acknowledgment sent {"connection_id":148643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:28:20] local.INFO: TCP Data received {"connection_id":148642,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcf77da0012ceb7bc00713b300001100a026..."} 
[2026-08-01 16:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcf77da0012ceb7bc00713b300001100a026..."} 
[2026-08-01 16:28:20] local.INFO: Processing buffer {"connection_id":148642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcf77da0012ceb7bc00713b300001100a026..."} 
[2026-08-01 16:28:20] local.INFO: Packet analysis {"connection_id":148642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcf7"} 
[2026-08-01 16:28:20] local.INFO: Extracted packet for processing {"connection_id":148642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcf7"} 
[2026-08-01 16:28:20] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":38,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108854528001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:28:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:28:20] 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-08-01 16:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785581764000,"timestamp_ms":1785581764000,"timestamp_seconds":1785581764,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcf77da0"} 
[2026-08-01 16:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-01 16:28:20] 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-08-01 16:28:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:28:20] 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-08-01 16:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108854528001,"66":26039,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-08-01 16:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108854528001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:28:20] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:28:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:28:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108854528001,"power":26039,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":148642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:28:21] local.INFO: GPS data processed {"connection_id":148642,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:28:21] local.INFO: Acknowledgment sent {"connection_id":148642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:28:37] local.INFO: TCP Data received {"connection_id":148643,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcf7eee8012d1968c0071fee10003d011427..."} 
[2026-08-01 16:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcf7eee8012d1968c0071fee10003d011427..."} 
[2026-08-01 16:28:37] local.INFO: Processing buffer {"connection_id":148643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcf7eee8012d1968c0071fee10003d011427..."} 
[2026-08-01 16:28:37] local.INFO: Packet analysis {"connection_id":148643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcf7"} 
[2026-08-01 16:28:37] local.INFO: Extracted packet for processing {"connection_id":148643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcf7"} 
[2026-08-01 16:28:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108933632001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785581793000,"timestamp_ms":1785581793000,"timestamp_seconds":1785581793,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcf7eee8"} 
[2026-08-01 16:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:28:37] 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-08-01 16:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:28:37] 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-08-01 16:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108933632001,"66":12254,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108933632001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:28:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:28:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108933632001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":148643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578009,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:28:37] local.INFO: GPS data processed {"connection_id":148643,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:28:37] local.INFO: Acknowledgment sent {"connection_id":148643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:28:44] local.INFO: TCP Data received {"connection_id":146104,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:28:44] local.INFO: Processing buffer {"connection_id":146104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:28:44] local.INFO: IMEI packet received {"connection_id":146104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":146104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:28:49] local.INFO: TCP Data received {"connection_id":146104,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:28:49] local.INFO: Processing buffer {"connection_id":146104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:28:49] local.INFO: IMEI packet received {"connection_id":146104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":146104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:28:50] local.INFO: TCP Data received {"connection_id":146104,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcf77da0012ceb7bc00713b300001100a026..."} 
[2026-08-01 16:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcf77da0012ceb7bc00713b300001100a026..."} 
[2026-08-01 16:28:50] local.INFO: Processing buffer {"connection_id":146104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcf77da0012ceb7bc00713b300001100a026..."} 
[2026-08-01 16:28:50] local.INFO: Packet analysis {"connection_id":146104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcf7"} 
[2026-08-01 16:28:50] local.INFO: Extracted packet for processing {"connection_id":146104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcf7"} 
[2026-08-01 16:28:50] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":38,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108854528001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:28:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:28:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785581764000,"timestamp_ms":1785581764000,"timestamp_seconds":1785581764,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcf77da0"} 
[2026-08-01 16:28:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:28:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-01 16:28:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:28:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:28:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:28:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108854528001,"66":26039,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"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-08-01 16:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108854528001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:28:50] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:28:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:28:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108854528001,"power":26039,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":146104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:28:50] local.INFO: GPS data processed {"connection_id":146104,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:28:50] local.INFO: Acknowledgment sent {"connection_id":146104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:29:00] local.INFO: TCP Data received {"connection_id":146331,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:29:00] local.INFO: Processing buffer {"connection_id":146331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:29:00] local.INFO: IMEI packet received {"connection_id":146331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":146331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:29:06] local.INFO: TCP Data received {"connection_id":146331,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:29:06] local.INFO: Processing buffer {"connection_id":146331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:29:06] local.INFO: IMEI packet received {"connection_id":146331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":146331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:29:09] local.INFO: TCP Data received {"connection_id":146331,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcf840f0012d1968c0071fee10003d011428..."} 
[2026-08-01 16:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcf840f0012d1968c0071fee10003d011428..."} 
[2026-08-01 16:29:09] local.INFO: Processing buffer {"connection_id":146331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcf840f0012d1968c0071fee10003d011428..."} 
[2026-08-01 16:29:09] local.INFO: Packet analysis {"connection_id":146331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcf8"} 
[2026-08-01 16:29:09] local.INFO: Extracted packet for processing {"connection_id":146331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcf8"} 
[2026-08-01 16:29:09] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108939008001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:29: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-08-01 16:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785581814000,"timestamp_ms":1785581814000,"timestamp_seconds":1785581814,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcf840f0"} 
[2026-08-01 16:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-01 16:29:09] 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-08-01 16: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-08-01 16:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":146331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":146331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":146331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:29:09] 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-08-01 16:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108939008001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108939008001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:29:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:29:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108939008001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":146331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:29:09] local.INFO: GPS data processed {"connection_id":146331,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:29:09] local.INFO: Acknowledgment sent {"connection_id":146331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:29:22] local.INFO: TCP Data received {"connection_id":146104,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcf77da0012ceb7bc00713b300001100a026..."} 
[2026-08-01 16:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcf77da0012ceb7bc00713b300001100a026..."} 
[2026-08-01 16:29:22] local.INFO: Processing buffer {"connection_id":146104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcf77da0012ceb7bc00713b300001100a026..."} 
[2026-08-01 16:29:22] local.INFO: Packet analysis {"connection_id":146104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcf7"} 
[2026-08-01 16:29:22] local.INFO: Extracted packet for processing {"connection_id":146104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcf7"} 
[2026-08-01 16:29:22] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":38,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108854528001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:29:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:29:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:29:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:29:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785581764000,"timestamp_ms":1785581764000,"timestamp_seconds":1785581764,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcf77da0"} 
[2026-08-01 16:29:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:29:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-01 16:29:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:29:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:29:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:29:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:29:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:29:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:29:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:29:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:29:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:29:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:29:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108854528001,"66":26039,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"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-08-01 16:29:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:29:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:29:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108854528001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:29:22] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:29:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:29:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:29:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:29:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108854528001,"power":26039,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:29:22] local.INFO: DEBUG: GPS processor result {"connection_id":146104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:29:22] local.INFO: GPS data processed {"connection_id":146104,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:29:22] local.INFO: Acknowledgment sent {"connection_id":146104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:29:43] local.INFO: TCP Data received {"connection_id":146331,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcf892f8012d1968c0071fee10003d011424..."} 
[2026-08-01 16:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcf892f8012d1968c0071fee10003d011424..."} 
[2026-08-01 16:29:43] local.INFO: Processing buffer {"connection_id":146331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcf892f8012d1968c0071fee10003d011424..."} 
[2026-08-01 16:29:43] local.INFO: Packet analysis {"connection_id":146331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcf8"} 
[2026-08-01 16:29:43] local.INFO: Extracted packet for processing {"connection_id":146331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcf8"} 
[2026-08-01 16:29:43] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108944384001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:29: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-08-01 16:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785581835000,"timestamp_ms":1785581835000,"timestamp_seconds":1785581835,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcf892f8"} 
[2026-08-01 16:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:29:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:29: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-08-01 16: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-08-01 16:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":146331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":146331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":146331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:29:43] 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-08-01 16:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108944384001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108944384001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:29:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:29:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108944384001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":146331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:29:43] local.INFO: GPS data processed {"connection_id":146331,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:29:43] local.INFO: Acknowledgment sent {"connection_id":146331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:29:44] local.INFO: TCP Data received {"connection_id":148644,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:29:44] local.INFO: Processing buffer {"connection_id":148644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:29:44] local.INFO: IMEI packet received {"connection_id":148644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":148644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:29:48] local.INFO: TCP Data received {"connection_id":148644,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:29:48] local.INFO: Processing buffer {"connection_id":148644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:29:48] local.INFO: IMEI packet received {"connection_id":148644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":148644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:29:49] local.INFO: TCP Data received {"connection_id":148644,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcf77da0012ceb7bc00713b300001100a026..."} 
[2026-08-01 16:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcf77da0012ceb7bc00713b300001100a026..."} 
[2026-08-01 16:29:49] local.INFO: Processing buffer {"connection_id":148644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcf77da0012ceb7bc00713b300001100a026..."} 
[2026-08-01 16:29:49] local.INFO: Packet analysis {"connection_id":148644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcf7"} 
[2026-08-01 16:29:49] local.INFO: Extracted packet for processing {"connection_id":148644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcf7"} 
[2026-08-01 16:29:49] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":38,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108854528001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:29:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:29:49] 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-08-01 16:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785581764000,"timestamp_ms":1785581764000,"timestamp_seconds":1785581764,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcf77da0"} 
[2026-08-01 16:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:29:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-01 16:29:49] 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-08-01 16: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-08-01 16:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108854528001,"66":26039,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"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-08-01 16:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108854528001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:29:49] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:29:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:29:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108854528001,"power":26039,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":148644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:29:49] local.INFO: GPS data processed {"connection_id":148644,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:29:49] local.INFO: Acknowledgment sent {"connection_id":148644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:30:00] local.INFO: TCP Data received {"connection_id":146332,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146332,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:30:00] local.INFO: Processing buffer {"connection_id":146332,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:30:00] local.INFO: IMEI packet received {"connection_id":146332,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":146332,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:30:00] local.INFO: TCP Data received {"connection_id":146332,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146332,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:30:00] local.INFO: Processing buffer {"connection_id":146332,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:30:00] local.INFO: IMEI packet received {"connection_id":146332,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":146332,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:30:05] local.INFO: TCP Data received {"connection_id":146332,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146332,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:30:05] local.INFO: Processing buffer {"connection_id":146332,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:30:05] local.INFO: IMEI packet received {"connection_id":146332,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":146332,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:30:06] local.INFO: TCP Data received {"connection_id":146332,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcf8e500012d1968c0071fee10003d011425..."} 
[2026-08-01 16:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcf8e500012d1968c0071fee10003d011425..."} 
[2026-08-01 16:30:06] local.INFO: Processing buffer {"connection_id":146332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcf8e500012d1968c0071fee10003d011425..."} 
[2026-08-01 16:30:06] local.INFO: Packet analysis {"connection_id":146332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcf8"} 
[2026-08-01 16:30:06] local.INFO: Extracted packet for processing {"connection_id":146332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcf8"} 
[2026-08-01 16:30:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108949760001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785581856000,"timestamp_ms":1785581856000,"timestamp_seconds":1785581856,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcf8e500"} 
[2026-08-01 16:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:30: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-08-01 16:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:30:06] 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-08-01 16:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108949760001,"66":12298,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108949760001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:30:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:30:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108949760001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":146332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:30:06] local.INFO: GPS data processed {"connection_id":146332,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:30:06] local.INFO: Acknowledgment sent {"connection_id":146332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:30:20] local.INFO: TCP Data received {"connection_id":148644,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcf77da0012ceb7bc00713b300001100a026..."} 
[2026-08-01 16:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcf77da0012ceb7bc00713b300001100a026..."} 
[2026-08-01 16:30:20] local.INFO: Processing buffer {"connection_id":148644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcf77da0012ceb7bc00713b300001100a026..."} 
[2026-08-01 16:30:20] local.INFO: Packet analysis {"connection_id":148644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcf7"} 
[2026-08-01 16:30:20] local.INFO: Extracted packet for processing {"connection_id":148644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcf7"} 
[2026-08-01 16:30:20] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":38,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108854528001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:30:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:30:20] 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-08-01 16:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785581764000,"timestamp_ms":1785581764000,"timestamp_seconds":1785581764,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcf77da0"} 
[2026-08-01 16:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-01 16:30:20] 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-08-01 16:30:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:30:20] 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-08-01 16:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108854528001,"66":26039,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"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-08-01 16:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108854528001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:30:20] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:30:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:30:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108854528001,"power":26039,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":148644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:30:20] local.INFO: GPS data processed {"connection_id":148644,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:30:20] local.INFO: Acknowledgment sent {"connection_id":148644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:30:37] local.INFO: TCP Data received {"connection_id":146332,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcf93708012d1968c0071fee10003d011420..."} 
[2026-08-01 16:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcf93708012d1968c0071fee10003d011420..."} 
[2026-08-01 16:30:37] local.INFO: Processing buffer {"connection_id":146332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcf93708012d1968c0071fee10003d011420..."} 
[2026-08-01 16:30:37] local.INFO: Packet analysis {"connection_id":146332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcf9"} 
[2026-08-01 16:30:37] local.INFO: Extracted packet for processing {"connection_id":146332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcf9"} 
[2026-08-01 16:30:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":32,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108955136001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785581877000,"timestamp_ms":1785581877000,"timestamp_seconds":1785581877,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcf93708"} 
[2026-08-01 16:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 16:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-01 16:30:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-01 16:30:37] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-01 16:30:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 16:30:37] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-7854277750134145023,"note":"Value kept but may cause issues"} 
[2026-08-01 16:30:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4830490172364875416,"note":"Value kept but may cause issues"} 
[2026-08-01 16:30:37] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390635034411284,"note":"Value kept but may cause issues"} 
[2026-08-01 16:30:37] local.WARNING: Large IO value detected {"io_id":61,"raw_value":77729974525624320,"note":"Value kept but may cause issues"} 
[2026-08-01 16:30:37] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832597,"note":"Value kept but may cause issues"} 
[2026-08-01 16:30:37] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-08-01 16:30:37] local.WARNING: Large IO value detected {"io_id":188,"raw_value":4154253313,"note":"Value kept but may cause issues"} 
[2026-08-01 16:30:37] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026045,"note":"Value kept but may cause issues"} 
[2026-08-01 16:30:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-01 16:30:37] local.WARNING: Large IO value detected {"io_id":74,"raw_value":3623955737,"note":"Value kept but may cause issues"} 
[2026-08-01 16:30:37] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-01 16:30:37] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,120,159,146,45,192,238,61,36,10,66,64,40,1,240,222,227,188,31,4,113,205,74,104,39,239,48,2,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-01 16:30:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395816860436660224,"timestamp_seconds":4395816860436660.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 16:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:30:37] 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-08-01 16:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108955136001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108955136001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:30:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:30:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108955136001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":146332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:30:37] local.INFO: GPS data processed {"connection_id":146332,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:30:37] local.INFO: Acknowledgment sent {"connection_id":146332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:30:43] local.INFO: TCP Data received {"connection_id":146105,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:30:43] local.INFO: Processing buffer {"connection_id":146105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:30:43] local.INFO: IMEI packet received {"connection_id":146105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":146105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:30:49] local.INFO: TCP Data received {"connection_id":146105,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:30:49] local.INFO: Processing buffer {"connection_id":146105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:30:49] local.INFO: IMEI packet received {"connection_id":146105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":146105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:30:50] local.INFO: TCP Data received {"connection_id":146105,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcf77da0012ceb7bc00713b300001100a026..."} 
[2026-08-01 16:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcf77da0012ceb7bc00713b300001100a026..."} 
[2026-08-01 16:30:50] local.INFO: Processing buffer {"connection_id":146105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcf77da0012ceb7bc00713b300001100a026..."} 
[2026-08-01 16:30:50] local.INFO: Packet analysis {"connection_id":146105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcf7"} 
[2026-08-01 16:30:50] local.INFO: Extracted packet for processing {"connection_id":146105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcf7"} 
[2026-08-01 16:30:50] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":38,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108854528001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:30:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:30:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:30:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:30:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785581764000,"timestamp_ms":1785581764000,"timestamp_seconds":1785581764,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcf77da0"} 
[2026-08-01 16:30:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:30:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-01 16:30:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:30:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:30:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:30:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:30:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:30:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:30:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:30:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:30:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:30:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:30:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108854528001,"66":26039,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"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-08-01 16:30:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:30:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:30:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108854528001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:30:50] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:30:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:30:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:30:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:30:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108854528001,"power":26039,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":146105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:30:50] local.INFO: GPS data processed {"connection_id":146105,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:30:50] local.INFO: Acknowledgment sent {"connection_id":146105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:31:00] local.INFO: TCP Data received {"connection_id":147339,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:31:00] local.INFO: Processing buffer {"connection_id":147339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:31:00] local.INFO: IMEI packet received {"connection_id":147339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":147339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:31:02] local.INFO: TCP Data received {"connection_id":147339,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:31:02] local.INFO: Processing buffer {"connection_id":147339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:31:02] local.INFO: IMEI packet received {"connection_id":147339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":147339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:31:05] local.INFO: TCP Data received {"connection_id":147339,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:31:05] local.INFO: Processing buffer {"connection_id":147339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:31:05] local.INFO: IMEI packet received {"connection_id":147339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":147339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:31:06] local.INFO: TCP Data received {"connection_id":147339,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcf98910012d1968c0071fee10003d011425..."} 
[2026-08-01 16:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcf98910012d1968c0071fee10003d011425..."} 
[2026-08-01 16:31:06] local.INFO: Processing buffer {"connection_id":147339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcf98910012d1968c0071fee10003d011425..."} 
[2026-08-01 16:31:06] local.INFO: Packet analysis {"connection_id":147339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcf9"} 
[2026-08-01 16:31:06] local.INFO: Extracted packet for processing {"connection_id":147339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcf9"} 
[2026-08-01 16:31:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108960512001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785581898000,"timestamp_ms":1785581898000,"timestamp_seconds":1785581898,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcf98910"} 
[2026-08-01 16:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:31: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-08-01 16:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:31:06] 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-08-01 16:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108960512001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108960512001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:31:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:31:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108960512001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":147339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:31:06] local.INFO: GPS data processed {"connection_id":147339,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:31:06] local.INFO: Acknowledgment sent {"connection_id":147339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:31:10] local.INFO: TCP Data received {"connection_id":147339,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcf9db18012d1968c0071fee10003d011421..."} 
[2026-08-01 16:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcf9db18012d1968c0071fee10003d011421..."} 
[2026-08-01 16:31:10] local.INFO: Processing buffer {"connection_id":147339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcf9db18012d1968c0071fee10003d011421..."} 
[2026-08-01 16:31:10] local.INFO: Packet analysis {"connection_id":147339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcf9"} 
[2026-08-01 16:31:10] local.INFO: Extracted packet for processing {"connection_id":147339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcf9"} 
[2026-08-01 16:31:10] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":33,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108965888001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16: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-08-01 16:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785581919000,"timestamp_ms":1785581919000,"timestamp_seconds":1785581919,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcf9db18"} 
[2026-08-01 16:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:31: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-08-01 16:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:31: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-08-01 16:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":147339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":147339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":147339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:31: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-08-01 16:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108965888001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108965888001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:31:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:31:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108965888001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":147339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578020,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:31:10] local.INFO: GPS data processed {"connection_id":147339,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:31:10] local.INFO: Acknowledgment sent {"connection_id":147339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:31:22] local.INFO: TCP Data received {"connection_id":146105,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcf77da0012ceb7bc00713b300001100a026..."} 
[2026-08-01 16:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcf77da0012ceb7bc00713b300001100a026..."} 
[2026-08-01 16:31:22] local.INFO: Processing buffer {"connection_id":146105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcf77da0012ceb7bc00713b300001100a026..."} 
[2026-08-01 16:31:22] local.INFO: Packet analysis {"connection_id":146105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcf7"} 
[2026-08-01 16:31:22] local.INFO: Extracted packet for processing {"connection_id":146105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcf7"} 
[2026-08-01 16:31:22] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":38,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108854528001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:31:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785581764000,"timestamp_ms":1785581764000,"timestamp_seconds":1785581764,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcf77da0"} 
[2026-08-01 16:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:31:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-01 16:31:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:31:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108854528001,"66":26039,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"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-08-01 16:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108854528001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:31:22] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:31:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:31:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108854528001,"power":26039,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":146105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:31:22] local.INFO: GPS data processed {"connection_id":146105,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:31:22] local.INFO: Acknowledgment sent {"connection_id":146105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:31:41] local.INFO: TCP Data received {"connection_id":147339,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcfa2d20012d1968c0071fee10003d011425..."} 
[2026-08-01 16:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcfa2d20012d1968c0071fee10003d011425..."} 
[2026-08-01 16:31:41] local.INFO: Processing buffer {"connection_id":147339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcfa2d20012d1968c0071fee10003d011425..."} 
[2026-08-01 16:31:41] local.INFO: Packet analysis {"connection_id":147339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcfa"} 
[2026-08-01 16:31:41] local.INFO: Extracted packet for processing {"connection_id":147339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcfa"} 
[2026-08-01 16:31:41] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108971264001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:31:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16: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-08-01 16:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785581940000,"timestamp_ms":1785581940000,"timestamp_seconds":1785581940,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcfa2d20"} 
[2026-08-01 16:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:31: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-08-01 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:31: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-08-01 16: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-08-01 16:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":147339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":147339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":147339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:31: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-08-01 16:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108971264001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108971264001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:31:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:31:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:31:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108971264001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":147339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578022,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:31:41] local.INFO: GPS data processed {"connection_id":147339,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:31:41] local.INFO: Acknowledgment sent {"connection_id":147339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:31:43] local.INFO: TCP Data received {"connection_id":147340,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:31:43] local.INFO: Processing buffer {"connection_id":147340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:31:43] local.INFO: IMEI packet received {"connection_id":147340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":147340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:31:48] local.INFO: TCP Data received {"connection_id":147340,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:31:48] local.INFO: Processing buffer {"connection_id":147340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:31:48] local.INFO: IMEI packet received {"connection_id":147340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":147340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:31:49] local.INFO: TCP Data received {"connection_id":147340,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcfc1568012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcfc1568012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:31:49] local.INFO: Processing buffer {"connection_id":147340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcfc1568012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:31:49] local.INFO: Packet analysis {"connection_id":147340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcfc"} 
[2026-08-01 16:31:49] local.INFO: Extracted packet for processing {"connection_id":147340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcfc"} 
[2026-08-01 16:31:49] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":39,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108931584001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:31:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:31:49] 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-08-01 16:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785582065000,"timestamp_ms":1785582065000,"timestamp_seconds":1785582065,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcfc1568"} 
[2026-08-01 16:31:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:31:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-01 16:31:49] 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-08-01 16:31:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:31:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:31:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108931584001,"66":25919,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"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-08-01 16:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108931584001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:31:49] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:31:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:31:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108931584001,"power":25919,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":147340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:31:49] local.INFO: GPS data processed {"connection_id":147340,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:31:49] local.INFO: Acknowledgment sent {"connection_id":147340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:32:00] local.INFO: TCP Data received {"connection_id":146106,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:32:00] local.INFO: Processing buffer {"connection_id":146106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:32:00] local.INFO: IMEI packet received {"connection_id":146106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":146106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:32:05] local.INFO: TCP Data received {"connection_id":146106,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:32:05] local.INFO: Processing buffer {"connection_id":146106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:32:05] local.INFO: IMEI packet received {"connection_id":146106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":146106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:32:06] local.INFO: TCP Data received {"connection_id":146106,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcfa7f28012d1968c0071fee10003d011427..."} 
[2026-08-01 16:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcfa7f28012d1968c0071fee10003d011427..."} 
[2026-08-01 16:32:06] local.INFO: Processing buffer {"connection_id":146106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcfa7f28012d1968c0071fee10003d011427..."} 
[2026-08-01 16:32:06] local.INFO: Packet analysis {"connection_id":146106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcfa"} 
[2026-08-01 16:32:06] local.INFO: Extracted packet for processing {"connection_id":146106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcfa"} 
[2026-08-01 16:32:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108976640001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785581961000,"timestamp_ms":1785581961000,"timestamp_seconds":1785581961,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcfa7f28"} 
[2026-08-01 16:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:32: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-08-01 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16: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-08-01 16:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:32:06] 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-08-01 16:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108976640001,"66":12232,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108976640001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:32:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:32:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108976640001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":146106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:32:06] local.INFO: GPS data processed {"connection_id":146106,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:32:06] local.INFO: Acknowledgment sent {"connection_id":146106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:32:20] local.INFO: TCP Data received {"connection_id":147340,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcfc1568012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcfc1568012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:32:20] local.INFO: Processing buffer {"connection_id":147340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcfc1568012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:32:20] local.INFO: Packet analysis {"connection_id":147340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcfc"} 
[2026-08-01 16:32:20] local.INFO: Extracted packet for processing {"connection_id":147340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcfc"} 
[2026-08-01 16:32:20] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":39,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108931584001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:32:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:32:20] 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-08-01 16:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785582065000,"timestamp_ms":1785582065000,"timestamp_seconds":1785582065,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcfc1568"} 
[2026-08-01 16:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-01 16:32:20] 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-08-01 16: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-08-01 16:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:32:20] 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-08-01 16:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108931584001,"66":25919,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"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-08-01 16:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108931584001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:32:20] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:32:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:32:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108931584001,"power":25919,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":147340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:32:20] local.INFO: GPS data processed {"connection_id":147340,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:32:20] local.INFO: Acknowledgment sent {"connection_id":147340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:32:37] local.INFO: TCP Data received {"connection_id":146106,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcfad130012d1968c0071fee10003d011424..."} 
[2026-08-01 16:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcfad130012d1968c0071fee10003d011424..."} 
[2026-08-01 16:32:37] local.INFO: Processing buffer {"connection_id":146106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcfad130012d1968c0071fee10003d011424..."} 
[2026-08-01 16:32:37] local.INFO: Packet analysis {"connection_id":146106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcfa"} 
[2026-08-01 16:32:37] local.INFO: Extracted packet for processing {"connection_id":146106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcfa"} 
[2026-08-01 16:32:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108982016001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785581982000,"timestamp_ms":1785581982000,"timestamp_seconds":1785581982,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcfad130"} 
[2026-08-01 16:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-01 16:32:37] 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-08-01 16: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-08-01 16:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:32:37] 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-08-01 16:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108982016001,"66":12298,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108982016001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:32:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:32:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108982016001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":146106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:32:37] local.INFO: GPS data processed {"connection_id":146106,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:32:37] local.INFO: Acknowledgment sent {"connection_id":146106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:32:44] local.INFO: TCP Data received {"connection_id":147341,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:32:44] local.INFO: Processing buffer {"connection_id":147341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:32:44] local.INFO: IMEI packet received {"connection_id":147341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":147341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:32:49] local.INFO: TCP Data received {"connection_id":147341,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:32:49] local.INFO: Processing buffer {"connection_id":147341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:32:49] local.INFO: IMEI packet received {"connection_id":147341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":147341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:32:50] local.INFO: TCP Data received {"connection_id":147341,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcfc1568012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcfc1568012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:32:50] local.INFO: Processing buffer {"connection_id":147341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcfc1568012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:32:50] local.INFO: Packet analysis {"connection_id":147341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcfc"} 
[2026-08-01 16:32:50] local.INFO: Extracted packet for processing {"connection_id":147341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcfc"} 
[2026-08-01 16:32:50] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":39,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16:32:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:32:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108931584001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:32:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:32:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:32:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:32:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785582065000,"timestamp_ms":1785582065000,"timestamp_seconds":1785582065,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcfc1568"} 
[2026-08-01 16:32:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:32:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-01 16:32:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:32:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:32:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:32:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:32:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:32:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:32:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:32:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:32:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:32:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:32:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108931584001,"66":25919,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-08-01 16:32:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:32:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:32:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108931584001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:32:50] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:32:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:32:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:32:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:32:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108931584001,"power":25919,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:32:50] local.INFO: DEBUG: GPS processor result {"connection_id":147341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:32:50] local.INFO: GPS data processed {"connection_id":147341,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:32:50] local.INFO: Acknowledgment sent {"connection_id":147341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:33:00] local.INFO: TCP Data received {"connection_id":146333,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:33:00] local.INFO: Processing buffer {"connection_id":146333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:33:00] local.INFO: IMEI packet received {"connection_id":146333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":146333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:33:05] local.INFO: TCP Data received {"connection_id":146333,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:33:05] local.INFO: Processing buffer {"connection_id":146333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:33:05] local.INFO: IMEI packet received {"connection_id":146333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":146333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:33:06] local.INFO: TCP Data received {"connection_id":146333,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcfb2338012d1968c0071fee10003d011423..."} 
[2026-08-01 16:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcfb2338012d1968c0071fee10003d011423..."} 
[2026-08-01 16:33:06] local.INFO: Processing buffer {"connection_id":146333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcfb2338012d1968c0071fee10003d011423..."} 
[2026-08-01 16:33:06] local.INFO: Packet analysis {"connection_id":146333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcfb"} 
[2026-08-01 16:33:06] local.INFO: Extracted packet for processing {"connection_id":146333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcfb"} 
[2026-08-01 16:33:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108987392001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785582003000,"timestamp_ms":1785582003000,"timestamp_seconds":1785582003,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcfb2338"} 
[2026-08-01 16:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:33: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-08-01 16: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 16:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-01 16:33:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-01 16:33:06] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-01 16:33:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 16:33:06] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-7854277750134145023,"note":"Value kept but may cause issues"} 
[2026-08-01 16:33:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4829949006485579416,"note":"Value kept but may cause issues"} 
[2026-08-01 16:33:06] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390635034411284,"note":"Value kept but may cause issues"} 
[2026-08-01 16:33:06] local.WARNING: Large IO value detected {"io_id":61,"raw_value":77727775502368768,"note":"Value kept but may cause issues"} 
[2026-08-01 16:33:06] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832596,"note":"Value kept but may cause issues"} 
[2026-08-01 16:33:06] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-08-01 16:33:06] local.WARNING: Large IO value detected {"io_id":188,"raw_value":4186509313,"note":"Value kept but may cause issues"} 
[2026-08-01 16:33:06] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026045,"note":"Value kept but may cause issues"} 
[2026-08-01 16:33:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-01 16:33:06] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-01 16:33:06] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-08-01 16:33:06] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,120,159,127,45,192,238,61,39,10,66,37,219,1,240,255,227,188,31,4,113,205,55,104,32,239,47,2,36,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-01 16:33:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395816856141692928,"timestamp_seconds":4395816856141693.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 16:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:33:06] 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-08-01 16:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108987392001,"66":12004,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108987392001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:33:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:33:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108987392001,"power":12004,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":146333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578028,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:33:06] local.INFO: GPS data processed {"connection_id":146333,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:33:06] local.INFO: Acknowledgment sent {"connection_id":146333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:33:21] local.INFO: TCP Data received {"connection_id":147341,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcfc1568012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcfc1568012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:33:21] local.INFO: Processing buffer {"connection_id":147341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcfc1568012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:33:21] local.INFO: Packet analysis {"connection_id":147341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcfc"} 
[2026-08-01 16:33:21] local.INFO: Extracted packet for processing {"connection_id":147341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcfc"} 
[2026-08-01 16:33:21] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":39,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108931584001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:33:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:33:21] 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-08-01 16:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785582065000,"timestamp_ms":1785582065000,"timestamp_seconds":1785582065,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcfc1568"} 
[2026-08-01 16:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:33:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-01 16:33:21] 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-08-01 16:33:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:33:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108931584001,"66":25919,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-08-01 16:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108931584001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:33:21] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:33:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:33:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108931584001,"power":25919,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":147341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:33:21] local.INFO: GPS data processed {"connection_id":147341,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:33:21] local.INFO: Acknowledgment sent {"connection_id":147341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:33:37] local.INFO: TCP Data received {"connection_id":146333,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcfb7540012d1968c0071fee10003d011425..."} 
[2026-08-01 16:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcfb7540012d1968c0071fee10003d011425..."} 
[2026-08-01 16:33:37] local.INFO: Processing buffer {"connection_id":146333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcfb7540012d1968c0071fee10003d011425..."} 
[2026-08-01 16:33:37] local.INFO: Packet analysis {"connection_id":146333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcfb"} 
[2026-08-01 16:33:37] local.INFO: Extracted packet for processing {"connection_id":146333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcfb"} 
[2026-08-01 16:33:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108992768001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785582024000,"timestamp_ms":1785582024000,"timestamp_seconds":1785582024,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcfb7540"} 
[2026-08-01 16:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 16:33:37] 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-08-01 16:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:33:37] 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-08-01 16:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108992768001,"66":12102,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108992768001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:33:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:33:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108992768001,"power":12102,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":146333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:33:37] local.INFO: GPS data processed {"connection_id":146333,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:33:37] local.INFO: Acknowledgment sent {"connection_id":146333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:33:44] local.INFO: TCP Data received {"connection_id":146107,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:33:44] local.INFO: Processing buffer {"connection_id":146107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:33:44] local.INFO: IMEI packet received {"connection_id":146107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":146107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:33:48] local.INFO: TCP Data received {"connection_id":146107,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:33:48] local.INFO: Processing buffer {"connection_id":146107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:33:48] local.INFO: IMEI packet received {"connection_id":146107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":146107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:33:49] local.INFO: TCP Data received {"connection_id":146107,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcfc1568012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcfc1568012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:33:49] local.INFO: Processing buffer {"connection_id":146107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcfc1568012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:33:49] local.INFO: Packet analysis {"connection_id":146107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcfc"} 
[2026-08-01 16:33:49] local.INFO: Extracted packet for processing {"connection_id":146107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcfc"} 
[2026-08-01 16:33:49] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":39,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108931584001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:33:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:33:49] 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-08-01 16:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785582065000,"timestamp_ms":1785582065000,"timestamp_seconds":1785582065,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcfc1568"} 
[2026-08-01 16:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:33:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-01 16:33:49] 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-08-01 16:33:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:33:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108931584001,"66":25919,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"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-08-01 16:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108931584001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:33:49] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:33:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:33:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108931584001,"power":25919,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":146107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:33:49] local.INFO: GPS data processed {"connection_id":146107,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:33:49] local.INFO: Acknowledgment sent {"connection_id":146107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:34:00] local.INFO: TCP Data received {"connection_id":147342,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:34:00] local.INFO: Processing buffer {"connection_id":147342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:34:00] local.INFO: IMEI packet received {"connection_id":147342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":147342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:34:05] local.INFO: TCP Data received {"connection_id":147342,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:34:05] local.INFO: Processing buffer {"connection_id":147342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:34:05] local.INFO: IMEI packet received {"connection_id":147342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":147342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:34:06] local.INFO: TCP Data received {"connection_id":147342,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcfbc748012d1968c0071fee10003d011426..."} 
[2026-08-01 16:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcfbc748012d1968c0071fee10003d011426..."} 
[2026-08-01 16:34:06] local.INFO: Processing buffer {"connection_id":147342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcfbc748012d1968c0071fee10003d011426..."} 
[2026-08-01 16:34:06] local.INFO: Packet analysis {"connection_id":147342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcfb"} 
[2026-08-01 16:34:06] local.INFO: Extracted packet for processing {"connection_id":147342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcfb"} 
[2026-08-01 16:34:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108998144001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785582045000,"timestamp_ms":1785582045000,"timestamp_seconds":1785582045,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcfbc748"} 
[2026-08-01 16:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:34: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-08-01 16:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-01 16:34:06] 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-08-01 16:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:34:06] 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-08-01 16:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108998144001,"66":12254,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108998144001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:34:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:34:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108998144001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":147342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:34:06] local.INFO: GPS data processed {"connection_id":147342,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:34:06] local.INFO: Acknowledgment sent {"connection_id":147342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:34:20] local.INFO: TCP Data received {"connection_id":146107,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcfc1568012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcfc1568012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:34:20] local.INFO: Processing buffer {"connection_id":146107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcfc1568012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:34:20] local.INFO: Packet analysis {"connection_id":146107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcfc"} 
[2026-08-01 16:34:20] local.INFO: Extracted packet for processing {"connection_id":146107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcfc"} 
[2026-08-01 16:34:20] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":39,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108931584001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:34:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:34:20] 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-08-01 16:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785582065000,"timestamp_ms":1785582065000,"timestamp_seconds":1785582065,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcfc1568"} 
[2026-08-01 16:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:34:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-01 16:34:20] 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-08-01 16:34:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:34:20] 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-08-01 16:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108931584001,"66":25919,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"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-08-01 16:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108931584001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:34:20] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:34:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:34:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108931584001,"power":25919,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":146107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:34:20] local.INFO: GPS data processed {"connection_id":146107,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:34:20] local.INFO: Acknowledgment sent {"connection_id":146107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:34:40] local.INFO: TCP Data received {"connection_id":147342,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcfc1950012d1968c0071fee10003d011425..."} 
[2026-08-01 16:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcfc1950012d1968c0071fee10003d011425..."} 
[2026-08-01 16:34:40] local.INFO: Processing buffer {"connection_id":147342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcfc1950012d1968c0071fee10003d011425..."} 
[2026-08-01 16:34:40] local.INFO: Packet analysis {"connection_id":147342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcfc"} 
[2026-08-01 16:34:40] local.INFO: Extracted packet for processing {"connection_id":147342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcfc"} 
[2026-08-01 16:34:40] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109003520001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:34:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:34: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-08-01 16:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785582066000,"timestamp_ms":1785582066000,"timestamp_seconds":1785582066,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcfc1950"} 
[2026-08-01 16:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-01 16:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:34:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":147342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":147342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":147342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:34:40] 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-08-01 16:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109003520001,"66":12254,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109003520001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:34:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:34:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:34:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109003520001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":147342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578034,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:34:40] local.INFO: GPS data processed {"connection_id":147342,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:34:40] local.INFO: Acknowledgment sent {"connection_id":147342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:34:44] local.INFO: TCP Data received {"connection_id":146334,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:34:44] local.INFO: Processing buffer {"connection_id":146334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:34:44] local.INFO: IMEI packet received {"connection_id":146334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":146334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:34:49] local.INFO: TCP Data received {"connection_id":146334,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:34:49] local.INFO: Processing buffer {"connection_id":146334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:34:49] local.INFO: IMEI packet received {"connection_id":146334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":146334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:34:50] local.INFO: TCP Data received {"connection_id":146334,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcfc1568012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcfc1568012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:34:50] local.INFO: Processing buffer {"connection_id":146334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcfc1568012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:34:50] local.INFO: Packet analysis {"connection_id":146334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcfc"} 
[2026-08-01 16:34:50] local.INFO: Extracted packet for processing {"connection_id":146334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcfc"} 
[2026-08-01 16:34:50] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":39,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108931584001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:34:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:34:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785582065000,"timestamp_ms":1785582065000,"timestamp_seconds":1785582065,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcfc1568"} 
[2026-08-01 16:34:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:34:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-01 16:34:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:34:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:34:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:34:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108931584001,"66":25919,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-08-01 16:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108931584001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:34:50] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:34:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:34:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108931584001,"power":25919,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":146334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:34:50] local.INFO: GPS data processed {"connection_id":146334,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:34:50] local.INFO: Acknowledgment sent {"connection_id":146334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:35:05] local.INFO: TCP Data received {"connection_id":148645,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:35:05] local.INFO: Processing buffer {"connection_id":148645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:35:05] local.INFO: IMEI packet received {"connection_id":148645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":148645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:35:10] local.INFO: TCP Data received {"connection_id":148645,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:35:10] local.INFO: Processing buffer {"connection_id":148645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:35:10] local.INFO: IMEI packet received {"connection_id":148645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":148645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:35:11] local.INFO: TCP Data received {"connection_id":148645,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcfc6b58012d1968c0071fee10003d011425..."} 
[2026-08-01 16:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcfc6b58012d1968c0071fee10003d011425..."} 
[2026-08-01 16:35:11] local.INFO: Processing buffer {"connection_id":148645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcfc6b58012d1968c0071fee10003d011425..."} 
[2026-08-01 16:35:11] local.INFO: Packet analysis {"connection_id":148645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcfc"} 
[2026-08-01 16:35:11] local.INFO: Extracted packet for processing {"connection_id":148645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcfc"} 
[2026-08-01 16:35:11] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109008896001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:35:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16: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-08-01 16:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785582087000,"timestamp_ms":1785582087000,"timestamp_seconds":1785582087,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcfc6b58"} 
[2026-08-01 16:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:35: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-08-01 16: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-01 16:35: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-08-01 16: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-08-01 16:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":148645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":148645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":148645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:35:11] 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-08-01 16:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109008896001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109008896001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:35:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:35:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:35:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109008896001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":148645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:35:11] local.INFO: GPS data processed {"connection_id":148645,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:35:11] local.INFO: Acknowledgment sent {"connection_id":148645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:35:14] local.INFO: TCP Data received {"connection_id":148645,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcfcbd60012d1968c0071fee10003d011425..."} 
[2026-08-01 16:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcfcbd60012d1968c0071fee10003d011425..."} 
[2026-08-01 16:35:14] local.INFO: Processing buffer {"connection_id":148645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcfcbd60012d1968c0071fee10003d011425..."} 
[2026-08-01 16:35:14] local.INFO: Packet analysis {"connection_id":148645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcfc"} 
[2026-08-01 16:35:14] local.INFO: Extracted packet for processing {"connection_id":148645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcfc"} 
[2026-08-01 16:35:14] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:35:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109014272001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:35:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:35: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-08-01 16:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785582108000,"timestamp_ms":1785582108000,"timestamp_seconds":1785582108,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcfcbd60"} 
[2026-08-01 16:35:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:35:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:35: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-08-01 16:35:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:35:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":148645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":148645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":148645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:35:14] 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-08-01 16:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:35:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109014272001,"66":12298,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:35:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:35:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:35:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109014272001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:35:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:35:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:35:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:35:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:35:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109014272001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:35:14] local.INFO: DEBUG: GPS processor result {"connection_id":148645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:35:14] local.INFO: GPS data processed {"connection_id":148645,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:35:14] local.INFO: Acknowledgment sent {"connection_id":148645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:35:21] local.INFO: TCP Data received {"connection_id":146334,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcfc1568012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcfc1568012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:35:21] local.INFO: Processing buffer {"connection_id":146334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcfc1568012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:35:21] local.INFO: Packet analysis {"connection_id":146334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcfc"} 
[2026-08-01 16:35:21] local.INFO: Extracted packet for processing {"connection_id":146334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcfc"} 
[2026-08-01 16:35:21] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":39,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108931584001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:35:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:35:21] 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-08-01 16:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785582065000,"timestamp_ms":1785582065000,"timestamp_seconds":1785582065,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcfc1568"} 
[2026-08-01 16:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:35:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-01 16:35:21] 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-08-01 16:35:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:35:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108931584001,"66":25919,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-08-01 16:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108931584001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:35:21] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:35:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:35:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108931584001,"power":25919,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":146334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:35:21] local.INFO: GPS data processed {"connection_id":146334,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:35:21] local.INFO: Acknowledgment sent {"connection_id":146334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:35:43] local.INFO: TCP Data received {"connection_id":147343,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:35:43] local.INFO: Processing buffer {"connection_id":147343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:35:43] local.INFO: IMEI packet received {"connection_id":147343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":147343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:35:48] local.INFO: TCP Data received {"connection_id":147343,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:35:48] local.INFO: Processing buffer {"connection_id":147343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:35:48] local.INFO: IMEI packet received {"connection_id":147343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":147343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:35:49] local.INFO: TCP Data received {"connection_id":147343,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcfc1568012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcfc1568012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:35:49] local.INFO: Processing buffer {"connection_id":147343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcfc1568012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:35:49] local.INFO: Packet analysis {"connection_id":147343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcfc"} 
[2026-08-01 16:35:49] local.INFO: Extracted packet for processing {"connection_id":147343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcfc"} 
[2026-08-01 16:35:49] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":39,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:35:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108931584001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:35:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:35:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:35:49] 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-08-01 16:35:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785582065000,"timestamp_ms":1785582065000,"timestamp_seconds":1785582065,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcfc1568"} 
[2026-08-01 16:35:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:35:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-01 16:35:49] 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-08-01 16: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-08-01 16:35:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:35:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:35:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:35:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:35:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:35:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:35:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:35:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:35:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108931584001,"66":25919,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-08-01 16:35:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:35:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:35:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108931584001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:35:49] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:35:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:35:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:35:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:35:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108931584001,"power":25919,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:35:49] local.INFO: DEBUG: GPS processor result {"connection_id":147343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:35:49] local.INFO: GPS data processed {"connection_id":147343,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:35:49] local.INFO: Acknowledgment sent {"connection_id":147343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:35:56] local.INFO: TCP Data received {"connection_id":148646,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:35:56] local.INFO: Processing buffer {"connection_id":148646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:35:56] local.INFO: IMEI packet received {"connection_id":148646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":148646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:36:00] local.INFO: TCP Data received {"connection_id":148646,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:36:00] local.INFO: Processing buffer {"connection_id":148646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:36:00] local.INFO: IMEI packet received {"connection_id":148646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":148646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:36:05] local.INFO: TCP Data received {"connection_id":148646,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:36:05] local.INFO: Processing buffer {"connection_id":148646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:36:05] local.INFO: IMEI packet received {"connection_id":148646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":148646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:36:06] local.INFO: TCP Data received {"connection_id":148646,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcfd0f68012d1968c0071fee10003d011424..."} 
[2026-08-01 16:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcfd0f68012d1968c0071fee10003d011424..."} 
[2026-08-01 16:36:06] local.INFO: Processing buffer {"connection_id":148646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcfd0f68012d1968c0071fee10003d011424..."} 
[2026-08-01 16:36:06] local.INFO: Packet analysis {"connection_id":148646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcfd"} 
[2026-08-01 16:36:06] local.INFO: Extracted packet for processing {"connection_id":148646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcfd"} 
[2026-08-01 16:36:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109019648001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785582129000,"timestamp_ms":1785582129000,"timestamp_seconds":1785582129,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcfd0f68"} 
[2026-08-01 16:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:36: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-08-01 16:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 16:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-01 16:36:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-01 16:36:06] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-01 16:36:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 16:36:06] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-7854277750134145023,"note":"Value kept but may cause issues"} 
[2026-08-01 16:36:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4829407840606283416,"note":"Value kept but may cause issues"} 
[2026-08-01 16:36:06] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390635034411284,"note":"Value kept but may cause issues"} 
[2026-08-01 16:36:06] local.WARNING: Large IO value detected {"io_id":61,"raw_value":77726675990740992,"note":"Value kept but may cause issues"} 
[2026-08-01 16:36:06] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832596,"note":"Value kept but may cause issues"} 
[2026-08-01 16:36:06] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-08-01 16:36:06] local.WARNING: Large IO value detected {"io_id":188,"raw_value":4218765313,"note":"Value kept but may cause issues"} 
[2026-08-01 16:36:06] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026045,"note":"Value kept but may cause issues"} 
[2026-08-01 16:36:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-01 16:36:06] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-01 16:36:06] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3825257848,"note":"Value kept but may cause issues"} 
[2026-08-01 16:36:06] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,120,159,107,45,192,238,61,37,10,66,25,199,1,240,222,227,188,31,4,113,205,35,104,239,46,2,36,7,39],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-01 16:36:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395816860436660224,"timestamp_seconds":4395816860436660.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 16:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:36:06] 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-08-01 16:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109019648001,"66":12004,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109019648001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:36:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:36:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109019648001,"power":12004,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":148646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:36:06] local.INFO: GPS data processed {"connection_id":148646,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:36:06] local.INFO: Acknowledgment sent {"connection_id":148646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:36:20] local.INFO: TCP Data received {"connection_id":147343,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcfc1568012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcfc1568012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:36:20] local.INFO: Processing buffer {"connection_id":147343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcfc1568012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:36:20] local.INFO: Packet analysis {"connection_id":147343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcfc"} 
[2026-08-01 16:36:20] local.INFO: Extracted packet for processing {"connection_id":147343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcfc"} 
[2026-08-01 16:36:20] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":39,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457108931584001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:36:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:36:20] 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-08-01 16:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785582065000,"timestamp_ms":1785582065000,"timestamp_seconds":1785582065,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcfc1568"} 
[2026-08-01 16:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:36:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-01 16:36:20] 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-08-01 16: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-08-01 16:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:36:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457108931584001,"66":25919,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-08-01 16:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457108931584001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:36:20] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:36:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:36:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457108931584001,"power":25919,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":147343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:36:20] local.INFO: GPS data processed {"connection_id":147343,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:36:20] local.INFO: Acknowledgment sent {"connection_id":147343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:36:37] local.INFO: TCP Data received {"connection_id":148646,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcfd6170012d1968c0071fee10003d011425..."} 
[2026-08-01 16:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcfd6170012d1968c0071fee10003d011425..."} 
[2026-08-01 16:36:37] local.INFO: Processing buffer {"connection_id":148646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcfd6170012d1968c0071fee10003d011425..."} 
[2026-08-01 16:36:37] local.INFO: Packet analysis {"connection_id":148646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcfd"} 
[2026-08-01 16:36:37] local.INFO: Extracted packet for processing {"connection_id":148646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcfd"} 
[2026-08-01 16:36:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109025024001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785582150000,"timestamp_ms":1785582150000,"timestamp_seconds":1785582150,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcfd6170"} 
[2026-08-01 16:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 16:36:37] 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-08-01 16:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:36:37] 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-08-01 16:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109025024001,"66":11961,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109025024001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:36:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:36:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109025024001,"power":11961,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":148646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578042,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:36:37] local.INFO: GPS data processed {"connection_id":148646,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:36:37] local.INFO: Acknowledgment sent {"connection_id":148646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:36:43] local.INFO: TCP Data received {"connection_id":147344,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:36:43] local.INFO: Processing buffer {"connection_id":147344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:36:43] local.INFO: IMEI packet received {"connection_id":147344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:36:43] local.INFO: IMEI acknowledgment sent {"connection_id":147344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:36:44] local.INFO: TCP Data received {"connection_id":147344,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:36:44] local.INFO: Processing buffer {"connection_id":147344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:36:44] local.INFO: IMEI packet received {"connection_id":147344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":147344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:36:48] local.INFO: TCP Data received {"connection_id":147344,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:36:48] local.INFO: Processing buffer {"connection_id":147344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:36:48] local.INFO: IMEI packet received {"connection_id":147344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":147344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:36:49] local.INFO: TCP Data received {"connection_id":147344,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd00ad30012ceb7bc00713b300001100a029..."} 
[2026-08-01 16:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd00ad30012ceb7bc00713b300001100a029..."} 
[2026-08-01 16:36:49] local.INFO: Processing buffer {"connection_id":147344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd00ad30012ceb7bc00713b300001100a029..."} 
[2026-08-01 16:36:49] local.INFO: Packet analysis {"connection_id":147344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd00"} 
[2026-08-01 16:36:49] local.INFO: Extracted packet for processing {"connection_id":147344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd00"} 
[2026-08-01 16:36:49] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":41,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109008640001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:36:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:36:49] 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-08-01 16:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785582366000,"timestamp_ms":1785582366000,"timestamp_seconds":1785582366,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd00ad30"} 
[2026-08-01 16:36:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:36:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-01 16:36:49] 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-08-01 16:36:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:36:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:36:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109008640001,"66":25854,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-08-01 16:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109008640001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:36:49] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:36:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:36:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109008640001,"power":25854,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:36:49] local.INFO: DEBUG: GPS processor result {"connection_id":147344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:36:49] local.INFO: GPS data processed {"connection_id":147344,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:36:49] local.INFO: Acknowledgment sent {"connection_id":147344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:36:59] local.INFO: TCP Data received {"connection_id":148647,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:36:59] local.INFO: Processing buffer {"connection_id":148647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:36:59] local.INFO: IMEI packet received {"connection_id":148647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":148647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:37:00] local.INFO: TCP Data received {"connection_id":148647,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:37:00] local.INFO: Processing buffer {"connection_id":148647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:37:00] local.INFO: IMEI packet received {"connection_id":148647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":148647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:37:05] local.INFO: TCP Data received {"connection_id":148647,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:37:05] local.INFO: Processing buffer {"connection_id":148647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:37:05] local.INFO: IMEI packet received {"connection_id":148647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":148647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:37:06] local.INFO: TCP Data received {"connection_id":148647,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcfdb378012d1968c0071fee10003d011426..."} 
[2026-08-01 16:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcfdb378012d1968c0071fee10003d011426..."} 
[2026-08-01 16:37:06] local.INFO: Processing buffer {"connection_id":148647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcfdb378012d1968c0071fee10003d011426..."} 
[2026-08-01 16:37:06] local.INFO: Packet analysis {"connection_id":148647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcfd"} 
[2026-08-01 16:37:06] local.INFO: Extracted packet for processing {"connection_id":148647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcfd"} 
[2026-08-01 16:37:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109030400001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785582171000,"timestamp_ms":1785582171000,"timestamp_seconds":1785582171,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcfdb378"} 
[2026-08-01 16:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:37: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-08-01 16: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":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-01 16:37:06] 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-08-01 16: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-08-01 16:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:37:06] 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-08-01 16:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109030400001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109030400001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:37:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:37:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109030400001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":148647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578044,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:37:06] local.INFO: GPS data processed {"connection_id":148647,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:37:06] local.INFO: Acknowledgment sent {"connection_id":148647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:37:20] local.INFO: TCP Data received {"connection_id":147344,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd00ad30012ceb7bc00713b300001100a029..."} 
[2026-08-01 16:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd00ad30012ceb7bc00713b300001100a029..."} 
[2026-08-01 16:37:20] local.INFO: Processing buffer {"connection_id":147344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd00ad30012ceb7bc00713b300001100a029..."} 
[2026-08-01 16:37:20] local.INFO: Packet analysis {"connection_id":147344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd00"} 
[2026-08-01 16:37:20] local.INFO: Extracted packet for processing {"connection_id":147344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd00"} 
[2026-08-01 16:37:20] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":41,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109008640001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:37:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:37:20] 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-08-01 16:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785582366000,"timestamp_ms":1785582366000,"timestamp_seconds":1785582366,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd00ad30"} 
[2026-08-01 16:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:37:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-01 16:37:20] 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-08-01 16: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-08-01 16:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:37:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109008640001,"66":25854,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-08-01 16:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109008640001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:37:20] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:37:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:37:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109008640001,"power":25854,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":147344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:37:20] local.INFO: GPS data processed {"connection_id":147344,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:37:20] local.INFO: Acknowledgment sent {"connection_id":147344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:37:37] local.INFO: TCP Data received {"connection_id":148647,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcfe0580012d1968c0071fee10003d011425..."} 
[2026-08-01 16:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcfe0580012d1968c0071fee10003d011425..."} 
[2026-08-01 16:37:37] local.INFO: Processing buffer {"connection_id":148647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcfe0580012d1968c0071fee10003d011425..."} 
[2026-08-01 16:37:37] local.INFO: Packet analysis {"connection_id":148647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcfe"} 
[2026-08-01 16:37:37] local.INFO: Extracted packet for processing {"connection_id":148647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcfe"} 
[2026-08-01 16:37:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109035776001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785582192000,"timestamp_ms":1785582192000,"timestamp_seconds":1785582192,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcfe0580"} 
[2026-08-01 16:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:37:37] 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-08-01 16: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-08-01 16:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:37:37] 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-08-01 16:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109035776001,"66":12298,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109035776001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:37:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:37:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109035776001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":148647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578046,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:37:37] local.INFO: GPS data processed {"connection_id":148647,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:37:37] local.INFO: Acknowledgment sent {"connection_id":148647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:37:44] local.INFO: TCP Data received {"connection_id":147345,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:37:44] local.INFO: Processing buffer {"connection_id":147345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:37:44] local.INFO: IMEI packet received {"connection_id":147345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":147345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:37:48] local.INFO: TCP Data received {"connection_id":147345,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:37:48] local.INFO: Processing buffer {"connection_id":147345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:37:48] local.INFO: IMEI packet received {"connection_id":147345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":147345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:37:49] local.INFO: TCP Data received {"connection_id":147345,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd00ad30012ceb7bc00713b300001100a029..."} 
[2026-08-01 16:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd00ad30012ceb7bc00713b300001100a029..."} 
[2026-08-01 16:37:49] local.INFO: Processing buffer {"connection_id":147345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd00ad30012ceb7bc00713b300001100a029..."} 
[2026-08-01 16:37:49] local.INFO: Packet analysis {"connection_id":147345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd00"} 
[2026-08-01 16:37:49] local.INFO: Extracted packet for processing {"connection_id":147345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd00"} 
[2026-08-01 16:37:49] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":41,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109008640001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:37:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:37:49] 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-08-01 16:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785582366000,"timestamp_ms":1785582366000,"timestamp_seconds":1785582366,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd00ad30"} 
[2026-08-01 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-08-01 16:37:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-01 16:37:49] 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-08-01 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-08-01 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-08-01 16:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109008640001,"66":25854,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-08-01 16:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109008640001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:37:49] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:37:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:37:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109008640001,"power":25854,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":147345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:37:49] local.INFO: GPS data processed {"connection_id":147345,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:37:49] local.INFO: Acknowledgment sent {"connection_id":147345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:38:00] local.INFO: TCP Data received {"connection_id":146108,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:38:00] local.INFO: Processing buffer {"connection_id":146108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:38:00] local.INFO: IMEI packet received {"connection_id":146108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":146108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:38:02] local.INFO: TCP Data received {"connection_id":146108,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:38:02] local.INFO: Processing buffer {"connection_id":146108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:38:02] local.INFO: IMEI packet received {"connection_id":146108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":146108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:38:05] local.INFO: TCP Data received {"connection_id":146108,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:38:05] local.INFO: Processing buffer {"connection_id":146108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:38:05] local.INFO: IMEI packet received {"connection_id":146108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":146108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:38:06] local.INFO: TCP Data received {"connection_id":146108,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcfe5788012d1968c0071fee10003d011425..."} 
[2026-08-01 16:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcfe5788012d1968c0071fee10003d011425..."} 
[2026-08-01 16:38:06] local.INFO: Processing buffer {"connection_id":146108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcfe5788012d1968c0071fee10003d011425..."} 
[2026-08-01 16:38:06] local.INFO: Packet analysis {"connection_id":146108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcfe"} 
[2026-08-01 16:38:06] local.INFO: Extracted packet for processing {"connection_id":146108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcfe"} 
[2026-08-01 16:38:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109041152001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785582213000,"timestamp_ms":1785582213000,"timestamp_seconds":1785582213,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcfe5788"} 
[2026-08-01 16:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:38: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-08-01 16:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 16:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-01 16:38:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-01 16:38:06] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-01 16:38:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 16:38:06] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-7854277750134145023,"note":"Value kept but may cause issues"} 
[2026-08-01 16:38:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4829047063353419416,"note":"Value kept but may cause issues"} 
[2026-08-01 16:38:06] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390635034411284,"note":"Value kept but may cause issues"} 
[2026-08-01 16:38:06] local.WARNING: Large IO value detected {"io_id":61,"raw_value":77727775502368768,"note":"Value kept but may cause issues"} 
[2026-08-01 16:38:06] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832597,"note":"Value kept but may cause issues"} 
[2026-08-01 16:38:06] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3449195247100625102,"note":"Value kept but may cause issues"} 
[2026-08-01 16:38:06] local.WARNING: Large IO value detected {"io_id":188,"raw_value":4240269313,"note":"Value kept but may cause issues"} 
[2026-08-01 16:38:06] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026045,"note":"Value kept but may cause issues"} 
[2026-08-01 16:38:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-01 16:38:06] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-01 16:38:06] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-08-01 16:38:06] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,120,159,179,45,192,238,61,38,10,66,97,37,15,1,240,228,227,188,31,4,113,205,107,104,239,47,2,36,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-01 16:38:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395816860436660224,"timestamp_seconds":4395816860436660.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 16:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:38:06] 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-08-01 16:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109041152001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109041152001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:38:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:38:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109041152001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":146108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:38:06] local.INFO: GPS data processed {"connection_id":146108,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:38:06] local.INFO: Acknowledgment sent {"connection_id":146108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:38:10] local.INFO: TCP Data received {"connection_id":146108,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcfea990012d1968c0071fee10003d011426..."} 
[2026-08-01 16:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcfea990012d1968c0071fee10003d011426..."} 
[2026-08-01 16:38:10] local.INFO: Processing buffer {"connection_id":146108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcfea990012d1968c0071fee10003d011426..."} 
[2026-08-01 16:38:10] local.INFO: Packet analysis {"connection_id":146108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcfe"} 
[2026-08-01 16:38:10] local.INFO: Extracted packet for processing {"connection_id":146108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcfe"} 
[2026-08-01 16:38:10] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109046528001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16: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-08-01 16:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785582234000,"timestamp_ms":1785582234000,"timestamp_seconds":1785582234,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcfea990"} 
[2026-08-01 16:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:38: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-08-01 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:38: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-08-01 16: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-08-01 16:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16: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-08-01 16:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109046528001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109046528001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:38:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:38:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109046528001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":146108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578049,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:38:10] local.INFO: GPS data processed {"connection_id":146108,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:38:10] local.INFO: Acknowledgment sent {"connection_id":146108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:38:20] local.INFO: TCP Data received {"connection_id":147345,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd00ad30012ceb7bc00713b300001100a029..."} 
[2026-08-01 16:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd00ad30012ceb7bc00713b300001100a029..."} 
[2026-08-01 16:38:20] local.INFO: Processing buffer {"connection_id":147345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd00ad30012ceb7bc00713b300001100a029..."} 
[2026-08-01 16:38:20] local.INFO: Packet analysis {"connection_id":147345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd00"} 
[2026-08-01 16:38:20] local.INFO: Extracted packet for processing {"connection_id":147345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd00"} 
[2026-08-01 16:38:20] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":41,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109008640001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:38:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:38:20] 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-08-01 16:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785582366000,"timestamp_ms":1785582366000,"timestamp_seconds":1785582366,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd00ad30"} 
[2026-08-01 16:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:38:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-01 16:38:20] 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-08-01 16:38:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:38:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109008640001,"66":25854,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-08-01 16:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109008640001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:38:20] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:38:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:38:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109008640001,"power":25854,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":147345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:38:20] local.INFO: GPS data processed {"connection_id":147345,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:38:20] local.INFO: Acknowledgment sent {"connection_id":147345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:38:41] local.INFO: TCP Data received {"connection_id":146108,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcfefb98012d1968c0071fee10003d011425..."} 
[2026-08-01 16:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcfefb98012d1968c0071fee10003d011425..."} 
[2026-08-01 16:38:41] local.INFO: Processing buffer {"connection_id":146108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcfefb98012d1968c0071fee10003d011425..."} 
[2026-08-01 16:38:41] local.INFO: Packet analysis {"connection_id":146108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcfe"} 
[2026-08-01 16:38:41] local.INFO: Extracted packet for processing {"connection_id":146108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcfe"} 
[2026-08-01 16:38:41] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109051904001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16: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-08-01 16:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785582255000,"timestamp_ms":1785582255000,"timestamp_seconds":1785582255,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcfefb98"} 
[2026-08-01 16:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:38: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-08-01 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:38: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-08-01 16: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-08-01 16:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":146108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":146108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":146108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:38: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-08-01 16:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109051904001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109051904001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:38:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:38:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109051904001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":146108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:38:41] local.INFO: GPS data processed {"connection_id":146108,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:38:41] local.INFO: Acknowledgment sent {"connection_id":146108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:38:44] local.INFO: TCP Data received {"connection_id":146109,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:38:44] local.INFO: Processing buffer {"connection_id":146109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:38:44] local.INFO: IMEI packet received {"connection_id":146109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":146109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:38:49] local.INFO: TCP Data received {"connection_id":146109,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:38:49] local.INFO: Processing buffer {"connection_id":146109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:38:49] local.INFO: IMEI packet received {"connection_id":146109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":146109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:38:50] local.INFO: TCP Data received {"connection_id":146109,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd00ad30012ceb7bc00713b300001100a029..."} 
[2026-08-01 16:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd00ad30012ceb7bc00713b300001100a029..."} 
[2026-08-01 16:38:50] local.INFO: Processing buffer {"connection_id":146109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd00ad30012ceb7bc00713b300001100a029..."} 
[2026-08-01 16:38:50] local.INFO: Packet analysis {"connection_id":146109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd00"} 
[2026-08-01 16:38:50] local.INFO: Extracted packet for processing {"connection_id":146109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd00"} 
[2026-08-01 16:38:50] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":41,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109008640001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:38:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785582366000,"timestamp_ms":1785582366000,"timestamp_seconds":1785582366,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd00ad30"} 
[2026-08-01 16:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-01 16:38:50] 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-08-01 16:38:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109008640001,"66":25854,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"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-08-01 16:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109008640001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:38:50] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:38:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:38:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109008640001,"power":25854,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":146109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:38:50] local.INFO: GPS data processed {"connection_id":146109,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:38:50] local.INFO: Acknowledgment sent {"connection_id":146109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:39:00] local.INFO: TCP Data received {"connection_id":148648,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:39:00] local.INFO: Processing buffer {"connection_id":148648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:39:00] local.INFO: IMEI packet received {"connection_id":148648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":148648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:39:05] local.INFO: TCP Data received {"connection_id":148648,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:39:05] local.INFO: Processing buffer {"connection_id":148648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:39:05] local.INFO: IMEI packet received {"connection_id":148648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":148648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:39:06] local.INFO: TCP Data received {"connection_id":148648,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcff4da0012d1968c0071fee10003d011424..."} 
[2026-08-01 16:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcff4da0012d1968c0071fee10003d011424..."} 
[2026-08-01 16:39:06] local.INFO: Processing buffer {"connection_id":148648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcff4da0012d1968c0071fee10003d011424..."} 
[2026-08-01 16:39:06] local.INFO: Packet analysis {"connection_id":148648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcff"} 
[2026-08-01 16:39:06] local.INFO: Extracted packet for processing {"connection_id":148648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcff"} 
[2026-08-01 16:39:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109057280001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785582276000,"timestamp_ms":1785582276000,"timestamp_seconds":1785582276,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcff4da0"} 
[2026-08-01 16:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:39: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-08-01 16:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:39:06] 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-08-01 16:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109057280001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109057280001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:39:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:39:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109057280001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":148648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:39:06] local.INFO: GPS data processed {"connection_id":148648,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:39:06] local.INFO: Acknowledgment sent {"connection_id":148648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:39:22] local.INFO: TCP Data received {"connection_id":146109,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd00ad30012ceb7bc00713b300001100a029..."} 
[2026-08-01 16:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd00ad30012ceb7bc00713b300001100a029..."} 
[2026-08-01 16:39:22] local.INFO: Processing buffer {"connection_id":146109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd00ad30012ceb7bc00713b300001100a029..."} 
[2026-08-01 16:39:22] local.INFO: Packet analysis {"connection_id":146109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd00"} 
[2026-08-01 16:39:22] local.INFO: Extracted packet for processing {"connection_id":146109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd00"} 
[2026-08-01 16:39:22] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":41,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109008640001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:39:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:39:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785582366000,"timestamp_ms":1785582366000,"timestamp_seconds":1785582366,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd00ad30"} 
[2026-08-01 16:39:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:39:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-01 16:39:22] 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-08-01 16:39:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:39:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:39:22] 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-08-01 16:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109008640001,"66":25854,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"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-08-01 16:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109008640001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:39:22] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:39:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:39:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109008640001,"power":25854,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":146109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:39:22] local.INFO: GPS data processed {"connection_id":146109,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:39:22] local.INFO: Acknowledgment sent {"connection_id":146109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:39:37] local.INFO: TCP Data received {"connection_id":148648,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcff9fa8012d1968c0071fee10003d011425..."} 
[2026-08-01 16:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcff9fa8012d1968c0071fee10003d011425..."} 
[2026-08-01 16:39:37] local.INFO: Processing buffer {"connection_id":148648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcff9fa8012d1968c0071fee10003d011425..."} 
[2026-08-01 16:39:37] local.INFO: Packet analysis {"connection_id":148648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcff"} 
[2026-08-01 16:39:37] local.INFO: Extracted packet for processing {"connection_id":148648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcff"} 
[2026-08-01 16:39:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109062656001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785582297000,"timestamp_ms":1785582297000,"timestamp_seconds":1785582297,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcff9fa8"} 
[2026-08-01 16:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:39:37] 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-08-01 16:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:39:37] 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-08-01 16:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109062656001,"66":12298,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109062656001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:39:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:39:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109062656001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":148648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:39:37] local.INFO: GPS data processed {"connection_id":148648,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:39:37] local.INFO: Acknowledgment sent {"connection_id":148648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:39:44] local.INFO: TCP Data received {"connection_id":147346,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:39:44] local.INFO: Processing buffer {"connection_id":147346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:39:44] local.INFO: IMEI packet received {"connection_id":147346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":147346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:39:48] local.INFO: TCP Data received {"connection_id":147346,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:39:48] local.INFO: Processing buffer {"connection_id":147346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:39:48] local.INFO: IMEI packet received {"connection_id":147346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":147346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:39:49] local.INFO: TCP Data received {"connection_id":147346,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd00ad30012ceb7bc00713b300001100a029..."} 
[2026-08-01 16:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd00ad30012ceb7bc00713b300001100a029..."} 
[2026-08-01 16:39:49] local.INFO: Processing buffer {"connection_id":147346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd00ad30012ceb7bc00713b300001100a029..."} 
[2026-08-01 16:39:49] local.INFO: Packet analysis {"connection_id":147346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd00"} 
[2026-08-01 16:39:49] local.INFO: Extracted packet for processing {"connection_id":147346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd00"} 
[2026-08-01 16:39:49] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":41,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109008640001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:39:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:39:49] 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-08-01 16:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785582366000,"timestamp_ms":1785582366000,"timestamp_seconds":1785582366,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd00ad30"} 
[2026-08-01 16:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:39:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-01 16:39:49] 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-08-01 16:39:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:39:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109008640001,"66":25854,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-08-01 16:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109008640001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:39:49] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:39:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:39:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109008640001,"power":25854,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":147346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:39:49] local.INFO: GPS data processed {"connection_id":147346,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:39:49] local.INFO: Acknowledgment sent {"connection_id":147346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:40:00] local.INFO: TCP Data received {"connection_id":146335,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:40:00] local.INFO: Processing buffer {"connection_id":146335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:40:00] local.INFO: IMEI packet received {"connection_id":146335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":146335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:40:05] local.INFO: TCP Data received {"connection_id":146335,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:40:05] local.INFO: Processing buffer {"connection_id":146335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:40:05] local.INFO: IMEI packet received {"connection_id":146335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":146335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:40:06] local.INFO: TCP Data received {"connection_id":146335,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbcfff1b0012d1968c0071fee10003d011425..."} 
[2026-08-01 16:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbcfff1b0012d1968c0071fee10003d011425..."} 
[2026-08-01 16:40:06] local.INFO: Processing buffer {"connection_id":146335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbcfff1b0012d1968c0071fee10003d011425..."} 
[2026-08-01 16:40:06] local.INFO: Packet analysis {"connection_id":146335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbcff"} 
[2026-08-01 16:40:06] local.INFO: Extracted packet for processing {"connection_id":146335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbcff"} 
[2026-08-01 16:40:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109068032001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785582318000,"timestamp_ms":1785582318000,"timestamp_seconds":1785582318,"priority":1,"record_length":96,"hex_timestamp":"0000019fbcfff1b0"} 
[2026-08-01 16:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:40: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-08-01 16:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 16:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-01 16:40:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-01 16:40:06] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-01 16:40:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 16:40:06] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-7854277750134145023,"note":"Value kept but may cause issues"} 
[2026-08-01 16:40:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4828596091787339416,"note":"Value kept but may cause issues"} 
[2026-08-01 16:40:06] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390635034411284,"note":"Value kept but may cause issues"} 
[2026-08-01 16:40:06] local.WARNING: Large IO value detected {"io_id":61,"raw_value":77728875013996544,"note":"Value kept but may cause issues"} 
[2026-08-01 16:40:06] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832597,"note":"Value kept but may cause issues"} 
[2026-08-01 16:40:06] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-08-01 16:40:06] local.WARNING: Large IO value detected {"io_id":188,"raw_value":4267149313,"note":"Value kept but may cause issues"} 
[2026-08-01 16:40:06] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026045,"note":"Value kept but may cause issues"} 
[2026-08-01 16:40:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-01 16:40:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2147560729,"note":"Value kept but may cause issues"} 
[2026-08-01 16:40:06] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-01 16:40:06] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,120,159,77,45,192,238,61,36,10,66,251,37,169,1,240,255,227,188,31,4,113,205,5,104,239,48,2,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-01 16:40:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395816860436660224,"timestamp_seconds":4395816860436660.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 16:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:40:06] 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-08-01 16:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109068032001,"66":12298,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109068032001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:40:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:40:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109068032001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":146335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:40:06] local.INFO: GPS data processed {"connection_id":146335,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:40:06] local.INFO: Acknowledgment sent {"connection_id":146335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:40:20] local.INFO: TCP Data received {"connection_id":147346,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd00ad30012ceb7bc00713b300001100a029..."} 
[2026-08-01 16:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd00ad30012ceb7bc00713b300001100a029..."} 
[2026-08-01 16:40:20] local.INFO: Processing buffer {"connection_id":147346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd00ad30012ceb7bc00713b300001100a029..."} 
[2026-08-01 16:40:20] local.INFO: Packet analysis {"connection_id":147346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd00"} 
[2026-08-01 16:40:20] local.INFO: Extracted packet for processing {"connection_id":147346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd00"} 
[2026-08-01 16:40:20] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":41,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109008640001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:40:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:40:20] 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-08-01 16:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785582366000,"timestamp_ms":1785582366000,"timestamp_seconds":1785582366,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd00ad30"} 
[2026-08-01 16:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:40:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-01 16:40:20] 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-08-01 16: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-08-01 16:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:40:20] 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-08-01 16:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109008640001,"66":25854,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-08-01 16:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109008640001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:40:20] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:40:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:40:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109008640001,"power":25854,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":147346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:40:20] local.INFO: GPS data processed {"connection_id":147346,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:40:20] local.INFO: Acknowledgment sent {"connection_id":147346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:40:37] local.INFO: TCP Data received {"connection_id":146335,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd037808012d1968c0071fee10003d011423..."} 
[2026-08-01 16:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd037808012d1968c0071fee10003d011423..."} 
[2026-08-01 16:40:37] local.INFO: Processing buffer {"connection_id":146335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd037808012d1968c0071fee10003d011423..."} 
[2026-08-01 16:40:37] local.INFO: Packet analysis {"connection_id":146335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd03"} 
[2026-08-01 16:40:37] local.INFO: Extracted packet for processing {"connection_id":146335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd03"} 
[2026-08-01 16:40:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109127168001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785582549000,"timestamp_ms":1785582549000,"timestamp_seconds":1785582549,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd037808"} 
[2026-08-01 16:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:40:37] 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-08-01 16:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:40:37] 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-08-01 16:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109127168001,"66":12265,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109127168001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:40:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:40:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109127168001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":146335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:40:37] local.INFO: GPS data processed {"connection_id":146335,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:40:37] local.INFO: Acknowledgment sent {"connection_id":146335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:40:43] local.INFO: TCP Data received {"connection_id":146110,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:40:43] local.INFO: Processing buffer {"connection_id":146110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:40:43] local.INFO: IMEI packet received {"connection_id":146110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":146110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:40:49] local.INFO: TCP Data received {"connection_id":146110,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:40:49] local.INFO: Processing buffer {"connection_id":146110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:40:49] local.INFO: IMEI packet received {"connection_id":146110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":146110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:40:50] local.INFO: TCP Data received {"connection_id":146110,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd00ad30012ceb7bc00713b300001100a029..."} 
[2026-08-01 16:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd00ad30012ceb7bc00713b300001100a029..."} 
[2026-08-01 16:40:50] local.INFO: Processing buffer {"connection_id":146110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd00ad30012ceb7bc00713b300001100a029..."} 
[2026-08-01 16:40:50] local.INFO: Packet analysis {"connection_id":146110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd00"} 
[2026-08-01 16:40:50] local.INFO: Extracted packet for processing {"connection_id":146110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd00"} 
[2026-08-01 16:40:50] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":41,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109008640001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:40:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:40:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785582366000,"timestamp_ms":1785582366000,"timestamp_seconds":1785582366,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd00ad30"} 
[2026-08-01 16:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:40:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-01 16:40:50] 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-08-01 16:40:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:40:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109008640001,"66":25854,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"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-08-01 16:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109008640001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:40:50] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:40:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:40:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109008640001,"power":25854,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":146110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:40:50] local.INFO: GPS data processed {"connection_id":146110,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:40:50] local.INFO: Acknowledgment sent {"connection_id":146110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:41:00] local.INFO: TCP Data received {"connection_id":147347,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147347,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:41:00] local.INFO: Processing buffer {"connection_id":147347,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:41:00] local.INFO: IMEI packet received {"connection_id":147347,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":147347,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:41:05] local.INFO: TCP Data received {"connection_id":147347,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147347,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:41:05] local.INFO: Processing buffer {"connection_id":147347,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:41:05] local.INFO: IMEI packet received {"connection_id":147347,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":147347,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:41:06] local.INFO: TCP Data received {"connection_id":147347,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd03ca10012d1968c0071fee10003d011425..."} 
[2026-08-01 16:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd03ca10012d1968c0071fee10003d011425..."} 
[2026-08-01 16:41:06] local.INFO: Processing buffer {"connection_id":147347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd03ca10012d1968c0071fee10003d011425..."} 
[2026-08-01 16:41:06] local.INFO: Packet analysis {"connection_id":147347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd03"} 
[2026-08-01 16:41:06] local.INFO: Extracted packet for processing {"connection_id":147347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd03"} 
[2026-08-01 16:41:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109132544001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785582570000,"timestamp_ms":1785582570000,"timestamp_seconds":1785582570,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd03ca10"} 
[2026-08-01 16:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:41: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-08-01 16:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-01 16:41:06] 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-08-01 16:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:41:06] 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-08-01 16:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109132544001,"66":12254,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109132544001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:41:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:41:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109132544001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":147347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:41:06] local.INFO: GPS data processed {"connection_id":147347,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:41:06] local.INFO: Acknowledgment sent {"connection_id":147347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:41:21] local.INFO: TCP Data received {"connection_id":146110,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd00ad30012ceb7bc00713b300001100a029..."} 
[2026-08-01 16:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd00ad30012ceb7bc00713b300001100a029..."} 
[2026-08-01 16:41:21] local.INFO: Processing buffer {"connection_id":146110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd00ad30012ceb7bc00713b300001100a029..."} 
[2026-08-01 16:41:21] local.INFO: Packet analysis {"connection_id":146110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd00"} 
[2026-08-01 16:41:21] local.INFO: Extracted packet for processing {"connection_id":146110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd00"} 
[2026-08-01 16:41:21] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":41,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109008640001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:41:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:41:21] 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-08-01 16:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785582366000,"timestamp_ms":1785582366000,"timestamp_seconds":1785582366,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd00ad30"} 
[2026-08-01 16:41:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:41:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-01 16:41:21] 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-08-01 16:41:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:41:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:41:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109008640001,"66":25854,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"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-08-01 16:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109008640001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:41:21] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:41:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:41:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109008640001,"power":25854,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":146110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:41:21] local.INFO: GPS data processed {"connection_id":146110,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:41:21] local.INFO: Acknowledgment sent {"connection_id":146110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:41:37] local.INFO: TCP Data received {"connection_id":147347,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd041c18012d1968c0071fee10003d011424..."} 
[2026-08-01 16:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd041c18012d1968c0071fee10003d011424..."} 
[2026-08-01 16:41:37] local.INFO: Processing buffer {"connection_id":147347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd041c18012d1968c0071fee10003d011424..."} 
[2026-08-01 16:41:37] local.INFO: Packet analysis {"connection_id":147347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd04"} 
[2026-08-01 16:41:37] local.INFO: Extracted packet for processing {"connection_id":147347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd04"} 
[2026-08-01 16:41:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 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-08-01 16:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109137920001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785582591000,"timestamp_ms":1785582591000,"timestamp_seconds":1785582591,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd041c18"} 
[2026-08-01 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-08-01 16:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-01 16:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 16:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:41:37] 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-08-01 16:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109137920001,"66":12298,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109137920001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:41:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:41:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109137920001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":147347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:41:37] local.INFO: GPS data processed {"connection_id":147347,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:41:37] local.INFO: Acknowledgment sent {"connection_id":147347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:41:43] local.INFO: TCP Data received {"connection_id":146111,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:41:43] local.INFO: Processing buffer {"connection_id":146111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:41:43] local.INFO: IMEI packet received {"connection_id":146111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":146111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:41:44] local.INFO: TCP Data received {"connection_id":146111,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:41:44] local.INFO: Processing buffer {"connection_id":146111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:41:44] local.INFO: IMEI packet received {"connection_id":146111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":146111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:41:48] local.INFO: TCP Data received {"connection_id":146111,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:41:48] local.INFO: Processing buffer {"connection_id":146111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:41:48] local.INFO: IMEI packet received {"connection_id":146111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":146111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:41:49] local.INFO: TCP Data received {"connection_id":146111,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd0544f8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd0544f8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:41:49] local.INFO: Processing buffer {"connection_id":146111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd0544f8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:41:49] local.INFO: Packet analysis {"connection_id":146111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd05"} 
[2026-08-01 16:41:49] local.INFO: Extracted packet for processing {"connection_id":146111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd05"} 
[2026-08-01 16:41:49] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":40,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:41:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109085696001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:41:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:41:49] 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-08-01 16:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785582667000,"timestamp_ms":1785582667000,"timestamp_seconds":1785582667,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd0544f8"} 
[2026-08-01 16:41:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:41:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-01 16:41:49] 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-08-01 16: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-08-01 16:41:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:41:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:41:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109085696001,"66":25778,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-08-01 16:41:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:41:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:41:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109085696001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:41:49] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:41:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:41:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:41:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:41:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109085696001,"power":25778,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":146111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:41:49] local.INFO: GPS data processed {"connection_id":146111,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:41:49] local.INFO: Acknowledgment sent {"connection_id":146111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:42:05] local.INFO: TCP Data received {"connection_id":147348,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:42:05] local.INFO: Processing buffer {"connection_id":147348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:42:05] local.INFO: IMEI packet received {"connection_id":147348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":147348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:42:10] local.INFO: TCP Data received {"connection_id":147348,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:42:10] local.INFO: Processing buffer {"connection_id":147348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:42:10] local.INFO: IMEI packet received {"connection_id":147348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":147348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:42:11] local.INFO: TCP Data received {"connection_id":147348,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd046e20012d1968c0071fee10003d011425..."} 
[2026-08-01 16:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd046e20012d1968c0071fee10003d011425..."} 
[2026-08-01 16:42:11] local.INFO: Processing buffer {"connection_id":147348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd046e20012d1968c0071fee10003d011425..."} 
[2026-08-01 16:42:11] local.INFO: Packet analysis {"connection_id":147348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd04"} 
[2026-08-01 16:42:11] local.INFO: Extracted packet for processing {"connection_id":147348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd04"} 
[2026-08-01 16:42:11] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 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-08-01 16:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109143296001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16: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-08-01 16:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785582612000,"timestamp_ms":1785582612000,"timestamp_seconds":1785582612,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd046e20"} 
[2026-08-01 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-08-01 16:42: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-08-01 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 16:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-01 16:42:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-01 16:42:11] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-01 16:42:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 16:42:11] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-7854277750134145023,"note":"Value kept but may cause issues"} 
[2026-08-01 16:42:11] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4827333371402315416,"note":"Value kept but may cause issues"} 
[2026-08-01 16:42:11] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":4097,"corrected_to":0} 
[2026-08-01 16:42:11] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390635034411284,"note":"Value kept but may cause issues"} 
[2026-08-01 16:42:11] local.WARNING: Large IO value detected {"io_id":61,"raw_value":77726675990740992,"note":"Value kept but may cause issues"} 
[2026-08-01 16:42:11] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832597,"note":"Value kept but may cause issues"} 
[2026-08-01 16:42:11] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-08-01 16:42:11] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026045,"note":"Value kept but may cause issues"} 
[2026-08-01 16:42:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-01 16:42:11] local.WARNING: Large IO value detected {"io_id":129,"raw_value":4026608921,"note":"Value kept but may cause issues"} 
[2026-08-01 16:42:11] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-01 16:42:11] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3909143928,"note":"Value kept but may cause issues"} 
[2026-08-01 16:42:11] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,120,159,202,45,192,238,61,37,10,66,35,38,1,240,255,227,189,31,4,113,205,129,104,239,47,2,36,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":202,"original":4097,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-01 16:42:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395816856141692928,"timestamp_seconds":4395816856141693.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 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-08-01 16:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":147348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":147348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":147348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:42:11] 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-08-01 16:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109143296001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109143296001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:42:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:42:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109143296001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":147348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:42:11] local.INFO: GPS data processed {"connection_id":147348,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:42:11] local.INFO: Acknowledgment sent {"connection_id":147348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:42:14] local.INFO: TCP Data received {"connection_id":147348,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd04c028012d1968c0071fee10003d011427..."} 
[2026-08-01 16:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd04c028012d1968c0071fee10003d011427..."} 
[2026-08-01 16:42:14] local.INFO: Processing buffer {"connection_id":147348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd04c028012d1968c0071fee10003d011427..."} 
[2026-08-01 16:42:14] local.INFO: Packet analysis {"connection_id":147348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd04"} 
[2026-08-01 16:42:14] local.INFO: Extracted packet for processing {"connection_id":147348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd04"} 
[2026-08-01 16:42:14] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109148672001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:42:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:42: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-08-01 16:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785582633000,"timestamp_ms":1785582633000,"timestamp_seconds":1785582633,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd04c028"} 
[2026-08-01 16:42:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:42:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:42: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-08-01 16:42:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:42:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":147348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":147348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":147348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:42:14] 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-08-01 16:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109148672001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109148672001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:42:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:42:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:42:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109148672001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":147348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:42:14] local.INFO: GPS data processed {"connection_id":147348,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:42:14] local.INFO: Acknowledgment sent {"connection_id":147348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:42:20] local.INFO: TCP Data received {"connection_id":146111,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd0544f8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd0544f8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:42:20] local.INFO: Processing buffer {"connection_id":146111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd0544f8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:42:20] local.INFO: Packet analysis {"connection_id":146111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd05"} 
[2026-08-01 16:42:20] local.INFO: Extracted packet for processing {"connection_id":146111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd05"} 
[2026-08-01 16:42:20] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":40,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109085696001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:42:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:42:20] 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-08-01 16:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785582667000,"timestamp_ms":1785582667000,"timestamp_seconds":1785582667,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd0544f8"} 
[2026-08-01 16:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-01 16:42:20] 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-08-01 16: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-08-01 16:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:42:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109085696001,"66":25778,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-08-01 16:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109085696001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:42:20] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:42:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:42:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109085696001,"power":25778,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":146111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:42:20] local.INFO: GPS data processed {"connection_id":146111,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:42:20] local.INFO: Acknowledgment sent {"connection_id":146111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:42:49] local.INFO: TCP Data received {"connection_id":146336,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:42:49] local.INFO: Processing buffer {"connection_id":146336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:42:49] local.INFO: IMEI packet received {"connection_id":146336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":146336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:42:54] local.INFO: TCP Data received {"connection_id":146336,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:42:54] local.INFO: Processing buffer {"connection_id":146336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:42:54] local.INFO: IMEI packet received {"connection_id":146336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":146336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:42:55] local.INFO: TCP Data received {"connection_id":146336,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd0544f8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd0544f8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:42:55] local.INFO: Processing buffer {"connection_id":146336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd0544f8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:42:55] local.INFO: Packet analysis {"connection_id":146336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd05"} 
[2026-08-01 16:42:55] local.INFO: Extracted packet for processing {"connection_id":146336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd05"} 
[2026-08-01 16:42:55] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":40,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109085696001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:42:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:42:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785582667000,"timestamp_ms":1785582667000,"timestamp_seconds":1785582667,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd0544f8"} 
[2026-08-01 16:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:42:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-01 16:42:55] 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-08-01 16:42:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":146336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":146336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":146336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109085696001,"66":25778,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-08-01 16:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109085696001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:42:55] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:42:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:42:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109085696001,"power":25778,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":146336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:42:55] local.INFO: GPS data processed {"connection_id":146336,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:42:55] local.INFO: Acknowledgment sent {"connection_id":146336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:42:59] local.INFO: TCP Data received {"connection_id":146336,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd0544f8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd0544f8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:42:59] local.INFO: Processing buffer {"connection_id":146336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd0544f8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:42:59] local.INFO: Packet analysis {"connection_id":146336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd05"} 
[2026-08-01 16:42:59] local.INFO: Extracted packet for processing {"connection_id":146336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd05"} 
[2026-08-01 16:42:59] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":40,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109085696001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:42:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:42:59] 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-08-01 16:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785582667000,"timestamp_ms":1785582667000,"timestamp_seconds":1785582667,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd0544f8"} 
[2026-08-01 16:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:42: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-08-01 16: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-01 16:42:59] 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-08-01 16: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-08-01 16:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":146336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":146336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":146336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:42: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-08-01 16:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109085696001,"66":25778,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-08-01 16:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109085696001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:42:59] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:42:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:42:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109085696001,"power":25778,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":146336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:42:59] local.INFO: GPS data processed {"connection_id":146336,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:42:59] local.INFO: Acknowledgment sent {"connection_id":146336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:43:00] local.INFO: TCP Data received {"connection_id":147349,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:43:00] local.INFO: Processing buffer {"connection_id":147349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:43:00] local.INFO: IMEI packet received {"connection_id":147349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":147349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:43:05] local.INFO: TCP Data received {"connection_id":147349,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:43:05] local.INFO: Processing buffer {"connection_id":147349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:43:05] local.INFO: IMEI packet received {"connection_id":147349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":147349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:43:06] local.INFO: TCP Data received {"connection_id":147349,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd051230012d1968c0071fee10003d011426..."} 
[2026-08-01 16:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd051230012d1968c0071fee10003d011426..."} 
[2026-08-01 16:43:06] local.INFO: Processing buffer {"connection_id":147349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd051230012d1968c0071fee10003d011426..."} 
[2026-08-01 16:43:06] local.INFO: Packet analysis {"connection_id":147349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd05"} 
[2026-08-01 16:43:06] local.INFO: Extracted packet for processing {"connection_id":147349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd05"} 
[2026-08-01 16:43:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109154048001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785582654000,"timestamp_ms":1785582654000,"timestamp_seconds":1785582654,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd051230"} 
[2026-08-01 16:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:43: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-08-01 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16: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-08-01 16:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:43:06] 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-08-01 16:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109154048001,"66":12298,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109154048001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:43:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:43:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109154048001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":147349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:43:06] local.INFO: GPS data processed {"connection_id":147349,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:43:06] local.INFO: Acknowledgment sent {"connection_id":147349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:43:37] local.INFO: TCP Data received {"connection_id":147349,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd056438012d1968c0071fee10003d011425..."} 
[2026-08-01 16:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd056438012d1968c0071fee10003d011425..."} 
[2026-08-01 16:43:37] local.INFO: Processing buffer {"connection_id":147349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd056438012d1968c0071fee10003d011425..."} 
[2026-08-01 16:43:37] local.INFO: Packet analysis {"connection_id":147349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd05"} 
[2026-08-01 16:43:37] local.INFO: Extracted packet for processing {"connection_id":147349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd05"} 
[2026-08-01 16:43:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109159424001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785582675000,"timestamp_ms":1785582675000,"timestamp_seconds":1785582675,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd056438"} 
[2026-08-01 16:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 16:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-01 16:43:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-01 16:43:37] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-01 16:43:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 16:43:37] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-7854277750134145023,"note":"Value kept but may cause issues"} 
[2026-08-01 16:43:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4827062788462667416,"note":"Value kept but may cause issues"} 
[2026-08-01 16:43:37] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390635034411284,"note":"Value kept but may cause issues"} 
[2026-08-01 16:43:37] local.WARNING: Large IO value detected {"io_id":61,"raw_value":77726675990740992,"note":"Value kept but may cause issues"} 
[2026-08-01 16:43:37] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832597,"note":"Value kept but may cause issues"} 
[2026-08-01 16:43:37] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-08-01 16:43:37] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026045,"note":"Value kept but may cause issues"} 
[2026-08-01 16:43:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-01 16:43:37] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-01 16:43:37] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3909143928,"note":"Value kept but may cause issues"} 
[2026-08-01 16:43:37] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,102,83,24,241,157,16,120,159,192,45,238,61,39,10,66,110,37,28,1,240,227,189,31,4,113,205,104,35,239,47,2,36,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-01 16:43:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395816864731627520,"timestamp_seconds":4395816864731627.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 16:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:43:37] 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-08-01 16:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109159424001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109159424001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:43:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:43:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109159424001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":147349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:43:37] local.INFO: GPS data processed {"connection_id":147349,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:43:37] local.INFO: Acknowledgment sent {"connection_id":147349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:43:44] local.INFO: TCP Data received {"connection_id":148649,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:43:44] local.INFO: Processing buffer {"connection_id":148649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:43:44] local.INFO: IMEI packet received {"connection_id":148649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":148649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:43:48] local.INFO: TCP Data received {"connection_id":148649,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:43:48] local.INFO: Processing buffer {"connection_id":148649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:43:48] local.INFO: IMEI packet received {"connection_id":148649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":148649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:43:49] local.INFO: TCP Data received {"connection_id":148649,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd0544f8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd0544f8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:43:49] local.INFO: Processing buffer {"connection_id":148649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd0544f8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:43:49] local.INFO: Packet analysis {"connection_id":148649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd05"} 
[2026-08-01 16:43:49] local.INFO: Extracted packet for processing {"connection_id":148649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd05"} 
[2026-08-01 16:43:49] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":40,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:43:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109085696001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:43:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:43:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:43:49] 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-08-01 16:43:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785582667000,"timestamp_ms":1785582667000,"timestamp_seconds":1785582667,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd0544f8"} 
[2026-08-01 16:43:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:43:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-01 16:43:49] 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-08-01 16: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-08-01 16:43:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:43:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:43:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:43:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:43:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:43:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:43:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:43:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:43:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109085696001,"66":25778,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-08-01 16:43:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:43:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:43:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109085696001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:43:49] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:43:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:43:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:43:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:43:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109085696001,"power":25778,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:43:49] local.INFO: DEBUG: GPS processor result {"connection_id":148649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:43:49] local.INFO: GPS data processed {"connection_id":148649,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:43:49] local.INFO: Acknowledgment sent {"connection_id":148649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:43:59] local.INFO: TCP Data received {"connection_id":146337,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:43:59] local.INFO: Processing buffer {"connection_id":146337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:43:59] local.INFO: IMEI packet received {"connection_id":146337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":146337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:44:00] local.INFO: TCP Data received {"connection_id":146337,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:44:00] local.INFO: Processing buffer {"connection_id":146337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:44:00] local.INFO: IMEI packet received {"connection_id":146337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":146337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:44:05] local.INFO: TCP Data received {"connection_id":146337,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:44:05] local.INFO: Processing buffer {"connection_id":146337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:44:05] local.INFO: IMEI packet received {"connection_id":146337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":146337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:44:06] local.INFO: TCP Data received {"connection_id":146337,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd05b640012d1968c0071fee10003d011425..."} 
[2026-08-01 16:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd05b640012d1968c0071fee10003d011425..."} 
[2026-08-01 16:44:06] local.INFO: Processing buffer {"connection_id":146337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd05b640012d1968c0071fee10003d011425..."} 
[2026-08-01 16:44:06] local.INFO: Packet analysis {"connection_id":146337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd05"} 
[2026-08-01 16:44:06] local.INFO: Extracted packet for processing {"connection_id":146337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd05"} 
[2026-08-01 16:44:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109164800001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785582696000,"timestamp_ms":1785582696000,"timestamp_seconds":1785582696,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd05b640"} 
[2026-08-01 16:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:44:06] 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-08-01 16:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109164800001,"66":12254,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109164800001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:44:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:44:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109164800001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":146337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:44:06] local.INFO: GPS data processed {"connection_id":146337,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:44:06] local.INFO: Acknowledgment sent {"connection_id":146337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:44:20] local.INFO: TCP Data received {"connection_id":148649,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd0544f8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd0544f8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:44:20] local.INFO: Processing buffer {"connection_id":148649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd0544f8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:44:20] local.INFO: Packet analysis {"connection_id":148649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd05"} 
[2026-08-01 16:44:20] local.INFO: Extracted packet for processing {"connection_id":148649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd05"} 
[2026-08-01 16:44:20] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":40,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109085696001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:44:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:44:20] 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-08-01 16:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785582667000,"timestamp_ms":1785582667000,"timestamp_seconds":1785582667,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd0544f8"} 
[2026-08-01 16:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-01 16:44:20] 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-08-01 16:44:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:44:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109085696001,"66":25778,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-08-01 16:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109085696001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:44:20] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:44:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:44:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109085696001,"power":25778,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":148649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:44:20] local.INFO: GPS data processed {"connection_id":148649,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:44:20] local.INFO: Acknowledgment sent {"connection_id":148649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:44:37] local.INFO: TCP Data received {"connection_id":146337,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd060848012d1968c0071fee10003d011426..."} 
[2026-08-01 16:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd060848012d1968c0071fee10003d011426..."} 
[2026-08-01 16:44:37] local.INFO: Processing buffer {"connection_id":146337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd060848012d1968c0071fee10003d011426..."} 
[2026-08-01 16:44:37] local.INFO: Packet analysis {"connection_id":146337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd06"} 
[2026-08-01 16:44:37] local.INFO: Extracted packet for processing {"connection_id":146337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd06"} 
[2026-08-01 16:44:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109170176001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785582717000,"timestamp_ms":1785582717000,"timestamp_seconds":1785582717,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd060848"} 
[2026-08-01 16:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-01 16:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:44:37] 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-08-01 16:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109170176001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109170176001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:44:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:44:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109170176001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":146337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:44:37] local.INFO: GPS data processed {"connection_id":146337,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:44:37] local.INFO: Acknowledgment sent {"connection_id":146337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:44:44] local.INFO: TCP Data received {"connection_id":146112,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:44:44] local.INFO: Processing buffer {"connection_id":146112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:44:44] local.INFO: IMEI packet received {"connection_id":146112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":146112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:44:49] local.INFO: TCP Data received {"connection_id":146112,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:44:49] local.INFO: Processing buffer {"connection_id":146112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:44:49] local.INFO: IMEI packet received {"connection_id":146112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":146112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:44:50] local.INFO: TCP Data received {"connection_id":146112,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd0544f8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd0544f8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:44:50] local.INFO: Processing buffer {"connection_id":146112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd0544f8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:44:50] local.INFO: Packet analysis {"connection_id":146112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd05"} 
[2026-08-01 16:44:50] local.INFO: Extracted packet for processing {"connection_id":146112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd05"} 
[2026-08-01 16:44:50] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":40,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109085696001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:44:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:44:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785582667000,"timestamp_ms":1785582667000,"timestamp_seconds":1785582667,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd0544f8"} 
[2026-08-01 16:44:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:44:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-01 16:44:50] 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-08-01 16:44:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:44:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:44:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109085696001,"66":25778,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"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-08-01 16:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109085696001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:44:50] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:44:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:44:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:44:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:44:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109085696001,"power":25778,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:44:50] local.INFO: DEBUG: GPS processor result {"connection_id":146112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:44:50] local.INFO: GPS data processed {"connection_id":146112,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:44:50] local.INFO: Acknowledgment sent {"connection_id":146112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:45:00] local.INFO: TCP Data received {"connection_id":146338,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:45:00] local.INFO: Processing buffer {"connection_id":146338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:45:00] local.INFO: IMEI packet received {"connection_id":146338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":146338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:45:02] local.INFO: TCP Data received {"connection_id":146338,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:45:02] local.INFO: Processing buffer {"connection_id":146338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:45:02] local.INFO: IMEI packet received {"connection_id":146338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":146338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:45:05] local.INFO: TCP Data received {"connection_id":146338,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:45:05] local.INFO: Processing buffer {"connection_id":146338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:45:05] local.INFO: IMEI packet received {"connection_id":146338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":146338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:45:06] local.INFO: TCP Data received {"connection_id":146338,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd065a50012d1968c0071fee10003d011427..."} 
[2026-08-01 16:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd065a50012d1968c0071fee10003d011427..."} 
[2026-08-01 16:45:06] local.INFO: Processing buffer {"connection_id":146338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd065a50012d1968c0071fee10003d011427..."} 
[2026-08-01 16:45:06] local.INFO: Packet analysis {"connection_id":146338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd06"} 
[2026-08-01 16:45:06] local.INFO: Extracted packet for processing {"connection_id":146338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd06"} 
[2026-08-01 16:45:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109175552001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785582738000,"timestamp_ms":1785582738000,"timestamp_seconds":1785582738,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd065a50"} 
[2026-08-01 16:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:45:06] 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-08-01 16:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109175552001,"66":12298,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109175552001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:45:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:45:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109175552001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":146338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:45:06] local.INFO: GPS data processed {"connection_id":146338,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:45:06] local.INFO: Acknowledgment sent {"connection_id":146338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:45:21] local.INFO: TCP Data received {"connection_id":146112,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd0544f8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd0544f8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:45:21] local.INFO: Processing buffer {"connection_id":146112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd0544f8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:45:21] local.INFO: Packet analysis {"connection_id":146112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd05"} 
[2026-08-01 16:45:21] local.INFO: Extracted packet for processing {"connection_id":146112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd05"} 
[2026-08-01 16:45:21] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":40,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109085696001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:45:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:45:21] 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-08-01 16:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785582667000,"timestamp_ms":1785582667000,"timestamp_seconds":1785582667,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd0544f8"} 
[2026-08-01 16:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:45:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-01 16:45:21] 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-08-01 16:45:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:45:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109085696001,"66":25778,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"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-08-01 16:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109085696001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:45:21] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:45:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:45:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109085696001,"power":25778,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":146112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:45:21] local.INFO: GPS data processed {"connection_id":146112,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:45:21] local.INFO: Acknowledgment sent {"connection_id":146112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:45:37] local.INFO: TCP Data received {"connection_id":146338,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd06ac58012d1968c0071fee10003d011426..."} 
[2026-08-01 16:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd06ac58012d1968c0071fee10003d011426..."} 
[2026-08-01 16:45:37] local.INFO: Processing buffer {"connection_id":146338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd06ac58012d1968c0071fee10003d011426..."} 
[2026-08-01 16:45:37] local.INFO: Packet analysis {"connection_id":146338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd06"} 
[2026-08-01 16:45:37] local.INFO: Extracted packet for processing {"connection_id":146338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd06"} 
[2026-08-01 16:45:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109180928001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785582759000,"timestamp_ms":1785582759000,"timestamp_seconds":1785582759,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd06ac58"} 
[2026-08-01 16:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 16:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-01 16:45:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-01 16:45:37] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-01 16:45:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 16:45:37] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-7854277750134145023,"note":"Value kept but may cause issues"} 
[2026-08-01 16:45:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4826702011209803416,"note":"Value kept but may cause issues"} 
[2026-08-01 16:45:37] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390635034411284,"note":"Value kept but may cause issues"} 
[2026-08-01 16:45:37] local.WARNING: Large IO value detected {"io_id":61,"raw_value":77727775502368768,"note":"Value kept but may cause issues"} 
[2026-08-01 16:45:37] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832597,"note":"Value kept but may cause issues"} 
[2026-08-01 16:45:37] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-08-01 16:45:37] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026045,"note":"Value kept but may cause issues"} 
[2026-08-01 16:45:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-01 16:45:37] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-01 16:45:37] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-08-01 16:45:37] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,120,159,8,45,192,238,61,38,10,66,182,37,100,1,240,255,227,189,31,4,113,205,104,39,239,47,2,36,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-01 16:45:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395816869026594816,"timestamp_seconds":4395816869026595.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 16:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:45:37] 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-08-01 16:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109180928001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109180928001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:45:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:45:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109180928001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":146338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:45:37] local.INFO: GPS data processed {"connection_id":146338,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:45:37] local.INFO: Acknowledgment sent {"connection_id":146338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:45:43] local.INFO: TCP Data received {"connection_id":147350,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:45:43] local.INFO: Processing buffer {"connection_id":147350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:45:43] local.INFO: IMEI packet received {"connection_id":147350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":147350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:45:48] local.INFO: TCP Data received {"connection_id":147350,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:45:48] local.INFO: Processing buffer {"connection_id":147350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:45:48] local.INFO: IMEI packet received {"connection_id":147350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":147350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:45:49] local.INFO: TCP Data received {"connection_id":147350,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd0544f8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd0544f8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:45:49] local.INFO: Processing buffer {"connection_id":147350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd0544f8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:45:49] local.INFO: Packet analysis {"connection_id":147350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd05"} 
[2026-08-01 16:45:49] local.INFO: Extracted packet for processing {"connection_id":147350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd05"} 
[2026-08-01 16:45:49] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":40,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109085696001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:45:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:45:49] 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-08-01 16:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785582667000,"timestamp_ms":1785582667000,"timestamp_seconds":1785582667,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd0544f8"} 
[2026-08-01 16:45:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:45:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-01 16:45:49] 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-08-01 16:45:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:45:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:45:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109085696001,"66":25778,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-08-01 16:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109085696001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:45:49] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:45:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:45:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:45:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109085696001,"power":25778,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":147350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:45:49] local.INFO: GPS data processed {"connection_id":147350,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:45:49] local.INFO: Acknowledgment sent {"connection_id":147350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:45:54] local.INFO: TCP Data received {"connection_id":147351,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 16:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147351,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 16:45:54] local.INFO: Processing buffer {"connection_id":147351,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 16:45:54] local.INFO: IMEI packet received {"connection_id":147351,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 16:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":147351,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:45:54] local.INFO: TCP Data received {"connection_id":147351,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 16:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147351,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 16:45:54] local.INFO: Processing buffer {"connection_id":147351,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 16:45:54] local.INFO: IMEI packet received {"connection_id":147351,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 16:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":147351,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:45:59] local.INFO: TCP Data received {"connection_id":147351,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 16:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147351,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 16:45:59] local.INFO: Processing buffer {"connection_id":147351,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 16:45:59] local.INFO: IMEI packet received {"connection_id":147351,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 16:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":147351,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:45:59] local.INFO: TCP Data received {"connection_id":147351,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-01 16:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147351,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-01 16:45:59] local.INFO: Processing buffer {"connection_id":147351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-01 16:45:59] local.INFO: Packet analysis {"connection_id":147351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-01 16:45:59] local.INFO: Extracted packet for processing {"connection_id":147351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-01 16:45:59] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-01 16:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113489378310881280,"note":"Value kept but may cause issues"} 
[2026-08-01 16:45:59] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,229,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-01 16:45:59] 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-08-01 16:45:59] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-01 16:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":147351,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":147351,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-01 16:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":147351,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-01 16:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-01 16:45:59] local.WARNING: DEBUG: No valid data to process  
[2026-08-01 16:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":147351,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-01 16:45:59] local.ERROR: GPS data processing failed {"connection_id":147351,"error":"No valid data to process"} 
[2026-08-01 16:45:59] local.INFO: Acknowledgment sent {"connection_id":147351,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-01 16:46:00] local.INFO: TCP Data received {"connection_id":148650,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:46:00] local.INFO: Processing buffer {"connection_id":148650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:46:00] local.INFO: IMEI packet received {"connection_id":148650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":148650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:46:05] local.INFO: TCP Data received {"connection_id":148650,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:46:05] local.INFO: Processing buffer {"connection_id":148650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:46:05] local.INFO: IMEI packet received {"connection_id":148650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":148650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:46:06] local.INFO: TCP Data received {"connection_id":148650,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd06fe60012d1968c0071fee10003d011428..."} 
[2026-08-01 16:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd06fe60012d1968c0071fee10003d011428..."} 
[2026-08-01 16:46:06] local.INFO: Processing buffer {"connection_id":148650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd06fe60012d1968c0071fee10003d011428..."} 
[2026-08-01 16:46:06] local.INFO: Packet analysis {"connection_id":148650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd06"} 
[2026-08-01 16:46:06] local.INFO: Extracted packet for processing {"connection_id":148650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd06"} 
[2026-08-01 16:46:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109186304001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785582780000,"timestamp_ms":1785582780000,"timestamp_seconds":1785582780,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd06fe60"} 
[2026-08-01 16:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:46:06] 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-08-01 16:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109186304001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109186304001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:46:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:46:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109186304001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":148650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:46:06] local.INFO: GPS data processed {"connection_id":148650,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:46:06] local.INFO: Acknowledgment sent {"connection_id":148650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:46:21] local.INFO: TCP Data received {"connection_id":147350,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd0544f8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd0544f8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:46:21] local.INFO: Processing buffer {"connection_id":147350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd0544f8012ceb7bc00713b300001100a028..."} 
[2026-08-01 16:46:21] local.INFO: Packet analysis {"connection_id":147350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd05"} 
[2026-08-01 16:46:21] local.INFO: Extracted packet for processing {"connection_id":147350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd05"} 
[2026-08-01 16:46:21] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":40,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109085696001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:46:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:46:21] 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-08-01 16:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785582667000,"timestamp_ms":1785582667000,"timestamp_seconds":1785582667,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd0544f8"} 
[2026-08-01 16:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:46:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-01 16:46:21] 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-08-01 16:46:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:46:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109085696001,"66":25778,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-08-01 16:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109085696001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:46:21] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:46:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:46:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109085696001,"power":25778,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":147350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:46:21] local.INFO: GPS data processed {"connection_id":147350,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:46:21] local.INFO: Acknowledgment sent {"connection_id":147350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:46:30] local.INFO: TCP Data received {"connection_id":147351,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-01 16:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147351,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-01 16:46:30] local.INFO: Processing buffer {"connection_id":147351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-01 16:46:30] local.INFO: Packet analysis {"connection_id":147351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-01 16:46:30] local.INFO: Extracted packet for processing {"connection_id":147351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-01 16:46: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-08-01 16: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-08-01 16:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113489378310881280,"note":"Value kept but may cause issues"} 
[2026-08-01 16:46:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,229,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-01 16:46:30] 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-08-01 16:46:30] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-01 16:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147351,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147351,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-01 16:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147351,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-01 16:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-01 16:46:30] local.WARNING: DEBUG: No valid data to process  
[2026-08-01 16:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":147351,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-01 16:46:30] local.ERROR: GPS data processing failed {"connection_id":147351,"error":"No valid data to process"} 
[2026-08-01 16:46:30] local.INFO: Acknowledgment sent {"connection_id":147351,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-01 16:46:37] local.INFO: TCP Data received {"connection_id":148650,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd075068012d1968c0071fee10003d011425..."} 
[2026-08-01 16:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd075068012d1968c0071fee10003d011425..."} 
[2026-08-01 16:46:37] local.INFO: Processing buffer {"connection_id":148650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd075068012d1968c0071fee10003d011425..."} 
[2026-08-01 16:46:37] local.INFO: Packet analysis {"connection_id":148650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd07"} 
[2026-08-01 16:46:37] local.INFO: Extracted packet for processing {"connection_id":148650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd07"} 
[2026-08-01 16:46:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109191680001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785582801000,"timestamp_ms":1785582801000,"timestamp_seconds":1785582801,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd075068"} 
[2026-08-01 16:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:46:37] 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-08-01 16:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:46:37] 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-08-01 16:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109191680001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109191680001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:46:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:46:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109191680001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":148650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:46:37] local.INFO: GPS data processed {"connection_id":148650,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:46:37] local.INFO: Acknowledgment sent {"connection_id":148650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:46:43] local.INFO: TCP Data received {"connection_id":148651,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:46:43] local.INFO: Processing buffer {"connection_id":148651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:46:43] local.INFO: IMEI packet received {"connection_id":148651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":148651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:46:45] local.INFO: TCP Data received {"connection_id":148651,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:46:45] local.INFO: Processing buffer {"connection_id":148651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:46:45] local.INFO: IMEI packet received {"connection_id":148651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":148651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:46:49] local.INFO: TCP Data received {"connection_id":148651,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:46:49] local.INFO: Processing buffer {"connection_id":148651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:46:49] local.INFO: IMEI packet received {"connection_id":148651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":148651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:46:49] local.INFO: TCP Data received {"connection_id":148651,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd09dcc0012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd09dcc0012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:46:49] local.INFO: Processing buffer {"connection_id":148651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd09dcc0012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:46:49] local.INFO: Packet analysis {"connection_id":148651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd09"} 
[2026-08-01 16:46:49] local.INFO: Extracted packet for processing {"connection_id":148651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd09"} 
[2026-08-01 16:46:49] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":39,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:46:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109162752001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:46:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:46:49] 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-08-01 16:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785582968000,"timestamp_ms":1785582968000,"timestamp_seconds":1785582968,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd09dcc0"} 
[2026-08-01 16:46:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:46:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-01 16:46:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16: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-08-01 16:46:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:46:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109162752001,"66":25745,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-08-01 16:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109162752001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:46:49] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:46:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:46:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:46:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:46:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109162752001,"power":25745,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:46:49] local.INFO: DEBUG: GPS processor result {"connection_id":148651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:46:49] local.INFO: GPS data processed {"connection_id":148651,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:46:49] local.INFO: Acknowledgment sent {"connection_id":148651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:47:00] local.INFO: TCP Data received {"connection_id":146339,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:47:00] local.INFO: Processing buffer {"connection_id":146339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:47:00] local.INFO: IMEI packet received {"connection_id":146339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":146339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:47:03] local.INFO: TCP Data received {"connection_id":147351,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd0a46380100000000000000000000000000..."} 
[2026-08-01 16:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd0a46380100000000000000000000000000..."} 
[2026-08-01 16:47:03] local.INFO: Processing buffer {"connection_id":147351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd0a46380100000000000000000000000000..."} 
[2026-08-01 16:47:03] local.INFO: Packet analysis {"connection_id":147351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd0a"} 
[2026-08-01 16:47:03] local.INFO: Extracted packet for processing {"connection_id":147351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd0a"} 
[2026-08-01 16:47: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-08-01 16: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-08-01 16:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113489378310881280,"note":"Value kept but may cause issues"} 
[2026-08-01 16:47:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,229,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-01 16:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785582995000,"timestamp_ms":1785582995000,"timestamp_seconds":1785582995,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd0a4638"} 
[2026-08-01 16:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":768,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-01 16:47:03] 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-08-01 16: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-08-01 16:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 16:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 16:47:03] 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-08-01 16:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 16:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 16:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":147351,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-01 16:47:03] local.INFO: GPS data processed {"connection_id":147351,"processed":0,"errors":0,"total":1} 
[2026-08-01 16:47:03] local.INFO: Acknowledgment sent {"connection_id":147351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:47:05] local.INFO: TCP Data received {"connection_id":146339,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:47:05] local.INFO: Processing buffer {"connection_id":146339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:47:05] local.INFO: IMEI packet received {"connection_id":146339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":146339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:47:05] local.INFO: TCP Data received {"connection_id":146339,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd07a270012d1968c0071fee10003d011427..."} 
[2026-08-01 16:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd07a270012d1968c0071fee10003d011427..."} 
[2026-08-01 16:47:05] local.INFO: Processing buffer {"connection_id":146339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd07a270012d1968c0071fee10003d011427..."} 
[2026-08-01 16:47:05] local.INFO: Packet analysis {"connection_id":146339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd07"} 
[2026-08-01 16:47:05] local.INFO: Extracted packet for processing {"connection_id":146339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd07"} 
[2026-08-01 16:47:05] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109197056001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785582822000,"timestamp_ms":1785582822000,"timestamp_seconds":1785582822,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd07a270"} 
[2026-08-01 16:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:47: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-08-01 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16: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-08-01 16:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:47:05] 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-08-01 16:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109197056001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109197056001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:47:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:47:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109197056001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":146339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:47:05] local.INFO: GPS data processed {"connection_id":146339,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:47:05] local.INFO: Acknowledgment sent {"connection_id":146339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:47:21] local.INFO: TCP Data received {"connection_id":148651,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd09dcc0012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd09dcc0012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:47:21] local.INFO: Processing buffer {"connection_id":148651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd09dcc0012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:47:21] local.INFO: Packet analysis {"connection_id":148651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd09"} 
[2026-08-01 16:47:21] local.INFO: Extracted packet for processing {"connection_id":148651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd09"} 
[2026-08-01 16:47:21] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":39,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109162752001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:47:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:47:21] 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-08-01 16:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785582968000,"timestamp_ms":1785582968000,"timestamp_seconds":1785582968,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd09dcc0"} 
[2026-08-01 16:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:47:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-01 16:47:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:47:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:47:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109162752001,"66":25745,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-08-01 16:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109162752001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:47:21] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:47:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:47:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109162752001,"power":25745,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":148651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:47:21] local.INFO: GPS data processed {"connection_id":148651,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:47:21] local.INFO: Acknowledgment sent {"connection_id":148651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:47:36] local.INFO: TCP Data received {"connection_id":146339,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd07f478012d1968c0071fee10003d011426..."} 
[2026-08-01 16:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd07f478012d1968c0071fee10003d011426..."} 
[2026-08-01 16:47:36] local.INFO: Processing buffer {"connection_id":146339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd07f478012d1968c0071fee10003d011426..."} 
[2026-08-01 16:47:36] local.INFO: Packet analysis {"connection_id":146339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd07"} 
[2026-08-01 16:47:36] local.INFO: Extracted packet for processing {"connection_id":146339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd07"} 
[2026-08-01 16:47:36] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109202432001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785582843000,"timestamp_ms":1785582843000,"timestamp_seconds":1785582843,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd07f478"} 
[2026-08-01 16:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:47:36] 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-08-01 16: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-08-01 16:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:47:36] 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-08-01 16:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109202432001,"66":11874,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109202432001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:47:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:47:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109202432001,"power":11874,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":146339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578087,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:47:36] local.INFO: GPS data processed {"connection_id":146339,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:47:36] local.INFO: Acknowledgment sent {"connection_id":146339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:47:44] local.INFO: TCP Data received {"connection_id":146113,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:47:44] local.INFO: Processing buffer {"connection_id":146113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:47:44] local.INFO: IMEI packet received {"connection_id":146113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":146113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:47:48] local.INFO: TCP Data received {"connection_id":146113,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:47:48] local.INFO: Processing buffer {"connection_id":146113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:47:48] local.INFO: IMEI packet received {"connection_id":146113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":146113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:47:49] local.INFO: TCP Data received {"connection_id":146113,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd09dcc0012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd09dcc0012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:47:49] local.INFO: Processing buffer {"connection_id":146113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd09dcc0012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:47:49] local.INFO: Packet analysis {"connection_id":146113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd09"} 
[2026-08-01 16:47:49] local.INFO: Extracted packet for processing {"connection_id":146113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd09"} 
[2026-08-01 16:47:49] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":39,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109162752001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:47:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:47:49] 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-08-01 16:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785582968000,"timestamp_ms":1785582968000,"timestamp_seconds":1785582968,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd09dcc0"} 
[2026-08-01 16:47:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:47:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-01 16:47:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:47:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:47:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:47:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109162752001,"66":25745,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-08-01 16:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109162752001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:47:49] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:47:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:47:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109162752001,"power":25745,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":146113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:47:49] local.INFO: GPS data processed {"connection_id":146113,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:47:49] local.INFO: Acknowledgment sent {"connection_id":146113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:48:00] local.INFO: TCP Data received {"connection_id":148652,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:48:00] local.INFO: Processing buffer {"connection_id":148652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:48:00] local.INFO: IMEI packet received {"connection_id":148652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":148652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:48:05] local.INFO: TCP Data received {"connection_id":148652,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:48:05] local.INFO: Processing buffer {"connection_id":148652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:48:05] local.INFO: IMEI packet received {"connection_id":148652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":148652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:48:06] local.INFO: TCP Data received {"connection_id":148652,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd084680012d1968c0071fee10003d011427..."} 
[2026-08-01 16:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd084680012d1968c0071fee10003d011427..."} 
[2026-08-01 16:48:06] local.INFO: Processing buffer {"connection_id":148652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd084680012d1968c0071fee10003d011427..."} 
[2026-08-01 16:48:06] local.INFO: Packet analysis {"connection_id":148652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd08"} 
[2026-08-01 16:48:06] local.INFO: Extracted packet for processing {"connection_id":148652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd08"} 
[2026-08-01 16:48:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109207808001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785582864000,"timestamp_ms":1785582864000,"timestamp_seconds":1785582864,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd084680"} 
[2026-08-01 16:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:48: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-08-01 16: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":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-01 16:48:06] 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-08-01 16: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-08-01 16:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:48:06] 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-08-01 16:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109207808001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109207808001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:48:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:48:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109207808001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":148652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578089,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:48:06] local.INFO: GPS data processed {"connection_id":148652,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:48:06] local.INFO: Acknowledgment sent {"connection_id":148652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:48:20] local.INFO: TCP Data received {"connection_id":146113,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd09dcc0012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd09dcc0012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:48:20] local.INFO: Processing buffer {"connection_id":146113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd09dcc0012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:48:20] local.INFO: Packet analysis {"connection_id":146113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd09"} 
[2026-08-01 16:48:20] local.INFO: Extracted packet for processing {"connection_id":146113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd09"} 
[2026-08-01 16:48:20] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":39,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109162752001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:48:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:48:20] 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-08-01 16:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785582968000,"timestamp_ms":1785582968000,"timestamp_seconds":1785582968,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd09dcc0"} 
[2026-08-01 16:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-01 16:48:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16: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-08-01 16:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109162752001,"66":25745,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-08-01 16:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109162752001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:48:20] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:48:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:48:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109162752001,"power":25745,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":146113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:48:20] local.INFO: GPS data processed {"connection_id":146113,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:48:20] local.INFO: Acknowledgment sent {"connection_id":146113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:48:37] local.INFO: TCP Data received {"connection_id":148652,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd089888012d1968c0071fee10003d011425..."} 
[2026-08-01 16:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd089888012d1968c0071fee10003d011425..."} 
[2026-08-01 16:48:37] local.INFO: Processing buffer {"connection_id":148652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd089888012d1968c0071fee10003d011425..."} 
[2026-08-01 16:48:37] local.INFO: Packet analysis {"connection_id":148652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd08"} 
[2026-08-01 16:48:37] local.INFO: Extracted packet for processing {"connection_id":148652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd08"} 
[2026-08-01 16:48:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109213184001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785582885000,"timestamp_ms":1785582885000,"timestamp_seconds":1785582885,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd089888"} 
[2026-08-01 16:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:48:37] 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-08-01 16:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:48:37] 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-08-01 16:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109213184001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109213184001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:48:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:48:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109213184001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":148652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:48:37] local.INFO: GPS data processed {"connection_id":148652,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:48:37] local.INFO: Acknowledgment sent {"connection_id":148652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:48:44] local.INFO: TCP Data received {"connection_id":146340,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:48:44] local.INFO: Processing buffer {"connection_id":146340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:48:44] local.INFO: IMEI packet received {"connection_id":146340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":146340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:48:49] local.INFO: TCP Data received {"connection_id":146340,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:48:49] local.INFO: Processing buffer {"connection_id":146340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:48:49] local.INFO: IMEI packet received {"connection_id":146340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":146340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:48:50] local.INFO: TCP Data received {"connection_id":146340,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd09dcc0012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd09dcc0012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:48:50] local.INFO: Processing buffer {"connection_id":146340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd09dcc0012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:48:50] local.INFO: Packet analysis {"connection_id":146340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd09"} 
[2026-08-01 16:48:50] local.INFO: Extracted packet for processing {"connection_id":146340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd09"} 
[2026-08-01 16:48:50] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":39,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109162752001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:48:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:48:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785582968000,"timestamp_ms":1785582968000,"timestamp_seconds":1785582968,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd09dcc0"} 
[2026-08-01 16:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:48:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-01 16:48:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:48:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:48:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109162752001,"66":25745,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-08-01 16:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109162752001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:48:50] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:48:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:48:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109162752001,"power":25745,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":146340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:48:50] local.INFO: GPS data processed {"connection_id":146340,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:48:50] local.INFO: Acknowledgment sent {"connection_id":146340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:49:05] local.INFO: TCP Data received {"connection_id":146114,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146114,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:49:05] local.INFO: Processing buffer {"connection_id":146114,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:49:05] local.INFO: IMEI packet received {"connection_id":146114,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":146114,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:49:10] local.INFO: TCP Data received {"connection_id":146114,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146114,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:49:10] local.INFO: Processing buffer {"connection_id":146114,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:49:10] local.INFO: IMEI packet received {"connection_id":146114,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":146114,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:49:11] local.INFO: TCP Data received {"connection_id":146114,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd08ea90012d1968c0071fee10003d011424..."} 
[2026-08-01 16:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd08ea90012d1968c0071fee10003d011424..."} 
[2026-08-01 16:49:11] local.INFO: Processing buffer {"connection_id":146114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd08ea90012d1968c0071fee10003d011424..."} 
[2026-08-01 16:49:11] local.INFO: Packet analysis {"connection_id":146114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd08"} 
[2026-08-01 16:49:11] local.INFO: Extracted packet for processing {"connection_id":146114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd08"} 
[2026-08-01 16:49:11] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 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-08-01 16:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109218560001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 16:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785582906000,"timestamp_ms":1785582906000,"timestamp_seconds":1785582906,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd08ea90"} 
[2026-08-01 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-08-01 16:49: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-08-01 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:49: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-08-01 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-08-01 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-08-01 16:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:49:11] 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-08-01 16:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109218560001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109218560001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:49:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:49:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109218560001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":146114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:49:11] local.INFO: GPS data processed {"connection_id":146114,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:49:11] local.INFO: Acknowledgment sent {"connection_id":146114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:49:14] local.INFO: TCP Data received {"connection_id":146114,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd093c98012d1968c0071fee10003d011427..."} 
[2026-08-01 16:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd093c98012d1968c0071fee10003d011427..."} 
[2026-08-01 16:49:14] local.INFO: Processing buffer {"connection_id":146114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd093c98012d1968c0071fee10003d011427..."} 
[2026-08-01 16:49:14] local.INFO: Packet analysis {"connection_id":146114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd09"} 
[2026-08-01 16:49:14] local.INFO: Extracted packet for processing {"connection_id":146114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd09"} 
[2026-08-01 16:49:14] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109223936001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:49:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:49: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-08-01 16:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785582927000,"timestamp_ms":1785582927000,"timestamp_seconds":1785582927,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd093c98"} 
[2026-08-01 16:49:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:49:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:49: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-08-01 16:49:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:49:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":146114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":146114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":146114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:49:14] 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-08-01 16:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109223936001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109223936001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:49:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:49:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:49:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109223936001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":146114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:49:14] local.INFO: GPS data processed {"connection_id":146114,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:49:14] local.INFO: Acknowledgment sent {"connection_id":146114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:49:21] local.INFO: TCP Data received {"connection_id":146340,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd09dcc0012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd09dcc0012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:49:21] local.INFO: Processing buffer {"connection_id":146340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd09dcc0012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:49:21] local.INFO: Packet analysis {"connection_id":146340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd09"} 
[2026-08-01 16:49:21] local.INFO: Extracted packet for processing {"connection_id":146340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd09"} 
[2026-08-01 16:49:21] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":39,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109162752001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:49:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:49:21] 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-08-01 16:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785582968000,"timestamp_ms":1785582968000,"timestamp_seconds":1785582968,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd09dcc0"} 
[2026-08-01 16:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:49:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-01 16:49:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:49:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:49:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109162752001,"66":25745,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-08-01 16:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109162752001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:49:21] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:49:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:49:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:49:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109162752001,"power":25745,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":146340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:49:21] local.INFO: GPS data processed {"connection_id":146340,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:49:21] local.INFO: Acknowledgment sent {"connection_id":146340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:49:44] local.INFO: TCP Data received {"connection_id":148653,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:49:44] local.INFO: Processing buffer {"connection_id":148653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:49:44] local.INFO: IMEI packet received {"connection_id":148653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":148653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:49:48] local.INFO: TCP Data received {"connection_id":148653,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:49:48] local.INFO: Processing buffer {"connection_id":148653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:49:48] local.INFO: IMEI packet received {"connection_id":148653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":148653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:49:49] local.INFO: TCP Data received {"connection_id":148653,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd09dcc0012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd09dcc0012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:49:49] local.INFO: Processing buffer {"connection_id":148653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd09dcc0012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:49:49] local.INFO: Packet analysis {"connection_id":148653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd09"} 
[2026-08-01 16:49:49] local.INFO: Extracted packet for processing {"connection_id":148653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd09"} 
[2026-08-01 16:49:49] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":39,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109162752001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:49:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:49:49] 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-08-01 16:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785582968000,"timestamp_ms":1785582968000,"timestamp_seconds":1785582968,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd09dcc0"} 
[2026-08-01 16:49:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:49:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-01 16:49:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16: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-08-01 16:49:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:49:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109162752001,"66":25745,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"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-08-01 16:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109162752001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:49:49] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:49:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:49:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:49:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109162752001,"power":25745,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:49:49] local.INFO: DEBUG: GPS processor result {"connection_id":148653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:49:49] local.INFO: GPS data processed {"connection_id":148653,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:49:49] local.INFO: Acknowledgment sent {"connection_id":148653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:49:56] local.INFO: TCP Data received {"connection_id":147352,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147352,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:49:56] local.INFO: Processing buffer {"connection_id":147352,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:49:56] local.INFO: IMEI packet received {"connection_id":147352,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":147352,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:50:00] local.INFO: TCP Data received {"connection_id":147352,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147352,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:50:00] local.INFO: Processing buffer {"connection_id":147352,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:50:00] local.INFO: IMEI packet received {"connection_id":147352,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":147352,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:50:05] local.INFO: TCP Data received {"connection_id":147352,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147352,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:50:05] local.INFO: Processing buffer {"connection_id":147352,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:50:05] local.INFO: IMEI packet received {"connection_id":147352,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":147352,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:50:06] local.INFO: TCP Data received {"connection_id":147352,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd098ea0012d1968c0071fee10003d011427..."} 
[2026-08-01 16:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd098ea0012d1968c0071fee10003d011427..."} 
[2026-08-01 16:50:06] local.INFO: Processing buffer {"connection_id":147352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd098ea0012d1968c0071fee10003d011427..."} 
[2026-08-01 16:50:06] local.INFO: Packet analysis {"connection_id":147352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd09"} 
[2026-08-01 16:50:06] local.INFO: Extracted packet for processing {"connection_id":147352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd09"} 
[2026-08-01 16:50:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109229312001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785582948000,"timestamp_ms":1785582948000,"timestamp_seconds":1785582948,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd098ea0"} 
[2026-08-01 16:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:50:06] 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-08-01 16:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109229312001,"66":12298,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109229312001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:50:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:50:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109229312001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":147352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:50:06] local.INFO: GPS data processed {"connection_id":147352,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:50:06] local.INFO: Acknowledgment sent {"connection_id":147352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:50:20] local.INFO: TCP Data received {"connection_id":148653,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd09dcc0012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd09dcc0012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:50:20] local.INFO: Processing buffer {"connection_id":148653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd09dcc0012ceb7bc00713b300001100a027..."} 
[2026-08-01 16:50:20] local.INFO: Packet analysis {"connection_id":148653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd09"} 
[2026-08-01 16:50:20] local.INFO: Extracted packet for processing {"connection_id":148653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd09"} 
[2026-08-01 16:50:20] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":39,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109162752001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:50:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:50:20] 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-08-01 16:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785582968000,"timestamp_ms":1785582968000,"timestamp_seconds":1785582968,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd09dcc0"} 
[2026-08-01 16:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:50:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-01 16:50:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:50:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:50:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109162752001,"66":25745,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"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-08-01 16:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109162752001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:50:20] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:50:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:50:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109162752001,"power":25745,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":148653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:50:20] local.INFO: GPS data processed {"connection_id":148653,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:50:20] local.INFO: Acknowledgment sent {"connection_id":148653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:50:37] local.INFO: TCP Data received {"connection_id":147352,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd09e0a8012d1968c0071fee10003d011428..."} 
[2026-08-01 16:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd09e0a8012d1968c0071fee10003d011428..."} 
[2026-08-01 16:50:37] local.INFO: Processing buffer {"connection_id":147352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd09e0a8012d1968c0071fee10003d011428..."} 
[2026-08-01 16:50:37] local.INFO: Packet analysis {"connection_id":147352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd09"} 
[2026-08-01 16:50:37] local.INFO: Extracted packet for processing {"connection_id":147352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd09"} 
[2026-08-01 16:50:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 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-08-01 16:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109234688001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785582969000,"timestamp_ms":1785582969000,"timestamp_seconds":1785582969,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd09e0a8"} 
[2026-08-01 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-08-01 16:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 16:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-01 16:50:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-01 16:50:37] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-01 16:50:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 16:50:37] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-7854277750134145023,"note":"Value kept but may cause issues"} 
[2026-08-01 16:50:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4825800068077643416,"note":"Value kept but may cause issues"} 
[2026-08-01 16:50:37] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390635034411284,"note":"Value kept but may cause issues"} 
[2026-08-01 16:50:37] local.WARNING: Large IO value detected {"io_id":61,"raw_value":77729974525624320,"note":"Value kept but may cause issues"} 
[2026-08-01 16:50:37] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832597,"note":"Value kept but may cause issues"} 
[2026-08-01 16:50:37] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-08-01 16:50:37] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026045,"note":"Value kept but may cause issues"} 
[2026-08-01 16:50:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-01 16:50:37] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-01 16:50:37] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,120,159,60,45,192,238,61,39,10,66,234,36,152,1,240,255,227,189,31,4,113,205,244,104,38,239,46,2,7,37],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-01 16:50:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395816869026594816,"timestamp_seconds":4395816869026595.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 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-08-01 16:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:50:37] 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-08-01 16:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109234688001,"66":12232,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109234688001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:50:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:50:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109234688001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":147352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:50:37] local.INFO: GPS data processed {"connection_id":147352,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:50:37] local.INFO: Acknowledgment sent {"connection_id":147352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:50:43] local.INFO: TCP Data received {"connection_id":146115,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:50:43] local.INFO: Processing buffer {"connection_id":146115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:50:43] local.INFO: IMEI packet received {"connection_id":146115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":146115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:50:45] local.INFO: TCP Data received {"connection_id":146115,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:50:45] local.INFO: Processing buffer {"connection_id":146115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:50:45] local.INFO: IMEI packet received {"connection_id":146115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":146115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:50:49] local.INFO: TCP Data received {"connection_id":146115,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:50:49] local.INFO: Processing buffer {"connection_id":146115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:50:49] local.INFO: IMEI packet received {"connection_id":146115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":146115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:50:49] local.INFO: TCP Data received {"connection_id":146115,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd0d2c68012ceb7bc00713b300001100a026..."} 
[2026-08-01 16:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd0d2c68012ceb7bc00713b300001100a026..."} 
[2026-08-01 16:50:49] local.INFO: Processing buffer {"connection_id":146115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd0d2c68012ceb7bc00713b300001100a026..."} 
[2026-08-01 16:50:49] local.INFO: Packet analysis {"connection_id":146115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd0d"} 
[2026-08-01 16:50:49] local.INFO: Extracted packet for processing {"connection_id":146115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd0d"} 
[2026-08-01 16:50:49] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731520,"longitude_deg":75.3630144,"latitude_deg":11.873152,"altitude":17,"angle":160,"satellites":38,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b300","is_valid_coordinates":true} 
[2026-08-01 16:50: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-08-01 16:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109239808001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:50:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:50:49] 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-08-01 16:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785583185000,"timestamp_ms":1785583185000,"timestamp_seconds":1785583185,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd0d2c68"} 
[2026-08-01 16:50:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:50:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 16:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-01 16:50:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16: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-08-01 16:50:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:50:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109239808001,"66":25712,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-08-01 16:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109239808001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:50:49] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:50:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:50:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109239808001,"power":25712,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:50:49] local.INFO: DEBUG: GPS processor result {"connection_id":146115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:50:49] local.INFO: GPS data processed {"connection_id":146115,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:50:49] local.INFO: Acknowledgment sent {"connection_id":146115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:50:59] local.INFO: TCP Data received {"connection_id":147353,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:50:59] local.INFO: Processing buffer {"connection_id":147353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:50:59] local.INFO: IMEI packet received {"connection_id":147353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":147353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:51:00] local.INFO: TCP Data received {"connection_id":147353,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:51:00] local.INFO: Processing buffer {"connection_id":147353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:51:00] local.INFO: IMEI packet received {"connection_id":147353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":147353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:51:05] local.INFO: TCP Data received {"connection_id":147353,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:51:05] local.INFO: Processing buffer {"connection_id":147353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:51:05] local.INFO: IMEI packet received {"connection_id":147353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":147353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:51:06] local.INFO: TCP Data received {"connection_id":147353,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd0a32b0012d1968c0071fee10003d011426..."} 
[2026-08-01 16:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd0a32b0012d1968c0071fee10003d011426..."} 
[2026-08-01 16:51:06] local.INFO: Processing buffer {"connection_id":147353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd0a32b0012d1968c0071fee10003d011426..."} 
[2026-08-01 16:51:06] local.INFO: Packet analysis {"connection_id":147353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd0a"} 
[2026-08-01 16:51:06] local.INFO: Extracted packet for processing {"connection_id":147353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd0a"} 
[2026-08-01 16:51:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109240064001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785582990000,"timestamp_ms":1785582990000,"timestamp_seconds":1785582990,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd0a32b0"} 
[2026-08-01 16:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:51: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-08-01 16:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-01 16:51:06] 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-08-01 16:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:51:06] 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-08-01 16:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109240064001,"66":12232,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109240064001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:51:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:51:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109240064001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":147353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:51:06] local.INFO: GPS data processed {"connection_id":147353,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:51:06] local.INFO: Acknowledgment sent {"connection_id":147353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:51:21] local.INFO: TCP Data received {"connection_id":146115,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd0d8258012ceb7b800713b2f8001100a025..."} 
[2026-08-01 16:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd0d8258012ceb7b800713b2f8001100a025..."} 
[2026-08-01 16:51:21] local.INFO: Processing buffer {"connection_id":146115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd0d8258012ceb7b800713b2f8001100a025..."} 
[2026-08-01 16:51:21] local.INFO: Packet analysis {"connection_id":146115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd0d"} 
[2026-08-01 16:51:21] local.INFO: Extracted packet for processing {"connection_id":146115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd0d"} 
[2026-08-01 16:51:21] local.INFO: GPS Element Parsed {"raw_longitude":753630080,"raw_latitude":118731512,"longitude_deg":75.363008,"latitude_deg":11.8731512,"altitude":17,"angle":160,"satellites":37,"speed":0,"hex_longitude":"2ceb7b80","hex_latitude":"0713b2f8","is_valid_coordinates":true} 
[2026-08-01 16:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109295360001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:51:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033273856,"note":"Value kept but may cause issues"} 
[2026-08-01 16:51:21] 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-08-01 16:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785583207000,"timestamp_ms":1785583207000,"timestamp_seconds":1785583207,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd0d8258"} 
[2026-08-01 16:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-01 16:51:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:51:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109295360001,"66":27713,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478376916033273856},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-08-01 16:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109295360001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:51:21] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:51:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:51:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033273856,"description":"Unknown IO ID 44"} 
[2026-08-01 16:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109295360001,"power":27713,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033273856}} 
[2026-08-01 16:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":146115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:51:21] local.INFO: GPS data processed {"connection_id":146115,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:51:21] local.INFO: Acknowledgment sent {"connection_id":146115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:51:37] local.INFO: TCP Data received {"connection_id":147353,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd0a84b8012d1968c0071fee10003d011425..."} 
[2026-08-01 16:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd0a84b8012d1968c0071fee10003d011425..."} 
[2026-08-01 16:51:37] local.INFO: Processing buffer {"connection_id":147353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd0a84b8012d1968c0071fee10003d011425..."} 
[2026-08-01 16:51:37] local.INFO: Packet analysis {"connection_id":147353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd0a"} 
[2026-08-01 16:51:37] local.INFO: Extracted packet for processing {"connection_id":147353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd0a"} 
[2026-08-01 16:51:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109245440001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785583011000,"timestamp_ms":1785583011000,"timestamp_seconds":1785583011,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd0a84b8"} 
[2026-08-01 16:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-01 16:51:37] 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-08-01 16:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:51:37] 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-08-01 16:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109245440001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109245440001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:51:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:51:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109245440001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":147353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:51:37] local.INFO: GPS data processed {"connection_id":147353,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:51:37] local.INFO: Acknowledgment sent {"connection_id":147353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:51:43] local.INFO: TCP Data received {"connection_id":146116,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:51:43] local.INFO: Processing buffer {"connection_id":146116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:51:43] local.INFO: IMEI packet received {"connection_id":146116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":146116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:51:48] local.INFO: TCP Data received {"connection_id":146116,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:51:48] local.INFO: Processing buffer {"connection_id":146116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:51:48] local.INFO: IMEI packet received {"connection_id":146116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":146116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:51:49] local.INFO: TCP Data received {"connection_id":146116,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:51:49] local.INFO: Processing buffer {"connection_id":146116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:51:49] local.INFO: IMEI packet received {"connection_id":146116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":146116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:51:50] local.INFO: TCP Data received {"connection_id":146116,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd0dd460012ceb7b800713b2f8001100a024..."} 
[2026-08-01 16:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd0dd460012ceb7b800713b2f8001100a024..."} 
[2026-08-01 16:51:50] local.INFO: Processing buffer {"connection_id":146116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd0dd460012ceb7b800713b2f8001100a024..."} 
[2026-08-01 16:51:50] local.INFO: Packet analysis {"connection_id":146116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd0d"} 
[2026-08-01 16:51:50] local.INFO: Extracted packet for processing {"connection_id":146116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd0d"} 
[2026-08-01 16:51:50] local.INFO: GPS Element Parsed {"raw_longitude":753630080,"raw_latitude":118731512,"longitude_deg":75.363008,"latitude_deg":11.8731512,"altitude":17,"angle":160,"satellites":36,"speed":0,"hex_longitude":"2ceb7b80","hex_latitude":"0713b2f8","is_valid_coordinates":true} 
[2026-08-01 16:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109300992001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:51:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478447284777453568,"note":"Value kept but may cause issues"} 
[2026-08-01 16:51:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785583228000,"timestamp_ms":1785583228000,"timestamp_seconds":1785583228,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd0dd460"} 
[2026-08-01 16:51:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:51: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-08-01 16:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 16:51:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:51:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:51:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:51:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109300992001,"66":27767,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478447284777453568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-08-01 16:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109300992001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:51:50] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:51:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:51:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478447284777453568,"description":"Unknown IO ID 44"} 
[2026-08-01 16:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109300992001,"power":27767,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478447284777453568}} 
[2026-08-01 16:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":146116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:51:50] local.INFO: GPS data processed {"connection_id":146116,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:51:50] local.INFO: Acknowledgment sent {"connection_id":146116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:51:54] local.INFO: TCP Data received {"connection_id":146116,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd0e2668012ceb7b800713b2f8001100a022..."} 
[2026-08-01 16:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd0e2668012ceb7b800713b2f8001100a022..."} 
[2026-08-01 16:51:54] local.INFO: Processing buffer {"connection_id":146116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd0e2668012ceb7b800713b2f8001100a022..."} 
[2026-08-01 16:51:54] local.INFO: Packet analysis {"connection_id":146116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd0e"} 
[2026-08-01 16:51:54] local.INFO: Extracted packet for processing {"connection_id":146116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd0e"} 
[2026-08-01 16:51:54] local.INFO: GPS Element Parsed {"raw_longitude":753630080,"raw_latitude":118731512,"longitude_deg":75.363008,"latitude_deg":11.8731512,"altitude":17,"angle":160,"satellites":34,"speed":0,"hex_longitude":"2ceb7b80","hex_latitude":"0713b2f8","is_valid_coordinates":true} 
[2026-08-01 16:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:51:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109306368001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:51:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:51:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478447284777453568,"note":"Value kept but may cause issues"} 
[2026-08-01 16:51:54] 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-08-01 16:51:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785583249000,"timestamp_ms":1785583249000,"timestamp_seconds":1785583249,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd0e2668"} 
[2026-08-01 16:51:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:51:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 16:51:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:51:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:51:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:51:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:51:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:51:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:51:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:51:54] 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-08-01 16:51:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:51:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:51:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109306368001,"66":27713,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478447284777453568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-08-01 16:51:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:51:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:51:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109306368001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:51:54] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:51:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:51:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:51:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478447284777453568,"description":"Unknown IO ID 44"} 
[2026-08-01 16:51:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109306368001,"power":27713,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478447284777453568}} 
[2026-08-01 16:51:54] local.INFO: DEBUG: GPS processor result {"connection_id":146116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:51:54] local.INFO: GPS data processed {"connection_id":146116,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:51:54] local.INFO: Acknowledgment sent {"connection_id":146116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:52:00] local.INFO: TCP Data received {"connection_id":146117,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:52:00] local.INFO: Processing buffer {"connection_id":146117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:52:00] local.INFO: IMEI packet received {"connection_id":146117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":146117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:52:02] local.INFO: TCP Data received {"connection_id":146117,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:52:02] local.INFO: Processing buffer {"connection_id":146117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:52:02] local.INFO: IMEI packet received {"connection_id":146117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":146117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:52:05] local.INFO: TCP Data received {"connection_id":146117,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:52:05] local.INFO: Processing buffer {"connection_id":146117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:52:05] local.INFO: IMEI packet received {"connection_id":146117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":146117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:52:06] local.INFO: TCP Data received {"connection_id":146117,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd0e0b10012d1968c0071fee10003d011425..."} 
[2026-08-01 16:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd0e0b10012d1968c0071fee10003d011425..."} 
[2026-08-01 16:52:06] local.INFO: Processing buffer {"connection_id":146117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd0e0b10012d1968c0071fee10003d011425..."} 
[2026-08-01 16:52:06] local.INFO: Packet analysis {"connection_id":146117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd0e"} 
[2026-08-01 16:52:06] local.INFO: Extracted packet for processing {"connection_id":146117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd0e"} 
[2026-08-01 16:52:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109304576001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785583242000,"timestamp_ms":1785583242000,"timestamp_seconds":1785583242,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd0e0b10"} 
[2026-08-01 16:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:52: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-08-01 16:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-01 16:52:06] 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-08-01 16:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:52:06] 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-08-01 16:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109304576001,"66":12298,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109304576001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:52:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:52:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109304576001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":146117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578106,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:52:06] local.INFO: GPS data processed {"connection_id":146117,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:52:06] local.INFO: Acknowledgment sent {"connection_id":146117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:52:10] local.INFO: TCP Data received {"connection_id":146117,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd0e5d18012d1968c0071fee10003d011426..."} 
[2026-08-01 16:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd0e5d18012d1968c0071fee10003d011426..."} 
[2026-08-01 16:52:10] local.INFO: Processing buffer {"connection_id":146117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd0e5d18012d1968c0071fee10003d011426..."} 
[2026-08-01 16:52:10] local.INFO: Packet analysis {"connection_id":146117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd0e"} 
[2026-08-01 16:52:10] local.INFO: Extracted packet for processing {"connection_id":146117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd0e"} 
[2026-08-01 16:52:10] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109309952001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16: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-08-01 16:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785583263000,"timestamp_ms":1785583263000,"timestamp_seconds":1785583263,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd0e5d18"} 
[2026-08-01 16:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:52: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-08-01 16:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 16:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-01 16:52:10] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-01 16:52:10] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-01 16:52:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 16:52:10] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-7854277750134145023,"note":"Value kept but may cause issues"} 
[2026-08-01 16:52:10] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4824537347692619416,"note":"Value kept but may cause issues"} 
[2026-08-01 16:52:10] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390635034411284,"note":"Value kept but may cause issues"} 
[2026-08-01 16:52:10] local.WARNING: Large IO value detected {"io_id":61,"raw_value":77729974525624320,"note":"Value kept but may cause issues"} 
[2026-08-01 16:52:10] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832598,"note":"Value kept but may cause issues"} 
[2026-08-01 16:52:10] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-08-01 16:52:10] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026045,"note":"Value kept but may cause issues"} 
[2026-08-01 16:52:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-01 16:52:10] local.WARNING: Large IO value detected {"io_id":112,"raw_value":3892391193,"note":"Value kept but may cause issues"} 
[2026-08-01 16:52:10] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-01 16:52:10] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-08-01 16:52:10] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,120,159,185,45,192,238,61,40,10,66,103,41,20,1,240,255,227,189,31,4,113,205,112,104,37,239,47,2,36,7,39],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-01 16:52:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395816860436660224,"timestamp_seconds":4395816860436660.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 16:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:52: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-08-01 16:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109309952001,"66":12232,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109309952001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:52:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:52:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109309952001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":146117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:52:10] local.INFO: GPS data processed {"connection_id":146117,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:52:10] local.INFO: Acknowledgment sent {"connection_id":146117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:52:25] local.INFO: TCP Data received {"connection_id":146116,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd0e7870012ceb7b800713b2f8001100a023..."} 
[2026-08-01 16:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd0e7870012ceb7b800713b2f8001100a023..."} 
[2026-08-01 16:52:25] local.INFO: Processing buffer {"connection_id":146116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd0e7870012ceb7b800713b2f8001100a023..."} 
[2026-08-01 16:52:25] local.INFO: Packet analysis {"connection_id":146116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd0e"} 
[2026-08-01 16:52:25] local.INFO: Extracted packet for processing {"connection_id":146116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd0e"} 
[2026-08-01 16:52:25] local.INFO: GPS Element Parsed {"raw_longitude":753630080,"raw_latitude":118731512,"longitude_deg":75.363008,"latitude_deg":11.8731512,"altitude":17,"angle":160,"satellites":35,"speed":0,"hex_longitude":"2ceb7b80","hex_latitude":"0713b2f8","is_valid_coordinates":true} 
[2026-08-01 16:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109311744001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:52:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478447284777453568,"note":"Value kept but may cause issues"} 
[2026-08-01 16:52:25] 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-08-01 16:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785583270000,"timestamp_ms":1785583270000,"timestamp_seconds":1785583270,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd0e7870"} 
[2026-08-01 16:52:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:52:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 16:52:25] 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-08-01 16:52:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:52:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":146116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":146116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":146116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:52:25] 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-08-01 16:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109311744001,"66":27800,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478447284777453568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-08-01 16:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109311744001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:52:25] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:52:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:52:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478447284777453568,"description":"Unknown IO ID 44"} 
[2026-08-01 16:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109311744001,"power":27800,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478447284777453568}} 
[2026-08-01 16:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":146116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:52:25] local.INFO: GPS data processed {"connection_id":146116,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:52:25] local.INFO: Acknowledgment sent {"connection_id":146116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:52:41] local.INFO: TCP Data received {"connection_id":146117,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd0eaf20012d1968c0071fee10003d011427..."} 
[2026-08-01 16:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd0eaf20012d1968c0071fee10003d011427..."} 
[2026-08-01 16:52:41] local.INFO: Processing buffer {"connection_id":146117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd0eaf20012d1968c0071fee10003d011427..."} 
[2026-08-01 16:52:41] local.INFO: Packet analysis {"connection_id":146117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd0e"} 
[2026-08-01 16:52:41] local.INFO: Extracted packet for processing {"connection_id":146117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd0e"} 
[2026-08-01 16:52:41] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109315328001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16: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-08-01 16:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785583284000,"timestamp_ms":1785583284000,"timestamp_seconds":1785583284,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd0eaf20"} 
[2026-08-01 16:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:52: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-08-01 16: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-01 16:52:41] 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-08-01 16: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-08-01 16:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":146117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":146117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":146117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:52: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-08-01 16:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109315328001,"66":12265,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109315328001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:52:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:52:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109315328001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":146117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:52:41] local.INFO: GPS data processed {"connection_id":146117,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:52:41] local.INFO: Acknowledgment sent {"connection_id":146117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:52:49] local.INFO: TCP Data received {"connection_id":146341,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:52:49] local.INFO: Processing buffer {"connection_id":146341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:52:49] local.INFO: IMEI packet received {"connection_id":146341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":146341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:52:49] local.INFO: TCP Data received {"connection_id":146341,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:52:49] local.INFO: Processing buffer {"connection_id":146341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:52:49] local.INFO: IMEI packet received {"connection_id":146341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":146341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:52:54] local.INFO: TCP Data received {"connection_id":146341,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:52:54] local.INFO: Processing buffer {"connection_id":146341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:52:54] local.INFO: IMEI packet received {"connection_id":146341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":146341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:52:55] local.INFO: TCP Data received {"connection_id":146341,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd0eca78012ceb7b800713b2f8001100a020..."} 
[2026-08-01 16:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd0eca78012ceb7b800713b2f8001100a020..."} 
[2026-08-01 16:52:55] local.INFO: Processing buffer {"connection_id":146341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd0eca78012ceb7b800713b2f8001100a020..."} 
[2026-08-01 16:52:55] local.INFO: Packet analysis {"connection_id":146341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd0e"} 
[2026-08-01 16:52:55] local.INFO: Extracted packet for processing {"connection_id":146341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd0e"} 
[2026-08-01 16:52:55] local.INFO: GPS Element Parsed {"raw_longitude":753630080,"raw_latitude":118731512,"longitude_deg":75.363008,"latitude_deg":11.8731512,"altitude":17,"angle":160,"satellites":32,"speed":0,"hex_longitude":"2ceb7b80","hex_latitude":"0713b2f8","is_valid_coordinates":true} 
[2026-08-01 16:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109317120001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608164889559040,"note":"Value kept but may cause issues"} 
[2026-08-01 16:52:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478447284777453568,"note":"Value kept but may cause issues"} 
[2026-08-01 16:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785583291000,"timestamp_ms":1785583291000,"timestamp_seconds":1785583291,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd0eca78"} 
[2026-08-01 16:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:52: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-08-01 16:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 16:52: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-08-01 16:52:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":146341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":146341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":146341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:52:55] 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-08-01 16:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109317120001,"66":27865,"191":206,"83":41472,"24":0,"16":366608164889559040,"44":-1478447284777453568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-08-01 16:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109317120001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:52:55] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:52:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608164889559040,"km_value":366608164889559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:52:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478447284777453568,"description":"Unknown IO ID 44"} 
[2026-08-01 16:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109317120001,"power":27865,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478447284777453568}} 
[2026-08-01 16:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":146341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:52:55] local.INFO: GPS data processed {"connection_id":146341,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:52:55] local.INFO: Acknowledgment sent {"connection_id":146341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:53:00] local.INFO: TCP Data received {"connection_id":146342,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:53:00] local.INFO: Processing buffer {"connection_id":146342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:53:00] local.INFO: IMEI packet received {"connection_id":146342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":146342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:53:01] local.INFO: TCP Data received {"connection_id":146341,"ip":"42.106.6.24","data_length":1348,"data_hex":"000000000000030f8e0a0000019fbd0f0510012ceb7b800713b3f80013000925..."} 
[2026-08-01 16:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146341,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019fbd0f0510012ceb7b800713b3f80013000925..."} 
[2026-08-01 16:53:01] local.INFO: Processing buffer {"connection_id":146341,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a0000019fbd0f0510012ceb7b800713b3f80013000925..."} 
[2026-08-01 16:53:01] local.INFO: Packet analysis {"connection_id":146341,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a0000019fbd0f"} 
[2026-08-01 16:53:01] local.INFO: Extracted packet for processing {"connection_id":146341,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019fbd0f"} 
[2026-08-01 16:53:01] local.INFO: GPS Element Parsed {"raw_longitude":753630080,"raw_latitude":118731768,"longitude_deg":75.363008,"latitude_deg":11.8731768,"altitude":19,"angle":9,"satellites":37,"speed":2,"hex_longitude":"2ceb7b80","hex_latitude":"0713b3f8","is_valid_coordinates":true} 
[2026-08-01 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-08-01 16:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109322496001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608177774460928,"note":"Value kept but may cause issues"} 
[2026-08-01 16:53:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478447284777453568,"note":"Value kept but may cause issues"} 
[2026-08-01 16:53: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-08-01 16:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785583306000,"timestamp_ms":1785583306000,"timestamp_seconds":1785583306,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd0f0510"} 
[2026-08-01 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-08-01 16:53: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-08-01 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 16:53: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-08-01 16: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-08-01 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-08-01 16:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":146341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":146341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":146341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:53: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-08-01 16:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109322496001,"66":27995,"191":206,"83":41472,"24":2,"16":366608177774460928,"44":-1478447284777453568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-08-01 16:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109322496001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:53:01] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:53:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608177774460928,"km_value":366608177774460.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:53:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478447284777453568,"description":"Unknown IO ID 44"} 
[2026-08-01 16:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109322496001,"power":27995,"unknown_191":206,"unknown_83":41472,"ignition":2,"odometer":null,"unknown_44":-1478447284777453568}} 
[2026-08-01 16:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":146341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:53:01] local.INFO: GPS data processed {"connection_id":146341,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:53:01] local.INFO: Acknowledgment sent {"connection_id":146341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:53:01] local.INFO: Packet analysis {"connection_id":146341,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019fbd0f"} 
[2026-08-01 16:53:01] local.INFO: Incomplete packet, waiting for more data {"connection_id":146341,"needed":795,"available":553} 
[2026-08-01 16:53:05] local.INFO: TCP Data received {"connection_id":146341,"ip":"42.106.6.24","data_length":242,"data_hex":"0000000000019fbd0d2c68012ceb7bc00713b300001100a026000000ef000a00..."} 
[2026-08-01 16:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146341,"packet_length":242,"packet_hex":"0000000000019fbd0d2c68012ceb7bc00713b300001100a026000000ef000a00..."} 
[2026-08-01 16:53:05] local.INFO: Processing buffer {"connection_id":146341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd0f10c8012ceb7b800713b4080014016026..."} 
[2026-08-01 16:53:05] local.INFO: Packet analysis {"connection_id":146341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd0f"} 
[2026-08-01 16:53:05] local.INFO: Extracted packet for processing {"connection_id":146341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd0f"} 
[2026-08-01 16:53:05] local.INFO: GPS Element Parsed {"raw_longitude":753630080,"raw_latitude":118731784,"longitude_deg":75.363008,"latitude_deg":11.8731784,"altitude":20,"angle":352,"satellites":38,"speed":0,"hex_longitude":"2ceb7b80","hex_latitude":"0713b408","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109326336001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608182069428224,"note":"Value kept but may cause issues"} 
[2026-08-01 16:53:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478447284777388032,"note":"Value kept but may cause issues"} 
[2026-08-01 16:53:05] 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-08-01 16:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785583309000,"timestamp_ms":1785583309000,"timestamp_seconds":1785583309,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd0f10c8"} 
[2026-08-01 16:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-01 16:53: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-08-01 16: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-08-01 16:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:53: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-08-01 16:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109326336001,"66":27919,"191":206,"83":41472,"24":0,"16":366608182069428224,"44":-1478447284777388032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-08-01 16:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109326336001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:53:05] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-01 16:53:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608182069428224,"km_value":366608182069428.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:53:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478447284777388032,"description":"Unknown IO ID 44"} 
[2026-08-01 16:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109326336001,"power":27919,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478447284777388032}} 
[2026-08-01 16:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":146341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:53:05] local.INFO: GPS data processed {"connection_id":146341,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:53:05] local.INFO: Acknowledgment sent {"connection_id":146341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:53:05] local.INFO: TCP Data received {"connection_id":146342,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:53:05] local.INFO: Processing buffer {"connection_id":146342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:53:05] local.INFO: IMEI packet received {"connection_id":146342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":146342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:53:06] local.INFO: TCP Data received {"connection_id":146342,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd0f0128012d1968c0071fee10003d011427..."} 
[2026-08-01 16:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd0f0128012d1968c0071fee10003d011427..."} 
[2026-08-01 16:53:06] local.INFO: Processing buffer {"connection_id":146342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd0f0128012d1968c0071fee10003d011427..."} 
[2026-08-01 16:53:06] local.INFO: Packet analysis {"connection_id":146342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd0f"} 
[2026-08-01 16:53:06] local.INFO: Extracted packet for processing {"connection_id":146342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd0f"} 
[2026-08-01 16:53:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109320704001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785583305000,"timestamp_ms":1785583305000,"timestamp_seconds":1785583305,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd0f0128"} 
[2026-08-01 16:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-01 16:53:06] 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-08-01 16:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:53:06] 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-08-01 16:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109320704001,"66":12298,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109320704001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:53:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:53:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109320704001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":146342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578113,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:53:06] local.INFO: GPS data processed {"connection_id":146342,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:53:06] local.INFO: Acknowledgment sent {"connection_id":146342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:53:37] local.INFO: TCP Data received {"connection_id":146342,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd0f5330012d1968c0071fee10003d011427..."} 
[2026-08-01 16:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd0f5330012d1968c0071fee10003d011427..."} 
[2026-08-01 16:53:37] local.INFO: Processing buffer {"connection_id":146342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd0f5330012d1968c0071fee10003d011427..."} 
[2026-08-01 16:53:37] local.INFO: Packet analysis {"connection_id":146342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd0f"} 
[2026-08-01 16:53:37] local.INFO: Extracted packet for processing {"connection_id":146342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd0f"} 
[2026-08-01 16:53:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109326080001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785583326000,"timestamp_ms":1785583326000,"timestamp_seconds":1785583326,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd0f5330"} 
[2026-08-01 16:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 16:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-01 16:53:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-01 16:53:37] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-01 16:53:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 16:53:37] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-7854277750134145023,"note":"Value kept but may cause issues"} 
[2026-08-01 16:53:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4824266764752971416,"note":"Value kept but may cause issues"} 
[2026-08-01 16:53:37] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390635034411284,"note":"Value kept but may cause issues"} 
[2026-08-01 16:53:37] local.WARNING: Large IO value detected {"io_id":61,"raw_value":77729974525624320,"note":"Value kept but may cause issues"} 
[2026-08-01 16:53:37] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832598,"note":"Value kept but may cause issues"} 
[2026-08-01 16:53:37] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-08-01 16:53:37] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026045,"note":"Value kept but may cause issues"} 
[2026-08-01 16:53:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-01 16:53:37] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-01 16:53:37] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-08-01 16:53:37] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,120,159,175,45,192,238,61,39,10,66,93,38,11,1,240,227,189,31,4,113,205,103,104,41,239,47,2,36,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-01 16:53:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395816869026594816,"timestamp_seconds":4395816869026595.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 16:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:53:37] 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-08-01 16:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109326080001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109326080001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:53:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:53:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109326080001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":146342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:53:37] local.INFO: GPS data processed {"connection_id":146342,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:53:37] local.INFO: Acknowledgment sent {"connection_id":146342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:53:43] local.INFO: TCP Data received {"connection_id":146343,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:53:43] local.INFO: Processing buffer {"connection_id":146343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:53:43] local.INFO: IMEI packet received {"connection_id":146343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":146343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:53:44] local.INFO: TCP Data received {"connection_id":146343,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:53:44] local.INFO: Processing buffer {"connection_id":146343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:53:44] local.INFO: IMEI packet received {"connection_id":146343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":146343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:53:49] local.INFO: TCP Data received {"connection_id":146343,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:53:49] local.INFO: Processing buffer {"connection_id":146343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:53:49] local.INFO: IMEI packet received {"connection_id":146343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":146343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:53:49] local.INFO: TCP Data received {"connection_id":146343,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd0fdfd0012ceb67400713bd280011011428..."} 
[2026-08-01 16:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd0fdfd0012ceb67400713bd280011011428..."} 
[2026-08-01 16:53:49] local.INFO: Processing buffer {"connection_id":146343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd0fdfd0012ceb67400713bd280011011428..."} 
[2026-08-01 16:53:49] local.INFO: Packet analysis {"connection_id":146343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd0f"} 
[2026-08-01 16:53:49] local.INFO: Extracted packet for processing {"connection_id":146343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd0f"} 
[2026-08-01 16:53:49] local.INFO: GPS Element Parsed {"raw_longitude":753624896,"raw_latitude":118734120,"longitude_deg":75.3624896,"latitude_deg":11.873412,"altitude":17,"angle":276,"satellites":40,"speed":17,"hex_longitude":"2ceb6740","hex_latitude":"0713bd28","is_valid_coordinates":true} 
[2026-08-01 16:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:53:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109338624001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:53:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608564321517568,"note":"Value kept but may cause issues"} 
[2026-08-01 16:53:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1480839822078738432,"note":"Value kept but may cause issues"} 
[2026-08-01 16:53:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:53:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785583362000,"timestamp_ms":1785583362000,"timestamp_seconds":1785583362,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd0fdfd0"} 
[2026-08-01 16:53:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:53:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 16:53: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-08-01 16:53:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:53:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:53:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:53:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:53:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:53:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:53:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:53:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:53:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:53:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109338624001,"66":27865,"192":206,"83":41472,"24":17,"16":366608564321517568,"44":-1480839822078738432},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-08-01 16:53:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:53:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:53:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109338624001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:53:49] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-01 16:53:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:53:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608564321517568,"km_value":366608564321517.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:53:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1480839822078738432,"description":"Unknown IO ID 44"} 
[2026-08-01 16:53:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109338624001,"power":27865,"unknown_192":206,"unknown_83":41472,"ignition":17,"odometer":null,"unknown_44":-1480839822078738432}} 
[2026-08-01 16:53:49] local.INFO: DEBUG: GPS processor result {"connection_id":146343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:53:49] local.INFO: GPS data processed {"connection_id":146343,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:53:49] local.INFO: Acknowledgment sent {"connection_id":146343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:54:00] local.INFO: TCP Data received {"connection_id":147354,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147354,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:54:00] local.INFO: Processing buffer {"connection_id":147354,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:54:00] local.INFO: IMEI packet received {"connection_id":147354,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":147354,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:54:05] local.INFO: TCP Data received {"connection_id":147354,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147354,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:54:05] local.INFO: Processing buffer {"connection_id":147354,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:54:05] local.INFO: IMEI packet received {"connection_id":147354,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":147354,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:54:06] local.INFO: TCP Data received {"connection_id":147354,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd0fa538012d1968c0071fee10003d011425..."} 
[2026-08-01 16:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd0fa538012d1968c0071fee10003d011425..."} 
[2026-08-01 16:54:06] local.INFO: Processing buffer {"connection_id":147354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd0fa538012d1968c0071fee10003d011425..."} 
[2026-08-01 16:54:06] local.INFO: Packet analysis {"connection_id":147354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd0f"} 
[2026-08-01 16:54:06] local.INFO: Extracted packet for processing {"connection_id":147354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd0f"} 
[2026-08-01 16:54:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109331456001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785583347000,"timestamp_ms":1785583347000,"timestamp_seconds":1785583347,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd0fa538"} 
[2026-08-01 16:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16: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-08-01 16:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:54:06] 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-08-01 16:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109331456001,"66":12298,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109331456001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:54:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:54:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109331456001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":147354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:54:06] local.INFO: GPS data processed {"connection_id":147354,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:54:06] local.INFO: Acknowledgment sent {"connection_id":147354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:54:20] local.INFO: TCP Data received {"connection_id":146343,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd0fe7a0012ceb63800713be200010012329..."} 
[2026-08-01 16:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd0fe7a0012ceb63800713be200010012329..."} 
[2026-08-01 16:54:20] local.INFO: Processing buffer {"connection_id":146343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd0fe7a0012ceb63800713be200010012329..."} 
[2026-08-01 16:54:20] local.INFO: Packet analysis {"connection_id":146343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd0f"} 
[2026-08-01 16:54:20] local.INFO: Extracted packet for processing {"connection_id":146343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd0f"} 
[2026-08-01 16:54:20] local.INFO: GPS Element Parsed {"raw_longitude":753623936,"raw_latitude":118734368,"longitude_deg":75.3623936,"latitude_deg":11.8734368,"altitude":16,"angle":291,"satellites":41,"speed":19,"hex_longitude":"2ceb6380","hex_latitude":"0713be20","is_valid_coordinates":true} 
[2026-08-01 16:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109340672001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608611566157824,"note":"Value kept but may cause issues"} 
[2026-08-01 16:54:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1484147153055176704,"note":"Value kept but may cause issues"} 
[2026-08-01 16:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785583364000,"timestamp_ms":1785583364000,"timestamp_seconds":1785583364,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd0fe7a0"} 
[2026-08-01 16:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:54: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-08-01 16:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 16:54: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-08-01 16:54:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:54:20] 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-08-01 16:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109340672001,"66":27800,"192":206,"83":41472,"24":19,"16":366608611566157824,"44":-1484147153055176704},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-08-01 16:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109340672001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:54:20] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-01 16:54:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608611566157824,"km_value":366608611566157.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:54:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1484147153055176704,"description":"Unknown IO ID 44"} 
[2026-08-01 16:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109340672001,"power":27800,"unknown_192":206,"unknown_83":41472,"ignition":19,"odometer":null,"unknown_44":-1484147153055176704}} 
[2026-08-01 16:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":146343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:54:20] local.INFO: GPS data processed {"connection_id":146343,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:54:20] local.INFO: Acknowledgment sent {"connection_id":146343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:54:37] local.INFO: TCP Data received {"connection_id":147354,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd0ff740012d1968c0071fee10003d011424..."} 
[2026-08-01 16:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd0ff740012d1968c0071fee10003d011424..."} 
[2026-08-01 16:54:37] local.INFO: Processing buffer {"connection_id":147354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd0ff740012d1968c0071fee10003d011424..."} 
[2026-08-01 16:54:37] local.INFO: Packet analysis {"connection_id":147354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd0f"} 
[2026-08-01 16:54:37] local.INFO: Extracted packet for processing {"connection_id":147354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd0f"} 
[2026-08-01 16:54:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109336832001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785583368000,"timestamp_ms":1785583368000,"timestamp_seconds":1785583368,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd0ff740"} 
[2026-08-01 16:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 16:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-01 16:54:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-01 16:54:37] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-01 16:54:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 16:54:37] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-7854277750134145023,"note":"Value kept but may cause issues"} 
[2026-08-01 16:54:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4824086376126539416,"note":"Value kept but may cause issues"} 
[2026-08-01 16:54:37] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390635034411284,"note":"Value kept but may cause issues"} 
[2026-08-01 16:54:37] local.WARNING: Large IO value detected {"io_id":61,"raw_value":77731074037252096,"note":"Value kept but may cause issues"} 
[2026-08-01 16:54:37] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832597,"note":"Value kept but may cause issues"} 
[2026-08-01 16:54:37] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3452291471844442318,"note":"Value kept but may cause issues"} 
[2026-08-01 16:54:37] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026045,"note":"Value kept but may cause issues"} 
[2026-08-01 16:54:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-01 16:54:37] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-01 16:54:37] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,120,159,45,192,238,61,39,10,66,1,175,240,233,227,189,31,4,113,205,11,104,37,239,48,2,36,7,41],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-01 16:54:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395816860436660224,"timestamp_seconds":4395816860436660.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 16:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:54:37] 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-08-01 16:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109336832001,"66":12287,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109336832001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:54:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:54:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109336832001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":147354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:54:37] local.INFO: GPS data processed {"connection_id":147354,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:54:37] local.INFO: Acknowledgment sent {"connection_id":147354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:54:49] local.INFO: TCP Data received {"connection_id":146118,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:54:49] local.INFO: Processing buffer {"connection_id":146118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:54:49] local.INFO: IMEI packet received {"connection_id":146118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":146118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:54:49] local.INFO: TCP Data received {"connection_id":146118,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:54:49] local.INFO: Processing buffer {"connection_id":146118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:54:49] local.INFO: IMEI packet received {"connection_id":146118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":146118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:54:50] local.INFO: TCP Data received {"connection_id":146118,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd0fff10012ceb56c00713c4d8001001302c..."} 
[2026-08-01 16:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd0fff10012ceb56c00713c4d8001001302c..."} 
[2026-08-01 16:54:50] local.INFO: Processing buffer {"connection_id":146118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd0fff10012ceb56c00713c4d8001001302c..."} 
[2026-08-01 16:54:50] local.INFO: Packet analysis {"connection_id":146118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd0f"} 
[2026-08-01 16:54:50] local.INFO: Extracted packet for processing {"connection_id":146118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd0f"} 
[2026-08-01 16:54:50] local.INFO: GPS Element Parsed {"raw_longitude":753620672,"raw_latitude":118736088,"longitude_deg":75.3620672,"latitude_deg":11.8736088,"altitude":16,"angle":304,"satellites":44,"speed":25,"hex_longitude":"2ceb56c0","hex_latitude":"0713c4d8","is_valid_coordinates":true} 
[2026-08-01 16:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109341184001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366608787659816960,"note":"Value kept but may cause issues"} 
[2026-08-01 16:54:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1485202684217778176,"note":"Value kept but may cause issues"} 
[2026-08-01 16:54:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785583370000,"timestamp_ms":1785583370000,"timestamp_seconds":1785583370,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd0fff10"} 
[2026-08-01 16:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:54:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 16:54:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:54:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:54:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109341184001,"66":27800,"192":206,"83":41472,"24":25,"16":366608787659816960,"44":-1485202684217778176},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-08-01 16:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109341184001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:54:50] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-01 16:54:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366608787659816960,"km_value":366608787659816.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:54:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1485202684217778176,"description":"Unknown IO ID 44"} 
[2026-08-01 16:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109341184001,"power":27800,"unknown_192":206,"unknown_83":41472,"ignition":25,"odometer":null,"unknown_44":-1485202684217778176}} 
[2026-08-01 16:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":146118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:54:50] local.INFO: GPS data processed {"connection_id":146118,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:54:50] local.INFO: Acknowledgment sent {"connection_id":146118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:54:54] local.INFO: TCP Data received {"connection_id":146118,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd104178012ceb41400713d390000d011b28..."} 
[2026-08-01 16:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd104178012ceb41400713d390000d011b28..."} 
[2026-08-01 16:54:54] local.INFO: Processing buffer {"connection_id":146118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd104178012ceb41400713d390000d011b28..."} 
[2026-08-01 16:54:54] local.INFO: Packet analysis {"connection_id":146118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd10"} 
[2026-08-01 16:54:54] local.INFO: Extracted packet for processing {"connection_id":146118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd10"} 
[2026-08-01 16:54:54] local.INFO: GPS Element Parsed {"raw_longitude":753615168,"raw_latitude":118739856,"longitude_deg":75.3615168,"latitude_deg":11.8739856,"altitude":13,"angle":283,"satellites":40,"speed":14,"hex_longitude":"2ceb4140","hex_latitude":"0713d390","is_valid_coordinates":true} 
[2026-08-01 16:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109342720001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366609105487396864,"note":"Value kept but may cause issues"} 
[2026-08-01 16:54:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1488791490170398720,"note":"Value kept but may cause issues"} 
[2026-08-01 16:54:54] 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-08-01 16:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785583387000,"timestamp_ms":1785583387000,"timestamp_seconds":1785583387,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd104178"} 
[2026-08-01 16:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:54:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 16:54:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:54:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:54:54] 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-08-01 16:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109342720001,"66":27800,"38":206,"83":41472,"24":14,"16":366609105487396864,"44":-1488791490170398720},"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-08-01 16:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109342720001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:54:54] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-01 16:54:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366609105487396864,"km_value":366609105487396.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:54:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1488791490170398720,"description":"Unknown IO ID 44"} 
[2026-08-01 16:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109342720001,"power":27800,"unknown_38":206,"unknown_83":41472,"ignition":14,"odometer":null,"unknown_44":-1488791490170398720}} 
[2026-08-01 16:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":146118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:54:54] local.INFO: GPS data processed {"connection_id":146118,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:54:54] local.INFO: Acknowledgment sent {"connection_id":146118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:55:00] local.INFO: TCP Data received {"connection_id":148654,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148654,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:55:00] local.INFO: Processing buffer {"connection_id":148654,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:55:00] local.INFO: IMEI packet received {"connection_id":148654,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":148654,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:55:05] local.INFO: TCP Data received {"connection_id":148654,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148654,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:55:05] local.INFO: Processing buffer {"connection_id":148654,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:55:05] local.INFO: IMEI packet received {"connection_id":148654,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":148654,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:55:06] local.INFO: TCP Data received {"connection_id":148654,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd104948012d1968c0071fee10003d011427..."} 
[2026-08-01 16:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd104948012d1968c0071fee10003d011427..."} 
[2026-08-01 16:55:06] local.INFO: Processing buffer {"connection_id":148654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd104948012d1968c0071fee10003d011427..."} 
[2026-08-01 16:55:06] local.INFO: Packet analysis {"connection_id":148654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd10"} 
[2026-08-01 16:55:06] local.INFO: Extracted packet for processing {"connection_id":148654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd10"} 
[2026-08-01 16:55:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109342208001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785583389000,"timestamp_ms":1785583389000,"timestamp_seconds":1785583389,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd104948"} 
[2026-08-01 16:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 16:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16: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-08-01 16:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:55:06] 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-08-01 16:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109342208001,"66":12232,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109342208001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:55:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:55:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109342208001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":148654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:55:06] local.INFO: GPS data processed {"connection_id":148654,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:55:06] local.INFO: Acknowledgment sent {"connection_id":148654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:55:25] local.INFO: TCP Data received {"connection_id":146118,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd1087c8012ceb24800713d8c8000b010d26..."} 
[2026-08-01 16:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd1087c8012ceb24800713d8c8000b010d26..."} 
[2026-08-01 16:55:25] local.INFO: Processing buffer {"connection_id":146118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd1087c8012ceb24800713d8c8000b010d26..."} 
[2026-08-01 16:55:25] local.INFO: Packet analysis {"connection_id":146118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd10"} 
[2026-08-01 16:55:25] local.INFO: Extracted packet for processing {"connection_id":146118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd10"} 
[2026-08-01 16:55:25] local.INFO: GPS Element Parsed {"raw_longitude":753607808,"raw_latitude":118741192,"longitude_deg":75.3607808,"latitude_deg":11.8741192,"altitude":11,"angle":269,"satellites":38,"speed":11,"hex_longitude":"2ceb2480","hex_latitude":"0713d8c8","is_valid_coordinates":true} 
[2026-08-01 16:55:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109347072001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366609461969682432,"note":"Value kept but may cause issues"} 
[2026-08-01 16:55:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1494843202168713216,"note":"Value kept but may cause issues"} 
[2026-08-01 16:55:25] 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-08-01 16:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785583405000,"timestamp_ms":1785583405000,"timestamp_seconds":1785583405,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd1087c8"} 
[2026-08-01 16:55:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:55:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:55:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 16:55:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:55:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:55:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":146118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":146118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":146118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:55:25] 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-08-01 16:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109347072001,"66":27919,"38":206,"83":41472,"24":11,"16":366609461969682432,"44":-1494843202168713216},"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-08-01 16:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109347072001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:55:25] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-01 16:55:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366609461969682432,"km_value":366609461969682.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:55:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1494843202168713216,"description":"Unknown IO ID 44"} 
[2026-08-01 16:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109347072001,"power":27919,"unknown_38":206,"unknown_83":41472,"ignition":11,"odometer":null,"unknown_44":-1494843202168713216}} 
[2026-08-01 16:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":146118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:55:25] local.INFO: GPS data processed {"connection_id":146118,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:55:25] local.INFO: Acknowledgment sent {"connection_id":146118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:55:37] local.INFO: TCP Data received {"connection_id":148654,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd109b50012d1968c0071fee10003d011427..."} 
[2026-08-01 16:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd109b50012d1968c0071fee10003d011427..."} 
[2026-08-01 16:55:37] local.INFO: Processing buffer {"connection_id":148654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd109b50012d1968c0071fee10003d011427..."} 
[2026-08-01 16:55:37] local.INFO: Packet analysis {"connection_id":148654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd10"} 
[2026-08-01 16:55:37] local.INFO: Extracted packet for processing {"connection_id":148654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd10"} 
[2026-08-01 16:55:37] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533072,"longitude_deg":75.6639936,"latitude_deg":11.9533072,"altitude":61,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109347584001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10265671917109248,"note":"Value kept but may cause issues"} 
[2026-08-01 16:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359106048,"note":"Value kept but may cause issues"} 
[2026-08-01 16:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785583410000,"timestamp_ms":1785583410000,"timestamp_seconds":1785583410,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd109b50"} 
[2026-08-01 16:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-01 16:55:37] 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-08-01 16: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-08-01 16:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 16:55:37] 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-08-01 16:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 16:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 16:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109347584001,"66":12254,"102":206,"83":41984,"24":0,"16":10265671917109248,"45":1830924385359106048},"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-08-01 16:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 16:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 16:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109347584001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:55:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 16:55:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 16:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10265671917109248,"km_value":10265671917109.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359106048,"description":"Unknown IO ID 45"} 
[2026-08-01 16:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109347584001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359106048}} 
[2026-08-01 16:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":148654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:55:37] local.INFO: GPS data processed {"connection_id":148654,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:55:37] local.INFO: Acknowledgment sent {"connection_id":148654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:55:44] local.INFO: TCP Data received {"connection_id":146119,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:55:44] local.INFO: Processing buffer {"connection_id":146119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:55:44] local.INFO: IMEI packet received {"connection_id":146119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":146119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:55:49] local.INFO: TCP Data received {"connection_id":146119,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:55:49] local.INFO: Processing buffer {"connection_id":146119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:55:49] local.INFO: IMEI packet received {"connection_id":146119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":146119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:55:49] local.INFO: TCP Data received {"connection_id":146119,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd109b50012ceb1c800713d990000b011e25..."} 
[2026-08-01 16:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd109b50012ceb1c800713d990000b011e25..."} 
[2026-08-01 16:55:49] local.INFO: Processing buffer {"connection_id":146119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd109b50012ceb1c800713d990000b011e25..."} 
[2026-08-01 16:55:49] local.INFO: Packet analysis {"connection_id":146119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd10"} 
[2026-08-01 16:55:49] local.INFO: Extracted packet for processing {"connection_id":146119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd10"} 
[2026-08-01 16:55:49] local.INFO: GPS Element Parsed {"raw_longitude":753605760,"raw_latitude":118741392,"longitude_deg":75.360576,"latitude_deg":11.8741392,"altitude":11,"angle":286,"satellites":37,"speed":16,"hex_longitude":"2ceb1c80","hex_latitude":"0713d990","is_valid_coordinates":true} 
[2026-08-01 16:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109351680001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366609560753930240,"note":"Value kept but may cause issues"} 
[2026-08-01 16:55:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1502935607748802560,"note":"Value kept but may cause issues"} 
[2026-08-01 16:55:49] 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-08-01 16:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785583410000,"timestamp_ms":1785583410000,"timestamp_seconds":1785583410,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd109b50"} 
[2026-08-01 16:55:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:55: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-08-01 16:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 16:55:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:55:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:55:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:55:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109351680001,"66":27767,"38":206,"83":41472,"24":16,"16":366609560753930240,"44":-1502935607748802560},"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-08-01 16:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:55:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:55:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109351680001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:55:50] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-01 16:55:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-01 16:55:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366609560753930240,"km_value":366609560753930.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:55:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1502935607748802560,"description":"Unknown IO ID 44"} 
[2026-08-01 16:55:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109351680001,"power":27767,"unknown_38":206,"unknown_83":41472,"ignition":16,"odometer":null,"unknown_44":-1502935607748802560}} 
[2026-08-01 16:55:50] local.INFO: DEBUG: GPS processor result {"connection_id":146119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:55:50] local.INFO: GPS data processed {"connection_id":146119,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:55:50] local.INFO: Acknowledgment sent {"connection_id":146119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:56:03] local.INFO: TCP Data received {"connection_id":148655,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:56:03] local.INFO: Processing buffer {"connection_id":148655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:56:03] local.INFO: IMEI packet received {"connection_id":148655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 16:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":148655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:56:04] local.INFO: TCP Data received {"connection_id":148655,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:56:04] local.INFO: Processing buffer {"connection_id":148655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:56:04] local.INFO: IMEI packet received {"connection_id":148655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":148655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:56:05] local.INFO: TCP Data received {"connection_id":148655,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:56:05] local.INFO: Processing buffer {"connection_id":148655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:56:05] local.INFO: IMEI packet received {"connection_id":148655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":148655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:56:05] local.INFO: TCP Data received {"connection_id":148655,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:56:05] local.INFO: Processing buffer {"connection_id":148655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 16:56:05] local.INFO: IMEI packet received {"connection_id":148655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 16:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":148655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:56:21] local.INFO: TCP Data received {"connection_id":146119,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd11ef28012ceac480071436200007014728..."} 
[2026-08-01 16:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd11ef28012ceac480071436200007014728..."} 
[2026-08-01 16:56:21] local.INFO: Processing buffer {"connection_id":146119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd11ef28012ceac480071436200007014728..."} 
[2026-08-01 16:56:21] local.INFO: Packet analysis {"connection_id":146119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd11"} 
[2026-08-01 16:56:21] local.INFO: Extracted packet for processing {"connection_id":146119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd11"} 
[2026-08-01 16:56:21] local.INFO: GPS Element Parsed {"raw_longitude":753583232,"raw_latitude":118765088,"longitude_deg":75.3583232,"latitude_deg":11.8765088,"altitude":7,"angle":327,"satellites":40,"speed":9,"hex_longitude":"2ceac480","hex_latitude":"07143620","is_valid_coordinates":true} 
[2026-08-01 16:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109375232001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366611205726404608,"note":"Value kept but may cause issues"} 
[2026-08-01 16:56:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1529957205506908160,"note":"Value kept but may cause issues"} 
[2026-08-01 16:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785583497000,"timestamp_ms":1785583497000,"timestamp_seconds":1785583497,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd11ef28"} 
[2026-08-01 16:56:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:56:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-01 16:56:21] 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-08-01 16:56:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:56:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:56:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109375232001,"66":27615,"82":206,"83":41216,"24":9,"16":366611205726404608,"44":-1529957205506908160},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,44]} 
[2026-08-01 16:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109375232001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:56:21] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 16:56:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 16:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366611205726404608,"km_value":366611205726404.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:56:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1529957205506908160,"description":"Unknown IO ID 44"} 
[2026-08-01 16:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109375232001,"power":27615,"unknown_82":206,"unknown_83":41216,"ignition":9,"odometer":null,"unknown_44":-1529957205506908160}} 
[2026-08-01 16:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":146119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:56:21] local.INFO: GPS data processed {"connection_id":146119,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:56:21] local.INFO: Acknowledgment sent {"connection_id":146119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:56:44] local.INFO: TCP Data received {"connection_id":147355,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:56:44] local.INFO: Processing buffer {"connection_id":147355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:56:44] local.INFO: IMEI packet received {"connection_id":147355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":147355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:56:49] local.INFO: TCP Data received {"connection_id":147355,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:56:49] local.INFO: Processing buffer {"connection_id":147355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:56:49] local.INFO: IMEI packet received {"connection_id":147355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":147355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:56:49] local.INFO: TCP Data received {"connection_id":147355,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd124130012ceac10007143b38000801492b..."} 
[2026-08-01 16:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd124130012ceac10007143b38000801492b..."} 
[2026-08-01 16:56:49] local.INFO: Processing buffer {"connection_id":147355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd124130012ceac10007143b38000801492b..."} 
[2026-08-01 16:56:49] local.INFO: Packet analysis {"connection_id":147355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd12"} 
[2026-08-01 16:56:49] local.INFO: Extracted packet for processing {"connection_id":147355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd12"} 
[2026-08-01 16:56:49] local.INFO: GPS Element Parsed {"raw_longitude":753582336,"raw_latitude":118766392,"longitude_deg":75.3582336,"latitude_deg":11.8766392,"altitude":8,"angle":329,"satellites":43,"speed":3,"hex_longitude":"2ceac100","hex_latitude":"07143b38","is_valid_coordinates":true} 
[2026-08-01 16:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:56:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109375232001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:56:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366611283035815936,"note":"Value kept but may cause issues"} 
[2026-08-01 16:56:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1529957205506908160,"note":"Value kept but may cause issues"} 
[2026-08-01 16:56:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:56:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785583518000,"timestamp_ms":1785583518000,"timestamp_seconds":1785583518,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd124130"} 
[2026-08-01 16:56:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:56: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-08-01 16:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-01 16:56:49] 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-08-01 16:56:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:56:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:56:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:56:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:56:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:56:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:56:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:56:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:56:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:56:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109375232001,"66":27865,"82":206,"83":41216,"24":3,"16":366611283035815936,"44":-1529957205506908160},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,44]} 
[2026-08-01 16:56:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:56:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:56:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109375232001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:56:49] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 16:56:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 16:56:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366611283035815936,"km_value":366611283035815.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:56:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1529957205506908160,"description":"Unknown IO ID 44"} 
[2026-08-01 16:56:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109375232001,"power":27865,"unknown_82":206,"unknown_83":41216,"ignition":3,"odometer":null,"unknown_44":-1529957205506908160}} 
[2026-08-01 16:56:49] local.INFO: DEBUG: GPS processor result {"connection_id":147355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:56:49] local.INFO: GPS data processed {"connection_id":147355,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:56:49] local.INFO: Acknowledgment sent {"connection_id":147355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:57:20] local.INFO: TCP Data received {"connection_id":147355,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd129338012ceab50007144ee8000801492a..."} 
[2026-08-01 16:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd129338012ceab50007144ee8000801492a..."} 
[2026-08-01 16:57:20] local.INFO: Processing buffer {"connection_id":147355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd129338012ceab50007144ee8000801492a..."} 
[2026-08-01 16:57:20] local.INFO: Packet analysis {"connection_id":147355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd12"} 
[2026-08-01 16:57:20] local.INFO: Extracted packet for processing {"connection_id":147355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd12"} 
[2026-08-01 16:57:20] local.INFO: GPS Element Parsed {"raw_longitude":753579264,"raw_latitude":118771432,"longitude_deg":75.3579264,"latitude_deg":11.8771432,"altitude":8,"angle":329,"satellites":42,"speed":0,"hex_longitude":"2ceab500","hex_latitude":"07144ee8","is_valid_coordinates":true} 
[2026-08-01 16:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109380608001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366611570798624768,"note":"Value kept but may cause issues"} 
[2026-08-01 16:57:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1530942367925061632,"note":"Value kept but may cause issues"} 
[2026-08-01 16:57:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785583539000,"timestamp_ms":1785583539000,"timestamp_seconds":1785583539,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd129338"} 
[2026-08-01 16:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:57: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-08-01 16:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 16:57: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-08-01 16:57:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:57:20] 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-08-01 16:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109380608001,"66":27865,"82":206,"83":41216,"24":0,"16":366611570798624768,"44":-1530942367925061632},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,44]} 
[2026-08-01 16:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109380608001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:57:20] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 16:57:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 16:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366611570798624768,"km_value":366611570798624.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:57:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1530942367925061632,"description":"Unknown IO ID 44"} 
[2026-08-01 16:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109380608001,"power":27865,"unknown_82":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1530942367925061632}} 
[2026-08-01 16:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":147355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:57:20] local.INFO: GPS data processed {"connection_id":147355,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:57:20] local.INFO: Acknowledgment sent {"connection_id":147355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:57:44] local.INFO: TCP Data received {"connection_id":148656,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:57:44] local.INFO: Processing buffer {"connection_id":148656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:57:44] local.INFO: IMEI packet received {"connection_id":148656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":148656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:57:49] local.INFO: TCP Data received {"connection_id":148656,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:57:49] local.INFO: Processing buffer {"connection_id":148656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:57:49] local.INFO: IMEI packet received {"connection_id":148656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":148656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:57:50] local.INFO: TCP Data received {"connection_id":148656,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd12e158012ceaa30007146d30000801462a..."} 
[2026-08-01 16:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd12e158012ceaa30007146d30000801462a..."} 
[2026-08-01 16:57:50] local.INFO: Processing buffer {"connection_id":148656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd12e158012ceaa30007146d30000801462a..."} 
[2026-08-01 16:57:50] local.INFO: Packet analysis {"connection_id":148656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd12"} 
[2026-08-01 16:57:50] local.INFO: Extracted packet for processing {"connection_id":148656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd12"} 
[2026-08-01 16:57:50] local.INFO: GPS Element Parsed {"raw_longitude":753574656,"raw_latitude":118779184,"longitude_deg":75.3574656,"latitude_deg":11.8779184,"altitude":8,"angle":326,"satellites":42,"speed":24,"hex_longitude":"2ceaa300","hex_latitude":"07146d30","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109385984001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366612004590321664,"note":"Value kept but may cause issues"} 
[2026-08-01 16:57:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1534320067644299264,"note":"Value kept but may cause issues"} 
[2026-08-01 16:57:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785583559000,"timestamp_ms":1785583559000,"timestamp_seconds":1785583559,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd12e158"} 
[2026-08-01 16:57:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:57:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 16:57:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:57:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:57:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:57:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109385984001,"66":27887,"82":206,"83":41216,"24":24,"16":366612004590321664,"44":-1534320067644299264},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,44]} 
[2026-08-01 16:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109385984001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:57:50] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 16:57:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 16:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366612004590321664,"km_value":366612004590321.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:57:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1534320067644299264,"description":"Unknown IO ID 44"} 
[2026-08-01 16:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109385984001,"power":27887,"unknown_82":206,"unknown_83":41216,"ignition":24,"odometer":null,"unknown_44":-1534320067644299264}} 
[2026-08-01 16:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":148656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:57:50] local.INFO: GPS data processed {"connection_id":148656,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:57:50] local.INFO: Acknowledgment sent {"connection_id":148656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:58:21] local.INFO: TCP Data received {"connection_id":148656,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd131bf0012cea900007148c480009014a26..."} 
[2026-08-01 16:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd131bf0012cea900007148c480009014a26..."} 
[2026-08-01 16:58:21] local.INFO: Processing buffer {"connection_id":148656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd131bf0012cea900007148c480009014a26..."} 
[2026-08-01 16:58:21] local.INFO: Packet analysis {"connection_id":148656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd13"} 
[2026-08-01 16:58:21] local.INFO: Extracted packet for processing {"connection_id":148656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd13"} 
[2026-08-01 16:58:21] local.INFO: GPS Element Parsed {"raw_longitude":753569792,"raw_latitude":118787144,"longitude_deg":75.3569792,"latitude_deg":11.8787144,"altitude":9,"angle":330,"satellites":38,"speed":22,"hex_longitude":"2cea9000","hex_latitude":"07148c48","is_valid_coordinates":true} 
[2026-08-01 16:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109391104001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366612455561887744,"note":"Value kept but may cause issues"} 
[2026-08-01 16:58:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1539386617223106560,"note":"Value kept but may cause issues"} 
[2026-08-01 16:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785583574000,"timestamp_ms":1785583574000,"timestamp_seconds":1785583574,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd131bf0"} 
[2026-08-01 16:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:58:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-01 16:58:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:58:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109391104001,"66":27843,"82":206,"83":41216,"24":22,"16":366612455561887744,"44":-1539386617223106560},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,44]} 
[2026-08-01 16:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109391104001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:58:21] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 16:58:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 16:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366612455561887744,"km_value":366612455561887.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:58:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1539386617223106560,"description":"Unknown IO ID 44"} 
[2026-08-01 16:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109391104001,"power":27843,"unknown_82":206,"unknown_83":41216,"ignition":22,"odometer":null,"unknown_44":-1539386617223106560}} 
[2026-08-01 16:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":148656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:58:21] local.INFO: GPS data processed {"connection_id":148656,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:58:21] local.INFO: Acknowledgment sent {"connection_id":148656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:58:43] local.INFO: TCP Data received {"connection_id":147356,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:58:43] local.INFO: Processing buffer {"connection_id":147356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:58:43] local.INFO: IMEI packet received {"connection_id":147356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":147356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:58:45] local.INFO: TCP Data received {"connection_id":147356,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:58:45] local.INFO: Processing buffer {"connection_id":147356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:58:45] local.INFO: IMEI packet received {"connection_id":147356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":147356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:58:49] local.INFO: TCP Data received {"connection_id":147356,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:58:49] local.INFO: Processing buffer {"connection_id":147356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:58:49] local.INFO: IMEI packet received {"connection_id":147356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":147356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:58:49] local.INFO: TCP Data received {"connection_id":147356,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd132b90012cea8ac0071493b00009013b27..."} 
[2026-08-01 16:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd132b90012cea8ac0071493b00009013b27..."} 
[2026-08-01 16:58:49] local.INFO: Processing buffer {"connection_id":147356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd132b90012cea8ac0071493b00009013b27..."} 
[2026-08-01 16:58:49] local.INFO: Packet analysis {"connection_id":147356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd13"} 
[2026-08-01 16:58:49] local.INFO: Extracted packet for processing {"connection_id":147356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd13"} 
[2026-08-01 16:58:49] local.INFO: GPS Element Parsed {"raw_longitude":753568448,"raw_latitude":118789040,"longitude_deg":75.3568448,"latitude_deg":11.878904,"altitude":9,"angle":315,"satellites":39,"speed":24,"hex_longitude":"2cea8ac0","hex_latitude":"071493b0","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109394944001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366612567231037440,"note":"Value kept but may cause issues"} 
[2026-08-01 16:58:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1544734641778571264,"note":"Value kept but may cause issues"} 
[2026-08-01 16:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 16:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785583578000,"timestamp_ms":1785583578000,"timestamp_seconds":1785583578,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd132b90"} 
[2026-08-01 16:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:58: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-08-01 16: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 16:58:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16: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-08-01 16:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:58:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109394944001,"66":27767,"82":206,"83":41216,"24":24,"16":366612567231037440,"44":-1544734641778571264},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,44]} 
[2026-08-01 16:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109394944001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:58:49] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 16:58:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 16:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366612567231037440,"km_value":366612567231037.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:58:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1544734641778571264,"description":"Unknown IO ID 44"} 
[2026-08-01 16:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109394944001,"power":27767,"unknown_82":206,"unknown_83":41216,"ignition":24,"odometer":null,"unknown_44":-1544734641778571264}} 
[2026-08-01 16:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":147356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:58:49] local.INFO: GPS data processed {"connection_id":147356,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:58:49] local.INFO: Acknowledgment sent {"connection_id":147356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:59:21] local.INFO: TCP Data received {"connection_id":147356,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd1371e0012cea6f000714aa90000d013227..."} 
[2026-08-01 16:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd1371e0012cea6f000714aa90000d013227..."} 
[2026-08-01 16:59:21] local.INFO: Processing buffer {"connection_id":147356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd1371e0012cea6f000714aa90000d013227..."} 
[2026-08-01 16:59:21] local.INFO: Packet analysis {"connection_id":147356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd13"} 
[2026-08-01 16:59:21] local.INFO: Extracted packet for processing {"connection_id":147356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd13"} 
[2026-08-01 16:59:21] local.INFO: GPS Element Parsed {"raw_longitude":753561344,"raw_latitude":118794896,"longitude_deg":75.3561344,"latitude_deg":11.8794896,"altitude":13,"angle":306,"satellites":39,"speed":15,"hex_longitude":"2cea6f00","hex_latitude":"0714aa90","is_valid_coordinates":true} 
[2026-08-01 16:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 16:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109395968001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366613009612668928,"note":"Value kept but may cause issues"} 
[2026-08-01 16:59:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1546212385405816832,"note":"Value kept but may cause issues"} 
[2026-08-01 16:59:21] 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-08-01 16:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785583596000,"timestamp_ms":1785583596000,"timestamp_seconds":1785583596,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd1371e0"} 
[2026-08-01 16:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:59:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 16:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 16:59:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16:59:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 16:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:59:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109395968001,"66":27865,"122":206,"83":41216,"24":15,"16":366613009612668928,"44":-1546212385405816832},"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-08-01 16:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109395968001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:59:21] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-01 16:59:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 16:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366613009612668928,"km_value":366613009612668.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:59:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1546212385405816832,"description":"Unknown IO ID 44"} 
[2026-08-01 16:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109395968001,"power":27865,"unknown_122":206,"unknown_83":41216,"ignition":15,"odometer":null,"unknown_44":-1546212385405816832}} 
[2026-08-01 16:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":147356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:59:21] local.INFO: GPS data processed {"connection_id":147356,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:59:21] local.INFO: Acknowledgment sent {"connection_id":147356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 16:59:43] local.INFO: TCP Data received {"connection_id":148658,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:59:43] local.INFO: Processing buffer {"connection_id":148658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:59:43] local.INFO: IMEI packet received {"connection_id":148658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 16:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":148658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 16:59:49] local.INFO: TCP Data received {"connection_id":148658,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:59:49] local.INFO: Processing buffer {"connection_id":148658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 16:59:49] local.INFO: IMEI packet received {"connection_id":148658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 16:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":148658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 16:59:50] local.INFO: TCP Data received {"connection_id":148658,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd13b830012cea5a000714bcd00011013e28..."} 
[2026-08-01 16:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd13b830012cea5a000714bcd00011013e28..."} 
[2026-08-01 16:59:50] local.INFO: Processing buffer {"connection_id":148658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd13b830012cea5a000714bcd00011013e28..."} 
[2026-08-01 16:59:50] local.INFO: Packet analysis {"connection_id":148658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd13"} 
[2026-08-01 16:59:50] local.INFO: Extracted packet for processing {"connection_id":148658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd13"} 
[2026-08-01 16:59:50] local.INFO: GPS Element Parsed {"raw_longitude":753555968,"raw_latitude":118799568,"longitude_deg":75.3555968,"latitude_deg":11.8799568,"altitude":17,"angle":318,"satellites":40,"speed":20,"hex_longitude":"2cea5a00","hex_latitude":"0714bcd0","is_valid_coordinates":true} 
[2026-08-01 16: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-08-01 16:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109400576001,"note":"Value kept but may cause issues"} 
[2026-08-01 16:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366613353210052608,"note":"Value kept but may cause issues"} 
[2026-08-01 16:59:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1554023316008038400,"note":"Value kept but may cause issues"} 
[2026-08-01 16:59:50] 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-08-01 16:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785583614000,"timestamp_ms":1785583614000,"timestamp_seconds":1785583614,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd13b830"} 
[2026-08-01 16:59:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 16:59: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-08-01 16:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 16:59:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 16: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-08-01 16:59:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 16:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 16:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 16:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 16:59:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 16:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 16:59:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 16:59:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109400576001,"66":27767,"122":206,"83":41216,"24":20,"16":366613353210052608,"44":-1554023316008038400},"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-08-01 16:59:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 16:59:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 16:59:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109400576001,"description":"Unknown IO ID 0"} 
[2026-08-01 16:59:50] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-01 16:59:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 16:59:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366613353210052608,"km_value":366613353210052.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 16:59:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1554023316008038400,"description":"Unknown IO ID 44"} 
[2026-08-01 16:59:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109400576001,"power":27767,"unknown_122":206,"unknown_83":41216,"ignition":20,"odometer":null,"unknown_44":-1554023316008038400}} 
[2026-08-01 16:59:50] local.INFO: DEBUG: GPS processor result {"connection_id":148658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 16:59:50] local.INFO: GPS data processed {"connection_id":148658,"processed":1,"errors":0,"total":1} 
[2026-08-01 16:59:50] local.INFO: Acknowledgment sent {"connection_id":148658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:00:21] local.INFO: TCP Data received {"connection_id":148658,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd13fa98012cea42800714d6b00012013e2a..."} 
[2026-08-01 17:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd13fa98012cea42800714d6b00012013e2a..."} 
[2026-08-01 17:00:21] local.INFO: Processing buffer {"connection_id":148658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd13fa98012cea42800714d6b00012013e2a..."} 
[2026-08-01 17:00:21] local.INFO: Packet analysis {"connection_id":148658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd13"} 
[2026-08-01 17:00:21] local.INFO: Extracted packet for processing {"connection_id":148658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd13"} 
[2026-08-01 17:00:21] local.INFO: GPS Element Parsed {"raw_longitude":753549952,"raw_latitude":118806192,"longitude_deg":75.3549952,"latitude_deg":11.8806192,"altitude":18,"angle":318,"satellites":42,"speed":23,"hex_longitude":"2cea4280","hex_latitude":"0714d6b0","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109405184001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366613782706782208,"note":"Value kept but may cause issues"} 
[2026-08-01 17:00:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1559934290517766144,"note":"Value kept but may cause issues"} 
[2026-08-01 17:00:21] 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-08-01 17:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785583631000,"timestamp_ms":1785583631000,"timestamp_seconds":1785583631,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd13fa98"} 
[2026-08-01 17:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:00:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 17:00:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17: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-08-01 17:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:00:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109405184001,"66":27919,"83":41216,"24":23,"16":366613782706782208,"44":-1559934290517766144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,44]} 
[2026-08-01 17:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109405184001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:00:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 17:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366613782706782208,"km_value":366613782706782.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:00:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1559934290517766144,"description":"Unknown IO ID 44"} 
[2026-08-01 17:00:21] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457109405184001,"power":27919,"unknown_83":41216,"ignition":23,"odometer":null,"unknown_44":-1559934290517766144}} 
[2026-08-01 17:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":148658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:00:21] local.INFO: GPS data processed {"connection_id":148658,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:00:21] local.INFO: Acknowledgment sent {"connection_id":148658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:00:49] local.INFO: TCP Data received {"connection_id":146347,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:00:49] local.INFO: Processing buffer {"connection_id":146347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:00:49] local.INFO: IMEI packet received {"connection_id":146347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 17:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":146347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:00:54] local.INFO: TCP Data received {"connection_id":146347,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:00:54] local.INFO: Processing buffer {"connection_id":146347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:00:54] local.INFO: IMEI packet received {"connection_id":146347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":146347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:00:54] local.INFO: TCP Data received {"connection_id":146347,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd163cb8012ce9cdc00715c7380009015d28..."} 
[2026-08-01 17:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd163cb8012ce9cdc00715c7380009015d28..."} 
[2026-08-01 17:00:54] local.INFO: Processing buffer {"connection_id":146347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd163cb8012ce9cdc00715c7380009015d28..."} 
[2026-08-01 17:00:54] local.INFO: Packet analysis {"connection_id":146347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd16"} 
[2026-08-01 17:00:54] local.INFO: Extracted packet for processing {"connection_id":146347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd16"} 
[2026-08-01 17:00:54] local.INFO: GPS Element Parsed {"raw_longitude":753520064,"raw_latitude":118867768,"longitude_deg":75.3520064,"latitude_deg":11.8867768,"altitude":9,"angle":349,"satellites":40,"speed":38,"hex_longitude":"2ce9cdc0","hex_latitude":"0715c738","is_valid_coordinates":true} 
[2026-08-01 17:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109444864001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366617162846044160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:00:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1597440831149330432,"note":"Value kept but may cause issues"} 
[2026-08-01 17:00:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785583779000,"timestamp_ms":1785583779000,"timestamp_seconds":1785583779,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd163cb8"} 
[2026-08-01 17:00:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:00:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-01 17:00:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:00:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:00:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:00:54] 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-08-01 17:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109444864001,"66":27865,"25":206,"83":41216,"24":38,"16":366617162846044160,"44":-1597440831149330432},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,44]} 
[2026-08-01 17:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109444864001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:00:54] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-01 17:00:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 17:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366617162846044160,"km_value":366617162846044.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:00:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1597440831149330432,"description":"Unknown IO ID 44"} 
[2026-08-01 17:00:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109444864001,"power":27865,"unknown_25":206,"unknown_83":41216,"ignition":38,"odometer":null,"unknown_44":-1597440831149330432}} 
[2026-08-01 17:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":146347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:00:54] local.INFO: GPS data processed {"connection_id":146347,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:00:54] local.INFO: Acknowledgment sent {"connection_id":146347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:00:59] local.INFO: TCP Data received {"connection_id":146347,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd165fe0012ce9c5000715e9e80007015926..."} 
[2026-08-01 17:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd165fe0012ce9c5000715e9e80007015926..."} 
[2026-08-01 17:00:59] local.INFO: Processing buffer {"connection_id":146347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd165fe0012ce9c5000715e9e80007015926..."} 
[2026-08-01 17:00:59] local.INFO: Packet analysis {"connection_id":146347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd16"} 
[2026-08-01 17:00:59] local.INFO: Extracted packet for processing {"connection_id":146347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd16"} 
[2026-08-01 17:00:59] local.INFO: GPS Element Parsed {"raw_longitude":753517824,"raw_latitude":118876648,"longitude_deg":75.3517824,"latitude_deg":11.8876648,"altitude":7,"angle":345,"satellites":38,"speed":37,"hex_longitude":"2ce9c500","hex_latitude":"0715e9e8","is_valid_coordinates":true} 
[2026-08-01 17:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109447424001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366617605227675648,"note":"Value kept but may cause issues"} 
[2026-08-01 17:00:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1599411155983976448,"note":"Value kept but may cause issues"} 
[2026-08-01 17:00:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785583788000,"timestamp_ms":1785583788000,"timestamp_seconds":1785583788,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd165fe0"} 
[2026-08-01 17:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:00:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 17:00: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-08-01 17:00:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":146347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":146347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":146347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:00: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-08-01 17:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109447424001,"66":27767,"25":206,"83":41216,"24":37,"16":366617605227675648,"44":-1599411155983976448},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,44]} 
[2026-08-01 17:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109447424001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:00:59] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-01 17:00:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 17:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366617605227675648,"km_value":366617605227675.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:00:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1599411155983976448,"description":"Unknown IO ID 44"} 
[2026-08-01 17:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109447424001,"power":27767,"unknown_25":206,"unknown_83":41216,"ignition":37,"odometer":null,"unknown_44":-1599411155983976448}} 
[2026-08-01 17:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":146347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:00:59] local.INFO: GPS data processed {"connection_id":146347,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:00:59] local.INFO: Acknowledgment sent {"connection_id":146347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:01:08] local.INFO: TCP Data received {"connection_id":147357,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:01:08] local.INFO: Processing buffer {"connection_id":147357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:01:08] local.INFO: IMEI packet received {"connection_id":147357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":147357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:01:09] local.INFO: TCP Data received {"connection_id":147357,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd166b98012d18b34007216808004a014725..."} 
[2026-08-01 17:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd166b98012d18b34007216808004a014725..."} 
[2026-08-01 17:01:09] local.INFO: Processing buffer {"connection_id":147357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd166b98012d18b34007216808004a014725..."} 
[2026-08-01 17:01:09] local.INFO: Packet analysis {"connection_id":147357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd16"} 
[2026-08-01 17:01:09] local.INFO: Extracted packet for processing {"connection_id":147357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd16"} 
[2026-08-01 17:01:09] local.INFO: GPS Element Parsed {"raw_longitude":756593472,"raw_latitude":119629832,"longitude_deg":75.6593472,"latitude_deg":11.9629832,"altitude":74,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d18b340","hex_latitude":"07216808","is_valid_coordinates":true} 
[2026-08-01 17:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109445120001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10274085758042112,"note":"Value kept but may cause issues"} 
[2026-08-01 17:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783706958039390208,"note":"Value kept but may cause issues"} 
[2026-08-01 17:01:09] 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-08-01 17:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785583791000,"timestamp_ms":1785583791000,"timestamp_seconds":1785583791,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd166b98"} 
[2026-08-01 17:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-01 17:01:09] 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-08-01 17:01:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":147357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":147357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":147357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:01:09] 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-08-01 17:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109445120001,"66":14102,"106":206,"83":41984,"24":0,"16":10274085758042112,"45":1783706958039390208},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-01 17:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109445120001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:01:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-01 17:01:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10274085758042112,"km_value":10274085758042.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783706958039390208,"description":"Unknown IO ID 45"} 
[2026-08-01 17:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109445120001,"power":14102,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1783706958039390208}} 
[2026-08-01 17:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":147357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:01:09] local.INFO: GPS data processed {"connection_id":147357,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:01:09] local.INFO: Acknowledgment sent {"connection_id":147357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:01:41] local.INFO: TCP Data received {"connection_id":147357,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd16bda0012d18ad8007216f30004a013d24..."} 
[2026-08-01 17:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd16bda0012d18ad8007216f30004a013d24..."} 
[2026-08-01 17:01:41] local.INFO: Processing buffer {"connection_id":147357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd16bda0012d18ad8007216f30004a013d24..."} 
[2026-08-01 17:01:41] local.INFO: Packet analysis {"connection_id":147357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd16"} 
[2026-08-01 17:01:41] local.INFO: Extracted packet for processing {"connection_id":147357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd16"} 
[2026-08-01 17:01:41] local.INFO: GPS Element Parsed {"raw_longitude":756592000,"raw_latitude":119631664,"longitude_deg":75.6592,"latitude_deg":11.9631664,"altitude":74,"angle":317,"satellites":36,"speed":18,"hex_longitude":"2d18ad80","hex_latitude":"07216f30","is_valid_coordinates":true} 
[2026-08-01 17:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109450496001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10274197427191808,"note":"Value kept but may cause issues"} 
[2026-08-01 17:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779836677110892544,"note":"Value kept but may cause issues"} 
[2026-08-01 17:01: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-08-01 17:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785583812000,"timestamp_ms":1785583812000,"timestamp_seconds":1785583812,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd16bda0"} 
[2026-08-01 17:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17: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-08-01 17:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-01 17:01: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-08-01 17:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":147357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":147357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":147357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:01: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-08-01 17:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109450496001,"66":14189,"106":206,"83":41984,"24":18,"16":10274197427191808,"45":1779836677110892544},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-01 17:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109450496001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:01:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-01 17:01:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10274197427191808,"km_value":10274197427191.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779836677110892544,"description":"Unknown IO ID 45"} 
[2026-08-01 17:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109450496001,"power":14189,"unknown_106":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1779836677110892544}} 
[2026-08-01 17:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":147357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:01:41] local.INFO: GPS data processed {"connection_id":147357,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:01:41] local.INFO: Acknowledgment sent {"connection_id":147357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:01:42] local.INFO: TCP Data received {"connection_id":146348,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:01:42] local.INFO: Processing buffer {"connection_id":146348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:01:42] local.INFO: IMEI packet received {"connection_id":146348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 17:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":146348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:01:43] local.INFO: TCP Data received {"connection_id":146348,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:01:43] local.INFO: Processing buffer {"connection_id":146348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:01:43] local.INFO: IMEI packet received {"connection_id":146348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":146348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:01:49] local.INFO: TCP Data received {"connection_id":146348,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:01:49] local.INFO: Processing buffer {"connection_id":146348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:01:49] local.INFO: IMEI packet received {"connection_id":146348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":146348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:01:49] local.INFO: TCP Data received {"connection_id":146348,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd1692a8012ce9bcc007160c900006015b27..."} 
[2026-08-01 17:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd1692a8012ce9bcc007160c900006015b27..."} 
[2026-08-01 17:01:50] local.INFO: Processing buffer {"connection_id":146348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd1692a8012ce9bcc007160c900006015b27..."} 
[2026-08-01 17:01:50] local.INFO: Packet analysis {"connection_id":146348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd16"} 
[2026-08-01 17:01:50] local.INFO: Extracted packet for processing {"connection_id":146348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd16"} 
[2026-08-01 17:01:50] local.INFO: GPS Element Parsed {"raw_longitude":753515712,"raw_latitude":118885520,"longitude_deg":75.3515712,"latitude_deg":11.888552,"altitude":6,"angle":347,"satellites":39,"speed":19,"hex_longitude":"2ce9bcc0","hex_latitude":"07160c90","is_valid_coordinates":true} 
[2026-08-01 17:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109449728001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366618047609307136,"note":"Value kept but may cause issues"} 
[2026-08-01 17:01:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1601874062027921408,"note":"Value kept but may cause issues"} 
[2026-08-01 17:01:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785583801000,"timestamp_ms":1785583801000,"timestamp_seconds":1785583801,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd1692a8"} 
[2026-08-01 17:01:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:01:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 17:01:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:01:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:01:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:01:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109449728001,"66":27865,"25":206,"83":41216,"24":19,"16":366618047609307136,"44":-1601874062027921408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,44]} 
[2026-08-01 17:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109449728001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:01:50] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-01 17:01:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 17:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366618047609307136,"km_value":366618047609307.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:01:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1601874062027921408,"description":"Unknown IO ID 44"} 
[2026-08-01 17:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109449728001,"power":27865,"unknown_25":206,"unknown_83":41216,"ignition":19,"odometer":null,"unknown_44":-1601874062027921408}} 
[2026-08-01 17:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":146348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:01:50] local.INFO: GPS data processed {"connection_id":146348,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:01:50] local.INFO: Acknowledgment sent {"connection_id":146348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:02:04] local.INFO: TCP Data received {"connection_id":147358,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147358,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:02:04] local.INFO: Processing buffer {"connection_id":147358,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:02:04] local.INFO: IMEI packet received {"connection_id":147358,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":147358,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:02:05] local.INFO: TCP Data received {"connection_id":147358,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147358,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:02:05] local.INFO: Processing buffer {"connection_id":147358,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:02:05] local.INFO: IMEI packet received {"connection_id":147358,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":147358,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:02:08] local.INFO: TCP Data received {"connection_id":147358,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147358,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:02:08] local.INFO: Processing buffer {"connection_id":147358,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:02:08] local.INFO: IMEI packet received {"connection_id":147358,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":147358,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:02:09] local.INFO: TCP Data received {"connection_id":147358,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd16c570012d18aa8007217198004a013023..."} 
[2026-08-01 17:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd16c570012d18aa8007217198004a013023..."} 
[2026-08-01 17:02:09] local.INFO: Processing buffer {"connection_id":147358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd16c570012d18aa8007217198004a013023..."} 
[2026-08-01 17:02:09] local.INFO: Packet analysis {"connection_id":147358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd16"} 
[2026-08-01 17:02:09] local.INFO: Extracted packet for processing {"connection_id":147358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd16"} 
[2026-08-01 17:02:09] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119632280,"longitude_deg":75.6591232,"latitude_deg":11.963228,"altitude":74,"angle":304,"satellites":35,"speed":19,"hex_longitude":"2d18aa80","hex_latitude":"07217198","is_valid_coordinates":true} 
[2026-08-01 17:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109455872001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10274244671832064,"note":"Value kept but may cause issues"} 
[2026-08-01 17:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778218195995275264,"note":"Value kept but may cause issues"} 
[2026-08-01 17:02:09] 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-08-01 17:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785583814000,"timestamp_ms":1785583814000,"timestamp_seconds":1785583814,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd16c570"} 
[2026-08-01 17:02:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-01 17:02:09] 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-08-01 17:02:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:02:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":147358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":147358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":147358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:02:09] 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-08-01 17:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109455872001,"66":14113,"106":206,"83":41984,"24":19,"16":10274244671832064,"45":1778218195995275264},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-01 17:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109455872001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:02:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-01 17:02:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10274244671832064,"km_value":10274244671832.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778218195995275264,"description":"Unknown IO ID 45"} 
[2026-08-01 17:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109455872001,"power":14113,"unknown_106":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1778218195995275264}} 
[2026-08-01 17:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":147358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:02:09] local.INFO: GPS data processed {"connection_id":147358,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:02:09] local.INFO: Acknowledgment sent {"connection_id":147358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:02:10] local.INFO: TCP Data received {"connection_id":147358,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd16d128012d18a54007217470004b012224..."} 
[2026-08-01 17:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd16d128012d18a54007217470004b012224..."} 
[2026-08-01 17:02:10] local.INFO: Processing buffer {"connection_id":147358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd16d128012d18a54007217470004b012224..."} 
[2026-08-01 17:02:10] local.INFO: Packet analysis {"connection_id":147358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd16"} 
[2026-08-01 17:02:10] local.INFO: Extracted packet for processing {"connection_id":147358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd16"} 
[2026-08-01 17:02:10] local.INFO: GPS Element Parsed {"raw_longitude":756589888,"raw_latitude":119633008,"longitude_deg":75.6589888,"latitude_deg":11.9633008,"altitude":75,"angle":290,"satellites":36,"speed":23,"hex_longitude":"2d18a540","hex_latitude":"07217470","is_valid_coordinates":true} 
[2026-08-01 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-08-01 17:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109456384001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10274317686276096,"note":"Value kept but may cause issues"} 
[2026-08-01 17:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771065300992,"note":"Value kept but may cause issues"} 
[2026-08-01 17:02: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-08-01 17:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785583817000,"timestamp_ms":1785583817000,"timestamp_seconds":1785583817,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd16d128"} 
[2026-08-01 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-08-01 17:02: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-08-01 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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-01 17:02:10] 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-08-01 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-08-01 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-08-01 17:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":147358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":147358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":147358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:02: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-08-01 17:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109456384001,"66":14211,"106":206,"83":41984,"24":23,"16":10274317686276096,"45":1777373771065300992},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-01 17:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109456384001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:02:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-01 17:02:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10274317686276096,"km_value":10274317686276.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771065300992,"description":"Unknown IO ID 45"} 
[2026-08-01 17:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109456384001,"power":14211,"unknown_106":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1777373771065300992}} 
[2026-08-01 17:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":147358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578140,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:02:10] local.INFO: GPS data processed {"connection_id":147358,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:02:10] local.INFO: Acknowledgment sent {"connection_id":147358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:02:21] local.INFO: TCP Data received {"connection_id":146348,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd16e4b0012ce9b580071629b00005015a2a..."} 
[2026-08-01 17:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd16e4b0012ce9b580071629b00005015a2a..."} 
[2026-08-01 17:02:21] local.INFO: Processing buffer {"connection_id":146348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd16e4b0012ce9b580071629b00005015a2a..."} 
[2026-08-01 17:02:21] local.INFO: Packet analysis {"connection_id":146348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd16"} 
[2026-08-01 17:02:21] local.INFO: Extracted packet for processing {"connection_id":146348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd16"} 
[2026-08-01 17:02:21] local.INFO: GPS Element Parsed {"raw_longitude":753513856,"raw_latitude":118892976,"longitude_deg":75.3513856,"latitude_deg":11.8892976,"altitude":5,"angle":346,"satellites":42,"speed":21,"hex_longitude":"2ce9b580","hex_latitude":"071629b0","is_valid_coordinates":true} 
[2026-08-01 17:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109453056001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366618421271461888,"note":"Value kept but may cause issues"} 
[2026-08-01 17:02:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1604196230583513088,"note":"Value kept but may cause issues"} 
[2026-08-01 17:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785583822000,"timestamp_ms":1785583822000,"timestamp_seconds":1785583822,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd16e4b0"} 
[2026-08-01 17:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:02:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 17:02:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:02:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:02:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109453056001,"66":27865,"25":206,"83":41216,"24":21,"16":366618421271461888,"44":-1604196230583513088},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,44]} 
[2026-08-01 17:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109453056001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:02:21] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-01 17:02:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 17:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366618421271461888,"km_value":366618421271461.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:02:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1604196230583513088,"description":"Unknown IO ID 44"} 
[2026-08-01 17:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109453056001,"power":27865,"unknown_25":206,"unknown_83":41216,"ignition":21,"odometer":null,"unknown_44":-1604196230583513088}} 
[2026-08-01 17:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":146348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:02:21] local.INFO: GPS data processed {"connection_id":146348,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:02:21] local.INFO: Acknowledgment sent {"connection_id":146348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:02:41] local.INFO: TCP Data received {"connection_id":147358,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd186380012d180e80072193a0004d013023..."} 
[2026-08-01 17:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd186380012d180e80072193a0004d013023..."} 
[2026-08-01 17:02:41] local.INFO: Processing buffer {"connection_id":147358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd186380012d180e80072193a0004d013023..."} 
[2026-08-01 17:02:41] local.INFO: Packet analysis {"connection_id":147358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd18"} 
[2026-08-01 17:02:41] local.INFO: Extracted packet for processing {"connection_id":147358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd18"} 
[2026-08-01 17:02:41] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119640992,"longitude_deg":75.6551296,"latitude_deg":11.9640992,"altitude":77,"angle":304,"satellites":35,"speed":7,"hex_longitude":"2d180e80","hex_latitude":"072193a0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 17:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109483264001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10276443695087616,"note":"Value kept but may cause issues"} 
[2026-08-01 17:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733674780933183488,"note":"Value kept but may cause issues"} 
[2026-08-01 17:02: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-08-01 17:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785583920000,"timestamp_ms":1785583920000,"timestamp_seconds":1785583920,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd186380"} 
[2026-08-01 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-08-01 17:02: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-08-01 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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-01 17:02:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 17:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":147358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":147358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":147358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:02: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-08-01 17:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109483264001,"66":14070,"107":206,"83":41984,"24":7,"16":10276443695087616,"45":1733674780933183488},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-01 17:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109483264001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:02:41] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 17:02:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10276443695087616,"km_value":10276443695087.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733674780933183488,"description":"Unknown IO ID 45"} 
[2026-08-01 17:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109483264001,"power":14070,"unknown_107":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1733674780933183488}} 
[2026-08-01 17:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":147358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:02:41] local.INFO: GPS data processed {"connection_id":147358,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:02:41] local.INFO: Acknowledgment sent {"connection_id":147358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:02:41] local.INFO: TCP Data received {"connection_id":148659,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:02:41] local.INFO: Processing buffer {"connection_id":148659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:02:41] local.INFO: IMEI packet received {"connection_id":148659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 17:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":148659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:02:44] local.INFO: TCP Data received {"connection_id":148659,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:02:44] local.INFO: Processing buffer {"connection_id":148659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:02:44] local.INFO: IMEI packet received {"connection_id":148659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":148659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:02:44] local.INFO: TCP Data received {"connection_id":148659,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:02:44] local.INFO: Processing buffer {"connection_id":148659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:02:44] local.INFO: IMEI packet received {"connection_id":148659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":148659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:02:47] local.INFO: TCP Data received {"connection_id":148659,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:02:47] local.INFO: Processing buffer {"connection_id":148659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:02:47] local.INFO: IMEI packet received {"connection_id":148659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":148659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:02:48] local.INFO: TCP Data received {"connection_id":148659,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd1736b8012ce9ad0007164cc80006015c29..."} 
[2026-08-01 17:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd1736b8012ce9ad0007164cc80006015c29..."} 
[2026-08-01 17:02:48] local.INFO: Processing buffer {"connection_id":148659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd1736b8012ce9ad0007164cc80006015c29..."} 
[2026-08-01 17:02:48] local.INFO: Packet analysis {"connection_id":148659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd17"} 
[2026-08-01 17:02:48] local.INFO: Extracted packet for processing {"connection_id":148659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd17"} 
[2026-08-01 17:02:48] local.INFO: GPS Element Parsed {"raw_longitude":753511680,"raw_latitude":118901960,"longitude_deg":75.351168,"latitude_deg":11.890196,"altitude":6,"angle":348,"satellites":41,"speed":21,"hex_longitude":"2ce9ad00","hex_latitude":"07164cc8","is_valid_coordinates":true} 
[2026-08-01 17:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109458432001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366618872243027968,"note":"Value kept but may cause issues"} 
[2026-08-01 17:02:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1606236924162756608,"note":"Value kept but may cause issues"} 
[2026-08-01 17:02:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785583843000,"timestamp_ms":1785583843000,"timestamp_seconds":1785583843,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd1736b8"} 
[2026-08-01 17:02:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:02:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 17:02:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:02:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:02:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:02:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109458432001,"66":27908,"25":206,"83":41216,"24":21,"16":366618872243027968,"44":-1606236924162756608},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,44]} 
[2026-08-01 17:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109458432001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:02:48] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-01 17:02:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 17:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366618872243027968,"km_value":366618872243027.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:02:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1606236924162756608,"description":"Unknown IO ID 44"} 
[2026-08-01 17:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109458432001,"power":27908,"unknown_25":206,"unknown_83":41216,"ignition":21,"odometer":null,"unknown_44":-1606236924162756608}} 
[2026-08-01 17:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":148659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:02:48] local.INFO: GPS data processed {"connection_id":148659,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:02:48] local.INFO: Acknowledgment sent {"connection_id":148659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:03:00] local.INFO: TCP Data received {"connection_id":146349,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:03:00] local.INFO: Processing buffer {"connection_id":146349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:03:00] local.INFO: IMEI packet received {"connection_id":146349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":146349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:03:02] local.INFO: TCP Data received {"connection_id":146349,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:03:02] local.INFO: Processing buffer {"connection_id":146349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:03:02] local.INFO: IMEI packet received {"connection_id":146349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":146349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:03:02] local.INFO: TCP Data received {"connection_id":146349,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd186768012d180dc007219448004d014824..."} 
[2026-08-01 17:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd186768012d180dc007219448004d014824..."} 
[2026-08-01 17:03:02] local.INFO: Processing buffer {"connection_id":146349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd186768012d180dc007219448004d014824..."} 
[2026-08-01 17:03:02] local.INFO: Packet analysis {"connection_id":146349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd18"} 
[2026-08-01 17:03:02] local.INFO: Extracted packet for processing {"connection_id":146349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd18"} 
[2026-08-01 17:03:02] local.INFO: GPS Element Parsed {"raw_longitude":756551104,"raw_latitude":119641160,"longitude_deg":75.6551104,"latitude_deg":11.964116,"altitude":77,"angle":328,"satellites":36,"speed":10,"hex_longitude":"2d180dc0","hex_latitude":"07219448","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109483520001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10276456579989504,"note":"Value kept but may cause issues"} 
[2026-08-01 17:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700668928,"note":"Value kept but may cause issues"} 
[2026-08-01 17:03:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785583921000,"timestamp_ms":1785583921000,"timestamp_seconds":1785583921,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd186768"} 
[2026-08-01 17:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:03:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-01 17:03:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17: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-08-01 17:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109483520001,"66":14363,"107":206,"83":41984,"24":10,"16":10276456579989504,"45":1733463674700668928},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-01 17:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109483520001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:03:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 17:03:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10276456579989504,"km_value":10276456579989.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700668928,"description":"Unknown IO ID 45"} 
[2026-08-01 17:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109483520001,"power":14363,"unknown_107":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1733463674700668928}} 
[2026-08-01 17:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":146349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578144,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:03:02] local.INFO: GPS data processed {"connection_id":146349,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:03:02] local.INFO: Acknowledgment sent {"connection_id":146349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:03:19] local.INFO: TCP Data received {"connection_id":148659,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd18a9d0012ce97f8007172b48000d01552a..."} 
[2026-08-01 17:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd18a9d0012ce97f8007172b48000d01552a..."} 
[2026-08-01 17:03:19] local.INFO: Processing buffer {"connection_id":148659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd18a9d0012ce97f8007172b48000d01552a..."} 
[2026-08-01 17:03:19] local.INFO: Packet analysis {"connection_id":148659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd18"} 
[2026-08-01 17:03:19] local.INFO: Extracted packet for processing {"connection_id":148659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd18"} 
[2026-08-01 17:03:19] local.INFO: GPS Element Parsed {"raw_longitude":753500032,"raw_latitude":118958920,"longitude_deg":75.3500032,"latitude_deg":11.895892,"altitude":13,"angle":341,"satellites":42,"speed":13,"hex_longitude":"2ce97f80","hex_latitude":"07172b48","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109487360001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366621741281181696,"note":"Value kept but may cause issues"} 
[2026-08-01 17:03:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1620803254190909440,"note":"Value kept but may cause issues"} 
[2026-08-01 17:03:19] 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-08-01 17:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785583938000,"timestamp_ms":1785583938000,"timestamp_seconds":1785583938,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd18a9d0"} 
[2026-08-01 17:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:03: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-08-01 17: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-01 17:03:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17: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-08-01 17:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":148659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":148659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":148659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:03:19] 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-08-01 17:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109487360001,"66":27821,"23":206,"83":41216,"24":13,"16":366621741281181696,"44":-1620803254190909440},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,44]} 
[2026-08-01 17:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109487360001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:03:19] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-01 17:03:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 17:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366621741281181696,"km_value":366621741281181.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:03:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1620803254190909440,"description":"Unknown IO ID 44"} 
[2026-08-01 17:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109487360001,"power":27821,"unknown_23":206,"unknown_83":41216,"ignition":13,"odometer":null,"unknown_44":-1620803254190909440}} 
[2026-08-01 17:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":148659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:03:19] local.INFO: GPS data processed {"connection_id":148659,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:03:19] local.INFO: Acknowledgment sent {"connection_id":148659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:03:33] local.INFO: TCP Data received {"connection_id":146349,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd186b50012d180d8007219540004d016620..."} 
[2026-08-01 17:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd186b50012d180d8007219540004d016620..."} 
[2026-08-01 17:03:33] local.INFO: Processing buffer {"connection_id":146349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd186b50012d180d8007219540004d016620..."} 
[2026-08-01 17:03:33] local.INFO: Packet analysis {"connection_id":146349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd18"} 
[2026-08-01 17:03:33] local.INFO: Extracted packet for processing {"connection_id":146349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd18"} 
[2026-08-01 17:03:33] local.INFO: GPS Element Parsed {"raw_longitude":756551040,"raw_latitude":119641408,"longitude_deg":75.655104,"latitude_deg":11.9641408,"altitude":77,"angle":358,"satellites":32,"speed":11,"hex_longitude":"2d180d80","hex_latitude":"07219540","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109483776001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10276469464891392,"note":"Value kept but may cause issues"} 
[2026-08-01 17:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733252568468178944,"note":"Value kept but may cause issues"} 
[2026-08-01 17:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785583922000,"timestamp_ms":1785583922000,"timestamp_seconds":1785583922,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd186b50"} 
[2026-08-01 17:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-01 17:03:33] 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-08-01 17: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-08-01 17:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109483776001,"66":14363,"107":206,"83":41984,"24":11,"16":10276469464891392,"45":1733252568468178944},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-01 17:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109483776001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:03:33] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-01 17:03:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10276469464891392,"km_value":10276469464891.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733252568468178944,"description":"Unknown IO ID 45"} 
[2026-08-01 17:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109483776001,"power":14363,"unknown_107":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1733252568468178944}} 
[2026-08-01 17:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":146349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:03:33] local.INFO: GPS data processed {"connection_id":146349,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:03:33] local.INFO: Acknowledgment sent {"connection_id":146349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:03:41] local.INFO: TCP Data received {"connection_id":146120,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:03:41] local.INFO: Processing buffer {"connection_id":146120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:03:41] local.INFO: IMEI packet received {"connection_id":146120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 17:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":146120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:03:42] local.INFO: TCP Data received {"connection_id":146120,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:03:42] local.INFO: Processing buffer {"connection_id":146120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:03:42] local.INFO: IMEI packet received {"connection_id":146120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:03:42] local.INFO: IMEI acknowledgment sent {"connection_id":146120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:03:43] local.INFO: TCP Data received {"connection_id":146120,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:03:43] local.INFO: Processing buffer {"connection_id":146120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:03:43] local.INFO: IMEI packet received {"connection_id":146120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":146120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:03:44] local.INFO: TCP Data received {"connection_id":146120,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:03:44] local.INFO: Processing buffer {"connection_id":146120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:03:44] local.INFO: IMEI packet received {"connection_id":146120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":146120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:04:00] local.INFO: TCP Data received {"connection_id":146350,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146350,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:04:00] local.INFO: Processing buffer {"connection_id":146350,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:04:00] local.INFO: IMEI packet received {"connection_id":146350,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":146350,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:04:05] local.INFO: TCP Data received {"connection_id":146350,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146350,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:04:05] local.INFO: Processing buffer {"connection_id":146350,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:04:05] local.INFO: IMEI packet received {"connection_id":146350,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":146350,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:04:06] local.INFO: TCP Data received {"connection_id":146350,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd186f38012d180dc007219668004d001722..."} 
[2026-08-01 17:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd186f38012d180dc007219668004d001722..."} 
[2026-08-01 17:04:06] local.INFO: Processing buffer {"connection_id":146350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd186f38012d180dc007219668004d001722..."} 
[2026-08-01 17:04:06] local.INFO: Packet analysis {"connection_id":146350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd18"} 
[2026-08-01 17:04:06] local.INFO: Extracted packet for processing {"connection_id":146350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd18"} 
[2026-08-01 17:04:06] local.INFO: GPS Element Parsed {"raw_longitude":756551104,"raw_latitude":119641704,"longitude_deg":75.6551104,"latitude_deg":11.9641704,"altitude":77,"angle":23,"satellites":34,"speed":12,"hex_longitude":"2d180dc0","hex_latitude":"07219668","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109484032001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10276482349793280,"note":"Value kept but may cause issues"} 
[2026-08-01 17:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733182199724064768,"note":"Value kept but may cause issues"} 
[2026-08-01 17:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785583923000,"timestamp_ms":1785583923000,"timestamp_seconds":1785583923,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd186f38"} 
[2026-08-01 17:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-01 17:04:06] 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-08-01 17: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-08-01 17:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:04:06] 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-08-01 17:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109484032001,"66":14254,"105":206,"83":41984,"24":12,"16":10276482349793280,"45":1733182199724064768},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109484032001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:04:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:04:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10276482349793280,"km_value":10276482349793.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733182199724064768,"description":"Unknown IO ID 45"} 
[2026-08-01 17:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109484032001,"power":14254,"unknown_105":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1733182199724064768}} 
[2026-08-01 17:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":146350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:04:06] local.INFO: GPS data processed {"connection_id":146350,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:04:06] local.INFO: Acknowledgment sent {"connection_id":146350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:04:37] local.INFO: TCP Data received {"connection_id":146350,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd187320012d180e8007219768004d002224..."} 
[2026-08-01 17:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd187320012d180e8007219768004d002224..."} 
[2026-08-01 17:04:37] local.INFO: Processing buffer {"connection_id":146350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd187320012d180e8007219768004d002224..."} 
[2026-08-01 17:04:37] local.INFO: Packet analysis {"connection_id":146350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd18"} 
[2026-08-01 17:04:37] local.INFO: Extracted packet for processing {"connection_id":146350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd18"} 
[2026-08-01 17:04:37] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641960,"longitude_deg":75.6551296,"latitude_deg":11.964196,"altitude":77,"angle":34,"satellites":36,"speed":12,"hex_longitude":"2d180e80","hex_latitude":"07219768","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109484288001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10276499529662464,"note":"Value kept but may cause issues"} 
[2026-08-01 17:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733252568468318208,"note":"Value kept but may cause issues"} 
[2026-08-01 17:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785583924000,"timestamp_ms":1785583924000,"timestamp_seconds":1785583924,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd187320"} 
[2026-08-01 17:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17: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":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-01 17:04:37] 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-08-01 17: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-08-01 17:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:04:37] 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-08-01 17:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109484288001,"66":14254,"105":206,"83":41984,"24":12,"16":10276499529662464,"45":1733252568468318208},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109484288001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:04:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:04:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10276499529662464,"km_value":10276499529662.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733252568468318208,"description":"Unknown IO ID 45"} 
[2026-08-01 17:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109484288001,"power":14254,"unknown_105":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1733252568468318208}} 
[2026-08-01 17:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":146350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:04:37] local.INFO: GPS data processed {"connection_id":146350,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:04:37] local.INFO: Acknowledgment sent {"connection_id":146350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:05:00] local.INFO: TCP Data received {"connection_id":148660,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:05:00] local.INFO: Processing buffer {"connection_id":148660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:05:00] local.INFO: IMEI packet received {"connection_id":148660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":148660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:05:05] local.INFO: TCP Data received {"connection_id":148660,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:05:05] local.INFO: Processing buffer {"connection_id":148660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:05:05] local.INFO: IMEI packet received {"connection_id":148660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":148660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:05:06] local.INFO: TCP Data received {"connection_id":148660,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd18c140012d1822400721b468004e002026..."} 
[2026-08-01 17:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd18c140012d1822400721b468004e002026..."} 
[2026-08-01 17:05:06] local.INFO: Processing buffer {"connection_id":148660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd18c140012d1822400721b468004e002026..."} 
[2026-08-01 17:05:06] local.INFO: Packet analysis {"connection_id":148660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd18"} 
[2026-08-01 17:05:06] local.INFO: Extracted packet for processing {"connection_id":148660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd18"} 
[2026-08-01 17:05:06] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649384,"longitude_deg":75.6556352,"latitude_deg":11.9649384,"altitude":78,"angle":32,"satellites":38,"speed":7,"hex_longitude":"2d182240","hex_latitude":"0721b468","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109484544001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10276929026392064,"note":"Value kept but may cause issues"} 
[2026-08-01 17:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674700916736,"note":"Value kept but may cause issues"} 
[2026-08-01 17:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785583944000,"timestamp_ms":1785583944000,"timestamp_seconds":1785583944,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd18c140"} 
[2026-08-01 17:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:05: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-08-01 17: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":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-01 17:05:06] 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-08-01 17: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-08-01 17:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:05:06] 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-08-01 17:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109484544001,"66":14265,"105":206,"83":41984,"24":7,"16":10276929026392064,"45":1733463674700916736},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109484544001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:05:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:05:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10276929026392064,"km_value":10276929026392.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674700916736,"description":"Unknown IO ID 45"} 
[2026-08-01 17:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109484544001,"power":14265,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1733463674700916736}} 
[2026-08-01 17:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":148660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:05:06] local.INFO: GPS data processed {"connection_id":148660,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:05:06] local.INFO: Acknowledgment sent {"connection_id":148660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:05:37] local.INFO: TCP Data received {"connection_id":148660,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd18ccf8012d1823800721b6f0004e001126..."} 
[2026-08-01 17:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd18ccf8012d1823800721b6f0004e001126..."} 
[2026-08-01 17:05:37] local.INFO: Processing buffer {"connection_id":148660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd18ccf8012d1823800721b6f0004e001126..."} 
[2026-08-01 17:05:37] local.INFO: Packet analysis {"connection_id":148660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd18"} 
[2026-08-01 17:05:37] local.INFO: Extracted packet for processing {"connection_id":148660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd18"} 
[2026-08-01 17:05:37] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650032,"longitude_deg":75.6556672,"latitude_deg":11.9650032,"altitude":78,"angle":17,"satellites":38,"speed":11,"hex_longitude":"2d182380","hex_latitude":"0721b6f0","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109489664001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10276967681097728,"note":"Value kept but may cause issues"} 
[2026-08-01 17:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492852736,"note":"Value kept but may cause issues"} 
[2026-08-01 17:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785583947000,"timestamp_ms":1785583947000,"timestamp_seconds":1785583947,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd18ccf8"} 
[2026-08-01 17:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-01 17:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17: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-08-01 17:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:05:37] 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-08-01 17:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109489664001,"66":14102,"105":206,"83":41984,"24":11,"16":10276967681097728,"45":1739022805492852736},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109489664001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:05:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:05:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10276967681097728,"km_value":10276967681097.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492852736,"description":"Unknown IO ID 45"} 
[2026-08-01 17:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109489664001,"power":14102,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1739022805492852736}} 
[2026-08-01 17:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":148660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578150,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:05:37] local.INFO: GPS data processed {"connection_id":148660,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:05:37] local.INFO: Acknowledgment sent {"connection_id":148660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:06:00] local.INFO: TCP Data received {"connection_id":146121,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:06:00] local.INFO: Processing buffer {"connection_id":146121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:06:00] local.INFO: IMEI packet received {"connection_id":146121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":146121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:06:05] local.INFO: TCP Data received {"connection_id":146121,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:06:05] local.INFO: Processing buffer {"connection_id":146121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:06:05] local.INFO: IMEI packet received {"connection_id":146121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":146121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:06:06] local.INFO: TCP Data received {"connection_id":146121,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd18d0e0012d1823800721b7e8004e015926..."} 
[2026-08-01 17:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd18d0e0012d1823800721b7e8004e015926..."} 
[2026-08-01 17:06:06] local.INFO: Processing buffer {"connection_id":146121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd18d0e0012d1823800721b7e8004e015926..."} 
[2026-08-01 17:06:06] local.INFO: Packet analysis {"connection_id":146121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd18"} 
[2026-08-01 17:06:06] local.INFO: Extracted packet for processing {"connection_id":146121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd18"} 
[2026-08-01 17:06:06] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650280,"longitude_deg":75.6556672,"latitude_deg":11.965028,"altitude":78,"angle":345,"satellites":38,"speed":8,"hex_longitude":"2d182380","hex_latitude":"0721b7e8","is_valid_coordinates":true} 
[2026-08-01 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-08-01 17:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109490432001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10276980565999616,"note":"Value kept but may cause issues"} 
[2026-08-01 17:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213906944,"note":"Value kept but may cause issues"} 
[2026-08-01 17:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785583948000,"timestamp_ms":1785583948000,"timestamp_seconds":1785583948,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd18d0e0"} 
[2026-08-01 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-08-01 17:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-01 17:06:06] 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-08-01 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-08-01 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-08-01 17:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:06:06] 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-08-01 17:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109490432001,"66":14102,"105":206,"83":41984,"24":8,"16":10276980565999616,"45":1739374649213906944},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109490432001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:06:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:06:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10276980565999616,"km_value":10276980565999.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213906944,"description":"Unknown IO ID 45"} 
[2026-08-01 17:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109490432001,"power":14102,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1739374649213906944}} 
[2026-08-01 17:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":146121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:06:06] local.INFO: GPS data processed {"connection_id":146121,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:06:06] local.INFO: Acknowledgment sent {"connection_id":146121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:06:37] local.INFO: TCP Data received {"connection_id":146121,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd18d4c8012d1823000721b868004f013326..."} 
[2026-08-01 17:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd18d4c8012d1823000721b868004f013326..."} 
[2026-08-01 17:06:37] local.INFO: Processing buffer {"connection_id":146121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd18d4c8012d1823000721b868004f013326..."} 
[2026-08-01 17:06:37] local.INFO: Packet analysis {"connection_id":146121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd18"} 
[2026-08-01 17:06:37] local.INFO: Extracted packet for processing {"connection_id":146121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd18"} 
[2026-08-01 17:06:37] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650408,"longitude_deg":75.6556544,"latitude_deg":11.9650408,"altitude":79,"angle":307,"satellites":38,"speed":7,"hex_longitude":"2d182300","hex_latitude":"0721b868","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109490688001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10276989155934208,"note":"Value kept but may cause issues"} 
[2026-08-01 17:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213970432,"note":"Value kept but may cause issues"} 
[2026-08-01 17:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785583949000,"timestamp_ms":1785583949000,"timestamp_seconds":1785583949,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd18d4c8"} 
[2026-08-01 17:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-01 17:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:06:37] 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-08-01 17:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109490688001,"66":14070,"105":206,"83":41984,"24":7,"16":10276989155934208,"45":1739374649213970432},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109490688001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:06:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:06:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10276989155934208,"km_value":10276989155934.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213970432,"description":"Unknown IO ID 45"} 
[2026-08-01 17:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109490688001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1739374649213970432}} 
[2026-08-01 17:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":146121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:06:37] local.INFO: GPS data processed {"connection_id":146121,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:06:37] local.INFO: Acknowledgment sent {"connection_id":146121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:07:00] local.INFO: TCP Data received {"connection_id":146353,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:07:00] local.INFO: Processing buffer {"connection_id":146353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:07:00] local.INFO: IMEI packet received {"connection_id":146353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":146353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:07:02] local.INFO: TCP Data received {"connection_id":146353,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:07:02] local.INFO: Processing buffer {"connection_id":146353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:07:02] local.INFO: IMEI packet received {"connection_id":146353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":146353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:07:05] local.INFO: TCP Data received {"connection_id":146353,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:07:05] local.INFO: Processing buffer {"connection_id":146353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:07:05] local.INFO: IMEI packet received {"connection_id":146353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":146353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:07:06] local.INFO: TCP Data received {"connection_id":146353,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd1926d0012d1822400721b450004f013325..."} 
[2026-08-01 17:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd1926d0012d1822400721b450004f013325..."} 
[2026-08-01 17:07:06] local.INFO: Processing buffer {"connection_id":146353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd1926d0012d1822400721b450004f013325..."} 
[2026-08-01 17:07:06] local.INFO: Packet analysis {"connection_id":146353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd19"} 
[2026-08-01 17:07:06] local.INFO: Extracted packet for processing {"connection_id":146353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd19"} 
[2026-08-01 17:07:06] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649360,"longitude_deg":75.6556352,"latitude_deg":11.964936,"altitude":79,"angle":307,"satellites":37,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b450","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109490944001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10277070760312832,"note":"Value kept but may cause issues"} 
[2026-08-01 17:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725647872,"note":"Value kept but may cause issues"} 
[2026-08-01 17:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785583970000,"timestamp_ms":1785583970000,"timestamp_seconds":1785583970,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd1926d0"} 
[2026-08-01 17:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-01 17:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17: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-08-01 17:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:07:06] 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-08-01 17:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109490944001,"66":13374,"105":206,"83":41984,"24":0,"16":10277070760312832,"45":1739233911725647872},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109490944001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:07:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:07:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10277070760312832,"km_value":10277070760312.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725647872,"description":"Unknown IO ID 45"} 
[2026-08-01 17:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109490944001,"power":13374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725647872}} 
[2026-08-01 17:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":146353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578153,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:07:06] local.INFO: GPS data processed {"connection_id":146353,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:07:06] local.INFO: Acknowledgment sent {"connection_id":146353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:07:37] local.INFO: TCP Data received {"connection_id":146353,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd1978d8012d1822400721b540004e013325..."} 
[2026-08-01 17:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd1978d8012d1822400721b540004e013325..."} 
[2026-08-01 17:07:37] local.INFO: Processing buffer {"connection_id":146353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd1978d8012d1822400721b540004e013325..."} 
[2026-08-01 17:07:37] local.INFO: Packet analysis {"connection_id":146353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd19"} 
[2026-08-01 17:07:37] local.INFO: Extracted packet for processing {"connection_id":146353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd19"} 
[2026-08-01 17:07:37] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649600,"longitude_deg":75.6556352,"latitude_deg":11.96496,"altitude":78,"angle":307,"satellites":37,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b540","is_valid_coordinates":true} 
[2026-08-01 17:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109496320001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10277118004953088,"note":"Value kept but may cause issues"} 
[2026-08-01 17:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492846592,"note":"Value kept but may cause issues"} 
[2026-08-01 17:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785583991000,"timestamp_ms":1785583991000,"timestamp_seconds":1785583991,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd1978d8"} 
[2026-08-01 17:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-01 17:07:37] 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-08-01 17:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:07:37] 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-08-01 17:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109496320001,"66":13254,"105":206,"83":41984,"24":0,"16":10277118004953088,"45":1739022805492846592},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109496320001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:07:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:07:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10277118004953088,"km_value":10277118004953.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492846592,"description":"Unknown IO ID 45"} 
[2026-08-01 17:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109496320001,"power":13254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492846592}} 
[2026-08-01 17:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":146353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:07:37] local.INFO: GPS data processed {"connection_id":146353,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:07:37] local.INFO: Acknowledgment sent {"connection_id":146353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:08:00] local.INFO: TCP Data received {"connection_id":146123,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146123,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:08:00] local.INFO: Processing buffer {"connection_id":146123,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:08:00] local.INFO: IMEI packet received {"connection_id":146123,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":146123,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:08:05] local.INFO: TCP Data received {"connection_id":146123,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146123,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:08:05] local.INFO: Processing buffer {"connection_id":146123,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:08:05] local.INFO: IMEI packet received {"connection_id":146123,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":146123,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:08:08] local.INFO: TCP Data received {"connection_id":146123,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd1cbcc8012d1820000721b2b0004f00d627..."} 
[2026-08-01 17:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd1cbcc8012d1820000721b2b0004f00d627..."} 
[2026-08-01 17:08:08] local.INFO: Processing buffer {"connection_id":146123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd1cbcc8012d1820000721b2b0004f00d627..."} 
[2026-08-01 17:08:08] local.INFO: Packet analysis {"connection_id":146123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd1c"} 
[2026-08-01 17:08:08] local.INFO: Extracted packet for processing {"connection_id":146123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd1c"} 
[2026-08-01 17:08:08] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648944,"longitude_deg":75.6555776,"latitude_deg":11.9648944,"altitude":79,"angle":214,"satellites":39,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b2b0","is_valid_coordinates":true} 
[2026-08-01 17:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109551104001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10277160954626048,"note":"Value kept but may cause issues"} 
[2026-08-01 17:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795141120,"note":"Value kept but may cause issues"} 
[2026-08-01 17:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785584205000,"timestamp_ms":1785584205000,"timestamp_seconds":1785584205,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd1cbcc8"} 
[2026-08-01 17:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-01 17:08:08] 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-08-01 17:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":146123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":146123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":146123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:08:08] 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-08-01 17:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109551104001,"66":12645,"105":206,"83":41984,"24":0,"16":10277160954626048,"45":1738389486795141120},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109551104001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:08:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:08:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10277160954626048,"km_value":10277160954626.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795141120,"description":"Unknown IO ID 45"} 
[2026-08-01 17:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109551104001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795141120}} 
[2026-08-01 17:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":146123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578155,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:08:08] local.INFO: GPS data processed {"connection_id":146123,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:08:08] local.INFO: Acknowledgment sent {"connection_id":146123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:08:41] local.INFO: TCP Data received {"connection_id":146123,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd1d0ed0012d1820000721b2b0004f00d627..."} 
[2026-08-01 17:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd1d0ed0012d1820000721b2b0004f00d627..."} 
[2026-08-01 17:08:41] local.INFO: Processing buffer {"connection_id":146123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd1d0ed0012d1820000721b2b0004f00d627..."} 
[2026-08-01 17:08:41] local.INFO: Packet analysis {"connection_id":146123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd1d"} 
[2026-08-01 17:08:41] local.INFO: Extracted packet for processing {"connection_id":146123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd1d"} 
[2026-08-01 17:08:41] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648944,"longitude_deg":75.6555776,"latitude_deg":11.9648944,"altitude":79,"angle":214,"satellites":39,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b2b0","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109556480001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10277160954626048,"note":"Value kept but may cause issues"} 
[2026-08-01 17:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795141120,"note":"Value kept but may cause issues"} 
[2026-08-01 17:08: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-08-01 17:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785584226000,"timestamp_ms":1785584226000,"timestamp_seconds":1785584226,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd1d0ed0"} 
[2026-08-01 17:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17: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-08-01 17: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-01 17:08:41] 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-08-01 17: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-08-01 17:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":146123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":146123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":146123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:08: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-08-01 17:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109556480001,"66":12613,"105":206,"83":41984,"24":0,"16":10277160954626048,"45":1738389486795141120},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109556480001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:08:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:08:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10277160954626048,"km_value":10277160954626.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795141120,"description":"Unknown IO ID 45"} 
[2026-08-01 17:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109556480001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795141120}} 
[2026-08-01 17:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":146123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:08:41] local.INFO: GPS data processed {"connection_id":146123,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:08:41] local.INFO: Acknowledgment sent {"connection_id":146123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:08:50] local.INFO: TCP Data received {"connection_id":146124,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:08:50] local.INFO: Processing buffer {"connection_id":146124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:08:50] local.INFO: IMEI packet received {"connection_id":146124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 17:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":146124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:09:00] local.INFO: TCP Data received {"connection_id":148662,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:09:00] local.INFO: Processing buffer {"connection_id":148662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:09:00] local.INFO: IMEI packet received {"connection_id":148662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":148662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:09:03] local.INFO: TCP Data received {"connection_id":146124,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd1d0318012ce9a9c0071a30d8001c014328..."} 
[2026-08-01 17:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd1d0318012ce9a9c0071a30d8001c014328..."} 
[2026-08-01 17:09:03] local.INFO: Processing buffer {"connection_id":146124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd1d0318012ce9a9c0071a30d8001c014328..."} 
[2026-08-01 17:09:03] local.INFO: Packet analysis {"connection_id":146124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd1d"} 
[2026-08-01 17:09:03] local.INFO: Extracted packet for processing {"connection_id":146124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd1d"} 
[2026-08-01 17:09:03] local.INFO: GPS Element Parsed {"raw_longitude":753510848,"raw_latitude":119156952,"longitude_deg":75.3510848,"latitude_deg":11.9156952,"altitude":28,"angle":323,"satellites":40,"speed":26,"hex_longitude":"2ce9a9c0","hex_latitude":"071a30d8","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109559552001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366632079267463168,"note":"Value kept but may cause issues"} 
[2026-08-01 17:09:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1607573930235262976,"note":"Value kept but may cause issues"} 
[2026-08-01 17:09:03] 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-08-01 17:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785584223000,"timestamp_ms":1785584223000,"timestamp_seconds":1785584223,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd1d0318"} 
[2026-08-01 17:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:09: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-08-01 17:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 17:09: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-08-01 17: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-08-01 17:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:09: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-08-01 17:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109559552001,"66":27919,"246":206,"83":41216,"24":26,"16":366632079267463168,"44":-1607573930235262976},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,83,24,16,44]} 
[2026-08-01 17:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109559552001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:09:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 17:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366632079267463168,"km_value":366632079267463.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:09:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1607573930235262976,"description":"Unknown IO ID 44"} 
[2026-08-01 17:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109559552001,"power":27919,"main_input_voltage":206,"unknown_83":41216,"ignition":26,"odometer":null,"unknown_44":-1607573930235262976}} 
[2026-08-01 17:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":146124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:09:03] local.INFO: GPS data processed {"connection_id":146124,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:09:03] local.INFO: Acknowledgment sent {"connection_id":146124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:09:05] local.INFO: TCP Data received {"connection_id":148662,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:09:05] local.INFO: Processing buffer {"connection_id":148662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:09:05] local.INFO: IMEI packet received {"connection_id":148662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":148662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:09:06] local.INFO: TCP Data received {"connection_id":148662,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd1d60d8012d1820000721b2b0004f00d627..."} 
[2026-08-01 17:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd1d60d8012d1820000721b2b0004f00d627..."} 
[2026-08-01 17:09:06] local.INFO: Processing buffer {"connection_id":148662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd1d60d8012d1820000721b2b0004f00d627..."} 
[2026-08-01 17:09:06] local.INFO: Packet analysis {"connection_id":148662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd1d"} 
[2026-08-01 17:09:06] local.INFO: Extracted packet for processing {"connection_id":148662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd1d"} 
[2026-08-01 17:09:06] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648944,"longitude_deg":75.6555776,"latitude_deg":11.9648944,"altitude":79,"angle":214,"satellites":39,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b2b0","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109561856001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10277160954626048,"note":"Value kept but may cause issues"} 
[2026-08-01 17:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795141120,"note":"Value kept but may cause issues"} 
[2026-08-01 17:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785584247000,"timestamp_ms":1785584247000,"timestamp_seconds":1785584247,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd1d60d8"} 
[2026-08-01 17:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-01 17:09:06] 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-08-01 17: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-08-01 17:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:09:06] 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-08-01 17:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109561856001,"66":12591,"105":206,"83":41984,"24":0,"16":10277160954626048,"45":1738389486795141120},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109561856001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:09:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:09:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10277160954626048,"km_value":10277160954626.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795141120,"description":"Unknown IO ID 45"} 
[2026-08-01 17:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109561856001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795141120}} 
[2026-08-01 17:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":148662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:09:06] local.INFO: GPS data processed {"connection_id":148662,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:09:06] local.INFO: Acknowledgment sent {"connection_id":148662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:09:37] local.INFO: TCP Data received {"connection_id":148662,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd1db2e0012d1820000721b2b0004f00d627..."} 
[2026-08-01 17:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd1db2e0012d1820000721b2b0004f00d627..."} 
[2026-08-01 17:09:37] local.INFO: Processing buffer {"connection_id":148662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd1db2e0012d1820000721b2b0004f00d627..."} 
[2026-08-01 17:09:37] local.INFO: Packet analysis {"connection_id":148662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd1d"} 
[2026-08-01 17:09:37] local.INFO: Extracted packet for processing {"connection_id":148662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd1d"} 
[2026-08-01 17:09:37] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648944,"longitude_deg":75.6555776,"latitude_deg":11.9648944,"altitude":79,"angle":214,"satellites":39,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b2b0","is_valid_coordinates":true} 
[2026-08-01 17:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109567232001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10277160954626048,"note":"Value kept but may cause issues"} 
[2026-08-01 17:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795141120,"note":"Value kept but may cause issues"} 
[2026-08-01 17:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785584268000,"timestamp_ms":1785584268000,"timestamp_seconds":1785584268,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd1db2e0"} 
[2026-08-01 17:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-01 17:09:37] 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-08-01 17:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:09:37] 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-08-01 17:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109567232001,"66":12526,"105":206,"83":41984,"24":0,"16":10277160954626048,"45":1738389486795141120},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109567232001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:09:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:09:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10277160954626048,"km_value":10277160954626.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795141120,"description":"Unknown IO ID 45"} 
[2026-08-01 17:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109567232001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795141120}} 
[2026-08-01 17:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":148662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578159,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:09:37] local.INFO: GPS data processed {"connection_id":148662,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:09:37] local.INFO: Acknowledgment sent {"connection_id":148662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:09:41] local.INFO: TCP Data received {"connection_id":148663,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:09:41] local.INFO: Processing buffer {"connection_id":148663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:09:41] local.INFO: IMEI packet received {"connection_id":148663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 17:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":148663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:09:43] local.INFO: TCP Data received {"connection_id":148663,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:09:43] local.INFO: Processing buffer {"connection_id":148663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:09:43] local.INFO: IMEI packet received {"connection_id":148663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":148663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:09:48] local.INFO: TCP Data received {"connection_id":148663,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:09:48] local.INFO: Processing buffer {"connection_id":148663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:09:48] local.INFO: IMEI packet received {"connection_id":148663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":148663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:09:49] local.INFO: TCP Data received {"connection_id":148663,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd1e7630012ce9d000071ae0b0001d001a27..."} 
[2026-08-01 17:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd1e7630012ce9d000071ae0b0001d001a27..."} 
[2026-08-01 17:09:49] local.INFO: Processing buffer {"connection_id":148663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd1e7630012ce9d000071ae0b0001d001a27..."} 
[2026-08-01 17:09:49] local.INFO: Packet analysis {"connection_id":148663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd1e"} 
[2026-08-01 17:09:49] local.INFO: Extracted packet for processing {"connection_id":148663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd1e"} 
[2026-08-01 17:09:49] local.INFO: GPS Element Parsed {"raw_longitude":753520640,"raw_latitude":119201968,"longitude_deg":75.352064,"latitude_deg":11.9201968,"altitude":29,"angle":26,"satellites":39,"speed":24,"hex_longitude":"2ce9d000","hex_latitude":"071ae0b0","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109581312001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366634557463592960,"note":"Value kept but may cause issues"} 
[2026-08-01 17:09:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1602718486876932096,"note":"Value kept but may cause issues"} 
[2026-08-01 17:09: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-08-01 17:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785584318000,"timestamp_ms":1785584318000,"timestamp_seconds":1785584318,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd1e7630"} 
[2026-08-01 17:09:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:09:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 17:09:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17: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-08-01 17:09:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:09:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109581312001,"66":27767,"245":206,"83":41216,"24":24,"16":366634557463592960,"44":-1602718486876932096},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-08-01 17:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109581312001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:09:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 17:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366634557463592960,"km_value":366634557463592.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:09:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1602718486876932096,"description":"Unknown IO ID 44"} 
[2026-08-01 17:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109581312001,"power":27767,"geofence_id":206,"unknown_83":41216,"ignition":24,"odometer":null,"unknown_44":-1602718486876932096}} 
[2026-08-01 17:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":148663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:09:49] local.INFO: GPS data processed {"connection_id":148663,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:09:49] local.INFO: Acknowledgment sent {"connection_id":148663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:10:02] local.INFO: TCP Data received {"connection_id":146354,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146354,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:10:02] local.INFO: Processing buffer {"connection_id":146354,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:10:02] local.INFO: IMEI packet received {"connection_id":146354,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":146354,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:10:05] local.INFO: TCP Data received {"connection_id":146354,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146354,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:10:05] local.INFO: Processing buffer {"connection_id":146354,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:10:05] local.INFO: IMEI packet received {"connection_id":146354,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":146354,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:10:08] local.INFO: TCP Data received {"connection_id":146354,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd1e04e8012d1820000721b2b0004f00d627..."} 
[2026-08-01 17:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd1e04e8012d1820000721b2b0004f00d627..."} 
[2026-08-01 17:10:08] local.INFO: Processing buffer {"connection_id":146354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd1e04e8012d1820000721b2b0004f00d627..."} 
[2026-08-01 17:10:08] local.INFO: Packet analysis {"connection_id":146354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd1e"} 
[2026-08-01 17:10:08] local.INFO: Extracted packet for processing {"connection_id":146354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd1e"} 
[2026-08-01 17:10:08] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648944,"longitude_deg":75.6555776,"latitude_deg":11.9648944,"altitude":79,"angle":214,"satellites":39,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b2b0","is_valid_coordinates":true} 
[2026-08-01 17:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109572608001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10277160954626048,"note":"Value kept but may cause issues"} 
[2026-08-01 17:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795141120,"note":"Value kept but may cause issues"} 
[2026-08-01 17:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785584289000,"timestamp_ms":1785584289000,"timestamp_seconds":1785584289,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd1e04e8"} 
[2026-08-01 17:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-01 17:10:08] 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-08-01 17:10:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":146354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":146354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":146354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:10:08] 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-08-01 17:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109572608001,"66":12504,"105":206,"83":41984,"24":0,"16":10277160954626048,"45":1738389486795141120},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109572608001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:10:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:10:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10277160954626048,"km_value":10277160954626.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795141120,"description":"Unknown IO ID 45"} 
[2026-08-01 17:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109572608001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795141120}} 
[2026-08-01 17:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":146354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578161,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:10:08] local.INFO: GPS data processed {"connection_id":146354,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:10:08] local.INFO: Acknowledgment sent {"connection_id":146354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:10:20] local.INFO: TCP Data received {"connection_id":148663,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd1f4920012ce9dec0071b47f00019002228..."} 
[2026-08-01 17:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd1f4920012ce9dec0071b47f00019002228..."} 
[2026-08-01 17:10:20] local.INFO: Processing buffer {"connection_id":148663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd1f4920012ce9dec0071b47f00019002228..."} 
[2026-08-01 17:10:20] local.INFO: Packet analysis {"connection_id":148663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd1f"} 
[2026-08-01 17:10:20] local.INFO: Extracted packet for processing {"connection_id":148663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd1f"} 
[2026-08-01 17:10:20] local.INFO: GPS Element Parsed {"raw_longitude":753524416,"raw_latitude":119228400,"longitude_deg":75.3524416,"latitude_deg":11.92284,"altitude":25,"angle":34,"satellites":40,"speed":15,"hex_longitude":"2ce9dec0","hex_latitude":"071b47f0","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109598976001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366635966212866048,"note":"Value kept but may cause issues"} 
[2026-08-01 17:10:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1594907556264351744,"note":"Value kept but may cause issues"} 
[2026-08-01 17:10:20] 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-08-01 17:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785584372000,"timestamp_ms":1785584372000,"timestamp_seconds":1785584372,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd1f4920"} 
[2026-08-01 17:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 17:10:20] 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-08-01 17: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-08-01 17:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:10:20] 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-08-01 17:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109598976001,"66":27821,"245":206,"83":41216,"24":15,"16":366635966212866048,"44":-1594907556264351744},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-08-01 17:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109598976001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:10:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 17:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366635966212866048,"km_value":366635966212866.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:10:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1594907556264351744,"description":"Unknown IO ID 44"} 
[2026-08-01 17:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109598976001,"power":27821,"geofence_id":206,"unknown_83":41216,"ignition":15,"odometer":null,"unknown_44":-1594907556264351744}} 
[2026-08-01 17:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":148663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:10:20] local.INFO: GPS data processed {"connection_id":148663,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:10:20] local.INFO: Acknowledgment sent {"connection_id":148663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:10:41] local.INFO: TCP Data received {"connection_id":146354,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd1e56f0012d1820000721b2b0004f00d627..."} 
[2026-08-01 17:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd1e56f0012d1820000721b2b0004f00d627..."} 
[2026-08-01 17:10:41] local.INFO: Processing buffer {"connection_id":146354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd1e56f0012d1820000721b2b0004f00d627..."} 
[2026-08-01 17:10:41] local.INFO: Packet analysis {"connection_id":146354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd1e"} 
[2026-08-01 17:10:41] local.INFO: Extracted packet for processing {"connection_id":146354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd1e"} 
[2026-08-01 17:10:41] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648944,"longitude_deg":75.6555776,"latitude_deg":11.9648944,"altitude":79,"angle":214,"satellites":39,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b2b0","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109577984001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10277160954626048,"note":"Value kept but may cause issues"} 
[2026-08-01 17:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795141120,"note":"Value kept but may cause issues"} 
[2026-08-01 17:10: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-08-01 17:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785584310000,"timestamp_ms":1785584310000,"timestamp_seconds":1785584310,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd1e56f0"} 
[2026-08-01 17:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:10: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-08-01 17: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-01 17:10:41] 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-08-01 17: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-08-01 17:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":146354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":146354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":146354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:10: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-08-01 17:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109577984001,"66":12504,"105":206,"83":41984,"24":0,"16":10277160954626048,"45":1738389486795141120},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109577984001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:10:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:10:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10277160954626048,"km_value":10277160954626.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795141120,"description":"Unknown IO ID 45"} 
[2026-08-01 17:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109577984001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795141120}} 
[2026-08-01 17:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":146354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578163,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:10:41] local.INFO: GPS data processed {"connection_id":146354,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:10:41] local.INFO: Acknowledgment sent {"connection_id":146354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:10:41] local.INFO: TCP Data received {"connection_id":146355,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:10:41] local.INFO: Processing buffer {"connection_id":146355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:10:41] local.INFO: IMEI packet received {"connection_id":146355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 17:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":146355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:10:43] local.INFO: TCP Data received {"connection_id":146355,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:10:43] local.INFO: Processing buffer {"connection_id":146355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:10:43] local.INFO: IMEI packet received {"connection_id":146355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":146355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:10:49] local.INFO: TCP Data received {"connection_id":146355,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:10:49] local.INFO: Processing buffer {"connection_id":146355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:10:49] local.INFO: IMEI packet received {"connection_id":146355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":146355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:10:49] local.INFO: TCP Data received {"connection_id":146355,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd1f4d08012ce9df40071b49680018001229..."} 
[2026-08-01 17:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd1f4d08012ce9df40071b49680018001229..."} 
[2026-08-01 17:10:49] local.INFO: Processing buffer {"connection_id":146355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd1f4d08012ce9df40071b49680018001229..."} 
[2026-08-01 17:10:49] local.INFO: Packet analysis {"connection_id":146355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd1f"} 
[2026-08-01 17:10:49] local.INFO: Extracted packet for processing {"connection_id":146355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd1f"} 
[2026-08-01 17:10:49] local.INFO: GPS Element Parsed {"raw_longitude":753524544,"raw_latitude":119228776,"longitude_deg":75.3524544,"latitude_deg":11.9228776,"altitude":24,"angle":18,"satellites":41,"speed":17,"hex_longitude":"2ce9df40","hex_latitude":"071b4968","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109599232001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366635987687702528,"note":"Value kept but may cause issues"} 
[2026-08-01 17:10:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1594626081287573504,"note":"Value kept but may cause issues"} 
[2026-08-01 17:10: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-08-01 17:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785584373000,"timestamp_ms":1785584373000,"timestamp_seconds":1785584373,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd1f4d08"} 
[2026-08-01 17:10:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:10: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-08-01 17: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 17:10:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17: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-08-01 17:10:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:10:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109599232001,"66":27821,"245":206,"83":41216,"24":17,"16":366635987687702528,"44":-1594626081287573504},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-08-01 17:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109599232001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:10:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 17:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366635987687702528,"km_value":366635987687702.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:10:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1594626081287573504,"description":"Unknown IO ID 44"} 
[2026-08-01 17:10:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109599232001,"power":27821,"geofence_id":206,"unknown_83":41216,"ignition":17,"odometer":null,"unknown_44":-1594626081287573504}} 
[2026-08-01 17:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":146355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:10:49] local.INFO: GPS data processed {"connection_id":146355,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:10:49] local.INFO: Acknowledgment sent {"connection_id":146355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:11:00] local.INFO: TCP Data received {"connection_id":147359,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:11:00] local.INFO: Processing buffer {"connection_id":147359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:11:00] local.INFO: IMEI packet received {"connection_id":147359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":147359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:11:05] local.INFO: TCP Data received {"connection_id":147359,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:11:05] local.INFO: Processing buffer {"connection_id":147359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:11:05] local.INFO: IMEI packet received {"connection_id":147359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":147359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:11:06] local.INFO: TCP Data received {"connection_id":147359,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd1ea8f8012d1820000721b2b0004f00d626..."} 
[2026-08-01 17:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd1ea8f8012d1820000721b2b0004f00d626..."} 
[2026-08-01 17:11:06] local.INFO: Processing buffer {"connection_id":147359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd1ea8f8012d1820000721b2b0004f00d626..."} 
[2026-08-01 17:11:06] local.INFO: Packet analysis {"connection_id":147359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd1e"} 
[2026-08-01 17:11:06] local.INFO: Extracted packet for processing {"connection_id":147359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd1e"} 
[2026-08-01 17:11:06] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648944,"longitude_deg":75.6555776,"latitude_deg":11.9648944,"altitude":79,"angle":214,"satellites":38,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b2b0","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109583360001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10277160954626048,"note":"Value kept but may cause issues"} 
[2026-08-01 17:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795141120,"note":"Value kept but may cause issues"} 
[2026-08-01 17:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785584331000,"timestamp_ms":1785584331000,"timestamp_seconds":1785584331,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd1ea8f8"} 
[2026-08-01 17:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:11: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-08-01 17: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-01 17:11:06] 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-08-01 17: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-08-01 17:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:11:06] 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-08-01 17:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109583360001,"66":12526,"105":206,"83":41984,"24":0,"16":10277160954626048,"45":1738389486795141120},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109583360001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:11:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:11:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10277160954626048,"km_value":10277160954626.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795141120,"description":"Unknown IO ID 45"} 
[2026-08-01 17:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109583360001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795141120}} 
[2026-08-01 17:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":147359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578165,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:11:06] local.INFO: GPS data processed {"connection_id":147359,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:11:06] local.INFO: Acknowledgment sent {"connection_id":147359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:11:21] local.INFO: TCP Data received {"connection_id":146355,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd201058012ce9f3c0071ba3e80017003f25..."} 
[2026-08-01 17:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd201058012ce9f3c0071ba3e80017003f25..."} 
[2026-08-01 17:11:21] local.INFO: Processing buffer {"connection_id":146355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd201058012ce9f3c0071ba3e80017003f25..."} 
[2026-08-01 17:11:21] local.INFO: Packet analysis {"connection_id":146355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd20"} 
[2026-08-01 17:11:21] local.INFO: Extracted packet for processing {"connection_id":146355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd20"} 
[2026-08-01 17:11:21] local.INFO: GPS Element Parsed {"raw_longitude":753529792,"raw_latitude":119251944,"longitude_deg":75.3529792,"latitude_deg":11.9251944,"altitude":23,"angle":63,"satellites":37,"speed":20,"hex_longitude":"2ce9f3c0","hex_latitude":"071ba3e8","is_valid_coordinates":true} 
[2026-08-01 17:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109610240001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366637336307433472,"note":"Value kept but may cause issues"} 
[2026-08-01 17:11:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1593359443886456832,"note":"Value kept but may cause issues"} 
[2026-08-01 17:11:21] 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-08-01 17:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785584423000,"timestamp_ms":1785584423000,"timestamp_seconds":1785584423,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd201058"} 
[2026-08-01 17:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:11:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-01 17:11:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:11:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:11:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109610240001,"66":27789,"209":206,"83":41216,"24":20,"16":366637336307433472,"44":-1593359443886456832},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-08-01 17:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109610240001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:11:21] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-01 17:11:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 17:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366637336307433472,"km_value":366637336307433.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:11:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1593359443886456832,"description":"Unknown IO ID 44"} 
[2026-08-01 17:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109610240001,"power":27789,"unknown_209":206,"unknown_83":41216,"ignition":20,"odometer":null,"unknown_44":-1593359443886456832}} 
[2026-08-01 17:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":146355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:11:21] local.INFO: GPS data processed {"connection_id":146355,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:11:21] local.INFO: Acknowledgment sent {"connection_id":146355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:11:37] local.INFO: TCP Data received {"connection_id":147359,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd1efb00012d1820000721b2b0004f00d626..."} 
[2026-08-01 17:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd1efb00012d1820000721b2b0004f00d626..."} 
[2026-08-01 17:11:37] local.INFO: Processing buffer {"connection_id":147359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd1efb00012d1820000721b2b0004f00d626..."} 
[2026-08-01 17:11:37] local.INFO: Packet analysis {"connection_id":147359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd1e"} 
[2026-08-01 17:11:37] local.INFO: Extracted packet for processing {"connection_id":147359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd1e"} 
[2026-08-01 17:11:37] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648944,"longitude_deg":75.6555776,"latitude_deg":11.9648944,"altitude":79,"angle":214,"satellites":38,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b2b0","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109588736001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10277160954626048,"note":"Value kept but may cause issues"} 
[2026-08-01 17:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795141120,"note":"Value kept but may cause issues"} 
[2026-08-01 17:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785584352000,"timestamp_ms":1785584352000,"timestamp_seconds":1785584352,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd1efb00"} 
[2026-08-01 17:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-01 17:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17: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-08-01 17:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:11:37] 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-08-01 17:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109588736001,"66":12504,"105":206,"83":41984,"24":0,"16":10277160954626048,"45":1738389486795141120},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109588736001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:11:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:11:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10277160954626048,"km_value":10277160954626.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795141120,"description":"Unknown IO ID 45"} 
[2026-08-01 17:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109588736001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795141120}} 
[2026-08-01 17:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":147359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:11:37] local.INFO: GPS data processed {"connection_id":147359,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:11:37] local.INFO: Acknowledgment sent {"connection_id":147359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:11:43] local.INFO: TCP Data received {"connection_id":146125,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:11:43] local.INFO: Processing buffer {"connection_id":146125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:11:43] local.INFO: IMEI packet received {"connection_id":146125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 17:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":146125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:11:44] local.INFO: TCP Data received {"connection_id":146125,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:11:44] local.INFO: Processing buffer {"connection_id":146125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:11:44] local.INFO: IMEI packet received {"connection_id":146125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":146125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:11:49] local.INFO: TCP Data received {"connection_id":146125,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:11:49] local.INFO: Processing buffer {"connection_id":146125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:11:49] local.INFO: IMEI packet received {"connection_id":146125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":146125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:11:49] local.INFO: TCP Data received {"connection_id":146125,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd201440012ce9f540071ba5400017002724..."} 
[2026-08-01 17:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd201440012ce9f540071ba5400017002724..."} 
[2026-08-01 17:11:49] local.INFO: Processing buffer {"connection_id":146125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd201440012ce9f540071ba5400017002724..."} 
[2026-08-01 17:11:49] local.INFO: Packet analysis {"connection_id":146125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd20"} 
[2026-08-01 17:11:49] local.INFO: Extracted packet for processing {"connection_id":146125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd20"} 
[2026-08-01 17:11:49] local.INFO: GPS Element Parsed {"raw_longitude":753530176,"raw_latitude":119252288,"longitude_deg":75.3530176,"latitude_deg":11.9252288,"altitude":23,"angle":39,"satellites":36,"speed":20,"hex_longitude":"2ce9f540","hex_latitude":"071ba540","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109612288001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:11:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366637362077237248,"note":"Value kept but may cause issues"} 
[2026-08-01 17:11:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1588715106770622464,"note":"Value kept but may cause issues"} 
[2026-08-01 17:11:49] 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-08-01 17:11:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785584424000,"timestamp_ms":1785584424000,"timestamp_seconds":1785584424,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd201440"} 
[2026-08-01 17:11:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:11: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-08-01 17: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-01 17:11:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17: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-08-01 17:11:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:11:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:11:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:11:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:11:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:11:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:11:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:11:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:11:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109612288001,"66":27789,"209":206,"83":41216,"24":20,"16":366637362077237248,"44":-1588715106770622464},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-08-01 17:11:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:11:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:11:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109612288001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:11:49] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-01 17:11:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 17:11:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366637362077237248,"km_value":366637362077237.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:11:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1588715106770622464,"description":"Unknown IO ID 44"} 
[2026-08-01 17:11:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109612288001,"power":27789,"unknown_209":206,"unknown_83":41216,"ignition":20,"odometer":null,"unknown_44":-1588715106770622464}} 
[2026-08-01 17:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":146125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:11:50] local.INFO: GPS data processed {"connection_id":146125,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:11:50] local.INFO: Acknowledgment sent {"connection_id":146125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:12:00] local.INFO: TCP Data received {"connection_id":148664,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:12:00] local.INFO: Processing buffer {"connection_id":148664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:12:00] local.INFO: IMEI packet received {"connection_id":148664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":148664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:12:05] local.INFO: TCP Data received {"connection_id":148664,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:12:05] local.INFO: Processing buffer {"connection_id":148664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:12:05] local.INFO: IMEI packet received {"connection_id":148664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":148664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:12:06] local.INFO: TCP Data received {"connection_id":148664,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd1f4d08012d1820000721b2b0004f00d626..."} 
[2026-08-01 17:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd1f4d08012d1820000721b2b0004f00d626..."} 
[2026-08-01 17:12:06] local.INFO: Processing buffer {"connection_id":148664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd1f4d08012d1820000721b2b0004f00d626..."} 
[2026-08-01 17:12:06] local.INFO: Packet analysis {"connection_id":148664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd1f"} 
[2026-08-01 17:12:06] local.INFO: Extracted packet for processing {"connection_id":148664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd1f"} 
[2026-08-01 17:12:06] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648944,"longitude_deg":75.6555776,"latitude_deg":11.9648944,"altitude":79,"angle":214,"satellites":38,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b2b0","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109594112001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10277160954626048,"note":"Value kept but may cause issues"} 
[2026-08-01 17:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795141120,"note":"Value kept but may cause issues"} 
[2026-08-01 17:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785584373000,"timestamp_ms":1785584373000,"timestamp_seconds":1785584373,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd1f4d08"} 
[2026-08-01 17:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-01 17:12:06] 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-08-01 17: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-08-01 17:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:12:06] 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-08-01 17:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109594112001,"66":12504,"105":206,"83":41984,"24":0,"16":10277160954626048,"45":1738389486795141120},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109594112001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:12:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:12:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10277160954626048,"km_value":10277160954626.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795141120,"description":"Unknown IO ID 45"} 
[2026-08-01 17:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109594112001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795141120}} 
[2026-08-01 17:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":148664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:12:06] local.INFO: GPS data processed {"connection_id":148664,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:12:06] local.INFO: Acknowledgment sent {"connection_id":148664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:12:21] local.INFO: TCP Data received {"connection_id":146125,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd201828012ce9f640071ba6e80017001724..."} 
[2026-08-01 17:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd201828012ce9f640071ba6e80017001724..."} 
[2026-08-01 17:12:21] local.INFO: Processing buffer {"connection_id":146125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd201828012ce9f640071ba6e80017001724..."} 
[2026-08-01 17:12:21] local.INFO: Packet analysis {"connection_id":146125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd20"} 
[2026-08-01 17:12:21] local.INFO: Extracted packet for processing {"connection_id":146125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd20"} 
[2026-08-01 17:12:21] local.INFO: GPS Element Parsed {"raw_longitude":753530432,"raw_latitude":119252712,"longitude_deg":75.3530432,"latitude_deg":11.9252712,"altitude":23,"angle":23,"satellites":36,"speed":18,"hex_longitude":"2ce9f640","hex_latitude":"071ba6e8","is_valid_coordinates":true} 
[2026-08-01 17:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109612544001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366637383552073728,"note":"Value kept but may cause issues"} 
[2026-08-01 17:12:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1588292894305468416,"note":"Value kept but may cause issues"} 
[2026-08-01 17:12:21] 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-08-01 17:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785584425000,"timestamp_ms":1785584425000,"timestamp_seconds":1785584425,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd201828"} 
[2026-08-01 17:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:12:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-01 17:12:21] 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-08-01 17:12:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:12:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109612544001,"66":27908,"209":206,"83":41216,"24":18,"16":366637383552073728,"44":-1588292894305468416},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-08-01 17:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109612544001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:12:21] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-01 17:12:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-01 17:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366637383552073728,"km_value":366637383552073.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:12:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1588292894305468416,"description":"Unknown IO ID 44"} 
[2026-08-01 17:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109612544001,"power":27908,"unknown_209":206,"unknown_83":41216,"ignition":18,"odometer":null,"unknown_44":-1588292894305468416}} 
[2026-08-01 17:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":146125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:12:21] local.INFO: GPS data processed {"connection_id":146125,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:12:21] local.INFO: Acknowledgment sent {"connection_id":146125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:12:37] local.INFO: TCP Data received {"connection_id":148664,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd1f9f10012d1820000721b2b0004f00d628..."} 
[2026-08-01 17:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd1f9f10012d1820000721b2b0004f00d628..."} 
[2026-08-01 17:12:37] local.INFO: Processing buffer {"connection_id":148664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd1f9f10012d1820000721b2b0004f00d628..."} 
[2026-08-01 17:12:37] local.INFO: Packet analysis {"connection_id":148664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd1f"} 
[2026-08-01 17:12:37] local.INFO: Extracted packet for processing {"connection_id":148664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd1f"} 
[2026-08-01 17:12:37] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648944,"longitude_deg":75.6555776,"latitude_deg":11.9648944,"altitude":79,"angle":214,"satellites":40,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b2b0","is_valid_coordinates":true} 
[2026-08-01 17:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109599488001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10277160954626048,"note":"Value kept but may cause issues"} 
[2026-08-01 17:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795141120,"note":"Value kept but may cause issues"} 
[2026-08-01 17:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785584394000,"timestamp_ms":1785584394000,"timestamp_seconds":1785584394,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd1f9f10"} 
[2026-08-01 17:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-01 17:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:12:37] 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-08-01 17:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109599488001,"66":12461,"105":206,"83":41984,"24":0,"16":10277160954626048,"45":1738389486795141120},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109599488001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:12:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:12:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10277160954626048,"km_value":10277160954626.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795141120,"description":"Unknown IO ID 45"} 
[2026-08-01 17:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109599488001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795141120}} 
[2026-08-01 17:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":148664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:12:37] local.INFO: GPS data processed {"connection_id":148664,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:12:37] local.INFO: Acknowledgment sent {"connection_id":148664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:12:48] local.INFO: TCP Data received {"connection_id":148665,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:12:48] local.INFO: Processing buffer {"connection_id":148665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:12:48] local.INFO: IMEI packet received {"connection_id":148665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 17:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":148665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:12:49] local.INFO: TCP Data received {"connection_id":148665,"ip":"42.106.6.24","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 17:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148665,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 17:12:49] local.INFO: Processing buffer {"connection_id":148665,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 17:12:49] local.INFO: IMEI packet received {"connection_id":148665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":148665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:13:05] local.INFO: TCP Data received {"connection_id":148666,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:13:05] local.INFO: Processing buffer {"connection_id":148666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:13:05] local.INFO: IMEI packet received {"connection_id":148666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":148666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:13:10] local.INFO: TCP Data received {"connection_id":148666,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:13:10] local.INFO: Processing buffer {"connection_id":148666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:13:10] local.INFO: IMEI packet received {"connection_id":148666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":148666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:13:14] local.INFO: TCP Data received {"connection_id":148666,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd1ff118012d181dc00721aeb0005100d427..."} 
[2026-08-01 17:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd1ff118012d181dc00721aeb0005100d427..."} 
[2026-08-01 17:13:14] local.INFO: Processing buffer {"connection_id":148666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd1ff118012d181dc00721aeb0005100d427..."} 
[2026-08-01 17:13:14] local.INFO: Packet analysis {"connection_id":148666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd1f"} 
[2026-08-01 17:13:14] local.INFO: Extracted packet for processing {"connection_id":148666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd1f"} 
[2026-08-01 17:13:14] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647920,"longitude_deg":75.65552,"latitude_deg":11.964792,"altitude":81,"angle":212,"satellites":39,"speed":3,"hex_longitude":"2d181dc0","hex_latitude":"0721aeb0","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109604864001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10277221084168192,"note":"Value kept but may cause issues"} 
[2026-08-01 17:13:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795141120,"note":"Value kept but may cause issues"} 
[2026-08-01 17:13: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-08-01 17:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785584415000,"timestamp_ms":1785584415000,"timestamp_seconds":1785584415,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd1ff118"} 
[2026-08-01 17:13:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:13:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 17:13:14] 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-08-01 17: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-08-01 17:13:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":148666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":148666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":148666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:13:14] 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-08-01 17:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109604864001,"66":12461,"105":206,"83":41984,"24":3,"16":10277221084168192,"45":1738389486795141120},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109604864001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:13:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:13:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10277221084168192,"km_value":10277221084168.191,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:13:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795141120,"description":"Unknown IO ID 45"} 
[2026-08-01 17:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109604864001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1738389486795141120}} 
[2026-08-01 17:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":148666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:13:14] local.INFO: GPS data processed {"connection_id":148666,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:13:14] local.INFO: Acknowledgment sent {"connection_id":148666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:13:23] local.INFO: TCP Data received {"connection_id":148666,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd204320012d181d400721ade8005100d026..."} 
[2026-08-01 17:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd204320012d181d400721ade8005100d026..."} 
[2026-08-01 17:13:23] local.INFO: Processing buffer {"connection_id":148666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd204320012d181d400721ade8005100d026..."} 
[2026-08-01 17:13:23] local.INFO: Packet analysis {"connection_id":148666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd20"} 
[2026-08-01 17:13:23] local.INFO: Extracted packet for processing {"connection_id":148666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd20"} 
[2026-08-01 17:13:23] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647720,"longitude_deg":75.6555072,"latitude_deg":11.964772,"altitude":81,"angle":208,"satellites":38,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ade8","is_valid_coordinates":true} 
[2026-08-01 17:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109610240001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10277233969070080,"note":"Value kept but may cause issues"} 
[2026-08-01 17:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097280000,"note":"Value kept but may cause issues"} 
[2026-08-01 17:13:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785584436000,"timestamp_ms":1785584436000,"timestamp_seconds":1785584436,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd204320"} 
[2026-08-01 17:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:13:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 17:13: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-08-01 17:13:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":148666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":148666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":148666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:13:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109610240001,"66":12178,"105":206,"83":41984,"24":0,"16":10277233969070080,"45":1737756168097280000},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109610240001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:13:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:13:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10277233969070080,"km_value":10277233969070.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097280000,"description":"Unknown IO ID 45"} 
[2026-08-01 17:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109610240001,"power":12178,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097280000}} 
[2026-08-01 17:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":148666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:13:23] local.INFO: GPS data processed {"connection_id":148666,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:13:23] local.INFO: Acknowledgment sent {"connection_id":148666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:14:00] local.INFO: TCP Data received {"connection_id":146357,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:14:00] local.INFO: Processing buffer {"connection_id":146357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:14:00] local.INFO: IMEI packet received {"connection_id":146357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":146357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:14:00] local.INFO: TCP Data received {"connection_id":146357,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:14:00] local.INFO: Processing buffer {"connection_id":146357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:14:00] local.INFO: IMEI packet received {"connection_id":146357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":146357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:14:05] local.INFO: TCP Data received {"connection_id":146357,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:14:05] local.INFO: Processing buffer {"connection_id":146357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:14:05] local.INFO: IMEI packet received {"connection_id":146357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":146357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:14:06] local.INFO: TCP Data received {"connection_id":146357,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd2294e0012d183300072198580051007e21..."} 
[2026-08-01 17:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd2294e0012d183300072198580051007e21..."} 
[2026-08-01 17:14:06] local.INFO: Processing buffer {"connection_id":146357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd2294e0012d183300072198580051007e21..."} 
[2026-08-01 17:14:06] local.INFO: Packet analysis {"connection_id":146357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd22"} 
[2026-08-01 17:14:06] local.INFO: Extracted packet for processing {"connection_id":146357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd22"} 
[2026-08-01 17:14:06] local.INFO: GPS Element Parsed {"raw_longitude":756560640,"raw_latitude":119642200,"longitude_deg":75.656064,"latitude_deg":11.96422,"altitude":81,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d183300","hex_latitude":"07219858","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109649152001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10277633401028608,"note":"Value kept but may cause issues"} 
[2026-08-01 17:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742259767723411456,"note":"Value kept but may cause issues"} 
[2026-08-01 17:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785584588000,"timestamp_ms":1785584588000,"timestamp_seconds":1785584588,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd2294e0"} 
[2026-08-01 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-08-01 17:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-01 17:14:06] 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-08-01 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-08-01 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-08-01 17:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:14:06] 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-08-01 17:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109649152001,"66":14102,"105":206,"83":41984,"24":0,"16":10277633401028608,"45":1742259767723411456},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109649152001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:14:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:14:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10277633401028608,"km_value":10277633401028.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742259767723411456,"description":"Unknown IO ID 45"} 
[2026-08-01 17:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109649152001,"power":14102,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1742259767723411456}} 
[2026-08-01 17:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":146357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:14:06] local.INFO: GPS data processed {"connection_id":146357,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:14:06] local.INFO: Acknowledgment sent {"connection_id":146357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:14:10] local.INFO: TCP Data received {"connection_id":146357,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd229cb0012d183440072197b80052006922..."} 
[2026-08-01 17:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd229cb0012d183440072197b80052006922..."} 
[2026-08-01 17:14:10] local.INFO: Processing buffer {"connection_id":146357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd229cb0012d183440072197b80052006922..."} 
[2026-08-01 17:14:10] local.INFO: Packet analysis {"connection_id":146357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd22"} 
[2026-08-01 17:14:10] local.INFO: Extracted packet for processing {"connection_id":146357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd22"} 
[2026-08-01 17:14:10] local.INFO: GPS Element Parsed {"raw_longitude":756560960,"raw_latitude":119642040,"longitude_deg":75.656096,"latitude_deg":11.964204,"altitude":82,"angle":105,"satellites":34,"speed":4,"hex_longitude":"2d183440","hex_latitude":"072197b8","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109654528001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10277650580897792,"note":"Value kept but may cause issues"} 
[2026-08-01 17:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743737511350917120,"note":"Value kept but may cause issues"} 
[2026-08-01 17:14: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-08-01 17:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785584590000,"timestamp_ms":1785584590000,"timestamp_seconds":1785584590,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd229cb0"} 
[2026-08-01 17:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:14: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-08-01 17: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-01 17:14: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-08-01 17: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-08-01 17:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:14: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-08-01 17:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109654528001,"66":14080,"105":206,"83":41984,"24":4,"16":10277650580897792,"45":1743737511350917120},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109654528001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:14:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:14:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10277650580897792,"km_value":10277650580897.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743737511350917120,"description":"Unknown IO ID 45"} 
[2026-08-01 17:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109654528001,"power":14080,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1743737511350917120}} 
[2026-08-01 17:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":146357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:14:10] local.INFO: GPS data processed {"connection_id":146357,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:14:10] local.INFO: Acknowledgment sent {"connection_id":146357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:14:40] local.INFO: TCP Data received {"connection_id":146357,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd22cb90012d184b8007218db00051007522..."} 
[2026-08-01 17:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd22cb90012d184b8007218db00051007522..."} 
[2026-08-01 17:14:40] local.INFO: Processing buffer {"connection_id":146357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd22cb90012d184b8007218db00051007522..."} 
[2026-08-01 17:14:40] local.INFO: Packet analysis {"connection_id":146357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd22"} 
[2026-08-01 17:14:40] local.INFO: Extracted packet for processing {"connection_id":146357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd22"} 
[2026-08-01 17:14:40] local.INFO: GPS Element Parsed {"raw_longitude":756566912,"raw_latitude":119639472,"longitude_deg":75.6566912,"latitude_deg":11.9639472,"altitude":81,"angle":117,"satellites":34,"speed":29,"hex_longitude":"2d184b80","hex_latitude":"07218db0","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109655040001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10277959818543104,"note":"Value kept but may cause issues"} 
[2026-08-01 17:14:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744089355071764480,"note":"Value kept but may cause issues"} 
[2026-08-01 17:14: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-08-01 17:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785584602000,"timestamp_ms":1785584602000,"timestamp_seconds":1785584602,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd22cb90"} 
[2026-08-01 17:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:14:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-01 17:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446302976,"note":"Value kept but may cause issues"} 
[2026-08-01 17:14:40] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-01 17:14:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 17:14:40] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3173102160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:14:40] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2830106702,"note":"Value kept but may cause issues"} 
[2026-08-01 17:14:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-01 17:14:40] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":5111960,"corrected_to":0} 
[2026-08-01 17:14:40] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3758148970,"note":"Value kept but may cause issues"} 
[2026-08-01 17:14:40] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2200109056,"note":"Value kept but may cause issues"} 
[2026-08-01 17:14:40] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,131,159,148,45,152,81,33,10,66,192,155,80,34,23,64,1,240,227,189,4,113,205,3,190,30,200,38,239,54,2,36,7,78],"length":479,"final_offset":609,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0},{"io_id":200,"original":5111960,"validated":0}]} 
[2026-08-01 17:14:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5908838305860157440,"timestamp_seconds":5908838305860157.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 17:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:14:40] 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-08-01 17:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109655040001,"66":14102,"106":206,"83":41984,"24":29,"16":10277959818543104,"45":1744089355071764480},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-01 17:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109655040001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:14:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-01 17:14:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10277959818543104,"km_value":10277959818543.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:14:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744089355071764480,"description":"Unknown IO ID 45"} 
[2026-08-01 17:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109655040001,"power":14102,"unknown_106":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1744089355071764480}} 
[2026-08-01 17:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":146357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578176,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:14:41] local.INFO: GPS data processed {"connection_id":146357,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:14:41] local.INFO: Acknowledgment sent {"connection_id":146357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:15:00] local.INFO: TCP Data received {"connection_id":146126,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:15:00] local.INFO: Processing buffer {"connection_id":146126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:15:00] local.INFO: IMEI packet received {"connection_id":146126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":146126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:15:00] local.INFO: TCP Data received {"connection_id":146126,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:15:00] local.INFO: Processing buffer {"connection_id":146126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:15:00] local.INFO: IMEI packet received {"connection_id":146126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":146126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:15:02] local.INFO: TCP Data received {"connection_id":146126,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:15:02] local.INFO: Processing buffer {"connection_id":146126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:15:02] local.INFO: IMEI packet received {"connection_id":146126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":146126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:15:03] local.INFO: TCP Data received {"connection_id":146126,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd2396b0012d18d34007211ce0004200b624..."} 
[2026-08-01 17:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd2396b0012d18d34007211ce0004200b624..."} 
[2026-08-01 17:15:03] local.INFO: Processing buffer {"connection_id":146126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd2396b0012d18d34007211ce0004200b624..."} 
[2026-08-01 17:15:03] local.INFO: Packet analysis {"connection_id":146126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd23"} 
[2026-08-01 17:15:03] local.INFO: Extracted packet for processing {"connection_id":146126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd23"} 
[2026-08-01 17:15:03] local.INFO: GPS Element Parsed {"raw_longitude":756601664,"raw_latitude":119610592,"longitude_deg":75.6601664,"latitude_deg":11.9610592,"altitude":66,"angle":182,"satellites":36,"speed":40,"hex_longitude":"2d18d340","hex_latitude":"07211ce0","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109670912001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10280399359967232,"note":"Value kept but may cause issues"} 
[2026-08-01 17:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788843876361238528,"note":"Value kept but may cause issues"} 
[2026-08-01 17:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785584654000,"timestamp_ms":1785584654000,"timestamp_seconds":1785584654,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd2396b0"} 
[2026-08-01 17:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-01 17:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17: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-08-01 17:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:15:03] 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-08-01 17:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109670912001,"66":14157,"103":206,"83":41984,"24":40,"16":10280399359967232,"45":1788843876361238528},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-01 17:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109670912001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:15:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 17:15:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10280399359967232,"km_value":10280399359967.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788843876361238528,"description":"Unknown IO ID 45"} 
[2026-08-01 17:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109670912001,"power":14157,"unknown_103":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1788843876361238528}} 
[2026-08-01 17:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":146126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:15:03] local.INFO: GPS data processed {"connection_id":146126,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:15:03] local.INFO: Acknowledgment sent {"connection_id":146126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:15:34] local.INFO: TCP Data received {"connection_id":146126,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd23a650012d18d40007210ca8004000a625..."} 
[2026-08-01 17:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd23a650012d18d40007210ca8004000a625..."} 
[2026-08-01 17:15:34] local.INFO: Processing buffer {"connection_id":146126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd23a650012d18d40007210ca8004000a625..."} 
[2026-08-01 17:15:34] local.INFO: Packet analysis {"connection_id":146126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd23"} 
[2026-08-01 17:15:34] local.INFO: Extracted packet for processing {"connection_id":146126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd23"} 
[2026-08-01 17:15:34] local.INFO: GPS Element Parsed {"raw_longitude":756601856,"raw_latitude":119606440,"longitude_deg":75.6601856,"latitude_deg":11.960644,"altitude":64,"angle":166,"satellites":37,"speed":41,"hex_longitude":"2d18d400","hex_latitude":"07210ca8","is_valid_coordinates":true} 
[2026-08-01 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-08-01 17:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109671424001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10280601223430144,"note":"Value kept but may cause issues"} 
[2026-08-01 17:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788843876360708096,"note":"Value kept but may cause issues"} 
[2026-08-01 17:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785584658000,"timestamp_ms":1785584658000,"timestamp_seconds":1785584658,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd23a650"} 
[2026-08-01 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-08-01 17:15:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-01 17:15:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 17:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:15:34] 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-08-01 17:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109671424001,"66":14157,"103":206,"83":41984,"24":41,"16":10280601223430144,"45":1788843876360708096},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-01 17:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109671424001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:15:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 17:15:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10280601223430144,"km_value":10280601223430.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788843876360708096,"description":"Unknown IO ID 45"} 
[2026-08-01 17:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109671424001,"power":14157,"unknown_103":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1788843876360708096}} 
[2026-08-01 17:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":146126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:15:34] local.INFO: GPS data processed {"connection_id":146126,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:15:34] local.INFO: Acknowledgment sent {"connection_id":146126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:16:00] local.INFO: TCP Data received {"connection_id":148668,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:16:00] local.INFO: Processing buffer {"connection_id":148668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:16:00] local.INFO: IMEI packet received {"connection_id":148668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":148668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:16:01] local.INFO: TCP Data received {"connection_id":148668,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:16:01] local.INFO: Processing buffer {"connection_id":148668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:16:01] local.INFO: IMEI packet received {"connection_id":148668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":148668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:16:05] local.INFO: TCP Data received {"connection_id":148668,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:16:05] local.INFO: Processing buffer {"connection_id":148668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:16:05] local.INFO: IMEI packet received {"connection_id":148668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":148668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:16:06] local.INFO: TCP Data received {"connection_id":148668,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd23b5f0012d18d9000720fdf8003f009524..."} 
[2026-08-01 17:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd23b5f0012d18d9000720fdf8003f009524..."} 
[2026-08-01 17:16:06] local.INFO: Processing buffer {"connection_id":148668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd23b5f0012d18d9000720fdf8003f009524..."} 
[2026-08-01 17:16:06] local.INFO: Packet analysis {"connection_id":148668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd23"} 
[2026-08-01 17:16:06] local.INFO: Extracted packet for processing {"connection_id":148668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd23"} 
[2026-08-01 17:16:06] local.INFO: GPS Element Parsed {"raw_longitude":756603136,"raw_latitude":119602680,"longitude_deg":75.6603136,"latitude_deg":11.960268,"altitude":63,"angle":149,"satellites":36,"speed":37,"hex_longitude":"2d18d900","hex_latitude":"0720fdf8","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109672448001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10280794496958464,"note":"Value kept but may cause issues"} 
[2026-08-01 17:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789054982592178176,"note":"Value kept but may cause issues"} 
[2026-08-01 17:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785584662000,"timestamp_ms":1785584662000,"timestamp_seconds":1785584662,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd23b5f0"} 
[2026-08-01 17:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:16: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-08-01 17: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-01 17:16:06] 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-08-01 17: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-08-01 17:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:16:06] 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-08-01 17:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109672448001,"66":14026,"103":206,"83":41984,"24":37,"16":10280794496958464,"45":1789054982592178176},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-01 17:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109672448001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:16:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 17:16:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10280794496958464,"km_value":10280794496958.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789054982592178176,"description":"Unknown IO ID 45"} 
[2026-08-01 17:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109672448001,"power":14026,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1789054982592178176}} 
[2026-08-01 17:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":148668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578179,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:16:06] local.INFO: GPS data processed {"connection_id":148668,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:16:06] local.INFO: Acknowledgment sent {"connection_id":148668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:16:37] local.INFO: TCP Data received {"connection_id":148668,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd23bdc0012d18de000720f858003e008725..."} 
[2026-08-01 17:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd23bdc0012d18de000720f858003e008725..."} 
[2026-08-01 17:16:37] local.INFO: Processing buffer {"connection_id":148668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd23bdc0012d18de000720f858003e008725..."} 
[2026-08-01 17:16:37] local.INFO: Packet analysis {"connection_id":148668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd23"} 
[2026-08-01 17:16:37] local.INFO: Extracted packet for processing {"connection_id":148668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd23"} 
[2026-08-01 17:16:37] local.INFO: GPS Element Parsed {"raw_longitude":756604416,"raw_latitude":119601240,"longitude_deg":75.6604416,"latitude_deg":11.960124,"altitude":62,"angle":135,"satellites":37,"speed":36,"hex_longitude":"2d18de00","hex_latitude":"0720f858","is_valid_coordinates":true} 
[2026-08-01 17:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109673472001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10280884691271680,"note":"Value kept but may cause issues"} 
[2026-08-01 17:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790462357474768896,"note":"Value kept but may cause issues"} 
[2026-08-01 17:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785584664000,"timestamp_ms":1785584664000,"timestamp_seconds":1785584664,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd23bdc0"} 
[2026-08-01 17:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-08-01 17:16:37] 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-08-01 17:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:16:37] 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-08-01 17:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109673472001,"66":14080,"103":206,"83":41984,"24":36,"16":10280884691271680,"45":1790462357474768896},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-01 17:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109673472001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:16:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 17:16:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10280884691271680,"km_value":10280884691271.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790462357474768896,"description":"Unknown IO ID 45"} 
[2026-08-01 17:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109673472001,"power":14080,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1790462357474768896}} 
[2026-08-01 17:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":148668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:16:37] local.INFO: GPS data processed {"connection_id":148668,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:16:37] local.INFO: Acknowledgment sent {"connection_id":148668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:17:00] local.INFO: TCP Data received {"connection_id":146127,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146127,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:17:00] local.INFO: Processing buffer {"connection_id":146127,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:17:00] local.INFO: IMEI packet received {"connection_id":146127,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":146127,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:17:01] local.INFO: TCP Data received {"connection_id":146127,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146127,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:17:01] local.INFO: Processing buffer {"connection_id":146127,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:17:01] local.INFO: IMEI packet received {"connection_id":146127,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":146127,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:17:05] local.INFO: TCP Data received {"connection_id":146127,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146127,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:17:05] local.INFO: Processing buffer {"connection_id":146127,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:17:05] local.INFO: IMEI packet received {"connection_id":146127,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":146127,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:17:06] local.INFO: TCP Data received {"connection_id":146127,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd251968012d195c400720ac000031005426..."} 
[2026-08-01 17:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd251968012d195c400720ac000031005426..."} 
[2026-08-01 17:17:06] local.INFO: Processing buffer {"connection_id":146127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd251968012d195c400720ac000031005426..."} 
[2026-08-01 17:17:06] local.INFO: Packet analysis {"connection_id":146127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd25"} 
[2026-08-01 17:17:06] local.INFO: Extracted packet for processing {"connection_id":146127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd25"} 
[2026-08-01 17:17:06] local.INFO: GPS Element Parsed {"raw_longitude":756636736,"raw_latitude":119581696,"longitude_deg":75.6636736,"latitude_deg":11.9581696,"altitude":49,"angle":84,"satellites":38,"speed":20,"hex_longitude":"2d195c40","hex_latitude":"0720ac00","is_valid_coordinates":true} 
[2026-08-01 17:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109694464001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10282774476881920,"note":"Value kept but may cause issues"} 
[2026-08-01 17:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825224517093185536,"note":"Value kept but may cause issues"} 
[2026-08-01 17:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785584753000,"timestamp_ms":1785584753000,"timestamp_seconds":1785584753,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd251968"} 
[2026-08-01 17:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:17: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-08-01 17:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-01 17:17:06] 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-08-01 17:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:17:06] 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-08-01 17:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109694464001,"66":14048,"103":206,"83":41984,"24":20,"16":10282774476881920,"45":1825224517093185536},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-01 17:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109694464001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:17:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 17:17:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10282774476881920,"km_value":10282774476881.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825224517093185536,"description":"Unknown IO ID 45"} 
[2026-08-01 17:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109694464001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1825224517093185536}} 
[2026-08-01 17:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":146127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:17:06] local.INFO: GPS data processed {"connection_id":146127,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:17:06] local.INFO: Acknowledgment sent {"connection_id":146127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:17:37] local.INFO: TCP Data received {"connection_id":146127,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd25f428012d19b8400720aac80034013828..."} 
[2026-08-01 17:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd25f428012d19b8400720aac80034013828..."} 
[2026-08-01 17:17:37] local.INFO: Processing buffer {"connection_id":146127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd25f428012d19b8400720aac80034013828..."} 
[2026-08-01 17:17:37] local.INFO: Packet analysis {"connection_id":146127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd25"} 
[2026-08-01 17:17:37] local.INFO: Extracted packet for processing {"connection_id":146127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd25"} 
[2026-08-01 17:17:37] local.INFO: GPS Element Parsed {"raw_longitude":756660288,"raw_latitude":119581384,"longitude_deg":75.6660288,"latitude_deg":11.9581384,"altitude":52,"angle":312,"satellites":40,"speed":15,"hex_longitude":"2d19b840","hex_latitude":"0720aac8","is_valid_coordinates":true} 
[2026-08-01 17:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109710848001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10284080146939904,"note":"Value kept but may cause issues"} 
[2026-08-01 17:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853583120996618240,"note":"Value kept but may cause issues"} 
[2026-08-01 17:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785584809000,"timestamp_ms":1785584809000,"timestamp_seconds":1785584809,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd25f428"} 
[2026-08-01 17:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-08-01 17:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:17:37] 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-08-01 17:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109710848001,"66":14363,"103":206,"83":41984,"24":15,"16":10284080146939904,"45":1853583120996618240},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-01 17:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109710848001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:17:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 17:17:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10284080146939904,"km_value":10284080146939.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853583120996618240,"description":"Unknown IO ID 45"} 
[2026-08-01 17:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109710848001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1853583120996618240}} 
[2026-08-01 17:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":146127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578182,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:17:37] local.INFO: GPS data processed {"connection_id":146127,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:17:37] local.INFO: Acknowledgment sent {"connection_id":146127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:17:54] local.INFO: TCP Data received {"connection_id":147361,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:17:54] local.INFO: Processing buffer {"connection_id":147361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:17:54] local.INFO: IMEI packet received {"connection_id":147361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 17:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":147361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:17:55] local.INFO: TCP Data received {"connection_id":147361,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd251580012ce9f2c0071c2c40000e015d26..."} 
[2026-08-01 17:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd251580012ce9f2c0071c2c40000e015d26..."} 
[2026-08-01 17:17:55] local.INFO: Processing buffer {"connection_id":147361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd251580012ce9f2c0071c2c40000e015d26..."} 
[2026-08-01 17:17:55] local.INFO: Packet analysis {"connection_id":147361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd25"} 
[2026-08-01 17:17:55] local.INFO: Extracted packet for processing {"connection_id":147361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd25"} 
[2026-08-01 17:17:55] local.INFO: GPS Element Parsed {"raw_longitude":753529536,"raw_latitude":119286848,"longitude_deg":75.3529536,"latitude_deg":11.9286848,"altitude":14,"angle":349,"satellites":38,"speed":0,"hex_longitude":"2ce9f2c0","hex_latitude":"071c2c40","is_valid_coordinates":true} 
[2026-08-01 17:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109691136001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366639174553436160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:17:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1588504000529803264,"note":"Value kept but may cause issues"} 
[2026-08-01 17:17:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785584752000,"timestamp_ms":1785584752000,"timestamp_seconds":1785584752,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd251580"} 
[2026-08-01 17:17:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:17:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-01 17:17:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:17:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:17:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":147361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":147361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":147361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:17:55] 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-08-01 17:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109691136001,"66":27484,"76":206,"83":43008,"24":0,"16":366639174553436160,"44":-1588504000529803264},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,83,24,16,44]} 
[2026-08-01 17:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109691136001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:17:55] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-08-01 17:17:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-01 17:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366639174553436160,"km_value":366639174553436.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:17:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1588504000529803264,"description":"Unknown IO ID 44"} 
[2026-08-01 17:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109691136001,"power":27484,"unknown_76":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1588504000529803264}} 
[2026-08-01 17:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":147361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:17:55] local.INFO: GPS data processed {"connection_id":147361,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:17:55] local.INFO: Acknowledgment sent {"connection_id":147361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:18:00] local.INFO: TCP Data received {"connection_id":146359,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:18:00] local.INFO: Processing buffer {"connection_id":146359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:18:00] local.INFO: IMEI packet received {"connection_id":146359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":146359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:18:05] local.INFO: TCP Data received {"connection_id":146359,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:18:05] local.INFO: Processing buffer {"connection_id":146359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:18:05] local.INFO: IMEI packet received {"connection_id":146359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":146359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:18:05] local.INFO: TCP Data received {"connection_id":146359,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd25f810012d19b6c00720ab900035012828..."} 
[2026-08-01 17:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd25f810012d19b6c00720ab900035012828..."} 
[2026-08-01 17:18:05] local.INFO: Processing buffer {"connection_id":146359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd25f810012d19b6c00720ab900035012828..."} 
[2026-08-01 17:18:05] local.INFO: Packet analysis {"connection_id":146359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd25"} 
[2026-08-01 17:18:05] local.INFO: Extracted packet for processing {"connection_id":146359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd25"} 
[2026-08-01 17:18:05] local.INFO: GPS Element Parsed {"raw_longitude":756659904,"raw_latitude":119581584,"longitude_deg":75.6659904,"latitude_deg":11.9581584,"altitude":53,"angle":296,"satellites":40,"speed":17,"hex_longitude":"2d19b6c0","hex_latitude":"0720ab90","is_valid_coordinates":true} 
[2026-08-01 17:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109711104001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10284097326809088,"note":"Value kept but may cause issues"} 
[2026-08-01 17:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853301646019971072,"note":"Value kept but may cause issues"} 
[2026-08-01 17:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785584810000,"timestamp_ms":1785584810000,"timestamp_seconds":1785584810,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd25f810"} 
[2026-08-01 17:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:18: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-08-01 17:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-01 17:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:18:05] 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-08-01 17:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109711104001,"66":14363,"103":206,"83":41984,"24":17,"16":10284097326809088,"45":1853301646019971072},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-01 17:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109711104001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:18:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 17:18:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10284097326809088,"km_value":10284097326809.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853301646019971072,"description":"Unknown IO ID 45"} 
[2026-08-01 17:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109711104001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1853301646019971072}} 
[2026-08-01 17:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":146359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:18:05] local.INFO: GPS data processed {"connection_id":146359,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:18:05] local.INFO: Acknowledgment sent {"connection_id":146359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:18:26] local.INFO: TCP Data received {"connection_id":147361,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd253c90012ce9f240071c30e0000f000129..."} 
[2026-08-01 17:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd253c90012ce9f240071c30e0000f000129..."} 
[2026-08-01 17:18:26] local.INFO: Processing buffer {"connection_id":147361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd253c90012ce9f240071c30e0000f000129..."} 
[2026-08-01 17:18:26] local.INFO: Packet analysis {"connection_id":147361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd25"} 
[2026-08-01 17:18:26] local.INFO: Extracted packet for processing {"connection_id":147361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd25"} 
[2026-08-01 17:18:26] local.INFO: GPS Element Parsed {"raw_longitude":753529408,"raw_latitude":119288032,"longitude_deg":75.3529408,"latitude_deg":11.9288032,"altitude":15,"angle":1,"satellites":41,"speed":5,"hex_longitude":"2ce9f240","hex_latitude":"071c30e0","is_valid_coordinates":true} 
[2026-08-01 17:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:18:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109696512001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:18:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366639234682978304,"note":"Value kept but may cause issues"} 
[2026-08-01 17:18:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1588996581738397696,"note":"Value kept but may cause issues"} 
[2026-08-01 17:18:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:18:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785584762000,"timestamp_ms":1785584762000,"timestamp_seconds":1785584762,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd253c90"} 
[2026-08-01 17:18:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:18:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-01 17:18: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-08-01 17:18:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:18:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:18:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:18:26] local.INFO: Teltonika packet parsed successfully {"connection_id":147361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:18:26] local.INFO: Passing IMEI to GPS processor {"connection_id":147361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:18:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":147361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:18: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-08-01 17:18:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:18:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:18:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109696512001,"66":27767,"76":206,"83":43008,"24":5,"16":366639234682978304,"44":-1588996581738397696},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,83,24,16,44]} 
[2026-08-01 17:18:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:18:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:18:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109696512001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:18:26] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-08-01 17:18:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-01 17:18:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366639234682978304,"km_value":366639234682978.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:18:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1588996581738397696,"description":"Unknown IO ID 44"} 
[2026-08-01 17:18:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109696512001,"power":27767,"unknown_76":206,"unknown_83":43008,"ignition":5,"odometer":null,"unknown_44":-1588996581738397696}} 
[2026-08-01 17:18:26] local.INFO: DEBUG: GPS processor result {"connection_id":147361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:18:26] local.INFO: GPS data processed {"connection_id":147361,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:18:26] local.INFO: Acknowledgment sent {"connection_id":147361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:18:37] local.INFO: TCP Data received {"connection_id":146359,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd260f80012d19aa800720aff00039011c27..."} 
[2026-08-01 17:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd260f80012d19aa800720aff00039011c27..."} 
[2026-08-01 17:18:37] local.INFO: Processing buffer {"connection_id":146359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd260f80012d19aa800720aff00039011c27..."} 
[2026-08-01 17:18:37] local.INFO: Packet analysis {"connection_id":146359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd26"} 
[2026-08-01 17:18:37] local.INFO: Extracted packet for processing {"connection_id":146359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd26"} 
[2026-08-01 17:18:37] local.INFO: GPS Element Parsed {"raw_longitude":756656768,"raw_latitude":119582704,"longitude_deg":75.6656768,"latitude_deg":11.9582704,"altitude":57,"angle":284,"satellites":39,"speed":24,"hex_longitude":"2d19aa80","hex_latitude":"0720aff0","is_valid_coordinates":true} 
[2026-08-01 17:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109711360001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10284256240599040,"note":"Value kept but may cause issues"} 
[2026-08-01 17:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852879433554956288,"note":"Value kept but may cause issues"} 
[2026-08-01 17:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785584816000,"timestamp_ms":1785584816000,"timestamp_seconds":1785584816,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd260f80"} 
[2026-08-01 17:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:18: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-08-01 17:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-01 17:18:37] 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-08-01 17:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:18:37] 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-08-01 17:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109711360001,"66":14559,"103":206,"83":41984,"24":24,"16":10284256240599040,"45":1852879433554956288},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-01 17:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109711360001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:18:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 17:18:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10284256240599040,"km_value":10284256240599.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852879433554956288,"description":"Unknown IO ID 45"} 
[2026-08-01 17:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109711360001,"power":14559,"unknown_103":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1852879433554956288}} 
[2026-08-01 17:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":146359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578186,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:18:37] local.INFO: GPS data processed {"connection_id":146359,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:18:37] local.INFO: Acknowledgment sent {"connection_id":146359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:18:49] local.INFO: TCP Data received {"connection_id":146128,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:18:49] local.INFO: Processing buffer {"connection_id":146128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:18:49] local.INFO: IMEI packet received {"connection_id":146128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 17:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":146128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:19:00] local.INFO: TCP Data received {"connection_id":146129,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:19:00] local.INFO: Processing buffer {"connection_id":146129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:19:00] local.INFO: IMEI packet received {"connection_id":146129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":146129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:19:00] local.INFO: TCP Data received {"connection_id":146129,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:19:00] local.INFO: Processing buffer {"connection_id":146129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:19:00] local.INFO: IMEI packet received {"connection_id":146129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":146129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:19:05] local.INFO: TCP Data received {"connection_id":146129,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:19:05] local.INFO: Processing buffer {"connection_id":146129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:19:05] local.INFO: IMEI packet received {"connection_id":146129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":146129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:19:06] local.INFO: TCP Data received {"connection_id":146129,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd263a78012d198e000720b2d8003c011028..."} 
[2026-08-01 17:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd263a78012d198e000720b2d8003c011028..."} 
[2026-08-01 17:19:06] local.INFO: Processing buffer {"connection_id":146129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd263a78012d198e000720b2d8003c011028..."} 
[2026-08-01 17:19:06] local.INFO: Packet analysis {"connection_id":146129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd26"} 
[2026-08-01 17:19:06] local.INFO: Extracted packet for processing {"connection_id":146129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd26"} 
[2026-08-01 17:19:06] local.INFO: GPS Element Parsed {"raw_longitude":756649472,"raw_latitude":119583448,"longitude_deg":75.6649472,"latitude_deg":11.9583448,"altitude":60,"angle":272,"satellites":40,"speed":20,"hex_longitude":"2d198e00","hex_latitude":"0720b2d8","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109712896001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10284608427917312,"note":"Value kept but may cause issues"} 
[2026-08-01 17:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849431365090537472,"note":"Value kept but may cause issues"} 
[2026-08-01 17:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785584827000,"timestamp_ms":1785584827000,"timestamp_seconds":1785584827,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd263a78"} 
[2026-08-01 17:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-01 17:19:06] 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-08-01 17: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-08-01 17:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:19:06] 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-08-01 17:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109712896001,"66":14265,"103":206,"83":41984,"24":20,"16":10284608427917312,"45":1849431365090537472},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-01 17:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109712896001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:19:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 17:19:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10284608427917312,"km_value":10284608427917.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849431365090537472,"description":"Unknown IO ID 45"} 
[2026-08-01 17:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109712896001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1849431365090537472}} 
[2026-08-01 17:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":146129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:19:06] local.INFO: GPS data processed {"connection_id":146129,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:19:06] local.INFO: Acknowledgment sent {"connection_id":146129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:19:18] local.INFO: TCP Data received {"connection_id":146128,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:19:18] local.INFO: Processing buffer {"connection_id":146128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:19:18] local.INFO: IMEI packet received {"connection_id":146128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":146128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:19:19] local.INFO: TCP Data received {"connection_id":146128,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd258e98012ce9f2c0071c3e180010016527..."} 
[2026-08-01 17:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd258e98012ce9f2c0071c3e180010016527..."} 
[2026-08-01 17:19:19] local.INFO: Processing buffer {"connection_id":146128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd258e98012ce9f2c0071c3e180010016527..."} 
[2026-08-01 17:19:19] local.INFO: Packet analysis {"connection_id":146128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd25"} 
[2026-08-01 17:19:19] local.INFO: Extracted packet for processing {"connection_id":146128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd25"} 
[2026-08-01 17:19:19] local.INFO: GPS Element Parsed {"raw_longitude":753529536,"raw_latitude":119291416,"longitude_deg":75.3529536,"latitude_deg":11.9291416,"altitude":16,"angle":357,"satellites":39,"speed":6,"hex_longitude":"2ce9f2c0","hex_latitude":"071c3e18","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109699072001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366639402186702848,"note":"Value kept but may cause issues"} 
[2026-08-01 17:19:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1589137319226449920,"note":"Value kept but may cause issues"} 
[2026-08-01 17:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785584783000,"timestamp_ms":1785584783000,"timestamp_seconds":1785584783,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd258e98"} 
[2026-08-01 17:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:19: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-08-01 17: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 17:19:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17: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-08-01 17:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":146128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":146128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":146128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:19:19] 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-08-01 17:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109699072001,"66":28028,"76":206,"83":43008,"24":6,"16":366639402186702848,"44":-1589137319226449920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,83,24,16,44]} 
[2026-08-01 17:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109699072001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:19:19] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-08-01 17:19:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-01 17:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366639402186702848,"km_value":366639402186702.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:19:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1589137319226449920,"description":"Unknown IO ID 44"} 
[2026-08-01 17:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109699072001,"power":28028,"unknown_76":206,"unknown_83":43008,"ignition":6,"odometer":null,"unknown_44":-1589137319226449920}} 
[2026-08-01 17:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":146128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:19:19] local.INFO: GPS data processed {"connection_id":146128,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:19:19] local.INFO: Acknowledgment sent {"connection_id":146128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:19:20] local.INFO: TCP Data received {"connection_id":146128,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd25bd78012ce9f380071c48800013000928..."} 
[2026-08-01 17:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd25bd78012ce9f380071c48800013000928..."} 
[2026-08-01 17:19:20] local.INFO: Processing buffer {"connection_id":146128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd25bd78012ce9f380071c48800013000928..."} 
[2026-08-01 17:19:20] local.INFO: Packet analysis {"connection_id":146128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd25"} 
[2026-08-01 17:19:20] local.INFO: Extracted packet for processing {"connection_id":146128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd25"} 
[2026-08-01 17:19:20] local.INFO: GPS Element Parsed {"raw_longitude":753529728,"raw_latitude":119294080,"longitude_deg":75.3529728,"latitude_deg":11.929408,"altitude":19,"angle":9,"satellites":40,"speed":8,"hex_longitude":"2ce9f380","hex_latitude":"071c4880","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109704448001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366639535330689024,"note":"Value kept but may cause issues"} 
[2026-08-01 17:19:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1588996581737228288,"note":"Value kept but may cause issues"} 
[2026-08-01 17:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785584795000,"timestamp_ms":1785584795000,"timestamp_seconds":1785584795,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd25bd78"} 
[2026-08-01 17:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:19: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-08-01 17: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-01 17:19:20] 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-08-01 17: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-08-01 17:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:19:20] 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-08-01 17:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109704448001,"66":27691,"76":206,"83":43008,"24":8,"16":366639535330689024,"44":-1588996581737228288},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,83,24,16,44]} 
[2026-08-01 17:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109704448001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:19:20] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-08-01 17:19:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-01 17:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366639535330689024,"km_value":366639535330689.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:19:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1588996581737228288,"description":"Unknown IO ID 44"} 
[2026-08-01 17:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109704448001,"power":27691,"unknown_76":206,"unknown_83":43008,"ignition":8,"odometer":null,"unknown_44":-1588996581737228288}} 
[2026-08-01 17:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":146128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:19:20] local.INFO: GPS data processed {"connection_id":146128,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:19:20] local.INFO: Acknowledgment sent {"connection_id":146128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:19:36] local.INFO: TCP Data received {"connection_id":146129,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd27d0b8012d18cd40072130c00044014828..."} 
[2026-08-01 17:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd27d0b8012d18cd40072130c00044014828..."} 
[2026-08-01 17:19:36] local.INFO: Processing buffer {"connection_id":146129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd27d0b8012d18cd40072130c00044014828..."} 
[2026-08-01 17:19:36] local.INFO: Packet analysis {"connection_id":146129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd27"} 
[2026-08-01 17:19:36] local.INFO: Extracted packet for processing {"connection_id":146129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd27"} 
[2026-08-01 17:19:36] local.INFO: GPS Element Parsed {"raw_longitude":756600128,"raw_latitude":119615680,"longitude_deg":75.6600128,"latitude_deg":11.961568,"altitude":68,"angle":328,"satellites":40,"speed":33,"hex_longitude":"2d18cd40","hex_latitude":"072130c0","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109741824001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10287868308094976,"note":"Value kept but may cause issues"} 
[2026-08-01 17:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787858713943146496,"note":"Value kept but may cause issues"} 
[2026-08-01 17:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785584931000,"timestamp_ms":1785584931000,"timestamp_seconds":1785584931,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd27d0b8"} 
[2026-08-01 17:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-01 17:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17: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-08-01 17:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:19:36] 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-08-01 17:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109741824001,"66":14265,"103":206,"83":41984,"24":33,"16":10287868308094976,"45":1787858713943146496},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-01 17:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109741824001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:19:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 17:19:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10287868308094976,"km_value":10287868308094.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787858713943146496,"description":"Unknown IO ID 45"} 
[2026-08-01 17:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109741824001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1787858713943146496}} 
[2026-08-01 17:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":146129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:19:37] local.INFO: GPS data processed {"connection_id":146129,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:19:37] local.INFO: Acknowledgment sent {"connection_id":146129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:19:59] local.INFO: TCP Data received {"connection_id":148669,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:19:59] local.INFO: Processing buffer {"connection_id":148669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:19:59] local.INFO: IMEI packet received {"connection_id":148669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 17:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":148669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:19:59] local.INFO: TCP Data received {"connection_id":148669,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:19:59] local.INFO: Processing buffer {"connection_id":148669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:19:59] local.INFO: IMEI packet received {"connection_id":148669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":148669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:20:02] local.INFO: TCP Data received {"connection_id":146360,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:20:02] local.INFO: Processing buffer {"connection_id":146360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:20:02] local.INFO: IMEI packet received {"connection_id":146360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":146360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:20:04] local.INFO: TCP Data received {"connection_id":148669,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:20:04] local.INFO: Processing buffer {"connection_id":148669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:20:04] local.INFO: IMEI packet received {"connection_id":148669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":148669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:20:04] local.INFO: TCP Data received {"connection_id":148669,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd25f810012ce9f380071c54580014016627..."} 
[2026-08-01 17:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd25f810012ce9f380071c54580014016627..."} 
[2026-08-01 17:20:04] local.INFO: Processing buffer {"connection_id":148669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd25f810012ce9f380071c54580014016627..."} 
[2026-08-01 17:20:04] local.INFO: Packet analysis {"connection_id":148669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd25"} 
[2026-08-01 17:20:04] local.INFO: Extracted packet for processing {"connection_id":148669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd25"} 
[2026-08-01 17:20:04] local.INFO: GPS Element Parsed {"raw_longitude":753529728,"raw_latitude":119297112,"longitude_deg":75.3529728,"latitude_deg":11.9297112,"altitude":20,"angle":358,"satellites":39,"speed":7,"hex_longitude":"2ce9f380","hex_latitude":"071c5458","is_valid_coordinates":true} 
[2026-08-01 17:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109707520001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366639681359577088,"note":"Value kept but may cause issues"} 
[2026-08-01 17:20:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1588785475504013312,"note":"Value kept but may cause issues"} 
[2026-08-01 17:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785584810000,"timestamp_ms":1785584810000,"timestamp_seconds":1785584810,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd25f810"} 
[2026-08-01 17:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:20:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-01 17:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:20:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":148669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":148669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":148669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:20: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-08-01 17:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109707520001,"66":27930,"76":206,"83":43008,"24":7,"16":366639681359577088,"44":-1588785475504013312},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,83,24,16,44]} 
[2026-08-01 17:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109707520001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:20:04] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-08-01 17:20:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-01 17:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366639681359577088,"km_value":366639681359577.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:20:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1588785475504013312,"description":"Unknown IO ID 44"} 
[2026-08-01 17:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109707520001,"power":27930,"unknown_76":206,"unknown_83":43008,"ignition":7,"odometer":null,"unknown_44":-1588785475504013312}} 
[2026-08-01 17:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":148669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:20:04] local.INFO: GPS data processed {"connection_id":148669,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:20:04] local.INFO: Acknowledgment sent {"connection_id":148669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:20:05] local.INFO: TCP Data received {"connection_id":146360,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:20:05] local.INFO: Processing buffer {"connection_id":146360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:20:05] local.INFO: IMEI packet received {"connection_id":146360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":146360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:20:07] local.INFO: TCP Data received {"connection_id":146360,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:20:07] local.INFO: Processing buffer {"connection_id":146360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:20:07] local.INFO: IMEI packet received {"connection_id":146360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":146360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:20:08] local.INFO: TCP Data received {"connection_id":146360,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd27e440012d18c58007213eb00045015327..."} 
[2026-08-01 17:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd27e440012d18c58007213eb00045015327..."} 
[2026-08-01 17:20:08] local.INFO: Processing buffer {"connection_id":146360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd27e440012d18c58007213eb00045015327..."} 
[2026-08-01 17:20:08] local.INFO: Packet analysis {"connection_id":146360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd27"} 
[2026-08-01 17:20:08] local.INFO: Extracted packet for processing {"connection_id":146360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd27"} 
[2026-08-01 17:20:08] local.INFO: GPS Element Parsed {"raw_longitude":756598144,"raw_latitude":119619248,"longitude_deg":75.6598144,"latitude_deg":11.9619248,"altitude":69,"angle":339,"satellites":39,"speed":31,"hex_longitude":"2d18c580","hex_latitude":"07213eb0","is_valid_coordinates":true} 
[2026-08-01 17:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109742336001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10288065876590592,"note":"Value kept but may cause issues"} 
[2026-08-01 17:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787155026501746688,"note":"Value kept but may cause issues"} 
[2026-08-01 17:20:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785584936000,"timestamp_ms":1785584936000,"timestamp_seconds":1785584936,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd27e440"} 
[2026-08-01 17:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:20:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-01 17:20:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:20:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":146360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":146360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":146360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:20:08] 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-08-01 17:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109742336001,"66":14341,"106":206,"83":41984,"24":31,"16":10288065876590592,"45":1787155026501746688},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-01 17:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109742336001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:20:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-01 17:20:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10288065876590592,"km_value":10288065876590.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787155026501746688,"description":"Unknown IO ID 45"} 
[2026-08-01 17:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109742336001,"power":14341,"unknown_106":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1787155026501746688}} 
[2026-08-01 17:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":146360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:20:08] local.INFO: GPS data processed {"connection_id":146360,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:20:08] local.INFO: Acknowledgment sent {"connection_id":146360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:20:09] local.INFO: TCP Data received {"connection_id":148669,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd260f80012ce9f340071c58400010000825..."} 
[2026-08-01 17:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd260f80012ce9f340071c58400010000825..."} 
[2026-08-01 17:20:09] local.INFO: Processing buffer {"connection_id":148669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd260f80012ce9f340071c58400010000825..."} 
[2026-08-01 17:20:09] local.INFO: Packet analysis {"connection_id":148669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd26"} 
[2026-08-01 17:20:09] local.INFO: Extracted packet for processing {"connection_id":148669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd26"} 
[2026-08-01 17:20:09] local.INFO: GPS Element Parsed {"raw_longitude":753529664,"raw_latitude":119298112,"longitude_deg":75.3529664,"latitude_deg":11.9298112,"altitude":16,"angle":8,"satellites":37,"speed":2,"hex_longitude":"2ce9f340","hex_latitude":"071c5840","is_valid_coordinates":true} 
[2026-08-01 17:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109711360001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366639732899184640,"note":"Value kept but may cause issues"} 
[2026-08-01 17:20:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1588785475503237120,"note":"Value kept but may cause issues"} 
[2026-08-01 17:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785584816000,"timestamp_ms":1785584816000,"timestamp_seconds":1785584816,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd260f80"} 
[2026-08-01 17:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-01 17:20: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-08-01 17:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":148669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":148669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":148669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:20: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-08-01 17:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109711360001,"66":27745,"76":206,"83":43008,"24":2,"16":366639732899184640,"44":-1588785475503237120},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,83,24,16,44]} 
[2026-08-01 17:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109711360001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:20:09] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-08-01 17:20:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-01 17:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366639732899184640,"km_value":366639732899184.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:20:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1588785475503237120,"description":"Unknown IO ID 44"} 
[2026-08-01 17:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109711360001,"power":27745,"unknown_76":206,"unknown_83":43008,"ignition":2,"odometer":null,"unknown_44":-1588785475503237120}} 
[2026-08-01 17:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":148669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:20:09] local.INFO: GPS data processed {"connection_id":148669,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:20:09] local.INFO: Acknowledgment sent {"connection_id":148669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:20:10] local.INFO: TCP Data received {"connection_id":147362,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147362,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:20:10] local.INFO: Processing buffer {"connection_id":147362,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:20:10] local.INFO: IMEI packet received {"connection_id":147362,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 17:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":147362,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:20:10] local.INFO: TCP Data received {"connection_id":146360,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd27ec10012d18c400072144b80046016128..."} 
[2026-08-01 17:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd27ec10012d18c400072144b80046016128..."} 
[2026-08-01 17:20:10] local.INFO: Processing buffer {"connection_id":146360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd27ec10012d18c400072144b80046016128..."} 
[2026-08-01 17:20:10] local.INFO: Packet analysis {"connection_id":146360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd27"} 
[2026-08-01 17:20:10] local.INFO: Extracted packet for processing {"connection_id":146360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd27"} 
[2026-08-01 17:20:10] local.INFO: GPS Element Parsed {"raw_longitude":756597760,"raw_latitude":119620792,"longitude_deg":75.659776,"latitude_deg":11.9620792,"altitude":70,"angle":353,"satellites":40,"speed":31,"hex_longitude":"2d18c400","hex_latitude":"072144b8","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109743616001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10288143186001920,"note":"Value kept but may cause issues"} 
[2026-08-01 17:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784973595433152512,"note":"Value kept but may cause issues"} 
[2026-08-01 17:20: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-08-01 17:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785584938000,"timestamp_ms":1785584938000,"timestamp_seconds":1785584938,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd27ec10"} 
[2026-08-01 17:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:20: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-08-01 17: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-01 17:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6974941023,"note":"Value kept but may cause issues"} 
[2026-08-01 17:20:10] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-01 17:20:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 17:20:10] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3173482160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:20:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":59393,"corrected_to":0} 
[2026-08-01 17:20:10] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503756595462144,"note":"Value kept but may cause issues"} 
[2026-08-01 17:20:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-01 17:20:10] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2351955968,"note":"Value kept but may cause issues"} 
[2026-08-01 17:20:10] local.WARNING: Large IO value detected {"io_id":112,"raw_value":84751376324174049,"note":"Value kept but may cause issues"} 
[2026-08-01 17:20:10] local.WARNING: Large IO value detected {"io_id":152,"raw_value":16326962347778048,"note":"Value kept but may cause issues"} 
[2026-08-01 17:20:10] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,106,83,24,241,157,16,140,159,208,45,64,48,68,40,10,66,103,200,192,43,173,1,240,218,227,189,33,4,113,205,31,146,215,136,39,239,56,2,36,7,61,25,206,112,152],"length":529,"final_offset":659,"validated_count":46,"validation_warnings":[{"io_id":200,"original":59393,"validated":0},{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-01 17:20:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4972346890564599808,"timestamp_seconds":4972346890564600.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 17:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:20: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-08-01 17:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109743616001,"66":14374,"106":206,"83":41984,"24":31,"16":10288143186001920,"45":1784973595433152512},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-01 17:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109743616001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:20:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-01 17:20:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10288143186001920,"km_value":10288143186001.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784973595433152512,"description":"Unknown IO ID 45"} 
[2026-08-01 17:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109743616001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1784973595433152512}} 
[2026-08-01 17:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":146360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578194,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:20:10] local.INFO: GPS data processed {"connection_id":146360,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:20:10] local.INFO: Acknowledgment sent {"connection_id":146360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:20:15] local.INFO: TCP Data received {"connection_id":147362,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147362,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:20:15] local.INFO: Processing buffer {"connection_id":147362,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:20:15] local.INFO: IMEI packet received {"connection_id":147362,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 17:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":147362,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:20:22] local.INFO: TCP Data received {"connection_id":147362,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000000000001f400100000000000000000000000000..."} 
[2026-08-01 17:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000001f400100000000000000000000000000..."} 
[2026-08-01 17:20:22] local.INFO: Processing buffer {"connection_id":147362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000001f400100000000000000000000000000..."} 
[2026-08-01 17:20:22] local.INFO: Packet analysis {"connection_id":147362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-01 17:20:22] local.INFO: Extracted packet for processing {"connection_id":147362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-01 17:20:22] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-01 17:20:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:20:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457102146048001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:20:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113489378310881280,"note":"Value kept but may cause issues"} 
[2026-08-01 17:20:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809040896276779008,"note":"Value kept but may cause issues"} 
[2026-08-01 17:20: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-08-01 17:20:22] 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-08-01 17:20:22] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:20:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-01 17:20:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147362,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:20:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147362,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-01 17:20:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147362,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-01 17:20:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-01 17:20:22] local.WARNING: DEBUG: No valid data to process  
[2026-08-01 17:20:22] local.INFO: DEBUG: GPS processor result {"connection_id":147362,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-01 17:20:22] local.ERROR: GPS data processing failed {"connection_id":147362,"error":"No valid data to process"} 
[2026-08-01 17:20:22] local.INFO: Acknowledgment sent {"connection_id":147362,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-01 17:20:41] local.INFO: TCP Data received {"connection_id":146360,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd27ff98012d18c140072153b80048014e29..."} 
[2026-08-01 17:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd27ff98012d18c140072153b80048014e29..."} 
[2026-08-01 17:20:41] local.INFO: Processing buffer {"connection_id":146360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd27ff98012d18c140072153b80048014e29..."} 
[2026-08-01 17:20:41] local.INFO: Packet analysis {"connection_id":146360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd27"} 
[2026-08-01 17:20:41] local.INFO: Extracted packet for processing {"connection_id":146360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd27"} 
[2026-08-01 17:20:41] local.INFO: GPS Element Parsed {"raw_longitude":756597056,"raw_latitude":119624632,"longitude_deg":75.6597056,"latitude_deg":11.9624632,"altitude":72,"angle":334,"satellites":41,"speed":32,"hex_longitude":"2d18c140","hex_latitude":"072153b8","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109744128001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10288332164562944,"note":"Value kept but may cause issues"} 
[2026-08-01 17:20:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784551382968481792,"note":"Value kept but may cause issues"} 
[2026-08-01 17:20: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-08-01 17:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785584943000,"timestamp_ms":1785584943000,"timestamp_seconds":1785584943,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd27ff98"} 
[2026-08-01 17:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:20: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-08-01 17: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-01 17:20: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-08-01 17: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-08-01 17:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":146360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":146360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":146360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:20: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-08-01 17:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109744128001,"66":14374,"106":206,"83":41984,"24":32,"16":10288332164562944,"45":1784551382968481792},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-01 17:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109744128001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:20:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-01 17:20:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10288332164562944,"km_value":10288332164562.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:20:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784551382968481792,"description":"Unknown IO ID 45"} 
[2026-08-01 17:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109744128001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1784551382968481792}} 
[2026-08-01 17:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":146360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:20:41] local.INFO: GPS data processed {"connection_id":146360,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:20:41] local.INFO: Acknowledgment sent {"connection_id":146360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:20:46] local.INFO: TCP Data received {"connection_id":146361,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:20:46] local.INFO: Processing buffer {"connection_id":146361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:20:46] local.INFO: IMEI packet received {"connection_id":146361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 17:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":146361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:20:51] local.INFO: TCP Data received {"connection_id":146361,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:20:51] local.INFO: Processing buffer {"connection_id":146361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:20:51] local.INFO: IMEI packet received {"connection_id":146361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":146361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:20:56] local.INFO: TCP Data received {"connection_id":146361,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:20:57] local.INFO: Processing buffer {"connection_id":146361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:20:57] local.INFO: IMEI packet received {"connection_id":146361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":146361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:21:00] local.INFO: TCP Data received {"connection_id":147363,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:21:00] local.INFO: Processing buffer {"connection_id":147363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:21:00] local.INFO: IMEI packet received {"connection_id":147363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":147363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:21:01] local.INFO: TCP Data received {"connection_id":146361,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd266188012ce9f440071c62e8000c000326..."} 
[2026-08-01 17:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd266188012ce9f440071c62e8000c000326..."} 
[2026-08-01 17:21:01] local.INFO: Processing buffer {"connection_id":146361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd266188012ce9f440071c62e8000c000326..."} 
[2026-08-01 17:21:01] local.INFO: Packet analysis {"connection_id":146361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd26"} 
[2026-08-01 17:21:01] local.INFO: Extracted packet for processing {"connection_id":146361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd26"} 
[2026-08-01 17:21:01] local.INFO: GPS Element Parsed {"raw_longitude":753529920,"raw_latitude":119300840,"longitude_deg":75.352992,"latitude_deg":11.930084,"altitude":12,"angle":3,"satellites":38,"speed":1,"hex_longitude":"2ce9f440","hex_latitude":"071c62e8","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109712896001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366639866043170816,"note":"Value kept but may cause issues"} 
[2026-08-01 17:21:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1588855844247158784,"note":"Value kept but may cause issues"} 
[2026-08-01 17:21:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785584837000,"timestamp_ms":1785584837000,"timestamp_seconds":1785584837,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd266188"} 
[2026-08-01 17:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:21:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 17:21: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-08-01 17: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-08-01 17:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":146361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":146361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":146361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:21: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-08-01 17:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109712896001,"66":27930,"76":206,"83":43008,"24":1,"16":366639866043170816,"44":-1588855844247158784},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,83,24,16,44]} 
[2026-08-01 17:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109712896001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:21:01] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-08-01 17:21:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-01 17:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366639866043170816,"km_value":366639866043170.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:21:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1588855844247158784,"description":"Unknown IO ID 44"} 
[2026-08-01 17:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109712896001,"power":27930,"unknown_76":206,"unknown_83":43008,"ignition":1,"odometer":null,"unknown_44":-1588855844247158784}} 
[2026-08-01 17:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":146361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:21:01] local.INFO: GPS data processed {"connection_id":146361,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:21:01] local.INFO: Acknowledgment sent {"connection_id":146361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:21:01] local.INFO: TCP Data received {"connection_id":147363,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:21:01] local.INFO: Processing buffer {"connection_id":147363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:21:01] local.INFO: IMEI packet received {"connection_id":147363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":147363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:21:01] local.INFO: TCP Data received {"connection_id":147363,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd280f38012d18ba8007215e380049014229..."} 
[2026-08-01 17:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd280f38012d18ba8007215e380049014229..."} 
[2026-08-01 17:21:01] local.INFO: Processing buffer {"connection_id":147363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd280f38012d18ba8007215e380049014229..."} 
[2026-08-01 17:21:01] local.INFO: Packet analysis {"connection_id":147363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd28"} 
[2026-08-01 17:21:01] local.INFO: Extracted packet for processing {"connection_id":147363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd28"} 
[2026-08-01 17:21:01] local.INFO: GPS Element Parsed {"raw_longitude":756595328,"raw_latitude":119627320,"longitude_deg":75.6595328,"latitude_deg":11.962732,"altitude":73,"angle":322,"satellites":41,"speed":32,"hex_longitude":"2d18ba80","hex_latitude":"07215e38","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109745408001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10288486783385600,"note":"Value kept but may cause issues"} 
[2026-08-01 17:21:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783777326783510528,"note":"Value kept but may cause issues"} 
[2026-08-01 17:21:01] 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-08-01 17:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785584947000,"timestamp_ms":1785584947000,"timestamp_seconds":1785584947,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd280f38"} 
[2026-08-01 17:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:21: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-08-01 17: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-01 17:21:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17: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-08-01 17:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":147363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":147363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":147363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:21:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109745408001,"66":14407,"106":206,"83":41984,"24":32,"16":10288486783385600,"45":1783777326783510528},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-01 17:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109745408001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:21:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-01 17:21:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10288486783385600,"km_value":10288486783385.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:21:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783777326783510528,"description":"Unknown IO ID 45"} 
[2026-08-01 17:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109745408001,"power":14407,"unknown_106":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1783777326783510528}} 
[2026-08-01 17:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":147363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578197,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:21:01] local.INFO: GPS data processed {"connection_id":147363,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:21:01] local.INFO: Acknowledgment sent {"connection_id":147363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:21:04] local.INFO: TCP Data received {"connection_id":146361,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd26afa8012ce9f500071c6e20000b00072a..."} 
[2026-08-01 17:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd26afa8012ce9f500071c6e20000b00072a..."} 
[2026-08-01 17:21:04] local.INFO: Processing buffer {"connection_id":146361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd26afa8012ce9f500071c6e20000b00072a..."} 
[2026-08-01 17:21:04] local.INFO: Packet analysis {"connection_id":146361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd26"} 
[2026-08-01 17:21:04] local.INFO: Extracted packet for processing {"connection_id":146361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd26"} 
[2026-08-01 17:21:04] local.INFO: GPS Element Parsed {"raw_longitude":753530112,"raw_latitude":119303712,"longitude_deg":75.3530112,"latitude_deg":11.9303712,"altitude":11,"angle":7,"satellites":42,"speed":1,"hex_longitude":"2ce9f500","hex_latitude":"071c6e20","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109718272001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366640007777091584,"note":"Value kept but may cause issues"} 
[2026-08-01 17:21:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1588574369269749760,"note":"Value kept but may cause issues"} 
[2026-08-01 17:21:04] 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-08-01 17:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785584857000,"timestamp_ms":1785584857000,"timestamp_seconds":1785584857,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd26afa8"} 
[2026-08-01 17:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:21: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-08-01 17: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":26,"data_length":795,"current_offset":136} 
[2026-08-01 17:21:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17: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-08-01 17:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:21: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-08-01 17:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109718272001,"66":27908,"110":206,"83":43008,"24":1,"16":366640007777091584,"44":-1588574369269749760},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-08-01 17:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109718272001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:21:04] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-01 17:21:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-01 17:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366640007777091584,"km_value":366640007777091.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:21:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1588574369269749760,"description":"Unknown IO ID 44"} 
[2026-08-01 17:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109718272001,"power":27908,"unknown_110":206,"unknown_83":43008,"ignition":1,"odometer":null,"unknown_44":-1588574369269749760}} 
[2026-08-01 17:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":146361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:21:04] local.INFO: GPS data processed {"connection_id":146361,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:21:04] local.INFO: Acknowledgment sent {"connection_id":146361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:21:33] local.INFO: TCP Data received {"connection_id":147363,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd298250012d1822c00721b820004d00f129..."} 
[2026-08-01 17:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd298250012d1822c00721b820004d00f129..."} 
[2026-08-01 17:21:33] local.INFO: Processing buffer {"connection_id":147363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd298250012d1822c00721b820004d00f129..."} 
[2026-08-01 17:21:33] local.INFO: Packet analysis {"connection_id":147363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd29"} 
[2026-08-01 17:21:33] local.INFO: Extracted packet for processing {"connection_id":147363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd29"} 
[2026-08-01 17:21:33] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119650336,"longitude_deg":75.655648,"latitude_deg":11.9650336,"altitude":77,"angle":241,"satellites":41,"speed":5,"hex_longitude":"2d1822c0","hex_latitude":"0721b820","is_valid_coordinates":true} 
[2026-08-01 17:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109769984001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10290934914744320,"note":"Value kept but may cause issues"} 
[2026-08-01 17:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446497280,"note":"Value kept but may cause issues"} 
[2026-08-01 17:21:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785585042000,"timestamp_ms":1785585042000,"timestamp_seconds":1785585042,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd298250"} 
[2026-08-01 17:21:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:21:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-01 17:21:33] 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-08-01 17:21:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:21:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":147363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":147363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":147363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109769984001,"66":13243,"105":206,"83":41984,"24":5,"16":10290934914744320,"45":1739585755446497280},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109769984001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:21:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:21:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10290934914744320,"km_value":10290934914744.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446497280,"description":"Unknown IO ID 45"} 
[2026-08-01 17:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109769984001,"power":13243,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1739585755446497280}} 
[2026-08-01 17:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":147363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578199,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:21:33] local.INFO: GPS data processed {"connection_id":147363,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:21:33] local.INFO: Acknowledgment sent {"connection_id":147363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:21:47] local.INFO: TCP Data received {"connection_id":146362,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:21:47] local.INFO: Processing buffer {"connection_id":146362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:21:47] local.INFO: IMEI packet received {"connection_id":146362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 17:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":146362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:21:48] local.INFO: TCP Data received {"connection_id":146362,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:21:48] local.INFO: Processing buffer {"connection_id":146362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:21:48] local.INFO: IMEI packet received {"connection_id":146362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":146362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:21:49] local.INFO: TCP Data received {"connection_id":146362,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:21:49] local.INFO: Processing buffer {"connection_id":146362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:21:49] local.INFO: IMEI packet received {"connection_id":146362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":146362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:21:52] local.INFO: TCP Data received {"connection_id":146362,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:21:52] local.INFO: Processing buffer {"connection_id":146362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:21:52] local.INFO: IMEI packet received {"connection_id":146362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":146362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:21:53] local.INFO: TCP Data received {"connection_id":146362,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd2991f0012ce9fe40071d40e80004012b2b..."} 
[2026-08-01 17:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd2991f0012ce9fe40071d40e80004012b2b..."} 
[2026-08-01 17:21:53] local.INFO: Processing buffer {"connection_id":146362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd2991f0012ce9fe40071d40e80004012b2b..."} 
[2026-08-01 17:21:53] local.INFO: Packet analysis {"connection_id":146362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd29"} 
[2026-08-01 17:21:53] local.INFO: Extracted packet for processing {"connection_id":146362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd29"} 
[2026-08-01 17:21:53] local.INFO: GPS Element Parsed {"raw_longitude":753532480,"raw_latitude":119357672,"longitude_deg":75.353248,"latitude_deg":11.9357672,"altitude":4,"angle":299,"satellites":43,"speed":22,"hex_longitude":"2ce9fe40","hex_latitude":"071d40e8","is_valid_coordinates":true} 
[2026-08-01 17:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109771520001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366642666361847808,"note":"Value kept but may cause issues"} 
[2026-08-01 17:21:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1585267038278930432,"note":"Value kept but may cause issues"} 
[2026-08-01 17:21:53] 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-08-01 17:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785585046000,"timestamp_ms":1785585046000,"timestamp_seconds":1785585046,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd2991f0"} 
[2026-08-01 17:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:21:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 17:21:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:21:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":146362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":146362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":146362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:21:53] 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-08-01 17:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109771520001,"66":27843,"110":206,"83":43008,"24":22,"16":366642666361847808,"44":-1585267038278930432},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-08-01 17:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109771520001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:21:53] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-01 17:21:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-01 17:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366642666361847808,"km_value":366642666361847.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:21:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1585267038278930432,"description":"Unknown IO ID 44"} 
[2026-08-01 17:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109771520001,"power":27843,"unknown_110":206,"unknown_83":43008,"ignition":22,"odometer":null,"unknown_44":-1585267038278930432}} 
[2026-08-01 17:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":146362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:21:53] local.INFO: GPS data processed {"connection_id":146362,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:21:53] local.INFO: Acknowledgment sent {"connection_id":146362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:21:53] local.INFO: TCP Data received {"connection_id":146362,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd2995d8012ce9fc80071d41e00004011e2a..."} 
[2026-08-01 17:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd2995d8012ce9fc80071d41e00004011e2a..."} 
[2026-08-01 17:21:53] local.INFO: Processing buffer {"connection_id":146362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd2995d8012ce9fc80071d41e00004011e2a..."} 
[2026-08-01 17:21:53] local.INFO: Packet analysis {"connection_id":146362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd29"} 
[2026-08-01 17:21:53] local.INFO: Extracted packet for processing {"connection_id":146362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd29"} 
[2026-08-01 17:21:53] local.INFO: GPS Element Parsed {"raw_longitude":753532032,"raw_latitude":119357920,"longitude_deg":75.3532032,"latitude_deg":11.935792,"altitude":4,"angle":286,"satellites":42,"speed":23,"hex_longitude":"2ce9fc80","hex_latitude":"071d41e0","is_valid_coordinates":true} 
[2026-08-01 17:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109771776001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366642692131651584,"note":"Value kept but may cause issues"} 
[2026-08-01 17:21:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1585759619488094208,"note":"Value kept but may cause issues"} 
[2026-08-01 17:21:53] 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-08-01 17:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785585047000,"timestamp_ms":1785585047000,"timestamp_seconds":1785585047,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd2995d8"} 
[2026-08-01 17:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:21:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 17:21:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:21:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":146362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":146362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":146362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:21:53] 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-08-01 17:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109771776001,"66":27876,"110":206,"83":43008,"24":23,"16":366642692131651584,"44":-1585759619488094208},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-08-01 17:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109771776001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:21:53] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-01 17:21:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-01 17:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366642692131651584,"km_value":366642692131651.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:21:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1585759619488094208,"description":"Unknown IO ID 44"} 
[2026-08-01 17:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109771776001,"power":27876,"unknown_110":206,"unknown_83":43008,"ignition":23,"odometer":null,"unknown_44":-1585759619488094208}} 
[2026-08-01 17:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":146362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:21:53] local.INFO: GPS data processed {"connection_id":146362,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:21:53] local.INFO: Acknowledgment sent {"connection_id":146362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:21:54] local.INFO: TCP Data received {"connection_id":146362,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd29a190012ce9f4c0071d4310000401132b..."} 
[2026-08-01 17:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd29a190012ce9f4c0071d4310000401132b..."} 
[2026-08-01 17:21:54] local.INFO: Processing buffer {"connection_id":146362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd29a190012ce9f4c0071d4310000401132b..."} 
[2026-08-01 17:21:54] local.INFO: Packet analysis {"connection_id":146362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd29"} 
[2026-08-01 17:21:54] local.INFO: Extracted packet for processing {"connection_id":146362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd29"} 
[2026-08-01 17:21:54] local.INFO: GPS Element Parsed {"raw_longitude":753530048,"raw_latitude":119358224,"longitude_deg":75.3530048,"latitude_deg":11.9358224,"altitude":4,"angle":275,"satellites":43,"speed":27,"hex_longitude":"2ce9f4c0","hex_latitude":"071d4310","is_valid_coordinates":true} 
[2026-08-01 17:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109772032001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366642786620932096,"note":"Value kept but may cause issues"} 
[2026-08-01 17:21:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1586252200697274368,"note":"Value kept but may cause issues"} 
[2026-08-01 17:21:54] 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-08-01 17:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785585050000,"timestamp_ms":1785585050000,"timestamp_seconds":1785585050,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd29a190"} 
[2026-08-01 17:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:21: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-08-01 17:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 17:21:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:21:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:21:54] 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-08-01 17:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109772032001,"66":27865,"110":206,"83":43008,"24":27,"16":366642786620932096,"44":-1586252200697274368},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-08-01 17:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109772032001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:21:54] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-01 17:21:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-01 17:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366642786620932096,"km_value":366642786620932.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:21:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1586252200697274368,"description":"Unknown IO ID 44"} 
[2026-08-01 17:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109772032001,"power":27865,"unknown_110":206,"unknown_83":43008,"ignition":27,"odometer":null,"unknown_44":-1586252200697274368}} 
[2026-08-01 17:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":146362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:21:54] local.INFO: GPS data processed {"connection_id":146362,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:21:54] local.INFO: Acknowledgment sent {"connection_id":146362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:22:00] local.INFO: TCP Data received {"connection_id":146130,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146130,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:22:00] local.INFO: Processing buffer {"connection_id":146130,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:22:00] local.INFO: IMEI packet received {"connection_id":146130,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":146130,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:22:05] local.INFO: TCP Data received {"connection_id":146130,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146130,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:22:05] local.INFO: Processing buffer {"connection_id":146130,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:22:05] local.INFO: IMEI packet received {"connection_id":146130,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":146130,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:22:05] local.INFO: TCP Data received {"connection_id":146130,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd2991f0012d1822c00721b688004e00ac29..."} 
[2026-08-01 17:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd2991f0012d1822c00721b688004e00ac29..."} 
[2026-08-01 17:22:05] local.INFO: Processing buffer {"connection_id":146130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd2991f0012d1822c00721b688004e00ac29..."} 
[2026-08-01 17:22:05] local.INFO: Packet analysis {"connection_id":146130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd29"} 
[2026-08-01 17:22:05] local.INFO: Extracted packet for processing {"connection_id":146130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd29"} 
[2026-08-01 17:22:05] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649928,"longitude_deg":75.655648,"latitude_deg":11.9649928,"altitude":78,"angle":172,"satellites":41,"speed":5,"hex_longitude":"2d1822c0","hex_latitude":"0721b688","is_valid_coordinates":true} 
[2026-08-01 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-08-01 17:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109770752001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10290956389580800,"note":"Value kept but may cause issues"} 
[2026-08-01 17:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981451776,"note":"Value kept but may cause issues"} 
[2026-08-01 17:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785585046000,"timestamp_ms":1785585046000,"timestamp_seconds":1785585046,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd2991f0"} 
[2026-08-01 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-08-01 17:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-01 17:22: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-08-01 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-08-01 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-08-01 17:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:22:05] 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-08-01 17:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109770752001,"66":13276,"105":206,"83":41984,"24":5,"16":10290956389580800,"45":1739163542981451776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109770752001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:22:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:22:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10290956389580800,"km_value":10290956389580.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981451776,"description":"Unknown IO ID 45"} 
[2026-08-01 17:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109770752001,"power":13276,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1739163542981451776}} 
[2026-08-01 17:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":146130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:22:05] local.INFO: GPS data processed {"connection_id":146130,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:22:05] local.INFO: Acknowledgment sent {"connection_id":146130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:22:18] local.INFO: TCP Data received {"connection_id":147364,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147364,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:22:18] local.INFO: Processing buffer {"connection_id":147364,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:22:18] local.INFO: IMEI packet received {"connection_id":147364,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 17:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":147364,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:22:18] local.INFO: TCP Data received {"connection_id":147364,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147364,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:22:19] local.INFO: Processing buffer {"connection_id":147364,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:22:19] local.INFO: IMEI packet received {"connection_id":147364,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 17:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":147364,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:22:23] local.INFO: TCP Data received {"connection_id":147364,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147364,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:22:23] local.INFO: Processing buffer {"connection_id":147364,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:22:23] local.INFO: IMEI packet received {"connection_id":147364,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 17:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":147364,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:22:28] local.INFO: TCP Data received {"connection_id":147364,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbb33b948012d7a400005da77500004015e2c..."} 
[2026-08-01 17:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbb33b948012d7a400005da77500004015e2c..."} 
[2026-08-01 17:22:28] local.INFO: Processing buffer {"connection_id":147364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbb33b948012d7a400005da77500004015e2c..."} 
[2026-08-01 17:22:28] local.INFO: Packet analysis {"connection_id":147364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbb33"} 
[2026-08-01 17:22:28] local.INFO: Extracted packet for processing {"connection_id":147364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbb33"} 
[2026-08-01 17:22:28] local.INFO: GPS Element Parsed {"raw_longitude":762986496,"raw_latitude":98203472,"longitude_deg":76.2986496,"latitude_deg":9.8203472,"altitude":4,"angle":350,"satellites":44,"speed":0,"hex_longitude":"2d7a4000","hex_latitude":"05da7750","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457101275136001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113489386900815872,"note":"Value kept but may cause issues"} 
[2026-08-01 17:22:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809040896276779008,"note":"Value kept but may cause issues"} 
[2026-08-01 17:22:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785552157000,"timestamp_ms":1785552157000,"timestamp_seconds":1785552157,"priority":1,"record_length":96,"hex_timestamp":"0000019fbb33b948"} 
[2026-08-01 17:22:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:22:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 17:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-01 17:22:28] 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-08-01 17: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-08-01 17:22:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":147364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":147364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":147364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17: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-08-01 17:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457101275136001,"66":2242,"229":206,"85":15104,"24":0,"16":113489386900815872,"45":8809040896276779008},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-01 17:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457101275136001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:22:28] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 17:22:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113489386900815872,"km_value":113489386900815.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:22:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809040896276779008,"description":"Unknown IO ID 45"} 
[2026-08-01 17:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457101275136001,"power":2242,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809040896276779008}} 
[2026-08-01 17:22:28] local.INFO: DEBUG: GPS processor result {"connection_id":147364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578204,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:22:28] local.INFO: GPS data processed {"connection_id":147364,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:22:28] local.INFO: Acknowledgment sent {"connection_id":147364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:22:32] local.INFO: TCP Data received {"connection_id":146362,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd29bce8012ce9dfc0071d43f0000301072c..."} 
[2026-08-01 17:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd29bce8012ce9dfc0071d43f0000301072c..."} 
[2026-08-01 17:22:32] local.INFO: Processing buffer {"connection_id":146362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd29bce8012ce9dfc0071d43f0000301072c..."} 
[2026-08-01 17:22:32] local.INFO: Packet analysis {"connection_id":146362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd29"} 
[2026-08-01 17:22:32] local.INFO: Extracted packet for processing {"connection_id":146362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd29"} 
[2026-08-01 17:22:32] local.INFO: GPS Element Parsed {"raw_longitude":753524672,"raw_latitude":119358448,"longitude_deg":75.3524672,"latitude_deg":11.9358448,"altitude":3,"angle":263,"satellites":44,"speed":34,"hex_longitude":"2ce9dfc0","hex_latitude":"071d43f0","is_valid_coordinates":true} 
[2026-08-01 17:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109772800001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366643040024002560,"note":"Value kept but may cause issues"} 
[2026-08-01 17:22:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1588433631766704128,"note":"Value kept but may cause issues"} 
[2026-08-01 17:22:32] 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-08-01 17:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785585057000,"timestamp_ms":1785585057000,"timestamp_seconds":1785585057,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd29bce8"} 
[2026-08-01 17:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:22: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-08-01 17:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 17:22: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-08-01 17:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":146362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":146362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":146362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:22:32] 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-08-01 17:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109772800001,"66":27843,"110":206,"83":43008,"24":34,"16":366643040024002560,"44":-1588433631766704128},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-08-01 17:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109772800001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:22:32] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-01 17:22:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-01 17:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366643040024002560,"km_value":366643040024002.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:22:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1588433631766704128,"description":"Unknown IO ID 44"} 
[2026-08-01 17:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109772800001,"power":27843,"unknown_110":206,"unknown_83":43008,"ignition":34,"odometer":null,"unknown_44":-1588433631766704128}} 
[2026-08-01 17:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":146362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:22:32] local.INFO: GPS data processed {"connection_id":146362,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:22:32] local.INFO: Acknowledgment sent {"connection_id":146362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:22:36] local.INFO: TCP Data received {"connection_id":146130,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd2995d8012d1822c00721b600004e00b729..."} 
[2026-08-01 17:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd2995d8012d1822c00721b600004e00b729..."} 
[2026-08-01 17:22:36] local.INFO: Processing buffer {"connection_id":146130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd2995d8012d1822c00721b600004e00b729..."} 
[2026-08-01 17:22:36] local.INFO: Packet analysis {"connection_id":146130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd29"} 
[2026-08-01 17:22:36] local.INFO: Extracted packet for processing {"connection_id":146130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd29"} 
[2026-08-01 17:22:36] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649792,"longitude_deg":75.655648,"latitude_deg":11.9649792,"altitude":78,"angle":183,"satellites":41,"speed":5,"hex_longitude":"2d1822c0","hex_latitude":"0721b600","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109771776001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10290960684548096,"note":"Value kept but may cause issues"} 
[2026-08-01 17:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981347328,"note":"Value kept but may cause issues"} 
[2026-08-01 17:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785585047000,"timestamp_ms":1785585047000,"timestamp_seconds":1785585047,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd2995d8"} 
[2026-08-01 17:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-01 17:22:36] 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-08-01 17: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-08-01 17:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:22:36] 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-08-01 17:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109771776001,"66":13243,"105":206,"83":41984,"24":5,"16":10290960684548096,"45":1739163542981347328},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109771776001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:22:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:22:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10290960684548096,"km_value":10290960684548.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981347328,"description":"Unknown IO ID 45"} 
[2026-08-01 17:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109771776001,"power":13243,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1739163542981347328}} 
[2026-08-01 17:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":146130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578206,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:22:36] local.INFO: GPS data processed {"connection_id":146130,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:22:36] local.INFO: Acknowledgment sent {"connection_id":146130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:22:44] local.INFO: TCP Data received {"connection_id":147365,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:22:44] local.INFO: Processing buffer {"connection_id":147365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:22:44] local.INFO: IMEI packet received {"connection_id":147365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 17:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":147365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:22:47] local.INFO: TCP Data received {"connection_id":147365,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:22:47] local.INFO: Processing buffer {"connection_id":147365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:22:47] local.INFO: IMEI packet received {"connection_id":147365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":147365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:22:48] local.INFO: TCP Data received {"connection_id":147365,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd2a7c50012ce9a540071d75e80004000d2c..."} 
[2026-08-01 17:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd2a7c50012ce9a540071d75e80004000d2c..."} 
[2026-08-01 17:22:48] local.INFO: Processing buffer {"connection_id":147365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd2a7c50012ce9a540071d75e80004000d2c..."} 
[2026-08-01 17:22:48] local.INFO: Packet analysis {"connection_id":147365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd2a"} 
[2026-08-01 17:22:48] local.INFO: Extracted packet for processing {"connection_id":147365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd2a"} 
[2026-08-01 17:22:48] local.INFO: GPS Element Parsed {"raw_longitude":753509696,"raw_latitude":119371240,"longitude_deg":75.3509696,"latitude_deg":11.937124,"altitude":4,"angle":13,"satellites":44,"speed":29,"hex_longitude":"2ce9a540","hex_latitude":"071d75e8","is_valid_coordinates":true} 
[2026-08-01 17:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:22:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109785856001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366644586212229120,"note":"Value kept but may cause issues"} 
[2026-08-01 17:22:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1611233104877889536,"note":"Value kept but may cause issues"} 
[2026-08-01 17:22:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:22:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785585106000,"timestamp_ms":1785585106000,"timestamp_seconds":1785585106,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd2a7c50"} 
[2026-08-01 17:22:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:22:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 17:22:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:22:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:22:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:22:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:22:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:22:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:22:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109785856001,"66":27800,"76":206,"83":43008,"24":29,"16":366644586212229120,"44":-1611233104877889536},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,83,24,16,44]} 
[2026-08-01 17:22:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:22:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:22:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109785856001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:22:48] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-08-01 17:22:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-01 17:22:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366644586212229120,"km_value":366644586212229.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:22:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1611233104877889536,"description":"Unknown IO ID 44"} 
[2026-08-01 17:22:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109785856001,"power":27800,"unknown_76":206,"unknown_83":43008,"ignition":29,"odometer":null,"unknown_44":-1611233104877889536}} 
[2026-08-01 17:22:48] local.INFO: DEBUG: GPS processor result {"connection_id":147365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:22:48] local.INFO: GPS data processed {"connection_id":147365,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:22:48] local.INFO: Acknowledgment sent {"connection_id":147365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:22:49] local.INFO: TCP Data received {"connection_id":147365,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd2a8bf0012ce9aa00071d80f80005001d2c..."} 
[2026-08-01 17:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd2a8bf0012ce9aa00071d80f80005001d2c..."} 
[2026-08-01 17:22:49] local.INFO: Processing buffer {"connection_id":147365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd2a8bf0012ce9aa00071d80f80005001d2c..."} 
[2026-08-01 17:22:49] local.INFO: Packet analysis {"connection_id":147365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd2a"} 
[2026-08-01 17:22:49] local.INFO: Extracted packet for processing {"connection_id":147365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd2a"} 
[2026-08-01 17:22:49] local.INFO: GPS Element Parsed {"raw_longitude":753510912,"raw_latitude":119374072,"longitude_deg":75.3510912,"latitude_deg":11.9374072,"altitude":5,"angle":29,"satellites":44,"speed":31,"hex_longitude":"2ce9aa00","hex_latitude":"071d80f8","is_valid_coordinates":true} 
[2026-08-01 17:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109787136001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366644736536084480,"note":"Value kept but may cause issues"} 
[2026-08-01 17:22:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1610810892411869184,"note":"Value kept but may cause issues"} 
[2026-08-01 17:22:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785585110000,"timestamp_ms":1785585110000,"timestamp_seconds":1785585110,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd2a8bf0"} 
[2026-08-01 17:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:22: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-08-01 17:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 17:22:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:22:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:22:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109787136001,"66":27843,"76":206,"83":43008,"24":31,"16":366644736536084480,"44":-1610810892411869184},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,83,24,16,44]} 
[2026-08-01 17:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109787136001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:22:49] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-08-01 17:22:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-01 17:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366644736536084480,"km_value":366644736536084.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:22:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1610810892411869184,"description":"Unknown IO ID 44"} 
[2026-08-01 17:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109787136001,"power":27843,"unknown_76":206,"unknown_83":43008,"ignition":31,"odometer":null,"unknown_44":-1610810892411869184}} 
[2026-08-01 17:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":147365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:22:49] local.INFO: GPS data processed {"connection_id":147365,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:22:49] local.INFO: Acknowledgment sent {"connection_id":147365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:22:59] local.INFO: TCP Data received {"connection_id":147364,"ip":"42.106.6.34","data_length":93,"data_hex":"00000000000000518e0100000000000109a00100000000000000000000000000..."} 
[2026-08-01 17:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147364,"packet_length":93,"packet_hex":"00000000000000518e0100000000000109a00100000000000000000000000000..."} 
[2026-08-01 17:22:59] local.INFO: Processing buffer {"connection_id":147364,"buffer_length":93,"buffer_hex":"00000000000000518e0100000000000109a00100000000000000000000000000..."} 
[2026-08-01 17:22:59] local.INFO: Packet analysis {"connection_id":147364,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000000000001"} 
[2026-08-01 17:22:59] local.INFO: Extracted packet for processing {"connection_id":147364,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000000000001"} 
[2026-08-01 17:22:59] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-01 17:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-08-01 17:22:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:22:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:22:59] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:22:59] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-01 17:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":147364,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-01 17:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":147364,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-01 17:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":147364,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-01 17:22:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-01 17:22:59] local.WARNING: DEBUG: No valid data to process  
[2026-08-01 17:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":147364,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-01 17:22:59] local.ERROR: GPS data processing failed {"connection_id":147364,"error":"No valid data to process"} 
[2026-08-01 17:22:59] local.INFO: Acknowledgment sent {"connection_id":147364,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-01 17:23:00] local.INFO: TCP Data received {"connection_id":146363,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:23:00] local.INFO: Processing buffer {"connection_id":146363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:23:00] local.INFO: IMEI packet received {"connection_id":146363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":146363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:23:04] local.INFO: TCP Data received {"connection_id":146363,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:23:04] local.INFO: Processing buffer {"connection_id":146363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:23:04] local.INFO: IMEI packet received {"connection_id":146363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":146363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:23:05] local.INFO: TCP Data received {"connection_id":146363,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd29e7e0012d1822400721b4d0004e00b726..."} 
[2026-08-01 17:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd29e7e0012d1822400721b4d0004e00b726..."} 
[2026-08-01 17:23:05] local.INFO: Processing buffer {"connection_id":146363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd29e7e0012d1822400721b4d0004e00b726..."} 
[2026-08-01 17:23:05] local.INFO: Packet analysis {"connection_id":146363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd29"} 
[2026-08-01 17:23:05] local.INFO: Extracted packet for processing {"connection_id":146363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd29"} 
[2026-08-01 17:23:05] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649488,"longitude_deg":75.6556352,"latitude_deg":11.9649488,"altitude":78,"angle":183,"satellites":38,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109772032001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10290982159384576,"note":"Value kept but may cause issues"} 
[2026-08-01 17:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981312512,"note":"Value kept but may cause issues"} 
[2026-08-01 17:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785585068000,"timestamp_ms":1785585068000,"timestamp_seconds":1785585068,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd29e7e0"} 
[2026-08-01 17:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-01 17:23: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-08-01 17: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-08-01 17:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:23:05] 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-08-01 17:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109772032001,"66":13243,"105":206,"83":41984,"24":0,"16":10290982159384576,"45":1739163542981312512},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109772032001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:23:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:23:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10290982159384576,"km_value":10290982159384.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981312512,"description":"Unknown IO ID 45"} 
[2026-08-01 17:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109772032001,"power":13243,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981312512}} 
[2026-08-01 17:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":146363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578209,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:23:05] local.INFO: GPS data processed {"connection_id":146363,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:23:05] local.INFO: Acknowledgment sent {"connection_id":146363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:23:20] local.INFO: TCP Data received {"connection_id":147365,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd2ab6e8012ce9be80071da3600008001d2a..."} 
[2026-08-01 17:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd2ab6e8012ce9be80071da3600008001d2a..."} 
[2026-08-01 17:23:20] local.INFO: Processing buffer {"connection_id":147365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd2ab6e8012ce9be80071da3600008001d2a..."} 
[2026-08-01 17:23:20] local.INFO: Packet analysis {"connection_id":147365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd2a"} 
[2026-08-01 17:23:20] local.INFO: Extracted packet for processing {"connection_id":147365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd2a"} 
[2026-08-01 17:23:20] local.INFO: GPS Element Parsed {"raw_longitude":753516160,"raw_latitude":119382880,"longitude_deg":75.351616,"latitude_deg":11.938288,"altitude":8,"angle":29,"satellites":42,"speed":41,"hex_longitude":"2ce9be80","hex_latitude":"071da360","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:23:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109788160001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:23:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366645230457323520,"note":"Value kept but may cause issues"} 
[2026-08-01 17:23:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1609473886271768576,"note":"Value kept but may cause issues"} 
[2026-08-01 17:23:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:23:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785585121000,"timestamp_ms":1785585121000,"timestamp_seconds":1785585121,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd2ab6e8"} 
[2026-08-01 17:23:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:23: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-08-01 17: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 17:23:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17: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-08-01 17:23:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:23:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:23:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:23:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:23:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:23:20] 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-08-01 17:23:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:23:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:23:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109788160001,"66":28093,"76":206,"83":43008,"24":41,"16":366645230457323520,"44":-1609473886271768576},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,83,24,16,44]} 
[2026-08-01 17:23:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:23:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:23:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109788160001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:23:20] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-08-01 17:23:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-01 17:23:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366645230457323520,"km_value":366645230457323.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:23:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1609473886271768576,"description":"Unknown IO ID 44"} 
[2026-08-01 17:23:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109788160001,"power":28093,"unknown_76":206,"unknown_83":43008,"ignition":41,"odometer":null,"unknown_44":-1609473886271768576}} 
[2026-08-01 17:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":147365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:23:20] local.INFO: GPS data processed {"connection_id":147365,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:23:20] local.INFO: Acknowledgment sent {"connection_id":147365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:23:30] local.INFO: TCP Data received {"connection_id":147364,"ip":"42.106.6.34","data_length":93,"data_hex":"00000000000000518e010000000000015ba80100000000000000000000000000..."} 
[2026-08-01 17:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147364,"packet_length":93,"packet_hex":"00000000000000518e010000000000015ba80100000000000000000000000000..."} 
[2026-08-01 17:23:30] local.INFO: Processing buffer {"connection_id":147364,"buffer_length":93,"buffer_hex":"00000000000000518e010000000000015ba80100000000000000000000000000..."} 
[2026-08-01 17:23:30] local.INFO: Packet analysis {"connection_id":147364,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000000000001"} 
[2026-08-01 17:23:30] local.INFO: Extracted packet for processing {"connection_id":147364,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000000000001"} 
[2026-08-01 17:23: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-08-01 17: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":93,"current_offset":40} 
[2026-08-01 17:23: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-08-01 17:23: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-08-01 17:23:30] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:23:30] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-01 17:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147364,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-01 17:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147364,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-01 17:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147364,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-01 17:23:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-01 17:23:30] local.WARNING: DEBUG: No valid data to process  
[2026-08-01 17:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":147364,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-01 17:23:30] local.ERROR: GPS data processing failed {"connection_id":147364,"error":"No valid data to process"} 
[2026-08-01 17:23:30] local.INFO: Acknowledgment sent {"connection_id":147364,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-01 17:23:36] local.INFO: TCP Data received {"connection_id":146363,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd2a39e8012d1822400721b4d0004e00b727..."} 
[2026-08-01 17:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd2a39e8012d1822400721b4d0004e00b727..."} 
[2026-08-01 17:23:36] local.INFO: Processing buffer {"connection_id":146363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd2a39e8012d1822400721b4d0004e00b727..."} 
[2026-08-01 17:23:36] local.INFO: Packet analysis {"connection_id":146363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd2a"} 
[2026-08-01 17:23:36] local.INFO: Extracted packet for processing {"connection_id":146363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd2a"} 
[2026-08-01 17:23:36] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649488,"longitude_deg":75.6556352,"latitude_deg":11.9649488,"altitude":78,"angle":183,"satellites":39,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109777408001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10290982159384576,"note":"Value kept but may cause issues"} 
[2026-08-01 17:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492879360,"note":"Value kept but may cause issues"} 
[2026-08-01 17:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785585089000,"timestamp_ms":1785585089000,"timestamp_seconds":1785585089,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd2a39e8"} 
[2026-08-01 17:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-01 17:23:36] 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-08-01 17: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-08-01 17:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:23:36] 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-08-01 17:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109777408001,"66":13156,"105":206,"83":41984,"24":0,"16":10290982159384576,"45":1739022805492879360},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109777408001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:23:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:23:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10290982159384576,"km_value":10290982159384.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492879360,"description":"Unknown IO ID 45"} 
[2026-08-01 17:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109777408001,"power":13156,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492879360}} 
[2026-08-01 17:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":146363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:23:36] local.INFO: GPS data processed {"connection_id":146363,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:23:36] local.INFO: Acknowledgment sent {"connection_id":146363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:23:43] local.INFO: TCP Data received {"connection_id":147366,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:23:43] local.INFO: Processing buffer {"connection_id":147366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:23:43] local.INFO: IMEI packet received {"connection_id":147366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 17:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":147366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:23:47] local.INFO: TCP Data received {"connection_id":147366,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:23:47] local.INFO: Processing buffer {"connection_id":147366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:23:47] local.INFO: IMEI packet received {"connection_id":147366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":147366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:23:47] local.INFO: TCP Data received {"connection_id":147366,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd2ad628012ce9ccc0071dc0c8000700102c..."} 
[2026-08-01 17:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd2ad628012ce9ccc0071dc0c8000700102c..."} 
[2026-08-01 17:23:47] local.INFO: Processing buffer {"connection_id":147366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd2ad628012ce9ccc0071dc0c8000700102c..."} 
[2026-08-01 17:23:47] local.INFO: Packet analysis {"connection_id":147366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd2a"} 
[2026-08-01 17:23:47] local.INFO: Extracted packet for processing {"connection_id":147366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd2a"} 
[2026-08-01 17:23:47] local.INFO: GPS Element Parsed {"raw_longitude":753519808,"raw_latitude":119390408,"longitude_deg":75.3519808,"latitude_deg":11.9390408,"altitude":7,"angle":16,"satellites":44,"speed":42,"hex_longitude":"2ce9ccc0","hex_latitude":"071dc0c8","is_valid_coordinates":true} 
[2026-08-01 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-08-01 17:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109790976001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366645634184249344,"note":"Value kept but may cause issues"} 
[2026-08-01 17:23:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1603703649246945280,"note":"Value kept but may cause issues"} 
[2026-08-01 17:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785585129000,"timestamp_ms":1785585129000,"timestamp_seconds":1785585129,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd2ad628"} 
[2026-08-01 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-08-01 17:23: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-08-01 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":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-08-01 17:23:47] 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-08-01 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-08-01 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-08-01 17:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":147366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":147366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":147366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:23:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109790976001,"66":27745,"68":206,"83":43008,"24":42,"16":366645634184249344,"44":-1603703649246945280},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,83,24,16,44]} 
[2026-08-01 17:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109790976001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:23:47] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-01 17:23:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-01 17:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366645634184249344,"km_value":366645634184249.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:23:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1603703649246945280,"description":"Unknown IO ID 44"} 
[2026-08-01 17:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109790976001,"power":27745,"unknown_68":206,"unknown_83":43008,"ignition":42,"odometer":null,"unknown_44":-1603703649246945280}} 
[2026-08-01 17:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":147366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:23:47] local.INFO: GPS data processed {"connection_id":147366,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:23:47] local.INFO: Acknowledgment sent {"connection_id":147366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:24:00] local.INFO: TCP Data received {"connection_id":146131,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:24:00] local.INFO: Processing buffer {"connection_id":146131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:24:00] local.INFO: IMEI packet received {"connection_id":146131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":146131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:24:01] local.INFO: TCP Data received {"connection_id":147364,"ip":"42.106.6.34","data_length":93,"data_hex":"00000000000000518e01000000000001adb00100000000000000000000000000..."} 
[2026-08-01 17:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147364,"packet_length":93,"packet_hex":"00000000000000518e01000000000001adb00100000000000000000000000000..."} 
[2026-08-01 17:24:01] local.INFO: Processing buffer {"connection_id":147364,"buffer_length":93,"buffer_hex":"00000000000000518e01000000000001adb00100000000000000000000000000..."} 
[2026-08-01 17:24:01] local.INFO: Packet analysis {"connection_id":147364,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000000000001"} 
[2026-08-01 17:24:01] local.INFO: Extracted packet for processing {"connection_id":147364,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000000000001"} 
[2026-08-01 17:24:01] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-01 17: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":93,"current_offset":40} 
[2026-08-01 17:24:01] 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-08-01 17:24:01] 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-08-01 17:24:01] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:24:01] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-01 17:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":147364,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-01 17:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":147364,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-01 17:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":147364,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-01 17:24:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-01 17:24:01] local.WARNING: DEBUG: No valid data to process  
[2026-08-01 17:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":147364,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-01 17:24:01] local.ERROR: GPS data processing failed {"connection_id":147364,"error":"No valid data to process"} 
[2026-08-01 17:24:01] local.INFO: Acknowledgment sent {"connection_id":147364,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-01 17:24:05] local.INFO: TCP Data received {"connection_id":146131,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:24:05] local.INFO: Processing buffer {"connection_id":146131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:24:05] local.INFO: IMEI packet received {"connection_id":146131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":146131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:24:05] local.INFO: TCP Data received {"connection_id":146131,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd2a8bf0012d1822400721b4d0004e00b726..."} 
[2026-08-01 17:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd2a8bf0012d1822400721b4d0004e00b726..."} 
[2026-08-01 17:24:05] local.INFO: Processing buffer {"connection_id":146131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd2a8bf0012d1822400721b4d0004e00b726..."} 
[2026-08-01 17:24:05] local.INFO: Packet analysis {"connection_id":146131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd2a"} 
[2026-08-01 17:24:05] local.INFO: Extracted packet for processing {"connection_id":146131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd2a"} 
[2026-08-01 17:24:05] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649488,"longitude_deg":75.6556352,"latitude_deg":11.9649488,"altitude":78,"angle":183,"satellites":38,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 17:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109782784001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10290982159384576,"note":"Value kept but may cause issues"} 
[2026-08-01 17:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492879360,"note":"Value kept but may cause issues"} 
[2026-08-01 17:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785585110000,"timestamp_ms":1785585110000,"timestamp_seconds":1785585110,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd2a8bf0"} 
[2026-08-01 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-08-01 17:24: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-08-01 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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-01 17:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 17:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:24:05] 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-08-01 17:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109782784001,"66":13102,"105":206,"83":41984,"24":0,"16":10290982159384576,"45":1739022805492879360},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109782784001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:24:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:24:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10290982159384576,"km_value":10290982159384.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492879360,"description":"Unknown IO ID 45"} 
[2026-08-01 17:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109782784001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492879360}} 
[2026-08-01 17:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":146131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578213,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:24:05] local.INFO: GPS data processed {"connection_id":146131,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:24:05] local.INFO: Acknowledgment sent {"connection_id":146131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:24:19] local.INFO: TCP Data received {"connection_id":147366,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd2af950012ce9d640071de6380008000f2d..."} 
[2026-08-01 17:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd2af950012ce9d640071de6380008000f2d..."} 
[2026-08-01 17:24:19] local.INFO: Processing buffer {"connection_id":147366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd2af950012ce9d640071de6380008000f2d..."} 
[2026-08-01 17:24:19] local.INFO: Packet analysis {"connection_id":147366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd2a"} 
[2026-08-01 17:24:19] local.INFO: Extracted packet for processing {"connection_id":147366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd2a"} 
[2026-08-01 17:24:19] local.INFO: GPS Element Parsed {"raw_longitude":753522240,"raw_latitude":119399992,"longitude_deg":75.352224,"latitude_deg":11.9399992,"altitude":8,"angle":15,"satellites":45,"speed":44,"hex_longitude":"2ce9d640","hex_latitude":"071de638","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109793024001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366646115220586496,"note":"Value kept but may cause issues"} 
[2026-08-01 17:24:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1599692630826891264,"note":"Value kept but may cause issues"} 
[2026-08-01 17:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785585138000,"timestamp_ms":1785585138000,"timestamp_seconds":1785585138,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd2af950"} 
[2026-08-01 17:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:24:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 17:24:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17: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-08-01 17:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":147366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":147366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":147366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:24:19] 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-08-01 17:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109793024001,"66":27908,"68":206,"83":43008,"24":44,"16":366646115220586496,"44":-1599692630826891264},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,83,24,16,44]} 
[2026-08-01 17:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109793024001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:24:19] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-01 17:24:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-01 17:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366646115220586496,"km_value":366646115220586.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:24:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1599692630826891264,"description":"Unknown IO ID 44"} 
[2026-08-01 17:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109793024001,"power":27908,"unknown_68":206,"unknown_83":43008,"ignition":44,"odometer":null,"unknown_44":-1599692630826891264}} 
[2026-08-01 17:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":147366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:24:19] local.INFO: GPS data processed {"connection_id":147366,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:24:19] local.INFO: Acknowledgment sent {"connection_id":147366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:24:31] local.INFO: TCP Data received {"connection_id":147364,"ip":"42.106.6.34","data_length":93,"data_hex":"00000000000000518e010000019fbd2c3d880100000000000000000000000000..."} 
[2026-08-01 17:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147364,"packet_length":93,"packet_hex":"00000000000000518e010000019fbd2c3d880100000000000000000000000000..."} 
[2026-08-01 17:24:31] local.INFO: Processing buffer {"connection_id":147364,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fbd2c3d880100000000000000000000000000..."} 
[2026-08-01 17:24:31] local.INFO: Packet analysis {"connection_id":147364,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fbd2c"} 
[2026-08-01 17:24:31] local.INFO: Extracted packet for processing {"connection_id":147364,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fbd2c"} 
[2026-08-01 17:24: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-08-01 17:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-08-01 17:24: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-08-01 17:24: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-08-01 17:24:31] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:24:31] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-01 17:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":147364,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-01 17:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":147364,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-01 17:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":147364,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-01 17:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-01 17:24:31] local.WARNING: DEBUG: No valid data to process  
[2026-08-01 17:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":147364,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-01 17:24:31] local.ERROR: GPS data processing failed {"connection_id":147364,"error":"No valid data to process"} 
[2026-08-01 17:24:31] local.INFO: Acknowledgment sent {"connection_id":147364,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-01 17:24:36] local.INFO: TCP Data received {"connection_id":146131,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd2addf8012d1822400721b4d0004e00b725..."} 
[2026-08-01 17:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd2addf8012d1822400721b4d0004e00b725..."} 
[2026-08-01 17:24:36] local.INFO: Processing buffer {"connection_id":146131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd2addf8012d1822400721b4d0004e00b725..."} 
[2026-08-01 17:24:36] local.INFO: Packet analysis {"connection_id":146131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd2a"} 
[2026-08-01 17:24:36] local.INFO: Extracted packet for processing {"connection_id":146131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd2a"} 
[2026-08-01 17:24:36] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649488,"longitude_deg":75.6556352,"latitude_deg":11.9649488,"altitude":78,"angle":183,"satellites":37,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109788160001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10290982159384576,"note":"Value kept but may cause issues"} 
[2026-08-01 17:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492879360,"note":"Value kept but may cause issues"} 
[2026-08-01 17:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785585131000,"timestamp_ms":1785585131000,"timestamp_seconds":1785585131,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd2addf8"} 
[2026-08-01 17:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-01 17:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17: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-08-01 17:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:24:36] 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-08-01 17:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109788160001,"66":13015,"105":206,"83":41984,"24":0,"16":10290982159384576,"45":1739022805492879360},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109788160001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:24:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:24:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10290982159384576,"km_value":10290982159384.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492879360,"description":"Unknown IO ID 45"} 
[2026-08-01 17:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109788160001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492879360}} 
[2026-08-01 17:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":146131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:24:37] local.INFO: GPS data processed {"connection_id":146131,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:24:37] local.INFO: Acknowledgment sent {"connection_id":146131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:24:44] local.INFO: TCP Data received {"connection_id":146364,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:24:44] local.INFO: Processing buffer {"connection_id":146364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:24:44] local.INFO: IMEI packet received {"connection_id":146364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 17:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":146364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:24:49] local.INFO: TCP Data received {"connection_id":146364,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:24:49] local.INFO: Processing buffer {"connection_id":146364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:24:49] local.INFO: IMEI packet received {"connection_id":146364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":146364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:24:50] local.INFO: TCP Data received {"connection_id":146364,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd2b1890012ce9e1c0071e0848000900122a..."} 
[2026-08-01 17:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd2b1890012ce9e1c0071e0848000900122a..."} 
[2026-08-01 17:24:50] local.INFO: Processing buffer {"connection_id":146364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd2b1890012ce9e1c0071e0848000900122a..."} 
[2026-08-01 17:24:50] local.INFO: Packet analysis {"connection_id":146364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd2b"} 
[2026-08-01 17:24:50] local.INFO: Extracted packet for processing {"connection_id":146364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd2b"} 
[2026-08-01 17:24:50] local.INFO: GPS Element Parsed {"raw_longitude":753525184,"raw_latitude":119408712,"longitude_deg":75.3525184,"latitude_deg":11.9408712,"altitude":9,"angle":18,"satellites":42,"speed":44,"hex_longitude":"2ce9e1c0","hex_latitude":"071e0848","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109795328001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366646557602217984,"note":"Value kept but may cause issues"} 
[2026-08-01 17:24:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1597018618545686528,"note":"Value kept but may cause issues"} 
[2026-08-01 17:24:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785585146000,"timestamp_ms":1785585146000,"timestamp_seconds":1785585146,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd2b1890"} 
[2026-08-01 17:24:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:24:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 17:24:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17: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-08-01 17:24:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:24:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109795328001,"66":27876,"68":206,"83":43008,"24":44,"16":366646557602217984,"44":-1597018618545686528},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,83,24,16,44]} 
[2026-08-01 17:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109795328001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:24:50] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-01 17:24:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-01 17:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366646557602217984,"km_value":366646557602218.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:24:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1597018618545686528,"description":"Unknown IO ID 44"} 
[2026-08-01 17:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109795328001,"power":27876,"unknown_68":206,"unknown_83":43008,"ignition":44,"odometer":null,"unknown_44":-1597018618545686528}} 
[2026-08-01 17:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":146364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:24:50] local.INFO: GPS data processed {"connection_id":146364,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:24:50] local.INFO: Acknowledgment sent {"connection_id":146364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:25:00] local.INFO: TCP Data received {"connection_id":148670,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148670,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:25:00] local.INFO: Processing buffer {"connection_id":148670,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:25:00] local.INFO: IMEI packet received {"connection_id":148670,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":148670,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:25:03] local.INFO: TCP Data received {"connection_id":147364,"ip":"42.106.6.34","data_length":93,"data_hex":"00000000000000518e010000019fbd2c8f900100000000000000000000000000..."} 
[2026-08-01 17:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147364,"packet_length":93,"packet_hex":"00000000000000518e010000019fbd2c8f900100000000000000000000000000..."} 
[2026-08-01 17:25:03] local.INFO: Processing buffer {"connection_id":147364,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fbd2c8f900100000000000000000000000000..."} 
[2026-08-01 17:25:03] local.INFO: Packet analysis {"connection_id":147364,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fbd2c"} 
[2026-08-01 17:25:03] local.INFO: Extracted packet for processing {"connection_id":147364,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fbd2c"} 
[2026-08-01 17:25: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-08-01 17:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-08-01 17:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:25:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:25:03] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:25:03] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-01 17:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147364,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-01 17:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147364,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-01 17:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147364,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-01 17:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-01 17:25:03] local.WARNING: DEBUG: No valid data to process  
[2026-08-01 17:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":147364,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-01 17:25:03] local.ERROR: GPS data processing failed {"connection_id":147364,"error":"No valid data to process"} 
[2026-08-01 17:25:03] local.INFO: Acknowledgment sent {"connection_id":147364,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-01 17:25:05] local.INFO: TCP Data received {"connection_id":148670,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148670,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:25:05] local.INFO: Processing buffer {"connection_id":148670,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:25:05] local.INFO: IMEI packet received {"connection_id":148670,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":148670,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:25:05] local.INFO: TCP Data received {"connection_id":148670,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd2b3000012d1822400721b4d0004e00b726..."} 
[2026-08-01 17:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd2b3000012d1822400721b4d0004e00b726..."} 
[2026-08-01 17:25:05] local.INFO: Processing buffer {"connection_id":148670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd2b3000012d1822400721b4d0004e00b726..."} 
[2026-08-01 17:25:05] local.INFO: Packet analysis {"connection_id":148670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd2b"} 
[2026-08-01 17:25:05] local.INFO: Extracted packet for processing {"connection_id":148670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd2b"} 
[2026-08-01 17:25:05] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649488,"longitude_deg":75.6556352,"latitude_deg":11.9649488,"altitude":78,"angle":183,"satellites":38,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109793536001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10290982159384576,"note":"Value kept but may cause issues"} 
[2026-08-01 17:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492879360,"note":"Value kept but may cause issues"} 
[2026-08-01 17:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785585152000,"timestamp_ms":1785585152000,"timestamp_seconds":1785585152,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd2b3000"} 
[2026-08-01 17:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17: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":215,"data_length":795,"current_offset":136} 
[2026-08-01 17:25:05] 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-08-01 17: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-08-01 17:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:25:05] 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-08-01 17:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109793536001,"66":13080,"105":206,"83":41984,"24":0,"16":10290982159384576,"45":1739022805492879360},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109793536001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:25:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:25:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10290982159384576,"km_value":10290982159384.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492879360,"description":"Unknown IO ID 45"} 
[2026-08-01 17:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109793536001,"power":13080,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492879360}} 
[2026-08-01 17:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":148670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:25:05] local.INFO: GPS data processed {"connection_id":148670,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:25:05] local.INFO: Acknowledgment sent {"connection_id":148670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:25:21] local.INFO: TCP Data received {"connection_id":146364,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd2b3bb8012ce9ec00071e2970000900132d..."} 
[2026-08-01 17:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd2b3bb8012ce9ec00071e2970000900132d..."} 
[2026-08-01 17:25:21] local.INFO: Processing buffer {"connection_id":146364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd2b3bb8012ce9ec00071e2970000900132d..."} 
[2026-08-01 17:25:21] local.INFO: Packet analysis {"connection_id":146364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd2b"} 
[2026-08-01 17:25:21] local.INFO: Extracted packet for processing {"connection_id":146364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd2b"} 
[2026-08-01 17:25:21] local.INFO: GPS Element Parsed {"raw_longitude":753527808,"raw_latitude":119417200,"longitude_deg":75.3527808,"latitude_deg":11.94172,"altitude":9,"angle":19,"satellites":45,"speed":34,"hex_longitude":"2ce9ec00","hex_latitude":"071e2970","is_valid_coordinates":true} 
[2026-08-01 17:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109797376001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366646987098947584,"note":"Value kept but may cause issues"} 
[2026-08-01 17:25:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1593781656311281664,"note":"Value kept but may cause issues"} 
[2026-08-01 17:25:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785585155000,"timestamp_ms":1785585155000,"timestamp_seconds":1785585155,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd2b3bb8"} 
[2026-08-01 17:25:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:25:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 17:25:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:25:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:25:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:25:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109797376001,"66":27865,"68":206,"83":43008,"24":34,"16":366646987098947584,"44":-1593781656311281664},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,83,24,16,44]} 
[2026-08-01 17:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109797376001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:25:21] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-01 17:25:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-01 17:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366646987098947584,"km_value":366646987098947.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:25:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1593781656311281664,"description":"Unknown IO ID 44"} 
[2026-08-01 17:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109797376001,"power":27865,"unknown_68":206,"unknown_83":43008,"ignition":34,"odometer":null,"unknown_44":-1593781656311281664}} 
[2026-08-01 17:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":146364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:25:21] local.INFO: GPS data processed {"connection_id":146364,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:25:21] local.INFO: Acknowledgment sent {"connection_id":146364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:25:34] local.INFO: TCP Data received {"connection_id":147364,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd2d9160012d7a728005da99500018004809..."} 
[2026-08-01 17:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd2d9160012d7a728005da99500018004809..."} 
[2026-08-01 17:25:34] local.INFO: Processing buffer {"connection_id":147364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd2d9160012d7a728005da99500018004809..."} 
[2026-08-01 17:25:34] local.INFO: Packet analysis {"connection_id":147364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd2d"} 
[2026-08-01 17:25:34] local.INFO: Extracted packet for processing {"connection_id":147364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd2d"} 
[2026-08-01 17:25:34] local.INFO: GPS Element Parsed {"raw_longitude":762999424,"raw_latitude":98212176,"longitude_deg":76.2999424,"latitude_deg":9.8212176,"altitude":24,"angle":72,"satellites":9,"speed":5,"hex_longitude":"2d7a7280","hex_latitude":"05da9950","is_valid_coordinates":true} 
[2026-08-01 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-08-01 17:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109838080001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113489532929703936,"note":"Value kept but may cause issues"} 
[2026-08-01 17:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8822692432649433088,"note":"Value kept but may cause issues"} 
[2026-08-01 17:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785585308000,"timestamp_ms":1785585308000,"timestamp_seconds":1785585308,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd2d9160"} 
[2026-08-01 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-08-01 17:25:34] 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-08-01 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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-01 17:25:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 17:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:25:34] 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-08-01 17:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109838080001,"66":13656,"229":206,"85":15104,"24":5,"16":113489532929703936,"45":8822692432649433088},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-01 17:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109838080001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:25:34] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 17:25:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113489532929703936,"km_value":113489532929703.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8822692432649433088,"description":"Unknown IO ID 45"} 
[2026-08-01 17:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109838080001,"power":13656,"unknown_229":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8822692432649433088}} 
[2026-08-01 17:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":147364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578219,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:25:34] local.INFO: GPS data processed {"connection_id":147364,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:25:34] local.INFO: Acknowledgment sent {"connection_id":147364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:25:36] local.INFO: TCP Data received {"connection_id":148670,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd2b8208012d1822400721b4d0004e00b728..."} 
[2026-08-01 17:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd2b8208012d1822400721b4d0004e00b728..."} 
[2026-08-01 17:25:36] local.INFO: Processing buffer {"connection_id":148670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd2b8208012d1822400721b4d0004e00b728..."} 
[2026-08-01 17:25:36] local.INFO: Packet analysis {"connection_id":148670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd2b"} 
[2026-08-01 17:25:36] local.INFO: Extracted packet for processing {"connection_id":148670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd2b"} 
[2026-08-01 17:25:36] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649488,"longitude_deg":75.6556352,"latitude_deg":11.9649488,"altitude":78,"angle":183,"satellites":40,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109798912001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10290982159384576,"note":"Value kept but may cause issues"} 
[2026-08-01 17:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492879360,"note":"Value kept but may cause issues"} 
[2026-08-01 17:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785585173000,"timestamp_ms":1785585173000,"timestamp_seconds":1785585173,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd2b8208"} 
[2026-08-01 17:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-01 17:25:36] 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-08-01 17: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-08-01 17:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:25:36] 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-08-01 17:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109798912001,"66":13037,"105":206,"83":41984,"24":0,"16":10290982159384576,"45":1739022805492879360},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109798912001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:25:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:25:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10290982159384576,"km_value":10290982159384.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492879360,"description":"Unknown IO ID 45"} 
[2026-08-01 17:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109798912001,"power":13037,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492879360}} 
[2026-08-01 17:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":148670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578220,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:25:36] local.INFO: GPS data processed {"connection_id":148670,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:25:36] local.INFO: Acknowledgment sent {"connection_id":148670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:25:43] local.INFO: TCP Data received {"connection_id":148671,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:25:43] local.INFO: Processing buffer {"connection_id":148671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:25:43] local.INFO: IMEI packet received {"connection_id":148671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 17:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":148671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:25:48] local.INFO: TCP Data received {"connection_id":148671,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:25:48] local.INFO: Processing buffer {"connection_id":148671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:25:48] local.INFO: IMEI packet received {"connection_id":148671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":148671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:25:49] local.INFO: TCP Data received {"connection_id":148671,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd2b7a38012ce9f6c0071e4aa8000b000f2b..."} 
[2026-08-01 17:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd2b7a38012ce9f6c0071e4aa8000b000f2b..."} 
[2026-08-01 17:25:49] local.INFO: Processing buffer {"connection_id":148671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd2b7a38012ce9f6c0071e4aa8000b000f2b..."} 
[2026-08-01 17:25:49] local.INFO: Packet analysis {"connection_id":148671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd2b"} 
[2026-08-01 17:25:49] local.INFO: Extracted packet for processing {"connection_id":148671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd2b"} 
[2026-08-01 17:25:49] local.INFO: GPS Element Parsed {"raw_longitude":753530560,"raw_latitude":119425704,"longitude_deg":75.353056,"latitude_deg":11.9425704,"altitude":11,"angle":15,"satellites":43,"speed":16,"hex_longitude":"2ce9f6c0","hex_latitude":"071e4aa8","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:25:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109799680001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:25:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366647420890644480,"note":"Value kept but may cause issues"} 
[2026-08-01 17:25:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1590896537797824512,"note":"Value kept but may cause issues"} 
[2026-08-01 17:25:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:25:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785585171000,"timestamp_ms":1785585171000,"timestamp_seconds":1785585171,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd2b7a38"} 
[2026-08-01 17:25:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:25: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-08-01 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 17:25:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17: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-08-01 17:25:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:25:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:25:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:25:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:25:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:25:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:25:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:25:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:25:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109799680001,"66":27767,"68":206,"83":43008,"24":16,"16":366647420890644480,"44":-1590896537797824512},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,83,24,16,44]} 
[2026-08-01 17:25:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:25:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:25:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109799680001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:25:49] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-01 17:25:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-01 17:25:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366647420890644480,"km_value":366647420890644.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:25:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1590896537797824512,"description":"Unknown IO ID 44"} 
[2026-08-01 17:25:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109799680001,"power":27767,"unknown_68":206,"unknown_83":43008,"ignition":16,"odometer":null,"unknown_44":-1590896537797824512}} 
[2026-08-01 17:25:49] local.INFO: DEBUG: GPS processor result {"connection_id":148671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:25:49] local.INFO: GPS data processed {"connection_id":148671,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:25:49] local.INFO: Acknowledgment sent {"connection_id":148671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:25:59] local.INFO: TCP Data received {"connection_id":148672,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:25:59] local.INFO: Processing buffer {"connection_id":148672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:25:59] local.INFO: IMEI packet received {"connection_id":148672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":148672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:26:04] local.INFO: TCP Data received {"connection_id":148672,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:26:04] local.INFO: Processing buffer {"connection_id":148672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:26:04] local.INFO: IMEI packet received {"connection_id":148672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":148672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:26:05] local.INFO: TCP Data received {"connection_id":148672,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd2bd410012d1822400721b4d0004e00b724..."} 
[2026-08-01 17:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd2bd410012d1822400721b4d0004e00b724..."} 
[2026-08-01 17:26:05] local.INFO: Processing buffer {"connection_id":148672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd2bd410012d1822400721b4d0004e00b724..."} 
[2026-08-01 17:26:05] local.INFO: Packet analysis {"connection_id":148672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd2b"} 
[2026-08-01 17:26:05] local.INFO: Extracted packet for processing {"connection_id":148672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd2b"} 
[2026-08-01 17:26:05] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649488,"longitude_deg":75.6556352,"latitude_deg":11.9649488,"altitude":78,"angle":183,"satellites":36,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 17:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109804288001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10290982159384576,"note":"Value kept but may cause issues"} 
[2026-08-01 17:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492879360,"note":"Value kept but may cause issues"} 
[2026-08-01 17:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785585194000,"timestamp_ms":1785585194000,"timestamp_seconds":1785585194,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd2bd410"} 
[2026-08-01 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-08-01 17:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-01 17:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 17:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:26:05] 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-08-01 17:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109804288001,"66":13004,"105":206,"83":41984,"24":0,"16":10290982159384576,"45":1739022805492879360},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109804288001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:26:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:26:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10290982159384576,"km_value":10290982159384.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492879360,"description":"Unknown IO ID 45"} 
[2026-08-01 17:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109804288001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492879360}} 
[2026-08-01 17:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":148672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578222,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:26:05] local.INFO: GPS data processed {"connection_id":148672,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:26:05] local.INFO: Acknowledgment sent {"connection_id":148672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:26:05] local.INFO: TCP Data received {"connection_id":147364,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd2ddf80012d7a838005da9e600017004c09..."} 
[2026-08-01 17:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd2ddf80012d7a838005da9e600017004c09..."} 
[2026-08-01 17:26:05] local.INFO: Processing buffer {"connection_id":147364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd2ddf80012d7a838005da9e600017004c09..."} 
[2026-08-01 17:26:05] local.INFO: Packet analysis {"connection_id":147364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd2d"} 
[2026-08-01 17:26:05] local.INFO: Extracted packet for processing {"connection_id":147364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd2d"} 
[2026-08-01 17:26:05] local.INFO: GPS Element Parsed {"raw_longitude":763003776,"raw_latitude":98213472,"longitude_deg":76.3003776,"latitude_deg":9.8213472,"altitude":23,"angle":76,"satellites":9,"speed":0,"hex_longitude":"2d7a8380","hex_latitude":"05da9e60","is_valid_coordinates":true} 
[2026-08-01 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-08-01 17:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109838848001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113489751973036032,"note":"Value kept but may cause issues"} 
[2026-08-01 17:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8823255382602895360,"note":"Value kept but may cause issues"} 
[2026-08-01 17:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785585328000,"timestamp_ms":1785585328000,"timestamp_seconds":1785585328,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd2ddf80"} 
[2026-08-01 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-08-01 17:26:05] 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-08-01 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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-01 17:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 17:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109838848001,"66":13428,"229":206,"85":15104,"24":0,"16":113489751973036032,"45":8823255382602895360},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-01 17:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109838848001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:26:05] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 17:26:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113489751973036032,"km_value":113489751973036.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8823255382602895360,"description":"Unknown IO ID 45"} 
[2026-08-01 17:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109838848001,"power":13428,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8823255382602895360}} 
[2026-08-01 17:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":147364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578223,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:26:05] local.INFO: GPS data processed {"connection_id":147364,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:26:05] local.INFO: Acknowledgment sent {"connection_id":147364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:26:20] local.INFO: TCP Data received {"connection_id":148671,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd2da4e8012cea4a80071f9880000601632e..."} 
[2026-08-01 17:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd2da4e8012cea4a80071f9880000601632e..."} 
[2026-08-01 17:26:20] local.INFO: Processing buffer {"connection_id":148671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd2da4e8012cea4a80071f9880000601632e..."} 
[2026-08-01 17:26:20] local.INFO: Packet analysis {"connection_id":148671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd2d"} 
[2026-08-01 17:26:20] local.INFO: Extracted packet for processing {"connection_id":148671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd2d"} 
[2026-08-01 17:26:20] local.INFO: GPS Element Parsed {"raw_longitude":753552000,"raw_latitude":119511168,"longitude_deg":75.3552,"latitude_deg":11.9511168,"altitude":6,"angle":355,"satellites":46,"speed":24,"hex_longitude":"2cea4a80","hex_latitude":"071f9880","is_valid_coordinates":true} 
[2026-08-01 17:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109836032001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366651788872384512,"note":"Value kept but may cause issues"} 
[2026-08-01 17:26:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1563171252570114048,"note":"Value kept but may cause issues"} 
[2026-08-01 17:26:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785585313000,"timestamp_ms":1785585313000,"timestamp_seconds":1785585313,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd2da4e8"} 
[2026-08-01 17:26:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:26: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-08-01 17:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 17:26:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:26:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:26:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:26:20] 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-08-01 17:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109836032001,"66":27789,"184":206,"83":43008,"24":24,"16":366651788872384512,"44":-1563171252570114048},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,83,24,16,44]} 
[2026-08-01 17:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109836032001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:26:20] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-08-01 17:26:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-01 17:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366651788872384512,"km_value":366651788872384.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:26:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1563171252570114048,"description":"Unknown IO ID 44"} 
[2026-08-01 17:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109836032001,"power":27789,"unknown_184":206,"unknown_83":43008,"ignition":24,"odometer":null,"unknown_44":-1563171252570114048}} 
[2026-08-01 17:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":148671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:26:20] local.INFO: GPS data processed {"connection_id":148671,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:26:20] local.INFO: Acknowledgment sent {"connection_id":148671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:26:36] local.INFO: TCP Data received {"connection_id":147364,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd2def20012d7a838005da9e68001700280a..."} 
[2026-08-01 17:26:36] local.INFO: TCP Data received {"connection_id":148672,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd2c2618012d1822400721b4d0004e00b726..."} 
[2026-08-01 17:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd2def20012d7a838005da9e68001700280a..."} 
[2026-08-01 17:26:36] local.INFO: Processing buffer {"connection_id":147364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd2def20012d7a838005da9e68001700280a..."} 
[2026-08-01 17:26:36] local.INFO: Packet analysis {"connection_id":147364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd2d"} 
[2026-08-01 17:26:36] local.INFO: Extracted packet for processing {"connection_id":147364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd2d"} 
[2026-08-01 17:26:36] local.INFO: GPS Element Parsed {"raw_longitude":763003776,"raw_latitude":98213480,"longitude_deg":76.3003776,"latitude_deg":9.821348,"altitude":23,"angle":40,"satellites":10,"speed":1,"hex_longitude":"2d7a8380","hex_latitude":"05da9e68","is_valid_coordinates":true} 
[2026-08-01 17:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109843968001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113489751973036032,"note":"Value kept but may cause issues"} 
[2026-08-01 17:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8828040457207308288,"note":"Value kept but may cause issues"} 
[2026-08-01 17:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785585332000,"timestamp_ms":1785585332000,"timestamp_seconds":1785585332,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd2def20"} 
[2026-08-01 17:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8192,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-01 17:26:36] 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-08-01 17:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:26:36] 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-08-01 17:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd2c2618012d1822400721b4d0004e00b726..."} 
[2026-08-01 17:26:36] local.INFO: Processing buffer {"connection_id":148672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd2c2618012d1822400721b4d0004e00b726..."} 
[2026-08-01 17:26:36] local.INFO: Packet analysis {"connection_id":148672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd2c"} 
[2026-08-01 17:26:36] local.INFO: Extracted packet for processing {"connection_id":148672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd2c"} 
[2026-08-01 17:26:36] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649488,"longitude_deg":75.6556352,"latitude_deg":11.9649488,"altitude":78,"angle":183,"satellites":38,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-08-01 17:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109809664001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10290982159384576,"note":"Value kept but may cause issues"} 
[2026-08-01 17:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492879360,"note":"Value kept but may cause issues"} 
[2026-08-01 17:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785585215000,"timestamp_ms":1785585215000,"timestamp_seconds":1785585215,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd2c2618"} 
[2026-08-01 17:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-01 17:26:36] 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-08-01 17:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109843968001,"66":13515,"229":206,"85":15104,"24":1,"16":113489751973036032,"45":8828040457207308288},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-01 17:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:26:36] 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-08-01 17:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109843968001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:26:36] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 17:26:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113489751973036032,"km_value":113489751973036.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8828040457207308288,"description":"Unknown IO ID 45"} 
[2026-08-01 17:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109843968001,"power":13515,"unknown_229":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8828040457207308288}} 
[2026-08-01 17:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109809664001,"66":12939,"105":206,"83":41984,"24":0,"16":10290982159384576,"45":1739022805492879360},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109809664001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:26:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:26:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10290982159384576,"km_value":10290982159384.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492879360,"description":"Unknown IO ID 45"} 
[2026-08-01 17:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109809664001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492879360}} 
[2026-08-01 17:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":147364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578225,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:26:36] local.INFO: GPS data processed {"connection_id":147364,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:26:36] local.INFO: Acknowledgment sent {"connection_id":147364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":148672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:26:36] local.INFO: GPS data processed {"connection_id":148672,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:26:36] local.INFO: Acknowledgment sent {"connection_id":148672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:26:43] local.INFO: TCP Data received {"connection_id":146132,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:26:43] local.INFO: Processing buffer {"connection_id":146132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:26:43] local.INFO: IMEI packet received {"connection_id":146132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 17:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":146132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:26:44] local.INFO: TCP Data received {"connection_id":146132,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:26:44] local.INFO: Processing buffer {"connection_id":146132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:26:44] local.INFO: IMEI packet received {"connection_id":146132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":146132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:26:49] local.INFO: TCP Data received {"connection_id":146132,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:26:49] local.INFO: Processing buffer {"connection_id":146132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:26:49] local.INFO: IMEI packet received {"connection_id":146132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":146132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:26:49] local.INFO: TCP Data received {"connection_id":146132,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd2ddf80012cea4ac0071fbcf0000600012c..."} 
[2026-08-01 17:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd2ddf80012cea4ac0071fbcf0000600012c..."} 
[2026-08-01 17:26:49] local.INFO: Processing buffer {"connection_id":146132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd2ddf80012cea4ac0071fbcf0000600012c..."} 
[2026-08-01 17:26:49] local.INFO: Packet analysis {"connection_id":146132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd2d"} 
[2026-08-01 17:26:49] local.INFO: Extracted packet for processing {"connection_id":146132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd2d"} 
[2026-08-01 17:26:49] local.INFO: GPS Element Parsed {"raw_longitude":753552064,"raw_latitude":119520496,"longitude_deg":75.3552064,"latitude_deg":11.9520496,"altitude":6,"angle":1,"satellites":44,"speed":26,"hex_longitude":"2cea4ac0","hex_latitude":"071fbcf0","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109840128001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366652244138917888,"note":"Value kept but may cause issues"} 
[2026-08-01 17:26:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1564297152474611712,"note":"Value kept but may cause issues"} 
[2026-08-01 17:26:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785585328000,"timestamp_ms":1785585328000,"timestamp_seconds":1785585328,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd2ddf80"} 
[2026-08-01 17:26:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:26: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-08-01 17: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-01 17:26:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17: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-08-01 17:26:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:26:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109840128001,"66":27876,"184":206,"83":43008,"24":26,"16":366652244138917888,"44":-1564297152474611712},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,83,24,16,44]} 
[2026-08-01 17:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109840128001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:26:49] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-08-01 17:26:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-01 17:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366652244138917888,"km_value":366652244138917.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:26:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1564297152474611712,"description":"Unknown IO ID 44"} 
[2026-08-01 17:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109840128001,"power":27876,"unknown_184":206,"unknown_83":43008,"ignition":26,"odometer":null,"unknown_44":-1564297152474611712}} 
[2026-08-01 17:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":146132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:26:49] local.INFO: GPS data processed {"connection_id":146132,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:26:49] local.INFO: Acknowledgment sent {"connection_id":146132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:26:58] local.INFO: TCP Data received {"connection_id":146133,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146133,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:26:58] local.INFO: Processing buffer {"connection_id":146133,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:26:58] local.INFO: IMEI packet received {"connection_id":146133,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 17:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":146133,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:27:01] local.INFO: TCP Data received {"connection_id":147367,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147367,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:27:01] local.INFO: Processing buffer {"connection_id":147367,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:27:01] local.INFO: IMEI packet received {"connection_id":147367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":147367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:27:03] local.INFO: TCP Data received {"connection_id":146133,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146133,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:27:03] local.INFO: Processing buffer {"connection_id":146133,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:27:03] local.INFO: IMEI packet received {"connection_id":146133,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 17:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":146133,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:27:04] local.INFO: TCP Data received {"connection_id":146133,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd2e3d40012d7a840005da9e80001700280b..."} 
[2026-08-01 17:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd2e3d40012d7a840005da9e80001700280b..."} 
[2026-08-01 17:27:04] local.INFO: Processing buffer {"connection_id":146133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd2e3d40012d7a840005da9e80001700280b..."} 
[2026-08-01 17:27:04] local.INFO: Packet analysis {"connection_id":146133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd2e"} 
[2026-08-01 17:27:04] local.INFO: Extracted packet for processing {"connection_id":146133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd2e"} 
[2026-08-01 17:27:04] local.INFO: GPS Element Parsed {"raw_longitude":763003904,"raw_latitude":98213504,"longitude_deg":76.3003904,"latitude_deg":9.8213504,"altitude":23,"angle":40,"satellites":11,"speed":0,"hex_longitude":"2d7a8400","hex_latitude":"05da9e80","is_valid_coordinates":true} 
[2026-08-01 17:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109844992001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113489764857937920,"note":"Value kept but may cause issues"} 
[2026-08-01 17:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8828040457207310336,"note":"Value kept but may cause issues"} 
[2026-08-01 17:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785585352000,"timestamp_ms":1785585352000,"timestamp_seconds":1785585352,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd2e3d40"} 
[2026-08-01 17:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:27:04] 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-08-01 17:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-01 17:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109844992001,"66":13222,"229":206,"85":15104,"24":0,"16":113489764857937920,"45":8828040457207310336},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-01 17:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109844992001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:27:04] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 17:27:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113489764857937920,"km_value":113489764857937.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8828040457207310336,"description":"Unknown IO ID 45"} 
[2026-08-01 17:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109844992001,"power":13222,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8828040457207310336}} 
[2026-08-01 17:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":146133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578228,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:27:04] local.INFO: GPS data processed {"connection_id":146133,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:27:04] local.INFO: Acknowledgment sent {"connection_id":146133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:27:04] local.INFO: TCP Data received {"connection_id":147367,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147367,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:27:04] local.INFO: Processing buffer {"connection_id":147367,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:27:04] local.INFO: IMEI packet received {"connection_id":147367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":147367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:27:10] local.INFO: TCP Data received {"connection_id":147367,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147367,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:27:10] local.INFO: Processing buffer {"connection_id":147367,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:27:10] local.INFO: IMEI packet received {"connection_id":147367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":147367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:27:11] local.INFO: TCP Data received {"connection_id":147367,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd2c7820012d1822400721b4d0004e00b728..."} 
[2026-08-01 17:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd2c7820012d1822400721b4d0004e00b728..."} 
[2026-08-01 17:27:11] local.INFO: Processing buffer {"connection_id":147367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd2c7820012d1822400721b4d0004e00b728..."} 
[2026-08-01 17:27:11] local.INFO: Packet analysis {"connection_id":147367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd2c"} 
[2026-08-01 17:27:11] local.INFO: Extracted packet for processing {"connection_id":147367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd2c"} 
[2026-08-01 17:27:11] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649488,"longitude_deg":75.6556352,"latitude_deg":11.9649488,"altitude":78,"angle":183,"satellites":40,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109815040001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10290982159384576,"note":"Value kept but may cause issues"} 
[2026-08-01 17:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492879360,"note":"Value kept but may cause issues"} 
[2026-08-01 17: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-08-01 17:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785585236000,"timestamp_ms":1785585236000,"timestamp_seconds":1785585236,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd2c7820"} 
[2026-08-01 17:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:27: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-08-01 17: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-01 17:27: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-08-01 17: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-08-01 17:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":147367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":147367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":147367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:27:11] 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-08-01 17:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109815040001,"66":12982,"105":206,"83":41984,"24":0,"16":10290982159384576,"45":1739022805492879360},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109815040001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:27:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:27:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10290982159384576,"km_value":10290982159384.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492879360,"description":"Unknown IO ID 45"} 
[2026-08-01 17:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109815040001,"power":12982,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492879360}} 
[2026-08-01 17:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":147367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:27:11] local.INFO: GPS data processed {"connection_id":147367,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:27:11] local.INFO: Acknowledgment sent {"connection_id":147367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:27:15] local.INFO: TCP Data received {"connection_id":147367,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd2cca28012d1822400721b4d0004e00b722..."} 
[2026-08-01 17:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd2cca28012d1822400721b4d0004e00b722..."} 
[2026-08-01 17:27:15] local.INFO: Processing buffer {"connection_id":147367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd2cca28012d1822400721b4d0004e00b722..."} 
[2026-08-01 17:27:15] local.INFO: Packet analysis {"connection_id":147367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd2c"} 
[2026-08-01 17:27:15] local.INFO: Extracted packet for processing {"connection_id":147367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd2c"} 
[2026-08-01 17:27:15] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649488,"longitude_deg":75.6556352,"latitude_deg":11.9649488,"altitude":78,"angle":183,"satellites":34,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 17:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109820416001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10290982159384576,"note":"Value kept but may cause issues"} 
[2026-08-01 17:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492879360,"note":"Value kept but may cause issues"} 
[2026-08-01 17:27: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-08-01 17:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785585257000,"timestamp_ms":1785585257000,"timestamp_seconds":1785585257,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd2cca28"} 
[2026-08-01 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-08-01 17:27: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-08-01 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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-01 17:27:15] 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-08-01 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-08-01 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-08-01 17:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":147367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":147367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":147367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:27:15] 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-08-01 17:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109820416001,"66":12950,"105":206,"83":41984,"24":0,"16":10290982159384576,"45":1739022805492879360},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109820416001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:27:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:27:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10290982159384576,"km_value":10290982159384.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492879360,"description":"Unknown IO ID 45"} 
[2026-08-01 17:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109820416001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492879360}} 
[2026-08-01 17:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":147367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578230,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:27:15] local.INFO: GPS data processed {"connection_id":147367,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:27:15] local.INFO: Acknowledgment sent {"connection_id":147367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:27:21] local.INFO: TCP Data received {"connection_id":146132,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd2e1248012cea4d00071fe108000400062c..."} 
[2026-08-01 17:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd2e1248012cea4d00071fe108000400062c..."} 
[2026-08-01 17:27:21] local.INFO: Processing buffer {"connection_id":146132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd2e1248012cea4d00071fe108000400062c..."} 
[2026-08-01 17:27:21] local.INFO: Packet analysis {"connection_id":146132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd2e"} 
[2026-08-01 17:27:21] local.INFO: Extracted packet for processing {"connection_id":146132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd2e"} 
[2026-08-01 17:27:21] local.INFO: GPS Element Parsed {"raw_longitude":753552640,"raw_latitude":119529736,"longitude_deg":75.355264,"latitude_deg":11.9529736,"altitude":4,"angle":6,"satellites":44,"speed":26,"hex_longitude":"2cea4d00","hex_latitude":"071fe108","is_valid_coordinates":true} 
[2026-08-01 17:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109843968001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366652690815516672,"note":"Value kept but may cause issues"} 
[2026-08-01 17:27:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1564226783728046080,"note":"Value kept but may cause issues"} 
[2026-08-01 17:27:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785585341000,"timestamp_ms":1785585341000,"timestamp_seconds":1785585341,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd2e1248"} 
[2026-08-01 17:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:27:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 17:27:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:27:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:27:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109843968001,"66":27821,"184":206,"83":43008,"24":26,"16":366652690815516672,"44":-1564226783728046080},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,83,24,16,44]} 
[2026-08-01 17:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109843968001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:27:21] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-08-01 17:27:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-01 17:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366652690815516672,"km_value":366652690815516.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:27:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1564226783728046080,"description":"Unknown IO ID 44"} 
[2026-08-01 17:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109843968001,"power":27821,"unknown_184":206,"unknown_83":43008,"ignition":26,"odometer":null,"unknown_44":-1564226783728046080}} 
[2026-08-01 17:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":146132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:27:21] local.INFO: GPS data processed {"connection_id":146132,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:27:21] local.INFO: Acknowledgment sent {"connection_id":146132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:27:35] local.INFO: TCP Data received {"connection_id":146133,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd2e6c20012d7a850005da9f000017005b0b..."} 
[2026-08-01 17:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd2e6c20012d7a850005da9f000017005b0b..."} 
[2026-08-01 17:27:35] local.INFO: Processing buffer {"connection_id":146133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd2e6c20012d7a850005da9f000017005b0b..."} 
[2026-08-01 17:27:35] local.INFO: Packet analysis {"connection_id":146133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd2e"} 
[2026-08-01 17:27:35] local.INFO: Extracted packet for processing {"connection_id":146133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd2e"} 
[2026-08-01 17:27:35] local.INFO: GPS Element Parsed {"raw_longitude":763004160,"raw_latitude":98213632,"longitude_deg":76.300416,"latitude_deg":9.8213632,"altitude":23,"angle":91,"satellites":11,"speed":1,"hex_longitude":"2d7a8500","hex_latitude":"05da9f00","is_valid_coordinates":true} 
[2026-08-01 17:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109850112001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113489782037807104,"note":"Value kept but may cause issues"} 
[2026-08-01 17:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8828181194695671808,"note":"Value kept but may cause issues"} 
[2026-08-01 17:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785585364000,"timestamp_ms":1785585364000,"timestamp_seconds":1785585364,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd2e6c20"} 
[2026-08-01 17:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:27:35] 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-08-01 17:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-01 17:27: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-08-01 17:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109850112001,"66":13450,"229":206,"85":15104,"24":1,"16":113489782037807104,"45":8828181194695671808},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-01 17:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109850112001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:27:35] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 17:27:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113489782037807104,"km_value":113489782037807.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8828181194695671808,"description":"Unknown IO ID 45"} 
[2026-08-01 17:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109850112001,"power":13450,"unknown_229":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8828181194695671808}} 
[2026-08-01 17:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":146133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578232,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:27:35] local.INFO: GPS data processed {"connection_id":146133,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:27:35] local.INFO: Acknowledgment sent {"connection_id":146133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:27:43] local.INFO: TCP Data received {"connection_id":147368,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:27:43] local.INFO: Processing buffer {"connection_id":147368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:27:43] local.INFO: IMEI packet received {"connection_id":147368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 17:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":147368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:27:49] local.INFO: TCP Data received {"connection_id":147368,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:27:49] local.INFO: Processing buffer {"connection_id":147368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:27:49] local.INFO: IMEI packet received {"connection_id":147368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":147368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:28:00] local.INFO: TCP Data received {"connection_id":146365,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:28:00] local.INFO: Processing buffer {"connection_id":146365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:28:00] local.INFO: IMEI packet received {"connection_id":146365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":146365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:28:02] local.INFO: TCP Data received {"connection_id":147368,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd2e48f8012cea5100072003f0000500062b..."} 
[2026-08-01 17:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd2e48f8012cea5100072003f0000500062b..."} 
[2026-08-01 17:28:02] local.INFO: Processing buffer {"connection_id":147368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd2e48f8012cea5100072003f0000500062b..."} 
[2026-08-01 17:28:02] local.INFO: Packet analysis {"connection_id":147368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd2e"} 
[2026-08-01 17:28:02] local.INFO: Extracted packet for processing {"connection_id":147368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd2e"} 
[2026-08-01 17:28:02] local.INFO: GPS Element Parsed {"raw_longitude":753553664,"raw_latitude":119538672,"longitude_deg":75.3553664,"latitude_deg":11.9538672,"altitude":5,"angle":6,"satellites":43,"speed":27,"hex_longitude":"2cea5100","hex_latitude":"072003f0","is_valid_coordinates":true} 
[2026-08-01 17:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109847296001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366653128902180864,"note":"Value kept but may cause issues"} 
[2026-08-01 17:28:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1563593465028081664,"note":"Value kept but may cause issues"} 
[2026-08-01 17:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785585355000,"timestamp_ms":1785585355000,"timestamp_seconds":1785585355,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd2e48f8"} 
[2026-08-01 17:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:28: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-08-01 17:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 17:28: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-08-01 17:28:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":147368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":147368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":147368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:28: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-08-01 17:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109847296001,"66":27843,"184":206,"83":43008,"24":27,"16":366653128902180864,"44":-1563593465028081664},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,83,24,16,44]} 
[2026-08-01 17:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109847296001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:28:02] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-08-01 17:28:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-01 17:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366653128902180864,"km_value":366653128902180.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:28:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1563593465028081664,"description":"Unknown IO ID 44"} 
[2026-08-01 17:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109847296001,"power":27843,"unknown_184":206,"unknown_83":43008,"ignition":27,"odometer":null,"unknown_44":-1563593465028081664}} 
[2026-08-01 17:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":147368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:28:02] local.INFO: GPS data processed {"connection_id":147368,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:28:02] local.INFO: Acknowledgment sent {"connection_id":147368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:28:04] local.INFO: TCP Data received {"connection_id":146365,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:28:04] local.INFO: Processing buffer {"connection_id":146365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:28:04] local.INFO: IMEI packet received {"connection_id":146365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":146365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:28:05] local.INFO: TCP Data received {"connection_id":146365,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd2d1c30012d1822400721b4d0004e00b726..."} 
[2026-08-01 17:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd2d1c30012d1822400721b4d0004e00b726..."} 
[2026-08-01 17:28:05] local.INFO: Processing buffer {"connection_id":146365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd2d1c30012d1822400721b4d0004e00b726..."} 
[2026-08-01 17:28:05] local.INFO: Packet analysis {"connection_id":146365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd2d"} 
[2026-08-01 17:28:05] local.INFO: Extracted packet for processing {"connection_id":146365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd2d"} 
[2026-08-01 17:28:05] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649488,"longitude_deg":75.6556352,"latitude_deg":11.9649488,"altitude":78,"angle":183,"satellites":38,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109825792001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10290982159384576,"note":"Value kept but may cause issues"} 
[2026-08-01 17:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492879360,"note":"Value kept but may cause issues"} 
[2026-08-01 17:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785585278000,"timestamp_ms":1785585278000,"timestamp_seconds":1785585278,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd2d1c30"} 
[2026-08-01 17:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-01 17:28:05] 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-08-01 17: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-08-01 17:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:28:05] 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-08-01 17:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109825792001,"66":12939,"105":206,"83":41984,"24":0,"16":10290982159384576,"45":1739022805492879360},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109825792001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:28:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:28:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10290982159384576,"km_value":10290982159384.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492879360,"description":"Unknown IO ID 45"} 
[2026-08-01 17:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109825792001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492879360}} 
[2026-08-01 17:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":146365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:28:05] local.INFO: GPS data processed {"connection_id":146365,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:28:05] local.INFO: Acknowledgment sent {"connection_id":146365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:28:06] local.INFO: TCP Data received {"connection_id":146133,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd2e7008012d7a854005da9f280017004b0b..."} 
[2026-08-01 17:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd2e7008012d7a854005da9f280017004b0b..."} 
[2026-08-01 17:28:06] local.INFO: Processing buffer {"connection_id":146133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd2e7008012d7a854005da9f280017004b0b..."} 
[2026-08-01 17:28:06] local.INFO: Packet analysis {"connection_id":146133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd2e"} 
[2026-08-01 17:28:06] local.INFO: Extracted packet for processing {"connection_id":146133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd2e"} 
[2026-08-01 17:28:06] local.INFO: GPS Element Parsed {"raw_longitude":763004224,"raw_latitude":98213672,"longitude_deg":76.3004224,"latitude_deg":9.8213672,"altitude":23,"angle":75,"satellites":11,"speed":2,"hex_longitude":"2d7a8540","hex_latitude":"05da9f28","is_valid_coordinates":true} 
[2026-08-01 17:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109853184001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113489786332774400,"note":"Value kept but may cause issues"} 
[2026-08-01 17:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8828462669672415232,"note":"Value kept but may cause issues"} 
[2026-08-01 17:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785585365000,"timestamp_ms":1785585365000,"timestamp_seconds":1785585365,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd2e7008"} 
[2026-08-01 17:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:28:06] 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-08-01 17:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-01 17:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:28:06] 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-08-01 17:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109853184001,"66":13450,"229":206,"85":15104,"24":2,"16":113489786332774400,"45":8828462669672415232},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-01 17:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109853184001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:28:06] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 17:28:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113489786332774400,"km_value":113489786332774.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8828462669672415232,"description":"Unknown IO ID 45"} 
[2026-08-01 17:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109853184001,"power":13450,"unknown_229":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8828462669672415232}} 
[2026-08-01 17:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":146133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578235,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:28:06] local.INFO: GPS data processed {"connection_id":146133,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:28:06] local.INFO: Acknowledgment sent {"connection_id":146133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:28:37] local.INFO: TCP Data received {"connection_id":146133,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd3040e0012d7b854005dae868001000490b..."} 
[2026-08-01 17:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd3040e0012d7b854005dae868001000490b..."} 
[2026-08-01 17:28:37] local.INFO: Processing buffer {"connection_id":146133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd3040e0012d7b854005dae868001000490b..."} 
[2026-08-01 17:28:37] local.INFO: Packet analysis {"connection_id":146133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd30"} 
[2026-08-01 17:28:37] local.INFO: Extracted packet for processing {"connection_id":146133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd30"} 
[2026-08-01 17:28:37] local.INFO: GPS Element Parsed {"raw_longitude":763069760,"raw_latitude":98232424,"longitude_deg":76.306976,"latitude_deg":9.8232424,"altitude":16,"angle":73,"satellites":11,"speed":32,"hex_longitude":"2d7b8540","hex_latitude":"05dae868","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109881088001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113493054802886656,"note":"Value kept but may cause issues"} 
[2026-08-01 17:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890950114506323968,"note":"Value kept but may cause issues"} 
[2026-08-01 17:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785585484000,"timestamp_ms":1785585484000,"timestamp_seconds":1785585484,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd3040e0"} 
[2026-08-01 17:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:28:37] 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-08-01 17: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-01 17:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17: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-08-01 17:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109881088001,"66":13472,"188":206,"85":15104,"24":32,"16":113493054802886656,"45":8890950114506323968},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-08-01 17:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109881088001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:28:37] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-01 17:28:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113493054802886656,"km_value":113493054802886.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8890950114506323968,"description":"Unknown IO ID 45"} 
[2026-08-01 17:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109881088001,"power":13472,"unknown_188":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8890950114506323968}} 
[2026-08-01 17:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":146133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578236,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:28:37] local.INFO: GPS data processed {"connection_id":146133,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:28:37] local.INFO: Acknowledgment sent {"connection_id":146133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:28:38] local.INFO: TCP Data received {"connection_id":146365,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd2d6e38012d1822400721b4d0004e00b724..."} 
[2026-08-01 17:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd2d6e38012d1822400721b4d0004e00b724..."} 
[2026-08-01 17:28:38] local.INFO: Processing buffer {"connection_id":146365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd2d6e38012d1822400721b4d0004e00b724..."} 
[2026-08-01 17:28:38] local.INFO: Packet analysis {"connection_id":146365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd2d"} 
[2026-08-01 17:28:38] local.INFO: Extracted packet for processing {"connection_id":146365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd2d"} 
[2026-08-01 17:28:38] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649488,"longitude_deg":75.6556352,"latitude_deg":11.9649488,"altitude":78,"angle":183,"satellites":36,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109831168001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10290982159384576,"note":"Value kept but may cause issues"} 
[2026-08-01 17:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492879360,"note":"Value kept but may cause issues"} 
[2026-08-01 17:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785585299000,"timestamp_ms":1785585299000,"timestamp_seconds":1785585299,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd2d6e38"} 
[2026-08-01 17:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-01 17:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17: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-08-01 17:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109831168001,"66":12885,"105":206,"83":41984,"24":0,"16":10290982159384576,"45":1739022805492879360},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109831168001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:28:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:28:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10290982159384576,"km_value":10290982159384.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492879360,"description":"Unknown IO ID 45"} 
[2026-08-01 17:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109831168001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492879360}} 
[2026-08-01 17:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":146365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578237,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:28:39] local.INFO: GPS data processed {"connection_id":146365,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:28:39] local.INFO: Acknowledgment sent {"connection_id":146365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:28:49] local.INFO: TCP Data received {"connection_id":147369,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:28:49] local.INFO: Processing buffer {"connection_id":147369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:28:49] local.INFO: IMEI packet received {"connection_id":147369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 17:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":147369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:28:54] local.INFO: TCP Data received {"connection_id":147369,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:28:54] local.INFO: Processing buffer {"connection_id":147369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:28:54] local.INFO: IMEI packet received {"connection_id":147369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":147369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:28:57] local.INFO: TCP Data received {"connection_id":148673,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148673,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:28:57] local.INFO: Processing buffer {"connection_id":148673,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:28:57] local.INFO: IMEI packet received {"connection_id":148673,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 17:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":148673,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:29:00] local.INFO: TCP Data received {"connection_id":148674,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:29:00] local.INFO: Processing buffer {"connection_id":148674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:29:00] local.INFO: IMEI packet received {"connection_id":148674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":148674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:29:03] local.INFO: TCP Data received {"connection_id":148673,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148673,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:29:03] local.INFO: Processing buffer {"connection_id":148673,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:29:03] local.INFO: IMEI packet received {"connection_id":148673,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 17:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":148673,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:29:04] local.INFO: TCP Data received {"connection_id":148673,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd306408012d7ba14005daed80000e00560b..."} 
[2026-08-01 17:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd306408012d7ba14005daed80000e00560b..."} 
[2026-08-01 17:29:04] local.INFO: Processing buffer {"connection_id":148673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd306408012d7ba14005daed80000e00560b..."} 
[2026-08-01 17:29:04] local.INFO: Packet analysis {"connection_id":148673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd30"} 
[2026-08-01 17:29:04] local.INFO: Extracted packet for processing {"connection_id":148673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd30"} 
[2026-08-01 17:29:04] local.INFO: GPS Element Parsed {"raw_longitude":763076928,"raw_latitude":98233728,"longitude_deg":76.3076928,"latitude_deg":9.8233728,"altitude":14,"angle":86,"satellites":11,"speed":23,"hex_longitude":"2d7ba140","hex_latitude":"05daed80","is_valid_coordinates":true} 
[2026-08-01 17:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109883904001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113493402695237632,"note":"Value kept but may cause issues"} 
[2026-08-01 17:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900590632459331584,"note":"Value kept but may cause issues"} 
[2026-08-01 17:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785585493000,"timestamp_ms":1785585493000,"timestamp_seconds":1785585493,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd306408"} 
[2026-08-01 17:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:29:04] 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-08-01 17:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-01 17:29:04] 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-08-01 17:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":148673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":148673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":148673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109883904001,"66":13646,"188":206,"85":15104,"24":23,"16":113493402695237632,"45":8900590632459331584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-08-01 17:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109883904001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:29:04] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-01 17:29:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113493402695237632,"km_value":113493402695237.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900590632459331584,"description":"Unknown IO ID 45"} 
[2026-08-01 17:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109883904001,"power":13646,"unknown_188":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8900590632459331584}} 
[2026-08-01 17:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":148673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578238,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:29:04] local.INFO: GPS data processed {"connection_id":148673,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:29:04] local.INFO: Acknowledgment sent {"connection_id":148673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:29:05] local.INFO: TCP Data received {"connection_id":148674,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:29:05] local.INFO: Processing buffer {"connection_id":148674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:29:05] local.INFO: IMEI packet received {"connection_id":148674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":148674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:29:05] local.INFO: TCP Data received {"connection_id":148674,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd2dc040012d1822400721b4d0004e00b723..."} 
[2026-08-01 17:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd2dc040012d1822400721b4d0004e00b723..."} 
[2026-08-01 17:29:05] local.INFO: Processing buffer {"connection_id":148674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd2dc040012d1822400721b4d0004e00b723..."} 
[2026-08-01 17:29:05] local.INFO: Packet analysis {"connection_id":148674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd2d"} 
[2026-08-01 17:29:05] local.INFO: Extracted packet for processing {"connection_id":148674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd2d"} 
[2026-08-01 17:29:05] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649488,"longitude_deg":75.6556352,"latitude_deg":11.9649488,"altitude":78,"angle":183,"satellites":35,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 17:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109836544001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10290982159384576,"note":"Value kept but may cause issues"} 
[2026-08-01 17:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492879360,"note":"Value kept but may cause issues"} 
[2026-08-01 17:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785585320000,"timestamp_ms":1785585320000,"timestamp_seconds":1785585320,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd2dc040"} 
[2026-08-01 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-08-01 17:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":85,"data_length":795,"current_offset":136} 
[2026-08-01 17:29: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-08-01 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-08-01 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-08-01 17:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:29:05] 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-08-01 17:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109836544001,"66":12885,"105":206,"83":41984,"24":0,"16":10290982159384576,"45":1739022805492879360},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109836544001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:29:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:29:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10290982159384576,"km_value":10290982159384.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492879360,"description":"Unknown IO ID 45"} 
[2026-08-01 17:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109836544001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492879360}} 
[2026-08-01 17:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":148674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:29:05] local.INFO: GPS data processed {"connection_id":148674,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:29:05] local.INFO: Acknowledgment sent {"connection_id":148674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:29:14] local.INFO: TCP Data received {"connection_id":147369,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd2e77d8012cea554007202740000700062b..."} 
[2026-08-01 17:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd2e77d8012cea554007202740000700062b..."} 
[2026-08-01 17:29:14] local.INFO: Processing buffer {"connection_id":147369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd2e77d8012cea554007202740000700062b..."} 
[2026-08-01 17:29:14] local.INFO: Packet analysis {"connection_id":147369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd2e"} 
[2026-08-01 17:29:14] local.INFO: Extracted packet for processing {"connection_id":147369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd2e"} 
[2026-08-01 17:29:14] local.INFO: GPS Element Parsed {"raw_longitude":753554752,"raw_latitude":119547712,"longitude_deg":75.3554752,"latitude_deg":11.9547712,"altitude":7,"angle":6,"satellites":43,"speed":31,"hex_longitude":"2cea5540","hex_latitude":"07202740","is_valid_coordinates":true} 
[2026-08-01 17:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109850880001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366653571283812352,"note":"Value kept but may cause issues"} 
[2026-08-01 17:29:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1562467565118951424,"note":"Value kept but may cause issues"} 
[2026-08-01 17:29:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785585367000,"timestamp_ms":1785585367000,"timestamp_seconds":1785585367,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd2e77d8"} 
[2026-08-01 17:29:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:29:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 17:29:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:29:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:29:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":147369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":147369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":147369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:29: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-08-01 17:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109850880001,"66":27832,"184":206,"83":43008,"24":31,"16":366653571283812352,"44":-1562467565118951424},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,83,24,16,44]} 
[2026-08-01 17:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109850880001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:29:14] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-08-01 17:29:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-01 17:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366653571283812352,"km_value":366653571283812.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:29:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1562467565118951424,"description":"Unknown IO ID 44"} 
[2026-08-01 17:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109850880001,"power":27832,"unknown_184":206,"unknown_83":43008,"ignition":31,"odometer":null,"unknown_44":-1562467565118951424}} 
[2026-08-01 17:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":147369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:29:14] local.INFO: GPS data processed {"connection_id":147369,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:29:14] local.INFO: Acknowledgment sent {"connection_id":147369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:29:14] local.INFO: TCP Data received {"connection_id":147369,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd2ea2d0012cea594007204a50000800062c..."} 
[2026-08-01 17:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd2ea2d0012cea594007204a50000800062c..."} 
[2026-08-01 17:29:14] local.INFO: Processing buffer {"connection_id":147369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd2ea2d0012cea594007204a50000800062c..."} 
[2026-08-01 17:29:14] local.INFO: Packet analysis {"connection_id":147369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd2e"} 
[2026-08-01 17:29:14] local.INFO: Extracted packet for processing {"connection_id":147369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd2e"} 
[2026-08-01 17:29:14] local.INFO: GPS Element Parsed {"raw_longitude":753555776,"raw_latitude":119556688,"longitude_deg":75.3555776,"latitude_deg":11.9556688,"altitude":8,"angle":6,"satellites":44,"speed":31,"hex_longitude":"2cea5940","hex_latitude":"07204a50","is_valid_coordinates":true} 
[2026-08-01 17:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109853952001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366654009370476544,"note":"Value kept but may cause issues"} 
[2026-08-01 17:29:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1561271296465616896,"note":"Value kept but may cause issues"} 
[2026-08-01 17:29:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785585378000,"timestamp_ms":1785585378000,"timestamp_seconds":1785585378,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd2ea2d0"} 
[2026-08-01 17:29:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:29: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-08-01 17:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-01 17:29:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:29:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:29:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":147369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":147369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":147369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:29: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-08-01 17:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109853952001,"66":27821,"184":206,"83":43008,"24":31,"16":366654009370476544,"44":-1561271296465616896},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,83,24,16,44]} 
[2026-08-01 17:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109853952001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:29:14] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-08-01 17:29:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-01 17:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366654009370476544,"km_value":366654009370476.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:29:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1561271296465616896,"description":"Unknown IO ID 44"} 
[2026-08-01 17:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109853952001,"power":27821,"unknown_184":206,"unknown_83":43008,"ignition":31,"odometer":null,"unknown_44":-1561271296465616896}} 
[2026-08-01 17:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":147369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:29:14] local.INFO: GPS data processed {"connection_id":147369,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:29:14] local.INFO: Acknowledgment sent {"connection_id":147369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:29:35] local.INFO: TCP Data received {"connection_id":148673,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd30a288012d7bc54005daeff0000700560b..."} 
[2026-08-01 17:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd30a288012d7bc54005daeff0000700560b..."} 
[2026-08-01 17:29:35] local.INFO: Processing buffer {"connection_id":148673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd30a288012d7bc54005daeff0000700560b..."} 
[2026-08-01 17:29:35] local.INFO: Packet analysis {"connection_id":148673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd30"} 
[2026-08-01 17:29:35] local.INFO: Extracted packet for processing {"connection_id":148673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd30"} 
[2026-08-01 17:29:35] local.INFO: GPS Element Parsed {"raw_longitude":763086144,"raw_latitude":98234352,"longitude_deg":76.3086144,"latitude_deg":9.8234352,"altitude":7,"angle":86,"satellites":11,"speed":23,"hex_longitude":"2d7bc540","hex_latitude":"05daeff0","is_valid_coordinates":true} 
[2026-08-01 17:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109886208001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113493845076869120,"note":"Value kept but may cause issues"} 
[2026-08-01 17:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8908471931807563776,"note":"Value kept but may cause issues"} 
[2026-08-01 17:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785585509000,"timestamp_ms":1785585509000,"timestamp_seconds":1785585509,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd30a288"} 
[2026-08-01 17:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:29: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-08-01 17:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-01 17:29:35] 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-08-01 17:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109886208001,"66":13722,"188":206,"85":15104,"24":23,"16":113493845076869120,"45":8908471931807563776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-08-01 17:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109886208001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:29:35] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-01 17:29:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113493845076869120,"km_value":113493845076869.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8908471931807563776,"description":"Unknown IO ID 45"} 
[2026-08-01 17:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109886208001,"power":13722,"unknown_188":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8908471931807563776}} 
[2026-08-01 17:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":148673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578242,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:29:35] local.INFO: GPS data processed {"connection_id":148673,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:29:35] local.INFO: Acknowledgment sent {"connection_id":148673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:29:36] local.INFO: TCP Data received {"connection_id":148674,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd2e1248012d1822400721b4d0004e00b727..."} 
[2026-08-01 17:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd2e1248012d1822400721b4d0004e00b727..."} 
[2026-08-01 17:29:36] local.INFO: Processing buffer {"connection_id":148674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd2e1248012d1822400721b4d0004e00b727..."} 
[2026-08-01 17:29:36] local.INFO: Packet analysis {"connection_id":148674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd2e"} 
[2026-08-01 17:29:36] local.INFO: Extracted packet for processing {"connection_id":148674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd2e"} 
[2026-08-01 17:29:36] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649488,"longitude_deg":75.6556352,"latitude_deg":11.9649488,"altitude":78,"angle":183,"satellites":39,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109841920001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10290982159384576,"note":"Value kept but may cause issues"} 
[2026-08-01 17:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492879360,"note":"Value kept but may cause issues"} 
[2026-08-01 17:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785585341000,"timestamp_ms":1785585341000,"timestamp_seconds":1785585341,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd2e1248"} 
[2026-08-01 17:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-01 17:29:36] 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-08-01 17: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-08-01 17:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:29:36] 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-08-01 17:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109841920001,"66":12841,"105":206,"83":41984,"24":0,"16":10290982159384576,"45":1739022805492879360},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109841920001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:29:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:29:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10290982159384576,"km_value":10290982159384.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492879360,"description":"Unknown IO ID 45"} 
[2026-08-01 17:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109841920001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492879360}} 
[2026-08-01 17:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":148674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578243,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:29:36] local.INFO: GPS data processed {"connection_id":148674,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:29:36] local.INFO: Acknowledgment sent {"connection_id":148674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:29:49] local.INFO: TCP Data received {"connection_id":146134,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:29:49] local.INFO: Processing buffer {"connection_id":146134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:29:49] local.INFO: IMEI packet received {"connection_id":146134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 17:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":146134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:29:54] local.INFO: TCP Data received {"connection_id":146134,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:29:54] local.INFO: Processing buffer {"connection_id":146134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:29:54] local.INFO: IMEI packet received {"connection_id":146134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":146134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:29:57] local.INFO: TCP Data received {"connection_id":146366,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146366,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:29:57] local.INFO: Processing buffer {"connection_id":146366,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:29:57] local.INFO: IMEI packet received {"connection_id":146366,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 17:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":146366,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:30:00] local.INFO: TCP Data received {"connection_id":147370,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:30:00] local.INFO: Processing buffer {"connection_id":147370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:30:00] local.INFO: IMEI packet received {"connection_id":147370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":147370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:30:01] local.INFO: TCP Data received {"connection_id":146366,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146366,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:30:01] local.INFO: Processing buffer {"connection_id":146366,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:30:01] local.INFO: IMEI packet received {"connection_id":146366,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 17:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":146366,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:30:03] local.INFO: TCP Data received {"connection_id":146366,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146366,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:30:03] local.INFO: Processing buffer {"connection_id":146366,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:30:03] local.INFO: IMEI packet received {"connection_id":146366,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 17:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":146366,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:30:03] local.INFO: TCP Data received {"connection_id":146366,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd30dd20012d7be8c005daf228000600530b..."} 
[2026-08-01 17:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd30dd20012d7be8c005daf228000600530b..."} 
[2026-08-01 17:30:03] local.INFO: Processing buffer {"connection_id":146366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd30dd20012d7be8c005daf228000600530b..."} 
[2026-08-01 17:30:03] local.INFO: Packet analysis {"connection_id":146366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd30"} 
[2026-08-01 17:30:03] local.INFO: Extracted packet for processing {"connection_id":146366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd30"} 
[2026-08-01 17:30:03] local.INFO: GPS Element Parsed {"raw_longitude":763095232,"raw_latitude":98234920,"longitude_deg":76.3095232,"latitude_deg":9.823492,"altitude":6,"angle":83,"satellites":11,"speed":15,"hex_longitude":"2d7be8c0","hex_latitude":"05daf228","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109890304001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113494278868566016,"note":"Value kept but may cause issues"} 
[2026-08-01 17:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918605030969307136,"note":"Value kept but may cause issues"} 
[2026-08-01 17:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785585524000,"timestamp_ms":1785585524000,"timestamp_seconds":1785585524,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd30dd20"} 
[2026-08-01 17:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:30:03] 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-08-01 17: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-01 17:30:03] 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-08-01 17: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-08-01 17:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109890304001,"66":13472,"188":206,"85":15104,"24":15,"16":113494278868566016,"45":8918605030969307136},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-08-01 17:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109890304001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:30:03] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-01 17:30:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113494278868566016,"km_value":113494278868566.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918605030969307136,"description":"Unknown IO ID 45"} 
[2026-08-01 17:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109890304001,"power":13472,"unknown_188":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8918605030969307136}} 
[2026-08-01 17:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":146366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578244,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:30:04] local.INFO: GPS data processed {"connection_id":146366,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:30:04] local.INFO: Acknowledgment sent {"connection_id":146366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:30:05] local.INFO: TCP Data received {"connection_id":146134,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:30:05] local.INFO: Processing buffer {"connection_id":146134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:30:05] local.INFO: IMEI packet received {"connection_id":146134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":146134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:30:05] local.INFO: TCP Data received {"connection_id":147370,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:30:05] local.INFO: Processing buffer {"connection_id":147370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:30:05] local.INFO: IMEI packet received {"connection_id":147370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":147370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:30:08] local.INFO: TCP Data received {"connection_id":147370,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd2e6450012d1822400721b4d0004e00b728..."} 
[2026-08-01 17:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd2e6450012d1822400721b4d0004e00b728..."} 
[2026-08-01 17:30:08] local.INFO: Processing buffer {"connection_id":147370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd2e6450012d1822400721b4d0004e00b728..."} 
[2026-08-01 17:30:08] local.INFO: Packet analysis {"connection_id":147370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd2e"} 
[2026-08-01 17:30:08] local.INFO: Extracted packet for processing {"connection_id":147370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd2e"} 
[2026-08-01 17:30:08] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649488,"longitude_deg":75.6556352,"latitude_deg":11.9649488,"altitude":78,"angle":183,"satellites":40,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-08-01 17:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109847296001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10290982159384576,"note":"Value kept but may cause issues"} 
[2026-08-01 17:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492879360,"note":"Value kept but may cause issues"} 
[2026-08-01 17:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785585362000,"timestamp_ms":1785585362000,"timestamp_seconds":1785585362,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd2e6450"} 
[2026-08-01 17:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-01 17:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:30:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":147370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":147370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":147370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:30:08] 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-08-01 17:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109847296001,"66":12841,"105":206,"83":41984,"24":0,"16":10290982159384576,"45":1739022805492879360},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109847296001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:30:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:30:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10290982159384576,"km_value":10290982159384.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492879360,"description":"Unknown IO ID 45"} 
[2026-08-01 17:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109847296001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492879360}} 
[2026-08-01 17:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":147370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:30:08] local.INFO: GPS data processed {"connection_id":147370,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:30:08] local.INFO: Acknowledgment sent {"connection_id":147370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:30:13] local.INFO: TCP Data received {"connection_id":146134,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd30c998012ceabe800721cab0000a001f2c..."} 
[2026-08-01 17:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd30c998012ceabe800721cab0000a001f2c..."} 
[2026-08-01 17:30:13] local.INFO: Processing buffer {"connection_id":146134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd30c998012ceabe800721cab0000a001f2c..."} 
[2026-08-01 17:30:13] local.INFO: Packet analysis {"connection_id":146134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd30"} 
[2026-08-01 17:30:13] local.INFO: Extracted packet for processing {"connection_id":146134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd30"} 
[2026-08-01 17:30:13] local.INFO: GPS Element Parsed {"raw_longitude":753581696,"raw_latitude":119655088,"longitude_deg":75.3581696,"latitude_deg":11.9655088,"altitude":10,"angle":31,"satellites":44,"speed":34,"hex_longitude":"2ceabe80","hex_latitude":"0721cab0","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109890048001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366658991532539904,"note":"Value kept but may cause issues"} 
[2026-08-01 17:30:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1537205185931409408,"note":"Value kept but may cause issues"} 
[2026-08-01 17:30:13] 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-08-01 17:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785585519000,"timestamp_ms":1785585519000,"timestamp_seconds":1785585519,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd30c998"} 
[2026-08-01 17:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:30:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 17:30:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17: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-08-01 17:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":146134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":146134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":146134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109890048001,"66":27865,"183":206,"83":43008,"24":34,"16":366658991532539904,"44":-1537205185931409408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,83,24,16,44]} 
[2026-08-01 17:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109890048001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:30:13] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-01 17:30:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-01 17:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366658991532539904,"km_value":366658991532539.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:30:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1537205185931409408,"description":"Unknown IO ID 44"} 
[2026-08-01 17:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109890048001,"power":27865,"unknown_183":206,"unknown_83":43008,"ignition":34,"odometer":null,"unknown_44":-1537205185931409408}} 
[2026-08-01 17:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":146134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:30:13] local.INFO: GPS data processed {"connection_id":146134,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:30:13] local.INFO: Acknowledgment sent {"connection_id":146134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:30:14] local.INFO: TCP Data received {"connection_id":146134,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd30f490012cead2800721e9a0000900202e..."} 
[2026-08-01 17:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd30f490012cead2800721e9a0000900202e..."} 
[2026-08-01 17:30:14] local.INFO: Processing buffer {"connection_id":146134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd30f490012cead2800721e9a0000900202e..."} 
[2026-08-01 17:30:14] local.INFO: Packet analysis {"connection_id":146134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd30"} 
[2026-08-01 17:30:14] local.INFO: Extracted packet for processing {"connection_id":146134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd30"} 
[2026-08-01 17:30:14] local.INFO: GPS Element Parsed {"raw_longitude":753586816,"raw_latitude":119663008,"longitude_deg":75.3586816,"latitude_deg":11.9663008,"altitude":9,"angle":32,"satellites":46,"speed":32,"hex_longitude":"2cead280","hex_latitude":"0721e9a0","is_valid_coordinates":true} 
[2026-08-01 17:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109892864001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366659442504105984,"note":"Value kept but may cause issues"} 
[2026-08-01 17:30:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1531646055139332096,"note":"Value kept but may cause issues"} 
[2026-08-01 17:30:14] 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-08-01 17:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785585530000,"timestamp_ms":1785585530000,"timestamp_seconds":1785585530,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd30f490"} 
[2026-08-01 17:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:30: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-08-01 17:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 17:30: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-08-01 17:30:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":146134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":146134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":146134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:30:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109892864001,"66":27843,"183":206,"83":43008,"24":32,"16":366659442504105984,"44":-1531646055139332096},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,83,24,16,44]} 
[2026-08-01 17:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109892864001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:30:14] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-01 17:30:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-01 17:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366659442504105984,"km_value":366659442504106.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:30:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1531646055139332096,"description":"Unknown IO ID 44"} 
[2026-08-01 17:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109892864001,"power":27843,"unknown_183":206,"unknown_83":43008,"ignition":32,"odometer":null,"unknown_44":-1531646055139332096}} 
[2026-08-01 17:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":146134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:30:14] local.INFO: GPS data processed {"connection_id":146134,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:30:14] local.INFO: Acknowledgment sent {"connection_id":146134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:30:34] local.INFO: TCP Data received {"connection_id":146366,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd312b40012d7bedc005daf2280007005c0c..."} 
[2026-08-01 17:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd312b40012d7bedc005daf2280007005c0c..."} 
[2026-08-01 17:30:34] local.INFO: Processing buffer {"connection_id":146366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd312b40012d7bedc005daf2280007005c0c..."} 
[2026-08-01 17:30:34] local.INFO: Packet analysis {"connection_id":146366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd31"} 
[2026-08-01 17:30:34] local.INFO: Extracted packet for processing {"connection_id":146366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd31"} 
[2026-08-01 17:30:34] local.INFO: GPS Element Parsed {"raw_longitude":763096512,"raw_latitude":98234920,"longitude_deg":76.3096512,"latitude_deg":9.823492,"altitude":7,"angle":92,"satellites":12,"speed":0,"hex_longitude":"2d7bedc0","hex_latitude":"05daf228","is_valid_coordinates":true} 
[2026-08-01 17:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109894144001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113494343293075456,"note":"Value kept but may cause issues"} 
[2026-08-01 17:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928597392642680832,"note":"Value kept but may cause issues"} 
[2026-08-01 17:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785585544000,"timestamp_ms":1785585544000,"timestamp_seconds":1785585544,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd312b40"} 
[2026-08-01 17:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-01 17:30:34] 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-08-01 17:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:30:34] 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-08-01 17:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109894144001,"66":13559,"188":206,"85":15104,"24":0,"16":113494343293075456,"45":8928597392642680832},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-08-01 17:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109894144001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:30:34] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-01 17:30:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113494343293075456,"km_value":113494343293075.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928597392642680832,"description":"Unknown IO ID 45"} 
[2026-08-01 17:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109894144001,"power":13559,"unknown_188":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8928597392642680832}} 
[2026-08-01 17:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":146366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578248,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:30:34] local.INFO: GPS data processed {"connection_id":146366,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:30:34] local.INFO: Acknowledgment sent {"connection_id":146366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:30:42] local.INFO: TCP Data received {"connection_id":147371,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:30:42] local.INFO: Processing buffer {"connection_id":147371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:30:42] local.INFO: IMEI packet received {"connection_id":147371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 17:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":147371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:30:43] local.INFO: TCP Data received {"connection_id":147371,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:30:43] local.INFO: Processing buffer {"connection_id":147371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:30:43] local.INFO: IMEI packet received {"connection_id":147371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":147371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:30:47] local.INFO: TCP Data received {"connection_id":147371,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:30:47] local.INFO: Processing buffer {"connection_id":147371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:30:47] local.INFO: IMEI packet received {"connection_id":147371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":147371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:30:50] local.INFO: TCP Data received {"connection_id":147371,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd311f88012ceae50007220740000a00202c..."} 
[2026-08-01 17:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd311f88012ceae50007220740000a00202c..."} 
[2026-08-01 17:30:50] local.INFO: Processing buffer {"connection_id":147371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd311f88012ceae50007220740000a00202c..."} 
[2026-08-01 17:30:50] local.INFO: Packet analysis {"connection_id":147371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd31"} 
[2026-08-01 17:30:50] local.INFO: Extracted packet for processing {"connection_id":147371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd31"} 
[2026-08-01 17:30:50] local.INFO: GPS Element Parsed {"raw_longitude":753591552,"raw_latitude":119670592,"longitude_deg":75.3591552,"latitude_deg":11.9670592,"altitude":10,"angle":32,"satellites":44,"speed":32,"hex_longitude":"2ceae500","hex_latitude":"07220740","is_valid_coordinates":true} 
[2026-08-01 17:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109895680001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:30:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366659876295802880,"note":"Value kept but may cause issues"} 
[2026-08-01 17:30:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1526016555603091456,"note":"Value kept but may cause issues"} 
[2026-08-01 17:30:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:30:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785585541000,"timestamp_ms":1785585541000,"timestamp_seconds":1785585541,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd311f88"} 
[2026-08-01 17:30:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:30:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 17:30:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:30:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:30:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:30:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:30:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:30:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:30:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:30:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:30:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:30:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:30:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109895680001,"66":27865,"28":206,"83":43008,"24":32,"16":366659876295802880,"44":-1526016555603091456},"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-08-01 17:30:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:30:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:30:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109895680001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:30:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-01 17:30:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-01 17:30:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366659876295802880,"km_value":366659876295802.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:30:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1526016555603091456,"description":"Unknown IO ID 44"} 
[2026-08-01 17:30:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109895680001,"power":27865,"unknown_28":206,"unknown_83":43008,"ignition":32,"odometer":null,"unknown_44":-1526016555603091456}} 
[2026-08-01 17:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":147371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:30:50] local.INFO: GPS data processed {"connection_id":147371,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:30:50] local.INFO: Acknowledgment sent {"connection_id":147371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:30:59] local.INFO: TCP Data received {"connection_id":146367,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146367,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:30:59] local.INFO: Processing buffer {"connection_id":146367,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:30:59] local.INFO: IMEI packet received {"connection_id":146367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":146367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:31:01] local.INFO: TCP Data received {"connection_id":147370,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd2eb658012d1822400721b4d0004e00b727..."} 
[2026-08-01 17:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd2eb658012d1822400721b4d0004e00b727..."} 
[2026-08-01 17:31:01] local.INFO: Processing buffer {"connection_id":147370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd2eb658012d1822400721b4d0004e00b727..."} 
[2026-08-01 17:31:01] local.INFO: Packet analysis {"connection_id":147370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd2e"} 
[2026-08-01 17:31:01] local.INFO: Extracted packet for processing {"connection_id":147370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd2e"} 
[2026-08-01 17:31:01] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649488,"longitude_deg":75.6556352,"latitude_deg":11.9649488,"altitude":78,"angle":183,"satellites":39,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 17:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109852672001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10290982159384576,"note":"Value kept but may cause issues"} 
[2026-08-01 17:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492879360,"note":"Value kept but may cause issues"} 
[2026-08-01 17:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1785585383000,"timestamp_ms":1785585383000,"timestamp_seconds":1785585383,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd2eb658"} 
[2026-08-01 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-08-01 17:31: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-08-01 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":41,"data_length":795,"current_offset":136} 
[2026-08-01 17:31:01] 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-08-01 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-08-01 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-08-01 17:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":147370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":147370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":147370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109852672001,"66":12776,"105":206,"83":41984,"24":0,"16":10290982159384576,"45":1739022805492879360},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109852672001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:31:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:31:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10290982159384576,"km_value":10290982159384.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492879360,"description":"Unknown IO ID 45"} 
[2026-08-01 17:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109852672001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492879360}} 
[2026-08-01 17:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":147370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:31:01] local.INFO: GPS data processed {"connection_id":147370,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:31:01] local.INFO: Acknowledgment sent {"connection_id":147370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:31:03] local.INFO: TCP Data received {"connection_id":146135,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146135,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:31:03] local.INFO: Processing buffer {"connection_id":146135,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:31:03] local.INFO: IMEI packet received {"connection_id":146135,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 17:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":146135,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:31:03] local.INFO: TCP Data received {"connection_id":146135,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146135,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:31:03] local.INFO: Processing buffer {"connection_id":146135,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:31:03] local.INFO: IMEI packet received {"connection_id":146135,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 17:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":146135,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:31:05] local.INFO: TCP Data received {"connection_id":146367,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146367,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:31:05] local.INFO: Processing buffer {"connection_id":146367,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:31:05] local.INFO: IMEI packet received {"connection_id":146367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":146367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:31:06] local.INFO: TCP Data received {"connection_id":146367,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd2f0860012d1822400721b4d0004e00b727..."} 
[2026-08-01 17:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd2f0860012d1822400721b4d0004e00b727..."} 
[2026-08-01 17:31:06] local.INFO: Processing buffer {"connection_id":146367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd2f0860012d1822400721b4d0004e00b727..."} 
[2026-08-01 17:31:06] local.INFO: Packet analysis {"connection_id":146367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd2f"} 
[2026-08-01 17:31:06] local.INFO: Extracted packet for processing {"connection_id":146367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd2f"} 
[2026-08-01 17:31:06] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649488,"longitude_deg":75.6556352,"latitude_deg":11.9649488,"altitude":78,"angle":183,"satellites":39,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-08-01 17:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109858048001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10290982159384576,"note":"Value kept but may cause issues"} 
[2026-08-01 17:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492879360,"note":"Value kept but may cause issues"} 
[2026-08-01 17:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785585404000,"timestamp_ms":1785585404000,"timestamp_seconds":1785585404,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd2f0860"} 
[2026-08-01 17:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:31: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-08-01 17:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-01 17:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:31:06] 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-08-01 17:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109858048001,"66":12841,"105":206,"83":41984,"24":0,"16":10290982159384576,"45":1739022805492879360},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109858048001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:31:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:31:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10290982159384576,"km_value":10290982159384.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492879360,"description":"Unknown IO ID 45"} 
[2026-08-01 17:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109858048001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492879360}} 
[2026-08-01 17:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":146367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:31:06] local.INFO: GPS data processed {"connection_id":146367,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:31:06] local.INFO: Acknowledgment sent {"connection_id":146367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:31:08] local.INFO: TCP Data received {"connection_id":146135,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146135,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:31:08] local.INFO: Processing buffer {"connection_id":146135,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:31:08] local.INFO: IMEI packet received {"connection_id":146135,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 17:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":146135,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:31:09] local.INFO: TCP Data received {"connection_id":146135,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd329688012d7c098005daef980006005c0d..."} 
[2026-08-01 17:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd329688012d7c098005daef980006005c0d..."} 
[2026-08-01 17:31:09] local.INFO: Processing buffer {"connection_id":146135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd329688012d7c098005daef980006005c0d..."} 
[2026-08-01 17:31:09] local.INFO: Packet analysis {"connection_id":146135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd32"} 
[2026-08-01 17:31:09] local.INFO: Extracted packet for processing {"connection_id":146135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd32"} 
[2026-08-01 17:31:09] local.INFO: GPS Element Parsed {"raw_longitude":763103616,"raw_latitude":98234264,"longitude_deg":76.3103616,"latitude_deg":9.8234264,"altitude":6,"angle":92,"satellites":13,"speed":5,"hex_longitude":"2d7c0980","hex_latitude":"05daef98","is_valid_coordinates":true} 
[2026-08-01 17:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109921792001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113494695480393728,"note":"Value kept but may cause issues"} 
[2026-08-01 17:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936760166967099392,"note":"Value kept but may cause issues"} 
[2026-08-01 17:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785585637000,"timestamp_ms":1785585637000,"timestamp_seconds":1785585637,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd329688"} 
[2026-08-01 17:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-01 17:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751616822,"note":"Value kept but may cause issues"} 
[2026-08-01 17:31:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-01 17:31:09] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3170893824,"note":"Value kept but may cause issues"} 
[2026-08-01 17:31:09] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3174164160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:31:09] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7838884587345281024,"note":"Value kept but may cause issues"} 
[2026-08-01 17:31:09] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-01 17:31:09] local.WARNING: Large IO value detected {"io_id":218,"raw_value":4023910406,"note":"Value kept but may cause issues"} 
[2026-08-01 17:31:09] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635583937947324,"note":"Value kept but may cause issues"} 
[2026-08-01 17:31:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797338830,"corrected_to":0} 
[2026-08-01 17:31:09] local.WARNING: Large IO value detected {"io_id":238,"raw_value":2415996283,"note":"Value kept but may cause issues"} 
[2026-08-01 17:31:09] local.WARNING: Large IO value detected {"io_id":52,"raw_value":6773639955567660629,"note":"Value kept but may cause issues"} 
[2026-08-01 17:31:09] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-01 17:31:09] local.WARNING: Large IO value detected {"io_id":123,"raw_value":-576454314392813562,"note":"Value kept but may cause issues"} 
[2026-08-01 17:31:09] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755420916023537,"note":"Value kept but may cause issues"} 
[2026-08-01 17:31:09] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,188,85,24,241,157,16,54,159,111,45,64,239,5,13,10,66,72,128,192,1,240,116,227,189,218,4,113,205,238,255,144,52,2,147,6,123,59],"length":577,"final_offset":707,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2797338830,"validated":0}]} 
[2026-08-01 17:31:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360375986954633216,"timestamp_seconds":360375986954633.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 17:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":146135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":146135,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":146135,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:31:09] 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-08-01 17:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109921792001,"66":13374,"188":206,"85":15104,"24":5,"16":113494695480393728,"45":8936760166967099392},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-08-01 17:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109921792001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:31:09] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-01 17:31:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113494695480393728,"km_value":113494695480393.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936760166967099392,"description":"Unknown IO ID 45"} 
[2026-08-01 17:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109921792001,"power":13374,"unknown_188":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8936760166967099392}} 
[2026-08-01 17:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":146135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578252,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:31:09] local.INFO: GPS data processed {"connection_id":146135,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:31:09] local.INFO: Acknowledgment sent {"connection_id":146135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:31:13] local.INFO: TCP Data received {"connection_id":146135,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd329e58012d7c0a4005daef980006006a0d..."} 
[2026-08-01 17:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd329e58012d7c0a4005daef980006006a0d..."} 
[2026-08-01 17:31:13] local.INFO: Processing buffer {"connection_id":146135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd329e58012d7c0a4005daef980006006a0d..."} 
[2026-08-01 17:31:13] local.INFO: Packet analysis {"connection_id":146135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd32"} 
[2026-08-01 17:31:13] local.INFO: Extracted packet for processing {"connection_id":146135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd32"} 
[2026-08-01 17:31:13] local.INFO: GPS Element Parsed {"raw_longitude":763103808,"raw_latitude":98234264,"longitude_deg":76.3103808,"latitude_deg":9.8234264,"altitude":6,"angle":106,"satellites":13,"speed":0,"hex_longitude":"2d7c0a40","hex_latitude":"05daef98","is_valid_coordinates":true} 
[2026-08-01 17:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109923072001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113494704070328320,"note":"Value kept but may cause issues"} 
[2026-08-01 17:31:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937815698129786880,"note":"Value kept but may cause issues"} 
[2026-08-01 17:31:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785585639000,"timestamp_ms":1785585639000,"timestamp_seconds":1785585639,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd329e58"} 
[2026-08-01 17:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:31:13] 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-08-01 17:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-01 17:31:13] 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-08-01 17:31:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:31:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":146135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":146135,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":146135,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:31:13] 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-08-01 17:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109923072001,"66":13689,"188":206,"85":15104,"24":0,"16":113494704070328320,"45":8937815698129786880},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-08-01 17:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109923072001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:31:13] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-01 17:31:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113494704070328320,"km_value":113494704070328.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:31:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937815698129786880,"description":"Unknown IO ID 45"} 
[2026-08-01 17:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109923072001,"power":13689,"unknown_188":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8937815698129786880}} 
[2026-08-01 17:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":146135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578253,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:31:13] local.INFO: GPS data processed {"connection_id":146135,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:31:13] local.INFO: Acknowledgment sent {"connection_id":146135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:31:22] local.INFO: TCP Data received {"connection_id":147371,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd314a80012ceaf840072225c8000c00202d..."} 
[2026-08-01 17:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd314a80012ceaf840072225c8000c00202d..."} 
[2026-08-01 17:31:22] local.INFO: Processing buffer {"connection_id":147371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd314a80012ceaf840072225c8000c00202d..."} 
[2026-08-01 17:31:22] local.INFO: Packet analysis {"connection_id":147371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd31"} 
[2026-08-01 17:31:22] local.INFO: Extracted packet for processing {"connection_id":147371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd31"} 
[2026-08-01 17:31:22] local.INFO: GPS Element Parsed {"raw_longitude":753596480,"raw_latitude":119678408,"longitude_deg":75.359648,"latitude_deg":11.9678408,"altitude":12,"angle":32,"satellites":45,"speed":33,"hex_longitude":"2ceaf840","hex_latitude":"072225c8","is_valid_coordinates":true} 
[2026-08-01 17:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109898496001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366660322972401664,"note":"Value kept but may cause issues"} 
[2026-08-01 17:31:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1520809268532002816,"note":"Value kept but may cause issues"} 
[2026-08-01 17:31:22] 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-08-01 17:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785585552000,"timestamp_ms":1785585552000,"timestamp_seconds":1785585552,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd314a80"} 
[2026-08-01 17:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:31:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 17:31:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:31:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109898496001,"66":27865,"28":206,"83":43008,"24":33,"16":366660322972401664,"44":-1520809268532002816},"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-08-01 17:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109898496001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:31:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-01 17:31:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-01 17:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366660322972401664,"km_value":366660322972401.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:31:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1520809268532002816,"description":"Unknown IO ID 44"} 
[2026-08-01 17:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109898496001,"power":27865,"unknown_28":206,"unknown_83":43008,"ignition":33,"odometer":null,"unknown_44":-1520809268532002816}} 
[2026-08-01 17:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":147371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:31:22] local.INFO: GPS data processed {"connection_id":147371,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:31:22] local.INFO: Acknowledgment sent {"connection_id":147371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:31:37] local.INFO: TCP Data received {"connection_id":146367,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd2f5a68012d1822400721b4d0004e00b729..."} 
[2026-08-01 17:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd2f5a68012d1822400721b4d0004e00b729..."} 
[2026-08-01 17:31:37] local.INFO: Processing buffer {"connection_id":146367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd2f5a68012d1822400721b4d0004e00b729..."} 
[2026-08-01 17:31:37] local.INFO: Packet analysis {"connection_id":146367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd2f"} 
[2026-08-01 17:31:37] local.INFO: Extracted packet for processing {"connection_id":146367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd2f"} 
[2026-08-01 17:31:37] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649488,"longitude_deg":75.6556352,"latitude_deg":11.9649488,"altitude":78,"angle":183,"satellites":41,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-08-01 17:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109863424001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10290982159384576,"note":"Value kept but may cause issues"} 
[2026-08-01 17:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492879360,"note":"Value kept but may cause issues"} 
[2026-08-01 17:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785585425000,"timestamp_ms":1785585425000,"timestamp_seconds":1785585425,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd2f5a68"} 
[2026-08-01 17:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-01 17:31:37] 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-08-01 17:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:31:37] 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-08-01 17:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109863424001,"66":12809,"105":206,"83":41984,"24":0,"16":10290982159384576,"45":1739022805492879360},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109863424001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:31:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:31:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10290982159384576,"km_value":10290982159384.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492879360,"description":"Unknown IO ID 45"} 
[2026-08-01 17:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109863424001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492879360}} 
[2026-08-01 17:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":146367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:31:37] local.INFO: GPS data processed {"connection_id":146367,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:31:37] local.INFO: Acknowledgment sent {"connection_id":146367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:31:44] local.INFO: TCP Data received {"connection_id":146368,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:31:44] local.INFO: Processing buffer {"connection_id":146368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:31:44] local.INFO: IMEI packet received {"connection_id":146368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 17:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":146368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:31:49] local.INFO: TCP Data received {"connection_id":146368,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:31:49] local.INFO: Processing buffer {"connection_id":146368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:31:49] local.INFO: IMEI packet received {"connection_id":146368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":146368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:31:50] local.INFO: TCP Data received {"connection_id":146368,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd317578012ceb0bc007224620000c001f2c..."} 
[2026-08-01 17:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd317578012ceb0bc007224620000c001f2c..."} 
[2026-08-01 17:31:50] local.INFO: Processing buffer {"connection_id":146368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd317578012ceb0bc007224620000c001f2c..."} 
[2026-08-01 17:31:50] local.INFO: Packet analysis {"connection_id":146368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd31"} 
[2026-08-01 17:31:50] local.INFO: Extracted packet for processing {"connection_id":146368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd31"} 
[2026-08-01 17:31:50] local.INFO: GPS Element Parsed {"raw_longitude":753601472,"raw_latitude":119686688,"longitude_deg":75.3601472,"latitude_deg":11.9686688,"altitude":12,"angle":31,"satellites":44,"speed":37,"hex_longitude":"2ceb0bc0","hex_latitude":"07224620","is_valid_coordinates":true} 
[2026-08-01 17:31:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:31:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109901312001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:31:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366660786828869632,"note":"Value kept but may cause issues"} 
[2026-08-01 17:31:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1515390875228321792,"note":"Value kept but may cause issues"} 
[2026-08-01 17:31:50] 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-08-01 17:31:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785585563000,"timestamp_ms":1785585563000,"timestamp_seconds":1785585563,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd317578"} 
[2026-08-01 17:31:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:31: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-08-01 17:31:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 17:31:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:31:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:31:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:31:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:31:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:31:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:31:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:31:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:31:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:31:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:31:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109901312001,"66":27767,"183":206,"83":43008,"24":37,"16":366660786828869632,"44":-1515390875228321792},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,83,24,16,44]} 
[2026-08-01 17:31:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:31:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:31:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109901312001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:31:50] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-01 17:31:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-01 17:31:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366660786828869632,"km_value":366660786828869.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:31:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1515390875228321792,"description":"Unknown IO ID 44"} 
[2026-08-01 17:31:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109901312001,"power":27767,"unknown_183":206,"unknown_83":43008,"ignition":37,"odometer":null,"unknown_44":-1515390875228321792}} 
[2026-08-01 17:31:50] local.INFO: DEBUG: GPS processor result {"connection_id":146368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:31:50] local.INFO: GPS data processed {"connection_id":146368,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:31:50] local.INFO: Acknowledgment sent {"connection_id":146368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:31:58] local.INFO: TCP Data received {"connection_id":148675,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148675,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:31:58] local.INFO: Processing buffer {"connection_id":148675,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:31:58] local.INFO: IMEI packet received {"connection_id":148675,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 17:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":148675,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:31:59] local.INFO: TCP Data received {"connection_id":146369,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146369,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:31:59] local.INFO: Processing buffer {"connection_id":146369,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:31:59] local.INFO: IMEI packet received {"connection_id":146369,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":146369,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:32:03] local.INFO: TCP Data received {"connection_id":148675,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148675,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:32:03] local.INFO: Processing buffer {"connection_id":148675,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:32:03] local.INFO: IMEI packet received {"connection_id":148675,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 17:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":148675,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:32:04] local.INFO: TCP Data received {"connection_id":148675,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd32a628012d7c0a8005daefa00006005a0d..."} 
[2026-08-01 17:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd32a628012d7c0a8005daefa00006005a0d..."} 
[2026-08-01 17:32:04] local.INFO: Processing buffer {"connection_id":148675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd32a628012d7c0a8005daefa00006005a0d..."} 
[2026-08-01 17:32:04] local.INFO: Packet analysis {"connection_id":148675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd32"} 
[2026-08-01 17:32:04] local.INFO: Extracted packet for processing {"connection_id":148675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd32"} 
[2026-08-01 17:32:04] local.INFO: GPS Element Parsed {"raw_longitude":763103872,"raw_latitude":98234272,"longitude_deg":76.3103872,"latitude_deg":9.8234272,"altitude":6,"angle":90,"satellites":13,"speed":0,"hex_longitude":"2d7c0a80","hex_latitude":"05daefa0","is_valid_coordinates":true} 
[2026-08-01 17:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109923584001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113494708365295616,"note":"Value kept but may cause issues"} 
[2026-08-01 17:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938026804362319872,"note":"Value kept but may cause issues"} 
[2026-08-01 17:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785585641000,"timestamp_ms":1785585641000,"timestamp_seconds":1785585641,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd32a628"} 
[2026-08-01 17:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:32:04] 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-08-01 17:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-08-01 17:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":148675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":148675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":148675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109923584001,"66":13689,"188":206,"85":15104,"24":0,"16":113494708365295616,"45":8938026804362319872},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-08-01 17:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109923584001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:32:04] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-01 17:32:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113494708365295616,"km_value":113494708365295.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938026804362319872,"description":"Unknown IO ID 45"} 
[2026-08-01 17:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109923584001,"power":13689,"unknown_188":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8938026804362319872}} 
[2026-08-01 17:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":148675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578257,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:32:04] local.INFO: GPS data processed {"connection_id":148675,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:32:04] local.INFO: Acknowledgment sent {"connection_id":148675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:32:05] local.INFO: TCP Data received {"connection_id":146369,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146369,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:32:05] local.INFO: Processing buffer {"connection_id":146369,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:32:05] local.INFO: IMEI packet received {"connection_id":146369,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":146369,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:32:06] local.INFO: TCP Data received {"connection_id":146369,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd2fac70012d1822400721b4d0004e00b728..."} 
[2026-08-01 17:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd2fac70012d1822400721b4d0004e00b728..."} 
[2026-08-01 17:32:06] local.INFO: Processing buffer {"connection_id":146369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd2fac70012d1822400721b4d0004e00b728..."} 
[2026-08-01 17:32:06] local.INFO: Packet analysis {"connection_id":146369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd2f"} 
[2026-08-01 17:32:06] local.INFO: Extracted packet for processing {"connection_id":146369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd2f"} 
[2026-08-01 17:32:06] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649488,"longitude_deg":75.6556352,"latitude_deg":11.9649488,"altitude":78,"angle":183,"satellites":40,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109868800001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10290982159384576,"note":"Value kept but may cause issues"} 
[2026-08-01 17:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492879360,"note":"Value kept but may cause issues"} 
[2026-08-01 17:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785585446000,"timestamp_ms":1785585446000,"timestamp_seconds":1785585446,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd2fac70"} 
[2026-08-01 17:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:32: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-08-01 17: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-01 17:32:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-01 17:32:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 17:32:06] local.WARNING: Large IO value detected {"io_id":143,"raw_value":2550136832,"note":"Value kept but may cause issues"} 
[2026-08-01 17:32:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3173871160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:32:06] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-01 17:32:06] local.WARNING: Large IO value detected {"io_id":189,"raw_value":3250525812664312384,"note":"Value kept but may cause issues"} 
[2026-08-01 17:32:06] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3033530446,"note":"Value kept but may cause issues"} 
[2026-08-01 17:32:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-01 17:32:06] local.WARNING: Large IO value detected {"io_id":50,"raw_value":6125121350135762515,"note":"Value kept but may cause issues"} 
[2026-08-01 17:32:06] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2409103360,"note":"Value kept but may cause issues"} 
[2026-08-01 17:32:06] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2428794798786787110,"note":"Value kept but may cause issues"} 
[2026-08-01 17:32:06] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-01 17:32:06] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,143,159,8,45,64,180,78,39,10,66,182,100,1,240,41,227,189,33,4,113,205,192,34,208,35,239,50,2,36,7,164,152],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-01 17:32:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620693721679921152,"timestamp_seconds":5620693721679921.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 17:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:32:06] 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-08-01 17:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109868800001,"66":12798,"105":206,"83":41984,"24":0,"16":10290982159384576,"45":1739022805492879360},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109868800001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:32:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:32:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10290982159384576,"km_value":10290982159384.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492879360,"description":"Unknown IO ID 45"} 
[2026-08-01 17:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109868800001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492879360}} 
[2026-08-01 17:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":146369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:32:06] local.INFO: GPS data processed {"connection_id":146369,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:32:06] local.INFO: Acknowledgment sent {"connection_id":146369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:32:26] local.INFO: TCP Data received {"connection_id":146368,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd334650012cec2bc0072331300019003a2b..."} 
[2026-08-01 17:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd334650012cec2bc0072331300019003a2b..."} 
[2026-08-01 17:32:26] local.INFO: Processing buffer {"connection_id":146368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd334650012cec2bc0072331300019003a2b..."} 
[2026-08-01 17:32:26] local.INFO: Packet analysis {"connection_id":146368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd33"} 
[2026-08-01 17:32:26] local.INFO: Extracted packet for processing {"connection_id":146368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd33"} 
[2026-08-01 17:32:26] local.INFO: GPS Element Parsed {"raw_longitude":753675200,"raw_latitude":119746864,"longitude_deg":75.36752,"latitude_deg":11.9746864,"altitude":25,"angle":58,"satellites":43,"speed":32,"hex_longitude":"2cec2bc0","hex_latitude":"07233130","is_valid_coordinates":true} 
[2026-08-01 17:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109931776001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366665421098582016,"note":"Value kept but may cause issues"} 
[2026-08-01 17:32:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1437140831686486016,"note":"Value kept but may cause issues"} 
[2026-08-01 17:32:26] 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-08-01 17:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785585682000,"timestamp_ms":1785585682000,"timestamp_seconds":1785585682,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd334650"} 
[2026-08-01 17:32:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:32: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-08-01 17:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 17:32:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:32:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:32:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":146368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":146368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":146368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:32: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-08-01 17:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109931776001,"66":27865,"27":206,"83":43008,"24":32,"16":366665421098582016,"44":-1437140831686486016},"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-08-01 17:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109931776001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:32:26] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-01 17:32:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-01 17:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366665421098582016,"km_value":366665421098582.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:32:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1437140831686486016,"description":"Unknown IO ID 44"} 
[2026-08-01 17:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109931776001,"power":27865,"unknown_27":206,"unknown_83":43008,"ignition":32,"odometer":null,"unknown_44":-1437140831686486016}} 
[2026-08-01 17:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":146368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:32:26] local.INFO: GPS data processed {"connection_id":146368,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:32:26] local.INFO: Acknowledgment sent {"connection_id":146368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:32:35] local.INFO: TCP Data received {"connection_id":148675,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd32f448012d7c0c0005daf0080006005f0d..."} 
[2026-08-01 17:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd32f448012d7c0c0005daf0080006005f0d..."} 
[2026-08-01 17:32:35] local.INFO: Processing buffer {"connection_id":148675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd32f448012d7c0c0005daf0080006005f0d..."} 
[2026-08-01 17:32:35] local.INFO: Packet analysis {"connection_id":148675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd32"} 
[2026-08-01 17:32:35] local.INFO: Extracted packet for processing {"connection_id":148675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd32"} 
[2026-08-01 17:32:35] local.INFO: GPS Element Parsed {"raw_longitude":763104256,"raw_latitude":98234376,"longitude_deg":76.3104256,"latitude_deg":9.8234376,"altitude":6,"angle":95,"satellites":13,"speed":0,"hex_longitude":"2d7c0c00","hex_latitude":"05daf008","is_valid_coordinates":true} 
[2026-08-01 17:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109924096001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113494729840132096,"note":"Value kept but may cause issues"} 
[2026-08-01 17:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938097173106499584,"note":"Value kept but may cause issues"} 
[2026-08-01 17:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785585661000,"timestamp_ms":1785585661000,"timestamp_seconds":1785585661,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd32f448"} 
[2026-08-01 17:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:32:35] 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-08-01 17:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-08-01 17:32:35] 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-08-01 17:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109924096001,"66":13330,"188":206,"85":15104,"24":0,"16":113494729840132096,"45":8938097173106499584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-08-01 17:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109924096001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:32:35] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-01 17:32:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113494729840132096,"km_value":113494729840132.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938097173106499584,"description":"Unknown IO ID 45"} 
[2026-08-01 17:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109924096001,"power":13330,"unknown_188":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8938097173106499584}} 
[2026-08-01 17:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":148675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578260,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:32:35] local.INFO: GPS data processed {"connection_id":148675,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:32:35] local.INFO: Acknowledgment sent {"connection_id":148675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:32:37] local.INFO: TCP Data received {"connection_id":146369,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd332328012d1820c00721b3e8004d00d127..."} 
[2026-08-01 17:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd332328012d1820c00721b3e8004d00d127..."} 
[2026-08-01 17:32:37] local.INFO: Processing buffer {"connection_id":146369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd332328012d1820c00721b3e8004d00d127..."} 
[2026-08-01 17:32:37] local.INFO: Packet analysis {"connection_id":146369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd33"} 
[2026-08-01 17:32:37] local.INFO: Extracted packet for processing {"connection_id":146369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd33"} 
[2026-08-01 17:32:37] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649256,"longitude_deg":75.6555968,"latitude_deg":11.9649256,"altitude":77,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b3e8","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109926912001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291003634221056,"note":"Value kept but may cause issues"} 
[2026-08-01 17:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027753984,"note":"Value kept but may cause issues"} 
[2026-08-01 17:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785585673000,"timestamp_ms":1785585673000,"timestamp_seconds":1785585673,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd332328"} 
[2026-08-01 17:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:32: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-08-01 17: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-01 17:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-01 17:32:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-01 17:32:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 17:32:37] local.WARNING: Large IO value detected {"io_id":143,"raw_value":2634022912,"note":"Value kept but may cause issues"} 
[2026-08-01 17:32:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3174102160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:32:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249384789540713680,"note":"Value kept but may cause issues"} 
[2026-08-01 17:32:37] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3018326093,"note":"Value kept but may cause issues"} 
[2026-08-01 17:32:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-01 17:32:37] local.WARNING: Large IO value detected {"io_id":54,"raw_value":4160826648,"note":"Value kept but may cause issues"} 
[2026-08-01 17:32:37] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2409431040,"note":"Value kept but may cause issues"} 
[2026-08-01 17:32:37] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-01 17:32:37] local.WARNING: Large IO value detected {"io_id":87,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-01 17:32:37] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-01 17:32:37] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,143,159,127,45,192,179,77,41,10,66,219,1,240,14,227,189,33,4,113,205,54,32,40,239,49,2,36,7,78,106,87,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-01 17:32:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548664714944315392,"timestamp_seconds":5548664714944315.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 17:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:32:37] 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-08-01 17:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109926912001,"66":12558,"105":206,"83":41984,"24":0,"16":10291003634221056,"45":1738600593027753984},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109926912001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:32:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:32:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291003634221056,"km_value":10291003634221.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027753984,"description":"Unknown IO ID 45"} 
[2026-08-01 17:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109926912001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027753984}} 
[2026-08-01 17:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":146369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:32:37] local.INFO: GPS data processed {"connection_id":146369,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:32:37] local.INFO: Acknowledgment sent {"connection_id":146369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:32:43] local.INFO: TCP Data received {"connection_id":146136,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:32:43] local.INFO: Processing buffer {"connection_id":146136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:32:43] local.INFO: IMEI packet received {"connection_id":146136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 17:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":146136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:32:48] local.INFO: TCP Data received {"connection_id":146136,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:32:48] local.INFO: Processing buffer {"connection_id":146136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:32:48] local.INFO: IMEI packet received {"connection_id":146136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":146136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:32:49] local.INFO: TCP Data received {"connection_id":146136,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd336d60012cec4a8007234000001b00452e..."} 
[2026-08-01 17:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd336d60012cec4a8007234000001b00452e..."} 
[2026-08-01 17:32:49] local.INFO: Processing buffer {"connection_id":146136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd336d60012cec4a8007234000001b00452e..."} 
[2026-08-01 17:32:49] local.INFO: Packet analysis {"connection_id":146136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd33"} 
[2026-08-01 17:32:49] local.INFO: Extracted packet for processing {"connection_id":146136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd33"} 
[2026-08-01 17:32:49] local.INFO: GPS Element Parsed {"raw_longitude":753683072,"raw_latitude":119750656,"longitude_deg":75.3683072,"latitude_deg":11.9750656,"altitude":27,"angle":69,"satellites":46,"speed":36,"hex_longitude":"2cec4a80","hex_latitude":"07234000","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109934592001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366665833415442432,"note":"Value kept but may cause issues"} 
[2026-08-01 17:32:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1428837319872270336,"note":"Value kept but may cause issues"} 
[2026-08-01 17:32:49] 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-08-01 17:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785585692000,"timestamp_ms":1785585692000,"timestamp_seconds":1785585692,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd336d60"} 
[2026-08-01 17:32:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:32:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 17:32:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17: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-08-01 17:32:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:32:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109934592001,"66":27821,"27":206,"83":43008,"24":36,"16":366665833415442432,"44":-1428837319872270336},"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-08-01 17:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109934592001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:32:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-01 17:32:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-01 17:32:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366665833415442432,"km_value":366665833415442.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:32:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1428837319872270336,"description":"Unknown IO ID 44"} 
[2026-08-01 17:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109934592001,"power":27821,"unknown_27":206,"unknown_83":43008,"ignition":36,"odometer":null,"unknown_44":-1428837319872270336}} 
[2026-08-01 17:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":146136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:32:49] local.INFO: GPS data processed {"connection_id":146136,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:32:49] local.INFO: Acknowledgment sent {"connection_id":146136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:32:57] local.INFO: TCP Data received {"connection_id":146137,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146137,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:32:57] local.INFO: Processing buffer {"connection_id":146137,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:32:57] local.INFO: IMEI packet received {"connection_id":146137,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 17:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":146137,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:32:58] local.INFO: TCP Data received {"connection_id":146137,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146137,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:32:58] local.INFO: Processing buffer {"connection_id":146137,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:32:58] local.INFO: IMEI packet received {"connection_id":146137,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 17:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":146137,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:33:01] local.INFO: TCP Data received {"connection_id":146137,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146137,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:33:01] local.INFO: Processing buffer {"connection_id":146137,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:33:01] local.INFO: IMEI packet received {"connection_id":146137,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 17:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":146137,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:33:02] local.INFO: TCP Data received {"connection_id":146137,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd334650012d7c0c0005daf0080006005f0d..."} 
[2026-08-01 17:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd334650012d7c0c0005daf0080006005f0d..."} 
[2026-08-01 17:33:02] local.INFO: Processing buffer {"connection_id":146137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd334650012d7c0c0005daf0080006005f0d..."} 
[2026-08-01 17:33:02] local.INFO: Packet analysis {"connection_id":146137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd33"} 
[2026-08-01 17:33:02] local.INFO: Extracted packet for processing {"connection_id":146137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd33"} 
[2026-08-01 17:33:02] local.INFO: GPS Element Parsed {"raw_longitude":763104256,"raw_latitude":98234376,"longitude_deg":76.3104256,"latitude_deg":9.8234376,"altitude":6,"angle":95,"satellites":13,"speed":0,"hex_longitude":"2d7c0c00","hex_latitude":"05daf008","is_valid_coordinates":true} 
[2026-08-01 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-08-01 17:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109929216001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113494729840132096,"note":"Value kept but may cause issues"} 
[2026-08-01 17:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938519385571592192,"note":"Value kept but may cause issues"} 
[2026-08-01 17:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785585682000,"timestamp_ms":1785585682000,"timestamp_seconds":1785585682,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd334650"} 
[2026-08-01 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-08-01 17:33:02] 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-08-01 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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-08-01 17:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-08-01 17:33:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-01 17:33:02] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3539992576,"note":"Value kept but may cause issues"} 
[2026-08-01 17:33:02] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3174189160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:33:02] local.WARNING: Large IO value detected {"io_id":166,"raw_value":-4899689529121695744,"note":"Value kept but may cause issues"} 
[2026-08-01 17:33:02] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3277496003306647512,"note":"Value kept but may cause issues"} 
[2026-08-01 17:33:02] local.WARNING: Large IO value detected {"io_id":218,"raw_value":-1202461079026266880,"note":"Value kept but may cause issues"} 
[2026-08-01 17:33:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797338830,"corrected_to":0} 
[2026-08-01 17:33:02] local.WARNING: Large IO value detected {"io_id":3,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-01 17:33:02] local.WARNING: Large IO value detected {"io_id":34,"raw_value":57885696623269179,"note":"Value kept but may cause issues"} 
[2026-08-01 17:33:02] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3247096626199773189,"note":"Value kept but may cause issues"} 
[2026-08-01 17:33:02] local.WARNING: Large IO value detected {"io_id":55,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-01 17:33:02] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,188,85,24,241,157,16,54,159,166,45,128,239,6,13,10,66,158,64,150,1,240,62,227,189,218,4,113,205,3,111,52,2,147,5,34,50,55],"length":626,"final_offset":756,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2797338830,"validated":0}]} 
[2026-08-01 17:33:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432450073666781184,"timestamp_seconds":432450073666781.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 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-08-01 17:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146137,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146137,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109929216001,"66":13526,"188":206,"85":15104,"24":0,"16":113494729840132096,"45":8938519385571592192},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-08-01 17:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109929216001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:33:02] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-01 17:33:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113494729840132096,"km_value":113494729840132.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938519385571592192,"description":"Unknown IO ID 45"} 
[2026-08-01 17:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109929216001,"power":13526,"unknown_188":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8938519385571592192}} 
[2026-08-01 17:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":146137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578263,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:33:02] local.INFO: GPS data processed {"connection_id":146137,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:33:02] local.INFO: Acknowledgment sent {"connection_id":146137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:33:05] local.INFO: TCP Data received {"connection_id":146138,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:33:05] local.INFO: Processing buffer {"connection_id":146138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:33:05] local.INFO: IMEI packet received {"connection_id":146138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":146138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:33:10] local.INFO: TCP Data received {"connection_id":146138,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:33:10] local.INFO: Processing buffer {"connection_id":146138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:33:10] local.INFO: IMEI packet received {"connection_id":146138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":146138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:33:11] local.INFO: TCP Data received {"connection_id":146138,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd337530012d1820c00721b3e8004d00d129..."} 
[2026-08-01 17:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd337530012d1820c00721b3e8004d00d129..."} 
[2026-08-01 17:33:11] local.INFO: Processing buffer {"connection_id":146138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd337530012d1820c00721b3e8004d00d129..."} 
[2026-08-01 17:33:11] local.INFO: Packet analysis {"connection_id":146138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd33"} 
[2026-08-01 17:33:11] local.INFO: Extracted packet for processing {"connection_id":146138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd33"} 
[2026-08-01 17:33:11] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649256,"longitude_deg":75.6555968,"latitude_deg":11.9649256,"altitude":77,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b3e8","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109932288001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291003634221056,"note":"Value kept but may cause issues"} 
[2026-08-01 17:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027753984,"note":"Value kept but may cause issues"} 
[2026-08-01 17:33: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-08-01 17:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785585694000,"timestamp_ms":1785585694000,"timestamp_seconds":1785585694,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd337530"} 
[2026-08-01 17:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:33: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-08-01 17: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-01 17:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-01 17:33:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-01 17:33:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 17:33:11] local.WARNING: Large IO value detected {"io_id":143,"raw_value":2634022912,"note":"Value kept but may cause issues"} 
[2026-08-01 17:33:11] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3174119160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:33:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249384789540713680,"note":"Value kept but may cause issues"} 
[2026-08-01 17:33:11] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3018326093,"note":"Value kept but may cause issues"} 
[2026-08-01 17:33:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-01 17:33:11] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3221692851,"note":"Value kept but may cause issues"} 
[2026-08-01 17:33:11] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2409431040,"note":"Value kept but may cause issues"} 
[2026-08-01 17:33:11] local.WARNING: Large IO value detected {"io_id":3,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-01 17:33:11] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-01 17:33:11] local.WARNING: Large IO value detected {"io_id":88,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-01 17:33:11] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-01 17:33:11] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,143,159,209,45,192,179,77,41,10,66,127,1,240,4,227,189,33,113,205,137,32,232,40,239,49,2,36,7,3,106,88,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-01 17:33:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548664706354380800,"timestamp_seconds":5548664706354381.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 17:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:33:11] 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-08-01 17:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109932288001,"66":12548,"105":206,"83":41984,"24":0,"16":10291003634221056,"45":1738600593027753984},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109932288001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:33:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:33:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291003634221056,"km_value":10291003634221.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027753984,"description":"Unknown IO ID 45"} 
[2026-08-01 17:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109932288001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027753984}} 
[2026-08-01 17:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":146138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578264,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:33:11] local.INFO: GPS data processed {"connection_id":146138,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:33:11] local.INFO: Acknowledgment sent {"connection_id":146138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:33:15] local.INFO: TCP Data received {"connection_id":146138,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd33c738012d1820c00721b3e8004d00d127..."} 
[2026-08-01 17:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd33c738012d1820c00721b3e8004d00d127..."} 
[2026-08-01 17:33:15] local.INFO: Processing buffer {"connection_id":146138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd33c738012d1820c00721b3e8004d00d127..."} 
[2026-08-01 17:33:15] local.INFO: Packet analysis {"connection_id":146138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd33"} 
[2026-08-01 17:33:15] local.INFO: Extracted packet for processing {"connection_id":146138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd33"} 
[2026-08-01 17:33:15] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649256,"longitude_deg":75.6555968,"latitude_deg":11.9649256,"altitude":77,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b3e8","is_valid_coordinates":true} 
[2026-08-01 17:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109937664001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291003634221056,"note":"Value kept but may cause issues"} 
[2026-08-01 17:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027753984,"note":"Value kept but may cause issues"} 
[2026-08-01 17: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-08-01 17:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785585715000,"timestamp_ms":1785585715000,"timestamp_seconds":1785585715,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd33c738"} 
[2026-08-01 17:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:33: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-08-01 17:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 17:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-01 17:33:15] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-01 17:33:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 17:33:15] local.WARNING: Large IO value detected {"io_id":143,"raw_value":2634022912,"note":"Value kept but may cause issues"} 
[2026-08-01 17:33:15] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3174140160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:33:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184200569037,"note":"Value kept but may cause issues"} 
[2026-08-01 17:33:15] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3018326093,"note":"Value kept but may cause issues"} 
[2026-08-01 17:33:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-01 17:33:15] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3221692851,"note":"Value kept but may cause issues"} 
[2026-08-01 17:33:15] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2409431040,"note":"Value kept but may cause issues"} 
[2026-08-01 17:33:15] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-01 17:33:15] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,143,159,35,45,192,179,77,39,10,66,209,41,127,1,240,14,227,189,33,4,113,205,219,32,232,239,49,2,36,7,106],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-01 17:33:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548664714944315392,"timestamp_seconds":5548664714944315.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 17:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":146138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":146138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":146138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:33:15] 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-08-01 17:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109937664001,"66":12580,"105":206,"83":41984,"24":0,"16":10291003634221056,"45":1738600593027753984},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109937664001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:33:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:33:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291003634221056,"km_value":10291003634221.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027753984,"description":"Unknown IO ID 45"} 
[2026-08-01 17:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109937664001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027753984}} 
[2026-08-01 17:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":146138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:33:15] local.INFO: GPS data processed {"connection_id":146138,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:33:15] local.INFO: Acknowledgment sent {"connection_id":146138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:33:20] local.INFO: TCP Data received {"connection_id":146136,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd3384d0012cec600007234540001d00512c..."} 
[2026-08-01 17:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd3384d0012cec600007234540001d00512c..."} 
[2026-08-01 17:33:20] local.INFO: Processing buffer {"connection_id":146136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd3384d0012cec600007234540001d00512c..."} 
[2026-08-01 17:33:20] local.INFO: Packet analysis {"connection_id":146136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd33"} 
[2026-08-01 17:33:20] local.INFO: Extracted packet for processing {"connection_id":146136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd33"} 
[2026-08-01 17:33:20] local.INFO: GPS Element Parsed {"raw_longitude":753688576,"raw_latitude":119752000,"longitude_deg":75.3688576,"latitude_deg":11.9752,"altitude":29,"angle":81,"satellites":44,"speed":38,"hex_longitude":"2cec6000","hex_latitude":"07234540","is_valid_coordinates":true} 
[2026-08-01 17:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109937152001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366666103998382080,"note":"Value kept but may cause issues"} 
[2026-08-01 17:33:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1420181964337446912,"note":"Value kept but may cause issues"} 
[2026-08-01 17:33:20] 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-08-01 17:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785585698000,"timestamp_ms":1785585698000,"timestamp_seconds":1785585698,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd3384d0"} 
[2026-08-01 17:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:33:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 17:33:20] 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-08-01 17: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-08-01 17:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:33:20] 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-08-01 17:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109937152001,"66":27832,"89":206,"83":43008,"24":38,"16":366666103998382080,"44":-1420181964337446912},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-01 17:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109937152001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:33:20] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 17:33:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-01 17:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366666103998382080,"km_value":366666103998382.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:33:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1420181964337446912,"description":"Unknown IO ID 44"} 
[2026-08-01 17:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109937152001,"power":27832,"unknown_89":206,"unknown_83":43008,"ignition":38,"odometer":null,"unknown_44":-1420181964337446912}} 
[2026-08-01 17:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":146136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:33:20] local.INFO: GPS data processed {"connection_id":146136,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:33:20] local.INFO: Acknowledgment sent {"connection_id":146136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:33:33] local.INFO: TCP Data received {"connection_id":146137,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd34fbd0012d7c240005daf250000800a50e..."} 
[2026-08-01 17:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd34fbd0012d7c240005daf250000800a50e..."} 
[2026-08-01 17:33:33] local.INFO: Processing buffer {"connection_id":146137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd34fbd0012d7c240005daf250000800a50e..."} 
[2026-08-01 17:33:33] local.INFO: Packet analysis {"connection_id":146137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd34"} 
[2026-08-01 17:33:33] local.INFO: Extracted packet for processing {"connection_id":146137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd34"} 
[2026-08-01 17:33:33] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98234960,"longitude_deg":76.31104,"latitude_deg":9.823496,"altitude":8,"angle":165,"satellites":14,"speed":3,"hex_longitude":"2d7c2400","hex_latitude":"05daf250","is_valid_coordinates":true} 
[2026-08-01 17:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109962752001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113495060552613888,"note":"Value kept but may cause issues"} 
[2026-08-01 17:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945204416268625920,"note":"Value kept but may cause issues"} 
[2026-08-01 17:33:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785585794000,"timestamp_ms":1785585794000,"timestamp_seconds":1785585794,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd34fbd0"} 
[2026-08-01 17:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:33:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-01 17:33:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:33:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146137,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146137,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109962752001,"66":13678,"187":206,"85":15104,"24":3,"16":113495060552613888,"45":8945204416268625920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-01 17:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109962752001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:33:33] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-01 17:33:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113495060552613888,"km_value":113495060552613.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945204416268625920,"description":"Unknown IO ID 45"} 
[2026-08-01 17:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109962752001,"power":13678,"unknown_187":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8945204416268625920}} 
[2026-08-01 17:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":146137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578267,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:33:33] local.INFO: GPS data processed {"connection_id":146137,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:33:33] local.INFO: Acknowledgment sent {"connection_id":146137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:33:44] local.INFO: TCP Data received {"connection_id":146139,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:33:44] local.INFO: Processing buffer {"connection_id":146139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:33:44] local.INFO: IMEI packet received {"connection_id":146139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 17:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":146139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:33:49] local.INFO: TCP Data received {"connection_id":146139,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:33:49] local.INFO: Processing buffer {"connection_id":146139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:33:49] local.INFO: IMEI packet received {"connection_id":146139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":146139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:33:57] local.INFO: TCP Data received {"connection_id":147372,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:33:57] local.INFO: Processing buffer {"connection_id":147372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:33:57] local.INFO: IMEI packet received {"connection_id":147372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":147372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:33:58] local.INFO: TCP Data received {"connection_id":146140,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146140,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:33:58] local.INFO: Processing buffer {"connection_id":146140,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:33:58] local.INFO: IMEI packet received {"connection_id":146140,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 17:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":146140,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:34:00] local.INFO: TCP Data received {"connection_id":147372,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:34:00] local.INFO: Processing buffer {"connection_id":147372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:34:00] local.INFO: IMEI packet received {"connection_id":147372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":147372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:34:00] local.INFO: TCP Data received {"connection_id":146140,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146140,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:34:00] local.INFO: Processing buffer {"connection_id":146140,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:34:00] local.INFO: IMEI packet received {"connection_id":146140,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 17:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":146140,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:34:00] local.INFO: TCP Data received {"connection_id":146139,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd348a88012ced38c007240bb8001b00232d..."} 
[2026-08-01 17:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd348a88012ced38c007240bb8001b00232d..."} 
[2026-08-01 17:34:00] local.INFO: Processing buffer {"connection_id":146139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd348a88012ced38c007240bb8001b00232d..."} 
[2026-08-01 17:34:00] local.INFO: Packet analysis {"connection_id":146139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd34"} 
[2026-08-01 17:34:00] local.INFO: Extracted packet for processing {"connection_id":146139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd34"} 
[2026-08-01 17:34:00] local.INFO: GPS Element Parsed {"raw_longitude":753744064,"raw_latitude":119802808,"longitude_deg":75.3744064,"latitude_deg":11.9802808,"altitude":27,"angle":35,"satellites":45,"speed":49,"hex_longitude":"2ced38c0","hex_latitude":"07240bb8","is_valid_coordinates":true} 
[2026-08-01 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-08-01 17:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109954048001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366670051073327104,"note":"Value kept but may cause issues"} 
[2026-08-01 17:34:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1358609313170593792,"note":"Value kept but may cause issues"} 
[2026-08-01 17:34:00] 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-08-01 17:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785585765000,"timestamp_ms":1785585765000,"timestamp_seconds":1785585765,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd348a88"} 
[2026-08-01 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-08-01 17:34: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-08-01 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 17:34: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-08-01 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-08-01 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-08-01 17:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":146139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":146139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":146139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:34: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-08-01 17:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109954048001,"66":27865,"58":206,"83":43008,"24":49,"16":366670051073327104,"44":-1358609313170593792},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,44]} 
[2026-08-01 17:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109954048001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:34:00] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-01 17:34:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-01 17:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366670051073327104,"km_value":366670051073327.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:34:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1358609313170593792,"description":"Unknown IO ID 44"} 
[2026-08-01 17:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109954048001,"power":27865,"unknown_58":206,"unknown_83":43008,"ignition":49,"odometer":null,"unknown_44":-1358609313170593792}} 
[2026-08-01 17:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":146139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:34:00] local.INFO: GPS data processed {"connection_id":146139,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:34:00] local.INFO: Acknowledgment sent {"connection_id":146139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:34:03] local.INFO: TCP Data received {"connection_id":146140,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146140,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:34:03] local.INFO: Processing buffer {"connection_id":146140,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:34:03] local.INFO: IMEI packet received {"connection_id":146140,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 17:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":146140,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:34:04] local.INFO: TCP Data received {"connection_id":146140,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd3503a0012d7c240005daf100000800b30e..."} 
[2026-08-01 17:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd3503a0012d7c240005daf100000800b30e..."} 
[2026-08-01 17:34:04] local.INFO: Processing buffer {"connection_id":146140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd3503a0012d7c240005daf100000800b30e..."} 
[2026-08-01 17:34:04] local.INFO: Packet analysis {"connection_id":146140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd35"} 
[2026-08-01 17:34:04] local.INFO: Extracted packet for processing {"connection_id":146140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd35"} 
[2026-08-01 17:34:04] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98234624,"longitude_deg":76.31104,"latitude_deg":9.8234624,"altitude":8,"angle":179,"satellites":14,"speed":9,"hex_longitude":"2d7c2400","hex_latitude":"05daf100","is_valid_coordinates":true} 
[2026-08-01 17:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109963264001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113495077732483072,"note":"Value kept but may cause issues"} 
[2026-08-01 17:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785012797440,"note":"Value kept but may cause issues"} 
[2026-08-01 17:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785585796000,"timestamp_ms":1785585796000,"timestamp_seconds":1785585796,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd3503a0"} 
[2026-08-01 17:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-01 17:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:34:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109963264001,"66":13580,"187":206,"85":15104,"24":9,"16":113495077732483072,"45":8945274785012797440},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-01 17:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109963264001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:34:04] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-01 17:34:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113495077732483072,"km_value":113495077732483.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785012797440,"description":"Unknown IO ID 45"} 
[2026-08-01 17:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109963264001,"power":13580,"unknown_187":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8945274785012797440}} 
[2026-08-01 17:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":146140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578269,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:34:04] local.INFO: GPS data processed {"connection_id":146140,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:34:04] local.INFO: Acknowledgment sent {"connection_id":146140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:34:04] local.INFO: TCP Data received {"connection_id":147372,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:34:04] local.INFO: Processing buffer {"connection_id":147372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:34:04] local.INFO: IMEI packet received {"connection_id":147372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":147372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:34:05] local.INFO: TCP Data received {"connection_id":147372,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd341940012d1820c00721b3e8004d00d125..."} 
[2026-08-01 17:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd341940012d1820c00721b3e8004d00d125..."} 
[2026-08-01 17:34:05] local.INFO: Processing buffer {"connection_id":147372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd341940012d1820c00721b3e8004d00d125..."} 
[2026-08-01 17:34:05] local.INFO: Packet analysis {"connection_id":147372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd34"} 
[2026-08-01 17:34:05] local.INFO: Extracted packet for processing {"connection_id":147372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd34"} 
[2026-08-01 17:34:05] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649256,"longitude_deg":75.6555968,"latitude_deg":11.9649256,"altitude":77,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b3e8","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109943040001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291003634221056,"note":"Value kept but may cause issues"} 
[2026-08-01 17:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027753984,"note":"Value kept but may cause issues"} 
[2026-08-01 17:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785585736000,"timestamp_ms":1785585736000,"timestamp_seconds":1785585736,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd341940"} 
[2026-08-01 17:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:34: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-08-01 17: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-08-01 17:34:05] 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-08-01 17: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-08-01 17:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:34:05] 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-08-01 17:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109943040001,"66":12558,"105":206,"83":41984,"24":0,"16":10291003634221056,"45":1738600593027753984},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109943040001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:34:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:34:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291003634221056,"km_value":10291003634221.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027753984,"description":"Unknown IO ID 45"} 
[2026-08-01 17:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109943040001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027753984}} 
[2026-08-01 17:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":147372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:34:05] local.INFO: GPS data processed {"connection_id":147372,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:34:05] local.INFO: Acknowledgment sent {"connection_id":147372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:34:07] local.INFO: TCP Data received {"connection_id":146140,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd3526c8012d7c26c005dae040000800a70e..."} 
[2026-08-01 17:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd3526c8012d7c26c005dae040000800a70e..."} 
[2026-08-01 17:34:07] local.INFO: Processing buffer {"connection_id":146140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd3526c8012d7c26c005dae040000800a70e..."} 
[2026-08-01 17:34:07] local.INFO: Packet analysis {"connection_id":146140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd35"} 
[2026-08-01 17:34:07] local.INFO: Extracted packet for processing {"connection_id":146140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd35"} 
[2026-08-01 17:34:07] local.INFO: GPS Element Parsed {"raw_longitude":763111104,"raw_latitude":98230336,"longitude_deg":76.3111104,"latitude_deg":9.8230336,"altitude":8,"angle":167,"satellites":14,"speed":25,"hex_longitude":"2d7c26c0","hex_latitude":"05dae040","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109963776001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113495292480847872,"note":"Value kept but may cause issues"} 
[2026-08-01 17:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785012711424,"note":"Value kept but may cause issues"} 
[2026-08-01 17:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785585805000,"timestamp_ms":1785585805000,"timestamp_seconds":1785585805,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd3526c8"} 
[2026-08-01 17:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:34:07] 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-08-01 17: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-01 17:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751616823,"note":"Value kept but may cause issues"} 
[2026-08-01 17:34:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-01 17:34:07] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3174358160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:34:07] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-01 17:34:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7838759243019714560,"note":"Value kept but may cause issues"} 
[2026-08-01 17:34:07] local.WARNING: Large IO value detected {"io_id":218,"raw_value":4053270535,"note":"Value kept but may cause issues"} 
[2026-08-01 17:34:07] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634647635076795,"note":"Value kept but may cause issues"} 
[2026-08-01 17:34:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797273294,"corrected_to":0} 
[2026-08-01 17:34:07] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2089896343085567573,"note":"Value kept but may cause issues"} 
[2026-08-01 17:34:07] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-01 17:34:07] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3673253888,"note":"Value kept but may cause issues"} 
[2026-08-01 17:34:07] local.WARNING: Large IO value detected {"io_id":124,"raw_value":2540036627753861127,"note":"Value kept but may cause issues"} 
[2026-08-01 17:34:07] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755408031121649,"note":"Value kept but may cause issues"} 
[2026-08-01 17:34:07] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,187,85,24,241,157,16,55,159,251,45,242,8,14,10,66,244,192,7,240,128,1,56,227,189,218,4,113,205,3,224,35,96,239,52,2,147,5,124,59],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2797273294,"validated":0}]} 
[2026-08-01 17:34:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576657625014927360,"timestamp_seconds":576657625014927.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 17:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:34:07] 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-08-01 17:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109963776001,"66":13363,"187":206,"85":15104,"24":25,"16":113495292480847872,"45":8945274785012711424},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-01 17:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109963776001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:34:07] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-01 17:34:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113495292480847872,"km_value":113495292480847.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785012711424,"description":"Unknown IO ID 45"} 
[2026-08-01 17:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109963776001,"power":13363,"unknown_187":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8945274785012711424}} 
[2026-08-01 17:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":146140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578271,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:34:07] local.INFO: GPS data processed {"connection_id":146140,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:34:07] local.INFO: Acknowledgment sent {"connection_id":146140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:34:37] local.INFO: TCP Data received {"connection_id":147372,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd346b48012d1820c00721b3e8004d00d126..."} 
[2026-08-01 17:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd346b48012d1820c00721b3e8004d00d126..."} 
[2026-08-01 17:34:37] local.INFO: Processing buffer {"connection_id":147372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd346b48012d1820c00721b3e8004d00d126..."} 
[2026-08-01 17:34:37] local.INFO: Packet analysis {"connection_id":147372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd34"} 
[2026-08-01 17:34:37] local.INFO: Extracted packet for processing {"connection_id":147372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd34"} 
[2026-08-01 17:34:37] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649256,"longitude_deg":75.6555968,"latitude_deg":11.9649256,"altitude":77,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b3e8","is_valid_coordinates":true} 
[2026-08-01 17:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109948416001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291003634221056,"note":"Value kept but may cause issues"} 
[2026-08-01 17:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027753984,"note":"Value kept but may cause issues"} 
[2026-08-01 17:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785585757000,"timestamp_ms":1785585757000,"timestamp_seconds":1785585757,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd346b48"} 
[2026-08-01 17:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:34: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-08-01 17:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-01 17:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-01 17:34:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-01 17:34:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 17:34:37] local.WARNING: Large IO value detected {"io_id":143,"raw_value":2634022912,"note":"Value kept but may cause issues"} 
[2026-08-01 17:34:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3174182160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:34:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249383140273271784,"note":"Value kept but may cause issues"} 
[2026-08-01 17:34:37] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3018326093,"note":"Value kept but may cause issues"} 
[2026-08-01 17:34:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-01 17:34:37] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3221692851,"note":"Value kept but may cause issues"} 
[2026-08-01 17:34:37] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2409431040,"note":"Value kept but may cause issues"} 
[2026-08-01 17:34:37] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-01 17:34:37] local.WARNING: Large IO value detected {"io_id":88,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-01 17:34:37] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-01 17:34:37] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,143,159,199,45,192,179,77,39,10,66,117,41,35,1,240,14,227,189,33,4,113,205,127,32,232,239,49,2,36,7,106,88,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-01 17:34:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548664697764446208,"timestamp_seconds":5548664697764446.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 17:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:34:37] 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-08-01 17:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109948416001,"66":12558,"105":206,"83":41984,"24":0,"16":10291003634221056,"45":1738600593027753984},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109948416001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:34:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:34:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291003634221056,"km_value":10291003634221.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027753984,"description":"Unknown IO ID 45"} 
[2026-08-01 17:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109948416001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027753984}} 
[2026-08-01 17:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":147372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578272,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:34:37] local.INFO: GPS data processed {"connection_id":147372,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:34:37] local.INFO: Acknowledgment sent {"connection_id":147372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:34:39] local.INFO: TCP Data received {"connection_id":146140,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd3549f0012d7c2ec005dabe08000700a80e..."} 
[2026-08-01 17:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd3549f0012d7c2ec005dabe08000700a80e..."} 
[2026-08-01 17:34:39] local.INFO: Processing buffer {"connection_id":146140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd3549f0012d7c2ec005dabe08000700a80e..."} 
[2026-08-01 17:34:39] local.INFO: Packet analysis {"connection_id":146140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd35"} 
[2026-08-01 17:34:39] local.INFO: Extracted packet for processing {"connection_id":146140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd35"} 
[2026-08-01 17:34:39] local.INFO: GPS Element Parsed {"raw_longitude":763113152,"raw_latitude":98221576,"longitude_deg":76.3113152,"latitude_deg":9.8221576,"altitude":7,"angle":168,"satellites":14,"speed":42,"hex_longitude":"2d7c2ec0","hex_latitude":"05dabe08","is_valid_coordinates":true} 
[2026-08-01 17:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109966080001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113495730567512064,"note":"Value kept but may cause issues"} 
[2026-08-01 17:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946048841197568000,"note":"Value kept but may cause issues"} 
[2026-08-01 17:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785585814000,"timestamp_ms":1785585814000,"timestamp_seconds":1785585814,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd3549f0"} 
[2026-08-01 17:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-01 17:34:39] 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-08-01 17:34:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:34:39] 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-08-01 17:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109966080001,"66":13624,"187":206,"85":15104,"24":42,"16":113495730567512064,"45":8946048841197568000},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-01 17:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109966080001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:34:39] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-01 17:34:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113495730567512064,"km_value":113495730567512.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946048841197568000,"description":"Unknown IO ID 45"} 
[2026-08-01 17:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109966080001,"power":13624,"unknown_187":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8946048841197568000}} 
[2026-08-01 17:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":146140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578273,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:34:39] local.INFO: GPS data processed {"connection_id":146140,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:34:39] local.INFO: Acknowledgment sent {"connection_id":146140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:34:43] local.INFO: TCP Data received {"connection_id":148676,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:34:43] local.INFO: Processing buffer {"connection_id":148676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:34:43] local.INFO: IMEI packet received {"connection_id":148676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 17:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":148676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:34:49] local.INFO: TCP Data received {"connection_id":148676,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:34:49] local.INFO: Processing buffer {"connection_id":148676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:34:49] local.INFO: IMEI packet received {"connection_id":148676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":148676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:34:50] local.INFO: TCP Data received {"connection_id":148676,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd34a9c8012ced4d80072429c0001e00232d..."} 
[2026-08-01 17:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd34a9c8012ced4d80072429c0001e00232d..."} 
[2026-08-01 17:34:50] local.INFO: Processing buffer {"connection_id":148676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd34a9c8012ced4d80072429c0001e00232d..."} 
[2026-08-01 17:34:50] local.INFO: Packet analysis {"connection_id":148676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd34"} 
[2026-08-01 17:34:50] local.INFO: Extracted packet for processing {"connection_id":148676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd34"} 
[2026-08-01 17:34:50] local.INFO: GPS Element Parsed {"raw_longitude":753749376,"raw_latitude":119810496,"longitude_deg":75.3749376,"latitude_deg":11.9810496,"altitude":30,"angle":35,"satellites":45,"speed":43,"hex_longitude":"2ced4d80","hex_latitude":"072429c0","is_valid_coordinates":true} 
[2026-08-01 17:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109955840001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366670502044893184,"note":"Value kept but may cause issues"} 
[2026-08-01 17:34:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1353120551122782208,"note":"Value kept but may cause issues"} 
[2026-08-01 17:34:50] 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-08-01 17:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785585773000,"timestamp_ms":1785585773000,"timestamp_seconds":1785585773,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd34a9c8"} 
[2026-08-01 17:34:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:34:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 17:34:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:34:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:34:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:34:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109955840001,"66":27821,"58":206,"83":43008,"24":43,"16":366670502044893184,"44":-1353120551122782208},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,44]} 
[2026-08-01 17:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109955840001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:34:50] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-01 17:34:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-01 17:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366670502044893184,"km_value":366670502044893.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:34:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1353120551122782208,"description":"Unknown IO ID 44"} 
[2026-08-01 17:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109955840001,"power":27821,"unknown_58":206,"unknown_83":43008,"ignition":43,"odometer":null,"unknown_44":-1353120551122782208}} 
[2026-08-01 17:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":148676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:34:50] local.INFO: GPS data processed {"connection_id":148676,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:34:50] local.INFO: Acknowledgment sent {"connection_id":148676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:34:57] local.INFO: TCP Data received {"connection_id":146371,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146371,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:34:57] local.INFO: Processing buffer {"connection_id":146371,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:34:57] local.INFO: IMEI packet received {"connection_id":146371,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 17:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":146371,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:35:00] local.INFO: TCP Data received {"connection_id":146370,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:35:00] local.INFO: Processing buffer {"connection_id":146370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:35:00] local.INFO: IMEI packet received {"connection_id":146370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":146370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:35:05] local.INFO: TCP Data received {"connection_id":146370,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:35:05] local.INFO: Processing buffer {"connection_id":146370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:35:05] local.INFO: IMEI packet received {"connection_id":146370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":146370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:35:06] local.INFO: TCP Data received {"connection_id":146370,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd34bd50012d1820c00721b3e8004d00d127..."} 
[2026-08-01 17:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd34bd50012d1820c00721b3e8004d00d127..."} 
[2026-08-01 17:35:06] local.INFO: Processing buffer {"connection_id":146370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd34bd50012d1820c00721b3e8004d00d127..."} 
[2026-08-01 17:35:06] local.INFO: Packet analysis {"connection_id":146370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd34"} 
[2026-08-01 17:35:06] local.INFO: Extracted packet for processing {"connection_id":146370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd34"} 
[2026-08-01 17:35:06] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649256,"longitude_deg":75.6555968,"latitude_deg":11.9649256,"altitude":77,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b3e8","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109953792001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291003634221056,"note":"Value kept but may cause issues"} 
[2026-08-01 17:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027753984,"note":"Value kept but may cause issues"} 
[2026-08-01 17:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785585778000,"timestamp_ms":1785585778000,"timestamp_seconds":1785585778,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd34bd50"} 
[2026-08-01 17:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-01 17:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-01 17:35:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-01 17:35:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 17:35:06] local.WARNING: Large IO value detected {"io_id":143,"raw_value":2634022912,"note":"Value kept but may cause issues"} 
[2026-08-01 17:35:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3174203160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:35:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249383140273271784,"note":"Value kept but may cause issues"} 
[2026-08-01 17:35:06] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3018326093,"note":"Value kept but may cause issues"} 
[2026-08-01 17:35:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-01 17:35:06] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3221692851,"note":"Value kept but may cause issues"} 
[2026-08-01 17:35:06] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2409431040,"note":"Value kept but may cause issues"} 
[2026-08-01 17:35:06] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-01 17:35:06] local.WARNING: Large IO value detected {"io_id":88,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-01 17:35:06] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-01 17:35:06] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,143,159,25,45,192,179,77,37,10,66,199,39,117,1,240,4,227,189,33,113,205,209,32,232,41,239,49,2,36,7,106,88,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-01 17:35:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548664702059413504,"timestamp_seconds":5548664702059414.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 17:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:35:06] 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-08-01 17:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109953792001,"66":12548,"105":206,"83":41984,"24":0,"16":10291003634221056,"45":1738600593027753984},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109953792001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:35:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:35:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291003634221056,"km_value":10291003634221.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027753984,"description":"Unknown IO ID 45"} 
[2026-08-01 17:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109953792001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027753984}} 
[2026-08-01 17:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":146370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:35:06] local.INFO: GPS data processed {"connection_id":146370,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:35:06] local.INFO: Acknowledgment sent {"connection_id":146370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:35:07] local.INFO: TCP Data received {"connection_id":146371,"ip":"42.106.6.34","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-01 17:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146371,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-01 17:35:07] local.INFO: Processing buffer {"connection_id":146371,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-01 17:35:07] local.INFO: IMEI packet received {"connection_id":146371,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 17:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":146371,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:35:08] local.INFO: TCP Data received {"connection_id":146371,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146371,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:35:08] local.INFO: Processing buffer {"connection_id":146371,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-01 17:35:08] local.INFO: IMEI packet received {"connection_id":146371,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 17:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":146371,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:35:09] local.INFO: TCP Data received {"connection_id":146371,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd356930012d7c3ac005da9998000500a30e..."} 
[2026-08-01 17:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd356930012d7c3ac005da9998000500a30e..."} 
[2026-08-01 17:35:09] local.INFO: Processing buffer {"connection_id":146371,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019fbd..."} 
[2026-08-01 17:35:09] local.INFO: IMEI packet received {"connection_id":146371,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 17:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":146371,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:35:10] local.INFO: TCP Data received {"connection_id":146371,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd358870012d7c450005da76b0000400a60d..."} 
[2026-08-01 17:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd358870012d7c450005da76b0000400a60d..."} 
[2026-08-01 17:35:10] local.INFO: Processing buffer {"connection_id":146371,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fbd356930012d7c3ac005da9998000500a30e..."} 
[2026-08-01 17:35:10] local.INFO: Packet analysis {"connection_id":146371,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fbd35"} 
[2026-08-01 17:35:10] local.INFO: Extracted packet for processing {"connection_id":146371,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd35"} 
[2026-08-01 17:35:10] local.INFO: GPS Element Parsed {"raw_longitude":763116224,"raw_latitude":98212248,"longitude_deg":76.3116224,"latitude_deg":9.8212248,"altitude":5,"angle":163,"satellites":14,"speed":49,"hex_longitude":"2d7c3ac0","hex_latitude":"05da9998","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109968384001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113496207308881920,"note":"Value kept but may cause issues"} 
[2026-08-01 17:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948300641009010688,"note":"Value kept but may cause issues"} 
[2026-08-01 17:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785585822000,"timestamp_ms":1785585822000,"timestamp_seconds":1785585822,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd356930"} 
[2026-08-01 17:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-01 17:35:10] 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-08-01 17: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-08-01 17:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:35:10] 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-08-01 17:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109968384001,"66":13406,"187":206,"85":15104,"24":49,"16":113496207308881920,"45":8948300641009010688},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-01 17:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109968384001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:35:10] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-01 17:35:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113496207308881920,"km_value":113496207308881.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948300641009010688,"description":"Unknown IO ID 45"} 
[2026-08-01 17:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109968384001,"power":13406,"unknown_187":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8948300641009010688}} 
[2026-08-01 17:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":146371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578276,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:35:10] local.INFO: GPS data processed {"connection_id":146371,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:35:10] local.INFO: Acknowledgment sent {"connection_id":146371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:35:10] local.INFO: Packet analysis {"connection_id":146371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd35"} 
[2026-08-01 17:35:10] local.INFO: Extracted packet for processing {"connection_id":146371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd35"} 
[2026-08-01 17:35:10] local.INFO: GPS Element Parsed {"raw_longitude":763118848,"raw_latitude":98203312,"longitude_deg":76.3118848,"latitude_deg":9.8203312,"altitude":4,"angle":166,"satellites":13,"speed":42,"hex_longitude":"2d7c4500","hex_latitude":"05da76b0","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109970432001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113496658280448000,"note":"Value kept but may cause issues"} 
[2026-08-01 17:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951678340727150592,"note":"Value kept but may cause issues"} 
[2026-08-01 17:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785585830000,"timestamp_ms":1785585830000,"timestamp_seconds":1785585830,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd358870"} 
[2026-08-01 17:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:35: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-08-01 17: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-01 17:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17: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-08-01 17:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:35:10] 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-08-01 17:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109970432001,"66":13613,"187":206,"85":15104,"24":42,"16":113496658280448000,"45":8951678340727150592},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-01 17:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109970432001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:35:10] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-01 17:35:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113496658280448000,"km_value":113496658280448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951678340727150592,"description":"Unknown IO ID 45"} 
[2026-08-01 17:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109970432001,"power":13613,"unknown_187":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8951678340727150592}} 
[2026-08-01 17:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":146371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578277,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:35:10] local.INFO: GPS data processed {"connection_id":146371,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:35:10] local.INFO: Acknowledgment sent {"connection_id":146371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:35:13] local.INFO: TCP Data received {"connection_id":146371,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd35a7b0012d7c50c005da53a0000300a30c..."} 
[2026-08-01 17:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd35a7b0012d7c50c005da53a0000300a30c..."} 
[2026-08-01 17:35:13] local.INFO: Processing buffer {"connection_id":146371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd35a7b0012d7c50c005da53a0000300a30c..."} 
[2026-08-01 17:35:13] local.INFO: Packet analysis {"connection_id":146371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd35"} 
[2026-08-01 17:35:13] local.INFO: Extracted packet for processing {"connection_id":146371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd35"} 
[2026-08-01 17:35:13] local.INFO: GPS Element Parsed {"raw_longitude":763121856,"raw_latitude":98194336,"longitude_deg":76.3121856,"latitude_deg":9.8194336,"altitude":3,"angle":163,"satellites":12,"speed":48,"hex_longitude":"2d7c50c0","hex_latitude":"05da53a0","is_valid_coordinates":true} 
[2026-08-01 17:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109972480001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113497117841948672,"note":"Value kept but may cause issues"} 
[2026-08-01 17:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8954563459236147200,"note":"Value kept but may cause issues"} 
[2026-08-01 17:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785585838000,"timestamp_ms":1785585838000,"timestamp_seconds":1785585838,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd35a7b0"} 
[2026-08-01 17:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:35:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-08-01 17:35:13] 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-08-01 17:35:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":146371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":146371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":146371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:35:13] 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-08-01 17:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109972480001,"66":13787,"187":206,"85":15104,"24":48,"16":113497117841948672,"45":8954563459236147200},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-01 17:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109972480001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:35:13] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-01 17:35:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113497117841948672,"km_value":113497117841948.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8954563459236147200,"description":"Unknown IO ID 45"} 
[2026-08-01 17:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109972480001,"power":13787,"unknown_187":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8954563459236147200}} 
[2026-08-01 17:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":146371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578278,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:35:13] local.INFO: GPS data processed {"connection_id":146371,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:35:13] local.INFO: Acknowledgment sent {"connection_id":146371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:35:24] local.INFO: TCP Data received {"connection_id":148676,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd34d0d8012ced62c007244be80021001a2d..."} 
[2026-08-01 17:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd34d0d8012ced62c007244be80021001a2d..."} 
[2026-08-01 17:35:24] local.INFO: Processing buffer {"connection_id":148676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd34d0d8012ced62c007244be80021001a2d..."} 
[2026-08-01 17:35:24] local.INFO: Packet analysis {"connection_id":148676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd34"} 
[2026-08-01 17:35:24] local.INFO: Extracted packet for processing {"connection_id":148676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd34"} 
[2026-08-01 17:35:24] local.INFO: GPS Element Parsed {"raw_longitude":753754816,"raw_latitude":119819240,"longitude_deg":75.3754816,"latitude_deg":11.981924,"altitude":33,"angle":26,"satellites":45,"speed":38,"hex_longitude":"2ced62c0","hex_latitude":"07244be8","is_valid_coordinates":true} 
[2026-08-01 17:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109957888001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366670995966132224,"note":"Value kept but may cause issues"} 
[2026-08-01 17:35:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1347279945354067968,"note":"Value kept but may cause issues"} 
[2026-08-01 17:35:24] 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-08-01 17:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785585783000,"timestamp_ms":1785585783000,"timestamp_seconds":1785585783,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd34d0d8"} 
[2026-08-01 17:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:35:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 17:35:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:35:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":148676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":148676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":148676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:35:24] 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-08-01 17:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109957888001,"66":27767,"58":206,"83":43008,"24":38,"16":366670995966132224,"44":-1347279945354067968},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,44]} 
[2026-08-01 17:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109957888001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:35:24] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-01 17:35:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-01 17:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366670995966132224,"km_value":366670995966132.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:35:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1347279945354067968,"description":"Unknown IO ID 44"} 
[2026-08-01 17:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109957888001,"power":27767,"unknown_58":206,"unknown_83":43008,"ignition":38,"odometer":null,"unknown_44":-1347279945354067968}} 
[2026-08-01 17:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":148676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:35:24] local.INFO: GPS data processed {"connection_id":148676,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:35:24] local.INFO: Acknowledgment sent {"connection_id":148676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:35:37] local.INFO: TCP Data received {"connection_id":146370,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd350f58012d1820c00721b3e8004d00d129..."} 
[2026-08-01 17:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd350f58012d1820c00721b3e8004d00d129..."} 
[2026-08-01 17:35:37] local.INFO: Processing buffer {"connection_id":146370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd350f58012d1820c00721b3e8004d00d129..."} 
[2026-08-01 17:35:37] local.INFO: Packet analysis {"connection_id":146370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd35"} 
[2026-08-01 17:35:37] local.INFO: Extracted packet for processing {"connection_id":146370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd35"} 
[2026-08-01 17:35:37] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649256,"longitude_deg":75.6555968,"latitude_deg":11.9649256,"altitude":77,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b3e8","is_valid_coordinates":true} 
[2026-08-01 17:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109959168001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291003634221056,"note":"Value kept but may cause issues"} 
[2026-08-01 17:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027753984,"note":"Value kept but may cause issues"} 
[2026-08-01 17:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785585799000,"timestamp_ms":1785585799000,"timestamp_seconds":1785585799,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd350f58"} 
[2026-08-01 17:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 17:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-01 17:35:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-01 17:35:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 17:35:37] local.WARNING: Large IO value detected {"io_id":143,"raw_value":2634022912,"note":"Value kept but may cause issues"} 
[2026-08-01 17:35:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3174224160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:35:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-08-01 17:35:37] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2409431040,"note":"Value kept but may cause issues"} 
[2026-08-01 17:35:37] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3018326093,"note":"Value kept but may cause issues"} 
[2026-08-01 17:35:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-01 17:35:37] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3221692851,"note":"Value kept but may cause issues"} 
[2026-08-01 17:35:37] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-01 17:35:37] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,143,159,107,45,192,179,77,38,10,66,25,37,199,1,240,36,227,189,33,4,113,205,35,32,232,39,239,49,2,7,106],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-01 17:35:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548664706354380800,"timestamp_seconds":5548664706354381.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 17:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:35:37] 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-08-01 17:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109959168001,"66":12504,"105":206,"83":41984,"24":0,"16":10291003634221056,"45":1738600593027753984},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109959168001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:35:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:35:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291003634221056,"km_value":10291003634221.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027753984,"description":"Unknown IO ID 45"} 
[2026-08-01 17:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109959168001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027753984}} 
[2026-08-01 17:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":146370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:35:37] local.INFO: GPS data processed {"connection_id":146370,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:35:37] local.INFO: Acknowledgment sent {"connection_id":146370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:35:54] local.INFO: TCP Data received {"connection_id":146372,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:35:54] local.INFO: Processing buffer {"connection_id":146372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:35:54] local.INFO: IMEI packet received {"connection_id":146372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 17:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":146372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:35:58] local.INFO: TCP Data received {"connection_id":146372,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:35:58] local.INFO: Processing buffer {"connection_id":146372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:35:58] local.INFO: IMEI packet received {"connection_id":146372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":146372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:35:59] local.INFO: TCP Data received {"connection_id":146372,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd3672d0012ced2700072593b80022013f2d..."} 
[2026-08-01 17:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd3672d0012ced2700072593b80022013f2d..."} 
[2026-08-01 17:35:59] local.INFO: Processing buffer {"connection_id":146372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd3672d0012ced2700072593b80022013f2d..."} 
[2026-08-01 17:35:59] local.INFO: Packet analysis {"connection_id":146372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd36"} 
[2026-08-01 17:35:59] local.INFO: Extracted packet for processing {"connection_id":146372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd36"} 
[2026-08-01 17:35:59] local.INFO: GPS Element Parsed {"raw_longitude":753739520,"raw_latitude":119903160,"longitude_deg":75.373952,"latitude_deg":11.990316,"altitude":34,"angle":319,"satellites":45,"speed":49,"hex_longitude":"2ced2700","hex_latitude":"072593b8","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109985792001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366675389717676032,"note":"Value kept but may cause issues"} 
[2026-08-01 17:35:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1351150226262063104,"note":"Value kept but may cause issues"} 
[2026-08-01 17:35:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785585890000,"timestamp_ms":1785585890000,"timestamp_seconds":1785585890,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd3672d0"} 
[2026-08-01 17:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:35:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-01 17:35:59] 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-08-01 17: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-08-01 17:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":146372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":146372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":146372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:35: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-08-01 17:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109985792001,"66":27767,"62":206,"83":44032,"24":49,"16":366675389717676032,"44":-1351150226262063104},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,83,24,16,44]} 
[2026-08-01 17:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109985792001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:35:59] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-08-01 17:35:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 17:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366675389717676032,"km_value":366675389717676.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:35:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1351150226262063104,"description":"Unknown IO ID 44"} 
[2026-08-01 17:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109985792001,"power":27767,"unknown_62":206,"unknown_83":44032,"ignition":49,"odometer":null,"unknown_44":-1351150226262063104}} 
[2026-08-01 17:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":146372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:35:59] local.INFO: GPS data processed {"connection_id":146372,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:35:59] local.INFO: Acknowledgment sent {"connection_id":146372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:36:00] local.INFO: TCP Data received {"connection_id":146141,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146141,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:36:00] local.INFO: Processing buffer {"connection_id":146141,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:36:00] local.INFO: IMEI packet received {"connection_id":146141,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":146141,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:36:04] local.INFO: TCP Data received {"connection_id":146142,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146142,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:36:04] local.INFO: Processing buffer {"connection_id":146142,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:36:04] local.INFO: IMEI packet received {"connection_id":146142,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 17:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":146142,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:36:05] local.INFO: TCP Data received {"connection_id":146141,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146141,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:36:05] local.INFO: Processing buffer {"connection_id":146141,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:36:05] local.INFO: IMEI packet received {"connection_id":146141,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":146141,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:36:05] local.INFO: TCP Data received {"connection_id":146142,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146142,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:36:05] local.INFO: Processing buffer {"connection_id":146142,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:36:05] local.INFO: IMEI packet received {"connection_id":146142,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 17:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":146142,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:36:06] local.INFO: TCP Data received {"connection_id":146141,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd354220012d181f800721b2f8004b00dc29..."} 
[2026-08-01 17:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd354220012d181f800721b2f8004b00dc29..."} 
[2026-08-01 17:36:06] local.INFO: Processing buffer {"connection_id":146141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd354220012d181f800721b2f8004b00dc29..."} 
[2026-08-01 17:36:06] local.INFO: Packet analysis {"connection_id":146141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd35"} 
[2026-08-01 17:36:06] local.INFO: Extracted packet for processing {"connection_id":146141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd35"} 
[2026-08-01 17:36:06] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119649016,"longitude_deg":75.6555648,"latitude_deg":11.9649016,"altitude":75,"angle":220,"satellites":41,"speed":1,"hex_longitude":"2d181f80","hex_latitude":"0721b2f8","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109964544001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291025109057536,"note":"Value kept but may cause issues"} 
[2026-08-01 17:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027753984,"note":"Value kept but may cause issues"} 
[2026-08-01 17:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785585812000,"timestamp_ms":1785585812000,"timestamp_seconds":1785585812,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd354220"} 
[2026-08-01 17:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-01 17:36:06] 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-08-01 17: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-08-01 17:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:36:06] 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-08-01 17:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109964544001,"66":12548,"105":206,"83":41984,"24":1,"16":10291025109057536,"45":1738600593027753984},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109964544001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:36:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:36:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291025109057536,"km_value":10291025109057.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027753984,"description":"Unknown IO ID 45"} 
[2026-08-01 17:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109964544001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1738600593027753984}} 
[2026-08-01 17:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":146141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578282,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:36:06] local.INFO: GPS data processed {"connection_id":146141,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:36:06] local.INFO: Acknowledgment sent {"connection_id":146141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:36:08] local.INFO: TCP Data received {"connection_id":146142,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146142,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:36:08] local.INFO: Processing buffer {"connection_id":146142,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:36:08] local.INFO: IMEI packet received {"connection_id":146142,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 17:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":146142,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:36:09] local.INFO: TCP Data received {"connection_id":146142,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd36efd0012d7c898005d8c790000000b10a..."} 
[2026-08-01 17:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd36efd0012d7c898005d8c790000000b10a..."} 
[2026-08-01 17:36:09] local.INFO: Processing buffer {"connection_id":146142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd36efd0012d7c898005d8c790000000b10a..."} 
[2026-08-01 17:36:09] local.INFO: Packet analysis {"connection_id":146142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd36"} 
[2026-08-01 17:36:09] local.INFO: Extracted packet for processing {"connection_id":146142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd36"} 
[2026-08-01 17:36:09] local.INFO: GPS Element Parsed {"raw_longitude":763136384,"raw_latitude":98092944,"longitude_deg":76.3136384,"latitude_deg":9.8092944,"altitude":0,"angle":177,"satellites":10,"speed":50,"hex_longitude":"2d7c8980","hex_latitude":"05d8c790","is_valid_coordinates":true} 
[2026-08-01 17:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109994240001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113502112888913920,"note":"Value kept but may cause issues"} 
[2026-08-01 17:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8972577857719678976,"note":"Value kept but may cause issues"} 
[2026-08-01 17:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785585922000,"timestamp_ms":1785585922000,"timestamp_seconds":1785585922,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd36efd0"} 
[2026-08-01 17:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-01 17:36: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-08-01 17:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":146142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":146142,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":146142,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:36:09] 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-08-01 17:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109994240001,"66":13656,"197":206,"85":15104,"24":50,"16":113502112888913920,"45":8972577857719678976},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-01 17:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109994240001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:36:09] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-01 17:36:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113502112888913920,"km_value":113502112888913.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8972577857719678976,"description":"Unknown IO ID 45"} 
[2026-08-01 17:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109994240001,"power":13656,"unknown_197":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8972577857719678976}} 
[2026-08-01 17:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":146142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578283,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:36:09] local.INFO: GPS data processed {"connection_id":146142,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:36:09] local.INFO: Acknowledgment sent {"connection_id":146142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:36:11] local.INFO: TCP Data received {"connection_id":146142,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd370f10012d7c8c0005d8a2c8000000b20c..."} 
[2026-08-01 17:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd370f10012d7c8c0005d8a2c8000000b20c..."} 
[2026-08-01 17:36:11] local.INFO: Processing buffer {"connection_id":146142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd370f10012d7c8c0005d8a2c8000000b20c..."} 
[2026-08-01 17:36:11] local.INFO: Packet analysis {"connection_id":146142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd37"} 
[2026-08-01 17:36:11] local.INFO: Extracted packet for processing {"connection_id":146142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd37"} 
[2026-08-01 17:36:11] local.INFO: GPS Element Parsed {"raw_longitude":763137024,"raw_latitude":98083528,"longitude_deg":76.3137024,"latitude_deg":9.8083528,"altitude":0,"angle":178,"satellites":12,"speed":47,"hex_longitude":"2d7c8c00","hex_latitude":"05d8a2c8","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109996032001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113502572450414592,"note":"Value kept but may cause issues"} 
[2026-08-01 17:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973844495112572928,"note":"Value kept but may cause issues"} 
[2026-08-01 17:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785585930000,"timestamp_ms":1785585930000,"timestamp_seconds":1785585930,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd370f10"} 
[2026-08-01 17:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:36: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-08-01 17:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-01 17:36: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-08-01 17: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-08-01 17:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146142,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146142,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:36:11] 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-08-01 17:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109996032001,"66":13624,"197":206,"85":15104,"24":47,"16":113502572450414592,"45":8973844495112572928},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-01 17:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109996032001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:36:11] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-01 17:36:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113502572450414592,"km_value":113502572450414.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973844495112572928,"description":"Unknown IO ID 45"} 
[2026-08-01 17:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109996032001,"power":13624,"unknown_197":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":8973844495112572928}} 
[2026-08-01 17:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":146142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578284,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:36:11] local.INFO: GPS data processed {"connection_id":146142,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:36:11] local.INFO: Acknowledgment sent {"connection_id":146142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:36:37] local.INFO: TCP Data received {"connection_id":146141,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd359428012d181f800721b2e0004b00dc27..."} 
[2026-08-01 17:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd359428012d181f800721b2e0004b00dc27..."} 
[2026-08-01 17:36:37] local.INFO: Processing buffer {"connection_id":146141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd359428012d181f800721b2e0004b00dc27..."} 
[2026-08-01 17:36:37] local.INFO: Packet analysis {"connection_id":146141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd35"} 
[2026-08-01 17:36:37] local.INFO: Extracted packet for processing {"connection_id":146141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd35"} 
[2026-08-01 17:36:37] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648992,"longitude_deg":75.6555648,"latitude_deg":11.9648992,"altitude":75,"angle":220,"satellites":39,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b2e0","is_valid_coordinates":true} 
[2026-08-01 17:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109967872001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291025109057536,"note":"Value kept but may cause issues"} 
[2026-08-01 17:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306804224,"note":"Value kept but may cause issues"} 
[2026-08-01 17:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785585833000,"timestamp_ms":1785585833000,"timestamp_seconds":1785585833,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd359428"} 
[2026-08-01 17:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 17:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-01 17:36:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-01 17:36:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 17:36:37] local.WARNING: Large IO value detected {"io_id":143,"raw_value":2634022912,"note":"Value kept but may cause issues"} 
[2026-08-01 17:36:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3174266160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:36:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197030093,"note":"Value kept but may cause issues"} 
[2026-08-01 17:36:37] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3018326093,"note":"Value kept but may cause issues"} 
[2026-08-01 17:36:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-01 17:36:37] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3221692851,"note":"Value kept but may cause issues"} 
[2026-08-01 17:36:37] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2409431040,"note":"Value kept but may cause issues"} 
[2026-08-01 17:36:37] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-01 17:36:37] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,143,159,15,45,192,179,77,41,10,66,189,39,107,1,240,14,227,33,4,113,205,199,32,232,239,49,2,36,7,106],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-01 17:36:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404561621496430592,"timestamp_seconds":5404561621496431.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 17:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:36:37] 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-08-01 17:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109967872001,"66":12537,"105":206,"83":41984,"24":0,"16":10291025109057536,"45":1738248749306804224},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109967872001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:36:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:36:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291025109057536,"km_value":10291025109057.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306804224,"description":"Unknown IO ID 45"} 
[2026-08-01 17:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109967872001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306804224}} 
[2026-08-01 17:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":146141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:36:37] local.INFO: GPS data processed {"connection_id":146141,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:36:37] local.INFO: Acknowledgment sent {"connection_id":146141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:36:43] local.INFO: TCP Data received {"connection_id":146142,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd372e50012d7c8c0005d87bb0000000b50c..."} 
[2026-08-01 17:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd372e50012d7c8c0005d87bb0000000b50c..."} 
[2026-08-01 17:36:43] local.INFO: Processing buffer {"connection_id":146142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd372e50012d7c8c0005d87bb0000000b50c..."} 
[2026-08-01 17:36:43] local.INFO: Packet analysis {"connection_id":146142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd37"} 
[2026-08-01 17:36:43] local.INFO: Extracted packet for processing {"connection_id":146142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd37"} 
[2026-08-01 17:36:43] local.INFO: GPS Element Parsed {"raw_longitude":763137024,"raw_latitude":98073520,"longitude_deg":76.3137024,"latitude_deg":9.807352,"altitude":0,"angle":181,"satellites":12,"speed":53,"hex_longitude":"2d7c8c00","hex_latitude":"05d87bb0","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109998080001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113503057781719040,"note":"Value kept but may cause issues"} 
[2026-08-01 17:36:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974548182551939072,"note":"Value kept but may cause issues"} 
[2026-08-01 17:36:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785585938000,"timestamp_ms":1785585938000,"timestamp_seconds":1785585938,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd372e50"} 
[2026-08-01 17:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:36: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-08-01 17: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-01 17:36:43] 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-08-01 17: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-08-01 17:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":146142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":146142,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":146142,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109998080001,"66":13352,"197":206,"85":15104,"24":53,"16":113503057781719040,"45":8974548182551939072},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-01 17:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109998080001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:36:43] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-01 17:36:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113503057781719040,"km_value":113503057781719.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:36:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974548182551939072,"description":"Unknown IO ID 45"} 
[2026-08-01 17:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109998080001,"power":13352,"unknown_197":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8974548182551939072}} 
[2026-08-01 17:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":146142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578286,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:36:43] local.INFO: GPS data processed {"connection_id":146142,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:36:43] local.INFO: Acknowledgment sent {"connection_id":146142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:36:44] local.INFO: TCP Data received {"connection_id":147373,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:36:44] local.INFO: Processing buffer {"connection_id":147373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:36:44] local.INFO: IMEI packet received {"connection_id":147373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 17:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":147373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:36:47] local.INFO: TCP Data received {"connection_id":147373,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:36:47] local.INFO: Processing buffer {"connection_id":147373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:36:47] local.INFO: IMEI packet received {"connection_id":147373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":147373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:36:48] local.INFO: TCP Data received {"connection_id":147373,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:36:48] local.INFO: Processing buffer {"connection_id":147373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:36:48] local.INFO: IMEI packet received {"connection_id":147373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":147373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:36:49] local.INFO: TCP Data received {"connection_id":147373,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd369210012ced0d000725b1000020013f2b..."} 
[2026-08-01 17:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd369210012ced0d000725b1000020013f2b..."} 
[2026-08-01 17:36:49] local.INFO: Processing buffer {"connection_id":147373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd369210012ced0d000725b1000020013f2b..."} 
[2026-08-01 17:36:49] local.INFO: Packet analysis {"connection_id":147373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd36"} 
[2026-08-01 17:36:49] local.INFO: Extracted packet for processing {"connection_id":147373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd36"} 
[2026-08-01 17:36:49] local.INFO: GPS Element Parsed {"raw_longitude":753732864,"raw_latitude":119910656,"longitude_deg":75.3732864,"latitude_deg":11.9910656,"altitude":32,"angle":319,"satellites":43,"speed":50,"hex_longitude":"2ced0d00","hex_latitude":"0725b100","is_valid_coordinates":true} 
[2026-08-01 17:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109987840001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366675875048980480,"note":"Value kept but may cause issues"} 
[2026-08-01 17:36:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1358116731933706240,"note":"Value kept but may cause issues"} 
[2026-08-01 17:36:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785585898000,"timestamp_ms":1785585898000,"timestamp_seconds":1785585898,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd369210"} 
[2026-08-01 17:36:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:36: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-08-01 17:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 17:36:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:36:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:36:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:36:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109987840001,"66":27919,"62":206,"83":44032,"24":50,"16":366675875048980480,"44":-1358116731933706240},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,83,24,16,44]} 
[2026-08-01 17:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109987840001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:36:49] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-08-01 17:36:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 17:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366675875048980480,"km_value":366675875048980.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:36:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1358116731933706240,"description":"Unknown IO ID 44"} 
[2026-08-01 17:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109987840001,"power":27919,"unknown_62":206,"unknown_83":44032,"ignition":50,"odometer":null,"unknown_44":-1358116731933706240}} 
[2026-08-01 17:36:49] local.INFO: DEBUG: GPS processor result {"connection_id":147373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:36:49] local.INFO: GPS data processed {"connection_id":147373,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:36:49] local.INFO: Acknowledgment sent {"connection_id":147373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:36:53] local.INFO: TCP Data received {"connection_id":147373,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd36ad68012cecf5c00725ccc80020013f2b..."} 
[2026-08-01 17:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd36ad68012cecf5c00725ccc80020013f2b..."} 
[2026-08-01 17:36:53] local.INFO: Processing buffer {"connection_id":147373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd36ad68012cecf5c00725ccc80020013f2b..."} 
[2026-08-01 17:36:53] local.INFO: Packet analysis {"connection_id":147373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd36"} 
[2026-08-01 17:36:53] local.INFO: Extracted packet for processing {"connection_id":147373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd36"} 
[2026-08-01 17:36:53] local.INFO: GPS Element Parsed {"raw_longitude":753726912,"raw_latitude":119917768,"longitude_deg":75.3726912,"latitude_deg":11.9917768,"altitude":32,"angle":319,"satellites":43,"speed":53,"hex_longitude":"2cecf5c0","hex_latitude":"0725ccc8","is_valid_coordinates":true} 
[2026-08-01 17:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109989888001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366676317430611968,"note":"Value kept but may cause issues"} 
[2026-08-01 17:36:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1365435081326264320,"note":"Value kept but may cause issues"} 
[2026-08-01 17:36:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785585905000,"timestamp_ms":1785585905000,"timestamp_seconds":1785585905,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd36ad68"} 
[2026-08-01 17:36:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:36:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 17:36:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:36:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:36:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":147373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":147373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":147373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:36:53] 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-08-01 17:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109989888001,"66":27767,"62":206,"83":44032,"24":53,"16":366676317430611968,"44":-1365435081326264320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,83,24,16,44]} 
[2026-08-01 17:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109989888001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:36:53] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-08-01 17:36:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 17:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366676317430611968,"km_value":366676317430611.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:36:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1365435081326264320,"description":"Unknown IO ID 44"} 
[2026-08-01 17:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109989888001,"power":27767,"unknown_62":206,"unknown_83":44032,"ignition":53,"odometer":null,"unknown_44":-1365435081326264320}} 
[2026-08-01 17:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":147373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:36:53] local.INFO: GPS data processed {"connection_id":147373,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:36:53] local.INFO: Acknowledgment sent {"connection_id":147373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:36:56] local.INFO: TCP Data received {"connection_id":148677,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148677,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:36:56] local.INFO: Processing buffer {"connection_id":148677,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:36:56] local.INFO: IMEI packet received {"connection_id":148677,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 17:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":148677,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:36:57] local.INFO: TCP Data received {"connection_id":148677,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148677,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:36:58] local.INFO: Processing buffer {"connection_id":148677,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:36:58] local.INFO: IMEI packet received {"connection_id":148677,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 17:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":148677,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:36:59] local.INFO: TCP Data received {"connection_id":148678,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:36:59] local.INFO: Processing buffer {"connection_id":148678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:36:59] local.INFO: IMEI packet received {"connection_id":148678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":148678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:37:03] local.INFO: TCP Data received {"connection_id":148677,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148677,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:37:03] local.INFO: Processing buffer {"connection_id":148677,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:37:03] local.INFO: IMEI packet received {"connection_id":148677,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 17:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":148677,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:37:04] local.INFO: TCP Data received {"connection_id":148677,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd3749a8012d7c8e0005d855a8000000b30b..."} 
[2026-08-01 17:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd3749a8012d7c8e0005d855a8000000b30b..."} 
[2026-08-01 17:37:04] local.INFO: Processing buffer {"connection_id":148677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd3749a8012d7c8e0005d855a8000000b30b..."} 
[2026-08-01 17:37:04] local.INFO: Packet analysis {"connection_id":148677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd37"} 
[2026-08-01 17:37:04] local.INFO: Extracted packet for processing {"connection_id":148677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd37"} 
[2026-08-01 17:37:04] local.INFO: GPS Element Parsed {"raw_longitude":763137536,"raw_latitude":98063784,"longitude_deg":76.3137536,"latitude_deg":9.8063784,"altitude":0,"angle":179,"satellites":11,"speed":56,"hex_longitude":"2d7c8e00","hex_latitude":"05d855a8","is_valid_coordinates":true} 
[2026-08-01 17:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110000128001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113503530228121600,"note":"Value kept but may cause issues"} 
[2026-08-01 17:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974548182549377024,"note":"Value kept but may cause issues"} 
[2026-08-01 17:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785585945000,"timestamp_ms":1785585945000,"timestamp_seconds":1785585945,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd3749a8"} 
[2026-08-01 17:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:37:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-01 17:37:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:37:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":148677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":148677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":148677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110000128001,"66":13624,"197":206,"85":15104,"24":56,"16":113503530228121600,"45":8974548182549377024},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-01 17:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110000128001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:37:04] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-01 17:37:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113503530228121600,"km_value":113503530228121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974548182549377024,"description":"Unknown IO ID 45"} 
[2026-08-01 17:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110000128001,"power":13624,"unknown_197":206,"unknown_85":15104,"ignition":56,"odometer":null,"unknown_45":8974548182549377024}} 
[2026-08-01 17:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":148677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578289,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:37:04] local.INFO: GPS data processed {"connection_id":148677,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:37:04] local.INFO: Acknowledgment sent {"connection_id":148677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:37:05] local.INFO: TCP Data received {"connection_id":148678,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:37:05] local.INFO: Processing buffer {"connection_id":148678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:37:05] local.INFO: IMEI packet received {"connection_id":148678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":148678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:37:06] local.INFO: TCP Data received {"connection_id":148678,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd35e630012d181f800721b2e0004b00dc27..."} 
[2026-08-01 17:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd35e630012d181f800721b2e0004b00dc27..."} 
[2026-08-01 17:37:06] local.INFO: Processing buffer {"connection_id":148678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd35e630012d181f800721b2e0004b00dc27..."} 
[2026-08-01 17:37:06] local.INFO: Packet analysis {"connection_id":148678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd35"} 
[2026-08-01 17:37:06] local.INFO: Extracted packet for processing {"connection_id":148678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd35"} 
[2026-08-01 17:37:06] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648992,"longitude_deg":75.6555648,"latitude_deg":11.9648992,"altitude":75,"angle":220,"satellites":39,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b2e0","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109973248001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291025109057536,"note":"Value kept but may cause issues"} 
[2026-08-01 17:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306798080,"note":"Value kept but may cause issues"} 
[2026-08-01 17:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785585854000,"timestamp_ms":1785585854000,"timestamp_seconds":1785585854,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd35e630"} 
[2026-08-01 17:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-01 17:37:06] 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-08-01 17: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-08-01 17:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:37:06] 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-08-01 17:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109973248001,"66":12537,"105":206,"83":41984,"24":0,"16":10291025109057536,"45":1738248749306798080},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109973248001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:37:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:37:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291025109057536,"km_value":10291025109057.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306798080,"description":"Unknown IO ID 45"} 
[2026-08-01 17:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109973248001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306798080}} 
[2026-08-01 17:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":148678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578290,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:37:06] local.INFO: GPS data processed {"connection_id":148678,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:37:06] local.INFO: Acknowledgment sent {"connection_id":148678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:37:26] local.INFO: TCP Data received {"connection_id":147373,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd37f1a0012cec8f0007271378001e01522e..."} 
[2026-08-01 17:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd37f1a0012cec8f0007271378001e01522e..."} 
[2026-08-01 17:37:26] local.INFO: Processing buffer {"connection_id":147373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd37f1a0012cec8f0007271378001e01522e..."} 
[2026-08-01 17:37:26] local.INFO: Packet analysis {"connection_id":147373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd37"} 
[2026-08-01 17:37:26] local.INFO: Extracted packet for processing {"connection_id":147373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd37"} 
[2026-08-01 17:37:26] local.INFO: GPS Element Parsed {"raw_longitude":753700608,"raw_latitude":120001400,"longitude_deg":75.3700608,"latitude_deg":12.00014,"altitude":30,"angle":338,"satellites":46,"speed":52,"hex_longitude":"2cec8f00","hex_latitude":"07271378","is_valid_coordinates":true} 
[2026-08-01 17:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:37:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110010880001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:37:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366680831441240064,"note":"Value kept but may cause issues"} 
[2026-08-01 17:37:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1396749172464496640,"note":"Value kept but may cause issues"} 
[2026-08-01 17:37:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:37:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785585988000,"timestamp_ms":1785585988000,"timestamp_seconds":1785585988,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd37f1a0"} 
[2026-08-01 17:37:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:37:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 17:37: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-08-01 17:37:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:37:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:37:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:37:26] local.INFO: Teltonika packet parsed successfully {"connection_id":147373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:37:26] local.INFO: Passing IMEI to GPS processor {"connection_id":147373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:37:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":147373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:37: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-08-01 17:37:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:37:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:37:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110010880001,"66":27745,"188":206,"83":44032,"24":52,"16":366680831441240064,"44":-1396749172464496640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,83,24,16,44]} 
[2026-08-01 17:37:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:37:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:37:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110010880001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:37:26] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-01 17:37:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 17:37:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366680831441240064,"km_value":366680831441240.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:37:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1396749172464496640,"description":"Unknown IO ID 44"} 
[2026-08-01 17:37:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110010880001,"power":27745,"unknown_188":206,"unknown_83":44032,"ignition":52,"odometer":null,"unknown_44":-1396749172464496640}} 
[2026-08-01 17:37:26] local.INFO: DEBUG: GPS processor result {"connection_id":147373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:37:26] local.INFO: GPS data processed {"connection_id":147373,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:37:26] local.INFO: Acknowledgment sent {"connection_id":147373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:37:34] local.INFO: TCP Data received {"connection_id":148677,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd376500012d7c910005d82fd8000000b30a..."} 
[2026-08-01 17:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd376500012d7c910005d82fd8000000b30a..."} 
[2026-08-01 17:37:34] local.INFO: Processing buffer {"connection_id":148677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd376500012d7c910005d82fd8000000b30a..."} 
[2026-08-01 17:37:34] local.INFO: Packet analysis {"connection_id":148677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd37"} 
[2026-08-01 17:37:34] local.INFO: Extracted packet for processing {"connection_id":148677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd37"} 
[2026-08-01 17:37:34] local.INFO: GPS Element Parsed {"raw_longitude":763138304,"raw_latitude":98054104,"longitude_deg":76.3138304,"latitude_deg":9.8054104,"altitude":0,"angle":179,"satellites":10,"speed":54,"hex_longitude":"2d7c9100","hex_latitude":"05d82fd8","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110001920001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113503998379556864,"note":"Value kept but may cause issues"} 
[2026-08-01 17:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975111132500305920,"note":"Value kept but may cause issues"} 
[2026-08-01 17:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785585952000,"timestamp_ms":1785585952000,"timestamp_seconds":1785585952,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd376500"} 
[2026-08-01 17:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:37: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-08-01 17:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-01 17:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17: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-08-01 17:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:37:34] 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-08-01 17:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110001920001,"66":13602,"197":206,"85":15104,"24":54,"16":113503998379556864,"45":8975111132500305920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-01 17:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110001920001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:37:34] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-01 17:37:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113503998379556864,"km_value":113503998379556.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975111132500305920,"description":"Unknown IO ID 45"} 
[2026-08-01 17:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110001920001,"power":13602,"unknown_197":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":8975111132500305920}} 
[2026-08-01 17:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":148677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578292,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:37:35] local.INFO: GPS data processed {"connection_id":148677,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:37:35] local.INFO: Acknowledgment sent {"connection_id":148677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:37:37] local.INFO: TCP Data received {"connection_id":148678,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd363838012d181f800721b2e0004b00dc27..."} 
[2026-08-01 17:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd363838012d181f800721b2e0004b00dc27..."} 
[2026-08-01 17:37:37] local.INFO: Processing buffer {"connection_id":148678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd363838012d181f800721b2e0004b00dc27..."} 
[2026-08-01 17:37:37] local.INFO: Packet analysis {"connection_id":148678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd36"} 
[2026-08-01 17:37:37] local.INFO: Extracted packet for processing {"connection_id":148678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd36"} 
[2026-08-01 17:37:37] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648992,"longitude_deg":75.6555648,"latitude_deg":11.9648992,"altitude":75,"angle":220,"satellites":39,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b2e0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 17:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109978624001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291025109057536,"note":"Value kept but may cause issues"} 
[2026-08-01 17:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306798080,"note":"Value kept but may cause issues"} 
[2026-08-01 17:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785585875000,"timestamp_ms":1785585875000,"timestamp_seconds":1785585875,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd363838"} 
[2026-08-01 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-08-01 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-08-01 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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-01 17:37:37] 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-08-01 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-08-01 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-08-01 17:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:37:37] 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-08-01 17:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109978624001,"66":12537,"105":206,"83":41984,"24":0,"16":10291025109057536,"45":1738248749306798080},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109978624001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:37:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:37:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291025109057536,"km_value":10291025109057.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306798080,"description":"Unknown IO ID 45"} 
[2026-08-01 17:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109978624001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306798080}} 
[2026-08-01 17:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":148678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:37:37] local.INFO: GPS data processed {"connection_id":148678,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:37:37] local.INFO: Acknowledgment sent {"connection_id":148678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:37:43] local.INFO: TCP Data received {"connection_id":146373,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:37:43] local.INFO: Processing buffer {"connection_id":146373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:37:43] local.INFO: IMEI packet received {"connection_id":146373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 17:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":146373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:37:55] local.INFO: TCP Data received {"connection_id":146374,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146374,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:37:55] local.INFO: Processing buffer {"connection_id":146374,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:37:55] local.INFO: IMEI packet received {"connection_id":146374,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 17:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":146374,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:37:58] local.INFO: TCP Data received {"connection_id":146374,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146374,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:37:58] local.INFO: Processing buffer {"connection_id":146374,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:37:58] local.INFO: IMEI packet received {"connection_id":146374,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 17:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":146374,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:37:59] local.INFO: TCP Data received {"connection_id":147374,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:37:59] local.INFO: Processing buffer {"connection_id":147374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:37:59] local.INFO: IMEI packet received {"connection_id":147374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":147374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:38:03] local.INFO: TCP Data received {"connection_id":146374,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146374,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:38:03] local.INFO: Processing buffer {"connection_id":146374,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:38:03] local.INFO: IMEI packet received {"connection_id":146374,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 17:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":146374,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:38:03] local.INFO: TCP Data received {"connection_id":146374,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd378058012d7c92c005d80bf8000000b109..."} 
[2026-08-01 17:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd378058012d7c92c005d80bf8000000b109..."} 
[2026-08-01 17:38:03] local.INFO: Processing buffer {"connection_id":146374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd378058012d7c92c005d80bf8000000b109..."} 
[2026-08-01 17:38:03] local.INFO: Packet analysis {"connection_id":146374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd37"} 
[2026-08-01 17:38:03] local.INFO: Extracted packet for processing {"connection_id":146374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd37"} 
[2026-08-01 17:38:03] local.INFO: GPS Element Parsed {"raw_longitude":763138752,"raw_latitude":98044920,"longitude_deg":76.3138752,"latitude_deg":9.804492,"altitude":0,"angle":177,"satellites":9,"speed":50,"hex_longitude":"2d7c92c0","hex_latitude":"05d80bf8","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110003712001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113504445056155648,"note":"Value kept but may cause issues"} 
[2026-08-01 17:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975955557427959808,"note":"Value kept but may cause issues"} 
[2026-08-01 17:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785585959000,"timestamp_ms":1785585959000,"timestamp_seconds":1785585959,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd378058"} 
[2026-08-01 17:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-01 17:38:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17: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-08-01 17:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110003712001,"66":13504,"196":206,"85":15104,"24":50,"16":113504445056155648,"45":8975955557427959808},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-08-01 17:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110003712001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:38:03] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-01 17:38:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113504445056155648,"km_value":113504445056155.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975955557427959808,"description":"Unknown IO ID 45"} 
[2026-08-01 17:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110003712001,"power":13504,"unknown_196":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8975955557427959808}} 
[2026-08-01 17:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":146374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578294,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:38:03] local.INFO: GPS data processed {"connection_id":146374,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:38:03] local.INFO: Acknowledgment sent {"connection_id":146374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:38:05] local.INFO: TCP Data received {"connection_id":147374,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:38:05] local.INFO: Processing buffer {"connection_id":147374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:38:05] local.INFO: IMEI packet received {"connection_id":147374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":147374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:38:06] local.INFO: TCP Data received {"connection_id":147374,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd3676b8012d181f800721b168004d00cc26..."} 
[2026-08-01 17:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd3676b8012d181f800721b168004d00cc26..."} 
[2026-08-01 17:38:06] local.INFO: Processing buffer {"connection_id":147374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd3676b8012d181f800721b168004d00cc26..."} 
[2026-08-01 17:38:06] local.INFO: Packet analysis {"connection_id":147374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd36"} 
[2026-08-01 17:38:06] local.INFO: Extracted packet for processing {"connection_id":147374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd36"} 
[2026-08-01 17:38:06] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648616,"longitude_deg":75.6555648,"latitude_deg":11.9648616,"altitude":77,"angle":204,"satellites":38,"speed":2,"hex_longitude":"2d181f80","hex_latitude":"0721b168","is_valid_coordinates":true} 
[2026-08-01 17:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109984000001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291042288926720,"note":"Value kept but may cause issues"} 
[2026-08-01 17:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306798080,"note":"Value kept but may cause issues"} 
[2026-08-01 17:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785585891000,"timestamp_ms":1785585891000,"timestamp_seconds":1785585891,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd3676b8"} 
[2026-08-01 17:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-01 17:38:06] 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-08-01 17:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:38:06] 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-08-01 17:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109984000001,"66":12504,"105":206,"83":41984,"24":2,"16":10291042288926720,"45":1738248749306798080},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109984000001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:38:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:38:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291042288926720,"km_value":10291042288926.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306798080,"description":"Unknown IO ID 45"} 
[2026-08-01 17:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109984000001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1738248749306798080}} 
[2026-08-01 17:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":147374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578295,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:38:06] local.INFO: GPS data processed {"connection_id":147374,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:38:06] local.INFO: Acknowledgment sent {"connection_id":147374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:38:10] local.INFO: TCP Data received {"connection_id":146373,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:38:10] local.INFO: Processing buffer {"connection_id":146373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:38:10] local.INFO: IMEI packet received {"connection_id":146373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":146373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:38:15] local.INFO: TCP Data received {"connection_id":146373,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd380cf8012cec81c007273608001a01532f..."} 
[2026-08-01 17:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd380cf8012cec81c007273608001a01532f..."} 
[2026-08-01 17:38:15] local.INFO: Processing buffer {"connection_id":146373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd380cf8012cec81c007273608001a01532f..."} 
[2026-08-01 17:38:15] local.INFO: Packet analysis {"connection_id":146373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd38"} 
[2026-08-01 17:38:15] local.INFO: Extracted packet for processing {"connection_id":146373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd38"} 
[2026-08-01 17:38:15] local.INFO: GPS Element Parsed {"raw_longitude":753697216,"raw_latitude":120010248,"longitude_deg":75.3697216,"latitude_deg":12.0010248,"altitude":26,"angle":339,"satellites":47,"speed":54,"hex_longitude":"2cec81c0","hex_latitude":"07273608","is_valid_coordinates":true} 
[2026-08-01 17:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110012928001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366681291002740736,"note":"Value kept but may cause issues"} 
[2026-08-01 17:38:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1400900928368576512,"note":"Value kept but may cause issues"} 
[2026-08-01 17:38:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785585995000,"timestamp_ms":1785585995000,"timestamp_seconds":1785585995,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd380cf8"} 
[2026-08-01 17:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:38:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 17:38:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:38:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":146373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":146373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":146373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:38:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110012928001,"66":27745,"188":206,"83":44032,"24":54,"16":366681291002740736,"44":-1400900928368576512},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,83,24,16,44]} 
[2026-08-01 17:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110012928001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:38:15] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-01 17:38:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 17:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366681291002740736,"km_value":366681291002740.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:38:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1400900928368576512,"description":"Unknown IO ID 44"} 
[2026-08-01 17:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110012928001,"power":27745,"unknown_188":206,"unknown_83":44032,"ignition":54,"odometer":null,"unknown_44":-1400900928368576512}} 
[2026-08-01 17:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":146373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:38:15] local.INFO: GPS data processed {"connection_id":146373,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:38:15] local.INFO: Acknowledgment sent {"connection_id":146373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:38:37] local.INFO: TCP Data received {"connection_id":147374,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd36c8c0012d181ec00721b0a0004d00cd27..."} 
[2026-08-01 17:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd36c8c0012d181ec00721b0a0004d00cd27..."} 
[2026-08-01 17:38:37] local.INFO: Processing buffer {"connection_id":147374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd36c8c0012d181ec00721b0a0004d00cd27..."} 
[2026-08-01 17:38:37] local.INFO: Packet analysis {"connection_id":147374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd36"} 
[2026-08-01 17:38:37] local.INFO: Extracted packet for processing {"connection_id":147374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd36"} 
[2026-08-01 17:38:37] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648416,"longitude_deg":75.6555456,"latitude_deg":11.9648416,"altitude":77,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b0a0","is_valid_coordinates":true} 
[2026-08-01 17:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109988096001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291055173828608,"note":"Value kept but may cause issues"} 
[2026-08-01 17:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306701824,"note":"Value kept but may cause issues"} 
[2026-08-01 17:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785585912000,"timestamp_ms":1785585912000,"timestamp_seconds":1785585912,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd36c8c0"} 
[2026-08-01 17:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:38: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-08-01 17:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-01 17:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:38:37] 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-08-01 17:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109988096001,"66":12526,"105":206,"83":41984,"24":0,"16":10291055173828608,"45":1738248749306701824},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109988096001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:38:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:38:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291055173828608,"km_value":10291055173828.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306701824,"description":"Unknown IO ID 45"} 
[2026-08-01 17:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109988096001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306701824}} 
[2026-08-01 17:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":147374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:38:37] local.INFO: GPS data processed {"connection_id":147374,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:38:37] local.INFO: Acknowledgment sent {"connection_id":147374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:38:38] local.INFO: TCP Data received {"connection_id":146374,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd398010012d7ceb8005d641e8000000af0e..."} 
[2026-08-01 17:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd398010012d7ceb8005d641e8000000af0e..."} 
[2026-08-01 17:38:38] local.INFO: Processing buffer {"connection_id":146374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd398010012d7ceb8005d641e8000000af0e..."} 
[2026-08-01 17:38:38] local.INFO: Packet analysis {"connection_id":146374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd39"} 
[2026-08-01 17:38:38] local.INFO: Extracted packet for processing {"connection_id":146374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd39"} 
[2026-08-01 17:38:38] local.INFO: GPS Element Parsed {"raw_longitude":763161472,"raw_latitude":97927656,"longitude_deg":76.3161472,"latitude_deg":9.7927656,"altitude":0,"angle":175,"satellites":14,"speed":47,"hex_longitude":"2d7ceb80","hex_latitude":"05d641e8","is_valid_coordinates":true} 
[2026-08-01 17:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110036992001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113510299096580096,"note":"Value kept but may cause issues"} 
[2026-08-01 17:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9000936461581045760,"note":"Value kept but may cause issues"} 
[2026-08-01 17:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785586090000,"timestamp_ms":1785586090000,"timestamp_seconds":1785586090,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd398010"} 
[2026-08-01 17:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:38:38] 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-08-01 17:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-01 17:38:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-01 17:38:38] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3174596160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:38:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-01 17:38:38] local.WARNING: Large IO value detected {"io_id":214,"raw_value":4046979072,"note":"Value kept but may cause issues"} 
[2026-08-01 17:38:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2803826894,"corrected_to":0} 
[2026-08-01 17:38:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":382740,"corrected_to":0} 
[2026-08-01 17:38:38] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3610822656,"note":"Value kept but may cause issues"} 
[2026-08-01 17:38:38] local.WARNING: Large IO value detected {"io_id":160,"raw_value":57797765757818171,"note":"Value kept but may cause issues"} 
[2026-08-01 17:38:38] local.WARNING: Large IO value detected {"io_id":56,"raw_value":6282522775058841605,"note":"Value kept but may cause issues"} 
[2026-08-01 17:38:38] local.WARNING: Large IO value detected {"io_id":215,"raw_value":6584262655226481920,"note":"Value kept but may cause issues"} 
[2026-08-01 17:38:38] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,30,85,24,241,157,16,68,159,61,45,137,14,10,66,18,173,31,67,235,1,240,94,227,189,214,4,113,205,43,165,200,248,239,52,195,2,147,5,33,160,56,215],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2803826894,"validated":0},{"io_id":200,"original":382740,"validated":0}]} 
[2026-08-01 17:38:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":191375155593216,"timestamp_seconds":191375155593.216,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 17:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:38:38] 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-08-01 17:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110036992001,"66":13363,"30":206,"85":15104,"24":47,"16":113510299096580096,"45":9000936461581045760},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-08-01 17:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110036992001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:38:38] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-01 17:38:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113510299096580096,"km_value":113510299096580.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9000936461581045760,"description":"Unknown IO ID 45"} 
[2026-08-01 17:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110036992001,"power":13363,"unknown_30":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":9000936461581045760}} 
[2026-08-01 17:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":146374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578298,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:38:38] local.INFO: GPS data processed {"connection_id":146374,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:38:38] local.INFO: Acknowledgment sent {"connection_id":146374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:38:43] local.INFO: TCP Data received {"connection_id":147375,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:38:43] local.INFO: Processing buffer {"connection_id":147375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:38:43] local.INFO: IMEI packet received {"connection_id":147375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 17:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":147375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:38:48] local.INFO: TCP Data received {"connection_id":147375,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:38:48] local.INFO: Processing buffer {"connection_id":147375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:38:48] local.INFO: IMEI packet received {"connection_id":147375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":147375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:38:49] local.INFO: TCP Data received {"connection_id":147375,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd382850012cec774007275a080017015e2e..."} 
[2026-08-01 17:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd382850012cec774007275a080017015e2e..."} 
[2026-08-01 17:38:49] local.INFO: Processing buffer {"connection_id":147375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd382850012cec774007275a080017015e2e..."} 
[2026-08-01 17:38:49] local.INFO: Packet analysis {"connection_id":147375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd38"} 
[2026-08-01 17:38:49] local.INFO: Extracted packet for processing {"connection_id":147375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd38"} 
[2026-08-01 17:38:49] local.INFO: GPS Element Parsed {"raw_longitude":753694528,"raw_latitude":120019464,"longitude_deg":75.3694528,"latitude_deg":12.0019464,"altitude":23,"angle":350,"satellites":46,"speed":54,"hex_longitude":"2cec7740","hex_latitude":"07275a08","is_valid_coordinates":true} 
[2026-08-01 17:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110014720001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366681754859208704,"note":"Value kept but may cause issues"} 
[2026-08-01 17:38:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1404630471807727616,"note":"Value kept but may cause issues"} 
[2026-08-01 17:38:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785586002000,"timestamp_ms":1785586002000,"timestamp_seconds":1785586002,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd382850"} 
[2026-08-01 17:38:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:38: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-08-01 17:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 17:38:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:38:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:38:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:38:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110014720001,"66":27800,"188":206,"83":44032,"24":54,"16":366681754859208704,"44":-1404630471807727616},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,83,24,16,44]} 
[2026-08-01 17:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110014720001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:38:49] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-01 17:38:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 17:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366681754859208704,"km_value":366681754859208.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:38:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1404630471807727616,"description":"Unknown IO ID 44"} 
[2026-08-01 17:38:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110014720001,"power":27800,"unknown_188":206,"unknown_83":44032,"ignition":54,"odometer":null,"unknown_44":-1404630471807727616}} 
[2026-08-01 17:38:49] local.INFO: DEBUG: GPS processor result {"connection_id":147375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:38:49] local.INFO: GPS data processed {"connection_id":147375,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:38:49] local.INFO: Acknowledgment sent {"connection_id":147375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:38:58] local.INFO: TCP Data received {"connection_id":146375,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146375,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:38:58] local.INFO: Processing buffer {"connection_id":146375,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:38:58] local.INFO: IMEI packet received {"connection_id":146375,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 17:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":146375,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:39:03] local.INFO: TCP Data received {"connection_id":146375,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146375,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:39:03] local.INFO: Processing buffer {"connection_id":146375,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:39:03] local.INFO: IMEI packet received {"connection_id":146375,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 17:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":146375,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:39:04] local.INFO: TCP Data received {"connection_id":146375,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd399f50012d7cef0005d61dd8000000af0b..."} 
[2026-08-01 17:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd399f50012d7cef0005d61dd8000000af0b..."} 
[2026-08-01 17:39:04] local.INFO: Processing buffer {"connection_id":146375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd399f50012d7cef0005d61dd8000000af0b..."} 
[2026-08-01 17:39:04] local.INFO: Packet analysis {"connection_id":146375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd39"} 
[2026-08-01 17:39:04] local.INFO: Extracted packet for processing {"connection_id":146375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd39"} 
[2026-08-01 17:39:04] local.INFO: GPS Element Parsed {"raw_longitude":763162368,"raw_latitude":97918424,"longitude_deg":76.3162368,"latitude_deg":9.7918424,"altitude":0,"angle":175,"satellites":11,"speed":49,"hex_longitude":"2d7cef00","hex_latitude":"05d61dd8","is_valid_coordinates":true} 
[2026-08-01 17:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110039040001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113510750068146176,"note":"Value kept but may cause issues"} 
[2026-08-01 17:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001429042787903488,"note":"Value kept but may cause issues"} 
[2026-08-01 17:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785586098000,"timestamp_ms":1785586098000,"timestamp_seconds":1785586098,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd399f50"} 
[2026-08-01 17:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:39:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-01 17:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:39:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146375,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146375,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110039040001,"66":13624,"30":206,"85":15104,"24":49,"16":113510750068146176,"45":9001429042787903488},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-08-01 17:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110039040001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:39:04] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-01 17:39:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113510750068146176,"km_value":113510750068146.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001429042787903488,"description":"Unknown IO ID 45"} 
[2026-08-01 17:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110039040001,"power":13624,"unknown_30":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":9001429042787903488}} 
[2026-08-01 17:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":146375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578300,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:39:04] local.INFO: GPS data processed {"connection_id":146375,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:39:04] local.INFO: Acknowledgment sent {"connection_id":146375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:39:05] local.INFO: TCP Data received {"connection_id":148679,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:39:05] local.INFO: Processing buffer {"connection_id":148679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:39:05] local.INFO: IMEI packet received {"connection_id":148679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":148679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:39:10] local.INFO: TCP Data received {"connection_id":148679,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:39:10] local.INFO: Processing buffer {"connection_id":148679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:39:10] local.INFO: IMEI packet received {"connection_id":148679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":148679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:39:11] local.INFO: TCP Data received {"connection_id":148679,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd371ac8012d181ec00721b0a0004d00cd27..."} 
[2026-08-01 17:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd371ac8012d181ec00721b0a0004d00cd27..."} 
[2026-08-01 17:39:11] local.INFO: Processing buffer {"connection_id":148679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd371ac8012d181ec00721b0a0004d00cd27..."} 
[2026-08-01 17:39:11] local.INFO: Packet analysis {"connection_id":148679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd37"} 
[2026-08-01 17:39:11] local.INFO: Extracted packet for processing {"connection_id":148679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd37"} 
[2026-08-01 17:39:11] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648416,"longitude_deg":75.6555456,"latitude_deg":11.9648416,"altitude":77,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b0a0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 17:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109993472001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291055173828608,"note":"Value kept but may cause issues"} 
[2026-08-01 17:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074117632,"note":"Value kept but may cause issues"} 
[2026-08-01 17: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-08-01 17:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785585933000,"timestamp_ms":1785585933000,"timestamp_seconds":1785585933,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd371ac8"} 
[2026-08-01 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-08-01 17:39: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-08-01 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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-01 17:39: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-08-01 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-08-01 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-08-01 17:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":148679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":148679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":148679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:39:11] 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-08-01 17:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109993472001,"66":12504,"105":206,"83":41984,"24":0,"16":10291055173828608,"45":1738037643074117632},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109993472001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:39:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:39:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291055173828608,"km_value":10291055173828.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074117632,"description":"Unknown IO ID 45"} 
[2026-08-01 17:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109993472001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074117632}} 
[2026-08-01 17:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":148679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:39:11] local.INFO: GPS data processed {"connection_id":148679,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:39:11] local.INFO: Acknowledgment sent {"connection_id":148679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:39:15] local.INFO: TCP Data received {"connection_id":148679,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd376cd0012d181ec00721b0a0004d00cd27..."} 
[2026-08-01 17:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd376cd0012d181ec00721b0a0004d00cd27..."} 
[2026-08-01 17:39:15] local.INFO: Processing buffer {"connection_id":148679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd376cd0012d181ec00721b0a0004d00cd27..."} 
[2026-08-01 17:39:15] local.INFO: Packet analysis {"connection_id":148679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd37"} 
[2026-08-01 17:39:15] local.INFO: Extracted packet for processing {"connection_id":148679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd37"} 
[2026-08-01 17:39:15] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648416,"longitude_deg":75.6555456,"latitude_deg":11.9648416,"altitude":77,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b0a0","is_valid_coordinates":true} 
[2026-08-01 17:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457109998848001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291055173828608,"note":"Value kept but may cause issues"} 
[2026-08-01 17:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074117632,"note":"Value kept but may cause issues"} 
[2026-08-01 17:39: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-08-01 17:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785585954000,"timestamp_ms":1785585954000,"timestamp_seconds":1785585954,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd376cd0"} 
[2026-08-01 17:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:39: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-08-01 17:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-01 17:39:15] 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-08-01 17:39:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:39:15] 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-08-01 17:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457109998848001,"66":12526,"105":206,"83":41984,"24":0,"16":10291055173828608,"45":1738037643074117632},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457109998848001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:39:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:39:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291055173828608,"km_value":10291055173828.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074117632,"description":"Unknown IO ID 45"} 
[2026-08-01 17:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457109998848001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074117632}} 
[2026-08-01 17:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":148679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:39:15] local.INFO: GPS data processed {"connection_id":148679,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:39:15] local.INFO: Acknowledgment sent {"connection_id":148679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:39:20] local.INFO: TCP Data received {"connection_id":148679,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd37bed8012d181ec00721b0a0004d00cd25..."} 
[2026-08-01 17:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd37bed8012d181ec00721b0a0004d00cd25..."} 
[2026-08-01 17:39:20] local.INFO: Processing buffer {"connection_id":148679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd37bed8012d181ec00721b0a0004d00cd25..."} 
[2026-08-01 17:39:20] local.INFO: Packet analysis {"connection_id":148679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd37"} 
[2026-08-01 17:39:20] local.INFO: Extracted packet for processing {"connection_id":148679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd37"} 
[2026-08-01 17:39:20] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648416,"longitude_deg":75.6555456,"latitude_deg":11.9648416,"altitude":77,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b0a0","is_valid_coordinates":true} 
[2026-08-01 17:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110004224001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291055173828608,"note":"Value kept but may cause issues"} 
[2026-08-01 17:39:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074117632,"note":"Value kept but may cause issues"} 
[2026-08-01 17:39: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-08-01 17:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785585975000,"timestamp_ms":1785585975000,"timestamp_seconds":1785585975,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd37bed8"} 
[2026-08-01 17:39:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:39: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-08-01 17:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-01 17:39:20] 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-08-01 17:39:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:39:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:39:20] 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-08-01 17:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110004224001,"66":12515,"105":206,"83":41984,"24":0,"16":10291055173828608,"45":1738037643074117632},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110004224001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:39:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:39:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291055173828608,"km_value":10291055173828.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:39:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074117632,"description":"Unknown IO ID 45"} 
[2026-08-01 17:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110004224001,"power":12515,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074117632}} 
[2026-08-01 17:39:20] local.INFO: DEBUG: GPS processor result {"connection_id":148679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:39:20] local.INFO: GPS data processed {"connection_id":148679,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:39:20] local.INFO: Acknowledgment sent {"connection_id":148679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:39:21] local.INFO: TCP Data received {"connection_id":147375,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd383bd8012cec7580072774380014000030..."} 
[2026-08-01 17:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd383bd8012cec7580072774380014000030..."} 
[2026-08-01 17:39:21] local.INFO: Processing buffer {"connection_id":147375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd383bd8012cec7580072774380014000030..."} 
[2026-08-01 17:39:21] local.INFO: Packet analysis {"connection_id":147375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd38"} 
[2026-08-01 17:39:21] local.INFO: Extracted packet for processing {"connection_id":147375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd38"} 
[2026-08-01 17:39:21] local.INFO: GPS Element Parsed {"raw_longitude":753694080,"raw_latitude":120026168,"longitude_deg":75.369408,"latitude_deg":12.0026168,"altitude":20,"angle":0,"satellites":48,"speed":53,"hex_longitude":"2cec7580","hex_latitude":"07277438","is_valid_coordinates":true} 
[2026-08-01 17:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110016512001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366682081276723200,"note":"Value kept but may cause issues"} 
[2026-08-01 17:39:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1407585959060830208,"note":"Value kept but may cause issues"} 
[2026-08-01 17:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785586007000,"timestamp_ms":1785586007000,"timestamp_seconds":1785586007,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd383bd8"} 
[2026-08-01 17:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 17:39:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:39:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:39:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110016512001,"66":27919,"188":206,"83":44032,"24":53,"16":366682081276723200,"44":-1407585959060830208},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,83,24,16,44]} 
[2026-08-01 17:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110016512001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:39:21] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-01 17:39:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 17:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366682081276723200,"km_value":366682081276723.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:39:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1407585959060830208,"description":"Unknown IO ID 44"} 
[2026-08-01 17:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110016512001,"power":27919,"unknown_188":206,"unknown_83":44032,"ignition":53,"odometer":null,"unknown_44":-1407585959060830208}} 
[2026-08-01 17:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":147375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:39:21] local.INFO: GPS data processed {"connection_id":147375,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:39:21] local.INFO: Acknowledgment sent {"connection_id":147375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:39:35] local.INFO: TCP Data received {"connection_id":146375,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd39be90012d7cf34005d5f6a0000000aa0b..."} 
[2026-08-01 17:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd39be90012d7cf34005d5f6a0000000aa0b..."} 
[2026-08-01 17:39:35] local.INFO: Processing buffer {"connection_id":146375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd39be90012d7cf34005d5f6a0000000aa0b..."} 
[2026-08-01 17:39:35] local.INFO: Packet analysis {"connection_id":146375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd39"} 
[2026-08-01 17:39:35] local.INFO: Extracted packet for processing {"connection_id":146375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd39"} 
[2026-08-01 17:39:35] local.INFO: GPS Element Parsed {"raw_longitude":763163456,"raw_latitude":97908384,"longitude_deg":76.3163456,"latitude_deg":9.7908384,"altitude":0,"angle":170,"satellites":11,"speed":51,"hex_longitude":"2d7cf340","hex_latitude":"05d5f6a0","is_valid_coordinates":true} 
[2026-08-01 17:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110041088001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511239694417920,"note":"Value kept but may cause issues"} 
[2026-08-01 17:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9002414205204027392,"note":"Value kept but may cause issues"} 
[2026-08-01 17:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785586106000,"timestamp_ms":1785586106000,"timestamp_seconds":1785586106,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd39be90"} 
[2026-08-01 17:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:39:35] 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-08-01 17:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-01 17:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146375,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146375,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110041088001,"66":13472,"30":206,"85":15104,"24":51,"16":113511239694417920,"45":9002414205204027392},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-08-01 17:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110041088001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:39:35] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-01 17:39:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511239694417920,"km_value":113511239694417.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9002414205204027392,"description":"Unknown IO ID 45"} 
[2026-08-01 17:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110041088001,"power":13472,"unknown_30":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":9002414205204027392}} 
[2026-08-01 17:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":146375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578305,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:39:35] local.INFO: GPS data processed {"connection_id":146375,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:39:35] local.INFO: Acknowledgment sent {"connection_id":146375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:39:46] local.INFO: TCP Data received {"connection_id":146376,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:39:46] local.INFO: Processing buffer {"connection_id":146376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:39:46] local.INFO: IMEI packet received {"connection_id":146376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 17:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":146376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:39:48] local.INFO: TCP Data received {"connection_id":146376,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:39:48] local.INFO: Processing buffer {"connection_id":146376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:39:48] local.INFO: IMEI packet received {"connection_id":146376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":146376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:39:54] local.INFO: TCP Data received {"connection_id":146376,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:39:54] local.INFO: Processing buffer {"connection_id":146376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:39:54] local.INFO: IMEI packet received {"connection_id":146376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":146376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:39:54] local.INFO: TCP Data received {"connection_id":146376,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd39fd10012cec55800728fcc8000f01662b..."} 
[2026-08-01 17:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd39fd10012cec55800728fcc8000f01662b..."} 
[2026-08-01 17:39:54] local.INFO: Processing buffer {"connection_id":146376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd39fd10012cec55800728fcc8000f01662b..."} 
[2026-08-01 17:39:54] local.INFO: Packet analysis {"connection_id":146376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd39"} 
[2026-08-01 17:39:54] local.INFO: Extracted packet for processing {"connection_id":146376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd39"} 
[2026-08-01 17:39:54] local.INFO: GPS Element Parsed {"raw_longitude":753685888,"raw_latitude":120126664,"longitude_deg":75.3685888,"latitude_deg":12.0126664,"altitude":15,"angle":358,"satellites":43,"speed":30,"hex_longitude":"2cec5580","hex_latitude":"0728fcc8","is_valid_coordinates":true} 
[2026-08-01 17:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110044416001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366686981834407936,"note":"Value kept but may cause issues"} 
[2026-08-01 17:39:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1416311683313756160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:39:54] 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-08-01 17:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785586122000,"timestamp_ms":1785586122000,"timestamp_seconds":1785586122,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd39fd10"} 
[2026-08-01 17:39:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:39:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 17:39:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17: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-08-01 17:39:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:39:54] 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-08-01 17:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110044416001,"66":27865,"61":206,"83":44032,"24":30,"16":366686981834407936,"44":-1416311683313756160},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-08-01 17:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110044416001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:39:54] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-01 17:39:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 17:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366686981834407936,"km_value":366686981834407.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:39:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1416311683313756160,"description":"Unknown IO ID 44"} 
[2026-08-01 17:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110044416001,"power":27865,"unknown_61":206,"unknown_83":44032,"ignition":30,"odometer":null,"unknown_44":-1416311683313756160}} 
[2026-08-01 17:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":146376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:39:54] local.INFO: GPS data processed {"connection_id":146376,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:39:54] local.INFO: Acknowledgment sent {"connection_id":146376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:39:58] local.INFO: TCP Data received {"connection_id":146143,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146143,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:39:58] local.INFO: Processing buffer {"connection_id":146143,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:39:58] local.INFO: IMEI packet received {"connection_id":146143,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 17:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":146143,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:40:00] local.INFO: TCP Data received {"connection_id":146144,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:40:00] local.INFO: Processing buffer {"connection_id":146144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:40:00] local.INFO: IMEI packet received {"connection_id":146144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":146144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:40:01] local.INFO: TCP Data received {"connection_id":146143,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146143,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:40:01] local.INFO: Processing buffer {"connection_id":146143,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:40:01] local.INFO: IMEI packet received {"connection_id":146143,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 17:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":146143,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:40:02] local.INFO: TCP Data received {"connection_id":146144,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:40:02] local.INFO: Processing buffer {"connection_id":146144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:40:02] local.INFO: IMEI packet received {"connection_id":146144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":146144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:40:02] local.INFO: TCP Data received {"connection_id":146143,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd39d9e8012d7cfe0005d5d4f8000000a20f..."} 
[2026-08-01 17:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd39d9e8012d7cfe0005d5d4f8000000a20f..."} 
[2026-08-01 17:40:02] local.INFO: Processing buffer {"connection_id":146143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd39d9e8012d7cfe0005d5d4f8000000a20f..."} 
[2026-08-01 17:40:02] local.INFO: Packet analysis {"connection_id":146143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd39"} 
[2026-08-01 17:40:02] local.INFO: Extracted packet for processing {"connection_id":146143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd39"} 
[2026-08-01 17:40:02] local.INFO: GPS Element Parsed {"raw_longitude":763166208,"raw_latitude":97899768,"longitude_deg":76.3166208,"latitude_deg":9.7899768,"altitude":0,"angle":162,"satellites":15,"speed":50,"hex_longitude":"2d7cfe00","hex_latitude":"05d5d4f8","is_valid_coordinates":true} 
[2026-08-01 17:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110043136001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511677781082112,"note":"Value kept but may cause issues"} 
[2026-08-01 17:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003610473852477440,"note":"Value kept but may cause issues"} 
[2026-08-01 17:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785586113000,"timestamp_ms":1785586113000,"timestamp_seconds":1785586113,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd39d9e8"} 
[2026-08-01 17:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:40: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-08-01 17:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-01 17:40:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:40:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110043136001,"66":13428,"30":206,"85":15104,"24":50,"16":113511677781082112,"45":9003610473852477440},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-08-01 17:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110043136001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:40:02] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-01 17:40:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511677781082112,"km_value":113511677781082.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003610473852477440,"description":"Unknown IO ID 45"} 
[2026-08-01 17:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110043136001,"power":13428,"unknown_30":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":9003610473852477440}} 
[2026-08-01 17:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":146143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578307,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:40:02] local.INFO: GPS data processed {"connection_id":146143,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:40:02] local.INFO: Acknowledgment sent {"connection_id":146143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:40:02] local.INFO: TCP Data received {"connection_id":146144,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd3810e0012d181ec00721b0a0004d00cd25..."} 
[2026-08-01 17:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd3810e0012d181ec00721b0a0004d00cd25..."} 
[2026-08-01 17:40:02] local.INFO: Processing buffer {"connection_id":146144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd3810e0012d181ec00721b0a0004d00cd25..."} 
[2026-08-01 17:40:02] local.INFO: Packet analysis {"connection_id":146144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd38"} 
[2026-08-01 17:40:02] local.INFO: Extracted packet for processing {"connection_id":146144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd38"} 
[2026-08-01 17:40:02] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648416,"longitude_deg":75.6555456,"latitude_deg":11.9648416,"altitude":77,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b0a0","is_valid_coordinates":true} 
[2026-08-01 17:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110009600001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291055173828608,"note":"Value kept but may cause issues"} 
[2026-08-01 17:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074117632,"note":"Value kept but may cause issues"} 
[2026-08-01 17:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785585996000,"timestamp_ms":1785585996000,"timestamp_seconds":1785585996,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd3810e0"} 
[2026-08-01 17:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:40:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-01 17:40:02] 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-08-01 17:40:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110009600001,"66":12504,"105":206,"83":41984,"24":0,"16":10291055173828608,"45":1738037643074117632},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110009600001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:40:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:40:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291055173828608,"km_value":10291055173828.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074117632,"description":"Unknown IO ID 45"} 
[2026-08-01 17:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110009600001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074117632}} 
[2026-08-01 17:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":146144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:40:02] local.INFO: GPS data processed {"connection_id":146144,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:40:02] local.INFO: Acknowledgment sent {"connection_id":146144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:40:29] local.INFO: TCP Data received {"connection_id":146376,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd3a2bf0012cec560007291f60001500042d..."} 
[2026-08-01 17:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd3a2bf0012cec560007291f60001500042d..."} 
[2026-08-01 17:40:29] local.INFO: Processing buffer {"connection_id":146376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd3a2bf0012cec560007291f60001500042d..."} 
[2026-08-01 17:40:29] local.INFO: Packet analysis {"connection_id":146376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd3a"} 
[2026-08-01 17:40:29] local.INFO: Extracted packet for processing {"connection_id":146376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd3a"} 
[2026-08-01 17:40:29] local.INFO: GPS Element Parsed {"raw_longitude":753686016,"raw_latitude":120135520,"longitude_deg":75.3686016,"latitude_deg":12.013552,"altitude":21,"angle":4,"satellites":45,"speed":27,"hex_longitude":"2cec5600","hex_latitude":"07291f60","is_valid_coordinates":true} 
[2026-08-01 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-08-01 17:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110047232001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366687411331137536,"note":"Value kept but may cause issues"} 
[2026-08-01 17:40:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1417085739497371648,"note":"Value kept but may cause issues"} 
[2026-08-01 17:40:29] 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-08-01 17:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785586134000,"timestamp_ms":1785586134000,"timestamp_seconds":1785586134,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd3a2bf0"} 
[2026-08-01 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-08-01 17:40: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-08-01 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 17:40: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-08-01 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-08-01 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-08-01 17:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":146376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":146376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":146376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:40: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-08-01 17:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110047232001,"66":27843,"61":206,"83":44032,"24":27,"16":366687411331137536,"44":-1417085739497371648},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-08-01 17:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110047232001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:40:29] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-01 17:40:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 17:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366687411331137536,"km_value":366687411331137.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:40:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1417085739497371648,"description":"Unknown IO ID 44"} 
[2026-08-01 17:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110047232001,"power":27843,"unknown_61":206,"unknown_83":44032,"ignition":27,"odometer":null,"unknown_44":-1417085739497371648}} 
[2026-08-01 17:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":146376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:40:29] local.INFO: GPS data processed {"connection_id":146376,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:40:29] local.INFO: Acknowledgment sent {"connection_id":146376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:40:33] local.INFO: TCP Data received {"connection_id":146143,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd3b8f68012d7dc5c005d57f58000d007a0f..."} 
[2026-08-01 17:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd3b8f68012d7dc5c005d57f58000d007a0f..."} 
[2026-08-01 17:40:33] local.INFO: Processing buffer {"connection_id":146143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd3b8f68012d7dc5c005d57f58000d007a0f..."} 
[2026-08-01 17:40:33] local.INFO: Packet analysis {"connection_id":146143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd3b"} 
[2026-08-01 17:40:33] local.INFO: Extracted packet for processing {"connection_id":146143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd3b"} 
[2026-08-01 17:40:33] local.INFO: GPS Element Parsed {"raw_longitude":763217344,"raw_latitude":97877848,"longitude_deg":76.3217344,"latitude_deg":9.7877848,"altitude":13,"angle":122,"satellites":15,"speed":16,"hex_longitude":"2d7dc5c0","hex_latitude":"05d57f58","is_valid_coordinates":true} 
[2026-08-01 17:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110073344001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113515019265638400,"note":"Value kept but may cause issues"} 
[2026-08-01 17:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9062438743977248768,"note":"Value kept but may cause issues"} 
[2026-08-01 17:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785586225000,"timestamp_ms":1785586225000,"timestamp_seconds":1785586225,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd3b8f68"} 
[2026-08-01 17:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-01 17:40:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-01 17:40:33] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3174771160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:40:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-01 17:40:33] local.WARNING: Large IO value detected {"io_id":138,"raw_value":57888174819398971,"note":"Value kept but may cause issues"} 
[2026-08-01 17:40:33] local.WARNING: Large IO value detected {"io_id":213,"raw_value":8899112919523266304,"note":"Value kept but may cause issues"} 
[2026-08-01 17:40:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2835153102,"corrected_to":0} 
[2026-08-01 17:40:33] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":852057,"corrected_to":0} 
[2026-08-01 17:40:33] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3581640704,"note":"Value kept but may cause issues"} 
[2026-08-01 17:40:33] local.WARNING: Large IO value detected {"io_id":59,"raw_value":3015161245417095173,"note":"Value kept but may cause issues"} 
[2026-08-01 17:40:33] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,253,85,24,241,157,16,73,159,135,45,64,128,13,14,10,66,112,125,15,192,1,240,138,227,189,213,4,113,205,17,57,165,200,239,52,2,147,5,26,59],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2835153102,"validated":0},{"io_id":200,"original":852057,"validated":0}]} 
[2026-08-01 17:40:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936866434662727680,"timestamp_seconds":936866434662727.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 17:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110073344001,"66":13319,"253":206,"85":15104,"24":16,"16":113515019265638400,"45":9062438743977248768},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-08-01 17:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110073344001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:40:33] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-08-01 17:40:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113515019265638400,"km_value":113515019265638.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9062438743977248768,"description":"Unknown IO ID 45"} 
[2026-08-01 17:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110073344001,"power":13319,"unknown_253":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":9062438743977248768}} 
[2026-08-01 17:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":146143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578310,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:40:33] local.INFO: GPS data processed {"connection_id":146143,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:40:33] local.INFO: Acknowledgment sent {"connection_id":146143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:40:33] local.INFO: TCP Data received {"connection_id":146144,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd3862e8012d181ec00721b0a0004d00cd25..."} 
[2026-08-01 17:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd3862e8012d181ec00721b0a0004d00cd25..."} 
[2026-08-01 17:40:33] local.INFO: Processing buffer {"connection_id":146144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd3862e8012d181ec00721b0a0004d00cd25..."} 
[2026-08-01 17:40:33] local.INFO: Packet analysis {"connection_id":146144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd38"} 
[2026-08-01 17:40:33] local.INFO: Extracted packet for processing {"connection_id":146144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd38"} 
[2026-08-01 17:40:33] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648416,"longitude_deg":75.6555456,"latitude_deg":11.9648416,"altitude":77,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b0a0","is_valid_coordinates":true} 
[2026-08-01 17:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110014976001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291055173828608,"note":"Value kept but may cause issues"} 
[2026-08-01 17:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074117632,"note":"Value kept but may cause issues"} 
[2026-08-01 17:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785586017000,"timestamp_ms":1785586017000,"timestamp_seconds":1785586017,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd3862e8"} 
[2026-08-01 17:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-01 17:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:40:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110014976001,"66":12504,"105":206,"83":41984,"24":0,"16":10291055173828608,"45":1738037643074117632},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110014976001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:40:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:40:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291055173828608,"km_value":10291055173828.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074117632,"description":"Unknown IO ID 45"} 
[2026-08-01 17:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110014976001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074117632}} 
[2026-08-01 17:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":146144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:40:33] local.INFO: GPS data processed {"connection_id":146144,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:40:33] local.INFO: Acknowledgment sent {"connection_id":146144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:40:44] local.INFO: TCP Data received {"connection_id":148680,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:40:44] local.INFO: Processing buffer {"connection_id":148680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:40:44] local.INFO: IMEI packet received {"connection_id":148680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 17:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":148680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:40:49] local.INFO: TCP Data received {"connection_id":148680,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:40:49] local.INFO: Processing buffer {"connection_id":148680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:40:49] local.INFO: IMEI packet received {"connection_id":148680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":148680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:40:49] local.INFO: TCP Data received {"connection_id":148680,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd3a6688012cec5b00072942a8001b00072a..."} 
[2026-08-01 17:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd3a6688012cec5b00072942a8001b00072a..."} 
[2026-08-01 17:40:49] local.INFO: Processing buffer {"connection_id":148680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd3a6688012cec5b00072942a8001b00072a..."} 
[2026-08-01 17:40:49] local.INFO: Packet analysis {"connection_id":148680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd3a"} 
[2026-08-01 17:40:49] local.INFO: Extracted packet for processing {"connection_id":148680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd3a"} 
[2026-08-01 17:40:49] local.INFO: GPS Element Parsed {"raw_longitude":753687296,"raw_latitude":120144552,"longitude_deg":75.3687296,"latitude_deg":12.0144552,"altitude":27,"angle":7,"satellites":42,"speed":22,"hex_longitude":"2cec5b00","hex_latitude":"072942a8","is_valid_coordinates":true} 
[2026-08-01 17:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110050304001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366687853712769024,"note":"Value kept but may cause issues"} 
[2026-08-01 17:40:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1416945002006749184,"note":"Value kept but may cause issues"} 
[2026-08-01 17:40:49] 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-08-01 17:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785586149000,"timestamp_ms":1785586149000,"timestamp_seconds":1785586149,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd3a6688"} 
[2026-08-01 17:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:40:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 17:40:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:40:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:40:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110050304001,"66":27865,"171":206,"83":44032,"24":22,"16":366687853712769024,"44":-1416945002006749184},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,83,24,16,44]} 
[2026-08-01 17:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110050304001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:40:49] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-08-01 17:40:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 17:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366687853712769024,"km_value":366687853712769.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:40:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1416945002006749184,"description":"Unknown IO ID 44"} 
[2026-08-01 17:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110050304001,"power":27865,"unknown_171":206,"unknown_83":44032,"ignition":22,"odometer":null,"unknown_44":-1416945002006749184}} 
[2026-08-01 17:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":148680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:40:49] local.INFO: GPS data processed {"connection_id":148680,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:40:49] local.INFO: Acknowledgment sent {"connection_id":148680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:40:58] local.INFO: TCP Data received {"connection_id":148682,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148682,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:40:58] local.INFO: Processing buffer {"connection_id":148682,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:40:58] local.INFO: IMEI packet received {"connection_id":148682,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 17:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":148682,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:41:00] local.INFO: TCP Data received {"connection_id":148681,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:41:00] local.INFO: Processing buffer {"connection_id":148681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:41:00] local.INFO: IMEI packet received {"connection_id":148681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":148681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:41:04] local.INFO: TCP Data received {"connection_id":148682,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148682,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:41:04] local.INFO: Processing buffer {"connection_id":148682,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:41:04] local.INFO: IMEI packet received {"connection_id":148682,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 17:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":148682,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:41:05] local.INFO: TCP Data received {"connection_id":148681,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:41:05] local.INFO: Processing buffer {"connection_id":148681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:41:05] local.INFO: IMEI packet received {"connection_id":148681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":148681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:41:05] local.INFO: TCP Data received {"connection_id":148682,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd3b9350012d7dc74005d57e28000c00880f..."} 
[2026-08-01 17:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd3b9350012d7dc74005d57e28000c00880f..."} 
[2026-08-01 17:41:05] local.INFO: Processing buffer {"connection_id":148682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd3b9350012d7dc74005d57e28000c00880f..."} 
[2026-08-01 17:41:05] local.INFO: Packet analysis {"connection_id":148682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd3b"} 
[2026-08-01 17:41:05] local.INFO: Extracted packet for processing {"connection_id":148682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd3b"} 
[2026-08-01 17:41:05] local.INFO: GPS Element Parsed {"raw_longitude":763217728,"raw_latitude":97877544,"longitude_deg":76.3217728,"latitude_deg":9.7877544,"altitude":12,"angle":136,"satellites":15,"speed":15,"hex_longitude":"2d7dc740","hex_latitude":"05d57e28","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110073600001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113515040740474880,"note":"Value kept but may cause issues"} 
[2026-08-01 17:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9062860956442253312,"note":"Value kept but may cause issues"} 
[2026-08-01 17:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785586226000,"timestamp_ms":1785586226000,"timestamp_seconds":1785586226,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd3b9350"} 
[2026-08-01 17:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-01 17:41:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-01 17:41:05] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3174775160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:41:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-01 17:41:05] local.WARNING: Large IO value detected {"io_id":213,"raw_value":8899112919523266304,"note":"Value kept but may cause issues"} 
[2026-08-01 17:41:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2835153102,"corrected_to":0} 
[2026-08-01 17:41:05] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2315308456,"note":"Value kept but may cause issues"} 
[2026-08-01 17:41:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3581790208,"note":"Value kept but may cause issues"} 
[2026-08-01 17:41:05] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57888174819398971,"note":"Value kept but may cause issues"} 
[2026-08-01 17:41:05] local.WARNING: Large IO value detected {"io_id":59,"raw_value":3015161245417095173,"note":"Value kept but may cause issues"} 
[2026-08-01 17:41:05] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,253,85,24,241,157,16,73,159,139,45,64,128,13,15,10,66,135,14,112,1,240,46,227,189,213,4,113,205,61,167,80,239,52,2,147,5,18,7,59],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2835153102,"validated":0}]} 
[2026-08-01 17:41:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936882927337209856,"timestamp_seconds":936882927337209.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 17:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148682,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148682,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110073600001,"66":13602,"253":206,"85":15104,"24":15,"16":113515040740474880,"45":9062860956442253312},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-08-01 17:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110073600001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:41:05] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-08-01 17:41:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113515040740474880,"km_value":113515040740474.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9062860956442253312,"description":"Unknown IO ID 45"} 
[2026-08-01 17:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110073600001,"power":13602,"unknown_253":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":9062860956442253312}} 
[2026-08-01 17:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":148682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578313,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:41:05] local.INFO: GPS data processed {"connection_id":148682,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:41:05] local.INFO: Acknowledgment sent {"connection_id":148682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:41:20] local.INFO: TCP Data received {"connection_id":148680,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd3aa508012cec6280072965a00020000e2d..."} 
[2026-08-01 17:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd3aa508012cec6280072965a00020000e2d..."} 
[2026-08-01 17:41:20] local.INFO: Processing buffer {"connection_id":148680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd3aa508012cec6280072965a00020000e2d..."} 
[2026-08-01 17:41:20] local.INFO: Packet analysis {"connection_id":148680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd3a"} 
[2026-08-01 17:41:20] local.INFO: Extracted packet for processing {"connection_id":148680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd3a"} 
[2026-08-01 17:41:20] local.INFO: GPS Element Parsed {"raw_longitude":753689216,"raw_latitude":120153504,"longitude_deg":75.3689216,"latitude_deg":12.0153504,"altitude":32,"angle":14,"satellites":45,"speed":24,"hex_longitude":"2cec6280","hex_latitude":"072965a0","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110054144001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366688296094400512,"note":"Value kept but may cause issues"} 
[2026-08-01 17:41:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1415537627120883712,"note":"Value kept but may cause issues"} 
[2026-08-01 17:41:20] 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-08-01 17:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785586165000,"timestamp_ms":1785586165000,"timestamp_seconds":1785586165,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd3aa508"} 
[2026-08-01 17:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:41:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 17:41: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-08-01 17: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-08-01 17:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:41:20] 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-08-01 17:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110054144001,"66":27865,"171":206,"83":44032,"24":24,"16":366688296094400512,"44":-1415537627120883712},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,83,24,16,44]} 
[2026-08-01 17:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110054144001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:41:20] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-08-01 17:41:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 17:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366688296094400512,"km_value":366688296094400.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:41:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1415537627120883712,"description":"Unknown IO ID 44"} 
[2026-08-01 17:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110054144001,"power":27865,"unknown_171":206,"unknown_83":44032,"ignition":24,"odometer":null,"unknown_44":-1415537627120883712}} 
[2026-08-01 17:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":148680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:41:20] local.INFO: GPS data processed {"connection_id":148680,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:41:20] local.INFO: Acknowledgment sent {"connection_id":148680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:41:37] local.INFO: TCP Data received {"connection_id":148682,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd3b9b20012d7dc90005d57ac8000c00940f..."} 
[2026-08-01 17:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd3b9b20012d7dc90005d57ac8000c00940f..."} 
[2026-08-01 17:41:37] local.INFO: Processing buffer {"connection_id":148682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd3b9b20012d7dc90005d57ac8000c00940f..."} 
[2026-08-01 17:41:37] local.INFO: Packet analysis {"connection_id":148682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd3b"} 
[2026-08-01 17:41:37] local.INFO: Extracted packet for processing {"connection_id":148682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd3b"} 
[2026-08-01 17:41:37] local.INFO: GPS Element Parsed {"raw_longitude":763218176,"raw_latitude":97876680,"longitude_deg":76.3218176,"latitude_deg":9.787668,"altitude":12,"angle":148,"satellites":15,"speed":18,"hex_longitude":"2d7dc900","hex_latitude":"05d57ac8","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110073856001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113515087985115136,"note":"Value kept but may cause issues"} 
[2026-08-01 17:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9063283168907241472,"note":"Value kept but may cause issues"} 
[2026-08-01 17:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785586228000,"timestamp_ms":1785586228000,"timestamp_seconds":1785586228,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd3b9b20"} 
[2026-08-01 17:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-01 17:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17: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-08-01 17:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148682,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148682,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110073856001,"66":13363,"253":206,"85":15104,"24":18,"16":113515087985115136,"45":9063283168907241472},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-08-01 17:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110073856001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:41:37] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-08-01 17:41:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113515087985115136,"km_value":113515087985115.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9063283168907241472,"description":"Unknown IO ID 45"} 
[2026-08-01 17:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110073856001,"power":13363,"unknown_253":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":9063283168907241472}} 
[2026-08-01 17:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":148682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578315,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:41:37] local.INFO: GPS data processed {"connection_id":148682,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:41:37] local.INFO: Acknowledgment sent {"connection_id":148682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:41:43] local.INFO: TCP Data received {"connection_id":147376,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:41:43] local.INFO: Processing buffer {"connection_id":147376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:41:43] local.INFO: IMEI packet received {"connection_id":147376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 17:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":147376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:41:49] local.INFO: TCP Data received {"connection_id":147376,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:41:49] local.INFO: Processing buffer {"connection_id":147376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:41:49] local.INFO: IMEI packet received {"connection_id":147376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":147376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:41:49] local.INFO: TCP Data received {"connection_id":147376,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd3ad7d0012cec6bc0072987d0002200102c..."} 
[2026-08-01 17:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd3ad7d0012cec6bc0072987d0002200102c..."} 
[2026-08-01 17:41:49] local.INFO: Processing buffer {"connection_id":147376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd3ad7d0012cec6bc0072987d0002200102c..."} 
[2026-08-01 17:41:49] local.INFO: Packet analysis {"connection_id":147376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd3a"} 
[2026-08-01 17:41:49] local.INFO: Extracted packet for processing {"connection_id":147376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd3a"} 
[2026-08-01 17:41:49] local.INFO: GPS Element Parsed {"raw_longitude":753691584,"raw_latitude":120162256,"longitude_deg":75.3691584,"latitude_deg":12.0162256,"altitude":34,"angle":16,"satellites":44,"speed":31,"hex_longitude":"2cec6bc0","hex_latitude":"072987d0","is_valid_coordinates":true} 
[2026-08-01 17:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:41:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110058240001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366688738476032000,"note":"Value kept but may cause issues"} 
[2026-08-01 17:41:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1413426564793262080,"note":"Value kept but may cause issues"} 
[2026-08-01 17:41:49] 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-08-01 17:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785586178000,"timestamp_ms":1785586178000,"timestamp_seconds":1785586178,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd3ad7d0"} 
[2026-08-01 17:41:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:41:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 17:41:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:41:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:41:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:41:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:41:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110058240001,"66":27843,"171":206,"83":44032,"24":31,"16":366688738476032000,"44":-1413426564793262080},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,83,24,16,44]} 
[2026-08-01 17:41:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:41:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:41:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110058240001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:41:49] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-08-01 17:41:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 17:41:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366688738476032000,"km_value":366688738476032,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:41:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1413426564793262080,"description":"Unknown IO ID 44"} 
[2026-08-01 17:41:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110058240001,"power":27843,"unknown_171":206,"unknown_83":44032,"ignition":31,"odometer":null,"unknown_44":-1413426564793262080}} 
[2026-08-01 17:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":147376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:41:49] local.INFO: GPS data processed {"connection_id":147376,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:41:49] local.INFO: Acknowledgment sent {"connection_id":147376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:42:00] local.INFO: TCP Data received {"connection_id":146377,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:42:00] local.INFO: Processing buffer {"connection_id":146377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:42:00] local.INFO: IMEI packet received {"connection_id":146377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":146377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:42:01] local.INFO: TCP Data received {"connection_id":146378,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146378,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:42:01] local.INFO: Processing buffer {"connection_id":146378,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:42:01] local.INFO: IMEI packet received {"connection_id":146378,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 17:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":146378,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:42:02] local.INFO: TCP Data received {"connection_id":146378,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146378,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:42:02] local.INFO: Processing buffer {"connection_id":146378,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:42:02] local.INFO: IMEI packet received {"connection_id":146378,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 17:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":146378,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:42:05] local.INFO: TCP Data received {"connection_id":146377,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:42:05] local.INFO: Processing buffer {"connection_id":146377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:42:05] local.INFO: IMEI packet received {"connection_id":146377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":146377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:42:06] local.INFO: TCP Data received {"connection_id":146377,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd395900012d181ec00721b0a0004d00cd26..."} 
[2026-08-01 17:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd395900012d181ec00721b0a0004d00cd26..."} 
[2026-08-01 17:42:06] local.INFO: Processing buffer {"connection_id":146377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd395900012d181ec00721b0a0004d00cd26..."} 
[2026-08-01 17:42:06] local.INFO: Packet analysis {"connection_id":146377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd39"} 
[2026-08-01 17:42:06] local.INFO: Extracted packet for processing {"connection_id":146377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd39"} 
[2026-08-01 17:42:06] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648416,"longitude_deg":75.6555456,"latitude_deg":11.9648416,"altitude":77,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b0a0","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110031104001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291055173828608,"note":"Value kept but may cause issues"} 
[2026-08-01 17:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074117632,"note":"Value kept but may cause issues"} 
[2026-08-01 17:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785586080000,"timestamp_ms":1785586080000,"timestamp_seconds":1785586080,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd395900"} 
[2026-08-01 17:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-01 17:42:06] 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-08-01 17: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-08-01 17:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:42:06] 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-08-01 17:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110031104001,"66":12504,"105":206,"83":41984,"24":0,"16":10291055173828608,"45":1738037643074117632},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110031104001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:42:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:42:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291055173828608,"km_value":10291055173828.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074117632,"description":"Unknown IO ID 45"} 
[2026-08-01 17:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110031104001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074117632}} 
[2026-08-01 17:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":146377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:42:06] local.INFO: GPS data processed {"connection_id":146377,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:42:06] local.INFO: Acknowledgment sent {"connection_id":146377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:42:08] local.INFO: TCP Data received {"connection_id":146378,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146378,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:42:08] local.INFO: Processing buffer {"connection_id":146378,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:42:08] local.INFO: IMEI packet received {"connection_id":146378,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 17:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":146378,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:42:09] local.INFO: TCP Data received {"connection_id":146378,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd3ca0d8012d7e1d4005d53e58000400b10f..."} 
[2026-08-01 17:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd3ca0d8012d7e1d4005d53e58000400b10f..."} 
[2026-08-01 17:42:09] local.INFO: Processing buffer {"connection_id":146378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd3ca0d8012d7e1d4005d53e58000400b10f..."} 
[2026-08-01 17:42:09] local.INFO: Packet analysis {"connection_id":146378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd3c"} 
[2026-08-01 17:42:09] local.INFO: Extracted packet for processing {"connection_id":146378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd3c"} 
[2026-08-01 17:42:09] local.INFO: GPS Element Parsed {"raw_longitude":763239744,"raw_latitude":97861208,"longitude_deg":76.3239744,"latitude_deg":9.7861208,"altitude":4,"angle":177,"satellites":15,"speed":19,"hex_longitude":"2d7e1d40","hex_latitude":"05d53e58","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110086912001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113516642763276288,"note":"Value kept but may cause issues"} 
[2026-08-01 17:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9086504854484054016,"note":"Value kept but may cause issues"} 
[2026-08-01 17:42:09] 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-08-01 17:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785586295000,"timestamp_ms":1785586295000,"timestamp_seconds":1785586295,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd3ca0d8"} 
[2026-08-01 17:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:42: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-08-01 17: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-01 17:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751616841,"note":"Value kept but may cause issues"} 
[2026-08-01 17:42:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-01 17:42:09] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3174821160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:42:09] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7833474990136623104,"note":"Value kept but may cause issues"} 
[2026-08-01 17:42:09] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-01 17:42:09] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634368462202653,"note":"Value kept but may cause issues"} 
[2026-08-01 17:42:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2803695822,"corrected_to":0} 
[2026-08-01 17:42:09] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2882529887200005717,"note":"Value kept but may cause issues"} 
[2026-08-01 17:42:09] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-01 17:42:09] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3580958720,"note":"Value kept but may cause issues"} 
[2026-08-01 17:42:09] local.WARNING: Large IO value detected {"io_id":125,"raw_value":-3116484527847899126,"note":"Value kept but may cause issues"} 
[2026-08-01 17:42:09] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755489635500273,"note":"Value kept but may cause issues"} 
[2026-08-01 17:42:09] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,29,85,24,241,157,16,74,159,82,45,100,6,15,10,66,78,128,39,192,1,240,237,227,189,213,4,113,205,14,28,136,239,52,2,147,5,8,125,59],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2803695822,"validated":0}]} 
[2026-08-01 17:42:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432536943676030976,"timestamp_seconds":432536943676031.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 17:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":146378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":146378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":146378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:42:09] 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-08-01 17:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110086912001,"66":13656,"111":206,"85":15104,"24":19,"16":113516642763276288,"45":9086504854484054016},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-01 17:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110086912001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:42:09] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-01 17:42:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113516642763276288,"km_value":113516642763276.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9086504854484054016,"description":"Unknown IO ID 45"} 
[2026-08-01 17:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110086912001,"power":13656,"unknown_111":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":9086504854484054016}} 
[2026-08-01 17:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":146378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578318,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:42:09] local.INFO: GPS data processed {"connection_id":146378,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:42:09] local.INFO: Acknowledgment sent {"connection_id":146378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:42:22] local.INFO: TCP Data received {"connection_id":147376,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd3b02c8012cec75c00729acf00023000c2c..."} 
[2026-08-01 17:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd3b02c8012cec75c00729acf00023000c2c..."} 
[2026-08-01 17:42:22] local.INFO: Processing buffer {"connection_id":147376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd3b02c8012cec75c00729acf00023000c2c..."} 
[2026-08-01 17:42:22] local.INFO: Packet analysis {"connection_id":147376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd3b"} 
[2026-08-01 17:42:22] local.INFO: Extracted packet for processing {"connection_id":147376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd3b"} 
[2026-08-01 17:42:22] local.INFO: GPS Element Parsed {"raw_longitude":753694144,"raw_latitude":120171760,"longitude_deg":75.3694144,"latitude_deg":12.017176,"altitude":35,"angle":12,"satellites":44,"speed":39,"hex_longitude":"2cec75c0","hex_latitude":"0729acf0","is_valid_coordinates":true} 
[2026-08-01 17:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110061568001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366689215217401856,"note":"Value kept but may cause issues"} 
[2026-08-01 17:42:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1410822921256448000,"note":"Value kept but may cause issues"} 
[2026-08-01 17:42:22] 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-08-01 17:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785586189000,"timestamp_ms":1785586189000,"timestamp_seconds":1785586189,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd3b02c8"} 
[2026-08-01 17:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:42:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 17:42:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:42:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110061568001,"66":27789,"171":206,"83":44032,"24":39,"16":366689215217401856,"44":-1410822921256448000},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,83,24,16,44]} 
[2026-08-01 17:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110061568001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:42:22] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-08-01 17:42:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 17:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366689215217401856,"km_value":366689215217401.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:42:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1410822921256448000,"description":"Unknown IO ID 44"} 
[2026-08-01 17:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110061568001,"power":27789,"unknown_171":206,"unknown_83":44032,"ignition":39,"odometer":null,"unknown_44":-1410822921256448000}} 
[2026-08-01 17:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":147376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:42:22] local.INFO: GPS data processed {"connection_id":147376,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:42:22] local.INFO: Acknowledgment sent {"connection_id":147376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:42:37] local.INFO: TCP Data received {"connection_id":146377,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd39ab08012d181ec00721b0a0004d00cd22..."} 
[2026-08-01 17:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd39ab08012d181ec00721b0a0004d00cd22..."} 
[2026-08-01 17:42:37] local.INFO: Processing buffer {"connection_id":146377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd39ab08012d181ec00721b0a0004d00cd22..."} 
[2026-08-01 17:42:37] local.INFO: Packet analysis {"connection_id":146377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd39"} 
[2026-08-01 17:42:37] local.INFO: Extracted packet for processing {"connection_id":146377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd39"} 
[2026-08-01 17:42:37] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648416,"longitude_deg":75.6555456,"latitude_deg":11.9648416,"altitude":77,"angle":205,"satellites":34,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b0a0","is_valid_coordinates":true} 
[2026-08-01 17:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110036480001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291055173828608,"note":"Value kept but may cause issues"} 
[2026-08-01 17:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074117632,"note":"Value kept but may cause issues"} 
[2026-08-01 17:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785586101000,"timestamp_ms":1785586101000,"timestamp_seconds":1785586101,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd39ab08"} 
[2026-08-01 17:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:42: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-08-01 17:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-01 17:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:42:37] 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-08-01 17:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110036480001,"66":12493,"105":206,"83":41984,"24":0,"16":10291055173828608,"45":1738037643074117632},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110036480001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:42:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:42:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291055173828608,"km_value":10291055173828.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074117632,"description":"Unknown IO ID 45"} 
[2026-08-01 17:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110036480001,"power":12493,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074117632}} 
[2026-08-01 17:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":146377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:42:37] local.INFO: GPS data processed {"connection_id":146377,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:42:37] local.INFO: Acknowledgment sent {"connection_id":146377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:42:39] local.INFO: TCP Data received {"connection_id":146378,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd3ccbd0012d7e1d8005d533a0000100c20d..."} 
[2026-08-01 17:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd3ccbd0012d7e1d8005d533a0000100c20d..."} 
[2026-08-01 17:42:39] local.INFO: Processing buffer {"connection_id":146378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd3ccbd0012d7e1d8005d533a0000100c20d..."} 
[2026-08-01 17:42:39] local.INFO: Packet analysis {"connection_id":146378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd3c"} 
[2026-08-01 17:42:39] local.INFO: Extracted packet for processing {"connection_id":146378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd3c"} 
[2026-08-01 17:42:39] local.INFO: GPS Element Parsed {"raw_longitude":763239808,"raw_latitude":97858464,"longitude_deg":76.3239808,"latitude_deg":9.7858464,"altitude":1,"angle":194,"satellites":13,"speed":5,"hex_longitude":"2d7e1d80","hex_latitude":"05d533a0","is_valid_coordinates":true} 
[2026-08-01 17:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110091520001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113516775907262464,"note":"Value kept but may cause issues"} 
[2026-08-01 17:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9087490016900175872,"note":"Value kept but may cause issues"} 
[2026-08-01 17:42:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785586306000,"timestamp_ms":1785586306000,"timestamp_seconds":1785586306,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd3ccbd0"} 
[2026-08-01 17:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:42:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-01 17:42:39] 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-08-01 17:42:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:42:39] 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-08-01 17:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110091520001,"66":13602,"111":206,"85":15104,"24":5,"16":113516775907262464,"45":9087490016900175872},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-01 17:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110091520001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:42:39] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-01 17:42:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113516775907262464,"km_value":113516775907262.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9087490016900175872,"description":"Unknown IO ID 45"} 
[2026-08-01 17:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110091520001,"power":13602,"unknown_111":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9087490016900175872}} 
[2026-08-01 17:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":146378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578321,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:42:39] local.INFO: GPS data processed {"connection_id":146378,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:42:39] local.INFO: Acknowledgment sent {"connection_id":146378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:42:41] local.INFO: TCP Data received {"connection_id":146379,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:42:41] local.INFO: Processing buffer {"connection_id":146379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:42:41] local.INFO: IMEI packet received {"connection_id":146379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 17:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":146379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:42:44] local.INFO: TCP Data received {"connection_id":146379,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:42:44] local.INFO: Processing buffer {"connection_id":146379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:42:44] local.INFO: IMEI packet received {"connection_id":146379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":146379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:42:49] local.INFO: TCP Data received {"connection_id":146379,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:42:49] local.INFO: Processing buffer {"connection_id":146379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:42:49] local.INFO: IMEI packet received {"connection_id":146379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":146379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:42:49] local.INFO: TCP Data received {"connection_id":146379,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd3cc400012cec18c0072aea70002701612a..."} 
[2026-08-01 17:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd3cc400012cec18c0072aea70002701612a..."} 
[2026-08-01 17:42:49] local.INFO: Processing buffer {"connection_id":146379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd3cc400012cec18c0072aea70002701612a..."} 
[2026-08-01 17:42:49] local.INFO: Packet analysis {"connection_id":146379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd3c"} 
[2026-08-01 17:42:49] local.INFO: Extracted packet for processing {"connection_id":146379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd3c"} 
[2026-08-01 17:42:49] local.INFO: GPS Element Parsed {"raw_longitude":753670336,"raw_latitude":120253040,"longitude_deg":75.3670336,"latitude_deg":12.025304,"altitude":39,"angle":353,"satellites":42,"speed":28,"hex_longitude":"2cec18c0","hex_latitude":"072aea70","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110090496001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366693385630646272,"note":"Value kept but may cause issues"} 
[2026-08-01 17:42:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1433340919372343296,"note":"Value kept but may cause issues"} 
[2026-08-01 17:42:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785586304000,"timestamp_ms":1785586304000,"timestamp_seconds":1785586304,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd3cc400"} 
[2026-08-01 17:42:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:42:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 17:42:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17: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-08-01 17:42:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:42:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110090496001,"66":26723,"223":206,"83":44032,"24":28,"16":366693385630646272,"44":-1433340919372343296},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,83,24,16,44]} 
[2026-08-01 17:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110090496001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:42:49] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-01 17:42:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 17:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366693385630646272,"km_value":366693385630646.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:42:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1433340919372343296,"description":"Unknown IO ID 44"} 
[2026-08-01 17:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110090496001,"power":26723,"unknown_223":206,"unknown_83":44032,"ignition":28,"odometer":null,"unknown_44":-1433340919372343296}} 
[2026-08-01 17:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":146379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:42:49] local.INFO: GPS data processed {"connection_id":146379,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:42:49] local.INFO: Acknowledgment sent {"connection_id":146379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:42:54] local.INFO: TCP Data received {"connection_id":148681,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd38b4f0012d181ec00721b0a0004d00cd24..."} 
[2026-08-01 17:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd38b4f0012d181ec00721b0a0004d00cd24..."} 
[2026-08-01 17:42:54] local.INFO: Processing buffer {"connection_id":148681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd38b4f0012d181ec00721b0a0004d00cd24..."} 
[2026-08-01 17:42:54] local.INFO: Packet analysis {"connection_id":148681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd38"} 
[2026-08-01 17:42:54] local.INFO: Extracted packet for processing {"connection_id":148681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd38"} 
[2026-08-01 17:42:54] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648416,"longitude_deg":75.6555456,"latitude_deg":11.9648416,"altitude":77,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b0a0","is_valid_coordinates":true} 
[2026-08-01 17:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110020352001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291055173828608,"note":"Value kept but may cause issues"} 
[2026-08-01 17:42:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074117632,"note":"Value kept but may cause issues"} 
[2026-08-01 17:42:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785586038000,"timestamp_ms":1785586038000,"timestamp_seconds":1785586038,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd38b4f0"} 
[2026-08-01 17:42:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:42:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-01 17:42:54] 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-08-01 17:42:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:42:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:42:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110020352001,"66":12504,"105":206,"83":41984,"24":0,"16":10291055173828608,"45":1738037643074117632},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110020352001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:42:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:42:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291055173828608,"km_value":10291055173828.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:42:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074117632,"description":"Unknown IO ID 45"} 
[2026-08-01 17:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110020352001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074117632}} 
[2026-08-01 17:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":148681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:42:55] local.INFO: GPS data processed {"connection_id":148681,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:42:55] local.INFO: Acknowledgment sent {"connection_id":148681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:42:55] local.INFO: TCP Data received {"connection_id":148683,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148683,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:42:55] local.INFO: Processing buffer {"connection_id":148683,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:42:55] local.INFO: IMEI packet received {"connection_id":148683,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 17:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":148683,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:42:55] local.INFO: TCP Data received {"connection_id":148681,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd3906f8012d181ec00721b0a0004d00cd26..."} 
[2026-08-01 17:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd3906f8012d181ec00721b0a0004d00cd26..."} 
[2026-08-01 17:42:55] local.INFO: Processing buffer {"connection_id":148681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd3906f8012d181ec00721b0a0004d00cd26..."} 
[2026-08-01 17:42:55] local.INFO: Packet analysis {"connection_id":148681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd39"} 
[2026-08-01 17:42:55] local.INFO: Extracted packet for processing {"connection_id":148681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd39"} 
[2026-08-01 17:42:55] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648416,"longitude_deg":75.6555456,"latitude_deg":11.9648416,"altitude":77,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b0a0","is_valid_coordinates":true} 
[2026-08-01 17:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110025728001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291055173828608,"note":"Value kept but may cause issues"} 
[2026-08-01 17:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074117632,"note":"Value kept but may cause issues"} 
[2026-08-01 17:42:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785586059000,"timestamp_ms":1785586059000,"timestamp_seconds":1785586059,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd3906f8"} 
[2026-08-01 17:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:42: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-08-01 17:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-01 17:42:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:42:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110025728001,"66":12526,"105":206,"83":41984,"24":0,"16":10291055173828608,"45":1738037643074117632},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110025728001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:42:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:42:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291055173828608,"km_value":10291055173828.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074117632,"description":"Unknown IO ID 45"} 
[2026-08-01 17:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110025728001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074117632}} 
[2026-08-01 17:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":148681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:42:55] local.INFO: GPS data processed {"connection_id":148681,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:42:55] local.ERROR: TCP Connection error {"connection_id":148681,"code":2,"message":"client closed"} 
[2026-08-01 17:42:55] local.INFO: Acknowledgment sent {"connection_id":148681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:42:56] local.INFO: TCP Data received {"connection_id":148683,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148683,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:42:56] local.INFO: Processing buffer {"connection_id":148683,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:42:56] local.INFO: IMEI packet received {"connection_id":148683,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 17:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":148683,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:42:58] local.INFO: TCP Data received {"connection_id":148683,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148683,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:42:58] local.INFO: Processing buffer {"connection_id":148683,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:42:58] local.INFO: IMEI packet received {"connection_id":148683,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 17:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":148683,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:43:00] local.INFO: TCP Data received {"connection_id":147377,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:43:00] local.INFO: Processing buffer {"connection_id":147377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:43:00] local.INFO: IMEI packet received {"connection_id":147377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":147377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:43:03] local.INFO: TCP Data received {"connection_id":148683,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148683,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:43:03] local.INFO: Processing buffer {"connection_id":148683,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:43:03] local.INFO: IMEI packet received {"connection_id":148683,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 17:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":148683,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:43:04] local.INFO: TCP Data received {"connection_id":148683,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd3cd788012d7e1d4005d52fd8000100b10e..."} 
[2026-08-01 17:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd3cd788012d7e1d4005d52fd8000100b10e..."} 
[2026-08-01 17:43:04] local.INFO: Processing buffer {"connection_id":148683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd3cd788012d7e1d4005d52fd8000100b10e..."} 
[2026-08-01 17:43:04] local.INFO: Packet analysis {"connection_id":148683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd3c"} 
[2026-08-01 17:43:04] local.INFO: Extracted packet for processing {"connection_id":148683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd3c"} 
[2026-08-01 17:43:04] local.INFO: GPS Element Parsed {"raw_longitude":763239744,"raw_latitude":97857496,"longitude_deg":76.3239744,"latitude_deg":9.7857496,"altitude":1,"angle":177,"satellites":14,"speed":13,"hex_longitude":"2d7e1d40","hex_latitude":"05d52fd8","is_valid_coordinates":true} 
[2026-08-01 17:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110094336001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113516823151902720,"note":"Value kept but may cause issues"} 
[2026-08-01 17:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9087560385643651072,"note":"Value kept but may cause issues"} 
[2026-08-01 17:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785586309000,"timestamp_ms":1785586309000,"timestamp_seconds":1785586309,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd3cd788"} 
[2026-08-01 17:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-01 17:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":148683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":148683,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":148683,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110094336001,"66":13624,"111":206,"85":15104,"24":13,"16":113516823151902720,"45":9087560385643651072},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-01 17:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110094336001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:43:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-01 17:43:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113516823151902720,"km_value":113516823151902.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9087560385643651072,"description":"Unknown IO ID 45"} 
[2026-08-01 17:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110094336001,"power":13624,"unknown_111":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":9087560385643651072}} 
[2026-08-01 17:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":148683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578325,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:43:04] local.INFO: GPS data processed {"connection_id":148683,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:43:04] local.INFO: Acknowledgment sent {"connection_id":148683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:43:05] local.INFO: TCP Data received {"connection_id":147377,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:43:05] local.INFO: Processing buffer {"connection_id":147377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:43:05] local.INFO: IMEI packet received {"connection_id":147377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":147377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:43:10] local.INFO: TCP Data received {"connection_id":147377,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd39fd10012d181ec00721b0a0004d00cd25..."} 
[2026-08-01 17:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd39fd10012d181ec00721b0a0004d00cd25..."} 
[2026-08-01 17:43:10] local.INFO: Processing buffer {"connection_id":147377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd39fd10012d181ec00721b0a0004d00cd25..."} 
[2026-08-01 17:43:10] local.INFO: Packet analysis {"connection_id":147377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd39"} 
[2026-08-01 17:43:10] local.INFO: Extracted packet for processing {"connection_id":147377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd39"} 
[2026-08-01 17:43:10] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648416,"longitude_deg":75.6555456,"latitude_deg":11.9648416,"altitude":77,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b0a0","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110041856001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291055173828608,"note":"Value kept but may cause issues"} 
[2026-08-01 17:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074117632,"note":"Value kept but may cause issues"} 
[2026-08-01 17:43: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-08-01 17:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785586122000,"timestamp_ms":1785586122000,"timestamp_seconds":1785586122,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd39fd10"} 
[2026-08-01 17:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:43: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-08-01 17: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":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-01 17:43:10] 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-08-01 17: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-08-01 17:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":147377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":147377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":147377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:43: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-08-01 17:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110041856001,"66":12461,"105":206,"83":41984,"24":0,"16":10291055173828608,"45":1738037643074117632},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110041856001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:43:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:43:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291055173828608,"km_value":10291055173828.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074117632,"description":"Unknown IO ID 45"} 
[2026-08-01 17:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110041856001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074117632}} 
[2026-08-01 17:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":147377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:43:10] local.INFO: GPS data processed {"connection_id":147377,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:43:10] local.INFO: Acknowledgment sent {"connection_id":147377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:43:20] local.INFO: TCP Data received {"connection_id":146379,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd3cf2e0012cec1440072b0c40002701552a..."} 
[2026-08-01 17:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd3cf2e0012cec1440072b0c40002701552a..."} 
[2026-08-01 17:43:20] local.INFO: Processing buffer {"connection_id":146379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd3cf2e0012cec1440072b0c40002701552a..."} 
[2026-08-01 17:43:20] local.INFO: Packet analysis {"connection_id":146379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd3c"} 
[2026-08-01 17:43:20] local.INFO: Extracted packet for processing {"connection_id":146379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd3c"} 
[2026-08-01 17:43:20] local.INFO: GPS Element Parsed {"raw_longitude":753669184,"raw_latitude":120261696,"longitude_deg":75.3669184,"latitude_deg":12.0261696,"altitude":39,"angle":341,"satellites":42,"speed":29,"hex_longitude":"2cec1440","hex_latitude":"072b0c40","is_valid_coordinates":true} 
[2026-08-01 17:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110093824001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366693810832408576,"note":"Value kept but may cause issues"} 
[2026-08-01 17:43:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1434185344300191744,"note":"Value kept but may cause issues"} 
[2026-08-01 17:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785586316000,"timestamp_ms":1785586316000,"timestamp_seconds":1785586316,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd3cf2e0"} 
[2026-08-01 17:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:43:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":99,"data_length":795,"current_offset":136} 
[2026-08-01 17:43:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1609,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:43:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:43:20] 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-08-01 17:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110093824001,"66":27658,"223":206,"83":44032,"24":29,"16":366693810832408576,"44":-1434185344300191744},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,83,24,16,44]} 
[2026-08-01 17:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110093824001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:43:20] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-01 17:43:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 17:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366693810832408576,"km_value":366693810832408.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:43:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1434185344300191744,"description":"Unknown IO ID 44"} 
[2026-08-01 17:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110093824001,"power":27658,"unknown_223":206,"unknown_83":44032,"ignition":29,"odometer":null,"unknown_44":-1434185344300191744}} 
[2026-08-01 17:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":146379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:43:20] local.INFO: GPS data processed {"connection_id":146379,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:43:20] local.INFO: Acknowledgment sent {"connection_id":146379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:43:35] local.INFO: TCP Data received {"connection_id":148683,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd3e1fa8012d7e39c005d48758000500b710..."} 
[2026-08-01 17:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd3e1fa8012d7e39c005d48758000500b710..."} 
[2026-08-01 17:43:35] local.INFO: Processing buffer {"connection_id":148683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd3e1fa8012d7e39c005d48758000500b710..."} 
[2026-08-01 17:43:35] local.INFO: Packet analysis {"connection_id":148683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd3e"} 
[2026-08-01 17:43:35] local.INFO: Extracted packet for processing {"connection_id":148683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd3e"} 
[2026-08-01 17:43:35] local.INFO: GPS Element Parsed {"raw_longitude":763247040,"raw_latitude":97814360,"longitude_deg":76.324704,"latitude_deg":9.781436,"altitude":5,"angle":183,"satellites":16,"speed":29,"hex_longitude":"2d7e39c0","hex_latitude":"05d48758","is_valid_coordinates":true} 
[2026-08-01 17:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110115584001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113519275578228736,"note":"Value kept but may cause issues"} 
[2026-08-01 17:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684980936704,"note":"Value kept but may cause issues"} 
[2026-08-01 17:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785586393000,"timestamp_ms":1785586393000,"timestamp_seconds":1785586393,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd3e1fa8"} 
[2026-08-01 17:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-01 17:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148683,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148683,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110115584001,"66":13243,"111":206,"85":15104,"24":29,"16":113519275578228736,"45":9095441684980936704},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-01 17:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110115584001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:43:35] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-01 17:43:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113519275578228736,"km_value":113519275578228.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684980936704,"description":"Unknown IO ID 45"} 
[2026-08-01 17:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110115584001,"power":13243,"unknown_111":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9095441684980936704}} 
[2026-08-01 17:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":148683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578328,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:43:35] local.INFO: GPS data processed {"connection_id":148683,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:43:35] local.INFO: Acknowledgment sent {"connection_id":148683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:43:41] local.INFO: TCP Data received {"connection_id":147377,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd3a4f18012d181ec00721b0a0004d00cd25..."} 
[2026-08-01 17:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd3a4f18012d181ec00721b0a0004d00cd25..."} 
[2026-08-01 17:43:41] local.INFO: Processing buffer {"connection_id":147377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd3a4f18012d181ec00721b0a0004d00cd25..."} 
[2026-08-01 17:43:41] local.INFO: Packet analysis {"connection_id":147377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd3a"} 
[2026-08-01 17:43:41] local.INFO: Extracted packet for processing {"connection_id":147377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd3a"} 
[2026-08-01 17:43:41] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648416,"longitude_deg":75.6555456,"latitude_deg":11.9648416,"altitude":77,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b0a0","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110047232001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291055173828608,"note":"Value kept but may cause issues"} 
[2026-08-01 17:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074117632,"note":"Value kept but may cause issues"} 
[2026-08-01 17:43: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-08-01 17:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785586143000,"timestamp_ms":1785586143000,"timestamp_seconds":1785586143,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd3a4f18"} 
[2026-08-01 17:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:43: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-08-01 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 17:43: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-08-01 17: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-08-01 17:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":147377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":147377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":147377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:43: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-08-01 17:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110047232001,"66":12504,"105":206,"83":41984,"24":0,"16":10291055173828608,"45":1738037643074117632},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110047232001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:43:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:43:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291055173828608,"km_value":10291055173828.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074117632,"description":"Unknown IO ID 45"} 
[2026-08-01 17:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110047232001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074117632}} 
[2026-08-01 17:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":147377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:43:41] local.INFO: GPS data processed {"connection_id":147377,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:43:41] local.INFO: Acknowledgment sent {"connection_id":147377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:43:43] local.INFO: TCP Data received {"connection_id":146145,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:43:43] local.INFO: Processing buffer {"connection_id":146145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:43:43] local.INFO: IMEI packet received {"connection_id":146145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 17:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":146145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:43:49] local.INFO: TCP Data received {"connection_id":146145,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:43:49] local.INFO: Processing buffer {"connection_id":146145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:43:49] local.INFO: IMEI packet received {"connection_id":146145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":146145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:43:49] local.INFO: TCP Data received {"connection_id":146145,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd3d0e38012cec0c00072b1e680027014a2c..."} 
[2026-08-01 17:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd3d0e38012cec0c00072b1e680027014a2c..."} 
[2026-08-01 17:43:49] local.INFO: Processing buffer {"connection_id":146145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd3d0e38012cec0c00072b1e680027014a2c..."} 
[2026-08-01 17:43:49] local.INFO: Packet analysis {"connection_id":146145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd3d"} 
[2026-08-01 17:43:49] local.INFO: Extracted packet for processing {"connection_id":146145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd3d"} 
[2026-08-01 17:43:49] local.INFO: GPS Element Parsed {"raw_longitude":753667072,"raw_latitude":120266344,"longitude_deg":75.3667072,"latitude_deg":12.0266344,"altitude":39,"angle":330,"satellites":44,"speed":28,"hex_longitude":"2cec0c00","hex_latitude":"072b1e68","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:43:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110096896001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:43:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366694059940511744,"note":"Value kept but may cause issues"} 
[2026-08-01 17:43:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1435451981693173760,"note":"Value kept but may cause issues"} 
[2026-08-01 17:43:49] 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-08-01 17:43:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785586323000,"timestamp_ms":1785586323000,"timestamp_seconds":1785586323,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd3d0e38"} 
[2026-08-01 17:43:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:43: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-08-01 17: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 17:43:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17: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-08-01 17:43:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:43:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:43:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:43:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:43:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:43:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:43:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:43:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:43:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110096896001,"66":27908,"225":206,"83":44032,"24":28,"16":366694059940511744,"44":-1435451981693173760},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-08-01 17:43:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:43:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:43:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110096896001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:43:49] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-01 17:43:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 17:43:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366694059940511744,"km_value":366694059940511.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:43:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1435451981693173760,"description":"Unknown IO ID 44"} 
[2026-08-01 17:43:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110096896001,"power":27908,"unknown_225":206,"unknown_83":44032,"ignition":28,"odometer":null,"unknown_44":-1435451981693173760}} 
[2026-08-01 17:43:49] local.INFO: DEBUG: GPS processor result {"connection_id":146145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:43:49] local.INFO: GPS data processed {"connection_id":146145,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:43:49] local.INFO: Acknowledgment sent {"connection_id":146145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:43:58] local.INFO: TCP Data received {"connection_id":147378,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147378,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:43:58] local.INFO: Processing buffer {"connection_id":147378,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:43:58] local.INFO: IMEI packet received {"connection_id":147378,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 17:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":147378,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:43:59] local.INFO: TCP Data received {"connection_id":147378,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147378,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:43:59] local.INFO: Processing buffer {"connection_id":147378,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:43:59] local.INFO: IMEI packet received {"connection_id":147378,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 17:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":147378,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:43:59] local.INFO: TCP Data received {"connection_id":148684,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:43:59] local.INFO: Processing buffer {"connection_id":148684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:43:59] local.INFO: IMEI packet received {"connection_id":148684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":148684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:44:03] local.INFO: TCP Data received {"connection_id":147378,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147378,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:44:03] local.INFO: Processing buffer {"connection_id":147378,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:44:03] local.INFO: IMEI packet received {"connection_id":147378,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 17:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":147378,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:44:04] local.INFO: TCP Data received {"connection_id":147378,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd3e4aa0012d7e388005d46340001c00ba10..."} 
[2026-08-01 17:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd3e4aa0012d7e388005d46340001c00ba10..."} 
[2026-08-01 17:44:04] local.INFO: Processing buffer {"connection_id":147378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd3e4aa0012d7e388005d46340001c00ba10..."} 
[2026-08-01 17:44:04] local.INFO: Packet analysis {"connection_id":147378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd3e"} 
[2026-08-01 17:44:04] local.INFO: Extracted packet for processing {"connection_id":147378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd3e"} 
[2026-08-01 17:44:04] local.INFO: GPS Element Parsed {"raw_longitude":763246720,"raw_latitude":97805120,"longitude_deg":76.324672,"latitude_deg":9.780512,"altitude":28,"angle":186,"satellites":16,"speed":32,"hex_longitude":"2d7e3880","hex_latitude":"05d46340","is_valid_coordinates":true} 
[2026-08-01 17:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110116608001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113519735139729408,"note":"Value kept but may cause issues"} 
[2026-08-01 17:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095512053724436480,"note":"Value kept but may cause issues"} 
[2026-08-01 17:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785586404000,"timestamp_ms":1785586404000,"timestamp_seconds":1785586404,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd3e4aa0"} 
[2026-08-01 17:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-01 17:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:44:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110116608001,"66":13580,"111":206,"85":15104,"24":32,"16":113519735139729408,"45":9095512053724436480},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-01 17:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110116608001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:44:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-01 17:44:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113519735139729408,"km_value":113519735139729.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095512053724436480,"description":"Unknown IO ID 45"} 
[2026-08-01 17:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110116608001,"power":13580,"unknown_111":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9095512053724436480}} 
[2026-08-01 17:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":147378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578331,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:44:04] local.INFO: GPS data processed {"connection_id":147378,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:44:04] local.INFO: Acknowledgment sent {"connection_id":147378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:44:05] local.INFO: TCP Data received {"connection_id":148684,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:44:05] local.INFO: Processing buffer {"connection_id":148684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:44:05] local.INFO: IMEI packet received {"connection_id":148684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":148684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:44:06] local.INFO: TCP Data received {"connection_id":148684,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd3aa120012d181ec00721b0a0004d00cd23..."} 
[2026-08-01 17:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd3aa120012d181ec00721b0a0004d00cd23..."} 
[2026-08-01 17:44:06] local.INFO: Processing buffer {"connection_id":148684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd3aa120012d181ec00721b0a0004d00cd23..."} 
[2026-08-01 17:44:06] local.INFO: Packet analysis {"connection_id":148684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd3a"} 
[2026-08-01 17:44:06] local.INFO: Extracted packet for processing {"connection_id":148684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd3a"} 
[2026-08-01 17:44:06] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648416,"longitude_deg":75.6555456,"latitude_deg":11.9648416,"altitude":77,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b0a0","is_valid_coordinates":true} 
[2026-08-01 17:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110052608001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291055173828608,"note":"Value kept but may cause issues"} 
[2026-08-01 17:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074117632,"note":"Value kept but may cause issues"} 
[2026-08-01 17:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785586164000,"timestamp_ms":1785586164000,"timestamp_seconds":1785586164,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd3aa120"} 
[2026-08-01 17:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-01 17:44:06] 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-08-01 17:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:44:06] 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-08-01 17:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110052608001,"66":12504,"105":206,"83":41984,"24":0,"16":10291055173828608,"45":1738037643074117632},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110052608001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:44:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:44:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291055173828608,"km_value":10291055173828.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074117632,"description":"Unknown IO ID 45"} 
[2026-08-01 17:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110052608001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074117632}} 
[2026-08-01 17:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":148684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:44:06] local.INFO: GPS data processed {"connection_id":148684,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:44:06] local.INFO: Acknowledgment sent {"connection_id":148684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:44:20] local.INFO: TCP Data received {"connection_id":146145,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd3e46b8012cec2e00072b85c0002600332b..."} 
[2026-08-01 17:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd3e46b8012cec2e00072b85c0002600332b..."} 
[2026-08-01 17:44:20] local.INFO: Processing buffer {"connection_id":146145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd3e46b8012cec2e00072b85c0002600332b..."} 
[2026-08-01 17:44:20] local.INFO: Packet analysis {"connection_id":146145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd3e"} 
[2026-08-01 17:44:20] local.INFO: Extracted packet for processing {"connection_id":146145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd3e"} 
[2026-08-01 17:44:20] local.INFO: GPS Element Parsed {"raw_longitude":753675776,"raw_latitude":120292800,"longitude_deg":75.3675776,"latitude_deg":12.02928,"altitude":38,"angle":51,"satellites":43,"speed":16,"hex_longitude":"2cec2e00","hex_latitude":"072b85c0","is_valid_coordinates":true} 
[2026-08-01 17:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110118656001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366696125819781120,"note":"Value kept but may cause issues"} 
[2026-08-01 17:44:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1428978057220968448,"note":"Value kept but may cause issues"} 
[2026-08-01 17:44:20] 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-08-01 17:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785586403000,"timestamp_ms":1785586403000,"timestamp_seconds":1785586403,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd3e46b8"} 
[2026-08-01 17:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 17:44:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:44:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:44:20] 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-08-01 17:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110118656001,"66":27876,"225":206,"83":44032,"24":16,"16":366696125819781120,"44":-1428978057220968448},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-08-01 17:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110118656001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:44:20] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-01 17:44:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 17:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366696125819781120,"km_value":366696125819781.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:44:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1428978057220968448,"description":"Unknown IO ID 44"} 
[2026-08-01 17:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110118656001,"power":27876,"unknown_225":206,"unknown_83":44032,"ignition":16,"odometer":null,"unknown_44":-1428978057220968448}} 
[2026-08-01 17:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":146145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:44:20] local.INFO: GPS data processed {"connection_id":146145,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:44:20] local.INFO: Acknowledgment sent {"connection_id":146145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:44:35] local.INFO: TCP Data received {"connection_id":147378,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd3e5270012d7e378005d45dc8001000af0e..."} 
[2026-08-01 17:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd3e5270012d7e378005d45dc8001000af0e..."} 
[2026-08-01 17:44:35] local.INFO: Processing buffer {"connection_id":147378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd3e5270012d7e378005d45dc8001000af0e..."} 
[2026-08-01 17:44:35] local.INFO: Packet analysis {"connection_id":147378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd3e"} 
[2026-08-01 17:44:35] local.INFO: Extracted packet for processing {"connection_id":147378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd3e"} 
[2026-08-01 17:44:35] local.INFO: GPS Element Parsed {"raw_longitude":763246464,"raw_latitude":97803720,"longitude_deg":76.3246464,"latitude_deg":9.780372,"altitude":16,"angle":175,"satellites":14,"speed":35,"hex_longitude":"2d7e3780","hex_latitude":"05d45dc8","is_valid_coordinates":true} 
[2026-08-01 17:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110119424001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113519821039075328,"note":"Value kept but may cause issues"} 
[2026-08-01 17:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095160210001182720,"note":"Value kept but may cause issues"} 
[2026-08-01 17:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785586406000,"timestamp_ms":1785586406000,"timestamp_seconds":1785586406,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd3e5270"} 
[2026-08-01 17:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-01 17:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751616844,"note":"Value kept but may cause issues"} 
[2026-08-01 17:44:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-01 17:44:35] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3174945160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:44:35] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3567906816,"note":"Value kept but may cause issues"} 
[2026-08-01 17:44:35] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18632968302841199,"note":"Value kept but may cause issues"} 
[2026-08-01 17:44:35] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7832673446159974400,"note":"Value kept but may cause issues"} 
[2026-08-01 17:44:35] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-01 17:44:35] local.WARNING: Large IO value detected {"io_id":76,"raw_value":4160749568,"note":"Value kept but may cause issues"} 
[2026-08-01 17:44:35] local.WARNING: Large IO value detected {"io_id":212,"raw_value":2593128457,"note":"Value kept but may cause issues"} 
[2026-08-01 17:44:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1299120334,"corrected_to":0} 
[2026-08-01 17:44:35] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3221607590,"note":"Value kept but may cause issues"} 
[2026-08-01 17:44:35] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-5404093820386095531,"note":"Value kept but may cause issues"} 
[2026-08-01 17:44:35] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-01 17:44:35] local.WARNING: Large IO value detected {"io_id":126,"raw_value":3801044496949444623,"note":"Value kept but may cause issues"} 
[2026-08-01 17:44:35] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755506815369457,"note":"Value kept but may cause issues"} 
[2026-08-01 17:44:35] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,111,85,24,241,157,16,77,159,31,45,192,135,5,10,66,128,145,12,4,1,240,79,227,76,189,212,113,205,9,213,55,176,14,239,52,2,147,34,126,59],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1299120334,"validated":0}]} 
[2026-08-01 17:44:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2017817210946322432,"timestamp_seconds":2017817210946322.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 17:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110119424001,"66":13374,"111":206,"85":15104,"24":35,"16":113519821039075328,"45":9095160210001182720},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-01 17:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110119424001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:44:35] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-01 17:44:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113519821039075328,"km_value":113519821039075.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095160210001182720,"description":"Unknown IO ID 45"} 
[2026-08-01 17:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110119424001,"power":13374,"unknown_111":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9095160210001182720}} 
[2026-08-01 17:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":147378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578334,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:44:35] local.INFO: GPS data processed {"connection_id":147378,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:44:35] local.INFO: Acknowledgment sent {"connection_id":147378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:44:37] local.INFO: TCP Data received {"connection_id":148684,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd3e2778012d181d000721ad78004700cf26..."} 
[2026-08-01 17:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd3e2778012d181d000721ad78004700cf26..."} 
[2026-08-01 17:44:37] local.INFO: Processing buffer {"connection_id":148684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd3e2778012d181d000721ad78004700cf26..."} 
[2026-08-01 17:44:37] local.INFO: Packet analysis {"connection_id":148684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd3e"} 
[2026-08-01 17:44:37] local.INFO: Extracted packet for processing {"connection_id":148684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd3e"} 
[2026-08-01 17:44:37] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647608,"longitude_deg":75.6555008,"latitude_deg":11.9647608,"altitude":71,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ad78","is_valid_coordinates":true} 
[2026-08-01 17:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110111744001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291106713436160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864667136,"note":"Value kept but may cause issues"} 
[2026-08-01 17:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785586395000,"timestamp_ms":1785586395000,"timestamp_seconds":1785586395,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd3e2778"} 
[2026-08-01 17:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 17:44:37] 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-08-01 17:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:44:37] 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-08-01 17:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110111744001,"66":12461,"105":206,"83":41984,"24":0,"16":10291106713436160,"45":1737545061864667136},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110111744001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:44:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:44:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291106713436160,"km_value":10291106713436.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864667136,"description":"Unknown IO ID 45"} 
[2026-08-01 17:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110111744001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864667136}} 
[2026-08-01 17:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":148684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:44:37] local.INFO: GPS data processed {"connection_id":148684,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:44:37] local.INFO: Acknowledgment sent {"connection_id":148684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:44:57] local.INFO: TCP Data received {"connection_id":148685,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148685,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:44:57] local.INFO: Processing buffer {"connection_id":148685,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:44:57] local.INFO: IMEI packet received {"connection_id":148685,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 17:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":148685,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:45:03] local.INFO: TCP Data received {"connection_id":148685,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148685,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:45:03] local.INFO: Processing buffer {"connection_id":148685,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:45:03] local.INFO: IMEI packet received {"connection_id":148685,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 17:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":148685,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:45:04] local.INFO: TCP Data received {"connection_id":146147,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:45:04] local.INFO: Processing buffer {"connection_id":146147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:45:04] local.INFO: IMEI packet received {"connection_id":146147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 17:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":146147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:45:04] local.INFO: TCP Data received {"connection_id":148685,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd3e7980012d7e390005d43d00001400b40f..."} 
[2026-08-01 17:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd3e7980012d7e390005d43d00001400b40f..."} 
[2026-08-01 17:45:04] local.INFO: Processing buffer {"connection_id":148685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd3e7980012d7e390005d43d00001400b40f..."} 
[2026-08-01 17:45:04] local.INFO: Packet analysis {"connection_id":148685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd3e"} 
[2026-08-01 17:45:04] local.INFO: Extracted packet for processing {"connection_id":148685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd3e"} 
[2026-08-01 17:45:04] local.INFO: GPS Element Parsed {"raw_longitude":763246848,"raw_latitude":97795328,"longitude_deg":76.3246848,"latitude_deg":9.7795328,"altitude":20,"angle":180,"satellites":15,"speed":24,"hex_longitude":"2d7e3900","hex_latitude":"05d43d00","is_valid_coordinates":true} 
[2026-08-01 17:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110119936001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113520276305608704,"note":"Value kept but may cause issues"} 
[2026-08-01 17:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094878735024113664,"note":"Value kept but may cause issues"} 
[2026-08-01 17:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785586416000,"timestamp_ms":1785586416000,"timestamp_seconds":1785586416,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd3e7980"} 
[2026-08-01 17:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-01 17:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:45:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":148685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":148685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":148685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110119936001,"66":13472,"111":206,"85":15104,"24":24,"16":113520276305608704,"45":9094878735024113664},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-01 17:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110119936001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:45:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-01 17:45:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113520276305608704,"km_value":113520276305608.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094878735024113664,"description":"Unknown IO ID 45"} 
[2026-08-01 17:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110119936001,"power":13472,"unknown_111":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9094878735024113664}} 
[2026-08-01 17:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":148685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578336,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:45:04] local.INFO: GPS data processed {"connection_id":148685,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:45:04] local.INFO: Acknowledgment sent {"connection_id":148685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:45:05] local.INFO: TCP Data received {"connection_id":146146,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:45:05] local.INFO: Processing buffer {"connection_id":146146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:45:05] local.INFO: IMEI packet received {"connection_id":146146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":146146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:45:10] local.INFO: TCP Data received {"connection_id":146146,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:45:10] local.INFO: Processing buffer {"connection_id":146146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:45:10] local.INFO: IMEI packet received {"connection_id":146146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":146146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:45:10] local.INFO: TCP Data received {"connection_id":146146,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd3e7980012d181d000721ad78004700cf27..."} 
[2026-08-01 17:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd3e7980012d181d000721ad78004700cf27..."} 
[2026-08-01 17:45:10] local.INFO: Processing buffer {"connection_id":146146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd3e7980012d181d000721ad78004700cf27..."} 
[2026-08-01 17:45:10] local.INFO: Packet analysis {"connection_id":146146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd3e"} 
[2026-08-01 17:45:10] local.INFO: Extracted packet for processing {"connection_id":146146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd3e"} 
[2026-08-01 17:45:10] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647608,"longitude_deg":75.6555008,"latitude_deg":11.9647608,"altitude":71,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ad78","is_valid_coordinates":true} 
[2026-08-01 17:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110117120001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291106713436160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864667136,"note":"Value kept but may cause issues"} 
[2026-08-01 17: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-08-01 17:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785586416000,"timestamp_ms":1785586416000,"timestamp_seconds":1785586416,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd3e7980"} 
[2026-08-01 17:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17: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-08-01 17:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 17: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-08-01 17:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:45: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-08-01 17:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110117120001,"66":12461,"105":206,"83":41984,"24":0,"16":10291106713436160,"45":1737545061864667136},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110117120001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:45:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:45:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291106713436160,"km_value":10291106713436.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864667136,"description":"Unknown IO ID 45"} 
[2026-08-01 17:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110117120001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864667136}} 
[2026-08-01 17:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":146146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578337,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:45:11] local.INFO: GPS data processed {"connection_id":146146,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:45:11] local.INFO: Acknowledgment sent {"connection_id":146146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:45:13] local.INFO: TCP Data received {"connection_id":146147,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:45:13] local.INFO: Processing buffer {"connection_id":146147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:45:13] local.INFO: IMEI packet received {"connection_id":146147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":146147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:45:14] local.INFO: TCP Data received {"connection_id":146147,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd3e8538012cec4440072b9970002b002829..."} 
[2026-08-01 17:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd3e8538012cec4440072b9970002b002829..."} 
[2026-08-01 17:45:14] local.INFO: Processing buffer {"connection_id":146147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd3e8538012cec4440072b9970002b002829..."} 
[2026-08-01 17:45:14] local.INFO: Packet analysis {"connection_id":146147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd3e"} 
[2026-08-01 17:45:14] local.INFO: Extracted packet for processing {"connection_id":146147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd3e"} 
[2026-08-01 17:45:14] local.INFO: GPS Element Parsed {"raw_longitude":753681472,"raw_latitude":120297840,"longitude_deg":75.3681472,"latitude_deg":12.029784,"altitude":43,"angle":40,"satellites":41,"speed":21,"hex_longitude":"2cec4440","hex_latitude":"072b9970","is_valid_coordinates":true} 
[2026-08-01 17:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:45:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110119168001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:45:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366696490892001280,"note":"Value kept but may cause issues"} 
[2026-08-01 17:45:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1428204001034911744,"note":"Value kept but may cause issues"} 
[2026-08-01 17:45:14] 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-08-01 17:45:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785586419000,"timestamp_ms":1785586419000,"timestamp_seconds":1785586419,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd3e8538"} 
[2026-08-01 17:45:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:45: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-08-01 17:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 17:45:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:45:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:45:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:45:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:45:14] local.INFO: Teltonika packet parsed successfully {"connection_id":146147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:45:14] local.INFO: Passing IMEI to GPS processor {"connection_id":146147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:45:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":146147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:45: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-08-01 17:45:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:45:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:45:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110119168001,"66":27843,"225":206,"83":44032,"24":21,"16":366696490892001280,"44":-1428204001034911744},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-08-01 17:45:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:45:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:45:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110119168001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:45:14] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-01 17:45:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 17:45:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366696490892001280,"km_value":366696490892001.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:45:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1428204001034911744,"description":"Unknown IO ID 44"} 
[2026-08-01 17:45:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110119168001,"power":27843,"unknown_225":206,"unknown_83":44032,"ignition":21,"odometer":null,"unknown_44":-1428204001034911744}} 
[2026-08-01 17:45:14] local.INFO: DEBUG: GPS processor result {"connection_id":146147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:45:14] local.INFO: GPS data processed {"connection_id":146147,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:45:14] local.INFO: Acknowledgment sent {"connection_id":146147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:45:15] local.INFO: TCP Data received {"connection_id":146147,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd3e90f0012cec4780072b9ec0002c001829..."} 
[2026-08-01 17:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd3e90f0012cec4780072b9ec0002c001829..."} 
[2026-08-01 17:45:15] local.INFO: Processing buffer {"connection_id":146147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd3e90f0012cec4780072b9ec0002c001829..."} 
[2026-08-01 17:45:15] local.INFO: Packet analysis {"connection_id":146147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd3e"} 
[2026-08-01 17:45:15] local.INFO: Extracted packet for processing {"connection_id":146147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd3e"} 
[2026-08-01 17:45:15] local.INFO: GPS Element Parsed {"raw_longitude":753682304,"raw_latitude":120299200,"longitude_deg":75.3682304,"latitude_deg":12.02992,"altitude":44,"angle":24,"satellites":41,"speed":21,"hex_longitude":"2cec4780","hex_latitude":"072b9ec0","is_valid_coordinates":true} 
[2026-08-01 17:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110123264001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366696568201412608,"note":"Value kept but may cause issues"} 
[2026-08-01 17:45:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1421941182801809408,"note":"Value kept but may cause issues"} 
[2026-08-01 17:45:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785586422000,"timestamp_ms":1785586422000,"timestamp_seconds":1785586422,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd3e90f0"} 
[2026-08-01 17:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:45:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 17:45:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:45:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":146147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":146147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":146147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110123264001,"66":27745,"81":206,"83":44032,"24":21,"16":366696568201412608,"44":-1421941182801809408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,83,24,16,44]} 
[2026-08-01 17:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110123264001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:45:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-01 17:45:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 17:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366696568201412608,"km_value":366696568201412.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:45:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1421941182801809408,"description":"Unknown IO ID 44"} 
[2026-08-01 17:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110123264001,"power":27745,"unknown_81":206,"unknown_83":44032,"ignition":21,"odometer":null,"unknown_44":-1421941182801809408}} 
[2026-08-01 17:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":146147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:45:15] local.INFO: GPS data processed {"connection_id":146147,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:45:15] local.INFO: Acknowledgment sent {"connection_id":146147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:45:18] local.INFO: TCP Data received {"connection_id":146146,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd3ecb88012d181d000721ad78004700cf26..."} 
[2026-08-01 17:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd3ecb88012d181d000721ad78004700cf26..."} 
[2026-08-01 17:45:18] local.INFO: Processing buffer {"connection_id":146146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd3ecb88012d181d000721ad78004700cf26..."} 
[2026-08-01 17:45:18] local.INFO: Packet analysis {"connection_id":146146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd3e"} 
[2026-08-01 17:45:18] local.INFO: Extracted packet for processing {"connection_id":146146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd3e"} 
[2026-08-01 17:45:18] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647608,"longitude_deg":75.6555008,"latitude_deg":11.9647608,"altitude":71,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ad78","is_valid_coordinates":true} 
[2026-08-01 17:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110122496001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291106713436160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864667136,"note":"Value kept but may cause issues"} 
[2026-08-01 17:45:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785586437000,"timestamp_ms":1785586437000,"timestamp_seconds":1785586437,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd3ecb88"} 
[2026-08-01 17:45:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:45:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 17:45: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-08-01 17:45:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:45:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":146146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":146146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":146146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:45:18] 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-08-01 17:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110122496001,"66":12461,"105":206,"83":41984,"24":0,"16":10291106713436160,"45":1737545061864667136},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110122496001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:45:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:45:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291106713436160,"km_value":10291106713436.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:45:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864667136,"description":"Unknown IO ID 45"} 
[2026-08-01 17:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110122496001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864667136}} 
[2026-08-01 17:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":146146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:45:18] local.INFO: GPS data processed {"connection_id":146146,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:45:18] local.INFO: Acknowledgment sent {"connection_id":146146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:45:35] local.INFO: TCP Data received {"connection_id":148685,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd400408012d7e524005d357c80000008e10..."} 
[2026-08-01 17:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd400408012d7e524005d357c80000008e10..."} 
[2026-08-01 17:45:35] local.INFO: Processing buffer {"connection_id":148685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd400408012d7e524005d357c80000008e10..."} 
[2026-08-01 17:45:35] local.INFO: Packet analysis {"connection_id":148685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd40"} 
[2026-08-01 17:45:35] local.INFO: Extracted packet for processing {"connection_id":148685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd40"} 
[2026-08-01 17:45:35] local.INFO: GPS Element Parsed {"raw_longitude":763253312,"raw_latitude":97736648,"longitude_deg":76.3253312,"latitude_deg":9.7736648,"altitude":0,"angle":142,"satellites":16,"speed":14,"hex_longitude":"2d7e5240","hex_latitude":"05d357c8","is_valid_coordinates":true} 
[2026-08-01 17:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110147584001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113523239833042944,"note":"Value kept but may cause issues"} 
[2026-08-01 17:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9101915609424930816,"note":"Value kept but may cause issues"} 
[2026-08-01 17:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785586517000,"timestamp_ms":1785586517000,"timestamp_seconds":1785586517,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd400408"} 
[2026-08-01 17:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-01 17:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:45:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110147584001,"66":13559,"109":206,"85":15104,"24":14,"16":113523239833042944,"45":9101915609424930816},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-01 17:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110147584001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:45:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-01 17:45:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113523239833042944,"km_value":113523239833042.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9101915609424930816,"description":"Unknown IO ID 45"} 
[2026-08-01 17:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110147584001,"power":13559,"unknown_109":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":9101915609424930816}} 
[2026-08-01 17:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":148685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578341,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:45:35] local.INFO: GPS data processed {"connection_id":148685,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:45:35] local.INFO: Acknowledgment sent {"connection_id":148685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:45:44] local.INFO: TCP Data received {"connection_id":146380,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:45:44] local.INFO: Processing buffer {"connection_id":146380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:45:44] local.INFO: IMEI packet received {"connection_id":146380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 17:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":146380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:45:45] local.INFO: TCP Data received {"connection_id":146380,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:45:45] local.INFO: Processing buffer {"connection_id":146380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:45:45] local.INFO: IMEI packet received {"connection_id":146380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":146380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:45:46] local.INFO: TCP Data received {"connection_id":146380,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd3ecb88012cec5880072bbe10002c002429..."} 
[2026-08-01 17:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd3ecb88012cec5880072bbe10002c002429..."} 
[2026-08-01 17:45:46] local.INFO: Processing buffer {"connection_id":146380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd3ecb88012cec5880072bbe10002c002429..."} 
[2026-08-01 17:45:46] local.INFO: Packet analysis {"connection_id":146380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd3e"} 
[2026-08-01 17:45:46] local.INFO: Extracted packet for processing {"connection_id":146380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd3e"} 
[2026-08-01 17:45:46] local.INFO: GPS Element Parsed {"raw_longitude":753686656,"raw_latitude":120307216,"longitude_deg":75.3686656,"latitude_deg":12.0307216,"altitude":44,"angle":36,"satellites":41,"speed":25,"hex_longitude":"2cec5880","hex_latitude":"072bbe10","is_valid_coordinates":true} 
[2026-08-01 17:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110124032001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366697010583044096,"note":"Value kept but may cause issues"} 
[2026-08-01 17:45:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1421026389127151616,"note":"Value kept but may cause issues"} 
[2026-08-01 17:45:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785586437000,"timestamp_ms":1785586437000,"timestamp_seconds":1785586437,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd3ecb88"} 
[2026-08-01 17:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:45: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-08-01 17:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 17:45:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:45:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":146380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":146380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":146380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:45: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-08-01 17:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110124032001,"66":27843,"81":206,"83":44032,"24":25,"16":366697010583044096,"44":-1421026389127151616},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,83,24,16,44]} 
[2026-08-01 17:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110124032001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:45:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-01 17:45:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 17:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366697010583044096,"km_value":366697010583044.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:45:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1421026389127151616,"description":"Unknown IO ID 44"} 
[2026-08-01 17:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110124032001,"power":27843,"unknown_81":206,"unknown_83":44032,"ignition":25,"odometer":null,"unknown_44":-1421026389127151616}} 
[2026-08-01 17:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":146380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:45:46] local.INFO: GPS data processed {"connection_id":146380,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:45:46] local.INFO: Acknowledgment sent {"connection_id":146380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:45:50] local.INFO: TCP Data received {"connection_id":146380,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd3ecb88012cec5880072bbe10002c002429..."} 
[2026-08-01 17:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd3ecb88012cec5880072bbe10002c002429..."} 
[2026-08-01 17:45:50] local.INFO: Processing buffer {"connection_id":146380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd3ecb88012cec5880072bbe10002c002429..."} 
[2026-08-01 17:45:50] local.INFO: Packet analysis {"connection_id":146380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd3e"} 
[2026-08-01 17:45:50] local.INFO: Extracted packet for processing {"connection_id":146380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd3e"} 
[2026-08-01 17:45:50] local.INFO: GPS Element Parsed {"raw_longitude":753686656,"raw_latitude":120307216,"longitude_deg":75.3686656,"latitude_deg":12.0307216,"altitude":44,"angle":36,"satellites":41,"speed":25,"hex_longitude":"2cec5880","hex_latitude":"072bbe10","is_valid_coordinates":true} 
[2026-08-01 17:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:45:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110127872001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:45:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366697010583044096,"note":"Value kept but may cause issues"} 
[2026-08-01 17:45:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1416241314521018368,"note":"Value kept but may cause issues"} 
[2026-08-01 17:45:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:45:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785586437000,"timestamp_ms":1785586437000,"timestamp_seconds":1785586437,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd3ecb88"} 
[2026-08-01 17:45:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17: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-08-01 17:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 17:45:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:45:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:45:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:45:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:45:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:45:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:45:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:45:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:45:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:45:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:45:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110127872001,"66":27843,"81":206,"83":44032,"24":25,"16":366697010583044096,"44":-1416241314521018368},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,83,24,16,44]} 
[2026-08-01 17:45:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:45:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:45:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110127872001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:45:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-01 17:45:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 17:45:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366697010583044096,"km_value":366697010583044.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:45:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1416241314521018368,"description":"Unknown IO ID 44"} 
[2026-08-01 17:45:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110127872001,"power":27843,"unknown_81":206,"unknown_83":44032,"ignition":25,"odometer":null,"unknown_44":-1416241314521018368}} 
[2026-08-01 17:45:50] local.INFO: DEBUG: GPS processor result {"connection_id":146380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:45:50] local.INFO: GPS data processed {"connection_id":146380,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:45:50] local.INFO: Acknowledgment sent {"connection_id":146380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:45:57] local.INFO: TCP Data received {"connection_id":148687,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:45:57] local.INFO: Processing buffer {"connection_id":148687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:45:57] local.INFO: IMEI packet received {"connection_id":148687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 17:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":148687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:45:59] local.INFO: TCP Data received {"connection_id":148686,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:45:59] local.INFO: Processing buffer {"connection_id":148686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:45:59] local.INFO: IMEI packet received {"connection_id":148686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":148686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:45:59] local.INFO: TCP Data received {"connection_id":148686,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:46:00] local.INFO: Processing buffer {"connection_id":148686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:46:00] local.INFO: IMEI packet received {"connection_id":148686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":148686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:46:03] local.INFO: TCP Data received {"connection_id":148687,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:46:03] local.INFO: Processing buffer {"connection_id":148687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:46:03] local.INFO: IMEI packet received {"connection_id":148687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 17:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":148687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:46:04] local.INFO: TCP Data received {"connection_id":148687,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd402348012d7e5bc005d34dc00000009f10..."} 
[2026-08-01 17:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd402348012d7e5bc005d34dc00000009f10..."} 
[2026-08-01 17:46:04] local.INFO: Processing buffer {"connection_id":148687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd402348012d7e5bc005d34dc00000009f10..."} 
[2026-08-01 17:46:04] local.INFO: Packet analysis {"connection_id":148687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd40"} 
[2026-08-01 17:46:04] local.INFO: Extracted packet for processing {"connection_id":148687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd40"} 
[2026-08-01 17:46:04] local.INFO: GPS Element Parsed {"raw_longitude":763255744,"raw_latitude":97734080,"longitude_deg":76.3255744,"latitude_deg":9.773408,"altitude":0,"angle":159,"satellites":16,"speed":11,"hex_longitude":"2d7e5bc0","hex_latitude":"05d34dc0","is_valid_coordinates":true} 
[2026-08-01 17:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110148352001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113523411631734784,"note":"Value kept but may cause issues"} 
[2026-08-01 17:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9102408190633953280,"note":"Value kept but may cause issues"} 
[2026-08-01 17:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785586525000,"timestamp_ms":1785586525000,"timestamp_seconds":1785586525,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd402348"} 
[2026-08-01 17:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:46:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-01 17:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":148687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":148687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":148687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110148352001,"66":13189,"109":206,"85":15104,"24":11,"16":113523411631734784,"45":9102408190633953280},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-01 17:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110148352001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:46:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-01 17:46:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113523411631734784,"km_value":113523411631734.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9102408190633953280,"description":"Unknown IO ID 45"} 
[2026-08-01 17:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110148352001,"power":13189,"unknown_109":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9102408190633953280}} 
[2026-08-01 17:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":148687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578344,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:46:04] local.INFO: GPS data processed {"connection_id":148687,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:46:04] local.INFO: Acknowledgment sent {"connection_id":148687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:46:05] local.INFO: TCP Data received {"connection_id":148686,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:46:05] local.INFO: Processing buffer {"connection_id":148686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:46:05] local.INFO: IMEI packet received {"connection_id":148686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":148686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:46:05] local.INFO: TCP Data received {"connection_id":148686,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd3f1d90012d181d000721ad78004700cf27..."} 
[2026-08-01 17:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd3f1d90012d181d000721ad78004700cf27..."} 
[2026-08-01 17:46:05] local.INFO: Processing buffer {"connection_id":148686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd3f1d90012d181d000721ad78004700cf27..."} 
[2026-08-01 17:46:05] local.INFO: Packet analysis {"connection_id":148686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd3f"} 
[2026-08-01 17:46:05] local.INFO: Extracted packet for processing {"connection_id":148686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd3f"} 
[2026-08-01 17:46:05] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647608,"longitude_deg":75.6555008,"latitude_deg":11.9647608,"altitude":71,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ad78","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110127872001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291106713436160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864667136,"note":"Value kept but may cause issues"} 
[2026-08-01 17:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785586458000,"timestamp_ms":1785586458000,"timestamp_seconds":1785586458,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd3f1d90"} 
[2026-08-01 17:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:46: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-08-01 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 17:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17: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-08-01 17:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:46:05] 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-08-01 17:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110127872001,"66":12461,"105":206,"83":41984,"24":0,"16":10291106713436160,"45":1737545061864667136},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110127872001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:46:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:46:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291106713436160,"km_value":10291106713436.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864667136,"description":"Unknown IO ID 45"} 
[2026-08-01 17:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110127872001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864667136}} 
[2026-08-01 17:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":148686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:46:06] local.INFO: GPS data processed {"connection_id":148686,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:46:06] local.INFO: Acknowledgment sent {"connection_id":148686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:46:21] local.INFO: TCP Data received {"connection_id":146380,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd3eeac8012cec65c0072bccf8002d003129..."} 
[2026-08-01 17:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd3eeac8012cec65c0072bccf8002d003129..."} 
[2026-08-01 17:46:21] local.INFO: Processing buffer {"connection_id":146380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd3eeac8012cec65c0072bccf8002d003129..."} 
[2026-08-01 17:46:21] local.INFO: Packet analysis {"connection_id":146380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd3e"} 
[2026-08-01 17:46:21] local.INFO: Extracted packet for processing {"connection_id":146380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd3e"} 
[2026-08-01 17:46:21] local.INFO: GPS Element Parsed {"raw_longitude":753690048,"raw_latitude":120311032,"longitude_deg":75.3690048,"latitude_deg":12.0311032,"altitude":45,"angle":49,"satellites":41,"speed":24,"hex_longitude":"2cec65c0","hex_latitude":"072bccf8","is_valid_coordinates":true} 
[2026-08-01 17:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110127872001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366697255396179968,"note":"Value kept but may cause issues"} 
[2026-08-01 17:46:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1416241314521018368,"note":"Value kept but may cause issues"} 
[2026-08-01 17:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785586445000,"timestamp_ms":1785586445000,"timestamp_seconds":1785586445,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd3eeac8"} 
[2026-08-01 17:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:46: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-08-01 17:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 17:46:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:46:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:46:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110127872001,"66":27767,"81":206,"83":44032,"24":24,"16":366697255396179968,"44":-1416241314521018368},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,83,24,16,44]} 
[2026-08-01 17:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110127872001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:46:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-01 17:46:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 17:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366697255396179968,"km_value":366697255396179.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:46:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1416241314521018368,"description":"Unknown IO ID 44"} 
[2026-08-01 17:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110127872001,"power":27767,"unknown_81":206,"unknown_83":44032,"ignition":24,"odometer":null,"unknown_44":-1416241314521018368}} 
[2026-08-01 17:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":146380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:46:21] local.INFO: GPS data processed {"connection_id":146380,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:46:21] local.INFO: Acknowledgment sent {"connection_id":146380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:46:35] local.INFO: TCP Data received {"connection_id":148687,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd403ab8012d7e5d4005d34a08000000ad0f..."} 
[2026-08-01 17:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd403ab8012d7e5d4005d34a08000000ad0f..."} 
[2026-08-01 17:46:35] local.INFO: Processing buffer {"connection_id":148687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd403ab8012d7e5d4005d34a08000000ad0f..."} 
[2026-08-01 17:46:35] local.INFO: Packet analysis {"connection_id":148687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd40"} 
[2026-08-01 17:46:35] local.INFO: Extracted packet for processing {"connection_id":148687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd40"} 
[2026-08-01 17:46:35] local.INFO: GPS Element Parsed {"raw_longitude":763256128,"raw_latitude":97733128,"longitude_deg":76.3256128,"latitude_deg":9.7733128,"altitude":0,"angle":173,"satellites":15,"speed":10,"hex_longitude":"2d7e5d40","hex_latitude":"05d34a08","is_valid_coordinates":true} 
[2026-08-01 17:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110150400001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113523463171342336,"note":"Value kept but may cause issues"} 
[2026-08-01 17:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9105082202912047104,"note":"Value kept but may cause issues"} 
[2026-08-01 17:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785586531000,"timestamp_ms":1785586531000,"timestamp_seconds":1785586531,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd403ab8"} 
[2026-08-01 17:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-01 17:46:35] 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-08-01 17:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110150400001,"66":13515,"109":206,"85":15104,"24":10,"16":113523463171342336,"45":9105082202912047104},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-01 17:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110150400001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:46:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-01 17:46:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113523463171342336,"km_value":113523463171342.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9105082202912047104,"description":"Unknown IO ID 45"} 
[2026-08-01 17:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110150400001,"power":13515,"unknown_109":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9105082202912047104}} 
[2026-08-01 17:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":148687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578347,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:46:35] local.INFO: GPS data processed {"connection_id":148687,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:46:35] local.INFO: Acknowledgment sent {"connection_id":148687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:46:37] local.INFO: TCP Data received {"connection_id":148686,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd3f6f98012d181d000721ad78004700cf26..."} 
[2026-08-01 17:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd3f6f98012d181d000721ad78004700cf26..."} 
[2026-08-01 17:46:37] local.INFO: Processing buffer {"connection_id":148686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd3f6f98012d181d000721ad78004700cf26..."} 
[2026-08-01 17:46:37] local.INFO: Packet analysis {"connection_id":148686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd3f"} 
[2026-08-01 17:46:37] local.INFO: Extracted packet for processing {"connection_id":148686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd3f"} 
[2026-08-01 17:46:37] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647608,"longitude_deg":75.6555008,"latitude_deg":11.9647608,"altitude":71,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ad78","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110133248001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291106713436160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864667136,"note":"Value kept but may cause issues"} 
[2026-08-01 17:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785586479000,"timestamp_ms":1785586479000,"timestamp_seconds":1785586479,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd3f6f98"} 
[2026-08-01 17:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:46: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-08-01 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 17:46:37] 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-08-01 17: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-08-01 17:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:46:37] 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-08-01 17:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110133248001,"66":12461,"105":206,"83":41984,"24":0,"16":10291106713436160,"45":1737545061864667136},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110133248001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:46:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:46:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291106713436160,"km_value":10291106713436.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864667136,"description":"Unknown IO ID 45"} 
[2026-08-01 17:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110133248001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864667136}} 
[2026-08-01 17:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":148686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:46:37] local.INFO: GPS data processed {"connection_id":148686,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:46:37] local.INFO: Acknowledgment sent {"connection_id":148686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:46:40] local.INFO: TCP Data received {"connection_id":148688,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:46:40] local.INFO: Processing buffer {"connection_id":148688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:46:40] local.INFO: IMEI packet received {"connection_id":148688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 17:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":148688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:46:44] local.INFO: TCP Data received {"connection_id":148688,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:46:44] local.INFO: Processing buffer {"connection_id":148688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:46:44] local.INFO: IMEI packet received {"connection_id":148688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":148688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:46:49] local.INFO: TCP Data received {"connection_id":148688,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:46:49] local.INFO: Processing buffer {"connection_id":148688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:46:49] local.INFO: IMEI packet received {"connection_id":148688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":148688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:46:49] local.INFO: TCP Data received {"connection_id":148688,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4084f0012ced5300072c7798003a002d27..."} 
[2026-08-01 17:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4084f0012ced5300072c7798003a002d27..."} 
[2026-08-01 17:46:49] local.INFO: Processing buffer {"connection_id":148688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4084f0012ced5300072c7798003a002d27..."} 
[2026-08-01 17:46:49] local.INFO: Packet analysis {"connection_id":148688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd40"} 
[2026-08-01 17:46:49] local.INFO: Extracted packet for processing {"connection_id":148688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd40"} 
[2026-08-01 17:46:49] local.INFO: GPS Element Parsed {"raw_longitude":753750784,"raw_latitude":120354712,"longitude_deg":75.3750784,"latitude_deg":12.0354712,"altitude":58,"angle":45,"satellites":39,"speed":25,"hex_longitude":"2ced5300","hex_latitude":"072c7798","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:46:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110154496001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366700910413348864,"note":"Value kept but may cause issues"} 
[2026-08-01 17:46:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1351713176098578432,"note":"Value kept but may cause issues"} 
[2026-08-01 17:46:49] 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-08-01 17:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785586550000,"timestamp_ms":1785586550000,"timestamp_seconds":1785586550,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4084f0"} 
[2026-08-01 17:46:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:46: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-08-01 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 17:46: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-08-01 17: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-08-01 17:46:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:46:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110154496001,"66":27745,"35":206,"83":44032,"24":25,"16":366700910413348864,"44":-1351713176098578432},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-08-01 17:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110154496001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:46:49] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-01 17:46:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 17:46:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366700910413348864,"km_value":366700910413348.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:46:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1351713176098578432,"description":"Unknown IO ID 44"} 
[2026-08-01 17:46:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110154496001,"power":27745,"unknown_35":206,"unknown_83":44032,"ignition":25,"odometer":null,"unknown_44":-1351713176098578432}} 
[2026-08-01 17:46:49] local.INFO: DEBUG: GPS processor result {"connection_id":148688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:46:49] local.INFO: GPS data processed {"connection_id":148688,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:46:49] local.INFO: Acknowledgment sent {"connection_id":148688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:47:00] local.INFO: TCP Data received {"connection_id":148689,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:47:00] local.INFO: Processing buffer {"connection_id":148689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:47:00] local.INFO: IMEI packet received {"connection_id":148689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":148689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:47:02] local.INFO: TCP Data received {"connection_id":148689,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:47:02] local.INFO: Processing buffer {"connection_id":148689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:47:02] local.INFO: IMEI packet received {"connection_id":148689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":148689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:47:02] local.INFO: TCP Data received {"connection_id":146148,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146148,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:47:02] local.INFO: Processing buffer {"connection_id":146148,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:47:02] local.INFO: IMEI packet received {"connection_id":146148,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 17:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":146148,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:47:03] local.INFO: TCP Data received {"connection_id":146148,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146148,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:47:03] local.INFO: Processing buffer {"connection_id":146148,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:47:03] local.INFO: IMEI packet received {"connection_id":146148,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 17:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":146148,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:47:03] local.INFO: TCP Data received {"connection_id":148689,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd3fc1a0012d181d000721ad78004700cf27..."} 
[2026-08-01 17:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd3fc1a0012d181d000721ad78004700cf27..."} 
[2026-08-01 17:47:03] local.INFO: Processing buffer {"connection_id":148689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd3fc1a0012d181d000721ad78004700cf27..."} 
[2026-08-01 17:47:03] local.INFO: Packet analysis {"connection_id":148689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd3f"} 
[2026-08-01 17:47:03] local.INFO: Extracted packet for processing {"connection_id":148689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd3f"} 
[2026-08-01 17:47:03] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647608,"longitude_deg":75.6555008,"latitude_deg":11.9647608,"altitude":71,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ad78","is_valid_coordinates":true} 
[2026-08-01 17:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110138624001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291106713436160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864667136,"note":"Value kept but may cause issues"} 
[2026-08-01 17:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785586500000,"timestamp_ms":1785586500000,"timestamp_seconds":1785586500,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd3fc1a0"} 
[2026-08-01 17:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:47: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-08-01 17:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 17:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:47:03] 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-08-01 17:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110138624001,"66":12461,"105":206,"83":41984,"24":0,"16":10291106713436160,"45":1737545061864667136},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110138624001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:47:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:47:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291106713436160,"km_value":10291106713436.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864667136,"description":"Unknown IO ID 45"} 
[2026-08-01 17:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110138624001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864667136}} 
[2026-08-01 17:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":148689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:47:03] local.INFO: GPS data processed {"connection_id":148689,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:47:03] local.INFO: Acknowledgment sent {"connection_id":148689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:47:08] local.INFO: TCP Data received {"connection_id":146148,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146148,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:47:08] local.INFO: Processing buffer {"connection_id":146148,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:47:08] local.INFO: IMEI packet received {"connection_id":146148,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 17:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":146148,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:47:09] local.INFO: TCP Data received {"connection_id":146148,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd407550012d7e608005d32530000000b10f..."} 
[2026-08-01 17:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd407550012d7e608005d32530000000b10f..."} 
[2026-08-01 17:47:09] local.INFO: Processing buffer {"connection_id":146148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd407550012d7e608005d32530000000b10f..."} 
[2026-08-01 17:47:09] local.INFO: Packet analysis {"connection_id":146148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd40"} 
[2026-08-01 17:47:09] local.INFO: Extracted packet for processing {"connection_id":146148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd40"} 
[2026-08-01 17:47:09] local.INFO: GPS Element Parsed {"raw_longitude":763256960,"raw_latitude":97723696,"longitude_deg":76.325696,"latitude_deg":9.7723696,"altitude":0,"angle":177,"satellites":15,"speed":29,"hex_longitude":"2d7e6080","hex_latitude":"05d32530","is_valid_coordinates":true} 
[2026-08-01 17:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110151936001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113523922732843008,"note":"Value kept but may cause issues"} 
[2026-08-01 17:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9105504415376869376,"note":"Value kept but may cause issues"} 
[2026-08-01 17:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785586546000,"timestamp_ms":1785586546000,"timestamp_seconds":1785586546,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd407550"} 
[2026-08-01 17:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:47: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-08-01 17:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-01 17:47:09] 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-08-01 17:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":146148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":146148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":146148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:47:09] 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-08-01 17:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110151936001,"66":13472,"109":206,"85":15104,"24":29,"16":113523922732843008,"45":9105504415376869376},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-01 17:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110151936001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:47:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-01 17:47:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113523922732843008,"km_value":113523922732843.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9105504415376869376,"description":"Unknown IO ID 45"} 
[2026-08-01 17:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110151936001,"power":13472,"unknown_109":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9105504415376869376}} 
[2026-08-01 17:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":146148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578351,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:47:09] local.INFO: GPS data processed {"connection_id":146148,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:47:09] local.INFO: Acknowledgment sent {"connection_id":146148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:47:20] local.INFO: TCP Data received {"connection_id":148688,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4130d0012ced69c0072cbb80003900302c..."} 
[2026-08-01 17:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4130d0012ced69c0072cbb80003900302c..."} 
[2026-08-01 17:47:20] local.INFO: Processing buffer {"connection_id":148688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4130d0012ced69c0072cbb80003900302c..."} 
[2026-08-01 17:47:20] local.INFO: Packet analysis {"connection_id":148688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd41"} 
[2026-08-01 17:47:20] local.INFO: Extracted packet for processing {"connection_id":148688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd41"} 
[2026-08-01 17:47:20] local.INFO: GPS Element Parsed {"raw_longitude":753756608,"raw_latitude":120372096,"longitude_deg":75.3756608,"latitude_deg":12.0372096,"altitude":57,"angle":48,"satellites":44,"speed":11,"hex_longitude":"2ced69c0","hex_latitude":"072cbb80","is_valid_coordinates":true} 
[2026-08-01 17:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110167808001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366702070054518784,"note":"Value kept but may cause issues"} 
[2026-08-01 17:47:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1339539383350792192,"note":"Value kept but may cause issues"} 
[2026-08-01 17:47:20] 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-08-01 17:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785586594000,"timestamp_ms":1785586594000,"timestamp_seconds":1785586594,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4130d0"} 
[2026-08-01 17:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:47:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 17:47:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:47:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:47:20] 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-08-01 17:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110167808001,"66":27843,"35":206,"83":44032,"24":11,"16":366702070054518784,"44":-1339539383350792192},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-08-01 17:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110167808001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:47:20] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-01 17:47:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 17:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366702070054518784,"km_value":366702070054518.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:47:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1339539383350792192,"description":"Unknown IO ID 44"} 
[2026-08-01 17:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110167808001,"power":27843,"unknown_35":206,"unknown_83":44032,"ignition":11,"odometer":null,"unknown_44":-1339539383350792192}} 
[2026-08-01 17:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":148688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:47:20] local.INFO: GPS data processed {"connection_id":148688,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:47:20] local.INFO: Acknowledgment sent {"connection_id":148688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:47:35] local.INFO: TCP Data received {"connection_id":148689,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4013a8012d181d000721ad78004700cf26..."} 
[2026-08-01 17:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4013a8012d181d000721ad78004700cf26..."} 
[2026-08-01 17:47:35] local.INFO: Processing buffer {"connection_id":148689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4013a8012d181d000721ad78004700cf26..."} 
[2026-08-01 17:47:35] local.INFO: Packet analysis {"connection_id":148689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd40"} 
[2026-08-01 17:47:35] local.INFO: Extracted packet for processing {"connection_id":148689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd40"} 
[2026-08-01 17:47:35] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647608,"longitude_deg":75.6555008,"latitude_deg":11.9647608,"altitude":71,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ad78","is_valid_coordinates":true} 
[2026-08-01 17:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110144000001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291106713436160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864667136,"note":"Value kept but may cause issues"} 
[2026-08-01 17:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785586521000,"timestamp_ms":1785586521000,"timestamp_seconds":1785586521,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4013a8"} 
[2026-08-01 17:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 17:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:47:35] 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-08-01 17:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110144000001,"66":13993,"105":206,"83":41984,"24":0,"16":10291106713436160,"45":1737545061864667136},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110144000001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:47:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:47:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291106713436160,"km_value":10291106713436.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864667136,"description":"Unknown IO ID 45"} 
[2026-08-01 17:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110144000001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864667136}} 
[2026-08-01 17:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":148689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:47:36] local.INFO: GPS data processed {"connection_id":148689,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:47:36] local.INFO: Acknowledgment sent {"connection_id":148689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:47:39] local.INFO: TCP Data received {"connection_id":146148,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd40bf88012d7e628005d30348000000b210..."} 
[2026-08-01 17:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd40bf88012d7e628005d30348000000b210..."} 
[2026-08-01 17:47:39] local.INFO: Processing buffer {"connection_id":146148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd40bf88012d7e628005d30348000000b210..."} 
[2026-08-01 17:47:39] local.INFO: Packet analysis {"connection_id":146148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd40"} 
[2026-08-01 17:47:39] local.INFO: Extracted packet for processing {"connection_id":146148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd40"} 
[2026-08-01 17:47:39] local.INFO: GPS Element Parsed {"raw_longitude":763257472,"raw_latitude":97715016,"longitude_deg":76.3257472,"latitude_deg":9.7715016,"altitude":0,"angle":178,"satellites":16,"speed":5,"hex_longitude":"2d7e6280","hex_latitude":"05d30348","is_valid_coordinates":true} 
[2026-08-01 17:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110155776001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113524352229572608,"note":"Value kept but may cause issues"} 
[2026-08-01 17:47:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9106419209048764416,"note":"Value kept but may cause issues"} 
[2026-08-01 17:47:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785586565000,"timestamp_ms":1785586565000,"timestamp_seconds":1785586565,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd40bf88"} 
[2026-08-01 17:47:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:47:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-01 17:47:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:47:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:47:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:47:39] 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-08-01 17:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110155776001,"66":13396,"109":206,"85":15104,"24":5,"16":113524352229572608,"45":9106419209048764416},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-01 17:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110155776001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:47:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-01 17:47:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113524352229572608,"km_value":113524352229572.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:47:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9106419209048764416,"description":"Unknown IO ID 45"} 
[2026-08-01 17:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110155776001,"power":13396,"unknown_109":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9106419209048764416}} 
[2026-08-01 17:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":146148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578354,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:47:40] local.INFO: GPS data processed {"connection_id":146148,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:47:40] local.INFO: Acknowledgment sent {"connection_id":146148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:47:42] local.INFO: TCP Data received {"connection_id":147379,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:47:42] local.INFO: Processing buffer {"connection_id":147379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:47:42] local.INFO: IMEI packet received {"connection_id":147379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 17:47:42] local.INFO: IMEI acknowledgment sent {"connection_id":147379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:47:43] local.INFO: TCP Data received {"connection_id":147379,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:47:43] local.INFO: Processing buffer {"connection_id":147379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:47:43] local.INFO: IMEI packet received {"connection_id":147379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":147379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:47:49] local.INFO: TCP Data received {"connection_id":147379,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:47:49] local.INFO: Processing buffer {"connection_id":147379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:47:49] local.INFO: IMEI packet received {"connection_id":147379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":147379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:47:50] local.INFO: TCP Data received {"connection_id":147379,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4134b8012ced6ac0072cbc500039001e2c..."} 
[2026-08-01 17:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4134b8012ced6ac0072cbc500039001e2c..."} 
[2026-08-01 17:47:50] local.INFO: Processing buffer {"connection_id":147379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4134b8012ced6ac0072cbc500039001e2c..."} 
[2026-08-01 17:47:50] local.INFO: Packet analysis {"connection_id":147379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd41"} 
[2026-08-01 17:47:50] local.INFO: Extracted packet for processing {"connection_id":147379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd41"} 
[2026-08-01 17:47:50] local.INFO: GPS Element Parsed {"raw_longitude":753756864,"raw_latitude":120372304,"longitude_deg":75.3756864,"latitude_deg":12.0372304,"altitude":57,"angle":30,"satellites":44,"speed":11,"hex_longitude":"2ced6ac0","hex_latitude":"072cbc50","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110168064001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366702082939420672,"note":"Value kept but may cause issues"} 
[2026-08-01 17:47:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1339328277118222336,"note":"Value kept but may cause issues"} 
[2026-08-01 17:47:50] 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-08-01 17:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785586595000,"timestamp_ms":1785586595000,"timestamp_seconds":1785586595,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4134b8"} 
[2026-08-01 17:47:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:47:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 17:47:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17: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-08-01 17:47:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:47:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:47:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:47:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:47:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:47:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:47:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:47:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:47:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110168064001,"66":27843,"35":206,"83":44032,"24":11,"16":366702082939420672,"44":-1339328277118222336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-08-01 17:47:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:47:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:47:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110168064001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:47:50] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-01 17:47:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 17:47:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366702082939420672,"km_value":366702082939420.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:47:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1339328277118222336,"description":"Unknown IO ID 44"} 
[2026-08-01 17:47:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110168064001,"power":27843,"unknown_35":206,"unknown_83":44032,"ignition":11,"odometer":null,"unknown_44":-1339328277118222336}} 
[2026-08-01 17:47:50] local.INFO: DEBUG: GPS processor result {"connection_id":147379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:47:50] local.INFO: GPS data processed {"connection_id":147379,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:47:50] local.INFO: Acknowledgment sent {"connection_id":147379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:47:57] local.INFO: TCP Data received {"connection_id":147380,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147380,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:47:57] local.INFO: Processing buffer {"connection_id":147380,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:47:57] local.INFO: IMEI packet received {"connection_id":147380,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 17:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":147380,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:48:00] local.INFO: TCP Data received {"connection_id":147381,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:48:00] local.INFO: Processing buffer {"connection_id":147381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:48:00] local.INFO: IMEI packet received {"connection_id":147381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":147381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:48:03] local.INFO: TCP Data received {"connection_id":147380,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147380,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:48:03] local.INFO: Processing buffer {"connection_id":147380,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:48:03] local.INFO: IMEI packet received {"connection_id":147380,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 17:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":147380,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:48:04] local.INFO: TCP Data received {"connection_id":147380,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd40c370012d7e620005d302e0000000f210..."} 
[2026-08-01 17:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd40c370012d7e620005d302e0000000f210..."} 
[2026-08-01 17:48:04] local.INFO: Processing buffer {"connection_id":147380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd40c370012d7e620005d302e0000000f210..."} 
[2026-08-01 17:48:04] local.INFO: Packet analysis {"connection_id":147380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd40"} 
[2026-08-01 17:48:04] local.INFO: Extracted packet for processing {"connection_id":147380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd40"} 
[2026-08-01 17:48:04] local.INFO: GPS Element Parsed {"raw_longitude":763257344,"raw_latitude":97714912,"longitude_deg":76.3257344,"latitude_deg":9.7714912,"altitude":0,"angle":242,"satellites":16,"speed":6,"hex_longitude":"2d7e6200","hex_latitude":"05d302e0","is_valid_coordinates":true} 
[2026-08-01 17:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110160640001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113524360819507200,"note":"Value kept but may cause issues"} 
[2026-08-01 17:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9106982158999963648,"note":"Value kept but may cause issues"} 
[2026-08-01 17:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785586566000,"timestamp_ms":1785586566000,"timestamp_seconds":1785586566,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd40c370"} 
[2026-08-01 17:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:48:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-01 17:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:48:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110160640001,"66":13472,"109":206,"85":15104,"24":6,"16":113524360819507200,"45":9106982158999963648},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-01 17:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110160640001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:48:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-01 17:48:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113524360819507200,"km_value":113524360819507.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9106982158999963648,"description":"Unknown IO ID 45"} 
[2026-08-01 17:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110160640001,"power":13472,"unknown_109":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9106982158999963648}} 
[2026-08-01 17:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":147380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578356,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:48:04] local.INFO: GPS data processed {"connection_id":147380,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:48:04] local.INFO: Acknowledgment sent {"connection_id":147380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:48:05] local.INFO: TCP Data received {"connection_id":147381,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:48:05] local.INFO: Processing buffer {"connection_id":147381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:48:05] local.INFO: IMEI packet received {"connection_id":147381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":147381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:48:06] local.INFO: TCP Data received {"connection_id":147381,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4065b0012d181d000721ad78004700cf27..."} 
[2026-08-01 17:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4065b0012d181d000721ad78004700cf27..."} 
[2026-08-01 17:48:06] local.INFO: Processing buffer {"connection_id":147381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4065b0012d181d000721ad78004700cf27..."} 
[2026-08-01 17:48:06] local.INFO: Packet analysis {"connection_id":147381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd40"} 
[2026-08-01 17:48:06] local.INFO: Extracted packet for processing {"connection_id":147381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd40"} 
[2026-08-01 17:48:06] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647608,"longitude_deg":75.6555008,"latitude_deg":11.9647608,"altitude":71,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ad78","is_valid_coordinates":true} 
[2026-08-01 17:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110149376001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291106713436160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864667136,"note":"Value kept but may cause issues"} 
[2026-08-01 17:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785586542000,"timestamp_ms":1785586542000,"timestamp_seconds":1785586542,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4065b0"} 
[2026-08-01 17:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-01 17:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17: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-08-01 17:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:48:06] 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-08-01 17:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110149376001,"66":12602,"105":206,"83":41984,"24":0,"16":10291106713436160,"45":1737545061864667136},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110149376001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:48:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:48:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291106713436160,"km_value":10291106713436.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864667136,"description":"Unknown IO ID 45"} 
[2026-08-01 17:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110149376001,"power":12602,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864667136}} 
[2026-08-01 17:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":147381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:48:06] local.INFO: GPS data processed {"connection_id":147381,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:48:06] local.INFO: Acknowledgment sent {"connection_id":147381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:48:21] local.INFO: TCP Data received {"connection_id":147379,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd421b30012ced6980072cea700040014c29..."} 
[2026-08-01 17:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd421b30012ced6980072cea700040014c29..."} 
[2026-08-01 17:48:21] local.INFO: Processing buffer {"connection_id":147379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd421b30012ced6980072cea700040014c29..."} 
[2026-08-01 17:48:21] local.INFO: Packet analysis {"connection_id":147379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd42"} 
[2026-08-01 17:48:21] local.INFO: Extracted packet for processing {"connection_id":147379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd42"} 
[2026-08-01 17:48:21] local.INFO: GPS Element Parsed {"raw_longitude":753756544,"raw_latitude":120384112,"longitude_deg":75.3756544,"latitude_deg":12.0384112,"altitude":64,"angle":332,"satellites":41,"speed":12,"hex_longitude":"2ced6980","hex_latitude":"072cea70","is_valid_coordinates":true} 
[2026-08-01 17:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110183168001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366702929047977984,"note":"Value kept but may cause issues"} 
[2026-08-01 17:48:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1339117170882672640,"note":"Value kept but may cause issues"} 
[2026-08-01 17:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785586654000,"timestamp_ms":1785586654000,"timestamp_seconds":1785586654,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd421b30"} 
[2026-08-01 17:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:48:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 17:48:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:48:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:48:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110183168001,"66":27593,"37":206,"83":44032,"24":12,"16":366702929047977984,"44":-1339117170882672640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,83,24,16,44]} 
[2026-08-01 17:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110183168001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:48:21] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-01 17:48:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 17:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366702929047977984,"km_value":366702929047978.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:48:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1339117170882672640,"description":"Unknown IO ID 44"} 
[2026-08-01 17:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110183168001,"power":27593,"unknown_37":206,"unknown_83":44032,"ignition":12,"odometer":null,"unknown_44":-1339117170882672640}} 
[2026-08-01 17:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":147379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:48:21] local.INFO: GPS data processed {"connection_id":147379,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:48:21] local.INFO: Acknowledgment sent {"connection_id":147379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:48:36] local.INFO: TCP Data received {"connection_id":147380,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4255c8012d7e588005d2d8d8000000ba14..."} 
[2026-08-01 17:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4255c8012d7e588005d2d8d8000000ba14..."} 
[2026-08-01 17:48:36] local.INFO: Processing buffer {"connection_id":147380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4255c8012d7e588005d2d8d8000000ba14..."} 
[2026-08-01 17:48:36] local.INFO: Packet analysis {"connection_id":147380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd42"} 
[2026-08-01 17:48:36] local.INFO: Extracted packet for processing {"connection_id":147380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd42"} 
[2026-08-01 17:48:36] local.INFO: GPS Element Parsed {"raw_longitude":763254912,"raw_latitude":97704152,"longitude_deg":76.3254912,"latitude_deg":9.7704152,"altitude":0,"angle":186,"satellites":20,"speed":0,"hex_longitude":"2d7e5880","hex_latitude":"05d2d8d8","is_valid_coordinates":true} 
[2026-08-01 17:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110186752001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113524953524994048,"note":"Value kept but may cause issues"} 
[2026-08-01 17:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9104167409230092288,"note":"Value kept but may cause issues"} 
[2026-08-01 17:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785586669000,"timestamp_ms":1785586669000,"timestamp_seconds":1785586669,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4255c8"} 
[2026-08-01 17:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:48:36] 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-08-01 17:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-01 17:48:36] 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-08-01 17:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:48:36] 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-08-01 17:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110186752001,"66":13450,"116":206,"85":15104,"24":0,"16":113524953524994048,"45":9104167409230092288},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-08-01 17:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110186752001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:48:36] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-01 17:48:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113524953524994048,"km_value":113524953524994.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9104167409230092288,"description":"Unknown IO ID 45"} 
[2026-08-01 17:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110186752001,"power":13450,"unknown_116":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9104167409230092288}} 
[2026-08-01 17:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":147380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578359,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:48:36] local.INFO: GPS data processed {"connection_id":147380,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:48:36] local.INFO: Acknowledgment sent {"connection_id":147380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:48:37] local.INFO: TCP Data received {"connection_id":147381,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd40b7b8012d181d000721ad78004700cf27..."} 
[2026-08-01 17:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd40b7b8012d181d000721ad78004700cf27..."} 
[2026-08-01 17:48:37] local.INFO: Processing buffer {"connection_id":147381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd40b7b8012d181d000721ad78004700cf27..."} 
[2026-08-01 17:48:37] local.INFO: Packet analysis {"connection_id":147381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd40"} 
[2026-08-01 17:48:37] local.INFO: Extracted packet for processing {"connection_id":147381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd40"} 
[2026-08-01 17:48:37] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647608,"longitude_deg":75.6555008,"latitude_deg":11.9647608,"altitude":71,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ad78","is_valid_coordinates":true} 
[2026-08-01 17:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110154752001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291106713436160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864667136,"note":"Value kept but may cause issues"} 
[2026-08-01 17:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785586563000,"timestamp_ms":1785586563000,"timestamp_seconds":1785586563,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd40b7b8"} 
[2026-08-01 17:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-08-01 17:48:37] 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-08-01 17:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:48:37] 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-08-01 17:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110154752001,"66":12580,"105":206,"83":41984,"24":0,"16":10291106713436160,"45":1737545061864667136},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110154752001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:48:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:48:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291106713436160,"km_value":10291106713436.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864667136,"description":"Unknown IO ID 45"} 
[2026-08-01 17:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110154752001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864667136}} 
[2026-08-01 17:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":147381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:48:37] local.INFO: GPS data processed {"connection_id":147381,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:48:37] local.INFO: Acknowledgment sent {"connection_id":147381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:48:44] local.INFO: TCP Data received {"connection_id":148690,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:48:44] local.INFO: Processing buffer {"connection_id":148690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:48:44] local.INFO: IMEI packet received {"connection_id":148690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 17:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":148690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:48:45] local.INFO: TCP Data received {"connection_id":148690,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:48:45] local.INFO: Processing buffer {"connection_id":148690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:48:45] local.INFO: IMEI packet received {"connection_id":148690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":148690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:48:48] local.INFO: TCP Data received {"connection_id":148690,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:48:48] local.INFO: Processing buffer {"connection_id":148690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:48:48] local.INFO: IMEI packet received {"connection_id":148690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":148690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:48:50] local.INFO: TCP Data received {"connection_id":148690,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd421f18012ced6940072ceb98004001642c..."} 
[2026-08-01 17:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd421f18012ced6940072ceb98004001642c..."} 
[2026-08-01 17:48:50] local.INFO: Processing buffer {"connection_id":148690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd421f18012ced6940072ceb98004001642c..."} 
[2026-08-01 17:48:50] local.INFO: Packet analysis {"connection_id":148690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd42"} 
[2026-08-01 17:48:50] local.INFO: Extracted packet for processing {"connection_id":148690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd42"} 
[2026-08-01 17:48:50] local.INFO: GPS Element Parsed {"raw_longitude":753756480,"raw_latitude":120384408,"longitude_deg":75.375648,"latitude_deg":12.0384408,"altitude":64,"angle":356,"satellites":44,"speed":12,"hex_longitude":"2ced6940","hex_latitude":"072ceb98","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110183424001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366702946227847168,"note":"Value kept but may cause issues"} 
[2026-08-01 17:48:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1339398645859323904,"note":"Value kept but may cause issues"} 
[2026-08-01 17:48:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785586655000,"timestamp_ms":1785586655000,"timestamp_seconds":1785586655,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd421f18"} 
[2026-08-01 17:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:48: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-08-01 17: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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-01 17:48:50] 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-08-01 17: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-08-01 17:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:48:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110183424001,"66":27593,"37":206,"83":44032,"24":12,"16":366702946227847168,"44":-1339398645859323904},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,83,24,16,44]} 
[2026-08-01 17:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110183424001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:48:50] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-01 17:48:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 17:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366702946227847168,"km_value":366702946227847.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:48:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1339398645859323904,"description":"Unknown IO ID 44"} 
[2026-08-01 17:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110183424001,"power":27593,"unknown_37":206,"unknown_83":44032,"ignition":12,"odometer":null,"unknown_44":-1339398645859323904}} 
[2026-08-01 17:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":148690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:48:50] local.INFO: GPS data processed {"connection_id":148690,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:48:50] local.INFO: Acknowledgment sent {"connection_id":148690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:48:57] local.INFO: TCP Data received {"connection_id":146381,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146381,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:48:57] local.INFO: Processing buffer {"connection_id":146381,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:48:57] local.INFO: IMEI packet received {"connection_id":146381,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 17:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":146381,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:49:00] local.INFO: TCP Data received {"connection_id":146382,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146382,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:49:00] local.INFO: Processing buffer {"connection_id":146382,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:49:00] local.INFO: IMEI packet received {"connection_id":146382,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":146382,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:49:03] local.INFO: TCP Data received {"connection_id":146381,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146381,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:49:03] local.INFO: Processing buffer {"connection_id":146381,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:49:03] local.INFO: IMEI packet received {"connection_id":146381,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 17:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":146381,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:49:04] local.INFO: TCP Data received {"connection_id":146381,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd42a7d0012d7e588005d2d8d8000000ba13..."} 
[2026-08-01 17:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd42a7d0012d7e588005d2d8d8000000ba13..."} 
[2026-08-01 17:49:04] local.INFO: Processing buffer {"connection_id":146381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd42a7d0012d7e588005d2d8d8000000ba13..."} 
[2026-08-01 17:49:04] local.INFO: Packet analysis {"connection_id":146381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd42"} 
[2026-08-01 17:49:04] local.INFO: Extracted packet for processing {"connection_id":146381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd42"} 
[2026-08-01 17:49:04] local.INFO: GPS Element Parsed {"raw_longitude":763254912,"raw_latitude":97704152,"longitude_deg":76.3254912,"latitude_deg":9.7704152,"altitude":0,"angle":186,"satellites":19,"speed":0,"hex_longitude":"2d7e5880","hex_latitude":"05d2d8d8","is_valid_coordinates":true} 
[2026-08-01 17:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110187264001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113524953524994048,"note":"Value kept but may cause issues"} 
[2026-08-01 17:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9104167409230075904,"note":"Value kept but may cause issues"} 
[2026-08-01 17:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785586690000,"timestamp_ms":1785586690000,"timestamp_seconds":1785586690,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd42a7d0"} 
[2026-08-01 17:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:49: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-08-01 17:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-01 17:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:49:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110187264001,"66":13222,"116":206,"85":15104,"24":0,"16":113524953524994048,"45":9104167409230075904},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-08-01 17:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110187264001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:49:04] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-01 17:49:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113524953524994048,"km_value":113524953524994.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9104167409230075904,"description":"Unknown IO ID 45"} 
[2026-08-01 17:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110187264001,"power":13222,"unknown_116":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9104167409230075904}} 
[2026-08-01 17:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":146381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578362,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:49:04] local.INFO: GPS data processed {"connection_id":146381,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:49:04] local.INFO: Acknowledgment sent {"connection_id":146381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:49:05] local.INFO: TCP Data received {"connection_id":146382,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146382,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:49:05] local.INFO: Processing buffer {"connection_id":146382,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:49:05] local.INFO: IMEI packet received {"connection_id":146382,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":146382,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:49:06] local.INFO: TCP Data received {"connection_id":146382,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4109c0012d181d000721ad78004700cf26..."} 
[2026-08-01 17:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4109c0012d181d000721ad78004700cf26..."} 
[2026-08-01 17:49:06] local.INFO: Processing buffer {"connection_id":146382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4109c0012d181d000721ad78004700cf26..."} 
[2026-08-01 17:49:06] local.INFO: Packet analysis {"connection_id":146382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd41"} 
[2026-08-01 17:49:06] local.INFO: Extracted packet for processing {"connection_id":146382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd41"} 
[2026-08-01 17:49:06] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647608,"longitude_deg":75.6555008,"latitude_deg":11.9647608,"altitude":71,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ad78","is_valid_coordinates":true} 
[2026-08-01 17:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110160128001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291106713436160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864667136,"note":"Value kept but may cause issues"} 
[2026-08-01 17:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785586584000,"timestamp_ms":1785586584000,"timestamp_seconds":1785586584,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4109c0"} 
[2026-08-01 17:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-08-01 17:49:06] 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-08-01 17:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:49:06] 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-08-01 17:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110160128001,"66":12504,"105":206,"83":41984,"24":0,"16":10291106713436160,"45":1737545061864667136},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110160128001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:49:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:49:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291106713436160,"km_value":10291106713436.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864667136,"description":"Unknown IO ID 45"} 
[2026-08-01 17:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110160128001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864667136}} 
[2026-08-01 17:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":146382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:49:06] local.INFO: GPS data processed {"connection_id":146382,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:49:06] local.INFO: Acknowledgment sent {"connection_id":146382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:49:22] local.INFO: TCP Data received {"connection_id":148690,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd422300012ced6980072cecc0004000142d..."} 
[2026-08-01 17:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd422300012ced6980072cecc0004000142d..."} 
[2026-08-01 17:49:22] local.INFO: Processing buffer {"connection_id":148690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd422300012ced6980072cecc0004000142d..."} 
[2026-08-01 17:49:22] local.INFO: Packet analysis {"connection_id":148690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd42"} 
[2026-08-01 17:49:22] local.INFO: Extracted packet for processing {"connection_id":148690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd42"} 
[2026-08-01 17:49:22] local.INFO: GPS Element Parsed {"raw_longitude":753756544,"raw_latitude":120384704,"longitude_deg":75.3756544,"latitude_deg":12.0384704,"altitude":64,"angle":20,"satellites":45,"speed":11,"hex_longitude":"2ced6980","hex_latitude":"072cecc0","is_valid_coordinates":true} 
[2026-08-01 17:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110183680001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366702959112749056,"note":"Value kept but may cause issues"} 
[2026-08-01 17:49:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1339469014603425792,"note":"Value kept but may cause issues"} 
[2026-08-01 17:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785586656000,"timestamp_ms":1785586656000,"timestamp_seconds":1785586656,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd422300"} 
[2026-08-01 17:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:49:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-01 17:49:22] 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-08-01 17:49:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110183680001,"66":27658,"37":206,"83":44032,"24":11,"16":366702959112749056,"44":-1339469014603425792},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,83,24,16,44]} 
[2026-08-01 17:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110183680001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:49:22] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-01 17:49:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 17:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366702959112749056,"km_value":366702959112749.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:49:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1339469014603425792,"description":"Unknown IO ID 44"} 
[2026-08-01 17:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110183680001,"power":27658,"unknown_37":206,"unknown_83":44032,"ignition":11,"odometer":null,"unknown_44":-1339469014603425792}} 
[2026-08-01 17:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":148690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:49:22] local.INFO: GPS data processed {"connection_id":148690,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:49:22] local.INFO: Acknowledgment sent {"connection_id":148690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:49:35] local.INFO: TCP Data received {"connection_id":146381,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd42f9d8012d7e588005d2d8d8000000ba13..."} 
[2026-08-01 17:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd42f9d8012d7e588005d2d8d8000000ba13..."} 
[2026-08-01 17:49:35] local.INFO: Processing buffer {"connection_id":146381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd42f9d8012d7e588005d2d8d8000000ba13..."} 
[2026-08-01 17:49:35] local.INFO: Packet analysis {"connection_id":146381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd42"} 
[2026-08-01 17:49:35] local.INFO: Extracted packet for processing {"connection_id":146381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd42"} 
[2026-08-01 17:49:35] local.INFO: GPS Element Parsed {"raw_longitude":763254912,"raw_latitude":97704152,"longitude_deg":76.3254912,"latitude_deg":9.7704152,"altitude":0,"angle":186,"satellites":19,"speed":0,"hex_longitude":"2d7e5880","hex_latitude":"05d2d8d8","is_valid_coordinates":true} 
[2026-08-01 17:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110192640001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113524953524994048,"note":"Value kept but may cause issues"} 
[2026-08-01 17:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9104167409230075904,"note":"Value kept but may cause issues"} 
[2026-08-01 17:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785586711000,"timestamp_ms":1785586711000,"timestamp_seconds":1785586711,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd42f9d8"} 
[2026-08-01 17:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-01 17:49: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-08-01 17:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110192640001,"66":13472,"116":206,"85":15104,"24":0,"16":113524953524994048,"45":9104167409230075904},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-08-01 17:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110192640001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:49:35] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-01 17:49:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113524953524994048,"km_value":113524953524994.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9104167409230075904,"description":"Unknown IO ID 45"} 
[2026-08-01 17:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110192640001,"power":13472,"unknown_116":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9104167409230075904}} 
[2026-08-01 17:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":146381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578365,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:49:35] local.INFO: GPS data processed {"connection_id":146381,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:49:35] local.INFO: Acknowledgment sent {"connection_id":146381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:49:36] local.INFO: TCP Data received {"connection_id":146382,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd415bc8012d181d000721ad78004700cf27..."} 
[2026-08-01 17:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd415bc8012d181d000721ad78004700cf27..."} 
[2026-08-01 17:49:36] local.INFO: Processing buffer {"connection_id":146382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd415bc8012d181d000721ad78004700cf27..."} 
[2026-08-01 17:49:36] local.INFO: Packet analysis {"connection_id":146382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd41"} 
[2026-08-01 17:49:36] local.INFO: Extracted packet for processing {"connection_id":146382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd41"} 
[2026-08-01 17:49:36] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647608,"longitude_deg":75.6555008,"latitude_deg":11.9647608,"altitude":71,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ad78","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110165504001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291106713436160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864667136,"note":"Value kept but may cause issues"} 
[2026-08-01 17:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785586605000,"timestamp_ms":1785586605000,"timestamp_seconds":1785586605,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd415bc8"} 
[2026-08-01 17:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:49: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-08-01 17: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-01 17:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17: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-08-01 17:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:49:36] 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-08-01 17:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110165504001,"66":12504,"105":206,"83":41984,"24":0,"16":10291106713436160,"45":1737545061864667136},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110165504001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:49:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:49:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291106713436160,"km_value":10291106713436.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864667136,"description":"Unknown IO ID 45"} 
[2026-08-01 17:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110165504001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864667136}} 
[2026-08-01 17:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":146382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:49:37] local.INFO: GPS data processed {"connection_id":146382,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:49:37] local.INFO: Acknowledgment sent {"connection_id":146382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:49:44] local.INFO: TCP Data received {"connection_id":146383,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:49:44] local.INFO: Processing buffer {"connection_id":146383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:49:44] local.INFO: IMEI packet received {"connection_id":146383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 17:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":146383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:49:49] local.INFO: TCP Data received {"connection_id":146383,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:49:49] local.INFO: Processing buffer {"connection_id":146383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:49:49] local.INFO: IMEI packet received {"connection_id":146383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":146383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:49:49] local.INFO: TCP Data received {"connection_id":146383,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd427120012ced7700072d0f18003f000f2b..."} 
[2026-08-01 17:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd427120012ced7700072d0f18003f000f2b..."} 
[2026-08-01 17:49:49] local.INFO: Processing buffer {"connection_id":146383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd427120012ced7700072d0f18003f000f2b..."} 
[2026-08-01 17:49:49] local.INFO: Packet analysis {"connection_id":146383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd42"} 
[2026-08-01 17:49:49] local.INFO: Extracted packet for processing {"connection_id":146383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd42"} 
[2026-08-01 17:49:49] local.INFO: GPS Element Parsed {"raw_longitude":753760000,"raw_latitude":120393496,"longitude_deg":75.376,"latitude_deg":12.0393496,"altitude":63,"angle":15,"satellites":43,"speed":25,"hex_longitude":"2ced7700","hex_latitude":"072d0f18","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110183936001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366703418674249728,"note":"Value kept but may cause issues"} 
[2026-08-01 17:49:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1339398645859172352,"note":"Value kept but may cause issues"} 
[2026-08-01 17:49:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785586676000,"timestamp_ms":1785586676000,"timestamp_seconds":1785586676,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd427120"} 
[2026-08-01 17:49:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:49: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-08-01 17: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 17:49:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17: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-08-01 17:49:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:49:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110183936001,"66":27930,"37":206,"83":44032,"24":25,"16":366703418674249728,"44":-1339398645859172352},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,83,24,16,44]} 
[2026-08-01 17:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110183936001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:49:49] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-01 17:49:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 17:49:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366703418674249728,"km_value":366703418674249.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:49:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1339398645859172352,"description":"Unknown IO ID 44"} 
[2026-08-01 17:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110183936001,"power":27930,"unknown_37":206,"unknown_83":44032,"ignition":25,"odometer":null,"unknown_44":-1339398645859172352}} 
[2026-08-01 17:49:49] local.INFO: DEBUG: GPS processor result {"connection_id":146383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:49:49] local.INFO: GPS data processed {"connection_id":146383,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:49:49] local.INFO: Acknowledgment sent {"connection_id":146383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:49:59] local.INFO: TCP Data received {"connection_id":147383,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:49:59] local.INFO: Processing buffer {"connection_id":147383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:49:59] local.INFO: IMEI packet received {"connection_id":147383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":147383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:50:03] local.INFO: TCP Data received {"connection_id":147382,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147382,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:50:03] local.INFO: Processing buffer {"connection_id":147382,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:50:03] local.INFO: IMEI packet received {"connection_id":147382,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 17:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":147382,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:50:05] local.INFO: TCP Data received {"connection_id":147383,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:50:05] local.INFO: Processing buffer {"connection_id":147383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:50:05] local.INFO: IMEI packet received {"connection_id":147383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":147383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:50:05] local.INFO: TCP Data received {"connection_id":147382,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147382,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:50:05] local.INFO: Processing buffer {"connection_id":147382,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:50:05] local.INFO: IMEI packet received {"connection_id":147382,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 17:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":147382,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:50:06] local.INFO: TCP Data received {"connection_id":147383,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd41add0012d181d000721ad78004700cf26..."} 
[2026-08-01 17:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd41add0012d181d000721ad78004700cf26..."} 
[2026-08-01 17:50:06] local.INFO: Processing buffer {"connection_id":147383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd41add0012d181d000721ad78004700cf26..."} 
[2026-08-01 17:50:06] local.INFO: Packet analysis {"connection_id":147383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd41"} 
[2026-08-01 17:50:06] local.INFO: Extracted packet for processing {"connection_id":147383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd41"} 
[2026-08-01 17:50:06] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647608,"longitude_deg":75.6555008,"latitude_deg":11.9647608,"altitude":71,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ad78","is_valid_coordinates":true} 
[2026-08-01 17:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110170880001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291106713436160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864667136,"note":"Value kept but may cause issues"} 
[2026-08-01 17:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785586626000,"timestamp_ms":1785586626000,"timestamp_seconds":1785586626,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd41add0"} 
[2026-08-01 17:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-01 17:50:06] 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-08-01 17:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:50:06] 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-08-01 17:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110170880001,"66":12461,"105":206,"83":41984,"24":0,"16":10291106713436160,"45":1737545061864667136},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110170880001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:50:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:50:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291106713436160,"km_value":10291106713436.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864667136,"description":"Unknown IO ID 45"} 
[2026-08-01 17:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110170880001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864667136}} 
[2026-08-01 17:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":147383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:50:06] local.INFO: GPS data processed {"connection_id":147383,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:50:06] local.INFO: Acknowledgment sent {"connection_id":147383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:50:06] local.INFO: TCP Data received {"connection_id":147382,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd434be0012d7e588005d2d8d8000000ba13..."} 
[2026-08-01 17:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd434be0012d7e588005d2d8d8000000ba13..."} 
[2026-08-01 17:50:06] local.INFO: Processing buffer {"connection_id":147382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd434be0012d7e588005d2d8d8000000ba13..."} 
[2026-08-01 17:50:06] local.INFO: Packet analysis {"connection_id":147382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd43"} 
[2026-08-01 17:50:06] local.INFO: Extracted packet for processing {"connection_id":147382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd43"} 
[2026-08-01 17:50:06] local.INFO: GPS Element Parsed {"raw_longitude":763254912,"raw_latitude":97704152,"longitude_deg":76.3254912,"latitude_deg":9.7704152,"altitude":0,"angle":186,"satellites":19,"speed":0,"hex_longitude":"2d7e5880","hex_latitude":"05d2d8d8","is_valid_coordinates":true} 
[2026-08-01 17:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110198016001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113524953524994048,"note":"Value kept but may cause issues"} 
[2026-08-01 17:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9104167409230075904,"note":"Value kept but may cause issues"} 
[2026-08-01 17:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785586732000,"timestamp_ms":1785586732000,"timestamp_seconds":1785586732,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd434be0"} 
[2026-08-01 17:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-01 17:50:06] 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-08-01 17:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147382,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147382,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:50:06] 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-08-01 17:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110198016001,"66":13526,"116":206,"85":15104,"24":0,"16":113524953524994048,"45":9104167409230075904},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-08-01 17:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110198016001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:50:06] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-01 17:50:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113524953524994048,"km_value":113524953524994.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9104167409230075904,"description":"Unknown IO ID 45"} 
[2026-08-01 17:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110198016001,"power":13526,"unknown_116":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9104167409230075904}} 
[2026-08-01 17:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":147382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578369,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:50:06] local.INFO: GPS data processed {"connection_id":147382,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:50:06] local.INFO: Acknowledgment sent {"connection_id":147382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:50:09] local.INFO: TCP Data received {"connection_id":147382,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd438678012d7e584005d2d8d80000009016..."} 
[2026-08-01 17:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd438678012d7e584005d2d8d80000009016..."} 
[2026-08-01 17:50:09] local.INFO: Processing buffer {"connection_id":147382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd438678012d7e584005d2d8d80000009016..."} 
[2026-08-01 17:50:09] local.INFO: Packet analysis {"connection_id":147382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd43"} 
[2026-08-01 17:50:09] local.INFO: Extracted packet for processing {"connection_id":147382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd43"} 
[2026-08-01 17:50:09] local.INFO: GPS Element Parsed {"raw_longitude":763254848,"raw_latitude":97704152,"longitude_deg":76.3254848,"latitude_deg":9.7704152,"altitude":0,"angle":144,"satellites":22,"speed":1,"hex_longitude":"2d7e5840","hex_latitude":"05d2d8d8","is_valid_coordinates":true} 
[2026-08-01 17:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110203392001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113524966409895936,"note":"Value kept but may cause issues"} 
[2026-08-01 17:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9104167409230075904,"note":"Value kept but may cause issues"} 
[2026-08-01 17:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785586747000,"timestamp_ms":1785586747000,"timestamp_seconds":1785586747,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd438678"} 
[2026-08-01 17:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-01 17:50:09] 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-08-01 17:50:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":147382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":147382,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":147382,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:50:09] 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-08-01 17:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110203392001,"66":13472,"116":206,"85":15104,"24":1,"16":113524966409895936,"45":9104167409230075904},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-08-01 17:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110203392001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:50:09] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-01 17:50:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113524966409895936,"km_value":113524966409895.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9104167409230075904,"description":"Unknown IO ID 45"} 
[2026-08-01 17:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110203392001,"power":13472,"unknown_116":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9104167409230075904}} 
[2026-08-01 17:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":147382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578370,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:50:09] local.INFO: GPS data processed {"connection_id":147382,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:50:09] local.INFO: Acknowledgment sent {"connection_id":147382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:50:21] local.INFO: TCP Data received {"connection_id":146383,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd429830012ced7f00072d24480041001c2a..."} 
[2026-08-01 17:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd429830012ced7f00072d24480041001c2a..."} 
[2026-08-01 17:50:21] local.INFO: Processing buffer {"connection_id":146383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd429830012ced7f00072d24480041001c2a..."} 
[2026-08-01 17:50:21] local.INFO: Packet analysis {"connection_id":146383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd42"} 
[2026-08-01 17:50:21] local.INFO: Extracted packet for processing {"connection_id":146383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd42"} 
[2026-08-01 17:50:21] local.INFO: GPS Element Parsed {"raw_longitude":753762048,"raw_latitude":120398920,"longitude_deg":75.3762048,"latitude_deg":12.039892,"altitude":65,"angle":28,"satellites":42,"speed":12,"hex_longitude":"2ced7f00","hex_latitude":"072d2448","is_valid_coordinates":true} 
[2026-08-01 17:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110189056001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366703702142091264,"note":"Value kept but may cause issues"} 
[2026-08-01 17:50:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1335598733671327744,"note":"Value kept but may cause issues"} 
[2026-08-01 17:50:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785586686000,"timestamp_ms":1785586686000,"timestamp_seconds":1785586686,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd429830"} 
[2026-08-01 17:50:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:50:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-01 17:50:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:50:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:50:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:50:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110189056001,"66":27843,"37":206,"83":44032,"24":12,"16":366703702142091264,"44":-1335598733671327744},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,83,24,16,44]} 
[2026-08-01 17:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110189056001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:50:21] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-01 17:50:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 17:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366703702142091264,"km_value":366703702142091.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:50:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1335598733671327744,"description":"Unknown IO ID 44"} 
[2026-08-01 17:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110189056001,"power":27843,"unknown_37":206,"unknown_83":44032,"ignition":12,"odometer":null,"unknown_44":-1335598733671327744}} 
[2026-08-01 17:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":146383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:50:21] local.INFO: GPS data processed {"connection_id":146383,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:50:21] local.INFO: Acknowledgment sent {"connection_id":146383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:50:37] local.INFO: TCP Data received {"connection_id":147383,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd41ffd8012d181d000721ad78004700cf27..."} 
[2026-08-01 17:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd41ffd8012d181d000721ad78004700cf27..."} 
[2026-08-01 17:50:37] local.INFO: Processing buffer {"connection_id":147383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd41ffd8012d181d000721ad78004700cf27..."} 
[2026-08-01 17:50:37] local.INFO: Packet analysis {"connection_id":147383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd41"} 
[2026-08-01 17:50:37] local.INFO: Extracted packet for processing {"connection_id":147383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd41"} 
[2026-08-01 17:50:37] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647608,"longitude_deg":75.6555008,"latitude_deg":11.9647608,"altitude":71,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ad78","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110176256001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291106713436160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864667136,"note":"Value kept but may cause issues"} 
[2026-08-01 17:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785586647000,"timestamp_ms":1785586647000,"timestamp_seconds":1785586647,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd41ffd8"} 
[2026-08-01 17:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 17:50:37] 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-08-01 17: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-08-01 17:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:50:37] 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-08-01 17:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110176256001,"66":12439,"105":206,"83":41984,"24":0,"16":10291106713436160,"45":1737545061864667136},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110176256001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:50:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:50:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291106713436160,"km_value":10291106713436.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864667136,"description":"Unknown IO ID 45"} 
[2026-08-01 17:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110176256001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864667136}} 
[2026-08-01 17:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":147383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578372,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:50:37] local.INFO: GPS data processed {"connection_id":147383,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:50:37] local.INFO: Acknowledgment sent {"connection_id":147383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:50:40] local.INFO: TCP Data received {"connection_id":147382,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd43a9a0012d7e588005d2d808000000c515..."} 
[2026-08-01 17:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd43a9a0012d7e588005d2d808000000c515..."} 
[2026-08-01 17:50:40] local.INFO: Processing buffer {"connection_id":147382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd43a9a0012d7e588005d2d808000000c515..."} 
[2026-08-01 17:50:40] local.INFO: Packet analysis {"connection_id":147382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd43"} 
[2026-08-01 17:50:40] local.INFO: Extracted packet for processing {"connection_id":147382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd43"} 
[2026-08-01 17:50:40] local.INFO: GPS Element Parsed {"raw_longitude":763254912,"raw_latitude":97703944,"longitude_deg":76.3254912,"latitude_deg":9.7703944,"altitude":0,"angle":197,"satellites":21,"speed":1,"hex_longitude":"2d7e5880","hex_latitude":"05d2d808","is_valid_coordinates":true} 
[2026-08-01 17:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110207232001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113524974999830528,"note":"Value kept but may cause issues"} 
[2026-08-01 17:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9104097040485898240,"note":"Value kept but may cause issues"} 
[2026-08-01 17:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785586756000,"timestamp_ms":1785586756000,"timestamp_seconds":1785586756,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd43a9a0"} 
[2026-08-01 17:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:50:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-01 17:50: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-08-01 17:50:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":147382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":147382,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":147382,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:50:40] 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-08-01 17:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110207232001,"66":13515,"116":206,"85":15104,"24":1,"16":113524974999830528,"45":9104097040485898240},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-08-01 17:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110207232001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:50:40] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-01 17:50:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113524974999830528,"km_value":113524974999830.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9104097040485898240,"description":"Unknown IO ID 45"} 
[2026-08-01 17:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110207232001,"power":13515,"unknown_116":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9104097040485898240}} 
[2026-08-01 17:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":147382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578373,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:50:40] local.INFO: GPS data processed {"connection_id":147382,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:50:40] local.INFO: Acknowledgment sent {"connection_id":147382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:50:44] local.INFO: TCP Data received {"connection_id":146149,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:50:44] local.INFO: Processing buffer {"connection_id":146149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:50:44] local.INFO: IMEI packet received {"connection_id":146149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 17:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":146149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:50:46] local.INFO: TCP Data received {"connection_id":146149,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:50:46] local.INFO: Processing buffer {"connection_id":146149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:50:46] local.INFO: IMEI packet received {"connection_id":146149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":146149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:50:49] local.INFO: TCP Data received {"connection_id":146149,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:50:49] local.INFO: Processing buffer {"connection_id":146149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:50:49] local.INFO: IMEI packet received {"connection_id":146149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":146149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:50:50] local.INFO: TCP Data received {"connection_id":146149,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd440b48012cedf200072d50400041000c2c..."} 
[2026-08-01 17:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd440b48012cedf200072d50400041000c2c..."} 
[2026-08-01 17:50:50] local.INFO: Processing buffer {"connection_id":146149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd440b48012cedf200072d50400041000c2c..."} 
[2026-08-01 17:50:50] local.INFO: Packet analysis {"connection_id":146149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd44"} 
[2026-08-01 17:50:50] local.INFO: Extracted packet for processing {"connection_id":146149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd44"} 
[2026-08-01 17:50:50] local.INFO: GPS Element Parsed {"raw_longitude":753791488,"raw_latitude":120410176,"longitude_deg":75.3791488,"latitude_deg":12.0410176,"altitude":65,"angle":12,"satellites":44,"speed":15,"hex_longitude":"2cedf200","hex_latitude":"072d5040","is_valid_coordinates":true} 
[2026-08-01 17:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:50:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110210560001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:50:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366705617697505280,"note":"Value kept but may cause issues"} 
[2026-08-01 17:50:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1303158742603030528,"note":"Value kept but may cause issues"} 
[2026-08-01 17:50:50] 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-08-01 17:50:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785586781000,"timestamp_ms":1785586781000,"timestamp_seconds":1785586781,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd440b48"} 
[2026-08-01 17:50:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:50:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-01 17:50:50] 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-08-01 17:50:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:50:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:50:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:50:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:50:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:50:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:50:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:50:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:50:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:50:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110210560001,"66":27800,"229":206,"83":44032,"24":15,"16":366705617697505280,"44":-1303158742603030528},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-08-01 17:50:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:50:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:50:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110210560001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:50:50] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 17:50:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 17:50:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366705617697505280,"km_value":366705617697505.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:50:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1303158742603030528,"description":"Unknown IO ID 44"} 
[2026-08-01 17:50:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110210560001,"power":27800,"unknown_229":206,"unknown_83":44032,"ignition":15,"odometer":null,"unknown_44":-1303158742603030528}} 
[2026-08-01 17:50:50] local.INFO: DEBUG: GPS processor result {"connection_id":146149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:50:50] local.INFO: GPS data processed {"connection_id":146149,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:50:50] local.INFO: Acknowledgment sent {"connection_id":146149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:50:54] local.INFO: TCP Data received {"connection_id":147384,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147384,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:50:54] local.INFO: Processing buffer {"connection_id":147384,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:50:54] local.INFO: IMEI packet received {"connection_id":147384,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 17:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":147384,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:50:58] local.INFO: TCP Data received {"connection_id":147384,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147384,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:50:58] local.INFO: Processing buffer {"connection_id":147384,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:50:58] local.INFO: IMEI packet received {"connection_id":147384,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 17:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":147384,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:51:03] local.INFO: TCP Data received {"connection_id":147384,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147384,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:51:03] local.INFO: Processing buffer {"connection_id":147384,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:51:03] local.INFO: IMEI packet received {"connection_id":147384,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 17:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":147384,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:51:03] local.INFO: TCP Data received {"connection_id":147384,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd43ccc8012d7e584005d2d710000000b815..."} 
[2026-08-01 17:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd43ccc8012d7e584005d2d710000000b815..."} 
[2026-08-01 17:51:03] local.INFO: Processing buffer {"connection_id":147384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd43ccc8012d7e584005d2d710000000b815..."} 
[2026-08-01 17:51:03] local.INFO: Packet analysis {"connection_id":147384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd43"} 
[2026-08-01 17:51:03] local.INFO: Extracted packet for processing {"connection_id":147384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd43"} 
[2026-08-01 17:51:03] local.INFO: GPS Element Parsed {"raw_longitude":763254848,"raw_latitude":97703696,"longitude_deg":76.3254848,"latitude_deg":9.7703696,"altitude":0,"angle":184,"satellites":21,"speed":1,"hex_longitude":"2d7e5840","hex_latitude":"05d2d710","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110209536001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113524992179699712,"note":"Value kept but may cause issues"} 
[2026-08-01 17:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9104167409230022656,"note":"Value kept but may cause issues"} 
[2026-08-01 17:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785586765000,"timestamp_ms":1785586765000,"timestamp_seconds":1785586765,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd43ccc8"} 
[2026-08-01 17:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-01 17:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110209536001,"66":13298,"116":206,"85":15104,"24":1,"16":113524992179699712,"45":9104167409230022656},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-08-01 17:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110209536001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:51:04] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-01 17:51:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113524992179699712,"km_value":113524992179699.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9104167409230022656,"description":"Unknown IO ID 45"} 
[2026-08-01 17:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110209536001,"power":13298,"unknown_116":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9104167409230022656}} 
[2026-08-01 17:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":147384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578375,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:51:04] local.INFO: GPS data processed {"connection_id":147384,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:51:04] local.INFO: Acknowledgment sent {"connection_id":147384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:51:05] local.INFO: TCP Data received {"connection_id":148691,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:51:05] local.INFO: Processing buffer {"connection_id":148691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:51:05] local.INFO: IMEI packet received {"connection_id":148691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":148691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:51:10] local.INFO: TCP Data received {"connection_id":148691,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:51:10] local.INFO: Processing buffer {"connection_id":148691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:51:10] local.INFO: IMEI packet received {"connection_id":148691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":148691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:51:10] local.INFO: TCP Data received {"connection_id":148691,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4251e0012d181d000721ad78004700cf25..."} 
[2026-08-01 17:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4251e0012d181d000721ad78004700cf25..."} 
[2026-08-01 17:51:10] local.INFO: Processing buffer {"connection_id":148691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4251e0012d181d000721ad78004700cf25..."} 
[2026-08-01 17:51:10] local.INFO: Packet analysis {"connection_id":148691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd42"} 
[2026-08-01 17:51:10] local.INFO: Extracted packet for processing {"connection_id":148691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd42"} 
[2026-08-01 17:51:10] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647608,"longitude_deg":75.6555008,"latitude_deg":11.9647608,"altitude":71,"angle":207,"satellites":37,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ad78","is_valid_coordinates":true} 
[2026-08-01 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-08-01 17:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110181632001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291106713436160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864667136,"note":"Value kept but may cause issues"} 
[2026-08-01 17:51: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-08-01 17:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785586668000,"timestamp_ms":1785586668000,"timestamp_seconds":1785586668,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4251e0"} 
[2026-08-01 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-08-01 17:51:10] 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-08-01 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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 17:51: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-08-01 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-08-01 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-08-01 17:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":148691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":148691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":148691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17: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-08-01 17:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110181632001,"66":12428,"105":206,"83":41984,"24":0,"16":10291106713436160,"45":1737545061864667136},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110181632001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:51:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:51:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291106713436160,"km_value":10291106713436.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864667136,"description":"Unknown IO ID 45"} 
[2026-08-01 17:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110181632001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864667136}} 
[2026-08-01 17:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":148691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:51:11] local.INFO: GPS data processed {"connection_id":148691,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:51:11] local.INFO: Acknowledgment sent {"connection_id":148691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:51:14] local.INFO: TCP Data received {"connection_id":148691,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd42a3e8012d181d000721ad78004700cf27..."} 
[2026-08-01 17:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd42a3e8012d181d000721ad78004700cf27..."} 
[2026-08-01 17:51:14] local.INFO: Processing buffer {"connection_id":148691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd42a3e8012d181d000721ad78004700cf27..."} 
[2026-08-01 17:51:14] local.INFO: Packet analysis {"connection_id":148691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd42"} 
[2026-08-01 17:51:14] local.INFO: Extracted packet for processing {"connection_id":148691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd42"} 
[2026-08-01 17:51:14] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647608,"longitude_deg":75.6555008,"latitude_deg":11.9647608,"altitude":71,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ad78","is_valid_coordinates":true} 
[2026-08-01 17:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110187008001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291106713436160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864667136,"note":"Value kept but may cause issues"} 
[2026-08-01 17:51: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-08-01 17:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785586689000,"timestamp_ms":1785586689000,"timestamp_seconds":1785586689,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd42a3e8"} 
[2026-08-01 17:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:51: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-08-01 17:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-01 17:51:14] 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-08-01 17:51:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":148691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":148691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":148691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:51:14] 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-08-01 17:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110187008001,"66":12341,"105":206,"83":41984,"24":0,"16":10291106713436160,"45":1737545061864667136},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110187008001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:51:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:51:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291106713436160,"km_value":10291106713436.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864667136,"description":"Unknown IO ID 45"} 
[2026-08-01 17:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110187008001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864667136}} 
[2026-08-01 17:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":148691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:51:14] local.INFO: GPS data processed {"connection_id":148691,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:51:14] local.INFO: Acknowledgment sent {"connection_id":148691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:51:21] local.INFO: TCP Data received {"connection_id":146149,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd445968012cedf980072d73d0004200062e..."} 
[2026-08-01 17:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd445968012cedf980072d73d0004200062e..."} 
[2026-08-01 17:51:21] local.INFO: Processing buffer {"connection_id":146149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd445968012cedf980072d73d0004200062e..."} 
[2026-08-01 17:51:21] local.INFO: Packet analysis {"connection_id":146149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd44"} 
[2026-08-01 17:51:21] local.INFO: Extracted packet for processing {"connection_id":146149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd44"} 
[2026-08-01 17:51:21] local.INFO: GPS Element Parsed {"raw_longitude":753793408,"raw_latitude":120419280,"longitude_deg":75.3793408,"latitude_deg":12.041928,"altitude":66,"angle":6,"satellites":46,"speed":22,"hex_longitude":"2cedf980","hex_latitude":"072d73d0","is_valid_coordinates":true} 
[2026-08-01 17:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110215936001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366706068669071360,"note":"Value kept but may cause issues"} 
[2026-08-01 17:51:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1300977311531646976,"note":"Value kept but may cause issues"} 
[2026-08-01 17:51:21] 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-08-01 17:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785586801000,"timestamp_ms":1785586801000,"timestamp_seconds":1785586801,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd445968"} 
[2026-08-01 17:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 17:51:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:51:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110215936001,"66":27789,"229":206,"83":44032,"24":22,"16":366706068669071360,"44":-1300977311531646976},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-08-01 17:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110215936001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:51:21] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 17:51:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 17:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366706068669071360,"km_value":366706068669071.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:51:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1300977311531646976,"description":"Unknown IO ID 44"} 
[2026-08-01 17:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110215936001,"power":27789,"unknown_229":206,"unknown_83":44032,"ignition":22,"odometer":null,"unknown_44":-1300977311531646976}} 
[2026-08-01 17:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":146149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:51:21] local.INFO: GPS data processed {"connection_id":146149,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:51:21] local.INFO: Acknowledgment sent {"connection_id":146149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:51:35] local.INFO: TCP Data received {"connection_id":147384,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd440378012d7e57c005d2d4f8000000ca17..."} 
[2026-08-01 17:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd440378012d7e57c005d2d4f8000000ca17..."} 
[2026-08-01 17:51:35] local.INFO: Processing buffer {"connection_id":147384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd440378012d7e57c005d2d4f8000000ca17..."} 
[2026-08-01 17:51:35] local.INFO: Packet analysis {"connection_id":147384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd44"} 
[2026-08-01 17:51:35] local.INFO: Extracted packet for processing {"connection_id":147384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd44"} 
[2026-08-01 17:51:35] local.INFO: GPS Element Parsed {"raw_longitude":763254720,"raw_latitude":97703160,"longitude_deg":76.325472,"latitude_deg":9.770316,"altitude":0,"angle":202,"satellites":23,"speed":5,"hex_longitude":"2d7e57c0","hex_latitude":"05d2d4f8","is_valid_coordinates":true} 
[2026-08-01 17:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110211840001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113525017949503488,"note":"Value kept but may cause issues"} 
[2026-08-01 17:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9104097040485781504,"note":"Value kept but may cause issues"} 
[2026-08-01 17:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785586779000,"timestamp_ms":1785586779000,"timestamp_seconds":1785586779,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd440378"} 
[2026-08-01 17:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-01 17:51:35] 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-08-01 17:51:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110211840001,"66":13515,"116":206,"85":15104,"24":5,"16":113525017949503488,"45":9104097040485781504},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-08-01 17:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110211840001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:51:35] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-01 17:51:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113525017949503488,"km_value":113525017949503.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9104097040485781504,"description":"Unknown IO ID 45"} 
[2026-08-01 17:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110211840001,"power":13515,"unknown_116":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9104097040485781504}} 
[2026-08-01 17:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":147384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578379,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:51:35] local.INFO: GPS data processed {"connection_id":147384,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:51:35] local.INFO: Acknowledgment sent {"connection_id":147384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:51:43] local.INFO: TCP Data received {"connection_id":147385,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:51:43] local.INFO: Processing buffer {"connection_id":147385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:51:43] local.INFO: IMEI packet received {"connection_id":147385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 17:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":147385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:51:44] local.INFO: TCP Data received {"connection_id":147385,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:51:44] local.INFO: Processing buffer {"connection_id":147385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:51:44] local.INFO: IMEI packet received {"connection_id":147385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":147385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:51:49] local.INFO: TCP Data received {"connection_id":147385,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:51:49] local.INFO: Processing buffer {"connection_id":147385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:51:49] local.INFO: IMEI packet received {"connection_id":147385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":147385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:51:49] local.INFO: TCP Data received {"connection_id":147385,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd445968012cedf980072d73d0004200062e..."} 
[2026-08-01 17:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd445968012cedf980072d73d0004200062e..."} 
[2026-08-01 17:51:49] local.INFO: Processing buffer {"connection_id":147385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd445968012cedf980072d73d0004200062e..."} 
[2026-08-01 17:51:49] local.INFO: Packet analysis {"connection_id":147385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd44"} 
[2026-08-01 17:51:49] local.INFO: Extracted packet for processing {"connection_id":147385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd44"} 
[2026-08-01 17:51:49] local.INFO: GPS Element Parsed {"raw_longitude":753793408,"raw_latitude":120419280,"longitude_deg":75.3793408,"latitude_deg":12.041928,"altitude":66,"angle":6,"satellites":46,"speed":22,"hex_longitude":"2cedf980","hex_latitude":"072d73d0","is_valid_coordinates":true} 
[2026-08-01 17:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110221056001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366706068669071360,"note":"Value kept but may cause issues"} 
[2026-08-01 17:51:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1298866249203986432,"note":"Value kept but may cause issues"} 
[2026-08-01 17:51:49] 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-08-01 17:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785586801000,"timestamp_ms":1785586801000,"timestamp_seconds":1785586801,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd445968"} 
[2026-08-01 17:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:51: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-08-01 17:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-01 17:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:51:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110221056001,"66":27789,"229":206,"83":44032,"24":22,"16":366706068669071360,"44":-1298866249203986432},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-08-01 17:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110221056001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:51:49] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 17:51:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 17:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366706068669071360,"km_value":366706068669071.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:51:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1298866249203986432,"description":"Unknown IO ID 44"} 
[2026-08-01 17:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110221056001,"power":27789,"unknown_229":206,"unknown_83":44032,"ignition":22,"odometer":null,"unknown_44":-1298866249203986432}} 
[2026-08-01 17:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":147385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:51:49] local.INFO: GPS data processed {"connection_id":147385,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:51:49] local.INFO: Acknowledgment sent {"connection_id":147385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:51:56] local.INFO: TCP Data received {"connection_id":146150,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146150,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:51:56] local.INFO: Processing buffer {"connection_id":146150,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:51:56] local.INFO: IMEI packet received {"connection_id":146150,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":146150,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:51:58] local.INFO: TCP Data received {"connection_id":148692,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148692,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:51:58] local.INFO: Processing buffer {"connection_id":148692,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:51:58] local.INFO: IMEI packet received {"connection_id":148692,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 17:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":148692,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:52:00] local.INFO: TCP Data received {"connection_id":146150,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146150,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:52:00] local.INFO: Processing buffer {"connection_id":146150,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:52:00] local.INFO: IMEI packet received {"connection_id":146150,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":146150,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:52:03] local.INFO: TCP Data received {"connection_id":148692,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148692,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:52:03] local.INFO: Processing buffer {"connection_id":148692,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:52:03] local.INFO: IMEI packet received {"connection_id":148692,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 17:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":148692,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:52:04] local.INFO: TCP Data received {"connection_id":148692,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd45d068012d7d48c005d28e60000e00fc17..."} 
[2026-08-01 17:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd45d068012d7d48c005d28e60000e00fc17..."} 
[2026-08-01 17:52:04] local.INFO: Processing buffer {"connection_id":148692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd45d068012d7d48c005d28e60000e00fc17..."} 
[2026-08-01 17:52:04] local.INFO: Packet analysis {"connection_id":148692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd45"} 
[2026-08-01 17:52:04] local.INFO: Extracted packet for processing {"connection_id":148692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd45"} 
[2026-08-01 17:52:04] local.INFO: GPS Element Parsed {"raw_longitude":763185344,"raw_latitude":97685088,"longitude_deg":76.3185344,"latitude_deg":9.7685088,"altitude":14,"angle":252,"satellites":23,"speed":12,"hex_longitude":"2d7d48c0","hex_latitude":"05d28e60","is_valid_coordinates":true} 
[2026-08-01 17:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110242048001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113528698736476160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9032954240117411840,"note":"Value kept but may cause issues"} 
[2026-08-01 17:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785586897000,"timestamp_ms":1785586897000,"timestamp_seconds":1785586897,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd45d068"} 
[2026-08-01 17:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-01 17:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":148692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":148692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":148692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110242048001,"66":13319,"115":206,"85":15104,"24":12,"16":113528698736476160,"45":9032954240117411840},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-01 17:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110242048001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:52:04] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-01 17:52:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113528698736476160,"km_value":113528698736476.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9032954240117411840,"description":"Unknown IO ID 45"} 
[2026-08-01 17:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110242048001,"power":13319,"unknown_115":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9032954240117411840}} 
[2026-08-01 17:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":148692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578381,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:52:04] local.INFO: GPS data processed {"connection_id":148692,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:52:04] local.INFO: Acknowledgment sent {"connection_id":148692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:52:05] local.INFO: TCP Data received {"connection_id":146150,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146150,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:52:05] local.INFO: Processing buffer {"connection_id":146150,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:52:05] local.INFO: IMEI packet received {"connection_id":146150,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":146150,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:52:06] local.INFO: TCP Data received {"connection_id":146150,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd42f5f0012d181d000721ad78004700cf25..."} 
[2026-08-01 17:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd42f5f0012d181d000721ad78004700cf25..."} 
[2026-08-01 17:52:06] local.INFO: Processing buffer {"connection_id":146150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd42f5f0012d181d000721ad78004700cf25..."} 
[2026-08-01 17:52:06] local.INFO: Packet analysis {"connection_id":146150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd42"} 
[2026-08-01 17:52:06] local.INFO: Extracted packet for processing {"connection_id":146150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd42"} 
[2026-08-01 17:52:06] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647608,"longitude_deg":75.6555008,"latitude_deg":11.9647608,"altitude":71,"angle":207,"satellites":37,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ad78","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110192384001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291106713436160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864667136,"note":"Value kept but may cause issues"} 
[2026-08-01 17:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785586710000,"timestamp_ms":1785586710000,"timestamp_seconds":1785586710,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd42f5f0"} 
[2026-08-01 17:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-01 17:52:06] 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-08-01 17: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-08-01 17:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:52:06] 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-08-01 17:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110192384001,"66":12341,"105":206,"83":41984,"24":0,"16":10291106713436160,"45":1737545061864667136},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110192384001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:52:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:52:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291106713436160,"km_value":10291106713436.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864667136,"description":"Unknown IO ID 45"} 
[2026-08-01 17:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110192384001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864667136}} 
[2026-08-01 17:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":146150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:52:06] local.INFO: GPS data processed {"connection_id":146150,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:52:06] local.INFO: Acknowledgment sent {"connection_id":146150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:52:23] local.INFO: TCP Data received {"connection_id":147385,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd45c4b0012cede0c0072e0c40004500242e..."} 
[2026-08-01 17:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd45c4b0012cede0c0072e0c40004500242e..."} 
[2026-08-01 17:52:23] local.INFO: Processing buffer {"connection_id":147385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd45c4b0012cede0c0072e0c40004500242e..."} 
[2026-08-01 17:52:23] local.INFO: Packet analysis {"connection_id":147385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd45"} 
[2026-08-01 17:52:23] local.INFO: Extracted packet for processing {"connection_id":147385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd45"} 
[2026-08-01 17:52:23] local.INFO: GPS Element Parsed {"raw_longitude":753787072,"raw_latitude":120458304,"longitude_deg":75.3787072,"latitude_deg":12.0458304,"altitude":69,"angle":36,"satellites":46,"speed":6,"hex_longitude":"2cede0c0","hex_latitude":"072e0c40","is_valid_coordinates":true} 
[2026-08-01 17:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110244608001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366708001404354560,"note":"Value kept but may cause issues"} 
[2026-08-01 17:52:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1305903123611805696,"note":"Value kept but may cause issues"} 
[2026-08-01 17:52:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785586894000,"timestamp_ms":1785586894000,"timestamp_seconds":1785586894,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd45c4b0"} 
[2026-08-01 17:52:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:52: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-08-01 17:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 17:52:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:52:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:52:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":147385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":147385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":147385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:52:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110244608001,"66":27745,"229":206,"83":44032,"24":6,"16":366708001404354560,"44":-1305903123611805696},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-08-01 17:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110244608001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:52:23] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 17:52:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 17:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366708001404354560,"km_value":366708001404354.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:52:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1305903123611805696,"description":"Unknown IO ID 44"} 
[2026-08-01 17:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110244608001,"power":27745,"unknown_229":206,"unknown_83":44032,"ignition":6,"odometer":null,"unknown_44":-1305903123611805696}} 
[2026-08-01 17:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":147385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:52:23] local.INFO: GPS data processed {"connection_id":147385,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:52:23] local.INFO: Acknowledgment sent {"connection_id":147385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:52:35] local.INFO: TCP Data received {"connection_id":148692,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd45d838012d7d460005d28d38000e00f018..."} 
[2026-08-01 17:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd45d838012d7d460005d28d38000e00f018..."} 
[2026-08-01 17:52:35] local.INFO: Processing buffer {"connection_id":148692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd45d838012d7d460005d28d38000e00f018..."} 
[2026-08-01 17:52:35] local.INFO: Packet analysis {"connection_id":148692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd45"} 
[2026-08-01 17:52:35] local.INFO: Extracted packet for processing {"connection_id":148692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd45"} 
[2026-08-01 17:52:35] local.INFO: GPS Element Parsed {"raw_longitude":763184640,"raw_latitude":97684792,"longitude_deg":76.318464,"latitude_deg":9.7684792,"altitude":14,"angle":240,"satellites":24,"speed":14,"hex_longitude":"2d7d4600","hex_latitude":"05d28d38","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110245632001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113528733096214528,"note":"Value kept but may cause issues"} 
[2026-08-01 17:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027676584304074752,"note":"Value kept but may cause issues"} 
[2026-08-01 17:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785586899000,"timestamp_ms":1785586899000,"timestamp_seconds":1785586899,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd45d838"} 
[2026-08-01 17:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-01 17:52:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-01 17:52:35] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3175386160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:52:35] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3532660736,"note":"Value kept but may cause issues"} 
[2026-08-01 17:52:35] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-01 17:52:35] local.WARNING: Large IO value detected {"io_id":84,"raw_value":3187671040,"note":"Value kept but may cause issues"} 
[2026-08-01 17:52:35] local.WARNING: Large IO value detected {"io_id":210,"raw_value":-8061443332976273920,"note":"Value kept but may cause issues"} 
[2026-08-01 17:52:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2792620238,"corrected_to":0} 
[2026-08-01 17:52:35] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3221607057,"note":"Value kept but may cause issues"} 
[2026-08-01 17:52:35] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57885387385623867,"note":"Value kept but may cause issues"} 
[2026-08-01 17:52:35] local.WARNING: Large IO value detected {"io_id":68,"raw_value":-8908118768038625275,"note":"Value kept but may cause issues"} 
[2026-08-01 17:52:35] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,115,85,24,241,157,16,159,153,45,128,142,5,19,10,66,91,64,141,4,23,116,32,1,240,94,227,84,189,210,113,205,31,187,233,239,52,2,147,7,68],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2792620238,"validated":0}]} 
[2026-08-01 17:52:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1009083492246224896,"timestamp_seconds":1009083492246224.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 17:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110245632001,"66":13319,"115":206,"85":15104,"24":14,"16":113528733096214528,"45":9027676584304074752},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-01 17:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110245632001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:52:35] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-01 17:52:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113528733096214528,"km_value":113528733096214.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027676584304074752,"description":"Unknown IO ID 45"} 
[2026-08-01 17:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110245632001,"power":13319,"unknown_115":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":9027676584304074752}} 
[2026-08-01 17:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":148692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578384,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:52:35] local.INFO: GPS data processed {"connection_id":148692,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:52:35] local.INFO: Acknowledgment sent {"connection_id":148692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:52:37] local.INFO: TCP Data received {"connection_id":146150,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4347f8012d181d000721ad78004700cf25..."} 
[2026-08-01 17:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4347f8012d181d000721ad78004700cf25..."} 
[2026-08-01 17:52:37] local.INFO: Processing buffer {"connection_id":146150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4347f8012d181d000721ad78004700cf25..."} 
[2026-08-01 17:52:37] local.INFO: Packet analysis {"connection_id":146150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd43"} 
[2026-08-01 17:52:37] local.INFO: Extracted packet for processing {"connection_id":146150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd43"} 
[2026-08-01 17:52:37] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647608,"longitude_deg":75.6555008,"latitude_deg":11.9647608,"altitude":71,"angle":207,"satellites":37,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ad78","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110197760001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291106713436160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864667136,"note":"Value kept but may cause issues"} 
[2026-08-01 17:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785586731000,"timestamp_ms":1785586731000,"timestamp_seconds":1785586731,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4347f8"} 
[2026-08-01 17:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:52: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-08-01 17: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-01 17:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17: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-08-01 17:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:52:37] 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-08-01 17:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110197760001,"66":12341,"105":206,"83":41984,"24":0,"16":10291106713436160,"45":1737545061864667136},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110197760001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:52:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:52:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291106713436160,"km_value":10291106713436.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864667136,"description":"Unknown IO ID 45"} 
[2026-08-01 17:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110197760001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864667136}} 
[2026-08-01 17:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":146150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:52:37] local.INFO: GPS data processed {"connection_id":146150,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:52:37] local.INFO: Acknowledgment sent {"connection_id":146150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:52:48] local.INFO: TCP Data received {"connection_id":146151,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:52:48] local.INFO: Processing buffer {"connection_id":146151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:52:48] local.INFO: IMEI packet received {"connection_id":146151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 17:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":146151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:52:48] local.INFO: TCP Data received {"connection_id":146151,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:52:48] local.INFO: Processing buffer {"connection_id":146151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:52:48] local.INFO: IMEI packet received {"connection_id":146151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":146151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:52:54] local.INFO: TCP Data received {"connection_id":146151,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:52:54] local.INFO: Processing buffer {"connection_id":146151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:52:54] local.INFO: IMEI packet received {"connection_id":146151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":146151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:52:54] local.INFO: TCP Data received {"connection_id":146151,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd45c898012cede140072e0cc8004600352f..."} 
[2026-08-01 17:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd45c898012cede140072e0cc8004600352f..."} 
[2026-08-01 17:52:54] local.INFO: Processing buffer {"connection_id":146151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd45c898012cede140072e0cc8004600352f..."} 
[2026-08-01 17:52:54] local.INFO: Packet analysis {"connection_id":146151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd45"} 
[2026-08-01 17:52:54] local.INFO: Extracted packet for processing {"connection_id":146151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd45"} 
[2026-08-01 17:52:54] local.INFO: GPS Element Parsed {"raw_longitude":753787200,"raw_latitude":120458440,"longitude_deg":75.37872,"latitude_deg":12.045844,"altitude":70,"angle":53,"satellites":47,"speed":8,"hex_longitude":"2cede140","hex_latitude":"072e0cc8","is_valid_coordinates":true} 
[2026-08-01 17:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110244864001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366708009994289152,"note":"Value kept but may cause issues"} 
[2026-08-01 17:52:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1305832754867585024,"note":"Value kept but may cause issues"} 
[2026-08-01 17:52:54] 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-08-01 17:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785586895000,"timestamp_ms":1785586895000,"timestamp_seconds":1785586895,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd45c898"} 
[2026-08-01 17:52:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:52:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 17:52:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:52:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:52:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:52:54] 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-08-01 17:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110244864001,"66":27745,"229":206,"83":44032,"24":8,"16":366708009994289152,"44":-1305832754867585024},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-08-01 17:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110244864001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:52:54] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 17:52:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 17:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366708009994289152,"km_value":366708009994289.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:52:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1305832754867585024,"description":"Unknown IO ID 44"} 
[2026-08-01 17:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110244864001,"power":27745,"unknown_229":206,"unknown_83":44032,"ignition":8,"odometer":null,"unknown_44":-1305832754867585024}} 
[2026-08-01 17:52:54] local.INFO: DEBUG: GPS processor result {"connection_id":146151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:52:54] local.INFO: GPS data processed {"connection_id":146151,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:52:54] local.INFO: Acknowledgment sent {"connection_id":146151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:52:55] local.INFO: TCP Data received {"connection_id":146151,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd45cc80012cede200072e0d20004600462e..."} 
[2026-08-01 17:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd45cc80012cede200072e0d20004600462e..."} 
[2026-08-01 17:52:55] local.INFO: Processing buffer {"connection_id":146151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd45cc80012cede200072e0d20004600462e..."} 
[2026-08-01 17:52:55] local.INFO: Packet analysis {"connection_id":146151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd45"} 
[2026-08-01 17:52:55] local.INFO: Extracted packet for processing {"connection_id":146151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd45"} 
[2026-08-01 17:52:55] local.INFO: GPS Element Parsed {"raw_longitude":753787392,"raw_latitude":120458528,"longitude_deg":75.3787392,"latitude_deg":12.0458528,"altitude":70,"angle":70,"satellites":46,"speed":8,"hex_longitude":"2cede200","hex_latitude":"072e0d20","is_valid_coordinates":true} 
[2026-08-01 17:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110245120001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366708018584223744,"note":"Value kept but may cause issues"} 
[2026-08-01 17:52:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1305692017379194880,"note":"Value kept but may cause issues"} 
[2026-08-01 17:52:55] 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-08-01 17:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785586896000,"timestamp_ms":1785586896000,"timestamp_seconds":1785586896,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd45cc80"} 
[2026-08-01 17:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:52:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 17:52:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:52:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":146151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":146151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":146151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:52:55] 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-08-01 17:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110245120001,"66":27745,"229":206,"83":44032,"24":8,"16":366708018584223744,"44":-1305692017379194880},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-08-01 17:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110245120001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:52:55] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 17:52:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 17:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366708018584223744,"km_value":366708018584223.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:52:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1305692017379194880,"description":"Unknown IO ID 44"} 
[2026-08-01 17:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110245120001,"power":27745,"unknown_229":206,"unknown_83":44032,"ignition":8,"odometer":null,"unknown_44":-1305692017379194880}} 
[2026-08-01 17:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":146151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:52:55] local.INFO: GPS data processed {"connection_id":146151,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:52:55] local.INFO: Acknowledgment sent {"connection_id":146151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:52:57] local.INFO: TCP Data received {"connection_id":146152,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146152,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:52:57] local.INFO: Processing buffer {"connection_id":146152,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:52:57] local.INFO: IMEI packet received {"connection_id":146152,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 17:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":146152,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:52:59] local.INFO: TCP Data received {"connection_id":146384,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146384,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:52:59] local.INFO: Processing buffer {"connection_id":146384,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:52:59] local.INFO: IMEI packet received {"connection_id":146384,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":146384,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:52:59] local.INFO: TCP Data received {"connection_id":146384,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146384,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:52:59] local.INFO: Processing buffer {"connection_id":146384,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:52:59] local.INFO: IMEI packet received {"connection_id":146384,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":146384,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:53:02] local.INFO: TCP Data received {"connection_id":146152,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146152,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:53:02] local.INFO: Processing buffer {"connection_id":146152,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:53:02] local.INFO: IMEI packet received {"connection_id":146152,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 17:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":146152,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:53:03] local.INFO: TCP Data received {"connection_id":146152,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd45e008012d7d444005d28bc8000f00e217..."} 
[2026-08-01 17:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd45e008012d7d444005d28bc8000f00e217..."} 
[2026-08-01 17:53:03] local.INFO: Processing buffer {"connection_id":146152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd45e008012d7d444005d28bc8000f00e217..."} 
[2026-08-01 17:53:03] local.INFO: Packet analysis {"connection_id":146152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd45"} 
[2026-08-01 17:53:03] local.INFO: Extracted packet for processing {"connection_id":146152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd45"} 
[2026-08-01 17:53:03] local.INFO: GPS Element Parsed {"raw_longitude":763184192,"raw_latitude":97684424,"longitude_deg":76.3184192,"latitude_deg":9.7684424,"altitude":15,"angle":226,"satellites":23,"speed":10,"hex_longitude":"2d7d4440","hex_latitude":"05d28bc8","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110246144001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113528763160985600,"note":"Value kept but may cause issues"} 
[2026-08-01 17:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026902528118044672,"note":"Value kept but may cause issues"} 
[2026-08-01 17:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785586901000,"timestamp_ms":1785586901000,"timestamp_seconds":1785586901,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd45e008"} 
[2026-08-01 17:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-01 17:53:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-01 17:53:03] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3175398160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:53:03] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3532718080,"note":"Value kept but may cause issues"} 
[2026-08-01 17:53:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-01 17:53:03] local.WARNING: Large IO value detected {"io_id":210,"raw_value":-8061443332975552512,"note":"Value kept but may cause issues"} 
[2026-08-01 17:53:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2792620238,"corrected_to":0} 
[2026-08-01 17:53:03] local.WARNING: Large IO value detected {"io_id":237,"raw_value":3623955837,"note":"Value kept but may cause issues"} 
[2026-08-01 17:53:03] local.WARNING: Large IO value detected {"io_id":198,"raw_value":2147865231,"note":"Value kept but may cause issues"} 
[2026-08-01 17:53:03] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040166,"note":"Value kept but may cause issues"} 
[2026-08-01 17:53:03] local.WARNING: Large IO value detected {"io_id":94,"raw_value":57885387385623867,"note":"Value kept but may cause issues"} 
[2026-08-01 17:53:03] local.WARNING: Large IO value detected {"io_id":68,"raw_value":-8345168814617608187,"note":"Value kept but may cause issues"} 
[2026-08-01 17:53:03] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,115,85,24,241,157,16,159,208,45,192,142,14,23,10,66,153,128,5,19,91,64,1,240,242,227,189,210,4,113,205,25,237,198,232,21,239,51,116,2,147,94,68],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2792620238,"validated":0}]} 
[2026-08-01 17:53:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1009070302401789952,"timestamp_seconds":1009070302401790.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 17:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146152,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146152,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110246144001,"66":13276,"115":206,"85":15104,"24":10,"16":113528763160985600,"45":9026902528118044672},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-01 17:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110246144001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:53:03] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-01 17:53:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113528763160985600,"km_value":113528763160985.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026902528118044672,"description":"Unknown IO ID 45"} 
[2026-08-01 17:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110246144001,"power":13276,"unknown_115":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9026902528118044672}} 
[2026-08-01 17:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":146152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578388,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:53:03] local.INFO: GPS data processed {"connection_id":146152,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:53:03] local.INFO: Acknowledgment sent {"connection_id":146152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:53:05] local.INFO: TCP Data received {"connection_id":146384,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146384,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:53:05] local.INFO: Processing buffer {"connection_id":146384,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:53:05] local.INFO: IMEI packet received {"connection_id":146384,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":146384,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:53:06] local.INFO: TCP Data received {"connection_id":146384,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd439a00012d181d000721ad78004700cf25..."} 
[2026-08-01 17:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd439a00012d181d000721ad78004700cf25..."} 
[2026-08-01 17:53:06] local.INFO: Processing buffer {"connection_id":146384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd439a00012d181d000721ad78004700cf25..."} 
[2026-08-01 17:53:06] local.INFO: Packet analysis {"connection_id":146384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd43"} 
[2026-08-01 17:53:06] local.INFO: Extracted packet for processing {"connection_id":146384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd43"} 
[2026-08-01 17:53:06] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647608,"longitude_deg":75.6555008,"latitude_deg":11.9647608,"altitude":71,"angle":207,"satellites":37,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ad78","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110203136001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291106713436160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864667136,"note":"Value kept but may cause issues"} 
[2026-08-01 17:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785586752000,"timestamp_ms":1785586752000,"timestamp_seconds":1785586752,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd439a00"} 
[2026-08-01 17:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-01 17:53:06] 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-08-01 17: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-08-01 17:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:53:06] 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-08-01 17:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110203136001,"66":12341,"105":206,"83":41984,"24":0,"16":10291106713436160,"45":1737545061864667136},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110203136001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:53:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:53:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291106713436160,"km_value":10291106713436.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864667136,"description":"Unknown IO ID 45"} 
[2026-08-01 17:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110203136001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864667136}} 
[2026-08-01 17:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":146384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578389,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:53:06] local.INFO: GPS data processed {"connection_id":146384,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:53:06] local.INFO: Acknowledgment sent {"connection_id":146384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:53:26] local.INFO: TCP Data received {"connection_id":146151,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd460330012cee0440072e1870004000462d..."} 
[2026-08-01 17:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd460330012cee0440072e1870004000462d..."} 
[2026-08-01 17:53:26] local.INFO: Processing buffer {"connection_id":146151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd460330012cee0440072e1870004000462d..."} 
[2026-08-01 17:53:26] local.INFO: Packet analysis {"connection_id":146151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd46"} 
[2026-08-01 17:53:26] local.INFO: Extracted packet for processing {"connection_id":146151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd46"} 
[2026-08-01 17:53:26] local.INFO: GPS Element Parsed {"raw_longitude":753796160,"raw_latitude":120461424,"longitude_deg":75.379616,"latitude_deg":12.0461424,"altitude":64,"angle":70,"satellites":45,"speed":42,"hex_longitude":"2cee0440","hex_latitude":"072e1870","is_valid_coordinates":true} 
[2026-08-01 17:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110245376001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366708460965855232,"note":"Value kept but may cause issues"} 
[2026-08-01 17:53:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1305480911146639360,"note":"Value kept but may cause issues"} 
[2026-08-01 17:53:26] 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-08-01 17:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785586910000,"timestamp_ms":1785586910000,"timestamp_seconds":1785586910,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd460330"} 
[2026-08-01 17:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:53:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 17:53:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:53:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":146151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":146151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":146151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:53: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-08-01 17:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110245376001,"66":27995,"219":206,"83":44032,"24":42,"16":366708460965855232,"44":-1305480911146639360},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-01 17:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110245376001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:53:26] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 17:53:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 17:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366708460965855232,"km_value":366708460965855.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:53:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1305480911146639360,"description":"Unknown IO ID 44"} 
[2026-08-01 17:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110245376001,"power":27995,"unknown_219":206,"unknown_83":44032,"ignition":42,"odometer":null,"unknown_44":-1305480911146639360}} 
[2026-08-01 17:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":146151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:53:26] local.INFO: GPS data processed {"connection_id":146151,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:53:26] local.INFO: Acknowledgment sent {"connection_id":146151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:53:34] local.INFO: TCP Data received {"connection_id":146152,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd45e3f0012d7d43c005d28b18000f00d317..."} 
[2026-08-01 17:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd45e3f0012d7d43c005d28b18000f00d317..."} 
[2026-08-01 17:53:34] local.INFO: Processing buffer {"connection_id":146152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd45e3f0012d7d43c005d28b18000f00d317..."} 
[2026-08-01 17:53:34] local.INFO: Packet analysis {"connection_id":146152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd45"} 
[2026-08-01 17:53:34] local.INFO: Extracted packet for processing {"connection_id":146152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd45"} 
[2026-08-01 17:53:34] local.INFO: GPS Element Parsed {"raw_longitude":763184064,"raw_latitude":97684248,"longitude_deg":76.3184064,"latitude_deg":9.7684248,"altitude":15,"angle":211,"satellites":23,"speed":6,"hex_longitude":"2d7d43c0","hex_latitude":"05d28b18","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110246656001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113528771750920192,"note":"Value kept but may cause issues"} 
[2026-08-01 17:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026409946908706816,"note":"Value kept but may cause issues"} 
[2026-08-01 17:53:34] 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-08-01 17:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785586902000,"timestamp_ms":1785586902000,"timestamp_seconds":1785586902,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd45e3f0"} 
[2026-08-01 17:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:53:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-01 17:53:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17: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-08-01 17:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146152,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146152,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:53:34] 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-08-01 17:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110246656001,"66":13352,"115":206,"85":15104,"24":6,"16":113528771750920192,"45":9026409946908706816},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-01 17:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110246656001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:53:34] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-01 17:53:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113528771750920192,"km_value":113528771750920.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026409946908706816,"description":"Unknown IO ID 45"} 
[2026-08-01 17:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110246656001,"power":13352,"unknown_115":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9026409946908706816}} 
[2026-08-01 17:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":146152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578391,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:53:34] local.INFO: GPS data processed {"connection_id":146152,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:53:34] local.INFO: Acknowledgment sent {"connection_id":146152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:53:37] local.INFO: TCP Data received {"connection_id":146384,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd43ec08012d181d000721ad78004700cf24..."} 
[2026-08-01 17:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd43ec08012d181d000721ad78004700cf24..."} 
[2026-08-01 17:53:37] local.INFO: Processing buffer {"connection_id":146384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd43ec08012d181d000721ad78004700cf24..."} 
[2026-08-01 17:53:37] local.INFO: Packet analysis {"connection_id":146384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd43"} 
[2026-08-01 17:53:37] local.INFO: Extracted packet for processing {"connection_id":146384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd43"} 
[2026-08-01 17:53:37] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647608,"longitude_deg":75.6555008,"latitude_deg":11.9647608,"altitude":71,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ad78","is_valid_coordinates":true} 
[2026-08-01 17:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110208512001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291106713436160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864667136,"note":"Value kept but may cause issues"} 
[2026-08-01 17:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785586773000,"timestamp_ms":1785586773000,"timestamp_seconds":1785586773,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd43ec08"} 
[2026-08-01 17:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-01 17:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:53:37] 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-08-01 17:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110208512001,"66":12341,"105":206,"83":41984,"24":0,"16":10291106713436160,"45":1737545061864667136},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110208512001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:53:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:53:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291106713436160,"km_value":10291106713436.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864667136,"description":"Unknown IO ID 45"} 
[2026-08-01 17:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110208512001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864667136}} 
[2026-08-01 17:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":146384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:53:37] local.INFO: GPS data processed {"connection_id":146384,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:53:37] local.INFO: Acknowledgment sent {"connection_id":146384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:53:43] local.INFO: TCP Data received {"connection_id":148693,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:53:43] local.INFO: Processing buffer {"connection_id":148693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:53:43] local.INFO: IMEI packet received {"connection_id":148693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 17:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":148693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:53:49] local.INFO: TCP Data received {"connection_id":148693,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:53:49] local.INFO: Processing buffer {"connection_id":148693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:53:49] local.INFO: IMEI packet received {"connection_id":148693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":148693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:53:50] local.INFO: TCP Data received {"connection_id":148693,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd462658012cee2640072e24f0003c00442c..."} 
[2026-08-01 17:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd462658012cee2640072e24f0003c00442c..."} 
[2026-08-01 17:53:50] local.INFO: Processing buffer {"connection_id":148693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd462658012cee2640072e24f0003c00442c..."} 
[2026-08-01 17:53:50] local.INFO: Packet analysis {"connection_id":148693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd46"} 
[2026-08-01 17:53:50] local.INFO: Extracted packet for processing {"connection_id":148693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd46"} 
[2026-08-01 17:53:50] local.INFO: GPS Element Parsed {"raw_longitude":753804864,"raw_latitude":120464624,"longitude_deg":75.3804864,"latitude_deg":12.0464624,"altitude":60,"angle":68,"satellites":44,"speed":36,"hex_longitude":"2cee2640","hex_latitude":"072e24f0","is_valid_coordinates":true} 
[2026-08-01 17:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110248960001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366708899052519424,"note":"Value kept but may cause issues"} 
[2026-08-01 17:53:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1295840393193558016,"note":"Value kept but may cause issues"} 
[2026-08-01 17:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785586919000,"timestamp_ms":1785586919000,"timestamp_seconds":1785586919,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd462658"} 
[2026-08-01 17:53:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:53: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-08-01 17:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-01 17:53:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:53:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:53:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:53:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110248960001,"66":27800,"219":206,"83":44032,"24":36,"16":366708899052519424,"44":-1295840393193558016},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-01 17:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110248960001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:53:50] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 17:53:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 17:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366708899052519424,"km_value":366708899052519.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:53:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1295840393193558016,"description":"Unknown IO ID 44"} 
[2026-08-01 17:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110248960001,"power":27800,"unknown_219":206,"unknown_83":44032,"ignition":36,"odometer":null,"unknown_44":-1295840393193558016}} 
[2026-08-01 17:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":148693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:53:50] local.INFO: GPS data processed {"connection_id":148693,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:53:50] local.INFO: Acknowledgment sent {"connection_id":148693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:53:57] local.INFO: TCP Data received {"connection_id":147386,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147386,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:53:57] local.INFO: Processing buffer {"connection_id":147386,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:53:57] local.INFO: IMEI packet received {"connection_id":147386,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 17:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":147386,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:54:00] local.INFO: TCP Data received {"connection_id":146153,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:54:00] local.INFO: Processing buffer {"connection_id":146153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:54:00] local.INFO: IMEI packet received {"connection_id":146153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":146153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:54:01] local.INFO: TCP Data received {"connection_id":147386,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147386,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:54:01] local.INFO: Processing buffer {"connection_id":147386,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:54:01] local.INFO: IMEI packet received {"connection_id":147386,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 17:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":147386,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:54:02] local.INFO: TCP Data received {"connection_id":146153,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:54:02] local.INFO: Processing buffer {"connection_id":146153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:54:02] local.INFO: IMEI packet received {"connection_id":146153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":146153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:54:03] local.INFO: TCP Data received {"connection_id":147386,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147386,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:54:03] local.INFO: Processing buffer {"connection_id":147386,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:54:03] local.INFO: IMEI packet received {"connection_id":147386,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 17:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":147386,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:54:03] local.INFO: TCP Data received {"connection_id":147386,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd45fb60012d7d430005d28868000e00b317..."} 
[2026-08-01 17:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd45fb60012d7d430005d28868000e00b317..."} 
[2026-08-01 17:54:03] local.INFO: Processing buffer {"connection_id":147386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd45fb60012d7d430005d28868000e00b317..."} 
[2026-08-01 17:54:03] local.INFO: Packet analysis {"connection_id":147386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd45"} 
[2026-08-01 17:54:03] local.INFO: Extracted packet for processing {"connection_id":147386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd45"} 
[2026-08-01 17:54:03] local.INFO: GPS Element Parsed {"raw_longitude":763183872,"raw_latitude":97683560,"longitude_deg":76.3183872,"latitude_deg":9.768356,"altitude":14,"angle":179,"satellites":23,"speed":5,"hex_longitude":"2d7d4300","hex_latitude":"05d28868","is_valid_coordinates":true} 
[2026-08-01 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-08-01 17:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110246912001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113528810405625856,"note":"Value kept but may cause issues"} 
[2026-08-01 17:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026269209420306432,"note":"Value kept but may cause issues"} 
[2026-08-01 17:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785586908000,"timestamp_ms":1785586908000,"timestamp_seconds":1785586908,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd45fb60"} 
[2026-08-01 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-08-01 17:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-01 17:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 17:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110246912001,"66":13493,"115":206,"85":15104,"24":5,"16":113528810405625856,"45":9026269209420306432},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-08-01 17:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110246912001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:54:03] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-01 17:54:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113528810405625856,"km_value":113528810405625.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026269209420306432,"description":"Unknown IO ID 45"} 
[2026-08-01 17:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110246912001,"power":13493,"unknown_115":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9026269209420306432}} 
[2026-08-01 17:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":147386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578394,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:54:03] local.INFO: GPS data processed {"connection_id":147386,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:54:03] local.INFO: Acknowledgment sent {"connection_id":147386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:54:05] local.INFO: TCP Data received {"connection_id":146153,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:54:05] local.INFO: Processing buffer {"connection_id":146153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:54:05] local.INFO: IMEI packet received {"connection_id":146153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":146153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:54:06] local.INFO: TCP Data received {"connection_id":146153,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd443e10012d181d000721ad78004700cf25..."} 
[2026-08-01 17:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd443e10012d181d000721ad78004700cf25..."} 
[2026-08-01 17:54:06] local.INFO: Processing buffer {"connection_id":146153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd443e10012d181d000721ad78004700cf25..."} 
[2026-08-01 17:54:06] local.INFO: Packet analysis {"connection_id":146153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd44"} 
[2026-08-01 17:54:06] local.INFO: Extracted packet for processing {"connection_id":146153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd44"} 
[2026-08-01 17:54:06] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647608,"longitude_deg":75.6555008,"latitude_deg":11.9647608,"altitude":71,"angle":207,"satellites":37,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ad78","is_valid_coordinates":true} 
[2026-08-01 17:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110213888001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291106713436160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864667136,"note":"Value kept but may cause issues"} 
[2026-08-01 17:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785586794000,"timestamp_ms":1785586794000,"timestamp_seconds":1785586794,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd443e10"} 
[2026-08-01 17:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-01 17:54:06] 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-08-01 17: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-08-01 17:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:54:06] 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-08-01 17:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110213888001,"66":12341,"105":206,"83":41984,"24":0,"16":10291106713436160,"45":1737545061864667136},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110213888001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:54:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:54:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291106713436160,"km_value":10291106713436.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864667136,"description":"Unknown IO ID 45"} 
[2026-08-01 17:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110213888001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864667136}} 
[2026-08-01 17:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":146153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:54:06] local.INFO: GPS data processed {"connection_id":146153,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:54:06] local.INFO: Acknowledgment sent {"connection_id":146153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:54:13] local.INFO: TCP Data received {"connection_id":146153,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd449018012d181d000721ad78004700cf25..."} 
[2026-08-01 17:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd449018012d181d000721ad78004700cf25..."} 
[2026-08-01 17:54:13] local.INFO: Processing buffer {"connection_id":146153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd449018012d181d000721ad78004700cf25..."} 
[2026-08-01 17:54:13] local.INFO: Packet analysis {"connection_id":146153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd44"} 
[2026-08-01 17:54:13] local.INFO: Extracted packet for processing {"connection_id":146153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd44"} 
[2026-08-01 17:54:13] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647608,"longitude_deg":75.6555008,"latitude_deg":11.9647608,"altitude":71,"angle":207,"satellites":37,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ad78","is_valid_coordinates":true} 
[2026-08-01 17:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110219264001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291106713436160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864667136,"note":"Value kept but may cause issues"} 
[2026-08-01 17:54: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-08-01 17:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785586815000,"timestamp_ms":1785586815000,"timestamp_seconds":1785586815,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd449018"} 
[2026-08-01 17:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:54:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-01 17:54:13] 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-08-01 17:54:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":146153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":146153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":146153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:54:13] 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-08-01 17:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110219264001,"66":12341,"105":206,"83":41984,"24":0,"16":10291106713436160,"45":1737545061864667136},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110219264001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:54:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:54:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291106713436160,"km_value":10291106713436.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864667136,"description":"Unknown IO ID 45"} 
[2026-08-01 17:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110219264001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864667136}} 
[2026-08-01 17:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":146153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:54:13] local.INFO: GPS data processed {"connection_id":146153,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:54:13] local.INFO: Acknowledgment sent {"connection_id":146153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:54:21] local.INFO: TCP Data received {"connection_id":148693,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4639e0012cee3700072e2998003a00512c..."} 
[2026-08-01 17:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4639e0012cee3700072e2998003a00512c..."} 
[2026-08-01 17:54:21] local.INFO: Processing buffer {"connection_id":148693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4639e0012cee3700072e2998003a00512c..."} 
[2026-08-01 17:54:21] local.INFO: Packet analysis {"connection_id":148693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd46"} 
[2026-08-01 17:54:21] local.INFO: Extracted packet for processing {"connection_id":148693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd46"} 
[2026-08-01 17:54:21] local.INFO: GPS Element Parsed {"raw_longitude":753809152,"raw_latitude":120465816,"longitude_deg":75.3809152,"latitude_deg":12.0465816,"altitude":58,"angle":81,"satellites":44,"speed":35,"hex_longitude":"2cee3700","hex_latitude":"072e2998","is_valid_coordinates":true} 
[2026-08-01 17:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110251264001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366709109505916928,"note":"Value kept but may cause issues"} 
[2026-08-01 17:54:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1286270243984576512,"note":"Value kept but may cause issues"} 
[2026-08-01 17:54:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785586924000,"timestamp_ms":1785586924000,"timestamp_seconds":1785586924,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4639e0"} 
[2026-08-01 17:54:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:54:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 17:54:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:54:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:54:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:54:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110251264001,"66":27843,"219":206,"83":44032,"24":35,"16":366709109505916928,"44":-1286270243984576512},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-01 17:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110251264001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:54:21] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 17:54:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 17:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366709109505916928,"km_value":366709109505916.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:54:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1286270243984576512,"description":"Unknown IO ID 44"} 
[2026-08-01 17:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110251264001,"power":27843,"unknown_219":206,"unknown_83":44032,"ignition":35,"odometer":null,"unknown_44":-1286270243984576512}} 
[2026-08-01 17:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":148693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:54:21] local.INFO: GPS data processed {"connection_id":148693,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:54:21] local.INFO: Acknowledgment sent {"connection_id":148693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:54:34] local.INFO: TCP Data received {"connection_id":147386,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd464d68012d7d420005d274b8000b00b916..."} 
[2026-08-01 17:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd464d68012d7d420005d274b8000b00b916..."} 
[2026-08-01 17:54:34] local.INFO: Processing buffer {"connection_id":147386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd464d68012d7d420005d274b8000b00b916..."} 
[2026-08-01 17:54:34] local.INFO: Packet analysis {"connection_id":147386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd46"} 
[2026-08-01 17:54:34] local.INFO: Extracted packet for processing {"connection_id":147386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd46"} 
[2026-08-01 17:54:34] local.INFO: GPS Element Parsed {"raw_longitude":763183616,"raw_latitude":97678520,"longitude_deg":76.3183616,"latitude_deg":9.767852,"altitude":11,"angle":185,"satellites":22,"speed":16,"hex_longitude":"2d7d4200","hex_latitude":"05d274b8","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110248448001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113529068103663616,"note":"Value kept but may cause issues"} 
[2026-08-01 17:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026058103187597312,"note":"Value kept but may cause issues"} 
[2026-08-01 17:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785586929000,"timestamp_ms":1785586929000,"timestamp_seconds":1785586929,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd464d68"} 
[2026-08-01 17:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:54:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-01 17:54:34] 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-08-01 17: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-08-01 17:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:54:34] 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-08-01 17:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110248448001,"66":13493,"117":206,"85":15104,"24":16,"16":113529068103663616,"45":9026058103187597312},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-01 17:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110248448001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:54:34] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-01 17:54:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113529068103663616,"km_value":113529068103663.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026058103187597312,"description":"Unknown IO ID 45"} 
[2026-08-01 17:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110248448001,"power":13493,"unknown_117":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":9026058103187597312}} 
[2026-08-01 17:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":147386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578398,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:54:34] local.INFO: GPS data processed {"connection_id":147386,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:54:34] local.INFO: Acknowledgment sent {"connection_id":147386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:54:43] local.INFO: TCP Data received {"connection_id":146154,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:54:43] local.INFO: Processing buffer {"connection_id":146154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:54:43] local.INFO: IMEI packet received {"connection_id":146154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 17:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":146154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:54:44] local.INFO: TCP Data received {"connection_id":146153,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd44e220012d181d000721ad78004700cf26..."} 
[2026-08-01 17:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd44e220012d181d000721ad78004700cf26..."} 
[2026-08-01 17:54:44] local.INFO: Processing buffer {"connection_id":146153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd44e220012d181d000721ad78004700cf26..."} 
[2026-08-01 17:54:44] local.INFO: Packet analysis {"connection_id":146153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd44"} 
[2026-08-01 17:54:44] local.INFO: Extracted packet for processing {"connection_id":146153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd44"} 
[2026-08-01 17:54:44] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647608,"longitude_deg":75.6555008,"latitude_deg":11.9647608,"altitude":71,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ad78","is_valid_coordinates":true} 
[2026-08-01 17:54:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:54:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110224640001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:54:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291106713436160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:54:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864667136,"note":"Value kept but may cause issues"} 
[2026-08-01 17:54: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-08-01 17:54:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785586836000,"timestamp_ms":1785586836000,"timestamp_seconds":1785586836,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd44e220"} 
[2026-08-01 17:54:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:54: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-08-01 17:54:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-01 17:54:44] 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-08-01 17:54:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:54:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:54:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:54:44] local.INFO: Teltonika packet parsed successfully {"connection_id":146153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:54:44] local.INFO: Passing IMEI to GPS processor {"connection_id":146153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:54:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":146153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:54:44] 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-08-01 17:54:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:54:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:54:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110224640001,"66":12298,"105":206,"83":41984,"24":0,"16":10291106713436160,"45":1737545061864667136},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:54:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:54:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:54:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110224640001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:54:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:54:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:54:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291106713436160,"km_value":10291106713436.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:54:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864667136,"description":"Unknown IO ID 45"} 
[2026-08-01 17:54:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110224640001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864667136}} 
[2026-08-01 17:54:44] local.INFO: DEBUG: GPS processor result {"connection_id":146153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578399,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:54:44] local.INFO: GPS data processed {"connection_id":146153,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:54:44] local.INFO: Acknowledgment sent {"connection_id":146153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:54:49] local.INFO: TCP Data received {"connection_id":146154,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:54:49] local.INFO: Processing buffer {"connection_id":146154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:54:49] local.INFO: IMEI packet received {"connection_id":146154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":146154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:54:49] local.INFO: TCP Data received {"connection_id":146154,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd464d68012cee4880072e2e00003800422b..."} 
[2026-08-01 17:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd464d68012cee4880072e2e00003800422b..."} 
[2026-08-01 17:54:49] local.INFO: Processing buffer {"connection_id":146154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd464d68012cee4880072e2e00003800422b..."} 
[2026-08-01 17:54:49] local.INFO: Packet analysis {"connection_id":146154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd46"} 
[2026-08-01 17:54:49] local.INFO: Extracted packet for processing {"connection_id":146154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd46"} 
[2026-08-01 17:54:49] local.INFO: GPS Element Parsed {"raw_longitude":753813632,"raw_latitude":120466944,"longitude_deg":75.3813632,"latitude_deg":12.0466944,"altitude":56,"angle":66,"satellites":43,"speed":36,"hex_longitude":"2cee4880","hex_latitude":"072e2e00","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:54:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110252544001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:54:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366709332844216320,"note":"Value kept but may cause issues"} 
[2026-08-01 17:54:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1281555538124367872,"note":"Value kept but may cause issues"} 
[2026-08-01 17:54:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:54:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785586929000,"timestamp_ms":1785586929000,"timestamp_seconds":1785586929,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd464d68"} 
[2026-08-01 17:54:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:54:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 17:54:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:54:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:54:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:54:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:54:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:54:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:54:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:54:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:54:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:54:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:54:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110252544001,"66":28050,"219":206,"83":44032,"24":36,"16":366709332844216320,"44":-1281555538124367872},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-01 17:54:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:54:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:54:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110252544001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:54:49] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 17:54:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 17:54:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366709332844216320,"km_value":366709332844216.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:54:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1281555538124367872,"description":"Unknown IO ID 44"} 
[2026-08-01 17:54:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110252544001,"power":28050,"unknown_219":206,"unknown_83":44032,"ignition":36,"odometer":null,"unknown_44":-1281555538124367872}} 
[2026-08-01 17:54:49] local.INFO: DEBUG: GPS processor result {"connection_id":146154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:54:49] local.INFO: GPS data processed {"connection_id":146154,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:54:49] local.INFO: Acknowledgment sent {"connection_id":146154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:55:00] local.INFO: TCP Data received {"connection_id":146155,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:55:00] local.INFO: Processing buffer {"connection_id":146155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:55:00] local.INFO: IMEI packet received {"connection_id":146155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":146155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:55:05] local.INFO: TCP Data received {"connection_id":146155,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:55:05] local.INFO: Processing buffer {"connection_id":146155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:55:05] local.INFO: IMEI packet received {"connection_id":146155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":146155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:55:06] local.INFO: TCP Data received {"connection_id":146155,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd453428012d181d000721ad78004700cf25..."} 
[2026-08-01 17:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd453428012d181d000721ad78004700cf25..."} 
[2026-08-01 17:55:06] local.INFO: Processing buffer {"connection_id":146155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd453428012d181d000721ad78004700cf25..."} 
[2026-08-01 17:55:06] local.INFO: Packet analysis {"connection_id":146155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd45"} 
[2026-08-01 17:55:06] local.INFO: Extracted packet for processing {"connection_id":146155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd45"} 
[2026-08-01 17:55:06] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647608,"longitude_deg":75.6555008,"latitude_deg":11.9647608,"altitude":71,"angle":207,"satellites":37,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ad78","is_valid_coordinates":true} 
[2026-08-01 17:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110230016001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291106713436160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864667136,"note":"Value kept but may cause issues"} 
[2026-08-01 17:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785586857000,"timestamp_ms":1785586857000,"timestamp_seconds":1785586857,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd453428"} 
[2026-08-01 17:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 17:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513882563409281231,"note":"Value kept but may cause issues"} 
[2026-08-01 17:55:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-01 17:55:06] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-01 17:55:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 17:55:06] local.WARNING: Large IO value detected {"io_id":143,"raw_value":-5404319552844595199,"note":"Value kept but may cause issues"} 
[2026-08-01 17:55:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4809101235230795747,"note":"Value kept but may cause issues"} 
[2026-08-01 17:55:06] local.WARNING: Large IO value detected {"io_id":71,"raw_value":58306002109333504,"note":"Value kept but may cause issues"} 
[2026-08-01 17:55:06] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832600,"note":"Value kept but may cause issues"} 
[2026-08-01 17:55:06] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683569839767758,"note":"Value kept but may cause issues"} 
[2026-08-01 17:55:06] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2910322759,"note":"Value kept but may cause issues"} 
[2026-08-01 17:55:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-01 17:55:06] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2411003904,"note":"Value kept but may cause issues"} 
[2026-08-01 17:55:06] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,105,83,24,241,157,16,143,159,144,45,173,71,37,10,66,62,236,1,240,53,227,189,33,4,113,205,29,120,239,48,2,36,7,39],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-01 17:55:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5116316938808590336,"timestamp_seconds":5116316938808590.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 17:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:55:06] 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-08-01 17:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110230016001,"66":12298,"105":206,"83":41984,"24":0,"16":10291106713436160,"45":1737545061864667136},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110230016001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:55:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:55:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291106713436160,"km_value":10291106713436.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864667136,"description":"Unknown IO ID 45"} 
[2026-08-01 17:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110230016001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864667136}} 
[2026-08-01 17:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":146155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:55:06] local.INFO: GPS data processed {"connection_id":146155,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:55:06] local.INFO: Acknowledgment sent {"connection_id":146155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:55:10] local.INFO: TCP Data received {"connection_id":147387,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147387,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:55:10] local.INFO: Processing buffer {"connection_id":147387,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:55:10] local.INFO: IMEI packet received {"connection_id":147387,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 17:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":147387,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:55:14] local.INFO: TCP Data received {"connection_id":147387,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147387,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:55:14] local.INFO: Processing buffer {"connection_id":147387,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:55:14] local.INFO: IMEI packet received {"connection_id":147387,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 17:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":147387,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:55:19] local.INFO: TCP Data received {"connection_id":147387,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147387,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:55:19] local.INFO: Processing buffer {"connection_id":147387,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:55:19] local.INFO: IMEI packet received {"connection_id":147387,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 17:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":147387,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:55:20] local.INFO: TCP Data received {"connection_id":146154,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4664d8012cee59c0072e35b8003600502a..."} 
[2026-08-01 17:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4664d8012cee59c0072e35b8003600502a..."} 
[2026-08-01 17:55:20] local.INFO: Processing buffer {"connection_id":146154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4664d8012cee59c0072e35b8003600502a..."} 
[2026-08-01 17:55:20] local.INFO: Packet analysis {"connection_id":146154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd46"} 
[2026-08-01 17:55:20] local.INFO: Extracted packet for processing {"connection_id":146154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd46"} 
[2026-08-01 17:55:20] local.INFO: GPS Element Parsed {"raw_longitude":753818048,"raw_latitude":120468920,"longitude_deg":75.3818048,"latitude_deg":12.046892,"altitude":54,"angle":80,"satellites":42,"speed":28,"hex_longitude":"2cee59c0","hex_latitude":"072e35b8","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110253824001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366709564772450304,"note":"Value kept but may cause issues"} 
[2026-08-01 17:55:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1276629726031642624,"note":"Value kept but may cause issues"} 
[2026-08-01 17:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785586935000,"timestamp_ms":1785586935000,"timestamp_seconds":1785586935,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4664d8"} 
[2026-08-01 17:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-01 17:55:20] 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-08-01 17: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-08-01 17:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110253824001,"66":27995,"219":206,"83":44032,"24":28,"16":366709564772450304,"44":-1276629726031642624},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-01 17:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110253824001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:55:20] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 17:55:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 17:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366709564772450304,"km_value":366709564772450.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:55:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1276629726031642624,"description":"Unknown IO ID 44"} 
[2026-08-01 17:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110253824001,"power":27995,"unknown_219":206,"unknown_83":44032,"ignition":28,"odometer":null,"unknown_44":-1276629726031642624}} 
[2026-08-01 17:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":146154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:55:20] local.INFO: GPS data processed {"connection_id":146154,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:55:20] local.INFO: Acknowledgment sent {"connection_id":146154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:55:20] local.INFO: TCP Data received {"connection_id":147387,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd487c00012d7d398005d12c80000a00b11c..."} 
[2026-08-01 17:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd487c00012d7d398005d12c80000a00b11c..."} 
[2026-08-01 17:55:20] local.INFO: Processing buffer {"connection_id":147387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd487c00012d7d398005d12c80000a00b11c..."} 
[2026-08-01 17:55:20] local.INFO: Packet analysis {"connection_id":147387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd48"} 
[2026-08-01 17:55:20] local.INFO: Extracted packet for processing {"connection_id":147387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd48"} 
[2026-08-01 17:55:20] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":97594496,"longitude_deg":76.318144,"latitude_deg":9.7594496,"altitude":10,"angle":177,"satellites":28,"speed":58,"hex_longitude":"2d7d3980","hex_latitude":"05d12c80","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110288640001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113533169797431296,"note":"Value kept but may cause issues"} 
[2026-08-01 17:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022961878423465984,"note":"Value kept but may cause issues"} 
[2026-08-01 17:55:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-01 17:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785587072000,"timestamp_ms":1785587072000,"timestamp_seconds":1785587072,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd487c00"} 
[2026-08-01 17:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:55: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-08-01 17: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":35,"data_length":795,"current_offset":136} 
[2026-08-01 17:55:20] 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-08-01 17: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-08-01 17:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147387,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147387,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:55:20] 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-08-01 17:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110288640001,"66":13091,"24":58,"85":15104,"16":113533169797431296,"45":9022961878423465984},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-08-01 17:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110288640001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:55:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113533169797431296,"km_value":113533169797431.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022961878423465984,"description":"Unknown IO ID 45"} 
[2026-08-01 17:55:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457110288640001,"power":13091,"ignition":58,"unknown_85":15104,"odometer":null,"unknown_45":9022961878423465984}} 
[2026-08-01 17:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":147387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578403,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:55:20] local.INFO: GPS data processed {"connection_id":147387,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:55:20] local.INFO: Acknowledgment sent {"connection_id":147387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:55:37] local.INFO: TCP Data received {"connection_id":146155,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd458630012d181d000721ad78004700cf24..."} 
[2026-08-01 17:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd458630012d181d000721ad78004700cf24..."} 
[2026-08-01 17:55:37] local.INFO: Processing buffer {"connection_id":146155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd458630012d181d000721ad78004700cf24..."} 
[2026-08-01 17:55:37] local.INFO: Packet analysis {"connection_id":146155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd45"} 
[2026-08-01 17:55:37] local.INFO: Extracted packet for processing {"connection_id":146155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd45"} 
[2026-08-01 17:55:37] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647608,"longitude_deg":75.6555008,"latitude_deg":11.9647608,"altitude":71,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ad78","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110235392001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291106713436160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864667136,"note":"Value kept but may cause issues"} 
[2026-08-01 17:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785586878000,"timestamp_ms":1785586878000,"timestamp_seconds":1785586878,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd458630"} 
[2026-08-01 17:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 17:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513882563409281231,"note":"Value kept but may cause issues"} 
[2026-08-01 17:55:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-01 17:55:37] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185636,"note":"Value kept but may cause issues"} 
[2026-08-01 17:55:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 17:55:37] local.WARNING: Large IO value detected {"io_id":143,"raw_value":-5404319552844595199,"note":"Value kept but may cause issues"} 
[2026-08-01 17:55:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-4809011040917579747,"note":"Value kept but may cause issues"} 
[2026-08-01 17:55:37] local.WARNING: Large IO value detected {"io_id":71,"raw_value":58306002109333504,"note":"Value kept but may cause issues"} 
[2026-08-01 17:55:37] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832601,"note":"Value kept but may cause issues"} 
[2026-08-01 17:55:37] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683569839767758,"note":"Value kept but may cause issues"} 
[2026-08-01 17:55:37] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2910322759,"note":"Value kept but may cause issues"} 
[2026-08-01 17:55:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-01 17:55:37] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2411003904,"note":"Value kept but may cause issues"} 
[2026-08-01 17:55:37] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,143,159,226,45,173,71,38,10,66,144,37,62,1,240,53,227,189,33,4,113,205,154,29,120,239,48,2,36,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-01 17:55:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5116316934513623040,"timestamp_seconds":5116316934513623.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 17:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:55:37] 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-08-01 17:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110235392001,"66":12319,"105":206,"83":41984,"24":0,"16":10291106713436160,"45":1737545061864667136},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110235392001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:55:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:55:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291106713436160,"km_value":10291106713436.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864667136,"description":"Unknown IO ID 45"} 
[2026-08-01 17:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110235392001,"power":12319,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864667136}} 
[2026-08-01 17:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":146155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:55:37] local.INFO: GPS data processed {"connection_id":146155,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:55:37] local.INFO: Acknowledgment sent {"connection_id":146155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:55:43] local.INFO: TCP Data received {"connection_id":148694,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:55:43] local.INFO: Processing buffer {"connection_id":148694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:55:43] local.INFO: IMEI packet received {"connection_id":148694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 17:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":148694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:55:49] local.INFO: TCP Data received {"connection_id":148694,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:55:49] local.INFO: Processing buffer {"connection_id":148694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:55:49] local.INFO: IMEI packet received {"connection_id":148694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":148694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:55:49] local.INFO: TCP Data received {"connection_id":148694,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd466ca8012cee5f40072e35e80036005e2b..."} 
[2026-08-01 17:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd466ca8012cee5f40072e35e80036005e2b..."} 
[2026-08-01 17:55:49] local.INFO: Processing buffer {"connection_id":148694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd466ca8012cee5f40072e35e80036005e2b..."} 
[2026-08-01 17:55:49] local.INFO: Packet analysis {"connection_id":148694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd46"} 
[2026-08-01 17:55:49] local.INFO: Extracted packet for processing {"connection_id":148694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd46"} 
[2026-08-01 17:55:49] local.INFO: GPS Element Parsed {"raw_longitude":753819456,"raw_latitude":120468968,"longitude_deg":75.3819456,"latitude_deg":12.0468968,"altitude":54,"angle":94,"satellites":43,"speed":27,"hex_longitude":"2cee5f40","hex_latitude":"072e35e8","is_valid_coordinates":true} 
[2026-08-01 17:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110255360001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366709629196959744,"note":"Value kept but may cause issues"} 
[2026-08-01 17:55:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1271774282682877952,"note":"Value kept but may cause issues"} 
[2026-08-01 17:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785586937000,"timestamp_ms":1785586937000,"timestamp_seconds":1785586937,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd466ca8"} 
[2026-08-01 17:55:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:55: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-08-01 17:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-01 17:55:49] 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-08-01 17:55:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:55:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:55: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-08-01 17:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110255360001,"66":27908,"219":206,"83":44032,"24":27,"16":366709629196959744,"44":-1271774282682877952},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-01 17:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110255360001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:55:49] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 17:55:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 17:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366709629196959744,"km_value":366709629196959.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:55:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1271774282682877952,"description":"Unknown IO ID 44"} 
[2026-08-01 17:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110255360001,"power":27908,"unknown_219":206,"unknown_83":44032,"ignition":27,"odometer":null,"unknown_44":-1271774282682877952}} 
[2026-08-01 17:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":148694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:55:49] local.INFO: GPS data processed {"connection_id":148694,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:55:49] local.INFO: Acknowledgment sent {"connection_id":148694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:55:58] local.INFO: TCP Data received {"connection_id":147388,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147388,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:55:58] local.INFO: Processing buffer {"connection_id":147388,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:55:58] local.INFO: IMEI packet received {"connection_id":147388,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 17:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":147388,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:55:59] local.INFO: TCP Data received {"connection_id":147389,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:55:59] local.INFO: Processing buffer {"connection_id":147389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:55:59] local.INFO: IMEI packet received {"connection_id":147389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":147389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:56:05] local.INFO: TCP Data received {"connection_id":147389,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:56:05] local.INFO: Processing buffer {"connection_id":147389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:56:05] local.INFO: IMEI packet received {"connection_id":147389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":147389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:56:06] local.INFO: TCP Data received {"connection_id":147389,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd45d838012d181d000721ad78004700cf25..."} 
[2026-08-01 17:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd45d838012d181d000721ad78004700cf25..."} 
[2026-08-01 17:56:06] local.INFO: Processing buffer {"connection_id":147389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd45d838012d181d000721ad78004700cf25..."} 
[2026-08-01 17:56:06] local.INFO: Packet analysis {"connection_id":147389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd45"} 
[2026-08-01 17:56:06] local.INFO: Extracted packet for processing {"connection_id":147389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd45"} 
[2026-08-01 17:56:06] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647608,"longitude_deg":75.6555008,"latitude_deg":11.9647608,"altitude":71,"angle":207,"satellites":37,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ad78","is_valid_coordinates":true} 
[2026-08-01 17:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110240768001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291106713436160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864667136,"note":"Value kept but may cause issues"} 
[2026-08-01 17:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785586899000,"timestamp_ms":1785586899000,"timestamp_seconds":1785586899,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd45d838"} 
[2026-08-01 17:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-01 17:56:06] 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-08-01 17:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:56:06] 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-08-01 17:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110240768001,"66":12319,"105":206,"83":41984,"24":0,"16":10291106713436160,"45":1737545061864667136},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110240768001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:56:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:56:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291106713436160,"km_value":10291106713436.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864667136,"description":"Unknown IO ID 45"} 
[2026-08-01 17:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110240768001,"power":12319,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864667136}} 
[2026-08-01 17:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":147389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:56:06] local.INFO: GPS data processed {"connection_id":147389,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:56:06] local.INFO: Acknowledgment sent {"connection_id":147389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:56:11] local.INFO: TCP Data received {"connection_id":147388,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147388,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:56:11] local.INFO: Processing buffer {"connection_id":147388,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:56:11] local.INFO: IMEI packet received {"connection_id":147388,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 17:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":147388,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:56:12] local.INFO: TCP Data received {"connection_id":147388,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147388,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:56:12] local.INFO: Processing buffer {"connection_id":147388,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:56:12] local.INFO: IMEI packet received {"connection_id":147388,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 17:56:12] local.INFO: IMEI acknowledgment sent {"connection_id":147388,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:56:13] local.INFO: TCP Data received {"connection_id":147388,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd49a0f8012d7d4ec005cf90b0000700b41d..."} 
[2026-08-01 17:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd49a0f8012d7d4ec005cf90b0000700b41d..."} 
[2026-08-01 17:56:13] local.INFO: Processing buffer {"connection_id":147388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd49a0f8012d7d4ec005cf90b0000700b41d..."} 
[2026-08-01 17:56:13] local.INFO: Packet analysis {"connection_id":147388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd49"} 
[2026-08-01 17:56:13] local.INFO: Extracted packet for processing {"connection_id":147388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd49"} 
[2026-08-01 17:56:13] local.INFO: GPS Element Parsed {"raw_longitude":763186880,"raw_latitude":97489072,"longitude_deg":76.318688,"latitude_deg":9.7489072,"altitude":7,"angle":180,"satellites":29,"speed":68,"hex_longitude":"2d7d4ec0","hex_latitude":"05cf90b0","is_valid_coordinates":true} 
[2026-08-01 17:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110308096001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113538293693415424,"note":"Value kept but may cause issues"} 
[2026-08-01 17:56:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029365434116827136,"note":"Value kept but may cause issues"} 
[2026-08-01 17:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785587147000,"timestamp_ms":1785587147000,"timestamp_seconds":1785587147,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd49a0f8"} 
[2026-08-01 17:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:56: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-08-01 17:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-01 17:56:13] 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-08-01 17:56:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":147388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":147388,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":147388,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:56:13] 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-08-01 17:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110308096001,"66":13450,"198":206,"85":15104,"24":68,"16":113538293693415424,"45":9029365434116827136},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-08-01 17:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110308096001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:56:13] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-01 17:56:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113538293693415424,"km_value":113538293693415.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:56:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029365434116827136,"description":"Unknown IO ID 45"} 
[2026-08-01 17:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110308096001,"power":13450,"unknown_198":206,"unknown_85":15104,"ignition":68,"odometer":null,"unknown_45":9029365434116827136}} 
[2026-08-01 17:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":147388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578407,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:56:13] local.INFO: GPS data processed {"connection_id":147388,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:56:13] local.INFO: Acknowledgment sent {"connection_id":147388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:56:13] local.INFO: TCP Data received {"connection_id":147388,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd49b868012d7d4e8005cf6890000700b41d..."} 
[2026-08-01 17:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd49b868012d7d4e8005cf6890000700b41d..."} 
[2026-08-01 17:56:13] local.INFO: Processing buffer {"connection_id":147388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd49b868012d7d4e8005cf6890000700b41d..."} 
[2026-08-01 17:56:13] local.INFO: Packet analysis {"connection_id":147388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd49"} 
[2026-08-01 17:56:13] local.INFO: Extracted packet for processing {"connection_id":147388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd49"} 
[2026-08-01 17:56:13] local.INFO: GPS Element Parsed {"raw_longitude":763186816,"raw_latitude":97478800,"longitude_deg":76.3186816,"latitude_deg":9.74788,"altitude":7,"angle":180,"satellites":29,"speed":66,"hex_longitude":"2d7d4e80","hex_latitude":"05cf6890","is_valid_coordinates":true} 
[2026-08-01 17:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110309632001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113538791909621760,"note":"Value kept but may cause issues"} 
[2026-08-01 17:56:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029365434114158592,"note":"Value kept but may cause issues"} 
[2026-08-01 17:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785587153000,"timestamp_ms":1785587153000,"timestamp_seconds":1785587153,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd49b868"} 
[2026-08-01 17:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:56: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-08-01 17:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-01 17:56:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:56:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":147388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":147388,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":147388,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:56:13] 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-08-01 17:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110309632001,"66":13450,"198":206,"85":15104,"24":66,"16":113538791909621760,"45":9029365434114158592},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-08-01 17:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110309632001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:56:13] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-01 17:56:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113538791909621760,"km_value":113538791909621.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:56:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029365434114158592,"description":"Unknown IO ID 45"} 
[2026-08-01 17:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110309632001,"power":13450,"unknown_198":206,"unknown_85":15104,"ignition":66,"odometer":null,"unknown_45":9029365434114158592}} 
[2026-08-01 17:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":147388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578408,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:56:14] local.INFO: GPS data processed {"connection_id":147388,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:56:14] local.INFO: Acknowledgment sent {"connection_id":147388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:56:21] local.INFO: TCP Data received {"connection_id":148694,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd467478012cee64c0072e34e00036006a2c..."} 
[2026-08-01 17:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd467478012cee64c0072e34e00036006a2c..."} 
[2026-08-01 17:56:21] local.INFO: Processing buffer {"connection_id":148694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd467478012cee64c0072e34e00036006a2c..."} 
[2026-08-01 17:56:21] local.INFO: Packet analysis {"connection_id":148694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd46"} 
[2026-08-01 17:56:21] local.INFO: Extracted packet for processing {"connection_id":148694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd46"} 
[2026-08-01 17:56:21] local.INFO: GPS Element Parsed {"raw_longitude":753820864,"raw_latitude":120468704,"longitude_deg":75.3820864,"latitude_deg":12.0468704,"altitude":54,"angle":106,"satellites":44,"speed":26,"hex_longitude":"2cee64c0","hex_latitude":"072e34e0","is_valid_coordinates":true} 
[2026-08-01 17:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110255872001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366709697916436480,"note":"Value kept but may cause issues"} 
[2026-08-01 17:56:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1270226170310957056,"note":"Value kept but may cause issues"} 
[2026-08-01 17:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785586939000,"timestamp_ms":1785586939000,"timestamp_seconds":1785586939,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd467478"} 
[2026-08-01 17:56:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:56:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 17:56:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:56:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:56:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:56:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110255872001,"66":27876,"219":206,"83":44032,"24":26,"16":366709697916436480,"44":-1270226170310957056},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-01 17:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110255872001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:56:21] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 17:56:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 17:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366709697916436480,"km_value":366709697916436.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:56:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1270226170310957056,"description":"Unknown IO ID 44"} 
[2026-08-01 17:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110255872001,"power":27876,"unknown_219":206,"unknown_83":44032,"ignition":26,"odometer":null,"unknown_44":-1270226170310957056}} 
[2026-08-01 17:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":148694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:56:21] local.INFO: GPS data processed {"connection_id":148694,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:56:21] local.INFO: Acknowledgment sent {"connection_id":148694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:56:37] local.INFO: TCP Data received {"connection_id":147389,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd462a40012d181d000721ad78004700cf26..."} 
[2026-08-01 17:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd462a40012d181d000721ad78004700cf26..."} 
[2026-08-01 17:56:37] local.INFO: Processing buffer {"connection_id":147389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd462a40012d181d000721ad78004700cf26..."} 
[2026-08-01 17:56:37] local.INFO: Packet analysis {"connection_id":147389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd46"} 
[2026-08-01 17:56:37] local.INFO: Extracted packet for processing {"connection_id":147389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd46"} 
[2026-08-01 17:56:37] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647608,"longitude_deg":75.6555008,"latitude_deg":11.9647608,"altitude":71,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ad78","is_valid_coordinates":true} 
[2026-08-01 17:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110246144001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291106713436160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864667136,"note":"Value kept but may cause issues"} 
[2026-08-01 17:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785586920000,"timestamp_ms":1785586920000,"timestamp_seconds":1785586920,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd462a40"} 
[2026-08-01 17:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-01 17:56:37] 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-08-01 17:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:56:37] 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-08-01 17:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110246144001,"66":12319,"105":206,"83":41984,"24":0,"16":10291106713436160,"45":1737545061864667136},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110246144001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:56:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:56:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291106713436160,"km_value":10291106713436.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864667136,"description":"Unknown IO ID 45"} 
[2026-08-01 17:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110246144001,"power":12319,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864667136}} 
[2026-08-01 17:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":147389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:56:37] local.INFO: GPS data processed {"connection_id":147389,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:56:37] local.INFO: Acknowledgment sent {"connection_id":147389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:56:43] local.INFO: TCP Data received {"connection_id":148695,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:56:43] local.INFO: Processing buffer {"connection_id":148695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:56:43] local.INFO: IMEI packet received {"connection_id":148695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 17:56:43] local.INFO: IMEI acknowledgment sent {"connection_id":148695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:56:44] local.INFO: TCP Data received {"connection_id":148695,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:56:44] local.INFO: Processing buffer {"connection_id":148695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:56:44] local.INFO: IMEI packet received {"connection_id":148695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":148695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:56:49] local.INFO: TCP Data received {"connection_id":148695,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:56:49] local.INFO: Processing buffer {"connection_id":148695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:56:49] local.INFO: IMEI packet received {"connection_id":148695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":148695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:56:50] local.INFO: TCP Data received {"connection_id":148695,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd468030012cee6ac0072e3258003500792b..."} 
[2026-08-01 17:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd468030012cee6ac0072e3258003500792b..."} 
[2026-08-01 17:56:50] local.INFO: Processing buffer {"connection_id":148695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd468030012cee6ac0072e3258003500792b..."} 
[2026-08-01 17:56:50] local.INFO: Packet analysis {"connection_id":148695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd46"} 
[2026-08-01 17:56:50] local.INFO: Extracted packet for processing {"connection_id":148695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd46"} 
[2026-08-01 17:56:50] local.INFO: GPS Element Parsed {"raw_longitude":753822400,"raw_latitude":120468056,"longitude_deg":75.38224,"latitude_deg":12.0468056,"altitude":53,"angle":121,"satellites":43,"speed":18,"hex_longitude":"2cee6ac0","hex_latitude":"072e3258","is_valid_coordinates":true} 
[2026-08-01 17:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110256384001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366709779520815104,"note":"Value kept but may cause issues"} 
[2026-08-01 17:56:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1268678057939116032,"note":"Value kept but may cause issues"} 
[2026-08-01 17:56:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785586942000,"timestamp_ms":1785586942000,"timestamp_seconds":1785586942,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd468030"} 
[2026-08-01 17:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:56:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 17:56:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:56:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:56:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110256384001,"66":27593,"219":206,"83":44032,"24":18,"16":366709779520815104,"44":-1268678057939116032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-01 17:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110256384001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:56:50] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 17:56:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 17:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366709779520815104,"km_value":366709779520815.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:56:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1268678057939116032,"description":"Unknown IO ID 44"} 
[2026-08-01 17:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110256384001,"power":27593,"unknown_219":206,"unknown_83":44032,"ignition":18,"odometer":null,"unknown_44":-1268678057939116032}} 
[2026-08-01 17:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":148695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:56:50] local.INFO: GPS data processed {"connection_id":148695,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:56:50] local.INFO: Acknowledgment sent {"connection_id":148695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:56:57] local.INFO: TCP Data received {"connection_id":146156,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146156,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:56:57] local.INFO: Processing buffer {"connection_id":146156,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:56:57] local.INFO: IMEI packet received {"connection_id":146156,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 17:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":146156,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:56:59] local.INFO: TCP Data received {"connection_id":146157,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146157,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:56:59] local.INFO: Processing buffer {"connection_id":146157,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:56:59] local.INFO: IMEI packet received {"connection_id":146157,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":146157,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:57:02] local.INFO: TCP Data received {"connection_id":146156,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146156,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:57:02] local.INFO: Processing buffer {"connection_id":146156,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:57:02] local.INFO: IMEI packet received {"connection_id":146156,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 17:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":146156,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:57:03] local.INFO: TCP Data received {"connection_id":146156,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd49cfd8012d7d4e8005cf40b0000700b41d..."} 
[2026-08-01 17:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd49cfd8012d7d4e8005cf40b0000700b41d..."} 
[2026-08-01 17:57:03] local.INFO: Processing buffer {"connection_id":146156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd49cfd8012d7d4e8005cf40b0000700b41d..."} 
[2026-08-01 17:57:03] local.INFO: Packet analysis {"connection_id":146156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd49"} 
[2026-08-01 17:57:03] local.INFO: Extracted packet for processing {"connection_id":146156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd49"} 
[2026-08-01 17:57:03] local.INFO: GPS Element Parsed {"raw_longitude":763186816,"raw_latitude":97468592,"longitude_deg":76.3186816,"latitude_deg":9.7468592,"altitude":7,"angle":180,"satellites":29,"speed":67,"hex_longitude":"2d7d4e80","hex_latitude":"05cf40b0","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110311168001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113539285830860800,"note":"Value kept but may cause issues"} 
[2026-08-01 17:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029295065367351296,"note":"Value kept but may cause issues"} 
[2026-08-01 17:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785587159000,"timestamp_ms":1785587159000,"timestamp_seconds":1785587159,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd49cfd8"} 
[2026-08-01 17:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:57: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-08-01 17: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-01 17:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17: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-08-01 17:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110311168001,"66":13222,"198":206,"85":15104,"24":67,"16":113539285830860800,"45":9029295065367351296},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-08-01 17:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110311168001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:57:03] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-01 17:57:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113539285830860800,"km_value":113539285830860.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029295065367351296,"description":"Unknown IO ID 45"} 
[2026-08-01 17:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110311168001,"power":13222,"unknown_198":206,"unknown_85":15104,"ignition":67,"odometer":null,"unknown_45":9029295065367351296}} 
[2026-08-01 17:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":146156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578412,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:57:03] local.INFO: GPS data processed {"connection_id":146156,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:57:03] local.INFO: Acknowledgment sent {"connection_id":146156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:57:05] local.INFO: TCP Data received {"connection_id":146157,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146157,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:57:05] local.INFO: Processing buffer {"connection_id":146157,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:57:05] local.INFO: IMEI packet received {"connection_id":146157,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":146157,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:57:05] local.INFO: TCP Data received {"connection_id":146157,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd467c48012d181d000721ad78004700cf28..."} 
[2026-08-01 17:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd467c48012d181d000721ad78004700cf28..."} 
[2026-08-01 17:57:06] local.INFO: Processing buffer {"connection_id":146157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd467c48012d181d000721ad78004700cf28..."} 
[2026-08-01 17:57:06] local.INFO: Packet analysis {"connection_id":146157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd46"} 
[2026-08-01 17:57:06] local.INFO: Extracted packet for processing {"connection_id":146157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd46"} 
[2026-08-01 17:57:06] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647608,"longitude_deg":75.6555008,"latitude_deg":11.9647608,"altitude":71,"angle":207,"satellites":40,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ad78","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110251520001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291106713436160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864667136,"note":"Value kept but may cause issues"} 
[2026-08-01 17:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785586941000,"timestamp_ms":1785586941000,"timestamp_seconds":1785586941,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd467c48"} 
[2026-08-01 17:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-01 17:57:06] 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-08-01 17: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-08-01 17:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:57:06] 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-08-01 17:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110251520001,"66":12287,"105":206,"83":41984,"24":0,"16":10291106713436160,"45":1737545061864667136},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110251520001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:57:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:57:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291106713436160,"km_value":10291106713436.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864667136,"description":"Unknown IO ID 45"} 
[2026-08-01 17:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110251520001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864667136}} 
[2026-08-01 17:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":146157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578413,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:57:06] local.INFO: GPS data processed {"connection_id":146157,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:57:06] local.INFO: Acknowledgment sent {"connection_id":146157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:57:21] local.INFO: TCP Data received {"connection_id":148695,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd468030012cee6ac0072e3258003500792b..."} 
[2026-08-01 17:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd468030012cee6ac0072e3258003500792b..."} 
[2026-08-01 17:57:21] local.INFO: Processing buffer {"connection_id":148695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd468030012cee6ac0072e3258003500792b..."} 
[2026-08-01 17:57:21] local.INFO: Packet analysis {"connection_id":148695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd46"} 
[2026-08-01 17:57:21] local.INFO: Extracted packet for processing {"connection_id":148695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd46"} 
[2026-08-01 17:57:21] local.INFO: GPS Element Parsed {"raw_longitude":753822400,"raw_latitude":120468056,"longitude_deg":75.38224,"latitude_deg":12.0468056,"altitude":53,"angle":121,"satellites":43,"speed":18,"hex_longitude":"2cee6ac0","hex_latitude":"072e3258","is_valid_coordinates":true} 
[2026-08-01 17:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110257152001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366709779520815104,"note":"Value kept but may cause issues"} 
[2026-08-01 17:57:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266989208079017984,"note":"Value kept but may cause issues"} 
[2026-08-01 17:57:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785586942000,"timestamp_ms":1785586942000,"timestamp_seconds":1785586942,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd468030"} 
[2026-08-01 17:57:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:57:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-01 17:57:21] 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-08-01 17:57:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:57:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:57:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110257152001,"66":27593,"219":206,"83":44032,"24":18,"16":366709779520815104,"44":-1266989208079017984},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-01 17:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110257152001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:57:21] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 17:57:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 17:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366709779520815104,"km_value":366709779520815.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:57:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266989208079017984,"description":"Unknown IO ID 44"} 
[2026-08-01 17:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110257152001,"power":27593,"unknown_219":206,"unknown_83":44032,"ignition":18,"odometer":null,"unknown_44":-1266989208079017984}} 
[2026-08-01 17:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":148695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:57:21] local.INFO: GPS data processed {"connection_id":148695,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:57:21] local.INFO: Acknowledgment sent {"connection_id":148695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:57:34] local.INFO: TCP Data received {"connection_id":146156,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd49e748012d7d4e4005cf1cc8000700b61d..."} 
[2026-08-01 17:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd49e748012d7d4e4005cf1cc8000700b61d..."} 
[2026-08-01 17:57:34] local.INFO: Processing buffer {"connection_id":146156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd49e748012d7d4e4005cf1cc8000700b61d..."} 
[2026-08-01 17:57:34] local.INFO: Packet analysis {"connection_id":146156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd49"} 
[2026-08-01 17:57:34] local.INFO: Extracted packet for processing {"connection_id":146156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd49"} 
[2026-08-01 17:57:34] local.INFO: GPS Element Parsed {"raw_longitude":763186752,"raw_latitude":97459400,"longitude_deg":76.3186752,"latitude_deg":9.74594,"altitude":7,"angle":182,"satellites":29,"speed":48,"hex_longitude":"2d7d4e40","hex_latitude":"05cf1cc8","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110312704001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113539732507459584,"note":"Value kept but may cause issues"} 
[2026-08-01 17:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029295065364738048,"note":"Value kept but may cause issues"} 
[2026-08-01 17:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785587165000,"timestamp_ms":1785587165000,"timestamp_seconds":1785587165,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd49e748"} 
[2026-08-01 17:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-01 17:57: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-08-01 17: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-08-01 17:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:57:34] 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-08-01 17:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110312704001,"66":13135,"198":206,"85":15104,"24":48,"16":113539732507459584,"45":9029295065364738048},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-08-01 17:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110312704001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:57:34] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-01 17:57:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113539732507459584,"km_value":113539732507459.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029295065364738048,"description":"Unknown IO ID 45"} 
[2026-08-01 17:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110312704001,"power":13135,"unknown_198":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":9029295065364738048}} 
[2026-08-01 17:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":146156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578415,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:57:34] local.INFO: GPS data processed {"connection_id":146156,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:57:34] local.INFO: Acknowledgment sent {"connection_id":146156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:57:37] local.INFO: TCP Data received {"connection_id":146157,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4a02a0012d181d000721ad78004700cf29..."} 
[2026-08-01 17:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4a02a0012d181d000721ad78004700cf29..."} 
[2026-08-01 17:57:37] local.INFO: Processing buffer {"connection_id":146157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4a02a0012d181d000721ad78004700cf29..."} 
[2026-08-01 17:57:37] local.INFO: Packet analysis {"connection_id":146157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd4a"} 
[2026-08-01 17:57:37] local.INFO: Extracted packet for processing {"connection_id":146157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd4a"} 
[2026-08-01 17:57:37] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647608,"longitude_deg":75.6555008,"latitude_deg":11.9647608,"altitude":71,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ad78","is_valid_coordinates":true} 
[2026-08-01 17:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110310656001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291106713436160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864667136,"note":"Value kept but may cause issues"} 
[2026-08-01 17:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785587172000,"timestamp_ms":1785587172000,"timestamp_seconds":1785587172,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4a02a0"} 
[2026-08-01 17:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-01 17:57:37] 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-08-01 17:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:57:37] 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-08-01 17:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110310656001,"66":12374,"105":206,"83":41984,"24":0,"16":10291106713436160,"45":1737545061864667136},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110310656001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:57:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:57:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291106713436160,"km_value":10291106713436.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864667136,"description":"Unknown IO ID 45"} 
[2026-08-01 17:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110310656001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864667136}} 
[2026-08-01 17:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":146157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578416,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:57:37] local.INFO: GPS data processed {"connection_id":146157,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:57:37] local.INFO: Acknowledgment sent {"connection_id":146157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:57:44] local.INFO: TCP Data received {"connection_id":146385,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:57:44] local.INFO: Processing buffer {"connection_id":146385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:57:44] local.INFO: IMEI packet received {"connection_id":146385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 17:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":146385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:57:48] local.INFO: TCP Data received {"connection_id":146385,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:57:48] local.INFO: Processing buffer {"connection_id":146385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:57:48] local.INFO: IMEI packet received {"connection_id":146385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":146385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:57:49] local.INFO: TCP Data received {"connection_id":146385,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd468418012cee6c00072e3148003500852b..."} 
[2026-08-01 17:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd468418012cee6c00072e3148003500852b..."} 
[2026-08-01 17:57:49] local.INFO: Processing buffer {"connection_id":146385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd468418012cee6c00072e3148003500852b..."} 
[2026-08-01 17:57:49] local.INFO: Packet analysis {"connection_id":146385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd46"} 
[2026-08-01 17:57:49] local.INFO: Extracted packet for processing {"connection_id":146385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd46"} 
[2026-08-01 17:57:49] local.INFO: GPS Element Parsed {"raw_longitude":753822720,"raw_latitude":120467784,"longitude_deg":75.382272,"latitude_deg":12.0467784,"altitude":53,"angle":133,"satellites":43,"speed":15,"hex_longitude":"2cee6c00","hex_latitude":"072e3148","is_valid_coordinates":true} 
[2026-08-01 17:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110257152001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366709779520815104,"note":"Value kept but may cause issues"} 
[2026-08-01 17:57:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266989208079017984,"note":"Value kept but may cause issues"} 
[2026-08-01 17:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785586943000,"timestamp_ms":1785586943000,"timestamp_seconds":1785586943,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd468418"} 
[2026-08-01 17:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 17:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-01 17:57:49] 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-08-01 17:57:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110257152001,"66":27593,"219":206,"83":44032,"24":15,"16":366709779520815104,"44":-1266989208079017984},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-01 17:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110257152001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:57:49] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 17:57:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 17:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366709779520815104,"km_value":366709779520815.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:57:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266989208079017984,"description":"Unknown IO ID 44"} 
[2026-08-01 17:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110257152001,"power":27593,"unknown_219":206,"unknown_83":44032,"ignition":15,"odometer":null,"unknown_44":-1266989208079017984}} 
[2026-08-01 17:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":146385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:57:49] local.INFO: GPS data processed {"connection_id":146385,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:57:49] local.INFO: Acknowledgment sent {"connection_id":146385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:57:57] local.INFO: TCP Data received {"connection_id":146158,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146158,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:57:57] local.INFO: Processing buffer {"connection_id":146158,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:57:57] local.INFO: IMEI packet received {"connection_id":146158,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 17:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":146158,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:58:03] local.INFO: TCP Data received {"connection_id":146158,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146158,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:58:03] local.INFO: Processing buffer {"connection_id":146158,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:58:03] local.INFO: IMEI packet received {"connection_id":146158,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 17:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":146158,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:58:04] local.INFO: TCP Data received {"connection_id":146158,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4b4ac0012d7d444005cdfad8000c00b41f..."} 
[2026-08-01 17:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4b4ac0012d7d444005cdfad8000c00b41f..."} 
[2026-08-01 17:58:04] local.INFO: Processing buffer {"connection_id":146158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4b4ac0012d7d444005cdfad8000c00b41f..."} 
[2026-08-01 17:58:04] local.INFO: Packet analysis {"connection_id":146158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd4b"} 
[2026-08-01 17:58:04] local.INFO: Extracted packet for processing {"connection_id":146158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd4b"} 
[2026-08-01 17:58:04] local.INFO: GPS Element Parsed {"raw_longitude":763184192,"raw_latitude":97385176,"longitude_deg":76.3184192,"latitude_deg":9.7385176,"altitude":12,"angle":180,"satellites":31,"speed":38,"hex_longitude":"2d7d4440","hex_latitude":"05cdfad8","is_valid_coordinates":true} 
[2026-08-01 17:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110333952001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113543340279988224,"note":"Value kept but may cause issues"} 
[2026-08-01 17:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026480315578603520,"note":"Value kept but may cause issues"} 
[2026-08-01 17:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785587256000,"timestamp_ms":1785587256000,"timestamp_seconds":1785587256,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4b4ac0"} 
[2026-08-01 17:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-01 17:58:04] 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-08-01 17:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110333952001,"66":13243,"235":206,"85":15104,"24":38,"16":113543340279988224,"45":9026480315578603520},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-01 17:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110333952001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:58:04] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-01 17:58:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113543340279988224,"km_value":113543340279988.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026480315578603520,"description":"Unknown IO ID 45"} 
[2026-08-01 17:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110333952001,"power":13243,"unknown_235":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9026480315578603520}} 
[2026-08-01 17:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":146158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578418,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:58:04] local.INFO: GPS data processed {"connection_id":146158,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:58:04] local.INFO: Acknowledgment sent {"connection_id":146158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:58:05] local.INFO: TCP Data received {"connection_id":146159,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:58:05] local.INFO: Processing buffer {"connection_id":146159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:58:05] local.INFO: IMEI packet received {"connection_id":146159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":146159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:58:06] local.INFO: TCP Data received {"connection_id":146159,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:58:06] local.INFO: Processing buffer {"connection_id":146159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:58:06] local.INFO: IMEI packet received {"connection_id":146159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":146159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:58:06] local.INFO: TCP Data received {"connection_id":146159,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4a54a8012d181d000721ad78004700cf29..."} 
[2026-08-01 17:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4a54a8012d181d000721ad78004700cf29..."} 
[2026-08-01 17:58:06] local.INFO: Processing buffer {"connection_id":146159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4a54a8012d181d000721ad78004700cf29..."} 
[2026-08-01 17:58:06] local.INFO: Packet analysis {"connection_id":146159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd4a"} 
[2026-08-01 17:58:06] local.INFO: Extracted packet for processing {"connection_id":146159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd4a"} 
[2026-08-01 17:58:06] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647608,"longitude_deg":75.6555008,"latitude_deg":11.9647608,"altitude":71,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ad78","is_valid_coordinates":true} 
[2026-08-01 17:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110316032001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291106713436160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864667136,"note":"Value kept but may cause issues"} 
[2026-08-01 17:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785587193000,"timestamp_ms":1785587193000,"timestamp_seconds":1785587193,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4a54a8"} 
[2026-08-01 17:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-01 17:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:58:06] 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-08-01 17:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110316032001,"66":12776,"105":206,"83":41984,"24":0,"16":10291106713436160,"45":1737545061864667136},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110316032001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:58:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:58:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291106713436160,"km_value":10291106713436.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864667136,"description":"Unknown IO ID 45"} 
[2026-08-01 17:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110316032001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864667136}} 
[2026-08-01 17:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":146159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:58:06] local.INFO: GPS data processed {"connection_id":146159,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:58:06] local.INFO: Acknowledgment sent {"connection_id":146159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:58:08] local.INFO: TCP Data received {"connection_id":146159,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4aa6b0012d181d000721ad78004700cf29..."} 
[2026-08-01 17:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4aa6b0012d181d000721ad78004700cf29..."} 
[2026-08-01 17:58:08] local.INFO: Processing buffer {"connection_id":146159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4aa6b0012d181d000721ad78004700cf29..."} 
[2026-08-01 17:58:08] local.INFO: Packet analysis {"connection_id":146159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd4a"} 
[2026-08-01 17:58:08] local.INFO: Extracted packet for processing {"connection_id":146159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd4a"} 
[2026-08-01 17:58:08] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647608,"longitude_deg":75.6555008,"latitude_deg":11.9647608,"altitude":71,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ad78","is_valid_coordinates":true} 
[2026-08-01 17:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110321408001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291106713436160,"note":"Value kept but may cause issues"} 
[2026-08-01 17:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864667136,"note":"Value kept but may cause issues"} 
[2026-08-01 17:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785587214000,"timestamp_ms":1785587214000,"timestamp_seconds":1785587214,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4aa6b0"} 
[2026-08-01 17:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:58: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-08-01 17:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-01 17:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:58:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":146159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":146159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":146159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:58:08] 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-08-01 17:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110321408001,"66":14102,"105":206,"83":41984,"24":0,"16":10291106713436160,"45":1737545061864667136},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110321408001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:58:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:58:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291106713436160,"km_value":10291106713436.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864667136,"description":"Unknown IO ID 45"} 
[2026-08-01 17:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110321408001,"power":14102,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864667136}} 
[2026-08-01 17:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":146159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:58:08] local.INFO: GPS data processed {"connection_id":146159,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:58:08] local.INFO: Acknowledgment sent {"connection_id":146159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:58:21] local.INFO: TCP Data received {"connection_id":146385,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd468800012cee6c80072e3020003500932a..."} 
[2026-08-01 17:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd468800012cee6c80072e3020003500932a..."} 
[2026-08-01 17:58:21] local.INFO: Processing buffer {"connection_id":146385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd468800012cee6c80072e3020003500932a..."} 
[2026-08-01 17:58:21] local.INFO: Packet analysis {"connection_id":146385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd46"} 
[2026-08-01 17:58:21] local.INFO: Extracted packet for processing {"connection_id":146385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd46"} 
[2026-08-01 17:58:21] local.INFO: GPS Element Parsed {"raw_longitude":753822848,"raw_latitude":120467488,"longitude_deg":75.3822848,"latitude_deg":12.0467488,"altitude":53,"angle":147,"satellites":42,"speed":12,"hex_longitude":"2cee6c80","hex_latitude":"072e3020","is_valid_coordinates":true} 
[2026-08-01 17:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110257408001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366709779520815104,"note":"Value kept but may cause issues"} 
[2026-08-01 17:58:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266637364358199296,"note":"Value kept but may cause issues"} 
[2026-08-01 17:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785586944000,"timestamp_ms":1785586944000,"timestamp_seconds":1785586944,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd468800"} 
[2026-08-01 17:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:58:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 17:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-01 17:58:21] 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-08-01 17:58:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110257408001,"66":26560,"219":206,"83":44032,"24":12,"16":366709779520815104,"44":-1266637364358199296},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-01 17:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110257408001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:58:21] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 17:58:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 17:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366709779520815104,"km_value":366709779520815.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:58:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266637364358199296,"description":"Unknown IO ID 44"} 
[2026-08-01 17:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110257408001,"power":26560,"unknown_219":206,"unknown_83":44032,"ignition":12,"odometer":null,"unknown_44":-1266637364358199296}} 
[2026-08-01 17:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":146385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:58:21] local.INFO: GPS data processed {"connection_id":146385,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:58:21] local.INFO: Acknowledgment sent {"connection_id":146385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:58:35] local.INFO: TCP Data received {"connection_id":146158,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4b71d0012d7d448005cdd4f8000b00b31f..."} 
[2026-08-01 17:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4b71d0012d7d448005cdd4f8000b00b31f..."} 
[2026-08-01 17:58:35] local.INFO: Processing buffer {"connection_id":146158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4b71d0012d7d448005cdd4f8000b00b31f..."} 
[2026-08-01 17:58:35] local.INFO: Packet analysis {"connection_id":146158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd4b"} 
[2026-08-01 17:58:35] local.INFO: Extracted packet for processing {"connection_id":146158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd4b"} 
[2026-08-01 17:58:35] local.INFO: GPS Element Parsed {"raw_longitude":763184256,"raw_latitude":97375480,"longitude_deg":76.3184256,"latitude_deg":9.737548,"altitude":11,"angle":179,"satellites":31,"speed":36,"hex_longitude":"2d7d4480","hex_latitude":"05cdd4f8","is_valid_coordinates":true} 
[2026-08-01 17:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110337536001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113543808431423488,"note":"Value kept but may cause issues"} 
[2026-08-01 17:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026409946832099328,"note":"Value kept but may cause issues"} 
[2026-08-01 17:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785587266000,"timestamp_ms":1785587266000,"timestamp_seconds":1785587266,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4b71d0"} 
[2026-08-01 17:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-01 17:58: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-08-01 17:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110337536001,"66":12885,"235":206,"85":15104,"24":36,"16":113543808431423488,"45":9026409946832099328},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-01 17:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110337536001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:58:35] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-01 17:58:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113543808431423488,"km_value":113543808431423.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026409946832099328,"description":"Unknown IO ID 45"} 
[2026-08-01 17:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110337536001,"power":12885,"unknown_235":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9026409946832099328}} 
[2026-08-01 17:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":146158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578422,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:58:35] local.INFO: GPS data processed {"connection_id":146158,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:58:35] local.INFO: Acknowledgment sent {"connection_id":146158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:58:39] local.INFO: TCP Data received {"connection_id":146159,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4af8b8012d181c400721acb0004900c528..."} 
[2026-08-01 17:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4af8b8012d181c400721acb0004900c528..."} 
[2026-08-01 17:58:39] local.INFO: Processing buffer {"connection_id":146159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4af8b8012d181c400721acb0004900c528..."} 
[2026-08-01 17:58:39] local.INFO: Packet analysis {"connection_id":146159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd4a"} 
[2026-08-01 17:58:39] local.INFO: Extracted packet for processing {"connection_id":146159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd4a"} 
[2026-08-01 17:58:39] local.INFO: GPS Element Parsed {"raw_longitude":756554816,"raw_latitude":119647408,"longitude_deg":75.6554816,"latitude_deg":11.9647408,"altitude":73,"angle":197,"satellites":40,"speed":1,"hex_longitude":"2d181c40","hex_latitude":"0721acb0","is_valid_coordinates":true} 
[2026-08-01 17: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-08-01 17:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110326784001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291119598338048,"note":"Value kept but may cause issues"} 
[2026-08-01 17:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864667136,"note":"Value kept but may cause issues"} 
[2026-08-01 17:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785587235000,"timestamp_ms":1785587235000,"timestamp_seconds":1785587235,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4af8b8"} 
[2026-08-01 17:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17: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-08-01 17: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-01 17:58:39] 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-08-01 17: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-08-01 17:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:58:39] 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-08-01 17:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110326784001,"66":14157,"105":206,"83":41984,"24":1,"16":10291119598338048,"45":1737545061864667136},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110326784001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:58:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:58:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291119598338048,"km_value":10291119598338.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864667136,"description":"Unknown IO ID 45"} 
[2026-08-01 17:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110326784001,"power":14157,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1737545061864667136}} 
[2026-08-01 17:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":146159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:58:39] local.INFO: GPS data processed {"connection_id":146159,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:58:39] local.INFO: Acknowledgment sent {"connection_id":146159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:58:44] local.INFO: TCP Data received {"connection_id":148696,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:58:44] local.INFO: Processing buffer {"connection_id":148696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:58:44] local.INFO: IMEI packet received {"connection_id":148696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 17:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":148696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:58:49] local.INFO: TCP Data received {"connection_id":148696,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:58:49] local.INFO: Processing buffer {"connection_id":148696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:58:49] local.INFO: IMEI packet received {"connection_id":148696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":148696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:58:50] local.INFO: TCP Data received {"connection_id":148696,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd49df78012cee6fc0072e2c10003500942a..."} 
[2026-08-01 17:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd49df78012cee6fc0072e2c10003500942a..."} 
[2026-08-01 17:58:50] local.INFO: Processing buffer {"connection_id":148696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd49df78012cee6fc0072e2c10003500942a..."} 
[2026-08-01 17:58:50] local.INFO: Packet analysis {"connection_id":148696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd49"} 
[2026-08-01 17:58:50] local.INFO: Extracted packet for processing {"connection_id":148696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd49"} 
[2026-08-01 17:58:50] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466448,"longitude_deg":75.382368,"latitude_deg":12.0466448,"altitude":53,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c10","is_valid_coordinates":true} 
[2026-08-01 17:58: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-08-01 17:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110257664001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366709779520815104,"note":"Value kept but may cause issues"} 
[2026-08-01 17:58:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266496626869919744,"note":"Value kept but may cause issues"} 
[2026-08-01 17:58:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785587163000,"timestamp_ms":1785587163000,"timestamp_seconds":1785587163,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd49df78"} 
[2026-08-01 17:58:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:58:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 17:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-01 17:58:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2441,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:58:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:58:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:58:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110257664001,"66":26582,"219":206,"83":44032,"24":0,"16":366709779520815104,"44":-1266496626869919744},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-01 17:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110257664001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:58:50] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 17:58:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 17:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366709779520815104,"km_value":366709779520815.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:58:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266496626869919744,"description":"Unknown IO ID 44"} 
[2026-08-01 17:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110257664001,"power":26582,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1266496626869919744}} 
[2026-08-01 17:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":148696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:58:50] local.INFO: GPS data processed {"connection_id":148696,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:58:50] local.INFO: Acknowledgment sent {"connection_id":148696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:58:58] local.INFO: TCP Data received {"connection_id":146160,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:58:58] local.INFO: Processing buffer {"connection_id":146160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:58:58] local.INFO: IMEI packet received {"connection_id":146160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":146160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:58:59] local.INFO: TCP Data received {"connection_id":146160,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:58:59] local.INFO: Processing buffer {"connection_id":146160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:58:59] local.INFO: IMEI packet received {"connection_id":146160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":146160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:59:02] local.INFO: TCP Data received {"connection_id":146160,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:59:02] local.INFO: Processing buffer {"connection_id":146160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:59:02] local.INFO: IMEI packet received {"connection_id":146160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":146160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:59:03] local.INFO: TCP Data received {"connection_id":146160,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4b2b80012d181c400721aaf8004900b627..."} 
[2026-08-01 17:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4b2b80012d181c400721aaf8004900b627..."} 
[2026-08-01 17:59:03] local.INFO: Processing buffer {"connection_id":146160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4b2b80012d181c400721aaf8004900b627..."} 
[2026-08-01 17:59:03] local.INFO: Packet analysis {"connection_id":146160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd4b"} 
[2026-08-01 17:59:03] local.INFO: Extracted packet for processing {"connection_id":146160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd4b"} 
[2026-08-01 17:59:03] local.INFO: GPS Element Parsed {"raw_longitude":756554816,"raw_latitude":119646968,"longitude_deg":75.6554816,"latitude_deg":11.9646968,"altitude":73,"angle":182,"satellites":39,"speed":1,"hex_longitude":"2d181c40","hex_latitude":"0721aaf8","is_valid_coordinates":true} 
[2026-08-01 17:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110332160001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291141073174528,"note":"Value kept but may cause issues"} 
[2026-08-01 17:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737333955632082944,"note":"Value kept but may cause issues"} 
[2026-08-01 17:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785587248000,"timestamp_ms":1785587248000,"timestamp_seconds":1785587248,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4b2b80"} 
[2026-08-01 17:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:59: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-08-01 17:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-01 17:59:03] 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-08-01 17:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:59:03] 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-08-01 17:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110332160001,"66":14113,"105":206,"83":41984,"24":1,"16":10291141073174528,"45":1737333955632082944},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110332160001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:59:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:59:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291141073174528,"km_value":10291141073174.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737333955632082944,"description":"Unknown IO ID 45"} 
[2026-08-01 17:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110332160001,"power":14113,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1737333955632082944}} 
[2026-08-01 17:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":146160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:59:03] local.INFO: GPS data processed {"connection_id":146160,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:59:03] local.INFO: Acknowledgment sent {"connection_id":146160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:59:03] local.INFO: TCP Data received {"connection_id":146161,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146161,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:59:03] local.INFO: Processing buffer {"connection_id":146161,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:59:03] local.INFO: IMEI packet received {"connection_id":146161,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 17:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":146161,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:59:04] local.INFO: TCP Data received {"connection_id":146161,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146161,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:59:04] local.INFO: Processing buffer {"connection_id":146161,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:59:04] local.INFO: IMEI packet received {"connection_id":146161,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 17:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":146161,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:59:04] local.INFO: TCP Data received {"connection_id":146161,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4b94f8012d7d454005cdb248000c00b01f..."} 
[2026-08-01 17:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4b94f8012d7d454005cdb248000c00b01f..."} 
[2026-08-01 17:59:04] local.INFO: Processing buffer {"connection_id":146161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4b94f8012d7d454005cdb248000c00b01f..."} 
[2026-08-01 17:59:04] local.INFO: Packet analysis {"connection_id":146161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd4b"} 
[2026-08-01 17:59:04] local.INFO: Extracted packet for processing {"connection_id":146161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd4b"} 
[2026-08-01 17:59:04] local.INFO: GPS Element Parsed {"raw_longitude":763184448,"raw_latitude":97366600,"longitude_deg":76.3184448,"latitude_deg":9.73666,"altitude":12,"angle":176,"satellites":31,"speed":44,"hex_longitude":"2d7d4540","hex_latitude":"05cdb248","is_valid_coordinates":true} 
[2026-08-01 17:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110340096001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544242223120384,"note":"Value kept but may cause issues"} 
[2026-08-01 17:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026480315573794816,"note":"Value kept but may cause issues"} 
[2026-08-01 17:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785587275000,"timestamp_ms":1785587275000,"timestamp_seconds":1785587275,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4b94f8"} 
[2026-08-01 17:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-01 17:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:59:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146161,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146161,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110340096001,"66":13363,"235":206,"85":15104,"24":44,"16":113544242223120384,"45":9026480315573794816},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-01 17:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110340096001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:59:04] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-01 17:59:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544242223120384,"km_value":113544242223120.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026480315573794816,"description":"Unknown IO ID 45"} 
[2026-08-01 17:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110340096001,"power":13363,"unknown_235":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9026480315573794816}} 
[2026-08-01 17:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":146161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578426,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:59:04] local.INFO: GPS data processed {"connection_id":146161,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:59:04] local.INFO: Acknowledgment sent {"connection_id":146161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:59:08] local.INFO: TCP Data received {"connection_id":146161,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4bb438012d7d484005cd8c68000e00ae1f..."} 
[2026-08-01 17:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4bb438012d7d484005cd8c68000e00ae1f..."} 
[2026-08-01 17:59:08] local.INFO: Processing buffer {"connection_id":146161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4bb438012d7d484005cd8c68000e00ae1f..."} 
[2026-08-01 17:59:08] local.INFO: Packet analysis {"connection_id":146161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd4b"} 
[2026-08-01 17:59:08] local.INFO: Extracted packet for processing {"connection_id":146161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd4b"} 
[2026-08-01 17:59:08] local.INFO: GPS Element Parsed {"raw_longitude":763185216,"raw_latitude":97356904,"longitude_deg":76.3185216,"latitude_deg":9.7356904,"altitude":14,"angle":174,"satellites":31,"speed":52,"hex_longitude":"2d7d4840","hex_latitude":"05cd8c68","is_valid_coordinates":true} 
[2026-08-01 17:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110342400001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544714669522944,"note":"Value kept but may cause issues"} 
[2026-08-01 17:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026691421804054528,"note":"Value kept but may cause issues"} 
[2026-08-01 17:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785587283000,"timestamp_ms":1785587283000,"timestamp_seconds":1785587283,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4bb438"} 
[2026-08-01 17:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:59: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-08-01 17:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-01 17:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:59:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":146161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":146161,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":146161,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:59:08] 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-08-01 17:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110342400001,"66":12765,"235":206,"85":15104,"24":52,"16":113544714669522944,"45":9026691421804054528},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-01 17:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110342400001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:59:08] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-01 17:59:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544714669522944,"km_value":113544714669522.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026691421804054528,"description":"Unknown IO ID 45"} 
[2026-08-01 17:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110342400001,"power":12765,"unknown_235":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":9026691421804054528}} 
[2026-08-01 17:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":146161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578427,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:59:08] local.INFO: GPS data processed {"connection_id":146161,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:59:08] local.INFO: Acknowledgment sent {"connection_id":146161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:59:21] local.INFO: TCP Data received {"connection_id":148696,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd49eb30012cee7100072e2c980035005a2a..."} 
[2026-08-01 17:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd49eb30012cee7100072e2c980035005a2a..."} 
[2026-08-01 17:59:21] local.INFO: Processing buffer {"connection_id":148696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd49eb30012cee7100072e2c980035005a2a..."} 
[2026-08-01 17:59:21] local.INFO: Packet analysis {"connection_id":148696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd49"} 
[2026-08-01 17:59:21] local.INFO: Extracted packet for processing {"connection_id":148696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd49"} 
[2026-08-01 17:59:21] local.INFO: GPS Element Parsed {"raw_longitude":753824000,"raw_latitude":120466584,"longitude_deg":75.3824,"latitude_deg":12.0466584,"altitude":53,"angle":90,"satellites":42,"speed":0,"hex_longitude":"2cee7100","hex_latitude":"072e2c98","is_valid_coordinates":true} 
[2026-08-01 17:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110313728001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366709779520815104,"note":"Value kept but may cause issues"} 
[2026-08-01 17:59:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195876352,"note":"Value kept but may cause issues"} 
[2026-08-01 17:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785587166000,"timestamp_ms":1785587166000,"timestamp_seconds":1785587166,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd49eb30"} 
[2026-08-01 17:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:59:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-01 17:59:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2639,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:59:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:59:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110313728001,"66":26789,"219":206,"83":44032,"24":0,"16":366709779520815104,"44":-1265581833195876352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-01 17:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110313728001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:59:21] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 17:59:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 17:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366709779520815104,"km_value":366709779520815.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:59:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195876352,"description":"Unknown IO ID 44"} 
[2026-08-01 17:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110313728001,"power":26789,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195876352}} 
[2026-08-01 17:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":148696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:59:21] local.INFO: GPS data processed {"connection_id":148696,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:59:21] local.INFO: Acknowledgment sent {"connection_id":148696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:59:33] local.INFO: TCP Data received {"connection_id":146160,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4b3350012d181c800721aa40004800a428..."} 
[2026-08-01 17:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4b3350012d181c800721aa40004800a428..."} 
[2026-08-01 17:59:33] local.INFO: Processing buffer {"connection_id":146160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4b3350012d181c800721aa40004800a428..."} 
[2026-08-01 17:59:33] local.INFO: Packet analysis {"connection_id":146160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd4b"} 
[2026-08-01 17:59:33] local.INFO: Extracted packet for processing {"connection_id":146160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd4b"} 
[2026-08-01 17:59:33] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119646784,"longitude_deg":75.655488,"latitude_deg":11.9646784,"altitude":72,"angle":164,"satellites":40,"speed":2,"hex_longitude":"2d181c80","hex_latitude":"0721aa40","is_valid_coordinates":true} 
[2026-08-01 17:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110335488001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10291149663109120,"note":"Value kept but may cause issues"} 
[2026-08-01 17:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737333955631970304,"note":"Value kept but may cause issues"} 
[2026-08-01 17:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785587250000,"timestamp_ms":1785587250000,"timestamp_seconds":1785587250,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4b3350"} 
[2026-08-01 17:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:59:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 17:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-01 17:59:33] 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-08-01 17: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-08-01 17:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 17:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 17:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 17:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110335488001,"66":14189,"105":206,"83":41984,"24":2,"16":10291149663109120,"45":1737333955631970304},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-01 17:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 17:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 17:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110335488001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:59:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-01 17:59:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 17:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10291149663109120,"km_value":10291149663109.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737333955631970304,"description":"Unknown IO ID 45"} 
[2026-08-01 17:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110335488001,"power":14189,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1737333955631970304}} 
[2026-08-01 17:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":146160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:59:33] local.INFO: GPS data processed {"connection_id":146160,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:59:33] local.INFO: Acknowledgment sent {"connection_id":146160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:59:39] local.INFO: TCP Data received {"connection_id":146161,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4bcf90012d7d4c0005cd66d8000e00ae1f..."} 
[2026-08-01 17:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4bcf90012d7d4c0005cd66d8000e00ae1f..."} 
[2026-08-01 17:59:39] local.INFO: Processing buffer {"connection_id":146161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4bcf90012d7d4c0005cd66d8000e00ae1f..."} 
[2026-08-01 17:59:39] local.INFO: Packet analysis {"connection_id":146161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd4b"} 
[2026-08-01 17:59:39] local.INFO: Extracted packet for processing {"connection_id":146161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd4b"} 
[2026-08-01 17:59:39] local.INFO: GPS Element Parsed {"raw_longitude":763186176,"raw_latitude":97347288,"longitude_deg":76.3186176,"latitude_deg":9.7347288,"altitude":14,"angle":174,"satellites":31,"speed":55,"hex_longitude":"2d7d4c00","hex_latitude":"05cd66d8","is_valid_coordinates":true} 
[2026-08-01 17:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 17:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110344448001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113545182820958208,"note":"Value kept but may cause issues"} 
[2026-08-01 17:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027535846731704320,"note":"Value kept but may cause issues"} 
[2026-08-01 17:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785587290000,"timestamp_ms":1785587290000,"timestamp_seconds":1785587290,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4bcf90"} 
[2026-08-01 17:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:59: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-08-01 17:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-01 17:59:39] 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-08-01 17:59:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146161,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146161,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 17:59:39] 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-08-01 17:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 17:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 17:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110344448001,"66":13298,"235":206,"85":15104,"24":55,"16":113545182820958208,"45":9027535846731704320},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-01 17:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 17:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 17:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110344448001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:59:39] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-01 17:59:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 17:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113545182820958208,"km_value":113545182820958.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027535846731704320,"description":"Unknown IO ID 45"} 
[2026-08-01 17:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110344448001,"power":13298,"unknown_235":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":9027535846731704320}} 
[2026-08-01 17:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":146161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578430,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:59:39] local.INFO: GPS data processed {"connection_id":146161,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:59:39] local.INFO: Acknowledgment sent {"connection_id":146161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:59:43] local.INFO: TCP Data received {"connection_id":146162,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:59:43] local.INFO: Processing buffer {"connection_id":146162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:59:43] local.INFO: IMEI packet received {"connection_id":146162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 17:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":146162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:59:49] local.INFO: TCP Data received {"connection_id":146162,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:59:49] local.INFO: Processing buffer {"connection_id":146162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 17:59:49] local.INFO: IMEI packet received {"connection_id":146162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 17:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":146162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 17:59:50] local.INFO: TCP Data received {"connection_id":146162,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4a3180012cee7100072e2c980035005a29..."} 
[2026-08-01 17:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4a3180012cee7100072e2c980035005a29..."} 
[2026-08-01 17:59:50] local.INFO: Processing buffer {"connection_id":146162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4a3180012cee7100072e2c980035005a29..."} 
[2026-08-01 17:59:50] local.INFO: Packet analysis {"connection_id":146162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd4a"} 
[2026-08-01 17:59:50] local.INFO: Extracted packet for processing {"connection_id":146162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd4a"} 
[2026-08-01 17:59:50] local.INFO: GPS Element Parsed {"raw_longitude":753824000,"raw_latitude":120466584,"longitude_deg":75.3824,"latitude_deg":12.0466584,"altitude":53,"angle":90,"satellites":41,"speed":0,"hex_longitude":"2cee7100","hex_latitude":"072e2c98","is_valid_coordinates":true} 
[2026-08-01 17:59: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-08-01 17:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110314496001,"note":"Value kept but may cause issues"} 
[2026-08-01 17:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366709779520815104,"note":"Value kept but may cause issues"} 
[2026-08-01 17:59:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265229989474953216,"note":"Value kept but may cause issues"} 
[2026-08-01 17:59:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 17:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785587184000,"timestamp_ms":1785587184000,"timestamp_seconds":1785587184,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4a3180"} 
[2026-08-01 17:59:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 17:59: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-08-01 17:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-08-01 17:59:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2203,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 17:59:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 17:59:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 17:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 17:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 17:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 17:59:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 17:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 17:59:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 17:59:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110314496001,"66":27930,"219":206,"83":44032,"24":0,"16":366709779520815104,"44":-1265229989474953216},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-01 17:59:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 17:59:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 17:59:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110314496001,"description":"Unknown IO ID 0"} 
[2026-08-01 17:59:50] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 17:59:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 17:59:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366709779520815104,"km_value":366709779520815.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 17:59:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265229989474953216,"description":"Unknown IO ID 44"} 
[2026-08-01 17:59:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110314496001,"power":27930,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265229989474953216}} 
[2026-08-01 17:59:50] local.INFO: DEBUG: GPS processor result {"connection_id":146162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 17:59:50] local.INFO: GPS data processed {"connection_id":146162,"processed":1,"errors":0,"total":1} 
[2026-08-01 17:59:50] local.INFO: Acknowledgment sent {"connection_id":146162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 17:59:58] local.INFO: TCP Data received {"connection_id":146386,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146386,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:59:58] local.INFO: Processing buffer {"connection_id":146386,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 17:59:58] local.INFO: IMEI packet received {"connection_id":146386,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 17:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":146386,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:59:59] local.INFO: TCP Data received {"connection_id":148697,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:59:59] local.INFO: Processing buffer {"connection_id":148697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:59:59] local.INFO: IMEI packet received {"connection_id":148697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 17:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":148697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 17:59:59] local.INFO: TCP Data received {"connection_id":148697,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:59:59] local.INFO: Processing buffer {"connection_id":148697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 17:59:59] local.INFO: IMEI packet received {"connection_id":148697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 17:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":148697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:00:03] local.INFO: TCP Data received {"connection_id":146386,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146386,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:00:03] local.INFO: Processing buffer {"connection_id":146386,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:00:03] local.INFO: IMEI packet received {"connection_id":146386,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":146386,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:00:03] local.INFO: TCP Data received {"connection_id":146386,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4beae8012d7d4f8005cd3ec0000d00ae1e..."} 
[2026-08-01 18:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4beae8012d7d4f8005cd3ec0000d00ae1e..."} 
[2026-08-01 18:00:03] local.INFO: Processing buffer {"connection_id":146386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4beae8012d7d4f8005cd3ec0000d00ae1e..."} 
[2026-08-01 18:00:03] local.INFO: Packet analysis {"connection_id":146386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd4b"} 
[2026-08-01 18:00:03] local.INFO: Extracted packet for processing {"connection_id":146386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd4b"} 
[2026-08-01 18:00:03] local.INFO: GPS Element Parsed {"raw_longitude":763187072,"raw_latitude":97337024,"longitude_deg":76.3187072,"latitude_deg":9.7337024,"altitude":13,"angle":174,"satellites":30,"speed":61,"hex_longitude":"2d7d4f80","hex_latitude":"05cd3ec0","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110346240001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113545681037164544,"note":"Value kept but may cause issues"} 
[2026-08-01 18:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028591377891907584,"note":"Value kept but may cause issues"} 
[2026-08-01 18:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785587297000,"timestamp_ms":1785587297000,"timestamp_seconds":1785587297,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4beae8"} 
[2026-08-01 18:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-01 18:00:03] 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-08-01 18: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-08-01 18:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110346240001,"66":13298,"235":206,"85":15104,"24":61,"16":113545681037164544,"45":9028591377891907584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-01 18:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110346240001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:00:03] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-01 18:00:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 18:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113545681037164544,"km_value":113545681037164.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028591377891907584,"description":"Unknown IO ID 45"} 
[2026-08-01 18:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110346240001,"power":13298,"unknown_235":206,"unknown_85":15104,"ignition":61,"odometer":null,"unknown_45":9028591377891907584}} 
[2026-08-01 18:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":146386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578432,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:00:04] local.INFO: GPS data processed {"connection_id":146386,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:00:04] local.INFO: Acknowledgment sent {"connection_id":146386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:00:04] local.INFO: TCP Data received {"connection_id":148697,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:00:04] local.INFO: Processing buffer {"connection_id":148697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:00:04] local.INFO: IMEI packet received {"connection_id":148697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":148697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:00:05] local.INFO: TCP Data received {"connection_id":148697,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4ca280012d18c300072153b00043009a25..."} 
[2026-08-01 18:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4ca280012d18c300072153b00043009a25..."} 
[2026-08-01 18:00:05] local.INFO: Processing buffer {"connection_id":148697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4ca280012d18c300072153b00043009a25..."} 
[2026-08-01 18:00:05] local.INFO: Packet analysis {"connection_id":148697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd4c"} 
[2026-08-01 18:00:05] local.INFO: Extracted packet for processing {"connection_id":148697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd4c"} 
[2026-08-01 18:00:05] local.INFO: GPS Element Parsed {"raw_longitude":756597504,"raw_latitude":119624624,"longitude_deg":75.6597504,"latitude_deg":11.9624624,"altitude":67,"angle":154,"satellites":37,"speed":29,"hex_longitude":"2d18c300","hex_latitude":"072153b0","is_valid_coordinates":true} 
[2026-08-01 18:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110356736001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10293559139762176,"note":"Value kept but may cause issues"} 
[2026-08-01 18:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778781145948796928,"note":"Value kept but may cause issues"} 
[2026-08-01 18:00:05] 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-08-01 18:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785587344000,"timestamp_ms":1785587344000,"timestamp_seconds":1785587344,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4ca280"} 
[2026-08-01 18:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18: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-08-01 18:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-01 18:00:05] 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-08-01 18: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-08-01 18:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:00:05] 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-08-01 18:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110356736001,"66":14265,"106":206,"83":41984,"24":29,"16":10293559139762176,"45":1778781145948796928},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-01 18:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110356736001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:00:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-01 18:00:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10293559139762176,"km_value":10293559139762.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778781145948796928,"description":"Unknown IO ID 45"} 
[2026-08-01 18:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110356736001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1778781145948796928}} 
[2026-08-01 18:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":148697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:00:05] local.INFO: GPS data processed {"connection_id":148697,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:00:05] local.INFO: Acknowledgment sent {"connection_id":148697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:00:21] local.INFO: TCP Data received {"connection_id":146162,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4a3180012cee7100072e2c980035005a29..."} 
[2026-08-01 18:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4a3180012cee7100072e2c980035005a29..."} 
[2026-08-01 18:00:21] local.INFO: Processing buffer {"connection_id":146162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4a3180012cee7100072e2c980035005a29..."} 
[2026-08-01 18:00:21] local.INFO: Packet analysis {"connection_id":146162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd4a"} 
[2026-08-01 18:00:21] local.INFO: Extracted packet for processing {"connection_id":146162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd4a"} 
[2026-08-01 18:00:21] local.INFO: GPS Element Parsed {"raw_longitude":753824000,"raw_latitude":120466584,"longitude_deg":75.3824,"latitude_deg":12.0466584,"altitude":53,"angle":90,"satellites":41,"speed":0,"hex_longitude":"2cee7100","hex_latitude":"072e2c98","is_valid_coordinates":true} 
[2026-08-01 18:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110314496001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366709779520815104,"note":"Value kept but may cause issues"} 
[2026-08-01 18:00:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265229989474953216,"note":"Value kept but may cause issues"} 
[2026-08-01 18:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785587184000,"timestamp_ms":1785587184000,"timestamp_seconds":1785587184,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4a3180"} 
[2026-08-01 18:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:00:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-08-01 18:00:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2203,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:00:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:00:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110314496001,"66":27930,"219":206,"83":44032,"24":0,"16":366709779520815104,"44":-1265229989474953216},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-01 18:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110314496001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:00:21] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 18:00:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366709779520815104,"km_value":366709779520815.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:00:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265229989474953216,"description":"Unknown IO ID 44"} 
[2026-08-01 18:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110314496001,"power":27930,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265229989474953216}} 
[2026-08-01 18:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":146162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:00:21] local.INFO: GPS data processed {"connection_id":146162,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:00:21] local.INFO: Acknowledgment sent {"connection_id":146162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:00:22] local.INFO: TCP Data received {"connection_id":146386,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4c0258012d7d534005cd1940000d00af1d..."} 
[2026-08-01 18:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4c0258012d7d534005cd1940000d00af1d..."} 
[2026-08-01 18:00:22] local.INFO: Processing buffer {"connection_id":146386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4c0258012d7d534005cd1940000d00af1d..."} 
[2026-08-01 18:00:22] local.INFO: Packet analysis {"connection_id":146386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd4c"} 
[2026-08-01 18:00:22] local.INFO: Extracted packet for processing {"connection_id":146386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd4c"} 
[2026-08-01 18:00:22] local.INFO: GPS Element Parsed {"raw_longitude":763188032,"raw_latitude":97327424,"longitude_deg":76.3188032,"latitude_deg":9.7327424,"altitude":13,"angle":175,"satellites":29,"speed":66,"hex_longitude":"2d7d5340","hex_latitude":"05cd1940","is_valid_coordinates":true} 
[2026-08-01 18:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110348032001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113546149188599808,"note":"Value kept but may cause issues"} 
[2026-08-01 18:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029576540307767296,"note":"Value kept but may cause issues"} 
[2026-08-01 18:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785587303000,"timestamp_ms":1785587303000,"timestamp_seconds":1785587303,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4c0258"} 
[2026-08-01 18:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-01 18:00:22] 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-08-01 18:00:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:00:22] 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-08-01 18:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110348032001,"66":13319,"235":206,"85":15104,"24":66,"16":113546149188599808,"45":9029576540307767296},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-01 18:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110348032001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:00:22] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-01 18:00:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 18:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113546149188599808,"km_value":113546149188599.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029576540307767296,"description":"Unknown IO ID 45"} 
[2026-08-01 18:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110348032001,"power":13319,"unknown_235":206,"unknown_85":15104,"ignition":66,"odometer":null,"unknown_45":9029576540307767296}} 
[2026-08-01 18:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":146386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578435,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:00:22] local.INFO: GPS data processed {"connection_id":146386,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:00:22] local.INFO: Acknowledgment sent {"connection_id":146386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:00:36] local.INFO: TCP Data received {"connection_id":148697,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4ca280012d18c300072153b00043009a25..."} 
[2026-08-01 18:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4ca280012d18c300072153b00043009a25..."} 
[2026-08-01 18:00:36] local.INFO: Processing buffer {"connection_id":148697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4ca280012d18c300072153b00043009a25..."} 
[2026-08-01 18:00:36] local.INFO: Packet analysis {"connection_id":148697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd4c"} 
[2026-08-01 18:00:36] local.INFO: Extracted packet for processing {"connection_id":148697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd4c"} 
[2026-08-01 18:00:36] local.INFO: GPS Element Parsed {"raw_longitude":756597504,"raw_latitude":119624624,"longitude_deg":75.6597504,"latitude_deg":11.9624624,"altitude":67,"angle":154,"satellites":37,"speed":29,"hex_longitude":"2d18c300","hex_latitude":"072153b0","is_valid_coordinates":true} 
[2026-08-01 18:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110360064001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10293559139762176,"note":"Value kept but may cause issues"} 
[2026-08-01 18:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784269907992752128,"note":"Value kept but may cause issues"} 
[2026-08-01 18:00:36] 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-08-01 18:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785587344000,"timestamp_ms":1785587344000,"timestamp_seconds":1785587344,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4ca280"} 
[2026-08-01 18:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:00: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-08-01 18:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-01 18:00:36] 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-08-01 18:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:00:36] 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-08-01 18:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110360064001,"66":14265,"106":206,"83":41984,"24":29,"16":10293559139762176,"45":1784269907992752128},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-01 18:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110360064001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:00:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-01 18:00:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10293559139762176,"km_value":10293559139762.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784269907992752128,"description":"Unknown IO ID 45"} 
[2026-08-01 18:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110360064001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1784269907992752128}} 
[2026-08-01 18:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":148697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:00:36] local.INFO: GPS data processed {"connection_id":148697,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:00:36] local.INFO: Acknowledgment sent {"connection_id":148697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:00:43] local.INFO: TCP Data received {"connection_id":146387,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:00:43] local.INFO: Processing buffer {"connection_id":146387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:00:43] local.INFO: IMEI packet received {"connection_id":146387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":146387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:00:49] local.INFO: TCP Data received {"connection_id":146387,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:00:49] local.INFO: Processing buffer {"connection_id":146387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:00:49] local.INFO: IMEI packet received {"connection_id":146387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":146387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:00:50] local.INFO: TCP Data received {"connection_id":146387,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4a3180012cee7100072e2c980035005a29..."} 
[2026-08-01 18:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4a3180012cee7100072e2c980035005a29..."} 
[2026-08-01 18:00:50] local.INFO: Processing buffer {"connection_id":146387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4a3180012cee7100072e2c980035005a29..."} 
[2026-08-01 18:00:50] local.INFO: Packet analysis {"connection_id":146387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd4a"} 
[2026-08-01 18:00:50] local.INFO: Extracted packet for processing {"connection_id":146387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd4a"} 
[2026-08-01 18:00:50] local.INFO: GPS Element Parsed {"raw_longitude":753824000,"raw_latitude":120466584,"longitude_deg":75.3824,"latitude_deg":12.0466584,"altitude":53,"angle":90,"satellites":41,"speed":0,"hex_longitude":"2cee7100","hex_latitude":"072e2c98","is_valid_coordinates":true} 
[2026-08-01 18:00: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-08-01 18:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110314496001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:00:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366709779520815104,"note":"Value kept but may cause issues"} 
[2026-08-01 18:00:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265229989474953216,"note":"Value kept but may cause issues"} 
[2026-08-01 18:00:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:00:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785587184000,"timestamp_ms":1785587184000,"timestamp_seconds":1785587184,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4a3180"} 
[2026-08-01 18:00:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:00: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-08-01 18:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-08-01 18:00:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2203,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:00:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:00:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:00:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:00:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:00:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:00:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:00:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:00:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:00:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:00:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110314496001,"66":27930,"219":206,"83":44032,"24":0,"16":366709779520815104,"44":-1265229989474953216},"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-08-01 18:00:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:00:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:00:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110314496001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:00:50] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 18:00:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:00:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366709779520815104,"km_value":366709779520815.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:00:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265229989474953216,"description":"Unknown IO ID 44"} 
[2026-08-01 18:00:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110314496001,"power":27930,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265229989474953216}} 
[2026-08-01 18:00:50] local.INFO: DEBUG: GPS processor result {"connection_id":146387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:00:50] local.INFO: GPS data processed {"connection_id":146387,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:00:50] local.INFO: Acknowledgment sent {"connection_id":146387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:00:58] local.INFO: TCP Data received {"connection_id":146163,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146163,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:00:58] local.INFO: Processing buffer {"connection_id":146163,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:00:58] local.INFO: IMEI packet received {"connection_id":146163,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 18:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":146163,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:00:59] local.INFO: TCP Data received {"connection_id":146164,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:00:59] local.INFO: Processing buffer {"connection_id":146164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:00:59] local.INFO: IMEI packet received {"connection_id":146164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 18:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":146164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:01:02] local.INFO: TCP Data received {"connection_id":146163,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146163,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:01:02] local.INFO: Processing buffer {"connection_id":146163,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:01:02] local.INFO: IMEI packet received {"connection_id":146163,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":146163,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:01:03] local.INFO: TCP Data received {"connection_id":146164,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:01:03] local.INFO: Processing buffer {"connection_id":146164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:01:03] local.INFO: IMEI packet received {"connection_id":146164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":146164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:01:03] local.INFO: TCP Data received {"connection_id":146163,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4d8ce0012d7d3ac005cb8f00000500b71e..."} 
[2026-08-01 18:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4d8ce0012d7d3ac005cb8f00000500b71e..."} 
[2026-08-01 18:01:03] local.INFO: Processing buffer {"connection_id":146163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4d8ce0012d7d3ac005cb8f00000500b71e..."} 
[2026-08-01 18:01:03] local.INFO: Packet analysis {"connection_id":146163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd4d"} 
[2026-08-01 18:01:03] local.INFO: Extracted packet for processing {"connection_id":146163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd4d"} 
[2026-08-01 18:01:03] local.INFO: GPS Element Parsed {"raw_longitude":763181760,"raw_latitude":97226496,"longitude_deg":76.318176,"latitude_deg":9.7226496,"altitude":5,"angle":183,"satellites":30,"speed":30,"hex_longitude":"2d7d3ac0","hex_latitude":"05cb8f00","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110372096001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113551071221121024,"note":"Value kept but may cause issues"} 
[2026-08-01 18:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024650728189403136,"note":"Value kept but may cause issues"} 
[2026-08-01 18:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785587404000,"timestamp_ms":1785587404000,"timestamp_seconds":1785587404,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4d8ce0"} 
[2026-08-01 18:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-01 18:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110372096001,"66":13276,"129":206,"85":15104,"24":30,"16":113551071221121024,"45":9024650728189403136},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-08-01 18:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110372096001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:01:03] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-01 18:01:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 18:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113551071221121024,"km_value":113551071221121.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024650728189403136,"description":"Unknown IO ID 45"} 
[2026-08-01 18:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110372096001,"power":13276,"unknown_129":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9024650728189403136}} 
[2026-08-01 18:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":146163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578438,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:01:03] local.INFO: GPS data processed {"connection_id":146163,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:01:03] local.INFO: Acknowledgment sent {"connection_id":146163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:01:04] local.INFO: TCP Data received {"connection_id":146164,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:01:04] local.INFO: Processing buffer {"connection_id":146164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:01:04] local.INFO: IMEI packet received {"connection_id":146164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":146164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:01:05] local.INFO: TCP Data received {"connection_id":146164,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4d7570012d18cb80072100f0003b00c724..."} 
[2026-08-01 18:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4d7570012d18cb80072100f0003b00c724..."} 
[2026-08-01 18:01:05] local.INFO: Processing buffer {"connection_id":146164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4d7570012d18cb80072100f0003b00c724..."} 
[2026-08-01 18:01:05] local.INFO: Packet analysis {"connection_id":146164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd4d"} 
[2026-08-01 18:01:05] local.INFO: Extracted packet for processing {"connection_id":146164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd4d"} 
[2026-08-01 18:01:05] local.INFO: GPS Element Parsed {"raw_longitude":756599680,"raw_latitude":119603440,"longitude_deg":75.659968,"latitude_deg":11.960344,"altitude":59,"angle":199,"satellites":36,"speed":12,"hex_longitude":"2d18cb80","hex_latitude":"072100f0","is_valid_coordinates":true} 
[2026-08-01 18:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110373632001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10294735960801280,"note":"Value kept but may cause issues"} 
[2026-08-01 18:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786803182777792512,"note":"Value kept but may cause issues"} 
[2026-08-01 18:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785587398000,"timestamp_ms":1785587398000,"timestamp_seconds":1785587398,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4d7570"} 
[2026-08-01 18:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:01: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-08-01 18:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-01 18:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:01:05] 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-08-01 18:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110373632001,"66":13048,"103":206,"83":41984,"24":12,"16":10294735960801280,"45":1786803182777792512},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-01 18:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110373632001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:01:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 18:01:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10294735960801280,"km_value":10294735960801.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786803182777792512,"description":"Unknown IO ID 45"} 
[2026-08-01 18:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110373632001,"power":13048,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1786803182777792512}} 
[2026-08-01 18:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":146164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:01:05] local.INFO: GPS data processed {"connection_id":146164,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:01:05] local.INFO: Acknowledgment sent {"connection_id":146164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:01:08] local.INFO: TCP Data received {"connection_id":146164,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4d7d40012d18cb000720fe88003a00b925..."} 
[2026-08-01 18:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4d7d40012d18cb000720fe88003a00b925..."} 
[2026-08-01 18:01:08] local.INFO: Processing buffer {"connection_id":146164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4d7d40012d18cb000720fe88003a00b925..."} 
[2026-08-01 18:01:08] local.INFO: Packet analysis {"connection_id":146164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd4d"} 
[2026-08-01 18:01:08] local.INFO: Extracted packet for processing {"connection_id":146164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd4d"} 
[2026-08-01 18:01:08] local.INFO: GPS Element Parsed {"raw_longitude":756599552,"raw_latitude":119602824,"longitude_deg":75.6599552,"latitude_deg":11.9602824,"altitude":58,"angle":185,"satellites":37,"speed":13,"hex_longitude":"2d18cb00","hex_latitude":"0720fe88","is_valid_coordinates":true} 
[2026-08-01 18:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110373888001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10294766025572352,"note":"Value kept but may cause issues"} 
[2026-08-01 18:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786662445289369600,"note":"Value kept but may cause issues"} 
[2026-08-01 18:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785587400000,"timestamp_ms":1785587400000,"timestamp_seconds":1785587400,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4d7d40"} 
[2026-08-01 18:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:01: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-08-01 18:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-01 18:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":146164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":146164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":146164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:01:08] 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-08-01 18:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110373888001,"66":14211,"103":206,"83":41984,"24":13,"16":10294766025572352,"45":1786662445289369600},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-01 18:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110373888001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:01:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 18:01:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10294766025572352,"km_value":10294766025572.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786662445289369600,"description":"Unknown IO ID 45"} 
[2026-08-01 18:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110373888001,"power":14211,"unknown_103":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1786662445289369600}} 
[2026-08-01 18:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":146164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578440,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:01:08] local.INFO: GPS data processed {"connection_id":146164,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:01:08] local.INFO: Acknowledgment sent {"connection_id":146164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:01:21] local.INFO: TCP Data received {"connection_id":146387,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4a3180012cee7100072e2c980035005a29..."} 
[2026-08-01 18:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4a3180012cee7100072e2c980035005a29..."} 
[2026-08-01 18:01:21] local.INFO: Processing buffer {"connection_id":146387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4a3180012cee7100072e2c980035005a29..."} 
[2026-08-01 18:01:21] local.INFO: Packet analysis {"connection_id":146387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd4a"} 
[2026-08-01 18:01:21] local.INFO: Extracted packet for processing {"connection_id":146387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd4a"} 
[2026-08-01 18:01:21] local.INFO: GPS Element Parsed {"raw_longitude":753824000,"raw_latitude":120466584,"longitude_deg":75.3824,"latitude_deg":12.0466584,"altitude":53,"angle":90,"satellites":41,"speed":0,"hex_longitude":"2cee7100","hex_latitude":"072e2c98","is_valid_coordinates":true} 
[2026-08-01 18:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110314496001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366709779520815104,"note":"Value kept but may cause issues"} 
[2026-08-01 18:01:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265229989474953216,"note":"Value kept but may cause issues"} 
[2026-08-01 18:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785587184000,"timestamp_ms":1785587184000,"timestamp_seconds":1785587184,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4a3180"} 
[2026-08-01 18:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:01:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18: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":104,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-08-01 18:01:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2203,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110314496001,"66":27930,"219":206,"83":44032,"24":0,"16":366709779520815104,"44":-1265229989474953216},"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-08-01 18:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110314496001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:01:21] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 18:01:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366709779520815104,"km_value":366709779520815.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:01:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265229989474953216,"description":"Unknown IO ID 44"} 
[2026-08-01 18:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110314496001,"power":27930,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265229989474953216}} 
[2026-08-01 18:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":146387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:01:21] local.INFO: GPS data processed {"connection_id":146387,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:01:21] local.INFO: Acknowledgment sent {"connection_id":146387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:01:34] local.INFO: TCP Data received {"connection_id":146163,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4dd330012d7d38c005cb6bb8000600b91d..."} 
[2026-08-01 18:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4dd330012d7d38c005cb6bb8000600b91d..."} 
[2026-08-01 18:01:34] local.INFO: Processing buffer {"connection_id":146163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4dd330012d7d38c005cb6bb8000600b91d..."} 
[2026-08-01 18:01:34] local.INFO: Packet analysis {"connection_id":146163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd4d"} 
[2026-08-01 18:01:34] local.INFO: Extracted packet for processing {"connection_id":146163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd4d"} 
[2026-08-01 18:01:34] local.INFO: GPS Element Parsed {"raw_longitude":763181248,"raw_latitude":97217464,"longitude_deg":76.3181248,"latitude_deg":9.7217464,"altitude":6,"angle":185,"satellites":29,"speed":20,"hex_longitude":"2d7d38c0","hex_latitude":"05cb6bb8","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110375424001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113551509307785216,"note":"Value kept but may cause issues"} 
[2026-08-01 18:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023735934512726016,"note":"Value kept but may cause issues"} 
[2026-08-01 18:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785587422000,"timestamp_ms":1785587422000,"timestamp_seconds":1785587422,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4dd330"} 
[2026-08-01 18:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-01 18:01:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:01:34] 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-08-01 18:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110375424001,"66":13015,"236":206,"85":15104,"24":20,"16":113551509307785216,"45":9023735934512726016},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-08-01 18:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110375424001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:01:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-01 18:01:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 18:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113551509307785216,"km_value":113551509307785.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023735934512726016,"description":"Unknown IO ID 45"} 
[2026-08-01 18:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110375424001,"power":13015,"unknown_236":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":9023735934512726016}} 
[2026-08-01 18:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":146163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578442,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:01:34] local.INFO: GPS data processed {"connection_id":146163,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:01:34] local.INFO: Acknowledgment sent {"connection_id":146163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:01:39] local.INFO: TCP Data received {"connection_id":146164,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4d9c80012d18ca000720f410003500a825..."} 
[2026-08-01 18:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4d9c80012d18ca000720f410003500a825..."} 
[2026-08-01 18:01:39] local.INFO: Processing buffer {"connection_id":146164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4d9c80012d18ca000720f410003500a825..."} 
[2026-08-01 18:01:39] local.INFO: Packet analysis {"connection_id":146164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd4d"} 
[2026-08-01 18:01:39] local.INFO: Extracted packet for processing {"connection_id":146164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd4d"} 
[2026-08-01 18:01:39] local.INFO: GPS Element Parsed {"raw_longitude":756599296,"raw_latitude":119600144,"longitude_deg":75.6599296,"latitude_deg":11.9600144,"altitude":53,"angle":168,"satellites":37,"speed":14,"hex_longitude":"2d18ca00","hex_latitude":"0720f410","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110374400001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10294899169558528,"note":"Value kept but may cause issues"} 
[2026-08-01 18:01:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786521707800856576,"note":"Value kept but may cause issues"} 
[2026-08-01 18:01: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-08-01 18:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785587408000,"timestamp_ms":1785587408000,"timestamp_seconds":1785587408,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4d9c80"} 
[2026-08-01 18:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:01: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-08-01 18: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-01 18:01:39] 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-08-01 18: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-08-01 18:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:01:39] 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-08-01 18:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110374400001,"66":14363,"103":206,"83":41984,"24":14,"16":10294899169558528,"45":1786521707800856576},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-01 18:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110374400001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:01:39] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 18:01:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10294899169558528,"km_value":10294899169558.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786521707800856576,"description":"Unknown IO ID 45"} 
[2026-08-01 18:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110374400001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1786521707800856576}} 
[2026-08-01 18:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":146164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578443,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:01:39] local.INFO: GPS data processed {"connection_id":146164,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:01:39] local.INFO: Acknowledgment sent {"connection_id":146164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:01:43] local.INFO: TCP Data received {"connection_id":147390,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:01:43] local.INFO: Processing buffer {"connection_id":147390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:01:43] local.INFO: IMEI packet received {"connection_id":147390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":147390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:01:48] local.INFO: TCP Data received {"connection_id":147390,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:01:48] local.INFO: Processing buffer {"connection_id":147390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:01:48] local.INFO: IMEI packet received {"connection_id":147390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":147390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:01:49] local.INFO: TCP Data received {"connection_id":147390,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4a3180012cee7100072e2c980035005a29..."} 
[2026-08-01 18:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4a3180012cee7100072e2c980035005a29..."} 
[2026-08-01 18:01:49] local.INFO: Processing buffer {"connection_id":147390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4a3180012cee7100072e2c980035005a29..."} 
[2026-08-01 18:01:49] local.INFO: Packet analysis {"connection_id":147390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd4a"} 
[2026-08-01 18:01:49] local.INFO: Extracted packet for processing {"connection_id":147390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd4a"} 
[2026-08-01 18:01:49] local.INFO: GPS Element Parsed {"raw_longitude":753824000,"raw_latitude":120466584,"longitude_deg":75.3824,"latitude_deg":12.0466584,"altitude":53,"angle":90,"satellites":41,"speed":0,"hex_longitude":"2cee7100","hex_latitude":"072e2c98","is_valid_coordinates":true} 
[2026-08-01 18:01: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-08-01 18:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110314496001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366709779520815104,"note":"Value kept but may cause issues"} 
[2026-08-01 18:01:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265229989474953216,"note":"Value kept but may cause issues"} 
[2026-08-01 18:01:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785587184000,"timestamp_ms":1785587184000,"timestamp_seconds":1785587184,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4a3180"} 
[2026-08-01 18:01:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:01:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18: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":104,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-08-01 18:01:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2203,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:01:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:01:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110314496001,"66":27930,"219":206,"83":44032,"24":0,"16":366709779520815104,"44":-1265229989474953216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-01 18:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110314496001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:01:49] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 18:01:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366709779520815104,"km_value":366709779520815.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:01:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265229989474953216,"description":"Unknown IO ID 44"} 
[2026-08-01 18:01:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110314496001,"power":27930,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265229989474953216}} 
[2026-08-01 18:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":147390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:01:49] local.INFO: GPS data processed {"connection_id":147390,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:01:49] local.INFO: Acknowledgment sent {"connection_id":147390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:01:57] local.INFO: TCP Data received {"connection_id":146388,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146388,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:01:57] local.INFO: Processing buffer {"connection_id":146388,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:01:57] local.INFO: IMEI packet received {"connection_id":146388,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 18:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":146388,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:01:57] local.INFO: TCP Data received {"connection_id":146388,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146388,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:01:57] local.INFO: Processing buffer {"connection_id":146388,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:01:57] local.INFO: IMEI packet received {"connection_id":146388,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":146388,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:02:03] local.INFO: TCP Data received {"connection_id":146388,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146388,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:02:03] local.INFO: Processing buffer {"connection_id":146388,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:02:03] local.INFO: IMEI packet received {"connection_id":146388,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":146388,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:02:04] local.INFO: TCP Data received {"connection_id":146388,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4f0f98012d7d12c005c9d4a0000a00ba21..."} 
[2026-08-01 18:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4f0f98012d7d12c005c9d4a0000a00ba21..."} 
[2026-08-01 18:02:04] local.INFO: Processing buffer {"connection_id":146388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4f0f98012d7d12c005c9d4a0000a00ba21..."} 
[2026-08-01 18:02:04] local.INFO: Packet analysis {"connection_id":146388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd4f"} 
[2026-08-01 18:02:04] local.INFO: Extracted packet for processing {"connection_id":146388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd4f"} 
[2026-08-01 18:02:04] local.INFO: GPS Element Parsed {"raw_longitude":763171520,"raw_latitude":97113248,"longitude_deg":76.317152,"latitude_deg":9.7113248,"altitude":10,"angle":186,"satellites":33,"speed":62,"hex_longitude":"2d7d12c0","hex_latitude":"05c9d4a0","is_valid_coordinates":true} 
[2026-08-01 18:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110399232001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113556585959129088,"note":"Value kept but may cause issues"} 
[2026-08-01 18:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013532466580350976,"note":"Value kept but may cause issues"} 
[2026-08-01 18:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785587503000,"timestamp_ms":1785587503000,"timestamp_seconds":1785587503,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4f0f98"} 
[2026-08-01 18:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:02: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-08-01 18:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-01 18:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:02:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146388,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146388,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110399232001,"66":12613,"131":206,"85":15104,"24":62,"16":113556585959129088,"45":9013532466580350976},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-08-01 18:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110399232001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:02:04] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-01 18:02:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 18:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113556585959129088,"km_value":113556585959129.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013532466580350976,"description":"Unknown IO ID 45"} 
[2026-08-01 18:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110399232001,"power":12613,"unknown_131":206,"unknown_85":15104,"ignition":62,"odometer":null,"unknown_45":9013532466580350976}} 
[2026-08-01 18:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":146388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578445,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:02:04] local.INFO: GPS data processed {"connection_id":146388,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:02:04] local.INFO: Acknowledgment sent {"connection_id":146388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:02:20] local.INFO: TCP Data received {"connection_id":147390,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4ecd30012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4ecd30012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:02:20] local.INFO: Processing buffer {"connection_id":147390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4ecd30012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:02:20] local.INFO: Packet analysis {"connection_id":147390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd4e"} 
[2026-08-01 18:02:20] local.INFO: Extracted packet for processing {"connection_id":147390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd4e"} 
[2026-08-01 18:02:20] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466520,"longitude_deg":75.382368,"latitude_deg":12.046652,"altitude":53,"angle":90,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c58","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110319104001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366709779520815104,"note":"Value kept but may cause issues"} 
[2026-08-01 18:02:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265229989474953216,"note":"Value kept but may cause issues"} 
[2026-08-01 18:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785587486000,"timestamp_ms":1785587486000,"timestamp_seconds":1785587486,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4ecd30"} 
[2026-08-01 18:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:02:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 18: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-01 18:02:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:02:20] 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-08-01 18:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110319104001,"66":26267,"219":206,"83":44032,"24":0,"16":366709779520815104,"44":-1265229989474953216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-01 18:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110319104001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:02:20] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 18:02:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366709779520815104,"km_value":366709779520815.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:02:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265229989474953216,"description":"Unknown IO ID 44"} 
[2026-08-01 18:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110319104001,"power":26267,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265229989474953216}} 
[2026-08-01 18:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":147390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:02:20] local.INFO: GPS data processed {"connection_id":147390,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:02:20] local.INFO: Acknowledgment sent {"connection_id":147390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:02:32] local.INFO: TCP Data received {"connection_id":146389,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:02:32] local.INFO: Processing buffer {"connection_id":146389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:02:32] local.INFO: IMEI packet received {"connection_id":146389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 18:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":146389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:02:35] local.INFO: TCP Data received {"connection_id":146388,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4f2708012d7d0f4005c9af18000a00b821..."} 
[2026-08-01 18:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4f2708012d7d0f4005c9af18000a00b821..."} 
[2026-08-01 18:02:35] local.INFO: Processing buffer {"connection_id":146388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4f2708012d7d0f4005c9af18000a00b821..."} 
[2026-08-01 18:02:35] local.INFO: Packet analysis {"connection_id":146388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd4f"} 
[2026-08-01 18:02:35] local.INFO: Extracted packet for processing {"connection_id":146388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd4f"} 
[2026-08-01 18:02:35] local.INFO: GPS Element Parsed {"raw_longitude":763170624,"raw_latitude":97103640,"longitude_deg":76.3170624,"latitude_deg":9.710364,"altitude":10,"angle":184,"satellites":33,"speed":65,"hex_longitude":"2d7d0f40","hex_latitude":"05c9af18","is_valid_coordinates":true} 
[2026-08-01 18:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110400768001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113557054110564352,"note":"Value kept but may cause issues"} 
[2026-08-01 18:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012476935415308288,"note":"Value kept but may cause issues"} 
[2026-08-01 18:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785587509000,"timestamp_ms":1785587509000,"timestamp_seconds":1785587509,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4f2708"} 
[2026-08-01 18:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-01 18:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146388,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146388,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110400768001,"66":13059,"131":206,"85":15104,"24":65,"16":113557054110564352,"45":9012476935415308288},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-08-01 18:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110400768001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:02:35] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-01 18:02:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 18:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113557054110564352,"km_value":113557054110564.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012476935415308288,"description":"Unknown IO ID 45"} 
[2026-08-01 18:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110400768001,"power":13059,"unknown_131":206,"unknown_85":15104,"ignition":65,"odometer":null,"unknown_45":9012476935415308288}} 
[2026-08-01 18:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":146388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578447,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:02:35] local.INFO: GPS data processed {"connection_id":146388,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:02:35] local.INFO: Acknowledgment sent {"connection_id":146388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:02:35] local.INFO: TCP Data received {"connection_id":146389,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:02:35] local.INFO: Processing buffer {"connection_id":146389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:02:35] local.INFO: IMEI packet received {"connection_id":146389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":146389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:02:37] local.INFO: TCP Data received {"connection_id":146389,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:02:37] local.INFO: Processing buffer {"connection_id":146389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:02:37] local.INFO: IMEI packet received {"connection_id":146389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":146389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:02:40] local.INFO: TCP Data received {"connection_id":146389,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:02:40] local.INFO: Processing buffer {"connection_id":146389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:02:40] local.INFO: IMEI packet received {"connection_id":146389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":146389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:02:40] local.INFO: TCP Data received {"connection_id":146389,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4e82f8012d18c2400720a120001300b826..."} 
[2026-08-01 18:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4e82f8012d18c2400720a120001300b826..."} 
[2026-08-01 18:02:40] local.INFO: Processing buffer {"connection_id":146389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4e82f8012d18c2400720a120001300b826..."} 
[2026-08-01 18:02:40] local.INFO: Packet analysis {"connection_id":146389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd4e"} 
[2026-08-01 18:02:40] local.INFO: Extracted packet for processing {"connection_id":146389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd4e"} 
[2026-08-01 18:02:40] local.INFO: GPS Element Parsed {"raw_longitude":756597312,"raw_latitude":119578912,"longitude_deg":75.6597312,"latitude_deg":11.9578912,"altitude":19,"angle":184,"satellites":38,"speed":13,"hex_longitude":"2d18c240","hex_latitude":"0720a120","is_valid_coordinates":true} 
[2026-08-01 18:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110389760001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10296024450990080,"note":"Value kept but may cause issues"} 
[2026-08-01 18:02:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784551382958243840,"note":"Value kept but may cause issues"} 
[2026-08-01 18:02: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-08-01 18:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785587467000,"timestamp_ms":1785587467000,"timestamp_seconds":1785587467,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4e82f8"} 
[2026-08-01 18:02:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:02:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-01 18:02:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:02:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:02:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:02:40] 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-08-01 18:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110389760001,"66":14461,"103":206,"83":41984,"24":13,"16":10296024450990080,"45":1784551382958243840},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-01 18:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110389760001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:02:40] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 18:02:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:02:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10296024450990080,"km_value":10296024450990.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:02:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784551382958243840,"description":"Unknown IO ID 45"} 
[2026-08-01 18:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110389760001,"power":14461,"unknown_103":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1784551382958243840}} 
[2026-08-01 18:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":146389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:02:41] local.INFO: GPS data processed {"connection_id":146389,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:02:41] local.INFO: Acknowledgment sent {"connection_id":146389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:02:43] local.INFO: TCP Data received {"connection_id":147391,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:02:44] local.INFO: Processing buffer {"connection_id":147391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:02:44] local.INFO: IMEI packet received {"connection_id":147391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":147391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:02:49] local.INFO: TCP Data received {"connection_id":147391,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:02:49] local.INFO: Processing buffer {"connection_id":147391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:02:49] local.INFO: IMEI packet received {"connection_id":147391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":147391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:02:49] local.INFO: TCP Data received {"connection_id":147391,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4ecd30012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4ecd30012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:02:49] local.INFO: Processing buffer {"connection_id":147391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4ecd30012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:02:49] local.INFO: Packet analysis {"connection_id":147391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd4e"} 
[2026-08-01 18:02:49] local.INFO: Extracted packet for processing {"connection_id":147391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd4e"} 
[2026-08-01 18:02:49] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466520,"longitude_deg":75.382368,"latitude_deg":12.046652,"altitude":53,"angle":90,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c58","is_valid_coordinates":true} 
[2026-08-01 18:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110319104001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366709779520815104,"note":"Value kept but may cause issues"} 
[2026-08-01 18:02:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265229989474953216,"note":"Value kept but may cause issues"} 
[2026-08-01 18:02:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785587486000,"timestamp_ms":1785587486000,"timestamp_seconds":1785587486,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4ecd30"} 
[2026-08-01 18:02:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:02:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 18:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-01 18:02:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:02:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:02:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:02:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110319104001,"66":26267,"219":206,"83":44032,"24":0,"16":366709779520815104,"44":-1265229989474953216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-01 18:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110319104001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:02:49] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 18:02:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366709779520815104,"km_value":366709779520815.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:02:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265229989474953216,"description":"Unknown IO ID 44"} 
[2026-08-01 18:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110319104001,"power":26267,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265229989474953216}} 
[2026-08-01 18:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":147391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:02:49] local.INFO: GPS data processed {"connection_id":147391,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:02:49] local.INFO: Acknowledgment sent {"connection_id":147391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:02:58] local.INFO: TCP Data received {"connection_id":147392,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147392,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:02:58] local.INFO: Processing buffer {"connection_id":147392,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:02:58] local.INFO: IMEI packet received {"connection_id":147392,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 18:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":147392,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:03:03] local.INFO: TCP Data received {"connection_id":147392,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147392,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:03:03] local.INFO: Processing buffer {"connection_id":147392,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:03:03] local.INFO: IMEI packet received {"connection_id":147392,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":147392,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:03:04] local.INFO: TCP Data received {"connection_id":146390,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:03:04] local.INFO: Processing buffer {"connection_id":146390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:03:04] local.INFO: IMEI packet received {"connection_id":146390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 18:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":146390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:03:04] local.INFO: TCP Data received {"connection_id":147392,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4f3e78012d7d0cc005c98998000800b721..."} 
[2026-08-01 18:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4f3e78012d7d0cc005c98998000800b721..."} 
[2026-08-01 18:03:04] local.INFO: Processing buffer {"connection_id":147392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4f3e78012d7d0cc005c98998000800b721..."} 
[2026-08-01 18:03:04] local.INFO: Packet analysis {"connection_id":147392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd4f"} 
[2026-08-01 18:03:04] local.INFO: Extracted packet for processing {"connection_id":147392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd4f"} 
[2026-08-01 18:03:04] local.INFO: GPS Element Parsed {"raw_longitude":763169984,"raw_latitude":97094040,"longitude_deg":76.3169984,"latitude_deg":9.709404,"altitude":8,"angle":183,"satellites":33,"speed":61,"hex_longitude":"2d7d0cc0","hex_latitude":"05c98998","is_valid_coordinates":true} 
[2026-08-01 18:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110402304001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113557522261999616,"note":"Value kept but may cause issues"} 
[2026-08-01 18:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011491772994361344,"note":"Value kept but may cause issues"} 
[2026-08-01 18:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785587515000,"timestamp_ms":1785587515000,"timestamp_seconds":1785587515,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4f3e78"} 
[2026-08-01 18:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:03: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-08-01 18:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-01 18:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303157711261100,"note":"Value kept but may cause issues"} 
[2026-08-01 18:03:04] local.WARNING: Large IO value detected {"io_id":131,"raw_value":58077557095399485,"note":"Value kept but may cause issues"} 
[2026-08-01 18:03:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-01 18:03:04] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3176045160,"note":"Value kept but may cause issues"} 
[2026-08-01 18:03:04] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3221604971,"note":"Value kept but may cause issues"} 
[2026-08-01 18:03:04] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":1157103627,"corrected_to":0} 
[2026-08-01 18:03:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2894266574,"corrected_to":0} 
[2026-08-01 18:03:04] local.WARNING: Large IO value detected {"io_id":177,"raw_value":3623955837,"note":"Value kept but may cause issues"} 
[2026-08-01 18:03:04] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3398451200,"note":"Value kept but may cause issues"} 
[2026-08-01 18:03:04] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,131,85,24,241,157,16,111,159,15,45,192,212,10,33,66,248,128,9,34,110,224,1,240,116,227,189,202,4,113,205,64,177,136,239,52,2,147,5,61],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":202,"original":1157103627,"validated":0},{"io_id":205,"original":2894266574,"validated":0}]} 
[2026-08-01 18:03:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720778392256970752,"timestamp_seconds":720778392256970.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 18:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110402304001,"66":12722,"131":206,"85":15104,"24":61,"16":113557522261999616,"45":9011491772994361344},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-08-01 18:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110402304001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:03:04] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-01 18:03:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 18:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113557522261999616,"km_value":113557522261999.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011491772994361344,"description":"Unknown IO ID 45"} 
[2026-08-01 18:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110402304001,"power":12722,"unknown_131":206,"unknown_85":15104,"ignition":61,"odometer":null,"unknown_45":9011491772994361344}} 
[2026-08-01 18:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":147392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578450,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:03:04] local.INFO: GPS data processed {"connection_id":147392,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:03:04] local.INFO: Acknowledgment sent {"connection_id":147392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:03:04] local.INFO: TCP Data received {"connection_id":146390,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:03:04] local.INFO: Processing buffer {"connection_id":146390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:03:04] local.INFO: IMEI packet received {"connection_id":146390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":146390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:03:09] local.INFO: TCP Data received {"connection_id":146390,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:03:09] local.INFO: Processing buffer {"connection_id":146390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:03:09] local.INFO: IMEI packet received {"connection_id":146390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":146390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:03:10] local.INFO: TCP Data received {"connection_id":146390,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4f7140012d18c4c007207f18000f009b23..."} 
[2026-08-01 18:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4f7140012d18c4c007207f18000f009b23..."} 
[2026-08-01 18:03:10] local.INFO: Processing buffer {"connection_id":146390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4f7140012d18c4c007207f18000f009b23..."} 
[2026-08-01 18:03:10] local.INFO: Packet analysis {"connection_id":146390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd4f"} 
[2026-08-01 18:03:10] local.INFO: Extracted packet for processing {"connection_id":146390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd4f"} 
[2026-08-01 18:03:10] local.INFO: GPS Element Parsed {"raw_longitude":756597952,"raw_latitude":119570200,"longitude_deg":75.6597952,"latitude_deg":11.95702,"altitude":15,"angle":155,"satellites":35,"speed":11,"hex_longitude":"2d18c4c0","hex_latitude":"07207f18","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110404864001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10296608566542336,"note":"Value kept but may cause issues"} 
[2026-08-01 18:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783355114304954368,"note":"Value kept but may cause issues"} 
[2026-08-01 18:03: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-08-01 18:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785587528000,"timestamp_ms":1785587528000,"timestamp_seconds":1785587528,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4f7140"} 
[2026-08-01 18:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:03: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-08-01 18: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-01 18:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:03: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-08-01 18:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110404864001,"66":14428,"103":206,"83":41984,"24":11,"16":10296608566542336,"45":1783355114304954368},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-01 18:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110404864001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:03:10] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 18:03:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10296608566542336,"km_value":10296608566542.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783355114304954368,"description":"Unknown IO ID 45"} 
[2026-08-01 18:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110404864001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1783355114304954368}} 
[2026-08-01 18:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":146390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:03:10] local.INFO: GPS data processed {"connection_id":146390,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:03:10] local.INFO: Acknowledgment sent {"connection_id":146390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:03:21] local.INFO: TCP Data received {"connection_id":147391,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4ecd30012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4ecd30012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:03:21] local.INFO: Processing buffer {"connection_id":147391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4ecd30012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:03:21] local.INFO: Packet analysis {"connection_id":147391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd4e"} 
[2026-08-01 18:03:21] local.INFO: Extracted packet for processing {"connection_id":147391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd4e"} 
[2026-08-01 18:03:21] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466520,"longitude_deg":75.382368,"latitude_deg":12.046652,"altitude":53,"angle":90,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c58","is_valid_coordinates":true} 
[2026-08-01 18:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110319104001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366709779520815104,"note":"Value kept but may cause issues"} 
[2026-08-01 18:03:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265229989474953216,"note":"Value kept but may cause issues"} 
[2026-08-01 18:03:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785587486000,"timestamp_ms":1785587486000,"timestamp_seconds":1785587486,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4ecd30"} 
[2026-08-01 18:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:03:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 18:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-01 18:03:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:03:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:03:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110319104001,"66":26267,"219":206,"83":44032,"24":0,"16":366709779520815104,"44":-1265229989474953216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-01 18:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110319104001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:03:21] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 18:03:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366709779520815104,"km_value":366709779520815.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:03:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265229989474953216,"description":"Unknown IO ID 44"} 
[2026-08-01 18:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110319104001,"power":26267,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265229989474953216}} 
[2026-08-01 18:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":147391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:03:21] local.INFO: GPS data processed {"connection_id":147391,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:03:21] local.INFO: Acknowledgment sent {"connection_id":147391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:03:35] local.INFO: TCP Data received {"connection_id":147392,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4f59d0012d7d0c0005c96450000700b321..."} 
[2026-08-01 18:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4f59d0012d7d0c0005c96450000700b321..."} 
[2026-08-01 18:03:35] local.INFO: Processing buffer {"connection_id":147392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4f59d0012d7d0c0005c96450000700b321..."} 
[2026-08-01 18:03:35] local.INFO: Packet analysis {"connection_id":147392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd4f"} 
[2026-08-01 18:03:35] local.INFO: Extracted packet for processing {"connection_id":147392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd4f"} 
[2026-08-01 18:03:35] local.INFO: GPS Element Parsed {"raw_longitude":763169792,"raw_latitude":97084496,"longitude_deg":76.3169792,"latitude_deg":9.7084496,"altitude":7,"angle":179,"satellites":33,"speed":46,"hex_longitude":"2d7d0c00","hex_latitude":"05c96450","is_valid_coordinates":true} 
[2026-08-01 18:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110403840001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113557986118467584,"note":"Value kept but may cause issues"} 
[2026-08-01 18:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010788085550127104,"note":"Value kept but may cause issues"} 
[2026-08-01 18:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785587522000,"timestamp_ms":1785587522000,"timestamp_seconds":1785587522,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4f59d0"} 
[2026-08-01 18:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-01 18:03:35] 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-08-01 18:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110403840001,"66":13059,"131":206,"85":15104,"24":46,"16":113557986118467584,"45":9010788085550127104},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-08-01 18:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110403840001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:03:35] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-01 18:03:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 18:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113557986118467584,"km_value":113557986118467.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010788085550127104,"description":"Unknown IO ID 45"} 
[2026-08-01 18:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110403840001,"power":13059,"unknown_131":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":9010788085550127104}} 
[2026-08-01 18:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":147392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578453,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:03:35] local.INFO: GPS data processed {"connection_id":147392,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:03:35] local.INFO: Acknowledgment sent {"connection_id":147392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:03:41] local.INFO: TCP Data received {"connection_id":146390,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd503c60012d18dc8007205aa80021008d24..."} 
[2026-08-01 18:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd503c60012d18dc8007205aa80021008d24..."} 
[2026-08-01 18:03:41] local.INFO: Processing buffer {"connection_id":146390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd503c60012d18dc8007205aa80021008d24..."} 
[2026-08-01 18:03:41] local.INFO: Packet analysis {"connection_id":146390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd50"} 
[2026-08-01 18:03:41] local.INFO: Extracted packet for processing {"connection_id":146390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd50"} 
[2026-08-01 18:03:41] local.INFO: GPS Element Parsed {"raw_longitude":756604032,"raw_latitude":119560872,"longitude_deg":75.6604032,"latitude_deg":11.9560872,"altitude":33,"angle":141,"satellites":36,"speed":8,"hex_longitude":"2d18dc80","hex_latitude":"07205aa8","is_valid_coordinates":true} 
[2026-08-01 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-08-01 18:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110420224001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10297201272029184,"note":"Value kept but may cause issues"} 
[2026-08-01 18:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791236413650067456,"note":"Value kept but may cause issues"} 
[2026-08-01 18:03: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-08-01 18:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785587580000,"timestamp_ms":1785587580000,"timestamp_seconds":1785587580,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd503c60"} 
[2026-08-01 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-08-01 18: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-08-01 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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-01 18:03:41] 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-08-01 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-08-01 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-08-01 18:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":146390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":146390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":146390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:03: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-08-01 18:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110420224001,"66":14461,"103":206,"83":41984,"24":8,"16":10297201272029184,"45":1791236413650067456},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-01 18:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110420224001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:03:41] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 18:03:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10297201272029184,"km_value":10297201272029.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791236413650067456,"description":"Unknown IO ID 45"} 
[2026-08-01 18:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110420224001,"power":14461,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1791236413650067456}} 
[2026-08-01 18:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":146390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578454,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:03:41] local.INFO: GPS data processed {"connection_id":146390,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:03:41] local.INFO: Acknowledgment sent {"connection_id":146390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:03:44] local.INFO: TCP Data received {"connection_id":146165,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:03:44] local.INFO: Processing buffer {"connection_id":146165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:03:44] local.INFO: IMEI packet received {"connection_id":146165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":146165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:03:49] local.INFO: TCP Data received {"connection_id":146165,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:03:49] local.INFO: Processing buffer {"connection_id":146165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:03:49] local.INFO: IMEI packet received {"connection_id":146165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":146165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:03:49] local.INFO: TCP Data received {"connection_id":146165,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4ecd30012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4ecd30012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:03:49] local.INFO: Processing buffer {"connection_id":146165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4ecd30012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:03:49] local.INFO: Packet analysis {"connection_id":146165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd4e"} 
[2026-08-01 18:03:49] local.INFO: Extracted packet for processing {"connection_id":146165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd4e"} 
[2026-08-01 18:03:49] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466520,"longitude_deg":75.382368,"latitude_deg":12.046652,"altitude":53,"angle":90,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c58","is_valid_coordinates":true} 
[2026-08-01 18:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110319104001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366709779520815104,"note":"Value kept but may cause issues"} 
[2026-08-01 18:03:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265229989474953216,"note":"Value kept but may cause issues"} 
[2026-08-01 18:03:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785587486000,"timestamp_ms":1785587486000,"timestamp_seconds":1785587486,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4ecd30"} 
[2026-08-01 18:03:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:03:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 18:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-01 18:03:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:03:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:03:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:03:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110319104001,"66":26267,"219":206,"83":44032,"24":0,"16":366709779520815104,"44":-1265229989474953216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-01 18:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110319104001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:03:49] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 18:03:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366709779520815104,"km_value":366709779520815.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:03:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265229989474953216,"description":"Unknown IO ID 44"} 
[2026-08-01 18:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110319104001,"power":26267,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265229989474953216}} 
[2026-08-01 18:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":146165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:03:49] local.INFO: GPS data processed {"connection_id":146165,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:03:49] local.INFO: Acknowledgment sent {"connection_id":146165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:03:58] local.INFO: TCP Data received {"connection_id":146166,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146166,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:03:58] local.INFO: Processing buffer {"connection_id":146166,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:03:58] local.INFO: IMEI packet received {"connection_id":146166,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 18:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":146166,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:03:59] local.INFO: TCP Data received {"connection_id":147393,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:03:59] local.INFO: Processing buffer {"connection_id":147393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:03:59] local.INFO: IMEI packet received {"connection_id":147393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 18:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":147393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:04:03] local.INFO: TCP Data received {"connection_id":146166,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146166,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:04:03] local.INFO: Processing buffer {"connection_id":146166,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:04:03] local.INFO: IMEI packet received {"connection_id":146166,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":146166,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:04:04] local.INFO: TCP Data received {"connection_id":146166,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4f7cf8012d7d0d4005c940b0000700b122..."} 
[2026-08-01 18:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4f7cf8012d7d0d4005c940b0000700b122..."} 
[2026-08-01 18:04:04] local.INFO: Processing buffer {"connection_id":146166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4f7cf8012d7d0d4005c940b0000700b122..."} 
[2026-08-01 18:04:04] local.INFO: Packet analysis {"connection_id":146166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd4f"} 
[2026-08-01 18:04:04] local.INFO: Extracted packet for processing {"connection_id":146166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd4f"} 
[2026-08-01 18:04:04] local.INFO: GPS Element Parsed {"raw_longitude":763170112,"raw_latitude":97075376,"longitude_deg":76.3170112,"latitude_deg":9.7075376,"altitude":7,"angle":177,"satellites":34,"speed":35,"hex_longitude":"2d7d0d40","hex_latitude":"05c940b0","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110405632001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113558428500099072,"note":"Value kept but may cause issues"} 
[2026-08-01 18:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010576979315150848,"note":"Value kept but may cause issues"} 
[2026-08-01 18:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785587531000,"timestamp_ms":1785587531000,"timestamp_seconds":1785587531,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4f7cf8"} 
[2026-08-01 18:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:04: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-08-01 18: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-01 18:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160093625772,"note":"Value kept but may cause issues"} 
[2026-08-01 18:04:04] local.WARNING: Large IO value detected {"io_id":131,"raw_value":58077557095399488,"note":"Value kept but may cause issues"} 
[2026-08-01 18:04:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-01 18:04:04] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3176057160,"note":"Value kept but may cause issues"} 
[2026-08-01 18:04:04] local.WARNING: Large IO value detected {"io_id":201,"raw_value":4175953929,"note":"Value kept but may cause issues"} 
[2026-08-01 18:04:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2894266574,"corrected_to":0} 
[2026-08-01 18:04:04] local.WARNING: Large IO value detected {"io_id":224,"raw_value":3087084925,"note":"Value kept but may cause issues"} 
[2026-08-01 18:04:04] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3393517568,"note":"Value kept but may cause issues"} 
[2026-08-01 18:04:04] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,131,85,24,241,157,16,112,159,62,45,192,137,8,33,10,66,111,39,64,175,15,1,240,69,227,189,201,4,113,205,224,26,72,34,239,52,2,147,5,11],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2894266574,"validated":0}]} 
[2026-08-01 18:04:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504600112583802880,"timestamp_seconds":504600112583802.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 18:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110405632001,"66":13276,"131":206,"85":15104,"24":35,"16":113558428500099072,"45":9010576979315150848},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-08-01 18:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110405632001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:04:04] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-01 18:04:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 18:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113558428500099072,"km_value":113558428500099.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010576979315150848,"description":"Unknown IO ID 45"} 
[2026-08-01 18:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110405632001,"power":13276,"unknown_131":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9010576979315150848}} 
[2026-08-01 18:04:04] local.INFO: TCP Data received {"connection_id":147393,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:04:04] local.INFO: Processing buffer {"connection_id":147393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:04:04] local.INFO: IMEI packet received {"connection_id":147393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":147393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":146166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578456,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:04:04] local.INFO: GPS data processed {"connection_id":146166,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:04:04] local.INFO: Acknowledgment sent {"connection_id":146166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:04:04] local.INFO: TCP Data received {"connection_id":147393,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:04:04] local.INFO: Processing buffer {"connection_id":147393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:04:04] local.INFO: IMEI packet received {"connection_id":147393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":147393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:04:05] local.INFO: TCP Data received {"connection_id":147393,"ip":"42.106.6.34","data_length":812,"data_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019fbd..."} 
[2026-08-01 18:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147393,"packet_length":812,"packet_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019fbd..."} 
[2026-08-01 18:04:05] local.INFO: Processing buffer {"connection_id":147393,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019fbd..."} 
[2026-08-01 18:04:05] local.INFO: IMEI packet received {"connection_id":147393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":147393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:04:10] local.INFO: TCP Data received {"connection_id":147393,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd504818012d18dd8007205798002100a626..."} 
[2026-08-01 18:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd504818012d18dd8007205798002100a626..."} 
[2026-08-01 18:04:10] local.INFO: Processing buffer {"connection_id":147393,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fbd504430012d18dd40072058980021009926..."} 
[2026-08-01 18:04:10] local.INFO: Packet analysis {"connection_id":147393,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fbd50"} 
[2026-08-01 18:04:10] local.INFO: Extracted packet for processing {"connection_id":147393,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd50"} 
[2026-08-01 18:04:10] local.INFO: GPS Element Parsed {"raw_longitude":756604224,"raw_latitude":119560344,"longitude_deg":75.6604224,"latitude_deg":11.9560344,"altitude":33,"angle":153,"satellites":38,"speed":12,"hex_longitude":"2d18dd40","hex_latitude":"07205898","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110420480001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10297227041832960,"note":"Value kept but may cause issues"} 
[2026-08-01 18:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791447519882553344,"note":"Value kept but may cause issues"} 
[2026-08-01 18:04: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-08-01 18:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785587582000,"timestamp_ms":1785587582000,"timestamp_seconds":1785587582,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd504430"} 
[2026-08-01 18:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:04: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-08-01 18: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-01 18:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":147393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":147393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":147393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:04: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-08-01 18:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110420480001,"66":14396,"103":206,"83":41984,"24":12,"16":10297227041832960,"45":1791447519882553344},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-01 18:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110420480001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:04:10] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 18:04:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10297227041832960,"km_value":10297227041832.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791447519882553344,"description":"Unknown IO ID 45"} 
[2026-08-01 18:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110420480001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1791447519882553344}} 
[2026-08-01 18:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":147393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:04:10] local.INFO: GPS data processed {"connection_id":147393,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:04:10] local.INFO: Acknowledgment sent {"connection_id":147393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:04:10] local.INFO: Packet analysis {"connection_id":147393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd50"} 
[2026-08-01 18:04:10] local.INFO: Extracted packet for processing {"connection_id":147393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd50"} 
[2026-08-01 18:04:10] local.INFO: GPS Element Parsed {"raw_longitude":756604288,"raw_latitude":119560088,"longitude_deg":75.6604288,"latitude_deg":11.9560088,"altitude":33,"angle":166,"satellites":38,"speed":11,"hex_longitude":"2d18dd80","hex_latitude":"07205798","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110420992001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10297239926734848,"note":"Value kept but may cause issues"} 
[2026-08-01 18:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791658626114951168,"note":"Value kept but may cause issues"} 
[2026-08-01 18:04: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-08-01 18:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785587583000,"timestamp_ms":1785587583000,"timestamp_seconds":1785587583,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd504818"} 
[2026-08-01 18:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:04: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-08-01 18: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-01 18:04: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-08-01 18: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-08-01 18:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":147393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":147393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":147393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:04: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-08-01 18:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110420992001,"66":13928,"103":206,"83":41984,"24":11,"16":10297239926734848,"45":1791658626114951168},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-01 18:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110420992001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:04:10] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-01 18:04:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10297239926734848,"km_value":10297239926734.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791658626114951168,"description":"Unknown IO ID 45"} 
[2026-08-01 18:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110420992001,"power":13928,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1791658626114951168}} 
[2026-08-01 18:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":147393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578458,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:04:10] local.INFO: GPS data processed {"connection_id":147393,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:04:10] local.INFO: Acknowledgment sent {"connection_id":147393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:04:21] local.INFO: TCP Data received {"connection_id":146165,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4ecd30012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4ecd30012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:04:21] local.INFO: Processing buffer {"connection_id":146165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4ecd30012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:04:21] local.INFO: Packet analysis {"connection_id":146165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd4e"} 
[2026-08-01 18:04:21] local.INFO: Extracted packet for processing {"connection_id":146165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd4e"} 
[2026-08-01 18:04:21] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466520,"longitude_deg":75.382368,"latitude_deg":12.046652,"altitude":53,"angle":90,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c58","is_valid_coordinates":true} 
[2026-08-01 18:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110319104001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366709779520815104,"note":"Value kept but may cause issues"} 
[2026-08-01 18:04:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265229989474953216,"note":"Value kept but may cause issues"} 
[2026-08-01 18:04:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785587486000,"timestamp_ms":1785587486000,"timestamp_seconds":1785587486,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4ecd30"} 
[2026-08-01 18:04:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:04:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 18:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-01 18:04:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:04:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:04:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:04:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110319104001,"66":26267,"219":206,"83":44032,"24":0,"16":366709779520815104,"44":-1265229989474953216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-01 18:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110319104001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:04:21] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 18:04:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366709779520815104,"km_value":366709779520815.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:04:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265229989474953216,"description":"Unknown IO ID 44"} 
[2026-08-01 18:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110319104001,"power":26267,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265229989474953216}} 
[2026-08-01 18:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":146165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:04:21] local.INFO: GPS data processed {"connection_id":146165,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:04:21] local.INFO: Acknowledgment sent {"connection_id":146165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:04:35] local.INFO: TCP Data received {"connection_id":146166,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4fbb78012d7d0e4005c91d40000800ac23..."} 
[2026-08-01 18:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4fbb78012d7d0e4005c91d40000800ac23..."} 
[2026-08-01 18:04:35] local.INFO: Processing buffer {"connection_id":146166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4fbb78012d7d0e4005c91d40000800ac23..."} 
[2026-08-01 18:04:35] local.INFO: Packet analysis {"connection_id":146166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd4f"} 
[2026-08-01 18:04:35] local.INFO: Extracted packet for processing {"connection_id":146166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd4f"} 
[2026-08-01 18:04:35] local.INFO: GPS Element Parsed {"raw_longitude":763170368,"raw_latitude":97066304,"longitude_deg":76.3170368,"latitude_deg":9.7066304,"altitude":8,"angle":172,"satellites":35,"speed":15,"hex_longitude":"2d7d0e40","hex_latitude":"05c91d40","is_valid_coordinates":true} 
[2026-08-01 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-08-01 18:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110407936001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113558866586763264,"note":"Value kept but may cause issues"} 
[2026-08-01 18:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010928823033704448,"note":"Value kept but may cause issues"} 
[2026-08-01 18:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785587547000,"timestamp_ms":1785587547000,"timestamp_seconds":1785587547,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4fbb78"} 
[2026-08-01 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-08-01 18:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-01 18:04:35] 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-08-01 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-08-01 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-08-01 18:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110407936001,"66":13374,"131":206,"85":15104,"24":15,"16":113558866586763264,"45":9010928823033704448},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-08-01 18:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110407936001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:04:35] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-01 18:04:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 18:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113558866586763264,"km_value":113558866586763.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010928823033704448,"description":"Unknown IO ID 45"} 
[2026-08-01 18:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110407936001,"power":13374,"unknown_131":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":9010928823033704448}} 
[2026-08-01 18:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":146166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578460,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:04:35] local.INFO: GPS data processed {"connection_id":146166,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:04:35] local.INFO: Acknowledgment sent {"connection_id":146166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:04:41] local.INFO: TCP Data received {"connection_id":147393,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd5126c0012d18db0007201c080022008b24..."} 
[2026-08-01 18:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd5126c0012d18db0007201c080022008b24..."} 
[2026-08-01 18:04:41] local.INFO: Processing buffer {"connection_id":147393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd5126c0012d18db0007201c080022008b24..."} 
[2026-08-01 18:04:41] local.INFO: Packet analysis {"connection_id":147393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd51"} 
[2026-08-01 18:04:41] local.INFO: Extracted packet for processing {"connection_id":147393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd51"} 
[2026-08-01 18:04:41] local.INFO: GPS Element Parsed {"raw_longitude":756603648,"raw_latitude":119544840,"longitude_deg":75.6603648,"latitude_deg":11.954484,"altitude":34,"angle":139,"satellites":36,"speed":6,"hex_longitude":"2d18db00","hex_latitude":"07201c08","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110435584001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10298017315815424,"note":"Value kept but may cause issues"} 
[2026-08-01 18:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790673463692509184,"note":"Value kept but may cause issues"} 
[2026-08-01 18: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-08-01 18:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785587640000,"timestamp_ms":1785587640000,"timestamp_seconds":1785587640,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd5126c0"} 
[2026-08-01 18:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:04: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-08-01 18: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-01 18:04: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-08-01 18: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-08-01 18:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":147393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":147393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":147393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:04: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-08-01 18:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110435584001,"66":14428,"102":206,"83":41984,"24":6,"16":10298017315815424,"45":1790673463692509184},"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-08-01 18:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110435584001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:04:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:04:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10298017315815424,"km_value":10298017315815.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790673463692509184,"description":"Unknown IO ID 45"} 
[2026-08-01 18:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110435584001,"power":14428,"unknown_102":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1790673463692509184}} 
[2026-08-01 18:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":147393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:04:42] local.INFO: GPS data processed {"connection_id":147393,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:04:42] local.INFO: Acknowledgment sent {"connection_id":147393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:04:44] local.INFO: TCP Data received {"connection_id":148698,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:04:44] local.INFO: Processing buffer {"connection_id":148698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:04:44] local.INFO: IMEI packet received {"connection_id":148698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":148698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:04:48] local.INFO: TCP Data received {"connection_id":148698,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:04:48] local.INFO: Processing buffer {"connection_id":148698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:04:48] local.INFO: IMEI packet received {"connection_id":148698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":148698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:04:49] local.INFO: TCP Data received {"connection_id":148698,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4ecd30012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4ecd30012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:04:49] local.INFO: Processing buffer {"connection_id":148698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4ecd30012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:04:49] local.INFO: Packet analysis {"connection_id":148698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd4e"} 
[2026-08-01 18:04:49] local.INFO: Extracted packet for processing {"connection_id":148698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd4e"} 
[2026-08-01 18:04:49] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466520,"longitude_deg":75.382368,"latitude_deg":12.046652,"altitude":53,"angle":90,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c58","is_valid_coordinates":true} 
[2026-08-01 18:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110319104001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366709779520815104,"note":"Value kept but may cause issues"} 
[2026-08-01 18:04:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265229989474953216,"note":"Value kept but may cause issues"} 
[2026-08-01 18:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785587486000,"timestamp_ms":1785587486000,"timestamp_seconds":1785587486,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4ecd30"} 
[2026-08-01 18:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 18:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-01 18:04:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:04:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110319104001,"66":26267,"219":206,"83":44032,"24":0,"16":366709779520815104,"44":-1265229989474953216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-01 18:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110319104001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:04:49] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 18:04:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366709779520815104,"km_value":366709779520815.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:04:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265229989474953216,"description":"Unknown IO ID 44"} 
[2026-08-01 18:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110319104001,"power":26267,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265229989474953216}} 
[2026-08-01 18:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":148698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:04:49] local.INFO: GPS data processed {"connection_id":148698,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:04:49] local.INFO: Acknowledgment sent {"connection_id":148698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:04:58] local.INFO: TCP Data received {"connection_id":146167,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:04:58] local.INFO: Processing buffer {"connection_id":146167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:04:58] local.INFO: IMEI packet received {"connection_id":146167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 18:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":146167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:04:59] local.INFO: TCP Data received {"connection_id":146391,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:04:59] local.INFO: Processing buffer {"connection_id":146391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:04:59] local.INFO: IMEI packet received {"connection_id":146391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 18:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":146391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:05:00] local.INFO: TCP Data received {"connection_id":146167,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:05:00] local.INFO: Processing buffer {"connection_id":146167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:05:00] local.INFO: IMEI packet received {"connection_id":146167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":146167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:05:01] local.INFO: TCP Data received {"connection_id":146391,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:05:01] local.INFO: Processing buffer {"connection_id":146391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:05:01] local.INFO: IMEI packet received {"connection_id":146391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":146391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:05:03] local.INFO: TCP Data received {"connection_id":146167,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:05:03] local.INFO: Processing buffer {"connection_id":146167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:05:03] local.INFO: IMEI packet received {"connection_id":146167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":146167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:05:03] local.INFO: TCP Data received {"connection_id":146167,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd500998012d7d0fc005c91518000700ab22..."} 
[2026-08-01 18:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd500998012d7d0fc005c91518000700ab22..."} 
[2026-08-01 18:05:04] local.INFO: Processing buffer {"connection_id":146167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd500998012d7d0fc005c91518000700ab22..."} 
[2026-08-01 18:05:04] local.INFO: Packet analysis {"connection_id":146167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd50"} 
[2026-08-01 18:05:04] local.INFO: Extracted packet for processing {"connection_id":146167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd50"} 
[2026-08-01 18:05:04] local.INFO: GPS Element Parsed {"raw_longitude":763170752,"raw_latitude":97064216,"longitude_deg":76.3170752,"latitude_deg":9.7064216,"altitude":7,"angle":171,"satellites":34,"speed":0,"hex_longitude":"2d7d0fc0","hex_latitude":"05c91518","is_valid_coordinates":true} 
[2026-08-01 18:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110412032001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113558969665978368,"note":"Value kept but may cause issues"} 
[2026-08-01 18:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011210298008092672,"note":"Value kept but may cause issues"} 
[2026-08-01 18:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785587567000,"timestamp_ms":1785587567000,"timestamp_seconds":1785587567,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd500998"} 
[2026-08-01 18:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:05: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-08-01 18:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-01 18:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110412032001,"66":13080,"131":206,"85":15104,"24":0,"16":113558969665978368,"45":9011210298008092672},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-08-01 18:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110412032001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:05:04] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-01 18:05:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-01 18:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113558969665978368,"km_value":113558969665978.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011210298008092672,"description":"Unknown IO ID 45"} 
[2026-08-01 18:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110412032001,"power":13080,"unknown_131":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9011210298008092672}} 
[2026-08-01 18:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":146167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578463,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:05:04] local.INFO: GPS data processed {"connection_id":146167,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:05:04] local.INFO: Acknowledgment sent {"connection_id":146167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:05:05] local.INFO: TCP Data received {"connection_id":146391,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:05:05] local.INFO: Processing buffer {"connection_id":146391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:05:05] local.INFO: IMEI packet received {"connection_id":146391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":146391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:05:06] local.INFO: TCP Data received {"connection_id":146391,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd512aa8012d18dcc007201c180024006e24..."} 
[2026-08-01 18:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd512aa8012d18dcc007201c180024006e24..."} 
[2026-08-01 18:05:06] local.INFO: Processing buffer {"connection_id":146391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd512aa8012d18dcc007201c180024006e24..."} 
[2026-08-01 18:05:06] local.INFO: Packet analysis {"connection_id":146391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd51"} 
[2026-08-01 18:05:06] local.INFO: Extracted packet for processing {"connection_id":146391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd51"} 
[2026-08-01 18:05:06] local.INFO: GPS Element Parsed {"raw_longitude":756604096,"raw_latitude":119544856,"longitude_deg":75.6604096,"latitude_deg":11.9544856,"altitude":36,"angle":110,"satellites":36,"speed":6,"hex_longitude":"2d18dcc0","hex_latitude":"07201c18","is_valid_coordinates":true} 
[2026-08-01 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-08-01 18:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110435840001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10298038790651904,"note":"Value kept but may cause issues"} 
[2026-08-01 18:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791025307413383168,"note":"Value kept but may cause issues"} 
[2026-08-01 18:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785587641000,"timestamp_ms":1785587641000,"timestamp_seconds":1785587641,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd512aa8"} 
[2026-08-01 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-08-01 18:05: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-08-01 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-01 18:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 18:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:05:06] 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-08-01 18:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110435840001,"66":14428,"102":206,"83":41984,"24":6,"16":10298038790651904,"45":1791025307413383168},"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-08-01 18:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110435840001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:05:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:05:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10298038790651904,"km_value":10298038790651.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791025307413383168,"description":"Unknown IO ID 45"} 
[2026-08-01 18:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110435840001,"power":14428,"unknown_102":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1791025307413383168}} 
[2026-08-01 18:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":146391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:05:06] local.INFO: GPS data processed {"connection_id":146391,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:05:06] local.INFO: Acknowledgment sent {"connection_id":146391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:05:20] local.INFO: TCP Data received {"connection_id":148698,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4ecd30012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4ecd30012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:05:20] local.INFO: Processing buffer {"connection_id":148698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4ecd30012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:05:20] local.INFO: Packet analysis {"connection_id":148698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd4e"} 
[2026-08-01 18:05:20] local.INFO: Extracted packet for processing {"connection_id":148698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd4e"} 
[2026-08-01 18:05:20] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466520,"longitude_deg":75.382368,"latitude_deg":12.046652,"altitude":53,"angle":90,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c58","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110319104001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366709779520815104,"note":"Value kept but may cause issues"} 
[2026-08-01 18:05:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265229989474953216,"note":"Value kept but may cause issues"} 
[2026-08-01 18:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785587486000,"timestamp_ms":1785587486000,"timestamp_seconds":1785587486,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4ecd30"} 
[2026-08-01 18:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 18:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-01 18:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:05:20] 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-08-01 18:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110319104001,"66":26267,"219":206,"83":44032,"24":0,"16":366709779520815104,"44":-1265229989474953216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-01 18:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110319104001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:05:20] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 18:05:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366709779520815104,"km_value":366709779520815.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:05:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265229989474953216,"description":"Unknown IO ID 44"} 
[2026-08-01 18:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110319104001,"power":26267,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265229989474953216}} 
[2026-08-01 18:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":148698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:05:20] local.INFO: GPS data processed {"connection_id":148698,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:05:20] local.INFO: Acknowledgment sent {"connection_id":148698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:05:34] local.INFO: TCP Data received {"connection_id":146167,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd5057b8012d7d110005c911a00008009f23..."} 
[2026-08-01 18:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd5057b8012d7d110005c911a00008009f23..."} 
[2026-08-01 18:05:34] local.INFO: Processing buffer {"connection_id":146167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd5057b8012d7d110005c911a00008009f23..."} 
[2026-08-01 18:05:34] local.INFO: Packet analysis {"connection_id":146167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd50"} 
[2026-08-01 18:05:34] local.INFO: Extracted packet for processing {"connection_id":146167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd50"} 
[2026-08-01 18:05:34] local.INFO: GPS Element Parsed {"raw_longitude":763171072,"raw_latitude":97063328,"longitude_deg":76.3171072,"latitude_deg":9.7063328,"altitude":8,"angle":159,"satellites":35,"speed":9,"hex_longitude":"2d7d1100","hex_latitude":"05c911a0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 18:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110417152001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113559016910618624,"note":"Value kept but may cause issues"} 
[2026-08-01 18:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011632510472624128,"note":"Value kept but may cause issues"} 
[2026-08-01 18:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785587587000,"timestamp_ms":1785587587000,"timestamp_seconds":1785587587,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd5057b8"} 
[2026-08-01 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-08-01 18:05: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-08-01 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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-01 18:05:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 18:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":146167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":146167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":146167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:05:34] 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-08-01 18:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110417152001,"66":13363,"205":206,"85":12288,"24":9,"16":113559016910618624,"45":9011632510472624128},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-08-01 18:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110417152001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:05:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113559016910618624,"km_value":113559016910618.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011632510472624128,"description":"Unknown IO ID 45"} 
[2026-08-01 18:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110417152001,"power":13363,"cell_id":206,"unknown_85":12288,"ignition":9,"odometer":null,"unknown_45":9011632510472624128}} 
[2026-08-01 18:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":146167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578466,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:05:34] local.INFO: GPS data processed {"connection_id":146167,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:05:34] local.INFO: Acknowledgment sent {"connection_id":146167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:05:37] local.INFO: TCP Data received {"connection_id":146391,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd51f5c8012d19158007200c680036007326..."} 
[2026-08-01 18:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd51f5c8012d19158007200c680036007326..."} 
[2026-08-01 18:05:37] local.INFO: Processing buffer {"connection_id":146391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd51f5c8012d19158007200c680036007326..."} 
[2026-08-01 18:05:37] local.INFO: Packet analysis {"connection_id":146391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd51"} 
[2026-08-01 18:05:37] local.INFO: Extracted packet for processing {"connection_id":146391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd51"} 
[2026-08-01 18:05:37] local.INFO: GPS Element Parsed {"raw_longitude":756618624,"raw_latitude":119540840,"longitude_deg":75.6618624,"latitude_deg":11.954084,"altitude":54,"angle":115,"satellites":38,"speed":13,"hex_longitude":"2d191580","hex_latitude":"07200c68","is_valid_coordinates":true} 
[2026-08-01 18:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110449152001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10298837654568960,"note":"Value kept but may cause issues"} 
[2026-08-01 18:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1807210118573262848,"note":"Value kept but may cause issues"} 
[2026-08-01 18:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785587693000,"timestamp_ms":1785587693000,"timestamp_seconds":1785587693,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd51f5c8"} 
[2026-08-01 18:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:05: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-08-01 18:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-01 18:05:37] 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-08-01 18:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:05:37] 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-08-01 18:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110449152001,"66":14461,"102":206,"83":41984,"24":13,"16":10298837654568960,"45":1807210118573262848},"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-08-01 18:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110449152001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:05:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:05:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10298837654568960,"km_value":10298837654568.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1807210118573262848,"description":"Unknown IO ID 45"} 
[2026-08-01 18:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110449152001,"power":14461,"unknown_102":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1807210118573262848}} 
[2026-08-01 18:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":146391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:05:37] local.INFO: GPS data processed {"connection_id":146391,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:05:37] local.INFO: Acknowledgment sent {"connection_id":146391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:05:43] local.INFO: TCP Data received {"connection_id":146168,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:05:43] local.INFO: Processing buffer {"connection_id":146168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:05:43] local.INFO: IMEI packet received {"connection_id":146168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":146168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:05:49] local.INFO: TCP Data received {"connection_id":146168,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:05:49] local.INFO: Processing buffer {"connection_id":146168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:05:49] local.INFO: IMEI packet received {"connection_id":146168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":146168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:05:49] local.INFO: TCP Data received {"connection_id":146168,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4ecd30012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4ecd30012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:05:49] local.INFO: Processing buffer {"connection_id":146168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4ecd30012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:05:49] local.INFO: Packet analysis {"connection_id":146168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd4e"} 
[2026-08-01 18:05:49] local.INFO: Extracted packet for processing {"connection_id":146168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd4e"} 
[2026-08-01 18:05:49] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466520,"longitude_deg":75.382368,"latitude_deg":12.046652,"altitude":53,"angle":90,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c58","is_valid_coordinates":true} 
[2026-08-01 18:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110319104001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366709779520815104,"note":"Value kept but may cause issues"} 
[2026-08-01 18:05:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265229989474953216,"note":"Value kept but may cause issues"} 
[2026-08-01 18:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785587486000,"timestamp_ms":1785587486000,"timestamp_seconds":1785587486,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4ecd30"} 
[2026-08-01 18:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 18:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-01 18:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:05:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110319104001,"66":26267,"219":206,"83":44032,"24":0,"16":366709779520815104,"44":-1265229989474953216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-01 18:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110319104001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:05:49] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 18:05:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366709779520815104,"km_value":366709779520815.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:05:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265229989474953216,"description":"Unknown IO ID 44"} 
[2026-08-01 18:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110319104001,"power":26267,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265229989474953216}} 
[2026-08-01 18:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":146168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:05:49] local.INFO: GPS data processed {"connection_id":146168,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:05:49] local.INFO: Acknowledgment sent {"connection_id":146168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:05:57] local.INFO: TCP Data received {"connection_id":146392,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146392,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:05:57] local.INFO: Processing buffer {"connection_id":146392,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:05:57] local.INFO: IMEI packet received {"connection_id":146392,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 18:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":146392,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:06:04] local.INFO: TCP Data received {"connection_id":146392,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146392,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:06:04] local.INFO: Processing buffer {"connection_id":146392,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:06:04] local.INFO: IMEI packet received {"connection_id":146392,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":146392,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:06:04] local.INFO: TCP Data received {"connection_id":146392,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd52b918012d7d260005c84498000a00ad20..."} 
[2026-08-01 18:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd52b918012d7d260005c84498000a00ad20..."} 
[2026-08-01 18:06:04] local.INFO: Processing buffer {"connection_id":146392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd52b918012d7d260005c84498000a00ad20..."} 
[2026-08-01 18:06:04] local.INFO: Packet analysis {"connection_id":146392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd52"} 
[2026-08-01 18:06:04] local.INFO: Extracted packet for processing {"connection_id":146392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd52"} 
[2026-08-01 18:06:04] local.INFO: GPS Element Parsed {"raw_longitude":763176448,"raw_latitude":97010840,"longitude_deg":76.3176448,"latitude_deg":9.701084,"altitude":10,"angle":173,"satellites":32,"speed":40,"hex_longitude":"2d7d2600","hex_latitude":"05c84498","is_valid_coordinates":true} 
[2026-08-01 18:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110459392001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113561589596028928,"note":"Value kept but may cause issues"} 
[2026-08-01 18:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016628691297906688,"note":"Value kept but may cause issues"} 
[2026-08-01 18:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785587743000,"timestamp_ms":1785587743000,"timestamp_seconds":1785587743,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd52b918"} 
[2026-08-01 18:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-01 18:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110459392001,"66":13015,"205":206,"85":12288,"24":40,"16":113561589596028928,"45":9016628691297906688},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-08-01 18:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110459392001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:06:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113561589596028928,"km_value":113561589596028.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016628691297906688,"description":"Unknown IO ID 45"} 
[2026-08-01 18:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110459392001,"power":13015,"cell_id":206,"unknown_85":12288,"ignition":40,"odometer":null,"unknown_45":9016628691297906688}} 
[2026-08-01 18:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":146392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578469,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:06:04] local.INFO: GPS data processed {"connection_id":146392,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:06:04] local.INFO: Acknowledgment sent {"connection_id":146392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:06:05] local.INFO: TCP Data received {"connection_id":148699,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:06:05] local.INFO: Processing buffer {"connection_id":148699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:06:05] local.INFO: IMEI packet received {"connection_id":148699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 18:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":148699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:06:10] local.INFO: TCP Data received {"connection_id":148699,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:06:10] local.INFO: Processing buffer {"connection_id":148699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:06:10] local.INFO: IMEI packet received {"connection_id":148699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":148699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:06:10] local.INFO: TCP Data received {"connection_id":148699,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd51f9b0012d1916c007200c200036006227..."} 
[2026-08-01 18:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd51f9b0012d1916c007200c200036006227..."} 
[2026-08-01 18:06:10] local.INFO: Processing buffer {"connection_id":148699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd51f9b0012d1916c007200c200036006227..."} 
[2026-08-01 18:06:10] local.INFO: Packet analysis {"connection_id":148699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd51"} 
[2026-08-01 18:06:10] local.INFO: Extracted packet for processing {"connection_id":148699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd51"} 
[2026-08-01 18:06:10] local.INFO: GPS Element Parsed {"raw_longitude":756618944,"raw_latitude":119540768,"longitude_deg":75.6618944,"latitude_deg":11.9540768,"altitude":54,"angle":98,"satellites":39,"speed":12,"hex_longitude":"2d1916c0","hex_latitude":"07200c20","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110449408001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10298850539470848,"note":"Value kept but may cause issues"} 
[2026-08-01 18:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1807491593549932544,"note":"Value kept but may cause issues"} 
[2026-08-01 18: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-08-01 18:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785587694000,"timestamp_ms":1785587694000,"timestamp_seconds":1785587694,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd51f9b0"} 
[2026-08-01 18:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:06: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-08-01 18: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-01 18:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":148699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":148699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":148699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:06: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-08-01 18:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110449408001,"66":14461,"102":206,"83":41984,"24":12,"16":10298850539470848,"45":1807491593549932544},"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-08-01 18:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110449408001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:06:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:06:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10298850539470848,"km_value":10298850539470.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1807491593549932544,"description":"Unknown IO ID 45"} 
[2026-08-01 18:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110449408001,"power":14461,"unknown_102":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1807491593549932544}} 
[2026-08-01 18:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":148699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:06:11] local.INFO: GPS data processed {"connection_id":148699,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:06:11] local.INFO: Acknowledgment sent {"connection_id":148699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:06:12] local.INFO: TCP Data received {"connection_id":148699,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd51fd98012d19180007200c200036005726..."} 
[2026-08-01 18:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd51fd98012d19180007200c200036005726..."} 
[2026-08-01 18:06:12] local.INFO: Processing buffer {"connection_id":148699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd51fd98012d19180007200c200036005726..."} 
[2026-08-01 18:06:12] local.INFO: Packet analysis {"connection_id":148699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd51"} 
[2026-08-01 18:06:12] local.INFO: Extracted packet for processing {"connection_id":148699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd51"} 
[2026-08-01 18:06:12] local.INFO: GPS Element Parsed {"raw_longitude":756619264,"raw_latitude":119540768,"longitude_deg":75.6619264,"latitude_deg":11.9540768,"altitude":54,"angle":87,"satellites":38,"speed":12,"hex_longitude":"2d191800","hex_latitude":"07200c20","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110449664001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10298867719340032,"note":"Value kept but may cause issues"} 
[2026-08-01 18:06:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1807843437270802432,"note":"Value kept but may cause issues"} 
[2026-08-01 18:06:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785587695000,"timestamp_ms":1785587695000,"timestamp_seconds":1785587695,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd51fd98"} 
[2026-08-01 18:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:06: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-08-01 18: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":125,"data_length":795,"current_offset":136} 
[2026-08-01 18:06:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":148699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":148699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":148699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:06:12] 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-08-01 18:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110449664001,"66":14265,"102":206,"83":41984,"24":12,"16":10298867719340032,"45":1807843437270802432},"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-08-01 18:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110449664001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:06:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:06:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10298867719340032,"km_value":10298867719340.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:06:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1807843437270802432,"description":"Unknown IO ID 45"} 
[2026-08-01 18:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110449664001,"power":14265,"unknown_102":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1807843437270802432}} 
[2026-08-01 18:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":148699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578471,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:06:12] local.INFO: GPS data processed {"connection_id":148699,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:06:12] local.INFO: Acknowledgment sent {"connection_id":148699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:06:20] local.INFO: TCP Data received {"connection_id":146168,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4ecd30012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4ecd30012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:06:20] local.INFO: Processing buffer {"connection_id":146168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4ecd30012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:06:20] local.INFO: Packet analysis {"connection_id":146168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd4e"} 
[2026-08-01 18:06:20] local.INFO: Extracted packet for processing {"connection_id":146168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd4e"} 
[2026-08-01 18:06:20] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466520,"longitude_deg":75.382368,"latitude_deg":12.046652,"altitude":53,"angle":90,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c58","is_valid_coordinates":true} 
[2026-08-01 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-08-01 18:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110319104001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366709779520815104,"note":"Value kept but may cause issues"} 
[2026-08-01 18:06:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265229989474953216,"note":"Value kept but may cause issues"} 
[2026-08-01 18:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785587486000,"timestamp_ms":1785587486000,"timestamp_seconds":1785587486,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4ecd30"} 
[2026-08-01 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-08-01 18:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-01 18:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 18:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:06:20] 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-08-01 18:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110319104001,"66":26267,"219":206,"83":44032,"24":0,"16":366709779520815104,"44":-1265229989474953216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-01 18:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110319104001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:06:20] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 18:06:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366709779520815104,"km_value":366709779520815.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:06:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265229989474953216,"description":"Unknown IO ID 44"} 
[2026-08-01 18:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110319104001,"power":26267,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265229989474953216}} 
[2026-08-01 18:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":146168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:06:20] local.INFO: GPS data processed {"connection_id":146168,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:06:20] local.INFO: Acknowledgment sent {"connection_id":146168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:06:37] local.INFO: TCP Data received {"connection_id":146392,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd52dc40012d7d2ac005c81f00000800ab1f..."} 
[2026-08-01 18:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd52dc40012d7d2ac005c81f00000800ab1f..."} 
[2026-08-01 18:06:37] local.INFO: Processing buffer {"connection_id":146392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd52dc40012d7d2ac005c81f00000800ab1f..."} 
[2026-08-01 18:06:37] local.INFO: Packet analysis {"connection_id":146392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd52"} 
[2026-08-01 18:06:37] local.INFO: Extracted packet for processing {"connection_id":146392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd52"} 
[2026-08-01 18:06:37] local.INFO: GPS Element Parsed {"raw_longitude":763177664,"raw_latitude":97001216,"longitude_deg":76.3177664,"latitude_deg":9.7001216,"altitude":8,"angle":171,"satellites":31,"speed":43,"hex_longitude":"2d7d2ac0","hex_latitude":"05c81f00","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110462208001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113562062042431488,"note":"Value kept but may cause issues"} 
[2026-08-01 18:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017895328690771968,"note":"Value kept but may cause issues"} 
[2026-08-01 18:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785587752000,"timestamp_ms":1785587752000,"timestamp_seconds":1785587752,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd52dc40"} 
[2026-08-01 18:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-01 18:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110462208001,"66":13450,"199":206,"85":12288,"24":43,"16":113562062042431488,"45":9017895328690771968},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-01 18:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110462208001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:06:37] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-01 18:06:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113562062042431488,"km_value":113562062042431.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017895328690771968,"description":"Unknown IO ID 45"} 
[2026-08-01 18:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110462208001,"power":13450,"trip_odometer":0.206,"unknown_85":12288,"ignition":43,"odometer":null,"unknown_45":9017895328690771968}} 
[2026-08-01 18:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":146392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578473,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:06:37] local.INFO: GPS data processed {"connection_id":146392,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:06:37] local.INFO: Acknowledgment sent {"connection_id":146392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:06:43] local.INFO: TCP Data received {"connection_id":148699,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd524fa0012d1925c007200ca80034006224..."} 
[2026-08-01 18:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd524fa0012d1925c007200ca80034006224..."} 
[2026-08-01 18:06:43] local.INFO: Processing buffer {"connection_id":148699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd524fa0012d1925c007200ca80034006224..."} 
[2026-08-01 18:06:43] local.INFO: Packet analysis {"connection_id":148699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd52"} 
[2026-08-01 18:06:43] local.INFO: Extracted packet for processing {"connection_id":148699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd52"} 
[2026-08-01 18:06:43] local.INFO: GPS Element Parsed {"raw_longitude":756622784,"raw_latitude":119540904,"longitude_deg":75.6622784,"latitude_deg":11.9540904,"altitude":52,"angle":98,"satellites":36,"speed":0,"hex_longitude":"2d1925c0","hex_latitude":"07200ca8","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110449920001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10299035223064576,"note":"Value kept but may cause issues"} 
[2026-08-01 18:06:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1808195280991690752,"note":"Value kept but may cause issues"} 
[2026-08-01 18:06: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-08-01 18:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785587716000,"timestamp_ms":1785587716000,"timestamp_seconds":1785587716,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd524fa0"} 
[2026-08-01 18:06:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:06: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-08-01 18: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-01 18:06:43] 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-08-01 18: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-08-01 18:06:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":148699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":148699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":148699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:06:43] 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-08-01 18:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110449920001,"66":14428,"102":206,"83":41984,"24":0,"16":10299035223064576,"45":1808195280991690752},"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-08-01 18:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110449920001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:06:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:06:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10299035223064576,"km_value":10299035223064.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:06:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1808195280991690752,"description":"Unknown IO ID 45"} 
[2026-08-01 18:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110449920001,"power":14428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1808195280991690752}} 
[2026-08-01 18:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":148699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578474,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:06:43] local.INFO: GPS data processed {"connection_id":148699,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:06:43] local.INFO: Acknowledgment sent {"connection_id":148699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:06:43] local.INFO: TCP Data received {"connection_id":146169,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:06:43] local.INFO: Processing buffer {"connection_id":146169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:06:43] local.INFO: IMEI packet received {"connection_id":146169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":146169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:06:48] local.INFO: TCP Data received {"connection_id":146169,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:06:48] local.INFO: Processing buffer {"connection_id":146169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:06:48] local.INFO: IMEI packet received {"connection_id":146169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":146169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:06:49] local.INFO: TCP Data received {"connection_id":146169,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd4ecd30012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd4ecd30012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:06:49] local.INFO: Processing buffer {"connection_id":146169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd4ecd30012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:06:49] local.INFO: Packet analysis {"connection_id":146169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd4e"} 
[2026-08-01 18:06:49] local.INFO: Extracted packet for processing {"connection_id":146169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd4e"} 
[2026-08-01 18:06:49] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466520,"longitude_deg":75.382368,"latitude_deg":12.046652,"altitude":53,"angle":90,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c58","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110319104001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366709779520815104,"note":"Value kept but may cause issues"} 
[2026-08-01 18:06:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265229989474953216,"note":"Value kept but may cause issues"} 
[2026-08-01 18:06:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785587486000,"timestamp_ms":1785587486000,"timestamp_seconds":1785587486,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd4ecd30"} 
[2026-08-01 18:06:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:06:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 18: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-01 18:06:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:06:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:06:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110319104001,"66":26267,"219":206,"83":44032,"24":0,"16":366709779520815104,"44":-1265229989474953216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-01 18:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110319104001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:06:49] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 18:06:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366709779520815104,"km_value":366709779520815.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:06:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265229989474953216,"description":"Unknown IO ID 44"} 
[2026-08-01 18:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110319104001,"power":26267,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265229989474953216}} 
[2026-08-01 18:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":146169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:06:49] local.INFO: GPS data processed {"connection_id":146169,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:06:49] local.INFO: Acknowledgment sent {"connection_id":146169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:06:56] local.INFO: TCP Data received {"connection_id":148700,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:06:57] local.INFO: Processing buffer {"connection_id":148700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:06:57] local.INFO: IMEI packet received {"connection_id":148700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 18:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":148700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:06:57] local.INFO: TCP Data received {"connection_id":146393,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146393,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:06:57] local.INFO: Processing buffer {"connection_id":146393,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:06:57] local.INFO: IMEI packet received {"connection_id":146393,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 18:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":146393,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:07:00] local.INFO: TCP Data received {"connection_id":148700,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:07:00] local.INFO: Processing buffer {"connection_id":148700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:07:00] local.INFO: IMEI packet received {"connection_id":148700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":148700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:07:05] local.INFO: TCP Data received {"connection_id":148700,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:07:05] local.INFO: Processing buffer {"connection_id":148700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:07:05] local.INFO: IMEI packet received {"connection_id":148700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":148700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:07:05] local.INFO: TCP Data received {"connection_id":146393,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146393,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:07:05] local.INFO: Processing buffer {"connection_id":146393,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:07:05] local.INFO: IMEI packet received {"connection_id":146393,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":146393,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:07:06] local.INFO: TCP Data received {"connection_id":148700,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd5295f0012d19268007200bf80033009d24..."} 
[2026-08-01 18:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd5295f0012d19268007200bf80033009d24..."} 
[2026-08-01 18:07:06] local.INFO: Processing buffer {"connection_id":148700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd5295f0012d19268007200bf80033009d24..."} 
[2026-08-01 18:07:06] local.INFO: Packet analysis {"connection_id":148700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd52"} 
[2026-08-01 18:07:06] local.INFO: Extracted packet for processing {"connection_id":148700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd52"} 
[2026-08-01 18:07:06] local.INFO: GPS Element Parsed {"raw_longitude":756622976,"raw_latitude":119540728,"longitude_deg":75.6622976,"latitude_deg":11.9540728,"altitude":51,"angle":157,"satellites":36,"speed":3,"hex_longitude":"2d192680","hex_latitude":"07200bf8","is_valid_coordinates":true} 
[2026-08-01 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-08-01 18:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110455296001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10299048107966464,"note":"Value kept but may cause issues"} 
[2026-08-01 18:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812065561921497088,"note":"Value kept but may cause issues"} 
[2026-08-01 18:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785587734000,"timestamp_ms":1785587734000,"timestamp_seconds":1785587734,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd5295f0"} 
[2026-08-01 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-08-01 18:07: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-08-01 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-01 18:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 18:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:07:06] 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-08-01 18:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110455296001,"66":12428,"102":206,"83":41984,"24":3,"16":10299048107966464,"45":1812065561921497088},"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-08-01 18:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110455296001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:07:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:07:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10299048107966464,"km_value":10299048107966.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812065561921497088,"description":"Unknown IO ID 45"} 
[2026-08-01 18:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110455296001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1812065561921497088}} 
[2026-08-01 18:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":148700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:07:06] local.INFO: GPS data processed {"connection_id":148700,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:07:06] local.INFO: Acknowledgment sent {"connection_id":148700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:07:07] local.INFO: TCP Data received {"connection_id":146393,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd52ff68012d7d328005c7fad8000600a422..."} 
[2026-08-01 18:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd52ff68012d7d328005c7fad8000600a422..."} 
[2026-08-01 18:07:07] local.INFO: Processing buffer {"connection_id":146393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd52ff68012d7d328005c7fad8000600a422..."} 
[2026-08-01 18:07:07] local.INFO: Packet analysis {"connection_id":146393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd52"} 
[2026-08-01 18:07:07] local.INFO: Extracted packet for processing {"connection_id":146393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd52"} 
[2026-08-01 18:07:07] local.INFO: GPS Element Parsed {"raw_longitude":763179648,"raw_latitude":96991960,"longitude_deg":76.3179648,"latitude_deg":9.699196,"altitude":6,"angle":164,"satellites":34,"speed":37,"hex_longitude":"2d7d3280","hex_latitude":"05c7fad8","is_valid_coordinates":true} 
[2026-08-01 18:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110464512001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113562521603932160,"note":"Value kept but may cause issues"} 
[2026-08-01 18:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019232334827683840,"note":"Value kept but may cause issues"} 
[2026-08-01 18:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785587761000,"timestamp_ms":1785587761000,"timestamp_seconds":1785587761,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd52ff68"} 
[2026-08-01 18:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-01 18:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:07:07] 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-08-01 18:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110464512001,"66":13222,"199":206,"85":12288,"24":37,"16":113562521603932160,"45":9019232334827683840},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-08-01 18:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110464512001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:07:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-01 18:07:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113562521603932160,"km_value":113562521603932.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019232334827683840,"description":"Unknown IO ID 45"} 
[2026-08-01 18:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110464512001,"power":13222,"trip_odometer":0.206,"unknown_85":12288,"ignition":37,"odometer":null,"unknown_45":9019232334827683840}} 
[2026-08-01 18:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":146393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578477,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:07:07] local.INFO: GPS data processed {"connection_id":146393,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:07:07] local.INFO: Acknowledgment sent {"connection_id":146393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:07:20] local.INFO: TCP Data received {"connection_id":146169,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd5364f8012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd5364f8012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:07:20] local.INFO: Processing buffer {"connection_id":146169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd5364f8012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:07:20] local.INFO: Packet analysis {"connection_id":146169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd53"} 
[2026-08-01 18:07:20] local.INFO: Extracted packet for processing {"connection_id":146169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd53"} 
[2026-08-01 18:07:20] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466520,"longitude_deg":75.382368,"latitude_deg":12.046652,"altitude":53,"angle":90,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c58","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110396416001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366709779520815104,"note":"Value kept but may cause issues"} 
[2026-08-01 18:07:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195857920,"note":"Value kept but may cause issues"} 
[2026-08-01 18:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785587787000,"timestamp_ms":1785587787000,"timestamp_seconds":1785587787,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd5364f8"} 
[2026-08-01 18:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:07:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 18: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-01 18:07:20] 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-08-01 18: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-08-01 18:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:07:20] 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-08-01 18:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110396416001,"66":26115,"219":206,"83":44032,"24":0,"16":366709779520815104,"44":-1265581833195857920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-01 18:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110396416001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:07:20] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 18:07:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366709779520815104,"km_value":366709779520815.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:07:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195857920,"description":"Unknown IO ID 44"} 
[2026-08-01 18:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110396416001,"power":26115,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195857920}} 
[2026-08-01 18:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":146169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:07:20] local.INFO: GPS data processed {"connection_id":146169,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:07:20] local.INFO: Acknowledgment sent {"connection_id":146169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:07:36] local.INFO: TCP Data received {"connection_id":148700,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd52a590012d192740072009c0003300b127..."} 
[2026-08-01 18:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd52a590012d192740072009c0003300b127..."} 
[2026-08-01 18:07:36] local.INFO: Processing buffer {"connection_id":148700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd52a590012d192740072009c0003300b127..."} 
[2026-08-01 18:07:36] local.INFO: Packet analysis {"connection_id":148700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd52"} 
[2026-08-01 18:07:36] local.INFO: Extracted packet for processing {"connection_id":148700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd52"} 
[2026-08-01 18:07:36] local.INFO: GPS Element Parsed {"raw_longitude":756623168,"raw_latitude":119540160,"longitude_deg":75.6623168,"latitude_deg":11.954016,"altitude":51,"angle":177,"satellites":39,"speed":7,"hex_longitude":"2d192740","hex_latitude":"072009c0","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110459904001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10299078172737536,"note":"Value kept but may cause issues"} 
[2026-08-01 18:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812276668153985024,"note":"Value kept but may cause issues"} 
[2026-08-01 18:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785587738000,"timestamp_ms":1785587738000,"timestamp_seconds":1785587738,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd52a590"} 
[2026-08-01 18:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:07: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-08-01 18: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-01 18:07:36] 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-08-01 18: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-08-01 18:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:07:36] 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-08-01 18:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110459904001,"66":13276,"102":206,"83":41984,"24":7,"16":10299078172737536,"45":1812276668153985024},"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-08-01 18:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110459904001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:07:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:07:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10299078172737536,"km_value":10299078172737.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812276668153985024,"description":"Unknown IO ID 45"} 
[2026-08-01 18:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110459904001,"power":13276,"unknown_102":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1812276668153985024}} 
[2026-08-01 18:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":148700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:07:36] local.INFO: GPS data processed {"connection_id":148700,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:07:36] local.INFO: Acknowledgment sent {"connection_id":148700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:07:39] local.INFO: TCP Data received {"connection_id":146393,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd532678012d7d3e4005c7d8900005009c21..."} 
[2026-08-01 18:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd532678012d7d3e4005c7d8900005009c21..."} 
[2026-08-01 18:07:39] local.INFO: Processing buffer {"connection_id":146393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd532678012d7d3e4005c7d8900005009c21..."} 
[2026-08-01 18:07:39] local.INFO: Packet analysis {"connection_id":146393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd53"} 
[2026-08-01 18:07:39] local.INFO: Extracted packet for processing {"connection_id":146393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd53"} 
[2026-08-01 18:07:39] local.INFO: GPS Element Parsed {"raw_longitude":763182656,"raw_latitude":96983184,"longitude_deg":76.3182656,"latitude_deg":9.6983184,"altitude":5,"angle":156,"satellites":33,"speed":32,"hex_longitude":"2d7d3e40","hex_latitude":"05c7d890","is_valid_coordinates":true} 
[2026-08-01 18:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110466816001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:07:39] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-01 18:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113562968280530944,"note":"Value kept but may cause issues"} 
[2026-08-01 18:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021413765894821888,"note":"Value kept but may cause issues"} 
[2026-08-01 18:07:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-01 18:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785587771000,"timestamp_ms":1785587771000,"timestamp_seconds":1785587771,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd532678"} 
[2026-08-01 18:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:07: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-08-01 18:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-01 18:07:39] 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-08-01 18:07:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:07:39] 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-08-01 18:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110466816001,"66":12689,"200":0,"85":12288,"24":32,"16":113562968280530944,"45":9021413765894821888},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-01 18:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110466816001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:07:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113562968280530944,"km_value":113562968280530.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021413765894821888,"description":"Unknown IO ID 45"} 
[2026-08-01 18:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110466816001,"power":12689,"gsm_signal":0,"unknown_85":12288,"ignition":32,"odometer":null,"unknown_45":9021413765894821888}} 
[2026-08-01 18:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":146393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578480,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:07:39] local.INFO: GPS data processed {"connection_id":146393,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:07:39] local.INFO: Acknowledgment sent {"connection_id":146393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:07:43] local.INFO: TCP Data received {"connection_id":148701,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:07:43] local.INFO: Processing buffer {"connection_id":148701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:07:43] local.INFO: IMEI packet received {"connection_id":148701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":148701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:07:49] local.INFO: TCP Data received {"connection_id":148701,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:07:49] local.INFO: Processing buffer {"connection_id":148701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:07:49] local.INFO: IMEI packet received {"connection_id":148701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":148701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:07:49] local.INFO: TCP Data received {"connection_id":148701,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd5364f8012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd5364f8012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:07:49] local.INFO: Processing buffer {"connection_id":148701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd5364f8012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:07:49] local.INFO: Packet analysis {"connection_id":148701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd53"} 
[2026-08-01 18:07:49] local.INFO: Extracted packet for processing {"connection_id":148701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd53"} 
[2026-08-01 18:07:49] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466520,"longitude_deg":75.382368,"latitude_deg":12.046652,"altitude":53,"angle":90,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c58","is_valid_coordinates":true} 
[2026-08-01 18:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110396416001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366709779520815104,"note":"Value kept but may cause issues"} 
[2026-08-01 18:07:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195857920,"note":"Value kept but may cause issues"} 
[2026-08-01 18:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785587787000,"timestamp_ms":1785587787000,"timestamp_seconds":1785587787,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd5364f8"} 
[2026-08-01 18:07:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:07:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 18:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-01 18:07:49] 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-08-01 18: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-08-01 18:07:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:07:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110396416001,"66":26115,"219":206,"83":44032,"24":0,"16":366709779520815104,"44":-1265581833195857920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-01 18:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110396416001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:07:49] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 18:07:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366709779520815104,"km_value":366709779520815.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:07:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195857920,"description":"Unknown IO ID 44"} 
[2026-08-01 18:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110396416001,"power":26115,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195857920}} 
[2026-08-01 18:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":148701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:07:49] local.INFO: GPS data processed {"connection_id":148701,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:07:49] local.INFO: Acknowledgment sent {"connection_id":148701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:08:00] local.INFO: TCP Data received {"connection_id":146170,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:08:00] local.INFO: Processing buffer {"connection_id":146170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:08:00] local.INFO: IMEI packet received {"connection_id":146170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 18:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":146170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:08:00] local.INFO: TCP Data received {"connection_id":146170,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:08:00] local.INFO: Processing buffer {"connection_id":146170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:08:00] local.INFO: IMEI packet received {"connection_id":146170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":146170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:08:03] local.INFO: TCP Data received {"connection_id":146171,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146171,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:08:03] local.INFO: Processing buffer {"connection_id":146171,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:08:03] local.INFO: IMEI packet received {"connection_id":146171,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 18:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":146171,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:08:03] local.INFO: TCP Data received {"connection_id":146171,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146171,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:08:03] local.INFO: Processing buffer {"connection_id":146171,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:08:03] local.INFO: IMEI packet received {"connection_id":146171,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":146171,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:08:05] local.INFO: TCP Data received {"connection_id":146170,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:08:05] local.INFO: Processing buffer {"connection_id":146170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:08:05] local.INFO: IMEI packet received {"connection_id":146170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":146170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:08:05] local.INFO: TCP Data received {"connection_id":146170,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd52c8b8012d192800072000e00030009c26..."} 
[2026-08-01 18:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd52c8b8012d192800072000e00030009c26..."} 
[2026-08-01 18:08:05] local.INFO: Processing buffer {"connection_id":146170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd52c8b8012d192800072000e00030009c26..."} 
[2026-08-01 18:08:05] local.INFO: Packet analysis {"connection_id":146170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd52"} 
[2026-08-01 18:08:05] local.INFO: Extracted packet for processing {"connection_id":146170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd52"} 
[2026-08-01 18:08:05] local.INFO: GPS Element Parsed {"raw_longitude":756623360,"raw_latitude":119537888,"longitude_deg":75.662336,"latitude_deg":11.9537888,"altitude":48,"angle":156,"satellites":38,"speed":12,"hex_longitude":"2d192800","hex_latitude":"072000e0","is_valid_coordinates":true} 
[2026-08-01 18:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110460928001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10299194136854528,"note":"Value kept but may cause issues"} 
[2026-08-01 18:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812487774386372608,"note":"Value kept but may cause issues"} 
[2026-08-01 18:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785587747000,"timestamp_ms":1785587747000,"timestamp_seconds":1785587747,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd52c8b8"} 
[2026-08-01 18:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:08: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-08-01 18:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-01 18:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:08:05] 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-08-01 18:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110460928001,"66":13243,"102":206,"83":41984,"24":12,"16":10299194136854528,"45":1812487774386372608},"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-08-01 18:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110460928001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:08:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:08:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10299194136854528,"km_value":10299194136854.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812487774386372608,"description":"Unknown IO ID 45"} 
[2026-08-01 18:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110460928001,"power":13243,"unknown_102":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1812487774386372608}} 
[2026-08-01 18:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":146170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:08:06] local.INFO: GPS data processed {"connection_id":146170,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:08:06] local.INFO: Acknowledgment sent {"connection_id":146170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:08:08] local.INFO: TCP Data received {"connection_id":146171,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146171,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:08:08] local.INFO: Processing buffer {"connection_id":146171,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:08:08] local.INFO: IMEI packet received {"connection_id":146171,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":146171,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:08:09] local.INFO: TCP Data received {"connection_id":146171,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd537498012d7d4c0005c7bae00000009420..."} 
[2026-08-01 18:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd537498012d7d4c0005c7bae00000009420..."} 
[2026-08-01 18:08:09] local.INFO: Processing buffer {"connection_id":146171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd537498012d7d4c0005c7bae00000009420..."} 
[2026-08-01 18:08:09] local.INFO: Packet analysis {"connection_id":146171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd53"} 
[2026-08-01 18:08:09] local.INFO: Extracted packet for processing {"connection_id":146171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd53"} 
[2026-08-01 18:08:09] local.INFO: GPS Element Parsed {"raw_longitude":763186176,"raw_latitude":96975584,"longitude_deg":76.3186176,"latitude_deg":9.6975584,"altitude":0,"angle":148,"satellites":32,"speed":7,"hex_longitude":"2d7d4c00","hex_latitude":"05c7bae0","is_valid_coordinates":true} 
[2026-08-01 18:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110469376001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:08:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-01 18:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113563376302424064,"note":"Value kept but may cause issues"} 
[2026-08-01 18:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024721096868925440,"note":"Value kept but may cause issues"} 
[2026-08-01 18:08:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-01 18:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785587791000,"timestamp_ms":1785587791000,"timestamp_seconds":1785587791,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd537498"} 
[2026-08-01 18:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-01 18:08:09] 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-08-01 18:08:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":146171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":146171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":146171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:08:09] 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-08-01 18:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110469376001,"66":13243,"200":0,"85":12288,"24":7,"16":113563376302424064,"45":9024721096868925440},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-01 18:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110469376001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:08:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113563376302424064,"km_value":113563376302424.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024721096868925440,"description":"Unknown IO ID 45"} 
[2026-08-01 18:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110469376001,"power":13243,"gsm_signal":0,"unknown_85":12288,"ignition":7,"odometer":null,"unknown_45":9024721096868925440}} 
[2026-08-01 18:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":146171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578483,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:08:09] local.INFO: GPS data processed {"connection_id":146171,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:08:09] local.INFO: Acknowledgment sent {"connection_id":146171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:08:14] local.INFO: TCP Data received {"connection_id":146171,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd539f90012d7d500005c7b4980002008622..."} 
[2026-08-01 18:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd539f90012d7d500005c7b4980002008622..."} 
[2026-08-01 18:08:14] local.INFO: Processing buffer {"connection_id":146171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd539f90012d7d500005c7b4980002008622..."} 
[2026-08-01 18:08:14] local.INFO: Packet analysis {"connection_id":146171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd53"} 
[2026-08-01 18:08:14] local.INFO: Extracted packet for processing {"connection_id":146171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd53"} 
[2026-08-01 18:08:14] local.INFO: GPS Element Parsed {"raw_longitude":763187200,"raw_latitude":96973976,"longitude_deg":76.31872,"latitude_deg":9.6973976,"altitude":2,"angle":134,"satellites":34,"speed":5,"hex_longitude":"2d7d5000","hex_latitude":"05c7b498","is_valid_coordinates":true} 
[2026-08-01 18:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110474496001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:08:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-01 18:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113563466496737280,"note":"Value kept but may cause issues"} 
[2026-08-01 18:08:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028591377796751360,"note":"Value kept but may cause issues"} 
[2026-08-01 18:08:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-01 18:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785587802000,"timestamp_ms":1785587802000,"timestamp_seconds":1785587802,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd539f90"} 
[2026-08-01 18:08:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:08:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-01 18:08:14] 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-08-01 18:08:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:08:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":146171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":146171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":146171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:08:14] 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-08-01 18:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110474496001,"66":13330,"200":0,"85":12288,"24":5,"16":113563466496737280,"45":9028591377796751360},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-01 18:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110474496001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:08:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113563466496737280,"km_value":113563466496737.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:08:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028591377796751360,"description":"Unknown IO ID 45"} 
[2026-08-01 18:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110474496001,"power":13330,"gsm_signal":0,"unknown_85":12288,"ignition":5,"odometer":null,"unknown_45":9028591377796751360}} 
[2026-08-01 18:08:14] local.INFO: DEBUG: GPS processor result {"connection_id":146171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578484,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:08:14] local.INFO: GPS data processed {"connection_id":146171,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:08:14] local.INFO: Acknowledgment sent {"connection_id":146171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:08:21] local.INFO: TCP Data received {"connection_id":148701,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd5364f8012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd5364f8012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:08:21] local.INFO: Processing buffer {"connection_id":148701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd5364f8012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:08:21] local.INFO: Packet analysis {"connection_id":148701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd53"} 
[2026-08-01 18:08:21] local.INFO: Extracted packet for processing {"connection_id":148701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd53"} 
[2026-08-01 18:08:21] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466520,"longitude_deg":75.382368,"latitude_deg":12.046652,"altitude":53,"angle":90,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c58","is_valid_coordinates":true} 
[2026-08-01 18:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110396416001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366709779520815104,"note":"Value kept but may cause issues"} 
[2026-08-01 18:08:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195857920,"note":"Value kept but may cause issues"} 
[2026-08-01 18:08:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785587787000,"timestamp_ms":1785587787000,"timestamp_seconds":1785587787,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd5364f8"} 
[2026-08-01 18:08:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:08:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 18:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-01 18:08:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:08:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:08:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:08:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110396416001,"66":26115,"219":206,"83":44032,"24":0,"16":366709779520815104,"44":-1265581833195857920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-01 18:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110396416001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:08:21] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 18:08:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366709779520815104,"km_value":366709779520815.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:08:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195857920,"description":"Unknown IO ID 44"} 
[2026-08-01 18:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110396416001,"power":26115,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195857920}} 
[2026-08-01 18:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":148701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:08:21] local.INFO: GPS data processed {"connection_id":148701,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:08:21] local.INFO: Acknowledgment sent {"connection_id":148701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:08:37] local.INFO: TCP Data received {"connection_id":146170,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd52cca0012d1928c0071ffff8002f008b26..."} 
[2026-08-01 18:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd52cca0012d1928c0071ffff8002f008b26..."} 
[2026-08-01 18:08:37] local.INFO: Processing buffer {"connection_id":146170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd52cca0012d1928c0071ffff8002f008b26..."} 
[2026-08-01 18:08:37] local.INFO: Packet analysis {"connection_id":146170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd52"} 
[2026-08-01 18:08:37] local.INFO: Extracted packet for processing {"connection_id":146170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd52"} 
[2026-08-01 18:08:37] local.INFO: GPS Element Parsed {"raw_longitude":756623552,"raw_latitude":119537656,"longitude_deg":75.6623552,"latitude_deg":11.9537656,"altitude":47,"angle":139,"satellites":38,"speed":11,"hex_longitude":"2d1928c0","hex_latitude":"071ffff8","is_valid_coordinates":true} 
[2026-08-01 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-08-01 18:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110463232001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10299207021756416,"note":"Value kept but may cause issues"} 
[2026-08-01 18:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812698880618323968,"note":"Value kept but may cause issues"} 
[2026-08-01 18:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785587748000,"timestamp_ms":1785587748000,"timestamp_seconds":1785587748,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd52cca0"} 
[2026-08-01 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-08-01 18:08: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-08-01 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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-01 18:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 18:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:08:37] 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-08-01 18:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110463232001,"66":13243,"102":206,"83":41984,"24":11,"16":10299207021756416,"45":1812698880618323968},"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-08-01 18:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110463232001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:08:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:08:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10299207021756416,"km_value":10299207021756.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812698880618323968,"description":"Unknown IO ID 45"} 
[2026-08-01 18:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110463232001,"power":13243,"unknown_102":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1812698880618323968}} 
[2026-08-01 18:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":146170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:08:37] local.INFO: GPS data processed {"connection_id":146170,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:08:37] local.INFO: Acknowledgment sent {"connection_id":146170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:08:43] local.INFO: TCP Data received {"connection_id":146172,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:08:43] local.INFO: Processing buffer {"connection_id":146172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:08:43] local.INFO: IMEI packet received {"connection_id":146172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":146172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:08:49] local.INFO: TCP Data received {"connection_id":146172,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:08:49] local.INFO: Processing buffer {"connection_id":146172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:08:49] local.INFO: IMEI packet received {"connection_id":146172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":146172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:08:49] local.INFO: TCP Data received {"connection_id":146172,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd5364f8012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd5364f8012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:08:49] local.INFO: Processing buffer {"connection_id":146172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd5364f8012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:08:49] local.INFO: Packet analysis {"connection_id":146172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd53"} 
[2026-08-01 18:08:49] local.INFO: Extracted packet for processing {"connection_id":146172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd53"} 
[2026-08-01 18:08:49] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466520,"longitude_deg":75.382368,"latitude_deg":12.046652,"altitude":53,"angle":90,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c58","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110396416001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366709779520815104,"note":"Value kept but may cause issues"} 
[2026-08-01 18:08:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195857920,"note":"Value kept but may cause issues"} 
[2026-08-01 18:08:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785587787000,"timestamp_ms":1785587787000,"timestamp_seconds":1785587787,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd5364f8"} 
[2026-08-01 18:08:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:08:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 18: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-01 18:08:49] 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-08-01 18: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-08-01 18:08:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:08:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110396416001,"66":26115,"219":206,"83":44032,"24":0,"16":366709779520815104,"44":-1265581833195857920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-01 18:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110396416001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:08:49] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 18:08:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366709779520815104,"km_value":366709779520815.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:08:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195857920,"description":"Unknown IO ID 44"} 
[2026-08-01 18:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110396416001,"power":26115,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195857920}} 
[2026-08-01 18:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":146172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:08:49] local.INFO: GPS data processed {"connection_id":146172,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:08:49] local.INFO: Acknowledgment sent {"connection_id":146172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:08:58] local.INFO: TCP Data received {"connection_id":146173,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146173,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:08:58] local.INFO: Processing buffer {"connection_id":146173,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:08:58] local.INFO: IMEI packet received {"connection_id":146173,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 18:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":146173,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:08:59] local.INFO: TCP Data received {"connection_id":146174,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146174,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:08:59] local.INFO: Processing buffer {"connection_id":146174,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:08:59] local.INFO: IMEI packet received {"connection_id":146174,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 18:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":146174,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:08:59] local.INFO: TCP Data received {"connection_id":146174,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146174,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:08:59] local.INFO: Processing buffer {"connection_id":146174,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:08:59] local.INFO: IMEI packet received {"connection_id":146174,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":146174,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:09:02] local.INFO: TCP Data received {"connection_id":146174,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146174,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:09:02] local.INFO: Processing buffer {"connection_id":146174,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:09:02] local.INFO: IMEI packet received {"connection_id":146174,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":146174,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:09:03] local.INFO: TCP Data received {"connection_id":146173,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146173,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:09:03] local.INFO: Processing buffer {"connection_id":146173,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:09:03] local.INFO: IMEI packet received {"connection_id":146173,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":146173,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:09:04] local.INFO: TCP Data received {"connection_id":146173,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd53ab48012d7d50c005c7b3300002009122..."} 
[2026-08-01 18:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd53ab48012d7d50c005c7b3300002009122..."} 
[2026-08-01 18:09:04] local.INFO: Processing buffer {"connection_id":146173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd53ab48012d7d50c005c7b3300002009122..."} 
[2026-08-01 18:09:04] local.INFO: Packet analysis {"connection_id":146173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd53"} 
[2026-08-01 18:09:04] local.INFO: Extracted packet for processing {"connection_id":146173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd53"} 
[2026-08-01 18:09:04] local.INFO: GPS Element Parsed {"raw_longitude":763187392,"raw_latitude":96973616,"longitude_deg":76.3187392,"latitude_deg":9.6973616,"altitude":2,"angle":145,"satellites":34,"speed":6,"hex_longitude":"2d7d50c0","hex_latitude":"05c7b330","is_valid_coordinates":true} 
[2026-08-01 18:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110477312001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:09:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-01 18:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113563487971573760,"note":"Value kept but may cause issues"} 
[2026-08-01 18:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029717277703182336,"note":"Value kept but may cause issues"} 
[2026-08-01 18:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-01 18:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785587805000,"timestamp_ms":1785587805000,"timestamp_seconds":1785587805,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd53ab48"} 
[2026-08-01 18:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-08-01 18:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-08-01 18:09:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":-8365436251994709504,"corrected_to":0} 
[2026-08-01 18:09:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-01 18:09:04] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3176304160,"note":"Value kept but may cause issues"} 
[2026-08-01 18:09:04] local.WARNING: Large IO value detected {"io_id":116,"raw_value":2197815296,"note":"Value kept but may cause issues"} 
[2026-08-01 18:09:04] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3362271232,"note":"Value kept but may cause issues"} 
[2026-08-01 18:09:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3277804691194945624,"note":"Value kept but may cause issues"} 
[2026-08-01 18:09:04] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607154088,"note":"Value kept but may cause issues"} 
[2026-08-01 18:09:04] local.WARNING: Large IO value detected {"io_id":35,"raw_value":57887968660968752,"note":"Value kept but may cause issues"} 
[2026-08-01 18:09:04] local.WARNING: Large IO value detected {"io_id":82,"raw_value":6582012150286172165,"note":"Value kept but may cause issues"} 
[2026-08-01 18:09:04] local.WARNING: Large IO value detected {"io_id":19,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-01 18:09:04] local.WARNING: Large IO value detected {"io_id":168,"raw_value":-3674710430661470208,"note":"Value kept but may cause issues"} 
[2026-08-01 18:09:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-01 18:09:04] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,200,85,24,241,157,16,117,159,116,45,186,32,10,66,38,64,216,5,33,255,128,1,240,166,227,189,4,113,205,43,185,152,239,50,2,147,11,25,35,82,19,168,83],"length":626,"final_offset":756,"validated_count":44,"validation_warnings":[{"io_id":200,"original":-8365436251994709504,"validated":0}]} 
[2026-08-01 18:09:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144262668663193600,"timestamp_seconds":144262668663193.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 18:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110477312001,"66":13243,"200":0,"85":12288,"24":6,"16":113563487971573760,"45":9029717277703182336},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-01 18:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110477312001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:09:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113563487971573760,"km_value":113563487971573.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029717277703182336,"description":"Unknown IO ID 45"} 
[2026-08-01 18:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110477312001,"power":13243,"gsm_signal":0,"unknown_85":12288,"ignition":6,"odometer":null,"unknown_45":9029717277703182336}} 
[2026-08-01 18:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":146173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578488,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:09:04] local.INFO: GPS data processed {"connection_id":146173,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:09:04] local.INFO: Acknowledgment sent {"connection_id":146173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:09:05] local.INFO: TCP Data received {"connection_id":146174,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146174,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:09:05] local.INFO: Processing buffer {"connection_id":146174,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:09:05] local.INFO: IMEI packet received {"connection_id":146174,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":146174,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:09:06] local.INFO: TCP Data received {"connection_id":146174,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd54e3c8012d194cc0071ffaa00039007624..."} 
[2026-08-01 18:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd54e3c8012d194cc0071ffaa00039007624..."} 
[2026-08-01 18:09:06] local.INFO: Processing buffer {"connection_id":146174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd54e3c8012d194cc0071ffaa00039007624..."} 
[2026-08-01 18:09:06] local.INFO: Packet analysis {"connection_id":146174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd54"} 
[2026-08-01 18:09:06] local.INFO: Extracted packet for processing {"connection_id":146174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd54"} 
[2026-08-01 18:09:06] local.INFO: GPS Element Parsed {"raw_longitude":756632768,"raw_latitude":119536288,"longitude_deg":75.6632768,"latitude_deg":11.9536288,"altitude":57,"angle":118,"satellites":36,"speed":8,"hex_longitude":"2d194cc0","hex_latitude":"071ffaa0","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110497024001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10299657993322496,"note":"Value kept but may cause issues"} 
[2026-08-01 18:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1821565342384384000,"note":"Value kept but may cause issues"} 
[2026-08-01 18:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785587885000,"timestamp_ms":1785587885000,"timestamp_seconds":1785587885,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd54e3c8"} 
[2026-08-01 18:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18: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-08-01 18: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-01 18:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:09:06] 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-08-01 18:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110497024001,"66":13102,"102":206,"83":41984,"24":8,"16":10299657993322496,"45":1821565342384384000},"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-08-01 18:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110497024001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:09:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:09:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10299657993322496,"km_value":10299657993322.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1821565342384384000,"description":"Unknown IO ID 45"} 
[2026-08-01 18:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110497024001,"power":13102,"unknown_102":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1821565342384384000}} 
[2026-08-01 18:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":146174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:09:06] local.INFO: GPS data processed {"connection_id":146174,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:09:06] local.INFO: Acknowledgment sent {"connection_id":146174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:09:10] local.INFO: TCP Data received {"connection_id":146174,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd54e7b0012d194dc0071ff9f80039008826..."} 
[2026-08-01 18:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd54e7b0012d194dc0071ff9f80039008826..."} 
[2026-08-01 18:09:10] local.INFO: Processing buffer {"connection_id":146174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd54e7b0012d194dc0071ff9f80039008826..."} 
[2026-08-01 18:09:10] local.INFO: Packet analysis {"connection_id":146174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd54"} 
[2026-08-01 18:09:10] local.INFO: Extracted packet for processing {"connection_id":146174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd54"} 
[2026-08-01 18:09:10] local.INFO: GPS Element Parsed {"raw_longitude":756633024,"raw_latitude":119536120,"longitude_deg":75.6633024,"latitude_deg":11.953612,"altitude":57,"angle":136,"satellites":38,"speed":9,"hex_longitude":"2d194dc0","hex_latitude":"071ff9f8","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110498560001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10299670878224384,"note":"Value kept but may cause issues"} 
[2026-08-01 18:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823043086012030976,"note":"Value kept but may cause issues"} 
[2026-08-01 18: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-08-01 18:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785587886000,"timestamp_ms":1785587886000,"timestamp_seconds":1785587886,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd54e7b0"} 
[2026-08-01 18:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:09: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-08-01 18:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-01 18:09:10] 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-08-01 18: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-08-01 18:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:09: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-08-01 18:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110498560001,"66":13102,"102":206,"83":41984,"24":9,"16":10299670878224384,"45":1823043086012030976},"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-08-01 18:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110498560001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:09:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:09:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10299670878224384,"km_value":10299670878224.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823043086012030976,"description":"Unknown IO ID 45"} 
[2026-08-01 18:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110498560001,"power":13102,"unknown_102":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1823043086012030976}} 
[2026-08-01 18:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":146174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:09:10] local.INFO: GPS data processed {"connection_id":146174,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:09:10] local.INFO: Acknowledgment sent {"connection_id":146174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:09:20] local.INFO: TCP Data received {"connection_id":146172,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd5364f8012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd5364f8012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:09:20] local.INFO: Processing buffer {"connection_id":146172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd5364f8012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:09:20] local.INFO: Packet analysis {"connection_id":146172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd53"} 
[2026-08-01 18:09:20] local.INFO: Extracted packet for processing {"connection_id":146172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd53"} 
[2026-08-01 18:09:20] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466520,"longitude_deg":75.382368,"latitude_deg":12.046652,"altitude":53,"angle":90,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c58","is_valid_coordinates":true} 
[2026-08-01 18:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110396416001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366709779520815104,"note":"Value kept but may cause issues"} 
[2026-08-01 18:09:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195857920,"note":"Value kept but may cause issues"} 
[2026-08-01 18:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785587787000,"timestamp_ms":1785587787000,"timestamp_seconds":1785587787,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd5364f8"} 
[2026-08-01 18:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:09:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 18:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-01 18:09:20] 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-08-01 18:09:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:09:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110396416001,"66":26115,"219":206,"83":44032,"24":0,"16":366709779520815104,"44":-1265581833195857920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-01 18:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110396416001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:09:20] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 18:09:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366709779520815104,"km_value":366709779520815.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:09:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195857920,"description":"Unknown IO ID 44"} 
[2026-08-01 18:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110396416001,"power":26115,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195857920}} 
[2026-08-01 18:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":146172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:09:20] local.INFO: GPS data processed {"connection_id":146172,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:09:20] local.INFO: Acknowledgment sent {"connection_id":146172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:09:39] local.INFO: TCP Data received {"connection_id":146173,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd53f580012d7d66c005c795900003008a21..."} 
[2026-08-01 18:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd53f580012d7d66c005c795900003008a21..."} 
[2026-08-01 18:09:39] local.INFO: Processing buffer {"connection_id":146173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd53f580012d7d66c005c795900003008a21..."} 
[2026-08-01 18:09:39] local.INFO: Packet analysis {"connection_id":146173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd53"} 
[2026-08-01 18:09:39] local.INFO: Extracted packet for processing {"connection_id":146173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd53"} 
[2026-08-01 18:09:39] local.INFO: GPS Element Parsed {"raw_longitude":763193024,"raw_latitude":96966032,"longitude_deg":76.3193024,"latitude_deg":9.6966032,"altitude":3,"angle":138,"satellites":33,"speed":25,"hex_longitude":"2d7d66c0","hex_latitude":"05c79590","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110478080001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:09:39] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-01 18:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113563947533074432,"note":"Value kept but may cause issues"} 
[2026-08-01 18:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029928383935623168,"note":"Value kept but may cause issues"} 
[2026-08-01 18:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-01 18:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785587824000,"timestamp_ms":1785587824000,"timestamp_seconds":1785587824,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd53f580"} 
[2026-08-01 18:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:09: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-08-01 18: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-01 18:09:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:09:39] 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-08-01 18:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110478080001,"66":13406,"200":0,"85":12288,"24":25,"16":113563947533074432,"45":9029928383935623168},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-01 18:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110478080001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:09:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113563947533074432,"km_value":113563947533074.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029928383935623168,"description":"Unknown IO ID 45"} 
[2026-08-01 18:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110478080001,"power":13406,"gsm_signal":0,"unknown_85":12288,"ignition":25,"odometer":null,"unknown_45":9029928383935623168}} 
[2026-08-01 18:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":146173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578492,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:09:39] local.INFO: GPS data processed {"connection_id":146173,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:09:39] local.INFO: Acknowledgment sent {"connection_id":146173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:09:41] local.INFO: TCP Data received {"connection_id":146174,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd54eb98012d194e00071ff928003a009f26..."} 
[2026-08-01 18:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd54eb98012d194e00071ff928003a009f26..."} 
[2026-08-01 18:09:41] local.INFO: Processing buffer {"connection_id":146174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd54eb98012d194e00071ff928003a009f26..."} 
[2026-08-01 18:09:41] local.INFO: Packet analysis {"connection_id":146174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd54"} 
[2026-08-01 18:09:41] local.INFO: Extracted packet for processing {"connection_id":146174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd54"} 
[2026-08-01 18:09:41] local.INFO: GPS Element Parsed {"raw_longitude":756633088,"raw_latitude":119535912,"longitude_deg":75.6633088,"latitude_deg":11.9535912,"altitude":58,"angle":159,"satellites":38,"speed":9,"hex_longitude":"2d194e00","hex_latitude":"071ff928","is_valid_coordinates":true} 
[2026-08-01 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-08-01 18:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110498816001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10299683763126272,"note":"Value kept but may cause issues"} 
[2026-08-01 18:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823324560988698624,"note":"Value kept but may cause issues"} 
[2026-08-01 18: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-08-01 18:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785587887000,"timestamp_ms":1785587887000,"timestamp_seconds":1785587887,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd54eb98"} 
[2026-08-01 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-08-01 18:09: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-08-01 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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-01 18:09:41] 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-08-01 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-08-01 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-08-01 18:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":146174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":146174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":146174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:09: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-08-01 18:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110498816001,"66":13015,"102":206,"83":41984,"24":9,"16":10299683763126272,"45":1823324560988698624},"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-08-01 18:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110498816001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:09:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:09:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10299683763126272,"km_value":10299683763126.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823324560988698624,"description":"Unknown IO ID 45"} 
[2026-08-01 18:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110498816001,"power":13015,"unknown_102":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1823324560988698624}} 
[2026-08-01 18:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":146174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:09:41] local.INFO: GPS data processed {"connection_id":146174,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:09:41] local.INFO: Acknowledgment sent {"connection_id":146174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:09:49] local.INFO: TCP Data received {"connection_id":147394,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:09:49] local.INFO: Processing buffer {"connection_id":147394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:09:49] local.INFO: IMEI packet received {"connection_id":147394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":147394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:09:54] local.INFO: TCP Data received {"connection_id":147394,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:09:54] local.INFO: Processing buffer {"connection_id":147394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:09:54] local.INFO: IMEI packet received {"connection_id":147394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":147394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:09:54] local.INFO: TCP Data received {"connection_id":147394,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd5364f8012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd5364f8012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:09:54] local.INFO: Processing buffer {"connection_id":147394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd5364f8012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:09:54] local.INFO: Packet analysis {"connection_id":147394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd53"} 
[2026-08-01 18:09:54] local.INFO: Extracted packet for processing {"connection_id":147394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd53"} 
[2026-08-01 18:09:54] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466520,"longitude_deg":75.382368,"latitude_deg":12.046652,"altitude":53,"angle":90,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c58","is_valid_coordinates":true} 
[2026-08-01 18:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110396416001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:09:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366709779520815104,"note":"Value kept but may cause issues"} 
[2026-08-01 18:09:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195857920,"note":"Value kept but may cause issues"} 
[2026-08-01 18:09:54] 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-08-01 18:09:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785587787000,"timestamp_ms":1785587787000,"timestamp_seconds":1785587787,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd5364f8"} 
[2026-08-01 18:09:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:09:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 18:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-01 18:09:54] 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-08-01 18:09:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:09:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:09:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:09:54] local.INFO: Teltonika packet parsed successfully {"connection_id":147394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:09:54] local.INFO: Passing IMEI to GPS processor {"connection_id":147394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:09:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":147394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:09:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:09:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:09:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:09:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110396416001,"66":26115,"219":206,"83":44032,"24":0,"16":366709779520815104,"44":-1265581833195857920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-01 18:09:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:09:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:09:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110396416001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:09:54] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 18:09:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:09:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366709779520815104,"km_value":366709779520815.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:09:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195857920,"description":"Unknown IO ID 44"} 
[2026-08-01 18:09:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110396416001,"power":26115,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195857920}} 
[2026-08-01 18:09:54] local.INFO: DEBUG: GPS processor result {"connection_id":147394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:09:54] local.INFO: GPS data processed {"connection_id":147394,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:09:54] local.INFO: Acknowledgment sent {"connection_id":147394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:09:57] local.INFO: TCP Data received {"connection_id":146175,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146175,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:09:57] local.INFO: Processing buffer {"connection_id":146175,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:09:57] local.INFO: IMEI packet received {"connection_id":146175,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 18:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":146175,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:09:59] local.INFO: TCP Data received {"connection_id":147394,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd5364f8012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd5364f8012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:09:59] local.INFO: Processing buffer {"connection_id":147394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd5364f8012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:09:59] local.INFO: Packet analysis {"connection_id":147394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd53"} 
[2026-08-01 18:09:59] local.INFO: Extracted packet for processing {"connection_id":147394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd53"} 
[2026-08-01 18:09:59] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466520,"longitude_deg":75.382368,"latitude_deg":12.046652,"altitude":53,"angle":90,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c58","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110396416001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366709779520815104,"note":"Value kept but may cause issues"} 
[2026-08-01 18:09:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195857920,"note":"Value kept but may cause issues"} 
[2026-08-01 18:09:59] 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-08-01 18:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785587787000,"timestamp_ms":1785587787000,"timestamp_seconds":1785587787,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd5364f8"} 
[2026-08-01 18:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:09: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-08-01 18: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-01 18:09:59] 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-08-01 18: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-08-01 18:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":147394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":147394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":147394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:09: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-08-01 18:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110396416001,"66":26115,"219":206,"83":44032,"24":0,"16":366709779520815104,"44":-1265581833195857920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-01 18:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110396416001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:09:59] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 18:09:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366709779520815104,"km_value":366709779520815.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:09:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195857920,"description":"Unknown IO ID 44"} 
[2026-08-01 18:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110396416001,"power":26115,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195857920}} 
[2026-08-01 18:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":147394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:09:59] local.INFO: GPS data processed {"connection_id":147394,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:09:59] local.INFO: Acknowledgment sent {"connection_id":147394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:10:00] local.INFO: TCP Data received {"connection_id":146176,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:10:00] local.INFO: Processing buffer {"connection_id":146176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:10:00] local.INFO: IMEI packet received {"connection_id":146176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 18:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":146176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:10:03] local.INFO: TCP Data received {"connection_id":146175,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146175,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:10:03] local.INFO: Processing buffer {"connection_id":146175,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:10:03] local.INFO: IMEI packet received {"connection_id":146175,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":146175,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:10:04] local.INFO: TCP Data received {"connection_id":146175,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd542078012d7d820005c77a480003008322..."} 
[2026-08-01 18:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd542078012d7d820005c77a480003008322..."} 
[2026-08-01 18:10:04] local.INFO: Processing buffer {"connection_id":146175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd542078012d7d820005c77a480003008322..."} 
[2026-08-01 18:10:04] local.INFO: Packet analysis {"connection_id":146175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd54"} 
[2026-08-01 18:10:04] local.INFO: Extracted packet for processing {"connection_id":146175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd54"} 
[2026-08-01 18:10:04] local.INFO: GPS Element Parsed {"raw_longitude":763200000,"raw_latitude":96959048,"longitude_deg":76.32,"latitude_deg":9.6959048,"altitude":3,"angle":131,"satellites":34,"speed":39,"hex_longitude":"2d7d8200","hex_latitude":"05c77a48","is_valid_coordinates":true} 
[2026-08-01 18:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110482944001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:10:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-01 18:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113564419979476992,"note":"Value kept but may cause issues"} 
[2026-08-01 18:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9036120833421316096,"note":"Value kept but may cause issues"} 
[2026-08-01 18:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-01 18:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785587835000,"timestamp_ms":1785587835000,"timestamp_seconds":1785587835,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd542078"} 
[2026-08-01 18:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:10:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-01 18:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:10:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110482944001,"66":13450,"200":0,"85":12288,"24":39,"16":113564419979476992,"45":9036120833421316096},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-01 18:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110482944001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:10:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113564419979476992,"km_value":113564419979476.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9036120833421316096,"description":"Unknown IO ID 45"} 
[2026-08-01 18:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110482944001,"power":13450,"gsm_signal":0,"unknown_85":12288,"ignition":39,"odometer":null,"unknown_45":9036120833421316096}} 
[2026-08-01 18:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":146175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578496,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:10:04] local.INFO: GPS data processed {"connection_id":146175,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:10:04] local.INFO: Acknowledgment sent {"connection_id":146175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:10:05] local.INFO: TCP Data received {"connection_id":146176,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:10:05] local.INFO: Processing buffer {"connection_id":146176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:10:05] local.INFO: IMEI packet received {"connection_id":146176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":146176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:10:06] local.INFO: TCP Data received {"connection_id":146176,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd54f750012d194f40071ff668003a009028..."} 
[2026-08-01 18:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd54f750012d194f40071ff668003a009028..."} 
[2026-08-01 18:10:06] local.INFO: Processing buffer {"connection_id":146176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd54f750012d194f40071ff668003a009028..."} 
[2026-08-01 18:10:06] local.INFO: Packet analysis {"connection_id":146176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd54"} 
[2026-08-01 18:10:06] local.INFO: Extracted packet for processing {"connection_id":146176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd54"} 
[2026-08-01 18:10:06] local.INFO: GPS Element Parsed {"raw_longitude":756633408,"raw_latitude":119535208,"longitude_deg":75.6633408,"latitude_deg":11.9535208,"altitude":58,"angle":144,"satellites":40,"speed":10,"hex_longitude":"2d194f40","hex_latitude":"071ff668","is_valid_coordinates":true} 
[2026-08-01 18:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110499072001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10299722417831936,"note":"Value kept but may cause issues"} 
[2026-08-01 18:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823394929732823040,"note":"Value kept but may cause issues"} 
[2026-08-01 18:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785587890000,"timestamp_ms":1785587890000,"timestamp_seconds":1785587890,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd54f750"} 
[2026-08-01 18:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:10: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-08-01 18:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-01 18:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:10:06] 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-08-01 18:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110499072001,"66":12461,"102":206,"83":41984,"24":10,"16":10299722417831936,"45":1823394929732823040},"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-08-01 18:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110499072001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:10:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:10:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10299722417831936,"km_value":10299722417831.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823394929732823040,"description":"Unknown IO ID 45"} 
[2026-08-01 18:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110499072001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1823394929732823040}} 
[2026-08-01 18:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":146176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:10:06] local.INFO: GPS data processed {"connection_id":146176,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:10:06] local.INFO: Acknowledgment sent {"connection_id":146176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:10:35] local.INFO: TCP Data received {"connection_id":146175,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd544788012d7d9fc005c763980005007b20..."} 
[2026-08-01 18:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd544788012d7d9fc005c763980005007b20..."} 
[2026-08-01 18:10:35] local.INFO: Processing buffer {"connection_id":146175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd544788012d7d9fc005c763980005007b20..."} 
[2026-08-01 18:10:35] local.INFO: Packet analysis {"connection_id":146175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd54"} 
[2026-08-01 18:10:35] local.INFO: Extracted packet for processing {"connection_id":146175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd54"} 
[2026-08-01 18:10:35] local.INFO: GPS Element Parsed {"raw_longitude":763207616,"raw_latitude":96953240,"longitude_deg":76.3207616,"latitude_deg":9.695324,"altitude":5,"angle":123,"satellites":32,"speed":34,"hex_longitude":"2d7d9fc0","hex_latitude":"05c76398","is_valid_coordinates":true} 
[2026-08-01 18:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110485760001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:10:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-01 18:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113564883835944960,"note":"Value kept but may cause issues"} 
[2026-08-01 18:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9043791026534893568,"note":"Value kept but may cause issues"} 
[2026-08-01 18:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-01 18:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785587845000,"timestamp_ms":1785587845000,"timestamp_seconds":1785587845,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd544788"} 
[2026-08-01 18:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-01 18:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:10:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110485760001,"66":13450,"200":0,"85":12288,"24":34,"16":113564883835944960,"45":9043791026534893568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-01 18:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110485760001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:10:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113564883835944960,"km_value":113564883835944.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9043791026534893568,"description":"Unknown IO ID 45"} 
[2026-08-01 18:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110485760001,"power":13450,"gsm_signal":0,"unknown_85":12288,"ignition":34,"odometer":null,"unknown_45":9043791026534893568}} 
[2026-08-01 18:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":146175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578498,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:10:35] local.INFO: GPS data processed {"connection_id":146175,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:10:35] local.INFO: Acknowledgment sent {"connection_id":146175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:10:37] local.INFO: TCP Data received {"connection_id":146176,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd54fb38012d195000071ff590003a008329..."} 
[2026-08-01 18:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd54fb38012d195000071ff590003a008329..."} 
[2026-08-01 18:10:37] local.INFO: Processing buffer {"connection_id":146176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd54fb38012d195000071ff590003a008329..."} 
[2026-08-01 18:10:37] local.INFO: Packet analysis {"connection_id":146176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd54"} 
[2026-08-01 18:10:37] local.INFO: Extracted packet for processing {"connection_id":146176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd54"} 
[2026-08-01 18:10:37] local.INFO: GPS Element Parsed {"raw_longitude":756633600,"raw_latitude":119534992,"longitude_deg":75.66336,"latitude_deg":11.9534992,"altitude":58,"angle":131,"satellites":41,"speed":12,"hex_longitude":"2d195000","hex_latitude":"071ff590","is_valid_coordinates":true} 
[2026-08-01 18:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110499840001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10299735302733824,"note":"Value kept but may cause issues"} 
[2026-08-01 18:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823746773453531136,"note":"Value kept but may cause issues"} 
[2026-08-01 18:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785587891000,"timestamp_ms":1785587891000,"timestamp_seconds":1785587891,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd54fb38"} 
[2026-08-01 18:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:10: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-08-01 18:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 18:10:37] 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-08-01 18:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:10:37] 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-08-01 18:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110499840001,"66":12841,"102":206,"83":41984,"24":12,"16":10299735302733824,"45":1823746773453531136},"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-08-01 18:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110499840001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:10:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:10:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10299735302733824,"km_value":10299735302733.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823746773453531136,"description":"Unknown IO ID 45"} 
[2026-08-01 18:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110499840001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1823746773453531136}} 
[2026-08-01 18:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":146176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578499,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:10:37] local.INFO: GPS data processed {"connection_id":146176,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:10:37] local.INFO: Acknowledgment sent {"connection_id":146176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:10:44] local.INFO: TCP Data received {"connection_id":148702,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:10:44] local.INFO: Processing buffer {"connection_id":148702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:10:44] local.INFO: IMEI packet received {"connection_id":148702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":148702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:10:49] local.INFO: TCP Data received {"connection_id":148702,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:10:49] local.INFO: Processing buffer {"connection_id":148702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:10:49] local.INFO: IMEI packet received {"connection_id":148702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":148702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:10:58] local.INFO: TCP Data received {"connection_id":146394,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146394,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:10:58] local.INFO: Processing buffer {"connection_id":146394,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:10:58] local.INFO: IMEI packet received {"connection_id":146394,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 18:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":146394,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:10:59] local.INFO: TCP Data received {"connection_id":146395,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:10:59] local.INFO: Processing buffer {"connection_id":146395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:10:59] local.INFO: IMEI packet received {"connection_id":146395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 18:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":146395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:11:03] local.INFO: TCP Data received {"connection_id":146394,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146394,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:11:03] local.INFO: Processing buffer {"connection_id":146394,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:11:03] local.INFO: IMEI packet received {"connection_id":146394,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":146394,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:11:04] local.INFO: TCP Data received {"connection_id":146394,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd548608012d7dbcc005c74fd80006008121..."} 
[2026-08-01 18:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd548608012d7dbcc005c74fd80006008121..."} 
[2026-08-01 18:11:04] local.INFO: Processing buffer {"connection_id":146394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd548608012d7dbcc005c74fd80006008121..."} 
[2026-08-01 18:11:04] local.INFO: Packet analysis {"connection_id":146394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd54"} 
[2026-08-01 18:11:04] local.INFO: Extracted packet for processing {"connection_id":146394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd54"} 
[2026-08-01 18:11:04] local.INFO: GPS Element Parsed {"raw_longitude":763215040,"raw_latitude":96948184,"longitude_deg":76.321504,"latitude_deg":9.6948184,"altitude":6,"angle":129,"satellites":33,"speed":0,"hex_longitude":"2d7dbcc0","hex_latitude":"05c74fd8","is_valid_coordinates":true} 
[2026-08-01 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-08-01 18:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110488320001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:11:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-01 18:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113565313332674560,"note":"Value kept but may cause issues"} 
[2026-08-01 18:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9052164907090548736,"note":"Value kept but may cause issues"} 
[2026-08-01 18:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-01 18:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785587861000,"timestamp_ms":1785587861000,"timestamp_seconds":1785587861,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd548608"} 
[2026-08-01 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-08-01 18:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-01 18:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 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-08-01 18:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110488320001,"66":13374,"200":0,"85":12288,"24":0,"16":113565313332674560,"45":9052164907090548736},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-01 18:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110488320001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:11:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113565313332674560,"km_value":113565313332674.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9052164907090548736,"description":"Unknown IO ID 45"} 
[2026-08-01 18:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110488320001,"power":13374,"gsm_signal":0,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9052164907090548736}} 
[2026-08-01 18:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":146394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578500,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:11:04] local.INFO: GPS data processed {"connection_id":146394,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:11:04] local.INFO: Acknowledgment sent {"connection_id":146394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:11:05] local.INFO: TCP Data received {"connection_id":146395,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:11:05] local.INFO: Processing buffer {"connection_id":146395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:11:05] local.INFO: IMEI packet received {"connection_id":146395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":146395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:11:06] local.INFO: TCP Data received {"connection_id":146395,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd54ff20012d195100071ff4d8003a007629..."} 
[2026-08-01 18:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd54ff20012d195100071ff4d8003a007629..."} 
[2026-08-01 18:11:06] local.INFO: Processing buffer {"connection_id":146395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd54ff20012d195100071ff4d8003a007629..."} 
[2026-08-01 18:11:06] local.INFO: Packet analysis {"connection_id":146395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd54"} 
[2026-08-01 18:11:06] local.INFO: Extracted packet for processing {"connection_id":146395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd54"} 
[2026-08-01 18:11:06] local.INFO: GPS Element Parsed {"raw_longitude":756633856,"raw_latitude":119534808,"longitude_deg":75.6633856,"latitude_deg":11.9534808,"altitude":58,"angle":118,"satellites":41,"speed":12,"hex_longitude":"2d195100","hex_latitude":"071ff4d8","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110500096001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10299748187635712,"note":"Value kept but may cause issues"} 
[2026-08-01 18:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823957879686008832,"note":"Value kept but may cause issues"} 
[2026-08-01 18:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785587892000,"timestamp_ms":1785587892000,"timestamp_seconds":1785587892,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd54ff20"} 
[2026-08-01 18:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:11: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-08-01 18: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-01 18:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:11:06] 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-08-01 18:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110500096001,"66":12841,"102":206,"83":41984,"24":12,"16":10299748187635712,"45":1823957879686008832},"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-08-01 18:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110500096001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:11:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:11:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10299748187635712,"km_value":10299748187635.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823957879686008832,"description":"Unknown IO ID 45"} 
[2026-08-01 18:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110500096001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1823957879686008832}} 
[2026-08-01 18:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":146395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:11:06] local.INFO: GPS data processed {"connection_id":146395,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:11:06] local.INFO: Acknowledgment sent {"connection_id":146395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:11:14] local.INFO: TCP Data received {"connection_id":148702,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd5364f8012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd5364f8012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:11:14] local.INFO: Processing buffer {"connection_id":148702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd5364f8012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:11:14] local.INFO: Packet analysis {"connection_id":148702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd53"} 
[2026-08-01 18:11:14] local.INFO: Extracted packet for processing {"connection_id":148702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd53"} 
[2026-08-01 18:11:14] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466520,"longitude_deg":75.382368,"latitude_deg":12.046652,"altitude":53,"angle":90,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c58","is_valid_coordinates":true} 
[2026-08-01 18:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:11:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110396416001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:11:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366709779520815104,"note":"Value kept but may cause issues"} 
[2026-08-01 18:11:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195857920,"note":"Value kept but may cause issues"} 
[2026-08-01 18:11:14] 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-08-01 18:11:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785587787000,"timestamp_ms":1785587787000,"timestamp_seconds":1785587787,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd5364f8"} 
[2026-08-01 18:11:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:11:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 18:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-01 18:11:14] 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-08-01 18:11:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:11:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:11:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:11:14] local.INFO: Teltonika packet parsed successfully {"connection_id":148702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:11:14] local.INFO: Passing IMEI to GPS processor {"connection_id":148702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:11:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":148702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:11:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:11:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:11:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:11:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110396416001,"66":26115,"219":206,"83":44032,"24":0,"16":366709779520815104,"44":-1265581833195857920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-01 18:11:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:11:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:11:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110396416001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:11:14] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 18:11:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:11:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366709779520815104,"km_value":366709779520815.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:11:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195857920,"description":"Unknown IO ID 44"} 
[2026-08-01 18:11:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110396416001,"power":26115,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195857920}} 
[2026-08-01 18:11:14] local.INFO: DEBUG: GPS processor result {"connection_id":148702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:11:14] local.INFO: GPS data processed {"connection_id":148702,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:11:14] local.INFO: Acknowledgment sent {"connection_id":148702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:11:35] local.INFO: TCP Data received {"connection_id":146394,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd5750e0012d7e7e0005c6c408000b007f24..."} 
[2026-08-01 18:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd5750e0012d7e7e0005c6c408000b007f24..."} 
[2026-08-01 18:11:35] local.INFO: Processing buffer {"connection_id":146394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd5750e0012d7e7e0005c6c408000b007f24..."} 
[2026-08-01 18:11:35] local.INFO: Packet analysis {"connection_id":146394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd57"} 
[2026-08-01 18:11:35] local.INFO: Extracted packet for processing {"connection_id":146394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd57"} 
[2026-08-01 18:11:35] local.INFO: GPS Element Parsed {"raw_longitude":763264512,"raw_latitude":96912392,"longitude_deg":76.3264512,"latitude_deg":9.6912392,"altitude":11,"angle":127,"satellites":36,"speed":0,"hex_longitude":"2d7e7e00","hex_latitude":"05c6c408","is_valid_coordinates":true} 
[2026-08-01 18:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110533888001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113568259680239616,"note":"Value kept but may cause issues"} 
[2026-08-01 18:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9114722720654034944,"note":"Value kept but may cause issues"} 
[2026-08-01 18:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785588044000,"timestamp_ms":1785588044000,"timestamp_seconds":1785588044,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd5750e0"} 
[2026-08-01 18:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-01 18:11:35] 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-08-01 18:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110533888001,"66":13341,"89":206,"85":12288,"24":0,"16":113568259680239616,"45":9114722720654034944},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-01 18:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110533888001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:11:35] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 18:11:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113568259680239616,"km_value":113568259680239.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9114722720654034944,"description":"Unknown IO ID 45"} 
[2026-08-01 18:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110533888001,"power":13341,"unknown_89":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9114722720654034944}} 
[2026-08-01 18:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":146394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578503,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:11:35] local.INFO: GPS data processed {"connection_id":146394,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:11:35] local.INFO: Acknowledgment sent {"connection_id":146394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:11:37] local.INFO: TCP Data received {"connection_id":146395,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd552248012d195e00071ff0000039006827..."} 
[2026-08-01 18:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd552248012d195e00071ff0000039006827..."} 
[2026-08-01 18:11:37] local.INFO: Processing buffer {"connection_id":146395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd552248012d195e00071ff0000039006827..."} 
[2026-08-01 18:11:37] local.INFO: Packet analysis {"connection_id":146395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd55"} 
[2026-08-01 18:11:37] local.INFO: Extracted packet for processing {"connection_id":146395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd55"} 
[2026-08-01 18:11:37] local.INFO: GPS Element Parsed {"raw_longitude":756637184,"raw_latitude":119533568,"longitude_deg":75.6637184,"latitude_deg":11.9533568,"altitude":57,"angle":104,"satellites":39,"speed":13,"hex_longitude":"2d195e00","hex_latitude":"071ff000","is_valid_coordinates":true} 
[2026-08-01 18:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110500352001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10299919986327552,"note":"Value kept but may cause issues"} 
[2026-08-01 18:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824239354662672384,"note":"Value kept but may cause issues"} 
[2026-08-01 18:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785587901000,"timestamp_ms":1785587901000,"timestamp_seconds":1785587901,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd552248"} 
[2026-08-01 18:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-01 18:11:37] 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-08-01 18:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:11:37] 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-08-01 18:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110500352001,"66":13091,"102":206,"83":41984,"24":13,"16":10299919986327552,"45":1824239354662672384},"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-08-01 18:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110500352001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:11:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:11:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10299919986327552,"km_value":10299919986327.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824239354662672384,"description":"Unknown IO ID 45"} 
[2026-08-01 18:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110500352001,"power":13091,"unknown_102":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1824239354662672384}} 
[2026-08-01 18:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":146395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:11:37] local.INFO: GPS data processed {"connection_id":146395,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:11:37] local.INFO: Acknowledgment sent {"connection_id":146395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:11:44] local.INFO: TCP Data received {"connection_id":146396,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:11:44] local.INFO: Processing buffer {"connection_id":146396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:11:44] local.INFO: IMEI packet received {"connection_id":146396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":146396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:11:49] local.INFO: TCP Data received {"connection_id":146396,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:11:49] local.INFO: Processing buffer {"connection_id":146396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:11:49] local.INFO: IMEI packet received {"connection_id":146396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":146396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:11:49] local.INFO: TCP Data received {"connection_id":146396,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd5364f8012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd5364f8012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:11:49] local.INFO: Processing buffer {"connection_id":146396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd5364f8012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:11:49] local.INFO: Packet analysis {"connection_id":146396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd53"} 
[2026-08-01 18:11:49] local.INFO: Extracted packet for processing {"connection_id":146396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd53"} 
[2026-08-01 18:11:49] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466520,"longitude_deg":75.382368,"latitude_deg":12.046652,"altitude":53,"angle":90,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c58","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110396416001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:11:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366709779520815104,"note":"Value kept but may cause issues"} 
[2026-08-01 18:11:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195857920,"note":"Value kept but may cause issues"} 
[2026-08-01 18:11:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:11:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785587787000,"timestamp_ms":1785587787000,"timestamp_seconds":1785587787,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd5364f8"} 
[2026-08-01 18:11:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:11:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 18: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-01 18:11:49] 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-08-01 18: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-08-01 18:11:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:11:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:11:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:11:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:11:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:11:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:11:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:11:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:11:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110396416001,"66":26115,"219":206,"83":44032,"24":0,"16":366709779520815104,"44":-1265581833195857920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-01 18:11:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:11:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:11:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110396416001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:11:49] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 18:11:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:11:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366709779520815104,"km_value":366709779520815.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:11:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195857920,"description":"Unknown IO ID 44"} 
[2026-08-01 18:11:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110396416001,"power":26115,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195857920}} 
[2026-08-01 18:11:49] local.INFO: DEBUG: GPS processor result {"connection_id":146396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:11:49] local.INFO: GPS data processed {"connection_id":146396,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:11:49] local.INFO: Acknowledgment sent {"connection_id":146396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:11:58] local.INFO: TCP Data received {"connection_id":147395,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147395,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:11:58] local.INFO: Processing buffer {"connection_id":147395,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:11:58] local.INFO: IMEI packet received {"connection_id":147395,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 18:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":147395,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:11:59] local.INFO: TCP Data received {"connection_id":148703,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:11:59] local.INFO: Processing buffer {"connection_id":148703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:11:59] local.INFO: IMEI packet received {"connection_id":148703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 18:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":148703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:12:03] local.INFO: TCP Data received {"connection_id":147395,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147395,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:12:03] local.INFO: Processing buffer {"connection_id":147395,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:12:03] local.INFO: IMEI packet received {"connection_id":147395,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":147395,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:12:04] local.INFO: TCP Data received {"connection_id":147395,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd57a2e8012d7e7e0005c6c408000b007f22..."} 
[2026-08-01 18:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd57a2e8012d7e7e0005c6c408000b007f22..."} 
[2026-08-01 18:12:04] local.INFO: Processing buffer {"connection_id":147395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd57a2e8012d7e7e0005c6c408000b007f22..."} 
[2026-08-01 18:12:04] local.INFO: Packet analysis {"connection_id":147395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd57"} 
[2026-08-01 18:12:04] local.INFO: Extracted packet for processing {"connection_id":147395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd57"} 
[2026-08-01 18:12:04] local.INFO: GPS Element Parsed {"raw_longitude":763264512,"raw_latitude":96912392,"longitude_deg":76.3264512,"latitude_deg":9.6912392,"altitude":11,"angle":127,"satellites":34,"speed":0,"hex_longitude":"2d7e7e00","hex_latitude":"05c6c408","is_valid_coordinates":true} 
[2026-08-01 18:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110539264001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113568259680239616,"note":"Value kept but may cause issues"} 
[2026-08-01 18:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9114722720654034944,"note":"Value kept but may cause issues"} 
[2026-08-01 18:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785588065000,"timestamp_ms":1785588065000,"timestamp_seconds":1785588065,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd57a2e8"} 
[2026-08-01 18:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-01 18:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110539264001,"66":12939,"89":206,"85":12288,"24":0,"16":113568259680239616,"45":9114722720654034944},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-01 18:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110539264001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:12:04] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 18:12:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113568259680239616,"km_value":113568259680239.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9114722720654034944,"description":"Unknown IO ID 45"} 
[2026-08-01 18:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110539264001,"power":12939,"unknown_89":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9114722720654034944}} 
[2026-08-01 18:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":147395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578506,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:12:05] local.INFO: GPS data processed {"connection_id":147395,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:12:05] local.INFO: Acknowledgment sent {"connection_id":147395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:12:05] local.INFO: TCP Data received {"connection_id":148703,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:12:05] local.INFO: Processing buffer {"connection_id":148703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:12:05] local.INFO: IMEI packet received {"connection_id":148703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":148703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:12:05] local.INFO: TCP Data received {"connection_id":148703,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd552e00012d196180071fef60003a005d28..."} 
[2026-08-01 18:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd552e00012d196180071fef60003a005d28..."} 
[2026-08-01 18:12:05] local.INFO: Processing buffer {"connection_id":148703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd552e00012d196180071fef60003a005d28..."} 
[2026-08-01 18:12:05] local.INFO: Packet analysis {"connection_id":148703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd55"} 
[2026-08-01 18:12:05] local.INFO: Extracted packet for processing {"connection_id":148703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd55"} 
[2026-08-01 18:12:05] local.INFO: GPS Element Parsed {"raw_longitude":756638080,"raw_latitude":119533408,"longitude_deg":75.663808,"latitude_deg":11.9533408,"altitude":58,"angle":93,"satellites":40,"speed":9,"hex_longitude":"2d196180","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-08-01 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-08-01 18:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110502656001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10299962936000512,"note":"Value kept but may cause issues"} 
[2026-08-01 18:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827898529359593472,"note":"Value kept but may cause issues"} 
[2026-08-01 18:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785587904000,"timestamp_ms":1785587904000,"timestamp_seconds":1785587904,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd552e00"} 
[2026-08-01 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-08-01 18:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-01 18:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 18:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:12:05] 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-08-01 18:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110502656001,"66":13004,"102":206,"83":41984,"24":9,"16":10299962936000512,"45":1827898529359593472},"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-08-01 18:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110502656001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:12:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:12:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10299962936000512,"km_value":10299962936000.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827898529359593472,"description":"Unknown IO ID 45"} 
[2026-08-01 18:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110502656001,"power":13004,"unknown_102":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1827898529359593472}} 
[2026-08-01 18:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":148703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:12:06] local.INFO: GPS data processed {"connection_id":148703,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:12:06] local.INFO: Acknowledgment sent {"connection_id":148703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:12:21] local.INFO: TCP Data received {"connection_id":146396,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd57fcc0012cee6fc0072e2c580035005a28..."} 
[2026-08-01 18:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd57fcc0012cee6fc0072e2c580035005a28..."} 
[2026-08-01 18:12:21] local.INFO: Processing buffer {"connection_id":146396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd57fcc0012cee6fc0072e2c580035005a28..."} 
[2026-08-01 18:12:21] local.INFO: Packet analysis {"connection_id":146396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd57"} 
[2026-08-01 18:12:21] local.INFO: Extracted packet for processing {"connection_id":146396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd57"} 
[2026-08-01 18:12:21] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466520,"longitude_deg":75.382368,"latitude_deg":12.046652,"altitude":53,"angle":90,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c58","is_valid_coordinates":true} 
[2026-08-01 18:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110473472001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366709779520815104,"note":"Value kept but may cause issues"} 
[2026-08-01 18:12:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195857920,"note":"Value kept but may cause issues"} 
[2026-08-01 18:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785588088000,"timestamp_ms":1785588088000,"timestamp_seconds":1785588088,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd57fcc0"} 
[2026-08-01 18:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:12:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 18:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-01 18:12:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:12:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:12:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110473472001,"66":25962,"219":206,"83":44032,"24":0,"16":366709779520815104,"44":-1265581833195857920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-01 18:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110473472001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:12:21] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 18:12:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366709779520815104,"km_value":366709779520815.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:12:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195857920,"description":"Unknown IO ID 44"} 
[2026-08-01 18:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110473472001,"power":25962,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195857920}} 
[2026-08-01 18:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":146396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:12:21] local.INFO: GPS data processed {"connection_id":146396,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:12:21] local.INFO: Acknowledgment sent {"connection_id":146396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:12:36] local.INFO: TCP Data received {"connection_id":147395,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd57f4f0012d7e7e0005c6c408000b007f23..."} 
[2026-08-01 18:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd57f4f0012d7e7e0005c6c408000b007f23..."} 
[2026-08-01 18:12:36] local.INFO: Processing buffer {"connection_id":147395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd57f4f0012d7e7e0005c6c408000b007f23..."} 
[2026-08-01 18:12:36] local.INFO: Packet analysis {"connection_id":147395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd57"} 
[2026-08-01 18:12:36] local.INFO: Extracted packet for processing {"connection_id":147395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd57"} 
[2026-08-01 18:12:36] local.INFO: GPS Element Parsed {"raw_longitude":763264512,"raw_latitude":96912392,"longitude_deg":76.3264512,"latitude_deg":9.6912392,"altitude":11,"angle":127,"satellites":35,"speed":0,"hex_longitude":"2d7e7e00","hex_latitude":"05c6c408","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110544640001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113568259680239616,"note":"Value kept but may cause issues"} 
[2026-08-01 18:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9114722720654034944,"note":"Value kept but may cause issues"} 
[2026-08-01 18:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785588086000,"timestamp_ms":1785588086000,"timestamp_seconds":1785588086,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd57f4f0"} 
[2026-08-01 18:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-01 18:12: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-08-01 18: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-08-01 18:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:12:36] 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-08-01 18:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110544640001,"66":13298,"89":206,"85":12288,"24":0,"16":113568259680239616,"45":9114722720654034944},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-01 18:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110544640001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:12:36] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 18:12:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113568259680239616,"km_value":113568259680239.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9114722720654034944,"description":"Unknown IO ID 45"} 
[2026-08-01 18:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110544640001,"power":13298,"unknown_89":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9114722720654034944}} 
[2026-08-01 18:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":147395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578509,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:12:36] local.INFO: GPS data processed {"connection_id":147395,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:12:36] local.INFO: Acknowledgment sent {"connection_id":147395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:12:37] local.INFO: TCP Data received {"connection_id":148703,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd558008012d196680071fef08003a005824..."} 
[2026-08-01 18:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd558008012d196680071fef08003a005824..."} 
[2026-08-01 18:12:37] local.INFO: Processing buffer {"connection_id":148703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd558008012d196680071fef08003a005824..."} 
[2026-08-01 18:12:37] local.INFO: Packet analysis {"connection_id":148703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd55"} 
[2026-08-01 18:12:37] local.INFO: Extracted packet for processing {"connection_id":148703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd55"} 
[2026-08-01 18:12:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 18:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110503424001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828883691778039808,"note":"Value kept but may cause issues"} 
[2026-08-01 18:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785587925000,"timestamp_ms":1785587925000,"timestamp_seconds":1785587925,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd558008"} 
[2026-08-01 18:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-01 18:12:37] 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-08-01 18:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:12:37] 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-08-01 18:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110503424001,"66":13048,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1828883691778039808},"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-08-01 18:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110503424001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:12:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:12:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828883691778039808,"description":"Unknown IO ID 45"} 
[2026-08-01 18:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110503424001,"power":13048,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828883691778039808}} 
[2026-08-01 18:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":148703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:12:37] local.INFO: GPS data processed {"connection_id":148703,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:12:37] local.INFO: Acknowledgment sent {"connection_id":148703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:12:43] local.INFO: TCP Data received {"connection_id":146397,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:12:43] local.INFO: Processing buffer {"connection_id":146397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:12:43] local.INFO: IMEI packet received {"connection_id":146397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":146397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:12:49] local.INFO: TCP Data received {"connection_id":146397,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:12:49] local.INFO: Processing buffer {"connection_id":146397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:12:49] local.INFO: IMEI packet received {"connection_id":146397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":146397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:12:49] local.INFO: TCP Data received {"connection_id":146397,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd57fcc0012cee6fc0072e2c580035005a28..."} 
[2026-08-01 18:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd57fcc0012cee6fc0072e2c580035005a28..."} 
[2026-08-01 18:12:49] local.INFO: Processing buffer {"connection_id":146397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd57fcc0012cee6fc0072e2c580035005a28..."} 
[2026-08-01 18:12:49] local.INFO: Packet analysis {"connection_id":146397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd57"} 
[2026-08-01 18:12:49] local.INFO: Extracted packet for processing {"connection_id":146397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd57"} 
[2026-08-01 18:12:49] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466520,"longitude_deg":75.382368,"latitude_deg":12.046652,"altitude":53,"angle":90,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c58","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110473472001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366709779520815104,"note":"Value kept but may cause issues"} 
[2026-08-01 18:12:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195857920,"note":"Value kept but may cause issues"} 
[2026-08-01 18:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785588088000,"timestamp_ms":1785588088000,"timestamp_seconds":1785588088,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd57fcc0"} 
[2026-08-01 18:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 18: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-01 18:12:49] 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-08-01 18: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-08-01 18:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:12: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-08-01 18:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110473472001,"66":25962,"219":206,"83":44032,"24":0,"16":366709779520815104,"44":-1265581833195857920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-01 18:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110473472001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:12:49] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 18:12:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366709779520815104,"km_value":366709779520815.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:12:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195857920,"description":"Unknown IO ID 44"} 
[2026-08-01 18:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110473472001,"power":25962,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195857920}} 
[2026-08-01 18:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":146397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:12:49] local.INFO: GPS data processed {"connection_id":146397,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:12:49] local.INFO: Acknowledgment sent {"connection_id":146397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:13:03] local.INFO: TCP Data received {"connection_id":146177,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146177,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:13:03] local.INFO: Processing buffer {"connection_id":146177,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:13:03] local.INFO: IMEI packet received {"connection_id":146177,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 18:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":146177,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:13:05] local.INFO: TCP Data received {"connection_id":147396,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:13:05] local.INFO: Processing buffer {"connection_id":147396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:13:05] local.INFO: IMEI packet received {"connection_id":147396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 18:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":147396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:13:08] local.INFO: TCP Data received {"connection_id":146177,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146177,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:13:08] local.INFO: Processing buffer {"connection_id":146177,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:13:08] local.INFO: IMEI packet received {"connection_id":146177,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":146177,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:13:09] local.INFO: TCP Data received {"connection_id":146177,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd5846f8012d7e7e0005c6c408000b007f22..."} 
[2026-08-01 18:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd5846f8012d7e7e0005c6c408000b007f22..."} 
[2026-08-01 18:13:09] local.INFO: Processing buffer {"connection_id":146177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd5846f8012d7e7e0005c6c408000b007f22..."} 
[2026-08-01 18:13:09] local.INFO: Packet analysis {"connection_id":146177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd58"} 
[2026-08-01 18:13:09] local.INFO: Extracted packet for processing {"connection_id":146177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd58"} 
[2026-08-01 18:13:09] local.INFO: GPS Element Parsed {"raw_longitude":763264512,"raw_latitude":96912392,"longitude_deg":76.3264512,"latitude_deg":9.6912392,"altitude":11,"angle":127,"satellites":34,"speed":0,"hex_longitude":"2d7e7e00","hex_latitude":"05c6c408","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110550016001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113568259680239616,"note":"Value kept but may cause issues"} 
[2026-08-01 18:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9114722720654034944,"note":"Value kept but may cause issues"} 
[2026-08-01 18:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785588107000,"timestamp_ms":1785588107000,"timestamp_seconds":1785588107,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd5846f8"} 
[2026-08-01 18:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:13:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-01 18:13:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":146177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":146177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":146177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:13:09] 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-08-01 18:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110550016001,"66":12917,"89":206,"85":12288,"24":0,"16":113568259680239616,"45":9114722720654034944},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-01 18:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110550016001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:13:09] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 18:13:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113568259680239616,"km_value":113568259680239.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9114722720654034944,"description":"Unknown IO ID 45"} 
[2026-08-01 18:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110550016001,"power":12917,"unknown_89":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9114722720654034944}} 
[2026-08-01 18:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":146177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578512,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:13:09] local.INFO: GPS data processed {"connection_id":146177,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:13:09] local.INFO: Acknowledgment sent {"connection_id":146177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:13:10] local.INFO: TCP Data received {"connection_id":147396,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:13:10] local.INFO: Processing buffer {"connection_id":147396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:13:10] local.INFO: IMEI packet received {"connection_id":147396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":147396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:13:10] local.INFO: TCP Data received {"connection_id":147396,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd55d210012d196680071fef08003a005823..."} 
[2026-08-01 18:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd55d210012d196680071fef08003a005823..."} 
[2026-08-01 18:13:10] local.INFO: Processing buffer {"connection_id":147396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd55d210012d196680071fef08003a005823..."} 
[2026-08-01 18:13:10] local.INFO: Packet analysis {"connection_id":147396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd55"} 
[2026-08-01 18:13:10] local.INFO: Extracted packet for processing {"connection_id":147396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd55"} 
[2026-08-01 18:13:10] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":35,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110508800001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18: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-08-01 18:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785587946000,"timestamp_ms":1785587946000,"timestamp_seconds":1785587946,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd55d210"} 
[2026-08-01 18:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:13: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-08-01 18: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-01 18:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":147396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":147396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":147396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:13: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-08-01 18:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110508800001,"66":12667,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110508800001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:13:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:13:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110508800001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":147396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:13:11] local.INFO: GPS data processed {"connection_id":147396,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:13:11] local.INFO: Acknowledgment sent {"connection_id":147396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:13:13] local.INFO: TCP Data received {"connection_id":146177,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd589900012d7e7e0005c6c408000b007f20..."} 
[2026-08-01 18:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd589900012d7e7e0005c6c408000b007f20..."} 
[2026-08-01 18:13:13] local.INFO: Processing buffer {"connection_id":146177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd589900012d7e7e0005c6c408000b007f20..."} 
[2026-08-01 18:13:13] local.INFO: Packet analysis {"connection_id":146177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd58"} 
[2026-08-01 18:13:13] local.INFO: Extracted packet for processing {"connection_id":146177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd58"} 
[2026-08-01 18:13:13] local.INFO: GPS Element Parsed {"raw_longitude":763264512,"raw_latitude":96912392,"longitude_deg":76.3264512,"latitude_deg":9.6912392,"altitude":11,"angle":127,"satellites":32,"speed":0,"hex_longitude":"2d7e7e00","hex_latitude":"05c6c408","is_valid_coordinates":true} 
[2026-08-01 18:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110555392001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113568259680239616,"note":"Value kept but may cause issues"} 
[2026-08-01 18:13:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9114722720654034944,"note":"Value kept but may cause issues"} 
[2026-08-01 18:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785588128000,"timestamp_ms":1785588128000,"timestamp_seconds":1785588128,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd589900"} 
[2026-08-01 18:13:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:13:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-01 18:13:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:13:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:13:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":146177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":146177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":146177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:13:13] 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-08-01 18:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110555392001,"66":13374,"89":206,"85":12288,"24":0,"16":113568259680239616,"45":9114722720654034944},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-01 18:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110555392001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:13:13] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 18:13:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113568259680239616,"km_value":113568259680239.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:13:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9114722720654034944,"description":"Unknown IO ID 45"} 
[2026-08-01 18:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110555392001,"power":13374,"unknown_89":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9114722720654034944}} 
[2026-08-01 18:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":146177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578514,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:13:13] local.INFO: GPS data processed {"connection_id":146177,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:13:13] local.INFO: Acknowledgment sent {"connection_id":146177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:13:14] local.INFO: TCP Data received {"connection_id":147396,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd562418012d196680071fef08003a005827..."} 
[2026-08-01 18:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd562418012d196680071fef08003a005827..."} 
[2026-08-01 18:13:14] local.INFO: Processing buffer {"connection_id":147396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd562418012d196680071fef08003a005827..."} 
[2026-08-01 18:13:14] local.INFO: Packet analysis {"connection_id":147396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd56"} 
[2026-08-01 18:13:14] local.INFO: Extracted packet for processing {"connection_id":147396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd56"} 
[2026-08-01 18:13:14] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110514176001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:13:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18:13: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-08-01 18:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785587967000,"timestamp_ms":1785587967000,"timestamp_seconds":1785587967,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd562418"} 
[2026-08-01 18:13:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:13:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-01 18:13:14] 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-08-01 18: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-08-01 18:13:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":147396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":147396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":147396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:13:14] 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-08-01 18:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110514176001,"66":12993,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110514176001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:13:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:13:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:13:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110514176001,"power":12993,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":147396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:13:14] local.INFO: GPS data processed {"connection_id":147396,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:13:14] local.INFO: Acknowledgment sent {"connection_id":147396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:13:21] local.INFO: TCP Data received {"connection_id":146397,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd57fcc0012cee6fc0072e2c580035005a28..."} 
[2026-08-01 18:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd57fcc0012cee6fc0072e2c580035005a28..."} 
[2026-08-01 18:13:21] local.INFO: Processing buffer {"connection_id":146397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd57fcc0012cee6fc0072e2c580035005a28..."} 
[2026-08-01 18:13:21] local.INFO: Packet analysis {"connection_id":146397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd57"} 
[2026-08-01 18:13:21] local.INFO: Extracted packet for processing {"connection_id":146397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd57"} 
[2026-08-01 18:13:21] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466520,"longitude_deg":75.382368,"latitude_deg":12.046652,"altitude":53,"angle":90,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c58","is_valid_coordinates":true} 
[2026-08-01 18:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110473472001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366709779520815104,"note":"Value kept but may cause issues"} 
[2026-08-01 18:13:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195857920,"note":"Value kept but may cause issues"} 
[2026-08-01 18:13:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785588088000,"timestamp_ms":1785588088000,"timestamp_seconds":1785588088,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd57fcc0"} 
[2026-08-01 18:13:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:13:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 18:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-01 18:13:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:13:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:13:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:13:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110473472001,"66":25962,"219":206,"83":44032,"24":0,"16":366709779520815104,"44":-1265581833195857920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-01 18:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110473472001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:13:21] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 18:13:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366709779520815104,"km_value":366709779520815.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:13:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195857920,"description":"Unknown IO ID 44"} 
[2026-08-01 18:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110473472001,"power":25962,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195857920}} 
[2026-08-01 18:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":146397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:13:21] local.INFO: GPS data processed {"connection_id":146397,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:13:21] local.INFO: Acknowledgment sent {"connection_id":146397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:13:45] local.INFO: TCP Data received {"connection_id":147396,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd567620012d196680071fef08003a005827..."} 
[2026-08-01 18:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd567620012d196680071fef08003a005827..."} 
[2026-08-01 18:13:45] local.INFO: Processing buffer {"connection_id":147396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd567620012d196680071fef08003a005827..."} 
[2026-08-01 18:13:45] local.INFO: Packet analysis {"connection_id":147396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd56"} 
[2026-08-01 18:13:45] local.INFO: Extracted packet for processing {"connection_id":147396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd56"} 
[2026-08-01 18:13:45] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 18:13: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-08-01 18:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110519552001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:13:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18:13: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-08-01 18:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785587988000,"timestamp_ms":1785587988000,"timestamp_seconds":1785587988,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd567620"} 
[2026-08-01 18:13:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:13:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:13: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":193,"data_length":795,"current_offset":136} 
[2026-08-01 18:13:45] 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-08-01 18:13: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-08-01 18:13:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:13:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":147396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":147396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":147396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:13:45] 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-08-01 18:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110519552001,"66":12993,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110519552001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:13:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:13:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:13:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:13:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:13:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110519552001,"power":12993,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:13:45] local.INFO: DEBUG: GPS processor result {"connection_id":147396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:13:45] local.INFO: GPS data processed {"connection_id":147396,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:13:45] local.INFO: Acknowledgment sent {"connection_id":147396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:13:48] local.INFO: TCP Data received {"connection_id":147397,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:13:48] local.INFO: Processing buffer {"connection_id":147397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:13:48] local.INFO: IMEI packet received {"connection_id":147397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":147397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:13:54] local.INFO: TCP Data received {"connection_id":147397,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:13:54] local.INFO: Processing buffer {"connection_id":147397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:13:54] local.INFO: IMEI packet received {"connection_id":147397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":147397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:13:54] local.INFO: TCP Data received {"connection_id":147397,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd57fcc0012cee6fc0072e2c580035005a28..."} 
[2026-08-01 18:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd57fcc0012cee6fc0072e2c580035005a28..."} 
[2026-08-01 18:13:54] local.INFO: Processing buffer {"connection_id":147397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd57fcc0012cee6fc0072e2c580035005a28..."} 
[2026-08-01 18:13:54] local.INFO: Packet analysis {"connection_id":147397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd57"} 
[2026-08-01 18:13:54] local.INFO: Extracted packet for processing {"connection_id":147397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd57"} 
[2026-08-01 18:13:54] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466520,"longitude_deg":75.382368,"latitude_deg":12.046652,"altitude":53,"angle":90,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c58","is_valid_coordinates":true} 
[2026-08-01 18:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110473472001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366709779520815104,"note":"Value kept but may cause issues"} 
[2026-08-01 18:13:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195857920,"note":"Value kept but may cause issues"} 
[2026-08-01 18:13:54] 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-08-01 18:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785588088000,"timestamp_ms":1785588088000,"timestamp_seconds":1785588088,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd57fcc0"} 
[2026-08-01 18:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:13:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 18:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-01 18:13:54] 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-08-01 18:13:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":147397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":147397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":147397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:13:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110473472001,"66":25962,"219":206,"83":44032,"24":0,"16":366709779520815104,"44":-1265581833195857920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-01 18:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110473472001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:13:54] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 18:13:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366709779520815104,"km_value":366709779520815.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:13:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195857920,"description":"Unknown IO ID 44"} 
[2026-08-01 18:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110473472001,"power":25962,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195857920}} 
[2026-08-01 18:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":147397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:13:54] local.INFO: GPS data processed {"connection_id":147397,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:13:54] local.INFO: Acknowledgment sent {"connection_id":147397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:13:55] local.INFO: TCP Data received {"connection_id":147398,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147398,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:13:55] local.INFO: Processing buffer {"connection_id":147398,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:13:55] local.INFO: IMEI packet received {"connection_id":147398,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 18:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":147398,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:13:55] local.INFO: TCP Data received {"connection_id":147399,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:13:55] local.INFO: Processing buffer {"connection_id":147399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:13:55] local.INFO: IMEI packet received {"connection_id":147399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 18:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":147399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:13:58] local.INFO: TCP Data received {"connection_id":147398,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147398,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:13:58] local.INFO: Processing buffer {"connection_id":147398,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:13:58] local.INFO: IMEI packet received {"connection_id":147398,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":147398,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:13:59] local.INFO: TCP Data received {"connection_id":147397,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd57fcc0012cee6fc0072e2c580035005a28..."} 
[2026-08-01 18:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd57fcc0012cee6fc0072e2c580035005a28..."} 
[2026-08-01 18:13:59] local.INFO: Processing buffer {"connection_id":147397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd57fcc0012cee6fc0072e2c580035005a28..."} 
[2026-08-01 18:13:59] local.INFO: Packet analysis {"connection_id":147397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd57"} 
[2026-08-01 18:13:59] local.INFO: Extracted packet for processing {"connection_id":147397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd57"} 
[2026-08-01 18:13:59] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466520,"longitude_deg":75.382368,"latitude_deg":12.046652,"altitude":53,"angle":90,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c58","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110473472001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366709779520815104,"note":"Value kept but may cause issues"} 
[2026-08-01 18:13:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195857920,"note":"Value kept but may cause issues"} 
[2026-08-01 18:13:59] 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-08-01 18:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785588088000,"timestamp_ms":1785588088000,"timestamp_seconds":1785588088,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd57fcc0"} 
[2026-08-01 18:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:13: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-08-01 18: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-01 18:13:59] 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-08-01 18: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-08-01 18:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":147397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":147397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":147397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:13: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-08-01 18:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110473472001,"66":25962,"219":206,"83":44032,"24":0,"16":366709779520815104,"44":-1265581833195857920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-01 18:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110473472001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:13:59] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 18:13:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366709779520815104,"km_value":366709779520815.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:13:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195857920,"description":"Unknown IO ID 44"} 
[2026-08-01 18:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110473472001,"power":25962,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195857920}} 
[2026-08-01 18:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":147397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:13:59] local.INFO: GPS data processed {"connection_id":147397,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:13:59] local.INFO: Acknowledgment sent {"connection_id":147397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:14:00] local.INFO: TCP Data received {"connection_id":147399,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:14:00] local.INFO: Processing buffer {"connection_id":147399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:14:00] local.INFO: IMEI packet received {"connection_id":147399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":147399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:14:03] local.INFO: TCP Data received {"connection_id":147398,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147398,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:14:03] local.INFO: Processing buffer {"connection_id":147398,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:14:03] local.INFO: IMEI packet received {"connection_id":147398,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":147398,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:14:04] local.INFO: TCP Data received {"connection_id":147398,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd58eb08012d7e7e0005c6c408000b007f22..."} 
[2026-08-01 18:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd58eb08012d7e7e0005c6c408000b007f22..."} 
[2026-08-01 18:14:04] local.INFO: Processing buffer {"connection_id":147398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd58eb08012d7e7e0005c6c408000b007f22..."} 
[2026-08-01 18:14:04] local.INFO: Packet analysis {"connection_id":147398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd58"} 
[2026-08-01 18:14:04] local.INFO: Extracted packet for processing {"connection_id":147398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd58"} 
[2026-08-01 18:14:04] local.INFO: GPS Element Parsed {"raw_longitude":763264512,"raw_latitude":96912392,"longitude_deg":76.3264512,"latitude_deg":9.6912392,"altitude":11,"angle":127,"satellites":34,"speed":0,"hex_longitude":"2d7e7e00","hex_latitude":"05c6c408","is_valid_coordinates":true} 
[2026-08-01 18:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110560768001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113568259680239616,"note":"Value kept but may cause issues"} 
[2026-08-01 18:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9114722720654034944,"note":"Value kept but may cause issues"} 
[2026-08-01 18:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785588149000,"timestamp_ms":1785588149000,"timestamp_seconds":1785588149,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd58eb08"} 
[2026-08-01 18:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-01 18:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:14:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110560768001,"66":12939,"89":206,"85":12288,"24":0,"16":113568259680239616,"45":9114722720654034944},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-01 18:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110560768001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:14:04] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 18:14:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113568259680239616,"km_value":113568259680239.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9114722720654034944,"description":"Unknown IO ID 45"} 
[2026-08-01 18:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110560768001,"power":12939,"unknown_89":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9114722720654034944}} 
[2026-08-01 18:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":147398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578520,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:14:04] local.INFO: GPS data processed {"connection_id":147398,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:14:04] local.INFO: Acknowledgment sent {"connection_id":147398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:14:04] local.INFO: TCP Data received {"connection_id":147397,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd57fcc0012cee6fc0072e2c580035005a28..."} 
[2026-08-01 18:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd57fcc0012cee6fc0072e2c580035005a28..."} 
[2026-08-01 18:14:04] local.INFO: Processing buffer {"connection_id":147397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd57fcc0012cee6fc0072e2c580035005a28..."} 
[2026-08-01 18:14:04] local.INFO: Packet analysis {"connection_id":147397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd57"} 
[2026-08-01 18:14:04] local.INFO: Extracted packet for processing {"connection_id":147397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd57"} 
[2026-08-01 18:14:04] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466520,"longitude_deg":75.382368,"latitude_deg":12.046652,"altitude":53,"angle":90,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c58","is_valid_coordinates":true} 
[2026-08-01 18:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110473472001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366709779520815104,"note":"Value kept but may cause issues"} 
[2026-08-01 18:14:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195857920,"note":"Value kept but may cause issues"} 
[2026-08-01 18:14:04] 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-08-01 18:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785588088000,"timestamp_ms":1785588088000,"timestamp_seconds":1785588088,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd57fcc0"} 
[2026-08-01 18:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:14: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-08-01 18:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-01 18:14:04] 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-08-01 18:14:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110473472001,"66":25962,"219":206,"83":44032,"24":0,"16":366709779520815104,"44":-1265581833195857920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-01 18:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110473472001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:14:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 18:14:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366709779520815104,"km_value":366709779520815.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:14:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195857920,"description":"Unknown IO ID 44"} 
[2026-08-01 18:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110473472001,"power":25962,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195857920}} 
[2026-08-01 18:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":147397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:14:04] local.INFO: GPS data processed {"connection_id":147397,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:14:04] local.INFO: Acknowledgment sent {"connection_id":147397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:14:05] local.INFO: TCP Data received {"connection_id":147399,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:14:05] local.INFO: Processing buffer {"connection_id":147399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:14:05] local.INFO: IMEI packet received {"connection_id":147399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":147399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:14:05] local.INFO: TCP Data received {"connection_id":147399,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd56c828012d196680071fef08003a005827..."} 
[2026-08-01 18:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd56c828012d196680071fef08003a005827..."} 
[2026-08-01 18:14:05] local.INFO: Processing buffer {"connection_id":147399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd56c828012d196680071fef08003a005827..."} 
[2026-08-01 18:14:05] local.INFO: Packet analysis {"connection_id":147399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd56"} 
[2026-08-01 18:14:05] local.INFO: Extracted packet for processing {"connection_id":147399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd56"} 
[2026-08-01 18:14:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 18:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110524928001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785588009000,"timestamp_ms":1785588009000,"timestamp_seconds":1785588009,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd56c828"} 
[2026-08-01 18:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-01 18:14:05] 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-08-01 18:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:14:05] 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-08-01 18:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110524928001,"66":12939,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110524928001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:14:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:14:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110524928001,"power":12939,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":147399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:14:06] local.INFO: GPS data processed {"connection_id":147399,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:14:06] local.INFO: Acknowledgment sent {"connection_id":147399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:14:10] local.INFO: TCP Data received {"connection_id":147399,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd571a30012d196680071fef08003a005828..."} 
[2026-08-01 18:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd571a30012d196680071fef08003a005828..."} 
[2026-08-01 18:14:10] local.INFO: Processing buffer {"connection_id":147399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd571a30012d196680071fef08003a005828..."} 
[2026-08-01 18:14:10] local.INFO: Packet analysis {"connection_id":147399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd57"} 
[2026-08-01 18:14:10] local.INFO: Extracted packet for processing {"connection_id":147399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd57"} 
[2026-08-01 18:14:10] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":40,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110530304001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18: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-08-01 18:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785588030000,"timestamp_ms":1785588030000,"timestamp_seconds":1785588030,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd571a30"} 
[2026-08-01 18:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:14: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-08-01 18: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-01 18:14: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-08-01 18: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-08-01 18:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":147399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":147399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":147399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:14: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-08-01 18:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110530304001,"66":12809,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110530304001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:14:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:14:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110530304001,"power":12809,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":147399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:14:10] local.INFO: GPS data processed {"connection_id":147399,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:14:10] local.INFO: Acknowledgment sent {"connection_id":147399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:14:35] local.INFO: TCP Data received {"connection_id":147398,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd593d10012d7e7e0005c6c408000b007f20..."} 
[2026-08-01 18:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd593d10012d7e7e0005c6c408000b007f20..."} 
[2026-08-01 18:14:35] local.INFO: Processing buffer {"connection_id":147398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd593d10012d7e7e0005c6c408000b007f20..."} 
[2026-08-01 18:14:35] local.INFO: Packet analysis {"connection_id":147398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd59"} 
[2026-08-01 18:14:35] local.INFO: Extracted packet for processing {"connection_id":147398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd59"} 
[2026-08-01 18:14:35] local.INFO: GPS Element Parsed {"raw_longitude":763264512,"raw_latitude":96912392,"longitude_deg":76.3264512,"latitude_deg":9.6912392,"altitude":11,"angle":127,"satellites":32,"speed":0,"hex_longitude":"2d7e7e00","hex_latitude":"05c6c408","is_valid_coordinates":true} 
[2026-08-01 18:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110566144001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113568259680239616,"note":"Value kept but may cause issues"} 
[2026-08-01 18:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9114722720654034944,"note":"Value kept but may cause issues"} 
[2026-08-01 18:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785588170000,"timestamp_ms":1785588170000,"timestamp_seconds":1785588170,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd593d10"} 
[2026-08-01 18:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-01 18:14: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-08-01 18:14:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110566144001,"66":13450,"89":206,"85":12288,"24":0,"16":113568259680239616,"45":9114722720654034944},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-01 18:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110566144001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:14:35] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 18:14:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113568259680239616,"km_value":113568259680239.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9114722720654034944,"description":"Unknown IO ID 45"} 
[2026-08-01 18:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110566144001,"power":13450,"unknown_89":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9114722720654034944}} 
[2026-08-01 18:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":147398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578524,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:14:35] local.INFO: GPS data processed {"connection_id":147398,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:14:35] local.INFO: Acknowledgment sent {"connection_id":147398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:14:41] local.INFO: TCP Data received {"connection_id":147399,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd576c38012d196680071fef08003a005827..."} 
[2026-08-01 18:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd576c38012d196680071fef08003a005827..."} 
[2026-08-01 18:14:41] local.INFO: Processing buffer {"connection_id":147399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd576c38012d196680071fef08003a005827..."} 
[2026-08-01 18:14:41] local.INFO: Packet analysis {"connection_id":147399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd57"} 
[2026-08-01 18:14:41] local.INFO: Extracted packet for processing {"connection_id":147399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd57"} 
[2026-08-01 18:14:41] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110535680001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18: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-08-01 18:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785588051000,"timestamp_ms":1785588051000,"timestamp_seconds":1785588051,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd576c38"} 
[2026-08-01 18:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:14: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-08-01 18: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-01 18:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":936748722660836352,"note":"Value kept but may cause issues"} 
[2026-08-01 18:14:41] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-01 18:14:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 18:14:41] local.WARNING: Large IO value detected {"io_id":151,"raw_value":3506438144,"note":"Value kept but may cause issues"} 
[2026-08-01 18:14:41] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3176476160,"note":"Value kept but may cause issues"} 
[2026-08-01 18:14:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":10241,"corrected_to":0} 
[2026-08-01 18:14:41] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2547056640,"note":"Value kept but may cause issues"} 
[2026-08-01 18:14:41] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-01 18:14:41] local.WARNING: Large IO value detected {"io_id":189,"raw_value":6134544812320841216,"note":"Value kept but may cause issues"} 
[2026-08-01 18:14:41] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4010278970,"note":"Value kept but may cause issues"} 
[2026-08-01 18:14:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-01 18:14:41] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-3746768972981154221,"note":"Value kept but may cause issues"} 
[2026-08-01 18:14:41] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301339410542651431,"note":"Value kept but may cause issues"} 
[2026-08-01 18:14:41] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755438095892721,"note":"Value kept but may cause issues"} 
[2026-08-01 18:14:41] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,151,159,200,45,128,239,58,39,10,66,118,36,1,240,193,227,189,31,4,113,205,8,50,2,7,9,164,195],"length":535,"final_offset":665,"validated_count":35,"validation_warnings":[{"io_id":200,"original":10241,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-01 18:14:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179437383021756416,"timestamp_seconds":4179437383021756.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 18:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":147399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":147399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":147399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:14: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-08-01 18:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110535680001,"66":12917,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110535680001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:14:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:14:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110535680001,"power":12917,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":147399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:14:41] local.INFO: GPS data processed {"connection_id":147399,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:14:41] local.INFO: Acknowledgment sent {"connection_id":147399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:14:44] local.INFO: TCP Data received {"connection_id":146398,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:14:44] local.INFO: Processing buffer {"connection_id":146398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:14:44] local.INFO: IMEI packet received {"connection_id":146398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":146398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:14:48] local.INFO: TCP Data received {"connection_id":146398,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:14:48] local.INFO: Processing buffer {"connection_id":146398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:14:48] local.INFO: IMEI packet received {"connection_id":146398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":146398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:14:49] local.INFO: TCP Data received {"connection_id":146398,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd57fcc0012cee6fc0072e2c580035005a28..."} 
[2026-08-01 18:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd57fcc0012cee6fc0072e2c580035005a28..."} 
[2026-08-01 18:14:49] local.INFO: Processing buffer {"connection_id":146398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd57fcc0012cee6fc0072e2c580035005a28..."} 
[2026-08-01 18:14:49] local.INFO: Packet analysis {"connection_id":146398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd57"} 
[2026-08-01 18:14:49] local.INFO: Extracted packet for processing {"connection_id":146398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd57"} 
[2026-08-01 18:14:49] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466520,"longitude_deg":75.382368,"latitude_deg":12.046652,"altitude":53,"angle":90,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c58","is_valid_coordinates":true} 
[2026-08-01 18:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110473472001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:14:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366709779520815104,"note":"Value kept but may cause issues"} 
[2026-08-01 18:14:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195857920,"note":"Value kept but may cause issues"} 
[2026-08-01 18:14:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:14:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785588088000,"timestamp_ms":1785588088000,"timestamp_seconds":1785588088,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd57fcc0"} 
[2026-08-01 18:14:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:14:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 18:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-01 18:14:49] 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-08-01 18:14:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:14:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:14:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:14:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:14:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:14:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:14:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110473472001,"66":25962,"219":206,"83":44032,"24":0,"16":366709779520815104,"44":-1265581833195857920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-01 18:14:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:14:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:14:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110473472001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:14:49] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 18:14:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:14:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366709779520815104,"km_value":366709779520815.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:14:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195857920,"description":"Unknown IO ID 44"} 
[2026-08-01 18:14:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110473472001,"power":25962,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195857920}} 
[2026-08-01 18:14:49] local.INFO: DEBUG: GPS processor result {"connection_id":146398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:14:49] local.INFO: GPS data processed {"connection_id":146398,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:14:49] local.INFO: Acknowledgment sent {"connection_id":146398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:14:55] local.INFO: TCP Data received {"connection_id":148704,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148704,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:14:55] local.INFO: Processing buffer {"connection_id":148704,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:14:55] local.INFO: IMEI packet received {"connection_id":148704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 18:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":148704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:14:58] local.INFO: TCP Data received {"connection_id":148704,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148704,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:14:58] local.INFO: Processing buffer {"connection_id":148704,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:14:58] local.INFO: IMEI packet received {"connection_id":148704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":148704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:15:01] local.INFO: TCP Data received {"connection_id":146178,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:15:01] local.INFO: Processing buffer {"connection_id":146178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:15:01] local.INFO: IMEI packet received {"connection_id":146178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 18:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":146178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:15:02] local.INFO: TCP Data received {"connection_id":146178,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:15:02] local.INFO: Processing buffer {"connection_id":146178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:15:02] local.INFO: IMEI packet received {"connection_id":146178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":146178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:15:03] local.INFO: TCP Data received {"connection_id":148704,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148704,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:15:03] local.INFO: Processing buffer {"connection_id":148704,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:15:03] local.INFO: IMEI packet received {"connection_id":148704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":148704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:15:04] local.INFO: TCP Data received {"connection_id":148704,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd598f18012d7e7e0005c6c408000b007f22..."} 
[2026-08-01 18:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd598f18012d7e7e0005c6c408000b007f22..."} 
[2026-08-01 18:15:04] local.INFO: Processing buffer {"connection_id":148704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd598f18012d7e7e0005c6c408000b007f22..."} 
[2026-08-01 18:15:04] local.INFO: Packet analysis {"connection_id":148704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd59"} 
[2026-08-01 18:15:04] local.INFO: Extracted packet for processing {"connection_id":148704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd59"} 
[2026-08-01 18:15:04] local.INFO: GPS Element Parsed {"raw_longitude":763264512,"raw_latitude":96912392,"longitude_deg":76.3264512,"latitude_deg":9.6912392,"altitude":11,"angle":127,"satellites":34,"speed":0,"hex_longitude":"2d7e7e00","hex_latitude":"05c6c408","is_valid_coordinates":true} 
[2026-08-01 18:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110571520001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113568259680239616,"note":"Value kept but may cause issues"} 
[2026-08-01 18:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9114722720654034944,"note":"Value kept but may cause issues"} 
[2026-08-01 18:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785588191000,"timestamp_ms":1785588191000,"timestamp_seconds":1785588191,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd598f18"} 
[2026-08-01 18:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-01 18:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:15:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":148704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":148704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":148704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110571520001,"66":12939,"89":206,"85":12288,"24":0,"16":113568259680239616,"45":9114722720654034944},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-01 18:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110571520001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:15:04] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 18:15:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113568259680239616,"km_value":113568259680239.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9114722720654034944,"description":"Unknown IO ID 45"} 
[2026-08-01 18:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110571520001,"power":12939,"unknown_89":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9114722720654034944}} 
[2026-08-01 18:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":148704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578527,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:15:04] local.INFO: GPS data processed {"connection_id":148704,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:15:04] local.INFO: Acknowledgment sent {"connection_id":148704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:15:05] local.INFO: TCP Data received {"connection_id":146178,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:15:05] local.INFO: Processing buffer {"connection_id":146178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:15:05] local.INFO: IMEI packet received {"connection_id":146178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":146178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:15:05] local.INFO: TCP Data received {"connection_id":146178,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd57be40012d196680071fef08003a005826..."} 
[2026-08-01 18:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd57be40012d196680071fef08003a005826..."} 
[2026-08-01 18:15:05] local.INFO: Processing buffer {"connection_id":146178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd57be40012d196680071fef08003a005826..."} 
[2026-08-01 18:15:05] local.INFO: Packet analysis {"connection_id":146178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd57"} 
[2026-08-01 18:15:05] local.INFO: Extracted packet for processing {"connection_id":146178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd57"} 
[2026-08-01 18:15:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 18:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110541056001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785588072000,"timestamp_ms":1785588072000,"timestamp_seconds":1785588072,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd57be40"} 
[2026-08-01 18:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-01 18:15: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-08-01 18:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:15:05] 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-08-01 18:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110541056001,"66":12863,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110541056001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:15:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:15:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110541056001,"power":12863,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":146178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:15:06] local.INFO: GPS data processed {"connection_id":146178,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:15:06] local.INFO: Acknowledgment sent {"connection_id":146178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:15:10] local.INFO: TCP Data received {"connection_id":146178,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd581048012d196680071fef08003a005826..."} 
[2026-08-01 18:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd581048012d196680071fef08003a005826..."} 
[2026-08-01 18:15:10] local.INFO: Processing buffer {"connection_id":146178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd581048012d196680071fef08003a005826..."} 
[2026-08-01 18:15:10] local.INFO: Packet analysis {"connection_id":146178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd58"} 
[2026-08-01 18:15:10] local.INFO: Extracted packet for processing {"connection_id":146178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd58"} 
[2026-08-01 18:15:10] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 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-08-01 18:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110546432001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18: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-08-01 18:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785588093000,"timestamp_ms":1785588093000,"timestamp_seconds":1785588093,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd581048"} 
[2026-08-01 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-08-01 18:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-01 18:15: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-08-01 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-08-01 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-08-01 18:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:15: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-08-01 18:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110546432001,"66":12841,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110546432001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:15:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:15:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110546432001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":146178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:15:10] local.INFO: GPS data processed {"connection_id":146178,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:15:10] local.INFO: Acknowledgment sent {"connection_id":146178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:15:21] local.INFO: TCP Data received {"connection_id":146398,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd57fcc0012cee6fc0072e2c580035005a28..."} 
[2026-08-01 18:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd57fcc0012cee6fc0072e2c580035005a28..."} 
[2026-08-01 18:15:21] local.INFO: Processing buffer {"connection_id":146398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd57fcc0012cee6fc0072e2c580035005a28..."} 
[2026-08-01 18:15:21] local.INFO: Packet analysis {"connection_id":146398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd57"} 
[2026-08-01 18:15:21] local.INFO: Extracted packet for processing {"connection_id":146398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd57"} 
[2026-08-01 18:15:21] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466520,"longitude_deg":75.382368,"latitude_deg":12.046652,"altitude":53,"angle":90,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c58","is_valid_coordinates":true} 
[2026-08-01 18:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110473472001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366709779520815104,"note":"Value kept but may cause issues"} 
[2026-08-01 18:15:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195857920,"note":"Value kept but may cause issues"} 
[2026-08-01 18:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785588088000,"timestamp_ms":1785588088000,"timestamp_seconds":1785588088,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd57fcc0"} 
[2026-08-01 18:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 18:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-01 18:15:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:15:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110473472001,"66":25962,"219":206,"83":44032,"24":0,"16":366709779520815104,"44":-1265581833195857920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-01 18:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110473472001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:15:21] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 18:15:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366709779520815104,"km_value":366709779520815.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:15:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195857920,"description":"Unknown IO ID 44"} 
[2026-08-01 18:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110473472001,"power":25962,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195857920}} 
[2026-08-01 18:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":146398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:15:21] local.INFO: GPS data processed {"connection_id":146398,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:15:21] local.INFO: Acknowledgment sent {"connection_id":146398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:15:35] local.INFO: TCP Data received {"connection_id":148704,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd59e120012d7e7e0005c6c408000b007f22..."} 
[2026-08-01 18:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd59e120012d7e7e0005c6c408000b007f22..."} 
[2026-08-01 18:15:35] local.INFO: Processing buffer {"connection_id":148704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd59e120012d7e7e0005c6c408000b007f22..."} 
[2026-08-01 18:15:35] local.INFO: Packet analysis {"connection_id":148704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd59"} 
[2026-08-01 18:15:35] local.INFO: Extracted packet for processing {"connection_id":148704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd59"} 
[2026-08-01 18:15:35] local.INFO: GPS Element Parsed {"raw_longitude":763264512,"raw_latitude":96912392,"longitude_deg":76.3264512,"latitude_deg":9.6912392,"altitude":11,"angle":127,"satellites":34,"speed":0,"hex_longitude":"2d7e7e00","hex_latitude":"05c6c408","is_valid_coordinates":true} 
[2026-08-01 18:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110576896001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113568259680239616,"note":"Value kept but may cause issues"} 
[2026-08-01 18:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9114722720654034944,"note":"Value kept but may cause issues"} 
[2026-08-01 18:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785588212000,"timestamp_ms":1785588212000,"timestamp_seconds":1785588212,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd59e120"} 
[2026-08-01 18:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:15:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-01 18:15: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-08-01 18:15:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110576896001,"66":13374,"89":206,"85":12288,"24":0,"16":113568259680239616,"45":9114722720654034944},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-01 18:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110576896001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:15:35] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 18:15:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113568259680239616,"km_value":113568259680239.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9114722720654034944,"description":"Unknown IO ID 45"} 
[2026-08-01 18:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110576896001,"power":13374,"unknown_89":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9114722720654034944}} 
[2026-08-01 18:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":148704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578531,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:15:35] local.INFO: GPS data processed {"connection_id":148704,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:15:35] local.INFO: Acknowledgment sent {"connection_id":148704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:15:41] local.INFO: TCP Data received {"connection_id":146178,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd586250012d196680071fef08003a005823..."} 
[2026-08-01 18:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd586250012d196680071fef08003a005823..."} 
[2026-08-01 18:15:41] local.INFO: Processing buffer {"connection_id":146178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd586250012d196680071fef08003a005823..."} 
[2026-08-01 18:15:41] local.INFO: Packet analysis {"connection_id":146178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd58"} 
[2026-08-01 18:15:41] local.INFO: Extracted packet for processing {"connection_id":146178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd58"} 
[2026-08-01 18:15:41] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":35,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 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-08-01 18:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110551808001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18: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-08-01 18:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785588114000,"timestamp_ms":1785588114000,"timestamp_seconds":1785588114,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd586250"} 
[2026-08-01 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-08-01 18:15: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-08-01 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-01 18:15: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-08-01 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-08-01 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-08-01 18:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":146178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":146178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":146178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:15: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-08-01 18:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110551808001,"66":12841,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110551808001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:15:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:15:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:15:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110551808001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":146178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:15:41] local.INFO: GPS data processed {"connection_id":146178,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:15:41] local.INFO: Acknowledgment sent {"connection_id":146178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:15:43] local.INFO: TCP Data received {"connection_id":147400,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:15:44] local.INFO: Processing buffer {"connection_id":147400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:15:44] local.INFO: IMEI packet received {"connection_id":147400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":147400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:15:48] local.INFO: TCP Data received {"connection_id":147400,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:15:48] local.INFO: Processing buffer {"connection_id":147400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:15:48] local.INFO: IMEI packet received {"connection_id":147400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":147400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:15:49] local.INFO: TCP Data received {"connection_id":147400,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd57fcc0012cee6fc0072e2c580035005a28..."} 
[2026-08-01 18:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd57fcc0012cee6fc0072e2c580035005a28..."} 
[2026-08-01 18:15:49] local.INFO: Processing buffer {"connection_id":147400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd57fcc0012cee6fc0072e2c580035005a28..."} 
[2026-08-01 18:15:49] local.INFO: Packet analysis {"connection_id":147400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd57"} 
[2026-08-01 18:15:49] local.INFO: Extracted packet for processing {"connection_id":147400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd57"} 
[2026-08-01 18:15:49] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466520,"longitude_deg":75.382368,"latitude_deg":12.046652,"altitude":53,"angle":90,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c58","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110473472001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366709779520815104,"note":"Value kept but may cause issues"} 
[2026-08-01 18:15:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195857920,"note":"Value kept but may cause issues"} 
[2026-08-01 18:15:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785588088000,"timestamp_ms":1785588088000,"timestamp_seconds":1785588088,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd57fcc0"} 
[2026-08-01 18:15:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 18: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-01 18:15:49] 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-08-01 18:15:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:15:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110473472001,"66":25962,"219":206,"83":44032,"24":0,"16":366709779520815104,"44":-1265581833195857920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-01 18:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110473472001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:15:49] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 18:15:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366709779520815104,"km_value":366709779520815.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:15:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195857920,"description":"Unknown IO ID 44"} 
[2026-08-01 18:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110473472001,"power":25962,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195857920}} 
[2026-08-01 18:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":147400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:15:49] local.INFO: GPS data processed {"connection_id":147400,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:15:49] local.INFO: Acknowledgment sent {"connection_id":147400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:15:58] local.INFO: TCP Data received {"connection_id":146399,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146399,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:15:58] local.INFO: Processing buffer {"connection_id":146399,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:15:58] local.INFO: IMEI packet received {"connection_id":146399,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 18:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":146399,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:15:59] local.INFO: TCP Data received {"connection_id":146399,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146399,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:15:59] local.INFO: Processing buffer {"connection_id":146399,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:15:59] local.INFO: IMEI packet received {"connection_id":146399,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":146399,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:16:00] local.INFO: TCP Data received {"connection_id":146400,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:16:00] local.INFO: Processing buffer {"connection_id":146400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:16:00] local.INFO: IMEI packet received {"connection_id":146400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 18:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":146400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:16:02] local.INFO: TCP Data received {"connection_id":146400,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:16:02] local.INFO: Processing buffer {"connection_id":146400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:16:02] local.INFO: IMEI packet received {"connection_id":146400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":146400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:16:03] local.INFO: TCP Data received {"connection_id":146399,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146399,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:16:03] local.INFO: Processing buffer {"connection_id":146399,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:16:03] local.INFO: IMEI packet received {"connection_id":146399,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":146399,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:16:04] local.INFO: TCP Data received {"connection_id":146399,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd5a3328012d7e7e0005c6c408000b007f24..."} 
[2026-08-01 18:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd5a3328012d7e7e0005c6c408000b007f24..."} 
[2026-08-01 18:16:04] local.INFO: Processing buffer {"connection_id":146399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd5a3328012d7e7e0005c6c408000b007f24..."} 
[2026-08-01 18:16:04] local.INFO: Packet analysis {"connection_id":146399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd5a"} 
[2026-08-01 18:16:04] local.INFO: Extracted packet for processing {"connection_id":146399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd5a"} 
[2026-08-01 18:16:04] local.INFO: GPS Element Parsed {"raw_longitude":763264512,"raw_latitude":96912392,"longitude_deg":76.3264512,"latitude_deg":9.6912392,"altitude":11,"angle":127,"satellites":36,"speed":0,"hex_longitude":"2d7e7e00","hex_latitude":"05c6c408","is_valid_coordinates":true} 
[2026-08-01 18:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110582272001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113568259680239616,"note":"Value kept but may cause issues"} 
[2026-08-01 18:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9114722720654034944,"note":"Value kept but may cause issues"} 
[2026-08-01 18:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785588233000,"timestamp_ms":1785588233000,"timestamp_seconds":1785588233,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd5a3328"} 
[2026-08-01 18:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-01 18:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110582272001,"66":12961,"89":206,"85":12288,"24":0,"16":113568259680239616,"45":9114722720654034944},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-01 18:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110582272001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:16:04] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 18:16:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113568259680239616,"km_value":113568259680239.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9114722720654034944,"description":"Unknown IO ID 45"} 
[2026-08-01 18:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110582272001,"power":12961,"unknown_89":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9114722720654034944}} 
[2026-08-01 18:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":146399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578534,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:16:04] local.INFO: GPS data processed {"connection_id":146399,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:16:04] local.INFO: Acknowledgment sent {"connection_id":146399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:16:05] local.INFO: TCP Data received {"connection_id":146400,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:16:05] local.INFO: Processing buffer {"connection_id":146400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:16:05] local.INFO: IMEI packet received {"connection_id":146400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":146400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:16:05] local.INFO: TCP Data received {"connection_id":146400,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd58b458012d196680071fef08003a005823..."} 
[2026-08-01 18:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd58b458012d196680071fef08003a005823..."} 
[2026-08-01 18:16:05] local.INFO: Processing buffer {"connection_id":146400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd58b458012d196680071fef08003a005823..."} 
[2026-08-01 18:16:05] local.INFO: Packet analysis {"connection_id":146400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd58"} 
[2026-08-01 18:16:05] local.INFO: Extracted packet for processing {"connection_id":146400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd58"} 
[2026-08-01 18:16:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":35,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 18:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110557184001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785588135000,"timestamp_ms":1785588135000,"timestamp_seconds":1785588135,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd58b458"} 
[2026-08-01 18:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:16: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-08-01 18:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-01 18:16: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-08-01 18:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:16:05] 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-08-01 18:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110557184001,"66":12841,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110557184001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:16:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:16:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110557184001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":146400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578535,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:16:06] local.INFO: GPS data processed {"connection_id":146400,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:16:06] local.INFO: Acknowledgment sent {"connection_id":146400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:16:10] local.INFO: TCP Data received {"connection_id":146400,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd590660012d196680071fef08003a005823..."} 
[2026-08-01 18:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd590660012d196680071fef08003a005823..."} 
[2026-08-01 18:16:10] local.INFO: Processing buffer {"connection_id":146400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd590660012d196680071fef08003a005823..."} 
[2026-08-01 18:16:10] local.INFO: Packet analysis {"connection_id":146400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd59"} 
[2026-08-01 18:16:10] local.INFO: Extracted packet for processing {"connection_id":146400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd59"} 
[2026-08-01 18:16:10] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":35,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110562560001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18: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-08-01 18:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785588156000,"timestamp_ms":1785588156000,"timestamp_seconds":1785588156,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd590660"} 
[2026-08-01 18:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:16: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-08-01 18: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-01 18:16: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-08-01 18: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-08-01 18:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:16: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-08-01 18:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110562560001,"66":12798,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110562560001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:16:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:16:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110562560001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":146400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:16:10] local.INFO: GPS data processed {"connection_id":146400,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:16:10] local.INFO: Acknowledgment sent {"connection_id":146400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:16:20] local.INFO: TCP Data received {"connection_id":147400,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd57fcc0012cee6fc0072e2c580035005a28..."} 
[2026-08-01 18:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd57fcc0012cee6fc0072e2c580035005a28..."} 
[2026-08-01 18:16:20] local.INFO: Processing buffer {"connection_id":147400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd57fcc0012cee6fc0072e2c580035005a28..."} 
[2026-08-01 18:16:20] local.INFO: Packet analysis {"connection_id":147400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd57"} 
[2026-08-01 18:16:20] local.INFO: Extracted packet for processing {"connection_id":147400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd57"} 
[2026-08-01 18:16:20] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466520,"longitude_deg":75.382368,"latitude_deg":12.046652,"altitude":53,"angle":90,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c58","is_valid_coordinates":true} 
[2026-08-01 18:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110473472001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366709779520815104,"note":"Value kept but may cause issues"} 
[2026-08-01 18:16:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195857920,"note":"Value kept but may cause issues"} 
[2026-08-01 18:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785588088000,"timestamp_ms":1785588088000,"timestamp_seconds":1785588088,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd57fcc0"} 
[2026-08-01 18:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:16:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 18:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-01 18:16:20] 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-08-01 18:16:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:16:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110473472001,"66":25962,"219":206,"83":44032,"24":0,"16":366709779520815104,"44":-1265581833195857920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-01 18:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110473472001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:16:20] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 18:16:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366709779520815104,"km_value":366709779520815.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:16:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195857920,"description":"Unknown IO ID 44"} 
[2026-08-01 18:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110473472001,"power":25962,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195857920}} 
[2026-08-01 18:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":147400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:16:20] local.INFO: GPS data processed {"connection_id":147400,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:16:20] local.INFO: Acknowledgment sent {"connection_id":147400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:16:35] local.INFO: TCP Data received {"connection_id":146399,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd5a8530012d7e7e0005c6c408000b007f23..."} 
[2026-08-01 18:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd5a8530012d7e7e0005c6c408000b007f23..."} 
[2026-08-01 18:16:35] local.INFO: Processing buffer {"connection_id":146399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd5a8530012d7e7e0005c6c408000b007f23..."} 
[2026-08-01 18:16:35] local.INFO: Packet analysis {"connection_id":146399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd5a"} 
[2026-08-01 18:16:35] local.INFO: Extracted packet for processing {"connection_id":146399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd5a"} 
[2026-08-01 18:16:35] local.INFO: GPS Element Parsed {"raw_longitude":763264512,"raw_latitude":96912392,"longitude_deg":76.3264512,"latitude_deg":9.6912392,"altitude":11,"angle":127,"satellites":35,"speed":0,"hex_longitude":"2d7e7e00","hex_latitude":"05c6c408","is_valid_coordinates":true} 
[2026-08-01 18:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110587648001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113568259680239616,"note":"Value kept but may cause issues"} 
[2026-08-01 18:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9114722720654034944,"note":"Value kept but may cause issues"} 
[2026-08-01 18:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785588254000,"timestamp_ms":1785588254000,"timestamp_seconds":1785588254,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd5a8530"} 
[2026-08-01 18:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-01 18:16: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-08-01 18:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110587648001,"66":13363,"89":206,"85":12288,"24":0,"16":113568259680239616,"45":9114722720654034944},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-01 18:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110587648001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:16:35] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 18:16:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113568259680239616,"km_value":113568259680239.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9114722720654034944,"description":"Unknown IO ID 45"} 
[2026-08-01 18:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110587648001,"power":13363,"unknown_89":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9114722720654034944}} 
[2026-08-01 18:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":146399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578538,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:16:35] local.INFO: GPS data processed {"connection_id":146399,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:16:35] local.INFO: Acknowledgment sent {"connection_id":146399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:16:41] local.INFO: TCP Data received {"connection_id":146400,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd595868012d196680071fef08003a005825..."} 
[2026-08-01 18:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd595868012d196680071fef08003a005825..."} 
[2026-08-01 18:16:41] local.INFO: Processing buffer {"connection_id":146400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd595868012d196680071fef08003a005825..."} 
[2026-08-01 18:16:41] local.INFO: Packet analysis {"connection_id":146400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd59"} 
[2026-08-01 18:16:41] local.INFO: Extracted packet for processing {"connection_id":146400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd59"} 
[2026-08-01 18:16:41] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":37,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110567936001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:16:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18: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-08-01 18:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785588177000,"timestamp_ms":1785588177000,"timestamp_seconds":1785588177,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd595868"} 
[2026-08-01 18:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:16: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-08-01 18: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-01 18:16: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-08-01 18: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-08-01 18:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":146400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":146400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":146400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:16: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-08-01 18:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110567936001,"66":12722,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110567936001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:16:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:16:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:16:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110567936001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":146400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578539,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:16:41] local.INFO: GPS data processed {"connection_id":146400,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:16:41] local.INFO: Acknowledgment sent {"connection_id":146400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:16:44] local.INFO: TCP Data received {"connection_id":147401,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:16:44] local.INFO: Processing buffer {"connection_id":147401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:16:44] local.INFO: IMEI packet received {"connection_id":147401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":147401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:16:48] local.INFO: TCP Data received {"connection_id":147401,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:16:48] local.INFO: Processing buffer {"connection_id":147401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:16:48] local.INFO: IMEI packet received {"connection_id":147401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":147401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:16:49] local.INFO: TCP Data received {"connection_id":147401,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd57fcc0012cee6fc0072e2c580035005a28..."} 
[2026-08-01 18:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd57fcc0012cee6fc0072e2c580035005a28..."} 
[2026-08-01 18:16:49] local.INFO: Processing buffer {"connection_id":147401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd57fcc0012cee6fc0072e2c580035005a28..."} 
[2026-08-01 18:16:49] local.INFO: Packet analysis {"connection_id":147401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd57"} 
[2026-08-01 18:16:49] local.INFO: Extracted packet for processing {"connection_id":147401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd57"} 
[2026-08-01 18:16:49] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466520,"longitude_deg":75.382368,"latitude_deg":12.046652,"altitude":53,"angle":90,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c58","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110473472001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366709779520815104,"note":"Value kept but may cause issues"} 
[2026-08-01 18:16:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195857920,"note":"Value kept but may cause issues"} 
[2026-08-01 18:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785588088000,"timestamp_ms":1785588088000,"timestamp_seconds":1785588088,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd57fcc0"} 
[2026-08-01 18:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:16:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 18: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-01 18:16:49] 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-08-01 18: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-08-01 18:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:16:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110473472001,"66":25962,"219":206,"83":44032,"24":0,"16":366709779520815104,"44":-1265581833195857920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-01 18:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110473472001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:16:49] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 18:16:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366709779520815104,"km_value":366709779520815.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:16:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195857920,"description":"Unknown IO ID 44"} 
[2026-08-01 18:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110473472001,"power":25962,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195857920}} 
[2026-08-01 18:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":147401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:16:49] local.INFO: GPS data processed {"connection_id":147401,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:16:49] local.INFO: Acknowledgment sent {"connection_id":147401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:16:58] local.INFO: TCP Data received {"connection_id":147402,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147402,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:16:58] local.INFO: Processing buffer {"connection_id":147402,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:16:58] local.INFO: IMEI packet received {"connection_id":147402,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 18:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":147402,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:16:59] local.INFO: TCP Data received {"connection_id":147402,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147402,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:16:59] local.INFO: Processing buffer {"connection_id":147402,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:16:59] local.INFO: IMEI packet received {"connection_id":147402,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":147402,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:17:00] local.INFO: TCP Data received {"connection_id":146401,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146401,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:17:00] local.INFO: Processing buffer {"connection_id":146401,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:17:00] local.INFO: IMEI packet received {"connection_id":146401,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 18:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":146401,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:17:03] local.INFO: TCP Data received {"connection_id":147402,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147402,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:17:03] local.INFO: Processing buffer {"connection_id":147402,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:17:03] local.INFO: IMEI packet received {"connection_id":147402,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":147402,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:17:04] local.INFO: TCP Data received {"connection_id":147402,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd5ad738012d7e7f8005c6c2480006008125..."} 
[2026-08-01 18:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd5ad738012d7e7f8005c6c2480006008125..."} 
[2026-08-01 18:17:04] local.INFO: Processing buffer {"connection_id":147402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd5ad738012d7e7f8005c6c2480006008125..."} 
[2026-08-01 18:17:04] local.INFO: Packet analysis {"connection_id":147402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd5a"} 
[2026-08-01 18:17:04] local.INFO: Extracted packet for processing {"connection_id":147402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd5a"} 
[2026-08-01 18:17:04] local.INFO: GPS Element Parsed {"raw_longitude":763264896,"raw_latitude":96911944,"longitude_deg":76.3264896,"latitude_deg":9.6911944,"altitude":6,"angle":129,"satellites":37,"speed":8,"hex_longitude":"2d7e7f80","hex_latitude":"05c6c248","is_valid_coordinates":true} 
[2026-08-01 18:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110593024001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113568289745010688,"note":"Value kept but may cause issues"} 
[2026-08-01 18:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9114722720654034944,"note":"Value kept but may cause issues"} 
[2026-08-01 18:17:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785588275000,"timestamp_ms":1785588275000,"timestamp_seconds":1785588275,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd5ad738"} 
[2026-08-01 18:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:17:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-01 18:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:17:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147402,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147402,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:17:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110593024001,"66":12961,"89":206,"85":12288,"24":8,"16":113568289745010688,"45":9114722720654034944},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-01 18:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110593024001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:17:04] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 18:17:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113568289745010688,"km_value":113568289745010.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9114722720654034944,"description":"Unknown IO ID 45"} 
[2026-08-01 18:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110593024001,"power":12961,"unknown_89":206,"unknown_85":12288,"ignition":8,"odometer":null,"unknown_45":9114722720654034944}} 
[2026-08-01 18:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":147402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578541,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:17:04] local.INFO: GPS data processed {"connection_id":147402,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:17:04] local.INFO: Acknowledgment sent {"connection_id":147402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:17:05] local.INFO: TCP Data received {"connection_id":146401,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146401,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:17:05] local.INFO: Processing buffer {"connection_id":146401,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:17:05] local.INFO: IMEI packet received {"connection_id":146401,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":146401,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:17:06] local.INFO: TCP Data received {"connection_id":146401,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd59aa70012d196680071fef08003a005825..."} 
[2026-08-01 18:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd59aa70012d196680071fef08003a005825..."} 
[2026-08-01 18:17:06] local.INFO: Processing buffer {"connection_id":146401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd59aa70012d196680071fef08003a005825..."} 
[2026-08-01 18:17:06] local.INFO: Packet analysis {"connection_id":146401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd59"} 
[2026-08-01 18:17:06] local.INFO: Extracted packet for processing {"connection_id":146401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd59"} 
[2026-08-01 18:17:06] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":37,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 18:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110573312001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785588198000,"timestamp_ms":1785588198000,"timestamp_seconds":1785588198,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd59aa70"} 
[2026-08-01 18:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-01 18:17:06] 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-08-01 18:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:17:06] 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-08-01 18:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110573312001,"66":12722,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110573312001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:17:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:17:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110573312001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":146401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:17:06] local.INFO: GPS data processed {"connection_id":146401,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:17:06] local.INFO: Acknowledgment sent {"connection_id":146401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:17:21] local.INFO: TCP Data received {"connection_id":147401,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd5c9488012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd5c9488012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:17:21] local.INFO: Processing buffer {"connection_id":147401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd5c9488012cee6fc0072e2c580035005a2a..."} 
[2026-08-01 18:17:21] local.INFO: Packet analysis {"connection_id":147401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd5c"} 
[2026-08-01 18:17:21] local.INFO: Extracted packet for processing {"connection_id":147401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd5c"} 
[2026-08-01 18:17:21] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466520,"longitude_deg":75.382368,"latitude_deg":12.046652,"altitude":53,"angle":90,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c58","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110550528001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366709779520815104,"note":"Value kept but may cause issues"} 
[2026-08-01 18:17:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195857920,"note":"Value kept but may cause issues"} 
[2026-08-01 18:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785588389000,"timestamp_ms":1785588389000,"timestamp_seconds":1785588389,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd5c9488"} 
[2026-08-01 18:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:17:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 18: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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-01 18:17:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:17:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110550528001,"66":25897,"219":206,"83":44032,"24":0,"16":366709779520815104,"44":-1265581833195857920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-01 18:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110550528001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:17:21] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 18:17:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366709779520815104,"km_value":366709779520815.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:17:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195857920,"description":"Unknown IO ID 44"} 
[2026-08-01 18:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110550528001,"power":25897,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195857920}} 
[2026-08-01 18:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":147401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:17:21] local.INFO: GPS data processed {"connection_id":147401,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:17:21] local.INFO: Acknowledgment sent {"connection_id":147401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:17:35] local.INFO: TCP Data received {"connection_id":147402,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd5d86b8012d7f230005c62468000700cc25..."} 
[2026-08-01 18:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd5d86b8012d7f230005c62468000700cc25..."} 
[2026-08-01 18:17:35] local.INFO: Processing buffer {"connection_id":147402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd5d86b8012d7f230005c62468000700cc25..."} 
[2026-08-01 18:17:35] local.INFO: Packet analysis {"connection_id":147402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd5d"} 
[2026-08-01 18:17:35] local.INFO: Extracted packet for processing {"connection_id":147402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd5d"} 
[2026-08-01 18:17:35] local.INFO: GPS Element Parsed {"raw_longitude":763306752,"raw_latitude":96871528,"longitude_deg":76.3306752,"latitude_deg":9.6871528,"altitude":7,"angle":204,"satellites":37,"speed":3,"hex_longitude":"2d7f2300","hex_latitude":"05c62468","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110643200001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113571171668066304,"note":"Value kept but may cause issues"} 
[2026-08-01 18:17:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9161236460545032192,"note":"Value kept but may cause issues"} 
[2026-08-01 18:17:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785588451000,"timestamp_ms":1785588451000,"timestamp_seconds":1785588451,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd5d86b8"} 
[2026-08-01 18:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:17:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-01 18:17:35] 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-08-01 18: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-08-01 18:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147402,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147402,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:17:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110643200001,"66":13341,"100":206,"85":12288,"24":3,"16":113571171668066304,"45":9161236460545032192},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-08-01 18:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110643200001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:17:35] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-01 18:17:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113571171668066304,"km_value":113571171668066.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:17:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9161236460545032192,"description":"Unknown IO ID 45"} 
[2026-08-01 18:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110643200001,"power":13341,"unknown_100":206,"unknown_85":12288,"ignition":3,"odometer":null,"unknown_45":9161236460545032192}} 
[2026-08-01 18:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":147402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578544,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:17:35] local.INFO: GPS data processed {"connection_id":147402,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:17:35] local.INFO: Acknowledgment sent {"connection_id":147402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:17:37] local.INFO: TCP Data received {"connection_id":146401,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd59fc78012d196680071fef08003a005827..."} 
[2026-08-01 18:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd59fc78012d196680071fef08003a005827..."} 
[2026-08-01 18:17:37] local.INFO: Processing buffer {"connection_id":146401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd59fc78012d196680071fef08003a005827..."} 
[2026-08-01 18:17:37] local.INFO: Packet analysis {"connection_id":146401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd59"} 
[2026-08-01 18:17:37] local.INFO: Extracted packet for processing {"connection_id":146401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd59"} 
[2026-08-01 18:17:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 18:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110578688001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785588219000,"timestamp_ms":1785588219000,"timestamp_seconds":1785588219,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd59fc78"} 
[2026-08-01 18:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-01 18:17:37] 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-08-01 18:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:17:37] 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-08-01 18:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110578688001,"66":12765,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110578688001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:17:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:17:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110578688001,"power":12765,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":146401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:17:37] local.INFO: GPS data processed {"connection_id":146401,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:17:37] local.INFO: Acknowledgment sent {"connection_id":146401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:17:43] local.INFO: TCP Data received {"connection_id":148705,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:17:43] local.INFO: Processing buffer {"connection_id":148705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:17:43] local.INFO: IMEI packet received {"connection_id":148705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":148705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:17:49] local.INFO: TCP Data received {"connection_id":148705,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:17:49] local.INFO: Processing buffer {"connection_id":148705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:17:49] local.INFO: IMEI packet received {"connection_id":148705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":148705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:17:50] local.INFO: TCP Data received {"connection_id":148705,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd5cd308012cee6fc0072e2c580035005a29..."} 
[2026-08-01 18:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd5cd308012cee6fc0072e2c580035005a29..."} 
[2026-08-01 18:17:50] local.INFO: Processing buffer {"connection_id":148705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd5cd308012cee6fc0072e2c580035005a29..."} 
[2026-08-01 18:17:50] local.INFO: Packet analysis {"connection_id":148705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd5c"} 
[2026-08-01 18:17:50] local.INFO: Extracted packet for processing {"connection_id":148705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd5c"} 
[2026-08-01 18:17:50] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466520,"longitude_deg":75.382368,"latitude_deg":12.046652,"altitude":53,"angle":90,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c58","is_valid_coordinates":true} 
[2026-08-01 18:17: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-08-01 18:17:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110627584001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:17:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366709779520815104,"note":"Value kept but may cause issues"} 
[2026-08-01 18:17:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195857920,"note":"Value kept but may cause issues"} 
[2026-08-01 18:17:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:17:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785588405000,"timestamp_ms":1785588405000,"timestamp_seconds":1785588405,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd5cd308"} 
[2026-08-01 18:17:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:17:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 18:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-01 18:17:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:17:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:17:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:17:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:17:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:17:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:17:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:17:50] 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-08-01 18:17:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:17:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:17:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110627584001,"66":25843,"219":206,"83":44032,"24":0,"16":366709779520815104,"44":-1265581833195857920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-01 18:17:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:17:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:17:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110627584001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:17:50] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 18:17:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:17:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366709779520815104,"km_value":366709779520815.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:17:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195857920,"description":"Unknown IO ID 44"} 
[2026-08-01 18:17:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110627584001,"power":25843,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195857920}} 
[2026-08-01 18:17:50] local.INFO: DEBUG: GPS processor result {"connection_id":148705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:17:50] local.INFO: GPS data processed {"connection_id":148705,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:17:50] local.INFO: Acknowledgment sent {"connection_id":148705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:17:58] local.INFO: TCP Data received {"connection_id":147403,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147403,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:17:58] local.INFO: Processing buffer {"connection_id":147403,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:17:58] local.INFO: IMEI packet received {"connection_id":147403,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 18:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":147403,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:17:59] local.INFO: TCP Data received {"connection_id":147403,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147403,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:17:59] local.INFO: Processing buffer {"connection_id":147403,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:17:59] local.INFO: IMEI packet received {"connection_id":147403,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":147403,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:17:59] local.INFO: TCP Data received {"connection_id":147404,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:17:59] local.INFO: Processing buffer {"connection_id":147404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:17:59] local.INFO: IMEI packet received {"connection_id":147404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 18:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":147404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:18:02] local.INFO: TCP Data received {"connection_id":147403,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147403,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:18:02] local.INFO: Processing buffer {"connection_id":147403,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:18:02] local.INFO: IMEI packet received {"connection_id":147403,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":147403,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:18:03] local.INFO: TCP Data received {"connection_id":147403,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd5d8aa0012d7f228005c623f0000700d825..."} 
[2026-08-01 18:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd5d8aa0012d7f228005c623f0000700d825..."} 
[2026-08-01 18:18:03] local.INFO: Processing buffer {"connection_id":147403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd5d8aa0012d7f228005c623f0000700d825..."} 
[2026-08-01 18:18:03] local.INFO: Packet analysis {"connection_id":147403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd5d"} 
[2026-08-01 18:18:03] local.INFO: Extracted packet for processing {"connection_id":147403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd5d"} 
[2026-08-01 18:18:03] local.INFO: GPS Element Parsed {"raw_longitude":763306624,"raw_latitude":96871408,"longitude_deg":76.3306624,"latitude_deg":9.6871408,"altitude":7,"angle":216,"satellites":37,"speed":5,"hex_longitude":"2d7f2280","hex_latitude":"05c623f0","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110643456001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113571175963033600,"note":"Value kept but may cause issues"} 
[2026-08-01 18:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9161166091800832000,"note":"Value kept but may cause issues"} 
[2026-08-01 18:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785588452000,"timestamp_ms":1785588452000,"timestamp_seconds":1785588452,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd5d8aa0"} 
[2026-08-01 18:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-01 18:18: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-08-01 18: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-08-01 18:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110643456001,"66":13526,"100":206,"85":12288,"24":5,"16":113571175963033600,"45":9161166091800832000},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-08-01 18:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110643456001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:18:03] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-01 18:18:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113571175963033600,"km_value":113571175963033.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9161166091800832000,"description":"Unknown IO ID 45"} 
[2026-08-01 18:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110643456001,"power":13526,"unknown_100":206,"unknown_85":12288,"ignition":5,"odometer":null,"unknown_45":9161166091800832000}} 
[2026-08-01 18:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":147403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578547,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:18:03] local.INFO: GPS data processed {"connection_id":147403,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:18:03] local.INFO: Acknowledgment sent {"connection_id":147403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:18:05] local.INFO: TCP Data received {"connection_id":147404,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:18:05] local.INFO: Processing buffer {"connection_id":147404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:18:05] local.INFO: IMEI packet received {"connection_id":147404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":147404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:18:05] local.INFO: TCP Data received {"connection_id":147404,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd5a4e80012d196680071fef08003a005827..."} 
[2026-08-01 18:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd5a4e80012d196680071fef08003a005827..."} 
[2026-08-01 18:18:05] local.INFO: Processing buffer {"connection_id":147404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd5a4e80012d196680071fef08003a005827..."} 
[2026-08-01 18:18:05] local.INFO: Packet analysis {"connection_id":147404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd5a"} 
[2026-08-01 18:18:05] local.INFO: Extracted packet for processing {"connection_id":147404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd5a"} 
[2026-08-01 18:18:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 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-08-01 18:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110584064001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785588240000,"timestamp_ms":1785588240000,"timestamp_seconds":1785588240,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd5a4e80"} 
[2026-08-01 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-08-01 18:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":221,"data_length":795,"current_offset":136} 
[2026-08-01 18:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 18:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:18:05] 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-08-01 18:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110584064001,"66":12743,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110584064001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:18:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:18:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110584064001,"power":12743,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":147404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:18:06] local.INFO: GPS data processed {"connection_id":147404,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:18:06] local.INFO: Acknowledgment sent {"connection_id":147404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:18:22] local.INFO: TCP Data received {"connection_id":148705,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd5d3898012cee7100072e2c980035005a28..."} 
[2026-08-01 18:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd5d3898012cee7100072e2c980035005a28..."} 
[2026-08-01 18:18:22] local.INFO: Processing buffer {"connection_id":148705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd5d3898012cee7100072e2c980035005a28..."} 
[2026-08-01 18:18:22] local.INFO: Packet analysis {"connection_id":148705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd5d"} 
[2026-08-01 18:18:22] local.INFO: Extracted packet for processing {"connection_id":148705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd5d"} 
[2026-08-01 18:18:22] local.INFO: GPS Element Parsed {"raw_longitude":753824000,"raw_latitude":120466584,"longitude_deg":75.3824,"latitude_deg":12.0466584,"altitude":53,"angle":90,"satellites":40,"speed":0,"hex_longitude":"2cee7100","hex_latitude":"072e2c98","is_valid_coordinates":true} 
[2026-08-01 18:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110631680001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366709779520815104,"note":"Value kept but may cause issues"} 
[2026-08-01 18:18:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195857920,"note":"Value kept but may cause issues"} 
[2026-08-01 18:18:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785588431000,"timestamp_ms":1785588431000,"timestamp_seconds":1785588431,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd5d3898"} 
[2026-08-01 18:18:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:18:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-01 18:18:22] 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-08-01 18:18:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:18:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:18:22] 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-08-01 18:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110631680001,"66":27843,"219":206,"83":44032,"24":0,"16":366709779520815104,"44":-1265581833195857920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-01 18:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110631680001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:18:22] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 18:18:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366709779520815104,"km_value":366709779520815.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:18:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195857920,"description":"Unknown IO ID 44"} 
[2026-08-01 18:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110631680001,"power":27843,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195857920}} 
[2026-08-01 18:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":148705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:18:22] local.INFO: GPS data processed {"connection_id":148705,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:18:22] local.INFO: Acknowledgment sent {"connection_id":148705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:18:34] local.INFO: TCP Data received {"connection_id":147403,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd5d8e88012d7f220005c62380000700ef25..."} 
[2026-08-01 18:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd5d8e88012d7f220005c62380000700ef25..."} 
[2026-08-01 18:18:34] local.INFO: Processing buffer {"connection_id":147403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd5d8e88012d7f220005c62380000700ef25..."} 
[2026-08-01 18:18:34] local.INFO: Packet analysis {"connection_id":147403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd5d"} 
[2026-08-01 18:18:34] local.INFO: Extracted packet for processing {"connection_id":147403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd5d"} 
[2026-08-01 18:18:34] local.INFO: GPS Element Parsed {"raw_longitude":763306496,"raw_latitude":96871296,"longitude_deg":76.3306496,"latitude_deg":9.6871296,"altitude":7,"angle":239,"satellites":37,"speed":6,"hex_longitude":"2d7f2200","hex_latitude":"05c62380","is_valid_coordinates":true} 
[2026-08-01 18:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110643712001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113571184552968192,"note":"Value kept but may cause issues"} 
[2026-08-01 18:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9161025354312445952,"note":"Value kept but may cause issues"} 
[2026-08-01 18:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785588453000,"timestamp_ms":1785588453000,"timestamp_seconds":1785588453,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd5d8e88"} 
[2026-08-01 18:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-01 18:18:34] 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-08-01 18:18:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:18:34] 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-08-01 18:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110643712001,"66":13374,"100":206,"85":12288,"24":6,"16":113571184552968192,"45":9161025354312445952},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-08-01 18:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110643712001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:18:34] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-01 18:18:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113571184552968192,"km_value":113571184552968.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9161025354312445952,"description":"Unknown IO ID 45"} 
[2026-08-01 18:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110643712001,"power":13374,"unknown_100":206,"unknown_85":12288,"ignition":6,"odometer":null,"unknown_45":9161025354312445952}} 
[2026-08-01 18:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":147403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578550,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:18:34] local.INFO: GPS data processed {"connection_id":147403,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:18:34] local.INFO: Acknowledgment sent {"connection_id":147403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:18:37] local.INFO: TCP Data received {"connection_id":147404,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd5aa088012d196680071fef08003a005826..."} 
[2026-08-01 18:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd5aa088012d196680071fef08003a005826..."} 
[2026-08-01 18:18:37] local.INFO: Processing buffer {"connection_id":147404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd5aa088012d196680071fef08003a005826..."} 
[2026-08-01 18:18:37] local.INFO: Packet analysis {"connection_id":147404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd5a"} 
[2026-08-01 18:18:37] local.INFO: Extracted packet for processing {"connection_id":147404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd5a"} 
[2026-08-01 18:18:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 18:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110589440001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785588261000,"timestamp_ms":1785588261000,"timestamp_seconds":1785588261,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd5aa088"} 
[2026-08-01 18:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-01 18:18:37] 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-08-01 18:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:18:37] 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-08-01 18:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110589440001,"66":12722,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110589440001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:18:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:18:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110589440001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":147404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:18:37] local.INFO: GPS data processed {"connection_id":147404,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:18:37] local.INFO: Acknowledgment sent {"connection_id":147404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:18:43] local.INFO: TCP Data received {"connection_id":147405,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:18:44] local.INFO: Processing buffer {"connection_id":147405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:18:44] local.INFO: IMEI packet received {"connection_id":147405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":147405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:18:53] local.INFO: TCP Data received {"connection_id":147405,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:18:53] local.INFO: Processing buffer {"connection_id":147405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:18:53] local.INFO: IMEI packet received {"connection_id":147405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":147405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:18:54] local.INFO: TCP Data received {"connection_id":147405,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd5d8aa0012cee7100072e2c980035005a29..."} 
[2026-08-01 18:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd5d8aa0012cee7100072e2c980035005a29..."} 
[2026-08-01 18:18:54] local.INFO: Processing buffer {"connection_id":147405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd5d8aa0012cee7100072e2c980035005a29..."} 
[2026-08-01 18:18:54] local.INFO: Packet analysis {"connection_id":147405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd5d"} 
[2026-08-01 18:18:54] local.INFO: Extracted packet for processing {"connection_id":147405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd5d"} 
[2026-08-01 18:18:54] local.INFO: GPS Element Parsed {"raw_longitude":753824000,"raw_latitude":120466584,"longitude_deg":75.3824,"latitude_deg":12.0466584,"altitude":53,"angle":90,"satellites":41,"speed":0,"hex_longitude":"2cee7100","hex_latitude":"072e2c98","is_valid_coordinates":true} 
[2026-08-01 18:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110638336001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366709779520815104,"note":"Value kept but may cause issues"} 
[2026-08-01 18:18:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265229989474953216,"note":"Value kept but may cause issues"} 
[2026-08-01 18:18:54] 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-08-01 18:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785588452000,"timestamp_ms":1785588452000,"timestamp_seconds":1785588452,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd5d8aa0"} 
[2026-08-01 18:18:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:18:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 18:18:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:18:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:18:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":147405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":147405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":147405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:18:54] 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-08-01 18:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110638336001,"66":27843,"219":206,"83":44032,"24":0,"16":366709779520815104,"44":-1265229989474953216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-01 18:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110638336001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:18:54] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-01 18:18:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366709779520815104,"km_value":366709779520815.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:18:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265229989474953216,"description":"Unknown IO ID 44"} 
[2026-08-01 18:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110638336001,"power":27843,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265229989474953216}} 
[2026-08-01 18:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":147405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:18:54] local.INFO: GPS data processed {"connection_id":147405,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:18:54] local.INFO: Acknowledgment sent {"connection_id":147405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:18:59] local.INFO: TCP Data received {"connection_id":146402,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146402,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:18:59] local.INFO: Processing buffer {"connection_id":146402,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:18:59] local.INFO: IMEI packet received {"connection_id":146402,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 18:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":146402,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:19:03] local.INFO: TCP Data received {"connection_id":148706,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148706,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:19:03] local.INFO: Processing buffer {"connection_id":148706,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:19:03] local.INFO: IMEI packet received {"connection_id":148706,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 18:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":148706,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:19:05] local.INFO: TCP Data received {"connection_id":146402,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146402,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:19:05] local.INFO: Processing buffer {"connection_id":146402,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:19:05] local.INFO: IMEI packet received {"connection_id":146402,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":146402,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:19:05] local.INFO: TCP Data received {"connection_id":146402,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd5af290012d196680071fef08003a005828..."} 
[2026-08-01 18:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd5af290012d196680071fef08003a005828..."} 
[2026-08-01 18:19:05] local.INFO: Processing buffer {"connection_id":146402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd5af290012d196680071fef08003a005828..."} 
[2026-08-01 18:19:05] local.INFO: Packet analysis {"connection_id":146402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd5a"} 
[2026-08-01 18:19:05] local.INFO: Extracted packet for processing {"connection_id":146402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd5a"} 
[2026-08-01 18:19:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":40,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110594816001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785588282000,"timestamp_ms":1785588282000,"timestamp_seconds":1785588282,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd5af290"} 
[2026-08-01 18:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-01 18:19: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-08-01 18: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-08-01 18:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:19:05] 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-08-01 18:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110594816001,"66":12722,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110594816001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:19:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:19:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110594816001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":146402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:19:06] local.INFO: GPS data processed {"connection_id":146402,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:19:06] local.INFO: Acknowledgment sent {"connection_id":146402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:19:10] local.INFO: TCP Data received {"connection_id":148706,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148706,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:19:10] local.INFO: Processing buffer {"connection_id":148706,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:19:10] local.INFO: IMEI packet received {"connection_id":148706,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":148706,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:19:14] local.INFO: TCP Data received {"connection_id":148706,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd5d9270012d7f218005c623480007010025..."} 
[2026-08-01 18:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd5d9270012d7f218005c623480007010025..."} 
[2026-08-01 18:19:14] local.INFO: Processing buffer {"connection_id":148706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd5d9270012d7f218005c623480007010025..."} 
[2026-08-01 18:19:14] local.INFO: Packet analysis {"connection_id":148706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd5d"} 
[2026-08-01 18:19:14] local.INFO: Extracted packet for processing {"connection_id":148706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd5d"} 
[2026-08-01 18:19:14] local.INFO: GPS Element Parsed {"raw_longitude":763306368,"raw_latitude":96871240,"longitude_deg":76.3306368,"latitude_deg":9.687124,"altitude":7,"angle":256,"satellites":37,"speed":7,"hex_longitude":"2d7f2180","hex_latitude":"05c62348","is_valid_coordinates":true} 
[2026-08-01 18:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:19:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110643968001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:19:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113571193142902784,"note":"Value kept but may cause issues"} 
[2026-08-01 18:19:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9160884616824061952,"note":"Value kept but may cause issues"} 
[2026-08-01 18:19:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:19:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785588454000,"timestamp_ms":1785588454000,"timestamp_seconds":1785588454,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd5d9270"} 
[2026-08-01 18:19:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:19:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-01 18:19:14] 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-08-01 18:19:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:19:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:19:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:19:14] local.INFO: Teltonika packet parsed successfully {"connection_id":148706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:19:14] local.INFO: Passing IMEI to GPS processor {"connection_id":148706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:19:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":148706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:19:14] 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-08-01 18:19:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:19:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:19:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110643968001,"66":13374,"100":206,"85":12288,"24":7,"16":113571193142902784,"45":9160884616824061952},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-08-01 18:19:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:19:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:19:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110643968001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:19:14] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-01 18:19:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:19:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113571193142902784,"km_value":113571193142902.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:19:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9160884616824061952,"description":"Unknown IO ID 45"} 
[2026-08-01 18:19:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110643968001,"power":13374,"unknown_100":206,"unknown_85":12288,"ignition":7,"odometer":null,"unknown_45":9160884616824061952}} 
[2026-08-01 18:19:14] local.INFO: DEBUG: GPS processor result {"connection_id":148706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578554,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:19:14] local.INFO: GPS data processed {"connection_id":148706,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:19:14] local.INFO: Acknowledgment sent {"connection_id":148706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:19:25] local.INFO: TCP Data received {"connection_id":147405,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd5e6560012cee6bc0072e31a8003001182c..."} 
[2026-08-01 18:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd5e6560012cee6bc0072e31a8003001182c..."} 
[2026-08-01 18:19:25] local.INFO: Processing buffer {"connection_id":147405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd5e6560012cee6bc0072e31a8003001182c..."} 
[2026-08-01 18:19:25] local.INFO: Packet analysis {"connection_id":147405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd5e"} 
[2026-08-01 18:19:25] local.INFO: Extracted packet for processing {"connection_id":147405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd5e"} 
[2026-08-01 18:19:25] local.INFO: GPS Element Parsed {"raw_longitude":753822656,"raw_latitude":120467880,"longitude_deg":75.3822656,"latitude_deg":12.046788,"altitude":48,"angle":280,"satellites":44,"speed":7,"hex_longitude":"2cee6bc0","hex_latitude":"072e31a8","is_valid_coordinates":true} 
[2026-08-01 18:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110657792001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366709904074866688,"note":"Value kept but may cause issues"} 
[2026-08-01 18:19:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266566995613999104,"note":"Value kept but may cause issues"} 
[2026-08-01 18:19:25] 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-08-01 18:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785588508000,"timestamp_ms":1785588508000,"timestamp_seconds":1785588508,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd5e6560"} 
[2026-08-01 18:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:19:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 18:19:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:19:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":147405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":147405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":147405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:19:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110657792001,"66":27843,"229":206,"83":44032,"24":7,"16":366709904074866688,"44":-1266566995613999104},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-08-01 18:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110657792001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:19:25] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 18:19:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366709904074866688,"km_value":366709904074866.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:19:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266566995613999104,"description":"Unknown IO ID 44"} 
[2026-08-01 18:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110657792001,"power":27843,"unknown_229":206,"unknown_83":44032,"ignition":7,"odometer":null,"unknown_44":-1266566995613999104}} 
[2026-08-01 18:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":147405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:19:25] local.INFO: GPS data processed {"connection_id":147405,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:19:25] local.INFO: Acknowledgment sent {"connection_id":147405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:19:32] local.INFO: TCP Data received {"connection_id":148706,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd5d9658012d7f208005c623400007011125..."} 
[2026-08-01 18:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd5d9658012d7f208005c623400007011125..."} 
[2026-08-01 18:19:32] local.INFO: Processing buffer {"connection_id":148706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd5d9658012d7f208005c623400007011125..."} 
[2026-08-01 18:19:32] local.INFO: Packet analysis {"connection_id":148706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd5d"} 
[2026-08-01 18:19:32] local.INFO: Extracted packet for processing {"connection_id":148706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd5d"} 
[2026-08-01 18:19:32] local.INFO: GPS Element Parsed {"raw_longitude":763306112,"raw_latitude":96871232,"longitude_deg":76.3306112,"latitude_deg":9.6871232,"altitude":7,"angle":273,"satellites":37,"speed":9,"hex_longitude":"2d7f2080","hex_latitude":"05c62340","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110644224001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113571206027804672,"note":"Value kept but may cause issues"} 
[2026-08-01 18:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9160743879335692288,"note":"Value kept but may cause issues"} 
[2026-08-01 18:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1785588455000,"timestamp_ms":1785588455000,"timestamp_seconds":1785588455,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd5d9658"} 
[2026-08-01 18:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-01 18:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":148706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":148706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":148706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:19:32] 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-08-01 18:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110644224001,"66":13319,"100":206,"85":12288,"24":9,"16":113571206027804672,"45":9160743879335692288},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-08-01 18:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110644224001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:19:32] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-01 18:19:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113571206027804672,"km_value":113571206027804.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9160743879335692288,"description":"Unknown IO ID 45"} 
[2026-08-01 18:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110644224001,"power":13319,"unknown_100":206,"unknown_85":12288,"ignition":9,"odometer":null,"unknown_45":9160743879335692288}} 
[2026-08-01 18:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":148706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578556,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:19:32] local.INFO: GPS data processed {"connection_id":148706,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:19:32] local.INFO: Acknowledgment sent {"connection_id":148706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:19:37] local.INFO: TCP Data received {"connection_id":146402,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd5b4498012d196680071fef08003a005825..."} 
[2026-08-01 18:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd5b4498012d196680071fef08003a005825..."} 
[2026-08-01 18:19:37] local.INFO: Processing buffer {"connection_id":146402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd5b4498012d196680071fef08003a005825..."} 
[2026-08-01 18:19:37] local.INFO: Packet analysis {"connection_id":146402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd5b"} 
[2026-08-01 18:19:37] local.INFO: Extracted packet for processing {"connection_id":146402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd5b"} 
[2026-08-01 18:19:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":37,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110600192001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785588303000,"timestamp_ms":1785588303000,"timestamp_seconds":1785588303,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd5b4498"} 
[2026-08-01 18:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18: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-08-01 18: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-01 18:19:37] 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-08-01 18: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-08-01 18:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:19:37] 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-08-01 18:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110600192001,"66":12711,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110600192001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:19:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:19:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110600192001,"power":12711,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":146402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:19:37] local.INFO: GPS data processed {"connection_id":146402,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:19:37] local.INFO: Acknowledgment sent {"connection_id":146402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:19:43] local.INFO: TCP Data received {"connection_id":146179,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:19:43] local.INFO: Processing buffer {"connection_id":146179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:19:43] local.INFO: IMEI packet received {"connection_id":146179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":146179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:19:44] local.INFO: TCP Data received {"connection_id":146179,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:19:44] local.INFO: Processing buffer {"connection_id":146179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:19:44] local.INFO: IMEI packet received {"connection_id":146179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":146179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:19:49] local.INFO: TCP Data received {"connection_id":146179,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:19:49] local.INFO: Processing buffer {"connection_id":146179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:19:49] local.INFO: IMEI packet received {"connection_id":146179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":146179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:19:50] local.INFO: TCP Data received {"connection_id":146179,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd5e9440012cee5d40072e3448002f01062a..."} 
[2026-08-01 18:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd5e9440012cee5d40072e3448002f01062a..."} 
[2026-08-01 18:19:50] local.INFO: Processing buffer {"connection_id":146179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd5e9440012cee5d40072e3448002f01062a..."} 
[2026-08-01 18:19:50] local.INFO: Packet analysis {"connection_id":146179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd5e"} 
[2026-08-01 18:19:50] local.INFO: Extracted packet for processing {"connection_id":146179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd5e"} 
[2026-08-01 18:19:50] local.INFO: GPS Element Parsed {"raw_longitude":753818944,"raw_latitude":120468552,"longitude_deg":75.3818944,"latitude_deg":12.0468552,"altitude":47,"angle":262,"satellites":42,"speed":15,"hex_longitude":"2cee5d40","hex_latitude":"072e3448","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110658048001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366710080168525824,"note":"Value kept but may cause issues"} 
[2026-08-01 18:19:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266707733102352384,"note":"Value kept but may cause issues"} 
[2026-08-01 18:19:50] 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-08-01 18:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785588520000,"timestamp_ms":1785588520000,"timestamp_seconds":1785588520,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd5e9440"} 
[2026-08-01 18:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:19:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 18:19:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:19:50] 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-08-01 18:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110658048001,"66":27865,"229":206,"83":44032,"24":15,"16":366710080168525824,"44":-1266707733102352384},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-08-01 18:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110658048001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:19:50] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 18:19:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366710080168525824,"km_value":366710080168525.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:19:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266707733102352384,"description":"Unknown IO ID 44"} 
[2026-08-01 18:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110658048001,"power":27865,"unknown_229":206,"unknown_83":44032,"ignition":15,"odometer":null,"unknown_44":-1266707733102352384}} 
[2026-08-01 18:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":146179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:19:50] local.INFO: GPS data processed {"connection_id":146179,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:19:50] local.INFO: Acknowledgment sent {"connection_id":146179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:19:57] local.INFO: TCP Data received {"connection_id":147406,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147406,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:19:57] local.INFO: Processing buffer {"connection_id":147406,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:19:57] local.INFO: IMEI packet received {"connection_id":147406,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 18:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":147406,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:19:58] local.INFO: TCP Data received {"connection_id":147406,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147406,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:19:58] local.INFO: Processing buffer {"connection_id":147406,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:19:58] local.INFO: IMEI packet received {"connection_id":147406,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":147406,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:20:02] local.INFO: TCP Data received {"connection_id":147406,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147406,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:20:02] local.INFO: Processing buffer {"connection_id":147406,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:20:02] local.INFO: IMEI packet received {"connection_id":147406,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":147406,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:20:03] local.INFO: TCP Data received {"connection_id":147406,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd5d9e28012d7f1e8005c623b00007011d25..."} 
[2026-08-01 18:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd5d9e28012d7f1e8005c623b00007011d25..."} 
[2026-08-01 18:20:03] local.INFO: Processing buffer {"connection_id":147406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd5d9e28012d7f1e8005c623b00007011d25..."} 
[2026-08-01 18:20:03] local.INFO: Packet analysis {"connection_id":147406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd5d"} 
[2026-08-01 18:20:03] local.INFO: Extracted packet for processing {"connection_id":147406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd5d"} 
[2026-08-01 18:20:03] local.INFO: GPS Element Parsed {"raw_longitude":763305600,"raw_latitude":96871344,"longitude_deg":76.33056,"latitude_deg":9.6871344,"altitude":7,"angle":285,"satellites":37,"speed":12,"hex_longitude":"2d7f1e80","hex_latitude":"05c623b0","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110644480001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113571231797608448,"note":"Value kept but may cause issues"} 
[2026-08-01 18:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9160462404358979584,"note":"Value kept but may cause issues"} 
[2026-08-01 18:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785588457000,"timestamp_ms":1785588457000,"timestamp_seconds":1785588457,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd5d9e28"} 
[2026-08-01 18:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-01 18:20:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-01 18:20:03] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3177021160,"note":"Value kept but may cause issues"} 
[2026-08-01 18:20:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-01 18:20:03] local.WARNING: Large IO value detected {"io_id":198,"raw_value":2778721000163190528,"note":"Value kept but may cause issues"} 
[2026-08-01 18:20:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1315176654,"corrected_to":0} 
[2026-08-01 18:20:03] local.WARNING: Large IO value detected {"io_id":130,"raw_value":3489738111,"note":"Value kept but may cause issues"} 
[2026-08-01 18:20:03] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3324358656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:20:03] local.WARNING: Large IO value detected {"io_id":172,"raw_value":57788561642902832,"note":"Value kept but may cause issues"} 
[2026-08-01 18:20:03] local.WARNING: Large IO value detected {"io_id":93,"raw_value":3515060804080844805,"note":"Value kept but may cause issues"} 
[2026-08-01 18:20:03] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,100,85,24,241,157,16,124,159,146,45,128,35,7,37,10,66,142,138,1,240,214,227,189,198,4,113,205,3,130,192,36,239,52,2,147,5,172,93],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1315176654,"validated":0}]} 
[2026-08-01 18:20:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504703483854258176,"timestamp_seconds":504703483854258.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 18:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110644480001,"66":13319,"100":206,"85":12288,"24":12,"16":113571231797608448,"45":9160462404358979584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-08-01 18:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110644480001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:20:03] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-01 18:20:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113571231797608448,"km_value":113571231797608.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9160462404358979584,"description":"Unknown IO ID 45"} 
[2026-08-01 18:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110644480001,"power":13319,"unknown_100":206,"unknown_85":12288,"ignition":12,"odometer":null,"unknown_45":9160462404358979584}} 
[2026-08-01 18:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":147406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578559,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:20:03] local.INFO: GPS data processed {"connection_id":147406,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:20:03] local.INFO: Acknowledgment sent {"connection_id":147406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:20:05] local.INFO: TCP Data received {"connection_id":148707,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148707,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:20:05] local.INFO: Processing buffer {"connection_id":148707,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:20:05] local.INFO: IMEI packet received {"connection_id":148707,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 18:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":148707,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:20:09] local.INFO: TCP Data received {"connection_id":147406,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd5dec48012d7f0b8005c627c00007011b26..."} 
[2026-08-01 18:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd5dec48012d7f0b8005c627c00007011b26..."} 
[2026-08-01 18:20:09] local.INFO: Processing buffer {"connection_id":147406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd5dec48012d7f0b8005c627c00007011b26..."} 
[2026-08-01 18:20:09] local.INFO: Packet analysis {"connection_id":147406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd5d"} 
[2026-08-01 18:20:09] local.INFO: Extracted packet for processing {"connection_id":147406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd5d"} 
[2026-08-01 18:20:09] local.INFO: GPS Element Parsed {"raw_longitude":763300736,"raw_latitude":96872384,"longitude_deg":76.3300736,"latitude_deg":9.6872384,"altitude":7,"angle":283,"satellites":38,"speed":14,"hex_longitude":"2d7f0b80","hex_latitude":"05c627c0","is_valid_coordinates":true} 
[2026-08-01 18:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110644992001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113571468020809728,"note":"Value kept but may cause issues"} 
[2026-08-01 18:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9159899454405586944,"note":"Value kept but may cause issues"} 
[2026-08-01 18:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785588477000,"timestamp_ms":1785588477000,"timestamp_seconds":1785588477,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd5dec48"} 
[2026-08-01 18:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:20: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-08-01 18:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-01 18:20:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-01 18:20:09] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3177022160,"note":"Value kept but may cause issues"} 
[2026-08-01 18:20:09] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-01 18:20:09] local.WARNING: Large IO value detected {"io_id":198,"raw_value":2715670605380002816,"note":"Value kept but may cause issues"} 
[2026-08-01 18:20:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1315176654,"corrected_to":0} 
[2026-08-01 18:20:09] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3324297216,"note":"Value kept but may cause issues"} 
[2026-08-01 18:20:09] local.WARNING: Large IO value detected {"io_id":134,"raw_value":3087084927,"note":"Value kept but may cause issues"} 
[2026-08-01 18:20:09] local.WARNING: Large IO value detected {"io_id":29,"raw_value":57788561642902832,"note":"Value kept but may cause issues"} 
[2026-08-01 18:20:09] local.WARNING: Large IO value detected {"io_id":93,"raw_value":9144560338293964805,"note":"Value kept but may cause issues"} 
[2026-08-01 18:20:09] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,100,85,24,241,157,16,124,159,150,45,128,35,7,37,10,66,146,142,1,240,62,227,189,198,4,113,205,5,134,104,239,52,2,147,29,93],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1315176654,"validated":0}]} 
[2026-08-01 18:20:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504716677993988096,"timestamp_seconds":504716677993988.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 18:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":147406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":147406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":147406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:20:09] 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-08-01 18:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110644992001,"66":13276,"100":206,"85":12288,"24":14,"16":113571468020809728,"45":9159899454405586944},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-08-01 18:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110644992001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:20:09] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-01 18:20:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113571468020809728,"km_value":113571468020809.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9159899454405586944,"description":"Unknown IO ID 45"} 
[2026-08-01 18:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110644992001,"power":13276,"unknown_100":206,"unknown_85":12288,"ignition":14,"odometer":null,"unknown_45":9159899454405586944}} 
[2026-08-01 18:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":147406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578560,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:20:09] local.INFO: GPS data processed {"connection_id":147406,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:20:09] local.INFO: Acknowledgment sent {"connection_id":147406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:20:10] local.INFO: TCP Data received {"connection_id":148707,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148707,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:20:10] local.INFO: Processing buffer {"connection_id":148707,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:20:10] local.INFO: IMEI packet received {"connection_id":148707,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":148707,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:20:11] local.INFO: TCP Data received {"connection_id":148707,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd5b96a0012d196680071fef08003a005826..."} 
[2026-08-01 18:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd5b96a0012d196680071fef08003a005826..."} 
[2026-08-01 18:20:11] local.INFO: Processing buffer {"connection_id":148707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd5b96a0012d196680071fef08003a005826..."} 
[2026-08-01 18:20:11] local.INFO: Packet analysis {"connection_id":148707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd5b"} 
[2026-08-01 18:20:11] local.INFO: Extracted packet for processing {"connection_id":148707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd5b"} 
[2026-08-01 18:20:11] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 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-08-01 18:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110605568001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18: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-08-01 18:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785588324000,"timestamp_ms":1785588324000,"timestamp_seconds":1785588324,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd5b96a0"} 
[2026-08-01 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-08-01 18:20: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-08-01 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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-01 18:20: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-08-01 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-08-01 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-08-01 18:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":148707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":148707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":148707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:20:11] 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-08-01 18:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110605568001,"66":12591,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110605568001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:20:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:20:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110605568001,"power":12591,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":148707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578561,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:20:11] local.INFO: GPS data processed {"connection_id":148707,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:20:11] local.INFO: Acknowledgment sent {"connection_id":148707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:20:14] local.INFO: TCP Data received {"connection_id":148707,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd5be8a8012d196680071fef08003a005825..."} 
[2026-08-01 18:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd5be8a8012d196680071fef08003a005825..."} 
[2026-08-01 18:20:14] local.INFO: Processing buffer {"connection_id":148707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd5be8a8012d196680071fef08003a005825..."} 
[2026-08-01 18:20:14] local.INFO: Packet analysis {"connection_id":148707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd5b"} 
[2026-08-01 18:20:14] local.INFO: Extracted packet for processing {"connection_id":148707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd5b"} 
[2026-08-01 18:20:14] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":37,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 18:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110610944001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18: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-08-01 18:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785588345000,"timestamp_ms":1785588345000,"timestamp_seconds":1785588345,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd5be8a8"} 
[2026-08-01 18:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:20:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-01 18:20:14] 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-08-01 18:20:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":148707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":148707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":148707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:20:14] 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-08-01 18:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110610944001,"66":12689,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110610944001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:20:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:20:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110610944001,"power":12689,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":148707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:20:14] local.INFO: GPS data processed {"connection_id":148707,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:20:14] local.INFO: Acknowledgment sent {"connection_id":148707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:20:26] local.INFO: TCP Data received {"connection_id":146179,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd5e9c10012cee5a40072e3400003000fa29..."} 
[2026-08-01 18:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd5e9c10012cee5a40072e3400003000fa29..."} 
[2026-08-01 18:20:26] local.INFO: Processing buffer {"connection_id":146179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd5e9c10012cee5a40072e3400003000fa29..."} 
[2026-08-01 18:20:26] local.INFO: Packet analysis {"connection_id":146179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd5e"} 
[2026-08-01 18:20:26] local.INFO: Extracted packet for processing {"connection_id":146179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd5e"} 
[2026-08-01 18:20:26] local.INFO: GPS Element Parsed {"raw_longitude":753818176,"raw_latitude":120468480,"longitude_deg":75.3818176,"latitude_deg":12.046848,"altitude":48,"angle":250,"satellites":41,"speed":17,"hex_longitude":"2cee5a40","hex_latitude":"072e3400","is_valid_coordinates":true} 
[2026-08-01 18:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110661120001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366710118823231488,"note":"Value kept but may cause issues"} 
[2026-08-01 18:20:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1270789120264484864,"note":"Value kept but may cause issues"} 
[2026-08-01 18:20:26] 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-08-01 18:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785588522000,"timestamp_ms":1785588522000,"timestamp_seconds":1785588522,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd5e9c10"} 
[2026-08-01 18:20:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:20: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-08-01 18:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 18:20:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:20:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:20:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":146179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":146179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":146179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:20:26] 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-08-01 18:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110661120001,"66":27876,"229":206,"83":44032,"24":17,"16":366710118823231488,"44":-1270789120264484864},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-08-01 18:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110661120001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:20:26] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 18:20:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366710118823231488,"km_value":366710118823231.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:20:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1270789120264484864,"description":"Unknown IO ID 44"} 
[2026-08-01 18:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110661120001,"power":27876,"unknown_229":206,"unknown_83":44032,"ignition":17,"odometer":null,"unknown_44":-1270789120264484864}} 
[2026-08-01 18:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":146179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:20:26] local.INFO: GPS data processed {"connection_id":146179,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:20:26] local.INFO: Acknowledgment sent {"connection_id":146179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:20:41] local.INFO: TCP Data received {"connection_id":147406,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd5e3680012d7ee98005c631380009011b26..."} 
[2026-08-01 18:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd5e3680012d7ee98005c631380009011b26..."} 
[2026-08-01 18:20:41] local.INFO: Processing buffer {"connection_id":147406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd5e3680012d7ee98005c631380009011b26..."} 
[2026-08-01 18:20:41] local.INFO: Packet analysis {"connection_id":147406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd5e"} 
[2026-08-01 18:20:41] local.INFO: Extracted packet for processing {"connection_id":147406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd5e"} 
[2026-08-01 18:20:41] local.INFO: GPS Element Parsed {"raw_longitude":763292032,"raw_latitude":96874808,"longitude_deg":76.3292032,"latitude_deg":9.6874808,"altitude":9,"angle":283,"satellites":38,"speed":27,"hex_longitude":"2d7ee980","hex_latitude":"05c63138","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110650112001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113571901812506624,"note":"Value kept but may cause issues"} 
[2026-08-01 18:20:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9154551429848350720,"note":"Value kept but may cause issues"} 
[2026-08-01 18:20:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785588496000,"timestamp_ms":1785588496000,"timestamp_seconds":1785588496,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd5e3680"} 
[2026-08-01 18:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:20: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-08-01 18: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-01 18:20:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":147406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":147406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":147406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:20:41] 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-08-01 18:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110650112001,"66":13472,"100":206,"85":12288,"24":27,"16":113571901812506624,"45":9154551429848350720},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-08-01 18:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110650112001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:20:41] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-01 18:20:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113571901812506624,"km_value":113571901812506.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:20:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9154551429848350720,"description":"Unknown IO ID 45"} 
[2026-08-01 18:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110650112001,"power":13472,"unknown_100":206,"unknown_85":12288,"ignition":27,"odometer":null,"unknown_45":9154551429848350720}} 
[2026-08-01 18:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":147406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578564,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:20:41] local.INFO: GPS data processed {"connection_id":147406,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:20:41] local.INFO: Acknowledgment sent {"connection_id":147406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:20:43] local.INFO: TCP Data received {"connection_id":146403,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:20:43] local.INFO: Processing buffer {"connection_id":146403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:20:43] local.INFO: IMEI packet received {"connection_id":146403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":146403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:20:45] local.INFO: TCP Data received {"connection_id":148707,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd5c3ab0012d196680071fef08003a005826..."} 
[2026-08-01 18:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd5c3ab0012d196680071fef08003a005826..."} 
[2026-08-01 18:20:45] local.INFO: Processing buffer {"connection_id":148707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd5c3ab0012d196680071fef08003a005826..."} 
[2026-08-01 18:20:45] local.INFO: Packet analysis {"connection_id":148707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd5c"} 
[2026-08-01 18:20:45] local.INFO: Extracted packet for processing {"connection_id":148707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd5c"} 
[2026-08-01 18:20:45] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110616320001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:20:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18: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-08-01 18:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785588366000,"timestamp_ms":1785588366000,"timestamp_seconds":1785588366,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd5c3ab0"} 
[2026-08-01 18:20:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:20:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-01 18:20:45] 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-08-01 18: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-08-01 18:20:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:20:45] 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-08-01 18:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110616320001,"66":12591,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110616320001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:20:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:20:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:20:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110616320001,"power":12591,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":148707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578565,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:20:45] local.INFO: GPS data processed {"connection_id":148707,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:20:45] local.INFO: Acknowledgment sent {"connection_id":148707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:20:46] local.INFO: TCP Data received {"connection_id":146403,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:20:46] local.INFO: Processing buffer {"connection_id":146403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:20:46] local.INFO: IMEI packet received {"connection_id":146403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":146403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:20:49] local.INFO: TCP Data received {"connection_id":146403,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:20:49] local.INFO: Processing buffer {"connection_id":146403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:20:49] local.INFO: IMEI packet received {"connection_id":146403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":146403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:20:50] local.INFO: TCP Data received {"connection_id":146403,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd5eaf98012cee5180072e2fb8003200eb2a..."} 
[2026-08-01 18:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd5eaf98012cee5180072e2fb8003200eb2a..."} 
[2026-08-01 18:20:50] local.INFO: Processing buffer {"connection_id":146403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd5eaf98012cee5180072e2fb8003200eb2a..."} 
[2026-08-01 18:20:50] local.INFO: Packet analysis {"connection_id":146403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd5e"} 
[2026-08-01 18:20:50] local.INFO: Extracted packet for processing {"connection_id":146403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd5e"} 
[2026-08-01 18:20:50] local.INFO: GPS Element Parsed {"raw_longitude":753815936,"raw_latitude":120467384,"longitude_deg":75.3815936,"latitude_deg":12.0467384,"altitude":50,"angle":235,"satellites":42,"speed":20,"hex_longitude":"2cee5180","hex_latitude":"072e2fb8","is_valid_coordinates":true} 
[2026-08-01 18:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:20:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110661632001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366710239082315776,"note":"Value kept but may cause issues"} 
[2026-08-01 18:20:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1271633545194635264,"note":"Value kept but may cause issues"} 
[2026-08-01 18:20:50] 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-08-01 18:20:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785588527000,"timestamp_ms":1785588527000,"timestamp_seconds":1785588527,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd5eaf98"} 
[2026-08-01 18:20:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:20:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 18:20:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:20:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:20:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:20:50] 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-08-01 18:20:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:20:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:20:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110661632001,"66":27767,"229":206,"83":44032,"24":20,"16":366710239082315776,"44":-1271633545194635264},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-08-01 18:20:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:20:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:20:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110661632001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:20:50] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 18:20:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:20:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366710239082315776,"km_value":366710239082315.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:20:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1271633545194635264,"description":"Unknown IO ID 44"} 
[2026-08-01 18:20:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110661632001,"power":27767,"unknown_229":206,"unknown_83":44032,"ignition":20,"odometer":null,"unknown_44":-1271633545194635264}} 
[2026-08-01 18:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":146403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:20:50] local.INFO: GPS data processed {"connection_id":146403,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:20:50] local.INFO: Acknowledgment sent {"connection_id":146403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:20:54] local.INFO: TCP Data received {"connection_id":146403,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd5ebb50012cee4b40072e2cc8003300f82a..."} 
[2026-08-01 18:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd5ebb50012cee4b40072e2cc8003300f82a..."} 
[2026-08-01 18:20:54] local.INFO: Processing buffer {"connection_id":146403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd5ebb50012cee4b40072e2cc8003300f82a..."} 
[2026-08-01 18:20:54] local.INFO: Packet analysis {"connection_id":146403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd5e"} 
[2026-08-01 18:20:54] local.INFO: Extracted packet for processing {"connection_id":146403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd5e"} 
[2026-08-01 18:20:54] local.INFO: GPS Element Parsed {"raw_longitude":753814336,"raw_latitude":120466632,"longitude_deg":75.3814336,"latitude_deg":12.0466632,"altitude":51,"angle":248,"satellites":42,"speed":23,"hex_longitude":"2cee4b40","hex_latitude":"072e2cc8","is_valid_coordinates":true} 
[2026-08-01 18:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110662912001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366710324981661696,"note":"Value kept but may cause issues"} 
[2026-08-01 18:20:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1274096451241134080,"note":"Value kept but may cause issues"} 
[2026-08-01 18:20:54] 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-08-01 18:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785588530000,"timestamp_ms":1785588530000,"timestamp_seconds":1785588530,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd5ebb50"} 
[2026-08-01 18:20:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:20:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 18:20:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:20:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:20:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:20:54] 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-08-01 18:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110662912001,"66":27789,"229":206,"83":44032,"24":23,"16":366710324981661696,"44":-1274096451241134080},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-08-01 18:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110662912001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:20:54] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 18:20:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366710324981661696,"km_value":366710324981661.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:20:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1274096451241134080,"description":"Unknown IO ID 44"} 
[2026-08-01 18:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110662912001,"power":27789,"unknown_229":206,"unknown_83":44032,"ignition":23,"odometer":null,"unknown_44":-1274096451241134080}} 
[2026-08-01 18:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":146403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:20:54] local.INFO: GPS data processed {"connection_id":146403,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:20:54] local.INFO: Acknowledgment sent {"connection_id":146403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:20:57] local.INFO: TCP Data received {"connection_id":146404,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146404,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:20:57] local.INFO: Processing buffer {"connection_id":146404,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:20:57] local.INFO: IMEI packet received {"connection_id":146404,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 18:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":146404,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:21:00] local.INFO: TCP Data received {"connection_id":146180,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:21:00] local.INFO: Processing buffer {"connection_id":146180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:21:00] local.INFO: IMEI packet received {"connection_id":146180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 18:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":146180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:21:03] local.INFO: TCP Data received {"connection_id":146404,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146404,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:21:03] local.INFO: Processing buffer {"connection_id":146404,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:21:03] local.INFO: IMEI packet received {"connection_id":146404,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":146404,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:21:04] local.INFO: TCP Data received {"connection_id":146404,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd5e6d30012d7ec4c005c638000006011123..."} 
[2026-08-01 18:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd5e6d30012d7ec4c005c638000006011123..."} 
[2026-08-01 18:21:04] local.INFO: Processing buffer {"connection_id":146404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd5e6d30012d7ec4c005c638000006011123..."} 
[2026-08-01 18:21:04] local.INFO: Packet analysis {"connection_id":146404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd5e"} 
[2026-08-01 18:21:04] local.INFO: Extracted packet for processing {"connection_id":146404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd5e"} 
[2026-08-01 18:21:04] local.INFO: GPS Element Parsed {"raw_longitude":763282624,"raw_latitude":96876544,"longitude_deg":76.3282624,"latitude_deg":9.6876544,"altitude":6,"angle":273,"satellites":35,"speed":21,"hex_longitude":"2d7ec4c0","hex_latitude":"05c63800","is_valid_coordinates":true} 
[2026-08-01 18:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110654976001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113572357079040000,"note":"Value kept but may cause issues"} 
[2026-08-01 18:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9144981280640808960,"note":"Value kept but may cause issues"} 
[2026-08-01 18:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785588510000,"timestamp_ms":1785588510000,"timestamp_seconds":1785588510,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd5e6d30"} 
[2026-08-01 18:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:21:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-01 18:21:04] 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-08-01 18:21:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110654976001,"66":13428,"100":206,"85":12288,"24":21,"16":113572357079040000,"45":9144981280640808960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-08-01 18:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110654976001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:21:04] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-01 18:21:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113572357079040000,"km_value":113572357079040,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9144981280640808960,"description":"Unknown IO ID 45"} 
[2026-08-01 18:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110654976001,"power":13428,"unknown_100":206,"unknown_85":12288,"ignition":21,"odometer":null,"unknown_45":9144981280640808960}} 
[2026-08-01 18:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":146404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578568,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:21:04] local.INFO: GPS data processed {"connection_id":146404,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:21:04] local.INFO: Acknowledgment sent {"connection_id":146404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:21:05] local.INFO: TCP Data received {"connection_id":146180,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:21:05] local.INFO: Processing buffer {"connection_id":146180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:21:05] local.INFO: IMEI packet received {"connection_id":146180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":146180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:21:06] local.INFO: TCP Data received {"connection_id":146180,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd5c8cb8012d196680071fef08003a005826..."} 
[2026-08-01 18:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd5c8cb8012d196680071fef08003a005826..."} 
[2026-08-01 18:21:06] local.INFO: Processing buffer {"connection_id":146180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd5c8cb8012d196680071fef08003a005826..."} 
[2026-08-01 18:21:06] local.INFO: Packet analysis {"connection_id":146180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd5c"} 
[2026-08-01 18:21:06] local.INFO: Extracted packet for processing {"connection_id":146180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd5c"} 
[2026-08-01 18:21:06] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 18:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110621696001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785588387000,"timestamp_ms":1785588387000,"timestamp_seconds":1785588387,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd5c8cb8"} 
[2026-08-01 18:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:21: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-08-01 18:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-01 18:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:21:06] 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-08-01 18:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110621696001,"66":12667,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110621696001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:21:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:21:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110621696001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":146180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:21:06] local.INFO: GPS data processed {"connection_id":146180,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:21:06] local.INFO: Acknowledgment sent {"connection_id":146180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:21:25] local.INFO: TCP Data received {"connection_id":146403,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd5ecaf0012cee4240072e2a700035010328..."} 
[2026-08-01 18:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd5ecaf0012cee4240072e2a700035010328..."} 
[2026-08-01 18:21:25] local.INFO: Processing buffer {"connection_id":146403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd5ecaf0012cee4240072e2a700035010328..."} 
[2026-08-01 18:21:25] local.INFO: Packet analysis {"connection_id":146403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd5e"} 
[2026-08-01 18:21:25] local.INFO: Extracted packet for processing {"connection_id":146403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd5e"} 
[2026-08-01 18:21:25] local.INFO: GPS Element Parsed {"raw_longitude":753812032,"raw_latitude":120466032,"longitude_deg":75.3812032,"latitude_deg":12.0466032,"altitude":53,"angle":259,"satellites":40,"speed":22,"hex_longitude":"2cee4240","hex_latitude":"072e2a70","is_valid_coordinates":true} 
[2026-08-01 18:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110663680001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366710436650811392,"note":"Value kept but may cause issues"} 
[2026-08-01 18:21:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1275855669845768192,"note":"Value kept but may cause issues"} 
[2026-08-01 18:21:25] 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-08-01 18:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785588534000,"timestamp_ms":1785588534000,"timestamp_seconds":1785588534,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd5ecaf0"} 
[2026-08-01 18:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:21: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-08-01 18:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-01 18:21:25] 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-08-01 18:21:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":146403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":146403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":146403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:21:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110663680001,"66":27930,"229":206,"83":44032,"24":22,"16":366710436650811392,"44":-1275855669845768192},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-08-01 18:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110663680001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:21:25] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 18:21:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366710436650811392,"km_value":366710436650811.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:21:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1275855669845768192,"description":"Unknown IO ID 44"} 
[2026-08-01 18:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110663680001,"power":27930,"unknown_229":206,"unknown_83":44032,"ignition":22,"odometer":null,"unknown_44":-1275855669845768192}} 
[2026-08-01 18:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":146403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:21:25] local.INFO: GPS data processed {"connection_id":146403,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:21:25] local.INFO: Acknowledgment sent {"connection_id":146403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:21:35] local.INFO: TCP Data received {"connection_id":146404,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd610158012d7d340005c63808000300d524..."} 
[2026-08-01 18:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd610158012d7d340005c63808000300d524..."} 
[2026-08-01 18:21:35] local.INFO: Processing buffer {"connection_id":146404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd610158012d7d340005c63808000300d524..."} 
[2026-08-01 18:21:35] local.INFO: Packet analysis {"connection_id":146404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd61"} 
[2026-08-01 18:21:35] local.INFO: Extracted packet for processing {"connection_id":146404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd61"} 
[2026-08-01 18:21:35] local.INFO: GPS Element Parsed {"raw_longitude":763180032,"raw_latitude":96876552,"longitude_deg":76.3180032,"latitude_deg":9.6876552,"altitude":3,"angle":213,"satellites":36,"speed":4,"hex_longitude":"2d7d3400","hex_latitude":"05c63808","is_valid_coordinates":true} 
[2026-08-01 18:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110701312001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113577287701495808,"note":"Value kept but may cause issues"} 
[2026-08-01 18:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976715818749952,"note":"Value kept but may cause issues"} 
[2026-08-01 18:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785588679000,"timestamp_ms":1785588679000,"timestamp_seconds":1785588679,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd610158"} 
[2026-08-01 18:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:21: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-08-01 18:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-01 18:21:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:21:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110701312001,"66":13417,"246":206,"85":12288,"24":4,"16":113577287701495808,"45":9021976715818749952},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,85,24,16,45]} 
[2026-08-01 18:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110701312001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:21:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113577287701495808,"km_value":113577287701495.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976715818749952,"description":"Unknown IO ID 45"} 
[2026-08-01 18:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110701312001,"power":13417,"main_input_voltage":206,"unknown_85":12288,"ignition":4,"odometer":null,"unknown_45":9021976715818749952}} 
[2026-08-01 18:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":146404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578571,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:21:35] local.INFO: GPS data processed {"connection_id":146404,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:21:35] local.INFO: Acknowledgment sent {"connection_id":146404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:21:37] local.INFO: TCP Data received {"connection_id":146180,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd5cdec0012d196680071fef08003a005827..."} 
[2026-08-01 18:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd5cdec0012d196680071fef08003a005827..."} 
[2026-08-01 18:21:37] local.INFO: Processing buffer {"connection_id":146180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd5cdec0012d196680071fef08003a005827..."} 
[2026-08-01 18:21:37] local.INFO: Packet analysis {"connection_id":146180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd5c"} 
[2026-08-01 18:21:37] local.INFO: Extracted packet for processing {"connection_id":146180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd5c"} 
[2026-08-01 18:21:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110627072001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785588408000,"timestamp_ms":1785588408000,"timestamp_seconds":1785588408,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd5cdec0"} 
[2026-08-01 18:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-01 18:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:21:37] 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-08-01 18:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110627072001,"66":12645,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110627072001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:21:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:21:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110627072001,"power":12645,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":146180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:21:37] local.INFO: GPS data processed {"connection_id":146180,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:21:37] local.INFO: Acknowledgment sent {"connection_id":146180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:21:43] local.INFO: TCP Data received {"connection_id":148708,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:21:43] local.INFO: Processing buffer {"connection_id":148708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:21:43] local.INFO: IMEI packet received {"connection_id":148708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":148708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:21:48] local.INFO: TCP Data received {"connection_id":148708,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:21:48] local.INFO: Processing buffer {"connection_id":148708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:21:48] local.INFO: IMEI packet received {"connection_id":148708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":148708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:21:49] local.INFO: TCP Data received {"connection_id":148708,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd5ef9d0012cee26c0072e2410003b00f82c..."} 
[2026-08-01 18:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd5ef9d0012cee26c0072e2410003b00f82c..."} 
[2026-08-01 18:21:49] local.INFO: Processing buffer {"connection_id":148708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd5ef9d0012cee26c0072e2410003b00f82c..."} 
[2026-08-01 18:21:49] local.INFO: Packet analysis {"connection_id":148708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd5e"} 
[2026-08-01 18:21:49] local.INFO: Extracted packet for processing {"connection_id":148708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd5e"} 
[2026-08-01 18:21:49] local.INFO: GPS Element Parsed {"raw_longitude":753804992,"raw_latitude":120464400,"longitude_deg":75.3804992,"latitude_deg":12.04644,"altitude":59,"angle":248,"satellites":44,"speed":21,"hex_longitude":"2cee26c0","hex_latitude":"072e2410","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110664704001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366710780248195072,"note":"Value kept but may cause issues"} 
[2026-08-01 18:21:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1278388944636317696,"note":"Value kept but may cause issues"} 
[2026-08-01 18:21:49] 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-08-01 18:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785588546000,"timestamp_ms":1785588546000,"timestamp_seconds":1785588546,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd5ef9d0"} 
[2026-08-01 18:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:21:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-01 18:21:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110664704001,"66":27843,"229":206,"83":44032,"24":21,"16":366710780248195072,"44":-1278388944636317696},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-08-01 18:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110664704001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:21:49] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 18:21:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366710780248195072,"km_value":366710780248195.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:21:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1278388944636317696,"description":"Unknown IO ID 44"} 
[2026-08-01 18:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110664704001,"power":27843,"unknown_229":206,"unknown_83":44032,"ignition":21,"odometer":null,"unknown_44":-1278388944636317696}} 
[2026-08-01 18:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":148708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:21:49] local.INFO: GPS data processed {"connection_id":148708,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:21:49] local.INFO: Acknowledgment sent {"connection_id":148708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:21:58] local.INFO: TCP Data received {"connection_id":147407,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147407,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:21:58] local.INFO: Processing buffer {"connection_id":147407,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:21:58] local.INFO: IMEI packet received {"connection_id":147407,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 18:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":147407,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:21:59] local.INFO: TCP Data received {"connection_id":147408,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:21:59] local.INFO: Processing buffer {"connection_id":147408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:21:59] local.INFO: IMEI packet received {"connection_id":147408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 18:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":147408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:22:00] local.INFO: TCP Data received {"connection_id":147408,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:22:00] local.INFO: Processing buffer {"connection_id":147408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:22:00] local.INFO: IMEI packet received {"connection_id":147408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":147408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:22:00] local.INFO: TCP Data received {"connection_id":147407,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147407,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:22:00] local.INFO: Processing buffer {"connection_id":147407,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:22:00] local.INFO: IMEI packet received {"connection_id":147407,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":147407,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:22:03] local.INFO: TCP Data received {"connection_id":147407,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147407,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:22:03] local.INFO: Processing buffer {"connection_id":147407,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:22:03] local.INFO: IMEI packet received {"connection_id":147407,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":147407,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:22:03] local.INFO: TCP Data received {"connection_id":147407,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd610540012d7d340005c63788000300c624..."} 
[2026-08-01 18:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd610540012d7d340005c63788000300c624..."} 
[2026-08-01 18:22:04] local.INFO: Processing buffer {"connection_id":147407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd610540012d7d340005c63788000300c624..."} 
[2026-08-01 18:22:04] local.INFO: Packet analysis {"connection_id":147407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd61"} 
[2026-08-01 18:22:04] local.INFO: Extracted packet for processing {"connection_id":147407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd61"} 
[2026-08-01 18:22:04] local.INFO: GPS Element Parsed {"raw_longitude":763180032,"raw_latitude":96876424,"longitude_deg":76.3180032,"latitude_deg":9.6876424,"altitude":3,"angle":198,"satellites":36,"speed":4,"hex_longitude":"2d7d3400","hex_latitude":"05c63788","is_valid_coordinates":true} 
[2026-08-01 18:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110701824001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113577296291430400,"note":"Value kept but may cause issues"} 
[2026-08-01 18:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021835978330343424,"note":"Value kept but may cause issues"} 
[2026-08-01 18:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785588680000,"timestamp_ms":1785588680000,"timestamp_seconds":1785588680,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd610540"} 
[2026-08-01 18:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-01 18:22:04] 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-08-01 18:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110701824001,"66":13276,"246":206,"85":12288,"24":4,"16":113577296291430400,"45":9021835978330343424},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,85,24,16,45]} 
[2026-08-01 18:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110701824001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:22:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113577296291430400,"km_value":113577296291430.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021835978330343424,"description":"Unknown IO ID 45"} 
[2026-08-01 18:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110701824001,"power":13276,"main_input_voltage":206,"unknown_85":12288,"ignition":4,"odometer":null,"unknown_45":9021835978330343424}} 
[2026-08-01 18:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":147407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578574,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:22:04] local.INFO: GPS data processed {"connection_id":147407,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:22:04] local.INFO: Acknowledgment sent {"connection_id":147407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:22:05] local.INFO: TCP Data received {"connection_id":147408,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:22:05] local.INFO: Processing buffer {"connection_id":147408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:22:05] local.INFO: IMEI packet received {"connection_id":147408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":147408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:22:06] local.INFO: TCP Data received {"connection_id":147408,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd606518012d196680071fef08003a005826..."} 
[2026-08-01 18:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd606518012d196680071fef08003a005826..."} 
[2026-08-01 18:22:06] local.INFO: Processing buffer {"connection_id":147408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd606518012d196680071fef08003a005826..."} 
[2026-08-01 18:22:06] local.INFO: Packet analysis {"connection_id":147408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd60"} 
[2026-08-01 18:22:06] local.INFO: Extracted packet for processing {"connection_id":147408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd60"} 
[2026-08-01 18:22:06] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 18:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110686208001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785588639000,"timestamp_ms":1785588639000,"timestamp_seconds":1785588639,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd606518"} 
[2026-08-01 18:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:22: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-08-01 18:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-01 18:22:06] 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-08-01 18:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:22:06] 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-08-01 18:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110686208001,"66":12548,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110686208001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:22:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:22:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110686208001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":147408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:22:06] local.INFO: GPS data processed {"connection_id":147408,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:22:06] local.INFO: Acknowledgment sent {"connection_id":147408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:22:08] local.INFO: TCP Data received {"connection_id":147407,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd6110f8012d7d340005c635f8000300b725..."} 
[2026-08-01 18:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd6110f8012d7d340005c635f8000300b725..."} 
[2026-08-01 18:22:08] local.INFO: Processing buffer {"connection_id":147407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd6110f8012d7d340005c635f8000300b725..."} 
[2026-08-01 18:22:08] local.INFO: Packet analysis {"connection_id":147407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd61"} 
[2026-08-01 18:22:08] local.INFO: Extracted packet for processing {"connection_id":147407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd61"} 
[2026-08-01 18:22:08] local.INFO: GPS Element Parsed {"raw_longitude":763180032,"raw_latitude":96876024,"longitude_deg":76.3180032,"latitude_deg":9.6876024,"altitude":3,"angle":183,"satellites":37,"speed":5,"hex_longitude":"2d7d3400","hex_latitude":"05c635f8","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110702080001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113577317766266880,"note":"Value kept but may cause issues"} 
[2026-08-01 18:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021835978330310656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785588683000,"timestamp_ms":1785588683000,"timestamp_seconds":1785588683,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd6110f8"} 
[2026-08-01 18:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-01 18:22:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":147407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":147407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":147407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:22:08] 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-08-01 18:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110702080001,"66":13374,"246":206,"85":12288,"24":5,"16":113577317766266880,"45":9021835978330310656},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,85,24,16,45]} 
[2026-08-01 18:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110702080001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:22:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113577317766266880,"km_value":113577317766266.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021835978330310656,"description":"Unknown IO ID 45"} 
[2026-08-01 18:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110702080001,"power":13374,"main_input_voltage":206,"unknown_85":12288,"ignition":5,"odometer":null,"unknown_45":9021835978330310656}} 
[2026-08-01 18:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":147407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578576,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:22:08] local.INFO: GPS data processed {"connection_id":147407,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:22:08] local.INFO: Acknowledgment sent {"connection_id":147407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:22:20] local.INFO: TCP Data received {"connection_id":148708,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd5f3080012cee0340072e1710003f00fb2c..."} 
[2026-08-01 18:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd5f3080012cee0340072e1710003f00fb2c..."} 
[2026-08-01 18:22:20] local.INFO: Processing buffer {"connection_id":148708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd5f3080012cee0340072e1710003f00fb2c..."} 
[2026-08-01 18:22:20] local.INFO: Packet analysis {"connection_id":148708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd5f"} 
[2026-08-01 18:22:20] local.INFO: Extracted packet for processing {"connection_id":148708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd5f"} 
[2026-08-01 18:22:20] local.INFO: GPS Element Parsed {"raw_longitude":753795904,"raw_latitude":120461072,"longitude_deg":75.3795904,"latitude_deg":12.0461072,"altitude":63,"angle":251,"satellites":44,"speed":28,"hex_longitude":"2cee0340","hex_latitude":"072e1710","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110667776001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366711239809695744,"note":"Value kept but may cause issues"} 
[2026-08-01 18:22:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1286129506496278528,"note":"Value kept but may cause issues"} 
[2026-08-01 18:22:20] 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-08-01 18:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785588560000,"timestamp_ms":1785588560000,"timestamp_seconds":1785588560,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd5f3080"} 
[2026-08-01 18:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:22: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-08-01 18: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 18:22:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:22:20] 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-08-01 18:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110667776001,"66":27767,"39":206,"83":44032,"24":28,"16":366711239809695744,"44":-1286129506496278528},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,83,24,16,44]} 
[2026-08-01 18:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110667776001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:22:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 18:22:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366711239809695744,"km_value":366711239809695.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:22:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1286129506496278528,"description":"Unknown IO ID 44"} 
[2026-08-01 18:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110667776001,"power":27767,"unknown_39":206,"unknown_83":44032,"ignition":28,"odometer":null,"unknown_44":-1286129506496278528}} 
[2026-08-01 18:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":148708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:22:20] local.INFO: GPS data processed {"connection_id":148708,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:22:20] local.INFO: Acknowledgment sent {"connection_id":148708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:22:37] local.INFO: TCP Data received {"connection_id":147408,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd60b720012d196680071fef08003a005824..."} 
[2026-08-01 18:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd60b720012d196680071fef08003a005824..."} 
[2026-08-01 18:22:37] local.INFO: Processing buffer {"connection_id":147408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd60b720012d196680071fef08003a005824..."} 
[2026-08-01 18:22:37] local.INFO: Packet analysis {"connection_id":147408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd60"} 
[2026-08-01 18:22:37] local.INFO: Extracted packet for processing {"connection_id":147408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd60"} 
[2026-08-01 18:22:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 18:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110691584001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785588660000,"timestamp_ms":1785588660000,"timestamp_seconds":1785588660,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd60b720"} 
[2026-08-01 18:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 18:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-01 18:22:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-01 18:22:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 18:22:37] local.WARNING: Large IO value detected {"io_id":151,"raw_value":3506438144,"note":"Value kept but may cause issues"} 
[2026-08-01 18:22:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3177085160,"note":"Value kept but may cause issues"} 
[2026-08-01 18:22:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199127245,"note":"Value kept but may cause issues"} 
[2026-08-01 18:22:37] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4010278970,"note":"Value kept but may cause issues"} 
[2026-08-01 18:22:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-01 18:22:37] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":4026608921,"corrected_to":0} 
[2026-08-01 18:22:37] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2547056640,"note":"Value kept but may cause issues"} 
[2026-08-01 18:22:37] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-08-01 18:22:37] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,151,159,19,45,128,239,58,39,10,66,193,38,111,1,240,250,227,189,31,4,113,205,202,8,34,49,2,36,7,120],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":202,"original":4026608921,"validated":0}]} 
[2026-08-01 18:22:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179437374431821824,"timestamp_seconds":4179437374431822.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 18:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:22:37] 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-08-01 18:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110691584001,"66":12504,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110691584001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:22:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:22:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110691584001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":147408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:22:37] local.INFO: GPS data processed {"connection_id":147408,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:22:37] local.INFO: Acknowledgment sent {"connection_id":147408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:22:39] local.INFO: TCP Data received {"connection_id":147407,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd615f18012d7d330005c61898000200ba23..."} 
[2026-08-01 18:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd615f18012d7d330005c61898000200ba23..."} 
[2026-08-01 18:22:39] local.INFO: Processing buffer {"connection_id":147407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd615f18012d7d330005c61898000200ba23..."} 
[2026-08-01 18:22:39] local.INFO: Packet analysis {"connection_id":147407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd61"} 
[2026-08-01 18:22:39] local.INFO: Extracted packet for processing {"connection_id":147407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd61"} 
[2026-08-01 18:22:39] local.INFO: GPS Element Parsed {"raw_longitude":763179776,"raw_latitude":96868504,"longitude_deg":76.3179776,"latitude_deg":9.6868504,"altitude":2,"angle":186,"satellites":35,"speed":18,"hex_longitude":"2d7d3300","hex_latitude":"05c61898","is_valid_coordinates":true} 
[2026-08-01 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-08-01 18:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110702848001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113577682838487040,"note":"Value kept but may cause issues"} 
[2026-08-01 18:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021835978330208256,"note":"Value kept but may cause issues"} 
[2026-08-01 18:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785588703000,"timestamp_ms":1785588703000,"timestamp_seconds":1785588703,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd615f18"} 
[2026-08-01 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-08-01 18:22: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-08-01 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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-01 18:22:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 18:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":147407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":147407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":147407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:22:39] 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-08-01 18:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110702848001,"66":13319,"229":206,"85":12288,"24":18,"16":113577682838487040,"45":9021835978330208256},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-01 18:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110702848001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:22:39] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 18:22:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113577682838487040,"km_value":113577682838487.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021835978330208256,"description":"Unknown IO ID 45"} 
[2026-08-01 18:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110702848001,"power":13319,"unknown_229":206,"unknown_85":12288,"ignition":18,"odometer":null,"unknown_45":9021835978330208256}} 
[2026-08-01 18:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":147407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578579,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:22:39] local.INFO: GPS data processed {"connection_id":147407,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:22:39] local.INFO: Acknowledgment sent {"connection_id":147407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:22:43] local.INFO: TCP Data received {"connection_id":147409,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:22:43] local.INFO: Processing buffer {"connection_id":147409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:22:43] local.INFO: IMEI packet received {"connection_id":147409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":147409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:22:43] local.INFO: TCP Data received {"connection_id":147409,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:22:43] local.INFO: Processing buffer {"connection_id":147409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:22:43] local.INFO: IMEI packet received {"connection_id":147409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":147409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:22:48] local.INFO: TCP Data received {"connection_id":147409,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:22:48] local.INFO: Processing buffer {"connection_id":147409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:22:48] local.INFO: IMEI packet received {"connection_id":147409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":147409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:22:49] local.INFO: TCP Data received {"connection_id":147409,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd5f6730012cede1c0072e0bc0004600f92c..."} 
[2026-08-01 18:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd5f6730012cede1c0072e0bc0004600f92c..."} 
[2026-08-01 18:22:49] local.INFO: Processing buffer {"connection_id":147409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd5f6730012cede1c0072e0bc0004600f92c..."} 
[2026-08-01 18:22:49] local.INFO: Packet analysis {"connection_id":147409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd5f"} 
[2026-08-01 18:22:49] local.INFO: Extracted packet for processing {"connection_id":147409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd5f"} 
[2026-08-01 18:22:49] local.INFO: GPS Element Parsed {"raw_longitude":753787328,"raw_latitude":120458176,"longitude_deg":75.3787328,"latitude_deg":12.0458176,"altitude":70,"angle":249,"satellites":44,"speed":20,"hex_longitude":"2cede1c0","hex_latitude":"072e0bc0","is_valid_coordinates":true} 
[2026-08-01 18:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110671360001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366711673601392640,"note":"Value kept but may cause issues"} 
[2026-08-01 18:22:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1296121868170358784,"note":"Value kept but may cause issues"} 
[2026-08-01 18:22:49] 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-08-01 18:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785588574000,"timestamp_ms":1785588574000,"timestamp_seconds":1785588574,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd5f6730"} 
[2026-08-01 18:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:22:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 18:22:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:22:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:22:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110671360001,"66":27821,"39":206,"83":44032,"24":20,"16":366711673601392640,"44":-1296121868170358784},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,83,24,16,44]} 
[2026-08-01 18:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110671360001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:22:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 18:22:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366711673601392640,"km_value":366711673601392.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:22:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1296121868170358784,"description":"Unknown IO ID 44"} 
[2026-08-01 18:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110671360001,"power":27821,"unknown_39":206,"unknown_83":44032,"ignition":20,"odometer":null,"unknown_44":-1296121868170358784}} 
[2026-08-01 18:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":147409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:22:49] local.INFO: GPS data processed {"connection_id":147409,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:22:49] local.INFO: Acknowledgment sent {"connection_id":147409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:22:58] local.INFO: TCP Data received {"connection_id":147410,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147410,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:22:58] local.INFO: Processing buffer {"connection_id":147410,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:22:58] local.INFO: IMEI packet received {"connection_id":147410,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 18:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":147410,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:23:00] local.INFO: TCP Data received {"connection_id":146405,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:23:00] local.INFO: Processing buffer {"connection_id":146405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:23:00] local.INFO: IMEI packet received {"connection_id":146405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 18:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":146405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:23:01] local.INFO: TCP Data received {"connection_id":146405,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:23:01] local.INFO: Processing buffer {"connection_id":146405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:23:01] local.INFO: IMEI packet received {"connection_id":146405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":146405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:23:03] local.INFO: TCP Data received {"connection_id":147410,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147410,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:23:03] local.INFO: Processing buffer {"connection_id":147410,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:23:03] local.INFO: IMEI packet received {"connection_id":147410,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":147410,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:23:04] local.INFO: TCP Data received {"connection_id":147410,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd6199b0012d7d31c005c5f860000300af21..."} 
[2026-08-01 18:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd6199b0012d7d31c005c5f860000300af21..."} 
[2026-08-01 18:23:04] local.INFO: Processing buffer {"connection_id":147410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd6199b0012d7d31c005c5f860000300af21..."} 
[2026-08-01 18:23:04] local.INFO: Packet analysis {"connection_id":147410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd61"} 
[2026-08-01 18:23:04] local.INFO: Extracted packet for processing {"connection_id":147410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd61"} 
[2026-08-01 18:23:04] local.INFO: GPS Element Parsed {"raw_longitude":763179456,"raw_latitude":96860256,"longitude_deg":76.3179456,"latitude_deg":9.6860256,"altitude":3,"angle":175,"satellites":33,"speed":21,"hex_longitude":"2d7d31c0","hex_latitude":"05c5f860","is_valid_coordinates":true} 
[2026-08-01 18:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110707968001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113578082270445568,"note":"Value kept but may cause issues"} 
[2026-08-01 18:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021554503351572480,"note":"Value kept but may cause issues"} 
[2026-08-01 18:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785588718000,"timestamp_ms":1785588718000,"timestamp_seconds":1785588718,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd6199b0"} 
[2026-08-01 18:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-01 18:23:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-01 18:23:04] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3177233160,"note":"Value kept but may cause issues"} 
[2026-08-01 18:23:04] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13522224,"corrected_to":0} 
[2026-08-01 18:23:04] local.WARNING: Large IO value detected {"io_id":129,"raw_value":4043309056,"note":"Value kept but may cause issues"} 
[2026-08-01 18:23:04] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3325644800,"note":"Value kept but may cause issues"} 
[2026-08-01 18:23:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-01 18:23:04] local.WARNING: Large IO value detected {"io_id":198,"raw_value":4100527460738540544,"note":"Value kept but may cause issues"} 
[2026-08-01 18:23:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1391853774,"corrected_to":0} 
[2026-08-01 18:23:04] local.WARNING: Large IO value detected {"io_id":245,"raw_value":2684431741,"note":"Value kept but may cause issues"} 
[2026-08-01 18:23:04] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3221603897,"note":"Value kept but may cause issues"} 
[2026-08-01 18:23:04] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2415971666,"note":"Value kept but may cause issues"} 
[2026-08-01 18:23:04] local.WARNING: Large IO value detected {"io_id":147,"raw_value":2179792896,"note":"Value kept but may cause issues"} 
[2026-08-01 18:23:04] local.WARNING: Large IO value detected {"io_id":117,"raw_value":57793586754639152,"note":"Value kept but may cause issues"} 
[2026-08-01 18:23:04] local.WARNING: Large IO value detected {"io_id":96,"raw_value":7847523645580689413,"note":"Value kept but may cause issues"} 
[2026-08-01 18:23:04] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,229,85,24,241,157,16,130,159,45,53,3,37,10,66,246,129,5,55,36,1,240,105,227,189,198,4,113,205,245,52,239,51,2,147,117,96],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":246,"original":13522224,"validated":0},{"io_id":205,"original":1391853774,"validated":0}]} 
[2026-08-01 18:23:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144319847563657216,"timestamp_seconds":144319847563657.22,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 18:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110707968001,"66":13352,"229":206,"85":12288,"24":21,"16":113578082270445568,"45":9021554503351572480},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-01 18:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110707968001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:23:04] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 18:23:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113578082270445568,"km_value":113578082270445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021554503351572480,"description":"Unknown IO ID 45"} 
[2026-08-01 18:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110707968001,"power":13352,"unknown_229":206,"unknown_85":12288,"ignition":21,"odometer":null,"unknown_45":9021554503351572480}} 
[2026-08-01 18:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":147410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578581,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:23:04] local.INFO: GPS data processed {"connection_id":147410,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:23:04] local.INFO: Acknowledgment sent {"connection_id":147410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:23:05] local.INFO: TCP Data received {"connection_id":146405,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:23:05] local.INFO: Processing buffer {"connection_id":146405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:23:05] local.INFO: IMEI packet received {"connection_id":146405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":146405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:23:05] local.INFO: TCP Data received {"connection_id":146405,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd610928012d196680071fef08003a005828..."} 
[2026-08-01 18:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd610928012d196680071fef08003a005828..."} 
[2026-08-01 18:23:05] local.INFO: Processing buffer {"connection_id":146405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd610928012d196680071fef08003a005828..."} 
[2026-08-01 18:23:05] local.INFO: Packet analysis {"connection_id":146405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd61"} 
[2026-08-01 18:23:05] local.INFO: Extracted packet for processing {"connection_id":146405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd61"} 
[2026-08-01 18:23:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":40,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110696960001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785588681000,"timestamp_ms":1785588681000,"timestamp_seconds":1785588681,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd610928"} 
[2026-08-01 18:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-01 18:23:05] 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-08-01 18: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-08-01 18:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:23:05] 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-08-01 18:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110696960001,"66":12504,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110696960001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:23:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:23:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110696960001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":146405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:23:06] local.INFO: GPS data processed {"connection_id":146405,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:23:06] local.INFO: Acknowledgment sent {"connection_id":146405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:23:21] local.INFO: TCP Data received {"connection_id":147409,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd61b508012cec7b80072d7460003801082a..."} 
[2026-08-01 18:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd61b508012cec7b80072d7460003801082a..."} 
[2026-08-01 18:23:21] local.INFO: Processing buffer {"connection_id":147409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd61b508012cec7b80072d7460003801082a..."} 
[2026-08-01 18:23:21] local.INFO: Packet analysis {"connection_id":147409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd61"} 
[2026-08-01 18:23:21] local.INFO: Extracted packet for processing {"connection_id":147409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd61"} 
[2026-08-01 18:23:21] local.INFO: GPS Element Parsed {"raw_longitude":753695616,"raw_latitude":120419424,"longitude_deg":75.3695616,"latitude_deg":12.0419424,"altitude":56,"angle":264,"satellites":42,"speed":26,"hex_longitude":"2cec7b80","hex_latitude":"072d7460","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110710528001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366716453899993088,"note":"Value kept but may cause issues"} 
[2026-08-01 18:23:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1396326959889549312,"note":"Value kept but may cause issues"} 
[2026-08-01 18:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785588725000,"timestamp_ms":1785588725000,"timestamp_seconds":1785588725,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd61b508"} 
[2026-08-01 18:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:23:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 18:23:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:23:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110710528001,"66":27691,"38":206,"83":44032,"24":26,"16":366716453899993088,"44":-1396326959889549312},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-08-01 18:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110710528001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:23:21] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-01 18:23:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366716453899993088,"km_value":366716453899993.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:23:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1396326959889549312,"description":"Unknown IO ID 44"} 
[2026-08-01 18:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110710528001,"power":27691,"unknown_38":206,"unknown_83":44032,"ignition":26,"odometer":null,"unknown_44":-1396326959889549312}} 
[2026-08-01 18:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":147409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:23:21] local.INFO: GPS data processed {"connection_id":147409,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:23:21] local.INFO: Acknowledgment sent {"connection_id":147409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:23:35] local.INFO: TCP Data received {"connection_id":147410,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd61d448012d7d370005c5d508000600ad22..."} 
[2026-08-01 18:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd61d448012d7d370005c5d508000600ad22..."} 
[2026-08-01 18:23:35] local.INFO: Processing buffer {"connection_id":147410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd61d448012d7d370005c5d508000600ad22..."} 
[2026-08-01 18:23:35] local.INFO: Packet analysis {"connection_id":147410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd61"} 
[2026-08-01 18:23:35] local.INFO: Extracted packet for processing {"connection_id":147410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd61"} 
[2026-08-01 18:23:35] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":96851208,"longitude_deg":76.31808,"latitude_deg":9.6851208,"altitude":6,"angle":173,"satellites":34,"speed":21,"hex_longitude":"2d7d3700","hex_latitude":"05c5d508","is_valid_coordinates":true} 
[2026-08-01 18:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110711808001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113578524652077056,"note":"Value kept but may cause issues"} 
[2026-08-01 18:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021202659628572672,"note":"Value kept but may cause issues"} 
[2026-08-01 18:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785588733000,"timestamp_ms":1785588733000,"timestamp_seconds":1785588733,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd61d448"} 
[2026-08-01 18:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:23: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-08-01 18:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-01 18:23:35] 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-08-01 18:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110711808001,"66":13319,"229":206,"85":12288,"24":21,"16":113578524652077056,"45":9021202659628572672},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-01 18:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110711808001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:23:35] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 18:23:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113578524652077056,"km_value":113578524652077.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021202659628572672,"description":"Unknown IO ID 45"} 
[2026-08-01 18:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110711808001,"power":13319,"unknown_229":206,"unknown_85":12288,"ignition":21,"odometer":null,"unknown_45":9021202659628572672}} 
[2026-08-01 18:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":147410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578584,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:23:35] local.INFO: GPS data processed {"connection_id":147410,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:23:35] local.INFO: Acknowledgment sent {"connection_id":147410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:23:37] local.INFO: TCP Data received {"connection_id":146405,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd615b30012d196680071fef08003a005827..."} 
[2026-08-01 18:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd615b30012d196680071fef08003a005827..."} 
[2026-08-01 18:23:37] local.INFO: Processing buffer {"connection_id":146405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd615b30012d196680071fef08003a005827..."} 
[2026-08-01 18:23:37] local.INFO: Packet analysis {"connection_id":146405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd61"} 
[2026-08-01 18:23:37] local.INFO: Extracted packet for processing {"connection_id":146405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd61"} 
[2026-08-01 18:23:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 18:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110702336001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785588702000,"timestamp_ms":1785588702000,"timestamp_seconds":1785588702,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd615b30"} 
[2026-08-01 18:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-01 18:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:23:37] 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-08-01 18:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110702336001,"66":12526,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110702336001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:23:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:23:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110702336001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":146405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578585,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:23:37] local.INFO: GPS data processed {"connection_id":146405,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:23:37] local.INFO: Acknowledgment sent {"connection_id":146405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:23:52] local.INFO: TCP Data received {"connection_id":148709,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:23:52] local.INFO: Processing buffer {"connection_id":148709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:23:52] local.INFO: IMEI packet received {"connection_id":148709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":148709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:23:53] local.INFO: TCP Data received {"connection_id":148709,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:23:53] local.INFO: Processing buffer {"connection_id":148709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:23:53] local.INFO: IMEI packet received {"connection_id":148709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":148709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:23:57] local.INFO: TCP Data received {"connection_id":147411,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147411,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:23:57] local.INFO: Processing buffer {"connection_id":147411,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:23:57] local.INFO: IMEI packet received {"connection_id":147411,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 18:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":147411,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:23:59] local.INFO: TCP Data received {"connection_id":147412,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:23:59] local.INFO: Processing buffer {"connection_id":147412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:23:59] local.INFO: IMEI packet received {"connection_id":147412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 18:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":147412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:24:00] local.INFO: TCP Data received {"connection_id":147411,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147411,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:24:00] local.INFO: Processing buffer {"connection_id":147411,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:24:00] local.INFO: IMEI packet received {"connection_id":147411,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":147411,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:24:03] local.INFO: TCP Data received {"connection_id":147411,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147411,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:24:03] local.INFO: Processing buffer {"connection_id":147411,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:24:03] local.INFO: IMEI packet received {"connection_id":147411,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":147411,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:24:03] local.INFO: TCP Data received {"connection_id":148709,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:24:03] local.INFO: Processing buffer {"connection_id":148709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:24:03] local.INFO: IMEI packet received {"connection_id":148709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":148709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:24:04] local.INFO: TCP Data received {"connection_id":147411,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd620710012d7d3ac005c5bdd8000500a122..."} 
[2026-08-01 18:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd620710012d7d3ac005c5bdd8000500a122..."} 
[2026-08-01 18:24:04] local.INFO: Processing buffer {"connection_id":147411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd620710012d7d3ac005c5bdd8000500a122..."} 
[2026-08-01 18:24:04] local.INFO: Packet analysis {"connection_id":147411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd62"} 
[2026-08-01 18:24:04] local.INFO: Extracted packet for processing {"connection_id":147411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd62"} 
[2026-08-01 18:24:04] local.INFO: GPS Element Parsed {"raw_longitude":763181760,"raw_latitude":96845272,"longitude_deg":76.318176,"latitude_deg":9.6845272,"altitude":5,"angle":161,"satellites":34,"speed":17,"hex_longitude":"2d7d3ac0","hex_latitude":"05c5bdd8","is_valid_coordinates":true} 
[2026-08-01 18:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110715648001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113578821004820480,"note":"Value kept but may cause issues"} 
[2026-08-01 18:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403253987328,"note":"Value kept but may cause issues"} 
[2026-08-01 18:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785588746000,"timestamp_ms":1785588746000,"timestamp_seconds":1785588746,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd620710"} 
[2026-08-01 18:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-01 18:24:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-01 18:24:04] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3177249160,"note":"Value kept but may cause issues"} 
[2026-08-01 18:24:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-01 18:24:04] local.WARNING: Large IO value detected {"io_id":129,"raw_value":4160749568,"note":"Value kept but may cause issues"} 
[2026-08-01 18:24:04] local.WARNING: Large IO value detected {"io_id":198,"raw_value":4114038272504046592,"note":"Value kept but may cause issues"} 
[2026-08-01 18:24:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1391853774,"corrected_to":0} 
[2026-08-01 18:24:04] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13522224,"corrected_to":0} 
[2026-08-01 18:24:04] local.WARNING: Large IO value detected {"io_id":147,"raw_value":2180055040,"note":"Value kept but may cause issues"} 
[2026-08-01 18:24:04] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3325612032,"note":"Value kept but may cause issues"} 
[2026-08-01 18:24:04] local.WARNING: Large IO value detected {"io_id":144,"raw_value":57793586754639152,"note":"Value kept but may cause issues"} 
[2026-08-01 18:24:04] local.WARNING: Large IO value detected {"io_id":96,"raw_value":-747596243257737211,"note":"Value kept but may cause issues"} 
[2026-08-01 18:24:04] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,229,85,24,241,157,16,131,159,153,45,192,248,3,33,10,66,130,95,2,35,1,240,62,227,129,189,198,4,113,205,52,8,36,239,246,147,5,144,96],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1391853774,"validated":0},{"io_id":246,"original":13522224,"validated":0}]} 
[2026-08-01 18:24:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432535925769437184,"timestamp_seconds":432535925769437.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 18:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147411,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147411,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110715648001,"66":13254,"229":206,"85":12288,"24":17,"16":113578821004820480,"45":9022680403253987328},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-01 18:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110715648001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:24:04] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 18:24:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113578821004820480,"km_value":113578821004820.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403253987328,"description":"Unknown IO ID 45"} 
[2026-08-01 18:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110715648001,"power":13254,"unknown_229":206,"unknown_85":12288,"ignition":17,"odometer":null,"unknown_45":9022680403253987328}} 
[2026-08-01 18:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":147411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578586,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:24:04] local.INFO: GPS data processed {"connection_id":147411,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:24:04] local.INFO: Acknowledgment sent {"connection_id":147411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:24:04] local.INFO: TCP Data received {"connection_id":148709,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd620710012cec5780072d6fe0003601032c..."} 
[2026-08-01 18:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd620710012cec5780072d6fe0003601032c..."} 
[2026-08-01 18:24:04] local.INFO: Processing buffer {"connection_id":148709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd620710012cec5780072d6fe0003601032c..."} 
[2026-08-01 18:24:04] local.INFO: Packet analysis {"connection_id":148709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd62"} 
[2026-08-01 18:24:04] local.INFO: Extracted packet for processing {"connection_id":148709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd62"} 
[2026-08-01 18:24:04] local.INFO: GPS Element Parsed {"raw_longitude":753686400,"raw_latitude":120418272,"longitude_deg":75.36864,"latitude_deg":12.0418272,"altitude":54,"angle":259,"satellites":44,"speed":11,"hex_longitude":"2cec5780","hex_latitude":"072d6fe0","is_valid_coordinates":true} 
[2026-08-01 18:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110713600001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366716891986657280,"note":"Value kept but may cause issues"} 
[2026-08-01 18:24:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1406389690307420160,"note":"Value kept but may cause issues"} 
[2026-08-01 18:24:04] 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-08-01 18:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785588746000,"timestamp_ms":1785588746000,"timestamp_seconds":1785588746,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd620710"} 
[2026-08-01 18:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-01 18:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":148709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":148709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":148709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110713600001,"66":27713,"38":206,"83":44032,"24":11,"16":366716891986657280,"44":-1406389690307420160},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-08-01 18:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110713600001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:24:04] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-01 18:24:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366716891986657280,"km_value":366716891986657.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:24:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1406389690307420160,"description":"Unknown IO ID 44"} 
[2026-08-01 18:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110713600001,"power":27713,"unknown_38":206,"unknown_83":44032,"ignition":11,"odometer":null,"unknown_44":-1406389690307420160}} 
[2026-08-01 18:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":148709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:24:04] local.INFO: GPS data processed {"connection_id":148709,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:24:04] local.INFO: Acknowledgment sent {"connection_id":148709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:24:05] local.INFO: TCP Data received {"connection_id":147412,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:24:05] local.INFO: Processing buffer {"connection_id":147412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:24:05] local.INFO: IMEI packet received {"connection_id":147412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":147412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:24:05] local.INFO: TCP Data received {"connection_id":147412,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd61ad38012d196680071fef08003a005822..."} 
[2026-08-01 18:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd61ad38012d196680071fef08003a005822..."} 
[2026-08-01 18:24:05] local.INFO: Processing buffer {"connection_id":147412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd61ad38012d196680071fef08003a005822..."} 
[2026-08-01 18:24:05] local.INFO: Packet analysis {"connection_id":147412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd61"} 
[2026-08-01 18:24:05] local.INFO: Extracted packet for processing {"connection_id":147412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd61"} 
[2026-08-01 18:24:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":34,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110707712001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785588723000,"timestamp_ms":1785588723000,"timestamp_seconds":1785588723,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd61ad38"} 
[2026-08-01 18:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-01 18:24:05] 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-08-01 18: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-08-01 18:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:24:05] 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-08-01 18:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110707712001,"66":12504,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110707712001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:24:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:24:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110707712001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":147412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:24:06] local.INFO: GPS data processed {"connection_id":147412,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:24:06] local.INFO: Acknowledgment sent {"connection_id":147412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:24:35] local.INFO: TCP Data received {"connection_id":147411,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd622e20012d7d40c005c5aad0000700ad20..."} 
[2026-08-01 18:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd622e20012d7d40c005c5aad0000700ad20..."} 
[2026-08-01 18:24:35] local.INFO: Processing buffer {"connection_id":147411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd622e20012d7d40c005c5aad0000700ad20..."} 
[2026-08-01 18:24:35] local.INFO: Packet analysis {"connection_id":147411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd62"} 
[2026-08-01 18:24:35] local.INFO: Extracted packet for processing {"connection_id":147411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd62"} 
[2026-08-01 18:24:35] local.INFO: GPS Element Parsed {"raw_longitude":763183296,"raw_latitude":96840400,"longitude_deg":76.3183296,"latitude_deg":9.68404,"altitude":7,"angle":173,"satellites":32,"speed":19,"hex_longitude":"2d7d40c0","hex_latitude":"05c5aad0","is_valid_coordinates":true} 
[2026-08-01 18:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110718976001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113579065817956352,"note":"Value kept but may cause issues"} 
[2026-08-01 18:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023735934415132672,"note":"Value kept but may cause issues"} 
[2026-08-01 18:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785588756000,"timestamp_ms":1785588756000,"timestamp_seconds":1785588756,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd622e20"} 
[2026-08-01 18:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:24: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-08-01 18:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-01 18:24:35] 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-08-01 18:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147411,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147411,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110718976001,"66":13406,"229":206,"85":12288,"24":19,"16":113579065817956352,"45":9023735934415132672},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-01 18:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110718976001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:24:35] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-01 18:24:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113579065817956352,"km_value":113579065817956.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023735934415132672,"description":"Unknown IO ID 45"} 
[2026-08-01 18:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110718976001,"power":13406,"unknown_229":206,"unknown_85":12288,"ignition":19,"odometer":null,"unknown_45":9023735934415132672}} 
[2026-08-01 18:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":147411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578589,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:24:35] local.INFO: GPS data processed {"connection_id":147411,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:24:35] local.INFO: Acknowledgment sent {"connection_id":147411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:24:37] local.INFO: TCP Data received {"connection_id":147412,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd61ff40012d196680071fef08003a005826..."} 
[2026-08-01 18:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd61ff40012d196680071fef08003a005826..."} 
[2026-08-01 18:24:37] local.INFO: Processing buffer {"connection_id":147412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd61ff40012d196680071fef08003a005826..."} 
[2026-08-01 18:24:37] local.INFO: Packet analysis {"connection_id":147412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd61"} 
[2026-08-01 18:24:37] local.INFO: Extracted packet for processing {"connection_id":147412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd61"} 
[2026-08-01 18:24:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 18:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110713088001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785588744000,"timestamp_ms":1785588744000,"timestamp_seconds":1785588744,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd61ff40"} 
[2026-08-01 18:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:24: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-08-01 18:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-01 18:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:24:37] 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-08-01 18:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110713088001,"66":12504,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110713088001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:24:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:24:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110713088001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":147412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:24:37] local.INFO: GPS data processed {"connection_id":147412,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:24:37] local.INFO: Acknowledgment sent {"connection_id":147412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:24:43] local.INFO: TCP Data received {"connection_id":148710,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:24:43] local.INFO: Processing buffer {"connection_id":148710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:24:43] local.INFO: IMEI packet received {"connection_id":148710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":148710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:24:44] local.INFO: TCP Data received {"connection_id":148710,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:24:44] local.INFO: Processing buffer {"connection_id":148710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:24:44] local.INFO: IMEI packet received {"connection_id":148710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":148710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:24:48] local.INFO: TCP Data received {"connection_id":148710,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:24:48] local.INFO: Processing buffer {"connection_id":148710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:24:48] local.INFO: IMEI packet received {"connection_id":148710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":148710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:24:49] local.INFO: TCP Data received {"connection_id":148710,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd620710012cec5780072d6fe0003601032c..."} 
[2026-08-01 18:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd620710012cec5780072d6fe0003601032c..."} 
[2026-08-01 18:24:49] local.INFO: Processing buffer {"connection_id":148710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd620710012cec5780072d6fe0003601032c..."} 
[2026-08-01 18:24:49] local.INFO: Packet analysis {"connection_id":148710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd62"} 
[2026-08-01 18:24:49] local.INFO: Extracted packet for processing {"connection_id":148710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd62"} 
[2026-08-01 18:24:49] local.INFO: GPS Element Parsed {"raw_longitude":753686400,"raw_latitude":120418272,"longitude_deg":75.36864,"latitude_deg":12.0418272,"altitude":54,"angle":259,"satellites":44,"speed":11,"hex_longitude":"2cec5780","hex_latitude":"072d6fe0","is_valid_coordinates":true} 
[2026-08-01 18:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:24:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110718976001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:24:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366716891986657280,"note":"Value kept but may cause issues"} 
[2026-08-01 18:24:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1416522789469298688,"note":"Value kept but may cause issues"} 
[2026-08-01 18:24:49] 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-08-01 18:24:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785588746000,"timestamp_ms":1785588746000,"timestamp_seconds":1785588746,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd620710"} 
[2026-08-01 18:24:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:24:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 18:24:49] 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-08-01 18: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-08-01 18:24:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:24:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:24:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:24:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:24:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:24:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:24:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:24:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:24:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110718976001,"66":27713,"38":206,"83":44032,"24":11,"16":366716891986657280,"44":-1416522789469298688},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-08-01 18:24:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:24:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:24:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110718976001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:24:49] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-01 18:24:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:24:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366716891986657280,"km_value":366716891986657.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:24:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1416522789469298688,"description":"Unknown IO ID 44"} 
[2026-08-01 18:24:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110718976001,"power":27713,"unknown_38":206,"unknown_83":44032,"ignition":11,"odometer":null,"unknown_44":-1416522789469298688}} 
[2026-08-01 18:24:49] local.INFO: DEBUG: GPS processor result {"connection_id":148710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:24:49] local.INFO: GPS data processed {"connection_id":148710,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:24:49] local.INFO: Acknowledgment sent {"connection_id":148710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:24:58] local.INFO: TCP Data received {"connection_id":147413,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147413,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:24:58] local.INFO: Processing buffer {"connection_id":147413,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:24:58] local.INFO: IMEI packet received {"connection_id":147413,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 18:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":147413,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:24:58] local.INFO: TCP Data received {"connection_id":147413,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147413,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:24:58] local.INFO: Processing buffer {"connection_id":147413,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:24:58] local.INFO: IMEI packet received {"connection_id":147413,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":147413,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:25:03] local.INFO: TCP Data received {"connection_id":147413,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147413,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:25:03] local.INFO: Processing buffer {"connection_id":147413,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:25:03] local.INFO: IMEI packet received {"connection_id":147413,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":147413,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:25:04] local.INFO: TCP Data received {"connection_id":147413,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd626ca0012d7d428005c58698000b00b123..."} 
[2026-08-01 18:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd626ca0012d7d428005c58698000b00b123..."} 
[2026-08-01 18:25:04] local.INFO: Processing buffer {"connection_id":147413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd626ca0012d7d428005c58698000b00b123..."} 
[2026-08-01 18:25:04] local.INFO: Packet analysis {"connection_id":147413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd62"} 
[2026-08-01 18:25:04] local.INFO: Extracted packet for processing {"connection_id":147413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd62"} 
[2026-08-01 18:25:04] local.INFO: GPS Element Parsed {"raw_longitude":763183744,"raw_latitude":96831128,"longitude_deg":76.3183744,"latitude_deg":9.6831128,"altitude":11,"angle":177,"satellites":35,"speed":27,"hex_longitude":"2d7d4280","hex_latitude":"05c58698","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110721536001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113579516789522432,"note":"Value kept but may cause issues"} 
[2026-08-01 18:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025424784274149376,"note":"Value kept but may cause issues"} 
[2026-08-01 18:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785588772000,"timestamp_ms":1785588772000,"timestamp_seconds":1785588772,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd626ca0"} 
[2026-08-01 18:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-01 18:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147413,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147413,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110721536001,"66":13276,"227":206,"85":12288,"24":27,"16":113579516789522432,"45":9025424784274149376},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-08-01 18:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110721536001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:25:04] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-01 18:25:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113579516789522432,"km_value":113579516789522.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025424784274149376,"description":"Unknown IO ID 45"} 
[2026-08-01 18:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110721536001,"power":13276,"unknown_227":206,"unknown_85":12288,"ignition":27,"odometer":null,"unknown_45":9025424784274149376}} 
[2026-08-01 18:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":147413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578592,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:25:04] local.INFO: GPS data processed {"connection_id":147413,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:25:04] local.INFO: Acknowledgment sent {"connection_id":147413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:25:05] local.INFO: TCP Data received {"connection_id":148711,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:25:05] local.INFO: Processing buffer {"connection_id":148711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:25:05] local.INFO: IMEI packet received {"connection_id":148711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 18:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":148711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:25:08] local.INFO: TCP Data received {"connection_id":148711,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:25:08] local.INFO: Processing buffer {"connection_id":148711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:25:08] local.INFO: IMEI packet received {"connection_id":148711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":148711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:25:08] local.INFO: TCP Data received {"connection_id":148711,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd625148012d196680071fef08003a005827..."} 
[2026-08-01 18:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd625148012d196680071fef08003a005827..."} 
[2026-08-01 18:25:09] local.INFO: Processing buffer {"connection_id":148711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd625148012d196680071fef08003a005827..."} 
[2026-08-01 18:25:09] local.INFO: Packet analysis {"connection_id":148711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd62"} 
[2026-08-01 18:25:09] local.INFO: Extracted packet for processing {"connection_id":148711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd62"} 
[2026-08-01 18:25:09] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110718464001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18:25: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-08-01 18:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785588765000,"timestamp_ms":1785588765000,"timestamp_seconds":1785588765,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd625148"} 
[2026-08-01 18:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18: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-08-01 18: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-08-01 18:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":148711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":148711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":148711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:25:09] 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-08-01 18:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110718464001,"66":12504,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110718464001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:25:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:25:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110718464001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":148711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578593,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:25:09] local.INFO: GPS data processed {"connection_id":148711,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:25:09] local.INFO: Acknowledgment sent {"connection_id":148711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:25:20] local.INFO: TCP Data received {"connection_id":148710,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd625918012cec3580072d6c30003501072b..."} 
[2026-08-01 18:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd625918012cec3580072d6c30003501072b..."} 
[2026-08-01 18:25:20] local.INFO: Processing buffer {"connection_id":148710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd625918012cec3580072d6c30003501072b..."} 
[2026-08-01 18:25:20] local.INFO: Packet analysis {"connection_id":148710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd62"} 
[2026-08-01 18:25:20] local.INFO: Extracted packet for processing {"connection_id":148710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd62"} 
[2026-08-01 18:25:20] local.INFO: GPS Element Parsed {"raw_longitude":753677696,"raw_latitude":120417328,"longitude_deg":75.3677696,"latitude_deg":12.0417328,"altitude":53,"angle":263,"satellites":43,"speed":14,"hex_longitude":"2cec3580","hex_latitude":"072d6c30","is_valid_coordinates":true} 
[2026-08-01 18:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110718976001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366717308598484992,"note":"Value kept but may cause issues"} 
[2026-08-01 18:25:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1416522789469298688,"note":"Value kept but may cause issues"} 
[2026-08-01 18:25:20] 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-08-01 18:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785588767000,"timestamp_ms":1785588767000,"timestamp_seconds":1785588767,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd625918"} 
[2026-08-01 18:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:25: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-08-01 18:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 18:25:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:25:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:25:20] 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-08-01 18:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110718976001,"66":27484,"75":206,"83":44032,"24":14,"16":366717308598484992,"44":-1416522789469298688},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,83,24,16,44]} 
[2026-08-01 18:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110718976001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:25:20] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-01 18:25:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366717308598484992,"km_value":366717308598485.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:25:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1416522789469298688,"description":"Unknown IO ID 44"} 
[2026-08-01 18:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110718976001,"power":27484,"unknown_75":206,"unknown_83":44032,"ignition":14,"odometer":null,"unknown_44":-1416522789469298688}} 
[2026-08-01 18:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":148710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:25:20] local.INFO: GPS data processed {"connection_id":148710,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:25:20] local.INFO: Acknowledgment sent {"connection_id":148710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:25:34] local.INFO: TCP Data received {"connection_id":147413,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd647040012d7d448005c44720000700ba21..."} 
[2026-08-01 18:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd647040012d7d448005c44720000700ba21..."} 
[2026-08-01 18:25:34] local.INFO: Processing buffer {"connection_id":147413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd647040012d7d448005c44720000700ba21..."} 
[2026-08-01 18:25:34] local.INFO: Packet analysis {"connection_id":147413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd64"} 
[2026-08-01 18:25:34] local.INFO: Extracted packet for processing {"connection_id":147413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd64"} 
[2026-08-01 18:25:34] local.INFO: GPS Element Parsed {"raw_longitude":763184256,"raw_latitude":96749344,"longitude_deg":76.3184256,"latitude_deg":9.6749344,"altitude":7,"angle":186,"satellites":33,"speed":5,"hex_longitude":"2d7d4480","hex_latitude":"05c44720","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110758912001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113583502519173120,"note":"Value kept but may cause issues"} 
[2026-08-01 18:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026480315413614592,"note":"Value kept but may cause issues"} 
[2026-08-01 18:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785588904000,"timestamp_ms":1785588904000,"timestamp_seconds":1785588904,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd647040"} 
[2026-08-01 18:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-01 18:25:34] 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-08-01 18: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-08-01 18:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147413,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147413,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:25:34] 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-08-01 18:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110758912001,"66":13352,"227":206,"85":12288,"24":5,"16":113583502519173120,"45":9026480315413614592},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-08-01 18:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110758912001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:25:34] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-01 18:25:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113583502519173120,"km_value":113583502519173.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026480315413614592,"description":"Unknown IO ID 45"} 
[2026-08-01 18:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110758912001,"power":13352,"unknown_227":206,"unknown_85":12288,"ignition":5,"odometer":null,"unknown_45":9026480315413614592}} 
[2026-08-01 18:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":147413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578595,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:25:35] local.INFO: GPS data processed {"connection_id":147413,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:25:35] local.INFO: Acknowledgment sent {"connection_id":147413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:25:43] local.INFO: TCP Data received {"connection_id":148711,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd62a350012d196680071fef08003a005825..."} 
[2026-08-01 18:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd62a350012d196680071fef08003a005825..."} 
[2026-08-01 18:25:43] local.INFO: Processing buffer {"connection_id":148711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd62a350012d196680071fef08003a005825..."} 
[2026-08-01 18:25:43] local.INFO: Packet analysis {"connection_id":148711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd62"} 
[2026-08-01 18:25:43] local.INFO: Extracted packet for processing {"connection_id":148711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd62"} 
[2026-08-01 18:25:43] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":37,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110723840001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:25:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18: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-08-01 18:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785588786000,"timestamp_ms":1785588786000,"timestamp_seconds":1785588786,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd62a350"} 
[2026-08-01 18:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:25:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18: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":216,"data_length":795,"current_offset":136} 
[2026-08-01 18:25:43] 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-08-01 18: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-08-01 18:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":148711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":148711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":148711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:25:43] 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-08-01 18:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110723840001,"66":12515,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110723840001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:25:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:25:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:25:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110723840001,"power":12515,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":148711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578596,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:25:43] local.INFO: GPS data processed {"connection_id":148711,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:25:43] local.INFO: Acknowledgment sent {"connection_id":148711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:25:44] local.INFO: TCP Data received {"connection_id":146181,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:25:44] local.INFO: Processing buffer {"connection_id":146181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:25:44] local.INFO: IMEI packet received {"connection_id":146181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:25:44] local.INFO: IMEI acknowledgment sent {"connection_id":146181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:25:48] local.INFO: TCP Data received {"connection_id":146181,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:25:48] local.INFO: Processing buffer {"connection_id":146181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:25:48] local.INFO: IMEI packet received {"connection_id":146181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":146181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:25:49] local.INFO: TCP Data received {"connection_id":146181,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd629f68012cec0fc0072d69080035010c2c..."} 
[2026-08-01 18:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd629f68012cec0fc0072d69080035010c2c..."} 
[2026-08-01 18:25:49] local.INFO: Processing buffer {"connection_id":146181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd629f68012cec0fc0072d69080035010c2c..."} 
[2026-08-01 18:25:49] local.INFO: Packet analysis {"connection_id":146181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd62"} 
[2026-08-01 18:25:49] local.INFO: Extracted packet for processing {"connection_id":146181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd62"} 
[2026-08-01 18:25:49] local.INFO: GPS Element Parsed {"raw_longitude":753668032,"raw_latitude":120416520,"longitude_deg":75.3668032,"latitude_deg":12.041652,"altitude":53,"angle":268,"satellites":44,"speed":24,"hex_longitude":"2cec0fc0","hex_latitude":"072d6908","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:25:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110724352001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:25:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366717768159985664,"note":"Value kept but may cause issues"} 
[2026-08-01 18:25:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1426092938677702656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:25:49] 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-08-01 18:25:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785588785000,"timestamp_ms":1785588785000,"timestamp_seconds":1785588785,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd629f68"} 
[2026-08-01 18:25:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:25: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-08-01 18: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-01 18:25: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-08-01 18: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-08-01 18:25:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:25:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:25:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:25:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:25:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:25:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:25:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:25:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:25:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110724352001,"66":27691,"75":206,"83":44032,"24":24,"16":366717768159985664,"44":-1426092938677702656},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,83,24,16,44]} 
[2026-08-01 18:25:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:25:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:25:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110724352001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:25:49] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-01 18:25:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:25:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366717768159985664,"km_value":366717768159985.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:25:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1426092938677702656,"description":"Unknown IO ID 44"} 
[2026-08-01 18:25:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110724352001,"power":27691,"unknown_75":206,"unknown_83":44032,"ignition":24,"odometer":null,"unknown_44":-1426092938677702656}} 
[2026-08-01 18:25:49] local.INFO: DEBUG: GPS processor result {"connection_id":146181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:25:49] local.INFO: GPS data processed {"connection_id":146181,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:25:49] local.INFO: Acknowledgment sent {"connection_id":146181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:26:00] local.INFO: TCP Data received {"connection_id":148712,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:26:00] local.INFO: Processing buffer {"connection_id":148712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:26:00] local.INFO: IMEI packet received {"connection_id":148712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 18:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":148712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:26:03] local.INFO: TCP Data received {"connection_id":148713,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148713,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:26:03] local.INFO: Processing buffer {"connection_id":148713,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:26:03] local.INFO: IMEI packet received {"connection_id":148713,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 18:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":148713,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:26:03] local.INFO: TCP Data received {"connection_id":148713,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148713,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:26:03] local.INFO: Processing buffer {"connection_id":148713,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:26:03] local.INFO: IMEI packet received {"connection_id":148713,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":148713,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:26:05] local.INFO: TCP Data received {"connection_id":148712,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:26:05] local.INFO: Processing buffer {"connection_id":148712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:26:05] local.INFO: IMEI packet received {"connection_id":148712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":148712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:26:05] local.INFO: TCP Data received {"connection_id":148712,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd62f558012d196680071fef08003a005825..."} 
[2026-08-01 18:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd62f558012d196680071fef08003a005825..."} 
[2026-08-01 18:26:05] local.INFO: Processing buffer {"connection_id":148712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd62f558012d196680071fef08003a005825..."} 
[2026-08-01 18:26:05] local.INFO: Packet analysis {"connection_id":148712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd62"} 
[2026-08-01 18:26:05] local.INFO: Extracted packet for processing {"connection_id":148712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd62"} 
[2026-08-01 18:26:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":37,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110729216001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785588807000,"timestamp_ms":1785588807000,"timestamp_seconds":1785588807,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd62f558"} 
[2026-08-01 18:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-01 18:26:05] 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-08-01 18: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-08-01 18:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:26:05] 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-08-01 18:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110729216001,"66":12504,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110729216001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:26:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:26:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110729216001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":148712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:26:05] local.INFO: GPS data processed {"connection_id":148712,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:26:05] local.INFO: Acknowledgment sent {"connection_id":148712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:26:07] local.INFO: TCP Data received {"connection_id":148713,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148713,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:26:07] local.INFO: Processing buffer {"connection_id":148713,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:26:07] local.INFO: IMEI packet received {"connection_id":148713,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":148713,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:26:10] local.INFO: TCP Data received {"connection_id":148713,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd64aad8012d7d430005c422b0000600b721..."} 
[2026-08-01 18:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd64aad8012d7d430005c422b0000600b721..."} 
[2026-08-01 18:26:10] local.INFO: Processing buffer {"connection_id":148713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd64aad8012d7d430005c422b0000600b721..."} 
[2026-08-01 18:26:10] local.INFO: Packet analysis {"connection_id":148713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd64"} 
[2026-08-01 18:26:10] local.INFO: Extracted packet for processing {"connection_id":148713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd64"} 
[2026-08-01 18:26:10] local.INFO: GPS Element Parsed {"raw_longitude":763183872,"raw_latitude":96740016,"longitude_deg":76.3183872,"latitude_deg":9.6740016,"altitude":6,"angle":183,"satellites":33,"speed":30,"hex_longitude":"2d7d4300","hex_latitude":"05c422b0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 18:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110759424001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113583957785706496,"note":"Value kept but may cause issues"} 
[2026-08-01 18:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026480315413504000,"note":"Value kept but may cause issues"} 
[2026-08-01 18:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785588919000,"timestamp_ms":1785588919000,"timestamp_seconds":1785588919,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd64aad8"} 
[2026-08-01 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-08-01 18:26:10] 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-08-01 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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-01 18:26:10] 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-08-01 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-08-01 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-08-01 18:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":148713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":148713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":148713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:26:10] 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-08-01 18:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110759424001,"66":13091,"227":206,"85":12288,"24":30,"16":113583957785706496,"45":9026480315413504000},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-08-01 18:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110759424001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:26:10] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-01 18:26:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113583957785706496,"km_value":113583957785706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026480315413504000,"description":"Unknown IO ID 45"} 
[2026-08-01 18:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110759424001,"power":13091,"unknown_227":206,"unknown_85":12288,"ignition":30,"odometer":null,"unknown_45":9026480315413504000}} 
[2026-08-01 18:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":148713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578599,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:26:10] local.INFO: GPS data processed {"connection_id":148713,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:26:10] local.INFO: Acknowledgment sent {"connection_id":148713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:26:13] local.INFO: TCP Data received {"connection_id":148713,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd64dda0012d7d408005c3ff50000400ba21..."} 
[2026-08-01 18:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd64dda0012d7d408005c3ff50000400ba21..."} 
[2026-08-01 18:26:13] local.INFO: Processing buffer {"connection_id":148713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd64dda0012d7d408005c3ff50000400ba21..."} 
[2026-08-01 18:26:13] local.INFO: Packet analysis {"connection_id":148713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd64"} 
[2026-08-01 18:26:13] local.INFO: Extracted packet for processing {"connection_id":148713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd64"} 
[2026-08-01 18:26:13] local.INFO: GPS Element Parsed {"raw_longitude":763183232,"raw_latitude":96730960,"longitude_deg":76.3183232,"latitude_deg":9.673096,"altitude":4,"angle":186,"satellites":33,"speed":24,"hex_longitude":"2d7d4080","hex_latitude":"05c3ff50","is_valid_coordinates":true} 
[2026-08-01 18:26: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-08-01 18:26:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110763264001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:26:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113584400167337984,"note":"Value kept but may cause issues"} 
[2026-08-01 18:26:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026058102946050048,"note":"Value kept but may cause issues"} 
[2026-08-01 18:26:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:26:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785588932000,"timestamp_ms":1785588932000,"timestamp_seconds":1785588932,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd64dda0"} 
[2026-08-01 18:26:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:26:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-01 18:26:13] 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-08-01 18:26: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-08-01 18:26:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:26:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:26:13] local.INFO: Teltonika packet parsed successfully {"connection_id":148713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:26:13] local.INFO: Passing IMEI to GPS processor {"connection_id":148713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:26:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":148713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:26:13] 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-08-01 18:26:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:26:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:26:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110763264001,"66":13319,"227":206,"85":12288,"24":24,"16":113584400167337984,"45":9026058102946050048},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-08-01 18:26:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:26:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:26:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110763264001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:26:13] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-01 18:26:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:26:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113584400167337984,"km_value":113584400167337.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:26:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026058102946050048,"description":"Unknown IO ID 45"} 
[2026-08-01 18:26:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110763264001,"power":13319,"unknown_227":206,"unknown_85":12288,"ignition":24,"odometer":null,"unknown_45":9026058102946050048}} 
[2026-08-01 18:26:13] local.INFO: DEBUG: GPS processor result {"connection_id":148713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578600,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:26:13] local.INFO: GPS data processed {"connection_id":148713,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:26:13] local.INFO: Acknowledgment sent {"connection_id":148713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:26:20] local.INFO: TCP Data received {"connection_id":146181,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd62ed88012cebeb00072d6b10003301132b..."} 
[2026-08-01 18:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd62ed88012cebeb00072d6b10003301132b..."} 
[2026-08-01 18:26:20] local.INFO: Processing buffer {"connection_id":146181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd62ed88012cebeb00072d6b10003301132b..."} 
[2026-08-01 18:26:20] local.INFO: Packet analysis {"connection_id":146181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd62"} 
[2026-08-01 18:26:20] local.INFO: Extracted packet for processing {"connection_id":146181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd62"} 
[2026-08-01 18:26:20] local.INFO: GPS Element Parsed {"raw_longitude":753658624,"raw_latitude":120417040,"longitude_deg":75.3658624,"latitude_deg":12.041704,"altitude":51,"angle":275,"satellites":43,"speed":21,"hex_longitude":"2cebeb00","hex_latitude":"072d6b10","is_valid_coordinates":true} 
[2026-08-01 18:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110728960001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366718214836584448,"note":"Value kept but may cause issues"} 
[2026-08-01 18:26:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1436718619048736768,"note":"Value kept but may cause issues"} 
[2026-08-01 18:26:20] 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-08-01 18:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785588805000,"timestamp_ms":1785588805000,"timestamp_seconds":1785588805,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd62ed88"} 
[2026-08-01 18:26:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:26: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-08-01 18:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-01 18:26:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:26:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:26:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:26:20] 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-08-01 18:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110728960001,"66":27767,"75":206,"83":44032,"24":21,"16":366718214836584448,"44":-1436718619048736768},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,83,24,16,44]} 
[2026-08-01 18:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110728960001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:26:20] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-01 18:26:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366718214836584448,"km_value":366718214836584.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:26:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1436718619048736768,"description":"Unknown IO ID 44"} 
[2026-08-01 18:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110728960001,"power":27767,"unknown_75":206,"unknown_83":44032,"ignition":21,"odometer":null,"unknown_44":-1436718619048736768}} 
[2026-08-01 18:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":146181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:26:20] local.INFO: GPS data processed {"connection_id":146181,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:26:20] local.INFO: Acknowledgment sent {"connection_id":146181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:26:37] local.INFO: TCP Data received {"connection_id":148712,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd634760012d196680071fef08003a005828..."} 
[2026-08-01 18:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd634760012d196680071fef08003a005828..."} 
[2026-08-01 18:26:37] local.INFO: Processing buffer {"connection_id":148712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd634760012d196680071fef08003a005828..."} 
[2026-08-01 18:26:37] local.INFO: Packet analysis {"connection_id":148712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd63"} 
[2026-08-01 18:26:37] local.INFO: Extracted packet for processing {"connection_id":148712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd63"} 
[2026-08-01 18:26:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":40,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 18:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110734592001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785588828000,"timestamp_ms":1785588828000,"timestamp_seconds":1785588828,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd634760"} 
[2026-08-01 18:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:26: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-08-01 18:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-01 18:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:26:37] 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-08-01 18:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110734592001,"66":12504,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110734592001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:26:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:26:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110734592001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":148712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:26:37] local.INFO: GPS data processed {"connection_id":148712,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:26:37] local.INFO: Acknowledgment sent {"connection_id":148712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:26:43] local.INFO: TCP Data received {"connection_id":146406,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:26:43] local.INFO: Processing buffer {"connection_id":146406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:26:43] local.INFO: IMEI packet received {"connection_id":146406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":146406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:26:48] local.INFO: TCP Data received {"connection_id":146406,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:26:48] local.INFO: Processing buffer {"connection_id":146406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:26:48] local.INFO: IMEI packet received {"connection_id":146406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":146406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:26:49] local.INFO: TCP Data received {"connection_id":146406,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd632820012cebc680072d6fe8003301152c..."} 
[2026-08-01 18:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd632820012cebc680072d6fe8003301152c..."} 
[2026-08-01 18:26:49] local.INFO: Processing buffer {"connection_id":146406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd632820012cebc680072d6fe8003301152c..."} 
[2026-08-01 18:26:49] local.INFO: Packet analysis {"connection_id":146406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd63"} 
[2026-08-01 18:26:49] local.INFO: Extracted packet for processing {"connection_id":146406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd63"} 
[2026-08-01 18:26:49] local.INFO: GPS Element Parsed {"raw_longitude":753649280,"raw_latitude":120418280,"longitude_deg":75.364928,"latitude_deg":12.041828,"altitude":51,"angle":277,"satellites":44,"speed":26,"hex_longitude":"2cebc680","hex_latitude":"072d6fe8","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110734080001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366718661513183232,"note":"Value kept but may cause issues"} 
[2026-08-01 18:26:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1447062824442720256,"note":"Value kept but may cause issues"} 
[2026-08-01 18:26:49] 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-08-01 18:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785588820000,"timestamp_ms":1785588820000,"timestamp_seconds":1785588820,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd632820"} 
[2026-08-01 18:26:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:26: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-08-01 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 18:26:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:26:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:26:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110734080001,"66":27865,"201":206,"83":44032,"24":26,"16":366718661513183232,"44":-1447062824442720256},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,83,24,16,44]} 
[2026-08-01 18:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110734080001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:26:49] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-01 18:26:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366718661513183232,"km_value":366718661513183.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:26:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1447062824442720256,"description":"Unknown IO ID 44"} 
[2026-08-01 18:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110734080001,"power":27865,"unknown_201":206,"unknown_83":44032,"ignition":26,"odometer":null,"unknown_44":-1447062824442720256}} 
[2026-08-01 18:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":146406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:26:49] local.INFO: GPS data processed {"connection_id":146406,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:26:49] local.INFO: Acknowledgment sent {"connection_id":146406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:26:58] local.INFO: TCP Data received {"connection_id":146407,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146407,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:26:58] local.INFO: Processing buffer {"connection_id":146407,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:26:58] local.INFO: IMEI packet received {"connection_id":146407,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 18:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":146407,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:27:00] local.INFO: TCP Data received {"connection_id":146182,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:27:00] local.INFO: Processing buffer {"connection_id":146182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:27:00] local.INFO: IMEI packet received {"connection_id":146182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 18:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":146182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:27:03] local.INFO: TCP Data received {"connection_id":146407,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146407,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:27:03] local.INFO: Processing buffer {"connection_id":146407,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:27:03] local.INFO: IMEI packet received {"connection_id":146407,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":146407,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:27:04] local.INFO: TCP Data received {"connection_id":146407,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd64fce0012d7d408005c3e778000500ac1f..."} 
[2026-08-01 18:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd64fce0012d7d408005c3e778000500ac1f..."} 
[2026-08-01 18:27:04] local.INFO: Processing buffer {"connection_id":146407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd64fce0012d7d408005c3e778000500ac1f..."} 
[2026-08-01 18:27:04] local.INFO: Packet analysis {"connection_id":146407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd64"} 
[2026-08-01 18:27:04] local.INFO: Extracted packet for processing {"connection_id":146407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd64"} 
[2026-08-01 18:27:04] local.INFO: GPS Element Parsed {"raw_longitude":763183232,"raw_latitude":96724856,"longitude_deg":76.3183232,"latitude_deg":9.6724856,"altitude":5,"angle":172,"satellites":31,"speed":32,"hex_longitude":"2d7d4080","hex_latitude":"05c3e778","is_valid_coordinates":true} 
[2026-08-01 18:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110766592001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113584696520081408,"note":"Value kept but may cause issues"} 
[2026-08-01 18:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025354415501955072,"note":"Value kept but may cause issues"} 
[2026-08-01 18:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785588940000,"timestamp_ms":1785588940000,"timestamp_seconds":1785588940,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd64fce0"} 
[2026-08-01 18:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:27: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-08-01 18:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-01 18:27:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-01 18:27:04] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3177436160,"note":"Value kept but may cause issues"} 
[2026-08-01 18:27:04] local.WARNING: Large IO value detected {"io_id":135,"raw_value":2466250752,"note":"Value kept but may cause issues"} 
[2026-08-01 18:27:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-01 18:27:04] local.WARNING: Large IO value detected {"io_id":196,"raw_value":-5703808885103254784,"note":"Value kept but may cause issues"} 
[2026-08-01 18:27:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1508049102,"corrected_to":0} 
[2026-08-01 18:27:04] local.WARNING: Large IO value detected {"io_id":69,"raw_value":3221603433,"note":"Value kept but may cause issues"} 
[2026-08-01 18:27:04] local.WARNING: Large IO value detected {"io_id":147,"raw_value":2268397568,"note":"Value kept but may cause issues"} 
[2026-08-01 18:27:04] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3297484800,"note":"Value kept but may cause issues"} 
[2026-08-01 18:27:04] local.WARNING: Large IO value detected {"io_id":248,"raw_value":57801201731654960,"note":"Value kept but may cause issues"} 
[2026-08-01 18:27:04] local.WARNING: Large IO value detected {"io_id":99,"raw_value":-6548232563309461499,"note":"Value kept but may cause issues"} 
[2026-08-01 18:27:04] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,227,85,24,241,157,16,136,159,170,45,34,6,33,10,66,112,128,71,7,135,104,1,240,94,189,196,4,113,205,2,69,32,36,239,52,147,5,35,248,99],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1508049102,"validated":0}]} 
[2026-08-01 18:27:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288435027049971712,"timestamp_seconds":288435027049971.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 18:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110766592001,"66":13243,"227":206,"85":12288,"24":32,"16":113584696520081408,"45":9025354415501955072},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-08-01 18:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110766592001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:27:04] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-01 18:27:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113584696520081408,"km_value":113584696520081.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025354415501955072,"description":"Unknown IO ID 45"} 
[2026-08-01 18:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110766592001,"power":13243,"unknown_227":206,"unknown_85":12288,"ignition":32,"odometer":null,"unknown_45":9025354415501955072}} 
[2026-08-01 18:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":146407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578604,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:27:04] local.INFO: GPS data processed {"connection_id":146407,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:27:04] local.INFO: Acknowledgment sent {"connection_id":146407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:27:05] local.INFO: TCP Data received {"connection_id":146182,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:27:05] local.INFO: Processing buffer {"connection_id":146182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:27:05] local.INFO: IMEI packet received {"connection_id":146182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":146182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:27:05] local.INFO: TCP Data received {"connection_id":146182,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd639968012d196680071fef08003a005825..."} 
[2026-08-01 18:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd639968012d196680071fef08003a005825..."} 
[2026-08-01 18:27:05] local.INFO: Processing buffer {"connection_id":146182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd639968012d196680071fef08003a005825..."} 
[2026-08-01 18:27:05] local.INFO: Packet analysis {"connection_id":146182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd63"} 
[2026-08-01 18:27:05] local.INFO: Extracted packet for processing {"connection_id":146182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd63"} 
[2026-08-01 18:27:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":37,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110739968001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785588849000,"timestamp_ms":1785588849000,"timestamp_seconds":1785588849,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd639968"} 
[2026-08-01 18:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-01 18:27:05] 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-08-01 18: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-08-01 18:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:27:05] 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-08-01 18:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110739968001,"66":12113,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110739968001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:27:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:27:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110739968001,"power":12113,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":146182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:27:06] local.INFO: GPS data processed {"connection_id":146182,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:27:06] local.INFO: Acknowledgment sent {"connection_id":146182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:27:20] local.INFO: TCP Data received {"connection_id":146406,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd635ae8012ceba180072d75e0002f01162d..."} 
[2026-08-01 18:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd635ae8012ceba180072d75e0002f01162d..."} 
[2026-08-01 18:27:20] local.INFO: Processing buffer {"connection_id":146406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd635ae8012ceba180072d75e0002f01162d..."} 
[2026-08-01 18:27:20] local.INFO: Packet analysis {"connection_id":146406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd63"} 
[2026-08-01 18:27:20] local.INFO: Extracted packet for processing {"connection_id":146406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd63"} 
[2026-08-01 18:27:20] local.INFO: GPS Element Parsed {"raw_longitude":753639808,"raw_latitude":120419808,"longitude_deg":75.3639808,"latitude_deg":12.0419808,"altitude":47,"angle":278,"satellites":45,"speed":30,"hex_longitude":"2ceba180","hex_latitude":"072d75e0","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110737920001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366719116779716608,"note":"Value kept but may cause issues"} 
[2026-08-01 18:27:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1457336661092341760,"note":"Value kept but may cause issues"} 
[2026-08-01 18:27:20] 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-08-01 18:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785588833000,"timestamp_ms":1785588833000,"timestamp_seconds":1785588833,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd635ae8"} 
[2026-08-01 18:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 18:27: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-08-01 18: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-08-01 18:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:27:20] 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-08-01 18:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110737920001,"66":27908,"201":206,"83":44032,"24":30,"16":366719116779716608,"44":-1457336661092341760},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,83,24,16,44]} 
[2026-08-01 18:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110737920001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:27:20] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-01 18:27:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366719116779716608,"km_value":366719116779716.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:27:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1457336661092341760,"description":"Unknown IO ID 44"} 
[2026-08-01 18:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110737920001,"power":27908,"unknown_201":206,"unknown_83":44032,"ignition":30,"odometer":null,"unknown_44":-1457336661092341760}} 
[2026-08-01 18:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":146406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:27:20] local.INFO: GPS data processed {"connection_id":146406,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:27:20] local.INFO: Acknowledgment sent {"connection_id":146406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:27:35] local.INFO: TCP Data received {"connection_id":146407,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd6523f0012d7d478005c3c438000700ab21..."} 
[2026-08-01 18:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd6523f0012d7d478005c3c438000700ab21..."} 
[2026-08-01 18:27:35] local.INFO: Processing buffer {"connection_id":146407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd6523f0012d7d478005c3c438000700ab21..."} 
[2026-08-01 18:27:35] local.INFO: Packet analysis {"connection_id":146407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd65"} 
[2026-08-01 18:27:35] local.INFO: Extracted packet for processing {"connection_id":146407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd65"} 
[2026-08-01 18:27:35] local.INFO: GPS Element Parsed {"raw_longitude":763185024,"raw_latitude":96715832,"longitude_deg":76.3185024,"latitude_deg":9.6715832,"altitude":7,"angle":171,"satellites":33,"speed":35,"hex_longitude":"2d7d4780","hex_latitude":"05c3c438","is_valid_coordinates":true} 
[2026-08-01 18:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110768640001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113585143196680192,"note":"Value kept but may cause issues"} 
[2026-08-01 18:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025354415500392448,"note":"Value kept but may cause issues"} 
[2026-08-01 18:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785588950000,"timestamp_ms":1785588950000,"timestamp_seconds":1785588950,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd6523f0"} 
[2026-08-01 18:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-01 18:27: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-08-01 18:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110768640001,"66":13135,"135":206,"85":12288,"24":35,"16":113585143196680192,"45":9025354415500392448},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,85,24,16,45]} 
[2026-08-01 18:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110768640001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:27:35] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-01 18:27:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113585143196680192,"km_value":113585143196680.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025354415500392448,"description":"Unknown IO ID 45"} 
[2026-08-01 18:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110768640001,"power":13135,"unknown_135":206,"unknown_85":12288,"ignition":35,"odometer":null,"unknown_45":9025354415500392448}} 
[2026-08-01 18:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":146407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578607,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:27:35] local.INFO: GPS data processed {"connection_id":146407,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:27:35] local.INFO: Acknowledgment sent {"connection_id":146407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:27:36] local.INFO: TCP Data received {"connection_id":146182,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd63eb70012d196680071fef08003a005827..."} 
[2026-08-01 18:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd63eb70012d196680071fef08003a005827..."} 
[2026-08-01 18:27:36] local.INFO: Processing buffer {"connection_id":146182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd63eb70012d196680071fef08003a005827..."} 
[2026-08-01 18:27:36] local.INFO: Packet analysis {"connection_id":146182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd63"} 
[2026-08-01 18:27:36] local.INFO: Extracted packet for processing {"connection_id":146182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd63"} 
[2026-08-01 18:27:36] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 18:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110745344001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785588870000,"timestamp_ms":1785588870000,"timestamp_seconds":1785588870,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd63eb70"} 
[2026-08-01 18:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-08-01 18:27:36] 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-08-01 18:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:27:36] 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-08-01 18:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110745344001,"66":11863,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110745344001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:27:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:27:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110745344001,"power":11863,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":146182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578608,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:27:36] local.INFO: GPS data processed {"connection_id":146182,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:27:36] local.INFO: Acknowledgment sent {"connection_id":146182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:27:43] local.INFO: TCP Data received {"connection_id":146408,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:27:43] local.INFO: Processing buffer {"connection_id":146408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:27:43] local.INFO: IMEI packet received {"connection_id":146408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":146408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:27:48] local.INFO: TCP Data received {"connection_id":146408,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:27:48] local.INFO: Processing buffer {"connection_id":146408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:27:48] local.INFO: IMEI packet received {"connection_id":146408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":146408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:27:49] local.INFO: TCP Data received {"connection_id":146408,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd6389c8012ceb7bc0072d7b18002b01152a..."} 
[2026-08-01 18:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd6389c8012ceb7bc0072d7b18002b01152a..."} 
[2026-08-01 18:27:49] local.INFO: Processing buffer {"connection_id":146408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd6389c8012ceb7bc0072d7b18002b01152a..."} 
[2026-08-01 18:27:49] local.INFO: Packet analysis {"connection_id":146408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd63"} 
[2026-08-01 18:27:49] local.INFO: Extracted packet for processing {"connection_id":146408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd63"} 
[2026-08-01 18:27:49] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":120421144,"longitude_deg":75.3630144,"latitude_deg":12.0421144,"altitude":43,"angle":277,"satellites":42,"speed":30,"hex_longitude":"2ceb7bc0","hex_latitude":"072d7b18","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110741248001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366719580636184576,"note":"Value kept but may cause issues"} 
[2026-08-01 18:27:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1467751235230244864,"note":"Value kept but may cause issues"} 
[2026-08-01 18:27:49] 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-08-01 18:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785588845000,"timestamp_ms":1785588845000,"timestamp_seconds":1785588845,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd6389c8"} 
[2026-08-01 18:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:27: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-08-01 18: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 18:27: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-08-01 18: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-08-01 18:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:27:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110741248001,"66":27604,"201":206,"83":44032,"24":30,"16":366719580636184576,"44":-1467751235230244864},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,83,24,16,44]} 
[2026-08-01 18:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110741248001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:27:49] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-01 18:27:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366719580636184576,"km_value":366719580636184.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:27:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1467751235230244864,"description":"Unknown IO ID 44"} 
[2026-08-01 18:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110741248001,"power":27604,"unknown_201":206,"unknown_83":44032,"ignition":30,"odometer":null,"unknown_44":-1467751235230244864}} 
[2026-08-01 18:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":146408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:27:49] local.INFO: GPS data processed {"connection_id":146408,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:27:49] local.INFO: Acknowledgment sent {"connection_id":146408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:27:58] local.INFO: TCP Data received {"connection_id":147414,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147414,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:27:58] local.INFO: Processing buffer {"connection_id":147414,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:27:58] local.INFO: IMEI packet received {"connection_id":147414,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 18:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":147414,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:28:00] local.INFO: TCP Data received {"connection_id":148714,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:28:00] local.INFO: Processing buffer {"connection_id":148714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:28:00] local.INFO: IMEI packet received {"connection_id":148714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 18:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":148714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:28:03] local.INFO: TCP Data received {"connection_id":147414,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147414,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:28:03] local.INFO: Processing buffer {"connection_id":147414,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:28:03] local.INFO: IMEI packet received {"connection_id":147414,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":147414,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:28:05] local.INFO: TCP Data received {"connection_id":148714,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:28:05] local.INFO: Processing buffer {"connection_id":148714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:28:05] local.INFO: IMEI packet received {"connection_id":148714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":148714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:28:05] local.INFO: TCP Data received {"connection_id":148714,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd643d78012d196680071fef08003a005826..."} 
[2026-08-01 18:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd643d78012d196680071fef08003a005826..."} 
[2026-08-01 18:28:05] local.INFO: Processing buffer {"connection_id":148714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd643d78012d196680071fef08003a005826..."} 
[2026-08-01 18:28:05] local.INFO: Packet analysis {"connection_id":148714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd64"} 
[2026-08-01 18:28:05] local.INFO: Extracted packet for processing {"connection_id":148714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd64"} 
[2026-08-01 18:28:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110750720001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785588891000,"timestamp_ms":1785588891000,"timestamp_seconds":1785588891,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd643d78"} 
[2026-08-01 18:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:28: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-08-01 18: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":46,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-08-01 18:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1211,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:28:05] 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-08-01 18:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110750720001,"66":12504,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110750720001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:28:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:28:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110750720001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":148714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578610,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:28:06] local.INFO: GPS data processed {"connection_id":148714,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:28:06] local.INFO: Acknowledgment sent {"connection_id":148714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:28:15] local.INFO: TCP Data received {"connection_id":147414,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd654ee8012d7d4b8005c39ed0000700b020..."} 
[2026-08-01 18:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd654ee8012d7d4b8005c39ed0000700b020..."} 
[2026-08-01 18:28:15] local.INFO: Processing buffer {"connection_id":147414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd654ee8012d7d4b8005c39ed0000700b020..."} 
[2026-08-01 18:28:15] local.INFO: Packet analysis {"connection_id":147414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd65"} 
[2026-08-01 18:28:15] local.INFO: Extracted packet for processing {"connection_id":147414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd65"} 
[2026-08-01 18:28:15] local.INFO: GPS Element Parsed {"raw_longitude":763186048,"raw_latitude":96706256,"longitude_deg":76.3186048,"latitude_deg":9.6706256,"altitude":7,"angle":176,"satellites":32,"speed":33,"hex_longitude":"2d7d4b80","hex_latitude":"05c39ed0","is_valid_coordinates":true} 
[2026-08-01 18:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110771200001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113585607053148160,"note":"Value kept but may cause issues"} 
[2026-08-01 18:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027324740335056896,"note":"Value kept but may cause issues"} 
[2026-08-01 18:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785588961000,"timestamp_ms":1785588961000,"timestamp_seconds":1785588961,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd654ee8"} 
[2026-08-01 18:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-01 18:28:15] 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-08-01 18:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":147414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":147414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":147414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:28:15] 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-08-01 18:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110771200001,"66":12939,"135":206,"85":12288,"24":33,"16":113585607053148160,"45":9027324740335056896},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,85,24,16,45]} 
[2026-08-01 18:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110771200001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:28:15] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-01 18:28:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113585607053148160,"km_value":113585607053148.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027324740335056896,"description":"Unknown IO ID 45"} 
[2026-08-01 18:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110771200001,"power":12939,"unknown_135":206,"unknown_85":12288,"ignition":33,"odometer":null,"unknown_45":9027324740335056896}} 
[2026-08-01 18:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":147414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578611,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:28:15] local.INFO: GPS data processed {"connection_id":147414,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:28:15] local.INFO: Acknowledgment sent {"connection_id":147414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:28:20] local.INFO: TCP Data received {"connection_id":146408,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd63a520012ceb6ac0072d7e48002a012329..."} 
[2026-08-01 18:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd63a520012ceb6ac0072d7e48002a012329..."} 
[2026-08-01 18:28:20] local.INFO: Processing buffer {"connection_id":146408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd63a520012ceb6ac0072d7e48002a012329..."} 
[2026-08-01 18:28:20] local.INFO: Packet analysis {"connection_id":146408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd63"} 
[2026-08-01 18:28:20] local.INFO: Extracted packet for processing {"connection_id":146408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd63"} 
[2026-08-01 18:28:20] local.INFO: GPS Element Parsed {"raw_longitude":753625792,"raw_latitude":120421960,"longitude_deg":75.3625792,"latitude_deg":12.042196,"altitude":42,"angle":291,"satellites":41,"speed":18,"hex_longitude":"2ceb6ac0","hex_latitude":"072d7e48","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110744320001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366719791089582080,"note":"Value kept but may cause issues"} 
[2026-08-01 18:28:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376915600730112,"note":"Value kept but may cause issues"} 
[2026-08-01 18:28:20] 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-08-01 18:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785588852000,"timestamp_ms":1785588852000,"timestamp_seconds":1785588852,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd63a520"} 
[2026-08-01 18:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:28: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-08-01 18: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-01 18:28:20] 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-08-01 18: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-08-01 18:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:28:20] 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-08-01 18:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110744320001,"66":27658,"201":206,"83":44032,"24":18,"16":366719791089582080,"44":-1478376915600730112},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,83,24,16,44]} 
[2026-08-01 18:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110744320001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:28:20] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-01 18:28:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366719791089582080,"km_value":366719791089582.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:28:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376915600730112,"description":"Unknown IO ID 44"} 
[2026-08-01 18:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110744320001,"power":27658,"unknown_201":206,"unknown_83":44032,"ignition":18,"odometer":null,"unknown_44":-1478376915600730112}} 
[2026-08-01 18:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":146408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:28:20] local.INFO: GPS data processed {"connection_id":146408,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:28:20] local.INFO: Acknowledgment sent {"connection_id":146408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:28:36] local.INFO: TCP Data received {"connection_id":148714,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd648f80012d196680071fef08003a005826..."} 
[2026-08-01 18:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd648f80012d196680071fef08003a005826..."} 
[2026-08-01 18:28:36] local.INFO: Processing buffer {"connection_id":148714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd648f80012d196680071fef08003a005826..."} 
[2026-08-01 18:28:36] local.INFO: Packet analysis {"connection_id":148714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd64"} 
[2026-08-01 18:28:36] local.INFO: Extracted packet for processing {"connection_id":148714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd64"} 
[2026-08-01 18:28:36] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 18:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110756096001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785588912000,"timestamp_ms":1785588912000,"timestamp_seconds":1785588912,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd648f80"} 
[2026-08-01 18:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-01 18:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:28:36] 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-08-01 18:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110756096001,"66":12504,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110756096001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:28:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:28:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110756096001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":148714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:28:36] local.INFO: GPS data processed {"connection_id":148714,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:28:36] local.INFO: Acknowledgment sent {"connection_id":148714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:28:43] local.INFO: TCP Data received {"connection_id":146183,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:28:43] local.INFO: Processing buffer {"connection_id":146183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:28:43] local.INFO: IMEI packet received {"connection_id":146183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":146183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:28:48] local.INFO: TCP Data received {"connection_id":146183,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:28:48] local.INFO: Processing buffer {"connection_id":146183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:28:48] local.INFO: IMEI packet received {"connection_id":146183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":146183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:28:49] local.INFO: TCP Data received {"connection_id":146183,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd668768012ceab440072da6b8002a01152e..."} 
[2026-08-01 18:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd668768012ceab440072da6b8002a01152e..."} 
[2026-08-01 18:28:49] local.INFO: Processing buffer {"connection_id":146183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd668768012ceab440072da6b8002a01152e..."} 
[2026-08-01 18:28:49] local.INFO: Packet analysis {"connection_id":146183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd66"} 
[2026-08-01 18:28:49] local.INFO: Extracted packet for processing {"connection_id":146183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd66"} 
[2026-08-01 18:28:49] local.INFO: GPS Element Parsed {"raw_longitude":753579072,"raw_latitude":120432312,"longitude_deg":75.3579072,"latitude_deg":12.0432312,"altitude":42,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2ceab440","hex_latitude":"072da6b8","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110789120001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366722097487020032,"note":"Value kept but may cause issues"} 
[2026-08-01 18:28:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1534390435963291648,"note":"Value kept but may cause issues"} 
[2026-08-01 18:28:49] 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-08-01 18:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785589041000,"timestamp_ms":1785589041000,"timestamp_seconds":1785589041,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd668768"} 
[2026-08-01 18:28:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:28: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-08-01 18: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-01 18:28:49] 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-08-01 18: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-08-01 18:28:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:28:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110789120001,"66":27908,"201":206,"83":44032,"24":0,"16":366722097487020032,"44":-1534390435963291648},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,83,24,16,44]} 
[2026-08-01 18:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110789120001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:28:49] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-01 18:28:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366722097487020032,"km_value":366722097487020.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:28:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1534390435963291648,"description":"Unknown IO ID 44"} 
[2026-08-01 18:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110789120001,"power":27908,"unknown_201":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1534390435963291648}} 
[2026-08-01 18:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":146183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:28:49] local.INFO: GPS data processed {"connection_id":146183,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:28:49] local.INFO: Acknowledgment sent {"connection_id":146183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:28:59] local.INFO: TCP Data received {"connection_id":147415,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147415,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:28:59] local.INFO: Processing buffer {"connection_id":147415,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:28:59] local.INFO: IMEI packet received {"connection_id":147415,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 18:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":147415,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:28:59] local.INFO: TCP Data received {"connection_id":147416,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147416,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:28:59] local.INFO: Processing buffer {"connection_id":147416,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:28:59] local.INFO: IMEI packet received {"connection_id":147416,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 18:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":147416,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:29:03] local.INFO: TCP Data received {"connection_id":147415,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147415,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:29:03] local.INFO: Processing buffer {"connection_id":147415,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:29:03] local.INFO: IMEI packet received {"connection_id":147415,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":147415,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:29:04] local.INFO: TCP Data received {"connection_id":147415,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd675a58012d7d440005c245d0000900b921..."} 
[2026-08-01 18:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd675a58012d7d440005c245d0000900b921..."} 
[2026-08-01 18:29:04] local.INFO: Processing buffer {"connection_id":147415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd675a58012d7d440005c245d0000900b921..."} 
[2026-08-01 18:29:04] local.INFO: Packet analysis {"connection_id":147415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd67"} 
[2026-08-01 18:29:04] local.INFO: Extracted packet for processing {"connection_id":147415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd67"} 
[2026-08-01 18:29:04] local.INFO: GPS Element Parsed {"raw_longitude":763184128,"raw_latitude":96617936,"longitude_deg":76.3184128,"latitude_deg":9.6617936,"altitude":9,"angle":185,"satellites":33,"speed":31,"hex_longitude":"2d7d4400","hex_latitude":"05c245d0","is_valid_coordinates":true} 
[2026-08-01 18:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110805504001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113589932085215232,"note":"Value kept but may cause issues"} 
[2026-08-01 18:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027676584033216512,"note":"Value kept but may cause issues"} 
[2026-08-01 18:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785589095000,"timestamp_ms":1785589095000,"timestamp_seconds":1785589095,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd675a58"} 
[2026-08-01 18:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:29: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-08-01 18:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-01 18:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110805504001,"66":12667,"104":206,"85":12288,"24":31,"16":113589932085215232,"45":9027676584033216512},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-08-01 18:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110805504001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:29:04] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-01 18:29:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113589932085215232,"km_value":113589932085215.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027676584033216512,"description":"Unknown IO ID 45"} 
[2026-08-01 18:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110805504001,"power":12667,"unknown_104":206,"unknown_85":12288,"ignition":31,"odometer":null,"unknown_45":9027676584033216512}} 
[2026-08-01 18:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":147415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578615,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:29:04] local.INFO: GPS data processed {"connection_id":147415,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:29:04] local.INFO: Acknowledgment sent {"connection_id":147415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:29:05] local.INFO: TCP Data received {"connection_id":147416,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147416,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:29:05] local.INFO: Processing buffer {"connection_id":147416,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:29:05] local.INFO: IMEI packet received {"connection_id":147416,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":147416,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:29:05] local.INFO: TCP Data received {"connection_id":147416,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd64e188012d196680071fef08003a005827..."} 
[2026-08-01 18:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd64e188012d196680071fef08003a005827..."} 
[2026-08-01 18:29:05] local.INFO: Processing buffer {"connection_id":147416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd64e188012d196680071fef08003a005827..."} 
[2026-08-01 18:29:05] local.INFO: Packet analysis {"connection_id":147416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd64"} 
[2026-08-01 18:29:05] local.INFO: Extracted packet for processing {"connection_id":147416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd64"} 
[2026-08-01 18:29:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110761472001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785588933000,"timestamp_ms":1785588933000,"timestamp_seconds":1785588933,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd64e188"} 
[2026-08-01 18:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-01 18:29:05] 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-08-01 18: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-08-01 18:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:29:05] 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-08-01 18:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110761472001,"66":12461,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110761472001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:29:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:29:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110761472001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":147416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578616,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:29:05] local.INFO: GPS data processed {"connection_id":147416,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:29:05] local.INFO: Acknowledgment sent {"connection_id":147416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:29:20] local.INFO: TCP Data received {"connection_id":146183,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd66d970012ceab440072da6b8002a01152f..."} 
[2026-08-01 18:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd66d970012ceab440072da6b8002a01152f..."} 
[2026-08-01 18:29:20] local.INFO: Processing buffer {"connection_id":146183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd66d970012ceab440072da6b8002a01152f..."} 
[2026-08-01 18:29:20] local.INFO: Packet analysis {"connection_id":146183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd66"} 
[2026-08-01 18:29:20] local.INFO: Extracted packet for processing {"connection_id":146183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd66"} 
[2026-08-01 18:29:20] local.INFO: GPS Element Parsed {"raw_longitude":753579072,"raw_latitude":120432312,"longitude_deg":75.3579072,"latitude_deg":12.0432312,"altitude":42,"angle":277,"satellites":47,"speed":0,"hex_longitude":"2ceab440","hex_latitude":"072da6b8","is_valid_coordinates":true} 
[2026-08-01 18:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110794496001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366722097487020032,"note":"Value kept but may cause issues"} 
[2026-08-01 18:29:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1534531173451646976,"note":"Value kept but may cause issues"} 
[2026-08-01 18:29:20] 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-08-01 18:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785589062000,"timestamp_ms":1785589062000,"timestamp_seconds":1785589062,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd66d970"} 
[2026-08-01 18:29:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:29:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 18:29:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:29:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:29:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:29:20] 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-08-01 18:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110794496001,"66":27767,"201":206,"83":44032,"24":0,"16":366722097487020032,"44":-1534531173451646976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,83,24,16,44]} 
[2026-08-01 18:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110794496001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:29:20] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-01 18:29:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366722097487020032,"km_value":366722097487020.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:29:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1534531173451646976,"description":"Unknown IO ID 44"} 
[2026-08-01 18:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110794496001,"power":27767,"unknown_201":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1534531173451646976}} 
[2026-08-01 18:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":146183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:29:20] local.INFO: GPS data processed {"connection_id":146183,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:29:20] local.INFO: Acknowledgment sent {"connection_id":146183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:29:36] local.INFO: TCP Data received {"connection_id":147416,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd653390012d196680071fef08003a005827..."} 
[2026-08-01 18:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd653390012d196680071fef08003a005827..."} 
[2026-08-01 18:29:36] local.INFO: Processing buffer {"connection_id":147416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd653390012d196680071fef08003a005827..."} 
[2026-08-01 18:29:36] local.INFO: Packet analysis {"connection_id":147416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd65"} 
[2026-08-01 18:29:36] local.INFO: Extracted packet for processing {"connection_id":147416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd65"} 
[2026-08-01 18:29:36] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110766848001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785588954000,"timestamp_ms":1785588954000,"timestamp_seconds":1785588954,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd653390"} 
[2026-08-01 18:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18: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-08-01 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 18:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:29:36] 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-08-01 18:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110766848001,"66":12504,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110766848001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:29:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:29:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110766848001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":147416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:29:37] local.INFO: GPS data processed {"connection_id":147416,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:29:37] local.INFO: Acknowledgment sent {"connection_id":147416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:29:43] local.INFO: TCP Data received {"connection_id":146184,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:29:43] local.INFO: Processing buffer {"connection_id":146184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:29:43] local.INFO: IMEI packet received {"connection_id":146184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":146184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:29:48] local.INFO: TCP Data received {"connection_id":147415,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd67a878012d7d428005c23490000800b920..."} 
[2026-08-01 18:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd67a878012d7d428005c23490000800b920..."} 
[2026-08-01 18:29:48] local.INFO: Processing buffer {"connection_id":147415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd67a878012d7d428005c23490000800b920..."} 
[2026-08-01 18:29:48] local.INFO: Packet analysis {"connection_id":147415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd67"} 
[2026-08-01 18:29:48] local.INFO: Extracted packet for processing {"connection_id":147415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd67"} 
[2026-08-01 18:29:48] local.INFO: GPS Element Parsed {"raw_longitude":763183744,"raw_latitude":96613520,"longitude_deg":76.3183744,"latitude_deg":9.661352,"altitude":8,"angle":185,"satellites":32,"speed":0,"hex_longitude":"2d7d4280","hex_latitude":"05c23490","is_valid_coordinates":true} 
[2026-08-01 18:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110808320001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113590151128547328,"note":"Value kept but may cause issues"} 
[2026-08-01 18:29:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026339577891508224,"note":"Value kept but may cause issues"} 
[2026-08-01 18:29:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785589115000,"timestamp_ms":1785589115000,"timestamp_seconds":1785589115,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd67a878"} 
[2026-08-01 18:29:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:29:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-01 18:29:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:29:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:29:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:29:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110808320001,"66":13243,"104":206,"85":12288,"24":0,"16":113590151128547328,"45":9026339577891508224},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-08-01 18:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110808320001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:29:48] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-01 18:29:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113590151128547328,"km_value":113590151128547.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:29:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026339577891508224,"description":"Unknown IO ID 45"} 
[2026-08-01 18:29:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110808320001,"power":13243,"unknown_104":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9026339577891508224}} 
[2026-08-01 18:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":147415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578619,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:29:48] local.INFO: GPS data processed {"connection_id":147415,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:29:48] local.INFO: Acknowledgment sent {"connection_id":147415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:29:48] local.INFO: TCP Data received {"connection_id":146184,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:29:48] local.INFO: Processing buffer {"connection_id":146184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:29:48] local.INFO: IMEI packet received {"connection_id":146184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":146184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:29:49] local.INFO: TCP Data received {"connection_id":146184,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd672b78012ceaaf00072da8a80030010e2c..."} 
[2026-08-01 18:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd672b78012ceaaf00072da8a80030010e2c..."} 
[2026-08-01 18:29:49] local.INFO: Processing buffer {"connection_id":146184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd672b78012ceaaf00072da8a80030010e2c..."} 
[2026-08-01 18:29:49] local.INFO: Packet analysis {"connection_id":146184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd67"} 
[2026-08-01 18:29:49] local.INFO: Extracted packet for processing {"connection_id":146184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd67"} 
[2026-08-01 18:29:49] local.INFO: GPS Element Parsed {"raw_longitude":753577728,"raw_latitude":120432808,"longitude_deg":75.3577728,"latitude_deg":12.0432808,"altitude":48,"angle":270,"satellites":44,"speed":5,"hex_longitude":"2ceaaf00","hex_latitude":"072da8a8","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110799872001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366722170501464064,"note":"Value kept but may cause issues"} 
[2026-08-01 18:29:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1534531173451646976,"note":"Value kept but may cause issues"} 
[2026-08-01 18:29:49] 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-08-01 18:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785589083000,"timestamp_ms":1785589083000,"timestamp_seconds":1785589083,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd672b78"} 
[2026-08-01 18:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:29:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 18:29:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110799872001,"66":27767,"201":206,"83":44032,"24":5,"16":366722170501464064,"44":-1534531173451646976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,83,24,16,44]} 
[2026-08-01 18:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110799872001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:29:49] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-01 18:29:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366722170501464064,"km_value":366722170501464.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:29:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1534531173451646976,"description":"Unknown IO ID 44"} 
[2026-08-01 18:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110799872001,"power":27767,"unknown_201":206,"unknown_83":44032,"ignition":5,"odometer":null,"unknown_44":-1534531173451646976}} 
[2026-08-01 18:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":146184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:29:49] local.INFO: GPS data processed {"connection_id":146184,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:29:49] local.INFO: Acknowledgment sent {"connection_id":146184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:29:57] local.INFO: TCP Data received {"connection_id":148715,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148715,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:29:57] local.INFO: Processing buffer {"connection_id":148715,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:29:57] local.INFO: IMEI packet received {"connection_id":148715,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 18:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":148715,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:30:02] local.INFO: TCP Data received {"connection_id":146409,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:30:02] local.INFO: Processing buffer {"connection_id":146409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:30:02] local.INFO: IMEI packet received {"connection_id":146409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 18:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":146409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:30:03] local.INFO: TCP Data received {"connection_id":148715,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148715,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:30:03] local.INFO: Processing buffer {"connection_id":148715,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:30:03] local.INFO: IMEI packet received {"connection_id":148715,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":148715,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:30:04] local.INFO: TCP Data received {"connection_id":148715,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd67f2b0012d7d3f8005c211e0000700b722..."} 
[2026-08-01 18:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd67f2b0012d7d3f8005c211e0000700b722..."} 
[2026-08-01 18:30:04] local.INFO: Processing buffer {"connection_id":148715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd67f2b0012d7d3f8005c211e0000700b722..."} 
[2026-08-01 18:30:04] local.INFO: Packet analysis {"connection_id":148715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd67"} 
[2026-08-01 18:30:04] local.INFO: Extracted packet for processing {"connection_id":148715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd67"} 
[2026-08-01 18:30:04] local.INFO: GPS Element Parsed {"raw_longitude":763182976,"raw_latitude":96604640,"longitude_deg":76.3182976,"latitude_deg":9.660464,"altitude":7,"angle":183,"satellites":34,"speed":38,"hex_longitude":"2d7d3f80","hex_latitude":"05c211e0","is_valid_coordinates":true} 
[2026-08-01 18:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110813440001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113590584920244224,"note":"Value kept but may cause issues"} 
[2026-08-01 18:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025917365425311744,"note":"Value kept but may cause issues"} 
[2026-08-01 18:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785589134000,"timestamp_ms":1785589134000,"timestamp_seconds":1785589134,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd67f2b0"} 
[2026-08-01 18:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:30: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-08-01 18:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-01 18:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:30:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":148715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":148715,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":148715,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110813440001,"66":13319,"104":206,"85":12288,"24":38,"16":113590584920244224,"45":9025917365425311744},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-08-01 18:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110813440001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:30:04] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-01 18:30:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113590584920244224,"km_value":113590584920244.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025917365425311744,"description":"Unknown IO ID 45"} 
[2026-08-01 18:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110813440001,"power":13319,"unknown_104":206,"unknown_85":12288,"ignition":38,"odometer":null,"unknown_45":9025917365425311744}} 
[2026-08-01 18:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":148715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578621,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:30:04] local.INFO: GPS data processed {"connection_id":148715,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:30:04] local.INFO: Acknowledgment sent {"connection_id":148715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:30:05] local.INFO: TCP Data received {"connection_id":146409,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:30:05] local.INFO: Processing buffer {"connection_id":146409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:30:05] local.INFO: IMEI packet received {"connection_id":146409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":146409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:30:10] local.INFO: TCP Data received {"connection_id":146409,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:30:10] local.INFO: Processing buffer {"connection_id":146409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:30:10] local.INFO: IMEI packet received {"connection_id":146409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":146409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:30:10] local.INFO: TCP Data received {"connection_id":146409,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd658598012d196680071fef08003a005821..."} 
[2026-08-01 18:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd658598012d196680071fef08003a005821..."} 
[2026-08-01 18:30:10] local.INFO: Processing buffer {"connection_id":146409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd658598012d196680071fef08003a005821..."} 
[2026-08-01 18:30:10] local.INFO: Packet analysis {"connection_id":146409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd65"} 
[2026-08-01 18:30:10] local.INFO: Extracted packet for processing {"connection_id":146409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd65"} 
[2026-08-01 18:30:10] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":33,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 18:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110772224001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18: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-08-01 18:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785588975000,"timestamp_ms":1785588975000,"timestamp_seconds":1785588975,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd658598"} 
[2026-08-01 18:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:30: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-08-01 18:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-01 18:30: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-08-01 18:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:30: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-08-01 18:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110772224001,"66":12504,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110772224001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:30:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:30:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110772224001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":146409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:30:11] local.INFO: GPS data processed {"connection_id":146409,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:30:11] local.INFO: Acknowledgment sent {"connection_id":146409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:30:15] local.INFO: TCP Data received {"connection_id":146409,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd65d7a0012d196680071fef08003a005826..."} 
[2026-08-01 18:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd65d7a0012d196680071fef08003a005826..."} 
[2026-08-01 18:30:15] local.INFO: Processing buffer {"connection_id":146409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd65d7a0012d196680071fef08003a005826..."} 
[2026-08-01 18:30:15] local.INFO: Packet analysis {"connection_id":146409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd65"} 
[2026-08-01 18:30:15] local.INFO: Extracted packet for processing {"connection_id":146409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd65"} 
[2026-08-01 18:30:15] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110777600001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18: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-08-01 18:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785588996000,"timestamp_ms":1785588996000,"timestamp_seconds":1785588996,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd65d7a0"} 
[2026-08-01 18:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:30: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-08-01 18: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-01 18:30:15] 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-08-01 18: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-08-01 18:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":146409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":146409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":146409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:30:15] 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-08-01 18:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110777600001,"66":12461,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110777600001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:30:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:30:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110777600001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":146409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578623,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:30:15] local.INFO: GPS data processed {"connection_id":146409,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:30:15] local.INFO: Acknowledgment sent {"connection_id":146409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:30:20] local.INFO: TCP Data received {"connection_id":146184,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd675a58012cea9d00072da958002f011c29..."} 
[2026-08-01 18:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd675a58012cea9d00072da958002f011c29..."} 
[2026-08-01 18:30:20] local.INFO: Processing buffer {"connection_id":146184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd675a58012cea9d00072da958002f011c29..."} 
[2026-08-01 18:30:20] local.INFO: Packet analysis {"connection_id":146184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd67"} 
[2026-08-01 18:30:20] local.INFO: Extracted packet for processing {"connection_id":146184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd67"} 
[2026-08-01 18:30:20] local.INFO: GPS Element Parsed {"raw_longitude":753573120,"raw_latitude":120432984,"longitude_deg":75.357312,"latitude_deg":12.0432984,"altitude":47,"angle":284,"satellites":41,"speed":26,"hex_longitude":"2cea9d00","hex_latitude":"072da958","is_valid_coordinates":true} 
[2026-08-01 18:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110805248001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366722385249828864,"note":"Value kept but may cause issues"} 
[2026-08-01 18:30:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1536008917079250944,"note":"Value kept but may cause issues"} 
[2026-08-01 18:30:20] 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-08-01 18:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785589095000,"timestamp_ms":1785589095000,"timestamp_seconds":1785589095,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd675a58"} 
[2026-08-01 18:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:30: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-08-01 18:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 18:30:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:30:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:30:20] 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-08-01 18:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110805248001,"66":27571,"201":206,"83":44032,"24":26,"16":366722385249828864,"44":-1536008917079250944},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,83,24,16,44]} 
[2026-08-01 18:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110805248001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:30:20] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-01 18:30:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366722385249828864,"km_value":366722385249828.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:30:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1536008917079250944,"description":"Unknown IO ID 44"} 
[2026-08-01 18:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110805248001,"power":27571,"unknown_201":206,"unknown_83":44032,"ignition":26,"odometer":null,"unknown_44":-1536008917079250944}} 
[2026-08-01 18:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":146184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:30:20] local.INFO: GPS data processed {"connection_id":146184,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:30:20] local.INFO: Acknowledgment sent {"connection_id":146184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:30:35] local.INFO: TCP Data received {"connection_id":148715,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd6815d8012d7d3c8005c1ed20000800b822..."} 
[2026-08-01 18:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd6815d8012d7d3c8005c1ed20000800b822..."} 
[2026-08-01 18:30:35] local.INFO: Processing buffer {"connection_id":148715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd6815d8012d7d3c8005c1ed20000800b822..."} 
[2026-08-01 18:30:35] local.INFO: Packet analysis {"connection_id":148715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd68"} 
[2026-08-01 18:30:35] local.INFO: Extracted packet for processing {"connection_id":148715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd68"} 
[2026-08-01 18:30:35] local.INFO: GPS Element Parsed {"raw_longitude":763182208,"raw_latitude":96595232,"longitude_deg":76.3182208,"latitude_deg":9.6595232,"altitude":8,"angle":184,"satellites":34,"speed":42,"hex_longitude":"2d7d3c80","hex_latitude":"05c1ed20","is_valid_coordinates":true} 
[2026-08-01 18:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110818304001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113591040186777600,"note":"Value kept but may cause issues"} 
[2026-08-01 18:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025072940492906496,"note":"Value kept but may cause issues"} 
[2026-08-01 18:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785589143000,"timestamp_ms":1785589143000,"timestamp_seconds":1785589143,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd6815d8"} 
[2026-08-01 18:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-01 18:30:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-01 18:30:35] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3177627160,"note":"Value kept but may cause issues"} 
[2026-08-01 18:30:35] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-01 18:30:35] local.WARNING: Large IO value detected {"io_id":194,"raw_value":-1193453862587849728,"note":"Value kept but may cause issues"} 
[2026-08-01 18:30:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1650983118,"corrected_to":0} 
[2026-08-01 18:30:35] local.WARNING: Large IO value detected {"io_id":147,"raw_value":2352152576,"note":"Value kept but may cause issues"} 
[2026-08-01 18:30:35] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3268556800,"note":"Value kept but may cause issues"} 
[2026-08-01 18:30:35] local.WARNING: Large IO value detected {"io_id":144,"raw_value":57810569055327536,"note":"Value kept but may cause issues"} 
[2026-08-01 18:30:35] local.WARNING: Large IO value detected {"io_id":102,"raw_value":-7282319302570688507,"note":"Value kept but may cause issues"} 
[2026-08-01 18:30:35] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,104,85,24,241,157,16,142,159,168,45,128,52,8,32,10,66,141,90,69,9,33,47,192,1,240,187,227,189,194,4,113,205,39,221,112,239,2,147,5,37,144,102],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1650983118,"validated":0}]} 
[2026-08-01 18:30:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504604514924756992,"timestamp_seconds":504604514924757.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 18:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148715,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148715,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110818304001,"66":13102,"104":206,"85":12288,"24":42,"16":113591040186777600,"45":9025072940492906496},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-08-01 18:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110818304001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:30:35] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-01 18:30:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113591040186777600,"km_value":113591040186777.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025072940492906496,"description":"Unknown IO ID 45"} 
[2026-08-01 18:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110818304001,"power":13102,"unknown_104":206,"unknown_85":12288,"ignition":42,"odometer":null,"unknown_45":9025072940492906496}} 
[2026-08-01 18:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":148715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578625,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:30:35] local.INFO: GPS data processed {"connection_id":148715,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:30:35] local.INFO: Acknowledgment sent {"connection_id":148715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:30:43] local.INFO: TCP Data received {"connection_id":146410,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:30:43] local.INFO: Processing buffer {"connection_id":146410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:30:43] local.INFO: IMEI packet received {"connection_id":146410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":146410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:30:43] local.INFO: TCP Data received {"connection_id":146410,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:30:43] local.INFO: Processing buffer {"connection_id":146410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:30:43] local.INFO: IMEI packet received {"connection_id":146410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":146410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:30:48] local.INFO: TCP Data received {"connection_id":146410,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:30:48] local.INFO: Processing buffer {"connection_id":146410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:30:48] local.INFO: IMEI packet received {"connection_id":146410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":146410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:30:49] local.INFO: TCP Data received {"connection_id":146410,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd676de0012cea9100072daba8002e010d2b..."} 
[2026-08-01 18:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd676de0012cea9100072daba8002e010d2b..."} 
[2026-08-01 18:30:49] local.INFO: Processing buffer {"connection_id":146410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd676de0012cea9100072daba8002e010d2b..."} 
[2026-08-01 18:30:49] local.INFO: Packet analysis {"connection_id":146410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd67"} 
[2026-08-01 18:30:49] local.INFO: Extracted packet for processing {"connection_id":146410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd67"} 
[2026-08-01 18:30:49] local.INFO: GPS Element Parsed {"raw_longitude":753570048,"raw_latitude":120433576,"longitude_deg":75.3570048,"latitude_deg":12.0433576,"altitude":46,"angle":269,"satellites":43,"speed":24,"hex_longitude":"2cea9100","hex_latitude":"072daba8","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:30:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110808320001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:30:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366722539868651520,"note":"Value kept but may cause issues"} 
[2026-08-01 18:30:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1541075466659997696,"note":"Value kept but may cause issues"} 
[2026-08-01 18:30:49] 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-08-01 18:30:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785589100000,"timestamp_ms":1785589100000,"timestamp_seconds":1785589100,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd676de0"} 
[2026-08-01 18:30:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:30:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-01 18:30:49] 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-08-01 18: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-08-01 18:30:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:30:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:30:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:30:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:30:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:30:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:30:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:30:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:30:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110808320001,"66":27626,"201":206,"83":44032,"24":24,"16":366722539868651520,"44":-1541075466659997696},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,83,24,16,44]} 
[2026-08-01 18:30:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:30:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:30:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110808320001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:30:49] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-01 18:30:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:30:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366722539868651520,"km_value":366722539868651.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:30:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1541075466659997696,"description":"Unknown IO ID 44"} 
[2026-08-01 18:30:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110808320001,"power":27626,"unknown_201":206,"unknown_83":44032,"ignition":24,"odometer":null,"unknown_44":-1541075466659997696}} 
[2026-08-01 18:30:49] local.INFO: DEBUG: GPS processor result {"connection_id":146410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:30:49] local.INFO: GPS data processed {"connection_id":146410,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:30:49] local.INFO: Acknowledgment sent {"connection_id":146410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:30:57] local.INFO: TCP Data received {"connection_id":146411,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146411,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:30:57] local.INFO: Processing buffer {"connection_id":146411,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:30:57] local.INFO: IMEI packet received {"connection_id":146411,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 18:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":146411,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:31:00] local.INFO: TCP Data received {"connection_id":146185,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146185,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:31:00] local.INFO: Processing buffer {"connection_id":146185,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:31:00] local.INFO: IMEI packet received {"connection_id":146185,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 18:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":146185,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:31:03] local.INFO: TCP Data received {"connection_id":146411,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146411,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:31:03] local.INFO: Processing buffer {"connection_id":146411,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:31:03] local.INFO: IMEI packet received {"connection_id":146411,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":146411,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:31:04] local.INFO: TCP Data received {"connection_id":146411,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd683ce8012d7d3a8005c1c6e8000700b524..."} 
[2026-08-01 18:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd683ce8012d7d3a8005c1c6e8000700b524..."} 
[2026-08-01 18:31:04] local.INFO: Processing buffer {"connection_id":146411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd683ce8012d7d3a8005c1c6e8000700b524..."} 
[2026-08-01 18:31:04] local.INFO: Packet analysis {"connection_id":146411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd68"} 
[2026-08-01 18:31:04] local.INFO: Extracted packet for processing {"connection_id":146411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd68"} 
[2026-08-01 18:31:04] local.INFO: GPS Element Parsed {"raw_longitude":763181696,"raw_latitude":96585448,"longitude_deg":76.3181696,"latitude_deg":9.6585448,"altitude":7,"angle":181,"satellites":36,"speed":39,"hex_longitude":"2d7d3a80","hex_latitude":"05c1c6e8","is_valid_coordinates":true} 
[2026-08-01 18:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110820608001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113591516928147456,"note":"Value kept but may cause issues"} 
[2026-08-01 18:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024228515560366080,"note":"Value kept but may cause issues"} 
[2026-08-01 18:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785589153000,"timestamp_ms":1785589153000,"timestamp_seconds":1785589153,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd683ce8"} 
[2026-08-01 18:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-01 18:31:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:31:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146411,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146411,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110820608001,"66":13341,"104":206,"85":12288,"24":39,"16":113591516928147456,"45":9024228515560366080},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-08-01 18:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110820608001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:31:04] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-01 18:31:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113591516928147456,"km_value":113591516928147.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024228515560366080,"description":"Unknown IO ID 45"} 
[2026-08-01 18:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110820608001,"power":13341,"unknown_104":206,"unknown_85":12288,"ignition":39,"odometer":null,"unknown_45":9024228515560366080}} 
[2026-08-01 18:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":146411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578627,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:31:04] local.INFO: GPS data processed {"connection_id":146411,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:31:04] local.INFO: Acknowledgment sent {"connection_id":146411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:31:05] local.INFO: TCP Data received {"connection_id":146185,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146185,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:31:05] local.INFO: Processing buffer {"connection_id":146185,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:31:05] local.INFO: IMEI packet received {"connection_id":146185,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":146185,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:31:05] local.INFO: TCP Data received {"connection_id":146185,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd6629a8012d196680071fef08003a005824..."} 
[2026-08-01 18:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd6629a8012d196680071fef08003a005824..."} 
[2026-08-01 18:31:05] local.INFO: Processing buffer {"connection_id":146185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd6629a8012d196680071fef08003a005824..."} 
[2026-08-01 18:31:05] local.INFO: Packet analysis {"connection_id":146185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd66"} 
[2026-08-01 18:31:05] local.INFO: Extracted packet for processing {"connection_id":146185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd66"} 
[2026-08-01 18:31:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110782976001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785589017000,"timestamp_ms":1785589017000,"timestamp_seconds":1785589017,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd6629a8"} 
[2026-08-01 18:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 18:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:31:05] 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-08-01 18:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110782976001,"66":12428,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110782976001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:31:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:31:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110782976001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":146185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578628,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:31:06] local.INFO: GPS data processed {"connection_id":146185,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:31:06] local.INFO: Acknowledgment sent {"connection_id":146185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:31:06] local.INFO: TCP Data received {"connection_id":146185,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd667bb0012d196680071fef08003a005826..."} 
[2026-08-01 18:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd667bb0012d196680071fef08003a005826..."} 
[2026-08-01 18:31:06] local.INFO: Processing buffer {"connection_id":146185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd667bb0012d196680071fef08003a005826..."} 
[2026-08-01 18:31:06] local.INFO: Packet analysis {"connection_id":146185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd66"} 
[2026-08-01 18:31:06] local.INFO: Extracted packet for processing {"connection_id":146185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd66"} 
[2026-08-01 18:31:06] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 18:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110788352001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785589038000,"timestamp_ms":1785589038000,"timestamp_seconds":1785589038,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd667bb0"} 
[2026-08-01 18:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:31: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-08-01 18:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-01 18:31:06] 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-08-01 18:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:31:06] 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-08-01 18:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110788352001,"66":12428,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110788352001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:31:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:31:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110788352001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":146185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578629,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:31:06] local.INFO: GPS data processed {"connection_id":146185,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:31:06] local.INFO: Acknowledgment sent {"connection_id":146185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:31:20] local.INFO: TCP Data received {"connection_id":146410,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd697950012cea2640072dd288001e014e2b..."} 
[2026-08-01 18:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd697950012cea2640072dd288001e014e2b..."} 
[2026-08-01 18:31:20] local.INFO: Processing buffer {"connection_id":146410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd697950012cea2640072dd288001e014e2b..."} 
[2026-08-01 18:31:20] local.INFO: Packet analysis {"connection_id":146410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd69"} 
[2026-08-01 18:31:20] local.INFO: Extracted packet for processing {"connection_id":146410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd69"} 
[2026-08-01 18:31:20] local.INFO: GPS Element Parsed {"raw_longitude":753542720,"raw_latitude":120443528,"longitude_deg":75.354272,"latitude_deg":12.0443528,"altitude":30,"angle":334,"satellites":43,"speed":25,"hex_longitude":"2cea2640","hex_latitude":"072dd288","is_valid_coordinates":true} 
[2026-08-01 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-08-01 18:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110843648001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366724068877008896,"note":"Value kept but may cause issues"} 
[2026-08-01 18:31:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1574078407676772352,"note":"Value kept but may cause issues"} 
[2026-08-01 18:31:20] 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-08-01 18:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785589234000,"timestamp_ms":1785589234000,"timestamp_seconds":1785589234,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd697950"} 
[2026-08-01 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-08-01 18:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-01 18:31:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 18:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:31:20] 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-08-01 18:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110843648001,"66":27745,"203":206,"83":44032,"24":25,"16":366724068877008896,"44":-1574078407676772352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,83,24,16,44]} 
[2026-08-01 18:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110843648001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:31:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366724068877008896,"km_value":366724068877008.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:31:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1574078407676772352,"description":"Unknown IO ID 44"} 
[2026-08-01 18:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110843648001,"power":27745,"mnc":206,"unknown_83":44032,"ignition":25,"odometer":null,"unknown_44":-1574078407676772352}} 
[2026-08-01 18:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":146410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:31:20] local.INFO: GPS data processed {"connection_id":146410,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:31:20] local.INFO: Acknowledgment sent {"connection_id":146410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:31:35] local.INFO: TCP Data received {"connection_id":146411,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd6867e0012d7d3a4005c1a248000700b623..."} 
[2026-08-01 18:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd6867e0012d7d3a4005c1a248000700b623..."} 
[2026-08-01 18:31:35] local.INFO: Processing buffer {"connection_id":146411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd6867e0012d7d3a4005c1a248000700b623..."} 
[2026-08-01 18:31:35] local.INFO: Packet analysis {"connection_id":146411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd68"} 
[2026-08-01 18:31:35] local.INFO: Extracted packet for processing {"connection_id":146411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd68"} 
[2026-08-01 18:31:35] local.INFO: GPS Element Parsed {"raw_longitude":763181632,"raw_latitude":96576072,"longitude_deg":76.3181632,"latitude_deg":9.6576072,"altitude":7,"angle":182,"satellites":35,"speed":22,"hex_longitude":"2d7d3a40","hex_latitude":"05c1a248","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110823168001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113591972194680832,"note":"Value kept but may cause issues"} 
[2026-08-01 18:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023665565604440064,"note":"Value kept but may cause issues"} 
[2026-08-01 18:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785589164000,"timestamp_ms":1785589164000,"timestamp_seconds":1785589164,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd6867e0"} 
[2026-08-01 18:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-01 18:31:35] 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-08-01 18: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-08-01 18:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146411,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146411,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110823168001,"66":12526,"104":206,"85":12288,"24":22,"16":113591972194680832,"45":9023665565604440064},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-08-01 18:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110823168001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:31:35] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-01 18:31:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113591972194680832,"km_value":113591972194680.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023665565604440064,"description":"Unknown IO ID 45"} 
[2026-08-01 18:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110823168001,"power":12526,"unknown_104":206,"unknown_85":12288,"ignition":22,"odometer":null,"unknown_45":9023665565604440064}} 
[2026-08-01 18:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":146411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578631,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:31:35] local.INFO: GPS data processed {"connection_id":146411,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:31:35] local.INFO: Acknowledgment sent {"connection_id":146411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:31:37] local.INFO: TCP Data received {"connection_id":146185,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd66cdb8012d196680071fef08003a005826..."} 
[2026-08-01 18:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd66cdb8012d196680071fef08003a005826..."} 
[2026-08-01 18:31:37] local.INFO: Processing buffer {"connection_id":146185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd66cdb8012d196680071fef08003a005826..."} 
[2026-08-01 18:31:37] local.INFO: Packet analysis {"connection_id":146185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd66"} 
[2026-08-01 18:31:37] local.INFO: Extracted packet for processing {"connection_id":146185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd66"} 
[2026-08-01 18:31:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 18:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110793728001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785589059000,"timestamp_ms":1785589059000,"timestamp_seconds":1785589059,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd66cdb8"} 
[2026-08-01 18:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:31: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-08-01 18:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-01 18:31:37] 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-08-01 18:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:31:37] 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-08-01 18:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110793728001,"66":12504,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110793728001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:31:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:31:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110793728001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":146185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578632,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:31:37] local.INFO: GPS data processed {"connection_id":146185,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:31:37] local.INFO: Acknowledgment sent {"connection_id":146185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:31:44] local.INFO: TCP Data received {"connection_id":147417,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:31:44] local.INFO: Processing buffer {"connection_id":147417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:31:44] local.INFO: IMEI packet received {"connection_id":147417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":147417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:31:48] local.INFO: TCP Data received {"connection_id":147417,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:31:48] local.INFO: Processing buffer {"connection_id":147417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:31:48] local.INFO: IMEI packet received {"connection_id":147417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":147417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:31:48] local.INFO: TCP Data received {"connection_id":147417,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:31:49] local.INFO: Processing buffer {"connection_id":147417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:31:49] local.INFO: IMEI packet received {"connection_id":147417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":147417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:31:50] local.INFO: TCP Data received {"connection_id":147417,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:31:50] local.INFO: Processing buffer {"connection_id":147417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:31:50] local.INFO: IMEI packet received {"connection_id":147417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":147417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:31:51] local.INFO: TCP Data received {"connection_id":147417,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd6988f0012cea2300072ddc40001b01592c..."} 
[2026-08-01 18:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd6988f0012cea2300072ddc40001b01592c..."} 
[2026-08-01 18:31:51] local.INFO: Processing buffer {"connection_id":147417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd6988f0012cea2300072ddc40001b01592c..."} 
[2026-08-01 18:31:51] local.INFO: Packet analysis {"connection_id":147417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd69"} 
[2026-08-01 18:31:51] local.INFO: Extracted packet for processing {"connection_id":147417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd69"} 
[2026-08-01 18:31:51] local.INFO: GPS Element Parsed {"raw_longitude":753541888,"raw_latitude":120446016,"longitude_deg":75.3541888,"latitude_deg":12.0446016,"altitude":27,"angle":345,"satellites":44,"speed":28,"hex_longitude":"2cea2300","hex_latitude":"072ddc40","is_valid_coordinates":true} 
[2026-08-01 18:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110843904001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366724193431060480,"note":"Value kept but may cause issues"} 
[2026-08-01 18:31:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1574500620141688832,"note":"Value kept but may cause issues"} 
[2026-08-01 18:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785589238000,"timestamp_ms":1785589238000,"timestamp_seconds":1785589238,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd6988f0"} 
[2026-08-01 18:31:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:31:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 18:31: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-08-01 18:31:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:31:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":147417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":147417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":147417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:31:51] 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-08-01 18:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110843904001,"66":27713,"203":206,"83":44032,"24":28,"16":366724193431060480,"44":-1574500620141688832},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,83,24,16,44]} 
[2026-08-01 18:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110843904001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:31:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366724193431060480,"km_value":366724193431060.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:31:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1574500620141688832,"description":"Unknown IO ID 44"} 
[2026-08-01 18:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110843904001,"power":27713,"mnc":206,"unknown_83":44032,"ignition":28,"odometer":null,"unknown_44":-1574500620141688832}} 
[2026-08-01 18:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":147417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:31:51] local.INFO: GPS data processed {"connection_id":147417,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:31:51] local.INFO: Acknowledgment sent {"connection_id":147417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:31:54] local.INFO: TCP Data received {"connection_id":147417,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd6994a8012cea2200072de448001a01662a..."} 
[2026-08-01 18:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd6994a8012cea2200072de448001a01662a..."} 
[2026-08-01 18:31:54] local.INFO: Processing buffer {"connection_id":147417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd6994a8012cea2200072de448001a01662a..."} 
[2026-08-01 18:31:54] local.INFO: Packet analysis {"connection_id":147417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd69"} 
[2026-08-01 18:31:54] local.INFO: Extracted packet for processing {"connection_id":147417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd69"} 
[2026-08-01 18:31:54] local.INFO: GPS Element Parsed {"raw_longitude":753541632,"raw_latitude":120448072,"longitude_deg":75.3541632,"latitude_deg":12.0448072,"altitude":26,"angle":358,"satellites":42,"speed":26,"hex_longitude":"2cea2200","hex_latitude":"072de448","is_valid_coordinates":true} 
[2026-08-01 18:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110844928001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366724296510275584,"note":"Value kept but may cause issues"} 
[2026-08-01 18:31:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1575415413815361536,"note":"Value kept but may cause issues"} 
[2026-08-01 18:31:54] 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-08-01 18:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785589241000,"timestamp_ms":1785589241000,"timestamp_seconds":1785589241,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd6994a8"} 
[2026-08-01 18:31:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:31:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 18:31:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:31:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:31:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":147417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":147417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":147417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:31:54] 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-08-01 18:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110844928001,"66":27691,"203":206,"83":44032,"24":26,"16":366724296510275584,"44":-1575415413815361536},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,83,24,16,44]} 
[2026-08-01 18:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110844928001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:31:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366724296510275584,"km_value":366724296510275.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:31:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1575415413815361536,"description":"Unknown IO ID 44"} 
[2026-08-01 18:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110844928001,"power":27691,"mnc":206,"unknown_83":44032,"ignition":26,"odometer":null,"unknown_44":-1575415413815361536}} 
[2026-08-01 18:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":147417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:31:54] local.INFO: GPS data processed {"connection_id":147417,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:31:54] local.INFO: Acknowledgment sent {"connection_id":147417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:32:00] local.INFO: TCP Data received {"connection_id":148716,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:32:00] local.INFO: Processing buffer {"connection_id":148716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:32:00] local.INFO: IMEI packet received {"connection_id":148716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 18:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":148716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:32:01] local.INFO: TCP Data received {"connection_id":148717,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148717,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:32:01] local.INFO: Processing buffer {"connection_id":148717,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:32:01] local.INFO: IMEI packet received {"connection_id":148717,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 18:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":148717,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:32:02] local.INFO: TCP Data received {"connection_id":148717,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148717,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:32:02] local.INFO: Processing buffer {"connection_id":148717,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:32:02] local.INFO: IMEI packet received {"connection_id":148717,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":148717,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:32:04] local.INFO: TCP Data received {"connection_id":148717,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148717,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:32:04] local.INFO: Processing buffer {"connection_id":148717,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:32:04] local.INFO: IMEI packet received {"connection_id":148717,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":148717,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:32:05] local.INFO: TCP Data received {"connection_id":148716,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:32:05] local.INFO: Processing buffer {"connection_id":148716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:32:05] local.INFO: IMEI packet received {"connection_id":148716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":148716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:32:05] local.INFO: TCP Data received {"connection_id":148717,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd6a7738012d7d3d4005c077a0000c00b522..."} 
[2026-08-01 18:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd6a7738012d7d3d4005c077a0000c00b522..."} 
[2026-08-01 18:32:05] local.INFO: Processing buffer {"connection_id":148717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd6a7738012d7d3d4005c077a0000c00b522..."} 
[2026-08-01 18:32:05] local.INFO: Packet analysis {"connection_id":148717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd6a"} 
[2026-08-01 18:32:05] local.INFO: Extracted packet for processing {"connection_id":148717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd6a"} 
[2026-08-01 18:32:05] local.INFO: GPS Element Parsed {"raw_longitude":763182400,"raw_latitude":96499616,"longitude_deg":76.31824,"latitude_deg":9.6499616,"altitude":12,"angle":181,"satellites":34,"speed":40,"hex_longitude":"2d7d3d40","hex_latitude":"05c077a0","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110859264001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113595730291064832,"note":"Value kept but may cause issues"} 
[2026-08-01 18:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024017409304625152,"note":"Value kept but may cause issues"} 
[2026-08-01 18:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785589299000,"timestamp_ms":1785589299000,"timestamp_seconds":1785589299,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd6a7738"} 
[2026-08-01 18:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:32: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-08-01 18: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-01 18:32:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-01 18:32:05] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3177790160,"note":"Value kept but may cause issues"} 
[2026-08-01 18:32:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-01 18:32:05] local.WARNING: Large IO value detected {"io_id":192,"raw_value":4171235336,"note":"Value kept but may cause issues"} 
[2026-08-01 18:32:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2802385102,"corrected_to":0} 
[2026-08-01 18:32:05] local.WARNING: Large IO value detected {"io_id":101,"raw_value":3355520381,"note":"Value kept but may cause issues"} 
[2026-08-01 18:32:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2147860747,"note":"Value kept but may cause issues"} 
[2026-08-01 18:32:05] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":327865,"corrected_to":0} 
[2026-08-01 18:32:05] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3976252839,"note":"Value kept but may cause issues"} 
[2026-08-01 18:32:05] local.WARNING: Large IO value detected {"io_id":147,"raw_value":2432892928,"note":"Value kept but may cause issues"} 
[2026-08-01 18:32:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3241129984,"note":"Value kept but may cause issues"} 
[2026-08-01 18:32:05] local.WARNING: Large IO value detected {"io_id":172,"raw_value":57886027335750960,"note":"Value kept but may cause issues"} 
[2026-08-01 18:32:05] local.WARNING: Large IO value detected {"io_id":105,"raw_value":2267563707266580485,"note":"Value kept but may cause issues"} 
[2026-08-01 18:32:05] local.WARNING: Large IO value detected {"io_id":193,"raw_value":5359283573762236928,"note":"Value kept but may cause issues"} 
[2026-08-01 18:32:05] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,9,85,24,241,157,16,146,159,64,45,128,173,13,34,10,66,17,208,12,145,226,1,240,62,227,189,192,4,113,205,101,44,200,239,50,2,147,5,38,172,105,193],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2802385102,"validated":0},{"io_id":200,"original":327865,"validated":0}]} 
[2026-08-01 18:32:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864878195758202880,"timestamp_seconds":864878195758202.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 18:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110859264001,"66":13341,"9":206,"85":12288,"24":40,"16":113595730291064832,"45":9024017409304625152},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-08-01 18:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110859264001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:32:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-01 18:32:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113595730291064832,"km_value":113595730291064.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024017409304625152,"description":"Unknown IO ID 45"} 
[2026-08-01 18:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110859264001,"power":13341,"unknown_9":206,"unknown_85":12288,"ignition":40,"odometer":null,"unknown_45":9024017409304625152}} 
[2026-08-01 18:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":148717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578635,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:32:05] local.INFO: GPS data processed {"connection_id":148717,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:32:05] local.INFO: Acknowledgment sent {"connection_id":148717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:32:05] local.INFO: TCP Data received {"connection_id":148716,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd671fc0012d196680071fef08003a005826..."} 
[2026-08-01 18:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd671fc0012d196680071fef08003a005826..."} 
[2026-08-01 18:32:05] local.INFO: Processing buffer {"connection_id":148716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd671fc0012d196680071fef08003a005826..."} 
[2026-08-01 18:32:05] local.INFO: Packet analysis {"connection_id":148716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd67"} 
[2026-08-01 18:32:05] local.INFO: Extracted packet for processing {"connection_id":148716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd67"} 
[2026-08-01 18:32:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110799104001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785589080000,"timestamp_ms":1785589080000,"timestamp_seconds":1785589080,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd671fc0"} 
[2026-08-01 18:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-01 18:32:05] 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-08-01 18: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-08-01 18:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:32:05] 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-08-01 18:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110799104001,"66":12461,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110799104001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:32:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:32:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110799104001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":148716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:32:06] local.INFO: GPS data processed {"connection_id":148716,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:32:06] local.INFO: Acknowledgment sent {"connection_id":148716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:32:25] local.INFO: TCP Data received {"connection_id":147417,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd6a4470012ce9b980072e13a00007012527..."} 
[2026-08-01 18:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd6a4470012ce9b980072e13a00007012527..."} 
[2026-08-01 18:32:25] local.INFO: Processing buffer {"connection_id":147417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd6a4470012ce9b980072e13a00007012527..."} 
[2026-08-01 18:32:25] local.INFO: Packet analysis {"connection_id":147417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd6a"} 
[2026-08-01 18:32:25] local.INFO: Extracted packet for processing {"connection_id":147417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd6a"} 
[2026-08-01 18:32:25] local.INFO: GPS Element Parsed {"raw_longitude":753514880,"raw_latitude":120460192,"longitude_deg":75.351488,"latitude_deg":12.0460192,"altitude":7,"angle":293,"satellites":39,"speed":28,"hex_longitude":"2ce9b980","hex_latitude":"072e13a0","is_valid_coordinates":true} 
[2026-08-01 18:32:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:32:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110854912001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:32:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366726031677063168,"note":"Value kept but may cause issues"} 
[2026-08-01 18:32:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1596244562088796160,"note":"Value kept but may cause issues"} 
[2026-08-01 18:32:25] 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-08-01 18:32:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785589286000,"timestamp_ms":1785589286000,"timestamp_seconds":1785589286,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd6a4470"} 
[2026-08-01 18:32:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:32: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-08-01 18:32:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 18:32:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:32:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:32:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:32:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:32:25] local.INFO: Teltonika packet parsed successfully {"connection_id":147417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:32:25] local.INFO: Passing IMEI to GPS processor {"connection_id":147417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:32:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":147417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:32:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:32:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:32:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:32:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110854912001,"66":27767,"203":206,"83":44032,"24":28,"16":366726031677063168,"44":-1596244562088796160},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,83,24,16,44]} 
[2026-08-01 18:32:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:32:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:32:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110854912001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:32:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:32:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366726031677063168,"km_value":366726031677063.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:32:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1596244562088796160,"description":"Unknown IO ID 44"} 
[2026-08-01 18:32:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110854912001,"power":27767,"mnc":206,"unknown_83":44032,"ignition":28,"odometer":null,"unknown_44":-1596244562088796160}} 
[2026-08-01 18:32:25] local.INFO: DEBUG: GPS processor result {"connection_id":147417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:32:25] local.INFO: GPS data processed {"connection_id":147417,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:32:25] local.INFO: Acknowledgment sent {"connection_id":147417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:32:37] local.INFO: TCP Data received {"connection_id":148716,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd6771c8012d196680071fef08003a005827..."} 
[2026-08-01 18:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd6771c8012d196680071fef08003a005827..."} 
[2026-08-01 18:32:37] local.INFO: Processing buffer {"connection_id":148716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd6771c8012d196680071fef08003a005827..."} 
[2026-08-01 18:32:37] local.INFO: Packet analysis {"connection_id":148716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd67"} 
[2026-08-01 18:32:37] local.INFO: Extracted packet for processing {"connection_id":148716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd67"} 
[2026-08-01 18:32:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 18:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110804480001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785589101000,"timestamp_ms":1785589101000,"timestamp_seconds":1785589101,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd6771c8"} 
[2026-08-01 18:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:32: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-08-01 18:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 18:32:37] 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-08-01 18:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:32:37] 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-08-01 18:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110804480001,"66":12428,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110804480001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:32:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:32:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110804480001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":148716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578638,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:32:37] local.INFO: GPS data processed {"connection_id":148716,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:32:37] local.INFO: Acknowledgment sent {"connection_id":148716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:32:39] local.INFO: TCP Data received {"connection_id":148717,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd6a9e48012d7d39c005c05480000b00ba20..."} 
[2026-08-01 18:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd6a9e48012d7d39c005c05480000b00ba20..."} 
[2026-08-01 18:32:39] local.INFO: Processing buffer {"connection_id":148717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd6a9e48012d7d39c005c05480000b00ba20..."} 
[2026-08-01 18:32:39] local.INFO: Packet analysis {"connection_id":148717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd6a"} 
[2026-08-01 18:32:39] local.INFO: Extracted packet for processing {"connection_id":148717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd6a"} 
[2026-08-01 18:32:39] local.INFO: GPS Element Parsed {"raw_longitude":763181504,"raw_latitude":96490624,"longitude_deg":76.3181504,"latitude_deg":9.6490624,"altitude":11,"angle":186,"satellites":32,"speed":37,"hex_longitude":"2d7d39c0","hex_latitude":"05c05480","is_valid_coordinates":true} 
[2026-08-01 18:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110860544001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113596168377729024,"note":"Value kept but may cause issues"} 
[2026-08-01 18:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024439621768421376,"note":"Value kept but may cause issues"} 
[2026-08-01 18:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785589309000,"timestamp_ms":1785589309000,"timestamp_seconds":1785589309,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd6a9e48"} 
[2026-08-01 18:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:32:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-01 18:32:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:32:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":148717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":148717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":148717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:32:39] 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-08-01 18:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110860544001,"66":13243,"10":206,"85":12288,"24":37,"16":113596168377729024,"45":9024439621768421376},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-08-01 18:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110860544001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:32:39] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-01 18:32:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113596168377729024,"km_value":113596168377729.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024439621768421376,"description":"Unknown IO ID 45"} 
[2026-08-01 18:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110860544001,"power":13243,"unknown_10":206,"unknown_85":12288,"ignition":37,"odometer":null,"unknown_45":9024439621768421376}} 
[2026-08-01 18:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":148717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578639,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:32:39] local.INFO: GPS data processed {"connection_id":148717,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:32:39] local.INFO: Acknowledgment sent {"connection_id":148717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:32:43] local.INFO: TCP Data received {"connection_id":146412,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:32:43] local.INFO: Processing buffer {"connection_id":146412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:32:43] local.INFO: IMEI packet received {"connection_id":146412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":146412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:32:44] local.INFO: TCP Data received {"connection_id":146412,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:32:44] local.INFO: Processing buffer {"connection_id":146412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:32:44] local.INFO: IMEI packet received {"connection_id":146412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":146412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:32:45] local.INFO: TCP Data received {"connection_id":146412,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:32:45] local.INFO: Processing buffer {"connection_id":146412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:32:45] local.INFO: IMEI packet received {"connection_id":146412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":146412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:32:46] local.INFO: TCP Data received {"connection_id":146412,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd6a5fc8012ce9af00072e19980005013129..."} 
[2026-08-01 18:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd6a5fc8012ce9af00072e19980005013129..."} 
[2026-08-01 18:32:46] local.INFO: Processing buffer {"connection_id":146412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd6a5fc8012ce9af00072e19980005013129..."} 
[2026-08-01 18:32:46] local.INFO: Packet analysis {"connection_id":146412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd6a"} 
[2026-08-01 18:32:46] local.INFO: Extracted packet for processing {"connection_id":146412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd6a"} 
[2026-08-01 18:32:46] local.INFO: GPS Element Parsed {"raw_longitude":753512192,"raw_latitude":120461720,"longitude_deg":75.3512192,"latitude_deg":12.046172,"altitude":5,"angle":305,"satellites":41,"speed":11,"hex_longitude":"2ce9af00","hex_latitude":"072e1998","is_valid_coordinates":true} 
[2026-08-01 18:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110857216001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366726182000918528,"note":"Value kept but may cause issues"} 
[2026-08-01 18:32:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1605111023854706688,"note":"Value kept but may cause issues"} 
[2026-08-01 18:32:46] 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-08-01 18:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785589293000,"timestamp_ms":1785589293000,"timestamp_seconds":1785589293,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd6a5fc8"} 
[2026-08-01 18:32:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:32: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-08-01 18:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 18:32:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:32:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:32:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":146412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":146412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":146412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:32:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110857216001,"66":27604,"203":206,"83":44032,"24":11,"16":366726182000918528,"44":-1605111023854706688},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,83,24,16,44]} 
[2026-08-01 18:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110857216001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:32:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366726182000918528,"km_value":366726182000918.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:32:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1605111023854706688,"description":"Unknown IO ID 44"} 
[2026-08-01 18:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110857216001,"power":27604,"mnc":206,"unknown_83":44032,"ignition":11,"odometer":null,"unknown_44":-1605111023854706688}} 
[2026-08-01 18:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":146412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:32:46] local.INFO: GPS data processed {"connection_id":146412,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:32:46] local.INFO: Acknowledgment sent {"connection_id":146412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:32:57] local.INFO: TCP Data received {"connection_id":147418,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147418,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:32:57] local.INFO: Processing buffer {"connection_id":147418,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:32:57] local.INFO: IMEI packet received {"connection_id":147418,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 18:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":147418,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:32:58] local.INFO: TCP Data received {"connection_id":147418,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147418,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:32:58] local.INFO: Processing buffer {"connection_id":147418,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:32:58] local.INFO: IMEI packet received {"connection_id":147418,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":147418,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:33:00] local.INFO: TCP Data received {"connection_id":148718,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:33:00] local.INFO: Processing buffer {"connection_id":148718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:33:00] local.INFO: IMEI packet received {"connection_id":148718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 18:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":148718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:33:02] local.INFO: TCP Data received {"connection_id":147418,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147418,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:33:02] local.INFO: Processing buffer {"connection_id":147418,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:33:02] local.INFO: IMEI packet received {"connection_id":147418,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":147418,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:33:03] local.INFO: TCP Data received {"connection_id":147418,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd6ac558012d7d390005c03130000a00b121..."} 
[2026-08-01 18:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd6ac558012d7d390005c03130000a00b121..."} 
[2026-08-01 18:33:03] local.INFO: Processing buffer {"connection_id":147418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd6ac558012d7d390005c03130000a00b121..."} 
[2026-08-01 18:33:03] local.INFO: Packet analysis {"connection_id":147418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd6a"} 
[2026-08-01 18:33:03] local.INFO: Extracted packet for processing {"connection_id":147418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd6a"} 
[2026-08-01 18:33:03] local.INFO: GPS Element Parsed {"raw_longitude":763181312,"raw_latitude":96481584,"longitude_deg":76.3181312,"latitude_deg":9.6481584,"altitude":10,"angle":177,"satellites":33,"speed":21,"hex_longitude":"2d7d3900","hex_latitude":"05c03130","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110863104001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113596606464393216,"note":"Value kept but may cause issues"} 
[2026-08-01 18:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023454459347632128,"note":"Value kept but may cause issues"} 
[2026-08-01 18:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785589319000,"timestamp_ms":1785589319000,"timestamp_seconds":1785589319,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd6ac558"} 
[2026-08-01 18:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:33: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-08-01 18: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-01 18:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147418,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147418,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110863104001,"66":12613,"10":206,"85":12288,"24":21,"16":113596606464393216,"45":9023454459347632128},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-08-01 18:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110863104001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:33:03] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-01 18:33:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113596606464393216,"km_value":113596606464393.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023454459347632128,"description":"Unknown IO ID 45"} 
[2026-08-01 18:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110863104001,"power":12613,"unknown_10":206,"unknown_85":12288,"ignition":21,"odometer":null,"unknown_45":9023454459347632128}} 
[2026-08-01 18:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":147418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578641,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:33:03] local.INFO: GPS data processed {"connection_id":147418,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:33:03] local.INFO: Acknowledgment sent {"connection_id":147418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:33:05] local.INFO: TCP Data received {"connection_id":148718,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:33:05] local.INFO: Processing buffer {"connection_id":148718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:33:05] local.INFO: IMEI packet received {"connection_id":148718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":148718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:33:05] local.INFO: TCP Data received {"connection_id":148718,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd67c3d0012d196680071fef08003a005828..."} 
[2026-08-01 18:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd67c3d0012d196680071fef08003a005828..."} 
[2026-08-01 18:33:05] local.INFO: Processing buffer {"connection_id":148718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd67c3d0012d196680071fef08003a005828..."} 
[2026-08-01 18:33:05] local.INFO: Packet analysis {"connection_id":148718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd67"} 
[2026-08-01 18:33:05] local.INFO: Extracted packet for processing {"connection_id":148718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd67"} 
[2026-08-01 18:33:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":40,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 18:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110809856001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785589122000,"timestamp_ms":1785589122000,"timestamp_seconds":1785589122,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd67c3d0"} 
[2026-08-01 18:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:33:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-01 18:33:05] 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-08-01 18:33:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:33:05] 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-08-01 18:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110809856001,"66":12461,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110809856001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:33:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:33:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110809856001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":148718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578642,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:33:05] local.INFO: GPS data processed {"connection_id":148718,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:33:05] local.INFO: Acknowledgment sent {"connection_id":148718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:33:17] local.INFO: TCP Data received {"connection_id":146412,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd6a7738012ce9a8c0072e1e680005013c2a..."} 
[2026-08-01 18:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd6a7738012ce9a8c0072e1e680005013c2a..."} 
[2026-08-01 18:33:17] local.INFO: Processing buffer {"connection_id":146412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd6a7738012ce9a8c0072e1e680005013c2a..."} 
[2026-08-01 18:33:17] local.INFO: Packet analysis {"connection_id":146412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd6a"} 
[2026-08-01 18:33:17] local.INFO: Extracted packet for processing {"connection_id":146412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd6a"} 
[2026-08-01 18:33:17] local.INFO: GPS Element Parsed {"raw_longitude":753510592,"raw_latitude":120462952,"longitude_deg":75.3510592,"latitude_deg":12.0462952,"altitude":5,"angle":316,"satellites":42,"speed":13,"hex_longitude":"2ce9a8c0","hex_latitude":"072e1e68","is_valid_coordinates":true} 
[2026-08-01 18:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110859008001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366726276490199040,"note":"Value kept but may cause issues"} 
[2026-08-01 18:33:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1608066511109777408,"note":"Value kept but may cause issues"} 
[2026-08-01 18:33:17] 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-08-01 18:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785589299000,"timestamp_ms":1785589299000,"timestamp_seconds":1785589299,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd6a7738"} 
[2026-08-01 18:33:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:33:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-01 18:33:17] 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-08-01 18:33:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:33:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":146412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":146412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":146412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:33:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110859008001,"66":27658,"203":206,"83":44032,"24":13,"16":366726276490199040,"44":-1608066511109777408},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,83,24,16,44]} 
[2026-08-01 18:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110859008001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:33:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366726276490199040,"km_value":366726276490199.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:33:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1608066511109777408,"description":"Unknown IO ID 44"} 
[2026-08-01 18:33:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110859008001,"power":27658,"mnc":206,"unknown_83":44032,"ignition":13,"odometer":null,"unknown_44":-1608066511109777408}} 
[2026-08-01 18:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":146412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:33:17] local.INFO: GPS data processed {"connection_id":146412,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:33:17] local.INFO: Acknowledgment sent {"connection_id":146412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:33:34] local.INFO: TCP Data received {"connection_id":147418,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd6ad4f8012d7d398005c02bb0000a00a522..."} 
[2026-08-01 18:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd6ad4f8012d7d398005c02bb0000a00a522..."} 
[2026-08-01 18:33:34] local.INFO: Processing buffer {"connection_id":147418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd6ad4f8012d7d398005c02bb0000a00a522..."} 
[2026-08-01 18:33:34] local.INFO: Packet analysis {"connection_id":147418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd6a"} 
[2026-08-01 18:33:34] local.INFO: Extracted packet for processing {"connection_id":147418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd6a"} 
[2026-08-01 18:33:34] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":96480176,"longitude_deg":76.318144,"latitude_deg":9.6480176,"altitude":10,"angle":165,"satellites":34,"speed":9,"hex_longitude":"2d7d3980","hex_latitude":"05c02bb0","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110865664001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113596675183869952,"note":"Value kept but may cause issues"} 
[2026-08-01 18:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023243353112784896,"note":"Value kept but may cause issues"} 
[2026-08-01 18:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785589323000,"timestamp_ms":1785589323000,"timestamp_seconds":1785589323,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd6ad4f8"} 
[2026-08-01 18:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:33:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-01 18:33:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":147418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":147418,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":147418,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:33:34] 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-08-01 18:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110865664001,"66":13178,"10":206,"85":12288,"24":9,"16":113596675183869952,"45":9023243353112784896},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-08-01 18:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110865664001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:33:34] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-01 18:33:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113596675183869952,"km_value":113596675183869.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023243353112784896,"description":"Unknown IO ID 45"} 
[2026-08-01 18:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110865664001,"power":13178,"unknown_10":206,"unknown_85":12288,"ignition":9,"odometer":null,"unknown_45":9023243353112784896}} 
[2026-08-01 18:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":147418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578644,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:33:34] local.INFO: GPS data processed {"connection_id":147418,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:33:34] local.INFO: Acknowledgment sent {"connection_id":147418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:33:36] local.INFO: TCP Data received {"connection_id":148718,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd6815d8012d196680071fef08003a005827..."} 
[2026-08-01 18:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd6815d8012d196680071fef08003a005827..."} 
[2026-08-01 18:33:36] local.INFO: Processing buffer {"connection_id":148718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd6815d8012d196680071fef08003a005827..."} 
[2026-08-01 18:33:36] local.INFO: Packet analysis {"connection_id":148718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd68"} 
[2026-08-01 18:33:36] local.INFO: Extracted packet for processing {"connection_id":148718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd68"} 
[2026-08-01 18:33:36] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":39,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110815232001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785589143000,"timestamp_ms":1785589143000,"timestamp_seconds":1785589143,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd6815d8"} 
[2026-08-01 18:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 18:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:33:36] 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-08-01 18:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110815232001,"66":12461,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110815232001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:33:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:33:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110815232001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":148718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578645,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:33:37] local.INFO: GPS data processed {"connection_id":148718,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:33:37] local.INFO: Acknowledgment sent {"connection_id":148718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:33:43] local.INFO: TCP Data received {"connection_id":146186,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:33:43] local.INFO: Processing buffer {"connection_id":146186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:33:43] local.INFO: IMEI packet received {"connection_id":146186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":146186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:33:48] local.INFO: TCP Data received {"connection_id":146186,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:33:48] local.INFO: Processing buffer {"connection_id":146186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:33:48] local.INFO: IMEI packet received {"connection_id":146186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":146186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:33:49] local.INFO: TCP Data received {"connection_id":146186,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd6ab9a0012ce99100072e3b70000501432a..."} 
[2026-08-01 18:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd6ab9a0012ce99100072e3b70000501432a..."} 
[2026-08-01 18:33:49] local.INFO: Processing buffer {"connection_id":146186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd6ab9a0012ce99100072e3b70000501432a..."} 
[2026-08-01 18:33:49] local.INFO: Packet analysis {"connection_id":146186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd6a"} 
[2026-08-01 18:33:49] local.INFO: Extracted packet for processing {"connection_id":146186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd6a"} 
[2026-08-01 18:33:49] local.INFO: GPS Element Parsed {"raw_longitude":753504512,"raw_latitude":120470384,"longitude_deg":75.3504512,"latitude_deg":12.0470384,"altitude":5,"angle":323,"satellites":42,"speed":29,"hex_longitude":"2ce99100","hex_latitude":"072e3b70","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110860544001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366726740346667008,"note":"Value kept but may cause issues"} 
[2026-08-01 18:33:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1609825729713903616,"note":"Value kept but may cause issues"} 
[2026-08-01 18:33:49] 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-08-01 18:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785589316000,"timestamp_ms":1785589316000,"timestamp_seconds":1785589316,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd6ab9a0"} 
[2026-08-01 18:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:33:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 18:33:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:33:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110860544001,"66":27800,"203":206,"83":44032,"24":29,"16":366726740346667008,"44":-1609825729713903616},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,83,24,16,44]} 
[2026-08-01 18:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110860544001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:33:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366726740346667008,"km_value":366726740346667.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:33:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1609825729713903616,"description":"Unknown IO ID 44"} 
[2026-08-01 18:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110860544001,"power":27800,"mnc":206,"unknown_83":44032,"ignition":29,"odometer":null,"unknown_44":-1609825729713903616}} 
[2026-08-01 18:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":146186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:33:49] local.INFO: GPS data processed {"connection_id":146186,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:33:49] local.INFO: Acknowledgment sent {"connection_id":146186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:33:58] local.INFO: TCP Data received {"connection_id":146413,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146413,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:33:58] local.INFO: Processing buffer {"connection_id":146413,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:33:58] local.INFO: IMEI packet received {"connection_id":146413,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 18:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":146413,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:34:00] local.INFO: TCP Data received {"connection_id":147419,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147419,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:34:00] local.INFO: Processing buffer {"connection_id":147419,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:34:00] local.INFO: IMEI packet received {"connection_id":147419,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 18:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":147419,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:34:02] local.INFO: TCP Data received {"connection_id":146413,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146413,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:34:02] local.INFO: Processing buffer {"connection_id":146413,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:34:02] local.INFO: IMEI packet received {"connection_id":146413,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":146413,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:34:03] local.INFO: TCP Data received {"connection_id":146413,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd6c5f80012d7d034005bf77a80008010c24..."} 
[2026-08-01 18:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd6c5f80012d7d034005bf77a80008010c24..."} 
[2026-08-01 18:34:03] local.INFO: Processing buffer {"connection_id":146413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd6c5f80012d7d034005bf77a80008010c24..."} 
[2026-08-01 18:34:03] local.INFO: Packet analysis {"connection_id":146413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd6c"} 
[2026-08-01 18:34:03] local.INFO: Extracted packet for processing {"connection_id":146413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd6c"} 
[2026-08-01 18:34:03] local.INFO: GPS Element Parsed {"raw_longitude":763167552,"raw_latitude":96434088,"longitude_deg":76.3167552,"latitude_deg":9.6434088,"altitude":8,"angle":268,"satellites":36,"speed":10,"hex_longitude":"2d7d0340","hex_latitude":"05bf77a8","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110892288001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113599088955490304,"note":"Value kept but may cause issues"} 
[2026-08-01 18:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9008395548079142912,"note":"Value kept but may cause issues"} 
[2026-08-01 18:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785589424000,"timestamp_ms":1785589424000,"timestamp_seconds":1785589424,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd6c5f80"} 
[2026-08-01 18:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:34: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-08-01 18: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-01 18:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":146413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":146413,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":146413,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110892288001,"66":13222,"25":206,"85":12288,"24":10,"16":113599088955490304,"45":9008395548079142912},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-08-01 18:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110892288001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:34:03] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-01 18:34:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113599088955490304,"km_value":113599088955490.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9008395548079142912,"description":"Unknown IO ID 45"} 
[2026-08-01 18:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110892288001,"power":13222,"unknown_25":206,"unknown_85":12288,"ignition":10,"odometer":null,"unknown_45":9008395548079142912}} 
[2026-08-01 18:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":146413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578647,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:34:03] local.INFO: GPS data processed {"connection_id":146413,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:34:03] local.INFO: Acknowledgment sent {"connection_id":146413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:34:04] local.INFO: TCP Data received {"connection_id":147419,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147419,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:34:04] local.INFO: Processing buffer {"connection_id":147419,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:34:04] local.INFO: IMEI packet received {"connection_id":147419,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":147419,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:34:05] local.INFO: TCP Data received {"connection_id":147419,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd6867e0012d196680071fef08003a005825..."} 
[2026-08-01 18:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd6867e0012d196680071fef08003a005825..."} 
[2026-08-01 18:34:05] local.INFO: Processing buffer {"connection_id":147419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd6867e0012d196680071fef08003a005825..."} 
[2026-08-01 18:34:05] local.INFO: Packet analysis {"connection_id":147419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd68"} 
[2026-08-01 18:34:05] local.INFO: Extracted packet for processing {"connection_id":147419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd68"} 
[2026-08-01 18:34:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":37,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110820608001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785589164000,"timestamp_ms":1785589164000,"timestamp_seconds":1785589164,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd6867e0"} 
[2026-08-01 18:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 18:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:34:05] 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-08-01 18:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110820608001,"66":12406,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110820608001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:34:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:34:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110820608001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":147419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:34:05] local.INFO: GPS data processed {"connection_id":147419,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:34:05] local.INFO: Acknowledgment sent {"connection_id":147419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:34:20] local.INFO: TCP Data received {"connection_id":146186,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd6acd28012ce98880072e4918000401502d..."} 
[2026-08-01 18:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd6acd28012ce98880072e4918000401502d..."} 
[2026-08-01 18:34:20] local.INFO: Processing buffer {"connection_id":146186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd6acd28012ce98880072e4918000401502d..."} 
[2026-08-01 18:34:20] local.INFO: Packet analysis {"connection_id":146186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd6a"} 
[2026-08-01 18:34:20] local.INFO: Extracted packet for processing {"connection_id":146186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd6a"} 
[2026-08-01 18:34:20] local.INFO: GPS Element Parsed {"raw_longitude":753502336,"raw_latitude":120473880,"longitude_deg":75.3502336,"latitude_deg":12.047388,"altitude":4,"angle":336,"satellites":45,"speed":34,"hex_longitude":"2ce98880","hex_latitude":"072e4918","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110864896001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366726937915162624,"note":"Value kept but may cause issues"} 
[2026-08-01 18:34:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1616510760408879104,"note":"Value kept but may cause issues"} 
[2026-08-01 18:34:20] 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-08-01 18:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785589321000,"timestamp_ms":1785589321000,"timestamp_seconds":1785589321,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd6acd28"} 
[2026-08-01 18:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:34:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 18:34:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:34:20] 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-08-01 18:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110864896001,"66":27767,"203":206,"83":44032,"24":34,"16":366726937915162624,"44":-1616510760408879104},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,83,24,16,44]} 
[2026-08-01 18:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110864896001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:34:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366726937915162624,"km_value":366726937915162.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:34:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1616510760408879104,"description":"Unknown IO ID 44"} 
[2026-08-01 18:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110864896001,"power":27767,"mnc":206,"unknown_83":44032,"ignition":34,"odometer":null,"unknown_44":-1616510760408879104}} 
[2026-08-01 18:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":146186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:34:20] local.INFO: GPS data processed {"connection_id":146186,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:34:20] local.INFO: Acknowledgment sent {"connection_id":146186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:34:33] local.INFO: TCP Data received {"connection_id":146413,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd6c6368012d7d024005bf77c80008011b23..."} 
[2026-08-01 18:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd6c6368012d7d024005bf77c80008011b23..."} 
[2026-08-01 18:34:33] local.INFO: Processing buffer {"connection_id":146413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd6c6368012d7d024005bf77c80008011b23..."} 
[2026-08-01 18:34:33] local.INFO: Packet analysis {"connection_id":146413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd6c"} 
[2026-08-01 18:34:33] local.INFO: Extracted packet for processing {"connection_id":146413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd6c"} 
[2026-08-01 18:34:33] local.INFO: GPS Element Parsed {"raw_longitude":763167296,"raw_latitude":96434120,"longitude_deg":76.3167296,"latitude_deg":9.643412,"altitude":8,"angle":283,"satellites":35,"speed":12,"hex_longitude":"2d7d0240","hex_latitude":"05bf77c8","is_valid_coordinates":true} 
[2026-08-01 18:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110892544001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113599106135359488,"note":"Value kept but may cause issues"} 
[2026-08-01 18:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9008114073102428160,"note":"Value kept but may cause issues"} 
[2026-08-01 18:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785589425000,"timestamp_ms":1785589425000,"timestamp_seconds":1785589425,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd6c6368"} 
[2026-08-01 18:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:34:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-01 18:34: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-08-01 18:34:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":146413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":146413,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":146413,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110892544001,"66":13472,"25":206,"85":12288,"24":12,"16":113599106135359488,"45":9008114073102428160},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-08-01 18:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110892544001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:34:33] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-01 18:34:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113599106135359488,"km_value":113599106135359.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9008114073102428160,"description":"Unknown IO ID 45"} 
[2026-08-01 18:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110892544001,"power":13472,"unknown_25":206,"unknown_85":12288,"ignition":12,"odometer":null,"unknown_45":9008114073102428160}} 
[2026-08-01 18:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":146413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578650,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:34:33] local.INFO: GPS data processed {"connection_id":146413,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:34:33] local.INFO: Acknowledgment sent {"connection_id":146413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:34:36] local.INFO: TCP Data received {"connection_id":147419,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd6bee38012d196680071fef08003a005823..."} 
[2026-08-01 18:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd6bee38012d196680071fef08003a005823..."} 
[2026-08-01 18:34:36] local.INFO: Processing buffer {"connection_id":147419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd6bee38012d196680071fef08003a005823..."} 
[2026-08-01 18:34:36] local.INFO: Packet analysis {"connection_id":147419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd6b"} 
[2026-08-01 18:34:36] local.INFO: Extracted packet for processing {"connection_id":147419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd6b"} 
[2026-08-01 18:34:36] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":35,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110879744001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785589395000,"timestamp_ms":1785589395000,"timestamp_seconds":1785589395,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd6bee38"} 
[2026-08-01 18:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 18:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:34:36] 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-08-01 18:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110879744001,"66":12428,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110879744001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:34:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:34:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110879744001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":147419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578651,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:34:36] local.INFO: GPS data processed {"connection_id":147419,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:34:36] local.INFO: Acknowledgment sent {"connection_id":147419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:34:44] local.INFO: TCP Data received {"connection_id":147420,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:34:44] local.INFO: Processing buffer {"connection_id":147420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:34:44] local.INFO: IMEI packet received {"connection_id":147420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":147420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:34:48] local.INFO: TCP Data received {"connection_id":147420,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:34:48] local.INFO: Processing buffer {"connection_id":147420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:34:48] local.INFO: IMEI packet received {"connection_id":147420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":147420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:34:49] local.INFO: TCP Data received {"connection_id":147420,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd6adcc8012ce98100072e55c00002013c2d..."} 
[2026-08-01 18:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd6adcc8012ce98100072e55c00002013c2d..."} 
[2026-08-01 18:34:49] local.INFO: Processing buffer {"connection_id":147420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd6adcc8012ce98100072e55c00002013c2d..."} 
[2026-08-01 18:34:49] local.INFO: Packet analysis {"connection_id":147420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd6a"} 
[2026-08-01 18:34:49] local.INFO: Extracted packet for processing {"connection_id":147420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd6a"} 
[2026-08-01 18:34:49] local.INFO: GPS Element Parsed {"raw_longitude":753500416,"raw_latitude":120477120,"longitude_deg":75.3500416,"latitude_deg":12.047712,"altitude":2,"angle":316,"satellites":45,"speed":38,"hex_longitude":"2ce98100","hex_latitude":"072e55c0","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110866176001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366727122598756352,"note":"Value kept but may cause issues"} 
[2026-08-01 18:34:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1618903297710024704,"note":"Value kept but may cause issues"} 
[2026-08-01 18:34:49] 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-08-01 18:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785589325000,"timestamp_ms":1785589325000,"timestamp_seconds":1785589325,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd6adcc8"} 
[2026-08-01 18:34:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:34:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 18:34:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:34:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:34:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110866176001,"66":27658,"203":206,"83":44032,"24":38,"16":366727122598756352,"44":-1618903297710024704},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,83,24,16,44]} 
[2026-08-01 18:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110866176001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:34:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366727122598756352,"km_value":366727122598756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:34:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1618903297710024704,"description":"Unknown IO ID 44"} 
[2026-08-01 18:34:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110866176001,"power":27658,"mnc":206,"unknown_83":44032,"ignition":38,"odometer":null,"unknown_44":-1618903297710024704}} 
[2026-08-01 18:34:49] local.INFO: DEBUG: GPS processor result {"connection_id":147420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:34:49] local.INFO: GPS data processed {"connection_id":147420,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:34:49] local.INFO: Acknowledgment sent {"connection_id":147420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:34:58] local.INFO: TCP Data received {"connection_id":147421,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147421,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:34:58] local.INFO: Processing buffer {"connection_id":147421,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:34:58] local.INFO: IMEI packet received {"connection_id":147421,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 18:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":147421,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:35:00] local.INFO: TCP Data received {"connection_id":146187,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:35:00] local.INFO: Processing buffer {"connection_id":146187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:35:00] local.INFO: IMEI packet received {"connection_id":146187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 18:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":146187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:35:01] local.INFO: TCP Data received {"connection_id":147421,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147421,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:35:01] local.INFO: Processing buffer {"connection_id":147421,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:35:01] local.INFO: IMEI packet received {"connection_id":147421,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":147421,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:35:02] local.INFO: TCP Data received {"connection_id":147421,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147421,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:35:02] local.INFO: Processing buffer {"connection_id":147421,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:35:02] local.INFO: IMEI packet received {"connection_id":147421,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":147421,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:35:03] local.INFO: TCP Data received {"connection_id":147421,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd6c9e00012d7cdc8005bf7f900009011623..."} 
[2026-08-01 18:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd6c9e00012d7cdc8005bf7f900009011623..."} 
[2026-08-01 18:35:03] local.INFO: Processing buffer {"connection_id":147421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd6c9e00012d7cdc8005bf7f900009011623..."} 
[2026-08-01 18:35:03] local.INFO: Packet analysis {"connection_id":147421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd6c"} 
[2026-08-01 18:35:03] local.INFO: Extracted packet for processing {"connection_id":147421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd6c"} 
[2026-08-01 18:35:03] local.INFO: GPS Element Parsed {"raw_longitude":763157632,"raw_latitude":96436112,"longitude_deg":76.3157632,"latitude_deg":9.6436112,"altitude":9,"angle":278,"satellites":35,"speed":39,"hex_longitude":"2d7cdc80","hex_latitude":"05bf7f90","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110892800001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113599574286794752,"note":"Value kept but may cause issues"} 
[2026-08-01 18:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9007832598125725696,"note":"Value kept but may cause issues"} 
[2026-08-01 18:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785589440000,"timestamp_ms":1785589440000,"timestamp_seconds":1785589440,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd6c9e00"} 
[2026-08-01 18:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:35: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-08-01 18: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-01 18:35:03] 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-08-01 18: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-08-01 18:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147421,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147421,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110892800001,"66":13450,"25":206,"85":12288,"24":39,"16":113599574286794752,"45":9007832598125725696},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-08-01 18:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110892800001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:35:03] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-01 18:35:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113599574286794752,"km_value":113599574286794.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9007832598125725696,"description":"Unknown IO ID 45"} 
[2026-08-01 18:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110892800001,"power":13450,"unknown_25":206,"unknown_85":12288,"ignition":39,"odometer":null,"unknown_45":9007832598125725696}} 
[2026-08-01 18:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":147421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578653,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:35:03] local.INFO: GPS data processed {"connection_id":147421,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:35:03] local.INFO: Acknowledgment sent {"connection_id":147421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:35:05] local.INFO: TCP Data received {"connection_id":146187,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:35:05] local.INFO: Processing buffer {"connection_id":146187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:35:05] local.INFO: IMEI packet received {"connection_id":146187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":146187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:35:05] local.INFO: TCP Data received {"connection_id":146187,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd6c4040012d196680071fef08003a005823..."} 
[2026-08-01 18:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd6c4040012d196680071fef08003a005823..."} 
[2026-08-01 18:35:05] local.INFO: Processing buffer {"connection_id":146187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd6c4040012d196680071fef08003a005823..."} 
[2026-08-01 18:35:05] local.INFO: Packet analysis {"connection_id":146187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd6c"} 
[2026-08-01 18:35:05] local.INFO: Extracted packet for processing {"connection_id":146187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd6c"} 
[2026-08-01 18:35:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":35,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110885120001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785589416000,"timestamp_ms":1785589416000,"timestamp_seconds":1785589416,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd6c4040"} 
[2026-08-01 18:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-01 18:35:05] 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-08-01 18: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-08-01 18:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:35:05] 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-08-01 18:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110885120001,"66":12439,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110885120001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:35:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:35:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110885120001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":146187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578654,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:35:06] local.INFO: GPS data processed {"connection_id":146187,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:35:06] local.INFO: Acknowledgment sent {"connection_id":146187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:35:08] local.INFO: TCP Data received {"connection_id":147421,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd6cc128012d7cb88005bf83b00009011322..."} 
[2026-08-01 18:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd6cc128012d7cb88005bf83b00009011322..."} 
[2026-08-01 18:35:08] local.INFO: Processing buffer {"connection_id":147421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd6cc128012d7cb88005bf83b00009011322..."} 
[2026-08-01 18:35:08] local.INFO: Packet analysis {"connection_id":147421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd6c"} 
[2026-08-01 18:35:08] local.INFO: Extracted packet for processing {"connection_id":147421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd6c"} 
[2026-08-01 18:35:08] local.INFO: GPS Element Parsed {"raw_longitude":763148416,"raw_latitude":96437168,"longitude_deg":76.3148416,"latitude_deg":9.6437168,"altitude":9,"angle":275,"satellites":34,"speed":44,"hex_longitude":"2d7cb880","hex_latitude":"05bf83b0","is_valid_coordinates":true} 
[2026-08-01 18:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110896640001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113600016668426240,"note":"Value kept but may cause issues"} 
[2026-08-01 18:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8997206917755408384,"note":"Value kept but may cause issues"} 
[2026-08-01 18:35:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785589449000,"timestamp_ms":1785589449000,"timestamp_seconds":1785589449,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd6cc128"} 
[2026-08-01 18:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:35: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-08-01 18:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-01 18:35:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:35:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":147421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":147421,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":147421,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:35:08] 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-08-01 18:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110896640001,"66":13374,"25":206,"85":12288,"24":44,"16":113600016668426240,"45":8997206917755408384},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-08-01 18:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110896640001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:35:08] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-01 18:35:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113600016668426240,"km_value":113600016668426.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8997206917755408384,"description":"Unknown IO ID 45"} 
[2026-08-01 18:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110896640001,"power":13374,"unknown_25":206,"unknown_85":12288,"ignition":44,"odometer":null,"unknown_45":8997206917755408384}} 
[2026-08-01 18:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":147421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578655,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:35:08] local.INFO: GPS data processed {"connection_id":147421,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:35:08] local.INFO: Acknowledgment sent {"connection_id":147421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:35:20] local.INFO: TCP Data received {"connection_id":147420,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd6ae498012ce97b40072e5a580001012a2b..."} 
[2026-08-01 18:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd6ae498012ce97b40072e5a580001012a2b..."} 
[2026-08-01 18:35:20] local.INFO: Processing buffer {"connection_id":147420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd6ae498012ce97b40072e5a580001012a2b..."} 
[2026-08-01 18:35:20] local.INFO: Packet analysis {"connection_id":147420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd6a"} 
[2026-08-01 18:35:20] local.INFO: Extracted packet for processing {"connection_id":147420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd6a"} 
[2026-08-01 18:35:20] local.INFO: GPS Element Parsed {"raw_longitude":753498944,"raw_latitude":120478296,"longitude_deg":75.3498944,"latitude_deg":12.0478296,"altitude":1,"angle":298,"satellites":43,"speed":37,"hex_longitude":"2ce97b40","hex_latitude":"072e5a58","is_valid_coordinates":true} 
[2026-08-01 18:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110867200001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366727212793069568,"note":"Value kept but may cause issues"} 
[2026-08-01 18:35:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1621014360034525184,"note":"Value kept but may cause issues"} 
[2026-08-01 18:35:20] 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-08-01 18:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785589327000,"timestamp_ms":1785589327000,"timestamp_seconds":1785589327,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd6ae498"} 
[2026-08-01 18:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 18:35:20] 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-08-01 18:35:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:35:20] 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-08-01 18:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110867200001,"66":26832,"203":206,"83":44032,"24":37,"16":366727212793069568,"44":-1621014360034525184},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,83,24,16,44]} 
[2026-08-01 18:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110867200001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:35:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366727212793069568,"km_value":366727212793069.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:35:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1621014360034525184,"description":"Unknown IO ID 44"} 
[2026-08-01 18:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110867200001,"power":26832,"mnc":206,"unknown_83":44032,"ignition":37,"odometer":null,"unknown_44":-1621014360034525184}} 
[2026-08-01 18:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":147420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:35:20] local.INFO: GPS data processed {"connection_id":147420,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:35:20] local.INFO: Acknowledgment sent {"connection_id":147420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:35:37] local.INFO: TCP Data received {"connection_id":146187,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd6c9248012d196680071fef08003a005826..."} 
[2026-08-01 18:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd6c9248012d196680071fef08003a005826..."} 
[2026-08-01 18:35:37] local.INFO: Processing buffer {"connection_id":146187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd6c9248012d196680071fef08003a005826..."} 
[2026-08-01 18:35:37] local.INFO: Packet analysis {"connection_id":146187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd6c"} 
[2026-08-01 18:35:37] local.INFO: Extracted packet for processing {"connection_id":146187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd6c"} 
[2026-08-01 18:35:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 18:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110890496001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785589437000,"timestamp_ms":1785589437000,"timestamp_seconds":1785589437,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd6c9248"} 
[2026-08-01 18:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 18:35:37] 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-08-01 18:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:35:37] 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-08-01 18:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110890496001,"66":12385,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110890496001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:35:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:35:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110890496001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":146187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:35:37] local.INFO: GPS data processed {"connection_id":146187,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:35:37] local.INFO: Acknowledgment sent {"connection_id":146187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:35:39] local.INFO: TCP Data received {"connection_id":147421,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd6ce450012d7c934005bf84f80009010924..."} 
[2026-08-01 18:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd6ce450012d7c934005bf84f80009010924..."} 
[2026-08-01 18:35:39] local.INFO: Processing buffer {"connection_id":147421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd6ce450012d7c934005bf84f80009010924..."} 
[2026-08-01 18:35:39] local.INFO: Packet analysis {"connection_id":147421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd6c"} 
[2026-08-01 18:35:39] local.INFO: Extracted packet for processing {"connection_id":147421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd6c"} 
[2026-08-01 18:35:39] local.INFO: GPS Element Parsed {"raw_longitude":763138880,"raw_latitude":96437496,"longitude_deg":76.313888,"latitude_deg":9.6437496,"altitude":9,"angle":265,"satellites":36,"speed":35,"hex_longitude":"2d7c9340","hex_latitude":"05bf84f8","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110898944001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113600476229926912,"note":"Value kept but may cause issues"} 
[2026-08-01 18:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987073818594095104,"note":"Value kept but may cause issues"} 
[2026-08-01 18:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785589458000,"timestamp_ms":1785589458000,"timestamp_seconds":1785589458,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd6ce450"} 
[2026-08-01 18:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:35: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-08-01 18:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-01 18:35:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":147421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":147421,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":147421,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:35:39] 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-08-01 18:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110898944001,"66":13319,"25":206,"85":12288,"24":35,"16":113600476229926912,"45":8987073818594095104},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-08-01 18:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110898944001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:35:39] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-01 18:35:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113600476229926912,"km_value":113600476229926.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987073818594095104,"description":"Unknown IO ID 45"} 
[2026-08-01 18:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110898944001,"power":13319,"unknown_25":206,"unknown_85":12288,"ignition":35,"odometer":null,"unknown_45":8987073818594095104}} 
[2026-08-01 18:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":147421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578658,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:35:39] local.INFO: GPS data processed {"connection_id":147421,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:35:39] local.INFO: Acknowledgment sent {"connection_id":147421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:35:47] local.INFO: TCP Data received {"connection_id":146188,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:35:47] local.INFO: Processing buffer {"connection_id":146188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:35:47] local.INFO: IMEI packet received {"connection_id":146188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":146188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:35:57] local.INFO: TCP Data received {"connection_id":146189,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146189,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:35:57] local.INFO: Processing buffer {"connection_id":146189,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:35:57] local.INFO: IMEI packet received {"connection_id":146189,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 18:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":146189,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:35:58] local.INFO: TCP Data received {"connection_id":146190,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:35:58] local.INFO: Processing buffer {"connection_id":146190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:35:58] local.INFO: IMEI packet received {"connection_id":146190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 18:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":146190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:35:59] local.INFO: TCP Data received {"connection_id":146190,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:35:59] local.INFO: Processing buffer {"connection_id":146190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:35:59] local.INFO: IMEI packet received {"connection_id":146190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":146190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:36:03] local.INFO: TCP Data received {"connection_id":146189,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146189,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:36:03] local.INFO: Processing buffer {"connection_id":146189,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:36:03] local.INFO: IMEI packet received {"connection_id":146189,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":146189,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:36:04] local.INFO: TCP Data received {"connection_id":146189,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd6cffa8012d7c7a8005bf80d0000900f922..."} 
[2026-08-01 18:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd6cffa8012d7c7a8005bf80d0000900f922..."} 
[2026-08-01 18:36:04] local.INFO: Processing buffer {"connection_id":146189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd6cffa8012d7c7a8005bf80d0000900f922..."} 
[2026-08-01 18:36:04] local.INFO: Packet analysis {"connection_id":146189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd6c"} 
[2026-08-01 18:36:04] local.INFO: Extracted packet for processing {"connection_id":146189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd6c"} 
[2026-08-01 18:36:04] local.INFO: GPS Element Parsed {"raw_longitude":763132544,"raw_latitude":96436432,"longitude_deg":76.3132544,"latitude_deg":9.6436432,"altitude":9,"angle":249,"satellites":34,"speed":35,"hex_longitude":"2d7c7a80","hex_latitude":"05bf80d0","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110901248001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113600781172604928,"note":"Value kept but may cause issues"} 
[2026-08-01 18:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8976588875711707136,"note":"Value kept but may cause issues"} 
[2026-08-01 18:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785589465000,"timestamp_ms":1785589465000,"timestamp_seconds":1785589465,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd6cffa8"} 
[2026-08-01 18:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:36: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-08-01 18:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-01 18:36:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-01 18:36:04] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3177993160,"note":"Value kept but may cause issues"} 
[2026-08-01 18:36:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-01 18:36:04] local.WARNING: Large IO value detected {"io_id":149,"raw_value":3372220416,"note":"Value kept but may cause issues"} 
[2026-08-01 18:36:04] local.WARNING: Large IO value detected {"io_id":191,"raw_value":8745990506430473216,"note":"Value kept but may cause issues"} 
[2026-08-01 18:36:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1645805774,"corrected_to":0} 
[2026-08-01 18:36:04] local.WARNING: Large IO value detected {"io_id":91,"raw_value":2550214013,"note":"Value kept but may cause issues"} 
[2026-08-01 18:36:04] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070434,"note":"Value kept but may cause issues"} 
[2026-08-01 18:36:04] local.WARNING: Large IO value detected {"io_id":147,"raw_value":2512584704,"note":"Value kept but may cause issues"} 
[2026-08-01 18:36:04] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3212353536,"note":"Value kept but may cause issues"} 
[2026-08-01 18:36:04] local.WARNING: Large IO value detected {"io_id":182,"raw_value":57810229752911152,"note":"Value kept but may cause issues"} 
[2026-08-01 18:36:04] local.WARNING: Large IO value detected {"io_id":108,"raw_value":4911176688530243589,"note":"Value kept but may cause issues"} 
[2026-08-01 18:36:04] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,25,85,24,241,157,16,151,159,193,45,128,131,9,34,10,66,150,158,127,35,99,64,1,240,160,227,149,189,191,4,113,205,91,184,36,239,51,2,147,5,7,182,108],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1645805774,"validated":0}]} 
[2026-08-01 18:36:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648809871543828480,"timestamp_seconds":648809871543828.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 18:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146189,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146189,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110901248001,"66":13374,"25":206,"85":12288,"24":35,"16":113600781172604928,"45":8976588875711707136},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-08-01 18:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110901248001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:36:04] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-01 18:36:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113600781172604928,"km_value":113600781172604.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8976588875711707136,"description":"Unknown IO ID 45"} 
[2026-08-01 18:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110901248001,"power":13374,"unknown_25":206,"unknown_85":12288,"ignition":35,"odometer":null,"unknown_45":8976588875711707136}} 
[2026-08-01 18:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":146189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578659,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:36:04] local.INFO: GPS data processed {"connection_id":146189,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:36:04] local.INFO: Acknowledgment sent {"connection_id":146189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:36:04] local.INFO: TCP Data received {"connection_id":146188,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:36:04] local.INFO: Processing buffer {"connection_id":146188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:36:04] local.INFO: IMEI packet received {"connection_id":146188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":146188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:36:05] local.INFO: TCP Data received {"connection_id":146190,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:36:05] local.INFO: Processing buffer {"connection_id":146190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:36:05] local.INFO: IMEI packet received {"connection_id":146190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":146190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:36:05] local.INFO: TCP Data received {"connection_id":146190,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd6ce450012d196680071fef08003a005824..."} 
[2026-08-01 18:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd6ce450012d196680071fef08003a005824..."} 
[2026-08-01 18:36:05] local.INFO: Processing buffer {"connection_id":146190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd6ce450012d196680071fef08003a005824..."} 
[2026-08-01 18:36:05] local.INFO: Packet analysis {"connection_id":146190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd6c"} 
[2026-08-01 18:36:05] local.INFO: Extracted packet for processing {"connection_id":146190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd6c"} 
[2026-08-01 18:36:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110895872001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785589458000,"timestamp_ms":1785589458000,"timestamp_seconds":1785589458,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd6ce450"} 
[2026-08-01 18:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 18:36:05] 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-08-01 18: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-08-01 18:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:36:05] 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-08-01 18:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110895872001,"66":12265,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110895872001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:36:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:36:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110895872001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":146190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:36:06] local.INFO: GPS data processed {"connection_id":146190,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:36:06] local.INFO: Acknowledgment sent {"connection_id":146190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:36:07] local.INFO: TCP Data received {"connection_id":146188,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:36:07] local.INFO: Processing buffer {"connection_id":146188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:36:07] local.INFO: IMEI packet received {"connection_id":146188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":146188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:36:08] local.INFO: TCP Data received {"connection_id":146188,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd6d4210012ce87600072eee60000201392c..."} 
[2026-08-01 18:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd6d4210012ce87600072eee60000201392c..."} 
[2026-08-01 18:36:08] local.INFO: Processing buffer {"connection_id":146188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd6d4210012ce87600072eee60000201392c..."} 
[2026-08-01 18:36:08] local.INFO: Packet analysis {"connection_id":146188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd6d"} 
[2026-08-01 18:36:08] local.INFO: Extracted packet for processing {"connection_id":146188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd6d"} 
[2026-08-01 18:36:08] local.INFO: GPS Element Parsed {"raw_longitude":753432064,"raw_latitude":120516192,"longitude_deg":75.3432064,"latitude_deg":12.0516192,"altitude":2,"angle":313,"satellites":44,"speed":14,"hex_longitude":"2ce87600","hex_latitude":"072eee60","is_valid_coordinates":true} 
[2026-08-01 18:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110905600001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366731018134093824,"note":"Value kept but may cause issues"} 
[2026-08-01 18:36:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1694057116481691648,"note":"Value kept but may cause issues"} 
[2026-08-01 18:36:08] 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-08-01 18:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785589482000,"timestamp_ms":1785589482000,"timestamp_seconds":1785589482,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd6d4210"} 
[2026-08-01 18:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:36: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-08-01 18:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 18:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":146188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":146188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":146188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110905600001,"66":27767,"28":206,"83":44032,"24":14,"16":366731018134093824,"44":-1694057116481691648},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-08-01 18:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110905600001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:36:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-01 18:36:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366731018134093824,"km_value":366731018134093.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:36:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1694057116481691648,"description":"Unknown IO ID 44"} 
[2026-08-01 18:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110905600001,"power":27767,"unknown_28":206,"unknown_83":44032,"ignition":14,"odometer":null,"unknown_44":-1694057116481691648}} 
[2026-08-01 18:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":146188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:36:08] local.INFO: GPS data processed {"connection_id":146188,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:36:08] local.INFO: Acknowledgment sent {"connection_id":146188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:36:09] local.INFO: TCP Data received {"connection_id":146188,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd6d6150012ce86f40072ef660000201462c..."} 
[2026-08-01 18:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd6d6150012ce86f40072ef660000201462c..."} 
[2026-08-01 18:36:09] local.INFO: Processing buffer {"connection_id":146188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd6d6150012ce86f40072ef660000201462c..."} 
[2026-08-01 18:36:09] local.INFO: Packet analysis {"connection_id":146188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd6d"} 
[2026-08-01 18:36:09] local.INFO: Extracted packet for processing {"connection_id":146188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd6d"} 
[2026-08-01 18:36:09] local.INFO: GPS Element Parsed {"raw_longitude":753430336,"raw_latitude":120518240,"longitude_deg":75.3430336,"latitude_deg":12.051824,"altitude":2,"angle":326,"satellites":44,"speed":12,"hex_longitude":"2ce86f40","hex_latitude":"072ef660","is_valid_coordinates":true} 
[2026-08-01 18:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110907392001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366731146983112704,"note":"Value kept but may cause issues"} 
[2026-08-01 18:36:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1696168178806267904,"note":"Value kept but may cause issues"} 
[2026-08-01 18:36:09] 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-08-01 18:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785589490000,"timestamp_ms":1785589490000,"timestamp_seconds":1785589490,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd6d6150"} 
[2026-08-01 18:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 18:36: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-08-01 18:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":146188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":146188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":146188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110907392001,"66":27767,"28":206,"83":44032,"24":12,"16":366731146983112704,"44":-1696168178806267904},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-08-01 18:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110907392001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:36:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-01 18:36:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366731146983112704,"km_value":366731146983112.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:36:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1696168178806267904,"description":"Unknown IO ID 44"} 
[2026-08-01 18:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110907392001,"power":27767,"unknown_28":206,"unknown_83":44032,"ignition":12,"odometer":null,"unknown_44":-1696168178806267904}} 
[2026-08-01 18:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":146188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:36:09] local.INFO: GPS data processed {"connection_id":146188,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:36:09] local.INFO: Acknowledgment sent {"connection_id":146188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:36:35] local.INFO: TCP Data received {"connection_id":146189,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd6d1718012d7c684005bf7a280009010622..."} 
[2026-08-01 18:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd6d1718012d7c684005bf7a280009010622..."} 
[2026-08-01 18:36:35] local.INFO: Processing buffer {"connection_id":146189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd6d1718012d7c684005bf7a280009010622..."} 
[2026-08-01 18:36:35] local.INFO: Packet analysis {"connection_id":146189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd6d"} 
[2026-08-01 18:36:35] local.INFO: Extracted packet for processing {"connection_id":146189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd6d"} 
[2026-08-01 18:36:35] local.INFO: GPS Element Parsed {"raw_longitude":763127872,"raw_latitude":96434728,"longitude_deg":76.3127872,"latitude_deg":9.6434728,"altitude":9,"angle":262,"satellites":34,"speed":31,"hex_longitude":"2d7c6840","hex_latitude":"05bf7a28","is_valid_coordinates":true} 
[2026-08-01 18:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110903040001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113601021690773504,"note":"Value kept but may cause issues"} 
[2026-08-01 18:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969622370037846016,"note":"Value kept but may cause issues"} 
[2026-08-01 18:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785589471000,"timestamp_ms":1785589471000,"timestamp_seconds":1785589471,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd6d1718"} 
[2026-08-01 18:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-01 18:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:36:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146189,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146189,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110903040001,"66":13428,"25":206,"85":12288,"24":31,"16":113601021690773504,"45":8969622370037846016},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-08-01 18:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110903040001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:36:35] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-01 18:36:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113601021690773504,"km_value":113601021690773.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969622370037846016,"description":"Unknown IO ID 45"} 
[2026-08-01 18:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110903040001,"power":13428,"unknown_25":206,"unknown_85":12288,"ignition":31,"odometer":null,"unknown_45":8969622370037846016}} 
[2026-08-01 18:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":146189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578663,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:36:35] local.INFO: GPS data processed {"connection_id":146189,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:36:35] local.INFO: Acknowledgment sent {"connection_id":146189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:36:37] local.INFO: TCP Data received {"connection_id":146190,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd6d3658012d196680071fef08003a005824..."} 
[2026-08-01 18:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd6d3658012d196680071fef08003a005824..."} 
[2026-08-01 18:36:37] local.INFO: Processing buffer {"connection_id":146190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd6d3658012d196680071fef08003a005824..."} 
[2026-08-01 18:36:37] local.INFO: Packet analysis {"connection_id":146190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd6d"} 
[2026-08-01 18:36:37] local.INFO: Extracted packet for processing {"connection_id":146190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd6d"} 
[2026-08-01 18:36:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":36,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 18:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110901248001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785589479000,"timestamp_ms":1785589479000,"timestamp_seconds":1785589479,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd6d3658"} 
[2026-08-01 18:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-01 18:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:36:37] 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-08-01 18:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110901248001,"66":12439,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110901248001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:36:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:36:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110901248001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":146190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:36:37] local.INFO: GPS data processed {"connection_id":146190,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:36:37] local.INFO: Acknowledgment sent {"connection_id":146190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:36:43] local.INFO: TCP Data received {"connection_id":147422,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:36:43] local.INFO: Processing buffer {"connection_id":147422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:36:43] local.INFO: IMEI packet received {"connection_id":147422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:36:43] local.INFO: IMEI acknowledgment sent {"connection_id":147422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:36:44] local.INFO: TCP Data received {"connection_id":147422,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:36:44] local.INFO: Processing buffer {"connection_id":147422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:36:44] local.INFO: IMEI packet received {"connection_id":147422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":147422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:36:48] local.INFO: TCP Data received {"connection_id":147422,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:36:48] local.INFO: Processing buffer {"connection_id":147422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:36:48] local.INFO: IMEI packet received {"connection_id":147422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":147422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:36:49] local.INFO: TCP Data received {"connection_id":147422,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd6e6ed8012ce85700072f6f500014013c29..."} 
[2026-08-01 18:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd6e6ed8012ce85700072f6f500014013c29..."} 
[2026-08-01 18:36:49] local.INFO: Processing buffer {"connection_id":147422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd6e6ed8012ce85700072f6f500014013c29..."} 
[2026-08-01 18:36:49] local.INFO: Packet analysis {"connection_id":147422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd6e"} 
[2026-08-01 18:36:49] local.INFO: Extracted packet for processing {"connection_id":147422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd6e"} 
[2026-08-01 18:36:49] local.INFO: GPS Element Parsed {"raw_longitude":753424128,"raw_latitude":120549200,"longitude_deg":75.3424128,"latitude_deg":12.05492,"altitude":20,"angle":316,"satellites":41,"speed":24,"hex_longitude":"2ce85700","hex_latitude":"072f6f50","is_valid_coordinates":true} 
[2026-08-01 18:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110926848001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366732852085129216,"note":"Value kept but may cause issues"} 
[2026-08-01 18:36:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1704471690610909184,"note":"Value kept but may cause issues"} 
[2026-08-01 18:36:49] 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-08-01 18:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785589559000,"timestamp_ms":1785589559000,"timestamp_seconds":1785589559,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd6e6ed8"} 
[2026-08-01 18:36:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:36:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 18:36:49] 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-08-01 18:36:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:36:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:36:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110926848001,"66":27713,"28":206,"83":44032,"24":24,"16":366732852085129216,"44":-1704471690610909184},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-08-01 18:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110926848001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:36:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-01 18:36:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366732852085129216,"km_value":366732852085129.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:36:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1704471690610909184,"description":"Unknown IO ID 44"} 
[2026-08-01 18:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110926848001,"power":27713,"unknown_28":206,"unknown_83":44032,"ignition":24,"odometer":null,"unknown_44":-1704471690610909184}} 
[2026-08-01 18:36:49] local.INFO: DEBUG: GPS processor result {"connection_id":147422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:36:49] local.INFO: GPS data processed {"connection_id":147422,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:36:49] local.INFO: Acknowledgment sent {"connection_id":147422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:36:57] local.INFO: TCP Data received {"connection_id":146191,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146191,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:36:57] local.INFO: Processing buffer {"connection_id":146191,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:36:57] local.INFO: IMEI packet received {"connection_id":146191,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 18:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":146191,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:36:59] local.INFO: TCP Data received {"connection_id":146192,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:36:59] local.INFO: Processing buffer {"connection_id":146192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:36:59] local.INFO: IMEI packet received {"connection_id":146192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 18:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":146192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:37:03] local.INFO: TCP Data received {"connection_id":146191,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146191,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:37:03] local.INFO: Processing buffer {"connection_id":146191,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:37:03] local.INFO: IMEI packet received {"connection_id":146191,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":146191,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:37:03] local.INFO: TCP Data received {"connection_id":146191,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd6ed850012d7ae50005bf45e00008010723..."} 
[2026-08-01 18:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd6ed850012d7ae50005bf45e00008010723..."} 
[2026-08-01 18:37:03] local.INFO: Processing buffer {"connection_id":146191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd6ed850012d7ae50005bf45e00008010723..."} 
[2026-08-01 18:37:03] local.INFO: Packet analysis {"connection_id":146191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd6e"} 
[2026-08-01 18:37:04] local.INFO: Extracted packet for processing {"connection_id":146191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd6e"} 
[2026-08-01 18:37:04] local.INFO: GPS Element Parsed {"raw_longitude":763028736,"raw_latitude":96421344,"longitude_deg":76.3028736,"latitude_deg":9.6421344,"altitude":8,"angle":263,"satellites":35,"speed":27,"hex_longitude":"2d7ae500","hex_latitude":"05bf45e0","is_valid_coordinates":true} 
[2026-08-01 18:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110930944001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113605823464210432,"note":"Value kept but may cause issues"} 
[2026-08-01 18:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865335891163215872,"note":"Value kept but may cause issues"} 
[2026-08-01 18:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785589586000,"timestamp_ms":1785589586000,"timestamp_seconds":1785589586,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd6ed850"} 
[2026-08-01 18:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:37:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-01 18:37:04] 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-08-01 18:37:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110930944001,"66":13406,"109":206,"85":12288,"24":27,"16":113605823464210432,"45":8865335891163215872},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-01 18:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110930944001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:37:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-01 18:37:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113605823464210432,"km_value":113605823464210.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865335891163215872,"description":"Unknown IO ID 45"} 
[2026-08-01 18:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110930944001,"power":13406,"unknown_109":206,"unknown_85":12288,"ignition":27,"odometer":null,"unknown_45":8865335891163215872}} 
[2026-08-01 18:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":146191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578666,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:37:04] local.INFO: GPS data processed {"connection_id":146191,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:37:04] local.INFO: Acknowledgment sent {"connection_id":146191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:37:05] local.INFO: TCP Data received {"connection_id":146192,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:37:05] local.INFO: Processing buffer {"connection_id":146192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:37:05] local.INFO: IMEI packet received {"connection_id":146192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":146192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:37:05] local.INFO: TCP Data received {"connection_id":146192,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd6d8860012d196680071fef08003a005825..."} 
[2026-08-01 18:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd6d8860012d196680071fef08003a005825..."} 
[2026-08-01 18:37:05] local.INFO: Processing buffer {"connection_id":146192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd6d8860012d196680071fef08003a005825..."} 
[2026-08-01 18:37:05] local.INFO: Packet analysis {"connection_id":146192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd6d"} 
[2026-08-01 18:37:05] local.INFO: Extracted packet for processing {"connection_id":146192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd6d"} 
[2026-08-01 18:37:05] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533320,"longitude_deg":75.663936,"latitude_deg":11.953332,"altitude":58,"angle":88,"satellites":37,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef08","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110906624001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10300023065542656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661570560,"note":"Value kept but may cause issues"} 
[2026-08-01 18:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785589500000,"timestamp_ms":1785589500000,"timestamp_seconds":1785589500,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd6d8860"} 
[2026-08-01 18:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 18:37:05] 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-08-01 18: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-08-01 18:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:37:05] 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-08-01 18:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110906624001,"66":12428,"102":206,"83":41984,"24":0,"16":10300023065542656,"45":1830291066661570560},"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-08-01 18:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110906624001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:37:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 18:37:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10300023065542656,"km_value":10300023065542.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661570560,"description":"Unknown IO ID 45"} 
[2026-08-01 18:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110906624001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661570560}} 
[2026-08-01 18:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":146192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578667,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:37:05] local.INFO: GPS data processed {"connection_id":146192,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:37:05] local.INFO: Acknowledgment sent {"connection_id":146192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:37:20] local.INFO: TCP Data received {"connection_id":147422,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd6e72c0012ce85500072f70a80014012c2a..."} 
[2026-08-01 18:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd6e72c0012ce85500072f70a80014012c2a..."} 
[2026-08-01 18:37:20] local.INFO: Processing buffer {"connection_id":147422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd6e72c0012ce85500072f70a80014012c2a..."} 
[2026-08-01 18:37:20] local.INFO: Packet analysis {"connection_id":147422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd6e"} 
[2026-08-01 18:37:20] local.INFO: Extracted packet for processing {"connection_id":147422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd6e"} 
[2026-08-01 18:37:20] local.INFO: GPS Element Parsed {"raw_longitude":753423616,"raw_latitude":120549544,"longitude_deg":75.3423616,"latitude_deg":12.0549544,"altitude":20,"angle":300,"satellites":42,"speed":25,"hex_longitude":"2ce85500","hex_latitude":"072f70a8","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110927104001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366732882149900288,"note":"Value kept but may cause issues"} 
[2026-08-01 18:37:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1704893903075848192,"note":"Value kept but may cause issues"} 
[2026-08-01 18:37:20] 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-08-01 18:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785589560000,"timestamp_ms":1785589560000,"timestamp_seconds":1785589560,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd6e72c0"} 
[2026-08-01 18:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:37:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 18:37:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:37:20] 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-08-01 18:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110927104001,"66":27745,"28":206,"83":44032,"24":25,"16":366732882149900288,"44":-1704893903075848192},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-08-01 18:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110927104001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:37:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-01 18:37:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366732882149900288,"km_value":366732882149900.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:37:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1704893903075848192,"description":"Unknown IO ID 44"} 
[2026-08-01 18:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110927104001,"power":27745,"unknown_28":206,"unknown_83":44032,"ignition":25,"odometer":null,"unknown_44":-1704893903075848192}} 
[2026-08-01 18:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":147422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:37:20] local.INFO: GPS data processed {"connection_id":147422,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:37:20] local.INFO: Acknowledgment sent {"connection_id":147422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:37:35] local.INFO: TCP Data received {"connection_id":146191,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd6f0730012d7abf0005bf45e00009010f24..."} 
[2026-08-01 18:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd6f0730012d7abf0005bf45e00009010f24..."} 
[2026-08-01 18:37:35] local.INFO: Processing buffer {"connection_id":146191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd6f0730012d7abf0005bf45e00009010f24..."} 
[2026-08-01 18:37:35] local.INFO: Packet analysis {"connection_id":146191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd6f"} 
[2026-08-01 18:37:35] local.INFO: Extracted packet for processing {"connection_id":146191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd6f"} 
[2026-08-01 18:37:35] local.INFO: GPS Element Parsed {"raw_longitude":763019008,"raw_latitude":96421344,"longitude_deg":76.3019008,"latitude_deg":9.6421344,"altitude":9,"angle":271,"satellites":36,"speed":34,"hex_longitude":"2d7abf00","hex_latitude":"05bf45e0","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110934016001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113606287320678400,"note":"Value kept but may cause issues"} 
[2026-08-01 18:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8855484266977812480,"note":"Value kept but may cause issues"} 
[2026-08-01 18:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785589598000,"timestamp_ms":1785589598000,"timestamp_seconds":1785589598,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd6f0730"} 
[2026-08-01 18:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:37: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-08-01 18: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-01 18:37:35] 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-08-01 18:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110934016001,"66":13526,"44":206,"85":12288,"24":34,"16":113606287320678400,"45":8855484266977812480},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-08-01 18:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110934016001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:37:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-01 18:37:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113606287320678400,"km_value":113606287320678.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8855484266977812480,"description":"Unknown IO ID 45"} 
[2026-08-01 18:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110934016001,"power":13526,"unknown_44":206,"unknown_85":12288,"ignition":34,"odometer":null,"unknown_45":8855484266977812480}} 
[2026-08-01 18:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":146191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578669,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:37:35] local.INFO: GPS data processed {"connection_id":146191,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:37:35] local.INFO: Acknowledgment sent {"connection_id":146191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:37:37] local.INFO: TCP Data received {"connection_id":146192,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd6f39f8012d19cd40071ffa400032002d1f..."} 
[2026-08-01 18:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd6f39f8012d19cd40071ffa400032002d1f..."} 
[2026-08-01 18:37:37] local.INFO: Processing buffer {"connection_id":146192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd6f39f8012d19cd40071ffa400032002d1f..."} 
[2026-08-01 18:37:37] local.INFO: Packet analysis {"connection_id":146192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd6f"} 
[2026-08-01 18:37:37] local.INFO: Extracted packet for processing {"connection_id":146192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd6f"} 
[2026-08-01 18:37:37] local.INFO: GPS Element Parsed {"raw_longitude":756665664,"raw_latitude":119536192,"longitude_deg":75.6665664,"latitude_deg":11.9536192,"altitude":50,"angle":45,"satellites":31,"speed":21,"hex_longitude":"2d19cd40","hex_latitude":"071ffa40","is_valid_coordinates":true} 
[2026-08-01 18:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110939648001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10301358800371712,"note":"Value kept but may cause issues"} 
[2026-08-01 18:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858368195588853760,"note":"Value kept but may cause issues"} 
[2026-08-01 18:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785589611000,"timestamp_ms":1785589611000,"timestamp_seconds":1785589611,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd6f39f8"} 
[2026-08-01 18:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-01 18:37:37] 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-08-01 18:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:37:37] 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-08-01 18:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110939648001,"66":14233,"101":206,"83":41984,"24":21,"16":10301358800371712,"45":1858368195588853760},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-01 18:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110939648001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:37:37] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-01 18:37:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10301358800371712,"km_value":10301358800371.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858368195588853760,"description":"Unknown IO ID 45"} 
[2026-08-01 18:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110939648001,"power":14233,"unknown_101":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1858368195588853760}} 
[2026-08-01 18:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":146192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578670,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:37:37] local.INFO: GPS data processed {"connection_id":146192,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:37:37] local.INFO: Acknowledgment sent {"connection_id":146192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:37:42] local.INFO: TCP Data received {"connection_id":146193,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:37:42] local.INFO: Processing buffer {"connection_id":146193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:37:42] local.INFO: IMEI packet received {"connection_id":146193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":146193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:37:43] local.INFO: TCP Data received {"connection_id":146193,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:37:43] local.INFO: Processing buffer {"connection_id":146193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:37:43] local.INFO: IMEI packet received {"connection_id":146193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":146193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:37:48] local.INFO: TCP Data received {"connection_id":146193,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:37:48] local.INFO: Processing buffer {"connection_id":146193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:37:48] local.INFO: IMEI packet received {"connection_id":146193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":146193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:37:49] local.INFO: TCP Data received {"connection_id":146193,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd6f3610012ce805c0072f99e00023012926..."} 
[2026-08-01 18:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd6f3610012ce805c0072f99e00023012926..."} 
[2026-08-01 18:37:49] local.INFO: Processing buffer {"connection_id":146193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd6f3610012ce805c0072f99e00023012926..."} 
[2026-08-01 18:37:49] local.INFO: Packet analysis {"connection_id":146193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd6f"} 
[2026-08-01 18:37:49] local.INFO: Extracted packet for processing {"connection_id":146193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd6f"} 
[2026-08-01 18:37:49] local.INFO: GPS Element Parsed {"raw_longitude":753403328,"raw_latitude":120560096,"longitude_deg":75.3403328,"latitude_deg":12.0560096,"altitude":35,"angle":297,"satellites":38,"speed":21,"hex_longitude":"2ce805c0","hex_latitude":"072f99e0","is_valid_coordinates":true} 
[2026-08-01 18:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110939904001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366734127690416128,"note":"Value kept but may cause issues"} 
[2026-08-01 18:37:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1727341532465817600,"note":"Value kept but may cause issues"} 
[2026-08-01 18:37:49] 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-08-01 18:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785589610000,"timestamp_ms":1785589610000,"timestamp_seconds":1785589610,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd6f3610"} 
[2026-08-01 18:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:37:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-01 18:37:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110939904001,"66":27626,"28":206,"83":44032,"24":21,"16":366734127690416128,"44":-1727341532465817600},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-08-01 18:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110939904001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:37:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-01 18:37:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366734127690416128,"km_value":366734127690416.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:37:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1727341532465817600,"description":"Unknown IO ID 44"} 
[2026-08-01 18:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110939904001,"power":27626,"unknown_28":206,"unknown_83":44032,"ignition":21,"odometer":null,"unknown_44":-1727341532465817600}} 
[2026-08-01 18:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":146193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:37:49] local.INFO: GPS data processed {"connection_id":146193,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:37:49] local.INFO: Acknowledgment sent {"connection_id":146193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:37:53] local.INFO: TCP Data received {"connection_id":148719,"ip":"45.148.10.204","data_length":240,"data_hex":"474554202f2e656e762e70726f64756374696f6e20485454502f312e310d0a48..."} 
[2026-08-01 18:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148719,"packet_length":240,"packet_hex":"474554202f2e656e762e70726f64756374696f6e20485454502f312e310d0a48..."} 
[2026-08-01 18:37:53] local.INFO: Processing buffer {"connection_id":148719,"buffer_length":240,"buffer_hex":"474554202f2e656e762e70726f64756374696f6e20485454502f312e310d0a48..."} 
[2026-08-01 18:37:53] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":148719,"buffer_length":240,"first_bytes_hex":"474554202f2e656e762e70726f647563"} 
[2026-08-01 18:37:53] local.INFO: TCP Data received {"connection_id":148720,"ip":"45.148.10.204","data_length":1511,"data_hex":"16030105e2010005de03031e4ade0e9cf351961a442b18babb6ff5a6a8ef488b..."} 
[2026-08-01 18:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148720,"packet_length":1511,"packet_hex":"16030105e2010005de03031e4ade0e9cf351961a442b18babb6ff5a6a8ef488b..."} 
[2026-08-01 18:37:53] local.INFO: Processing buffer {"connection_id":148720,"buffer_length":1511,"buffer_hex":"16030105e2010005de03031e4ade0e9cf351961a442b18babb6ff5a6a8ef488b..."} 
[2026-08-01 18:37:53] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":148720,"buffer_length":1511,"first_bytes_hex":"16030105e2010005de03031e4ade0e9c"} 
[2026-08-01 18:38:03] local.INFO: TCP Data received {"connection_id":146415,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:38:03] local.INFO: Processing buffer {"connection_id":146415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:38:03] local.INFO: IMEI packet received {"connection_id":146415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 18:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":146415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:38:03] local.INFO: TCP Data received {"connection_id":146414,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146414,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:38:03] local.INFO: Processing buffer {"connection_id":146414,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:38:03] local.INFO: IMEI packet received {"connection_id":146414,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 18:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":146414,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:38:04] local.INFO: TCP Data received {"connection_id":146414,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146414,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:38:04] local.INFO: Processing buffer {"connection_id":146414,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:38:04] local.INFO: IMEI packet received {"connection_id":146414,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":146414,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:38:04] local.INFO: TCP Data received {"connection_id":146414,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd6f2e40012d7a9f4005bf42a80008010323..."} 
[2026-08-01 18:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd6f2e40012d7a9f4005bf42a80008010323..."} 
[2026-08-01 18:38:04] local.INFO: Processing buffer {"connection_id":146414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd6f2e40012d7a9f4005bf42a80008010323..."} 
[2026-08-01 18:38:04] local.INFO: Packet analysis {"connection_id":146414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd6f"} 
[2026-08-01 18:38:04] local.INFO: Extracted packet for processing {"connection_id":146414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd6f"} 
[2026-08-01 18:38:04] local.INFO: GPS Element Parsed {"raw_longitude":763010880,"raw_latitude":96420520,"longitude_deg":76.301088,"latitude_deg":9.642052,"altitude":8,"angle":259,"satellites":35,"speed":29,"hex_longitude":"2d7a9f40","hex_latitude":"05bf42a8","is_valid_coordinates":true} 
[2026-08-01 18:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110937088001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113606682457669632,"note":"Value kept but may cause issues"} 
[2026-08-01 18:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8844788217862807552,"note":"Value kept but may cause issues"} 
[2026-08-01 18:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785589608000,"timestamp_ms":1785589608000,"timestamp_seconds":1785589608,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd6f2e40"} 
[2026-08-01 18:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:38: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-08-01 18:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-01 18:38:04] 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-08-01 18:38:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110937088001,"66":13406,"44":206,"85":12288,"24":29,"16":113606682457669632,"45":8844788217862807552},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-08-01 18:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110937088001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:38:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-01 18:38:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113606682457669632,"km_value":113606682457669.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8844788217862807552,"description":"Unknown IO ID 45"} 
[2026-08-01 18:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110937088001,"power":13406,"unknown_44":206,"unknown_85":12288,"ignition":29,"odometer":null,"unknown_45":8844788217862807552}} 
[2026-08-01 18:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":146414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578672,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:38:04] local.INFO: GPS data processed {"connection_id":146414,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:38:04] local.INFO: Acknowledgment sent {"connection_id":146414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:38:04] local.INFO: TCP Data received {"connection_id":146415,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:38:04] local.INFO: Processing buffer {"connection_id":146415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:38:04] local.INFO: IMEI packet received {"connection_id":146415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":146415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:38:08] local.INFO: TCP Data received {"connection_id":146414,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd6f4998012d7a884005bf40a80008010e22..."} 
[2026-08-01 18:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd6f4998012d7a884005bf40a80008010e22..."} 
[2026-08-01 18:38:08] local.INFO: Processing buffer {"connection_id":146414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd6f4998012d7a884005bf40a80008010e22..."} 
[2026-08-01 18:38:08] local.INFO: Packet analysis {"connection_id":146414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd6f"} 
[2026-08-01 18:38:08] local.INFO: Extracted packet for processing {"connection_id":146414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd6f"} 
[2026-08-01 18:38:08] local.INFO: GPS Element Parsed {"raw_longitude":763004992,"raw_latitude":96420008,"longitude_deg":76.3004992,"latitude_deg":9.6420008,"altitude":8,"angle":270,"satellites":34,"speed":34,"hex_longitude":"2d7a8840","hex_latitude":"05bf40a8","is_valid_coordinates":true} 
[2026-08-01 18:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110939648001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113606961630543872,"note":"Value kept but may cause issues"} 
[2026-08-01 18:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835851387352033280,"note":"Value kept but may cause issues"} 
[2026-08-01 18:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785589615000,"timestamp_ms":1785589615000,"timestamp_seconds":1785589615,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd6f4998"} 
[2026-08-01 18:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:38: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-08-01 18:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-01 18:38:08] 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-08-01 18:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":146414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":146414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":146414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:38:08] 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-08-01 18:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110939648001,"66":13374,"44":206,"85":12288,"24":34,"16":113606961630543872,"45":8835851387352033280},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-08-01 18:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110939648001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:38:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-01 18:38:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113606961630543872,"km_value":113606961630543.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835851387352033280,"description":"Unknown IO ID 45"} 
[2026-08-01 18:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110939648001,"power":13374,"unknown_44":206,"unknown_85":12288,"ignition":34,"odometer":null,"unknown_45":8835851387352033280}} 
[2026-08-01 18:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":146414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578673,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:38:08] local.INFO: GPS data processed {"connection_id":146414,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:38:08] local.INFO: Acknowledgment sent {"connection_id":146414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:38:10] local.INFO: TCP Data received {"connection_id":146415,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:38:10] local.INFO: Processing buffer {"connection_id":146415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:38:10] local.INFO: IMEI packet received {"connection_id":146415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":146415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:38:10] local.INFO: TCP Data received {"connection_id":146415,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd6f3de0012d19cf00071ffb98003100391f..."} 
[2026-08-01 18:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd6f3de0012d19cf00071ffb98003100391f..."} 
[2026-08-01 18:38:10] local.INFO: Processing buffer {"connection_id":146415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd6f3de0012d19cf00071ffb98003100391f..."} 
[2026-08-01 18:38:10] local.INFO: Packet analysis {"connection_id":146415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd6f"} 
[2026-08-01 18:38:10] local.INFO: Extracted packet for processing {"connection_id":146415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd6f"} 
[2026-08-01 18:38:10] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119536536,"longitude_deg":75.6666112,"latitude_deg":11.9536536,"altitude":49,"angle":57,"satellites":31,"speed":22,"hex_longitude":"2d19cf00","hex_latitude":"071ffb98","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110940416001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10301384570175488,"note":"Value kept but may cause issues"} 
[2026-08-01 18:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859212620519325696,"note":"Value kept but may cause issues"} 
[2026-08-01 18:38: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-08-01 18:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785589612000,"timestamp_ms":1785589612000,"timestamp_seconds":1785589612,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd6f3de0"} 
[2026-08-01 18:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:38: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-08-01 18: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-01 18:38:10] 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-08-01 18: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-08-01 18:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18: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-08-01 18:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110940416001,"66":14233,"101":206,"83":41984,"24":22,"16":10301384570175488,"45":1859212620519325696},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-01 18:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110940416001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:38:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-01 18:38:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10301384570175488,"km_value":10301384570175.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859212620519325696,"description":"Unknown IO ID 45"} 
[2026-08-01 18:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110940416001,"power":14233,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1859212620519325696}} 
[2026-08-01 18:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":146415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578674,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:38:11] local.INFO: GPS data processed {"connection_id":146415,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:38:11] local.INFO: Acknowledgment sent {"connection_id":146415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:38:12] local.INFO: TCP Data received {"connection_id":146415,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd6f4d80012d19d74007200148002d002e1f..."} 
[2026-08-01 18:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd6f4d80012d19d74007200148002d002e1f..."} 
[2026-08-01 18:38:12] local.INFO: Processing buffer {"connection_id":146415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd6f4d80012d19d74007200148002d002e1f..."} 
[2026-08-01 18:38:12] local.INFO: Packet analysis {"connection_id":146415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd6f"} 
[2026-08-01 18:38:12] local.INFO: Extracted packet for processing {"connection_id":146415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd6f"} 
[2026-08-01 18:38:12] local.INFO: GPS Element Parsed {"raw_longitude":756668224,"raw_latitude":119537992,"longitude_deg":75.6668224,"latitude_deg":11.9537992,"altitude":45,"angle":46,"satellites":31,"speed":25,"hex_longitude":"2d19d740","hex_latitude":"07200148","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110940672001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10301509124227072,"note":"Value kept but may cause issues"} 
[2026-08-01 18:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201728657408,"note":"Value kept but may cause issues"} 
[2026-08-01 18: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-08-01 18:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785589616000,"timestamp_ms":1785589616000,"timestamp_seconds":1785589616,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd6f4d80"} 
[2026-08-01 18:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:38:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-01 18:38:12] 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-08-01 18: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-08-01 18:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":146415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":146415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":146415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:38:12] 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-08-01 18:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110940672001,"66":14265,"101":206,"83":41984,"24":25,"16":10301509124227072,"45":1859705201728657408},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-01 18:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110940672001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:38:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-01 18:38:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10301509124227072,"km_value":10301509124227.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201728657408,"description":"Unknown IO ID 45"} 
[2026-08-01 18:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110940672001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1859705201728657408}} 
[2026-08-01 18:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":146415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:38:12] local.INFO: GPS data processed {"connection_id":146415,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:38:12] local.INFO: Acknowledgment sent {"connection_id":146415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:38:20] local.INFO: TCP Data received {"connection_id":146193,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd6f39f8012ce803c0072f9a780022011827..."} 
[2026-08-01 18:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd6f39f8012ce803c0072f9a780022011827..."} 
[2026-08-01 18:38:20] local.INFO: Processing buffer {"connection_id":146193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd6f39f8012ce803c0072f9a780022011827..."} 
[2026-08-01 18:38:20] local.INFO: Packet analysis {"connection_id":146193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd6f"} 
[2026-08-01 18:38:20] local.INFO: Extracted packet for processing {"connection_id":146193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd6f"} 
[2026-08-01 18:38:20] local.INFO: GPS Element Parsed {"raw_longitude":753402816,"raw_latitude":120560248,"longitude_deg":75.3402816,"latitude_deg":12.0560248,"altitude":34,"angle":280,"satellites":39,"speed":23,"hex_longitude":"2ce803c0","hex_latitude":"072f9a78","is_valid_coordinates":true} 
[2026-08-01 18:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110940160001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366734153460219904,"note":"Value kept but may cause issues"} 
[2026-08-01 18:38:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1727763744930799616,"note":"Value kept but may cause issues"} 
[2026-08-01 18:38:20] 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-08-01 18:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785589611000,"timestamp_ms":1785589611000,"timestamp_seconds":1785589611,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd6f39f8"} 
[2026-08-01 18:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:38: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-08-01 18:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-01 18:38:20] 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-08-01 18:38:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:38:20] 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-08-01 18:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110940160001,"66":27626,"28":206,"83":44032,"24":23,"16":366734153460219904,"44":-1727763744930799616},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-08-01 18:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110940160001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:38:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-01 18:38:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366734153460219904,"km_value":366734153460219.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:38:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1727763744930799616,"description":"Unknown IO ID 44"} 
[2026-08-01 18:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110940160001,"power":27626,"unknown_28":206,"unknown_83":44032,"ignition":23,"odometer":null,"unknown_44":-1727763744930799616}} 
[2026-08-01 18:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":146193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:38:20] local.INFO: GPS data processed {"connection_id":146193,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:38:20] local.INFO: Acknowledgment sent {"connection_id":146193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:38:39] local.INFO: TCP Data received {"connection_id":146414,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd7089e8012d7a400005be8648000700bb22..."} 
[2026-08-01 18:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd7089e8012d7a400005be8648000700bb22..."} 
[2026-08-01 18:38:39] local.INFO: Processing buffer {"connection_id":146414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd7089e8012d7a400005be8648000700bb22..."} 
[2026-08-01 18:38:39] local.INFO: Packet analysis {"connection_id":146414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd70"} 
[2026-08-01 18:38:39] local.INFO: Extracted packet for processing {"connection_id":146414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd70"} 
[2026-08-01 18:38:39] local.INFO: GPS Element Parsed {"raw_longitude":762986496,"raw_latitude":96372296,"longitude_deg":76.2986496,"latitude_deg":9.6372296,"altitude":7,"angle":187,"satellites":34,"speed":51,"hex_longitude":"2d7a4000","hex_latitude":"05be8648","is_valid_coordinates":true} 
[2026-08-01 18:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110960640001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8810518639438004224,"note":"Value kept but may cause issues"} 
[2026-08-01 18:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113610204330852352,"note":"Value kept but may cause issues"} 
[2026-08-01 18:38:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-01 18:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785589697000,"timestamp_ms":1785589697000,"timestamp_seconds":1785589697,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd7089e8"} 
[2026-08-01 18:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:38: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-08-01 18:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-01 18:38:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:38:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:38:39] 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-08-01 18:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110960640001,"66":13276,"45":8810518639438004224,"85":12288,"24":51,"16":113610204330852352},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-01 18:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110960640001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8810518639438004224,"description":"Unknown IO ID 45"} 
[2026-08-01 18:38:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-01 18:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113610204330852352,"km_value":113610204330852.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:38:39] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457110960640001,"power":13276,"unknown_45":8810518639438004224,"unknown_85":12288,"ignition":51,"odometer":null}} 
[2026-08-01 18:38:40] local.INFO: DEBUG: GPS processor result {"connection_id":146414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578677,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:38:40] local.INFO: GPS data processed {"connection_id":146414,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:38:40] local.INFO: Acknowledgment sent {"connection_id":146414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:38:43] local.INFO: TCP Data received {"connection_id":146415,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd701c88012d1a7040071fd5e00022007821..."} 
[2026-08-01 18:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd701c88012d1a7040071fd5e00022007821..."} 
[2026-08-01 18:38:43] local.INFO: Processing buffer {"connection_id":146415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd701c88012d1a7040071fd5e00022007821..."} 
[2026-08-01 18:38:43] local.INFO: Packet analysis {"connection_id":146415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd70"} 
[2026-08-01 18:38:43] local.INFO: Extracted packet for processing {"connection_id":146415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd70"} 
[2026-08-01 18:38:43] local.INFO: GPS Element Parsed {"raw_longitude":756707392,"raw_latitude":119526880,"longitude_deg":75.6707392,"latitude_deg":11.952688,"altitude":34,"angle":120,"satellites":33,"speed":33,"hex_longitude":"2d1a7040","hex_latitude":"071fd5e0","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110953728001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10303592183365632,"note":"Value kept but may cause issues"} 
[2026-08-01 18:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1899745017163659264,"note":"Value kept but may cause issues"} 
[2026-08-01 18: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-08-01 18:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785589669000,"timestamp_ms":1785589669000,"timestamp_seconds":1785589669,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd701c88"} 
[2026-08-01 18:38:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:38:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-01 18:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6974959484,"note":"Value kept but may cause issues"} 
[2026-08-01 18:38:43] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-01 18:38:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 18:38:43] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3178204160,"note":"Value kept but may cause issues"} 
[2026-08-01 18:38:43] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503756821364736,"note":"Value kept but may cause issues"} 
[2026-08-01 18:38:43] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4201644074,"note":"Value kept but may cause issues"} 
[2026-08-01 18:38:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-01 18:38:43] local.WARNING: Large IO value detected {"io_id":147,"raw_value":3489738009,"note":"Value kept but may cause issues"} 
[2026-08-01 18:38:43] local.WARNING: Large IO value detected {"io_id":238,"raw_value":3221692410,"note":"Value kept but may cause issues"} 
[2026-08-01 18:38:43] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2576154624,"note":"Value kept but may cause issues"} 
[2026-08-01 18:38:43] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837560,"note":"Value kept but may cause issues"} 
[2026-08-01 18:38:43] local.WARNING: Large IO value detected {"io_id":96,"raw_value":84752436107354116,"note":"Value kept but may cause issues"} 
[2026-08-01 18:38:43] local.WARNING: Large IO value detected {"io_id":248,"raw_value":11259648178918400,"note":"Value kept but may cause issues"} 
[2026-08-01 18:38:43] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,101,83,24,241,157,16,154,159,245,45,227,37,34,10,66,225,64,233,39,190,192,1,240,218,189,31,4,113,205,25,147,238,128,36,239,55,2,7,41,26,206,96,248],"length":529,"final_offset":659,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-08-01 18:38:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2594191183435792384,"timestamp_seconds":2594191183435792.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 18:38:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":146415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":146415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":146415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:38:43] 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-08-01 18:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110953728001,"66":14341,"101":206,"83":41984,"24":33,"16":10303592183365632,"45":1899745017163659264},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-01 18:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110953728001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:38:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-01 18:38:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10303592183365632,"km_value":10303592183365.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1899745017163659264,"description":"Unknown IO ID 45"} 
[2026-08-01 18:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110953728001,"power":14341,"unknown_101":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1899745017163659264}} 
[2026-08-01 18:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":146415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:38:43] local.INFO: GPS data processed {"connection_id":146415,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:38:43] local.INFO: Acknowledgment sent {"connection_id":146415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:38:43] local.INFO: TCP Data received {"connection_id":147423,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:38:43] local.INFO: Processing buffer {"connection_id":147423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:38:43] local.INFO: IMEI packet received {"connection_id":147423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":147423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:38:44] local.INFO: TCP Data received {"connection_id":147423,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:38:44] local.INFO: Processing buffer {"connection_id":147423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:38:44] local.INFO: IMEI packet received {"connection_id":147423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":147423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:38:48] local.INFO: TCP Data received {"connection_id":147423,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:38:48] local.INFO: Processing buffer {"connection_id":147423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:38:48] local.INFO: IMEI packet received {"connection_id":147423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":147423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:38:49] local.INFO: TCP Data received {"connection_id":147423,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd6f3de0012ce80100072f9a780022010a28..."} 
[2026-08-01 18:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd6f3de0012ce80100072f9a780022010a28..."} 
[2026-08-01 18:38:49] local.INFO: Processing buffer {"connection_id":147423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd6f3de0012ce80100072f9a780022010a28..."} 
[2026-08-01 18:38:49] local.INFO: Packet analysis {"connection_id":147423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd6f"} 
[2026-08-01 18:38:49] local.INFO: Extracted packet for processing {"connection_id":147423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd6f"} 
[2026-08-01 18:38:49] local.INFO: GPS Element Parsed {"raw_longitude":753402112,"raw_latitude":120560248,"longitude_deg":75.3402112,"latitude_deg":12.0560248,"altitude":34,"angle":266,"satellites":40,"speed":24,"hex_longitude":"2ce80100","hex_latitude":"072f9a78","is_valid_coordinates":true} 
[2026-08-01 18:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110940416001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366734187819958272,"note":"Value kept but may cause issues"} 
[2026-08-01 18:38:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1728326694884182016,"note":"Value kept but may cause issues"} 
[2026-08-01 18:38:49] 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-08-01 18:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785589612000,"timestamp_ms":1785589612000,"timestamp_seconds":1785589612,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd6f3de0"} 
[2026-08-01 18:38:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:38: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-08-01 18:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-01 18:38:49] 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-08-01 18:38:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:38:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:38:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110940416001,"66":27713,"28":206,"83":44032,"24":24,"16":366734187819958272,"44":-1728326694884182016},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-08-01 18:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110940416001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:38:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-01 18:38:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366734187819958272,"km_value":366734187819958.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:38:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1728326694884182016,"description":"Unknown IO ID 44"} 
[2026-08-01 18:38:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110940416001,"power":27713,"unknown_28":206,"unknown_83":44032,"ignition":24,"odometer":null,"unknown_44":-1728326694884182016}} 
[2026-08-01 18:38:49] local.INFO: DEBUG: GPS processor result {"connection_id":147423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:38:49] local.INFO: GPS data processed {"connection_id":147423,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:38:49] local.INFO: Acknowledgment sent {"connection_id":147423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:38:59] local.INFO: TCP Data received {"connection_id":147424,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147424,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:38:59] local.INFO: Processing buffer {"connection_id":147424,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:38:59] local.INFO: IMEI packet received {"connection_id":147424,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 18:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":147424,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:39:00] local.INFO: TCP Data received {"connection_id":147424,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147424,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:39:00] local.INFO: Processing buffer {"connection_id":147424,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:39:00] local.INFO: IMEI packet received {"connection_id":147424,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":147424,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:39:01] local.INFO: TCP Data received {"connection_id":147424,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147424,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:39:01] local.INFO: Processing buffer {"connection_id":147424,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:39:01] local.INFO: IMEI packet received {"connection_id":147424,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":147424,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:39:02] local.INFO: TCP Data received {"connection_id":147424,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147424,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:39:02] local.INFO: Processing buffer {"connection_id":147424,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:39:02] local.INFO: IMEI packet received {"connection_id":147424,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":147424,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:39:20] local.INFO: TCP Data received {"connection_id":147423,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd70c868012ce77600073046580025012d29..."} 
[2026-08-01 18:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd70c868012ce77600073046580025012d29..."} 
[2026-08-01 18:39:20] local.INFO: Processing buffer {"connection_id":147423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd70c868012ce77600073046580025012d29..."} 
[2026-08-01 18:39:20] local.INFO: Packet analysis {"connection_id":147423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd70"} 
[2026-08-01 18:39:20] local.INFO: Extracted packet for processing {"connection_id":147423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd70"} 
[2026-08-01 18:39:20] local.INFO: GPS Element Parsed {"raw_longitude":753366528,"raw_latitude":120604248,"longitude_deg":75.3366528,"latitude_deg":12.0604248,"altitude":37,"angle":301,"satellites":41,"speed":25,"hex_longitude":"2ce77600","hex_latitude":"07304658","is_valid_coordinates":true} 
[2026-08-01 18:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110966272001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366737370390724608,"note":"Value kept but may cause issues"} 
[2026-08-01 18:39:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1767592454124122112,"note":"Value kept but may cause issues"} 
[2026-08-01 18:39:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785589713000,"timestamp_ms":1785589713000,"timestamp_seconds":1785589713,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd70c868"} 
[2026-08-01 18:39:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:39: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-08-01 18:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 18:39:20] 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-08-01 18:39:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:39:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:39:20] 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-08-01 18:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110966272001,"66":27658,"67":206,"83":44032,"24":25,"16":366737370390724608,"44":-1767592454124122112},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,83,24,16,44]} 
[2026-08-01 18:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110966272001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:39:20] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-01 18:39:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366737370390724608,"km_value":366737370390724.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:39:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1767592454124122112,"description":"Unknown IO ID 44"} 
[2026-08-01 18:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110966272001,"power":27658,"unknown_67":206,"unknown_83":44032,"ignition":25,"odometer":null,"unknown_44":-1767592454124122112}} 
[2026-08-01 18:39:20] local.INFO: DEBUG: GPS processor result {"connection_id":147423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:39:20] local.INFO: GPS data processed {"connection_id":147423,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:39:20] local.INFO: Acknowledgment sent {"connection_id":147423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:39:37] local.INFO: TCP Data received {"connection_id":146416,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146416,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:39:37] local.INFO: Processing buffer {"connection_id":146416,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:39:37] local.INFO: IMEI packet received {"connection_id":146416,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 18:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":146416,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:39:41] local.INFO: TCP Data received {"connection_id":146416,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146416,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:39:41] local.INFO: Processing buffer {"connection_id":146416,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:39:41] local.INFO: IMEI packet received {"connection_id":146416,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":146416,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:39:48] local.INFO: TCP Data received {"connection_id":147425,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:39:48] local.INFO: Processing buffer {"connection_id":147425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:39:48] local.INFO: IMEI packet received {"connection_id":147425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":147425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:39:51] local.INFO: TCP Data received {"connection_id":147425,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:39:51] local.INFO: Processing buffer {"connection_id":147425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:39:51] local.INFO: IMEI packet received {"connection_id":147425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":147425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:39:52] local.INFO: TCP Data received {"connection_id":147425,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd712240012ce754c0073054a0002500dc2c..."} 
[2026-08-01 18:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd712240012ce754c0073054a0002500dc2c..."} 
[2026-08-01 18:39:52] local.INFO: Processing buffer {"connection_id":147425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd712240012ce754c0073054a0002500dc2c..."} 
[2026-08-01 18:39:52] local.INFO: Packet analysis {"connection_id":147425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd71"} 
[2026-08-01 18:39:52] local.INFO: Extracted packet for processing {"connection_id":147425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd71"} 
[2026-08-01 18:39:52] local.INFO: GPS Element Parsed {"raw_longitude":753358016,"raw_latitude":120607904,"longitude_deg":75.3358016,"latitude_deg":12.0607904,"altitude":37,"angle":220,"satellites":44,"speed":27,"hex_longitude":"2ce754c0","hex_latitude":"073054a0","is_valid_coordinates":true} 
[2026-08-01 18:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110971392001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366738079060328448,"note":"Value kept but may cause issues"} 
[2026-08-01 18:39:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1776177440912207872,"note":"Value kept but may cause issues"} 
[2026-08-01 18:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785589736000,"timestamp_ms":1785589736000,"timestamp_seconds":1785589736,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd712240"} 
[2026-08-01 18:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:39: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-08-01 18:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 18:39:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:39:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":147425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":147425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":147425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:39:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110971392001,"66":27745,"67":206,"83":44032,"24":27,"16":366738079060328448,"44":-1776177440912207872},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,83,24,16,44]} 
[2026-08-01 18:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110971392001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:39:52] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-01 18:39:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366738079060328448,"km_value":366738079060328.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:39:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1776177440912207872,"description":"Unknown IO ID 44"} 
[2026-08-01 18:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110971392001,"power":27745,"unknown_67":206,"unknown_83":44032,"ignition":27,"odometer":null,"unknown_44":-1776177440912207872}} 
[2026-08-01 18:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":147425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:39:52] local.INFO: GPS data processed {"connection_id":147425,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:39:52] local.INFO: Acknowledgment sent {"connection_id":147425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:39:53] local.INFO: TCP Data received {"connection_id":147425,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd712df8012ce74ec007304f10002500e82a..."} 
[2026-08-01 18:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd712df8012ce74ec007304f10002500e82a..."} 
[2026-08-01 18:39:53] local.INFO: Processing buffer {"connection_id":147425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd712df8012ce74ec007304f10002500e82a..."} 
[2026-08-01 18:39:53] local.INFO: Packet analysis {"connection_id":147425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd71"} 
[2026-08-01 18:39:53] local.INFO: Extracted packet for processing {"connection_id":147425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd71"} 
[2026-08-01 18:39:53] local.INFO: GPS Element Parsed {"raw_longitude":753356480,"raw_latitude":120606480,"longitude_deg":75.335648,"latitude_deg":12.060648,"altitude":37,"angle":232,"satellites":42,"speed":27,"hex_longitude":"2ce74ec0","hex_latitude":"07304f10","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:39:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110972416001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:39:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366738177844576256,"note":"Value kept but may cause issues"} 
[2026-08-01 18:39:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1777584815796346880,"note":"Value kept but may cause issues"} 
[2026-08-01 18:39:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:39:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785589739000,"timestamp_ms":1785589739000,"timestamp_seconds":1785589739,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd712df8"} 
[2026-08-01 18:39:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18: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-08-01 18: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 18:39:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:39:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:39:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:39:53] local.INFO: Teltonika packet parsed successfully {"connection_id":147425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:39:53] local.INFO: Passing IMEI to GPS processor {"connection_id":147425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:39:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":147425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:39:53] 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-08-01 18:39:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:39:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:39:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110972416001,"66":27691,"67":206,"83":44032,"24":27,"16":366738177844576256,"44":-1777584815796346880},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,83,24,16,44]} 
[2026-08-01 18:39:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:39:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:39:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110972416001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:39:53] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-01 18:39:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:39:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366738177844576256,"km_value":366738177844576.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:39:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1777584815796346880,"description":"Unknown IO ID 44"} 
[2026-08-01 18:39:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110972416001,"power":27691,"unknown_67":206,"unknown_83":44032,"ignition":27,"odometer":null,"unknown_44":-1777584815796346880}} 
[2026-08-01 18:39:53] local.INFO: DEBUG: GPS processor result {"connection_id":147425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:39:53] local.INFO: GPS data processed {"connection_id":147425,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:39:53] local.INFO: Acknowledgment sent {"connection_id":147425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:40:03] local.INFO: TCP Data received {"connection_id":148721,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148721,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:40:03] local.INFO: Processing buffer {"connection_id":148721,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:40:03] local.INFO: IMEI packet received {"connection_id":148721,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 18:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":148721,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:40:03] local.INFO: TCP Data received {"connection_id":148721,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148721,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:40:03] local.INFO: Processing buffer {"connection_id":148721,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:40:03] local.INFO: IMEI packet received {"connection_id":148721,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":148721,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:40:24] local.INFO: TCP Data received {"connection_id":147425,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd7164a8012ce7328007303980002a00e529..."} 
[2026-08-01 18:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd7164a8012ce7328007303980002a00e529..."} 
[2026-08-01 18:40:24] local.INFO: Processing buffer {"connection_id":147425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd7164a8012ce7328007303980002a00e529..."} 
[2026-08-01 18:40:24] local.INFO: Packet analysis {"connection_id":147425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd71"} 
[2026-08-01 18:40:24] local.INFO: Extracted packet for processing {"connection_id":147425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd71"} 
[2026-08-01 18:40:24] local.INFO: GPS Element Parsed {"raw_longitude":753349248,"raw_latitude":120600960,"longitude_deg":75.3349248,"latitude_deg":12.060096,"altitude":42,"angle":229,"satellites":41,"speed":20,"hex_longitude":"2ce73280","hex_latitude":"07303980","is_valid_coordinates":true} 
[2026-08-01 18:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110973184001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366738615931240448,"note":"Value kept but may cause issues"} 
[2026-08-01 18:40:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1779273665656975360,"note":"Value kept but may cause issues"} 
[2026-08-01 18:40:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785589753000,"timestamp_ms":1785589753000,"timestamp_seconds":1785589753,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd7164a8"} 
[2026-08-01 18:40:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:40: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-08-01 18:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-01 18:40:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:40:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:40:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":147425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":147425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":147425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:40:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110973184001,"66":27767,"67":206,"83":44032,"24":20,"16":366738615931240448,"44":-1779273665656975360},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,83,24,16,44]} 
[2026-08-01 18:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110973184001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:40:24] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-01 18:40:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366738615931240448,"km_value":366738615931240.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:40:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1779273665656975360,"description":"Unknown IO ID 44"} 
[2026-08-01 18:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110973184001,"power":27767,"unknown_67":206,"unknown_83":44032,"ignition":20,"odometer":null,"unknown_44":-1779273665656975360}} 
[2026-08-01 18:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":147425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:40:24] local.INFO: GPS data processed {"connection_id":147425,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:40:24] local.INFO: Acknowledgment sent {"connection_id":147425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:40:43] local.INFO: TCP Data received {"connection_id":146418,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:40:43] local.INFO: Processing buffer {"connection_id":146418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:40:43] local.INFO: IMEI packet received {"connection_id":146418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":146418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:40:44] local.INFO: TCP Data received {"connection_id":146418,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:40:44] local.INFO: Processing buffer {"connection_id":146418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:40:44] local.INFO: IMEI packet received {"connection_id":146418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":146418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:40:48] local.INFO: TCP Data received {"connection_id":146418,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:40:48] local.INFO: Processing buffer {"connection_id":146418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:40:48] local.INFO: IMEI packet received {"connection_id":146418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":146418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:40:53] local.INFO: TCP Data received {"connection_id":146418,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd717830012ce72a4007303300002a00f62a..."} 
[2026-08-01 18:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd717830012ce72a4007303300002a00f62a..."} 
[2026-08-01 18:40:53] local.INFO: Processing buffer {"connection_id":146418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd717830012ce72a4007303300002a00f62a..."} 
[2026-08-01 18:40:53] local.INFO: Packet analysis {"connection_id":146418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd71"} 
[2026-08-01 18:40:53] local.INFO: Extracted packet for processing {"connection_id":146418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd71"} 
[2026-08-01 18:40:53] local.INFO: GPS Element Parsed {"raw_longitude":753347136,"raw_latitude":120599296,"longitude_deg":75.3347136,"latitude_deg":12.0599296,"altitude":42,"angle":246,"satellites":42,"speed":21,"hex_longitude":"2ce72a40","hex_latitude":"07303300","is_valid_coordinates":true} 
[2026-08-01 18:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:40:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110976768001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:40:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366738740485292032,"note":"Value kept but may cause issues"} 
[2026-08-01 18:40:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1787225333750464512,"note":"Value kept but may cause issues"} 
[2026-08-01 18:40:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:40:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785589758000,"timestamp_ms":1785589758000,"timestamp_seconds":1785589758,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd717830"} 
[2026-08-01 18:40:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:40: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-08-01 18:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 18:40:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:40:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:40:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:40:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:40:53] local.INFO: Teltonika packet parsed successfully {"connection_id":146418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:40:53] local.INFO: Passing IMEI to GPS processor {"connection_id":146418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:40:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":146418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:40:53] 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-08-01 18:40:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:40:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:40:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110976768001,"66":27713,"67":206,"83":44032,"24":21,"16":366738740485292032,"44":-1787225333750464512},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,83,24,16,44]} 
[2026-08-01 18:40:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:40:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:40:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110976768001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:40:53] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-01 18:40:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:40:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366738740485292032,"km_value":366738740485292.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:40:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1787225333750464512,"description":"Unknown IO ID 44"} 
[2026-08-01 18:40:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457110976768001,"power":27713,"unknown_67":206,"unknown_83":44032,"ignition":21,"odometer":null,"unknown_44":-1787225333750464512}} 
[2026-08-01 18:40:53] local.INFO: DEBUG: GPS processor result {"connection_id":146418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:40:53] local.INFO: GPS data processed {"connection_id":146418,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:40:53] local.INFO: Acknowledgment sent {"connection_id":146418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:41:24] local.INFO: TCP Data received {"connection_id":146418,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd7289a0012ce5fcc007306098001d010929..."} 
[2026-08-01 18:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd7289a0012ce5fcc007306098001d010929..."} 
[2026-08-01 18:41:24] local.INFO: Processing buffer {"connection_id":146418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd7289a0012ce5fcc007306098001d010929..."} 
[2026-08-01 18:41:24] local.INFO: Packet analysis {"connection_id":146418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd72"} 
[2026-08-01 18:41:24] local.INFO: Extracted packet for processing {"connection_id":146418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd72"} 
[2026-08-01 18:41:24] local.INFO: GPS Element Parsed {"raw_longitude":753269952,"raw_latitude":120610968,"longitude_deg":75.3269952,"latitude_deg":12.0610968,"altitude":29,"angle":265,"satellites":41,"speed":58,"hex_longitude":"2ce5fcc0","hex_latitude":"07306098","is_valid_coordinates":true} 
[2026-08-01 18:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110994432001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:41:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1864419846110597120,"note":"Value kept but may cause issues"} 
[2026-08-01 18:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366742580186054656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:41:24] 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-08-01 18:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785589828000,"timestamp_ms":1785589828000,"timestamp_seconds":1785589828,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd7289a0"} 
[2026-08-01 18:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:41: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-08-01 18:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 18:41:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:41:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":146418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":146418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":146418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:41:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110994432001,"66":27800,"44":-1864419846110597120,"83":44032,"24":58,"16":366742580186054656},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-08-01 18:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110994432001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:41:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1864419846110597120,"description":"Unknown IO ID 44"} 
[2026-08-01 18:41:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366742580186054656,"km_value":366742580186054.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:41:24] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457110994432001,"power":27800,"unknown_44":-1864419846110597120,"unknown_83":44032,"ignition":58,"odometer":null}} 
[2026-08-01 18:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":146418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:41:24] local.INFO: GPS data processed {"connection_id":146418,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:41:24] local.INFO: Acknowledgment sent {"connection_id":146418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:41:42] local.INFO: TCP Data received {"connection_id":148722,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:41:42] local.INFO: Processing buffer {"connection_id":148722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:41:42] local.INFO: IMEI packet received {"connection_id":148722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:41:42] local.INFO: IMEI acknowledgment sent {"connection_id":148722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:41:43] local.INFO: TCP Data received {"connection_id":148722,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:41:43] local.INFO: Processing buffer {"connection_id":148722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:41:43] local.INFO: IMEI packet received {"connection_id":148722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":148722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:41:48] local.INFO: TCP Data received {"connection_id":148722,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:41:48] local.INFO: Processing buffer {"connection_id":148722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:41:48] local.INFO: IMEI packet received {"connection_id":148722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":148722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:41:49] local.INFO: TCP Data received {"connection_id":148722,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd72a4f8012ce5d54007305ff0001c01102d..."} 
[2026-08-01 18:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd72a4f8012ce5d54007305ff0001c01102d..."} 
[2026-08-01 18:41:49] local.INFO: Processing buffer {"connection_id":148722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd72a4f8012ce5d54007305ff0001c01102d..."} 
[2026-08-01 18:41:49] local.INFO: Packet analysis {"connection_id":148722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd72"} 
[2026-08-01 18:41:49] local.INFO: Extracted packet for processing {"connection_id":148722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd72"} 
[2026-08-01 18:41:49] local.INFO: GPS Element Parsed {"raw_longitude":753259840,"raw_latitude":120610800,"longitude_deg":75.325984,"latitude_deg":12.06108,"altitude":28,"angle":272,"satellites":45,"speed":55,"hex_longitude":"2ce5d540","hex_latitude":"07305ff0","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:41:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110995968001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:41:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1874412207784028160,"note":"Value kept but may cause issues"} 
[2026-08-01 18:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366743061222391808,"note":"Value kept but may cause issues"} 
[2026-08-01 18:41:49] 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-08-01 18:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785589835000,"timestamp_ms":1785589835000,"timestamp_seconds":1785589835,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd72a4f8"} 
[2026-08-01 18:41:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:41:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 18:41:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:41:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:41:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:41:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110995968001,"66":27713,"44":-1874412207784028160,"83":44032,"24":55,"16":366743061222391808},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-08-01 18:41:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:41:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:41:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110995968001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:41:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1874412207784028160,"description":"Unknown IO ID 44"} 
[2026-08-01 18:41:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:41:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366743061222391808,"km_value":366743061222391.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:41:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457110995968001,"power":27713,"unknown_44":-1874412207784028160,"unknown_83":44032,"ignition":55,"odometer":null}} 
[2026-08-01 18:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":148722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:41:49] local.INFO: GPS data processed {"connection_id":148722,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:41:49] local.INFO: Acknowledgment sent {"connection_id":148722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:42:20] local.INFO: TCP Data received {"connection_id":148722,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd72c050012ce5aec007306448001a01172b..."} 
[2026-08-01 18:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd72c050012ce5aec007306448001a01172b..."} 
[2026-08-01 18:42:20] local.INFO: Processing buffer {"connection_id":148722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd72c050012ce5aec007306448001a01172b..."} 
[2026-08-01 18:42:20] local.INFO: Packet analysis {"connection_id":148722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd72"} 
[2026-08-01 18:42:20] local.INFO: Extracted packet for processing {"connection_id":148722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd72"} 
[2026-08-01 18:42:20] local.INFO: GPS Element Parsed {"raw_longitude":753249984,"raw_latitude":120611912,"longitude_deg":75.3249984,"latitude_deg":12.0611912,"altitude":26,"angle":279,"satellites":43,"speed":54,"hex_longitude":"2ce5aec0","hex_latitude":"07306448","is_valid_coordinates":true} 
[2026-08-01 18:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457110997760001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:42:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1885530469364142080,"note":"Value kept but may cause issues"} 
[2026-08-01 18:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366743529373827072,"note":"Value kept but may cause issues"} 
[2026-08-01 18:42:20] 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-08-01 18:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785589842000,"timestamp_ms":1785589842000,"timestamp_seconds":1785589842,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd72c050"} 
[2026-08-01 18:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 18:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:42:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:42:20] 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-08-01 18:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457110997760001,"66":27767,"44":-1885530469364142080,"83":44032,"24":54,"16":366743529373827072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-08-01 18:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457110997760001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:42:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1885530469364142080,"description":"Unknown IO ID 44"} 
[2026-08-01 18:42:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366743529373827072,"km_value":366743529373827.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:42:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457110997760001,"power":27767,"unknown_44":-1885530469364142080,"unknown_83":44032,"ignition":54,"odometer":null}} 
[2026-08-01 18:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":148722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:42:20] local.INFO: GPS data processed {"connection_id":148722,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:42:20] local.INFO: Acknowledgment sent {"connection_id":148722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:42:43] local.INFO: TCP Data received {"connection_id":146197,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:42:43] local.INFO: Processing buffer {"connection_id":146197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:42:43] local.INFO: IMEI packet received {"connection_id":146197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":146197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:42:46] local.INFO: TCP Data received {"connection_id":146197,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:42:46] local.INFO: Processing buffer {"connection_id":146197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:42:46] local.INFO: IMEI packet received {"connection_id":146197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":146197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:42:48] local.INFO: TCP Data received {"connection_id":146197,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:42:48] local.INFO: Processing buffer {"connection_id":146197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:42:48] local.INFO: IMEI packet received {"connection_id":146197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":146197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:42:49] local.INFO: TCP Data received {"connection_id":146197,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd73be38012ce463000730e5e00013011e2d..."} 
[2026-08-01 18:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd73be38012ce463000730e5e00013011e2d..."} 
[2026-08-01 18:42:49] local.INFO: Processing buffer {"connection_id":146197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd73be38012ce463000730e5e00013011e2d..."} 
[2026-08-01 18:42:49] local.INFO: Packet analysis {"connection_id":146197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd73"} 
[2026-08-01 18:42:49] local.INFO: Extracted packet for processing {"connection_id":146197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd73"} 
[2026-08-01 18:42:49] local.INFO: GPS Element Parsed {"raw_longitude":753165056,"raw_latitude":120645088,"longitude_deg":75.3165056,"latitude_deg":12.0645088,"altitude":19,"angle":286,"satellites":45,"speed":50,"hex_longitude":"2ce46300","hex_latitude":"0730e5e0","is_valid_coordinates":true} 
[2026-08-01 18:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111014400001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366747927420338176,"note":"Value kept but may cause issues"} 
[2026-08-01 18:42:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1980528273996058624,"note":"Value kept but may cause issues"} 
[2026-08-01 18:42:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785589907000,"timestamp_ms":1785589907000,"timestamp_seconds":1785589907,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd73be38"} 
[2026-08-01 18:42:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18: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-08-01 18:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-01 18:42:49] 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-08-01 18:42:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:42:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:42:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111014400001,"66":27745,"180":206,"83":44032,"24":50,"16":366747927420338176,"44":-1980528273996058624},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,83,24,16,44]} 
[2026-08-01 18:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111014400001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:42:49] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-08-01 18:42:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366747927420338176,"km_value":366747927420338.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:42:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1980528273996058624,"description":"Unknown IO ID 44"} 
[2026-08-01 18:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111014400001,"power":27745,"unknown_180":206,"unknown_83":44032,"ignition":50,"odometer":null,"unknown_44":-1980528273996058624}} 
[2026-08-01 18:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":146197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:42:49] local.INFO: GPS data processed {"connection_id":146197,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:42:49] local.INFO: Acknowledgment sent {"connection_id":146197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:43:20] local.INFO: TCP Data received {"connection_id":146197,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd73be38012ce463000730e5e00013011e2d..."} 
[2026-08-01 18:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd73be38012ce463000730e5e00013011e2d..."} 
[2026-08-01 18:43:20] local.INFO: Processing buffer {"connection_id":146197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd73be38012ce463000730e5e00013011e2d..."} 
[2026-08-01 18:43:20] local.INFO: Packet analysis {"connection_id":146197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd73"} 
[2026-08-01 18:43:20] local.INFO: Extracted packet for processing {"connection_id":146197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd73"} 
[2026-08-01 18:43:20] local.INFO: GPS Element Parsed {"raw_longitude":753165056,"raw_latitude":120645088,"longitude_deg":75.3165056,"latitude_deg":12.0645088,"altitude":19,"angle":286,"satellites":45,"speed":50,"hex_longitude":"2ce46300","hex_latitude":"0730e5e0","is_valid_coordinates":true} 
[2026-08-01 18:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111016192001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366747927420338176,"note":"Value kept but may cause issues"} 
[2026-08-01 18:43:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1989746579482484736,"note":"Value kept but may cause issues"} 
[2026-08-01 18:43:20] 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-08-01 18:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785589907000,"timestamp_ms":1785589907000,"timestamp_seconds":1785589907,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd73be38"} 
[2026-08-01 18:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:43:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 18:43:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:43:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:43:20] 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-08-01 18:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111016192001,"66":27745,"180":206,"83":44032,"24":50,"16":366747927420338176,"44":-1989746579482484736},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,83,24,16,44]} 
[2026-08-01 18:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111016192001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:43:20] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-08-01 18:43:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366747927420338176,"km_value":366747927420338.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:43:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1989746579482484736,"description":"Unknown IO ID 44"} 
[2026-08-01 18:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111016192001,"power":27745,"unknown_180":206,"unknown_83":44032,"ignition":50,"odometer":null,"unknown_44":-1989746579482484736}} 
[2026-08-01 18:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":146197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:43:20] local.INFO: GPS data processed {"connection_id":146197,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:43:20] local.INFO: Acknowledgment sent {"connection_id":146197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:43:45] local.INFO: TCP Data received {"connection_id":146419,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:43:45] local.INFO: Processing buffer {"connection_id":146419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:43:45] local.INFO: IMEI packet received {"connection_id":146419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":146419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:43:48] local.INFO: TCP Data received {"connection_id":146419,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:43:48] local.INFO: Processing buffer {"connection_id":146419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:43:48] local.INFO: IMEI packet received {"connection_id":146419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":146419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:43:52] local.INFO: TCP Data received {"connection_id":146419,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:43:52] local.INFO: Processing buffer {"connection_id":146419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:43:52] local.INFO: IMEI packet received {"connection_id":146419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":146419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:43:52] local.INFO: TCP Data received {"connection_id":146419,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd74d778012ce301c007314630001801302d..."} 
[2026-08-01 18:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd74d778012ce301c007314630001801302d..."} 
[2026-08-01 18:43:52] local.INFO: Processing buffer {"connection_id":146419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd74d778012ce301c007314630001801302d..."} 
[2026-08-01 18:43:52] local.INFO: Packet analysis {"connection_id":146419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd74"} 
[2026-08-01 18:43:52] local.INFO: Extracted packet for processing {"connection_id":146419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd74"} 
[2026-08-01 18:43:52] local.INFO: GPS Element Parsed {"raw_longitude":753074624,"raw_latitude":120669744,"longitude_deg":75.3074624,"latitude_deg":12.0669744,"altitude":24,"angle":304,"satellites":45,"speed":45,"hex_longitude":"2ce301c0","hex_latitude":"07314630","is_valid_coordinates":true} 
[2026-08-01 18:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:43:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111032576001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:43:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366752432841031680,"note":"Value kept but may cause issues"} 
[2026-08-01 18:43:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2080522259466579968,"note":"Value kept but may cause issues"} 
[2026-08-01 18:43:52] 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-08-01 18:43:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785589979000,"timestamp_ms":1785589979000,"timestamp_seconds":1785589979,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd74d778"} 
[2026-08-01 18:43:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:43:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 18:43:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:43:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:43:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:43:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:43:52] local.INFO: Teltonika packet parsed successfully {"connection_id":146419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:43:52] local.INFO: Passing IMEI to GPS processor {"connection_id":146419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:43:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":146419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:43:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:43:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:43:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:43:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111032576001,"66":27821,"181":206,"83":44032,"24":45,"16":366752432841031680,"44":-2080522259466579968},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,83,24,16,44]} 
[2026-08-01 18:43:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:43:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:43:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111032576001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:43:52] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-08-01 18:43:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:43:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366752432841031680,"km_value":366752432841031.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:43:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2080522259466579968,"description":"Unknown IO ID 44"} 
[2026-08-01 18:43:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111032576001,"power":27821,"unknown_181":206,"unknown_83":44032,"ignition":45,"odometer":null,"unknown_44":-2080522259466579968}} 
[2026-08-01 18:43:52] local.INFO: DEBUG: GPS processor result {"connection_id":146419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:43:52] local.INFO: GPS data processed {"connection_id":146419,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:43:52] local.INFO: Acknowledgment sent {"connection_id":146419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:43:53] local.INFO: TCP Data received {"connection_id":146419,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd74f6b8012ce2e44007315a180019012e2d..."} 
[2026-08-01 18:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd74f6b8012ce2e44007315a180019012e2d..."} 
[2026-08-01 18:43:53] local.INFO: Processing buffer {"connection_id":146419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd74f6b8012ce2e44007315a180019012e2d..."} 
[2026-08-01 18:43:53] local.INFO: Packet analysis {"connection_id":146419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd74"} 
[2026-08-01 18:43:53] local.INFO: Extracted packet for processing {"connection_id":146419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd74"} 
[2026-08-01 18:43:53] local.INFO: GPS Element Parsed {"raw_longitude":753067072,"raw_latitude":120674840,"longitude_deg":75.3067072,"latitude_deg":12.067484,"altitude":25,"angle":302,"satellites":45,"speed":45,"hex_longitude":"2ce2e440","hex_latitude":"07315a18","is_valid_coordinates":true} 
[2026-08-01 18:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111034624001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366752870927695872,"note":"Value kept but may cause issues"} 
[2026-08-01 18:43:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2089177614999212032,"note":"Value kept but may cause issues"} 
[2026-08-01 18:43:53] 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-08-01 18:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785589987000,"timestamp_ms":1785589987000,"timestamp_seconds":1785589987,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd74f6b8"} 
[2026-08-01 18:43:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:43: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-08-01 18:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 18:43:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:43:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:43:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":146419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":146419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":146419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:43:53] 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-08-01 18:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111034624001,"66":27767,"181":206,"83":44032,"24":45,"16":366752870927695872,"44":-2089177614999212032},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,83,24,16,44]} 
[2026-08-01 18:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111034624001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:43:53] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-08-01 18:43:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366752870927695872,"km_value":366752870927695.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:43:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2089177614999212032,"description":"Unknown IO ID 44"} 
[2026-08-01 18:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111034624001,"power":27767,"unknown_181":206,"unknown_83":44032,"ignition":45,"odometer":null,"unknown_44":-2089177614999212032}} 
[2026-08-01 18:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":146419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:43:53] local.INFO: GPS data processed {"connection_id":146419,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:43:53] local.INFO: Acknowledgment sent {"connection_id":146419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:44:24] local.INFO: TCP Data received {"connection_id":146419,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd750e28012ce2cc4007316678001b01232d..."} 
[2026-08-01 18:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd750e28012ce2cc4007316678001b01232d..."} 
[2026-08-01 18:44:24] local.INFO: Processing buffer {"connection_id":146419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd750e28012ce2cc4007316678001b01232d..."} 
[2026-08-01 18:44:24] local.INFO: Packet analysis {"connection_id":146419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd75"} 
[2026-08-01 18:44:24] local.INFO: Extracted packet for processing {"connection_id":146419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd75"} 
[2026-08-01 18:44:24] local.INFO: GPS Element Parsed {"raw_longitude":753060928,"raw_latitude":120678008,"longitude_deg":75.3060928,"latitude_deg":12.0678008,"altitude":27,"angle":291,"satellites":45,"speed":45,"hex_longitude":"2ce2cc40","hex_latitude":"07316678","is_valid_coordinates":true} 
[2026-08-01 18:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111036672001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366753201640177664,"note":"Value kept but may cause issues"} 
[2026-08-01 18:44:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2097481126810871808,"note":"Value kept but may cause issues"} 
[2026-08-01 18:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785589993000,"timestamp_ms":1785589993000,"timestamp_seconds":1785589993,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd750e28"} 
[2026-08-01 18:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:44: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-08-01 18:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 18:44:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:44:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":146419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":146419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":146419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:44:24] 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-08-01 18:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111036672001,"66":27800,"181":206,"83":44032,"24":45,"16":366753201640177664,"44":-2097481126810871808},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,83,24,16,44]} 
[2026-08-01 18:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111036672001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:44:24] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-08-01 18:44:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366753201640177664,"km_value":366753201640177.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:44:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2097481126810871808,"description":"Unknown IO ID 44"} 
[2026-08-01 18:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111036672001,"power":27800,"unknown_181":206,"unknown_83":44032,"ignition":45,"odometer":null,"unknown_44":-2097481126810871808}} 
[2026-08-01 18:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":146419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:44:24] local.INFO: GPS data processed {"connection_id":146419,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:44:24] local.INFO: Acknowledgment sent {"connection_id":146419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:44:35] local.INFO: TCP Data received {"connection_id":147426,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:44:35] local.INFO: Processing buffer {"connection_id":147426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:44:35] local.INFO: IMEI packet received {"connection_id":147426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 18:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":147426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:44:41] local.INFO: TCP Data received {"connection_id":147426,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:44:41] local.INFO: Processing buffer {"connection_id":147426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:44:41] local.INFO: IMEI packet received {"connection_id":147426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":147426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:44:41] local.INFO: TCP Data received {"connection_id":147426,"ip":"42.106.6.34","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-01 18:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147426,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-01 18:44:41] local.INFO: Processing buffer {"connection_id":147426,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-01 18:44:41] local.INFO: IMEI packet received {"connection_id":147426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":147426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:44:43] local.INFO: TCP Data received {"connection_id":148726,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:44:43] local.INFO: Processing buffer {"connection_id":148726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:44:43] local.INFO: IMEI packet received {"connection_id":148726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":148726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:44:44] local.INFO: TCP Data received {"connection_id":148726,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:44:44] local.INFO: Processing buffer {"connection_id":148726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:44:44] local.INFO: IMEI packet received {"connection_id":148726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":148726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:44:45] local.INFO: TCP Data received {"connection_id":148726,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd752d68012ce2a980073170d8001f011e2c..."} 
[2026-08-01 18:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd752d68012ce2a980073170d8001f011e2c..."} 
[2026-08-01 18:44:45] local.INFO: Processing buffer {"connection_id":148726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd752d68012ce2a980073170d8001f011e2c..."} 
[2026-08-01 18:44:45] local.INFO: Packet analysis {"connection_id":148726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd75"} 
[2026-08-01 18:44:45] local.INFO: Extracted packet for processing {"connection_id":148726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd75"} 
[2026-08-01 18:44:45] local.INFO: GPS Element Parsed {"raw_longitude":753052032,"raw_latitude":120680664,"longitude_deg":75.3052032,"latitude_deg":12.0680664,"altitude":31,"angle":286,"satellites":44,"speed":45,"hex_longitude":"2ce2a980","hex_latitude":"073170d8","is_valid_coordinates":true} 
[2026-08-01 18:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111038208001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366753639726841856,"note":"Value kept but may cause issues"} 
[2026-08-01 18:44:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2104236526251116544,"note":"Value kept but may cause issues"} 
[2026-08-01 18:44:45] 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-08-01 18:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785590001000,"timestamp_ms":1785590001000,"timestamp_seconds":1785590001,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd752d68"} 
[2026-08-01 18:44:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:44: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-08-01 18:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 18:44:45] 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-08-01 18:44:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:44:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":148726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":148726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":148726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:44:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111038208001,"66":27767,"181":206,"83":44032,"24":45,"16":366753639726841856,"44":-2104236526251116544},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,83,24,16,44]} 
[2026-08-01 18:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111038208001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:44:45] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-08-01 18:44:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-01 18:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366753639726841856,"km_value":366753639726841.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:44:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2104236526251116544,"description":"Unknown IO ID 44"} 
[2026-08-01 18:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111038208001,"power":27767,"unknown_181":206,"unknown_83":44032,"ignition":45,"odometer":null,"unknown_44":-2104236526251116544}} 
[2026-08-01 18:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":148726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:44:45] local.INFO: GPS data processed {"connection_id":148726,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:44:45] local.INFO: Acknowledgment sent {"connection_id":148726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:44:49] local.INFO: TCP Data received {"connection_id":148726,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd754ca8012ce2870007317ad80022011b2a..."} 
[2026-08-01 18:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd754ca8012ce2870007317ad80022011b2a..."} 
[2026-08-01 18:44:49] local.INFO: Processing buffer {"connection_id":148726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd754ca8012ce2870007317ad80022011b2a..."} 
[2026-08-01 18:44:49] local.INFO: Packet analysis {"connection_id":148726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd75"} 
[2026-08-01 18:44:49] local.INFO: Extracted packet for processing {"connection_id":148726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd75"} 
[2026-08-01 18:44:49] local.INFO: GPS Element Parsed {"raw_longitude":753043200,"raw_latitude":120683224,"longitude_deg":75.30432,"latitude_deg":12.0683224,"altitude":34,"angle":283,"satellites":42,"speed":44,"hex_longitude":"2ce28700","hex_latitude":"07317ad8","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111040256001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366754077813506048,"note":"Value kept but may cause issues"} 
[2026-08-01 18:44:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2114017781691131904,"note":"Value kept but may cause issues"} 
[2026-08-01 18:44:49] 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-08-01 18:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785590009000,"timestamp_ms":1785590009000,"timestamp_seconds":1785590009,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd754ca8"} 
[2026-08-01 18:44:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:44: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-08-01 18:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 18:44:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:44:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:44:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111040256001,"66":27800,"46":206,"83":40960,"24":44,"16":366754077813506048,"44":-2114017781691131904},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,83,24,16,44]} 
[2026-08-01 18:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111040256001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:44:49] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-08-01 18:44:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-01 18:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366754077813506048,"km_value":366754077813506.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:44:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2114017781691131904,"description":"Unknown IO ID 44"} 
[2026-08-01 18:44:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111040256001,"power":27800,"unknown_46":206,"unknown_83":40960,"ignition":44,"odometer":null,"unknown_44":-2114017781691131904}} 
[2026-08-01 18:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":148726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:44:49] local.INFO: GPS data processed {"connection_id":148726,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:44:49] local.INFO: Acknowledgment sent {"connection_id":148726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:45:08] local.INFO: TCP Data received {"connection_id":146420,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146420,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:45:08] local.INFO: Processing buffer {"connection_id":146420,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:45:08] local.INFO: IMEI packet received {"connection_id":146420,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 18:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":146420,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:45:08] local.INFO: TCP Data received {"connection_id":146420,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd74c008012d7c110005bd29a80007004a25..."} 
[2026-08-01 18:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd74c008012d7c110005bd29a80007004a25..."} 
[2026-08-01 18:45:08] local.INFO: Processing buffer {"connection_id":146420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd74c008012d7c110005bd29a80007004a25..."} 
[2026-08-01 18:45:08] local.INFO: Packet analysis {"connection_id":146420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd74"} 
[2026-08-01 18:45:08] local.INFO: Extracted packet for processing {"connection_id":146420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd74"} 
[2026-08-01 18:45:08] local.INFO: GPS Element Parsed {"raw_longitude":763105536,"raw_latitude":96283048,"longitude_deg":76.3105536,"latitude_deg":9.6283048,"altitude":7,"angle":74,"satellites":37,"speed":5,"hex_longitude":"2d7c1100","hex_latitude":"05bd29a8","is_valid_coordinates":true} 
[2026-08-01 18:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111029760001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113620065575763968,"note":"Value kept but may cause issues"} 
[2026-08-01 18:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8931130666933202944,"note":"Value kept but may cause issues"} 
[2026-08-01 18:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785589973000,"timestamp_ms":1785589973000,"timestamp_seconds":1785589973,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd74c008"} 
[2026-08-01 18:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:45: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-08-01 18:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-01 18:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":146420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":146420,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":146420,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:45:08] 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-08-01 18:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111029760001,"66":12341,"197":206,"85":12544,"24":5,"16":113620065575763968,"45":8931130666933202944},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-01 18:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111029760001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:45:08] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-01 18:45:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-01 18:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113620065575763968,"km_value":113620065575763.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8931130666933202944,"description":"Unknown IO ID 45"} 
[2026-08-01 18:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111029760001,"power":12341,"unknown_197":206,"unknown_85":12544,"ignition":5,"odometer":null,"unknown_45":8931130666933202944}} 
[2026-08-01 18:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":146420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578695,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:45:09] local.INFO: GPS data processed {"connection_id":146420,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:45:09] local.INFO: Acknowledgment sent {"connection_id":146420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:45:21] local.INFO: TCP Data received {"connection_id":148726,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd756be8012ce26380073182600022011a29..."} 
[2026-08-01 18:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd756be8012ce26380073182600022011a29..."} 
[2026-08-01 18:45:21] local.INFO: Processing buffer {"connection_id":148726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd756be8012ce26380073182600022011a29..."} 
[2026-08-01 18:45:21] local.INFO: Packet analysis {"connection_id":148726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd75"} 
[2026-08-01 18:45:21] local.INFO: Extracted packet for processing {"connection_id":148726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd75"} 
[2026-08-01 18:45:21] local.INFO: GPS Element Parsed {"raw_longitude":753034112,"raw_latitude":120685152,"longitude_deg":75.3034112,"latitude_deg":12.0685152,"altitude":34,"angle":282,"satellites":41,"speed":46,"hex_longitude":"2ce26380","hex_latitude":"07318260","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111042304001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366754515900170240,"note":"Value kept but may cause issues"} 
[2026-08-01 18:45:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2123728668386994176,"note":"Value kept but may cause issues"} 
[2026-08-01 18:45:21] 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-08-01 18:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785590017000,"timestamp_ms":1785590017000,"timestamp_seconds":1785590017,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd756be8"} 
[2026-08-01 18:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:45: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-08-01 18:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 18:45:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:45:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111042304001,"66":27713,"46":206,"83":40960,"24":46,"16":366754515900170240,"44":-2123728668386994176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,83,24,16,44]} 
[2026-08-01 18:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111042304001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:45:21] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-08-01 18:45:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-01 18:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366754515900170240,"km_value":366754515900170.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:45:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2123728668386994176,"description":"Unknown IO ID 44"} 
[2026-08-01 18:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111042304001,"power":27713,"unknown_46":206,"unknown_83":40960,"ignition":46,"odometer":null,"unknown_44":-2123728668386994176}} 
[2026-08-01 18:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":148726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:45:21] local.INFO: GPS data processed {"connection_id":148726,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:45:21] local.INFO: Acknowledgment sent {"connection_id":148726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:45:40] local.INFO: TCP Data received {"connection_id":146420,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd76fe40012d7c0a4005bd4ae00001001426..."} 
[2026-08-01 18:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd76fe40012d7c0a4005bd4ae00001001426..."} 
[2026-08-01 18:45:40] local.INFO: Processing buffer {"connection_id":146420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd76fe40012d7c0a4005bd4ae00001001426..."} 
[2026-08-01 18:45:40] local.INFO: Packet analysis {"connection_id":146420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd76"} 
[2026-08-01 18:45:40] local.INFO: Extracted packet for processing {"connection_id":146420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd76"} 
[2026-08-01 18:45:40] local.INFO: GPS Element Parsed {"raw_longitude":763103808,"raw_latitude":96291552,"longitude_deg":76.3103808,"latitude_deg":9.6291552,"altitude":1,"angle":20,"satellites":38,"speed":9,"hex_longitude":"2d7c0a40","hex_latitude":"05bd4ae0","is_valid_coordinates":true} 
[2026-08-01 18:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111070464001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113620516547330048,"note":"Value kept but may cause issues"} 
[2026-08-01 18:45:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937956435120746496,"note":"Value kept but may cause issues"} 
[2026-08-01 18:45:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785590120000,"timestamp_ms":1785590120000,"timestamp_seconds":1785590120,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd76fe40"} 
[2026-08-01 18:45:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:45: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-08-01 18:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-01 18:45:40] 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-08-01 18:45:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:45:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146420,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146420,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:45:40] 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-08-01 18:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111070464001,"66":12254,"197":206,"85":12544,"24":9,"16":113620516547330048,"45":8937956435120746496},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-01 18:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111070464001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:45:40] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-01 18:45:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-01 18:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113620516547330048,"km_value":113620516547330.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:45:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937956435120746496,"description":"Unknown IO ID 45"} 
[2026-08-01 18:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111070464001,"power":12254,"unknown_197":206,"unknown_85":12544,"ignition":9,"odometer":null,"unknown_45":8937956435120746496}} 
[2026-08-01 18:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":146420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578697,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:45:40] local.INFO: GPS data processed {"connection_id":146420,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:45:40] local.INFO: Acknowledgment sent {"connection_id":146420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:45:43] local.INFO: TCP Data received {"connection_id":146422,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:45:43] local.INFO: Processing buffer {"connection_id":146422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:45:43] local.INFO: IMEI packet received {"connection_id":146422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":146422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:45:44] local.INFO: TCP Data received {"connection_id":146422,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:45:44] local.INFO: Processing buffer {"connection_id":146422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:45:44] local.INFO: IMEI packet received {"connection_id":146422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":146422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:45:48] local.INFO: TCP Data received {"connection_id":146422,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:45:48] local.INFO: Processing buffer {"connection_id":146422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:45:48] local.INFO: IMEI packet received {"connection_id":146422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":146422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:45:50] local.INFO: TCP Data received {"connection_id":146422,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd766db8012ce11540073198d0002001272b..."} 
[2026-08-01 18:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd766db8012ce11540073198d0002001272b..."} 
[2026-08-01 18:45:50] local.INFO: Processing buffer {"connection_id":146422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd766db8012ce11540073198d0002001272b..."} 
[2026-08-01 18:45:50] local.INFO: Packet analysis {"connection_id":146422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd76"} 
[2026-08-01 18:45:50] local.INFO: Extracted packet for processing {"connection_id":146422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd76"} 
[2026-08-01 18:45:50] local.INFO: GPS Element Parsed {"raw_longitude":752948544,"raw_latitude":120690896,"longitude_deg":75.2948544,"latitude_deg":12.0690896,"altitude":32,"angle":295,"satellites":43,"speed":55,"hex_longitude":"2ce11540","hex_latitude":"073198d0","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:45:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111059456001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:45:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366758677723480064,"note":"Value kept but may cause issues"} 
[2026-08-01 18:45:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2218022785584060416,"note":"Value kept but may cause issues"} 
[2026-08-01 18:45:50] 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-08-01 18:45:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785590083000,"timestamp_ms":1785590083000,"timestamp_seconds":1785590083,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd766db8"} 
[2026-08-01 18:45:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:45:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 18:45:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:45:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:45:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:45:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:45:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:45:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:45:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:45:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:45:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:45:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111059456001,"66":27745,"45":206,"83":40960,"24":55,"16":366758677723480064,"44":-2218022785584060416},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16,44]} 
[2026-08-01 18:45:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:45:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:45:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111059456001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:45:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":206,"description":"Unknown IO ID 45"} 
[2026-08-01 18:45:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-01 18:45:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366758677723480064,"km_value":366758677723480.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:45:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2218022785584060416,"description":"Unknown IO ID 44"} 
[2026-08-01 18:45:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111059456001,"power":27745,"unknown_45":206,"unknown_83":40960,"ignition":55,"odometer":null,"unknown_44":-2218022785584060416}} 
[2026-08-01 18:45:50] local.INFO: DEBUG: GPS processor result {"connection_id":146422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:45:50] local.INFO: GPS data processed {"connection_id":146422,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:45:50] local.INFO: Acknowledgment sent {"connection_id":146422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:45:57] local.INFO: TCP Data received {"connection_id":146423,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146423,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:45:57] local.INFO: Processing buffer {"connection_id":146423,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:45:57] local.INFO: IMEI packet received {"connection_id":146423,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 18:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":146423,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:46:03] local.INFO: TCP Data received {"connection_id":146423,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146423,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:46:03] local.INFO: Processing buffer {"connection_id":146423,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:46:03] local.INFO: IMEI packet received {"connection_id":146423,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":146423,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:46:04] local.INFO: TCP Data received {"connection_id":146423,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd770228012d7c0ac005bd4ba00001002e26..."} 
[2026-08-01 18:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd770228012d7c0ac005bd4ba00001002e26..."} 
[2026-08-01 18:46:04] local.INFO: Processing buffer {"connection_id":146423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd770228012d7c0ac005bd4ba00001002e26..."} 
[2026-08-01 18:46:04] local.INFO: Packet analysis {"connection_id":146423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd77"} 
[2026-08-01 18:46:04] local.INFO: Extracted packet for processing {"connection_id":146423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd77"} 
[2026-08-01 18:46:04] local.INFO: GPS Element Parsed {"raw_longitude":763103936,"raw_latitude":96291744,"longitude_deg":76.3103936,"latitude_deg":9.6291744,"altitude":1,"angle":46,"satellites":38,"speed":8,"hex_longitude":"2d7c0ac0","hex_latitude":"05bd4ba0","is_valid_coordinates":true} 
[2026-08-01 18:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111070720001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113620525137264640,"note":"Value kept but may cause issues"} 
[2026-08-01 18:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938026803864985600,"note":"Value kept but may cause issues"} 
[2026-08-01 18:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785590121000,"timestamp_ms":1785590121000,"timestamp_seconds":1785590121,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd770228"} 
[2026-08-01 18:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:46:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-01 18:46:04] 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-08-01 18:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111070720001,"66":12254,"197":206,"85":12544,"24":8,"16":113620525137264640,"45":8938026803864985600},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-01 18:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111070720001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:46:04] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-01 18:46:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-01 18:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113620525137264640,"km_value":113620525137264.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938026803864985600,"description":"Unknown IO ID 45"} 
[2026-08-01 18:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111070720001,"power":12254,"unknown_197":206,"unknown_85":12544,"ignition":8,"odometer":null,"unknown_45":8938026803864985600}} 
[2026-08-01 18:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":146423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578699,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:46:04] local.INFO: GPS data processed {"connection_id":146423,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:46:04] local.INFO: Acknowledgment sent {"connection_id":146423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:46:21] local.INFO: TCP Data received {"connection_id":146422,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd768910012ce0f1400731a940001f01262c..."} 
[2026-08-01 18:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd768910012ce0f1400731a940001f01262c..."} 
[2026-08-01 18:46:21] local.INFO: Processing buffer {"connection_id":146422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd768910012ce0f1400731a940001f01262c..."} 
[2026-08-01 18:46:21] local.INFO: Packet analysis {"connection_id":146422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd76"} 
[2026-08-01 18:46:21] local.INFO: Extracted packet for processing {"connection_id":146422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd76"} 
[2026-08-01 18:46:21] local.INFO: GPS Element Parsed {"raw_longitude":752939328,"raw_latitude":120695104,"longitude_deg":75.2939328,"latitude_deg":12.0695104,"altitude":31,"angle":294,"satellites":44,"speed":56,"hex_longitude":"2ce0f140","hex_latitude":"0731a940","is_valid_coordinates":true} 
[2026-08-01 18:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111061248001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366759163054784512,"note":"Value kept but may cause issues"} 
[2026-08-01 18:46:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2227804041023795200,"note":"Value kept but may cause issues"} 
[2026-08-01 18:46:21] 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-08-01 18:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785590090000,"timestamp_ms":1785590090000,"timestamp_seconds":1785590090,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd768910"} 
[2026-08-01 18:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:46: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-08-01 18:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 18:46:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:46:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:46:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111061248001,"66":27767,"45":206,"83":40960,"24":56,"16":366759163054784512,"44":-2227804041023795200},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16,44]} 
[2026-08-01 18:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111061248001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:46:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":206,"description":"Unknown IO ID 45"} 
[2026-08-01 18:46:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-01 18:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366759163054784512,"km_value":366759163054784.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:46:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2227804041023795200,"description":"Unknown IO ID 44"} 
[2026-08-01 18:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111061248001,"power":27767,"unknown_45":206,"unknown_83":40960,"ignition":56,"odometer":null,"unknown_44":-2227804041023795200}} 
[2026-08-01 18:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":146422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:46:21] local.INFO: GPS data processed {"connection_id":146422,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:46:21] local.INFO: Acknowledgment sent {"connection_id":146422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:46:35] local.INFO: TCP Data received {"connection_id":146423,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd770610012d7c0b4005bd4c000001004725..."} 
[2026-08-01 18:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd770610012d7c0b4005bd4c000001004725..."} 
[2026-08-01 18:46:35] local.INFO: Processing buffer {"connection_id":146423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd770610012d7c0b4005bd4c000001004725..."} 
[2026-08-01 18:46:35] local.INFO: Packet analysis {"connection_id":146423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd77"} 
[2026-08-01 18:46:35] local.INFO: Extracted packet for processing {"connection_id":146423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd77"} 
[2026-08-01 18:46:35] local.INFO: GPS Element Parsed {"raw_longitude":763104064,"raw_latitude":96291840,"longitude_deg":76.3104064,"latitude_deg":9.629184,"altitude":1,"angle":71,"satellites":37,"speed":7,"hex_longitude":"2d7c0b40","hex_latitude":"05bd4c00","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111070976001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113620533727199232,"note":"Value kept but may cause issues"} 
[2026-08-01 18:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938167541353390080,"note":"Value kept but may cause issues"} 
[2026-08-01 18:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785590122000,"timestamp_ms":1785590122000,"timestamp_seconds":1785590122,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd770610"} 
[2026-08-01 18:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-01 18:46:35] 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-08-01 18: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-08-01 18:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111070976001,"66":12004,"197":206,"85":12544,"24":7,"16":113620533727199232,"45":8938167541353390080},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-01 18:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111070976001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:46:35] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-01 18:46:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-01 18:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113620533727199232,"km_value":113620533727199.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938167541353390080,"description":"Unknown IO ID 45"} 
[2026-08-01 18:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111070976001,"power":12004,"unknown_197":206,"unknown_85":12544,"ignition":7,"odometer":null,"unknown_45":8938167541353390080}} 
[2026-08-01 18:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":146423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578701,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:46:35] local.INFO: GPS data processed {"connection_id":146423,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:46:35] local.INFO: Acknowledgment sent {"connection_id":146423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:46:43] local.INFO: TCP Data received {"connection_id":146425,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:46:43] local.INFO: Processing buffer {"connection_id":146425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:46:43] local.INFO: IMEI packet received {"connection_id":146425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":146425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:46:48] local.INFO: TCP Data received {"connection_id":146425,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:46:48] local.INFO: Processing buffer {"connection_id":146425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:46:48] local.INFO: IMEI packet received {"connection_id":146425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":146425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:46:49] local.INFO: TCP Data received {"connection_id":146425,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd76a468012ce0cdc00731b968002001262b..."} 
[2026-08-01 18:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd76a468012ce0cdc00731b968002001262b..."} 
[2026-08-01 18:46:49] local.INFO: Processing buffer {"connection_id":146425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd76a468012ce0cdc00731b968002001262b..."} 
[2026-08-01 18:46:49] local.INFO: Packet analysis {"connection_id":146425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd76"} 
[2026-08-01 18:46:49] local.INFO: Extracted packet for processing {"connection_id":146425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd76"} 
[2026-08-01 18:46:49] local.INFO: GPS Element Parsed {"raw_longitude":752930240,"raw_latitude":120699240,"longitude_deg":75.293024,"latitude_deg":12.069924,"altitude":32,"angle":294,"satellites":43,"speed":55,"hex_longitude":"2ce0cdc0","hex_latitude":"0731b968","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:46:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111063040001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366759635501187072,"note":"Value kept but may cause issues"} 
[2026-08-01 18:46:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2237937140184301568,"note":"Value kept but may cause issues"} 
[2026-08-01 18:46:49] 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-08-01 18:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785590097000,"timestamp_ms":1785590097000,"timestamp_seconds":1785590097,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd76a468"} 
[2026-08-01 18:46:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:46: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-08-01 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 18:46:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:46:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:46:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111063040001,"66":27745,"45":206,"83":40960,"24":55,"16":366759635501187072,"44":-2237937140184301568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16,44]} 
[2026-08-01 18:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111063040001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:46:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":206,"description":"Unknown IO ID 45"} 
[2026-08-01 18:46:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-01 18:46:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366759635501187072,"km_value":366759635501187.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:46:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2237937140184301568,"description":"Unknown IO ID 44"} 
[2026-08-01 18:46:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111063040001,"power":27745,"unknown_45":206,"unknown_83":40960,"ignition":55,"odometer":null,"unknown_44":-2237937140184301568}} 
[2026-08-01 18:46:49] local.INFO: DEBUG: GPS processor result {"connection_id":146425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:46:49] local.INFO: GPS data processed {"connection_id":146425,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:46:49] local.INFO: Acknowledgment sent {"connection_id":146425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:46:57] local.INFO: TCP Data received {"connection_id":147427,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147427,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:46:57] local.INFO: Processing buffer {"connection_id":147427,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:46:57] local.INFO: IMEI packet received {"connection_id":147427,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 18:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":147427,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:47:03] local.INFO: TCP Data received {"connection_id":147427,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147427,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:47:03] local.INFO: Processing buffer {"connection_id":147427,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:47:03] local.INFO: IMEI packet received {"connection_id":147427,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":147427,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:47:04] local.INFO: TCP Data received {"connection_id":147427,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd775818012d7c094005bd4b880000004725..."} 
[2026-08-01 18:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd775818012d7c094005bd4b880000004725..."} 
[2026-08-01 18:47:04] local.INFO: Processing buffer {"connection_id":147427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd775818012d7c094005bd4b880000004725..."} 
[2026-08-01 18:47:04] local.INFO: Packet analysis {"connection_id":147427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd77"} 
[2026-08-01 18:47:04] local.INFO: Extracted packet for processing {"connection_id":147427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd77"} 
[2026-08-01 18:47:04] local.INFO: GPS Element Parsed {"raw_longitude":763103552,"raw_latitude":96291720,"longitude_deg":76.3103552,"latitude_deg":9.629172,"altitude":0,"angle":71,"satellites":37,"speed":3,"hex_longitude":"2d7c0940","hex_latitude":"05bd4b88","is_valid_coordinates":true} 
[2026-08-01 18:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111071232001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113620580971839488,"note":"Value kept but may cause issues"} 
[2026-08-01 18:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938308278841769984,"note":"Value kept but may cause issues"} 
[2026-08-01 18:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785590143000,"timestamp_ms":1785590143000,"timestamp_seconds":1785590143,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd775818"} 
[2026-08-01 18:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:47: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-08-01 18:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 18:47:04] 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-08-01 18:47:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111071232001,"66":13515,"197":206,"85":12544,"24":3,"16":113620580971839488,"45":8938308278841769984},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-01 18:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111071232001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:47:04] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-01 18:47:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-01 18:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113620580971839488,"km_value":113620580971839.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938308278841769984,"description":"Unknown IO ID 45"} 
[2026-08-01 18:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111071232001,"power":13515,"unknown_197":206,"unknown_85":12544,"ignition":3,"odometer":null,"unknown_45":8938308278841769984}} 
[2026-08-01 18:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":147427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578703,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:47:04] local.INFO: GPS data processed {"connection_id":147427,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:47:04] local.INFO: Acknowledgment sent {"connection_id":147427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:47:20] local.INFO: TCP Data received {"connection_id":146425,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd77f840012cdf1d8007324f90000d01222b..."} 
[2026-08-01 18:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd77f840012cdf1d8007324f90000d01222b..."} 
[2026-08-01 18:47:20] local.INFO: Processing buffer {"connection_id":146425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd77f840012cdf1d8007324f90000d01222b..."} 
[2026-08-01 18:47:20] local.INFO: Packet analysis {"connection_id":146425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd77"} 
[2026-08-01 18:47:20] local.INFO: Extracted packet for processing {"connection_id":146425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd77"} 
[2026-08-01 18:47:20] local.INFO: GPS Element Parsed {"raw_longitude":752819584,"raw_latitude":120737680,"longitude_deg":75.2819584,"latitude_deg":12.073768,"altitude":13,"angle":290,"satellites":43,"speed":56,"hex_longitude":"2cdf1d80","hex_latitude":"07324f90","is_valid_coordinates":true} 
[2026-08-01 18:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111085312001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366765240433508352,"note":"Value kept but may cause issues"} 
[2026-08-01 18:47:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2359252855136593920,"note":"Value kept but may cause issues"} 
[2026-08-01 18:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785590184000,"timestamp_ms":1785590184000,"timestamp_seconds":1785590184,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd77f840"} 
[2026-08-01 18:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:47: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-08-01 18:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 18:47:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:47:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:47:20] 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-08-01 18:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111085312001,"66":27745,"195":206,"83":40960,"24":56,"16":366765240433508352,"44":-2359252855136593920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,83,24,16,44]} 
[2026-08-01 18:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111085312001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:47:20] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-01 18:47:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-01 18:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366765240433508352,"km_value":366765240433508.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:47:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2359252855136593920,"description":"Unknown IO ID 44"} 
[2026-08-01 18:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111085312001,"power":27745,"unknown_195":206,"unknown_83":40960,"ignition":56,"odometer":null,"unknown_44":-2359252855136593920}} 
[2026-08-01 18:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":146425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:47:20] local.INFO: GPS data processed {"connection_id":146425,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:47:20] local.INFO: Acknowledgment sent {"connection_id":146425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:47:35] local.INFO: TCP Data received {"connection_id":147427,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd77aa20012d7c07c005bd4b280001004724..."} 
[2026-08-01 18:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd77aa20012d7c07c005bd4b280001004724..."} 
[2026-08-01 18:47:35] local.INFO: Processing buffer {"connection_id":147427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd77aa20012d7c07c005bd4b280001004724..."} 
[2026-08-01 18:47:35] local.INFO: Packet analysis {"connection_id":147427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd77"} 
[2026-08-01 18:47:35] local.INFO: Extracted packet for processing {"connection_id":147427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd77"} 
[2026-08-01 18:47:35] local.INFO: GPS Element Parsed {"raw_longitude":763103168,"raw_latitude":96291624,"longitude_deg":76.3103168,"latitude_deg":9.6291624,"altitude":1,"angle":71,"satellites":36,"speed":0,"hex_longitude":"2d7c07c0","hex_latitude":"05bd4b28","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111076608001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113620602446675968,"note":"Value kept but may cause issues"} 
[2026-08-01 18:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937745328888317952,"note":"Value kept but may cause issues"} 
[2026-08-01 18:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785590164000,"timestamp_ms":1785590164000,"timestamp_seconds":1785590164,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd77aa20"} 
[2026-08-01 18:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-01 18:47:35] 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-08-01 18:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":147427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":147427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":147427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111076608001,"66":13580,"197":206,"85":12544,"24":0,"16":113620602446675968,"45":8937745328888317952},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-01 18:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111076608001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:47:35] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-01 18:47:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-01 18:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113620602446675968,"km_value":113620602446675.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937745328888317952,"description":"Unknown IO ID 45"} 
[2026-08-01 18:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111076608001,"power":13580,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937745328888317952}} 
[2026-08-01 18:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":147427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578705,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:47:35] local.INFO: GPS data processed {"connection_id":147427,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:47:35] local.INFO: Acknowledgment sent {"connection_id":147427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:47:44] local.INFO: TCP Data received {"connection_id":146427,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:47:44] local.INFO: Processing buffer {"connection_id":146427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:47:44] local.INFO: IMEI packet received {"connection_id":146427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":146427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:47:48] local.INFO: TCP Data received {"connection_id":146427,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:47:48] local.INFO: Processing buffer {"connection_id":146427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:47:48] local.INFO: IMEI packet received {"connection_id":146427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":146427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:47:49] local.INFO: TCP Data received {"connection_id":146427,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd781398012cdef90007325d60000d01222b..."} 
[2026-08-01 18:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd781398012cdef90007325d60000d01222b..."} 
[2026-08-01 18:47:49] local.INFO: Processing buffer {"connection_id":146427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd781398012cdef90007325d60000d01222b..."} 
[2026-08-01 18:47:49] local.INFO: Packet analysis {"connection_id":146427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd78"} 
[2026-08-01 18:47:49] local.INFO: Extracted packet for processing {"connection_id":146427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd78"} 
[2026-08-01 18:47:49] local.INFO: GPS Element Parsed {"raw_longitude":752810240,"raw_latitude":120741216,"longitude_deg":75.281024,"latitude_deg":12.0741216,"altitude":13,"angle":290,"satellites":43,"speed":56,"hex_longitude":"2cdef900","hex_latitude":"07325d60","is_valid_coordinates":true} 
[2026-08-01 18:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111087104001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366765717174878208,"note":"Value kept but may cause issues"} 
[2026-08-01 18:47:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2369597060529811456,"note":"Value kept but may cause issues"} 
[2026-08-01 18:47:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785590191000,"timestamp_ms":1785590191000,"timestamp_seconds":1785590191,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd781398"} 
[2026-08-01 18:47:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:47: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-08-01 18:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 18:47:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:47:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:47:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:47:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111087104001,"66":27800,"195":206,"83":40960,"24":56,"16":366765717174878208,"44":-2369597060529811456},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,83,24,16,44]} 
[2026-08-01 18:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111087104001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:47:49] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-01 18:47:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-01 18:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366765717174878208,"km_value":366765717174878.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:47:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2369597060529811456,"description":"Unknown IO ID 44"} 
[2026-08-01 18:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111087104001,"power":27800,"unknown_195":206,"unknown_83":40960,"ignition":56,"odometer":null,"unknown_44":-2369597060529811456}} 
[2026-08-01 18:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":146427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:47:49] local.INFO: GPS data processed {"connection_id":146427,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:47:49] local.INFO: Acknowledgment sent {"connection_id":146427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:48:03] local.INFO: TCP Data received {"connection_id":146428,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146428,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:48:03] local.INFO: Processing buffer {"connection_id":146428,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:48:03] local.INFO: IMEI packet received {"connection_id":146428,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 18:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":146428,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:48:08] local.INFO: TCP Data received {"connection_id":146428,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146428,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:48:08] local.INFO: Processing buffer {"connection_id":146428,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:48:08] local.INFO: IMEI packet received {"connection_id":146428,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":146428,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:48:09] local.INFO: TCP Data received {"connection_id":146428,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd77fc28012d7c07c005bd4b280001004725..."} 
[2026-08-01 18:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd77fc28012d7c07c005bd4b280001004725..."} 
[2026-08-01 18:48:09] local.INFO: Processing buffer {"connection_id":146428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd77fc28012d7c07c005bd4b280001004725..."} 
[2026-08-01 18:48:09] local.INFO: Packet analysis {"connection_id":146428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd77"} 
[2026-08-01 18:48:09] local.INFO: Extracted packet for processing {"connection_id":146428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd77"} 
[2026-08-01 18:48:09] local.INFO: GPS Element Parsed {"raw_longitude":763103168,"raw_latitude":96291624,"longitude_deg":76.3103168,"latitude_deg":9.6291624,"altitude":1,"angle":71,"satellites":37,"speed":0,"hex_longitude":"2d7c07c0","hex_latitude":"05bd4b28","is_valid_coordinates":true} 
[2026-08-01 18:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111081984001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113620602446675968,"note":"Value kept but may cause issues"} 
[2026-08-01 18:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937323116423227392,"note":"Value kept but may cause issues"} 
[2026-08-01 18:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785590185000,"timestamp_ms":1785590185000,"timestamp_seconds":1785590185,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd77fc28"} 
[2026-08-01 18:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:48: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-08-01 18:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-01 18:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751616937,"note":"Value kept but may cause issues"} 
[2026-08-01 18:48:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-01 18:48:09] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3178683160,"note":"Value kept but may cause issues"} 
[2026-08-01 18:48:09] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6136154492292300810,"note":"Value kept but may cause issues"} 
[2026-08-01 18:48:09] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-01 18:48:09] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-01 18:48:09] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18630167984187077,"note":"Value kept but may cause issues"} 
[2026-08-01 18:48:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797928654,"corrected_to":0} 
[2026-08-01 18:48:09] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3355495846,"note":"Value kept but may cause issues"} 
[2026-08-01 18:48:09] local.WARNING: Large IO value detected {"io_id":147,"raw_value":2839478272,"note":"Value kept but may cause issues"} 
[2026-08-01 18:48:09] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3175618560,"note":"Value kept but may cause issues"} 
[2026-08-01 18:48:09] local.WARNING: Large IO value detected {"io_id":124,"raw_value":792639844933697540,"note":"Value kept but may cause issues"} 
[2026-08-01 18:48:09] local.WARNING: Large IO value detected {"io_id":48,"raw_value":-3674711179780895147,"note":"Value kept but may cause issues"} 
[2026-08-01 18:48:09] local.WARNING: Large IO value detected {"io_id":49,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-01 18:48:09] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,197,85,24,241,157,16,169,159,88,45,64,75,37,10,66,6,76,1,2,192,240,222,227,189,4,113,205,9,250,239,47,147,5,124,48,49],"length":577,"final_offset":707,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2797928654,"validated":0}]} 
[2026-08-01 18:48:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72135813982322688,"timestamp_seconds":72135813982322.69,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 18:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":146428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":146428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":146428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:48:09] 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-08-01 18:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111081984001,"66":13396,"197":206,"85":12544,"24":0,"16":113620602446675968,"45":8937323116423227392},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-01 18:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111081984001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:48:09] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-01 18:48:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-01 18:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113620602446675968,"km_value":113620602446675.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937323116423227392,"description":"Unknown IO ID 45"} 
[2026-08-01 18:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111081984001,"power":13396,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937323116423227392}} 
[2026-08-01 18:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":146428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578707,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:48:09] local.INFO: GPS data processed {"connection_id":146428,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:48:09] local.INFO: Acknowledgment sent {"connection_id":146428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:48:12] local.INFO: TCP Data received {"connection_id":146428,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd784e30012d7c07c005bd4b280001004726..."} 
[2026-08-01 18:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd784e30012d7c07c005bd4b280001004726..."} 
[2026-08-01 18:48:12] local.INFO: Processing buffer {"connection_id":146428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd784e30012d7c07c005bd4b280001004726..."} 
[2026-08-01 18:48:12] local.INFO: Packet analysis {"connection_id":146428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd78"} 
[2026-08-01 18:48:12] local.INFO: Extracted packet for processing {"connection_id":146428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd78"} 
[2026-08-01 18:48:12] local.INFO: GPS Element Parsed {"raw_longitude":763103168,"raw_latitude":96291624,"longitude_deg":76.3103168,"latitude_deg":9.6291624,"altitude":1,"angle":71,"satellites":38,"speed":0,"hex_longitude":"2d7c07c0","hex_latitude":"05bd4b28","is_valid_coordinates":true} 
[2026-08-01 18:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111087360001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113620602446675968,"note":"Value kept but may cause issues"} 
[2026-08-01 18:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937323116423227392,"note":"Value kept but may cause issues"} 
[2026-08-01 18:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1785590206000,"timestamp_ms":1785590206000,"timestamp_seconds":1785590206,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd784e30"} 
[2026-08-01 18:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-01 18:48:12] 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-08-01 18:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":146428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":146428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":146428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:48:12] 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-08-01 18:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111087360001,"66":13678,"197":206,"85":12544,"24":0,"16":113620602446675968,"45":8937323116423227392},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-01 18:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111087360001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:48:12] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-01 18:48:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-01 18:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113620602446675968,"km_value":113620602446675.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937323116423227392,"description":"Unknown IO ID 45"} 
[2026-08-01 18:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111087360001,"power":13678,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937323116423227392}} 
[2026-08-01 18:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":146428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578708,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:48:12] local.INFO: GPS data processed {"connection_id":146428,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:48:12] local.INFO: Acknowledgment sent {"connection_id":146428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:48:20] local.INFO: TCP Data received {"connection_id":146427,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd782ef0012cded5c007326a60000d01222a..."} 
[2026-08-01 18:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd782ef0012cded5c007326a60000d01222a..."} 
[2026-08-01 18:48:20] local.INFO: Processing buffer {"connection_id":146427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd782ef0012cded5c007326a60000d01222a..."} 
[2026-08-01 18:48:20] local.INFO: Packet analysis {"connection_id":146427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd78"} 
[2026-08-01 18:48:20] local.INFO: Extracted packet for processing {"connection_id":146427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd78"} 
[2026-08-01 18:48:20] local.INFO: GPS Element Parsed {"raw_longitude":752801216,"raw_latitude":120744544,"longitude_deg":75.2801216,"latitude_deg":12.0744544,"altitude":13,"angle":290,"satellites":42,"speed":51,"hex_longitude":"2cded5c0","hex_latitude":"07326a60","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111088896001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366766172441411584,"note":"Value kept but may cause issues"} 
[2026-08-01 18:48:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2379870897178845184,"note":"Value kept but may cause issues"} 
[2026-08-01 18:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785590198000,"timestamp_ms":1785590198000,"timestamp_seconds":1785590198,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd782ef0"} 
[2026-08-01 18:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:48: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-08-01 18:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 18:48:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:48:20] 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-08-01 18:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111088896001,"66":27767,"195":206,"83":40960,"24":51,"16":366766172441411584,"44":-2379870897178845184},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,83,24,16,44]} 
[2026-08-01 18:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111088896001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:48:20] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-01 18:48:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-01 18:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366766172441411584,"km_value":366766172441411.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:48:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2379870897178845184,"description":"Unknown IO ID 44"} 
[2026-08-01 18:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111088896001,"power":27767,"unknown_195":206,"unknown_83":40960,"ignition":51,"odometer":null,"unknown_44":-2379870897178845184}} 
[2026-08-01 18:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":146427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:48:20] local.INFO: GPS data processed {"connection_id":146427,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:48:20] local.INFO: Acknowledgment sent {"connection_id":146427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:48:43] local.INFO: TCP Data received {"connection_id":146199,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:48:43] local.INFO: Processing buffer {"connection_id":146199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:48:43] local.INFO: IMEI packet received {"connection_id":146199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":146199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:48:49] local.INFO: TCP Data received {"connection_id":146199,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:48:49] local.INFO: Processing buffer {"connection_id":146199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:48:49] local.INFO: IMEI packet received {"connection_id":146199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":146199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:48:49] local.INFO: TCP Data received {"connection_id":146199,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd784e30012cdeb0c0073276c0000d011d2a..."} 
[2026-08-01 18:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd784e30012cdeb0c0073276c0000d011d2a..."} 
[2026-08-01 18:48:49] local.INFO: Processing buffer {"connection_id":146199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd784e30012cdeb0c0073276c0000d011d2a..."} 
[2026-08-01 18:48:49] local.INFO: Packet analysis {"connection_id":146199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd78"} 
[2026-08-01 18:48:49] local.INFO: Extracted packet for processing {"connection_id":146199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd78"} 
[2026-08-01 18:48:49] local.INFO: GPS Element Parsed {"raw_longitude":752791744,"raw_latitude":120747712,"longitude_deg":75.2791744,"latitude_deg":12.0747712,"altitude":13,"angle":285,"satellites":42,"speed":47,"hex_longitude":"2cdeb0c0","hex_latitude":"073276c0","is_valid_coordinates":true} 
[2026-08-01 18:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111090688001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366766649182781440,"note":"Value kept but may cause issues"} 
[2026-08-01 18:48:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2389792890107043840,"note":"Value kept but may cause issues"} 
[2026-08-01 18:48:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785590206000,"timestamp_ms":1785590206000,"timestamp_seconds":1785590206,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd784e30"} 
[2026-08-01 18:48:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:48: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-08-01 18:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 18:48:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:48:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:48:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:48:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111090688001,"66":27658,"195":206,"83":40960,"24":47,"16":366766649182781440,"44":-2389792890107043840},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,83,24,16,44]} 
[2026-08-01 18:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111090688001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:48:49] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-01 18:48:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-01 18:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366766649182781440,"km_value":366766649182781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:48:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2389792890107043840,"description":"Unknown IO ID 44"} 
[2026-08-01 18:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111090688001,"power":27658,"unknown_195":206,"unknown_83":40960,"ignition":47,"odometer":null,"unknown_44":-2389792890107043840}} 
[2026-08-01 18:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":146199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:48:49] local.INFO: GPS data processed {"connection_id":146199,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:48:49] local.INFO: Acknowledgment sent {"connection_id":146199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:48:58] local.INFO: TCP Data received {"connection_id":148727,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148727,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:48:58] local.INFO: Processing buffer {"connection_id":148727,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:48:58] local.INFO: IMEI packet received {"connection_id":148727,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 18:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":148727,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:49:03] local.INFO: TCP Data received {"connection_id":148727,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148727,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:49:03] local.INFO: Processing buffer {"connection_id":148727,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:49:03] local.INFO: IMEI packet received {"connection_id":148727,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":148727,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:49:03] local.INFO: TCP Data received {"connection_id":148727,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd78a038012d7c07c005bd4b280001004726..."} 
[2026-08-01 18:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd78a038012d7c07c005bd4b280001004726..."} 
[2026-08-01 18:49:03] local.INFO: Processing buffer {"connection_id":148727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd78a038012d7c07c005bd4b280001004726..."} 
[2026-08-01 18:49:03] local.INFO: Packet analysis {"connection_id":148727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd78"} 
[2026-08-01 18:49:03] local.INFO: Extracted packet for processing {"connection_id":148727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd78"} 
[2026-08-01 18:49:03] local.INFO: GPS Element Parsed {"raw_longitude":763103168,"raw_latitude":96291624,"longitude_deg":76.3103168,"latitude_deg":9.6291624,"altitude":1,"angle":71,"satellites":38,"speed":0,"hex_longitude":"2d7c07c0","hex_latitude":"05bd4b28","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111092736001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113620602446675968,"note":"Value kept but may cause issues"} 
[2026-08-01 18:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937323116423227392,"note":"Value kept but may cause issues"} 
[2026-08-01 18:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785590227000,"timestamp_ms":1785590227000,"timestamp_seconds":1785590227,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd78a038"} 
[2026-08-01 18:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-01 18:49:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111092736001,"66":13580,"197":206,"85":12544,"24":0,"16":113620602446675968,"45":8937323116423227392},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-01 18:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111092736001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:49:03] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-01 18:49:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-01 18:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113620602446675968,"km_value":113620602446675.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937323116423227392,"description":"Unknown IO ID 45"} 
[2026-08-01 18:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111092736001,"power":13580,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937323116423227392}} 
[2026-08-01 18:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":148727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578711,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:49:04] local.INFO: GPS data processed {"connection_id":148727,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:49:04] local.INFO: Acknowledgment sent {"connection_id":148727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:49:21] local.INFO: TCP Data received {"connection_id":146199,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd79d0e8012cdcd7400732e1700015012d2c..."} 
[2026-08-01 18:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd79d0e8012cdcd7400732e1700015012d2c..."} 
[2026-08-01 18:49:21] local.INFO: Processing buffer {"connection_id":146199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd79d0e8012cdcd7400732e1700015012d2c..."} 
[2026-08-01 18:49:21] local.INFO: Packet analysis {"connection_id":146199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd79"} 
[2026-08-01 18:49:21] local.INFO: Extracted packet for processing {"connection_id":146199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd79"} 
[2026-08-01 18:49:21] local.INFO: GPS Element Parsed {"raw_longitude":752670528,"raw_latitude":120775024,"longitude_deg":75.2670528,"latitude_deg":12.0775024,"altitude":21,"angle":301,"satellites":44,"speed":51,"hex_longitude":"2cdcd740","hex_latitude":"0732e170","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111116288001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366772670726930432,"note":"Value kept but may cause issues"} 
[2026-08-01 18:49:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2524689772689082368,"note":"Value kept but may cause issues"} 
[2026-08-01 18:49:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785590305000,"timestamp_ms":1785590305000,"timestamp_seconds":1785590305,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd79d0e8"} 
[2026-08-01 18:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:49:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 18:49:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:49:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111116288001,"66":27745,"154":206,"83":40960,"24":51,"16":366772670726930432,"44":-2524689772689082368},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,83,24,16,44]} 
[2026-08-01 18:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111116288001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:49:21] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-01 18:49:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-01 18:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366772670726930432,"km_value":366772670726930.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:49:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2524689772689082368,"description":"Unknown IO ID 44"} 
[2026-08-01 18:49:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111116288001,"power":27745,"unknown_154":206,"unknown_83":40960,"ignition":51,"odometer":null,"unknown_44":-2524689772689082368}} 
[2026-08-01 18:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":146199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:49:21] local.INFO: GPS data processed {"connection_id":146199,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:49:21] local.INFO: Acknowledgment sent {"connection_id":146199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:49:35] local.INFO: TCP Data received {"connection_id":148727,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd78f240012d7c07c005bd4b280001004727..."} 
[2026-08-01 18:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd78f240012d7c07c005bd4b280001004727..."} 
[2026-08-01 18:49:35] local.INFO: Processing buffer {"connection_id":148727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd78f240012d7c07c005bd4b280001004727..."} 
[2026-08-01 18:49:35] local.INFO: Packet analysis {"connection_id":148727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd78"} 
[2026-08-01 18:49:35] local.INFO: Extracted packet for processing {"connection_id":148727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd78"} 
[2026-08-01 18:49:35] local.INFO: GPS Element Parsed {"raw_longitude":763103168,"raw_latitude":96291624,"longitude_deg":76.3103168,"latitude_deg":9.6291624,"altitude":1,"angle":71,"satellites":39,"speed":0,"hex_longitude":"2d7c07c0","hex_latitude":"05bd4b28","is_valid_coordinates":true} 
[2026-08-01 18:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111098112001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113620602446675968,"note":"Value kept but may cause issues"} 
[2026-08-01 18:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937323116423227392,"note":"Value kept but may cause issues"} 
[2026-08-01 18:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785590248000,"timestamp_ms":1785590248000,"timestamp_seconds":1785590248,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd78f240"} 
[2026-08-01 18:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-01 18:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751616937,"note":"Value kept but may cause issues"} 
[2026-08-01 18:49:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-01 18:49:35] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3178693160,"note":"Value kept but may cause issues"} 
[2026-08-01 18:49:35] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7806633712279355392,"note":"Value kept but may cause issues"} 
[2026-08-01 18:49:35] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-01 18:49:35] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18629979005626053,"note":"Value kept but may cause issues"} 
[2026-08-01 18:49:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797928654,"corrected_to":0} 
[2026-08-01 18:49:35] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3825257894,"note":"Value kept but may cause issues"} 
[2026-08-01 18:49:35] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-01 18:49:35] local.WARNING: Large IO value detected {"io_id":147,"raw_value":2839937024,"note":"Value kept but may cause issues"} 
[2026-08-01 18:49:35] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3175849984,"note":"Value kept but may cause issues"} 
[2026-08-01 18:49:35] local.WARNING: Large IO value detected {"io_id":124,"raw_value":738596649451913217,"note":"Value kept but may cause issues"} 
[2026-08-01 18:49:35] local.WARNING: Large IO value detected {"io_id":47,"raw_value":-2449732081136120235,"note":"Value kept but may cause issues"} 
[2026-08-01 18:49:35] local.WARNING: Large IO value detected {"io_id":49,"raw_value":6755438095892721,"note":"Value kept but may cause issues"} 
[2026-08-01 18:49:35] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,197,85,24,241,157,16,169,159,78,45,192,75,1,38,10,66,252,37,170,240,12,227,189,4,113,205,3,6,11,239,46,2,147,5,8,124,47,49],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2797928654,"validated":0}]} 
[2026-08-01 18:49:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72135822572257280,"timestamp_seconds":72135822572257.28,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 18:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111098112001,"66":13613,"197":206,"85":12544,"24":0,"16":113620602446675968,"45":8937323116423227392},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-01 18:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111098112001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:49:35] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-01 18:49:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-01 18:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113620602446675968,"km_value":113620602446675.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937323116423227392,"description":"Unknown IO ID 45"} 
[2026-08-01 18:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111098112001,"power":13613,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937323116423227392}} 
[2026-08-01 18:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":148727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578713,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:49:35] local.INFO: GPS data processed {"connection_id":148727,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:49:35] local.INFO: Acknowledgment sent {"connection_id":148727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:49:48] local.INFO: TCP Data received {"connection_id":148729,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:49:48] local.INFO: Processing buffer {"connection_id":148729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:49:48] local.INFO: IMEI packet received {"connection_id":148729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":148729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:49:52] local.INFO: TCP Data received {"connection_id":148729,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:49:52] local.INFO: Processing buffer {"connection_id":148729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:49:52] local.INFO: IMEI packet received {"connection_id":148729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":148729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:49:52] local.INFO: TCP Data received {"connection_id":148729,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd79f028012cdcb5000732f6280017012e2d..."} 
[2026-08-01 18:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd79f028012cdcb5000732f6280017012e2d..."} 
[2026-08-01 18:49:52] local.INFO: Processing buffer {"connection_id":148729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd79f028012cdcb5000732f6280017012e2d..."} 
[2026-08-01 18:49:52] local.INFO: Packet analysis {"connection_id":148729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd79"} 
[2026-08-01 18:49:52] local.INFO: Extracted packet for processing {"connection_id":148729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd79"} 
[2026-08-01 18:49:52] local.INFO: GPS Element Parsed {"raw_longitude":752661760,"raw_latitude":120780328,"longitude_deg":75.266176,"latitude_deg":12.0780328,"altitude":23,"angle":302,"satellites":45,"speed":49,"hex_longitude":"2cdcb500","hex_latitude":"0732f628","is_valid_coordinates":true} 
[2026-08-01 18:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111118080001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366773160353202176,"note":"Value kept but may cause issues"} 
[2026-08-01 18:49:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2533485865710030848,"note":"Value kept but may cause issues"} 
[2026-08-01 18:49:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785590313000,"timestamp_ms":1785590313000,"timestamp_seconds":1785590313,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd79f028"} 
[2026-08-01 18:49:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:49:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 18:49:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:49:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:49:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:49:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111118080001,"66":27821,"154":206,"83":40960,"24":49,"16":366773160353202176,"44":-2533485865710030848},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,83,24,16,44]} 
[2026-08-01 18:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111118080001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:49:52] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-01 18:49:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-01 18:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366773160353202176,"km_value":366773160353202.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:49:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2533485865710030848,"description":"Unknown IO ID 44"} 
[2026-08-01 18:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111118080001,"power":27821,"unknown_154":206,"unknown_83":40960,"ignition":49,"odometer":null,"unknown_44":-2533485865710030848}} 
[2026-08-01 18:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":148729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:49:52] local.INFO: GPS data processed {"connection_id":148729,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:49:52] local.INFO: Acknowledgment sent {"connection_id":148729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:49:53] local.INFO: TCP Data received {"connection_id":148729,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd7a0f68012cdc944007330a100018012d2d..."} 
[2026-08-01 18:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd7a0f68012cdc944007330a100018012d2d..."} 
[2026-08-01 18:49:53] local.INFO: Processing buffer {"connection_id":148729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd7a0f68012cdc944007330a100018012d2d..."} 
[2026-08-01 18:49:53] local.INFO: Packet analysis {"connection_id":148729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd7a"} 
[2026-08-01 18:49:53] local.INFO: Extracted packet for processing {"connection_id":148729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd7a"} 
[2026-08-01 18:49:53] local.INFO: GPS Element Parsed {"raw_longitude":752653376,"raw_latitude":120785424,"longitude_deg":75.2653376,"latitude_deg":12.0785424,"altitude":24,"angle":301,"satellites":45,"speed":48,"hex_longitude":"2cdc9440","hex_latitude":"07330a10","is_valid_coordinates":true} 
[2026-08-01 18:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:49:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111120128001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:49:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366773628504637440,"note":"Value kept but may cause issues"} 
[2026-08-01 18:49:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2543126383661012992,"note":"Value kept but may cause issues"} 
[2026-08-01 18:49:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:49:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785590321000,"timestamp_ms":1785590321000,"timestamp_seconds":1785590321,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd7a0f68"} 
[2026-08-01 18:49:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:49: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-08-01 18:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 18:49:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:49:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:49:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:49:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:49:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:49:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:49:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:49:53] 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-08-01 18:49:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:49:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:49:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111120128001,"66":27800,"154":206,"83":40960,"24":48,"16":366773628504637440,"44":-2543126383661012992},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,83,24,16,44]} 
[2026-08-01 18:49:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:49:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:49:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111120128001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:49:53] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-01 18:49:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-01 18:49:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366773628504637440,"km_value":366773628504637.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:49:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2543126383661012992,"description":"Unknown IO ID 44"} 
[2026-08-01 18:49:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111120128001,"power":27800,"unknown_154":206,"unknown_83":40960,"ignition":48,"odometer":null,"unknown_44":-2543126383661012992}} 
[2026-08-01 18:49:53] local.INFO: DEBUG: GPS processor result {"connection_id":148729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:49:53] local.INFO: GPS data processed {"connection_id":148729,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:49:53] local.INFO: Acknowledgment sent {"connection_id":148729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:49:57] local.INFO: TCP Data received {"connection_id":146429,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146429,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:49:57] local.INFO: Processing buffer {"connection_id":146429,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:49:57] local.INFO: IMEI packet received {"connection_id":146429,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 18:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":146429,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:49:57] local.INFO: TCP Data received {"connection_id":146429,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146429,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:49:57] local.INFO: Processing buffer {"connection_id":146429,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:49:57] local.INFO: IMEI packet received {"connection_id":146429,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":146429,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:50:03] local.INFO: TCP Data received {"connection_id":146429,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146429,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:50:03] local.INFO: Processing buffer {"connection_id":146429,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:50:03] local.INFO: IMEI packet received {"connection_id":146429,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":146429,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:50:04] local.INFO: TCP Data received {"connection_id":146429,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd794448012d7c07c005bd4b280001004726..."} 
[2026-08-01 18:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd794448012d7c07c005bd4b280001004726..."} 
[2026-08-01 18:50:04] local.INFO: Processing buffer {"connection_id":146429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd794448012d7c07c005bd4b280001004726..."} 
[2026-08-01 18:50:04] local.INFO: Packet analysis {"connection_id":146429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd79"} 
[2026-08-01 18:50:04] local.INFO: Extracted packet for processing {"connection_id":146429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd79"} 
[2026-08-01 18:50:04] local.INFO: GPS Element Parsed {"raw_longitude":763103168,"raw_latitude":96291624,"longitude_deg":76.3103168,"latitude_deg":9.6291624,"altitude":1,"angle":71,"satellites":38,"speed":0,"hex_longitude":"2d7c07c0","hex_latitude":"05bd4b28","is_valid_coordinates":true} 
[2026-08-01 18:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111103488001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113620602446675968,"note":"Value kept but may cause issues"} 
[2026-08-01 18:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937323116423227392,"note":"Value kept but may cause issues"} 
[2026-08-01 18:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785590269000,"timestamp_ms":1785590269000,"timestamp_seconds":1785590269,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd794448"} 
[2026-08-01 18:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-08-01 18:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111103488001,"66":13406,"197":206,"85":12544,"24":0,"16":113620602446675968,"45":8937323116423227392},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-01 18:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111103488001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:50:04] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-01 18:50:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-01 18:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113620602446675968,"km_value":113620602446675.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937323116423227392,"description":"Unknown IO ID 45"} 
[2026-08-01 18:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111103488001,"power":13406,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937323116423227392}} 
[2026-08-01 18:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":146429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578716,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:50:04] local.INFO: GPS data processed {"connection_id":146429,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:50:04] local.INFO: Acknowledgment sent {"connection_id":146429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:50:04] local.INFO: TCP Data received {"connection_id":146430,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:50:04] local.INFO: Processing buffer {"connection_id":146430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:50:04] local.INFO: IMEI packet received {"connection_id":146430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 18:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":146430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:50:05] local.INFO: TCP Data received {"connection_id":146430,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:50:05] local.INFO: Processing buffer {"connection_id":146430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:50:05] local.INFO: IMEI packet received {"connection_id":146430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":146430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:50:05] local.INFO: TCP Data received {"connection_id":146430,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:50:05] local.INFO: Processing buffer {"connection_id":146430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:50:05] local.INFO: IMEI packet received {"connection_id":146430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":146430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:50:06] local.INFO: TCP Data received {"connection_id":146430,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd7a9820012d1daec0071bd6d0004f008b1c..."} 
[2026-08-01 18:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd7a9820012d1daec0071bd6d0004f008b1c..."} 
[2026-08-01 18:50:06] local.INFO: Processing buffer {"connection_id":146430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd7a9820012d1daec0071bd6d0004f008b1c..."} 
[2026-08-01 18:50:06] local.INFO: Packet analysis {"connection_id":146430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd7a"} 
[2026-08-01 18:50:06] local.INFO: Extracted packet for processing {"connection_id":146430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd7a"} 
[2026-08-01 18:50:06] local.INFO: GPS Element Parsed {"raw_longitude":756920000,"raw_latitude":119264976,"longitude_deg":75.692,"latitude_deg":11.9264976,"altitude":79,"angle":139,"satellites":28,"speed":30,"hex_longitude":"2d1daec0","hex_latitude":"071bd6d0","is_valid_coordinates":true} 
[2026-08-01 18:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111127552001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10328086381854720,"note":"Value kept but may cause issues"} 
[2026-08-01 18:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2132243347860617216,"note":"Value kept but may cause issues"} 
[2026-08-01 18:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785590356000,"timestamp_ms":1785590356000,"timestamp_seconds":1785590356,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd7a9820"} 
[2026-08-01 18:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:50: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-08-01 18:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-01 18:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:50:06] 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-08-01 18:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111127552001,"66":14363,"82":206,"83":41984,"24":30,"16":10328086381854720,"45":2132243347860617216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-01 18:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111127552001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:50:06] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 18:50:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10328086381854720,"km_value":10328086381854.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2132243347860617216,"description":"Unknown IO ID 45"} 
[2026-08-01 18:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111127552001,"power":14363,"unknown_82":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":2132243347860617216}} 
[2026-08-01 18:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":146430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:50:06] local.INFO: GPS data processed {"connection_id":146430,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:50:06] local.INFO: Acknowledgment sent {"connection_id":146430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:50:24] local.INFO: TCP Data received {"connection_id":148729,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd7a2ea8012cdc73c007331de80019012d2d..."} 
[2026-08-01 18:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd7a2ea8012cdc73c007331de80019012d2d..."} 
[2026-08-01 18:50:24] local.INFO: Processing buffer {"connection_id":148729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd7a2ea8012cdc73c007331de80019012d2d..."} 
[2026-08-01 18:50:24] local.INFO: Packet analysis {"connection_id":148729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd7a"} 
[2026-08-01 18:50:24] local.INFO: Extracted packet for processing {"connection_id":148729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd7a"} 
[2026-08-01 18:50:24] local.INFO: GPS Element Parsed {"raw_longitude":752645056,"raw_latitude":120790504,"longitude_deg":75.2645056,"latitude_deg":12.0790504,"altitude":25,"angle":301,"satellites":45,"speed":47,"hex_longitude":"2cdc73c0","hex_latitude":"07331de8","is_valid_coordinates":true} 
[2026-08-01 18:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111122176001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366774092361105408,"note":"Value kept but may cause issues"} 
[2026-08-01 18:50:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2552344689146982400,"note":"Value kept but may cause issues"} 
[2026-08-01 18:50:25] 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-08-01 18:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785590329000,"timestamp_ms":1785590329000,"timestamp_seconds":1785590329,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd7a2ea8"} 
[2026-08-01 18:50:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:50:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-01 18:50:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:50:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:50:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:50:25] 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-08-01 18:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111122176001,"66":27691,"146":206,"83":40960,"24":47,"16":366774092361105408,"44":-2552344689146982400},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-08-01 18:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111122176001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:50:25] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-01 18:50:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-01 18:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366774092361105408,"km_value":366774092361105.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:50:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2552344689146982400,"description":"Unknown IO ID 44"} 
[2026-08-01 18:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111122176001,"power":27691,"unknown_146":206,"unknown_83":40960,"ignition":47,"odometer":null,"unknown_44":-2552344689146982400}} 
[2026-08-01 18:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":148729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:50:25] local.INFO: GPS data processed {"connection_id":148729,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:50:25] local.INFO: Acknowledgment sent {"connection_id":148729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:50:35] local.INFO: TCP Data received {"connection_id":146429,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd799650012d7c07c005bd4b280001004727..."} 
[2026-08-01 18:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd799650012d7c07c005bd4b280001004727..."} 
[2026-08-01 18:50:35] local.INFO: Processing buffer {"connection_id":146429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd799650012d7c07c005bd4b280001004727..."} 
[2026-08-01 18:50:35] local.INFO: Packet analysis {"connection_id":146429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd79"} 
[2026-08-01 18:50:35] local.INFO: Extracted packet for processing {"connection_id":146429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd79"} 
[2026-08-01 18:50:35] local.INFO: GPS Element Parsed {"raw_longitude":763103168,"raw_latitude":96291624,"longitude_deg":76.3103168,"latitude_deg":9.6291624,"altitude":1,"angle":71,"satellites":39,"speed":0,"hex_longitude":"2d7c07c0","hex_latitude":"05bd4b28","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111108864001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113620602446675968,"note":"Value kept but may cause issues"} 
[2026-08-01 18:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937323116423227392,"note":"Value kept but may cause issues"} 
[2026-08-01 18:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785590290000,"timestamp_ms":1785590290000,"timestamp_seconds":1785590290,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd799650"} 
[2026-08-01 18:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:50: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-08-01 18: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-01 18:50:35] 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-08-01 18: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-08-01 18:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111108864001,"66":13450,"197":206,"85":12544,"24":0,"16":113620602446675968,"45":8937323116423227392},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-01 18:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111108864001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:50:35] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-01 18:50:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-01 18:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113620602446675968,"km_value":113620602446675.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937323116423227392,"description":"Unknown IO ID 45"} 
[2026-08-01 18:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111108864001,"power":13450,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937323116423227392}} 
[2026-08-01 18:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":146429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578719,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:50:35] local.INFO: GPS data processed {"connection_id":146429,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:50:35] local.INFO: Acknowledgment sent {"connection_id":146429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:50:38] local.INFO: TCP Data received {"connection_id":146430,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd7b4018012d1df100071b83e8003e00f921..."} 
[2026-08-01 18:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd7b4018012d1df100071b83e8003e00f921..."} 
[2026-08-01 18:50:38] local.INFO: Processing buffer {"connection_id":146430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd7b4018012d1df100071b83e8003e00f921..."} 
[2026-08-01 18:50:38] local.INFO: Packet analysis {"connection_id":146430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd7b"} 
[2026-08-01 18:50:38] local.INFO: Extracted packet for processing {"connection_id":146430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd7b"} 
[2026-08-01 18:50:38] local.INFO: GPS Element Parsed {"raw_longitude":756936960,"raw_latitude":119243752,"longitude_deg":75.693696,"latitude_deg":11.9243752,"altitude":62,"angle":249,"satellites":33,"speed":7,"hex_longitude":"2d1df100","hex_latitude":"071b83e8","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111141888001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10329469361324032,"note":"Value kept but may cause issues"} 
[2026-08-01 18:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2157646464501958656,"note":"Value kept but may cause issues"} 
[2026-08-01 18:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785590399000,"timestamp_ms":1785590399000,"timestamp_seconds":1785590399,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd7b4018"} 
[2026-08-01 18:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-01 18:50:38] 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-08-01 18: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-08-01 18:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111141888001,"66":14265,"82":206,"83":41984,"24":7,"16":10329469361324032,"45":2157646464501958656},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-01 18:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111141888001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:50:38] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 18:50:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10329469361324032,"km_value":10329469361324.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":2157646464501958656,"description":"Unknown IO ID 45"} 
[2026-08-01 18:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111141888001,"power":14265,"unknown_82":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":2157646464501958656}} 
[2026-08-01 18:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":146430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578720,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:50:38] local.INFO: GPS data processed {"connection_id":146430,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:50:38] local.INFO: Acknowledgment sent {"connection_id":146430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:50:48] local.INFO: TCP Data received {"connection_id":147428,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:50:48] local.INFO: Processing buffer {"connection_id":147428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:50:48] local.INFO: IMEI packet received {"connection_id":147428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":147428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:50:51] local.INFO: TCP Data received {"connection_id":147428,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:50:51] local.INFO: Processing buffer {"connection_id":147428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:50:51] local.INFO: IMEI packet received {"connection_id":147428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":147428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:50:53] local.INFO: TCP Data received {"connection_id":147428,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:50:53] local.INFO: Processing buffer {"connection_id":147428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:50:53] local.INFO: IMEI packet received {"connection_id":147428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":147428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:50:54] local.INFO: TCP Data received {"connection_id":147428,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd7b3c30012cdb41800733c0100017014e2b..."} 
[2026-08-01 18:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd7b3c30012cdb41800733c0100017014e2b..."} 
[2026-08-01 18:50:54] local.INFO: Processing buffer {"connection_id":147428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd7b3c30012cdb41800733c0100017014e2b..."} 
[2026-08-01 18:50:54] local.INFO: Packet analysis {"connection_id":147428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd7b"} 
[2026-08-01 18:50:54] local.INFO: Extracted packet for processing {"connection_id":147428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd7b"} 
[2026-08-01 18:50:54] local.INFO: GPS Element Parsed {"raw_longitude":752566656,"raw_latitude":120832016,"longitude_deg":75.2566656,"latitude_deg":12.0832016,"altitude":23,"angle":334,"satellites":43,"speed":54,"hex_longitude":"2cdb4180","hex_latitude":"0733c010","is_valid_coordinates":true} 
[2026-08-01 18:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:50:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111140608001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:50:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366778408803237888,"note":"Value kept but may cause issues"} 
[2026-08-01 18:50:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2643894425311684608,"note":"Value kept but may cause issues"} 
[2026-08-01 18:50:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:50:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785590398000,"timestamp_ms":1785590398000,"timestamp_seconds":1785590398,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd7b3c30"} 
[2026-08-01 18:50:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:50:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 18:50:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:50:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:50:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:50:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:50:54] local.INFO: Teltonika packet parsed successfully {"connection_id":147428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:50:54] local.INFO: Passing IMEI to GPS processor {"connection_id":147428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:50:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":147428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:50:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:50:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:50:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:50:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111140608001,"66":27691,"145":206,"83":40960,"24":54,"16":366778408803237888,"44":-2643894425311684608},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,44]} 
[2026-08-01 18:50:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:50:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:50:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111140608001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:50:54] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-01 18:50:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-01 18:50:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366778408803237888,"km_value":366778408803237.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:50:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2643894425311684608,"description":"Unknown IO ID 44"} 
[2026-08-01 18:50:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111140608001,"power":27691,"unknown_145":206,"unknown_83":40960,"ignition":54,"odometer":null,"unknown_44":-2643894425311684608}} 
[2026-08-01 18:50:54] local.INFO: DEBUG: GPS processor result {"connection_id":147428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:50:54] local.INFO: GPS data processed {"connection_id":147428,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:50:54] local.INFO: Acknowledgment sent {"connection_id":147428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:50:57] local.INFO: TCP Data received {"connection_id":146431,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146431,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:50:57] local.INFO: Processing buffer {"connection_id":146431,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:50:57] local.INFO: IMEI packet received {"connection_id":146431,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 18:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":146431,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:50:58] local.INFO: TCP Data received {"connection_id":147428,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd7b5788012cdb31000733e2a80015014b2d..."} 
[2026-08-01 18:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd7b5788012cdb31000733e2a80015014b2d..."} 
[2026-08-01 18:50:58] local.INFO: Processing buffer {"connection_id":147428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd7b5788012cdb31000733e2a80015014b2d..."} 
[2026-08-01 18:50:58] local.INFO: Packet analysis {"connection_id":147428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd7b"} 
[2026-08-01 18:50:58] local.INFO: Extracted packet for processing {"connection_id":147428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd7b"} 
[2026-08-01 18:50:58] local.INFO: GPS Element Parsed {"raw_longitude":752562432,"raw_latitude":120840872,"longitude_deg":75.2562432,"latitude_deg":12.0840872,"altitude":21,"angle":331,"satellites":45,"speed":56,"hex_longitude":"2cdb3100","hex_latitude":"0733e2a8","is_valid_coordinates":true} 
[2026-08-01 18:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111141888001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366778885544607744,"note":"Value kept but may cause issues"} 
[2026-08-01 18:50:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2647694337495789568,"note":"Value kept but may cause issues"} 
[2026-08-01 18:50:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785590405000,"timestamp_ms":1785590405000,"timestamp_seconds":1785590405,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd7b5788"} 
[2026-08-01 18:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:50: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-08-01 18:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-01 18:50:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:50:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":147428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":147428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":147428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:50:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111141888001,"66":27691,"145":206,"83":40960,"24":56,"16":366778885544607744,"44":-2647694337495789568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,44]} 
[2026-08-01 18:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111141888001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:50:58] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-01 18:50:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-01 18:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366778885544607744,"km_value":366778885544607.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:50:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2647694337495789568,"description":"Unknown IO ID 44"} 
[2026-08-01 18:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111141888001,"power":27691,"unknown_145":206,"unknown_83":40960,"ignition":56,"odometer":null,"unknown_44":-2647694337495789568}} 
[2026-08-01 18:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":147428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:50:58] local.INFO: GPS data processed {"connection_id":147428,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:50:58] local.INFO: Acknowledgment sent {"connection_id":147428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:51:00] local.INFO: TCP Data received {"connection_id":148730,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:51:00] local.INFO: Processing buffer {"connection_id":148730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:51:00] local.INFO: IMEI packet received {"connection_id":148730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 18:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":148730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:51:00] local.INFO: TCP Data received {"connection_id":148730,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:51:00] local.INFO: Processing buffer {"connection_id":148730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:51:00] local.INFO: IMEI packet received {"connection_id":148730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":148730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:51:02] local.INFO: TCP Data received {"connection_id":148730,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:51:02] local.INFO: Processing buffer {"connection_id":148730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:51:02] local.INFO: IMEI packet received {"connection_id":148730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":148730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:51:03] local.INFO: TCP Data received {"connection_id":146431,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146431,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:51:03] local.INFO: Processing buffer {"connection_id":146431,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:51:03] local.INFO: IMEI packet received {"connection_id":146431,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":146431,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:51:03] local.INFO: TCP Data received {"connection_id":148730,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd7b47e8012d1def40071b8380003e010720..."} 
[2026-08-01 18:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd7b47e8012d1def40071b8380003e010720..."} 
[2026-08-01 18:51:03] local.INFO: Processing buffer {"connection_id":148730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd7b47e8012d1def40071b8380003e010720..."} 
[2026-08-01 18:51:03] local.INFO: Packet analysis {"connection_id":148730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd7b"} 
[2026-08-01 18:51:03] local.INFO: Extracted packet for processing {"connection_id":148730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd7b"} 
[2026-08-01 18:51:03] local.INFO: GPS Element Parsed {"raw_longitude":756936512,"raw_latitude":119243648,"longitude_deg":75.6936512,"latitude_deg":11.9243648,"altitude":62,"angle":263,"satellites":32,"speed":8,"hex_longitude":"2d1def40","hex_latitude":"071b8380","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111142144001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10329490836160512,"note":"Value kept but may cause issues"} 
[2026-08-01 18:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2157505727013578752,"note":"Value kept but may cause issues"} 
[2026-08-01 18:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785590401000,"timestamp_ms":1785590401000,"timestamp_seconds":1785590401,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd7b47e8"} 
[2026-08-01 18:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-01 18:51:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:51:03] 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-08-01 18:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111142144001,"66":14211,"82":206,"83":41984,"24":8,"16":10329490836160512,"45":2157505727013578752},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-01 18:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111142144001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:51:03] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 18:51:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10329490836160512,"km_value":10329490836160.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":2157505727013578752,"description":"Unknown IO ID 45"} 
[2026-08-01 18:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111142144001,"power":14211,"unknown_82":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":2157505727013578752}} 
[2026-08-01 18:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":148730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:51:03] local.INFO: GPS data processed {"connection_id":148730,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:51:03] local.INFO: Acknowledgment sent {"connection_id":148730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:51:04] local.INFO: TCP Data received {"connection_id":146431,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd79e858012d7c07c005bd4b280001004726..."} 
[2026-08-01 18:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd79e858012d7c07c005bd4b280001004726..."} 
[2026-08-01 18:51:04] local.INFO: Processing buffer {"connection_id":146431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd79e858012d7c07c005bd4b280001004726..."} 
[2026-08-01 18:51:04] local.INFO: Packet analysis {"connection_id":146431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd79"} 
[2026-08-01 18:51:04] local.INFO: Extracted packet for processing {"connection_id":146431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd79"} 
[2026-08-01 18:51:04] local.INFO: GPS Element Parsed {"raw_longitude":763103168,"raw_latitude":96291624,"longitude_deg":76.3103168,"latitude_deg":9.6291624,"altitude":1,"angle":71,"satellites":38,"speed":0,"hex_longitude":"2d7c07c0","hex_latitude":"05bd4b28","is_valid_coordinates":true} 
[2026-08-01 18:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111114240001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113620602446675968,"note":"Value kept but may cause issues"} 
[2026-08-01 18:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937323116423227392,"note":"Value kept but may cause issues"} 
[2026-08-01 18:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785590311000,"timestamp_ms":1785590311000,"timestamp_seconds":1785590311,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd79e858"} 
[2026-08-01 18:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18: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-08-01 18:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-01 18:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111114240001,"66":13461,"197":206,"85":12544,"24":0,"16":113620602446675968,"45":8937323116423227392},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-01 18:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111114240001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:51:04] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-01 18:51:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-01 18:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113620602446675968,"km_value":113620602446675.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937323116423227392,"description":"Unknown IO ID 45"} 
[2026-08-01 18:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111114240001,"power":13461,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937323116423227392}} 
[2026-08-01 18:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":146431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578724,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:51:04] local.INFO: GPS data processed {"connection_id":146431,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:51:04] local.INFO: Acknowledgment sent {"connection_id":146431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:51:29] local.INFO: TCP Data received {"connection_id":147428,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd7b72e0012cdb1bc007340470001301472d..."} 
[2026-08-01 18:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd7b72e0012cdb1bc007340470001301472d..."} 
[2026-08-01 18:51:29] local.INFO: Processing buffer {"connection_id":147428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd7b72e0012cdb1bc007340470001301472d..."} 
[2026-08-01 18:51:29] local.INFO: Packet analysis {"connection_id":147428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd7b"} 
[2026-08-01 18:51:29] local.INFO: Extracted packet for processing {"connection_id":147428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd7b"} 
[2026-08-01 18:51:29] local.INFO: GPS Element Parsed {"raw_longitude":752556992,"raw_latitude":120849520,"longitude_deg":75.2556992,"latitude_deg":12.084952,"altitude":19,"angle":327,"satellites":45,"speed":58,"hex_longitude":"2cdb1bc0","hex_latitude":"07340470","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111143680001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366779375170879488,"note":"Value kept but may cause issues"} 
[2026-08-01 18:51:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2652338674609248256,"note":"Value kept but may cause issues"} 
[2026-08-01 18:51:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785590412000,"timestamp_ms":1785590412000,"timestamp_seconds":1785590412,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd7b72e0"} 
[2026-08-01 18:51:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:51: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-08-01 18: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":43,"data_length":795,"current_offset":136} 
[2026-08-01 18:51: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-08-01 18: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-08-01 18:51:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":147428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":147428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":147428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18: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-08-01 18:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111143680001,"66":27745,"145":206,"83":40960,"24":58,"16":366779375170879488,"44":-2652338674609248256},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,44]} 
[2026-08-01 18:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111143680001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:51:29] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-01 18:51:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-01 18:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366779375170879488,"km_value":366779375170879.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:51:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2652338674609248256,"description":"Unknown IO ID 44"} 
[2026-08-01 18:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111143680001,"power":27745,"unknown_145":206,"unknown_83":40960,"ignition":58,"odometer":null,"unknown_44":-2652338674609248256}} 
[2026-08-01 18:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":147428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:51:29] local.INFO: GPS data processed {"connection_id":147428,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:51:29] local.INFO: Acknowledgment sent {"connection_id":147428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:51:34] local.INFO: TCP Data received {"connection_id":148730,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd7b4bd0012d1dee40071b8380003e011320..."} 
[2026-08-01 18:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd7b4bd0012d1dee40071b8380003e011320..."} 
[2026-08-01 18:51:34] local.INFO: Processing buffer {"connection_id":148730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd7b4bd0012d1dee40071b8380003e011320..."} 
[2026-08-01 18:51:34] local.INFO: Packet analysis {"connection_id":148730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd7b"} 
[2026-08-01 18:51:34] local.INFO: Extracted packet for processing {"connection_id":148730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd7b"} 
[2026-08-01 18:51:34] local.INFO: GPS Element Parsed {"raw_longitude":756936256,"raw_latitude":119243648,"longitude_deg":75.6936256,"latitude_deg":11.9243648,"altitude":62,"angle":275,"satellites":32,"speed":9,"hex_longitude":"2d1dee40","hex_latitude":"071b8380","is_valid_coordinates":true} 
[2026-08-01 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-08-01 18:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111142656001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10329503721062400,"note":"Value kept but may cause issues"} 
[2026-08-01 18:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2157013145804308480,"note":"Value kept but may cause issues"} 
[2026-08-01 18:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785590402000,"timestamp_ms":1785590402000,"timestamp_seconds":1785590402,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd7b4bd0"} 
[2026-08-01 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-08-01 18:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-01 18:51:34] 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-08-01 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-08-01 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-08-01 18:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":148730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":148730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":148730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:51:34] 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-08-01 18:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111142656001,"66":14080,"82":206,"83":41984,"24":9,"16":10329503721062400,"45":2157013145804308480},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-01 18:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111142656001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:51:34] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 18:51:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10329503721062400,"km_value":10329503721062.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":2157013145804308480,"description":"Unknown IO ID 45"} 
[2026-08-01 18:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111142656001,"power":14080,"unknown_82":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":2157013145804308480}} 
[2026-08-01 18:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":148730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:51:34] local.INFO: GPS data processed {"connection_id":148730,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:51:34] local.INFO: Acknowledgment sent {"connection_id":148730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:51:35] local.INFO: TCP Data received {"connection_id":146431,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd7a3a60012d7c07c005bd4b280001004726..."} 
[2026-08-01 18:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd7a3a60012d7c07c005bd4b280001004726..."} 
[2026-08-01 18:51:35] local.INFO: Processing buffer {"connection_id":146431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd7a3a60012d7c07c005bd4b280001004726..."} 
[2026-08-01 18:51:35] local.INFO: Packet analysis {"connection_id":146431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd7a"} 
[2026-08-01 18:51:35] local.INFO: Extracted packet for processing {"connection_id":146431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd7a"} 
[2026-08-01 18:51:35] local.INFO: GPS Element Parsed {"raw_longitude":763103168,"raw_latitude":96291624,"longitude_deg":76.3103168,"latitude_deg":9.6291624,"altitude":1,"angle":71,"satellites":38,"speed":0,"hex_longitude":"2d7c07c0","hex_latitude":"05bd4b28","is_valid_coordinates":true} 
[2026-08-01 18:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111119616001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113620602446675968,"note":"Value kept but may cause issues"} 
[2026-08-01 18:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937323116423227392,"note":"Value kept but may cause issues"} 
[2026-08-01 18:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785590332000,"timestamp_ms":1785590332000,"timestamp_seconds":1785590332,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd7a3a60"} 
[2026-08-01 18:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:51: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-08-01 18:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-01 18:51:35] 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-08-01 18:51:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:51:35] 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-08-01 18:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111119616001,"66":13515,"197":206,"85":12544,"24":0,"16":113620602446675968,"45":8937323116423227392},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-01 18:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111119616001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:51:35] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-01 18:51:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-01 18:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113620602446675968,"km_value":113620602446675.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937323116423227392,"description":"Unknown IO ID 45"} 
[2026-08-01 18:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111119616001,"power":13515,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937323116423227392}} 
[2026-08-01 18:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":146431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578727,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:51:35] local.INFO: GPS data processed {"connection_id":146431,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:51:35] local.INFO: Acknowledgment sent {"connection_id":146431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:51:43] local.INFO: TCP Data received {"connection_id":146432,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:51:43] local.INFO: Processing buffer {"connection_id":146432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:51:43] local.INFO: IMEI packet received {"connection_id":146432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":146432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:51:48] local.INFO: TCP Data received {"connection_id":146432,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:51:48] local.INFO: Processing buffer {"connection_id":146432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:51:48] local.INFO: IMEI packet received {"connection_id":146432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":146432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:51:50] local.INFO: TCP Data received {"connection_id":146432,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd7b8e38012cdb0580073425e0001301452c..."} 
[2026-08-01 18:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd7b8e38012cdb0580073425e0001301452c..."} 
[2026-08-01 18:51:50] local.INFO: Processing buffer {"connection_id":146432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd7b8e38012cdb0580073425e0001301452c..."} 
[2026-08-01 18:51:50] local.INFO: Packet analysis {"connection_id":146432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd7b"} 
[2026-08-01 18:51:50] local.INFO: Extracted packet for processing {"connection_id":146432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd7b"} 
[2026-08-01 18:51:50] local.INFO: GPS Element Parsed {"raw_longitude":752551296,"raw_latitude":120858080,"longitude_deg":75.2551296,"latitude_deg":12.085808,"altitude":19,"angle":325,"satellites":44,"speed":57,"hex_longitude":"2cdb0580","hex_latitude":"073425e0","is_valid_coordinates":true} 
[2026-08-01 18:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111145472001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366779873387085824,"note":"Value kept but may cause issues"} 
[2026-08-01 18:51:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2658320017862135808,"note":"Value kept but may cause issues"} 
[2026-08-01 18:51:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785590419000,"timestamp_ms":1785590419000,"timestamp_seconds":1785590419,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd7b8e38"} 
[2026-08-01 18:51:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:51: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-08-01 18:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 18:51:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:51:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:51:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:51:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111145472001,"66":27767,"174":206,"83":40960,"24":57,"16":366779873387085824,"44":-2658320017862135808},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,83,24,16,44]} 
[2026-08-01 18:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111145472001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:51:50] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-08-01 18:51:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-01 18:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366779873387085824,"km_value":366779873387085.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:51:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2658320017862135808,"description":"Unknown IO ID 44"} 
[2026-08-01 18:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111145472001,"power":27767,"unknown_174":206,"unknown_83":40960,"ignition":57,"odometer":null,"unknown_44":-2658320017862135808}} 
[2026-08-01 18:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":146432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:51:50] local.INFO: GPS data processed {"connection_id":146432,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:51:50] local.INFO: Acknowledgment sent {"connection_id":146432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:51:57] local.INFO: TCP Data received {"connection_id":148731,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148731,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:51:57] local.INFO: Processing buffer {"connection_id":148731,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:51:57] local.INFO: IMEI packet received {"connection_id":148731,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 18:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":148731,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:52:00] local.INFO: TCP Data received {"connection_id":147429,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147429,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:52:00] local.INFO: Processing buffer {"connection_id":147429,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:52:00] local.INFO: IMEI packet received {"connection_id":147429,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 18:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":147429,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:52:03] local.INFO: TCP Data received {"connection_id":148731,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148731,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:52:03] local.INFO: Processing buffer {"connection_id":148731,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:52:03] local.INFO: IMEI packet received {"connection_id":148731,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":148731,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:52:03] local.INFO: TCP Data received {"connection_id":148731,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd7a8c68012d7c07c005bd4b280001004726..."} 
[2026-08-01 18:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd7a8c68012d7c07c005bd4b280001004726..."} 
[2026-08-01 18:52:03] local.INFO: Processing buffer {"connection_id":148731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd7a8c68012d7c07c005bd4b280001004726..."} 
[2026-08-01 18:52:03] local.INFO: Packet analysis {"connection_id":148731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd7a"} 
[2026-08-01 18:52:03] local.INFO: Extracted packet for processing {"connection_id":148731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd7a"} 
[2026-08-01 18:52:03] local.INFO: GPS Element Parsed {"raw_longitude":763103168,"raw_latitude":96291624,"longitude_deg":76.3103168,"latitude_deg":9.6291624,"altitude":1,"angle":71,"satellites":38,"speed":0,"hex_longitude":"2d7c07c0","hex_latitude":"05bd4b28","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111124992001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113620602446675968,"note":"Value kept but may cause issues"} 
[2026-08-01 18:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937323116423227392,"note":"Value kept but may cause issues"} 
[2026-08-01 18:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785590353000,"timestamp_ms":1785590353000,"timestamp_seconds":1785590353,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd7a8c68"} 
[2026-08-01 18:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:52: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-08-01 18: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-01 18:52:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148731,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148731,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111124992001,"66":13472,"197":206,"85":12544,"24":0,"16":113620602446675968,"45":8937323116423227392},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-01 18:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111124992001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:52:03] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-01 18:52:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-01 18:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113620602446675968,"km_value":113620602446675.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937323116423227392,"description":"Unknown IO ID 45"} 
[2026-08-01 18:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111124992001,"power":13472,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937323116423227392}} 
[2026-08-01 18:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":148731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578729,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:52:04] local.INFO: GPS data processed {"connection_id":148731,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:52:04] local.INFO: Acknowledgment sent {"connection_id":148731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:52:05] local.INFO: TCP Data received {"connection_id":147429,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147429,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:52:05] local.INFO: Processing buffer {"connection_id":147429,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:52:05] local.INFO: IMEI packet received {"connection_id":147429,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":147429,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:52:06] local.INFO: TCP Data received {"connection_id":147429,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd7b5b70012d1de800071b82f0004001071f..."} 
[2026-08-01 18:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd7b5b70012d1de800071b82f0004001071f..."} 
[2026-08-01 18:52:06] local.INFO: Processing buffer {"connection_id":147429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd7b5b70012d1de800071b82f0004001071f..."} 
[2026-08-01 18:52:06] local.INFO: Packet analysis {"connection_id":147429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd7b"} 
[2026-08-01 18:52:06] local.INFO: Extracted packet for processing {"connection_id":147429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd7b"} 
[2026-08-01 18:52:06] local.INFO: GPS Element Parsed {"raw_longitude":756934656,"raw_latitude":119243504,"longitude_deg":75.6934656,"latitude_deg":11.9243504,"altitude":64,"angle":263,"satellites":31,"speed":16,"hex_longitude":"2d1de800","hex_latitude":"071b82f0","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111142912001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10329576735506432,"note":"Value kept but may cause issues"} 
[2026-08-01 18:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2156731670827597824,"note":"Value kept but may cause issues"} 
[2026-08-01 18:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785590406000,"timestamp_ms":1785590406000,"timestamp_seconds":1785590406,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd7b5b70"} 
[2026-08-01 18:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:52: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-08-01 18: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-01 18:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446231552,"note":"Value kept but may cause issues"} 
[2026-08-01 18:52:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-01 18:52:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 18:52:06] local.WARNING: Large IO value detected {"io_id":178,"raw_value":2533359616,"note":"Value kept but may cause issues"} 
[2026-08-01 18:52:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3178967160,"note":"Value kept but may cause issues"} 
[2026-08-01 18:52:06] local.WARNING: Large IO value detected {"io_id":27,"raw_value":2230845502,"note":"Value kept but may cause issues"} 
[2026-08-01 18:52:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1766981838,"corrected_to":0} 
[2026-08-01 18:52:06] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2734738793,"note":"Value kept but may cause issues"} 
[2026-08-01 18:52:06] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2995912704,"note":"Value kept but may cause issues"} 
[2026-08-01 18:52:06] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,82,83,24,241,157,16,178,159,71,45,64,131,62,32,10,66,33,60,128,1,240,185,227,189,27,4,113,205,8,52,242,192,239,55,2,36,7,11],"length":479,"final_offset":609,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1766981838,"validated":0}]} 
[2026-08-01 18:52:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467873333488713728,"timestamp_seconds":4467873333488713.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 18:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:52:06] 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-08-01 18:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111142912001,"66":14211,"82":206,"83":41984,"24":16,"16":10329576735506432,"45":2156731670827597824},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-01 18:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111142912001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:52:06] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 18:52:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10329576735506432,"km_value":10329576735506.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2156731670827597824,"description":"Unknown IO ID 45"} 
[2026-08-01 18:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111142912001,"power":14211,"unknown_82":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":2156731670827597824}} 
[2026-08-01 18:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":147429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578730,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:52:06] local.INFO: GPS data processed {"connection_id":147429,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:52:06] local.INFO: Acknowledgment sent {"connection_id":147429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:52:35] local.INFO: TCP Data received {"connection_id":148731,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd7ade70012d7c07c005bd4b280001004727..."} 
[2026-08-01 18:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd7ade70012d7c07c005bd4b280001004727..."} 
[2026-08-01 18:52:35] local.INFO: Processing buffer {"connection_id":148731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd7ade70012d7c07c005bd4b280001004727..."} 
[2026-08-01 18:52:35] local.INFO: Packet analysis {"connection_id":148731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd7a"} 
[2026-08-01 18:52:35] local.INFO: Extracted packet for processing {"connection_id":148731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd7a"} 
[2026-08-01 18:52:35] local.INFO: GPS Element Parsed {"raw_longitude":763103168,"raw_latitude":96291624,"longitude_deg":76.3103168,"latitude_deg":9.6291624,"altitude":1,"angle":71,"satellites":39,"speed":0,"hex_longitude":"2d7c07c0","hex_latitude":"05bd4b28","is_valid_coordinates":true} 
[2026-08-01 18:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111130368001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113620602446675968,"note":"Value kept but may cause issues"} 
[2026-08-01 18:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937323116423227392,"note":"Value kept but may cause issues"} 
[2026-08-01 18:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785590374000,"timestamp_ms":1785590374000,"timestamp_seconds":1785590374,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd7ade70"} 
[2026-08-01 18:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:52: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-08-01 18:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-01 18:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148731,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148731,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111130368001,"66":13396,"197":206,"85":12544,"24":0,"16":113620602446675968,"45":8937323116423227392},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-01 18:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111130368001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:52:35] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-01 18:52:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-01 18:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113620602446675968,"km_value":113620602446675.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937323116423227392,"description":"Unknown IO ID 45"} 
[2026-08-01 18:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111130368001,"power":13396,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937323116423227392}} 
[2026-08-01 18:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":148731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578731,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:52:35] local.INFO: GPS data processed {"connection_id":148731,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:52:35] local.INFO: Acknowledgment sent {"connection_id":148731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:52:40] local.INFO: TCP Data received {"connection_id":147429,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd7b8668012d1dcc40071b7c88004300fc1f..."} 
[2026-08-01 18:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd7b8668012d1dcc40071b7c88004300fc1f..."} 
[2026-08-01 18:52:40] local.INFO: Processing buffer {"connection_id":147429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd7b8668012d1dcc40071b7c88004300fc1f..."} 
[2026-08-01 18:52:40] local.INFO: Packet analysis {"connection_id":147429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd7b"} 
[2026-08-01 18:52:40] local.INFO: Extracted packet for processing {"connection_id":147429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd7b"} 
[2026-08-01 18:52:40] local.INFO: GPS Element Parsed {"raw_longitude":756927552,"raw_latitude":119241864,"longitude_deg":75.6927552,"latitude_deg":11.9241864,"altitude":67,"angle":252,"satellites":31,"speed":30,"hex_longitude":"2d1dcc40","hex_latitude":"071b7c88","is_valid_coordinates":true} 
[2026-08-01 18:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111143936001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10329924627857408,"note":"Value kept but may cause issues"} 
[2026-08-01 18:52:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2154972452223119360,"note":"Value kept but may cause issues"} 
[2026-08-01 18:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785590417000,"timestamp_ms":1785590417000,"timestamp_seconds":1785590417,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd7b8668"} 
[2026-08-01 18:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:52:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-01 18:52: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-08-01 18:52:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":147429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":147429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":147429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:52:40] 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-08-01 18:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111143936001,"66":14265,"82":206,"83":41984,"24":30,"16":10329924627857408,"45":2154972452223119360},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-01 18:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111143936001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:52:40] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 18:52:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10329924627857408,"km_value":10329924627857.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:52:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":2154972452223119360,"description":"Unknown IO ID 45"} 
[2026-08-01 18:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111143936001,"power":14265,"unknown_82":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":2154972452223119360}} 
[2026-08-01 18:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":147429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578732,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:52:41] local.INFO: GPS data processed {"connection_id":147429,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:52:41] local.INFO: Acknowledgment sent {"connection_id":147429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:52:43] local.INFO: TCP Data received {"connection_id":146200,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:52:43] local.INFO: Processing buffer {"connection_id":146200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:52:43] local.INFO: IMEI packet received {"connection_id":146200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":146200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:52:47] local.INFO: TCP Data received {"connection_id":146200,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:52:47] local.INFO: Processing buffer {"connection_id":146200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:52:47] local.INFO: IMEI packet received {"connection_id":146200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":146200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:52:48] local.INFO: TCP Data received {"connection_id":146200,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd7cda40012cd9d64007353660001701272b..."} 
[2026-08-01 18:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd7cda40012cd9d64007353660001701272b..."} 
[2026-08-01 18:52:48] local.INFO: Processing buffer {"connection_id":146200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd7cda40012cd9d64007353660001701272b..."} 
[2026-08-01 18:52:48] local.INFO: Packet analysis {"connection_id":146200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd7c"} 
[2026-08-01 18:52:48] local.INFO: Extracted packet for processing {"connection_id":146200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd7c"} 
[2026-08-01 18:52:48] local.INFO: GPS Element Parsed {"raw_longitude":752473664,"raw_latitude":120927840,"longitude_deg":75.2473664,"latitude_deg":12.092784,"altitude":23,"angle":295,"satellites":43,"speed":54,"hex_longitude":"2cd9d640","hex_latitude":"07353660","is_valid_coordinates":true} 
[2026-08-01 18:52:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111167232001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366784915678691328,"note":"Value kept but may cause issues"} 
[2026-08-01 18:52:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2740932923507826688,"note":"Value kept but may cause issues"} 
[2026-08-01 18:52:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785590504000,"timestamp_ms":1785590504000,"timestamp_seconds":1785590504,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd7cda40"} 
[2026-08-01 18:52:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:52:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:52:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 18:52:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:52:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:52:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:52:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111167232001,"66":27930,"163":206,"83":40960,"24":54,"16":366784915678691328,"44":-2740932923507826688},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-01 18:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111167232001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:52:48] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 18:52:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-01 18:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366784915678691328,"km_value":366784915678691.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:52:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2740932923507826688,"description":"Unknown IO ID 44"} 
[2026-08-01 18:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111167232001,"power":27930,"unknown_163":206,"unknown_83":40960,"ignition":54,"odometer":null,"unknown_44":-2740932923507826688}} 
[2026-08-01 18:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":146200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:52:48] local.INFO: GPS data processed {"connection_id":146200,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:52:48] local.INFO: Acknowledgment sent {"connection_id":146200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:53:03] local.INFO: TCP Data received {"connection_id":147430,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147430,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:53:03] local.INFO: Processing buffer {"connection_id":147430,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:53:03] local.INFO: IMEI packet received {"connection_id":147430,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 18:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":147430,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:53:05] local.INFO: TCP Data received {"connection_id":146433,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:53:05] local.INFO: Processing buffer {"connection_id":146433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:53:05] local.INFO: IMEI packet received {"connection_id":146433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 18:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":146433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:53:10] local.INFO: TCP Data received {"connection_id":146433,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:53:10] local.INFO: Processing buffer {"connection_id":146433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:53:10] local.INFO: IMEI packet received {"connection_id":146433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":146433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:53:10] local.INFO: TCP Data received {"connection_id":147430,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147430,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:53:10] local.INFO: Processing buffer {"connection_id":147430,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:53:10] local.INFO: IMEI packet received {"connection_id":147430,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":147430,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:53:11] local.INFO: TCP Data received {"connection_id":147430,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd7b3078012d7c07c005bd4b280001004727..."} 
[2026-08-01 18:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd7b3078012d7c07c005bd4b280001004727..."} 
[2026-08-01 18:53:11] local.INFO: Processing buffer {"connection_id":147430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd7b3078012d7c07c005bd4b280001004727..."} 
[2026-08-01 18:53:11] local.INFO: Packet analysis {"connection_id":147430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd7b"} 
[2026-08-01 18:53:11] local.INFO: Extracted packet for processing {"connection_id":147430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd7b"} 
[2026-08-01 18:53:11] local.INFO: GPS Element Parsed {"raw_longitude":763103168,"raw_latitude":96291624,"longitude_deg":76.3103168,"latitude_deg":9.6291624,"altitude":1,"angle":71,"satellites":39,"speed":0,"hex_longitude":"2d7c07c0","hex_latitude":"05bd4b28","is_valid_coordinates":true} 
[2026-08-01 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-08-01 18:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111135744001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113620602446675968,"note":"Value kept but may cause issues"} 
[2026-08-01 18:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937323116423227392,"note":"Value kept but may cause issues"} 
[2026-08-01 18:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785590395000,"timestamp_ms":1785590395000,"timestamp_seconds":1785590395,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd7b3078"} 
[2026-08-01 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-08-01 18:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-01 18:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 18:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":147430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":147430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":147430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111135744001,"66":13428,"197":206,"85":12544,"24":0,"16":113620602446675968,"45":8937323116423227392},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-01 18:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111135744001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:53:11] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-01 18:53:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-01 18:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113620602446675968,"km_value":113620602446675.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937323116423227392,"description":"Unknown IO ID 45"} 
[2026-08-01 18:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111135744001,"power":13428,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937323116423227392}} 
[2026-08-01 18:53:11] local.INFO: TCP Data received {"connection_id":146433,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd7bad78012d1db000071b7148003d00ee21..."} 
[2026-08-01 18:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd7bad78012d1db000071b7148003d00ee21..."} 
[2026-08-01 18:53:11] local.INFO: Processing buffer {"connection_id":146433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd7bad78012d1db000071b7148003d00ee21..."} 
[2026-08-01 18:53:11] local.INFO: Packet analysis {"connection_id":146433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd7b"} 
[2026-08-01 18:53:11] local.INFO: Extracted packet for processing {"connection_id":146433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd7b"} 
[2026-08-01 18:53:11] local.INFO: GPS Element Parsed {"raw_longitude":756920320,"raw_latitude":119238984,"longitude_deg":75.692032,"latitude_deg":11.9238984,"altitude":61,"angle":238,"satellites":33,"speed":29,"hex_longitude":"2d1db000","hex_latitude":"071b7148","is_valid_coordinates":true} 
[2026-08-01 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-08-01 18:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111146752001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10330298290012160,"note":"Value kept but may cause issues"} 
[2026-08-01 18:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2147161521618978816,"note":"Value kept but may cause issues"} 
[2026-08-01 18:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785590427000,"timestamp_ms":1785590427000,"timestamp_seconds":1785590427,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd7bad78"} 
[2026-08-01 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-08-01 18:53: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-08-01 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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-01 18:53: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-08-01 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-08-01 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-08-01 18:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:53:11] 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-08-01 18:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111146752001,"66":14070,"82":206,"83":41984,"24":29,"16":10330298290012160,"45":2147161521618978816},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-01 18:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111146752001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:53:11] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 18:53:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10330298290012160,"km_value":10330298290012.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2147161521618978816,"description":"Unknown IO ID 45"} 
[2026-08-01 18:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111146752001,"power":14070,"unknown_82":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":2147161521618978816}} 
[2026-08-01 18:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":147430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578734,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:53:11] local.INFO: GPS data processed {"connection_id":147430,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:53:11] local.INFO: Acknowledgment sent {"connection_id":147430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":146433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:53:11] local.INFO: GPS data processed {"connection_id":146433,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:53:11] local.INFO: Acknowledgment sent {"connection_id":146433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:53:15] local.INFO: TCP Data received {"connection_id":146433,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd7bb930012d1da980071b6bd8003b00db22..."} 
[2026-08-01 18:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd7bb930012d1da980071b6bd8003b00db22..."} 
[2026-08-01 18:53:15] local.INFO: Processing buffer {"connection_id":146433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd7bb930012d1da980071b6bd8003b00db22..."} 
[2026-08-01 18:53:15] local.INFO: Packet analysis {"connection_id":146433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd7b"} 
[2026-08-01 18:53:15] local.INFO: Extracted packet for processing {"connection_id":146433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd7b"} 
[2026-08-01 18:53:15] local.INFO: GPS Element Parsed {"raw_longitude":756918656,"raw_latitude":119237592,"longitude_deg":75.6918656,"latitude_deg":11.9237592,"altitude":59,"angle":219,"satellites":34,"speed":27,"hex_longitude":"2d1da980","hex_latitude":"071b6bd8","is_valid_coordinates":true} 
[2026-08-01 18:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111149312001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10330401369227264,"note":"Value kept but may cause issues"} 
[2026-08-01 18:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2139209853526165504,"note":"Value kept but may cause issues"} 
[2026-08-01 18:53:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785590430000,"timestamp_ms":1785590430000,"timestamp_seconds":1785590430,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd7bb930"} 
[2026-08-01 18:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:53: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-08-01 18:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-01 18:53:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:53:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":146433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":146433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":146433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:53: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-08-01 18:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111149312001,"66":14070,"82":206,"83":41984,"24":27,"16":10330401369227264,"45":2139209853526165504},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-01 18:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111149312001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:53:15] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 18:53:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10330401369227264,"km_value":10330401369227.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2139209853526165504,"description":"Unknown IO ID 45"} 
[2026-08-01 18:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111149312001,"power":14070,"unknown_82":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":2139209853526165504}} 
[2026-08-01 18:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":146433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578736,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:53:15] local.INFO: GPS data processed {"connection_id":146433,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:53:15] local.INFO: Acknowledgment sent {"connection_id":146433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:53:19] local.INFO: TCP Data received {"connection_id":146200,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd7cf598012cd9b140073545e8001501252b..."} 
[2026-08-01 18:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd7cf598012cd9b140073545e8001501252b..."} 
[2026-08-01 18:53:19] local.INFO: Processing buffer {"connection_id":146200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd7cf598012cd9b140073545e8001501252b..."} 
[2026-08-01 18:53:19] local.INFO: Packet analysis {"connection_id":146200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd7c"} 
[2026-08-01 18:53:19] local.INFO: Extracted packet for processing {"connection_id":146200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd7c"} 
[2026-08-01 18:53:19] local.INFO: GPS Element Parsed {"raw_longitude":752464192,"raw_latitude":120931816,"longitude_deg":75.2464192,"latitude_deg":12.0931816,"altitude":21,"angle":293,"satellites":43,"speed":59,"hex_longitude":"2cd9b140","hex_latitude":"073545e8","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111169024001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366785405304963072,"note":"Value kept but may cause issues"} 
[2026-08-01 18:53:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2749940122761404416,"note":"Value kept but may cause issues"} 
[2026-08-01 18:53:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785590511000,"timestamp_ms":1785590511000,"timestamp_seconds":1785590511,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd7cf598"} 
[2026-08-01 18:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:53: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-08-01 18: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-01 18:53:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":146200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":146200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":146200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:53:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111169024001,"66":27919,"163":206,"83":40960,"24":59,"16":366785405304963072,"44":-2749940122761404416},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-01 18:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111169024001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:53:19] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 18:53:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-01 18:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366785405304963072,"km_value":366785405304963.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:53:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2749940122761404416,"description":"Unknown IO ID 44"} 
[2026-08-01 18:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111169024001,"power":27919,"unknown_163":206,"unknown_83":40960,"ignition":59,"odometer":null,"unknown_44":-2749940122761404416}} 
[2026-08-01 18:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":146200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:53:19] local.INFO: GPS data processed {"connection_id":146200,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:53:19] local.INFO: Acknowledgment sent {"connection_id":146200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:53:42] local.INFO: TCP Data received {"connection_id":147430,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd7b8280012d7c07c005bd4b280001004728..."} 
[2026-08-01 18:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd7b8280012d7c07c005bd4b280001004728..."} 
[2026-08-01 18:53:42] local.INFO: Processing buffer {"connection_id":147430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd7b8280012d7c07c005bd4b280001004728..."} 
[2026-08-01 18:53:42] local.INFO: Packet analysis {"connection_id":147430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd7b"} 
[2026-08-01 18:53:42] local.INFO: Extracted packet for processing {"connection_id":147430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd7b"} 
[2026-08-01 18:53:42] local.INFO: GPS Element Parsed {"raw_longitude":763103168,"raw_latitude":96291624,"longitude_deg":76.3103168,"latitude_deg":9.6291624,"altitude":1,"angle":71,"satellites":40,"speed":0,"hex_longitude":"2d7c07c0","hex_latitude":"05bd4b28","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111141120001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113620602446675968,"note":"Value kept but may cause issues"} 
[2026-08-01 18:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937323116423227392,"note":"Value kept but may cause issues"} 
[2026-08-01 18:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785590416000,"timestamp_ms":1785590416000,"timestamp_seconds":1785590416,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd7b8280"} 
[2026-08-01 18:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-01 18:53: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-08-01 18: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-08-01 18:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":147430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":147430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":147430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111141120001,"66":13450,"197":206,"85":12544,"24":0,"16":113620602446675968,"45":8937323116423227392},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-01 18:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111141120001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:53:42] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-01 18:53:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-01 18:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113620602446675968,"km_value":113620602446675.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937323116423227392,"description":"Unknown IO ID 45"} 
[2026-08-01 18:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111141120001,"power":13450,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937323116423227392}} 
[2026-08-01 18:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":147430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578738,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:53:42] local.INFO: GPS data processed {"connection_id":147430,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:53:42] local.INFO: Acknowledgment sent {"connection_id":147430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:53:43] local.INFO: TCP Data received {"connection_id":148732,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:53:43] local.INFO: Processing buffer {"connection_id":148732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:53:43] local.INFO: IMEI packet received {"connection_id":148732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":148732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:53:48] local.INFO: TCP Data received {"connection_id":148732,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:53:48] local.INFO: Processing buffer {"connection_id":148732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:53:48] local.INFO: IMEI packet received {"connection_id":148732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":148732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:53:48] local.INFO: TCP Data received {"connection_id":148732,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:53:48] local.INFO: Processing buffer {"connection_id":148732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:53:48] local.INFO: IMEI packet received {"connection_id":148732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":148732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:53:49] local.INFO: TCP Data received {"connection_id":148732,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd7d0d08012cd98f8007355398001201232b..."} 
[2026-08-01 18:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd7d0d08012cd98f8007355398001201232b..."} 
[2026-08-01 18:53:49] local.INFO: Processing buffer {"connection_id":148732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd7d0d08012cd98f8007355398001201232b..."} 
[2026-08-01 18:53:49] local.INFO: Packet analysis {"connection_id":148732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd7d"} 
[2026-08-01 18:53:49] local.INFO: Extracted packet for processing {"connection_id":148732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd7d"} 
[2026-08-01 18:53:49] local.INFO: GPS Element Parsed {"raw_longitude":752455552,"raw_latitude":120935320,"longitude_deg":75.2455552,"latitude_deg":12.093532,"altitude":18,"angle":291,"satellites":43,"speed":61,"hex_longitude":"2cd98f80","hex_latitude":"07355398","is_valid_coordinates":true} 
[2026-08-01 18:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:53:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111170816001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:53:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366785851981561856,"note":"Value kept but may cause issues"} 
[2026-08-01 18:53:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2760354696898680832,"note":"Value kept but may cause issues"} 
[2026-08-01 18:53:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:53:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785590517000,"timestamp_ms":1785590517000,"timestamp_seconds":1785590517,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd7d0d08"} 
[2026-08-01 18:53:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:53:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-01 18:53:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:53:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:53:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:53:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:53:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:53:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:53:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:53:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:53:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:53:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:53:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111170816001,"66":27876,"163":206,"83":40960,"24":61,"16":366785851981561856,"44":-2760354696898680832},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-01 18:53:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:53:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:53:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111170816001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:53:49] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 18:53:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-01 18:53:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366785851981561856,"km_value":366785851981561.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:53:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2760354696898680832,"description":"Unknown IO ID 44"} 
[2026-08-01 18:53:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111170816001,"power":27876,"unknown_163":206,"unknown_83":40960,"ignition":61,"odometer":null,"unknown_44":-2760354696898680832}} 
[2026-08-01 18:53:49] local.INFO: DEBUG: GPS processor result {"connection_id":148732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:53:49] local.INFO: GPS data processed {"connection_id":148732,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:53:49] local.INFO: Acknowledgment sent {"connection_id":148732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:53:53] local.INFO: TCP Data received {"connection_id":148732,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd7d2478012cd96d00073561b0000f01252c..."} 
[2026-08-01 18:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd7d2478012cd96d00073561b0000f01252c..."} 
[2026-08-01 18:53:53] local.INFO: Processing buffer {"connection_id":148732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd7d2478012cd96d00073561b0000f01252c..."} 
[2026-08-01 18:53:53] local.INFO: Packet analysis {"connection_id":148732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd7d"} 
[2026-08-01 18:53:53] local.INFO: Extracted packet for processing {"connection_id":148732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd7d"} 
[2026-08-01 18:53:53] local.INFO: GPS Element Parsed {"raw_longitude":752446720,"raw_latitude":120938928,"longitude_deg":75.244672,"latitude_deg":12.0938928,"altitude":15,"angle":293,"satellites":44,"speed":62,"hex_longitude":"2cd96d00","hex_latitude":"073561b0","is_valid_coordinates":true} 
[2026-08-01 18:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111172352001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366786302953127936,"note":"Value kept but may cause issues"} 
[2026-08-01 18:53:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2769854477361768448,"note":"Value kept but may cause issues"} 
[2026-08-01 18:53:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785590523000,"timestamp_ms":1785590523000,"timestamp_seconds":1785590523,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd7d2478"} 
[2026-08-01 18:53:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:53: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-08-01 18:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 18:53:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:53:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:53:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:53:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111172352001,"66":27908,"163":206,"83":40960,"24":62,"16":366786302953127936,"44":-2769854477361768448},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-01 18:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111172352001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:53:53] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 18:53:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-01 18:53:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366786302953127936,"km_value":366786302953127.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:53:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2769854477361768448,"description":"Unknown IO ID 44"} 
[2026-08-01 18:53:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111172352001,"power":27908,"unknown_163":206,"unknown_83":40960,"ignition":62,"odometer":null,"unknown_44":-2769854477361768448}} 
[2026-08-01 18:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":148732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:53:53] local.INFO: GPS data processed {"connection_id":148732,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:53:53] local.INFO: Acknowledgment sent {"connection_id":148732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:53:58] local.INFO: TCP Data received {"connection_id":146434,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146434,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:53:58] local.INFO: Processing buffer {"connection_id":146434,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:53:58] local.INFO: IMEI packet received {"connection_id":146434,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 18:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":146434,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:54:00] local.INFO: TCP Data received {"connection_id":147431,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:54:00] local.INFO: Processing buffer {"connection_id":147431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:54:00] local.INFO: IMEI packet received {"connection_id":147431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 18:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":147431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:54:03] local.INFO: TCP Data received {"connection_id":146434,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146434,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:54:03] local.INFO: Processing buffer {"connection_id":146434,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:54:03] local.INFO: IMEI packet received {"connection_id":146434,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":146434,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:54:04] local.INFO: TCP Data received {"connection_id":146434,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd7b9dd8012d7c07c005bd4b280001004728..."} 
[2026-08-01 18:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd7b9dd8012d7c07c005bd4b280001004728..."} 
[2026-08-01 18:54:04] local.INFO: Processing buffer {"connection_id":146434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd7b9dd8012d7c07c005bd4b280001004728..."} 
[2026-08-01 18:54:04] local.INFO: Packet analysis {"connection_id":146434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd7b"} 
[2026-08-01 18:54:04] local.INFO: Extracted packet for processing {"connection_id":146434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd7b"} 
[2026-08-01 18:54:04] local.INFO: GPS Element Parsed {"raw_longitude":763103168,"raw_latitude":96291624,"longitude_deg":76.3103168,"latitude_deg":9.6291624,"altitude":1,"angle":71,"satellites":40,"speed":0,"hex_longitude":"2d7c07c0","hex_latitude":"05bd4b28","is_valid_coordinates":true} 
[2026-08-01 18:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111146496001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113620602446675968,"note":"Value kept but may cause issues"} 
[2026-08-01 18:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937323116423227392,"note":"Value kept but may cause issues"} 
[2026-08-01 18:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785590423000,"timestamp_ms":1785590423000,"timestamp_seconds":1785590423,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd7b9dd8"} 
[2026-08-01 18:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:54:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-01 18:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:54:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146434,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146434,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111146496001,"66":13537,"197":206,"85":12544,"24":0,"16":113620602446675968,"45":8937323116423227392},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-01 18:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111146496001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:54:04] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-01 18:54:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-01 18:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113620602446675968,"km_value":113620602446675.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937323116423227392,"description":"Unknown IO ID 45"} 
[2026-08-01 18:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111146496001,"power":13537,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937323116423227392}} 
[2026-08-01 18:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":146434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578741,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:54:04] local.INFO: GPS data processed {"connection_id":146434,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:54:04] local.INFO: Acknowledgment sent {"connection_id":146434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:54:05] local.INFO: TCP Data received {"connection_id":147431,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:54:05] local.INFO: Processing buffer {"connection_id":147431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:54:05] local.INFO: IMEI packet received {"connection_id":147431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":147431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:54:06] local.INFO: TCP Data received {"connection_id":147431,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd7bc100012d1da700071b6728003b00c823..."} 
[2026-08-01 18:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd7bc100012d1da700071b6728003b00c823..."} 
[2026-08-01 18:54:06] local.INFO: Processing buffer {"connection_id":147431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd7bc100012d1da700071b6728003b00c823..."} 
[2026-08-01 18:54:06] local.INFO: Packet analysis {"connection_id":147431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd7b"} 
[2026-08-01 18:54:06] local.INFO: Extracted packet for processing {"connection_id":147431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd7b"} 
[2026-08-01 18:54:06] local.INFO: GPS Element Parsed {"raw_longitude":756918016,"raw_latitude":119236392,"longitude_deg":75.6918016,"latitude_deg":11.9236392,"altitude":59,"angle":200,"satellites":35,"speed":27,"hex_longitude":"2d1da700","hex_latitude":"071b6728","is_valid_coordinates":true} 
[2026-08-01 18:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111150080001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10330470088704000,"note":"Value kept but may cause issues"} 
[2026-08-01 18:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2137380266177189888,"note":"Value kept but may cause issues"} 
[2026-08-01 18:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785590432000,"timestamp_ms":1785590432000,"timestamp_seconds":1785590432,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd7bc100"} 
[2026-08-01 18:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:54: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-08-01 18: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-01 18:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:54:06] 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-08-01 18:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111150080001,"66":14048,"82":206,"83":41984,"24":27,"16":10330470088704000,"45":2137380266177189888},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-01 18:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111150080001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:54:06] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 18:54:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10330470088704000,"km_value":10330470088704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2137380266177189888,"description":"Unknown IO ID 45"} 
[2026-08-01 18:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111150080001,"power":14048,"unknown_82":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":2137380266177189888}} 
[2026-08-01 18:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":147431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578742,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:54:06] local.INFO: GPS data processed {"connection_id":147431,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:54:06] local.INFO: Acknowledgment sent {"connection_id":147431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:54:24] local.INFO: TCP Data received {"connection_id":148732,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd7e7850012cd7b58007363dc0000701222c..."} 
[2026-08-01 18:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd7e7850012cd7b58007363dc0000701222c..."} 
[2026-08-01 18:54:24] local.INFO: Processing buffer {"connection_id":148732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd7e7850012cd7b58007363dc0000701222c..."} 
[2026-08-01 18:54:24] local.INFO: Packet analysis {"connection_id":148732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd7e"} 
[2026-08-01 18:54:24] local.INFO: Extracted packet for processing {"connection_id":148732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd7e"} 
[2026-08-01 18:54:24] local.INFO: GPS Element Parsed {"raw_longitude":752334208,"raw_latitude":120995264,"longitude_deg":75.2334208,"latitude_deg":12.0995264,"altitude":7,"angle":290,"satellites":44,"speed":53,"hex_longitude":"2cd7b580","hex_latitude":"07363dc0","is_valid_coordinates":true} 
[2026-08-01 18:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111194368001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366792311612375040,"note":"Value kept but may cause issues"} 
[2026-08-01 18:54:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2893421992123312128,"note":"Value kept but may cause issues"} 
[2026-08-01 18:54:24] 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-08-01 18:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785590610000,"timestamp_ms":1785590610000,"timestamp_seconds":1785590610,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd7e7850"} 
[2026-08-01 18:54:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:54:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-01 18:54:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:54:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:54:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":148732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":148732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":148732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:54:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111194368001,"66":27343,"165":206,"83":40960,"24":53,"16":366792311612375040,"44":-2893421992123312128},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,83,24,16,44]} 
[2026-08-01 18:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111194368001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:54:24] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-01 18:54:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-01 18:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366792311612375040,"km_value":366792311612375.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:54:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2893421992123312128,"description":"Unknown IO ID 44"} 
[2026-08-01 18:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111194368001,"power":27343,"unknown_165":206,"unknown_83":40960,"ignition":53,"odometer":null,"unknown_44":-2893421992123312128}} 
[2026-08-01 18:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":148732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:54:24] local.INFO: GPS data processed {"connection_id":148732,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:54:24] local.INFO: Acknowledgment sent {"connection_id":148732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:54:35] local.INFO: TCP Data received {"connection_id":146434,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd7b9dd8012d7c07c005bd4b280001004728..."} 
[2026-08-01 18:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd7b9dd8012d7c07c005bd4b280001004728..."} 
[2026-08-01 18:54:35] local.INFO: Processing buffer {"connection_id":146434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd7b9dd8012d7c07c005bd4b280001004728..."} 
[2026-08-01 18:54:35] local.INFO: Packet analysis {"connection_id":146434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd7b"} 
[2026-08-01 18:54:35] local.INFO: Extracted packet for processing {"connection_id":146434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd7b"} 
[2026-08-01 18:54:35] local.INFO: GPS Element Parsed {"raw_longitude":763103168,"raw_latitude":96291624,"longitude_deg":76.3103168,"latitude_deg":9.6291624,"altitude":1,"angle":71,"satellites":40,"speed":0,"hex_longitude":"2d7c07c0","hex_latitude":"05bd4b28","is_valid_coordinates":true} 
[2026-08-01 18:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111148288001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113620602446675968,"note":"Value kept but may cause issues"} 
[2026-08-01 18:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937323116423227392,"note":"Value kept but may cause issues"} 
[2026-08-01 18:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785590423000,"timestamp_ms":1785590423000,"timestamp_seconds":1785590423,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd7b9dd8"} 
[2026-08-01 18:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:54: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-08-01 18:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-01 18:54:35] 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-08-01 18:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":146434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":146434,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":146434,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111148288001,"66":13537,"197":206,"85":12544,"24":0,"16":113620602446675968,"45":8937323116423227392},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-01 18:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111148288001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:54:35] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-01 18:54:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-01 18:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113620602446675968,"km_value":113620602446675.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937323116423227392,"description":"Unknown IO ID 45"} 
[2026-08-01 18:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111148288001,"power":13537,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937323116423227392}} 
[2026-08-01 18:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":146434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578744,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:54:35] local.INFO: GPS data processed {"connection_id":146434,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:54:35] local.INFO: Acknowledgment sent {"connection_id":146434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:54:38] local.INFO: TCP Data received {"connection_id":147431,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd7bccb8012d1da540071b5e88003b00bc23..."} 
[2026-08-01 18:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd7bccb8012d1da540071b5e88003b00bc23..."} 
[2026-08-01 18:54:38] local.INFO: Processing buffer {"connection_id":147431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd7bccb8012d1da540071b5e88003b00bc23..."} 
[2026-08-01 18:54:38] local.INFO: Packet analysis {"connection_id":147431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd7b"} 
[2026-08-01 18:54:38] local.INFO: Extracted packet for processing {"connection_id":147431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd7b"} 
[2026-08-01 18:54:38] local.INFO: GPS Element Parsed {"raw_longitude":756917568,"raw_latitude":119234184,"longitude_deg":75.6917568,"latitude_deg":11.9234184,"altitude":59,"angle":188,"satellites":35,"speed":30,"hex_longitude":"2d1da540","hex_latitude":"071b5e88","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111150592001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10330577462886400,"note":"Value kept but may cause issues"} 
[2026-08-01 18:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2136676578735106048,"note":"Value kept but may cause issues"} 
[2026-08-01 18:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785590435000,"timestamp_ms":1785590435000,"timestamp_seconds":1785590435,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd7bccb8"} 
[2026-08-01 18:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-01 18:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":147431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":147431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":147431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:54:38] 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-08-01 18:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111150592001,"66":14070,"82":206,"83":41984,"24":30,"16":10330577462886400,"45":2136676578735106048},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-01 18:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111150592001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:54:38] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 18:54:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10330577462886400,"km_value":10330577462886.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":2136676578735106048,"description":"Unknown IO ID 45"} 
[2026-08-01 18:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111150592001,"power":14070,"unknown_82":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":2136676578735106048}} 
[2026-08-01 18:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":147431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578745,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:54:38] local.INFO: GPS data processed {"connection_id":147431,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:54:38] local.INFO: Acknowledgment sent {"connection_id":147431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:54:44] local.INFO: TCP Data received {"connection_id":147432,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:54:44] local.INFO: Processing buffer {"connection_id":147432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:54:44] local.INFO: IMEI packet received {"connection_id":147432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":147432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:54:48] local.INFO: TCP Data received {"connection_id":147432,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:54:48] local.INFO: Processing buffer {"connection_id":147432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:54:48] local.INFO: IMEI packet received {"connection_id":147432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":147432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:54:51] local.INFO: TCP Data received {"connection_id":147432,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:54:51] local.INFO: Processing buffer {"connection_id":147432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:54:51] local.INFO: IMEI packet received {"connection_id":147432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":147432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:54:52] local.INFO: TCP Data received {"connection_id":147432,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd7e93a8012cd793c007364a380008012329..."} 
[2026-08-01 18:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd7e93a8012cd793c007364a380008012329..."} 
[2026-08-01 18:54:52] local.INFO: Processing buffer {"connection_id":147432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd7e93a8012cd793c007364a380008012329..."} 
[2026-08-01 18:54:52] local.INFO: Packet analysis {"connection_id":147432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd7e"} 
[2026-08-01 18:54:52] local.INFO: Extracted packet for processing {"connection_id":147432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd7e"} 
[2026-08-01 18:54:52] local.INFO: GPS Element Parsed {"raw_longitude":752325568,"raw_latitude":120998456,"longitude_deg":75.2325568,"latitude_deg":12.0998456,"altitude":8,"angle":291,"satellites":41,"speed":50,"hex_longitude":"2cd793c0","hex_latitude":"07364a38","is_valid_coordinates":true} 
[2026-08-01 18:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111196160001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366792749699039232,"note":"Value kept but may cause issues"} 
[2026-08-01 18:54:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2903273616307273728,"note":"Value kept but may cause issues"} 
[2026-08-01 18:54:52] 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-08-01 18:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785590617000,"timestamp_ms":1785590617000,"timestamp_seconds":1785590617,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd7e93a8"} 
[2026-08-01 18:54:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:54:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-01 18:54:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:54:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:54:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":147432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":147432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":147432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:54:52] 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-08-01 18:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111196160001,"66":27310,"165":206,"83":40960,"24":50,"16":366792749699039232,"44":-2903273616307273728},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,83,24,16,44]} 
[2026-08-01 18:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111196160001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:54:52] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-01 18:54:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-01 18:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366792749699039232,"km_value":366792749699039.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:54:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2903273616307273728,"description":"Unknown IO ID 44"} 
[2026-08-01 18:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111196160001,"power":27310,"unknown_165":206,"unknown_83":40960,"ignition":50,"odometer":null,"unknown_44":-2903273616307273728}} 
[2026-08-01 18:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":147432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:54:52] local.INFO: GPS data processed {"connection_id":147432,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:54:52] local.INFO: Acknowledgment sent {"connection_id":147432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:54:53] local.INFO: TCP Data received {"connection_id":147432,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd7eb2e8012cd76e40073657f8000901232a..."} 
[2026-08-01 18:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd7eb2e8012cd76e40073657f8000901232a..."} 
[2026-08-01 18:54:53] local.INFO: Processing buffer {"connection_id":147432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd7eb2e8012cd76e40073657f8000901232a..."} 
[2026-08-01 18:54:53] local.INFO: Packet analysis {"connection_id":147432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd7e"} 
[2026-08-01 18:54:53] local.INFO: Extracted packet for processing {"connection_id":147432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd7e"} 
[2026-08-01 18:54:53] local.INFO: GPS Element Parsed {"raw_longitude":752315968,"raw_latitude":121001976,"longitude_deg":75.2315968,"latitude_deg":12.1001976,"altitude":9,"angle":291,"satellites":42,"speed":50,"hex_longitude":"2cd76e40","hex_latitude":"073657f8","is_valid_coordinates":true} 
[2026-08-01 18:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111197952001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366793235030343680,"note":"Value kept but may cause issues"} 
[2026-08-01 18:54:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2912773396770441216,"note":"Value kept but may cause issues"} 
[2026-08-01 18:54:53] 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-08-01 18:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785590625000,"timestamp_ms":1785590625000,"timestamp_seconds":1785590625,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd7eb2e8"} 
[2026-08-01 18:54:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:54:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-01 18:54:53] 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-08-01 18:54:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:54:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":147432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":147432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":147432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:54:53] 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-08-01 18:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111197952001,"66":27213,"170":206,"83":43264,"24":50,"16":366793235030343680,"44":-2912773396770441216},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,44]} 
[2026-08-01 18:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111197952001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:54:53] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-01 18:54:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 18:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366793235030343680,"km_value":366793235030343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:54:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2912773396770441216,"description":"Unknown IO ID 44"} 
[2026-08-01 18:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111197952001,"power":27213,"unknown_170":206,"unknown_83":43264,"ignition":50,"odometer":null,"unknown_44":-2912773396770441216}} 
[2026-08-01 18:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":147432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:54:53] local.INFO: GPS data processed {"connection_id":147432,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:54:53] local.INFO: Acknowledgment sent {"connection_id":147432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:54:58] local.INFO: TCP Data received {"connection_id":148733,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148733,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:54:58] local.INFO: Processing buffer {"connection_id":148733,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:54:58] local.INFO: IMEI packet received {"connection_id":148733,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 18:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":148733,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:55:00] local.INFO: TCP Data received {"connection_id":146435,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:55:00] local.INFO: Processing buffer {"connection_id":146435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:55:00] local.INFO: IMEI packet received {"connection_id":146435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 18:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":146435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:55:03] local.INFO: TCP Data received {"connection_id":148733,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148733,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:55:03] local.INFO: Processing buffer {"connection_id":148733,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:55:03] local.INFO: IMEI packet received {"connection_id":148733,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":148733,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:55:03] local.INFO: TCP Data received {"connection_id":148733,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd7ba990012d7c07c005bd4b280001004728..."} 
[2026-08-01 18:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd7ba990012d7c07c005bd4b280001004728..."} 
[2026-08-01 18:55:03] local.INFO: Processing buffer {"connection_id":148733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd7ba990012d7c07c005bd4b280001004728..."} 
[2026-08-01 18:55:03] local.INFO: Packet analysis {"connection_id":148733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd7b"} 
[2026-08-01 18:55:03] local.INFO: Extracted packet for processing {"connection_id":148733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd7b"} 
[2026-08-01 18:55:03] local.INFO: GPS Element Parsed {"raw_longitude":763103168,"raw_latitude":96291624,"longitude_deg":76.3103168,"latitude_deg":9.6291624,"altitude":1,"angle":71,"satellites":40,"speed":0,"hex_longitude":"2d7c07c0","hex_latitude":"05bd4b28","is_valid_coordinates":true} 
[2026-08-01 18:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111148288001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113620602446675968,"note":"Value kept but may cause issues"} 
[2026-08-01 18:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937323116423227392,"note":"Value kept but may cause issues"} 
[2026-08-01 18:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785590426000,"timestamp_ms":1785590426000,"timestamp_seconds":1785590426,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd7ba990"} 
[2026-08-01 18:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:55: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-08-01 18: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-01 18:55:03] 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-08-01 18: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-08-01 18:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111148288001,"66":13504,"197":206,"85":12544,"24":0,"16":113620602446675968,"45":8937323116423227392},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-01 18:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111148288001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:55:03] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-01 18:55:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-01 18:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113620602446675968,"km_value":113620602446675.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937323116423227392,"description":"Unknown IO ID 45"} 
[2026-08-01 18:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111148288001,"power":13504,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937323116423227392}} 
[2026-08-01 18:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":148733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578748,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:55:04] local.INFO: GPS data processed {"connection_id":148733,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:55:04] local.INFO: Acknowledgment sent {"connection_id":148733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:55:05] local.INFO: TCP Data received {"connection_id":146435,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:55:05] local.INFO: Processing buffer {"connection_id":146435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:55:05] local.INFO: IMEI packet received {"connection_id":146435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":146435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:55:06] local.INFO: TCP Data received {"connection_id":146435,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd7bfb98012d1d9f00071b3a28003d00c020..."} 
[2026-08-01 18:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd7bfb98012d1d9f00071b3a28003d00c020..."} 
[2026-08-01 18:55:06] local.INFO: Processing buffer {"connection_id":146435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd7bfb98012d1d9f00071b3a28003d00c020..."} 
[2026-08-01 18:55:06] local.INFO: Packet analysis {"connection_id":146435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd7b"} 
[2026-08-01 18:55:06] local.INFO: Extracted packet for processing {"connection_id":146435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd7b"} 
[2026-08-01 18:55:06] local.INFO: GPS Element Parsed {"raw_longitude":756915968,"raw_latitude":119224872,"longitude_deg":75.6915968,"latitude_deg":11.9224872,"altitude":61,"angle":192,"satellites":32,"speed":30,"hex_longitude":"2d1d9f00","hex_latitude":"071b3a28","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111151360001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10331037024387072,"note":"Value kept but may cause issues"} 
[2026-08-01 18:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2136183997525297152,"note":"Value kept but may cause issues"} 
[2026-08-01 18:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785590447000,"timestamp_ms":1785590447000,"timestamp_seconds":1785590447,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd7bfb98"} 
[2026-08-01 18:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:55: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-08-01 18:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-01 18:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:55:06] 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-08-01 18:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111151360001,"66":14135,"82":206,"83":41984,"24":30,"16":10331037024387072,"45":2136183997525297152},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-01 18:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111151360001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:55:06] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 18:55:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10331037024387072,"km_value":10331037024387.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2136183997525297152,"description":"Unknown IO ID 45"} 
[2026-08-01 18:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111151360001,"power":14135,"unknown_82":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":2136183997525297152}} 
[2026-08-01 18:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":146435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:55:06] local.INFO: GPS data processed {"connection_id":146435,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:55:06] local.INFO: Acknowledgment sent {"connection_id":146435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:55:25] local.INFO: TCP Data received {"connection_id":147432,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd7ece40012cd74d40073664b8000a01242a..."} 
[2026-08-01 18:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd7ece40012cd74d40073664b8000a01242a..."} 
[2026-08-01 18:55:25] local.INFO: Processing buffer {"connection_id":147432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd7ece40012cd74d40073664b8000a01242a..."} 
[2026-08-01 18:55:25] local.INFO: Packet analysis {"connection_id":147432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd7e"} 
[2026-08-01 18:55:25] local.INFO: Extracted packet for processing {"connection_id":147432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd7e"} 
[2026-08-01 18:55:25] local.INFO: GPS Element Parsed {"raw_longitude":752307520,"raw_latitude":121005240,"longitude_deg":75.230752,"latitude_deg":12.100524,"altitude":10,"angle":292,"satellites":42,"speed":51,"hex_longitude":"2cd74d40","hex_latitude":"073664b8","is_valid_coordinates":true} 
[2026-08-01 18:55:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111200000001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366793664527073280,"note":"Value kept but may cause issues"} 
[2026-08-01 18:55:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2923328708396189696,"note":"Value kept but may cause issues"} 
[2026-08-01 18:55:25] 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-08-01 18:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785590632000,"timestamp_ms":1785590632000,"timestamp_seconds":1785590632,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd7ece40"} 
[2026-08-01 18:55:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:55:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:55:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-01 18:55:25] 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-08-01 18:55:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:55:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":147432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":147432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":147432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:55:25] 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-08-01 18:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111200000001,"66":27321,"170":206,"83":43264,"24":51,"16":366793664527073280,"44":-2923328708396189696},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,44]} 
[2026-08-01 18:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111200000001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:55:25] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-01 18:55:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 18:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366793664527073280,"km_value":366793664527073.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:55:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2923328708396189696,"description":"Unknown IO ID 44"} 
[2026-08-01 18:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111200000001,"power":27321,"unknown_170":206,"unknown_83":43264,"ignition":51,"odometer":null,"unknown_44":-2923328708396189696}} 
[2026-08-01 18:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":147432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:55:25] local.INFO: GPS data processed {"connection_id":147432,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:55:25] local.INFO: Acknowledgment sent {"connection_id":147432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:55:35] local.INFO: TCP Data received {"connection_id":148733,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd7ba990012d7c07c005bd4b280001004728..."} 
[2026-08-01 18:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd7ba990012d7c07c005bd4b280001004728..."} 
[2026-08-01 18:55:35] local.INFO: Processing buffer {"connection_id":148733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd7ba990012d7c07c005bd4b280001004728..."} 
[2026-08-01 18:55:35] local.INFO: Packet analysis {"connection_id":148733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd7b"} 
[2026-08-01 18:55:35] local.INFO: Extracted packet for processing {"connection_id":148733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd7b"} 
[2026-08-01 18:55:35] local.INFO: GPS Element Parsed {"raw_longitude":763103168,"raw_latitude":96291624,"longitude_deg":76.3103168,"latitude_deg":9.6291624,"altitude":1,"angle":71,"satellites":40,"speed":0,"hex_longitude":"2d7c07c0","hex_latitude":"05bd4b28","is_valid_coordinates":true} 
[2026-08-01 18:55: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-08-01 18:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111149056001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113620602446675968,"note":"Value kept but may cause issues"} 
[2026-08-01 18:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937323116423227392,"note":"Value kept but may cause issues"} 
[2026-08-01 18:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785590426000,"timestamp_ms":1785590426000,"timestamp_seconds":1785590426,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd7ba990"} 
[2026-08-01 18:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:55: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-08-01 18: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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-01 18:55:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111149056001,"66":13504,"197":206,"85":12544,"24":0,"16":113620602446675968,"45":8937323116423227392},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-01 18:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111149056001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:55:35] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-01 18:55:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-01 18:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113620602446675968,"km_value":113620602446675.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937323116423227392,"description":"Unknown IO ID 45"} 
[2026-08-01 18:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111149056001,"power":13504,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937323116423227392}} 
[2026-08-01 18:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":148733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578751,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:55:35] local.INFO: GPS data processed {"connection_id":148733,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:55:35] local.INFO: Acknowledgment sent {"connection_id":148733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:55:39] local.INFO: TCP Data received {"connection_id":147433,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:55:39] local.INFO: Processing buffer {"connection_id":147433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:55:39] local.INFO: IMEI packet received {"connection_id":147433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:55:39] local.INFO: IMEI acknowledgment sent {"connection_id":147433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:55:43] local.INFO: TCP Data received {"connection_id":147433,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:55:43] local.INFO: Processing buffer {"connection_id":147433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:55:43] local.INFO: IMEI packet received {"connection_id":147433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":147433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:55:48] local.INFO: TCP Data received {"connection_id":147433,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:55:48] local.INFO: Processing buffer {"connection_id":147433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:55:48] local.INFO: IMEI packet received {"connection_id":147433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":147433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:55:49] local.INFO: TCP Data received {"connection_id":147433,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd7ee998012cd72c40073674b0000a012d2c..."} 
[2026-08-01 18:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd7ee998012cd72c40073674b0000a012d2c..."} 
[2026-08-01 18:55:49] local.INFO: Processing buffer {"connection_id":147433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd7ee998012cd72c40073674b0000a012d2c..."} 
[2026-08-01 18:55:49] local.INFO: Packet analysis {"connection_id":147433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd7e"} 
[2026-08-01 18:55:49] local.INFO: Extracted packet for processing {"connection_id":147433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd7e"} 
[2026-08-01 18:55:49] local.INFO: GPS Element Parsed {"raw_longitude":752299072,"raw_latitude":121009328,"longitude_deg":75.2299072,"latitude_deg":12.1009328,"altitude":10,"angle":301,"satellites":44,"speed":54,"hex_longitude":"2cd72c40","hex_latitude":"073674b0","is_valid_coordinates":true} 
[2026-08-01 18:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111201792001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366794115498639360,"note":"Value kept but may cause issues"} 
[2026-08-01 18:55:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2932617382626805760,"note":"Value kept but may cause issues"} 
[2026-08-01 18:55:49] 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-08-01 18:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785590639000,"timestamp_ms":1785590639000,"timestamp_seconds":1785590639,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd7ee998"} 
[2026-08-01 18:55:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:55:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-01 18:55: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-08-01 18:55:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:55:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:55:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111201792001,"66":27321,"170":206,"83":43264,"24":54,"16":366794115498639360,"44":-2932617382626805760},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,44]} 
[2026-08-01 18:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111201792001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:55:49] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-01 18:55:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 18:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366794115498639360,"km_value":366794115498639.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:55:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2932617382626805760,"description":"Unknown IO ID 44"} 
[2026-08-01 18:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111201792001,"power":27321,"unknown_170":206,"unknown_83":43264,"ignition":54,"odometer":null,"unknown_44":-2932617382626805760}} 
[2026-08-01 18:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":147433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:55:49] local.INFO: GPS data processed {"connection_id":147433,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:55:49] local.INFO: Acknowledgment sent {"connection_id":147433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:55:51] local.INFO: TCP Data received {"connection_id":146435,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd7c0f20012d1d9c00071b2f10003e00cb21..."} 
[2026-08-01 18:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd7c0f20012d1d9c00071b2f10003e00cb21..."} 
[2026-08-01 18:55:51] local.INFO: Processing buffer {"connection_id":146435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd7c0f20012d1d9c00071b2f10003e00cb21..."} 
[2026-08-01 18:55:51] local.INFO: Packet analysis {"connection_id":146435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd7c"} 
[2026-08-01 18:55:51] local.INFO: Extracted packet for processing {"connection_id":146435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd7c"} 
[2026-08-01 18:55:51] local.INFO: GPS Element Parsed {"raw_longitude":756915200,"raw_latitude":119222032,"longitude_deg":75.69152,"latitude_deg":11.9222032,"altitude":62,"angle":203,"satellites":33,"speed":13,"hex_longitude":"2d1d9c00","hex_latitude":"071b2f10","is_valid_coordinates":true} 
[2026-08-01 18:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111154432001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10331178758307840,"note":"Value kept but may cause issues"} 
[2026-08-01 18:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2134424778918471680,"note":"Value kept but may cause issues"} 
[2026-08-01 18:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785590452000,"timestamp_ms":1785590452000,"timestamp_seconds":1785590452,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd7c0f20"} 
[2026-08-01 18:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:55:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-01 18:55:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:55:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":146435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":146435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":146435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:55:51] 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-08-01 18:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111154432001,"66":13820,"82":206,"83":41984,"24":13,"16":10331178758307840,"45":2134424778918471680},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-01 18:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111154432001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:55:51] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 18:55:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10331178758307840,"km_value":10331178758307.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2134424778918471680,"description":"Unknown IO ID 45"} 
[2026-08-01 18:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111154432001,"power":13820,"unknown_82":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":2134424778918471680}} 
[2026-08-01 18:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":146435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:55:51] local.INFO: GPS data processed {"connection_id":146435,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:55:51] local.INFO: Acknowledgment sent {"connection_id":146435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:55:57] local.INFO: TCP Data received {"connection_id":148734,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148734,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:55:57] local.INFO: Processing buffer {"connection_id":148734,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:55:57] local.INFO: IMEI packet received {"connection_id":148734,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-01 18:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":148734,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:55:59] local.INFO: TCP Data received {"connection_id":148735,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:55:59] local.INFO: Processing buffer {"connection_id":148735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:55:59] local.INFO: IMEI packet received {"connection_id":148735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 18:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":148735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:56:03] local.INFO: TCP Data received {"connection_id":148734,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148734,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:56:03] local.INFO: Processing buffer {"connection_id":148734,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-01 18:56:03] local.INFO: IMEI packet received {"connection_id":148734,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-01 18:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":148734,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:56:04] local.INFO: TCP Data received {"connection_id":148734,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd803d70012d7c088005bd4ae80001004728..."} 
[2026-08-01 18:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd803d70012d7c088005bd4ae80001004728..."} 
[2026-08-01 18:56:04] local.INFO: Processing buffer {"connection_id":148734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd803d70012d7c088005bd4ae80001004728..."} 
[2026-08-01 18:56:04] local.INFO: Packet analysis {"connection_id":148734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd80"} 
[2026-08-01 18:56:04] local.INFO: Extracted packet for processing {"connection_id":148734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd80"} 
[2026-08-01 18:56:04] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":96291560,"longitude_deg":76.310336,"latitude_deg":9.629156,"altitude":1,"angle":71,"satellites":40,"speed":0,"hex_longitude":"2d7c0880","hex_latitude":"05bd4ae8","is_valid_coordinates":true} 
[2026-08-01 18:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111149056001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113620602446675968,"note":"Value kept but may cause issues"} 
[2026-08-01 18:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937323116423227392,"note":"Value kept but may cause issues"} 
[2026-08-01 18:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785590726000,"timestamp_ms":1785590726000,"timestamp_seconds":1785590726,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd803d70"} 
[2026-08-01 18:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 18:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-01 18:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":148734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":148734,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":148734,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111149056001,"66":2231,"197":206,"85":12544,"24":0,"16":113620602446675968,"45":8937323116423227392},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-01 18:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111149056001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:56:04] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-01 18:56:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-01 18:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113620602446675968,"km_value":113620602446675.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937323116423227392,"description":"Unknown IO ID 45"} 
[2026-08-01 18:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111149056001,"power":2231,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937323116423227392}} 
[2026-08-01 18:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":148734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578754,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:56:04] local.INFO: GPS data processed {"connection_id":148734,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:56:04] local.INFO: Acknowledgment sent {"connection_id":148734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:56:05] local.INFO: TCP Data received {"connection_id":148735,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:56:05] local.INFO: Processing buffer {"connection_id":148735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:56:05] local.INFO: IMEI packet received {"connection_id":148735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":148735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:56:06] local.INFO: TCP Data received {"connection_id":148735,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd7c5958012d1d9bc0071b2e30003e00ca20..."} 
[2026-08-01 18:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd7c5958012d1d9bc0071b2e30003e00ca20..."} 
[2026-08-01 18:56:06] local.INFO: Processing buffer {"connection_id":148735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd7c5958012d1d9bc0071b2e30003e00ca20..."} 
[2026-08-01 18:56:06] local.INFO: Packet analysis {"connection_id":148735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd7c"} 
[2026-08-01 18:56:06] local.INFO: Extracted packet for processing {"connection_id":148735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd7c"} 
[2026-08-01 18:56:06] local.INFO: GPS Element Parsed {"raw_longitude":756915136,"raw_latitude":119221808,"longitude_deg":75.6915136,"latitude_deg":11.9221808,"altitude":62,"angle":202,"satellites":32,"speed":0,"hex_longitude":"2d1d9bc0","hex_latitude":"071b2e30","is_valid_coordinates":true} 
[2026-08-01 18:56: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-08-01 18:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111155712001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10331204528111616,"note":"Value kept but may cause issues"} 
[2026-08-01 18:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2133580353987612672,"note":"Value kept but may cause issues"} 
[2026-08-01 18:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785590471000,"timestamp_ms":1785590471000,"timestamp_seconds":1785590471,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd7c5958"} 
[2026-08-01 18:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:56: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-08-01 18: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-01 18:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:56:06] 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-08-01 18:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111155712001,"66":14048,"82":206,"83":41984,"24":0,"16":10331204528111616,"45":2133580353987612672},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-01 18:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111155712001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:56:06] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 18:56:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10331204528111616,"km_value":10331204528111.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2133580353987612672,"description":"Unknown IO ID 45"} 
[2026-08-01 18:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111155712001,"power":14048,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2133580353987612672}} 
[2026-08-01 18:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":148735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578755,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:56:06] local.INFO: GPS data processed {"connection_id":148735,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:56:06] local.INFO: Acknowledgment sent {"connection_id":148735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:56:20] local.INFO: TCP Data received {"connection_id":147433,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd7f04f0012cd70c0007368a20000901332d..."} 
[2026-08-01 18:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd7f04f0012cd70c0007368a20000901332d..."} 
[2026-08-01 18:56:20] local.INFO: Processing buffer {"connection_id":147433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd7f04f0012cd70c0007368a20000901332d..."} 
[2026-08-01 18:56:20] local.INFO: Packet analysis {"connection_id":147433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd7f"} 
[2026-08-01 18:56:20] local.INFO: Extracted packet for processing {"connection_id":147433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd7f"} 
[2026-08-01 18:56:20] local.INFO: GPS Element Parsed {"raw_longitude":752290816,"raw_latitude":121014816,"longitude_deg":75.2290816,"latitude_deg":12.1014816,"altitude":9,"angle":307,"satellites":45,"speed":58,"hex_longitude":"2cd70c00","hex_latitude":"07368a20","is_valid_coordinates":true} 
[2026-08-01 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-08-01 18:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111203584001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366794587945041920,"note":"Value kept but may cause issues"} 
[2026-08-01 18:56:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2941906056857210880,"note":"Value kept but may cause issues"} 
[2026-08-01 18:56:20] 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-08-01 18:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785590646000,"timestamp_ms":1785590646000,"timestamp_seconds":1785590646,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd7f04f0"} 
[2026-08-01 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-08-01 18:56: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-08-01 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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-01 18:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 18:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:56:20] 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-08-01 18:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111203584001,"66":27267,"170":206,"83":43264,"24":58,"16":366794587945041920,"44":-2941906056857210880},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,44]} 
[2026-08-01 18:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111203584001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:56:20] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-01 18:56:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 18:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366794587945041920,"km_value":366794587945041.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:56:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2941906056857210880,"description":"Unknown IO ID 44"} 
[2026-08-01 18:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111203584001,"power":27267,"unknown_170":206,"unknown_83":43264,"ignition":58,"odometer":null,"unknown_44":-2941906056857210880}} 
[2026-08-01 18:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":147433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:56:20] local.INFO: GPS data processed {"connection_id":147433,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:56:20] local.INFO: Acknowledgment sent {"connection_id":147433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:56:35] local.INFO: TCP Data received {"connection_id":148734,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd803d70012d7c088005bd4ae80001004728..."} 
[2026-08-01 18:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd803d70012d7c088005bd4ae80001004728..."} 
[2026-08-01 18:56:35] local.INFO: Processing buffer {"connection_id":148734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd803d70012d7c088005bd4ae80001004728..."} 
[2026-08-01 18:56:35] local.INFO: Packet analysis {"connection_id":148734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd80"} 
[2026-08-01 18:56:35] local.INFO: Extracted packet for processing {"connection_id":148734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd80"} 
[2026-08-01 18:56:35] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":96291560,"longitude_deg":76.310336,"latitude_deg":9.629156,"altitude":1,"angle":71,"satellites":40,"speed":0,"hex_longitude":"2d7c0880","hex_latitude":"05bd4ae8","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111149056001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113620602446675968,"note":"Value kept but may cause issues"} 
[2026-08-01 18:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937323116423227392,"note":"Value kept but may cause issues"} 
[2026-08-01 18:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785590726000,"timestamp_ms":1785590726000,"timestamp_seconds":1785590726,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd803d70"} 
[2026-08-01 18:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:56: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-08-01 18:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-01 18:56:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148734,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148734,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-01 18:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-01 18:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-01 18:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111149056001,"66":2231,"197":206,"85":12544,"24":0,"16":113620602446675968,"45":8937323116423227392},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-01 18:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-01 18:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-01 18:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111149056001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:56:35] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-01 18:56:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-01 18:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113620602446675968,"km_value":113620602446675.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937323116423227392,"description":"Unknown IO ID 45"} 
[2026-08-01 18:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111149056001,"power":2231,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937323116423227392}} 
[2026-08-01 18:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":148734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578757,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:56:35] local.INFO: GPS data processed {"connection_id":148734,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:56:35] local.INFO: Acknowledgment sent {"connection_id":148734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:56:38] local.INFO: TCP Data received {"connection_id":148735,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd7c5958012d1d9bc0071b2e30003e00ca20..."} 
[2026-08-01 18:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd7c5958012d1d9bc0071b2e30003e00ca20..."} 
[2026-08-01 18:56:38] local.INFO: Processing buffer {"connection_id":148735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd7c5958012d1d9bc0071b2e30003e00ca20..."} 
[2026-08-01 18:56:38] local.INFO: Packet analysis {"connection_id":148735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd7c"} 
[2026-08-01 18:56:38] local.INFO: Extracted packet for processing {"connection_id":148735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd7c"} 
[2026-08-01 18:56:38] local.INFO: GPS Element Parsed {"raw_longitude":756915136,"raw_latitude":119221808,"longitude_deg":75.6915136,"latitude_deg":11.9221808,"altitude":62,"angle":202,"satellites":32,"speed":0,"hex_longitude":"2d1d9bc0","hex_latitude":"071b2e30","is_valid_coordinates":true} 
[2026-08-01 18:56: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-08-01 18:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111160576001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10331204528111616,"note":"Value kept but may cause issues"} 
[2026-08-01 18:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2133509985243377664,"note":"Value kept but may cause issues"} 
[2026-08-01 18:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785590471000,"timestamp_ms":1785590471000,"timestamp_seconds":1785590471,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd7c5958"} 
[2026-08-01 18:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:56: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-08-01 18: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-01 18:56:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":148735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":148735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":148735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:56:38] 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-08-01 18:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111160576001,"66":14048,"82":206,"83":41984,"24":0,"16":10331204528111616,"45":2133509985243377664},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-01 18:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111160576001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:56:38] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 18:56:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10331204528111616,"km_value":10331204528111.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":2133509985243377664,"description":"Unknown IO ID 45"} 
[2026-08-01 18:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111160576001,"power":14048,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2133509985243377664}} 
[2026-08-01 18:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":148735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:56:38] local.INFO: GPS data processed {"connection_id":148735,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:56:38] local.INFO: Acknowledgment sent {"connection_id":148735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:56:44] local.INFO: TCP Data received {"connection_id":146201,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:56:44] local.INFO: Processing buffer {"connection_id":146201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:56:44] local.INFO: IMEI packet received {"connection_id":146201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":146201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:56:44] local.INFO: TCP Data received {"connection_id":146201,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:56:44] local.INFO: Processing buffer {"connection_id":146201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:56:44] local.INFO: IMEI packet received {"connection_id":146201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":146201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:56:49] local.INFO: TCP Data received {"connection_id":146201,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:56:49] local.INFO: Processing buffer {"connection_id":146201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:56:49] local.INFO: IMEI packet received {"connection_id":146201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":146201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:56:49] local.INFO: TCP Data received {"connection_id":146201,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd806098012cd61a80073771580006013e2d..."} 
[2026-08-01 18:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd806098012cd61a80073771580006013e2d..."} 
[2026-08-01 18:56:49] local.INFO: Processing buffer {"connection_id":146201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd806098012cd61a80073771580006013e2d..."} 
[2026-08-01 18:56:49] local.INFO: Packet analysis {"connection_id":146201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd80"} 
[2026-08-01 18:56:49] local.INFO: Extracted packet for processing {"connection_id":146201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd80"} 
[2026-08-01 18:56:49] local.INFO: GPS Element Parsed {"raw_longitude":752228992,"raw_latitude":121074008,"longitude_deg":75.2228992,"latitude_deg":12.1074008,"altitude":6,"angle":318,"satellites":45,"speed":29,"hex_longitude":"2cd61a80","hex_latitude":"07377158","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:56:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111225088001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:56:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366798762653253632,"note":"Value kept but may cause issues"} 
[2026-08-01 18:56:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3013682175903590400,"note":"Value kept but may cause issues"} 
[2026-08-01 18:56:49] 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-08-01 18:56:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785590735000,"timestamp_ms":1785590735000,"timestamp_seconds":1785590735,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd806098"} 
[2026-08-01 18:56:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:56: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-08-01 18:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-01 18:56:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:56:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:56:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:56:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:56:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:56:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:56:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:56:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:56:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:56:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111225088001,"66":27365,"170":206,"83":43264,"24":29,"16":366798762653253632,"44":-3013682175903590400},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,44]} 
[2026-08-01 18:56:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:56:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:56:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111225088001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:56:49] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-01 18:56:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 18:56:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366798762653253632,"km_value":366798762653253.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:56:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3013682175903590400,"description":"Unknown IO ID 44"} 
[2026-08-01 18:56:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111225088001,"power":27365,"unknown_170":206,"unknown_83":43264,"ignition":29,"odometer":null,"unknown_44":-3013682175903590400}} 
[2026-08-01 18:56:49] local.INFO: DEBUG: GPS processor result {"connection_id":146201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:56:49] local.INFO: GPS data processed {"connection_id":146201,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:56:49] local.INFO: Acknowledgment sent {"connection_id":146201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:57:05] local.INFO: TCP Data received {"connection_id":147434,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:57:05] local.INFO: Processing buffer {"connection_id":147434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:57:05] local.INFO: IMEI packet received {"connection_id":147434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 18:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":147434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:57:10] local.INFO: TCP Data received {"connection_id":147434,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:57:10] local.INFO: Processing buffer {"connection_id":147434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:57:10] local.INFO: IMEI packet received {"connection_id":147434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":147434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:57:11] local.INFO: TCP Data received {"connection_id":147434,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd7c5958012d1d9bc0071b2e30003e00ca20..."} 
[2026-08-01 18:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd7c5958012d1d9bc0071b2e30003e00ca20..."} 
[2026-08-01 18:57:11] local.INFO: Processing buffer {"connection_id":147434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd7c5958012d1d9bc0071b2e30003e00ca20..."} 
[2026-08-01 18:57:11] local.INFO: Packet analysis {"connection_id":147434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd7c"} 
[2026-08-01 18:57:11] local.INFO: Extracted packet for processing {"connection_id":147434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd7c"} 
[2026-08-01 18:57:11] local.INFO: GPS Element Parsed {"raw_longitude":756915136,"raw_latitude":119221808,"longitude_deg":75.6915136,"latitude_deg":11.9221808,"altitude":62,"angle":202,"satellites":32,"speed":0,"hex_longitude":"2d1d9bc0","hex_latitude":"071b2e30","is_valid_coordinates":true} 
[2026-08-01 18:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111160576001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10331204528111616,"note":"Value kept but may cause issues"} 
[2026-08-01 18:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2133509985243377664,"note":"Value kept but may cause issues"} 
[2026-08-01 18:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785590471000,"timestamp_ms":1785590471000,"timestamp_seconds":1785590471,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd7c5958"} 
[2026-08-01 18:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:57: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-08-01 18:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-01 18:57:11] 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-08-01 18:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":147434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":147434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":147434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:57: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-08-01 18:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111160576001,"66":14048,"82":206,"83":41984,"24":0,"16":10331204528111616,"45":2133509985243377664},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-01 18:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111160576001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:57:11] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 18:57:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10331204528111616,"km_value":10331204528111.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2133509985243377664,"description":"Unknown IO ID 45"} 
[2026-08-01 18:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111160576001,"power":14048,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2133509985243377664}} 
[2026-08-01 18:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":147434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:57:11] local.INFO: GPS data processed {"connection_id":147434,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:57:11] local.INFO: Acknowledgment sent {"connection_id":147434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:57:15] local.INFO: TCP Data received {"connection_id":147434,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd7c6128012d1d9a00071b2de8003e010020..."} 
[2026-08-01 18:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd7c6128012d1d9a00071b2de8003e010020..."} 
[2026-08-01 18:57:15] local.INFO: Processing buffer {"connection_id":147434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd7c6128012d1d9a00071b2de8003e010020..."} 
[2026-08-01 18:57:15] local.INFO: Packet analysis {"connection_id":147434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd7c"} 
[2026-08-01 18:57:15] local.INFO: Extracted packet for processing {"connection_id":147434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd7c"} 
[2026-08-01 18:57:15] local.INFO: GPS Element Parsed {"raw_longitude":756914688,"raw_latitude":119221736,"longitude_deg":75.6914688,"latitude_deg":11.9221736,"altitude":62,"angle":256,"satellites":32,"speed":0,"hex_longitude":"2d1d9a00","hex_latitude":"071b2de8","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111160576001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10331204528111616,"note":"Value kept but may cause issues"} 
[2026-08-01 18:57:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2133509985243377664,"note":"Value kept but may cause issues"} 
[2026-08-01 18:57:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785590473000,"timestamp_ms":1785590473000,"timestamp_seconds":1785590473,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd7c6128"} 
[2026-08-01 18:57:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 18: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-01 18:57:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:57:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":147434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":147434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":147434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:57:15] 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-08-01 18:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111160576001,"66":4112,"82":206,"83":41984,"24":0,"16":10331204528111616,"45":2133509985243377664},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-01 18:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111160576001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:57:15] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 18:57:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10331204528111616,"km_value":10331204528111.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:57:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2133509985243377664,"description":"Unknown IO ID 45"} 
[2026-08-01 18:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111160576001,"power":4112,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2133509985243377664}} 
[2026-08-01 18:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":147434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578761,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:57:16] local.INFO: GPS data processed {"connection_id":147434,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:57:16] local.INFO: Acknowledgment sent {"connection_id":147434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:57:20] local.INFO: TCP Data received {"connection_id":146201,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd809f18012cd6010007378bf0000b013a2b..."} 
[2026-08-01 18:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd809f18012cd6010007378bf0000b013a2b..."} 
[2026-08-01 18:57:20] local.INFO: Processing buffer {"connection_id":146201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd809f18012cd6010007378bf0000b013a2b..."} 
[2026-08-01 18:57:20] local.INFO: Packet analysis {"connection_id":146201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd80"} 
[2026-08-01 18:57:20] local.INFO: Extracted packet for processing {"connection_id":146201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd80"} 
[2026-08-01 18:57:20] local.INFO: GPS Element Parsed {"raw_longitude":752222464,"raw_latitude":121080816,"longitude_deg":75.2222464,"latitude_deg":12.1080816,"altitude":11,"angle":314,"satellites":43,"speed":21,"hex_longitude":"2cd60100","hex_latitude":"07378bf0","is_valid_coordinates":true} 
[2026-08-01 18: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-08-01 18:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111228160001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366799217919787008,"note":"Value kept but may cause issues"} 
[2026-08-01 18:57:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3018959831715194880,"note":"Value kept but may cause issues"} 
[2026-08-01 18:57:20] 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-08-01 18:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785590751000,"timestamp_ms":1785590751000,"timestamp_seconds":1785590751,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd809f18"} 
[2026-08-01 18:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:57:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-01 18:57:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18: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-08-01 18:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:57:20] 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-08-01 18:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111228160001,"66":27245,"170":206,"83":43264,"24":21,"16":366799217919787008,"44":-3018959831715194880},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,44]} 
[2026-08-01 18:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111228160001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:57:20] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-01 18:57:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 18:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366799217919787008,"km_value":366799217919787.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:57:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3018959831715194880,"description":"Unknown IO ID 44"} 
[2026-08-01 18:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111228160001,"power":27245,"unknown_170":206,"unknown_83":43264,"ignition":21,"odometer":null,"unknown_44":-3018959831715194880}} 
[2026-08-01 18:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":146201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:57:21] local.INFO: GPS data processed {"connection_id":146201,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:57:21] local.INFO: Acknowledgment sent {"connection_id":146201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:57:43] local.INFO: TCP Data received {"connection_id":146436,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:57:43] local.INFO: Processing buffer {"connection_id":146436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:57:43] local.INFO: IMEI packet received {"connection_id":146436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:57:43] local.INFO: IMEI acknowledgment sent {"connection_id":146436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:57:48] local.INFO: TCP Data received {"connection_id":146436,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:57:48] local.INFO: Processing buffer {"connection_id":146436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:57:48] local.INFO: IMEI packet received {"connection_id":146436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":146436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:57:49] local.INFO: TCP Data received {"connection_id":146436,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd80d9b0012cd5e8400737a4b8000a013b2c..."} 
[2026-08-01 18:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd80d9b0012cd5e8400737a4b8000a013b2c..."} 
[2026-08-01 18:57:49] local.INFO: Processing buffer {"connection_id":146436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd80d9b0012cd5e8400737a4b8000a013b2c..."} 
[2026-08-01 18:57:49] local.INFO: Packet analysis {"connection_id":146436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd80"} 
[2026-08-01 18:57:49] local.INFO: Extracted packet for processing {"connection_id":146436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd80"} 
[2026-08-01 18:57:49] local.INFO: GPS Element Parsed {"raw_longitude":752216128,"raw_latitude":121087160,"longitude_deg":75.2216128,"latitude_deg":12.108716,"altitude":10,"angle":315,"satellites":44,"speed":25,"hex_longitude":"2cd5e840","hex_latitude":"0737a4b8","is_valid_coordinates":true} 
[2026-08-01 18:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111232256001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366799647416516608,"note":"Value kept but may cause issues"} 
[2026-08-01 18:57:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3026137443619573760,"note":"Value kept but may cause issues"} 
[2026-08-01 18:57:49] 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-08-01 18:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785590766000,"timestamp_ms":1785590766000,"timestamp_seconds":1785590766,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd80d9b0"} 
[2026-08-01 18:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:57: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-08-01 18:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-01 18:57:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:57:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111232256001,"66":27332,"169":206,"83":43264,"24":25,"16":366799647416516608,"44":-3026137443619573760},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,44]} 
[2026-08-01 18:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111232256001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:57:49] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-01 18:57:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 18:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366799647416516608,"km_value":366799647416516.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:57:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3026137443619573760,"description":"Unknown IO ID 44"} 
[2026-08-01 18:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111232256001,"power":27332,"unknown_169":206,"unknown_83":43264,"ignition":25,"odometer":null,"unknown_44":-3026137443619573760}} 
[2026-08-01 18:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":146436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:57:49] local.INFO: GPS data processed {"connection_id":146436,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:57:49] local.INFO: Acknowledgment sent {"connection_id":146436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:58:00] local.INFO: TCP Data received {"connection_id":148736,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:58:00] local.INFO: Processing buffer {"connection_id":148736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:58:00] local.INFO: IMEI packet received {"connection_id":148736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 18:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":148736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:58:05] local.INFO: TCP Data received {"connection_id":148736,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:58:05] local.INFO: Processing buffer {"connection_id":148736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:58:05] local.INFO: IMEI packet received {"connection_id":148736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":148736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:58:06] local.INFO: TCP Data received {"connection_id":148736,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd80e568012d1d94c0071b2d98003f010024..."} 
[2026-08-01 18:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd80e568012d1d94c0071b2d98003f010024..."} 
[2026-08-01 18:58:06] local.INFO: Processing buffer {"connection_id":148736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd80e568012d1d94c0071b2d98003f010024..."} 
[2026-08-01 18:58:06] local.INFO: Packet analysis {"connection_id":148736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd80"} 
[2026-08-01 18:58:06] local.INFO: Extracted packet for processing {"connection_id":148736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd80"} 
[2026-08-01 18:58:06] local.INFO: GPS Element Parsed {"raw_longitude":756913344,"raw_latitude":119221656,"longitude_deg":75.6913344,"latitude_deg":11.9221656,"altitude":63,"angle":256,"satellites":36,"speed":0,"hex_longitude":"2d1d94c0","hex_latitude":"071b2d98","is_valid_coordinates":true} 
[2026-08-01 18:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111161088001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10331204528111616,"note":"Value kept but may cause issues"} 
[2026-08-01 18:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2133017404034115584,"note":"Value kept but may cause issues"} 
[2026-08-01 18:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785590769000,"timestamp_ms":1785590769000,"timestamp_seconds":1785590769,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd80e568"} 
[2026-08-01 18:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 18:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":16,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-01 18:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-01 18:58:06] local.WARNING: Large IO value detected {"io_id":27,"raw_value":3391210785711268096,"note":"Value kept but may cause issues"} 
[2026-08-01 18:58:06] local.WARNING: Large IO value detected {"io_id":13,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-01 18:58:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250929328499407400,"note":"Value kept but may cause issues"} 
[2026-08-01 18:58:06] local.WARNING: Large IO value detected {"io_id":105,"raw_value":5908949569739167744,"note":"Value kept but may cause issues"} 
[2026-08-01 18:58:06] local.WARNING: Large IO value detected {"io_id":91,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-01 18:58:06] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304409747458,"note":"Value kept but may cause issues"} 
[2026-08-01 18:58:06] local.WARNING: Large IO value detected {"io_id":36,"raw_value":-5474688297022259200,"note":"Value kept but may cause issues"} 
[2026-08-01 18:58:06] local.INFO: IO Element Parsed {"io_data_count":28,"io_data_keys":[0,82,83,24,241,157,16,180,159,89,45,192,46,62,32,10,66,240,224,227,189,27,13,1,105,91,206,36],"length":428,"final_offset":558,"validated_count":28,"validation_warnings":[]} 
[2026-08-01 18:58:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467852442767196160,"timestamp_seconds":4467852442767196.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 18:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:58:06] 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-08-01 18:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111161088001,"66":2166,"82":206,"83":41984,"24":0,"16":10331204528111616,"45":2133017404034115584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-01 18:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111161088001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:58:06] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 18:58:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10331204528111616,"km_value":10331204528111.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2133017404034115584,"description":"Unknown IO ID 45"} 
[2026-08-01 18:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111161088001,"power":2166,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2133017404034115584}} 
[2026-08-01 18:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":148736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:58:06] local.INFO: GPS data processed {"connection_id":148736,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:58:06] local.INFO: Acknowledgment sent {"connection_id":148736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:58:20] local.INFO: TCP Data received {"connection_id":146436,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd811830012cd5ce400737bea0000a013a2d..."} 
[2026-08-01 18:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd811830012cd5ce400737bea0000a013a2d..."} 
[2026-08-01 18:58:20] local.INFO: Processing buffer {"connection_id":146436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd811830012cd5ce400737bea0000a013a2d..."} 
[2026-08-01 18:58:20] local.INFO: Packet analysis {"connection_id":146436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd81"} 
[2026-08-01 18:58:20] local.INFO: Extracted packet for processing {"connection_id":146436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd81"} 
[2026-08-01 18:58:20] local.INFO: GPS Element Parsed {"raw_longitude":752209472,"raw_latitude":121093792,"longitude_deg":75.2209472,"latitude_deg":12.1093792,"altitude":10,"angle":314,"satellites":45,"speed":23,"hex_longitude":"2cd5ce40","hex_latitude":"0737bea0","is_valid_coordinates":true} 
[2026-08-01 18:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111236096001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366800094093115392,"note":"Value kept but may cause issues"} 
[2026-08-01 18:58:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3033103949291538432,"note":"Value kept but may cause issues"} 
[2026-08-01 18:58:20] 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-08-01 18:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785590782000,"timestamp_ms":1785590782000,"timestamp_seconds":1785590782,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd811830"} 
[2026-08-01 18:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:58:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-01 18:58:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:58:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:58:20] 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-08-01 18:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111236096001,"66":27321,"169":206,"83":43264,"24":23,"16":366800094093115392,"44":-3033103949291538432},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,44]} 
[2026-08-01 18:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111236096001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:58:20] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-01 18:58:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 18:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366800094093115392,"km_value":366800094093115.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:58:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3033103949291538432,"description":"Unknown IO ID 44"} 
[2026-08-01 18:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111236096001,"power":27321,"unknown_169":206,"unknown_83":43264,"ignition":23,"odometer":null,"unknown_44":-3033103949291538432}} 
[2026-08-01 18:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":146436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:58:20] local.INFO: GPS data processed {"connection_id":146436,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:58:20] local.INFO: Acknowledgment sent {"connection_id":146436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:58:38] local.INFO: TCP Data received {"connection_id":148736,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd80e568012d1d94c0071b2d98003f010024..."} 
[2026-08-01 18:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd80e568012d1d94c0071b2d98003f010024..."} 
[2026-08-01 18:58:38] local.INFO: Processing buffer {"connection_id":148736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd80e568012d1d94c0071b2d98003f010024..."} 
[2026-08-01 18:58:38] local.INFO: Packet analysis {"connection_id":148736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd80"} 
[2026-08-01 18:58:38] local.INFO: Extracted packet for processing {"connection_id":148736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd80"} 
[2026-08-01 18:58:38] local.INFO: GPS Element Parsed {"raw_longitude":756913344,"raw_latitude":119221656,"longitude_deg":75.6913344,"latitude_deg":11.9221656,"altitude":63,"angle":256,"satellites":36,"speed":0,"hex_longitude":"2d1d94c0","hex_latitude":"071b2d98","is_valid_coordinates":true} 
[2026-08-01 18:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111161088001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10331204528111616,"note":"Value kept but may cause issues"} 
[2026-08-01 18:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2133017404034115584,"note":"Value kept but may cause issues"} 
[2026-08-01 18:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785590769000,"timestamp_ms":1785590769000,"timestamp_seconds":1785590769,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd80e568"} 
[2026-08-01 18:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:58: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-08-01 18:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":16,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-01 18:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-01 18:58:38] local.WARNING: Large IO value detected {"io_id":27,"raw_value":3391210785711268096,"note":"Value kept but may cause issues"} 
[2026-08-01 18:58:38] local.WARNING: Large IO value detected {"io_id":13,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-01 18:58:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250929328499407400,"note":"Value kept but may cause issues"} 
[2026-08-01 18:58:38] local.WARNING: Large IO value detected {"io_id":105,"raw_value":5908949569739167744,"note":"Value kept but may cause issues"} 
[2026-08-01 18:58:38] local.WARNING: Large IO value detected {"io_id":91,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-01 18:58:38] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304409747458,"note":"Value kept but may cause issues"} 
[2026-08-01 18:58:38] local.WARNING: Large IO value detected {"io_id":36,"raw_value":-5474688297022259200,"note":"Value kept but may cause issues"} 
[2026-08-01 18:58:38] local.INFO: IO Element Parsed {"io_data_count":28,"io_data_keys":[0,82,83,24,241,157,16,180,159,89,45,192,46,62,32,10,66,240,224,227,189,27,13,1,105,91,206,36],"length":428,"final_offset":558,"validated_count":28,"validation_warnings":[]} 
[2026-08-01 18:58:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467852442767196160,"timestamp_seconds":4467852442767196.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 18:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":148736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":148736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":148736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:58:38] 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-08-01 18:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111161088001,"66":2166,"82":206,"83":41984,"24":0,"16":10331204528111616,"45":2133017404034115584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-01 18:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111161088001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:58:38] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 18:58:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10331204528111616,"km_value":10331204528111.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":2133017404034115584,"description":"Unknown IO ID 45"} 
[2026-08-01 18:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111161088001,"power":2166,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2133017404034115584}} 
[2026-08-01 18:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":148736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:58:38] local.INFO: GPS data processed {"connection_id":148736,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:58:38] local.INFO: Acknowledgment sent {"connection_id":148736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:58:43] local.INFO: TCP Data received {"connection_id":146437,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:58:43] local.INFO: Processing buffer {"connection_id":146437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:58:43] local.INFO: IMEI packet received {"connection_id":146437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":146437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:58:48] local.INFO: TCP Data received {"connection_id":146437,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:58:48] local.INFO: Processing buffer {"connection_id":146437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:58:48] local.INFO: IMEI packet received {"connection_id":146437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":146437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:58:50] local.INFO: TCP Data received {"connection_id":146437,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd814af8012cd5b8800737d350000901242d..."} 
[2026-08-01 18:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd814af8012cd5b8800737d350000901242d..."} 
[2026-08-01 18:58:50] local.INFO: Processing buffer {"connection_id":146437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd814af8012cd5b8800737d350000901242d..."} 
[2026-08-01 18:58:50] local.INFO: Packet analysis {"connection_id":146437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd81"} 
[2026-08-01 18:58:50] local.INFO: Extracted packet for processing {"connection_id":146437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd81"} 
[2026-08-01 18:58:50] local.INFO: GPS Element Parsed {"raw_longitude":752203904,"raw_latitude":121099088,"longitude_deg":75.2203904,"latitude_deg":12.1099088,"altitude":9,"angle":292,"satellites":45,"speed":20,"hex_longitude":"2cd5b880","hex_latitude":"0737d350","is_valid_coordinates":true} 
[2026-08-01 18:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111240192001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366800463460302848,"note":"Value kept but may cause issues"} 
[2026-08-01 18:58:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3040422298684317696,"note":"Value kept but may cause issues"} 
[2026-08-01 18:58:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785590795000,"timestamp_ms":1785590795000,"timestamp_seconds":1785590795,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd814af8"} 
[2026-08-01 18:58:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:58: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-08-01 18:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-01 18:58: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-08-01 18:58:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:58:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:58:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111240192001,"66":27321,"169":206,"83":43264,"24":20,"16":366800463460302848,"44":-3040422298684317696},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,44]} 
[2026-08-01 18:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111240192001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:58:50] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-01 18:58:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 18:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366800463460302848,"km_value":366800463460302.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:58:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3040422298684317696,"description":"Unknown IO ID 44"} 
[2026-08-01 18:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111240192001,"power":27321,"unknown_169":206,"unknown_83":43264,"ignition":20,"odometer":null,"unknown_44":-3040422298684317696}} 
[2026-08-01 18:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":146437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:58:50] local.INFO: GPS data processed {"connection_id":146437,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:58:50] local.INFO: Acknowledgment sent {"connection_id":146437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:59:00] local.INFO: TCP Data received {"connection_id":146202,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146202,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:59:00] local.INFO: Processing buffer {"connection_id":146202,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:59:00] local.INFO: IMEI packet received {"connection_id":146202,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 18:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":146202,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:59:05] local.INFO: TCP Data received {"connection_id":146202,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146202,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:59:05] local.INFO: Processing buffer {"connection_id":146202,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 18:59:05] local.INFO: IMEI packet received {"connection_id":146202,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 18:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":146202,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:59:06] local.INFO: TCP Data received {"connection_id":146202,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd80e568012d1d94c0071b2d98003f010024..."} 
[2026-08-01 18:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd80e568012d1d94c0071b2d98003f010024..."} 
[2026-08-01 18:59:06] local.INFO: Processing buffer {"connection_id":146202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd80e568012d1d94c0071b2d98003f010024..."} 
[2026-08-01 18:59:06] local.INFO: Packet analysis {"connection_id":146202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd80"} 
[2026-08-01 18:59:06] local.INFO: Extracted packet for processing {"connection_id":146202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd80"} 
[2026-08-01 18:59:06] local.INFO: GPS Element Parsed {"raw_longitude":756913344,"raw_latitude":119221656,"longitude_deg":75.6913344,"latitude_deg":11.9221656,"altitude":63,"angle":256,"satellites":36,"speed":0,"hex_longitude":"2d1d94c0","hex_latitude":"071b2d98","is_valid_coordinates":true} 
[2026-08-01 18:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111161088001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10331204528111616,"note":"Value kept but may cause issues"} 
[2026-08-01 18:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2133017404034115584,"note":"Value kept but may cause issues"} 
[2026-08-01 18:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785590769000,"timestamp_ms":1785590769000,"timestamp_seconds":1785590769,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd80e568"} 
[2026-08-01 18:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 18:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":16,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-01 18:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-01 18:59:06] local.WARNING: Large IO value detected {"io_id":27,"raw_value":3391210785711268096,"note":"Value kept but may cause issues"} 
[2026-08-01 18:59:06] local.WARNING: Large IO value detected {"io_id":13,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-01 18:59:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250929328499407400,"note":"Value kept but may cause issues"} 
[2026-08-01 18:59:06] local.WARNING: Large IO value detected {"io_id":105,"raw_value":5908949569739167744,"note":"Value kept but may cause issues"} 
[2026-08-01 18:59:06] local.WARNING: Large IO value detected {"io_id":91,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-01 18:59:06] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304409747458,"note":"Value kept but may cause issues"} 
[2026-08-01 18:59:06] local.WARNING: Large IO value detected {"io_id":36,"raw_value":-5474688297022259200,"note":"Value kept but may cause issues"} 
[2026-08-01 18:59:06] local.INFO: IO Element Parsed {"io_data_count":28,"io_data_keys":[0,82,83,24,241,157,16,180,159,89,45,192,46,62,32,10,66,240,224,227,189,27,13,1,105,91,206,36],"length":428,"final_offset":558,"validated_count":28,"validation_warnings":[]} 
[2026-08-01 18:59:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467852442767196160,"timestamp_seconds":4467852442767196.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 18:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:59:06] 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-08-01 18:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111161088001,"66":2166,"82":206,"83":41984,"24":0,"16":10331204528111616,"45":2133017404034115584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-01 18:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111161088001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:59:06] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 18:59:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10331204528111616,"km_value":10331204528111.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2133017404034115584,"description":"Unknown IO ID 45"} 
[2026-08-01 18:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111161088001,"power":2166,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2133017404034115584}} 
[2026-08-01 18:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":146202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:59:06] local.INFO: GPS data processed {"connection_id":146202,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:59:06] local.INFO: Acknowledgment sent {"connection_id":146202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:59:21] local.INFO: TCP Data received {"connection_id":146437,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd815a98012cd5af800737d5d8000801172c..."} 
[2026-08-01 18:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd815a98012cd5af800737d5d8000801172c..."} 
[2026-08-01 18:59:21] local.INFO: Processing buffer {"connection_id":146437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd815a98012cd5af800737d5d8000801172c..."} 
[2026-08-01 18:59:21] local.INFO: Packet analysis {"connection_id":146437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd81"} 
[2026-08-01 18:59:21] local.INFO: Extracted packet for processing {"connection_id":146437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd81"} 
[2026-08-01 18:59:21] local.INFO: GPS Element Parsed {"raw_longitude":752201600,"raw_latitude":121099736,"longitude_deg":75.22016,"latitude_deg":12.1099736,"altitude":8,"angle":279,"satellites":44,"speed":25,"hex_longitude":"2cd5af80","hex_latitude":"0737d5d8","is_valid_coordinates":true} 
[2026-08-01 18:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111243520001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366800579424419840,"note":"Value kept but may cause issues"} 
[2026-08-01 18:59:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3046544379426418688,"note":"Value kept but may cause issues"} 
[2026-08-01 18:59:21] 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-08-01 18:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785590799000,"timestamp_ms":1785590799000,"timestamp_seconds":1785590799,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd815a98"} 
[2026-08-01 18:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:59:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-01 18:59: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-08-01 18:59:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:59:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111243520001,"66":27365,"171":206,"83":43264,"24":25,"16":366800579424419840,"44":-3046544379426418688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,83,24,16,44]} 
[2026-08-01 18:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111243520001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:59:21] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-08-01 18:59:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 18:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366800579424419840,"km_value":366800579424419.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:59:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3046544379426418688,"description":"Unknown IO ID 44"} 
[2026-08-01 18:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111243520001,"power":27365,"unknown_171":206,"unknown_83":43264,"ignition":25,"odometer":null,"unknown_44":-3046544379426418688}} 
[2026-08-01 18:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":146437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:59:21] local.INFO: GPS data processed {"connection_id":146437,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:59:21] local.INFO: Acknowledgment sent {"connection_id":146437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:59:37] local.INFO: TCP Data received {"connection_id":146202,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd80e568012d1d94c0071b2d98003f010024..."} 
[2026-08-01 18:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd80e568012d1d94c0071b2d98003f010024..."} 
[2026-08-01 18:59:37] local.INFO: Processing buffer {"connection_id":146202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd80e568012d1d94c0071b2d98003f010024..."} 
[2026-08-01 18:59:37] local.INFO: Packet analysis {"connection_id":146202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd80"} 
[2026-08-01 18:59:37] local.INFO: Extracted packet for processing {"connection_id":146202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd80"} 
[2026-08-01 18:59:37] local.INFO: GPS Element Parsed {"raw_longitude":756913344,"raw_latitude":119221656,"longitude_deg":75.6913344,"latitude_deg":11.9221656,"altitude":63,"angle":256,"satellites":36,"speed":0,"hex_longitude":"2d1d94c0","hex_latitude":"071b2d98","is_valid_coordinates":true} 
[2026-08-01 18:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111161088001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10331204528111616,"note":"Value kept but may cause issues"} 
[2026-08-01 18:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2133017404034115584,"note":"Value kept but may cause issues"} 
[2026-08-01 18:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 18:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785590769000,"timestamp_ms":1785590769000,"timestamp_seconds":1785590769,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd80e568"} 
[2026-08-01 18:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 18:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":16,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-01 18:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-01 18:59:37] local.WARNING: Large IO value detected {"io_id":27,"raw_value":3391210785711268096,"note":"Value kept but may cause issues"} 
[2026-08-01 18:59:37] local.WARNING: Large IO value detected {"io_id":13,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-01 18:59:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250929328499407400,"note":"Value kept but may cause issues"} 
[2026-08-01 18:59:37] local.WARNING: Large IO value detected {"io_id":105,"raw_value":5908949569739167744,"note":"Value kept but may cause issues"} 
[2026-08-01 18:59:37] local.WARNING: Large IO value detected {"io_id":91,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-01 18:59:37] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304409747458,"note":"Value kept but may cause issues"} 
[2026-08-01 18:59:37] local.WARNING: Large IO value detected {"io_id":36,"raw_value":-5474688297022259200,"note":"Value kept but may cause issues"} 
[2026-08-01 18:59:37] local.INFO: IO Element Parsed {"io_data_count":28,"io_data_keys":[0,82,83,24,241,157,16,180,159,89,45,192,46,62,32,10,66,240,224,227,189,27,13,1,105,91,206,36],"length":428,"final_offset":558,"validated_count":28,"validation_warnings":[]} 
[2026-08-01 18:59:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467852442767196160,"timestamp_seconds":4467852442767196.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 18:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 18:59:37] 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-08-01 18:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 18:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 18:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111161088001,"66":2166,"82":206,"83":41984,"24":0,"16":10331204528111616,"45":2133017404034115584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-01 18:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 18:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 18:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111161088001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:59:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 18:59:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 18:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10331204528111616,"km_value":10331204528111.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":2133017404034115584,"description":"Unknown IO ID 45"} 
[2026-08-01 18:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111161088001,"power":2166,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2133017404034115584}} 
[2026-08-01 18:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":146202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578770,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:59:38] local.INFO: GPS data processed {"connection_id":146202,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:59:38] local.INFO: Acknowledgment sent {"connection_id":146202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:59:48] local.INFO: TCP Data received {"connection_id":147435,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:59:48] local.INFO: Processing buffer {"connection_id":147435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:59:48] local.INFO: IMEI packet received {"connection_id":147435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 18:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":147435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 18:59:53] local.INFO: TCP Data received {"connection_id":147435,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:59:53] local.INFO: Processing buffer {"connection_id":147435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 18:59:53] local.INFO: IMEI packet received {"connection_id":147435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 18:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":147435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 18:59:54] local.INFO: TCP Data received {"connection_id":147435,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd816650012cd5a7800737d6280007010a2b..."} 
[2026-08-01 18:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd816650012cd5a7800737d6280007010a2b..."} 
[2026-08-01 18:59:54] local.INFO: Processing buffer {"connection_id":147435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd816650012cd5a7800737d6280007010a2b..."} 
[2026-08-01 18:59:54] local.INFO: Packet analysis {"connection_id":147435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd81"} 
[2026-08-01 18:59:54] local.INFO: Extracted packet for processing {"connection_id":147435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd81"} 
[2026-08-01 18:59:54] local.INFO: GPS Element Parsed {"raw_longitude":752199552,"raw_latitude":121099816,"longitude_deg":75.2199552,"latitude_deg":12.1099816,"altitude":7,"angle":266,"satellites":43,"speed":29,"hex_longitude":"2cd5a780","hex_latitude":"0737d628","is_valid_coordinates":true} 
[2026-08-01 18:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111244544001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366800678208667648,"note":"Value kept but may cause issues"} 
[2026-08-01 18:59:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3049077654216648704,"note":"Value kept but may cause issues"} 
[2026-08-01 18:59:54] 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-08-01 18:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785590802000,"timestamp_ms":1785590802000,"timestamp_seconds":1785590802,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd816650"} 
[2026-08-01 18:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:59:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-01 18:59:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 18:59:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":147435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":147435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":147435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:59:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 18:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111244544001,"66":27365,"171":206,"83":43264,"24":29,"16":366800678208667648,"44":-3049077654216648704},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,83,24,16,44]} 
[2026-08-01 18:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111244544001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:59:54] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-08-01 18:59:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 18:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366800678208667648,"km_value":366800678208667.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:59:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3049077654216648704,"description":"Unknown IO ID 44"} 
[2026-08-01 18:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111244544001,"power":27365,"unknown_171":206,"unknown_83":43264,"ignition":29,"odometer":null,"unknown_44":-3049077654216648704}} 
[2026-08-01 18:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":147435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:59:54] local.INFO: GPS data processed {"connection_id":147435,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:59:54] local.INFO: Acknowledgment sent {"connection_id":147435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 18:59:57] local.INFO: TCP Data received {"connection_id":147435,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd8179d8012cd598400737d2e0000700fe2c..."} 
[2026-08-01 18:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd8179d8012cd598400737d2e0000700fe2c..."} 
[2026-08-01 18:59:57] local.INFO: Processing buffer {"connection_id":147435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd8179d8012cd598400737d2e0000700fe2c..."} 
[2026-08-01 18:59:57] local.INFO: Packet analysis {"connection_id":147435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd81"} 
[2026-08-01 18:59:57] local.INFO: Extracted packet for processing {"connection_id":147435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd81"} 
[2026-08-01 18:59:57] local.INFO: GPS Element Parsed {"raw_longitude":752195648,"raw_latitude":121098976,"longitude_deg":75.2195648,"latitude_deg":12.1098976,"altitude":7,"angle":254,"satellites":44,"speed":32,"hex_longitude":"2cd59840","hex_latitude":"0737d2e0","is_valid_coordinates":true} 
[2026-08-01 18:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 18:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111245312001,"note":"Value kept but may cause issues"} 
[2026-08-01 18:59:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366800867187228672,"note":"Value kept but may cause issues"} 
[2026-08-01 18:59:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3051329454030313472,"note":"Value kept but may cause issues"} 
[2026-08-01 18:59:57] 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-08-01 18:59:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785590807000,"timestamp_ms":1785590807000,"timestamp_seconds":1785590807,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd8179d8"} 
[2026-08-01 18:59:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 18:59:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 18:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-01 18:59:57] 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-08-01 18:59:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 18:59:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 18:59:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 18:59:57] local.INFO: Teltonika packet parsed successfully {"connection_id":147435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 18:59:57] local.INFO: Passing IMEI to GPS processor {"connection_id":147435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:59:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":147435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 18:59:57] 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-08-01 18:59:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 18:59:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 18:59:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111245312001,"66":27234,"171":206,"83":43264,"24":32,"16":366800867187228672,"44":-3051329454030313472},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,83,24,16,44]} 
[2026-08-01 18:59:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 18:59:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 18:59:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111245312001,"description":"Unknown IO ID 0"} 
[2026-08-01 18:59:57] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-08-01 18:59:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 18:59:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366800867187228672,"km_value":366800867187228.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 18:59:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3051329454030313472,"description":"Unknown IO ID 44"} 
[2026-08-01 18:59:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111245312001,"power":27234,"unknown_171":206,"unknown_83":43264,"ignition":32,"odometer":null,"unknown_44":-3051329454030313472}} 
[2026-08-01 18:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":147435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 18:59:57] local.INFO: GPS data processed {"connection_id":147435,"processed":1,"errors":0,"total":1} 
[2026-08-01 18:59:57] local.INFO: Acknowledgment sent {"connection_id":147435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:00:00] local.INFO: TCP Data received {"connection_id":146438,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:00:00] local.INFO: Processing buffer {"connection_id":146438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:00:00] local.INFO: IMEI packet received {"connection_id":146438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 19:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":146438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:00:05] local.INFO: TCP Data received {"connection_id":146438,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:00:05] local.INFO: Processing buffer {"connection_id":146438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:00:05] local.INFO: IMEI packet received {"connection_id":146438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":146438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:00:11] local.INFO: TCP Data received {"connection_id":146438,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd80e568012d1d94c0071b2d98003f010024..."} 
[2026-08-01 19:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd80e568012d1d94c0071b2d98003f010024..."} 
[2026-08-01 19:00:11] local.INFO: Processing buffer {"connection_id":146438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd80e568012d1d94c0071b2d98003f010024..."} 
[2026-08-01 19:00:11] local.INFO: Packet analysis {"connection_id":146438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd80"} 
[2026-08-01 19:00:11] local.INFO: Extracted packet for processing {"connection_id":146438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd80"} 
[2026-08-01 19:00:11] local.INFO: GPS Element Parsed {"raw_longitude":756913344,"raw_latitude":119221656,"longitude_deg":75.6913344,"latitude_deg":11.9221656,"altitude":63,"angle":256,"satellites":36,"speed":0,"hex_longitude":"2d1d94c0","hex_latitude":"071b2d98","is_valid_coordinates":true} 
[2026-08-01 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-08-01 19:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111161088001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10331204528111616,"note":"Value kept but may cause issues"} 
[2026-08-01 19:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2133017404034115584,"note":"Value kept but may cause issues"} 
[2026-08-01 19:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785590769000,"timestamp_ms":1785590769000,"timestamp_seconds":1785590769,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd80e568"} 
[2026-08-01 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-08-01 19:00: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-08-01 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":16,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-01 19:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-01 19:00:11] local.WARNING: Large IO value detected {"io_id":27,"raw_value":3391210785711268096,"note":"Value kept but may cause issues"} 
[2026-08-01 19:00:11] local.WARNING: Large IO value detected {"io_id":13,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-01 19:00:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250929328499407400,"note":"Value kept but may cause issues"} 
[2026-08-01 19:00:11] local.WARNING: Large IO value detected {"io_id":105,"raw_value":5908949569739167744,"note":"Value kept but may cause issues"} 
[2026-08-01 19:00:11] local.WARNING: Large IO value detected {"io_id":91,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-01 19:00:11] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304409747458,"note":"Value kept but may cause issues"} 
[2026-08-01 19:00:11] local.WARNING: Large IO value detected {"io_id":36,"raw_value":-5474688297022259200,"note":"Value kept but may cause issues"} 
[2026-08-01 19:00:11] local.INFO: IO Element Parsed {"io_data_count":28,"io_data_keys":[0,82,83,24,241,157,16,180,159,89,45,192,46,62,32,10,66,240,224,227,189,27,13,1,105,91,206,36],"length":428,"final_offset":558,"validated_count":28,"validation_warnings":[]} 
[2026-08-01 19:00:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467852442767196160,"timestamp_seconds":4467852442767196.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 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-08-01 19:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111161088001,"66":2166,"82":206,"83":41984,"24":0,"16":10331204528111616,"45":2133017404034115584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-01 19:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111161088001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:00:11] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 19:00:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10331204528111616,"km_value":10331204528111.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2133017404034115584,"description":"Unknown IO ID 45"} 
[2026-08-01 19:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111161088001,"power":2166,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2133017404034115584}} 
[2026-08-01 19:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":146438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578773,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:00:11] local.INFO: GPS data processed {"connection_id":146438,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:00:11] local.INFO: Acknowledgment sent {"connection_id":146438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:00:29] local.INFO: TCP Data received {"connection_id":147435,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd81b470012cd575400737c930000b00fe29..."} 
[2026-08-01 19:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd81b470012cd575400737c930000b00fe29..."} 
[2026-08-01 19:00:29] local.INFO: Processing buffer {"connection_id":147435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd81b470012cd575400737c930000b00fe29..."} 
[2026-08-01 19:00:29] local.INFO: Packet analysis {"connection_id":147435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd81"} 
[2026-08-01 19:00:29] local.INFO: Extracted packet for processing {"connection_id":147435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd81"} 
[2026-08-01 19:00:29] local.INFO: GPS Element Parsed {"raw_longitude":752186688,"raw_latitude":121096496,"longitude_deg":75.2186688,"latitude_deg":12.1096496,"altitude":11,"angle":254,"satellites":41,"speed":17,"hex_longitude":"2cd57540","hex_latitude":"0737c930","is_valid_coordinates":true} 
[2026-08-01 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-08-01 19:00:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111246592001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:00:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366801309568860160,"note":"Value kept but may cause issues"} 
[2026-08-01 19:00:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3055621947425366016,"note":"Value kept but may cause issues"} 
[2026-08-01 19:00:29] 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-08-01 19:00:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785590822000,"timestamp_ms":1785590822000,"timestamp_seconds":1785590822,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd81b470"} 
[2026-08-01 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-08-01 19:00: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-08-01 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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-01 19:00: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-08-01 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-08-01 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-08-01 19:00:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:00:29] local.INFO: Teltonika packet parsed successfully {"connection_id":147435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:00:29] local.INFO: Passing IMEI to GPS processor {"connection_id":147435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:00:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":147435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:00: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-08-01 19:00:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:00:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:00:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111246592001,"66":27365,"171":206,"83":43264,"24":17,"16":366801309568860160,"44":-3055621947425366016},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,83,24,16,44]} 
[2026-08-01 19:00:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:00:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:00:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111246592001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:00:29] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-08-01 19:00:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:00:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366801309568860160,"km_value":366801309568860.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:00:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3055621947425366016,"description":"Unknown IO ID 44"} 
[2026-08-01 19:00:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111246592001,"power":27365,"unknown_171":206,"unknown_83":43264,"ignition":17,"odometer":null,"unknown_44":-3055621947425366016}} 
[2026-08-01 19:00:29] local.INFO: DEBUG: GPS processor result {"connection_id":147435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:00:29] local.INFO: GPS data processed {"connection_id":147435,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:00:29] local.INFO: Acknowledgment sent {"connection_id":147435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:00:43] local.INFO: TCP Data received {"connection_id":146438,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd80e568012d1d94c0071b2d98003f010024..."} 
[2026-08-01 19:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd80e568012d1d94c0071b2d98003f010024..."} 
[2026-08-01 19:00:43] local.INFO: Processing buffer {"connection_id":146438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd80e568012d1d94c0071b2d98003f010024..."} 
[2026-08-01 19:00:43] local.INFO: Packet analysis {"connection_id":146438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd80"} 
[2026-08-01 19:00:43] local.INFO: Extracted packet for processing {"connection_id":146438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd80"} 
[2026-08-01 19:00:43] local.INFO: GPS Element Parsed {"raw_longitude":756913344,"raw_latitude":119221656,"longitude_deg":75.6913344,"latitude_deg":11.9221656,"altitude":63,"angle":256,"satellites":36,"speed":0,"hex_longitude":"2d1d94c0","hex_latitude":"071b2d98","is_valid_coordinates":true} 
[2026-08-01 19:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:00:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111161088001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:00:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10331204528111616,"note":"Value kept but may cause issues"} 
[2026-08-01 19:00:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2133017404034115584,"note":"Value kept but may cause issues"} 
[2026-08-01 19:00:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:00:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785590769000,"timestamp_ms":1785590769000,"timestamp_seconds":1785590769,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd80e568"} 
[2026-08-01 19:00:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:00:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":16,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-01 19:00:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-01 19:00:43] local.WARNING: Large IO value detected {"io_id":27,"raw_value":3391210785711268096,"note":"Value kept but may cause issues"} 
[2026-08-01 19:00:43] local.WARNING: Large IO value detected {"io_id":13,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-01 19:00:43] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250929328499407400,"note":"Value kept but may cause issues"} 
[2026-08-01 19:00:43] local.WARNING: Large IO value detected {"io_id":105,"raw_value":5908949569739167744,"note":"Value kept but may cause issues"} 
[2026-08-01 19:00:43] local.WARNING: Large IO value detected {"io_id":91,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-01 19:00:43] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304409747458,"note":"Value kept but may cause issues"} 
[2026-08-01 19:00:43] local.WARNING: Large IO value detected {"io_id":36,"raw_value":-5474688297022259200,"note":"Value kept but may cause issues"} 
[2026-08-01 19:00:43] local.INFO: IO Element Parsed {"io_data_count":28,"io_data_keys":[0,82,83,24,241,157,16,180,159,89,45,192,46,62,32,10,66,240,224,227,189,27,13,1,105,91,206,36],"length":428,"final_offset":558,"validated_count":28,"validation_warnings":[]} 
[2026-08-01 19:00:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467852442767196160,"timestamp_seconds":4467852442767196.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 19:00:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:00:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:00:43] local.INFO: Teltonika packet parsed successfully {"connection_id":146438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:00:43] local.INFO: Passing IMEI to GPS processor {"connection_id":146438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:00:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":146438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:00:43] 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-08-01 19:00:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:00:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:00:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111161088001,"66":2166,"82":206,"83":41984,"24":0,"16":10331204528111616,"45":2133017404034115584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-01 19:00:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:00:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:00:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111161088001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:00:43] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 19:00:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:00:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10331204528111616,"km_value":10331204528111.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:00:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":2133017404034115584,"description":"Unknown IO ID 45"} 
[2026-08-01 19:00:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111161088001,"power":2166,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2133017404034115584}} 
[2026-08-01 19:00:43] local.INFO: DEBUG: GPS processor result {"connection_id":146438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578775,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:00:43] local.INFO: GPS data processed {"connection_id":146438,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:00:43] local.INFO: Acknowledgment sent {"connection_id":146438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:00:43] local.INFO: TCP Data received {"connection_id":146203,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:00:43] local.INFO: Processing buffer {"connection_id":146203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:00:43] local.INFO: IMEI packet received {"connection_id":146203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 19:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":146203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:00:48] local.INFO: TCP Data received {"connection_id":146203,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:00:48] local.INFO: Processing buffer {"connection_id":146203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:00:48] local.INFO: IMEI packet received {"connection_id":146203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":146203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:00:50] local.INFO: TCP Data received {"connection_id":146203,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd81f6d8012cd551c00737bf70000b00f928..."} 
[2026-08-01 19:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd81f6d8012cd551c00737bf70000b00f928..."} 
[2026-08-01 19:00:50] local.INFO: Processing buffer {"connection_id":146203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd81f6d8012cd551c00737bf70000b00f928..."} 
[2026-08-01 19:00:50] local.INFO: Packet analysis {"connection_id":146203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd81"} 
[2026-08-01 19:00:50] local.INFO: Extracted packet for processing {"connection_id":146203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd81"} 
[2026-08-01 19:00:50] local.INFO: GPS Element Parsed {"raw_longitude":752177600,"raw_latitude":121094000,"longitude_deg":75.21776,"latitude_deg":12.1094,"altitude":11,"angle":249,"satellites":40,"speed":25,"hex_longitude":"2cd551c0","hex_latitude":"0737bf70","is_valid_coordinates":true} 
[2026-08-01 19:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111250432001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:00:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366801756245458944,"note":"Value kept but may cause issues"} 
[2026-08-01 19:00:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3065473571610873856,"note":"Value kept but may cause issues"} 
[2026-08-01 19:00:50] 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-08-01 19:00:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785590839000,"timestamp_ms":1785590839000,"timestamp_seconds":1785590839,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd81f6d8"} 
[2026-08-01 19:00:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:00: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-08-01 19:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-01 19:00:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:00:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:00:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:00:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:00:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:00:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:00:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:00:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:00:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:00:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:00:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111250432001,"66":27376,"171":206,"83":43264,"24":25,"16":366801756245458944,"44":-3065473571610873856},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,83,24,16,44]} 
[2026-08-01 19:00:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:00:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:00:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111250432001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:00:50] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-08-01 19:00:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:00:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366801756245458944,"km_value":366801756245458.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:00:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3065473571610873856,"description":"Unknown IO ID 44"} 
[2026-08-01 19:00:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111250432001,"power":27376,"unknown_171":206,"unknown_83":43264,"ignition":25,"odometer":null,"unknown_44":-3065473571610873856}} 
[2026-08-01 19:00:50] local.INFO: DEBUG: GPS processor result {"connection_id":146203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:00:50] local.INFO: GPS data processed {"connection_id":146203,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:00:50] local.INFO: Acknowledgment sent {"connection_id":146203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:00:54] local.INFO: TCP Data received {"connection_id":146204,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146204,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:00:54] local.INFO: Processing buffer {"connection_id":146204,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:00:54] local.INFO: IMEI packet received {"connection_id":146204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 19:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":146204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:00:59] local.INFO: TCP Data received {"connection_id":146204,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146204,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:00:59] local.INFO: Processing buffer {"connection_id":146204,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:00:59] local.INFO: IMEI packet received {"connection_id":146204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":146204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:01:05] local.INFO: TCP Data received {"connection_id":146204,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146204,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:01:05] local.INFO: Processing buffer {"connection_id":146204,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:01:05] local.INFO: IMEI packet received {"connection_id":146204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":146204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:01:05] local.INFO: TCP Data received {"connection_id":146204,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd80e568012d1d94c0071b2d98003f010024..."} 
[2026-08-01 19:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd80e568012d1d94c0071b2d98003f010024..."} 
[2026-08-01 19:01:05] local.INFO: Processing buffer {"connection_id":146204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd80e568012d1d94c0071b2d98003f010024..."} 
[2026-08-01 19:01:05] local.INFO: Packet analysis {"connection_id":146204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd80"} 
[2026-08-01 19:01:05] local.INFO: Extracted packet for processing {"connection_id":146204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd80"} 
[2026-08-01 19:01:05] local.INFO: GPS Element Parsed {"raw_longitude":756913344,"raw_latitude":119221656,"longitude_deg":75.6913344,"latitude_deg":11.9221656,"altitude":63,"angle":256,"satellites":36,"speed":0,"hex_longitude":"2d1d94c0","hex_latitude":"071b2d98","is_valid_coordinates":true} 
[2026-08-01 19:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111161088001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10331204528111616,"note":"Value kept but may cause issues"} 
[2026-08-01 19:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2133017404034115584,"note":"Value kept but may cause issues"} 
[2026-08-01 19:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785590769000,"timestamp_ms":1785590769000,"timestamp_seconds":1785590769,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd80e568"} 
[2026-08-01 19:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:01: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-08-01 19:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":16,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-01 19:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-01 19:01:05] local.WARNING: Large IO value detected {"io_id":27,"raw_value":3391210785711268096,"note":"Value kept but may cause issues"} 
[2026-08-01 19:01:05] local.WARNING: Large IO value detected {"io_id":13,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-01 19:01:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250929328499407400,"note":"Value kept but may cause issues"} 
[2026-08-01 19:01:05] local.WARNING: Large IO value detected {"io_id":105,"raw_value":5908949569739167744,"note":"Value kept but may cause issues"} 
[2026-08-01 19:01:05] local.WARNING: Large IO value detected {"io_id":91,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-01 19:01:05] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304409747458,"note":"Value kept but may cause issues"} 
[2026-08-01 19:01:05] local.WARNING: Large IO value detected {"io_id":36,"raw_value":-5474688297022259200,"note":"Value kept but may cause issues"} 
[2026-08-01 19:01:05] local.INFO: IO Element Parsed {"io_data_count":28,"io_data_keys":[0,82,83,24,241,157,16,180,159,89,45,192,46,62,32,10,66,240,224,227,189,27,13,1,105,91,206,36],"length":428,"final_offset":558,"validated_count":28,"validation_warnings":[]} 
[2026-08-01 19:01:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467852442767196160,"timestamp_seconds":4467852442767196.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 19:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:01:05] 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-08-01 19:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111161088001,"66":2166,"82":206,"83":41984,"24":0,"16":10331204528111616,"45":2133017404034115584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-01 19:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111161088001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:01:05] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 19:01:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10331204528111616,"km_value":10331204528111.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2133017404034115584,"description":"Unknown IO ID 45"} 
[2026-08-01 19:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111161088001,"power":2166,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2133017404034115584}} 
[2026-08-01 19:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":146204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578777,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:01:06] local.INFO: GPS data processed {"connection_id":146204,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:01:06] local.INFO: Acknowledgment sent {"connection_id":146204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:01:20] local.INFO: TCP Data received {"connection_id":146203,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd823170012cd52fc00737b340000a00f92a..."} 
[2026-08-01 19:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd823170012cd52fc00737b340000a00f92a..."} 
[2026-08-01 19:01:20] local.INFO: Processing buffer {"connection_id":146203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd823170012cd52fc00737b340000a00f92a..."} 
[2026-08-01 19:01:20] local.INFO: Packet analysis {"connection_id":146203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd82"} 
[2026-08-01 19:01:20] local.INFO: Extracted packet for processing {"connection_id":146203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd82"} 
[2026-08-01 19:01:20] local.INFO: GPS Element Parsed {"raw_longitude":752168896,"raw_latitude":121090880,"longitude_deg":75.2168896,"latitude_deg":12.109088,"altitude":10,"angle":249,"satellites":42,"speed":13,"hex_longitude":"2cd52fc0","hex_latitude":"0737b340","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111254784001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366802198627090432,"note":"Value kept but may cause issues"} 
[2026-08-01 19:01:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3075465933284741120,"note":"Value kept but may cause issues"} 
[2026-08-01 19:01:20] 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-08-01 19:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785590854000,"timestamp_ms":1785590854000,"timestamp_seconds":1785590854,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd823170"} 
[2026-08-01 19:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:01:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-01 19:01:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:01:20] 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-08-01 19:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111254784001,"66":27484,"89":206,"83":43264,"24":13,"16":366802198627090432,"44":-3075465933284741120},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-01 19:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111254784001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:01:20] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:01:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366802198627090432,"km_value":366802198627090.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:01:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3075465933284741120,"description":"Unknown IO ID 44"} 
[2026-08-01 19:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111254784001,"power":27484,"unknown_89":206,"unknown_83":43264,"ignition":13,"odometer":null,"unknown_44":-3075465933284741120}} 
[2026-08-01 19:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":146203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:01:20] local.INFO: GPS data processed {"connection_id":146203,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:01:20] local.INFO: Acknowledgment sent {"connection_id":146203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:01:37] local.INFO: TCP Data received {"connection_id":146204,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd80e568012d1d94c0071b2d98003f010024..."} 
[2026-08-01 19:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd80e568012d1d94c0071b2d98003f010024..."} 
[2026-08-01 19:01:37] local.INFO: Processing buffer {"connection_id":146204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd80e568012d1d94c0071b2d98003f010024..."} 
[2026-08-01 19:01:37] local.INFO: Packet analysis {"connection_id":146204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd80"} 
[2026-08-01 19:01:37] local.INFO: Extracted packet for processing {"connection_id":146204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd80"} 
[2026-08-01 19:01:37] local.INFO: GPS Element Parsed {"raw_longitude":756913344,"raw_latitude":119221656,"longitude_deg":75.6913344,"latitude_deg":11.9221656,"altitude":63,"angle":256,"satellites":36,"speed":0,"hex_longitude":"2d1d94c0","hex_latitude":"071b2d98","is_valid_coordinates":true} 
[2026-08-01 19:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111161088001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10331204528111616,"note":"Value kept but may cause issues"} 
[2026-08-01 19:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2133017404034115584,"note":"Value kept but may cause issues"} 
[2026-08-01 19:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785590769000,"timestamp_ms":1785590769000,"timestamp_seconds":1785590769,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd80e568"} 
[2026-08-01 19:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":16,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-01 19:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-01 19:01:37] local.WARNING: Large IO value detected {"io_id":27,"raw_value":3391210785711268096,"note":"Value kept but may cause issues"} 
[2026-08-01 19:01:37] local.WARNING: Large IO value detected {"io_id":13,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-01 19:01:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250929328499407400,"note":"Value kept but may cause issues"} 
[2026-08-01 19:01:37] local.WARNING: Large IO value detected {"io_id":105,"raw_value":5908949569739167744,"note":"Value kept but may cause issues"} 
[2026-08-01 19:01:37] local.WARNING: Large IO value detected {"io_id":91,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-01 19:01:37] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304409747458,"note":"Value kept but may cause issues"} 
[2026-08-01 19:01:37] local.WARNING: Large IO value detected {"io_id":36,"raw_value":-5474688297022259200,"note":"Value kept but may cause issues"} 
[2026-08-01 19:01:37] local.INFO: IO Element Parsed {"io_data_count":28,"io_data_keys":[0,82,83,24,241,157,16,180,159,89,45,192,46,62,32,10,66,240,224,227,189,27,13,1,105,91,206,36],"length":428,"final_offset":558,"validated_count":28,"validation_warnings":[]} 
[2026-08-01 19:01:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467852442767196160,"timestamp_seconds":4467852442767196.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 19:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:01:37] 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-08-01 19:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111161088001,"66":2166,"82":206,"83":41984,"24":0,"16":10331204528111616,"45":2133017404034115584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-01 19:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111161088001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:01:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 19:01:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10331204528111616,"km_value":10331204528111.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":2133017404034115584,"description":"Unknown IO ID 45"} 
[2026-08-01 19:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111161088001,"power":2166,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2133017404034115584}} 
[2026-08-01 19:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":146204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578779,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:01:37] local.INFO: GPS data processed {"connection_id":146204,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:01:37] local.INFO: Acknowledgment sent {"connection_id":146204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:01:44] local.INFO: TCP Data received {"connection_id":148737,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:01:44] local.INFO: Processing buffer {"connection_id":148737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:01:44] local.INFO: IMEI packet received {"connection_id":148737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 19:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":148737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:01:48] local.INFO: TCP Data received {"connection_id":148737,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:01:48] local.INFO: Processing buffer {"connection_id":148737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:01:48] local.INFO: IMEI packet received {"connection_id":148737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":148737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:01:49] local.INFO: TCP Data received {"connection_id":148737,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd828378012cd521800737ae40000d00f42b..."} 
[2026-08-01 19:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd828378012cd521800737ae40000d00f42b..."} 
[2026-08-01 19:01:49] local.INFO: Processing buffer {"connection_id":148737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd828378012cd521800737ae40000d00f42b..."} 
[2026-08-01 19:01:49] local.INFO: Packet analysis {"connection_id":148737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd82"} 
[2026-08-01 19:01:49] local.INFO: Extracted packet for processing {"connection_id":148737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd82"} 
[2026-08-01 19:01:49] local.INFO: GPS Element Parsed {"raw_longitude":752165248,"raw_latitude":121089600,"longitude_deg":75.2165248,"latitude_deg":12.10896,"altitude":13,"angle":244,"satellites":43,"speed":8,"hex_longitude":"2cd52180","hex_latitude":"0737ae40","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111258624001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366802383310684160,"note":"Value kept but may cause issues"} 
[2026-08-01 19:01:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3085036082493702144,"note":"Value kept but may cause issues"} 
[2026-08-01 19:01:49] 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-08-01 19:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785590875000,"timestamp_ms":1785590875000,"timestamp_seconds":1785590875,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd828378"} 
[2026-08-01 19:01:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:01: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-08-01 19: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-01 19:01: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-08-01 19: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-08-01 19:01:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:01:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111258624001,"66":27300,"89":206,"83":43264,"24":8,"16":366802383310684160,"44":-3085036082493702144},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-01 19:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111258624001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:01:49] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:01:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366802383310684160,"km_value":366802383310684.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:01:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3085036082493702144,"description":"Unknown IO ID 44"} 
[2026-08-01 19:01:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111258624001,"power":27300,"unknown_89":206,"unknown_83":43264,"ignition":8,"odometer":null,"unknown_44":-3085036082493702144}} 
[2026-08-01 19:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":148737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:01:49] local.INFO: GPS data processed {"connection_id":148737,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:01:49] local.INFO: Acknowledgment sent {"connection_id":148737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:02:00] local.INFO: TCP Data received {"connection_id":146439,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146439,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:02:00] local.INFO: Processing buffer {"connection_id":146439,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:02:00] local.INFO: IMEI packet received {"connection_id":146439,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 19:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":146439,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:02:05] local.INFO: TCP Data received {"connection_id":146439,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146439,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:02:05] local.INFO: Processing buffer {"connection_id":146439,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:02:05] local.INFO: IMEI packet received {"connection_id":146439,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":146439,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:02:06] local.INFO: TCP Data received {"connection_id":146439,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd857d30012d1d94c0071b2d98003f010026..."} 
[2026-08-01 19:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd857d30012d1d94c0071b2d98003f010026..."} 
[2026-08-01 19:02:06] local.INFO: Processing buffer {"connection_id":146439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd857d30012d1d94c0071b2d98003f010026..."} 
[2026-08-01 19:02:06] local.INFO: Packet analysis {"connection_id":146439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd85"} 
[2026-08-01 19:02:06] local.INFO: Extracted packet for processing {"connection_id":146439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd85"} 
[2026-08-01 19:02:06] local.INFO: GPS Element Parsed {"raw_longitude":756913344,"raw_latitude":119221656,"longitude_deg":75.6913344,"latitude_deg":11.9221656,"altitude":63,"angle":256,"satellites":38,"speed":0,"hex_longitude":"2d1d94c0","hex_latitude":"071b2d98","is_valid_coordinates":true} 
[2026-08-01 19:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111236864001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10331204528111616,"note":"Value kept but may cause issues"} 
[2026-08-01 19:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2131539660406364160,"note":"Value kept but may cause issues"} 
[2026-08-01 19:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785591070000,"timestamp_ms":1785591070000,"timestamp_seconds":1785591070,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd857d30"} 
[2026-08-01 19:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 19:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:02:06] 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-08-01 19:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111236864001,"66":2144,"82":206,"83":41984,"24":0,"16":10331204528111616,"45":2131539660406364160},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-01 19:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111236864001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:02:06] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 19:02:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10331204528111616,"km_value":10331204528111.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2131539660406364160,"description":"Unknown IO ID 45"} 
[2026-08-01 19:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111236864001,"power":2144,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2131539660406364160}} 
[2026-08-01 19:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":146439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:02:06] local.INFO: GPS data processed {"connection_id":146439,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:02:06] local.INFO: Acknowledgment sent {"connection_id":146439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:02:20] local.INFO: TCP Data received {"connection_id":148737,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd82d580012cd51c000737acd0000c00f42a..."} 
[2026-08-01 19:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd82d580012cd51c000737acd0000c00f42a..."} 
[2026-08-01 19:02:20] local.INFO: Processing buffer {"connection_id":148737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd82d580012cd51c000737acd0000c00f42a..."} 
[2026-08-01 19:02:20] local.INFO: Packet analysis {"connection_id":148737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd82"} 
[2026-08-01 19:02:20] local.INFO: Extracted packet for processing {"connection_id":148737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd82"} 
[2026-08-01 19:02:20] local.INFO: GPS Element Parsed {"raw_longitude":752163840,"raw_latitude":121089232,"longitude_deg":75.216384,"latitude_deg":12.1089232,"altitude":12,"angle":244,"satellites":42,"speed":2,"hex_longitude":"2cd51c00","hex_latitude":"0737acd0","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111264000001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366802452030160896,"note":"Value kept but may cause issues"} 
[2026-08-01 19:02:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3089047100912156672,"note":"Value kept but may cause issues"} 
[2026-08-01 19:02:20] 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-08-01 19:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785590896000,"timestamp_ms":1785590896000,"timestamp_seconds":1785590896,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd82d580"} 
[2026-08-01 19:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:02:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 19: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-01 19:02:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:02:20] 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-08-01 19:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111264000001,"66":27397,"89":206,"83":43264,"24":2,"16":366802452030160896,"44":-3089047100912156672},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-01 19:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111264000001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:02:20] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:02:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366802452030160896,"km_value":366802452030160.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:02:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3089047100912156672,"description":"Unknown IO ID 44"} 
[2026-08-01 19:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111264000001,"power":27397,"unknown_89":206,"unknown_83":43264,"ignition":2,"odometer":null,"unknown_44":-3089047100912156672}} 
[2026-08-01 19:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":148737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:02:20] local.INFO: GPS data processed {"connection_id":148737,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:02:20] local.INFO: Acknowledgment sent {"connection_id":148737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:02:38] local.INFO: TCP Data received {"connection_id":146439,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd857d30012d1d94c0071b2d98003f010026..."} 
[2026-08-01 19:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd857d30012d1d94c0071b2d98003f010026..."} 
[2026-08-01 19:02:38] local.INFO: Processing buffer {"connection_id":146439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd857d30012d1d94c0071b2d98003f010026..."} 
[2026-08-01 19:02:38] local.INFO: Packet analysis {"connection_id":146439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd85"} 
[2026-08-01 19:02:38] local.INFO: Extracted packet for processing {"connection_id":146439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd85"} 
[2026-08-01 19:02:38] local.INFO: GPS Element Parsed {"raw_longitude":756913344,"raw_latitude":119221656,"longitude_deg":75.6913344,"latitude_deg":11.9221656,"altitude":63,"angle":256,"satellites":38,"speed":0,"hex_longitude":"2d1d94c0","hex_latitude":"071b2d98","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111236864001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10331204528111616,"note":"Value kept but may cause issues"} 
[2026-08-01 19:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2131539660406364160,"note":"Value kept but may cause issues"} 
[2026-08-01 19:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785591070000,"timestamp_ms":1785591070000,"timestamp_seconds":1785591070,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd857d30"} 
[2026-08-01 19:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:02:38] 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-08-01 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 19:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:02:38] 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-08-01 19:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111236864001,"66":2144,"82":206,"83":41984,"24":0,"16":10331204528111616,"45":2131539660406364160},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-01 19:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111236864001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:02:38] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 19:02:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10331204528111616,"km_value":10331204528111.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":2131539660406364160,"description":"Unknown IO ID 45"} 
[2026-08-01 19:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111236864001,"power":2144,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2131539660406364160}} 
[2026-08-01 19:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":146439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578783,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:02:38] local.INFO: GPS data processed {"connection_id":146439,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:02:38] local.INFO: Acknowledgment sent {"connection_id":146439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:02:41] local.INFO: TCP Data received {"connection_id":148738,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:02:41] local.INFO: Processing buffer {"connection_id":148738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:02:41] local.INFO: IMEI packet received {"connection_id":148738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 19:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":148738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:02:43] local.INFO: TCP Data received {"connection_id":148738,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:02:43] local.INFO: Processing buffer {"connection_id":148738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:02:43] local.INFO: IMEI packet received {"connection_id":148738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":148738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:02:48] local.INFO: TCP Data received {"connection_id":148738,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:02:48] local.INFO: Processing buffer {"connection_id":148738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:02:48] local.INFO: IMEI packet received {"connection_id":148738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":148738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:02:49] local.INFO: TCP Data received {"connection_id":148738,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd832788012cd514000737a8d0000d00f72c..."} 
[2026-08-01 19:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd832788012cd514000737a8d0000d00f72c..."} 
[2026-08-01 19:02:49] local.INFO: Processing buffer {"connection_id":148738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd832788012cd514000737a8d0000d00f72c..."} 
[2026-08-01 19:02:49] local.INFO: Packet analysis {"connection_id":148738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd83"} 
[2026-08-01 19:02:49] local.INFO: Extracted packet for processing {"connection_id":148738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd83"} 
[2026-08-01 19:02:49] local.INFO: GPS Element Parsed {"raw_longitude":752161792,"raw_latitude":121088208,"longitude_deg":75.2161792,"latitude_deg":12.1088208,"altitude":13,"angle":247,"satellites":44,"speed":0,"hex_longitude":"2cd51400","hex_latitude":"0737a8d0","is_valid_coordinates":true} 
[2026-08-01 19:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111269376001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366802563699310592,"note":"Value kept but may cause issues"} 
[2026-08-01 19:02:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3090595213284159488,"note":"Value kept but may cause issues"} 
[2026-08-01 19:02:49] 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-08-01 19:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785590917000,"timestamp_ms":1785590917000,"timestamp_seconds":1785590917,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd832788"} 
[2026-08-01 19:02:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:02: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-08-01 19:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-01 19:02:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:02:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:02:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:02:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111269376001,"66":27484,"89":206,"83":43264,"24":0,"16":366802563699310592,"44":-3090595213284159488},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-01 19:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111269376001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:02:49] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:02:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366802563699310592,"km_value":366802563699310.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:02:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3090595213284159488,"description":"Unknown IO ID 44"} 
[2026-08-01 19:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111269376001,"power":27484,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3090595213284159488}} 
[2026-08-01 19:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":148738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:02:49] local.INFO: GPS data processed {"connection_id":148738,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:02:49] local.INFO: Acknowledgment sent {"connection_id":148738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:02:59] local.INFO: TCP Data received {"connection_id":146205,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:02:59] local.INFO: Processing buffer {"connection_id":146205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:02:59] local.INFO: IMEI packet received {"connection_id":146205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 19:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":146205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:03:05] local.INFO: TCP Data received {"connection_id":146205,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:03:05] local.INFO: Processing buffer {"connection_id":146205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:03:05] local.INFO: IMEI packet received {"connection_id":146205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":146205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:03:06] local.INFO: TCP Data received {"connection_id":146205,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd857d30012d1d94c0071b2d98003f010026..."} 
[2026-08-01 19:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd857d30012d1d94c0071b2d98003f010026..."} 
[2026-08-01 19:03:06] local.INFO: Processing buffer {"connection_id":146205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd857d30012d1d94c0071b2d98003f010026..."} 
[2026-08-01 19:03:06] local.INFO: Packet analysis {"connection_id":146205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd85"} 
[2026-08-01 19:03:06] local.INFO: Extracted packet for processing {"connection_id":146205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd85"} 
[2026-08-01 19:03:06] local.INFO: GPS Element Parsed {"raw_longitude":756913344,"raw_latitude":119221656,"longitude_deg":75.6913344,"latitude_deg":11.9221656,"altitude":63,"angle":256,"satellites":38,"speed":0,"hex_longitude":"2d1d94c0","hex_latitude":"071b2d98","is_valid_coordinates":true} 
[2026-08-01 19:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111236864001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10331204528111616,"note":"Value kept but may cause issues"} 
[2026-08-01 19:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2131539660406364160,"note":"Value kept but may cause issues"} 
[2026-08-01 19:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785591070000,"timestamp_ms":1785591070000,"timestamp_seconds":1785591070,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd857d30"} 
[2026-08-01 19:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 19:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:03:06] 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-08-01 19:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111236864001,"66":2144,"82":206,"83":41984,"24":0,"16":10331204528111616,"45":2131539660406364160},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-01 19:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111236864001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:03:06] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 19:03:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10331204528111616,"km_value":10331204528111.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2131539660406364160,"description":"Unknown IO ID 45"} 
[2026-08-01 19:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111236864001,"power":2144,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2131539660406364160}} 
[2026-08-01 19:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":146205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578785,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:03:06] local.INFO: GPS data processed {"connection_id":146205,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:03:06] local.INFO: Acknowledgment sent {"connection_id":146205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:03:22] local.INFO: TCP Data received {"connection_id":148738,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd864c38012cd4b0c007377af8000a00eb29..."} 
[2026-08-01 19:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd864c38012cd4b0c007377af8000a00eb29..."} 
[2026-08-01 19:03:22] local.INFO: Processing buffer {"connection_id":148738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd864c38012cd4b0c007377af8000a00eb29..."} 
[2026-08-01 19:03:22] local.INFO: Packet analysis {"connection_id":148738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd86"} 
[2026-08-01 19:03:22] local.INFO: Extracted packet for processing {"connection_id":148738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd86"} 
[2026-08-01 19:03:22] local.INFO: GPS Element Parsed {"raw_longitude":752136384,"raw_latitude":121076472,"longitude_deg":75.2136384,"latitude_deg":12.1076472,"altitude":10,"angle":235,"satellites":41,"speed":0,"hex_longitude":"2cd4b0c0","hex_latitude":"07377af8","is_valid_coordinates":true} 
[2026-08-01 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-08-01 19:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111322112001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366803908024074240,"note":"Value kept but may cause issues"} 
[2026-08-01 19:03:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3120783404539643904,"note":"Value kept but may cause issues"} 
[2026-08-01 19:03:22] 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-08-01 19:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785591123000,"timestamp_ms":1785591123000,"timestamp_seconds":1785591123,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd864c38"} 
[2026-08-01 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-08-01 19:03:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-01 19:03:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 19:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:03:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:03:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111322112001,"66":27180,"89":206,"83":43264,"24":0,"16":366803908024074240,"44":-3120783404539643904},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-01 19:03:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:03:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:03:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111322112001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:03:22] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:03:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:03:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366803908024074240,"km_value":366803908024074.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:03:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3120783404539643904,"description":"Unknown IO ID 44"} 
[2026-08-01 19:03:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111322112001,"power":27180,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3120783404539643904}} 
[2026-08-01 19:03:22] local.INFO: DEBUG: GPS processor result {"connection_id":148738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:03:22] local.INFO: GPS data processed {"connection_id":148738,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:03:22] local.INFO: Acknowledgment sent {"connection_id":148738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:03:40] local.INFO: TCP Data received {"connection_id":146205,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd857d30012d1d94c0071b2d98003f010026..."} 
[2026-08-01 19:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd857d30012d1d94c0071b2d98003f010026..."} 
[2026-08-01 19:03:40] local.INFO: Processing buffer {"connection_id":146205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd857d30012d1d94c0071b2d98003f010026..."} 
[2026-08-01 19:03:40] local.INFO: Packet analysis {"connection_id":146205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd85"} 
[2026-08-01 19:03:40] local.INFO: Extracted packet for processing {"connection_id":146205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd85"} 
[2026-08-01 19:03:40] local.INFO: GPS Element Parsed {"raw_longitude":756913344,"raw_latitude":119221656,"longitude_deg":75.6913344,"latitude_deg":11.9221656,"altitude":63,"angle":256,"satellites":38,"speed":0,"hex_longitude":"2d1d94c0","hex_latitude":"071b2d98","is_valid_coordinates":true} 
[2026-08-01 19:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111236864001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10331204528111616,"note":"Value kept but may cause issues"} 
[2026-08-01 19:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2131539660406364160,"note":"Value kept but may cause issues"} 
[2026-08-01 19:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785591070000,"timestamp_ms":1785591070000,"timestamp_seconds":1785591070,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd857d30"} 
[2026-08-01 19:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 19:03: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-08-01 19:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:03:40] 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-08-01 19:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111236864001,"66":2144,"82":206,"83":41984,"24":0,"16":10331204528111616,"45":2131539660406364160},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-01 19:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111236864001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:03:40] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 19:03:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10331204528111616,"km_value":10331204528111.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":2131539660406364160,"description":"Unknown IO ID 45"} 
[2026-08-01 19:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111236864001,"power":2144,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2131539660406364160}} 
[2026-08-01 19:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":146205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:03:40] local.INFO: GPS data processed {"connection_id":146205,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:03:40] local.INFO: Acknowledgment sent {"connection_id":146205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:03:43] local.INFO: TCP Data received {"connection_id":148739,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:03:43] local.INFO: Processing buffer {"connection_id":148739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:03:43] local.INFO: IMEI packet received {"connection_id":148739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 19:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":148739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:03:48] local.INFO: TCP Data received {"connection_id":148739,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:03:48] local.INFO: Processing buffer {"connection_id":148739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:03:48] local.INFO: IMEI packet received {"connection_id":148739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":148739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:03:49] local.INFO: TCP Data received {"connection_id":148739,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd869e40012cd4ab0007377818000c00eb2b..."} 
[2026-08-01 19:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd869e40012cd4ab0007377818000c00eb2b..."} 
[2026-08-01 19:03:49] local.INFO: Processing buffer {"connection_id":148739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd869e40012cd4ab0007377818000c00eb2b..."} 
[2026-08-01 19:03:49] local.INFO: Packet analysis {"connection_id":148739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd86"} 
[2026-08-01 19:03:49] local.INFO: Extracted packet for processing {"connection_id":148739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd86"} 
[2026-08-01 19:03:49] local.INFO: GPS Element Parsed {"raw_longitude":752134912,"raw_latitude":121075736,"longitude_deg":75.2134912,"latitude_deg":12.1075736,"altitude":12,"angle":235,"satellites":43,"speed":1,"hex_longitude":"2cd4ab00","hex_latitude":"07377818","is_valid_coordinates":true} 
[2026-08-01 19:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111327488001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366803993923420160,"note":"Value kept but may cause issues"} 
[2026-08-01 19:03:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3120783404539643904,"note":"Value kept but may cause issues"} 
[2026-08-01 19:03:49] 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-08-01 19:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785591144000,"timestamp_ms":1785591144000,"timestamp_seconds":1785591144,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd869e40"} 
[2026-08-01 19:03:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:03:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 19:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-01 19:03:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:03:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:03:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:03:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111327488001,"66":27876,"89":206,"83":43264,"24":1,"16":366803993923420160,"44":-3120783404539643904},"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-08-01 19:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111327488001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:03:49] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:03:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366803993923420160,"km_value":366803993923420.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:03:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3120783404539643904,"description":"Unknown IO ID 44"} 
[2026-08-01 19:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111327488001,"power":27876,"unknown_89":206,"unknown_83":43264,"ignition":1,"odometer":null,"unknown_44":-3120783404539643904}} 
[2026-08-01 19:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":148739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:03:49] local.INFO: GPS data processed {"connection_id":148739,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:03:49] local.INFO: Acknowledgment sent {"connection_id":148739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:04:05] local.INFO: TCP Data received {"connection_id":146440,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:04:05] local.INFO: Processing buffer {"connection_id":146440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:04:05] local.INFO: IMEI packet received {"connection_id":146440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 19:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":146440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:04:10] local.INFO: TCP Data received {"connection_id":146440,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:04:10] local.INFO: Processing buffer {"connection_id":146440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:04:10] local.INFO: IMEI packet received {"connection_id":146440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":146440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:04:11] local.INFO: TCP Data received {"connection_id":146440,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd857d30012d1d94c0071b2d98003f010026..."} 
[2026-08-01 19:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd857d30012d1d94c0071b2d98003f010026..."} 
[2026-08-01 19:04:11] local.INFO: Processing buffer {"connection_id":146440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd857d30012d1d94c0071b2d98003f010026..."} 
[2026-08-01 19:04:11] local.INFO: Packet analysis {"connection_id":146440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd85"} 
[2026-08-01 19:04:11] local.INFO: Extracted packet for processing {"connection_id":146440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd85"} 
[2026-08-01 19:04:11] local.INFO: GPS Element Parsed {"raw_longitude":756913344,"raw_latitude":119221656,"longitude_deg":75.6913344,"latitude_deg":11.9221656,"altitude":63,"angle":256,"satellites":38,"speed":0,"hex_longitude":"2d1d94c0","hex_latitude":"071b2d98","is_valid_coordinates":true} 
[2026-08-01 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-08-01 19:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111236864001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10331204528111616,"note":"Value kept but may cause issues"} 
[2026-08-01 19:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2131539660406364160,"note":"Value kept but may cause issues"} 
[2026-08-01 19:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785591070000,"timestamp_ms":1785591070000,"timestamp_seconds":1785591070,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd857d30"} 
[2026-08-01 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-08-01 19:04:11] 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-08-01 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 19:04:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 19:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":146440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":146440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":146440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111236864001,"66":2144,"82":206,"83":41984,"24":0,"16":10331204528111616,"45":2131539660406364160},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-01 19:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111236864001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:04:11] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 19:04:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10331204528111616,"km_value":10331204528111.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2131539660406364160,"description":"Unknown IO ID 45"} 
[2026-08-01 19:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111236864001,"power":2144,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2131539660406364160}} 
[2026-08-01 19:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":146440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:04:11] local.INFO: GPS data processed {"connection_id":146440,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:04:11] local.INFO: Acknowledgment sent {"connection_id":146440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:04:20] local.INFO: TCP Data received {"connection_id":148739,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd86ade0012cd4aa8007377808000c00eb2b..."} 
[2026-08-01 19:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd86ade0012cd4aa8007377808000c00eb2b..."} 
[2026-08-01 19:04:20] local.INFO: Processing buffer {"connection_id":148739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd86ade0012cd4aa8007377808000c00eb2b..."} 
[2026-08-01 19:04:20] local.INFO: Packet analysis {"connection_id":148739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd86"} 
[2026-08-01 19:04:20] local.INFO: Extracted packet for processing {"connection_id":148739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd86"} 
[2026-08-01 19:04:20] local.INFO: GPS Element Parsed {"raw_longitude":752134784,"raw_latitude":121075720,"longitude_deg":75.2134784,"latitude_deg":12.107572,"altitude":12,"angle":235,"satellites":43,"speed":1,"hex_longitude":"2cd4aa80","hex_latitude":"07377808","is_valid_coordinates":true} 
[2026-08-01 19:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111332864001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366804002513354752,"note":"Value kept but may cause issues"} 
[2026-08-01 19:04:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3122401885655918592,"note":"Value kept but may cause issues"} 
[2026-08-01 19:04:20] 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-08-01 19:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785591148000,"timestamp_ms":1785591148000,"timestamp_seconds":1785591148,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd86ade0"} 
[2026-08-01 19:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:04:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 19:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 19:04:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:04:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:04:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111332864001,"66":27821,"89":206,"83":43264,"24":1,"16":366804002513354752,"44":-3122401885655918592},"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-08-01 19:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111332864001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:04:20] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:04:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366804002513354752,"km_value":366804002513354.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:04:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3122401885655918592,"description":"Unknown IO ID 44"} 
[2026-08-01 19:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111332864001,"power":27821,"unknown_89":206,"unknown_83":43264,"ignition":1,"odometer":null,"unknown_44":-3122401885655918592}} 
[2026-08-01 19:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":148739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:04:20] local.INFO: GPS data processed {"connection_id":148739,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:04:20] local.INFO: Acknowledgment sent {"connection_id":148739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:04:43] local.INFO: TCP Data received {"connection_id":146441,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:04:43] local.INFO: Processing buffer {"connection_id":146441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:04:43] local.INFO: IMEI packet received {"connection_id":146441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 19:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":146441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:04:44] local.INFO: TCP Data received {"connection_id":146440,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd857d30012d1d94c0071b2d98003f010026..."} 
[2026-08-01 19:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd857d30012d1d94c0071b2d98003f010026..."} 
[2026-08-01 19:04:44] local.INFO: Processing buffer {"connection_id":146440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd857d30012d1d94c0071b2d98003f010026..."} 
[2026-08-01 19:04:44] local.INFO: Packet analysis {"connection_id":146440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd85"} 
[2026-08-01 19:04:44] local.INFO: Extracted packet for processing {"connection_id":146440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd85"} 
[2026-08-01 19:04:44] local.INFO: GPS Element Parsed {"raw_longitude":756913344,"raw_latitude":119221656,"longitude_deg":75.6913344,"latitude_deg":11.9221656,"altitude":63,"angle":256,"satellites":38,"speed":0,"hex_longitude":"2d1d94c0","hex_latitude":"071b2d98","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111236864001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10331204528111616,"note":"Value kept but may cause issues"} 
[2026-08-01 19:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2131539660406364160,"note":"Value kept but may cause issues"} 
[2026-08-01 19:04:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785591070000,"timestamp_ms":1785591070000,"timestamp_seconds":1785591070,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd857d30"} 
[2026-08-01 19:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:04: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-08-01 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 19:04:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":146440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":146440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":146440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:04:44] 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-08-01 19:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111236864001,"66":2144,"82":206,"83":41984,"24":0,"16":10331204528111616,"45":2131539660406364160},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-01 19:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111236864001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:04:44] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 19:04:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10331204528111616,"km_value":10331204528111.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":2131539660406364160,"description":"Unknown IO ID 45"} 
[2026-08-01 19:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111236864001,"power":2144,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2131539660406364160}} 
[2026-08-01 19:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":146440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:04:44] local.INFO: GPS data processed {"connection_id":146440,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:04:44] local.INFO: Acknowledgment sent {"connection_id":146440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:04:48] local.INFO: TCP Data received {"connection_id":146441,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:04:48] local.INFO: Processing buffer {"connection_id":146441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:04:48] local.INFO: IMEI packet received {"connection_id":146441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":146441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:04:49] local.INFO: TCP Data received {"connection_id":146441,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd86ade0012cd4aa8007377808000c00eb2b..."} 
[2026-08-01 19:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd86ade0012cd4aa8007377808000c00eb2b..."} 
[2026-08-01 19:04:50] local.INFO: Processing buffer {"connection_id":146441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd86ade0012cd4aa8007377808000c00eb2b..."} 
[2026-08-01 19:04:50] local.INFO: Packet analysis {"connection_id":146441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd86"} 
[2026-08-01 19:04:50] local.INFO: Extracted packet for processing {"connection_id":146441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd86"} 
[2026-08-01 19:04:50] local.INFO: GPS Element Parsed {"raw_longitude":752134784,"raw_latitude":121075720,"longitude_deg":75.2134784,"latitude_deg":12.107572,"altitude":12,"angle":235,"satellites":43,"speed":1,"hex_longitude":"2cd4aa80","hex_latitude":"07377808","is_valid_coordinates":true} 
[2026-08-01 19:04: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-08-01 19:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111332864001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366804002513354752,"note":"Value kept but may cause issues"} 
[2026-08-01 19:04:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3122401885655918592,"note":"Value kept but may cause issues"} 
[2026-08-01 19:04:50] 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-08-01 19:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785591148000,"timestamp_ms":1785591148000,"timestamp_seconds":1785591148,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd86ade0"} 
[2026-08-01 19:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:04: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-08-01 19: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 19:04:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:04:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111332864001,"66":27821,"89":206,"83":43264,"24":1,"16":366804002513354752,"44":-3122401885655918592},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-01 19:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111332864001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:04:50] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:04:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366804002513354752,"km_value":366804002513354.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:04:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3122401885655918592,"description":"Unknown IO ID 44"} 
[2026-08-01 19:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111332864001,"power":27821,"unknown_89":206,"unknown_83":43264,"ignition":1,"odometer":null,"unknown_44":-3122401885655918592}} 
[2026-08-01 19:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":146441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:04:50] local.INFO: GPS data processed {"connection_id":146441,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:04:50] local.INFO: Acknowledgment sent {"connection_id":146441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:05:00] local.INFO: TCP Data received {"connection_id":147436,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:05:00] local.INFO: Processing buffer {"connection_id":147436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:05:00] local.INFO: IMEI packet received {"connection_id":147436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 19:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":147436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:05:05] local.INFO: TCP Data received {"connection_id":147436,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:05:05] local.INFO: Processing buffer {"connection_id":147436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:05:05] local.INFO: IMEI packet received {"connection_id":147436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":147436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:05:07] local.INFO: TCP Data received {"connection_id":147436,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd857d30012d1d94c0071b2d98003f010026..."} 
[2026-08-01 19:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd857d30012d1d94c0071b2d98003f010026..."} 
[2026-08-01 19:05:07] local.INFO: Processing buffer {"connection_id":147436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd857d30012d1d94c0071b2d98003f010026..."} 
[2026-08-01 19:05:07] local.INFO: Packet analysis {"connection_id":147436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd85"} 
[2026-08-01 19:05:07] local.INFO: Extracted packet for processing {"connection_id":147436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd85"} 
[2026-08-01 19:05:07] local.INFO: GPS Element Parsed {"raw_longitude":756913344,"raw_latitude":119221656,"longitude_deg":75.6913344,"latitude_deg":11.9221656,"altitude":63,"angle":256,"satellites":38,"speed":0,"hex_longitude":"2d1d94c0","hex_latitude":"071b2d98","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111236864001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10331204528111616,"note":"Value kept but may cause issues"} 
[2026-08-01 19:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2131539660406364160,"note":"Value kept but may cause issues"} 
[2026-08-01 19:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785591070000,"timestamp_ms":1785591070000,"timestamp_seconds":1785591070,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd857d30"} 
[2026-08-01 19:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 19:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":147436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":147436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":147436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111236864001,"66":2144,"82":206,"83":41984,"24":0,"16":10331204528111616,"45":2131539660406364160},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-01 19:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111236864001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:05:07] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 19:05:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10331204528111616,"km_value":10331204528111.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2131539660406364160,"description":"Unknown IO ID 45"} 
[2026-08-01 19:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111236864001,"power":2144,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2131539660406364160}} 
[2026-08-01 19:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":147436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578793,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:05:07] local.INFO: GPS data processed {"connection_id":147436,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:05:07] local.INFO: Acknowledgment sent {"connection_id":147436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:05:20] local.INFO: TCP Data received {"connection_id":146441,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd86ade0012cd4aa8007377808000c00eb2b..."} 
[2026-08-01 19:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd86ade0012cd4aa8007377808000c00eb2b..."} 
[2026-08-01 19:05:20] local.INFO: Processing buffer {"connection_id":146441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd86ade0012cd4aa8007377808000c00eb2b..."} 
[2026-08-01 19:05:20] local.INFO: Packet analysis {"connection_id":146441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd86"} 
[2026-08-01 19:05:20] local.INFO: Extracted packet for processing {"connection_id":146441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd86"} 
[2026-08-01 19:05:20] local.INFO: GPS Element Parsed {"raw_longitude":752134784,"raw_latitude":121075720,"longitude_deg":75.2134784,"latitude_deg":12.107572,"altitude":12,"angle":235,"satellites":43,"speed":1,"hex_longitude":"2cd4aa80","hex_latitude":"07377808","is_valid_coordinates":true} 
[2026-08-01 19:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111332864001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366804002513354752,"note":"Value kept but may cause issues"} 
[2026-08-01 19:05:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3122401885655918592,"note":"Value kept but may cause issues"} 
[2026-08-01 19:05:20] 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-08-01 19:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785591148000,"timestamp_ms":1785591148000,"timestamp_seconds":1785591148,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd86ade0"} 
[2026-08-01 19:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 19:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 19:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:05:20] 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-08-01 19:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111332864001,"66":27821,"89":206,"83":43264,"24":1,"16":366804002513354752,"44":-3122401885655918592},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-01 19:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111332864001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:05:20] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:05:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366804002513354752,"km_value":366804002513354.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:05:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3122401885655918592,"description":"Unknown IO ID 44"} 
[2026-08-01 19:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111332864001,"power":27821,"unknown_89":206,"unknown_83":43264,"ignition":1,"odometer":null,"unknown_44":-3122401885655918592}} 
[2026-08-01 19:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":146441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:05:20] local.INFO: GPS data processed {"connection_id":146441,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:05:20] local.INFO: Acknowledgment sent {"connection_id":146441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:05:39] local.INFO: TCP Data received {"connection_id":147436,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd857d30012d1d94c0071b2d98003f010026..."} 
[2026-08-01 19:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd857d30012d1d94c0071b2d98003f010026..."} 
[2026-08-01 19:05:39] local.INFO: Processing buffer {"connection_id":147436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd857d30012d1d94c0071b2d98003f010026..."} 
[2026-08-01 19:05:39] local.INFO: Packet analysis {"connection_id":147436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd85"} 
[2026-08-01 19:05:39] local.INFO: Extracted packet for processing {"connection_id":147436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd85"} 
[2026-08-01 19:05:39] local.INFO: GPS Element Parsed {"raw_longitude":756913344,"raw_latitude":119221656,"longitude_deg":75.6913344,"latitude_deg":11.9221656,"altitude":63,"angle":256,"satellites":38,"speed":0,"hex_longitude":"2d1d94c0","hex_latitude":"071b2d98","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111236864001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10331204528111616,"note":"Value kept but may cause issues"} 
[2026-08-01 19:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2131539660406364160,"note":"Value kept but may cause issues"} 
[2026-08-01 19:05:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785591070000,"timestamp_ms":1785591070000,"timestamp_seconds":1785591070,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd857d30"} 
[2026-08-01 19:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:05: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-08-01 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 19:05:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":147436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":147436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":147436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:05:39] 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-08-01 19:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111236864001,"66":2144,"82":206,"83":41984,"24":0,"16":10331204528111616,"45":2131539660406364160},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-01 19:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111236864001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:05:39] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 19:05:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10331204528111616,"km_value":10331204528111.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":2131539660406364160,"description":"Unknown IO ID 45"} 
[2026-08-01 19:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111236864001,"power":2144,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2131539660406364160}} 
[2026-08-01 19:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":147436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578795,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:05:39] local.INFO: GPS data processed {"connection_id":147436,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:05:39] local.INFO: Acknowledgment sent {"connection_id":147436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:05:43] local.INFO: TCP Data received {"connection_id":146442,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:05:43] local.INFO: Processing buffer {"connection_id":146442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:05:43] local.INFO: IMEI packet received {"connection_id":146442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 19:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":146442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:05:48] local.INFO: TCP Data received {"connection_id":146442,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:05:48] local.INFO: Processing buffer {"connection_id":146442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:05:48] local.INFO: IMEI packet received {"connection_id":146442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":146442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:05:49] local.INFO: TCP Data received {"connection_id":146442,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd86ade0012cd4aa8007377808000c00eb2b..."} 
[2026-08-01 19:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd86ade0012cd4aa8007377808000c00eb2b..."} 
[2026-08-01 19:05:49] local.INFO: Processing buffer {"connection_id":146442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd86ade0012cd4aa8007377808000c00eb2b..."} 
[2026-08-01 19:05:49] local.INFO: Packet analysis {"connection_id":146442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd86"} 
[2026-08-01 19:05:49] local.INFO: Extracted packet for processing {"connection_id":146442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd86"} 
[2026-08-01 19:05:49] local.INFO: GPS Element Parsed {"raw_longitude":752134784,"raw_latitude":121075720,"longitude_deg":75.2134784,"latitude_deg":12.107572,"altitude":12,"angle":235,"satellites":43,"speed":1,"hex_longitude":"2cd4aa80","hex_latitude":"07377808","is_valid_coordinates":true} 
[2026-08-01 19:05: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-08-01 19:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111332864001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366804002513354752,"note":"Value kept but may cause issues"} 
[2026-08-01 19:05:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3122401885655918592,"note":"Value kept but may cause issues"} 
[2026-08-01 19:05:49] 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-08-01 19:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785591148000,"timestamp_ms":1785591148000,"timestamp_seconds":1785591148,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd86ade0"} 
[2026-08-01 19:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:05: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-08-01 19:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 19:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111332864001,"66":27821,"89":206,"83":43264,"24":1,"16":366804002513354752,"44":-3122401885655918592},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-01 19:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111332864001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:05:49] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:05:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366804002513354752,"km_value":366804002513354.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:05:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3122401885655918592,"description":"Unknown IO ID 44"} 
[2026-08-01 19:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111332864001,"power":27821,"unknown_89":206,"unknown_83":43264,"ignition":1,"odometer":null,"unknown_44":-3122401885655918592}} 
[2026-08-01 19:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":146442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:05:49] local.INFO: GPS data processed {"connection_id":146442,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:05:49] local.INFO: Acknowledgment sent {"connection_id":146442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:05:59] local.INFO: TCP Data received {"connection_id":148740,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:05:59] local.INFO: Processing buffer {"connection_id":148740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:05:59] local.INFO: IMEI packet received {"connection_id":148740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 19:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":148740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:06:07] local.INFO: TCP Data received {"connection_id":148740,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:06:07] local.INFO: Processing buffer {"connection_id":148740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:06:07] local.INFO: IMEI packet received {"connection_id":148740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":148740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:06:17] local.INFO: TCP Data received {"connection_id":148740,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd857d30012d1d94c0071b2d98003f010026..."} 
[2026-08-01 19:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd857d30012d1d94c0071b2d98003f010026..."} 
[2026-08-01 19:06:17] local.INFO: Processing buffer {"connection_id":148740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd857d30012d1d94c0071b2d98003f010026..."} 
[2026-08-01 19:06:17] local.INFO: Packet analysis {"connection_id":148740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd85"} 
[2026-08-01 19:06:17] local.INFO: Extracted packet for processing {"connection_id":148740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd85"} 
[2026-08-01 19:06:17] local.INFO: GPS Element Parsed {"raw_longitude":756913344,"raw_latitude":119221656,"longitude_deg":75.6913344,"latitude_deg":11.9221656,"altitude":63,"angle":256,"satellites":38,"speed":0,"hex_longitude":"2d1d94c0","hex_latitude":"071b2d98","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111236864001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10331204528111616,"note":"Value kept but may cause issues"} 
[2026-08-01 19:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2131539660406364160,"note":"Value kept but may cause issues"} 
[2026-08-01 19:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785591070000,"timestamp_ms":1785591070000,"timestamp_seconds":1785591070,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd857d30"} 
[2026-08-01 19:06:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:06:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 19:06:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:06:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":148740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":148740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":148740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111236864001,"66":2144,"82":206,"83":41984,"24":0,"16":10331204528111616,"45":2131539660406364160},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-01 19:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111236864001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:06:17] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 19:06:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10331204528111616,"km_value":10331204528111.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":2131539660406364160,"description":"Unknown IO ID 45"} 
[2026-08-01 19:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111236864001,"power":2144,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2131539660406364160}} 
[2026-08-01 19:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":148740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578797,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:06:18] local.INFO: GPS data processed {"connection_id":148740,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:06:18] local.INFO: Acknowledgment sent {"connection_id":148740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:06:20] local.INFO: TCP Data received {"connection_id":146442,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd86ade0012cd4aa8007377808000c00eb2b..."} 
[2026-08-01 19:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd86ade0012cd4aa8007377808000c00eb2b..."} 
[2026-08-01 19:06:20] local.INFO: Processing buffer {"connection_id":146442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd86ade0012cd4aa8007377808000c00eb2b..."} 
[2026-08-01 19:06:20] local.INFO: Packet analysis {"connection_id":146442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd86"} 
[2026-08-01 19:06:20] local.INFO: Extracted packet for processing {"connection_id":146442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd86"} 
[2026-08-01 19:06:20] local.INFO: GPS Element Parsed {"raw_longitude":752134784,"raw_latitude":121075720,"longitude_deg":75.2134784,"latitude_deg":12.107572,"altitude":12,"angle":235,"satellites":43,"speed":1,"hex_longitude":"2cd4aa80","hex_latitude":"07377808","is_valid_coordinates":true} 
[2026-08-01 19:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111332864001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366804002513354752,"note":"Value kept but may cause issues"} 
[2026-08-01 19:06:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3122401885655918592,"note":"Value kept but may cause issues"} 
[2026-08-01 19:06:20] 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-08-01 19:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785591148000,"timestamp_ms":1785591148000,"timestamp_seconds":1785591148,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd86ade0"} 
[2026-08-01 19:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 19:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 19:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:06:20] 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-08-01 19:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111332864001,"66":27821,"89":206,"83":43264,"24":1,"16":366804002513354752,"44":-3122401885655918592},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-01 19:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111332864001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:06:20] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:06:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366804002513354752,"km_value":366804002513354.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:06:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3122401885655918592,"description":"Unknown IO ID 44"} 
[2026-08-01 19:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111332864001,"power":27821,"unknown_89":206,"unknown_83":43264,"ignition":1,"odometer":null,"unknown_44":-3122401885655918592}} 
[2026-08-01 19:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":146442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:06:20] local.INFO: GPS data processed {"connection_id":146442,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:06:20] local.INFO: Acknowledgment sent {"connection_id":146442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:06:43] local.INFO: TCP Data received {"connection_id":147437,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:06:43] local.INFO: Processing buffer {"connection_id":147437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:06:43] local.INFO: IMEI packet received {"connection_id":147437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 19:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":147437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:06:48] local.INFO: TCP Data received {"connection_id":147437,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:06:48] local.INFO: Processing buffer {"connection_id":147437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:06:48] local.INFO: IMEI packet received {"connection_id":147437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":147437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:06:51] local.INFO: TCP Data received {"connection_id":147437,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd86ade0012cd4aa8007377808000c00eb2b..."} 
[2026-08-01 19:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd86ade0012cd4aa8007377808000c00eb2b..."} 
[2026-08-01 19:06:51] local.INFO: Processing buffer {"connection_id":147437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd86ade0012cd4aa8007377808000c00eb2b..."} 
[2026-08-01 19:06:51] local.INFO: Packet analysis {"connection_id":147437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd86"} 
[2026-08-01 19:06:51] local.INFO: Extracted packet for processing {"connection_id":147437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd86"} 
[2026-08-01 19:06:51] local.INFO: GPS Element Parsed {"raw_longitude":752134784,"raw_latitude":121075720,"longitude_deg":75.2134784,"latitude_deg":12.107572,"altitude":12,"angle":235,"satellites":43,"speed":1,"hex_longitude":"2cd4aa80","hex_latitude":"07377808","is_valid_coordinates":true} 
[2026-08-01 19:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111332864001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366804002513354752,"note":"Value kept but may cause issues"} 
[2026-08-01 19:06:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3122401885655918592,"note":"Value kept but may cause issues"} 
[2026-08-01 19:06:51] 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-08-01 19:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785591148000,"timestamp_ms":1785591148000,"timestamp_seconds":1785591148,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd86ade0"} 
[2026-08-01 19:06:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:06:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 19:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 19:06:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:06:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:06:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":147437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":147437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":147437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111332864001,"66":27821,"89":206,"83":43264,"24":1,"16":366804002513354752,"44":-3122401885655918592},"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-08-01 19:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111332864001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:06:51] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:06:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366804002513354752,"km_value":366804002513354.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:06:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3122401885655918592,"description":"Unknown IO ID 44"} 
[2026-08-01 19:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111332864001,"power":27821,"unknown_89":206,"unknown_83":43264,"ignition":1,"odometer":null,"unknown_44":-3122401885655918592}} 
[2026-08-01 19:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":147437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:06:51] local.INFO: GPS data processed {"connection_id":147437,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:06:51] local.INFO: Acknowledgment sent {"connection_id":147437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:07:05] local.INFO: TCP Data received {"connection_id":147438,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:07:05] local.INFO: Processing buffer {"connection_id":147438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:07:05] local.INFO: IMEI packet received {"connection_id":147438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 19:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":147438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:07:10] local.INFO: TCP Data received {"connection_id":147438,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:07:10] local.INFO: Processing buffer {"connection_id":147438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:07:10] local.INFO: IMEI packet received {"connection_id":147438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":147438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:07:11] local.INFO: TCP Data received {"connection_id":147438,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd8a14f8012d1d94c0071b2d98003f010024..."} 
[2026-08-01 19:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd8a14f8012d1d94c0071b2d98003f010024..."} 
[2026-08-01 19:07:11] local.INFO: Processing buffer {"connection_id":147438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd8a14f8012d1d94c0071b2d98003f010024..."} 
[2026-08-01 19:07:11] local.INFO: Packet analysis {"connection_id":147438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd8a"} 
[2026-08-01 19:07:11] local.INFO: Extracted packet for processing {"connection_id":147438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd8a"} 
[2026-08-01 19:07:11] local.INFO: GPS Element Parsed {"raw_longitude":756913344,"raw_latitude":119221656,"longitude_deg":75.6913344,"latitude_deg":11.9221656,"altitude":63,"angle":256,"satellites":36,"speed":0,"hex_longitude":"2d1d94c0","hex_latitude":"071b2d98","is_valid_coordinates":true} 
[2026-08-01 19:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111313920001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10331204528111616,"note":"Value kept but may cause issues"} 
[2026-08-01 19:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2131539660406364160,"note":"Value kept but may cause issues"} 
[2026-08-01 19:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785591371000,"timestamp_ms":1785591371000,"timestamp_seconds":1785591371,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd8a14f8"} 
[2026-08-01 19:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:07: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-08-01 19:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 19:07: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-08-01 19:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":147438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":147438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":147438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111313920001,"66":2155,"82":206,"83":41984,"24":0,"16":10331204528111616,"45":2131539660406364160},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-01 19:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111313920001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:07:11] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 19:07:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10331204528111616,"km_value":10331204528111.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2131539660406364160,"description":"Unknown IO ID 45"} 
[2026-08-01 19:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111313920001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2131539660406364160}} 
[2026-08-01 19:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":147438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578800,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:07:11] local.INFO: GPS data processed {"connection_id":147438,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:07:11] local.INFO: Acknowledgment sent {"connection_id":147438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:07:23] local.INFO: TCP Data received {"connection_id":147437,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd86ade0012cd4aa8007377808000c00eb2b..."} 
[2026-08-01 19:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd86ade0012cd4aa8007377808000c00eb2b..."} 
[2026-08-01 19:07:23] local.INFO: Processing buffer {"connection_id":147437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd86ade0012cd4aa8007377808000c00eb2b..."} 
[2026-08-01 19:07:23] local.INFO: Packet analysis {"connection_id":147437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd86"} 
[2026-08-01 19:07:23] local.INFO: Extracted packet for processing {"connection_id":147437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd86"} 
[2026-08-01 19:07:23] local.INFO: GPS Element Parsed {"raw_longitude":752134784,"raw_latitude":121075720,"longitude_deg":75.2134784,"latitude_deg":12.107572,"altitude":12,"angle":235,"satellites":43,"speed":1,"hex_longitude":"2cd4aa80","hex_latitude":"07377808","is_valid_coordinates":true} 
[2026-08-01 19:07: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-08-01 19:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111332864001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366804002513354752,"note":"Value kept but may cause issues"} 
[2026-08-01 19:07:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3122401885655918592,"note":"Value kept but may cause issues"} 
[2026-08-01 19:07:23] 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-08-01 19:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785591148000,"timestamp_ms":1785591148000,"timestamp_seconds":1785591148,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd86ade0"} 
[2026-08-01 19:07:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:07:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 19:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 19:07:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:07:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:07:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":147437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":147437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":147437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:07:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111332864001,"66":27821,"89":206,"83":43264,"24":1,"16":366804002513354752,"44":-3122401885655918592},"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-08-01 19:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111332864001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:07:23] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:07:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366804002513354752,"km_value":366804002513354.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:07:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3122401885655918592,"description":"Unknown IO ID 44"} 
[2026-08-01 19:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111332864001,"power":27821,"unknown_89":206,"unknown_83":43264,"ignition":1,"odometer":null,"unknown_44":-3122401885655918592}} 
[2026-08-01 19:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":147437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:07:23] local.INFO: GPS data processed {"connection_id":147437,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:07:23] local.INFO: Acknowledgment sent {"connection_id":147437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:07:42] local.INFO: TCP Data received {"connection_id":147438,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd8a14f8012d1d94c0071b2d98003f010024..."} 
[2026-08-01 19:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd8a14f8012d1d94c0071b2d98003f010024..."} 
[2026-08-01 19:07:42] local.INFO: Processing buffer {"connection_id":147438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd8a14f8012d1d94c0071b2d98003f010024..."} 
[2026-08-01 19:07:42] local.INFO: Packet analysis {"connection_id":147438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd8a"} 
[2026-08-01 19:07:42] local.INFO: Extracted packet for processing {"connection_id":147438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd8a"} 
[2026-08-01 19:07:42] local.INFO: GPS Element Parsed {"raw_longitude":756913344,"raw_latitude":119221656,"longitude_deg":75.6913344,"latitude_deg":11.9221656,"altitude":63,"angle":256,"satellites":36,"speed":0,"hex_longitude":"2d1d94c0","hex_latitude":"071b2d98","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111313920001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10331204528111616,"note":"Value kept but may cause issues"} 
[2026-08-01 19:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2131539660406364160,"note":"Value kept but may cause issues"} 
[2026-08-01 19:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785591371000,"timestamp_ms":1785591371000,"timestamp_seconds":1785591371,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd8a14f8"} 
[2026-08-01 19:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:07: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-08-01 19: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 19:07: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-08-01 19: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-08-01 19:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":147438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":147438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":147438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:07: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-08-01 19:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111313920001,"66":2155,"82":206,"83":41984,"24":0,"16":10331204528111616,"45":2131539660406364160},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-01 19:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111313920001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:07:42] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 19:07:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10331204528111616,"km_value":10331204528111.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":2131539660406364160,"description":"Unknown IO ID 45"} 
[2026-08-01 19:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111313920001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2131539660406364160}} 
[2026-08-01 19:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":147438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:07:42] local.INFO: GPS data processed {"connection_id":147438,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:07:42] local.INFO: Acknowledgment sent {"connection_id":147438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:07:43] local.INFO: TCP Data received {"connection_id":146443,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:07:43] local.INFO: Processing buffer {"connection_id":146443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:07:43] local.INFO: IMEI packet received {"connection_id":146443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 19:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":146443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:07:48] local.INFO: TCP Data received {"connection_id":146443,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:07:48] local.INFO: Processing buffer {"connection_id":146443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:07:48] local.INFO: IMEI packet received {"connection_id":146443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":146443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:07:49] local.INFO: TCP Data received {"connection_id":146443,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd86ade0012cd4aa8007377808000c00eb2b..."} 
[2026-08-01 19:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd86ade0012cd4aa8007377808000c00eb2b..."} 
[2026-08-01 19:07:49] local.INFO: Processing buffer {"connection_id":146443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd86ade0012cd4aa8007377808000c00eb2b..."} 
[2026-08-01 19:07:49] local.INFO: Packet analysis {"connection_id":146443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd86"} 
[2026-08-01 19:07:49] local.INFO: Extracted packet for processing {"connection_id":146443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd86"} 
[2026-08-01 19:07:49] local.INFO: GPS Element Parsed {"raw_longitude":752134784,"raw_latitude":121075720,"longitude_deg":75.2134784,"latitude_deg":12.107572,"altitude":12,"angle":235,"satellites":43,"speed":1,"hex_longitude":"2cd4aa80","hex_latitude":"07377808","is_valid_coordinates":true} 
[2026-08-01 19:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111332864001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366804002513354752,"note":"Value kept but may cause issues"} 
[2026-08-01 19:07:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3122401885655918592,"note":"Value kept but may cause issues"} 
[2026-08-01 19:07:49] 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-08-01 19:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785591148000,"timestamp_ms":1785591148000,"timestamp_seconds":1785591148,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd86ade0"} 
[2026-08-01 19:07:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:07: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-08-01 19: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 19:07:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:07:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:07:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111332864001,"66":27821,"89":206,"83":43264,"24":1,"16":366804002513354752,"44":-3122401885655918592},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-01 19:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111332864001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:07:49] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:07:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366804002513354752,"km_value":366804002513354.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:07:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3122401885655918592,"description":"Unknown IO ID 44"} 
[2026-08-01 19:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111332864001,"power":27821,"unknown_89":206,"unknown_83":43264,"ignition":1,"odometer":null,"unknown_44":-3122401885655918592}} 
[2026-08-01 19:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":146443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:07:49] local.INFO: GPS data processed {"connection_id":146443,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:07:49] local.INFO: Acknowledgment sent {"connection_id":146443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:08:00] local.INFO: TCP Data received {"connection_id":148741,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:08:00] local.INFO: Processing buffer {"connection_id":148741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:08:00] local.INFO: IMEI packet received {"connection_id":148741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 19:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":148741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:08:06] local.INFO: TCP Data received {"connection_id":148741,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:08:06] local.INFO: Processing buffer {"connection_id":148741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:08:06] local.INFO: IMEI packet received {"connection_id":148741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":148741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:08:07] local.INFO: TCP Data received {"connection_id":148741,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd8a14f8012d1d94c0071b2d98003f010024..."} 
[2026-08-01 19:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd8a14f8012d1d94c0071b2d98003f010024..."} 
[2026-08-01 19:08:07] local.INFO: Processing buffer {"connection_id":148741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd8a14f8012d1d94c0071b2d98003f010024..."} 
[2026-08-01 19:08:07] local.INFO: Packet analysis {"connection_id":148741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd8a"} 
[2026-08-01 19:08:07] local.INFO: Extracted packet for processing {"connection_id":148741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd8a"} 
[2026-08-01 19:08:07] local.INFO: GPS Element Parsed {"raw_longitude":756913344,"raw_latitude":119221656,"longitude_deg":75.6913344,"latitude_deg":11.9221656,"altitude":63,"angle":256,"satellites":36,"speed":0,"hex_longitude":"2d1d94c0","hex_latitude":"071b2d98","is_valid_coordinates":true} 
[2026-08-01 19:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111313920001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10331204528111616,"note":"Value kept but may cause issues"} 
[2026-08-01 19:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2131539660406364160,"note":"Value kept but may cause issues"} 
[2026-08-01 19:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785591371000,"timestamp_ms":1785591371000,"timestamp_seconds":1785591371,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd8a14f8"} 
[2026-08-01 19:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 19:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":148741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":148741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":148741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111313920001,"66":2155,"82":206,"83":41984,"24":0,"16":10331204528111616,"45":2131539660406364160},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-01 19:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111313920001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:08:07] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 19:08:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10331204528111616,"km_value":10331204528111.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2131539660406364160,"description":"Unknown IO ID 45"} 
[2026-08-01 19:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111313920001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2131539660406364160}} 
[2026-08-01 19:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":148741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578804,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:08:07] local.INFO: GPS data processed {"connection_id":148741,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:08:07] local.INFO: Acknowledgment sent {"connection_id":148741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:08:20] local.INFO: TCP Data received {"connection_id":146443,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd8b4d78012cd4a8c0073777c0000c00eb2b..."} 
[2026-08-01 19:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd8b4d78012cd4a8c0073777c0000c00eb2b..."} 
[2026-08-01 19:08:20] local.INFO: Processing buffer {"connection_id":146443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd8b4d78012cd4a8c0073777c0000c00eb2b..."} 
[2026-08-01 19:08:20] local.INFO: Packet analysis {"connection_id":146443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd8b"} 
[2026-08-01 19:08:20] local.INFO: Extracted packet for processing {"connection_id":146443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd8b"} 
[2026-08-01 19:08:20] local.INFO: GPS Element Parsed {"raw_longitude":752134336,"raw_latitude":121075648,"longitude_deg":75.2134336,"latitude_deg":12.1075648,"altitude":12,"angle":235,"satellites":43,"speed":0,"hex_longitude":"2cd4a8c0","hex_latitude":"073777c0","is_valid_coordinates":true} 
[2026-08-01 19:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111333888001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366804002513354752,"note":"Value kept but may cause issues"} 
[2026-08-01 19:08:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3122542623144278016,"note":"Value kept but may cause issues"} 
[2026-08-01 19:08:20] 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-08-01 19:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785591451000,"timestamp_ms":1785591451000,"timestamp_seconds":1785591451,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd8b4d78"} 
[2026-08-01 19:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:08:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 19:08:20] 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-08-01 19:08:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:08:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111333888001,"66":26430,"89":206,"83":43264,"24":0,"16":366804002513354752,"44":-3122542623144278016},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-01 19:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111333888001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:08:20] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:08:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366804002513354752,"km_value":366804002513354.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:08:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3122542623144278016,"description":"Unknown IO ID 44"} 
[2026-08-01 19:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111333888001,"power":26430,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3122542623144278016}} 
[2026-08-01 19:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":146443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:08:20] local.INFO: GPS data processed {"connection_id":146443,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:08:20] local.INFO: Acknowledgment sent {"connection_id":146443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:08:39] local.INFO: TCP Data received {"connection_id":148741,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd8a14f8012d1d94c0071b2d98003f010024..."} 
[2026-08-01 19:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd8a14f8012d1d94c0071b2d98003f010024..."} 
[2026-08-01 19:08:39] local.INFO: Processing buffer {"connection_id":148741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd8a14f8012d1d94c0071b2d98003f010024..."} 
[2026-08-01 19:08:39] local.INFO: Packet analysis {"connection_id":148741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd8a"} 
[2026-08-01 19:08:39] local.INFO: Extracted packet for processing {"connection_id":148741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd8a"} 
[2026-08-01 19:08:39] local.INFO: GPS Element Parsed {"raw_longitude":756913344,"raw_latitude":119221656,"longitude_deg":75.6913344,"latitude_deg":11.9221656,"altitude":63,"angle":256,"satellites":36,"speed":0,"hex_longitude":"2d1d94c0","hex_latitude":"071b2d98","is_valid_coordinates":true} 
[2026-08-01 19:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111313920001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10331204528111616,"note":"Value kept but may cause issues"} 
[2026-08-01 19:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2131539660406364160,"note":"Value kept but may cause issues"} 
[2026-08-01 19:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785591371000,"timestamp_ms":1785591371000,"timestamp_seconds":1785591371,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd8a14f8"} 
[2026-08-01 19:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:08:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 19:08:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:08:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":148741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":148741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":148741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:08:39] 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-08-01 19:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111313920001,"66":2155,"82":206,"83":41984,"24":0,"16":10331204528111616,"45":2131539660406364160},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-01 19:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111313920001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:08:39] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 19:08:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10331204528111616,"km_value":10331204528111.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":2131539660406364160,"description":"Unknown IO ID 45"} 
[2026-08-01 19:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111313920001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2131539660406364160}} 
[2026-08-01 19:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":148741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:08:39] local.INFO: GPS data processed {"connection_id":148741,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:08:39] local.INFO: Acknowledgment sent {"connection_id":148741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:08:43] local.INFO: TCP Data received {"connection_id":146444,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:08:43] local.INFO: Processing buffer {"connection_id":146444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:08:43] local.INFO: IMEI packet received {"connection_id":146444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 19:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":146444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:08:48] local.INFO: TCP Data received {"connection_id":146444,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:08:48] local.INFO: Processing buffer {"connection_id":146444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:08:48] local.INFO: IMEI packet received {"connection_id":146444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":146444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:08:49] local.INFO: TCP Data received {"connection_id":146444,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd8b4d78012cd4a8c0073777c0000c00eb2b..."} 
[2026-08-01 19:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd8b4d78012cd4a8c0073777c0000c00eb2b..."} 
[2026-08-01 19:08:49] local.INFO: Processing buffer {"connection_id":146444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd8b4d78012cd4a8c0073777c0000c00eb2b..."} 
[2026-08-01 19:08:49] local.INFO: Packet analysis {"connection_id":146444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd8b"} 
[2026-08-01 19:08:49] local.INFO: Extracted packet for processing {"connection_id":146444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd8b"} 
[2026-08-01 19:08:49] local.INFO: GPS Element Parsed {"raw_longitude":752134336,"raw_latitude":121075648,"longitude_deg":75.2134336,"latitude_deg":12.1075648,"altitude":12,"angle":235,"satellites":43,"speed":0,"hex_longitude":"2cd4a8c0","hex_latitude":"073777c0","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111333888001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366804002513354752,"note":"Value kept but may cause issues"} 
[2026-08-01 19:08:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3122542623144278016,"note":"Value kept but may cause issues"} 
[2026-08-01 19:08:49] 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-08-01 19:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785591451000,"timestamp_ms":1785591451000,"timestamp_seconds":1785591451,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd8b4d78"} 
[2026-08-01 19:08:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:08:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 19:08:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:08:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:08:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111333888001,"66":26430,"89":206,"83":43264,"24":0,"16":366804002513354752,"44":-3122542623144278016},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-01 19:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111333888001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:08:49] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:08:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366804002513354752,"km_value":366804002513354.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:08:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3122542623144278016,"description":"Unknown IO ID 44"} 
[2026-08-01 19:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111333888001,"power":26430,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3122542623144278016}} 
[2026-08-01 19:08:50] local.INFO: DEBUG: GPS processor result {"connection_id":146444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:08:50] local.INFO: GPS data processed {"connection_id":146444,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:08:50] local.INFO: Acknowledgment sent {"connection_id":146444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:09:00] local.INFO: TCP Data received {"connection_id":148742,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:09:00] local.INFO: Processing buffer {"connection_id":148742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:09:00] local.INFO: IMEI packet received {"connection_id":148742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 19:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":148742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:09:05] local.INFO: TCP Data received {"connection_id":148742,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:09:05] local.INFO: Processing buffer {"connection_id":148742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:09:05] local.INFO: IMEI packet received {"connection_id":148742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":148742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:09:06] local.INFO: TCP Data received {"connection_id":148742,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd8a14f8012d1d94c0071b2d98003f010024..."} 
[2026-08-01 19:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd8a14f8012d1d94c0071b2d98003f010024..."} 
[2026-08-01 19:09:06] local.INFO: Processing buffer {"connection_id":148742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd8a14f8012d1d94c0071b2d98003f010024..."} 
[2026-08-01 19:09:06] local.INFO: Packet analysis {"connection_id":148742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd8a"} 
[2026-08-01 19:09:06] local.INFO: Extracted packet for processing {"connection_id":148742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd8a"} 
[2026-08-01 19:09:06] local.INFO: GPS Element Parsed {"raw_longitude":756913344,"raw_latitude":119221656,"longitude_deg":75.6913344,"latitude_deg":11.9221656,"altitude":63,"angle":256,"satellites":36,"speed":0,"hex_longitude":"2d1d94c0","hex_latitude":"071b2d98","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111313920001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10331204528111616,"note":"Value kept but may cause issues"} 
[2026-08-01 19:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2131539660406364160,"note":"Value kept but may cause issues"} 
[2026-08-01 19:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785591371000,"timestamp_ms":1785591371000,"timestamp_seconds":1785591371,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd8a14f8"} 
[2026-08-01 19:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 19:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:09:06] 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-08-01 19:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111313920001,"66":2155,"82":206,"83":41984,"24":0,"16":10331204528111616,"45":2131539660406364160},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-01 19:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111313920001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:09:06] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 19:09:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10331204528111616,"km_value":10331204528111.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2131539660406364160,"description":"Unknown IO ID 45"} 
[2026-08-01 19:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111313920001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2131539660406364160}} 
[2026-08-01 19:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":148742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578808,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:09:06] local.INFO: GPS data processed {"connection_id":148742,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:09:06] local.INFO: Acknowledgment sent {"connection_id":148742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:09:21] local.INFO: TCP Data received {"connection_id":146444,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd8b4d78012cd4a8c0073777c0000c00eb2b..."} 
[2026-08-01 19:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd8b4d78012cd4a8c0073777c0000c00eb2b..."} 
[2026-08-01 19:09:21] local.INFO: Processing buffer {"connection_id":146444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd8b4d78012cd4a8c0073777c0000c00eb2b..."} 
[2026-08-01 19:09:21] local.INFO: Packet analysis {"connection_id":146444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd8b"} 
[2026-08-01 19:09:21] local.INFO: Extracted packet for processing {"connection_id":146444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd8b"} 
[2026-08-01 19:09:21] local.INFO: GPS Element Parsed {"raw_longitude":752134336,"raw_latitude":121075648,"longitude_deg":75.2134336,"latitude_deg":12.1075648,"altitude":12,"angle":235,"satellites":43,"speed":0,"hex_longitude":"2cd4a8c0","hex_latitude":"073777c0","is_valid_coordinates":true} 
[2026-08-01 19:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111333888001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366804002513354752,"note":"Value kept but may cause issues"} 
[2026-08-01 19:09:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3122542623144278016,"note":"Value kept but may cause issues"} 
[2026-08-01 19:09:21] 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-08-01 19:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785591451000,"timestamp_ms":1785591451000,"timestamp_seconds":1785591451,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd8b4d78"} 
[2026-08-01 19:09:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:09:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 19:09:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:09:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:09:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:09:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111333888001,"66":26430,"89":206,"83":43264,"24":0,"16":366804002513354752,"44":-3122542623144278016},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-01 19:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111333888001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:09:21] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:09:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366804002513354752,"km_value":366804002513354.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:09:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3122542623144278016,"description":"Unknown IO ID 44"} 
[2026-08-01 19:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111333888001,"power":26430,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3122542623144278016}} 
[2026-08-01 19:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":146444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:09:21] local.INFO: GPS data processed {"connection_id":146444,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:09:21] local.INFO: Acknowledgment sent {"connection_id":146444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:09:39] local.INFO: TCP Data received {"connection_id":148742,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd8c91b0012d1d94c0071b2d98003f010023..."} 
[2026-08-01 19:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd8c91b0012d1d94c0071b2d98003f010023..."} 
[2026-08-01 19:09:39] local.INFO: Processing buffer {"connection_id":148742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd8c91b0012d1d94c0071b2d98003f010023..."} 
[2026-08-01 19:09:39] local.INFO: Packet analysis {"connection_id":148742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd8c"} 
[2026-08-01 19:09:39] local.INFO: Extracted packet for processing {"connection_id":148742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd8c"} 
[2026-08-01 19:09:39] local.INFO: GPS Element Parsed {"raw_longitude":756913344,"raw_latitude":119221656,"longitude_deg":75.6913344,"latitude_deg":11.9221656,"altitude":63,"angle":256,"satellites":35,"speed":0,"hex_longitude":"2d1d94c0","hex_latitude":"071b2d98","is_valid_coordinates":true} 
[2026-08-01 19:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111390976001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10331204528111616,"note":"Value kept but may cause issues"} 
[2026-08-01 19:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2131539660406364160,"note":"Value kept but may cause issues"} 
[2026-08-01 19:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785591534000,"timestamp_ms":1785591534000,"timestamp_seconds":1785591534,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd8c91b0"} 
[2026-08-01 19:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:09:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 19:09:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:09:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":148742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":148742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":148742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:09:39] 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-08-01 19:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111390976001,"66":2166,"82":206,"83":41984,"24":0,"16":10331204528111616,"45":2131539660406364160},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-01 19:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111390976001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:09:39] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 19:09:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10331204528111616,"km_value":10331204528111.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":2131539660406364160,"description":"Unknown IO ID 45"} 
[2026-08-01 19:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111390976001,"power":2166,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2131539660406364160}} 
[2026-08-01 19:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":148742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578810,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:09:39] local.INFO: GPS data processed {"connection_id":148742,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:09:39] local.INFO: Acknowledgment sent {"connection_id":148742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:09:43] local.INFO: TCP Data received {"connection_id":148743,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:09:43] local.INFO: Processing buffer {"connection_id":148743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:09:43] local.INFO: IMEI packet received {"connection_id":148743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 19:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":148743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:09:48] local.INFO: TCP Data received {"connection_id":148743,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:09:48] local.INFO: Processing buffer {"connection_id":148743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:09:48] local.INFO: IMEI packet received {"connection_id":148743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":148743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:09:49] local.INFO: TCP Data received {"connection_id":148743,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd8b4d78012cd4a8c0073777c0000c00eb2b..."} 
[2026-08-01 19:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd8b4d78012cd4a8c0073777c0000c00eb2b..."} 
[2026-08-01 19:09:49] local.INFO: Processing buffer {"connection_id":148743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd8b4d78012cd4a8c0073777c0000c00eb2b..."} 
[2026-08-01 19:09:49] local.INFO: Packet analysis {"connection_id":148743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd8b"} 
[2026-08-01 19:09:49] local.INFO: Extracted packet for processing {"connection_id":148743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd8b"} 
[2026-08-01 19:09:49] local.INFO: GPS Element Parsed {"raw_longitude":752134336,"raw_latitude":121075648,"longitude_deg":75.2134336,"latitude_deg":12.1075648,"altitude":12,"angle":235,"satellites":43,"speed":0,"hex_longitude":"2cd4a8c0","hex_latitude":"073777c0","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111333888001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366804002513354752,"note":"Value kept but may cause issues"} 
[2026-08-01 19:09:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3122542623144278016,"note":"Value kept but may cause issues"} 
[2026-08-01 19:09:49] 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-08-01 19:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785591451000,"timestamp_ms":1785591451000,"timestamp_seconds":1785591451,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd8b4d78"} 
[2026-08-01 19:09:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:09:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 19:09:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:09:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:09:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111333888001,"66":26430,"89":206,"83":43264,"24":0,"16":366804002513354752,"44":-3122542623144278016},"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-08-01 19:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111333888001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:09:49] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:09:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366804002513354752,"km_value":366804002513354.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:09:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3122542623144278016,"description":"Unknown IO ID 44"} 
[2026-08-01 19:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111333888001,"power":26430,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3122542623144278016}} 
[2026-08-01 19:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":148743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:09:49] local.INFO: GPS data processed {"connection_id":148743,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:09:49] local.INFO: Acknowledgment sent {"connection_id":148743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:09:57] local.INFO: TCP Data received {"connection_id":147439,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147439,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:09:57] local.INFO: Processing buffer {"connection_id":147439,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:09:57] local.INFO: IMEI packet received {"connection_id":147439,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 19:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":147439,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:10:00] local.INFO: TCP Data received {"connection_id":147439,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147439,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:10:00] local.INFO: Processing buffer {"connection_id":147439,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:10:00] local.INFO: IMEI packet received {"connection_id":147439,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":147439,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:10:05] local.INFO: TCP Data received {"connection_id":147439,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147439,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:10:05] local.INFO: Processing buffer {"connection_id":147439,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:10:05] local.INFO: IMEI packet received {"connection_id":147439,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":147439,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:10:06] local.INFO: TCP Data received {"connection_id":147439,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd8c91b0012d1d94c0071b2d98003f010023..."} 
[2026-08-01 19:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd8c91b0012d1d94c0071b2d98003f010023..."} 
[2026-08-01 19:10:06] local.INFO: Processing buffer {"connection_id":147439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd8c91b0012d1d94c0071b2d98003f010023..."} 
[2026-08-01 19:10:06] local.INFO: Packet analysis {"connection_id":147439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd8c"} 
[2026-08-01 19:10:06] local.INFO: Extracted packet for processing {"connection_id":147439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd8c"} 
[2026-08-01 19:10:06] local.INFO: GPS Element Parsed {"raw_longitude":756913344,"raw_latitude":119221656,"longitude_deg":75.6913344,"latitude_deg":11.9221656,"altitude":63,"angle":256,"satellites":35,"speed":0,"hex_longitude":"2d1d94c0","hex_latitude":"071b2d98","is_valid_coordinates":true} 
[2026-08-01 19:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111432704001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10331204528111616,"note":"Value kept but may cause issues"} 
[2026-08-01 19:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2131539660406364160,"note":"Value kept but may cause issues"} 
[2026-08-01 19:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785591534000,"timestamp_ms":1785591534000,"timestamp_seconds":1785591534,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd8c91b0"} 
[2026-08-01 19:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 19:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 19:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":147439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":147439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":147439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:10:06] 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-08-01 19:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111432704001,"66":2166,"82":206,"83":41984,"24":0,"16":10331204528111616,"45":2131539660406364160},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-01 19:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111432704001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:10:06] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 19:10:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10331204528111616,"km_value":10331204528111.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2131539660406364160,"description":"Unknown IO ID 45"} 
[2026-08-01 19:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111432704001,"power":2166,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2131539660406364160}} 
[2026-08-01 19:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":147439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:10:06] local.INFO: GPS data processed {"connection_id":147439,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:10:06] local.INFO: Acknowledgment sent {"connection_id":147439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:10:21] local.INFO: TCP Data received {"connection_id":148743,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd8b4d78012cd4a8c0073777c0000c00eb2b..."} 
[2026-08-01 19:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd8b4d78012cd4a8c0073777c0000c00eb2b..."} 
[2026-08-01 19:10:21] local.INFO: Processing buffer {"connection_id":148743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd8b4d78012cd4a8c0073777c0000c00eb2b..."} 
[2026-08-01 19:10:21] local.INFO: Packet analysis {"connection_id":148743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd8b"} 
[2026-08-01 19:10:21] local.INFO: Extracted packet for processing {"connection_id":148743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd8b"} 
[2026-08-01 19:10:21] local.INFO: GPS Element Parsed {"raw_longitude":752134336,"raw_latitude":121075648,"longitude_deg":75.2134336,"latitude_deg":12.1075648,"altitude":12,"angle":235,"satellites":43,"speed":0,"hex_longitude":"2cd4a8c0","hex_latitude":"073777c0","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111333888001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366804002513354752,"note":"Value kept but may cause issues"} 
[2026-08-01 19:10:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3122542623144278016,"note":"Value kept but may cause issues"} 
[2026-08-01 19:10:21] 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-08-01 19:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785591451000,"timestamp_ms":1785591451000,"timestamp_seconds":1785591451,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd8b4d78"} 
[2026-08-01 19:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:10:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 19:10:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:10:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111333888001,"66":26430,"89":206,"83":43264,"24":0,"16":366804002513354752,"44":-3122542623144278016},"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-08-01 19:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111333888001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:10:21] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:10:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366804002513354752,"km_value":366804002513354.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:10:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3122542623144278016,"description":"Unknown IO ID 44"} 
[2026-08-01 19:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111333888001,"power":26430,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3122542623144278016}} 
[2026-08-01 19:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":148743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:10:21] local.INFO: GPS data processed {"connection_id":148743,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:10:21] local.INFO: Acknowledgment sent {"connection_id":148743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:10:37] local.INFO: TCP Data received {"connection_id":147439,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd8c91b0012d1d94c0071b2d98003f010023..."} 
[2026-08-01 19:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd8c91b0012d1d94c0071b2d98003f010023..."} 
[2026-08-01 19:10:37] local.INFO: Processing buffer {"connection_id":147439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd8c91b0012d1d94c0071b2d98003f010023..."} 
[2026-08-01 19:10:37] local.INFO: Packet analysis {"connection_id":147439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd8c"} 
[2026-08-01 19:10:37] local.INFO: Extracted packet for processing {"connection_id":147439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd8c"} 
[2026-08-01 19:10:37] local.INFO: GPS Element Parsed {"raw_longitude":756913344,"raw_latitude":119221656,"longitude_deg":75.6913344,"latitude_deg":11.9221656,"altitude":63,"angle":256,"satellites":35,"speed":0,"hex_longitude":"2d1d94c0","hex_latitude":"071b2d98","is_valid_coordinates":true} 
[2026-08-01 19:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111432704001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10331204528111616,"note":"Value kept but may cause issues"} 
[2026-08-01 19:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2131539660406364160,"note":"Value kept but may cause issues"} 
[2026-08-01 19:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785591534000,"timestamp_ms":1785591534000,"timestamp_seconds":1785591534,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd8c91b0"} 
[2026-08-01 19:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 19:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 19:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:10:37] 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-08-01 19:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111432704001,"66":2166,"82":206,"83":41984,"24":0,"16":10331204528111616,"45":2131539660406364160},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-01 19:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111432704001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:10:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 19:10:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10331204528111616,"km_value":10331204528111.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":2131539660406364160,"description":"Unknown IO ID 45"} 
[2026-08-01 19:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111432704001,"power":2166,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2131539660406364160}} 
[2026-08-01 19:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":147439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:10:37] local.INFO: GPS data processed {"connection_id":147439,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:10:37] local.INFO: Acknowledgment sent {"connection_id":147439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:10:43] local.INFO: TCP Data received {"connection_id":146445,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:10:43] local.INFO: Processing buffer {"connection_id":146445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:10:43] local.INFO: IMEI packet received {"connection_id":146445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 19:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":146445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:10:48] local.INFO: TCP Data received {"connection_id":146445,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:10:48] local.INFO: Processing buffer {"connection_id":146445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:10:48] local.INFO: IMEI packet received {"connection_id":146445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":146445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:10:49] local.INFO: TCP Data received {"connection_id":146445,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd8b4d78012cd4a8c0073777c0000c00eb2b..."} 
[2026-08-01 19:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd8b4d78012cd4a8c0073777c0000c00eb2b..."} 
[2026-08-01 19:10:49] local.INFO: Processing buffer {"connection_id":146445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd8b4d78012cd4a8c0073777c0000c00eb2b..."} 
[2026-08-01 19:10:49] local.INFO: Packet analysis {"connection_id":146445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd8b"} 
[2026-08-01 19:10:49] local.INFO: Extracted packet for processing {"connection_id":146445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd8b"} 
[2026-08-01 19:10:49] local.INFO: GPS Element Parsed {"raw_longitude":752134336,"raw_latitude":121075648,"longitude_deg":75.2134336,"latitude_deg":12.1075648,"altitude":12,"angle":235,"satellites":43,"speed":0,"hex_longitude":"2cd4a8c0","hex_latitude":"073777c0","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111333888001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366804002513354752,"note":"Value kept but may cause issues"} 
[2026-08-01 19:10:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3122542623144278016,"note":"Value kept but may cause issues"} 
[2026-08-01 19:10:49] 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-08-01 19:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785591451000,"timestamp_ms":1785591451000,"timestamp_seconds":1785591451,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd8b4d78"} 
[2026-08-01 19:10:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:10:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 19:10:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:10:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:10: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-08-01 19:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111333888001,"66":26430,"89":206,"83":43264,"24":0,"16":366804002513354752,"44":-3122542623144278016},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-01 19:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111333888001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:10:49] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:10:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366804002513354752,"km_value":366804002513354.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:10:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3122542623144278016,"description":"Unknown IO ID 44"} 
[2026-08-01 19:10:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111333888001,"power":26430,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3122542623144278016}} 
[2026-08-01 19:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":146445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:10:49] local.INFO: GPS data processed {"connection_id":146445,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:10:49] local.INFO: Acknowledgment sent {"connection_id":146445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:11:00] local.INFO: TCP Data received {"connection_id":146206,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146206,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:11:00] local.INFO: Processing buffer {"connection_id":146206,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:11:00] local.INFO: IMEI packet received {"connection_id":146206,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 19:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":146206,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:11:00] local.INFO: TCP Data received {"connection_id":146206,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146206,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:11:00] local.INFO: Processing buffer {"connection_id":146206,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:11:00] local.INFO: IMEI packet received {"connection_id":146206,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":146206,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:11:04] local.INFO: TCP Data received {"connection_id":146206,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146206,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:11:04] local.INFO: Processing buffer {"connection_id":146206,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:11:04] local.INFO: IMEI packet received {"connection_id":146206,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":146206,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:11:05] local.INFO: TCP Data received {"connection_id":146206,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd8ca150012d1d9300071b2d48003f00c224..."} 
[2026-08-01 19:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd8ca150012d1d9300071b2d48003f00c224..."} 
[2026-08-01 19:11:05] local.INFO: Processing buffer {"connection_id":146206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd8ca150012d1d9300071b2d48003f00c224..."} 
[2026-08-01 19:11:05] local.INFO: Packet analysis {"connection_id":146206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd8c"} 
[2026-08-01 19:11:05] local.INFO: Extracted packet for processing {"connection_id":146206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd8c"} 
[2026-08-01 19:11:05] local.INFO: GPS Element Parsed {"raw_longitude":756912896,"raw_latitude":119221576,"longitude_deg":75.6912896,"latitude_deg":11.9221576,"altitude":63,"angle":194,"satellites":36,"speed":0,"hex_longitude":"2d1d9300","hex_latitude":"071b2d48","is_valid_coordinates":true} 
[2026-08-01 19:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111432704001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10331204528111616,"note":"Value kept but may cause issues"} 
[2026-08-01 19:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2131539660406364160,"note":"Value kept but may cause issues"} 
[2026-08-01 19:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785591538000,"timestamp_ms":1785591538000,"timestamp_seconds":1785591538,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd8ca150"} 
[2026-08-01 19:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:11: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-08-01 19:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 19:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:11:05] 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-08-01 19:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111432704001,"66":11406,"82":206,"83":41984,"24":0,"16":10331204528111616,"45":2131539660406364160},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-01 19:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111432704001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:11:05] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 19:11:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10331204528111616,"km_value":10331204528111.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2131539660406364160,"description":"Unknown IO ID 45"} 
[2026-08-01 19:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111432704001,"power":11406,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2131539660406364160}} 
[2026-08-01 19:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":146206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:11:05] local.INFO: GPS data processed {"connection_id":146206,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:11:05] local.INFO: Acknowledgment sent {"connection_id":146206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:11:21] local.INFO: TCP Data received {"connection_id":146445,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd8b4d78012cd4a8c0073777c0000c00eb2b..."} 
[2026-08-01 19:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd8b4d78012cd4a8c0073777c0000c00eb2b..."} 
[2026-08-01 19:11:21] local.INFO: Processing buffer {"connection_id":146445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd8b4d78012cd4a8c0073777c0000c00eb2b..."} 
[2026-08-01 19:11:21] local.INFO: Packet analysis {"connection_id":146445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd8b"} 
[2026-08-01 19:11:21] local.INFO: Extracted packet for processing {"connection_id":146445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd8b"} 
[2026-08-01 19:11:21] local.INFO: GPS Element Parsed {"raw_longitude":752134336,"raw_latitude":121075648,"longitude_deg":75.2134336,"latitude_deg":12.1075648,"altitude":12,"angle":235,"satellites":43,"speed":0,"hex_longitude":"2cd4a8c0","hex_latitude":"073777c0","is_valid_coordinates":true} 
[2026-08-01 19:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111333888001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366804002513354752,"note":"Value kept but may cause issues"} 
[2026-08-01 19:11:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3122542623144278016,"note":"Value kept but may cause issues"} 
[2026-08-01 19:11:21] 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-08-01 19:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785591451000,"timestamp_ms":1785591451000,"timestamp_seconds":1785591451,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd8b4d78"} 
[2026-08-01 19:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:11:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 19:11:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:11:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:11:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111333888001,"66":26430,"89":206,"83":43264,"24":0,"16":366804002513354752,"44":-3122542623144278016},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-01 19:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111333888001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:11:21] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:11:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366804002513354752,"km_value":366804002513354.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:11:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3122542623144278016,"description":"Unknown IO ID 44"} 
[2026-08-01 19:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111333888001,"power":26430,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3122542623144278016}} 
[2026-08-01 19:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":146445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:11:21] local.INFO: GPS data processed {"connection_id":146445,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:11:21] local.INFO: Acknowledgment sent {"connection_id":146445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:11:37] local.INFO: TCP Data received {"connection_id":146206,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd8e2020012d1dab80071b6e600032002f28..."} 
[2026-08-01 19:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd8e2020012d1dab80071b6e600032002f28..."} 
[2026-08-01 19:11:37] local.INFO: Processing buffer {"connection_id":146206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd8e2020012d1dab80071b6e600032002f28..."} 
[2026-08-01 19:11:37] local.INFO: Packet analysis {"connection_id":146206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd8e"} 
[2026-08-01 19:11:37] local.INFO: Extracted packet for processing {"connection_id":146206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd8e"} 
[2026-08-01 19:11:37] local.INFO: GPS Element Parsed {"raw_longitude":756919168,"raw_latitude":119238240,"longitude_deg":75.6919168,"latitude_deg":11.923824,"altitude":50,"angle":47,"satellites":40,"speed":19,"hex_longitude":"2d1dab80","hex_latitude":"071b6e60","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111458048001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10332110766211072,"note":"Value kept but may cause issues"} 
[2026-08-01 19:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2136958053712001024,"note":"Value kept but may cause issues"} 
[2026-08-01 19:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785591636000,"timestamp_ms":1785591636000,"timestamp_seconds":1785591636,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd8e2020"} 
[2026-08-01 19:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 19: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-01 19:11:37] 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-08-01 19: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-08-01 19:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:11:37] 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-08-01 19:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111458048001,"66":13102,"82":206,"83":41984,"24":19,"16":10332110766211072,"45":2136958053712001024},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-08-01 19:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111458048001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:11:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-01 19:11:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10332110766211072,"km_value":10332110766211.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":2136958053712001024,"description":"Unknown IO ID 45"} 
[2026-08-01 19:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111458048001,"power":13102,"unknown_82":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":2136958053712001024}} 
[2026-08-01 19:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":146206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578818,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:11:37] local.INFO: GPS data processed {"connection_id":146206,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:11:37] local.INFO: Acknowledgment sent {"connection_id":146206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:11:43] local.INFO: TCP Data received {"connection_id":148744,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:11:43] local.INFO: Processing buffer {"connection_id":148744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:11:43] local.INFO: IMEI packet received {"connection_id":148744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 19:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":148744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:11:48] local.INFO: TCP Data received {"connection_id":148744,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:11:48] local.INFO: Processing buffer {"connection_id":148744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:11:48] local.INFO: IMEI packet received {"connection_id":148744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":148744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:11:49] local.INFO: TCP Data received {"connection_id":148744,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd8b4d78012cd4a8c0073777c0000c00eb2b..."} 
[2026-08-01 19:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd8b4d78012cd4a8c0073777c0000c00eb2b..."} 
[2026-08-01 19:11:49] local.INFO: Processing buffer {"connection_id":148744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd8b4d78012cd4a8c0073777c0000c00eb2b..."} 
[2026-08-01 19:11:49] local.INFO: Packet analysis {"connection_id":148744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd8b"} 
[2026-08-01 19:11:49] local.INFO: Extracted packet for processing {"connection_id":148744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd8b"} 
[2026-08-01 19:11:49] local.INFO: GPS Element Parsed {"raw_longitude":752134336,"raw_latitude":121075648,"longitude_deg":75.2134336,"latitude_deg":12.1075648,"altitude":12,"angle":235,"satellites":43,"speed":0,"hex_longitude":"2cd4a8c0","hex_latitude":"073777c0","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111333888001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:11:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366804002513354752,"note":"Value kept but may cause issues"} 
[2026-08-01 19:11:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3122542623144278016,"note":"Value kept but may cause issues"} 
[2026-08-01 19:11:49] 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-08-01 19:11:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785591451000,"timestamp_ms":1785591451000,"timestamp_seconds":1785591451,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd8b4d78"} 
[2026-08-01 19:11:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:11:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 19:11:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:11:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:11:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:11:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:11:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:11:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:11:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:11:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:11:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:11:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111333888001,"66":26430,"89":206,"83":43264,"24":0,"16":366804002513354752,"44":-3122542623144278016},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-01 19:11:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:11:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:11:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111333888001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:11:49] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:11:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:11:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366804002513354752,"km_value":366804002513354.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:11:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3122542623144278016,"description":"Unknown IO ID 44"} 
[2026-08-01 19:11:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111333888001,"power":26430,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3122542623144278016}} 
[2026-08-01 19:11:49] local.INFO: DEBUG: GPS processor result {"connection_id":148744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:11:49] local.INFO: GPS data processed {"connection_id":148744,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:11:49] local.INFO: Acknowledgment sent {"connection_id":148744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:11:57] local.INFO: TCP Data received {"connection_id":147440,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:11:57] local.INFO: Processing buffer {"connection_id":147440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:11:57] local.INFO: IMEI packet received {"connection_id":147440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 19:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":147440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:11:59] local.INFO: TCP Data received {"connection_id":147440,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:11:59] local.INFO: Processing buffer {"connection_id":147440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:11:59] local.INFO: IMEI packet received {"connection_id":147440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":147440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:12:00] local.INFO: TCP Data received {"connection_id":147440,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:12:00] local.INFO: Processing buffer {"connection_id":147440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:12:00] local.INFO: IMEI packet received {"connection_id":147440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":147440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:12:00] local.INFO: TCP Data received {"connection_id":147440,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:12:00] local.INFO: Processing buffer {"connection_id":147440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:12:00] local.INFO: IMEI packet received {"connection_id":147440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":147440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:12:21] local.INFO: TCP Data received {"connection_id":148744,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd8b4d78012cd4a8c0073777c0000c00eb2b..."} 
[2026-08-01 19:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd8b4d78012cd4a8c0073777c0000c00eb2b..."} 
[2026-08-01 19:12:21] local.INFO: Processing buffer {"connection_id":148744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd8b4d78012cd4a8c0073777c0000c00eb2b..."} 
[2026-08-01 19:12:21] local.INFO: Packet analysis {"connection_id":148744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd8b"} 
[2026-08-01 19:12:21] local.INFO: Extracted packet for processing {"connection_id":148744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd8b"} 
[2026-08-01 19:12:21] local.INFO: GPS Element Parsed {"raw_longitude":752134336,"raw_latitude":121075648,"longitude_deg":75.2134336,"latitude_deg":12.1075648,"altitude":12,"angle":235,"satellites":43,"speed":0,"hex_longitude":"2cd4a8c0","hex_latitude":"073777c0","is_valid_coordinates":true} 
[2026-08-01 19:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111333888001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366804002513354752,"note":"Value kept but may cause issues"} 
[2026-08-01 19:12:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3122542623144278016,"note":"Value kept but may cause issues"} 
[2026-08-01 19:12:21] 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-08-01 19:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785591451000,"timestamp_ms":1785591451000,"timestamp_seconds":1785591451,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd8b4d78"} 
[2026-08-01 19:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:12:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 19:12:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:12:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:12:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111333888001,"66":26430,"89":206,"83":43264,"24":0,"16":366804002513354752,"44":-3122542623144278016},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-01 19:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111333888001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:12:21] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:12:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366804002513354752,"km_value":366804002513354.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:12:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3122542623144278016,"description":"Unknown IO ID 44"} 
[2026-08-01 19:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111333888001,"power":26430,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3122542623144278016}} 
[2026-08-01 19:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":148744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:12:21] local.INFO: GPS data processed {"connection_id":148744,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:12:21] local.INFO: Acknowledgment sent {"connection_id":148744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:12:48] local.INFO: TCP Data received {"connection_id":148745,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:12:48] local.INFO: Processing buffer {"connection_id":148745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:12:48] local.INFO: IMEI packet received {"connection_id":148745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 19:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":148745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:12:53] local.INFO: TCP Data received {"connection_id":148745,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:12:53] local.INFO: Processing buffer {"connection_id":148745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:12:53] local.INFO: IMEI packet received {"connection_id":148745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":148745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:12:54] local.INFO: TCP Data received {"connection_id":148745,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd8b4d78012cd4a8c0073777c0000c00eb2b..."} 
[2026-08-01 19:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd8b4d78012cd4a8c0073777c0000c00eb2b..."} 
[2026-08-01 19:12:54] local.INFO: Processing buffer {"connection_id":148745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd8b4d78012cd4a8c0073777c0000c00eb2b..."} 
[2026-08-01 19:12:54] local.INFO: Packet analysis {"connection_id":148745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd8b"} 
[2026-08-01 19:12:54] local.INFO: Extracted packet for processing {"connection_id":148745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd8b"} 
[2026-08-01 19:12:54] local.INFO: GPS Element Parsed {"raw_longitude":752134336,"raw_latitude":121075648,"longitude_deg":75.2134336,"latitude_deg":12.1075648,"altitude":12,"angle":235,"satellites":43,"speed":0,"hex_longitude":"2cd4a8c0","hex_latitude":"073777c0","is_valid_coordinates":true} 
[2026-08-01 19:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:12:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111333888001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:12:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366804002513354752,"note":"Value kept but may cause issues"} 
[2026-08-01 19:12:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3122542623144278016,"note":"Value kept but may cause issues"} 
[2026-08-01 19:12:54] 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-08-01 19:12:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785591451000,"timestamp_ms":1785591451000,"timestamp_seconds":1785591451,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd8b4d78"} 
[2026-08-01 19:12:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:12:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 19:12:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:12:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:12:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:12:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:12:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:12:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:12:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:12:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:12:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:12:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:12:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111333888001,"66":26430,"89":206,"83":43264,"24":0,"16":366804002513354752,"44":-3122542623144278016},"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-08-01 19:12:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:12:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:12:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111333888001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:12:54] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:12:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:12:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366804002513354752,"km_value":366804002513354.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:12:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3122542623144278016,"description":"Unknown IO ID 44"} 
[2026-08-01 19:12:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111333888001,"power":26430,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3122542623144278016}} 
[2026-08-01 19:12:54] local.INFO: DEBUG: GPS processor result {"connection_id":148745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:12:54] local.INFO: GPS data processed {"connection_id":148745,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:12:54] local.INFO: Acknowledgment sent {"connection_id":148745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:12:58] local.INFO: TCP Data received {"connection_id":148745,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd8b4d78012cd4a8c0073777c0000c00eb2b..."} 
[2026-08-01 19:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd8b4d78012cd4a8c0073777c0000c00eb2b..."} 
[2026-08-01 19:12:58] local.INFO: Processing buffer {"connection_id":148745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd8b4d78012cd4a8c0073777c0000c00eb2b..."} 
[2026-08-01 19:12:58] local.INFO: Packet analysis {"connection_id":148745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd8b"} 
[2026-08-01 19:12:58] local.INFO: Extracted packet for processing {"connection_id":148745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd8b"} 
[2026-08-01 19:12:58] local.INFO: GPS Element Parsed {"raw_longitude":752134336,"raw_latitude":121075648,"longitude_deg":75.2134336,"latitude_deg":12.1075648,"altitude":12,"angle":235,"satellites":43,"speed":0,"hex_longitude":"2cd4a8c0","hex_latitude":"073777c0","is_valid_coordinates":true} 
[2026-08-01 19:12: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-08-01 19:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111333888001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366804002513354752,"note":"Value kept but may cause issues"} 
[2026-08-01 19:12:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3122542623144278016,"note":"Value kept but may cause issues"} 
[2026-08-01 19:12:58] 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-08-01 19:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785591451000,"timestamp_ms":1785591451000,"timestamp_seconds":1785591451,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd8b4d78"} 
[2026-08-01 19:12:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:12:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19:12: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-08-01 19:12: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-08-01 19:12: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-08-01 19:12:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":148745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":148745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":148745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:12:58] 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-08-01 19:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:12:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111333888001,"66":26430,"89":206,"83":43264,"24":0,"16":366804002513354752,"44":-3122542623144278016},"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-08-01 19:12:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:12:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:12:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111333888001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:12:58] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:12:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:12:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366804002513354752,"km_value":366804002513354.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:12:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3122542623144278016,"description":"Unknown IO ID 44"} 
[2026-08-01 19:12:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111333888001,"power":26430,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3122542623144278016}} 
[2026-08-01 19:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":148745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:12:58] local.INFO: GPS data processed {"connection_id":148745,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:12:58] local.INFO: Acknowledgment sent {"connection_id":148745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:13:43] local.INFO: TCP Data received {"connection_id":146446,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:13:43] local.INFO: Processing buffer {"connection_id":146446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:13:43] local.INFO: IMEI packet received {"connection_id":146446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 19:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":146446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:13:48] local.INFO: TCP Data received {"connection_id":146446,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:13:48] local.INFO: Processing buffer {"connection_id":146446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:13:48] local.INFO: IMEI packet received {"connection_id":146446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":146446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:13:49] local.INFO: TCP Data received {"connection_id":146446,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd8fe540012cd4a8c0073777c0000c00eb29..."} 
[2026-08-01 19:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd8fe540012cd4a8c0073777c0000c00eb29..."} 
[2026-08-01 19:13:49] local.INFO: Processing buffer {"connection_id":146446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd8fe540012cd4a8c0073777c0000c00eb29..."} 
[2026-08-01 19:13:49] local.INFO: Packet analysis {"connection_id":146446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd8f"} 
[2026-08-01 19:13:49] local.INFO: Extracted packet for processing {"connection_id":146446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd8f"} 
[2026-08-01 19:13:49] local.INFO: GPS Element Parsed {"raw_longitude":752134336,"raw_latitude":121075648,"longitude_deg":75.2134336,"latitude_deg":12.1075648,"altitude":12,"angle":235,"satellites":41,"speed":0,"hex_longitude":"2cd4a8c0","hex_latitude":"073777c0","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:13:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111411456001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:13:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366804002513354752,"note":"Value kept but may cause issues"} 
[2026-08-01 19:13:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3123035204353540096,"note":"Value kept but may cause issues"} 
[2026-08-01 19:13:49] 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-08-01 19:13:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785591752000,"timestamp_ms":1785591752000,"timestamp_seconds":1785591752,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd8fe540"} 
[2026-08-01 19:13:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:13:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-01 19:13:49] 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-08-01 19:13:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:13:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:13:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:13:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:13:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:13:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:13:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:13:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:13:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:13:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111411456001,"66":26147,"89":206,"83":43264,"24":0,"16":366804002513354752,"44":-3123035204353540096},"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-08-01 19:13:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:13:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:13:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111411456001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:13:49] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:13:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:13:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366804002513354752,"km_value":366804002513354.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:13:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3123035204353540096,"description":"Unknown IO ID 44"} 
[2026-08-01 19:13:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111411456001,"power":26147,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3123035204353540096}} 
[2026-08-01 19:13:49] local.INFO: DEBUG: GPS processor result {"connection_id":146446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:13:49] local.INFO: GPS data processed {"connection_id":146446,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:13:49] local.INFO: Acknowledgment sent {"connection_id":146446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:14:20] local.INFO: TCP Data received {"connection_id":146446,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd8fe540012cd4a8c0073777c0000c00eb29..."} 
[2026-08-01 19:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd8fe540012cd4a8c0073777c0000c00eb29..."} 
[2026-08-01 19:14:20] local.INFO: Processing buffer {"connection_id":146446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd8fe540012cd4a8c0073777c0000c00eb29..."} 
[2026-08-01 19:14:20] local.INFO: Packet analysis {"connection_id":146446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd8f"} 
[2026-08-01 19:14:20] local.INFO: Extracted packet for processing {"connection_id":146446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd8f"} 
[2026-08-01 19:14:20] local.INFO: GPS Element Parsed {"raw_longitude":752134336,"raw_latitude":121075648,"longitude_deg":75.2134336,"latitude_deg":12.1075648,"altitude":12,"angle":235,"satellites":41,"speed":0,"hex_longitude":"2cd4a8c0","hex_latitude":"073777c0","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111411456001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366804002513354752,"note":"Value kept but may cause issues"} 
[2026-08-01 19:14:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3123035204353540096,"note":"Value kept but may cause issues"} 
[2026-08-01 19:14:20] 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-08-01 19:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785591752000,"timestamp_ms":1785591752000,"timestamp_seconds":1785591752,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd8fe540"} 
[2026-08-01 19:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:14:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-01 19:14:20] 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-08-01 19: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-08-01 19:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:14:20] 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-08-01 19:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111411456001,"66":26147,"89":206,"83":43264,"24":0,"16":366804002513354752,"44":-3123035204353540096},"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-08-01 19:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111411456001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:14:21] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:14:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366804002513354752,"km_value":366804002513354.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:14:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3123035204353540096,"description":"Unknown IO ID 44"} 
[2026-08-01 19:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111411456001,"power":26147,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3123035204353540096}} 
[2026-08-01 19:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":146446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:14:21] local.INFO: GPS data processed {"connection_id":146446,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:14:21] local.INFO: Acknowledgment sent {"connection_id":146446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:14:43] local.INFO: TCP Data received {"connection_id":148746,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:14:43] local.INFO: Processing buffer {"connection_id":148746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:14:43] local.INFO: IMEI packet received {"connection_id":148746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 19:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":148746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:14:48] local.INFO: TCP Data received {"connection_id":148746,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:14:48] local.INFO: Processing buffer {"connection_id":148746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:14:48] local.INFO: IMEI packet received {"connection_id":148746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":148746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:14:49] local.INFO: TCP Data received {"connection_id":148746,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd8fe540012cd4a8c0073777c0000c00eb29..."} 
[2026-08-01 19:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd8fe540012cd4a8c0073777c0000c00eb29..."} 
[2026-08-01 19:14:49] local.INFO: Processing buffer {"connection_id":148746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd8fe540012cd4a8c0073777c0000c00eb29..."} 
[2026-08-01 19:14:49] local.INFO: Packet analysis {"connection_id":148746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd8f"} 
[2026-08-01 19:14:49] local.INFO: Extracted packet for processing {"connection_id":148746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd8f"} 
[2026-08-01 19:14:49] local.INFO: GPS Element Parsed {"raw_longitude":752134336,"raw_latitude":121075648,"longitude_deg":75.2134336,"latitude_deg":12.1075648,"altitude":12,"angle":235,"satellites":41,"speed":0,"hex_longitude":"2cd4a8c0","hex_latitude":"073777c0","is_valid_coordinates":true} 
[2026-08-01 19:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111411456001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:14:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366804002513354752,"note":"Value kept but may cause issues"} 
[2026-08-01 19:14:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3123035204353540096,"note":"Value kept but may cause issues"} 
[2026-08-01 19:14:49] 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-08-01 19:14:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785591752000,"timestamp_ms":1785591752000,"timestamp_seconds":1785591752,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd8fe540"} 
[2026-08-01 19:14:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:14:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-01 19:14:49] 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-08-01 19:14:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:14:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:14:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:14:49] 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-08-01 19:14:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:14:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:14:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111411456001,"66":26147,"89":206,"83":43264,"24":0,"16":366804002513354752,"44":-3123035204353540096},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-01 19:14:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:14:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:14:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111411456001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:14:49] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:14:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:14:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366804002513354752,"km_value":366804002513354.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:14:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3123035204353540096,"description":"Unknown IO ID 44"} 
[2026-08-01 19:14:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111411456001,"power":26147,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3123035204353540096}} 
[2026-08-01 19:14:49] local.INFO: DEBUG: GPS processor result {"connection_id":148746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:14:49] local.INFO: GPS data processed {"connection_id":148746,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:14:49] local.INFO: Acknowledgment sent {"connection_id":148746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:15:21] local.INFO: TCP Data received {"connection_id":148746,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd8fe540012cd4a8c0073777c0000c00eb29..."} 
[2026-08-01 19:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd8fe540012cd4a8c0073777c0000c00eb29..."} 
[2026-08-01 19:15:21] local.INFO: Processing buffer {"connection_id":148746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd8fe540012cd4a8c0073777c0000c00eb29..."} 
[2026-08-01 19:15:21] local.INFO: Packet analysis {"connection_id":148746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd8f"} 
[2026-08-01 19:15:21] local.INFO: Extracted packet for processing {"connection_id":148746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd8f"} 
[2026-08-01 19:15:21] local.INFO: GPS Element Parsed {"raw_longitude":752134336,"raw_latitude":121075648,"longitude_deg":75.2134336,"latitude_deg":12.1075648,"altitude":12,"angle":235,"satellites":41,"speed":0,"hex_longitude":"2cd4a8c0","hex_latitude":"073777c0","is_valid_coordinates":true} 
[2026-08-01 19:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111411456001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366804002513354752,"note":"Value kept but may cause issues"} 
[2026-08-01 19:15:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3123035204353540096,"note":"Value kept but may cause issues"} 
[2026-08-01 19:15:21] 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-08-01 19:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785591752000,"timestamp_ms":1785591752000,"timestamp_seconds":1785591752,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd8fe540"} 
[2026-08-01 19:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-01 19:15:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1271,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:15:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111411456001,"66":26147,"89":206,"83":43264,"24":0,"16":366804002513354752,"44":-3123035204353540096},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-01 19:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111411456001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:15:21] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:15:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366804002513354752,"km_value":366804002513354.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:15:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3123035204353540096,"description":"Unknown IO ID 44"} 
[2026-08-01 19:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111411456001,"power":26147,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3123035204353540096}} 
[2026-08-01 19:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":148746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:15:21] local.INFO: GPS data processed {"connection_id":148746,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:15:21] local.INFO: Acknowledgment sent {"connection_id":148746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:15:43] local.INFO: TCP Data received {"connection_id":147442,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:15:43] local.INFO: Processing buffer {"connection_id":147442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:15:43] local.INFO: IMEI packet received {"connection_id":147442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 19:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":147442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:15:48] local.INFO: TCP Data received {"connection_id":147442,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:15:48] local.INFO: Processing buffer {"connection_id":147442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:15:48] local.INFO: IMEI packet received {"connection_id":147442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":147442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:15:49] local.INFO: TCP Data received {"connection_id":147442,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd8fe540012cd4a8c0073777c0000c00eb29..."} 
[2026-08-01 19:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd8fe540012cd4a8c0073777c0000c00eb29..."} 
[2026-08-01 19:15:49] local.INFO: Processing buffer {"connection_id":147442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd8fe540012cd4a8c0073777c0000c00eb29..."} 
[2026-08-01 19:15:49] local.INFO: Packet analysis {"connection_id":147442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd8f"} 
[2026-08-01 19:15:49] local.INFO: Extracted packet for processing {"connection_id":147442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd8f"} 
[2026-08-01 19:15:49] local.INFO: GPS Element Parsed {"raw_longitude":752134336,"raw_latitude":121075648,"longitude_deg":75.2134336,"latitude_deg":12.1075648,"altitude":12,"angle":235,"satellites":41,"speed":0,"hex_longitude":"2cd4a8c0","hex_latitude":"073777c0","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111411456001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366804002513354752,"note":"Value kept but may cause issues"} 
[2026-08-01 19:15:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3123035204353540096,"note":"Value kept but may cause issues"} 
[2026-08-01 19:15:49] 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-08-01 19:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785591752000,"timestamp_ms":1785591752000,"timestamp_seconds":1785591752,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd8fe540"} 
[2026-08-01 19:15:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-01 19:15:49] 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-08-01 19:15:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:15:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111411456001,"66":26147,"89":206,"83":43264,"24":0,"16":366804002513354752,"44":-3123035204353540096},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-01 19:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111411456001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:15:49] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:15:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366804002513354752,"km_value":366804002513354.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:15:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3123035204353540096,"description":"Unknown IO ID 44"} 
[2026-08-01 19:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111411456001,"power":26147,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3123035204353540096}} 
[2026-08-01 19:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":147442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:15:49] local.INFO: GPS data processed {"connection_id":147442,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:15:49] local.INFO: Acknowledgment sent {"connection_id":147442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:16:21] local.INFO: TCP Data received {"connection_id":147442,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd8fe540012cd4a8c0073777c0000c00eb29..."} 
[2026-08-01 19:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd8fe540012cd4a8c0073777c0000c00eb29..."} 
[2026-08-01 19:16:21] local.INFO: Processing buffer {"connection_id":147442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd8fe540012cd4a8c0073777c0000c00eb29..."} 
[2026-08-01 19:16:21] local.INFO: Packet analysis {"connection_id":147442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd8f"} 
[2026-08-01 19:16:21] local.INFO: Extracted packet for processing {"connection_id":147442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd8f"} 
[2026-08-01 19:16:21] local.INFO: GPS Element Parsed {"raw_longitude":752134336,"raw_latitude":121075648,"longitude_deg":75.2134336,"latitude_deg":12.1075648,"altitude":12,"angle":235,"satellites":41,"speed":0,"hex_longitude":"2cd4a8c0","hex_latitude":"073777c0","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111411456001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366804002513354752,"note":"Value kept but may cause issues"} 
[2026-08-01 19:16:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3123035204353540096,"note":"Value kept but may cause issues"} 
[2026-08-01 19:16:21] 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-08-01 19:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785591752000,"timestamp_ms":1785591752000,"timestamp_seconds":1785591752,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd8fe540"} 
[2026-08-01 19:16:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:16:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-01 19:16:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1271,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:16:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:16:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111411456001,"66":26147,"89":206,"83":43264,"24":0,"16":366804002513354752,"44":-3123035204353540096},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-01 19:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111411456001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:16:21] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:16:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366804002513354752,"km_value":366804002513354.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:16:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3123035204353540096,"description":"Unknown IO ID 44"} 
[2026-08-01 19:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111411456001,"power":26147,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3123035204353540096}} 
[2026-08-01 19:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":147442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:16:21] local.INFO: GPS data processed {"connection_id":147442,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:16:21] local.INFO: Acknowledgment sent {"connection_id":147442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:16:43] local.INFO: TCP Data received {"connection_id":148748,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:16:43] local.INFO: Processing buffer {"connection_id":148748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:16:43] local.INFO: IMEI packet received {"connection_id":148748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 19:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":148748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:16:48] local.INFO: TCP Data received {"connection_id":148748,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:16:48] local.INFO: Processing buffer {"connection_id":148748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:16:48] local.INFO: IMEI packet received {"connection_id":148748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":148748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:16:49] local.INFO: TCP Data received {"connection_id":148748,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd8fe540012cd4a8c0073777c0000c00eb29..."} 
[2026-08-01 19:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd8fe540012cd4a8c0073777c0000c00eb29..."} 
[2026-08-01 19:16:49] local.INFO: Processing buffer {"connection_id":148748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd8fe540012cd4a8c0073777c0000c00eb29..."} 
[2026-08-01 19:16:49] local.INFO: Packet analysis {"connection_id":148748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd8f"} 
[2026-08-01 19:16:49] local.INFO: Extracted packet for processing {"connection_id":148748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd8f"} 
[2026-08-01 19:16:49] local.INFO: GPS Element Parsed {"raw_longitude":752134336,"raw_latitude":121075648,"longitude_deg":75.2134336,"latitude_deg":12.1075648,"altitude":12,"angle":235,"satellites":41,"speed":0,"hex_longitude":"2cd4a8c0","hex_latitude":"073777c0","is_valid_coordinates":true} 
[2026-08-01 19:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111411456001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366804002513354752,"note":"Value kept but may cause issues"} 
[2026-08-01 19:16:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3123035204353540096,"note":"Value kept but may cause issues"} 
[2026-08-01 19:16:49] 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-08-01 19:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785591752000,"timestamp_ms":1785591752000,"timestamp_seconds":1785591752,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd8fe540"} 
[2026-08-01 19:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:16:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-01 19:16:49] 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-08-01 19:16:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:16:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111411456001,"66":26147,"89":206,"83":43264,"24":0,"16":366804002513354752,"44":-3123035204353540096},"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-08-01 19:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111411456001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:16:49] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:16:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366804002513354752,"km_value":366804002513354.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:16:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3123035204353540096,"description":"Unknown IO ID 44"} 
[2026-08-01 19:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111411456001,"power":26147,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3123035204353540096}} 
[2026-08-01 19:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":148748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:16:49] local.INFO: GPS data processed {"connection_id":148748,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:16:49] local.INFO: Acknowledgment sent {"connection_id":148748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:17:03] local.INFO: TCP Data received {"connection_id":148749,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:17:03] local.INFO: Processing buffer {"connection_id":148749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:17:03] local.INFO: IMEI packet received {"connection_id":148749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 19:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":148749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:17:04] local.INFO: TCP Data received {"connection_id":148749,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:17:04] local.INFO: Processing buffer {"connection_id":148749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:17:04] local.INFO: IMEI packet received {"connection_id":148749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":148749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:17:05] local.INFO: TCP Data received {"connection_id":148749,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd92eab0012d1cfd00071cc7d80026016426..."} 
[2026-08-01 19:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd92eab0012d1cfd00071cc7d80026016426..."} 
[2026-08-01 19:17:05] local.INFO: Processing buffer {"connection_id":148749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd92eab0012d1cfd00071cc7d80026016426..."} 
[2026-08-01 19:17:05] local.INFO: Packet analysis {"connection_id":148749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd92"} 
[2026-08-01 19:17:05] local.INFO: Extracted packet for processing {"connection_id":148749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd92"} 
[2026-08-01 19:17:05] local.INFO: GPS Element Parsed {"raw_longitude":756874496,"raw_latitude":119326680,"longitude_deg":75.6874496,"latitude_deg":11.932668,"altitude":38,"angle":356,"satellites":38,"speed":26,"hex_longitude":"2d1cfd00","hex_latitude":"071cc7d8","is_valid_coordinates":true} 
[2026-08-01 19:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111538432001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10339360671006720,"note":"Value kept but may cause issues"} 
[2026-08-01 19:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2088896201461080064,"note":"Value kept but may cause issues"} 
[2026-08-01 19:17:05] 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-08-01 19:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785591950000,"timestamp_ms":1785591950000,"timestamp_seconds":1785591950,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd92eab0"} 
[2026-08-01 19:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:17: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-08-01 19:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-01 19:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:17:05] 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-08-01 19:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111538432001,"66":13602,"109":206,"83":41984,"24":26,"16":10339360671006720,"45":2088896201461080064},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-08-01 19:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111538432001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:17:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-01 19:17:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10339360671006720,"km_value":10339360671006.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2088896201461080064,"description":"Unknown IO ID 45"} 
[2026-08-01 19:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111538432001,"power":13602,"unknown_109":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":2088896201461080064}} 
[2026-08-01 19:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":148749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578830,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:17:05] local.INFO: GPS data processed {"connection_id":148749,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:17:05] local.INFO: Acknowledgment sent {"connection_id":148749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:17:20] local.INFO: TCP Data received {"connection_id":148748,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd8fe540012cd4a8c0073777c0000c00eb29..."} 
[2026-08-01 19:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd8fe540012cd4a8c0073777c0000c00eb29..."} 
[2026-08-01 19:17:20] local.INFO: Processing buffer {"connection_id":148748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd8fe540012cd4a8c0073777c0000c00eb29..."} 
[2026-08-01 19:17:20] local.INFO: Packet analysis {"connection_id":148748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd8f"} 
[2026-08-01 19:17:20] local.INFO: Extracted packet for processing {"connection_id":148748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd8f"} 
[2026-08-01 19:17:20] local.INFO: GPS Element Parsed {"raw_longitude":752134336,"raw_latitude":121075648,"longitude_deg":75.2134336,"latitude_deg":12.1075648,"altitude":12,"angle":235,"satellites":41,"speed":0,"hex_longitude":"2cd4a8c0","hex_latitude":"073777c0","is_valid_coordinates":true} 
[2026-08-01 19:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111411456001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:17:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366804002513354752,"note":"Value kept but may cause issues"} 
[2026-08-01 19:17:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3123035204353540096,"note":"Value kept but may cause issues"} 
[2026-08-01 19:17:20] 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-08-01 19:17:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785591752000,"timestamp_ms":1785591752000,"timestamp_seconds":1785591752,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd8fe540"} 
[2026-08-01 19:17:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:17:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-01 19:17:20] 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-08-01 19:17:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:17:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:17:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:17:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:17:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:17:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:17:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:17:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:17:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:17:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111411456001,"66":26147,"89":206,"83":43264,"24":0,"16":366804002513354752,"44":-3123035204353540096},"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-08-01 19:17:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111411456001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:17:20] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:17:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366804002513354752,"km_value":366804002513354.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:17:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3123035204353540096,"description":"Unknown IO ID 44"} 
[2026-08-01 19:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111411456001,"power":26147,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3123035204353540096}} 
[2026-08-01 19:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":148748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:17:21] local.INFO: GPS data processed {"connection_id":148748,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:17:21] local.INFO: Acknowledgment sent {"connection_id":148748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:17:36] local.INFO: TCP Data received {"connection_id":148749,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd939a78012d1cf800071d1068001b001425..."} 
[2026-08-01 19:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd939a78012d1cf800071d1068001b001425..."} 
[2026-08-01 19:17:36] local.INFO: Processing buffer {"connection_id":148749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd939a78012d1cf800071d1068001b001425..."} 
[2026-08-01 19:17:36] local.INFO: Packet analysis {"connection_id":148749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd93"} 
[2026-08-01 19:17:36] local.INFO: Extracted packet for processing {"connection_id":148749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd93"} 
[2026-08-01 19:17:36] local.INFO: GPS Element Parsed {"raw_longitude":756873216,"raw_latitude":119345256,"longitude_deg":75.6873216,"latitude_deg":11.9345256,"altitude":27,"angle":20,"satellites":37,"speed":12,"hex_longitude":"2d1cf800","hex_latitude":"071d1068","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111549440001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10340335628582912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2086785139140528128,"note":"Value kept but may cause issues"} 
[2026-08-01 19:17:36] 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-08-01 19:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785591995000,"timestamp_ms":1785591995000,"timestamp_seconds":1785591995,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd939a78"} 
[2026-08-01 19:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 19: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-01 19:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:17:36] 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-08-01 19:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111549440001,"66":13624,"109":206,"83":41984,"24":12,"16":10340335628582912,"45":2086785139140528128},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-08-01 19:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111549440001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:17:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-01 19:17:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10340335628582912,"km_value":10340335628582.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":2086785139140528128,"description":"Unknown IO ID 45"} 
[2026-08-01 19:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111549440001,"power":13624,"unknown_109":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":2086785139140528128}} 
[2026-08-01 19:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":148749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:17:37] local.INFO: GPS data processed {"connection_id":148749,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:17:37] local.INFO: Acknowledgment sent {"connection_id":148749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:17:48] local.INFO: TCP Data received {"connection_id":147443,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:17:48] local.INFO: Processing buffer {"connection_id":147443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:17:48] local.INFO: IMEI packet received {"connection_id":147443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 19:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":147443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:17:53] local.INFO: TCP Data received {"connection_id":147443,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:17:53] local.INFO: Processing buffer {"connection_id":147443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:17:53] local.INFO: IMEI packet received {"connection_id":147443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":147443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:17:54] local.INFO: TCP Data received {"connection_id":147443,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd8fe540012cd4a8c0073777c0000c00eb29..."} 
[2026-08-01 19:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd8fe540012cd4a8c0073777c0000c00eb29..."} 
[2026-08-01 19:17:54] local.INFO: Processing buffer {"connection_id":147443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd8fe540012cd4a8c0073777c0000c00eb29..."} 
[2026-08-01 19:17:54] local.INFO: Packet analysis {"connection_id":147443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd8f"} 
[2026-08-01 19:17:54] local.INFO: Extracted packet for processing {"connection_id":147443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd8f"} 
[2026-08-01 19:17:54] local.INFO: GPS Element Parsed {"raw_longitude":752134336,"raw_latitude":121075648,"longitude_deg":75.2134336,"latitude_deg":12.1075648,"altitude":12,"angle":235,"satellites":41,"speed":0,"hex_longitude":"2cd4a8c0","hex_latitude":"073777c0","is_valid_coordinates":true} 
[2026-08-01 19:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:17:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111411456001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:17:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366804002513354752,"note":"Value kept but may cause issues"} 
[2026-08-01 19:17:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3123035204353540096,"note":"Value kept but may cause issues"} 
[2026-08-01 19:17:54] 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-08-01 19:17:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785591752000,"timestamp_ms":1785591752000,"timestamp_seconds":1785591752,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd8fe540"} 
[2026-08-01 19:17:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:17:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-01 19:17:54] 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-08-01 19:17:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:17:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:17:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:17:54] local.INFO: Teltonika packet parsed successfully {"connection_id":147443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:17:54] local.INFO: Passing IMEI to GPS processor {"connection_id":147443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:17:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":147443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:17:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:17:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:17:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:17:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111411456001,"66":26147,"89":206,"83":43264,"24":0,"16":366804002513354752,"44":-3123035204353540096},"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-08-01 19:17:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:17:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:17:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111411456001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:17:54] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:17:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:17:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366804002513354752,"km_value":366804002513354.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:17:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3123035204353540096,"description":"Unknown IO ID 44"} 
[2026-08-01 19:17:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111411456001,"power":26147,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3123035204353540096}} 
[2026-08-01 19:17:54] local.INFO: DEBUG: GPS processor result {"connection_id":147443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:17:54] local.INFO: GPS data processed {"connection_id":147443,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:17:54] local.INFO: Acknowledgment sent {"connection_id":147443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:17:59] local.INFO: TCP Data received {"connection_id":147443,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd8fe540012cd4a8c0073777c0000c00eb29..."} 
[2026-08-01 19:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd8fe540012cd4a8c0073777c0000c00eb29..."} 
[2026-08-01 19:17:59] local.INFO: Processing buffer {"connection_id":147443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd8fe540012cd4a8c0073777c0000c00eb29..."} 
[2026-08-01 19:17:59] local.INFO: Packet analysis {"connection_id":147443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd8f"} 
[2026-08-01 19:17:59] local.INFO: Extracted packet for processing {"connection_id":147443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd8f"} 
[2026-08-01 19:17:59] local.INFO: GPS Element Parsed {"raw_longitude":752134336,"raw_latitude":121075648,"longitude_deg":75.2134336,"latitude_deg":12.1075648,"altitude":12,"angle":235,"satellites":41,"speed":0,"hex_longitude":"2cd4a8c0","hex_latitude":"073777c0","is_valid_coordinates":true} 
[2026-08-01 19:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111411456001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366804002513354752,"note":"Value kept but may cause issues"} 
[2026-08-01 19:17:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3123035204353540096,"note":"Value kept but may cause issues"} 
[2026-08-01 19:17:59] 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-08-01 19:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785591752000,"timestamp_ms":1785591752000,"timestamp_seconds":1785591752,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd8fe540"} 
[2026-08-01 19:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:17: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-08-01 19:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-01 19:17:59] 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-08-01 19:17:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":147443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":147443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":147443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19: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-08-01 19:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111411456001,"66":26147,"89":206,"83":43264,"24":0,"16":366804002513354752,"44":-3123035204353540096},"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-08-01 19:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111411456001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:17:59] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:17:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366804002513354752,"km_value":366804002513354.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:17:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3123035204353540096,"description":"Unknown IO ID 44"} 
[2026-08-01 19:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111411456001,"power":26147,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3123035204353540096}} 
[2026-08-01 19:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":147443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:17:59] local.INFO: GPS data processed {"connection_id":147443,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:17:59] local.INFO: Acknowledgment sent {"connection_id":147443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:18:00] local.INFO: TCP Data received {"connection_id":146208,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146208,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:18:00] local.INFO: Processing buffer {"connection_id":146208,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:18:00] local.INFO: IMEI packet received {"connection_id":146208,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 19:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":146208,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:18:02] local.INFO: TCP Data received {"connection_id":146208,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146208,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:18:02] local.INFO: Processing buffer {"connection_id":146208,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:18:02] local.INFO: IMEI packet received {"connection_id":146208,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":146208,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:18:05] local.INFO: TCP Data received {"connection_id":146208,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146208,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:18:05] local.INFO: Processing buffer {"connection_id":146208,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:18:05] local.INFO: IMEI packet received {"connection_id":146208,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":146208,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:18:05] local.INFO: TCP Data received {"connection_id":146208,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146208,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:18:05] local.INFO: Processing buffer {"connection_id":146208,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:18:05] local.INFO: IMEI packet received {"connection_id":146208,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":146208,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:18:06] local.INFO: TCP Data received {"connection_id":146208,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd93ae00012d1cf880071d17300018000926..."} 
[2026-08-01 19:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd93ae00012d1cf880071d17300018000926..."} 
[2026-08-01 19:18:06] local.INFO: Processing buffer {"connection_id":146208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd93ae00012d1cf880071d17300018000926..."} 
[2026-08-01 19:18:06] local.INFO: Packet analysis {"connection_id":146208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd93"} 
[2026-08-01 19:18:06] local.INFO: Extracted packet for processing {"connection_id":146208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd93"} 
[2026-08-01 19:18:06] local.INFO: GPS Element Parsed {"raw_longitude":756873344,"raw_latitude":119346992,"longitude_deg":75.6873344,"latitude_deg":11.9346992,"altitude":24,"angle":9,"satellites":38,"speed":11,"hex_longitude":"2d1cf880","hex_latitude":"071d1730","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111550720001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10340421527928832,"note":"Value kept but may cause issues"} 
[2026-08-01 19:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2087418457838610432,"note":"Value kept but may cause issues"} 
[2026-08-01 19:18:06] 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-08-01 19:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785592000000,"timestamp_ms":1785592000000,"timestamp_seconds":1785592000,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd93ae00"} 
[2026-08-01 19:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 19: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-01 19:18:06] 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-08-01 19: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-08-01 19:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:18:06] 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-08-01 19:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111550720001,"66":13537,"109":206,"83":41984,"24":11,"16":10340421527928832,"45":2087418457838610432},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-08-01 19:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111550720001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:18:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-01 19:18:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10340421527928832,"km_value":10340421527928.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2087418457838610432,"description":"Unknown IO ID 45"} 
[2026-08-01 19:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111550720001,"power":13537,"unknown_109":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":2087418457838610432}} 
[2026-08-01 19:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":146208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578835,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:18:06] local.INFO: GPS data processed {"connection_id":146208,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:18:06] local.INFO: Acknowledgment sent {"connection_id":146208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:18:10] local.INFO: TCP Data received {"connection_id":146208,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd93e4b0012d1cf980071d33980017015b24..."} 
[2026-08-01 19:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd93e4b0012d1cf980071d33980017015b24..."} 
[2026-08-01 19:18:10] local.INFO: Processing buffer {"connection_id":146208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd93e4b0012d1cf980071d33980017015b24..."} 
[2026-08-01 19:18:10] local.INFO: Packet analysis {"connection_id":146208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd93"} 
[2026-08-01 19:18:10] local.INFO: Extracted packet for processing {"connection_id":146208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd93"} 
[2026-08-01 19:18:10] local.INFO: GPS Element Parsed {"raw_longitude":756873600,"raw_latitude":119354264,"longitude_deg":75.68736,"latitude_deg":11.9354264,"altitude":23,"angle":347,"satellites":36,"speed":10,"hex_longitude":"2d1cf980","hex_latitude":"071d3398","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111552000001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10340778010214400,"note":"Value kept but may cause issues"} 
[2026-08-01 19:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2087559195327410176,"note":"Value kept but may cause issues"} 
[2026-08-01 19:18:10] 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-08-01 19:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785592014000,"timestamp_ms":1785592014000,"timestamp_seconds":1785592014,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd93e4b0"} 
[2026-08-01 19:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:18: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-08-01 19: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-01 19:18:10] 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-08-01 19: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-08-01 19:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:18: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-08-01 19:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111552000001,"66":12841,"109":206,"83":41984,"24":10,"16":10340778010214400,"45":2087559195327410176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-08-01 19:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111552000001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:18:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-01 19:18:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10340778010214400,"km_value":10340778010214.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":2087559195327410176,"description":"Unknown IO ID 45"} 
[2026-08-01 19:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111552000001,"power":12841,"unknown_109":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":2087559195327410176}} 
[2026-08-01 19:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":146208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578836,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:18:10] local.INFO: GPS data processed {"connection_id":146208,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:18:10] local.INFO: Acknowledgment sent {"connection_id":146208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:18:41] local.INFO: TCP Data received {"connection_id":146208,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd940fa8012d1cf800071d48400015016725..."} 
[2026-08-01 19:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd940fa8012d1cf800071d48400015016725..."} 
[2026-08-01 19:18:41] local.INFO: Processing buffer {"connection_id":146208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd940fa8012d1cf800071d48400015016725..."} 
[2026-08-01 19:18:41] local.INFO: Packet analysis {"connection_id":146208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd94"} 
[2026-08-01 19:18:41] local.INFO: Extracted packet for processing {"connection_id":146208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd94"} 
[2026-08-01 19:18:41] local.INFO: GPS Element Parsed {"raw_longitude":756873216,"raw_latitude":119359552,"longitude_deg":75.6873216,"latitude_deg":11.9359552,"altitude":21,"angle":359,"satellites":37,"speed":19,"hex_longitude":"2d1cf800","hex_latitude":"071d4840","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111555584001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10341035708252160,"note":"Value kept but may cause issues"} 
[2026-08-01 19:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2087840670305982464,"note":"Value kept but may cause issues"} 
[2026-08-01 19:18:41] 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-08-01 19:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785592025000,"timestamp_ms":1785592025000,"timestamp_seconds":1785592025,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd940fa8"} 
[2026-08-01 19:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:18: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-08-01 19: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-01 19:18: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-08-01 19: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-08-01 19:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":146208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":146208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":146208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:18: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-08-01 19:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111555584001,"66":13646,"109":206,"83":41984,"24":19,"16":10341035708252160,"45":2087840670305982464},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-08-01 19:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111555584001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:18:41] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-01 19:18:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10341035708252160,"km_value":10341035708252.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":2087840670305982464,"description":"Unknown IO ID 45"} 
[2026-08-01 19:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111555584001,"power":13646,"unknown_109":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":2087840670305982464}} 
[2026-08-01 19:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":146208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578837,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:18:41] local.INFO: GPS data processed {"connection_id":146208,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:18:41] local.INFO: Acknowledgment sent {"connection_id":146208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:18:43] local.INFO: TCP Data received {"connection_id":147444,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:18:43] local.INFO: Processing buffer {"connection_id":147444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:18:43] local.INFO: IMEI packet received {"connection_id":147444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 19:18:43] local.INFO: IMEI acknowledgment sent {"connection_id":147444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:18:48] local.INFO: TCP Data received {"connection_id":147444,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:18:48] local.INFO: Processing buffer {"connection_id":147444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:18:48] local.INFO: IMEI packet received {"connection_id":147444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":147444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:18:49] local.INFO: TCP Data received {"connection_id":147444,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd947d08012cd4a8c0073777c0000c00eb2a..."} 
[2026-08-01 19:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd947d08012cd4a8c0073777c0000c00eb2a..."} 
[2026-08-01 19:18:49] local.INFO: Processing buffer {"connection_id":147444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd947d08012cd4a8c0073777c0000c00eb2a..."} 
[2026-08-01 19:18:49] local.INFO: Packet analysis {"connection_id":147444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd94"} 
[2026-08-01 19:18:49] local.INFO: Extracted packet for processing {"connection_id":147444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd94"} 
[2026-08-01 19:18:49] local.INFO: GPS Element Parsed {"raw_longitude":752134336,"raw_latitude":121075648,"longitude_deg":75.2134336,"latitude_deg":12.1075648,"altitude":12,"angle":235,"satellites":42,"speed":0,"hex_longitude":"2cd4a8c0","hex_latitude":"073777c0","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111488512001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366804002513354752,"note":"Value kept but may cause issues"} 
[2026-08-01 19:18:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3123035204353540096,"note":"Value kept but may cause issues"} 
[2026-08-01 19:18:49] 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-08-01 19:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785592053000,"timestamp_ms":1785592053000,"timestamp_seconds":1785592053,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd947d08"} 
[2026-08-01 19:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:18:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19: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":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-01 19:18:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:18:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111488512001,"66":25995,"89":206,"83":43264,"24":0,"16":366804002513354752,"44":-3123035204353540096},"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-08-01 19:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111488512001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:18:49] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:18:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366804002513354752,"km_value":366804002513354.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:18:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3123035204353540096,"description":"Unknown IO ID 44"} 
[2026-08-01 19:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111488512001,"power":25995,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3123035204353540096}} 
[2026-08-01 19:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":147444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:18:49] local.INFO: GPS data processed {"connection_id":147444,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:18:49] local.INFO: Acknowledgment sent {"connection_id":147444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:19:00] local.INFO: TCP Data received {"connection_id":147445,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:19:00] local.INFO: Processing buffer {"connection_id":147445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:19:00] local.INFO: IMEI packet received {"connection_id":147445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 19:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":147445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:19:02] local.INFO: TCP Data received {"connection_id":147445,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:19:02] local.INFO: Processing buffer {"connection_id":147445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:19:02] local.INFO: IMEI packet received {"connection_id":147445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":147445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:19:03] local.INFO: TCP Data received {"connection_id":147445,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd94f238012d1cd6c0071d99000021016722..."} 
[2026-08-01 19:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd94f238012d1cd6c0071d99000021016722..."} 
[2026-08-01 19:19:03] local.INFO: Processing buffer {"connection_id":147445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd94f238012d1cd6c0071d99000021016722..."} 
[2026-08-01 19:19:03] local.INFO: Packet analysis {"connection_id":147445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd94"} 
[2026-08-01 19:19:03] local.INFO: Extracted packet for processing {"connection_id":147445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd94"} 
[2026-08-01 19:19:03] local.INFO: GPS Element Parsed {"raw_longitude":756864704,"raw_latitude":119380224,"longitude_deg":75.6864704,"latitude_deg":11.9380224,"altitude":33,"angle":359,"satellites":34,"speed":8,"hex_longitude":"2d1cd6c0","hex_latitude":"071d9900","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111572992001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10342199644389376,"note":"Value kept but may cause issues"} 
[2026-08-01 19:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2078059414871863296,"note":"Value kept but may cause issues"} 
[2026-08-01 19:19:03] 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-08-01 19:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785592083000,"timestamp_ms":1785592083000,"timestamp_seconds":1785592083,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd94f238"} 
[2026-08-01 19:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 19: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-01 19:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":147445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":147445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":147445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:19:03] 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-08-01 19:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111572992001,"66":12819,"109":206,"83":41984,"24":8,"16":10342199644389376,"45":2078059414871863296},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-08-01 19:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111572992001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:19:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-01 19:19:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10342199644389376,"km_value":10342199644389.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":2078059414871863296,"description":"Unknown IO ID 45"} 
[2026-08-01 19:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111572992001,"power":12819,"unknown_109":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":2078059414871863296}} 
[2026-08-01 19:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":147445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:19:03] local.INFO: GPS data processed {"connection_id":147445,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:19:03] local.INFO: Acknowledgment sent {"connection_id":147445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:19:20] local.INFO: TCP Data received {"connection_id":147444,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd947d08012cd4a8c0073777c0000c00eb2a..."} 
[2026-08-01 19:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd947d08012cd4a8c0073777c0000c00eb2a..."} 
[2026-08-01 19:19:20] local.INFO: Processing buffer {"connection_id":147444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd947d08012cd4a8c0073777c0000c00eb2a..."} 
[2026-08-01 19:19:20] local.INFO: Packet analysis {"connection_id":147444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd94"} 
[2026-08-01 19:19:20] local.INFO: Extracted packet for processing {"connection_id":147444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd94"} 
[2026-08-01 19:19:20] local.INFO: GPS Element Parsed {"raw_longitude":752134336,"raw_latitude":121075648,"longitude_deg":75.2134336,"latitude_deg":12.1075648,"altitude":12,"angle":235,"satellites":42,"speed":0,"hex_longitude":"2cd4a8c0","hex_latitude":"073777c0","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111488512001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366804002513354752,"note":"Value kept but may cause issues"} 
[2026-08-01 19:19:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3123035204353540096,"note":"Value kept but may cause issues"} 
[2026-08-01 19:19:20] 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-08-01 19:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785592053000,"timestamp_ms":1785592053000,"timestamp_seconds":1785592053,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd947d08"} 
[2026-08-01 19:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:19:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19: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":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-01 19:19:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:19:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111488512001,"66":25995,"89":206,"83":43264,"24":0,"16":366804002513354752,"44":-3123035204353540096},"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-08-01 19:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111488512001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:19:20] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:19:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366804002513354752,"km_value":366804002513354.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:19:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3123035204353540096,"description":"Unknown IO ID 44"} 
[2026-08-01 19:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111488512001,"power":25995,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3123035204353540096}} 
[2026-08-01 19:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":147444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:19:20] local.INFO: GPS data processed {"connection_id":147444,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:19:20] local.INFO: Acknowledgment sent {"connection_id":147444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:19:43] local.INFO: TCP Data received {"connection_id":148750,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:19:43] local.INFO: Processing buffer {"connection_id":148750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:19:43] local.INFO: IMEI packet received {"connection_id":148750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 19:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":148750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:19:46] local.INFO: TCP Data received {"connection_id":147445,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd94f620012d1cd700071d9a500021001322..."} 
[2026-08-01 19:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd94f620012d1cd700071d9a500021001322..."} 
[2026-08-01 19:19:46] local.INFO: Processing buffer {"connection_id":147445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd94f620012d1cd700071d9a500021001322..."} 
[2026-08-01 19:19:46] local.INFO: Packet analysis {"connection_id":147445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd94"} 
[2026-08-01 19:19:46] local.INFO: Extracted packet for processing {"connection_id":147445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd94"} 
[2026-08-01 19:19:46] local.INFO: GPS Element Parsed {"raw_longitude":756864768,"raw_latitude":119380560,"longitude_deg":75.6864768,"latitude_deg":11.938056,"altitude":33,"angle":19,"satellites":34,"speed":10,"hex_longitude":"2d1cd700","hex_latitude":"071d9a50","is_valid_coordinates":true} 
[2026-08-01 19:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111573248001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10342212529291264,"note":"Value kept but may cause issues"} 
[2026-08-01 19:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2078059414871932928,"note":"Value kept but may cause issues"} 
[2026-08-01 19:19:46] 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-08-01 19:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785592084000,"timestamp_ms":1785592084000,"timestamp_seconds":1785592084,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd94f620"} 
[2026-08-01 19:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:19: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-08-01 19:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-01 19:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-08-01 19:19:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-01 19:19:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 19:19:46] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3180615160,"note":"Value kept but may cause issues"} 
[2026-08-01 19:19:46] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-7762420145651386496,"note":"Value kept but may cause issues"} 
[2026-08-01 19:19:46] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-01 19:19:46] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503757424295936,"note":"Value kept but may cause issues"} 
[2026-08-01 19:19:46] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6269274568389886208,"note":"Value kept but may cause issues"} 
[2026-08-01 19:19:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":4282079706865729560,"corrected_to":0} 
[2026-08-01 19:19:46] local.WARNING: Large IO value detected {"io_id":93,"raw_value":3355520284,"note":"Value kept but may cause issues"} 
[2026-08-01 19:19:46] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182208234782976,"note":"Value kept but may cause issues"} 
[2026-08-01 19:19:46] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-648292691225817517,"note":"Value kept but may cause issues"} 
[2026-08-01 19:19:46] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3179413504,"note":"Value kept but may cause issues"} 
[2026-08-01 19:19:46] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2117325143947685415,"note":"Value kept but may cause issues"} 
[2026-08-01 19:19:46] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755450980794609,"note":"Value kept but may cause issues"} 
[2026-08-01 19:19:46] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195136768,"note":"Value kept but may cause issues"} 
[2026-08-01 19:19:46] local.WARNING: Large IO value detected {"io_id":112,"raw_value":84755821615324513,"note":"Value kept but may cause issues"} 
[2026-08-01 19:19:46] local.WARNING: Large IO value detected {"io_id":120,"raw_value":6475269443423744,"note":"Value kept but may cause issues"} 
[2026-08-01 19:19:46] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,109,83,24,241,157,16,190,159,238,45,192,151,33,34,10,66,168,129,28,37,189,132,1,240,12,227,29,4,113,205,93,243,40,239,52,2,36,7,21,164,123,69,112,120],"length":625,"final_offset":755,"validated_count":45,"validation_warnings":[{"io_id":205,"original":4282079706865729560,"validated":0}]} 
[2026-08-01 19:19:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2378295473955405824,"timestamp_seconds":2378295473955406.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 19:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":147445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":147445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":147445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111573248001,"66":12819,"109":206,"83":41984,"24":10,"16":10342212529291264,"45":2078059414871932928},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-08-01 19:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111573248001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:19:46] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-01 19:19:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10342212529291264,"km_value":10342212529291.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":2078059414871932928,"description":"Unknown IO ID 45"} 
[2026-08-01 19:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111573248001,"power":12819,"unknown_109":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":2078059414871932928}} 
[2026-08-01 19:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":147445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:19:46] local.INFO: GPS data processed {"connection_id":147445,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:19:46] local.INFO: Acknowledgment sent {"connection_id":147445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:19:48] local.INFO: TCP Data received {"connection_id":148750,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:19:48] local.INFO: Processing buffer {"connection_id":148750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:19:48] local.INFO: IMEI packet received {"connection_id":148750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":148750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:19:49] local.INFO: TCP Data received {"connection_id":148750,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd947d08012cd4a8c0073777c0000c00eb2a..."} 
[2026-08-01 19:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd947d08012cd4a8c0073777c0000c00eb2a..."} 
[2026-08-01 19:19:49] local.INFO: Processing buffer {"connection_id":148750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd947d08012cd4a8c0073777c0000c00eb2a..."} 
[2026-08-01 19:19:49] local.INFO: Packet analysis {"connection_id":148750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd94"} 
[2026-08-01 19:19:49] local.INFO: Extracted packet for processing {"connection_id":148750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd94"} 
[2026-08-01 19:19:49] local.INFO: GPS Element Parsed {"raw_longitude":752134336,"raw_latitude":121075648,"longitude_deg":75.2134336,"latitude_deg":12.1075648,"altitude":12,"angle":235,"satellites":42,"speed":0,"hex_longitude":"2cd4a8c0","hex_latitude":"073777c0","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111488512001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366804002513354752,"note":"Value kept but may cause issues"} 
[2026-08-01 19:19:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3123035204353540096,"note":"Value kept but may cause issues"} 
[2026-08-01 19:19:49] 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-08-01 19:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785592053000,"timestamp_ms":1785592053000,"timestamp_seconds":1785592053,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd947d08"} 
[2026-08-01 19:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:19:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19: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":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-01 19:19:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:19:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:19:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111488512001,"66":25995,"89":206,"83":43264,"24":0,"16":366804002513354752,"44":-3123035204353540096},"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-08-01 19:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111488512001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:19:49] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:19:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366804002513354752,"km_value":366804002513354.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:19:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3123035204353540096,"description":"Unknown IO ID 44"} 
[2026-08-01 19:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111488512001,"power":25995,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3123035204353540096}} 
[2026-08-01 19:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":148750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:19:49] local.INFO: GPS data processed {"connection_id":148750,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:19:49] local.INFO: Acknowledgment sent {"connection_id":148750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:20:04] local.INFO: TCP Data received {"connection_id":148751,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:20:04] local.INFO: Processing buffer {"connection_id":148751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:20:04] local.INFO: IMEI packet received {"connection_id":148751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 19:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":148751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:20:05] local.INFO: TCP Data received {"connection_id":148751,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:20:05] local.INFO: Processing buffer {"connection_id":148751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:20:05] local.INFO: IMEI packet received {"connection_id":148751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":148751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:20:10] local.INFO: TCP Data received {"connection_id":148751,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:20:10] local.INFO: Processing buffer {"connection_id":148751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:20:10] local.INFO: IMEI packet received {"connection_id":148751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":148751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:20:11] local.INFO: TCP Data received {"connection_id":148751,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd95b1a0012d1cf680071dd8280032000025..."} 
[2026-08-01 19:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd95b1a0012d1cf680071dd8280032000025..."} 
[2026-08-01 19:20:11] local.INFO: Processing buffer {"connection_id":148751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd95b1a0012d1cf680071dd8280032000025..."} 
[2026-08-01 19:20:11] local.INFO: Packet analysis {"connection_id":148751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd95"} 
[2026-08-01 19:20:11] local.INFO: Extracted packet for processing {"connection_id":148751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd95"} 
[2026-08-01 19:20:11] local.INFO: GPS Element Parsed {"raw_longitude":756872832,"raw_latitude":119396392,"longitude_deg":75.6872832,"latitude_deg":11.9396392,"altitude":50,"angle":0,"satellites":37,"speed":19,"hex_longitude":"2d1cf680","hex_latitude":"071dd828","is_valid_coordinates":true} 
[2026-08-01 19:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111584000001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10343187486867456,"note":"Value kept but may cause issues"} 
[2026-08-01 19:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2086785139153299456,"note":"Value kept but may cause issues"} 
[2026-08-01 19:20: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-08-01 19:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785592132000,"timestamp_ms":1785592132000,"timestamp_seconds":1785592132,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd95b1a0"} 
[2026-08-01 19:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 19:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-01 19:20:11] 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-08-01 19:20:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":148751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":148751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":148751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111584000001,"66":13048,"109":206,"83":41984,"24":19,"16":10343187486867456,"45":2086785139153299456},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-08-01 19:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111584000001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:20:11] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-01 19:20:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10343187486867456,"km_value":10343187486867.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2086785139153299456,"description":"Unknown IO ID 45"} 
[2026-08-01 19:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111584000001,"power":13048,"unknown_109":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":2086785139153299456}} 
[2026-08-01 19:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":148751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:20:11] local.INFO: GPS data processed {"connection_id":148751,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:20:11] local.INFO: Acknowledgment sent {"connection_id":148751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:20:20] local.INFO: TCP Data received {"connection_id":148750,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd947d08012cd4a8c0073777c0000c00eb2a..."} 
[2026-08-01 19:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd947d08012cd4a8c0073777c0000c00eb2a..."} 
[2026-08-01 19:20:20] local.INFO: Processing buffer {"connection_id":148750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd947d08012cd4a8c0073777c0000c00eb2a..."} 
[2026-08-01 19:20:20] local.INFO: Packet analysis {"connection_id":148750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd94"} 
[2026-08-01 19:20:20] local.INFO: Extracted packet for processing {"connection_id":148750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd94"} 
[2026-08-01 19:20:20] local.INFO: GPS Element Parsed {"raw_longitude":752134336,"raw_latitude":121075648,"longitude_deg":75.2134336,"latitude_deg":12.1075648,"altitude":12,"angle":235,"satellites":42,"speed":0,"hex_longitude":"2cd4a8c0","hex_latitude":"073777c0","is_valid_coordinates":true} 
[2026-08-01 19:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111488512001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366804002513354752,"note":"Value kept but may cause issues"} 
[2026-08-01 19:20:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3123035204353540096,"note":"Value kept but may cause issues"} 
[2026-08-01 19:20:20] 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-08-01 19:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785592053000,"timestamp_ms":1785592053000,"timestamp_seconds":1785592053,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd947d08"} 
[2026-08-01 19:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-01 19:20:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111488512001,"66":25995,"89":206,"83":43264,"24":0,"16":366804002513354752,"44":-3123035204353540096},"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-08-01 19:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111488512001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:20:20] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:20:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366804002513354752,"km_value":366804002513354.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:20:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3123035204353540096,"description":"Unknown IO ID 44"} 
[2026-08-01 19:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111488512001,"power":25995,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3123035204353540096}} 
[2026-08-01 19:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":148750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:20:20] local.INFO: GPS data processed {"connection_id":148750,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:20:20] local.INFO: Acknowledgment sent {"connection_id":148750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:20:42] local.INFO: TCP Data received {"connection_id":148751,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd96a3d0012d1d1640071e5230004a014c26..."} 
[2026-08-01 19:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd96a3d0012d1d1640071e5230004a014c26..."} 
[2026-08-01 19:20:42] local.INFO: Processing buffer {"connection_id":148751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd96a3d0012d1d1640071e5230004a014c26..."} 
[2026-08-01 19:20:42] local.INFO: Packet analysis {"connection_id":148751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd96"} 
[2026-08-01 19:20:42] local.INFO: Extracted packet for processing {"connection_id":148751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd96"} 
[2026-08-01 19:20:42] local.INFO: GPS Element Parsed {"raw_longitude":756880960,"raw_latitude":119427632,"longitude_deg":75.688096,"latitude_deg":11.9427632,"altitude":74,"angle":332,"satellites":38,"speed":18,"hex_longitude":"2d1d1640","hex_latitude":"071e5230","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111601408001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10344841049276416,"note":"Value kept but may cause issues"} 
[2026-08-01 19:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2096144182137626624,"note":"Value kept but may cause issues"} 
[2026-08-01 19:20:42] 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-08-01 19:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785592194000,"timestamp_ms":1785592194000,"timestamp_seconds":1785592194,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd96a3d0"} 
[2026-08-01 19:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:20: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-08-01 19: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-01 19:20: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-08-01 19: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-08-01 19:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":148751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":148751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":148751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:20: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-08-01 19:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111601408001,"66":13537,"109":206,"83":41984,"24":18,"16":10344841049276416,"45":2096144182137626624},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-08-01 19:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111601408001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:20:42] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-01 19:20:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10344841049276416,"km_value":10344841049276.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":2096144182137626624,"description":"Unknown IO ID 45"} 
[2026-08-01 19:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111601408001,"power":13537,"unknown_109":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":2096144182137626624}} 
[2026-08-01 19:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":148751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:20:42] local.INFO: GPS data processed {"connection_id":148751,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:20:42] local.INFO: Acknowledgment sent {"connection_id":148751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:20:43] local.INFO: TCP Data received {"connection_id":146209,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:20:43] local.INFO: Processing buffer {"connection_id":146209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:20:43] local.INFO: IMEI packet received {"connection_id":146209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 19:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":146209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:20:48] local.INFO: TCP Data received {"connection_id":146209,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:20:48] local.INFO: Processing buffer {"connection_id":146209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:20:48] local.INFO: IMEI packet received {"connection_id":146209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":146209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:20:49] local.INFO: TCP Data received {"connection_id":146209,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd947d08012cd4a8c0073777c0000c00eb2a..."} 
[2026-08-01 19:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd947d08012cd4a8c0073777c0000c00eb2a..."} 
[2026-08-01 19:20:49] local.INFO: Processing buffer {"connection_id":146209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd947d08012cd4a8c0073777c0000c00eb2a..."} 
[2026-08-01 19:20:49] local.INFO: Packet analysis {"connection_id":146209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd94"} 
[2026-08-01 19:20:49] local.INFO: Extracted packet for processing {"connection_id":146209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd94"} 
[2026-08-01 19:20:49] local.INFO: GPS Element Parsed {"raw_longitude":752134336,"raw_latitude":121075648,"longitude_deg":75.2134336,"latitude_deg":12.1075648,"altitude":12,"angle":235,"satellites":42,"speed":0,"hex_longitude":"2cd4a8c0","hex_latitude":"073777c0","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111488512001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366804002513354752,"note":"Value kept but may cause issues"} 
[2026-08-01 19:20:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3123035204353540096,"note":"Value kept but may cause issues"} 
[2026-08-01 19:20:49] 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-08-01 19:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785592053000,"timestamp_ms":1785592053000,"timestamp_seconds":1785592053,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd947d08"} 
[2026-08-01 19:20:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:20:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19: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":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-01 19:20:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:20:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:20:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111488512001,"66":25995,"89":206,"83":43264,"24":0,"16":366804002513354752,"44":-3123035204353540096},"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-08-01 19:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111488512001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:20:49] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:20:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366804002513354752,"km_value":366804002513354.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:20:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3123035204353540096,"description":"Unknown IO ID 44"} 
[2026-08-01 19:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111488512001,"power":25995,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3123035204353540096}} 
[2026-08-01 19:20:49] local.INFO: DEBUG: GPS processor result {"connection_id":146209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:20:49] local.INFO: GPS data processed {"connection_id":146209,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:20:49] local.INFO: Acknowledgment sent {"connection_id":146209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:20:59] local.INFO: TCP Data received {"connection_id":146210,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146210,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:20:59] local.INFO: Processing buffer {"connection_id":146210,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:20:59] local.INFO: IMEI packet received {"connection_id":146210,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 19:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":146210,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:21:05] local.INFO: TCP Data received {"connection_id":146210,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146210,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:21:05] local.INFO: Processing buffer {"connection_id":146210,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:21:05] local.INFO: IMEI packet received {"connection_id":146210,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":146210,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:21:06] local.INFO: TCP Data received {"connection_id":146210,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd96aba0012d1d1440071e54e0004b013726..."} 
[2026-08-01 19:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd96aba0012d1d1440071e54e0004b013726..."} 
[2026-08-01 19:21:06] local.INFO: Processing buffer {"connection_id":146210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd96aba0012d1d1440071e54e0004b013726..."} 
[2026-08-01 19:21:06] local.INFO: Packet analysis {"connection_id":146210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd96"} 
[2026-08-01 19:21:06] local.INFO: Extracted packet for processing {"connection_id":146210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd96"} 
[2026-08-01 19:21:06] local.INFO: GPS Element Parsed {"raw_longitude":756880448,"raw_latitude":119428320,"longitude_deg":75.6880448,"latitude_deg":11.942832,"altitude":75,"angle":311,"satellites":38,"speed":17,"hex_longitude":"2d1d1440","hex_latitude":"071e54e0","is_valid_coordinates":true} 
[2026-08-01 19:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111601664001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10344883998949376,"note":"Value kept but may cause issues"} 
[2026-08-01 19:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2095933075905196032,"note":"Value kept but may cause issues"} 
[2026-08-01 19:21:06] 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-08-01 19:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785592196000,"timestamp_ms":1785592196000,"timestamp_seconds":1785592196,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd96aba0"} 
[2026-08-01 19:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:21: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-08-01 19:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-01 19:21:06] 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-08-01 19:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:21:06] 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-08-01 19:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111601664001,"66":13515,"109":206,"83":41984,"24":17,"16":10344883998949376,"45":2095933075905196032},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-08-01 19:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111601664001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:21:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-01 19:21:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10344883998949376,"km_value":10344883998949.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2095933075905196032,"description":"Unknown IO ID 45"} 
[2026-08-01 19:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111601664001,"power":13515,"unknown_109":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":2095933075905196032}} 
[2026-08-01 19:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":146210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:21:06] local.INFO: GPS data processed {"connection_id":146210,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:21:06] local.INFO: Acknowledgment sent {"connection_id":146210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:21:20] local.INFO: TCP Data received {"connection_id":146209,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd947d08012cd4a8c0073777c0000c00eb2a..."} 
[2026-08-01 19:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd947d08012cd4a8c0073777c0000c00eb2a..."} 
[2026-08-01 19:21:20] local.INFO: Processing buffer {"connection_id":146209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd947d08012cd4a8c0073777c0000c00eb2a..."} 
[2026-08-01 19:21:20] local.INFO: Packet analysis {"connection_id":146209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd94"} 
[2026-08-01 19:21:20] local.INFO: Extracted packet for processing {"connection_id":146209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd94"} 
[2026-08-01 19:21:20] local.INFO: GPS Element Parsed {"raw_longitude":752134336,"raw_latitude":121075648,"longitude_deg":75.2134336,"latitude_deg":12.1075648,"altitude":12,"angle":235,"satellites":42,"speed":0,"hex_longitude":"2cd4a8c0","hex_latitude":"073777c0","is_valid_coordinates":true} 
[2026-08-01 19:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111488512001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366804002513354752,"note":"Value kept but may cause issues"} 
[2026-08-01 19:21:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3123035204353540096,"note":"Value kept but may cause issues"} 
[2026-08-01 19:21:20] 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-08-01 19:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785592053000,"timestamp_ms":1785592053000,"timestamp_seconds":1785592053,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd947d08"} 
[2026-08-01 19:21:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:21:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-01 19:21:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:21:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:21:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:21:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111488512001,"66":25995,"89":206,"83":43264,"24":0,"16":366804002513354752,"44":-3123035204353540096},"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-08-01 19:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111488512001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:21:20] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:21:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366804002513354752,"km_value":366804002513354.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:21:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3123035204353540096,"description":"Unknown IO ID 44"} 
[2026-08-01 19:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111488512001,"power":25995,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3123035204353540096}} 
[2026-08-01 19:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":146209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:21:20] local.INFO: GPS data processed {"connection_id":146209,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:21:20] local.INFO: Acknowledgment sent {"connection_id":146209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:21:38] local.INFO: TCP Data received {"connection_id":146210,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd96b370012d1d1140071e56f0004d012a25..."} 
[2026-08-01 19:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd96b370012d1d1140071e56f0004d012a25..."} 
[2026-08-01 19:21:38] local.INFO: Processing buffer {"connection_id":146210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd96b370012d1d1140071e56f0004d012a25..."} 
[2026-08-01 19:21:38] local.INFO: Packet analysis {"connection_id":146210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd96"} 
[2026-08-01 19:21:38] local.INFO: Extracted packet for processing {"connection_id":146210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd96"} 
[2026-08-01 19:21:38] local.INFO: GPS Element Parsed {"raw_longitude":756879680,"raw_latitude":119428848,"longitude_deg":75.687968,"latitude_deg":11.9428848,"altitude":77,"angle":298,"satellites":37,"speed":18,"hex_longitude":"2d1d1140","hex_latitude":"071e56f0","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111602176001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10344926948622336,"note":"Value kept but may cause issues"} 
[2026-08-01 19:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2095370125951950848,"note":"Value kept but may cause issues"} 
[2026-08-01 19:21:38] 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-08-01 19:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785592198000,"timestamp_ms":1785592198000,"timestamp_seconds":1785592198,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd96b370"} 
[2026-08-01 19:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 19: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-01 19:21:38] 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-08-01 19: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-08-01 19:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:21:38] 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-08-01 19:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111602176001,"66":13515,"109":206,"83":41984,"24":18,"16":10344926948622336,"45":2095370125951950848},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-08-01 19:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111602176001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:21:38] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-01 19:21:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10344926948622336,"km_value":10344926948622.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":2095370125951950848,"description":"Unknown IO ID 45"} 
[2026-08-01 19:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111602176001,"power":13515,"unknown_109":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":2095370125951950848}} 
[2026-08-01 19:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":146210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578849,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:21:38] local.INFO: GPS data processed {"connection_id":146210,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:21:38] local.INFO: Acknowledgment sent {"connection_id":146210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:21:43] local.INFO: TCP Data received {"connection_id":148752,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:21:43] local.INFO: Processing buffer {"connection_id":148752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:21:43] local.INFO: IMEI packet received {"connection_id":148752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 19:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":148752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:21:48] local.INFO: TCP Data received {"connection_id":148752,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:21:48] local.INFO: Processing buffer {"connection_id":148752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:21:48] local.INFO: IMEI packet received {"connection_id":148752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":148752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:21:49] local.INFO: TCP Data received {"connection_id":148752,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd947d08012cd4a8c0073777c0000c00eb2a..."} 
[2026-08-01 19:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd947d08012cd4a8c0073777c0000c00eb2a..."} 
[2026-08-01 19:21:49] local.INFO: Processing buffer {"connection_id":148752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd947d08012cd4a8c0073777c0000c00eb2a..."} 
[2026-08-01 19:21:49] local.INFO: Packet analysis {"connection_id":148752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd94"} 
[2026-08-01 19:21:49] local.INFO: Extracted packet for processing {"connection_id":148752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd94"} 
[2026-08-01 19:21:49] local.INFO: GPS Element Parsed {"raw_longitude":752134336,"raw_latitude":121075648,"longitude_deg":75.2134336,"latitude_deg":12.1075648,"altitude":12,"angle":235,"satellites":42,"speed":0,"hex_longitude":"2cd4a8c0","hex_latitude":"073777c0","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111488512001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366804002513354752,"note":"Value kept but may cause issues"} 
[2026-08-01 19:21:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3123035204353540096,"note":"Value kept but may cause issues"} 
[2026-08-01 19:21:49] 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-08-01 19:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785592053000,"timestamp_ms":1785592053000,"timestamp_seconds":1785592053,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd947d08"} 
[2026-08-01 19:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:21:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19: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":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-01 19:21:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111488512001,"66":25995,"89":206,"83":43264,"24":0,"16":366804002513354752,"44":-3123035204353540096},"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-08-01 19:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111488512001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:21:49] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:21:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366804002513354752,"km_value":366804002513354.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:21:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3123035204353540096,"description":"Unknown IO ID 44"} 
[2026-08-01 19:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111488512001,"power":25995,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3123035204353540096}} 
[2026-08-01 19:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":148752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:21:49] local.INFO: GPS data processed {"connection_id":148752,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:21:49] local.INFO: Acknowledgment sent {"connection_id":148752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:22:20] local.INFO: TCP Data received {"connection_id":148752,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd947d08012cd4a8c0073777c0000c00eb2a..."} 
[2026-08-01 19:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd947d08012cd4a8c0073777c0000c00eb2a..."} 
[2026-08-01 19:22:20] local.INFO: Processing buffer {"connection_id":148752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd947d08012cd4a8c0073777c0000c00eb2a..."} 
[2026-08-01 19:22:20] local.INFO: Packet analysis {"connection_id":148752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd94"} 
[2026-08-01 19:22:20] local.INFO: Extracted packet for processing {"connection_id":148752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd94"} 
[2026-08-01 19:22:20] local.INFO: GPS Element Parsed {"raw_longitude":752134336,"raw_latitude":121075648,"longitude_deg":75.2134336,"latitude_deg":12.1075648,"altitude":12,"angle":235,"satellites":42,"speed":0,"hex_longitude":"2cd4a8c0","hex_latitude":"073777c0","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111488512001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366804002513354752,"note":"Value kept but may cause issues"} 
[2026-08-01 19:22:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3123035204353540096,"note":"Value kept but may cause issues"} 
[2026-08-01 19:22:20] 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-08-01 19:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785592053000,"timestamp_ms":1785592053000,"timestamp_seconds":1785592053,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd947d08"} 
[2026-08-01 19:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:22:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19: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":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-01 19:22:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:22:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111488512001,"66":25995,"89":206,"83":43264,"24":0,"16":366804002513354752,"44":-3123035204353540096},"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-08-01 19:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111488512001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:22:20] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:22:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366804002513354752,"km_value":366804002513354.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:22:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3123035204353540096,"description":"Unknown IO ID 44"} 
[2026-08-01 19:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111488512001,"power":25995,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3123035204353540096}} 
[2026-08-01 19:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":148752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:22:20] local.INFO: GPS data processed {"connection_id":148752,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:22:20] local.INFO: Acknowledgment sent {"connection_id":148752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:22:36] local.INFO: TCP Data received {"connection_id":146448,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:22:36] local.INFO: Processing buffer {"connection_id":146448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:22:36] local.INFO: IMEI packet received {"connection_id":146448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 19:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":146448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:22:37] local.INFO: TCP Data received {"connection_id":146448,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:22:37] local.INFO: Processing buffer {"connection_id":146448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:22:37] local.INFO: IMEI packet received {"connection_id":146448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":146448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:22:40] local.INFO: TCP Data received {"connection_id":146448,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:22:40] local.INFO: Processing buffer {"connection_id":146448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:22:40] local.INFO: IMEI packet received {"connection_id":146448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":146448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:22:42] local.INFO: TCP Data received {"connection_id":146448,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd983628012d1c3dc0071e5ff0005300f626..."} 
[2026-08-01 19:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd983628012d1c3dc0071e5ff0005300f626..."} 
[2026-08-01 19:22:42] local.INFO: Processing buffer {"connection_id":146448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd983628012d1c3dc0071e5ff0005300f626..."} 
[2026-08-01 19:22:42] local.INFO: Packet analysis {"connection_id":146448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd98"} 
[2026-08-01 19:22:42] local.INFO: Extracted packet for processing {"connection_id":146448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd98"} 
[2026-08-01 19:22:42] local.INFO: GPS Element Parsed {"raw_longitude":756825536,"raw_latitude":119431152,"longitude_deg":75.6825536,"latitude_deg":11.9431152,"altitude":83,"angle":246,"satellites":38,"speed":19,"hex_longitude":"2d1c3dc0","hex_latitude":"071e5ff0","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111626240001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10347654252855296,"note":"Value kept but may cause issues"} 
[2026-08-01 19:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2038371443169298432,"note":"Value kept but may cause issues"} 
[2026-08-01 19:22:42] 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-08-01 19:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785592297000,"timestamp_ms":1785592297000,"timestamp_seconds":1785592297,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd983628"} 
[2026-08-01 19:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:22: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-08-01 19: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-01 19:22: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-08-01 19: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-08-01 19:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":146448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":146448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":146448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:22: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-08-01 19:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111626240001,"66":13472,"109":206,"83":41984,"24":19,"16":10347654252855296,"45":2038371443169298432},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-08-01 19:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111626240001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:22:42] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-01 19:22:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10347654252855296,"km_value":10347654252855.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":2038371443169298432,"description":"Unknown IO ID 45"} 
[2026-08-01 19:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111626240001,"power":13472,"unknown_109":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":2038371443169298432}} 
[2026-08-01 19:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":146448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:22:42] local.INFO: GPS data processed {"connection_id":146448,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:22:42] local.INFO: Acknowledgment sent {"connection_id":146448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:22:43] local.INFO: TCP Data received {"connection_id":146449,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:22:43] local.INFO: Processing buffer {"connection_id":146449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:22:43] local.INFO: IMEI packet received {"connection_id":146449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 19:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":146449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:22:48] local.INFO: TCP Data received {"connection_id":146449,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:22:48] local.INFO: Processing buffer {"connection_id":146449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:22:48] local.INFO: IMEI packet received {"connection_id":146449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":146449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:22:49] local.INFO: TCP Data received {"connection_id":146449,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd947d08012cd4a8c0073777c0000c00eb2a..."} 
[2026-08-01 19:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd947d08012cd4a8c0073777c0000c00eb2a..."} 
[2026-08-01 19:22:49] local.INFO: Processing buffer {"connection_id":146449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd947d08012cd4a8c0073777c0000c00eb2a..."} 
[2026-08-01 19:22:49] local.INFO: Packet analysis {"connection_id":146449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd94"} 
[2026-08-01 19:22:49] local.INFO: Extracted packet for processing {"connection_id":146449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd94"} 
[2026-08-01 19:22:49] local.INFO: GPS Element Parsed {"raw_longitude":752134336,"raw_latitude":121075648,"longitude_deg":75.2134336,"latitude_deg":12.1075648,"altitude":12,"angle":235,"satellites":42,"speed":0,"hex_longitude":"2cd4a8c0","hex_latitude":"073777c0","is_valid_coordinates":true} 
[2026-08-01 19:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111488512001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366804002513354752,"note":"Value kept but may cause issues"} 
[2026-08-01 19:22:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3123035204353540096,"note":"Value kept but may cause issues"} 
[2026-08-01 19:22:49] 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-08-01 19:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785592053000,"timestamp_ms":1785592053000,"timestamp_seconds":1785592053,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd947d08"} 
[2026-08-01 19:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:22:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-01 19:22:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:22:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:22:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111488512001,"66":25995,"89":206,"83":43264,"24":0,"16":366804002513354752,"44":-3123035204353540096},"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-08-01 19:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111488512001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:22:49] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:22:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366804002513354752,"km_value":366804002513354.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:22:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3123035204353540096,"description":"Unknown IO ID 44"} 
[2026-08-01 19:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111488512001,"power":25995,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3123035204353540096}} 
[2026-08-01 19:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":146449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:22:49] local.INFO: GPS data processed {"connection_id":146449,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:22:49] local.INFO: Acknowledgment sent {"connection_id":146449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:23:09] local.INFO: TCP Data received {"connection_id":146450,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146450,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:23:09] local.INFO: Processing buffer {"connection_id":146450,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:23:09] local.INFO: IMEI packet received {"connection_id":146450,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 19:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":146450,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:23:09] local.INFO: TCP Data received {"connection_id":146450,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146450,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:23:09] local.INFO: Processing buffer {"connection_id":146450,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:23:09] local.INFO: IMEI packet received {"connection_id":146450,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":146450,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:23:15] local.INFO: TCP Data received {"connection_id":146450,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146450,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:23:15] local.INFO: Processing buffer {"connection_id":146450,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:23:15] local.INFO: IMEI packet received {"connection_id":146450,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":146450,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:23:16] local.INFO: TCP Data received {"connection_id":146450,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd985180012d1c2f40071e5ab00058010228..."} 
[2026-08-01 19:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd985180012d1c2f40071e5ab00058010228..."} 
[2026-08-01 19:23:16] local.INFO: Processing buffer {"connection_id":146450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd985180012d1c2f40071e5ab00058010228..."} 
[2026-08-01 19:23:16] local.INFO: Packet analysis {"connection_id":146450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd98"} 
[2026-08-01 19:23:16] local.INFO: Extracted packet for processing {"connection_id":146450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd98"} 
[2026-08-01 19:23:16] local.INFO: GPS Element Parsed {"raw_longitude":756821824,"raw_latitude":119429808,"longitude_deg":75.6821824,"latitude_deg":11.9429808,"altitude":88,"angle":258,"satellites":40,"speed":20,"hex_longitude":"2d1c2f40","hex_latitude":"071e5ab0","is_valid_coordinates":true} 
[2026-08-01 19:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111628032001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10347843231416320,"note":"Value kept but may cause issues"} 
[2026-08-01 19:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2034993743448240128,"note":"Value kept but may cause issues"} 
[2026-08-01 19:23:16] 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-08-01 19:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785592304000,"timestamp_ms":1785592304000,"timestamp_seconds":1785592304,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd985180"} 
[2026-08-01 19:23:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:23: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-08-01 19:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-01 19:23:16] 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-08-01 19:23:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:23:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":146450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":146450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":146450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:23:16] 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-08-01 19:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111628032001,"66":13580,"109":206,"83":41984,"24":20,"16":10347843231416320,"45":2034993743448240128},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-08-01 19:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111628032001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:23:16] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-01 19:23:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10347843231416320,"km_value":10347843231416.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":2034993743448240128,"description":"Unknown IO ID 45"} 
[2026-08-01 19:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111628032001,"power":13580,"unknown_109":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":2034993743448240128}} 
[2026-08-01 19:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":146450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:23:16] local.INFO: GPS data processed {"connection_id":146450,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:23:16] local.INFO: Acknowledgment sent {"connection_id":146450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:23:20] local.INFO: TCP Data received {"connection_id":146449,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd9914d0012cd4a8c0073777c0000c00eb2a..."} 
[2026-08-01 19:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd9914d0012cd4a8c0073777c0000c00eb2a..."} 
[2026-08-01 19:23:20] local.INFO: Processing buffer {"connection_id":146449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd9914d0012cd4a8c0073777c0000c00eb2a..."} 
[2026-08-01 19:23:20] local.INFO: Packet analysis {"connection_id":146449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd99"} 
[2026-08-01 19:23:20] local.INFO: Extracted packet for processing {"connection_id":146449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd99"} 
[2026-08-01 19:23:20] local.INFO: GPS Element Parsed {"raw_longitude":752134336,"raw_latitude":121075648,"longitude_deg":75.2134336,"latitude_deg":12.1075648,"altitude":12,"angle":235,"satellites":42,"speed":0,"hex_longitude":"2cd4a8c0","hex_latitude":"073777c0","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:23:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111565568001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:23:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366804002513354752,"note":"Value kept but may cause issues"} 
[2026-08-01 19:23:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3123035204353540096,"note":"Value kept but may cause issues"} 
[2026-08-01 19:23:20] 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-08-01 19:23:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785592354000,"timestamp_ms":1785592354000,"timestamp_seconds":1785592354,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd9914d0"} 
[2026-08-01 19:23:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:23:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-01 19:23:20] 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-08-01 19: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-08-01 19:23:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:23:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:23:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:23:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:23:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:23:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:23:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:23:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:23:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111565568001,"66":25952,"89":206,"83":43264,"24":0,"16":366804002513354752,"44":-3123035204353540096},"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-08-01 19:23:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:23:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:23:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111565568001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:23:20] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:23:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:23:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366804002513354752,"km_value":366804002513354.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:23:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3123035204353540096,"description":"Unknown IO ID 44"} 
[2026-08-01 19:23:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111565568001,"power":25952,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3123035204353540096}} 
[2026-08-01 19:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":146449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:23:20] local.INFO: GPS data processed {"connection_id":146449,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:23:20] local.INFO: Acknowledgment sent {"connection_id":146449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:23:43] local.INFO: TCP Data received {"connection_id":148753,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:23:43] local.INFO: Processing buffer {"connection_id":148753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:23:43] local.INFO: IMEI packet received {"connection_id":148753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 19:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":148753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:23:48] local.INFO: TCP Data received {"connection_id":148753,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:23:48] local.INFO: Processing buffer {"connection_id":148753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:23:48] local.INFO: IMEI packet received {"connection_id":148753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":148753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:23:49] local.INFO: TCP Data received {"connection_id":148753,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd9914d0012cd4a8c0073777c0000c00eb2a..."} 
[2026-08-01 19:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd9914d0012cd4a8c0073777c0000c00eb2a..."} 
[2026-08-01 19:23:49] local.INFO: Processing buffer {"connection_id":148753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd9914d0012cd4a8c0073777c0000c00eb2a..."} 
[2026-08-01 19:23:49] local.INFO: Packet analysis {"connection_id":148753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd99"} 
[2026-08-01 19:23:49] local.INFO: Extracted packet for processing {"connection_id":148753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd99"} 
[2026-08-01 19:23:49] local.INFO: GPS Element Parsed {"raw_longitude":752134336,"raw_latitude":121075648,"longitude_deg":75.2134336,"latitude_deg":12.1075648,"altitude":12,"angle":235,"satellites":42,"speed":0,"hex_longitude":"2cd4a8c0","hex_latitude":"073777c0","is_valid_coordinates":true} 
[2026-08-01 19:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111565568001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:23:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366804002513354752,"note":"Value kept but may cause issues"} 
[2026-08-01 19:23:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3123035204353540096,"note":"Value kept but may cause issues"} 
[2026-08-01 19:23:49] 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-08-01 19:23:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785592354000,"timestamp_ms":1785592354000,"timestamp_seconds":1785592354,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd9914d0"} 
[2026-08-01 19:23:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:23:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-01 19:23:49] 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-08-01 19: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-08-01 19:23:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:23:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:23:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:23:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:23:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:23:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:23:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:23:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:23:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111565568001,"66":25952,"89":206,"83":43264,"24":0,"16":366804002513354752,"44":-3123035204353540096},"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-08-01 19:23:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:23:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:23:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111565568001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:23:49] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:23:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:23:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366804002513354752,"km_value":366804002513354.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:23:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3123035204353540096,"description":"Unknown IO ID 44"} 
[2026-08-01 19:23:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111565568001,"power":25952,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3123035204353540096}} 
[2026-08-01 19:23:49] local.INFO: DEBUG: GPS processor result {"connection_id":148753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:23:49] local.INFO: GPS data processed {"connection_id":148753,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:23:49] local.INFO: Acknowledgment sent {"connection_id":148753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:24:05] local.INFO: TCP Data received {"connection_id":148754,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:24:05] local.INFO: Processing buffer {"connection_id":148754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:24:05] local.INFO: IMEI packet received {"connection_id":148754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 19:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":148754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:24:07] local.INFO: TCP Data received {"connection_id":148754,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:24:07] local.INFO: Processing buffer {"connection_id":148754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:24:07] local.INFO: IMEI packet received {"connection_id":148754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":148754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:24:09] local.INFO: TCP Data received {"connection_id":148754,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:24:09] local.INFO: Processing buffer {"connection_id":148754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:24:09] local.INFO: IMEI packet received {"connection_id":148754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":148754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:24:12] local.INFO: TCP Data received {"connection_id":148754,"ip":"42.106.6.32","data_length":812,"data_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019fbd..."} 
[2026-08-01 19:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148754,"packet_length":812,"packet_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019fbd..."} 
[2026-08-01 19:24:12] local.INFO: Processing buffer {"connection_id":148754,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019fbd..."} 
[2026-08-01 19:24:12] local.INFO: IMEI packet received {"connection_id":148754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":148754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:24:15] local.INFO: TCP Data received {"connection_id":148754,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd99ad28012d1b8a40071ea9c00067013420..."} 
[2026-08-01 19:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd99ad28012d1b8a40071ea9c00067013420..."} 
[2026-08-01 19:24:15] local.INFO: Processing buffer {"connection_id":148754,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fbd99a558012d1b8e00071ea648006901401f..."} 
[2026-08-01 19:24:15] local.INFO: Packet analysis {"connection_id":148754,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fbd99"} 
[2026-08-01 19:24:15] local.INFO: Extracted packet for processing {"connection_id":148754,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd99"} 
[2026-08-01 19:24:15] local.INFO: GPS Element Parsed {"raw_longitude":756780544,"raw_latitude":119449160,"longitude_deg":75.6780544,"latitude_deg":11.944916,"altitude":105,"angle":320,"satellites":31,"speed":25,"hex_longitude":"2d1b8e00","hex_latitude":"071ea648","is_valid_coordinates":true} 
[2026-08-01 19:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111651328001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10350308542644224,"note":"Value kept but may cause issues"} 
[2026-08-01 19:24:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1986861522434863104,"note":"Value kept but may cause issues"} 
[2026-08-01 19:24: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-08-01 19:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785592391000,"timestamp_ms":1785592391000,"timestamp_seconds":1785592391,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd99a558"} 
[2026-08-01 19:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:24: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-08-01 19:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-01 19:24:15] 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-08-01 19:24:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:24:15] 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-08-01 19:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111651328001,"66":13559,"101":206,"83":41984,"24":25,"16":10350308542644224,"45":1986861522434863104},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-01 19:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111651328001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:24:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-01 19:24:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10350308542644224,"km_value":10350308542644.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:24:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1986861522434863104,"description":"Unknown IO ID 45"} 
[2026-08-01 19:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111651328001,"power":13559,"unknown_101":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1986861522434863104}} 
[2026-08-01 19:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":148754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:24:15] local.INFO: GPS data processed {"connection_id":148754,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:24:15] local.INFO: Acknowledgment sent {"connection_id":148754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:24:15] local.INFO: Packet analysis {"connection_id":148754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd99"} 
[2026-08-01 19:24:15] local.INFO: Extracted packet for processing {"connection_id":148754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd99"} 
[2026-08-01 19:24:15] local.INFO: GPS Element Parsed {"raw_longitude":756779584,"raw_latitude":119450048,"longitude_deg":75.6779584,"latitude_deg":11.9450048,"altitude":103,"angle":308,"satellites":32,"speed":25,"hex_longitude":"2d1b8a40","hex_latitude":"071ea9c0","is_valid_coordinates":true} 
[2026-08-01 19:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111652096001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10350372967153664,"note":"Value kept but may cause issues"} 
[2026-08-01 19:24:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1985524516295952384,"note":"Value kept but may cause issues"} 
[2026-08-01 19:24: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-08-01 19:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785592393000,"timestamp_ms":1785592393000,"timestamp_seconds":1785592393,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd99ad28"} 
[2026-08-01 19:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:24: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-08-01 19:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-01 19:24:15] 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-08-01 19:24:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:24:15] 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-08-01 19:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111652096001,"66":13493,"101":206,"83":41984,"24":25,"16":10350372967153664,"45":1985524516295952384},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-01 19:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111652096001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:24:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-01 19:24:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10350372967153664,"km_value":10350372967153.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:24:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1985524516295952384,"description":"Unknown IO ID 45"} 
[2026-08-01 19:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111652096001,"power":13493,"unknown_101":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1985524516295952384}} 
[2026-08-01 19:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":148754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:24:15] local.INFO: GPS data processed {"connection_id":148754,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:24:15] local.INFO: Acknowledgment sent {"connection_id":148754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:24:19] local.INFO: TCP Data received {"connection_id":148753,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd9914d0012cd4a8c0073777c0000c00eb2a..."} 
[2026-08-01 19:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd9914d0012cd4a8c0073777c0000c00eb2a..."} 
[2026-08-01 19:24:19] local.INFO: Processing buffer {"connection_id":148753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd9914d0012cd4a8c0073777c0000c00eb2a..."} 
[2026-08-01 19:24:19] local.INFO: Packet analysis {"connection_id":148753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd99"} 
[2026-08-01 19:24:19] local.INFO: Extracted packet for processing {"connection_id":148753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd99"} 
[2026-08-01 19:24:19] local.INFO: GPS Element Parsed {"raw_longitude":752134336,"raw_latitude":121075648,"longitude_deg":75.2134336,"latitude_deg":12.1075648,"altitude":12,"angle":235,"satellites":42,"speed":0,"hex_longitude":"2cd4a8c0","hex_latitude":"073777c0","is_valid_coordinates":true} 
[2026-08-01 19:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111565568001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366804002513354752,"note":"Value kept but may cause issues"} 
[2026-08-01 19:24:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3123035204353540096,"note":"Value kept but may cause issues"} 
[2026-08-01 19:24:19] 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-08-01 19:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785592354000,"timestamp_ms":1785592354000,"timestamp_seconds":1785592354,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd9914d0"} 
[2026-08-01 19:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:24:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-01 19:24:19] 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-08-01 19:24:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":148753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":148753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":148753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111565568001,"66":25952,"89":206,"83":43264,"24":0,"16":366804002513354752,"44":-3123035204353540096},"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-08-01 19:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111565568001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:24:19] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:24:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366804002513354752,"km_value":366804002513354.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:24:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3123035204353540096,"description":"Unknown IO ID 44"} 
[2026-08-01 19:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111565568001,"power":25952,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3123035204353540096}} 
[2026-08-01 19:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":148753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:24:19] local.INFO: GPS data processed {"connection_id":148753,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:24:19] local.INFO: Acknowledgment sent {"connection_id":148753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:24:48] local.INFO: TCP Data received {"connection_id":146211,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:24:48] local.INFO: Processing buffer {"connection_id":146211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:24:48] local.INFO: IMEI packet received {"connection_id":146211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 19:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":146211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:24:53] local.INFO: TCP Data received {"connection_id":146211,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:24:53] local.INFO: Processing buffer {"connection_id":146211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:24:53] local.INFO: IMEI packet received {"connection_id":146211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":146211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:24:54] local.INFO: TCP Data received {"connection_id":146211,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd9a6c90012cd4a8c0073777c0000c00eb28..."} 
[2026-08-01 19:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd9a6c90012cd4a8c0073777c0000c00eb28..."} 
[2026-08-01 19:24:54] local.INFO: Processing buffer {"connection_id":146211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd9a6c90012cd4a8c0073777c0000c00eb28..."} 
[2026-08-01 19:24:54] local.INFO: Packet analysis {"connection_id":146211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd9a"} 
[2026-08-01 19:24:54] local.INFO: Extracted packet for processing {"connection_id":146211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd9a"} 
[2026-08-01 19:24:54] local.INFO: GPS Element Parsed {"raw_longitude":752134336,"raw_latitude":121075648,"longitude_deg":75.2134336,"latitude_deg":12.1075648,"altitude":12,"angle":235,"satellites":40,"speed":0,"hex_longitude":"2cd4a8c0","hex_latitude":"073777c0","is_valid_coordinates":true} 
[2026-08-01 19:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111642624001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366804002513354752,"note":"Value kept but may cause issues"} 
[2026-08-01 19:24:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3123035204353540096,"note":"Value kept but may cause issues"} 
[2026-08-01 19:24:54] 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-08-01 19:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785592442000,"timestamp_ms":1785592442000,"timestamp_seconds":1785592442,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd9a6c90"} 
[2026-08-01 19:24:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:24:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 19:24:54] 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-08-01 19:24:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:24:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:24:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111642624001,"66":25843,"89":206,"83":43264,"24":0,"16":366804002513354752,"44":-3123035204353540096},"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-08-01 19:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111642624001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:24:54] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:24:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366804002513354752,"km_value":366804002513354.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:24:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3123035204353540096,"description":"Unknown IO ID 44"} 
[2026-08-01 19:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111642624001,"power":25843,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3123035204353540096}} 
[2026-08-01 19:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":146211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:24:54] local.INFO: GPS data processed {"connection_id":146211,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:24:54] local.INFO: Acknowledgment sent {"connection_id":146211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:24:58] local.INFO: TCP Data received {"connection_id":146211,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd9a6c90012cd4a8c0073777c0000c00eb28..."} 
[2026-08-01 19:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd9a6c90012cd4a8c0073777c0000c00eb28..."} 
[2026-08-01 19:24:58] local.INFO: Processing buffer {"connection_id":146211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd9a6c90012cd4a8c0073777c0000c00eb28..."} 
[2026-08-01 19:24:58] local.INFO: Packet analysis {"connection_id":146211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd9a"} 
[2026-08-01 19:24:58] local.INFO: Extracted packet for processing {"connection_id":146211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd9a"} 
[2026-08-01 19:24:58] local.INFO: GPS Element Parsed {"raw_longitude":752134336,"raw_latitude":121075648,"longitude_deg":75.2134336,"latitude_deg":12.1075648,"altitude":12,"angle":235,"satellites":40,"speed":0,"hex_longitude":"2cd4a8c0","hex_latitude":"073777c0","is_valid_coordinates":true} 
[2026-08-01 19:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111642624001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366804002513354752,"note":"Value kept but may cause issues"} 
[2026-08-01 19:24:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3123035204353540096,"note":"Value kept but may cause issues"} 
[2026-08-01 19:24:58] 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-08-01 19:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785592442000,"timestamp_ms":1785592442000,"timestamp_seconds":1785592442,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd9a6c90"} 
[2026-08-01 19:24:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:24:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 19:24:58] 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-08-01 19:24:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:24:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":146211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":146211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":146211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:24:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111642624001,"66":25843,"89":206,"83":43264,"24":0,"16":366804002513354752,"44":-3123035204353540096},"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-08-01 19:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111642624001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:24:58] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:24:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366804002513354752,"km_value":366804002513354.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:24:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3123035204353540096,"description":"Unknown IO ID 44"} 
[2026-08-01 19:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111642624001,"power":25843,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3123035204353540096}} 
[2026-08-01 19:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":146211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:24:58] local.INFO: GPS data processed {"connection_id":146211,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:24:58] local.INFO: Acknowledgment sent {"connection_id":146211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:25:00] local.INFO: TCP Data received {"connection_id":146451,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:25:00] local.INFO: Processing buffer {"connection_id":146451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:25:00] local.INFO: IMEI packet received {"connection_id":146451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 19:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":146451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:25:01] local.INFO: TCP Data received {"connection_id":146451,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:25:01] local.INFO: Processing buffer {"connection_id":146451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:25:01] local.INFO: IMEI packet received {"connection_id":146451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":146451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:25:03] local.INFO: TCP Data received {"connection_id":146451,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:25:03] local.INFO: Processing buffer {"connection_id":146451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:25:03] local.INFO: IMEI packet received {"connection_id":146451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":146451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:25:04] local.INFO: TCP Data received {"connection_id":146451,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:25:04] local.INFO: Processing buffer {"connection_id":146451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:25:04] local.INFO: IMEI packet received {"connection_id":146451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":146451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:25:43] local.INFO: TCP Data received {"connection_id":146452,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:25:43] local.INFO: Processing buffer {"connection_id":146452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:25:43] local.INFO: IMEI packet received {"connection_id":146452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 19:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":146452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:25:48] local.INFO: TCP Data received {"connection_id":146452,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:25:48] local.INFO: Processing buffer {"connection_id":146452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:25:48] local.INFO: IMEI packet received {"connection_id":146452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":146452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:25:49] local.INFO: TCP Data received {"connection_id":146452,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd9aca50012cd4aa4007377810000c00eb2a..."} 
[2026-08-01 19:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd9aca50012cd4aa4007377810000c00eb2a..."} 
[2026-08-01 19:25:49] local.INFO: Processing buffer {"connection_id":146452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd9aca50012cd4aa4007377810000c00eb2a..."} 
[2026-08-01 19:25:49] local.INFO: Packet analysis {"connection_id":146452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd9a"} 
[2026-08-01 19:25:49] local.INFO: Extracted packet for processing {"connection_id":146452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd9a"} 
[2026-08-01 19:25:49] local.INFO: GPS Element Parsed {"raw_longitude":752134720,"raw_latitude":121075728,"longitude_deg":75.213472,"latitude_deg":12.1075728,"altitude":12,"angle":235,"satellites":42,"speed":0,"hex_longitude":"2cd4aa40","hex_latitude":"07377810","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:25:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111665152001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:25:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366804002513354752,"note":"Value kept but may cause issues"} 
[2026-08-01 19:25:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3123035204353540096,"note":"Value kept but may cause issues"} 
[2026-08-01 19:25:49] 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-08-01 19:25:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785592466000,"timestamp_ms":1785592466000,"timestamp_seconds":1785592466,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd9aca50"} 
[2026-08-01 19:25:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:25: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-08-01 19:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-01 19:25:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:25:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:25:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:25:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:25:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:25:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:25:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:25:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:25:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:25:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111665152001,"66":27343,"89":206,"83":43264,"24":0,"16":366804002513354752,"44":-3123035204353540096},"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-08-01 19:25:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:25:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:25:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111665152001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:25:49] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:25:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:25:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366804002513354752,"km_value":366804002513354.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:25:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3123035204353540096,"description":"Unknown IO ID 44"} 
[2026-08-01 19:25:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111665152001,"power":27343,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3123035204353540096}} 
[2026-08-01 19:25:49] local.INFO: DEBUG: GPS processor result {"connection_id":146452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:25:49] local.INFO: GPS data processed {"connection_id":146452,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:25:49] local.INFO: Acknowledgment sent {"connection_id":146452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:26:20] local.INFO: TCP Data received {"connection_id":146452,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd9b1c58012cd4aa4007377810000c00eb2b..."} 
[2026-08-01 19:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd9b1c58012cd4aa4007377810000c00eb2b..."} 
[2026-08-01 19:26:20] local.INFO: Processing buffer {"connection_id":146452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd9b1c58012cd4aa4007377810000c00eb2b..."} 
[2026-08-01 19:26:20] local.INFO: Packet analysis {"connection_id":146452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd9b"} 
[2026-08-01 19:26:20] local.INFO: Extracted packet for processing {"connection_id":146452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd9b"} 
[2026-08-01 19:26:20] local.INFO: GPS Element Parsed {"raw_longitude":752134720,"raw_latitude":121075728,"longitude_deg":75.213472,"latitude_deg":12.1075728,"altitude":12,"angle":235,"satellites":43,"speed":0,"hex_longitude":"2cd4aa40","hex_latitude":"07377810","is_valid_coordinates":true} 
[2026-08-01 19:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111671296001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366804002513354752,"note":"Value kept but may cause issues"} 
[2026-08-01 19:26:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3122612991888453632,"note":"Value kept but may cause issues"} 
[2026-08-01 19:26:20] 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-08-01 19:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785592487000,"timestamp_ms":1785592487000,"timestamp_seconds":1785592487,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd9b1c58"} 
[2026-08-01 19:26:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:26: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-08-01 19:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-01 19:26:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:26:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:26:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:26:20] 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-08-01 19:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111671296001,"66":27332,"89":206,"83":43264,"24":0,"16":366804002513354752,"44":-3122612991888453632},"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-08-01 19:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111671296001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:26:20] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:26:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366804002513354752,"km_value":366804002513354.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:26:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3122612991888453632,"description":"Unknown IO ID 44"} 
[2026-08-01 19:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111671296001,"power":27332,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3122612991888453632}} 
[2026-08-01 19:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":146452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:26:20] local.INFO: GPS data processed {"connection_id":146452,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:26:20] local.INFO: Acknowledgment sent {"connection_id":146452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:26:43] local.INFO: TCP Data received {"connection_id":148756,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:26:43] local.INFO: Processing buffer {"connection_id":148756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:26:43] local.INFO: IMEI packet received {"connection_id":148756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 19:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":148756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:26:44] local.INFO: TCP Data received {"connection_id":148756,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:26:44] local.INFO: Processing buffer {"connection_id":148756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:26:44] local.INFO: IMEI packet received {"connection_id":148756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":148756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:26:48] local.INFO: TCP Data received {"connection_id":148756,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:26:48] local.INFO: Processing buffer {"connection_id":148756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:26:48] local.INFO: IMEI packet received {"connection_id":148756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":148756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:26:49] local.INFO: TCP Data received {"connection_id":148756,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd9b3b98012cd4a940073778700009010f2c..."} 
[2026-08-01 19:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd9b3b98012cd4a940073778700009010f2c..."} 
[2026-08-01 19:26:49] local.INFO: Processing buffer {"connection_id":148756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd9b3b98012cd4a940073778700009010f2c..."} 
[2026-08-01 19:26:49] local.INFO: Packet analysis {"connection_id":148756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd9b"} 
[2026-08-01 19:26:49] local.INFO: Extracted packet for processing {"connection_id":148756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd9b"} 
[2026-08-01 19:26:49] local.INFO: GPS Element Parsed {"raw_longitude":752134464,"raw_latitude":121075824,"longitude_deg":75.2134464,"latitude_deg":12.1075824,"altitude":9,"angle":271,"satellites":44,"speed":4,"hex_longitude":"2cd4a940","hex_latitude":"07377870","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111676672001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366804011103289344,"note":"Value kept but may cause issues"} 
[2026-08-01 19:26:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3122612991888453632,"note":"Value kept but may cause issues"} 
[2026-08-01 19:26:49] 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-08-01 19:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785592495000,"timestamp_ms":1785592495000,"timestamp_seconds":1785592495,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd9b3b98"} 
[2026-08-01 19:26:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:26:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 19:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-01 19:26:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:26:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:26:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111676672001,"66":27310,"89":206,"83":43264,"24":4,"16":366804011103289344,"44":-3122612991888453632},"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-08-01 19:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111676672001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:26:49] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:26:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366804011103289344,"km_value":366804011103289.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:26:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3122612991888453632,"description":"Unknown IO ID 44"} 
[2026-08-01 19:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111676672001,"power":27310,"unknown_89":206,"unknown_83":43264,"ignition":4,"odometer":null,"unknown_44":-3122612991888453632}} 
[2026-08-01 19:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":148756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:26:49] local.INFO: GPS data processed {"connection_id":148756,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:26:49] local.INFO: Acknowledgment sent {"connection_id":148756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:27:20] local.INFO: TCP Data received {"connection_id":148756,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd9b3f80012cd4a88007377858000901022c..."} 
[2026-08-01 19:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd9b3f80012cd4a88007377858000901022c..."} 
[2026-08-01 19:27:20] local.INFO: Processing buffer {"connection_id":148756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd9b3f80012cd4a88007377858000901022c..."} 
[2026-08-01 19:27:20] local.INFO: Packet analysis {"connection_id":148756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd9b"} 
[2026-08-01 19:27:20] local.INFO: Extracted packet for processing {"connection_id":148756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd9b"} 
[2026-08-01 19:27:20] local.INFO: GPS Element Parsed {"raw_longitude":752134272,"raw_latitude":121075800,"longitude_deg":75.2134272,"latitude_deg":12.10758,"altitude":9,"angle":258,"satellites":44,"speed":7,"hex_longitude":"2cd4a880","hex_latitude":"07377858","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111678720001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366804023988191232,"note":"Value kept but may cause issues"} 
[2026-08-01 19:27:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3122894466865139712,"note":"Value kept but may cause issues"} 
[2026-08-01 19:27:20] 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-08-01 19:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785592496000,"timestamp_ms":1785592496000,"timestamp_seconds":1785592496,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd9b3f80"} 
[2026-08-01 19:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 19:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-01 19:27:20] 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-08-01 19: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-08-01 19:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:27:20] 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-08-01 19:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111678720001,"66":27332,"89":206,"83":43264,"24":7,"16":366804023988191232,"44":-3122894466865139712},"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-08-01 19:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111678720001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:27:20] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:27:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366804023988191232,"km_value":366804023988191.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:27:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3122894466865139712,"description":"Unknown IO ID 44"} 
[2026-08-01 19:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111678720001,"power":27332,"unknown_89":206,"unknown_83":43264,"ignition":7,"odometer":null,"unknown_44":-3122894466865139712}} 
[2026-08-01 19:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":148756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:27:20] local.INFO: GPS data processed {"connection_id":148756,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:27:20] local.INFO: Acknowledgment sent {"connection_id":148756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:27:43] local.INFO: TCP Data received {"connection_id":147446,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:27:43] local.INFO: Processing buffer {"connection_id":147446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:27:43] local.INFO: IMEI packet received {"connection_id":147446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 19:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":147446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:28:13] local.INFO: TCP Data received {"connection_id":146453,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:28:13] local.INFO: Processing buffer {"connection_id":146453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:28:13] local.INFO: IMEI packet received {"connection_id":146453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 19:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":146453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:28:13] local.INFO: TCP Data received {"connection_id":146453,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:28:13] local.INFO: Processing buffer {"connection_id":146453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:28:14] local.INFO: IMEI packet received {"connection_id":146453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":146453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:28:18] local.INFO: TCP Data received {"connection_id":146453,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:28:18] local.INFO: Processing buffer {"connection_id":146453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:28:18] local.INFO: IMEI packet received {"connection_id":146453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":146453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:28:19] local.INFO: TCP Data received {"connection_id":146453,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd9da0e0012cd428c007375b90001101282a..."} 
[2026-08-01 19:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd9da0e0012cd428c007375b90001101282a..."} 
[2026-08-01 19:28:19] local.INFO: Processing buffer {"connection_id":146453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd9da0e0012cd428c007375b90001101282a..."} 
[2026-08-01 19:28:19] local.INFO: Packet analysis {"connection_id":146453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd9d"} 
[2026-08-01 19:28:19] local.INFO: Extracted packet for processing {"connection_id":146453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd9d"} 
[2026-08-01 19:28:19] local.INFO: GPS Element Parsed {"raw_longitude":752101568,"raw_latitude":121068432,"longitude_deg":75.2101568,"latitude_deg":12.1068432,"altitude":17,"angle":296,"satellites":42,"speed":8,"hex_longitude":"2cd428c0","hex_latitude":"07375b90","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:28:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111718656001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:28:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366805634600927232,"note":"Value kept but may cause issues"} 
[2026-08-01 19:28:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3158782526397659136,"note":"Value kept but may cause issues"} 
[2026-08-01 19:28:19] 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-08-01 19:28:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785592652000,"timestamp_ms":1785592652000,"timestamp_seconds":1785592652,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd9da0e0"} 
[2026-08-01 19:28:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:28: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-08-01 19: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-01 19:28:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:28:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:28:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:28:19] local.INFO: Teltonika packet parsed successfully {"connection_id":146453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:28:19] local.INFO: Passing IMEI to GPS processor {"connection_id":146453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:28:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":146453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:28:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:28:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:28:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:28:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111718656001,"66":27376,"89":206,"83":43264,"24":8,"16":366805634600927232,"44":-3158782526397659136},"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-08-01 19:28:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:28:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:28:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111718656001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:28:19] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:28:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:28:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366805634600927232,"km_value":366805634600927.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:28:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3158782526397659136,"description":"Unknown IO ID 44"} 
[2026-08-01 19:28:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111718656001,"power":27376,"unknown_89":206,"unknown_83":43264,"ignition":8,"odometer":null,"unknown_44":-3158782526397659136}} 
[2026-08-01 19:28:19] local.INFO: DEBUG: GPS processor result {"connection_id":146453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:28:19] local.INFO: GPS data processed {"connection_id":146453,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:28:19] local.INFO: Acknowledgment sent {"connection_id":146453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:28:48] local.INFO: TCP Data received {"connection_id":148757,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:28:48] local.INFO: Processing buffer {"connection_id":148757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:28:48] local.INFO: IMEI packet received {"connection_id":148757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 19:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":148757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:28:51] local.INFO: TCP Data received {"connection_id":148757,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:28:51] local.INFO: Processing buffer {"connection_id":148757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:28:51] local.INFO: IMEI packet received {"connection_id":148757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":148757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:28:53] local.INFO: TCP Data received {"connection_id":148757,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd9da4c8012cd4280007375c280010013e2a..."} 
[2026-08-01 19:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd9da4c8012cd4280007375c280010013e2a..."} 
[2026-08-01 19:28:53] local.INFO: Processing buffer {"connection_id":148757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd9da4c8012cd4280007375c280010013e2a..."} 
[2026-08-01 19:28:53] local.INFO: Packet analysis {"connection_id":148757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd9d"} 
[2026-08-01 19:28:53] local.INFO: Extracted packet for processing {"connection_id":148757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd9d"} 
[2026-08-01 19:28:53] local.INFO: GPS Element Parsed {"raw_longitude":752101376,"raw_latitude":121068584,"longitude_deg":75.2101376,"latitude_deg":12.1068584,"altitude":16,"angle":318,"satellites":42,"speed":9,"hex_longitude":"2cd42800","hex_latitude":"07375c28","is_valid_coordinates":true} 
[2026-08-01 19:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:28:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111718912001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:28:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366805647485829120,"note":"Value kept but may cause issues"} 
[2026-08-01 19:28:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3159064001374351360,"note":"Value kept but may cause issues"} 
[2026-08-01 19:28:53] 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-08-01 19:28:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785592653000,"timestamp_ms":1785592653000,"timestamp_seconds":1785592653,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd9da4c8"} 
[2026-08-01 19:28:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:28:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 19:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-01 19:28:53] 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-08-01 19:28:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:28:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:28:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:28:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:28:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:28:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:28:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:28:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:28:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:28:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111718912001,"66":27376,"89":206,"83":43264,"24":9,"16":366805647485829120,"44":-3159064001374351360},"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-08-01 19:28:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:28:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:28:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111718912001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:28:53] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:28:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:28:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366805647485829120,"km_value":366805647485829.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:28:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3159064001374351360,"description":"Unknown IO ID 44"} 
[2026-08-01 19:28:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111718912001,"power":27376,"unknown_89":206,"unknown_83":43264,"ignition":9,"odometer":null,"unknown_44":-3159064001374351360}} 
[2026-08-01 19:28:53] local.INFO: DEBUG: GPS processor result {"connection_id":148757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:28:53] local.INFO: GPS data processed {"connection_id":148757,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:28:53] local.INFO: Acknowledgment sent {"connection_id":148757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:28:54] local.INFO: TCP Data received {"connection_id":148757,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd9da8b0012cd427c007375ce8001001512b..."} 
[2026-08-01 19:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd9da8b0012cd427c007375ce8001001512b..."} 
[2026-08-01 19:28:54] local.INFO: Processing buffer {"connection_id":148757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd9da8b0012cd427c007375ce8001001512b..."} 
[2026-08-01 19:28:54] local.INFO: Packet analysis {"connection_id":148757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd9d"} 
[2026-08-01 19:28:54] local.INFO: Extracted packet for processing {"connection_id":148757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd9d"} 
[2026-08-01 19:28:54] local.INFO: GPS Element Parsed {"raw_longitude":752101312,"raw_latitude":121068776,"longitude_deg":75.2101312,"latitude_deg":12.1068776,"altitude":16,"angle":337,"satellites":43,"speed":9,"hex_longitude":"2cd427c0","hex_latitude":"07375ce8","is_valid_coordinates":true} 
[2026-08-01 19:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111719168001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366805660370731008,"note":"Value kept but may cause issues"} 
[2026-08-01 19:28:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3159275107606845440,"note":"Value kept but may cause issues"} 
[2026-08-01 19:28:54] 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-08-01 19:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785592654000,"timestamp_ms":1785592654000,"timestamp_seconds":1785592654,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd9da8b0"} 
[2026-08-01 19:28:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:28:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 19:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-01 19:28:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:28:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:28:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:28:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111719168001,"66":27300,"89":206,"83":43264,"24":9,"16":366805660370731008,"44":-3159275107606845440},"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-08-01 19:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111719168001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:28:54] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:28:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366805660370731008,"km_value":366805660370731.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:28:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3159275107606845440,"description":"Unknown IO ID 44"} 
[2026-08-01 19:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111719168001,"power":27300,"unknown_89":206,"unknown_83":43264,"ignition":9,"odometer":null,"unknown_44":-3159275107606845440}} 
[2026-08-01 19:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":148757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:28:54] local.INFO: GPS data processed {"connection_id":148757,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:28:54] local.INFO: Acknowledgment sent {"connection_id":148757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:29:25] local.INFO: TCP Data received {"connection_id":148757,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd9dac98012cd4274007375db8001001652c..."} 
[2026-08-01 19:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd9dac98012cd4274007375db8001001652c..."} 
[2026-08-01 19:29:25] local.INFO: Processing buffer {"connection_id":148757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd9dac98012cd4274007375db8001001652c..."} 
[2026-08-01 19:29:25] local.INFO: Packet analysis {"connection_id":148757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd9d"} 
[2026-08-01 19:29:25] local.INFO: Extracted packet for processing {"connection_id":148757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd9d"} 
[2026-08-01 19:29:25] local.INFO: GPS Element Parsed {"raw_longitude":752101184,"raw_latitude":121068984,"longitude_deg":75.2101184,"latitude_deg":12.1068984,"altitude":16,"angle":357,"satellites":44,"speed":7,"hex_longitude":"2cd42740","hex_latitude":"07375db8","is_valid_coordinates":true} 
[2026-08-01 19:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111719424001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366805668960665600,"note":"Value kept but may cause issues"} 
[2026-08-01 19:29:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3159345476350973952,"note":"Value kept but may cause issues"} 
[2026-08-01 19:29:25] 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-08-01 19:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785592655000,"timestamp_ms":1785592655000,"timestamp_seconds":1785592655,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd9dac98"} 
[2026-08-01 19:29:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:29:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 19:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-01 19:29:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:29:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:29:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:29:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111719424001,"66":27300,"89":206,"83":43264,"24":7,"16":366805668960665600,"44":-3159345476350973952},"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-08-01 19:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111719424001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:29:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-01 19:29:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366805668960665600,"km_value":366805668960665.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:29:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3159345476350973952,"description":"Unknown IO ID 44"} 
[2026-08-01 19:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111719424001,"power":27300,"unknown_89":206,"unknown_83":43264,"ignition":7,"odometer":null,"unknown_44":-3159345476350973952}} 
[2026-08-01 19:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":148757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:29:25] local.INFO: GPS data processed {"connection_id":148757,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:29:25] local.INFO: Acknowledgment sent {"connection_id":148757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:29:50] local.INFO: TCP Data received {"connection_id":146213,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:29:50] local.INFO: Processing buffer {"connection_id":146213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:29:50] local.INFO: IMEI packet received {"connection_id":146213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 19:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":146213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:29:51] local.INFO: TCP Data received {"connection_id":146213,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:29:51] local.INFO: Processing buffer {"connection_id":146213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:29:51] local.INFO: IMEI packet received {"connection_id":146213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":146213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:29:52] local.INFO: TCP Data received {"connection_id":146213,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:29:52] local.INFO: Processing buffer {"connection_id":146213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:29:52] local.INFO: IMEI packet received {"connection_id":146213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":146213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:29:53] local.INFO: TCP Data received {"connection_id":146213,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:29:53] local.INFO: Processing buffer {"connection_id":146213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:29:53] local.INFO: IMEI packet received {"connection_id":146213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":146213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:30:09] local.INFO: TCP Data received {"connection_id":146455,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146455,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:30:09] local.INFO: Processing buffer {"connection_id":146455,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:30:09] local.INFO: IMEI packet received {"connection_id":146455,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 19:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":146455,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:30:10] local.INFO: TCP Data received {"connection_id":146455,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd9e4cc0012d197100071feaa00036011626..."} 
[2026-08-01 19:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd9e4cc0012d197100071feaa00036011626..."} 
[2026-08-01 19:30:10] local.INFO: Processing buffer {"connection_id":146455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd9e4cc0012d197100071feaa00036011626..."} 
[2026-08-01 19:30:10] local.INFO: Packet analysis {"connection_id":146455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd9e"} 
[2026-08-01 19:30:10] local.INFO: Extracted packet for processing {"connection_id":146455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd9e"} 
[2026-08-01 19:30:10] local.INFO: GPS Element Parsed {"raw_longitude":756642048,"raw_latitude":119532192,"longitude_deg":75.6642048,"latitude_deg":11.9532192,"altitude":54,"angle":278,"satellites":38,"speed":14,"hex_longitude":"2d197100","hex_latitude":"071feaa0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 19:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111728896001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360075298275328,"note":"Value kept but may cause issues"} 
[2026-08-01 19:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1835568722474600448,"note":"Value kept but may cause issues"} 
[2026-08-01 19: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-08-01 19:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785592696000,"timestamp_ms":1785592696000,"timestamp_seconds":1785592696,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd9e4cc0"} 
[2026-08-01 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-08-01 19:30: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-08-01 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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-01 19:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 19:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:30: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-08-01 19:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111728896001,"66":13059,"102":206,"83":41984,"24":14,"16":10360075298275328,"45":1835568722474600448},"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-08-01 19:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111728896001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:30:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:30:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360075298275328,"km_value":10360075298275.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1835568722474600448,"description":"Unknown IO ID 45"} 
[2026-08-01 19:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111728896001,"power":13059,"unknown_102":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1835568722474600448}} 
[2026-08-01 19:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":146455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:30:10] local.INFO: GPS data processed {"connection_id":146455,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:30:10] local.INFO: Acknowledgment sent {"connection_id":146455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:30:41] local.INFO: TCP Data received {"connection_id":146455,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd9e6430012d196b80071feb580038010826..."} 
[2026-08-01 19:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd9e6430012d196b80071feb580038010826..."} 
[2026-08-01 19:30:41] local.INFO: Processing buffer {"connection_id":146455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd9e6430012d196b80071feb580038010826..."} 
[2026-08-01 19:30:41] local.INFO: Packet analysis {"connection_id":146455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd9e"} 
[2026-08-01 19:30:41] local.INFO: Extracted packet for processing {"connection_id":146455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd9e"} 
[2026-08-01 19:30:41] local.INFO: GPS Element Parsed {"raw_longitude":756640640,"raw_latitude":119532376,"longitude_deg":75.664064,"latitude_deg":11.9532376,"altitude":56,"angle":264,"satellites":38,"speed":8,"hex_longitude":"2d196b80","hex_latitude":"071feb58","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111730176001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360148312719360,"note":"Value kept but may cause issues"} 
[2026-08-01 19:30:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833246553916743680,"note":"Value kept but may cause issues"} 
[2026-08-01 19: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-08-01 19:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785592702000,"timestamp_ms":1785592702000,"timestamp_seconds":1785592702,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd9e6430"} 
[2026-08-01 19:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19: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-08-01 19: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-01 19:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303171032370552,"note":"Value kept but may cause issues"} 
[2026-08-01 19:30:41] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-01 19:30:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-01 19:30:41] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3181238160,"note":"Value kept but may cause issues"} 
[2026-08-01 19:30:41] local.WARNING: Large IO value detected {"io_id":189,"raw_value":2652246017,"note":"Value kept but may cause issues"} 
[2026-08-01 19:30:41] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4042784822,"note":"Value kept but may cause issues"} 
[2026-08-01 19:30:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-01 19:30:41] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2684407160,"note":"Value kept but may cause issues"} 
[2026-08-01 19:30:41] local.WARNING: Large IO value detected {"io_id":101,"raw_value":58075809043709966,"note":"Value kept but may cause issues"} 
[2026-08-01 19:30:41] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3454795776,"note":"Value kept but may cause issues"} 
[2026-08-01 19:30:41] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,102,83,24,241,157,16,206,159,57,45,64,234,54,37,10,66,49,128,38,29,1,240,138,227,189,31,4,113,205,17,223,239,52,101,2,36,7,14],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-01 19:30:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3891415905490305024,"timestamp_seconds":3891415905490305.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-01 19:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":146455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":146455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":146455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:30:41] 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-08-01 19:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111730176001,"66":12287,"102":206,"83":41984,"24":8,"16":10360148312719360,"45":1833246553916743680},"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-08-01 19:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111730176001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:30:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:30:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360148312719360,"km_value":10360148312719.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:30:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833246553916743680,"description":"Unknown IO ID 45"} 
[2026-08-01 19:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111730176001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1833246553916743680}} 
[2026-08-01 19:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":146455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:30:41] local.INFO: GPS data processed {"connection_id":146455,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:30:41] local.INFO: Acknowledgment sent {"connection_id":146455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:30:59] local.INFO: TCP Data received {"connection_id":146215,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146215,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:30:59] local.INFO: Processing buffer {"connection_id":146215,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:30:59] local.INFO: IMEI packet received {"connection_id":146215,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 19:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":146215,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:31:04] local.INFO: TCP Data received {"connection_id":146215,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146215,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:31:04] local.INFO: Processing buffer {"connection_id":146215,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:31:04] local.INFO: IMEI packet received {"connection_id":146215,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":146215,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:31:05] local.INFO: TCP Data received {"connection_id":146215,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd9e6c00012d1969c0071feb800039011425..."} 
[2026-08-01 19:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd9e6c00012d1969c0071feb800039011425..."} 
[2026-08-01 19:31:05] local.INFO: Processing buffer {"connection_id":146215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd9e6c00012d1969c0071feb800039011425..."} 
[2026-08-01 19:31:05] local.INFO: Packet analysis {"connection_id":146215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd9e"} 
[2026-08-01 19:31:05] local.INFO: Extracted packet for processing {"connection_id":146215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd9e"} 
[2026-08-01 19:31:05] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532416,"longitude_deg":75.6640192,"latitude_deg":11.9532416,"altitude":57,"angle":276,"satellites":37,"speed":8,"hex_longitude":"2d1969c0","hex_latitude":"071feb80","is_valid_coordinates":true} 
[2026-08-01 19:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111731712001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360169787555840,"note":"Value kept but may cause issues"} 
[2026-08-01 19:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831698441544882176,"note":"Value kept but may cause issues"} 
[2026-08-01 19:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785592704000,"timestamp_ms":1785592704000,"timestamp_seconds":1785592704,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd9e6c00"} 
[2026-08-01 19:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:31: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-08-01 19:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-01 19:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:31:05] 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-08-01 19:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111731712001,"66":13048,"102":206,"83":41984,"24":8,"16":10360169787555840,"45":1831698441544882176},"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-08-01 19:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111731712001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:31:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:31:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360169787555840,"km_value":10360169787555.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831698441544882176,"description":"Unknown IO ID 45"} 
[2026-08-01 19:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111731712001,"power":13048,"unknown_102":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1831698441544882176}} 
[2026-08-01 19:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":146215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578872,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:31:05] local.INFO: GPS data processed {"connection_id":146215,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:31:05] local.INFO: Acknowledgment sent {"connection_id":146215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:31:36] local.INFO: TCP Data received {"connection_id":146215,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd9e6fe8012d196900071febe0003a012d25..."} 
[2026-08-01 19:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd9e6fe8012d196900071febe0003a012d25..."} 
[2026-08-01 19:31:36] local.INFO: Processing buffer {"connection_id":146215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd9e6fe8012d196900071febe0003a012d25..."} 
[2026-08-01 19:31:36] local.INFO: Packet analysis {"connection_id":146215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd9e"} 
[2026-08-01 19:31:36] local.INFO: Extracted packet for processing {"connection_id":146215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd9e"} 
[2026-08-01 19:31:36] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532512,"longitude_deg":75.664,"latitude_deg":11.9532512,"altitude":58,"angle":301,"satellites":37,"speed":7,"hex_longitude":"2d196900","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111732224001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360178377490432,"note":"Value kept but may cause issues"} 
[2026-08-01 19:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335648768,"note":"Value kept but may cause issues"} 
[2026-08-01 19:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785592705000,"timestamp_ms":1785592705000,"timestamp_seconds":1785592705,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd9e6fe8"} 
[2026-08-01 19:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 19: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-01 19:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:31:36] 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-08-01 19:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111732224001,"66":13091,"102":206,"83":41984,"24":7,"16":10360178377490432,"45":1831205860335648768},"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-08-01 19:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111732224001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:31:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:31:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360178377490432,"km_value":10360178377490.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335648768,"description":"Unknown IO ID 45"} 
[2026-08-01 19:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111732224001,"power":13091,"unknown_102":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1831205860335648768}} 
[2026-08-01 19:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":146215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:31:36] local.INFO: GPS data processed {"connection_id":146215,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:31:36] local.INFO: Acknowledgment sent {"connection_id":146215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:32:04] local.INFO: TCP Data received {"connection_id":146456,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146456,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:32:04] local.INFO: Processing buffer {"connection_id":146456,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:32:04] local.INFO: IMEI packet received {"connection_id":146456,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 19:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":146456,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:32:10] local.INFO: TCP Data received {"connection_id":146456,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146456,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:32:10] local.INFO: Processing buffer {"connection_id":146456,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:32:10] local.INFO: IMEI packet received {"connection_id":146456,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":146456,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:32:10] local.INFO: TCP Data received {"connection_id":146456,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd9e73d0012d196880071fec88003b015125..."} 
[2026-08-01 19:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd9e73d0012d196880071fec88003b015125..."} 
[2026-08-01 19:32:10] local.INFO: Processing buffer {"connection_id":146456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd9e73d0012d196880071fec88003b015125..."} 
[2026-08-01 19:32:10] local.INFO: Packet analysis {"connection_id":146456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd9e"} 
[2026-08-01 19:32:10] local.INFO: Extracted packet for processing {"connection_id":146456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd9e"} 
[2026-08-01 19:32:10] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532680,"longitude_deg":75.6639872,"latitude_deg":11.953268,"altitude":59,"angle":337,"satellites":37,"speed":7,"hex_longitude":"2d196880","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111732480001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360186967425024,"note":"Value kept but may cause issues"} 
[2026-08-01 19:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103140352,"note":"Value kept but may cause issues"} 
[2026-08-01 19: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-08-01 19:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785592706000,"timestamp_ms":1785592706000,"timestamp_seconds":1785592706,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd9e73d0"} 
[2026-08-01 19:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19: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-08-01 19: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-01 19:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:32: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-08-01 19:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111732480001,"66":13091,"102":206,"83":41984,"24":7,"16":10360186967425024,"45":1830994754103140352},"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-08-01 19:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111732480001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:32:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:32:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360186967425024,"km_value":10360186967425.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103140352,"description":"Unknown IO ID 45"} 
[2026-08-01 19:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111732480001,"power":13091,"unknown_102":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1830994754103140352}} 
[2026-08-01 19:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":146456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:32:10] local.INFO: GPS data processed {"connection_id":146456,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:32:10] local.INFO: Acknowledgment sent {"connection_id":146456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:32:41] local.INFO: TCP Data received {"connection_id":146456,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd9e7f88012d196880071fed78003c015126..."} 
[2026-08-01 19:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd9e7f88012d196880071fed78003c015126..."} 
[2026-08-01 19:32:41] local.INFO: Processing buffer {"connection_id":146456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd9e7f88012d196880071fed78003c015126..."} 
[2026-08-01 19:32:41] local.INFO: Packet analysis {"connection_id":146456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd9e"} 
[2026-08-01 19:32:41] local.INFO: Extracted packet for processing {"connection_id":146456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd9e"} 
[2026-08-01 19:32:41] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532920,"longitude_deg":75.6639872,"latitude_deg":11.953292,"altitude":60,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-01 19:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111732736001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614828032,"note":"Value kept but may cause issues"} 
[2026-08-01 19: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-08-01 19:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785592709000,"timestamp_ms":1785592709000,"timestamp_seconds":1785592709,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd9e7f88"} 
[2026-08-01 19:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19: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-08-01 19: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-01 19:32: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-08-01 19: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-08-01 19:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":146456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":146456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":146456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:32: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-08-01 19:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111732736001,"66":13102,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830854016614828032},"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-08-01 19:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111732736001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:32:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:32:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614828032,"description":"Unknown IO ID 45"} 
[2026-08-01 19:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111732736001,"power":13102,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614828032}} 
[2026-08-01 19:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":146456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578875,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:32:41] local.INFO: GPS data processed {"connection_id":146456,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:32:41] local.INFO: Acknowledgment sent {"connection_id":146456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:32:59] local.INFO: TCP Data received {"connection_id":146457,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:32:59] local.INFO: Processing buffer {"connection_id":146457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:32:59] local.INFO: IMEI packet received {"connection_id":146457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 19:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":146457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:33:05] local.INFO: TCP Data received {"connection_id":146457,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:33:05] local.INFO: Processing buffer {"connection_id":146457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:33:05] local.INFO: IMEI packet received {"connection_id":146457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":146457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:33:05] local.INFO: TCP Data received {"connection_id":146457,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd9e7f88012d196880071fed78003c015126..."} 
[2026-08-01 19:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd9e7f88012d196880071fed78003c015126..."} 
[2026-08-01 19:33:05] local.INFO: Processing buffer {"connection_id":146457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd9e7f88012d196880071fed78003c015126..."} 
[2026-08-01 19:33:05] local.INFO: Packet analysis {"connection_id":146457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd9e"} 
[2026-08-01 19:33:05] local.INFO: Extracted packet for processing {"connection_id":146457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd9e"} 
[2026-08-01 19:33:05] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532920,"longitude_deg":75.6639872,"latitude_deg":11.953292,"altitude":60,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-01 19:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111733504001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614889472,"note":"Value kept but may cause issues"} 
[2026-08-01 19:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785592709000,"timestamp_ms":1785592709000,"timestamp_seconds":1785592709,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd9e7f88"} 
[2026-08-01 19:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:33:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-01 19:33:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:33:05] 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-08-01 19:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111733504001,"66":13102,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830854016614889472},"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-08-01 19:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111733504001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:33:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:33:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614889472,"description":"Unknown IO ID 45"} 
[2026-08-01 19:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111733504001,"power":13102,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614889472}} 
[2026-08-01 19:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":146457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:33:05] local.INFO: GPS data processed {"connection_id":146457,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:33:05] local.INFO: Acknowledgment sent {"connection_id":146457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:33:36] local.INFO: TCP Data received {"connection_id":146457,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd9e7f88012d196880071fed78003c015126..."} 
[2026-08-01 19:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd9e7f88012d196880071fed78003c015126..."} 
[2026-08-01 19:33:36] local.INFO: Processing buffer {"connection_id":146457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd9e7f88012d196880071fed78003c015126..."} 
[2026-08-01 19:33:36] local.INFO: Packet analysis {"connection_id":146457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd9e"} 
[2026-08-01 19:33:36] local.INFO: Extracted packet for processing {"connection_id":146457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd9e"} 
[2026-08-01 19:33:36] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532920,"longitude_deg":75.6639872,"latitude_deg":11.953292,"altitude":60,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-01 19:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111733504001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614889472,"note":"Value kept but may cause issues"} 
[2026-08-01 19:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785592709000,"timestamp_ms":1785592709000,"timestamp_seconds":1785592709,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd9e7f88"} 
[2026-08-01 19:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-01 19:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:33:36] 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-08-01 19:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111733504001,"66":13102,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830854016614889472},"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-08-01 19:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111733504001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:33:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:33:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614889472,"description":"Unknown IO ID 45"} 
[2026-08-01 19:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111733504001,"power":13102,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614889472}} 
[2026-08-01 19:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":146457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:33:37] local.INFO: GPS data processed {"connection_id":146457,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:33:37] local.INFO: Acknowledgment sent {"connection_id":146457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:34:00] local.INFO: TCP Data received {"connection_id":147449,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147449,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:34:00] local.INFO: Processing buffer {"connection_id":147449,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:34:00] local.INFO: IMEI packet received {"connection_id":147449,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 19:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":147449,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:34:05] local.INFO: TCP Data received {"connection_id":147449,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147449,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:34:05] local.INFO: Processing buffer {"connection_id":147449,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:34:05] local.INFO: IMEI packet received {"connection_id":147449,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":147449,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:34:05] local.INFO: TCP Data received {"connection_id":147449,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbd9e7f88012d196880071fed78003c015126..."} 
[2026-08-01 19:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbd9e7f88012d196880071fed78003c015126..."} 
[2026-08-01 19:34:05] local.INFO: Processing buffer {"connection_id":147449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbd9e7f88012d196880071fed78003c015126..."} 
[2026-08-01 19:34:05] local.INFO: Packet analysis {"connection_id":147449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbd9e"} 
[2026-08-01 19:34:05] local.INFO: Extracted packet for processing {"connection_id":147449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbd9e"} 
[2026-08-01 19:34:05] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532920,"longitude_deg":75.6639872,"latitude_deg":11.953292,"altitude":60,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-01 19:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111733504001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614889472,"note":"Value kept but may cause issues"} 
[2026-08-01 19:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785592709000,"timestamp_ms":1785592709000,"timestamp_seconds":1785592709,"priority":1,"record_length":96,"hex_timestamp":"0000019fbd9e7f88"} 
[2026-08-01 19:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-01 19:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:34:05] 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-08-01 19:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111733504001,"66":13102,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830854016614889472},"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-08-01 19:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111733504001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:34:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:34:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614889472,"description":"Unknown IO ID 45"} 
[2026-08-01 19:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111733504001,"power":13102,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614889472}} 
[2026-08-01 19:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":147449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578878,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:34:05] local.INFO: GPS data processed {"connection_id":147449,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:34:05] local.INFO: Acknowledgment sent {"connection_id":147449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:34:36] local.INFO: TCP Data received {"connection_id":147449,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbda32308012d196580071fefa0003b015126..."} 
[2026-08-01 19:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbda32308012d196580071fefa0003b015126..."} 
[2026-08-01 19:34:36] local.INFO: Processing buffer {"connection_id":147449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbda32308012d196580071fefa0003b015126..."} 
[2026-08-01 19:34:36] local.INFO: Packet analysis {"connection_id":147449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbda3"} 
[2026-08-01 19:34:36] local.INFO: Extracted packet for processing {"connection_id":147449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbda3"} 
[2026-08-01 19:34:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111733504001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614889472,"note":"Value kept but may cause issues"} 
[2026-08-01 19:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785593013000,"timestamp_ms":1785593013000,"timestamp_seconds":1785593013,"priority":1,"record_length":96,"hex_timestamp":"0000019fbda32308"} 
[2026-08-01 19:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-01 19:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:34:36] 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-08-01 19:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111733504001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830854016614889472},"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-08-01 19:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111733504001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:34:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:34:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614889472,"description":"Unknown IO ID 45"} 
[2026-08-01 19:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111733504001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614889472}} 
[2026-08-01 19:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":147449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:34:36] local.INFO: GPS data processed {"connection_id":147449,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:34:36] local.INFO: Acknowledgment sent {"connection_id":147449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:34:55] local.INFO: TCP Data received {"connection_id":146458,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:34:55] local.INFO: Processing buffer {"connection_id":146458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:34:55] local.INFO: IMEI packet received {"connection_id":146458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 19:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":146458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:34:56] local.INFO: TCP Data received {"connection_id":146458,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbda31f20012cd53b000739d8a8000e016728..."} 
[2026-08-01 19:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbda31f20012cd53b000739d8a8000e016728..."} 
[2026-08-01 19:34:56] local.INFO: Processing buffer {"connection_id":146458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbda31f20012cd53b000739d8a8000e016728..."} 
[2026-08-01 19:34:56] local.INFO: Packet analysis {"connection_id":146458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbda3"} 
[2026-08-01 19:34:56] local.INFO: Extracted packet for processing {"connection_id":146458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbda3"} 
[2026-08-01 19:34:56] local.INFO: GPS Element Parsed {"raw_longitude":752171776,"raw_latitude":121231528,"longitude_deg":75.2171776,"latitude_deg":12.1231528,"altitude":14,"angle":359,"satellites":40,"speed":30,"hex_longitude":"2cd53b00","hex_latitude":"0739d8a8","is_valid_coordinates":true} 
[2026-08-01 19:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111807744001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366817046329032704,"note":"Value kept but may cause issues"} 
[2026-08-01 19:34:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3081799120227901440,"note":"Value kept but may cause issues"} 
[2026-08-01 19:34:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785593012000,"timestamp_ms":1785593012000,"timestamp_seconds":1785593012,"priority":1,"record_length":96,"hex_timestamp":"0000019fbda31f20"} 
[2026-08-01 19:34:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:34:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 19:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-01 19:34:56] 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-08-01 19:34:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:34:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":146458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":146458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":146458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:34:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111807744001,"66":27300,"137":206,"83":43264,"24":30,"16":366817046329032704,"44":-3081799120227901440},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-08-01 19:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111807744001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:34:56] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-01 19:34:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366817046329032704,"km_value":366817046329032.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:34:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3081799120227901440,"description":"Unknown IO ID 44"} 
[2026-08-01 19:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111807744001,"power":27300,"unknown_137":206,"unknown_83":43264,"ignition":30,"odometer":null,"unknown_44":-3081799120227901440}} 
[2026-08-01 19:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":146458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:34:56] local.INFO: GPS data processed {"connection_id":146458,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:34:56] local.INFO: Acknowledgment sent {"connection_id":146458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:34:59] local.INFO: TCP Data received {"connection_id":146459,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146459,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:34:59] local.INFO: Processing buffer {"connection_id":146459,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:34:59] local.INFO: IMEI packet received {"connection_id":146459,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 19:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":146459,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:35:05] local.INFO: TCP Data received {"connection_id":146459,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146459,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:35:05] local.INFO: Processing buffer {"connection_id":146459,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:35:05] local.INFO: IMEI packet received {"connection_id":146459,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":146459,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:35:05] local.INFO: TCP Data received {"connection_id":146459,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbda32308012d196580071fefa0003b015126..."} 
[2026-08-01 19:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbda32308012d196580071fefa0003b015126..."} 
[2026-08-01 19:35:05] local.INFO: Processing buffer {"connection_id":146459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbda32308012d196580071fefa0003b015126..."} 
[2026-08-01 19:35:05] local.INFO: Packet analysis {"connection_id":146459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbda3"} 
[2026-08-01 19:35:05] local.INFO: Extracted packet for processing {"connection_id":146459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbda3"} 
[2026-08-01 19:35:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 19:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111733504001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614889472,"note":"Value kept but may cause issues"} 
[2026-08-01 19:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785593013000,"timestamp_ms":1785593013000,"timestamp_seconds":1785593013,"priority":1,"record_length":96,"hex_timestamp":"0000019fbda32308"} 
[2026-08-01 19:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-01 19:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:35:05] 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-08-01 19:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111733504001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830854016614889472},"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-08-01 19:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111733504001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:35:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:35:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614889472,"description":"Unknown IO ID 45"} 
[2026-08-01 19:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111733504001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614889472}} 
[2026-08-01 19:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":146459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578881,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:35:06] local.INFO: GPS data processed {"connection_id":146459,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:35:06] local.INFO: Acknowledgment sent {"connection_id":146459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:35:27] local.INFO: TCP Data received {"connection_id":146458,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbda34a18012cd538c00739f8b8000b015b28..."} 
[2026-08-01 19:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbda34a18012cd538c00739f8b8000b015b28..."} 
[2026-08-01 19:35:27] local.INFO: Processing buffer {"connection_id":146458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbda34a18012cd538c00739f8b8000b015b28..."} 
[2026-08-01 19:35:27] local.INFO: Packet analysis {"connection_id":146458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbda3"} 
[2026-08-01 19:35:27] local.INFO: Extracted packet for processing {"connection_id":146458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbda3"} 
[2026-08-01 19:35:27] local.INFO: GPS Element Parsed {"raw_longitude":752171200,"raw_latitude":121239736,"longitude_deg":75.21712,"latitude_deg":12.1239736,"altitude":11,"angle":347,"satellites":40,"speed":34,"hex_longitude":"2cd538c0","hex_latitude":"0739f8b8","is_valid_coordinates":true} 
[2026-08-01 19:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111811072001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366817445760991232,"note":"Value kept but may cause issues"} 
[2026-08-01 19:35:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3081869488969701376,"note":"Value kept but may cause issues"} 
[2026-08-01 19:35:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785593023000,"timestamp_ms":1785593023000,"timestamp_seconds":1785593023,"priority":1,"record_length":96,"hex_timestamp":"0000019fbda34a18"} 
[2026-08-01 19:35:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:35: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-08-01 19:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-01 19:35: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-08-01 19:35:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:35:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:35:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":146458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":146458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":146458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:35:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111811072001,"66":27267,"137":206,"83":43264,"24":34,"16":366817445760991232,"44":-3081869488969701376},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-08-01 19:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111811072001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:35:27] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-01 19:35:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366817445760991232,"km_value":366817445760991.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:35:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3081869488969701376,"description":"Unknown IO ID 44"} 
[2026-08-01 19:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111811072001,"power":27267,"unknown_137":206,"unknown_83":43264,"ignition":34,"odometer":null,"unknown_44":-3081869488969701376}} 
[2026-08-01 19:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":146458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:35:27] local.INFO: GPS data processed {"connection_id":146458,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:35:27] local.INFO: Acknowledgment sent {"connection_id":146458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:35:37] local.INFO: TCP Data received {"connection_id":146459,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbda32308012d196580071fefa0003b015126..."} 
[2026-08-01 19:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbda32308012d196580071fefa0003b015126..."} 
[2026-08-01 19:35:37] local.INFO: Processing buffer {"connection_id":146459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbda32308012d196580071fefa0003b015126..."} 
[2026-08-01 19:35:37] local.INFO: Packet analysis {"connection_id":146459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbda3"} 
[2026-08-01 19:35:37] local.INFO: Extracted packet for processing {"connection_id":146459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbda3"} 
[2026-08-01 19:35:37] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 19:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111733504001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614889472,"note":"Value kept but may cause issues"} 
[2026-08-01 19:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785593013000,"timestamp_ms":1785593013000,"timestamp_seconds":1785593013,"priority":1,"record_length":96,"hex_timestamp":"0000019fbda32308"} 
[2026-08-01 19:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:35: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-08-01 19:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-01 19:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:35:37] 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-08-01 19:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111733504001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830854016614889472},"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-08-01 19:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111733504001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:35:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:35:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614889472,"description":"Unknown IO ID 45"} 
[2026-08-01 19:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111733504001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614889472}} 
[2026-08-01 19:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":146459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578883,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:35:37] local.INFO: GPS data processed {"connection_id":146459,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:35:37] local.INFO: Acknowledgment sent {"connection_id":146459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:35:43] local.INFO: TCP Data received {"connection_id":147450,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:35:43] local.INFO: Processing buffer {"connection_id":147450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:35:43] local.INFO: IMEI packet received {"connection_id":147450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 19:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":147450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:35:44] local.INFO: TCP Data received {"connection_id":147450,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:35:44] local.INFO: Processing buffer {"connection_id":147450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:35:44] local.INFO: IMEI packet received {"connection_id":147450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":147450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:35:48] local.INFO: TCP Data received {"connection_id":147450,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:35:48] local.INFO: Processing buffer {"connection_id":147450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:35:48] local.INFO: IMEI packet received {"connection_id":147450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":147450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:35:49] local.INFO: TCP Data received {"connection_id":147450,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbda37128012cd53180073a1bf0000d015c29..."} 
[2026-08-01 19:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbda37128012cd53180073a1bf0000d015c29..."} 
[2026-08-01 19:35:49] local.INFO: Processing buffer {"connection_id":147450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbda37128012cd53180073a1bf0000d015c29..."} 
[2026-08-01 19:35:49] local.INFO: Packet analysis {"connection_id":147450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbda3"} 
[2026-08-01 19:35:49] local.INFO: Extracted packet for processing {"connection_id":147450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbda3"} 
[2026-08-01 19:35:49] local.INFO: GPS Element Parsed {"raw_longitude":752169344,"raw_latitude":121248752,"longitude_deg":75.2169344,"latitude_deg":12.1248752,"altitude":13,"angle":348,"satellites":41,"speed":36,"hex_longitude":"2cd53180","hex_latitude":"073a1bf0","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:35:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111813888001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:35:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366817892437590016,"note":"Value kept but may cause issues"} 
[2026-08-01 19:35:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3082502807665199104,"note":"Value kept but may cause issues"} 
[2026-08-01 19:35:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:35:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785593033000,"timestamp_ms":1785593033000,"timestamp_seconds":1785593033,"priority":1,"record_length":96,"hex_timestamp":"0000019fbda37128"} 
[2026-08-01 19:35:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:35: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-08-01 19:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-01 19:35:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:35:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:35:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:35:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:35:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:35:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:35:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:35:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:35:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:35:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111813888001,"66":27365,"137":206,"83":43264,"24":36,"16":366817892437590016,"44":-3082502807665199104},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-08-01 19:35:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:35:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:35:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111813888001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:35:49] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-01 19:35:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:35:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366817892437590016,"km_value":366817892437590.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:35:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3082502807665199104,"description":"Unknown IO ID 44"} 
[2026-08-01 19:35:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111813888001,"power":27365,"unknown_137":206,"unknown_83":43264,"ignition":36,"odometer":null,"unknown_44":-3082502807665199104}} 
[2026-08-01 19:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":147450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:35:50] local.INFO: GPS data processed {"connection_id":147450,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:35:50] local.INFO: Acknowledgment sent {"connection_id":147450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:35:59] local.INFO: TCP Data received {"connection_id":146217,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:35:59] local.INFO: Processing buffer {"connection_id":146217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:35:59] local.INFO: IMEI packet received {"connection_id":146217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 19:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":146217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:36:05] local.INFO: TCP Data received {"connection_id":146217,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:36:05] local.INFO: Processing buffer {"connection_id":146217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:36:05] local.INFO: IMEI packet received {"connection_id":146217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":146217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:36:06] local.INFO: TCP Data received {"connection_id":146217,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbda32308012d196580071fefa0003b015126..."} 
[2026-08-01 19:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbda32308012d196580071fefa0003b015126..."} 
[2026-08-01 19:36:06] local.INFO: Processing buffer {"connection_id":146217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbda32308012d196580071fefa0003b015126..."} 
[2026-08-01 19:36:06] local.INFO: Packet analysis {"connection_id":146217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbda3"} 
[2026-08-01 19:36:06] local.INFO: Extracted packet for processing {"connection_id":146217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbda3"} 
[2026-08-01 19:36:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111733504001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614889472,"note":"Value kept but may cause issues"} 
[2026-08-01 19:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785593013000,"timestamp_ms":1785593013000,"timestamp_seconds":1785593013,"priority":1,"record_length":96,"hex_timestamp":"0000019fbda32308"} 
[2026-08-01 19:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-01 19:36:06] 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-08-01 19: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-08-01 19:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:36:06] 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-08-01 19:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111733504001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830854016614889472},"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-08-01 19:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111733504001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:36:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:36:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614889472,"description":"Unknown IO ID 45"} 
[2026-08-01 19:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111733504001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614889472}} 
[2026-08-01 19:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":146217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578885,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:36:06] local.INFO: GPS data processed {"connection_id":146217,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:36:06] local.INFO: Acknowledgment sent {"connection_id":146217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:36:20] local.INFO: TCP Data received {"connection_id":147450,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbda3a008012cd52a00073a3e80000e015d2a..."} 
[2026-08-01 19:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbda3a008012cd52a00073a3e80000e015d2a..."} 
[2026-08-01 19:36:20] local.INFO: Processing buffer {"connection_id":147450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbda3a008012cd52a00073a3e80000e015d2a..."} 
[2026-08-01 19:36:20] local.INFO: Packet analysis {"connection_id":147450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbda3"} 
[2026-08-01 19:36:20] local.INFO: Extracted packet for processing {"connection_id":147450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbda3"} 
[2026-08-01 19:36:20] local.INFO: GPS Element Parsed {"raw_longitude":752167424,"raw_latitude":121257600,"longitude_deg":75.2167424,"latitude_deg":12.12576,"altitude":14,"angle":349,"satellites":42,"speed":27,"hex_longitude":"2cd52a00","hex_latitude":"073a3e80","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111816448001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366818330524254208,"note":"Value kept but may cause issues"} 
[2026-08-01 19:36:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3084543501244043264,"note":"Value kept but may cause issues"} 
[2026-08-01 19:36:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785593045000,"timestamp_ms":1785593045000,"timestamp_seconds":1785593045,"priority":1,"record_length":96,"hex_timestamp":"0000019fbda3a008"} 
[2026-08-01 19:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:36: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-08-01 19: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-01 19:36:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:36:20] 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-08-01 19:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111816448001,"66":27321,"137":206,"83":43264,"24":27,"16":366818330524254208,"44":-3084543501244043264},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-08-01 19:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111816448001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:36:20] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-01 19:36:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366818330524254208,"km_value":366818330524254.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:36:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3084543501244043264,"description":"Unknown IO ID 44"} 
[2026-08-01 19:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111816448001,"power":27321,"unknown_137":206,"unknown_83":43264,"ignition":27,"odometer":null,"unknown_44":-3084543501244043264}} 
[2026-08-01 19:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":147450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:36:20] local.INFO: GPS data processed {"connection_id":147450,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:36:20] local.INFO: Acknowledgment sent {"connection_id":147450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:36:37] local.INFO: TCP Data received {"connection_id":146217,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbda32308012d196580071fefa0003b015126..."} 
[2026-08-01 19:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbda32308012d196580071fefa0003b015126..."} 
[2026-08-01 19:36:37] local.INFO: Processing buffer {"connection_id":146217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbda32308012d196580071fefa0003b015126..."} 
[2026-08-01 19:36:37] local.INFO: Packet analysis {"connection_id":146217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbda3"} 
[2026-08-01 19:36:37] local.INFO: Extracted packet for processing {"connection_id":146217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbda3"} 
[2026-08-01 19:36:37] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 19:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111733504001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614889472,"note":"Value kept but may cause issues"} 
[2026-08-01 19:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785593013000,"timestamp_ms":1785593013000,"timestamp_seconds":1785593013,"priority":1,"record_length":96,"hex_timestamp":"0000019fbda32308"} 
[2026-08-01 19:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:36: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-08-01 19:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-01 19:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:36:37] 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-08-01 19:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111733504001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830854016614889472},"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-08-01 19:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111733504001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:36:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:36:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614889472,"description":"Unknown IO ID 45"} 
[2026-08-01 19:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111733504001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614889472}} 
[2026-08-01 19:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":146217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578887,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:36:37] local.INFO: GPS data processed {"connection_id":146217,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:36:37] local.INFO: Acknowledgment sent {"connection_id":146217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:36:43] local.INFO: TCP Data received {"connection_id":148759,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:36:43] local.INFO: Processing buffer {"connection_id":148759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:36:43] local.INFO: IMEI packet received {"connection_id":148759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 19:36:43] local.INFO: IMEI acknowledgment sent {"connection_id":148759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:36:48] local.INFO: TCP Data received {"connection_id":148759,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:36:48] local.INFO: Processing buffer {"connection_id":148759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:36:48] local.INFO: IMEI packet received {"connection_id":148759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":148759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:36:49] local.INFO: TCP Data received {"connection_id":148759,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbda3cee8012cd52280073a62c0000d015e29..."} 
[2026-08-01 19:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbda3cee8012cd52280073a62c0000d015e29..."} 
[2026-08-01 19:36:49] local.INFO: Processing buffer {"connection_id":148759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbda3cee8012cd52280073a62c0000d015e29..."} 
[2026-08-01 19:36:49] local.INFO: Packet analysis {"connection_id":148759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbda3"} 
[2026-08-01 19:36:49] local.INFO: Extracted packet for processing {"connection_id":148759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbda3"} 
[2026-08-01 19:36:49] local.INFO: GPS Element Parsed {"raw_longitude":752165504,"raw_latitude":121266880,"longitude_deg":75.2165504,"latitude_deg":12.126688,"altitude":13,"angle":350,"satellites":41,"speed":34,"hex_longitude":"2cd52280","hex_latitude":"073a62c0","is_valid_coordinates":true} 
[2026-08-01 19:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111819520001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366818790085754880,"note":"Value kept but may cause issues"} 
[2026-08-01 19:36:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3086654563567108096,"note":"Value kept but may cause issues"} 
[2026-08-01 19:36:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785593057000,"timestamp_ms":1785593057000,"timestamp_seconds":1785593057,"priority":1,"record_length":96,"hex_timestamp":"0000019fbda3cee8"} 
[2026-08-01 19:36:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:36: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-08-01 19:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-01 19:36: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-08-01 19:36:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:36:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:36:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111819520001,"66":27180,"137":206,"83":43264,"24":34,"16":366818790085754880,"44":-3086654563567108096},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-08-01 19:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111819520001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:36:49] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-01 19:36:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366818790085754880,"km_value":366818790085754.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:36:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3086654563567108096,"description":"Unknown IO ID 44"} 
[2026-08-01 19:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111819520001,"power":27180,"unknown_137":206,"unknown_83":43264,"ignition":34,"odometer":null,"unknown_44":-3086654563567108096}} 
[2026-08-01 19:36:49] local.INFO: DEBUG: GPS processor result {"connection_id":148759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:36:49] local.INFO: GPS data processed {"connection_id":148759,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:36:49] local.INFO: Acknowledgment sent {"connection_id":148759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:37:05] local.INFO: TCP Data received {"connection_id":146460,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:37:05] local.INFO: Processing buffer {"connection_id":146460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:37:05] local.INFO: IMEI packet received {"connection_id":146460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 19:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":146460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:37:10] local.INFO: TCP Data received {"connection_id":146460,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:37:10] local.INFO: Processing buffer {"connection_id":146460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:37:10] local.INFO: IMEI packet received {"connection_id":146460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":146460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:37:10] local.INFO: TCP Data received {"connection_id":146460,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbda32308012d196580071fefa0003b015126..."} 
[2026-08-01 19:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbda32308012d196580071fefa0003b015126..."} 
[2026-08-01 19:37:10] local.INFO: Processing buffer {"connection_id":146460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbda32308012d196580071fefa0003b015126..."} 
[2026-08-01 19:37:10] local.INFO: Packet analysis {"connection_id":146460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbda3"} 
[2026-08-01 19:37:10] local.INFO: Extracted packet for processing {"connection_id":146460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbda3"} 
[2026-08-01 19:37:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111733504001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614889472,"note":"Value kept but may cause issues"} 
[2026-08-01 19: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-08-01 19:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785593013000,"timestamp_ms":1785593013000,"timestamp_seconds":1785593013,"priority":1,"record_length":96,"hex_timestamp":"0000019fbda32308"} 
[2026-08-01 19:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-01 19:37:10] 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-08-01 19: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-08-01 19:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:37: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-08-01 19:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111733504001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830854016614889472},"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-08-01 19:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111733504001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:37:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:37:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614889472,"description":"Unknown IO ID 45"} 
[2026-08-01 19:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111733504001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614889472}} 
[2026-08-01 19:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":146460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578889,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:37:10] local.INFO: GPS data processed {"connection_id":146460,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:37:10] local.INFO: Acknowledgment sent {"connection_id":146460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:37:20] local.INFO: TCP Data received {"connection_id":148759,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbda59020012cd50140073b7ec8000e000028..."} 
[2026-08-01 19:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbda59020012cd50140073b7ec8000e000028..."} 
[2026-08-01 19:37:20] local.INFO: Processing buffer {"connection_id":148759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbda59020012cd50140073b7ec8000e000028..."} 
[2026-08-01 19:37:20] local.INFO: Packet analysis {"connection_id":148759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbda5"} 
[2026-08-01 19:37:20] local.INFO: Extracted packet for processing {"connection_id":148759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbda5"} 
[2026-08-01 19:37:20] local.INFO: GPS Element Parsed {"raw_longitude":752156992,"raw_latitude":121339592,"longitude_deg":75.2156992,"latitude_deg":12.1339592,"altitude":14,"angle":0,"satellites":40,"speed":28,"hex_longitude":"2cd50140","hex_latitude":"073b7ec8","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111851520001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366822427923054592,"note":"Value kept but may cause issues"} 
[2026-08-01 19:37:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3098054300103274496,"note":"Value kept but may cause issues"} 
[2026-08-01 19:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785593172000,"timestamp_ms":1785593172000,"timestamp_seconds":1785593172,"priority":1,"record_length":96,"hex_timestamp":"0000019fbda59020"} 
[2026-08-01 19:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:37:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 19:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-01 19:37:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:37:20] 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-08-01 19:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111851520001,"66":27321,"135":206,"83":43264,"24":28,"16":366822427923054592,"44":-3098054300103274496},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-08-01 19:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111851520001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:37:20] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-01 19:37:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366822427923054592,"km_value":366822427923054.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:37:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3098054300103274496,"description":"Unknown IO ID 44"} 
[2026-08-01 19:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111851520001,"power":27321,"unknown_135":206,"unknown_83":43264,"ignition":28,"odometer":null,"unknown_44":-3098054300103274496}} 
[2026-08-01 19:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":148759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:37:20] local.INFO: GPS data processed {"connection_id":148759,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:37:20] local.INFO: Acknowledgment sent {"connection_id":148759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:37:41] local.INFO: TCP Data received {"connection_id":146460,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbda32308012d196580071fefa0003b015126..."} 
[2026-08-01 19:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbda32308012d196580071fefa0003b015126..."} 
[2026-08-01 19:37:41] local.INFO: Processing buffer {"connection_id":146460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbda32308012d196580071fefa0003b015126..."} 
[2026-08-01 19:37:41] local.INFO: Packet analysis {"connection_id":146460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbda3"} 
[2026-08-01 19:37:41] local.INFO: Extracted packet for processing {"connection_id":146460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbda3"} 
[2026-08-01 19:37:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111733504001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:37:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614889472,"note":"Value kept but may cause issues"} 
[2026-08-01 19: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-08-01 19:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785593013000,"timestamp_ms":1785593013000,"timestamp_seconds":1785593013,"priority":1,"record_length":96,"hex_timestamp":"0000019fbda32308"} 
[2026-08-01 19:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-01 19:37:41] 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-08-01 19: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-08-01 19:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":146460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":146460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":146460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:37: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-08-01 19:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111733504001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830854016614889472},"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-08-01 19:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111733504001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:37:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:37:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:37:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614889472,"description":"Unknown IO ID 45"} 
[2026-08-01 19:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111733504001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614889472}} 
[2026-08-01 19:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":146460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:37:41] local.INFO: GPS data processed {"connection_id":146460,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:37:41] local.INFO: Acknowledgment sent {"connection_id":146460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:37:43] local.INFO: TCP Data received {"connection_id":146461,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:37:43] local.INFO: Processing buffer {"connection_id":146461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:37:43] local.INFO: IMEI packet received {"connection_id":146461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 19:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":146461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:37:48] local.INFO: TCP Data received {"connection_id":146461,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:37:48] local.INFO: Processing buffer {"connection_id":146461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:37:48] local.INFO: IMEI packet received {"connection_id":146461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":146461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:37:50] local.INFO: TCP Data received {"connection_id":146461,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbda5c2e8012cd50080073ba1d0000e000128..."} 
[2026-08-01 19:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbda5c2e8012cd50080073ba1d0000e000128..."} 
[2026-08-01 19:37:50] local.INFO: Processing buffer {"connection_id":146461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbda5c2e8012cd50080073ba1d0000e000128..."} 
[2026-08-01 19:37:50] local.INFO: Packet analysis {"connection_id":146461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbda5"} 
[2026-08-01 19:37:50] local.INFO: Extracted packet for processing {"connection_id":146461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbda5"} 
[2026-08-01 19:37:50] local.INFO: GPS Element Parsed {"raw_longitude":752156800,"raw_latitude":121348560,"longitude_deg":75.21568,"latitude_deg":12.134856,"altitude":14,"angle":1,"satellites":40,"speed":26,"hex_longitude":"2cd50080","hex_latitude":"073ba1d0","is_valid_coordinates":true} 
[2026-08-01 19:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:37:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111852032001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:37:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366822861714751488,"note":"Value kept but may cause issues"} 
[2026-08-01 19:37:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3098124668847077376,"note":"Value kept but may cause issues"} 
[2026-08-01 19:37:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:37:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785593185000,"timestamp_ms":1785593185000,"timestamp_seconds":1785593185,"priority":1,"record_length":96,"hex_timestamp":"0000019fbda5c2e8"} 
[2026-08-01 19:37:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:37: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-08-01 19:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-01 19:37: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-08-01 19:37:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:37:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:37:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:37:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:37:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:37:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:37:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:37:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:37:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:37:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111852032001,"66":27365,"135":206,"83":43264,"24":26,"16":366822861714751488,"44":-3098124668847077376},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-08-01 19:37:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:37:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:37:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111852032001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:37:50] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-01 19:37:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:37:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366822861714751488,"km_value":366822861714751.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:37:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3098124668847077376,"description":"Unknown IO ID 44"} 
[2026-08-01 19:37:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111852032001,"power":27365,"unknown_135":206,"unknown_83":43264,"ignition":26,"odometer":null,"unknown_44":-3098124668847077376}} 
[2026-08-01 19:37:50] local.INFO: DEBUG: GPS processor result {"connection_id":146461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:37:50] local.INFO: GPS data processed {"connection_id":146461,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:37:50] local.INFO: Acknowledgment sent {"connection_id":146461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:38:00] local.INFO: TCP Data received {"connection_id":147451,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:38:00] local.INFO: Processing buffer {"connection_id":147451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:38:00] local.INFO: IMEI packet received {"connection_id":147451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 19:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":147451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:38:05] local.INFO: TCP Data received {"connection_id":147451,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:38:05] local.INFO: Processing buffer {"connection_id":147451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:38:05] local.INFO: IMEI packet received {"connection_id":147451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":147451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:38:05] local.INFO: TCP Data received {"connection_id":147451,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbda32308012d196580071fefa0003b015126..."} 
[2026-08-01 19:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbda32308012d196580071fefa0003b015126..."} 
[2026-08-01 19:38:05] local.INFO: Processing buffer {"connection_id":147451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbda32308012d196580071fefa0003b015126..."} 
[2026-08-01 19:38:05] local.INFO: Packet analysis {"connection_id":147451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbda3"} 
[2026-08-01 19:38:05] local.INFO: Extracted packet for processing {"connection_id":147451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbda3"} 
[2026-08-01 19:38:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111733504001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614889472,"note":"Value kept but may cause issues"} 
[2026-08-01 19:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785593013000,"timestamp_ms":1785593013000,"timestamp_seconds":1785593013,"priority":1,"record_length":96,"hex_timestamp":"0000019fbda32308"} 
[2026-08-01 19:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-01 19:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:38:05] 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-08-01 19:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111733504001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830854016614889472},"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-08-01 19:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111733504001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:38:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:38:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614889472,"description":"Unknown IO ID 45"} 
[2026-08-01 19:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111733504001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614889472}} 
[2026-08-01 19:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":147451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:38:05] local.INFO: GPS data processed {"connection_id":147451,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:38:05] local.INFO: Acknowledgment sent {"connection_id":147451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:38:21] local.INFO: TCP Data received {"connection_id":146461,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbda5f5b0012cd4ffc0073bc568000e01662a..."} 
[2026-08-01 19:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbda5f5b0012cd4ffc0073bc568000e01662a..."} 
[2026-08-01 19:38:21] local.INFO: Processing buffer {"connection_id":146461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbda5f5b0012cd4ffc0073bc568000e01662a..."} 
[2026-08-01 19:38:21] local.INFO: Packet analysis {"connection_id":146461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbda5"} 
[2026-08-01 19:38:21] local.INFO: Extracted packet for processing {"connection_id":146461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbda5"} 
[2026-08-01 19:38:21] local.INFO: GPS Element Parsed {"raw_longitude":752156608,"raw_latitude":121357672,"longitude_deg":75.2156608,"latitude_deg":12.1357672,"altitude":14,"angle":358,"satellites":42,"speed":28,"hex_longitude":"2cd4ffc0","hex_latitude":"073bc568","is_valid_coordinates":true} 
[2026-08-01 19:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111855360001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366823304096382976,"note":"Value kept but may cause issues"} 
[2026-08-01 19:38:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3098335775077314560,"note":"Value kept but may cause issues"} 
[2026-08-01 19:38:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785593198000,"timestamp_ms":1785593198000,"timestamp_seconds":1785593198,"priority":1,"record_length":96,"hex_timestamp":"0000019fbda5f5b0"} 
[2026-08-01 19:38:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:38:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 19:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-01 19:38:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:38:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:38:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:38:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111855360001,"66":27234,"135":206,"83":43264,"24":28,"16":366823304096382976,"44":-3098335775077314560},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-08-01 19:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111855360001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:38:21] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-01 19:38:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366823304096382976,"km_value":366823304096383.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:38:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3098335775077314560,"description":"Unknown IO ID 44"} 
[2026-08-01 19:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111855360001,"power":27234,"unknown_135":206,"unknown_83":43264,"ignition":28,"odometer":null,"unknown_44":-3098335775077314560}} 
[2026-08-01 19:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":146461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:38:21] local.INFO: GPS data processed {"connection_id":146461,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:38:21] local.INFO: Acknowledgment sent {"connection_id":146461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:38:37] local.INFO: TCP Data received {"connection_id":147451,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbda32308012d196580071fefa0003b015126..."} 
[2026-08-01 19:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbda32308012d196580071fefa0003b015126..."} 
[2026-08-01 19:38:37] local.INFO: Processing buffer {"connection_id":147451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbda32308012d196580071fefa0003b015126..."} 
[2026-08-01 19:38:37] local.INFO: Packet analysis {"connection_id":147451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbda3"} 
[2026-08-01 19:38:37] local.INFO: Extracted packet for processing {"connection_id":147451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbda3"} 
[2026-08-01 19:38:37] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 19:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111733504001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614889472,"note":"Value kept but may cause issues"} 
[2026-08-01 19:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785593013000,"timestamp_ms":1785593013000,"timestamp_seconds":1785593013,"priority":1,"record_length":96,"hex_timestamp":"0000019fbda32308"} 
[2026-08-01 19:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:38: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-08-01 19:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-01 19:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:38:37] 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-08-01 19:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111733504001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830854016614889472},"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-08-01 19:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111733504001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:38:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:38:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614889472,"description":"Unknown IO ID 45"} 
[2026-08-01 19:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111733504001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614889472}} 
[2026-08-01 19:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":147451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:38:37] local.INFO: GPS data processed {"connection_id":147451,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:38:37] local.INFO: Acknowledgment sent {"connection_id":147451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:38:43] local.INFO: TCP Data received {"connection_id":146218,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:38:43] local.INFO: Processing buffer {"connection_id":146218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:38:43] local.INFO: IMEI packet received {"connection_id":146218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 19:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":146218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:38:48] local.INFO: TCP Data received {"connection_id":146218,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:38:48] local.INFO: Processing buffer {"connection_id":146218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:38:48] local.INFO: IMEI packet received {"connection_id":146218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":146218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:38:49] local.INFO: TCP Data received {"connection_id":146218,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbda62490012cd4fe40073be978000d016129..."} 
[2026-08-01 19:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbda62490012cd4fe40073be978000d016129..."} 
[2026-08-01 19:38:49] local.INFO: Processing buffer {"connection_id":146218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbda62490012cd4fe40073be978000d016129..."} 
[2026-08-01 19:38:49] local.INFO: Packet analysis {"connection_id":146218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbda6"} 
[2026-08-01 19:38:49] local.INFO: Extracted packet for processing {"connection_id":146218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbda6"} 
[2026-08-01 19:38:49] local.INFO: GPS Element Parsed {"raw_longitude":752156224,"raw_latitude":121366904,"longitude_deg":75.2156224,"latitude_deg":12.1366904,"altitude":13,"angle":353,"satellites":41,"speed":29,"hex_longitude":"2cd4fe40","hex_latitude":"073be978","is_valid_coordinates":true} 
[2026-08-01 19:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111858688001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366823750772981760,"note":"Value kept but may cause issues"} 
[2026-08-01 19:38:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3098546881307514880,"note":"Value kept but may cause issues"} 
[2026-08-01 19:38:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785593210000,"timestamp_ms":1785593210000,"timestamp_seconds":1785593210,"priority":1,"record_length":96,"hex_timestamp":"0000019fbda62490"} 
[2026-08-01 19:38:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:38: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-08-01 19:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-01 19:38:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:38:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:38:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:38:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111858688001,"66":27343,"135":206,"83":43264,"24":29,"16":366823750772981760,"44":-3098546881307514880},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-08-01 19:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111858688001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:38:49] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-01 19:38:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366823750772981760,"km_value":366823750772981.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:38:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3098546881307514880,"description":"Unknown IO ID 44"} 
[2026-08-01 19:38:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111858688001,"power":27343,"unknown_135":206,"unknown_83":43264,"ignition":29,"odometer":null,"unknown_44":-3098546881307514880}} 
[2026-08-01 19:38:49] local.INFO: DEBUG: GPS processor result {"connection_id":146218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:38:49] local.INFO: GPS data processed {"connection_id":146218,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:38:49] local.INFO: Acknowledgment sent {"connection_id":146218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:39:00] local.INFO: TCP Data received {"connection_id":148760,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:39:00] local.INFO: Processing buffer {"connection_id":148760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:39:00] local.INFO: IMEI packet received {"connection_id":148760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 19:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":148760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:39:05] local.INFO: TCP Data received {"connection_id":148760,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:39:05] local.INFO: Processing buffer {"connection_id":148760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:39:05] local.INFO: IMEI packet received {"connection_id":148760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":148760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:39:06] local.INFO: TCP Data received {"connection_id":148760,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbda32308012d196580071fefa0003b015126..."} 
[2026-08-01 19:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbda32308012d196580071fefa0003b015126..."} 
[2026-08-01 19:39:06] local.INFO: Processing buffer {"connection_id":148760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbda32308012d196580071fefa0003b015126..."} 
[2026-08-01 19:39:06] local.INFO: Packet analysis {"connection_id":148760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbda3"} 
[2026-08-01 19:39:06] local.INFO: Extracted packet for processing {"connection_id":148760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbda3"} 
[2026-08-01 19:39:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111733504001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614889472,"note":"Value kept but may cause issues"} 
[2026-08-01 19:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785593013000,"timestamp_ms":1785593013000,"timestamp_seconds":1785593013,"priority":1,"record_length":96,"hex_timestamp":"0000019fbda32308"} 
[2026-08-01 19:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-01 19:39:06] 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-08-01 19: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-08-01 19:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":148760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":148760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":148760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:39:06] 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-08-01 19:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111733504001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830854016614889472},"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-08-01 19:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111733504001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:39:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:39:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614889472,"description":"Unknown IO ID 45"} 
[2026-08-01 19:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111733504001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614889472}} 
[2026-08-01 19:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":148760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578897,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:39:06] local.INFO: GPS data processed {"connection_id":148760,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:39:06] local.INFO: Acknowledgment sent {"connection_id":148760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:39:20] local.INFO: TCP Data received {"connection_id":146218,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbda793c0012cd4b840073d75c0000e01552a..."} 
[2026-08-01 19:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbda793c0012cd4b840073d75c0000e01552a..."} 
[2026-08-01 19:39:20] local.INFO: Processing buffer {"connection_id":146218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbda793c0012cd4b840073d75c0000e01552a..."} 
[2026-08-01 19:39:20] local.INFO: Packet analysis {"connection_id":146218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbda7"} 
[2026-08-01 19:39:20] local.INFO: Extracted packet for processing {"connection_id":146218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbda7"} 
[2026-08-01 19:39:20] local.INFO: GPS Element Parsed {"raw_longitude":752138304,"raw_latitude":121468352,"longitude_deg":75.2138304,"latitude_deg":12.1468352,"altitude":14,"angle":341,"satellites":42,"speed":54,"hex_longitude":"2cd4b840","hex_latitude":"073d75c0","is_valid_coordinates":true} 
[2026-08-01 19:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111884032001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366828754409881600,"note":"Value kept but may cause issues"} 
[2026-08-01 19:39:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3115435379884171264,"note":"Value kept but may cause issues"} 
[2026-08-01 19:39:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785593304000,"timestamp_ms":1785593304000,"timestamp_seconds":1785593304,"priority":1,"record_length":96,"hex_timestamp":"0000019fbda793c0"} 
[2026-08-01 19:39:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:39:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 19:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-01 19:39:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:39:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:39:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:39:20] 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-08-01 19:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111884032001,"66":27376,"117":206,"83":43264,"24":54,"16":366828754409881600,"44":-3115435379884171264},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,83,24,16,44]} 
[2026-08-01 19:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111884032001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:39:20] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-01 19:39:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366828754409881600,"km_value":366828754409881.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:39:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3115435379884171264,"description":"Unknown IO ID 44"} 
[2026-08-01 19:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111884032001,"power":27376,"unknown_117":206,"unknown_83":43264,"ignition":54,"odometer":null,"unknown_44":-3115435379884171264}} 
[2026-08-01 19:39:20] local.INFO: DEBUG: GPS processor result {"connection_id":146218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:39:20] local.INFO: GPS data processed {"connection_id":146218,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:39:20] local.INFO: Acknowledgment sent {"connection_id":146218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:39:37] local.INFO: TCP Data received {"connection_id":148760,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbda7b6e8012d196580071fefa0003b01512a..."} 
[2026-08-01 19:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbda7b6e8012d196580071fefa0003b01512a..."} 
[2026-08-01 19:39:37] local.INFO: Processing buffer {"connection_id":148760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbda7b6e8012d196580071fefa0003b01512a..."} 
[2026-08-01 19:39:37] local.INFO: Packet analysis {"connection_id":148760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbda7"} 
[2026-08-01 19:39:37] local.INFO: Extracted packet for processing {"connection_id":148760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbda7"} 
[2026-08-01 19:39:37] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 19:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111811328001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 19:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785593313000,"timestamp_ms":1785593313000,"timestamp_seconds":1785593313,"priority":1,"record_length":96,"hex_timestamp":"0000019fbda7b6e8"} 
[2026-08-01 19:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 19:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":148760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":148760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":148760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:39:37] 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-08-01 19:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111811328001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 19:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111811328001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:39:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:39:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 19:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111811328001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 19:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":148760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:39:37] local.INFO: GPS data processed {"connection_id":148760,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:39:37] local.INFO: Acknowledgment sent {"connection_id":148760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:39:43] local.INFO: TCP Data received {"connection_id":148761,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:39:43] local.INFO: Processing buffer {"connection_id":148761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:39:43] local.INFO: IMEI packet received {"connection_id":148761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 19:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":148761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:39:48] local.INFO: TCP Data received {"connection_id":148761,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:39:48] local.INFO: Processing buffer {"connection_id":148761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:39:48] local.INFO: IMEI packet received {"connection_id":148761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":148761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:39:49] local.INFO: TCP Data received {"connection_id":148761,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbda7af18012cd4ac00073d99f8000e01572b..."} 
[2026-08-01 19:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbda7af18012cd4ac00073d99f8000e01572b..."} 
[2026-08-01 19:39:49] local.INFO: Processing buffer {"connection_id":148761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbda7af18012cd4ac00073d99f8000e01572b..."} 
[2026-08-01 19:39:49] local.INFO: Packet analysis {"connection_id":148761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbda7"} 
[2026-08-01 19:39:49] local.INFO: Extracted packet for processing {"connection_id":148761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbda7"} 
[2026-08-01 19:39:49] local.INFO: GPS Element Parsed {"raw_longitude":752135168,"raw_latitude":121477624,"longitude_deg":75.2135168,"latitude_deg":12.1477624,"altitude":14,"angle":343,"satellites":43,"speed":56,"hex_longitude":"2cd4ac00","hex_latitude":"073d99f8","is_valid_coordinates":true} 
[2026-08-01 19:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111885824001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366829226856284160,"note":"Value kept but may cause issues"} 
[2026-08-01 19:39:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3118672342113992704,"note":"Value kept but may cause issues"} 
[2026-08-01 19:39:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785593311000,"timestamp_ms":1785593311000,"timestamp_seconds":1785593311,"priority":1,"record_length":96,"hex_timestamp":"0000019fbda7af18"} 
[2026-08-01 19:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:39: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-08-01 19:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-01 19:39:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:39:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:39:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111885824001,"66":27343,"118":206,"83":43264,"24":56,"16":366829226856284160,"44":-3118672342113992704},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,83,24,16,44]} 
[2026-08-01 19:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111885824001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:39:49] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-01 19:39:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366829226856284160,"km_value":366829226856284.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:39:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3118672342113992704,"description":"Unknown IO ID 44"} 
[2026-08-01 19:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111885824001,"power":27343,"unknown_118":206,"unknown_83":43264,"ignition":56,"odometer":null,"unknown_44":-3118672342113992704}} 
[2026-08-01 19:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":148761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:39:49] local.INFO: GPS data processed {"connection_id":148761,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:39:49] local.INFO: Acknowledgment sent {"connection_id":148761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:39:59] local.INFO: TCP Data received {"connection_id":146462,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:39:59] local.INFO: Processing buffer {"connection_id":146462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:39:59] local.INFO: IMEI packet received {"connection_id":146462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 19:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":146462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:40:05] local.INFO: TCP Data received {"connection_id":146462,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:40:05] local.INFO: Processing buffer {"connection_id":146462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:40:05] local.INFO: IMEI packet received {"connection_id":146462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":146462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:40:06] local.INFO: TCP Data received {"connection_id":146462,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbda7b6e8012d196580071fefa0003b01512a..."} 
[2026-08-01 19:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbda7b6e8012d196580071fefa0003b01512a..."} 
[2026-08-01 19:40:06] local.INFO: Processing buffer {"connection_id":146462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbda7b6e8012d196580071fefa0003b01512a..."} 
[2026-08-01 19:40:06] local.INFO: Packet analysis {"connection_id":146462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbda7"} 
[2026-08-01 19:40:06] local.INFO: Extracted packet for processing {"connection_id":146462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbda7"} 
[2026-08-01 19:40:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 19:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111811328001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 19:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785593313000,"timestamp_ms":1785593313000,"timestamp_seconds":1785593313,"priority":1,"record_length":96,"hex_timestamp":"0000019fbda7b6e8"} 
[2026-08-01 19:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 19:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:40:06] 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-08-01 19:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111811328001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 19:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111811328001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:40:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:40:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 19:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111811328001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 19:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":146462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:40:06] local.INFO: GPS data processed {"connection_id":146462,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:40:06] local.INFO: Acknowledgment sent {"connection_id":146462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:40:22] local.INFO: TCP Data received {"connection_id":148761,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbda7ca70012cd49f80073dbff0000d01562b..."} 
[2026-08-01 19:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbda7ca70012cd49f80073dbff0000d01562b..."} 
[2026-08-01 19:40:22] local.INFO: Processing buffer {"connection_id":148761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbda7ca70012cd49f80073dbff0000d01562b..."} 
[2026-08-01 19:40:22] local.INFO: Packet analysis {"connection_id":148761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbda7"} 
[2026-08-01 19:40:22] local.INFO: Extracted packet for processing {"connection_id":148761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbda7"} 
[2026-08-01 19:40:22] local.INFO: GPS Element Parsed {"raw_longitude":752131968,"raw_latitude":121487344,"longitude_deg":75.2131968,"latitude_deg":12.1487344,"altitude":13,"angle":342,"satellites":43,"speed":58,"hex_longitude":"2cd49f80","hex_latitude":"073dbff0","is_valid_coordinates":true} 
[2026-08-01 19:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111887616001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366829725072490496,"note":"Value kept but may cause issues"} 
[2026-08-01 19:40:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3122120410576324608,"note":"Value kept but may cause issues"} 
[2026-08-01 19:40:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785593318000,"timestamp_ms":1785593318000,"timestamp_seconds":1785593318,"priority":1,"record_length":96,"hex_timestamp":"0000019fbda7ca70"} 
[2026-08-01 19:40:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:40:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 19:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-01 19:40:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:40:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:40:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:40:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111887616001,"66":27463,"118":206,"83":43264,"24":58,"16":366829725072490496,"44":-3122120410576324608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,83,24,16,44]} 
[2026-08-01 19:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111887616001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:40:22] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-01 19:40:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366829725072490496,"km_value":366829725072490.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:40:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3122120410576324608,"description":"Unknown IO ID 44"} 
[2026-08-01 19:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111887616001,"power":27463,"unknown_118":206,"unknown_83":43264,"ignition":58,"odometer":null,"unknown_44":-3122120410576324608}} 
[2026-08-01 19:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":148761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:40:22] local.INFO: GPS data processed {"connection_id":148761,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:40:22] local.INFO: Acknowledgment sent {"connection_id":148761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:40:37] local.INFO: TCP Data received {"connection_id":146462,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbda7b6e8012d196580071fefa0003b01512a..."} 
[2026-08-01 19:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbda7b6e8012d196580071fefa0003b01512a..."} 
[2026-08-01 19:40:37] local.INFO: Processing buffer {"connection_id":146462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbda7b6e8012d196580071fefa0003b01512a..."} 
[2026-08-01 19:40:37] local.INFO: Packet analysis {"connection_id":146462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbda7"} 
[2026-08-01 19:40:37] local.INFO: Extracted packet for processing {"connection_id":146462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbda7"} 
[2026-08-01 19:40:37] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 19:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111811328001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 19:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785593313000,"timestamp_ms":1785593313000,"timestamp_seconds":1785593313,"priority":1,"record_length":96,"hex_timestamp":"0000019fbda7b6e8"} 
[2026-08-01 19:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 19:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:40:37] 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-08-01 19:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111811328001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 19:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111811328001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:40:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:40:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 19:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111811328001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 19:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":146462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:40:37] local.INFO: GPS data processed {"connection_id":146462,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:40:37] local.INFO: Acknowledgment sent {"connection_id":146462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:40:45] local.INFO: TCP Data received {"connection_id":148762,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:40:45] local.INFO: Processing buffer {"connection_id":148762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:40:45] local.INFO: IMEI packet received {"connection_id":148762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 19:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":148762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:40:48] local.INFO: TCP Data received {"connection_id":148762,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:40:48] local.INFO: Processing buffer {"connection_id":148762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:40:48] local.INFO: IMEI packet received {"connection_id":148762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":148762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:40:51] local.INFO: TCP Data received {"connection_id":148762,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:40:51] local.INFO: Processing buffer {"connection_id":148762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:40:51] local.INFO: IMEI packet received {"connection_id":148762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":148762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:40:55] local.INFO: TCP Data received {"connection_id":148762,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbda8d7f8012cd41280073efeb0001101492c..."} 
[2026-08-01 19:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbda8d7f8012cd41280073efeb0001101492c..."} 
[2026-08-01 19:40:55] local.INFO: Processing buffer {"connection_id":148762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbda8d7f8012cd41280073efeb0001101492c..."} 
[2026-08-01 19:40:55] local.INFO: Packet analysis {"connection_id":148762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbda8"} 
[2026-08-01 19:40:55] local.INFO: Extracted packet for processing {"connection_id":148762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbda8"} 
[2026-08-01 19:40:55] local.INFO: GPS Element Parsed {"raw_longitude":752095872,"raw_latitude":121568944,"longitude_deg":75.2095872,"latitude_deg":12.1568944,"altitude":17,"angle":329,"satellites":44,"speed":50,"hex_longitude":"2cd41280","hex_latitude":"073efeb0","is_valid_coordinates":true} 
[2026-08-01 19:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111905024001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366834075874361344,"note":"Value kept but may cause issues"} 
[2026-08-01 19:40:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3159345476225112064,"note":"Value kept but may cause issues"} 
[2026-08-01 19:40:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785593387000,"timestamp_ms":1785593387000,"timestamp_seconds":1785593387,"priority":1,"record_length":96,"hex_timestamp":"0000019fbda8d7f8"} 
[2026-08-01 19:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:40: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-08-01 19:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-01 19:40:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:40:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:40:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111905024001,"66":27321,"244":206,"83":43264,"24":50,"16":366834075874361344,"44":-3159345476225112064},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,83,24,16,44]} 
[2026-08-01 19:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111905024001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:40:55] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-08-01 19:40:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366834075874361344,"km_value":366834075874361.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:40:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3159345476225112064,"description":"Unknown IO ID 44"} 
[2026-08-01 19:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111905024001,"power":27321,"unknown_244":206,"unknown_83":43264,"ignition":50,"odometer":null,"unknown_44":-3159345476225112064}} 
[2026-08-01 19:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":148762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:40:55] local.INFO: GPS data processed {"connection_id":148762,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:40:55] local.INFO: Acknowledgment sent {"connection_id":148762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:41:05] local.INFO: TCP Data received {"connection_id":147452,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147452,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:41:05] local.INFO: Processing buffer {"connection_id":147452,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:41:05] local.INFO: IMEI packet received {"connection_id":147452,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 19:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":147452,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:41:10] local.INFO: TCP Data received {"connection_id":147452,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147452,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:41:10] local.INFO: Processing buffer {"connection_id":147452,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:41:10] local.INFO: IMEI packet received {"connection_id":147452,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":147452,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:41:10] local.INFO: TCP Data received {"connection_id":147452,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbda7b6e8012d196580071fefa0003b01512a..."} 
[2026-08-01 19:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbda7b6e8012d196580071fefa0003b01512a..."} 
[2026-08-01 19:41:10] local.INFO: Processing buffer {"connection_id":147452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbda7b6e8012d196580071fefa0003b01512a..."} 
[2026-08-01 19:41:10] local.INFO: Packet analysis {"connection_id":147452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbda7"} 
[2026-08-01 19:41:10] local.INFO: Extracted packet for processing {"connection_id":147452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbda7"} 
[2026-08-01 19:41:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 19:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111811328001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 19:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785593313000,"timestamp_ms":1785593313000,"timestamp_seconds":1785593313,"priority":1,"record_length":96,"hex_timestamp":"0000019fbda7b6e8"} 
[2026-08-01 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-08-01 19:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 19: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-08-01 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-08-01 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-08-01 19:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":147452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":147452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":147452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:41: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-08-01 19:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111811328001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 19:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111811328001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:41:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:41:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 19:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111811328001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 19:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":147452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:41:11] local.INFO: GPS data processed {"connection_id":147452,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:41:11] local.INFO: Acknowledgment sent {"connection_id":147452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:41:15] local.INFO: TCP Data received {"connection_id":147452,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbda7b6e8012d196580071fefa0003b01512a..."} 
[2026-08-01 19:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbda7b6e8012d196580071fefa0003b01512a..."} 
[2026-08-01 19:41:15] local.INFO: Processing buffer {"connection_id":147452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbda7b6e8012d196580071fefa0003b01512a..."} 
[2026-08-01 19:41:15] local.INFO: Packet analysis {"connection_id":147452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbda7"} 
[2026-08-01 19:41:15] local.INFO: Extracted packet for processing {"connection_id":147452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbda7"} 
[2026-08-01 19:41:15] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 19:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111811328001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 19: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-08-01 19:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785593313000,"timestamp_ms":1785593313000,"timestamp_seconds":1785593313,"priority":1,"record_length":96,"hex_timestamp":"0000019fbda7b6e8"} 
[2026-08-01 19:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 19: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-08-01 19:41:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":147452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":147452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":147452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:41:15] 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-08-01 19:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111811328001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 19:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111811328001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:41:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:41:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 19:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111811328001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 19:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":147452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578906,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:41:15] local.INFO: GPS data processed {"connection_id":147452,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:41:15] local.INFO: Acknowledgment sent {"connection_id":147452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:41:35] local.INFO: TCP Data received {"connection_id":148762,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbda8f350012cd40340073f1f48001001552a..."} 
[2026-08-01 19:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbda8f350012cd40340073f1f48001001552a..."} 
[2026-08-01 19:41:35] local.INFO: Processing buffer {"connection_id":148762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbda8f350012cd40340073f1f48001001552a..."} 
[2026-08-01 19:41:35] local.INFO: Packet analysis {"connection_id":148762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbda8"} 
[2026-08-01 19:41:35] local.INFO: Extracted packet for processing {"connection_id":148762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbda8"} 
[2026-08-01 19:41:35] local.INFO: GPS Element Parsed {"raw_longitude":752091968,"raw_latitude":121577288,"longitude_deg":75.2091968,"latitude_deg":12.1577288,"altitude":16,"angle":341,"satellites":42,"speed":54,"hex_longitude":"2cd40340","hex_latitude":"073f1f48","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111907072001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366834522550960128,"note":"Value kept but may cause issues"} 
[2026-08-01 19:41:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3165326819478032384,"note":"Value kept but may cause issues"} 
[2026-08-01 19:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785593394000,"timestamp_ms":1785593394000,"timestamp_seconds":1785593394,"priority":1,"record_length":96,"hex_timestamp":"0000019fbda8f350"} 
[2026-08-01 19:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:41: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-08-01 19: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-01 19:41: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-08-01 19: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-08-01 19:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:41: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-08-01 19:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111907072001,"66":27343,"244":206,"83":43264,"24":54,"16":366834522550960128,"44":-3165326819478032384},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,83,24,16,44]} 
[2026-08-01 19:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111907072001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:41:35] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-08-01 19:41:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366834522550960128,"km_value":366834522550960.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:41:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3165326819478032384,"description":"Unknown IO ID 44"} 
[2026-08-01 19:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111907072001,"power":27343,"unknown_244":206,"unknown_83":43264,"ignition":54,"odometer":null,"unknown_44":-3165326819478032384}} 
[2026-08-01 19:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":148762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:41:35] local.INFO: GPS data processed {"connection_id":148762,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:41:35] local.INFO: Acknowledgment sent {"connection_id":148762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:41:43] local.INFO: TCP Data received {"connection_id":147453,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:41:43] local.INFO: Processing buffer {"connection_id":147453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:41:43] local.INFO: IMEI packet received {"connection_id":147453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 19:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":147453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:41:48] local.INFO: TCP Data received {"connection_id":147453,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:41:48] local.INFO: Processing buffer {"connection_id":147453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:41:48] local.INFO: IMEI packet received {"connection_id":147453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":147453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:41:49] local.INFO: TCP Data received {"connection_id":147453,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbda9ba88012cd35500074009f0000801402b..."} 
[2026-08-01 19:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbda9ba88012cd35500074009f0000801402b..."} 
[2026-08-01 19:41:49] local.INFO: Processing buffer {"connection_id":147453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbda9ba88012cd35500074009f0000801402b..."} 
[2026-08-01 19:41:49] local.INFO: Packet analysis {"connection_id":147453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbda9"} 
[2026-08-01 19:41:49] local.INFO: Extracted packet for processing {"connection_id":147453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbda9"} 
[2026-08-01 19:41:49] local.INFO: GPS Element Parsed {"raw_longitude":752047360,"raw_latitude":121637360,"longitude_deg":75.204736,"latitude_deg":12.163736,"altitude":8,"angle":320,"satellites":43,"speed":58,"hex_longitude":"2cd35500","hex_latitude":"074009f0","is_valid_coordinates":true} 
[2026-08-01 19:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:41:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111920128001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366838177568129024,"note":"Value kept but may cause issues"} 
[2026-08-01 19:41:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3211347978154752000,"note":"Value kept but may cause issues"} 
[2026-08-01 19:41: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-08-01 19:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785593445000,"timestamp_ms":1785593445000,"timestamp_seconds":1785593445,"priority":1,"record_length":96,"hex_timestamp":"0000019fbda9ba88"} 
[2026-08-01 19:41:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:41:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 19:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-01 19:41:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:41:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:41:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:41:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:41:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111920128001,"66":27267,"245":206,"83":43264,"24":58,"16":366838177568129024,"44":-3211347978154752000},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-08-01 19:41:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:41:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:41:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111920128001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:41:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:41:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366838177568129024,"km_value":366838177568129.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:41:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3211347978154752000,"description":"Unknown IO ID 44"} 
[2026-08-01 19:41:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111920128001,"power":27267,"geofence_id":206,"unknown_83":43264,"ignition":58,"odometer":null,"unknown_44":-3211347978154752000}} 
[2026-08-01 19:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":147453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:41:49] local.INFO: GPS data processed {"connection_id":147453,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:41:49] local.INFO: Acknowledgment sent {"connection_id":147453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:42:00] local.INFO: TCP Data received {"connection_id":146463,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146463,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:42:00] local.INFO: Processing buffer {"connection_id":146463,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:42:00] local.INFO: IMEI packet received {"connection_id":146463,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 19:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":146463,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:42:05] local.INFO: TCP Data received {"connection_id":146463,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146463,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:42:05] local.INFO: Processing buffer {"connection_id":146463,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:42:05] local.INFO: IMEI packet received {"connection_id":146463,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":146463,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:42:05] local.INFO: TCP Data received {"connection_id":146463,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbda7b6e8012d196580071fefa0003b01512a..."} 
[2026-08-01 19:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbda7b6e8012d196580071fefa0003b01512a..."} 
[2026-08-01 19:42:05] local.INFO: Processing buffer {"connection_id":146463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbda7b6e8012d196580071fefa0003b01512a..."} 
[2026-08-01 19:42:05] local.INFO: Packet analysis {"connection_id":146463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbda7"} 
[2026-08-01 19:42:05] local.INFO: Extracted packet for processing {"connection_id":146463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbda7"} 
[2026-08-01 19:42:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111811328001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 19:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785593313000,"timestamp_ms":1785593313000,"timestamp_seconds":1785593313,"priority":1,"record_length":96,"hex_timestamp":"0000019fbda7b6e8"} 
[2026-08-01 19:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 19:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:42:05] 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-08-01 19:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111811328001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 19:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111811328001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:42:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:42:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 19:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111811328001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 19:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":146463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:42:05] local.INFO: GPS data processed {"connection_id":146463,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:42:05] local.INFO: Acknowledgment sent {"connection_id":146463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:42:21] local.INFO: TCP Data received {"connection_id":147453,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbda9d5e0012cd33c4007402760000901412b..."} 
[2026-08-01 19:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbda9d5e0012cd33c4007402760000901412b..."} 
[2026-08-01 19:42:21] local.INFO: Processing buffer {"connection_id":147453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbda9d5e0012cd33c4007402760000901412b..."} 
[2026-08-01 19:42:21] local.INFO: Packet analysis {"connection_id":147453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbda9"} 
[2026-08-01 19:42:21] local.INFO: Extracted packet for processing {"connection_id":147453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbda9"} 
[2026-08-01 19:42:21] local.INFO: GPS Element Parsed {"raw_longitude":752041024,"raw_latitude":121644896,"longitude_deg":75.2041024,"latitude_deg":12.1644896,"altitude":9,"angle":321,"satellites":43,"speed":54,"hex_longitude":"2cd33c40","hex_latitude":"07402760","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111921920001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366838650014531584,"note":"Value kept but may cause issues"} 
[2026-08-01 19:42:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3218666327547187200,"note":"Value kept but may cause issues"} 
[2026-08-01 19:42:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785593452000,"timestamp_ms":1785593452000,"timestamp_seconds":1785593452,"priority":1,"record_length":96,"hex_timestamp":"0000019fbda9d5e0"} 
[2026-08-01 19:42:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:42:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 19:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-01 19:42:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:42:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:42:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111921920001,"66":27365,"245":206,"83":43264,"24":54,"16":366838650014531584,"44":-3218666327547187200},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-08-01 19:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:42:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111921920001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:42:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:42:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366838650014531584,"km_value":366838650014531.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:42:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3218666327547187200,"description":"Unknown IO ID 44"} 
[2026-08-01 19:42:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111921920001,"power":27365,"geofence_id":206,"unknown_83":43264,"ignition":54,"odometer":null,"unknown_44":-3218666327547187200}} 
[2026-08-01 19:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":147453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:42:21] local.INFO: GPS data processed {"connection_id":147453,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:42:21] local.INFO: Acknowledgment sent {"connection_id":147453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:42:36] local.INFO: TCP Data received {"connection_id":146463,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbda7b6e8012d196580071fefa0003b01512a..."} 
[2026-08-01 19:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbda7b6e8012d196580071fefa0003b01512a..."} 
[2026-08-01 19:42:36] local.INFO: Processing buffer {"connection_id":146463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbda7b6e8012d196580071fefa0003b01512a..."} 
[2026-08-01 19:42:36] local.INFO: Packet analysis {"connection_id":146463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbda7"} 
[2026-08-01 19:42:36] local.INFO: Extracted packet for processing {"connection_id":146463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbda7"} 
[2026-08-01 19:42:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111811328001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 19:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785593313000,"timestamp_ms":1785593313000,"timestamp_seconds":1785593313,"priority":1,"record_length":96,"hex_timestamp":"0000019fbda7b6e8"} 
[2026-08-01 19:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 19:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:42:36] 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-08-01 19:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111811328001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 19:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111811328001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:42:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:42:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 19:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111811328001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 19:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":146463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:42:36] local.INFO: GPS data processed {"connection_id":146463,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:42:36] local.INFO: Acknowledgment sent {"connection_id":146463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:42:43] local.INFO: TCP Data received {"connection_id":147454,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:42:43] local.INFO: Processing buffer {"connection_id":147454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:42:43] local.INFO: IMEI packet received {"connection_id":147454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 19:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":147454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:42:45] local.INFO: TCP Data received {"connection_id":147454,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:42:45] local.INFO: Processing buffer {"connection_id":147454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:42:45] local.INFO: IMEI packet received {"connection_id":147454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":147454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:42:48] local.INFO: TCP Data received {"connection_id":147454,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:42:48] local.INFO: Processing buffer {"connection_id":147454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:42:48] local.INFO: IMEI packet received {"connection_id":147454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":147454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:42:49] local.INFO: TCP Data received {"connection_id":147454,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbda9f138012cd32480074043d8000a013d2b..."} 
[2026-08-01 19:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbda9f138012cd32480074043d8000a013d2b..."} 
[2026-08-01 19:42:49] local.INFO: Processing buffer {"connection_id":147454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbda9f138012cd32480074043d8000a013d2b..."} 
[2026-08-01 19:42:49] local.INFO: Packet analysis {"connection_id":147454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbda9"} 
[2026-08-01 19:42:49] local.INFO: Extracted packet for processing {"connection_id":147454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbda9"} 
[2026-08-01 19:42:49] local.INFO: GPS Element Parsed {"raw_longitude":752034944,"raw_latitude":121652184,"longitude_deg":75.2034944,"latitude_deg":12.1652184,"altitude":10,"angle":317,"satellites":43,"speed":51,"hex_longitude":"2cd32480","hex_latitude":"074043d8","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111923712001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366839109576032256,"note":"Value kept but may cause issues"} 
[2026-08-01 19:42:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3225632833218846720,"note":"Value kept but may cause issues"} 
[2026-08-01 19:42: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-08-01 19:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785593459000,"timestamp_ms":1785593459000,"timestamp_seconds":1785593459,"priority":1,"record_length":96,"hex_timestamp":"0000019fbda9f138"} 
[2026-08-01 19:42:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:42:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 19: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":229,"data_length":795,"current_offset":136} 
[2026-08-01 19:42:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:42:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:42:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111923712001,"66":27300,"245":206,"83":43264,"24":51,"16":366839109576032256,"44":-3225632833218846720},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-08-01 19:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111923712001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:42:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366839109576032256,"km_value":366839109576032.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:42:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3225632833218846720,"description":"Unknown IO ID 44"} 
[2026-08-01 19:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111923712001,"power":27300,"geofence_id":206,"unknown_83":43264,"ignition":51,"odometer":null,"unknown_44":-3225632833218846720}} 
[2026-08-01 19:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":147454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:42:49] local.INFO: GPS data processed {"connection_id":147454,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:42:49] local.INFO: Acknowledgment sent {"connection_id":147454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:43:00] local.INFO: TCP Data received {"connection_id":146219,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:43:00] local.INFO: Processing buffer {"connection_id":146219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:43:00] local.INFO: IMEI packet received {"connection_id":146219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 19:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":146219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:43:05] local.INFO: TCP Data received {"connection_id":146219,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:43:05] local.INFO: Processing buffer {"connection_id":146219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:43:05] local.INFO: IMEI packet received {"connection_id":146219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":146219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:43:05] local.INFO: TCP Data received {"connection_id":146219,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbda7b6e8012d196580071fefa0003b01512a..."} 
[2026-08-01 19:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbda7b6e8012d196580071fefa0003b01512a..."} 
[2026-08-01 19:43:05] local.INFO: Processing buffer {"connection_id":146219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbda7b6e8012d196580071fefa0003b01512a..."} 
[2026-08-01 19:43:05] local.INFO: Packet analysis {"connection_id":146219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbda7"} 
[2026-08-01 19:43:05] local.INFO: Extracted packet for processing {"connection_id":146219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbda7"} 
[2026-08-01 19:43:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 19:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111811328001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 19:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785593313000,"timestamp_ms":1785593313000,"timestamp_seconds":1785593313,"priority":1,"record_length":96,"hex_timestamp":"0000019fbda7b6e8"} 
[2026-08-01 19:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 19:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:43:05] 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-08-01 19:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111811328001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 19:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111811328001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:43:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:43:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 19:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111811328001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 19:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":146219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:43:05] local.INFO: GPS data processed {"connection_id":146219,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:43:05] local.INFO: Acknowledgment sent {"connection_id":146219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:43:20] local.INFO: TCP Data received {"connection_id":147454,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdaa1c30012cd30d4007405ef0000901422b..."} 
[2026-08-01 19:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdaa1c30012cd30d4007405ef0000901422b..."} 
[2026-08-01 19:43:20] local.INFO: Processing buffer {"connection_id":147454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdaa1c30012cd30d4007405ef0000901422b..."} 
[2026-08-01 19:43:20] local.INFO: Packet analysis {"connection_id":147454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdaa"} 
[2026-08-01 19:43:20] local.INFO: Extracted packet for processing {"connection_id":147454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdaa"} 
[2026-08-01 19:43:20] local.INFO: GPS Element Parsed {"raw_longitude":752028992,"raw_latitude":121659120,"longitude_deg":75.2028992,"latitude_deg":12.165912,"altitude":9,"angle":322,"satellites":43,"speed":29,"hex_longitude":"2cd30d40","hex_latitude":"07405ef0","is_valid_coordinates":true} 
[2026-08-01 19:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111925504001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366839547662696448,"note":"Value kept but may cause issues"} 
[2026-08-01 19:43:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3232317863913859072,"note":"Value kept but may cause issues"} 
[2026-08-01 19:43:20] 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-08-01 19:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785593470000,"timestamp_ms":1785593470000,"timestamp_seconds":1785593470,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdaa1c30"} 
[2026-08-01 19:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:43:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 19:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-01 19:43:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:43:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:43:20] 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-08-01 19:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111925504001,"66":27343,"245":206,"83":43264,"24":29,"16":366839547662696448,"44":-3232317863913859072},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-08-01 19:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111925504001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:43:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366839547662696448,"km_value":366839547662696.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:43:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3232317863913859072,"description":"Unknown IO ID 44"} 
[2026-08-01 19:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111925504001,"power":27343,"geofence_id":206,"unknown_83":43264,"ignition":29,"odometer":null,"unknown_44":-3232317863913859072}} 
[2026-08-01 19:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":147454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:43:20] local.INFO: GPS data processed {"connection_id":147454,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:43:20] local.INFO: Acknowledgment sent {"connection_id":147454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:43:36] local.INFO: TCP Data received {"connection_id":146219,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbda7b6e8012d196580071fefa0003b01512a..."} 
[2026-08-01 19:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbda7b6e8012d196580071fefa0003b01512a..."} 
[2026-08-01 19:43:36] local.INFO: Processing buffer {"connection_id":146219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbda7b6e8012d196580071fefa0003b01512a..."} 
[2026-08-01 19:43:36] local.INFO: Packet analysis {"connection_id":146219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbda7"} 
[2026-08-01 19:43:36] local.INFO: Extracted packet for processing {"connection_id":146219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbda7"} 
[2026-08-01 19:43:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 19:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111811328001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 19:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785593313000,"timestamp_ms":1785593313000,"timestamp_seconds":1785593313,"priority":1,"record_length":96,"hex_timestamp":"0000019fbda7b6e8"} 
[2026-08-01 19:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 19:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:43:36] 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-08-01 19:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111811328001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 19:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111811328001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:43:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:43:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 19:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111811328001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 19:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":146219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:43:36] local.INFO: GPS data processed {"connection_id":146219,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:43:36] local.INFO: Acknowledgment sent {"connection_id":146219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:43:42] local.INFO: TCP Data received {"connection_id":147455,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:43:42] local.INFO: Processing buffer {"connection_id":147455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:43:42] local.INFO: IMEI packet received {"connection_id":147455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 19:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":147455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:43:43] local.INFO: TCP Data received {"connection_id":147455,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:43:43] local.INFO: Processing buffer {"connection_id":147455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:43:43] local.INFO: IMEI packet received {"connection_id":147455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":147455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:43:48] local.INFO: TCP Data received {"connection_id":147455,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:43:48] local.INFO: Processing buffer {"connection_id":147455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:43:48] local.INFO: IMEI packet received {"connection_id":147455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":147455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:43:49] local.INFO: TCP Data received {"connection_id":147455,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdab9ee8012cd202c007416308001301272d..."} 
[2026-08-01 19:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdab9ee8012cd202c007416308001301272d..."} 
[2026-08-01 19:43:49] local.INFO: Processing buffer {"connection_id":147455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdab9ee8012cd202c007416308001301272d..."} 
[2026-08-01 19:43:49] local.INFO: Packet analysis {"connection_id":147455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdab"} 
[2026-08-01 19:43:49] local.INFO: Extracted packet for processing {"connection_id":147455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdab"} 
[2026-08-01 19:43:49] local.INFO: GPS Element Parsed {"raw_longitude":751960768,"raw_latitude":121725704,"longitude_deg":75.1960768,"latitude_deg":12.1725704,"altitude":19,"angle":295,"satellites":45,"speed":45,"hex_longitude":"2cd202c0","hex_latitude":"07416308","is_valid_coordinates":true} 
[2026-08-01 19:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:43:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111951360001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:43:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366844203407245312,"note":"Value kept but may cause issues"} 
[2026-08-01 19:43:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3303882876724860928,"note":"Value kept but may cause issues"} 
[2026-08-01 19:43:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:43:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785593569000,"timestamp_ms":1785593569000,"timestamp_seconds":1785593569,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdab9ee8"} 
[2026-08-01 19:43:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:43:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 19:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-01 19:43:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:43:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:43:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:43:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:43:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:43:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:43:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:43:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:43:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:43:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:43:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111951360001,"66":27310,"111":206,"83":43264,"24":45,"16":366844203407245312,"44":-3303882876724860928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,83,24,16,44]} 
[2026-08-01 19:43:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:43:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:43:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111951360001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:43:49] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-01 19:43:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:43:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366844203407245312,"km_value":366844203407245.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:43:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3303882876724860928,"description":"Unknown IO ID 44"} 
[2026-08-01 19:43:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111951360001,"power":27310,"unknown_111":206,"unknown_83":43264,"ignition":45,"odometer":null,"unknown_44":-3303882876724860928}} 
[2026-08-01 19:43:49] local.INFO: DEBUG: GPS processor result {"connection_id":147455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:43:49] local.INFO: GPS data processed {"connection_id":147455,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:43:49] local.INFO: Acknowledgment sent {"connection_id":147455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:43:59] local.INFO: TCP Data received {"connection_id":146220,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:43:59] local.INFO: Processing buffer {"connection_id":146220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:43:59] local.INFO: IMEI packet received {"connection_id":146220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 19:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":146220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:44:05] local.INFO: TCP Data received {"connection_id":146220,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:44:05] local.INFO: Processing buffer {"connection_id":146220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:44:05] local.INFO: IMEI packet received {"connection_id":146220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":146220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:44:05] local.INFO: TCP Data received {"connection_id":146220,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbda7b6e8012d196580071fefa0003b01512a..."} 
[2026-08-01 19:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbda7b6e8012d196580071fefa0003b01512a..."} 
[2026-08-01 19:44:05] local.INFO: Processing buffer {"connection_id":146220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbda7b6e8012d196580071fefa0003b01512a..."} 
[2026-08-01 19:44:05] local.INFO: Packet analysis {"connection_id":146220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbda7"} 
[2026-08-01 19:44:05] local.INFO: Extracted packet for processing {"connection_id":146220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbda7"} 
[2026-08-01 19:44:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 19:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111811328001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 19:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785593313000,"timestamp_ms":1785593313000,"timestamp_seconds":1785593313,"priority":1,"record_length":96,"hex_timestamp":"0000019fbda7b6e8"} 
[2026-08-01 19:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 19:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:44:05] 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-08-01 19:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111811328001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 19:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111811328001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:44:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:44:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 19:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111811328001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 19:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":146220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:44:05] local.INFO: GPS data processed {"connection_id":146220,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:44:05] local.INFO: Acknowledgment sent {"connection_id":146220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:44:28] local.INFO: TCP Data received {"connection_id":147455,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdabbe28012cd1e0c0074173b0001301292c..."} 
[2026-08-01 19:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdabbe28012cd1e0c0074173b0001301292c..."} 
[2026-08-01 19:44:28] local.INFO: Processing buffer {"connection_id":147455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdabbe28012cd1e0c0074173b0001301292c..."} 
[2026-08-01 19:44:28] local.INFO: Packet analysis {"connection_id":147455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdab"} 
[2026-08-01 19:44:28] local.INFO: Extracted packet for processing {"connection_id":147455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdab"} 
[2026-08-01 19:44:28] local.INFO: GPS Element Parsed {"raw_longitude":751952064,"raw_latitude":121729968,"longitude_deg":75.1952064,"latitude_deg":12.1729968,"altitude":19,"angle":297,"satellites":44,"speed":48,"hex_longitude":"2cd1e0c0","hex_latitude":"074173b0","is_valid_coordinates":true} 
[2026-08-01 19:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111953664001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366844667263713280,"note":"Value kept but may cause issues"} 
[2026-08-01 19:44:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3313875238396950528,"note":"Value kept but may cause issues"} 
[2026-08-01 19:44:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785593577000,"timestamp_ms":1785593577000,"timestamp_seconds":1785593577,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdabbe28"} 
[2026-08-01 19:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:44: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-08-01 19:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-01 19:44:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:44:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":147455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":147455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":147455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:44: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-08-01 19:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111953664001,"66":27267,"111":206,"83":43264,"24":48,"16":366844667263713280,"44":-3313875238396950528},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,83,24,16,44]} 
[2026-08-01 19:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111953664001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:44:28] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-01 19:44:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366844667263713280,"km_value":366844667263713.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:44:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3313875238396950528,"description":"Unknown IO ID 44"} 
[2026-08-01 19:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111953664001,"power":27267,"unknown_111":206,"unknown_83":43264,"ignition":48,"odometer":null,"unknown_44":-3313875238396950528}} 
[2026-08-01 19:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":147455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:44:28] local.INFO: GPS data processed {"connection_id":147455,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:44:28] local.INFO: Acknowledgment sent {"connection_id":147455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:44:36] local.INFO: TCP Data received {"connection_id":146220,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdac4eb0012d196580071fefa0003b015124..."} 
[2026-08-01 19:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdac4eb0012d196580071fefa0003b015124..."} 
[2026-08-01 19:44:36] local.INFO: Processing buffer {"connection_id":146220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdac4eb0012d196580071fefa0003b015124..."} 
[2026-08-01 19:44:36] local.INFO: Packet analysis {"connection_id":146220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdac"} 
[2026-08-01 19:44:36] local.INFO: Extracted packet for processing {"connection_id":146220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdac"} 
[2026-08-01 19:44:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 19:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111888128001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 19:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785593614000,"timestamp_ms":1785593614000,"timestamp_seconds":1785593614,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdac4eb0"} 
[2026-08-01 19:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 19:44:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:44:36] 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-08-01 19:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111888128001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 19:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111888128001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:44:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:44:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 19:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111888128001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 19:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":146220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:44:36] local.INFO: GPS data processed {"connection_id":146220,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:44:36] local.INFO: Acknowledgment sent {"connection_id":146220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:44:43] local.INFO: TCP Data received {"connection_id":147456,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:44:43] local.INFO: Processing buffer {"connection_id":147456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:44:43] local.INFO: IMEI packet received {"connection_id":147456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 19:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":147456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:44:48] local.INFO: TCP Data received {"connection_id":147456,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:44:48] local.INFO: Processing buffer {"connection_id":147456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:44:48] local.INFO: IMEI packet received {"connection_id":147456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":147456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:44:49] local.INFO: TCP Data received {"connection_id":147456,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdabd980012cd1c300074185e8001301352d..."} 
[2026-08-01 19:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdabd980012cd1c300074185e8001301352d..."} 
[2026-08-01 19:44:49] local.INFO: Processing buffer {"connection_id":147456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdabd980012cd1c300074185e8001301352d..."} 
[2026-08-01 19:44:49] local.INFO: Packet analysis {"connection_id":147456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdab"} 
[2026-08-01 19:44:49] local.INFO: Extracted packet for processing {"connection_id":147456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdab"} 
[2026-08-01 19:44:49] local.INFO: GPS Element Parsed {"raw_longitude":751944448,"raw_latitude":121734632,"longitude_deg":75.1944448,"latitude_deg":12.1734632,"altitude":19,"angle":309,"satellites":45,"speed":52,"hex_longitude":"2cd1c300","hex_latitude":"074185e8","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111955712001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366845092465475584,"note":"Value kept but may cause issues"} 
[2026-08-01 19:44:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3323445387604021248,"note":"Value kept but may cause issues"} 
[2026-08-01 19:44:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785593584000,"timestamp_ms":1785593584000,"timestamp_seconds":1785593584,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdabd980"} 
[2026-08-01 19:44:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:44: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-08-01 19:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-01 19:44:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:44:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:44:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111955712001,"66":27300,"77":206,"83":43264,"24":52,"16":366845092465475584,"44":-3323445387604021248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,83,24,16,44]} 
[2026-08-01 19:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111955712001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:44:49] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-01 19:44:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366845092465475584,"km_value":366845092465475.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:44:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3323445387604021248,"description":"Unknown IO ID 44"} 
[2026-08-01 19:44:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111955712001,"power":27300,"unknown_77":206,"unknown_83":43264,"ignition":52,"odometer":null,"unknown_44":-3323445387604021248}} 
[2026-08-01 19:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":147456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:44:49] local.INFO: GPS data processed {"connection_id":147456,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:44:49] local.INFO: Acknowledgment sent {"connection_id":147456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:45:05] local.INFO: TCP Data received {"connection_id":148763,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:45:05] local.INFO: Processing buffer {"connection_id":148763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:45:05] local.INFO: IMEI packet received {"connection_id":148763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 19:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":148763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:45:10] local.INFO: TCP Data received {"connection_id":148763,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:45:10] local.INFO: Processing buffer {"connection_id":148763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:45:10] local.INFO: IMEI packet received {"connection_id":148763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":148763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:45:10] local.INFO: TCP Data received {"connection_id":148763,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdac4eb0012d196580071fefa0003b015124..."} 
[2026-08-01 19:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdac4eb0012d196580071fefa0003b015124..."} 
[2026-08-01 19:45:10] local.INFO: Processing buffer {"connection_id":148763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdac4eb0012d196580071fefa0003b015124..."} 
[2026-08-01 19:45:10] local.INFO: Packet analysis {"connection_id":148763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdac"} 
[2026-08-01 19:45:10] local.INFO: Extracted packet for processing {"connection_id":148763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdac"} 
[2026-08-01 19:45:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 19:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111888128001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 19: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-08-01 19:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785593614000,"timestamp_ms":1785593614000,"timestamp_seconds":1785593614,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdac4eb0"} 
[2026-08-01 19:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:45: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-08-01 19:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 19:45: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-08-01 19:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":148763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":148763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":148763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:45: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-08-01 19:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111888128001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 19:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111888128001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:45:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:45:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 19:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111888128001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 19:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":148763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:45:10] local.INFO: GPS data processed {"connection_id":148763,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:45:10] local.INFO: Acknowledgment sent {"connection_id":148763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:45:15] local.INFO: TCP Data received {"connection_id":148763,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdac4eb0012d196580071fefa0003b015124..."} 
[2026-08-01 19:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdac4eb0012d196580071fefa0003b015124..."} 
[2026-08-01 19:45:15] local.INFO: Processing buffer {"connection_id":148763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdac4eb0012d196580071fefa0003b015124..."} 
[2026-08-01 19:45:15] local.INFO: Packet analysis {"connection_id":148763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdac"} 
[2026-08-01 19:45:15] local.INFO: Extracted packet for processing {"connection_id":148763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdac"} 
[2026-08-01 19:45:15] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111888128001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 19:45: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-08-01 19:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785593614000,"timestamp_ms":1785593614000,"timestamp_seconds":1785593614,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdac4eb0"} 
[2026-08-01 19:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:45: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-08-01 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 19:45: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-08-01 19: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-08-01 19:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:45:15] 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-08-01 19:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111888128001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 19:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111888128001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:45:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:45:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 19:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111888128001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 19:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":148763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:45:15] local.INFO: GPS data processed {"connection_id":148763,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:45:15] local.INFO: Acknowledgment sent {"connection_id":148763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:45:20] local.INFO: TCP Data received {"connection_id":147456,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdad0e18012cd086800742bfb8000f01332e..."} 
[2026-08-01 19:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdad0e18012cd086800742bfb8000f01332e..."} 
[2026-08-01 19:45:20] local.INFO: Processing buffer {"connection_id":147456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdad0e18012cd086800742bfb8000f01332e..."} 
[2026-08-01 19:45:20] local.INFO: Packet analysis {"connection_id":147456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdad"} 
[2026-08-01 19:45:20] local.INFO: Extracted packet for processing {"connection_id":147456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdad"} 
[2026-08-01 19:45:20] local.INFO: GPS Element Parsed {"raw_longitude":751863424,"raw_latitude":121814968,"longitude_deg":75.1863424,"latitude_deg":12.1814968,"altitude":15,"angle":307,"satellites":46,"speed":58,"hex_longitude":"2cd08680","hex_latitude":"0742bfb8","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111976192001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366850598613549056,"note":"Value kept but may cause issues"} 
[2026-08-01 19:45:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3412884061433458688,"note":"Value kept but may cause issues"} 
[2026-08-01 19:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785593663000,"timestamp_ms":1785593663000,"timestamp_seconds":1785593663,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdad0e18"} 
[2026-08-01 19:45:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:45:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 19: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-01 19:45:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:45:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:45:20] 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-08-01 19:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111976192001,"66":27365,"79":206,"83":43264,"24":58,"16":366850598613549056,"44":-3412884061433458688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,83,24,16,44]} 
[2026-08-01 19:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111976192001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:45:20] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-01 19:45:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366850598613549056,"km_value":366850598613549.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:45:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3412884061433458688,"description":"Unknown IO ID 44"} 
[2026-08-01 19:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111976192001,"power":27365,"unknown_79":206,"unknown_83":43264,"ignition":58,"odometer":null,"unknown_44":-3412884061433458688}} 
[2026-08-01 19:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":147456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:45:20] local.INFO: GPS data processed {"connection_id":147456,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:45:20] local.INFO: Acknowledgment sent {"connection_id":147456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:45:48] local.INFO: TCP Data received {"connection_id":147457,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:45:48] local.INFO: Processing buffer {"connection_id":147457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:45:48] local.INFO: IMEI packet received {"connection_id":147457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 19:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":147457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:45:49] local.INFO: TCP Data received {"connection_id":147457,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:45:49] local.INFO: Processing buffer {"connection_id":147457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:45:49] local.INFO: IMEI packet received {"connection_id":147457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":147457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:45:50] local.INFO: TCP Data received {"connection_id":147457,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdad2970012cd065c00742d7c0001001312e..."} 
[2026-08-01 19:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdad2970012cd065c00742d7c0001001312e..."} 
[2026-08-01 19:45:50] local.INFO: Processing buffer {"connection_id":147457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdad2970012cd065c00742d7c0001001312e..."} 
[2026-08-01 19:45:50] local.INFO: Packet analysis {"connection_id":147457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdad"} 
[2026-08-01 19:45:50] local.INFO: Extracted packet for processing {"connection_id":147457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdad"} 
[2026-08-01 19:45:50] local.INFO: GPS Element Parsed {"raw_longitude":751855040,"raw_latitude":121821120,"longitude_deg":75.185504,"latitude_deg":12.182112,"altitude":16,"angle":305,"satellites":46,"speed":57,"hex_longitude":"2cd065c0","hex_latitude":"0742d7c0","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:45:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111977728001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:45:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366851096829755392,"note":"Value kept but may cause issues"} 
[2026-08-01 19:45:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3420906098268325888,"note":"Value kept but may cause issues"} 
[2026-08-01 19:45:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:45:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785593670000,"timestamp_ms":1785593670000,"timestamp_seconds":1785593670,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdad2970"} 
[2026-08-01 19:45:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19: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-08-01 19:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-01 19:45:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:45:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:45:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:45:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:45:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:45:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:45:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:45:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:45:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:45:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111977728001,"66":27321,"79":206,"83":43264,"24":57,"16":366851096829755392,"44":-3420906098268325888},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,83,24,16,44]} 
[2026-08-01 19:45:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:45:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:45:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111977728001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:45:50] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-01 19:45:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-01 19:45:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366851096829755392,"km_value":366851096829755.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:45:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3420906098268325888,"description":"Unknown IO ID 44"} 
[2026-08-01 19:45:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111977728001,"power":27321,"unknown_79":206,"unknown_83":43264,"ignition":57,"odometer":null,"unknown_44":-3420906098268325888}} 
[2026-08-01 19:45:50] local.INFO: DEBUG: GPS processor result {"connection_id":147457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:45:50] local.INFO: GPS data processed {"connection_id":147457,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:45:50] local.INFO: Acknowledgment sent {"connection_id":147457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:45:54] local.INFO: TCP Data received {"connection_id":147457,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdad44c8012cd048400742ece00012012f2b..."} 
[2026-08-01 19:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdad44c8012cd048400742ece00012012f2b..."} 
[2026-08-01 19:45:54] local.INFO: Processing buffer {"connection_id":147457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdad44c8012cd048400742ece00012012f2b..."} 
[2026-08-01 19:45:54] local.INFO: Packet analysis {"connection_id":147457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdad"} 
[2026-08-01 19:45:54] local.INFO: Extracted packet for processing {"connection_id":147457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdad"} 
[2026-08-01 19:45:54] local.INFO: GPS Element Parsed {"raw_longitude":751847488,"raw_latitude":121826528,"longitude_deg":75.1847488,"latitude_deg":12.1826528,"altitude":18,"angle":303,"satellites":43,"speed":50,"hex_longitude":"2cd04840","hex_latitude":"0742ece0","is_valid_coordinates":true} 
[2026-08-01 19:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111979520001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366851539211386880,"note":"Value kept but may cause issues"} 
[2026-08-01 19:45:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3430124403754024960,"note":"Value kept but may cause issues"} 
[2026-08-01 19:45:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785593677000,"timestamp_ms":1785593677000,"timestamp_seconds":1785593677,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdad44c8"} 
[2026-08-01 19:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:45:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 19:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-01 19:45:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:45:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":147457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":147457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":147457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:45:54] 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-08-01 19:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111979520001,"66":27321,"142":206,"85":37632,"24":50,"16":366851539211386880,"44":-3430124403754024960},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,85,24,16,44]} 
[2026-08-01 19:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111979520001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:45:54] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-08-01 19:45:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-08-01 19:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366851539211386880,"km_value":366851539211386.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:45:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3430124403754024960,"description":"Unknown IO ID 44"} 
[2026-08-01 19:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111979520001,"power":27321,"unknown_142":206,"unknown_85":37632,"ignition":50,"odometer":null,"unknown_44":-3430124403754024960}} 
[2026-08-01 19:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":147457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:45:54] local.INFO: GPS data processed {"connection_id":147457,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:45:54] local.INFO: Acknowledgment sent {"connection_id":147457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:46:00] local.INFO: TCP Data received {"connection_id":146464,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:46:00] local.INFO: Processing buffer {"connection_id":146464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:46:00] local.INFO: IMEI packet received {"connection_id":146464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 19:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":146464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:46:05] local.INFO: TCP Data received {"connection_id":146464,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:46:05] local.INFO: Processing buffer {"connection_id":146464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:46:05] local.INFO: IMEI packet received {"connection_id":146464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":146464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:46:05] local.INFO: TCP Data received {"connection_id":146464,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdac4eb0012d196580071fefa0003b015124..."} 
[2026-08-01 19:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdac4eb0012d196580071fefa0003b015124..."} 
[2026-08-01 19:46:05] local.INFO: Processing buffer {"connection_id":146464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdac4eb0012d196580071fefa0003b015124..."} 
[2026-08-01 19:46:05] local.INFO: Packet analysis {"connection_id":146464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdac"} 
[2026-08-01 19:46:05] local.INFO: Extracted packet for processing {"connection_id":146464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdac"} 
[2026-08-01 19:46:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111888128001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 19:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785593614000,"timestamp_ms":1785593614000,"timestamp_seconds":1785593614,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdac4eb0"} 
[2026-08-01 19:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 19:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:46:05] 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-08-01 19:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111888128001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 19:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111888128001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:46:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:46:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 19:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111888128001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 19:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":146464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:46:05] local.INFO: GPS data processed {"connection_id":146464,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:46:05] local.INFO: Acknowledgment sent {"connection_id":146464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:46:25] local.INFO: TCP Data received {"connection_id":147457,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdad6408012cd02640074302a80013012f2e..."} 
[2026-08-01 19:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdad6408012cd02640074302a80013012f2e..."} 
[2026-08-01 19:46:25] local.INFO: Processing buffer {"connection_id":147457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdad6408012cd02640074302a80013012f2e..."} 
[2026-08-01 19:46:25] local.INFO: Packet analysis {"connection_id":147457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdad"} 
[2026-08-01 19:46:25] local.INFO: Extracted packet for processing {"connection_id":147457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdad"} 
[2026-08-01 19:46:25] local.INFO: GPS Element Parsed {"raw_longitude":751838784,"raw_latitude":121832104,"longitude_deg":75.1838784,"latitude_deg":12.1832104,"altitude":19,"angle":303,"satellites":46,"speed":51,"hex_longitude":"2cd02640","hex_latitude":"074302a8","is_valid_coordinates":true} 
[2026-08-01 19:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111981312001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366852033132625920,"note":"Value kept but may cause issues"} 
[2026-08-01 19:46:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3438427915565604864,"note":"Value kept but may cause issues"} 
[2026-08-01 19:46:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785593685000,"timestamp_ms":1785593685000,"timestamp_seconds":1785593685,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdad6408"} 
[2026-08-01 19:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:46:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 19:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-01 19:46:25] 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-08-01 19:46:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":147457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":147457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":147457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:46:25] 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-08-01 19:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111981312001,"66":27321,"142":206,"85":37632,"24":51,"16":366852033132625920,"44":-3438427915565604864},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,85,24,16,44]} 
[2026-08-01 19:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111981312001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:46:25] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-08-01 19:46:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-08-01 19:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366852033132625920,"km_value":366852033132625.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:46:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3438427915565604864,"description":"Unknown IO ID 44"} 
[2026-08-01 19:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111981312001,"power":27321,"unknown_142":206,"unknown_85":37632,"ignition":51,"odometer":null,"unknown_44":-3438427915565604864}} 
[2026-08-01 19:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":147457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:46:25] local.INFO: GPS data processed {"connection_id":147457,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:46:25] local.INFO: Acknowledgment sent {"connection_id":147457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:46:36] local.INFO: TCP Data received {"connection_id":146464,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdac4eb0012d196580071fefa0003b015124..."} 
[2026-08-01 19:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdac4eb0012d196580071fefa0003b015124..."} 
[2026-08-01 19:46:36] local.INFO: Processing buffer {"connection_id":146464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdac4eb0012d196580071fefa0003b015124..."} 
[2026-08-01 19:46:36] local.INFO: Packet analysis {"connection_id":146464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdac"} 
[2026-08-01 19:46:36] local.INFO: Extracted packet for processing {"connection_id":146464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdac"} 
[2026-08-01 19:46:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111888128001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 19:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785593614000,"timestamp_ms":1785593614000,"timestamp_seconds":1785593614,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdac4eb0"} 
[2026-08-01 19:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 19:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:46:36] 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-08-01 19:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111888128001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 19:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111888128001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:46:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:46:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 19:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111888128001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 19:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":146464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578928,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:46:37] local.INFO: GPS data processed {"connection_id":146464,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:46:37] local.INFO: Acknowledgment sent {"connection_id":146464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:46:40] local.INFO: TCP Data received {"connection_id":146221,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:46:40] local.INFO: Processing buffer {"connection_id":146221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:46:40] local.INFO: IMEI packet received {"connection_id":146221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 19:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":146221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:46:44] local.INFO: TCP Data received {"connection_id":146221,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:46:44] local.INFO: Processing buffer {"connection_id":146221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:46:44] local.INFO: IMEI packet received {"connection_id":146221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":146221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:46:48] local.INFO: TCP Data received {"connection_id":146221,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:46:48] local.INFO: Processing buffer {"connection_id":146221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:46:48] local.INFO: IMEI packet received {"connection_id":146221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":146221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:46:48] local.INFO: TCP Data received {"connection_id":146221,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdae6da8012ccf0980074409a0000c012f2e..."} 
[2026-08-01 19:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdae6da8012ccf0980074409a0000c012f2e..."} 
[2026-08-01 19:46:48] local.INFO: Processing buffer {"connection_id":146221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdae6da8012ccf0980074409a0000c012f2e..."} 
[2026-08-01 19:46:48] local.INFO: Packet analysis {"connection_id":146221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdae"} 
[2026-08-01 19:46:48] local.INFO: Extracted packet for processing {"connection_id":146221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdae"} 
[2026-08-01 19:46:48] local.INFO: GPS Element Parsed {"raw_longitude":751765888,"raw_latitude":121899424,"longitude_deg":75.1765888,"latitude_deg":12.1899424,"altitude":12,"angle":303,"satellites":46,"speed":59,"hex_longitude":"2ccf0980","hex_latitude":"074409a0","is_valid_coordinates":true} 
[2026-08-01 19:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111999744001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366856843495997440,"note":"Value kept but may cause issues"} 
[2026-08-01 19:46:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3523081514793662464,"note":"Value kept but may cause issues"} 
[2026-08-01 19:46:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785593753000,"timestamp_ms":1785593753000,"timestamp_seconds":1785593753,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdae6da8"} 
[2026-08-01 19:46:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:46:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 19:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-08-01 19:46:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2154,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:46:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:46:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:46:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111999744001,"66":27267,"142":206,"85":37632,"24":59,"16":366856843495997440,"44":-3523081514793662464},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,85,24,16,44]} 
[2026-08-01 19:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111999744001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:46:48] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-08-01 19:46:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-08-01 19:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366856843495997440,"km_value":366856843495997.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:46:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3523081514793662464,"description":"Unknown IO ID 44"} 
[2026-08-01 19:46:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111999744001,"power":27267,"unknown_142":206,"unknown_85":37632,"ignition":59,"odometer":null,"unknown_44":-3523081514793662464}} 
[2026-08-01 19:46:48] local.INFO: DEBUG: GPS processor result {"connection_id":146221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:46:48] local.INFO: GPS data processed {"connection_id":146221,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:46:48] local.INFO: Acknowledgment sent {"connection_id":146221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:46:49] local.INFO: TCP Data received {"connection_id":146221,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdae7960012ccefa0007441198000c01232e..."} 
[2026-08-01 19:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdae7960012ccefa0007441198000c01232e..."} 
[2026-08-01 19:46:49] local.INFO: Processing buffer {"connection_id":146221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdae7960012ccefa0007441198000c01232e..."} 
[2026-08-01 19:46:49] local.INFO: Packet analysis {"connection_id":146221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdae"} 
[2026-08-01 19:46:49] local.INFO: Extracted packet for processing {"connection_id":146221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdae"} 
[2026-08-01 19:46:49] local.INFO: GPS Element Parsed {"raw_longitude":751761920,"raw_latitude":121901464,"longitude_deg":75.176192,"latitude_deg":12.1901464,"altitude":12,"angle":291,"satellites":46,"speed":57,"hex_longitude":"2ccefa00","hex_latitude":"07441198","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:46:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112000768001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366857058244362240,"note":"Value kept but may cause issues"} 
[2026-08-01 19:46:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3528148064373465088,"note":"Value kept but may cause issues"} 
[2026-08-01 19:46:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785593756000,"timestamp_ms":1785593756000,"timestamp_seconds":1785593756,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdae7960"} 
[2026-08-01 19:46:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:46: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-08-01 19: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-01 19:46:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:46:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:46:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112000768001,"66":27397,"142":206,"85":37632,"24":57,"16":366857058244362240,"44":-3528148064373465088},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,85,24,16,44]} 
[2026-08-01 19:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112000768001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:46:49] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-08-01 19:46:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-08-01 19:46:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366857058244362240,"km_value":366857058244362.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:46:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3528148064373465088,"description":"Unknown IO ID 44"} 
[2026-08-01 19:46:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112000768001,"power":27397,"unknown_142":206,"unknown_85":37632,"ignition":57,"odometer":null,"unknown_44":-3528148064373465088}} 
[2026-08-01 19:46:49] local.INFO: DEBUG: GPS processor result {"connection_id":146221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:46:49] local.INFO: GPS data processed {"connection_id":146221,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:46:49] local.INFO: Acknowledgment sent {"connection_id":146221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:47:00] local.INFO: TCP Data received {"connection_id":148764,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:47:00] local.INFO: Processing buffer {"connection_id":148764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:47:00] local.INFO: IMEI packet received {"connection_id":148764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 19:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":148764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:47:05] local.INFO: TCP Data received {"connection_id":148764,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:47:05] local.INFO: Processing buffer {"connection_id":148764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:47:05] local.INFO: IMEI packet received {"connection_id":148764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":148764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:47:05] local.INFO: TCP Data received {"connection_id":148764,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdac4eb0012d196580071fefa0003b015124..."} 
[2026-08-01 19:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdac4eb0012d196580071fefa0003b015124..."} 
[2026-08-01 19:47:05] local.INFO: Processing buffer {"connection_id":148764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdac4eb0012d196580071fefa0003b015124..."} 
[2026-08-01 19:47:05] local.INFO: Packet analysis {"connection_id":148764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdac"} 
[2026-08-01 19:47:05] local.INFO: Extracted packet for processing {"connection_id":148764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdac"} 
[2026-08-01 19:47:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111888128001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 19:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785593614000,"timestamp_ms":1785593614000,"timestamp_seconds":1785593614,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdac4eb0"} 
[2026-08-01 19:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 19:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:47:05] 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-08-01 19:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111888128001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 19:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111888128001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:47:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:47:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 19:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111888128001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 19:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":148764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578931,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:47:05] local.INFO: GPS data processed {"connection_id":148764,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:47:05] local.INFO: Acknowledgment sent {"connection_id":148764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:47:20] local.INFO: TCP Data received {"connection_id":146221,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdae8518012cceea0007441648000b01182e..."} 
[2026-08-01 19:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdae8518012cceea0007441648000b01182e..."} 
[2026-08-01 19:47:20] local.INFO: Processing buffer {"connection_id":146221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdae8518012cceea0007441648000b01182e..."} 
[2026-08-01 19:47:20] local.INFO: Packet analysis {"connection_id":146221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdae"} 
[2026-08-01 19:47:20] local.INFO: Extracted packet for processing {"connection_id":146221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdae"} 
[2026-08-01 19:47:20] local.INFO: GPS Element Parsed {"raw_longitude":751757824,"raw_latitude":121902664,"longitude_deg":75.1757824,"latitude_deg":12.1902664,"altitude":11,"angle":280,"satellites":46,"speed":55,"hex_longitude":"2cceea00","hex_latitude":"07441648","is_valid_coordinates":true} 
[2026-08-01 19:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112001536001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366857260107825152,"note":"Value kept but may cause issues"} 
[2026-08-01 19:47:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3532510926511958016,"note":"Value kept but may cause issues"} 
[2026-08-01 19:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785593759000,"timestamp_ms":1785593759000,"timestamp_seconds":1785593759,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdae8518"} 
[2026-08-01 19:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:47:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 19:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-01 19:47:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:47:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:47:20] 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-08-01 19:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112001536001,"66":27332,"142":206,"85":37632,"24":55,"16":366857260107825152,"44":-3532510926511958016},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,85,24,16,44]} 
[2026-08-01 19:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112001536001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:47:20] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-08-01 19:47:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-08-01 19:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366857260107825152,"km_value":366857260107825.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:47:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3532510926511958016,"description":"Unknown IO ID 44"} 
[2026-08-01 19:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112001536001,"power":27332,"unknown_142":206,"unknown_85":37632,"ignition":55,"odometer":null,"unknown_44":-3532510926511958016}} 
[2026-08-01 19:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":146221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:47:20] local.INFO: GPS data processed {"connection_id":146221,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:47:20] local.INFO: Acknowledgment sent {"connection_id":146221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:47:36] local.INFO: TCP Data received {"connection_id":148764,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdac4eb0012d196580071fefa0003b015124..."} 
[2026-08-01 19:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdac4eb0012d196580071fefa0003b015124..."} 
[2026-08-01 19:47:36] local.INFO: Processing buffer {"connection_id":148764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdac4eb0012d196580071fefa0003b015124..."} 
[2026-08-01 19:47:36] local.INFO: Packet analysis {"connection_id":148764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdac"} 
[2026-08-01 19:47:36] local.INFO: Extracted packet for processing {"connection_id":148764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdac"} 
[2026-08-01 19:47:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111888128001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 19:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785593614000,"timestamp_ms":1785593614000,"timestamp_seconds":1785593614,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdac4eb0"} 
[2026-08-01 19:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 19:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:47:36] 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-08-01 19:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111888128001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 19:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111888128001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:47:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:47:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 19:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111888128001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 19:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":148764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:47:37] local.INFO: GPS data processed {"connection_id":148764,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:47:37] local.INFO: Acknowledgment sent {"connection_id":148764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:47:48] local.INFO: TCP Data received {"connection_id":147458,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:47:48] local.INFO: Processing buffer {"connection_id":147458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:47:48] local.INFO: IMEI packet received {"connection_id":147458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 19:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":147458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:47:49] local.INFO: TCP Data received {"connection_id":147458,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:47:49] local.INFO: Processing buffer {"connection_id":147458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:47:49] local.INFO: IMEI packet received {"connection_id":147458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":147458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:47:53] local.INFO: TCP Data received {"connection_id":147458,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:47:53] local.INFO: Processing buffer {"connection_id":147458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:47:53] local.INFO: IMEI packet received {"connection_id":147458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":147458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:47:53] local.INFO: TCP Data received {"connection_id":147458,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:47:53] local.INFO: Processing buffer {"connection_id":147458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:47:53] local.INFO: IMEI packet received {"connection_id":147458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":147458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:47:54] local.INFO: TCP Data received {"connection_id":147458,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdaf8eb8012ccda040074436e0001201272c..."} 
[2026-08-01 19:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdaf8eb8012ccda040074436e0001201272c..."} 
[2026-08-01 19:47:54] local.INFO: Processing buffer {"connection_id":147458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdaf8eb8012ccda040074436e0001201272c..."} 
[2026-08-01 19:47:54] local.INFO: Packet analysis {"connection_id":147458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdaf"} 
[2026-08-01 19:47:54] local.INFO: Extracted packet for processing {"connection_id":147458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdaf"} 
[2026-08-01 19:47:54] local.INFO: GPS Element Parsed {"raw_longitude":751673408,"raw_latitude":121911008,"longitude_deg":75.1673408,"latitude_deg":12.1911008,"altitude":18,"angle":295,"satellites":44,"speed":50,"hex_longitude":"2ccda040","hex_latitude":"074436e0","is_valid_coordinates":true} 
[2026-08-01 19:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112018944001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366861305967017984,"note":"Value kept but may cause issues"} 
[2026-08-01 19:47:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3625890250033606656,"note":"Value kept but may cause issues"} 
[2026-08-01 19:47:54] 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-08-01 19:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785593827000,"timestamp_ms":1785593827000,"timestamp_seconds":1785593827,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdaf8eb8"} 
[2026-08-01 19:47:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:47:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 19:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-01 19:47:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:47:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:47:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":147458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":147458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":147458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:47:54] 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-08-01 19:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112018944001,"66":27332,"231":206,"85":37632,"24":50,"16":366861305967017984,"44":-3625890250033606656},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,85,24,16,44]} 
[2026-08-01 19:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112018944001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:47:54] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-08-01 19:47:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-08-01 19:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366861305967017984,"km_value":366861305967018.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:47:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3625890250033606656,"description":"Unknown IO ID 44"} 
[2026-08-01 19:47:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112018944001,"power":27332,"unknown_231":206,"unknown_85":37632,"ignition":50,"odometer":null,"unknown_44":-3625890250033606656}} 
[2026-08-01 19:47:54] local.INFO: DEBUG: GPS processor result {"connection_id":147458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:47:54] local.INFO: GPS data processed {"connection_id":147458,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:47:54] local.INFO: Acknowledgment sent {"connection_id":147458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:47:57] local.INFO: TCP Data received {"connection_id":147458,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdaf9e58012ccd8ec007444168001201332c..."} 
[2026-08-01 19:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdaf9e58012ccd8ec007444168001201332c..."} 
[2026-08-01 19:47:57] local.INFO: Processing buffer {"connection_id":147458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdaf9e58012ccd8ec007444168001201332c..."} 
[2026-08-01 19:47:57] local.INFO: Packet analysis {"connection_id":147458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdaf"} 
[2026-08-01 19:47:57] local.INFO: Extracted packet for processing {"connection_id":147458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdaf"} 
[2026-08-01 19:47:57] local.INFO: GPS Element Parsed {"raw_longitude":751668928,"raw_latitude":121913704,"longitude_deg":75.1668928,"latitude_deg":12.1913704,"altitude":18,"angle":307,"satellites":44,"speed":53,"hex_longitude":"2ccd8ec0","hex_latitude":"07444168","is_valid_coordinates":true} 
[2026-08-01 19:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:47:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112019712001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:47:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366861555075121152,"note":"Value kept but may cause issues"} 
[2026-08-01 19:47:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3629830899707224064,"note":"Value kept but may cause issues"} 
[2026-08-01 19:47:57] 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-08-01 19:47:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785593831000,"timestamp_ms":1785593831000,"timestamp_seconds":1785593831,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdaf9e58"} 
[2026-08-01 19:47:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:47: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-08-01 19:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-01 19:47:57] 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-08-01 19:47:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:47:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:47:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:47:57] local.INFO: Teltonika packet parsed successfully {"connection_id":147458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:47:57] local.INFO: Passing IMEI to GPS processor {"connection_id":147458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:47:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":147458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:47:57] 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-08-01 19:47:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:47:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:47:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112019712001,"66":27213,"231":206,"85":37632,"24":53,"16":366861555075121152,"44":-3629830899707224064},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,85,24,16,44]} 
[2026-08-01 19:47:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:47:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:47:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112019712001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:47:57] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-08-01 19:47:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-08-01 19:47:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366861555075121152,"km_value":366861555075121.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:47:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3629830899707224064,"description":"Unknown IO ID 44"} 
[2026-08-01 19:47:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112019712001,"power":27213,"unknown_231":206,"unknown_85":37632,"ignition":53,"odometer":null,"unknown_44":-3629830899707224064}} 
[2026-08-01 19:47:57] local.INFO: DEBUG: GPS processor result {"connection_id":147458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:47:57] local.INFO: GPS data processed {"connection_id":147458,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:47:57] local.INFO: Acknowledgment sent {"connection_id":147458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:48:00] local.INFO: TCP Data received {"connection_id":146222,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:48:00] local.INFO: Processing buffer {"connection_id":146222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:48:00] local.INFO: IMEI packet received {"connection_id":146222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 19:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":146222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:48:05] local.INFO: TCP Data received {"connection_id":146222,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:48:05] local.INFO: Processing buffer {"connection_id":146222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:48:05] local.INFO: IMEI packet received {"connection_id":146222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":146222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:48:05] local.INFO: TCP Data received {"connection_id":146222,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdac4eb0012d196580071fefa0003b015124..."} 
[2026-08-01 19:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdac4eb0012d196580071fefa0003b015124..."} 
[2026-08-01 19:48:05] local.INFO: Processing buffer {"connection_id":146222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdac4eb0012d196580071fefa0003b015124..."} 
[2026-08-01 19:48:05] local.INFO: Packet analysis {"connection_id":146222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdac"} 
[2026-08-01 19:48:05] local.INFO: Extracted packet for processing {"connection_id":146222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdac"} 
[2026-08-01 19:48:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111888128001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 19:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785593614000,"timestamp_ms":1785593614000,"timestamp_seconds":1785593614,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdac4eb0"} 
[2026-08-01 19:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 19:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:48:05] 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-08-01 19:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111888128001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 19:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111888128001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:48:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:48:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 19:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111888128001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 19:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":146222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:48:05] local.INFO: GPS data processed {"connection_id":146222,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:48:05] local.INFO: Acknowledgment sent {"connection_id":146222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:48:28] local.INFO: TCP Data received {"connection_id":147458,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdafaa10012ccd82c007444c800011013e2f..."} 
[2026-08-01 19:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdafaa10012ccd82c007444c800011013e2f..."} 
[2026-08-01 19:48:28] local.INFO: Processing buffer {"connection_id":147458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdafaa10012ccd82c007444c800011013e2f..."} 
[2026-08-01 19:48:28] local.INFO: Packet analysis {"connection_id":147458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdaf"} 
[2026-08-01 19:48:28] local.INFO: Extracted packet for processing {"connection_id":147458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdaf"} 
[2026-08-01 19:48:28] local.INFO: GPS Element Parsed {"raw_longitude":751665856,"raw_latitude":121916544,"longitude_deg":75.1665856,"latitude_deg":12.1916544,"altitude":17,"angle":318,"satellites":47,"speed":55,"hex_longitude":"2ccd82c0","hex_latitude":"07444c80","is_valid_coordinates":true} 
[2026-08-01 19:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112020736001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366861756938584064,"note":"Value kept but may cause issues"} 
[2026-08-01 19:48:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3634756711798970368,"note":"Value kept but may cause issues"} 
[2026-08-01 19:48:28] 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-08-01 19:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785593834000,"timestamp_ms":1785593834000,"timestamp_seconds":1785593834,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdafaa10"} 
[2026-08-01 19:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:48: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-08-01 19:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-01 19:48:28] 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-08-01 19:48:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":147458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":147458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":147458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:48: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-08-01 19:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112020736001,"66":27213,"231":206,"85":37632,"24":55,"16":366861756938584064,"44":-3634756711798970368},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,85,24,16,44]} 
[2026-08-01 19:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112020736001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:48:28] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-08-01 19:48:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-08-01 19:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366861756938584064,"km_value":366861756938584.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:48:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3634756711798970368,"description":"Unknown IO ID 44"} 
[2026-08-01 19:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112020736001,"power":27213,"unknown_231":206,"unknown_85":37632,"ignition":55,"odometer":null,"unknown_44":-3634756711798970368}} 
[2026-08-01 19:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":147458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:48:28] local.INFO: GPS data processed {"connection_id":147458,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:48:28] local.INFO: Acknowledgment sent {"connection_id":147458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:48:36] local.INFO: TCP Data received {"connection_id":146222,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdac4eb0012d196580071fefa0003b015124..."} 
[2026-08-01 19:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdac4eb0012d196580071fefa0003b015124..."} 
[2026-08-01 19:48:36] local.INFO: Processing buffer {"connection_id":146222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdac4eb0012d196580071fefa0003b015124..."} 
[2026-08-01 19:48:36] local.INFO: Packet analysis {"connection_id":146222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdac"} 
[2026-08-01 19:48:36] local.INFO: Extracted packet for processing {"connection_id":146222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdac"} 
[2026-08-01 19:48:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 19:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111888128001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 19:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785593614000,"timestamp_ms":1785593614000,"timestamp_seconds":1785593614,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdac4eb0"} 
[2026-08-01 19:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 19:48:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:48:36] 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-08-01 19:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111888128001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 19:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111888128001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:48:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:48:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 19:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111888128001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 19:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":146222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:48:36] local.INFO: GPS data processed {"connection_id":146222,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:48:36] local.INFO: Acknowledgment sent {"connection_id":146222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:48:43] local.INFO: TCP Data received {"connection_id":148765,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:48:43] local.INFO: Processing buffer {"connection_id":148765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:48:43] local.INFO: IMEI packet received {"connection_id":148765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 19:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":148765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:48:47] local.INFO: TCP Data received {"connection_id":148765,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:48:47] local.INFO: Processing buffer {"connection_id":148765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:48:47] local.INFO: IMEI packet received {"connection_id":148765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":148765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:48:50] local.INFO: TCP Data received {"connection_id":148765,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:48:50] local.INFO: Processing buffer {"connection_id":148765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:48:50] local.INFO: IMEI packet received {"connection_id":148765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":148765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:48:52] local.INFO: TCP Data received {"connection_id":148765,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdafb9b0012ccd760007445ea00010014c2e..."} 
[2026-08-01 19:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdafb9b0012ccd760007445ea00010014c2e..."} 
[2026-08-01 19:48:52] local.INFO: Processing buffer {"connection_id":148765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdafb9b0012ccd760007445ea00010014c2e..."} 
[2026-08-01 19:48:52] local.INFO: Packet analysis {"connection_id":148765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdaf"} 
[2026-08-01 19:48:52] local.INFO: Extracted packet for processing {"connection_id":148765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdaf"} 
[2026-08-01 19:48:52] local.INFO: GPS Element Parsed {"raw_longitude":751662592,"raw_latitude":121921184,"longitude_deg":75.1662592,"latitude_deg":12.1921184,"altitude":16,"angle":332,"satellites":46,"speed":57,"hex_longitude":"2ccd7600","hex_latitude":"07445ea0","is_valid_coordinates":true} 
[2026-08-01 19:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112021504001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366862031816491008,"note":"Value kept but may cause issues"} 
[2026-08-01 19:48:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3638134411518771200,"note":"Value kept but may cause issues"} 
[2026-08-01 19:48:52] 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-08-01 19:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785593838000,"timestamp_ms":1785593838000,"timestamp_seconds":1785593838,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdafb9b0"} 
[2026-08-01 19:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:48: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-08-01 19:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-01 19:48: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-08-01 19:48:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:48:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112021504001,"66":27213,"237":206,"85":37632,"24":57,"16":366862031816491008,"44":-3638134411518771200},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,44]} 
[2026-08-01 19:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112021504001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:48:52] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-01 19:48:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-08-01 19:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366862031816491008,"km_value":366862031816491.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:48:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3638134411518771200,"description":"Unknown IO ID 44"} 
[2026-08-01 19:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112021504001,"power":27213,"unknown_237":206,"unknown_85":37632,"ignition":57,"odometer":null,"unknown_44":-3638134411518771200}} 
[2026-08-01 19:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":148765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:48:52] local.INFO: GPS data processed {"connection_id":148765,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:48:52] local.INFO: Acknowledgment sent {"connection_id":148765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:48:53] local.INFO: TCP Data received {"connection_id":148765,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdafc950012ccd6e4007447388000f01582d..."} 
[2026-08-01 19:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdafc950012ccd6e4007447388000f01582d..."} 
[2026-08-01 19:48:53] local.INFO: Processing buffer {"connection_id":148765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdafc950012ccd6e4007447388000f01582d..."} 
[2026-08-01 19:48:53] local.INFO: Packet analysis {"connection_id":148765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdaf"} 
[2026-08-01 19:48:53] local.INFO: Extracted packet for processing {"connection_id":148765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdaf"} 
[2026-08-01 19:48:53] local.INFO: GPS Element Parsed {"raw_longitude":751660608,"raw_latitude":121926536,"longitude_deg":75.1660608,"latitude_deg":12.1926536,"altitude":15,"angle":344,"satellites":45,"speed":57,"hex_longitude":"2ccd6e40","hex_latitude":"07447388","is_valid_coordinates":true} 
[2026-08-01 19:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112022528001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:48:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366862306694397952,"note":"Value kept but may cause issues"} 
[2026-08-01 19:48:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3641723217470644224,"note":"Value kept but may cause issues"} 
[2026-08-01 19:48:53] 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-08-01 19:48:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785593842000,"timestamp_ms":1785593842000,"timestamp_seconds":1785593842,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdafc950"} 
[2026-08-01 19:48:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:48: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-08-01 19:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-01 19:48:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:48:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:48:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:48:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:48:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:48:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:48:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:48:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112022528001,"66":27321,"237":206,"85":37632,"24":57,"16":366862306694397952,"44":-3641723217470644224},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,44]} 
[2026-08-01 19:48:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:48:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:48:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112022528001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:48:53] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-01 19:48:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-08-01 19:48:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366862306694397952,"km_value":366862306694397.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:48:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3641723217470644224,"description":"Unknown IO ID 44"} 
[2026-08-01 19:48:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112022528001,"power":27321,"unknown_237":206,"unknown_85":37632,"ignition":57,"odometer":null,"unknown_44":-3641723217470644224}} 
[2026-08-01 19:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":148765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:48:53] local.INFO: GPS data processed {"connection_id":148765,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:48:53] local.INFO: Acknowledgment sent {"connection_id":148765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:48:59] local.INFO: TCP Data received {"connection_id":146465,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:48:59] local.INFO: Processing buffer {"connection_id":146465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:48:59] local.INFO: IMEI packet received {"connection_id":146465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 19:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":146465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:49:04] local.INFO: TCP Data received {"connection_id":146465,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:49:04] local.INFO: Processing buffer {"connection_id":146465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:49:04] local.INFO: IMEI packet received {"connection_id":146465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":146465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:49:05] local.INFO: TCP Data received {"connection_id":146465,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdac4eb0012d196580071fefa0003b015124..."} 
[2026-08-01 19:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdac4eb0012d196580071fefa0003b015124..."} 
[2026-08-01 19:49:05] local.INFO: Processing buffer {"connection_id":146465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdac4eb0012d196580071fefa0003b015124..."} 
[2026-08-01 19:49:05] local.INFO: Packet analysis {"connection_id":146465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdac"} 
[2026-08-01 19:49:05] local.INFO: Extracted packet for processing {"connection_id":146465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdac"} 
[2026-08-01 19:49:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111888128001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 19:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785593614000,"timestamp_ms":1785593614000,"timestamp_seconds":1785593614,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdac4eb0"} 
[2026-08-01 19:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 19:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:49:05] 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-08-01 19:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111888128001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 19:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111888128001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:49:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:49:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 19:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111888128001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 19:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":146465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:49:05] local.INFO: GPS data processed {"connection_id":146465,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:49:05] local.INFO: Acknowledgment sent {"connection_id":146465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:49:25] local.INFO: TCP Data received {"connection_id":148765,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdafe890012ccd6380074494a80010014f2d..."} 
[2026-08-01 19:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdafe890012ccd6380074494a80010014f2d..."} 
[2026-08-01 19:49:25] local.INFO: Processing buffer {"connection_id":148765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdafe890012ccd6380074494a80010014f2d..."} 
[2026-08-01 19:49:25] local.INFO: Packet analysis {"connection_id":148765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdaf"} 
[2026-08-01 19:49:25] local.INFO: Extracted packet for processing {"connection_id":148765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdaf"} 
[2026-08-01 19:49:25] local.INFO: GPS Element Parsed {"raw_longitude":751657856,"raw_latitude":121935016,"longitude_deg":75.1657856,"latitude_deg":12.1935016,"altitude":16,"angle":335,"satellites":45,"speed":40,"hex_longitude":"2ccd6380","hex_latitude":"074494a8","is_valid_coordinates":true} 
[2026-08-01 19:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112023552001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366862736191127552,"note":"Value kept but may cause issues"} 
[2026-08-01 19:49:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3643904648538781696,"note":"Value kept but may cause issues"} 
[2026-08-01 19:49:25] 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-08-01 19:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785593850000,"timestamp_ms":1785593850000,"timestamp_seconds":1785593850,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdafe890"} 
[2026-08-01 19:49:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:49:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 19:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-01 19:49:25] 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-08-01 19:49:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:49:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:49:25] 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-08-01 19:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112023552001,"66":27321,"237":206,"85":37632,"24":40,"16":366862736191127552,"44":-3643904648538781696},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,44]} 
[2026-08-01 19:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112023552001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:49:25] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-01 19:49:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-08-01 19:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366862736191127552,"km_value":366862736191127.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:49:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3643904648538781696,"description":"Unknown IO ID 44"} 
[2026-08-01 19:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112023552001,"power":27321,"unknown_237":206,"unknown_85":37632,"ignition":40,"odometer":null,"unknown_44":-3643904648538781696}} 
[2026-08-01 19:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":148765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:49:25] local.INFO: GPS data processed {"connection_id":148765,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:49:25] local.INFO: Acknowledgment sent {"connection_id":148765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:49:36] local.INFO: TCP Data received {"connection_id":146465,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdb0e678012d196580071fefa0003b015123..."} 
[2026-08-01 19:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdb0e678012d196580071fefa0003b015123..."} 
[2026-08-01 19:49:36] local.INFO: Processing buffer {"connection_id":146465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdb0e678012d196580071fefa0003b015123..."} 
[2026-08-01 19:49:36] local.INFO: Packet analysis {"connection_id":146465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdb0"} 
[2026-08-01 19:49:36] local.INFO: Extracted packet for processing {"connection_id":146465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdb0"} 
[2026-08-01 19:49:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111965184001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 19:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785593915000,"timestamp_ms":1785593915000,"timestamp_seconds":1785593915,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdb0e678"} 
[2026-08-01 19:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 19:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:49:36] 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-08-01 19:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111965184001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 19:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111965184001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:49:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:49:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 19:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111965184001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 19:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":146465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:49:36] local.INFO: GPS data processed {"connection_id":146465,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:49:36] local.INFO: Acknowledgment sent {"connection_id":146465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:49:55] local.INFO: TCP Data received {"connection_id":147459,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:49:55] local.INFO: Processing buffer {"connection_id":147459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:49:55] local.INFO: IMEI packet received {"connection_id":147459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 19:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":147459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:50:04] local.INFO: TCP Data received {"connection_id":148766,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:50:05] local.INFO: Processing buffer {"connection_id":148766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:50:05] local.INFO: IMEI packet received {"connection_id":148766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 19:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":148766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:50:09] local.INFO: TCP Data received {"connection_id":148766,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:50:09] local.INFO: Processing buffer {"connection_id":148766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:50:09] local.INFO: IMEI packet received {"connection_id":148766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":148766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:50:10] local.INFO: TCP Data received {"connection_id":148766,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdb0e678012d196580071fefa0003b015123..."} 
[2026-08-01 19:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdb0e678012d196580071fefa0003b015123..."} 
[2026-08-01 19:50:10] local.INFO: Processing buffer {"connection_id":148766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdb0e678012d196580071fefa0003b015123..."} 
[2026-08-01 19:50:10] local.INFO: Packet analysis {"connection_id":148766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdb0"} 
[2026-08-01 19:50:10] local.INFO: Extracted packet for processing {"connection_id":148766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdb0"} 
[2026-08-01 19:50:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111965184001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 19:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785593915000,"timestamp_ms":1785593915000,"timestamp_seconds":1785593915,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdb0e678"} 
[2026-08-01 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-08-01 19:50:10] 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-08-01 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 19: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-08-01 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-08-01 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-08-01 19:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":148766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":148766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":148766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:50: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-08-01 19:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111965184001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 19:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111965184001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:50:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:50:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 19:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111965184001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 19:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":148766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578944,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:50:10] local.INFO: GPS data processed {"connection_id":148766,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:50:10] local.INFO: Acknowledgment sent {"connection_id":148766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:50:15] local.INFO: TCP Data received {"connection_id":148766,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdb0e678012d196580071fefa0003b015123..."} 
[2026-08-01 19:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdb0e678012d196580071fefa0003b015123..."} 
[2026-08-01 19:50:15] local.INFO: Processing buffer {"connection_id":148766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdb0e678012d196580071fefa0003b015123..."} 
[2026-08-01 19:50:15] local.INFO: Packet analysis {"connection_id":148766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdb0"} 
[2026-08-01 19:50:15] local.INFO: Extracted packet for processing {"connection_id":148766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdb0"} 
[2026-08-01 19:50:15] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 19:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111965184001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:50:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 19:50: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-08-01 19:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785593915000,"timestamp_ms":1785593915000,"timestamp_seconds":1785593915,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdb0e678"} 
[2026-08-01 19:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:50:15] 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-08-01 19:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 19:50: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-08-01 19:50:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:50:15] 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-08-01 19:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111965184001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 19:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111965184001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:50:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:50:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:50:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 19:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111965184001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 19:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":148766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:50:15] local.INFO: GPS data processed {"connection_id":148766,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:50:15] local.INFO: Acknowledgment sent {"connection_id":148766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:50:21] local.INFO: TCP Data received {"connection_id":147459,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:50:21] local.INFO: Processing buffer {"connection_id":147459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:50:21] local.INFO: IMEI packet received {"connection_id":147459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":147459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:50:21] local.INFO: TCP Data received {"connection_id":147459,"ip":"42.106.6.15","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 19:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147459,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 19:50:21] local.INFO: Processing buffer {"connection_id":147459,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 19:50:21] local.INFO: IMEI packet received {"connection_id":147459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":147459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:51:00] local.INFO: TCP Data received {"connection_id":146224,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146224,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:51:00] local.INFO: Processing buffer {"connection_id":146224,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:51:00] local.INFO: IMEI packet received {"connection_id":146224,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 19:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":146224,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:51:04] local.INFO: TCP Data received {"connection_id":146224,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146224,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:51:04] local.INFO: Processing buffer {"connection_id":146224,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:51:04] local.INFO: IMEI packet received {"connection_id":146224,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":146224,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:51:05] local.INFO: TCP Data received {"connection_id":146224,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdb0e678012d196580071fefa0003b015123..."} 
[2026-08-01 19:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdb0e678012d196580071fefa0003b015123..."} 
[2026-08-01 19:51:05] local.INFO: Processing buffer {"connection_id":146224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdb0e678012d196580071fefa0003b015123..."} 
[2026-08-01 19:51:05] local.INFO: Packet analysis {"connection_id":146224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdb0"} 
[2026-08-01 19:51:05] local.INFO: Extracted packet for processing {"connection_id":146224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdb0"} 
[2026-08-01 19:51:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111965184001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 19:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785593915000,"timestamp_ms":1785593915000,"timestamp_seconds":1785593915,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdb0e678"} 
[2026-08-01 19:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 19:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:51:05] 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-08-01 19:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111965184001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 19:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111965184001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:51:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:51:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 19:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111965184001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 19:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":146224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578946,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:51:05] local.INFO: GPS data processed {"connection_id":146224,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:51:05] local.INFO: Acknowledgment sent {"connection_id":146224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:51:36] local.INFO: TCP Data received {"connection_id":146224,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdb0e678012d196580071fefa0003b015123..."} 
[2026-08-01 19:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdb0e678012d196580071fefa0003b015123..."} 
[2026-08-01 19:51:36] local.INFO: Processing buffer {"connection_id":146224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdb0e678012d196580071fefa0003b015123..."} 
[2026-08-01 19:51:36] local.INFO: Packet analysis {"connection_id":146224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdb0"} 
[2026-08-01 19:51:36] local.INFO: Extracted packet for processing {"connection_id":146224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdb0"} 
[2026-08-01 19:51:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111965184001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 19:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785593915000,"timestamp_ms":1785593915000,"timestamp_seconds":1785593915,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdb0e678"} 
[2026-08-01 19:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 19:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:51:36] 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-08-01 19:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111965184001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 19:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111965184001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:51:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:51:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 19:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111965184001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 19:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":146224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:51:36] local.INFO: GPS data processed {"connection_id":146224,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:51:36] local.INFO: Acknowledgment sent {"connection_id":146224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:52:00] local.INFO: TCP Data received {"connection_id":146466,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146466,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:52:00] local.INFO: Processing buffer {"connection_id":146466,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:52:00] local.INFO: IMEI packet received {"connection_id":146466,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 19:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":146466,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:52:05] local.INFO: TCP Data received {"connection_id":146466,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146466,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:52:05] local.INFO: Processing buffer {"connection_id":146466,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:52:05] local.INFO: IMEI packet received {"connection_id":146466,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":146466,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:52:05] local.INFO: TCP Data received {"connection_id":146466,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdb0e678012d196580071fefa0003b015123..."} 
[2026-08-01 19:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdb0e678012d196580071fefa0003b015123..."} 
[2026-08-01 19:52:05] local.INFO: Processing buffer {"connection_id":146466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdb0e678012d196580071fefa0003b015123..."} 
[2026-08-01 19:52:05] local.INFO: Packet analysis {"connection_id":146466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdb0"} 
[2026-08-01 19:52:05] local.INFO: Extracted packet for processing {"connection_id":146466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdb0"} 
[2026-08-01 19:52:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 19:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111965184001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 19:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785593915000,"timestamp_ms":1785593915000,"timestamp_seconds":1785593915,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdb0e678"} 
[2026-08-01 19:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 19:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:52:05] 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-08-01 19:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111965184001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 19:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111965184001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:52:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:52:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 19:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111965184001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 19:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":146466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578948,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:52:05] local.INFO: GPS data processed {"connection_id":146466,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:52:05] local.INFO: Acknowledgment sent {"connection_id":146466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:52:36] local.INFO: TCP Data received {"connection_id":146466,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdb0e678012d196580071fefa0003b015123..."} 
[2026-08-01 19:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdb0e678012d196580071fefa0003b015123..."} 
[2026-08-01 19:52:36] local.INFO: Processing buffer {"connection_id":146466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdb0e678012d196580071fefa0003b015123..."} 
[2026-08-01 19:52:36] local.INFO: Packet analysis {"connection_id":146466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdb0"} 
[2026-08-01 19:52:36] local.INFO: Extracted packet for processing {"connection_id":146466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdb0"} 
[2026-08-01 19:52:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111965184001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 19:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785593915000,"timestamp_ms":1785593915000,"timestamp_seconds":1785593915,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdb0e678"} 
[2026-08-01 19:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 19:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:52:36] 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-08-01 19:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111965184001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 19:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111965184001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:52:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:52:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 19:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111965184001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 19:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":146466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578949,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:52:37] local.INFO: GPS data processed {"connection_id":146466,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:52:37] local.INFO: Acknowledgment sent {"connection_id":146466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:53:00] local.INFO: TCP Data received {"connection_id":147460,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:53:00] local.INFO: Processing buffer {"connection_id":147460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:53:00] local.INFO: IMEI packet received {"connection_id":147460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 19:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":147460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:53:04] local.INFO: TCP Data received {"connection_id":147460,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:53:04] local.INFO: Processing buffer {"connection_id":147460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:53:04] local.INFO: IMEI packet received {"connection_id":147460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":147460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:53:05] local.INFO: TCP Data received {"connection_id":147460,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdb0e678012d196580071fefa0003b015123..."} 
[2026-08-01 19:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdb0e678012d196580071fefa0003b015123..."} 
[2026-08-01 19:53:05] local.INFO: Processing buffer {"connection_id":147460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdb0e678012d196580071fefa0003b015123..."} 
[2026-08-01 19:53:05] local.INFO: Packet analysis {"connection_id":147460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdb0"} 
[2026-08-01 19:53:05] local.INFO: Extracted packet for processing {"connection_id":147460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdb0"} 
[2026-08-01 19:53:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111965184001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 19:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785593915000,"timestamp_ms":1785593915000,"timestamp_seconds":1785593915,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdb0e678"} 
[2026-08-01 19:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 19:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:53:05] 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-08-01 19:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111965184001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 19:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111965184001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:53:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:53:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 19:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111965184001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 19:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":147460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:53:05] local.INFO: GPS data processed {"connection_id":147460,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:53:05] local.INFO: Acknowledgment sent {"connection_id":147460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:53:36] local.INFO: TCP Data received {"connection_id":147460,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdb0e678012d196580071fefa0003b015123..."} 
[2026-08-01 19:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdb0e678012d196580071fefa0003b015123..."} 
[2026-08-01 19:53:36] local.INFO: Processing buffer {"connection_id":147460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdb0e678012d196580071fefa0003b015123..."} 
[2026-08-01 19:53:36] local.INFO: Packet analysis {"connection_id":147460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdb0"} 
[2026-08-01 19:53:36] local.INFO: Extracted packet for processing {"connection_id":147460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdb0"} 
[2026-08-01 19:53:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111965184001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 19:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785593915000,"timestamp_ms":1785593915000,"timestamp_seconds":1785593915,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdb0e678"} 
[2026-08-01 19:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 19:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:53:36] 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-08-01 19:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111965184001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 19:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111965184001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:53:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:53:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 19:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111965184001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 19:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":147460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:53:36] local.INFO: GPS data processed {"connection_id":147460,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:53:36] local.INFO: Acknowledgment sent {"connection_id":147460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:53:59] local.INFO: TCP Data received {"connection_id":148767,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:53:59] local.INFO: Processing buffer {"connection_id":148767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:53:59] local.INFO: IMEI packet received {"connection_id":148767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 19:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":148767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:54:04] local.INFO: TCP Data received {"connection_id":148767,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:54:05] local.INFO: Processing buffer {"connection_id":148767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:54:05] local.INFO: IMEI packet received {"connection_id":148767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":148767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:54:26] local.INFO: TCP Data received {"connection_id":148767,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdb0e678012d196580071fefa0003b015123..."} 
[2026-08-01 19:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdb0e678012d196580071fefa0003b015123..."} 
[2026-08-01 19:54:26] local.INFO: Processing buffer {"connection_id":148767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdb0e678012d196580071fefa0003b015123..."} 
[2026-08-01 19:54:26] local.INFO: Packet analysis {"connection_id":148767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdb0"} 
[2026-08-01 19:54:26] local.INFO: Extracted packet for processing {"connection_id":148767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdb0"} 
[2026-08-01 19:54:26] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 19:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457111965184001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:54:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 19:54:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785593915000,"timestamp_ms":1785593915000,"timestamp_seconds":1785593915,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdb0e678"} 
[2026-08-01 19:54:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:54:26] 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-08-01 19:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 19:54:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:54:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:54:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:54:26] 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-08-01 19:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457111965184001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 19:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457111965184001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:54:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:54:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:54:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 19:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457111965184001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 19:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":148767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578952,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:54:26] local.INFO: GPS data processed {"connection_id":148767,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:54:26] local.INFO: Acknowledgment sent {"connection_id":148767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:54:59] local.INFO: TCP Data received {"connection_id":146225,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146225,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:54:59] local.INFO: Processing buffer {"connection_id":146225,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:54:59] local.INFO: IMEI packet received {"connection_id":146225,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 19:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":146225,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:55:04] local.INFO: TCP Data received {"connection_id":146225,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146225,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:55:05] local.INFO: Processing buffer {"connection_id":146225,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:55:05] local.INFO: IMEI packet received {"connection_id":146225,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":146225,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:55:05] local.INFO: TCP Data received {"connection_id":146225,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdb57e40012d196580071fefa0003b015124..."} 
[2026-08-01 19:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdb57e40012d196580071fefa0003b015124..."} 
[2026-08-01 19:55:05] local.INFO: Processing buffer {"connection_id":146225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdb57e40012d196580071fefa0003b015124..."} 
[2026-08-01 19:55:05] local.INFO: Packet analysis {"connection_id":146225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdb5"} 
[2026-08-01 19:55:05] local.INFO: Extracted packet for processing {"connection_id":146225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdb5"} 
[2026-08-01 19:55:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112042240001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 19:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785594216000,"timestamp_ms":1785594216000,"timestamp_seconds":1785594216,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdb57e40"} 
[2026-08-01 19:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 19:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:55:05] 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-08-01 19:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112042240001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 19:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112042240001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:55:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:55:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 19:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112042240001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 19:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":146225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578953,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:55:05] local.INFO: GPS data processed {"connection_id":146225,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:55:05] local.INFO: Acknowledgment sent {"connection_id":146225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:55:23] local.INFO: TCP Data received {"connection_id":148768,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:55:23] local.INFO: Processing buffer {"connection_id":148768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:55:23] local.INFO: IMEI packet received {"connection_id":148768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 19:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":148768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:55:26] local.INFO: TCP Data received {"connection_id":148768,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdb5e3d0012ccc39800748e8c0000d00052d..."} 
[2026-08-01 19:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdb5e3d0012ccc39800748e8c0000d00052d..."} 
[2026-08-01 19:55:26] local.INFO: Processing buffer {"connection_id":148768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdb5e3d0012ccc39800748e8c0000d00052d..."} 
[2026-08-01 19:55:26] local.INFO: Packet analysis {"connection_id":148768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdb5"} 
[2026-08-01 19:55:26] local.INFO: Extracted packet for processing {"connection_id":148768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdb5"} 
[2026-08-01 19:55:26] local.INFO: GPS Element Parsed {"raw_longitude":751581568,"raw_latitude":122218688,"longitude_deg":75.1581568,"latitude_deg":12.2218688,"altitude":13,"angle":5,"satellites":45,"speed":33,"hex_longitude":"2ccc3980","hex_latitude":"0748e8c0","is_valid_coordinates":true} 
[2026-08-01 19:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112122624001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366877455044050944,"note":"Value kept but may cause issues"} 
[2026-08-01 19:55:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3732428528641892352,"note":"Value kept but may cause issues"} 
[2026-08-01 19:55:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785594242000,"timestamp_ms":1785594242000,"timestamp_seconds":1785594242,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdb5e3d0"} 
[2026-08-01 19:55:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:55:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 19:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-01 19:55:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:55:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:55:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:55:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112122624001,"66":27321,"15":206,"2":54016,"24":33,"16":366877455044050944,"44":-3732428528641892352},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,2,24,16,44]} 
[2026-08-01 19:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112122624001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:55:26] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-01 19:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366877455044050944,"km_value":366877455044050.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:55:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3732428528641892352,"description":"Unknown IO ID 44"} 
[2026-08-01 19:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112122624001,"power":27321,"unknown_15":206,"power_alt":54016,"ignition":33,"odometer":null,"unknown_44":-3732428528641892352}} 
[2026-08-01 19:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":148768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:55:26] local.INFO: GPS data processed {"connection_id":148768,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:55:26] local.INFO: Acknowledgment sent {"connection_id":148768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:55:36] local.INFO: TCP Data received {"connection_id":146225,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdb57e40012d196580071fefa0003b015124..."} 
[2026-08-01 19:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdb57e40012d196580071fefa0003b015124..."} 
[2026-08-01 19:55:36] local.INFO: Processing buffer {"connection_id":146225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdb57e40012d196580071fefa0003b015124..."} 
[2026-08-01 19:55:36] local.INFO: Packet analysis {"connection_id":146225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdb5"} 
[2026-08-01 19:55:36] local.INFO: Extracted packet for processing {"connection_id":146225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdb5"} 
[2026-08-01 19:55:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112042240001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 19:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785594216000,"timestamp_ms":1785594216000,"timestamp_seconds":1785594216,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdb57e40"} 
[2026-08-01 19:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 19:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:55:36] 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-08-01 19:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112042240001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 19:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112042240001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:55:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:55:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 19:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112042240001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 19:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":146225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578955,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:55:37] local.INFO: GPS data processed {"connection_id":146225,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:55:37] local.INFO: Acknowledgment sent {"connection_id":146225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:55:52] local.INFO: TCP Data received {"connection_id":148769,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:55:52] local.INFO: Processing buffer {"connection_id":148769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:55:52] local.INFO: IMEI packet received {"connection_id":148769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 19:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":148769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:56:00] local.INFO: TCP Data received {"connection_id":146467,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:56:00] local.INFO: Processing buffer {"connection_id":146467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:56:00] local.INFO: IMEI packet received {"connection_id":146467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 19:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":146467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:56:05] local.INFO: TCP Data received {"connection_id":146467,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:56:05] local.INFO: Processing buffer {"connection_id":146467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:56:05] local.INFO: IMEI packet received {"connection_id":146467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":146467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:56:05] local.INFO: TCP Data received {"connection_id":146467,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdb57e40012d196580071fefa0003b015124..."} 
[2026-08-01 19:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdb57e40012d196580071fefa0003b015124..."} 
[2026-08-01 19:56:05] local.INFO: Processing buffer {"connection_id":146467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdb57e40012d196580071fefa0003b015124..."} 
[2026-08-01 19:56:05] local.INFO: Packet analysis {"connection_id":146467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdb5"} 
[2026-08-01 19:56:05] local.INFO: Extracted packet for processing {"connection_id":146467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdb5"} 
[2026-08-01 19:56:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112042240001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 19:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785594216000,"timestamp_ms":1785594216000,"timestamp_seconds":1785594216,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdb57e40"} 
[2026-08-01 19:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 19:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:56:05] 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-08-01 19:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112042240001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 19:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112042240001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:56:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:56:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 19:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112042240001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 19:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":146467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578956,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:56:05] local.INFO: GPS data processed {"connection_id":146467,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:56:05] local.INFO: Acknowledgment sent {"connection_id":146467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:56:18] local.INFO: TCP Data received {"connection_id":148769,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:56:18] local.INFO: Processing buffer {"connection_id":148769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:56:18] local.INFO: IMEI packet received {"connection_id":148769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:56:18] local.INFO: IMEI acknowledgment sent {"connection_id":148769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:56:20] local.INFO: TCP Data received {"connection_id":148769,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdb60ae0012ccc3cc007490e08000e00052d..."} 
[2026-08-01 19:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdb60ae0012ccc3cc007490e08000e00052d..."} 
[2026-08-01 19:56:20] local.INFO: Processing buffer {"connection_id":148769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdb60ae0012ccc3cc007490e08000e00052d..."} 
[2026-08-01 19:56:20] local.INFO: Packet analysis {"connection_id":148769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdb6"} 
[2026-08-01 19:56:20] local.INFO: Extracted packet for processing {"connection_id":148769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdb6"} 
[2026-08-01 19:56:20] local.INFO: GPS Element Parsed {"raw_longitude":751582400,"raw_latitude":122228232,"longitude_deg":75.15824,"latitude_deg":12.2228232,"altitude":14,"angle":5,"satellites":45,"speed":41,"hex_longitude":"2ccc3cc0","hex_latitude":"07490e08","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112125952001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366877918900518912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:56:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3730810047523405824,"note":"Value kept but may cause issues"} 
[2026-08-01 19:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785594252000,"timestamp_ms":1785594252000,"timestamp_seconds":1785594252,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdb60ae0"} 
[2026-08-01 19:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:56: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-08-01 19:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-01 19:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112125952001,"66":26984,"15":206,"2":54016,"24":41,"16":366877918900518912,"44":-3730810047523405824},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,2,24,16,44]} 
[2026-08-01 19:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112125952001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:56:20] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-01 19:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366877918900518912,"km_value":366877918900518.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:56:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3730810047523405824,"description":"Unknown IO ID 44"} 
[2026-08-01 19:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112125952001,"power":26984,"unknown_15":206,"power_alt":54016,"ignition":41,"odometer":null,"unknown_44":-3730810047523405824}} 
[2026-08-01 19:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":148769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:56:20] local.INFO: GPS data processed {"connection_id":148769,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:56:20] local.INFO: Acknowledgment sent {"connection_id":148769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:56:21] local.INFO: TCP Data received {"connection_id":148769,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdb73f78012ccb9840074a0f50000d01542b..."} 
[2026-08-01 19:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdb73f78012ccb9840074a0f50000d01542b..."} 
[2026-08-01 19:56:21] local.INFO: Processing buffer {"connection_id":148769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdb73f78012ccb9840074a0f50000d01542b..."} 
[2026-08-01 19:56:21] local.INFO: Packet analysis {"connection_id":148769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdb7"} 
[2026-08-01 19:56:21] local.INFO: Extracted packet for processing {"connection_id":148769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdb7"} 
[2026-08-01 19:56:21] local.INFO: GPS Element Parsed {"raw_longitude":751540288,"raw_latitude":122294096,"longitude_deg":75.1540288,"latitude_deg":12.2294096,"altitude":13,"angle":340,"satellites":43,"speed":38,"hex_longitude":"2ccb9840","hex_latitude":"074a0f50","is_valid_coordinates":true} 
[2026-08-01 19:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112147968001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366881964759711744,"note":"Value kept but may cause issues"} 
[2026-08-01 19:56:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3774860881359990784,"note":"Value kept but may cause issues"} 
[2026-08-01 19:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785594331000,"timestamp_ms":1785594331000,"timestamp_seconds":1785594331,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdb73f78"} 
[2026-08-01 19:56:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:56: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-08-01 19:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-01 19:56:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:56:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:56:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:56:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112147968001,"66":27245,"14":206,"2":54016,"24":38,"16":366881964759711744,"44":-3774860881359990784},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,2,24,16,44]} 
[2026-08-01 19:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112147968001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:56:21] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-01 19:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366881964759711744,"km_value":366881964759711.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:56:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3774860881359990784,"description":"Unknown IO ID 44"} 
[2026-08-01 19:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112147968001,"power":27245,"unknown_14":206,"power_alt":54016,"ignition":38,"odometer":null,"unknown_44":-3774860881359990784}} 
[2026-08-01 19:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":148769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:56:21] local.INFO: GPS data processed {"connection_id":148769,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:56:21] local.INFO: Acknowledgment sent {"connection_id":148769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:56:36] local.INFO: TCP Data received {"connection_id":146467,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdb57e40012d196580071fefa0003b015124..."} 
[2026-08-01 19:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdb57e40012d196580071fefa0003b015124..."} 
[2026-08-01 19:56:36] local.INFO: Processing buffer {"connection_id":146467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdb57e40012d196580071fefa0003b015124..."} 
[2026-08-01 19:56:36] local.INFO: Packet analysis {"connection_id":146467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdb5"} 
[2026-08-01 19:56:36] local.INFO: Extracted packet for processing {"connection_id":146467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdb5"} 
[2026-08-01 19:56:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 19:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112042240001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 19:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785594216000,"timestamp_ms":1785594216000,"timestamp_seconds":1785594216,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdb57e40"} 
[2026-08-01 19:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 19:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:56:36] 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-08-01 19:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112042240001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 19:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112042240001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:56:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:56:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 19:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112042240001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 19:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":146467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:56:37] local.INFO: GPS data processed {"connection_id":146467,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:56:37] local.INFO: Acknowledgment sent {"connection_id":146467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:56:43] local.INFO: TCP Data received {"connection_id":148770,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:56:43] local.INFO: Processing buffer {"connection_id":148770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:56:43] local.INFO: IMEI packet received {"connection_id":148770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 19:56:43] local.INFO: IMEI acknowledgment sent {"connection_id":148770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:56:47] local.INFO: TCP Data received {"connection_id":148770,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:56:47] local.INFO: Processing buffer {"connection_id":148770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:56:47] local.INFO: IMEI packet received {"connection_id":148770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":148770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:56:48] local.INFO: TCP Data received {"connection_id":148770,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:56:48] local.INFO: Processing buffer {"connection_id":148770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:56:48] local.INFO: IMEI packet received {"connection_id":148770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":148770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:56:50] local.INFO: TCP Data received {"connection_id":148770,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdb74b30012ccb9580074a1aa0000c01612a..."} 
[2026-08-01 19:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdb74b30012ccb9580074a1aa0000c01612a..."} 
[2026-08-01 19:56:50] local.INFO: Processing buffer {"connection_id":148770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdb74b30012ccb9580074a1aa0000c01612a..."} 
[2026-08-01 19:56:50] local.INFO: Packet analysis {"connection_id":148770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdb7"} 
[2026-08-01 19:56:50] local.INFO: Extracted packet for processing {"connection_id":148770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdb7"} 
[2026-08-01 19:56:50] local.INFO: GPS Element Parsed {"raw_longitude":751539584,"raw_latitude":122296992,"longitude_deg":75.1539584,"latitude_deg":12.2296992,"altitude":12,"angle":353,"satellites":42,"speed":40,"hex_longitude":"2ccb9580","hex_latitude":"074a1aa0","is_valid_coordinates":true} 
[2026-08-01 19:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112148736001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366882110788599808,"note":"Value kept but may cause issues"} 
[2026-08-01 19:56:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3776197887498694656,"note":"Value kept but may cause issues"} 
[2026-08-01 19:56:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785594334000,"timestamp_ms":1785594334000,"timestamp_seconds":1785594334,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdb74b30"} 
[2026-08-01 19:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:56: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-08-01 19:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-01 19:56:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:56:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:56:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112148736001,"66":27245,"14":206,"2":54016,"24":40,"16":366882110788599808,"44":-3776197887498694656},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,2,24,16,44]} 
[2026-08-01 19:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112148736001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:56:50] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-01 19:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366882110788599808,"km_value":366882110788599.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:56:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3776197887498694656,"description":"Unknown IO ID 44"} 
[2026-08-01 19:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112148736001,"power":27245,"unknown_14":206,"power_alt":54016,"ignition":40,"odometer":null,"unknown_44":-3776197887498694656}} 
[2026-08-01 19:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":148770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:56:50] local.INFO: GPS data processed {"connection_id":148770,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:56:50] local.INFO: Acknowledgment sent {"connection_id":148770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:56:53] local.INFO: TCP Data received {"connection_id":148770,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdb75ad0012ccb9580074a2a08000b00042a..."} 
[2026-08-01 19:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdb75ad0012ccb9580074a2a08000b00042a..."} 
[2026-08-01 19:56:53] local.INFO: Processing buffer {"connection_id":148770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdb75ad0012ccb9580074a2a08000b00042a..."} 
[2026-08-01 19:56:53] local.INFO: Packet analysis {"connection_id":148770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdb7"} 
[2026-08-01 19:56:53] local.INFO: Extracted packet for processing {"connection_id":148770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdb7"} 
[2026-08-01 19:56:53] local.INFO: GPS Element Parsed {"raw_longitude":751539584,"raw_latitude":122300936,"longitude_deg":75.1539584,"latitude_deg":12.2300936,"altitude":11,"angle":4,"satellites":42,"speed":35,"hex_longitude":"2ccb9580","hex_latitude":"074a2a08","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:56:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112149504001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:56:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366882299767160832,"note":"Value kept but may cause issues"} 
[2026-08-01 19:56:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3776971943683907584,"note":"Value kept but may cause issues"} 
[2026-08-01 19:56:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:56:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785594338000,"timestamp_ms":1785594338000,"timestamp_seconds":1785594338,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdb75ad0"} 
[2026-08-01 19:56:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:56:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 19: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-01 19:56:53] 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-08-01 19: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-08-01 19:56:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:56:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:56:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:56:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:56:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:56:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:56:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:56:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:56:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112149504001,"66":27463,"14":206,"2":54016,"24":35,"16":366882299767160832,"44":-3776971943683907584},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,2,24,16,44]} 
[2026-08-01 19:56:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:56:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:56:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112149504001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:56:53] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-01 19:56:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366882299767160832,"km_value":366882299767160.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:56:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3776971943683907584,"description":"Unknown IO ID 44"} 
[2026-08-01 19:56:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112149504001,"power":27463,"unknown_14":206,"power_alt":54016,"ignition":35,"odometer":null,"unknown_44":-3776971943683907584}} 
[2026-08-01 19:56:53] local.INFO: DEBUG: GPS processor result {"connection_id":148770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:56:53] local.INFO: GPS data processed {"connection_id":148770,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:56:53] local.INFO: Acknowledgment sent {"connection_id":148770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:56:59] local.INFO: TCP Data received {"connection_id":146226,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146226,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:56:59] local.INFO: Processing buffer {"connection_id":146226,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:56:59] local.INFO: IMEI packet received {"connection_id":146226,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 19:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":146226,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:57:05] local.INFO: TCP Data received {"connection_id":146226,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146226,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:57:05] local.INFO: Processing buffer {"connection_id":146226,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:57:05] local.INFO: IMEI packet received {"connection_id":146226,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":146226,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:57:05] local.INFO: TCP Data received {"connection_id":146226,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdb57e40012d196580071fefa0003b015124..."} 
[2026-08-01 19:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdb57e40012d196580071fefa0003b015124..."} 
[2026-08-01 19:57:05] local.INFO: Processing buffer {"connection_id":146226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdb57e40012d196580071fefa0003b015124..."} 
[2026-08-01 19:57:05] local.INFO: Packet analysis {"connection_id":146226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdb5"} 
[2026-08-01 19:57:05] local.INFO: Extracted packet for processing {"connection_id":146226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdb5"} 
[2026-08-01 19:57:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112042240001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 19:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785594216000,"timestamp_ms":1785594216000,"timestamp_seconds":1785594216,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdb57e40"} 
[2026-08-01 19:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:57:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19: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":118,"data_length":795,"current_offset":136} 
[2026-08-01 19:57:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:57:05] 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-08-01 19:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112042240001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 19:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112042240001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:57:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:57:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 19:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112042240001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 19:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":146226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578962,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:57:05] local.INFO: GPS data processed {"connection_id":146226,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:57:05] local.INFO: Acknowledgment sent {"connection_id":146226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:57:25] local.INFO: TCP Data received {"connection_id":148770,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdb76a70012ccb97c0074a3638000b00122b..."} 
[2026-08-01 19:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdb76a70012ccb97c0074a3638000b00122b..."} 
[2026-08-01 19:57:25] local.INFO: Processing buffer {"connection_id":148770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdb76a70012ccb97c0074a3638000b00122b..."} 
[2026-08-01 19:57:25] local.INFO: Packet analysis {"connection_id":148770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdb7"} 
[2026-08-01 19:57:25] local.INFO: Extracted packet for processing {"connection_id":148770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdb7"} 
[2026-08-01 19:57:25] local.INFO: GPS Element Parsed {"raw_longitude":751540160,"raw_latitude":122304056,"longitude_deg":75.154016,"latitude_deg":12.2304056,"altitude":11,"angle":18,"satellites":43,"speed":30,"hex_longitude":"2ccb97c0","hex_latitude":"074a3638","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112150528001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366882454385983488,"note":"Value kept but may cause issues"} 
[2026-08-01 19:57:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3776971943682897920,"note":"Value kept but may cause issues"} 
[2026-08-01 19:57:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785594342000,"timestamp_ms":1785594342000,"timestamp_seconds":1785594342,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdb76a70"} 
[2026-08-01 19:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:57:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 19: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-01 19:57:25] 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-08-01 19:57:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:57:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112150528001,"66":27397,"14":206,"2":54016,"24":30,"16":366882454385983488,"44":-3776971943682897920},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,2,24,16,44]} 
[2026-08-01 19:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112150528001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:57:25] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-01 19:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366882454385983488,"km_value":366882454385983.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:57:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3776971943682897920,"description":"Unknown IO ID 44"} 
[2026-08-01 19:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112150528001,"power":27397,"unknown_14":206,"power_alt":54016,"ignition":30,"odometer":null,"unknown_44":-3776971943682897920}} 
[2026-08-01 19:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":148770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:57:25] local.INFO: GPS data processed {"connection_id":148770,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:57:25] local.INFO: Acknowledgment sent {"connection_id":148770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:57:36] local.INFO: TCP Data received {"connection_id":146226,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdb57e40012d196580071fefa0003b015124..."} 
[2026-08-01 19:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdb57e40012d196580071fefa0003b015124..."} 
[2026-08-01 19:57:36] local.INFO: Processing buffer {"connection_id":146226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdb57e40012d196580071fefa0003b015124..."} 
[2026-08-01 19:57:36] local.INFO: Packet analysis {"connection_id":146226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdb5"} 
[2026-08-01 19:57:36] local.INFO: Extracted packet for processing {"connection_id":146226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdb5"} 
[2026-08-01 19:57:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 19:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112042240001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 19:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785594216000,"timestamp_ms":1785594216000,"timestamp_seconds":1785594216,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdb57e40"} 
[2026-08-01 19:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 19:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:57:36] 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-08-01 19:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112042240001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 19:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112042240001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:57:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:57:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 19:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112042240001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 19:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":146226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578964,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:57:36] local.INFO: GPS data processed {"connection_id":146226,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:57:36] local.INFO: Acknowledgment sent {"connection_id":146226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:57:48] local.INFO: TCP Data received {"connection_id":146468,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:57:48] local.INFO: Processing buffer {"connection_id":146468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:57:48] local.INFO: IMEI packet received {"connection_id":146468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 19:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":146468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:57:49] local.INFO: TCP Data received {"connection_id":146468,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:57:49] local.INFO: Processing buffer {"connection_id":146468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:57:49] local.INFO: IMEI packet received {"connection_id":146468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":146468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:57:51] local.INFO: TCP Data received {"connection_id":146468,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdb79568012ccba340074a5910000900122c..."} 
[2026-08-01 19:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdb79568012ccba340074a5910000900122c..."} 
[2026-08-01 19:57:51] local.INFO: Processing buffer {"connection_id":146468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdb79568012ccba340074a5910000900122c..."} 
[2026-08-01 19:57:51] local.INFO: Packet analysis {"connection_id":146468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdb7"} 
[2026-08-01 19:57:51] local.INFO: Extracted packet for processing {"connection_id":146468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdb7"} 
[2026-08-01 19:57:51] local.INFO: GPS Element Parsed {"raw_longitude":751543104,"raw_latitude":122312976,"longitude_deg":75.1543104,"latitude_deg":12.2312976,"altitude":9,"angle":18,"satellites":44,"speed":32,"hex_longitude":"2ccba340","hex_latitude":"074a5910","is_valid_coordinates":true} 
[2026-08-01 19:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112151552001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366882909652516864,"note":"Value kept but may cause issues"} 
[2026-08-01 19:57:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3776338624984500224,"note":"Value kept but may cause issues"} 
[2026-08-01 19:57:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785594353000,"timestamp_ms":1785594353000,"timestamp_seconds":1785594353,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdb79568"} 
[2026-08-01 19:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:57: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-08-01 19:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-01 19:57:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:57:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":146468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":146468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":146468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:57:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112151552001,"66":27365,"14":206,"2":54016,"24":32,"16":366882909652516864,"44":-3776338624984500224},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,2,24,16,44]} 
[2026-08-01 19:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112151552001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:57:51] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-01 19:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366882909652516864,"km_value":366882909652516.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:57:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3776338624984500224,"description":"Unknown IO ID 44"} 
[2026-08-01 19:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112151552001,"power":27365,"unknown_14":206,"power_alt":54016,"ignition":32,"odometer":null,"unknown_44":-3776338624984500224}} 
[2026-08-01 19:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":146468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:57:51] local.INFO: GPS data processed {"connection_id":146468,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:57:51] local.INFO: Acknowledgment sent {"connection_id":146468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:57:54] local.INFO: TCP Data received {"connection_id":146468,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdb7c060012ccbae00074a7b68000a000b27..."} 
[2026-08-01 19:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdb7c060012ccbae00074a7b68000a000b27..."} 
[2026-08-01 19:57:54] local.INFO: Processing buffer {"connection_id":146468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdb7c060012ccbae00074a7b68000a000b27..."} 
[2026-08-01 19:57:54] local.INFO: Packet analysis {"connection_id":146468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdb7"} 
[2026-08-01 19:57:54] local.INFO: Extracted packet for processing {"connection_id":146468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdb7"} 
[2026-08-01 19:57:54] local.INFO: GPS Element Parsed {"raw_longitude":751545856,"raw_latitude":122321768,"longitude_deg":75.1545856,"latitude_deg":12.2321768,"altitude":10,"angle":11,"satellites":39,"speed":33,"hex_longitude":"2ccbae00","hex_latitude":"074a7b68","is_valid_coordinates":true} 
[2026-08-01 19:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112154368001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:57:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366883356329115648,"note":"Value kept but may cause issues"} 
[2026-08-01 19:57:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3773101662750044160,"note":"Value kept but may cause issues"} 
[2026-08-01 19:57:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:57:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785594364000,"timestamp_ms":1785594364000,"timestamp_seconds":1785594364,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdb7c060"} 
[2026-08-01 19:57:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:57:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 19:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-01 19:57:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:57:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:57:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:57:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:57:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:57:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:57:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:57:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:57:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:57:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:57:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112154368001,"66":27126,"14":206,"2":54016,"24":33,"16":366883356329115648,"44":-3773101662750044160},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,2,24,16,44]} 
[2026-08-01 19:57:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:57:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:57:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112154368001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:57:54] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-01 19:57:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366883356329115648,"km_value":366883356329115.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:57:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3773101662750044160,"description":"Unknown IO ID 44"} 
[2026-08-01 19:57:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112154368001,"power":27126,"unknown_14":206,"power_alt":54016,"ignition":33,"odometer":null,"unknown_44":-3773101662750044160}} 
[2026-08-01 19:57:54] local.INFO: DEBUG: GPS processor result {"connection_id":146468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:57:54] local.INFO: GPS data processed {"connection_id":146468,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:57:54] local.INFO: Acknowledgment sent {"connection_id":146468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:57:59] local.INFO: TCP Data received {"connection_id":147461,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:57:59] local.INFO: Processing buffer {"connection_id":147461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:57:59] local.INFO: IMEI packet received {"connection_id":147461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 19:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":147461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:58:04] local.INFO: TCP Data received {"connection_id":147461,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:58:04] local.INFO: Processing buffer {"connection_id":147461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:58:04] local.INFO: IMEI packet received {"connection_id":147461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":147461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:58:05] local.INFO: TCP Data received {"connection_id":147461,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdb57e40012d196580071fefa0003b015124..."} 
[2026-08-01 19:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdb57e40012d196580071fefa0003b015124..."} 
[2026-08-01 19:58:05] local.INFO: Processing buffer {"connection_id":147461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdb57e40012d196580071fefa0003b015124..."} 
[2026-08-01 19:58:05] local.INFO: Packet analysis {"connection_id":147461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdb5"} 
[2026-08-01 19:58:05] local.INFO: Extracted packet for processing {"connection_id":147461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdb5"} 
[2026-08-01 19:58:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112042240001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 19:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785594216000,"timestamp_ms":1785594216000,"timestamp_seconds":1785594216,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdb57e40"} 
[2026-08-01 19:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:58:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 19:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:58:05] 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-08-01 19:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112042240001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 19:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112042240001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:58:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:58:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 19:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112042240001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 19:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":147461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:58:06] local.INFO: GPS data processed {"connection_id":147461,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:58:06] local.INFO: Acknowledgment sent {"connection_id":147461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:58:25] local.INFO: TCP Data received {"connection_id":146468,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdb7d000012ccbafc0074a88c0000a016627..."} 
[2026-08-01 19:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdb7d000012ccbafc0074a88c0000a016627..."} 
[2026-08-01 19:58:25] local.INFO: Processing buffer {"connection_id":146468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdb7d000012ccbafc0074a88c0000a016627..."} 
[2026-08-01 19:58:25] local.INFO: Packet analysis {"connection_id":146468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdb7"} 
[2026-08-01 19:58:25] local.INFO: Extracted packet for processing {"connection_id":146468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdb7"} 
[2026-08-01 19:58:25] local.INFO: GPS Element Parsed {"raw_longitude":751546304,"raw_latitude":122325184,"longitude_deg":75.1546304,"latitude_deg":12.2325184,"altitude":10,"angle":358,"satellites":39,"speed":35,"hex_longitude":"2ccbafc0","hex_latitude":"074a88c0","is_valid_coordinates":true} 
[2026-08-01 19:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:58:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112157184001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:58:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366883523832840192,"note":"Value kept but may cause issues"} 
[2026-08-01 19:58:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3770075806748153856,"note":"Value kept but may cause issues"} 
[2026-08-01 19:58:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:58:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785594368000,"timestamp_ms":1785594368000,"timestamp_seconds":1785594368,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdb7d000"} 
[2026-08-01 19:58:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:58:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 19:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-01 19:58:25] 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-08-01 19:58:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:58:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:58:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:58:25] local.INFO: Teltonika packet parsed successfully {"connection_id":146468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:58:25] local.INFO: Passing IMEI to GPS processor {"connection_id":146468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:58:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":146468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:58:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:58:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:58:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:58:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112157184001,"66":27463,"14":206,"2":54016,"24":35,"16":366883523832840192,"44":-3770075806748153856},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,2,24,16,44]} 
[2026-08-01 19:58:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:58:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:58:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112157184001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:58:25] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-01 19:58:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366883523832840192,"km_value":366883523832840.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:58:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3770075806748153856,"description":"Unknown IO ID 44"} 
[2026-08-01 19:58:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112157184001,"power":27463,"unknown_14":206,"power_alt":54016,"ignition":35,"odometer":null,"unknown_44":-3770075806748153856}} 
[2026-08-01 19:58:25] local.INFO: DEBUG: GPS processor result {"connection_id":146468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:58:25] local.INFO: GPS data processed {"connection_id":146468,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:58:25] local.INFO: Acknowledgment sent {"connection_id":146468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:58:37] local.INFO: TCP Data received {"connection_id":147461,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdb57e40012d196580071fefa0003b015124..."} 
[2026-08-01 19:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdb57e40012d196580071fefa0003b015124..."} 
[2026-08-01 19:58:37] local.INFO: Processing buffer {"connection_id":147461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdb57e40012d196580071fefa0003b015124..."} 
[2026-08-01 19:58:37] local.INFO: Packet analysis {"connection_id":147461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdb5"} 
[2026-08-01 19:58:37] local.INFO: Extracted packet for processing {"connection_id":147461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdb5"} 
[2026-08-01 19:58:37] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 19:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112042240001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 19:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785594216000,"timestamp_ms":1785594216000,"timestamp_seconds":1785594216,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdb57e40"} 
[2026-08-01 19:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 19:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":147461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":147461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":147461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:58:37] 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-08-01 19:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112042240001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 19:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112042240001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:58:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:58:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 19:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112042240001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 19:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":147461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578969,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:58:37] local.INFO: GPS data processed {"connection_id":147461,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:58:37] local.INFO: Acknowledgment sent {"connection_id":147461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:58:43] local.INFO: TCP Data received {"connection_id":146469,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:58:43] local.INFO: Processing buffer {"connection_id":146469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:58:43] local.INFO: IMEI packet received {"connection_id":146469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 19:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":146469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:58:52] local.INFO: TCP Data received {"connection_id":146469,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:58:52] local.INFO: Processing buffer {"connection_id":146469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:58:52] local.INFO: IMEI packet received {"connection_id":146469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":146469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:58:53] local.INFO: TCP Data received {"connection_id":146469,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdb94700012ccb2080074b0d50000b01572e..."} 
[2026-08-01 19:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdb94700012ccb2080074b0d50000b01572e..."} 
[2026-08-01 19:58:53] local.INFO: Processing buffer {"connection_id":146469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdb94700012ccb2080074b0d50000b01572e..."} 
[2026-08-01 19:58:53] local.INFO: Packet analysis {"connection_id":146469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdb9"} 
[2026-08-01 19:58:53] local.INFO: Extracted packet for processing {"connection_id":146469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdb9"} 
[2026-08-01 19:58:53] local.INFO: GPS Element Parsed {"raw_longitude":751509632,"raw_latitude":122359120,"longitude_deg":75.1509632,"latitude_deg":12.235912,"altitude":11,"angle":343,"satellites":46,"speed":20,"hex_longitude":"2ccb2080","hex_latitude":"074b0d50","is_valid_coordinates":true} 
[2026-08-01 19:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112182016001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366886049273610240,"note":"Value kept but may cause issues"} 
[2026-08-01 19:58:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3809341565990072320,"note":"Value kept but may cause issues"} 
[2026-08-01 19:58:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785594464000,"timestamp_ms":1785594464000,"timestamp_seconds":1785594464,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdb94700"} 
[2026-08-01 19:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:58: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-08-01 19:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-01 19:58:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:58:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":146469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":146469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":146469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:58:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112182016001,"66":27245,"17":206,"2":54016,"24":20,"16":366886049273610240,"44":-3809341565990072320},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,2,24,16,44]} 
[2026-08-01 19:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112182016001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366886049273610240,"km_value":366886049273610.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:58:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3809341565990072320,"description":"Unknown IO ID 44"} 
[2026-08-01 19:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112182016001,"power":27245,"axis_x":206,"power_alt":54016,"ignition":20,"odometer":null,"unknown_44":-3809341565990072320}} 
[2026-08-01 19:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":146469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:58:53] local.INFO: GPS data processed {"connection_id":146469,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:58:53] local.INFO: Acknowledgment sent {"connection_id":146469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:58:59] local.INFO: TCP Data received {"connection_id":146470,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:58:59] local.INFO: Processing buffer {"connection_id":146470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:58:59] local.INFO: IMEI packet received {"connection_id":146470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 19:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":146470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:59:05] local.INFO: TCP Data received {"connection_id":146470,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:59:05] local.INFO: Processing buffer {"connection_id":146470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 19:59:05] local.INFO: IMEI packet received {"connection_id":146470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 19:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":146470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:59:05] local.INFO: TCP Data received {"connection_id":146470,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdb57e40012d196580071fefa0003b015124..."} 
[2026-08-01 19:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdb57e40012d196580071fefa0003b015124..."} 
[2026-08-01 19:59:05] local.INFO: Processing buffer {"connection_id":146470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdb57e40012d196580071fefa0003b015124..."} 
[2026-08-01 19:59:05] local.INFO: Packet analysis {"connection_id":146470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdb5"} 
[2026-08-01 19:59:05] local.INFO: Extracted packet for processing {"connection_id":146470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdb5"} 
[2026-08-01 19:59:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112042240001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 19:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785594216000,"timestamp_ms":1785594216000,"timestamp_seconds":1785594216,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdb57e40"} 
[2026-08-01 19:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 19:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:59:05] 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-08-01 19:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112042240001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 19:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112042240001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:59:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:59:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 19:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112042240001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 19:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":146470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578971,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:59:05] local.INFO: GPS data processed {"connection_id":146470,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:59:05] local.INFO: Acknowledgment sent {"connection_id":146470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:59:24] local.INFO: TCP Data received {"connection_id":146469,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdb98198012ccb1740074b3118000e015b2e..."} 
[2026-08-01 19:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdb98198012ccb1740074b3118000e015b2e..."} 
[2026-08-01 19:59:24] local.INFO: Processing buffer {"connection_id":146469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdb98198012ccb1740074b3118000e015b2e..."} 
[2026-08-01 19:59:24] local.INFO: Packet analysis {"connection_id":146469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdb9"} 
[2026-08-01 19:59:24] local.INFO: Extracted packet for processing {"connection_id":146469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdb9"} 
[2026-08-01 19:59:24] local.INFO: GPS Element Parsed {"raw_longitude":751507264,"raw_latitude":122368280,"longitude_deg":75.1507264,"latitude_deg":12.236828,"altitude":14,"angle":347,"satellites":46,"speed":31,"hex_longitude":"2ccb1740","hex_latitude":"074b3118","is_valid_coordinates":true} 
[2026-08-01 19:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112182784001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366886504540143616,"note":"Value kept but may cause issues"} 
[2026-08-01 19:59:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3809904515943149568,"note":"Value kept but may cause issues"} 
[2026-08-01 19:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785594479000,"timestamp_ms":1785594479000,"timestamp_seconds":1785594479,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdb98198"} 
[2026-08-01 19:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:59:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 19:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-01 19:59:24] 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-08-01 19:59:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":146469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":146469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":146469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112182784001,"66":27397,"17":206,"2":54016,"24":31,"16":366886504540143616,"44":-3809904515943149568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,2,24,16,44]} 
[2026-08-01 19:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112182784001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366886504540143616,"km_value":366886504540143.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:59:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3809904515943149568,"description":"Unknown IO ID 44"} 
[2026-08-01 19:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112182784001,"power":27397,"axis_x":206,"power_alt":54016,"ignition":31,"odometer":null,"unknown_44":-3809904515943149568}} 
[2026-08-01 19:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":146469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:59:24] local.INFO: GPS data processed {"connection_id":146469,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:59:24] local.INFO: Acknowledgment sent {"connection_id":146469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:59:36] local.INFO: TCP Data received {"connection_id":146470,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdba1608012d196580071fefa0003b015126..."} 
[2026-08-01 19:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdba1608012d196580071fefa0003b015126..."} 
[2026-08-01 19:59:36] local.INFO: Processing buffer {"connection_id":146470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdba1608012d196580071fefa0003b015126..."} 
[2026-08-01 19:59:36] local.INFO: Packet analysis {"connection_id":146470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdba"} 
[2026-08-01 19:59:36] local.INFO: Extracted packet for processing {"connection_id":146470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdba"} 
[2026-08-01 19:59:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 19: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-08-01 19:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112119296001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 19:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 19:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785594517000,"timestamp_ms":1785594517000,"timestamp_seconds":1785594517,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdba1608"} 
[2026-08-01 19:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:59:36] 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-08-01 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 19:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19: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-08-01 19:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 19:59:36] 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-08-01 19:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 19:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 19:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112119296001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 19:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 19:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 19:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112119296001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:59:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 19:59:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 19:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 19:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112119296001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 19:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":146470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:59:36] local.INFO: GPS data processed {"connection_id":146470,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:59:36] local.INFO: Acknowledgment sent {"connection_id":146470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 19:59:43] local.INFO: TCP Data received {"connection_id":147462,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:59:43] local.INFO: Processing buffer {"connection_id":147462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:59:43] local.INFO: IMEI packet received {"connection_id":147462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 19:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":147462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 19:59:43] local.INFO: TCP Data received {"connection_id":147462,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:59:43] local.INFO: Processing buffer {"connection_id":147462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:59:43] local.INFO: IMEI packet received {"connection_id":147462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":147462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:59:48] local.INFO: TCP Data received {"connection_id":147462,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:59:48] local.INFO: Processing buffer {"connection_id":147462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 19:59:48] local.INFO: IMEI packet received {"connection_id":147462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 19:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":147462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 19:59:50] local.INFO: TCP Data received {"connection_id":147462,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdb9a8a8012ccb0f00074b5460000d015a2e..."} 
[2026-08-01 19:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdb9a8a8012ccb0f00074b5460000d015a2e..."} 
[2026-08-01 19:59:50] local.INFO: Processing buffer {"connection_id":147462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdb9a8a8012ccb0f00074b5460000d015a2e..."} 
[2026-08-01 19:59:50] local.INFO: Packet analysis {"connection_id":147462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdb9"} 
[2026-08-01 19:59:50] local.INFO: Extracted packet for processing {"connection_id":147462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdb9"} 
[2026-08-01 19:59:50] local.INFO: GPS Element Parsed {"raw_longitude":751505152,"raw_latitude":122377312,"longitude_deg":75.1505152,"latitude_deg":12.2377312,"altitude":13,"angle":346,"satellites":46,"speed":40,"hex_longitude":"2ccb0f00","hex_latitude":"074b5460","is_valid_coordinates":true} 
[2026-08-01 19:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 19:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112186624001,"note":"Value kept but may cause issues"} 
[2026-08-01 19:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366886955511709696,"note":"Value kept but may cause issues"} 
[2026-08-01 19:59:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3812508159475378176,"note":"Value kept but may cause issues"} 
[2026-08-01 19:59:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 19:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785594489000,"timestamp_ms":1785594489000,"timestamp_seconds":1785594489,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdb9a8a8"} 
[2026-08-01 19:59:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 19:59: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-08-01 19:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-01 19:59:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 19:59:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 19:59:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 19:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 19:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 19:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 19:59:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 19:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 19:59:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 19:59:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112186624001,"66":27267,"96":206,"2":54016,"24":40,"16":366886955511709696,"44":-3812508159475378176},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-08-01 19:59:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 19:59:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 19:59:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112186624001,"description":"Unknown IO ID 0"} 
[2026-08-01 19:59:50] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-01 19:59:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366886955511709696,"km_value":366886955511709.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 19:59:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3812508159475378176,"description":"Unknown IO ID 44"} 
[2026-08-01 19:59:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112186624001,"power":27267,"unknown_96":206,"power_alt":54016,"ignition":40,"odometer":null,"unknown_44":-3812508159475378176}} 
[2026-08-01 19:59:50] local.INFO: DEBUG: GPS processor result {"connection_id":147462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 19:59:50] local.INFO: GPS data processed {"connection_id":147462,"processed":1,"errors":0,"total":1} 
[2026-08-01 19:59:50] local.INFO: Acknowledgment sent {"connection_id":147462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:00:00] local.INFO: TCP Data received {"connection_id":146227,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:00:00] local.INFO: Processing buffer {"connection_id":146227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:00:00] local.INFO: IMEI packet received {"connection_id":146227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":146227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:00:04] local.INFO: TCP Data received {"connection_id":146227,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:00:04] local.INFO: Processing buffer {"connection_id":146227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:00:04] local.INFO: IMEI packet received {"connection_id":146227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":146227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:00:05] local.INFO: TCP Data received {"connection_id":146227,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdba1608012d196580071fefa0003b015126..."} 
[2026-08-01 20:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdba1608012d196580071fefa0003b015126..."} 
[2026-08-01 20:00:05] local.INFO: Processing buffer {"connection_id":146227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdba1608012d196580071fefa0003b015126..."} 
[2026-08-01 20:00:05] local.INFO: Packet analysis {"connection_id":146227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdba"} 
[2026-08-01 20:00:05] local.INFO: Extracted packet for processing {"connection_id":146227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdba"} 
[2026-08-01 20:00:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112119296001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785594517000,"timestamp_ms":1785594517000,"timestamp_seconds":1785594517,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdba1608"} 
[2026-08-01 20:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:00:05] 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-08-01 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:00: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-08-01 20:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112119296001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112119296001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:00:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:00:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112119296001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":146227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:00:05] local.INFO: GPS data processed {"connection_id":146227,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:00:05] local.INFO: Acknowledgment sent {"connection_id":146227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:00:37] local.INFO: TCP Data received {"connection_id":146227,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdba1608012d196580071fefa0003b015126..."} 
[2026-08-01 20:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdba1608012d196580071fefa0003b015126..."} 
[2026-08-01 20:00:37] local.INFO: Processing buffer {"connection_id":146227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdba1608012d196580071fefa0003b015126..."} 
[2026-08-01 20:00:37] local.INFO: Packet analysis {"connection_id":146227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdba"} 
[2026-08-01 20:00:37] local.INFO: Extracted packet for processing {"connection_id":146227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdba"} 
[2026-08-01 20:00:37] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112119296001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785594517000,"timestamp_ms":1785594517000,"timestamp_seconds":1785594517,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdba1608"} 
[2026-08-01 20:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:00:37] 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-08-01 20:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:00: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-08-01 20:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112119296001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112119296001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:00:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:00:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112119296001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":146227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578976,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:00:37] local.INFO: GPS data processed {"connection_id":146227,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:00:37] local.INFO: Acknowledgment sent {"connection_id":146227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:00:59] local.INFO: TCP Data received {"connection_id":146471,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146471,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:01:00] local.INFO: Processing buffer {"connection_id":146471,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:01:00] local.INFO: IMEI packet received {"connection_id":146471,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":146471,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:01:05] local.INFO: TCP Data received {"connection_id":146471,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146471,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:01:05] local.INFO: Processing buffer {"connection_id":146471,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:01:05] local.INFO: IMEI packet received {"connection_id":146471,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":146471,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:01:05] local.INFO: TCP Data received {"connection_id":146471,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdba1608012d196580071fefa0003b015126..."} 
[2026-08-01 20:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdba1608012d196580071fefa0003b015126..."} 
[2026-08-01 20:01:05] local.INFO: Processing buffer {"connection_id":146471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdba1608012d196580071fefa0003b015126..."} 
[2026-08-01 20:01:05] local.INFO: Packet analysis {"connection_id":146471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdba"} 
[2026-08-01 20:01:05] local.INFO: Extracted packet for processing {"connection_id":146471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdba"} 
[2026-08-01 20:01:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112119296001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785594517000,"timestamp_ms":1785594517000,"timestamp_seconds":1785594517,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdba1608"} 
[2026-08-01 20:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:01:05] 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-08-01 20:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:01: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-08-01 20:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112119296001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112119296001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:01:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:01:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112119296001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":146471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:01:06] local.INFO: GPS data processed {"connection_id":146471,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:01:06] local.INFO: Acknowledgment sent {"connection_id":146471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:01:37] local.INFO: TCP Data received {"connection_id":146471,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdba1608012d196580071fefa0003b015126..."} 
[2026-08-01 20:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdba1608012d196580071fefa0003b015126..."} 
[2026-08-01 20:01:37] local.INFO: Processing buffer {"connection_id":146471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdba1608012d196580071fefa0003b015126..."} 
[2026-08-01 20:01:37] local.INFO: Packet analysis {"connection_id":146471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdba"} 
[2026-08-01 20:01:37] local.INFO: Extracted packet for processing {"connection_id":146471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdba"} 
[2026-08-01 20:01:37] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112119296001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785594517000,"timestamp_ms":1785594517000,"timestamp_seconds":1785594517,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdba1608"} 
[2026-08-01 20:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:01:37] 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-08-01 20:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:01: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-08-01 20:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112119296001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112119296001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:01:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:01:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112119296001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":146471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:01:37] local.INFO: GPS data processed {"connection_id":146471,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:01:37] local.INFO: Acknowledgment sent {"connection_id":146471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:01:59] local.INFO: TCP Data received {"connection_id":147463,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147463,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:01:59] local.INFO: Processing buffer {"connection_id":147463,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:01:59] local.INFO: IMEI packet received {"connection_id":147463,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":147463,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:02:04] local.INFO: TCP Data received {"connection_id":147463,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147463,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:02:04] local.INFO: Processing buffer {"connection_id":147463,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:02:04] local.INFO: IMEI packet received {"connection_id":147463,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":147463,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:02:05] local.INFO: TCP Data received {"connection_id":147463,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdba1608012d196580071fefa0003b015126..."} 
[2026-08-01 20:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdba1608012d196580071fefa0003b015126..."} 
[2026-08-01 20:02:05] local.INFO: Processing buffer {"connection_id":147463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdba1608012d196580071fefa0003b015126..."} 
[2026-08-01 20:02:05] local.INFO: Packet analysis {"connection_id":147463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdba"} 
[2026-08-01 20:02:05] local.INFO: Extracted packet for processing {"connection_id":147463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdba"} 
[2026-08-01 20:02:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112119296001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785594517000,"timestamp_ms":1785594517000,"timestamp_seconds":1785594517,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdba1608"} 
[2026-08-01 20:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:02:05] 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-08-01 20:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:02:05] 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-08-01 20:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112119296001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112119296001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:02:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:02:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112119296001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":147463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:02:05] local.INFO: GPS data processed {"connection_id":147463,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:02:05] local.INFO: Acknowledgment sent {"connection_id":147463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:02:36] local.INFO: TCP Data received {"connection_id":147463,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdba1608012d196580071fefa0003b015126..."} 
[2026-08-01 20:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdba1608012d196580071fefa0003b015126..."} 
[2026-08-01 20:02:36] local.INFO: Processing buffer {"connection_id":147463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdba1608012d196580071fefa0003b015126..."} 
[2026-08-01 20:02:36] local.INFO: Packet analysis {"connection_id":147463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdba"} 
[2026-08-01 20:02:36] local.INFO: Extracted packet for processing {"connection_id":147463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdba"} 
[2026-08-01 20:02:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112119296001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785594517000,"timestamp_ms":1785594517000,"timestamp_seconds":1785594517,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdba1608"} 
[2026-08-01 20:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:02:36] 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-08-01 20:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:02:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:02:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:02:36] 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-08-01 20:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112119296001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112119296001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:02:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:02:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112119296001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":147463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578980,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:02:36] local.INFO: GPS data processed {"connection_id":147463,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:02:36] local.INFO: Acknowledgment sent {"connection_id":147463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:02:53] local.INFO: TCP Data received {"connection_id":146228,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:02:53] local.INFO: Processing buffer {"connection_id":146228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:02:53] local.INFO: IMEI packet received {"connection_id":146228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":146228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:02:58] local.INFO: TCP Data received {"connection_id":146228,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:02:58] local.INFO: Processing buffer {"connection_id":146228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:02:58] local.INFO: IMEI packet received {"connection_id":146228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":146228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:02:59] local.INFO: TCP Data received {"connection_id":146472,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146472,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:02:59] local.INFO: Processing buffer {"connection_id":146472,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:02:59] local.INFO: IMEI packet received {"connection_id":146472,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":146472,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:03:00] local.INFO: TCP Data received {"connection_id":146228,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdbcd528012cc870c0074ceb78000d01472d..."} 
[2026-08-01 20:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdbcd528012cc870c0074ceb78000d01472d..."} 
[2026-08-01 20:03:00] local.INFO: Processing buffer {"connection_id":146228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdbcd528012cc870c0074ceb78000d01472d..."} 
[2026-08-01 20:03:00] local.INFO: Packet analysis {"connection_id":146228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdbc"} 
[2026-08-01 20:03:00] local.INFO: Extracted packet for processing {"connection_id":146228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdbc"} 
[2026-08-01 20:03:00] local.INFO: GPS Element Parsed {"raw_longitude":751333568,"raw_latitude":122481528,"longitude_deg":75.1333568,"latitude_deg":12.2481528,"altitude":13,"angle":327,"satellites":45,"speed":40,"hex_longitude":"2cc870c0","hex_latitude":"074ceb78","is_valid_coordinates":true} 
[2026-08-01 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-08-01 20:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112240640001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366898109541777408,"note":"Value kept but may cause issues"} 
[2026-08-01 20:03:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3999055700263467008,"note":"Value kept but may cause issues"} 
[2026-08-01 20:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785594697000,"timestamp_ms":1785594697000,"timestamp_seconds":1785594697,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdbcd528"} 
[2026-08-01 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-08-01 20: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-08-01 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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-01 20:03: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-08-01 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-08-01 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-08-01 20:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":146228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":146228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":146228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112240640001,"66":27300,"74":206,"2":54016,"24":40,"16":366898109541777408,"44":-3999055700263467008},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,2,24,16,44]} 
[2026-08-01 20:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112240640001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:03:00] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-08-01 20:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366898109541777408,"km_value":366898109541777.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:03:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3999055700263467008,"description":"Unknown IO ID 44"} 
[2026-08-01 20:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112240640001,"power":27300,"unknown_74":206,"power_alt":54016,"ignition":40,"odometer":null,"unknown_44":-3999055700263467008}} 
[2026-08-01 20:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":146228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:03:00] local.INFO: GPS data processed {"connection_id":146228,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:03:00] local.INFO: Acknowledgment sent {"connection_id":146228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:03:04] local.INFO: TCP Data received {"connection_id":146472,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146472,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:03:04] local.INFO: Processing buffer {"connection_id":146472,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:03:04] local.INFO: IMEI packet received {"connection_id":146472,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":146472,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:03:05] local.INFO: TCP Data received {"connection_id":146472,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdba1608012d196580071fefa0003b015126..."} 
[2026-08-01 20:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdba1608012d196580071fefa0003b015126..."} 
[2026-08-01 20:03:05] local.INFO: Processing buffer {"connection_id":146472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdba1608012d196580071fefa0003b015126..."} 
[2026-08-01 20:03:05] local.INFO: Packet analysis {"connection_id":146472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdba"} 
[2026-08-01 20:03:05] local.INFO: Extracted packet for processing {"connection_id":146472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdba"} 
[2026-08-01 20:03:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112119296001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785594517000,"timestamp_ms":1785594517000,"timestamp_seconds":1785594517,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdba1608"} 
[2026-08-01 20:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:03:05] 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-08-01 20:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:03:05] 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-08-01 20:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112119296001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112119296001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:03:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:03:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112119296001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":146472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578982,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:03:05] local.INFO: GPS data processed {"connection_id":146472,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:03:05] local.INFO: Acknowledgment sent {"connection_id":146472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:03:36] local.INFO: TCP Data received {"connection_id":146472,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdba1608012d196580071fefa0003b015126..."} 
[2026-08-01 20:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdba1608012d196580071fefa0003b015126..."} 
[2026-08-01 20:03:36] local.INFO: Processing buffer {"connection_id":146472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdba1608012d196580071fefa0003b015126..."} 
[2026-08-01 20:03:36] local.INFO: Packet analysis {"connection_id":146472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdba"} 
[2026-08-01 20:03:36] local.INFO: Extracted packet for processing {"connection_id":146472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdba"} 
[2026-08-01 20:03:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112119296001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785594517000,"timestamp_ms":1785594517000,"timestamp_seconds":1785594517,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdba1608"} 
[2026-08-01 20:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:03:36] 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-08-01 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:03:36] 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-08-01 20:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112119296001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112119296001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:03:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:03:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112119296001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":146472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578983,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:03:36] local.INFO: GPS data processed {"connection_id":146472,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:03:36] local.INFO: Acknowledgment sent {"connection_id":146472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:03:44] local.INFO: TCP Data received {"connection_id":146229,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:03:44] local.INFO: Processing buffer {"connection_id":146229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:03:44] local.INFO: IMEI packet received {"connection_id":146229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":146229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:03:45] local.INFO: TCP Data received {"connection_id":146229,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:03:45] local.INFO: Processing buffer {"connection_id":146229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:03:45] local.INFO: IMEI packet received {"connection_id":146229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":146229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:03:49] local.INFO: TCP Data received {"connection_id":146229,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:03:49] local.INFO: Processing buffer {"connection_id":146229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:03:49] local.INFO: IMEI packet received {"connection_id":146229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":146229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:03:53] local.INFO: TCP Data received {"connection_id":146229,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:03:53] local.INFO: Processing buffer {"connection_id":146229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:03:53] local.INFO: IMEI packet received {"connection_id":146229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":146229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:03:55] local.INFO: TCP Data received {"connection_id":146229,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdbe1d48012cc77240074d2fb00008014f2c..."} 
[2026-08-01 20:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdbe1d48012cc77240074d2fb00008014f2c..."} 
[2026-08-01 20:03:55] local.INFO: Processing buffer {"connection_id":146229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdbe1d48012cc77240074d2fb00008014f2c..."} 
[2026-08-01 20:03:55] local.INFO: Packet analysis {"connection_id":146229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdbe"} 
[2026-08-01 20:03:55] local.INFO: Extracted packet for processing {"connection_id":146229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdbe"} 
[2026-08-01 20:03:55] local.INFO: GPS Element Parsed {"raw_longitude":751268416,"raw_latitude":122498992,"longitude_deg":75.1268416,"latitude_deg":12.2498992,"altitude":8,"angle":335,"satellites":44,"speed":13,"hex_longitude":"2cc77240","hex_latitude":"074d2fb0","is_valid_coordinates":true} 
[2026-08-01 20:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112263680001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366901519745810432,"note":"Value kept but may cause issues"} 
[2026-08-01 20:03:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4074983575224676352,"note":"Value kept but may cause issues"} 
[2026-08-01 20:03:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785594781000,"timestamp_ms":1785594781000,"timestamp_seconds":1785594781,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdbe1d48"} 
[2026-08-01 20:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:03:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-01 20:03:55] 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-08-01 20:03:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":146229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":146229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":146229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112263680001,"66":27169,"163":206,"2":54016,"24":13,"16":366901519745810432,"44":-4074983575224676352},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,2,24,16,44]} 
[2026-08-01 20:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112263680001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:03:55] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 20:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366901519745810432,"km_value":366901519745810.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:03:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4074983575224676352,"description":"Unknown IO ID 44"} 
[2026-08-01 20:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112263680001,"power":27169,"unknown_163":206,"power_alt":54016,"ignition":13,"odometer":null,"unknown_44":-4074983575224676352}} 
[2026-08-01 20:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":146229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:03:55] local.INFO: GPS data processed {"connection_id":146229,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:03:55] local.INFO: Acknowledgment sent {"connection_id":146229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:03:58] local.INFO: TCP Data received {"connection_id":146229,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdbe2130012cc771c0074d30d8000801602d..."} 
[2026-08-01 20:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdbe2130012cc771c0074d30d8000801602d..."} 
[2026-08-01 20:03:58] local.INFO: Processing buffer {"connection_id":146229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdbe2130012cc771c0074d30d8000801602d..."} 
[2026-08-01 20:03:58] local.INFO: Packet analysis {"connection_id":146229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdbe"} 
[2026-08-01 20:03:58] local.INFO: Extracted packet for processing {"connection_id":146229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdbe"} 
[2026-08-01 20:03:58] local.INFO: GPS Element Parsed {"raw_longitude":751268288,"raw_latitude":122499288,"longitude_deg":75.1268288,"latitude_deg":12.2499288,"altitude":8,"angle":352,"satellites":45,"speed":12,"hex_longitude":"2cc771c0","hex_latitude":"074d30d8","is_valid_coordinates":true} 
[2026-08-01 20:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112263936001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366901532630712320,"note":"Value kept but may cause issues"} 
[2026-08-01 20:03:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4075124312712957952,"note":"Value kept but may cause issues"} 
[2026-08-01 20:03:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785594782000,"timestamp_ms":1785594782000,"timestamp_seconds":1785594782,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdbe2130"} 
[2026-08-01 20:03:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:03: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-08-01 20:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-01 20:03:58] 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-08-01 20:03:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:03:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":146229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":146229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":146229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:03:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112263936001,"66":27484,"163":206,"2":54016,"24":12,"16":366901532630712320,"44":-4075124312712957952},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,2,24,16,44]} 
[2026-08-01 20:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112263936001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:03:58] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 20:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366901532630712320,"km_value":366901532630712.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:03:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4075124312712957952,"description":"Unknown IO ID 44"} 
[2026-08-01 20:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112263936001,"power":27484,"unknown_163":206,"power_alt":54016,"ignition":12,"odometer":null,"unknown_44":-4075124312712957952}} 
[2026-08-01 20:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":146229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:03:58] local.INFO: GPS data processed {"connection_id":146229,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:03:58] local.INFO: Acknowledgment sent {"connection_id":146229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:04:04] local.INFO: TCP Data received {"connection_id":148771,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:04:04] local.INFO: Processing buffer {"connection_id":148771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:04:04] local.INFO: IMEI packet received {"connection_id":148771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":148771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:04:09] local.INFO: TCP Data received {"connection_id":148771,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:04:09] local.INFO: Processing buffer {"connection_id":148771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:04:09] local.INFO: IMEI packet received {"connection_id":148771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":148771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:04:10] local.INFO: TCP Data received {"connection_id":148771,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdba1608012d196580071fefa0003b015126..."} 
[2026-08-01 20:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdba1608012d196580071fefa0003b015126..."} 
[2026-08-01 20:04:10] local.INFO: Processing buffer {"connection_id":148771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdba1608012d196580071fefa0003b015126..."} 
[2026-08-01 20:04:10] local.INFO: Packet analysis {"connection_id":148771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdba"} 
[2026-08-01 20:04:10] local.INFO: Extracted packet for processing {"connection_id":148771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdba"} 
[2026-08-01 20:04:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 20:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112119296001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 20:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785594517000,"timestamp_ms":1785594517000,"timestamp_seconds":1785594517,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdba1608"} 
[2026-08-01 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-08-01 20:04: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-08-01 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":118,"data_length":795,"current_offset":136} 
[2026-08-01 20: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-08-01 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-08-01 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-08-01 20:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":148771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":148771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":148771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:04: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-08-01 20:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112119296001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112119296001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:04:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:04:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112119296001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":148771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:04:10] local.INFO: GPS data processed {"connection_id":148771,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:04:10] local.INFO: Acknowledgment sent {"connection_id":148771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:04:15] local.INFO: TCP Data received {"connection_id":148771,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdba1608012d196580071fefa0003b015126..."} 
[2026-08-01 20:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdba1608012d196580071fefa0003b015126..."} 
[2026-08-01 20:04:15] local.INFO: Processing buffer {"connection_id":148771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdba1608012d196580071fefa0003b015126..."} 
[2026-08-01 20:04:15] local.INFO: Packet analysis {"connection_id":148771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdba"} 
[2026-08-01 20:04:15] local.INFO: Extracted packet for processing {"connection_id":148771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdba"} 
[2026-08-01 20:04:15] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112119296001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:04: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-08-01 20:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785594517000,"timestamp_ms":1785594517000,"timestamp_seconds":1785594517,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdba1608"} 
[2026-08-01 20:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:04: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-08-01 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:04: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-08-01 20: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-08-01 20:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:04: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-08-01 20:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112119296001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112119296001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:04:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:04:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112119296001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":148771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:04:15] local.INFO: GPS data processed {"connection_id":148771,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:04:15] local.INFO: Acknowledgment sent {"connection_id":148771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:04:41] local.INFO: TCP Data received {"connection_id":146230,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:04:41] local.INFO: Processing buffer {"connection_id":146230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:04:41] local.INFO: IMEI packet received {"connection_id":146230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":146230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:04:43] local.INFO: TCP Data received {"connection_id":146230,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:04:43] local.INFO: Processing buffer {"connection_id":146230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:04:43] local.INFO: IMEI packet received {"connection_id":146230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":146230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:04:48] local.INFO: TCP Data received {"connection_id":146230,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:04:48] local.INFO: Processing buffer {"connection_id":146230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:04:48] local.INFO: IMEI packet received {"connection_id":146230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":146230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:04:50] local.INFO: TCP Data received {"connection_id":146230,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdbeb5a0012cc7a2c0074d3780000d01572d..."} 
[2026-08-01 20:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdbeb5a0012cc7a2c0074d3780000d01572d..."} 
[2026-08-01 20:04:50] local.INFO: Processing buffer {"connection_id":146230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdbeb5a0012cc7a2c0074d3780000d01572d..."} 
[2026-08-01 20:04:50] local.INFO: Packet analysis {"connection_id":146230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdbe"} 
[2026-08-01 20:04:50] local.INFO: Extracted packet for processing {"connection_id":146230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdbe"} 
[2026-08-01 20:04:50] local.INFO: GPS Element Parsed {"raw_longitude":751280832,"raw_latitude":122500992,"longitude_deg":75.1280832,"latitude_deg":12.2500992,"altitude":13,"angle":343,"satellites":45,"speed":5,"hex_longitude":"2cc7a2c0","hex_latitude":"074d3780","is_valid_coordinates":true} 
[2026-08-01 20:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112272896001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366902198350643200,"note":"Value kept but may cause issues"} 
[2026-08-01 20:04:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4061472776342138880,"note":"Value kept but may cause issues"} 
[2026-08-01 20:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785594820000,"timestamp_ms":1785594820000,"timestamp_seconds":1785594820,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdbeb5a0"} 
[2026-08-01 20:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:04:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-01 20:04:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:04:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:04:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112272896001,"66":27332,"163":206,"2":54016,"24":5,"16":366902198350643200,"44":-4061472776342138880},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,2,24,16,44]} 
[2026-08-01 20:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112272896001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:04:50] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 20:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366902198350643200,"km_value":366902198350643.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:04:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4061472776342138880,"description":"Unknown IO ID 44"} 
[2026-08-01 20:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112272896001,"power":27332,"unknown_163":206,"power_alt":54016,"ignition":5,"odometer":null,"unknown_44":-4061472776342138880}} 
[2026-08-01 20:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":146230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:04:50] local.INFO: GPS data processed {"connection_id":146230,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:04:50] local.INFO: Acknowledgment sent {"connection_id":146230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:04:59] local.INFO: TCP Data received {"connection_id":147464,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:04:59] local.INFO: Processing buffer {"connection_id":147464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:04:59] local.INFO: IMEI packet received {"connection_id":147464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":147464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:05:04] local.INFO: TCP Data received {"connection_id":147464,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:05:04] local.INFO: Processing buffer {"connection_id":147464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:05:04] local.INFO: IMEI packet received {"connection_id":147464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":147464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:05:05] local.INFO: TCP Data received {"connection_id":147464,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdbeadd0012d196580071fefa0003b015126..."} 
[2026-08-01 20:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdbeadd0012d196580071fefa0003b015126..."} 
[2026-08-01 20:05:05] local.INFO: Processing buffer {"connection_id":147464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdbeadd0012d196580071fefa0003b015126..."} 
[2026-08-01 20:05:05] local.INFO: Packet analysis {"connection_id":147464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdbe"} 
[2026-08-01 20:05:05] local.INFO: Extracted packet for processing {"connection_id":147464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdbe"} 
[2026-08-01 20:05:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112196352001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785594818000,"timestamp_ms":1785594818000,"timestamp_seconds":1785594818,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdbeadd0"} 
[2026-08-01 20:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:05:05] 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-08-01 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 20:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:05:05] 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-08-01 20:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112196352001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112196352001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:05:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:05:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112196352001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":147464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578989,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:05:05] local.INFO: GPS data processed {"connection_id":147464,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:05:05] local.INFO: Acknowledgment sent {"connection_id":147464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:05:22] local.INFO: TCP Data received {"connection_id":146230,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdbebd70012cc7a200074d38b0000d01482e..."} 
[2026-08-01 20:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdbebd70012cc7a200074d38b0000d01482e..."} 
[2026-08-01 20:05:22] local.INFO: Processing buffer {"connection_id":146230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdbebd70012cc7a200074d38b0000d01482e..."} 
[2026-08-01 20:05:22] local.INFO: Packet analysis {"connection_id":146230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdbe"} 
[2026-08-01 20:05:22] local.INFO: Extracted packet for processing {"connection_id":146230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdbe"} 
[2026-08-01 20:05:22] local.INFO: GPS Element Parsed {"raw_longitude":751280640,"raw_latitude":122501296,"longitude_deg":75.128064,"latitude_deg":12.2501296,"altitude":13,"angle":328,"satellites":46,"speed":7,"hex_longitude":"2cc7a200","hex_latitude":"074d38b0","is_valid_coordinates":true} 
[2026-08-01 20:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112273920001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366902215530512384,"note":"Value kept but may cause issues"} 
[2026-08-01 20:05:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4061472776341979136,"note":"Value kept but may cause issues"} 
[2026-08-01 20:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785594822000,"timestamp_ms":1785594822000,"timestamp_seconds":1785594822,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdbebd70"} 
[2026-08-01 20:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:05:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-01 20:05:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:05:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:05:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112273920001,"66":27376,"163":206,"2":54016,"24":7,"16":366902215530512384,"44":-4061472776341979136},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,2,24,16,44]} 
[2026-08-01 20:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112273920001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:05:22] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 20:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366902215530512384,"km_value":366902215530512.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:05:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4061472776341979136,"description":"Unknown IO ID 44"} 
[2026-08-01 20:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112273920001,"power":27376,"unknown_163":206,"power_alt":54016,"ignition":7,"odometer":null,"unknown_44":-4061472776341979136}} 
[2026-08-01 20:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":146230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:05:22] local.INFO: GPS data processed {"connection_id":146230,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:05:22] local.INFO: Acknowledgment sent {"connection_id":146230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:05:36] local.INFO: TCP Data received {"connection_id":147464,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdbeadd0012d196580071fefa0003b015126..."} 
[2026-08-01 20:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdbeadd0012d196580071fefa0003b015126..."} 
[2026-08-01 20:05:36] local.INFO: Processing buffer {"connection_id":147464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdbeadd0012d196580071fefa0003b015126..."} 
[2026-08-01 20:05:36] local.INFO: Packet analysis {"connection_id":147464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdbe"} 
[2026-08-01 20:05:36] local.INFO: Extracted packet for processing {"connection_id":147464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdbe"} 
[2026-08-01 20:05:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112196352001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785594818000,"timestamp_ms":1785594818000,"timestamp_seconds":1785594818,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdbeadd0"} 
[2026-08-01 20:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:05:36] 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-08-01 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 20:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:05:36] 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-08-01 20:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112196352001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112196352001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:05:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:05:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112196352001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":147464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578991,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:05:36] local.INFO: GPS data processed {"connection_id":147464,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:05:36] local.INFO: Acknowledgment sent {"connection_id":147464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:05:43] local.INFO: TCP Data received {"connection_id":146473,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:05:43] local.INFO: Processing buffer {"connection_id":146473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:05:43] local.INFO: IMEI packet received {"connection_id":146473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":146473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:05:46] local.INFO: TCP Data received {"connection_id":146473,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:05:46] local.INFO: Processing buffer {"connection_id":146473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:05:46] local.INFO: IMEI packet received {"connection_id":146473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":146473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:05:48] local.INFO: TCP Data received {"connection_id":146473,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdbfda98012cc77b40074deca8000b004429..."} 
[2026-08-01 20:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdbfda98012cc77b40074deca8000b004429..."} 
[2026-08-01 20:05:48] local.INFO: Processing buffer {"connection_id":146473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdbfda98012cc77b40074deca8000b004429..."} 
[2026-08-01 20:05:48] local.INFO: Packet analysis {"connection_id":146473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdbf"} 
[2026-08-01 20:05:48] local.INFO: Extracted packet for processing {"connection_id":146473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdbf"} 
[2026-08-01 20:05:48] local.INFO: GPS Element Parsed {"raw_longitude":751270720,"raw_latitude":122547368,"longitude_deg":75.127072,"latitude_deg":12.2547368,"altitude":11,"angle":68,"satellites":41,"speed":21,"hex_longitude":"2cc77b40","hex_latitude":"074deca8","is_valid_coordinates":true} 
[2026-08-01 20:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112292864001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366904551992721408,"note":"Value kept but may cause issues"} 
[2026-08-01 20:05:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4073083619119486976,"note":"Value kept but may cause issues"} 
[2026-08-01 20:05:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:05:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785594895000,"timestamp_ms":1785594895000,"timestamp_seconds":1785594895,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdbfda98"} 
[2026-08-01 20:05:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:05:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-01 20:05:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":826,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:05:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:05:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:05:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:05:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:05:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:05:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:05:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112292864001,"66":26636,"186":206,"2":54016,"24":21,"16":366904551992721408,"44":-4073083619119486976},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,2,24,16,44]} 
[2026-08-01 20:05:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:05:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112292864001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:05:48] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-01 20:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366904551992721408,"km_value":366904551992721.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:05:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4073083619119486976,"description":"Unknown IO ID 44"} 
[2026-08-01 20:05:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112292864001,"power":26636,"unknown_186":206,"power_alt":54016,"ignition":21,"odometer":null,"unknown_44":-4073083619119486976}} 
[2026-08-01 20:05:48] local.INFO: DEBUG: GPS processor result {"connection_id":146473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:05:48] local.INFO: GPS data processed {"connection_id":146473,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:05:48] local.INFO: Acknowledgment sent {"connection_id":146473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:06:00] local.INFO: TCP Data received {"connection_id":148772,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:06:00] local.INFO: Processing buffer {"connection_id":148772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:06:00] local.INFO: IMEI packet received {"connection_id":148772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":148772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:06:04] local.INFO: TCP Data received {"connection_id":148772,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:06:04] local.INFO: Processing buffer {"connection_id":148772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:06:04] local.INFO: IMEI packet received {"connection_id":148772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":148772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:06:05] local.INFO: TCP Data received {"connection_id":148772,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdbeadd0012d196580071fefa0003b015126..."} 
[2026-08-01 20:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdbeadd0012d196580071fefa0003b015126..."} 
[2026-08-01 20:06:05] local.INFO: Processing buffer {"connection_id":148772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdbeadd0012d196580071fefa0003b015126..."} 
[2026-08-01 20:06:05] local.INFO: Packet analysis {"connection_id":148772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdbe"} 
[2026-08-01 20:06:05] local.INFO: Extracted packet for processing {"connection_id":148772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdbe"} 
[2026-08-01 20:06:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112196352001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785594818000,"timestamp_ms":1785594818000,"timestamp_seconds":1785594818,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdbeadd0"} 
[2026-08-01 20:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:06:05] 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-08-01 20:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 20:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:06:05] 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-08-01 20:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112196352001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112196352001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:06:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:06:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112196352001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":148772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:06:05] local.INFO: GPS data processed {"connection_id":148772,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:06:05] local.INFO: Acknowledgment sent {"connection_id":148772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:06:19] local.INFO: TCP Data received {"connection_id":146473,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdbfde80012cc77d80074ded38000b004f2a..."} 
[2026-08-01 20:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdbfde80012cc77d80074ded38000b004f2a..."} 
[2026-08-01 20:06:19] local.INFO: Processing buffer {"connection_id":146473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdbfde80012cc77d80074ded38000b004f2a..."} 
[2026-08-01 20:06:19] local.INFO: Packet analysis {"connection_id":146473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdbf"} 
[2026-08-01 20:06:19] local.INFO: Extracted packet for processing {"connection_id":146473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdbf"} 
[2026-08-01 20:06:19] local.INFO: GPS Element Parsed {"raw_longitude":751271296,"raw_latitude":122547512,"longitude_deg":75.1271296,"latitude_deg":12.2547512,"altitude":11,"angle":79,"satellites":42,"speed":22,"hex_longitude":"2cc77d80","hex_latitude":"074ded38","is_valid_coordinates":true} 
[2026-08-01 20:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112293120001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366904577762525184,"note":"Value kept but may cause issues"} 
[2026-08-01 20:06:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4072591037910177792,"note":"Value kept but may cause issues"} 
[2026-08-01 20:06:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785594896000,"timestamp_ms":1785594896000,"timestamp_seconds":1785594896,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdbfde80"} 
[2026-08-01 20:06:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:06:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-01 20:06:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":826,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:06:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:06:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:06:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":146473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":146473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":146473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:06:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:06:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:06:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:06:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112293120001,"66":27213,"186":206,"2":54016,"24":22,"16":366904577762525184,"44":-4072591037910177792},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,2,24,16,44]} 
[2026-08-01 20:06:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:06:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:06:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112293120001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:06:19] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-01 20:06:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366904577762525184,"km_value":366904577762525.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:06:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4072591037910177792,"description":"Unknown IO ID 44"} 
[2026-08-01 20:06:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112293120001,"power":27213,"unknown_186":206,"power_alt":54016,"ignition":22,"odometer":null,"unknown_44":-4072591037910177792}} 
[2026-08-01 20:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":146473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:06:19] local.INFO: GPS data processed {"connection_id":146473,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:06:19] local.INFO: Acknowledgment sent {"connection_id":146473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:06:36] local.INFO: TCP Data received {"connection_id":148772,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdbeadd0012d196580071fefa0003b015126..."} 
[2026-08-01 20:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdbeadd0012d196580071fefa0003b015126..."} 
[2026-08-01 20:06:36] local.INFO: Processing buffer {"connection_id":148772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdbeadd0012d196580071fefa0003b015126..."} 
[2026-08-01 20:06:36] local.INFO: Packet analysis {"connection_id":148772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdbe"} 
[2026-08-01 20:06:36] local.INFO: Extracted packet for processing {"connection_id":148772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdbe"} 
[2026-08-01 20:06:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112196352001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785594818000,"timestamp_ms":1785594818000,"timestamp_seconds":1785594818,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdbeadd0"} 
[2026-08-01 20:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:06:36] 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-08-01 20:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 20:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:06:36] 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-08-01 20:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112196352001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112196352001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:06:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:06:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112196352001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":148772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578995,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:06:36] local.INFO: GPS data processed {"connection_id":148772,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:06:36] local.INFO: Acknowledgment sent {"connection_id":148772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:06:43] local.INFO: TCP Data received {"connection_id":147465,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:06:43] local.INFO: Processing buffer {"connection_id":147465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:06:43] local.INFO: IMEI packet received {"connection_id":147465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":147465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:06:48] local.INFO: TCP Data received {"connection_id":147465,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:06:48] local.INFO: Processing buffer {"connection_id":147465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:06:48] local.INFO: IMEI packet received {"connection_id":147465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":147465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:06:50] local.INFO: TCP Data received {"connection_id":147465,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdc00d60012cc79cc0074deef0000c005d2a..."} 
[2026-08-01 20:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdc00d60012cc79cc0074deef0000c005d2a..."} 
[2026-08-01 20:06:50] local.INFO: Processing buffer {"connection_id":147465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdc00d60012cc79cc0074deef0000c005d2a..."} 
[2026-08-01 20:06:50] local.INFO: Packet analysis {"connection_id":147465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdc0"} 
[2026-08-01 20:06:50] local.INFO: Extracted packet for processing {"connection_id":147465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdc0"} 
[2026-08-01 20:06:50] local.INFO: GPS Element Parsed {"raw_longitude":751279296,"raw_latitude":122547952,"longitude_deg":75.1279296,"latitude_deg":12.2547952,"altitude":12,"angle":93,"satellites":42,"speed":27,"hex_longitude":"2cc79cc0","hex_latitude":"074deef0","is_valid_coordinates":true} 
[2026-08-01 20:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:06:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112293376001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:06:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366904960014614528,"note":"Value kept but may cause issues"} 
[2026-08-01 20:06:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4071957719212541952,"note":"Value kept but may cause issues"} 
[2026-08-01 20:06:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:06:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785594908000,"timestamp_ms":1785594908000,"timestamp_seconds":1785594908,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdc00d60"} 
[2026-08-01 20:06:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:06: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-08-01 20:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-01 20:06:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:06:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:06:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:06:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:06:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:06:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:06:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:06:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:06:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:06:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:06:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112293376001,"66":27234,"186":206,"2":54016,"24":27,"16":366904960014614528,"44":-4071957719212541952},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,2,24,16,44]} 
[2026-08-01 20:06:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:06:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:06:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112293376001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:06:50] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-01 20:06:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366904960014614528,"km_value":366904960014614.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:06:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4071957719212541952,"description":"Unknown IO ID 44"} 
[2026-08-01 20:06:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112293376001,"power":27234,"unknown_186":206,"power_alt":54016,"ignition":27,"odometer":null,"unknown_44":-4071957719212541952}} 
[2026-08-01 20:06:50] local.INFO: DEBUG: GPS processor result {"connection_id":147465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:06:50] local.INFO: GPS data processed {"connection_id":147465,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:06:50] local.INFO: Acknowledgment sent {"connection_id":147465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:06:59] local.INFO: TCP Data received {"connection_id":148773,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:06:59] local.INFO: Processing buffer {"connection_id":148773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:06:59] local.INFO: IMEI packet received {"connection_id":148773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":148773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:07:04] local.INFO: TCP Data received {"connection_id":148773,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:07:04] local.INFO: Processing buffer {"connection_id":148773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:07:04] local.INFO: IMEI packet received {"connection_id":148773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":148773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:07:05] local.INFO: TCP Data received {"connection_id":148773,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdbeadd0012d196580071fefa0003b015126..."} 
[2026-08-01 20:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdbeadd0012d196580071fefa0003b015126..."} 
[2026-08-01 20:07:05] local.INFO: Processing buffer {"connection_id":148773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdbeadd0012d196580071fefa0003b015126..."} 
[2026-08-01 20:07:05] local.INFO: Packet analysis {"connection_id":148773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdbe"} 
[2026-08-01 20:07:05] local.INFO: Extracted packet for processing {"connection_id":148773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdbe"} 
[2026-08-01 20:07:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112196352001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785594818000,"timestamp_ms":1785594818000,"timestamp_seconds":1785594818,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdbeadd0"} 
[2026-08-01 20:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:07:05] 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-08-01 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 20:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112196352001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112196352001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:07:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:07:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112196352001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":148773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:07:05] local.INFO: GPS data processed {"connection_id":148773,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:07:05] local.INFO: Acknowledgment sent {"connection_id":148773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:07:21] local.INFO: TCP Data received {"connection_id":147465,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdc03858012cc7bb40074dec10001000512a..."} 
[2026-08-01 20:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdc03858012cc7bb40074dec10001000512a..."} 
[2026-08-01 20:07:21] local.INFO: Processing buffer {"connection_id":147465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdc03858012cc7bb40074dec10001000512a..."} 
[2026-08-01 20:07:21] local.INFO: Packet analysis {"connection_id":147465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdc0"} 
[2026-08-01 20:07:21] local.INFO: Extracted packet for processing {"connection_id":147465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdc0"} 
[2026-08-01 20:07:21] local.INFO: GPS Element Parsed {"raw_longitude":751287104,"raw_latitude":122547216,"longitude_deg":75.1287104,"latitude_deg":12.2547216,"altitude":16,"angle":81,"satellites":42,"speed":29,"hex_longitude":"2cc7bb40","hex_latitude":"074dec10","is_valid_coordinates":true} 
[2026-08-01 20:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112296448001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366905333676769280,"note":"Value kept but may cause issues"} 
[2026-08-01 20:07:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4063161626190221312,"note":"Value kept but may cause issues"} 
[2026-08-01 20:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785594919000,"timestamp_ms":1785594919000,"timestamp_seconds":1785594919,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdc03858"} 
[2026-08-01 20:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:07:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-01 20:07:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:07:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:07:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112296448001,"66":27517,"186":206,"2":54016,"24":29,"16":366905333676769280,"44":-4063161626190221312},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,2,24,16,44]} 
[2026-08-01 20:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112296448001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:07:21] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-01 20:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366905333676769280,"km_value":366905333676769.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:07:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4063161626190221312,"description":"Unknown IO ID 44"} 
[2026-08-01 20:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112296448001,"power":27517,"unknown_186":206,"power_alt":54016,"ignition":29,"odometer":null,"unknown_44":-4063161626190221312}} 
[2026-08-01 20:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":147465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:07:21] local.INFO: GPS data processed {"connection_id":147465,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:07:21] local.INFO: Acknowledgment sent {"connection_id":147465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:07:36] local.INFO: TCP Data received {"connection_id":148773,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdbeadd0012d196580071fefa0003b015126..."} 
[2026-08-01 20:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdbeadd0012d196580071fefa0003b015126..."} 
[2026-08-01 20:07:36] local.INFO: Processing buffer {"connection_id":148773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdbeadd0012d196580071fefa0003b015126..."} 
[2026-08-01 20:07:36] local.INFO: Packet analysis {"connection_id":148773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdbe"} 
[2026-08-01 20:07:36] local.INFO: Extracted packet for processing {"connection_id":148773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdbe"} 
[2026-08-01 20:07:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112196352001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785594818000,"timestamp_ms":1785594818000,"timestamp_seconds":1785594818,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdbeadd0"} 
[2026-08-01 20:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:07:36] 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-08-01 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 20:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112196352001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112196352001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:07:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:07:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112196352001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":148773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":578999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:07:36] local.INFO: GPS data processed {"connection_id":148773,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:07:36] local.INFO: Acknowledgment sent {"connection_id":148773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:07:48] local.INFO: TCP Data received {"connection_id":146231,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:07:48] local.INFO: Processing buffer {"connection_id":146231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:07:48] local.INFO: IMEI packet received {"connection_id":146231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":146231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:07:49] local.INFO: TCP Data received {"connection_id":146231,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:07:49] local.INFO: Processing buffer {"connection_id":146231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:07:49] local.INFO: IMEI packet received {"connection_id":146231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":146231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:07:50] local.INFO: TCP Data received {"connection_id":146231,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdc047f8012cc7c6c0074dee90001200422a..."} 
[2026-08-01 20:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdc047f8012cc7c6c0074dee90001200422a..."} 
[2026-08-01 20:07:50] local.INFO: Processing buffer {"connection_id":146231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdc047f8012cc7c6c0074dee90001200422a..."} 
[2026-08-01 20:07:50] local.INFO: Packet analysis {"connection_id":146231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdc0"} 
[2026-08-01 20:07:50] local.INFO: Extracted packet for processing {"connection_id":146231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdc0"} 
[2026-08-01 20:07:50] local.INFO: GPS Element Parsed {"raw_longitude":751290048,"raw_latitude":122547856,"longitude_deg":75.1290048,"latitude_deg":12.2547856,"altitude":18,"angle":66,"satellites":42,"speed":27,"hex_longitude":"2cc7c6c0","hex_latitude":"074dee90","is_valid_coordinates":true} 
[2026-08-01 20:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:07:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112299264001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:07:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366905475410690048,"note":"Value kept but may cause issues"} 
[2026-08-01 20:07:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4054576639400734720,"note":"Value kept but may cause issues"} 
[2026-08-01 20:07:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:07:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785594923000,"timestamp_ms":1785594923000,"timestamp_seconds":1785594923,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdc047f8"} 
[2026-08-01 20:07:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:07: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-08-01 20:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-01 20:07:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:07:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:07:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:07:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:07:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:07:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:07:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:07:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:07:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:07:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:07:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112299264001,"66":27267,"186":206,"2":54016,"24":27,"16":366905475410690048,"44":-4054576639400734720},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,2,24,16,44]} 
[2026-08-01 20:07:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:07:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:07:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112299264001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:07:50] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-01 20:07:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366905475410690048,"km_value":366905475410690.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:07:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4054576639400734720,"description":"Unknown IO ID 44"} 
[2026-08-01 20:07:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112299264001,"power":27267,"unknown_186":206,"power_alt":54016,"ignition":27,"odometer":null,"unknown_44":-4054576639400734720}} 
[2026-08-01 20:07:50] local.INFO: DEBUG: GPS processor result {"connection_id":146231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:07:50] local.INFO: GPS data processed {"connection_id":146231,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:07:50] local.INFO: Acknowledgment sent {"connection_id":146231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:07:51] local.INFO: TCP Data received {"connection_id":146231,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdc06350012cc7d980074df5a00012004f2d..."} 
[2026-08-01 20:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdc06350012cc7d980074df5a00012004f2d..."} 
[2026-08-01 20:07:51] local.INFO: Processing buffer {"connection_id":146231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdc06350012cc7d980074df5a00012004f2d..."} 
[2026-08-01 20:07:51] local.INFO: Packet analysis {"connection_id":146231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdc0"} 
[2026-08-01 20:07:51] local.INFO: Extracted packet for processing {"connection_id":146231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdc0"} 
[2026-08-01 20:07:51] local.INFO: GPS Element Parsed {"raw_longitude":751294848,"raw_latitude":122549664,"longitude_deg":75.1294848,"latitude_deg":12.2549664,"altitude":18,"angle":79,"satellites":45,"speed":29,"hex_longitude":"2cc7d980","hex_latitude":"074df5a0","is_valid_coordinates":true} 
[2026-08-01 20:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112300288001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366905724518793216,"note":"Value kept but may cause issues"} 
[2026-08-01 20:07:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4051339677168398336,"note":"Value kept but may cause issues"} 
[2026-08-01 20:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785594930000,"timestamp_ms":1785594930000,"timestamp_seconds":1785594930,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdc06350"} 
[2026-08-01 20:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-01 20:07:51] 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-08-01 20:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":146231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":146231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":146231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112300288001,"66":27365,"186":206,"2":54016,"24":29,"16":366905724518793216,"44":-4051339677168398336},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,2,24,16,44]} 
[2026-08-01 20:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112300288001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:07:51] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-01 20:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366905724518793216,"km_value":366905724518793.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:07:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4051339677168398336,"description":"Unknown IO ID 44"} 
[2026-08-01 20:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112300288001,"power":27365,"unknown_186":206,"power_alt":54016,"ignition":29,"odometer":null,"unknown_44":-4051339677168398336}} 
[2026-08-01 20:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":146231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:07:52] local.INFO: GPS data processed {"connection_id":146231,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:07:52] local.INFO: Acknowledgment sent {"connection_id":146231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:07:59] local.INFO: TCP Data received {"connection_id":146232,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146232,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:07:59] local.INFO: Processing buffer {"connection_id":146232,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:07:59] local.INFO: IMEI packet received {"connection_id":146232,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":146232,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:08:04] local.INFO: TCP Data received {"connection_id":146232,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146232,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:08:04] local.INFO: Processing buffer {"connection_id":146232,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:08:04] local.INFO: IMEI packet received {"connection_id":146232,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":146232,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:08:05] local.INFO: TCP Data received {"connection_id":146232,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdbeadd0012d196580071fefa0003b015126..."} 
[2026-08-01 20:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdbeadd0012d196580071fefa0003b015126..."} 
[2026-08-01 20:08:05] local.INFO: Processing buffer {"connection_id":146232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdbeadd0012d196580071fefa0003b015126..."} 
[2026-08-01 20:08:05] local.INFO: Packet analysis {"connection_id":146232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdbe"} 
[2026-08-01 20:08:05] local.INFO: Extracted packet for processing {"connection_id":146232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdbe"} 
[2026-08-01 20:08:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112196352001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785594818000,"timestamp_ms":1785594818000,"timestamp_seconds":1785594818,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdbeadd0"} 
[2026-08-01 20:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:08:05] 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-08-01 20:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 20:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:08:05] 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-08-01 20:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112196352001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112196352001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:08:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:08:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112196352001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":146232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:08:05] local.INFO: GPS data processed {"connection_id":146232,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:08:05] local.INFO: Acknowledgment sent {"connection_id":146232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:08:23] local.INFO: TCP Data received {"connection_id":146231,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdc266f0012cc7bd40074e1760000c00f329..."} 
[2026-08-01 20:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdc266f0012cc7bd40074e1760000c00f329..."} 
[2026-08-01 20:08:23] local.INFO: Processing buffer {"connection_id":146231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdc266f0012cc7bd40074e1760000c00f329..."} 
[2026-08-01 20:08:23] local.INFO: Packet analysis {"connection_id":146231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdc2"} 
[2026-08-01 20:08:23] local.INFO: Extracted packet for processing {"connection_id":146231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdc2"} 
[2026-08-01 20:08:23] local.INFO: GPS Element Parsed {"raw_longitude":751287616,"raw_latitude":122558304,"longitude_deg":75.1287616,"latitude_deg":12.2558304,"altitude":12,"angle":243,"satellites":41,"speed":19,"hex_longitude":"2cc7bd40","hex_latitude":"074e1760","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112335872001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366907249232183296,"note":"Value kept but may cause issues"} 
[2026-08-01 20:08:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4054013689444474880,"note":"Value kept but may cause issues"} 
[2026-08-01 20:08:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785595062000,"timestamp_ms":1785595062000,"timestamp_seconds":1785595062,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdc266f0"} 
[2026-08-01 20:08:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:08:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-01 20:08:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:08:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:08:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":146231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":146231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":146231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:08:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112335872001,"66":27343,"186":206,"2":54016,"24":19,"16":366907249232183296,"44":-4054013689444474880},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,2,24,16,44]} 
[2026-08-01 20:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112335872001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:08:23] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-01 20:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366907249232183296,"km_value":366907249232183.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:08:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4054013689444474880,"description":"Unknown IO ID 44"} 
[2026-08-01 20:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112335872001,"power":27343,"unknown_186":206,"power_alt":54016,"ignition":19,"odometer":null,"unknown_44":-4054013689444474880}} 
[2026-08-01 20:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":146231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:08:23] local.INFO: GPS data processed {"connection_id":146231,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:08:23] local.INFO: Acknowledgment sent {"connection_id":146231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:08:36] local.INFO: TCP Data received {"connection_id":146232,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdbeadd0012d196580071fefa0003b015126..."} 
[2026-08-01 20:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdbeadd0012d196580071fefa0003b015126..."} 
[2026-08-01 20:08:36] local.INFO: Processing buffer {"connection_id":146232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdbeadd0012d196580071fefa0003b015126..."} 
[2026-08-01 20:08:36] local.INFO: Packet analysis {"connection_id":146232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdbe"} 
[2026-08-01 20:08:36] local.INFO: Extracted packet for processing {"connection_id":146232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdbe"} 
[2026-08-01 20:08:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112196352001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785594818000,"timestamp_ms":1785594818000,"timestamp_seconds":1785594818,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdbeadd0"} 
[2026-08-01 20:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:08:36] 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-08-01 20:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 20:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:08:36] 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-08-01 20:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112196352001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112196352001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:08:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:08:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112196352001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":146232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:08:36] local.INFO: GPS data processed {"connection_id":146232,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:08:36] local.INFO: Acknowledgment sent {"connection_id":146232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:08:43] local.INFO: TCP Data received {"connection_id":146474,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:08:43] local.INFO: Processing buffer {"connection_id":146474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:08:43] local.INFO: IMEI packet received {"connection_id":146474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":146474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:08:48] local.INFO: TCP Data received {"connection_id":146474,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:08:48] local.INFO: Processing buffer {"connection_id":146474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:08:48] local.INFO: IMEI packet received {"connection_id":146474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":146474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:08:50] local.INFO: TCP Data received {"connection_id":146474,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdc26ad8012cc7bbc0074e1660000c00e529..."} 
[2026-08-01 20:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdc26ad8012cc7bbc0074e1660000c00e529..."} 
[2026-08-01 20:08:50] local.INFO: Processing buffer {"connection_id":146474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdc26ad8012cc7bbc0074e1660000c00e529..."} 
[2026-08-01 20:08:50] local.INFO: Packet analysis {"connection_id":146474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdc2"} 
[2026-08-01 20:08:50] local.INFO: Extracted packet for processing {"connection_id":146474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdc2"} 
[2026-08-01 20:08:50] local.INFO: GPS Element Parsed {"raw_longitude":751287232,"raw_latitude":122558048,"longitude_deg":75.1287232,"latitude_deg":12.2558048,"altitude":12,"angle":229,"satellites":41,"speed":18,"hex_longitude":"2cc7bbc0","hex_latitude":"074e1660","is_valid_coordinates":true} 
[2026-08-01 20:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:08:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112335872001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:08:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366907270707019776,"note":"Value kept but may cause issues"} 
[2026-08-01 20:08:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4054013689444474880,"note":"Value kept but may cause issues"} 
[2026-08-01 20:08:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:08:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785595063000,"timestamp_ms":1785595063000,"timestamp_seconds":1785595063,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdc26ad8"} 
[2026-08-01 20:08:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:08:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-01 20:08:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:08:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:08:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:08:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:08:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:08:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:08:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:08:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:08:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:08:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:08:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112335872001,"66":27343,"186":206,"2":54016,"24":18,"16":366907270707019776,"44":-4054013689444474880},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,2,24,16,44]} 
[2026-08-01 20:08:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:08:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:08:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112335872001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:08:50] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-01 20:08:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366907270707019776,"km_value":366907270707019.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:08:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4054013689444474880,"description":"Unknown IO ID 44"} 
[2026-08-01 20:08:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112335872001,"power":27343,"unknown_186":206,"power_alt":54016,"ignition":18,"odometer":null,"unknown_44":-4054013689444474880}} 
[2026-08-01 20:08:50] local.INFO: DEBUG: GPS processor result {"connection_id":146474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:08:50] local.INFO: GPS data processed {"connection_id":146474,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:08:50] local.INFO: Acknowledgment sent {"connection_id":146474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:09:04] local.INFO: TCP Data received {"connection_id":146475,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:09:04] local.INFO: Processing buffer {"connection_id":146475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:09:04] local.INFO: IMEI packet received {"connection_id":146475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":146475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:09:09] local.INFO: TCP Data received {"connection_id":146475,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:09:09] local.INFO: Processing buffer {"connection_id":146475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:09:09] local.INFO: IMEI packet received {"connection_id":146475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":146475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:09:10] local.INFO: TCP Data received {"connection_id":146475,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdbeadd0012d196580071fefa0003b015126..."} 
[2026-08-01 20:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdbeadd0012d196580071fefa0003b015126..."} 
[2026-08-01 20:09:10] local.INFO: Processing buffer {"connection_id":146475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdbeadd0012d196580071fefa0003b015126..."} 
[2026-08-01 20:09:10] local.INFO: Packet analysis {"connection_id":146475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdbe"} 
[2026-08-01 20:09:10] local.INFO: Extracted packet for processing {"connection_id":146475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdbe"} 
[2026-08-01 20:09:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112196352001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20: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-08-01 20:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785594818000,"timestamp_ms":1785594818000,"timestamp_seconds":1785594818,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdbeadd0"} 
[2026-08-01 20:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:09: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-08-01 20: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":96,"data_length":795,"current_offset":136} 
[2026-08-01 20:09: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-08-01 20: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-08-01 20:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:09: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-08-01 20:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112196352001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112196352001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:09:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:09:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112196352001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":146475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:09:10] local.INFO: GPS data processed {"connection_id":146475,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:09:10] local.INFO: Acknowledgment sent {"connection_id":146475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:09:15] local.INFO: TCP Data received {"connection_id":146475,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdbeadd0012d196580071fefa0003b015126..."} 
[2026-08-01 20:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdbeadd0012d196580071fefa0003b015126..."} 
[2026-08-01 20:09:15] local.INFO: Processing buffer {"connection_id":146475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdbeadd0012d196580071fefa0003b015126..."} 
[2026-08-01 20:09:15] local.INFO: Packet analysis {"connection_id":146475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdbe"} 
[2026-08-01 20:09:15] local.INFO: Extracted packet for processing {"connection_id":146475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdbe"} 
[2026-08-01 20:09:15] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112196352001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:09: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-08-01 20:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785594818000,"timestamp_ms":1785594818000,"timestamp_seconds":1785594818,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdbeadd0"} 
[2026-08-01 20:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:09: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-08-01 20:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 20:09: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-08-01 20:09:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":146475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":146475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":146475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:09: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-08-01 20:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112196352001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112196352001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:09:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:09:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112196352001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":146475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:09:15] local.INFO: GPS data processed {"connection_id":146475,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:09:15] local.INFO: Acknowledgment sent {"connection_id":146475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:09:21] local.INFO: TCP Data received {"connection_id":146474,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdc26ec0012cc7ba80074e14f8000c00d128..."} 
[2026-08-01 20:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdc26ec0012cc7ba80074e14f8000c00d128..."} 
[2026-08-01 20:09:21] local.INFO: Processing buffer {"connection_id":146474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdc26ec0012cc7ba80074e14f8000c00d128..."} 
[2026-08-01 20:09:21] local.INFO: Packet analysis {"connection_id":146474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdc2"} 
[2026-08-01 20:09:21] local.INFO: Extracted packet for processing {"connection_id":146474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdc2"} 
[2026-08-01 20:09:21] local.INFO: GPS Element Parsed {"raw_longitude":751286912,"raw_latitude":122557688,"longitude_deg":75.1286912,"latitude_deg":12.2557688,"altitude":12,"angle":209,"satellites":40,"speed":18,"hex_longitude":"2cc7ba80","hex_latitude":"074e14f8","is_valid_coordinates":true} 
[2026-08-01 20:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112336128001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366907292181856256,"note":"Value kept but may cause issues"} 
[2026-08-01 20:09:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4054435901909606400,"note":"Value kept but may cause issues"} 
[2026-08-01 20:09:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785595064000,"timestamp_ms":1785595064000,"timestamp_seconds":1785595064,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdc26ec0"} 
[2026-08-01 20:09:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:09:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-01 20:09:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:09:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:09:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:09:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112336128001,"66":26832,"186":206,"2":54016,"24":18,"16":366907292181856256,"44":-4054435901909606400},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,2,24,16,44]} 
[2026-08-01 20:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112336128001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:09:21] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-01 20:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366907292181856256,"km_value":366907292181856.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:09:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4054435901909606400,"description":"Unknown IO ID 44"} 
[2026-08-01 20:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112336128001,"power":26832,"unknown_186":206,"power_alt":54016,"ignition":18,"odometer":null,"unknown_44":-4054435901909606400}} 
[2026-08-01 20:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":146474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:09:21] local.INFO: GPS data processed {"connection_id":146474,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:09:21] local.INFO: Acknowledgment sent {"connection_id":146474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:09:44] local.INFO: TCP Data received {"connection_id":148774,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:09:44] local.INFO: Processing buffer {"connection_id":148774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:09:44] local.INFO: IMEI packet received {"connection_id":148774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":148774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:09:48] local.INFO: TCP Data received {"connection_id":148774,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:09:48] local.INFO: Processing buffer {"connection_id":148774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:09:48] local.INFO: IMEI packet received {"connection_id":148774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":148774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:09:50] local.INFO: TCP Data received {"connection_id":148774,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdc272a8012cc7b9c0074e1348000c00c22a..."} 
[2026-08-01 20:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdc272a8012cc7b9c0074e1348000c00c22a..."} 
[2026-08-01 20:09:50] local.INFO: Processing buffer {"connection_id":148774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdc272a8012cc7b9c0074e1348000c00c22a..."} 
[2026-08-01 20:09:50] local.INFO: Packet analysis {"connection_id":148774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdc2"} 
[2026-08-01 20:09:50] local.INFO: Extracted packet for processing {"connection_id":148774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdc2"} 
[2026-08-01 20:09:50] local.INFO: GPS Element Parsed {"raw_longitude":751286720,"raw_latitude":122557256,"longitude_deg":75.128672,"latitude_deg":12.2557256,"altitude":12,"angle":194,"satellites":42,"speed":17,"hex_longitude":"2cc7b9c0","hex_latitude":"074e1348","is_valid_coordinates":true} 
[2026-08-01 20:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112336384001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366907317951660032,"note":"Value kept but may cause issues"} 
[2026-08-01 20:09:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4054787745630586880,"note":"Value kept but may cause issues"} 
[2026-08-01 20:09:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:09:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785595065000,"timestamp_ms":1785595065000,"timestamp_seconds":1785595065,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdc272a8"} 
[2026-08-01 20:09:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:09:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-08-01 20:09:50] 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-08-01 20:09:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:09:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:09:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:09:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:09:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:09:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112336384001,"66":26832,"186":206,"2":54016,"24":17,"16":366907317951660032,"44":-4054787745630586880},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,2,24,16,44]} 
[2026-08-01 20:09:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:09:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:09:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112336384001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:09:50] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-01 20:09:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366907317951660032,"km_value":366907317951660.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:09:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4054787745630586880,"description":"Unknown IO ID 44"} 
[2026-08-01 20:09:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112336384001,"power":26832,"unknown_186":206,"power_alt":54016,"ignition":17,"odometer":null,"unknown_44":-4054787745630586880}} 
[2026-08-01 20:09:50] local.INFO: DEBUG: GPS processor result {"connection_id":148774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:09:50] local.INFO: GPS data processed {"connection_id":148774,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:09:50] local.INFO: Acknowledgment sent {"connection_id":148774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:09:59] local.INFO: TCP Data received {"connection_id":148775,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:09:59] local.INFO: Processing buffer {"connection_id":148775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:09:59] local.INFO: IMEI packet received {"connection_id":148775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":148775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:10:04] local.INFO: TCP Data received {"connection_id":148775,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:10:04] local.INFO: Processing buffer {"connection_id":148775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:10:04] local.INFO: IMEI packet received {"connection_id":148775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":148775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:10:05] local.INFO: TCP Data received {"connection_id":148775,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdc34598012d196580071fefa0003b015125..."} 
[2026-08-01 20:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdc34598012d196580071fefa0003b015125..."} 
[2026-08-01 20:10:05] local.INFO: Processing buffer {"connection_id":148775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdc34598012d196580071fefa0003b015125..."} 
[2026-08-01 20:10:05] local.INFO: Packet analysis {"connection_id":148775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdc3"} 
[2026-08-01 20:10:05] local.INFO: Extracted packet for processing {"connection_id":148775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdc3"} 
[2026-08-01 20:10:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112273408001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785595119000,"timestamp_ms":1785595119000,"timestamp_seconds":1785595119,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdc34598"} 
[2026-08-01 20:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 20:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112273408001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112273408001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:10:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:10:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112273408001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":148775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579010,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:10:05] local.INFO: GPS data processed {"connection_id":148775,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:10:05] local.INFO: Acknowledgment sent {"connection_id":148775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:10:21] local.INFO: TCP Data received {"connection_id":148774,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdc27690012cc7b9c0074e11a8000c00b12c..."} 
[2026-08-01 20:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdc27690012cc7b9c0074e11a8000c00b12c..."} 
[2026-08-01 20:10:21] local.INFO: Processing buffer {"connection_id":148774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdc27690012cc7b9c0074e11a8000c00b12c..."} 
[2026-08-01 20:10:21] local.INFO: Packet analysis {"connection_id":148774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdc2"} 
[2026-08-01 20:10:21] local.INFO: Extracted packet for processing {"connection_id":148774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdc2"} 
[2026-08-01 20:10:21] local.INFO: GPS Element Parsed {"raw_longitude":751286720,"raw_latitude":122556840,"longitude_deg":75.128672,"latitude_deg":12.255684,"altitude":12,"angle":177,"satellites":44,"speed":16,"hex_longitude":"2cc7b9c0","hex_latitude":"074e11a8","is_valid_coordinates":true} 
[2026-08-01 20:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112336640001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366907339426496512,"note":"Value kept but may cause issues"} 
[2026-08-01 20:10:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4054998851863230464,"note":"Value kept but may cause issues"} 
[2026-08-01 20:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785595066000,"timestamp_ms":1785595066000,"timestamp_seconds":1785595066,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdc27690"} 
[2026-08-01 20:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:10:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-08-01 20:10:21] 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-08-01 20:10:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:10:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112336640001,"66":27745,"186":206,"2":54016,"24":16,"16":366907339426496512,"44":-4054998851863230464},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,2,24,16,44]} 
[2026-08-01 20:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112336640001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:10:21] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-01 20:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366907339426496512,"km_value":366907339426496.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:10:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4054998851863230464,"description":"Unknown IO ID 44"} 
[2026-08-01 20:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112336640001,"power":27745,"unknown_186":206,"power_alt":54016,"ignition":16,"odometer":null,"unknown_44":-4054998851863230464}} 
[2026-08-01 20:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":148774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:10:21] local.INFO: GPS data processed {"connection_id":148774,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:10:21] local.INFO: Acknowledgment sent {"connection_id":148774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:10:36] local.INFO: TCP Data received {"connection_id":148775,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdc34598012d196580071fefa0003b015125..."} 
[2026-08-01 20:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdc34598012d196580071fefa0003b015125..."} 
[2026-08-01 20:10:36] local.INFO: Processing buffer {"connection_id":148775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdc34598012d196580071fefa0003b015125..."} 
[2026-08-01 20:10:36] local.INFO: Packet analysis {"connection_id":148775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdc3"} 
[2026-08-01 20:10:36] local.INFO: Extracted packet for processing {"connection_id":148775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdc3"} 
[2026-08-01 20:10:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112273408001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785595119000,"timestamp_ms":1785595119000,"timestamp_seconds":1785595119,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdc34598"} 
[2026-08-01 20:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:10:36] 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-08-01 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 20:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112273408001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112273408001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:10:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:10:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112273408001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":148775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579012,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:10:36] local.INFO: GPS data processed {"connection_id":148775,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:10:36] local.INFO: Acknowledgment sent {"connection_id":148775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:10:43] local.INFO: TCP Data received {"connection_id":147466,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:10:43] local.INFO: Processing buffer {"connection_id":147466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:10:43] local.INFO: IMEI packet received {"connection_id":147466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":147466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:10:48] local.INFO: TCP Data received {"connection_id":147466,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:10:48] local.INFO: Processing buffer {"connection_id":147466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:10:48] local.INFO: IMEI packet received {"connection_id":147466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":147466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:10:50] local.INFO: TCP Data received {"connection_id":147466,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdc28630012cc7b9c0074e0ce8000b00cc2c..."} 
[2026-08-01 20:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdc28630012cc7b9c0074e0ce8000b00cc2c..."} 
[2026-08-01 20:10:50] local.INFO: Processing buffer {"connection_id":147466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdc28630012cc7b9c0074e0ce8000b00cc2c..."} 
[2026-08-01 20:10:50] local.INFO: Packet analysis {"connection_id":147466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdc2"} 
[2026-08-01 20:10:50] local.INFO: Extracted packet for processing {"connection_id":147466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdc2"} 
[2026-08-01 20:10:50] local.INFO: GPS Element Parsed {"raw_longitude":751286720,"raw_latitude":122555624,"longitude_deg":75.128672,"latitude_deg":12.2555624,"altitude":11,"angle":204,"satellites":44,"speed":9,"hex_longitude":"2cc7b9c0","hex_latitude":"074e0ce8","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112336896001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366907395261071360,"note":"Value kept but may cause issues"} 
[2026-08-01 20:10:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4054998851863336960,"note":"Value kept but may cause issues"} 
[2026-08-01 20:10:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785595070000,"timestamp_ms":1785595070000,"timestamp_seconds":1785595070,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdc28630"} 
[2026-08-01 20:10:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:10:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 20:10:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:10:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:10:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112336896001,"66":27887,"186":206,"2":54016,"24":9,"16":366907395261071360,"44":-4054998851863336960},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,2,24,16,44]} 
[2026-08-01 20:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112336896001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:10:50] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-01 20:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366907395261071360,"km_value":366907395261071.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:10:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4054998851863336960,"description":"Unknown IO ID 44"} 
[2026-08-01 20:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112336896001,"power":27887,"unknown_186":206,"power_alt":54016,"ignition":9,"odometer":null,"unknown_44":-4054998851863336960}} 
[2026-08-01 20:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":147466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:10:50] local.INFO: GPS data processed {"connection_id":147466,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:10:50] local.INFO: Acknowledgment sent {"connection_id":147466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:11:00] local.INFO: TCP Data received {"connection_id":146233,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:11:00] local.INFO: Processing buffer {"connection_id":146233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:11:00] local.INFO: IMEI packet received {"connection_id":146233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":146233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:11:04] local.INFO: TCP Data received {"connection_id":146233,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:11:04] local.INFO: Processing buffer {"connection_id":146233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:11:04] local.INFO: IMEI packet received {"connection_id":146233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":146233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:11:05] local.INFO: TCP Data received {"connection_id":146233,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdc34598012d196580071fefa0003b015125..."} 
[2026-08-01 20:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdc34598012d196580071fefa0003b015125..."} 
[2026-08-01 20:11:05] local.INFO: Processing buffer {"connection_id":146233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdc34598012d196580071fefa0003b015125..."} 
[2026-08-01 20:11:05] local.INFO: Packet analysis {"connection_id":146233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdc3"} 
[2026-08-01 20:11:05] local.INFO: Extracted packet for processing {"connection_id":146233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdc3"} 
[2026-08-01 20:11:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112273408001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785595119000,"timestamp_ms":1785595119000,"timestamp_seconds":1785595119,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdc34598"} 
[2026-08-01 20:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 20:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:11:05] 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-08-01 20:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112273408001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112273408001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:11:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:11:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112273408001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":146233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:11:05] local.INFO: GPS data processed {"connection_id":146233,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:11:05] local.INFO: Acknowledgment sent {"connection_id":146233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:11:21] local.INFO: TCP Data received {"connection_id":147466,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdc28a18012cc7b900074e0c20000b00e52b..."} 
[2026-08-01 20:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdc28a18012cc7b900074e0c20000b00e52b..."} 
[2026-08-01 20:11:21] local.INFO: Processing buffer {"connection_id":147466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdc28a18012cc7b900074e0c20000b00e52b..."} 
[2026-08-01 20:11:21] local.INFO: Packet analysis {"connection_id":147466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdc2"} 
[2026-08-01 20:11:21] local.INFO: Extracted packet for processing {"connection_id":147466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdc2"} 
[2026-08-01 20:11:21] local.INFO: GPS Element Parsed {"raw_longitude":751286528,"raw_latitude":122555424,"longitude_deg":75.1286528,"latitude_deg":12.2555424,"altitude":11,"angle":229,"satellites":43,"speed":10,"hex_longitude":"2cc7b900","hex_latitude":"074e0c20","is_valid_coordinates":true} 
[2026-08-01 20:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112337920001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366907408145973248,"note":"Value kept but may cause issues"} 
[2026-08-01 20:11:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4054998851863648256,"note":"Value kept but may cause issues"} 
[2026-08-01 20:11:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785595071000,"timestamp_ms":1785595071000,"timestamp_seconds":1785595071,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdc28a18"} 
[2026-08-01 20:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:11:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-01 20:11:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:11:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:11:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112337920001,"66":27887,"186":206,"2":54016,"24":10,"16":366907408145973248,"44":-4054998851863648256},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,2,24,16,44]} 
[2026-08-01 20:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112337920001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:11:21] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-01 20:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366907408145973248,"km_value":366907408145973.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:11:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4054998851863648256,"description":"Unknown IO ID 44"} 
[2026-08-01 20:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112337920001,"power":27887,"unknown_186":206,"power_alt":54016,"ignition":10,"odometer":null,"unknown_44":-4054998851863648256}} 
[2026-08-01 20:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":147466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:11:21] local.INFO: GPS data processed {"connection_id":147466,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:11:21] local.INFO: Acknowledgment sent {"connection_id":147466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:11:37] local.INFO: TCP Data received {"connection_id":146233,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdc34598012d196580071fefa0003b015125..."} 
[2026-08-01 20:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdc34598012d196580071fefa0003b015125..."} 
[2026-08-01 20:11:37] local.INFO: Processing buffer {"connection_id":146233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdc34598012d196580071fefa0003b015125..."} 
[2026-08-01 20:11:37] local.INFO: Packet analysis {"connection_id":146233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdc3"} 
[2026-08-01 20:11:37] local.INFO: Extracted packet for processing {"connection_id":146233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdc3"} 
[2026-08-01 20:11:37] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112273408001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785595119000,"timestamp_ms":1785595119000,"timestamp_seconds":1785595119,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdc34598"} 
[2026-08-01 20:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:11:37] 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-08-01 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 20:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:11:37] 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-08-01 20:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112273408001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112273408001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:11:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:11:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112273408001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":146233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579016,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:11:37] local.INFO: GPS data processed {"connection_id":146233,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:11:37] local.INFO: Acknowledgment sent {"connection_id":146233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:11:43] local.INFO: TCP Data received {"connection_id":146476,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:11:43] local.INFO: Processing buffer {"connection_id":146476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:11:43] local.INFO: IMEI packet received {"connection_id":146476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":146476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:11:48] local.INFO: TCP Data received {"connection_id":146476,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:11:48] local.INFO: Processing buffer {"connection_id":146476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:11:48] local.INFO: IMEI packet received {"connection_id":146476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":146476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:11:49] local.INFO: TCP Data received {"connection_id":146476,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdc28e00012cc7b7c0074e0b98000b00f72c..."} 
[2026-08-01 20:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdc28e00012cc7b7c0074e0b98000b00f72c..."} 
[2026-08-01 20:11:49] local.INFO: Processing buffer {"connection_id":146476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdc28e00012cc7b7c0074e0b98000b00f72c..."} 
[2026-08-01 20:11:49] local.INFO: Packet analysis {"connection_id":146476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdc2"} 
[2026-08-01 20:11:49] local.INFO: Extracted packet for processing {"connection_id":146476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdc2"} 
[2026-08-01 20:11:49] local.INFO: GPS Element Parsed {"raw_longitude":751286208,"raw_latitude":122555288,"longitude_deg":75.1286208,"latitude_deg":12.2555288,"altitude":11,"angle":247,"satellites":44,"speed":11,"hex_longitude":"2cc7b7c0","hex_latitude":"074e0b98","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112338176001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:11:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366907425325842432,"note":"Value kept but may cause issues"} 
[2026-08-01 20:11:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4055209958096232448,"note":"Value kept but may cause issues"} 
[2026-08-01 20:11:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:11:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785595072000,"timestamp_ms":1785595072000,"timestamp_seconds":1785595072,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdc28e00"} 
[2026-08-01 20:11:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:11:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-01 20:11:49] 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-08-01 20: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-08-01 20:11:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:11:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:11:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:11:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:11:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:11:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:11:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:11:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:11:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112338176001,"66":27658,"186":206,"2":54016,"24":11,"16":366907425325842432,"44":-4055209958096232448},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,2,24,16,44]} 
[2026-08-01 20:11:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:11:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:11:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112338176001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:11:49] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-01 20:11:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366907425325842432,"km_value":366907425325842.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:11:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4055209958096232448,"description":"Unknown IO ID 44"} 
[2026-08-01 20:11:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112338176001,"power":27658,"unknown_186":206,"power_alt":54016,"ignition":11,"odometer":null,"unknown_44":-4055209958096232448}} 
[2026-08-01 20:11:49] local.INFO: DEBUG: GPS processor result {"connection_id":146476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:11:49] local.INFO: GPS data processed {"connection_id":146476,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:11:49] local.INFO: Acknowledgment sent {"connection_id":146476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:11:59] local.INFO: TCP Data received {"connection_id":146477,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:11:59] local.INFO: Processing buffer {"connection_id":146477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:11:59] local.INFO: IMEI packet received {"connection_id":146477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":146477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:12:04] local.INFO: TCP Data received {"connection_id":146477,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:12:04] local.INFO: Processing buffer {"connection_id":146477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:12:04] local.INFO: IMEI packet received {"connection_id":146477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":146477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:12:05] local.INFO: TCP Data received {"connection_id":146477,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdc34598012d196580071fefa0003b015125..."} 
[2026-08-01 20:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdc34598012d196580071fefa0003b015125..."} 
[2026-08-01 20:12:05] local.INFO: Processing buffer {"connection_id":146477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdc34598012d196580071fefa0003b015125..."} 
[2026-08-01 20:12:05] local.INFO: Packet analysis {"connection_id":146477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdc3"} 
[2026-08-01 20:12:05] local.INFO: Extracted packet for processing {"connection_id":146477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdc3"} 
[2026-08-01 20:12:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112273408001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785595119000,"timestamp_ms":1785595119000,"timestamp_seconds":1785595119,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdc34598"} 
[2026-08-01 20:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 20:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:12:05] 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-08-01 20:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112273408001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112273408001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:12:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:12:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112273408001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":146477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:12:05] local.INFO: GPS data processed {"connection_id":146477,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:12:05] local.INFO: Acknowledgment sent {"connection_id":146477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:12:21] local.INFO: TCP Data received {"connection_id":146476,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdc291e8012cc7b6c0074e0b50000b01072d..."} 
[2026-08-01 20:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdc291e8012cc7b6c0074e0b50000b01072d..."} 
[2026-08-01 20:12:21] local.INFO: Processing buffer {"connection_id":146476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdc291e8012cc7b6c0074e0b50000b01072d..."} 
[2026-08-01 20:12:21] local.INFO: Packet analysis {"connection_id":146476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdc2"} 
[2026-08-01 20:12:21] local.INFO: Extracted packet for processing {"connection_id":146476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdc2"} 
[2026-08-01 20:12:21] local.INFO: GPS Element Parsed {"raw_longitude":751285952,"raw_latitude":122555216,"longitude_deg":75.1285952,"latitude_deg":12.2555216,"altitude":11,"angle":263,"satellites":45,"speed":11,"hex_longitude":"2cc7b6c0","hex_latitude":"074e0b50","is_valid_coordinates":true} 
[2026-08-01 20:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112338432001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366907438210744320,"note":"Value kept but may cause issues"} 
[2026-08-01 20:12:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4055561801817155584,"note":"Value kept but may cause issues"} 
[2026-08-01 20:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785595073000,"timestamp_ms":1785595073000,"timestamp_seconds":1785595073,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdc291e8"} 
[2026-08-01 20:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:12:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 20:12:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:12:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:12:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112338432001,"66":27658,"186":206,"2":54016,"24":11,"16":366907438210744320,"44":-4055561801817155584},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,2,24,16,44]} 
[2026-08-01 20:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112338432001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:12:21] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-01 20:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366907438210744320,"km_value":366907438210744.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:12:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4055561801817155584,"description":"Unknown IO ID 44"} 
[2026-08-01 20:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112338432001,"power":27658,"unknown_186":206,"power_alt":54016,"ignition":11,"odometer":null,"unknown_44":-4055561801817155584}} 
[2026-08-01 20:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":146476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:12:21] local.INFO: GPS data processed {"connection_id":146476,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:12:21] local.INFO: Acknowledgment sent {"connection_id":146476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:12:37] local.INFO: TCP Data received {"connection_id":146477,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdc34598012d196580071fefa0003b015125..."} 
[2026-08-01 20:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdc34598012d196580071fefa0003b015125..."} 
[2026-08-01 20:12:37] local.INFO: Processing buffer {"connection_id":146477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdc34598012d196580071fefa0003b015125..."} 
[2026-08-01 20:12:37] local.INFO: Packet analysis {"connection_id":146477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdc3"} 
[2026-08-01 20:12:37] local.INFO: Extracted packet for processing {"connection_id":146477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdc3"} 
[2026-08-01 20:12:37] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112273408001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785595119000,"timestamp_ms":1785595119000,"timestamp_seconds":1785595119,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdc34598"} 
[2026-08-01 20:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:12:37] 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-08-01 20:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 20:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:12:37] 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-08-01 20:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112273408001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112273408001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:12:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:12:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112273408001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":146477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579020,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:12:37] local.INFO: GPS data processed {"connection_id":146477,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:12:37] local.INFO: Acknowledgment sent {"connection_id":146477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:12:48] local.INFO: TCP Data received {"connection_id":147467,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:12:48] local.INFO: Processing buffer {"connection_id":147467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:12:48] local.INFO: IMEI packet received {"connection_id":147467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":147467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:12:53] local.INFO: TCP Data received {"connection_id":147467,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:12:53] local.INFO: Processing buffer {"connection_id":147467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:12:53] local.INFO: IMEI packet received {"connection_id":147467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":147467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:12:54] local.INFO: TCP Data received {"connection_id":147467,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdc2e3f0012cc7b700074e0bb8000c010e2c..."} 
[2026-08-01 20:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdc2e3f0012cc7b700074e0bb8000c010e2c..."} 
[2026-08-01 20:12:54] local.INFO: Processing buffer {"connection_id":147467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdc2e3f0012cc7b700074e0bb8000c010e2c..."} 
[2026-08-01 20:12:54] local.INFO: Packet analysis {"connection_id":147467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdc2"} 
[2026-08-01 20:12:54] local.INFO: Extracted packet for processing {"connection_id":147467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdc2"} 
[2026-08-01 20:12:54] local.INFO: GPS Element Parsed {"raw_longitude":751286016,"raw_latitude":122555320,"longitude_deg":75.1286016,"latitude_deg":12.255532,"altitude":12,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2cc7b700","hex_latitude":"074e0bb8","is_valid_coordinates":true} 
[2026-08-01 20:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:12:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112338688001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:12:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366907511225188352,"note":"Value kept but may cause issues"} 
[2026-08-01 20:12:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4055843276793884672,"note":"Value kept but may cause issues"} 
[2026-08-01 20:12:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:12:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785595094000,"timestamp_ms":1785595094000,"timestamp_seconds":1785595094,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdc2e3f0"} 
[2026-08-01 20:12:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:12:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-01 20:12:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:12:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:12:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:12:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:12:54] local.INFO: Teltonika packet parsed successfully {"connection_id":147467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:12:54] local.INFO: Passing IMEI to GPS processor {"connection_id":147467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:12:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":147467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:12:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:12:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:12:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:12:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112338688001,"66":27876,"186":206,"2":54016,"24":0,"16":366907511225188352,"44":-4055843276793884672},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,2,24,16,44]} 
[2026-08-01 20:12:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:12:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:12:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112338688001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:12:54] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-01 20:12:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366907511225188352,"km_value":366907511225188.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:12:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4055843276793884672,"description":"Unknown IO ID 44"} 
[2026-08-01 20:12:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112338688001,"power":27876,"unknown_186":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4055843276793884672}} 
[2026-08-01 20:12:54] local.INFO: DEBUG: GPS processor result {"connection_id":147467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:12:54] local.INFO: GPS data processed {"connection_id":147467,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:12:54] local.INFO: Acknowledgment sent {"connection_id":147467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:12:59] local.INFO: TCP Data received {"connection_id":147467,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdc335f8012cc7b700074e0bb8000c010e2b..."} 
[2026-08-01 20:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdc335f8012cc7b700074e0bb8000c010e2b..."} 
[2026-08-01 20:12:59] local.INFO: Processing buffer {"connection_id":147467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdc335f8012cc7b700074e0bb8000c010e2b..."} 
[2026-08-01 20:12:59] local.INFO: Packet analysis {"connection_id":147467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdc3"} 
[2026-08-01 20:12:59] local.INFO: Extracted packet for processing {"connection_id":147467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdc3"} 
[2026-08-01 20:12:59] local.INFO: GPS Element Parsed {"raw_longitude":751286016,"raw_latitude":122555320,"longitude_deg":75.1286016,"latitude_deg":12.255532,"altitude":12,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2cc7b700","hex_latitude":"074e0bb8","is_valid_coordinates":true} 
[2026-08-01 20:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112344064001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366907511225188352,"note":"Value kept but may cause issues"} 
[2026-08-01 20:12:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4055772908049680384,"note":"Value kept but may cause issues"} 
[2026-08-01 20:12:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785595115000,"timestamp_ms":1785595115000,"timestamp_seconds":1785595115,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdc335f8"} 
[2026-08-01 20:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:12:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 20:12:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:12:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":147467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":147467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":147467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:12:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112344064001,"66":27876,"186":206,"2":54016,"24":0,"16":366907511225188352,"44":-4055772908049680384},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,2,24,16,44]} 
[2026-08-01 20:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112344064001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:12:59] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-01 20:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366907511225188352,"km_value":366907511225188.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:12:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4055772908049680384,"description":"Unknown IO ID 44"} 
[2026-08-01 20:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112344064001,"power":27876,"unknown_186":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4055772908049680384}} 
[2026-08-01 20:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":147467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:12:59] local.INFO: GPS data processed {"connection_id":147467,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:12:59] local.INFO: Acknowledgment sent {"connection_id":147467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:13:02] local.INFO: TCP Data received {"connection_id":146478,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:13:02] local.INFO: Processing buffer {"connection_id":146478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:13:02] local.INFO: IMEI packet received {"connection_id":146478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":146478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:13:05] local.INFO: TCP Data received {"connection_id":146478,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:13:05] local.INFO: Processing buffer {"connection_id":146478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:13:05] local.INFO: IMEI packet received {"connection_id":146478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":146478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:13:06] local.INFO: TCP Data received {"connection_id":146478,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdc34598012d196580071fefa0003b015125..."} 
[2026-08-01 20:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdc34598012d196580071fefa0003b015125..."} 
[2026-08-01 20:13:06] local.INFO: Processing buffer {"connection_id":146478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdc34598012d196580071fefa0003b015125..."} 
[2026-08-01 20:13:06] local.INFO: Packet analysis {"connection_id":146478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdc3"} 
[2026-08-01 20:13:06] local.INFO: Extracted packet for processing {"connection_id":146478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdc3"} 
[2026-08-01 20:13:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112273408001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1785595119000,"timestamp_ms":1785595119000,"timestamp_seconds":1785595119,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdc34598"} 
[2026-08-01 20:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:13:06] 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-08-01 20:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 20:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":146478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":146478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":146478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:13:06] 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-08-01 20:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112273408001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112273408001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:13:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:13:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112273408001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":146478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:13:06] local.INFO: GPS data processed {"connection_id":146478,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:13:06] local.INFO: Acknowledgment sent {"connection_id":146478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:13:40] local.INFO: TCP Data received {"connection_id":146478,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdc34598012d196580071fefa0003b015125..."} 
[2026-08-01 20:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdc34598012d196580071fefa0003b015125..."} 
[2026-08-01 20:13:40] local.INFO: Processing buffer {"connection_id":146478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdc34598012d196580071fefa0003b015125..."} 
[2026-08-01 20:13:40] local.INFO: Packet analysis {"connection_id":146478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdc3"} 
[2026-08-01 20:13:40] local.INFO: Extracted packet for processing {"connection_id":146478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdc3"} 
[2026-08-01 20:13:40] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112273408001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:13: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-08-01 20:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785595119000,"timestamp_ms":1785595119000,"timestamp_seconds":1785595119,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdc34598"} 
[2026-08-01 20:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:13:40] 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-08-01 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 20:13: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-08-01 20: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-08-01 20:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:13: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-08-01 20:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112273408001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112273408001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:13:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:13:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112273408001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":146478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:13:40] local.INFO: GPS data processed {"connection_id":146478,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:13:40] local.INFO: Acknowledgment sent {"connection_id":146478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:13:43] local.INFO: TCP Data received {"connection_id":147468,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:13:43] local.INFO: Processing buffer {"connection_id":147468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:13:43] local.INFO: IMEI packet received {"connection_id":147468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":147468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:13:48] local.INFO: TCP Data received {"connection_id":147468,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:13:48] local.INFO: Processing buffer {"connection_id":147468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:13:48] local.INFO: IMEI packet received {"connection_id":147468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":147468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:13:50] local.INFO: TCP Data received {"connection_id":147468,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdc38030012cc7b700074e0bb8000c010e2c..."} 
[2026-08-01 20:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdc38030012cc7b700074e0bb8000c010e2c..."} 
[2026-08-01 20:13:50] local.INFO: Processing buffer {"connection_id":147468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdc38030012cc7b700074e0bb8000c010e2c..."} 
[2026-08-01 20:13:50] local.INFO: Packet analysis {"connection_id":147468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdc3"} 
[2026-08-01 20:13:50] local.INFO: Extracted packet for processing {"connection_id":147468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdc3"} 
[2026-08-01 20:13:50] local.INFO: GPS Element Parsed {"raw_longitude":751286016,"raw_latitude":122555320,"longitude_deg":75.1286016,"latitude_deg":12.255532,"altitude":12,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2cc7b700","hex_latitude":"074e0bb8","is_valid_coordinates":true} 
[2026-08-01 20:13: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-08-01 20:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112349440001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366907511225188352,"note":"Value kept but may cause issues"} 
[2026-08-01 20:13:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4055772908049680384,"note":"Value kept but may cause issues"} 
[2026-08-01 20:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785595134000,"timestamp_ms":1785595134000,"timestamp_seconds":1785595134,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdc38030"} 
[2026-08-01 20:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:13:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 20:13:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:13:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112349440001,"66":27745,"186":206,"2":54016,"24":0,"16":366907511225188352,"44":-4055772908049680384},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,2,24,16,44]} 
[2026-08-01 20:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112349440001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:13:50] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-01 20:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366907511225188352,"km_value":366907511225188.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:13:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4055772908049680384,"description":"Unknown IO ID 44"} 
[2026-08-01 20:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112349440001,"power":27745,"unknown_186":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4055772908049680384}} 
[2026-08-01 20:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":147468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:13:50] local.INFO: GPS data processed {"connection_id":147468,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:13:50] local.INFO: Acknowledgment sent {"connection_id":147468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:14:04] local.INFO: TCP Data received {"connection_id":148776,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:14:04] local.INFO: Processing buffer {"connection_id":148776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:14:04] local.INFO: IMEI packet received {"connection_id":148776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":148776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:14:09] local.INFO: TCP Data received {"connection_id":148776,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:14:09] local.INFO: Processing buffer {"connection_id":148776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:14:09] local.INFO: IMEI packet received {"connection_id":148776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":148776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:14:10] local.INFO: TCP Data received {"connection_id":148776,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdc34598012d196580071fefa0003b015125..."} 
[2026-08-01 20:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdc34598012d196580071fefa0003b015125..."} 
[2026-08-01 20:14:10] local.INFO: Processing buffer {"connection_id":148776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdc34598012d196580071fefa0003b015125..."} 
[2026-08-01 20:14:10] local.INFO: Packet analysis {"connection_id":148776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdc3"} 
[2026-08-01 20:14:10] local.INFO: Extracted packet for processing {"connection_id":148776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdc3"} 
[2026-08-01 20:14:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 20:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112273408001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 20:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785595119000,"timestamp_ms":1785595119000,"timestamp_seconds":1785595119,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdc34598"} 
[2026-08-01 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-08-01 20:14: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-08-01 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-08-01 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-08-01 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-08-01 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-08-01 20:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":148776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":148776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":148776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:14: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-08-01 20:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112273408001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112273408001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:14:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:14:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112273408001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":148776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:14:10] local.INFO: GPS data processed {"connection_id":148776,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:14:10] local.INFO: Acknowledgment sent {"connection_id":148776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:14:15] local.INFO: TCP Data received {"connection_id":148776,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdc34598012d196580071fefa0003b015125..."} 
[2026-08-01 20:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdc34598012d196580071fefa0003b015125..."} 
[2026-08-01 20:14:15] local.INFO: Processing buffer {"connection_id":148776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdc34598012d196580071fefa0003b015125..."} 
[2026-08-01 20:14:15] local.INFO: Packet analysis {"connection_id":148776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdc3"} 
[2026-08-01 20:14:15] local.INFO: Extracted packet for processing {"connection_id":148776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdc3"} 
[2026-08-01 20:14:15] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112273408001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20: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-08-01 20:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785595119000,"timestamp_ms":1785595119000,"timestamp_seconds":1785595119,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdc34598"} 
[2026-08-01 20:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:14: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-08-01 20: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":107,"data_length":795,"current_offset":136} 
[2026-08-01 20:14: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-08-01 20: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-08-01 20:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:14: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-08-01 20:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112273408001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112273408001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:14:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:14:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112273408001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":148776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:14:15] local.INFO: GPS data processed {"connection_id":148776,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:14:15] local.INFO: Acknowledgment sent {"connection_id":148776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:14:21] local.INFO: TCP Data received {"connection_id":147468,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdc38030012cc7b700074e0bb8000c010e2c..."} 
[2026-08-01 20:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdc38030012cc7b700074e0bb8000c010e2c..."} 
[2026-08-01 20:14:21] local.INFO: Processing buffer {"connection_id":147468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdc38030012cc7b700074e0bb8000c010e2c..."} 
[2026-08-01 20:14:21] local.INFO: Packet analysis {"connection_id":147468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdc3"} 
[2026-08-01 20:14:21] local.INFO: Extracted packet for processing {"connection_id":147468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdc3"} 
[2026-08-01 20:14:21] local.INFO: GPS Element Parsed {"raw_longitude":751286016,"raw_latitude":122555320,"longitude_deg":75.1286016,"latitude_deg":12.255532,"altitude":12,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2cc7b700","hex_latitude":"074e0bb8","is_valid_coordinates":true} 
[2026-08-01 20:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112349440001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366907511225188352,"note":"Value kept but may cause issues"} 
[2026-08-01 20:14:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4055772908049680384,"note":"Value kept but may cause issues"} 
[2026-08-01 20:14:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785595134000,"timestamp_ms":1785595134000,"timestamp_seconds":1785595134,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdc38030"} 
[2026-08-01 20:14:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:14:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-01 20:14:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:14:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:14:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:14:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112349440001,"66":27745,"186":206,"2":54016,"24":0,"16":366907511225188352,"44":-4055772908049680384},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,2,24,16,44]} 
[2026-08-01 20:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112349440001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:14:21] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-01 20:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366907511225188352,"km_value":366907511225188.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:14:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4055772908049680384,"description":"Unknown IO ID 44"} 
[2026-08-01 20:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112349440001,"power":27745,"unknown_186":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4055772908049680384}} 
[2026-08-01 20:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":147468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:14:21] local.INFO: GPS data processed {"connection_id":147468,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:14:21] local.INFO: Acknowledgment sent {"connection_id":147468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:14:43] local.INFO: TCP Data received {"connection_id":148777,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:14:43] local.INFO: Processing buffer {"connection_id":148777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:14:43] local.INFO: IMEI packet received {"connection_id":148777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":148777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:14:48] local.INFO: TCP Data received {"connection_id":148777,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:14:48] local.INFO: Processing buffer {"connection_id":148777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:14:48] local.INFO: IMEI packet received {"connection_id":148777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":148777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:14:50] local.INFO: TCP Data received {"connection_id":148777,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdc81be0012cc7b7c0074e0be8000c010e2d..."} 
[2026-08-01 20:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdc81be0012cc7b7c0074e0be8000c010e2d..."} 
[2026-08-01 20:14:50] local.INFO: Processing buffer {"connection_id":148777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdc81be0012cc7b7c0074e0be8000c010e2d..."} 
[2026-08-01 20:14:50] local.INFO: Packet analysis {"connection_id":148777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdc8"} 
[2026-08-01 20:14:50] local.INFO: Extracted packet for processing {"connection_id":148777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdc8"} 
[2026-08-01 20:14:50] local.INFO: GPS Element Parsed {"raw_longitude":751286208,"raw_latitude":122555368,"longitude_deg":75.1286208,"latitude_deg":12.2555368,"altitude":12,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2cc7b7c0","hex_latitude":"074e0be8","is_valid_coordinates":true} 
[2026-08-01 20:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112354304001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366907511225188352,"note":"Value kept but may cause issues"} 
[2026-08-01 20:14:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4055772908049680384,"note":"Value kept but may cause issues"} 
[2026-08-01 20:14:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785595436000,"timestamp_ms":1785595436000,"timestamp_seconds":1785595436,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdc81be0"} 
[2026-08-01 20:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:14:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 20:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 20:14:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:14:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:14:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112354304001,"66":24723,"186":206,"2":54016,"24":0,"16":366907511225188352,"44":-4055772908049680384},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,2,24,16,44]} 
[2026-08-01 20:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112354304001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:14:50] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-01 20:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366907511225188352,"km_value":366907511225188.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:14:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4055772908049680384,"description":"Unknown IO ID 44"} 
[2026-08-01 20:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112354304001,"power":24723,"unknown_186":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4055772908049680384}} 
[2026-08-01 20:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":148777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:14:50] local.INFO: GPS data processed {"connection_id":148777,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:14:50] local.INFO: Acknowledgment sent {"connection_id":148777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:15:00] local.INFO: TCP Data received {"connection_id":148778,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:15:00] local.INFO: Processing buffer {"connection_id":148778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:15:00] local.INFO: IMEI packet received {"connection_id":148778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":148778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:15:04] local.INFO: TCP Data received {"connection_id":148778,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:15:04] local.INFO: Processing buffer {"connection_id":148778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:15:04] local.INFO: IMEI packet received {"connection_id":148778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":148778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:15:05] local.INFO: TCP Data received {"connection_id":148778,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdc7dd60012d196580071fefa0003b015122..."} 
[2026-08-01 20:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdc7dd60012d196580071fefa0003b015122..."} 
[2026-08-01 20:15:05] local.INFO: Processing buffer {"connection_id":148778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdc7dd60012d196580071fefa0003b015122..."} 
[2026-08-01 20:15:05] local.INFO: Packet analysis {"connection_id":148778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdc7"} 
[2026-08-01 20:15:05] local.INFO: Extracted packet for processing {"connection_id":148778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdc7"} 
[2026-08-01 20:15:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112350464001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785595420000,"timestamp_ms":1785595420000,"timestamp_seconds":1785595420,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdc7dd60"} 
[2026-08-01 20:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 20:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 20:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:15:05] 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-08-01 20:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112350464001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112350464001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:15:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:15:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112350464001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":148778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:15:05] local.INFO: GPS data processed {"connection_id":148778,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:15:05] local.INFO: Acknowledgment sent {"connection_id":148778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:15:21] local.INFO: TCP Data received {"connection_id":148777,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdc81be0012cc7b7c0074e0be8000c010e2d..."} 
[2026-08-01 20:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdc81be0012cc7b7c0074e0be8000c010e2d..."} 
[2026-08-01 20:15:21] local.INFO: Processing buffer {"connection_id":148777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdc81be0012cc7b7c0074e0be8000c010e2d..."} 
[2026-08-01 20:15:21] local.INFO: Packet analysis {"connection_id":148777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdc8"} 
[2026-08-01 20:15:21] local.INFO: Extracted packet for processing {"connection_id":148777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdc8"} 
[2026-08-01 20:15:21] local.INFO: GPS Element Parsed {"raw_longitude":751286208,"raw_latitude":122555368,"longitude_deg":75.1286208,"latitude_deg":12.2555368,"altitude":12,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2cc7b7c0","hex_latitude":"074e0be8","is_valid_coordinates":true} 
[2026-08-01 20:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112354304001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366907511225188352,"note":"Value kept but may cause issues"} 
[2026-08-01 20:15:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4055772908049680384,"note":"Value kept but may cause issues"} 
[2026-08-01 20:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785595436000,"timestamp_ms":1785595436000,"timestamp_seconds":1785595436,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdc81be0"} 
[2026-08-01 20:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 20:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 20:15:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:15:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112354304001,"66":24723,"186":206,"2":54016,"24":0,"16":366907511225188352,"44":-4055772908049680384},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,2,24,16,44]} 
[2026-08-01 20:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112354304001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:15:21] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-01 20:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366907511225188352,"km_value":366907511225188.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:15:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4055772908049680384,"description":"Unknown IO ID 44"} 
[2026-08-01 20:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112354304001,"power":24723,"unknown_186":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4055772908049680384}} 
[2026-08-01 20:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":148777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:15:21] local.INFO: GPS data processed {"connection_id":148777,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:15:21] local.INFO: Acknowledgment sent {"connection_id":148777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:15:36] local.INFO: TCP Data received {"connection_id":148778,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdc7dd60012d196580071fefa0003b015122..."} 
[2026-08-01 20:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdc7dd60012d196580071fefa0003b015122..."} 
[2026-08-01 20:15:36] local.INFO: Processing buffer {"connection_id":148778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdc7dd60012d196580071fefa0003b015122..."} 
[2026-08-01 20:15:36] local.INFO: Packet analysis {"connection_id":148778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdc7"} 
[2026-08-01 20:15:36] local.INFO: Extracted packet for processing {"connection_id":148778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdc7"} 
[2026-08-01 20:15:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112350464001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785595420000,"timestamp_ms":1785595420000,"timestamp_seconds":1785595420,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdc7dd60"} 
[2026-08-01 20:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:15:36] 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-08-01 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 20:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:15:36] 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-08-01 20:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112350464001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112350464001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:15:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:15:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112350464001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":148778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:15:37] local.INFO: GPS data processed {"connection_id":148778,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:15:37] local.INFO: Acknowledgment sent {"connection_id":148778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:15:43] local.INFO: TCP Data received {"connection_id":148779,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:15:43] local.INFO: Processing buffer {"connection_id":148779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:15:43] local.INFO: IMEI packet received {"connection_id":148779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":148779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:15:48] local.INFO: TCP Data received {"connection_id":148779,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:15:48] local.INFO: Processing buffer {"connection_id":148779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:15:48] local.INFO: IMEI packet received {"connection_id":148779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":148779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:15:50] local.INFO: TCP Data received {"connection_id":148779,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdc81be0012cc7b7c0074e0be8000c010e2d..."} 
[2026-08-01 20:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdc81be0012cc7b7c0074e0be8000c010e2d..."} 
[2026-08-01 20:15:50] local.INFO: Processing buffer {"connection_id":148779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdc81be0012cc7b7c0074e0be8000c010e2d..."} 
[2026-08-01 20:15:50] local.INFO: Packet analysis {"connection_id":148779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdc8"} 
[2026-08-01 20:15:50] local.INFO: Extracted packet for processing {"connection_id":148779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdc8"} 
[2026-08-01 20:15:50] local.INFO: GPS Element Parsed {"raw_longitude":751286208,"raw_latitude":122555368,"longitude_deg":75.1286208,"latitude_deg":12.2555368,"altitude":12,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2cc7b7c0","hex_latitude":"074e0be8","is_valid_coordinates":true} 
[2026-08-01 20:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:15:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112354304001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:15:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366907511225188352,"note":"Value kept but may cause issues"} 
[2026-08-01 20:15:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4055772908049680384,"note":"Value kept but may cause issues"} 
[2026-08-01 20:15:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:15:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785595436000,"timestamp_ms":1785595436000,"timestamp_seconds":1785595436,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdc81be0"} 
[2026-08-01 20:15:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:15:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 20:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 20:15:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:15:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:15:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:15:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:15:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:15:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:15:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:15:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:15:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:15:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:15:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112354304001,"66":24723,"186":206,"2":54016,"24":0,"16":366907511225188352,"44":-4055772908049680384},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,2,24,16,44]} 
[2026-08-01 20:15:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:15:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:15:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112354304001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:15:50] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-01 20:15:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366907511225188352,"km_value":366907511225188.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:15:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4055772908049680384,"description":"Unknown IO ID 44"} 
[2026-08-01 20:15:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112354304001,"power":24723,"unknown_186":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4055772908049680384}} 
[2026-08-01 20:15:50] local.INFO: DEBUG: GPS processor result {"connection_id":148779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:15:50] local.INFO: GPS data processed {"connection_id":148779,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:15:50] local.INFO: Acknowledgment sent {"connection_id":148779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:15:59] local.INFO: TCP Data received {"connection_id":148780,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:15:59] local.INFO: Processing buffer {"connection_id":148780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:15:59] local.INFO: IMEI packet received {"connection_id":148780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":148780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:16:04] local.INFO: TCP Data received {"connection_id":148780,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:16:04] local.INFO: Processing buffer {"connection_id":148780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:16:04] local.INFO: IMEI packet received {"connection_id":148780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":148780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:16:05] local.INFO: TCP Data received {"connection_id":148780,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdc7dd60012d196580071fefa0003b015122..."} 
[2026-08-01 20:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdc7dd60012d196580071fefa0003b015122..."} 
[2026-08-01 20:16:05] local.INFO: Processing buffer {"connection_id":148780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdc7dd60012d196580071fefa0003b015122..."} 
[2026-08-01 20:16:05] local.INFO: Packet analysis {"connection_id":148780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdc7"} 
[2026-08-01 20:16:05] local.INFO: Extracted packet for processing {"connection_id":148780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdc7"} 
[2026-08-01 20:16:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112350464001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785595420000,"timestamp_ms":1785595420000,"timestamp_seconds":1785595420,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdc7dd60"} 
[2026-08-01 20:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 20:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 20:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:16:05] 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-08-01 20:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112350464001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112350464001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:16:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:16:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112350464001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":148780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579034,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:16:05] local.INFO: GPS data processed {"connection_id":148780,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:16:05] local.INFO: Acknowledgment sent {"connection_id":148780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:16:21] local.INFO: TCP Data received {"connection_id":148779,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdc81be0012cc7b7c0074e0be8000c010e2d..."} 
[2026-08-01 20:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdc81be0012cc7b7c0074e0be8000c010e2d..."} 
[2026-08-01 20:16:21] local.INFO: Processing buffer {"connection_id":148779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdc81be0012cc7b7c0074e0be8000c010e2d..."} 
[2026-08-01 20:16:21] local.INFO: Packet analysis {"connection_id":148779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdc8"} 
[2026-08-01 20:16:21] local.INFO: Extracted packet for processing {"connection_id":148779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdc8"} 
[2026-08-01 20:16:21] local.INFO: GPS Element Parsed {"raw_longitude":751286208,"raw_latitude":122555368,"longitude_deg":75.1286208,"latitude_deg":12.2555368,"altitude":12,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2cc7b7c0","hex_latitude":"074e0be8","is_valid_coordinates":true} 
[2026-08-01 20:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112354304001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366907511225188352,"note":"Value kept but may cause issues"} 
[2026-08-01 20:16:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4055772908049680384,"note":"Value kept but may cause issues"} 
[2026-08-01 20:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785595436000,"timestamp_ms":1785595436000,"timestamp_seconds":1785595436,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdc81be0"} 
[2026-08-01 20:16:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:16:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 20:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 20:16:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:16:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:16:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:16:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112354304001,"66":24723,"186":206,"2":54016,"24":0,"16":366907511225188352,"44":-4055772908049680384},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,2,24,16,44]} 
[2026-08-01 20:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112354304001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:16:21] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-01 20:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366907511225188352,"km_value":366907511225188.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:16:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4055772908049680384,"description":"Unknown IO ID 44"} 
[2026-08-01 20:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112354304001,"power":24723,"unknown_186":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4055772908049680384}} 
[2026-08-01 20:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":148779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:16:21] local.INFO: GPS data processed {"connection_id":148779,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:16:21] local.INFO: Acknowledgment sent {"connection_id":148779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:16:36] local.INFO: TCP Data received {"connection_id":148780,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdc7dd60012d196580071fefa0003b015122..."} 
[2026-08-01 20:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdc7dd60012d196580071fefa0003b015122..."} 
[2026-08-01 20:16:36] local.INFO: Processing buffer {"connection_id":148780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdc7dd60012d196580071fefa0003b015122..."} 
[2026-08-01 20:16:36] local.INFO: Packet analysis {"connection_id":148780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdc7"} 
[2026-08-01 20:16:36] local.INFO: Extracted packet for processing {"connection_id":148780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdc7"} 
[2026-08-01 20:16:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112350464001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785595420000,"timestamp_ms":1785595420000,"timestamp_seconds":1785595420,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdc7dd60"} 
[2026-08-01 20:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:16:36] 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-08-01 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 20:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:16:36] 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-08-01 20:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112350464001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112350464001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:16:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:16:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112350464001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":148780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:16:37] local.INFO: GPS data processed {"connection_id":148780,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:16:37] local.INFO: Acknowledgment sent {"connection_id":148780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:16:48] local.INFO: TCP Data received {"connection_id":148781,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:16:48] local.INFO: Processing buffer {"connection_id":148781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:16:48] local.INFO: IMEI packet received {"connection_id":148781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":148781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:16:53] local.INFO: TCP Data received {"connection_id":148781,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:16:53] local.INFO: Processing buffer {"connection_id":148781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:16:53] local.INFO: IMEI packet received {"connection_id":148781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":148781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:16:54] local.INFO: TCP Data received {"connection_id":148781,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdc81be0012cc7b7c0074e0be8000c010e2d..."} 
[2026-08-01 20:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdc81be0012cc7b7c0074e0be8000c010e2d..."} 
[2026-08-01 20:16:54] local.INFO: Processing buffer {"connection_id":148781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdc81be0012cc7b7c0074e0be8000c010e2d..."} 
[2026-08-01 20:16:54] local.INFO: Packet analysis {"connection_id":148781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdc8"} 
[2026-08-01 20:16:54] local.INFO: Extracted packet for processing {"connection_id":148781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdc8"} 
[2026-08-01 20:16:54] local.INFO: GPS Element Parsed {"raw_longitude":751286208,"raw_latitude":122555368,"longitude_deg":75.1286208,"latitude_deg":12.2555368,"altitude":12,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2cc7b7c0","hex_latitude":"074e0be8","is_valid_coordinates":true} 
[2026-08-01 20:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:16:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112354304001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:16:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366907511225188352,"note":"Value kept but may cause issues"} 
[2026-08-01 20:16:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4055772908049680384,"note":"Value kept but may cause issues"} 
[2026-08-01 20:16:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:16:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785595436000,"timestamp_ms":1785595436000,"timestamp_seconds":1785595436,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdc81be0"} 
[2026-08-01 20:16:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:16:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 20:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 20:16:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:16:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:16:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:16:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:16:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:16:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:16:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:16:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:16:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:16:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:16:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112354304001,"66":24723,"186":206,"2":54016,"24":0,"16":366907511225188352,"44":-4055772908049680384},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,2,24,16,44]} 
[2026-08-01 20:16:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:16:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:16:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112354304001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:16:54] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-01 20:16:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366907511225188352,"km_value":366907511225188.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:16:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4055772908049680384,"description":"Unknown IO ID 44"} 
[2026-08-01 20:16:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112354304001,"power":24723,"unknown_186":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4055772908049680384}} 
[2026-08-01 20:16:54] local.INFO: DEBUG: GPS processor result {"connection_id":148781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:16:54] local.INFO: GPS data processed {"connection_id":148781,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:16:54] local.INFO: Acknowledgment sent {"connection_id":148781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:16:59] local.INFO: TCP Data received {"connection_id":148781,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdc81be0012cc7b7c0074e0be8000c010e2d..."} 
[2026-08-01 20:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdc81be0012cc7b7c0074e0be8000c010e2d..."} 
[2026-08-01 20:16:59] local.INFO: Processing buffer {"connection_id":148781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdc81be0012cc7b7c0074e0be8000c010e2d..."} 
[2026-08-01 20:16:59] local.INFO: Packet analysis {"connection_id":148781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdc8"} 
[2026-08-01 20:16:59] local.INFO: Extracted packet for processing {"connection_id":148781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdc8"} 
[2026-08-01 20:16:59] local.INFO: GPS Element Parsed {"raw_longitude":751286208,"raw_latitude":122555368,"longitude_deg":75.1286208,"latitude_deg":12.2555368,"altitude":12,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2cc7b7c0","hex_latitude":"074e0be8","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112354304001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366907511225188352,"note":"Value kept but may cause issues"} 
[2026-08-01 20:16:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4055772908049680384,"note":"Value kept but may cause issues"} 
[2026-08-01 20:16:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785595436000,"timestamp_ms":1785595436000,"timestamp_seconds":1785595436,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdc81be0"} 
[2026-08-01 20:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:16: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-08-01 20: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 20:16:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":148781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":148781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":148781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:16:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112354304001,"66":24723,"186":206,"2":54016,"24":0,"16":366907511225188352,"44":-4055772908049680384},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,2,24,16,44]} 
[2026-08-01 20:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112354304001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:16:59] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-01 20:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366907511225188352,"km_value":366907511225188.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:16:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4055772908049680384,"description":"Unknown IO ID 44"} 
[2026-08-01 20:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112354304001,"power":24723,"unknown_186":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4055772908049680384}} 
[2026-08-01 20:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":148781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:16:59] local.INFO: GPS data processed {"connection_id":148781,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:16:59] local.INFO: Acknowledgment sent {"connection_id":148781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:16:59] local.INFO: TCP Data received {"connection_id":146234,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146234,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:16:59] local.INFO: Processing buffer {"connection_id":146234,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:16:59] local.INFO: IMEI packet received {"connection_id":146234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":146234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:17:04] local.INFO: TCP Data received {"connection_id":146234,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146234,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:17:04] local.INFO: Processing buffer {"connection_id":146234,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:17:04] local.INFO: IMEI packet received {"connection_id":146234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":146234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:17:05] local.INFO: TCP Data received {"connection_id":146234,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdc7dd60012d196580071fefa0003b015122..."} 
[2026-08-01 20:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdc7dd60012d196580071fefa0003b015122..."} 
[2026-08-01 20:17:05] local.INFO: Processing buffer {"connection_id":146234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdc7dd60012d196580071fefa0003b015122..."} 
[2026-08-01 20:17:05] local.INFO: Packet analysis {"connection_id":146234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdc7"} 
[2026-08-01 20:17:05] local.INFO: Extracted packet for processing {"connection_id":146234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdc7"} 
[2026-08-01 20:17:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112350464001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785595420000,"timestamp_ms":1785595420000,"timestamp_seconds":1785595420,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdc7dd60"} 
[2026-08-01 20:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 20:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 20:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:17:05] 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-08-01 20:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112350464001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112350464001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:17:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:17:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112350464001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":146234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579039,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:17:05] local.INFO: GPS data processed {"connection_id":146234,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:17:05] local.INFO: Acknowledgment sent {"connection_id":146234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:17:36] local.INFO: TCP Data received {"connection_id":146234,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdc7dd60012d196580071fefa0003b015122..."} 
[2026-08-01 20:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdc7dd60012d196580071fefa0003b015122..."} 
[2026-08-01 20:17:36] local.INFO: Processing buffer {"connection_id":146234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdc7dd60012d196580071fefa0003b015122..."} 
[2026-08-01 20:17:36] local.INFO: Packet analysis {"connection_id":146234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdc7"} 
[2026-08-01 20:17:36] local.INFO: Extracted packet for processing {"connection_id":146234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdc7"} 
[2026-08-01 20:17:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112350464001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785595420000,"timestamp_ms":1785595420000,"timestamp_seconds":1785595420,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdc7dd60"} 
[2026-08-01 20:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:17:36] 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-08-01 20:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 20:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:17:36] 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-08-01 20:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112350464001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112350464001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:17:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:17:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112350464001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":146234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:17:37] local.INFO: GPS data processed {"connection_id":146234,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:17:37] local.INFO: Acknowledgment sent {"connection_id":146234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:17:43] local.INFO: TCP Data received {"connection_id":147469,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:17:43] local.INFO: Processing buffer {"connection_id":147469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:17:43] local.INFO: IMEI packet received {"connection_id":147469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":147469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:17:48] local.INFO: TCP Data received {"connection_id":147469,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:17:48] local.INFO: Processing buffer {"connection_id":147469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:17:48] local.INFO: IMEI packet received {"connection_id":147469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":147469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:17:50] local.INFO: TCP Data received {"connection_id":147469,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdc81be0012cc7b7c0074e0be8000c010e2d..."} 
[2026-08-01 20:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdc81be0012cc7b7c0074e0be8000c010e2d..."} 
[2026-08-01 20:17:50] local.INFO: Processing buffer {"connection_id":147469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdc81be0012cc7b7c0074e0be8000c010e2d..."} 
[2026-08-01 20:17:50] local.INFO: Packet analysis {"connection_id":147469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdc8"} 
[2026-08-01 20:17:50] local.INFO: Extracted packet for processing {"connection_id":147469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdc8"} 
[2026-08-01 20:17:50] local.INFO: GPS Element Parsed {"raw_longitude":751286208,"raw_latitude":122555368,"longitude_deg":75.1286208,"latitude_deg":12.2555368,"altitude":12,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2cc7b7c0","hex_latitude":"074e0be8","is_valid_coordinates":true} 
[2026-08-01 20:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:17:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112354304001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:17:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366907511225188352,"note":"Value kept but may cause issues"} 
[2026-08-01 20:17:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4055772908049680384,"note":"Value kept but may cause issues"} 
[2026-08-01 20:17:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:17:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785595436000,"timestamp_ms":1785595436000,"timestamp_seconds":1785595436,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdc81be0"} 
[2026-08-01 20:17:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:17:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 20:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 20:17:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:17:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:17:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:17:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:17:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:17:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:17:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:17:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:17:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:17:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:17:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112354304001,"66":24723,"186":206,"2":54016,"24":0,"16":366907511225188352,"44":-4055772908049680384},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,2,24,16,44]} 
[2026-08-01 20:17:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:17:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:17:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112354304001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:17:50] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-01 20:17:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366907511225188352,"km_value":366907511225188.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:17:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4055772908049680384,"description":"Unknown IO ID 44"} 
[2026-08-01 20:17:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112354304001,"power":24723,"unknown_186":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4055772908049680384}} 
[2026-08-01 20:17:50] local.INFO: DEBUG: GPS processor result {"connection_id":147469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:17:50] local.INFO: GPS data processed {"connection_id":147469,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:17:50] local.INFO: Acknowledgment sent {"connection_id":147469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:18:04] local.INFO: TCP Data received {"connection_id":146235,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:18:04] local.INFO: Processing buffer {"connection_id":146235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:18:04] local.INFO: IMEI packet received {"connection_id":146235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":146235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:18:09] local.INFO: TCP Data received {"connection_id":146235,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:18:09] local.INFO: Processing buffer {"connection_id":146235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:18:09] local.INFO: IMEI packet received {"connection_id":146235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":146235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:18:10] local.INFO: TCP Data received {"connection_id":146235,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdc7dd60012d196580071fefa0003b015122..."} 
[2026-08-01 20:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdc7dd60012d196580071fefa0003b015122..."} 
[2026-08-01 20:18:10] local.INFO: Processing buffer {"connection_id":146235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdc7dd60012d196580071fefa0003b015122..."} 
[2026-08-01 20:18:10] local.INFO: Packet analysis {"connection_id":146235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdc7"} 
[2026-08-01 20:18:10] local.INFO: Extracted packet for processing {"connection_id":146235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdc7"} 
[2026-08-01 20:18:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 20:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112350464001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 20:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785595420000,"timestamp_ms":1785595420000,"timestamp_seconds":1785595420,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdc7dd60"} 
[2026-08-01 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-08-01 20:18: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-08-01 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":107,"data_length":795,"current_offset":136} 
[2026-08-01 20: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-08-01 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-08-01 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-08-01 20:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:18: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-08-01 20:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112350464001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112350464001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:18:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:18:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112350464001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":146235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579042,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:18:10] local.INFO: GPS data processed {"connection_id":146235,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:18:10] local.INFO: Acknowledgment sent {"connection_id":146235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:18:18] local.INFO: TCP Data received {"connection_id":146235,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdc7dd60012d196580071fefa0003b015122..."} 
[2026-08-01 20:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdc7dd60012d196580071fefa0003b015122..."} 
[2026-08-01 20:18:18] local.INFO: Processing buffer {"connection_id":146235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdc7dd60012d196580071fefa0003b015122..."} 
[2026-08-01 20:18:18] local.INFO: Packet analysis {"connection_id":146235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdc7"} 
[2026-08-01 20:18:18] local.INFO: Extracted packet for processing {"connection_id":146235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdc7"} 
[2026-08-01 20:18:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112350464001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:18: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-08-01 20:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785595420000,"timestamp_ms":1785595420000,"timestamp_seconds":1785595420,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdc7dd60"} 
[2026-08-01 20:18:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:18:18] 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-08-01 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 20:18:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:18:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":146235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":146235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":146235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:18:18] 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-08-01 20:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112350464001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112350464001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:18:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:18:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:18:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112350464001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":146235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:18:18] local.INFO: GPS data processed {"connection_id":146235,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:18:18] local.INFO: Acknowledgment sent {"connection_id":146235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:18:21] local.INFO: TCP Data received {"connection_id":147469,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdc81be0012cc7b7c0074e0be8000c010e2d..."} 
[2026-08-01 20:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdc81be0012cc7b7c0074e0be8000c010e2d..."} 
[2026-08-01 20:18:21] local.INFO: Processing buffer {"connection_id":147469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdc81be0012cc7b7c0074e0be8000c010e2d..."} 
[2026-08-01 20:18:21] local.INFO: Packet analysis {"connection_id":147469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdc8"} 
[2026-08-01 20:18:21] local.INFO: Extracted packet for processing {"connection_id":147469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdc8"} 
[2026-08-01 20:18:21] local.INFO: GPS Element Parsed {"raw_longitude":751286208,"raw_latitude":122555368,"longitude_deg":75.1286208,"latitude_deg":12.2555368,"altitude":12,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2cc7b7c0","hex_latitude":"074e0be8","is_valid_coordinates":true} 
[2026-08-01 20:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112354304001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366907511225188352,"note":"Value kept but may cause issues"} 
[2026-08-01 20:18:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4055772908049680384,"note":"Value kept but may cause issues"} 
[2026-08-01 20:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785595436000,"timestamp_ms":1785595436000,"timestamp_seconds":1785595436,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdc81be0"} 
[2026-08-01 20:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:18:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 20:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 20:18:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:18:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:18:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112354304001,"66":24723,"186":206,"2":54016,"24":0,"16":366907511225188352,"44":-4055772908049680384},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,2,24,16,44]} 
[2026-08-01 20:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112354304001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:18:21] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-01 20:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366907511225188352,"km_value":366907511225188.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:18:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4055772908049680384,"description":"Unknown IO ID 44"} 
[2026-08-01 20:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112354304001,"power":24723,"unknown_186":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4055772908049680384}} 
[2026-08-01 20:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":147469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:18:21] local.INFO: GPS data processed {"connection_id":147469,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:18:21] local.INFO: Acknowledgment sent {"connection_id":147469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:18:43] local.INFO: TCP Data received {"connection_id":146479,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:18:43] local.INFO: Processing buffer {"connection_id":146479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:18:43] local.INFO: IMEI packet received {"connection_id":146479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:18:43] local.INFO: IMEI acknowledgment sent {"connection_id":146479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:18:48] local.INFO: TCP Data received {"connection_id":146479,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:18:48] local.INFO: Processing buffer {"connection_id":146479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:18:48] local.INFO: IMEI packet received {"connection_id":146479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":146479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:18:50] local.INFO: TCP Data received {"connection_id":146479,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdc81be0012cc7b7c0074e0be8000c010e2d..."} 
[2026-08-01 20:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdc81be0012cc7b7c0074e0be8000c010e2d..."} 
[2026-08-01 20:18:50] local.INFO: Processing buffer {"connection_id":146479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdc81be0012cc7b7c0074e0be8000c010e2d..."} 
[2026-08-01 20:18:50] local.INFO: Packet analysis {"connection_id":146479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdc8"} 
[2026-08-01 20:18:50] local.INFO: Extracted packet for processing {"connection_id":146479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdc8"} 
[2026-08-01 20:18:50] local.INFO: GPS Element Parsed {"raw_longitude":751286208,"raw_latitude":122555368,"longitude_deg":75.1286208,"latitude_deg":12.2555368,"altitude":12,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2cc7b7c0","hex_latitude":"074e0be8","is_valid_coordinates":true} 
[2026-08-01 20:18:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:18:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112354304001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:18:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366907511225188352,"note":"Value kept but may cause issues"} 
[2026-08-01 20:18:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4055772908049680384,"note":"Value kept but may cause issues"} 
[2026-08-01 20:18:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:18:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785595436000,"timestamp_ms":1785595436000,"timestamp_seconds":1785595436,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdc81be0"} 
[2026-08-01 20:18:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:18:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 20:18:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 20:18:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:18:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:18:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:18:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:18:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:18:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:18:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:18:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:18:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:18:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:18:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112354304001,"66":24723,"186":206,"2":54016,"24":0,"16":366907511225188352,"44":-4055772908049680384},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,2,24,16,44]} 
[2026-08-01 20:18:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:18:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:18:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112354304001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:18:50] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-01 20:18:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366907511225188352,"km_value":366907511225188.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:18:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4055772908049680384,"description":"Unknown IO ID 44"} 
[2026-08-01 20:18:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112354304001,"power":24723,"unknown_186":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4055772908049680384}} 
[2026-08-01 20:18:50] local.INFO: DEBUG: GPS processor result {"connection_id":146479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:18:50] local.INFO: GPS data processed {"connection_id":146479,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:18:50] local.INFO: Acknowledgment sent {"connection_id":146479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:18:59] local.INFO: TCP Data received {"connection_id":146480,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:18:59] local.INFO: Processing buffer {"connection_id":146480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:18:59] local.INFO: IMEI packet received {"connection_id":146480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":146480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:19:04] local.INFO: TCP Data received {"connection_id":146480,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:19:04] local.INFO: Processing buffer {"connection_id":146480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:19:04] local.INFO: IMEI packet received {"connection_id":146480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":146480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:19:05] local.INFO: TCP Data received {"connection_id":146480,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdc7dd60012d196580071fefa0003b015122..."} 
[2026-08-01 20:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdc7dd60012d196580071fefa0003b015122..."} 
[2026-08-01 20:19:05] local.INFO: Processing buffer {"connection_id":146480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdc7dd60012d196580071fefa0003b015122..."} 
[2026-08-01 20:19:05] local.INFO: Packet analysis {"connection_id":146480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdc7"} 
[2026-08-01 20:19:05] local.INFO: Extracted packet for processing {"connection_id":146480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdc7"} 
[2026-08-01 20:19:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112350464001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785595420000,"timestamp_ms":1785595420000,"timestamp_seconds":1785595420,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdc7dd60"} 
[2026-08-01 20:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 20: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":107,"data_length":795,"current_offset":136} 
[2026-08-01 20:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:19:05] 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-08-01 20:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112350464001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112350464001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:19:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:19:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112350464001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":146480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579046,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:19:05] local.INFO: GPS data processed {"connection_id":146480,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:19:05] local.INFO: Acknowledgment sent {"connection_id":146480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:19:21] local.INFO: TCP Data received {"connection_id":146479,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdc81be0012cc7b7c0074e0be8000c010e2d..."} 
[2026-08-01 20:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdc81be0012cc7b7c0074e0be8000c010e2d..."} 
[2026-08-01 20:19:21] local.INFO: Processing buffer {"connection_id":146479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdc81be0012cc7b7c0074e0be8000c010e2d..."} 
[2026-08-01 20:19:21] local.INFO: Packet analysis {"connection_id":146479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdc8"} 
[2026-08-01 20:19:21] local.INFO: Extracted packet for processing {"connection_id":146479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdc8"} 
[2026-08-01 20:19:21] local.INFO: GPS Element Parsed {"raw_longitude":751286208,"raw_latitude":122555368,"longitude_deg":75.1286208,"latitude_deg":12.2555368,"altitude":12,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2cc7b7c0","hex_latitude":"074e0be8","is_valid_coordinates":true} 
[2026-08-01 20:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112354304001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366907511225188352,"note":"Value kept but may cause issues"} 
[2026-08-01 20:19:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4055772908049680384,"note":"Value kept but may cause issues"} 
[2026-08-01 20:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785595436000,"timestamp_ms":1785595436000,"timestamp_seconds":1785595436,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdc81be0"} 
[2026-08-01 20:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:19:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 20:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-01 20:19:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:19:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:19:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112354304001,"66":24723,"186":206,"2":54016,"24":0,"16":366907511225188352,"44":-4055772908049680384},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,2,24,16,44]} 
[2026-08-01 20:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112354304001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:19:21] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-01 20:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366907511225188352,"km_value":366907511225188.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:19:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4055772908049680384,"description":"Unknown IO ID 44"} 
[2026-08-01 20:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112354304001,"power":24723,"unknown_186":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4055772908049680384}} 
[2026-08-01 20:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":146479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:19:21] local.INFO: GPS data processed {"connection_id":146479,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:19:21] local.INFO: Acknowledgment sent {"connection_id":146479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:19:36] local.INFO: TCP Data received {"connection_id":146480,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdcc7528012d196580071fefa0003b015125..."} 
[2026-08-01 20:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdcc7528012d196580071fefa0003b015125..."} 
[2026-08-01 20:19:36] local.INFO: Processing buffer {"connection_id":146480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdcc7528012d196580071fefa0003b015125..."} 
[2026-08-01 20:19:36] local.INFO: Packet analysis {"connection_id":146480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdcc"} 
[2026-08-01 20:19:36] local.INFO: Extracted packet for processing {"connection_id":146480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdcc"} 
[2026-08-01 20:19:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112427520001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785595721000,"timestamp_ms":1785595721000,"timestamp_seconds":1785595721,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdcc7528"} 
[2026-08-01 20:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:19:36] 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-08-01 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 20:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:19:36] 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-08-01 20:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112427520001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112427520001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:19:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:19:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112427520001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":146480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:19:36] local.INFO: GPS data processed {"connection_id":146480,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:19:36] local.INFO: Acknowledgment sent {"connection_id":146480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:19:43] local.INFO: TCP Data received {"connection_id":147470,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:19:43] local.INFO: Processing buffer {"connection_id":147470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:19:43] local.INFO: IMEI packet received {"connection_id":147470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":147470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:19:48] local.INFO: TCP Data received {"connection_id":147470,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:19:48] local.INFO: Processing buffer {"connection_id":147470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:19:48] local.INFO: IMEI packet received {"connection_id":147470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":147470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:19:50] local.INFO: TCP Data received {"connection_id":147470,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdccb3a8012cc7b7c0074e0be8000c010e2a..."} 
[2026-08-01 20:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdccb3a8012cc7b7c0074e0be8000c010e2a..."} 
[2026-08-01 20:19:50] local.INFO: Processing buffer {"connection_id":147470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdccb3a8012cc7b7c0074e0be8000c010e2a..."} 
[2026-08-01 20:19:50] local.INFO: Packet analysis {"connection_id":147470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdcc"} 
[2026-08-01 20:19:50] local.INFO: Extracted packet for processing {"connection_id":147470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdcc"} 
[2026-08-01 20:19:50] local.INFO: GPS Element Parsed {"raw_longitude":751286208,"raw_latitude":122555368,"longitude_deg":75.1286208,"latitude_deg":12.2555368,"altitude":12,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2cc7b7c0","hex_latitude":"074e0be8","is_valid_coordinates":true} 
[2026-08-01 20:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112431616001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366907511225188352,"note":"Value kept but may cause issues"} 
[2026-08-01 20:19:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4055561801817135104,"note":"Value kept but may cause issues"} 
[2026-08-01 20:19:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785595737000,"timestamp_ms":1785595737000,"timestamp_seconds":1785595737,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdccb3a8"} 
[2026-08-01 20:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:19:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 20:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-01 20:19:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:19:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:19:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112431616001,"66":25223,"186":206,"2":54016,"24":0,"16":366907511225188352,"44":-4055561801817135104},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,2,24,16,44]} 
[2026-08-01 20:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112431616001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:19:50] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-01 20:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366907511225188352,"km_value":366907511225188.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:19:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4055561801817135104,"description":"Unknown IO ID 44"} 
[2026-08-01 20:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112431616001,"power":25223,"unknown_186":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4055561801817135104}} 
[2026-08-01 20:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":147470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:19:50] local.INFO: GPS data processed {"connection_id":147470,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:19:50] local.INFO: Acknowledgment sent {"connection_id":147470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:19:59] local.INFO: TCP Data received {"connection_id":146236,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146236,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:19:59] local.INFO: Processing buffer {"connection_id":146236,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:19:59] local.INFO: IMEI packet received {"connection_id":146236,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":146236,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:20:04] local.INFO: TCP Data received {"connection_id":146236,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146236,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:20:04] local.INFO: Processing buffer {"connection_id":146236,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:20:04] local.INFO: IMEI packet received {"connection_id":146236,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":146236,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:20:05] local.INFO: TCP Data received {"connection_id":146236,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdcc7528012d196580071fefa0003b015125..."} 
[2026-08-01 20:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdcc7528012d196580071fefa0003b015125..."} 
[2026-08-01 20:20:05] local.INFO: Processing buffer {"connection_id":146236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdcc7528012d196580071fefa0003b015125..."} 
[2026-08-01 20:20:05] local.INFO: Packet analysis {"connection_id":146236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdcc"} 
[2026-08-01 20:20:05] local.INFO: Extracted packet for processing {"connection_id":146236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdcc"} 
[2026-08-01 20:20:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112427520001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785595721000,"timestamp_ms":1785595721000,"timestamp_seconds":1785595721,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdcc7528"} 
[2026-08-01 20:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:20:05] 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-08-01 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 20:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:20:05] 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-08-01 20:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112427520001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112427520001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:20:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:20:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112427520001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":146236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579050,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:20:05] local.INFO: GPS data processed {"connection_id":146236,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:20:05] local.INFO: Acknowledgment sent {"connection_id":146236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:20:21] local.INFO: TCP Data received {"connection_id":147470,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdccb3a8012cc7b7c0074e0be8000c010e2a..."} 
[2026-08-01 20:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdccb3a8012cc7b7c0074e0be8000c010e2a..."} 
[2026-08-01 20:20:21] local.INFO: Processing buffer {"connection_id":147470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdccb3a8012cc7b7c0074e0be8000c010e2a..."} 
[2026-08-01 20:20:21] local.INFO: Packet analysis {"connection_id":147470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdcc"} 
[2026-08-01 20:20:21] local.INFO: Extracted packet for processing {"connection_id":147470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdcc"} 
[2026-08-01 20:20:21] local.INFO: GPS Element Parsed {"raw_longitude":751286208,"raw_latitude":122555368,"longitude_deg":75.1286208,"latitude_deg":12.2555368,"altitude":12,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2cc7b7c0","hex_latitude":"074e0be8","is_valid_coordinates":true} 
[2026-08-01 20:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112431616001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366907511225188352,"note":"Value kept but may cause issues"} 
[2026-08-01 20:20:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4055561801817135104,"note":"Value kept but may cause issues"} 
[2026-08-01 20:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785595737000,"timestamp_ms":1785595737000,"timestamp_seconds":1785595737,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdccb3a8"} 
[2026-08-01 20:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:20:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 20:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-01 20:20:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:20:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:20:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112431616001,"66":25223,"186":206,"2":54016,"24":0,"16":366907511225188352,"44":-4055561801817135104},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,2,24,16,44]} 
[2026-08-01 20:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112431616001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:20:21] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-01 20:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366907511225188352,"km_value":366907511225188.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:20:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4055561801817135104,"description":"Unknown IO ID 44"} 
[2026-08-01 20:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112431616001,"power":25223,"unknown_186":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4055561801817135104}} 
[2026-08-01 20:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":147470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:20:21] local.INFO: GPS data processed {"connection_id":147470,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:20:21] local.INFO: Acknowledgment sent {"connection_id":147470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:20:36] local.INFO: TCP Data received {"connection_id":146236,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdcc7528012d196580071fefa0003b015125..."} 
[2026-08-01 20:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdcc7528012d196580071fefa0003b015125..."} 
[2026-08-01 20:20:36] local.INFO: Processing buffer {"connection_id":146236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdcc7528012d196580071fefa0003b015125..."} 
[2026-08-01 20:20:36] local.INFO: Packet analysis {"connection_id":146236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdcc"} 
[2026-08-01 20:20:36] local.INFO: Extracted packet for processing {"connection_id":146236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdcc"} 
[2026-08-01 20:20:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112427520001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785595721000,"timestamp_ms":1785595721000,"timestamp_seconds":1785595721,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdcc7528"} 
[2026-08-01 20:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:20:36] 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-08-01 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 20:20:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:20:36] 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-08-01 20:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112427520001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112427520001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:20:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:20:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112427520001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":146236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:20:37] local.INFO: GPS data processed {"connection_id":146236,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:20:37] local.INFO: Acknowledgment sent {"connection_id":146236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:20:48] local.INFO: TCP Data received {"connection_id":147471,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:20:48] local.INFO: Processing buffer {"connection_id":147471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:20:48] local.INFO: IMEI packet received {"connection_id":147471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":147471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:20:53] local.INFO: TCP Data received {"connection_id":147471,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:20:53] local.INFO: Processing buffer {"connection_id":147471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:20:53] local.INFO: IMEI packet received {"connection_id":147471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":147471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:20:54] local.INFO: TCP Data received {"connection_id":147471,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:20:54] local.INFO: Processing buffer {"connection_id":147471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:20:54] local.INFO: IMEI packet received {"connection_id":147471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":147471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:20:55] local.INFO: TCP Data received {"connection_id":147471,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdcde458012cc7b7c0074e0be8000c010e29..."} 
[2026-08-01 20:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdcde458012cc7b7c0074e0be8000c010e29..."} 
[2026-08-01 20:20:55] local.INFO: Processing buffer {"connection_id":147471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdcde458012cc7b7c0074e0be8000c010e29..."} 
[2026-08-01 20:20:55] local.INFO: Packet analysis {"connection_id":147471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdcd"} 
[2026-08-01 20:20:55] local.INFO: Extracted packet for processing {"connection_id":147471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdcd"} 
[2026-08-01 20:20:55] local.INFO: GPS Element Parsed {"raw_longitude":751286208,"raw_latitude":122555368,"longitude_deg":75.1286208,"latitude_deg":12.2555368,"altitude":12,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2cc7b7c0","hex_latitude":"074e0be8","is_valid_coordinates":true} 
[2026-08-01 20:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112508672001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366907511225188352,"note":"Value kept but may cause issues"} 
[2026-08-01 20:20:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4055561801817135104,"note":"Value kept but may cause issues"} 
[2026-08-01 20:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785595815000,"timestamp_ms":1785595815000,"timestamp_seconds":1785595815,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdcde458"} 
[2026-08-01 20:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:20:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 20:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-01 20:20:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":147471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":147471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":147471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112508672001,"66":25223,"186":206,"2":54016,"24":0,"16":366907511225188352,"44":-4055561801817135104},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,2,24,16,44]} 
[2026-08-01 20:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112508672001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:20:55] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-01 20:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366907511225188352,"km_value":366907511225188.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:20:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4055561801817135104,"description":"Unknown IO ID 44"} 
[2026-08-01 20:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112508672001,"power":25223,"unknown_186":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4055561801817135104}} 
[2026-08-01 20:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":147471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:20:55] local.INFO: GPS data processed {"connection_id":147471,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:20:55] local.INFO: Acknowledgment sent {"connection_id":147471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:20:58] local.INFO: TCP Data received {"connection_id":147471,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdcde458012cc7b7c0074e0be8000c010e29..."} 
[2026-08-01 20:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdcde458012cc7b7c0074e0be8000c010e29..."} 
[2026-08-01 20:20:58] local.INFO: Processing buffer {"connection_id":147471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdcde458012cc7b7c0074e0be8000c010e29..."} 
[2026-08-01 20:20:58] local.INFO: Packet analysis {"connection_id":147471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdcd"} 
[2026-08-01 20:20:58] local.INFO: Extracted packet for processing {"connection_id":147471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdcd"} 
[2026-08-01 20:20:58] local.INFO: GPS Element Parsed {"raw_longitude":751286208,"raw_latitude":122555368,"longitude_deg":75.1286208,"latitude_deg":12.2555368,"altitude":12,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2cc7b7c0","hex_latitude":"074e0be8","is_valid_coordinates":true} 
[2026-08-01 20:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112508672001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366907511225188352,"note":"Value kept but may cause issues"} 
[2026-08-01 20:20:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4055561801817135104,"note":"Value kept but may cause issues"} 
[2026-08-01 20:20:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785595815000,"timestamp_ms":1785595815000,"timestamp_seconds":1785595815,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdcde458"} 
[2026-08-01 20:20:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:20:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 20:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-01 20:20:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:20:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:20:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":147471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":147471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":147471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:20:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112508672001,"66":25223,"186":206,"2":54016,"24":0,"16":366907511225188352,"44":-4055561801817135104},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,2,24,16,44]} 
[2026-08-01 20:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112508672001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:20:58] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-01 20:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366907511225188352,"km_value":366907511225188.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:20:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4055561801817135104,"description":"Unknown IO ID 44"} 
[2026-08-01 20:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112508672001,"power":25223,"unknown_186":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4055561801817135104}} 
[2026-08-01 20:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":147471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:20:58] local.INFO: GPS data processed {"connection_id":147471,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:20:58] local.INFO: Acknowledgment sent {"connection_id":147471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:20:59] local.INFO: TCP Data received {"connection_id":146481,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:20:59] local.INFO: Processing buffer {"connection_id":146481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:20:59] local.INFO: IMEI packet received {"connection_id":146481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":146481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:21:04] local.INFO: TCP Data received {"connection_id":146481,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:21:04] local.INFO: Processing buffer {"connection_id":146481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:21:04] local.INFO: IMEI packet received {"connection_id":146481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":146481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:21:05] local.INFO: TCP Data received {"connection_id":146481,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdcc7528012d196580071fefa0003b015125..."} 
[2026-08-01 20:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdcc7528012d196580071fefa0003b015125..."} 
[2026-08-01 20:21:05] local.INFO: Processing buffer {"connection_id":146481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdcc7528012d196580071fefa0003b015125..."} 
[2026-08-01 20:21:05] local.INFO: Packet analysis {"connection_id":146481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdcc"} 
[2026-08-01 20:21:05] local.INFO: Extracted packet for processing {"connection_id":146481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdcc"} 
[2026-08-01 20:21:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112427520001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785595721000,"timestamp_ms":1785595721000,"timestamp_seconds":1785595721,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdcc7528"} 
[2026-08-01 20:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:21:05] 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-08-01 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 20:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:21:05] 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-08-01 20:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112427520001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112427520001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:21:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:21:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112427520001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":146481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:21:05] local.INFO: GPS data processed {"connection_id":146481,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:21:05] local.INFO: Acknowledgment sent {"connection_id":146481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:21:37] local.INFO: TCP Data received {"connection_id":146481,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdcc7528012d196580071fefa0003b015125..."} 
[2026-08-01 20:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdcc7528012d196580071fefa0003b015125..."} 
[2026-08-01 20:21:37] local.INFO: Processing buffer {"connection_id":146481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdcc7528012d196580071fefa0003b015125..."} 
[2026-08-01 20:21:37] local.INFO: Packet analysis {"connection_id":146481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdcc"} 
[2026-08-01 20:21:37] local.INFO: Extracted packet for processing {"connection_id":146481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdcc"} 
[2026-08-01 20:21:37] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112427520001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785595721000,"timestamp_ms":1785595721000,"timestamp_seconds":1785595721,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdcc7528"} 
[2026-08-01 20:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:21:37] 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-08-01 20:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 20:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:21:37] 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-08-01 20:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112427520001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112427520001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:21:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:21:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112427520001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":146481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579056,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:21:37] local.INFO: GPS data processed {"connection_id":146481,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:21:37] local.INFO: Acknowledgment sent {"connection_id":146481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:21:40] local.INFO: TCP Data received {"connection_id":147472,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:21:40] local.INFO: Processing buffer {"connection_id":147472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:21:40] local.INFO: IMEI packet received {"connection_id":147472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":147472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:21:42] local.INFO: TCP Data received {"connection_id":147472,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:21:42] local.INFO: Processing buffer {"connection_id":147472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:21:42] local.INFO: IMEI packet received {"connection_id":147472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":147472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:21:43] local.INFO: TCP Data received {"connection_id":147472,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:21:43] local.INFO: Processing buffer {"connection_id":147472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:21:43] local.INFO: IMEI packet received {"connection_id":147472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":147472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:21:43] local.INFO: TCP Data received {"connection_id":147472,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:21:43] local.INFO: Processing buffer {"connection_id":147472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:21:43] local.INFO: IMEI packet received {"connection_id":147472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":147472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:22:04] local.INFO: TCP Data received {"connection_id":148782,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:22:04] local.INFO: Processing buffer {"connection_id":148782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:22:04] local.INFO: IMEI packet received {"connection_id":148782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":148782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:22:09] local.INFO: TCP Data received {"connection_id":148782,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:22:09] local.INFO: Processing buffer {"connection_id":148782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:22:09] local.INFO: IMEI packet received {"connection_id":148782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":148782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:22:10] local.INFO: TCP Data received {"connection_id":148782,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdcc7528012d196580071fefa0003b015125..."} 
[2026-08-01 20:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdcc7528012d196580071fefa0003b015125..."} 
[2026-08-01 20:22:10] local.INFO: Processing buffer {"connection_id":148782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdcc7528012d196580071fefa0003b015125..."} 
[2026-08-01 20:22:10] local.INFO: Packet analysis {"connection_id":148782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdcc"} 
[2026-08-01 20:22:10] local.INFO: Extracted packet for processing {"connection_id":148782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdcc"} 
[2026-08-01 20:22:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112427520001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20: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-08-01 20:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785595721000,"timestamp_ms":1785595721000,"timestamp_seconds":1785595721,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdcc7528"} 
[2026-08-01 20:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:22: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-08-01 20: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":96,"data_length":795,"current_offset":136} 
[2026-08-01 20:22: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-08-01 20: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-08-01 20:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":148782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":148782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":148782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:22: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-08-01 20:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112427520001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112427520001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:22:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:22:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112427520001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":148782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:22:10] local.INFO: GPS data processed {"connection_id":148782,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:22:10] local.INFO: Acknowledgment sent {"connection_id":148782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:22:15] local.INFO: TCP Data received {"connection_id":148782,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdcc7528012d196580071fefa0003b015125..."} 
[2026-08-01 20:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdcc7528012d196580071fefa0003b015125..."} 
[2026-08-01 20:22:15] local.INFO: Processing buffer {"connection_id":148782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdcc7528012d196580071fefa0003b015125..."} 
[2026-08-01 20:22:15] local.INFO: Packet analysis {"connection_id":148782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdcc"} 
[2026-08-01 20:22:15] local.INFO: Extracted packet for processing {"connection_id":148782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdcc"} 
[2026-08-01 20:22:15] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 20:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112427520001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:22:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 20:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785595721000,"timestamp_ms":1785595721000,"timestamp_seconds":1785595721,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdcc7528"} 
[2026-08-01 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-08-01 20:22: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-08-01 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":96,"data_length":795,"current_offset":136} 
[2026-08-01 20:22: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-08-01 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-08-01 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-08-01 20:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:22:15] 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-08-01 20:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112427520001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112427520001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:22:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:22:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:22:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112427520001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":148782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:22:15] local.INFO: GPS data processed {"connection_id":148782,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:22:15] local.INFO: Acknowledgment sent {"connection_id":148782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:22:59] local.INFO: TCP Data received {"connection_id":146482,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:22:59] local.INFO: Processing buffer {"connection_id":146482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:22:59] local.INFO: IMEI packet received {"connection_id":146482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":146482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:23:04] local.INFO: TCP Data received {"connection_id":146482,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:23:04] local.INFO: Processing buffer {"connection_id":146482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:23:04] local.INFO: IMEI packet received {"connection_id":146482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":146482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:23:05] local.INFO: TCP Data received {"connection_id":146482,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdcc7528012d196580071fefa0003b015125..."} 
[2026-08-01 20:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdcc7528012d196580071fefa0003b015125..."} 
[2026-08-01 20:23:05] local.INFO: Processing buffer {"connection_id":146482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdcc7528012d196580071fefa0003b015125..."} 
[2026-08-01 20:23:05] local.INFO: Packet analysis {"connection_id":146482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdcc"} 
[2026-08-01 20:23:05] local.INFO: Extracted packet for processing {"connection_id":146482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdcc"} 
[2026-08-01 20:23:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112427520001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785595721000,"timestamp_ms":1785595721000,"timestamp_seconds":1785595721,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdcc7528"} 
[2026-08-01 20:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:23:05] 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-08-01 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 20:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:23:05] 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-08-01 20:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112427520001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112427520001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:23:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:23:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112427520001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":146482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:23:06] local.INFO: GPS data processed {"connection_id":146482,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:23:06] local.INFO: Acknowledgment sent {"connection_id":146482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:23:37] local.INFO: TCP Data received {"connection_id":146482,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdcc7528012d196580071fefa0003b015125..."} 
[2026-08-01 20:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdcc7528012d196580071fefa0003b015125..."} 
[2026-08-01 20:23:37] local.INFO: Processing buffer {"connection_id":146482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdcc7528012d196580071fefa0003b015125..."} 
[2026-08-01 20:23:37] local.INFO: Packet analysis {"connection_id":146482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdcc"} 
[2026-08-01 20:23:37] local.INFO: Extracted packet for processing {"connection_id":146482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdcc"} 
[2026-08-01 20:23:37] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112427520001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785595721000,"timestamp_ms":1785595721000,"timestamp_seconds":1785595721,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdcc7528"} 
[2026-08-01 20:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:23:37] 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-08-01 20:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 20:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:23:37] 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-08-01 20:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112427520001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112427520001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:23:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:23:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112427520001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":146482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579060,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:23:37] local.INFO: GPS data processed {"connection_id":146482,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:23:37] local.INFO: Acknowledgment sent {"connection_id":146482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:23:59] local.INFO: TCP Data received {"connection_id":147473,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147473,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:23:59] local.INFO: Processing buffer {"connection_id":147473,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:23:59] local.INFO: IMEI packet received {"connection_id":147473,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":147473,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:24:04] local.INFO: TCP Data received {"connection_id":147473,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147473,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:24:04] local.INFO: Processing buffer {"connection_id":147473,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:24:04] local.INFO: IMEI packet received {"connection_id":147473,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":147473,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:24:05] local.INFO: TCP Data received {"connection_id":147473,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdcc7528012d196580071fefa0003b015125..."} 
[2026-08-01 20:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdcc7528012d196580071fefa0003b015125..."} 
[2026-08-01 20:24:05] local.INFO: Processing buffer {"connection_id":147473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdcc7528012d196580071fefa0003b015125..."} 
[2026-08-01 20:24:05] local.INFO: Packet analysis {"connection_id":147473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdcc"} 
[2026-08-01 20:24:05] local.INFO: Extracted packet for processing {"connection_id":147473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdcc"} 
[2026-08-01 20:24:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112427520001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785595721000,"timestamp_ms":1785595721000,"timestamp_seconds":1785595721,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdcc7528"} 
[2026-08-01 20:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:24:05] 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-08-01 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 20:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:24:05] 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-08-01 20:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112427520001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112427520001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:24:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:24:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112427520001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":147473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:24:05] local.INFO: GPS data processed {"connection_id":147473,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:24:05] local.INFO: Acknowledgment sent {"connection_id":147473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:24:36] local.INFO: TCP Data received {"connection_id":147473,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdd10cf0012d196580071fefa0003b015127..."} 
[2026-08-01 20:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdd10cf0012d196580071fefa0003b015127..."} 
[2026-08-01 20:24:36] local.INFO: Processing buffer {"connection_id":147473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdd10cf0012d196580071fefa0003b015127..."} 
[2026-08-01 20:24:36] local.INFO: Packet analysis {"connection_id":147473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdd1"} 
[2026-08-01 20:24:36] local.INFO: Extracted packet for processing {"connection_id":147473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdd1"} 
[2026-08-01 20:24:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112504576001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785596022000,"timestamp_ms":1785596022000,"timestamp_seconds":1785596022,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdd10cf0"} 
[2026-08-01 20:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:24:36] 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-08-01 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:24:36] 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-08-01 20:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112504576001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112504576001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:24:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:24:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112504576001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":147473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579062,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:24:36] local.INFO: GPS data processed {"connection_id":147473,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:24:36] local.INFO: Acknowledgment sent {"connection_id":147473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:24:59] local.INFO: TCP Data received {"connection_id":147474,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:24:59] local.INFO: Processing buffer {"connection_id":147474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:24:59] local.INFO: IMEI packet received {"connection_id":147474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":147474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:25:04] local.INFO: TCP Data received {"connection_id":147474,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:25:04] local.INFO: Processing buffer {"connection_id":147474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:25:04] local.INFO: IMEI packet received {"connection_id":147474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":147474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:25:05] local.INFO: TCP Data received {"connection_id":147474,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdd10cf0012d196580071fefa0003b015127..."} 
[2026-08-01 20:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdd10cf0012d196580071fefa0003b015127..."} 
[2026-08-01 20:25:05] local.INFO: Processing buffer {"connection_id":147474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdd10cf0012d196580071fefa0003b015127..."} 
[2026-08-01 20:25:05] local.INFO: Packet analysis {"connection_id":147474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdd1"} 
[2026-08-01 20:25:05] local.INFO: Extracted packet for processing {"connection_id":147474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdd1"} 
[2026-08-01 20:25:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112504576001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785596022000,"timestamp_ms":1785596022000,"timestamp_seconds":1785596022,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdd10cf0"} 
[2026-08-01 20:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:25:05] 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-08-01 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:25:05] 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-08-01 20:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112504576001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112504576001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:25:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:25:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112504576001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":147474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:25:05] local.INFO: GPS data processed {"connection_id":147474,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:25:05] local.INFO: Acknowledgment sent {"connection_id":147474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:25:36] local.INFO: TCP Data received {"connection_id":147474,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdd10cf0012d196580071fefa0003b015127..."} 
[2026-08-01 20:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdd10cf0012d196580071fefa0003b015127..."} 
[2026-08-01 20:25:36] local.INFO: Processing buffer {"connection_id":147474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdd10cf0012d196580071fefa0003b015127..."} 
[2026-08-01 20:25:36] local.INFO: Packet analysis {"connection_id":147474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdd1"} 
[2026-08-01 20:25:36] local.INFO: Extracted packet for processing {"connection_id":147474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdd1"} 
[2026-08-01 20:25:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112504576001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785596022000,"timestamp_ms":1785596022000,"timestamp_seconds":1785596022,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdd10cf0"} 
[2026-08-01 20:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:25:36] 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-08-01 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:25:36] 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-08-01 20:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112504576001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112504576001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:25:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:25:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112504576001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":147474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579064,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:25:36] local.INFO: GPS data processed {"connection_id":147474,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:25:36] local.INFO: Acknowledgment sent {"connection_id":147474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:25:59] local.INFO: TCP Data received {"connection_id":146485,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:25:59] local.INFO: Processing buffer {"connection_id":146485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:25:59] local.INFO: IMEI packet received {"connection_id":146485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":146485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:26:04] local.INFO: TCP Data received {"connection_id":146485,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:26:04] local.INFO: Processing buffer {"connection_id":146485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:26:04] local.INFO: IMEI packet received {"connection_id":146485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":146485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:26:05] local.INFO: TCP Data received {"connection_id":146485,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdd10cf0012d196580071fefa0003b015127..."} 
[2026-08-01 20:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdd10cf0012d196580071fefa0003b015127..."} 
[2026-08-01 20:26:05] local.INFO: Processing buffer {"connection_id":146485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdd10cf0012d196580071fefa0003b015127..."} 
[2026-08-01 20:26:05] local.INFO: Packet analysis {"connection_id":146485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdd1"} 
[2026-08-01 20:26:05] local.INFO: Extracted packet for processing {"connection_id":146485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdd1"} 
[2026-08-01 20:26:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112504576001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785596022000,"timestamp_ms":1785596022000,"timestamp_seconds":1785596022,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdd10cf0"} 
[2026-08-01 20:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:26:05] 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-08-01 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:26:05] 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-08-01 20:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112504576001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112504576001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:26:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:26:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112504576001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":146485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:26:05] local.INFO: GPS data processed {"connection_id":146485,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:26:05] local.INFO: Acknowledgment sent {"connection_id":146485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:26:36] local.INFO: TCP Data received {"connection_id":146485,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdd10cf0012d196580071fefa0003b015127..."} 
[2026-08-01 20:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdd10cf0012d196580071fefa0003b015127..."} 
[2026-08-01 20:26:36] local.INFO: Processing buffer {"connection_id":146485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdd10cf0012d196580071fefa0003b015127..."} 
[2026-08-01 20:26:36] local.INFO: Packet analysis {"connection_id":146485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdd1"} 
[2026-08-01 20:26:36] local.INFO: Extracted packet for processing {"connection_id":146485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdd1"} 
[2026-08-01 20:26:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112504576001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785596022000,"timestamp_ms":1785596022000,"timestamp_seconds":1785596022,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdd10cf0"} 
[2026-08-01 20:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:26:36] 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-08-01 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:26:36] 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-08-01 20:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112504576001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112504576001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:26:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:26:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112504576001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":146485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:26:36] local.INFO: GPS data processed {"connection_id":146485,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:26:36] local.INFO: Acknowledgment sent {"connection_id":146485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:26:48] local.INFO: TCP Data received {"connection_id":146486,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:26:48] local.INFO: Processing buffer {"connection_id":146486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:26:48] local.INFO: IMEI packet received {"connection_id":146486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":146486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:26:53] local.INFO: TCP Data received {"connection_id":146486,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:26:53] local.INFO: Processing buffer {"connection_id":146486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:26:53] local.INFO: IMEI packet received {"connection_id":146486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":146486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:26:57] local.INFO: TCP Data received {"connection_id":146486,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdd31478012cc75a00074d3ed8000a01152b..."} 
[2026-08-01 20:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdd31478012cc75a00074d3ed8000a01152b..."} 
[2026-08-01 20:26:57] local.INFO: Processing buffer {"connection_id":146486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdd31478012cc75a00074d3ed8000a01152b..."} 
[2026-08-01 20:26:57] local.INFO: Packet analysis {"connection_id":146486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdd3"} 
[2026-08-01 20:26:57] local.INFO: Extracted packet for processing {"connection_id":146486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdd3"} 
[2026-08-01 20:26:57] local.INFO: GPS Element Parsed {"raw_longitude":751262208,"raw_latitude":122502872,"longitude_deg":75.1262208,"latitude_deg":12.2502872,"altitude":10,"angle":277,"satellites":43,"speed":5,"hex_longitude":"2cc75a00","hex_latitude":"074d3ed8","is_valid_coordinates":true} 
[2026-08-01 20:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:26:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112610304001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:26:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366912751085289472,"note":"Value kept but may cause issues"} 
[2026-08-01 20:26:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4078290906200350720,"note":"Value kept but may cause issues"} 
[2026-08-01 20:26:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:26:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785596155000,"timestamp_ms":1785596155000,"timestamp_seconds":1785596155,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdd31478"} 
[2026-08-01 20:26:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:26: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-08-01 20:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-01 20:26:57] 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-08-01 20:26:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:26:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:26:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:26:57] local.INFO: Teltonika packet parsed successfully {"connection_id":146486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:26:57] local.INFO: Passing IMEI to GPS processor {"connection_id":146486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:26:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":146486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:26:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:26:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:26:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:26:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112610304001,"66":27332,"163":206,"2":54016,"24":5,"16":366912751085289472,"44":-4078290906200350720},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,2,24,16,44]} 
[2026-08-01 20:26:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:26:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:26:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112610304001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:26:57] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 20:26:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366912751085289472,"km_value":366912751085289.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:26:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4078290906200350720,"description":"Unknown IO ID 44"} 
[2026-08-01 20:26:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112610304001,"power":27332,"unknown_163":206,"power_alt":54016,"ignition":5,"odometer":null,"unknown_44":-4078290906200350720}} 
[2026-08-01 20:26:57] local.INFO: DEBUG: GPS processor result {"connection_id":146486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:26:57] local.INFO: GPS data processed {"connection_id":146486,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:26:57] local.INFO: Acknowledgment sent {"connection_id":146486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:26:58] local.INFO: TCP Data received {"connection_id":146486,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdd31478012cc75a00074d3ed8000a01152b..."} 
[2026-08-01 20:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdd31478012cc75a00074d3ed8000a01152b..."} 
[2026-08-01 20:26:58] local.INFO: Processing buffer {"connection_id":146486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdd31478012cc75a00074d3ed8000a01152b..."} 
[2026-08-01 20:26:58] local.INFO: Packet analysis {"connection_id":146486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdd3"} 
[2026-08-01 20:26:58] local.INFO: Extracted packet for processing {"connection_id":146486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdd3"} 
[2026-08-01 20:26:58] local.INFO: GPS Element Parsed {"raw_longitude":751262208,"raw_latitude":122502872,"longitude_deg":75.1262208,"latitude_deg":12.2502872,"altitude":10,"angle":277,"satellites":43,"speed":5,"hex_longitude":"2cc75a00","hex_latitude":"074d3ed8","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112615680001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366912751085289472,"note":"Value kept but may cause issues"} 
[2026-08-01 20:26:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4081950080897198080,"note":"Value kept but may cause issues"} 
[2026-08-01 20:26:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785596155000,"timestamp_ms":1785596155000,"timestamp_seconds":1785596155,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdd31478"} 
[2026-08-01 20:26:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:26: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-08-01 20: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":196,"data_length":795,"current_offset":136} 
[2026-08-01 20:26:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:26:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":146486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":146486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":146486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:26:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112615680001,"66":27332,"163":206,"2":54016,"24":5,"16":366912751085289472,"44":-4081950080897198080},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,2,24,16,44]} 
[2026-08-01 20:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112615680001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:26:58] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 20:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366912751085289472,"km_value":366912751085289.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:26:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4081950080897198080,"description":"Unknown IO ID 44"} 
[2026-08-01 20:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112615680001,"power":27332,"unknown_163":206,"power_alt":54016,"ignition":5,"odometer":null,"unknown_44":-4081950080897198080}} 
[2026-08-01 20:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":146486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:26:58] local.INFO: GPS data processed {"connection_id":146486,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:26:58] local.INFO: Acknowledgment sent {"connection_id":146486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:27:04] local.INFO: TCP Data received {"connection_id":148784,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:27:04] local.INFO: Processing buffer {"connection_id":148784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:27:04] local.INFO: IMEI packet received {"connection_id":148784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":148784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:27:09] local.INFO: TCP Data received {"connection_id":148784,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:27:09] local.INFO: Processing buffer {"connection_id":148784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:27:09] local.INFO: IMEI packet received {"connection_id":148784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":148784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:27:10] local.INFO: TCP Data received {"connection_id":148784,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdd10cf0012d196580071fefa0003b015127..."} 
[2026-08-01 20:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdd10cf0012d196580071fefa0003b015127..."} 
[2026-08-01 20:27:10] local.INFO: Processing buffer {"connection_id":148784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdd10cf0012d196580071fefa0003b015127..."} 
[2026-08-01 20:27:10] local.INFO: Packet analysis {"connection_id":148784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdd1"} 
[2026-08-01 20:27:10] local.INFO: Extracted packet for processing {"connection_id":148784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdd1"} 
[2026-08-01 20:27:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112504576001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20: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-08-01 20:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785596022000,"timestamp_ms":1785596022000,"timestamp_seconds":1785596022,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdd10cf0"} 
[2026-08-01 20:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:27: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-08-01 20:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20: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-08-01 20:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":148784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":148784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":148784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:27: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-08-01 20:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112504576001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112504576001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:27:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:27:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112504576001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":148784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579069,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:27:10] local.INFO: GPS data processed {"connection_id":148784,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:27:10] local.INFO: Acknowledgment sent {"connection_id":148784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:27:15] local.INFO: TCP Data received {"connection_id":148784,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdd10cf0012d196580071fefa0003b015127..."} 
[2026-08-01 20:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdd10cf0012d196580071fefa0003b015127..."} 
[2026-08-01 20:27:15] local.INFO: Processing buffer {"connection_id":148784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdd10cf0012d196580071fefa0003b015127..."} 
[2026-08-01 20:27:15] local.INFO: Packet analysis {"connection_id":148784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdd1"} 
[2026-08-01 20:27:15] local.INFO: Extracted packet for processing {"connection_id":148784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdd1"} 
[2026-08-01 20:27:15] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 20:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112504576001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 20:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785596022000,"timestamp_ms":1785596022000,"timestamp_seconds":1785596022,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdd10cf0"} 
[2026-08-01 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-08-01 20:27: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-08-01 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-08-01 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-08-01 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-08-01 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-08-01 20:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:27: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-08-01 20:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112504576001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112504576001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:27:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:27:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112504576001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":148784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:27:15] local.INFO: GPS data processed {"connection_id":148784,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:27:15] local.INFO: Acknowledgment sent {"connection_id":148784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:27:44] local.INFO: TCP Data received {"connection_id":147475,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:27:44] local.INFO: Processing buffer {"connection_id":147475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:27:44] local.INFO: IMEI packet received {"connection_id":147475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":147475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:27:44] local.INFO: TCP Data received {"connection_id":147475,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:27:44] local.INFO: Processing buffer {"connection_id":147475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:27:44] local.INFO: IMEI packet received {"connection_id":147475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":147475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:27:50] local.INFO: TCP Data received {"connection_id":147475,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:27:50] local.INFO: Processing buffer {"connection_id":147475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:27:50] local.INFO: IMEI packet received {"connection_id":147475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":147475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:27:52] local.INFO: TCP Data received {"connection_id":147475,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdd32be8012cc75600074d3fd8000a01212d..."} 
[2026-08-01 20:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdd32be8012cc75600074d3fd8000a01212d..."} 
[2026-08-01 20:27:52] local.INFO: Processing buffer {"connection_id":147475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdd32be8012cc75600074d3fd8000a01212d..."} 
[2026-08-01 20:27:52] local.INFO: Packet analysis {"connection_id":147475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdd3"} 
[2026-08-01 20:27:52] local.INFO: Extracted packet for processing {"connection_id":147475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdd3"} 
[2026-08-01 20:27:52] local.INFO: GPS Element Parsed {"raw_longitude":751261184,"raw_latitude":122503128,"longitude_deg":75.1261184,"latitude_deg":12.2503128,"altitude":10,"angle":289,"satellites":45,"speed":6,"hex_longitude":"2cc75600","hex_latitude":"074d3fd8","is_valid_coordinates":true} 
[2026-08-01 20:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112615680001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366912798329929728,"note":"Value kept but may cause issues"} 
[2026-08-01 20:27:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4081950080897198080,"note":"Value kept but may cause issues"} 
[2026-08-01 20:27:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785596161000,"timestamp_ms":1785596161000,"timestamp_seconds":1785596161,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdd32be8"} 
[2026-08-01 20:27:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:27:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-01 20:27:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:27:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:27:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":147475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":147475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":147475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:27:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112615680001,"66":27397,"163":206,"2":54016,"24":6,"16":366912798329929728,"44":-4081950080897198080},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,2,24,16,44]} 
[2026-08-01 20:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112615680001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:27:52] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 20:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366912798329929728,"km_value":366912798329929.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:27:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4081950080897198080,"description":"Unknown IO ID 44"} 
[2026-08-01 20:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112615680001,"power":27397,"unknown_163":206,"power_alt":54016,"ignition":6,"odometer":null,"unknown_44":-4081950080897198080}} 
[2026-08-01 20:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":147475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:27:52] local.INFO: GPS data processed {"connection_id":147475,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:27:52] local.INFO: Acknowledgment sent {"connection_id":147475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:27:59] local.INFO: TCP Data received {"connection_id":146238,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146238,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:27:59] local.INFO: Processing buffer {"connection_id":146238,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:27:59] local.INFO: IMEI packet received {"connection_id":146238,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":146238,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:28:04] local.INFO: TCP Data received {"connection_id":146238,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146238,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:28:04] local.INFO: Processing buffer {"connection_id":146238,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:28:04] local.INFO: IMEI packet received {"connection_id":146238,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":146238,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:28:05] local.INFO: TCP Data received {"connection_id":146238,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdd10cf0012d196580071fefa0003b015127..."} 
[2026-08-01 20:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdd10cf0012d196580071fefa0003b015127..."} 
[2026-08-01 20:28:05] local.INFO: Processing buffer {"connection_id":146238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdd10cf0012d196580071fefa0003b015127..."} 
[2026-08-01 20:28:05] local.INFO: Packet analysis {"connection_id":146238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdd1"} 
[2026-08-01 20:28:05] local.INFO: Extracted packet for processing {"connection_id":146238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdd1"} 
[2026-08-01 20:28:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112504576001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785596022000,"timestamp_ms":1785596022000,"timestamp_seconds":1785596022,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdd10cf0"} 
[2026-08-01 20:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:28:05] 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-08-01 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146238,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146238,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:28:05] 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-08-01 20:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112504576001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112504576001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:28:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:28:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112504576001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":146238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579072,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:28:05] local.INFO: GPS data processed {"connection_id":146238,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:28:05] local.INFO: Acknowledgment sent {"connection_id":146238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:28:23] local.INFO: TCP Data received {"connection_id":147475,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdd37df0012cc74740074d4660000a012b2d..."} 
[2026-08-01 20:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdd37df0012cc74740074d4660000a012b2d..."} 
[2026-08-01 20:28:23] local.INFO: Processing buffer {"connection_id":147475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdd37df0012cc74740074d4660000a012b2d..."} 
[2026-08-01 20:28:23] local.INFO: Packet analysis {"connection_id":147475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdd3"} 
[2026-08-01 20:28:23] local.INFO: Extracted packet for processing {"connection_id":147475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdd3"} 
[2026-08-01 20:28:23] local.INFO: GPS Element Parsed {"raw_longitude":751257408,"raw_latitude":122504800,"longitude_deg":75.1257408,"latitude_deg":12.25048,"altitude":10,"angle":299,"satellites":45,"speed":5,"hex_longitude":"2cc74740","hex_latitude":"074d4660","is_valid_coordinates":true} 
[2026-08-01 20:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112617216001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366913000193392640,"note":"Value kept but may cause issues"} 
[2026-08-01 20:28:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4083075980803975168,"note":"Value kept but may cause issues"} 
[2026-08-01 20:28:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785596182000,"timestamp_ms":1785596182000,"timestamp_seconds":1785596182,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdd37df0"} 
[2026-08-01 20:28:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:28:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-01 20:28:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:28:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:28:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":147475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":147475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":147475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:28:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112617216001,"66":27180,"163":206,"2":54016,"24":5,"16":366913000193392640,"44":-4083075980803975168},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,2,24,16,44]} 
[2026-08-01 20:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112617216001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:28:23] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 20:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366913000193392640,"km_value":366913000193392.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:28:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4083075980803975168,"description":"Unknown IO ID 44"} 
[2026-08-01 20:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112617216001,"power":27180,"unknown_163":206,"power_alt":54016,"ignition":5,"odometer":null,"unknown_44":-4083075980803975168}} 
[2026-08-01 20:28:23] local.INFO: DEBUG: GPS processor result {"connection_id":147475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:28:23] local.INFO: GPS data processed {"connection_id":147475,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:28:23] local.INFO: Acknowledgment sent {"connection_id":147475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:28:36] local.INFO: TCP Data received {"connection_id":146238,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdd10cf0012d196580071fefa0003b015127..."} 
[2026-08-01 20:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdd10cf0012d196580071fefa0003b015127..."} 
[2026-08-01 20:28:36] local.INFO: Processing buffer {"connection_id":146238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdd10cf0012d196580071fefa0003b015127..."} 
[2026-08-01 20:28:36] local.INFO: Packet analysis {"connection_id":146238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdd1"} 
[2026-08-01 20:28:36] local.INFO: Extracted packet for processing {"connection_id":146238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdd1"} 
[2026-08-01 20:28:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112504576001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785596022000,"timestamp_ms":1785596022000,"timestamp_seconds":1785596022,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdd10cf0"} 
[2026-08-01 20:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:28:36] 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-08-01 20:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146238,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146238,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:28:36] 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-08-01 20:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112504576001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112504576001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:28:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:28:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112504576001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":146238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579074,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:28:36] local.INFO: GPS data processed {"connection_id":146238,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:28:36] local.INFO: Acknowledgment sent {"connection_id":146238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:28:43] local.INFO: TCP Data received {"connection_id":148785,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:28:43] local.INFO: Processing buffer {"connection_id":148785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:28:43] local.INFO: IMEI packet received {"connection_id":148785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":148785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:28:46] local.INFO: TCP Data received {"connection_id":148785,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:28:46] local.INFO: Processing buffer {"connection_id":148785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:28:46] local.INFO: IMEI packet received {"connection_id":148785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":148785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:28:48] local.INFO: TCP Data received {"connection_id":148785,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:28:48] local.INFO: Processing buffer {"connection_id":148785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:28:48] local.INFO: IMEI packet received {"connection_id":148785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":148785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:28:50] local.INFO: TCP Data received {"connection_id":148785,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdd3cff8012cc73940074d4ec0000a012a2c..."} 
[2026-08-01 20:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdd3cff8012cc73940074d4ec0000a012a2c..."} 
[2026-08-01 20:28:50] local.INFO: Processing buffer {"connection_id":148785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdd3cff8012cc73940074d4ec0000a012a2c..."} 
[2026-08-01 20:28:50] local.INFO: Packet analysis {"connection_id":148785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdd3"} 
[2026-08-01 20:28:50] local.INFO: Extracted packet for processing {"connection_id":148785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdd3"} 
[2026-08-01 20:28:50] local.INFO: GPS Element Parsed {"raw_longitude":751253824,"raw_latitude":122506944,"longitude_deg":75.1253824,"latitude_deg":12.2506944,"altitude":10,"angle":298,"satellites":44,"speed":8,"hex_longitude":"2cc73940","hex_latitude":"074d4ec0","is_valid_coordinates":true} 
[2026-08-01 20:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112622592001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366913197761888256,"note":"Value kept but may cause issues"} 
[2026-08-01 20:28:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4087227736710029312,"note":"Value kept but may cause issues"} 
[2026-08-01 20:28:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785596203000,"timestamp_ms":1785596203000,"timestamp_seconds":1785596203,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdd3cff8"} 
[2026-08-01 20:28:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:28:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-01 20:28:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:28:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:28:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:28:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112622592001,"66":27365,"163":206,"2":54016,"24":8,"16":366913197761888256,"44":-4087227736710029312},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,2,24,16,44]} 
[2026-08-01 20:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112622592001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:28:50] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-01 20:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366913197761888256,"km_value":366913197761888.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:28:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4087227736710029312,"description":"Unknown IO ID 44"} 
[2026-08-01 20:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112622592001,"power":27365,"unknown_163":206,"power_alt":54016,"ignition":8,"odometer":null,"unknown_44":-4087227736710029312}} 
[2026-08-01 20:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":148785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:28:50] local.INFO: GPS data processed {"connection_id":148785,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:28:50] local.INFO: Acknowledgment sent {"connection_id":148785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:28:59] local.INFO: TCP Data received {"connection_id":146239,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:28:59] local.INFO: Processing buffer {"connection_id":146239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:28:59] local.INFO: IMEI packet received {"connection_id":146239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":146239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:29:04] local.INFO: TCP Data received {"connection_id":146239,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:29:04] local.INFO: Processing buffer {"connection_id":146239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:29:04] local.INFO: IMEI packet received {"connection_id":146239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":146239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:29:05] local.INFO: TCP Data received {"connection_id":146239,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdd10cf0012d196580071fefa0003b015127..."} 
[2026-08-01 20:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdd10cf0012d196580071fefa0003b015127..."} 
[2026-08-01 20:29:05] local.INFO: Processing buffer {"connection_id":146239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdd10cf0012d196580071fefa0003b015127..."} 
[2026-08-01 20:29:05] local.INFO: Packet analysis {"connection_id":146239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdd1"} 
[2026-08-01 20:29:05] local.INFO: Extracted packet for processing {"connection_id":146239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdd1"} 
[2026-08-01 20:29:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112504576001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785596022000,"timestamp_ms":1785596022000,"timestamp_seconds":1785596022,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdd10cf0"} 
[2026-08-01 20:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:29:05] 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-08-01 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:29:05] 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-08-01 20:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112504576001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112504576001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:29:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:29:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112504576001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":146239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:29:05] local.INFO: GPS data processed {"connection_id":146239,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:29:05] local.INFO: Acknowledgment sent {"connection_id":146239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:29:31] local.INFO: TCP Data received {"connection_id":148785,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdd42200012cc721c0074d5bc80008012829..."} 
[2026-08-01 20:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdd42200012cc721c0074d5bc80008012829..."} 
[2026-08-01 20:29:31] local.INFO: Processing buffer {"connection_id":148785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdd42200012cc721c0074d5bc80008012829..."} 
[2026-08-01 20:29:31] local.INFO: Packet analysis {"connection_id":148785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdd4"} 
[2026-08-01 20:29:31] local.INFO: Extracted packet for processing {"connection_id":148785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdd4"} 
[2026-08-01 20:29:31] local.INFO: GPS Element Parsed {"raw_longitude":751247808,"raw_latitude":122510280,"longitude_deg":75.1247808,"latitude_deg":12.251028,"altitude":8,"angle":296,"satellites":41,"speed":17,"hex_longitude":"2cc721c0","hex_latitude":"074d5bc8","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112627968001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366913528474370048,"note":"Value kept but may cause issues"} 
[2026-08-01 20:29:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4091168386383429632,"note":"Value kept but may cause issues"} 
[2026-08-01 20:29:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785596224000,"timestamp_ms":1785596224000,"timestamp_seconds":1785596224,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdd42200"} 
[2026-08-01 20:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:29: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-08-01 20: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-01 20:29: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-08-01 20: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-08-01 20:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":148785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":148785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":148785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112627968001,"66":27300,"164":206,"2":54016,"24":17,"16":366913528474370048,"44":-4091168386383429632},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,2,24,16,44]} 
[2026-08-01 20:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112627968001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:29:31] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-01 20:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366913528474370048,"km_value":366913528474370.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:29:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4091168386383429632,"description":"Unknown IO ID 44"} 
[2026-08-01 20:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112627968001,"power":27300,"unknown_164":206,"power_alt":54016,"ignition":17,"odometer":null,"unknown_44":-4091168386383429632}} 
[2026-08-01 20:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":148785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:29:31] local.INFO: GPS data processed {"connection_id":148785,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:29:31] local.INFO: Acknowledgment sent {"connection_id":148785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:29:36] local.INFO: TCP Data received {"connection_id":146239,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdd5a4b8012d196580071fefa0003b015126..."} 
[2026-08-01 20:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdd5a4b8012d196580071fefa0003b015126..."} 
[2026-08-01 20:29:36] local.INFO: Processing buffer {"connection_id":146239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdd5a4b8012d196580071fefa0003b015126..."} 
[2026-08-01 20:29:36] local.INFO: Packet analysis {"connection_id":146239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdd5"} 
[2026-08-01 20:29:36] local.INFO: Extracted packet for processing {"connection_id":146239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdd5"} 
[2026-08-01 20:29:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112581632001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785596323000,"timestamp_ms":1785596323000,"timestamp_seconds":1785596323,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdd5a4b8"} 
[2026-08-01 20:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 20:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:29:36] 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-08-01 20:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112581632001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112581632001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:29:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:29:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112581632001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":146239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:29:36] local.INFO: GPS data processed {"connection_id":146239,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:29:36] local.INFO: Acknowledgment sent {"connection_id":146239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:29:50] local.INFO: TCP Data received {"connection_id":146240,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:29:50] local.INFO: Processing buffer {"connection_id":146240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:29:50] local.INFO: IMEI packet received {"connection_id":146240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":146240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:29:50] local.INFO: TCP Data received {"connection_id":146240,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:29:50] local.INFO: Processing buffer {"connection_id":146240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:29:50] local.INFO: IMEI packet received {"connection_id":146240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":146240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:29:52] local.INFO: TCP Data received {"connection_id":146240,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:29:52] local.INFO: Processing buffer {"connection_id":146240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:29:52] local.INFO: IMEI packet received {"connection_id":146240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":146240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:29:53] local.INFO: TCP Data received {"connection_id":146240,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdd47408012cc70640074d6b580007012b25..."} 
[2026-08-01 20:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdd47408012cc70640074d6b580007012b25..."} 
[2026-08-01 20:29:53] local.INFO: Processing buffer {"connection_id":146240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdd47408012cc70640074d6b580007012b25..."} 
[2026-08-01 20:29:53] local.INFO: Packet analysis {"connection_id":146240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdd4"} 
[2026-08-01 20:29:53] local.INFO: Extracted packet for processing {"connection_id":146240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdd4"} 
[2026-08-01 20:29:53] local.INFO: GPS Element Parsed {"raw_longitude":751240768,"raw_latitude":122514264,"longitude_deg":75.1240768,"latitude_deg":12.2514264,"altitude":7,"angle":299,"satellites":37,"speed":6,"hex_longitude":"2cc70640","hex_latitude":"074d6b58","is_valid_coordinates":true} 
[2026-08-01 20:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112633344001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366913915021426688,"note":"Value kept but may cause issues"} 
[2026-08-01 20:29:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4097783048335276032,"note":"Value kept but may cause issues"} 
[2026-08-01 20:29:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785596245000,"timestamp_ms":1785596245000,"timestamp_seconds":1785596245,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdd47408"} 
[2026-08-01 20:29:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:29:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-01 20:29:53] 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-08-01 20:29:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:29:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":146240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":146240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":146240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:29:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112633344001,"66":27321,"164":206,"2":54016,"24":6,"16":366913915021426688,"44":-4097783048335276032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,2,24,16,44]} 
[2026-08-01 20:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112633344001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:29:53] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-01 20:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366913915021426688,"km_value":366913915021426.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:29:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4097783048335276032,"description":"Unknown IO ID 44"} 
[2026-08-01 20:29:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112633344001,"power":27321,"unknown_164":206,"power_alt":54016,"ignition":6,"odometer":null,"unknown_44":-4097783048335276032}} 
[2026-08-01 20:29:53] local.INFO: DEBUG: GPS processor result {"connection_id":146240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:29:53] local.INFO: GPS data processed {"connection_id":146240,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:29:53] local.INFO: Acknowledgment sent {"connection_id":146240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:29:54] local.INFO: TCP Data received {"connection_id":146240,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdd4c610012cc6f940074d73280007012d24..."} 
[2026-08-01 20:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdd4c610012cc6f940074d73280007012d24..."} 
[2026-08-01 20:29:54] local.INFO: Processing buffer {"connection_id":146240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdd4c610012cc6f940074d73280007012d24..."} 
[2026-08-01 20:29:54] local.INFO: Packet analysis {"connection_id":146240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdd4"} 
[2026-08-01 20:29:54] local.INFO: Extracted packet for processing {"connection_id":146240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdd4"} 
[2026-08-01 20:29:54] local.INFO: GPS Element Parsed {"raw_longitude":751237440,"raw_latitude":122516264,"longitude_deg":75.123744,"latitude_deg":12.2516264,"altitude":7,"angle":301,"satellites":36,"speed":9,"hex_longitude":"2cc6f940","hex_latitude":"074d7328","is_valid_coordinates":true} 
[2026-08-01 20:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112638720001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366914099705020416,"note":"Value kept but may cause issues"} 
[2026-08-01 20:29:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4105523610193799168,"note":"Value kept but may cause issues"} 
[2026-08-01 20:29:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785596266000,"timestamp_ms":1785596266000,"timestamp_seconds":1785596266,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdd4c610"} 
[2026-08-01 20:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:29:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-01 20:29:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:29:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:29:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112638720001,"66":26484,"164":206,"2":54016,"24":9,"16":366914099705020416,"44":-4105523610193799168},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,2,24,16,44]} 
[2026-08-01 20:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112638720001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:29:54] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-01 20:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366914099705020416,"km_value":366914099705020.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:29:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4105523610193799168,"description":"Unknown IO ID 44"} 
[2026-08-01 20:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112638720001,"power":26484,"unknown_164":206,"power_alt":54016,"ignition":9,"odometer":null,"unknown_44":-4105523610193799168}} 
[2026-08-01 20:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":146240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:29:54] local.INFO: GPS data processed {"connection_id":146240,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:29:54] local.INFO: Acknowledgment sent {"connection_id":146240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:29:59] local.INFO: TCP Data received {"connection_id":146487,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:29:59] local.INFO: Processing buffer {"connection_id":146487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:29:59] local.INFO: IMEI packet received {"connection_id":146487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":146487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:30:04] local.INFO: TCP Data received {"connection_id":146487,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:30:04] local.INFO: Processing buffer {"connection_id":146487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:30:04] local.INFO: IMEI packet received {"connection_id":146487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":146487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:30:05] local.INFO: TCP Data received {"connection_id":146487,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdd5a4b8012d196580071fefa0003b015126..."} 
[2026-08-01 20:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdd5a4b8012d196580071fefa0003b015126..."} 
[2026-08-01 20:30:05] local.INFO: Processing buffer {"connection_id":146487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdd5a4b8012d196580071fefa0003b015126..."} 
[2026-08-01 20:30:05] local.INFO: Packet analysis {"connection_id":146487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdd5"} 
[2026-08-01 20:30:05] local.INFO: Extracted packet for processing {"connection_id":146487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdd5"} 
[2026-08-01 20:30:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112581632001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785596323000,"timestamp_ms":1785596323000,"timestamp_seconds":1785596323,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdd5a4b8"} 
[2026-08-01 20:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:30:05] 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-08-01 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 20:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:30:05] 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-08-01 20:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112581632001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112581632001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:30:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:30:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112581632001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":146487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:30:05] local.INFO: GPS data processed {"connection_id":146487,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:30:05] local.INFO: Acknowledgment sent {"connection_id":146487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:30:07] local.INFO: TCP Data received {"connection_id":146240,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdd51818012cc6e740074d7db80008012a29..."} 
[2026-08-01 20:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdd51818012cc6e740074d7db80008012a29..."} 
[2026-08-01 20:30:07] local.INFO: Processing buffer {"connection_id":146240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdd51818012cc6e740074d7db80008012a29..."} 
[2026-08-01 20:30:07] local.INFO: Packet analysis {"connection_id":146240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdd5"} 
[2026-08-01 20:30:07] local.INFO: Extracted packet for processing {"connection_id":146240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdd5"} 
[2026-08-01 20:30:07] local.INFO: GPS Element Parsed {"raw_longitude":751232832,"raw_latitude":122518968,"longitude_deg":75.1232832,"latitude_deg":12.2518968,"altitude":8,"angle":298,"satellites":41,"speed":13,"hex_longitude":"2cc6e740","hex_latitude":"074d7db8","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112644096001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366914353108090880,"note":"Value kept but may cause issues"} 
[2026-08-01 20:30:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4109182784890525696,"note":"Value kept but may cause issues"} 
[2026-08-01 20:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785596287000,"timestamp_ms":1785596287000,"timestamp_seconds":1785596287,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdd51818"} 
[2026-08-01 20:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:30: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-08-01 20: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":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-01 20:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112644096001,"66":27365,"164":206,"2":54016,"24":13,"16":366914353108090880,"44":-4109182784890525696},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,2,24,16,44]} 
[2026-08-01 20:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112644096001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:30:07] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-01 20:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366914353108090880,"km_value":366914353108090.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:30:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4109182784890525696,"description":"Unknown IO ID 44"} 
[2026-08-01 20:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112644096001,"power":27365,"unknown_164":206,"power_alt":54016,"ignition":13,"odometer":null,"unknown_44":-4109182784890525696}} 
[2026-08-01 20:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":146240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:30:07] local.INFO: GPS data processed {"connection_id":146240,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:30:07] local.INFO: Acknowledgment sent {"connection_id":146240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:30:36] local.INFO: TCP Data received {"connection_id":146487,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdd5a4b8012d196580071fefa0003b015126..."} 
[2026-08-01 20:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdd5a4b8012d196580071fefa0003b015126..."} 
[2026-08-01 20:30:36] local.INFO: Processing buffer {"connection_id":146487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdd5a4b8012d196580071fefa0003b015126..."} 
[2026-08-01 20:30:36] local.INFO: Packet analysis {"connection_id":146487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdd5"} 
[2026-08-01 20:30:36] local.INFO: Extracted packet for processing {"connection_id":146487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdd5"} 
[2026-08-01 20:30:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112581632001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785596323000,"timestamp_ms":1785596323000,"timestamp_seconds":1785596323,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdd5a4b8"} 
[2026-08-01 20:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 20:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:30:36] 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-08-01 20:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112581632001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112581632001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:30:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:30:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112581632001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":146487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:30:37] local.INFO: GPS data processed {"connection_id":146487,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:30:37] local.INFO: Acknowledgment sent {"connection_id":146487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:30:45] local.INFO: TCP Data received {"connection_id":146488,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:30:45] local.INFO: Processing buffer {"connection_id":146488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:30:45] local.INFO: IMEI packet received {"connection_id":146488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":146488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:30:49] local.INFO: TCP Data received {"connection_id":146488,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:30:49] local.INFO: Processing buffer {"connection_id":146488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:30:49] local.INFO: IMEI packet received {"connection_id":146488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":146488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:30:51] local.INFO: TCP Data received {"connection_id":146488,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:30:51] local.INFO: Processing buffer {"connection_id":146488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:30:51] local.INFO: IMEI packet received {"connection_id":146488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":146488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:30:53] local.INFO: TCP Data received {"connection_id":146488,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdd66fd8012cc61f80074e1630000d014f2d..."} 
[2026-08-01 20:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdd66fd8012cc61f80074e1630000d014f2d..."} 
[2026-08-01 20:30:53] local.INFO: Processing buffer {"connection_id":146488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdd66fd8012cc61f80074e1630000d014f2d..."} 
[2026-08-01 20:30:53] local.INFO: Packet analysis {"connection_id":146488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdd6"} 
[2026-08-01 20:30:53] local.INFO: Extracted packet for processing {"connection_id":146488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdd6"} 
[2026-08-01 20:30:53] local.INFO: GPS Element Parsed {"raw_longitude":751181696,"raw_latitude":122558000,"longitude_deg":75.1181696,"latitude_deg":12.2558,"altitude":13,"angle":335,"satellites":45,"speed":55,"hex_longitude":"2cc61f80","hex_latitude":"074e1630","is_valid_coordinates":true} 
[2026-08-01 20:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:30:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112670208001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:30:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366917647348006912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:30:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4166251836410023936,"note":"Value kept but may cause issues"} 
[2026-08-01 20:30:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:30:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785596375000,"timestamp_ms":1785596375000,"timestamp_seconds":1785596375,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdd66fd8"} 
[2026-08-01 20:30:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:30: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-08-01 20:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-01 20:30:53] 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-08-01 20:30:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:30:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:30:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:30:53] local.INFO: Teltonika packet parsed successfully {"connection_id":146488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:30:53] local.INFO: Passing IMEI to GPS processor {"connection_id":146488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:30:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":146488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:30:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:30:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:30:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:30:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112670208001,"66":27397,"255":206,"2":54016,"24":55,"16":366917647348006912,"44":-4166251836410023936},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,2,24,16,44]} 
[2026-08-01 20:30:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:30:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:30:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112670208001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:30:53] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-01 20:30:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366917647348006912,"km_value":366917647348006.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:30:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4166251836410023936,"description":"Unknown IO ID 44"} 
[2026-08-01 20:30:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112670208001,"power":27397,"unknown_255":206,"power_alt":54016,"ignition":55,"odometer":null,"unknown_44":-4166251836410023936}} 
[2026-08-01 20:30:53] local.INFO: DEBUG: GPS processor result {"connection_id":146488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:30:53] local.INFO: GPS data processed {"connection_id":146488,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:30:53] local.INFO: Acknowledgment sent {"connection_id":146488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:30:54] local.INFO: TCP Data received {"connection_id":146488,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdd68b30012cc60e40074e3af8000a014f2c..."} 
[2026-08-01 20:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdd68b30012cc60e40074e3af8000a014f2c..."} 
[2026-08-01 20:30:54] local.INFO: Processing buffer {"connection_id":146488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdd68b30012cc60e40074e3af8000a014f2c..."} 
[2026-08-01 20:30:54] local.INFO: Packet analysis {"connection_id":146488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdd6"} 
[2026-08-01 20:30:54] local.INFO: Extracted packet for processing {"connection_id":146488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdd6"} 
[2026-08-01 20:30:54] local.INFO: GPS Element Parsed {"raw_longitude":751177280,"raw_latitude":122567416,"longitude_deg":75.117728,"latitude_deg":12.2567416,"altitude":10,"angle":335,"satellites":44,"speed":61,"hex_longitude":"2cc60e40","hex_latitude":"074e3af8","is_valid_coordinates":true} 
[2026-08-01 20:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112672000001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366918149859180544,"note":"Value kept but may cause issues"} 
[2026-08-01 20:30:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4170473961058586624,"note":"Value kept but may cause issues"} 
[2026-08-01 20:30:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785596382000,"timestamp_ms":1785596382000,"timestamp_seconds":1785596382,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdd68b30"} 
[2026-08-01 20:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:30:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-01 20:30:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:30:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:30:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112672000001,"66":27343,"255":206,"2":54016,"24":61,"16":366918149859180544,"44":-4170473961058586624},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,2,24,16,44]} 
[2026-08-01 20:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112672000001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:30:54] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-01 20:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366918149859180544,"km_value":366918149859180.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:30:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4170473961058586624,"description":"Unknown IO ID 44"} 
[2026-08-01 20:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112672000001,"power":27343,"unknown_255":206,"power_alt":54016,"ignition":61,"odometer":null,"unknown_44":-4170473961058586624}} 
[2026-08-01 20:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":146488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:30:54] local.INFO: GPS data processed {"connection_id":146488,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:30:54] local.INFO: Acknowledgment sent {"connection_id":146488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:30:59] local.INFO: TCP Data received {"connection_id":147476,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:30:59] local.INFO: Processing buffer {"connection_id":147476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:30:59] local.INFO: IMEI packet received {"connection_id":147476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":147476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:31:04] local.INFO: TCP Data received {"connection_id":147476,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:31:04] local.INFO: Processing buffer {"connection_id":147476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:31:04] local.INFO: IMEI packet received {"connection_id":147476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":147476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:31:05] local.INFO: TCP Data received {"connection_id":147476,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdd5a4b8012d196580071fefa0003b015126..."} 
[2026-08-01 20:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdd5a4b8012d196580071fefa0003b015126..."} 
[2026-08-01 20:31:05] local.INFO: Processing buffer {"connection_id":147476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdd5a4b8012d196580071fefa0003b015126..."} 
[2026-08-01 20:31:05] local.INFO: Packet analysis {"connection_id":147476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdd5"} 
[2026-08-01 20:31:05] local.INFO: Extracted packet for processing {"connection_id":147476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdd5"} 
[2026-08-01 20:31:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112581632001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785596323000,"timestamp_ms":1785596323000,"timestamp_seconds":1785596323,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdd5a4b8"} 
[2026-08-01 20:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:31:05] 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-08-01 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 20:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112581632001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112581632001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:31:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:31:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112581632001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":147476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:31:05] local.INFO: GPS data processed {"connection_id":147476,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:31:05] local.INFO: Acknowledgment sent {"connection_id":147476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:31:25] local.INFO: TCP Data received {"connection_id":146488,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdd6a2a0012cc5ffc0074e5b28000a014f2c..."} 
[2026-08-01 20:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdd6a2a0012cc5ffc0074e5b28000a014f2c..."} 
[2026-08-01 20:31:25] local.INFO: Processing buffer {"connection_id":146488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdd6a2a0012cc5ffc0074e5b28000a014f2c..."} 
[2026-08-01 20:31:25] local.INFO: Packet analysis {"connection_id":146488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdd6"} 
[2026-08-01 20:31:25] local.INFO: Extracted packet for processing {"connection_id":146488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdd6"} 
[2026-08-01 20:31:25] local.INFO: GPS Element Parsed {"raw_longitude":751173568,"raw_latitude":122575656,"longitude_deg":75.1173568,"latitude_deg":12.2575656,"altitude":10,"angle":335,"satellites":44,"speed":59,"hex_longitude":"2cc5ffc0","hex_latitude":"074e5b28","is_valid_coordinates":true} 
[2026-08-01 20:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112673792001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366918587945844736,"note":"Value kept but may cause issues"} 
[2026-08-01 20:31:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4175329404404434944,"note":"Value kept but may cause issues"} 
[2026-08-01 20:31:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785596388000,"timestamp_ms":1785596388000,"timestamp_seconds":1785596388,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdd6a2a0"} 
[2026-08-01 20:31:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:31:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-01 20:31:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:31:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:31:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":146488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":146488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":146488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:31:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112673792001,"66":27463,"238":206,"2":54016,"24":59,"16":366918587945844736,"44":-4175329404404434944},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,2,24,16,44]} 
[2026-08-01 20:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112673792001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:31:25] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-08-01 20:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366918587945844736,"km_value":366918587945844.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:31:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4175329404404434944,"description":"Unknown IO ID 44"} 
[2026-08-01 20:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112673792001,"power":27463,"unknown_238":206,"power_alt":54016,"ignition":59,"odometer":null,"unknown_44":-4175329404404434944}} 
[2026-08-01 20:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":146488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:31:25] local.INFO: GPS data processed {"connection_id":146488,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:31:25] local.INFO: Acknowledgment sent {"connection_id":146488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:31:36] local.INFO: TCP Data received {"connection_id":147476,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdd5a4b8012d196580071fefa0003b015126..."} 
[2026-08-01 20:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdd5a4b8012d196580071fefa0003b015126..."} 
[2026-08-01 20:31:36] local.INFO: Processing buffer {"connection_id":147476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdd5a4b8012d196580071fefa0003b015126..."} 
[2026-08-01 20:31:36] local.INFO: Packet analysis {"connection_id":147476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdd5"} 
[2026-08-01 20:31:36] local.INFO: Extracted packet for processing {"connection_id":147476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdd5"} 
[2026-08-01 20:31:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112581632001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785596323000,"timestamp_ms":1785596323000,"timestamp_seconds":1785596323,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdd5a4b8"} 
[2026-08-01 20:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 20:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112581632001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112581632001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:31:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:31:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112581632001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":147476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:31:37] local.INFO: GPS data processed {"connection_id":147476,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:31:37] local.INFO: Acknowledgment sent {"connection_id":147476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:31:43] local.INFO: TCP Data received {"connection_id":148786,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:31:43] local.INFO: Processing buffer {"connection_id":148786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:31:43] local.INFO: IMEI packet received {"connection_id":148786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":148786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:31:48] local.INFO: TCP Data received {"connection_id":148786,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:31:48] local.INFO: Processing buffer {"connection_id":148786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:31:48] local.INFO: IMEI packet received {"connection_id":148786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":148786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:31:50] local.INFO: TCP Data received {"connection_id":148786,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdd6bdf8012cc5ee80074e7fc0000b01502c..."} 
[2026-08-01 20:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdd6bdf8012cc5ee80074e7fc0000b01502c..."} 
[2026-08-01 20:31:50] local.INFO: Processing buffer {"connection_id":148786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdd6bdf8012cc5ee80074e7fc0000b01502c..."} 
[2026-08-01 20:31:50] local.INFO: Packet analysis {"connection_id":148786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdd6"} 
[2026-08-01 20:31:50] local.INFO: Extracted packet for processing {"connection_id":148786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdd6"} 
[2026-08-01 20:31:50] local.INFO: GPS Element Parsed {"raw_longitude":751169152,"raw_latitude":122585024,"longitude_deg":75.1169152,"latitude_deg":12.2585024,"altitude":11,"angle":336,"satellites":44,"speed":59,"hex_longitude":"2cc5ee80","hex_latitude":"074e7fc0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:31:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112675328001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:31:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366919086162051072,"note":"Value kept but may cause issues"} 
[2026-08-01 20:31:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4179410791564630016,"note":"Value kept but may cause issues"} 
[2026-08-01 20:31:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:31:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785596395000,"timestamp_ms":1785596395000,"timestamp_seconds":1785596395,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdd6bdf8"} 
[2026-08-01 20:31:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:31:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20:31:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-01 20:31:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:31:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:31:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:31:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:31:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:31:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:31:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:31:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:31:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:31:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112675328001,"66":27332,"238":206,"2":54016,"24":59,"16":366919086162051072,"44":-4179410791564630016},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,2,24,16,44]} 
[2026-08-01 20:31:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:31:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:31:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112675328001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:31:50] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-08-01 20:31:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366919086162051072,"km_value":366919086162051.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:31:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4179410791564630016,"description":"Unknown IO ID 44"} 
[2026-08-01 20:31:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112675328001,"power":27332,"unknown_238":206,"power_alt":54016,"ignition":59,"odometer":null,"unknown_44":-4179410791564630016}} 
[2026-08-01 20:31:50] local.INFO: DEBUG: GPS processor result {"connection_id":148786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:31:50] local.INFO: GPS data processed {"connection_id":148786,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:31:50] local.INFO: Acknowledgment sent {"connection_id":148786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:32:04] local.INFO: TCP Data received {"connection_id":147477,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:32:04] local.INFO: Processing buffer {"connection_id":147477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:32:04] local.INFO: IMEI packet received {"connection_id":147477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":147477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:32:09] local.INFO: TCP Data received {"connection_id":147477,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:32:09] local.INFO: Processing buffer {"connection_id":147477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:32:09] local.INFO: IMEI packet received {"connection_id":147477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":147477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:32:10] local.INFO: TCP Data received {"connection_id":147477,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdd5a4b8012d196580071fefa0003b015126..."} 
[2026-08-01 20:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdd5a4b8012d196580071fefa0003b015126..."} 
[2026-08-01 20:32:10] local.INFO: Processing buffer {"connection_id":147477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdd5a4b8012d196580071fefa0003b015126..."} 
[2026-08-01 20:32:10] local.INFO: Packet analysis {"connection_id":147477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdd5"} 
[2026-08-01 20:32:10] local.INFO: Extracted packet for processing {"connection_id":147477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdd5"} 
[2026-08-01 20:32:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112581632001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20: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-08-01 20:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785596323000,"timestamp_ms":1785596323000,"timestamp_seconds":1785596323,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdd5a4b8"} 
[2026-08-01 20:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:32: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-08-01 20: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":96,"data_length":795,"current_offset":136} 
[2026-08-01 20:32: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-08-01 20: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-08-01 20:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":147477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":147477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":147477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:32: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-08-01 20:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112581632001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112581632001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:32:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:32:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112581632001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":147477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:32:10] local.INFO: GPS data processed {"connection_id":147477,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:32:10] local.INFO: Acknowledgment sent {"connection_id":147477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:32:15] local.INFO: TCP Data received {"connection_id":147477,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdd5a4b8012d196580071fefa0003b015126..."} 
[2026-08-01 20:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdd5a4b8012d196580071fefa0003b015126..."} 
[2026-08-01 20:32:15] local.INFO: Processing buffer {"connection_id":147477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdd5a4b8012d196580071fefa0003b015126..."} 
[2026-08-01 20:32:15] local.INFO: Packet analysis {"connection_id":147477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdd5"} 
[2026-08-01 20:32:15] local.INFO: Extracted packet for processing {"connection_id":147477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdd5"} 
[2026-08-01 20:32:15] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 20:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112581632001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 20:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785596323000,"timestamp_ms":1785596323000,"timestamp_seconds":1785596323,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdd5a4b8"} 
[2026-08-01 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-08-01 20:32: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-08-01 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-08-01 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-08-01 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-08-01 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-08-01 20:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":147477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":147477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":147477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:32: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-08-01 20:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112581632001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112581632001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:32:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:32:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112581632001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":147477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:32:15] local.INFO: GPS data processed {"connection_id":147477,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:32:15] local.INFO: Acknowledgment sent {"connection_id":147477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:32:21] local.INFO: TCP Data received {"connection_id":148786,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdd6d568012cc5e140074e9ff8000b01542b..."} 
[2026-08-01 20:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdd6d568012cc5e140074e9ff8000b01542b..."} 
[2026-08-01 20:32:21] local.INFO: Processing buffer {"connection_id":148786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdd6d568012cc5e140074e9ff8000b01542b..."} 
[2026-08-01 20:32:21] local.INFO: Packet analysis {"connection_id":148786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdd6"} 
[2026-08-01 20:32:21] local.INFO: Extracted packet for processing {"connection_id":148786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdd6"} 
[2026-08-01 20:32:21] local.INFO: GPS Element Parsed {"raw_longitude":751165760,"raw_latitude":122593272,"longitude_deg":75.116576,"latitude_deg":12.2593272,"altitude":11,"angle":340,"satellites":43,"speed":59,"hex_longitude":"2cc5e140","hex_latitude":"074e9ff8","is_valid_coordinates":true} 
[2026-08-01 20:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112677120001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366919519953747968,"note":"Value kept but may cause issues"} 
[2026-08-01 20:32:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4184266234910490624,"note":"Value kept but may cause issues"} 
[2026-08-01 20:32:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785596401000,"timestamp_ms":1785596401000,"timestamp_seconds":1785596401,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdd6d568"} 
[2026-08-01 20:32:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:32:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-01 20:32:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:32:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:32:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:32:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112677120001,"66":27463,"238":206,"2":54016,"24":59,"16":366919519953747968,"44":-4184266234910490624},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,2,24,16,44]} 
[2026-08-01 20:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112677120001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:32:21] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-08-01 20:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366919519953747968,"km_value":366919519953747.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:32:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4184266234910490624,"description":"Unknown IO ID 44"} 
[2026-08-01 20:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112677120001,"power":27463,"unknown_238":206,"power_alt":54016,"ignition":59,"odometer":null,"unknown_44":-4184266234910490624}} 
[2026-08-01 20:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":148786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:32:21] local.INFO: GPS data processed {"connection_id":148786,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:32:21] local.INFO: Acknowledgment sent {"connection_id":148786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:32:43] local.INFO: TCP Data received {"connection_id":146489,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:32:43] local.INFO: Processing buffer {"connection_id":146489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:32:43] local.INFO: IMEI packet received {"connection_id":146489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":146489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:32:48] local.INFO: TCP Data received {"connection_id":146489,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:32:48] local.INFO: Processing buffer {"connection_id":146489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:32:48] local.INFO: IMEI packet received {"connection_id":146489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":146489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:32:49] local.INFO: TCP Data received {"connection_id":146489,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdd6ecd8012cc5d640074ec0f0000b01572d..."} 
[2026-08-01 20:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdd6ecd8012cc5d640074ec0f0000b01572d..."} 
[2026-08-01 20:32:49] local.INFO: Processing buffer {"connection_id":146489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdd6ecd8012cc5d640074ec0f0000b01572d..."} 
[2026-08-01 20:32:49] local.INFO: Packet analysis {"connection_id":146489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdd6"} 
[2026-08-01 20:32:49] local.INFO: Extracted packet for processing {"connection_id":146489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdd6"} 
[2026-08-01 20:32:49] local.INFO: GPS Element Parsed {"raw_longitude":751162944,"raw_latitude":122601712,"longitude_deg":75.1162944,"latitude_deg":12.2601712,"altitude":11,"angle":343,"satellites":45,"speed":59,"hex_longitude":"2cc5d640","hex_latitude":"074ec0f0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112678656001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366919949450477568,"note":"Value kept but may cause issues"} 
[2026-08-01 20:32:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4187995778349795328,"note":"Value kept but may cause issues"} 
[2026-08-01 20:32:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785596407000,"timestamp_ms":1785596407000,"timestamp_seconds":1785596407,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdd6ecd8"} 
[2026-08-01 20:32:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:32:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-01 20:32:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:32:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:32:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112678656001,"66":27365,"255":206,"2":54016,"24":59,"16":366919949450477568,"44":-4187995778349795328},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,2,24,16,44]} 
[2026-08-01 20:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112678656001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:32:49] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-01 20:32:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366919949450477568,"km_value":366919949450477.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:32:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4187995778349795328,"description":"Unknown IO ID 44"} 
[2026-08-01 20:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112678656001,"power":27365,"unknown_255":206,"power_alt":54016,"ignition":59,"odometer":null,"unknown_44":-4187995778349795328}} 
[2026-08-01 20:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":146489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:32:49] local.INFO: GPS data processed {"connection_id":146489,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:32:49] local.INFO: Acknowledgment sent {"connection_id":146489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:32:59] local.INFO: TCP Data received {"connection_id":146490,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:32:59] local.INFO: Processing buffer {"connection_id":146490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:32:59] local.INFO: IMEI packet received {"connection_id":146490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":146490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:33:04] local.INFO: TCP Data received {"connection_id":146490,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:33:04] local.INFO: Processing buffer {"connection_id":146490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:33:04] local.INFO: IMEI packet received {"connection_id":146490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":146490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:33:08] local.INFO: TCP Data received {"connection_id":146490,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdd5a4b8012d196580071fefa0003b015126..."} 
[2026-08-01 20:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdd5a4b8012d196580071fefa0003b015126..."} 
[2026-08-01 20:33:08] local.INFO: Processing buffer {"connection_id":146490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdd5a4b8012d196580071fefa0003b015126..."} 
[2026-08-01 20:33:08] local.INFO: Packet analysis {"connection_id":146490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdd5"} 
[2026-08-01 20:33:08] local.INFO: Extracted packet for processing {"connection_id":146490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdd5"} 
[2026-08-01 20:33:08] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112581632001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:33: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-08-01 20:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1785596323000,"timestamp_ms":1785596323000,"timestamp_seconds":1785596323,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdd5a4b8"} 
[2026-08-01 20:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:33:08] 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-08-01 20:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 20:33:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:33:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":146490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":146490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":146490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:33:08] 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-08-01 20:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112581632001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112581632001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:33:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:33:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112581632001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":146490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:33:08] local.INFO: GPS data processed {"connection_id":146490,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:33:08] local.INFO: Acknowledgment sent {"connection_id":146490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:33:20] local.INFO: TCP Data received {"connection_id":146489,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdd70448012cc5cb80074ee1f8000b01562b..."} 
[2026-08-01 20:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdd70448012cc5cb80074ee1f8000b01562b..."} 
[2026-08-01 20:33:20] local.INFO: Processing buffer {"connection_id":146489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdd70448012cc5cb80074ee1f8000b01562b..."} 
[2026-08-01 20:33:20] local.INFO: Packet analysis {"connection_id":146489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdd7"} 
[2026-08-01 20:33:20] local.INFO: Extracted packet for processing {"connection_id":146489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdd7"} 
[2026-08-01 20:33:20] local.INFO: GPS Element Parsed {"raw_longitude":751160192,"raw_latitude":122610168,"longitude_deg":75.1160192,"latitude_deg":12.2610168,"altitude":11,"angle":342,"satellites":43,"speed":58,"hex_longitude":"2cc5cb80","hex_latitude":"074ee1f8","is_valid_coordinates":true} 
[2026-08-01 20:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112680192001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366920378947207168,"note":"Value kept but may cause issues"} 
[2026-08-01 20:33:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4191092003091451904,"note":"Value kept but may cause issues"} 
[2026-08-01 20:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785596413000,"timestamp_ms":1785596413000,"timestamp_seconds":1785596413,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdd70448"} 
[2026-08-01 20:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:33:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-01 20:33:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:33:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112680192001,"66":26963,"255":206,"2":54016,"24":58,"16":366920378947207168,"44":-4191092003091451904},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,2,24,16,44]} 
[2026-08-01 20:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112680192001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:33:20] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-01 20:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366920378947207168,"km_value":366920378947207.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:33:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4191092003091451904,"description":"Unknown IO ID 44"} 
[2026-08-01 20:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112680192001,"power":26963,"unknown_255":206,"power_alt":54016,"ignition":58,"odometer":null,"unknown_44":-4191092003091451904}} 
[2026-08-01 20:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":146489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:33:20] local.INFO: GPS data processed {"connection_id":146489,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:33:20] local.INFO: Acknowledgment sent {"connection_id":146489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:33:39] local.INFO: TCP Data received {"connection_id":146490,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdd5a4b8012d196580071fefa0003b015126..."} 
[2026-08-01 20:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdd5a4b8012d196580071fefa0003b015126..."} 
[2026-08-01 20:33:39] local.INFO: Processing buffer {"connection_id":146490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdd5a4b8012d196580071fefa0003b015126..."} 
[2026-08-01 20:33:39] local.INFO: Packet analysis {"connection_id":146490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdd5"} 
[2026-08-01 20:33:39] local.INFO: Extracted packet for processing {"connection_id":146490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdd5"} 
[2026-08-01 20:33:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112581632001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:33: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-08-01 20:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1785596323000,"timestamp_ms":1785596323000,"timestamp_seconds":1785596323,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdd5a4b8"} 
[2026-08-01 20:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:33:39] 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-08-01 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 20:33:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":146490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":146490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":146490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:33:39] 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-08-01 20:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112581632001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112581632001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:33:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:33:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112581632001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":146490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:33:39] local.INFO: GPS data processed {"connection_id":146490,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:33:39] local.INFO: Acknowledgment sent {"connection_id":146490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:33:43] local.INFO: TCP Data received {"connection_id":146241,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:33:43] local.INFO: Processing buffer {"connection_id":146241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:33:43] local.INFO: IMEI packet received {"connection_id":146241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":146241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:33:47] local.INFO: TCP Data received {"connection_id":146241,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:33:47] local.INFO: Processing buffer {"connection_id":146241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:33:47] local.INFO: IMEI packet received {"connection_id":146241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":146241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:33:48] local.INFO: TCP Data received {"connection_id":146241,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdd71fa0012cc5c040074f0628000c015729..."} 
[2026-08-01 20:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdd71fa0012cc5c040074f0628000c015729..."} 
[2026-08-01 20:33:48] local.INFO: Processing buffer {"connection_id":146241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdd71fa0012cc5c040074f0628000c015729..."} 
[2026-08-01 20:33:48] local.INFO: Packet analysis {"connection_id":146241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdd7"} 
[2026-08-01 20:33:48] local.INFO: Extracted packet for processing {"connection_id":146241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdd7"} 
[2026-08-01 20:33:48] local.INFO: GPS Element Parsed {"raw_longitude":751157312,"raw_latitude":122619432,"longitude_deg":75.1157312,"latitude_deg":12.2619432,"altitude":12,"angle":343,"satellites":41,"speed":52,"hex_longitude":"2cc5c040","hex_latitude":"074f0628","is_valid_coordinates":true} 
[2026-08-01 20:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112681728001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366920847098642432,"note":"Value kept but may cause issues"} 
[2026-08-01 20:33:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4194117859088926720,"note":"Value kept but may cause issues"} 
[2026-08-01 20:33:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785596420000,"timestamp_ms":1785596420000,"timestamp_seconds":1785596420,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdd71fa0"} 
[2026-08-01 20:33:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:33:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-08-01 20:33:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:33:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:33:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":146241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":146241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":146241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:33:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112681728001,"66":27245,"255":206,"2":54016,"24":52,"16":366920847098642432,"44":-4194117859088926720},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,2,24,16,44]} 
[2026-08-01 20:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112681728001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:33:48] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-01 20:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366920847098642432,"km_value":366920847098642.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:33:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4194117859088926720,"description":"Unknown IO ID 44"} 
[2026-08-01 20:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112681728001,"power":27245,"unknown_255":206,"power_alt":54016,"ignition":52,"odometer":null,"unknown_44":-4194117859088926720}} 
[2026-08-01 20:33:48] local.INFO: DEBUG: GPS processor result {"connection_id":146241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:33:48] local.INFO: GPS data processed {"connection_id":146241,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:33:48] local.INFO: Acknowledgment sent {"connection_id":146241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:33:59] local.INFO: TCP Data received {"connection_id":148787,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:33:59] local.INFO: Processing buffer {"connection_id":148787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:33:59] local.INFO: IMEI packet received {"connection_id":148787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":148787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:34:04] local.INFO: TCP Data received {"connection_id":148787,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:34:04] local.INFO: Processing buffer {"connection_id":148787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:34:04] local.INFO: IMEI packet received {"connection_id":148787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":148787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:34:05] local.INFO: TCP Data received {"connection_id":148787,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdd5a4b8012d196580071fefa0003b015126..."} 
[2026-08-01 20:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdd5a4b8012d196580071fefa0003b015126..."} 
[2026-08-01 20:34:05] local.INFO: Processing buffer {"connection_id":148787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdd5a4b8012d196580071fefa0003b015126..."} 
[2026-08-01 20:34:05] local.INFO: Packet analysis {"connection_id":148787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdd5"} 
[2026-08-01 20:34:05] local.INFO: Extracted packet for processing {"connection_id":148787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdd5"} 
[2026-08-01 20:34:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112581632001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785596323000,"timestamp_ms":1785596323000,"timestamp_seconds":1785596323,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdd5a4b8"} 
[2026-08-01 20:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:34:05] 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-08-01 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 20:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:34:05] 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-08-01 20:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112581632001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112581632001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:34:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:34:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112581632001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":148787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:34:05] local.INFO: GPS data processed {"connection_id":148787,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:34:05] local.INFO: Acknowledgment sent {"connection_id":148787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:34:20] local.INFO: TCP Data received {"connection_id":146241,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdd9afe0012cc542c0075047d0001201542e..."} 
[2026-08-01 20:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdd9afe0012cc542c0075047d0001201542e..."} 
[2026-08-01 20:34:20] local.INFO: Processing buffer {"connection_id":146241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdd9afe0012cc542c0075047d0001201542e..."} 
[2026-08-01 20:34:20] local.INFO: Packet analysis {"connection_id":146241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdd9"} 
[2026-08-01 20:34:20] local.INFO: Extracted packet for processing {"connection_id":146241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdd9"} 
[2026-08-01 20:34:20] local.INFO: GPS Element Parsed {"raw_longitude":751125184,"raw_latitude":122701776,"longitude_deg":75.1125184,"latitude_deg":12.2701776,"altitude":18,"angle":340,"satellites":46,"speed":11,"hex_longitude":"2cc542c0","hex_latitude":"075047d0","is_valid_coordinates":true} 
[2026-08-01 20:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112721152001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366925150655873024,"note":"Value kept but may cause issues"} 
[2026-08-01 20:34:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4229865181109575680,"note":"Value kept but may cause issues"} 
[2026-08-01 20:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785596588000,"timestamp_ms":1785596588000,"timestamp_seconds":1785596588,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdd9afe0"} 
[2026-08-01 20:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:34: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-08-01 20:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-01 20:34:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:34:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:34:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112721152001,"66":27397,"254":206,"2":54016,"24":11,"16":366925150655873024,"44":-4229865181109575680},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,2,24,16,44]} 
[2026-08-01 20:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112721152001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:34:20] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-01 20:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366925150655873024,"km_value":366925150655873.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:34:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4229865181109575680,"description":"Unknown IO ID 44"} 
[2026-08-01 20:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112721152001,"power":27397,"unknown_254":206,"power_alt":54016,"ignition":11,"odometer":null,"unknown_44":-4229865181109575680}} 
[2026-08-01 20:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":146241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:34:20] local.INFO: GPS data processed {"connection_id":146241,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:34:20] local.INFO: Acknowledgment sent {"connection_id":146241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:34:36] local.INFO: TCP Data received {"connection_id":148787,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdda3c80012d196580071fefa0003b015125..."} 
[2026-08-01 20:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdda3c80012d196580071fefa0003b015125..."} 
[2026-08-01 20:34:36] local.INFO: Processing buffer {"connection_id":148787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdda3c80012d196580071fefa0003b015125..."} 
[2026-08-01 20:34:36] local.INFO: Packet analysis {"connection_id":148787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdda"} 
[2026-08-01 20:34:36] local.INFO: Extracted packet for processing {"connection_id":148787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdda"} 
[2026-08-01 20:34:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112658688001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785596624000,"timestamp_ms":1785596624000,"timestamp_seconds":1785596624,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdda3c80"} 
[2026-08-01 20:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:34:36] 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-08-01 20:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112658688001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112658688001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:34:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:34:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112658688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":148787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579100,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:34:36] local.INFO: GPS data processed {"connection_id":148787,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:34:36] local.INFO: Acknowledgment sent {"connection_id":148787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:34:43] local.INFO: TCP Data received {"connection_id":146491,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:34:43] local.INFO: Processing buffer {"connection_id":146491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:34:43] local.INFO: IMEI packet received {"connection_id":146491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":146491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:34:48] local.INFO: TCP Data received {"connection_id":146491,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:34:48] local.INFO: Processing buffer {"connection_id":146491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:34:48] local.INFO: IMEI packet received {"connection_id":146491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":146491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:34:50] local.INFO: TCP Data received {"connection_id":146491,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdda01e8012cc53640075068a80011014f29..."} 
[2026-08-01 20:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdda01e8012cc53640075068a80011014f29..."} 
[2026-08-01 20:34:50] local.INFO: Processing buffer {"connection_id":146491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdda01e8012cc53640075068a80011014f29..."} 
[2026-08-01 20:34:50] local.INFO: Packet analysis {"connection_id":146491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdda"} 
[2026-08-01 20:34:50] local.INFO: Extracted packet for processing {"connection_id":146491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdda"} 
[2026-08-01 20:34:50] local.INFO: GPS Element Parsed {"raw_longitude":751121984,"raw_latitude":122710184,"longitude_deg":75.1121984,"latitude_deg":12.2710184,"altitude":17,"angle":335,"satellites":41,"speed":20,"hex_longitude":"2cc53640","hex_latitude":"075068a8","is_valid_coordinates":true} 
[2026-08-01 20:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112726528001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366925584447569920,"note":"Value kept but may cause issues"} 
[2026-08-01 20:34:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4232609562130657280,"note":"Value kept but may cause issues"} 
[2026-08-01 20:34:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785596609000,"timestamp_ms":1785596609000,"timestamp_seconds":1785596609,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdda01e8"} 
[2026-08-01 20:34:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:34: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-08-01 20:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-01 20:34:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:34:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:34:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:34:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112726528001,"66":27343,"254":206,"2":54016,"24":20,"16":366925584447569920,"44":-4232609562130657280},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,2,24,16,44]} 
[2026-08-01 20:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112726528001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:34:50] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-01 20:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366925584447569920,"km_value":366925584447569.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:34:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4232609562130657280,"description":"Unknown IO ID 44"} 
[2026-08-01 20:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112726528001,"power":27343,"unknown_254":206,"power_alt":54016,"ignition":20,"odometer":null,"unknown_44":-4232609562130657280}} 
[2026-08-01 20:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":146491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:34:50] local.INFO: GPS data processed {"connection_id":146491,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:34:50] local.INFO: Acknowledgment sent {"connection_id":146491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:34:59] local.INFO: TCP Data received {"connection_id":147478,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:34:59] local.INFO: Processing buffer {"connection_id":147478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:34:59] local.INFO: IMEI packet received {"connection_id":147478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":147478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:35:04] local.INFO: TCP Data received {"connection_id":147478,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:35:04] local.INFO: Processing buffer {"connection_id":147478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:35:04] local.INFO: IMEI packet received {"connection_id":147478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":147478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:35:05] local.INFO: TCP Data received {"connection_id":147478,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdda3c80012d196580071fefa0003b015125..."} 
[2026-08-01 20:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdda3c80012d196580071fefa0003b015125..."} 
[2026-08-01 20:35:05] local.INFO: Processing buffer {"connection_id":147478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdda3c80012d196580071fefa0003b015125..."} 
[2026-08-01 20:35:05] local.INFO: Packet analysis {"connection_id":147478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdda"} 
[2026-08-01 20:35:05] local.INFO: Extracted packet for processing {"connection_id":147478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdda"} 
[2026-08-01 20:35:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112658688001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785596624000,"timestamp_ms":1785596624000,"timestamp_seconds":1785596624,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdda3c80"} 
[2026-08-01 20:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:35:05] 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-08-01 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:35:05] 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-08-01 20:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112658688001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112658688001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:35:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:35:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112658688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":147478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:35:05] local.INFO: GPS data processed {"connection_id":147478,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:35:05] local.INFO: Acknowledgment sent {"connection_id":147478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:35:22] local.INFO: TCP Data received {"connection_id":146491,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdda01e8012cc53640075068a80011014f29..."} 
[2026-08-01 20:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdda01e8012cc53640075068a80011014f29..."} 
[2026-08-01 20:35:22] local.INFO: Processing buffer {"connection_id":146491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdda01e8012cc53640075068a80011014f29..."} 
[2026-08-01 20:35:22] local.INFO: Packet analysis {"connection_id":146491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdda"} 
[2026-08-01 20:35:22] local.INFO: Extracted packet for processing {"connection_id":146491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdda"} 
[2026-08-01 20:35:22] local.INFO: GPS Element Parsed {"raw_longitude":751121984,"raw_latitude":122710184,"longitude_deg":75.1121984,"latitude_deg":12.2710184,"altitude":17,"angle":335,"satellites":41,"speed":20,"hex_longitude":"2cc53640","hex_latitude":"075068a8","is_valid_coordinates":true} 
[2026-08-01 20:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112731904001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366925584447569920,"note":"Value kept but may cause issues"} 
[2026-08-01 20:35:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4236127999337388032,"note":"Value kept but may cause issues"} 
[2026-08-01 20:35:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785596609000,"timestamp_ms":1785596609000,"timestamp_seconds":1785596609,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdda01e8"} 
[2026-08-01 20:35:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:35:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-01 20:35:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:35:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:35:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:35:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112731904001,"66":27343,"254":206,"2":54016,"24":20,"16":366925584447569920,"44":-4236127999337388032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,2,24,16,44]} 
[2026-08-01 20:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112731904001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:35:22] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-01 20:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366925584447569920,"km_value":366925584447569.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:35:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4236127999337388032,"description":"Unknown IO ID 44"} 
[2026-08-01 20:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112731904001,"power":27343,"unknown_254":206,"power_alt":54016,"ignition":20,"odometer":null,"unknown_44":-4236127999337388032}} 
[2026-08-01 20:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":146491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:35:22] local.INFO: GPS data processed {"connection_id":146491,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:35:22] local.INFO: Acknowledgment sent {"connection_id":146491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:35:36] local.INFO: TCP Data received {"connection_id":147478,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdda3c80012d196580071fefa0003b015125..."} 
[2026-08-01 20:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdda3c80012d196580071fefa0003b015125..."} 
[2026-08-01 20:35:36] local.INFO: Processing buffer {"connection_id":147478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdda3c80012d196580071fefa0003b015125..."} 
[2026-08-01 20:35:36] local.INFO: Packet analysis {"connection_id":147478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdda"} 
[2026-08-01 20:35:36] local.INFO: Extracted packet for processing {"connection_id":147478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdda"} 
[2026-08-01 20:35:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112658688001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785596624000,"timestamp_ms":1785596624000,"timestamp_seconds":1785596624,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdda3c80"} 
[2026-08-01 20:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:35:36] 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-08-01 20:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112658688001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112658688001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:35:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:35:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112658688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":147478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:35:36] local.INFO: GPS data processed {"connection_id":147478,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:35:36] local.INFO: Acknowledgment sent {"connection_id":147478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:35:43] local.INFO: TCP Data received {"connection_id":146242,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:35:43] local.INFO: Processing buffer {"connection_id":146242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:35:43] local.INFO: IMEI packet received {"connection_id":146242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":146242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:35:48] local.INFO: TCP Data received {"connection_id":146242,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:35:48] local.INFO: Processing buffer {"connection_id":146242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:35:48] local.INFO: IMEI packet received {"connection_id":146242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":146242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:35:49] local.INFO: TCP Data received {"connection_id":146242,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdda3898012cc5268007508860000f014e2e..."} 
[2026-08-01 20:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdda3898012cc5268007508860000f014e2e..."} 
[2026-08-01 20:35:49] local.INFO: Processing buffer {"connection_id":146242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdda3898012cc5268007508860000f014e2e..."} 
[2026-08-01 20:35:49] local.INFO: Packet analysis {"connection_id":146242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdda"} 
[2026-08-01 20:35:49] local.INFO: Extracted packet for processing {"connection_id":146242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdda"} 
[2026-08-01 20:35:49] local.INFO: GPS Element Parsed {"raw_longitude":751117952,"raw_latitude":122718304,"longitude_deg":75.1117952,"latitude_deg":12.2718304,"altitude":15,"angle":334,"satellites":46,"speed":29,"hex_longitude":"2cc52680","hex_latitude":"07508860","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:35:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112731904001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:35:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366926022534234112,"note":"Value kept but may cause issues"} 
[2026-08-01 20:35:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4236127999337388032,"note":"Value kept but may cause issues"} 
[2026-08-01 20:35:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:35:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785596623000,"timestamp_ms":1785596623000,"timestamp_seconds":1785596623,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdda3898"} 
[2026-08-01 20:35:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:35:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-01 20:35:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:35:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:35:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:35:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:35:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:35:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:35:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:35:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:35:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:35:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112731904001,"66":27321,"254":206,"2":54016,"24":29,"16":366926022534234112,"44":-4236127999337388032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,2,24,16,44]} 
[2026-08-01 20:35:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:35:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:35:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112731904001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:35:49] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-01 20:35:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366926022534234112,"km_value":366926022534234.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:35:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4236127999337388032,"description":"Unknown IO ID 44"} 
[2026-08-01 20:35:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112731904001,"power":27321,"unknown_254":206,"power_alt":54016,"ignition":29,"odometer":null,"unknown_44":-4236127999337388032}} 
[2026-08-01 20:35:49] local.INFO: DEBUG: GPS processor result {"connection_id":146242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:35:49] local.INFO: GPS data processed {"connection_id":146242,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:35:49] local.INFO: Acknowledgment sent {"connection_id":146242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:36:04] local.INFO: TCP Data received {"connection_id":146492,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:36:04] local.INFO: Processing buffer {"connection_id":146492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:36:04] local.INFO: IMEI packet received {"connection_id":146492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":146492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:36:09] local.INFO: TCP Data received {"connection_id":146492,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:36:09] local.INFO: Processing buffer {"connection_id":146492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:36:09] local.INFO: IMEI packet received {"connection_id":146492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":146492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:36:10] local.INFO: TCP Data received {"connection_id":146492,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdda3c80012d196580071fefa0003b015125..."} 
[2026-08-01 20:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdda3c80012d196580071fefa0003b015125..."} 
[2026-08-01 20:36:10] local.INFO: Processing buffer {"connection_id":146492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdda3c80012d196580071fefa0003b015125..."} 
[2026-08-01 20:36:10] local.INFO: Packet analysis {"connection_id":146492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdda"} 
[2026-08-01 20:36:10] local.INFO: Extracted packet for processing {"connection_id":146492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdda"} 
[2026-08-01 20:36:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 20:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112658688001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 20:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785596624000,"timestamp_ms":1785596624000,"timestamp_seconds":1785596624,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdda3c80"} 
[2026-08-01 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-08-01 20:36: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-08-01 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":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:36: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-08-01 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-08-01 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-08-01 20:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:36: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-08-01 20:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112658688001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112658688001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:36:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:36:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112658688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":146492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579106,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:36:10] local.INFO: GPS data processed {"connection_id":146492,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:36:10] local.INFO: Acknowledgment sent {"connection_id":146492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:36:15] local.INFO: TCP Data received {"connection_id":146492,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdda3c80012d196580071fefa0003b015125..."} 
[2026-08-01 20:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdda3c80012d196580071fefa0003b015125..."} 
[2026-08-01 20:36:15] local.INFO: Processing buffer {"connection_id":146492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdda3c80012d196580071fefa0003b015125..."} 
[2026-08-01 20:36:15] local.INFO: Packet analysis {"connection_id":146492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdda"} 
[2026-08-01 20:36:15] local.INFO: Extracted packet for processing {"connection_id":146492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdda"} 
[2026-08-01 20:36:15] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112658688001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20: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-08-01 20:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785596624000,"timestamp_ms":1785596624000,"timestamp_seconds":1785596624,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdda3c80"} 
[2026-08-01 20:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:36: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-08-01 20: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":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:36: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-08-01 20: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-08-01 20:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":146492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":146492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":146492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:36: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-08-01 20:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112658688001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112658688001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:36:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:36:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112658688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":146492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:36:15] local.INFO: GPS data processed {"connection_id":146492,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:36:15] local.INFO: Acknowledgment sent {"connection_id":146492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:36:21] local.INFO: TCP Data received {"connection_id":146242,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdda6f48012cc519400750a990000d01542c..."} 
[2026-08-01 20:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdda6f48012cc519400750a990000d01542c..."} 
[2026-08-01 20:36:21] local.INFO: Processing buffer {"connection_id":146242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdda6f48012cc519400750a990000d01542c..."} 
[2026-08-01 20:36:21] local.INFO: Packet analysis {"connection_id":146242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdda"} 
[2026-08-01 20:36:21] local.INFO: Extracted packet for processing {"connection_id":146242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdda"} 
[2026-08-01 20:36:21] local.INFO: GPS Element Parsed {"raw_longitude":751114560,"raw_latitude":122726800,"longitude_deg":75.111456,"latitude_deg":12.27268,"altitude":13,"angle":340,"satellites":44,"speed":18,"hex_longitude":"2cc51940","hex_latitude":"0750a990","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112735488001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366926464915865600,"note":"Value kept but may cause issues"} 
[2026-08-01 20:36:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4240561230218502144,"note":"Value kept but may cause issues"} 
[2026-08-01 20:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785596637000,"timestamp_ms":1785596637000,"timestamp_seconds":1785596637,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdda6f48"} 
[2026-08-01 20:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:36: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-08-01 20: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-01 20:36: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-08-01 20:36:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112735488001,"66":27343,"244":206,"2":54016,"24":18,"16":366926464915865600,"44":-4240561230218502144},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,2,24,16,44]} 
[2026-08-01 20:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112735488001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:36:21] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-08-01 20:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366926464915865600,"km_value":366926464915865.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:36:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4240561230218502144,"description":"Unknown IO ID 44"} 
[2026-08-01 20:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112735488001,"power":27343,"unknown_244":206,"power_alt":54016,"ignition":18,"odometer":null,"unknown_44":-4240561230218502144}} 
[2026-08-01 20:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":146242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:36:21] local.INFO: GPS data processed {"connection_id":146242,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:36:21] local.INFO: Acknowledgment sent {"connection_id":146242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:36:43] local.INFO: TCP Data received {"connection_id":147479,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:36:43] local.INFO: Processing buffer {"connection_id":147479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:36:43] local.INFO: IMEI packet received {"connection_id":147479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:36:43] local.INFO: IMEI acknowledgment sent {"connection_id":147479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:36:48] local.INFO: TCP Data received {"connection_id":147479,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:36:48] local.INFO: Processing buffer {"connection_id":147479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:36:48] local.INFO: IMEI packet received {"connection_id":147479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":147479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:36:50] local.INFO: TCP Data received {"connection_id":147479,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbddac150012cc512800750bea8000d01562d..."} 
[2026-08-01 20:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbddac150012cc512800750bea8000d01562d..."} 
[2026-08-01 20:36:50] local.INFO: Processing buffer {"connection_id":147479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbddac150012cc512800750bea8000d01562d..."} 
[2026-08-01 20:36:50] local.INFO: Packet analysis {"connection_id":147479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdda"} 
[2026-08-01 20:36:50] local.INFO: Extracted packet for processing {"connection_id":147479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdda"} 
[2026-08-01 20:36:50] local.INFO: GPS Element Parsed {"raw_longitude":751112832,"raw_latitude":122732200,"longitude_deg":75.1112832,"latitude_deg":12.27322,"altitude":13,"angle":342,"satellites":45,"speed":11,"hex_longitude":"2cc51280","hex_latitude":"0750bea8","is_valid_coordinates":true} 
[2026-08-01 20:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:36:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112739072001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:36:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366926744088739840,"note":"Value kept but may cause issues"} 
[2026-08-01 20:36:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4244290773657743360,"note":"Value kept but may cause issues"} 
[2026-08-01 20:36:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:36:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785596658000,"timestamp_ms":1785596658000,"timestamp_seconds":1785596658,"priority":1,"record_length":96,"hex_timestamp":"0000019fbddac150"} 
[2026-08-01 20:36:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:36:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-01 20:36:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:36:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:36:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:36:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:36:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:36:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:36:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:36:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:36:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:36:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:36:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112739072001,"66":27126,"244":206,"2":54016,"24":11,"16":366926744088739840,"44":-4244290773657743360},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,2,24,16,44]} 
[2026-08-01 20:36:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:36:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:36:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112739072001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:36:50] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-08-01 20:36:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366926744088739840,"km_value":366926744088739.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:36:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4244290773657743360,"description":"Unknown IO ID 44"} 
[2026-08-01 20:36:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112739072001,"power":27126,"unknown_244":206,"power_alt":54016,"ignition":11,"odometer":null,"unknown_44":-4244290773657743360}} 
[2026-08-01 20:36:50] local.INFO: DEBUG: GPS processor result {"connection_id":147479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:36:50] local.INFO: GPS data processed {"connection_id":147479,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:36:50] local.INFO: Acknowledgment sent {"connection_id":147479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:36:59] local.INFO: TCP Data received {"connection_id":146243,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146243,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:36:59] local.INFO: Processing buffer {"connection_id":146243,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:36:59] local.INFO: IMEI packet received {"connection_id":146243,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":146243,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:37:04] local.INFO: TCP Data received {"connection_id":146243,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146243,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:37:04] local.INFO: Processing buffer {"connection_id":146243,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:37:04] local.INFO: IMEI packet received {"connection_id":146243,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":146243,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:37:05] local.INFO: TCP Data received {"connection_id":146243,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdda3c80012d196580071fefa0003b015125..."} 
[2026-08-01 20:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdda3c80012d196580071fefa0003b015125..."} 
[2026-08-01 20:37:05] local.INFO: Processing buffer {"connection_id":146243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdda3c80012d196580071fefa0003b015125..."} 
[2026-08-01 20:37:05] local.INFO: Packet analysis {"connection_id":146243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdda"} 
[2026-08-01 20:37:05] local.INFO: Extracted packet for processing {"connection_id":146243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdda"} 
[2026-08-01 20:37:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112658688001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785596624000,"timestamp_ms":1785596624000,"timestamp_seconds":1785596624,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdda3c80"} 
[2026-08-01 20:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:37:05] 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-08-01 20:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:37:05] 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-08-01 20:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112658688001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112658688001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:37:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:37:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112658688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":146243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:37:05] local.INFO: GPS data processed {"connection_id":146243,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:37:05] local.INFO: Acknowledgment sent {"connection_id":146243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:37:21] local.INFO: TCP Data received {"connection_id":147479,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbddb1358012cc50c000750d390000c01572b..."} 
[2026-08-01 20:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbddb1358012cc50c000750d390000c01572b..."} 
[2026-08-01 20:37:21] local.INFO: Processing buffer {"connection_id":147479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbddb1358012cc50c000750d390000c01572b..."} 
[2026-08-01 20:37:21] local.INFO: Packet analysis {"connection_id":147479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbddb"} 
[2026-08-01 20:37:21] local.INFO: Extracted packet for processing {"connection_id":147479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbddb"} 
[2026-08-01 20:37:21] local.INFO: GPS Element Parsed {"raw_longitude":751111168,"raw_latitude":122737552,"longitude_deg":75.1111168,"latitude_deg":12.2737552,"altitude":12,"angle":343,"satellites":43,"speed":11,"hex_longitude":"2cc50c00","hex_latitude":"0750d390","is_valid_coordinates":true} 
[2026-08-01 20:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112744448001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366927014671679488,"note":"Value kept but may cause issues"} 
[2026-08-01 20:37:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4246190729749157888,"note":"Value kept but may cause issues"} 
[2026-08-01 20:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785596679000,"timestamp_ms":1785596679000,"timestamp_seconds":1785596679,"priority":1,"record_length":96,"hex_timestamp":"0000019fbddb1358"} 
[2026-08-01 20:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:37:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-01 20:37:21] 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-08-01 20:37:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112744448001,"66":27267,"244":206,"2":54016,"24":11,"16":366927014671679488,"44":-4246190729749157888},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,2,24,16,44]} 
[2026-08-01 20:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112744448001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:37:21] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-08-01 20:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366927014671679488,"km_value":366927014671679.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:37:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4246190729749157888,"description":"Unknown IO ID 44"} 
[2026-08-01 20:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112744448001,"power":27267,"unknown_244":206,"power_alt":54016,"ignition":11,"odometer":null,"unknown_44":-4246190729749157888}} 
[2026-08-01 20:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":147479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:37:21] local.INFO: GPS data processed {"connection_id":147479,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:37:21] local.INFO: Acknowledgment sent {"connection_id":147479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:37:36] local.INFO: TCP Data received {"connection_id":146243,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdda3c80012d196580071fefa0003b015125..."} 
[2026-08-01 20:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdda3c80012d196580071fefa0003b015125..."} 
[2026-08-01 20:37:36] local.INFO: Processing buffer {"connection_id":146243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdda3c80012d196580071fefa0003b015125..."} 
[2026-08-01 20:37:36] local.INFO: Packet analysis {"connection_id":146243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdda"} 
[2026-08-01 20:37:36] local.INFO: Extracted packet for processing {"connection_id":146243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdda"} 
[2026-08-01 20:37:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112658688001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785596624000,"timestamp_ms":1785596624000,"timestamp_seconds":1785596624,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdda3c80"} 
[2026-08-01 20:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 20:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:37:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:37:36] 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-08-01 20:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112658688001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112658688001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:37:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:37:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112658688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":146243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579112,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:37:36] local.INFO: GPS data processed {"connection_id":146243,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:37:36] local.INFO: Acknowledgment sent {"connection_id":146243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:37:48] local.INFO: TCP Data received {"connection_id":146244,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:37:48] local.INFO: Processing buffer {"connection_id":146244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:37:48] local.INFO: IMEI packet received {"connection_id":146244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":146244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:37:49] local.INFO: TCP Data received {"connection_id":146244,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:37:49] local.INFO: Processing buffer {"connection_id":146244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:37:49] local.INFO: IMEI packet received {"connection_id":146244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":146244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:37:50] local.INFO: TCP Data received {"connection_id":146244,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbddcdc60012cc49bc00751fae0000b01512d..."} 
[2026-08-01 20:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbddcdc60012cc49bc00751fae0000b01512d..."} 
[2026-08-01 20:37:50] local.INFO: Processing buffer {"connection_id":146244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbddcdc60012cc49bc00751fae0000b01512d..."} 
[2026-08-01 20:37:50] local.INFO: Packet analysis {"connection_id":146244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbddc"} 
[2026-08-01 20:37:50] local.INFO: Extracted packet for processing {"connection_id":146244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbddc"} 
[2026-08-01 20:37:50] local.INFO: GPS Element Parsed {"raw_longitude":751082432,"raw_latitude":122813152,"longitude_deg":75.1082432,"latitude_deg":12.2813152,"altitude":11,"angle":337,"satellites":45,"speed":50,"hex_longitude":"2cc49bc0","hex_latitude":"0751fae0","is_valid_coordinates":true} 
[2026-08-01 20:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:37:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112777728001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:37:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366930931681853440,"note":"Value kept but may cause issues"} 
[2026-08-01 20:37:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4275393758564501504,"note":"Value kept but may cause issues"} 
[2026-08-01 20:37:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:37:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785596796000,"timestamp_ms":1785596796000,"timestamp_seconds":1785596796,"priority":1,"record_length":96,"hex_timestamp":"0000019fbddcdc60"} 
[2026-08-01 20:37:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:37: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-08-01 20:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-01 20:37:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:37:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:37:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:37:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:37:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:37:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:37:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:37:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:37:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:37:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:37:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112777728001,"66":27321,"244":206,"2":54016,"24":50,"16":366930931681853440,"44":-4275393758564501504},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,2,24,16,44]} 
[2026-08-01 20:37:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:37:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:37:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112777728001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:37:50] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-08-01 20:37:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366930931681853440,"km_value":366930931681853.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:37:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4275393758564501504,"description":"Unknown IO ID 44"} 
[2026-08-01 20:37:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112777728001,"power":27321,"unknown_244":206,"power_alt":54016,"ignition":50,"odometer":null,"unknown_44":-4275393758564501504}} 
[2026-08-01 20:37:50] local.INFO: DEBUG: GPS processor result {"connection_id":146244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:37:50] local.INFO: GPS data processed {"connection_id":146244,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:37:50] local.INFO: Acknowledgment sent {"connection_id":146244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:37:54] local.INFO: TCP Data received {"connection_id":146244,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbddcf7b8012cc48d8007521ad0000b01502d..."} 
[2026-08-01 20:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbddcf7b8012cc48d8007521ad0000b01502d..."} 
[2026-08-01 20:37:54] local.INFO: Processing buffer {"connection_id":146244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbddcf7b8012cc48d8007521ad0000b01502d..."} 
[2026-08-01 20:37:54] local.INFO: Packet analysis {"connection_id":146244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbddc"} 
[2026-08-01 20:37:54] local.INFO: Extracted packet for processing {"connection_id":146244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbddc"} 
[2026-08-01 20:37:54] local.INFO: GPS Element Parsed {"raw_longitude":751078784,"raw_latitude":122821328,"longitude_deg":75.1078784,"latitude_deg":12.2821328,"altitude":11,"angle":336,"satellites":45,"speed":51,"hex_longitude":"2cc48d80","hex_latitude":"07521ad0","is_valid_coordinates":true} 
[2026-08-01 20:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112779776001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366931365473550336,"note":"Value kept but may cause issues"} 
[2026-08-01 20:37:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4279615883212824576,"note":"Value kept but may cause issues"} 
[2026-08-01 20:37:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785596803000,"timestamp_ms":1785596803000,"timestamp_seconds":1785596803,"priority":1,"record_length":96,"hex_timestamp":"0000019fbddcf7b8"} 
[2026-08-01 20:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:37:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-01 20:37:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:37:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:37:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112779776001,"66":27484,"246":206,"2":54016,"24":51,"16":366931365473550336,"44":-4279615883212824576},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,2,24,16,44]} 
[2026-08-01 20:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112779776001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366931365473550336,"km_value":366931365473550.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:37:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4279615883212824576,"description":"Unknown IO ID 44"} 
[2026-08-01 20:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112779776001,"power":27484,"main_input_voltage":206,"power_alt":54016,"ignition":51,"odometer":null,"unknown_44":-4279615883212824576}} 
[2026-08-01 20:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":146244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:37:54] local.INFO: GPS data processed {"connection_id":146244,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:37:54] local.INFO: Acknowledgment sent {"connection_id":146244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:37:59] local.INFO: TCP Data received {"connection_id":148788,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:37:59] local.INFO: Processing buffer {"connection_id":148788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:37:59] local.INFO: IMEI packet received {"connection_id":148788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":148788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:38:04] local.INFO: TCP Data received {"connection_id":148788,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:38:04] local.INFO: Processing buffer {"connection_id":148788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:38:04] local.INFO: IMEI packet received {"connection_id":148788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":148788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:38:05] local.INFO: TCP Data received {"connection_id":148788,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdda3c80012d196580071fefa0003b015125..."} 
[2026-08-01 20:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdda3c80012d196580071fefa0003b015125..."} 
[2026-08-01 20:38:05] local.INFO: Processing buffer {"connection_id":148788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdda3c80012d196580071fefa0003b015125..."} 
[2026-08-01 20:38:05] local.INFO: Packet analysis {"connection_id":148788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdda"} 
[2026-08-01 20:38:05] local.INFO: Extracted packet for processing {"connection_id":148788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdda"} 
[2026-08-01 20:38:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112658688001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785596624000,"timestamp_ms":1785596624000,"timestamp_seconds":1785596624,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdda3c80"} 
[2026-08-01 20:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:38:05] 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-08-01 20:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:38:05] 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-08-01 20:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112658688001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112658688001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:38:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:38:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112658688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":148788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:38:05] local.INFO: GPS data processed {"connection_id":148788,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:38:05] local.INFO: Acknowledgment sent {"connection_id":148788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:38:26] local.INFO: TCP Data received {"connection_id":146244,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbddd1310012cc47fc007523af8000b01512c..."} 
[2026-08-01 20:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbddd1310012cc47fc007523af8000b01512c..."} 
[2026-08-01 20:38:26] local.INFO: Processing buffer {"connection_id":146244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbddd1310012cc47fc007523af8000b01512c..."} 
[2026-08-01 20:38:26] local.INFO: Packet analysis {"connection_id":146244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbddd"} 
[2026-08-01 20:38:26] local.INFO: Extracted packet for processing {"connection_id":146244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbddd"} 
[2026-08-01 20:38:26] local.INFO: GPS Element Parsed {"raw_longitude":751075264,"raw_latitude":122829560,"longitude_deg":75.1075264,"latitude_deg":12.282956,"altitude":11,"angle":337,"satellites":44,"speed":50,"hex_longitude":"2cc47fc0","hex_latitude":"07523af8","is_valid_coordinates":true} 
[2026-08-01 20:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:38:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112781568001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:38:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366931799265247232,"note":"Value kept but may cause issues"} 
[2026-08-01 20:38:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4283626901628858368,"note":"Value kept but may cause issues"} 
[2026-08-01 20:38:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:38:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785596810000,"timestamp_ms":1785596810000,"timestamp_seconds":1785596810,"priority":1,"record_length":96,"hex_timestamp":"0000019fbddd1310"} 
[2026-08-01 20:38:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:38: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-08-01 20:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-01 20:38: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-08-01 20:38:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:38:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:38:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:38:26] local.INFO: Teltonika packet parsed successfully {"connection_id":146244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:38:26] local.INFO: Passing IMEI to GPS processor {"connection_id":146244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:38:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":146244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:38:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:38:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:38:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:38:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112781568001,"66":27321,"246":206,"2":54016,"24":50,"16":366931799265247232,"44":-4283626901628858368},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,2,24,16,44]} 
[2026-08-01 20:38:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:38:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:38:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112781568001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:38:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366931799265247232,"km_value":366931799265247.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:38:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4283626901628858368,"description":"Unknown IO ID 44"} 
[2026-08-01 20:38:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112781568001,"power":27321,"main_input_voltage":206,"power_alt":54016,"ignition":50,"odometer":null,"unknown_44":-4283626901628858368}} 
[2026-08-01 20:38:26] local.INFO: DEBUG: GPS processor result {"connection_id":146244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:38:26] local.INFO: GPS data processed {"connection_id":146244,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:38:26] local.INFO: Acknowledgment sent {"connection_id":146244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:38:36] local.INFO: TCP Data received {"connection_id":148788,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdda3c80012d196580071fefa0003b015125..."} 
[2026-08-01 20:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdda3c80012d196580071fefa0003b015125..."} 
[2026-08-01 20:38:36] local.INFO: Processing buffer {"connection_id":148788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdda3c80012d196580071fefa0003b015125..."} 
[2026-08-01 20:38:36] local.INFO: Packet analysis {"connection_id":148788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdda"} 
[2026-08-01 20:38:36] local.INFO: Extracted packet for processing {"connection_id":148788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdda"} 
[2026-08-01 20:38:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112658688001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785596624000,"timestamp_ms":1785596624000,"timestamp_seconds":1785596624,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdda3c80"} 
[2026-08-01 20:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:38:36] 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-08-01 20:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112658688001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112658688001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:38:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:38:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112658688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":148788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:38:36] local.INFO: GPS data processed {"connection_id":148788,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:38:36] local.INFO: Acknowledgment sent {"connection_id":148788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:38:43] local.INFO: TCP Data received {"connection_id":146245,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:38:43] local.INFO: Processing buffer {"connection_id":146245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:38:43] local.INFO: IMEI packet received {"connection_id":146245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":146245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:38:45] local.INFO: TCP Data received {"connection_id":146245,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:38:45] local.INFO: Processing buffer {"connection_id":146245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:38:45] local.INFO: IMEI packet received {"connection_id":146245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":146245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:38:47] local.INFO: TCP Data received {"connection_id":146245,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbddd2e68012cc471c007525ac8000c01512d..."} 
[2026-08-01 20:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbddd2e68012cc471c007525ac8000c01512d..."} 
[2026-08-01 20:38:47] local.INFO: Processing buffer {"connection_id":146245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbddd2e68012cc471c007525ac8000c01512d..."} 
[2026-08-01 20:38:47] local.INFO: Packet analysis {"connection_id":146245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbddd"} 
[2026-08-01 20:38:47] local.INFO: Extracted packet for processing {"connection_id":146245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbddd"} 
[2026-08-01 20:38:47] local.INFO: GPS Element Parsed {"raw_longitude":751071680,"raw_latitude":122837704,"longitude_deg":75.107168,"latitude_deg":12.2837704,"altitude":12,"angle":337,"satellites":45,"speed":50,"hex_longitude":"2cc471c0","hex_latitude":"07525ac8","is_valid_coordinates":true} 
[2026-08-01 20:38:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112783360001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366932228761976832,"note":"Value kept but may cause issues"} 
[2026-08-01 20:38:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4287497182556522496,"note":"Value kept but may cause issues"} 
[2026-08-01 20:38:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785596817000,"timestamp_ms":1785596817000,"timestamp_seconds":1785596817,"priority":1,"record_length":96,"hex_timestamp":"0000019fbddd2e68"} 
[2026-08-01 20:38:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:38: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-08-01 20:38:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-01 20:38:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:38:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:38:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":146245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":146245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":146245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:38:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112783360001,"66":27365,"246":206,"2":54016,"24":50,"16":366932228761976832,"44":-4287497182556522496},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,2,24,16,44]} 
[2026-08-01 20:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112783360001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366932228761976832,"km_value":366932228761976.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:38:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4287497182556522496,"description":"Unknown IO ID 44"} 
[2026-08-01 20:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112783360001,"power":27365,"main_input_voltage":206,"power_alt":54016,"ignition":50,"odometer":null,"unknown_44":-4287497182556522496}} 
[2026-08-01 20:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":146245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:38:47] local.INFO: GPS data processed {"connection_id":146245,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:38:47] local.INFO: Acknowledgment sent {"connection_id":146245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:38:49] local.INFO: TCP Data received {"connection_id":146245,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbddd49c0012cc463c007527b28000c01502d..."} 
[2026-08-01 20:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbddd49c0012cc463c007527b28000c01502d..."} 
[2026-08-01 20:38:49] local.INFO: Processing buffer {"connection_id":146245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbddd49c0012cc463c007527b28000c01502d..."} 
[2026-08-01 20:38:49] local.INFO: Packet analysis {"connection_id":146245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbddd"} 
[2026-08-01 20:38:49] local.INFO: Extracted packet for processing {"connection_id":146245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbddd"} 
[2026-08-01 20:38:49] local.INFO: GPS Element Parsed {"raw_longitude":751068096,"raw_latitude":122845992,"longitude_deg":75.1068096,"latitude_deg":12.2845992,"altitude":12,"angle":336,"satellites":45,"speed":51,"hex_longitude":"2cc463c0","hex_latitude":"07527b28","is_valid_coordinates":true} 
[2026-08-01 20:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112785152001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366932662553673728,"note":"Value kept but may cause issues"} 
[2026-08-01 20:38:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4291437832228386816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:38:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785596824000,"timestamp_ms":1785596824000,"timestamp_seconds":1785596824,"priority":1,"record_length":96,"hex_timestamp":"0000019fbddd49c0"} 
[2026-08-01 20:38:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:38: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-08-01 20:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-01 20:38:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:38:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:38:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:38:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112785152001,"66":27343,"246":206,"2":54016,"24":51,"16":366932662553673728,"44":-4291437832228386816},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,2,24,16,44]} 
[2026-08-01 20:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112785152001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366932662553673728,"km_value":366932662553673.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:38:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4291437832228386816,"description":"Unknown IO ID 44"} 
[2026-08-01 20:38:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112785152001,"power":27343,"main_input_voltage":206,"power_alt":54016,"ignition":51,"odometer":null,"unknown_44":-4291437832228386816}} 
[2026-08-01 20:38:49] local.INFO: DEBUG: GPS processor result {"connection_id":146245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:38:49] local.INFO: GPS data processed {"connection_id":146245,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:38:49] local.INFO: Acknowledgment sent {"connection_id":146245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:38:59] local.INFO: TCP Data received {"connection_id":148789,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:38:59] local.INFO: Processing buffer {"connection_id":148789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:38:59] local.INFO: IMEI packet received {"connection_id":148789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":148789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:39:04] local.INFO: TCP Data received {"connection_id":148789,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:39:04] local.INFO: Processing buffer {"connection_id":148789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:39:04] local.INFO: IMEI packet received {"connection_id":148789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":148789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:39:05] local.INFO: TCP Data received {"connection_id":148789,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdda3c80012d196580071fefa0003b015125..."} 
[2026-08-01 20:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdda3c80012d196580071fefa0003b015125..."} 
[2026-08-01 20:39:05] local.INFO: Processing buffer {"connection_id":148789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdda3c80012d196580071fefa0003b015125..."} 
[2026-08-01 20:39:05] local.INFO: Packet analysis {"connection_id":148789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdda"} 
[2026-08-01 20:39:05] local.INFO: Extracted packet for processing {"connection_id":148789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdda"} 
[2026-08-01 20:39:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112658688001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785596624000,"timestamp_ms":1785596624000,"timestamp_seconds":1785596624,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdda3c80"} 
[2026-08-01 20:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:39:05] 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-08-01 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:39:05] 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-08-01 20:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112658688001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112658688001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:39:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:39:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112658688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":148789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:39:05] local.INFO: GPS data processed {"connection_id":148789,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:39:05] local.INFO: Acknowledgment sent {"connection_id":148789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:39:21] local.INFO: TCP Data received {"connection_id":146245,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbddd6518012cc4558007529c18000c014e2c..."} 
[2026-08-01 20:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbddd6518012cc4558007529c18000c014e2c..."} 
[2026-08-01 20:39:21] local.INFO: Processing buffer {"connection_id":146245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbddd6518012cc4558007529c18000c014e2c..."} 
[2026-08-01 20:39:21] local.INFO: Packet analysis {"connection_id":146245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbddd"} 
[2026-08-01 20:39:21] local.INFO: Extracted packet for processing {"connection_id":146245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbddd"} 
[2026-08-01 20:39:21] local.INFO: GPS Element Parsed {"raw_longitude":751064448,"raw_latitude":122854424,"longitude_deg":75.1064448,"latitude_deg":12.2854424,"altitude":12,"angle":334,"satellites":44,"speed":49,"hex_longitude":"2cc45580","hex_latitude":"07529c18","is_valid_coordinates":true} 
[2026-08-01 20:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112786944001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366933109230272512,"note":"Value kept but may cause issues"} 
[2026-08-01 20:39:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4295378481900214272,"note":"Value kept but may cause issues"} 
[2026-08-01 20:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785596831000,"timestamp_ms":1785596831000,"timestamp_seconds":1785596831,"priority":1,"record_length":96,"hex_timestamp":"0000019fbddd6518"} 
[2026-08-01 20:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-01 20:39:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:39:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:39:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112786944001,"66":26865,"246":206,"2":54016,"24":49,"16":366933109230272512,"44":-4295378481900214272},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,2,24,16,44]} 
[2026-08-01 20:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112786944001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366933109230272512,"km_value":366933109230272.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:39:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4295378481900214272,"description":"Unknown IO ID 44"} 
[2026-08-01 20:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112786944001,"power":26865,"main_input_voltage":206,"power_alt":54016,"ignition":49,"odometer":null,"unknown_44":-4295378481900214272}} 
[2026-08-01 20:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":146245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:39:21] local.INFO: GPS data processed {"connection_id":146245,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:39:21] local.INFO: Acknowledgment sent {"connection_id":146245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:39:36] local.INFO: TCP Data received {"connection_id":148789,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdded448012d196580071fefa0003b015125..."} 
[2026-08-01 20:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdded448012d196580071fefa0003b015125..."} 
[2026-08-01 20:39:36] local.INFO: Processing buffer {"connection_id":148789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdded448012d196580071fefa0003b015125..."} 
[2026-08-01 20:39:36] local.INFO: Packet analysis {"connection_id":148789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdde"} 
[2026-08-01 20:39:36] local.INFO: Extracted packet for processing {"connection_id":148789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdde"} 
[2026-08-01 20:39:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112735744001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785596925000,"timestamp_ms":1785596925000,"timestamp_seconds":1785596925,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdded448"} 
[2026-08-01 20:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:39:36] 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-08-01 20:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:39:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:39:36] 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-08-01 20:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112735744001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112735744001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:39:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:39:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112735744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":148789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579122,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:39:36] local.INFO: GPS data processed {"connection_id":148789,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:39:36] local.INFO: Acknowledgment sent {"connection_id":148789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:39:44] local.INFO: TCP Data received {"connection_id":146493,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:39:44] local.INFO: Processing buffer {"connection_id":146493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:39:44] local.INFO: IMEI packet received {"connection_id":146493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":146493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:39:49] local.INFO: TCP Data received {"connection_id":146493,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:39:49] local.INFO: Processing buffer {"connection_id":146493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:39:49] local.INFO: IMEI packet received {"connection_id":146493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":146493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:39:50] local.INFO: TCP Data received {"connection_id":146493,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbddd7c88012cc44bc00752af70000c01402e..."} 
[2026-08-01 20:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbddd7c88012cc44bc00752af70000c01402e..."} 
[2026-08-01 20:39:50] local.INFO: Processing buffer {"connection_id":146493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbddd7c88012cc44bc00752af70000c01402e..."} 
[2026-08-01 20:39:50] local.INFO: Packet analysis {"connection_id":146493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbddd"} 
[2026-08-01 20:39:50] local.INFO: Extracted packet for processing {"connection_id":146493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbddd"} 
[2026-08-01 20:39:50] local.INFO: GPS Element Parsed {"raw_longitude":751061952,"raw_latitude":122859376,"longitude_deg":75.1061952,"latitude_deg":12.2859376,"altitude":12,"angle":320,"satellites":46,"speed":27,"hex_longitude":"2cc44bc0","hex_latitude":"0752af70","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112788736001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366933375518244864,"note":"Value kept but may cause issues"} 
[2026-08-01 20:39:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4299389500316182528,"note":"Value kept but may cause issues"} 
[2026-08-01 20:39:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785596837000,"timestamp_ms":1785596837000,"timestamp_seconds":1785596837,"priority":1,"record_length":96,"hex_timestamp":"0000019fbddd7c88"} 
[2026-08-01 20:39:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:39:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20: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":104,"n8_eight_byte":241,"data_length":795,"current_offset":136} 
[2026-08-01 20:39:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2887,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:39:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:39:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112788736001,"66":26419,"246":206,"2":54016,"24":27,"16":366933375518244864,"44":-4299389500316182528},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,2,24,16,44]} 
[2026-08-01 20:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112788736001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366933375518244864,"km_value":366933375518244.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:39:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4299389500316182528,"description":"Unknown IO ID 44"} 
[2026-08-01 20:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112788736001,"power":26419,"main_input_voltage":206,"power_alt":54016,"ignition":27,"odometer":null,"unknown_44":-4299389500316182528}} 
[2026-08-01 20:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":146493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:39:50] local.INFO: GPS data processed {"connection_id":146493,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:39:50] local.INFO: Acknowledgment sent {"connection_id":146493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:39:59] local.INFO: TCP Data received {"connection_id":147480,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:39:59] local.INFO: Processing buffer {"connection_id":147480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:39:59] local.INFO: IMEI packet received {"connection_id":147480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":147480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:40:04] local.INFO: TCP Data received {"connection_id":147480,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:40:04] local.INFO: Processing buffer {"connection_id":147480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:40:04] local.INFO: IMEI packet received {"connection_id":147480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":147480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:40:05] local.INFO: TCP Data received {"connection_id":147480,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdded448012d196580071fefa0003b015125..."} 
[2026-08-01 20:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdded448012d196580071fefa0003b015125..."} 
[2026-08-01 20:40:05] local.INFO: Processing buffer {"connection_id":147480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdded448012d196580071fefa0003b015125..."} 
[2026-08-01 20:40:05] local.INFO: Packet analysis {"connection_id":147480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdde"} 
[2026-08-01 20:40:05] local.INFO: Extracted packet for processing {"connection_id":147480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdde"} 
[2026-08-01 20:40:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112735744001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785596925000,"timestamp_ms":1785596925000,"timestamp_seconds":1785596925,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdded448"} 
[2026-08-01 20:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:40:05] 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-08-01 20:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:40:05] 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-08-01 20:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112735744001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112735744001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:40:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:40:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112735744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":147480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579124,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:40:05] local.INFO: GPS data processed {"connection_id":147480,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:40:05] local.INFO: Acknowledgment sent {"connection_id":147480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:40:22] local.INFO: TCP Data received {"connection_id":146493,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbddd8c28012cc445c00752b7a8000b01522d..."} 
[2026-08-01 20:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbddd8c28012cc445c00752b7a8000b01522d..."} 
[2026-08-01 20:40:22] local.INFO: Processing buffer {"connection_id":146493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbddd8c28012cc445c00752b7a8000b01522d..."} 
[2026-08-01 20:40:22] local.INFO: Packet analysis {"connection_id":146493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbddd"} 
[2026-08-01 20:40:22] local.INFO: Extracted packet for processing {"connection_id":146493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbddd"} 
[2026-08-01 20:40:22] local.INFO: GPS Element Parsed {"raw_longitude":751060416,"raw_latitude":122861480,"longitude_deg":75.1060416,"latitude_deg":12.286148,"altitude":11,"angle":338,"satellites":45,"speed":25,"hex_longitude":"2cc445c0","hex_latitude":"0752b7a8","is_valid_coordinates":true} 
[2026-08-01 20:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112790272001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366933504367263744,"note":"Value kept but may cause issues"} 
[2026-08-01 20:40:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4302133881337843712,"note":"Value kept but may cause issues"} 
[2026-08-01 20:40:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785596841000,"timestamp_ms":1785596841000,"timestamp_seconds":1785596841,"priority":1,"record_length":96,"hex_timestamp":"0000019fbddd8c28"} 
[2026-08-01 20:40:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:40:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-01 20:40:22] 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-08-01 20:40:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:40:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:40:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112790272001,"66":27321,"246":206,"2":54016,"24":25,"16":366933504367263744,"44":-4302133881337843712},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,2,24,16,44]} 
[2026-08-01 20:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112790272001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366933504367263744,"km_value":366933504367263.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:40:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4302133881337843712,"description":"Unknown IO ID 44"} 
[2026-08-01 20:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112790272001,"power":27321,"main_input_voltage":206,"power_alt":54016,"ignition":25,"odometer":null,"unknown_44":-4302133881337843712}} 
[2026-08-01 20:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":146493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:40:22] local.INFO: GPS data processed {"connection_id":146493,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:40:22] local.INFO: Acknowledgment sent {"connection_id":146493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:40:36] local.INFO: TCP Data received {"connection_id":147480,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdded448012d196580071fefa0003b015125..."} 
[2026-08-01 20:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdded448012d196580071fefa0003b015125..."} 
[2026-08-01 20:40:36] local.INFO: Processing buffer {"connection_id":147480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdded448012d196580071fefa0003b015125..."} 
[2026-08-01 20:40:36] local.INFO: Packet analysis {"connection_id":147480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdde"} 
[2026-08-01 20:40:36] local.INFO: Extracted packet for processing {"connection_id":147480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdde"} 
[2026-08-01 20:40:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112735744001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785596925000,"timestamp_ms":1785596925000,"timestamp_seconds":1785596925,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdded448"} 
[2026-08-01 20:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:40:36] 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-08-01 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:40:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:40:36] 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-08-01 20:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112735744001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112735744001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:40:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:40:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112735744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":147480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:40:36] local.INFO: GPS data processed {"connection_id":147480,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:40:36] local.INFO: Acknowledgment sent {"connection_id":147480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:40:43] local.INFO: TCP Data received {"connection_id":148790,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:40:43] local.INFO: Processing buffer {"connection_id":148790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:40:43] local.INFO: IMEI packet received {"connection_id":148790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":148790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:40:47] local.INFO: TCP Data received {"connection_id":148790,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:40:47] local.INFO: Processing buffer {"connection_id":148790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:40:47] local.INFO: IMEI packet received {"connection_id":148790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":148790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:40:48] local.INFO: TCP Data received {"connection_id":148790,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:40:48] local.INFO: Processing buffer {"connection_id":148790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:40:48] local.INFO: IMEI packet received {"connection_id":148790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":148790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:40:49] local.INFO: TCP Data received {"connection_id":148790,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbddfe5b8012cc3b68007541c48000d016427..."} 
[2026-08-01 20:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbddfe5b8012cc3b68007541c48000d016427..."} 
[2026-08-01 20:40:49] local.INFO: Processing buffer {"connection_id":148790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbddfe5b8012cc3b68007541c48000d016427..."} 
[2026-08-01 20:40:49] local.INFO: Packet analysis {"connection_id":148790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbddf"} 
[2026-08-01 20:40:49] local.INFO: Extracted packet for processing {"connection_id":148790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbddf"} 
[2026-08-01 20:40:49] local.INFO: GPS Element Parsed {"raw_longitude":751023744,"raw_latitude":122952776,"longitude_deg":75.1023744,"latitude_deg":12.2952776,"altitude":13,"angle":356,"satellites":39,"speed":22,"hex_longitude":"2cc3b680","hex_latitude":"07541c48","is_valid_coordinates":true} 
[2026-08-01 20:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112827904001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366938267485995008,"note":"Value kept but may cause issues"} 
[2026-08-01 20:40:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4342595909217638400,"note":"Value kept but may cause issues"} 
[2026-08-01 20:40:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785596995000,"timestamp_ms":1785596995000,"timestamp_seconds":1785596995,"priority":1,"record_length":96,"hex_timestamp":"0000019fbddfe5b8"} 
[2026-08-01 20:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:40:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-08-01 20:40:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1173,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:40:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:40:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112827904001,"66":27300,"79":206,"2":54016,"24":22,"16":366938267485995008,"44":-4342595909217638400},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,2,24,16,44]} 
[2026-08-01 20:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112827904001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:40:49] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-01 20:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366938267485995008,"km_value":366938267485995.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:40:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4342595909217638400,"description":"Unknown IO ID 44"} 
[2026-08-01 20:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112827904001,"power":27300,"unknown_79":206,"power_alt":54016,"ignition":22,"odometer":null,"unknown_44":-4342595909217638400}} 
[2026-08-01 20:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":148790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:40:49] local.INFO: GPS data processed {"connection_id":148790,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:40:49] local.INFO: Acknowledgment sent {"connection_id":148790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:40:54] local.INFO: TCP Data received {"connection_id":148790,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbddffd28012cc3b540075427a8000e015827..."} 
[2026-08-01 20:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbddffd28012cc3b540075427a8000e015827..."} 
[2026-08-01 20:40:54] local.INFO: Processing buffer {"connection_id":148790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbddffd28012cc3b540075427a8000e015827..."} 
[2026-08-01 20:40:54] local.INFO: Packet analysis {"connection_id":148790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbddf"} 
[2026-08-01 20:40:54] local.INFO: Extracted packet for processing {"connection_id":148790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbddf"} 
[2026-08-01 20:40:54] local.INFO: GPS Element Parsed {"raw_longitude":751023424,"raw_latitude":122955688,"longitude_deg":75.1023424,"latitude_deg":12.2955688,"altitude":14,"angle":344,"satellites":39,"speed":16,"hex_longitude":"2cc3b540","hex_latitude":"075427a8","is_valid_coordinates":true} 
[2026-08-01 20:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112830720001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366938413514883072,"note":"Value kept but may cause issues"} 
[2026-08-01 20:40:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4344144021587998720,"note":"Value kept but may cause issues"} 
[2026-08-01 20:40:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785597001000,"timestamp_ms":1785597001000,"timestamp_seconds":1785597001,"priority":1,"record_length":96,"hex_timestamp":"0000019fbddffd28"} 
[2026-08-01 20:40:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:40:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-01 20:40:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:40:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:40:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:40:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112830720001,"66":27343,"79":206,"2":54016,"24":16,"16":366938413514883072,"44":-4344144021587998720},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,2,24,16,44]} 
[2026-08-01 20:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112830720001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:40:54] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-01 20:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366938413514883072,"km_value":366938413514883.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:40:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4344144021587998720,"description":"Unknown IO ID 44"} 
[2026-08-01 20:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112830720001,"power":27343,"unknown_79":206,"power_alt":54016,"ignition":16,"odometer":null,"unknown_44":-4344144021587998720}} 
[2026-08-01 20:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":148790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:40:54] local.INFO: GPS data processed {"connection_id":148790,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:40:54] local.INFO: Acknowledgment sent {"connection_id":148790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:40:59] local.INFO: TCP Data received {"connection_id":146246,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146246,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:40:59] local.INFO: Processing buffer {"connection_id":146246,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:40:59] local.INFO: IMEI packet received {"connection_id":146246,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":146246,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:41:04] local.INFO: TCP Data received {"connection_id":146246,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146246,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:41:04] local.INFO: Processing buffer {"connection_id":146246,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:41:04] local.INFO: IMEI packet received {"connection_id":146246,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":146246,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:41:05] local.INFO: TCP Data received {"connection_id":146246,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdded448012d196580071fefa0003b015125..."} 
[2026-08-01 20:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdded448012d196580071fefa0003b015125..."} 
[2026-08-01 20:41:05] local.INFO: Processing buffer {"connection_id":146246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdded448012d196580071fefa0003b015125..."} 
[2026-08-01 20:41:05] local.INFO: Packet analysis {"connection_id":146246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdde"} 
[2026-08-01 20:41:05] local.INFO: Extracted packet for processing {"connection_id":146246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdde"} 
[2026-08-01 20:41:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112735744001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785596925000,"timestamp_ms":1785596925000,"timestamp_seconds":1785596925,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdded448"} 
[2026-08-01 20:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:41:05] 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-08-01 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:41:05] 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-08-01 20:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112735744001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112735744001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:41:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:41:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112735744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":146246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:41:05] local.INFO: GPS data processed {"connection_id":146246,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:41:05] local.INFO: Acknowledgment sent {"connection_id":146246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:41:25] local.INFO: TCP Data received {"connection_id":148790,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbde00110012cc3b48007542910000e014b27..."} 
[2026-08-01 20:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbde00110012cc3b48007542910000e014b27..."} 
[2026-08-01 20:41:25] local.INFO: Processing buffer {"connection_id":148790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbde00110012cc3b48007542910000e014b27..."} 
[2026-08-01 20:41:25] local.INFO: Packet analysis {"connection_id":148790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbde0"} 
[2026-08-01 20:41:25] local.INFO: Extracted packet for processing {"connection_id":148790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbde0"} 
[2026-08-01 20:41:25] local.INFO: GPS Element Parsed {"raw_longitude":751023232,"raw_latitude":122956048,"longitude_deg":75.1023232,"latitude_deg":12.2956048,"altitude":14,"angle":331,"satellites":39,"speed":15,"hex_longitude":"2cc3b480","hex_latitude":"07542910","is_valid_coordinates":true} 
[2026-08-01 20:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112832256001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366938430694752256,"note":"Value kept but may cause issues"} 
[2026-08-01 20:41:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4344495865308141568,"note":"Value kept but may cause issues"} 
[2026-08-01 20:41:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785597002000,"timestamp_ms":1785597002000,"timestamp_seconds":1785597002,"priority":1,"record_length":96,"hex_timestamp":"0000019fbde00110"} 
[2026-08-01 20:41:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:41:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-01 20:41:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:41:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:41:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:41:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112832256001,"66":27245,"79":206,"2":54016,"24":15,"16":366938430694752256,"44":-4344495865308141568},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,2,24,16,44]} 
[2026-08-01 20:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112832256001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:41:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-01 20:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366938430694752256,"km_value":366938430694752.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:41:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4344495865308141568,"description":"Unknown IO ID 44"} 
[2026-08-01 20:41:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112832256001,"power":27245,"unknown_79":206,"power_alt":54016,"ignition":15,"odometer":null,"unknown_44":-4344495865308141568}} 
[2026-08-01 20:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":148790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:41:25] local.INFO: GPS data processed {"connection_id":148790,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:41:25] local.INFO: Acknowledgment sent {"connection_id":148790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:41:36] local.INFO: TCP Data received {"connection_id":146246,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdded448012d196580071fefa0003b015125..."} 
[2026-08-01 20:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdded448012d196580071fefa0003b015125..."} 
[2026-08-01 20:41:36] local.INFO: Processing buffer {"connection_id":146246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdded448012d196580071fefa0003b015125..."} 
[2026-08-01 20:41:36] local.INFO: Packet analysis {"connection_id":146246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdde"} 
[2026-08-01 20:41:36] local.INFO: Extracted packet for processing {"connection_id":146246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdde"} 
[2026-08-01 20:41:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112735744001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785596925000,"timestamp_ms":1785596925000,"timestamp_seconds":1785596925,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdded448"} 
[2026-08-01 20:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:41:36] 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-08-01 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:41:36] 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-08-01 20:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112735744001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112735744001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:41:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:41:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112735744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":146246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:41:37] local.INFO: GPS data processed {"connection_id":146246,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:41:37] local.INFO: Acknowledgment sent {"connection_id":146246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:41:48] local.INFO: TCP Data received {"connection_id":146247,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:41:48] local.INFO: Processing buffer {"connection_id":146247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:41:48] local.INFO: IMEI packet received {"connection_id":146247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":146247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:41:49] local.INFO: TCP Data received {"connection_id":146247,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:41:49] local.INFO: Processing buffer {"connection_id":146247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:41:49] local.INFO: IMEI packet received {"connection_id":146247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":146247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:41:51] local.INFO: TCP Data received {"connection_id":146247,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbde008e0012cc3b30007542af8000e013b27..."} 
[2026-08-01 20:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbde008e0012cc3b30007542af8000e013b27..."} 
[2026-08-01 20:41:51] local.INFO: Processing buffer {"connection_id":146247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbde008e0012cc3b30007542af8000e013b27..."} 
[2026-08-01 20:41:51] local.INFO: Packet analysis {"connection_id":146247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbde0"} 
[2026-08-01 20:41:51] local.INFO: Extracted packet for processing {"connection_id":146247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbde0"} 
[2026-08-01 20:41:51] local.INFO: GPS Element Parsed {"raw_longitude":751022848,"raw_latitude":122956536,"longitude_deg":75.1022848,"latitude_deg":12.2956536,"altitude":14,"angle":315,"satellites":39,"speed":11,"hex_longitude":"2cc3b300","hex_latitude":"07542af8","is_valid_coordinates":true} 
[2026-08-01 20:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112832512001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366938460759523328,"note":"Value kept but may cause issues"} 
[2026-08-01 20:41:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4344706971540582400,"note":"Value kept but may cause issues"} 
[2026-08-01 20:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785597004000,"timestamp_ms":1785597004000,"timestamp_seconds":1785597004,"priority":1,"record_length":96,"hex_timestamp":"0000019fbde008e0"} 
[2026-08-01 20:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:41: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-08-01 20:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-01 20:41:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:41:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":146247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":146247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":146247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112832512001,"66":27310,"79":206,"2":54016,"24":11,"16":366938460759523328,"44":-4344706971540582400},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,2,24,16,44]} 
[2026-08-01 20:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112832512001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:41:51] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-01 20:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366938460759523328,"km_value":366938460759523.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:41:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4344706971540582400,"description":"Unknown IO ID 44"} 
[2026-08-01 20:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112832512001,"power":27310,"unknown_79":206,"power_alt":54016,"ignition":11,"odometer":null,"unknown_44":-4344706971540582400}} 
[2026-08-01 20:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":146247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:41:51] local.INFO: GPS data processed {"connection_id":146247,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:41:51] local.INFO: Acknowledgment sent {"connection_id":146247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:41:53] local.INFO: TCP Data received {"connection_id":146247,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbde01880012cc3afc007542f38000d01492b..."} 
[2026-08-01 20:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbde01880012cc3afc007542f38000d01492b..."} 
[2026-08-01 20:41:53] local.INFO: Processing buffer {"connection_id":146247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbde01880012cc3afc007542f38000d01492b..."} 
[2026-08-01 20:41:53] local.INFO: Packet analysis {"connection_id":146247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbde0"} 
[2026-08-01 20:41:53] local.INFO: Extracted packet for processing {"connection_id":146247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbde0"} 
[2026-08-01 20:41:53] local.INFO: GPS Element Parsed {"raw_longitude":751022016,"raw_latitude":122957624,"longitude_deg":75.1022016,"latitude_deg":12.2957624,"altitude":13,"angle":329,"satellites":43,"speed":18,"hex_longitude":"2cc3afc0","hex_latitude":"07542f38","is_valid_coordinates":true} 
[2026-08-01 20:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112833024001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366938525184032768,"note":"Value kept but may cause issues"} 
[2026-08-01 20:41:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4345129184005523456,"note":"Value kept but may cause issues"} 
[2026-08-01 20:41:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785597008000,"timestamp_ms":1785597008000,"timestamp_seconds":1785597008,"priority":1,"record_length":96,"hex_timestamp":"0000019fbde01880"} 
[2026-08-01 20:41:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:41: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-08-01 20:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-01 20:41:53] 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-08-01 20:41:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:41:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":146247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":146247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":146247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:41:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112833024001,"66":27213,"79":206,"2":54016,"24":18,"16":366938525184032768,"44":-4345129184005523456},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,2,24,16,44]} 
[2026-08-01 20:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112833024001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:41:53] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-01 20:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366938525184032768,"km_value":366938525184032.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:41:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4345129184005523456,"description":"Unknown IO ID 44"} 
[2026-08-01 20:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112833024001,"power":27213,"unknown_79":206,"power_alt":54016,"ignition":18,"odometer":null,"unknown_44":-4345129184005523456}} 
[2026-08-01 20:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":146247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:41:53] local.INFO: GPS data processed {"connection_id":146247,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:41:53] local.INFO: Acknowledgment sent {"connection_id":146247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:42:04] local.INFO: TCP Data received {"connection_id":147481,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:42:04] local.INFO: Processing buffer {"connection_id":147481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:42:04] local.INFO: IMEI packet received {"connection_id":147481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":147481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:42:09] local.INFO: TCP Data received {"connection_id":147481,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:42:09] local.INFO: Processing buffer {"connection_id":147481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:42:09] local.INFO: IMEI packet received {"connection_id":147481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":147481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:42:10] local.INFO: TCP Data received {"connection_id":147481,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdded448012d196580071fefa0003b015125..."} 
[2026-08-01 20:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdded448012d196580071fefa0003b015125..."} 
[2026-08-01 20:42:10] local.INFO: Processing buffer {"connection_id":147481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdded448012d196580071fefa0003b015125..."} 
[2026-08-01 20:42:10] local.INFO: Packet analysis {"connection_id":147481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdde"} 
[2026-08-01 20:42:10] local.INFO: Extracted packet for processing {"connection_id":147481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdde"} 
[2026-08-01 20:42:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 20:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112735744001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 20:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785596925000,"timestamp_ms":1785596925000,"timestamp_seconds":1785596925,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdded448"} 
[2026-08-01 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-08-01 20:42: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-08-01 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":118,"data_length":795,"current_offset":136} 
[2026-08-01 20: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-08-01 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-08-01 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-08-01 20:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":147481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":147481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":147481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:42: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-08-01 20:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112735744001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112735744001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:42:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:42:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112735744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":147481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:42:10] local.INFO: GPS data processed {"connection_id":147481,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:42:10] local.INFO: Acknowledgment sent {"connection_id":147481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:42:15] local.INFO: TCP Data received {"connection_id":147481,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdded448012d196580071fefa0003b015125..."} 
[2026-08-01 20:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdded448012d196580071fefa0003b015125..."} 
[2026-08-01 20:42:15] local.INFO: Processing buffer {"connection_id":147481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdded448012d196580071fefa0003b015125..."} 
[2026-08-01 20:42:15] local.INFO: Packet analysis {"connection_id":147481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdde"} 
[2026-08-01 20:42:15] local.INFO: Extracted packet for processing {"connection_id":147481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdde"} 
[2026-08-01 20:42:15] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112735744001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20: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-08-01 20:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785596925000,"timestamp_ms":1785596925000,"timestamp_seconds":1785596925,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdded448"} 
[2026-08-01 20:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:42: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-08-01 20: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":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:42: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-08-01 20: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-08-01 20:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":147481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":147481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":147481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:42: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-08-01 20:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112735744001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112735744001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:42:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:42:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112735744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":147481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:42:15] local.INFO: GPS data processed {"connection_id":147481,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:42:15] local.INFO: Acknowledgment sent {"connection_id":147481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:42:25] local.INFO: TCP Data received {"connection_id":146247,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbde04f30012cc3a200075450f8000c01532b..."} 
[2026-08-01 20:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbde04f30012cc3a200075450f8000c01532b..."} 
[2026-08-01 20:42:25] local.INFO: Processing buffer {"connection_id":146247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbde04f30012cc3a200075450f8000c01532b..."} 
[2026-08-01 20:42:25] local.INFO: Packet analysis {"connection_id":146247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbde0"} 
[2026-08-01 20:42:25] local.INFO: Extracted packet for processing {"connection_id":146247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbde0"} 
[2026-08-01 20:42:25] local.INFO: GPS Element Parsed {"raw_longitude":751018496,"raw_latitude":122966264,"longitude_deg":75.1018496,"latitude_deg":12.2966264,"altitude":12,"angle":339,"satellites":43,"speed":29,"hex_longitude":"2cc3a200","hex_latitude":"075450f8","is_valid_coordinates":true} 
[2026-08-01 20:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112834048001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366938976155598848,"note":"Value kept but may cause issues"} 
[2026-08-01 20:42:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4346043977679554560,"note":"Value kept but may cause issues"} 
[2026-08-01 20:42:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785597022000,"timestamp_ms":1785597022000,"timestamp_seconds":1785597022,"priority":1,"record_length":96,"hex_timestamp":"0000019fbde04f30"} 
[2026-08-01 20:42:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:42: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-08-01 20:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-01 20:42:25] 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-08-01 20:42:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:42:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":146247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":146247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":146247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:42:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112834048001,"66":27137,"79":206,"2":54016,"24":29,"16":366938976155598848,"44":-4346043977679554560},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,2,24,16,44]} 
[2026-08-01 20:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112834048001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:42:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-01 20:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366938976155598848,"km_value":366938976155598.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:42:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4346043977679554560,"description":"Unknown IO ID 44"} 
[2026-08-01 20:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112834048001,"power":27137,"unknown_79":206,"power_alt":54016,"ignition":29,"odometer":null,"unknown_44":-4346043977679554560}} 
[2026-08-01 20:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":146247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:42:25] local.INFO: GPS data processed {"connection_id":146247,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:42:25] local.INFO: Acknowledgment sent {"connection_id":146247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:42:43] local.INFO: TCP Data received {"connection_id":148791,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:42:43] local.INFO: Processing buffer {"connection_id":148791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:42:43] local.INFO: IMEI packet received {"connection_id":148791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":148791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:42:48] local.INFO: TCP Data received {"connection_id":148791,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:42:48] local.INFO: Processing buffer {"connection_id":148791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:42:48] local.INFO: IMEI packet received {"connection_id":148791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":148791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:42:49] local.INFO: TCP Data received {"connection_id":148791,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbde081f8012cc3948007547250000c01512c..."} 
[2026-08-01 20:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbde081f8012cc3948007547250000c01512c..."} 
[2026-08-01 20:42:49] local.INFO: Processing buffer {"connection_id":148791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbde081f8012cc3948007547250000c01512c..."} 
[2026-08-01 20:42:49] local.INFO: Packet analysis {"connection_id":148791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbde0"} 
[2026-08-01 20:42:49] local.INFO: Extracted packet for processing {"connection_id":148791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbde0"} 
[2026-08-01 20:42:49] local.INFO: GPS Element Parsed {"raw_longitude":751015040,"raw_latitude":122974800,"longitude_deg":75.101504,"latitude_deg":12.29748,"altitude":12,"angle":337,"satellites":44,"speed":28,"hex_longitude":"2cc39480","hex_latitude":"07547250","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112837632001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366939422832197632,"note":"Value kept but may cause issues"} 
[2026-08-01 20:42:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4349914258607114240,"note":"Value kept but may cause issues"} 
[2026-08-01 20:42:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785597035000,"timestamp_ms":1785597035000,"timestamp_seconds":1785597035,"priority":1,"record_length":96,"hex_timestamp":"0000019fbde081f8"} 
[2026-08-01 20:42:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:42:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20: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":1,"data_length":795,"current_offset":136} 
[2026-08-01 20:42:49] 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-08-01 20: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-08-01 20:42:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:42:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112837632001,"66":27343,"79":206,"2":54016,"24":28,"16":366939422832197632,"44":-4349914258607114240},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,2,24,16,44]} 
[2026-08-01 20:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112837632001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:42:49] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-01 20:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366939422832197632,"km_value":366939422832197.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:42:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4349914258607114240,"description":"Unknown IO ID 44"} 
[2026-08-01 20:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112837632001,"power":27343,"unknown_79":206,"power_alt":54016,"ignition":28,"odometer":null,"unknown_44":-4349914258607114240}} 
[2026-08-01 20:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":148791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:42:49] local.INFO: GPS data processed {"connection_id":148791,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:42:49] local.INFO: Acknowledgment sent {"connection_id":148791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:42:50] local.INFO: TCP Data received {"connection_id":148791,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbde0acf0012cc3868007549440000c01532e..."} 
[2026-08-01 20:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbde0acf0012cc3868007549440000c01532e..."} 
[2026-08-01 20:42:50] local.INFO: Processing buffer {"connection_id":148791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbde0acf0012cc3868007549440000c01532e..."} 
[2026-08-01 20:42:50] local.INFO: Packet analysis {"connection_id":148791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbde0"} 
[2026-08-01 20:42:50] local.INFO: Extracted packet for processing {"connection_id":148791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbde0"} 
[2026-08-01 20:42:50] local.INFO: GPS Element Parsed {"raw_longitude":751011456,"raw_latitude":122983488,"longitude_deg":75.1011456,"latitude_deg":12.2983488,"altitude":12,"angle":339,"satellites":46,"speed":34,"hex_longitude":"2cc38680","hex_latitude":"07549440","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112840960001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366939878098731008,"note":"Value kept but may cause issues"} 
[2026-08-01 20:42:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4353714170790522880,"note":"Value kept but may cause issues"} 
[2026-08-01 20:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785597046000,"timestamp_ms":1785597046000,"timestamp_seconds":1785597046,"priority":1,"record_length":96,"hex_timestamp":"0000019fbde0acf0"} 
[2026-08-01 20:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20: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-08-01 20:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-01 20:42:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112840960001,"66":27463,"79":206,"2":54016,"24":34,"16":366939878098731008,"44":-4353714170790522880},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,2,24,16,44]} 
[2026-08-01 20:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112840960001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:42:50] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-01 20:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366939878098731008,"km_value":366939878098731.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:42:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4353714170790522880,"description":"Unknown IO ID 44"} 
[2026-08-01 20:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112840960001,"power":27463,"unknown_79":206,"power_alt":54016,"ignition":34,"odometer":null,"unknown_44":-4353714170790522880}} 
[2026-08-01 20:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":148791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:42:50] local.INFO: GPS data processed {"connection_id":148791,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:42:50] local.INFO: Acknowledgment sent {"connection_id":148791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:42:59] local.INFO: TCP Data received {"connection_id":146248,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:42:59] local.INFO: Processing buffer {"connection_id":146248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:42:59] local.INFO: IMEI packet received {"connection_id":146248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":146248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:43:04] local.INFO: TCP Data received {"connection_id":146248,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:43:04] local.INFO: Processing buffer {"connection_id":146248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:43:04] local.INFO: IMEI packet received {"connection_id":146248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":146248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:43:05] local.INFO: TCP Data received {"connection_id":146248,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdded448012d196580071fefa0003b015125..."} 
[2026-08-01 20:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdded448012d196580071fefa0003b015125..."} 
[2026-08-01 20:43:05] local.INFO: Processing buffer {"connection_id":146248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdded448012d196580071fefa0003b015125..."} 
[2026-08-01 20:43:05] local.INFO: Packet analysis {"connection_id":146248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdde"} 
[2026-08-01 20:43:05] local.INFO: Extracted packet for processing {"connection_id":146248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdde"} 
[2026-08-01 20:43:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112735744001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785596925000,"timestamp_ms":1785596925000,"timestamp_seconds":1785596925,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdded448"} 
[2026-08-01 20:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:43:05] 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-08-01 20:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:43:05] 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-08-01 20:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112735744001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112735744001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:43:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:43:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112735744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":146248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:43:05] local.INFO: GPS data processed {"connection_id":146248,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:43:05] local.INFO: Acknowledgment sent {"connection_id":146248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:43:22] local.INFO: TCP Data received {"connection_id":148791,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbde0e3a0012cc379000754b678000d01502c..."} 
[2026-08-01 20:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbde0e3a0012cc379000754b678000d01502c..."} 
[2026-08-01 20:43:22] local.INFO: Processing buffer {"connection_id":148791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbde0e3a0012cc379000754b678000d01502c..."} 
[2026-08-01 20:43:22] local.INFO: Packet analysis {"connection_id":148791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbde0"} 
[2026-08-01 20:43:22] local.INFO: Extracted packet for processing {"connection_id":148791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbde0"} 
[2026-08-01 20:43:22] local.INFO: GPS Element Parsed {"raw_longitude":751008000,"raw_latitude":122992248,"longitude_deg":75.1008,"latitude_deg":12.2992248,"altitude":13,"angle":336,"satellites":44,"speed":30,"hex_longitude":"2cc37900","hex_latitude":"0754b678","is_valid_coordinates":true} 
[2026-08-01 20:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112843776001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366940333365264384,"note":"Value kept but may cause issues"} 
[2026-08-01 20:43:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4357654820462247936,"note":"Value kept but may cause issues"} 
[2026-08-01 20:43:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785597060000,"timestamp_ms":1785597060000,"timestamp_seconds":1785597060,"priority":1,"record_length":96,"hex_timestamp":"0000019fbde0e3a0"} 
[2026-08-01 20:43:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:43:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-01 20:43:22] 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-08-01 20:43:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:43:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112843776001,"66":27376,"79":206,"2":54016,"24":30,"16":366940333365264384,"44":-4357654820462247936},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,2,24,16,44]} 
[2026-08-01 20:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112843776001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:43:22] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-01 20:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366940333365264384,"km_value":366940333365264.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:43:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4357654820462247936,"description":"Unknown IO ID 44"} 
[2026-08-01 20:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112843776001,"power":27376,"unknown_79":206,"power_alt":54016,"ignition":30,"odometer":null,"unknown_44":-4357654820462247936}} 
[2026-08-01 20:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":148791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:43:22] local.INFO: GPS data processed {"connection_id":148791,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:43:22] local.INFO: Acknowledgment sent {"connection_id":148791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:43:36] local.INFO: TCP Data received {"connection_id":146248,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdded448012d196580071fefa0003b015125..."} 
[2026-08-01 20:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdded448012d196580071fefa0003b015125..."} 
[2026-08-01 20:43:36] local.INFO: Processing buffer {"connection_id":146248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdded448012d196580071fefa0003b015125..."} 
[2026-08-01 20:43:36] local.INFO: Packet analysis {"connection_id":146248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdde"} 
[2026-08-01 20:43:36] local.INFO: Extracted packet for processing {"connection_id":146248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdde"} 
[2026-08-01 20:43:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112735744001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785596925000,"timestamp_ms":1785596925000,"timestamp_seconds":1785596925,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdded448"} 
[2026-08-01 20:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:43:36] 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-08-01 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:43:36] 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-08-01 20:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112735744001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112735744001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:43:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:43:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112735744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":146248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:43:36] local.INFO: GPS data processed {"connection_id":146248,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:43:36] local.INFO: Acknowledgment sent {"connection_id":146248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:43:40] local.INFO: TCP Data received {"connection_id":147482,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:43:40] local.INFO: Processing buffer {"connection_id":147482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:43:40] local.INFO: IMEI packet received {"connection_id":147482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":147482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:43:43] local.INFO: TCP Data received {"connection_id":147482,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:43:43] local.INFO: Processing buffer {"connection_id":147482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:43:43] local.INFO: IMEI packet received {"connection_id":147482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":147482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:43:48] local.INFO: TCP Data received {"connection_id":147482,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:43:48] local.INFO: Processing buffer {"connection_id":147482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:43:48] local.INFO: IMEI packet received {"connection_id":147482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":147482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:43:50] local.INFO: TCP Data received {"connection_id":147482,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbde10e98012cc369c00754d858000d01522e..."} 
[2026-08-01 20:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbde10e98012cc369c00754d858000d01522e..."} 
[2026-08-01 20:43:50] local.INFO: Processing buffer {"connection_id":147482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbde10e98012cc369c00754d858000d01522e..."} 
[2026-08-01 20:43:50] local.INFO: Packet analysis {"connection_id":147482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbde1"} 
[2026-08-01 20:43:50] local.INFO: Extracted packet for processing {"connection_id":147482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbde1"} 
[2026-08-01 20:43:50] local.INFO: GPS Element Parsed {"raw_longitude":751004096,"raw_latitude":123000920,"longitude_deg":75.1004096,"latitude_deg":12.300092,"altitude":13,"angle":338,"satellites":46,"speed":35,"hex_longitude":"2cc369c0","hex_latitude":"0754d858","is_valid_coordinates":true} 
[2026-08-01 20:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112847360001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366940792926765056,"note":"Value kept but may cause issues"} 
[2026-08-01 20:43:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4361454732645599232,"note":"Value kept but may cause issues"} 
[2026-08-01 20:43:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785597071000,"timestamp_ms":1785597071000,"timestamp_seconds":1785597071,"priority":1,"record_length":96,"hex_timestamp":"0000019fbde10e98"} 
[2026-08-01 20:43:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:43: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-08-01 20:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-01 20:43:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:43:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:43:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:43:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112847360001,"66":27321,"79":206,"2":54016,"24":35,"16":366940792926765056,"44":-4361454732645599232},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,2,24,16,44]} 
[2026-08-01 20:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112847360001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:43:50] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-01 20:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366940792926765056,"km_value":366940792926765.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:43:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4361454732645599232,"description":"Unknown IO ID 44"} 
[2026-08-01 20:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112847360001,"power":27321,"unknown_79":206,"power_alt":54016,"ignition":35,"odometer":null,"unknown_44":-4361454732645599232}} 
[2026-08-01 20:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":147482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:43:50] local.INFO: GPS data processed {"connection_id":147482,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:43:50] local.INFO: Acknowledgment sent {"connection_id":147482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:43:59] local.INFO: TCP Data received {"connection_id":147483,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:43:59] local.INFO: Processing buffer {"connection_id":147483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:43:59] local.INFO: IMEI packet received {"connection_id":147483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":147483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:44:04] local.INFO: TCP Data received {"connection_id":147483,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:44:04] local.INFO: Processing buffer {"connection_id":147483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:44:04] local.INFO: IMEI packet received {"connection_id":147483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":147483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:44:05] local.INFO: TCP Data received {"connection_id":147483,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdded448012d196580071fefa0003b015125..."} 
[2026-08-01 20:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdded448012d196580071fefa0003b015125..."} 
[2026-08-01 20:44:05] local.INFO: Processing buffer {"connection_id":147483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdded448012d196580071fefa0003b015125..."} 
[2026-08-01 20:44:05] local.INFO: Packet analysis {"connection_id":147483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdde"} 
[2026-08-01 20:44:05] local.INFO: Extracted packet for processing {"connection_id":147483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdde"} 
[2026-08-01 20:44:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112735744001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785596925000,"timestamp_ms":1785596925000,"timestamp_seconds":1785596925,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdded448"} 
[2026-08-01 20:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:44:05] 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-08-01 20:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:44:05] 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-08-01 20:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112735744001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112735744001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:44:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:44:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112735744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":147483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579143,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:44:05] local.INFO: GPS data processed {"connection_id":147483,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:44:05] local.INFO: Acknowledgment sent {"connection_id":147483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:44:21] local.INFO: TCP Data received {"connection_id":147482,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbde31238012cc2a300075655d00012015625..."} 
[2026-08-01 20:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbde31238012cc2a300075655d00012015625..."} 
[2026-08-01 20:44:21] local.INFO: Processing buffer {"connection_id":147482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbde31238012cc2a300075655d00012015625..."} 
[2026-08-01 20:44:21] local.INFO: Packet analysis {"connection_id":147482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbde3"} 
[2026-08-01 20:44:21] local.INFO: Extracted packet for processing {"connection_id":147482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbde3"} 
[2026-08-01 20:44:21] local.INFO: GPS Element Parsed {"raw_longitude":750953216,"raw_latitude":123098576,"longitude_deg":75.0953216,"latitude_deg":12.3098576,"altitude":18,"angle":342,"satellites":37,"speed":30,"hex_longitude":"2cc2a300","hex_latitude":"075655d0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112883200001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366946157340917760,"note":"Value kept but may cause issues"} 
[2026-08-01 20:44:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4421338533914150912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785597203000,"timestamp_ms":1785597203000,"timestamp_seconds":1785597203,"priority":1,"record_length":96,"hex_timestamp":"0000019fbde31238"} 
[2026-08-01 20:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:44:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20: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":104,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-01 20:44:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1024,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:44:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112883200001,"66":27343,"164":206,"2":54016,"24":30,"16":366946157340917760,"44":-4421338533914150912},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,2,24,16,44]} 
[2026-08-01 20:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112883200001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:44:21] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-01 20:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366946157340917760,"km_value":366946157340917.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:44:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4421338533914150912,"description":"Unknown IO ID 44"} 
[2026-08-01 20:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112883200001,"power":27343,"unknown_164":206,"power_alt":54016,"ignition":30,"odometer":null,"unknown_44":-4421338533914150912}} 
[2026-08-01 20:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":147482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:44:21] local.INFO: GPS data processed {"connection_id":147482,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:44:21] local.INFO: Acknowledgment sent {"connection_id":147482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:44:36] local.INFO: TCP Data received {"connection_id":147483,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fbde36c10012d196580071fefa0003b015123..."} 
[2026-08-01 20:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbde36c10012d196580071fefa0003b015123..."} 
[2026-08-01 20:44:36] local.INFO: Processing buffer {"connection_id":147483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbde36c10012d196580071fefa0003b015123..."} 
[2026-08-01 20:44:36] local.INFO: Packet analysis {"connection_id":147483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbde3"} 
[2026-08-01 20:44:36] local.INFO: Extracted packet for processing {"connection_id":147483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbde3"} 
[2026-08-01 20:44:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112812800001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785597226000,"timestamp_ms":1785597226000,"timestamp_seconds":1785597226,"priority":1,"record_length":96,"hex_timestamp":"0000019fbde36c10"} 
[2026-08-01 20:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:44:36] 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-08-01 20:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:44:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:44:36] 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-08-01 20:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112812800001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112812800001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:44:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:44:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112812800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":147483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:44:36] local.INFO: GPS data processed {"connection_id":147483,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:44:36] local.INFO: Acknowledgment sent {"connection_id":147483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:44:43] local.INFO: TCP Data received {"connection_id":147484,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:44:43] local.INFO: Processing buffer {"connection_id":147484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:44:43] local.INFO: IMEI packet received {"connection_id":147484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":147484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:44:44] local.INFO: TCP Data received {"connection_id":147484,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:44:44] local.INFO: Processing buffer {"connection_id":147484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:44:44] local.INFO: IMEI packet received {"connection_id":147484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":147484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:44:48] local.INFO: TCP Data received {"connection_id":147484,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:44:48] local.INFO: Processing buffer {"connection_id":147484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:44:48] local.INFO: IMEI packet received {"connection_id":147484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":147484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:44:50] local.INFO: TCP Data received {"connection_id":147484,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbde31a08012cc2a08007565b800012014822..."} 
[2026-08-01 20:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbde31a08012cc2a08007565b800012014822..."} 
[2026-08-01 20:44:50] local.INFO: Processing buffer {"connection_id":147484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbde31a08012cc2a08007565b800012014822..."} 
[2026-08-01 20:44:50] local.INFO: Packet analysis {"connection_id":147484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbde3"} 
[2026-08-01 20:44:50] local.INFO: Extracted packet for processing {"connection_id":147484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbde3"} 
[2026-08-01 20:44:50] local.INFO: GPS Element Parsed {"raw_longitude":750952576,"raw_latitude":123100032,"longitude_deg":75.0952576,"latitude_deg":12.3100032,"altitude":18,"angle":328,"satellites":34,"speed":32,"hex_longitude":"2cc2a080","hex_latitude":"07565b80","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112883968001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366946234650329088,"note":"Value kept but may cause issues"} 
[2026-08-01 20:44:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4421690377634459648,"note":"Value kept but may cause issues"} 
[2026-08-01 20:44:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785597205000,"timestamp_ms":1785597205000,"timestamp_seconds":1785597205,"priority":1,"record_length":96,"hex_timestamp":"0000019fbde31a08"} 
[2026-08-01 20:44:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:44:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-01 20:44:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:44:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:44:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112883968001,"66":27376,"164":206,"2":54016,"24":32,"16":366946234650329088,"44":-4421690377634459648},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,2,24,16,44]} 
[2026-08-01 20:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112883968001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:44:50] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-01 20:44:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366946234650329088,"km_value":366946234650329.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:44:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4421690377634459648,"description":"Unknown IO ID 44"} 
[2026-08-01 20:44:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112883968001,"power":27376,"unknown_164":206,"power_alt":54016,"ignition":32,"odometer":null,"unknown_44":-4421690377634459648}} 
[2026-08-01 20:44:50] local.INFO: DEBUG: GPS processor result {"connection_id":147484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:44:50] local.INFO: GPS data processed {"connection_id":147484,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:44:50] local.INFO: Acknowledgment sent {"connection_id":147484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:44:59] local.INFO: TCP Data received {"connection_id":148792,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:44:59] local.INFO: Processing buffer {"connection_id":148792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:44:59] local.INFO: IMEI packet received {"connection_id":148792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":148792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:45:04] local.INFO: TCP Data received {"connection_id":148792,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:45:04] local.INFO: Processing buffer {"connection_id":148792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:45:04] local.INFO: IMEI packet received {"connection_id":148792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":148792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:45:05] local.INFO: TCP Data received {"connection_id":148792,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fbde36c10012d196580071fefa0003b015123..."} 
[2026-08-01 20:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbde36c10012d196580071fefa0003b015123..."} 
[2026-08-01 20:45:05] local.INFO: Processing buffer {"connection_id":148792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbde36c10012d196580071fefa0003b015123..."} 
[2026-08-01 20:45:05] local.INFO: Packet analysis {"connection_id":148792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbde3"} 
[2026-08-01 20:45:05] local.INFO: Extracted packet for processing {"connection_id":148792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbde3"} 
[2026-08-01 20:45:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112812800001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785597226000,"timestamp_ms":1785597226000,"timestamp_seconds":1785597226,"priority":1,"record_length":96,"hex_timestamp":"0000019fbde36c10"} 
[2026-08-01 20:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:45:05] 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-08-01 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:45:05] 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-08-01 20:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112812800001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112812800001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:45:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:45:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112812800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":148792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:45:05] local.INFO: GPS data processed {"connection_id":148792,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:45:05] local.INFO: Acknowledgment sent {"connection_id":148792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:45:21] local.INFO: TCP Data received {"connection_id":147484,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbde34500012cc289c0075679080011014320..."} 
[2026-08-01 20:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbde34500012cc289c0075679080011014320..."} 
[2026-08-01 20:45:21] local.INFO: Processing buffer {"connection_id":147484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbde34500012cc289c0075679080011014320..."} 
[2026-08-01 20:45:21] local.INFO: Packet analysis {"connection_id":147484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbde3"} 
[2026-08-01 20:45:21] local.INFO: Extracted packet for processing {"connection_id":147484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbde3"} 
[2026-08-01 20:45:21] local.INFO: GPS Element Parsed {"raw_longitude":750946752,"raw_latitude":123107592,"longitude_deg":75.0946752,"latitude_deg":12.3107592,"altitude":17,"angle":323,"satellites":32,"speed":33,"hex_longitude":"2cc289c0","hex_latitude":"07567908","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112884480001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366946694211829760,"note":"Value kept but may cause issues"} 
[2026-08-01 20:45:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4422394065075863552,"note":"Value kept but may cause issues"} 
[2026-08-01 20:45:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785597216000,"timestamp_ms":1785597216000,"timestamp_seconds":1785597216,"priority":1,"record_length":96,"hex_timestamp":"0000019fbde34500"} 
[2026-08-01 20:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:45:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-01 20:45:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:45:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112884480001,"66":27484,"164":206,"2":54016,"24":33,"16":366946694211829760,"44":-4422394065075863552},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,2,24,16,44]} 
[2026-08-01 20:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112884480001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:45:21] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-01 20:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366946694211829760,"km_value":366946694211829.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:45:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4422394065075863552,"description":"Unknown IO ID 44"} 
[2026-08-01 20:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112884480001,"power":27484,"unknown_164":206,"power_alt":54016,"ignition":33,"odometer":null,"unknown_44":-4422394065075863552}} 
[2026-08-01 20:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":147484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:45:21] local.INFO: GPS data processed {"connection_id":147484,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:45:21] local.INFO: Acknowledgment sent {"connection_id":147484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:45:36] local.INFO: TCP Data received {"connection_id":148792,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fbde36c10012d196580071fefa0003b015123..."} 
[2026-08-01 20:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbde36c10012d196580071fefa0003b015123..."} 
[2026-08-01 20:45:36] local.INFO: Processing buffer {"connection_id":148792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbde36c10012d196580071fefa0003b015123..."} 
[2026-08-01 20:45:36] local.INFO: Packet analysis {"connection_id":148792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbde3"} 
[2026-08-01 20:45:36] local.INFO: Extracted packet for processing {"connection_id":148792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbde3"} 
[2026-08-01 20:45:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112812800001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785597226000,"timestamp_ms":1785597226000,"timestamp_seconds":1785597226,"priority":1,"record_length":96,"hex_timestamp":"0000019fbde36c10"} 
[2026-08-01 20:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:45:36] 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-08-01 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:45:36] 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-08-01 20:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112812800001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112812800001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:45:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:45:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112812800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":148792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:45:36] local.INFO: GPS data processed {"connection_id":148792,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:45:36] local.INFO: Acknowledgment sent {"connection_id":148792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:45:42] local.INFO: TCP Data received {"connection_id":148793,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:45:42] local.INFO: Processing buffer {"connection_id":148793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:45:42] local.INFO: IMEI packet received {"connection_id":148793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":148793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:45:43] local.INFO: TCP Data received {"connection_id":148793,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:45:43] local.INFO: Processing buffer {"connection_id":148793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:45:43] local.INFO: IMEI packet received {"connection_id":148793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":148793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:45:45] local.INFO: TCP Data received {"connection_id":148793,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:45:45] local.INFO: Processing buffer {"connection_id":148793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:45:45] local.INFO: IMEI packet received {"connection_id":148793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":148793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:45:47] local.INFO: TCP Data received {"connection_id":148793,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:45:47] local.INFO: Processing buffer {"connection_id":148793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:45:47] local.INFO: IMEI packet received {"connection_id":148793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":148793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:45:48] local.INFO: TCP Data received {"connection_id":148793,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbde373e0012cc27740075697900011014929..."} 
[2026-08-01 20:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbde373e0012cc27740075697900011014929..."} 
[2026-08-01 20:45:48] local.INFO: Processing buffer {"connection_id":148793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbde373e0012cc27740075697900011014929..."} 
[2026-08-01 20:45:48] local.INFO: Packet analysis {"connection_id":148793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbde3"} 
[2026-08-01 20:45:48] local.INFO: Extracted packet for processing {"connection_id":148793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbde3"} 
[2026-08-01 20:45:48] local.INFO: GPS Element Parsed {"raw_longitude":750942016,"raw_latitude":123115408,"longitude_deg":75.0942016,"latitude_deg":12.3115408,"altitude":17,"angle":329,"satellites":41,"speed":29,"hex_longitude":"2cc27740","hex_latitude":"07569790","is_valid_coordinates":true} 
[2026-08-01 20:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112887296001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366947136593461248,"note":"Value kept but may cause issues"} 
[2026-08-01 20:45:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4428797620794095616,"note":"Value kept but may cause issues"} 
[2026-08-01 20:45:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785597228000,"timestamp_ms":1785597228000,"timestamp_seconds":1785597228,"priority":1,"record_length":96,"hex_timestamp":"0000019fbde373e0"} 
[2026-08-01 20:45:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:45:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-01 20:45:48] 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-08-01 20:45:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:45:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:45:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:45:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:45:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:45:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:45:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:45:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:45:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:45:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112887296001,"66":27300,"55":206,"2":54016,"24":29,"16":366947136593461248,"44":-4428797620794095616},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,2,24,16,44]} 
[2026-08-01 20:45:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:45:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:45:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112887296001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:45:48] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-08-01 20:45:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366947136593461248,"km_value":366947136593461.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:45:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4428797620794095616,"description":"Unknown IO ID 44"} 
[2026-08-01 20:45:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112887296001,"power":27300,"unknown_55":206,"power_alt":54016,"ignition":29,"odometer":null,"unknown_44":-4428797620794095616}} 
[2026-08-01 20:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":148793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:45:48] local.INFO: GPS data processed {"connection_id":148793,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:45:48] local.INFO: Acknowledgment sent {"connection_id":148793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:46:04] local.INFO: TCP Data received {"connection_id":147485,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:46:04] local.INFO: Processing buffer {"connection_id":147485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:46:04] local.INFO: IMEI packet received {"connection_id":147485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":147485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:46:09] local.INFO: TCP Data received {"connection_id":147485,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:46:09] local.INFO: Processing buffer {"connection_id":147485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:46:09] local.INFO: IMEI packet received {"connection_id":147485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":147485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:46:10] local.INFO: TCP Data received {"connection_id":147485,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fbde36c10012d196580071fefa0003b015123..."} 
[2026-08-01 20:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbde36c10012d196580071fefa0003b015123..."} 
[2026-08-01 20:46:10] local.INFO: Processing buffer {"connection_id":147485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbde36c10012d196580071fefa0003b015123..."} 
[2026-08-01 20:46:10] local.INFO: Packet analysis {"connection_id":147485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbde3"} 
[2026-08-01 20:46:10] local.INFO: Extracted packet for processing {"connection_id":147485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbde3"} 
[2026-08-01 20:46:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112812800001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20: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-08-01 20:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785597226000,"timestamp_ms":1785597226000,"timestamp_seconds":1785597226,"priority":1,"record_length":96,"hex_timestamp":"0000019fbde36c10"} 
[2026-08-01 20:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:46: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-08-01 20: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":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:46: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-08-01 20: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-08-01 20:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":147485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":147485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":147485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:46: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-08-01 20:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112812800001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112812800001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:46:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:46:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112812800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":147485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:46:10] local.INFO: GPS data processed {"connection_id":147485,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:46:10] local.INFO: Acknowledgment sent {"connection_id":147485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:46:15] local.INFO: TCP Data received {"connection_id":147485,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fbde36c10012d196580071fefa0003b015123..."} 
[2026-08-01 20:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbde36c10012d196580071fefa0003b015123..."} 
[2026-08-01 20:46:15] local.INFO: Processing buffer {"connection_id":147485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbde36c10012d196580071fefa0003b015123..."} 
[2026-08-01 20:46:15] local.INFO: Packet analysis {"connection_id":147485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbde3"} 
[2026-08-01 20:46:15] local.INFO: Extracted packet for processing {"connection_id":147485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbde3"} 
[2026-08-01 20:46:15] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 20:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112812800001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 20:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785597226000,"timestamp_ms":1785597226000,"timestamp_seconds":1785597226,"priority":1,"record_length":96,"hex_timestamp":"0000019fbde36c10"} 
[2026-08-01 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-08-01 20:46: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-08-01 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":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:46: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-08-01 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-08-01 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-08-01 20:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":147485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":147485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":147485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:46:15] 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-08-01 20:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112812800001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112812800001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:46:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:46:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112812800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":147485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:46:15] local.INFO: GPS data processed {"connection_id":147485,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:46:15] local.INFO: Acknowledgment sent {"connection_id":147485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:46:20] local.INFO: TCP Data received {"connection_id":148793,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbde4cf88012cc1e24007572d30000f012a2a..."} 
[2026-08-01 20:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbde4cf88012cc1e24007572d30000f012a2a..."} 
[2026-08-01 20:46:20] local.INFO: Processing buffer {"connection_id":148793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbde4cf88012cc1e24007572d30000f012a2a..."} 
[2026-08-01 20:46:20] local.INFO: Packet analysis {"connection_id":148793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbde4"} 
[2026-08-01 20:46:20] local.INFO: Extracted packet for processing {"connection_id":148793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbde4"} 
[2026-08-01 20:46:20] local.INFO: GPS Element Parsed {"raw_longitude":750903872,"raw_latitude":123153712,"longitude_deg":75.0903872,"latitude_deg":12.3153712,"altitude":15,"angle":298,"satellites":42,"speed":5,"hex_longitude":"2cc1e240","hex_latitude":"07572d30","is_valid_coordinates":true} 
[2026-08-01 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-08-01 20:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112912384001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366949769408413696,"note":"Value kept but may cause issues"} 
[2026-08-01 20:46:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4475663204404697088,"note":"Value kept but may cause issues"} 
[2026-08-01 20:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785597317000,"timestamp_ms":1785597317000,"timestamp_seconds":1785597317,"priority":1,"record_length":96,"hex_timestamp":"0000019fbde4cf88"} 
[2026-08-01 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-08-01 20:46: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-08-01 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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-01 20:46:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 20:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:46:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112912384001,"66":27104,"56":206,"2":54016,"24":5,"16":366949769408413696,"44":-4475663204404697088},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 20:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112912384001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:46:20] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 20:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366949769408413696,"km_value":366949769408413.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:46:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4475663204404697088,"description":"Unknown IO ID 44"} 
[2026-08-01 20:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112912384001,"power":27104,"unknown_56":206,"power_alt":54016,"ignition":5,"odometer":null,"unknown_44":-4475663204404697088}} 
[2026-08-01 20:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":148793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:46:20] local.INFO: GPS data processed {"connection_id":148793,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:46:20] local.INFO: Acknowledgment sent {"connection_id":148793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:46:43] local.INFO: TCP Data received {"connection_id":147486,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:46:43] local.INFO: Processing buffer {"connection_id":147486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:46:43] local.INFO: IMEI packet received {"connection_id":147486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":147486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:46:48] local.INFO: TCP Data received {"connection_id":147486,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:46:48] local.INFO: Processing buffer {"connection_id":147486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:46:48] local.INFO: IMEI packet received {"connection_id":147486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":147486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:46:50] local.INFO: TCP Data received {"connection_id":147486,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbde4d758012cc1e0c007572dc0000f01162d..."} 
[2026-08-01 20:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbde4d758012cc1e0c007572dc0000f01162d..."} 
[2026-08-01 20:46:50] local.INFO: Processing buffer {"connection_id":147486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbde4d758012cc1e0c007572dc0000f01162d..."} 
[2026-08-01 20:46:50] local.INFO: Packet analysis {"connection_id":147486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbde4"} 
[2026-08-01 20:46:50] local.INFO: Extracted packet for processing {"connection_id":147486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbde4"} 
[2026-08-01 20:46:50] local.INFO: GPS Element Parsed {"raw_longitude":750903488,"raw_latitude":123153856,"longitude_deg":75.0903488,"latitude_deg":12.3153856,"altitude":15,"angle":278,"satellites":45,"speed":6,"hex_longitude":"2cc1e0c0","hex_latitude":"07572dc0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112913152001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:46:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366949786588282880,"note":"Value kept but may cause issues"} 
[2026-08-01 20:46:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4475944679381323776,"note":"Value kept but may cause issues"} 
[2026-08-01 20:46:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:46:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785597319000,"timestamp_ms":1785597319000,"timestamp_seconds":1785597319,"priority":1,"record_length":96,"hex_timestamp":"0000019fbde4d758"} 
[2026-08-01 20:46:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:46: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-08-01 20: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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-01 20:46:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:46:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:46:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:46:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:46:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:46:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:46:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:46:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:46:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:46:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112913152001,"66":27343,"56":206,"2":54016,"24":6,"16":366949786588282880,"44":-4475944679381323776},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 20:46:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:46:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:46:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112913152001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:46:50] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 20:46:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366949786588282880,"km_value":366949786588282.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:46:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4475944679381323776,"description":"Unknown IO ID 44"} 
[2026-08-01 20:46:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112913152001,"power":27343,"unknown_56":206,"power_alt":54016,"ignition":6,"odometer":null,"unknown_44":-4475944679381323776}} 
[2026-08-01 20:46:50] local.INFO: DEBUG: GPS processor result {"connection_id":147486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:46:50] local.INFO: GPS data processed {"connection_id":147486,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:46:50] local.INFO: Acknowledgment sent {"connection_id":147486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:46:59] local.INFO: TCP Data received {"connection_id":146249,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146249,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:46:59] local.INFO: Processing buffer {"connection_id":146249,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:46:59] local.INFO: IMEI packet received {"connection_id":146249,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":146249,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:47:04] local.INFO: TCP Data received {"connection_id":146249,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146249,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:47:04] local.INFO: Processing buffer {"connection_id":146249,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:47:04] local.INFO: IMEI packet received {"connection_id":146249,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":146249,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:47:05] local.INFO: TCP Data received {"connection_id":146249,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fbde36c10012d196580071fefa0003b015123..."} 
[2026-08-01 20:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbde36c10012d196580071fefa0003b015123..."} 
[2026-08-01 20:47:05] local.INFO: Processing buffer {"connection_id":146249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbde36c10012d196580071fefa0003b015123..."} 
[2026-08-01 20:47:05] local.INFO: Packet analysis {"connection_id":146249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbde3"} 
[2026-08-01 20:47:05] local.INFO: Extracted packet for processing {"connection_id":146249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbde3"} 
[2026-08-01 20:47:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112812800001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785597226000,"timestamp_ms":1785597226000,"timestamp_seconds":1785597226,"priority":1,"record_length":96,"hex_timestamp":"0000019fbde36c10"} 
[2026-08-01 20:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:47:05] 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-08-01 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:47:05] 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-08-01 20:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112812800001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112812800001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:47:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:47:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112812800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":146249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579155,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:47:05] local.INFO: GPS data processed {"connection_id":146249,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:47:05] local.INFO: Acknowledgment sent {"connection_id":146249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:47:21] local.INFO: TCP Data received {"connection_id":147486,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbde52190012cc1dd8007572cb0001300902e..."} 
[2026-08-01 20:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbde52190012cc1dd8007572cb0001300902e..."} 
[2026-08-01 20:47:21] local.INFO: Processing buffer {"connection_id":147486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbde52190012cc1dd8007572cb0001300902e..."} 
[2026-08-01 20:47:21] local.INFO: Packet analysis {"connection_id":147486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbde5"} 
[2026-08-01 20:47:21] local.INFO: Extracted packet for processing {"connection_id":147486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbde5"} 
[2026-08-01 20:47:21] local.INFO: GPS Element Parsed {"raw_longitude":750902656,"raw_latitude":123153584,"longitude_deg":75.0902656,"latitude_deg":12.3153584,"altitude":19,"angle":144,"satellites":46,"speed":6,"hex_longitude":"2cc1dd80","hex_latitude":"07572cb0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112913664001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366949872487628800,"note":"Value kept but may cause issues"} 
[2026-08-01 20:47:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4476366891846352896,"note":"Value kept but may cause issues"} 
[2026-08-01 20:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785597338000,"timestamp_ms":1785597338000,"timestamp_seconds":1785597338,"priority":1,"record_length":96,"hex_timestamp":"0000019fbde52190"} 
[2026-08-01 20:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:47:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-01 20:47:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:47:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112913664001,"66":27484,"56":206,"2":54016,"24":6,"16":366949872487628800,"44":-4476366891846352896},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 20:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112913664001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:47:21] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 20:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366949872487628800,"km_value":366949872487628.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:47:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4476366891846352896,"description":"Unknown IO ID 44"} 
[2026-08-01 20:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112913664001,"power":27484,"unknown_56":206,"power_alt":54016,"ignition":6,"odometer":null,"unknown_44":-4476366891846352896}} 
[2026-08-01 20:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":147486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:47:21] local.INFO: GPS data processed {"connection_id":147486,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:47:21] local.INFO: Acknowledgment sent {"connection_id":147486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:47:36] local.INFO: TCP Data received {"connection_id":146249,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fbde36c10012d196580071fefa0003b015123..."} 
[2026-08-01 20:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbde36c10012d196580071fefa0003b015123..."} 
[2026-08-01 20:47:36] local.INFO: Processing buffer {"connection_id":146249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbde36c10012d196580071fefa0003b015123..."} 
[2026-08-01 20:47:36] local.INFO: Packet analysis {"connection_id":146249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbde3"} 
[2026-08-01 20:47:36] local.INFO: Extracted packet for processing {"connection_id":146249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbde3"} 
[2026-08-01 20:47:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112812800001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785597226000,"timestamp_ms":1785597226000,"timestamp_seconds":1785597226,"priority":1,"record_length":96,"hex_timestamp":"0000019fbde36c10"} 
[2026-08-01 20:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:47:36] 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-08-01 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:47:36] 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-08-01 20:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112812800001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112812800001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:47:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:47:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112812800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":146249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579157,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:47:36] local.INFO: GPS data processed {"connection_id":146249,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:47:36] local.INFO: Acknowledgment sent {"connection_id":146249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:47:48] local.INFO: TCP Data received {"connection_id":147487,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:47:48] local.INFO: Processing buffer {"connection_id":147487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:47:48] local.INFO: IMEI packet received {"connection_id":147487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":147487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:47:53] local.INFO: TCP Data received {"connection_id":147487,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:47:53] local.INFO: Processing buffer {"connection_id":147487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:47:53] local.INFO: IMEI packet received {"connection_id":147487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":147487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:47:55] local.INFO: TCP Data received {"connection_id":147487,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbde57398012cc1dd0007572748001d00902d..."} 
[2026-08-01 20:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbde57398012cc1dd0007572748001d00902d..."} 
[2026-08-01 20:47:55] local.INFO: Processing buffer {"connection_id":147487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbde57398012cc1dd0007572748001d00902d..."} 
[2026-08-01 20:47:55] local.INFO: Packet analysis {"connection_id":147487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbde5"} 
[2026-08-01 20:47:55] local.INFO: Extracted packet for processing {"connection_id":147487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbde5"} 
[2026-08-01 20:47:55] local.INFO: GPS Element Parsed {"raw_longitude":750902528,"raw_latitude":123152200,"longitude_deg":75.0902528,"latitude_deg":12.31522,"altitude":29,"angle":144,"satellites":45,"speed":2,"hex_longitude":"2cc1dd00","hex_latitude":"07572748","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112918528001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366949954092007424,"note":"Value kept but may cause issues"} 
[2026-08-01 20:47:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477281685520732160,"note":"Value kept but may cause issues"} 
[2026-08-01 20:47:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785597359000,"timestamp_ms":1785597359000,"timestamp_seconds":1785597359,"priority":1,"record_length":96,"hex_timestamp":"0000019fbde57398"} 
[2026-08-01 20:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:47: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-08-01 20: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-01 20:47:55] 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-08-01 20: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-08-01 20:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":147487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":147487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":147487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112918528001,"66":27071,"56":206,"2":54016,"24":2,"16":366949954092007424,"44":-4477281685520732160},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 20:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112918528001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:47:55] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 20:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366949954092007424,"km_value":366949954092007.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:47:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477281685520732160,"description":"Unknown IO ID 44"} 
[2026-08-01 20:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112918528001,"power":27071,"unknown_56":206,"power_alt":54016,"ignition":2,"odometer":null,"unknown_44":-4477281685520732160}} 
[2026-08-01 20:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":147487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:47:55] local.INFO: GPS data processed {"connection_id":147487,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:47:55] local.INFO: Acknowledgment sent {"connection_id":147487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:47:58] local.INFO: TCP Data received {"connection_id":147487,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbde5c5a0012cc1dd0007572850002300902d..."} 
[2026-08-01 20:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbde5c5a0012cc1dd0007572850002300902d..."} 
[2026-08-01 20:47:58] local.INFO: Processing buffer {"connection_id":147487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbde5c5a0012cc1dd0007572850002300902d..."} 
[2026-08-01 20:47:58] local.INFO: Packet analysis {"connection_id":147487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbde5"} 
[2026-08-01 20:47:58] local.INFO: Extracted packet for processing {"connection_id":147487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbde5"} 
[2026-08-01 20:47:58] local.INFO: GPS Element Parsed {"raw_longitude":750902528,"raw_latitude":123152464,"longitude_deg":75.0902528,"latitude_deg":12.3152464,"altitude":35,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2cc1dd00","hex_latitude":"07572850","is_valid_coordinates":true} 
[2026-08-01 20:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112923904001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366949971271876608,"note":"Value kept but may cause issues"} 
[2026-08-01 20:47:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477422423009441792,"note":"Value kept but may cause issues"} 
[2026-08-01 20:47:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785597380000,"timestamp_ms":1785597380000,"timestamp_seconds":1785597380,"priority":1,"record_length":96,"hex_timestamp":"0000019fbde5c5a0"} 
[2026-08-01 20:47:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:47: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-08-01 20:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-01 20:47:58] 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-08-01 20:47: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-08-01 20:47:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":147487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":147487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":147487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:47:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112923904001,"66":27104,"56":206,"2":54016,"24":0,"16":366949971271876608,"44":-4477422423009441792},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 20:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112923904001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:47:58] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 20:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366949971271876608,"km_value":366949971271876.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:47:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477422423009441792,"description":"Unknown IO ID 44"} 
[2026-08-01 20:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112923904001,"power":27104,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477422423009441792}} 
[2026-08-01 20:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":147487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:47:58] local.INFO: GPS data processed {"connection_id":147487,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:47:58] local.INFO: Acknowledgment sent {"connection_id":147487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:47:59] local.INFO: TCP Data received {"connection_id":146250,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:47:59] local.INFO: Processing buffer {"connection_id":146250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:47:59] local.INFO: IMEI packet received {"connection_id":146250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":146250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:48:04] local.INFO: TCP Data received {"connection_id":146250,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:48:04] local.INFO: Processing buffer {"connection_id":146250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:48:04] local.INFO: IMEI packet received {"connection_id":146250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":146250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:48:05] local.INFO: TCP Data received {"connection_id":146250,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fbde36c10012d196580071fefa0003b015123..."} 
[2026-08-01 20:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbde36c10012d196580071fefa0003b015123..."} 
[2026-08-01 20:48:05] local.INFO: Processing buffer {"connection_id":146250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbde36c10012d196580071fefa0003b015123..."} 
[2026-08-01 20:48:05] local.INFO: Packet analysis {"connection_id":146250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbde3"} 
[2026-08-01 20:48:05] local.INFO: Extracted packet for processing {"connection_id":146250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbde3"} 
[2026-08-01 20:48:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112812800001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785597226000,"timestamp_ms":1785597226000,"timestamp_seconds":1785597226,"priority":1,"record_length":96,"hex_timestamp":"0000019fbde36c10"} 
[2026-08-01 20:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:48:05] 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-08-01 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:48:05] 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-08-01 20:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112812800001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112812800001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:48:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:48:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112812800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":146250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:48:05] local.INFO: GPS data processed {"connection_id":146250,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:48:05] local.INFO: Acknowledgment sent {"connection_id":146250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:48:36] local.INFO: TCP Data received {"connection_id":146250,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fbde36c10012d196580071fefa0003b015123..."} 
[2026-08-01 20:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbde36c10012d196580071fefa0003b015123..."} 
[2026-08-01 20:48:36] local.INFO: Processing buffer {"connection_id":146250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbde36c10012d196580071fefa0003b015123..."} 
[2026-08-01 20:48:36] local.INFO: Packet analysis {"connection_id":146250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbde3"} 
[2026-08-01 20:48:36] local.INFO: Extracted packet for processing {"connection_id":146250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbde3"} 
[2026-08-01 20:48:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112812800001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785597226000,"timestamp_ms":1785597226000,"timestamp_seconds":1785597226,"priority":1,"record_length":96,"hex_timestamp":"0000019fbde36c10"} 
[2026-08-01 20:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:48:36] 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-08-01 20:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:48:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:48:36] 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-08-01 20:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112812800001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112812800001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:48:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:48:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112812800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":146250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579161,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:48:36] local.INFO: GPS data processed {"connection_id":146250,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:48:36] local.INFO: Acknowledgment sent {"connection_id":146250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:48:43] local.INFO: TCP Data received {"connection_id":148794,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:48:43] local.INFO: Processing buffer {"connection_id":148794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:48:43] local.INFO: IMEI packet received {"connection_id":148794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":148794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:48:48] local.INFO: TCP Data received {"connection_id":148794,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:48:48] local.INFO: Processing buffer {"connection_id":148794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:48:48] local.INFO: IMEI packet received {"connection_id":148794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":148794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:48:50] local.INFO: TCP Data received {"connection_id":148794,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbde617a8012cc1ddc007572b80002a00902a..."} 
[2026-08-01 20:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbde617a8012cc1ddc007572b80002a00902a..."} 
[2026-08-01 20:48:50] local.INFO: Processing buffer {"connection_id":148794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbde617a8012cc1ddc007572b80002a00902a..."} 
[2026-08-01 20:48:50] local.INFO: Packet analysis {"connection_id":148794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbde6"} 
[2026-08-01 20:48:50] local.INFO: Extracted packet for processing {"connection_id":148794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbde6"} 
[2026-08-01 20:48:50] local.INFO: GPS Element Parsed {"raw_longitude":750902720,"raw_latitude":123153280,"longitude_deg":75.090272,"latitude_deg":12.315328,"altitude":42,"angle":144,"satellites":42,"speed":0,"hex_longitude":"2cc1ddc0","hex_latitude":"07572b80","is_valid_coordinates":true} 
[2026-08-01 20:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112929280001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 20:48:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477422423009374208,"note":"Value kept but may cause issues"} 
[2026-08-01 20:48:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785597401000,"timestamp_ms":1785597401000,"timestamp_seconds":1785597401,"priority":1,"record_length":96,"hex_timestamp":"0000019fbde617a8"} 
[2026-08-01 20:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:48:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-01 20:48:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:48:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:48:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112929280001,"66":27604,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477422423009374208},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 20:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112929280001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:48:50] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 20:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:48:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477422423009374208,"description":"Unknown IO ID 44"} 
[2026-08-01 20:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112929280001,"power":27604,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477422423009374208}} 
[2026-08-01 20:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":148794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:48:50] local.INFO: GPS data processed {"connection_id":148794,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:48:50] local.INFO: Acknowledgment sent {"connection_id":148794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:49:00] local.INFO: TCP Data received {"connection_id":146251,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146251,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:49:00] local.INFO: Processing buffer {"connection_id":146251,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:49:00] local.INFO: IMEI packet received {"connection_id":146251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":146251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:49:04] local.INFO: TCP Data received {"connection_id":146251,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146251,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:49:04] local.INFO: Processing buffer {"connection_id":146251,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:49:04] local.INFO: IMEI packet received {"connection_id":146251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":146251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:49:05] local.INFO: TCP Data received {"connection_id":146251,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbde36c10012d196580071fefa0003b015123..."} 
[2026-08-01 20:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbde36c10012d196580071fefa0003b015123..."} 
[2026-08-01 20:49:05] local.INFO: Processing buffer {"connection_id":146251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbde36c10012d196580071fefa0003b015123..."} 
[2026-08-01 20:49:05] local.INFO: Packet analysis {"connection_id":146251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbde3"} 
[2026-08-01 20:49:05] local.INFO: Extracted packet for processing {"connection_id":146251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbde3"} 
[2026-08-01 20:49:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112812800001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785597226000,"timestamp_ms":1785597226000,"timestamp_seconds":1785597226,"priority":1,"record_length":96,"hex_timestamp":"0000019fbde36c10"} 
[2026-08-01 20:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:49:05] 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-08-01 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:49:05] 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-08-01 20:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112812800001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112812800001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:49:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:49:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112812800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":146251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579163,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:49:05] local.INFO: GPS data processed {"connection_id":146251,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:49:05] local.INFO: Acknowledgment sent {"connection_id":146251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:49:22] local.INFO: TCP Data received {"connection_id":148794,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbde63ad0012cc1ddc007572b80002a00902b..."} 
[2026-08-01 20:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbde63ad0012cc1ddc007572b80002a00902b..."} 
[2026-08-01 20:49:22] local.INFO: Processing buffer {"connection_id":148794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbde63ad0012cc1ddc007572b80002a00902b..."} 
[2026-08-01 20:49:22] local.INFO: Packet analysis {"connection_id":148794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbde6"} 
[2026-08-01 20:49:22] local.INFO: Extracted packet for processing {"connection_id":148794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbde6"} 
[2026-08-01 20:49:22] local.INFO: GPS Element Parsed {"raw_longitude":750902720,"raw_latitude":123153280,"longitude_deg":75.090272,"latitude_deg":12.315328,"altitude":42,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2cc1ddc0","hex_latitude":"07572b80","is_valid_coordinates":true} 
[2026-08-01 20:49: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-08-01 20:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112934656001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 20:49:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477211316776632320,"note":"Value kept but may cause issues"} 
[2026-08-01 20:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785597410000,"timestamp_ms":1785597410000,"timestamp_seconds":1785597410,"priority":1,"record_length":96,"hex_timestamp":"0000019fbde63ad0"} 
[2026-08-01 20:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:49:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-01 20:49:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:49:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112934656001,"66":27767,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477211316776632320},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 20:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112934656001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:49:22] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 20:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:49:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477211316776632320,"description":"Unknown IO ID 44"} 
[2026-08-01 20:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112934656001,"power":27767,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477211316776632320}} 
[2026-08-01 20:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":148794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:49:22] local.INFO: GPS data processed {"connection_id":148794,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:49:22] local.INFO: Acknowledgment sent {"connection_id":148794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:49:36] local.INFO: TCP Data received {"connection_id":146251,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbde803d8012d196580071fefa0003b015125..."} 
[2026-08-01 20:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbde803d8012d196580071fefa0003b015125..."} 
[2026-08-01 20:49:36] local.INFO: Processing buffer {"connection_id":146251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbde803d8012d196580071fefa0003b015125..."} 
[2026-08-01 20:49:36] local.INFO: Packet analysis {"connection_id":146251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbde8"} 
[2026-08-01 20:49:36] local.INFO: Extracted packet for processing {"connection_id":146251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbde8"} 
[2026-08-01 20:49:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112889856001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785597527000,"timestamp_ms":1785597527000,"timestamp_seconds":1785597527,"priority":1,"record_length":96,"hex_timestamp":"0000019fbde803d8"} 
[2026-08-01 20:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 20:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:49:36] 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-08-01 20:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112889856001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112889856001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:49:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:49:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112889856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":146251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579165,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:49:36] local.INFO: GPS data processed {"connection_id":146251,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:49:36] local.INFO: Acknowledgment sent {"connection_id":146251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:49:48] local.INFO: TCP Data received {"connection_id":147488,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:49:48] local.INFO: Processing buffer {"connection_id":147488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:49:48] local.INFO: IMEI packet received {"connection_id":147488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":147488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:49:53] local.INFO: TCP Data received {"connection_id":147488,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:49:53] local.INFO: Processing buffer {"connection_id":147488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:49:53] local.INFO: IMEI packet received {"connection_id":147488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":147488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:49:55] local.INFO: TCP Data received {"connection_id":147488,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbde63ad0012cc1ddc007572b80002a00902b..."} 
[2026-08-01 20:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbde63ad0012cc1ddc007572b80002a00902b..."} 
[2026-08-01 20:49:55] local.INFO: Processing buffer {"connection_id":147488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbde63ad0012cc1ddc007572b80002a00902b..."} 
[2026-08-01 20:49:55] local.INFO: Packet analysis {"connection_id":147488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbde6"} 
[2026-08-01 20:49:55] local.INFO: Extracted packet for processing {"connection_id":147488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbde6"} 
[2026-08-01 20:49:55] local.INFO: GPS Element Parsed {"raw_longitude":750902720,"raw_latitude":123153280,"longitude_deg":75.090272,"latitude_deg":12.315328,"altitude":42,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2cc1ddc0","hex_latitude":"07572b80","is_valid_coordinates":true} 
[2026-08-01 20:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112934656001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 20:49:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477211316776632320,"note":"Value kept but may cause issues"} 
[2026-08-01 20:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785597410000,"timestamp_ms":1785597410000,"timestamp_seconds":1785597410,"priority":1,"record_length":96,"hex_timestamp":"0000019fbde63ad0"} 
[2026-08-01 20:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:49:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-01 20:49:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:49:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":147488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":147488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":147488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112934656001,"66":27767,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477211316776632320},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 20:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112934656001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:49:55] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 20:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:49:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477211316776632320,"description":"Unknown IO ID 44"} 
[2026-08-01 20:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112934656001,"power":27767,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477211316776632320}} 
[2026-08-01 20:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":147488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:49:55] local.INFO: GPS data processed {"connection_id":147488,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:49:55] local.INFO: Acknowledgment sent {"connection_id":147488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:50:04] local.INFO: TCP Data received {"connection_id":148795,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:50:04] local.INFO: Processing buffer {"connection_id":148795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:50:04] local.INFO: IMEI packet received {"connection_id":148795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":148795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:50:09] local.INFO: TCP Data received {"connection_id":148795,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:50:09] local.INFO: Processing buffer {"connection_id":148795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:50:09] local.INFO: IMEI packet received {"connection_id":148795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":148795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:50:10] local.INFO: TCP Data received {"connection_id":148795,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbde803d8012d196580071fefa0003b015125..."} 
[2026-08-01 20:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbde803d8012d196580071fefa0003b015125..."} 
[2026-08-01 20:50:10] local.INFO: Processing buffer {"connection_id":148795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbde803d8012d196580071fefa0003b015125..."} 
[2026-08-01 20:50:10] local.INFO: Packet analysis {"connection_id":148795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbde8"} 
[2026-08-01 20:50:10] local.INFO: Extracted packet for processing {"connection_id":148795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbde8"} 
[2026-08-01 20:50:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 20:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112889856001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 20:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785597527000,"timestamp_ms":1785597527000,"timestamp_seconds":1785597527,"priority":1,"record_length":96,"hex_timestamp":"0000019fbde803d8"} 
[2026-08-01 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-08-01 20:50: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-08-01 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-08-01 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-08-01 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-08-01 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-08-01 20:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":148795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":148795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":148795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:50: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-08-01 20:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112889856001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112889856001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:50:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:50:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112889856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":148795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:50:10] local.INFO: GPS data processed {"connection_id":148795,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:50:10] local.INFO: Acknowledgment sent {"connection_id":148795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:50:15] local.INFO: TCP Data received {"connection_id":148795,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbde803d8012d196580071fefa0003b015125..."} 
[2026-08-01 20:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbde803d8012d196580071fefa0003b015125..."} 
[2026-08-01 20:50:15] local.INFO: Processing buffer {"connection_id":148795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbde803d8012d196580071fefa0003b015125..."} 
[2026-08-01 20:50:15] local.INFO: Packet analysis {"connection_id":148795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbde8"} 
[2026-08-01 20:50:15] local.INFO: Extracted packet for processing {"connection_id":148795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbde8"} 
[2026-08-01 20:50:15] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112889856001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:50:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:50: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-08-01 20:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785597527000,"timestamp_ms":1785597527000,"timestamp_seconds":1785597527,"priority":1,"record_length":96,"hex_timestamp":"0000019fbde803d8"} 
[2026-08-01 20:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:50: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-08-01 20:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:50: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-08-01 20:50:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:50: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-08-01 20:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112889856001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112889856001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:50:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:50:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:50:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112889856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":148795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579168,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:50:15] local.INFO: GPS data processed {"connection_id":148795,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:50:15] local.INFO: Acknowledgment sent {"connection_id":148795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:50:30] local.INFO: TCP Data received {"connection_id":147488,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbde63ad0012cc1ddc007572b80002a00902b..."} 
[2026-08-01 20:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbde63ad0012cc1ddc007572b80002a00902b..."} 
[2026-08-01 20:50:30] local.INFO: Processing buffer {"connection_id":147488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbde63ad0012cc1ddc007572b80002a00902b..."} 
[2026-08-01 20:50:30] local.INFO: Packet analysis {"connection_id":147488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbde6"} 
[2026-08-01 20:50:30] local.INFO: Extracted packet for processing {"connection_id":147488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbde6"} 
[2026-08-01 20:50:30] local.INFO: GPS Element Parsed {"raw_longitude":750902720,"raw_latitude":123153280,"longitude_deg":75.090272,"latitude_deg":12.315328,"altitude":42,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2cc1ddc0","hex_latitude":"07572b80","is_valid_coordinates":true} 
[2026-08-01 20:50: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-08-01 20:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112934656001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 20:50:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477211316776632320,"note":"Value kept but may cause issues"} 
[2026-08-01 20:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785597410000,"timestamp_ms":1785597410000,"timestamp_seconds":1785597410,"priority":1,"record_length":96,"hex_timestamp":"0000019fbde63ad0"} 
[2026-08-01 20:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20: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-08-01 20:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-01 20:50:30] 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-08-01 20:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":147488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":147488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":147488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112934656001,"66":27767,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477211316776632320},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 20:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112934656001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:50:30] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 20:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:50:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477211316776632320,"description":"Unknown IO ID 44"} 
[2026-08-01 20:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112934656001,"power":27767,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477211316776632320}} 
[2026-08-01 20:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":147488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:50:30] local.INFO: GPS data processed {"connection_id":147488,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:50:30] local.INFO: Acknowledgment sent {"connection_id":147488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:50:43] local.INFO: TCP Data received {"connection_id":146252,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:50:43] local.INFO: Processing buffer {"connection_id":146252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:50:43] local.INFO: IMEI packet received {"connection_id":146252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":146252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:50:59] local.INFO: TCP Data received {"connection_id":146494,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:50:59] local.INFO: Processing buffer {"connection_id":146494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:50:59] local.INFO: IMEI packet received {"connection_id":146494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":146494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:51:04] local.INFO: TCP Data received {"connection_id":146494,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:51:04] local.INFO: Processing buffer {"connection_id":146494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:51:04] local.INFO: IMEI packet received {"connection_id":146494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":146494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:51:05] local.INFO: TCP Data received {"connection_id":146494,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbde803d8012d196580071fefa0003b015125..."} 
[2026-08-01 20:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbde803d8012d196580071fefa0003b015125..."} 
[2026-08-01 20:51:05] local.INFO: Processing buffer {"connection_id":146494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbde803d8012d196580071fefa0003b015125..."} 
[2026-08-01 20:51:05] local.INFO: Packet analysis {"connection_id":146494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbde8"} 
[2026-08-01 20:51:05] local.INFO: Extracted packet for processing {"connection_id":146494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbde8"} 
[2026-08-01 20:51:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112889856001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785597527000,"timestamp_ms":1785597527000,"timestamp_seconds":1785597527,"priority":1,"record_length":96,"hex_timestamp":"0000019fbde803d8"} 
[2026-08-01 20:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:51:05] 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-08-01 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:51:05] 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-08-01 20:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112889856001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112889856001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:51:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:51:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112889856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":146494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579170,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:51:05] local.INFO: GPS data processed {"connection_id":146494,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:51:05] local.INFO: Acknowledgment sent {"connection_id":146494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:51:13] local.INFO: TCP Data received {"connection_id":146252,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:51:13] local.INFO: Processing buffer {"connection_id":146252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:51:13] local.INFO: IMEI packet received {"connection_id":146252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":146252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:51:14] local.INFO: TCP Data received {"connection_id":146252,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbde63ad0012cc1ddc007572b80002a00902b..."} 
[2026-08-01 20:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbde63ad0012cc1ddc007572b80002a00902b..."} 
[2026-08-01 20:51:14] local.INFO: Processing buffer {"connection_id":146252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbde63ad0012cc1ddc007572b80002a00902b..."} 
[2026-08-01 20:51:14] local.INFO: Packet analysis {"connection_id":146252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbde6"} 
[2026-08-01 20:51:14] local.INFO: Extracted packet for processing {"connection_id":146252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbde6"} 
[2026-08-01 20:51:14] local.INFO: GPS Element Parsed {"raw_longitude":750902720,"raw_latitude":123153280,"longitude_deg":75.090272,"latitude_deg":12.315328,"altitude":42,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2cc1ddc0","hex_latitude":"07572b80","is_valid_coordinates":true} 
[2026-08-01 20:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112934656001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 20:51:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477211316776632320,"note":"Value kept but may cause issues"} 
[2026-08-01 20:51:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785597410000,"timestamp_ms":1785597410000,"timestamp_seconds":1785597410,"priority":1,"record_length":96,"hex_timestamp":"0000019fbde63ad0"} 
[2026-08-01 20:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:51:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-01 20:51:14] 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-08-01 20:51:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":146252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":146252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":146252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:51:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112934656001,"66":27767,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477211316776632320},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 20:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112934656001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:51:14] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 20:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:51:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477211316776632320,"description":"Unknown IO ID 44"} 
[2026-08-01 20:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112934656001,"power":27767,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477211316776632320}} 
[2026-08-01 20:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":146252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:51:14] local.INFO: GPS data processed {"connection_id":146252,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:51:14] local.INFO: Acknowledgment sent {"connection_id":146252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:51:37] local.INFO: TCP Data received {"connection_id":146494,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbde803d8012d196580071fefa0003b015125..."} 
[2026-08-01 20:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbde803d8012d196580071fefa0003b015125..."} 
[2026-08-01 20:51:37] local.INFO: Processing buffer {"connection_id":146494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbde803d8012d196580071fefa0003b015125..."} 
[2026-08-01 20:51:37] local.INFO: Packet analysis {"connection_id":146494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbde8"} 
[2026-08-01 20:51:37] local.INFO: Extracted packet for processing {"connection_id":146494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbde8"} 
[2026-08-01 20:51:37] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112889856001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785597527000,"timestamp_ms":1785597527000,"timestamp_seconds":1785597527,"priority":1,"record_length":96,"hex_timestamp":"0000019fbde803d8"} 
[2026-08-01 20:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 20:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:51:37] 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-08-01 20:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112889856001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112889856001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:51:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:51:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112889856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":146494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:51:37] local.INFO: GPS data processed {"connection_id":146494,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:51:37] local.INFO: Acknowledgment sent {"connection_id":146494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:51:43] local.INFO: TCP Data received {"connection_id":148796,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:51:43] local.INFO: Processing buffer {"connection_id":148796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:51:43] local.INFO: IMEI packet received {"connection_id":148796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":148796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:51:48] local.INFO: TCP Data received {"connection_id":148796,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:51:48] local.INFO: Processing buffer {"connection_id":148796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:51:48] local.INFO: IMEI packet received {"connection_id":148796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":148796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:51:49] local.INFO: TCP Data received {"connection_id":148796,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbde63ad0012cc1ddc007572b80002a00902b..."} 
[2026-08-01 20:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbde63ad0012cc1ddc007572b80002a00902b..."} 
[2026-08-01 20:51:49] local.INFO: Processing buffer {"connection_id":148796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbde63ad0012cc1ddc007572b80002a00902b..."} 
[2026-08-01 20:51:49] local.INFO: Packet analysis {"connection_id":148796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbde6"} 
[2026-08-01 20:51:49] local.INFO: Extracted packet for processing {"connection_id":148796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbde6"} 
[2026-08-01 20:51:49] local.INFO: GPS Element Parsed {"raw_longitude":750902720,"raw_latitude":123153280,"longitude_deg":75.090272,"latitude_deg":12.315328,"altitude":42,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2cc1ddc0","hex_latitude":"07572b80","is_valid_coordinates":true} 
[2026-08-01 20:51: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-08-01 20:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112934656001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 20:51:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477211316776632320,"note":"Value kept but may cause issues"} 
[2026-08-01 20:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785597410000,"timestamp_ms":1785597410000,"timestamp_seconds":1785597410,"priority":1,"record_length":96,"hex_timestamp":"0000019fbde63ad0"} 
[2026-08-01 20:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-01 20:51:49] 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-08-01 20:51:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112934656001,"66":27767,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477211316776632320},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 20:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112934656001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:51:49] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 20:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:51:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477211316776632320,"description":"Unknown IO ID 44"} 
[2026-08-01 20:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112934656001,"power":27767,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477211316776632320}} 
[2026-08-01 20:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":148796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:51:49] local.INFO: GPS data processed {"connection_id":148796,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:51:49] local.INFO: Acknowledgment sent {"connection_id":148796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:51:59] local.INFO: TCP Data received {"connection_id":146253,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:51:59] local.INFO: Processing buffer {"connection_id":146253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:51:59] local.INFO: IMEI packet received {"connection_id":146253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":146253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:52:04] local.INFO: TCP Data received {"connection_id":146253,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:52:04] local.INFO: Processing buffer {"connection_id":146253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:52:04] local.INFO: IMEI packet received {"connection_id":146253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":146253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:52:05] local.INFO: TCP Data received {"connection_id":146253,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fbde803d8012d196580071fefa0003b015125..."} 
[2026-08-01 20:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbde803d8012d196580071fefa0003b015125..."} 
[2026-08-01 20:52:05] local.INFO: Processing buffer {"connection_id":146253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbde803d8012d196580071fefa0003b015125..."} 
[2026-08-01 20:52:05] local.INFO: Packet analysis {"connection_id":146253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbde8"} 
[2026-08-01 20:52:05] local.INFO: Extracted packet for processing {"connection_id":146253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbde8"} 
[2026-08-01 20:52:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112889856001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785597527000,"timestamp_ms":1785597527000,"timestamp_seconds":1785597527,"priority":1,"record_length":96,"hex_timestamp":"0000019fbde803d8"} 
[2026-08-01 20:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:52:05] 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-08-01 20:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:52:05] 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-08-01 20:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112889856001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112889856001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:52:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:52:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112889856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":146253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:52:05] local.INFO: GPS data processed {"connection_id":146253,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:52:05] local.INFO: Acknowledgment sent {"connection_id":146253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:52:21] local.INFO: TCP Data received {"connection_id":148796,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbde63ad0012cc1ddc007572b80002a00902b..."} 
[2026-08-01 20:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbde63ad0012cc1ddc007572b80002a00902b..."} 
[2026-08-01 20:52:21] local.INFO: Processing buffer {"connection_id":148796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbde63ad0012cc1ddc007572b80002a00902b..."} 
[2026-08-01 20:52:21] local.INFO: Packet analysis {"connection_id":148796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbde6"} 
[2026-08-01 20:52:21] local.INFO: Extracted packet for processing {"connection_id":148796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbde6"} 
[2026-08-01 20:52:21] local.INFO: GPS Element Parsed {"raw_longitude":750902720,"raw_latitude":123153280,"longitude_deg":75.090272,"latitude_deg":12.315328,"altitude":42,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2cc1ddc0","hex_latitude":"07572b80","is_valid_coordinates":true} 
[2026-08-01 20:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112934656001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 20:52:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477211316776632320,"note":"Value kept but may cause issues"} 
[2026-08-01 20:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785597410000,"timestamp_ms":1785597410000,"timestamp_seconds":1785597410,"priority":1,"record_length":96,"hex_timestamp":"0000019fbde63ad0"} 
[2026-08-01 20:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:52:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 20:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-01 20:52:21] 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-08-01 20:52:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:52:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112934656001,"66":27767,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477211316776632320},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 20:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112934656001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:52:21] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 20:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:52:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477211316776632320,"description":"Unknown IO ID 44"} 
[2026-08-01 20:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112934656001,"power":27767,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477211316776632320}} 
[2026-08-01 20:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":148796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:52:21] local.INFO: GPS data processed {"connection_id":148796,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:52:21] local.INFO: Acknowledgment sent {"connection_id":148796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:52:36] local.INFO: TCP Data received {"connection_id":146253,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019fbde803d8012d196580071fefa0003b015125..."} 
[2026-08-01 20:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbde803d8012d196580071fefa0003b015125..."} 
[2026-08-01 20:52:36] local.INFO: Processing buffer {"connection_id":146253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbde803d8012d196580071fefa0003b015125..."} 
[2026-08-01 20:52:36] local.INFO: Packet analysis {"connection_id":146253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbde8"} 
[2026-08-01 20:52:36] local.INFO: Extracted packet for processing {"connection_id":146253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbde8"} 
[2026-08-01 20:52:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112889856001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785597527000,"timestamp_ms":1785597527000,"timestamp_seconds":1785597527,"priority":1,"record_length":96,"hex_timestamp":"0000019fbde803d8"} 
[2026-08-01 20:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:52:36] 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-08-01 20:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112889856001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112889856001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:52:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:52:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112889856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":146253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579176,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:52:36] local.INFO: GPS data processed {"connection_id":146253,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:52:36] local.INFO: Acknowledgment sent {"connection_id":146253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:52:48] local.INFO: TCP Data received {"connection_id":146495,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:52:48] local.INFO: Processing buffer {"connection_id":146495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:52:48] local.INFO: IMEI packet received {"connection_id":146495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":146495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:52:53] local.INFO: TCP Data received {"connection_id":146495,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:52:53] local.INFO: Processing buffer {"connection_id":146495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:52:53] local.INFO: IMEI packet received {"connection_id":146495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":146495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:52:55] local.INFO: TCP Data received {"connection_id":146495,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdead298012cc1de80075730400011009029..."} 
[2026-08-01 20:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdead298012cc1de80075730400011009029..."} 
[2026-08-01 20:52:55] local.INFO: Processing buffer {"connection_id":146495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdead298012cc1de80075730400011009029..."} 
[2026-08-01 20:52:55] local.INFO: Packet analysis {"connection_id":146495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdea"} 
[2026-08-01 20:52:55] local.INFO: Extracted packet for processing {"connection_id":146495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdea"} 
[2026-08-01 20:52:55] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":17,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 20:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112936960001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 20:52:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477211316776632320,"note":"Value kept but may cause issues"} 
[2026-08-01 20:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785597711000,"timestamp_ms":1785597711000,"timestamp_seconds":1785597711,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdead298"} 
[2026-08-01 20:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:52:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 20:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 20:52:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:52:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":146495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":146495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":146495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112936960001,"66":25495,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477211316776632320},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 20:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112936960001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:52:55] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 20:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:52:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477211316776632320,"description":"Unknown IO ID 44"} 
[2026-08-01 20:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112936960001,"power":25495,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477211316776632320}} 
[2026-08-01 20:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":146495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:52:55] local.INFO: GPS data processed {"connection_id":146495,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:52:55] local.INFO: Acknowledgment sent {"connection_id":146495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:52:59] local.INFO: TCP Data received {"connection_id":146254,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:52:59] local.INFO: Processing buffer {"connection_id":146254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:52:59] local.INFO: IMEI packet received {"connection_id":146254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":146254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:53:04] local.INFO: TCP Data received {"connection_id":146254,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:53:04] local.INFO: Processing buffer {"connection_id":146254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:53:04] local.INFO: IMEI packet received {"connection_id":146254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":146254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:53:05] local.INFO: TCP Data received {"connection_id":146254,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbde803d8012d196580071fefa0003b015125..."} 
[2026-08-01 20:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbde803d8012d196580071fefa0003b015125..."} 
[2026-08-01 20:53:05] local.INFO: Processing buffer {"connection_id":146254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbde803d8012d196580071fefa0003b015125..."} 
[2026-08-01 20:53:05] local.INFO: Packet analysis {"connection_id":146254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbde8"} 
[2026-08-01 20:53:05] local.INFO: Extracted packet for processing {"connection_id":146254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbde8"} 
[2026-08-01 20:53:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112889856001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785597527000,"timestamp_ms":1785597527000,"timestamp_seconds":1785597527,"priority":1,"record_length":96,"hex_timestamp":"0000019fbde803d8"} 
[2026-08-01 20:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:53:05] 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-08-01 20:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:53:05] 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-08-01 20:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112889856001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112889856001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:53:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:53:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112889856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":146254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:53:05] local.INFO: GPS data processed {"connection_id":146254,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:53:05] local.INFO: Acknowledgment sent {"connection_id":146254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:53:26] local.INFO: TCP Data received {"connection_id":146495,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdead298012cc1de80075730400011009029..."} 
[2026-08-01 20:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdead298012cc1de80075730400011009029..."} 
[2026-08-01 20:53:26] local.INFO: Processing buffer {"connection_id":146495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdead298012cc1de80075730400011009029..."} 
[2026-08-01 20:53:26] local.INFO: Packet analysis {"connection_id":146495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdea"} 
[2026-08-01 20:53:26] local.INFO: Extracted packet for processing {"connection_id":146495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdea"} 
[2026-08-01 20:53:26] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":17,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 20:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112936960001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 20:53:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477211316776632320,"note":"Value kept but may cause issues"} 
[2026-08-01 20:53:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785597711000,"timestamp_ms":1785597711000,"timestamp_seconds":1785597711,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdead298"} 
[2026-08-01 20:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:53:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 20:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 20:53: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-08-01 20:53:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":146495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":146495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":146495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:53:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112936960001,"66":25495,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477211316776632320},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 20:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112936960001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:53:26] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 20:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:53:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477211316776632320,"description":"Unknown IO ID 44"} 
[2026-08-01 20:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112936960001,"power":25495,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477211316776632320}} 
[2026-08-01 20:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":146495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:53:26] local.INFO: GPS data processed {"connection_id":146495,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:53:26] local.INFO: Acknowledgment sent {"connection_id":146495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:53:36] local.INFO: TCP Data received {"connection_id":146254,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fbde803d8012d196580071fefa0003b015125..."} 
[2026-08-01 20:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbde803d8012d196580071fefa0003b015125..."} 
[2026-08-01 20:53:36] local.INFO: Processing buffer {"connection_id":146254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbde803d8012d196580071fefa0003b015125..."} 
[2026-08-01 20:53:36] local.INFO: Packet analysis {"connection_id":146254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbde8"} 
[2026-08-01 20:53:36] local.INFO: Extracted packet for processing {"connection_id":146254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbde8"} 
[2026-08-01 20:53:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112889856001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785597527000,"timestamp_ms":1785597527000,"timestamp_seconds":1785597527,"priority":1,"record_length":96,"hex_timestamp":"0000019fbde803d8"} 
[2026-08-01 20:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:53:36] 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-08-01 20:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112889856001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112889856001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:53:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:53:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112889856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":146254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:53:36] local.INFO: GPS data processed {"connection_id":146254,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:53:36] local.INFO: Acknowledgment sent {"connection_id":146254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:53:44] local.INFO: TCP Data received {"connection_id":147489,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:53:44] local.INFO: Processing buffer {"connection_id":147489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:53:44] local.INFO: IMEI packet received {"connection_id":147489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":147489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:53:48] local.INFO: TCP Data received {"connection_id":147489,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:53:48] local.INFO: Processing buffer {"connection_id":147489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:53:48] local.INFO: IMEI packet received {"connection_id":147489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":147489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:53:50] local.INFO: TCP Data received {"connection_id":147489,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdead298012cc1de80075730400011009029..."} 
[2026-08-01 20:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdead298012cc1de80075730400011009029..."} 
[2026-08-01 20:53:50] local.INFO: Processing buffer {"connection_id":147489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdead298012cc1de80075730400011009029..."} 
[2026-08-01 20:53:50] local.INFO: Packet analysis {"connection_id":147489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdea"} 
[2026-08-01 20:53:50] local.INFO: Extracted packet for processing {"connection_id":147489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdea"} 
[2026-08-01 20:53:50] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":17,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 20:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112936960001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 20:53:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477211316776632320,"note":"Value kept but may cause issues"} 
[2026-08-01 20:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785597711000,"timestamp_ms":1785597711000,"timestamp_seconds":1785597711,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdead298"} 
[2026-08-01 20:53:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:53:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 20:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 20:53:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:53:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:53:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:53:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112936960001,"66":25495,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477211316776632320},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 20:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112936960001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:53:50] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 20:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:53:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477211316776632320,"description":"Unknown IO ID 44"} 
[2026-08-01 20:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112936960001,"power":25495,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477211316776632320}} 
[2026-08-01 20:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":147489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:53:50] local.INFO: GPS data processed {"connection_id":147489,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:53:50] local.INFO: Acknowledgment sent {"connection_id":147489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:53:59] local.INFO: TCP Data received {"connection_id":146255,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146255,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:53:59] local.INFO: Processing buffer {"connection_id":146255,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:53:59] local.INFO: IMEI packet received {"connection_id":146255,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":146255,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:54:04] local.INFO: TCP Data received {"connection_id":146255,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146255,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:54:04] local.INFO: Processing buffer {"connection_id":146255,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:54:04] local.INFO: IMEI packet received {"connection_id":146255,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":146255,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:54:05] local.INFO: TCP Data received {"connection_id":146255,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbde803d8012d196580071fefa0003b015125..."} 
[2026-08-01 20:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbde803d8012d196580071fefa0003b015125..."} 
[2026-08-01 20:54:05] local.INFO: Processing buffer {"connection_id":146255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbde803d8012d196580071fefa0003b015125..."} 
[2026-08-01 20:54:05] local.INFO: Packet analysis {"connection_id":146255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbde8"} 
[2026-08-01 20:54:05] local.INFO: Extracted packet for processing {"connection_id":146255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbde8"} 
[2026-08-01 20:54:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112889856001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785597527000,"timestamp_ms":1785597527000,"timestamp_seconds":1785597527,"priority":1,"record_length":96,"hex_timestamp":"0000019fbde803d8"} 
[2026-08-01 20:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:54:05] 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-08-01 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:54:05] 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-08-01 20:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112889856001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112889856001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:54:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:54:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112889856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":146255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579182,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:54:06] local.INFO: GPS data processed {"connection_id":146255,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:54:06] local.INFO: Acknowledgment sent {"connection_id":146255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:54:21] local.INFO: TCP Data received {"connection_id":147489,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdead298012cc1de80075730400011009029..."} 
[2026-08-01 20:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdead298012cc1de80075730400011009029..."} 
[2026-08-01 20:54:21] local.INFO: Processing buffer {"connection_id":147489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdead298012cc1de80075730400011009029..."} 
[2026-08-01 20:54:21] local.INFO: Packet analysis {"connection_id":147489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdea"} 
[2026-08-01 20:54:21] local.INFO: Extracted packet for processing {"connection_id":147489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdea"} 
[2026-08-01 20:54:21] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":17,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 20:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112936960001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 20:54:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477211316776632320,"note":"Value kept but may cause issues"} 
[2026-08-01 20:54:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785597711000,"timestamp_ms":1785597711000,"timestamp_seconds":1785597711,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdead298"} 
[2026-08-01 20:54:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:54:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 20:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 20:54:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:54:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:54:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:54:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112936960001,"66":25495,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477211316776632320},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 20:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112936960001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:54:21] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 20:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:54:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477211316776632320,"description":"Unknown IO ID 44"} 
[2026-08-01 20:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112936960001,"power":25495,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477211316776632320}} 
[2026-08-01 20:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":147489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:54:21] local.INFO: GPS data processed {"connection_id":147489,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:54:21] local.INFO: Acknowledgment sent {"connection_id":147489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:54:37] local.INFO: TCP Data received {"connection_id":146255,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdec9ba0012d196580071fefa0003b015123..."} 
[2026-08-01 20:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdec9ba0012d196580071fefa0003b015123..."} 
[2026-08-01 20:54:37] local.INFO: Processing buffer {"connection_id":146255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdec9ba0012d196580071fefa0003b015123..."} 
[2026-08-01 20:54:37] local.INFO: Packet analysis {"connection_id":146255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdec"} 
[2026-08-01 20:54:37] local.INFO: Extracted packet for processing {"connection_id":146255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdec"} 
[2026-08-01 20:54:37] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112966912001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1785597828000,"timestamp_ms":1785597828000,"timestamp_seconds":1785597828,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdec9ba0"} 
[2026-08-01 20:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:54:37] 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-08-01 20:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":146255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":146255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":146255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:54:37] 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-08-01 20:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112966912001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112966912001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:54:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:54:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112966912001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":146255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:54:37] local.INFO: GPS data processed {"connection_id":146255,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:54:37] local.INFO: Acknowledgment sent {"connection_id":146255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:54:43] local.INFO: TCP Data received {"connection_id":146496,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:54:43] local.INFO: Processing buffer {"connection_id":146496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:54:43] local.INFO: IMEI packet received {"connection_id":146496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":146496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:54:48] local.INFO: TCP Data received {"connection_id":146496,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:54:48] local.INFO: Processing buffer {"connection_id":146496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:54:48] local.INFO: IMEI packet received {"connection_id":146496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":146496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:54:49] local.INFO: TCP Data received {"connection_id":146496,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdead298012cc1de80075730400011009029..."} 
[2026-08-01 20:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdead298012cc1de80075730400011009029..."} 
[2026-08-01 20:54:49] local.INFO: Processing buffer {"connection_id":146496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdead298012cc1de80075730400011009029..."} 
[2026-08-01 20:54:49] local.INFO: Packet analysis {"connection_id":146496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdea"} 
[2026-08-01 20:54:49] local.INFO: Extracted packet for processing {"connection_id":146496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdea"} 
[2026-08-01 20:54:49] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":17,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 20:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:54:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112936960001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:54:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 20:54:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477211316776632320,"note":"Value kept but may cause issues"} 
[2026-08-01 20:54:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:54:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785597711000,"timestamp_ms":1785597711000,"timestamp_seconds":1785597711,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdead298"} 
[2026-08-01 20:54:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:54:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 20:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 20:54:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:54:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:54:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:54:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:54:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:54:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:54:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:54:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:54:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:54:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:54:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112936960001,"66":25495,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477211316776632320},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 20:54:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:54:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:54:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112936960001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:54:49] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 20:54:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:54:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477211316776632320,"description":"Unknown IO ID 44"} 
[2026-08-01 20:54:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112936960001,"power":25495,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477211316776632320}} 
[2026-08-01 20:54:49] local.INFO: DEBUG: GPS processor result {"connection_id":146496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:54:49] local.INFO: GPS data processed {"connection_id":146496,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:54:49] local.INFO: Acknowledgment sent {"connection_id":146496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:54:59] local.INFO: TCP Data received {"connection_id":147490,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:54:59] local.INFO: Processing buffer {"connection_id":147490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:54:59] local.INFO: IMEI packet received {"connection_id":147490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":147490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:55:04] local.INFO: TCP Data received {"connection_id":147490,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:55:04] local.INFO: Processing buffer {"connection_id":147490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:55:04] local.INFO: IMEI packet received {"connection_id":147490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":147490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:55:05] local.INFO: TCP Data received {"connection_id":147490,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdec9ba0012d196580071fefa0003b015123..."} 
[2026-08-01 20:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdec9ba0012d196580071fefa0003b015123..."} 
[2026-08-01 20:55:05] local.INFO: Processing buffer {"connection_id":147490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdec9ba0012d196580071fefa0003b015123..."} 
[2026-08-01 20:55:05] local.INFO: Packet analysis {"connection_id":147490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdec"} 
[2026-08-01 20:55:05] local.INFO: Extracted packet for processing {"connection_id":147490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdec"} 
[2026-08-01 20:55:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112966912001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785597828000,"timestamp_ms":1785597828000,"timestamp_seconds":1785597828,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdec9ba0"} 
[2026-08-01 20:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:55:05] 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-08-01 20:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112966912001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112966912001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:55:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:55:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112966912001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":147490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579186,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:55:05] local.INFO: GPS data processed {"connection_id":147490,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:55:05] local.INFO: Acknowledgment sent {"connection_id":147490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:55:21] local.INFO: TCP Data received {"connection_id":146496,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdead298012cc1de80075730400011009029..."} 
[2026-08-01 20:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdead298012cc1de80075730400011009029..."} 
[2026-08-01 20:55:21] local.INFO: Processing buffer {"connection_id":146496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdead298012cc1de80075730400011009029..."} 
[2026-08-01 20:55:21] local.INFO: Packet analysis {"connection_id":146496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdea"} 
[2026-08-01 20:55:21] local.INFO: Extracted packet for processing {"connection_id":146496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdea"} 
[2026-08-01 20:55:21] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":17,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 20:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112936960001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 20:55:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477211316776632320,"note":"Value kept but may cause issues"} 
[2026-08-01 20:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785597711000,"timestamp_ms":1785597711000,"timestamp_seconds":1785597711,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdead298"} 
[2026-08-01 20:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:55:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 20:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 20:55:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:55:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:55:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112936960001,"66":25495,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477211316776632320},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 20:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112936960001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:55:21] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 20:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:55:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477211316776632320,"description":"Unknown IO ID 44"} 
[2026-08-01 20:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112936960001,"power":25495,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477211316776632320}} 
[2026-08-01 20:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":146496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:55:21] local.INFO: GPS data processed {"connection_id":146496,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:55:21] local.INFO: Acknowledgment sent {"connection_id":146496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:55:36] local.INFO: TCP Data received {"connection_id":147490,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdec9ba0012d196580071fefa0003b015123..."} 
[2026-08-01 20:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdec9ba0012d196580071fefa0003b015123..."} 
[2026-08-01 20:55:36] local.INFO: Processing buffer {"connection_id":147490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdec9ba0012d196580071fefa0003b015123..."} 
[2026-08-01 20:55:36] local.INFO: Packet analysis {"connection_id":147490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdec"} 
[2026-08-01 20:55:36] local.INFO: Extracted packet for processing {"connection_id":147490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdec"} 
[2026-08-01 20:55:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112966912001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785597828000,"timestamp_ms":1785597828000,"timestamp_seconds":1785597828,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdec9ba0"} 
[2026-08-01 20:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:55:36] 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-08-01 20:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:55:36] 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-08-01 20:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112966912001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112966912001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:55:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:55:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112966912001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":147490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579188,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:55:36] local.INFO: GPS data processed {"connection_id":147490,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:55:36] local.INFO: Acknowledgment sent {"connection_id":147490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:55:43] local.INFO: TCP Data received {"connection_id":146256,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:55:43] local.INFO: Processing buffer {"connection_id":146256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:55:43] local.INFO: IMEI packet received {"connection_id":146256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":146256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:55:48] local.INFO: TCP Data received {"connection_id":146256,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:55:48] local.INFO: Processing buffer {"connection_id":146256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:55:48] local.INFO: IMEI packet received {"connection_id":146256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":146256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:55:50] local.INFO: TCP Data received {"connection_id":146256,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdead298012cc1de80075730400011009029..."} 
[2026-08-01 20:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdead298012cc1de80075730400011009029..."} 
[2026-08-01 20:55:50] local.INFO: Processing buffer {"connection_id":146256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdead298012cc1de80075730400011009029..."} 
[2026-08-01 20:55:50] local.INFO: Packet analysis {"connection_id":146256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdea"} 
[2026-08-01 20:55:50] local.INFO: Extracted packet for processing {"connection_id":146256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdea"} 
[2026-08-01 20:55:50] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":17,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 20:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:55:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112936960001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:55:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 20:55:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477211316776632320,"note":"Value kept but may cause issues"} 
[2026-08-01 20:55:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:55:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785597711000,"timestamp_ms":1785597711000,"timestamp_seconds":1785597711,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdead298"} 
[2026-08-01 20:55:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:55:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 20:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 20:55:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:55:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:55:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:55:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:55:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:55:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:55:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:55:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:55:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:55:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:55:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112936960001,"66":25495,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477211316776632320},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 20:55:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:55:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:55:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112936960001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:55:50] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 20:55:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:55:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477211316776632320,"description":"Unknown IO ID 44"} 
[2026-08-01 20:55:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112936960001,"power":25495,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477211316776632320}} 
[2026-08-01 20:55:50] local.INFO: DEBUG: GPS processor result {"connection_id":146256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:55:50] local.INFO: GPS data processed {"connection_id":146256,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:55:50] local.INFO: Acknowledgment sent {"connection_id":146256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:55:59] local.INFO: TCP Data received {"connection_id":148797,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:55:59] local.INFO: Processing buffer {"connection_id":148797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:55:59] local.INFO: IMEI packet received {"connection_id":148797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":148797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:56:04] local.INFO: TCP Data received {"connection_id":148797,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:56:04] local.INFO: Processing buffer {"connection_id":148797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:56:04] local.INFO: IMEI packet received {"connection_id":148797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":148797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:56:05] local.INFO: TCP Data received {"connection_id":148797,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdec9ba0012d196580071fefa0003b015123..."} 
[2026-08-01 20:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdec9ba0012d196580071fefa0003b015123..."} 
[2026-08-01 20:56:05] local.INFO: Processing buffer {"connection_id":148797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdec9ba0012d196580071fefa0003b015123..."} 
[2026-08-01 20:56:05] local.INFO: Packet analysis {"connection_id":148797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdec"} 
[2026-08-01 20:56:05] local.INFO: Extracted packet for processing {"connection_id":148797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdec"} 
[2026-08-01 20:56:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112966912001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785597828000,"timestamp_ms":1785597828000,"timestamp_seconds":1785597828,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdec9ba0"} 
[2026-08-01 20:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:56:05] 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-08-01 20:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112966912001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112966912001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:56:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:56:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112966912001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":148797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:56:05] local.INFO: GPS data processed {"connection_id":148797,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:56:05] local.INFO: Acknowledgment sent {"connection_id":148797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:56:21] local.INFO: TCP Data received {"connection_id":146256,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdead298012cc1de80075730400011009029..."} 
[2026-08-01 20:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdead298012cc1de80075730400011009029..."} 
[2026-08-01 20:56:21] local.INFO: Processing buffer {"connection_id":146256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdead298012cc1de80075730400011009029..."} 
[2026-08-01 20:56:21] local.INFO: Packet analysis {"connection_id":146256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdea"} 
[2026-08-01 20:56:21] local.INFO: Extracted packet for processing {"connection_id":146256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdea"} 
[2026-08-01 20:56:21] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":17,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 20:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112936960001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 20:56:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477211316776632320,"note":"Value kept but may cause issues"} 
[2026-08-01 20:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785597711000,"timestamp_ms":1785597711000,"timestamp_seconds":1785597711,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdead298"} 
[2026-08-01 20:56:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:56:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 20:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 20:56:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:56:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:56:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:56:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112936960001,"66":25495,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477211316776632320},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 20:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112936960001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:56:21] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 20:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:56:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477211316776632320,"description":"Unknown IO ID 44"} 
[2026-08-01 20:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112936960001,"power":25495,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477211316776632320}} 
[2026-08-01 20:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":146256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:56:21] local.INFO: GPS data processed {"connection_id":146256,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:56:21] local.INFO: Acknowledgment sent {"connection_id":146256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:56:36] local.INFO: TCP Data received {"connection_id":148797,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdec9ba0012d196580071fefa0003b015123..."} 
[2026-08-01 20:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdec9ba0012d196580071fefa0003b015123..."} 
[2026-08-01 20:56:36] local.INFO: Processing buffer {"connection_id":148797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdec9ba0012d196580071fefa0003b015123..."} 
[2026-08-01 20:56:36] local.INFO: Packet analysis {"connection_id":148797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdec"} 
[2026-08-01 20:56:36] local.INFO: Extracted packet for processing {"connection_id":148797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdec"} 
[2026-08-01 20:56:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112966912001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785597828000,"timestamp_ms":1785597828000,"timestamp_seconds":1785597828,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdec9ba0"} 
[2026-08-01 20:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:56:36] 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-08-01 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:56:36] 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-08-01 20:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112966912001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112966912001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:56:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:56:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112966912001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":148797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:56:36] local.INFO: GPS data processed {"connection_id":148797,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:56:36] local.INFO: Acknowledgment sent {"connection_id":148797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:56:50] local.INFO: TCP Data received {"connection_id":146497,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:56:50] local.INFO: Processing buffer {"connection_id":146497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:56:50] local.INFO: IMEI packet received {"connection_id":146497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":146497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:56:53] local.INFO: TCP Data received {"connection_id":146497,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:56:53] local.INFO: Processing buffer {"connection_id":146497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:56:53] local.INFO: IMEI packet received {"connection_id":146497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":146497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:56:55] local.INFO: TCP Data received {"connection_id":146497,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdead298012cc1de80075730400011009029..."} 
[2026-08-01 20:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdead298012cc1de80075730400011009029..."} 
[2026-08-01 20:56:55] local.INFO: Processing buffer {"connection_id":146497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdead298012cc1de80075730400011009029..."} 
[2026-08-01 20:56:55] local.INFO: Packet analysis {"connection_id":146497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdea"} 
[2026-08-01 20:56:55] local.INFO: Extracted packet for processing {"connection_id":146497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdea"} 
[2026-08-01 20:56:55] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":17,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 20:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112936960001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 20:56:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477211316776632320,"note":"Value kept but may cause issues"} 
[2026-08-01 20:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785597711000,"timestamp_ms":1785597711000,"timestamp_seconds":1785597711,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdead298"} 
[2026-08-01 20:56:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:56:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 20:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 20:56:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:56:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:56:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":146497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":146497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":146497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:56:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112936960001,"66":25495,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477211316776632320},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 20:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112936960001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:56:55] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 20:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:56:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477211316776632320,"description":"Unknown IO ID 44"} 
[2026-08-01 20:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112936960001,"power":25495,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477211316776632320}} 
[2026-08-01 20:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":146497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:56:55] local.INFO: GPS data processed {"connection_id":146497,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:56:55] local.INFO: Acknowledgment sent {"connection_id":146497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:56:59] local.INFO: TCP Data received {"connection_id":146497,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdead298012cc1de80075730400011009029..."} 
[2026-08-01 20:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdead298012cc1de80075730400011009029..."} 
[2026-08-01 20:56:59] local.INFO: Processing buffer {"connection_id":146497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdead298012cc1de80075730400011009029..."} 
[2026-08-01 20:56:59] local.INFO: Packet analysis {"connection_id":146497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdea"} 
[2026-08-01 20:56:59] local.INFO: Extracted packet for processing {"connection_id":146497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdea"} 
[2026-08-01 20:56:59] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":17,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112936960001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 20:56:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477211316776632320,"note":"Value kept but may cause issues"} 
[2026-08-01 20:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785597711000,"timestamp_ms":1785597711000,"timestamp_seconds":1785597711,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdead298"} 
[2026-08-01 20:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:56: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-08-01 20: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-01 20:56:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":146497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":146497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":146497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112936960001,"66":25495,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477211316776632320},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 20:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112936960001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:56:59] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 20:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:56:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477211316776632320,"description":"Unknown IO ID 44"} 
[2026-08-01 20:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112936960001,"power":25495,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477211316776632320}} 
[2026-08-01 20:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":146497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:56:59] local.INFO: GPS data processed {"connection_id":146497,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:56:59] local.INFO: Acknowledgment sent {"connection_id":146497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:56:59] local.INFO: TCP Data received {"connection_id":148798,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:56:59] local.INFO: Processing buffer {"connection_id":148798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:56:59] local.INFO: IMEI packet received {"connection_id":148798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":148798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:57:04] local.INFO: TCP Data received {"connection_id":148798,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:57:04] local.INFO: Processing buffer {"connection_id":148798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:57:04] local.INFO: IMEI packet received {"connection_id":148798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":148798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:57:05] local.INFO: TCP Data received {"connection_id":148798,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdec9ba0012d196580071fefa0003b015123..."} 
[2026-08-01 20:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdec9ba0012d196580071fefa0003b015123..."} 
[2026-08-01 20:57:05] local.INFO: Processing buffer {"connection_id":148798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdec9ba0012d196580071fefa0003b015123..."} 
[2026-08-01 20:57:05] local.INFO: Packet analysis {"connection_id":148798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdec"} 
[2026-08-01 20:57:05] local.INFO: Extracted packet for processing {"connection_id":148798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdec"} 
[2026-08-01 20:57:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112966912001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785597828000,"timestamp_ms":1785597828000,"timestamp_seconds":1785597828,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdec9ba0"} 
[2026-08-01 20:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:57:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 20: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":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:57:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:57:05] 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-08-01 20:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112966912001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112966912001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:57:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:57:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112966912001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":148798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:57:05] local.INFO: GPS data processed {"connection_id":148798,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:57:05] local.INFO: Acknowledgment sent {"connection_id":148798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:57:36] local.INFO: TCP Data received {"connection_id":148798,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdec9ba0012d196580071fefa0003b015123..."} 
[2026-08-01 20:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdec9ba0012d196580071fefa0003b015123..."} 
[2026-08-01 20:57:36] local.INFO: Processing buffer {"connection_id":148798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdec9ba0012d196580071fefa0003b015123..."} 
[2026-08-01 20:57:36] local.INFO: Packet analysis {"connection_id":148798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdec"} 
[2026-08-01 20:57:36] local.INFO: Extracted packet for processing {"connection_id":148798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdec"} 
[2026-08-01 20:57:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112966912001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785597828000,"timestamp_ms":1785597828000,"timestamp_seconds":1785597828,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdec9ba0"} 
[2026-08-01 20:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:57:36] 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-08-01 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:57:36] 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-08-01 20:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112966912001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112966912001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:57:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:57:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112966912001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":148798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:57:36] local.INFO: GPS data processed {"connection_id":148798,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:57:36] local.INFO: Acknowledgment sent {"connection_id":148798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:57:43] local.INFO: TCP Data received {"connection_id":147491,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:57:43] local.INFO: Processing buffer {"connection_id":147491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:57:43] local.INFO: IMEI packet received {"connection_id":147491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:57:43] local.INFO: IMEI acknowledgment sent {"connection_id":147491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:57:48] local.INFO: TCP Data received {"connection_id":147491,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:57:48] local.INFO: Processing buffer {"connection_id":147491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:57:48] local.INFO: IMEI packet received {"connection_id":147491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":147491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:57:49] local.INFO: TCP Data received {"connection_id":147491,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdef6a60012cc1de80075730400011009029..."} 
[2026-08-01 20:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdef6a60012cc1de80075730400011009029..."} 
[2026-08-01 20:57:49] local.INFO: Processing buffer {"connection_id":147491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdef6a60012cc1de80075730400011009029..."} 
[2026-08-01 20:57:49] local.INFO: Packet analysis {"connection_id":147491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdef"} 
[2026-08-01 20:57:49] local.INFO: Extracted packet for processing {"connection_id":147491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdef"} 
[2026-08-01 20:57:49] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":17,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 20:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113014016001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 20:57:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 20:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785598012000,"timestamp_ms":1785598012000,"timestamp_seconds":1785598012,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdef6a60"} 
[2026-08-01 20:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 20:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 20:57:49] 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-08-01 20:57:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113014016001,"66":25191,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 20:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113014016001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:57:49] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 20:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:57:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 20:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113014016001,"power":25191,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 20:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":147491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:57:49] local.INFO: GPS data processed {"connection_id":147491,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:57:49] local.INFO: Acknowledgment sent {"connection_id":147491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:57:55] local.INFO: TCP Data received {"connection_id":147491,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdef6a60012cc1de80075730400011009029..."} 
[2026-08-01 20:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdef6a60012cc1de80075730400011009029..."} 
[2026-08-01 20:57:55] local.INFO: Processing buffer {"connection_id":147491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdef6a60012cc1de80075730400011009029..."} 
[2026-08-01 20:57:55] local.INFO: Packet analysis {"connection_id":147491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdef"} 
[2026-08-01 20:57:55] local.INFO: Extracted packet for processing {"connection_id":147491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdef"} 
[2026-08-01 20:57:55] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":17,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 20:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113014016001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 20:57:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 20:57:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785598012000,"timestamp_ms":1785598012000,"timestamp_seconds":1785598012,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdef6a60"} 
[2026-08-01 20:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:57:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 20:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 20:57:55] 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-08-01 20:57:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":147491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":147491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":147491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113014016001,"66":25191,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 20:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113014016001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:57:55] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 20:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:57:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 20:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113014016001,"power":25191,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 20:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":147491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:57:55] local.INFO: GPS data processed {"connection_id":147491,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:57:55] local.INFO: Acknowledgment sent {"connection_id":147491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:58:00] local.INFO: TCP Data received {"connection_id":146257,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:58:00] local.INFO: Processing buffer {"connection_id":146257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:58:00] local.INFO: IMEI packet received {"connection_id":146257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":146257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:58:04] local.INFO: TCP Data received {"connection_id":146257,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:58:04] local.INFO: Processing buffer {"connection_id":146257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:58:04] local.INFO: IMEI packet received {"connection_id":146257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":146257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:58:05] local.INFO: TCP Data received {"connection_id":146257,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdec9ba0012d196580071fefa0003b015123..."} 
[2026-08-01 20:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdec9ba0012d196580071fefa0003b015123..."} 
[2026-08-01 20:58:05] local.INFO: Processing buffer {"connection_id":146257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdec9ba0012d196580071fefa0003b015123..."} 
[2026-08-01 20:58:05] local.INFO: Packet analysis {"connection_id":146257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdec"} 
[2026-08-01 20:58:05] local.INFO: Extracted packet for processing {"connection_id":146257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdec"} 
[2026-08-01 20:58:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112966912001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785597828000,"timestamp_ms":1785597828000,"timestamp_seconds":1785597828,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdec9ba0"} 
[2026-08-01 20:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:58:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:58:05] 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-08-01 20:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112966912001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112966912001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:58:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:58:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112966912001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":146257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579199,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:58:05] local.INFO: GPS data processed {"connection_id":146257,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:58:05] local.INFO: Acknowledgment sent {"connection_id":146257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:58:26] local.INFO: TCP Data received {"connection_id":147491,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdef6a60012cc1de80075730400011009029..."} 
[2026-08-01 20:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdef6a60012cc1de80075730400011009029..."} 
[2026-08-01 20:58:26] local.INFO: Processing buffer {"connection_id":147491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdef6a60012cc1de80075730400011009029..."} 
[2026-08-01 20:58:26] local.INFO: Packet analysis {"connection_id":147491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdef"} 
[2026-08-01 20:58:26] local.INFO: Extracted packet for processing {"connection_id":147491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdef"} 
[2026-08-01 20:58:26] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":17,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 20:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113014016001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 20:58:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 20:58:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785598012000,"timestamp_ms":1785598012000,"timestamp_seconds":1785598012,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdef6a60"} 
[2026-08-01 20:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:58:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 20:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 20:58:26] 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-08-01 20:58:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":147491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":147491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":147491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:58:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113014016001,"66":25191,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 20:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113014016001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:58:26] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 20:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:58:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 20:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113014016001,"power":25191,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 20:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":147491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:58:26] local.INFO: GPS data processed {"connection_id":147491,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:58:26] local.INFO: Acknowledgment sent {"connection_id":147491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:58:36] local.INFO: TCP Data received {"connection_id":146257,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdec9ba0012d196580071fefa0003b015123..."} 
[2026-08-01 20:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdec9ba0012d196580071fefa0003b015123..."} 
[2026-08-01 20:58:36] local.INFO: Processing buffer {"connection_id":146257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdec9ba0012d196580071fefa0003b015123..."} 
[2026-08-01 20:58:36] local.INFO: Packet analysis {"connection_id":146257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdec"} 
[2026-08-01 20:58:36] local.INFO: Extracted packet for processing {"connection_id":146257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdec"} 
[2026-08-01 20:58:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112966912001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785597828000,"timestamp_ms":1785597828000,"timestamp_seconds":1785597828,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdec9ba0"} 
[2026-08-01 20:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:58:36] 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-08-01 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:58:36] 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-08-01 20:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112966912001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112966912001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:58:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:58:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112966912001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":146257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:58:37] local.INFO: GPS data processed {"connection_id":146257,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:58:37] local.INFO: Acknowledgment sent {"connection_id":146257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:58:43] local.INFO: TCP Data received {"connection_id":148799,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:58:43] local.INFO: Processing buffer {"connection_id":148799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:58:43] local.INFO: IMEI packet received {"connection_id":148799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":148799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:58:48] local.INFO: TCP Data received {"connection_id":148799,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:58:48] local.INFO: Processing buffer {"connection_id":148799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:58:48] local.INFO: IMEI packet received {"connection_id":148799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":148799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:58:50] local.INFO: TCP Data received {"connection_id":148799,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdef6a60012cc1de80075730400011009029..."} 
[2026-08-01 20:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdef6a60012cc1de80075730400011009029..."} 
[2026-08-01 20:58:50] local.INFO: Processing buffer {"connection_id":148799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdef6a60012cc1de80075730400011009029..."} 
[2026-08-01 20:58:50] local.INFO: Packet analysis {"connection_id":148799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdef"} 
[2026-08-01 20:58:50] local.INFO: Extracted packet for processing {"connection_id":148799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdef"} 
[2026-08-01 20:58:50] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":17,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 20:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113014016001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 20:58:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 20:58:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785598012000,"timestamp_ms":1785598012000,"timestamp_seconds":1785598012,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdef6a60"} 
[2026-08-01 20:58:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:58:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 20:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 20:58:50] 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-08-01 20:58:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:58:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:58:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113014016001,"66":25191,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 20:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113014016001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:58:50] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 20:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:58:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 20:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113014016001,"power":25191,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 20:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":148799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:58:50] local.INFO: GPS data processed {"connection_id":148799,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:58:50] local.INFO: Acknowledgment sent {"connection_id":148799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:58:59] local.INFO: TCP Data received {"connection_id":146258,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146258,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:58:59] local.INFO: Processing buffer {"connection_id":146258,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:58:59] local.INFO: IMEI packet received {"connection_id":146258,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":146258,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:59:04] local.INFO: TCP Data received {"connection_id":146258,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146258,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:59:04] local.INFO: Processing buffer {"connection_id":146258,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:59:04] local.INFO: IMEI packet received {"connection_id":146258,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 20:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":146258,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:59:05] local.INFO: TCP Data received {"connection_id":146258,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdec9ba0012d196580071fefa0003b015123..."} 
[2026-08-01 20:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdec9ba0012d196580071fefa0003b015123..."} 
[2026-08-01 20:59:05] local.INFO: Processing buffer {"connection_id":146258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdec9ba0012d196580071fefa0003b015123..."} 
[2026-08-01 20:59:05] local.INFO: Packet analysis {"connection_id":146258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdec"} 
[2026-08-01 20:59:05] local.INFO: Extracted packet for processing {"connection_id":146258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdec"} 
[2026-08-01 20:59:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457112966912001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785597828000,"timestamp_ms":1785597828000,"timestamp_seconds":1785597828,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdec9ba0"} 
[2026-08-01 20:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 20:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20: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-08-01 20:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:59:05] 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-08-01 20:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457112966912001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457112966912001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:59:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:59:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457112966912001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":146258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:59:05] local.INFO: GPS data processed {"connection_id":146258,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:59:05] local.INFO: Acknowledgment sent {"connection_id":146258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:59:21] local.INFO: TCP Data received {"connection_id":148799,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdef6a60012cc1de80075730400011009029..."} 
[2026-08-01 20:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdef6a60012cc1de80075730400011009029..."} 
[2026-08-01 20:59:21] local.INFO: Processing buffer {"connection_id":148799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdef6a60012cc1de80075730400011009029..."} 
[2026-08-01 20:59:21] local.INFO: Packet analysis {"connection_id":148799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdef"} 
[2026-08-01 20:59:21] local.INFO: Extracted packet for processing {"connection_id":148799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdef"} 
[2026-08-01 20:59:21] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":17,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 20:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113014016001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 20:59:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 20:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785598012000,"timestamp_ms":1785598012000,"timestamp_seconds":1785598012,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdef6a60"} 
[2026-08-01 20:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:59:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 20:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 20:59:21] 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-08-01 20:59:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:59:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113014016001,"66":25191,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 20:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113014016001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:59:21] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 20:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:59:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 20:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113014016001,"power":25191,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 20:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":148799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:59:21] local.INFO: GPS data processed {"connection_id":148799,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:59:21] local.INFO: Acknowledgment sent {"connection_id":148799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:59:36] local.INFO: TCP Data received {"connection_id":146258,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdf13368012d196580071fefa0003b015125..."} 
[2026-08-01 20:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdf13368012d196580071fefa0003b015125..."} 
[2026-08-01 20:59:36] local.INFO: Processing buffer {"connection_id":146258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdf13368012d196580071fefa0003b015125..."} 
[2026-08-01 20:59:36] local.INFO: Packet analysis {"connection_id":146258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdf1"} 
[2026-08-01 20:59:36] local.INFO: Extracted packet for processing {"connection_id":146258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdf1"} 
[2026-08-01 20:59:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 20:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 20:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113043968001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 20:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 20:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785598129000,"timestamp_ms":1785598129000,"timestamp_seconds":1785598129,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdf13368"} 
[2026-08-01 20:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:59:36] 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-08-01 20:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 20:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 20:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 20:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 20:59:36] 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-08-01 20:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 20:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 20:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113043968001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 20:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 20:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 20:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113043968001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:59:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 20:59:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 20:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 20:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113043968001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 20:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":146258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:59:36] local.INFO: GPS data processed {"connection_id":146258,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:59:36] local.INFO: Acknowledgment sent {"connection_id":146258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:59:43] local.INFO: TCP Data received {"connection_id":148800,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:59:43] local.INFO: Processing buffer {"connection_id":148800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:59:43] local.INFO: IMEI packet received {"connection_id":148800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 20:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":148800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 20:59:48] local.INFO: TCP Data received {"connection_id":148800,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:59:48] local.INFO: Processing buffer {"connection_id":148800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 20:59:48] local.INFO: IMEI packet received {"connection_id":148800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 20:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":148800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 20:59:50] local.INFO: TCP Data received {"connection_id":148800,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdef6a60012cc1de80075730400011009029..."} 
[2026-08-01 20:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdef6a60012cc1de80075730400011009029..."} 
[2026-08-01 20:59:50] local.INFO: Processing buffer {"connection_id":148800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdef6a60012cc1de80075730400011009029..."} 
[2026-08-01 20:59:50] local.INFO: Packet analysis {"connection_id":148800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdef"} 
[2026-08-01 20:59:50] local.INFO: Extracted packet for processing {"connection_id":148800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdef"} 
[2026-08-01 20:59:50] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":17,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 20: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-08-01 20:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113014016001,"note":"Value kept but may cause issues"} 
[2026-08-01 20:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 20:59:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 20:59:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 20:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785598012000,"timestamp_ms":1785598012000,"timestamp_seconds":1785598012,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdef6a60"} 
[2026-08-01 20:59:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 20:59:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 20: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 20:59:50] 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-08-01 20: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-08-01 20:59:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 20:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 20:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 20:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 20:59:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 20:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 20:59:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 20:59:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113014016001,"66":25191,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 20:59:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 20:59:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 20:59:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113014016001,"description":"Unknown IO ID 0"} 
[2026-08-01 20:59:50] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 20:59:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 20:59:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 20:59:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113014016001,"power":25191,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 20:59:50] local.INFO: DEBUG: GPS processor result {"connection_id":148800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 20:59:50] local.INFO: GPS data processed {"connection_id":148800,"processed":1,"errors":0,"total":1} 
[2026-08-01 20:59:50] local.INFO: Acknowledgment sent {"connection_id":148800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 20:59:59] local.INFO: TCP Data received {"connection_id":146259,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:59:59] local.INFO: Processing buffer {"connection_id":146259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 20:59:59] local.INFO: IMEI packet received {"connection_id":146259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 20:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":146259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:00:04] local.INFO: TCP Data received {"connection_id":146259,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:00:04] local.INFO: Processing buffer {"connection_id":146259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:00:04] local.INFO: IMEI packet received {"connection_id":146259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":146259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:00:05] local.INFO: TCP Data received {"connection_id":146259,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdf13368012d196580071fefa0003b015125..."} 
[2026-08-01 21:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdf13368012d196580071fefa0003b015125..."} 
[2026-08-01 21:00:05] local.INFO: Processing buffer {"connection_id":146259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdf13368012d196580071fefa0003b015125..."} 
[2026-08-01 21:00:05] local.INFO: Packet analysis {"connection_id":146259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdf1"} 
[2026-08-01 21:00:05] local.INFO: Extracted packet for processing {"connection_id":146259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdf1"} 
[2026-08-01 21:00:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113043968001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785598129000,"timestamp_ms":1785598129000,"timestamp_seconds":1785598129,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdf13368"} 
[2026-08-01 21:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:00: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-08-01 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 21:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:00:05] 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-08-01 21:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113043968001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113043968001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:00:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:00:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113043968001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":146259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:00:05] local.INFO: GPS data processed {"connection_id":146259,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:00:05] local.INFO: Acknowledgment sent {"connection_id":146259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:00:22] local.INFO: TCP Data received {"connection_id":148800,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdef6a60012cc1de80075730400011009029..."} 
[2026-08-01 21:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdef6a60012cc1de80075730400011009029..."} 
[2026-08-01 21:00:22] local.INFO: Processing buffer {"connection_id":148800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdef6a60012cc1de80075730400011009029..."} 
[2026-08-01 21:00:22] local.INFO: Packet analysis {"connection_id":148800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdef"} 
[2026-08-01 21:00:22] local.INFO: Extracted packet for processing {"connection_id":148800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdef"} 
[2026-08-01 21:00:22] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":17,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113014016001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:00:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785598012000,"timestamp_ms":1785598012000,"timestamp_seconds":1785598012,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdef6a60"} 
[2026-08-01 21:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 21:00:22] 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-08-01 21:00:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113014016001,"66":25191,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113014016001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:00:22] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:00:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113014016001,"power":25191,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":148800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:00:22] local.INFO: GPS data processed {"connection_id":148800,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:00:22] local.INFO: Acknowledgment sent {"connection_id":148800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:00:36] local.INFO: TCP Data received {"connection_id":146259,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdf13368012d196580071fefa0003b015125..."} 
[2026-08-01 21:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdf13368012d196580071fefa0003b015125..."} 
[2026-08-01 21:00:36] local.INFO: Processing buffer {"connection_id":146259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdf13368012d196580071fefa0003b015125..."} 
[2026-08-01 21:00:36] local.INFO: Packet analysis {"connection_id":146259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdf1"} 
[2026-08-01 21:00:36] local.INFO: Extracted packet for processing {"connection_id":146259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdf1"} 
[2026-08-01 21:00:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113043968001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785598129000,"timestamp_ms":1785598129000,"timestamp_seconds":1785598129,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdf13368"} 
[2026-08-01 21:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:00:36] 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-08-01 21:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 21:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:00:36] 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-08-01 21:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113043968001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113043968001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:00:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:00:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113043968001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":146259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579209,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:00:36] local.INFO: GPS data processed {"connection_id":146259,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:00:36] local.INFO: Acknowledgment sent {"connection_id":146259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:00:43] local.INFO: TCP Data received {"connection_id":148801,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:00:43] local.INFO: Processing buffer {"connection_id":148801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:00:43] local.INFO: IMEI packet received {"connection_id":148801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 21:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":148801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:00:51] local.INFO: TCP Data received {"connection_id":148801,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:00:51] local.INFO: Processing buffer {"connection_id":148801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:00:51] local.INFO: IMEI packet received {"connection_id":148801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":148801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:00:55] local.INFO: TCP Data received {"connection_id":148801,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdef6a60012cc1de80075730400011009029..."} 
[2026-08-01 21:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdef6a60012cc1de80075730400011009029..."} 
[2026-08-01 21:00:55] local.INFO: Processing buffer {"connection_id":148801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdef6a60012cc1de80075730400011009029..."} 
[2026-08-01 21:00:55] local.INFO: Packet analysis {"connection_id":148801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdef"} 
[2026-08-01 21:00:55] local.INFO: Extracted packet for processing {"connection_id":148801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdef"} 
[2026-08-01 21:00:55] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":17,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113014016001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:00:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785598012000,"timestamp_ms":1785598012000,"timestamp_seconds":1785598012,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdef6a60"} 
[2026-08-01 21:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 21:00:55] 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-08-01 21:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113014016001,"66":25191,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113014016001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:00:55] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:00:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113014016001,"power":25191,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":148801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:00:55] local.INFO: GPS data processed {"connection_id":148801,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:00:55] local.INFO: Acknowledgment sent {"connection_id":148801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:00:59] local.INFO: TCP Data received {"connection_id":146498,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146498,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:00:59] local.INFO: Processing buffer {"connection_id":146498,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:00:59] local.INFO: IMEI packet received {"connection_id":146498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":146498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:01:04] local.INFO: TCP Data received {"connection_id":146498,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146498,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:01:04] local.INFO: Processing buffer {"connection_id":146498,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:01:04] local.INFO: IMEI packet received {"connection_id":146498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":146498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:01:05] local.INFO: TCP Data received {"connection_id":146498,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdf13368012d196580071fefa0003b015125..."} 
[2026-08-01 21:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdf13368012d196580071fefa0003b015125..."} 
[2026-08-01 21:01:05] local.INFO: Processing buffer {"connection_id":146498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdf13368012d196580071fefa0003b015125..."} 
[2026-08-01 21:01:05] local.INFO: Packet analysis {"connection_id":146498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdf1"} 
[2026-08-01 21:01:05] local.INFO: Extracted packet for processing {"connection_id":146498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdf1"} 
[2026-08-01 21:01:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113043968001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785598129000,"timestamp_ms":1785598129000,"timestamp_seconds":1785598129,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdf13368"} 
[2026-08-01 21:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:01: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-08-01 21:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 21:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:01: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-08-01 21:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113043968001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113043968001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:01:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:01:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113043968001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":146498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:01:05] local.INFO: GPS data processed {"connection_id":146498,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:01:05] local.INFO: Acknowledgment sent {"connection_id":146498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:01:27] local.INFO: TCP Data received {"connection_id":148801,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdef6a60012cc1de80075730400011009029..."} 
[2026-08-01 21:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdef6a60012cc1de80075730400011009029..."} 
[2026-08-01 21:01:27] local.INFO: Processing buffer {"connection_id":148801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdef6a60012cc1de80075730400011009029..."} 
[2026-08-01 21:01:27] local.INFO: Packet analysis {"connection_id":148801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdef"} 
[2026-08-01 21:01:27] local.INFO: Extracted packet for processing {"connection_id":148801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdef"} 
[2026-08-01 21:01:27] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":17,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:01: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-08-01 21:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113014016001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:01:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:01:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785598012000,"timestamp_ms":1785598012000,"timestamp_seconds":1785598012,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdef6a60"} 
[2026-08-01 21:01:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:01:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:01: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":151,"data_length":795,"current_offset":136} 
[2026-08-01 21:01:27] 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-08-01 21:01: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-08-01 21:01:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:01:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113014016001,"66":25191,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113014016001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:01:27] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:01:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113014016001,"power":25191,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":148801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:01:27] local.INFO: GPS data processed {"connection_id":148801,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:01:27] local.INFO: Acknowledgment sent {"connection_id":148801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:01:36] local.INFO: TCP Data received {"connection_id":146498,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdf13368012d196580071fefa0003b015125..."} 
[2026-08-01 21:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdf13368012d196580071fefa0003b015125..."} 
[2026-08-01 21:01:36] local.INFO: Processing buffer {"connection_id":146498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdf13368012d196580071fefa0003b015125..."} 
[2026-08-01 21:01:36] local.INFO: Packet analysis {"connection_id":146498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdf1"} 
[2026-08-01 21:01:36] local.INFO: Extracted packet for processing {"connection_id":146498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdf1"} 
[2026-08-01 21:01:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113043968001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785598129000,"timestamp_ms":1785598129000,"timestamp_seconds":1785598129,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdf13368"} 
[2026-08-01 21:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:01:36] 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-08-01 21:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 21:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113043968001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113043968001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:01:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:01:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113043968001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":146498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579213,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:01:37] local.INFO: GPS data processed {"connection_id":146498,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:01:37] local.INFO: Acknowledgment sent {"connection_id":146498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:01:48] local.INFO: TCP Data received {"connection_id":146260,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:01:48] local.INFO: Processing buffer {"connection_id":146260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:01:48] local.INFO: IMEI packet received {"connection_id":146260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 21:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":146260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:01:54] local.INFO: TCP Data received {"connection_id":146260,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:01:54] local.INFO: Processing buffer {"connection_id":146260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:01:54] local.INFO: IMEI packet received {"connection_id":146260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":146260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:01:55] local.INFO: TCP Data received {"connection_id":146260,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdef6a60012cc1de80075730400011009029..."} 
[2026-08-01 21:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdef6a60012cc1de80075730400011009029..."} 
[2026-08-01 21:01:55] local.INFO: Processing buffer {"connection_id":146260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdef6a60012cc1de80075730400011009029..."} 
[2026-08-01 21:01:55] local.INFO: Packet analysis {"connection_id":146260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdef"} 
[2026-08-01 21:01:55] local.INFO: Extracted packet for processing {"connection_id":146260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdef"} 
[2026-08-01 21:01:55] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":17,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113014016001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:01:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785598012000,"timestamp_ms":1785598012000,"timestamp_seconds":1785598012,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdef6a60"} 
[2026-08-01 21:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:01:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-01 21:01:55] 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-08-01 21:01:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":146260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":146260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":146260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113014016001,"66":25191,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113014016001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:01:55] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:01:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113014016001,"power":25191,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":146260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:01:55] local.INFO: GPS data processed {"connection_id":146260,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:01:55] local.INFO: Acknowledgment sent {"connection_id":146260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:01:59] local.INFO: TCP Data received {"connection_id":146260,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdef6a60012cc1de80075730400011009029..."} 
[2026-08-01 21:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdef6a60012cc1de80075730400011009029..."} 
[2026-08-01 21:01:59] local.INFO: Processing buffer {"connection_id":146260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdef6a60012cc1de80075730400011009029..."} 
[2026-08-01 21:01:59] local.INFO: Packet analysis {"connection_id":146260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdef"} 
[2026-08-01 21:01:59] local.INFO: Extracted packet for processing {"connection_id":146260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdef"} 
[2026-08-01 21:01:59] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":17,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 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-08-01 21:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113014016001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:01:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785598012000,"timestamp_ms":1785598012000,"timestamp_seconds":1785598012,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdef6a60"} 
[2026-08-01 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-08-01 21:01: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-08-01 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":151,"data_length":795,"current_offset":136} 
[2026-08-01 21:01: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-08-01 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-08-01 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-08-01 21:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":146260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":146260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":146260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113014016001,"66":25191,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113014016001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:01:59] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:01:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113014016001,"power":25191,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":146260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:01:59] local.INFO: GPS data processed {"connection_id":146260,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:01:59] local.INFO: Acknowledgment sent {"connection_id":146260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:01:59] local.INFO: TCP Data received {"connection_id":146499,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:01:59] local.INFO: Processing buffer {"connection_id":146499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:01:59] local.INFO: IMEI packet received {"connection_id":146499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":146499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:02:04] local.INFO: TCP Data received {"connection_id":146499,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:02:04] local.INFO: Processing buffer {"connection_id":146499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:02:04] local.INFO: IMEI packet received {"connection_id":146499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":146499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:02:05] local.INFO: TCP Data received {"connection_id":146499,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdf13368012d196580071fefa0003b015125..."} 
[2026-08-01 21:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdf13368012d196580071fefa0003b015125..."} 
[2026-08-01 21:02:05] local.INFO: Processing buffer {"connection_id":146499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdf13368012d196580071fefa0003b015125..."} 
[2026-08-01 21:02:05] local.INFO: Packet analysis {"connection_id":146499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdf1"} 
[2026-08-01 21:02:05] local.INFO: Extracted packet for processing {"connection_id":146499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdf1"} 
[2026-08-01 21:02:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113043968001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785598129000,"timestamp_ms":1785598129000,"timestamp_seconds":1785598129,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdf13368"} 
[2026-08-01 21:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:02: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-08-01 21:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 21:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:02:05] 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-08-01 21:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113043968001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113043968001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:02:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:02:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113043968001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":146499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:02:05] local.INFO: GPS data processed {"connection_id":146499,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:02:05] local.INFO: Acknowledgment sent {"connection_id":146499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:02:36] local.INFO: TCP Data received {"connection_id":146499,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdf13368012d196580071fefa0003b015125..."} 
[2026-08-01 21:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdf13368012d196580071fefa0003b015125..."} 
[2026-08-01 21:02:36] local.INFO: Processing buffer {"connection_id":146499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdf13368012d196580071fefa0003b015125..."} 
[2026-08-01 21:02:36] local.INFO: Packet analysis {"connection_id":146499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdf1"} 
[2026-08-01 21:02:36] local.INFO: Extracted packet for processing {"connection_id":146499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdf1"} 
[2026-08-01 21:02:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113043968001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785598129000,"timestamp_ms":1785598129000,"timestamp_seconds":1785598129,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdf13368"} 
[2026-08-01 21:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:02:36] 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-08-01 21:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 21:02:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:02:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:02:36] 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-08-01 21:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113043968001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113043968001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:02:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:02:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113043968001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":146499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:02:36] local.INFO: GPS data processed {"connection_id":146499,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:02:36] local.INFO: Acknowledgment sent {"connection_id":146499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:02:43] local.INFO: TCP Data received {"connection_id":146500,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:02:43] local.INFO: Processing buffer {"connection_id":146500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:02:43] local.INFO: IMEI packet received {"connection_id":146500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 21:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":146500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:02:48] local.INFO: TCP Data received {"connection_id":146500,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:02:48] local.INFO: Processing buffer {"connection_id":146500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:02:48] local.INFO: IMEI packet received {"connection_id":146500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":146500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:02:50] local.INFO: TCP Data received {"connection_id":146500,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdf40228012cc1de80075730400011009028..."} 
[2026-08-01 21:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdf40228012cc1de80075730400011009028..."} 
[2026-08-01 21:02:50] local.INFO: Processing buffer {"connection_id":146500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdf40228012cc1de80075730400011009028..."} 
[2026-08-01 21:02:50] local.INFO: Packet analysis {"connection_id":146500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdf4"} 
[2026-08-01 21:02:50] local.INFO: Extracted packet for processing {"connection_id":146500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdf4"} 
[2026-08-01 21:02:50] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":17,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:02:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113091072001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:02:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:02:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:02:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:02:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785598313000,"timestamp_ms":1785598313000,"timestamp_seconds":1785598313,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdf40228"} 
[2026-08-01 21:02:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:02:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-01 21:02:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:02:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:02:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:02:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:02:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:02:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:02:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:02:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:02:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:02:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113091072001,"66":25288,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:02:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:02:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:02:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113091072001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:02:50] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:02:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:02:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:02:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113091072001,"power":25288,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:02:50] local.INFO: DEBUG: GPS processor result {"connection_id":146500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:02:50] local.INFO: GPS data processed {"connection_id":146500,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:02:50] local.INFO: Acknowledgment sent {"connection_id":146500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:02:59] local.INFO: TCP Data received {"connection_id":146261,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146261,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:02:59] local.INFO: Processing buffer {"connection_id":146261,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:02:59] local.INFO: IMEI packet received {"connection_id":146261,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":146261,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:03:04] local.INFO: TCP Data received {"connection_id":146261,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146261,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:03:04] local.INFO: Processing buffer {"connection_id":146261,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:03:04] local.INFO: IMEI packet received {"connection_id":146261,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":146261,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:03:05] local.INFO: TCP Data received {"connection_id":146261,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdf13368012d196580071fefa0003b015125..."} 
[2026-08-01 21:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdf13368012d196580071fefa0003b015125..."} 
[2026-08-01 21:03:05] local.INFO: Processing buffer {"connection_id":146261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdf13368012d196580071fefa0003b015125..."} 
[2026-08-01 21:03:05] local.INFO: Packet analysis {"connection_id":146261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdf1"} 
[2026-08-01 21:03:05] local.INFO: Extracted packet for processing {"connection_id":146261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdf1"} 
[2026-08-01 21:03:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113043968001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785598129000,"timestamp_ms":1785598129000,"timestamp_seconds":1785598129,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdf13368"} 
[2026-08-01 21:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:03: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-08-01 21:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 21:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:03:05] 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-08-01 21:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113043968001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113043968001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:03:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:03:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113043968001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":146261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:03:05] local.INFO: GPS data processed {"connection_id":146261,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:03:05] local.INFO: Acknowledgment sent {"connection_id":146261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:03:21] local.INFO: TCP Data received {"connection_id":146500,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdf40228012cc1de80075730400011009028..."} 
[2026-08-01 21:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdf40228012cc1de80075730400011009028..."} 
[2026-08-01 21:03:21] local.INFO: Processing buffer {"connection_id":146500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdf40228012cc1de80075730400011009028..."} 
[2026-08-01 21:03:21] local.INFO: Packet analysis {"connection_id":146500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdf4"} 
[2026-08-01 21:03:21] local.INFO: Extracted packet for processing {"connection_id":146500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdf4"} 
[2026-08-01 21:03:21] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":17,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113091072001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:03:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:03:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785598313000,"timestamp_ms":1785598313000,"timestamp_seconds":1785598313,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdf40228"} 
[2026-08-01 21:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:03:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-01 21:03:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:03:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:03:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113091072001,"66":25288,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113091072001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:03:21] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:03:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113091072001,"power":25288,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":146500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:03:21] local.INFO: GPS data processed {"connection_id":146500,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:03:21] local.INFO: Acknowledgment sent {"connection_id":146500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:03:36] local.INFO: TCP Data received {"connection_id":146261,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdf13368012d196580071fefa0003b015125..."} 
[2026-08-01 21:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdf13368012d196580071fefa0003b015125..."} 
[2026-08-01 21:03:36] local.INFO: Processing buffer {"connection_id":146261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdf13368012d196580071fefa0003b015125..."} 
[2026-08-01 21:03:36] local.INFO: Packet analysis {"connection_id":146261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdf1"} 
[2026-08-01 21:03:36] local.INFO: Extracted packet for processing {"connection_id":146261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdf1"} 
[2026-08-01 21:03:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113043968001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785598129000,"timestamp_ms":1785598129000,"timestamp_seconds":1785598129,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdf13368"} 
[2026-08-01 21:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:03:36] 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-08-01 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 21:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:03:36] 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-08-01 21:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113043968001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113043968001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:03:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:03:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113043968001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":146261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:03:36] local.INFO: GPS data processed {"connection_id":146261,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:03:36] local.INFO: Acknowledgment sent {"connection_id":146261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:03:43] local.INFO: TCP Data received {"connection_id":146262,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:03:43] local.INFO: Processing buffer {"connection_id":146262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:03:43] local.INFO: IMEI packet received {"connection_id":146262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 21:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":146262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:03:48] local.INFO: TCP Data received {"connection_id":146262,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:03:48] local.INFO: Processing buffer {"connection_id":146262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:03:48] local.INFO: IMEI packet received {"connection_id":146262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":146262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:03:50] local.INFO: TCP Data received {"connection_id":146262,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdf40228012cc1de80075730400011009028..."} 
[2026-08-01 21:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdf40228012cc1de80075730400011009028..."} 
[2026-08-01 21:03:50] local.INFO: Processing buffer {"connection_id":146262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdf40228012cc1de80075730400011009028..."} 
[2026-08-01 21:03:50] local.INFO: Packet analysis {"connection_id":146262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdf4"} 
[2026-08-01 21:03:50] local.INFO: Extracted packet for processing {"connection_id":146262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdf4"} 
[2026-08-01 21:03:50] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":17,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113091072001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:03:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:03:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:03:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:03:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785598313000,"timestamp_ms":1785598313000,"timestamp_seconds":1785598313,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdf40228"} 
[2026-08-01 21:03:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:03:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-01 21:03:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:03:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:03:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:03:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:03:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:03:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:03:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:03:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:03:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:03:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:03:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113091072001,"66":25288,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:03:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:03:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:03:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113091072001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:03:50] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:03:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:03:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:03:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113091072001,"power":25288,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":146262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:03:50] local.INFO: GPS data processed {"connection_id":146262,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:03:50] local.INFO: Acknowledgment sent {"connection_id":146262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:03:59] local.INFO: TCP Data received {"connection_id":146501,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:03:59] local.INFO: Processing buffer {"connection_id":146501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:03:59] local.INFO: IMEI packet received {"connection_id":146501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":146501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:04:04] local.INFO: TCP Data received {"connection_id":146501,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:04:04] local.INFO: Processing buffer {"connection_id":146501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:04:04] local.INFO: IMEI packet received {"connection_id":146501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":146501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:04:05] local.INFO: TCP Data received {"connection_id":146501,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdf13368012d196580071fefa0003b015125..."} 
[2026-08-01 21:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdf13368012d196580071fefa0003b015125..."} 
[2026-08-01 21:04:05] local.INFO: Processing buffer {"connection_id":146501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdf13368012d196580071fefa0003b015125..."} 
[2026-08-01 21:04:05] local.INFO: Packet analysis {"connection_id":146501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdf1"} 
[2026-08-01 21:04:05] local.INFO: Extracted packet for processing {"connection_id":146501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdf1"} 
[2026-08-01 21:04:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113043968001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785598129000,"timestamp_ms":1785598129000,"timestamp_seconds":1785598129,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdf13368"} 
[2026-08-01 21:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:04: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-08-01 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 21:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:04:05] 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-08-01 21:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113043968001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113043968001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:04:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:04:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113043968001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":146501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:04:05] local.INFO: GPS data processed {"connection_id":146501,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:04:05] local.INFO: Acknowledgment sent {"connection_id":146501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:04:21] local.INFO: TCP Data received {"connection_id":146262,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdf40228012cc1de80075730400011009028..."} 
[2026-08-01 21:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdf40228012cc1de80075730400011009028..."} 
[2026-08-01 21:04:21] local.INFO: Processing buffer {"connection_id":146262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdf40228012cc1de80075730400011009028..."} 
[2026-08-01 21:04:21] local.INFO: Packet analysis {"connection_id":146262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdf4"} 
[2026-08-01 21:04:21] local.INFO: Extracted packet for processing {"connection_id":146262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdf4"} 
[2026-08-01 21:04:21] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":17,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113091072001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:04:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:04:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785598313000,"timestamp_ms":1785598313000,"timestamp_seconds":1785598313,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdf40228"} 
[2026-08-01 21:04:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:04:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-01 21:04:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:04:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:04:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:04:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113091072001,"66":25288,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113091072001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:04:21] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:04:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113091072001,"power":25288,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":146262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:04:21] local.INFO: GPS data processed {"connection_id":146262,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:04:21] local.INFO: Acknowledgment sent {"connection_id":146262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:04:36] local.INFO: TCP Data received {"connection_id":146501,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdf5cb30012d196580071fefa0003b015123..."} 
[2026-08-01 21:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdf5cb30012d196580071fefa0003b015123..."} 
[2026-08-01 21:04:36] local.INFO: Processing buffer {"connection_id":146501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdf5cb30012d196580071fefa0003b015123..."} 
[2026-08-01 21:04:36] local.INFO: Packet analysis {"connection_id":146501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdf5"} 
[2026-08-01 21:04:36] local.INFO: Extracted packet for processing {"connection_id":146501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdf5"} 
[2026-08-01 21:04:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113121024001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785598430000,"timestamp_ms":1785598430000,"timestamp_seconds":1785598430,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdf5cb30"} 
[2026-08-01 21:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:04:36] 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-08-01 21:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 21:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:04:36] 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-08-01 21:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113121024001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113121024001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:04:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:04:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113121024001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":146501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:04:36] local.INFO: GPS data processed {"connection_id":146501,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:04:36] local.INFO: Acknowledgment sent {"connection_id":146501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:04:43] local.INFO: TCP Data received {"connection_id":148802,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:04:43] local.INFO: Processing buffer {"connection_id":148802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:04:43] local.INFO: IMEI packet received {"connection_id":148802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 21:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":148802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:04:48] local.INFO: TCP Data received {"connection_id":148802,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:04:48] local.INFO: Processing buffer {"connection_id":148802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:04:48] local.INFO: IMEI packet received {"connection_id":148802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":148802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:04:50] local.INFO: TCP Data received {"connection_id":148802,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdf40228012cc1de80075730400011009028..."} 
[2026-08-01 21:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdf40228012cc1de80075730400011009028..."} 
[2026-08-01 21:04:50] local.INFO: Processing buffer {"connection_id":148802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdf40228012cc1de80075730400011009028..."} 
[2026-08-01 21:04:50] local.INFO: Packet analysis {"connection_id":148802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdf4"} 
[2026-08-01 21:04:50] local.INFO: Extracted packet for processing {"connection_id":148802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdf4"} 
[2026-08-01 21:04:50] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":17,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113091072001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:04:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785598313000,"timestamp_ms":1785598313000,"timestamp_seconds":1785598313,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdf40228"} 
[2026-08-01 21:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:04:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-01 21:04:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:04:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113091072001,"66":25288,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113091072001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:04:50] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:04:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113091072001,"power":25288,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":148802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:04:50] local.INFO: GPS data processed {"connection_id":148802,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:04:50] local.INFO: Acknowledgment sent {"connection_id":148802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:04:59] local.INFO: TCP Data received {"connection_id":147492,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:04:59] local.INFO: Processing buffer {"connection_id":147492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:04:59] local.INFO: IMEI packet received {"connection_id":147492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":147492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:05:04] local.INFO: TCP Data received {"connection_id":147492,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:05:04] local.INFO: Processing buffer {"connection_id":147492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:05:04] local.INFO: IMEI packet received {"connection_id":147492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":147492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:05:05] local.INFO: TCP Data received {"connection_id":147492,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdf5cb30012d196580071fefa0003b015123..."} 
[2026-08-01 21:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdf5cb30012d196580071fefa0003b015123..."} 
[2026-08-01 21:05:05] local.INFO: Processing buffer {"connection_id":147492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdf5cb30012d196580071fefa0003b015123..."} 
[2026-08-01 21:05:05] local.INFO: Packet analysis {"connection_id":147492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdf5"} 
[2026-08-01 21:05:05] local.INFO: Extracted packet for processing {"connection_id":147492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdf5"} 
[2026-08-01 21:05:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113121024001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785598430000,"timestamp_ms":1785598430000,"timestamp_seconds":1785598430,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdf5cb30"} 
[2026-08-01 21:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:05: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-08-01 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 21:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:05:05] 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-08-01 21:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113121024001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113121024001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:05:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:05:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113121024001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":147492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:05:05] local.INFO: GPS data processed {"connection_id":147492,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:05:05] local.INFO: Acknowledgment sent {"connection_id":147492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:05:21] local.INFO: TCP Data received {"connection_id":148802,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdf40228012cc1de80075730400011009028..."} 
[2026-08-01 21:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdf40228012cc1de80075730400011009028..."} 
[2026-08-01 21:05:21] local.INFO: Processing buffer {"connection_id":148802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdf40228012cc1de80075730400011009028..."} 
[2026-08-01 21:05:21] local.INFO: Packet analysis {"connection_id":148802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdf4"} 
[2026-08-01 21:05:21] local.INFO: Extracted packet for processing {"connection_id":148802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdf4"} 
[2026-08-01 21:05:21] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":17,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113091072001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:05:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785598313000,"timestamp_ms":1785598313000,"timestamp_seconds":1785598313,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdf40228"} 
[2026-08-01 21:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:05:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-01 21:05:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:05:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:05:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113091072001,"66":25288,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113091072001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:05:21] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:05:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113091072001,"power":25288,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":148802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:05:21] local.INFO: GPS data processed {"connection_id":148802,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:05:21] local.INFO: Acknowledgment sent {"connection_id":148802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:05:36] local.INFO: TCP Data received {"connection_id":147492,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdf5cb30012d196580071fefa0003b015123..."} 
[2026-08-01 21:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdf5cb30012d196580071fefa0003b015123..."} 
[2026-08-01 21:05:36] local.INFO: Processing buffer {"connection_id":147492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdf5cb30012d196580071fefa0003b015123..."} 
[2026-08-01 21:05:36] local.INFO: Packet analysis {"connection_id":147492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdf5"} 
[2026-08-01 21:05:36] local.INFO: Extracted packet for processing {"connection_id":147492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdf5"} 
[2026-08-01 21:05:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113121024001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785598430000,"timestamp_ms":1785598430000,"timestamp_seconds":1785598430,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdf5cb30"} 
[2026-08-01 21:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:05:36] 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-08-01 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 21:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:05:36] 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-08-01 21:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113121024001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113121024001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:05:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:05:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113121024001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":147492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:05:36] local.INFO: GPS data processed {"connection_id":147492,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:05:36] local.INFO: Acknowledgment sent {"connection_id":147492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:05:43] local.INFO: TCP Data received {"connection_id":146263,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:05:43] local.INFO: Processing buffer {"connection_id":146263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:05:43] local.INFO: IMEI packet received {"connection_id":146263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 21:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":146263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:05:48] local.INFO: TCP Data received {"connection_id":146263,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:05:48] local.INFO: Processing buffer {"connection_id":146263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:05:48] local.INFO: IMEI packet received {"connection_id":146263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":146263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:05:50] local.INFO: TCP Data received {"connection_id":146263,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdf40228012cc1de80075730400011009028..."} 
[2026-08-01 21:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdf40228012cc1de80075730400011009028..."} 
[2026-08-01 21:05:50] local.INFO: Processing buffer {"connection_id":146263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdf40228012cc1de80075730400011009028..."} 
[2026-08-01 21:05:50] local.INFO: Packet analysis {"connection_id":146263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdf4"} 
[2026-08-01 21:05:50] local.INFO: Extracted packet for processing {"connection_id":146263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdf4"} 
[2026-08-01 21:05:50] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":17,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113091072001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:05:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:05:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:05:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:05:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785598313000,"timestamp_ms":1785598313000,"timestamp_seconds":1785598313,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdf40228"} 
[2026-08-01 21:05:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:05:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-01 21:05:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:05:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:05:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:05:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:05:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:05:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:05:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:05:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:05:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:05:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:05:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113091072001,"66":25288,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:05:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:05:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:05:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113091072001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:05:50] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:05:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:05:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:05:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113091072001,"power":25288,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:05:50] local.INFO: DEBUG: GPS processor result {"connection_id":146263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:05:50] local.INFO: GPS data processed {"connection_id":146263,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:05:50] local.INFO: Acknowledgment sent {"connection_id":146263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:05:59] local.INFO: TCP Data received {"connection_id":148803,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:05:59] local.INFO: Processing buffer {"connection_id":148803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:05:59] local.INFO: IMEI packet received {"connection_id":148803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":148803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:06:04] local.INFO: TCP Data received {"connection_id":148803,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:06:04] local.INFO: Processing buffer {"connection_id":148803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:06:04] local.INFO: IMEI packet received {"connection_id":148803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":148803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:06:05] local.INFO: TCP Data received {"connection_id":148803,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdf5cb30012d196580071fefa0003b015123..."} 
[2026-08-01 21:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdf5cb30012d196580071fefa0003b015123..."} 
[2026-08-01 21:06:05] local.INFO: Processing buffer {"connection_id":148803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdf5cb30012d196580071fefa0003b015123..."} 
[2026-08-01 21:06:05] local.INFO: Packet analysis {"connection_id":148803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdf5"} 
[2026-08-01 21:06:05] local.INFO: Extracted packet for processing {"connection_id":148803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdf5"} 
[2026-08-01 21:06:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113121024001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785598430000,"timestamp_ms":1785598430000,"timestamp_seconds":1785598430,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdf5cb30"} 
[2026-08-01 21:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:06: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-08-01 21:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 21:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:06:05] 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-08-01 21:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113121024001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113121024001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:06:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:06:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113121024001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":148803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:06:05] local.INFO: GPS data processed {"connection_id":148803,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:06:05] local.INFO: Acknowledgment sent {"connection_id":148803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:06:21] local.INFO: TCP Data received {"connection_id":146263,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdf40228012cc1de80075730400011009028..."} 
[2026-08-01 21:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdf40228012cc1de80075730400011009028..."} 
[2026-08-01 21:06:21] local.INFO: Processing buffer {"connection_id":146263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdf40228012cc1de80075730400011009028..."} 
[2026-08-01 21:06:21] local.INFO: Packet analysis {"connection_id":146263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdf4"} 
[2026-08-01 21:06:21] local.INFO: Extracted packet for processing {"connection_id":146263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdf4"} 
[2026-08-01 21:06:21] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":17,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113091072001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:06:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785598313000,"timestamp_ms":1785598313000,"timestamp_seconds":1785598313,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdf40228"} 
[2026-08-01 21:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:06:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-01 21:06:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:06:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:06:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113091072001,"66":25288,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113091072001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:06:21] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:06:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113091072001,"power":25288,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":146263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:06:21] local.INFO: GPS data processed {"connection_id":146263,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:06:21] local.INFO: Acknowledgment sent {"connection_id":146263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:06:36] local.INFO: TCP Data received {"connection_id":148803,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdf5cb30012d196580071fefa0003b015123..."} 
[2026-08-01 21:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdf5cb30012d196580071fefa0003b015123..."} 
[2026-08-01 21:06:36] local.INFO: Processing buffer {"connection_id":148803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdf5cb30012d196580071fefa0003b015123..."} 
[2026-08-01 21:06:36] local.INFO: Packet analysis {"connection_id":148803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdf5"} 
[2026-08-01 21:06:36] local.INFO: Extracted packet for processing {"connection_id":148803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdf5"} 
[2026-08-01 21:06:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113121024001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785598430000,"timestamp_ms":1785598430000,"timestamp_seconds":1785598430,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdf5cb30"} 
[2026-08-01 21:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:06:36] 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-08-01 21:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 21:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:06:36] 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-08-01 21:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113121024001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113121024001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:06:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:06:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113121024001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":148803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:06:36] local.INFO: GPS data processed {"connection_id":148803,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:06:36] local.INFO: Acknowledgment sent {"connection_id":148803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:06:48] local.INFO: TCP Data received {"connection_id":148804,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:06:48] local.INFO: Processing buffer {"connection_id":148804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:06:48] local.INFO: IMEI packet received {"connection_id":148804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 21:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":148804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:06:53] local.INFO: TCP Data received {"connection_id":148804,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:06:53] local.INFO: Processing buffer {"connection_id":148804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:06:53] local.INFO: IMEI packet received {"connection_id":148804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":148804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:06:55] local.INFO: TCP Data received {"connection_id":148804,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdf40228012cc1de80075730400011009028..."} 
[2026-08-01 21:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdf40228012cc1de80075730400011009028..."} 
[2026-08-01 21:06:55] local.INFO: Processing buffer {"connection_id":148804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdf40228012cc1de80075730400011009028..."} 
[2026-08-01 21:06:55] local.INFO: Packet analysis {"connection_id":148804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdf4"} 
[2026-08-01 21:06:55] local.INFO: Extracted packet for processing {"connection_id":148804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdf4"} 
[2026-08-01 21:06:55] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":17,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113091072001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:06:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:06:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785598313000,"timestamp_ms":1785598313000,"timestamp_seconds":1785598313,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdf40228"} 
[2026-08-01 21:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:06:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-01 21:06:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:06:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:06:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113091072001,"66":25288,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113091072001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:06:55] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:06:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113091072001,"power":25288,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":148804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:06:55] local.INFO: GPS data processed {"connection_id":148804,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:06:55] local.INFO: Acknowledgment sent {"connection_id":148804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:06:59] local.INFO: TCP Data received {"connection_id":146264,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146264,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:06:59] local.INFO: Processing buffer {"connection_id":146264,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:06:59] local.INFO: IMEI packet received {"connection_id":146264,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":146264,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:07:04] local.INFO: TCP Data received {"connection_id":146264,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146264,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:07:04] local.INFO: Processing buffer {"connection_id":146264,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:07:04] local.INFO: IMEI packet received {"connection_id":146264,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":146264,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:07:05] local.INFO: TCP Data received {"connection_id":146264,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdf5cb30012d196580071fefa0003b015123..."} 
[2026-08-01 21:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdf5cb30012d196580071fefa0003b015123..."} 
[2026-08-01 21:07:05] local.INFO: Processing buffer {"connection_id":146264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdf5cb30012d196580071fefa0003b015123..."} 
[2026-08-01 21:07:05] local.INFO: Packet analysis {"connection_id":146264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdf5"} 
[2026-08-01 21:07:05] local.INFO: Extracted packet for processing {"connection_id":146264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdf5"} 
[2026-08-01 21:07:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113121024001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785598430000,"timestamp_ms":1785598430000,"timestamp_seconds":1785598430,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdf5cb30"} 
[2026-08-01 21:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:07: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-08-01 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 21:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:07:05] 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-08-01 21:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113121024001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113121024001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:07:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:07:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113121024001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":146264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:07:05] local.INFO: GPS data processed {"connection_id":146264,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:07:05] local.INFO: Acknowledgment sent {"connection_id":146264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:07:26] local.INFO: TCP Data received {"connection_id":148804,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdf40228012cc1de80075730400011009028..."} 
[2026-08-01 21:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdf40228012cc1de80075730400011009028..."} 
[2026-08-01 21:07:26] local.INFO: Processing buffer {"connection_id":148804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdf40228012cc1de80075730400011009028..."} 
[2026-08-01 21:07:26] local.INFO: Packet analysis {"connection_id":148804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdf4"} 
[2026-08-01 21:07:26] local.INFO: Extracted packet for processing {"connection_id":148804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdf4"} 
[2026-08-01 21:07:26] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":17,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113091072001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:07:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:07:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785598313000,"timestamp_ms":1785598313000,"timestamp_seconds":1785598313,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdf40228"} 
[2026-08-01 21:07:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:07:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-01 21:07:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:07:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:07:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113091072001,"66":25288,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113091072001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:07:26] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:07:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113091072001,"power":25288,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":148804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:07:26] local.INFO: GPS data processed {"connection_id":148804,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:07:26] local.INFO: Acknowledgment sent {"connection_id":148804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:07:36] local.INFO: TCP Data received {"connection_id":146264,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdf5cb30012d196580071fefa0003b015123..."} 
[2026-08-01 21:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdf5cb30012d196580071fefa0003b015123..."} 
[2026-08-01 21:07:36] local.INFO: Processing buffer {"connection_id":146264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdf5cb30012d196580071fefa0003b015123..."} 
[2026-08-01 21:07:36] local.INFO: Packet analysis {"connection_id":146264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdf5"} 
[2026-08-01 21:07:36] local.INFO: Extracted packet for processing {"connection_id":146264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdf5"} 
[2026-08-01 21:07:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113121024001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785598430000,"timestamp_ms":1785598430000,"timestamp_seconds":1785598430,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdf5cb30"} 
[2026-08-01 21:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:07:36] 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-08-01 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 21:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:07:36] 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-08-01 21:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113121024001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113121024001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:07:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:07:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113121024001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":146264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579237,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:07:36] local.INFO: GPS data processed {"connection_id":146264,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:07:36] local.INFO: Acknowledgment sent {"connection_id":146264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:07:43] local.INFO: TCP Data received {"connection_id":148805,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:07:43] local.INFO: Processing buffer {"connection_id":148805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:07:43] local.INFO: IMEI packet received {"connection_id":148805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 21:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":148805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:07:48] local.INFO: TCP Data received {"connection_id":148805,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:07:48] local.INFO: Processing buffer {"connection_id":148805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:07:48] local.INFO: IMEI packet received {"connection_id":148805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":148805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:07:50] local.INFO: TCP Data received {"connection_id":148805,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdf899f0012cc1de8007573040000e009028..."} 
[2026-08-01 21:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdf899f0012cc1de8007573040000e009028..."} 
[2026-08-01 21:07:50] local.INFO: Processing buffer {"connection_id":148805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdf899f0012cc1de8007573040000e009028..."} 
[2026-08-01 21:07:50] local.INFO: Packet analysis {"connection_id":148805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdf8"} 
[2026-08-01 21:07:50] local.INFO: Extracted packet for processing {"connection_id":148805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdf8"} 
[2026-08-01 21:07:50] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":14,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:07:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113168128001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:07:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:07:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:07:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:07:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785598614000,"timestamp_ms":1785598614000,"timestamp_seconds":1785598614,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdf899f0"} 
[2026-08-01 21:07:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:07:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-01 21:07:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:07:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:07:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:07:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:07:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:07:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:07:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:07:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:07:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:07:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:07:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113168128001,"66":25299,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:07:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:07:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:07:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113168128001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:07:50] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:07:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:07:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:07:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113168128001,"power":25299,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:07:50] local.INFO: DEBUG: GPS processor result {"connection_id":148805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:07:50] local.INFO: GPS data processed {"connection_id":148805,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:07:50] local.INFO: Acknowledgment sent {"connection_id":148805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:08:00] local.INFO: TCP Data received {"connection_id":146265,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:08:00] local.INFO: Processing buffer {"connection_id":146265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:08:00] local.INFO: IMEI packet received {"connection_id":146265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":146265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:08:04] local.INFO: TCP Data received {"connection_id":146265,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:08:04] local.INFO: Processing buffer {"connection_id":146265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:08:04] local.INFO: IMEI packet received {"connection_id":146265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":146265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:08:05] local.INFO: TCP Data received {"connection_id":146265,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdf5cb30012d196580071fefa0003b015123..."} 
[2026-08-01 21:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdf5cb30012d196580071fefa0003b015123..."} 
[2026-08-01 21:08:05] local.INFO: Processing buffer {"connection_id":146265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdf5cb30012d196580071fefa0003b015123..."} 
[2026-08-01 21:08:05] local.INFO: Packet analysis {"connection_id":146265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdf5"} 
[2026-08-01 21:08:05] local.INFO: Extracted packet for processing {"connection_id":146265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdf5"} 
[2026-08-01 21:08:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113121024001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785598430000,"timestamp_ms":1785598430000,"timestamp_seconds":1785598430,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdf5cb30"} 
[2026-08-01 21:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:08: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-08-01 21:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 21:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:08:05] 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-08-01 21:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113121024001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113121024001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:08:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:08:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113121024001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":146265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:08:05] local.INFO: GPS data processed {"connection_id":146265,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:08:05] local.INFO: Acknowledgment sent {"connection_id":146265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:08:21] local.INFO: TCP Data received {"connection_id":148805,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdf899f0012cc1de8007573040000e009028..."} 
[2026-08-01 21:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdf899f0012cc1de8007573040000e009028..."} 
[2026-08-01 21:08:21] local.INFO: Processing buffer {"connection_id":148805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdf899f0012cc1de8007573040000e009028..."} 
[2026-08-01 21:08:21] local.INFO: Packet analysis {"connection_id":148805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdf8"} 
[2026-08-01 21:08:21] local.INFO: Extracted packet for processing {"connection_id":148805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdf8"} 
[2026-08-01 21:08:21] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":14,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113168128001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:08:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:08:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785598614000,"timestamp_ms":1785598614000,"timestamp_seconds":1785598614,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdf899f0"} 
[2026-08-01 21:08:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:08:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-01 21:08:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:08:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:08:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:08:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113168128001,"66":25299,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113168128001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:08:21] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:08:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113168128001,"power":25299,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":148805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:08:21] local.INFO: GPS data processed {"connection_id":148805,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:08:21] local.INFO: Acknowledgment sent {"connection_id":148805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:08:36] local.INFO: TCP Data received {"connection_id":146265,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdf5cb30012d196580071fefa0003b015123..."} 
[2026-08-01 21:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdf5cb30012d196580071fefa0003b015123..."} 
[2026-08-01 21:08:36] local.INFO: Processing buffer {"connection_id":146265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdf5cb30012d196580071fefa0003b015123..."} 
[2026-08-01 21:08:36] local.INFO: Packet analysis {"connection_id":146265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdf5"} 
[2026-08-01 21:08:36] local.INFO: Extracted packet for processing {"connection_id":146265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdf5"} 
[2026-08-01 21:08:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113121024001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785598430000,"timestamp_ms":1785598430000,"timestamp_seconds":1785598430,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdf5cb30"} 
[2026-08-01 21:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:08:36] 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-08-01 21:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 21:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:08:36] 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-08-01 21:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113121024001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113121024001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:08:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:08:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113121024001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":146265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:08:36] local.INFO: GPS data processed {"connection_id":146265,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:08:36] local.INFO: Acknowledgment sent {"connection_id":146265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:08:43] local.INFO: TCP Data received {"connection_id":146266,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:08:43] local.INFO: Processing buffer {"connection_id":146266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:08:43] local.INFO: IMEI packet received {"connection_id":146266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 21:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":146266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:08:48] local.INFO: TCP Data received {"connection_id":146266,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:08:48] local.INFO: Processing buffer {"connection_id":146266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:08:48] local.INFO: IMEI packet received {"connection_id":146266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":146266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:08:50] local.INFO: TCP Data received {"connection_id":146266,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdf899f0012cc1de8007573040000e009028..."} 
[2026-08-01 21:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdf899f0012cc1de8007573040000e009028..."} 
[2026-08-01 21:08:50] local.INFO: Processing buffer {"connection_id":146266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdf899f0012cc1de8007573040000e009028..."} 
[2026-08-01 21:08:50] local.INFO: Packet analysis {"connection_id":146266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdf8"} 
[2026-08-01 21:08:50] local.INFO: Extracted packet for processing {"connection_id":146266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdf8"} 
[2026-08-01 21:08:50] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":14,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:08:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113168128001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:08:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:08:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:08:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:08:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785598614000,"timestamp_ms":1785598614000,"timestamp_seconds":1785598614,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdf899f0"} 
[2026-08-01 21:08:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:08:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-01 21:08:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:08:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:08:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:08:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:08:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:08:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:08:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:08:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:08:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:08:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:08:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113168128001,"66":25299,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:08:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:08:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:08:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113168128001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:08:50] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:08:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:08:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:08:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113168128001,"power":25299,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:08:50] local.INFO: DEBUG: GPS processor result {"connection_id":146266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:08:50] local.INFO: GPS data processed {"connection_id":146266,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:08:50] local.INFO: Acknowledgment sent {"connection_id":146266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:08:59] local.INFO: TCP Data received {"connection_id":147493,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:08:59] local.INFO: Processing buffer {"connection_id":147493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:08:59] local.INFO: IMEI packet received {"connection_id":147493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":147493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:09:04] local.INFO: TCP Data received {"connection_id":147493,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:09:04] local.INFO: Processing buffer {"connection_id":147493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:09:04] local.INFO: IMEI packet received {"connection_id":147493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":147493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:09:05] local.INFO: TCP Data received {"connection_id":147493,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdf5cb30012d196580071fefa0003b015123..."} 
[2026-08-01 21:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdf5cb30012d196580071fefa0003b015123..."} 
[2026-08-01 21:09:05] local.INFO: Processing buffer {"connection_id":147493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdf5cb30012d196580071fefa0003b015123..."} 
[2026-08-01 21:09:05] local.INFO: Packet analysis {"connection_id":147493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdf5"} 
[2026-08-01 21:09:05] local.INFO: Extracted packet for processing {"connection_id":147493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdf5"} 
[2026-08-01 21:09:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113121024001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785598430000,"timestamp_ms":1785598430000,"timestamp_seconds":1785598430,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdf5cb30"} 
[2026-08-01 21:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:09: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-08-01 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 21:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:09: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-08-01 21:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113121024001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113121024001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:09:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:09:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113121024001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":147493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579243,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:09:05] local.INFO: GPS data processed {"connection_id":147493,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:09:05] local.INFO: Acknowledgment sent {"connection_id":147493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:09:21] local.INFO: TCP Data received {"connection_id":146266,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdf899f0012cc1de8007573040000e009028..."} 
[2026-08-01 21:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdf899f0012cc1de8007573040000e009028..."} 
[2026-08-01 21:09:21] local.INFO: Processing buffer {"connection_id":146266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdf899f0012cc1de8007573040000e009028..."} 
[2026-08-01 21:09:21] local.INFO: Packet analysis {"connection_id":146266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdf8"} 
[2026-08-01 21:09:21] local.INFO: Extracted packet for processing {"connection_id":146266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdf8"} 
[2026-08-01 21:09:21] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":14,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113168128001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:09:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:09:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785598614000,"timestamp_ms":1785598614000,"timestamp_seconds":1785598614,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdf899f0"} 
[2026-08-01 21:09:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:09:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-01 21:09:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:09:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:09:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:09:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113168128001,"66":25299,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113168128001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:09:21] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:09:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113168128001,"power":25299,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":146266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:09:21] local.INFO: GPS data processed {"connection_id":146266,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:09:21] local.INFO: Acknowledgment sent {"connection_id":146266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:09:36] local.INFO: TCP Data received {"connection_id":147493,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdfa62f8012d196580071fefa0003b015125..."} 
[2026-08-01 21:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdfa62f8012d196580071fefa0003b015125..."} 
[2026-08-01 21:09:36] local.INFO: Processing buffer {"connection_id":147493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdfa62f8012d196580071fefa0003b015125..."} 
[2026-08-01 21:09:36] local.INFO: Packet analysis {"connection_id":147493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdfa"} 
[2026-08-01 21:09:36] local.INFO: Extracted packet for processing {"connection_id":147493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdfa"} 
[2026-08-01 21:09:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113198080001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785598731000,"timestamp_ms":1785598731000,"timestamp_seconds":1785598731,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdfa62f8"} 
[2026-08-01 21:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:09:36] 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-08-01 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 21:09:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:09: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-08-01 21:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113198080001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113198080001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:09:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:09:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113198080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":147493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:09:36] local.INFO: GPS data processed {"connection_id":147493,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:09:36] local.INFO: Acknowledgment sent {"connection_id":147493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:09:43] local.INFO: TCP Data received {"connection_id":146502,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:09:43] local.INFO: Processing buffer {"connection_id":146502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:09:43] local.INFO: IMEI packet received {"connection_id":146502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 21:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":146502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:09:48] local.INFO: TCP Data received {"connection_id":146502,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:09:48] local.INFO: Processing buffer {"connection_id":146502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:09:48] local.INFO: IMEI packet received {"connection_id":146502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":146502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:09:50] local.INFO: TCP Data received {"connection_id":146502,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdf899f0012cc1de8007573040000e009028..."} 
[2026-08-01 21:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdf899f0012cc1de8007573040000e009028..."} 
[2026-08-01 21:09:50] local.INFO: Processing buffer {"connection_id":146502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdf899f0012cc1de8007573040000e009028..."} 
[2026-08-01 21:09:50] local.INFO: Packet analysis {"connection_id":146502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdf8"} 
[2026-08-01 21:09:50] local.INFO: Extracted packet for processing {"connection_id":146502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdf8"} 
[2026-08-01 21:09:50] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":14,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113168128001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:09:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:09:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:09:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785598614000,"timestamp_ms":1785598614000,"timestamp_seconds":1785598614,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdf899f0"} 
[2026-08-01 21:09:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:09:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-01 21:09:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:09:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:09:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:09:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:09:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:09:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113168128001,"66":25299,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:09:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:09:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:09:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113168128001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:09:50] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:09:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:09:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:09:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113168128001,"power":25299,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:09:50] local.INFO: DEBUG: GPS processor result {"connection_id":146502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:09:50] local.INFO: GPS data processed {"connection_id":146502,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:09:50] local.INFO: Acknowledgment sent {"connection_id":146502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:10:04] local.INFO: TCP Data received {"connection_id":146267,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:10:04] local.INFO: Processing buffer {"connection_id":146267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:10:04] local.INFO: IMEI packet received {"connection_id":146267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":146267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:10:09] local.INFO: TCP Data received {"connection_id":146267,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:10:09] local.INFO: Processing buffer {"connection_id":146267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:10:09] local.INFO: IMEI packet received {"connection_id":146267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":146267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:10:10] local.INFO: TCP Data received {"connection_id":146267,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdfa62f8012d196580071fefa0003b015125..."} 
[2026-08-01 21:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdfa62f8012d196580071fefa0003b015125..."} 
[2026-08-01 21:10:10] local.INFO: Processing buffer {"connection_id":146267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdfa62f8012d196580071fefa0003b015125..."} 
[2026-08-01 21:10:10] local.INFO: Packet analysis {"connection_id":146267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdfa"} 
[2026-08-01 21:10:10] local.INFO: Extracted packet for processing {"connection_id":146267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdfa"} 
[2026-08-01 21:10:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113198080001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21: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-08-01 21:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785598731000,"timestamp_ms":1785598731000,"timestamp_seconds":1785598731,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdfa62f8"} 
[2026-08-01 21:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:10: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-08-01 21: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":107,"data_length":795,"current_offset":136} 
[2026-08-01 21:10: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-08-01 21: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-08-01 21:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:10: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-08-01 21:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113198080001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113198080001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:10:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:10:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113198080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":146267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:10:10] local.INFO: GPS data processed {"connection_id":146267,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:10:10] local.INFO: Acknowledgment sent {"connection_id":146267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:10:15] local.INFO: TCP Data received {"connection_id":146267,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdfa62f8012d196580071fefa0003b015125..."} 
[2026-08-01 21:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdfa62f8012d196580071fefa0003b015125..."} 
[2026-08-01 21:10:15] local.INFO: Processing buffer {"connection_id":146267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdfa62f8012d196580071fefa0003b015125..."} 
[2026-08-01 21:10:15] local.INFO: Packet analysis {"connection_id":146267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdfa"} 
[2026-08-01 21:10:15] local.INFO: Extracted packet for processing {"connection_id":146267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdfa"} 
[2026-08-01 21:10:15] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 21:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113198080001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 21:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785598731000,"timestamp_ms":1785598731000,"timestamp_seconds":1785598731,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdfa62f8"} 
[2026-08-01 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-08-01 21:10:15] 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-08-01 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-08-01 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-08-01 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-08-01 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-08-01 21:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":146267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":146267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":146267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:10: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-08-01 21:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113198080001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113198080001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:10:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:10:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113198080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":146267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:10:15] local.INFO: GPS data processed {"connection_id":146267,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:10:15] local.INFO: Acknowledgment sent {"connection_id":146267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:10:21] local.INFO: TCP Data received {"connection_id":146502,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdf899f0012cc1de8007573040000e009028..."} 
[2026-08-01 21:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdf899f0012cc1de8007573040000e009028..."} 
[2026-08-01 21:10:21] local.INFO: Processing buffer {"connection_id":146502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdf899f0012cc1de8007573040000e009028..."} 
[2026-08-01 21:10:21] local.INFO: Packet analysis {"connection_id":146502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdf8"} 
[2026-08-01 21:10:21] local.INFO: Extracted packet for processing {"connection_id":146502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdf8"} 
[2026-08-01 21:10:21] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":14,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113168128001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:10:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785598614000,"timestamp_ms":1785598614000,"timestamp_seconds":1785598614,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdf899f0"} 
[2026-08-01 21:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:10:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-01 21:10:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:10:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113168128001,"66":25299,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113168128001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:10:21] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:10:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113168128001,"power":25299,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":146502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:10:21] local.INFO: GPS data processed {"connection_id":146502,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:10:21] local.INFO: Acknowledgment sent {"connection_id":146502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:10:48] local.INFO: TCP Data received {"connection_id":146503,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:10:48] local.INFO: Processing buffer {"connection_id":146503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:10:48] local.INFO: IMEI packet received {"connection_id":146503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 21:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":146503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:10:53] local.INFO: TCP Data received {"connection_id":146503,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:10:53] local.INFO: Processing buffer {"connection_id":146503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:10:53] local.INFO: IMEI packet received {"connection_id":146503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":146503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:10:55] local.INFO: TCP Data received {"connection_id":146503,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdf899f0012cc1de8007573040000e009028..."} 
[2026-08-01 21:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdf899f0012cc1de8007573040000e009028..."} 
[2026-08-01 21:10:55] local.INFO: Processing buffer {"connection_id":146503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdf899f0012cc1de8007573040000e009028..."} 
[2026-08-01 21:10:55] local.INFO: Packet analysis {"connection_id":146503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdf8"} 
[2026-08-01 21:10:55] local.INFO: Extracted packet for processing {"connection_id":146503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdf8"} 
[2026-08-01 21:10:55] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":14,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113168128001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:10:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785598614000,"timestamp_ms":1785598614000,"timestamp_seconds":1785598614,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdf899f0"} 
[2026-08-01 21:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-01 21:10:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:10:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":146503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":146503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":146503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113168128001,"66":25299,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113168128001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:10:55] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:10:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113168128001,"power":25299,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":146503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:10:55] local.INFO: GPS data processed {"connection_id":146503,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:10:55] local.INFO: Acknowledgment sent {"connection_id":146503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:10:59] local.INFO: TCP Data received {"connection_id":148806,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:10:59] local.INFO: Processing buffer {"connection_id":148806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:10:59] local.INFO: IMEI packet received {"connection_id":148806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":148806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:11:04] local.INFO: TCP Data received {"connection_id":148806,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:11:04] local.INFO: Processing buffer {"connection_id":148806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:11:04] local.INFO: IMEI packet received {"connection_id":148806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":148806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:11:05] local.INFO: TCP Data received {"connection_id":148806,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdfa62f8012d196580071fefa0003b015125..."} 
[2026-08-01 21:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdfa62f8012d196580071fefa0003b015125..."} 
[2026-08-01 21:11:05] local.INFO: Processing buffer {"connection_id":148806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdfa62f8012d196580071fefa0003b015125..."} 
[2026-08-01 21:11:05] local.INFO: Packet analysis {"connection_id":148806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdfa"} 
[2026-08-01 21:11:05] local.INFO: Extracted packet for processing {"connection_id":148806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdfa"} 
[2026-08-01 21:11:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113198080001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785598731000,"timestamp_ms":1785598731000,"timestamp_seconds":1785598731,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdfa62f8"} 
[2026-08-01 21:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:11: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-08-01 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 21:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:11:05] 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-08-01 21:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113198080001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113198080001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:11:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:11:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113198080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":148806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:11:05] local.INFO: GPS data processed {"connection_id":148806,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:11:05] local.INFO: Acknowledgment sent {"connection_id":148806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:11:26] local.INFO: TCP Data received {"connection_id":146503,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdf899f0012cc1de8007573040000e009028..."} 
[2026-08-01 21:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdf899f0012cc1de8007573040000e009028..."} 
[2026-08-01 21:11:26] local.INFO: Processing buffer {"connection_id":146503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdf899f0012cc1de8007573040000e009028..."} 
[2026-08-01 21:11:26] local.INFO: Packet analysis {"connection_id":146503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdf8"} 
[2026-08-01 21:11:26] local.INFO: Extracted packet for processing {"connection_id":146503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdf8"} 
[2026-08-01 21:11:26] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":14,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113168128001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:11:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:11:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785598614000,"timestamp_ms":1785598614000,"timestamp_seconds":1785598614,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdf899f0"} 
[2026-08-01 21:11:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:11:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-01 21:11:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:11:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:11:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":146503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":146503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":146503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:11:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113168128001,"66":25299,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113168128001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:11:26] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:11:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113168128001,"power":25299,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":146503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:11:26] local.INFO: GPS data processed {"connection_id":146503,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:11:26] local.INFO: Acknowledgment sent {"connection_id":146503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:11:36] local.INFO: TCP Data received {"connection_id":148806,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdfa62f8012d196580071fefa0003b015125..."} 
[2026-08-01 21:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdfa62f8012d196580071fefa0003b015125..."} 
[2026-08-01 21:11:36] local.INFO: Processing buffer {"connection_id":148806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdfa62f8012d196580071fefa0003b015125..."} 
[2026-08-01 21:11:36] local.INFO: Packet analysis {"connection_id":148806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdfa"} 
[2026-08-01 21:11:36] local.INFO: Extracted packet for processing {"connection_id":148806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdfa"} 
[2026-08-01 21:11:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113198080001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785598731000,"timestamp_ms":1785598731000,"timestamp_seconds":1785598731,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdfa62f8"} 
[2026-08-01 21:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:11:36] 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-08-01 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 21:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:11:36] 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-08-01 21:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113198080001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113198080001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:11:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:11:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113198080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":148806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579253,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:11:36] local.INFO: GPS data processed {"connection_id":148806,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:11:36] local.INFO: Acknowledgment sent {"connection_id":148806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:11:43] local.INFO: TCP Data received {"connection_id":147494,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:11:43] local.INFO: Processing buffer {"connection_id":147494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:11:43] local.INFO: IMEI packet received {"connection_id":147494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 21:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":147494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:11:48] local.INFO: TCP Data received {"connection_id":147494,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:11:48] local.INFO: Processing buffer {"connection_id":147494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:11:48] local.INFO: IMEI packet received {"connection_id":147494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":147494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:11:50] local.INFO: TCP Data received {"connection_id":147494,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdf899f0012cc1de8007573040000e009028..."} 
[2026-08-01 21:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdf899f0012cc1de8007573040000e009028..."} 
[2026-08-01 21:11:50] local.INFO: Processing buffer {"connection_id":147494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdf899f0012cc1de8007573040000e009028..."} 
[2026-08-01 21:11:50] local.INFO: Packet analysis {"connection_id":147494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdf8"} 
[2026-08-01 21:11:50] local.INFO: Extracted packet for processing {"connection_id":147494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdf8"} 
[2026-08-01 21:11:50] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":14,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113168128001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:11:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:11:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785598614000,"timestamp_ms":1785598614000,"timestamp_seconds":1785598614,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdf899f0"} 
[2026-08-01 21:11:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:11:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-01 21:11:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:11:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:11:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113168128001,"66":25299,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113168128001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:11:50] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:11:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113168128001,"power":25299,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":147494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:11:50] local.INFO: GPS data processed {"connection_id":147494,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:11:50] local.INFO: Acknowledgment sent {"connection_id":147494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:11:59] local.INFO: TCP Data received {"connection_id":146268,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:11:59] local.INFO: Processing buffer {"connection_id":146268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:11:59] local.INFO: IMEI packet received {"connection_id":146268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":146268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:12:04] local.INFO: TCP Data received {"connection_id":146268,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:12:04] local.INFO: Processing buffer {"connection_id":146268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:12:04] local.INFO: IMEI packet received {"connection_id":146268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":146268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:12:05] local.INFO: TCP Data received {"connection_id":146268,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdfa62f8012d196580071fefa0003b015125..."} 
[2026-08-01 21:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdfa62f8012d196580071fefa0003b015125..."} 
[2026-08-01 21:12:05] local.INFO: Processing buffer {"connection_id":146268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdfa62f8012d196580071fefa0003b015125..."} 
[2026-08-01 21:12:05] local.INFO: Packet analysis {"connection_id":146268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdfa"} 
[2026-08-01 21:12:05] local.INFO: Extracted packet for processing {"connection_id":146268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdfa"} 
[2026-08-01 21:12:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113198080001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785598731000,"timestamp_ms":1785598731000,"timestamp_seconds":1785598731,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdfa62f8"} 
[2026-08-01 21:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:12: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-08-01 21:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 21:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:12:05] 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-08-01 21:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113198080001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113198080001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:12:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:12:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113198080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":146268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:12:05] local.INFO: GPS data processed {"connection_id":146268,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:12:05] local.INFO: Acknowledgment sent {"connection_id":146268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:12:21] local.INFO: TCP Data received {"connection_id":147494,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdf899f0012cc1de8007573040000e009028..."} 
[2026-08-01 21:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdf899f0012cc1de8007573040000e009028..."} 
[2026-08-01 21:12:21] local.INFO: Processing buffer {"connection_id":147494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdf899f0012cc1de8007573040000e009028..."} 
[2026-08-01 21:12:21] local.INFO: Packet analysis {"connection_id":147494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdf8"} 
[2026-08-01 21:12:21] local.INFO: Extracted packet for processing {"connection_id":147494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdf8"} 
[2026-08-01 21:12:21] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":14,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113168128001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:12:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785598614000,"timestamp_ms":1785598614000,"timestamp_seconds":1785598614,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdf899f0"} 
[2026-08-01 21:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:12:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-01 21:12:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:12:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:12:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113168128001,"66":25299,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113168128001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:12:21] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:12:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113168128001,"power":25299,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":147494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:12:21] local.INFO: GPS data processed {"connection_id":147494,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:12:21] local.INFO: Acknowledgment sent {"connection_id":147494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:12:36] local.INFO: TCP Data received {"connection_id":146268,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdfa62f8012d196580071fefa0003b015125..."} 
[2026-08-01 21:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdfa62f8012d196580071fefa0003b015125..."} 
[2026-08-01 21:12:36] local.INFO: Processing buffer {"connection_id":146268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdfa62f8012d196580071fefa0003b015125..."} 
[2026-08-01 21:12:36] local.INFO: Packet analysis {"connection_id":146268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdfa"} 
[2026-08-01 21:12:36] local.INFO: Extracted packet for processing {"connection_id":146268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdfa"} 
[2026-08-01 21:12:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113198080001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785598731000,"timestamp_ms":1785598731000,"timestamp_seconds":1785598731,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdfa62f8"} 
[2026-08-01 21:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:12:36] 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-08-01 21:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 21:12:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:12:36] 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-08-01 21:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113198080001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113198080001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:12:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:12:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113198080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":146268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:12:36] local.INFO: GPS data processed {"connection_id":146268,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:12:36] local.INFO: Acknowledgment sent {"connection_id":146268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:12:43] local.INFO: TCP Data received {"connection_id":148807,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:12:43] local.INFO: Processing buffer {"connection_id":148807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:12:43] local.INFO: IMEI packet received {"connection_id":148807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 21:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":148807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:12:48] local.INFO: TCP Data received {"connection_id":148807,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:12:48] local.INFO: Processing buffer {"connection_id":148807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:12:48] local.INFO: IMEI packet received {"connection_id":148807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":148807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:12:53] local.INFO: TCP Data received {"connection_id":148807,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdfd31b8012cc1de80075730400013009028..."} 
[2026-08-01 21:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdfd31b8012cc1de80075730400013009028..."} 
[2026-08-01 21:12:53] local.INFO: Processing buffer {"connection_id":148807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdfd31b8012cc1de80075730400013009028..."} 
[2026-08-01 21:12:53] local.INFO: Packet analysis {"connection_id":148807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdfd"} 
[2026-08-01 21:12:53] local.INFO: Extracted packet for processing {"connection_id":148807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdfd"} 
[2026-08-01 21:12:53] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:12: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-08-01 21:12:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113245184001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:12:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:12:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:12:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:12:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785598915000,"timestamp_ms":1785598915000,"timestamp_seconds":1785598915,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdfd31b8"} 
[2026-08-01 21:12:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:12:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-01 21:12:53] 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-08-01 21:12: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-08-01 21:12:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:12:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:12:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:12:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:12:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:12:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:12:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:12:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:12:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113245184001,"66":25212,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:12:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:12:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:12:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113245184001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:12:53] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:12:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:12:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:12:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113245184001,"power":25212,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:12:53] local.INFO: DEBUG: GPS processor result {"connection_id":148807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:12:53] local.INFO: GPS data processed {"connection_id":148807,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:12:53] local.INFO: Acknowledgment sent {"connection_id":148807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:13:00] local.INFO: TCP Data received {"connection_id":147495,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:13:00] local.INFO: Processing buffer {"connection_id":147495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:13:00] local.INFO: IMEI packet received {"connection_id":147495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":147495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:13:04] local.INFO: TCP Data received {"connection_id":147495,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:13:04] local.INFO: Processing buffer {"connection_id":147495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:13:04] local.INFO: IMEI packet received {"connection_id":147495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":147495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:13:05] local.INFO: TCP Data received {"connection_id":147495,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdfa62f8012d196580071fefa0003b015125..."} 
[2026-08-01 21:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdfa62f8012d196580071fefa0003b015125..."} 
[2026-08-01 21:13:05] local.INFO: Processing buffer {"connection_id":147495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdfa62f8012d196580071fefa0003b015125..."} 
[2026-08-01 21:13:05] local.INFO: Packet analysis {"connection_id":147495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdfa"} 
[2026-08-01 21:13:05] local.INFO: Extracted packet for processing {"connection_id":147495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdfa"} 
[2026-08-01 21:13:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113198080001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785598731000,"timestamp_ms":1785598731000,"timestamp_seconds":1785598731,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdfa62f8"} 
[2026-08-01 21:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:13: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-08-01 21:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 21:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:13:05] 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-08-01 21:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113198080001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113198080001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:13:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:13:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113198080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":147495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579259,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:13:05] local.INFO: GPS data processed {"connection_id":147495,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:13:05] local.INFO: Acknowledgment sent {"connection_id":147495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:13:24] local.INFO: TCP Data received {"connection_id":148807,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdfd31b8012cc1de80075730400013009028..."} 
[2026-08-01 21:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdfd31b8012cc1de80075730400013009028..."} 
[2026-08-01 21:13:24] local.INFO: Processing buffer {"connection_id":148807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdfd31b8012cc1de80075730400013009028..."} 
[2026-08-01 21:13:24] local.INFO: Packet analysis {"connection_id":148807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdfd"} 
[2026-08-01 21:13:24] local.INFO: Extracted packet for processing {"connection_id":148807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdfd"} 
[2026-08-01 21:13:24] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:13:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113245184001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:13:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:13:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:13:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:13:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785598915000,"timestamp_ms":1785598915000,"timestamp_seconds":1785598915,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdfd31b8"} 
[2026-08-01 21:13:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:13:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-01 21:13:24] 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-08-01 21:13:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:13:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:13:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:13:24] local.INFO: Teltonika packet parsed successfully {"connection_id":148807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:13:24] local.INFO: Passing IMEI to GPS processor {"connection_id":148807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:13:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":148807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:13:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:13:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:13:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:13:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113245184001,"66":25212,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:13:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:13:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:13:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113245184001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:13:24] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:13:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:13:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:13:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113245184001,"power":25212,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":148807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:13:24] local.INFO: GPS data processed {"connection_id":148807,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:13:24] local.INFO: Acknowledgment sent {"connection_id":148807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:13:36] local.INFO: TCP Data received {"connection_id":147495,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdfa62f8012d196580071fefa0003b015125..."} 
[2026-08-01 21:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdfa62f8012d196580071fefa0003b015125..."} 
[2026-08-01 21:13:36] local.INFO: Processing buffer {"connection_id":147495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdfa62f8012d196580071fefa0003b015125..."} 
[2026-08-01 21:13:36] local.INFO: Packet analysis {"connection_id":147495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdfa"} 
[2026-08-01 21:13:36] local.INFO: Extracted packet for processing {"connection_id":147495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdfa"} 
[2026-08-01 21:13:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113198080001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785598731000,"timestamp_ms":1785598731000,"timestamp_seconds":1785598731,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdfa62f8"} 
[2026-08-01 21:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:13:36] 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-08-01 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 21:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:13:36] 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-08-01 21:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113198080001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113198080001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:13:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:13:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113198080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":147495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:13:36] local.INFO: GPS data processed {"connection_id":147495,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:13:36] local.INFO: Acknowledgment sent {"connection_id":147495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:13:44] local.INFO: TCP Data received {"connection_id":146269,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:13:44] local.INFO: Processing buffer {"connection_id":146269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:13:44] local.INFO: IMEI packet received {"connection_id":146269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 21:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":146269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:13:48] local.INFO: TCP Data received {"connection_id":146269,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:13:48] local.INFO: Processing buffer {"connection_id":146269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:13:48] local.INFO: IMEI packet received {"connection_id":146269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":146269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:13:49] local.INFO: TCP Data received {"connection_id":146269,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdfd31b8012cc1de80075730400013009028..."} 
[2026-08-01 21:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdfd31b8012cc1de80075730400013009028..."} 
[2026-08-01 21:13:49] local.INFO: Processing buffer {"connection_id":146269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdfd31b8012cc1de80075730400013009028..."} 
[2026-08-01 21:13:49] local.INFO: Packet analysis {"connection_id":146269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdfd"} 
[2026-08-01 21:13:49] local.INFO: Extracted packet for processing {"connection_id":146269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdfd"} 
[2026-08-01 21:13:49] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:13:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113245184001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:13:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:13:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:13:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:13:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785598915000,"timestamp_ms":1785598915000,"timestamp_seconds":1785598915,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdfd31b8"} 
[2026-08-01 21:13:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:13:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-01 21:13:49] 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-08-01 21:13:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:13:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:13:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:13:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:13:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:13:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:13:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:13:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:13:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:13:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113245184001,"66":25212,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:13:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:13:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:13:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113245184001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:13:49] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:13:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:13:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:13:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113245184001,"power":25212,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:13:49] local.INFO: DEBUG: GPS processor result {"connection_id":146269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:13:49] local.INFO: GPS data processed {"connection_id":146269,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:13:49] local.INFO: Acknowledgment sent {"connection_id":146269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:13:59] local.INFO: TCP Data received {"connection_id":146504,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:13:59] local.INFO: Processing buffer {"connection_id":146504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:13:59] local.INFO: IMEI packet received {"connection_id":146504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":146504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:14:04] local.INFO: TCP Data received {"connection_id":146504,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:14:04] local.INFO: Processing buffer {"connection_id":146504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:14:04] local.INFO: IMEI packet received {"connection_id":146504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":146504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:14:05] local.INFO: TCP Data received {"connection_id":146504,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdfa62f8012d196580071fefa0003b015125..."} 
[2026-08-01 21:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdfa62f8012d196580071fefa0003b015125..."} 
[2026-08-01 21:14:05] local.INFO: Processing buffer {"connection_id":146504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdfa62f8012d196580071fefa0003b015125..."} 
[2026-08-01 21:14:05] local.INFO: Packet analysis {"connection_id":146504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdfa"} 
[2026-08-01 21:14:05] local.INFO: Extracted packet for processing {"connection_id":146504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdfa"} 
[2026-08-01 21:14:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113198080001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785598731000,"timestamp_ms":1785598731000,"timestamp_seconds":1785598731,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdfa62f8"} 
[2026-08-01 21:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:14: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-08-01 21:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 21:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:14:05] 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-08-01 21:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113198080001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113198080001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:14:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:14:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113198080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":146504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:14:05] local.INFO: GPS data processed {"connection_id":146504,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:14:05] local.INFO: Acknowledgment sent {"connection_id":146504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:14:21] local.INFO: TCP Data received {"connection_id":146269,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdfd31b8012cc1de80075730400013009028..."} 
[2026-08-01 21:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdfd31b8012cc1de80075730400013009028..."} 
[2026-08-01 21:14:21] local.INFO: Processing buffer {"connection_id":146269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdfd31b8012cc1de80075730400013009028..."} 
[2026-08-01 21:14:21] local.INFO: Packet analysis {"connection_id":146269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdfd"} 
[2026-08-01 21:14:21] local.INFO: Extracted packet for processing {"connection_id":146269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdfd"} 
[2026-08-01 21:14:21] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113245184001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:14:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:14:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785598915000,"timestamp_ms":1785598915000,"timestamp_seconds":1785598915,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdfd31b8"} 
[2026-08-01 21:14:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:14:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-01 21:14:21] 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-08-01 21:14:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:14:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:14:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113245184001,"66":25212,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113245184001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:14:21] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:14:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113245184001,"power":25212,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":146269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:14:21] local.INFO: GPS data processed {"connection_id":146269,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:14:21] local.INFO: Acknowledgment sent {"connection_id":146269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:14:36] local.INFO: TCP Data received {"connection_id":146504,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdfefac0012d196580071fefa0003b015126..."} 
[2026-08-01 21:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdfefac0012d196580071fefa0003b015126..."} 
[2026-08-01 21:14:36] local.INFO: Processing buffer {"connection_id":146504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdfefac0012d196580071fefa0003b015126..."} 
[2026-08-01 21:14:36] local.INFO: Packet analysis {"connection_id":146504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdfe"} 
[2026-08-01 21:14:36] local.INFO: Extracted packet for processing {"connection_id":146504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdfe"} 
[2026-08-01 21:14:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113275136001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785599032000,"timestamp_ms":1785599032000,"timestamp_seconds":1785599032,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdfefac0"} 
[2026-08-01 21:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 21:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:14:36] 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-08-01 21:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113275136001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113275136001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:14:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:14:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113275136001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":146504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:14:36] local.INFO: GPS data processed {"connection_id":146504,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:14:36] local.INFO: Acknowledgment sent {"connection_id":146504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:14:43] local.INFO: TCP Data received {"connection_id":148808,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:14:43] local.INFO: Processing buffer {"connection_id":148808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:14:43] local.INFO: IMEI packet received {"connection_id":148808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 21:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":148808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:14:48] local.INFO: TCP Data received {"connection_id":148808,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:14:48] local.INFO: Processing buffer {"connection_id":148808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:14:48] local.INFO: IMEI packet received {"connection_id":148808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":148808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:14:50] local.INFO: TCP Data received {"connection_id":148808,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdfd31b8012cc1de80075730400013009028..."} 
[2026-08-01 21:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdfd31b8012cc1de80075730400013009028..."} 
[2026-08-01 21:14:50] local.INFO: Processing buffer {"connection_id":148808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdfd31b8012cc1de80075730400013009028..."} 
[2026-08-01 21:14:50] local.INFO: Packet analysis {"connection_id":148808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdfd"} 
[2026-08-01 21:14:50] local.INFO: Extracted packet for processing {"connection_id":148808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdfd"} 
[2026-08-01 21:14:50] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113245184001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:14:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:14:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785598915000,"timestamp_ms":1785598915000,"timestamp_seconds":1785598915,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdfd31b8"} 
[2026-08-01 21:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:14:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-01 21:14:50] 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-08-01 21: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-08-01 21:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:14:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113245184001,"66":25212,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113245184001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:14:50] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:14:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113245184001,"power":25212,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":148808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:14:50] local.INFO: GPS data processed {"connection_id":148808,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:14:50] local.INFO: Acknowledgment sent {"connection_id":148808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:15:04] local.INFO: TCP Data received {"connection_id":147496,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:15:04] local.INFO: Processing buffer {"connection_id":147496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:15:04] local.INFO: IMEI packet received {"connection_id":147496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":147496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:15:09] local.INFO: TCP Data received {"connection_id":147496,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:15:09] local.INFO: Processing buffer {"connection_id":147496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:15:09] local.INFO: IMEI packet received {"connection_id":147496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":147496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:15:10] local.INFO: TCP Data received {"connection_id":147496,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdfefac0012d196580071fefa0003b015126..."} 
[2026-08-01 21:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdfefac0012d196580071fefa0003b015126..."} 
[2026-08-01 21:15:10] local.INFO: Processing buffer {"connection_id":147496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdfefac0012d196580071fefa0003b015126..."} 
[2026-08-01 21:15:10] local.INFO: Packet analysis {"connection_id":147496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdfe"} 
[2026-08-01 21:15:10] local.INFO: Extracted packet for processing {"connection_id":147496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdfe"} 
[2026-08-01 21:15:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 21:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113275136001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 21:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785599032000,"timestamp_ms":1785599032000,"timestamp_seconds":1785599032,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdfefac0"} 
[2026-08-01 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-08-01 21:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 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-08-01 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-08-01 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-08-01 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-08-01 21:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":147496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":147496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":147496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:15: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-08-01 21:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113275136001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113275136001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:15:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:15:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113275136001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":147496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:15:10] local.INFO: GPS data processed {"connection_id":147496,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:15:10] local.INFO: Acknowledgment sent {"connection_id":147496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:15:22] local.INFO: TCP Data received {"connection_id":148808,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdfd31b8012cc1de80075730400013009028..."} 
[2026-08-01 21:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdfd31b8012cc1de80075730400013009028..."} 
[2026-08-01 21:15:22] local.INFO: Processing buffer {"connection_id":148808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdfd31b8012cc1de80075730400013009028..."} 
[2026-08-01 21:15:22] local.INFO: Packet analysis {"connection_id":148808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdfd"} 
[2026-08-01 21:15:22] local.INFO: Extracted packet for processing {"connection_id":148808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdfd"} 
[2026-08-01 21:15:22] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113245184001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:15:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:15:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785598915000,"timestamp_ms":1785598915000,"timestamp_seconds":1785598915,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdfd31b8"} 
[2026-08-01 21:15:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:15:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-01 21:15:22] 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-08-01 21:15:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:15:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:15:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113245184001,"66":25212,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113245184001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:15:22] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:15:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113245184001,"power":25212,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":148808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:15:22] local.INFO: GPS data processed {"connection_id":148808,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:15:22] local.INFO: Acknowledgment sent {"connection_id":148808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:15:42] local.INFO: TCP Data received {"connection_id":147496,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdfefac0012d196580071fefa0003b015126..."} 
[2026-08-01 21:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdfefac0012d196580071fefa0003b015126..."} 
[2026-08-01 21:15:42] local.INFO: Processing buffer {"connection_id":147496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdfefac0012d196580071fefa0003b015126..."} 
[2026-08-01 21:15:42] local.INFO: Packet analysis {"connection_id":147496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdfe"} 
[2026-08-01 21:15:42] local.INFO: Extracted packet for processing {"connection_id":147496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdfe"} 
[2026-08-01 21:15:42] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113275136001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:15:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21: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-08-01 21:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785599032000,"timestamp_ms":1785599032000,"timestamp_seconds":1785599032,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdfefac0"} 
[2026-08-01 21:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:15:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21: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":118,"data_length":795,"current_offset":136} 
[2026-08-01 21:15: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-08-01 21: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-08-01 21:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":147496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":147496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":147496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:15: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-08-01 21:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113275136001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113275136001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:15:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:15:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:15:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113275136001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":147496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:15:42] local.INFO: GPS data processed {"connection_id":147496,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:15:42] local.INFO: Acknowledgment sent {"connection_id":147496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:15:43] local.INFO: TCP Data received {"connection_id":146505,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:15:43] local.INFO: Processing buffer {"connection_id":146505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:15:43] local.INFO: IMEI packet received {"connection_id":146505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 21:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":146505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:15:48] local.INFO: TCP Data received {"connection_id":146505,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:15:48] local.INFO: Processing buffer {"connection_id":146505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:15:48] local.INFO: IMEI packet received {"connection_id":146505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":146505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:15:49] local.INFO: TCP Data received {"connection_id":146505,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdfd31b8012cc1de80075730400013009028..."} 
[2026-08-01 21:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdfd31b8012cc1de80075730400013009028..."} 
[2026-08-01 21:15:49] local.INFO: Processing buffer {"connection_id":146505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdfd31b8012cc1de80075730400013009028..."} 
[2026-08-01 21:15:49] local.INFO: Packet analysis {"connection_id":146505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdfd"} 
[2026-08-01 21:15:49] local.INFO: Extracted packet for processing {"connection_id":146505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdfd"} 
[2026-08-01 21:15:49] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113245184001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:15:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:15:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785598915000,"timestamp_ms":1785598915000,"timestamp_seconds":1785598915,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdfd31b8"} 
[2026-08-01 21:15:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-01 21:15:49] 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-08-01 21:15:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:15:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113245184001,"66":25212,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113245184001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:15:49] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:15:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113245184001,"power":25212,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":146505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:15:49] local.INFO: GPS data processed {"connection_id":146505,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:15:49] local.INFO: Acknowledgment sent {"connection_id":146505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:15:59] local.INFO: TCP Data received {"connection_id":148809,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:15:59] local.INFO: Processing buffer {"connection_id":148809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:15:59] local.INFO: IMEI packet received {"connection_id":148809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":148809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:16:04] local.INFO: TCP Data received {"connection_id":148809,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:16:04] local.INFO: Processing buffer {"connection_id":148809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:16:04] local.INFO: IMEI packet received {"connection_id":148809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":148809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:16:05] local.INFO: TCP Data received {"connection_id":148809,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdfefac0012d196580071fefa0003b015126..."} 
[2026-08-01 21:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdfefac0012d196580071fefa0003b015126..."} 
[2026-08-01 21:16:05] local.INFO: Processing buffer {"connection_id":148809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdfefac0012d196580071fefa0003b015126..."} 
[2026-08-01 21:16:05] local.INFO: Packet analysis {"connection_id":148809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdfe"} 
[2026-08-01 21:16:05] local.INFO: Extracted packet for processing {"connection_id":148809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdfe"} 
[2026-08-01 21:16:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113275136001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785599032000,"timestamp_ms":1785599032000,"timestamp_seconds":1785599032,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdfefac0"} 
[2026-08-01 21:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 21:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:16:05] 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-08-01 21:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113275136001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113275136001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:16:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:16:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113275136001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":148809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579271,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:16:05] local.INFO: GPS data processed {"connection_id":148809,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:16:05] local.INFO: Acknowledgment sent {"connection_id":148809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:16:21] local.INFO: TCP Data received {"connection_id":146505,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdfd31b8012cc1de80075730400013009028..."} 
[2026-08-01 21:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdfd31b8012cc1de80075730400013009028..."} 
[2026-08-01 21:16:21] local.INFO: Processing buffer {"connection_id":146505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdfd31b8012cc1de80075730400013009028..."} 
[2026-08-01 21:16:21] local.INFO: Packet analysis {"connection_id":146505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdfd"} 
[2026-08-01 21:16:21] local.INFO: Extracted packet for processing {"connection_id":146505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdfd"} 
[2026-08-01 21:16:21] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113245184001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:16:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785598915000,"timestamp_ms":1785598915000,"timestamp_seconds":1785598915,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdfd31b8"} 
[2026-08-01 21:16:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:16:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-01 21:16:21] 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-08-01 21: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-08-01 21:16:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:16:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113245184001,"66":25212,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113245184001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:16:21] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:16:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113245184001,"power":25212,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":146505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:16:21] local.INFO: GPS data processed {"connection_id":146505,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:16:21] local.INFO: Acknowledgment sent {"connection_id":146505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:16:36] local.INFO: TCP Data received {"connection_id":148809,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdfefac0012d196580071fefa0003b015126..."} 
[2026-08-01 21:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdfefac0012d196580071fefa0003b015126..."} 
[2026-08-01 21:16:36] local.INFO: Processing buffer {"connection_id":148809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdfefac0012d196580071fefa0003b015126..."} 
[2026-08-01 21:16:36] local.INFO: Packet analysis {"connection_id":148809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdfe"} 
[2026-08-01 21:16:36] local.INFO: Extracted packet for processing {"connection_id":148809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdfe"} 
[2026-08-01 21:16:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113275136001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785599032000,"timestamp_ms":1785599032000,"timestamp_seconds":1785599032,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdfefac0"} 
[2026-08-01 21:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 21:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:16:36] 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-08-01 21:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113275136001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113275136001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:16:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:16:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113275136001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":148809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:16:36] local.INFO: GPS data processed {"connection_id":148809,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:16:36] local.INFO: Acknowledgment sent {"connection_id":148809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:16:43] local.INFO: TCP Data received {"connection_id":148810,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:16:43] local.INFO: Processing buffer {"connection_id":148810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:16:43] local.INFO: IMEI packet received {"connection_id":148810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 21:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":148810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:16:48] local.INFO: TCP Data received {"connection_id":148810,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:16:48] local.INFO: Processing buffer {"connection_id":148810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:16:48] local.INFO: IMEI packet received {"connection_id":148810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":148810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:16:49] local.INFO: TCP Data received {"connection_id":148810,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdfd31b8012cc1de80075730400013009028..."} 
[2026-08-01 21:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdfd31b8012cc1de80075730400013009028..."} 
[2026-08-01 21:16:49] local.INFO: Processing buffer {"connection_id":148810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdfd31b8012cc1de80075730400013009028..."} 
[2026-08-01 21:16:49] local.INFO: Packet analysis {"connection_id":148810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdfd"} 
[2026-08-01 21:16:49] local.INFO: Extracted packet for processing {"connection_id":148810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdfd"} 
[2026-08-01 21:16:49] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113245184001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:16:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785598915000,"timestamp_ms":1785598915000,"timestamp_seconds":1785598915,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdfd31b8"} 
[2026-08-01 21:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:16:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-01 21:16:49] 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-08-01 21:16:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:16:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113245184001,"66":25212,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113245184001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:16:49] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:16:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113245184001,"power":25212,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":148810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:16:49] local.INFO: GPS data processed {"connection_id":148810,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:16:49] local.INFO: Acknowledgment sent {"connection_id":148810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:16:59] local.INFO: TCP Data received {"connection_id":146270,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146270,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:16:59] local.INFO: Processing buffer {"connection_id":146270,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:16:59] local.INFO: IMEI packet received {"connection_id":146270,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":146270,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:17:04] local.INFO: TCP Data received {"connection_id":146270,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146270,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:17:04] local.INFO: Processing buffer {"connection_id":146270,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:17:04] local.INFO: IMEI packet received {"connection_id":146270,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":146270,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:17:05] local.INFO: TCP Data received {"connection_id":146270,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdfefac0012d196580071fefa0003b015126..."} 
[2026-08-01 21:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdfefac0012d196580071fefa0003b015126..."} 
[2026-08-01 21:17:05] local.INFO: Processing buffer {"connection_id":146270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdfefac0012d196580071fefa0003b015126..."} 
[2026-08-01 21:17:05] local.INFO: Packet analysis {"connection_id":146270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdfe"} 
[2026-08-01 21:17:05] local.INFO: Extracted packet for processing {"connection_id":146270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdfe"} 
[2026-08-01 21:17:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113275136001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785599032000,"timestamp_ms":1785599032000,"timestamp_seconds":1785599032,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdfefac0"} 
[2026-08-01 21:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 21:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:17:05] 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-08-01 21:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113275136001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113275136001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:17:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:17:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113275136001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":146270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:17:05] local.INFO: GPS data processed {"connection_id":146270,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:17:05] local.INFO: Acknowledgment sent {"connection_id":146270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:17:21] local.INFO: TCP Data received {"connection_id":148810,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdfd31b8012cc1de80075730400013009028..."} 
[2026-08-01 21:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdfd31b8012cc1de80075730400013009028..."} 
[2026-08-01 21:17:21] local.INFO: Processing buffer {"connection_id":148810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdfd31b8012cc1de80075730400013009028..."} 
[2026-08-01 21:17:21] local.INFO: Packet analysis {"connection_id":148810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdfd"} 
[2026-08-01 21:17:21] local.INFO: Extracted packet for processing {"connection_id":148810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdfd"} 
[2026-08-01 21:17:21] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113245184001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:17:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785598915000,"timestamp_ms":1785598915000,"timestamp_seconds":1785598915,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdfd31b8"} 
[2026-08-01 21:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:17:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-01 21:17:21] 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-08-01 21: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-08-01 21:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:17:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113245184001,"66":25212,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113245184001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:17:21] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:17:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113245184001,"power":25212,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":148810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:17:21] local.INFO: GPS data processed {"connection_id":148810,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:17:21] local.INFO: Acknowledgment sent {"connection_id":148810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:17:36] local.INFO: TCP Data received {"connection_id":146270,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdfefac0012d196580071fefa0003b015126..."} 
[2026-08-01 21:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdfefac0012d196580071fefa0003b015126..."} 
[2026-08-01 21:17:36] local.INFO: Processing buffer {"connection_id":146270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdfefac0012d196580071fefa0003b015126..."} 
[2026-08-01 21:17:36] local.INFO: Packet analysis {"connection_id":146270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdfe"} 
[2026-08-01 21:17:36] local.INFO: Extracted packet for processing {"connection_id":146270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdfe"} 
[2026-08-01 21:17:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113275136001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785599032000,"timestamp_ms":1785599032000,"timestamp_seconds":1785599032,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdfefac0"} 
[2026-08-01 21:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 21:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:17:36] 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-08-01 21:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113275136001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113275136001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:17:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:17:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113275136001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":146270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:17:36] local.INFO: GPS data processed {"connection_id":146270,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:17:36] local.INFO: Acknowledgment sent {"connection_id":146270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:17:48] local.INFO: TCP Data received {"connection_id":147497,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:17:48] local.INFO: Processing buffer {"connection_id":147497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:17:48] local.INFO: IMEI packet received {"connection_id":147497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 21:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":147497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:17:56] local.INFO: TCP Data received {"connection_id":147497,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:17:56] local.INFO: Processing buffer {"connection_id":147497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:17:56] local.INFO: IMEI packet received {"connection_id":147497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":147497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:17:57] local.INFO: TCP Data received {"connection_id":147497,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe01c980012cc1de80075730400013009029..."} 
[2026-08-01 21:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe01c980012cc1de80075730400013009029..."} 
[2026-08-01 21:17:57] local.INFO: Processing buffer {"connection_id":147497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe01c980012cc1de80075730400013009029..."} 
[2026-08-01 21:17:57] local.INFO: Packet analysis {"connection_id":147497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe01"} 
[2026-08-01 21:17:57] local.INFO: Extracted packet for processing {"connection_id":147497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe01"} 
[2026-08-01 21:17:57] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:17:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113322240001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:17:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:17:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:17:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:17:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785599216000,"timestamp_ms":1785599216000,"timestamp_seconds":1785599216,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe01c980"} 
[2026-08-01 21:17:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:17:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-01 21:17:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:17:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:17:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:17:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:17:57] local.INFO: Teltonika packet parsed successfully {"connection_id":147497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:17:57] local.INFO: Passing IMEI to GPS processor {"connection_id":147497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:17:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":147497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:17:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:17:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:17:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:17:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113322240001,"66":25212,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:17:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:17:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:17:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113322240001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:17:57] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:17:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:17:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:17:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113322240001,"power":25212,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:17:57] local.INFO: DEBUG: GPS processor result {"connection_id":147497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:17:57] local.INFO: GPS data processed {"connection_id":147497,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:17:57] local.INFO: Acknowledgment sent {"connection_id":147497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:17:58] local.INFO: TCP Data received {"connection_id":147497,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe01c980012cc1de80075730400013009029..."} 
[2026-08-01 21:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe01c980012cc1de80075730400013009029..."} 
[2026-08-01 21:17:58] local.INFO: Processing buffer {"connection_id":147497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe01c980012cc1de80075730400013009029..."} 
[2026-08-01 21:17:58] local.INFO: Packet analysis {"connection_id":147497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe01"} 
[2026-08-01 21:17:58] local.INFO: Extracted packet for processing {"connection_id":147497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe01"} 
[2026-08-01 21:17:58] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:17: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-08-01 21:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113322240001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:17:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:17:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785599216000,"timestamp_ms":1785599216000,"timestamp_seconds":1785599216,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe01c980"} 
[2026-08-01 21:17:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:17:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:17: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-01 21:17:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:17: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-08-01 21:17:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":147497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":147497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":147497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:17:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113322240001,"66":25212,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113322240001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:17:58] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:17:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113322240001,"power":25212,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":147497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:17:58] local.INFO: GPS data processed {"connection_id":147497,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:17:58] local.INFO: Acknowledgment sent {"connection_id":147497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:18:00] local.INFO: TCP Data received {"connection_id":148811,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:18:00] local.INFO: Processing buffer {"connection_id":148811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:18:00] local.INFO: IMEI packet received {"connection_id":148811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":148811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:18:04] local.INFO: TCP Data received {"connection_id":148811,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:18:04] local.INFO: Processing buffer {"connection_id":148811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:18:04] local.INFO: IMEI packet received {"connection_id":148811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":148811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:18:05] local.INFO: TCP Data received {"connection_id":148811,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdfefac0012d196580071fefa0003b015126..."} 
[2026-08-01 21:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdfefac0012d196580071fefa0003b015126..."} 
[2026-08-01 21:18:05] local.INFO: Processing buffer {"connection_id":148811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdfefac0012d196580071fefa0003b015126..."} 
[2026-08-01 21:18:05] local.INFO: Packet analysis {"connection_id":148811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdfe"} 
[2026-08-01 21:18:05] local.INFO: Extracted packet for processing {"connection_id":148811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdfe"} 
[2026-08-01 21:18:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113275136001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785599032000,"timestamp_ms":1785599032000,"timestamp_seconds":1785599032,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdfefac0"} 
[2026-08-01 21:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 21:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:18:05] 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-08-01 21:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113275136001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113275136001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:18:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:18:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113275136001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":148811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:18:05] local.INFO: GPS data processed {"connection_id":148811,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:18:05] local.INFO: Acknowledgment sent {"connection_id":148811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:18:36] local.INFO: TCP Data received {"connection_id":148811,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdfefac0012d196580071fefa0003b015126..."} 
[2026-08-01 21:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdfefac0012d196580071fefa0003b015126..."} 
[2026-08-01 21:18:36] local.INFO: Processing buffer {"connection_id":148811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdfefac0012d196580071fefa0003b015126..."} 
[2026-08-01 21:18:36] local.INFO: Packet analysis {"connection_id":148811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdfe"} 
[2026-08-01 21:18:36] local.INFO: Extracted packet for processing {"connection_id":148811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdfe"} 
[2026-08-01 21:18:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113275136001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785599032000,"timestamp_ms":1785599032000,"timestamp_seconds":1785599032,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdfefac0"} 
[2026-08-01 21:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 21:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:18:36] 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-08-01 21:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113275136001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113275136001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:18:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:18:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113275136001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":148811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:18:36] local.INFO: GPS data processed {"connection_id":148811,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:18:36] local.INFO: Acknowledgment sent {"connection_id":148811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:18:43] local.INFO: TCP Data received {"connection_id":146506,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:18:43] local.INFO: Processing buffer {"connection_id":146506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:18:43] local.INFO: IMEI packet received {"connection_id":146506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 21:18:43] local.INFO: IMEI acknowledgment sent {"connection_id":146506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:18:48] local.INFO: TCP Data received {"connection_id":146506,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:18:48] local.INFO: Processing buffer {"connection_id":146506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:18:48] local.INFO: IMEI packet received {"connection_id":146506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":146506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:18:50] local.INFO: TCP Data received {"connection_id":146506,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe01c980012cc1de80075730400013009029..."} 
[2026-08-01 21:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe01c980012cc1de80075730400013009029..."} 
[2026-08-01 21:18:50] local.INFO: Processing buffer {"connection_id":146506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe01c980012cc1de80075730400013009029..."} 
[2026-08-01 21:18:50] local.INFO: Packet analysis {"connection_id":146506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe01"} 
[2026-08-01 21:18:50] local.INFO: Extracted packet for processing {"connection_id":146506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe01"} 
[2026-08-01 21:18:50] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:18:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113322240001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:18:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:18:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:18:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:18:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785599216000,"timestamp_ms":1785599216000,"timestamp_seconds":1785599216,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe01c980"} 
[2026-08-01 21:18:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:18:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-01 21:18:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:18:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:18:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:18:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:18:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:18:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:18:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:18:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:18:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:18:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113322240001,"66":25212,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:18:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:18:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:18:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113322240001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:18:50] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:18:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:18:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:18:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113322240001,"power":25212,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:18:50] local.INFO: DEBUG: GPS processor result {"connection_id":146506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:18:50] local.INFO: GPS data processed {"connection_id":146506,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:18:50] local.INFO: Acknowledgment sent {"connection_id":146506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:18:59] local.INFO: TCP Data received {"connection_id":146271,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146271,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:18:59] local.INFO: Processing buffer {"connection_id":146271,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:18:59] local.INFO: IMEI packet received {"connection_id":146271,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":146271,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:19:04] local.INFO: TCP Data received {"connection_id":146271,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146271,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:19:04] local.INFO: Processing buffer {"connection_id":146271,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:19:04] local.INFO: IMEI packet received {"connection_id":146271,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":146271,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:19:05] local.INFO: TCP Data received {"connection_id":146271,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbdfefac0012d196580071fefa0003b015126..."} 
[2026-08-01 21:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbdfefac0012d196580071fefa0003b015126..."} 
[2026-08-01 21:19:05] local.INFO: Processing buffer {"connection_id":146271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbdfefac0012d196580071fefa0003b015126..."} 
[2026-08-01 21:19:05] local.INFO: Packet analysis {"connection_id":146271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbdfe"} 
[2026-08-01 21:19:05] local.INFO: Extracted packet for processing {"connection_id":146271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbdfe"} 
[2026-08-01 21:19:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113275136001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785599032000,"timestamp_ms":1785599032000,"timestamp_seconds":1785599032,"priority":1,"record_length":96,"hex_timestamp":"0000019fbdfefac0"} 
[2026-08-01 21:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21: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":118,"data_length":795,"current_offset":136} 
[2026-08-01 21:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:19:05] 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-08-01 21:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113275136001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113275136001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:19:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:19:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113275136001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":146271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:19:05] local.INFO: GPS data processed {"connection_id":146271,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:19:05] local.INFO: Acknowledgment sent {"connection_id":146271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:19:21] local.INFO: TCP Data received {"connection_id":146506,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe01c980012cc1de80075730400013009029..."} 
[2026-08-01 21:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe01c980012cc1de80075730400013009029..."} 
[2026-08-01 21:19:21] local.INFO: Processing buffer {"connection_id":146506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe01c980012cc1de80075730400013009029..."} 
[2026-08-01 21:19:21] local.INFO: Packet analysis {"connection_id":146506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe01"} 
[2026-08-01 21:19:21] local.INFO: Extracted packet for processing {"connection_id":146506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe01"} 
[2026-08-01 21:19:21] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113322240001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:19:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785599216000,"timestamp_ms":1785599216000,"timestamp_seconds":1785599216,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe01c980"} 
[2026-08-01 21:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:19:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-01 21:19:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:19:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113322240001,"66":25212,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113322240001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:19:21] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:19:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113322240001,"power":25212,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":146506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:19:21] local.INFO: GPS data processed {"connection_id":146506,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:19:21] local.INFO: Acknowledgment sent {"connection_id":146506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:19:36] local.INFO: TCP Data received {"connection_id":146271,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe039288012d196580071fefa0003b015125..."} 
[2026-08-01 21:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe039288012d196580071fefa0003b015125..."} 
[2026-08-01 21:19:36] local.INFO: Processing buffer {"connection_id":146271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe039288012d196580071fefa0003b015125..."} 
[2026-08-01 21:19:36] local.INFO: Packet analysis {"connection_id":146271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe03"} 
[2026-08-01 21:19:36] local.INFO: Extracted packet for processing {"connection_id":146271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe03"} 
[2026-08-01 21:19:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113352192001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785599333000,"timestamp_ms":1785599333000,"timestamp_seconds":1785599333,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe039288"} 
[2026-08-01 21:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:19:36] 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-08-01 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 21:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:19:36] 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-08-01 21:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113352192001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113352192001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:19:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:19:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113352192001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":146271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:19:36] local.INFO: GPS data processed {"connection_id":146271,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:19:36] local.INFO: Acknowledgment sent {"connection_id":146271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:19:43] local.INFO: TCP Data received {"connection_id":147498,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:19:43] local.INFO: Processing buffer {"connection_id":147498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:19:43] local.INFO: IMEI packet received {"connection_id":147498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 21:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":147498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:19:48] local.INFO: TCP Data received {"connection_id":147498,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:19:48] local.INFO: Processing buffer {"connection_id":147498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:19:48] local.INFO: IMEI packet received {"connection_id":147498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":147498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:19:49] local.INFO: TCP Data received {"connection_id":147498,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe01c980012cc1de80075730400013009029..."} 
[2026-08-01 21:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe01c980012cc1de80075730400013009029..."} 
[2026-08-01 21:19:49] local.INFO: Processing buffer {"connection_id":147498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe01c980012cc1de80075730400013009029..."} 
[2026-08-01 21:19:49] local.INFO: Packet analysis {"connection_id":147498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe01"} 
[2026-08-01 21:19:49] local.INFO: Extracted packet for processing {"connection_id":147498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe01"} 
[2026-08-01 21:19:49] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113322240001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:19:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:19:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785599216000,"timestamp_ms":1785599216000,"timestamp_seconds":1785599216,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe01c980"} 
[2026-08-01 21:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:19:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-01 21:19:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:19:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:19:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113322240001,"66":25212,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113322240001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:19:49] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:19:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113322240001,"power":25212,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":147498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:19:50] local.INFO: GPS data processed {"connection_id":147498,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:19:50] local.INFO: Acknowledgment sent {"connection_id":147498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:20:04] local.INFO: TCP Data received {"connection_id":146272,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:20:04] local.INFO: Processing buffer {"connection_id":146272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:20:04] local.INFO: IMEI packet received {"connection_id":146272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":146272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:20:09] local.INFO: TCP Data received {"connection_id":146272,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:20:09] local.INFO: Processing buffer {"connection_id":146272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:20:09] local.INFO: IMEI packet received {"connection_id":146272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":146272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:20:10] local.INFO: TCP Data received {"connection_id":146272,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe039288012d196580071fefa0003b015125..."} 
[2026-08-01 21:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe039288012d196580071fefa0003b015125..."} 
[2026-08-01 21:20:10] local.INFO: Processing buffer {"connection_id":146272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe039288012d196580071fefa0003b015125..."} 
[2026-08-01 21:20:10] local.INFO: Packet analysis {"connection_id":146272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe03"} 
[2026-08-01 21:20:10] local.INFO: Extracted packet for processing {"connection_id":146272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe03"} 
[2026-08-01 21:20:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 21:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113352192001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 21:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785599333000,"timestamp_ms":1785599333000,"timestamp_seconds":1785599333,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe039288"} 
[2026-08-01 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-08-01 21:20: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-08-01 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":107,"data_length":795,"current_offset":136} 
[2026-08-01 21: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-08-01 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-08-01 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-08-01 21:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:20: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-08-01 21:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113352192001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113352192001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:20:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:20:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113352192001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":146272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:20:10] local.INFO: GPS data processed {"connection_id":146272,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:20:10] local.INFO: Acknowledgment sent {"connection_id":146272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:20:21] local.INFO: TCP Data received {"connection_id":147498,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe01c980012cc1de80075730400013009029..."} 
[2026-08-01 21:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe01c980012cc1de80075730400013009029..."} 
[2026-08-01 21:20:21] local.INFO: Processing buffer {"connection_id":147498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe01c980012cc1de80075730400013009029..."} 
[2026-08-01 21:20:21] local.INFO: Packet analysis {"connection_id":147498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe01"} 
[2026-08-01 21:20:21] local.INFO: Extracted packet for processing {"connection_id":147498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe01"} 
[2026-08-01 21:20:21] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113322240001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:20:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785599216000,"timestamp_ms":1785599216000,"timestamp_seconds":1785599216,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe01c980"} 
[2026-08-01 21:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:20:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-01 21:20:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:20:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:20:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113322240001,"66":25212,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113322240001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:20:21] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:20:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113322240001,"power":25212,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":147498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:20:21] local.INFO: GPS data processed {"connection_id":147498,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:20:21] local.INFO: Acknowledgment sent {"connection_id":147498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:20:41] local.INFO: TCP Data received {"connection_id":146272,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe039288012d196580071fefa0003b015125..."} 
[2026-08-01 21:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe039288012d196580071fefa0003b015125..."} 
[2026-08-01 21:20:41] local.INFO: Processing buffer {"connection_id":146272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe039288012d196580071fefa0003b015125..."} 
[2026-08-01 21:20:41] local.INFO: Packet analysis {"connection_id":146272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe03"} 
[2026-08-01 21:20:41] local.INFO: Extracted packet for processing {"connection_id":146272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe03"} 
[2026-08-01 21:20:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 21:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113352192001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:20:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 21:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785599333000,"timestamp_ms":1785599333000,"timestamp_seconds":1785599333,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe039288"} 
[2026-08-01 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-08-01 21:20: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-08-01 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":107,"data_length":795,"current_offset":136} 
[2026-08-01 21: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-08-01 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-08-01 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-08-01 21:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":146272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":146272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":146272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:20: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-08-01 21:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113352192001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113352192001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:20:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:20:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:20:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113352192001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":146272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:20:41] local.INFO: GPS data processed {"connection_id":146272,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:20:41] local.INFO: Acknowledgment sent {"connection_id":146272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:20:43] local.INFO: TCP Data received {"connection_id":147499,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:20:43] local.INFO: Processing buffer {"connection_id":147499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:20:43] local.INFO: IMEI packet received {"connection_id":147499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 21:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":147499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:20:48] local.INFO: TCP Data received {"connection_id":147499,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:20:48] local.INFO: Processing buffer {"connection_id":147499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:20:48] local.INFO: IMEI packet received {"connection_id":147499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":147499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:20:49] local.INFO: TCP Data received {"connection_id":147499,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe01c980012cc1de80075730400013009029..."} 
[2026-08-01 21:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe01c980012cc1de80075730400013009029..."} 
[2026-08-01 21:20:49] local.INFO: Processing buffer {"connection_id":147499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe01c980012cc1de80075730400013009029..."} 
[2026-08-01 21:20:49] local.INFO: Packet analysis {"connection_id":147499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe01"} 
[2026-08-01 21:20:49] local.INFO: Extracted packet for processing {"connection_id":147499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe01"} 
[2026-08-01 21:20:49] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113322240001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:20:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:20:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785599216000,"timestamp_ms":1785599216000,"timestamp_seconds":1785599216,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe01c980"} 
[2026-08-01 21:20:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:20:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-01 21:20:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:20:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:20:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113322240001,"66":25212,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113322240001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:20:49] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:20:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113322240001,"power":25212,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":147499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:20:50] local.INFO: GPS data processed {"connection_id":147499,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:20:50] local.INFO: Acknowledgment sent {"connection_id":147499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:20:59] local.INFO: TCP Data received {"connection_id":148812,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:20:59] local.INFO: Processing buffer {"connection_id":148812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:20:59] local.INFO: IMEI packet received {"connection_id":148812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":148812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:21:04] local.INFO: TCP Data received {"connection_id":148812,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:21:04] local.INFO: Processing buffer {"connection_id":148812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:21:04] local.INFO: IMEI packet received {"connection_id":148812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":148812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:21:05] local.INFO: TCP Data received {"connection_id":148812,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe039288012d196580071fefa0003b015125..."} 
[2026-08-01 21:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe039288012d196580071fefa0003b015125..."} 
[2026-08-01 21:21:05] local.INFO: Processing buffer {"connection_id":148812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe039288012d196580071fefa0003b015125..."} 
[2026-08-01 21:21:05] local.INFO: Packet analysis {"connection_id":148812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe03"} 
[2026-08-01 21:21:05] local.INFO: Extracted packet for processing {"connection_id":148812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe03"} 
[2026-08-01 21:21:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113352192001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785599333000,"timestamp_ms":1785599333000,"timestamp_seconds":1785599333,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe039288"} 
[2026-08-01 21:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 21:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:21:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:21:05] 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-08-01 21:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113352192001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113352192001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:21:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:21:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113352192001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":148812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:21:05] local.INFO: GPS data processed {"connection_id":148812,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:21:05] local.INFO: Acknowledgment sent {"connection_id":148812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:21:21] local.INFO: TCP Data received {"connection_id":147499,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe01c980012cc1de80075730400013009029..."} 
[2026-08-01 21:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe01c980012cc1de80075730400013009029..."} 
[2026-08-01 21:21:21] local.INFO: Processing buffer {"connection_id":147499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe01c980012cc1de80075730400013009029..."} 
[2026-08-01 21:21:21] local.INFO: Packet analysis {"connection_id":147499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe01"} 
[2026-08-01 21:21:21] local.INFO: Extracted packet for processing {"connection_id":147499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe01"} 
[2026-08-01 21:21:21] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113322240001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:21:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:21:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785599216000,"timestamp_ms":1785599216000,"timestamp_seconds":1785599216,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe01c980"} 
[2026-08-01 21:21:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:21:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-01 21:21:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:21:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:21:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:21:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113322240001,"66":25212,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113322240001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:21:21] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:21:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113322240001,"power":25212,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":147499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:21:21] local.INFO: GPS data processed {"connection_id":147499,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:21:21] local.INFO: Acknowledgment sent {"connection_id":147499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:21:36] local.INFO: TCP Data received {"connection_id":148812,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe039288012d196580071fefa0003b015125..."} 
[2026-08-01 21:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe039288012d196580071fefa0003b015125..."} 
[2026-08-01 21:21:36] local.INFO: Processing buffer {"connection_id":148812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe039288012d196580071fefa0003b015125..."} 
[2026-08-01 21:21:36] local.INFO: Packet analysis {"connection_id":148812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe03"} 
[2026-08-01 21:21:36] local.INFO: Extracted packet for processing {"connection_id":148812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe03"} 
[2026-08-01 21:21:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113352192001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785599333000,"timestamp_ms":1785599333000,"timestamp_seconds":1785599333,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe039288"} 
[2026-08-01 21:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:21:36] 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-08-01 21:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 21:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:21:36] 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-08-01 21:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113352192001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113352192001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:21:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:21:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113352192001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":148812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:21:36] local.INFO: GPS data processed {"connection_id":148812,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:21:36] local.INFO: Acknowledgment sent {"connection_id":148812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:21:43] local.INFO: TCP Data received {"connection_id":146273,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:21:43] local.INFO: Processing buffer {"connection_id":146273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:21:43] local.INFO: IMEI packet received {"connection_id":146273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 21:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":146273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:21:48] local.INFO: TCP Data received {"connection_id":146273,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:21:48] local.INFO: Processing buffer {"connection_id":146273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:21:48] local.INFO: IMEI packet received {"connection_id":146273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":146273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:21:50] local.INFO: TCP Data received {"connection_id":146273,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe01c980012cc1de80075730400013009029..."} 
[2026-08-01 21:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe01c980012cc1de80075730400013009029..."} 
[2026-08-01 21:21:50] local.INFO: Processing buffer {"connection_id":146273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe01c980012cc1de80075730400013009029..."} 
[2026-08-01 21:21:50] local.INFO: Packet analysis {"connection_id":146273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe01"} 
[2026-08-01 21:21:50] local.INFO: Extracted packet for processing {"connection_id":146273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe01"} 
[2026-08-01 21:21:50] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:21:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113322240001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:21:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:21:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:21:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:21:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785599216000,"timestamp_ms":1785599216000,"timestamp_seconds":1785599216,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe01c980"} 
[2026-08-01 21:21:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:21:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-01 21:21:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:21:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:21:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:21:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:21:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:21:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:21:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:21:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:21:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:21:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:21:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113322240001,"66":25212,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:21:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:21:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:21:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113322240001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:21:50] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:21:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:21:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:21:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113322240001,"power":25212,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:21:50] local.INFO: DEBUG: GPS processor result {"connection_id":146273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:21:50] local.INFO: GPS data processed {"connection_id":146273,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:21:50] local.INFO: Acknowledgment sent {"connection_id":146273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:21:59] local.INFO: TCP Data received {"connection_id":146507,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:21:59] local.INFO: Processing buffer {"connection_id":146507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:21:59] local.INFO: IMEI packet received {"connection_id":146507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":146507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:22:04] local.INFO: TCP Data received {"connection_id":146507,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:22:04] local.INFO: Processing buffer {"connection_id":146507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:22:04] local.INFO: IMEI packet received {"connection_id":146507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":146507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:22:05] local.INFO: TCP Data received {"connection_id":146507,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe039288012d196580071fefa0003b015125..."} 
[2026-08-01 21:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe039288012d196580071fefa0003b015125..."} 
[2026-08-01 21:22:05] local.INFO: Processing buffer {"connection_id":146507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe039288012d196580071fefa0003b015125..."} 
[2026-08-01 21:22:05] local.INFO: Packet analysis {"connection_id":146507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe03"} 
[2026-08-01 21:22:05] local.INFO: Extracted packet for processing {"connection_id":146507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe03"} 
[2026-08-01 21:22:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113352192001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785599333000,"timestamp_ms":1785599333000,"timestamp_seconds":1785599333,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe039288"} 
[2026-08-01 21:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 21:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:22:05] 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-08-01 21:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113352192001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113352192001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:22:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:22:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113352192001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":146507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579295,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:22:05] local.INFO: GPS data processed {"connection_id":146507,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:22:05] local.INFO: Acknowledgment sent {"connection_id":146507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:22:21] local.INFO: TCP Data received {"connection_id":146273,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe01c980012cc1de80075730400013009029..."} 
[2026-08-01 21:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe01c980012cc1de80075730400013009029..."} 
[2026-08-01 21:22:21] local.INFO: Processing buffer {"connection_id":146273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe01c980012cc1de80075730400013009029..."} 
[2026-08-01 21:22:21] local.INFO: Packet analysis {"connection_id":146273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe01"} 
[2026-08-01 21:22:21] local.INFO: Extracted packet for processing {"connection_id":146273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe01"} 
[2026-08-01 21:22:21] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113322240001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:22:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785599216000,"timestamp_ms":1785599216000,"timestamp_seconds":1785599216,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe01c980"} 
[2026-08-01 21:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:22:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-01 21:22:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:22:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:22:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113322240001,"66":25212,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113322240001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:22:21] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:22:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113322240001,"power":25212,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":146273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:22:21] local.INFO: GPS data processed {"connection_id":146273,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:22:21] local.INFO: Acknowledgment sent {"connection_id":146273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:22:36] local.INFO: TCP Data received {"connection_id":146507,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe039288012d196580071fefa0003b015125..."} 
[2026-08-01 21:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe039288012d196580071fefa0003b015125..."} 
[2026-08-01 21:22:36] local.INFO: Processing buffer {"connection_id":146507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe039288012d196580071fefa0003b015125..."} 
[2026-08-01 21:22:36] local.INFO: Packet analysis {"connection_id":146507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe03"} 
[2026-08-01 21:22:36] local.INFO: Extracted packet for processing {"connection_id":146507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe03"} 
[2026-08-01 21:22:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113352192001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785599333000,"timestamp_ms":1785599333000,"timestamp_seconds":1785599333,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe039288"} 
[2026-08-01 21:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:22:36] 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-08-01 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 21:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:22:36] 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-08-01 21:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113352192001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113352192001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:22:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:22:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113352192001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":146507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:22:36] local.INFO: GPS data processed {"connection_id":146507,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:22:36] local.INFO: Acknowledgment sent {"connection_id":146507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:22:48] local.INFO: TCP Data received {"connection_id":148813,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:22:48] local.INFO: Processing buffer {"connection_id":148813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:22:48] local.INFO: IMEI packet received {"connection_id":148813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 21:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":148813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:22:53] local.INFO: TCP Data received {"connection_id":148813,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:22:53] local.INFO: Processing buffer {"connection_id":148813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:22:53] local.INFO: IMEI packet received {"connection_id":148813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":148813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:22:55] local.INFO: TCP Data received {"connection_id":148813,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe066148012cc1de80075730400013009025..."} 
[2026-08-01 21:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe066148012cc1de80075730400013009025..."} 
[2026-08-01 21:22:55] local.INFO: Processing buffer {"connection_id":148813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe066148012cc1de80075730400013009025..."} 
[2026-08-01 21:22:55] local.INFO: Packet analysis {"connection_id":148813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe06"} 
[2026-08-01 21:22:55] local.INFO: Extracted packet for processing {"connection_id":148813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe06"} 
[2026-08-01 21:22:55] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":37,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113399296001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:22:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:22:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785599517000,"timestamp_ms":1785599517000,"timestamp_seconds":1785599517,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe066148"} 
[2026-08-01 21:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:22:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-01 21:22:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:22:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113399296001,"66":25223,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113399296001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:22:55] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:22:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113399296001,"power":25223,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":148813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:22:55] local.INFO: GPS data processed {"connection_id":148813,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:22:55] local.INFO: Acknowledgment sent {"connection_id":148813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:22:59] local.INFO: TCP Data received {"connection_id":148813,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe066148012cc1de80075730400013009025..."} 
[2026-08-01 21:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe066148012cc1de80075730400013009025..."} 
[2026-08-01 21:22:59] local.INFO: Processing buffer {"connection_id":148813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe066148012cc1de80075730400013009025..."} 
[2026-08-01 21:22:59] local.INFO: Packet analysis {"connection_id":148813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe06"} 
[2026-08-01 21:22:59] local.INFO: Extracted packet for processing {"connection_id":148813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe06"} 
[2026-08-01 21:22:59] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":37,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113399296001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:22:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785599517000,"timestamp_ms":1785599517000,"timestamp_seconds":1785599517,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe066148"} 
[2026-08-01 21:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-01 21:22:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:22:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":148813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":148813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":148813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:22:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113399296001,"66":25223,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113399296001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:22:59] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:22:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113399296001,"power":25223,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":148813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:22:59] local.INFO: GPS data processed {"connection_id":148813,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:22:59] local.INFO: Acknowledgment sent {"connection_id":148813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:22:59] local.INFO: TCP Data received {"connection_id":147500,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:22:59] local.INFO: Processing buffer {"connection_id":147500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:22:59] local.INFO: IMEI packet received {"connection_id":147500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":147500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:23:04] local.INFO: TCP Data received {"connection_id":147500,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:23:04] local.INFO: Processing buffer {"connection_id":147500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:23:04] local.INFO: IMEI packet received {"connection_id":147500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":147500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:23:05] local.INFO: TCP Data received {"connection_id":147500,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe039288012d196580071fefa0003b015125..."} 
[2026-08-01 21:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe039288012d196580071fefa0003b015125..."} 
[2026-08-01 21:23:05] local.INFO: Processing buffer {"connection_id":147500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe039288012d196580071fefa0003b015125..."} 
[2026-08-01 21:23:05] local.INFO: Packet analysis {"connection_id":147500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe03"} 
[2026-08-01 21:23:05] local.INFO: Extracted packet for processing {"connection_id":147500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe03"} 
[2026-08-01 21:23:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113352192001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785599333000,"timestamp_ms":1785599333000,"timestamp_seconds":1785599333,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe039288"} 
[2026-08-01 21:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 21:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:23:05] 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-08-01 21:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113352192001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113352192001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:23:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:23:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113352192001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":147500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:23:05] local.INFO: GPS data processed {"connection_id":147500,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:23:05] local.INFO: Acknowledgment sent {"connection_id":147500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:23:36] local.INFO: TCP Data received {"connection_id":147500,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe039288012d196580071fefa0003b015125..."} 
[2026-08-01 21:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe039288012d196580071fefa0003b015125..."} 
[2026-08-01 21:23:36] local.INFO: Processing buffer {"connection_id":147500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe039288012d196580071fefa0003b015125..."} 
[2026-08-01 21:23:36] local.INFO: Packet analysis {"connection_id":147500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe03"} 
[2026-08-01 21:23:36] local.INFO: Extracted packet for processing {"connection_id":147500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe03"} 
[2026-08-01 21:23:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113352192001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785599333000,"timestamp_ms":1785599333000,"timestamp_seconds":1785599333,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe039288"} 
[2026-08-01 21:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:23:36] 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-08-01 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 21:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:23:36] 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-08-01 21:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113352192001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113352192001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:23:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:23:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113352192001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":147500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:23:36] local.INFO: GPS data processed {"connection_id":147500,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:23:36] local.INFO: Acknowledgment sent {"connection_id":147500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:23:44] local.INFO: TCP Data received {"connection_id":146274,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:23:44] local.INFO: Processing buffer {"connection_id":146274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:23:44] local.INFO: IMEI packet received {"connection_id":146274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 21:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":146274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:23:48] local.INFO: TCP Data received {"connection_id":146274,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:23:48] local.INFO: Processing buffer {"connection_id":146274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:23:48] local.INFO: IMEI packet received {"connection_id":146274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":146274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:23:50] local.INFO: TCP Data received {"connection_id":146274,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe066148012cc1de80075730400013009025..."} 
[2026-08-01 21:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe066148012cc1de80075730400013009025..."} 
[2026-08-01 21:23:50] local.INFO: Processing buffer {"connection_id":146274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe066148012cc1de80075730400013009025..."} 
[2026-08-01 21:23:50] local.INFO: Packet analysis {"connection_id":146274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe06"} 
[2026-08-01 21:23:50] local.INFO: Extracted packet for processing {"connection_id":146274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe06"} 
[2026-08-01 21:23:50] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":37,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113399296001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:23:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:23:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785599517000,"timestamp_ms":1785599517000,"timestamp_seconds":1785599517,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe066148"} 
[2026-08-01 21:23:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:23:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-01 21:23:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:23:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:23:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113399296001,"66":25223,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113399296001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:23:50] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:23:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:23:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113399296001,"power":25223,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:23:50] local.INFO: DEBUG: GPS processor result {"connection_id":146274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:23:50] local.INFO: GPS data processed {"connection_id":146274,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:23:50] local.INFO: Acknowledgment sent {"connection_id":146274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:23:59] local.INFO: TCP Data received {"connection_id":146275,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:23:59] local.INFO: Processing buffer {"connection_id":146275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:23:59] local.INFO: IMEI packet received {"connection_id":146275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":146275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:24:04] local.INFO: TCP Data received {"connection_id":146275,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:24:04] local.INFO: Processing buffer {"connection_id":146275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:24:04] local.INFO: IMEI packet received {"connection_id":146275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":146275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:24:05] local.INFO: TCP Data received {"connection_id":146275,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe039288012d196580071fefa0003b015125..."} 
[2026-08-01 21:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe039288012d196580071fefa0003b015125..."} 
[2026-08-01 21:24:05] local.INFO: Processing buffer {"connection_id":146275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe039288012d196580071fefa0003b015125..."} 
[2026-08-01 21:24:05] local.INFO: Packet analysis {"connection_id":146275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe03"} 
[2026-08-01 21:24:05] local.INFO: Extracted packet for processing {"connection_id":146275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe03"} 
[2026-08-01 21:24:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113352192001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785599333000,"timestamp_ms":1785599333000,"timestamp_seconds":1785599333,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe039288"} 
[2026-08-01 21:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 21:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:24:05] 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-08-01 21:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113352192001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113352192001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:24:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:24:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113352192001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":146275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:24:05] local.INFO: GPS data processed {"connection_id":146275,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:24:05] local.INFO: Acknowledgment sent {"connection_id":146275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:24:21] local.INFO: TCP Data received {"connection_id":146274,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe066148012cc1de80075730400013009025..."} 
[2026-08-01 21:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe066148012cc1de80075730400013009025..."} 
[2026-08-01 21:24:21] local.INFO: Processing buffer {"connection_id":146274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe066148012cc1de80075730400013009025..."} 
[2026-08-01 21:24:21] local.INFO: Packet analysis {"connection_id":146274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe06"} 
[2026-08-01 21:24:21] local.INFO: Extracted packet for processing {"connection_id":146274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe06"} 
[2026-08-01 21:24:21] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":37,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:24:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113399296001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:24:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:24:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:24:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:24:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785599517000,"timestamp_ms":1785599517000,"timestamp_seconds":1785599517,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe066148"} 
[2026-08-01 21:24:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:24:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-01 21:24:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:24:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:24:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:24:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:24:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:24:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:24:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:24:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:24:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:24:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:24:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113399296001,"66":25223,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:24:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:24:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:24:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113399296001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:24:21] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:24:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:24:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:24:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113399296001,"power":25223,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:24:21] local.INFO: DEBUG: GPS processor result {"connection_id":146274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:24:21] local.INFO: GPS data processed {"connection_id":146274,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:24:21] local.INFO: Acknowledgment sent {"connection_id":146274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:24:36] local.INFO: TCP Data received {"connection_id":146275,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe082a50012d196580071fefa0003b015123..."} 
[2026-08-01 21:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe082a50012d196580071fefa0003b015123..."} 
[2026-08-01 21:24:36] local.INFO: Processing buffer {"connection_id":146275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe082a50012d196580071fefa0003b015123..."} 
[2026-08-01 21:24:36] local.INFO: Packet analysis {"connection_id":146275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe08"} 
[2026-08-01 21:24:36] local.INFO: Extracted packet for processing {"connection_id":146275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe08"} 
[2026-08-01 21:24:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113429248001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785599634000,"timestamp_ms":1785599634000,"timestamp_seconds":1785599634,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe082a50"} 
[2026-08-01 21:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:24:36] 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-08-01 21:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 21:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:24:36] 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-08-01 21:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113429248001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113429248001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:24:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:24:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113429248001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":146275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:24:36] local.INFO: GPS data processed {"connection_id":146275,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:24:36] local.INFO: Acknowledgment sent {"connection_id":146275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:24:43] local.INFO: TCP Data received {"connection_id":147501,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:24:43] local.INFO: Processing buffer {"connection_id":147501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:24:43] local.INFO: IMEI packet received {"connection_id":147501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 21:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":147501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:24:48] local.INFO: TCP Data received {"connection_id":147501,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:24:48] local.INFO: Processing buffer {"connection_id":147501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:24:48] local.INFO: IMEI packet received {"connection_id":147501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":147501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:24:50] local.INFO: TCP Data received {"connection_id":147501,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe066148012cc1de80075730400013009025..."} 
[2026-08-01 21:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe066148012cc1de80075730400013009025..."} 
[2026-08-01 21:24:50] local.INFO: Processing buffer {"connection_id":147501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe066148012cc1de80075730400013009025..."} 
[2026-08-01 21:24:50] local.INFO: Packet analysis {"connection_id":147501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe06"} 
[2026-08-01 21:24:50] local.INFO: Extracted packet for processing {"connection_id":147501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe06"} 
[2026-08-01 21:24:50] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":37,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113399296001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:24:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:24:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785599517000,"timestamp_ms":1785599517000,"timestamp_seconds":1785599517,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe066148"} 
[2026-08-01 21:24:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:24:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-01 21:24:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:24:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:24:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113399296001,"66":25223,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113399296001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:24:50] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:24:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113399296001,"power":25223,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":147501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:24:50] local.INFO: GPS data processed {"connection_id":147501,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:24:50] local.INFO: Acknowledgment sent {"connection_id":147501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:25:04] local.INFO: TCP Data received {"connection_id":148814,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:25:04] local.INFO: Processing buffer {"connection_id":148814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:25:04] local.INFO: IMEI packet received {"connection_id":148814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":148814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:25:09] local.INFO: TCP Data received {"connection_id":148814,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:25:09] local.INFO: Processing buffer {"connection_id":148814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:25:09] local.INFO: IMEI packet received {"connection_id":148814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":148814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:25:10] local.INFO: TCP Data received {"connection_id":148814,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe082a50012d196580071fefa0003b015123..."} 
[2026-08-01 21:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe082a50012d196580071fefa0003b015123..."} 
[2026-08-01 21:25:10] local.INFO: Processing buffer {"connection_id":148814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe082a50012d196580071fefa0003b015123..."} 
[2026-08-01 21:25:10] local.INFO: Packet analysis {"connection_id":148814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe08"} 
[2026-08-01 21:25:10] local.INFO: Extracted packet for processing {"connection_id":148814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe08"} 
[2026-08-01 21:25:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 21:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113429248001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 21:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785599634000,"timestamp_ms":1785599634000,"timestamp_seconds":1785599634,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe082a50"} 
[2026-08-01 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-08-01 21:25: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-08-01 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-08-01 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-08-01 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-08-01 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-08-01 21:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":148814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":148814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":148814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:25: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-08-01 21:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113429248001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113429248001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:25:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:25:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113429248001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":148814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:25:10] local.INFO: GPS data processed {"connection_id":148814,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:25:10] local.INFO: Acknowledgment sent {"connection_id":148814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:25:22] local.INFO: TCP Data received {"connection_id":147501,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe066148012cc1de80075730400013009025..."} 
[2026-08-01 21:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe066148012cc1de80075730400013009025..."} 
[2026-08-01 21:25:22] local.INFO: Processing buffer {"connection_id":147501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe066148012cc1de80075730400013009025..."} 
[2026-08-01 21:25:22] local.INFO: Packet analysis {"connection_id":147501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe06"} 
[2026-08-01 21:25:22] local.INFO: Extracted packet for processing {"connection_id":147501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe06"} 
[2026-08-01 21:25:22] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":37,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:25:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113399296001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:25:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:25:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:25:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:25:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785599517000,"timestamp_ms":1785599517000,"timestamp_seconds":1785599517,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe066148"} 
[2026-08-01 21:25:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:25:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-01 21:25:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:25:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:25:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:25:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:25:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:25:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:25:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:25:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:25:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:25:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:25:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113399296001,"66":25223,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:25:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:25:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:25:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113399296001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:25:22] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:25:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:25:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:25:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113399296001,"power":25223,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:25:22] local.INFO: DEBUG: GPS processor result {"connection_id":147501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:25:22] local.INFO: GPS data processed {"connection_id":147501,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:25:22] local.INFO: Acknowledgment sent {"connection_id":147501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:25:41] local.INFO: TCP Data received {"connection_id":148814,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe082a50012d196580071fefa0003b015123..."} 
[2026-08-01 21:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe082a50012d196580071fefa0003b015123..."} 
[2026-08-01 21:25:41] local.INFO: Processing buffer {"connection_id":148814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe082a50012d196580071fefa0003b015123..."} 
[2026-08-01 21:25:41] local.INFO: Packet analysis {"connection_id":148814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe08"} 
[2026-08-01 21:25:41] local.INFO: Extracted packet for processing {"connection_id":148814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe08"} 
[2026-08-01 21:25:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 21:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113429248001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 21:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785599634000,"timestamp_ms":1785599634000,"timestamp_seconds":1785599634,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe082a50"} 
[2026-08-01 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-08-01 21:25: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-08-01 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-08-01 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-08-01 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-08-01 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-08-01 21:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":148814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":148814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":148814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:25: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-08-01 21:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113429248001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113429248001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:25:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:25:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113429248001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":148814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579309,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:25:41] local.INFO: GPS data processed {"connection_id":148814,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:25:41] local.INFO: Acknowledgment sent {"connection_id":148814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:25:49] local.INFO: TCP Data received {"connection_id":146508,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:25:49] local.INFO: Processing buffer {"connection_id":146508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:25:49] local.INFO: IMEI packet received {"connection_id":146508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 21:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":146508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:25:53] local.INFO: TCP Data received {"connection_id":146508,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:25:53] local.INFO: Processing buffer {"connection_id":146508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:25:53] local.INFO: IMEI packet received {"connection_id":146508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":146508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:25:59] local.INFO: TCP Data received {"connection_id":147502,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147502,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:25:59] local.INFO: Processing buffer {"connection_id":147502,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:25:59] local.INFO: IMEI packet received {"connection_id":147502,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":147502,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:26:02] local.INFO: TCP Data received {"connection_id":146508,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe066148012cc1de80075730400013009025..."} 
[2026-08-01 21:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe066148012cc1de80075730400013009025..."} 
[2026-08-01 21:26:02] local.INFO: Processing buffer {"connection_id":146508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe066148012cc1de80075730400013009025..."} 
[2026-08-01 21:26:02] local.INFO: Packet analysis {"connection_id":146508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe06"} 
[2026-08-01 21:26:02] local.INFO: Extracted packet for processing {"connection_id":146508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe06"} 
[2026-08-01 21:26:02] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":37,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113399296001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:26:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1785599517000,"timestamp_ms":1785599517000,"timestamp_seconds":1785599517,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe066148"} 
[2026-08-01 21:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:26: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-08-01 21:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-01 21:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:26:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":146508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":146508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":146508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113399296001,"66":25223,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113399296001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:26:02] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:26:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113399296001,"power":25223,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":146508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:26:02] local.INFO: GPS data processed {"connection_id":146508,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:26:02] local.INFO: Acknowledgment sent {"connection_id":146508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:26:04] local.INFO: TCP Data received {"connection_id":147502,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147502,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:26:04] local.INFO: Processing buffer {"connection_id":147502,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:26:04] local.INFO: IMEI packet received {"connection_id":147502,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":147502,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:26:05] local.INFO: TCP Data received {"connection_id":147502,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe082a50012d196580071fefa0003b015123..."} 
[2026-08-01 21:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe082a50012d196580071fefa0003b015123..."} 
[2026-08-01 21:26:05] local.INFO: Processing buffer {"connection_id":147502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe082a50012d196580071fefa0003b015123..."} 
[2026-08-01 21:26:05] local.INFO: Packet analysis {"connection_id":147502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe08"} 
[2026-08-01 21:26:05] local.INFO: Extracted packet for processing {"connection_id":147502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe08"} 
[2026-08-01 21:26:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113429248001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785599634000,"timestamp_ms":1785599634000,"timestamp_seconds":1785599634,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe082a50"} 
[2026-08-01 21:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 21:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:26:05] 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-08-01 21:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113429248001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113429248001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:26:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:26:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113429248001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":147502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:26:05] local.INFO: GPS data processed {"connection_id":147502,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:26:05] local.INFO: Acknowledgment sent {"connection_id":147502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:26:36] local.INFO: TCP Data received {"connection_id":147502,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe082a50012d196580071fefa0003b015123..."} 
[2026-08-01 21:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe082a50012d196580071fefa0003b015123..."} 
[2026-08-01 21:26:36] local.INFO: Processing buffer {"connection_id":147502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe082a50012d196580071fefa0003b015123..."} 
[2026-08-01 21:26:36] local.INFO: Packet analysis {"connection_id":147502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe08"} 
[2026-08-01 21:26:36] local.INFO: Extracted packet for processing {"connection_id":147502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe08"} 
[2026-08-01 21:26:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113429248001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785599634000,"timestamp_ms":1785599634000,"timestamp_seconds":1785599634,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe082a50"} 
[2026-08-01 21:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:26:36] 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-08-01 21:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 21:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:26:36] 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-08-01 21:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113429248001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113429248001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:26:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:26:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113429248001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":147502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:26:36] local.INFO: GPS data processed {"connection_id":147502,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:26:36] local.INFO: Acknowledgment sent {"connection_id":147502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:26:43] local.INFO: TCP Data received {"connection_id":148815,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:26:43] local.INFO: Processing buffer {"connection_id":148815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:26:43] local.INFO: IMEI packet received {"connection_id":148815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 21:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":148815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:26:48] local.INFO: TCP Data received {"connection_id":148815,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:26:48] local.INFO: Processing buffer {"connection_id":148815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:26:48] local.INFO: IMEI packet received {"connection_id":148815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":148815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:26:49] local.INFO: TCP Data received {"connection_id":148815,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe066148012cc1de80075730400013009025..."} 
[2026-08-01 21:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe066148012cc1de80075730400013009025..."} 
[2026-08-01 21:26:50] local.INFO: Processing buffer {"connection_id":148815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe066148012cc1de80075730400013009025..."} 
[2026-08-01 21:26:50] local.INFO: Packet analysis {"connection_id":148815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe06"} 
[2026-08-01 21:26:50] local.INFO: Extracted packet for processing {"connection_id":148815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe06"} 
[2026-08-01 21:26:50] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":37,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:26:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:26:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113399296001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:26:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:26:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:26:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:26:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785599517000,"timestamp_ms":1785599517000,"timestamp_seconds":1785599517,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe066148"} 
[2026-08-01 21:26:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:26:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:26:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-01 21:26:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:26:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:26:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:26:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:26:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:26:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:26:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:26:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:26:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:26:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:26:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113399296001,"66":25223,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:26:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:26:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:26:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113399296001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:26:50] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:26:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:26:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:26:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113399296001,"power":25223,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:26:50] local.INFO: DEBUG: GPS processor result {"connection_id":148815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:26:50] local.INFO: GPS data processed {"connection_id":148815,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:26:50] local.INFO: Acknowledgment sent {"connection_id":148815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:26:59] local.INFO: TCP Data received {"connection_id":146509,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:26:59] local.INFO: Processing buffer {"connection_id":146509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:26:59] local.INFO: IMEI packet received {"connection_id":146509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":146509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:27:04] local.INFO: TCP Data received {"connection_id":146509,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:27:04] local.INFO: Processing buffer {"connection_id":146509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:27:04] local.INFO: IMEI packet received {"connection_id":146509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":146509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:27:05] local.INFO: TCP Data received {"connection_id":146509,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe082a50012d196580071fefa0003b015123..."} 
[2026-08-01 21:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe082a50012d196580071fefa0003b015123..."} 
[2026-08-01 21:27:05] local.INFO: Processing buffer {"connection_id":146509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe082a50012d196580071fefa0003b015123..."} 
[2026-08-01 21:27:05] local.INFO: Packet analysis {"connection_id":146509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe08"} 
[2026-08-01 21:27:05] local.INFO: Extracted packet for processing {"connection_id":146509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe08"} 
[2026-08-01 21:27:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113429248001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785599634000,"timestamp_ms":1785599634000,"timestamp_seconds":1785599634,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe082a50"} 
[2026-08-01 21:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 21:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:27:05] 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-08-01 21:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113429248001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113429248001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:27:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:27:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113429248001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":146509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:27:05] local.INFO: GPS data processed {"connection_id":146509,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:27:05] local.INFO: Acknowledgment sent {"connection_id":146509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:27:21] local.INFO: TCP Data received {"connection_id":148815,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe066148012cc1de80075730400013009025..."} 
[2026-08-01 21:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe066148012cc1de80075730400013009025..."} 
[2026-08-01 21:27:21] local.INFO: Processing buffer {"connection_id":148815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe066148012cc1de80075730400013009025..."} 
[2026-08-01 21:27:21] local.INFO: Packet analysis {"connection_id":148815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe06"} 
[2026-08-01 21:27:21] local.INFO: Extracted packet for processing {"connection_id":148815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe06"} 
[2026-08-01 21:27:21] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":37,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113399296001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:27:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:27:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785599517000,"timestamp_ms":1785599517000,"timestamp_seconds":1785599517,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe066148"} 
[2026-08-01 21:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:27:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-01 21:27:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:27:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:27:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113399296001,"66":25223,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113399296001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:27:21] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:27:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113399296001,"power":25223,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":148815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:27:21] local.INFO: GPS data processed {"connection_id":148815,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:27:21] local.INFO: Acknowledgment sent {"connection_id":148815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:27:36] local.INFO: TCP Data received {"connection_id":146509,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe082a50012d196580071fefa0003b015123..."} 
[2026-08-01 21:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe082a50012d196580071fefa0003b015123..."} 
[2026-08-01 21:27:36] local.INFO: Processing buffer {"connection_id":146509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe082a50012d196580071fefa0003b015123..."} 
[2026-08-01 21:27:36] local.INFO: Packet analysis {"connection_id":146509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe08"} 
[2026-08-01 21:27:36] local.INFO: Extracted packet for processing {"connection_id":146509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe08"} 
[2026-08-01 21:27:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113429248001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785599634000,"timestamp_ms":1785599634000,"timestamp_seconds":1785599634,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe082a50"} 
[2026-08-01 21:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:27:36] 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-08-01 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 21:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:27:36] 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-08-01 21:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113429248001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113429248001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:27:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:27:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113429248001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":146509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:27:36] local.INFO: GPS data processed {"connection_id":146509,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:27:36] local.INFO: Acknowledgment sent {"connection_id":146509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:27:43] local.INFO: TCP Data received {"connection_id":146276,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:27:43] local.INFO: Processing buffer {"connection_id":146276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:27:43] local.INFO: IMEI packet received {"connection_id":146276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 21:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":146276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:27:48] local.INFO: TCP Data received {"connection_id":146276,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:27:48] local.INFO: Processing buffer {"connection_id":146276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:27:48] local.INFO: IMEI packet received {"connection_id":146276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":146276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:27:50] local.INFO: TCP Data received {"connection_id":146276,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe0af910012cc1de80075730400013009029..."} 
[2026-08-01 21:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe0af910012cc1de80075730400013009029..."} 
[2026-08-01 21:27:50] local.INFO: Processing buffer {"connection_id":146276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe0af910012cc1de80075730400013009029..."} 
[2026-08-01 21:27:50] local.INFO: Packet analysis {"connection_id":146276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe0a"} 
[2026-08-01 21:27:50] local.INFO: Extracted packet for processing {"connection_id":146276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe0a"} 
[2026-08-01 21:27:50] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:27:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113476352001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:27:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:27:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:27:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:27:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785599818000,"timestamp_ms":1785599818000,"timestamp_seconds":1785599818,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe0af910"} 
[2026-08-01 21:27:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:27:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-01 21:27:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:27:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:27:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:27:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:27:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:27:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:27:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:27:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:27:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:27:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:27:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113476352001,"66":25223,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:27:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:27:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:27:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113476352001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:27:50] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:27:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:27:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:27:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113476352001,"power":25223,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:27:50] local.INFO: DEBUG: GPS processor result {"connection_id":146276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:27:50] local.INFO: GPS data processed {"connection_id":146276,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:27:50] local.INFO: Acknowledgment sent {"connection_id":146276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:27:59] local.INFO: TCP Data received {"connection_id":146510,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:27:59] local.INFO: Processing buffer {"connection_id":146510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:27:59] local.INFO: IMEI packet received {"connection_id":146510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":146510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:28:04] local.INFO: TCP Data received {"connection_id":146510,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:28:04] local.INFO: Processing buffer {"connection_id":146510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:28:04] local.INFO: IMEI packet received {"connection_id":146510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":146510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:28:05] local.INFO: TCP Data received {"connection_id":146510,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe082a50012d196580071fefa0003b015123..."} 
[2026-08-01 21:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe082a50012d196580071fefa0003b015123..."} 
[2026-08-01 21:28:05] local.INFO: Processing buffer {"connection_id":146510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe082a50012d196580071fefa0003b015123..."} 
[2026-08-01 21:28:05] local.INFO: Packet analysis {"connection_id":146510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe08"} 
[2026-08-01 21:28:05] local.INFO: Extracted packet for processing {"connection_id":146510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe08"} 
[2026-08-01 21:28:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113429248001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785599634000,"timestamp_ms":1785599634000,"timestamp_seconds":1785599634,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe082a50"} 
[2026-08-01 21:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 21:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:28:05] 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-08-01 21:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113429248001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113429248001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:28:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:28:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113429248001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":146510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579318,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:28:05] local.INFO: GPS data processed {"connection_id":146510,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:28:05] local.INFO: Acknowledgment sent {"connection_id":146510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:28:24] local.INFO: TCP Data received {"connection_id":146276,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe0af910012cc1de80075730400013009029..."} 
[2026-08-01 21:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe0af910012cc1de80075730400013009029..."} 
[2026-08-01 21:28:24] local.INFO: Processing buffer {"connection_id":146276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe0af910012cc1de80075730400013009029..."} 
[2026-08-01 21:28:24] local.INFO: Packet analysis {"connection_id":146276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe0a"} 
[2026-08-01 21:28:24] local.INFO: Extracted packet for processing {"connection_id":146276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe0a"} 
[2026-08-01 21:28:24] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113476352001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:28:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:28:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785599818000,"timestamp_ms":1785599818000,"timestamp_seconds":1785599818,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe0af910"} 
[2026-08-01 21:28:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:28:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-01 21:28:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:28:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:28:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":146276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":146276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":146276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:28:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113476352001,"66":25223,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113476352001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:28:24] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:28:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113476352001,"power":25223,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:28:24] local.INFO: DEBUG: GPS processor result {"connection_id":146276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:28:24] local.INFO: GPS data processed {"connection_id":146276,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:28:24] local.INFO: Acknowledgment sent {"connection_id":146276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:28:36] local.INFO: TCP Data received {"connection_id":146510,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe082a50012d196580071fefa0003b015123..."} 
[2026-08-01 21:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe082a50012d196580071fefa0003b015123..."} 
[2026-08-01 21:28:36] local.INFO: Processing buffer {"connection_id":146510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe082a50012d196580071fefa0003b015123..."} 
[2026-08-01 21:28:36] local.INFO: Packet analysis {"connection_id":146510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe08"} 
[2026-08-01 21:28:36] local.INFO: Extracted packet for processing {"connection_id":146510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe08"} 
[2026-08-01 21:28:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113429248001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785599634000,"timestamp_ms":1785599634000,"timestamp_seconds":1785599634,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe082a50"} 
[2026-08-01 21:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:28:36] 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-08-01 21:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 21:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:28:36] 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-08-01 21:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113429248001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113429248001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:28:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:28:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113429248001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":146510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:28:36] local.INFO: GPS data processed {"connection_id":146510,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:28:36] local.INFO: Acknowledgment sent {"connection_id":146510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:28:49] local.INFO: TCP Data received {"connection_id":146277,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:28:49] local.INFO: Processing buffer {"connection_id":146277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:28:49] local.INFO: IMEI packet received {"connection_id":146277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 21:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":146277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:28:59] local.INFO: TCP Data received {"connection_id":146511,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146511,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:28:59] local.INFO: Processing buffer {"connection_id":146511,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:28:59] local.INFO: IMEI packet received {"connection_id":146511,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":146511,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:29:04] local.INFO: TCP Data received {"connection_id":146511,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146511,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:29:04] local.INFO: Processing buffer {"connection_id":146511,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:29:04] local.INFO: IMEI packet received {"connection_id":146511,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":146511,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:29:05] local.INFO: TCP Data received {"connection_id":146511,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe082a50012d196580071fefa0003b015123..."} 
[2026-08-01 21:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe082a50012d196580071fefa0003b015123..."} 
[2026-08-01 21:29:05] local.INFO: Processing buffer {"connection_id":146511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe082a50012d196580071fefa0003b015123..."} 
[2026-08-01 21:29:05] local.INFO: Packet analysis {"connection_id":146511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe08"} 
[2026-08-01 21:29:05] local.INFO: Extracted packet for processing {"connection_id":146511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe08"} 
[2026-08-01 21:29:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113429248001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785599634000,"timestamp_ms":1785599634000,"timestamp_seconds":1785599634,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe082a50"} 
[2026-08-01 21:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 21:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:29:05] 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-08-01 21:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113429248001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113429248001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:29:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:29:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113429248001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":146511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:29:05] local.INFO: GPS data processed {"connection_id":146511,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:29:05] local.INFO: Acknowledgment sent {"connection_id":146511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:29:23] local.INFO: TCP Data received {"connection_id":146277,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:29:23] local.INFO: Processing buffer {"connection_id":146277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:29:23] local.INFO: IMEI packet received {"connection_id":146277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":146277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:29:24] local.INFO: TCP Data received {"connection_id":146277,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:29:24] local.INFO: Processing buffer {"connection_id":146277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:29:24] local.INFO: IMEI packet received {"connection_id":146277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":146277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:29:25] local.INFO: TCP Data received {"connection_id":146277,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe0af910012cc1de80075730400013009029..."} 
[2026-08-01 21:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe0af910012cc1de80075730400013009029..."} 
[2026-08-01 21:29:25] local.INFO: Processing buffer {"connection_id":146277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe0af910012cc1de80075730400013009029..."} 
[2026-08-01 21:29:25] local.INFO: Packet analysis {"connection_id":146277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe0a"} 
[2026-08-01 21:29:25] local.INFO: Extracted packet for processing {"connection_id":146277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe0a"} 
[2026-08-01 21:29:25] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113476352001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:29:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:29:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785599818000,"timestamp_ms":1785599818000,"timestamp_seconds":1785599818,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe0af910"} 
[2026-08-01 21:29:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:29:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-01 21:29:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:29:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:29:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":146277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":146277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":146277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:29:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113476352001,"66":25223,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113476352001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:29:25] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:29:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113476352001,"power":25223,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":146277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:29:25] local.INFO: GPS data processed {"connection_id":146277,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:29:25] local.INFO: Acknowledgment sent {"connection_id":146277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:29:26] local.INFO: TCP Data received {"connection_id":146277,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe0af910012cc1de80075730400013009029..."} 
[2026-08-01 21:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe0af910012cc1de80075730400013009029..."} 
[2026-08-01 21:29:26] local.INFO: Processing buffer {"connection_id":146277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe0af910012cc1de80075730400013009029..."} 
[2026-08-01 21:29:26] local.INFO: Packet analysis {"connection_id":146277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe0a"} 
[2026-08-01 21:29:26] local.INFO: Extracted packet for processing {"connection_id":146277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe0a"} 
[2026-08-01 21:29:26] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:29:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113476352001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:29:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:29:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:29:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:29:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785599818000,"timestamp_ms":1785599818000,"timestamp_seconds":1785599818,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe0af910"} 
[2026-08-01 21:29:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:29:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-01 21:29:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:29:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:29:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:29:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:29:26] local.INFO: Teltonika packet parsed successfully {"connection_id":146277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:29:26] local.INFO: Passing IMEI to GPS processor {"connection_id":146277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:29:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":146277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:29:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:29:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:29:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:29:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113476352001,"66":25223,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:29:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:29:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:29:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113476352001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:29:26] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:29:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:29:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:29:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113476352001,"power":25223,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:29:26] local.INFO: DEBUG: GPS processor result {"connection_id":146277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:29:26] local.INFO: GPS data processed {"connection_id":146277,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:29:26] local.INFO: Acknowledgment sent {"connection_id":146277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:29:36] local.INFO: TCP Data received {"connection_id":146511,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe0cc218012d196580071fefa0003b01511f..."} 
[2026-08-01 21:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe0cc218012d196580071fefa0003b01511f..."} 
[2026-08-01 21:29:36] local.INFO: Processing buffer {"connection_id":146511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe0cc218012d196580071fefa0003b01511f..."} 
[2026-08-01 21:29:36] local.INFO: Packet analysis {"connection_id":146511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe0c"} 
[2026-08-01 21:29:36] local.INFO: Extracted packet for processing {"connection_id":146511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe0c"} 
[2026-08-01 21:29:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":31,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113506304001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785599935000,"timestamp_ms":1785599935000,"timestamp_seconds":1785599935,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe0cc218"} 
[2026-08-01 21:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:29:36] 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-08-01 21:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 21:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:29:36] 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-08-01 21:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113506304001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113506304001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:29:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:29:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113506304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":146511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:29:36] local.INFO: GPS data processed {"connection_id":146511,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:29:36] local.INFO: Acknowledgment sent {"connection_id":146511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:29:44] local.INFO: TCP Data received {"connection_id":147503,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:29:44] local.INFO: Processing buffer {"connection_id":147503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:29:44] local.INFO: IMEI packet received {"connection_id":147503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 21:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":147503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:29:48] local.INFO: TCP Data received {"connection_id":147503,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:29:48] local.INFO: Processing buffer {"connection_id":147503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:29:48] local.INFO: IMEI packet received {"connection_id":147503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":147503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:29:50] local.INFO: TCP Data received {"connection_id":147503,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe0af910012cc1de80075730400013009029..."} 
[2026-08-01 21:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe0af910012cc1de80075730400013009029..."} 
[2026-08-01 21:29:50] local.INFO: Processing buffer {"connection_id":147503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe0af910012cc1de80075730400013009029..."} 
[2026-08-01 21:29:50] local.INFO: Packet analysis {"connection_id":147503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe0a"} 
[2026-08-01 21:29:50] local.INFO: Extracted packet for processing {"connection_id":147503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe0a"} 
[2026-08-01 21:29:50] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113476352001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:29:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:29:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785599818000,"timestamp_ms":1785599818000,"timestamp_seconds":1785599818,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe0af910"} 
[2026-08-01 21:29:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:29:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-01 21:29:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:29:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:29:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113476352001,"66":25223,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113476352001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:29:50] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:29:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113476352001,"power":25223,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":147503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:29:50] local.INFO: GPS data processed {"connection_id":147503,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:29:50] local.INFO: Acknowledgment sent {"connection_id":147503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:29:54] local.INFO: TCP Data received {"connection_id":147503,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe0af910012cc1de80075730400013009029..."} 
[2026-08-01 21:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe0af910012cc1de80075730400013009029..."} 
[2026-08-01 21:29:54] local.INFO: Processing buffer {"connection_id":147503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe0af910012cc1de80075730400013009029..."} 
[2026-08-01 21:29:54] local.INFO: Packet analysis {"connection_id":147503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe0a"} 
[2026-08-01 21:29:54] local.INFO: Extracted packet for processing {"connection_id":147503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe0a"} 
[2026-08-01 21:29:54] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113476352001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:29:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:29:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785599818000,"timestamp_ms":1785599818000,"timestamp_seconds":1785599818,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe0af910"} 
[2026-08-01 21:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:29:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-01 21:29:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:29:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":147503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":147503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":147503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:29:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113476352001,"66":25223,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113476352001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:29:54] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:29:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113476352001,"power":25223,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":147503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:29:54] local.INFO: GPS data processed {"connection_id":147503,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:29:54] local.INFO: Acknowledgment sent {"connection_id":147503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:30:04] local.INFO: TCP Data received {"connection_id":148816,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:30:04] local.INFO: Processing buffer {"connection_id":148816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:30:04] local.INFO: IMEI packet received {"connection_id":148816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":148816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:30:09] local.INFO: TCP Data received {"connection_id":148816,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:30:09] local.INFO: Processing buffer {"connection_id":148816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:30:09] local.INFO: IMEI packet received {"connection_id":148816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":148816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:30:10] local.INFO: TCP Data received {"connection_id":148816,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe0cc218012d196580071fefa0003b01511f..."} 
[2026-08-01 21:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe0cc218012d196580071fefa0003b01511f..."} 
[2026-08-01 21:30:10] local.INFO: Processing buffer {"connection_id":148816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe0cc218012d196580071fefa0003b01511f..."} 
[2026-08-01 21:30:10] local.INFO: Packet analysis {"connection_id":148816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe0c"} 
[2026-08-01 21:30:10] local.INFO: Extracted packet for processing {"connection_id":148816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe0c"} 
[2026-08-01 21:30:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":31,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 21:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113506304001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 21:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785599935000,"timestamp_ms":1785599935000,"timestamp_seconds":1785599935,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe0cc218"} 
[2026-08-01 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-08-01 21:30: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-08-01 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":107,"data_length":795,"current_offset":136} 
[2026-08-01 21: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-08-01 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-08-01 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-08-01 21:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":148816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":148816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":148816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:30: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-08-01 21:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113506304001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113506304001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:30:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:30:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113506304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":148816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:30:10] local.INFO: GPS data processed {"connection_id":148816,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:30:10] local.INFO: Acknowledgment sent {"connection_id":148816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:30:26] local.INFO: TCP Data received {"connection_id":147503,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe0af910012cc1de80075730400013009029..."} 
[2026-08-01 21:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe0af910012cc1de80075730400013009029..."} 
[2026-08-01 21:30:26] local.INFO: Processing buffer {"connection_id":147503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe0af910012cc1de80075730400013009029..."} 
[2026-08-01 21:30:26] local.INFO: Packet analysis {"connection_id":147503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe0a"} 
[2026-08-01 21:30:26] local.INFO: Extracted packet for processing {"connection_id":147503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe0a"} 
[2026-08-01 21:30:26] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:30:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113476352001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:30:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:30:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:30:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:30:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785599818000,"timestamp_ms":1785599818000,"timestamp_seconds":1785599818,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe0af910"} 
[2026-08-01 21:30:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:30:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-01 21:30:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:30:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:30:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:30:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:30:26] local.INFO: Teltonika packet parsed successfully {"connection_id":147503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:30:26] local.INFO: Passing IMEI to GPS processor {"connection_id":147503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:30:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":147503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:30:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:30:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:30:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:30:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113476352001,"66":25223,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:30:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:30:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:30:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113476352001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:30:26] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:30:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:30:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:30:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113476352001,"power":25223,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:30:26] local.INFO: DEBUG: GPS processor result {"connection_id":147503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:30:26] local.INFO: GPS data processed {"connection_id":147503,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:30:26] local.INFO: Acknowledgment sent {"connection_id":147503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:30:41] local.INFO: TCP Data received {"connection_id":148816,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe0cc218012d196580071fefa0003b01511f..."} 
[2026-08-01 21:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe0cc218012d196580071fefa0003b01511f..."} 
[2026-08-01 21:30:41] local.INFO: Processing buffer {"connection_id":148816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe0cc218012d196580071fefa0003b01511f..."} 
[2026-08-01 21:30:41] local.INFO: Packet analysis {"connection_id":148816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe0c"} 
[2026-08-01 21:30:41] local.INFO: Extracted packet for processing {"connection_id":148816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe0c"} 
[2026-08-01 21:30:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":31,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 21:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113506304001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:30:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 21:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785599935000,"timestamp_ms":1785599935000,"timestamp_seconds":1785599935,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe0cc218"} 
[2026-08-01 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-08-01 21:30: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-08-01 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":107,"data_length":795,"current_offset":136} 
[2026-08-01 21: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-08-01 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-08-01 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-08-01 21:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":148816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":148816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":148816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:30: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-08-01 21:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113506304001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113506304001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:30:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:30:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:30:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113506304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":148816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:30:41] local.INFO: GPS data processed {"connection_id":148816,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:30:41] local.INFO: Acknowledgment sent {"connection_id":148816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:30:43] local.INFO: TCP Data received {"connection_id":148817,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:30:43] local.INFO: Processing buffer {"connection_id":148817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:30:43] local.INFO: IMEI packet received {"connection_id":148817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 21:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":148817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:30:48] local.INFO: TCP Data received {"connection_id":148817,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:30:48] local.INFO: Processing buffer {"connection_id":148817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:30:48] local.INFO: IMEI packet received {"connection_id":148817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":148817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:30:49] local.INFO: TCP Data received {"connection_id":148817,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe0af910012cc1de80075730400013009029..."} 
[2026-08-01 21:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe0af910012cc1de80075730400013009029..."} 
[2026-08-01 21:30:49] local.INFO: Processing buffer {"connection_id":148817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe0af910012cc1de80075730400013009029..."} 
[2026-08-01 21:30:49] local.INFO: Packet analysis {"connection_id":148817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe0a"} 
[2026-08-01 21:30:49] local.INFO: Extracted packet for processing {"connection_id":148817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe0a"} 
[2026-08-01 21:30:49] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:30:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113476352001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:30:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:30:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:30:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:30:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785599818000,"timestamp_ms":1785599818000,"timestamp_seconds":1785599818,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe0af910"} 
[2026-08-01 21:30:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:30:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-01 21:30:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:30:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:30:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:30:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:30:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:30:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:30:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:30:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:30:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:30:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:30:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113476352001,"66":25223,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:30:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:30:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:30:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113476352001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:30:49] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:30:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:30:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:30:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113476352001,"power":25223,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":148817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:30:50] local.INFO: GPS data processed {"connection_id":148817,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:30:50] local.INFO: Acknowledgment sent {"connection_id":148817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:30:59] local.INFO: TCP Data received {"connection_id":147504,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:30:59] local.INFO: Processing buffer {"connection_id":147504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:30:59] local.INFO: IMEI packet received {"connection_id":147504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":147504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:31:04] local.INFO: TCP Data received {"connection_id":147504,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:31:04] local.INFO: Processing buffer {"connection_id":147504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:31:04] local.INFO: IMEI packet received {"connection_id":147504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":147504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:31:05] local.INFO: TCP Data received {"connection_id":147504,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe0cc218012d196580071fefa0003b01511f..."} 
[2026-08-01 21:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe0cc218012d196580071fefa0003b01511f..."} 
[2026-08-01 21:31:05] local.INFO: Processing buffer {"connection_id":147504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe0cc218012d196580071fefa0003b01511f..."} 
[2026-08-01 21:31:05] local.INFO: Packet analysis {"connection_id":147504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe0c"} 
[2026-08-01 21:31:05] local.INFO: Extracted packet for processing {"connection_id":147504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe0c"} 
[2026-08-01 21:31:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":31,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113506304001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785599935000,"timestamp_ms":1785599935000,"timestamp_seconds":1785599935,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe0cc218"} 
[2026-08-01 21:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:31:05] 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-08-01 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 21:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:31:05] 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-08-01 21:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113506304001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113506304001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:31:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:31:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113506304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":147504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:31:05] local.INFO: GPS data processed {"connection_id":147504,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:31:05] local.INFO: Acknowledgment sent {"connection_id":147504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:31:21] local.INFO: TCP Data received {"connection_id":148817,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe0af910012cc1de80075730400013009029..."} 
[2026-08-01 21:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe0af910012cc1de80075730400013009029..."} 
[2026-08-01 21:31:21] local.INFO: Processing buffer {"connection_id":148817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe0af910012cc1de80075730400013009029..."} 
[2026-08-01 21:31:21] local.INFO: Packet analysis {"connection_id":148817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe0a"} 
[2026-08-01 21:31:21] local.INFO: Extracted packet for processing {"connection_id":148817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe0a"} 
[2026-08-01 21:31:21] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113476352001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:31:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:31:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785599818000,"timestamp_ms":1785599818000,"timestamp_seconds":1785599818,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe0af910"} 
[2026-08-01 21:31:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:31:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-01 21:31:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:31:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:31:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:31:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113476352001,"66":25223,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113476352001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:31:21] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:31:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113476352001,"power":25223,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":148817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:31:21] local.INFO: GPS data processed {"connection_id":148817,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:31:21] local.INFO: Acknowledgment sent {"connection_id":148817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:31:36] local.INFO: TCP Data received {"connection_id":147504,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe0cc218012d196580071fefa0003b01511f..."} 
[2026-08-01 21:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe0cc218012d196580071fefa0003b01511f..."} 
[2026-08-01 21:31:36] local.INFO: Processing buffer {"connection_id":147504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe0cc218012d196580071fefa0003b01511f..."} 
[2026-08-01 21:31:36] local.INFO: Packet analysis {"connection_id":147504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe0c"} 
[2026-08-01 21:31:36] local.INFO: Extracted packet for processing {"connection_id":147504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe0c"} 
[2026-08-01 21:31:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":31,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113506304001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785599935000,"timestamp_ms":1785599935000,"timestamp_seconds":1785599935,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe0cc218"} 
[2026-08-01 21:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:31:36] 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-08-01 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 21:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:31:36] 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-08-01 21:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113506304001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113506304001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:31:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:31:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113506304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":147504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:31:36] local.INFO: GPS data processed {"connection_id":147504,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:31:36] local.INFO: Acknowledgment sent {"connection_id":147504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:31:43] local.INFO: TCP Data received {"connection_id":147505,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:31:43] local.INFO: Processing buffer {"connection_id":147505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:31:43] local.INFO: IMEI packet received {"connection_id":147505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 21:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":147505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:31:48] local.INFO: TCP Data received {"connection_id":147505,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:31:48] local.INFO: Processing buffer {"connection_id":147505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:31:48] local.INFO: IMEI packet received {"connection_id":147505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":147505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:31:49] local.INFO: TCP Data received {"connection_id":147505,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe0af910012cc1de80075730400013009029..."} 
[2026-08-01 21:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe0af910012cc1de80075730400013009029..."} 
[2026-08-01 21:31:49] local.INFO: Processing buffer {"connection_id":147505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe0af910012cc1de80075730400013009029..."} 
[2026-08-01 21:31:49] local.INFO: Packet analysis {"connection_id":147505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe0a"} 
[2026-08-01 21:31:49] local.INFO: Extracted packet for processing {"connection_id":147505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe0a"} 
[2026-08-01 21:31:49] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113476352001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:31:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:31:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785599818000,"timestamp_ms":1785599818000,"timestamp_seconds":1785599818,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe0af910"} 
[2026-08-01 21:31:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:31:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-01 21:31:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:31:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:31:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:31:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113476352001,"66":25223,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113476352001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:31:49] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:31:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113476352001,"power":25223,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":147505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:31:49] local.INFO: GPS data processed {"connection_id":147505,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:31:49] local.INFO: Acknowledgment sent {"connection_id":147505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:31:59] local.INFO: TCP Data received {"connection_id":146278,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:31:59] local.INFO: Processing buffer {"connection_id":146278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:31:59] local.INFO: IMEI packet received {"connection_id":146278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":146278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:32:04] local.INFO: TCP Data received {"connection_id":146278,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:32:04] local.INFO: Processing buffer {"connection_id":146278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:32:04] local.INFO: IMEI packet received {"connection_id":146278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":146278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:32:05] local.INFO: TCP Data received {"connection_id":146278,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe0cc218012d196580071fefa0003b01511f..."} 
[2026-08-01 21:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe0cc218012d196580071fefa0003b01511f..."} 
[2026-08-01 21:32:05] local.INFO: Processing buffer {"connection_id":146278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe0cc218012d196580071fefa0003b01511f..."} 
[2026-08-01 21:32:05] local.INFO: Packet analysis {"connection_id":146278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe0c"} 
[2026-08-01 21:32:05] local.INFO: Extracted packet for processing {"connection_id":146278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe0c"} 
[2026-08-01 21:32:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":31,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113506304001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785599935000,"timestamp_ms":1785599935000,"timestamp_seconds":1785599935,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe0cc218"} 
[2026-08-01 21:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:32:05] 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-08-01 21:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 21:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:32:05] 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-08-01 21:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113506304001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113506304001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:32:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:32:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113506304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":146278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:32:05] local.INFO: GPS data processed {"connection_id":146278,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:32:05] local.INFO: Acknowledgment sent {"connection_id":146278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:32:21] local.INFO: TCP Data received {"connection_id":147505,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe0af910012cc1de80075730400013009029..."} 
[2026-08-01 21:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe0af910012cc1de80075730400013009029..."} 
[2026-08-01 21:32:21] local.INFO: Processing buffer {"connection_id":147505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe0af910012cc1de80075730400013009029..."} 
[2026-08-01 21:32:21] local.INFO: Packet analysis {"connection_id":147505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe0a"} 
[2026-08-01 21:32:21] local.INFO: Extracted packet for processing {"connection_id":147505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe0a"} 
[2026-08-01 21:32:21] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113476352001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:32:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:32:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785599818000,"timestamp_ms":1785599818000,"timestamp_seconds":1785599818,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe0af910"} 
[2026-08-01 21:32:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:32:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-01 21:32:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:32:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:32:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:32:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113476352001,"66":25223,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113476352001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:32:21] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:32:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113476352001,"power":25223,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":147505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:32:21] local.INFO: GPS data processed {"connection_id":147505,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:32:21] local.INFO: Acknowledgment sent {"connection_id":147505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:32:36] local.INFO: TCP Data received {"connection_id":146278,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe0cc218012d196580071fefa0003b01511f..."} 
[2026-08-01 21:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe0cc218012d196580071fefa0003b01511f..."} 
[2026-08-01 21:32:36] local.INFO: Processing buffer {"connection_id":146278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe0cc218012d196580071fefa0003b01511f..."} 
[2026-08-01 21:32:36] local.INFO: Packet analysis {"connection_id":146278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe0c"} 
[2026-08-01 21:32:36] local.INFO: Extracted packet for processing {"connection_id":146278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe0c"} 
[2026-08-01 21:32:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":31,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113506304001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785599935000,"timestamp_ms":1785599935000,"timestamp_seconds":1785599935,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe0cc218"} 
[2026-08-01 21:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:32:36] 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-08-01 21:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 21:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:32:36] 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-08-01 21:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113506304001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113506304001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:32:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:32:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113506304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":146278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579337,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:32:36] local.INFO: GPS data processed {"connection_id":146278,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:32:36] local.INFO: Acknowledgment sent {"connection_id":146278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:32:43] local.INFO: TCP Data received {"connection_id":146512,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:32:43] local.INFO: Processing buffer {"connection_id":146512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:32:43] local.INFO: IMEI packet received {"connection_id":146512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 21:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":146512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:32:48] local.INFO: TCP Data received {"connection_id":146512,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:32:48] local.INFO: Processing buffer {"connection_id":146512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:32:48] local.INFO: IMEI packet received {"connection_id":146512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":146512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:32:49] local.INFO: TCP Data received {"connection_id":146512,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe0f90d8012cc1de80075730400013009027..."} 
[2026-08-01 21:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe0f90d8012cc1de80075730400013009027..."} 
[2026-08-01 21:32:49] local.INFO: Processing buffer {"connection_id":146512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe0f90d8012cc1de80075730400013009027..."} 
[2026-08-01 21:32:49] local.INFO: Packet analysis {"connection_id":146512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe0f"} 
[2026-08-01 21:32:49] local.INFO: Extracted packet for processing {"connection_id":146512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe0f"} 
[2026-08-01 21:32:49] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":39,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113553408001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:32:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:32:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785600119000,"timestamp_ms":1785600119000,"timestamp_seconds":1785600119,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe0f90d8"} 
[2026-08-01 21:32:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:32:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-01 21:32:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:32:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:32:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:32:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:32:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:32:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:32:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:32:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:32:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:32:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:32:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113553408001,"66":25223,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:32:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:32:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:32:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113553408001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:32:50] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:32:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:32:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:32:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113553408001,"power":25223,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:32:50] local.INFO: DEBUG: GPS processor result {"connection_id":146512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:32:50] local.INFO: GPS data processed {"connection_id":146512,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:32:50] local.INFO: Acknowledgment sent {"connection_id":146512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:32:59] local.INFO: TCP Data received {"connection_id":148818,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:32:59] local.INFO: Processing buffer {"connection_id":148818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:32:59] local.INFO: IMEI packet received {"connection_id":148818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":148818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:33:04] local.INFO: TCP Data received {"connection_id":148818,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:33:04] local.INFO: Processing buffer {"connection_id":148818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:33:04] local.INFO: IMEI packet received {"connection_id":148818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":148818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:33:05] local.INFO: TCP Data received {"connection_id":148818,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe0cc218012d196580071fefa0003b01511f..."} 
[2026-08-01 21:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe0cc218012d196580071fefa0003b01511f..."} 
[2026-08-01 21:33:05] local.INFO: Processing buffer {"connection_id":148818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe0cc218012d196580071fefa0003b01511f..."} 
[2026-08-01 21:33:05] local.INFO: Packet analysis {"connection_id":148818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe0c"} 
[2026-08-01 21:33:05] local.INFO: Extracted packet for processing {"connection_id":148818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe0c"} 
[2026-08-01 21:33:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":31,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113506304001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785599935000,"timestamp_ms":1785599935000,"timestamp_seconds":1785599935,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe0cc218"} 
[2026-08-01 21:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:33:05] 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-08-01 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 21:33:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:33:05] 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-08-01 21:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113506304001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113506304001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:33:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:33:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113506304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":148818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579339,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:33:05] local.INFO: GPS data processed {"connection_id":148818,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:33:05] local.INFO: Acknowledgment sent {"connection_id":148818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:33:21] local.INFO: TCP Data received {"connection_id":146512,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe0f90d8012cc1de80075730400013009027..."} 
[2026-08-01 21:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe0f90d8012cc1de80075730400013009027..."} 
[2026-08-01 21:33:21] local.INFO: Processing buffer {"connection_id":146512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe0f90d8012cc1de80075730400013009027..."} 
[2026-08-01 21:33:21] local.INFO: Packet analysis {"connection_id":146512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe0f"} 
[2026-08-01 21:33:21] local.INFO: Extracted packet for processing {"connection_id":146512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe0f"} 
[2026-08-01 21:33:21] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":39,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113553408001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:33:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:33:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785600119000,"timestamp_ms":1785600119000,"timestamp_seconds":1785600119,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe0f90d8"} 
[2026-08-01 21:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:33:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-01 21:33:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:33:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:33:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113553408001,"66":25223,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113553408001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:33:21] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:33:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113553408001,"power":25223,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":146512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:33:21] local.INFO: GPS data processed {"connection_id":146512,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:33:21] local.INFO: Acknowledgment sent {"connection_id":146512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:33:36] local.INFO: TCP Data received {"connection_id":148818,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe0cc218012d196580071fefa0003b01511f..."} 
[2026-08-01 21:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe0cc218012d196580071fefa0003b01511f..."} 
[2026-08-01 21:33:36] local.INFO: Processing buffer {"connection_id":148818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe0cc218012d196580071fefa0003b01511f..."} 
[2026-08-01 21:33:36] local.INFO: Packet analysis {"connection_id":148818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe0c"} 
[2026-08-01 21:33:36] local.INFO: Extracted packet for processing {"connection_id":148818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe0c"} 
[2026-08-01 21:33:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":31,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113506304001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785599935000,"timestamp_ms":1785599935000,"timestamp_seconds":1785599935,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe0cc218"} 
[2026-08-01 21:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:33:36] 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-08-01 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 21:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:33:36] 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-08-01 21:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113506304001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113506304001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:33:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:33:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113506304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":148818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:33:36] local.INFO: GPS data processed {"connection_id":148818,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:33:36] local.INFO: Acknowledgment sent {"connection_id":148818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:33:48] local.INFO: TCP Data received {"connection_id":146279,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:33:48] local.INFO: Processing buffer {"connection_id":146279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:33:48] local.INFO: IMEI packet received {"connection_id":146279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 21:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":146279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:33:53] local.INFO: TCP Data received {"connection_id":146279,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:33:53] local.INFO: Processing buffer {"connection_id":146279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:33:53] local.INFO: IMEI packet received {"connection_id":146279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":146279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:33:54] local.INFO: TCP Data received {"connection_id":146279,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe0f90d8012cc1de80075730400013009027..."} 
[2026-08-01 21:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe0f90d8012cc1de80075730400013009027..."} 
[2026-08-01 21:33:54] local.INFO: Processing buffer {"connection_id":146279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe0f90d8012cc1de80075730400013009027..."} 
[2026-08-01 21:33:54] local.INFO: Packet analysis {"connection_id":146279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe0f"} 
[2026-08-01 21:33:54] local.INFO: Extracted packet for processing {"connection_id":146279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe0f"} 
[2026-08-01 21:33:54] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":39,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113553408001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:33:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:33:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785600119000,"timestamp_ms":1785600119000,"timestamp_seconds":1785600119,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe0f90d8"} 
[2026-08-01 21:33:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:33:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-01 21:33:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:33:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:33:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:33:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113553408001,"66":25223,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113553408001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:33:54] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:33:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113553408001,"power":25223,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":146279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:33:54] local.INFO: GPS data processed {"connection_id":146279,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:33:54] local.INFO: Acknowledgment sent {"connection_id":146279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:33:59] local.INFO: TCP Data received {"connection_id":146279,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe0f90d8012cc1de80075730400013009027..."} 
[2026-08-01 21:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe0f90d8012cc1de80075730400013009027..."} 
[2026-08-01 21:33:59] local.INFO: Processing buffer {"connection_id":146279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe0f90d8012cc1de80075730400013009027..."} 
[2026-08-01 21:33:59] local.INFO: Packet analysis {"connection_id":146279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe0f"} 
[2026-08-01 21:33:59] local.INFO: Extracted packet for processing {"connection_id":146279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe0f"} 
[2026-08-01 21:33:59] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":39,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 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-08-01 21:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113553408001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:33:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785600119000,"timestamp_ms":1785600119000,"timestamp_seconds":1785600119,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe0f90d8"} 
[2026-08-01 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-08-01 21:33: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-08-01 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-01 21:33:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 21:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":146279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":146279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":146279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113553408001,"66":25223,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113553408001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:33:59] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:33:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113553408001,"power":25223,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":146279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:33:59] local.INFO: GPS data processed {"connection_id":146279,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:33:59] local.INFO: Acknowledgment sent {"connection_id":146279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:34:04] local.INFO: TCP Data received {"connection_id":148819,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:34:04] local.INFO: Processing buffer {"connection_id":148819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:34:04] local.INFO: IMEI packet received {"connection_id":148819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":148819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:34:09] local.INFO: TCP Data received {"connection_id":148819,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:34:09] local.INFO: Processing buffer {"connection_id":148819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:34:09] local.INFO: IMEI packet received {"connection_id":148819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":148819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:34:10] local.INFO: TCP Data received {"connection_id":148819,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe0cc218012d196580071fefa0003b01511f..."} 
[2026-08-01 21:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe0cc218012d196580071fefa0003b01511f..."} 
[2026-08-01 21:34:10] local.INFO: Processing buffer {"connection_id":148819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe0cc218012d196580071fefa0003b01511f..."} 
[2026-08-01 21:34:10] local.INFO: Packet analysis {"connection_id":148819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe0c"} 
[2026-08-01 21:34:10] local.INFO: Extracted packet for processing {"connection_id":148819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe0c"} 
[2026-08-01 21:34:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":31,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 21:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113506304001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 21:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785599935000,"timestamp_ms":1785599935000,"timestamp_seconds":1785599935,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe0cc218"} 
[2026-08-01 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-08-01 21:34: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-08-01 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-08-01 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-08-01 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-08-01 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-08-01 21:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":148819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":148819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":148819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:34: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-08-01 21:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113506304001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113506304001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:34:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:34:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113506304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":148819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:34:10] local.INFO: GPS data processed {"connection_id":148819,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:34:10] local.INFO: Acknowledgment sent {"connection_id":148819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:34:15] local.INFO: TCP Data received {"connection_id":148819,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe0cc218012d196580071fefa0003b01511f..."} 
[2026-08-01 21:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe0cc218012d196580071fefa0003b01511f..."} 
[2026-08-01 21:34:15] local.INFO: Processing buffer {"connection_id":148819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe0cc218012d196580071fefa0003b01511f..."} 
[2026-08-01 21:34:15] local.INFO: Packet analysis {"connection_id":148819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe0c"} 
[2026-08-01 21:34:15] local.INFO: Extracted packet for processing {"connection_id":148819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe0c"} 
[2026-08-01 21:34:15] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":31,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113506304001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21: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-08-01 21:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785599935000,"timestamp_ms":1785599935000,"timestamp_seconds":1785599935,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe0cc218"} 
[2026-08-01 21:34:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:34: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-08-01 21: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-08-01 21: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-08-01 21: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-08-01 21:34:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:34: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-08-01 21:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113506304001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113506304001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:34:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:34:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113506304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":148819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:34:15] local.INFO: GPS data processed {"connection_id":148819,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:34:15] local.INFO: Acknowledgment sent {"connection_id":148819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:34:43] local.INFO: TCP Data received {"connection_id":147506,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:34:43] local.INFO: Processing buffer {"connection_id":147506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:34:43] local.INFO: IMEI packet received {"connection_id":147506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 21:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":147506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:34:48] local.INFO: TCP Data received {"connection_id":147506,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:34:48] local.INFO: Processing buffer {"connection_id":147506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:34:48] local.INFO: IMEI packet received {"connection_id":147506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":147506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:34:49] local.INFO: TCP Data received {"connection_id":147506,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe0f90d8012cc1de80075730400013009027..."} 
[2026-08-01 21:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe0f90d8012cc1de80075730400013009027..."} 
[2026-08-01 21:34:49] local.INFO: Processing buffer {"connection_id":147506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe0f90d8012cc1de80075730400013009027..."} 
[2026-08-01 21:34:49] local.INFO: Packet analysis {"connection_id":147506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe0f"} 
[2026-08-01 21:34:49] local.INFO: Extracted packet for processing {"connection_id":147506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe0f"} 
[2026-08-01 21:34:49] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":39,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113553408001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:34:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:34:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785600119000,"timestamp_ms":1785600119000,"timestamp_seconds":1785600119,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe0f90d8"} 
[2026-08-01 21:34:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:34:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-01 21:34:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:34:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:34:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113553408001,"66":25223,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113553408001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:34:49] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:34:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:34:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113553408001,"power":25223,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:34:49] local.INFO: DEBUG: GPS processor result {"connection_id":147506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:34:49] local.INFO: GPS data processed {"connection_id":147506,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:34:49] local.INFO: Acknowledgment sent {"connection_id":147506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:34:59] local.INFO: TCP Data received {"connection_id":148820,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:34:59] local.INFO: Processing buffer {"connection_id":148820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:34:59] local.INFO: IMEI packet received {"connection_id":148820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":148820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:35:04] local.INFO: TCP Data received {"connection_id":148820,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:35:04] local.INFO: Processing buffer {"connection_id":148820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:35:04] local.INFO: IMEI packet received {"connection_id":148820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":148820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:35:05] local.INFO: TCP Data received {"connection_id":148820,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe1159e0012d196580071fefa0003b015127..."} 
[2026-08-01 21:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe1159e0012d196580071fefa0003b015127..."} 
[2026-08-01 21:35:05] local.INFO: Processing buffer {"connection_id":148820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe1159e0012d196580071fefa0003b015127..."} 
[2026-08-01 21:35:05] local.INFO: Packet analysis {"connection_id":148820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe11"} 
[2026-08-01 21:35:05] local.INFO: Extracted packet for processing {"connection_id":148820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe11"} 
[2026-08-01 21:35:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113583360001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785600236000,"timestamp_ms":1785600236000,"timestamp_seconds":1785600236,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe1159e0"} 
[2026-08-01 21:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 21:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:35:05] 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-08-01 21:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113583360001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113583360001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:35:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:35:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113583360001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":148820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:35:05] local.INFO: GPS data processed {"connection_id":148820,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:35:05] local.INFO: Acknowledgment sent {"connection_id":148820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:35:21] local.INFO: TCP Data received {"connection_id":147506,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe0f90d8012cc1de80075730400013009027..."} 
[2026-08-01 21:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe0f90d8012cc1de80075730400013009027..."} 
[2026-08-01 21:35:21] local.INFO: Processing buffer {"connection_id":147506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe0f90d8012cc1de80075730400013009027..."} 
[2026-08-01 21:35:21] local.INFO: Packet analysis {"connection_id":147506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe0f"} 
[2026-08-01 21:35:21] local.INFO: Extracted packet for processing {"connection_id":147506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe0f"} 
[2026-08-01 21:35:21] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":39,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113553408001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:35:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:35:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785600119000,"timestamp_ms":1785600119000,"timestamp_seconds":1785600119,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe0f90d8"} 
[2026-08-01 21:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:35:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-01 21:35:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:35:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:35:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113553408001,"66":25223,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113553408001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:35:21] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:35:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113553408001,"power":25223,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":147506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:35:21] local.INFO: GPS data processed {"connection_id":147506,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:35:21] local.INFO: Acknowledgment sent {"connection_id":147506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:35:36] local.INFO: TCP Data received {"connection_id":148820,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe1159e0012d196580071fefa0003b015127..."} 
[2026-08-01 21:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe1159e0012d196580071fefa0003b015127..."} 
[2026-08-01 21:35:36] local.INFO: Processing buffer {"connection_id":148820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe1159e0012d196580071fefa0003b015127..."} 
[2026-08-01 21:35:36] local.INFO: Packet analysis {"connection_id":148820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe11"} 
[2026-08-01 21:35:36] local.INFO: Extracted packet for processing {"connection_id":148820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe11"} 
[2026-08-01 21:35:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113583360001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785600236000,"timestamp_ms":1785600236000,"timestamp_seconds":1785600236,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe1159e0"} 
[2026-08-01 21:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:35:36] 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-08-01 21:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 21:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:35:36] 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-08-01 21:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113583360001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113583360001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:35:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:35:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113583360001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":148820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:35:36] local.INFO: GPS data processed {"connection_id":148820,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:35:36] local.INFO: Acknowledgment sent {"connection_id":148820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:35:44] local.INFO: TCP Data received {"connection_id":146513,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:35:44] local.INFO: Processing buffer {"connection_id":146513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:35:44] local.INFO: IMEI packet received {"connection_id":146513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 21:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":146513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:35:48] local.INFO: TCP Data received {"connection_id":146513,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:35:48] local.INFO: Processing buffer {"connection_id":146513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:35:48] local.INFO: IMEI packet received {"connection_id":146513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":146513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:35:49] local.INFO: TCP Data received {"connection_id":146513,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe0f90d8012cc1de80075730400013009027..."} 
[2026-08-01 21:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe0f90d8012cc1de80075730400013009027..."} 
[2026-08-01 21:35:49] local.INFO: Processing buffer {"connection_id":146513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe0f90d8012cc1de80075730400013009027..."} 
[2026-08-01 21:35:49] local.INFO: Packet analysis {"connection_id":146513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe0f"} 
[2026-08-01 21:35:49] local.INFO: Extracted packet for processing {"connection_id":146513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe0f"} 
[2026-08-01 21:35:49] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":39,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:35:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113553408001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:35:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:35:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:35:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:35:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785600119000,"timestamp_ms":1785600119000,"timestamp_seconds":1785600119,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe0f90d8"} 
[2026-08-01 21:35:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:35:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-01 21:35:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:35:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:35:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:35:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:35:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:35:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:35:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:35:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:35:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:35:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:35:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113553408001,"66":25223,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:35:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:35:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:35:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113553408001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:35:49] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:35:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:35:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:35:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113553408001,"power":25223,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":146513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:35:50] local.INFO: GPS data processed {"connection_id":146513,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:35:50] local.INFO: Acknowledgment sent {"connection_id":146513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:35:59] local.INFO: TCP Data received {"connection_id":148821,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:35:59] local.INFO: Processing buffer {"connection_id":148821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:35:59] local.INFO: IMEI packet received {"connection_id":148821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":148821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:36:04] local.INFO: TCP Data received {"connection_id":148821,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:36:04] local.INFO: Processing buffer {"connection_id":148821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:36:04] local.INFO: IMEI packet received {"connection_id":148821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":148821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:36:05] local.INFO: TCP Data received {"connection_id":148821,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe1159e0012d196580071fefa0003b015127..."} 
[2026-08-01 21:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe1159e0012d196580071fefa0003b015127..."} 
[2026-08-01 21:36:05] local.INFO: Processing buffer {"connection_id":148821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe1159e0012d196580071fefa0003b015127..."} 
[2026-08-01 21:36:05] local.INFO: Packet analysis {"connection_id":148821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe11"} 
[2026-08-01 21:36:05] local.INFO: Extracted packet for processing {"connection_id":148821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe11"} 
[2026-08-01 21:36:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113583360001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785600236000,"timestamp_ms":1785600236000,"timestamp_seconds":1785600236,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe1159e0"} 
[2026-08-01 21:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 21:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:36:05] 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-08-01 21:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113583360001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113583360001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:36:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:36:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113583360001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":148821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579351,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:36:05] local.INFO: GPS data processed {"connection_id":148821,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:36:05] local.INFO: Acknowledgment sent {"connection_id":148821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:36:24] local.INFO: TCP Data received {"connection_id":146513,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe0f90d8012cc1de80075730400013009027..."} 
[2026-08-01 21:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe0f90d8012cc1de80075730400013009027..."} 
[2026-08-01 21:36:24] local.INFO: Processing buffer {"connection_id":146513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe0f90d8012cc1de80075730400013009027..."} 
[2026-08-01 21:36:24] local.INFO: Packet analysis {"connection_id":146513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe0f"} 
[2026-08-01 21:36:24] local.INFO: Extracted packet for processing {"connection_id":146513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe0f"} 
[2026-08-01 21:36:24] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":39,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113553408001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:36:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:36:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785600119000,"timestamp_ms":1785600119000,"timestamp_seconds":1785600119,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe0f90d8"} 
[2026-08-01 21:36:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:36:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-01 21:36:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:36:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:36:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":146513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":146513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":146513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:36:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113553408001,"66":25223,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113553408001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:36:24] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:36:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113553408001,"power":25223,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":146513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:36:24] local.INFO: GPS data processed {"connection_id":146513,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:36:24] local.INFO: Acknowledgment sent {"connection_id":146513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:36:36] local.INFO: TCP Data received {"connection_id":148821,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe1159e0012d196580071fefa0003b015127..."} 
[2026-08-01 21:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe1159e0012d196580071fefa0003b015127..."} 
[2026-08-01 21:36:36] local.INFO: Processing buffer {"connection_id":148821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe1159e0012d196580071fefa0003b015127..."} 
[2026-08-01 21:36:36] local.INFO: Packet analysis {"connection_id":148821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe11"} 
[2026-08-01 21:36:36] local.INFO: Extracted packet for processing {"connection_id":148821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe11"} 
[2026-08-01 21:36:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113583360001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785600236000,"timestamp_ms":1785600236000,"timestamp_seconds":1785600236,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe1159e0"} 
[2026-08-01 21:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:36:36] 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-08-01 21:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 21:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:36:36] 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-08-01 21:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113583360001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113583360001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:36:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:36:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113583360001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":148821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:36:36] local.INFO: GPS data processed {"connection_id":148821,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:36:36] local.INFO: Acknowledgment sent {"connection_id":148821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:36:43] local.INFO: TCP Data received {"connection_id":146514,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:36:43] local.INFO: Processing buffer {"connection_id":146514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:36:43] local.INFO: IMEI packet received {"connection_id":146514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 21:36:43] local.INFO: IMEI acknowledgment sent {"connection_id":146514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:36:48] local.INFO: TCP Data received {"connection_id":146514,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:36:48] local.INFO: Processing buffer {"connection_id":146514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:36:48] local.INFO: IMEI packet received {"connection_id":146514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":146514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:36:49] local.INFO: TCP Data received {"connection_id":146514,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe0f90d8012cc1de80075730400013009027..."} 
[2026-08-01 21:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe0f90d8012cc1de80075730400013009027..."} 
[2026-08-01 21:36:49] local.INFO: Processing buffer {"connection_id":146514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe0f90d8012cc1de80075730400013009027..."} 
[2026-08-01 21:36:49] local.INFO: Packet analysis {"connection_id":146514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe0f"} 
[2026-08-01 21:36:49] local.INFO: Extracted packet for processing {"connection_id":146514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe0f"} 
[2026-08-01 21:36:49] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":39,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113553408001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:36:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:36:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785600119000,"timestamp_ms":1785600119000,"timestamp_seconds":1785600119,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe0f90d8"} 
[2026-08-01 21:36:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:36:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-01 21:36:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:36:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:36:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:36:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113553408001,"66":25223,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113553408001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:36:49] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:36:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113553408001,"power":25223,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:36:50] local.INFO: DEBUG: GPS processor result {"connection_id":146514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:36:50] local.INFO: GPS data processed {"connection_id":146514,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:36:50] local.INFO: Acknowledgment sent {"connection_id":146514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:37:00] local.INFO: TCP Data received {"connection_id":147507,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:37:00] local.INFO: Processing buffer {"connection_id":147507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:37:00] local.INFO: IMEI packet received {"connection_id":147507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":147507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:37:04] local.INFO: TCP Data received {"connection_id":147507,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:37:04] local.INFO: Processing buffer {"connection_id":147507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:37:04] local.INFO: IMEI packet received {"connection_id":147507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":147507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:37:05] local.INFO: TCP Data received {"connection_id":147507,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe1159e0012d196580071fefa0003b015127..."} 
[2026-08-01 21:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe1159e0012d196580071fefa0003b015127..."} 
[2026-08-01 21:37:05] local.INFO: Processing buffer {"connection_id":147507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe1159e0012d196580071fefa0003b015127..."} 
[2026-08-01 21:37:05] local.INFO: Packet analysis {"connection_id":147507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe11"} 
[2026-08-01 21:37:05] local.INFO: Extracted packet for processing {"connection_id":147507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe11"} 
[2026-08-01 21:37:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113583360001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785600236000,"timestamp_ms":1785600236000,"timestamp_seconds":1785600236,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe1159e0"} 
[2026-08-01 21:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 21:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:37:05] 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-08-01 21:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113583360001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113583360001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:37:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:37:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113583360001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":147507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:37:05] local.INFO: GPS data processed {"connection_id":147507,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:37:05] local.INFO: Acknowledgment sent {"connection_id":147507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:37:21] local.INFO: TCP Data received {"connection_id":146514,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe0f90d8012cc1de80075730400013009027..."} 
[2026-08-01 21:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe0f90d8012cc1de80075730400013009027..."} 
[2026-08-01 21:37:21] local.INFO: Processing buffer {"connection_id":146514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe0f90d8012cc1de80075730400013009027..."} 
[2026-08-01 21:37:21] local.INFO: Packet analysis {"connection_id":146514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe0f"} 
[2026-08-01 21:37:21] local.INFO: Extracted packet for processing {"connection_id":146514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe0f"} 
[2026-08-01 21:37:21] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":39,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113553408001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:37:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785600119000,"timestamp_ms":1785600119000,"timestamp_seconds":1785600119,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe0f90d8"} 
[2026-08-01 21:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:37:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-01 21:37:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:37:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113553408001,"66":25223,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113553408001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:37:21] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:37:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113553408001,"power":25223,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":146514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:37:21] local.INFO: GPS data processed {"connection_id":146514,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:37:21] local.INFO: Acknowledgment sent {"connection_id":146514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:37:36] local.INFO: TCP Data received {"connection_id":147507,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe1159e0012d196580071fefa0003b015127..."} 
[2026-08-01 21:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe1159e0012d196580071fefa0003b015127..."} 
[2026-08-01 21:37:36] local.INFO: Processing buffer {"connection_id":147507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe1159e0012d196580071fefa0003b015127..."} 
[2026-08-01 21:37:36] local.INFO: Packet analysis {"connection_id":147507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe11"} 
[2026-08-01 21:37:36] local.INFO: Extracted packet for processing {"connection_id":147507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe11"} 
[2026-08-01 21:37:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113583360001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785600236000,"timestamp_ms":1785600236000,"timestamp_seconds":1785600236,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe1159e0"} 
[2026-08-01 21:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:37:36] 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-08-01 21:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 21:37:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:37:36] 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-08-01 21:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113583360001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113583360001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:37:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:37:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113583360001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":147507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:37:36] local.INFO: GPS data processed {"connection_id":147507,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:37:36] local.INFO: Acknowledgment sent {"connection_id":147507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:37:43] local.INFO: TCP Data received {"connection_id":146280,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:37:43] local.INFO: Processing buffer {"connection_id":146280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:37:43] local.INFO: IMEI packet received {"connection_id":146280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 21:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":146280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:37:48] local.INFO: TCP Data received {"connection_id":146280,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:37:48] local.INFO: Processing buffer {"connection_id":146280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:37:48] local.INFO: IMEI packet received {"connection_id":146280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":146280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:37:50] local.INFO: TCP Data received {"connection_id":146280,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe1428a0012cc1de80075730400013009028..."} 
[2026-08-01 21:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe1428a0012cc1de80075730400013009028..."} 
[2026-08-01 21:37:50] local.INFO: Processing buffer {"connection_id":146280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe1428a0012cc1de80075730400013009028..."} 
[2026-08-01 21:37:50] local.INFO: Packet analysis {"connection_id":146280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe14"} 
[2026-08-01 21:37:50] local.INFO: Extracted packet for processing {"connection_id":146280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe14"} 
[2026-08-01 21:37:50] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:37:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113630464001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:37:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:37:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:37:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:37:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785600420000,"timestamp_ms":1785600420000,"timestamp_seconds":1785600420,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe1428a0"} 
[2026-08-01 21:37:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:37:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-01 21:37:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:37:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:37:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:37:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:37:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:37:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:37:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:37:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:37:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:37:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:37:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113630464001,"66":25191,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:37:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:37:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:37:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113630464001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:37:50] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:37:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:37:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:37:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113630464001,"power":25191,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:37:50] local.INFO: DEBUG: GPS processor result {"connection_id":146280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:37:50] local.INFO: GPS data processed {"connection_id":146280,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:37:50] local.INFO: Acknowledgment sent {"connection_id":146280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:37:59] local.INFO: TCP Data received {"connection_id":147508,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147508,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:37:59] local.INFO: Processing buffer {"connection_id":147508,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:37:59] local.INFO: IMEI packet received {"connection_id":147508,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":147508,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:38:04] local.INFO: TCP Data received {"connection_id":147508,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147508,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:38:04] local.INFO: Processing buffer {"connection_id":147508,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:38:04] local.INFO: IMEI packet received {"connection_id":147508,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":147508,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:38:05] local.INFO: TCP Data received {"connection_id":147508,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe1159e0012d196580071fefa0003b015127..."} 
[2026-08-01 21:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe1159e0012d196580071fefa0003b015127..."} 
[2026-08-01 21:38:05] local.INFO: Processing buffer {"connection_id":147508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe1159e0012d196580071fefa0003b015127..."} 
[2026-08-01 21:38:05] local.INFO: Packet analysis {"connection_id":147508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe11"} 
[2026-08-01 21:38:05] local.INFO: Extracted packet for processing {"connection_id":147508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe11"} 
[2026-08-01 21:38:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113583360001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785600236000,"timestamp_ms":1785600236000,"timestamp_seconds":1785600236,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe1159e0"} 
[2026-08-01 21:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 21:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:38:05] 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-08-01 21:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113583360001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113583360001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:38:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:38:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113583360001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":147508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:38:05] local.INFO: GPS data processed {"connection_id":147508,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:38:05] local.INFO: Acknowledgment sent {"connection_id":147508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:38:21] local.INFO: TCP Data received {"connection_id":146280,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe1428a0012cc1de80075730400013009028..."} 
[2026-08-01 21:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe1428a0012cc1de80075730400013009028..."} 
[2026-08-01 21:38:21] local.INFO: Processing buffer {"connection_id":146280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe1428a0012cc1de80075730400013009028..."} 
[2026-08-01 21:38:21] local.INFO: Packet analysis {"connection_id":146280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe14"} 
[2026-08-01 21:38:21] local.INFO: Extracted packet for processing {"connection_id":146280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe14"} 
[2026-08-01 21:38:21] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113630464001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:38:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:38:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785600420000,"timestamp_ms":1785600420000,"timestamp_seconds":1785600420,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe1428a0"} 
[2026-08-01 21:38:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:38:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-01 21:38:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:38:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:38:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:38:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113630464001,"66":25191,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113630464001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:38:21] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:38:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113630464001,"power":25191,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":146280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:38:21] local.INFO: GPS data processed {"connection_id":146280,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:38:21] local.INFO: Acknowledgment sent {"connection_id":146280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:38:36] local.INFO: TCP Data received {"connection_id":147508,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe1159e0012d196580071fefa0003b015127..."} 
[2026-08-01 21:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe1159e0012d196580071fefa0003b015127..."} 
[2026-08-01 21:38:36] local.INFO: Processing buffer {"connection_id":147508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe1159e0012d196580071fefa0003b015127..."} 
[2026-08-01 21:38:36] local.INFO: Packet analysis {"connection_id":147508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe11"} 
[2026-08-01 21:38:36] local.INFO: Extracted packet for processing {"connection_id":147508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe11"} 
[2026-08-01 21:38:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113583360001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785600236000,"timestamp_ms":1785600236000,"timestamp_seconds":1785600236,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe1159e0"} 
[2026-08-01 21:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:38:36] 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-08-01 21:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 21:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:38:36] 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-08-01 21:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113583360001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113583360001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:38:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:38:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113583360001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":147508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:38:36] local.INFO: GPS data processed {"connection_id":147508,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:38:36] local.INFO: Acknowledgment sent {"connection_id":147508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:38:43] local.INFO: TCP Data received {"connection_id":146281,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:38:43] local.INFO: Processing buffer {"connection_id":146281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:38:43] local.INFO: IMEI packet received {"connection_id":146281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 21:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":146281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:38:48] local.INFO: TCP Data received {"connection_id":146281,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:38:48] local.INFO: Processing buffer {"connection_id":146281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:38:48] local.INFO: IMEI packet received {"connection_id":146281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":146281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:38:49] local.INFO: TCP Data received {"connection_id":146281,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe1428a0012cc1de80075730400013009028..."} 
[2026-08-01 21:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe1428a0012cc1de80075730400013009028..."} 
[2026-08-01 21:38:49] local.INFO: Processing buffer {"connection_id":146281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe1428a0012cc1de80075730400013009028..."} 
[2026-08-01 21:38:49] local.INFO: Packet analysis {"connection_id":146281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe14"} 
[2026-08-01 21:38:49] local.INFO: Extracted packet for processing {"connection_id":146281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe14"} 
[2026-08-01 21:38:49] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113630464001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:38:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:38:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785600420000,"timestamp_ms":1785600420000,"timestamp_seconds":1785600420,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe1428a0"} 
[2026-08-01 21:38:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:38:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-01 21:38:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:38:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:38:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:38:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113630464001,"66":25191,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113630464001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:38:49] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:38:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:38:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113630464001,"power":25191,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":146281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:38:50] local.INFO: GPS data processed {"connection_id":146281,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:38:50] local.INFO: Acknowledgment sent {"connection_id":146281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:38:59] local.INFO: TCP Data received {"connection_id":148822,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:38:59] local.INFO: Processing buffer {"connection_id":148822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:38:59] local.INFO: IMEI packet received {"connection_id":148822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":148822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:39:04] local.INFO: TCP Data received {"connection_id":148822,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:39:04] local.INFO: Processing buffer {"connection_id":148822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:39:04] local.INFO: IMEI packet received {"connection_id":148822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":148822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:39:05] local.INFO: TCP Data received {"connection_id":148822,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe1159e0012d196580071fefa0003b015127..."} 
[2026-08-01 21:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe1159e0012d196580071fefa0003b015127..."} 
[2026-08-01 21:39:05] local.INFO: Processing buffer {"connection_id":148822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe1159e0012d196580071fefa0003b015127..."} 
[2026-08-01 21:39:05] local.INFO: Packet analysis {"connection_id":148822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe11"} 
[2026-08-01 21:39:05] local.INFO: Extracted packet for processing {"connection_id":148822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe11"} 
[2026-08-01 21:39:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113583360001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785600236000,"timestamp_ms":1785600236000,"timestamp_seconds":1785600236,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe1159e0"} 
[2026-08-01 21:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 21:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:39:05] 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-08-01 21:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113583360001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113583360001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:39:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:39:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113583360001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":148822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:39:05] local.INFO: GPS data processed {"connection_id":148822,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:39:05] local.INFO: Acknowledgment sent {"connection_id":148822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:39:21] local.INFO: TCP Data received {"connection_id":146281,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe1428a0012cc1de80075730400013009028..."} 
[2026-08-01 21:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe1428a0012cc1de80075730400013009028..."} 
[2026-08-01 21:39:21] local.INFO: Processing buffer {"connection_id":146281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe1428a0012cc1de80075730400013009028..."} 
[2026-08-01 21:39:21] local.INFO: Packet analysis {"connection_id":146281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe14"} 
[2026-08-01 21:39:21] local.INFO: Extracted packet for processing {"connection_id":146281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe14"} 
[2026-08-01 21:39:21] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113630464001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:39:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785600420000,"timestamp_ms":1785600420000,"timestamp_seconds":1785600420,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe1428a0"} 
[2026-08-01 21:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-01 21:39:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:39:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:39:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113630464001,"66":25191,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113630464001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:39:21] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:39:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113630464001,"power":25191,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":146281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:39:21] local.INFO: GPS data processed {"connection_id":146281,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:39:21] local.INFO: Acknowledgment sent {"connection_id":146281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:39:36] local.INFO: TCP Data received {"connection_id":148822,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe15f1a8012d196580071fefa0003b015126..."} 
[2026-08-01 21:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe15f1a8012d196580071fefa0003b015126..."} 
[2026-08-01 21:39:36] local.INFO: Processing buffer {"connection_id":148822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe15f1a8012d196580071fefa0003b015126..."} 
[2026-08-01 21:39:36] local.INFO: Packet analysis {"connection_id":148822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe15"} 
[2026-08-01 21:39:36] local.INFO: Extracted packet for processing {"connection_id":148822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe15"} 
[2026-08-01 21:39:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113660416001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785600537000,"timestamp_ms":1785600537000,"timestamp_seconds":1785600537,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe15f1a8"} 
[2026-08-01 21:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:39:36] 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-08-01 21:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 21:39:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:39:36] 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-08-01 21:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113660416001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113660416001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:39:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:39:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113660416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":148822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579365,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:39:36] local.INFO: GPS data processed {"connection_id":148822,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:39:36] local.INFO: Acknowledgment sent {"connection_id":148822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:39:43] local.INFO: TCP Data received {"connection_id":147509,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:39:43] local.INFO: Processing buffer {"connection_id":147509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:39:43] local.INFO: IMEI packet received {"connection_id":147509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 21:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":147509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:39:48] local.INFO: TCP Data received {"connection_id":147509,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:39:48] local.INFO: Processing buffer {"connection_id":147509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:39:48] local.INFO: IMEI packet received {"connection_id":147509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":147509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:39:57] local.INFO: TCP Data received {"connection_id":147509,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe15f978012cc1de80075730400013009029..."} 
[2026-08-01 21:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe15f978012cc1de80075730400013009029..."} 
[2026-08-01 21:39:57] local.INFO: Processing buffer {"connection_id":147509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe15f978012cc1de80075730400013009029..."} 
[2026-08-01 21:39:57] local.INFO: Packet analysis {"connection_id":147509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe15"} 
[2026-08-01 21:39:57] local.INFO: Extracted packet for processing {"connection_id":147509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe15"} 
[2026-08-01 21:39:57] local.INFO: GPS Element Parsed {"raw_longitude":750902912,"raw_latitude":123154496,"longitude_deg":75.0902912,"latitude_deg":12.3154496,"altitude":19,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2cc1de80","hex_latitude":"07573040","is_valid_coordinates":true} 
[2026-08-01 21:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:39:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113707520001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:39:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:39:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:39:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:39:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785600539000,"timestamp_ms":1785600539000,"timestamp_seconds":1785600539,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe15f978"} 
[2026-08-01 21:39:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:39:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-01 21:39:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:39:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:39:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:39:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:39:57] local.INFO: Teltonika packet parsed successfully {"connection_id":147509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:39:57] local.INFO: Passing IMEI to GPS processor {"connection_id":147509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:39:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":147509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:39:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:39:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:39:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:39:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113707520001,"66":25191,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:39:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:39:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:39:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113707520001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:39:57] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:39:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:39:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:39:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113707520001,"power":25191,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:39:57] local.INFO: DEBUG: GPS processor result {"connection_id":147509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:39:57] local.INFO: GPS data processed {"connection_id":147509,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:39:57] local.INFO: Acknowledgment sent {"connection_id":147509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:40:04] local.INFO: TCP Data received {"connection_id":146515,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:40:04] local.INFO: Processing buffer {"connection_id":146515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:40:04] local.INFO: IMEI packet received {"connection_id":146515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":146515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:40:09] local.INFO: TCP Data received {"connection_id":146515,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:40:09] local.INFO: Processing buffer {"connection_id":146515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:40:09] local.INFO: IMEI packet received {"connection_id":146515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":146515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:40:10] local.INFO: TCP Data received {"connection_id":146515,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe15f1a8012d196580071fefa0003b015126..."} 
[2026-08-01 21:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe15f1a8012d196580071fefa0003b015126..."} 
[2026-08-01 21:40:10] local.INFO: Processing buffer {"connection_id":146515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe15f1a8012d196580071fefa0003b015126..."} 
[2026-08-01 21:40:10] local.INFO: Packet analysis {"connection_id":146515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe15"} 
[2026-08-01 21:40:10] local.INFO: Extracted packet for processing {"connection_id":146515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe15"} 
[2026-08-01 21:40:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113660416001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21: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-08-01 21:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785600537000,"timestamp_ms":1785600537000,"timestamp_seconds":1785600537,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe15f1a8"} 
[2026-08-01 21:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:40: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-08-01 21: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":96,"data_length":795,"current_offset":136} 
[2026-08-01 21:40: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-08-01 21: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-08-01 21:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:40: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-08-01 21:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113660416001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113660416001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:40:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:40:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113660416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":146515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:40:10] local.INFO: GPS data processed {"connection_id":146515,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:40:10] local.INFO: Acknowledgment sent {"connection_id":146515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:40:29] local.INFO: TCP Data received {"connection_id":147509,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe160148012cc1e000075736800013004029..."} 
[2026-08-01 21:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe160148012cc1e000075736800013004029..."} 
[2026-08-01 21:40:29] local.INFO: Processing buffer {"connection_id":147509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe160148012cc1e000075736800013004029..."} 
[2026-08-01 21:40:29] local.INFO: Packet analysis {"connection_id":147509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe16"} 
[2026-08-01 21:40:29] local.INFO: Extracted packet for processing {"connection_id":147509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe16"} 
[2026-08-01 21:40:29] local.INFO: GPS Element Parsed {"raw_longitude":750903296,"raw_latitude":123156096,"longitude_deg":75.0903296,"latitude_deg":12.3156096,"altitude":19,"angle":64,"satellites":41,"speed":0,"hex_longitude":"2cc1e000","hex_latitude":"07573680","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113737984001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950027106451456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:40:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477000210543788032,"note":"Value kept but may cause issues"} 
[2026-08-01 21:40:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785600541000,"timestamp_ms":1785600541000,"timestamp_seconds":1785600541,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe160148"} 
[2026-08-01 21:40:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:40: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-08-01 21: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-01 21:40:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:40:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":147509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":147509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":147509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:40:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113737984001,"66":25071,"56":206,"2":54016,"24":0,"16":366950027106451456,"44":-4477000210543788032},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113737984001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:40:29] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950027106451456,"km_value":366950027106451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:40:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477000210543788032,"description":"Unknown IO ID 44"} 
[2026-08-01 21:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113737984001,"power":25071,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477000210543788032}} 
[2026-08-01 21:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":147509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:40:29] local.INFO: GPS data processed {"connection_id":147509,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:40:29] local.INFO: Acknowledgment sent {"connection_id":147509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:40:41] local.INFO: TCP Data received {"connection_id":147510,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:40:41] local.INFO: Processing buffer {"connection_id":147510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:40:41] local.INFO: IMEI packet received {"connection_id":147510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 21:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":147510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:40:41] local.INFO: TCP Data received {"connection_id":146515,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe15f1a8012d196580071fefa0003b015126..."} 
[2026-08-01 21:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe15f1a8012d196580071fefa0003b015126..."} 
[2026-08-01 21:40:41] local.INFO: Processing buffer {"connection_id":146515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe15f1a8012d196580071fefa0003b015126..."} 
[2026-08-01 21:40:41] local.INFO: Packet analysis {"connection_id":146515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe15"} 
[2026-08-01 21:40:41] local.INFO: Extracted packet for processing {"connection_id":146515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe15"} 
[2026-08-01 21:40:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113660416001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21: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-08-01 21:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785600537000,"timestamp_ms":1785600537000,"timestamp_seconds":1785600537,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe15f1a8"} 
[2026-08-01 21:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:40: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-08-01 21:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 21:40: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-08-01 21:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":146515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":146515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":146515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:40: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-08-01 21:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113660416001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113660416001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:40:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:40:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113660416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":146515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:40:41] local.INFO: GPS data processed {"connection_id":146515,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:40:41] local.INFO: Acknowledgment sent {"connection_id":146515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:40:43] local.INFO: TCP Data received {"connection_id":147510,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:40:43] local.INFO: Processing buffer {"connection_id":147510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:40:43] local.INFO: IMEI packet received {"connection_id":147510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":147510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:40:43] local.INFO: TCP Data received {"connection_id":147510,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:40:43] local.INFO: Processing buffer {"connection_id":147510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:40:43] local.INFO: IMEI packet received {"connection_id":147510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":147510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:40:46] local.INFO: TCP Data received {"connection_id":147510,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:40:46] local.INFO: Processing buffer {"connection_id":147510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:40:46] local.INFO: IMEI packet received {"connection_id":147510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":147510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:40:47] local.INFO: TCP Data received {"connection_id":147510,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe165350012cc1dc80075736b0001c00472b..."} 
[2026-08-01 21:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe165350012cc1dc80075736b0001c00472b..."} 
[2026-08-01 21:40:47] local.INFO: Processing buffer {"connection_id":147510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe165350012cc1dc80075736b0001c00472b..."} 
[2026-08-01 21:40:47] local.INFO: Packet analysis {"connection_id":147510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe16"} 
[2026-08-01 21:40:47] local.INFO: Extracted packet for processing {"connection_id":147510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe16"} 
[2026-08-01 21:40:47] local.INFO: GPS Element Parsed {"raw_longitude":750902400,"raw_latitude":123156144,"longitude_deg":75.09024,"latitude_deg":12.3156144,"altitude":28,"angle":71,"satellites":43,"speed":0,"hex_longitude":"2cc1dc80","hex_latitude":"075736b0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113738496001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950070056124416,"note":"Value kept but may cause issues"} 
[2026-08-01 21:40:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4476577998078312448,"note":"Value kept but may cause issues"} 
[2026-08-01 21:40:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785600562000,"timestamp_ms":1785600562000,"timestamp_seconds":1785600562,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe165350"} 
[2026-08-01 21:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:40: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-08-01 21: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-01 21:40:47] 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-08-01 21: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-08-01 21:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":147510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":147510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":147510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:40:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113738496001,"66":27300,"56":206,"2":54016,"24":0,"16":366950070056124416,"44":-4476577998078312448},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113738496001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:40:47] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950070056124416,"km_value":366950070056124.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:40:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4476577998078312448,"description":"Unknown IO ID 44"} 
[2026-08-01 21:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113738496001,"power":27300,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4476577998078312448}} 
[2026-08-01 21:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":147510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:40:47] local.INFO: GPS data processed {"connection_id":147510,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:40:47] local.INFO: Acknowledgment sent {"connection_id":147510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:40:59] local.INFO: TCP Data received {"connection_id":147511,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147511,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:40:59] local.INFO: Processing buffer {"connection_id":147511,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:40:59] local.INFO: IMEI packet received {"connection_id":147511,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":147511,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:41:04] local.INFO: TCP Data received {"connection_id":147511,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147511,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:41:04] local.INFO: Processing buffer {"connection_id":147511,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:41:04] local.INFO: IMEI packet received {"connection_id":147511,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":147511,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:41:05] local.INFO: TCP Data received {"connection_id":147511,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe15f1a8012d196580071fefa0003b015126..."} 
[2026-08-01 21:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe15f1a8012d196580071fefa0003b015126..."} 
[2026-08-01 21:41:05] local.INFO: Processing buffer {"connection_id":147511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe15f1a8012d196580071fefa0003b015126..."} 
[2026-08-01 21:41:05] local.INFO: Packet analysis {"connection_id":147511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe15"} 
[2026-08-01 21:41:05] local.INFO: Extracted packet for processing {"connection_id":147511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe15"} 
[2026-08-01 21:41:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113660416001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785600537000,"timestamp_ms":1785600537000,"timestamp_seconds":1785600537,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe15f1a8"} 
[2026-08-01 21:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 21:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:41:05] 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-08-01 21:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113660416001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113660416001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:41:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:41:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113660416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":147511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:41:05] local.INFO: GPS data processed {"connection_id":147511,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:41:05] local.INFO: Acknowledgment sent {"connection_id":147511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:41:19] local.INFO: TCP Data received {"connection_id":147510,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe16a558012cc1dc80075736a8001c004729..."} 
[2026-08-01 21:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe16a558012cc1dc80075736a8001c004729..."} 
[2026-08-01 21:41:19] local.INFO: Processing buffer {"connection_id":147510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe16a558012cc1dc80075736a8001c004729..."} 
[2026-08-01 21:41:19] local.INFO: Packet analysis {"connection_id":147510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe16"} 
[2026-08-01 21:41:19] local.INFO: Extracted packet for processing {"connection_id":147510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe16"} 
[2026-08-01 21:41:19] local.INFO: GPS Element Parsed {"raw_longitude":750902400,"raw_latitude":123156136,"longitude_deg":75.09024,"latitude_deg":12.3156136,"altitude":28,"angle":71,"satellites":41,"speed":0,"hex_longitude":"2cc1dc80","hex_latitude":"075736a8","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113743872001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950070056124416,"note":"Value kept but may cause issues"} 
[2026-08-01 21:41:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477563160496787456,"note":"Value kept but may cause issues"} 
[2026-08-01 21:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785600583000,"timestamp_ms":1785600583000,"timestamp_seconds":1785600583,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe16a558"} 
[2026-08-01 21:41:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:41: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-08-01 21: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-01 21:41:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:41:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":147510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":147510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":147510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:41:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113743872001,"66":27376,"56":206,"2":54016,"24":0,"16":366950070056124416,"44":-4477563160496787456},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-01 21:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113743872001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:41:19] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-01 21:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950070056124416,"km_value":366950070056124.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:41:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477563160496787456,"description":"Unknown IO ID 44"} 
[2026-08-01 21:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113743872001,"power":27376,"unknown_56":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4477563160496787456}} 
[2026-08-01 21:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":147510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:41:19] local.INFO: GPS data processed {"connection_id":147510,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:41:19] local.INFO: Acknowledgment sent {"connection_id":147510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:41:36] local.INFO: TCP Data received {"connection_id":147511,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe15f1a8012d196580071fefa0003b015126..."} 
[2026-08-01 21:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe15f1a8012d196580071fefa0003b015126..."} 
[2026-08-01 21:41:36] local.INFO: Processing buffer {"connection_id":147511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe15f1a8012d196580071fefa0003b015126..."} 
[2026-08-01 21:41:36] local.INFO: Packet analysis {"connection_id":147511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe15"} 
[2026-08-01 21:41:36] local.INFO: Extracted packet for processing {"connection_id":147511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe15"} 
[2026-08-01 21:41:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113660416001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785600537000,"timestamp_ms":1785600537000,"timestamp_seconds":1785600537,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe15f1a8"} 
[2026-08-01 21:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:41:36] 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-08-01 21:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 21:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:41:36] 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-08-01 21:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113660416001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113660416001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:41:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:41:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113660416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":147511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:41:36] local.INFO: GPS data processed {"connection_id":147511,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:41:36] local.INFO: Acknowledgment sent {"connection_id":147511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:41:43] local.INFO: TCP Data received {"connection_id":147512,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:41:43] local.INFO: Processing buffer {"connection_id":147512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:41:43] local.INFO: IMEI packet received {"connection_id":147512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 21:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":147512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:41:47] local.INFO: TCP Data received {"connection_id":147512,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:41:47] local.INFO: Processing buffer {"connection_id":147512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:41:47] local.INFO: IMEI packet received {"connection_id":147512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":147512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:41:49] local.INFO: TCP Data received {"connection_id":147512,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe178fb8012cc1c540075748680012014229..."} 
[2026-08-01 21:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe178fb8012cc1c540075748680012014229..."} 
[2026-08-01 21:41:49] local.INFO: Processing buffer {"connection_id":147512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe178fb8012cc1c540075748680012014229..."} 
[2026-08-01 21:41:49] local.INFO: Packet analysis {"connection_id":147512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe17"} 
[2026-08-01 21:41:49] local.INFO: Extracted packet for processing {"connection_id":147512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe17"} 
[2026-08-01 21:41:49] local.INFO: GPS Element Parsed {"raw_longitude":750896448,"raw_latitude":123160680,"longitude_deg":75.0896448,"latitude_deg":12.316068,"altitude":18,"angle":322,"satellites":41,"speed":23,"hex_longitude":"2cc1c540","hex_latitude":"07574868","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:41:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113759744001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366950761545859072,"note":"Value kept but may cause issues"} 
[2026-08-01 21:41:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478407585427724288,"note":"Value kept but may cause issues"} 
[2026-08-01 21:41:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785600643000,"timestamp_ms":1785600643000,"timestamp_seconds":1785600643,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe178fb8"} 
[2026-08-01 21:41:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:41:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 21:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-01 21:41: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-08-01 21: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-08-01 21:41:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:41:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:41:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113759744001,"66":27376,"189":206,"2":54016,"24":23,"16":366950761545859072,"44":-4478407585427724288},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,2,24,16,44]} 
[2026-08-01 21:41:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:41:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:41:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113759744001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:41:49] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-01 21:41:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366950761545859072,"km_value":366950761545859.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:41:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478407585427724288,"description":"Unknown IO ID 44"} 
[2026-08-01 21:41:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113759744001,"power":27376,"unknown_189":206,"power_alt":54016,"ignition":23,"odometer":null,"unknown_44":-4478407585427724288}} 
[2026-08-01 21:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":147512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:41:49] local.INFO: GPS data processed {"connection_id":147512,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:41:49] local.INFO: Acknowledgment sent {"connection_id":147512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:41:59] local.INFO: TCP Data received {"connection_id":146516,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:41:59] local.INFO: Processing buffer {"connection_id":146516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:41:59] local.INFO: IMEI packet received {"connection_id":146516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":146516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:42:04] local.INFO: TCP Data received {"connection_id":146516,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:42:04] local.INFO: Processing buffer {"connection_id":146516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:42:04] local.INFO: IMEI packet received {"connection_id":146516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":146516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:42:05] local.INFO: TCP Data received {"connection_id":146516,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe15f1a8012d196580071fefa0003b015126..."} 
[2026-08-01 21:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe15f1a8012d196580071fefa0003b015126..."} 
[2026-08-01 21:42:05] local.INFO: Processing buffer {"connection_id":146516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe15f1a8012d196580071fefa0003b015126..."} 
[2026-08-01 21:42:05] local.INFO: Packet analysis {"connection_id":146516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe15"} 
[2026-08-01 21:42:05] local.INFO: Extracted packet for processing {"connection_id":146516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe15"} 
[2026-08-01 21:42:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113660416001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785600537000,"timestamp_ms":1785600537000,"timestamp_seconds":1785600537,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe15f1a8"} 
[2026-08-01 21:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 21:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:42:05] 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-08-01 21:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113660416001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113660416001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:42:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:42:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113660416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":146516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:42:05] local.INFO: GPS data processed {"connection_id":146516,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:42:05] local.INFO: Acknowledgment sent {"connection_id":146516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:42:20] local.INFO: TCP Data received {"connection_id":147512,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe17c668012cc1af80075764580011013f29..."} 
[2026-08-01 21:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe17c668012cc1af80075764580011013f29..."} 
[2026-08-01 21:42:20] local.INFO: Processing buffer {"connection_id":147512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe17c668012cc1af80075764580011013f29..."} 
[2026-08-01 21:42:20] local.INFO: Packet analysis {"connection_id":147512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe17"} 
[2026-08-01 21:42:20] local.INFO: Extracted packet for processing {"connection_id":147512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe17"} 
[2026-08-01 21:42:20] local.INFO: GPS Element Parsed {"raw_longitude":750890880,"raw_latitude":123167832,"longitude_deg":75.089088,"latitude_deg":12.3167832,"altitude":17,"angle":319,"satellites":41,"speed":23,"hex_longitude":"2cc1af80","hex_latitude":"07576458","is_valid_coordinates":true} 
[2026-08-01 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-08-01 21:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113764608001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366951199632523264,"note":"Value kept but may cause issues"} 
[2026-08-01 21:42:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4484107453704148992,"note":"Value kept but may cause issues"} 
[2026-08-01 21:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785600657000,"timestamp_ms":1785600657000,"timestamp_seconds":1785600657,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe17c668"} 
[2026-08-01 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-08-01 21:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-01 21:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 21:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:42:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113764608001,"66":27397,"189":206,"2":54016,"24":23,"16":366951199632523264,"44":-4484107453704148992},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,2,24,16,44]} 
[2026-08-01 21:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113764608001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:42:20] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-01 21:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366951199632523264,"km_value":366951199632523.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:42:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4484107453704148992,"description":"Unknown IO ID 44"} 
[2026-08-01 21:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113764608001,"power":27397,"unknown_189":206,"power_alt":54016,"ignition":23,"odometer":null,"unknown_44":-4484107453704148992}} 
[2026-08-01 21:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":147512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:42:20] local.INFO: GPS data processed {"connection_id":147512,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:42:20] local.INFO: Acknowledgment sent {"connection_id":147512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:42:36] local.INFO: TCP Data received {"connection_id":146516,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe15f1a8012d196580071fefa0003b015126..."} 
[2026-08-01 21:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe15f1a8012d196580071fefa0003b015126..."} 
[2026-08-01 21:42:36] local.INFO: Processing buffer {"connection_id":146516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe15f1a8012d196580071fefa0003b015126..."} 
[2026-08-01 21:42:36] local.INFO: Packet analysis {"connection_id":146516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe15"} 
[2026-08-01 21:42:36] local.INFO: Extracted packet for processing {"connection_id":146516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe15"} 
[2026-08-01 21:42:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113660416001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785600537000,"timestamp_ms":1785600537000,"timestamp_seconds":1785600537,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe15f1a8"} 
[2026-08-01 21:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:42:36] 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-08-01 21:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 21:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:42:36] 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-08-01 21:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113660416001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113660416001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:42:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:42:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113660416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":146516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:42:36] local.INFO: GPS data processed {"connection_id":146516,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:42:36] local.INFO: Acknowledgment sent {"connection_id":146516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:42:43] local.INFO: TCP Data received {"connection_id":146282,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:42:43] local.INFO: Processing buffer {"connection_id":146282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:42:43] local.INFO: IMEI packet received {"connection_id":146282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 21:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":146282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:42:43] local.INFO: TCP Data received {"connection_id":146282,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:42:43] local.INFO: Processing buffer {"connection_id":146282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:42:43] local.INFO: IMEI packet received {"connection_id":146282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":146282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:42:48] local.INFO: TCP Data received {"connection_id":146282,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:42:48] local.INFO: Processing buffer {"connection_id":146282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:42:48] local.INFO: IMEI packet received {"connection_id":146282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":146282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:42:50] local.INFO: TCP Data received {"connection_id":146282,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe17f548012cc1a00007577788000e014b2d..."} 
[2026-08-01 21:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe17f548012cc1a00007577788000e014b2d..."} 
[2026-08-01 21:42:50] local.INFO: Processing buffer {"connection_id":146282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe17f548012cc1a00007577788000e014b2d..."} 
[2026-08-01 21:42:50] local.INFO: Packet analysis {"connection_id":146282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe17"} 
[2026-08-01 21:42:50] local.INFO: Extracted packet for processing {"connection_id":146282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe17"} 
[2026-08-01 21:42:50] local.INFO: GPS Element Parsed {"raw_longitude":750886912,"raw_latitude":123172744,"longitude_deg":75.0886912,"latitude_deg":12.3172744,"altitude":14,"angle":331,"satellites":45,"speed":18,"hex_longitude":"2cc1a000","hex_latitude":"07577788","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113768192001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366951500280233984,"note":"Value kept but may cause issues"} 
[2026-08-01 21:42:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4490229534445774848,"note":"Value kept but may cause issues"} 
[2026-08-01 21:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785600669000,"timestamp_ms":1785600669000,"timestamp_seconds":1785600669,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe17f548"} 
[2026-08-01 21:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 21: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-01 21:42:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113768192001,"66":27332,"189":206,"2":54016,"24":18,"16":366951500280233984,"44":-4490229534445774848},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,2,24,16,44]} 
[2026-08-01 21:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113768192001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:42:50] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-01 21:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366951500280233984,"km_value":366951500280234.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:42:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4490229534445774848,"description":"Unknown IO ID 44"} 
[2026-08-01 21:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113768192001,"power":27332,"unknown_189":206,"power_alt":54016,"ignition":18,"odometer":null,"unknown_44":-4490229534445774848}} 
[2026-08-01 21:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":146282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:42:50] local.INFO: GPS data processed {"connection_id":146282,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:42:50] local.INFO: Acknowledgment sent {"connection_id":146282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:42:59] local.INFO: TCP Data received {"connection_id":148823,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:42:59] local.INFO: Processing buffer {"connection_id":148823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:42:59] local.INFO: IMEI packet received {"connection_id":148823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":148823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:43:04] local.INFO: TCP Data received {"connection_id":148823,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:43:04] local.INFO: Processing buffer {"connection_id":148823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:43:04] local.INFO: IMEI packet received {"connection_id":148823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":148823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:43:05] local.INFO: TCP Data received {"connection_id":148823,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe15f1a8012d196580071fefa0003b015126..."} 
[2026-08-01 21:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe15f1a8012d196580071fefa0003b015126..."} 
[2026-08-01 21:43:05] local.INFO: Processing buffer {"connection_id":148823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe15f1a8012d196580071fefa0003b015126..."} 
[2026-08-01 21:43:05] local.INFO: Packet analysis {"connection_id":148823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe15"} 
[2026-08-01 21:43:05] local.INFO: Extracted packet for processing {"connection_id":148823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe15"} 
[2026-08-01 21:43:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113660416001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785600537000,"timestamp_ms":1785600537000,"timestamp_seconds":1785600537,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe15f1a8"} 
[2026-08-01 21:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 21:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:43:05] 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-08-01 21:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113660416001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113660416001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:43:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:43:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113660416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":148823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:43:05] local.INFO: GPS data processed {"connection_id":148823,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:43:05] local.INFO: Acknowledgment sent {"connection_id":148823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:43:21] local.INFO: TCP Data received {"connection_id":146282,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe1804e8012cc19d4007577ec0000f01562d..."} 
[2026-08-01 21:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe1804e8012cc19d4007577ec0000f01562d..."} 
[2026-08-01 21:43:21] local.INFO: Processing buffer {"connection_id":146282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe1804e8012cc19d4007577ec0000f01562d..."} 
[2026-08-01 21:43:21] local.INFO: Packet analysis {"connection_id":146282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe18"} 
[2026-08-01 21:43:21] local.INFO: Extracted packet for processing {"connection_id":146282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe18"} 
[2026-08-01 21:43:21] local.INFO: GPS Element Parsed {"raw_longitude":750886208,"raw_latitude":123174592,"longitude_deg":75.0886208,"latitude_deg":12.3174592,"altitude":15,"angle":342,"satellites":45,"speed":20,"hex_longitude":"2cc19d40","hex_latitude":"07577ec0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113771264001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366951599064481792,"note":"Value kept but may cause issues"} 
[2026-08-01 21:43:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4494592396583532544,"note":"Value kept but may cause issues"} 
[2026-08-01 21:43:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785600673000,"timestamp_ms":1785600673000,"timestamp_seconds":1785600673,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe1804e8"} 
[2026-08-01 21:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:43:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 21: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-01 21:43:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:43:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113771264001,"66":27332,"189":206,"2":54016,"24":20,"16":366951599064481792,"44":-4494592396583532544},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,2,24,16,44]} 
[2026-08-01 21:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113771264001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:43:21] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-01 21:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366951599064481792,"km_value":366951599064481.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:43:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4494592396583532544,"description":"Unknown IO ID 44"} 
[2026-08-01 21:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113771264001,"power":27332,"unknown_189":206,"power_alt":54016,"ignition":20,"odometer":null,"unknown_44":-4494592396583532544}} 
[2026-08-01 21:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":146282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:43:21] local.INFO: GPS data processed {"connection_id":146282,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:43:21] local.INFO: Acknowledgment sent {"connection_id":146282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:43:36] local.INFO: TCP Data received {"connection_id":148823,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe15f1a8012d196580071fefa0003b015126..."} 
[2026-08-01 21:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe15f1a8012d196580071fefa0003b015126..."} 
[2026-08-01 21:43:36] local.INFO: Processing buffer {"connection_id":148823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe15f1a8012d196580071fefa0003b015126..."} 
[2026-08-01 21:43:36] local.INFO: Packet analysis {"connection_id":148823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe15"} 
[2026-08-01 21:43:36] local.INFO: Extracted packet for processing {"connection_id":148823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe15"} 
[2026-08-01 21:43:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113660416001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785600537000,"timestamp_ms":1785600537000,"timestamp_seconds":1785600537,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe15f1a8"} 
[2026-08-01 21:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:43:36] 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-08-01 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 21:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:43:36] 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-08-01 21:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113660416001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113660416001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:43:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:43:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113660416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":148823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:43:36] local.INFO: GPS data processed {"connection_id":148823,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:43:36] local.INFO: Acknowledgment sent {"connection_id":148823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:43:43] local.INFO: TCP Data received {"connection_id":146517,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:43:43] local.INFO: Processing buffer {"connection_id":146517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:43:43] local.INFO: IMEI packet received {"connection_id":146517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 21:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":146517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:43:43] local.INFO: TCP Data received {"connection_id":146517,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:43:43] local.INFO: Processing buffer {"connection_id":146517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:43:43] local.INFO: IMEI packet received {"connection_id":146517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":146517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:43:45] local.INFO: TCP Data received {"connection_id":146517,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:43:45] local.INFO: Processing buffer {"connection_id":146517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:43:45] local.INFO: IMEI packet received {"connection_id":146517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":146517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:43:46] local.INFO: TCP Data received {"connection_id":146517,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:43:46] local.INFO: Processing buffer {"connection_id":146517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:43:46] local.INFO: IMEI packet received {"connection_id":146517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":146517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:44:04] local.INFO: TCP Data received {"connection_id":148824,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:44:04] local.INFO: Processing buffer {"connection_id":148824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:44:04] local.INFO: IMEI packet received {"connection_id":148824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":148824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:44:09] local.INFO: TCP Data received {"connection_id":148824,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:44:09] local.INFO: Processing buffer {"connection_id":148824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:44:09] local.INFO: IMEI packet received {"connection_id":148824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":148824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:44:10] local.INFO: TCP Data received {"connection_id":148824,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe15f1a8012d196580071fefa0003b015126..."} 
[2026-08-01 21:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe15f1a8012d196580071fefa0003b015126..."} 
[2026-08-01 21:44:10] local.INFO: Processing buffer {"connection_id":148824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe15f1a8012d196580071fefa0003b015126..."} 
[2026-08-01 21:44:10] local.INFO: Packet analysis {"connection_id":148824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe15"} 
[2026-08-01 21:44:10] local.INFO: Extracted packet for processing {"connection_id":148824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe15"} 
[2026-08-01 21:44:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 21:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113660416001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 21:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785600537000,"timestamp_ms":1785600537000,"timestamp_seconds":1785600537,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe15f1a8"} 
[2026-08-01 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-08-01 21:44: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-08-01 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":96,"data_length":795,"current_offset":136} 
[2026-08-01 21: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-08-01 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-08-01 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-08-01 21:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":148824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":148824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":148824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:44: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-08-01 21:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113660416001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113660416001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:44:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:44:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113660416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":148824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:44:10] local.INFO: GPS data processed {"connection_id":148824,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:44:10] local.INFO: Acknowledgment sent {"connection_id":148824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:44:15] local.INFO: TCP Data received {"connection_id":148824,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe15f1a8012d196580071fefa0003b015126..."} 
[2026-08-01 21:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe15f1a8012d196580071fefa0003b015126..."} 
[2026-08-01 21:44:15] local.INFO: Processing buffer {"connection_id":148824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe15f1a8012d196580071fefa0003b015126..."} 
[2026-08-01 21:44:15] local.INFO: Packet analysis {"connection_id":148824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe15"} 
[2026-08-01 21:44:15] local.INFO: Extracted packet for processing {"connection_id":148824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe15"} 
[2026-08-01 21:44:15] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113660416001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:44: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-08-01 21:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785600537000,"timestamp_ms":1785600537000,"timestamp_seconds":1785600537,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe15f1a8"} 
[2026-08-01 21:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:44: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-08-01 21:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 21:44: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-08-01 21:44:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:44: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-08-01 21:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113660416001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113660416001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:44:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:44:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113660416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":148824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:44:15] local.INFO: GPS data processed {"connection_id":148824,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:44:15] local.INFO: Acknowledgment sent {"connection_id":148824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:44:59] local.INFO: TCP Data received {"connection_id":146283,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:44:59] local.INFO: Processing buffer {"connection_id":146283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:44:59] local.INFO: IMEI packet received {"connection_id":146283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":146283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:45:04] local.INFO: TCP Data received {"connection_id":146283,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:45:04] local.INFO: Processing buffer {"connection_id":146283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:45:04] local.INFO: IMEI packet received {"connection_id":146283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":146283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:45:05] local.INFO: TCP Data received {"connection_id":146283,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe1a8970012d196580071fefa0003b015127..."} 
[2026-08-01 21:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe1a8970012d196580071fefa0003b015127..."} 
[2026-08-01 21:45:05] local.INFO: Processing buffer {"connection_id":146283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe1a8970012d196580071fefa0003b015127..."} 
[2026-08-01 21:45:05] local.INFO: Packet analysis {"connection_id":146283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe1a"} 
[2026-08-01 21:45:05] local.INFO: Extracted packet for processing {"connection_id":146283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe1a"} 
[2026-08-01 21:45:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113737472001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785600838000,"timestamp_ms":1785600838000,"timestamp_seconds":1785600838,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe1a8970"} 
[2026-08-01 21:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 21:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:45:05] 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-08-01 21:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113737472001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113737472001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:45:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:45:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113737472001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":146283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579384,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:45:05] local.INFO: GPS data processed {"connection_id":146283,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:45:05] local.INFO: Acknowledgment sent {"connection_id":146283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:45:36] local.INFO: TCP Data received {"connection_id":146283,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe1a8970012d196580071fefa0003b015127..."} 
[2026-08-01 21:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe1a8970012d196580071fefa0003b015127..."} 
[2026-08-01 21:45:36] local.INFO: Processing buffer {"connection_id":146283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe1a8970012d196580071fefa0003b015127..."} 
[2026-08-01 21:45:36] local.INFO: Packet analysis {"connection_id":146283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe1a"} 
[2026-08-01 21:45:36] local.INFO: Extracted packet for processing {"connection_id":146283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe1a"} 
[2026-08-01 21:45:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113737472001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785600838000,"timestamp_ms":1785600838000,"timestamp_seconds":1785600838,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe1a8970"} 
[2026-08-01 21:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:45:36] 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-08-01 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 21:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:45:36] 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-08-01 21:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113737472001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113737472001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:45:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:45:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113737472001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":146283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:45:36] local.INFO: GPS data processed {"connection_id":146283,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:45:36] local.INFO: Acknowledgment sent {"connection_id":146283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:45:59] local.INFO: TCP Data received {"connection_id":146284,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146284,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:45:59] local.INFO: Processing buffer {"connection_id":146284,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:45:59] local.INFO: IMEI packet received {"connection_id":146284,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":146284,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:46:04] local.INFO: TCP Data received {"connection_id":146284,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146284,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:46:04] local.INFO: Processing buffer {"connection_id":146284,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:46:04] local.INFO: IMEI packet received {"connection_id":146284,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":146284,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:46:05] local.INFO: TCP Data received {"connection_id":146284,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe1a8970012d196580071fefa0003b015127..."} 
[2026-08-01 21:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe1a8970012d196580071fefa0003b015127..."} 
[2026-08-01 21:46:05] local.INFO: Processing buffer {"connection_id":146284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe1a8970012d196580071fefa0003b015127..."} 
[2026-08-01 21:46:05] local.INFO: Packet analysis {"connection_id":146284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe1a"} 
[2026-08-01 21:46:05] local.INFO: Extracted packet for processing {"connection_id":146284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe1a"} 
[2026-08-01 21:46:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113737472001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785600838000,"timestamp_ms":1785600838000,"timestamp_seconds":1785600838,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe1a8970"} 
[2026-08-01 21:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 21:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:46:05] 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-08-01 21:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113737472001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113737472001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:46:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:46:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113737472001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":146284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:46:05] local.INFO: GPS data processed {"connection_id":146284,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:46:05] local.INFO: Acknowledgment sent {"connection_id":146284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:46:36] local.INFO: TCP Data received {"connection_id":146284,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe1a8970012d196580071fefa0003b015127..."} 
[2026-08-01 21:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe1a8970012d196580071fefa0003b015127..."} 
[2026-08-01 21:46:36] local.INFO: Processing buffer {"connection_id":146284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe1a8970012d196580071fefa0003b015127..."} 
[2026-08-01 21:46:36] local.INFO: Packet analysis {"connection_id":146284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe1a"} 
[2026-08-01 21:46:36] local.INFO: Extracted packet for processing {"connection_id":146284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe1a"} 
[2026-08-01 21:46:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113737472001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785600838000,"timestamp_ms":1785600838000,"timestamp_seconds":1785600838,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe1a8970"} 
[2026-08-01 21:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:46:36] 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-08-01 21:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 21:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:46:36] 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-08-01 21:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113737472001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113737472001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:46:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:46:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113737472001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":146284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:46:36] local.INFO: GPS data processed {"connection_id":146284,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:46:36] local.INFO: Acknowledgment sent {"connection_id":146284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:46:59] local.INFO: TCP Data received {"connection_id":148827,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:46:59] local.INFO: Processing buffer {"connection_id":148827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:46:59] local.INFO: IMEI packet received {"connection_id":148827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":148827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:47:04] local.INFO: TCP Data received {"connection_id":148827,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:47:04] local.INFO: Processing buffer {"connection_id":148827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:47:04] local.INFO: IMEI packet received {"connection_id":148827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":148827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:47:05] local.INFO: TCP Data received {"connection_id":148827,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe1a8970012d196580071fefa0003b015127..."} 
[2026-08-01 21:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe1a8970012d196580071fefa0003b015127..."} 
[2026-08-01 21:47:05] local.INFO: Processing buffer {"connection_id":148827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe1a8970012d196580071fefa0003b015127..."} 
[2026-08-01 21:47:05] local.INFO: Packet analysis {"connection_id":148827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe1a"} 
[2026-08-01 21:47:05] local.INFO: Extracted packet for processing {"connection_id":148827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe1a"} 
[2026-08-01 21:47:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113737472001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785600838000,"timestamp_ms":1785600838000,"timestamp_seconds":1785600838,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe1a8970"} 
[2026-08-01 21:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 21:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:47:05] 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-08-01 21:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113737472001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113737472001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:47:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:47:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113737472001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":148827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:47:05] local.INFO: GPS data processed {"connection_id":148827,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:47:05] local.INFO: Acknowledgment sent {"connection_id":148827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:47:36] local.INFO: TCP Data received {"connection_id":148827,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe1a8970012d196580071fefa0003b015127..."} 
[2026-08-01 21:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe1a8970012d196580071fefa0003b015127..."} 
[2026-08-01 21:47:36] local.INFO: Processing buffer {"connection_id":148827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe1a8970012d196580071fefa0003b015127..."} 
[2026-08-01 21:47:36] local.INFO: Packet analysis {"connection_id":148827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe1a"} 
[2026-08-01 21:47:36] local.INFO: Extracted packet for processing {"connection_id":148827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe1a"} 
[2026-08-01 21:47:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113737472001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785600838000,"timestamp_ms":1785600838000,"timestamp_seconds":1785600838,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe1a8970"} 
[2026-08-01 21:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:47:36] 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-08-01 21:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 21:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:47:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:47:36] 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-08-01 21:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113737472001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113737472001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:47:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:47:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113737472001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":148827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579389,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:47:36] local.INFO: GPS data processed {"connection_id":148827,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:47:36] local.INFO: Acknowledgment sent {"connection_id":148827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:47:59] local.INFO: TCP Data received {"connection_id":146518,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:47:59] local.INFO: Processing buffer {"connection_id":146518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:47:59] local.INFO: IMEI packet received {"connection_id":146518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":146518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:48:04] local.INFO: TCP Data received {"connection_id":146518,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:48:04] local.INFO: Processing buffer {"connection_id":146518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:48:04] local.INFO: IMEI packet received {"connection_id":146518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":146518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:48:05] local.INFO: TCP Data received {"connection_id":146518,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe1a8970012d196580071fefa0003b015127..."} 
[2026-08-01 21:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe1a8970012d196580071fefa0003b015127..."} 
[2026-08-01 21:48:05] local.INFO: Processing buffer {"connection_id":146518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe1a8970012d196580071fefa0003b015127..."} 
[2026-08-01 21:48:05] local.INFO: Packet analysis {"connection_id":146518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe1a"} 
[2026-08-01 21:48:05] local.INFO: Extracted packet for processing {"connection_id":146518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe1a"} 
[2026-08-01 21:48:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113737472001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785600838000,"timestamp_ms":1785600838000,"timestamp_seconds":1785600838,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe1a8970"} 
[2026-08-01 21:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 21:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:48:05] 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-08-01 21:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113737472001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113737472001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:48:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:48:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113737472001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":146518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:48:05] local.INFO: GPS data processed {"connection_id":146518,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:48:05] local.INFO: Acknowledgment sent {"connection_id":146518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:48:36] local.INFO: TCP Data received {"connection_id":146518,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe1a8970012d196580071fefa0003b015127..."} 
[2026-08-01 21:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe1a8970012d196580071fefa0003b015127..."} 
[2026-08-01 21:48:36] local.INFO: Processing buffer {"connection_id":146518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe1a8970012d196580071fefa0003b015127..."} 
[2026-08-01 21:48:36] local.INFO: Packet analysis {"connection_id":146518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe1a"} 
[2026-08-01 21:48:36] local.INFO: Extracted packet for processing {"connection_id":146518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe1a"} 
[2026-08-01 21:48:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113737472001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785600838000,"timestamp_ms":1785600838000,"timestamp_seconds":1785600838,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe1a8970"} 
[2026-08-01 21:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:48:36] 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-08-01 21:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 21:48:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:48:36] 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-08-01 21:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113737472001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113737472001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:48:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:48:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113737472001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":146518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:48:36] local.INFO: GPS data processed {"connection_id":146518,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:48:36] local.INFO: Acknowledgment sent {"connection_id":146518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:48:51] local.INFO: TCP Data received {"connection_id":147514,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:48:51] local.INFO: Processing buffer {"connection_id":147514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:48:51] local.INFO: IMEI packet received {"connection_id":147514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 21:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":147514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:48:53] local.INFO: TCP Data received {"connection_id":147514,"ip":"117.224.93.208","data_length":93,"data_hex":"00000000000000518e010000019fbe1cead0012cc2398007599738000c00572d..."} 
[2026-08-01 21:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147514,"packet_length":93,"packet_hex":"00000000000000518e010000019fbe1cead0012cc2398007599738000c00572d..."} 
[2026-08-01 21:48:53] local.INFO: Processing buffer {"connection_id":147514,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fbe1cead0012cc2398007599738000c00572d..."} 
[2026-08-01 21:48:53] local.INFO: Packet analysis {"connection_id":147514,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fbe1c"} 
[2026-08-01 21:48:53] local.INFO: Extracted packet for processing {"connection_id":147514,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fbe1c"} 
[2026-08-01 21:48:53] local.INFO: GPS Element Parsed {"raw_longitude":750926208,"raw_latitude":123311928,"longitude_deg":75.0926208,"latitude_deg":12.3311928,"altitude":12,"angle":87,"satellites":45,"speed":30,"hex_longitude":"2cc23980","hex_latitude":"07599738","is_valid_coordinates":true} 
[2026-08-01 21:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-08-01 21:48:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:48:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:48:53] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:48:53] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-01 21:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":147514,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-01 21:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":147514,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-01 21:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":147514,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-01 21:48:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-01 21:48:53] local.WARNING: DEBUG: No valid data to process  
[2026-08-01 21:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":147514,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-01 21:48:53] local.ERROR: GPS data processing failed {"connection_id":147514,"error":"No valid data to process"} 
[2026-08-01 21:48:53] local.INFO: Acknowledgment sent {"connection_id":147514,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-01 21:49:04] local.INFO: TCP Data received {"connection_id":146285,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:49:04] local.INFO: Processing buffer {"connection_id":146285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:49:04] local.INFO: IMEI packet received {"connection_id":146285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":146285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:49:09] local.INFO: TCP Data received {"connection_id":146285,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:49:09] local.INFO: Processing buffer {"connection_id":146285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:49:09] local.INFO: IMEI packet received {"connection_id":146285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":146285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:49:10] local.INFO: TCP Data received {"connection_id":146285,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe1a8970012d196580071fefa0003b015127..."} 
[2026-08-01 21:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe1a8970012d196580071fefa0003b015127..."} 
[2026-08-01 21:49:10] local.INFO: Processing buffer {"connection_id":146285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe1a8970012d196580071fefa0003b015127..."} 
[2026-08-01 21:49:10] local.INFO: Packet analysis {"connection_id":146285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe1a"} 
[2026-08-01 21:49:10] local.INFO: Extracted packet for processing {"connection_id":146285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe1a"} 
[2026-08-01 21:49:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 21:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113737472001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 21:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785600838000,"timestamp_ms":1785600838000,"timestamp_seconds":1785600838,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe1a8970"} 
[2026-08-01 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-08-01 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-08-01 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":118,"data_length":795,"current_offset":136} 
[2026-08-01 21: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-08-01 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-08-01 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-08-01 21:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:49: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-08-01 21:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113737472001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113737472001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:49:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:49:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113737472001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":146285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:49:10] local.INFO: GPS data processed {"connection_id":146285,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:49:10] local.INFO: Acknowledgment sent {"connection_id":146285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:49:14] local.INFO: TCP Data received {"connection_id":146285,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe1a8970012d196580071fefa0003b015127..."} 
[2026-08-01 21:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe1a8970012d196580071fefa0003b015127..."} 
[2026-08-01 21:49:14] local.INFO: Processing buffer {"connection_id":146285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe1a8970012d196580071fefa0003b015127..."} 
[2026-08-01 21:49:14] local.INFO: Packet analysis {"connection_id":146285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe1a"} 
[2026-08-01 21:49:14] local.INFO: Extracted packet for processing {"connection_id":146285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe1a"} 
[2026-08-01 21:49:14] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113737472001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:49:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:49: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-08-01 21:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785600838000,"timestamp_ms":1785600838000,"timestamp_seconds":1785600838,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe1a8970"} 
[2026-08-01 21:49:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:49:14] 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-08-01 21:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 21:49: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-08-01 21:49:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:49:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":146285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":146285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":146285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:49:14] 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-08-01 21:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113737472001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113737472001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:49:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:49:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:49:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113737472001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":146285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:49:15] local.INFO: GPS data processed {"connection_id":146285,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:49:15] local.INFO: Acknowledgment sent {"connection_id":146285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:49:29] local.INFO: TCP Data received {"connection_id":147514,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe1d19b0012cc25d80075998d0000c00502b..."} 
[2026-08-01 21:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe1d19b0012cc25d80075998d0000c00502b..."} 
[2026-08-01 21:49:29] local.INFO: Processing buffer {"connection_id":147514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe1d19b0012cc25d80075998d0000c00502b..."} 
[2026-08-01 21:49:29] local.INFO: Packet analysis {"connection_id":147514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe1d"} 
[2026-08-01 21:49:29] local.INFO: Extracted packet for processing {"connection_id":147514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe1d"} 
[2026-08-01 21:49:29] local.INFO: GPS Element Parsed {"raw_longitude":750935424,"raw_latitude":123312336,"longitude_deg":75.0935424,"latitude_deg":12.3312336,"altitude":12,"angle":80,"satellites":43,"speed":27,"hex_longitude":"2cc25d80","hex_latitude":"075998d0","is_valid_coordinates":true} 
[2026-08-01 21:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113854464001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366961468899328000,"note":"Value kept but may cause issues"} 
[2026-08-01 21:49:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4451385987622815744,"note":"Value kept but may cause issues"} 
[2026-08-01 21:49:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785601006000,"timestamp_ms":1785601006000,"timestamp_seconds":1785601006,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe1d19b0"} 
[2026-08-01 21:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21: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-08-01 21:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-01 21:49:29] 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-08-01 21: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-08-01 21:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":147514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":147514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":147514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:49:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113854464001,"66":27397,"110":206,"2":54016,"24":27,"16":366961468899328000,"44":-4451385987622815744},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,2,24,16,44]} 
[2026-08-01 21:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113854464001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:49:29] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-01 21:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366961468899328000,"km_value":366961468899328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:49:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4451385987622815744,"description":"Unknown IO ID 44"} 
[2026-08-01 21:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113854464001,"power":27397,"unknown_110":206,"power_alt":54016,"ignition":27,"odometer":null,"unknown_44":-4451385987622815744}} 
[2026-08-01 21:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":147514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:49:29] local.INFO: GPS data processed {"connection_id":147514,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:49:29] local.INFO: Acknowledgment sent {"connection_id":147514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:49:48] local.INFO: TCP Data received {"connection_id":148829,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:49:48] local.INFO: Processing buffer {"connection_id":148829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:49:48] local.INFO: IMEI packet received {"connection_id":148829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 21:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":148829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:49:49] local.INFO: TCP Data received {"connection_id":148829,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:49:49] local.INFO: Processing buffer {"connection_id":148829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:49:49] local.INFO: IMEI packet received {"connection_id":148829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":148829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:49:50] local.INFO: TCP Data received {"connection_id":148829,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe1edae8012cc35700075a4c60001c00262d..."} 
[2026-08-01 21:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe1edae8012cc35700075a4c60001c00262d..."} 
[2026-08-01 21:49:50] local.INFO: Processing buffer {"connection_id":148829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe1edae8012cc35700075a4c60001c00262d..."} 
[2026-08-01 21:49:50] local.INFO: Packet analysis {"connection_id":148829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe1e"} 
[2026-08-01 21:49:50] local.INFO: Extracted packet for processing {"connection_id":148829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe1e"} 
[2026-08-01 21:49:50] local.INFO: GPS Element Parsed {"raw_longitude":750999296,"raw_latitude":123358304,"longitude_deg":75.0999296,"latitude_deg":12.3358304,"altitude":28,"angle":38,"satellites":45,"speed":41,"hex_longitude":"2cc35700","hex_latitude":"075a4c60","is_valid_coordinates":true} 
[2026-08-01 21:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:49:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113884672001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:49:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366965317190025216,"note":"Value kept but may cause issues"} 
[2026-08-01 21:49:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4377569174970378240,"note":"Value kept but may cause issues"} 
[2026-08-01 21:49:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:49:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785601121000,"timestamp_ms":1785601121000,"timestamp_seconds":1785601121,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe1edae8"} 
[2026-08-01 21:49:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:49:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 21:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-01 21:49:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:49:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:49:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:49:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:49:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:49:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:49:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:49:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:49:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:49:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:49:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113884672001,"66":27397,"175":206,"2":54016,"24":41,"16":366965317190025216,"44":-4377569174970378240},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,2,24,16,44]} 
[2026-08-01 21:49:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:49:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:49:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113884672001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:49:50] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-01 21:49:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366965317190025216,"km_value":366965317190025.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:49:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4377569174970378240,"description":"Unknown IO ID 44"} 
[2026-08-01 21:49:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113884672001,"power":27397,"unknown_175":206,"power_alt":54016,"ignition":41,"odometer":null,"unknown_44":-4377569174970378240}} 
[2026-08-01 21:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":148829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:49:50] local.INFO: GPS data processed {"connection_id":148829,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:49:50] local.INFO: Acknowledgment sent {"connection_id":148829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:49:54] local.INFO: TCP Data received {"connection_id":148829,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe1efe10012cc36f40075a68c8001c00252c..."} 
[2026-08-01 21:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe1efe10012cc36f40075a68c8001c00252c..."} 
[2026-08-01 21:49:54] local.INFO: Processing buffer {"connection_id":148829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe1efe10012cc36f40075a68c8001c00252c..."} 
[2026-08-01 21:49:54] local.INFO: Packet analysis {"connection_id":148829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe1e"} 
[2026-08-01 21:49:54] local.INFO: Extracted packet for processing {"connection_id":148829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe1e"} 
[2026-08-01 21:49:54] local.INFO: GPS Element Parsed {"raw_longitude":751005504,"raw_latitude":123365576,"longitude_deg":75.1005504,"latitude_deg":12.3365576,"altitude":28,"angle":37,"satellites":44,"speed":41,"hex_longitude":"2cc36f40","hex_latitude":"075a68c8","is_valid_coordinates":true} 
[2026-08-01 21:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113886976001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366965776751525888,"note":"Value kept but may cause issues"} 
[2026-08-01 21:49:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4371024881760051200,"note":"Value kept but may cause issues"} 
[2026-08-01 21:49:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785601130000,"timestamp_ms":1785601130000,"timestamp_seconds":1785601130,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe1efe10"} 
[2026-08-01 21:49:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:49: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-08-01 21:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-01 21:49:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:49:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:49:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:49:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113886976001,"66":27213,"175":206,"2":54016,"24":41,"16":366965776751525888,"44":-4371024881760051200},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,2,24,16,44]} 
[2026-08-01 21:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113886976001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:49:54] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-01 21:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366965776751525888,"km_value":366965776751525.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:49:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4371024881760051200,"description":"Unknown IO ID 44"} 
[2026-08-01 21:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113886976001,"power":27213,"unknown_175":206,"power_alt":54016,"ignition":41,"odometer":null,"unknown_44":-4371024881760051200}} 
[2026-08-01 21:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":148829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:49:54] local.INFO: GPS data processed {"connection_id":148829,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:49:54] local.INFO: Acknowledgment sent {"connection_id":148829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:49:59] local.INFO: TCP Data received {"connection_id":146286,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146286,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:49:59] local.INFO: Processing buffer {"connection_id":146286,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:49:59] local.INFO: IMEI packet received {"connection_id":146286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":146286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:50:04] local.INFO: TCP Data received {"connection_id":146286,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146286,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:50:04] local.INFO: Processing buffer {"connection_id":146286,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:50:04] local.INFO: IMEI packet received {"connection_id":146286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":146286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:50:05] local.INFO: TCP Data received {"connection_id":146286,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe1f2138012d196580071fefa0003b015129..."} 
[2026-08-01 21:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe1f2138012d196580071fefa0003b015129..."} 
[2026-08-01 21:50:05] local.INFO: Processing buffer {"connection_id":146286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe1f2138012d196580071fefa0003b015129..."} 
[2026-08-01 21:50:05] local.INFO: Packet analysis {"connection_id":146286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe1f"} 
[2026-08-01 21:50:05] local.INFO: Extracted packet for processing {"connection_id":146286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe1f"} 
[2026-08-01 21:50:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113814528001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785601139000,"timestamp_ms":1785601139000,"timestamp_seconds":1785601139,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe1f2138"} 
[2026-08-01 21:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:50:05] 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-08-01 21:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 21:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:50:05] 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-08-01 21:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113814528001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113814528001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:50:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:50:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113814528001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":146286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:50:05] local.INFO: GPS data processed {"connection_id":146286,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:50:05] local.INFO: Acknowledgment sent {"connection_id":146286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:50:26] local.INFO: TCP Data received {"connection_id":148829,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe1f2138012cc386c0075a81a8001d00322c..."} 
[2026-08-01 21:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe1f2138012cc386c0075a81a8001d00322c..."} 
[2026-08-01 21:50:26] local.INFO: Processing buffer {"connection_id":148829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe1f2138012cc386c0075a81a8001d00322c..."} 
[2026-08-01 21:50:26] local.INFO: Packet analysis {"connection_id":148829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe1f"} 
[2026-08-01 21:50:26] local.INFO: Extracted packet for processing {"connection_id":148829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe1f"} 
[2026-08-01 21:50:26] local.INFO: GPS Element Parsed {"raw_longitude":751011520,"raw_latitude":123371944,"longitude_deg":75.101152,"latitude_deg":12.3371944,"altitude":29,"angle":50,"satellites":44,"speed":37,"hex_longitude":"2cc386c0","hex_latitude":"075a81a8","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:50:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113889280001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:50:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366966197658320896,"note":"Value kept but may cause issues"} 
[2026-08-01 21:50:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4364199113572956160,"note":"Value kept but may cause issues"} 
[2026-08-01 21:50:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:50:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785601139000,"timestamp_ms":1785601139000,"timestamp_seconds":1785601139,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe1f2138"} 
[2026-08-01 21:50:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:50: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-08-01 21: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-01 21:50:26] 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-08-01 21:50:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:50:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:50:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:50:26] local.INFO: Teltonika packet parsed successfully {"connection_id":148829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:50:26] local.INFO: Passing IMEI to GPS processor {"connection_id":148829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:50:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":148829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:50:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:50:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:50:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:50:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113889280001,"66":27365,"175":206,"2":54016,"24":37,"16":366966197658320896,"44":-4364199113572956160},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,2,24,16,44]} 
[2026-08-01 21:50:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:50:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:50:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113889280001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:50:26] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-01 21:50:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366966197658320896,"km_value":366966197658320.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:50:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4364199113572956160,"description":"Unknown IO ID 44"} 
[2026-08-01 21:50:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113889280001,"power":27365,"unknown_175":206,"power_alt":54016,"ignition":37,"odometer":null,"unknown_44":-4364199113572956160}} 
[2026-08-01 21:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":148829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:50:26] local.INFO: GPS data processed {"connection_id":148829,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:50:26] local.INFO: Acknowledgment sent {"connection_id":148829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:50:36] local.INFO: TCP Data received {"connection_id":146286,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe1f2138012d196580071fefa0003b015129..."} 
[2026-08-01 21:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe1f2138012d196580071fefa0003b015129..."} 
[2026-08-01 21:50:36] local.INFO: Processing buffer {"connection_id":146286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe1f2138012d196580071fefa0003b015129..."} 
[2026-08-01 21:50:36] local.INFO: Packet analysis {"connection_id":146286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe1f"} 
[2026-08-01 21:50:36] local.INFO: Extracted packet for processing {"connection_id":146286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe1f"} 
[2026-08-01 21:50:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113814528001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785601139000,"timestamp_ms":1785601139000,"timestamp_seconds":1785601139,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe1f2138"} 
[2026-08-01 21:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 21:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:50:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:50:36] 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-08-01 21:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113814528001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113814528001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:50:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:50:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113814528001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":146286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579399,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:50:36] local.INFO: GPS data processed {"connection_id":146286,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:50:36] local.INFO: Acknowledgment sent {"connection_id":146286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:50:39] local.INFO: TCP Data received {"connection_id":146519,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:50:39] local.INFO: Processing buffer {"connection_id":146519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:50:39] local.INFO: IMEI packet received {"connection_id":146519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 21:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":146519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:50:40] local.INFO: TCP Data received {"connection_id":146519,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:50:40] local.INFO: Processing buffer {"connection_id":146519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:50:40] local.INFO: IMEI packet received {"connection_id":146519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":146519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:50:42] local.INFO: TCP Data received {"connection_id":146519,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:50:42] local.INFO: Processing buffer {"connection_id":146519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:50:42] local.INFO: IMEI packet received {"connection_id":146519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:50:42] local.INFO: IMEI acknowledgment sent {"connection_id":146519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:50:43] local.INFO: TCP Data received {"connection_id":146519,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:50:43] local.INFO: Processing buffer {"connection_id":146519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:50:43] local.INFO: IMEI packet received {"connection_id":146519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":146519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:50:59] local.INFO: TCP Data received {"connection_id":148830,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148830,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:50:59] local.INFO: Processing buffer {"connection_id":148830,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:50:59] local.INFO: IMEI packet received {"connection_id":148830,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":148830,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:51:04] local.INFO: TCP Data received {"connection_id":148830,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148830,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:51:04] local.INFO: Processing buffer {"connection_id":148830,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:51:04] local.INFO: IMEI packet received {"connection_id":148830,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":148830,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:51:05] local.INFO: TCP Data received {"connection_id":148830,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe1f2138012d196580071fefa0003b015129..."} 
[2026-08-01 21:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe1f2138012d196580071fefa0003b015129..."} 
[2026-08-01 21:51:05] local.INFO: Processing buffer {"connection_id":148830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe1f2138012d196580071fefa0003b015129..."} 
[2026-08-01 21:51:05] local.INFO: Packet analysis {"connection_id":148830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe1f"} 
[2026-08-01 21:51:05] local.INFO: Extracted packet for processing {"connection_id":148830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe1f"} 
[2026-08-01 21:51:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113814528001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785601139000,"timestamp_ms":1785601139000,"timestamp_seconds":1785601139,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe1f2138"} 
[2026-08-01 21:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:51:05] 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-08-01 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 21:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:51:05] 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-08-01 21:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113814528001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113814528001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:51:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:51:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113814528001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":148830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:51:05] local.INFO: GPS data processed {"connection_id":148830,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:51:05] local.INFO: Acknowledgment sent {"connection_id":148830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:51:36] local.INFO: TCP Data received {"connection_id":148830,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe1f2138012d196580071fefa0003b015129..."} 
[2026-08-01 21:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe1f2138012d196580071fefa0003b015129..."} 
[2026-08-01 21:51:36] local.INFO: Processing buffer {"connection_id":148830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe1f2138012d196580071fefa0003b015129..."} 
[2026-08-01 21:51:36] local.INFO: Packet analysis {"connection_id":148830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe1f"} 
[2026-08-01 21:51:36] local.INFO: Extracted packet for processing {"connection_id":148830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe1f"} 
[2026-08-01 21:51:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113814528001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785601139000,"timestamp_ms":1785601139000,"timestamp_seconds":1785601139,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe1f2138"} 
[2026-08-01 21:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 21:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:51:36] 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-08-01 21:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113814528001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113814528001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:51:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:51:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113814528001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":148830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:51:36] local.INFO: GPS data processed {"connection_id":148830,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:51:36] local.INFO: Acknowledgment sent {"connection_id":148830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:52:00] local.INFO: TCP Data received {"connection_id":146520,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:52:00] local.INFO: Processing buffer {"connection_id":146520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:52:00] local.INFO: IMEI packet received {"connection_id":146520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":146520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:52:04] local.INFO: TCP Data received {"connection_id":146520,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:52:04] local.INFO: Processing buffer {"connection_id":146520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:52:04] local.INFO: IMEI packet received {"connection_id":146520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":146520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:52:05] local.INFO: TCP Data received {"connection_id":146520,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe1f2138012d196580071fefa0003b015129..."} 
[2026-08-01 21:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe1f2138012d196580071fefa0003b015129..."} 
[2026-08-01 21:52:05] local.INFO: Processing buffer {"connection_id":146520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe1f2138012d196580071fefa0003b015129..."} 
[2026-08-01 21:52:05] local.INFO: Packet analysis {"connection_id":146520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe1f"} 
[2026-08-01 21:52:05] local.INFO: Extracted packet for processing {"connection_id":146520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe1f"} 
[2026-08-01 21:52:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113814528001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785601139000,"timestamp_ms":1785601139000,"timestamp_seconds":1785601139,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe1f2138"} 
[2026-08-01 21:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:52:05] 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-08-01 21:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 21:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:52:05] 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-08-01 21:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113814528001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113814528001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:52:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:52:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113814528001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":146520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:52:05] local.INFO: GPS data processed {"connection_id":146520,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:52:05] local.INFO: Acknowledgment sent {"connection_id":146520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:52:36] local.INFO: TCP Data received {"connection_id":146520,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe1f2138012d196580071fefa0003b015129..."} 
[2026-08-01 21:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe1f2138012d196580071fefa0003b015129..."} 
[2026-08-01 21:52:36] local.INFO: Processing buffer {"connection_id":146520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe1f2138012d196580071fefa0003b015129..."} 
[2026-08-01 21:52:36] local.INFO: Packet analysis {"connection_id":146520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe1f"} 
[2026-08-01 21:52:36] local.INFO: Extracted packet for processing {"connection_id":146520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe1f"} 
[2026-08-01 21:52:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113814528001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785601139000,"timestamp_ms":1785601139000,"timestamp_seconds":1785601139,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe1f2138"} 
[2026-08-01 21:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 21:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:52:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:52:36] 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-08-01 21:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113814528001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113814528001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:52:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:52:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113814528001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":146520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:52:36] local.INFO: GPS data processed {"connection_id":146520,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:52:36] local.INFO: Acknowledgment sent {"connection_id":146520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:52:59] local.INFO: TCP Data received {"connection_id":148833,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:52:59] local.INFO: Processing buffer {"connection_id":148833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:52:59] local.INFO: IMEI packet received {"connection_id":148833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":148833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:53:04] local.INFO: TCP Data received {"connection_id":148833,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:53:04] local.INFO: Processing buffer {"connection_id":148833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:53:04] local.INFO: IMEI packet received {"connection_id":148833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":148833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:53:05] local.INFO: TCP Data received {"connection_id":148833,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe1f2138012d196580071fefa0003b015129..."} 
[2026-08-01 21:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe1f2138012d196580071fefa0003b015129..."} 
[2026-08-01 21:53:05] local.INFO: Processing buffer {"connection_id":148833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe1f2138012d196580071fefa0003b015129..."} 
[2026-08-01 21:53:05] local.INFO: Packet analysis {"connection_id":148833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe1f"} 
[2026-08-01 21:53:05] local.INFO: Extracted packet for processing {"connection_id":148833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe1f"} 
[2026-08-01 21:53:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113814528001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785601139000,"timestamp_ms":1785601139000,"timestamp_seconds":1785601139,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe1f2138"} 
[2026-08-01 21:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:53:05] 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-08-01 21:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 21:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:53:05] 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-08-01 21:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113814528001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113814528001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:53:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:53:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113814528001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":148833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:53:05] local.INFO: GPS data processed {"connection_id":148833,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:53:05] local.INFO: Acknowledgment sent {"connection_id":148833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:53:36] local.INFO: TCP Data received {"connection_id":148833,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe1f2138012d196580071fefa0003b015129..."} 
[2026-08-01 21:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe1f2138012d196580071fefa0003b015129..."} 
[2026-08-01 21:53:36] local.INFO: Processing buffer {"connection_id":148833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe1f2138012d196580071fefa0003b015129..."} 
[2026-08-01 21:53:36] local.INFO: Packet analysis {"connection_id":148833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe1f"} 
[2026-08-01 21:53:36] local.INFO: Extracted packet for processing {"connection_id":148833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe1f"} 
[2026-08-01 21:53:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113814528001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785601139000,"timestamp_ms":1785601139000,"timestamp_seconds":1785601139,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe1f2138"} 
[2026-08-01 21:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 21:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:53:36] 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-08-01 21:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113814528001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113814528001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:53:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:53:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113814528001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":148833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:53:36] local.INFO: GPS data processed {"connection_id":148833,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:53:36] local.INFO: Acknowledgment sent {"connection_id":148833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:53:59] local.INFO: TCP Data received {"connection_id":147515,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:53:59] local.INFO: Processing buffer {"connection_id":147515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:53:59] local.INFO: IMEI packet received {"connection_id":147515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":147515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:54:04] local.INFO: TCP Data received {"connection_id":147515,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:54:04] local.INFO: Processing buffer {"connection_id":147515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:54:04] local.INFO: IMEI packet received {"connection_id":147515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":147515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:54:05] local.INFO: TCP Data received {"connection_id":147515,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe1f2138012d196580071fefa0003b015129..."} 
[2026-08-01 21:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe1f2138012d196580071fefa0003b015129..."} 
[2026-08-01 21:54:05] local.INFO: Processing buffer {"connection_id":147515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe1f2138012d196580071fefa0003b015129..."} 
[2026-08-01 21:54:05] local.INFO: Packet analysis {"connection_id":147515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe1f"} 
[2026-08-01 21:54:05] local.INFO: Extracted packet for processing {"connection_id":147515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe1f"} 
[2026-08-01 21:54:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113814528001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785601139000,"timestamp_ms":1785601139000,"timestamp_seconds":1785601139,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe1f2138"} 
[2026-08-01 21:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:54:05] 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-08-01 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 21:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:54:05] 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-08-01 21:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113814528001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113814528001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:54:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:54:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113814528001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":147515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:54:05] local.INFO: GPS data processed {"connection_id":147515,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:54:05] local.INFO: Acknowledgment sent {"connection_id":147515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:54:36] local.INFO: TCP Data received {"connection_id":147515,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe1f2138012d196580071fefa0003b015129..."} 
[2026-08-01 21:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe1f2138012d196580071fefa0003b015129..."} 
[2026-08-01 21:54:36] local.INFO: Processing buffer {"connection_id":147515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe1f2138012d196580071fefa0003b015129..."} 
[2026-08-01 21:54:36] local.INFO: Packet analysis {"connection_id":147515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe1f"} 
[2026-08-01 21:54:36] local.INFO: Extracted packet for processing {"connection_id":147515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe1f"} 
[2026-08-01 21:54:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113814528001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785601139000,"timestamp_ms":1785601139000,"timestamp_seconds":1785601139,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe1f2138"} 
[2026-08-01 21:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 21:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:54:36] 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-08-01 21:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113814528001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113814528001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:54:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:54:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113814528001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":147515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:54:36] local.INFO: GPS data processed {"connection_id":147515,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:54:36] local.INFO: Acknowledgment sent {"connection_id":147515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:55:04] local.INFO: TCP Data received {"connection_id":147516,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:55:04] local.INFO: Processing buffer {"connection_id":147516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:55:04] local.INFO: IMEI packet received {"connection_id":147516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":147516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:55:09] local.INFO: TCP Data received {"connection_id":147516,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:55:09] local.INFO: Processing buffer {"connection_id":147516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:55:09] local.INFO: IMEI packet received {"connection_id":147516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":147516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:55:10] local.INFO: TCP Data received {"connection_id":147516,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe23b900012d196580071fefa0003b015127..."} 
[2026-08-01 21:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe23b900012d196580071fefa0003b015127..."} 
[2026-08-01 21:55:10] local.INFO: Processing buffer {"connection_id":147516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe23b900012d196580071fefa0003b015127..."} 
[2026-08-01 21:55:10] local.INFO: Packet analysis {"connection_id":147516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe23"} 
[2026-08-01 21:55:10] local.INFO: Extracted packet for processing {"connection_id":147516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe23"} 
[2026-08-01 21:55:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 21:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113891584001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 21:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785601440000,"timestamp_ms":1785601440000,"timestamp_seconds":1785601440,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe23b900"} 
[2026-08-01 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-08-01 21:55: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-08-01 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":118,"data_length":795,"current_offset":136} 
[2026-08-01 21: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-08-01 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-08-01 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-08-01 21:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":147516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":147516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":147516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:55: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-08-01 21:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113891584001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113891584001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:55:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:55:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113891584001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":147516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579408,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:55:10] local.INFO: GPS data processed {"connection_id":147516,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:55:10] local.INFO: Acknowledgment sent {"connection_id":147516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:55:41] local.INFO: TCP Data received {"connection_id":147516,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe23b900012d196580071fefa0003b015127..."} 
[2026-08-01 21:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe23b900012d196580071fefa0003b015127..."} 
[2026-08-01 21:55:41] local.INFO: Processing buffer {"connection_id":147516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe23b900012d196580071fefa0003b015127..."} 
[2026-08-01 21:55:41] local.INFO: Packet analysis {"connection_id":147516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe23"} 
[2026-08-01 21:55:41] local.INFO: Extracted packet for processing {"connection_id":147516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe23"} 
[2026-08-01 21:55:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 21:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113891584001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:55:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 21:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785601440000,"timestamp_ms":1785601440000,"timestamp_seconds":1785601440,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe23b900"} 
[2026-08-01 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-08-01 21:55: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-08-01 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":118,"data_length":795,"current_offset":136} 
[2026-08-01 21: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-08-01 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-08-01 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-08-01 21:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":147516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":147516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":147516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:55: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-08-01 21:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113891584001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113891584001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:55:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:55:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:55:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113891584001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":147516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:55:41] local.INFO: GPS data processed {"connection_id":147516,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:55:41] local.INFO: Acknowledgment sent {"connection_id":147516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:55:50] local.INFO: TCP Data received {"connection_id":146288,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:55:50] local.INFO: Processing buffer {"connection_id":146288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:55:50] local.INFO: IMEI packet received {"connection_id":146288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 21:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":146288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:55:53] local.INFO: TCP Data received {"connection_id":146288,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:55:53] local.INFO: Processing buffer {"connection_id":146288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:55:53] local.INFO: IMEI packet received {"connection_id":146288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":146288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:55:54] local.INFO: TCP Data received {"connection_id":146288,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:55:54] local.INFO: Processing buffer {"connection_id":146288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:55:54] local.INFO: IMEI packet received {"connection_id":146288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":146288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:55:55] local.INFO: TCP Data received {"connection_id":146288,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe247480012cc2a8c0075e0158001100392c..."} 
[2026-08-01 21:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe247480012cc2a8c0075e0158001100392c..."} 
[2026-08-01 21:55:55] local.INFO: Processing buffer {"connection_id":146288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe247480012cc2a8c0075e0158001100392c..."} 
[2026-08-01 21:55:55] local.INFO: Packet analysis {"connection_id":146288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe24"} 
[2026-08-01 21:55:55] local.INFO: Extracted packet for processing {"connection_id":146288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe24"} 
[2026-08-01 21:55:55] local.INFO: GPS Element Parsed {"raw_longitude":750954688,"raw_latitude":123601240,"longitude_deg":75.0954688,"latitude_deg":12.360124,"altitude":17,"angle":57,"satellites":44,"speed":47,"hex_longitude":"2cc2a8c0","hex_latitude":"075e0158","is_valid_coordinates":true} 
[2026-08-01 21:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113979648001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366980615863533568,"note":"Value kept but may cause issues"} 
[2026-08-01 21:55:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4425279183459782656,"note":"Value kept but may cause issues"} 
[2026-08-01 21:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785601488000,"timestamp_ms":1785601488000,"timestamp_seconds":1785601488,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe247480"} 
[2026-08-01 21:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:55:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 21: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-01 21:55:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:55:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":146288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":146288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":146288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113979648001,"66":27343,"100":206,"27":54016,"24":47,"16":366980615863533568,"44":-4425279183459782656},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,27,24,16,44]} 
[2026-08-01 21:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113979648001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:55:55] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-01 21:55:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 21:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366980615863533568,"km_value":366980615863533.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:55:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4425279183459782656,"description":"Unknown IO ID 44"} 
[2026-08-01 21:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113979648001,"power":27343,"unknown_100":206,"unknown_27":54016,"ignition":47,"odometer":null,"unknown_44":-4425279183459782656}} 
[2026-08-01 21:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":146288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:55:55] local.INFO: GPS data processed {"connection_id":146288,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:55:55] local.INFO: Acknowledgment sent {"connection_id":146288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:55:58] local.INFO: TCP Data received {"connection_id":146288,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe2493c0012cc2c9c0075e14a00012003c2c..."} 
[2026-08-01 21:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe2493c0012cc2c9c0075e14a00012003c2c..."} 
[2026-08-01 21:55:58] local.INFO: Processing buffer {"connection_id":146288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe2493c0012cc2c9c0075e14a00012003c2c..."} 
[2026-08-01 21:55:58] local.INFO: Packet analysis {"connection_id":146288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe24"} 
[2026-08-01 21:55:58] local.INFO: Extracted packet for processing {"connection_id":146288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe24"} 
[2026-08-01 21:55:58] local.INFO: GPS Element Parsed {"raw_longitude":750963136,"raw_latitude":123606176,"longitude_deg":75.0963136,"latitude_deg":12.3606176,"altitude":18,"angle":60,"satellites":44,"speed":48,"hex_longitude":"2cc2c9c0","hex_latitude":"075e14a0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113980928001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366981084014968832,"note":"Value kept but may cause issues"} 
[2026-08-01 21:55:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4420071896389691392,"note":"Value kept but may cause issues"} 
[2026-08-01 21:55:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785601496000,"timestamp_ms":1785601496000,"timestamp_seconds":1785601496,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe2493c0"} 
[2026-08-01 21:55:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21: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-08-01 21: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-01 21:55: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-08-01 21: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-08-01 21:55:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":146288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":146288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":146288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:55:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113980928001,"66":27267,"100":206,"27":54016,"24":48,"16":366981084014968832,"44":-4420071896389691392},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,27,24,16,44]} 
[2026-08-01 21:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113980928001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:55:58] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-01 21:55:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 21:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366981084014968832,"km_value":366981084014968.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:55:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4420071896389691392,"description":"Unknown IO ID 44"} 
[2026-08-01 21:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113980928001,"power":27267,"unknown_100":206,"unknown_27":54016,"ignition":48,"odometer":null,"unknown_44":-4420071896389691392}} 
[2026-08-01 21:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":146288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:55:58] local.INFO: GPS data processed {"connection_id":146288,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:55:58] local.INFO: Acknowledgment sent {"connection_id":146288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:55:59] local.INFO: TCP Data received {"connection_id":148834,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:55:59] local.INFO: Processing buffer {"connection_id":148834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:55:59] local.INFO: IMEI packet received {"connection_id":148834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":148834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:55:59] local.INFO: TCP Data received {"connection_id":146288,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe24b300012cc2ec00075e28a00013003c2b..."} 
[2026-08-01 21:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe24b300012cc2ec00075e28a00013003c2b..."} 
[2026-08-01 21:55:59] local.INFO: Processing buffer {"connection_id":146288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe24b300012cc2ec00075e28a00013003c2b..."} 
[2026-08-01 21:55:59] local.INFO: Packet analysis {"connection_id":146288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe24"} 
[2026-08-01 21:55:59] local.INFO: Extracted packet for processing {"connection_id":146288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe24"} 
[2026-08-01 21:55:59] local.INFO: GPS Element Parsed {"raw_longitude":750971904,"raw_latitude":123611296,"longitude_deg":75.0971904,"latitude_deg":12.3611296,"altitude":19,"angle":60,"satellites":43,"speed":50,"hex_longitude":"2cc2ec00","hex_latitude":"075e28a0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 21:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113982976001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366981569346273280,"note":"Value kept but may cause issues"} 
[2026-08-01 21:55:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4410783222156976128,"note":"Value kept but may cause issues"} 
[2026-08-01 21:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785601504000,"timestamp_ms":1785601504000,"timestamp_seconds":1785601504,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe24b300"} 
[2026-08-01 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-08-01 21:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-01 21:55:59] 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-08-01 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-08-01 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-08-01 21:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":146288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":146288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":146288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113982976001,"66":26767,"100":206,"27":54016,"24":50,"16":366981569346273280,"44":-4410783222156976128},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,27,24,16,44]} 
[2026-08-01 21:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113982976001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:55:59] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-01 21:55:59] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 21:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366981569346273280,"km_value":366981569346273.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:55:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4410783222156976128,"description":"Unknown IO ID 44"} 
[2026-08-01 21:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113982976001,"power":26767,"unknown_100":206,"unknown_27":54016,"ignition":50,"odometer":null,"unknown_44":-4410783222156976128}} 
[2026-08-01 21:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":146288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:55:59] local.INFO: GPS data processed {"connection_id":146288,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:55:59] local.INFO: Acknowledgment sent {"connection_id":146288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:56:04] local.INFO: TCP Data received {"connection_id":148834,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:56:04] local.INFO: Processing buffer {"connection_id":148834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:56:04] local.INFO: IMEI packet received {"connection_id":148834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":148834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:56:05] local.INFO: TCP Data received {"connection_id":148834,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe23b900012d196580071fefa0003b015127..."} 
[2026-08-01 21:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe23b900012d196580071fefa0003b015127..."} 
[2026-08-01 21:56:05] local.INFO: Processing buffer {"connection_id":148834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe23b900012d196580071fefa0003b015127..."} 
[2026-08-01 21:56:05] local.INFO: Packet analysis {"connection_id":148834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe23"} 
[2026-08-01 21:56:05] local.INFO: Extracted packet for processing {"connection_id":148834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe23"} 
[2026-08-01 21:56:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113891584001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785601440000,"timestamp_ms":1785601440000,"timestamp_seconds":1785601440,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe23b900"} 
[2026-08-01 21:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:56:05] 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-08-01 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 21:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:56:05] 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-08-01 21:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113891584001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113891584001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:56:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:56:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113891584001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":148834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579413,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:56:05] local.INFO: GPS data processed {"connection_id":148834,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:56:05] local.INFO: Acknowledgment sent {"connection_id":148834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:56:36] local.INFO: TCP Data received {"connection_id":148834,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe23b900012d196580071fefa0003b015127..."} 
[2026-08-01 21:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe23b900012d196580071fefa0003b015127..."} 
[2026-08-01 21:56:36] local.INFO: Processing buffer {"connection_id":148834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe23b900012d196580071fefa0003b015127..."} 
[2026-08-01 21:56:36] local.INFO: Packet analysis {"connection_id":148834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe23"} 
[2026-08-01 21:56:36] local.INFO: Extracted packet for processing {"connection_id":148834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe23"} 
[2026-08-01 21:56:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113891584001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785601440000,"timestamp_ms":1785601440000,"timestamp_seconds":1785601440,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe23b900"} 
[2026-08-01 21:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 21:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:56:36] 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-08-01 21:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113891584001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113891584001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:56:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:56:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113891584001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":148834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:56:36] local.INFO: GPS data processed {"connection_id":148834,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:56:36] local.INFO: Acknowledgment sent {"connection_id":148834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:56:43] local.INFO: TCP Data received {"connection_id":147517,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:56:43] local.INFO: Processing buffer {"connection_id":147517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:56:43] local.INFO: IMEI packet received {"connection_id":147517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 21:56:43] local.INFO: IMEI acknowledgment sent {"connection_id":147517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:56:44] local.INFO: TCP Data received {"connection_id":147517,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:56:44] local.INFO: Processing buffer {"connection_id":147517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:56:44] local.INFO: IMEI packet received {"connection_id":147517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":147517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:56:48] local.INFO: TCP Data received {"connection_id":147517,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:56:48] local.INFO: Processing buffer {"connection_id":147517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:56:48] local.INFO: IMEI packet received {"connection_id":147517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":147517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:56:48] local.INFO: TCP Data received {"connection_id":147517,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe24d240012cc30e00075e3d78001400362c..."} 
[2026-08-01 21:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe24d240012cc30e00075e3d78001400362c..."} 
[2026-08-01 21:56:48] local.INFO: Processing buffer {"connection_id":147517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe24d240012cc30e00075e3d78001400362c..."} 
[2026-08-01 21:56:48] local.INFO: Packet analysis {"connection_id":147517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe24"} 
[2026-08-01 21:56:48] local.INFO: Extracted packet for processing {"connection_id":147517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe24"} 
[2026-08-01 21:56:48] local.INFO: GPS Element Parsed {"raw_longitude":750980608,"raw_latitude":123616632,"longitude_deg":75.0980608,"latitude_deg":12.3616632,"altitude":20,"angle":54,"satellites":44,"speed":48,"hex_longitude":"2cc30e00","hex_latitude":"075e3d78","is_valid_coordinates":true} 
[2026-08-01 21:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113985024001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366982054677577728,"note":"Value kept but may cause issues"} 
[2026-08-01 21:56:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4401142704203325440,"note":"Value kept but may cause issues"} 
[2026-08-01 21:56:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785601512000,"timestamp_ms":1785601512000,"timestamp_seconds":1785601512,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe24d240"} 
[2026-08-01 21:56:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:56:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 21:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":143,"data_length":795,"current_offset":136} 
[2026-08-01 21:56:48] 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-08-01 21:56:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:56:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":147517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":147517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":147517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:56:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113985024001,"66":27267,"227":206,"27":54016,"24":48,"16":366982054677577728,"44":-4401142704203325440},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,27,24,16,44]} 
[2026-08-01 21:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113985024001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:56:48] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-01 21:56:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 21:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366982054677577728,"km_value":366982054677577.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:56:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4401142704203325440,"description":"Unknown IO ID 44"} 
[2026-08-01 21:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113985024001,"power":27267,"unknown_227":206,"unknown_27":54016,"ignition":48,"odometer":null,"unknown_44":-4401142704203325440}} 
[2026-08-01 21:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":147517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:56:48] local.INFO: GPS data processed {"connection_id":147517,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:56:48] local.INFO: Acknowledgment sent {"connection_id":147517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:56:54] local.INFO: TCP Data received {"connection_id":147517,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe24e1e0012cc31c40075e4a60001400262a..."} 
[2026-08-01 21:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe24e1e0012cc31c40075e4a60001400262a..."} 
[2026-08-01 21:56:54] local.INFO: Processing buffer {"connection_id":147517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe24e1e0012cc31c40075e4a60001400262a..."} 
[2026-08-01 21:56:54] local.INFO: Packet analysis {"connection_id":147517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe24"} 
[2026-08-01 21:56:54] local.INFO: Extracted packet for processing {"connection_id":147517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe24"} 
[2026-08-01 21:56:54] local.INFO: GPS Element Parsed {"raw_longitude":750984256,"raw_latitude":123619936,"longitude_deg":75.0984256,"latitude_deg":12.3619936,"altitude":20,"angle":38,"satellites":42,"speed":48,"hex_longitude":"2cc31c40","hex_latitude":"075e4a60","is_valid_coordinates":true} 
[2026-08-01 21:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113987072001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366982290900779008,"note":"Value kept but may cause issues"} 
[2026-08-01 21:56:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4391572554993797120,"note":"Value kept but may cause issues"} 
[2026-08-01 21:56:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785601516000,"timestamp_ms":1785601516000,"timestamp_seconds":1785601516,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe24e1e0"} 
[2026-08-01 21:56:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:56: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-08-01 21:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-01 21:56:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:56:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:56:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":147517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":147517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":147517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:56:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113987072001,"66":27343,"227":206,"27":54016,"24":48,"16":366982290900779008,"44":-4391572554993797120},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,27,24,16,44]} 
[2026-08-01 21:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113987072001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:56:54] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-01 21:56:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 21:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366982290900779008,"km_value":366982290900779.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:56:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4391572554993797120,"description":"Unknown IO ID 44"} 
[2026-08-01 21:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113987072001,"power":27343,"unknown_227":206,"unknown_27":54016,"ignition":48,"odometer":null,"unknown_44":-4391572554993797120}} 
[2026-08-01 21:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":147517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:56:54] local.INFO: GPS data processed {"connection_id":147517,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:56:54] local.INFO: Acknowledgment sent {"connection_id":147517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:56:59] local.INFO: TCP Data received {"connection_id":146521,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:56:59] local.INFO: Processing buffer {"connection_id":146521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:56:59] local.INFO: IMEI packet received {"connection_id":146521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":146521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:57:04] local.INFO: TCP Data received {"connection_id":146521,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:57:04] local.INFO: Processing buffer {"connection_id":146521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:57:04] local.INFO: IMEI packet received {"connection_id":146521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":146521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:57:05] local.INFO: TCP Data received {"connection_id":146521,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe23b900012d196580071fefa0003b015127..."} 
[2026-08-01 21:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe23b900012d196580071fefa0003b015127..."} 
[2026-08-01 21:57:05] local.INFO: Processing buffer {"connection_id":146521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe23b900012d196580071fefa0003b015127..."} 
[2026-08-01 21:57:05] local.INFO: Packet analysis {"connection_id":146521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe23"} 
[2026-08-01 21:57:05] local.INFO: Extracted packet for processing {"connection_id":146521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe23"} 
[2026-08-01 21:57:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113891584001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785601440000,"timestamp_ms":1785601440000,"timestamp_seconds":1785601440,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe23b900"} 
[2026-08-01 21:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:57:05] 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-08-01 21: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":118,"data_length":795,"current_offset":136} 
[2026-08-01 21:57:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:57:05] 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-08-01 21:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113891584001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113891584001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:57:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:57:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113891584001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":146521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:57:05] local.INFO: GPS data processed {"connection_id":146521,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:57:05] local.INFO: Acknowledgment sent {"connection_id":146521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:57:28] local.INFO: TCP Data received {"connection_id":147517,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe24f180012cc32680075e5a48001400182c..."} 
[2026-08-01 21:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe24f180012cc32680075e5a48001400182c..."} 
[2026-08-01 21:57:28] local.INFO: Processing buffer {"connection_id":147517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe24f180012cc32680075e5a48001400182c..."} 
[2026-08-01 21:57:28] local.INFO: Packet analysis {"connection_id":147517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe24"} 
[2026-08-01 21:57:28] local.INFO: Extracted packet for processing {"connection_id":147517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe24"} 
[2026-08-01 21:57:28] local.INFO: GPS Element Parsed {"raw_longitude":750986880,"raw_latitude":123624008,"longitude_deg":75.098688,"latitude_deg":12.3624008,"altitude":20,"angle":24,"satellites":44,"speed":47,"hex_longitude":"2cc32680","hex_latitude":"075e5a48","is_valid_coordinates":true} 
[2026-08-01 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-08-01 21:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113988096001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366982522829012992,"note":"Value kept but may cause issues"} 
[2026-08-01 21:57:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4387561536574824448,"note":"Value kept but may cause issues"} 
[2026-08-01 21:57:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785601520000,"timestamp_ms":1785601520000,"timestamp_seconds":1785601520,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe24f180"} 
[2026-08-01 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-08-01 21:57: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-08-01 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-01 21:57:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 21:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":147517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":147517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":147517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:57:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113988096001,"66":27463,"227":206,"27":54016,"24":47,"16":366982522829012992,"44":-4387561536574824448},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,27,24,16,44]} 
[2026-08-01 21:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113988096001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:57:28] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-01 21:57:28] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 21:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366982522829012992,"km_value":366982522829013.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:57:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4387561536574824448,"description":"Unknown IO ID 44"} 
[2026-08-01 21:57:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113988096001,"power":27463,"unknown_227":206,"unknown_27":54016,"ignition":47,"odometer":null,"unknown_44":-4387561536574824448}} 
[2026-08-01 21:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":147517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:57:28] local.INFO: GPS data processed {"connection_id":147517,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:57:28] local.INFO: Acknowledgment sent {"connection_id":147517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:57:36] local.INFO: TCP Data received {"connection_id":146521,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe23b900012d196580071fefa0003b015127..."} 
[2026-08-01 21:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe23b900012d196580071fefa0003b015127..."} 
[2026-08-01 21:57:36] local.INFO: Processing buffer {"connection_id":146521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe23b900012d196580071fefa0003b015127..."} 
[2026-08-01 21:57:36] local.INFO: Packet analysis {"connection_id":146521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe23"} 
[2026-08-01 21:57:36] local.INFO: Extracted packet for processing {"connection_id":146521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe23"} 
[2026-08-01 21:57:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113891584001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785601440000,"timestamp_ms":1785601440000,"timestamp_seconds":1785601440,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe23b900"} 
[2026-08-01 21:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 21:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:57:36] 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-08-01 21:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113891584001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113891584001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:57:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:57:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113891584001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":146521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:57:36] local.INFO: GPS data processed {"connection_id":146521,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:57:36] local.INFO: Acknowledgment sent {"connection_id":146521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:57:43] local.INFO: TCP Data received {"connection_id":148835,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:57:43] local.INFO: Processing buffer {"connection_id":148835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:57:43] local.INFO: IMEI packet received {"connection_id":148835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 21:57:43] local.INFO: IMEI acknowledgment sent {"connection_id":148835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:57:46] local.INFO: TCP Data received {"connection_id":148835,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:57:46] local.INFO: Processing buffer {"connection_id":148835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:57:46] local.INFO: IMEI packet received {"connection_id":148835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":148835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:57:47] local.INFO: TCP Data received {"connection_id":148835,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe2631d0012cc32540075f8990001501612a..."} 
[2026-08-01 21:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe2631d0012cc32540075f8990001501612a..."} 
[2026-08-01 21:57:47] local.INFO: Processing buffer {"connection_id":148835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe2631d0012cc32540075f8990001501612a..."} 
[2026-08-01 21:57:47] local.INFO: Packet analysis {"connection_id":148835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe26"} 
[2026-08-01 21:57:47] local.INFO: Extracted packet for processing {"connection_id":148835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe26"} 
[2026-08-01 21:57:47] local.INFO: GPS Element Parsed {"raw_longitude":750986560,"raw_latitude":123701648,"longitude_deg":75.098656,"latitude_deg":12.3701648,"altitude":21,"angle":353,"satellites":42,"speed":44,"hex_longitude":"2cc32540","hex_latitude":"075f8990","is_valid_coordinates":true} 
[2026-08-01 21:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114007808001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366986328170037248,"note":"Value kept but may cause issues"} 
[2026-08-01 21:57:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4383409780649951232,"note":"Value kept but may cause issues"} 
[2026-08-01 21:57:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785601602000,"timestamp_ms":1785601602000,"timestamp_seconds":1785601602,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe2631d0"} 
[2026-08-01 21:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:57:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 21:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-01 21:57:47] 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-08-01 21:57:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":148835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":148835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":148835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114007808001,"66":27463,"23":206,"27":54016,"24":44,"16":366986328170037248,"44":-4383409780649951232},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,27,24,16,44]} 
[2026-08-01 21:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114007808001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:57:47] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-01 21:57:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 21:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366986328170037248,"km_value":366986328170037.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:57:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4383409780649951232,"description":"Unknown IO ID 44"} 
[2026-08-01 21:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114007808001,"power":27463,"unknown_23":206,"unknown_27":54016,"ignition":44,"odometer":null,"unknown_44":-4383409780649951232}} 
[2026-08-01 21:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":148835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:57:47] local.INFO: GPS data processed {"connection_id":148835,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:57:47] local.INFO: Acknowledgment sent {"connection_id":148835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:57:49] local.INFO: TCP Data received {"connection_id":148835,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe264558012cc32540075f9e60001600082a..."} 
[2026-08-01 21:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe264558012cc32540075f9e60001600082a..."} 
[2026-08-01 21:57:49] local.INFO: Processing buffer {"connection_id":148835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe264558012cc32540075f9e60001600082a..."} 
[2026-08-01 21:57:49] local.INFO: Packet analysis {"connection_id":148835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe26"} 
[2026-08-01 21:57:49] local.INFO: Extracted packet for processing {"connection_id":148835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe26"} 
[2026-08-01 21:57:49] local.INFO: GPS Element Parsed {"raw_longitude":750986560,"raw_latitude":123706976,"longitude_deg":75.098656,"latitude_deg":12.3706976,"altitude":22,"angle":8,"satellites":42,"speed":40,"hex_longitude":"2cc32540","hex_latitude":"075f9e60","is_valid_coordinates":true} 
[2026-08-01 21:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114010112001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366986585868075008,"note":"Value kept but may cause issues"} 
[2026-08-01 21:57:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4385028261763510272,"note":"Value kept but may cause issues"} 
[2026-08-01 21:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785601607000,"timestamp_ms":1785601607000,"timestamp_seconds":1785601607,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe264558"} 
[2026-08-01 21:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 21:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-01 21:57:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:57:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114010112001,"66":27365,"23":206,"27":54016,"24":40,"16":366986585868075008,"44":-4385028261763510272},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,27,24,16,44]} 
[2026-08-01 21:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114010112001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:57:49] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-01 21:57:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 21:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366986585868075008,"km_value":366986585868075.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:57:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4385028261763510272,"description":"Unknown IO ID 44"} 
[2026-08-01 21:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114010112001,"power":27365,"unknown_23":206,"unknown_27":54016,"ignition":40,"odometer":null,"unknown_44":-4385028261763510272}} 
[2026-08-01 21:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":148835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:57:49] local.INFO: GPS data processed {"connection_id":148835,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:57:49] local.INFO: Acknowledgment sent {"connection_id":148835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:57:59] local.INFO: TCP Data received {"connection_id":146522,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:57:59] local.INFO: Processing buffer {"connection_id":146522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:57:59] local.INFO: IMEI packet received {"connection_id":146522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":146522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:58:04] local.INFO: TCP Data received {"connection_id":146522,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:58:04] local.INFO: Processing buffer {"connection_id":146522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:58:04] local.INFO: IMEI packet received {"connection_id":146522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":146522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:58:05] local.INFO: TCP Data received {"connection_id":146522,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe23b900012d196580071fefa0003b015127..."} 
[2026-08-01 21:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe23b900012d196580071fefa0003b015127..."} 
[2026-08-01 21:58:05] local.INFO: Processing buffer {"connection_id":146522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe23b900012d196580071fefa0003b015127..."} 
[2026-08-01 21:58:05] local.INFO: Packet analysis {"connection_id":146522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe23"} 
[2026-08-01 21:58:05] local.INFO: Extracted packet for processing {"connection_id":146522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe23"} 
[2026-08-01 21:58:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113891584001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785601440000,"timestamp_ms":1785601440000,"timestamp_seconds":1785601440,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe23b900"} 
[2026-08-01 21:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:58:05] 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-08-01 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 21:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:58:05] 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-08-01 21:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113891584001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113891584001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:58:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:58:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113891584001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":146522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:58:05] local.INFO: GPS data processed {"connection_id":146522,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:58:05] local.INFO: Acknowledgment sent {"connection_id":146522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:58:20] local.INFO: TCP Data received {"connection_id":148835,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe265110012cc32880075fa9c0001600162c..."} 
[2026-08-01 21:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe265110012cc32880075fa9c0001600162c..."} 
[2026-08-01 21:58:20] local.INFO: Processing buffer {"connection_id":148835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe265110012cc32880075fa9c0001600162c..."} 
[2026-08-01 21:58:20] local.INFO: Packet analysis {"connection_id":148835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe26"} 
[2026-08-01 21:58:20] local.INFO: Extracted packet for processing {"connection_id":148835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe26"} 
[2026-08-01 21:58:20] local.INFO: GPS Element Parsed {"raw_longitude":750987392,"raw_latitude":123709888,"longitude_deg":75.0987392,"latitude_deg":12.3709888,"altitude":22,"angle":22,"satellites":44,"speed":39,"hex_longitude":"2cc32880","hex_latitude":"075fa9c0","is_valid_coordinates":true} 
[2026-08-01 21:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114011392001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366986736191930368,"note":"Value kept but may cause issues"} 
[2026-08-01 21:58:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4385028261762146304,"note":"Value kept but may cause issues"} 
[2026-08-01 21:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785601610000,"timestamp_ms":1785601610000,"timestamp_seconds":1785601610,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe265110"} 
[2026-08-01 21:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:58: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-08-01 21:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-01 21:58:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:58:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:58:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114011392001,"66":27365,"23":206,"27":54016,"24":39,"16":366986736191930368,"44":-4385028261762146304},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,27,24,16,44]} 
[2026-08-01 21:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114011392001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:58:20] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-01 21:58:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 21:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366986736191930368,"km_value":366986736191930.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:58:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4385028261762146304,"description":"Unknown IO ID 44"} 
[2026-08-01 21:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114011392001,"power":27365,"unknown_23":206,"unknown_27":54016,"ignition":39,"odometer":null,"unknown_44":-4385028261762146304}} 
[2026-08-01 21:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":148835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:58:20] local.INFO: GPS data processed {"connection_id":148835,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:58:20] local.INFO: Acknowledgment sent {"connection_id":148835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:58:36] local.INFO: TCP Data received {"connection_id":146522,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe23b900012d196580071fefa0003b015127..."} 
[2026-08-01 21:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe23b900012d196580071fefa0003b015127..."} 
[2026-08-01 21:58:36] local.INFO: Processing buffer {"connection_id":146522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe23b900012d196580071fefa0003b015127..."} 
[2026-08-01 21:58:36] local.INFO: Packet analysis {"connection_id":146522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe23"} 
[2026-08-01 21:58:36] local.INFO: Extracted packet for processing {"connection_id":146522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe23"} 
[2026-08-01 21:58:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113891584001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785601440000,"timestamp_ms":1785601440000,"timestamp_seconds":1785601440,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe23b900"} 
[2026-08-01 21:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 21:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:58:36] 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-08-01 21:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113891584001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113891584001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:58:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:58:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113891584001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":146522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:58:36] local.INFO: GPS data processed {"connection_id":146522,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:58:36] local.INFO: Acknowledgment sent {"connection_id":146522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:58:43] local.INFO: TCP Data received {"connection_id":147518,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:58:43] local.INFO: Processing buffer {"connection_id":147518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:58:43] local.INFO: IMEI packet received {"connection_id":147518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 21:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":147518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:58:48] local.INFO: TCP Data received {"connection_id":147518,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:58:48] local.INFO: Processing buffer {"connection_id":147518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:58:48] local.INFO: IMEI packet received {"connection_id":147518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":147518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:58:49] local.INFO: TCP Data received {"connection_id":147518,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe265cc8012cc32e40075fb3a8001600242c..."} 
[2026-08-01 21:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe265cc8012cc32e40075fb3a8001600242c..."} 
[2026-08-01 21:58:49] local.INFO: Processing buffer {"connection_id":147518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe265cc8012cc32e40075fb3a8001600242c..."} 
[2026-08-01 21:58:49] local.INFO: Packet analysis {"connection_id":147518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe26"} 
[2026-08-01 21:58:49] local.INFO: Extracted packet for processing {"connection_id":147518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe26"} 
[2026-08-01 21:58:49] local.INFO: GPS Element Parsed {"raw_longitude":750988864,"raw_latitude":123712424,"longitude_deg":75.0988864,"latitude_deg":12.3712424,"altitude":22,"angle":36,"satellites":44,"speed":38,"hex_longitude":"2cc32e40","hex_latitude":"075fb3a8","is_valid_coordinates":true} 
[2026-08-01 21: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-08-01 21:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114012160001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366986877925851136,"note":"Value kept but may cause issues"} 
[2026-08-01 21:58:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4384113468087091200,"note":"Value kept but may cause issues"} 
[2026-08-01 21:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785601613000,"timestamp_ms":1785601613000,"timestamp_seconds":1785601613,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe265cc8"} 
[2026-08-01 21:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:58: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-08-01 21: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-01 21:58:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21: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-08-01 21:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:58:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114012160001,"66":26941,"23":206,"27":54016,"24":38,"16":366986877925851136,"44":-4384113468087091200},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,27,24,16,44]} 
[2026-08-01 21:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114012160001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:58:49] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-01 21:58:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 21:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366986877925851136,"km_value":366986877925851.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:58:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4384113468087091200,"description":"Unknown IO ID 44"} 
[2026-08-01 21:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114012160001,"power":26941,"unknown_23":206,"unknown_27":54016,"ignition":38,"odometer":null,"unknown_44":-4384113468087091200}} 
[2026-08-01 21:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":147518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:58:49] local.INFO: GPS data processed {"connection_id":147518,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:58:49] local.INFO: Acknowledgment sent {"connection_id":147518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:59:04] local.INFO: TCP Data received {"connection_id":146523,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:59:04] local.INFO: Processing buffer {"connection_id":146523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:59:04] local.INFO: IMEI packet received {"connection_id":146523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":146523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:59:09] local.INFO: TCP Data received {"connection_id":146523,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:59:09] local.INFO: Processing buffer {"connection_id":146523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:59:09] local.INFO: IMEI packet received {"connection_id":146523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 21:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":146523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:59:10] local.INFO: TCP Data received {"connection_id":146523,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe23b900012d196580071fefa0003b015127..."} 
[2026-08-01 21:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe23b900012d196580071fefa0003b015127..."} 
[2026-08-01 21:59:10] local.INFO: Processing buffer {"connection_id":146523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe23b900012d196580071fefa0003b015127..."} 
[2026-08-01 21:59:10] local.INFO: Packet analysis {"connection_id":146523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe23"} 
[2026-08-01 21:59:10] local.INFO: Extracted packet for processing {"connection_id":146523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe23"} 
[2026-08-01 21:59:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 21:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113891584001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 21:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785601440000,"timestamp_ms":1785601440000,"timestamp_seconds":1785601440,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe23b900"} 
[2026-08-01 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-08-01 21:59: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-08-01 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":118,"data_length":795,"current_offset":136} 
[2026-08-01 21: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-08-01 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-08-01 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-08-01 21:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:59: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-08-01 21:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113891584001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113891584001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:59:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:59:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113891584001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":146523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579426,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:59:10] local.INFO: GPS data processed {"connection_id":146523,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:59:10] local.INFO: Acknowledgment sent {"connection_id":146523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:59:14] local.INFO: TCP Data received {"connection_id":146523,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe23b900012d196580071fefa0003b015127..."} 
[2026-08-01 21:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe23b900012d196580071fefa0003b015127..."} 
[2026-08-01 21:59:14] local.INFO: Processing buffer {"connection_id":146523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe23b900012d196580071fefa0003b015127..."} 
[2026-08-01 21:59:14] local.INFO: Packet analysis {"connection_id":146523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe23"} 
[2026-08-01 21:59:14] local.INFO: Extracted packet for processing {"connection_id":146523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe23"} 
[2026-08-01 21:59:14] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":59,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 21:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:59:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113891584001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:59:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:59:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 21:59: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-08-01 21:59:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785601440000,"timestamp_ms":1785601440000,"timestamp_seconds":1785601440,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe23b900"} 
[2026-08-01 21:59:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:59:14] 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-08-01 21:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 21:59: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-08-01 21:59:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:59:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:59:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:59:14] local.INFO: Teltonika packet parsed successfully {"connection_id":146523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:59:14] local.INFO: Passing IMEI to GPS processor {"connection_id":146523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:59:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":146523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 21:59:14] 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-08-01 21:59:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 21:59:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 21:59:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113891584001,"66":2155,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 21:59:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 21:59:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 21:59:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113891584001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:59:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 21:59:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 21:59:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:59:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 21:59:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113891584001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 21:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":146523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:59:15] local.INFO: GPS data processed {"connection_id":146523,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:59:15] local.INFO: Acknowledgment sent {"connection_id":146523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:59:21] local.INFO: TCP Data received {"connection_id":147518,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe278990012cc330c007604980003201562b..."} 
[2026-08-01 21:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe278990012cc330c007604980003201562b..."} 
[2026-08-01 21:59:21] local.INFO: Processing buffer {"connection_id":147518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe278990012cc330c007604980003201562b..."} 
[2026-08-01 21:59:21] local.INFO: Packet analysis {"connection_id":147518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe27"} 
[2026-08-01 21:59:21] local.INFO: Extracted packet for processing {"connection_id":147518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe27"} 
[2026-08-01 21:59:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":123750784,"longitude_deg":75.0989504,"latitude_deg":12.3750784,"altitude":50,"angle":342,"satellites":43,"speed":23,"hex_longitude":"2cc330c0","hex_latitude":"07604980","is_valid_coordinates":true} 
[2026-08-01 21:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114029312001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366989180028321792,"note":"Value kept but may cause issues"} 
[2026-08-01 21:59:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4378061756079026176,"note":"Value kept but may cause issues"} 
[2026-08-01 21:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785601690000,"timestamp_ms":1785601690000,"timestamp_seconds":1785601690,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe278990"} 
[2026-08-01 21:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:59:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 21:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-01 21:59:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:59:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:59:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114029312001,"66":27397,"23":206,"27":54016,"24":23,"16":366989180028321792,"44":-4378061756079026176},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,27,24,16,44]} 
[2026-08-01 21:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114029312001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:59:21] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-01 21:59:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 21:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366989180028321792,"km_value":366989180028321.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:59:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4378061756079026176,"description":"Unknown IO ID 44"} 
[2026-08-01 21:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114029312001,"power":27397,"unknown_23":206,"unknown_27":54016,"ignition":23,"odometer":null,"unknown_44":-4378061756079026176}} 
[2026-08-01 21:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":147518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:59:21] local.INFO: GPS data processed {"connection_id":147518,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:59:21] local.INFO: Acknowledgment sent {"connection_id":147518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:59:43] local.INFO: TCP Data received {"connection_id":148836,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:59:43] local.INFO: Processing buffer {"connection_id":148836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:59:43] local.INFO: IMEI packet received {"connection_id":148836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 21:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":148836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 21:59:48] local.INFO: TCP Data received {"connection_id":148836,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:59:48] local.INFO: Processing buffer {"connection_id":148836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 21:59:48] local.INFO: IMEI packet received {"connection_id":148836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 21:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":148836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 21:59:49] local.INFO: TCP Data received {"connection_id":148836,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe27b488012cc32c00076060a8003501642c..."} 
[2026-08-01 21:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe27b488012cc32c00076060a8003501642c..."} 
[2026-08-01 21:59:49] local.INFO: Processing buffer {"connection_id":148836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe27b488012cc32c00076060a8003501642c..."} 
[2026-08-01 21:59:49] local.INFO: Packet analysis {"connection_id":148836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe27"} 
[2026-08-01 21:59:49] local.INFO: Extracted packet for processing {"connection_id":148836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe27"} 
[2026-08-01 21:59:49] local.INFO: GPS Element Parsed {"raw_longitude":750988288,"raw_latitude":123756712,"longitude_deg":75.0988288,"latitude_deg":12.3756712,"altitude":53,"angle":356,"satellites":44,"speed":20,"hex_longitude":"2cc32c00","hex_latitude":"076060a8","is_valid_coordinates":true} 
[2026-08-01 21:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 21:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114032640001,"note":"Value kept but may cause issues"} 
[2026-08-01 21:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366989472086097920,"note":"Value kept but may cause issues"} 
[2026-08-01 21:59:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299518758912,"note":"Value kept but may cause issues"} 
[2026-08-01 21:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 21:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785601701000,"timestamp_ms":1785601701000,"timestamp_seconds":1785601701,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe27b488"} 
[2026-08-01 21:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 21:59:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 21:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-01 21:59:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 21:59:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 21:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 21:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 21:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 21:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 21:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 21:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 21:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 21:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114032640001,"66":26723,"23":206,"27":54016,"24":20,"16":366989472086097920,"44":-4381791299518758912},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,27,24,16,44]} 
[2026-08-01 21:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 21:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 21:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114032640001,"description":"Unknown IO ID 0"} 
[2026-08-01 21:59:49] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-01 21:59:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 21:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366989472086097920,"km_value":366989472086097.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 21:59:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299518758912,"description":"Unknown IO ID 44"} 
[2026-08-01 21:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114032640001,"power":26723,"unknown_23":206,"unknown_27":54016,"ignition":20,"odometer":null,"unknown_44":-4381791299518758912}} 
[2026-08-01 21:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":148836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 21:59:49] local.INFO: GPS data processed {"connection_id":148836,"processed":1,"errors":0,"total":1} 
[2026-08-01 21:59:49] local.INFO: Acknowledgment sent {"connection_id":148836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 21:59:59] local.INFO: TCP Data received {"connection_id":147519,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:59:59] local.INFO: Processing buffer {"connection_id":147519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 21:59:59] local.INFO: IMEI packet received {"connection_id":147519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 21:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":147519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:00:04] local.INFO: TCP Data received {"connection_id":147519,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:00:04] local.INFO: Processing buffer {"connection_id":147519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:00:04] local.INFO: IMEI packet received {"connection_id":147519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":147519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:00:05] local.INFO: TCP Data received {"connection_id":147519,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe2850c8012d196580071fefa00048015128..."} 
[2026-08-01 22:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe2850c8012d196580071fefa00048015128..."} 
[2026-08-01 22:00:05] local.INFO: Processing buffer {"connection_id":147519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe2850c8012d196580071fefa00048015128..."} 
[2026-08-01 22:00:05] local.INFO: Packet analysis {"connection_id":147519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe28"} 
[2026-08-01 22:00:05] local.INFO: Extracted packet for processing {"connection_id":147519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe28"} 
[2026-08-01 22:00:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":72,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113968640001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785601741000,"timestamp_ms":1785601741000,"timestamp_seconds":1785601741,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe2850c8"} 
[2026-08-01 22:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:00:05] 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-08-01 22:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 22:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:00:05] 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-08-01 22:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113968640001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113968640001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:00:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:00:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113968640001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":147519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:00:05] local.INFO: GPS data processed {"connection_id":147519,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:00:05] local.INFO: Acknowledgment sent {"connection_id":147519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:00:20] local.INFO: TCP Data received {"connection_id":148836,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe27d3c8012cc32c8007607060003800062c..."} 
[2026-08-01 22:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe27d3c8012cc32c8007607060003800062c..."} 
[2026-08-01 22:00:20] local.INFO: Processing buffer {"connection_id":148836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe27d3c8012cc32c8007607060003800062c..."} 
[2026-08-01 22:00:20] local.INFO: Packet analysis {"connection_id":148836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe27"} 
[2026-08-01 22:00:20] local.INFO: Extracted packet for processing {"connection_id":148836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe27"} 
[2026-08-01 22:00:20] local.INFO: GPS Element Parsed {"raw_longitude":750988416,"raw_latitude":123760736,"longitude_deg":75.0988416,"latitude_deg":12.3760736,"altitude":56,"angle":6,"satellites":44,"speed":18,"hex_longitude":"2cc32c80","hex_latitude":"07607060","is_valid_coordinates":true} 
[2026-08-01 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-08-01 22:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114035456001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366989669654593536,"note":"Value kept but may cause issues"} 
[2026-08-01 22:00:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4383128305656616960,"note":"Value kept but may cause issues"} 
[2026-08-01 22:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785601709000,"timestamp_ms":1785601709000,"timestamp_seconds":1785601709,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe27d3c8"} 
[2026-08-01 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-08-01 22:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 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":104,"n8_eight_byte":99,"data_length":795,"current_offset":136} 
[2026-08-01 22:00:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1609,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 22:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114035456001,"66":27397,"23":206,"27":54016,"24":18,"16":366989669654593536,"44":-4383128305656616960},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,27,24,16,44]} 
[2026-08-01 22:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114035456001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:00:20] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-01 22:00:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366989669654593536,"km_value":366989669654593.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:00:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4383128305656616960,"description":"Unknown IO ID 44"} 
[2026-08-01 22:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114035456001,"power":27397,"unknown_23":206,"unknown_27":54016,"ignition":18,"odometer":null,"unknown_44":-4383128305656616960}} 
[2026-08-01 22:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":148836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:00:21] local.INFO: GPS data processed {"connection_id":148836,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:00:21] local.INFO: Acknowledgment sent {"connection_id":148836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:00:36] local.INFO: TCP Data received {"connection_id":147519,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe2850c8012d196580071fefa00048015128..."} 
[2026-08-01 22:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe2850c8012d196580071fefa00048015128..."} 
[2026-08-01 22:00:36] local.INFO: Processing buffer {"connection_id":147519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe2850c8012d196580071fefa00048015128..."} 
[2026-08-01 22:00:36] local.INFO: Packet analysis {"connection_id":147519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe28"} 
[2026-08-01 22:00:36] local.INFO: Extracted packet for processing {"connection_id":147519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe28"} 
[2026-08-01 22:00:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":72,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113968640001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785601741000,"timestamp_ms":1785601741000,"timestamp_seconds":1785601741,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe2850c8"} 
[2026-08-01 22:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:00:36] 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-08-01 22:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 22:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:00:36] 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-08-01 22:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113968640001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113968640001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:00:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:00:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113968640001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":147519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:00:36] local.INFO: GPS data processed {"connection_id":147519,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:00:36] local.INFO: Acknowledgment sent {"connection_id":147519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:00:43] local.INFO: TCP Data received {"connection_id":146524,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:00:43] local.INFO: Processing buffer {"connection_id":146524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:00:43] local.INFO: IMEI packet received {"connection_id":146524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 22:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":146524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:00:47] local.INFO: TCP Data received {"connection_id":146524,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:00:47] local.INFO: Processing buffer {"connection_id":146524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:00:47] local.INFO: IMEI packet received {"connection_id":146524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":146524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:00:49] local.INFO: TCP Data received {"connection_id":146524,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe281a18012cc334c007609458003f000e2d..."} 
[2026-08-01 22:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe281a18012cc334c007609458003f000e2d..."} 
[2026-08-01 22:00:49] local.INFO: Processing buffer {"connection_id":146524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe281a18012cc334c007609458003f000e2d..."} 
[2026-08-01 22:00:49] local.INFO: Packet analysis {"connection_id":146524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe28"} 
[2026-08-01 22:00:49] local.INFO: Extracted packet for processing {"connection_id":146524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe28"} 
[2026-08-01 22:00:49] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":123769944,"longitude_deg":75.0990528,"latitude_deg":12.3769944,"altitude":63,"angle":14,"satellites":45,"speed":23,"hex_longitude":"2cc334c0","hex_latitude":"07609458","is_valid_coordinates":true} 
[2026-08-01 22:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114037504001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366990129216094208,"note":"Value kept but may cause issues"} 
[2026-08-01 22:00:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4382987568167231488,"note":"Value kept but may cause issues"} 
[2026-08-01 22:00:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785601727000,"timestamp_ms":1785601727000,"timestamp_seconds":1785601727,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe281a18"} 
[2026-08-01 22:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:00:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 22:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-01 22:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:00:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114037504001,"66":27376,"23":206,"27":54016,"24":23,"16":366990129216094208,"44":-4382987568167231488},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,27,24,16,44]} 
[2026-08-01 22:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114037504001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:00:49] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-01 22:00:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366990129216094208,"km_value":366990129216094.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:00:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4382987568167231488,"description":"Unknown IO ID 44"} 
[2026-08-01 22:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114037504001,"power":27376,"unknown_23":206,"unknown_27":54016,"ignition":23,"odometer":null,"unknown_44":-4382987568167231488}} 
[2026-08-01 22:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":146524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:00:49] local.INFO: GPS data processed {"connection_id":146524,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:00:49] local.INFO: Acknowledgment sent {"connection_id":146524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:00:59] local.INFO: TCP Data received {"connection_id":147520,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:00:59] local.INFO: Processing buffer {"connection_id":147520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:00:59] local.INFO: IMEI packet received {"connection_id":147520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":147520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:01:04] local.INFO: TCP Data received {"connection_id":147520,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:01:04] local.INFO: Processing buffer {"connection_id":147520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:01:04] local.INFO: IMEI packet received {"connection_id":147520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":147520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:01:05] local.INFO: TCP Data received {"connection_id":147520,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe2850c8012d196580071fefa00048015128..."} 
[2026-08-01 22:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe2850c8012d196580071fefa00048015128..."} 
[2026-08-01 22:01:05] local.INFO: Processing buffer {"connection_id":147520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe2850c8012d196580071fefa00048015128..."} 
[2026-08-01 22:01:05] local.INFO: Packet analysis {"connection_id":147520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe28"} 
[2026-08-01 22:01:05] local.INFO: Extracted packet for processing {"connection_id":147520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe28"} 
[2026-08-01 22:01:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":72,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113968640001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785601741000,"timestamp_ms":1785601741000,"timestamp_seconds":1785601741,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe2850c8"} 
[2026-08-01 22:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:01:05] 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-08-01 22:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 22:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:01:05] 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-08-01 22:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113968640001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113968640001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:01:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:01:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113968640001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":147520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:01:05] local.INFO: GPS data processed {"connection_id":147520,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:01:05] local.INFO: Acknowledgment sent {"connection_id":147520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:01:20] local.INFO: TCP Data received {"connection_id":146524,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe284510012cc33cc00760ae200041001b2d..."} 
[2026-08-01 22:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe284510012cc33cc00760ae200041001b2d..."} 
[2026-08-01 22:01:20] local.INFO: Processing buffer {"connection_id":146524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe284510012cc33cc00760ae200041001b2d..."} 
[2026-08-01 22:01:20] local.INFO: Packet analysis {"connection_id":146524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe28"} 
[2026-08-01 22:01:20] local.INFO: Extracted packet for processing {"connection_id":146524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe28"} 
[2026-08-01 22:01:20] local.INFO: GPS Element Parsed {"raw_longitude":750992576,"raw_latitude":123776544,"longitude_deg":75.0992576,"latitude_deg":12.3776544,"altitude":65,"angle":27,"satellites":45,"speed":25,"hex_longitude":"2cc33cc0","hex_latitude":"0760ae20","is_valid_coordinates":true} 
[2026-08-01 22:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114042112001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366990464223543296,"note":"Value kept but may cause issues"} 
[2026-08-01 22:01:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380665399607011328,"note":"Value kept but may cause issues"} 
[2026-08-01 22:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785601738000,"timestamp_ms":1785601738000,"timestamp_seconds":1785601738,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe284510"} 
[2026-08-01 22:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:01: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-08-01 22:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-01 22:01:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:01:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:01:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114042112001,"66":27234,"23":206,"27":54016,"24":25,"16":366990464223543296,"44":-4380665399607011328},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,27,24,16,44]} 
[2026-08-01 22:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114042112001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:01:20] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-01 22:01:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366990464223543296,"km_value":366990464223543.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:01:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380665399607011328,"description":"Unknown IO ID 44"} 
[2026-08-01 22:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114042112001,"power":27234,"unknown_23":206,"unknown_27":54016,"ignition":25,"odometer":null,"unknown_44":-4380665399607011328}} 
[2026-08-01 22:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":146524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:01:20] local.INFO: GPS data processed {"connection_id":146524,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:01:20] local.INFO: Acknowledgment sent {"connection_id":146524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:01:36] local.INFO: TCP Data received {"connection_id":147520,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe2850c8012d196580071fefa00048015128..."} 
[2026-08-01 22:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe2850c8012d196580071fefa00048015128..."} 
[2026-08-01 22:01:36] local.INFO: Processing buffer {"connection_id":147520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe2850c8012d196580071fefa00048015128..."} 
[2026-08-01 22:01:36] local.INFO: Packet analysis {"connection_id":147520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe28"} 
[2026-08-01 22:01:36] local.INFO: Extracted packet for processing {"connection_id":147520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe28"} 
[2026-08-01 22:01:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":72,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113968640001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785601741000,"timestamp_ms":1785601741000,"timestamp_seconds":1785601741,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe2850c8"} 
[2026-08-01 22:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:01:36] 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-08-01 22:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 22:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:01:36] 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-08-01 22:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113968640001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113968640001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:01:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:01:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113968640001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":147520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:01:36] local.INFO: GPS data processed {"connection_id":147520,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:01:36] local.INFO: Acknowledgment sent {"connection_id":147520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:01:43] local.INFO: TCP Data received {"connection_id":146289,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:01:43] local.INFO: Processing buffer {"connection_id":146289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:01:43] local.INFO: IMEI packet received {"connection_id":146289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 22:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":146289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:01:43] local.INFO: TCP Data received {"connection_id":146289,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:01:43] local.INFO: Processing buffer {"connection_id":146289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:01:43] local.INFO: IMEI packet received {"connection_id":146289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":146289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:01:48] local.INFO: TCP Data received {"connection_id":146289,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:01:48] local.INFO: Processing buffer {"connection_id":146289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:01:48] local.INFO: IMEI packet received {"connection_id":146289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":146289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:01:49] local.INFO: TCP Data received {"connection_id":146289,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe2877d8012cc351400760cb88004100232d..."} 
[2026-08-01 22:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe2877d8012cc351400760cb88004100232d..."} 
[2026-08-01 22:01:49] local.INFO: Processing buffer {"connection_id":146289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe2877d8012cc351400760cb88004100232d..."} 
[2026-08-01 22:01:49] local.INFO: Packet analysis {"connection_id":146289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe28"} 
[2026-08-01 22:01:49] local.INFO: Extracted packet for processing {"connection_id":146289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe28"} 
[2026-08-01 22:01:49] local.INFO: GPS Element Parsed {"raw_longitude":750997824,"raw_latitude":123784072,"longitude_deg":75.0997824,"latitude_deg":12.3784072,"altitude":65,"angle":35,"satellites":45,"speed":32,"hex_longitude":"2cc35140","hex_latitude":"0760cb88","is_valid_coordinates":true} 
[2026-08-01 22:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114044928001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366990906605174784,"note":"Value kept but may cause issues"} 
[2026-08-01 22:01:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4378413599791636480,"note":"Value kept but may cause issues"} 
[2026-08-01 22:01:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785601751000,"timestamp_ms":1785601751000,"timestamp_seconds":1785601751,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe2877d8"} 
[2026-08-01 22:01:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22: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-08-01 22:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-01 22:01:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:01:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:01:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:01:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114044928001,"66":27300,"23":206,"27":54016,"24":32,"16":366990906605174784,"44":-4378413599791636480},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,27,24,16,44]} 
[2026-08-01 22:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114044928001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:01:49] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-01 22:01:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366990906605174784,"km_value":366990906605174.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:01:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4378413599791636480,"description":"Unknown IO ID 44"} 
[2026-08-01 22:01:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114044928001,"power":27300,"unknown_23":206,"unknown_27":54016,"ignition":32,"odometer":null,"unknown_44":-4378413599791636480}} 
[2026-08-01 22:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":146289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:01:49] local.INFO: GPS data processed {"connection_id":146289,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:01:49] local.INFO: Acknowledgment sent {"connection_id":146289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:01:59] local.INFO: TCP Data received {"connection_id":147521,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:01:59] local.INFO: Processing buffer {"connection_id":147521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:01:59] local.INFO: IMEI packet received {"connection_id":147521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":147521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:02:04] local.INFO: TCP Data received {"connection_id":147521,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:02:04] local.INFO: Processing buffer {"connection_id":147521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:02:04] local.INFO: IMEI packet received {"connection_id":147521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":147521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:02:05] local.INFO: TCP Data received {"connection_id":147521,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe2850c8012d196580071fefa00048015128..."} 
[2026-08-01 22:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe2850c8012d196580071fefa00048015128..."} 
[2026-08-01 22:02:05] local.INFO: Processing buffer {"connection_id":147521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe2850c8012d196580071fefa00048015128..."} 
[2026-08-01 22:02:05] local.INFO: Packet analysis {"connection_id":147521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe28"} 
[2026-08-01 22:02:05] local.INFO: Extracted packet for processing {"connection_id":147521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe28"} 
[2026-08-01 22:02:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":72,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113968640001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785601741000,"timestamp_ms":1785601741000,"timestamp_seconds":1785601741,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe2850c8"} 
[2026-08-01 22:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:02:05] 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-08-01 22:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 22:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:02:05] 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-08-01 22:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113968640001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113968640001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:02:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:02:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113968640001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":147521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579438,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:02:05] local.INFO: GPS data processed {"connection_id":147521,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:02:05] local.INFO: Acknowledgment sent {"connection_id":147521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:02:21] local.INFO: TCP Data received {"connection_id":146289,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe2a8b18012cc39e00076256f0004a000b2c..."} 
[2026-08-01 22:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe2a8b18012cc39e00076256f0004a000b2c..."} 
[2026-08-01 22:02:21] local.INFO: Processing buffer {"connection_id":146289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe2a8b18012cc39e00076256f0004a000b2c..."} 
[2026-08-01 22:02:21] local.INFO: Packet analysis {"connection_id":146289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe2a"} 
[2026-08-01 22:02:21] local.INFO: Extracted packet for processing {"connection_id":146289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe2a"} 
[2026-08-01 22:02:21] local.INFO: GPS Element Parsed {"raw_longitude":751017472,"raw_latitude":123885296,"longitude_deg":75.1017472,"latitude_deg":12.3885296,"altitude":74,"angle":11,"satellites":44,"speed":35,"hex_longitude":"2cc39e00","hex_latitude":"076256f0","is_valid_coordinates":true} 
[2026-08-01 22:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114080512001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366995944601812992,"note":"Value kept but may cause issues"} 
[2026-08-01 22:02:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4353432695582937088,"note":"Value kept but may cause issues"} 
[2026-08-01 22:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785601887000,"timestamp_ms":1785601887000,"timestamp_seconds":1785601887,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe2a8b18"} 
[2026-08-01 22:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:02:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 22:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-01 22:02:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:02:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:02:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114080512001,"66":27321,"227":206,"27":54016,"24":35,"16":366995944601812992,"44":-4353432695582937088},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,27,24,16,44]} 
[2026-08-01 22:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114080512001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:02:21] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-01 22:02:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366995944601812992,"km_value":366995944601813.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:02:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4353432695582937088,"description":"Unknown IO ID 44"} 
[2026-08-01 22:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114080512001,"power":27321,"unknown_227":206,"unknown_27":54016,"ignition":35,"odometer":null,"unknown_44":-4353432695582937088}} 
[2026-08-01 22:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":146289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:02:21] local.INFO: GPS data processed {"connection_id":146289,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:02:21] local.INFO: Acknowledgment sent {"connection_id":146289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:02:36] local.INFO: TCP Data received {"connection_id":147521,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe2850c8012d196580071fefa00048015128..."} 
[2026-08-01 22:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe2850c8012d196580071fefa00048015128..."} 
[2026-08-01 22:02:36] local.INFO: Processing buffer {"connection_id":147521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe2850c8012d196580071fefa00048015128..."} 
[2026-08-01 22:02:36] local.INFO: Packet analysis {"connection_id":147521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe28"} 
[2026-08-01 22:02:36] local.INFO: Extracted packet for processing {"connection_id":147521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe28"} 
[2026-08-01 22:02:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":72,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113968640001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785601741000,"timestamp_ms":1785601741000,"timestamp_seconds":1785601741,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe2850c8"} 
[2026-08-01 22:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:02:36] 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-08-01 22:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 22:02:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:02:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:02:36] 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-08-01 22:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113968640001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113968640001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:02:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:02:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113968640001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":147521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579440,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:02:36] local.INFO: GPS data processed {"connection_id":147521,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:02:36] local.INFO: Acknowledgment sent {"connection_id":147521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:02:43] local.INFO: TCP Data received {"connection_id":146290,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:02:43] local.INFO: Processing buffer {"connection_id":146290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:02:43] local.INFO: IMEI packet received {"connection_id":146290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 22:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":146290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:02:43] local.INFO: TCP Data received {"connection_id":146290,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:02:43] local.INFO: Processing buffer {"connection_id":146290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:02:43] local.INFO: IMEI packet received {"connection_id":146290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":146290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:02:46] local.INFO: TCP Data received {"connection_id":146290,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:02:46] local.INFO: Processing buffer {"connection_id":146290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:02:46] local.INFO: IMEI packet received {"connection_id":146290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":146290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:02:48] local.INFO: TCP Data received {"connection_id":146290,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:02:48] local.INFO: Processing buffer {"connection_id":146290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:02:48] local.INFO: IMEI packet received {"connection_id":146290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":146290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:02:49] local.INFO: TCP Data received {"connection_id":146290,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe2aa288012cc3a00007626cd8004a01662c..."} 
[2026-08-01 22:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe2aa288012cc3a00007626cd8004a01662c..."} 
[2026-08-01 22:02:49] local.INFO: Processing buffer {"connection_id":146290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe2aa288012cc3a00007626cd8004a01662c..."} 
[2026-08-01 22:02:49] local.INFO: Packet analysis {"connection_id":146290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe2a"} 
[2026-08-01 22:02:49] local.INFO: Extracted packet for processing {"connection_id":146290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe2a"} 
[2026-08-01 22:02:49] local.INFO: GPS Element Parsed {"raw_longitude":751017984,"raw_latitude":123890904,"longitude_deg":75.1017984,"latitude_deg":12.3890904,"altitude":74,"angle":358,"satellites":44,"speed":39,"hex_longitude":"2cc3a000","hex_latitude":"07626cd8","is_valid_coordinates":true} 
[2026-08-01 22:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114083072001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366996219479719936,"note":"Value kept but may cause issues"} 
[2026-08-01 22:02:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4351040158278684672,"note":"Value kept but may cause issues"} 
[2026-08-01 22:02:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785601893000,"timestamp_ms":1785601893000,"timestamp_seconds":1785601893,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe2aa288"} 
[2026-08-01 22:02:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:02: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-08-01 22:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-01 22:02: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-08-01 22:02:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:02:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:02:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114083072001,"66":27223,"227":206,"27":54016,"24":39,"16":366996219479719936,"44":-4351040158278684672},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,27,24,16,44]} 
[2026-08-01 22:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114083072001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:02:49] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-01 22:02:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366996219479719936,"km_value":366996219479719.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:02:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4351040158278684672,"description":"Unknown IO ID 44"} 
[2026-08-01 22:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114083072001,"power":27223,"unknown_227":206,"unknown_27":54016,"ignition":39,"odometer":null,"unknown_44":-4351040158278684672}} 
[2026-08-01 22:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":146290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:02:49] local.INFO: GPS data processed {"connection_id":146290,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:02:49] local.INFO: Acknowledgment sent {"connection_id":146290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:03:04] local.INFO: TCP Data received {"connection_id":147522,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:03:04] local.INFO: Processing buffer {"connection_id":147522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:03:04] local.INFO: IMEI packet received {"connection_id":147522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":147522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:03:09] local.INFO: TCP Data received {"connection_id":147522,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:03:09] local.INFO: Processing buffer {"connection_id":147522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:03:09] local.INFO: IMEI packet received {"connection_id":147522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":147522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:03:10] local.INFO: TCP Data received {"connection_id":147522,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe2850c8012d196580071fefa00048015128..."} 
[2026-08-01 22:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe2850c8012d196580071fefa00048015128..."} 
[2026-08-01 22:03:10] local.INFO: Processing buffer {"connection_id":147522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe2850c8012d196580071fefa00048015128..."} 
[2026-08-01 22:03:10] local.INFO: Packet analysis {"connection_id":147522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe28"} 
[2026-08-01 22:03:10] local.INFO: Extracted packet for processing {"connection_id":147522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe28"} 
[2026-08-01 22:03:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":72,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 22:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113968640001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 22:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785601741000,"timestamp_ms":1785601741000,"timestamp_seconds":1785601741,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe2850c8"} 
[2026-08-01 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-08-01 22:03: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-08-01 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":107,"data_length":795,"current_offset":136} 
[2026-08-01 22:03: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-08-01 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-08-01 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-08-01 22:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":147522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":147522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":147522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:03: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-08-01 22:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113968640001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113968640001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:03:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:03:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113968640001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":147522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:03:10] local.INFO: GPS data processed {"connection_id":147522,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:03:10] local.INFO: Acknowledgment sent {"connection_id":147522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:03:14] local.INFO: TCP Data received {"connection_id":147522,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe2850c8012d196580071fefa00048015128..."} 
[2026-08-01 22:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe2850c8012d196580071fefa00048015128..."} 
[2026-08-01 22:03:14] local.INFO: Processing buffer {"connection_id":147522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe2850c8012d196580071fefa00048015128..."} 
[2026-08-01 22:03:14] local.INFO: Packet analysis {"connection_id":147522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe28"} 
[2026-08-01 22:03:14] local.INFO: Extracted packet for processing {"connection_id":147522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe28"} 
[2026-08-01 22:03:14] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":72,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113968640001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:03:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:03: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-08-01 22:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785601741000,"timestamp_ms":1785601741000,"timestamp_seconds":1785601741,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe2850c8"} 
[2026-08-01 22:03:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:03:14] 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-08-01 22:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 22:03:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:03:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:03:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":147522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":147522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":147522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:03: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-08-01 22:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113968640001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113968640001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:03:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:03:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:03:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113968640001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":147522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579443,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:03:15] local.INFO: GPS data processed {"connection_id":147522,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:03:15] local.INFO: Acknowledgment sent {"connection_id":147522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:03:20] local.INFO: TCP Data received {"connection_id":146290,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe2abde0012cc39c40076288780049015b2b..."} 
[2026-08-01 22:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe2abde0012cc39c40076288780049015b2b..."} 
[2026-08-01 22:03:20] local.INFO: Processing buffer {"connection_id":146290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe2abde0012cc39c40076288780049015b2b..."} 
[2026-08-01 22:03:20] local.INFO: Packet analysis {"connection_id":146290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe2a"} 
[2026-08-01 22:03:20] local.INFO: Extracted packet for processing {"connection_id":146290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe2a"} 
[2026-08-01 22:03:20] local.INFO: GPS Element Parsed {"raw_longitude":751017024,"raw_latitude":123897976,"longitude_deg":75.1017024,"latitude_deg":12.3897976,"altitude":73,"angle":347,"satellites":43,"speed":42,"hex_longitude":"2cc39c40","hex_latitude":"07628878","is_valid_coordinates":true} 
[2026-08-01 22:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114084608001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366996563077103616,"note":"Value kept but may cause issues"} 
[2026-08-01 22:03:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4350477208323827712,"note":"Value kept but may cause issues"} 
[2026-08-01 22:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785601900000,"timestamp_ms":1785601900000,"timestamp_seconds":1785601900,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe2abde0"} 
[2026-08-01 22:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:03:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 22:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-08-01 22:03:20] 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-08-01 22:03:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:03:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114084608001,"66":27365,"227":206,"27":54016,"24":42,"16":366996563077103616,"44":-4350477208323827712},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,27,24,16,44]} 
[2026-08-01 22:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114084608001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:03:20] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-01 22:03:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366996563077103616,"km_value":366996563077103.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:03:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4350477208323827712,"description":"Unknown IO ID 44"} 
[2026-08-01 22:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114084608001,"power":27365,"unknown_227":206,"unknown_27":54016,"ignition":42,"odometer":null,"unknown_44":-4350477208323827712}} 
[2026-08-01 22:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":146290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:03:20] local.INFO: GPS data processed {"connection_id":146290,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:03:20] local.INFO: Acknowledgment sent {"connection_id":146290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:03:43] local.INFO: TCP Data received {"connection_id":147523,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:03:43] local.INFO: Processing buffer {"connection_id":147523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:03:43] local.INFO: IMEI packet received {"connection_id":147523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 22:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":147523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:03:47] local.INFO: TCP Data received {"connection_id":147523,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:03:47] local.INFO: Processing buffer {"connection_id":147523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:03:47] local.INFO: IMEI packet received {"connection_id":147523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":147523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:03:48] local.INFO: TCP Data received {"connection_id":147523,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:03:48] local.INFO: Processing buffer {"connection_id":147523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:03:48] local.INFO: IMEI packet received {"connection_id":147523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":147523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:03:49] local.INFO: TCP Data received {"connection_id":147523,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe2b98a0012cc2ef80076314f0005601392e..."} 
[2026-08-01 22:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe2b98a0012cc2ef80076314f0005601392e..."} 
[2026-08-01 22:03:49] local.INFO: Processing buffer {"connection_id":147523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe2b98a0012cc2ef80076314f0005601392e..."} 
[2026-08-01 22:03:49] local.INFO: Packet analysis {"connection_id":147523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe2b"} 
[2026-08-01 22:03:49] local.INFO: Extracted packet for processing {"connection_id":147523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe2b"} 
[2026-08-01 22:03:49] local.INFO: GPS Element Parsed {"raw_longitude":750972800,"raw_latitude":123933936,"longitude_deg":75.09728,"latitude_deg":12.3933936,"altitude":86,"angle":313,"satellites":46,"speed":37,"hex_longitude":"2cc2ef80","hex_latitude":"076314f0","is_valid_coordinates":true} 
[2026-08-01 22:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114099712001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366999616798851072,"note":"Value kept but may cause issues"} 
[2026-08-01 22:03:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4396639104493953024,"note":"Value kept but may cause issues"} 
[2026-08-01 22:03:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785601956000,"timestamp_ms":1785601956000,"timestamp_seconds":1785601956,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe2b98a0"} 
[2026-08-01 22:03:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:03:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 22:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-01 22:03:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:03:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:03:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:03:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114099712001,"66":26789,"227":206,"27":54016,"24":37,"16":366999616798851072,"44":-4396639104493953024},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,27,24,16,44]} 
[2026-08-01 22:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114099712001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:03:49] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-01 22:03:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366999616798851072,"km_value":366999616798851.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:03:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4396639104493953024,"description":"Unknown IO ID 44"} 
[2026-08-01 22:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114099712001,"power":26789,"unknown_227":206,"unknown_27":54016,"ignition":37,"odometer":null,"unknown_44":-4396639104493953024}} 
[2026-08-01 22:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":147523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:03:49] local.INFO: GPS data processed {"connection_id":147523,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:03:49] local.INFO: Acknowledgment sent {"connection_id":147523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:03:53] local.INFO: TCP Data received {"connection_id":147523,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe2bbfb0012cc2dd80076327d0005601502e..."} 
[2026-08-01 22:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe2bbfb0012cc2dd80076327d0005601502e..."} 
[2026-08-01 22:03:53] local.INFO: Processing buffer {"connection_id":147523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe2bbfb0012cc2dd80076327d0005601502e..."} 
[2026-08-01 22:03:53] local.INFO: Packet analysis {"connection_id":147523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe2b"} 
[2026-08-01 22:03:53] local.INFO: Extracted packet for processing {"connection_id":147523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe2b"} 
[2026-08-01 22:03:53] local.INFO: GPS Element Parsed {"raw_longitude":750968192,"raw_latitude":123938768,"longitude_deg":75.0968192,"latitude_deg":12.3938768,"altitude":86,"angle":336,"satellites":46,"speed":16,"hex_longitude":"2cc2dd80","hex_latitude":"076327d0","is_valid_coordinates":true} 
[2026-08-01 22:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114100736001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":366999938921398272,"note":"Value kept but may cause issues"} 
[2026-08-01 22:03:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4400157541702242304,"note":"Value kept but may cause issues"} 
[2026-08-01 22:03:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785601966000,"timestamp_ms":1785601966000,"timestamp_seconds":1785601966,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe2bbfb0"} 
[2026-08-01 22:03:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:03:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 22:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-08-01 22:03:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2203,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:03:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:03:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":147523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":147523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":147523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:03:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114100736001,"66":27397,"227":206,"27":54016,"24":16,"16":366999938921398272,"44":-4400157541702242304},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,27,24,16,44]} 
[2026-08-01 22:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114100736001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:03:53] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-01 22:03:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":366999938921398272,"km_value":366999938921398.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:03:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4400157541702242304,"description":"Unknown IO ID 44"} 
[2026-08-01 22:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114100736001,"power":27397,"unknown_227":206,"unknown_27":54016,"ignition":16,"odometer":null,"unknown_44":-4400157541702242304}} 
[2026-08-01 22:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":147523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:03:53] local.INFO: GPS data processed {"connection_id":147523,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:03:53] local.INFO: Acknowledgment sent {"connection_id":147523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:03:59] local.INFO: TCP Data received {"connection_id":146291,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:03:59] local.INFO: Processing buffer {"connection_id":146291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:03:59] local.INFO: IMEI packet received {"connection_id":146291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":146291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:04:04] local.INFO: TCP Data received {"connection_id":146291,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:04:04] local.INFO: Processing buffer {"connection_id":146291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:04:04] local.INFO: IMEI packet received {"connection_id":146291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":146291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:04:05] local.INFO: TCP Data received {"connection_id":146291,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe2850c8012d196580071fefa00048015128..."} 
[2026-08-01 22:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe2850c8012d196580071fefa00048015128..."} 
[2026-08-01 22:04:05] local.INFO: Processing buffer {"connection_id":146291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe2850c8012d196580071fefa00048015128..."} 
[2026-08-01 22:04:05] local.INFO: Packet analysis {"connection_id":146291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe28"} 
[2026-08-01 22:04:05] local.INFO: Extracted packet for processing {"connection_id":146291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe28"} 
[2026-08-01 22:04:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":72,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113968640001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785601741000,"timestamp_ms":1785601741000,"timestamp_seconds":1785601741,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe2850c8"} 
[2026-08-01 22:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:04:05] 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-08-01 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 22:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:04:05] 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-08-01 22:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113968640001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113968640001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:04:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:04:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113968640001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":146291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:04:05] local.INFO: GPS data processed {"connection_id":146291,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:04:05] local.INFO: Acknowledgment sent {"connection_id":146291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:04:25] local.INFO: TCP Data received {"connection_id":147523,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe2bdef0012cc2d980076333d80056015b2e..."} 
[2026-08-01 22:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe2bdef0012cc2d980076333d80056015b2e..."} 
[2026-08-01 22:04:25] local.INFO: Processing buffer {"connection_id":147523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe2bdef0012cc2d980076333d80056015b2e..."} 
[2026-08-01 22:04:25] local.INFO: Packet analysis {"connection_id":147523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe2b"} 
[2026-08-01 22:04:25] local.INFO: Extracted packet for processing {"connection_id":147523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe2b"} 
[2026-08-01 22:04:25] local.INFO: GPS Element Parsed {"raw_longitude":750967168,"raw_latitude":123941848,"longitude_deg":75.0967168,"latitude_deg":12.3941848,"altitude":86,"angle":347,"satellites":46,"speed":18,"hex_longitude":"2cc2d980","hex_latitude":"076333d8","is_valid_coordinates":true} 
[2026-08-01 22:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114103296001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367000097835188224,"note":"Value kept but may cause issues"} 
[2026-08-01 22:04:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4405224091281797120,"note":"Value kept but may cause issues"} 
[2026-08-01 22:04:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785601974000,"timestamp_ms":1785601974000,"timestamp_seconds":1785601974,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe2bdef0"} 
[2026-08-01 22:04:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:04: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-08-01 22:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-01 22:04:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:04:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:04:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":147523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":147523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":147523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:04:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114103296001,"66":27321,"228":206,"27":54016,"24":18,"16":367000097835188224,"44":-4405224091281797120},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-01 22:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114103296001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:04:25] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-01 22:04:25] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367000097835188224,"km_value":367000097835188.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:04:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4405224091281797120,"description":"Unknown IO ID 44"} 
[2026-08-01 22:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114103296001,"power":27321,"unknown_228":206,"unknown_27":54016,"ignition":18,"odometer":null,"unknown_44":-4405224091281797120}} 
[2026-08-01 22:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":147523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:04:25] local.INFO: GPS data processed {"connection_id":147523,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:04:25] local.INFO: Acknowledgment sent {"connection_id":147523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:04:36] local.INFO: TCP Data received {"connection_id":146291,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe2850c8012d196580071fefa00048015128..."} 
[2026-08-01 22:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe2850c8012d196580071fefa00048015128..."} 
[2026-08-01 22:04:36] local.INFO: Processing buffer {"connection_id":146291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe2850c8012d196580071fefa00048015128..."} 
[2026-08-01 22:04:36] local.INFO: Packet analysis {"connection_id":146291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe28"} 
[2026-08-01 22:04:36] local.INFO: Extracted packet for processing {"connection_id":146291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe28"} 
[2026-08-01 22:04:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":72,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457113968640001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785601741000,"timestamp_ms":1785601741000,"timestamp_seconds":1785601741,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe2850c8"} 
[2026-08-01 22:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:04:36] 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-08-01 22:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-01 22:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:04:36] 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-08-01 22:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457113968640001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457113968640001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:04:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:04:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457113968640001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":146291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579449,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:04:36] local.INFO: GPS data processed {"connection_id":146291,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:04:36] local.INFO: Acknowledgment sent {"connection_id":146291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:04:48] local.INFO: TCP Data received {"connection_id":146292,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:04:48] local.INFO: Processing buffer {"connection_id":146292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:04:48] local.INFO: IMEI packet received {"connection_id":146292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 22:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":146292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:04:49] local.INFO: TCP Data received {"connection_id":146292,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:04:49] local.INFO: Processing buffer {"connection_id":146292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:04:49] local.INFO: IMEI packet received {"connection_id":146292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":146292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:04:50] local.INFO: TCP Data received {"connection_id":146292,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe2c1988012cc2d38007635798005601602b..."} 
[2026-08-01 22:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe2c1988012cc2d38007635798005601602b..."} 
[2026-08-01 22:04:50] local.INFO: Processing buffer {"connection_id":146292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe2c1988012cc2d38007635798005601602b..."} 
[2026-08-01 22:04:50] local.INFO: Packet analysis {"connection_id":146292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe2c"} 
[2026-08-01 22:04:50] local.INFO: Extracted packet for processing {"connection_id":146292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe2c"} 
[2026-08-01 22:04:50] local.INFO: GPS Element Parsed {"raw_longitude":750965632,"raw_latitude":123951000,"longitude_deg":75.0965632,"latitude_deg":12.3951,"altitude":86,"angle":352,"satellites":43,"speed":35,"hex_longitude":"2cc2d380","hex_latitude":"07635798","is_valid_coordinates":true} 
[2026-08-01 22:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114105344001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367000544511787008,"note":"Value kept but may cause issues"} 
[2026-08-01 22:04:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4406349991187851264,"note":"Value kept but may cause issues"} 
[2026-08-01 22:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785601989000,"timestamp_ms":1785601989000,"timestamp_seconds":1785601989,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe2c1988"} 
[2026-08-01 22:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:04:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 22:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-01 22:04: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-08-01 22:04:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:04:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114105344001,"66":27463,"228":206,"27":54016,"24":35,"16":367000544511787008,"44":-4406349991187851264},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-01 22:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114105344001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:04:50] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-01 22:04:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367000544511787008,"km_value":367000544511787.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:04:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4406349991187851264,"description":"Unknown IO ID 44"} 
[2026-08-01 22:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114105344001,"power":27463,"unknown_228":206,"unknown_27":54016,"ignition":35,"odometer":null,"unknown_44":-4406349991187851264}} 
[2026-08-01 22:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":146292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:04:50] local.INFO: GPS data processed {"connection_id":146292,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:04:50] local.INFO: Acknowledgment sent {"connection_id":146292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:04:54] local.INFO: TCP Data received {"connection_id":146292,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe2c3cb0012cc2cfc007637c18005201662d..."} 
[2026-08-01 22:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe2c3cb0012cc2cfc007637c18005201662d..."} 
[2026-08-01 22:04:54] local.INFO: Processing buffer {"connection_id":146292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe2c3cb0012cc2cfc007637c18005201662d..."} 
[2026-08-01 22:04:54] local.INFO: Packet analysis {"connection_id":146292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe2c"} 
[2026-08-01 22:04:54] local.INFO: Extracted packet for processing {"connection_id":146292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe2c"} 
[2026-08-01 22:04:54] local.INFO: GPS Element Parsed {"raw_longitude":750964672,"raw_latitude":123960344,"longitude_deg":75.0964672,"latitude_deg":12.3960344,"altitude":82,"angle":358,"satellites":45,"speed":44,"hex_longitude":"2cc2cfc0","hex_latitude":"07637c18","is_valid_coordinates":true} 
[2026-08-01 22:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:04:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114109184001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:04:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367000999778320384,"note":"Value kept but may cause issues"} 
[2026-08-01 22:04:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4408038841045772288,"note":"Value kept but may cause issues"} 
[2026-08-01 22:04:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:04:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785601998000,"timestamp_ms":1785601998000,"timestamp_seconds":1785601998,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe2c3cb0"} 
[2026-08-01 22:04:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:04: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-08-01 22:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-01 22:04:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:04:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:04:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:04:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:04:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:04:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:04:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:04:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:04:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:04:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:04:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114109184001,"66":27484,"228":206,"27":54016,"24":44,"16":367000999778320384,"44":-4408038841045772288},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-01 22:04:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:04:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:04:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114109184001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:04:54] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-01 22:04:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:04:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367000999778320384,"km_value":367000999778320.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:04:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4408038841045772288,"description":"Unknown IO ID 44"} 
[2026-08-01 22:04:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114109184001,"power":27484,"unknown_228":206,"unknown_27":54016,"ignition":44,"odometer":null,"unknown_44":-4408038841045772288}} 
[2026-08-01 22:04:54] local.INFO: DEBUG: GPS processor result {"connection_id":146292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:04:54] local.INFO: GPS data processed {"connection_id":146292,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:04:54] local.INFO: Acknowledgment sent {"connection_id":146292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:04:59] local.INFO: TCP Data received {"connection_id":148837,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148837,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:04:59] local.INFO: Processing buffer {"connection_id":148837,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:04:59] local.INFO: IMEI packet received {"connection_id":148837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":148837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:05:04] local.INFO: TCP Data received {"connection_id":148837,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148837,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:05:04] local.INFO: Processing buffer {"connection_id":148837,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:05:04] local.INFO: IMEI packet received {"connection_id":148837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":148837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:05:05] local.INFO: TCP Data received {"connection_id":148837,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe2ce890012d196580071fefa00048015127..."} 
[2026-08-01 22:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe2ce890012d196580071fefa00048015127..."} 
[2026-08-01 22:05:05] local.INFO: Processing buffer {"connection_id":148837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe2ce890012d196580071fefa00048015127..."} 
[2026-08-01 22:05:05] local.INFO: Packet analysis {"connection_id":148837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe2c"} 
[2026-08-01 22:05:05] local.INFO: Extracted packet for processing {"connection_id":148837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe2c"} 
[2026-08-01 22:05:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":72,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114045696001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785602042000,"timestamp_ms":1785602042000,"timestamp_seconds":1785602042,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe2ce890"} 
[2026-08-01 22:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:05:05] 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-08-01 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:05:05] 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-08-01 22:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114045696001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114045696001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:05:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:05:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114045696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":148837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:05:05] local.INFO: GPS data processed {"connection_id":148837,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:05:05] local.INFO: Acknowledgment sent {"connection_id":148837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:05:25] local.INFO: TCP Data received {"connection_id":146292,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe2d88b8012cc2e700076456d8005000082b..."} 
[2026-08-01 22:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe2d88b8012cc2e700076456d8005000082b..."} 
[2026-08-01 22:05:25] local.INFO: Processing buffer {"connection_id":146292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe2d88b8012cc2e700076456d8005000082b..."} 
[2026-08-01 22:05:25] local.INFO: Packet analysis {"connection_id":146292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe2d"} 
[2026-08-01 22:05:25] local.INFO: Extracted packet for processing {"connection_id":146292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe2d"} 
[2026-08-01 22:05:25] local.INFO: GPS Element Parsed {"raw_longitude":750970624,"raw_latitude":124016344,"longitude_deg":75.0970624,"latitude_deg":12.4016344,"altitude":80,"angle":8,"satellites":43,"speed":10,"hex_longitude":"2cc2e700","hex_latitude":"076456d8","is_valid_coordinates":true} 
[2026-08-01 22:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114132992001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367003787212095488,"note":"Value kept but may cause issues"} 
[2026-08-01 22:05:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4402479710239072256,"note":"Value kept but may cause issues"} 
[2026-08-01 22:05:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785602083000,"timestamp_ms":1785602083000,"timestamp_seconds":1785602083,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe2d88b8"} 
[2026-08-01 22:05:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:05: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-08-01 22:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-01 22:05:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:05:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:05:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":146292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":146292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":146292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:05:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114132992001,"66":27332,"228":206,"27":54016,"24":10,"16":367003787212095488,"44":-4402479710239072256},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-01 22:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114132992001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:05:25] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-01 22:05:25] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367003787212095488,"km_value":367003787212095.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:05:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4402479710239072256,"description":"Unknown IO ID 44"} 
[2026-08-01 22:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114132992001,"power":27332,"unknown_228":206,"unknown_27":54016,"ignition":10,"odometer":null,"unknown_44":-4402479710239072256}} 
[2026-08-01 22:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":146292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:05:25] local.INFO: GPS data processed {"connection_id":146292,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:05:25] local.INFO: Acknowledgment sent {"connection_id":146292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:05:36] local.INFO: TCP Data received {"connection_id":148837,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe2ce890012d196580071fefa00048015127..."} 
[2026-08-01 22:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe2ce890012d196580071fefa00048015127..."} 
[2026-08-01 22:05:36] local.INFO: Processing buffer {"connection_id":148837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe2ce890012d196580071fefa00048015127..."} 
[2026-08-01 22:05:36] local.INFO: Packet analysis {"connection_id":148837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe2c"} 
[2026-08-01 22:05:36] local.INFO: Extracted packet for processing {"connection_id":148837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe2c"} 
[2026-08-01 22:05:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":72,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114045696001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785602042000,"timestamp_ms":1785602042000,"timestamp_seconds":1785602042,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe2ce890"} 
[2026-08-01 22:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:05:36] 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-08-01 22:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114045696001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114045696001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:05:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:05:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114045696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":148837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579454,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:05:36] local.INFO: GPS data processed {"connection_id":148837,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:05:36] local.INFO: Acknowledgment sent {"connection_id":148837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:05:43] local.INFO: TCP Data received {"connection_id":146293,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:05:43] local.INFO: Processing buffer {"connection_id":146293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:05:43] local.INFO: IMEI packet received {"connection_id":146293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 22:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":146293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:05:48] local.INFO: TCP Data received {"connection_id":146293,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:05:48] local.INFO: Processing buffer {"connection_id":146293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:05:48] local.INFO: IMEI packet received {"connection_id":146293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":146293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:05:49] local.INFO: TCP Data received {"connection_id":146293,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe2d9088012cc2e74007645860005000292b..."} 
[2026-08-01 22:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe2d9088012cc2e74007645860005000292b..."} 
[2026-08-01 22:05:49] local.INFO: Processing buffer {"connection_id":146293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe2d9088012cc2e74007645860005000292b..."} 
[2026-08-01 22:05:49] local.INFO: Packet analysis {"connection_id":146293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe2d"} 
[2026-08-01 22:05:49] local.INFO: Extracted packet for processing {"connection_id":146293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe2d"} 
[2026-08-01 22:05:49] local.INFO: GPS Element Parsed {"raw_longitude":750970688,"raw_latitude":124016736,"longitude_deg":75.0970688,"latitude_deg":12.4016736,"altitude":80,"angle":41,"satellites":43,"speed":8,"hex_longitude":"2cc2e740","hex_latitude":"07645860","is_valid_coordinates":true} 
[2026-08-01 22:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114133248001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367003808686931968,"note":"Value kept but may cause issues"} 
[2026-08-01 22:05:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4402550078983186432,"note":"Value kept but may cause issues"} 
[2026-08-01 22:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785602085000,"timestamp_ms":1785602085000,"timestamp_seconds":1785602085,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe2d9088"} 
[2026-08-01 22:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 22:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-01 22:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:05:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114133248001,"66":27245,"228":206,"27":54016,"24":8,"16":367003808686931968,"44":-4402550078983186432},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-01 22:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114133248001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:05:49] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-01 22:05:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367003808686931968,"km_value":367003808686931.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:05:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4402550078983186432,"description":"Unknown IO ID 44"} 
[2026-08-01 22:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114133248001,"power":27245,"unknown_228":206,"unknown_27":54016,"ignition":8,"odometer":null,"unknown_44":-4402550078983186432}} 
[2026-08-01 22:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":146293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:05:49] local.INFO: GPS data processed {"connection_id":146293,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:05:49] local.INFO: Acknowledgment sent {"connection_id":146293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:05:59] local.INFO: TCP Data received {"connection_id":148838,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148838,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:05:59] local.INFO: Processing buffer {"connection_id":148838,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:05:59] local.INFO: IMEI packet received {"connection_id":148838,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":148838,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:06:04] local.INFO: TCP Data received {"connection_id":148838,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148838,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:06:04] local.INFO: Processing buffer {"connection_id":148838,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:06:04] local.INFO: IMEI packet received {"connection_id":148838,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":148838,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:06:05] local.INFO: TCP Data received {"connection_id":148838,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe2ce890012d196580071fefa00048015127..."} 
[2026-08-01 22:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe2ce890012d196580071fefa00048015127..."} 
[2026-08-01 22:06:05] local.INFO: Processing buffer {"connection_id":148838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe2ce890012d196580071fefa00048015127..."} 
[2026-08-01 22:06:05] local.INFO: Packet analysis {"connection_id":148838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe2c"} 
[2026-08-01 22:06:05] local.INFO: Extracted packet for processing {"connection_id":148838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe2c"} 
[2026-08-01 22:06:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":72,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114045696001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785602042000,"timestamp_ms":1785602042000,"timestamp_seconds":1785602042,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe2ce890"} 
[2026-08-01 22:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:06:05] 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-08-01 22:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:06:05] 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-08-01 22:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114045696001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114045696001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:06:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:06:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114045696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":148838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:06:05] local.INFO: GPS data processed {"connection_id":148838,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:06:05] local.INFO: Acknowledgment sent {"connection_id":148838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:06:21] local.INFO: TCP Data received {"connection_id":146293,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe2d9470012cc2e7c0076458c0005100352c..."} 
[2026-08-01 22:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe2d9470012cc2e7c0076458c0005100352c..."} 
[2026-08-01 22:06:21] local.INFO: Processing buffer {"connection_id":146293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe2d9470012cc2e7c0076458c0005100352c..."} 
[2026-08-01 22:06:21] local.INFO: Packet analysis {"connection_id":146293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe2d"} 
[2026-08-01 22:06:21] local.INFO: Extracted packet for processing {"connection_id":146293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe2d"} 
[2026-08-01 22:06:21] local.INFO: GPS Element Parsed {"raw_longitude":750970816,"raw_latitude":124016832,"longitude_deg":75.0970816,"latitude_deg":12.4016832,"altitude":81,"angle":53,"satellites":44,"speed":8,"hex_longitude":"2cc2e7c0","hex_latitude":"076458c0","is_valid_coordinates":true} 
[2026-08-01 22:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114133760001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367003817276866560,"note":"Value kept but may cause issues"} 
[2026-08-01 22:06:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4402479710238908416,"note":"Value kept but may cause issues"} 
[2026-08-01 22:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785602086000,"timestamp_ms":1785602086000,"timestamp_seconds":1785602086,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe2d9470"} 
[2026-08-01 22:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:06:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 22:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-01 22:06:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:06:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:06:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114133760001,"66":27397,"228":206,"27":54016,"24":8,"16":367003817276866560,"44":-4402479710238908416},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-01 22:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114133760001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:06:21] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-01 22:06:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367003817276866560,"km_value":367003817276866.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:06:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4402479710238908416,"description":"Unknown IO ID 44"} 
[2026-08-01 22:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114133760001,"power":27397,"unknown_228":206,"unknown_27":54016,"ignition":8,"odometer":null,"unknown_44":-4402479710238908416}} 
[2026-08-01 22:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":146293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:06:21] local.INFO: GPS data processed {"connection_id":146293,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:06:21] local.INFO: Acknowledgment sent {"connection_id":146293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:06:36] local.INFO: TCP Data received {"connection_id":148838,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe2ce890012d196580071fefa00048015127..."} 
[2026-08-01 22:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe2ce890012d196580071fefa00048015127..."} 
[2026-08-01 22:06:36] local.INFO: Processing buffer {"connection_id":148838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe2ce890012d196580071fefa00048015127..."} 
[2026-08-01 22:06:36] local.INFO: Packet analysis {"connection_id":148838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe2c"} 
[2026-08-01 22:06:36] local.INFO: Extracted packet for processing {"connection_id":148838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe2c"} 
[2026-08-01 22:06:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":72,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114045696001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785602042000,"timestamp_ms":1785602042000,"timestamp_seconds":1785602042,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe2ce890"} 
[2026-08-01 22:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:06:36] 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-08-01 22:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114045696001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114045696001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:06:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:06:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114045696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":148838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579458,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:06:36] local.INFO: GPS data processed {"connection_id":148838,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:06:36] local.INFO: Acknowledgment sent {"connection_id":148838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:06:43] local.INFO: TCP Data received {"connection_id":147524,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:06:43] local.INFO: Processing buffer {"connection_id":147524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:06:43] local.INFO: IMEI packet received {"connection_id":147524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 22:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":147524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:06:45] local.INFO: TCP Data received {"connection_id":147524,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:06:45] local.INFO: Processing buffer {"connection_id":147524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:06:45] local.INFO: IMEI packet received {"connection_id":147524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":147524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:06:48] local.INFO: TCP Data received {"connection_id":147524,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:06:48] local.INFO: Processing buffer {"connection_id":147524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:06:48] local.INFO: IMEI packet received {"connection_id":147524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":147524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:06:49] local.INFO: TCP Data received {"connection_id":147524,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe2d9c40012cc2ea4007645930005000422b..."} 
[2026-08-01 22:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe2d9c40012cc2ea4007645930005000422b..."} 
[2026-08-01 22:06:49] local.INFO: Processing buffer {"connection_id":147524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe2d9c40012cc2ea4007645930005000422b..."} 
[2026-08-01 22:06:49] local.INFO: Packet analysis {"connection_id":147524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe2d"} 
[2026-08-01 22:06:49] local.INFO: Extracted packet for processing {"connection_id":147524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe2d"} 
[2026-08-01 22:06:49] local.INFO: GPS Element Parsed {"raw_longitude":750971456,"raw_latitude":124016944,"longitude_deg":75.0971456,"latitude_deg":12.4016944,"altitude":80,"angle":66,"satellites":43,"speed":13,"hex_longitude":"2cc2ea40","hex_latitude":"07645930","is_valid_coordinates":true} 
[2026-08-01 22:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114134016001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367003847341637632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:06:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4402338972750528512,"note":"Value kept but may cause issues"} 
[2026-08-01 22:06:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785602088000,"timestamp_ms":1785602088000,"timestamp_seconds":1785602088,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe2d9c40"} 
[2026-08-01 22:06:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:06:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 22:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-01 22:06:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:06:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:06:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:06:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114134016001,"66":27365,"228":206,"27":54016,"24":13,"16":367003847341637632,"44":-4402338972750528512},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-01 22:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114134016001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:06:49] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-01 22:06:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367003847341637632,"km_value":367003847341637.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:06:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4402338972750528512,"description":"Unknown IO ID 44"} 
[2026-08-01 22:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114134016001,"power":27365,"unknown_228":206,"unknown_27":54016,"ignition":13,"odometer":null,"unknown_44":-4402338972750528512}} 
[2026-08-01 22:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":147524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:06:49] local.INFO: GPS data processed {"connection_id":147524,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:06:49] local.INFO: Acknowledgment sent {"connection_id":147524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:07:00] local.INFO: TCP Data received {"connection_id":146525,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:07:00] local.INFO: Processing buffer {"connection_id":146525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:07:00] local.INFO: IMEI packet received {"connection_id":146525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":146525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:07:04] local.INFO: TCP Data received {"connection_id":146525,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:07:04] local.INFO: Processing buffer {"connection_id":146525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:07:04] local.INFO: IMEI packet received {"connection_id":146525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":146525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:07:05] local.INFO: TCP Data received {"connection_id":146525,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe2ce890012d196580071fefa00048015127..."} 
[2026-08-01 22:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe2ce890012d196580071fefa00048015127..."} 
[2026-08-01 22:07:05] local.INFO: Processing buffer {"connection_id":146525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe2ce890012d196580071fefa00048015127..."} 
[2026-08-01 22:07:05] local.INFO: Packet analysis {"connection_id":146525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe2c"} 
[2026-08-01 22:07:05] local.INFO: Extracted packet for processing {"connection_id":146525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe2c"} 
[2026-08-01 22:07:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":72,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114045696001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785602042000,"timestamp_ms":1785602042000,"timestamp_seconds":1785602042,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe2ce890"} 
[2026-08-01 22:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:07:05] 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-08-01 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:07:05] 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-08-01 22:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114045696001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114045696001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:07:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:07:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114045696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":146525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:07:05] local.INFO: GPS data processed {"connection_id":146525,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:07:05] local.INFO: Acknowledgment sent {"connection_id":146525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:07:21] local.INFO: TCP Data received {"connection_id":147524,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe2effb8012cc2dc000764f068005001672d..."} 
[2026-08-01 22:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe2effb8012cc2dc000764f068005001672d..."} 
[2026-08-01 22:07:21] local.INFO: Processing buffer {"connection_id":147524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe2effb8012cc2dc000764f068005001672d..."} 
[2026-08-01 22:07:21] local.INFO: Packet analysis {"connection_id":147524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe2e"} 
[2026-08-01 22:07:21] local.INFO: Extracted packet for processing {"connection_id":147524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe2e"} 
[2026-08-01 22:07:21] local.INFO: GPS Element Parsed {"raw_longitude":750967808,"raw_latitude":124055656,"longitude_deg":75.0967808,"latitude_deg":12.4055656,"altitude":80,"angle":359,"satellites":45,"speed":30,"hex_longitude":"2cc2dc00","hex_latitude":"0764f068","is_valid_coordinates":true} 
[2026-08-01 22:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114154752001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367005823026593792,"note":"Value kept but may cause issues"} 
[2026-08-01 22:07:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4405716672463503360,"note":"Value kept but may cause issues"} 
[2026-08-01 22:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785602179000,"timestamp_ms":1785602179000,"timestamp_seconds":1785602179,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe2effb8"} 
[2026-08-01 22:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:07:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 22:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-01 22:07:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:07:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:07:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114154752001,"66":27137,"37":206,"27":54016,"24":30,"16":367005823026593792,"44":-4405716672463503360},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-08-01 22:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114154752001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:07:21] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-01 22:07:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367005823026593792,"km_value":367005823026593.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:07:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4405716672463503360,"description":"Unknown IO ID 44"} 
[2026-08-01 22:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114154752001,"power":27137,"unknown_37":206,"unknown_27":54016,"ignition":30,"odometer":null,"unknown_44":-4405716672463503360}} 
[2026-08-01 22:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":147524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:07:21] local.INFO: GPS data processed {"connection_id":147524,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:07:21] local.INFO: Acknowledgment sent {"connection_id":147524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:07:36] local.INFO: TCP Data received {"connection_id":146525,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe2ce890012d196580071fefa00048015127..."} 
[2026-08-01 22:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe2ce890012d196580071fefa00048015127..."} 
[2026-08-01 22:07:36] local.INFO: Processing buffer {"connection_id":146525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe2ce890012d196580071fefa00048015127..."} 
[2026-08-01 22:07:36] local.INFO: Packet analysis {"connection_id":146525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe2c"} 
[2026-08-01 22:07:36] local.INFO: Extracted packet for processing {"connection_id":146525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe2c"} 
[2026-08-01 22:07:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":72,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114045696001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785602042000,"timestamp_ms":1785602042000,"timestamp_seconds":1785602042,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe2ce890"} 
[2026-08-01 22:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:07:36] 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-08-01 22:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114045696001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114045696001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:07:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:07:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114045696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":146525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:07:36] local.INFO: GPS data processed {"connection_id":146525,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:07:36] local.INFO: Acknowledgment sent {"connection_id":146525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:07:43] local.INFO: TCP Data received {"connection_id":148839,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:07:43] local.INFO: Processing buffer {"connection_id":148839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:07:43] local.INFO: IMEI packet received {"connection_id":148839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 22:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":148839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:07:47] local.INFO: TCP Data received {"connection_id":148839,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:07:47] local.INFO: Processing buffer {"connection_id":148839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:07:47] local.INFO: IMEI packet received {"connection_id":148839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":148839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:07:48] local.INFO: TCP Data received {"connection_id":148839,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe2f26c8012cc2d84007650fa00051015b2d..."} 
[2026-08-01 22:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe2f26c8012cc2d84007650fa00051015b2d..."} 
[2026-08-01 22:07:48] local.INFO: Processing buffer {"connection_id":148839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe2f26c8012cc2d84007650fa00051015b2d..."} 
[2026-08-01 22:07:48] local.INFO: Packet analysis {"connection_id":148839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe2f"} 
[2026-08-01 22:07:48] local.INFO: Extracted packet for processing {"connection_id":148839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe2f"} 
[2026-08-01 22:07:48] local.INFO: GPS Element Parsed {"raw_longitude":750966848,"raw_latitude":124063648,"longitude_deg":75.0966848,"latitude_deg":12.4063648,"altitude":81,"angle":347,"satellites":45,"speed":32,"hex_longitude":"2cc2d840","hex_latitude":"07650fa0","is_valid_coordinates":true} 
[2026-08-01 22:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:07:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114157824001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:07:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367006213868617728,"note":"Value kept but may cause issues"} 
[2026-08-01 22:07:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4405646303716939776,"note":"Value kept but may cause issues"} 
[2026-08-01 22:07:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:07:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785602189000,"timestamp_ms":1785602189000,"timestamp_seconds":1785602189,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe2f26c8"} 
[2026-08-01 22:07:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:07:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 22:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-08-01 22:07:48] 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-08-01 22:07:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:07:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:07:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:07:48] local.INFO: Teltonika packet parsed successfully {"connection_id":148839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:07:48] local.INFO: Passing IMEI to GPS processor {"connection_id":148839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:07:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":148839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:07:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:07:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:07:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:07:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114157824001,"66":27343,"37":206,"27":54016,"24":32,"16":367006213868617728,"44":-4405646303716939776},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-08-01 22:07:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:07:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:07:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114157824001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:07:48] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-01 22:07:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:07:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367006213868617728,"km_value":367006213868617.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:07:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4405646303716939776,"description":"Unknown IO ID 44"} 
[2026-08-01 22:07:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114157824001,"power":27343,"unknown_37":206,"unknown_27":54016,"ignition":32,"odometer":null,"unknown_44":-4405646303716939776}} 
[2026-08-01 22:07:48] local.INFO: DEBUG: GPS processor result {"connection_id":148839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:07:48] local.INFO: GPS data processed {"connection_id":148839,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:07:48] local.INFO: Acknowledgment sent {"connection_id":148839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:07:59] local.INFO: TCP Data received {"connection_id":147525,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:07:59] local.INFO: Processing buffer {"connection_id":147525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:07:59] local.INFO: IMEI packet received {"connection_id":147525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":147525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:08:04] local.INFO: TCP Data received {"connection_id":147525,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:08:04] local.INFO: Processing buffer {"connection_id":147525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:08:04] local.INFO: IMEI packet received {"connection_id":147525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":147525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:08:05] local.INFO: TCP Data received {"connection_id":147525,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe2ce890012d196580071fefa00048015127..."} 
[2026-08-01 22:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe2ce890012d196580071fefa00048015127..."} 
[2026-08-01 22:08:05] local.INFO: Processing buffer {"connection_id":147525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe2ce890012d196580071fefa00048015127..."} 
[2026-08-01 22:08:05] local.INFO: Packet analysis {"connection_id":147525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe2c"} 
[2026-08-01 22:08:05] local.INFO: Extracted packet for processing {"connection_id":147525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe2c"} 
[2026-08-01 22:08:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":72,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114045696001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785602042000,"timestamp_ms":1785602042000,"timestamp_seconds":1785602042,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe2ce890"} 
[2026-08-01 22:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:08:05] 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-08-01 22:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:08:05] 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-08-01 22:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114045696001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114045696001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:08:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:08:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114045696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":147525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:08:05] local.INFO: GPS data processed {"connection_id":147525,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:08:05] local.INFO: Acknowledgment sent {"connection_id":147525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:08:19] local.INFO: TCP Data received {"connection_id":148839,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe303068012cc29080076592100052001a30..."} 
[2026-08-01 22:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe303068012cc29080076592100052001a30..."} 
[2026-08-01 22:08:19] local.INFO: Processing buffer {"connection_id":148839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe303068012cc29080076592100052001a30..."} 
[2026-08-01 22:08:19] local.INFO: Packet analysis {"connection_id":148839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe30"} 
[2026-08-01 22:08:19] local.INFO: Extracted packet for processing {"connection_id":148839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe30"} 
[2026-08-01 22:08:19] local.INFO: GPS Element Parsed {"raw_longitude":750948480,"raw_latitude":124097040,"longitude_deg":75.094848,"latitude_deg":12.409704,"altitude":82,"angle":26,"satellites":48,"speed":16,"hex_longitude":"2cc29080","hex_latitude":"07659210","is_valid_coordinates":true} 
[2026-08-01 22:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:08:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114177536001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:08:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367008296927756288,"note":"Value kept but may cause issues"} 
[2026-08-01 22:08:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4427108770680612864,"note":"Value kept but may cause issues"} 
[2026-08-01 22:08:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:08:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785602257000,"timestamp_ms":1785602257000,"timestamp_seconds":1785602257,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe303068"} 
[2026-08-01 22:08:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:08: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-08-01 22:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-01 22:08:19] 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-08-01 22:08:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:08:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:08:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:08:19] local.INFO: Teltonika packet parsed successfully {"connection_id":148839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:08:19] local.INFO: Passing IMEI to GPS processor {"connection_id":148839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:08:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":148839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:08:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:08:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:08:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:08:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114177536001,"66":27332,"37":206,"27":54016,"24":16,"16":367008296927756288,"44":-4427108770680612864},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-08-01 22:08:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:08:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:08:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114177536001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:08:19] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-01 22:08:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:08:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367008296927756288,"km_value":367008296927756.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:08:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4427108770680612864,"description":"Unknown IO ID 44"} 
[2026-08-01 22:08:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114177536001,"power":27332,"unknown_37":206,"unknown_27":54016,"ignition":16,"odometer":null,"unknown_44":-4427108770680612864}} 
[2026-08-01 22:08:19] local.INFO: DEBUG: GPS processor result {"connection_id":148839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:08:19] local.INFO: GPS data processed {"connection_id":148839,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:08:19] local.INFO: Acknowledgment sent {"connection_id":148839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:08:36] local.INFO: TCP Data received {"connection_id":147525,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe2ce890012d196580071fefa00048015127..."} 
[2026-08-01 22:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe2ce890012d196580071fefa00048015127..."} 
[2026-08-01 22:08:36] local.INFO: Processing buffer {"connection_id":147525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe2ce890012d196580071fefa00048015127..."} 
[2026-08-01 22:08:36] local.INFO: Packet analysis {"connection_id":147525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe2c"} 
[2026-08-01 22:08:36] local.INFO: Extracted packet for processing {"connection_id":147525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe2c"} 
[2026-08-01 22:08:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":72,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114045696001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785602042000,"timestamp_ms":1785602042000,"timestamp_seconds":1785602042,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe2ce890"} 
[2026-08-01 22:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:08:36] 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-08-01 22:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114045696001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114045696001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:08:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:08:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114045696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":147525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579466,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:08:36] local.INFO: GPS data processed {"connection_id":147525,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:08:36] local.INFO: Acknowledgment sent {"connection_id":147525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:08:43] local.INFO: TCP Data received {"connection_id":148840,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:08:43] local.INFO: Processing buffer {"connection_id":148840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:08:43] local.INFO: IMEI packet received {"connection_id":148840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 22:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":148840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:08:43] local.INFO: TCP Data received {"connection_id":148840,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:08:43] local.INFO: Processing buffer {"connection_id":148840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:08:43] local.INFO: IMEI packet received {"connection_id":148840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":148840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:08:45] local.INFO: TCP Data received {"connection_id":148840,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:08:45] local.INFO: Processing buffer {"connection_id":148840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:08:45] local.INFO: IMEI packet received {"connection_id":148840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":148840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:08:47] local.INFO: TCP Data received {"connection_id":148840,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:08:47] local.INFO: Processing buffer {"connection_id":148840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:08:47] local.INFO: IMEI packet received {"connection_id":148840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":148840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:09:04] local.INFO: TCP Data received {"connection_id":146526,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:09:04] local.INFO: Processing buffer {"connection_id":146526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:09:04] local.INFO: IMEI packet received {"connection_id":146526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":146526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:09:09] local.INFO: TCP Data received {"connection_id":146526,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:09:09] local.INFO: Processing buffer {"connection_id":146526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:09:09] local.INFO: IMEI packet received {"connection_id":146526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":146526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:09:10] local.INFO: TCP Data received {"connection_id":146526,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe2ce890012d196580071fefa00048015127..."} 
[2026-08-01 22:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe2ce890012d196580071fefa00048015127..."} 
[2026-08-01 22:09:10] local.INFO: Processing buffer {"connection_id":146526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe2ce890012d196580071fefa00048015127..."} 
[2026-08-01 22:09:10] local.INFO: Packet analysis {"connection_id":146526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe2c"} 
[2026-08-01 22:09:10] local.INFO: Extracted packet for processing {"connection_id":146526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe2c"} 
[2026-08-01 22:09:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":72,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 22:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114045696001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 22:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785602042000,"timestamp_ms":1785602042000,"timestamp_seconds":1785602042,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe2ce890"} 
[2026-08-01 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-08-01 22:09:10] 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-08-01 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":118,"data_length":795,"current_offset":136} 
[2026-08-01 22: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-08-01 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-08-01 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-08-01 22:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 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-08-01 22:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114045696001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114045696001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:09:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:09:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114045696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":146526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:09:10] local.INFO: GPS data processed {"connection_id":146526,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:09:10] local.INFO: Acknowledgment sent {"connection_id":146526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:09:14] local.INFO: TCP Data received {"connection_id":146526,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe2ce890012d196580071fefa00048015127..."} 
[2026-08-01 22:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe2ce890012d196580071fefa00048015127..."} 
[2026-08-01 22:09:14] local.INFO: Processing buffer {"connection_id":146526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe2ce890012d196580071fefa00048015127..."} 
[2026-08-01 22:09:14] local.INFO: Packet analysis {"connection_id":146526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe2c"} 
[2026-08-01 22:09:14] local.INFO: Extracted packet for processing {"connection_id":146526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe2c"} 
[2026-08-01 22:09:14] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":72,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:09:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114045696001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:09:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:09:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:09: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-08-01 22:09:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785602042000,"timestamp_ms":1785602042000,"timestamp_seconds":1785602042,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe2ce890"} 
[2026-08-01 22:09:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:09:14] 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-08-01 22:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:09: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-08-01 22:09:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:09:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:09:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:09:14] local.INFO: Teltonika packet parsed successfully {"connection_id":146526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:09:14] local.INFO: Passing IMEI to GPS processor {"connection_id":146526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:09:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":146526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:09: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-08-01 22:09:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:09:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:09:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114045696001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:09:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:09:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:09:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114045696001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:09:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:09:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:09:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:09:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:09:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114045696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":146526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:09:15] local.INFO: GPS data processed {"connection_id":146526,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:09:15] local.INFO: Acknowledgment sent {"connection_id":146526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:09:59] local.INFO: TCP Data received {"connection_id":146294,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:09:59] local.INFO: Processing buffer {"connection_id":146294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:09:59] local.INFO: IMEI packet received {"connection_id":146294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":146294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:10:04] local.INFO: TCP Data received {"connection_id":146294,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:10:04] local.INFO: Processing buffer {"connection_id":146294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:10:04] local.INFO: IMEI packet received {"connection_id":146294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":146294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:10:05] local.INFO: TCP Data received {"connection_id":146294,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe318058012d196580071fefa00048015126..."} 
[2026-08-01 22:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe318058012d196580071fefa00048015126..."} 
[2026-08-01 22:10:05] local.INFO: Processing buffer {"connection_id":146294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe318058012d196580071fefa00048015126..."} 
[2026-08-01 22:10:05] local.INFO: Packet analysis {"connection_id":146294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe31"} 
[2026-08-01 22:10:05] local.INFO: Extracted packet for processing {"connection_id":146294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe31"} 
[2026-08-01 22:10:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":72,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114122752001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785602343000,"timestamp_ms":1785602343000,"timestamp_seconds":1785602343,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe318058"} 
[2026-08-01 22:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:10:05] 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-08-01 22:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:10:05] 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-08-01 22:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114122752001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114122752001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:10:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:10:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114122752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":146294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:10:05] local.INFO: GPS data processed {"connection_id":146294,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:10:05] local.INFO: Acknowledgment sent {"connection_id":146294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:10:36] local.INFO: TCP Data received {"connection_id":146294,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe318058012d196580071fefa00048015126..."} 
[2026-08-01 22:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe318058012d196580071fefa00048015126..."} 
[2026-08-01 22:10:36] local.INFO: Processing buffer {"connection_id":146294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe318058012d196580071fefa00048015126..."} 
[2026-08-01 22:10:36] local.INFO: Packet analysis {"connection_id":146294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe31"} 
[2026-08-01 22:10:36] local.INFO: Extracted packet for processing {"connection_id":146294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe31"} 
[2026-08-01 22:10:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":72,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114122752001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785602343000,"timestamp_ms":1785602343000,"timestamp_seconds":1785602343,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe318058"} 
[2026-08-01 22:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:10:36] 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-08-01 22:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114122752001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114122752001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:10:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:10:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114122752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":146294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:10:36] local.INFO: GPS data processed {"connection_id":146294,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:10:36] local.INFO: Acknowledgment sent {"connection_id":146294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:10:59] local.INFO: TCP Data received {"connection_id":148842,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:10:59] local.INFO: Processing buffer {"connection_id":148842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:10:59] local.INFO: IMEI packet received {"connection_id":148842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":148842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:11:04] local.INFO: TCP Data received {"connection_id":148842,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:11:04] local.INFO: Processing buffer {"connection_id":148842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:11:04] local.INFO: IMEI packet received {"connection_id":148842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":148842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:11:05] local.INFO: TCP Data received {"connection_id":148842,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe318058012d196580071fefa00048015126..."} 
[2026-08-01 22:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe318058012d196580071fefa00048015126..."} 
[2026-08-01 22:11:05] local.INFO: Processing buffer {"connection_id":148842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe318058012d196580071fefa00048015126..."} 
[2026-08-01 22:11:05] local.INFO: Packet analysis {"connection_id":148842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe31"} 
[2026-08-01 22:11:05] local.INFO: Extracted packet for processing {"connection_id":148842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe31"} 
[2026-08-01 22:11:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":72,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114122752001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785602343000,"timestamp_ms":1785602343000,"timestamp_seconds":1785602343,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe318058"} 
[2026-08-01 22:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:11:05] 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-08-01 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:11:05] 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-08-01 22:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114122752001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114122752001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:11:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:11:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114122752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":148842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579471,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:11:05] local.INFO: GPS data processed {"connection_id":148842,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:11:05] local.INFO: Acknowledgment sent {"connection_id":148842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:11:36] local.INFO: TCP Data received {"connection_id":148842,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe318058012d196580071fefa00048015126..."} 
[2026-08-01 22:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe318058012d196580071fefa00048015126..."} 
[2026-08-01 22:11:36] local.INFO: Processing buffer {"connection_id":148842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe318058012d196580071fefa00048015126..."} 
[2026-08-01 22:11:36] local.INFO: Packet analysis {"connection_id":148842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe31"} 
[2026-08-01 22:11:36] local.INFO: Extracted packet for processing {"connection_id":148842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe31"} 
[2026-08-01 22:11:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":72,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114122752001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785602343000,"timestamp_ms":1785602343000,"timestamp_seconds":1785602343,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe318058"} 
[2026-08-01 22:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:11:36] 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-08-01 22:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114122752001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114122752001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:11:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:11:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114122752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":148842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:11:36] local.INFO: GPS data processed {"connection_id":148842,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:11:36] local.INFO: Acknowledgment sent {"connection_id":148842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:11:59] local.INFO: TCP Data received {"connection_id":146529,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:11:59] local.INFO: Processing buffer {"connection_id":146529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:11:59] local.INFO: IMEI packet received {"connection_id":146529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":146529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:12:04] local.INFO: TCP Data received {"connection_id":146529,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:12:04] local.INFO: Processing buffer {"connection_id":146529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:12:04] local.INFO: IMEI packet received {"connection_id":146529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":146529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:12:05] local.INFO: TCP Data received {"connection_id":146529,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe318058012d196580071fefa00048015126..."} 
[2026-08-01 22:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe318058012d196580071fefa00048015126..."} 
[2026-08-01 22:12:05] local.INFO: Processing buffer {"connection_id":146529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe318058012d196580071fefa00048015126..."} 
[2026-08-01 22:12:05] local.INFO: Packet analysis {"connection_id":146529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe31"} 
[2026-08-01 22:12:05] local.INFO: Extracted packet for processing {"connection_id":146529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe31"} 
[2026-08-01 22:12:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":72,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114122752001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785602343000,"timestamp_ms":1785602343000,"timestamp_seconds":1785602343,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe318058"} 
[2026-08-01 22:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:12:05] 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-08-01 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:12:05] 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-08-01 22:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114122752001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114122752001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:12:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:12:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114122752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":146529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:12:05] local.INFO: GPS data processed {"connection_id":146529,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:12:05] local.INFO: Acknowledgment sent {"connection_id":146529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:12:36] local.INFO: TCP Data received {"connection_id":146529,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe318058012d196580071fefa00048015126..."} 
[2026-08-01 22:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe318058012d196580071fefa00048015126..."} 
[2026-08-01 22:12:36] local.INFO: Processing buffer {"connection_id":146529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe318058012d196580071fefa00048015126..."} 
[2026-08-01 22:12:36] local.INFO: Packet analysis {"connection_id":146529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe31"} 
[2026-08-01 22:12:36] local.INFO: Extracted packet for processing {"connection_id":146529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe31"} 
[2026-08-01 22:12:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":72,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114122752001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785602343000,"timestamp_ms":1785602343000,"timestamp_seconds":1785602343,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe318058"} 
[2026-08-01 22:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:12:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:12:36] 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-08-01 22:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114122752001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114122752001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:12:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:12:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114122752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":146529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579474,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:12:36] local.INFO: GPS data processed {"connection_id":146529,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:12:36] local.INFO: Acknowledgment sent {"connection_id":146529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:12:59] local.INFO: TCP Data received {"connection_id":146295,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:12:59] local.INFO: Processing buffer {"connection_id":146295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:12:59] local.INFO: IMEI packet received {"connection_id":146295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":146295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:13:04] local.INFO: TCP Data received {"connection_id":146295,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:13:04] local.INFO: Processing buffer {"connection_id":146295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:13:04] local.INFO: IMEI packet received {"connection_id":146295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":146295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:13:05] local.INFO: TCP Data received {"connection_id":146295,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe318058012d196580071fefa00048015126..."} 
[2026-08-01 22:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe318058012d196580071fefa00048015126..."} 
[2026-08-01 22:13:05] local.INFO: Processing buffer {"connection_id":146295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe318058012d196580071fefa00048015126..."} 
[2026-08-01 22:13:05] local.INFO: Packet analysis {"connection_id":146295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe31"} 
[2026-08-01 22:13:05] local.INFO: Extracted packet for processing {"connection_id":146295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe31"} 
[2026-08-01 22:13:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":72,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114122752001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785602343000,"timestamp_ms":1785602343000,"timestamp_seconds":1785602343,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe318058"} 
[2026-08-01 22:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:13:05] 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-08-01 22:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:13:05] 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-08-01 22:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114122752001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114122752001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:13:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:13:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114122752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":146295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579475,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:13:05] local.INFO: GPS data processed {"connection_id":146295,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:13:05] local.INFO: Acknowledgment sent {"connection_id":146295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:13:36] local.INFO: TCP Data received {"connection_id":146295,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe318058012d196580071fefa00048015126..."} 
[2026-08-01 22:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe318058012d196580071fefa00048015126..."} 
[2026-08-01 22:13:36] local.INFO: Processing buffer {"connection_id":146295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe318058012d196580071fefa00048015126..."} 
[2026-08-01 22:13:36] local.INFO: Packet analysis {"connection_id":146295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe31"} 
[2026-08-01 22:13:36] local.INFO: Extracted packet for processing {"connection_id":146295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe31"} 
[2026-08-01 22:13:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":72,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114122752001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785602343000,"timestamp_ms":1785602343000,"timestamp_seconds":1785602343,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe318058"} 
[2026-08-01 22:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:13:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:13:36] 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-08-01 22:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114122752001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114122752001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:13:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:13:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114122752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":146295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:13:36] local.INFO: GPS data processed {"connection_id":146295,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:13:36] local.INFO: Acknowledgment sent {"connection_id":146295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:13:48] local.INFO: TCP Data received {"connection_id":148844,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:13:48] local.INFO: Processing buffer {"connection_id":148844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:13:48] local.INFO: IMEI packet received {"connection_id":148844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 22:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":148844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:13:49] local.INFO: TCP Data received {"connection_id":148844,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe341480012cc334c007685dc0005800f52e..."} 
[2026-08-01 22:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe341480012cc334c007685dc0005800f52e..."} 
[2026-08-01 22:13:49] local.INFO: Processing buffer {"connection_id":148844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe341480012cc334c007685dc0005800f52e..."} 
[2026-08-01 22:13:49] local.INFO: Packet analysis {"connection_id":148844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe34"} 
[2026-08-01 22:13:49] local.INFO: Extracted packet for processing {"connection_id":148844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe34"} 
[2026-08-01 22:13:49] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124280256,"longitude_deg":75.0990528,"latitude_deg":12.4280256,"altitude":88,"angle":245,"satellites":46,"speed":5,"hex_longitude":"2cc334c0","hex_latitude":"07685dc0","is_valid_coordinates":true} 
[2026-08-01 22:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:13:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114238464001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:13:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018828187566080,"note":"Value kept but may cause issues"} 
[2026-08-01 22:13:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4379469130825515008,"note":"Value kept but may cause issues"} 
[2026-08-01 22:13:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:13:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785602512000,"timestamp_ms":1785602512000,"timestamp_seconds":1785602512,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe341480"} 
[2026-08-01 22:13:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:13:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 22:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-01 22:13:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:13:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:13:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:13:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:13:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:13:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:13:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:13:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:13:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:13:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:13:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114238464001,"66":27821,"36":206,"27":54016,"24":5,"16":367018828187566080,"44":-4379469130825515008},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-01 22:13:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:13:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:13:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114238464001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:13:49] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-01 22:13:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:13:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018828187566080,"km_value":367018828187566.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:13:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4379469130825515008,"description":"Unknown IO ID 44"} 
[2026-08-01 22:13:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114238464001,"power":27821,"unknown_36":206,"unknown_27":54016,"ignition":5,"odometer":null,"unknown_44":-4379469130825515008}} 
[2026-08-01 22:13:49] local.INFO: DEBUG: GPS processor result {"connection_id":148844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:13:49] local.INFO: GPS data processed {"connection_id":148844,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:13:49] local.INFO: Acknowledgment sent {"connection_id":148844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:14:04] local.INFO: TCP Data received {"connection_id":148845,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:14:04] local.INFO: Processing buffer {"connection_id":148845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:14:04] local.INFO: IMEI packet received {"connection_id":148845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":148845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:14:09] local.INFO: TCP Data received {"connection_id":148845,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:14:09] local.INFO: Processing buffer {"connection_id":148845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:14:09] local.INFO: IMEI packet received {"connection_id":148845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":148845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:14:10] local.INFO: TCP Data received {"connection_id":148845,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe318058012d196580071fefa00048015126..."} 
[2026-08-01 22:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe318058012d196580071fefa00048015126..."} 
[2026-08-01 22:14:10] local.INFO: Processing buffer {"connection_id":148845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe318058012d196580071fefa00048015126..."} 
[2026-08-01 22:14:10] local.INFO: Packet analysis {"connection_id":148845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe31"} 
[2026-08-01 22:14:10] local.INFO: Extracted packet for processing {"connection_id":148845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe31"} 
[2026-08-01 22:14:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":72,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 22:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114122752001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 22:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785602343000,"timestamp_ms":1785602343000,"timestamp_seconds":1785602343,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe318058"} 
[2026-08-01 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-08-01 22:14: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-08-01 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-08-01 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-08-01 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-08-01 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-08-01 22:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":148845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":148845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":148845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:14: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-08-01 22:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114122752001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114122752001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:14:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:14:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114122752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":148845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:14:10] local.INFO: GPS data processed {"connection_id":148845,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:14:10] local.INFO: Acknowledgment sent {"connection_id":148845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:14:14] local.INFO: TCP Data received {"connection_id":148845,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe318058012d196580071fefa00048015126..."} 
[2026-08-01 22:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe318058012d196580071fefa00048015126..."} 
[2026-08-01 22:14:14] local.INFO: Processing buffer {"connection_id":148845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe318058012d196580071fefa00048015126..."} 
[2026-08-01 22:14:14] local.INFO: Packet analysis {"connection_id":148845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe31"} 
[2026-08-01 22:14:14] local.INFO: Extracted packet for processing {"connection_id":148845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe31"} 
[2026-08-01 22:14:14] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":72,"angle":337,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114122752001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:14:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:14: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-08-01 22:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785602343000,"timestamp_ms":1785602343000,"timestamp_seconds":1785602343,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe318058"} 
[2026-08-01 22:14:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:14:14] 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-08-01 22:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:14: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-08-01 22:14:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:14:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":148845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":148845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":148845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:14: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-08-01 22:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114122752001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114122752001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:14:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:14:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:14:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114122752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":148845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:14:14] local.INFO: GPS data processed {"connection_id":148845,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:14:14] local.INFO: Acknowledgment sent {"connection_id":148845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:14:21] local.INFO: TCP Data received {"connection_id":148844,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe341c50012cc333c007685d20005800e72d..."} 
[2026-08-01 22:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe341c50012cc333c007685d20005800e72d..."} 
[2026-08-01 22:14:21] local.INFO: Processing buffer {"connection_id":148844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe341c50012cc333c007685d20005800e72d..."} 
[2026-08-01 22:14:21] local.INFO: Packet analysis {"connection_id":148844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe34"} 
[2026-08-01 22:14:21] local.INFO: Extracted packet for processing {"connection_id":148844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe34"} 
[2026-08-01 22:14:21] local.INFO: GPS Element Parsed {"raw_longitude":750990272,"raw_latitude":124280096,"longitude_deg":75.0990272,"latitude_deg":12.4280096,"altitude":88,"angle":231,"satellites":45,"speed":6,"hex_longitude":"2cc333c0","hex_latitude":"07685d20","is_valid_coordinates":true} 
[2026-08-01 22:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114243072001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018841072467968,"note":"Value kept but may cause issues"} 
[2026-08-01 22:14:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380665399476371456,"note":"Value kept but may cause issues"} 
[2026-08-01 22:14:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785602514000,"timestamp_ms":1785602514000,"timestamp_seconds":1785602514,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe341c50"} 
[2026-08-01 22:14:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:14:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 22:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-01 22:14:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:14:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:14:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:14:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114243072001,"66":27843,"36":206,"27":54016,"24":6,"16":367018841072467968,"44":-4380665399476371456},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-01 22:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114243072001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:14:21] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-01 22:14:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018841072467968,"km_value":367018841072467.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:14:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380665399476371456,"description":"Unknown IO ID 44"} 
[2026-08-01 22:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114243072001,"power":27843,"unknown_36":206,"unknown_27":54016,"ignition":6,"odometer":null,"unknown_44":-4380665399476371456}} 
[2026-08-01 22:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":148844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:14:21] local.INFO: GPS data processed {"connection_id":148844,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:14:21] local.INFO: Acknowledgment sent {"connection_id":148844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:14:48] local.INFO: TCP Data received {"connection_id":147526,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:14:48] local.INFO: Processing buffer {"connection_id":147526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:14:48] local.INFO: IMEI packet received {"connection_id":147526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 22:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":147526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:14:53] local.INFO: TCP Data received {"connection_id":147526,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:14:53] local.INFO: Processing buffer {"connection_id":147526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:14:53] local.INFO: IMEI packet received {"connection_id":147526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":147526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:14:55] local.INFO: TCP Data received {"connection_id":147526,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe342420012cc3330007685c28005900d52d..."} 
[2026-08-01 22:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe342420012cc3330007685c28005900d52d..."} 
[2026-08-01 22:14:55] local.INFO: Processing buffer {"connection_id":147526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe342420012cc3330007685c28005900d52d..."} 
[2026-08-01 22:14:55] local.INFO: Packet analysis {"connection_id":147526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe34"} 
[2026-08-01 22:14:55] local.INFO: Extracted packet for processing {"connection_id":147526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe34"} 
[2026-08-01 22:14:55] local.INFO: GPS Element Parsed {"raw_longitude":750990080,"raw_latitude":124279848,"longitude_deg":75.099008,"latitude_deg":12.4279848,"altitude":89,"angle":213,"satellites":45,"speed":6,"hex_longitude":"2cc33300","hex_latitude":"07685c28","is_valid_coordinates":true} 
[2026-08-01 22:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114243584001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018858252337152,"note":"Value kept but may cause issues"} 
[2026-08-01 22:14:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380946874453123072,"note":"Value kept but may cause issues"} 
[2026-08-01 22:14:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785602516000,"timestamp_ms":1785602516000,"timestamp_seconds":1785602516,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe342420"} 
[2026-08-01 22:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:14:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 22:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-01 22:14:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:14:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":147526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":147526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":147526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114243584001,"66":27321,"36":206,"27":54016,"24":6,"16":367018858252337152,"44":-4380946874453123072},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-01 22:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114243584001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:14:55] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-01 22:14:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018858252337152,"km_value":367018858252337.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:14:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380946874453123072,"description":"Unknown IO ID 44"} 
[2026-08-01 22:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114243584001,"power":27321,"unknown_36":206,"unknown_27":54016,"ignition":6,"odometer":null,"unknown_44":-4380946874453123072}} 
[2026-08-01 22:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":147526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:14:55] local.INFO: GPS data processed {"connection_id":147526,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:14:55] local.INFO: Acknowledgment sent {"connection_id":147526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:14:59] local.INFO: TCP Data received {"connection_id":147526,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe344748012cc3320007685ad8005a00cd2b..."} 
[2026-08-01 22:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe344748012cc3320007685ad8005a00cd2b..."} 
[2026-08-01 22:14:59] local.INFO: Processing buffer {"connection_id":147526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe344748012cc3320007685ad8005a00cd2b..."} 
[2026-08-01 22:14:59] local.INFO: Packet analysis {"connection_id":147526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe34"} 
[2026-08-01 22:14:59] local.INFO: Extracted packet for processing {"connection_id":147526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe34"} 
[2026-08-01 22:14:59] local.INFO: GPS Element Parsed {"raw_longitude":750989824,"raw_latitude":124279512,"longitude_deg":75.0989824,"latitude_deg":12.4279512,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc33200","hex_latitude":"07685ad8","is_valid_coordinates":true} 
[2026-08-01 22:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114244096001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:14:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381157980685719552,"note":"Value kept but may cause issues"} 
[2026-08-01 22:14:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785602525000,"timestamp_ms":1785602525000,"timestamp_seconds":1785602525,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe344748"} 
[2026-08-01 22:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:14: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-08-01 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-01 22:14:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":147526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":147526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":147526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:14:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114244096001,"66":27930,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381157980685719552},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-01 22:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114244096001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:14:59] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-01 22:14:59] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:14:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381157980685719552,"description":"Unknown IO ID 44"} 
[2026-08-01 22:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114244096001,"power":27930,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381157980685719552}} 
[2026-08-01 22:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":147526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:14:59] local.INFO: GPS data processed {"connection_id":147526,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:14:59] local.INFO: Acknowledgment sent {"connection_id":147526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:14:59] local.INFO: TCP Data received {"connection_id":146530,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:14:59] local.INFO: Processing buffer {"connection_id":146530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:14:59] local.INFO: IMEI packet received {"connection_id":146530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":146530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:15:04] local.INFO: TCP Data received {"connection_id":146530,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:15:04] local.INFO: Processing buffer {"connection_id":146530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:15:04] local.INFO: IMEI packet received {"connection_id":146530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":146530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:15:05] local.INFO: TCP Data received {"connection_id":146530,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe361820012d196580071fefa00048015127..."} 
[2026-08-01 22:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe361820012d196580071fefa00048015127..."} 
[2026-08-01 22:15:05] local.INFO: Processing buffer {"connection_id":146530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe361820012d196580071fefa00048015127..."} 
[2026-08-01 22:15:05] local.INFO: Packet analysis {"connection_id":146530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe36"} 
[2026-08-01 22:15:05] local.INFO: Extracted packet for processing {"connection_id":146530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe36"} 
[2026-08-01 22:15:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":72,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114199808001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785602644000,"timestamp_ms":1785602644000,"timestamp_seconds":1785602644,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe361820"} 
[2026-08-01 22:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:15:05] 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-08-01 22:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:15:05] 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-08-01 22:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114199808001,"66":2177,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114199808001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:15:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:15:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114199808001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":146530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579483,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:15:05] local.INFO: GPS data processed {"connection_id":146530,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:15:05] local.INFO: Acknowledgment sent {"connection_id":146530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:15:36] local.INFO: TCP Data received {"connection_id":146530,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe361820012d196580071fefa00048015127..."} 
[2026-08-01 22:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe361820012d196580071fefa00048015127..."} 
[2026-08-01 22:15:36] local.INFO: Processing buffer {"connection_id":146530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe361820012d196580071fefa00048015127..."} 
[2026-08-01 22:15:36] local.INFO: Packet analysis {"connection_id":146530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe36"} 
[2026-08-01 22:15:36] local.INFO: Extracted packet for processing {"connection_id":146530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe36"} 
[2026-08-01 22:15:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":72,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114199808001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785602644000,"timestamp_ms":1785602644000,"timestamp_seconds":1785602644,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe361820"} 
[2026-08-01 22:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:15:36] 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-08-01 22:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114199808001,"66":2177,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114199808001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:15:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:15:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114199808001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":146530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:15:36] local.INFO: GPS data processed {"connection_id":146530,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:15:36] local.INFO: Acknowledgment sent {"connection_id":146530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:15:43] local.INFO: TCP Data received {"connection_id":147527,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:15:43] local.INFO: Processing buffer {"connection_id":147527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:15:43] local.INFO: IMEI packet received {"connection_id":147527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 22:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":147527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:15:48] local.INFO: TCP Data received {"connection_id":147527,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:15:48] local.INFO: Processing buffer {"connection_id":147527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:15:48] local.INFO: IMEI packet received {"connection_id":147527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":147527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:15:49] local.INFO: TCP Data received {"connection_id":147527,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe344748012cc3320007685ad8005a00cd2b..."} 
[2026-08-01 22:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe344748012cc3320007685ad8005a00cd2b..."} 
[2026-08-01 22:15:49] local.INFO: Processing buffer {"connection_id":147527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe344748012cc3320007685ad8005a00cd2b..."} 
[2026-08-01 22:15:49] local.INFO: Packet analysis {"connection_id":147527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe34"} 
[2026-08-01 22:15:49] local.INFO: Extracted packet for processing {"connection_id":147527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe34"} 
[2026-08-01 22:15:49] local.INFO: GPS Element Parsed {"raw_longitude":750989824,"raw_latitude":124279512,"longitude_deg":75.0989824,"latitude_deg":12.4279512,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc33200","hex_latitude":"07685ad8","is_valid_coordinates":true} 
[2026-08-01 22:15: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-08-01 22:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114244096001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:15:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381157980685719552,"note":"Value kept but may cause issues"} 
[2026-08-01 22:15:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785602525000,"timestamp_ms":1785602525000,"timestamp_seconds":1785602525,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe344748"} 
[2026-08-01 22:15:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 22:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-01 22:15: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-08-01 22:15:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:15:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114244096001,"66":27930,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381157980685719552},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-01 22:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114244096001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:15:49] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-01 22:15:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:15:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381157980685719552,"description":"Unknown IO ID 44"} 
[2026-08-01 22:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114244096001,"power":27930,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381157980685719552}} 
[2026-08-01 22:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":147527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:15:49] local.INFO: GPS data processed {"connection_id":147527,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:15:49] local.INFO: Acknowledgment sent {"connection_id":147527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:15:59] local.INFO: TCP Data received {"connection_id":147528,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:15:59] local.INFO: Processing buffer {"connection_id":147528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:15:59] local.INFO: IMEI packet received {"connection_id":147528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":147528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:16:04] local.INFO: TCP Data received {"connection_id":147528,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:16:04] local.INFO: Processing buffer {"connection_id":147528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:16:04] local.INFO: IMEI packet received {"connection_id":147528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":147528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:16:05] local.INFO: TCP Data received {"connection_id":147528,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe361820012d196580071fefa00048015127..."} 
[2026-08-01 22:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe361820012d196580071fefa00048015127..."} 
[2026-08-01 22:16:05] local.INFO: Processing buffer {"connection_id":147528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe361820012d196580071fefa00048015127..."} 
[2026-08-01 22:16:05] local.INFO: Packet analysis {"connection_id":147528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe36"} 
[2026-08-01 22:16:05] local.INFO: Extracted packet for processing {"connection_id":147528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe36"} 
[2026-08-01 22:16:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":72,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114199808001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785602644000,"timestamp_ms":1785602644000,"timestamp_seconds":1785602644,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe361820"} 
[2026-08-01 22:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:16:05] 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-08-01 22:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:16:05] 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-08-01 22:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114199808001,"66":2177,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114199808001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:16:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:16:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114199808001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":147528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:16:05] local.INFO: GPS data processed {"connection_id":147528,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:16:05] local.INFO: Acknowledgment sent {"connection_id":147528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:16:21] local.INFO: TCP Data received {"connection_id":147527,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe344748012cc3320007685ad8005a00cd2b..."} 
[2026-08-01 22:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe344748012cc3320007685ad8005a00cd2b..."} 
[2026-08-01 22:16:21] local.INFO: Processing buffer {"connection_id":147527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe344748012cc3320007685ad8005a00cd2b..."} 
[2026-08-01 22:16:21] local.INFO: Packet analysis {"connection_id":147527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe34"} 
[2026-08-01 22:16:21] local.INFO: Extracted packet for processing {"connection_id":147527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe34"} 
[2026-08-01 22:16:21] local.INFO: GPS Element Parsed {"raw_longitude":750989824,"raw_latitude":124279512,"longitude_deg":75.0989824,"latitude_deg":12.4279512,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc33200","hex_latitude":"07685ad8","is_valid_coordinates":true} 
[2026-08-01 22:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114244096001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:16:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381157980685719552,"note":"Value kept but may cause issues"} 
[2026-08-01 22:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785602525000,"timestamp_ms":1785602525000,"timestamp_seconds":1785602525,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe344748"} 
[2026-08-01 22:16:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:16:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 22:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-01 22:16: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-08-01 22:16:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:16:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:16:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114244096001,"66":27930,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381157980685719552},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-01 22:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114244096001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:16:21] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-01 22:16:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:16:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381157980685719552,"description":"Unknown IO ID 44"} 
[2026-08-01 22:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114244096001,"power":27930,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381157980685719552}} 
[2026-08-01 22:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":147527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:16:21] local.INFO: GPS data processed {"connection_id":147527,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:16:21] local.INFO: Acknowledgment sent {"connection_id":147527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:16:36] local.INFO: TCP Data received {"connection_id":147528,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe361820012d196580071fefa00048015127..."} 
[2026-08-01 22:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe361820012d196580071fefa00048015127..."} 
[2026-08-01 22:16:36] local.INFO: Processing buffer {"connection_id":147528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe361820012d196580071fefa00048015127..."} 
[2026-08-01 22:16:36] local.INFO: Packet analysis {"connection_id":147528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe36"} 
[2026-08-01 22:16:36] local.INFO: Extracted packet for processing {"connection_id":147528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe36"} 
[2026-08-01 22:16:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":72,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114199808001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785602644000,"timestamp_ms":1785602644000,"timestamp_seconds":1785602644,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe361820"} 
[2026-08-01 22:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:16:36] 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-08-01 22:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114199808001,"66":2177,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114199808001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:16:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:16:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114199808001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":147528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579488,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:16:36] local.INFO: GPS data processed {"connection_id":147528,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:16:36] local.INFO: Acknowledgment sent {"connection_id":147528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:16:43] local.INFO: TCP Data received {"connection_id":147529,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:16:43] local.INFO: Processing buffer {"connection_id":147529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:16:43] local.INFO: IMEI packet received {"connection_id":147529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 22:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":147529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:16:50] local.INFO: TCP Data received {"connection_id":147529,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:16:50] local.INFO: Processing buffer {"connection_id":147529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:16:50] local.INFO: IMEI packet received {"connection_id":147529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":147529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:16:52] local.INFO: TCP Data received {"connection_id":147529,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe344748012cc3320007685ad8005a00cd2b..."} 
[2026-08-01 22:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe344748012cc3320007685ad8005a00cd2b..."} 
[2026-08-01 22:16:52] local.INFO: Processing buffer {"connection_id":147529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe344748012cc3320007685ad8005a00cd2b..."} 
[2026-08-01 22:16:52] local.INFO: Packet analysis {"connection_id":147529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe34"} 
[2026-08-01 22:16:52] local.INFO: Extracted packet for processing {"connection_id":147529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe34"} 
[2026-08-01 22:16:52] local.INFO: GPS Element Parsed {"raw_longitude":750989824,"raw_latitude":124279512,"longitude_deg":75.0989824,"latitude_deg":12.4279512,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc33200","hex_latitude":"07685ad8","is_valid_coordinates":true} 
[2026-08-01 22:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114244096001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:16:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381157980685719552,"note":"Value kept but may cause issues"} 
[2026-08-01 22:16:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785602525000,"timestamp_ms":1785602525000,"timestamp_seconds":1785602525,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe344748"} 
[2026-08-01 22:16:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:16:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-01 22:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-01 22:16:52] 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-08-01 22:16:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:16:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":147529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":147529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":147529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:16:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114244096001,"66":27930,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381157980685719552},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-01 22:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114244096001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:16:52] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-01 22:16:52] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:16:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381157980685719552,"description":"Unknown IO ID 44"} 
[2026-08-01 22:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114244096001,"power":27930,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381157980685719552}} 
[2026-08-01 22:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":147529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:16:52] local.INFO: GPS data processed {"connection_id":147529,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:16:52] local.INFO: Acknowledgment sent {"connection_id":147529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:16:59] local.INFO: TCP Data received {"connection_id":148846,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:16:59] local.INFO: Processing buffer {"connection_id":148846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:16:59] local.INFO: IMEI packet received {"connection_id":148846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":148846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:17:04] local.INFO: TCP Data received {"connection_id":148846,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:17:04] local.INFO: Processing buffer {"connection_id":148846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:17:04] local.INFO: IMEI packet received {"connection_id":148846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":148846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:17:05] local.INFO: TCP Data received {"connection_id":148846,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe361820012d196580071fefa00048015127..."} 
[2026-08-01 22:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe361820012d196580071fefa00048015127..."} 
[2026-08-01 22:17:05] local.INFO: Processing buffer {"connection_id":148846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe361820012d196580071fefa00048015127..."} 
[2026-08-01 22:17:05] local.INFO: Packet analysis {"connection_id":148846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe36"} 
[2026-08-01 22:17:05] local.INFO: Extracted packet for processing {"connection_id":148846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe36"} 
[2026-08-01 22:17:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":72,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114199808001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785602644000,"timestamp_ms":1785602644000,"timestamp_seconds":1785602644,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe361820"} 
[2026-08-01 22:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:17:05] 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-08-01 22:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:17:05] 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-08-01 22:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114199808001,"66":2177,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114199808001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:17:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:17:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114199808001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":148846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:17:05] local.INFO: GPS data processed {"connection_id":148846,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:17:05] local.INFO: Acknowledgment sent {"connection_id":148846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:17:25] local.INFO: TCP Data received {"connection_id":147529,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe344748012cc3320007685ad8005a00cd2b..."} 
[2026-08-01 22:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe344748012cc3320007685ad8005a00cd2b..."} 
[2026-08-01 22:17:25] local.INFO: Processing buffer {"connection_id":147529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe344748012cc3320007685ad8005a00cd2b..."} 
[2026-08-01 22:17:25] local.INFO: Packet analysis {"connection_id":147529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe34"} 
[2026-08-01 22:17:25] local.INFO: Extracted packet for processing {"connection_id":147529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe34"} 
[2026-08-01 22:17:25] local.INFO: GPS Element Parsed {"raw_longitude":750989824,"raw_latitude":124279512,"longitude_deg":75.0989824,"latitude_deg":12.4279512,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc33200","hex_latitude":"07685ad8","is_valid_coordinates":true} 
[2026-08-01 22:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114244096001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:17:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:17:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381157980685719552,"note":"Value kept but may cause issues"} 
[2026-08-01 22:17:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:17:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785602525000,"timestamp_ms":1785602525000,"timestamp_seconds":1785602525,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe344748"} 
[2026-08-01 22:17:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:17: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-08-01 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-01 22:17:25] 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-08-01 22: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-08-01 22:17:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:17:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:17:25] local.INFO: Teltonika packet parsed successfully {"connection_id":147529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:17:25] local.INFO: Passing IMEI to GPS processor {"connection_id":147529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:17:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":147529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:17:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:17:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:17:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:17:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114244096001,"66":27930,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381157980685719552},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-01 22:17:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:17:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:17:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114244096001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:17:25] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-01 22:17:25] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:17:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:17:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381157980685719552,"description":"Unknown IO ID 44"} 
[2026-08-01 22:17:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114244096001,"power":27930,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381157980685719552}} 
[2026-08-01 22:17:25] local.INFO: DEBUG: GPS processor result {"connection_id":147529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:17:25] local.INFO: GPS data processed {"connection_id":147529,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:17:25] local.INFO: Acknowledgment sent {"connection_id":147529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:17:36] local.INFO: TCP Data received {"connection_id":148846,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe361820012d196580071fefa00048015127..."} 
[2026-08-01 22:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe361820012d196580071fefa00048015127..."} 
[2026-08-01 22:17:36] local.INFO: Processing buffer {"connection_id":148846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe361820012d196580071fefa00048015127..."} 
[2026-08-01 22:17:36] local.INFO: Packet analysis {"connection_id":148846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe36"} 
[2026-08-01 22:17:36] local.INFO: Extracted packet for processing {"connection_id":148846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe36"} 
[2026-08-01 22:17:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":72,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114199808001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785602644000,"timestamp_ms":1785602644000,"timestamp_seconds":1785602644,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe361820"} 
[2026-08-01 22:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:17:36] 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-08-01 22:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114199808001,"66":2177,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114199808001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:17:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:17:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114199808001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":148846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:17:36] local.INFO: GPS data processed {"connection_id":148846,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:17:36] local.INFO: Acknowledgment sent {"connection_id":148846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:17:58] local.INFO: TCP Data received {"connection_id":146297,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:17:58] local.INFO: Processing buffer {"connection_id":146297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:17:58] local.INFO: IMEI packet received {"connection_id":146297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 22:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":146297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:17:59] local.INFO: TCP Data received {"connection_id":146296,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146296,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:17:59] local.INFO: Processing buffer {"connection_id":146296,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:17:59] local.INFO: IMEI packet received {"connection_id":146296,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":146296,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:18:04] local.INFO: TCP Data received {"connection_id":146296,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146296,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:18:04] local.INFO: Processing buffer {"connection_id":146296,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:18:04] local.INFO: IMEI packet received {"connection_id":146296,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":146296,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:18:05] local.INFO: TCP Data received {"connection_id":146296,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe361820012d196580071fefa00048015127..."} 
[2026-08-01 22:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe361820012d196580071fefa00048015127..."} 
[2026-08-01 22:18:05] local.INFO: Processing buffer {"connection_id":146296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe361820012d196580071fefa00048015127..."} 
[2026-08-01 22:18:05] local.INFO: Packet analysis {"connection_id":146296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe36"} 
[2026-08-01 22:18:05] local.INFO: Extracted packet for processing {"connection_id":146296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe36"} 
[2026-08-01 22:18:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":72,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114199808001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785602644000,"timestamp_ms":1785602644000,"timestamp_seconds":1785602644,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe361820"} 
[2026-08-01 22:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:18:05] 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-08-01 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:18:05] 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-08-01 22:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114199808001,"66":2177,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114199808001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:18:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:18:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114199808001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":146296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:18:05] local.INFO: GPS data processed {"connection_id":146296,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:18:05] local.INFO: Acknowledgment sent {"connection_id":146296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:18:09] local.INFO: TCP Data received {"connection_id":146297,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:18:09] local.INFO: Processing buffer {"connection_id":146297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:18:09] local.INFO: IMEI packet received {"connection_id":146297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":146297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:18:36] local.INFO: TCP Data received {"connection_id":146296,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe361820012d196580071fefa00048015127..."} 
[2026-08-01 22:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe361820012d196580071fefa00048015127..."} 
[2026-08-01 22:18:36] local.INFO: Processing buffer {"connection_id":146296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe361820012d196580071fefa00048015127..."} 
[2026-08-01 22:18:36] local.INFO: Packet analysis {"connection_id":146296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe36"} 
[2026-08-01 22:18:36] local.INFO: Extracted packet for processing {"connection_id":146296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe36"} 
[2026-08-01 22:18:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":72,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114199808001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785602644000,"timestamp_ms":1785602644000,"timestamp_seconds":1785602644,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe361820"} 
[2026-08-01 22:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:18:36] 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-08-01 22:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114199808001,"66":2177,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114199808001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:18:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:18:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114199808001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":146296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:18:36] local.INFO: GPS data processed {"connection_id":146296,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:18:36] local.INFO: Acknowledgment sent {"connection_id":146296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:18:59] local.INFO: TCP Data received {"connection_id":147530,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:18:59] local.INFO: Processing buffer {"connection_id":147530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:18:59] local.INFO: IMEI packet received {"connection_id":147530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":147530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:19:04] local.INFO: TCP Data received {"connection_id":147530,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:19:04] local.INFO: Processing buffer {"connection_id":147530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:19:04] local.INFO: IMEI packet received {"connection_id":147530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":147530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:19:05] local.INFO: TCP Data received {"connection_id":147530,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe361820012d196580071fefa00048015127..."} 
[2026-08-01 22:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe361820012d196580071fefa00048015127..."} 
[2026-08-01 22:19:05] local.INFO: Processing buffer {"connection_id":147530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe361820012d196580071fefa00048015127..."} 
[2026-08-01 22:19:05] local.INFO: Packet analysis {"connection_id":147530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe36"} 
[2026-08-01 22:19:05] local.INFO: Extracted packet for processing {"connection_id":147530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe36"} 
[2026-08-01 22:19:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":72,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114199808001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785602644000,"timestamp_ms":1785602644000,"timestamp_seconds":1785602644,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe361820"} 
[2026-08-01 22:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:19:05] 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-08-01 22: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":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:19:05] 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-08-01 22:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114199808001,"66":2177,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114199808001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:19:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:19:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114199808001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":147530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579495,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:19:05] local.INFO: GPS data processed {"connection_id":147530,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:19:05] local.INFO: Acknowledgment sent {"connection_id":147530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:19:36] local.INFO: TCP Data received {"connection_id":147530,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe361820012d196580071fefa00048015127..."} 
[2026-08-01 22:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe361820012d196580071fefa00048015127..."} 
[2026-08-01 22:19:36] local.INFO: Processing buffer {"connection_id":147530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe361820012d196580071fefa00048015127..."} 
[2026-08-01 22:19:36] local.INFO: Packet analysis {"connection_id":147530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe36"} 
[2026-08-01 22:19:36] local.INFO: Extracted packet for processing {"connection_id":147530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe36"} 
[2026-08-01 22:19:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":72,"angle":337,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114199808001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785602644000,"timestamp_ms":1785602644000,"timestamp_seconds":1785602644,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe361820"} 
[2026-08-01 22:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:19:36] 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-08-01 22:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114199808001,"66":2177,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114199808001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:19:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:19:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114199808001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":147530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:19:36] local.INFO: GPS data processed {"connection_id":147530,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:19:36] local.INFO: Acknowledgment sent {"connection_id":147530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:20:04] local.INFO: TCP Data received {"connection_id":146531,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:20:04] local.INFO: Processing buffer {"connection_id":146531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:20:04] local.INFO: IMEI packet received {"connection_id":146531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":146531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:20:09] local.INFO: TCP Data received {"connection_id":146531,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:20:09] local.INFO: Processing buffer {"connection_id":146531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:20:09] local.INFO: IMEI packet received {"connection_id":146531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":146531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:20:10] local.INFO: TCP Data received {"connection_id":146531,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe3aafe8012d196580071fefa0004401512a..."} 
[2026-08-01 22:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe3aafe8012d196580071fefa0004401512a..."} 
[2026-08-01 22:20:10] local.INFO: Processing buffer {"connection_id":146531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe3aafe8012d196580071fefa0004401512a..."} 
[2026-08-01 22:20:10] local.INFO: Packet analysis {"connection_id":146531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe3a"} 
[2026-08-01 22:20:10] local.INFO: Extracted packet for processing {"connection_id":146531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe3a"} 
[2026-08-01 22:20:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 22:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114276864001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 22:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785602945000,"timestamp_ms":1785602945000,"timestamp_seconds":1785602945,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe3aafe8"} 
[2026-08-01 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-08-01 22:20: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-08-01 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":129,"data_length":795,"current_offset":136} 
[2026-08-01 22:20: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-08-01 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-08-01 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-08-01 22:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 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-08-01 22:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114276864001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114276864001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:20:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:20:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114276864001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":146531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:20:10] local.INFO: GPS data processed {"connection_id":146531,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:20:10] local.INFO: Acknowledgment sent {"connection_id":146531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:20:40] local.INFO: TCP Data received {"connection_id":146531,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe3aafe8012d196580071fefa0004401512a..."} 
[2026-08-01 22:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe3aafe8012d196580071fefa0004401512a..."} 
[2026-08-01 22:20:40] local.INFO: Processing buffer {"connection_id":146531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe3aafe8012d196580071fefa0004401512a..."} 
[2026-08-01 22:20:40] local.INFO: Packet analysis {"connection_id":146531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe3a"} 
[2026-08-01 22:20:40] local.INFO: Extracted packet for processing {"connection_id":146531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe3a"} 
[2026-08-01 22:20:40] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114276864001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:20: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-08-01 22:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785602945000,"timestamp_ms":1785602945000,"timestamp_seconds":1785602945,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe3aafe8"} 
[2026-08-01 22:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:20:40] 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-08-01 22:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-01 22:20: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-08-01 22:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":146531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":146531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":146531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:20: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-08-01 22:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114276864001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114276864001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:20:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:20:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114276864001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":146531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:20:40] local.INFO: GPS data processed {"connection_id":146531,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:20:40] local.INFO: Acknowledgment sent {"connection_id":146531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:20:59] local.INFO: TCP Data received {"connection_id":148849,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:20:59] local.INFO: Processing buffer {"connection_id":148849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:20:59] local.INFO: IMEI packet received {"connection_id":148849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":148849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:21:04] local.INFO: TCP Data received {"connection_id":148849,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:21:04] local.INFO: Processing buffer {"connection_id":148849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:21:04] local.INFO: IMEI packet received {"connection_id":148849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":148849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:21:05] local.INFO: TCP Data received {"connection_id":148849,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe3aafe8012d196580071fefa0004401512a..."} 
[2026-08-01 22:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe3aafe8012d196580071fefa0004401512a..."} 
[2026-08-01 22:21:05] local.INFO: Processing buffer {"connection_id":148849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe3aafe8012d196580071fefa0004401512a..."} 
[2026-08-01 22:21:05] local.INFO: Packet analysis {"connection_id":148849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe3a"} 
[2026-08-01 22:21:05] local.INFO: Extracted packet for processing {"connection_id":148849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe3a"} 
[2026-08-01 22:21:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114276864001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785602945000,"timestamp_ms":1785602945000,"timestamp_seconds":1785602945,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe3aafe8"} 
[2026-08-01 22:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-01 22:21:05] 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-08-01 22: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-08-01 22:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:21:05] 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-08-01 22:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114276864001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114276864001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:21:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:21:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114276864001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":148849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579499,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:21:05] local.INFO: GPS data processed {"connection_id":148849,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:21:05] local.INFO: Acknowledgment sent {"connection_id":148849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:21:36] local.INFO: TCP Data received {"connection_id":148849,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe3aafe8012d196580071fefa0004401512a..."} 
[2026-08-01 22:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe3aafe8012d196580071fefa0004401512a..."} 
[2026-08-01 22:21:36] local.INFO: Processing buffer {"connection_id":148849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe3aafe8012d196580071fefa0004401512a..."} 
[2026-08-01 22:21:36] local.INFO: Packet analysis {"connection_id":148849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe3a"} 
[2026-08-01 22:21:36] local.INFO: Extracted packet for processing {"connection_id":148849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe3a"} 
[2026-08-01 22:21:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114276864001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785602945000,"timestamp_ms":1785602945000,"timestamp_seconds":1785602945,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe3aafe8"} 
[2026-08-01 22:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:21:36] 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-08-01 22:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-01 22:21:36] 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-08-01 22: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-08-01 22:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:21:36] 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-08-01 22:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114276864001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114276864001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:21:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:21:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114276864001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":148849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:21:36] local.INFO: GPS data processed {"connection_id":148849,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:21:36] local.INFO: Acknowledgment sent {"connection_id":148849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:21:59] local.INFO: TCP Data received {"connection_id":146532,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:21:59] local.INFO: Processing buffer {"connection_id":146532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:21:59] local.INFO: IMEI packet received {"connection_id":146532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":146532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:22:04] local.INFO: TCP Data received {"connection_id":146532,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:22:04] local.INFO: Processing buffer {"connection_id":146532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:22:04] local.INFO: IMEI packet received {"connection_id":146532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":146532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:22:05] local.INFO: TCP Data received {"connection_id":146532,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe3aafe8012d196580071fefa0004401512a..."} 
[2026-08-01 22:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe3aafe8012d196580071fefa0004401512a..."} 
[2026-08-01 22:22:05] local.INFO: Processing buffer {"connection_id":146532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe3aafe8012d196580071fefa0004401512a..."} 
[2026-08-01 22:22:05] local.INFO: Packet analysis {"connection_id":146532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe3a"} 
[2026-08-01 22:22:05] local.INFO: Extracted packet for processing {"connection_id":146532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe3a"} 
[2026-08-01 22:22:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114276864001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785602945000,"timestamp_ms":1785602945000,"timestamp_seconds":1785602945,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe3aafe8"} 
[2026-08-01 22:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-01 22:22:05] 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-08-01 22: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-08-01 22:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:22:05] 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-08-01 22:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114276864001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114276864001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:22:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:22:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114276864001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":146532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:22:05] local.INFO: GPS data processed {"connection_id":146532,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:22:05] local.INFO: Acknowledgment sent {"connection_id":146532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:22:36] local.INFO: TCP Data received {"connection_id":146532,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe3aafe8012d196580071fefa0004401512a..."} 
[2026-08-01 22:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe3aafe8012d196580071fefa0004401512a..."} 
[2026-08-01 22:22:36] local.INFO: Processing buffer {"connection_id":146532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe3aafe8012d196580071fefa0004401512a..."} 
[2026-08-01 22:22:36] local.INFO: Packet analysis {"connection_id":146532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe3a"} 
[2026-08-01 22:22:36] local.INFO: Extracted packet for processing {"connection_id":146532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe3a"} 
[2026-08-01 22:22:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114276864001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785602945000,"timestamp_ms":1785602945000,"timestamp_seconds":1785602945,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe3aafe8"} 
[2026-08-01 22:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:22:36] 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-08-01 22:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-01 22:22:36] 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-08-01 22:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:22:36] 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-08-01 22:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114276864001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114276864001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:22:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:22:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114276864001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":146532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:22:36] local.INFO: GPS data processed {"connection_id":146532,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:22:36] local.INFO: Acknowledgment sent {"connection_id":146532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:22:59] local.INFO: TCP Data received {"connection_id":146300,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146300,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:22:59] local.INFO: Processing buffer {"connection_id":146300,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:22:59] local.INFO: IMEI packet received {"connection_id":146300,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":146300,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:23:04] local.INFO: TCP Data received {"connection_id":146300,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146300,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:23:04] local.INFO: Processing buffer {"connection_id":146300,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:23:04] local.INFO: IMEI packet received {"connection_id":146300,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":146300,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:23:05] local.INFO: TCP Data received {"connection_id":146300,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe3aafe8012d196580071fefa0004401512a..."} 
[2026-08-01 22:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe3aafe8012d196580071fefa0004401512a..."} 
[2026-08-01 22:23:05] local.INFO: Processing buffer {"connection_id":146300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe3aafe8012d196580071fefa0004401512a..."} 
[2026-08-01 22:23:05] local.INFO: Packet analysis {"connection_id":146300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe3a"} 
[2026-08-01 22:23:05] local.INFO: Extracted packet for processing {"connection_id":146300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe3a"} 
[2026-08-01 22:23:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114276864001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785602945000,"timestamp_ms":1785602945000,"timestamp_seconds":1785602945,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe3aafe8"} 
[2026-08-01 22:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-01 22:23:05] 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-08-01 22: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-08-01 22:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:23:05] 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-08-01 22:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114276864001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114276864001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:23:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:23:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114276864001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":146300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:23:05] local.INFO: GPS data processed {"connection_id":146300,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:23:05] local.INFO: Acknowledgment sent {"connection_id":146300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:23:13] local.INFO: TCP Data received {"connection_id":146299,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:23:13] local.INFO: Processing buffer {"connection_id":146299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:23:13] local.INFO: IMEI packet received {"connection_id":146299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 22:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":146299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:23:16] local.INFO: TCP Data received {"connection_id":146299,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe38f298012cc330c007685b20005a00cd2c..."} 
[2026-08-01 22:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe38f298012cc330c007685b20005a00cd2c..."} 
[2026-08-01 22:23:16] local.INFO: Processing buffer {"connection_id":146299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe38f298012cc330c007685b20005a00cd2c..."} 
[2026-08-01 22:23:16] local.INFO: Packet analysis {"connection_id":146299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe38"} 
[2026-08-01 22:23:16] local.INFO: Extracted packet for processing {"connection_id":146299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe38"} 
[2026-08-01 22:23:16] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114246400001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:23:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381439455662516224,"note":"Value kept but may cause issues"} 
[2026-08-01 22:23:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785602831000,"timestamp_ms":1785602831000,"timestamp_seconds":1785602831,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe38f298"} 
[2026-08-01 22:23:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:23:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-01 22:23:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:23:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":146299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":146299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":146299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:23:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114246400001,"66":26169,"228":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381439455662516224},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-08-01 22:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114246400001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:23:16] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-01 22:23:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:23:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381439455662516224,"description":"Unknown IO ID 44"} 
[2026-08-01 22:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114246400001,"power":26169,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381439455662516224}} 
[2026-08-01 22:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":146299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:23:16] local.INFO: GPS data processed {"connection_id":146299,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:23:16] local.INFO: Acknowledgment sent {"connection_id":146299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:23:36] local.INFO: TCP Data received {"connection_id":146300,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe3aafe8012d196580071fefa0004401512a..."} 
[2026-08-01 22:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe3aafe8012d196580071fefa0004401512a..."} 
[2026-08-01 22:23:36] local.INFO: Processing buffer {"connection_id":146300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe3aafe8012d196580071fefa0004401512a..."} 
[2026-08-01 22:23:36] local.INFO: Packet analysis {"connection_id":146300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe3a"} 
[2026-08-01 22:23:36] local.INFO: Extracted packet for processing {"connection_id":146300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe3a"} 
[2026-08-01 22:23:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114276864001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785602945000,"timestamp_ms":1785602945000,"timestamp_seconds":1785602945,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe3aafe8"} 
[2026-08-01 22:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:23:36] 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-08-01 22:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-01 22:23:36] 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-08-01 22:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:23:36] 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-08-01 22:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114276864001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114276864001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:23:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:23:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114276864001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":146300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:23:36] local.INFO: GPS data processed {"connection_id":146300,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:23:36] local.INFO: Acknowledgment sent {"connection_id":146300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:23:43] local.INFO: TCP Data received {"connection_id":147532,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:23:43] local.INFO: Processing buffer {"connection_id":147532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:23:43] local.INFO: IMEI packet received {"connection_id":147532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 22:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":147532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:23:48] local.INFO: TCP Data received {"connection_id":147532,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:23:48] local.INFO: Processing buffer {"connection_id":147532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:23:48] local.INFO: IMEI packet received {"connection_id":147532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":147532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:23:50] local.INFO: TCP Data received {"connection_id":147532,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe3d8a60012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe3d8a60012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:23:50] local.INFO: Processing buffer {"connection_id":147532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe3d8a60012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:23:50] local.INFO: Packet analysis {"connection_id":147532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe3d"} 
[2026-08-01 22:23:50] local.INFO: Extracted packet for processing {"connection_id":147532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe3d"} 
[2026-08-01 22:23:50] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114324736001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:23:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:23:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785603132000,"timestamp_ms":1785603132000,"timestamp_seconds":1785603132,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe3d8a60"} 
[2026-08-01 22:23:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:23:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-08-01 22:23:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:23:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:23:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114324736001,"66":26082,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114324736001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:23:50] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:23:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:23:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:23:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114324736001,"power":26082,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:23:50] local.INFO: DEBUG: GPS processor result {"connection_id":147532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:23:50] local.INFO: GPS data processed {"connection_id":147532,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:23:50] local.INFO: Acknowledgment sent {"connection_id":147532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:23:59] local.INFO: TCP Data received {"connection_id":146533,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:23:59] local.INFO: Processing buffer {"connection_id":146533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:23:59] local.INFO: IMEI packet received {"connection_id":146533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":146533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:24:04] local.INFO: TCP Data received {"connection_id":146533,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:24:04] local.INFO: Processing buffer {"connection_id":146533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:24:04] local.INFO: IMEI packet received {"connection_id":146533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":146533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:24:05] local.INFO: TCP Data received {"connection_id":146533,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe3aafe8012d196580071fefa0004401512a..."} 
[2026-08-01 22:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe3aafe8012d196580071fefa0004401512a..."} 
[2026-08-01 22:24:05] local.INFO: Processing buffer {"connection_id":146533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe3aafe8012d196580071fefa0004401512a..."} 
[2026-08-01 22:24:05] local.INFO: Packet analysis {"connection_id":146533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe3a"} 
[2026-08-01 22:24:05] local.INFO: Extracted packet for processing {"connection_id":146533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe3a"} 
[2026-08-01 22:24:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114276864001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785602945000,"timestamp_ms":1785602945000,"timestamp_seconds":1785602945,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe3aafe8"} 
[2026-08-01 22:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-01 22:24:05] 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-08-01 22: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-08-01 22:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:24:05] 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-08-01 22:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114276864001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114276864001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:24:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:24:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114276864001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":146533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:24:05] local.INFO: GPS data processed {"connection_id":146533,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:24:05] local.INFO: Acknowledgment sent {"connection_id":146533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:24:22] local.INFO: TCP Data received {"connection_id":147532,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe3d8a60012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe3d8a60012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:24:22] local.INFO: Processing buffer {"connection_id":147532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe3d8a60012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:24:22] local.INFO: Packet analysis {"connection_id":147532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe3d"} 
[2026-08-01 22:24:22] local.INFO: Extracted packet for processing {"connection_id":147532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe3d"} 
[2026-08-01 22:24:22] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:24:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114324736001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:24:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:24:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:24:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:24:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785603132000,"timestamp_ms":1785603132000,"timestamp_seconds":1785603132,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe3d8a60"} 
[2026-08-01 22:24:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:24:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-08-01 22:24:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:24:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:24:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:24:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:24:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:24:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:24:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:24:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:24:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:24:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:24:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114324736001,"66":26082,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:24:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:24:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:24:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114324736001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:24:22] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:24:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:24:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:24:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:24:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114324736001,"power":26082,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:24:22] local.INFO: DEBUG: GPS processor result {"connection_id":147532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:24:22] local.INFO: GPS data processed {"connection_id":147532,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:24:22] local.INFO: Acknowledgment sent {"connection_id":147532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:24:36] local.INFO: TCP Data received {"connection_id":146533,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe3aafe8012d196580071fefa0004401512a..."} 
[2026-08-01 22:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe3aafe8012d196580071fefa0004401512a..."} 
[2026-08-01 22:24:36] local.INFO: Processing buffer {"connection_id":146533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe3aafe8012d196580071fefa0004401512a..."} 
[2026-08-01 22:24:36] local.INFO: Packet analysis {"connection_id":146533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe3a"} 
[2026-08-01 22:24:36] local.INFO: Extracted packet for processing {"connection_id":146533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe3a"} 
[2026-08-01 22:24:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114276864001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785602945000,"timestamp_ms":1785602945000,"timestamp_seconds":1785602945,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe3aafe8"} 
[2026-08-01 22:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:24:36] 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-08-01 22:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-01 22:24:36] 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-08-01 22:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:24:36] 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-08-01 22:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114276864001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114276864001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:24:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:24:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114276864001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":146533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:24:36] local.INFO: GPS data processed {"connection_id":146533,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:24:36] local.INFO: Acknowledgment sent {"connection_id":146533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:24:52] local.INFO: TCP Data received {"connection_id":147533,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:24:52] local.INFO: Processing buffer {"connection_id":147533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:24:52] local.INFO: IMEI packet received {"connection_id":147533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 22:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":147533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:24:53] local.INFO: TCP Data received {"connection_id":147533,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:24:53] local.INFO: Processing buffer {"connection_id":147533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:24:53] local.INFO: IMEI packet received {"connection_id":147533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":147533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:25:03] local.INFO: TCP Data received {"connection_id":147533,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:25:03] local.INFO: Processing buffer {"connection_id":147533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:25:03] local.INFO: IMEI packet received {"connection_id":147533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":147533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:25:04] local.INFO: TCP Data received {"connection_id":146534,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:25:04] local.INFO: Processing buffer {"connection_id":146534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:25:04] local.INFO: IMEI packet received {"connection_id":146534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":146534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:25:09] local.INFO: TCP Data received {"connection_id":146534,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:25:09] local.INFO: Processing buffer {"connection_id":146534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:25:09] local.INFO: IMEI packet received {"connection_id":146534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":146534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:25:10] local.INFO: TCP Data received {"connection_id":146534,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe3f47b0012d196580071fefa0004401512a..."} 
[2026-08-01 22:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe3f47b0012d196580071fefa0004401512a..."} 
[2026-08-01 22:25:10] local.INFO: Processing buffer {"connection_id":146534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe3f47b0012d196580071fefa0004401512a..."} 
[2026-08-01 22:25:10] local.INFO: Packet analysis {"connection_id":146534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe3f"} 
[2026-08-01 22:25:10] local.INFO: Extracted packet for processing {"connection_id":146534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe3f"} 
[2026-08-01 22:25:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 22:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114353920001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 22:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785603246000,"timestamp_ms":1785603246000,"timestamp_seconds":1785603246,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe3f47b0"} 
[2026-08-01 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-08-01 22:25:10] 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-08-01 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":96,"data_length":795,"current_offset":136} 
[2026-08-01 22:25: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-08-01 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-08-01 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-08-01 22:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 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-08-01 22:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114353920001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114353920001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:25:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:25:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114353920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":146534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:25:10] local.INFO: GPS data processed {"connection_id":146534,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:25:10] local.INFO: Acknowledgment sent {"connection_id":146534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:25:11] local.INFO: TCP Data received {"connection_id":147533,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe3d8a60012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe3d8a60012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:25:11] local.INFO: Processing buffer {"connection_id":147533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe3d8a60012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:25:11] local.INFO: Packet analysis {"connection_id":147533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe3d"} 
[2026-08-01 22:25:11] local.INFO: Extracted packet for processing {"connection_id":147533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe3d"} 
[2026-08-01 22:25:11] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114324736001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:25:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785603132000,"timestamp_ms":1785603132000,"timestamp_seconds":1785603132,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe3d8a60"} 
[2026-08-01 22:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-08-01 22:25:11] 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-08-01 22: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-08-01 22:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":147533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":147533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":147533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114324736001,"66":26082,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114324736001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:25:11] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:25:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:25:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114324736001,"power":26082,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":147533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:25:11] local.INFO: GPS data processed {"connection_id":147533,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:25:11] local.INFO: Acknowledgment sent {"connection_id":147533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:25:41] local.INFO: TCP Data received {"connection_id":146534,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe3f47b0012d196580071fefa0004401512a..."} 
[2026-08-01 22:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe3f47b0012d196580071fefa0004401512a..."} 
[2026-08-01 22:25:41] local.INFO: Processing buffer {"connection_id":146534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe3f47b0012d196580071fefa0004401512a..."} 
[2026-08-01 22:25:41] local.INFO: Packet analysis {"connection_id":146534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe3f"} 
[2026-08-01 22:25:41] local.INFO: Extracted packet for processing {"connection_id":146534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe3f"} 
[2026-08-01 22:25:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 22:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114353920001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 22:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785603246000,"timestamp_ms":1785603246000,"timestamp_seconds":1785603246,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe3f47b0"} 
[2026-08-01 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-08-01 22:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 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":96,"data_length":795,"current_offset":136} 
[2026-08-01 22:25: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-08-01 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-08-01 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-08-01 22:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":146534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":146534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":146534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 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-08-01 22:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114353920001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114353920001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:25:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:25:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114353920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":146534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:25:41] local.INFO: GPS data processed {"connection_id":146534,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:25:41] local.INFO: Acknowledgment sent {"connection_id":146534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:25:43] local.INFO: TCP Data received {"connection_id":147534,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:25:43] local.INFO: Processing buffer {"connection_id":147534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:25:43] local.INFO: IMEI packet received {"connection_id":147534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 22:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":147534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:25:48] local.INFO: TCP Data received {"connection_id":147534,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:25:48] local.INFO: Processing buffer {"connection_id":147534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:25:48] local.INFO: IMEI packet received {"connection_id":147534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":147534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:25:50] local.INFO: TCP Data received {"connection_id":147534,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe3d8a60012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe3d8a60012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:25:50] local.INFO: Processing buffer {"connection_id":147534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe3d8a60012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:25:50] local.INFO: Packet analysis {"connection_id":147534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe3d"} 
[2026-08-01 22:25:50] local.INFO: Extracted packet for processing {"connection_id":147534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe3d"} 
[2026-08-01 22:25:50] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:25:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114324736001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:25:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:25:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:25:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:25:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785603132000,"timestamp_ms":1785603132000,"timestamp_seconds":1785603132,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe3d8a60"} 
[2026-08-01 22:25:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:25:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:25:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-08-01 22:25:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:25:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:25:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:25:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:25:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:25:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:25:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:25:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:25:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:25:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114324736001,"66":26082,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:25:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:25:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:25:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114324736001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:25:50] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:25:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:25:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:25:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:25:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114324736001,"power":26082,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:25:50] local.INFO: DEBUG: GPS processor result {"connection_id":147534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:25:50] local.INFO: GPS data processed {"connection_id":147534,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:25:50] local.INFO: Acknowledgment sent {"connection_id":147534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:25:59] local.INFO: TCP Data received {"connection_id":146301,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:25:59] local.INFO: Processing buffer {"connection_id":146301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:25:59] local.INFO: IMEI packet received {"connection_id":146301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":146301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:26:04] local.INFO: TCP Data received {"connection_id":146301,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:26:04] local.INFO: Processing buffer {"connection_id":146301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:26:04] local.INFO: IMEI packet received {"connection_id":146301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":146301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:26:05] local.INFO: TCP Data received {"connection_id":146301,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe3f47b0012d196580071fefa0004401512a..."} 
[2026-08-01 22:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe3f47b0012d196580071fefa0004401512a..."} 
[2026-08-01 22:26:05] local.INFO: Processing buffer {"connection_id":146301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe3f47b0012d196580071fefa0004401512a..."} 
[2026-08-01 22:26:05] local.INFO: Packet analysis {"connection_id":146301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe3f"} 
[2026-08-01 22:26:05] local.INFO: Extracted packet for processing {"connection_id":146301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe3f"} 
[2026-08-01 22:26:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114353920001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785603246000,"timestamp_ms":1785603246000,"timestamp_seconds":1785603246,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe3f47b0"} 
[2026-08-01 22:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 22:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:26:05] 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-08-01 22:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114353920001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114353920001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:26:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:26:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114353920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":146301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:26:05] local.INFO: GPS data processed {"connection_id":146301,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:26:05] local.INFO: Acknowledgment sent {"connection_id":146301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:26:21] local.INFO: TCP Data received {"connection_id":147534,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe3d8a60012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe3d8a60012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:26:21] local.INFO: Processing buffer {"connection_id":147534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe3d8a60012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:26:21] local.INFO: Packet analysis {"connection_id":147534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe3d"} 
[2026-08-01 22:26:21] local.INFO: Extracted packet for processing {"connection_id":147534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe3d"} 
[2026-08-01 22:26:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114324736001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:26:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785603132000,"timestamp_ms":1785603132000,"timestamp_seconds":1785603132,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe3d8a60"} 
[2026-08-01 22:26:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:26:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-08-01 22:26:21] 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-08-01 22:26:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:26:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:26:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114324736001,"66":26082,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114324736001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:26:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:26:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:26:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114324736001,"power":26082,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":147534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:26:21] local.INFO: GPS data processed {"connection_id":147534,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:26:21] local.INFO: Acknowledgment sent {"connection_id":147534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:26:36] local.INFO: TCP Data received {"connection_id":146301,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe3f47b0012d196580071fefa0004401512a..."} 
[2026-08-01 22:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe3f47b0012d196580071fefa0004401512a..."} 
[2026-08-01 22:26:36] local.INFO: Processing buffer {"connection_id":146301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe3f47b0012d196580071fefa0004401512a..."} 
[2026-08-01 22:26:36] local.INFO: Packet analysis {"connection_id":146301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe3f"} 
[2026-08-01 22:26:36] local.INFO: Extracted packet for processing {"connection_id":146301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe3f"} 
[2026-08-01 22:26:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114353920001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785603246000,"timestamp_ms":1785603246000,"timestamp_seconds":1785603246,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe3f47b0"} 
[2026-08-01 22:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:26:36] 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-08-01 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 22:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:26:36] 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-08-01 22:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114353920001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114353920001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:26:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:26:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114353920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":146301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:26:36] local.INFO: GPS data processed {"connection_id":146301,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:26:36] local.INFO: Acknowledgment sent {"connection_id":146301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:26:43] local.INFO: TCP Data received {"connection_id":147535,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:26:43] local.INFO: Processing buffer {"connection_id":147535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:26:43] local.INFO: IMEI packet received {"connection_id":147535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 22:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":147535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:26:48] local.INFO: TCP Data received {"connection_id":147535,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:26:48] local.INFO: Processing buffer {"connection_id":147535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:26:48] local.INFO: IMEI packet received {"connection_id":147535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":147535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:26:50] local.INFO: TCP Data received {"connection_id":147535,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe3d8a60012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe3d8a60012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:26:50] local.INFO: Processing buffer {"connection_id":147535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe3d8a60012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:26:50] local.INFO: Packet analysis {"connection_id":147535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe3d"} 
[2026-08-01 22:26:50] local.INFO: Extracted packet for processing {"connection_id":147535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe3d"} 
[2026-08-01 22:26:50] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:26:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:26:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114324736001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:26:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:26:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:26:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:26:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785603132000,"timestamp_ms":1785603132000,"timestamp_seconds":1785603132,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe3d8a60"} 
[2026-08-01 22:26:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:26:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:26:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-08-01 22:26:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:26:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:26:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:26:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:26:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:26:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:26:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:26:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:26:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:26:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:26:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114324736001,"66":26082,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:26:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:26:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:26:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114324736001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:26:50] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:26:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:26:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:26:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:26:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114324736001,"power":26082,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:26:50] local.INFO: DEBUG: GPS processor result {"connection_id":147535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:26:50] local.INFO: GPS data processed {"connection_id":147535,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:26:50] local.INFO: Acknowledgment sent {"connection_id":147535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:26:59] local.INFO: TCP Data received {"connection_id":146535,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:26:59] local.INFO: Processing buffer {"connection_id":146535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:26:59] local.INFO: IMEI packet received {"connection_id":146535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":146535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:27:04] local.INFO: TCP Data received {"connection_id":146535,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:27:04] local.INFO: Processing buffer {"connection_id":146535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:27:04] local.INFO: IMEI packet received {"connection_id":146535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":146535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:27:05] local.INFO: TCP Data received {"connection_id":146535,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe3f47b0012d196580071fefa0004401512a..."} 
[2026-08-01 22:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe3f47b0012d196580071fefa0004401512a..."} 
[2026-08-01 22:27:05] local.INFO: Processing buffer {"connection_id":146535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe3f47b0012d196580071fefa0004401512a..."} 
[2026-08-01 22:27:05] local.INFO: Packet analysis {"connection_id":146535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe3f"} 
[2026-08-01 22:27:05] local.INFO: Extracted packet for processing {"connection_id":146535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe3f"} 
[2026-08-01 22:27:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114353920001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785603246000,"timestamp_ms":1785603246000,"timestamp_seconds":1785603246,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe3f47b0"} 
[2026-08-01 22:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 22:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:27:05] 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-08-01 22:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114353920001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114353920001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:27:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:27:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114353920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":146535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579518,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:27:05] local.INFO: GPS data processed {"connection_id":146535,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:27:05] local.INFO: Acknowledgment sent {"connection_id":146535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:27:21] local.INFO: TCP Data received {"connection_id":147535,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe3d8a60012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe3d8a60012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:27:21] local.INFO: Processing buffer {"connection_id":147535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe3d8a60012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:27:21] local.INFO: Packet analysis {"connection_id":147535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe3d"} 
[2026-08-01 22:27:21] local.INFO: Extracted packet for processing {"connection_id":147535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe3d"} 
[2026-08-01 22:27:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114324736001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:27:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:27:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785603132000,"timestamp_ms":1785603132000,"timestamp_seconds":1785603132,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe3d8a60"} 
[2026-08-01 22:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:27:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-08-01 22:27:21] 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-08-01 22:27:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:27:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114324736001,"66":26082,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114324736001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:27:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:27:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:27:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114324736001,"power":26082,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":147535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:27:22] local.INFO: GPS data processed {"connection_id":147535,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:27:22] local.INFO: Acknowledgment sent {"connection_id":147535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:27:38] local.INFO: TCP Data received {"connection_id":146535,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe3f47b0012d196580071fefa0004401512a..."} 
[2026-08-01 22:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe3f47b0012d196580071fefa0004401512a..."} 
[2026-08-01 22:27:38] local.INFO: Processing buffer {"connection_id":146535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe3f47b0012d196580071fefa0004401512a..."} 
[2026-08-01 22:27:38] local.INFO: Packet analysis {"connection_id":146535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe3f"} 
[2026-08-01 22:27:38] local.INFO: Extracted packet for processing {"connection_id":146535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe3f"} 
[2026-08-01 22:27:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114353920001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:27:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785603246000,"timestamp_ms":1785603246000,"timestamp_seconds":1785603246,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe3f47b0"} 
[2026-08-01 22:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:27:38] 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-08-01 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 22:27:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114353920001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114353920001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:27:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:27:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114353920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":146535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:27:38] local.INFO: GPS data processed {"connection_id":146535,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:27:38] local.INFO: Acknowledgment sent {"connection_id":146535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:27:48] local.INFO: TCP Data received {"connection_id":146536,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:27:48] local.INFO: Processing buffer {"connection_id":146536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:27:48] local.INFO: IMEI packet received {"connection_id":146536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 22:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":146536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:27:51] local.INFO: TCP Data received {"connection_id":146536,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:27:51] local.INFO: Processing buffer {"connection_id":146536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:27:51] local.INFO: IMEI packet received {"connection_id":146536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":146536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:27:54] local.INFO: TCP Data received {"connection_id":146536,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe422228012cc330c007685b20005a00cd2d..."} 
[2026-08-01 22:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe422228012cc330c007685b20005a00cd2d..."} 
[2026-08-01 22:27:54] local.INFO: Processing buffer {"connection_id":146536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe422228012cc330c007685b20005a00cd2d..."} 
[2026-08-01 22:27:54] local.INFO: Packet analysis {"connection_id":146536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe42"} 
[2026-08-01 22:27:54] local.INFO: Extracted packet for processing {"connection_id":146536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe42"} 
[2026-08-01 22:27:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114401792001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:27:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:27:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785603433000,"timestamp_ms":1785603433000,"timestamp_seconds":1785603433,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe422228"} 
[2026-08-01 22:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:27:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-08-01 22:27:54] 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-08-01 22:27:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:27:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114401792001,"66":25952,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114401792001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:27:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:27:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:27:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114401792001,"power":25952,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":146536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:27:54] local.INFO: GPS data processed {"connection_id":146536,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:27:54] local.INFO: Acknowledgment sent {"connection_id":146536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:27:56] local.INFO: TCP Data received {"connection_id":146536,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe422228012cc330c007685b20005a00cd2d..."} 
[2026-08-01 22:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe422228012cc330c007685b20005a00cd2d..."} 
[2026-08-01 22:27:56] local.INFO: Processing buffer {"connection_id":146536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe422228012cc330c007685b20005a00cd2d..."} 
[2026-08-01 22:27:56] local.INFO: Packet analysis {"connection_id":146536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe42"} 
[2026-08-01 22:27:56] local.INFO: Extracted packet for processing {"connection_id":146536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe42"} 
[2026-08-01 22:27:56] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:27: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-08-01 22:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114401792001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:27:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:27:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785603433000,"timestamp_ms":1785603433000,"timestamp_seconds":1785603433,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe422228"} 
[2026-08-01 22:27:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:27:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-08-01 22:27:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:27:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:27:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":146536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":146536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":146536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:27:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114401792001,"66":25952,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114401792001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:27:56] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:27:56] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:27:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114401792001,"power":25952,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":146536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:27:56] local.INFO: GPS data processed {"connection_id":146536,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:27:56] local.INFO: Acknowledgment sent {"connection_id":146536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:27:59] local.INFO: TCP Data received {"connection_id":148850,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:27:59] local.INFO: Processing buffer {"connection_id":148850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:27:59] local.INFO: IMEI packet received {"connection_id":148850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":148850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:28:04] local.INFO: TCP Data received {"connection_id":148850,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:28:04] local.INFO: Processing buffer {"connection_id":148850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:28:04] local.INFO: IMEI packet received {"connection_id":148850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":148850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:28:05] local.INFO: TCP Data received {"connection_id":148850,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe3f47b0012d196580071fefa0004401512a..."} 
[2026-08-01 22:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe3f47b0012d196580071fefa0004401512a..."} 
[2026-08-01 22:28:05] local.INFO: Processing buffer {"connection_id":148850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe3f47b0012d196580071fefa0004401512a..."} 
[2026-08-01 22:28:05] local.INFO: Packet analysis {"connection_id":148850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe3f"} 
[2026-08-01 22:28:05] local.INFO: Extracted packet for processing {"connection_id":148850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe3f"} 
[2026-08-01 22:28:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114353920001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785603246000,"timestamp_ms":1785603246000,"timestamp_seconds":1785603246,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe3f47b0"} 
[2026-08-01 22:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 22:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:28:05] 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-08-01 22:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114353920001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114353920001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:28:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:28:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114353920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":148850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:28:05] local.INFO: GPS data processed {"connection_id":148850,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:28:05] local.INFO: Acknowledgment sent {"connection_id":148850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:28:27] local.INFO: TCP Data received {"connection_id":146536,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe422228012cc330c007685b20005a00cd2d..."} 
[2026-08-01 22:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe422228012cc330c007685b20005a00cd2d..."} 
[2026-08-01 22:28:27] local.INFO: Processing buffer {"connection_id":146536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe422228012cc330c007685b20005a00cd2d..."} 
[2026-08-01 22:28:27] local.INFO: Packet analysis {"connection_id":146536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe42"} 
[2026-08-01 22:28:27] local.INFO: Extracted packet for processing {"connection_id":146536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe42"} 
[2026-08-01 22:28:27] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:28:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114401792001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:28:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:28:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785603433000,"timestamp_ms":1785603433000,"timestamp_seconds":1785603433,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe422228"} 
[2026-08-01 22:28:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:28:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-08-01 22:28:27] 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-08-01 22:28:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:28:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":146536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":146536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":146536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:28:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:28:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114401792001,"66":25952,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:28:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:28:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:28:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114401792001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:28:27] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:28:27] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:28:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:28:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:28:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114401792001,"power":25952,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":146536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:28:27] local.INFO: GPS data processed {"connection_id":146536,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:28:27] local.INFO: Acknowledgment sent {"connection_id":146536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:28:36] local.INFO: TCP Data received {"connection_id":148850,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe3f47b0012d196580071fefa0004401512a..."} 
[2026-08-01 22:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe3f47b0012d196580071fefa0004401512a..."} 
[2026-08-01 22:28:36] local.INFO: Processing buffer {"connection_id":148850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe3f47b0012d196580071fefa0004401512a..."} 
[2026-08-01 22:28:36] local.INFO: Packet analysis {"connection_id":148850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe3f"} 
[2026-08-01 22:28:36] local.INFO: Extracted packet for processing {"connection_id":148850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe3f"} 
[2026-08-01 22:28:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114353920001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785603246000,"timestamp_ms":1785603246000,"timestamp_seconds":1785603246,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe3f47b0"} 
[2026-08-01 22:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:28:36] 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-08-01 22:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 22:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:28:36] 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-08-01 22:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114353920001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114353920001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:28:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:28:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114353920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":148850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:28:36] local.INFO: GPS data processed {"connection_id":148850,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:28:36] local.INFO: Acknowledgment sent {"connection_id":148850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:28:43] local.INFO: TCP Data received {"connection_id":148851,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:28:43] local.INFO: Processing buffer {"connection_id":148851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:28:43] local.INFO: IMEI packet received {"connection_id":148851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 22:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":148851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:28:48] local.INFO: TCP Data received {"connection_id":148851,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:28:48] local.INFO: Processing buffer {"connection_id":148851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:28:48] local.INFO: IMEI packet received {"connection_id":148851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":148851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:28:50] local.INFO: TCP Data received {"connection_id":148851,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe422228012cc330c007685b20005a00cd2d..."} 
[2026-08-01 22:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe422228012cc330c007685b20005a00cd2d..."} 
[2026-08-01 22:28:50] local.INFO: Processing buffer {"connection_id":148851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe422228012cc330c007685b20005a00cd2d..."} 
[2026-08-01 22:28:50] local.INFO: Packet analysis {"connection_id":148851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe42"} 
[2026-08-01 22:28:50] local.INFO: Extracted packet for processing {"connection_id":148851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe42"} 
[2026-08-01 22:28:50] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114401792001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:28:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:28:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785603433000,"timestamp_ms":1785603433000,"timestamp_seconds":1785603433,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe422228"} 
[2026-08-01 22:28:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:28:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-08-01 22:28:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:28:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:28:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:28:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114401792001,"66":25952,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114401792001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:28:50] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:28:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:28:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114401792001,"power":25952,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":148851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:28:50] local.INFO: GPS data processed {"connection_id":148851,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:28:50] local.INFO: Acknowledgment sent {"connection_id":148851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:28:59] local.INFO: TCP Data received {"connection_id":146302,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146302,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:28:59] local.INFO: Processing buffer {"connection_id":146302,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:28:59] local.INFO: IMEI packet received {"connection_id":146302,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":146302,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:29:04] local.INFO: TCP Data received {"connection_id":146302,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146302,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:29:04] local.INFO: Processing buffer {"connection_id":146302,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:29:04] local.INFO: IMEI packet received {"connection_id":146302,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":146302,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:29:05] local.INFO: TCP Data received {"connection_id":146302,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe3f47b0012d196580071fefa0004401512a..."} 
[2026-08-01 22:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe3f47b0012d196580071fefa0004401512a..."} 
[2026-08-01 22:29:05] local.INFO: Processing buffer {"connection_id":146302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe3f47b0012d196580071fefa0004401512a..."} 
[2026-08-01 22:29:05] local.INFO: Packet analysis {"connection_id":146302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe3f"} 
[2026-08-01 22:29:05] local.INFO: Extracted packet for processing {"connection_id":146302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe3f"} 
[2026-08-01 22:29:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114353920001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785603246000,"timestamp_ms":1785603246000,"timestamp_seconds":1785603246,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe3f47b0"} 
[2026-08-01 22:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 22:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:29:05] 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-08-01 22:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114353920001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114353920001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:29:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:29:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114353920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":146302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579527,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:29:05] local.INFO: GPS data processed {"connection_id":146302,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:29:05] local.INFO: Acknowledgment sent {"connection_id":146302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:29:36] local.INFO: TCP Data received {"connection_id":146302,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe3f47b0012d196580071fefa0004401512a..."} 
[2026-08-01 22:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe3f47b0012d196580071fefa0004401512a..."} 
[2026-08-01 22:29:36] local.INFO: Processing buffer {"connection_id":146302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe3f47b0012d196580071fefa0004401512a..."} 
[2026-08-01 22:29:36] local.INFO: Packet analysis {"connection_id":146302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe3f"} 
[2026-08-01 22:29:36] local.INFO: Extracted packet for processing {"connection_id":146302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe3f"} 
[2026-08-01 22:29:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114353920001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785603246000,"timestamp_ms":1785603246000,"timestamp_seconds":1785603246,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe3f47b0"} 
[2026-08-01 22:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:29:36] 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-08-01 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 22:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:29:36] 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-08-01 22:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114353920001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114353920001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:29:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:29:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114353920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":146302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:29:36] local.INFO: GPS data processed {"connection_id":146302,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:29:36] local.INFO: Acknowledgment sent {"connection_id":146302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:29:36] local.INFO: TCP Data received {"connection_id":148851,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe422228012cc330c007685b20005a00cd2d..."} 
[2026-08-01 22:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe422228012cc330c007685b20005a00cd2d..."} 
[2026-08-01 22:29:36] local.INFO: Processing buffer {"connection_id":148851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe422228012cc330c007685b20005a00cd2d..."} 
[2026-08-01 22:29:36] local.INFO: Packet analysis {"connection_id":148851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe42"} 
[2026-08-01 22:29:36] local.INFO: Extracted packet for processing {"connection_id":148851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe42"} 
[2026-08-01 22:29:36] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114401792001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:29:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785603433000,"timestamp_ms":1785603433000,"timestamp_seconds":1785603433,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe422228"} 
[2026-08-01 22:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:29: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-08-01 22: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-08-01 22:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114401792001,"66":25952,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114401792001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:29:36] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:29:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:29:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114401792001,"power":25952,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":148851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:29:36] local.INFO: GPS data processed {"connection_id":148851,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:29:36] local.INFO: Acknowledgment sent {"connection_id":148851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:29:48] local.INFO: TCP Data received {"connection_id":146537,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:29:48] local.INFO: Processing buffer {"connection_id":146537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:29:48] local.INFO: IMEI packet received {"connection_id":146537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 22:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":146537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:29:57] local.INFO: TCP Data received {"connection_id":146537,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:29:57] local.INFO: Processing buffer {"connection_id":146537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:29:57] local.INFO: IMEI packet received {"connection_id":146537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":146537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:29:59] local.INFO: TCP Data received {"connection_id":147536,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:29:59] local.INFO: Processing buffer {"connection_id":147536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:29:59] local.INFO: IMEI packet received {"connection_id":147536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":147536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:30:04] local.INFO: TCP Data received {"connection_id":147536,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:30:04] local.INFO: Processing buffer {"connection_id":147536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:30:04] local.INFO: IMEI packet received {"connection_id":147536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":147536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:30:05] local.INFO: TCP Data received {"connection_id":147536,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe43df78012d196580071fefa0004401512a..."} 
[2026-08-01 22:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe43df78012d196580071fefa0004401512a..."} 
[2026-08-01 22:30:05] local.INFO: Processing buffer {"connection_id":147536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe43df78012d196580071fefa0004401512a..."} 
[2026-08-01 22:30:05] local.INFO: Packet analysis {"connection_id":147536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe43"} 
[2026-08-01 22:30:05] local.INFO: Extracted packet for processing {"connection_id":147536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe43"} 
[2026-08-01 22:30:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114430976001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785603547000,"timestamp_ms":1785603547000,"timestamp_seconds":1785603547,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe43df78"} 
[2026-08-01 22:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:30:05] 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-08-01 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:30:05] 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-08-01 22:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114430976001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114430976001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:30:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:30:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114430976001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":147536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579530,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:30:05] local.INFO: GPS data processed {"connection_id":147536,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:30:05] local.INFO: Acknowledgment sent {"connection_id":147536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:30:09] local.INFO: TCP Data received {"connection_id":146537,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe422228012cc330c007685b20005a00cd2d..."} 
[2026-08-01 22:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe422228012cc330c007685b20005a00cd2d..."} 
[2026-08-01 22:30:09] local.INFO: Processing buffer {"connection_id":146537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe422228012cc330c007685b20005a00cd2d..."} 
[2026-08-01 22:30:09] local.INFO: Packet analysis {"connection_id":146537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe42"} 
[2026-08-01 22:30:09] local.INFO: Extracted packet for processing {"connection_id":146537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe42"} 
[2026-08-01 22:30:09] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114401792001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:30:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1785603433000,"timestamp_ms":1785603433000,"timestamp_seconds":1785603433,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe422228"} 
[2026-08-01 22:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-08-01 22:30:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:30:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":146537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":146537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":146537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:30:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114401792001,"66":25952,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114401792001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:30:09] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:30:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:30:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114401792001,"power":25952,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":146537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:30:09] local.INFO: GPS data processed {"connection_id":146537,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:30:09] local.INFO: Acknowledgment sent {"connection_id":146537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:30:36] local.INFO: TCP Data received {"connection_id":147536,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe43df78012d196580071fefa0004401512a..."} 
[2026-08-01 22:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe43df78012d196580071fefa0004401512a..."} 
[2026-08-01 22:30:36] local.INFO: Processing buffer {"connection_id":147536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe43df78012d196580071fefa0004401512a..."} 
[2026-08-01 22:30:36] local.INFO: Packet analysis {"connection_id":147536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe43"} 
[2026-08-01 22:30:36] local.INFO: Extracted packet for processing {"connection_id":147536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe43"} 
[2026-08-01 22:30:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114430976001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785603547000,"timestamp_ms":1785603547000,"timestamp_seconds":1785603547,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe43df78"} 
[2026-08-01 22:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:30:36] 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-08-01 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:30:36] 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-08-01 22:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114430976001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114430976001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:30:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:30:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114430976001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":147536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:30:36] local.INFO: GPS data processed {"connection_id":147536,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:30:36] local.INFO: Acknowledgment sent {"connection_id":147536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:30:43] local.INFO: TCP Data received {"connection_id":146538,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:30:43] local.INFO: Processing buffer {"connection_id":146538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:30:43] local.INFO: IMEI packet received {"connection_id":146538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 22:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":146538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:30:48] local.INFO: TCP Data received {"connection_id":146538,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:30:48] local.INFO: Processing buffer {"connection_id":146538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:30:48] local.INFO: IMEI packet received {"connection_id":146538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":146538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:30:51] local.INFO: TCP Data received {"connection_id":146538,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe422228012cc330c007685b20005a00cd2d..."} 
[2026-08-01 22:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe422228012cc330c007685b20005a00cd2d..."} 
[2026-08-01 22:30:51] local.INFO: Processing buffer {"connection_id":146538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe422228012cc330c007685b20005a00cd2d..."} 
[2026-08-01 22:30:51] local.INFO: Packet analysis {"connection_id":146538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe42"} 
[2026-08-01 22:30:51] local.INFO: Extracted packet for processing {"connection_id":146538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe42"} 
[2026-08-01 22:30:51] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114401792001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:30:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:30:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1785603433000,"timestamp_ms":1785603433000,"timestamp_seconds":1785603433,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe422228"} 
[2026-08-01 22:30:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:30:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-08-01 22:30:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:30:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:30:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":146538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":146538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":146538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:30:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114401792001,"66":25952,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114401792001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:30:51] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:30:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:30:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114401792001,"power":25952,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":146538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:30:51] local.INFO: GPS data processed {"connection_id":146538,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:30:51] local.INFO: Acknowledgment sent {"connection_id":146538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:30:59] local.INFO: TCP Data received {"connection_id":148852,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:30:59] local.INFO: Processing buffer {"connection_id":148852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:30:59] local.INFO: IMEI packet received {"connection_id":148852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":148852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:31:04] local.INFO: TCP Data received {"connection_id":148852,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:31:04] local.INFO: Processing buffer {"connection_id":148852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:31:04] local.INFO: IMEI packet received {"connection_id":148852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":148852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:31:05] local.INFO: TCP Data received {"connection_id":148852,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe43df78012d196580071fefa0004401512a..."} 
[2026-08-01 22:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe43df78012d196580071fefa0004401512a..."} 
[2026-08-01 22:31:05] local.INFO: Processing buffer {"connection_id":148852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe43df78012d196580071fefa0004401512a..."} 
[2026-08-01 22:31:05] local.INFO: Packet analysis {"connection_id":148852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe43"} 
[2026-08-01 22:31:05] local.INFO: Extracted packet for processing {"connection_id":148852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe43"} 
[2026-08-01 22:31:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114430976001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785603547000,"timestamp_ms":1785603547000,"timestamp_seconds":1785603547,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe43df78"} 
[2026-08-01 22:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:31:05] 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-08-01 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:31:05] 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-08-01 22:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114430976001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114430976001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:31:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:31:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114430976001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":148852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579534,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:31:05] local.INFO: GPS data processed {"connection_id":148852,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:31:05] local.INFO: Acknowledgment sent {"connection_id":148852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:31:22] local.INFO: TCP Data received {"connection_id":146538,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe422228012cc330c007685b20005a00cd2d..."} 
[2026-08-01 22:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe422228012cc330c007685b20005a00cd2d..."} 
[2026-08-01 22:31:22] local.INFO: Processing buffer {"connection_id":146538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe422228012cc330c007685b20005a00cd2d..."} 
[2026-08-01 22:31:22] local.INFO: Packet analysis {"connection_id":146538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe42"} 
[2026-08-01 22:31:22] local.INFO: Extracted packet for processing {"connection_id":146538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe42"} 
[2026-08-01 22:31:22] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114401792001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:31:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785603433000,"timestamp_ms":1785603433000,"timestamp_seconds":1785603433,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe422228"} 
[2026-08-01 22:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:31:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-08-01 22:31:22] 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-08-01 22:31:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114401792001,"66":25952,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114401792001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:31:22] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:31:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:31:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114401792001,"power":25952,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":146538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:31:22] local.INFO: GPS data processed {"connection_id":146538,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:31:22] local.INFO: Acknowledgment sent {"connection_id":146538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:31:36] local.INFO: TCP Data received {"connection_id":148852,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe43df78012d196580071fefa0004401512a..."} 
[2026-08-01 22:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe43df78012d196580071fefa0004401512a..."} 
[2026-08-01 22:31:36] local.INFO: Processing buffer {"connection_id":148852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe43df78012d196580071fefa0004401512a..."} 
[2026-08-01 22:31:36] local.INFO: Packet analysis {"connection_id":148852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe43"} 
[2026-08-01 22:31:36] local.INFO: Extracted packet for processing {"connection_id":148852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe43"} 
[2026-08-01 22:31:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114430976001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785603547000,"timestamp_ms":1785603547000,"timestamp_seconds":1785603547,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe43df78"} 
[2026-08-01 22:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:31:36] 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-08-01 22:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:31:36] 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-08-01 22:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114430976001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114430976001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:31:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:31:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114430976001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":148852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:31:36] local.INFO: GPS data processed {"connection_id":148852,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:31:36] local.INFO: Acknowledgment sent {"connection_id":148852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:31:43] local.INFO: TCP Data received {"connection_id":146539,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:31:43] local.INFO: Processing buffer {"connection_id":146539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:31:43] local.INFO: IMEI packet received {"connection_id":146539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 22:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":146539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:31:48] local.INFO: TCP Data received {"connection_id":146539,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:31:48] local.INFO: Processing buffer {"connection_id":146539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:31:48] local.INFO: IMEI packet received {"connection_id":146539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":146539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:31:50] local.INFO: TCP Data received {"connection_id":146539,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe422228012cc330c007685b20005a00cd2d..."} 
[2026-08-01 22:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe422228012cc330c007685b20005a00cd2d..."} 
[2026-08-01 22:31:50] local.INFO: Processing buffer {"connection_id":146539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe422228012cc330c007685b20005a00cd2d..."} 
[2026-08-01 22:31:50] local.INFO: Packet analysis {"connection_id":146539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe42"} 
[2026-08-01 22:31:50] local.INFO: Extracted packet for processing {"connection_id":146539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe42"} 
[2026-08-01 22:31:50] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:31:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:31:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114401792001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:31:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:31:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:31:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:31:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785603433000,"timestamp_ms":1785603433000,"timestamp_seconds":1785603433,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe422228"} 
[2026-08-01 22:31:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:31:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:31:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-08-01 22:31:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:31:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:31:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:31:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:31:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:31:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:31:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:31:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:31:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:31:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:31:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114401792001,"66":25952,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:31:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:31:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:31:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114401792001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:31:50] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:31:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:31:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:31:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:31:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114401792001,"power":25952,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:31:50] local.INFO: DEBUG: GPS processor result {"connection_id":146539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:31:50] local.INFO: GPS data processed {"connection_id":146539,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:31:50] local.INFO: Acknowledgment sent {"connection_id":146539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:32:00] local.INFO: TCP Data received {"connection_id":147537,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:32:00] local.INFO: Processing buffer {"connection_id":147537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:32:00] local.INFO: IMEI packet received {"connection_id":147537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":147537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:32:04] local.INFO: TCP Data received {"connection_id":147537,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:32:04] local.INFO: Processing buffer {"connection_id":147537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:32:04] local.INFO: IMEI packet received {"connection_id":147537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":147537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:32:04] local.INFO: TCP Data received {"connection_id":147537,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe43df78012d196580071fefa0004401512a..."} 
[2026-08-01 22:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe43df78012d196580071fefa0004401512a..."} 
[2026-08-01 22:32:04] local.INFO: Processing buffer {"connection_id":147537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe43df78012d196580071fefa0004401512a..."} 
[2026-08-01 22:32:04] local.INFO: Packet analysis {"connection_id":147537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe43"} 
[2026-08-01 22:32:04] local.INFO: Extracted packet for processing {"connection_id":147537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe43"} 
[2026-08-01 22:32:04] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114430976001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785603547000,"timestamp_ms":1785603547000,"timestamp_seconds":1785603547,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe43df78"} 
[2026-08-01 22:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:32:04] 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-08-01 22:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:32:04] 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-08-01 22:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114430976001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114430976001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:32:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:32:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114430976001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":147537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:32:05] local.INFO: GPS data processed {"connection_id":147537,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:32:05] local.INFO: Acknowledgment sent {"connection_id":147537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:32:21] local.INFO: TCP Data received {"connection_id":146539,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe422228012cc330c007685b20005a00cd2d..."} 
[2026-08-01 22:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe422228012cc330c007685b20005a00cd2d..."} 
[2026-08-01 22:32:21] local.INFO: Processing buffer {"connection_id":146539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe422228012cc330c007685b20005a00cd2d..."} 
[2026-08-01 22:32:21] local.INFO: Packet analysis {"connection_id":146539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe42"} 
[2026-08-01 22:32:21] local.INFO: Extracted packet for processing {"connection_id":146539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe42"} 
[2026-08-01 22:32:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114401792001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:32:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:32:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785603433000,"timestamp_ms":1785603433000,"timestamp_seconds":1785603433,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe422228"} 
[2026-08-01 22:32:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:32:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-08-01 22:32:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:32:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:32:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:32:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114401792001,"66":25952,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114401792001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:32:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:32:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:32:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114401792001,"power":25952,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":146539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:32:21] local.INFO: GPS data processed {"connection_id":146539,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:32:21] local.INFO: Acknowledgment sent {"connection_id":146539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:32:36] local.INFO: TCP Data received {"connection_id":147537,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe43df78012d196580071fefa0004401512a..."} 
[2026-08-01 22:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe43df78012d196580071fefa0004401512a..."} 
[2026-08-01 22:32:36] local.INFO: Processing buffer {"connection_id":147537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe43df78012d196580071fefa0004401512a..."} 
[2026-08-01 22:32:36] local.INFO: Packet analysis {"connection_id":147537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe43"} 
[2026-08-01 22:32:36] local.INFO: Extracted packet for processing {"connection_id":147537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe43"} 
[2026-08-01 22:32:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114430976001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785603547000,"timestamp_ms":1785603547000,"timestamp_seconds":1785603547,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe43df78"} 
[2026-08-01 22:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:32:36] 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-08-01 22:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:32:36] 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-08-01 22:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114430976001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114430976001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:32:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:32:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114430976001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":147537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:32:36] local.INFO: GPS data processed {"connection_id":147537,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:32:36] local.INFO: Acknowledgment sent {"connection_id":147537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:32:43] local.INFO: TCP Data received {"connection_id":146303,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:32:43] local.INFO: Processing buffer {"connection_id":146303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:32:43] local.INFO: IMEI packet received {"connection_id":146303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 22:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":146303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:32:48] local.INFO: TCP Data received {"connection_id":146303,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:32:48] local.INFO: Processing buffer {"connection_id":146303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:32:48] local.INFO: IMEI packet received {"connection_id":146303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":146303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:32:50] local.INFO: TCP Data received {"connection_id":146303,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe422228012cc330c007685b20005a00cd2d..."} 
[2026-08-01 22:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe422228012cc330c007685b20005a00cd2d..."} 
[2026-08-01 22:32:50] local.INFO: Processing buffer {"connection_id":146303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe422228012cc330c007685b20005a00cd2d..."} 
[2026-08-01 22:32:50] local.INFO: Packet analysis {"connection_id":146303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe42"} 
[2026-08-01 22:32:50] local.INFO: Extracted packet for processing {"connection_id":146303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe42"} 
[2026-08-01 22:32:50] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:32:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:32:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114401792001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:32:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:32:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:32:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:32:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785603433000,"timestamp_ms":1785603433000,"timestamp_seconds":1785603433,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe422228"} 
[2026-08-01 22:32:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:32:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:32:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-08-01 22:32:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:32:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:32:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:32:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:32:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:32:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:32:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:32:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:32:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:32:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:32:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114401792001,"66":25952,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:32:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:32:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:32:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114401792001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:32:50] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:32:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:32:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:32:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:32:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114401792001,"power":25952,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:32:50] local.INFO: DEBUG: GPS processor result {"connection_id":146303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:32:50] local.INFO: GPS data processed {"connection_id":146303,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:32:50] local.INFO: Acknowledgment sent {"connection_id":146303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:33:04] local.INFO: TCP Data received {"connection_id":148853,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:33:04] local.INFO: Processing buffer {"connection_id":148853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:33:04] local.INFO: IMEI packet received {"connection_id":148853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":148853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:33:09] local.INFO: TCP Data received {"connection_id":148853,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:33:09] local.INFO: Processing buffer {"connection_id":148853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:33:09] local.INFO: IMEI packet received {"connection_id":148853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":148853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:33:10] local.INFO: TCP Data received {"connection_id":148853,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe43df78012d196580071fefa0004401512a..."} 
[2026-08-01 22:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe43df78012d196580071fefa0004401512a..."} 
[2026-08-01 22:33:10] local.INFO: Processing buffer {"connection_id":148853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe43df78012d196580071fefa0004401512a..."} 
[2026-08-01 22:33:10] local.INFO: Packet analysis {"connection_id":148853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe43"} 
[2026-08-01 22:33:10] local.INFO: Extracted packet for processing {"connection_id":148853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe43"} 
[2026-08-01 22:33:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 22:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114430976001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 22:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785603547000,"timestamp_ms":1785603547000,"timestamp_seconds":1785603547,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe43df78"} 
[2026-08-01 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-08-01 22:33: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-08-01 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":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:33: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-08-01 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-08-01 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-08-01 22:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":148853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":148853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":148853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:33: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-08-01 22:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114430976001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114430976001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:33:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:33:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114430976001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":148853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:33:10] local.INFO: GPS data processed {"connection_id":148853,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:33:10] local.INFO: Acknowledgment sent {"connection_id":148853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:33:14] local.INFO: TCP Data received {"connection_id":148853,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe43df78012d196580071fefa0004401512a..."} 
[2026-08-01 22:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe43df78012d196580071fefa0004401512a..."} 
[2026-08-01 22:33:14] local.INFO: Processing buffer {"connection_id":148853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe43df78012d196580071fefa0004401512a..."} 
[2026-08-01 22:33:14] local.INFO: Packet analysis {"connection_id":148853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe43"} 
[2026-08-01 22:33:14] local.INFO: Extracted packet for processing {"connection_id":148853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe43"} 
[2026-08-01 22:33:14] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114430976001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:33: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-08-01 22:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785603547000,"timestamp_ms":1785603547000,"timestamp_seconds":1785603547,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe43df78"} 
[2026-08-01 22:33:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:33:14] 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-08-01 22:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:33: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-08-01 22:33:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:33:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":148853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":148853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":148853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:33:14] 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-08-01 22:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114430976001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114430976001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:33:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:33:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:33:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114430976001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":148853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579543,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:33:14] local.INFO: GPS data processed {"connection_id":148853,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:33:14] local.INFO: Acknowledgment sent {"connection_id":148853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:33:21] local.INFO: TCP Data received {"connection_id":146303,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe46b9f0012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe46b9f0012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:33:21] local.INFO: Processing buffer {"connection_id":146303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe46b9f0012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:33:21] local.INFO: Packet analysis {"connection_id":146303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe46"} 
[2026-08-01 22:33:21] local.INFO: Extracted packet for processing {"connection_id":146303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe46"} 
[2026-08-01 22:33:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114478848001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:33:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:33:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785603734000,"timestamp_ms":1785603734000,"timestamp_seconds":1785603734,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe46b9f0"} 
[2026-08-01 22:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:33:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 22:33:21] 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-08-01 22:33:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:33:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114478848001,"66":25625,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114478848001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:33:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:33:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:33:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114478848001,"power":25625,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":146303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:33:21] local.INFO: GPS data processed {"connection_id":146303,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:33:21] local.INFO: Acknowledgment sent {"connection_id":146303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:33:43] local.INFO: TCP Data received {"connection_id":146540,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:33:43] local.INFO: Processing buffer {"connection_id":146540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:33:43] local.INFO: IMEI packet received {"connection_id":146540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 22:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":146540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:33:48] local.INFO: TCP Data received {"connection_id":146540,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:33:48] local.INFO: Processing buffer {"connection_id":146540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:33:48] local.INFO: IMEI packet received {"connection_id":146540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":146540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:33:49] local.INFO: TCP Data received {"connection_id":146540,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe46b9f0012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe46b9f0012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:33:49] local.INFO: Processing buffer {"connection_id":146540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe46b9f0012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:33:49] local.INFO: Packet analysis {"connection_id":146540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe46"} 
[2026-08-01 22:33:49] local.INFO: Extracted packet for processing {"connection_id":146540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe46"} 
[2026-08-01 22:33:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114478848001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:33:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:33:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785603734000,"timestamp_ms":1785603734000,"timestamp_seconds":1785603734,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe46b9f0"} 
[2026-08-01 22:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:33:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 22:33:49] 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-08-01 22:33:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:33:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114478848001,"66":25625,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114478848001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:33:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:33:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:33:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114478848001,"power":25625,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":146540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:33:49] local.INFO: GPS data processed {"connection_id":146540,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:33:49] local.INFO: Acknowledgment sent {"connection_id":146540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:33:59] local.INFO: TCP Data received {"connection_id":147538,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147538,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:33:59] local.INFO: Processing buffer {"connection_id":147538,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:33:59] local.INFO: IMEI packet received {"connection_id":147538,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":147538,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:34:04] local.INFO: TCP Data received {"connection_id":147538,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147538,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:34:04] local.INFO: Processing buffer {"connection_id":147538,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:34:04] local.INFO: IMEI packet received {"connection_id":147538,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":147538,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:34:05] local.INFO: TCP Data received {"connection_id":147538,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe43df78012d196580071fefa0004401512a..."} 
[2026-08-01 22:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe43df78012d196580071fefa0004401512a..."} 
[2026-08-01 22:34:05] local.INFO: Processing buffer {"connection_id":147538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe43df78012d196580071fefa0004401512a..."} 
[2026-08-01 22:34:05] local.INFO: Packet analysis {"connection_id":147538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe43"} 
[2026-08-01 22:34:05] local.INFO: Extracted packet for processing {"connection_id":147538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe43"} 
[2026-08-01 22:34:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114430976001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785603547000,"timestamp_ms":1785603547000,"timestamp_seconds":1785603547,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe43df78"} 
[2026-08-01 22:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:34:05] 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-08-01 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:34:05] 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-08-01 22:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114430976001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114430976001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:34:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:34:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114430976001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":147538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579546,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:34:05] local.INFO: GPS data processed {"connection_id":147538,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:34:05] local.INFO: Acknowledgment sent {"connection_id":147538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:34:21] local.INFO: TCP Data received {"connection_id":146540,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe46b9f0012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe46b9f0012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:34:21] local.INFO: Processing buffer {"connection_id":146540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe46b9f0012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:34:21] local.INFO: Packet analysis {"connection_id":146540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe46"} 
[2026-08-01 22:34:21] local.INFO: Extracted packet for processing {"connection_id":146540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe46"} 
[2026-08-01 22:34:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114478848001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:34:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785603734000,"timestamp_ms":1785603734000,"timestamp_seconds":1785603734,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe46b9f0"} 
[2026-08-01 22:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:34:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 22:34:21] 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-08-01 22:34:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:34:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114478848001,"66":25625,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114478848001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:34:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:34:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:34:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114478848001,"power":25625,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":146540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:34:21] local.INFO: GPS data processed {"connection_id":146540,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:34:21] local.INFO: Acknowledgment sent {"connection_id":146540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:34:36] local.INFO: TCP Data received {"connection_id":147538,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe43df78012d196580071fefa0004401512a..."} 
[2026-08-01 22:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe43df78012d196580071fefa0004401512a..."} 
[2026-08-01 22:34:36] local.INFO: Processing buffer {"connection_id":147538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe43df78012d196580071fefa0004401512a..."} 
[2026-08-01 22:34:36] local.INFO: Packet analysis {"connection_id":147538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe43"} 
[2026-08-01 22:34:36] local.INFO: Extracted packet for processing {"connection_id":147538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe43"} 
[2026-08-01 22:34:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114430976001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785603547000,"timestamp_ms":1785603547000,"timestamp_seconds":1785603547,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe43df78"} 
[2026-08-01 22:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:34:36] 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-08-01 22:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:34:36] 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-08-01 22:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114430976001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114430976001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:34:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:34:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114430976001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":147538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:34:36] local.INFO: GPS data processed {"connection_id":147538,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:34:36] local.INFO: Acknowledgment sent {"connection_id":147538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:34:43] local.INFO: TCP Data received {"connection_id":146304,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:34:43] local.INFO: Processing buffer {"connection_id":146304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:34:43] local.INFO: IMEI packet received {"connection_id":146304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 22:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":146304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:34:48] local.INFO: TCP Data received {"connection_id":146304,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:34:48] local.INFO: Processing buffer {"connection_id":146304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:34:48] local.INFO: IMEI packet received {"connection_id":146304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":146304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:34:49] local.INFO: TCP Data received {"connection_id":146304,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe46b9f0012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe46b9f0012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:34:49] local.INFO: Processing buffer {"connection_id":146304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe46b9f0012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:34:49] local.INFO: Packet analysis {"connection_id":146304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe46"} 
[2026-08-01 22:34:49] local.INFO: Extracted packet for processing {"connection_id":146304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe46"} 
[2026-08-01 22:34:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114478848001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:34:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:34:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785603734000,"timestamp_ms":1785603734000,"timestamp_seconds":1785603734,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe46b9f0"} 
[2026-08-01 22:34:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:34:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 22:34:49] 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-08-01 22:34:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:34:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:34:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114478848001,"66":25625,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114478848001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:34:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:34:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:34:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:34:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114478848001,"power":25625,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:34:49] local.INFO: DEBUG: GPS processor result {"connection_id":146304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:34:49] local.INFO: GPS data processed {"connection_id":146304,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:34:49] local.INFO: Acknowledgment sent {"connection_id":146304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:34:59] local.INFO: TCP Data received {"connection_id":146305,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:34:59] local.INFO: Processing buffer {"connection_id":146305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:34:59] local.INFO: IMEI packet received {"connection_id":146305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":146305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:35:04] local.INFO: TCP Data received {"connection_id":146305,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:35:04] local.INFO: Processing buffer {"connection_id":146305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:35:04] local.INFO: IMEI packet received {"connection_id":146305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":146305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:35:05] local.INFO: TCP Data received {"connection_id":146305,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe487740012d196580071fefa00044015129..."} 
[2026-08-01 22:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe487740012d196580071fefa00044015129..."} 
[2026-08-01 22:35:05] local.INFO: Processing buffer {"connection_id":146305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe487740012d196580071fefa00044015129..."} 
[2026-08-01 22:35:05] local.INFO: Packet analysis {"connection_id":146305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe48"} 
[2026-08-01 22:35:05] local.INFO: Extracted packet for processing {"connection_id":146305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe48"} 
[2026-08-01 22:35:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114508032001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785603848000,"timestamp_ms":1785603848000,"timestamp_seconds":1785603848,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe487740"} 
[2026-08-01 22:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:35:05] 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-08-01 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 22:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:35:05] 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-08-01 22:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114508032001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114508032001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:35:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:35:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114508032001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":146305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579550,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:35:05] local.INFO: GPS data processed {"connection_id":146305,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:35:05] local.INFO: Acknowledgment sent {"connection_id":146305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:35:21] local.INFO: TCP Data received {"connection_id":146304,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe46b9f0012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe46b9f0012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:35:21] local.INFO: Processing buffer {"connection_id":146304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe46b9f0012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:35:21] local.INFO: Packet analysis {"connection_id":146304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe46"} 
[2026-08-01 22:35:21] local.INFO: Extracted packet for processing {"connection_id":146304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe46"} 
[2026-08-01 22:35:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114478848001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:35:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:35:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785603734000,"timestamp_ms":1785603734000,"timestamp_seconds":1785603734,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe46b9f0"} 
[2026-08-01 22:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:35:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 22:35:21] 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-08-01 22: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-08-01 22:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:35:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114478848001,"66":25625,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114478848001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:35:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:35:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:35:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114478848001,"power":25625,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":146304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:35:21] local.INFO: GPS data processed {"connection_id":146304,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:35:21] local.INFO: Acknowledgment sent {"connection_id":146304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:35:36] local.INFO: TCP Data received {"connection_id":146305,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe487740012d196580071fefa00044015129..."} 
[2026-08-01 22:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe487740012d196580071fefa00044015129..."} 
[2026-08-01 22:35:36] local.INFO: Processing buffer {"connection_id":146305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe487740012d196580071fefa00044015129..."} 
[2026-08-01 22:35:36] local.INFO: Packet analysis {"connection_id":146305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe48"} 
[2026-08-01 22:35:36] local.INFO: Extracted packet for processing {"connection_id":146305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe48"} 
[2026-08-01 22:35:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114508032001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785603848000,"timestamp_ms":1785603848000,"timestamp_seconds":1785603848,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe487740"} 
[2026-08-01 22:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:35:36] 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-08-01 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 22:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:35:36] 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-08-01 22:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114508032001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114508032001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:35:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:35:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114508032001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":146305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:35:36] local.INFO: GPS data processed {"connection_id":146305,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:35:36] local.INFO: Acknowledgment sent {"connection_id":146305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:35:43] local.INFO: TCP Data received {"connection_id":147539,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:35:43] local.INFO: Processing buffer {"connection_id":147539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:35:43] local.INFO: IMEI packet received {"connection_id":147539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 22:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":147539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:35:48] local.INFO: TCP Data received {"connection_id":147539,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:35:48] local.INFO: Processing buffer {"connection_id":147539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:35:48] local.INFO: IMEI packet received {"connection_id":147539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":147539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:35:49] local.INFO: TCP Data received {"connection_id":147539,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe46b9f0012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe46b9f0012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:35:49] local.INFO: Processing buffer {"connection_id":147539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe46b9f0012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:35:49] local.INFO: Packet analysis {"connection_id":147539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe46"} 
[2026-08-01 22:35:49] local.INFO: Extracted packet for processing {"connection_id":147539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe46"} 
[2026-08-01 22:35:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:35:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114478848001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:35:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:35:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:35:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:35:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785603734000,"timestamp_ms":1785603734000,"timestamp_seconds":1785603734,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe46b9f0"} 
[2026-08-01 22:35:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:35:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 22:35:49] 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-08-01 22:35:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:35:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:35:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:35:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:35:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:35:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:35:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:35:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:35:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:35:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114478848001,"66":25625,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:35:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:35:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:35:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114478848001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:35:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:35:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:35:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:35:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:35:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114478848001,"power":25625,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:35:49] local.INFO: DEBUG: GPS processor result {"connection_id":147539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:35:49] local.INFO: GPS data processed {"connection_id":147539,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:35:49] local.INFO: Acknowledgment sent {"connection_id":147539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:35:59] local.INFO: TCP Data received {"connection_id":146541,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:35:59] local.INFO: Processing buffer {"connection_id":146541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:35:59] local.INFO: IMEI packet received {"connection_id":146541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":146541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:36:04] local.INFO: TCP Data received {"connection_id":146541,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:36:04] local.INFO: Processing buffer {"connection_id":146541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:36:04] local.INFO: IMEI packet received {"connection_id":146541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":146541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:36:05] local.INFO: TCP Data received {"connection_id":146541,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe487740012d196580071fefa00044015129..."} 
[2026-08-01 22:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe487740012d196580071fefa00044015129..."} 
[2026-08-01 22:36:05] local.INFO: Processing buffer {"connection_id":146541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe487740012d196580071fefa00044015129..."} 
[2026-08-01 22:36:05] local.INFO: Packet analysis {"connection_id":146541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe48"} 
[2026-08-01 22:36:05] local.INFO: Extracted packet for processing {"connection_id":146541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe48"} 
[2026-08-01 22:36:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114508032001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785603848000,"timestamp_ms":1785603848000,"timestamp_seconds":1785603848,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe487740"} 
[2026-08-01 22:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:36:05] 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-08-01 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 22:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:36:05] 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-08-01 22:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114508032001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114508032001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:36:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:36:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114508032001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":146541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:36:05] local.INFO: GPS data processed {"connection_id":146541,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:36:05] local.INFO: Acknowledgment sent {"connection_id":146541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:36:21] local.INFO: TCP Data received {"connection_id":147539,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe46b9f0012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe46b9f0012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:36:21] local.INFO: Processing buffer {"connection_id":147539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe46b9f0012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:36:21] local.INFO: Packet analysis {"connection_id":147539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe46"} 
[2026-08-01 22:36:21] local.INFO: Extracted packet for processing {"connection_id":147539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe46"} 
[2026-08-01 22:36:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114478848001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:36:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785603734000,"timestamp_ms":1785603734000,"timestamp_seconds":1785603734,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe46b9f0"} 
[2026-08-01 22:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 22:36:21] 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-08-01 22:36:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114478848001,"66":25625,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114478848001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:36:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:36:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:36:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114478848001,"power":25625,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":147539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:36:21] local.INFO: GPS data processed {"connection_id":147539,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:36:21] local.INFO: Acknowledgment sent {"connection_id":147539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:36:36] local.INFO: TCP Data received {"connection_id":146541,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe487740012d196580071fefa00044015129..."} 
[2026-08-01 22:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe487740012d196580071fefa00044015129..."} 
[2026-08-01 22:36:36] local.INFO: Processing buffer {"connection_id":146541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe487740012d196580071fefa00044015129..."} 
[2026-08-01 22:36:36] local.INFO: Packet analysis {"connection_id":146541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe48"} 
[2026-08-01 22:36:36] local.INFO: Extracted packet for processing {"connection_id":146541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe48"} 
[2026-08-01 22:36:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114508032001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785603848000,"timestamp_ms":1785603848000,"timestamp_seconds":1785603848,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe487740"} 
[2026-08-01 22:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:36:36] 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-08-01 22:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 22:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:36:36] 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-08-01 22:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114508032001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114508032001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:36:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:36:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114508032001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":146541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:36:36] local.INFO: GPS data processed {"connection_id":146541,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:36:36] local.INFO: Acknowledgment sent {"connection_id":146541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:36:43] local.INFO: TCP Data received {"connection_id":146306,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:36:43] local.INFO: Processing buffer {"connection_id":146306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:36:43] local.INFO: IMEI packet received {"connection_id":146306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 22:36:43] local.INFO: IMEI acknowledgment sent {"connection_id":146306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:36:48] local.INFO: TCP Data received {"connection_id":146306,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:36:48] local.INFO: Processing buffer {"connection_id":146306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:36:48] local.INFO: IMEI packet received {"connection_id":146306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":146306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:36:49] local.INFO: TCP Data received {"connection_id":146306,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe46b9f0012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe46b9f0012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:36:49] local.INFO: Processing buffer {"connection_id":146306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe46b9f0012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:36:49] local.INFO: Packet analysis {"connection_id":146306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe46"} 
[2026-08-01 22:36:49] local.INFO: Extracted packet for processing {"connection_id":146306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe46"} 
[2026-08-01 22:36:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114478848001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:36:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:36:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785603734000,"timestamp_ms":1785603734000,"timestamp_seconds":1785603734,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe46b9f0"} 
[2026-08-01 22:36:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:36:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 22:36:49] 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-08-01 22:36:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:36:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:36:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114478848001,"66":25625,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114478848001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:36:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:36:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:36:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114478848001,"power":25625,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:36:49] local.INFO: DEBUG: GPS processor result {"connection_id":146306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:36:49] local.INFO: GPS data processed {"connection_id":146306,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:36:49] local.INFO: Acknowledgment sent {"connection_id":146306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:37:04] local.INFO: TCP Data received {"connection_id":147540,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:37:04] local.INFO: Processing buffer {"connection_id":147540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:37:04] local.INFO: IMEI packet received {"connection_id":147540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":147540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:37:09] local.INFO: TCP Data received {"connection_id":147540,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:37:09] local.INFO: Processing buffer {"connection_id":147540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:37:09] local.INFO: IMEI packet received {"connection_id":147540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":147540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:37:10] local.INFO: TCP Data received {"connection_id":147540,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe487740012d196580071fefa00044015129..."} 
[2026-08-01 22:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe487740012d196580071fefa00044015129..."} 
[2026-08-01 22:37:10] local.INFO: Processing buffer {"connection_id":147540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe487740012d196580071fefa00044015129..."} 
[2026-08-01 22:37:10] local.INFO: Packet analysis {"connection_id":147540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe48"} 
[2026-08-01 22:37:10] local.INFO: Extracted packet for processing {"connection_id":147540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe48"} 
[2026-08-01 22:37:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 22:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114508032001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 22:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785603848000,"timestamp_ms":1785603848000,"timestamp_seconds":1785603848,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe487740"} 
[2026-08-01 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-08-01 22:37: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-08-01 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":96,"data_length":795,"current_offset":136} 
[2026-08-01 22:37: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-08-01 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-08-01 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-08-01 22:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":147540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":147540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":147540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:37: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-08-01 22:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114508032001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114508032001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:37:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:37:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114508032001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":147540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579558,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:37:10] local.INFO: GPS data processed {"connection_id":147540,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:37:10] local.INFO: Acknowledgment sent {"connection_id":147540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:37:15] local.INFO: TCP Data received {"connection_id":147540,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe487740012d196580071fefa00044015129..."} 
[2026-08-01 22:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe487740012d196580071fefa00044015129..."} 
[2026-08-01 22:37:15] local.INFO: Processing buffer {"connection_id":147540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe487740012d196580071fefa00044015129..."} 
[2026-08-01 22:37:15] local.INFO: Packet analysis {"connection_id":147540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe48"} 
[2026-08-01 22:37:15] local.INFO: Extracted packet for processing {"connection_id":147540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe48"} 
[2026-08-01 22:37:15] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114508032001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:37:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22: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-08-01 22:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785603848000,"timestamp_ms":1785603848000,"timestamp_seconds":1785603848,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe487740"} 
[2026-08-01 22:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:37: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-08-01 22: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":96,"data_length":795,"current_offset":136} 
[2026-08-01 22:37: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-08-01 22: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-08-01 22:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":147540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":147540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":147540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:37: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-08-01 22:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114508032001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114508032001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:37:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:37:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:37:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114508032001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":147540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:37:15] local.INFO: GPS data processed {"connection_id":147540,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:37:15] local.INFO: Acknowledgment sent {"connection_id":147540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:37:21] local.INFO: TCP Data received {"connection_id":146306,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe46b9f0012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe46b9f0012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:37:21] local.INFO: Processing buffer {"connection_id":146306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe46b9f0012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:37:21] local.INFO: Packet analysis {"connection_id":146306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe46"} 
[2026-08-01 22:37:21] local.INFO: Extracted packet for processing {"connection_id":146306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe46"} 
[2026-08-01 22:37:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114478848001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:37:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785603734000,"timestamp_ms":1785603734000,"timestamp_seconds":1785603734,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe46b9f0"} 
[2026-08-01 22:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:37:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 22:37:21] 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-08-01 22:37:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114478848001,"66":25625,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114478848001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:37:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:37:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:37:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114478848001,"power":25625,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":146306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:37:21] local.INFO: GPS data processed {"connection_id":146306,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:37:21] local.INFO: Acknowledgment sent {"connection_id":146306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:37:48] local.INFO: TCP Data received {"connection_id":148854,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:37:48] local.INFO: Processing buffer {"connection_id":148854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:37:48] local.INFO: IMEI packet received {"connection_id":148854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 22:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":148854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:37:53] local.INFO: TCP Data received {"connection_id":148854,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:37:53] local.INFO: Processing buffer {"connection_id":148854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:37:53] local.INFO: IMEI packet received {"connection_id":148854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":148854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:37:54] local.INFO: TCP Data received {"connection_id":148854,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe4b51b8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe4b51b8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:37:54] local.INFO: Processing buffer {"connection_id":148854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe4b51b8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:37:54] local.INFO: Packet analysis {"connection_id":148854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe4b"} 
[2026-08-01 22:37:54] local.INFO: Extracted packet for processing {"connection_id":148854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe4b"} 
[2026-08-01 22:37:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114555904001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:37:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:37:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785604035000,"timestamp_ms":1785604035000,"timestamp_seconds":1785604035,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe4b51b8"} 
[2026-08-01 22:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:37:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 22:37:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:37:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:37:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114555904001,"66":25875,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114555904001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:37:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:37:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:37:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114555904001,"power":25875,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":148854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:37:54] local.INFO: GPS data processed {"connection_id":148854,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:37:54] local.INFO: Acknowledgment sent {"connection_id":148854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:37:55] local.INFO: TCP Data received {"connection_id":148854,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe4b51b8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe4b51b8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:37:55] local.INFO: Processing buffer {"connection_id":148854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe4b51b8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:37:55] local.INFO: Packet analysis {"connection_id":148854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe4b"} 
[2026-08-01 22:37:55] local.INFO: Extracted packet for processing {"connection_id":148854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe4b"} 
[2026-08-01 22:37:55] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114555904001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:37:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785604035000,"timestamp_ms":1785604035000,"timestamp_seconds":1785604035,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe4b51b8"} 
[2026-08-01 22:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:37:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 22:37:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:37:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114555904001,"66":25875,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114555904001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:37:55] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:37:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:37:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114555904001,"power":25875,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":148854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:37:56] local.INFO: GPS data processed {"connection_id":148854,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:37:56] local.INFO: Acknowledgment sent {"connection_id":148854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:37:59] local.INFO: TCP Data received {"connection_id":147541,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:37:59] local.INFO: Processing buffer {"connection_id":147541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:37:59] local.INFO: IMEI packet received {"connection_id":147541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":147541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:38:04] local.INFO: TCP Data received {"connection_id":147541,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:38:04] local.INFO: Processing buffer {"connection_id":147541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:38:04] local.INFO: IMEI packet received {"connection_id":147541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":147541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:38:05] local.INFO: TCP Data received {"connection_id":147541,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe487740012d196580071fefa00044015129..."} 
[2026-08-01 22:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe487740012d196580071fefa00044015129..."} 
[2026-08-01 22:38:05] local.INFO: Processing buffer {"connection_id":147541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe487740012d196580071fefa00044015129..."} 
[2026-08-01 22:38:05] local.INFO: Packet analysis {"connection_id":147541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe48"} 
[2026-08-01 22:38:05] local.INFO: Extracted packet for processing {"connection_id":147541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe48"} 
[2026-08-01 22:38:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114508032001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785603848000,"timestamp_ms":1785603848000,"timestamp_seconds":1785603848,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe487740"} 
[2026-08-01 22:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:38:05] 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-08-01 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 22:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:38:05] 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-08-01 22:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114508032001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114508032001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:38:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:38:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114508032001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":147541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:38:05] local.INFO: GPS data processed {"connection_id":147541,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:38:05] local.INFO: Acknowledgment sent {"connection_id":147541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:38:27] local.INFO: TCP Data received {"connection_id":148854,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe4b51b8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe4b51b8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:38:27] local.INFO: Processing buffer {"connection_id":148854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe4b51b8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:38:27] local.INFO: Packet analysis {"connection_id":148854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe4b"} 
[2026-08-01 22:38:27] local.INFO: Extracted packet for processing {"connection_id":148854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe4b"} 
[2026-08-01 22:38:27] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114555904001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:38:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:38:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785604035000,"timestamp_ms":1785604035000,"timestamp_seconds":1785604035,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe4b51b8"} 
[2026-08-01 22:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:38:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 22:38:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:38:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":148854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":148854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":148854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114555904001,"66":25875,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114555904001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:38:27] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:38:27] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:38:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114555904001,"power":25875,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":148854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:38:27] local.INFO: GPS data processed {"connection_id":148854,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:38:27] local.INFO: Acknowledgment sent {"connection_id":148854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:38:36] local.INFO: TCP Data received {"connection_id":147541,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe487740012d196580071fefa00044015129..."} 
[2026-08-01 22:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe487740012d196580071fefa00044015129..."} 
[2026-08-01 22:38:36] local.INFO: Processing buffer {"connection_id":147541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe487740012d196580071fefa00044015129..."} 
[2026-08-01 22:38:36] local.INFO: Packet analysis {"connection_id":147541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe48"} 
[2026-08-01 22:38:36] local.INFO: Extracted packet for processing {"connection_id":147541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe48"} 
[2026-08-01 22:38:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114508032001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785603848000,"timestamp_ms":1785603848000,"timestamp_seconds":1785603848,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe487740"} 
[2026-08-01 22:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:38:36] 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-08-01 22:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 22:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:38:36] 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-08-01 22:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114508032001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114508032001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:38:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:38:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114508032001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":147541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579565,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:38:36] local.INFO: GPS data processed {"connection_id":147541,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:38:36] local.INFO: Acknowledgment sent {"connection_id":147541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:38:44] local.INFO: TCP Data received {"connection_id":146307,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:38:44] local.INFO: Processing buffer {"connection_id":146307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:38:44] local.INFO: IMEI packet received {"connection_id":146307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 22:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":146307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:38:48] local.INFO: TCP Data received {"connection_id":146307,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:38:48] local.INFO: Processing buffer {"connection_id":146307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:38:48] local.INFO: IMEI packet received {"connection_id":146307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":146307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:38:49] local.INFO: TCP Data received {"connection_id":146307,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe4b51b8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe4b51b8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:38:49] local.INFO: Processing buffer {"connection_id":146307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe4b51b8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:38:49] local.INFO: Packet analysis {"connection_id":146307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe4b"} 
[2026-08-01 22:38:49] local.INFO: Extracted packet for processing {"connection_id":146307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe4b"} 
[2026-08-01 22:38:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114555904001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:38:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:38:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785604035000,"timestamp_ms":1785604035000,"timestamp_seconds":1785604035,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe4b51b8"} 
[2026-08-01 22:38:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:38:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 22:38:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:38:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:38:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:38:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114555904001,"66":25875,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114555904001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:38:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:38:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:38:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:38:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114555904001,"power":25875,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:38:49] local.INFO: DEBUG: GPS processor result {"connection_id":146307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:38:49] local.INFO: GPS data processed {"connection_id":146307,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:38:49] local.INFO: Acknowledgment sent {"connection_id":146307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:38:59] local.INFO: TCP Data received {"connection_id":148855,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:38:59] local.INFO: Processing buffer {"connection_id":148855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:38:59] local.INFO: IMEI packet received {"connection_id":148855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":148855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:39:04] local.INFO: TCP Data received {"connection_id":148855,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:39:04] local.INFO: Processing buffer {"connection_id":148855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:39:04] local.INFO: IMEI packet received {"connection_id":148855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":148855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:39:05] local.INFO: TCP Data received {"connection_id":148855,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe487740012d196580071fefa00044015129..."} 
[2026-08-01 22:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe487740012d196580071fefa00044015129..."} 
[2026-08-01 22:39:05] local.INFO: Processing buffer {"connection_id":148855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe487740012d196580071fefa00044015129..."} 
[2026-08-01 22:39:05] local.INFO: Packet analysis {"connection_id":148855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe48"} 
[2026-08-01 22:39:05] local.INFO: Extracted packet for processing {"connection_id":148855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe48"} 
[2026-08-01 22:39:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114508032001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785603848000,"timestamp_ms":1785603848000,"timestamp_seconds":1785603848,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe487740"} 
[2026-08-01 22:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:39:05] 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-08-01 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 22:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:39:05] 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-08-01 22:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114508032001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114508032001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:39:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:39:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114508032001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":148855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579567,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:39:05] local.INFO: GPS data processed {"connection_id":148855,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:39:05] local.INFO: Acknowledgment sent {"connection_id":148855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:39:21] local.INFO: TCP Data received {"connection_id":146307,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe4b51b8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe4b51b8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:39:21] local.INFO: Processing buffer {"connection_id":146307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe4b51b8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:39:21] local.INFO: Packet analysis {"connection_id":146307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe4b"} 
[2026-08-01 22:39:21] local.INFO: Extracted packet for processing {"connection_id":146307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe4b"} 
[2026-08-01 22:39:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114555904001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:39:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785604035000,"timestamp_ms":1785604035000,"timestamp_seconds":1785604035,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe4b51b8"} 
[2026-08-01 22:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 22:39:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:39:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:39:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114555904001,"66":25875,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114555904001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:39:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:39:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:39:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114555904001,"power":25875,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":146307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:39:21] local.INFO: GPS data processed {"connection_id":146307,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:39:21] local.INFO: Acknowledgment sent {"connection_id":146307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:39:36] local.INFO: TCP Data received {"connection_id":148855,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe487740012d196580071fefa00044015129..."} 
[2026-08-01 22:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe487740012d196580071fefa00044015129..."} 
[2026-08-01 22:39:36] local.INFO: Processing buffer {"connection_id":148855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe487740012d196580071fefa00044015129..."} 
[2026-08-01 22:39:36] local.INFO: Packet analysis {"connection_id":148855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe48"} 
[2026-08-01 22:39:36] local.INFO: Extracted packet for processing {"connection_id":148855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe48"} 
[2026-08-01 22:39:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114508032001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785603848000,"timestamp_ms":1785603848000,"timestamp_seconds":1785603848,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe487740"} 
[2026-08-01 22:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:39:36] 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-08-01 22:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 22:39:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:39:36] 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-08-01 22:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114508032001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114508032001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:39:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:39:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114508032001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":148855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:39:36] local.INFO: GPS data processed {"connection_id":148855,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:39:36] local.INFO: Acknowledgment sent {"connection_id":148855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:39:43] local.INFO: TCP Data received {"connection_id":146542,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:39:43] local.INFO: Processing buffer {"connection_id":146542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:39:43] local.INFO: IMEI packet received {"connection_id":146542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 22:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":146542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:39:48] local.INFO: TCP Data received {"connection_id":146542,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:39:48] local.INFO: Processing buffer {"connection_id":146542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:39:48] local.INFO: IMEI packet received {"connection_id":146542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":146542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:39:49] local.INFO: TCP Data received {"connection_id":146542,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe4b51b8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe4b51b8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:39:49] local.INFO: Processing buffer {"connection_id":146542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe4b51b8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:39:49] local.INFO: Packet analysis {"connection_id":146542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe4b"} 
[2026-08-01 22:39:49] local.INFO: Extracted packet for processing {"connection_id":146542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe4b"} 
[2026-08-01 22:39:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114555904001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:39:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:39:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785604035000,"timestamp_ms":1785604035000,"timestamp_seconds":1785604035,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe4b51b8"} 
[2026-08-01 22:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:39:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 22:39:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:39:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:39:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114555904001,"66":25875,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114555904001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:39:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:39:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:39:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114555904001,"power":25875,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":146542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:39:49] local.INFO: GPS data processed {"connection_id":146542,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:39:49] local.INFO: Acknowledgment sent {"connection_id":146542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:39:59] local.INFO: TCP Data received {"connection_id":146308,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:39:59] local.INFO: Processing buffer {"connection_id":146308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:39:59] local.INFO: IMEI packet received {"connection_id":146308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":146308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:40:04] local.INFO: TCP Data received {"connection_id":146308,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:40:04] local.INFO: Processing buffer {"connection_id":146308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:40:04] local.INFO: IMEI packet received {"connection_id":146308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":146308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:40:05] local.INFO: TCP Data received {"connection_id":146308,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe4d0f08012d196580071fefa00044015128..."} 
[2026-08-01 22:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe4d0f08012d196580071fefa00044015128..."} 
[2026-08-01 22:40:05] local.INFO: Processing buffer {"connection_id":146308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe4d0f08012d196580071fefa00044015128..."} 
[2026-08-01 22:40:05] local.INFO: Packet analysis {"connection_id":146308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe4d"} 
[2026-08-01 22:40:05] local.INFO: Extracted packet for processing {"connection_id":146308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe4d"} 
[2026-08-01 22:40:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114585088001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785604149000,"timestamp_ms":1785604149000,"timestamp_seconds":1785604149,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe4d0f08"} 
[2026-08-01 22:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:40:05] 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-08-01 22:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 22:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:40:05] 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-08-01 22:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114585088001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114585088001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:40:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:40:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114585088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":146308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579571,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:40:05] local.INFO: GPS data processed {"connection_id":146308,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:40:05] local.INFO: Acknowledgment sent {"connection_id":146308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:40:26] local.INFO: TCP Data received {"connection_id":146542,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe4b51b8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe4b51b8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:40:26] local.INFO: Processing buffer {"connection_id":146542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe4b51b8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:40:26] local.INFO: Packet analysis {"connection_id":146542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe4b"} 
[2026-08-01 22:40:26] local.INFO: Extracted packet for processing {"connection_id":146542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe4b"} 
[2026-08-01 22:40:26] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114555904001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:40:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:40:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:40:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:40:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785604035000,"timestamp_ms":1785604035000,"timestamp_seconds":1785604035,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe4b51b8"} 
[2026-08-01 22:40:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:40:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 22:40:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:40:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:40:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:40:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:40:26] local.INFO: Teltonika packet parsed successfully {"connection_id":146542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:40:26] local.INFO: Passing IMEI to GPS processor {"connection_id":146542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:40:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":146542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:40:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:40:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:40:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:40:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114555904001,"66":25875,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:40:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:40:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:40:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114555904001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:40:26] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:40:26] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:40:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:40:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:40:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114555904001,"power":25875,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:40:26] local.INFO: DEBUG: GPS processor result {"connection_id":146542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:40:26] local.INFO: GPS data processed {"connection_id":146542,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:40:26] local.INFO: Acknowledgment sent {"connection_id":146542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:40:36] local.INFO: TCP Data received {"connection_id":146308,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe4d0f08012d196580071fefa00044015128..."} 
[2026-08-01 22:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe4d0f08012d196580071fefa00044015128..."} 
[2026-08-01 22:40:36] local.INFO: Processing buffer {"connection_id":146308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe4d0f08012d196580071fefa00044015128..."} 
[2026-08-01 22:40:36] local.INFO: Packet analysis {"connection_id":146308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe4d"} 
[2026-08-01 22:40:36] local.INFO: Extracted packet for processing {"connection_id":146308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe4d"} 
[2026-08-01 22:40:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114585088001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785604149000,"timestamp_ms":1785604149000,"timestamp_seconds":1785604149,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe4d0f08"} 
[2026-08-01 22:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:40:36] 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-08-01 22:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 22:40:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:40:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:40:36] 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-08-01 22:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114585088001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114585088001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:40:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:40:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114585088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":146308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:40:36] local.INFO: GPS data processed {"connection_id":146308,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:40:36] local.INFO: Acknowledgment sent {"connection_id":146308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:40:50] local.INFO: TCP Data received {"connection_id":148856,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:40:50] local.INFO: Processing buffer {"connection_id":148856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:40:50] local.INFO: IMEI packet received {"connection_id":148856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 22:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":148856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:40:51] local.INFO: TCP Data received {"connection_id":148856,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:40:51] local.INFO: Processing buffer {"connection_id":148856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:40:51] local.INFO: IMEI packet received {"connection_id":148856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":148856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:40:52] local.INFO: TCP Data received {"connection_id":148856,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe4b51b8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe4b51b8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:40:52] local.INFO: Processing buffer {"connection_id":148856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe4b51b8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:40:52] local.INFO: Packet analysis {"connection_id":148856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe4b"} 
[2026-08-01 22:40:52] local.INFO: Extracted packet for processing {"connection_id":148856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe4b"} 
[2026-08-01 22:40:52] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114555904001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:40:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:40:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785604035000,"timestamp_ms":1785604035000,"timestamp_seconds":1785604035,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe4b51b8"} 
[2026-08-01 22:40:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:40:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 22:40:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:40:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:40:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":148856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":148856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":148856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:40:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114555904001,"66":25875,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114555904001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:40:52] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:40:52] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:40:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114555904001,"power":25875,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":148856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:40:52] local.INFO: GPS data processed {"connection_id":148856,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:40:52] local.INFO: Acknowledgment sent {"connection_id":148856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:40:53] local.INFO: TCP Data received {"connection_id":148856,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe4b51b8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe4b51b8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:40:53] local.INFO: Processing buffer {"connection_id":148856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe4b51b8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:40:53] local.INFO: Packet analysis {"connection_id":148856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe4b"} 
[2026-08-01 22:40:53] local.INFO: Extracted packet for processing {"connection_id":148856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe4b"} 
[2026-08-01 22:40:53] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:40:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114555904001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:40:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:40:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:40:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:40:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785604035000,"timestamp_ms":1785604035000,"timestamp_seconds":1785604035,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe4b51b8"} 
[2026-08-01 22:40:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:40:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 22:40:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:40:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:40:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:40:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:40:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:40:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:40:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:40:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:40:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:40:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:40:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114555904001,"66":25875,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:40:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:40:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:40:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114555904001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:40:53] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:40:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:40:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:40:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:40:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114555904001,"power":25875,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:40:53] local.INFO: DEBUG: GPS processor result {"connection_id":148856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:40:53] local.INFO: GPS data processed {"connection_id":148856,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:40:53] local.INFO: Acknowledgment sent {"connection_id":148856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:41:04] local.INFO: TCP Data received {"connection_id":146309,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:41:04] local.INFO: Processing buffer {"connection_id":146309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:41:04] local.INFO: IMEI packet received {"connection_id":146309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":146309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:41:09] local.INFO: TCP Data received {"connection_id":146309,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:41:09] local.INFO: Processing buffer {"connection_id":146309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:41:09] local.INFO: IMEI packet received {"connection_id":146309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":146309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:41:10] local.INFO: TCP Data received {"connection_id":146309,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe4d0f08012d196580071fefa00044015128..."} 
[2026-08-01 22:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe4d0f08012d196580071fefa00044015128..."} 
[2026-08-01 22:41:10] local.INFO: Processing buffer {"connection_id":146309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe4d0f08012d196580071fefa00044015128..."} 
[2026-08-01 22:41:10] local.INFO: Packet analysis {"connection_id":146309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe4d"} 
[2026-08-01 22:41:10] local.INFO: Extracted packet for processing {"connection_id":146309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe4d"} 
[2026-08-01 22:41:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114585088001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22: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-08-01 22:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785604149000,"timestamp_ms":1785604149000,"timestamp_seconds":1785604149,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe4d0f08"} 
[2026-08-01 22:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:41: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-08-01 22: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":96,"data_length":795,"current_offset":136} 
[2026-08-01 22:41: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-08-01 22: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-08-01 22:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:41: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-08-01 22:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114585088001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114585088001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:41:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:41:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114585088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":146309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:41:10] local.INFO: GPS data processed {"connection_id":146309,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:41:10] local.INFO: Acknowledgment sent {"connection_id":146309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:41:14] local.INFO: TCP Data received {"connection_id":146309,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe4d0f08012d196580071fefa00044015128..."} 
[2026-08-01 22:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe4d0f08012d196580071fefa00044015128..."} 
[2026-08-01 22:41:14] local.INFO: Processing buffer {"connection_id":146309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe4d0f08012d196580071fefa00044015128..."} 
[2026-08-01 22:41:14] local.INFO: Packet analysis {"connection_id":146309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe4d"} 
[2026-08-01 22:41:14] local.INFO: Extracted packet for processing {"connection_id":146309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe4d"} 
[2026-08-01 22:41:14] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114585088001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:41:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:41: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-08-01 22:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785604149000,"timestamp_ms":1785604149000,"timestamp_seconds":1785604149,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe4d0f08"} 
[2026-08-01 22:41:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:41:14] 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-08-01 22:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 22:41:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:41:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:41:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":146309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":146309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":146309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:41:14] 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-08-01 22:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114585088001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114585088001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:41:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:41:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:41:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114585088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":146309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579577,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:41:15] local.INFO: GPS data processed {"connection_id":146309,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:41:15] local.INFO: Acknowledgment sent {"connection_id":146309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:41:25] local.INFO: TCP Data received {"connection_id":148856,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe4b51b8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe4b51b8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:41:25] local.INFO: Processing buffer {"connection_id":148856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe4b51b8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:41:25] local.INFO: Packet analysis {"connection_id":148856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe4b"} 
[2026-08-01 22:41:25] local.INFO: Extracted packet for processing {"connection_id":148856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe4b"} 
[2026-08-01 22:41:25] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114555904001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:41:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:41:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785604035000,"timestamp_ms":1785604035000,"timestamp_seconds":1785604035,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe4b51b8"} 
[2026-08-01 22:41:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:41:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 22:41:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:41:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:41:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":148856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":148856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":148856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:41:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114555904001,"66":25875,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114555904001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:41:25] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:41:25] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:41:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:41:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114555904001,"power":25875,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":148856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:41:25] local.INFO: GPS data processed {"connection_id":148856,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:41:25] local.INFO: Acknowledgment sent {"connection_id":148856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:41:48] local.INFO: TCP Data received {"connection_id":148857,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:41:48] local.INFO: Processing buffer {"connection_id":148857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:41:48] local.INFO: IMEI packet received {"connection_id":148857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 22:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":148857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:41:53] local.INFO: TCP Data received {"connection_id":148857,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:41:53] local.INFO: Processing buffer {"connection_id":148857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:41:53] local.INFO: IMEI packet received {"connection_id":148857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":148857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:41:55] local.INFO: TCP Data received {"connection_id":148857,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe4b51b8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe4b51b8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:41:55] local.INFO: Processing buffer {"connection_id":148857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe4b51b8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:41:55] local.INFO: Packet analysis {"connection_id":148857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe4b"} 
[2026-08-01 22:41:55] local.INFO: Extracted packet for processing {"connection_id":148857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe4b"} 
[2026-08-01 22:41:55] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114555904001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:41:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785604035000,"timestamp_ms":1785604035000,"timestamp_seconds":1785604035,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe4b51b8"} 
[2026-08-01 22:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 22:41:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114555904001,"66":25875,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114555904001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:41:55] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:41:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:41:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114555904001,"power":25875,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":148857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:41:55] local.INFO: GPS data processed {"connection_id":148857,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:41:55] local.INFO: Acknowledgment sent {"connection_id":148857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:41:59] local.INFO: TCP Data received {"connection_id":148857,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe4b51b8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe4b51b8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:41:59] local.INFO: Processing buffer {"connection_id":148857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe4b51b8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:41:59] local.INFO: Packet analysis {"connection_id":148857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe4b"} 
[2026-08-01 22:41:59] local.INFO: Extracted packet for processing {"connection_id":148857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe4b"} 
[2026-08-01 22:41:59] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 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-08-01 22:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114555904001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:41:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:41:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785604035000,"timestamp_ms":1785604035000,"timestamp_seconds":1785604035,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe4b51b8"} 
[2026-08-01 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-08-01 22:41: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-08-01 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 22:41: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-08-01 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-08-01 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-08-01 22:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":148857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":148857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":148857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114555904001,"66":25875,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114555904001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:41:59] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:41:59] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:41:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114555904001,"power":25875,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":148857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:41:59] local.INFO: GPS data processed {"connection_id":148857,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:41:59] local.INFO: Acknowledgment sent {"connection_id":148857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:41:59] local.INFO: TCP Data received {"connection_id":148858,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:41:59] local.INFO: Processing buffer {"connection_id":148858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:41:59] local.INFO: IMEI packet received {"connection_id":148858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":148858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:42:04] local.INFO: TCP Data received {"connection_id":148858,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:42:04] local.INFO: Processing buffer {"connection_id":148858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:42:04] local.INFO: IMEI packet received {"connection_id":148858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":148858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:42:05] local.INFO: TCP Data received {"connection_id":148858,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe4d0f08012d196580071fefa00044015128..."} 
[2026-08-01 22:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe4d0f08012d196580071fefa00044015128..."} 
[2026-08-01 22:42:05] local.INFO: Processing buffer {"connection_id":148858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe4d0f08012d196580071fefa00044015128..."} 
[2026-08-01 22:42:05] local.INFO: Packet analysis {"connection_id":148858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe4d"} 
[2026-08-01 22:42:05] local.INFO: Extracted packet for processing {"connection_id":148858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe4d"} 
[2026-08-01 22:42:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114585088001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785604149000,"timestamp_ms":1785604149000,"timestamp_seconds":1785604149,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe4d0f08"} 
[2026-08-01 22:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:42:05] 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-08-01 22:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 22:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:42:05] 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-08-01 22:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114585088001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114585088001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:42:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:42:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114585088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":148858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:42:05] local.INFO: GPS data processed {"connection_id":148858,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:42:05] local.INFO: Acknowledgment sent {"connection_id":148858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:42:36] local.INFO: TCP Data received {"connection_id":148858,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe4d0f08012d196580071fefa00044015128..."} 
[2026-08-01 22:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe4d0f08012d196580071fefa00044015128..."} 
[2026-08-01 22:42:36] local.INFO: Processing buffer {"connection_id":148858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe4d0f08012d196580071fefa00044015128..."} 
[2026-08-01 22:42:36] local.INFO: Packet analysis {"connection_id":148858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe4d"} 
[2026-08-01 22:42:36] local.INFO: Extracted packet for processing {"connection_id":148858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe4d"} 
[2026-08-01 22:42:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114585088001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785604149000,"timestamp_ms":1785604149000,"timestamp_seconds":1785604149,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe4d0f08"} 
[2026-08-01 22:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:42:36] 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-08-01 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 22:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:42:36] 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-08-01 22:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114585088001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114585088001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:42:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:42:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114585088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":148858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:42:36] local.INFO: GPS data processed {"connection_id":148858,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:42:36] local.INFO: Acknowledgment sent {"connection_id":148858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:42:43] local.INFO: TCP Data received {"connection_id":146543,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:42:43] local.INFO: Processing buffer {"connection_id":146543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:42:43] local.INFO: IMEI packet received {"connection_id":146543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 22:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":146543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:42:48] local.INFO: TCP Data received {"connection_id":146543,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:42:48] local.INFO: Processing buffer {"connection_id":146543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:42:48] local.INFO: IMEI packet received {"connection_id":146543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":146543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:42:49] local.INFO: TCP Data received {"connection_id":146543,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe4b51b8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe4b51b8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:42:49] local.INFO: Processing buffer {"connection_id":146543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe4b51b8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:42:49] local.INFO: Packet analysis {"connection_id":146543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe4b"} 
[2026-08-01 22:42:49] local.INFO: Extracted packet for processing {"connection_id":146543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe4b"} 
[2026-08-01 22:42:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114555904001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:42:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:42:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785604035000,"timestamp_ms":1785604035000,"timestamp_seconds":1785604035,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe4b51b8"} 
[2026-08-01 22:42:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:42:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 22:42:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:42:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:42:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114555904001,"66":25875,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114555904001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:42:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:42:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:42:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114555904001,"power":25875,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":146543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:42:49] local.INFO: GPS data processed {"connection_id":146543,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:42:49] local.INFO: Acknowledgment sent {"connection_id":146543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:42:59] local.INFO: TCP Data received {"connection_id":147542,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:42:59] local.INFO: Processing buffer {"connection_id":147542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:42:59] local.INFO: IMEI packet received {"connection_id":147542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":147542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:43:04] local.INFO: TCP Data received {"connection_id":147542,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:43:04] local.INFO: Processing buffer {"connection_id":147542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:43:04] local.INFO: IMEI packet received {"connection_id":147542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":147542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:43:05] local.INFO: TCP Data received {"connection_id":147542,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe4d0f08012d196580071fefa00044015128..."} 
[2026-08-01 22:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe4d0f08012d196580071fefa00044015128..."} 
[2026-08-01 22:43:05] local.INFO: Processing buffer {"connection_id":147542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe4d0f08012d196580071fefa00044015128..."} 
[2026-08-01 22:43:05] local.INFO: Packet analysis {"connection_id":147542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe4d"} 
[2026-08-01 22:43:05] local.INFO: Extracted packet for processing {"connection_id":147542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe4d"} 
[2026-08-01 22:43:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114585088001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785604149000,"timestamp_ms":1785604149000,"timestamp_seconds":1785604149,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe4d0f08"} 
[2026-08-01 22:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:43:05] 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-08-01 22:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 22:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:43:05] 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-08-01 22:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114585088001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114585088001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:43:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:43:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114585088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":147542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:43:05] local.INFO: GPS data processed {"connection_id":147542,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:43:05] local.INFO: Acknowledgment sent {"connection_id":147542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:43:21] local.INFO: TCP Data received {"connection_id":146543,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe4fe980012cc330c007685b20005a00cd29..."} 
[2026-08-01 22:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe4fe980012cc330c007685b20005a00cd29..."} 
[2026-08-01 22:43:21] local.INFO: Processing buffer {"connection_id":146543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe4fe980012cc330c007685b20005a00cd29..."} 
[2026-08-01 22:43:21] local.INFO: Packet analysis {"connection_id":146543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe4f"} 
[2026-08-01 22:43:21] local.INFO: Extracted packet for processing {"connection_id":146543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe4f"} 
[2026-08-01 22:43:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114632960001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:43:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:43:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785604336000,"timestamp_ms":1785604336000,"timestamp_seconds":1785604336,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe4fe980"} 
[2026-08-01 22:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:43:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-01 22:43:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:43:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114632960001,"66":25843,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114632960001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:43:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:43:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:43:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114632960001,"power":25843,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":146543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:43:21] local.INFO: GPS data processed {"connection_id":146543,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:43:21] local.INFO: Acknowledgment sent {"connection_id":146543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:43:36] local.INFO: TCP Data received {"connection_id":147542,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe4d0f08012d196580071fefa00044015128..."} 
[2026-08-01 22:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe4d0f08012d196580071fefa00044015128..."} 
[2026-08-01 22:43:36] local.INFO: Processing buffer {"connection_id":147542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe4d0f08012d196580071fefa00044015128..."} 
[2026-08-01 22:43:36] local.INFO: Packet analysis {"connection_id":147542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe4d"} 
[2026-08-01 22:43:36] local.INFO: Extracted packet for processing {"connection_id":147542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe4d"} 
[2026-08-01 22:43:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114585088001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785604149000,"timestamp_ms":1785604149000,"timestamp_seconds":1785604149,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe4d0f08"} 
[2026-08-01 22:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:43:36] 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-08-01 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 22:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:43:36] 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-08-01 22:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114585088001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114585088001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:43:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:43:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114585088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":147542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:43:36] local.INFO: GPS data processed {"connection_id":147542,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:43:36] local.INFO: Acknowledgment sent {"connection_id":147542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:43:43] local.INFO: TCP Data received {"connection_id":148859,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:43:43] local.INFO: Processing buffer {"connection_id":148859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:43:43] local.INFO: IMEI packet received {"connection_id":148859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 22:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":148859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:43:48] local.INFO: TCP Data received {"connection_id":148859,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:43:48] local.INFO: Processing buffer {"connection_id":148859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:43:48] local.INFO: IMEI packet received {"connection_id":148859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":148859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:43:50] local.INFO: TCP Data received {"connection_id":148859,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe4fe980012cc330c007685b20005a00cd29..."} 
[2026-08-01 22:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe4fe980012cc330c007685b20005a00cd29..."} 
[2026-08-01 22:43:50] local.INFO: Processing buffer {"connection_id":148859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe4fe980012cc330c007685b20005a00cd29..."} 
[2026-08-01 22:43:50] local.INFO: Packet analysis {"connection_id":148859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe4f"} 
[2026-08-01 22:43:50] local.INFO: Extracted packet for processing {"connection_id":148859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe4f"} 
[2026-08-01 22:43:50] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114632960001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:43:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:43:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785604336000,"timestamp_ms":1785604336000,"timestamp_seconds":1785604336,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe4fe980"} 
[2026-08-01 22:43:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:43:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-01 22:43:50] 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-08-01 22:43:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:43:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:43:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114632960001,"66":25843,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114632960001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:43:50] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:43:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:43:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114632960001,"power":25843,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":148859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:43:50] local.INFO: GPS data processed {"connection_id":148859,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:43:50] local.INFO: Acknowledgment sent {"connection_id":148859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:44:00] local.INFO: TCP Data received {"connection_id":146544,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:44:00] local.INFO: Processing buffer {"connection_id":146544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:44:00] local.INFO: IMEI packet received {"connection_id":146544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":146544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:44:04] local.INFO: TCP Data received {"connection_id":146544,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:44:04] local.INFO: Processing buffer {"connection_id":146544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:44:04] local.INFO: IMEI packet received {"connection_id":146544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":146544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:44:05] local.INFO: TCP Data received {"connection_id":146544,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe4d0f08012d196580071fefa00044015128..."} 
[2026-08-01 22:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe4d0f08012d196580071fefa00044015128..."} 
[2026-08-01 22:44:05] local.INFO: Processing buffer {"connection_id":146544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe4d0f08012d196580071fefa00044015128..."} 
[2026-08-01 22:44:05] local.INFO: Packet analysis {"connection_id":146544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe4d"} 
[2026-08-01 22:44:05] local.INFO: Extracted packet for processing {"connection_id":146544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe4d"} 
[2026-08-01 22:44:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114585088001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785604149000,"timestamp_ms":1785604149000,"timestamp_seconds":1785604149,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe4d0f08"} 
[2026-08-01 22:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:44:05] 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-08-01 22:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 22:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:44:05] 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-08-01 22:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114585088001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114585088001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:44:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:44:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114585088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":146544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:44:05] local.INFO: GPS data processed {"connection_id":146544,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:44:05] local.INFO: Acknowledgment sent {"connection_id":146544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:44:21] local.INFO: TCP Data received {"connection_id":148859,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe4fe980012cc330c007685b20005a00cd29..."} 
[2026-08-01 22:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe4fe980012cc330c007685b20005a00cd29..."} 
[2026-08-01 22:44:21] local.INFO: Processing buffer {"connection_id":148859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe4fe980012cc330c007685b20005a00cd29..."} 
[2026-08-01 22:44:21] local.INFO: Packet analysis {"connection_id":148859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe4f"} 
[2026-08-01 22:44:21] local.INFO: Extracted packet for processing {"connection_id":148859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe4f"} 
[2026-08-01 22:44:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114632960001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:44:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785604336000,"timestamp_ms":1785604336000,"timestamp_seconds":1785604336,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe4fe980"} 
[2026-08-01 22:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:44:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-01 22:44:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:44:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114632960001,"66":25843,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114632960001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:44:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:44:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:44:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114632960001,"power":25843,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":148859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:44:21] local.INFO: GPS data processed {"connection_id":148859,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:44:21] local.INFO: Acknowledgment sent {"connection_id":148859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:44:36] local.INFO: TCP Data received {"connection_id":146544,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe4d0f08012d196580071fefa00044015128..."} 
[2026-08-01 22:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe4d0f08012d196580071fefa00044015128..."} 
[2026-08-01 22:44:36] local.INFO: Processing buffer {"connection_id":146544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe4d0f08012d196580071fefa00044015128..."} 
[2026-08-01 22:44:36] local.INFO: Packet analysis {"connection_id":146544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe4d"} 
[2026-08-01 22:44:36] local.INFO: Extracted packet for processing {"connection_id":146544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe4d"} 
[2026-08-01 22:44:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114585088001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785604149000,"timestamp_ms":1785604149000,"timestamp_seconds":1785604149,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe4d0f08"} 
[2026-08-01 22:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:44:36] 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-08-01 22:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 22:44:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:44:36] 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-08-01 22:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114585088001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114585088001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:44:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:44:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114585088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":146544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:44:36] local.INFO: GPS data processed {"connection_id":146544,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:44:36] local.INFO: Acknowledgment sent {"connection_id":146544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:44:43] local.INFO: TCP Data received {"connection_id":146310,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:44:43] local.INFO: Processing buffer {"connection_id":146310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:44:43] local.INFO: IMEI packet received {"connection_id":146310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 22:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":146310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:44:48] local.INFO: TCP Data received {"connection_id":146310,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:44:48] local.INFO: Processing buffer {"connection_id":146310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:44:48] local.INFO: IMEI packet received {"connection_id":146310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":146310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:44:49] local.INFO: TCP Data received {"connection_id":146310,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe4fe980012cc330c007685b20005a00cd29..."} 
[2026-08-01 22:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe4fe980012cc330c007685b20005a00cd29..."} 
[2026-08-01 22:44:49] local.INFO: Processing buffer {"connection_id":146310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe4fe980012cc330c007685b20005a00cd29..."} 
[2026-08-01 22:44:49] local.INFO: Packet analysis {"connection_id":146310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe4f"} 
[2026-08-01 22:44:49] local.INFO: Extracted packet for processing {"connection_id":146310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe4f"} 
[2026-08-01 22:44:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114632960001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:44:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:44:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785604336000,"timestamp_ms":1785604336000,"timestamp_seconds":1785604336,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe4fe980"} 
[2026-08-01 22:44:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:44:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-01 22:44:49] 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-08-01 22: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-08-01 22:44:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:44:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114632960001,"66":25843,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114632960001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:44:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:44:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:44:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:44:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114632960001,"power":25843,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":146310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:44:49] local.INFO: GPS data processed {"connection_id":146310,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:44:49] local.INFO: Acknowledgment sent {"connection_id":146310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:44:59] local.INFO: TCP Data received {"connection_id":146545,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:44:59] local.INFO: Processing buffer {"connection_id":146545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:44:59] local.INFO: IMEI packet received {"connection_id":146545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":146545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:45:04] local.INFO: TCP Data received {"connection_id":146545,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:45:04] local.INFO: Processing buffer {"connection_id":146545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:45:04] local.INFO: IMEI packet received {"connection_id":146545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":146545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:45:05] local.INFO: TCP Data received {"connection_id":146545,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe51a6d0012d196580071fefa00044015129..."} 
[2026-08-01 22:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe51a6d0012d196580071fefa00044015129..."} 
[2026-08-01 22:45:05] local.INFO: Processing buffer {"connection_id":146545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe51a6d0012d196580071fefa00044015129..."} 
[2026-08-01 22:45:05] local.INFO: Packet analysis {"connection_id":146545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe51"} 
[2026-08-01 22:45:05] local.INFO: Extracted packet for processing {"connection_id":146545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe51"} 
[2026-08-01 22:45:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114662144001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785604450000,"timestamp_ms":1785604450000,"timestamp_seconds":1785604450,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe51a6d0"} 
[2026-08-01 22:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:45:05] 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-08-01 22:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114662144001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114662144001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:45:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:45:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114662144001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":146545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579592,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:45:05] local.INFO: GPS data processed {"connection_id":146545,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:45:05] local.INFO: Acknowledgment sent {"connection_id":146545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:45:21] local.INFO: TCP Data received {"connection_id":146310,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe4fe980012cc330c007685b20005a00cd29..."} 
[2026-08-01 22:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe4fe980012cc330c007685b20005a00cd29..."} 
[2026-08-01 22:45:21] local.INFO: Processing buffer {"connection_id":146310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe4fe980012cc330c007685b20005a00cd29..."} 
[2026-08-01 22:45:21] local.INFO: Packet analysis {"connection_id":146310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe4f"} 
[2026-08-01 22:45:21] local.INFO: Extracted packet for processing {"connection_id":146310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe4f"} 
[2026-08-01 22:45:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114632960001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:45:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:45:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785604336000,"timestamp_ms":1785604336000,"timestamp_seconds":1785604336,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe4fe980"} 
[2026-08-01 22:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:45:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-01 22:45:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:45:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114632960001,"66":25843,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114632960001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:45:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:45:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:45:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114632960001,"power":25843,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":146310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:45:21] local.INFO: GPS data processed {"connection_id":146310,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:45:21] local.INFO: Acknowledgment sent {"connection_id":146310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:45:36] local.INFO: TCP Data received {"connection_id":146545,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe51a6d0012d196580071fefa00044015129..."} 
[2026-08-01 22:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe51a6d0012d196580071fefa00044015129..."} 
[2026-08-01 22:45:36] local.INFO: Processing buffer {"connection_id":146545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe51a6d0012d196580071fefa00044015129..."} 
[2026-08-01 22:45:36] local.INFO: Packet analysis {"connection_id":146545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe51"} 
[2026-08-01 22:45:36] local.INFO: Extracted packet for processing {"connection_id":146545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe51"} 
[2026-08-01 22:45:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114662144001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785604450000,"timestamp_ms":1785604450000,"timestamp_seconds":1785604450,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe51a6d0"} 
[2026-08-01 22:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:45:36] 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-08-01 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:45:36] 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-08-01 22:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114662144001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114662144001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:45:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:45:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114662144001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":146545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:45:36] local.INFO: GPS data processed {"connection_id":146545,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:45:36] local.INFO: Acknowledgment sent {"connection_id":146545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:45:48] local.INFO: TCP Data received {"connection_id":148860,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:45:48] local.INFO: Processing buffer {"connection_id":148860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:45:48] local.INFO: IMEI packet received {"connection_id":148860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 22:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":148860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:45:53] local.INFO: TCP Data received {"connection_id":148860,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:45:53] local.INFO: Processing buffer {"connection_id":148860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:45:53] local.INFO: IMEI packet received {"connection_id":148860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":148860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:45:54] local.INFO: TCP Data received {"connection_id":148860,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe4fe980012cc330c007685b20005a00cd29..."} 
[2026-08-01 22:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe4fe980012cc330c007685b20005a00cd29..."} 
[2026-08-01 22:45:54] local.INFO: Processing buffer {"connection_id":148860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe4fe980012cc330c007685b20005a00cd29..."} 
[2026-08-01 22:45:54] local.INFO: Packet analysis {"connection_id":148860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe4f"} 
[2026-08-01 22:45:54] local.INFO: Extracted packet for processing {"connection_id":148860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe4f"} 
[2026-08-01 22:45:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114632960001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:45:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:45:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785604336000,"timestamp_ms":1785604336000,"timestamp_seconds":1785604336,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe4fe980"} 
[2026-08-01 22:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:45:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-01 22:45:54] 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-08-01 22:45:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:45:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114632960001,"66":25843,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114632960001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:45:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:45:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:45:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114632960001,"power":25843,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":148860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:45:54] local.INFO: GPS data processed {"connection_id":148860,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:45:54] local.INFO: Acknowledgment sent {"connection_id":148860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:45:59] local.INFO: TCP Data received {"connection_id":148860,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe4fe980012cc330c007685b20005a00cd29..."} 
[2026-08-01 22:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe4fe980012cc330c007685b20005a00cd29..."} 
[2026-08-01 22:45:59] local.INFO: Processing buffer {"connection_id":148860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe4fe980012cc330c007685b20005a00cd29..."} 
[2026-08-01 22:45:59] local.INFO: Packet analysis {"connection_id":148860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe4f"} 
[2026-08-01 22:45:59] local.INFO: Extracted packet for processing {"connection_id":148860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe4f"} 
[2026-08-01 22:45:59] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114632960001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:45:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:45:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785604336000,"timestamp_ms":1785604336000,"timestamp_seconds":1785604336,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe4fe980"} 
[2026-08-01 22:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:45: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-08-01 22: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-01 22:45:59] 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-08-01 22: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-08-01 22:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":148860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":148860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":148860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114632960001,"66":25843,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114632960001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:45:59] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:45:59] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:45:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114632960001,"power":25843,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":148860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:45:59] local.INFO: GPS data processed {"connection_id":148860,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:45:59] local.INFO: Acknowledgment sent {"connection_id":148860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:45:59] local.INFO: TCP Data received {"connection_id":147543,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:45:59] local.INFO: Processing buffer {"connection_id":147543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:45:59] local.INFO: IMEI packet received {"connection_id":147543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":147543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:46:04] local.INFO: TCP Data received {"connection_id":147543,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:46:04] local.INFO: Processing buffer {"connection_id":147543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:46:04] local.INFO: IMEI packet received {"connection_id":147543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":147543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:46:05] local.INFO: TCP Data received {"connection_id":147543,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe51a6d0012d196580071fefa00044015129..."} 
[2026-08-01 22:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe51a6d0012d196580071fefa00044015129..."} 
[2026-08-01 22:46:05] local.INFO: Processing buffer {"connection_id":147543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe51a6d0012d196580071fefa00044015129..."} 
[2026-08-01 22:46:05] local.INFO: Packet analysis {"connection_id":147543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe51"} 
[2026-08-01 22:46:05] local.INFO: Extracted packet for processing {"connection_id":147543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe51"} 
[2026-08-01 22:46:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114662144001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785604450000,"timestamp_ms":1785604450000,"timestamp_seconds":1785604450,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe51a6d0"} 
[2026-08-01 22:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:46:05] 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-08-01 22:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114662144001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114662144001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:46:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:46:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114662144001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":147543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579597,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:46:05] local.INFO: GPS data processed {"connection_id":147543,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:46:05] local.INFO: Acknowledgment sent {"connection_id":147543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:46:36] local.INFO: TCP Data received {"connection_id":147543,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe51a6d0012d196580071fefa00044015129..."} 
[2026-08-01 22:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe51a6d0012d196580071fefa00044015129..."} 
[2026-08-01 22:46:36] local.INFO: Processing buffer {"connection_id":147543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe51a6d0012d196580071fefa00044015129..."} 
[2026-08-01 22:46:36] local.INFO: Packet analysis {"connection_id":147543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe51"} 
[2026-08-01 22:46:36] local.INFO: Extracted packet for processing {"connection_id":147543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe51"} 
[2026-08-01 22:46:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114662144001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785604450000,"timestamp_ms":1785604450000,"timestamp_seconds":1785604450,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe51a6d0"} 
[2026-08-01 22:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:46:36] 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-08-01 22:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:46:36] 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-08-01 22:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114662144001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114662144001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:46:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:46:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114662144001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":147543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:46:36] local.INFO: GPS data processed {"connection_id":147543,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:46:36] local.INFO: Acknowledgment sent {"connection_id":147543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:46:43] local.INFO: TCP Data received {"connection_id":147544,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:46:43] local.INFO: Processing buffer {"connection_id":147544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:46:43] local.INFO: IMEI packet received {"connection_id":147544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 22:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":147544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:46:48] local.INFO: TCP Data received {"connection_id":147544,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:46:48] local.INFO: Processing buffer {"connection_id":147544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:46:48] local.INFO: IMEI packet received {"connection_id":147544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":147544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:46:49] local.INFO: TCP Data received {"connection_id":147544,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe4fe980012cc330c007685b20005a00cd29..."} 
[2026-08-01 22:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe4fe980012cc330c007685b20005a00cd29..."} 
[2026-08-01 22:46:49] local.INFO: Processing buffer {"connection_id":147544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe4fe980012cc330c007685b20005a00cd29..."} 
[2026-08-01 22:46:49] local.INFO: Packet analysis {"connection_id":147544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe4f"} 
[2026-08-01 22:46:49] local.INFO: Extracted packet for processing {"connection_id":147544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe4f"} 
[2026-08-01 22:46:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:46:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114632960001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:46:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:46:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785604336000,"timestamp_ms":1785604336000,"timestamp_seconds":1785604336,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe4fe980"} 
[2026-08-01 22:46:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:46:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-01 22:46:49] 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-08-01 22: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-08-01 22:46:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:46:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114632960001,"66":25843,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114632960001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:46:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:46:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:46:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:46:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:46:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114632960001,"power":25843,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:46:49] local.INFO: DEBUG: GPS processor result {"connection_id":147544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:46:49] local.INFO: GPS data processed {"connection_id":147544,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:46:49] local.INFO: Acknowledgment sent {"connection_id":147544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:46:59] local.INFO: TCP Data received {"connection_id":147545,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:46:59] local.INFO: Processing buffer {"connection_id":147545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:46:59] local.INFO: IMEI packet received {"connection_id":147545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":147545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:47:04] local.INFO: TCP Data received {"connection_id":147545,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:47:04] local.INFO: Processing buffer {"connection_id":147545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:47:04] local.INFO: IMEI packet received {"connection_id":147545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":147545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:47:05] local.INFO: TCP Data received {"connection_id":147545,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe51a6d0012d196580071fefa00044015129..."} 
[2026-08-01 22:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe51a6d0012d196580071fefa00044015129..."} 
[2026-08-01 22:47:05] local.INFO: Processing buffer {"connection_id":147545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe51a6d0012d196580071fefa00044015129..."} 
[2026-08-01 22:47:05] local.INFO: Packet analysis {"connection_id":147545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe51"} 
[2026-08-01 22:47:05] local.INFO: Extracted packet for processing {"connection_id":147545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe51"} 
[2026-08-01 22:47:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114662144001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785604450000,"timestamp_ms":1785604450000,"timestamp_seconds":1785604450,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe51a6d0"} 
[2026-08-01 22:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:47:05] 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-08-01 22:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114662144001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114662144001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:47:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:47:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114662144001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":147545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579600,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:47:05] local.INFO: GPS data processed {"connection_id":147545,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:47:05] local.INFO: Acknowledgment sent {"connection_id":147545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:47:21] local.INFO: TCP Data received {"connection_id":147544,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe4fe980012cc330c007685b20005a00cd29..."} 
[2026-08-01 22:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe4fe980012cc330c007685b20005a00cd29..."} 
[2026-08-01 22:47:21] local.INFO: Processing buffer {"connection_id":147544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe4fe980012cc330c007685b20005a00cd29..."} 
[2026-08-01 22:47:21] local.INFO: Packet analysis {"connection_id":147544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe4f"} 
[2026-08-01 22:47:21] local.INFO: Extracted packet for processing {"connection_id":147544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe4f"} 
[2026-08-01 22:47:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114632960001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:47:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785604336000,"timestamp_ms":1785604336000,"timestamp_seconds":1785604336,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe4fe980"} 
[2026-08-01 22:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:47:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-01 22:47:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:47:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:47:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114632960001,"66":25843,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114632960001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:47:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:47:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:47:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114632960001,"power":25843,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":147544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:47:21] local.INFO: GPS data processed {"connection_id":147544,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:47:21] local.INFO: Acknowledgment sent {"connection_id":147544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:47:36] local.INFO: TCP Data received {"connection_id":147545,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe51a6d0012d196580071fefa00044015129..."} 
[2026-08-01 22:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe51a6d0012d196580071fefa00044015129..."} 
[2026-08-01 22:47:36] local.INFO: Processing buffer {"connection_id":147545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe51a6d0012d196580071fefa00044015129..."} 
[2026-08-01 22:47:36] local.INFO: Packet analysis {"connection_id":147545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe51"} 
[2026-08-01 22:47:36] local.INFO: Extracted packet for processing {"connection_id":147545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe51"} 
[2026-08-01 22:47:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114662144001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785604450000,"timestamp_ms":1785604450000,"timestamp_seconds":1785604450,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe51a6d0"} 
[2026-08-01 22:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:47:36] 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-08-01 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:47:36] 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-08-01 22:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114662144001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114662144001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:47:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:47:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114662144001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":147545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:47:37] local.INFO: GPS data processed {"connection_id":147545,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:47:37] local.INFO: Acknowledgment sent {"connection_id":147545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:47:43] local.INFO: TCP Data received {"connection_id":146546,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:47:43] local.INFO: Processing buffer {"connection_id":146546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:47:43] local.INFO: IMEI packet received {"connection_id":146546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 22:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":146546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:47:48] local.INFO: TCP Data received {"connection_id":146546,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:47:48] local.INFO: Processing buffer {"connection_id":146546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:47:48] local.INFO: IMEI packet received {"connection_id":146546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":146546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:47:49] local.INFO: TCP Data received {"connection_id":146546,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe4fe980012cc330c007685b20005a00cd29..."} 
[2026-08-01 22:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe4fe980012cc330c007685b20005a00cd29..."} 
[2026-08-01 22:47:49] local.INFO: Processing buffer {"connection_id":146546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe4fe980012cc330c007685b20005a00cd29..."} 
[2026-08-01 22:47:49] local.INFO: Packet analysis {"connection_id":146546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe4f"} 
[2026-08-01 22:47:49] local.INFO: Extracted packet for processing {"connection_id":146546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe4f"} 
[2026-08-01 22:47:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114632960001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:47:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:47:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785604336000,"timestamp_ms":1785604336000,"timestamp_seconds":1785604336,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe4fe980"} 
[2026-08-01 22:47:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:47:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-01 22:47:49] 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-08-01 22:47:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:47:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:47:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114632960001,"66":25843,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114632960001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:47:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:47:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:47:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114632960001,"power":25843,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":146546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:47:49] local.INFO: GPS data processed {"connection_id":146546,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:47:49] local.INFO: Acknowledgment sent {"connection_id":146546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:47:59] local.INFO: TCP Data received {"connection_id":146311,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146311,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:47:59] local.INFO: Processing buffer {"connection_id":146311,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:47:59] local.INFO: IMEI packet received {"connection_id":146311,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":146311,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:48:04] local.INFO: TCP Data received {"connection_id":146311,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146311,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:48:04] local.INFO: Processing buffer {"connection_id":146311,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:48:04] local.INFO: IMEI packet received {"connection_id":146311,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":146311,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:48:07] local.INFO: TCP Data received {"connection_id":146311,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe51a6d0012d196580071fefa00044015129..."} 
[2026-08-01 22:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe51a6d0012d196580071fefa00044015129..."} 
[2026-08-01 22:48:07] local.INFO: Processing buffer {"connection_id":146311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe51a6d0012d196580071fefa00044015129..."} 
[2026-08-01 22:48:07] local.INFO: Packet analysis {"connection_id":146311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe51"} 
[2026-08-01 22:48:07] local.INFO: Extracted packet for processing {"connection_id":146311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe51"} 
[2026-08-01 22:48:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114662144001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1785604450000,"timestamp_ms":1785604450000,"timestamp_seconds":1785604450,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe51a6d0"} 
[2026-08-01 22:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:48:07] 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-08-01 22:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":146311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":146311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":146311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114662144001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114662144001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:48:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:48:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114662144001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":146311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:48:07] local.INFO: GPS data processed {"connection_id":146311,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:48:07] local.INFO: Acknowledgment sent {"connection_id":146311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:48:20] local.INFO: TCP Data received {"connection_id":146546,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe548148012cc330c007685b20005a00cd23..."} 
[2026-08-01 22:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe548148012cc330c007685b20005a00cd23..."} 
[2026-08-01 22:48:20] local.INFO: Processing buffer {"connection_id":146546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe548148012cc330c007685b20005a00cd23..."} 
[2026-08-01 22:48:20] local.INFO: Packet analysis {"connection_id":146546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe54"} 
[2026-08-01 22:48:20] local.INFO: Extracted packet for processing {"connection_id":146546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe54"} 
[2026-08-01 22:48:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114710016001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:48:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785604637000,"timestamp_ms":1785604637000,"timestamp_seconds":1785604637,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe548148"} 
[2026-08-01 22:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-01 22:48:20] 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-08-01 22: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-08-01 22:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114710016001,"66":25843,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114710016001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:48:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:48:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:48:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114710016001,"power":25843,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":146546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:48:21] local.INFO: GPS data processed {"connection_id":146546,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:48:21] local.INFO: Acknowledgment sent {"connection_id":146546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:48:38] local.INFO: TCP Data received {"connection_id":146311,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe51a6d0012d196580071fefa00044015129..."} 
[2026-08-01 22:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe51a6d0012d196580071fefa00044015129..."} 
[2026-08-01 22:48:38] local.INFO: Processing buffer {"connection_id":146311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe51a6d0012d196580071fefa00044015129..."} 
[2026-08-01 22:48:38] local.INFO: Packet analysis {"connection_id":146311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe51"} 
[2026-08-01 22:48:38] local.INFO: Extracted packet for processing {"connection_id":146311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe51"} 
[2026-08-01 22:48:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114662144001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1785604450000,"timestamp_ms":1785604450000,"timestamp_seconds":1785604450,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe51a6d0"} 
[2026-08-01 22:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":146311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":146311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":146311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114662144001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114662144001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:48:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:48:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114662144001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":146311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579606,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:48:39] local.INFO: GPS data processed {"connection_id":146311,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:48:39] local.INFO: Acknowledgment sent {"connection_id":146311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:48:43] local.INFO: TCP Data received {"connection_id":146312,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:48:43] local.INFO: Processing buffer {"connection_id":146312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:48:43] local.INFO: IMEI packet received {"connection_id":146312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 22:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":146312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:48:48] local.INFO: TCP Data received {"connection_id":146312,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:48:48] local.INFO: Processing buffer {"connection_id":146312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:48:48] local.INFO: IMEI packet received {"connection_id":146312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":146312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:48:49] local.INFO: TCP Data received {"connection_id":146312,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe548148012cc330c007685b20005a00cd23..."} 
[2026-08-01 22:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe548148012cc330c007685b20005a00cd23..."} 
[2026-08-01 22:48:49] local.INFO: Processing buffer {"connection_id":146312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe548148012cc330c007685b20005a00cd23..."} 
[2026-08-01 22:48:49] local.INFO: Packet analysis {"connection_id":146312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe54"} 
[2026-08-01 22:48:49] local.INFO: Extracted packet for processing {"connection_id":146312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe54"} 
[2026-08-01 22:48:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114710016001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:48:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:48:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785604637000,"timestamp_ms":1785604637000,"timestamp_seconds":1785604637,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe548148"} 
[2026-08-01 22:48:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:48:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-01 22:48:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:48:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:48:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:48:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114710016001,"66":25843,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114710016001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:48:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:48:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:48:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114710016001,"power":25843,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":146312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:48:49] local.INFO: GPS data processed {"connection_id":146312,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:48:49] local.INFO: Acknowledgment sent {"connection_id":146312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:49:04] local.INFO: TCP Data received {"connection_id":147546,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:49:04] local.INFO: Processing buffer {"connection_id":147546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:49:04] local.INFO: IMEI packet received {"connection_id":147546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":147546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:49:09] local.INFO: TCP Data received {"connection_id":147546,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:49:09] local.INFO: Processing buffer {"connection_id":147546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:49:09] local.INFO: IMEI packet received {"connection_id":147546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":147546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:49:10] local.INFO: TCP Data received {"connection_id":147546,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe51a6d0012d196580071fefa00044015129..."} 
[2026-08-01 22:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe51a6d0012d196580071fefa00044015129..."} 
[2026-08-01 22:49:10] local.INFO: Processing buffer {"connection_id":147546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe51a6d0012d196580071fefa00044015129..."} 
[2026-08-01 22:49:10] local.INFO: Packet analysis {"connection_id":147546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe51"} 
[2026-08-01 22:49:10] local.INFO: Extracted packet for processing {"connection_id":147546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe51"} 
[2026-08-01 22:49:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 22:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114662144001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 22:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785604450000,"timestamp_ms":1785604450000,"timestamp_seconds":1785604450,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe51a6d0"} 
[2026-08-01 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-08-01 22:49: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-08-01 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":118,"data_length":795,"current_offset":136} 
[2026-08-01 22: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-08-01 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-08-01 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-08-01 22:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":147546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":147546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":147546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:49: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-08-01 22:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114662144001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114662144001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:49:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:49:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114662144001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":147546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579608,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:49:10] local.INFO: GPS data processed {"connection_id":147546,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:49:10] local.INFO: Acknowledgment sent {"connection_id":147546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:49:14] local.INFO: TCP Data received {"connection_id":147546,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe51a6d0012d196580071fefa00044015129..."} 
[2026-08-01 22:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe51a6d0012d196580071fefa00044015129..."} 
[2026-08-01 22:49:14] local.INFO: Processing buffer {"connection_id":147546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe51a6d0012d196580071fefa00044015129..."} 
[2026-08-01 22:49:14] local.INFO: Packet analysis {"connection_id":147546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe51"} 
[2026-08-01 22:49:14] local.INFO: Extracted packet for processing {"connection_id":147546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe51"} 
[2026-08-01 22:49:14] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114662144001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:49:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:49: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-08-01 22:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785604450000,"timestamp_ms":1785604450000,"timestamp_seconds":1785604450,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe51a6d0"} 
[2026-08-01 22:49:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:49:14] 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-08-01 22:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:49: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-08-01 22:49:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:49:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":147546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":147546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":147546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:49:14] 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-08-01 22:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114662144001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114662144001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:49:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:49:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:49:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114662144001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":147546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:49:14] local.INFO: GPS data processed {"connection_id":147546,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:49:14] local.INFO: Acknowledgment sent {"connection_id":147546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:49:21] local.INFO: TCP Data received {"connection_id":146312,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe548148012cc330c007685b20005a00cd23..."} 
[2026-08-01 22:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe548148012cc330c007685b20005a00cd23..."} 
[2026-08-01 22:49:21] local.INFO: Processing buffer {"connection_id":146312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe548148012cc330c007685b20005a00cd23..."} 
[2026-08-01 22:49:21] local.INFO: Packet analysis {"connection_id":146312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe54"} 
[2026-08-01 22:49:21] local.INFO: Extracted packet for processing {"connection_id":146312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe54"} 
[2026-08-01 22:49:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114710016001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:49:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:49:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785604637000,"timestamp_ms":1785604637000,"timestamp_seconds":1785604637,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe548148"} 
[2026-08-01 22:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:49:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-01 22:49:21] 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-08-01 22: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-08-01 22:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:49:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114710016001,"66":25843,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114710016001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:49:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:49:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:49:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:49:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114710016001,"power":25843,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":146312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:49:21] local.INFO: GPS data processed {"connection_id":146312,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:49:21] local.INFO: Acknowledgment sent {"connection_id":146312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:49:48] local.INFO: TCP Data received {"connection_id":146547,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:49:48] local.INFO: Processing buffer {"connection_id":146547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:49:48] local.INFO: IMEI packet received {"connection_id":146547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 22:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":146547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:49:53] local.INFO: TCP Data received {"connection_id":146547,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:49:53] local.INFO: Processing buffer {"connection_id":146547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:49:53] local.INFO: IMEI packet received {"connection_id":146547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":146547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:49:54] local.INFO: TCP Data received {"connection_id":146547,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe548148012cc330c007685b20005a00cd23..."} 
[2026-08-01 22:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe548148012cc330c007685b20005a00cd23..."} 
[2026-08-01 22:49:54] local.INFO: Processing buffer {"connection_id":146547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe548148012cc330c007685b20005a00cd23..."} 
[2026-08-01 22:49:54] local.INFO: Packet analysis {"connection_id":146547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe54"} 
[2026-08-01 22:49:54] local.INFO: Extracted packet for processing {"connection_id":146547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe54"} 
[2026-08-01 22:49:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114710016001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:49:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:49:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785604637000,"timestamp_ms":1785604637000,"timestamp_seconds":1785604637,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe548148"} 
[2026-08-01 22:49:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:49:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-01 22:49:54] 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-08-01 22:49:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:49:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:49:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114710016001,"66":25843,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114710016001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:49:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:49:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:49:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114710016001,"power":25843,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":146547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:49:54] local.INFO: GPS data processed {"connection_id":146547,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:49:54] local.INFO: Acknowledgment sent {"connection_id":146547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:49:59] local.INFO: TCP Data received {"connection_id":146547,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe548148012cc330c007685b20005a00cd23..."} 
[2026-08-01 22:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe548148012cc330c007685b20005a00cd23..."} 
[2026-08-01 22:49:59] local.INFO: Processing buffer {"connection_id":146547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe548148012cc330c007685b20005a00cd23..."} 
[2026-08-01 22:49:59] local.INFO: Packet analysis {"connection_id":146547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe54"} 
[2026-08-01 22:49:59] local.INFO: Extracted packet for processing {"connection_id":146547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe54"} 
[2026-08-01 22:49:59] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114710016001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:49:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785604637000,"timestamp_ms":1785604637000,"timestamp_seconds":1785604637,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe548148"} 
[2026-08-01 22:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:49:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-01 22:49:59] 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-08-01 22: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-08-01 22:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":146547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":146547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":146547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:49:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114710016001,"66":25843,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114710016001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:49:59] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:49:59] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:49:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114710016001,"power":25843,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":146547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:49:59] local.INFO: GPS data processed {"connection_id":146547,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:49:59] local.INFO: Acknowledgment sent {"connection_id":146547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:49:59] local.INFO: TCP Data received {"connection_id":146548,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:49:59] local.INFO: Processing buffer {"connection_id":146548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:49:59] local.INFO: IMEI packet received {"connection_id":146548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":146548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:50:04] local.INFO: TCP Data received {"connection_id":146548,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:50:04] local.INFO: Processing buffer {"connection_id":146548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:50:04] local.INFO: IMEI packet received {"connection_id":146548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":146548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:50:05] local.INFO: TCP Data received {"connection_id":146548,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe563e98012d196580071fefa00044015129..."} 
[2026-08-01 22:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe563e98012d196580071fefa00044015129..."} 
[2026-08-01 22:50:05] local.INFO: Processing buffer {"connection_id":146548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe563e98012d196580071fefa00044015129..."} 
[2026-08-01 22:50:05] local.INFO: Packet analysis {"connection_id":146548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe56"} 
[2026-08-01 22:50:05] local.INFO: Extracted packet for processing {"connection_id":146548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe56"} 
[2026-08-01 22:50:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114739200001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785604751000,"timestamp_ms":1785604751000,"timestamp_seconds":1785604751,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe563e98"} 
[2026-08-01 22:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:50:05] 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-08-01 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:50:05] 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-08-01 22:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114739200001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114739200001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:50:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:50:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114739200001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":146548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:50:05] local.INFO: GPS data processed {"connection_id":146548,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:50:05] local.INFO: Acknowledgment sent {"connection_id":146548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:50:36] local.INFO: TCP Data received {"connection_id":146548,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe563e98012d196580071fefa00044015129..."} 
[2026-08-01 22:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe563e98012d196580071fefa00044015129..."} 
[2026-08-01 22:50:36] local.INFO: Processing buffer {"connection_id":146548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe563e98012d196580071fefa00044015129..."} 
[2026-08-01 22:50:36] local.INFO: Packet analysis {"connection_id":146548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe56"} 
[2026-08-01 22:50:36] local.INFO: Extracted packet for processing {"connection_id":146548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe56"} 
[2026-08-01 22:50:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114739200001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785604751000,"timestamp_ms":1785604751000,"timestamp_seconds":1785604751,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe563e98"} 
[2026-08-01 22:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:50:36] 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-08-01 22:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:50:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:50:36] 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-08-01 22:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114739200001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114739200001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:50:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:50:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114739200001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":146548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579614,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:50:36] local.INFO: GPS data processed {"connection_id":146548,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:50:36] local.INFO: Acknowledgment sent {"connection_id":146548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:50:43] local.INFO: TCP Data received {"connection_id":148861,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:50:43] local.INFO: Processing buffer {"connection_id":148861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:50:43] local.INFO: IMEI packet received {"connection_id":148861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 22:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":148861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:50:48] local.INFO: TCP Data received {"connection_id":148861,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:50:48] local.INFO: Processing buffer {"connection_id":148861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:50:48] local.INFO: IMEI packet received {"connection_id":148861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":148861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:50:49] local.INFO: TCP Data received {"connection_id":148861,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe548148012cc330c007685b20005a00cd23..."} 
[2026-08-01 22:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe548148012cc330c007685b20005a00cd23..."} 
[2026-08-01 22:50:49] local.INFO: Processing buffer {"connection_id":148861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe548148012cc330c007685b20005a00cd23..."} 
[2026-08-01 22:50:49] local.INFO: Packet analysis {"connection_id":148861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe54"} 
[2026-08-01 22:50:49] local.INFO: Extracted packet for processing {"connection_id":148861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe54"} 
[2026-08-01 22:50:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114710016001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:50:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:50:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785604637000,"timestamp_ms":1785604637000,"timestamp_seconds":1785604637,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe548148"} 
[2026-08-01 22:50:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:50:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-01 22:50:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:50:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:50:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114710016001,"66":25843,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114710016001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:50:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:50:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:50:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114710016001,"power":25843,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:50:49] local.INFO: DEBUG: GPS processor result {"connection_id":148861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:50:49] local.INFO: GPS data processed {"connection_id":148861,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:50:49] local.INFO: Acknowledgment sent {"connection_id":148861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:51:00] local.INFO: TCP Data received {"connection_id":146549,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:51:00] local.INFO: Processing buffer {"connection_id":146549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:51:00] local.INFO: IMEI packet received {"connection_id":146549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":146549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:51:04] local.INFO: TCP Data received {"connection_id":146549,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:51:04] local.INFO: Processing buffer {"connection_id":146549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:51:04] local.INFO: IMEI packet received {"connection_id":146549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":146549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:51:05] local.INFO: TCP Data received {"connection_id":146549,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe563e98012d196580071fefa00044015129..."} 
[2026-08-01 22:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe563e98012d196580071fefa00044015129..."} 
[2026-08-01 22:51:05] local.INFO: Processing buffer {"connection_id":146549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe563e98012d196580071fefa00044015129..."} 
[2026-08-01 22:51:05] local.INFO: Packet analysis {"connection_id":146549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe56"} 
[2026-08-01 22:51:05] local.INFO: Extracted packet for processing {"connection_id":146549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe56"} 
[2026-08-01 22:51:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114739200001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785604751000,"timestamp_ms":1785604751000,"timestamp_seconds":1785604751,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe563e98"} 
[2026-08-01 22:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:51:05] 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-08-01 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:51:05] 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-08-01 22:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114739200001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114739200001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:51:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:51:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114739200001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":146549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579616,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:51:05] local.INFO: GPS data processed {"connection_id":146549,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:51:05] local.INFO: Acknowledgment sent {"connection_id":146549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:51:21] local.INFO: TCP Data received {"connection_id":148861,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe548148012cc330c007685b20005a00cd23..."} 
[2026-08-01 22:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe548148012cc330c007685b20005a00cd23..."} 
[2026-08-01 22:51:21] local.INFO: Processing buffer {"connection_id":148861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe548148012cc330c007685b20005a00cd23..."} 
[2026-08-01 22:51:21] local.INFO: Packet analysis {"connection_id":148861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe54"} 
[2026-08-01 22:51:21] local.INFO: Extracted packet for processing {"connection_id":148861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe54"} 
[2026-08-01 22:51:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114710016001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:51:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785604637000,"timestamp_ms":1785604637000,"timestamp_seconds":1785604637,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe548148"} 
[2026-08-01 22:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-01 22:51:21] 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-08-01 22:51:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114710016001,"66":25843,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114710016001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:51:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:51:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:51:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114710016001,"power":25843,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":148861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:51:21] local.INFO: GPS data processed {"connection_id":148861,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:51:21] local.INFO: Acknowledgment sent {"connection_id":148861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:51:36] local.INFO: TCP Data received {"connection_id":146549,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe563e98012d196580071fefa00044015129..."} 
[2026-08-01 22:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe563e98012d196580071fefa00044015129..."} 
[2026-08-01 22:51:36] local.INFO: Processing buffer {"connection_id":146549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe563e98012d196580071fefa00044015129..."} 
[2026-08-01 22:51:36] local.INFO: Packet analysis {"connection_id":146549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe56"} 
[2026-08-01 22:51:36] local.INFO: Extracted packet for processing {"connection_id":146549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe56"} 
[2026-08-01 22:51:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114739200001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785604751000,"timestamp_ms":1785604751000,"timestamp_seconds":1785604751,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe563e98"} 
[2026-08-01 22:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:51:36] 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-08-01 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:51:36] 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-08-01 22:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114739200001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114739200001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:51:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:51:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114739200001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":146549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:51:36] local.INFO: GPS data processed {"connection_id":146549,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:51:36] local.INFO: Acknowledgment sent {"connection_id":146549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:51:49] local.INFO: TCP Data received {"connection_id":148862,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:51:49] local.INFO: Processing buffer {"connection_id":148862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:51:49] local.INFO: IMEI packet received {"connection_id":148862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 22:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":148862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:51:59] local.INFO: TCP Data received {"connection_id":147547,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:51:59] local.INFO: Processing buffer {"connection_id":147547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:51:59] local.INFO: IMEI packet received {"connection_id":147547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":147547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:52:00] local.INFO: TCP Data received {"connection_id":148862,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:52:00] local.INFO: Processing buffer {"connection_id":148862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:52:00] local.INFO: IMEI packet received {"connection_id":148862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":148862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:52:02] local.INFO: TCP Data received {"connection_id":148862,"ip":"117.224.93.208","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fbe..."} 
[2026-08-01 22:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148862,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fbe..."} 
[2026-08-01 22:52:02] local.INFO: Processing buffer {"connection_id":148862,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fbe..."} 
[2026-08-01 22:52:02] local.INFO: IMEI packet received {"connection_id":148862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":148862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:52:04] local.INFO: TCP Data received {"connection_id":148862,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe548148012cc330c007685b20005a00cd23..."} 
[2026-08-01 22:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe548148012cc330c007685b20005a00cd23..."} 
[2026-08-01 22:52:04] local.INFO: Processing buffer {"connection_id":148862,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fbe548148012cc330c007685b20005a00cd23..."} 
[2026-08-01 22:52:04] local.INFO: Packet analysis {"connection_id":148862,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fbe54"} 
[2026-08-01 22:52:04] local.INFO: Extracted packet for processing {"connection_id":148862,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe54"} 
[2026-08-01 22:52:04] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114710016001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:52:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785604637000,"timestamp_ms":1785604637000,"timestamp_seconds":1785604637,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe548148"} 
[2026-08-01 22:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:52: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-08-01 22:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-01 22:52:04] 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-08-01 22:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":148862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":148862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":148862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114710016001,"66":25843,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114710016001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:52:04] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:52:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:52:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114710016001,"power":25843,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":148862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:52:04] local.INFO: GPS data processed {"connection_id":148862,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:52:04] local.INFO: Acknowledgment sent {"connection_id":148862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:52:04] local.INFO: Packet analysis {"connection_id":148862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe54"} 
[2026-08-01 22:52:04] local.INFO: Extracted packet for processing {"connection_id":148862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe54"} 
[2026-08-01 22:52:04] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114710016001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:52:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785604637000,"timestamp_ms":1785604637000,"timestamp_seconds":1785604637,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe548148"} 
[2026-08-01 22:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:52: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-08-01 22:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-01 22:52:04] 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-08-01 22:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":148862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":148862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":148862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114710016001,"66":25843,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114710016001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:52:04] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:52:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:52:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114710016001,"power":25843,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":148862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:52:04] local.INFO: GPS data processed {"connection_id":148862,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:52:04] local.INFO: Acknowledgment sent {"connection_id":148862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:52:04] local.INFO: TCP Data received {"connection_id":147547,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:52:04] local.INFO: Processing buffer {"connection_id":147547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:52:04] local.INFO: IMEI packet received {"connection_id":147547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":147547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:52:05] local.INFO: TCP Data received {"connection_id":148862,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe548148012cc330c007685b20005a00cd23..."} 
[2026-08-01 22:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe548148012cc330c007685b20005a00cd23..."} 
[2026-08-01 22:52:05] local.INFO: Processing buffer {"connection_id":148862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe548148012cc330c007685b20005a00cd23..."} 
[2026-08-01 22:52:05] local.INFO: Packet analysis {"connection_id":148862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe54"} 
[2026-08-01 22:52:05] local.INFO: Extracted packet for processing {"connection_id":148862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe54"} 
[2026-08-01 22:52:05] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114710016001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:52:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785604637000,"timestamp_ms":1785604637000,"timestamp_seconds":1785604637,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe548148"} 
[2026-08-01 22:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:52: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-08-01 22:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-01 22:52:05] 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-08-01 22:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114710016001,"66":25843,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114710016001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:52:05] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:52:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:52:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114710016001,"power":25843,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":148862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:52:05] local.INFO: GPS data processed {"connection_id":148862,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:52:05] local.INFO: Acknowledgment sent {"connection_id":148862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:52:05] local.INFO: TCP Data received {"connection_id":147547,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe563e98012d196580071fefa00044015129..."} 
[2026-08-01 22:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe563e98012d196580071fefa00044015129..."} 
[2026-08-01 22:52:05] local.INFO: Processing buffer {"connection_id":147547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe563e98012d196580071fefa00044015129..."} 
[2026-08-01 22:52:05] local.INFO: Packet analysis {"connection_id":147547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe56"} 
[2026-08-01 22:52:05] local.INFO: Extracted packet for processing {"connection_id":147547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe56"} 
[2026-08-01 22:52:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114739200001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785604751000,"timestamp_ms":1785604751000,"timestamp_seconds":1785604751,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe563e98"} 
[2026-08-01 22:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:52:05] 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-08-01 22:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:52:05] 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-08-01 22:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114739200001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114739200001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:52:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:52:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114739200001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":147547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:52:05] local.INFO: GPS data processed {"connection_id":147547,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:52:05] local.INFO: Acknowledgment sent {"connection_id":147547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:52:36] local.INFO: TCP Data received {"connection_id":147547,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe563e98012d196580071fefa00044015129..."} 
[2026-08-01 22:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe563e98012d196580071fefa00044015129..."} 
[2026-08-01 22:52:36] local.INFO: Processing buffer {"connection_id":147547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe563e98012d196580071fefa00044015129..."} 
[2026-08-01 22:52:36] local.INFO: Packet analysis {"connection_id":147547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe56"} 
[2026-08-01 22:52:36] local.INFO: Extracted packet for processing {"connection_id":147547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe56"} 
[2026-08-01 22:52:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114739200001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785604751000,"timestamp_ms":1785604751000,"timestamp_seconds":1785604751,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe563e98"} 
[2026-08-01 22:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:52:36] 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-08-01 22:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:52:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:52:36] 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-08-01 22:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114739200001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114739200001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:52:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:52:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114739200001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":147547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579623,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:52:36] local.INFO: GPS data processed {"connection_id":147547,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:52:36] local.INFO: Acknowledgment sent {"connection_id":147547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:52:43] local.INFO: TCP Data received {"connection_id":148863,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:52:43] local.INFO: Processing buffer {"connection_id":148863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:52:43] local.INFO: IMEI packet received {"connection_id":148863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 22:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":148863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:52:48] local.INFO: TCP Data received {"connection_id":148863,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:52:48] local.INFO: Processing buffer {"connection_id":148863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:52:48] local.INFO: IMEI packet received {"connection_id":148863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":148863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:52:50] local.INFO: TCP Data received {"connection_id":148863,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe548148012cc330c007685b20005a00cd23..."} 
[2026-08-01 22:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe548148012cc330c007685b20005a00cd23..."} 
[2026-08-01 22:52:50] local.INFO: Processing buffer {"connection_id":148863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe548148012cc330c007685b20005a00cd23..."} 
[2026-08-01 22:52:50] local.INFO: Packet analysis {"connection_id":148863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe54"} 
[2026-08-01 22:52:50] local.INFO: Extracted packet for processing {"connection_id":148863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe54"} 
[2026-08-01 22:52:50] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114710016001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:52:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:52:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785604637000,"timestamp_ms":1785604637000,"timestamp_seconds":1785604637,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe548148"} 
[2026-08-01 22:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:52:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-01 22:52:50] 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-08-01 22: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-08-01 22:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:52:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114710016001,"66":25843,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114710016001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:52:50] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:52:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:52:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114710016001,"power":25843,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:52:50] local.INFO: DEBUG: GPS processor result {"connection_id":148863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:52:50] local.INFO: GPS data processed {"connection_id":148863,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:52:50] local.INFO: Acknowledgment sent {"connection_id":148863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:52:59] local.INFO: TCP Data received {"connection_id":146550,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:52:59] local.INFO: Processing buffer {"connection_id":146550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:52:59] local.INFO: IMEI packet received {"connection_id":146550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":146550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:53:04] local.INFO: TCP Data received {"connection_id":146550,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:53:04] local.INFO: Processing buffer {"connection_id":146550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:53:04] local.INFO: IMEI packet received {"connection_id":146550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":146550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:53:05] local.INFO: TCP Data received {"connection_id":146550,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe563e98012d196580071fefa00044015129..."} 
[2026-08-01 22:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe563e98012d196580071fefa00044015129..."} 
[2026-08-01 22:53:05] local.INFO: Processing buffer {"connection_id":146550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe563e98012d196580071fefa00044015129..."} 
[2026-08-01 22:53:05] local.INFO: Packet analysis {"connection_id":146550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe56"} 
[2026-08-01 22:53:05] local.INFO: Extracted packet for processing {"connection_id":146550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe56"} 
[2026-08-01 22:53:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114739200001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785604751000,"timestamp_ms":1785604751000,"timestamp_seconds":1785604751,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe563e98"} 
[2026-08-01 22:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:53:05] 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-08-01 22:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:53:05] 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-08-01 22:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114739200001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114739200001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:53:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:53:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114739200001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":146550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:53:05] local.INFO: GPS data processed {"connection_id":146550,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:53:05] local.INFO: Acknowledgment sent {"connection_id":146550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:53:22] local.INFO: TCP Data received {"connection_id":148863,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe591910012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe591910012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:53:22] local.INFO: Processing buffer {"connection_id":148863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe591910012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:53:22] local.INFO: Packet analysis {"connection_id":148863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe59"} 
[2026-08-01 22:53:22] local.INFO: Extracted packet for processing {"connection_id":148863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe59"} 
[2026-08-01 22:53:22] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:53:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114787072001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:53:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:53:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:53:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:53:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785604938000,"timestamp_ms":1785604938000,"timestamp_seconds":1785604938,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe591910"} 
[2026-08-01 22:53:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:53:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-01 22:53:22] 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-08-01 22:53:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:53:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:53:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:53:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:53:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:53:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:53:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:53:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:53:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:53:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114787072001,"66":25702,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:53:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:53:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:53:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114787072001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:53:22] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:53:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:53:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:53:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:53:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114787072001,"power":25702,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:53:22] local.INFO: DEBUG: GPS processor result {"connection_id":148863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:53:22] local.INFO: GPS data processed {"connection_id":148863,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:53:22] local.INFO: Acknowledgment sent {"connection_id":148863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:53:36] local.INFO: TCP Data received {"connection_id":146550,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe563e98012d196580071fefa00044015129..."} 
[2026-08-01 22:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe563e98012d196580071fefa00044015129..."} 
[2026-08-01 22:53:36] local.INFO: Processing buffer {"connection_id":146550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe563e98012d196580071fefa00044015129..."} 
[2026-08-01 22:53:36] local.INFO: Packet analysis {"connection_id":146550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe56"} 
[2026-08-01 22:53:36] local.INFO: Extracted packet for processing {"connection_id":146550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe56"} 
[2026-08-01 22:53:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114739200001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785604751000,"timestamp_ms":1785604751000,"timestamp_seconds":1785604751,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe563e98"} 
[2026-08-01 22:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:53:36] 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-08-01 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 22:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:53:36] 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-08-01 22:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114739200001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114739200001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:53:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:53:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114739200001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":146550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579627,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:53:36] local.INFO: GPS data processed {"connection_id":146550,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:53:36] local.INFO: Acknowledgment sent {"connection_id":146550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:53:43] local.INFO: TCP Data received {"connection_id":146313,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:53:43] local.INFO: Processing buffer {"connection_id":146313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:53:43] local.INFO: IMEI packet received {"connection_id":146313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 22:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":146313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:53:48] local.INFO: TCP Data received {"connection_id":146313,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:53:48] local.INFO: Processing buffer {"connection_id":146313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:53:48] local.INFO: IMEI packet received {"connection_id":146313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":146313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:53:49] local.INFO: TCP Data received {"connection_id":146313,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe591910012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe591910012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:53:49] local.INFO: Processing buffer {"connection_id":146313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe591910012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:53:49] local.INFO: Packet analysis {"connection_id":146313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe59"} 
[2026-08-01 22:53:49] local.INFO: Extracted packet for processing {"connection_id":146313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe59"} 
[2026-08-01 22:53:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:53:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114787072001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:53:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:53:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:53:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:53:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785604938000,"timestamp_ms":1785604938000,"timestamp_seconds":1785604938,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe591910"} 
[2026-08-01 22:53:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:53:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-01 22:53:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:53:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:53:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:53:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:53:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:53:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:53:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:53:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:53:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:53:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:53:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114787072001,"66":25702,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:53:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:53:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:53:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114787072001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:53:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:53:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:53:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:53:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:53:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114787072001,"power":25702,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:53:49] local.INFO: DEBUG: GPS processor result {"connection_id":146313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:53:49] local.INFO: GPS data processed {"connection_id":146313,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:53:49] local.INFO: Acknowledgment sent {"connection_id":146313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:53:54] local.INFO: TCP Data received {"connection_id":146313,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe591910012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe591910012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:53:54] local.INFO: Processing buffer {"connection_id":146313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe591910012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:53:54] local.INFO: Packet analysis {"connection_id":146313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe59"} 
[2026-08-01 22:53:54] local.INFO: Extracted packet for processing {"connection_id":146313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe59"} 
[2026-08-01 22:53:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114787072001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:53:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:53:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785604938000,"timestamp_ms":1785604938000,"timestamp_seconds":1785604938,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe591910"} 
[2026-08-01 22:53:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:53:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-01 22:53:54] 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-08-01 22:53:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:53:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:53:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114787072001,"66":25702,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114787072001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:53:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:53:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:53:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114787072001,"power":25702,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":146313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:53:54] local.INFO: GPS data processed {"connection_id":146313,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:53:54] local.INFO: Acknowledgment sent {"connection_id":146313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:54:04] local.INFO: TCP Data received {"connection_id":148864,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:54:04] local.INFO: Processing buffer {"connection_id":148864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:54:04] local.INFO: IMEI packet received {"connection_id":148864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":148864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:54:09] local.INFO: TCP Data received {"connection_id":148864,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:54:09] local.INFO: Processing buffer {"connection_id":148864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:54:09] local.INFO: IMEI packet received {"connection_id":148864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":148864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:54:10] local.INFO: TCP Data received {"connection_id":148864,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe563e98012d196580071fefa00044015129..."} 
[2026-08-01 22:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe563e98012d196580071fefa00044015129..."} 
[2026-08-01 22:54:10] local.INFO: Processing buffer {"connection_id":148864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe563e98012d196580071fefa00044015129..."} 
[2026-08-01 22:54:10] local.INFO: Packet analysis {"connection_id":148864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe56"} 
[2026-08-01 22:54:10] local.INFO: Extracted packet for processing {"connection_id":148864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe56"} 
[2026-08-01 22:54:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 22:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114739200001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 22:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785604751000,"timestamp_ms":1785604751000,"timestamp_seconds":1785604751,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe563e98"} 
[2026-08-01 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-08-01 22:54: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-08-01 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-08-01 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-08-01 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-08-01 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-08-01 22:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":148864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":148864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":148864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:54: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-08-01 22:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114739200001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114739200001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:54:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:54:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114739200001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":148864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:54:10] local.INFO: GPS data processed {"connection_id":148864,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:54:10] local.INFO: Acknowledgment sent {"connection_id":148864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:54:25] local.INFO: TCP Data received {"connection_id":146313,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe591910012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe591910012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:54:25] local.INFO: Processing buffer {"connection_id":146313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe591910012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:54:25] local.INFO: Packet analysis {"connection_id":146313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe59"} 
[2026-08-01 22:54:25] local.INFO: Extracted packet for processing {"connection_id":146313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe59"} 
[2026-08-01 22:54:25] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114787072001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:54:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:54:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785604938000,"timestamp_ms":1785604938000,"timestamp_seconds":1785604938,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe591910"} 
[2026-08-01 22:54:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:54:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-01 22:54:25] 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-08-01 22:54:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:54:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":146313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":146313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":146313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:54:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114787072001,"66":25702,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114787072001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:54:25] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:54:25] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:54:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114787072001,"power":25702,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":146313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:54:25] local.INFO: GPS data processed {"connection_id":146313,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:54:25] local.INFO: Acknowledgment sent {"connection_id":146313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:54:41] local.INFO: TCP Data received {"connection_id":148864,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe563e98012d196580071fefa00044015129..."} 
[2026-08-01 22:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe563e98012d196580071fefa00044015129..."} 
[2026-08-01 22:54:41] local.INFO: Processing buffer {"connection_id":148864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe563e98012d196580071fefa00044015129..."} 
[2026-08-01 22:54:41] local.INFO: Packet analysis {"connection_id":148864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe56"} 
[2026-08-01 22:54:41] local.INFO: Extracted packet for processing {"connection_id":148864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe56"} 
[2026-08-01 22:54:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 22:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114739200001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 22:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1785604751000,"timestamp_ms":1785604751000,"timestamp_seconds":1785604751,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe563e98"} 
[2026-08-01 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-08-01 22:54: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-08-01 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-08-01 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-08-01 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-08-01 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-08-01 22:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":148864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":148864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":148864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:54: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-08-01 22:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114739200001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114739200001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:54:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:54:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114739200001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":148864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579632,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:54:41] local.INFO: GPS data processed {"connection_id":148864,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:54:41] local.INFO: Acknowledgment sent {"connection_id":148864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:54:43] local.INFO: TCP Data received {"connection_id":148865,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:54:43] local.INFO: Processing buffer {"connection_id":148865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:54:43] local.INFO: IMEI packet received {"connection_id":148865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 22:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":148865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:54:48] local.INFO: TCP Data received {"connection_id":148865,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:54:48] local.INFO: Processing buffer {"connection_id":148865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:54:48] local.INFO: IMEI packet received {"connection_id":148865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":148865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:54:49] local.INFO: TCP Data received {"connection_id":148865,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe591910012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe591910012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:54:49] local.INFO: Processing buffer {"connection_id":148865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe591910012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:54:49] local.INFO: Packet analysis {"connection_id":148865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe59"} 
[2026-08-01 22:54:49] local.INFO: Extracted packet for processing {"connection_id":148865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe59"} 
[2026-08-01 22:54:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:54:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114787072001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:54:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:54:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:54:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:54:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785604938000,"timestamp_ms":1785604938000,"timestamp_seconds":1785604938,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe591910"} 
[2026-08-01 22:54:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:54:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-01 22:54:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:54:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:54:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:54:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:54:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:54:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:54:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:54:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:54:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:54:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:54:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114787072001,"66":25702,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:54:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:54:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:54:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114787072001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:54:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:54:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:54:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:54:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:54:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114787072001,"power":25702,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:54:49] local.INFO: DEBUG: GPS processor result {"connection_id":148865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:54:49] local.INFO: GPS data processed {"connection_id":148865,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:54:49] local.INFO: Acknowledgment sent {"connection_id":148865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:54:59] local.INFO: TCP Data received {"connection_id":146314,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:54:59] local.INFO: Processing buffer {"connection_id":146314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:54:59] local.INFO: IMEI packet received {"connection_id":146314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":146314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:55:04] local.INFO: TCP Data received {"connection_id":146314,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:55:04] local.INFO: Processing buffer {"connection_id":146314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:55:04] local.INFO: IMEI packet received {"connection_id":146314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":146314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:55:04] local.INFO: TCP Data received {"connection_id":146314,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe5ad660012d196580071fefa00044015128..."} 
[2026-08-01 22:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe5ad660012d196580071fefa00044015128..."} 
[2026-08-01 22:55:04] local.INFO: Processing buffer {"connection_id":146314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe5ad660012d196580071fefa00044015128..."} 
[2026-08-01 22:55:04] local.INFO: Packet analysis {"connection_id":146314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe5a"} 
[2026-08-01 22:55:04] local.INFO: Extracted packet for processing {"connection_id":146314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe5a"} 
[2026-08-01 22:55:04] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114816256001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785605052000,"timestamp_ms":1785605052000,"timestamp_seconds":1785605052,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe5ad660"} 
[2026-08-01 22:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 22:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":146314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":146314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":146314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:55:04] 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-08-01 22:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114816256001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114816256001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:55:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:55:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114816256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":146314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579634,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:55:04] local.INFO: GPS data processed {"connection_id":146314,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:55:04] local.INFO: Acknowledgment sent {"connection_id":146314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:55:36] local.INFO: TCP Data received {"connection_id":146314,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe5ad660012d196580071fefa00044015128..."} 
[2026-08-01 22:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe5ad660012d196580071fefa00044015128..."} 
[2026-08-01 22:55:36] local.INFO: Processing buffer {"connection_id":146314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe5ad660012d196580071fefa00044015128..."} 
[2026-08-01 22:55:36] local.INFO: Packet analysis {"connection_id":146314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe5a"} 
[2026-08-01 22:55:36] local.INFO: Extracted packet for processing {"connection_id":146314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe5a"} 
[2026-08-01 22:55:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114816256001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785605052000,"timestamp_ms":1785605052000,"timestamp_seconds":1785605052,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe5ad660"} 
[2026-08-01 22:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 22:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:55:36] 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-08-01 22:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114816256001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114816256001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:55:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:55:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114816256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":146314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579635,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:55:36] local.INFO: GPS data processed {"connection_id":146314,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:55:36] local.INFO: Acknowledgment sent {"connection_id":146314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:55:36] local.INFO: TCP Data received {"connection_id":148865,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe591910012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe591910012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:55:36] local.INFO: Processing buffer {"connection_id":148865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe591910012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:55:36] local.INFO: Packet analysis {"connection_id":148865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe59"} 
[2026-08-01 22:55:36] local.INFO: Extracted packet for processing {"connection_id":148865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe59"} 
[2026-08-01 22:55:36] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114787072001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:55:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785604938000,"timestamp_ms":1785604938000,"timestamp_seconds":1785604938,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe591910"} 
[2026-08-01 22:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:55: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-08-01 22:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-01 22:55:36] 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-08-01 22: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-08-01 22:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114787072001,"66":25702,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114787072001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:55:36] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:55:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:55:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114787072001,"power":25702,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":148865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:55:36] local.INFO: GPS data processed {"connection_id":148865,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:55:36] local.INFO: Acknowledgment sent {"connection_id":148865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:55:43] local.INFO: TCP Data received {"connection_id":147548,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:55:43] local.INFO: Processing buffer {"connection_id":147548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:55:43] local.INFO: IMEI packet received {"connection_id":147548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 22:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":147548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:55:48] local.INFO: TCP Data received {"connection_id":147548,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:55:48] local.INFO: Processing buffer {"connection_id":147548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:55:48] local.INFO: IMEI packet received {"connection_id":147548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":147548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:55:49] local.INFO: TCP Data received {"connection_id":147548,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe591910012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe591910012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:55:49] local.INFO: Processing buffer {"connection_id":147548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe591910012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:55:49] local.INFO: Packet analysis {"connection_id":147548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe59"} 
[2026-08-01 22:55:49] local.INFO: Extracted packet for processing {"connection_id":147548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe59"} 
[2026-08-01 22:55:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114787072001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:55:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785604938000,"timestamp_ms":1785604938000,"timestamp_seconds":1785604938,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe591910"} 
[2026-08-01 22:55:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:55:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-01 22:55:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:55:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:55:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:55:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114787072001,"66":25702,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114787072001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:55:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:55:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:55:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114787072001,"power":25702,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":147548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:55:49] local.INFO: GPS data processed {"connection_id":147548,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:55:49] local.INFO: Acknowledgment sent {"connection_id":147548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:55:59] local.INFO: TCP Data received {"connection_id":148866,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:55:59] local.INFO: Processing buffer {"connection_id":148866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:55:59] local.INFO: IMEI packet received {"connection_id":148866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":148866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:56:04] local.INFO: TCP Data received {"connection_id":148866,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:56:04] local.INFO: Processing buffer {"connection_id":148866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:56:04] local.INFO: IMEI packet received {"connection_id":148866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":148866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:56:05] local.INFO: TCP Data received {"connection_id":148866,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe5ad660012d196580071fefa00044015128..."} 
[2026-08-01 22:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe5ad660012d196580071fefa00044015128..."} 
[2026-08-01 22:56:05] local.INFO: Processing buffer {"connection_id":148866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe5ad660012d196580071fefa00044015128..."} 
[2026-08-01 22:56:05] local.INFO: Packet analysis {"connection_id":148866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe5a"} 
[2026-08-01 22:56:05] local.INFO: Extracted packet for processing {"connection_id":148866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe5a"} 
[2026-08-01 22:56:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114816256001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785605052000,"timestamp_ms":1785605052000,"timestamp_seconds":1785605052,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe5ad660"} 
[2026-08-01 22:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 22:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:56:05] 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-08-01 22:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114816256001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114816256001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:56:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:56:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114816256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":148866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579638,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:56:05] local.INFO: GPS data processed {"connection_id":148866,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:56:05] local.INFO: Acknowledgment sent {"connection_id":148866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:56:21] local.INFO: TCP Data received {"connection_id":147548,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe591910012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe591910012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:56:21] local.INFO: Processing buffer {"connection_id":147548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe591910012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:56:21] local.INFO: Packet analysis {"connection_id":147548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe59"} 
[2026-08-01 22:56:21] local.INFO: Extracted packet for processing {"connection_id":147548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe59"} 
[2026-08-01 22:56:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114787072001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:56:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785604938000,"timestamp_ms":1785604938000,"timestamp_seconds":1785604938,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe591910"} 
[2026-08-01 22:56:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:56:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-01 22:56:21] 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-08-01 22:56:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:56:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:56:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114787072001,"66":25702,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114787072001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:56:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:56:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:56:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114787072001,"power":25702,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":147548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:56:21] local.INFO: GPS data processed {"connection_id":147548,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:56:21] local.INFO: Acknowledgment sent {"connection_id":147548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:56:36] local.INFO: TCP Data received {"connection_id":148866,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe5ad660012d196580071fefa00044015128..."} 
[2026-08-01 22:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe5ad660012d196580071fefa00044015128..."} 
[2026-08-01 22:56:36] local.INFO: Processing buffer {"connection_id":148866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe5ad660012d196580071fefa00044015128..."} 
[2026-08-01 22:56:36] local.INFO: Packet analysis {"connection_id":148866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe5a"} 
[2026-08-01 22:56:36] local.INFO: Extracted packet for processing {"connection_id":148866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe5a"} 
[2026-08-01 22:56:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114816256001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785605052000,"timestamp_ms":1785605052000,"timestamp_seconds":1785605052,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe5ad660"} 
[2026-08-01 22:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 22:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:56:36] 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-08-01 22:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114816256001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114816256001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:56:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:56:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114816256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":148866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579640,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:56:36] local.INFO: GPS data processed {"connection_id":148866,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:56:36] local.INFO: Acknowledgment sent {"connection_id":148866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:56:48] local.INFO: TCP Data received {"connection_id":146551,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:56:48] local.INFO: Processing buffer {"connection_id":146551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:56:48] local.INFO: IMEI packet received {"connection_id":146551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 22:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":146551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:56:53] local.INFO: TCP Data received {"connection_id":146551,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:56:53] local.INFO: Processing buffer {"connection_id":146551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:56:53] local.INFO: IMEI packet received {"connection_id":146551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":146551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:56:54] local.INFO: TCP Data received {"connection_id":146551,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe591910012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe591910012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:56:54] local.INFO: Processing buffer {"connection_id":146551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe591910012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:56:54] local.INFO: Packet analysis {"connection_id":146551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe59"} 
[2026-08-01 22:56:54] local.INFO: Extracted packet for processing {"connection_id":146551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe59"} 
[2026-08-01 22:56:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114787072001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:56:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:56:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785604938000,"timestamp_ms":1785604938000,"timestamp_seconds":1785604938,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe591910"} 
[2026-08-01 22:56:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:56:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-01 22:56:54] 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-08-01 22:56:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:56:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:56:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114787072001,"66":25702,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114787072001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:56:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:56:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:56:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114787072001,"power":25702,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":146551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:56:54] local.INFO: GPS data processed {"connection_id":146551,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:56:54] local.INFO: Acknowledgment sent {"connection_id":146551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:56:59] local.INFO: TCP Data received {"connection_id":146551,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe591910012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe591910012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:56:59] local.INFO: Processing buffer {"connection_id":146551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe591910012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:56:59] local.INFO: Packet analysis {"connection_id":146551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe59"} 
[2026-08-01 22:56:59] local.INFO: Extracted packet for processing {"connection_id":146551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe59"} 
[2026-08-01 22:56:59] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 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-08-01 22:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114787072001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:56:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785604938000,"timestamp_ms":1785604938000,"timestamp_seconds":1785604938,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe591910"} 
[2026-08-01 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-08-01 22:56: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-08-01 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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-01 22:56:59] 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-08-01 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-08-01 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-08-01 22:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":146551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":146551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":146551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114787072001,"66":25702,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114787072001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:56:59] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:56:59] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:56:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114787072001,"power":25702,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":146551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:56:59] local.INFO: GPS data processed {"connection_id":146551,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:56:59] local.INFO: Acknowledgment sent {"connection_id":146551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:57:04] local.INFO: TCP Data received {"connection_id":148867,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:57:04] local.INFO: Processing buffer {"connection_id":148867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:57:04] local.INFO: IMEI packet received {"connection_id":148867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":148867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:57:09] local.INFO: TCP Data received {"connection_id":148867,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:57:09] local.INFO: Processing buffer {"connection_id":148867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:57:09] local.INFO: IMEI packet received {"connection_id":148867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":148867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:57:10] local.INFO: TCP Data received {"connection_id":148867,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe5ad660012d196580071fefa00044015128..."} 
[2026-08-01 22:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe5ad660012d196580071fefa00044015128..."} 
[2026-08-01 22:57:10] local.INFO: Processing buffer {"connection_id":148867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe5ad660012d196580071fefa00044015128..."} 
[2026-08-01 22:57:10] local.INFO: Packet analysis {"connection_id":148867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe5a"} 
[2026-08-01 22:57:10] local.INFO: Extracted packet for processing {"connection_id":148867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe5a"} 
[2026-08-01 22:57:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114816256001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22: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-08-01 22:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785605052000,"timestamp_ms":1785605052000,"timestamp_seconds":1785605052,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe5ad660"} 
[2026-08-01 22:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:57:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22: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-08-01 22: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-08-01 22:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":148867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":148867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":148867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:57: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-08-01 22:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114816256001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114816256001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:57:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:57:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114816256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":148867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:57:10] local.INFO: GPS data processed {"connection_id":148867,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:57:10] local.INFO: Acknowledgment sent {"connection_id":148867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:57:15] local.INFO: TCP Data received {"connection_id":148867,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe5ad660012d196580071fefa00044015128..."} 
[2026-08-01 22:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe5ad660012d196580071fefa00044015128..."} 
[2026-08-01 22:57:15] local.INFO: Processing buffer {"connection_id":148867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe5ad660012d196580071fefa00044015128..."} 
[2026-08-01 22:57:15] local.INFO: Packet analysis {"connection_id":148867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe5a"} 
[2026-08-01 22:57:15] local.INFO: Extracted packet for processing {"connection_id":148867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe5a"} 
[2026-08-01 22:57:15] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 22:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114816256001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:57:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 22:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785605052000,"timestamp_ms":1785605052000,"timestamp_seconds":1785605052,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe5ad660"} 
[2026-08-01 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-08-01 22:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 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":96,"data_length":795,"current_offset":136} 
[2026-08-01 22:57: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-08-01 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-08-01 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-08-01 22:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":148867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":148867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":148867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:57: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-08-01 22:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114816256001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114816256001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:57:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:57:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:57:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114816256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":148867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:57:15] local.INFO: GPS data processed {"connection_id":148867,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:57:15] local.INFO: Acknowledgment sent {"connection_id":148867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:57:47] local.INFO: TCP Data received {"connection_id":146315,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:57:47] local.INFO: Processing buffer {"connection_id":146315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:57:47] local.INFO: IMEI packet received {"connection_id":146315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 22:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":146315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:57:48] local.INFO: TCP Data received {"connection_id":146315,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:57:48] local.INFO: Processing buffer {"connection_id":146315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:57:48] local.INFO: IMEI packet received {"connection_id":146315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":146315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:57:49] local.INFO: TCP Data received {"connection_id":146315,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe591910012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe591910012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:57:49] local.INFO: Processing buffer {"connection_id":146315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe591910012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:57:49] local.INFO: Packet analysis {"connection_id":146315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe59"} 
[2026-08-01 22:57:49] local.INFO: Extracted packet for processing {"connection_id":146315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe59"} 
[2026-08-01 22:57:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114787072001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:57:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785604938000,"timestamp_ms":1785604938000,"timestamp_seconds":1785604938,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe591910"} 
[2026-08-01 22:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-01 22:57:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:57:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114787072001,"66":25702,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114787072001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:57:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:57:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:57:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114787072001,"power":25702,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":146315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:57:49] local.INFO: GPS data processed {"connection_id":146315,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:57:49] local.INFO: Acknowledgment sent {"connection_id":146315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:57:54] local.INFO: TCP Data received {"connection_id":146315,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe591910012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe591910012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:57:54] local.INFO: Processing buffer {"connection_id":146315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe591910012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:57:54] local.INFO: Packet analysis {"connection_id":146315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe59"} 
[2026-08-01 22:57:54] local.INFO: Extracted packet for processing {"connection_id":146315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe59"} 
[2026-08-01 22:57:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114787072001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:57:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:57:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:57:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:57:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785604938000,"timestamp_ms":1785604938000,"timestamp_seconds":1785604938,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe591910"} 
[2026-08-01 22:57:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:57:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-01 22:57:54] 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-08-01 22:57:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:57:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:57:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:57:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:57:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:57:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:57:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:57:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:57:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:57:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114787072001,"66":25702,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:57:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:57:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:57:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114787072001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:57:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:57:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:57:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:57:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:57:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114787072001,"power":25702,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:57:54] local.INFO: DEBUG: GPS processor result {"connection_id":146315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:57:54] local.INFO: GPS data processed {"connection_id":146315,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:57:54] local.INFO: Acknowledgment sent {"connection_id":146315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:57:59] local.INFO: TCP Data received {"connection_id":147549,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:57:59] local.INFO: Processing buffer {"connection_id":147549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:57:59] local.INFO: IMEI packet received {"connection_id":147549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":147549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:58:04] local.INFO: TCP Data received {"connection_id":147549,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:58:04] local.INFO: Processing buffer {"connection_id":147549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:58:04] local.INFO: IMEI packet received {"connection_id":147549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":147549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:58:05] local.INFO: TCP Data received {"connection_id":147549,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe5ad660012d196580071fefa00044015128..."} 
[2026-08-01 22:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe5ad660012d196580071fefa00044015128..."} 
[2026-08-01 22:58:05] local.INFO: Processing buffer {"connection_id":147549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe5ad660012d196580071fefa00044015128..."} 
[2026-08-01 22:58:05] local.INFO: Packet analysis {"connection_id":147549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe5a"} 
[2026-08-01 22:58:05] local.INFO: Extracted packet for processing {"connection_id":147549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe5a"} 
[2026-08-01 22:58:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114816256001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785605052000,"timestamp_ms":1785605052000,"timestamp_seconds":1785605052,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe5ad660"} 
[2026-08-01 22:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:58:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 22:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:58:05] 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-08-01 22:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114816256001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114816256001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:58:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:58:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114816256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":147549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579647,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:58:05] local.INFO: GPS data processed {"connection_id":147549,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:58:05] local.INFO: Acknowledgment sent {"connection_id":147549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:58:25] local.INFO: TCP Data received {"connection_id":146315,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe5db0d8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe5db0d8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:58:25] local.INFO: Processing buffer {"connection_id":146315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe5db0d8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:58:25] local.INFO: Packet analysis {"connection_id":146315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe5d"} 
[2026-08-01 22:58:25] local.INFO: Extracted packet for processing {"connection_id":146315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe5d"} 
[2026-08-01 22:58:25] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:58:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114864128001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:58:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:58:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:58:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:58:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785605239000,"timestamp_ms":1785605239000,"timestamp_seconds":1785605239,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe5db0d8"} 
[2026-08-01 22:58:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:58:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-01 22:58:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:58:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:58:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:58:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:58:25] local.INFO: Teltonika packet parsed successfully {"connection_id":146315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:58:25] local.INFO: Passing IMEI to GPS processor {"connection_id":146315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:58:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":146315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:58:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:58:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:58:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:58:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114864128001,"66":25702,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:58:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:58:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:58:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114864128001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:58:25] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:58:25] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:58:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:58:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:58:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114864128001,"power":25702,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:58:25] local.INFO: DEBUG: GPS processor result {"connection_id":146315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:58:25] local.INFO: GPS data processed {"connection_id":146315,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:58:25] local.INFO: Acknowledgment sent {"connection_id":146315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:58:36] local.INFO: TCP Data received {"connection_id":147549,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe5ad660012d196580071fefa00044015128..."} 
[2026-08-01 22:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe5ad660012d196580071fefa00044015128..."} 
[2026-08-01 22:58:36] local.INFO: Processing buffer {"connection_id":147549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe5ad660012d196580071fefa00044015128..."} 
[2026-08-01 22:58:36] local.INFO: Packet analysis {"connection_id":147549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe5a"} 
[2026-08-01 22:58:36] local.INFO: Extracted packet for processing {"connection_id":147549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe5a"} 
[2026-08-01 22:58:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114816256001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785605052000,"timestamp_ms":1785605052000,"timestamp_seconds":1785605052,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe5ad660"} 
[2026-08-01 22:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 22:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:58:36] 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-08-01 22:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114816256001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114816256001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:58:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:58:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114816256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":147549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579649,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:58:36] local.INFO: GPS data processed {"connection_id":147549,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:58:36] local.INFO: Acknowledgment sent {"connection_id":147549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:58:43] local.INFO: TCP Data received {"connection_id":146552,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:58:43] local.INFO: Processing buffer {"connection_id":146552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:58:43] local.INFO: IMEI packet received {"connection_id":146552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 22:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":146552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:58:48] local.INFO: TCP Data received {"connection_id":146552,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:58:48] local.INFO: Processing buffer {"connection_id":146552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:58:48] local.INFO: IMEI packet received {"connection_id":146552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 22:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":146552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:58:49] local.INFO: TCP Data received {"connection_id":146552,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe5db0d8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe5db0d8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:58:49] local.INFO: Processing buffer {"connection_id":146552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe5db0d8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:58:49] local.INFO: Packet analysis {"connection_id":146552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe5d"} 
[2026-08-01 22:58:49] local.INFO: Extracted packet for processing {"connection_id":146552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe5d"} 
[2026-08-01 22:58:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114864128001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:58:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785605239000,"timestamp_ms":1785605239000,"timestamp_seconds":1785605239,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe5db0d8"} 
[2026-08-01 22:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:58:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-01 22:58:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:58:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114864128001,"66":25702,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114864128001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:58:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:58:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:58:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114864128001,"power":25702,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":146552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:58:49] local.INFO: GPS data processed {"connection_id":146552,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:58:49] local.INFO: Acknowledgment sent {"connection_id":146552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:58:59] local.INFO: TCP Data received {"connection_id":146316,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:58:59] local.INFO: Processing buffer {"connection_id":146316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:58:59] local.INFO: IMEI packet received {"connection_id":146316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 22:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":146316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:59:04] local.INFO: TCP Data received {"connection_id":146316,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:59:04] local.INFO: Processing buffer {"connection_id":146316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 22:59:04] local.INFO: IMEI packet received {"connection_id":146316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 22:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":146316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 22:59:05] local.INFO: TCP Data received {"connection_id":146316,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe5ad660012d196580071fefa00044015128..."} 
[2026-08-01 22:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe5ad660012d196580071fefa00044015128..."} 
[2026-08-01 22:59:05] local.INFO: Processing buffer {"connection_id":146316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe5ad660012d196580071fefa00044015128..."} 
[2026-08-01 22:59:05] local.INFO: Packet analysis {"connection_id":146316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe5a"} 
[2026-08-01 22:59:05] local.INFO: Extracted packet for processing {"connection_id":146316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe5a"} 
[2026-08-01 22:59:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114816256001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785605052000,"timestamp_ms":1785605052000,"timestamp_seconds":1785605052,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe5ad660"} 
[2026-08-01 22:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 22:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:59:05] 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-08-01 22:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114816256001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114816256001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:59:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:59:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114816256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":146316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579651,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:59:05] local.INFO: GPS data processed {"connection_id":146316,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:59:05] local.INFO: Acknowledgment sent {"connection_id":146316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:59:21] local.INFO: TCP Data received {"connection_id":146552,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe5db0d8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe5db0d8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:59:21] local.INFO: Processing buffer {"connection_id":146552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe5db0d8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:59:21] local.INFO: Packet analysis {"connection_id":146552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe5d"} 
[2026-08-01 22:59:21] local.INFO: Extracted packet for processing {"connection_id":146552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe5d"} 
[2026-08-01 22:59:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114864128001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:59:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785605239000,"timestamp_ms":1785605239000,"timestamp_seconds":1785605239,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe5db0d8"} 
[2026-08-01 22:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:59:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-01 22:59:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:59:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:59:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114864128001,"66":25702,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114864128001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:59:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:59:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:59:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114864128001,"power":25702,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":146552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:59:21] local.INFO: GPS data processed {"connection_id":146552,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:59:21] local.INFO: Acknowledgment sent {"connection_id":146552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:59:36] local.INFO: TCP Data received {"connection_id":146316,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe5ad660012d196580071fefa00044015128..."} 
[2026-08-01 22:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe5ad660012d196580071fefa00044015128..."} 
[2026-08-01 22:59:36] local.INFO: Processing buffer {"connection_id":146316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe5ad660012d196580071fefa00044015128..."} 
[2026-08-01 22:59:36] local.INFO: Packet analysis {"connection_id":146316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe5a"} 
[2026-08-01 22:59:36] local.INFO: Extracted packet for processing {"connection_id":146316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe5a"} 
[2026-08-01 22:59:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 22: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-08-01 22:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114816256001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 22:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 22:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785605052000,"timestamp_ms":1785605052000,"timestamp_seconds":1785605052,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe5ad660"} 
[2026-08-01 22:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 22:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22: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-08-01 22:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":146316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":146316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":146316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 22:59:36] 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-08-01 22:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 22:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 22:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114816256001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 22:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 22:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 22:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114816256001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:59:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 22:59:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 22:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 22:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114816256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 22:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":146316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579653,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:59:36] local.INFO: GPS data processed {"connection_id":146316,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:59:36] local.INFO: Acknowledgment sent {"connection_id":146316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 22:59:48] local.INFO: TCP Data received {"connection_id":148868,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:59:48] local.INFO: Processing buffer {"connection_id":148868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 22:59:48] local.INFO: IMEI packet received {"connection_id":148868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 22:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":148868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 22:59:49] local.INFO: TCP Data received {"connection_id":148868,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe5db0d8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe5db0d8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:59:49] local.INFO: Processing buffer {"connection_id":148868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe5db0d8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 22:59:49] local.INFO: Packet analysis {"connection_id":148868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe5d"} 
[2026-08-01 22:59:49] local.INFO: Extracted packet for processing {"connection_id":148868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe5d"} 
[2026-08-01 22:59:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 22:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 22:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114864128001,"note":"Value kept but may cause issues"} 
[2026-08-01 22:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 22:59:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 22:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 22:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785605239000,"timestamp_ms":1785605239000,"timestamp_seconds":1785605239,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe5db0d8"} 
[2026-08-01 22:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 22:59:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 22:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-01 22:59:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 22:59:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 22:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 22:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 22:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 22:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 22:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 22:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 22:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 22:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114864128001,"66":25702,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 22:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 22:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 22:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114864128001,"description":"Unknown IO ID 0"} 
[2026-08-01 22:59:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 22:59:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 22:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 22:59:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 22:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114864128001,"power":25702,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 22:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":148868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 22:59:49] local.INFO: GPS data processed {"connection_id":148868,"processed":1,"errors":0,"total":1} 
[2026-08-01 22:59:49] local.INFO: Acknowledgment sent {"connection_id":148868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:00:21] local.INFO: TCP Data received {"connection_id":148868,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe5db0d8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 23:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe5db0d8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 23:00:21] local.INFO: Processing buffer {"connection_id":148868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe5db0d8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 23:00:21] local.INFO: Packet analysis {"connection_id":148868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe5d"} 
[2026-08-01 23:00:21] local.INFO: Extracted packet for processing {"connection_id":148868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe5d"} 
[2026-08-01 23:00:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23: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-08-01 23:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114864128001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:00:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785605239000,"timestamp_ms":1785605239000,"timestamp_seconds":1785605239,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe5db0d8"} 
[2026-08-01 23:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:00:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-01 23:00:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23: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-08-01 23:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:00:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114864128001,"66":25702,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114864128001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:00:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:00:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:00:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114864128001,"power":25702,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":148868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:00:21] local.INFO: GPS data processed {"connection_id":148868,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:00:21] local.INFO: Acknowledgment sent {"connection_id":148868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:00:29] local.INFO: TCP Data received {"connection_id":148869,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 23:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 23:00:29] local.INFO: Processing buffer {"connection_id":148869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 23:00:29] local.INFO: IMEI packet received {"connection_id":148869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 23:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":148869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:00:34] local.INFO: TCP Data received {"connection_id":148869,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 23:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 23:00:34] local.INFO: Processing buffer {"connection_id":148869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 23:00:34] local.INFO: IMEI packet received {"connection_id":148869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 23:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":148869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:00:35] local.INFO: TCP Data received {"connection_id":148869,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe5f6e28012d196580071fefa0004401512a..."} 
[2026-08-01 23:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe5f6e28012d196580071fefa0004401512a..."} 
[2026-08-01 23:00:35] local.INFO: Processing buffer {"connection_id":148869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe5f6e28012d196580071fefa0004401512a..."} 
[2026-08-01 23:00:35] local.INFO: Packet analysis {"connection_id":148869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe5f"} 
[2026-08-01 23:00:35] local.INFO: Extracted packet for processing {"connection_id":148869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe5f"} 
[2026-08-01 23:00:35] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 23:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114893312001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 23:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 23:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1785605353000,"timestamp_ms":1785605353000,"timestamp_seconds":1785605353,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe5f6e28"} 
[2026-08-01 23:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:00:35] 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-08-01 23:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 23:00:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:00:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":148869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":148869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 23:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":148869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 23:00:35] 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-08-01 23:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 23:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 23:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114893312001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 23:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 23:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 23:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114893312001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:00:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 23:00:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 23:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 23:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114893312001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 23:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":148869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:00:35] local.INFO: GPS data processed {"connection_id":148869,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:00:35] local.INFO: Acknowledgment sent {"connection_id":148869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:00:43] local.INFO: TCP Data received {"connection_id":147550,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:00:43] local.INFO: Processing buffer {"connection_id":147550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:00:43] local.INFO: IMEI packet received {"connection_id":147550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":147550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:00:48] local.INFO: TCP Data received {"connection_id":147550,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:00:48] local.INFO: Processing buffer {"connection_id":147550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:00:48] local.INFO: IMEI packet received {"connection_id":147550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":147550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:00:49] local.INFO: TCP Data received {"connection_id":147550,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe5db0d8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 23:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe5db0d8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 23:00:49] local.INFO: Processing buffer {"connection_id":147550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe5db0d8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 23:00:49] local.INFO: Packet analysis {"connection_id":147550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe5d"} 
[2026-08-01 23:00:49] local.INFO: Extracted packet for processing {"connection_id":147550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe5d"} 
[2026-08-01 23:00:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23: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-08-01 23:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114864128001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:00:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:00:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785605239000,"timestamp_ms":1785605239000,"timestamp_seconds":1785605239,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe5db0d8"} 
[2026-08-01 23:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:00:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-01 23:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23: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-08-01 23:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114864128001,"66":25702,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114864128001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:00:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:00:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:00:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114864128001,"power":25702,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":147550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:00:49] local.INFO: GPS data processed {"connection_id":147550,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:00:49] local.INFO: Acknowledgment sent {"connection_id":147550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:01:04] local.INFO: TCP Data received {"connection_id":146317,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 23:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146317,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 23:01:04] local.INFO: Processing buffer {"connection_id":146317,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 23:01:04] local.INFO: IMEI packet received {"connection_id":146317,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 23:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":146317,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:01:09] local.INFO: TCP Data received {"connection_id":146317,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 23:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146317,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 23:01:09] local.INFO: Processing buffer {"connection_id":146317,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 23:01:09] local.INFO: IMEI packet received {"connection_id":146317,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 23:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":146317,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:01:10] local.INFO: TCP Data received {"connection_id":146317,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe5f6e28012d196580071fefa0004401512a..."} 
[2026-08-01 23:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe5f6e28012d196580071fefa0004401512a..."} 
[2026-08-01 23:01:10] local.INFO: Processing buffer {"connection_id":146317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe5f6e28012d196580071fefa0004401512a..."} 
[2026-08-01 23:01:10] local.INFO: Packet analysis {"connection_id":146317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe5f"} 
[2026-08-01 23:01:10] local.INFO: Extracted packet for processing {"connection_id":146317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe5f"} 
[2026-08-01 23:01:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 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-08-01 23:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114893312001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 23:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 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-08-01 23:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1785605353000,"timestamp_ms":1785605353000,"timestamp_seconds":1785605353,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe5f6e28"} 
[2026-08-01 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-08-01 23:01: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-08-01 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-08-01 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-08-01 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-08-01 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-08-01 23:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":146317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":146317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 23:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":146317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 23:01: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-08-01 23:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 23:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 23:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114893312001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 23:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 23:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 23:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114893312001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:01:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 23:01:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 23:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 23:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114893312001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 23:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":146317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:01:10] local.INFO: GPS data processed {"connection_id":146317,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:01:10] local.INFO: Acknowledgment sent {"connection_id":146317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:01:14] local.INFO: TCP Data received {"connection_id":146317,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe5f6e28012d196580071fefa0004401512a..."} 
[2026-08-01 23:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe5f6e28012d196580071fefa0004401512a..."} 
[2026-08-01 23:01:14] local.INFO: Processing buffer {"connection_id":146317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe5f6e28012d196580071fefa0004401512a..."} 
[2026-08-01 23:01:14] local.INFO: Packet analysis {"connection_id":146317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe5f"} 
[2026-08-01 23:01:14] local.INFO: Extracted packet for processing {"connection_id":146317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe5f"} 
[2026-08-01 23:01:14] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 23:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114893312001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 23:01:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 23:01: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-08-01 23:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785605353000,"timestamp_ms":1785605353000,"timestamp_seconds":1785605353,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe5f6e28"} 
[2026-08-01 23:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:01:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 23:01: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-08-01 23:01:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":146317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":146317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 23:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":146317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 23:01:14] 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-08-01 23:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 23:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 23:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114893312001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 23:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 23:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 23:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114893312001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:01:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 23:01:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 23:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:01:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 23:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114893312001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 23:01:14] local.INFO: DEBUG: GPS processor result {"connection_id":146317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579659,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:01:14] local.INFO: GPS data processed {"connection_id":146317,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:01:14] local.INFO: Acknowledgment sent {"connection_id":146317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:01:21] local.INFO: TCP Data received {"connection_id":147550,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe5db0d8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 23:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe5db0d8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 23:01:21] local.INFO: Processing buffer {"connection_id":147550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe5db0d8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 23:01:21] local.INFO: Packet analysis {"connection_id":147550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe5d"} 
[2026-08-01 23:01:21] local.INFO: Extracted packet for processing {"connection_id":147550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe5d"} 
[2026-08-01 23:01:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23: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-08-01 23:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114864128001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:01:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785605239000,"timestamp_ms":1785605239000,"timestamp_seconds":1785605239,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe5db0d8"} 
[2026-08-01 23:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:01:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-01 23:01:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23: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-08-01 23:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114864128001,"66":25702,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114864128001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:01:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:01:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:01:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114864128001,"power":25702,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":147550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:01:21] local.INFO: GPS data processed {"connection_id":147550,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:01:21] local.INFO: Acknowledgment sent {"connection_id":147550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:01:43] local.INFO: TCP Data received {"connection_id":148870,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:01:43] local.INFO: Processing buffer {"connection_id":148870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:01:43] local.INFO: IMEI packet received {"connection_id":148870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":148870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:01:48] local.INFO: TCP Data received {"connection_id":148870,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:01:48] local.INFO: Processing buffer {"connection_id":148870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:01:48] local.INFO: IMEI packet received {"connection_id":148870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":148870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:01:49] local.INFO: TCP Data received {"connection_id":148870,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe5db0d8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 23:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe5db0d8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 23:01:49] local.INFO: Processing buffer {"connection_id":148870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe5db0d8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 23:01:49] local.INFO: Packet analysis {"connection_id":148870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe5d"} 
[2026-08-01 23:01:49] local.INFO: Extracted packet for processing {"connection_id":148870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe5d"} 
[2026-08-01 23:01:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114864128001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:01:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:01:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785605239000,"timestamp_ms":1785605239000,"timestamp_seconds":1785605239,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe5db0d8"} 
[2026-08-01 23:01:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:01:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-01 23:01:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:01:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:01:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:01:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114864128001,"66":25702,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114864128001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:01:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:01:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:01:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:01:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114864128001,"power":25702,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":148870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:01:49] local.INFO: GPS data processed {"connection_id":148870,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:01:49] local.INFO: Acknowledgment sent {"connection_id":148870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:01:59] local.INFO: TCP Data received {"connection_id":147551,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 23:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 23:01:59] local.INFO: Processing buffer {"connection_id":147551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 23:01:59] local.INFO: IMEI packet received {"connection_id":147551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 23:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":147551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:02:04] local.INFO: TCP Data received {"connection_id":147551,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 23:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 23:02:04] local.INFO: Processing buffer {"connection_id":147551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 23:02:04] local.INFO: IMEI packet received {"connection_id":147551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 23:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":147551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:02:05] local.INFO: TCP Data received {"connection_id":147551,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe5f6e28012d196580071fefa0004401512a..."} 
[2026-08-01 23:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe5f6e28012d196580071fefa0004401512a..."} 
[2026-08-01 23:02:05] local.INFO: Processing buffer {"connection_id":147551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe5f6e28012d196580071fefa0004401512a..."} 
[2026-08-01 23:02:05] local.INFO: Packet analysis {"connection_id":147551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe5f"} 
[2026-08-01 23:02:05] local.INFO: Extracted packet for processing {"connection_id":147551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe5f"} 
[2026-08-01 23:02:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 23:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114893312001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 23:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 23:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785605353000,"timestamp_ms":1785605353000,"timestamp_seconds":1785605353,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe5f6e28"} 
[2026-08-01 23:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:02:05] 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-08-01 23:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 23:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":147551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":147551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 23:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":147551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 23:02:05] 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-08-01 23:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 23:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 23:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114893312001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 23:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 23:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 23:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114893312001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:02:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 23:02:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 23:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 23:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114893312001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 23:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":147551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:02:05] local.INFO: GPS data processed {"connection_id":147551,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:02:05] local.INFO: Acknowledgment sent {"connection_id":147551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:02:20] local.INFO: TCP Data received {"connection_id":148870,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe5db0d8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 23:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe5db0d8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 23:02:20] local.INFO: Processing buffer {"connection_id":148870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe5db0d8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 23:02:20] local.INFO: Packet analysis {"connection_id":148870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe5d"} 
[2026-08-01 23:02:20] local.INFO: Extracted packet for processing {"connection_id":148870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe5d"} 
[2026-08-01 23:02:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114864128001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:02:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785605239000,"timestamp_ms":1785605239000,"timestamp_seconds":1785605239,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe5db0d8"} 
[2026-08-01 23:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:02:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-01 23:02:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:02:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:02:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114864128001,"66":25702,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114864128001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:02:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:02:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:02:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114864128001,"power":25702,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":148870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:02:20] local.INFO: GPS data processed {"connection_id":148870,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:02:20] local.INFO: Acknowledgment sent {"connection_id":148870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:02:36] local.INFO: TCP Data received {"connection_id":147551,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe5f6e28012d196580071fefa0004401512a..."} 
[2026-08-01 23:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe5f6e28012d196580071fefa0004401512a..."} 
[2026-08-01 23:02:36] local.INFO: Processing buffer {"connection_id":147551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe5f6e28012d196580071fefa0004401512a..."} 
[2026-08-01 23:02:36] local.INFO: Packet analysis {"connection_id":147551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe5f"} 
[2026-08-01 23:02:36] local.INFO: Extracted packet for processing {"connection_id":147551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe5f"} 
[2026-08-01 23:02:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 23:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114893312001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 23:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 23:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785605353000,"timestamp_ms":1785605353000,"timestamp_seconds":1785605353,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe5f6e28"} 
[2026-08-01 23:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:02:36] 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-08-01 23:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 23:02:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:02:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":147551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":147551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 23:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":147551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 23:02:36] 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-08-01 23:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 23:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 23:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114893312001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 23:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 23:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 23:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114893312001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:02:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 23:02:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 23:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 23:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114893312001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 23:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":147551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:02:36] local.INFO: GPS data processed {"connection_id":147551,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:02:36] local.INFO: Acknowledgment sent {"connection_id":147551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:02:43] local.INFO: TCP Data received {"connection_id":146553,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:02:43] local.INFO: Processing buffer {"connection_id":146553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:02:43] local.INFO: IMEI packet received {"connection_id":146553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":146553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:02:48] local.INFO: TCP Data received {"connection_id":146553,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:02:48] local.INFO: Processing buffer {"connection_id":146553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:02:48] local.INFO: IMEI packet received {"connection_id":146553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":146553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:02:49] local.INFO: TCP Data received {"connection_id":146553,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe5db0d8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 23:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe5db0d8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 23:02:49] local.INFO: Processing buffer {"connection_id":146553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe5db0d8012cc330c007685b20005a00cd2b..."} 
[2026-08-01 23:02:49] local.INFO: Packet analysis {"connection_id":146553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe5d"} 
[2026-08-01 23:02:49] local.INFO: Extracted packet for processing {"connection_id":146553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe5d"} 
[2026-08-01 23:02:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114864128001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:02:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:02:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785605239000,"timestamp_ms":1785605239000,"timestamp_seconds":1785605239,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe5db0d8"} 
[2026-08-01 23:02:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:02:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-01 23:02:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:02:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:02:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:02:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114864128001,"66":25702,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114864128001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:02:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:02:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:02:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114864128001,"power":25702,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":146553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:02:49] local.INFO: GPS data processed {"connection_id":146553,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:02:49] local.INFO: Acknowledgment sent {"connection_id":146553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:02:59] local.INFO: TCP Data received {"connection_id":148871,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 23:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 23:02:59] local.INFO: Processing buffer {"connection_id":148871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 23:02:59] local.INFO: IMEI packet received {"connection_id":148871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 23:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":148871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:03:04] local.INFO: TCP Data received {"connection_id":148871,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 23:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 23:03:04] local.INFO: Processing buffer {"connection_id":148871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 23:03:04] local.INFO: IMEI packet received {"connection_id":148871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 23:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":148871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:03:05] local.INFO: TCP Data received {"connection_id":148871,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe5f6e28012d196580071fefa0004401512a..."} 
[2026-08-01 23:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe5f6e28012d196580071fefa0004401512a..."} 
[2026-08-01 23:03:05] local.INFO: Processing buffer {"connection_id":148871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe5f6e28012d196580071fefa0004401512a..."} 
[2026-08-01 23:03:05] local.INFO: Packet analysis {"connection_id":148871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe5f"} 
[2026-08-01 23:03:05] local.INFO: Extracted packet for processing {"connection_id":148871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe5f"} 
[2026-08-01 23:03:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 23:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114893312001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 23:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 23:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785605353000,"timestamp_ms":1785605353000,"timestamp_seconds":1785605353,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe5f6e28"} 
[2026-08-01 23:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:03:05] 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-08-01 23:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 23:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 23:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 23:03:05] 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-08-01 23:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 23:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 23:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114893312001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 23:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 23:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 23:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114893312001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:03:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 23:03:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 23:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 23:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114893312001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 23:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":148871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:03:05] local.INFO: GPS data processed {"connection_id":148871,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:03:05] local.INFO: Acknowledgment sent {"connection_id":148871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:03:20] local.INFO: TCP Data received {"connection_id":146553,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe6248a0012cc330c007685b20005a00cd2e..."} 
[2026-08-01 23:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe6248a0012cc330c007685b20005a00cd2e..."} 
[2026-08-01 23:03:20] local.INFO: Processing buffer {"connection_id":146553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe6248a0012cc330c007685b20005a00cd2e..."} 
[2026-08-01 23:03:20] local.INFO: Packet analysis {"connection_id":146553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe62"} 
[2026-08-01 23:03:20] local.INFO: Extracted packet for processing {"connection_id":146553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe62"} 
[2026-08-01 23:03:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114941184001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:03:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785605540000,"timestamp_ms":1785605540000,"timestamp_seconds":1785605540,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe6248a0"} 
[2026-08-01 23:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:03:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-01 23:03:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:03:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:03:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114941184001,"66":25702,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114941184001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:03:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:03:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:03:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114941184001,"power":25702,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":146553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:03:20] local.INFO: GPS data processed {"connection_id":146553,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:03:20] local.INFO: Acknowledgment sent {"connection_id":146553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:03:36] local.INFO: TCP Data received {"connection_id":148871,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe5f6e28012d196580071fefa0004401512a..."} 
[2026-08-01 23:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe5f6e28012d196580071fefa0004401512a..."} 
[2026-08-01 23:03:36] local.INFO: Processing buffer {"connection_id":148871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe5f6e28012d196580071fefa0004401512a..."} 
[2026-08-01 23:03:36] local.INFO: Packet analysis {"connection_id":148871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe5f"} 
[2026-08-01 23:03:36] local.INFO: Extracted packet for processing {"connection_id":148871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe5f"} 
[2026-08-01 23:03:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 23: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-08-01 23:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114893312001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 23:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 23:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785605353000,"timestamp_ms":1785605353000,"timestamp_seconds":1785605353,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe5f6e28"} 
[2026-08-01 23:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:03:36] 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-08-01 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 23:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23: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-08-01 23:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 23:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 23:03:36] 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-08-01 23:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 23:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 23:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114893312001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 23:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 23:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 23:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114893312001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:03:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 23:03:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 23:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 23:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114893312001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 23:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":148871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:03:36] local.INFO: GPS data processed {"connection_id":148871,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:03:36] local.INFO: Acknowledgment sent {"connection_id":148871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:03:48] local.INFO: TCP Data received {"connection_id":147552,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:03:48] local.INFO: Processing buffer {"connection_id":147552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:03:48] local.INFO: IMEI packet received {"connection_id":147552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":147552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:03:57] local.INFO: TCP Data received {"connection_id":147552,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:03:57] local.INFO: Processing buffer {"connection_id":147552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:03:57] local.INFO: IMEI packet received {"connection_id":147552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":147552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:03:59] local.INFO: TCP Data received {"connection_id":147552,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe6248a0012cc330c007685b20005a00cd2e..."} 
[2026-08-01 23:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe6248a0012cc330c007685b20005a00cd2e..."} 
[2026-08-01 23:03:59] local.INFO: Processing buffer {"connection_id":147552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe6248a0012cc330c007685b20005a00cd2e..."} 
[2026-08-01 23:03:59] local.INFO: Packet analysis {"connection_id":147552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe62"} 
[2026-08-01 23:03:59] local.INFO: Extracted packet for processing {"connection_id":147552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe62"} 
[2026-08-01 23:03:59] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 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-08-01 23:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114941184001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:03:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:03:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785605540000,"timestamp_ms":1785605540000,"timestamp_seconds":1785605540,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe6248a0"} 
[2026-08-01 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-08-01 23:03:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-01 23:03: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-08-01 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-08-01 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-08-01 23:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":147552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":147552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":147552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:03:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114941184001,"66":25702,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114941184001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:03:59] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:03:59] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:03:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114941184001,"power":25702,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:03:59] local.INFO: DEBUG: GPS processor result {"connection_id":147552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:03:59] local.INFO: GPS data processed {"connection_id":147552,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:03:59] local.INFO: Acknowledgment sent {"connection_id":147552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:03:59] local.INFO: TCP Data received {"connection_id":148872,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 23:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 23:03:59] local.INFO: Processing buffer {"connection_id":148872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 23:03:59] local.INFO: IMEI packet received {"connection_id":148872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 23:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":148872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:04:00] local.INFO: TCP Data received {"connection_id":147552,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe6248a0012cc330c007685b20005a00cd2e..."} 
[2026-08-01 23:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe6248a0012cc330c007685b20005a00cd2e..."} 
[2026-08-01 23:04:00] local.INFO: Processing buffer {"connection_id":147552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe6248a0012cc330c007685b20005a00cd2e..."} 
[2026-08-01 23:04:00] local.INFO: Packet analysis {"connection_id":147552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe62"} 
[2026-08-01 23:04:00] local.INFO: Extracted packet for processing {"connection_id":147552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe62"} 
[2026-08-01 23:04:00] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23: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-08-01 23:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114941184001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:04:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:04:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785605540000,"timestamp_ms":1785605540000,"timestamp_seconds":1785605540,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe6248a0"} 
[2026-08-01 23:04:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23: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-08-01 23: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-08-01 23: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-08-01 23: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-08-01 23:04:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":147552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":147552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":147552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:04:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114941184001,"66":25702,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114941184001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:04:00] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:04:00] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:04:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114941184001,"power":25702,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":147552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:04:00] local.INFO: GPS data processed {"connection_id":147552,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:04:00] local.INFO: Acknowledgment sent {"connection_id":147552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:04:04] local.INFO: TCP Data received {"connection_id":148872,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 23:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 23:04:04] local.INFO: Processing buffer {"connection_id":148872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 23:04:04] local.INFO: IMEI packet received {"connection_id":148872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 23:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":148872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:04:05] local.INFO: TCP Data received {"connection_id":148872,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe5f6e28012d196580071fefa0004401512a..."} 
[2026-08-01 23:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe5f6e28012d196580071fefa0004401512a..."} 
[2026-08-01 23:04:05] local.INFO: Processing buffer {"connection_id":148872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe5f6e28012d196580071fefa0004401512a..."} 
[2026-08-01 23:04:05] local.INFO: Packet analysis {"connection_id":148872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe5f"} 
[2026-08-01 23:04:05] local.INFO: Extracted packet for processing {"connection_id":148872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe5f"} 
[2026-08-01 23:04:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 23: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-08-01 23:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114893312001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 23:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 23:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785605353000,"timestamp_ms":1785605353000,"timestamp_seconds":1785605353,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe5f6e28"} 
[2026-08-01 23:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:04:05] 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-08-01 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 23:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23: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-08-01 23:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":148872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":148872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 23:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":148872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 23:04:05] 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-08-01 23:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 23:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 23:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114893312001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 23:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 23:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 23:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114893312001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:04:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 23:04:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 23:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 23:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114893312001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 23:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":148872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579671,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:04:05] local.INFO: GPS data processed {"connection_id":148872,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:04:05] local.INFO: Acknowledgment sent {"connection_id":148872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:04:36] local.INFO: TCP Data received {"connection_id":148872,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe5f6e28012d196580071fefa0004401512a..."} 
[2026-08-01 23:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe5f6e28012d196580071fefa0004401512a..."} 
[2026-08-01 23:04:36] local.INFO: Processing buffer {"connection_id":148872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe5f6e28012d196580071fefa0004401512a..."} 
[2026-08-01 23:04:36] local.INFO: Packet analysis {"connection_id":148872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe5f"} 
[2026-08-01 23:04:36] local.INFO: Extracted packet for processing {"connection_id":148872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe5f"} 
[2026-08-01 23:04:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 23:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114893312001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 23:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 23:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1785605353000,"timestamp_ms":1785605353000,"timestamp_seconds":1785605353,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe5f6e28"} 
[2026-08-01 23:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:04:36] 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-08-01 23:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-01 23:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":148872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":148872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 23:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":148872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 23:04:36] 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-08-01 23:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 23:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 23:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114893312001,"66":2144,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 23:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 23:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 23:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114893312001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:04:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 23:04:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 23:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 23:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114893312001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 23:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":148872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:04:37] local.INFO: GPS data processed {"connection_id":148872,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:04:37] local.INFO: Acknowledgment sent {"connection_id":148872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:04:43] local.INFO: TCP Data received {"connection_id":147553,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:04:43] local.INFO: Processing buffer {"connection_id":147553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:04:43] local.INFO: IMEI packet received {"connection_id":147553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":147553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:04:48] local.INFO: TCP Data received {"connection_id":147553,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:04:48] local.INFO: Processing buffer {"connection_id":147553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:04:48] local.INFO: IMEI packet received {"connection_id":147553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":147553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:04:49] local.INFO: TCP Data received {"connection_id":147553,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe6248a0012cc330c007685b20005a00cd2e..."} 
[2026-08-01 23:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe6248a0012cc330c007685b20005a00cd2e..."} 
[2026-08-01 23:04:49] local.INFO: Processing buffer {"connection_id":147553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe6248a0012cc330c007685b20005a00cd2e..."} 
[2026-08-01 23:04:49] local.INFO: Packet analysis {"connection_id":147553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe62"} 
[2026-08-01 23:04:49] local.INFO: Extracted packet for processing {"connection_id":147553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe62"} 
[2026-08-01 23:04:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23: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-08-01 23:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114941184001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:04:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785605540000,"timestamp_ms":1785605540000,"timestamp_seconds":1785605540,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe6248a0"} 
[2026-08-01 23:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-01 23:04:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23: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-08-01 23:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114941184001,"66":25702,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114941184001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:04:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:04:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:04:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114941184001,"power":25702,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":147553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:04:49] local.INFO: GPS data processed {"connection_id":147553,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:04:49] local.INFO: Acknowledgment sent {"connection_id":147553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:04:59] local.INFO: TCP Data received {"connection_id":146318,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 23:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 23:04:59] local.INFO: Processing buffer {"connection_id":146318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 23:04:59] local.INFO: IMEI packet received {"connection_id":146318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-01 23:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":146318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:05:04] local.INFO: TCP Data received {"connection_id":146318,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 23:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 23:05:04] local.INFO: Processing buffer {"connection_id":146318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-01 23:05:04] local.INFO: IMEI packet received {"connection_id":146318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-01 23:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":146318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:05:05] local.INFO: TCP Data received {"connection_id":146318,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe6405f0012d196580071fefa0004401512a..."} 
[2026-08-01 23:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe6405f0012d196580071fefa0004401512a..."} 
[2026-08-01 23:05:05] local.INFO: Processing buffer {"connection_id":146318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe6405f0012d196580071fefa0004401512a..."} 
[2026-08-01 23:05:05] local.INFO: Packet analysis {"connection_id":146318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe64"} 
[2026-08-01 23:05:05] local.INFO: Extracted packet for processing {"connection_id":146318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe64"} 
[2026-08-01 23:05:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533472,"longitude_deg":75.6639104,"latitude_deg":11.9533472,"altitude":68,"angle":337,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-08-01 23: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-08-01 23:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114970368001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":10360199852326912,"note":"Value kept but may cause issues"} 
[2026-08-01 23:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684898816,"note":"Value kept but may cause issues"} 
[2026-08-01 23:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785605654000,"timestamp_ms":1785605654000,"timestamp_seconds":1785605654,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe6405f0"} 
[2026-08-01 23:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8448,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-01 23:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23: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-08-01 23:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":146318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":146318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 23:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":146318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-01 23:05:05] 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-08-01 23:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-01 23:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-01 23:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114970368001,"66":2166,"102":206,"83":41984,"24":0,"16":10360199852326912,"45":1830009591684898816},"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-08-01 23:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-01 23:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-01 23:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114970368001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:05:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-01 23:05:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-01 23:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":10360199852326912,"km_value":10360199852326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684898816,"description":"Unknown IO ID 45"} 
[2026-08-01 23:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114970368001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684898816}} 
[2026-08-01 23:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":146318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579674,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:05:05] local.INFO: GPS data processed {"connection_id":146318,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:05:05] local.INFO: Acknowledgment sent {"connection_id":146318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:05:21] local.INFO: TCP Data received {"connection_id":147553,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe6248a0012cc330c007685b20005a00cd2e..."} 
[2026-08-01 23:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe6248a0012cc330c007685b20005a00cd2e..."} 
[2026-08-01 23:05:21] local.INFO: Processing buffer {"connection_id":147553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe6248a0012cc330c007685b20005a00cd2e..."} 
[2026-08-01 23:05:21] local.INFO: Packet analysis {"connection_id":147553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe62"} 
[2026-08-01 23:05:21] local.INFO: Extracted packet for processing {"connection_id":147553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe62"} 
[2026-08-01 23:05:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114941184001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:05:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785605540000,"timestamp_ms":1785605540000,"timestamp_seconds":1785605540,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe6248a0"} 
[2026-08-01 23:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:05:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-01 23:05:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:05:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:05:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114941184001,"66":25702,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114941184001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:05:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:05:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:05:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114941184001,"power":25702,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":147553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:05:21] local.INFO: GPS data processed {"connection_id":147553,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:05:21] local.INFO: Acknowledgment sent {"connection_id":147553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:05:43] local.INFO: TCP Data received {"connection_id":146554,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:05:43] local.INFO: Processing buffer {"connection_id":146554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:05:43] local.INFO: IMEI packet received {"connection_id":146554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":146554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:05:48] local.INFO: TCP Data received {"connection_id":146554,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:05:48] local.INFO: Processing buffer {"connection_id":146554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:05:48] local.INFO: IMEI packet received {"connection_id":146554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":146554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:05:49] local.INFO: TCP Data received {"connection_id":146554,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe6248a0012cc330c007685b20005a00cd2e..."} 
[2026-08-01 23:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe6248a0012cc330c007685b20005a00cd2e..."} 
[2026-08-01 23:05:49] local.INFO: Processing buffer {"connection_id":146554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe6248a0012cc330c007685b20005a00cd2e..."} 
[2026-08-01 23:05:49] local.INFO: Packet analysis {"connection_id":146554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe62"} 
[2026-08-01 23:05:49] local.INFO: Extracted packet for processing {"connection_id":146554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe62"} 
[2026-08-01 23:05:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114941184001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:05:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785605540000,"timestamp_ms":1785605540000,"timestamp_seconds":1785605540,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe6248a0"} 
[2026-08-01 23:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-01 23:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:05:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114941184001,"66":25702,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114941184001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:05:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:05:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:05:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114941184001,"power":25702,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":146554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:05:49] local.INFO: GPS data processed {"connection_id":146554,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:05:49] local.INFO: Acknowledgment sent {"connection_id":146554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:06:21] local.INFO: TCP Data received {"connection_id":146554,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe6248a0012cc330c007685b20005a00cd2e..."} 
[2026-08-01 23:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe6248a0012cc330c007685b20005a00cd2e..."} 
[2026-08-01 23:06:21] local.INFO: Processing buffer {"connection_id":146554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe6248a0012cc330c007685b20005a00cd2e..."} 
[2026-08-01 23:06:21] local.INFO: Packet analysis {"connection_id":146554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe62"} 
[2026-08-01 23:06:21] local.INFO: Extracted packet for processing {"connection_id":146554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe62"} 
[2026-08-01 23:06:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114941184001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:06:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785605540000,"timestamp_ms":1785605540000,"timestamp_seconds":1785605540,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe6248a0"} 
[2026-08-01 23:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:06:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-01 23:06:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:06:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:06:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114941184001,"66":25702,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114941184001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:06:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:06:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:06:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114941184001,"power":25702,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":146554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:06:21] local.INFO: GPS data processed {"connection_id":146554,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:06:21] local.INFO: Acknowledgment sent {"connection_id":146554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:06:43] local.INFO: TCP Data received {"connection_id":146319,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:06:43] local.INFO: Processing buffer {"connection_id":146319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:06:43] local.INFO: IMEI packet received {"connection_id":146319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":146319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:06:48] local.INFO: TCP Data received {"connection_id":146319,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:06:48] local.INFO: Processing buffer {"connection_id":146319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:06:48] local.INFO: IMEI packet received {"connection_id":146319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":146319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:06:49] local.INFO: TCP Data received {"connection_id":146319,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe6248a0012cc330c007685b20005a00cd2e..."} 
[2026-08-01 23:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe6248a0012cc330c007685b20005a00cd2e..."} 
[2026-08-01 23:06:49] local.INFO: Processing buffer {"connection_id":146319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe6248a0012cc330c007685b20005a00cd2e..."} 
[2026-08-01 23:06:49] local.INFO: Packet analysis {"connection_id":146319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe62"} 
[2026-08-01 23:06:49] local.INFO: Extracted packet for processing {"connection_id":146319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe62"} 
[2026-08-01 23:06:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114941184001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:06:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:06:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785605540000,"timestamp_ms":1785605540000,"timestamp_seconds":1785605540,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe6248a0"} 
[2026-08-01 23:06:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:06:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-01 23:06:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:06:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:06:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:06:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114941184001,"66":25702,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114941184001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:06:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:06:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:06:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114941184001,"power":25702,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":146319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:06:49] local.INFO: GPS data processed {"connection_id":146319,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:06:49] local.INFO: Acknowledgment sent {"connection_id":146319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:07:21] local.INFO: TCP Data received {"connection_id":146319,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe6248a0012cc330c007685b20005a00cd2e..."} 
[2026-08-01 23:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe6248a0012cc330c007685b20005a00cd2e..."} 
[2026-08-01 23:07:21] local.INFO: Processing buffer {"connection_id":146319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe6248a0012cc330c007685b20005a00cd2e..."} 
[2026-08-01 23:07:21] local.INFO: Packet analysis {"connection_id":146319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe62"} 
[2026-08-01 23:07:21] local.INFO: Extracted packet for processing {"connection_id":146319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe62"} 
[2026-08-01 23:07:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114941184001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:07:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785605540000,"timestamp_ms":1785605540000,"timestamp_seconds":1785605540,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe6248a0"} 
[2026-08-01 23:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:07:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-01 23:07:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:07:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:07:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114941184001,"66":25702,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114941184001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:07:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:07:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:07:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114941184001,"power":25702,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":146319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:07:21] local.INFO: GPS data processed {"connection_id":146319,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:07:21] local.INFO: Acknowledgment sent {"connection_id":146319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:07:43] local.INFO: TCP Data received {"connection_id":147554,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:07:43] local.INFO: Processing buffer {"connection_id":147554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:07:43] local.INFO: IMEI packet received {"connection_id":147554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":147554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:07:48] local.INFO: TCP Data received {"connection_id":147554,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:07:48] local.INFO: Processing buffer {"connection_id":147554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:07:48] local.INFO: IMEI packet received {"connection_id":147554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":147554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:07:49] local.INFO: TCP Data received {"connection_id":147554,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe6248a0012cc330c007685b20005a00cd2e..."} 
[2026-08-01 23:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe6248a0012cc330c007685b20005a00cd2e..."} 
[2026-08-01 23:07:49] local.INFO: Processing buffer {"connection_id":147554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe6248a0012cc330c007685b20005a00cd2e..."} 
[2026-08-01 23:07:49] local.INFO: Packet analysis {"connection_id":147554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe62"} 
[2026-08-01 23:07:49] local.INFO: Extracted packet for processing {"connection_id":147554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe62"} 
[2026-08-01 23:07:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23: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-08-01 23:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457114941184001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:07:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785605540000,"timestamp_ms":1785605540000,"timestamp_seconds":1785605540,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe6248a0"} 
[2026-08-01 23:07:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:07:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-01 23:07:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23: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-08-01 23:07:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:07:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457114941184001,"66":25702,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457114941184001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:07:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:07:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:07:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457114941184001,"power":25702,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":147554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:07:49] local.INFO: GPS data processed {"connection_id":147554,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:07:49] local.INFO: Acknowledgment sent {"connection_id":147554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:08:20] local.INFO: TCP Data received {"connection_id":147554,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe66e068012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe66e068012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:08:20] local.INFO: Processing buffer {"connection_id":147554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe66e068012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:08:20] local.INFO: Packet analysis {"connection_id":147554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe66"} 
[2026-08-01 23:08:20] local.INFO: Extracted packet for processing {"connection_id":147554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe66"} 
[2026-08-01 23:08:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115018240001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:08:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785605841000,"timestamp_ms":1785605841000,"timestamp_seconds":1785605841,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe66e068"} 
[2026-08-01 23:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:08:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-01 23:08:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:08:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:08:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115018240001,"66":25734,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115018240001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:08:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:08:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:08:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115018240001,"power":25734,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":147554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:08:20] local.INFO: GPS data processed {"connection_id":147554,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:08:20] local.INFO: Acknowledgment sent {"connection_id":147554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:08:43] local.INFO: TCP Data received {"connection_id":146320,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:08:43] local.INFO: Processing buffer {"connection_id":146320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:08:43] local.INFO: IMEI packet received {"connection_id":146320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":146320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:08:48] local.INFO: TCP Data received {"connection_id":146320,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:08:48] local.INFO: Processing buffer {"connection_id":146320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:08:48] local.INFO: IMEI packet received {"connection_id":146320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":146320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:08:49] local.INFO: TCP Data received {"connection_id":146320,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe66e068012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe66e068012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:08:49] local.INFO: Processing buffer {"connection_id":146320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe66e068012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:08:49] local.INFO: Packet analysis {"connection_id":146320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe66"} 
[2026-08-01 23:08:49] local.INFO: Extracted packet for processing {"connection_id":146320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe66"} 
[2026-08-01 23:08:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115018240001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:08:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:08:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785605841000,"timestamp_ms":1785605841000,"timestamp_seconds":1785605841,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe66e068"} 
[2026-08-01 23:08:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:08:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-01 23:08:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:08:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:08:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:08:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115018240001,"66":25734,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115018240001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:08:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:08:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:08:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115018240001,"power":25734,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":146320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:08:49] local.INFO: GPS data processed {"connection_id":146320,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:08:49] local.INFO: Acknowledgment sent {"connection_id":146320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:09:22] local.INFO: TCP Data received {"connection_id":146320,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe66e068012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe66e068012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:09:22] local.INFO: Processing buffer {"connection_id":146320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe66e068012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:09:22] local.INFO: Packet analysis {"connection_id":146320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe66"} 
[2026-08-01 23:09:22] local.INFO: Extracted packet for processing {"connection_id":146320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe66"} 
[2026-08-01 23:09:22] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115018240001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:09:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785605841000,"timestamp_ms":1785605841000,"timestamp_seconds":1785605841,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe66e068"} 
[2026-08-01 23:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:09:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-01 23:09:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:09:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:09:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115018240001,"66":25734,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115018240001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:09:22] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:09:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:09:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115018240001,"power":25734,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":146320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:09:22] local.INFO: GPS data processed {"connection_id":146320,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:09:22] local.INFO: Acknowledgment sent {"connection_id":146320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:09:43] local.INFO: TCP Data received {"connection_id":147555,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:09:43] local.INFO: Processing buffer {"connection_id":147555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:09:43] local.INFO: IMEI packet received {"connection_id":147555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":147555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:09:48] local.INFO: TCP Data received {"connection_id":147555,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:09:48] local.INFO: Processing buffer {"connection_id":147555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:09:48] local.INFO: IMEI packet received {"connection_id":147555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":147555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:10:00] local.INFO: TCP Data received {"connection_id":147555,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe66e068012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe66e068012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:10:00] local.INFO: Processing buffer {"connection_id":147555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe66e068012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:10:00] local.INFO: Packet analysis {"connection_id":147555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe66"} 
[2026-08-01 23:10:00] local.INFO: Extracted packet for processing {"connection_id":147555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe66"} 
[2026-08-01 23:10:00] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23: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-08-01 23:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115018240001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:10:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:10:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785605841000,"timestamp_ms":1785605841000,"timestamp_seconds":1785605841,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe66e068"} 
[2026-08-01 23:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23: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-08-01 23: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":102,"data_length":795,"current_offset":136} 
[2026-08-01 23:10: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-08-01 23: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-08-01 23:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":147555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":147555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":147555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:10:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115018240001,"66":25734,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115018240001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:10:00] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:10:00] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:10:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115018240001,"power":25734,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":147555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:10:00] local.INFO: GPS data processed {"connection_id":147555,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:10:00] local.INFO: Acknowledgment sent {"connection_id":147555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:10:53] local.INFO: TCP Data received {"connection_id":146555,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:10:53] local.INFO: Processing buffer {"connection_id":146555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:10:53] local.INFO: IMEI packet received {"connection_id":146555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":146555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:10:53] local.INFO: TCP Data received {"connection_id":146555,"ip":"117.224.93.208","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 23:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146555,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 23:10:53] local.INFO: Processing buffer {"connection_id":146555,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-01 23:10:53] local.INFO: IMEI packet received {"connection_id":146555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":146555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:10:54] local.INFO: TCP Data received {"connection_id":146555,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe66e068012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe66e068012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:10:54] local.INFO: Processing buffer {"connection_id":146555,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fbe..."} 
[2026-08-01 23:10:54] local.INFO: IMEI packet received {"connection_id":146555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":146555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:10:59] local.INFO: TCP Data received {"connection_id":146555,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe66e068012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe66e068012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:10:59] local.INFO: Processing buffer {"connection_id":146555,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fbe66e068012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:10:59] local.INFO: Packet analysis {"connection_id":146555,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fbe66"} 
[2026-08-01 23:10:59] local.INFO: Extracted packet for processing {"connection_id":146555,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe66"} 
[2026-08-01 23:10:59] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23: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-08-01 23:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115018240001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:10:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:10:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785605841000,"timestamp_ms":1785605841000,"timestamp_seconds":1785605841,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe66e068"} 
[2026-08-01 23:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:10:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23: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":102,"data_length":795,"current_offset":136} 
[2026-08-01 23:10: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-08-01 23: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-08-01 23:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":146555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":146555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":146555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:10:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115018240001,"66":25734,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115018240001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:10:59] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:10:59] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:10:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115018240001,"power":25734,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":146555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:10:59] local.INFO: GPS data processed {"connection_id":146555,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:10:59] local.INFO: Acknowledgment sent {"connection_id":146555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:10:59] local.INFO: Packet analysis {"connection_id":146555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe66"} 
[2026-08-01 23:10:59] local.INFO: Extracted packet for processing {"connection_id":146555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe66"} 
[2026-08-01 23:10:59] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23: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-08-01 23:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115018240001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:10:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:10:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785605841000,"timestamp_ms":1785605841000,"timestamp_seconds":1785605841,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe66e068"} 
[2026-08-01 23:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:10:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23: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":102,"data_length":795,"current_offset":136} 
[2026-08-01 23:10: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-08-01 23: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-08-01 23:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":146555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":146555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":146555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:10:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115018240001,"66":25734,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115018240001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:10:59] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:10:59] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:10:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115018240001,"power":25734,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":146555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:10:59] local.INFO: GPS data processed {"connection_id":146555,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:10:59] local.INFO: Acknowledgment sent {"connection_id":146555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:11:43] local.INFO: TCP Data received {"connection_id":146321,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:11:43] local.INFO: Processing buffer {"connection_id":146321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:11:43] local.INFO: IMEI packet received {"connection_id":146321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":146321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:11:48] local.INFO: TCP Data received {"connection_id":146321,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:11:48] local.INFO: Processing buffer {"connection_id":146321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:11:48] local.INFO: IMEI packet received {"connection_id":146321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":146321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:11:49] local.INFO: TCP Data received {"connection_id":146321,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe66e068012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe66e068012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:11:49] local.INFO: Processing buffer {"connection_id":146321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe66e068012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:11:49] local.INFO: Packet analysis {"connection_id":146321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe66"} 
[2026-08-01 23:11:49] local.INFO: Extracted packet for processing {"connection_id":146321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe66"} 
[2026-08-01 23:11:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23: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-08-01 23:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115018240001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:11:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:11:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:11:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:11:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785605841000,"timestamp_ms":1785605841000,"timestamp_seconds":1785605841,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe66e068"} 
[2026-08-01 23:11:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:11:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-01 23:11:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23: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-08-01 23:11:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:11:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:11:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:11:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:11:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:11:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:11:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:11:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:11:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115018240001,"66":25734,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:11:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:11:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:11:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115018240001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:11:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:11:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:11:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:11:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:11:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115018240001,"power":25734,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:11:49] local.INFO: DEBUG: GPS processor result {"connection_id":146321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:11:49] local.INFO: GPS data processed {"connection_id":146321,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:11:49] local.INFO: Acknowledgment sent {"connection_id":146321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:12:21] local.INFO: TCP Data received {"connection_id":146321,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe66e068012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe66e068012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:12:21] local.INFO: Processing buffer {"connection_id":146321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe66e068012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:12:21] local.INFO: Packet analysis {"connection_id":146321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe66"} 
[2026-08-01 23:12:21] local.INFO: Extracted packet for processing {"connection_id":146321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe66"} 
[2026-08-01 23:12:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115018240001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:12:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785605841000,"timestamp_ms":1785605841000,"timestamp_seconds":1785605841,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe66e068"} 
[2026-08-01 23:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:12:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-01 23:12:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:12:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:12:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115018240001,"66":25734,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115018240001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:12:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:12:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:12:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115018240001,"power":25734,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":146321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:12:21] local.INFO: GPS data processed {"connection_id":146321,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:12:21] local.INFO: Acknowledgment sent {"connection_id":146321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:12:48] local.INFO: TCP Data received {"connection_id":148873,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:12:48] local.INFO: Processing buffer {"connection_id":148873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:12:48] local.INFO: IMEI packet received {"connection_id":148873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":148873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:12:53] local.INFO: TCP Data received {"connection_id":148873,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:12:53] local.INFO: Processing buffer {"connection_id":148873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:12:53] local.INFO: IMEI packet received {"connection_id":148873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":148873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:12:54] local.INFO: TCP Data received {"connection_id":148873,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe66e068012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe66e068012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:12:54] local.INFO: Processing buffer {"connection_id":148873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe66e068012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:12:54] local.INFO: Packet analysis {"connection_id":148873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe66"} 
[2026-08-01 23:12:54] local.INFO: Extracted packet for processing {"connection_id":148873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe66"} 
[2026-08-01 23:12:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:12:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115018240001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:12:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:12:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:12:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:12:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785605841000,"timestamp_ms":1785605841000,"timestamp_seconds":1785605841,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe66e068"} 
[2026-08-01 23:12:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:12:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-01 23:12:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:12:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:12:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:12:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:12:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:12:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:12:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:12:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:12:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:12:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:12:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115018240001,"66":25734,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:12:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:12:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:12:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115018240001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:12:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:12:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:12:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:12:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:12:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115018240001,"power":25734,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:12:54] local.INFO: DEBUG: GPS processor result {"connection_id":148873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:12:54] local.INFO: GPS data processed {"connection_id":148873,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:12:54] local.INFO: Acknowledgment sent {"connection_id":148873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:12:58] local.INFO: TCP Data received {"connection_id":148873,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe66e068012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe66e068012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:12:58] local.INFO: Processing buffer {"connection_id":148873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe66e068012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:12:58] local.INFO: Packet analysis {"connection_id":148873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe66"} 
[2026-08-01 23:12:58] local.INFO: Extracted packet for processing {"connection_id":148873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe66"} 
[2026-08-01 23:12:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:12: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-08-01 23:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115018240001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:12:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:12:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785605841000,"timestamp_ms":1785605841000,"timestamp_seconds":1785605841,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe66e068"} 
[2026-08-01 23:12:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:12:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-01 23:12:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:12: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-08-01 23:12:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":148873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":148873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":148873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:12:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:12:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115018240001,"66":25734,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:12:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:12:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:12:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115018240001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:12:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:12:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:12:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:12:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:12:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115018240001,"power":25734,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":148873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:12:58] local.INFO: GPS data processed {"connection_id":148873,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:12:58] local.INFO: Acknowledgment sent {"connection_id":148873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:13:43] local.INFO: TCP Data received {"connection_id":148874,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:13:43] local.INFO: Processing buffer {"connection_id":148874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:13:43] local.INFO: IMEI packet received {"connection_id":148874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":148874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:13:48] local.INFO: TCP Data received {"connection_id":148874,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:13:48] local.INFO: Processing buffer {"connection_id":148874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:13:48] local.INFO: IMEI packet received {"connection_id":148874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":148874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:13:49] local.INFO: TCP Data received {"connection_id":148874,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe6b7830012cc330c007685b20005a00cd2b..."} 
[2026-08-01 23:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe6b7830012cc330c007685b20005a00cd2b..."} 
[2026-08-01 23:13:50] local.INFO: Processing buffer {"connection_id":148874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe6b7830012cc330c007685b20005a00cd2b..."} 
[2026-08-01 23:13:50] local.INFO: Packet analysis {"connection_id":148874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe6b"} 
[2026-08-01 23:13:50] local.INFO: Extracted packet for processing {"connection_id":148874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe6b"} 
[2026-08-01 23:13:50] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23: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-08-01 23:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115095296001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:13:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785606142000,"timestamp_ms":1785606142000,"timestamp_seconds":1785606142,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe6b7830"} 
[2026-08-01 23:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:13:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-01 23:13:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23: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-08-01 23:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115095296001,"66":25582,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115095296001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:13:50] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:13:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:13:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115095296001,"power":25582,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":148874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:13:50] local.INFO: GPS data processed {"connection_id":148874,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:13:50] local.INFO: Acknowledgment sent {"connection_id":148874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:14:22] local.INFO: TCP Data received {"connection_id":148874,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe6b7830012cc330c007685b20005a00cd2b..."} 
[2026-08-01 23:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe6b7830012cc330c007685b20005a00cd2b..."} 
[2026-08-01 23:14:22] local.INFO: Processing buffer {"connection_id":148874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe6b7830012cc330c007685b20005a00cd2b..."} 
[2026-08-01 23:14:22] local.INFO: Packet analysis {"connection_id":148874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe6b"} 
[2026-08-01 23:14:22] local.INFO: Extracted packet for processing {"connection_id":148874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe6b"} 
[2026-08-01 23:14:22] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115095296001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:14:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:14:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785606142000,"timestamp_ms":1785606142000,"timestamp_seconds":1785606142,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe6b7830"} 
[2026-08-01 23:14:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:14:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-01 23:14:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:14:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:14:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:14:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115095296001,"66":25582,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115095296001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:14:22] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:14:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:14:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115095296001,"power":25582,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":148874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:14:22] local.INFO: GPS data processed {"connection_id":148874,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:14:22] local.INFO: Acknowledgment sent {"connection_id":148874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:14:43] local.INFO: TCP Data received {"connection_id":148875,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:14:43] local.INFO: Processing buffer {"connection_id":148875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:14:43] local.INFO: IMEI packet received {"connection_id":148875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":148875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:14:48] local.INFO: TCP Data received {"connection_id":148875,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:14:48] local.INFO: Processing buffer {"connection_id":148875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:14:48] local.INFO: IMEI packet received {"connection_id":148875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":148875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:14:49] local.INFO: TCP Data received {"connection_id":148875,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe6b7830012cc330c007685b20005a00cd2b..."} 
[2026-08-01 23:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe6b7830012cc330c007685b20005a00cd2b..."} 
[2026-08-01 23:14:49] local.INFO: Processing buffer {"connection_id":148875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe6b7830012cc330c007685b20005a00cd2b..."} 
[2026-08-01 23:14:49] local.INFO: Packet analysis {"connection_id":148875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe6b"} 
[2026-08-01 23:14:49] local.INFO: Extracted packet for processing {"connection_id":148875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe6b"} 
[2026-08-01 23:14:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115095296001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:14:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:14:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:14:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:14:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785606142000,"timestamp_ms":1785606142000,"timestamp_seconds":1785606142,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe6b7830"} 
[2026-08-01 23:14:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:14:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-01 23:14:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:14:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:14:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:14:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:14:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:14:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:14:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:14:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115095296001,"66":25582,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:14:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:14:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:14:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115095296001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:14:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:14:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:14:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:14:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:14:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115095296001,"power":25582,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:14:49] local.INFO: DEBUG: GPS processor result {"connection_id":148875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:14:49] local.INFO: GPS data processed {"connection_id":148875,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:14:49] local.INFO: Acknowledgment sent {"connection_id":148875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:15:22] local.INFO: TCP Data received {"connection_id":148875,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe6b7830012cc330c007685b20005a00cd2b..."} 
[2026-08-01 23:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe6b7830012cc330c007685b20005a00cd2b..."} 
[2026-08-01 23:15:22] local.INFO: Processing buffer {"connection_id":148875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe6b7830012cc330c007685b20005a00cd2b..."} 
[2026-08-01 23:15:22] local.INFO: Packet analysis {"connection_id":148875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe6b"} 
[2026-08-01 23:15:22] local.INFO: Extracted packet for processing {"connection_id":148875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe6b"} 
[2026-08-01 23:15:22] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115095296001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:15:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:15:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785606142000,"timestamp_ms":1785606142000,"timestamp_seconds":1785606142,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe6b7830"} 
[2026-08-01 23:15:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:15:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-01 23:15:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:15:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:15:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":148875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":148875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":148875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:15:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115095296001,"66":25582,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115095296001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:15:22] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:15:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:15:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115095296001,"power":25582,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":148875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:15:22] local.INFO: GPS data processed {"connection_id":148875,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:15:22] local.INFO: Acknowledgment sent {"connection_id":148875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:15:48] local.INFO: TCP Data received {"connection_id":146556,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:15:48] local.INFO: Processing buffer {"connection_id":146556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:15:48] local.INFO: IMEI packet received {"connection_id":146556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":146556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:15:53] local.INFO: TCP Data received {"connection_id":146556,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:15:53] local.INFO: Processing buffer {"connection_id":146556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:15:53] local.INFO: IMEI packet received {"connection_id":146556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":146556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:15:54] local.INFO: TCP Data received {"connection_id":146556,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe6b7830012cc330c007685b20005a00cd2b..."} 
[2026-08-01 23:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe6b7830012cc330c007685b20005a00cd2b..."} 
[2026-08-01 23:15:54] local.INFO: Processing buffer {"connection_id":146556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe6b7830012cc330c007685b20005a00cd2b..."} 
[2026-08-01 23:15:54] local.INFO: Packet analysis {"connection_id":146556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe6b"} 
[2026-08-01 23:15:54] local.INFO: Extracted packet for processing {"connection_id":146556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe6b"} 
[2026-08-01 23:15:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115095296001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:15:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:15:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:15:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:15:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785606142000,"timestamp_ms":1785606142000,"timestamp_seconds":1785606142,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe6b7830"} 
[2026-08-01 23:15:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:15:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-01 23:15:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:15:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:15:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:15:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:15:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:15:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:15:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:15:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:15:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:15:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:15:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115095296001,"66":25582,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:15:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:15:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:15:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115095296001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:15:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:15:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:15:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:15:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:15:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115095296001,"power":25582,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:15:54] local.INFO: DEBUG: GPS processor result {"connection_id":146556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:15:54] local.INFO: GPS data processed {"connection_id":146556,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:15:54] local.INFO: Acknowledgment sent {"connection_id":146556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:15:59] local.INFO: TCP Data received {"connection_id":146556,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe6b7830012cc330c007685b20005a00cd2b..."} 
[2026-08-01 23:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe6b7830012cc330c007685b20005a00cd2b..."} 
[2026-08-01 23:15:59] local.INFO: Processing buffer {"connection_id":146556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe6b7830012cc330c007685b20005a00cd2b..."} 
[2026-08-01 23:15:59] local.INFO: Packet analysis {"connection_id":146556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe6b"} 
[2026-08-01 23:15:59] local.INFO: Extracted packet for processing {"connection_id":146556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe6b"} 
[2026-08-01 23:15:59] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23: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-08-01 23:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115095296001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:15:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:15:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785606142000,"timestamp_ms":1785606142000,"timestamp_seconds":1785606142,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe6b7830"} 
[2026-08-01 23:15:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:15:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23: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":134,"data_length":795,"current_offset":136} 
[2026-08-01 23:15:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23: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-08-01 23:15:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":146556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":146556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":146556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:15:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115095296001,"66":25582,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115095296001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:15:59] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:15:59] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:15:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115095296001,"power":25582,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":146556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:15:59] local.INFO: GPS data processed {"connection_id":146556,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:15:59] local.INFO: Acknowledgment sent {"connection_id":146556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:16:43] local.INFO: TCP Data received {"connection_id":146322,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:16:43] local.INFO: Processing buffer {"connection_id":146322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:16:43] local.INFO: IMEI packet received {"connection_id":146322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":146322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:16:48] local.INFO: TCP Data received {"connection_id":146322,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:16:48] local.INFO: Processing buffer {"connection_id":146322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:16:48] local.INFO: IMEI packet received {"connection_id":146322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":146322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:16:49] local.INFO: TCP Data received {"connection_id":146322,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe6b7830012cc330c007685b20005a00cd2b..."} 
[2026-08-01 23:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe6b7830012cc330c007685b20005a00cd2b..."} 
[2026-08-01 23:16:49] local.INFO: Processing buffer {"connection_id":146322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe6b7830012cc330c007685b20005a00cd2b..."} 
[2026-08-01 23:16:49] local.INFO: Packet analysis {"connection_id":146322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe6b"} 
[2026-08-01 23:16:49] local.INFO: Extracted packet for processing {"connection_id":146322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe6b"} 
[2026-08-01 23:16:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23: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-08-01 23:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115095296001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:16:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785606142000,"timestamp_ms":1785606142000,"timestamp_seconds":1785606142,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe6b7830"} 
[2026-08-01 23:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:16:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-01 23:16:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23: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-08-01 23:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:16:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115095296001,"66":25582,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115095296001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:16:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:16:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:16:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115095296001,"power":25582,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":146322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:16:49] local.INFO: GPS data processed {"connection_id":146322,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:16:49] local.INFO: Acknowledgment sent {"connection_id":146322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:17:21] local.INFO: TCP Data received {"connection_id":146322,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe6b7830012cc330c007685b20005a00cd2b..."} 
[2026-08-01 23:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe6b7830012cc330c007685b20005a00cd2b..."} 
[2026-08-01 23:17:21] local.INFO: Processing buffer {"connection_id":146322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe6b7830012cc330c007685b20005a00cd2b..."} 
[2026-08-01 23:17:21] local.INFO: Packet analysis {"connection_id":146322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe6b"} 
[2026-08-01 23:17:21] local.INFO: Extracted packet for processing {"connection_id":146322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe6b"} 
[2026-08-01 23:17:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23: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-08-01 23:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115095296001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:17:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785606142000,"timestamp_ms":1785606142000,"timestamp_seconds":1785606142,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe6b7830"} 
[2026-08-01 23:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:17:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-01 23:17:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23: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-08-01 23:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:17:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115095296001,"66":25582,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115095296001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:17:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:17:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:17:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115095296001,"power":25582,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":146322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:17:21] local.INFO: GPS data processed {"connection_id":146322,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:17:21] local.INFO: Acknowledgment sent {"connection_id":146322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:17:43] local.INFO: TCP Data received {"connection_id":148876,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:17:43] local.INFO: Processing buffer {"connection_id":148876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:17:43] local.INFO: IMEI packet received {"connection_id":148876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":148876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:17:48] local.INFO: TCP Data received {"connection_id":148876,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:17:48] local.INFO: Processing buffer {"connection_id":148876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:17:48] local.INFO: IMEI packet received {"connection_id":148876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":148876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:17:49] local.INFO: TCP Data received {"connection_id":148876,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe6b7830012cc330c007685b20005a00cd2b..."} 
[2026-08-01 23:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe6b7830012cc330c007685b20005a00cd2b..."} 
[2026-08-01 23:17:49] local.INFO: Processing buffer {"connection_id":148876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe6b7830012cc330c007685b20005a00cd2b..."} 
[2026-08-01 23:17:49] local.INFO: Packet analysis {"connection_id":148876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe6b"} 
[2026-08-01 23:17:49] local.INFO: Extracted packet for processing {"connection_id":148876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe6b"} 
[2026-08-01 23:17:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:17:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115095296001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:17:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:17:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:17:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:17:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785606142000,"timestamp_ms":1785606142000,"timestamp_seconds":1785606142,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe6b7830"} 
[2026-08-01 23:17:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:17:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-01 23:17:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:17:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:17:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:17:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:17:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:17:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:17:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:17:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:17:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:17:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:17:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115095296001,"66":25582,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:17:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:17:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:17:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115095296001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:17:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:17:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:17:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:17:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:17:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115095296001,"power":25582,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:17:49] local.INFO: DEBUG: GPS processor result {"connection_id":148876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:17:49] local.INFO: GPS data processed {"connection_id":148876,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:17:49] local.INFO: Acknowledgment sent {"connection_id":148876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:18:20] local.INFO: TCP Data received {"connection_id":148876,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe700ff8012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe700ff8012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:18:20] local.INFO: Processing buffer {"connection_id":148876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe700ff8012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:18:20] local.INFO: Packet analysis {"connection_id":148876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe70"} 
[2026-08-01 23:18:20] local.INFO: Extracted packet for processing {"connection_id":148876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe70"} 
[2026-08-01 23:18:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115172352001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:18:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785606443000,"timestamp_ms":1785606443000,"timestamp_seconds":1785606443,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe700ff8"} 
[2026-08-01 23:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:18:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-01 23:18:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:18:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":148876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":148876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":148876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:18:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115172352001,"66":25712,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115172352001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:18:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:18:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:18:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115172352001,"power":25712,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":148876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:18:20] local.INFO: GPS data processed {"connection_id":148876,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:18:20] local.INFO: Acknowledgment sent {"connection_id":148876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:18:43] local.INFO: TCP Data received {"connection_id":147556,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:18:43] local.INFO: Processing buffer {"connection_id":147556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:18:43] local.INFO: IMEI packet received {"connection_id":147556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:18:43] local.INFO: IMEI acknowledgment sent {"connection_id":147556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:18:48] local.INFO: TCP Data received {"connection_id":147556,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:18:48] local.INFO: Processing buffer {"connection_id":147556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:18:48] local.INFO: IMEI packet received {"connection_id":147556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":147556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:18:49] local.INFO: TCP Data received {"connection_id":147556,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe700ff8012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe700ff8012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:18:49] local.INFO: Processing buffer {"connection_id":147556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe700ff8012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:18:49] local.INFO: Packet analysis {"connection_id":147556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe70"} 
[2026-08-01 23:18:49] local.INFO: Extracted packet for processing {"connection_id":147556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe70"} 
[2026-08-01 23:18:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23: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-08-01 23:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115172352001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:18:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:18:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785606443000,"timestamp_ms":1785606443000,"timestamp_seconds":1785606443,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe700ff8"} 
[2026-08-01 23:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:18:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-01 23:18:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23: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-08-01 23:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:18:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115172352001,"66":25712,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115172352001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:18:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:18:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:18:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115172352001,"power":25712,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":147556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:18:49] local.INFO: GPS data processed {"connection_id":147556,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:18:49] local.INFO: Acknowledgment sent {"connection_id":147556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:19:21] local.INFO: TCP Data received {"connection_id":147556,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe700ff8012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe700ff8012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:19:21] local.INFO: Processing buffer {"connection_id":147556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe700ff8012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:19:21] local.INFO: Packet analysis {"connection_id":147556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe70"} 
[2026-08-01 23:19:21] local.INFO: Extracted packet for processing {"connection_id":147556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe70"} 
[2026-08-01 23:19:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23: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-08-01 23:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115172352001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:19:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785606443000,"timestamp_ms":1785606443000,"timestamp_seconds":1785606443,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe700ff8"} 
[2026-08-01 23:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:19:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-01 23:19:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23: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-08-01 23:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:19:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115172352001,"66":25712,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115172352001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:19:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:19:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:19:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115172352001,"power":25712,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":147556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:19:21] local.INFO: GPS data processed {"connection_id":147556,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:19:21] local.INFO: Acknowledgment sent {"connection_id":147556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:19:48] local.INFO: TCP Data received {"connection_id":148877,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:19:48] local.INFO: Processing buffer {"connection_id":148877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:19:48] local.INFO: IMEI packet received {"connection_id":148877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":148877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:19:53] local.INFO: TCP Data received {"connection_id":148877,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:19:53] local.INFO: Processing buffer {"connection_id":148877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:19:53] local.INFO: IMEI packet received {"connection_id":148877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":148877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:19:54] local.INFO: TCP Data received {"connection_id":148877,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe700ff8012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe700ff8012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:19:54] local.INFO: Processing buffer {"connection_id":148877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe700ff8012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:19:54] local.INFO: Packet analysis {"connection_id":148877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe70"} 
[2026-08-01 23:19:54] local.INFO: Extracted packet for processing {"connection_id":148877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe70"} 
[2026-08-01 23:19:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115172352001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:19:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:19:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785606443000,"timestamp_ms":1785606443000,"timestamp_seconds":1785606443,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe700ff8"} 
[2026-08-01 23:19:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:19:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-01 23:19: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-08-01 23:19:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:19:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:19:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115172352001,"66":25712,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115172352001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:19:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:19:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:19:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115172352001,"power":25712,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":148877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:19:54] local.INFO: GPS data processed {"connection_id":148877,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:19:54] local.INFO: Acknowledgment sent {"connection_id":148877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:19:59] local.INFO: TCP Data received {"connection_id":148877,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe700ff8012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe700ff8012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:19:59] local.INFO: Processing buffer {"connection_id":148877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe700ff8012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:19:59] local.INFO: Packet analysis {"connection_id":148877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe70"} 
[2026-08-01 23:19:59] local.INFO: Extracted packet for processing {"connection_id":148877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe70"} 
[2026-08-01 23:19:59] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 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-08-01 23:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115172352001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:19:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:19:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785606443000,"timestamp_ms":1785606443000,"timestamp_seconds":1785606443,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe700ff8"} 
[2026-08-01 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-08-01 23:19:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 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":238,"data_length":795,"current_offset":136} 
[2026-08-01 23: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-08-01 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-08-01 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-08-01 23:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":148877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":148877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":148877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:19:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115172352001,"66":25712,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115172352001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:19:59] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:19:59] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:19:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115172352001,"power":25712,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":148877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:19:59] local.INFO: GPS data processed {"connection_id":148877,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:19:59] local.INFO: Acknowledgment sent {"connection_id":148877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:20:43] local.INFO: TCP Data received {"connection_id":148878,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:20:43] local.INFO: Processing buffer {"connection_id":148878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:20:43] local.INFO: IMEI packet received {"connection_id":148878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":148878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:20:48] local.INFO: TCP Data received {"connection_id":148878,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:20:48] local.INFO: Processing buffer {"connection_id":148878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:20:48] local.INFO: IMEI packet received {"connection_id":148878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":148878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:20:50] local.INFO: TCP Data received {"connection_id":148878,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe700ff8012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe700ff8012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:20:50] local.INFO: Processing buffer {"connection_id":148878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe700ff8012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:20:50] local.INFO: Packet analysis {"connection_id":148878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe70"} 
[2026-08-01 23:20:50] local.INFO: Extracted packet for processing {"connection_id":148878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe70"} 
[2026-08-01 23:20:50] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:20:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115172352001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:20:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:20:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:20:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785606443000,"timestamp_ms":1785606443000,"timestamp_seconds":1785606443,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe700ff8"} 
[2026-08-01 23:20:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:20:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-01 23:20:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:20:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:20:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":148878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":148878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":148878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:20:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:20:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:20:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:20:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115172352001,"66":25712,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:20:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:20:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:20:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115172352001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:20:50] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:20:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:20:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:20:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:20:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115172352001,"power":25712,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":148878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:20:50] local.INFO: GPS data processed {"connection_id":148878,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:20:50] local.INFO: Acknowledgment sent {"connection_id":148878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:21:21] local.INFO: TCP Data received {"connection_id":148878,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe700ff8012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe700ff8012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:21:21] local.INFO: Processing buffer {"connection_id":148878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe700ff8012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:21:21] local.INFO: Packet analysis {"connection_id":148878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe70"} 
[2026-08-01 23:21:21] local.INFO: Extracted packet for processing {"connection_id":148878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe70"} 
[2026-08-01 23:21:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115172352001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:21:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:21:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785606443000,"timestamp_ms":1785606443000,"timestamp_seconds":1785606443,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe700ff8"} 
[2026-08-01 23:21:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:21:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-01 23:21:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:21:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:21:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:21:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115172352001,"66":25712,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115172352001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:21:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:21:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:21:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115172352001,"power":25712,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":148878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:21:21] local.INFO: GPS data processed {"connection_id":148878,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:21:21] local.INFO: Acknowledgment sent {"connection_id":148878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:21:43] local.INFO: TCP Data received {"connection_id":146557,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:21:43] local.INFO: Processing buffer {"connection_id":146557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:21:43] local.INFO: IMEI packet received {"connection_id":146557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":146557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:21:48] local.INFO: TCP Data received {"connection_id":146557,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:21:48] local.INFO: Processing buffer {"connection_id":146557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:21:48] local.INFO: IMEI packet received {"connection_id":146557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":146557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:21:49] local.INFO: TCP Data received {"connection_id":146557,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe700ff8012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe700ff8012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:21:49] local.INFO: Processing buffer {"connection_id":146557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe700ff8012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:21:49] local.INFO: Packet analysis {"connection_id":146557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe70"} 
[2026-08-01 23:21:49] local.INFO: Extracted packet for processing {"connection_id":146557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe70"} 
[2026-08-01 23:21:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23: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-08-01 23:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115172352001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:21:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785606443000,"timestamp_ms":1785606443000,"timestamp_seconds":1785606443,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe700ff8"} 
[2026-08-01 23:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:21:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-01 23:21:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23: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-08-01 23:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115172352001,"66":25712,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115172352001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:21:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:21:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:21:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115172352001,"power":25712,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":146557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:21:49] local.INFO: GPS data processed {"connection_id":146557,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:21:49] local.INFO: Acknowledgment sent {"connection_id":146557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:22:21] local.INFO: TCP Data received {"connection_id":146557,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe700ff8012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe700ff8012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:22:21] local.INFO: Processing buffer {"connection_id":146557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe700ff8012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:22:21] local.INFO: Packet analysis {"connection_id":146557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe70"} 
[2026-08-01 23:22:21] local.INFO: Extracted packet for processing {"connection_id":146557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe70"} 
[2026-08-01 23:22:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23: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-08-01 23:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115172352001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:22:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785606443000,"timestamp_ms":1785606443000,"timestamp_seconds":1785606443,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe700ff8"} 
[2026-08-01 23:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:22:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-01 23:22:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23: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-08-01 23:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:22:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115172352001,"66":25712,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115172352001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:22:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:22:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:22:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115172352001,"power":25712,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":146557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:22:21] local.INFO: GPS data processed {"connection_id":146557,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:22:21] local.INFO: Acknowledgment sent {"connection_id":146557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:22:53] local.INFO: TCP Data received {"connection_id":148879,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:22:53] local.INFO: Processing buffer {"connection_id":148879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:22:53] local.INFO: IMEI packet received {"connection_id":148879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":148879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:22:54] local.INFO: TCP Data received {"connection_id":148879,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:22:54] local.INFO: Processing buffer {"connection_id":148879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:22:54] local.INFO: IMEI packet received {"connection_id":148879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":148879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:22:55] local.INFO: TCP Data received {"connection_id":148879,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe700ff8012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe700ff8012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:22:55] local.INFO: Processing buffer {"connection_id":148879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe700ff8012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:22:55] local.INFO: Packet analysis {"connection_id":148879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe70"} 
[2026-08-01 23:22:55] local.INFO: Extracted packet for processing {"connection_id":148879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe70"} 
[2026-08-01 23:22:55] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115172352001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:22:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:22:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785606443000,"timestamp_ms":1785606443000,"timestamp_seconds":1785606443,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe700ff8"} 
[2026-08-01 23:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:22:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-01 23:22:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:22:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":148879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":148879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":148879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115172352001,"66":25712,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115172352001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:22:55] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:22:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:22:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115172352001,"power":25712,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":148879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:22:55] local.INFO: GPS data processed {"connection_id":148879,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:22:55] local.INFO: Acknowledgment sent {"connection_id":148879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:23:03] local.INFO: TCP Data received {"connection_id":148879,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe700ff8012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe700ff8012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:23:03] local.INFO: Processing buffer {"connection_id":148879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe700ff8012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:23:03] local.INFO: Packet analysis {"connection_id":148879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe70"} 
[2026-08-01 23:23:03] local.INFO: Extracted packet for processing {"connection_id":148879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe70"} 
[2026-08-01 23:23:03] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23: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-08-01 23:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115172352001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:23:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785606443000,"timestamp_ms":1785606443000,"timestamp_seconds":1785606443,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe700ff8"} 
[2026-08-01 23:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:23: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-08-01 23: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-01 23:23: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-08-01 23: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-08-01 23:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115172352001,"66":25712,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115172352001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:23:03] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:23:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:23:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115172352001,"power":25712,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":148879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:23:03] local.INFO: GPS data processed {"connection_id":148879,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:23:03] local.INFO: Acknowledgment sent {"connection_id":148879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:23:53] local.INFO: TCP Data received {"connection_id":147557,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:23:53] local.INFO: Processing buffer {"connection_id":147557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:23:53] local.INFO: IMEI packet received {"connection_id":147557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":147557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:23:58] local.INFO: TCP Data received {"connection_id":147557,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:23:58] local.INFO: Processing buffer {"connection_id":147557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:23:58] local.INFO: IMEI packet received {"connection_id":147557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":147557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:23:59] local.INFO: TCP Data received {"connection_id":147557,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe74a7c0012cc330c007685b20005a00cd26..."} 
[2026-08-01 23:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe74a7c0012cc330c007685b20005a00cd26..."} 
[2026-08-01 23:23:59] local.INFO: Processing buffer {"connection_id":147557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe74a7c0012cc330c007685b20005a00cd26..."} 
[2026-08-01 23:23:59] local.INFO: Packet analysis {"connection_id":147557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe74"} 
[2026-08-01 23:23:59] local.INFO: Extracted packet for processing {"connection_id":147557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe74"} 
[2026-08-01 23:23:59] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 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-08-01 23:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115249408001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:23:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:23:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785606744000,"timestamp_ms":1785606744000,"timestamp_seconds":1785606744,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe74a7c0"} 
[2026-08-01 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-08-01 23:23: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-08-01 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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-01 23:23:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 23:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":147557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":147557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":147557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:23:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115249408001,"66":25625,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115249408001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:23:59] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:23:59] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:23:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115249408001,"power":25625,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":147557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:23:59] local.INFO: GPS data processed {"connection_id":147557,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:23:59] local.INFO: Acknowledgment sent {"connection_id":147557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:24:04] local.INFO: TCP Data received {"connection_id":147557,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe74a7c0012cc330c007685b20005a00cd26..."} 
[2026-08-01 23:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe74a7c0012cc330c007685b20005a00cd26..."} 
[2026-08-01 23:24:04] local.INFO: Processing buffer {"connection_id":147557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe74a7c0012cc330c007685b20005a00cd26..."} 
[2026-08-01 23:24:04] local.INFO: Packet analysis {"connection_id":147557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe74"} 
[2026-08-01 23:24:04] local.INFO: Extracted packet for processing {"connection_id":147557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe74"} 
[2026-08-01 23:24:04] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23: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-08-01 23:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115249408001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:24:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785606744000,"timestamp_ms":1785606744000,"timestamp_seconds":1785606744,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe74a7c0"} 
[2026-08-01 23:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:24: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-08-01 23: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":112,"data_length":795,"current_offset":136} 
[2026-08-01 23:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23: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-08-01 23:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":147557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":147557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":147557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115249408001,"66":25625,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115249408001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:24:04] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:24:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:24:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115249408001,"power":25625,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":147557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:24:04] local.INFO: GPS data processed {"connection_id":147557,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:24:04] local.INFO: Acknowledgment sent {"connection_id":147557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:24:43] local.INFO: TCP Data received {"connection_id":146558,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:24:43] local.INFO: Processing buffer {"connection_id":146558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:24:43] local.INFO: IMEI packet received {"connection_id":146558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":146558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:24:48] local.INFO: TCP Data received {"connection_id":146558,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:24:48] local.INFO: Processing buffer {"connection_id":146558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:24:48] local.INFO: IMEI packet received {"connection_id":146558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":146558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:24:49] local.INFO: TCP Data received {"connection_id":146558,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe74a7c0012cc330c007685b20005a00cd26..."} 
[2026-08-01 23:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe74a7c0012cc330c007685b20005a00cd26..."} 
[2026-08-01 23:24:49] local.INFO: Processing buffer {"connection_id":146558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe74a7c0012cc330c007685b20005a00cd26..."} 
[2026-08-01 23:24:49] local.INFO: Packet analysis {"connection_id":146558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe74"} 
[2026-08-01 23:24:49] local.INFO: Extracted packet for processing {"connection_id":146558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe74"} 
[2026-08-01 23:24:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:24:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115249408001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:24:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:24:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:24:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:24:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785606744000,"timestamp_ms":1785606744000,"timestamp_seconds":1785606744,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe74a7c0"} 
[2026-08-01 23:24:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:24:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-01 23:24:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:24:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:24:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:24:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:24:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:24:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:24:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:24:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:24:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:24:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:24:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115249408001,"66":25625,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:24:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:24:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:24:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115249408001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:24:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:24:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:24:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:24:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:24:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115249408001,"power":25625,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:24:49] local.INFO: DEBUG: GPS processor result {"connection_id":146558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:24:49] local.INFO: GPS data processed {"connection_id":146558,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:24:49] local.INFO: Acknowledgment sent {"connection_id":146558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:25:21] local.INFO: TCP Data received {"connection_id":146558,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe74a7c0012cc330c007685b20005a00cd26..."} 
[2026-08-01 23:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe74a7c0012cc330c007685b20005a00cd26..."} 
[2026-08-01 23:25:21] local.INFO: Processing buffer {"connection_id":146558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe74a7c0012cc330c007685b20005a00cd26..."} 
[2026-08-01 23:25:21] local.INFO: Packet analysis {"connection_id":146558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe74"} 
[2026-08-01 23:25:21] local.INFO: Extracted packet for processing {"connection_id":146558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe74"} 
[2026-08-01 23:25:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115249408001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:25:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:25:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785606744000,"timestamp_ms":1785606744000,"timestamp_seconds":1785606744,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe74a7c0"} 
[2026-08-01 23:25:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:25:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-01 23:25:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:25:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:25:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:25:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115249408001,"66":25625,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115249408001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:25:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:25:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:25:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115249408001,"power":25625,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":146558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:25:21] local.INFO: GPS data processed {"connection_id":146558,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:25:21] local.INFO: Acknowledgment sent {"connection_id":146558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:25:43] local.INFO: TCP Data received {"connection_id":148880,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:25:43] local.INFO: Processing buffer {"connection_id":148880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:25:43] local.INFO: IMEI packet received {"connection_id":148880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":148880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:25:48] local.INFO: TCP Data received {"connection_id":148880,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:25:48] local.INFO: Processing buffer {"connection_id":148880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:25:48] local.INFO: IMEI packet received {"connection_id":148880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":148880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:25:49] local.INFO: TCP Data received {"connection_id":148880,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe74a7c0012cc330c007685b20005a00cd26..."} 
[2026-08-01 23:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe74a7c0012cc330c007685b20005a00cd26..."} 
[2026-08-01 23:25:49] local.INFO: Processing buffer {"connection_id":148880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe74a7c0012cc330c007685b20005a00cd26..."} 
[2026-08-01 23:25:49] local.INFO: Packet analysis {"connection_id":148880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe74"} 
[2026-08-01 23:25:49] local.INFO: Extracted packet for processing {"connection_id":148880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe74"} 
[2026-08-01 23:25:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23: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-08-01 23:25:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115249408001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:25:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:25:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:25:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:25:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785606744000,"timestamp_ms":1785606744000,"timestamp_seconds":1785606744,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe74a7c0"} 
[2026-08-01 23:25:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:25:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-01 23:25:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23: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-08-01 23:25:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:25:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:25:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:25:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:25:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:25:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:25:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:25:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:25:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115249408001,"66":25625,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:25:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:25:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:25:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115249408001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:25:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:25:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:25:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:25:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:25:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115249408001,"power":25625,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:25:49] local.INFO: DEBUG: GPS processor result {"connection_id":148880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:25:49] local.INFO: GPS data processed {"connection_id":148880,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:25:49] local.INFO: Acknowledgment sent {"connection_id":148880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:26:21] local.INFO: TCP Data received {"connection_id":148880,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe74a7c0012cc330c007685b20005a00cd26..."} 
[2026-08-01 23:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe74a7c0012cc330c007685b20005a00cd26..."} 
[2026-08-01 23:26:21] local.INFO: Processing buffer {"connection_id":148880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe74a7c0012cc330c007685b20005a00cd26..."} 
[2026-08-01 23:26:21] local.INFO: Packet analysis {"connection_id":148880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe74"} 
[2026-08-01 23:26:21] local.INFO: Extracted packet for processing {"connection_id":148880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe74"} 
[2026-08-01 23:26:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115249408001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:26:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785606744000,"timestamp_ms":1785606744000,"timestamp_seconds":1785606744,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe74a7c0"} 
[2026-08-01 23:26:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:26:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-01 23:26:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:26:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:26:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:26:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115249408001,"66":25625,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115249408001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:26:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:26:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:26:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115249408001,"power":25625,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":148880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:26:21] local.INFO: GPS data processed {"connection_id":148880,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:26:21] local.INFO: Acknowledgment sent {"connection_id":148880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:26:43] local.INFO: TCP Data received {"connection_id":146323,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:26:43] local.INFO: Processing buffer {"connection_id":146323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:26:43] local.INFO: IMEI packet received {"connection_id":146323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":146323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:26:48] local.INFO: TCP Data received {"connection_id":146323,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:26:48] local.INFO: Processing buffer {"connection_id":146323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:26:48] local.INFO: IMEI packet received {"connection_id":146323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":146323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:26:49] local.INFO: TCP Data received {"connection_id":146323,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe74a7c0012cc330c007685b20005a00cd26..."} 
[2026-08-01 23:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe74a7c0012cc330c007685b20005a00cd26..."} 
[2026-08-01 23:26:49] local.INFO: Processing buffer {"connection_id":146323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe74a7c0012cc330c007685b20005a00cd26..."} 
[2026-08-01 23:26:49] local.INFO: Packet analysis {"connection_id":146323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe74"} 
[2026-08-01 23:26:49] local.INFO: Extracted packet for processing {"connection_id":146323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe74"} 
[2026-08-01 23:26:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115249408001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:26:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:26:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785606744000,"timestamp_ms":1785606744000,"timestamp_seconds":1785606744,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe74a7c0"} 
[2026-08-01 23:26:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:26:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-01 23:26:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:26:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:26:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:26:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115249408001,"66":25625,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115249408001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:26:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:26:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:26:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115249408001,"power":25625,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":146323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:26:49] local.INFO: GPS data processed {"connection_id":146323,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:26:49] local.INFO: Acknowledgment sent {"connection_id":146323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:27:22] local.INFO: TCP Data received {"connection_id":146323,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe74a7c0012cc330c007685b20005a00cd26..."} 
[2026-08-01 23:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe74a7c0012cc330c007685b20005a00cd26..."} 
[2026-08-01 23:27:22] local.INFO: Processing buffer {"connection_id":146323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe74a7c0012cc330c007685b20005a00cd26..."} 
[2026-08-01 23:27:22] local.INFO: Packet analysis {"connection_id":146323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe74"} 
[2026-08-01 23:27:22] local.INFO: Extracted packet for processing {"connection_id":146323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe74"} 
[2026-08-01 23:27:22] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115249408001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:27:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:27:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785606744000,"timestamp_ms":1785606744000,"timestamp_seconds":1785606744,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe74a7c0"} 
[2026-08-01 23:27:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:27:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-01 23:27:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:27:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:27:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:27:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115249408001,"66":25625,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115249408001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:27:22] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:27:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:27:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:27:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115249408001,"power":25625,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":146323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:27:22] local.INFO: GPS data processed {"connection_id":146323,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:27:22] local.INFO: Acknowledgment sent {"connection_id":146323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:27:43] local.INFO: TCP Data received {"connection_id":147558,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:27:43] local.INFO: Processing buffer {"connection_id":147558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:27:43] local.INFO: IMEI packet received {"connection_id":147558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":147558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:27:48] local.INFO: TCP Data received {"connection_id":147558,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:27:48] local.INFO: Processing buffer {"connection_id":147558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:27:48] local.INFO: IMEI packet received {"connection_id":147558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":147558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:27:49] local.INFO: TCP Data received {"connection_id":147558,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe74a7c0012cc330c007685b20005a00cd26..."} 
[2026-08-01 23:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe74a7c0012cc330c007685b20005a00cd26..."} 
[2026-08-01 23:27:49] local.INFO: Processing buffer {"connection_id":147558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe74a7c0012cc330c007685b20005a00cd26..."} 
[2026-08-01 23:27:49] local.INFO: Packet analysis {"connection_id":147558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe74"} 
[2026-08-01 23:27:49] local.INFO: Extracted packet for processing {"connection_id":147558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe74"} 
[2026-08-01 23:27:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115249408001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:27:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:27:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785606744000,"timestamp_ms":1785606744000,"timestamp_seconds":1785606744,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe74a7c0"} 
[2026-08-01 23:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:27:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-01 23:27:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:27:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:27:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115249408001,"66":25625,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115249408001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:27:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:27:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:27:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115249408001,"power":25625,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":147558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:27:49] local.INFO: GPS data processed {"connection_id":147558,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:27:49] local.INFO: Acknowledgment sent {"connection_id":147558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:28:20] local.INFO: TCP Data received {"connection_id":147558,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe793f88012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe793f88012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:28:20] local.INFO: Processing buffer {"connection_id":147558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe793f88012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:28:20] local.INFO: Packet analysis {"connection_id":147558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe79"} 
[2026-08-01 23:28:20] local.INFO: Extracted packet for processing {"connection_id":147558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe79"} 
[2026-08-01 23:28:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23: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-08-01 23:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115326464001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:28:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785607045000,"timestamp_ms":1785607045000,"timestamp_seconds":1785607045,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe793f88"} 
[2026-08-01 23:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 23:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23: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-08-01 23:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:28:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115326464001,"66":25702,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115326464001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:28:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:28:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:28:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115326464001,"power":25702,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":147558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:28:20] local.INFO: GPS data processed {"connection_id":147558,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:28:20] local.INFO: Acknowledgment sent {"connection_id":147558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:28:43] local.INFO: TCP Data received {"connection_id":146324,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:28:43] local.INFO: Processing buffer {"connection_id":146324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:28:43] local.INFO: IMEI packet received {"connection_id":146324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":146324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:28:48] local.INFO: TCP Data received {"connection_id":146324,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:28:48] local.INFO: Processing buffer {"connection_id":146324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:28:48] local.INFO: IMEI packet received {"connection_id":146324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":146324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:28:50] local.INFO: TCP Data received {"connection_id":146324,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe793f88012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe793f88012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:28:50] local.INFO: Processing buffer {"connection_id":146324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe793f88012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:28:50] local.INFO: Packet analysis {"connection_id":146324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe79"} 
[2026-08-01 23:28:50] local.INFO: Extracted packet for processing {"connection_id":146324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe79"} 
[2026-08-01 23:28:50] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23: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-08-01 23:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115326464001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:28:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:28:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785607045000,"timestamp_ms":1785607045000,"timestamp_seconds":1785607045,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe793f88"} 
[2026-08-01 23:28:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:28:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 23:28:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23: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-08-01 23:28:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:28:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115326464001,"66":25702,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115326464001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:28:50] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:28:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:28:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115326464001,"power":25702,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":146324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:28:50] local.INFO: GPS data processed {"connection_id":146324,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:28:50] local.INFO: Acknowledgment sent {"connection_id":146324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:29:22] local.INFO: TCP Data received {"connection_id":146324,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe793f88012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe793f88012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:29:22] local.INFO: Processing buffer {"connection_id":146324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe793f88012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:29:22] local.INFO: Packet analysis {"connection_id":146324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe79"} 
[2026-08-01 23:29:22] local.INFO: Extracted packet for processing {"connection_id":146324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe79"} 
[2026-08-01 23:29:22] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115326464001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:29:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:29:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:29:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:29:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785607045000,"timestamp_ms":1785607045000,"timestamp_seconds":1785607045,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe793f88"} 
[2026-08-01 23:29:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:29:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 23:29:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:29:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:29:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:29:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:29:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:29:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:29:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:29:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:29:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:29:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:29:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115326464001,"66":25702,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:29:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:29:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:29:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115326464001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:29:22] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:29:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:29:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:29:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:29:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115326464001,"power":25702,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:29:22] local.INFO: DEBUG: GPS processor result {"connection_id":146324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:29:22] local.INFO: GPS data processed {"connection_id":146324,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:29:22] local.INFO: Acknowledgment sent {"connection_id":146324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:29:43] local.INFO: TCP Data received {"connection_id":147559,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:29:43] local.INFO: Processing buffer {"connection_id":147559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:29:43] local.INFO: IMEI packet received {"connection_id":147559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":147559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:29:48] local.INFO: TCP Data received {"connection_id":147559,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:29:48] local.INFO: Processing buffer {"connection_id":147559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:29:48] local.INFO: IMEI packet received {"connection_id":147559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":147559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:29:49] local.INFO: TCP Data received {"connection_id":147559,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe793f88012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe793f88012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:29:49] local.INFO: Processing buffer {"connection_id":147559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe793f88012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:29:49] local.INFO: Packet analysis {"connection_id":147559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe79"} 
[2026-08-01 23:29:49] local.INFO: Extracted packet for processing {"connection_id":147559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe79"} 
[2026-08-01 23:29:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23: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-08-01 23:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115326464001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:29:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:29:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785607045000,"timestamp_ms":1785607045000,"timestamp_seconds":1785607045,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe793f88"} 
[2026-08-01 23:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:29:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 23:29:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23: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-08-01 23:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115326464001,"66":25702,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115326464001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:29:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:29:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:29:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115326464001,"power":25702,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":147559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:29:49] local.INFO: GPS data processed {"connection_id":147559,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:29:49] local.INFO: Acknowledgment sent {"connection_id":147559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:30:21] local.INFO: TCP Data received {"connection_id":147559,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe793f88012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe793f88012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:30:21] local.INFO: Processing buffer {"connection_id":147559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe793f88012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:30:21] local.INFO: Packet analysis {"connection_id":147559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe79"} 
[2026-08-01 23:30:21] local.INFO: Extracted packet for processing {"connection_id":147559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe79"} 
[2026-08-01 23:30:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115326464001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:30:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785607045000,"timestamp_ms":1785607045000,"timestamp_seconds":1785607045,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe793f88"} 
[2026-08-01 23:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:30:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 23:30:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:30:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:30:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115326464001,"66":25702,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115326464001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:30:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:30:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:30:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115326464001,"power":25702,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":147559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:30:21] local.INFO: GPS data processed {"connection_id":147559,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:30:21] local.INFO: Acknowledgment sent {"connection_id":147559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:30:43] local.INFO: TCP Data received {"connection_id":146559,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:30:43] local.INFO: Processing buffer {"connection_id":146559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:30:43] local.INFO: IMEI packet received {"connection_id":146559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":146559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:30:50] local.INFO: TCP Data received {"connection_id":146559,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:30:50] local.INFO: Processing buffer {"connection_id":146559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:30:50] local.INFO: IMEI packet received {"connection_id":146559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":146559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:30:52] local.INFO: TCP Data received {"connection_id":146559,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe793f88012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe793f88012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:30:52] local.INFO: Processing buffer {"connection_id":146559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe793f88012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:30:52] local.INFO: Packet analysis {"connection_id":146559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe79"} 
[2026-08-01 23:30:52] local.INFO: Extracted packet for processing {"connection_id":146559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe79"} 
[2026-08-01 23:30:52] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115326464001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:30:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785607045000,"timestamp_ms":1785607045000,"timestamp_seconds":1785607045,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe793f88"} 
[2026-08-01 23:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:30:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 23:30:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:30:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":146559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":146559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":146559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:30:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115326464001,"66":25702,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115326464001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:30:52] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:30:52] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:30:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115326464001,"power":25702,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":146559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:30:52] local.INFO: GPS data processed {"connection_id":146559,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:30:52] local.INFO: Acknowledgment sent {"connection_id":146559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:31:23] local.INFO: TCP Data received {"connection_id":146559,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe793f88012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe793f88012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:31:23] local.INFO: Processing buffer {"connection_id":146559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe793f88012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:31:23] local.INFO: Packet analysis {"connection_id":146559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe79"} 
[2026-08-01 23:31:23] local.INFO: Extracted packet for processing {"connection_id":146559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe79"} 
[2026-08-01 23:31:23] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23: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-08-01 23:31:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115326464001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:31:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:31:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:31:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:31:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785607045000,"timestamp_ms":1785607045000,"timestamp_seconds":1785607045,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe793f88"} 
[2026-08-01 23:31:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:31:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 23:31:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23: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-08-01 23:31:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:31:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:31:23] local.INFO: Teltonika packet parsed successfully {"connection_id":146559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:31:23] local.INFO: Passing IMEI to GPS processor {"connection_id":146559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:31:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":146559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:31:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:31:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:31:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:31:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115326464001,"66":25702,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:31:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:31:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:31:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115326464001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:31:23] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:31:23] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:31:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:31:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:31:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115326464001,"power":25702,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:31:23] local.INFO: DEBUG: GPS processor result {"connection_id":146559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:31:23] local.INFO: GPS data processed {"connection_id":146559,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:31:23] local.INFO: Acknowledgment sent {"connection_id":146559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:31:48] local.INFO: TCP Data received {"connection_id":147560,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:31:48] local.INFO: Processing buffer {"connection_id":147560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:31:48] local.INFO: IMEI packet received {"connection_id":147560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":147560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:31:53] local.INFO: TCP Data received {"connection_id":147560,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:31:53] local.INFO: Processing buffer {"connection_id":147560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:31:53] local.INFO: IMEI packet received {"connection_id":147560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":147560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:31:55] local.INFO: TCP Data received {"connection_id":147560,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe793f88012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe793f88012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:31:55] local.INFO: Processing buffer {"connection_id":147560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe793f88012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:31:55] local.INFO: Packet analysis {"connection_id":147560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe79"} 
[2026-08-01 23:31:55] local.INFO: Extracted packet for processing {"connection_id":147560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe79"} 
[2026-08-01 23:31:55] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115326464001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:31:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785607045000,"timestamp_ms":1785607045000,"timestamp_seconds":1785607045,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe793f88"} 
[2026-08-01 23:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:31:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 23:31:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:31:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":147560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":147560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":147560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115326464001,"66":25702,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115326464001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:31:55] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:31:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:31:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115326464001,"power":25702,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":147560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:31:55] local.INFO: GPS data processed {"connection_id":147560,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:31:55] local.INFO: Acknowledgment sent {"connection_id":147560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:31:59] local.INFO: TCP Data received {"connection_id":147560,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe793f88012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe793f88012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:31:59] local.INFO: Processing buffer {"connection_id":147560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe793f88012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:31:59] local.INFO: Packet analysis {"connection_id":147560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe79"} 
[2026-08-01 23:31:59] local.INFO: Extracted packet for processing {"connection_id":147560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe79"} 
[2026-08-01 23:31:59] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 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-08-01 23:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115326464001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:31:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:31:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785607045000,"timestamp_ms":1785607045000,"timestamp_seconds":1785607045,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe793f88"} 
[2026-08-01 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-08-01 23:31: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-08-01 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 23:31: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-08-01 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-08-01 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-08-01 23:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":147560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":147560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":147560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:31:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115326464001,"66":25702,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115326464001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:31:59] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:31:59] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:31:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115326464001,"power":25702,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":147560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:31:59] local.INFO: GPS data processed {"connection_id":147560,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:31:59] local.INFO: Acknowledgment sent {"connection_id":147560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:32:43] local.INFO: TCP Data received {"connection_id":148881,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:32:43] local.INFO: Processing buffer {"connection_id":148881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:32:43] local.INFO: IMEI packet received {"connection_id":148881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":148881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:32:55] local.INFO: TCP Data received {"connection_id":148881,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:32:55] local.INFO: Processing buffer {"connection_id":148881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:32:55] local.INFO: IMEI packet received {"connection_id":148881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":148881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:33:03] local.INFO: TCP Data received {"connection_id":148881,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe793f88012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe793f88012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:33:03] local.INFO: Processing buffer {"connection_id":148881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe793f88012cc330c007685b20005a00cd2a..."} 
[2026-08-01 23:33:03] local.INFO: Packet analysis {"connection_id":148881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe79"} 
[2026-08-01 23:33:03] local.INFO: Extracted packet for processing {"connection_id":148881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe79"} 
[2026-08-01 23:33:03] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115326464001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:33:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785607045000,"timestamp_ms":1785607045000,"timestamp_seconds":1785607045,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe793f88"} 
[2026-08-01 23:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:33: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-08-01 23:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 23:33: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-08-01 23:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":148881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":148881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":148881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115326464001,"66":25702,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115326464001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:33:03] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:33:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:33:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115326464001,"power":25702,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":148881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:33:03] local.INFO: GPS data processed {"connection_id":148881,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:33:03] local.INFO: Acknowledgment sent {"connection_id":148881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:33:43] local.INFO: TCP Data received {"connection_id":146325,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:33:43] local.INFO: Processing buffer {"connection_id":146325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:33:43] local.INFO: IMEI packet received {"connection_id":146325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":146325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:33:48] local.INFO: TCP Data received {"connection_id":146325,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:33:48] local.INFO: Processing buffer {"connection_id":146325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:33:48] local.INFO: IMEI packet received {"connection_id":146325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":146325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:33:50] local.INFO: TCP Data received {"connection_id":146325,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe7dd750012cc330c007685b20005a00cd29..."} 
[2026-08-01 23:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe7dd750012cc330c007685b20005a00cd29..."} 
[2026-08-01 23:33:50] local.INFO: Processing buffer {"connection_id":146325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe7dd750012cc330c007685b20005a00cd29..."} 
[2026-08-01 23:33:50] local.INFO: Packet analysis {"connection_id":146325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe7d"} 
[2026-08-01 23:33:50] local.INFO: Extracted packet for processing {"connection_id":146325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe7d"} 
[2026-08-01 23:33:50] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:33:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:33:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115403520001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:33:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:33:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:33:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:33:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785607346000,"timestamp_ms":1785607346000,"timestamp_seconds":1785607346,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe7dd750"} 
[2026-08-01 23:33:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:33:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:33:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-01 23:33:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:33:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:33:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:33:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:33:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:33:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:33:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:33:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:33:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:33:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:33:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115403520001,"66":25625,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:33:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:33:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:33:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115403520001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:33:50] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:33:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:33:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:33:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:33:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115403520001,"power":25625,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:33:50] local.INFO: DEBUG: GPS processor result {"connection_id":146325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:33:50] local.INFO: GPS data processed {"connection_id":146325,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:33:50] local.INFO: Acknowledgment sent {"connection_id":146325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:34:22] local.INFO: TCP Data received {"connection_id":146325,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe7dd750012cc330c007685b20005a00cd29..."} 
[2026-08-01 23:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe7dd750012cc330c007685b20005a00cd29..."} 
[2026-08-01 23:34:22] local.INFO: Processing buffer {"connection_id":146325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe7dd750012cc330c007685b20005a00cd29..."} 
[2026-08-01 23:34:22] local.INFO: Packet analysis {"connection_id":146325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe7d"} 
[2026-08-01 23:34:22] local.INFO: Extracted packet for processing {"connection_id":146325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe7d"} 
[2026-08-01 23:34:22] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23: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-08-01 23:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115403520001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:34:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785607346000,"timestamp_ms":1785607346000,"timestamp_seconds":1785607346,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe7dd750"} 
[2026-08-01 23:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:34:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-01 23:34:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23: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-08-01 23:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:34:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115403520001,"66":25625,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115403520001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:34:22] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:34:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:34:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115403520001,"power":25625,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":146325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:34:22] local.INFO: GPS data processed {"connection_id":146325,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:34:22] local.INFO: Acknowledgment sent {"connection_id":146325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:34:48] local.INFO: TCP Data received {"connection_id":148882,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:34:48] local.INFO: Processing buffer {"connection_id":148882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:34:48] local.INFO: IMEI packet received {"connection_id":148882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":148882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:34:53] local.INFO: TCP Data received {"connection_id":148882,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:34:53] local.INFO: Processing buffer {"connection_id":148882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:34:53] local.INFO: IMEI packet received {"connection_id":148882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":148882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:34:54] local.INFO: TCP Data received {"connection_id":148882,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe7dd750012cc330c007685b20005a00cd29..."} 
[2026-08-01 23:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe7dd750012cc330c007685b20005a00cd29..."} 
[2026-08-01 23:34:54] local.INFO: Processing buffer {"connection_id":148882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe7dd750012cc330c007685b20005a00cd29..."} 
[2026-08-01 23:34:54] local.INFO: Packet analysis {"connection_id":148882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe7d"} 
[2026-08-01 23:34:54] local.INFO: Extracted packet for processing {"connection_id":148882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe7d"} 
[2026-08-01 23:34:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115403520001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:34:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:34:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785607346000,"timestamp_ms":1785607346000,"timestamp_seconds":1785607346,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe7dd750"} 
[2026-08-01 23:34:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:34:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-01 23:34:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:34:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:34:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:34:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115403520001,"66":25625,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115403520001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:34:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:34:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:34:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115403520001,"power":25625,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":148882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:34:54] local.INFO: GPS data processed {"connection_id":148882,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:34:54] local.INFO: Acknowledgment sent {"connection_id":148882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:34:59] local.INFO: TCP Data received {"connection_id":148882,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe7dd750012cc330c007685b20005a00cd29..."} 
[2026-08-01 23:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe7dd750012cc330c007685b20005a00cd29..."} 
[2026-08-01 23:34:59] local.INFO: Processing buffer {"connection_id":148882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe7dd750012cc330c007685b20005a00cd29..."} 
[2026-08-01 23:34:59] local.INFO: Packet analysis {"connection_id":148882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe7d"} 
[2026-08-01 23:34:59] local.INFO: Extracted packet for processing {"connection_id":148882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe7d"} 
[2026-08-01 23:34:59] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 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-08-01 23:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115403520001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:34:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:34:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785607346000,"timestamp_ms":1785607346000,"timestamp_seconds":1785607346,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe7dd750"} 
[2026-08-01 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-08-01 23:34: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-08-01 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-01 23:34: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-08-01 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-08-01 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-08-01 23:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":148882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":148882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":148882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:34:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115403520001,"66":25625,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115403520001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:34:59] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:34:59] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:34:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115403520001,"power":25625,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":148882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:34:59] local.INFO: GPS data processed {"connection_id":148882,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:34:59] local.INFO: Acknowledgment sent {"connection_id":148882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:35:43] local.INFO: TCP Data received {"connection_id":146560,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:35:43] local.INFO: Processing buffer {"connection_id":146560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:35:43] local.INFO: IMEI packet received {"connection_id":146560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":146560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:35:48] local.INFO: TCP Data received {"connection_id":146560,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:35:48] local.INFO: Processing buffer {"connection_id":146560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:35:48] local.INFO: IMEI packet received {"connection_id":146560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":146560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:35:49] local.INFO: TCP Data received {"connection_id":146560,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe7dd750012cc330c007685b20005a00cd29..."} 
[2026-08-01 23:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe7dd750012cc330c007685b20005a00cd29..."} 
[2026-08-01 23:35:49] local.INFO: Processing buffer {"connection_id":146560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe7dd750012cc330c007685b20005a00cd29..."} 
[2026-08-01 23:35:49] local.INFO: Packet analysis {"connection_id":146560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe7d"} 
[2026-08-01 23:35:49] local.INFO: Extracted packet for processing {"connection_id":146560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe7d"} 
[2026-08-01 23:35:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23: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-08-01 23:35:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115403520001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:35:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:35:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:35:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:35:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785607346000,"timestamp_ms":1785607346000,"timestamp_seconds":1785607346,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe7dd750"} 
[2026-08-01 23:35:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:35:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-01 23:35:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23: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-08-01 23:35:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:35:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:35:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:35:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:35:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:35:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:35:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:35:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:35:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115403520001,"66":25625,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:35:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:35:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:35:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115403520001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:35:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:35:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:35:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:35:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:35:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115403520001,"power":25625,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":146560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:35:50] local.INFO: GPS data processed {"connection_id":146560,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:35:50] local.INFO: Acknowledgment sent {"connection_id":146560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:36:23] local.INFO: TCP Data received {"connection_id":146560,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe7dd750012cc330c007685b20005a00cd29..."} 
[2026-08-01 23:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe7dd750012cc330c007685b20005a00cd29..."} 
[2026-08-01 23:36:23] local.INFO: Processing buffer {"connection_id":146560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe7dd750012cc330c007685b20005a00cd29..."} 
[2026-08-01 23:36:23] local.INFO: Packet analysis {"connection_id":146560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe7d"} 
[2026-08-01 23:36:23] local.INFO: Extracted packet for processing {"connection_id":146560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe7d"} 
[2026-08-01 23:36:23] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23: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-08-01 23:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115403520001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:36:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:36:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1785607346000,"timestamp_ms":1785607346000,"timestamp_seconds":1785607346,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe7dd750"} 
[2026-08-01 23:36:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:36:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-01 23:36:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23: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-08-01 23:36:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":146560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":146560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":146560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:36:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115403520001,"66":25625,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115403520001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:36:23] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:36:23] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:36:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115403520001,"power":25625,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":146560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:36:23] local.INFO: GPS data processed {"connection_id":146560,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:36:23] local.INFO: Acknowledgment sent {"connection_id":146560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:36:43] local.INFO: TCP Data received {"connection_id":147561,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:36:43] local.INFO: Processing buffer {"connection_id":147561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:36:43] local.INFO: IMEI packet received {"connection_id":147561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:36:43] local.INFO: IMEI acknowledgment sent {"connection_id":147561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:36:48] local.INFO: TCP Data received {"connection_id":147561,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:36:48] local.INFO: Processing buffer {"connection_id":147561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:36:48] local.INFO: IMEI packet received {"connection_id":147561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":147561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:36:50] local.INFO: TCP Data received {"connection_id":147561,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe7dd750012cc330c007685b20005a00cd29..."} 
[2026-08-01 23:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe7dd750012cc330c007685b20005a00cd29..."} 
[2026-08-01 23:36:50] local.INFO: Processing buffer {"connection_id":147561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe7dd750012cc330c007685b20005a00cd29..."} 
[2026-08-01 23:36:50] local.INFO: Packet analysis {"connection_id":147561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe7d"} 
[2026-08-01 23:36:50] local.INFO: Extracted packet for processing {"connection_id":147561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe7d"} 
[2026-08-01 23:36:50] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:36:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115403520001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:36:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:36:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:36:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:36:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785607346000,"timestamp_ms":1785607346000,"timestamp_seconds":1785607346,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe7dd750"} 
[2026-08-01 23:36:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:36:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-01 23:36:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:36:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:36:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:36:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:36:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:36:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:36:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:36:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:36:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:36:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:36:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115403520001,"66":25625,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:36:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:36:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:36:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115403520001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:36:50] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:36:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:36:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:36:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:36:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115403520001,"power":25625,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:36:50] local.INFO: DEBUG: GPS processor result {"connection_id":147561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:36:50] local.INFO: GPS data processed {"connection_id":147561,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:36:50] local.INFO: Acknowledgment sent {"connection_id":147561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:37:21] local.INFO: TCP Data received {"connection_id":147561,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe7dd750012cc330c007685b20005a00cd29..."} 
[2026-08-01 23:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe7dd750012cc330c007685b20005a00cd29..."} 
[2026-08-01 23:37:21] local.INFO: Processing buffer {"connection_id":147561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe7dd750012cc330c007685b20005a00cd29..."} 
[2026-08-01 23:37:21] local.INFO: Packet analysis {"connection_id":147561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe7d"} 
[2026-08-01 23:37:21] local.INFO: Extracted packet for processing {"connection_id":147561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe7d"} 
[2026-08-01 23:37:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115403520001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:37:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785607346000,"timestamp_ms":1785607346000,"timestamp_seconds":1785607346,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe7dd750"} 
[2026-08-01 23:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:37:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-01 23:37:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:37:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115403520001,"66":25625,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115403520001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:37:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:37:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:37:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115403520001,"power":25625,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":147561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:37:21] local.INFO: GPS data processed {"connection_id":147561,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:37:21] local.INFO: Acknowledgment sent {"connection_id":147561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:37:43] local.INFO: TCP Data received {"connection_id":148883,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:37:43] local.INFO: Processing buffer {"connection_id":148883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:37:43] local.INFO: IMEI packet received {"connection_id":148883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":148883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:37:48] local.INFO: TCP Data received {"connection_id":148883,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:37:48] local.INFO: Processing buffer {"connection_id":148883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:37:48] local.INFO: IMEI packet received {"connection_id":148883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":148883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:37:49] local.INFO: TCP Data received {"connection_id":148883,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe7dd750012cc330c007685b20005a00cd29..."} 
[2026-08-01 23:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe7dd750012cc330c007685b20005a00cd29..."} 
[2026-08-01 23:37:49] local.INFO: Processing buffer {"connection_id":148883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe7dd750012cc330c007685b20005a00cd29..."} 
[2026-08-01 23:37:49] local.INFO: Packet analysis {"connection_id":148883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe7d"} 
[2026-08-01 23:37:49] local.INFO: Extracted packet for processing {"connection_id":148883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe7d"} 
[2026-08-01 23:37:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115403520001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:37:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:37:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785607346000,"timestamp_ms":1785607346000,"timestamp_seconds":1785607346,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe7dd750"} 
[2026-08-01 23:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:37:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-01 23:37:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:37:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115403520001,"66":25625,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115403520001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:37:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:37:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:37:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115403520001,"power":25625,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":148883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:37:49] local.INFO: GPS data processed {"connection_id":148883,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:37:49] local.INFO: Acknowledgment sent {"connection_id":148883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:38:21] local.INFO: TCP Data received {"connection_id":148883,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe826f18012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe826f18012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:38:21] local.INFO: Processing buffer {"connection_id":148883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe826f18012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:38:21] local.INFO: Packet analysis {"connection_id":148883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe82"} 
[2026-08-01 23:38:21] local.INFO: Extracted packet for processing {"connection_id":148883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe82"} 
[2026-08-01 23:38:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115480576001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:38:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:38:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785607647000,"timestamp_ms":1785607647000,"timestamp_seconds":1785607647,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe826f18"} 
[2026-08-01 23:38:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:38:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 23:38:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:38:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:38:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:38:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115480576001,"66":25691,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115480576001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:38:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:38:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:38:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115480576001,"power":25691,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":148883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:38:21] local.INFO: GPS data processed {"connection_id":148883,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:38:21] local.INFO: Acknowledgment sent {"connection_id":148883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:38:48] local.INFO: TCP Data received {"connection_id":146326,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:38:48] local.INFO: Processing buffer {"connection_id":146326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:38:48] local.INFO: IMEI packet received {"connection_id":146326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":146326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:38:53] local.INFO: TCP Data received {"connection_id":146326,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:38:53] local.INFO: Processing buffer {"connection_id":146326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:38:53] local.INFO: IMEI packet received {"connection_id":146326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":146326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:38:54] local.INFO: TCP Data received {"connection_id":146326,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe826f18012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe826f18012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:38:54] local.INFO: Processing buffer {"connection_id":146326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe826f18012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:38:54] local.INFO: Packet analysis {"connection_id":146326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe82"} 
[2026-08-01 23:38:54] local.INFO: Extracted packet for processing {"connection_id":146326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe82"} 
[2026-08-01 23:38:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115480576001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:38:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:38:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785607647000,"timestamp_ms":1785607647000,"timestamp_seconds":1785607647,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe826f18"} 
[2026-08-01 23:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:38:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 23:38:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:38:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:38:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115480576001,"66":25691,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115480576001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:38:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:38:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:38:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115480576001,"power":25691,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":146326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:38:54] local.INFO: GPS data processed {"connection_id":146326,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:38:54] local.INFO: Acknowledgment sent {"connection_id":146326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:38:58] local.INFO: TCP Data received {"connection_id":146326,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe826f18012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe826f18012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:38:58] local.INFO: Processing buffer {"connection_id":146326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe826f18012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:38:58] local.INFO: Packet analysis {"connection_id":146326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe82"} 
[2026-08-01 23:38:58] local.INFO: Extracted packet for processing {"connection_id":146326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe82"} 
[2026-08-01 23:38:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115480576001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:38:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:38:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785607647000,"timestamp_ms":1785607647000,"timestamp_seconds":1785607647,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe826f18"} 
[2026-08-01 23:38:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:38:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 23:38:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:38:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:38:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":146326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":146326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":146326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:38:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115480576001,"66":25691,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115480576001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:38:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:38:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:38:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115480576001,"power":25691,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":146326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:38:58] local.INFO: GPS data processed {"connection_id":146326,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:38:58] local.INFO: Acknowledgment sent {"connection_id":146326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:39:43] local.INFO: TCP Data received {"connection_id":147562,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:39:43] local.INFO: Processing buffer {"connection_id":147562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:39:43] local.INFO: IMEI packet received {"connection_id":147562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":147562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:39:48] local.INFO: TCP Data received {"connection_id":147562,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:39:48] local.INFO: Processing buffer {"connection_id":147562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:39:48] local.INFO: IMEI packet received {"connection_id":147562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":147562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:39:49] local.INFO: TCP Data received {"connection_id":147562,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe826f18012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe826f18012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:39:49] local.INFO: Processing buffer {"connection_id":147562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe826f18012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:39:49] local.INFO: Packet analysis {"connection_id":147562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe82"} 
[2026-08-01 23:39:49] local.INFO: Extracted packet for processing {"connection_id":147562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe82"} 
[2026-08-01 23:39:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115480576001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:39:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:39:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785607647000,"timestamp_ms":1785607647000,"timestamp_seconds":1785607647,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe826f18"} 
[2026-08-01 23:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:39:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 23:39:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:39:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:39:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115480576001,"66":25691,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115480576001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:39:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:39:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:39:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115480576001,"power":25691,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":147562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:39:49] local.INFO: GPS data processed {"connection_id":147562,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:39:49] local.INFO: Acknowledgment sent {"connection_id":147562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:40:21] local.INFO: TCP Data received {"connection_id":147562,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe826f18012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe826f18012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:40:21] local.INFO: Processing buffer {"connection_id":147562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe826f18012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:40:21] local.INFO: Packet analysis {"connection_id":147562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe82"} 
[2026-08-01 23:40:21] local.INFO: Extracted packet for processing {"connection_id":147562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe82"} 
[2026-08-01 23:40:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23: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-08-01 23:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115480576001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:40:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785607647000,"timestamp_ms":1785607647000,"timestamp_seconds":1785607647,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe826f18"} 
[2026-08-01 23:40:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:40:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 23:40:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23: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-08-01 23:40:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:40:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115480576001,"66":25691,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115480576001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:40:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:40:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:40:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115480576001,"power":25691,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":147562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:40:21] local.INFO: GPS data processed {"connection_id":147562,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:40:21] local.INFO: Acknowledgment sent {"connection_id":147562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:40:43] local.INFO: TCP Data received {"connection_id":146327,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:40:43] local.INFO: Processing buffer {"connection_id":146327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:40:43] local.INFO: IMEI packet received {"connection_id":146327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":146327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:40:48] local.INFO: TCP Data received {"connection_id":146327,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:40:48] local.INFO: Processing buffer {"connection_id":146327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:40:48] local.INFO: IMEI packet received {"connection_id":146327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":146327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:40:49] local.INFO: TCP Data received {"connection_id":146327,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe826f18012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe826f18012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:40:49] local.INFO: Processing buffer {"connection_id":146327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe826f18012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:40:49] local.INFO: Packet analysis {"connection_id":146327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe82"} 
[2026-08-01 23:40:49] local.INFO: Extracted packet for processing {"connection_id":146327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe82"} 
[2026-08-01 23:40:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115480576001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:40:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:40:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785607647000,"timestamp_ms":1785607647000,"timestamp_seconds":1785607647,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe826f18"} 
[2026-08-01 23:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:40:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 23:40:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:40:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:40:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115480576001,"66":25691,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115480576001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:40:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:40:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:40:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115480576001,"power":25691,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":146327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:40:49] local.INFO: GPS data processed {"connection_id":146327,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:40:49] local.INFO: Acknowledgment sent {"connection_id":146327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:41:20] local.INFO: TCP Data received {"connection_id":146327,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe826f18012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe826f18012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:41:20] local.INFO: Processing buffer {"connection_id":146327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe826f18012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:41:20] local.INFO: Packet analysis {"connection_id":146327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe82"} 
[2026-08-01 23:41:20] local.INFO: Extracted packet for processing {"connection_id":146327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe82"} 
[2026-08-01 23:41:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115480576001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:41:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785607647000,"timestamp_ms":1785607647000,"timestamp_seconds":1785607647,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe826f18"} 
[2026-08-01 23:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:41:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 23:41:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:41:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":146327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":146327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":146327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:41:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115480576001,"66":25691,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115480576001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:41:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:41:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:41:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115480576001,"power":25691,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":146327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:41:20] local.INFO: GPS data processed {"connection_id":146327,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:41:20] local.INFO: Acknowledgment sent {"connection_id":146327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:41:43] local.INFO: TCP Data received {"connection_id":148884,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:41:43] local.INFO: Processing buffer {"connection_id":148884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:41:43] local.INFO: IMEI packet received {"connection_id":148884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":148884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:41:48] local.INFO: TCP Data received {"connection_id":148884,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:41:48] local.INFO: Processing buffer {"connection_id":148884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:41:48] local.INFO: IMEI packet received {"connection_id":148884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":148884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:41:49] local.INFO: TCP Data received {"connection_id":148884,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe826f18012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe826f18012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:41:49] local.INFO: Processing buffer {"connection_id":148884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe826f18012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:41:49] local.INFO: Packet analysis {"connection_id":148884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe82"} 
[2026-08-01 23:41:49] local.INFO: Extracted packet for processing {"connection_id":148884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe82"} 
[2026-08-01 23:41:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:41:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115480576001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:41:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:41:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785607647000,"timestamp_ms":1785607647000,"timestamp_seconds":1785607647,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe826f18"} 
[2026-08-01 23:41:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:41:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 23:41:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:41:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:41:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:41:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:41:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115480576001,"66":25691,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:41:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:41:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:41:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115480576001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:41:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:41:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:41:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:41:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:41:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115480576001,"power":25691,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":148884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:41:49] local.INFO: GPS data processed {"connection_id":148884,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:41:49] local.INFO: Acknowledgment sent {"connection_id":148884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:42:21] local.INFO: TCP Data received {"connection_id":148884,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe826f18012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe826f18012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:42:21] local.INFO: Processing buffer {"connection_id":148884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe826f18012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:42:21] local.INFO: Packet analysis {"connection_id":148884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe82"} 
[2026-08-01 23:42:21] local.INFO: Extracted packet for processing {"connection_id":148884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe82"} 
[2026-08-01 23:42:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23: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-08-01 23:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115480576001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:42:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:42:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785607647000,"timestamp_ms":1785607647000,"timestamp_seconds":1785607647,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe826f18"} 
[2026-08-01 23:42:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:42:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 23:42:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23: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-08-01 23:42:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:42:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115480576001,"66":25691,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:42:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115480576001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:42:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:42:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:42:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:42:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:42:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115480576001,"power":25691,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":148884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:42:21] local.INFO: GPS data processed {"connection_id":148884,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:42:21] local.INFO: Acknowledgment sent {"connection_id":148884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:42:43] local.INFO: TCP Data received {"connection_id":146328,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:42:43] local.INFO: Processing buffer {"connection_id":146328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:42:43] local.INFO: IMEI packet received {"connection_id":146328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":146328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:42:48] local.INFO: TCP Data received {"connection_id":146328,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:42:48] local.INFO: Processing buffer {"connection_id":146328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:42:48] local.INFO: IMEI packet received {"connection_id":146328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":146328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:42:50] local.INFO: TCP Data received {"connection_id":146328,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe826f18012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe826f18012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:42:50] local.INFO: Processing buffer {"connection_id":146328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe826f18012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:42:50] local.INFO: Packet analysis {"connection_id":146328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe82"} 
[2026-08-01 23:42:50] local.INFO: Extracted packet for processing {"connection_id":146328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe82"} 
[2026-08-01 23:42:50] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23: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-08-01 23:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115480576001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:42:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785607647000,"timestamp_ms":1785607647000,"timestamp_seconds":1785607647,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe826f18"} 
[2026-08-01 23:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-01 23:42:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23: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-08-01 23:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115480576001,"66":25691,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115480576001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:42:50] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:42:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:42:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115480576001,"power":25691,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":146328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:42:50] local.INFO: GPS data processed {"connection_id":146328,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:42:50] local.INFO: Acknowledgment sent {"connection_id":146328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:43:21] local.INFO: TCP Data received {"connection_id":146328,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe8706e0012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe8706e0012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:43:21] local.INFO: Processing buffer {"connection_id":146328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe8706e0012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:43:21] local.INFO: Packet analysis {"connection_id":146328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe87"} 
[2026-08-01 23:43:21] local.INFO: Extracted packet for processing {"connection_id":146328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe87"} 
[2026-08-01 23:43:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23: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-08-01 23:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115557632001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:43:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:43:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785607948000,"timestamp_ms":1785607948000,"timestamp_seconds":1785607948,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe8706e0"} 
[2026-08-01 23:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:43:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-01 23:43:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23: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-08-01 23:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:43:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115557632001,"66":25604,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115557632001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:43:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:43:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:43:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115557632001,"power":25604,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":146328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:43:21] local.INFO: GPS data processed {"connection_id":146328,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:43:21] local.INFO: Acknowledgment sent {"connection_id":146328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:43:44] local.INFO: TCP Data received {"connection_id":146561,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:43:44] local.INFO: Processing buffer {"connection_id":146561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:43:44] local.INFO: IMEI packet received {"connection_id":146561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":146561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:43:48] local.INFO: TCP Data received {"connection_id":146561,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:43:48] local.INFO: Processing buffer {"connection_id":146561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:43:48] local.INFO: IMEI packet received {"connection_id":146561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":146561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:43:50] local.INFO: TCP Data received {"connection_id":146561,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe8706e0012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe8706e0012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:43:50] local.INFO: Processing buffer {"connection_id":146561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe8706e0012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:43:50] local.INFO: Packet analysis {"connection_id":146561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe87"} 
[2026-08-01 23:43:50] local.INFO: Extracted packet for processing {"connection_id":146561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe87"} 
[2026-08-01 23:43:50] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115557632001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:43:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:43:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785607948000,"timestamp_ms":1785607948000,"timestamp_seconds":1785607948,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe8706e0"} 
[2026-08-01 23:43:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:43:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-01 23:43:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:43:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:43:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:43:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115557632001,"66":25604,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115557632001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:43:50] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:43:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:43:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115557632001,"power":25604,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":146561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:43:50] local.INFO: GPS data processed {"connection_id":146561,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:43:50] local.INFO: Acknowledgment sent {"connection_id":146561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:43:53] local.INFO: TCP Data received {"connection_id":146561,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe8706e0012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe8706e0012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:43:53] local.INFO: Processing buffer {"connection_id":146561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe8706e0012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:43:53] local.INFO: Packet analysis {"connection_id":146561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe87"} 
[2026-08-01 23:43:53] local.INFO: Extracted packet for processing {"connection_id":146561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe87"} 
[2026-08-01 23:43:53] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115557632001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:43:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:43:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785607948000,"timestamp_ms":1785607948000,"timestamp_seconds":1785607948,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe8706e0"} 
[2026-08-01 23:43:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:43:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-01 23:43:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:43:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:43:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":146561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":146561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":146561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:43:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115557632001,"66":25604,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115557632001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:43:53] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:43:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:43:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115557632001,"power":25604,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":146561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:43:53] local.INFO: GPS data processed {"connection_id":146561,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:43:53] local.INFO: Acknowledgment sent {"connection_id":146561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:44:25] local.INFO: TCP Data received {"connection_id":146561,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe8706e0012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe8706e0012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:44:25] local.INFO: Processing buffer {"connection_id":146561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe8706e0012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:44:25] local.INFO: Packet analysis {"connection_id":146561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe87"} 
[2026-08-01 23:44:25] local.INFO: Extracted packet for processing {"connection_id":146561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe87"} 
[2026-08-01 23:44:25] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23: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-08-01 23:44:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115557632001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:44:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:44:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:44:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:44:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785607948000,"timestamp_ms":1785607948000,"timestamp_seconds":1785607948,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe8706e0"} 
[2026-08-01 23:44:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:44:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-01 23:44:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23: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-08-01 23:44:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:44:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:44:25] local.INFO: Teltonika packet parsed successfully {"connection_id":146561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:44:25] local.INFO: Passing IMEI to GPS processor {"connection_id":146561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:44:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":146561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:44:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:44:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:44:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:44:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115557632001,"66":25604,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:44:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:44:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:44:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115557632001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:44:25] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:44:25] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:44:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:44:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:44:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115557632001,"power":25604,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:44:25] local.INFO: DEBUG: GPS processor result {"connection_id":146561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:44:25] local.INFO: GPS data processed {"connection_id":146561,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:44:25] local.INFO: Acknowledgment sent {"connection_id":146561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:44:43] local.INFO: TCP Data received {"connection_id":147563,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:44:43] local.INFO: Processing buffer {"connection_id":147563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:44:43] local.INFO: IMEI packet received {"connection_id":147563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":147563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:44:48] local.INFO: TCP Data received {"connection_id":147563,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:44:48] local.INFO: Processing buffer {"connection_id":147563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:44:48] local.INFO: IMEI packet received {"connection_id":147563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":147563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:44:49] local.INFO: TCP Data received {"connection_id":147563,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe8706e0012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe8706e0012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:44:49] local.INFO: Processing buffer {"connection_id":147563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe8706e0012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:44:49] local.INFO: Packet analysis {"connection_id":147563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe87"} 
[2026-08-01 23:44:49] local.INFO: Extracted packet for processing {"connection_id":147563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe87"} 
[2026-08-01 23:44:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23: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-08-01 23:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115557632001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:44:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:44:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785607948000,"timestamp_ms":1785607948000,"timestamp_seconds":1785607948,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe8706e0"} 
[2026-08-01 23:44:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:44:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-01 23:44:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23: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-08-01 23:44:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:44:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115557632001,"66":25604,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115557632001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:44:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:44:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:44:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:44:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115557632001,"power":25604,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":147563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:44:49] local.INFO: GPS data processed {"connection_id":147563,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:44:49] local.INFO: Acknowledgment sent {"connection_id":147563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:45:20] local.INFO: TCP Data received {"connection_id":147563,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe8706e0012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe8706e0012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:45:20] local.INFO: Processing buffer {"connection_id":147563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe8706e0012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:45:20] local.INFO: Packet analysis {"connection_id":147563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe87"} 
[2026-08-01 23:45:20] local.INFO: Extracted packet for processing {"connection_id":147563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe87"} 
[2026-08-01 23:45:20] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23: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-08-01 23:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115557632001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:45:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1785607948000,"timestamp_ms":1785607948000,"timestamp_seconds":1785607948,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe8706e0"} 
[2026-08-01 23:45:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:45:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-01 23:45:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23: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-08-01 23:45:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":147563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":147563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":147563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:45:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115557632001,"66":25604,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115557632001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:45:20] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:45:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:45:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115557632001,"power":25604,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":147563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:45:20] local.INFO: GPS data processed {"connection_id":147563,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:45:20] local.INFO: Acknowledgment sent {"connection_id":147563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:45:43] local.INFO: TCP Data received {"connection_id":146329,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:45:43] local.INFO: Processing buffer {"connection_id":146329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:45:43] local.INFO: IMEI packet received {"connection_id":146329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":146329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:45:48] local.INFO: TCP Data received {"connection_id":146329,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:45:48] local.INFO: Processing buffer {"connection_id":146329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:45:48] local.INFO: IMEI packet received {"connection_id":146329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":146329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:45:49] local.INFO: TCP Data received {"connection_id":146329,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe8706e0012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe8706e0012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:45:49] local.INFO: Processing buffer {"connection_id":146329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe8706e0012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:45:49] local.INFO: Packet analysis {"connection_id":146329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe87"} 
[2026-08-01 23:45:49] local.INFO: Extracted packet for processing {"connection_id":146329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe87"} 
[2026-08-01 23:45:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115557632001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:45:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:45:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785607948000,"timestamp_ms":1785607948000,"timestamp_seconds":1785607948,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe8706e0"} 
[2026-08-01 23:45:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:45:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-01 23:45:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:45:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:45:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:45:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115557632001,"66":25604,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115557632001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:45:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:45:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:45:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:45:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115557632001,"power":25604,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":146329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:45:49] local.INFO: GPS data processed {"connection_id":146329,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:45:49] local.INFO: Acknowledgment sent {"connection_id":146329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:46:21] local.INFO: TCP Data received {"connection_id":146329,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe8706e0012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe8706e0012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:46:21] local.INFO: Processing buffer {"connection_id":146329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe8706e0012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:46:21] local.INFO: Packet analysis {"connection_id":146329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe87"} 
[2026-08-01 23:46:21] local.INFO: Extracted packet for processing {"connection_id":146329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe87"} 
[2026-08-01 23:46:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115557632001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:46:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785607948000,"timestamp_ms":1785607948000,"timestamp_seconds":1785607948,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe8706e0"} 
[2026-08-01 23:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:46:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-01 23:46:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:46:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:46:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115557632001,"66":25604,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115557632001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:46:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:46:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:46:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115557632001,"power":25604,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":146329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:46:21] local.INFO: GPS data processed {"connection_id":146329,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:46:21] local.INFO: Acknowledgment sent {"connection_id":146329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:46:43] local.INFO: TCP Data received {"connection_id":147564,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:46:43] local.INFO: Processing buffer {"connection_id":147564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:46:43] local.INFO: IMEI packet received {"connection_id":147564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":147564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:46:48] local.INFO: TCP Data received {"connection_id":147564,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:46:48] local.INFO: Processing buffer {"connection_id":147564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:46:48] local.INFO: IMEI packet received {"connection_id":147564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":147564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:46:49] local.INFO: TCP Data received {"connection_id":147564,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe8706e0012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe8706e0012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:46:49] local.INFO: Processing buffer {"connection_id":147564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe8706e0012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:46:49] local.INFO: Packet analysis {"connection_id":147564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe87"} 
[2026-08-01 23:46:49] local.INFO: Extracted packet for processing {"connection_id":147564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe87"} 
[2026-08-01 23:46:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23: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-08-01 23:46:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115557632001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:46:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:46:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785607948000,"timestamp_ms":1785607948000,"timestamp_seconds":1785607948,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe8706e0"} 
[2026-08-01 23:46:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:46:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-01 23:46:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23: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-08-01 23:46:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:46:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115557632001,"66":25604,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115557632001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:46:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:46:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:46:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:46:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:46:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115557632001,"power":25604,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:46:49] local.INFO: DEBUG: GPS processor result {"connection_id":147564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:46:49] local.INFO: GPS data processed {"connection_id":147564,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:46:49] local.INFO: Acknowledgment sent {"connection_id":147564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:47:21] local.INFO: TCP Data received {"connection_id":147564,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe8706e0012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe8706e0012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:47:21] local.INFO: Processing buffer {"connection_id":147564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe8706e0012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:47:21] local.INFO: Packet analysis {"connection_id":147564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe87"} 
[2026-08-01 23:47:21] local.INFO: Extracted packet for processing {"connection_id":147564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe87"} 
[2026-08-01 23:47:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23: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-08-01 23:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115557632001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:47:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785607948000,"timestamp_ms":1785607948000,"timestamp_seconds":1785607948,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe8706e0"} 
[2026-08-01 23:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:47:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-01 23:47:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23: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-08-01 23:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:47:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115557632001,"66":25604,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115557632001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:47:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:47:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:47:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115557632001,"power":25604,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":147564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:47:21] local.INFO: GPS data processed {"connection_id":147564,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:47:21] local.INFO: Acknowledgment sent {"connection_id":147564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:47:48] local.INFO: TCP Data received {"connection_id":146330,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:47:48] local.INFO: Processing buffer {"connection_id":146330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:47:48] local.INFO: IMEI packet received {"connection_id":146330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":146330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:47:53] local.INFO: TCP Data received {"connection_id":146330,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:47:53] local.INFO: Processing buffer {"connection_id":146330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:47:53] local.INFO: IMEI packet received {"connection_id":146330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":146330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:47:58] local.INFO: TCP Data received {"connection_id":146330,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe8706e0012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe8706e0012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:47:58] local.INFO: Processing buffer {"connection_id":146330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe8706e0012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:47:58] local.INFO: Packet analysis {"connection_id":146330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe87"} 
[2026-08-01 23:47:58] local.INFO: Extracted packet for processing {"connection_id":146330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe87"} 
[2026-08-01 23:47:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115557632001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:47:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:47:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785607948000,"timestamp_ms":1785607948000,"timestamp_seconds":1785607948,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe8706e0"} 
[2026-08-01 23:47:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:47:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-01 23:47:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:47: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-08-01 23:47:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":146330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":146330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":146330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:47:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115557632001,"66":25604,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115557632001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:47:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:47:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:47:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115557632001,"power":25604,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":146330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:47:58] local.INFO: GPS data processed {"connection_id":146330,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:47:58] local.INFO: Acknowledgment sent {"connection_id":146330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:47:59] local.INFO: TCP Data received {"connection_id":146330,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe8706e0012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe8706e0012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:47:59] local.INFO: Processing buffer {"connection_id":146330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe8706e0012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:47:59] local.INFO: Packet analysis {"connection_id":146330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe87"} 
[2026-08-01 23:47:59] local.INFO: Extracted packet for processing {"connection_id":146330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe87"} 
[2026-08-01 23:47:59] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 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-08-01 23:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115557632001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:47:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:47:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785607948000,"timestamp_ms":1785607948000,"timestamp_seconds":1785607948,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe8706e0"} 
[2026-08-01 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-08-01 23:47: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-08-01 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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-01 23:47:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 23:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":146330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":146330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":146330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115557632001,"66":25604,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115557632001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:47:59] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:47:59] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:47:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115557632001,"power":25604,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":146330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:47:59] local.INFO: GPS data processed {"connection_id":146330,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:47:59] local.INFO: Acknowledgment sent {"connection_id":146330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:48:43] local.INFO: TCP Data received {"connection_id":147565,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:48:43] local.INFO: Processing buffer {"connection_id":147565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:48:43] local.INFO: IMEI packet received {"connection_id":147565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":147565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:48:49] local.INFO: TCP Data received {"connection_id":147565,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:48:49] local.INFO: Processing buffer {"connection_id":147565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:48:49] local.INFO: IMEI packet received {"connection_id":147565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":147565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:48:50] local.INFO: TCP Data received {"connection_id":147565,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe8b9ea8012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe8b9ea8012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:48:50] local.INFO: Processing buffer {"connection_id":147565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe8b9ea8012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:48:50] local.INFO: Packet analysis {"connection_id":147565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe8b"} 
[2026-08-01 23:48:50] local.INFO: Extracted packet for processing {"connection_id":147565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe8b"} 
[2026-08-01 23:48:50] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23: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-08-01 23:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115634688001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:48:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:48:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785608249000,"timestamp_ms":1785608249000,"timestamp_seconds":1785608249,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe8b9ea8"} 
[2026-08-01 23:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:48:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 23:48:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23: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-08-01 23:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":147565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":147565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":147565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:48:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115634688001,"66":25680,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115634688001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:48:50] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:48:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:48:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115634688001,"power":25680,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":147565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:48:50] local.INFO: GPS data processed {"connection_id":147565,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:48:50] local.INFO: Acknowledgment sent {"connection_id":147565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:49:22] local.INFO: TCP Data received {"connection_id":147565,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe8b9ea8012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe8b9ea8012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:49:22] local.INFO: Processing buffer {"connection_id":147565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe8b9ea8012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:49:22] local.INFO: Packet analysis {"connection_id":147565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe8b"} 
[2026-08-01 23:49:22] local.INFO: Extracted packet for processing {"connection_id":147565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe8b"} 
[2026-08-01 23:49:22] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115634688001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:49:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785608249000,"timestamp_ms":1785608249000,"timestamp_seconds":1785608249,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe8b9ea8"} 
[2026-08-01 23:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:49:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 23:49:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:49:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":147565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":147565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":147565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115634688001,"66":25680,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115634688001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:49:22] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:49:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:49:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115634688001,"power":25680,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":147565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:49:22] local.INFO: GPS data processed {"connection_id":147565,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:49:22] local.INFO: Acknowledgment sent {"connection_id":147565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:49:43] local.INFO: TCP Data received {"connection_id":148885,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:49:43] local.INFO: Processing buffer {"connection_id":148885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:49:43] local.INFO: IMEI packet received {"connection_id":148885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":148885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:49:48] local.INFO: TCP Data received {"connection_id":148885,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:49:48] local.INFO: Processing buffer {"connection_id":148885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:49:48] local.INFO: IMEI packet received {"connection_id":148885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":148885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:49:53] local.INFO: TCP Data received {"connection_id":148885,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe8b9ea8012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe8b9ea8012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:49:53] local.INFO: Processing buffer {"connection_id":148885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe8b9ea8012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:49:53] local.INFO: Packet analysis {"connection_id":148885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe8b"} 
[2026-08-01 23:49:53] local.INFO: Extracted packet for processing {"connection_id":148885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe8b"} 
[2026-08-01 23:49:53] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:49:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115634688001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:49:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:49:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:49:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:49:53] local.INFO: AVL Record Parsed {"raw_timestamp":1785608249000,"timestamp_ms":1785608249000,"timestamp_seconds":1785608249,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe8b9ea8"} 
[2026-08-01 23:49:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:49:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 23:49:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:49:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:49:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:49:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:49:53] local.INFO: Teltonika packet parsed successfully {"connection_id":148885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:49:53] local.INFO: Passing IMEI to GPS processor {"connection_id":148885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:49:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":148885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:49:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:49:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:49:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:49:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115634688001,"66":25680,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:49:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:49:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:49:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115634688001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:49:53] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:49:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:49:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:49:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:49:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115634688001,"power":25680,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:49:53] local.INFO: DEBUG: GPS processor result {"connection_id":148885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:49:53] local.INFO: GPS data processed {"connection_id":148885,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:49:53] local.INFO: Acknowledgment sent {"connection_id":148885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:50:24] local.INFO: TCP Data received {"connection_id":148885,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe8b9ea8012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe8b9ea8012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:50:24] local.INFO: Processing buffer {"connection_id":148885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe8b9ea8012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:50:24] local.INFO: Packet analysis {"connection_id":148885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe8b"} 
[2026-08-01 23:50:24] local.INFO: Extracted packet for processing {"connection_id":148885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe8b"} 
[2026-08-01 23:50:24] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115634688001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:50:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:50:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1785608249000,"timestamp_ms":1785608249000,"timestamp_seconds":1785608249,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe8b9ea8"} 
[2026-08-01 23:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:50:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 23:50:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:50:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":148885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":148885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":148885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:50:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115634688001,"66":25680,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115634688001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:50:24] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:50:24] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:50:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115634688001,"power":25680,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":148885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:50:24] local.INFO: GPS data processed {"connection_id":148885,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:50:24] local.INFO: Acknowledgment sent {"connection_id":148885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:50:48] local.INFO: TCP Data received {"connection_id":146562,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:50:48] local.INFO: Processing buffer {"connection_id":146562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:50:48] local.INFO: IMEI packet received {"connection_id":146562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":146562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:50:53] local.INFO: TCP Data received {"connection_id":146562,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:50:53] local.INFO: Processing buffer {"connection_id":146562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:50:53] local.INFO: IMEI packet received {"connection_id":146562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":146562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:50:55] local.INFO: TCP Data received {"connection_id":146562,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe8b9ea8012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe8b9ea8012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:50:55] local.INFO: Processing buffer {"connection_id":146562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe8b9ea8012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:50:55] local.INFO: Packet analysis {"connection_id":146562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe8b"} 
[2026-08-01 23:50:55] local.INFO: Extracted packet for processing {"connection_id":146562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe8b"} 
[2026-08-01 23:50:55] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115634688001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:50:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785608249000,"timestamp_ms":1785608249000,"timestamp_seconds":1785608249,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe8b9ea8"} 
[2026-08-01 23:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:50:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 23:50:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:50:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":146562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":146562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":146562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115634688001,"66":25680,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115634688001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:50:55] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:50:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:50:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115634688001,"power":25680,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":146562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:50:55] local.INFO: GPS data processed {"connection_id":146562,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:50:55] local.INFO: Acknowledgment sent {"connection_id":146562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:50:58] local.INFO: TCP Data received {"connection_id":146562,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe8b9ea8012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe8b9ea8012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:50:58] local.INFO: Processing buffer {"connection_id":146562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe8b9ea8012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:50:58] local.INFO: Packet analysis {"connection_id":146562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe8b"} 
[2026-08-01 23:50:58] local.INFO: Extracted packet for processing {"connection_id":146562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe8b"} 
[2026-08-01 23:50:58] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115634688001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:50:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:50:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1785608249000,"timestamp_ms":1785608249000,"timestamp_seconds":1785608249,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe8b9ea8"} 
[2026-08-01 23:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:50:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 23:50:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:50:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":146562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":146562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":146562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:50:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115634688001,"66":25680,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115634688001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:50:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:50:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:50:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115634688001,"power":25680,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":146562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:50:58] local.INFO: GPS data processed {"connection_id":146562,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:50:58] local.INFO: Acknowledgment sent {"connection_id":146562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:51:43] local.INFO: TCP Data received {"connection_id":147566,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:51:43] local.INFO: Processing buffer {"connection_id":147566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:51:43] local.INFO: IMEI packet received {"connection_id":147566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":147566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:51:48] local.INFO: TCP Data received {"connection_id":147566,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:51:48] local.INFO: Processing buffer {"connection_id":147566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:51:48] local.INFO: IMEI packet received {"connection_id":147566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":147566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:51:49] local.INFO: TCP Data received {"connection_id":147566,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe8b9ea8012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe8b9ea8012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:51:49] local.INFO: Processing buffer {"connection_id":147566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe8b9ea8012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:51:49] local.INFO: Packet analysis {"connection_id":147566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe8b"} 
[2026-08-01 23:51:49] local.INFO: Extracted packet for processing {"connection_id":147566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe8b"} 
[2026-08-01 23:51:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115634688001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:51:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785608249000,"timestamp_ms":1785608249000,"timestamp_seconds":1785608249,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe8b9ea8"} 
[2026-08-01 23:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 23:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:51:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":147566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":147566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":147566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115634688001,"66":25680,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115634688001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:51:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:51:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:51:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115634688001,"power":25680,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":147566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:51:49] local.INFO: GPS data processed {"connection_id":147566,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:51:49] local.INFO: Acknowledgment sent {"connection_id":147566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:52:21] local.INFO: TCP Data received {"connection_id":147566,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe8b9ea8012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe8b9ea8012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:52:21] local.INFO: Processing buffer {"connection_id":147566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe8b9ea8012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:52:21] local.INFO: Packet analysis {"connection_id":147566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe8b"} 
[2026-08-01 23:52:21] local.INFO: Extracted packet for processing {"connection_id":147566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe8b"} 
[2026-08-01 23:52:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115634688001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:52:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785608249000,"timestamp_ms":1785608249000,"timestamp_seconds":1785608249,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe8b9ea8"} 
[2026-08-01 23:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:52:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 23:52:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:52:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":147566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":147566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":147566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:52:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115634688001,"66":25680,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115634688001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:52:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:52:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:52:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115634688001,"power":25680,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":147566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:52:21] local.INFO: GPS data processed {"connection_id":147566,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:52:21] local.INFO: Acknowledgment sent {"connection_id":147566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:52:43] local.INFO: TCP Data received {"connection_id":146331,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:52:43] local.INFO: Processing buffer {"connection_id":146331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:52:43] local.INFO: IMEI packet received {"connection_id":146331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":146331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:52:49] local.INFO: TCP Data received {"connection_id":146331,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:52:49] local.INFO: Processing buffer {"connection_id":146331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:52:49] local.INFO: IMEI packet received {"connection_id":146331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":146331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:52:50] local.INFO: TCP Data received {"connection_id":146331,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe8b9ea8012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe8b9ea8012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:52:50] local.INFO: Processing buffer {"connection_id":146331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe8b9ea8012cc330c007685b20005a00cd27..."} 
[2026-08-01 23:52:50] local.INFO: Packet analysis {"connection_id":146331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe8b"} 
[2026-08-01 23:52:50] local.INFO: Extracted packet for processing {"connection_id":146331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe8b"} 
[2026-08-01 23:52:50] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23: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-08-01 23:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115634688001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:52:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:52:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785608249000,"timestamp_ms":1785608249000,"timestamp_seconds":1785608249,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe8b9ea8"} 
[2026-08-01 23:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:52:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-01 23:52:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23: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-08-01 23:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:52:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115634688001,"66":25680,"39":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-08-01 23:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115634688001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:52:50] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-01 23:52:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:52:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115634688001,"power":25680,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:52:50] local.INFO: DEBUG: GPS processor result {"connection_id":146331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:52:50] local.INFO: GPS data processed {"connection_id":146331,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:52:50] local.INFO: Acknowledgment sent {"connection_id":146331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:53:22] local.INFO: TCP Data received {"connection_id":146331,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe903670012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe903670012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:53:22] local.INFO: Processing buffer {"connection_id":146331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe903670012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:53:22] local.INFO: Packet analysis {"connection_id":146331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe90"} 
[2026-08-01 23:53:22] local.INFO: Extracted packet for processing {"connection_id":146331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe90"} 
[2026-08-01 23:53:22] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:53:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115711744001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:53:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:53:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:53:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:53:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785608550000,"timestamp_ms":1785608550000,"timestamp_seconds":1785608550,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe903670"} 
[2026-08-01 23:53:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:53:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-01 23:53:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:53:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:53:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:53:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:53:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:53:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:53:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:53:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:53:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:53:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:53:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115711744001,"66":25647,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-01 23:53:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:53:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:53:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115711744001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:53:22] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-01 23:53:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:53:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:53:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:53:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115711744001,"power":25647,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:53:22] local.INFO: DEBUG: GPS processor result {"connection_id":146331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:53:22] local.INFO: GPS data processed {"connection_id":146331,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:53:22] local.INFO: Acknowledgment sent {"connection_id":146331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:53:42] local.INFO: TCP Data received {"connection_id":146332,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:53:42] local.INFO: Processing buffer {"connection_id":146332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:53:42] local.INFO: IMEI packet received {"connection_id":146332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:53:42] local.INFO: IMEI acknowledgment sent {"connection_id":146332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:53:49] local.INFO: TCP Data received {"connection_id":146332,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:53:49] local.INFO: Processing buffer {"connection_id":146332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:53:49] local.INFO: IMEI packet received {"connection_id":146332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":146332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:53:50] local.INFO: TCP Data received {"connection_id":146332,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe903670012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe903670012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:53:50] local.INFO: Processing buffer {"connection_id":146332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe903670012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:53:50] local.INFO: Packet analysis {"connection_id":146332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe90"} 
[2026-08-01 23:53:50] local.INFO: Extracted packet for processing {"connection_id":146332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe90"} 
[2026-08-01 23:53:50] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23: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-08-01 23:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115711744001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:53:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1785608550000,"timestamp_ms":1785608550000,"timestamp_seconds":1785608550,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe903670"} 
[2026-08-01 23:53:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:53:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-01 23:53:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23: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-08-01 23:53:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":146332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":146332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":146332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:53:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115711744001,"66":25647,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-01 23:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115711744001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:53:50] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-01 23:53:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:53:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115711744001,"power":25647,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":146332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:53:50] local.INFO: GPS data processed {"connection_id":146332,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:53:50] local.INFO: Acknowledgment sent {"connection_id":146332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:54:22] local.INFO: TCP Data received {"connection_id":146332,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe903670012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe903670012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:54:22] local.INFO: Processing buffer {"connection_id":146332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe903670012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:54:22] local.INFO: Packet analysis {"connection_id":146332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe90"} 
[2026-08-01 23:54:22] local.INFO: Extracted packet for processing {"connection_id":146332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe90"} 
[2026-08-01 23:54:22] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115711744001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:54:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1785608550000,"timestamp_ms":1785608550000,"timestamp_seconds":1785608550,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe903670"} 
[2026-08-01 23:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:54:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-01 23:54:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:54:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":146332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":146332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":146332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115711744001,"66":25647,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-01 23:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115711744001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:54:22] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-01 23:54:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:54:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115711744001,"power":25647,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":146332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:54:22] local.INFO: GPS data processed {"connection_id":146332,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:54:22] local.INFO: Acknowledgment sent {"connection_id":146332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:54:42] local.INFO: TCP Data received {"connection_id":146563,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:54:42] local.INFO: Processing buffer {"connection_id":146563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:54:42] local.INFO: IMEI packet received {"connection_id":146563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:54:42] local.INFO: IMEI acknowledgment sent {"connection_id":146563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:54:48] local.INFO: TCP Data received {"connection_id":146563,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:54:48] local.INFO: Processing buffer {"connection_id":146563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:54:48] local.INFO: IMEI packet received {"connection_id":146563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":146563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:54:49] local.INFO: TCP Data received {"connection_id":146563,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe903670012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe903670012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:54:49] local.INFO: Processing buffer {"connection_id":146563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe903670012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:54:49] local.INFO: Packet analysis {"connection_id":146563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe90"} 
[2026-08-01 23:54:49] local.INFO: Extracted packet for processing {"connection_id":146563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe90"} 
[2026-08-01 23:54:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23: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-08-01 23:54:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115711744001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:54:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:54:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:54:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:54:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785608550000,"timestamp_ms":1785608550000,"timestamp_seconds":1785608550,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe903670"} 
[2026-08-01 23:54:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:54:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-01 23:54:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:54:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:54:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:54:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:54:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:54:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:54:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:54:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:54:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:54:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:54:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115711744001,"66":25647,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-01 23:54:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:54:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:54:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115711744001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:54:49] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-01 23:54:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:54:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:54:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:54:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115711744001,"power":25647,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:54:49] local.INFO: DEBUG: GPS processor result {"connection_id":146563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:54:49] local.INFO: GPS data processed {"connection_id":146563,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:54:49] local.INFO: Acknowledgment sent {"connection_id":146563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:55:21] local.INFO: TCP Data received {"connection_id":146563,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe903670012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe903670012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:55:21] local.INFO: Processing buffer {"connection_id":146563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe903670012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:55:21] local.INFO: Packet analysis {"connection_id":146563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe90"} 
[2026-08-01 23:55:21] local.INFO: Extracted packet for processing {"connection_id":146563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe90"} 
[2026-08-01 23:55:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115711744001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:55:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785608550000,"timestamp_ms":1785608550000,"timestamp_seconds":1785608550,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe903670"} 
[2026-08-01 23:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:55:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-01 23:55:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:55:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:55:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115711744001,"66":25647,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-01 23:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115711744001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:55:21] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-01 23:55:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:55:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115711744001,"power":25647,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":146563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:55:21] local.INFO: GPS data processed {"connection_id":146563,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:55:21] local.INFO: Acknowledgment sent {"connection_id":146563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:55:48] local.INFO: TCP Data received {"connection_id":148886,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:55:48] local.INFO: Processing buffer {"connection_id":148886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:55:48] local.INFO: IMEI packet received {"connection_id":148886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":148886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:55:53] local.INFO: TCP Data received {"connection_id":148886,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:55:53] local.INFO: Processing buffer {"connection_id":148886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:55:53] local.INFO: IMEI packet received {"connection_id":148886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":148886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:55:54] local.INFO: TCP Data received {"connection_id":148886,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe903670012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe903670012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:55:54] local.INFO: Processing buffer {"connection_id":148886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe903670012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:55:54] local.INFO: Packet analysis {"connection_id":148886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe90"} 
[2026-08-01 23:55:54] local.INFO: Extracted packet for processing {"connection_id":148886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe90"} 
[2026-08-01 23:55:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:55:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115711744001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:55:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:55:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:55:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:55:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785608550000,"timestamp_ms":1785608550000,"timestamp_seconds":1785608550,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe903670"} 
[2026-08-01 23:55:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:55:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-01 23:55:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:55:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:55:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:55:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:55:54] local.INFO: Teltonika packet parsed successfully {"connection_id":148886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:55:54] local.INFO: Passing IMEI to GPS processor {"connection_id":148886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:55:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":148886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:55:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:55:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:55:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:55:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115711744001,"66":25647,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-01 23:55:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:55:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:55:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115711744001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:55:54] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-01 23:55:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:55:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:55:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:55:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115711744001,"power":25647,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:55:54] local.INFO: DEBUG: GPS processor result {"connection_id":148886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:55:54] local.INFO: GPS data processed {"connection_id":148886,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:55:54] local.INFO: Acknowledgment sent {"connection_id":148886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:55:59] local.INFO: TCP Data received {"connection_id":148886,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe903670012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe903670012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:55:59] local.INFO: Processing buffer {"connection_id":148886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe903670012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:55:59] local.INFO: Packet analysis {"connection_id":148886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe90"} 
[2026-08-01 23:55:59] local.INFO: Extracted packet for processing {"connection_id":148886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe90"} 
[2026-08-01 23:55:59] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 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-08-01 23:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115711744001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:55:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785608550000,"timestamp_ms":1785608550000,"timestamp_seconds":1785608550,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe903670"} 
[2026-08-01 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-08-01 23:55: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-08-01 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-01 23:55:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 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-08-01 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-08-01 23:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":148886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":148886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":148886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115711744001,"66":25647,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-01 23:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115711744001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:55:59] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-01 23:55:59] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:55:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115711744001,"power":25647,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":148886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:55:59] local.INFO: GPS data processed {"connection_id":148886,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:55:59] local.INFO: Acknowledgment sent {"connection_id":148886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:56:44] local.INFO: TCP Data received {"connection_id":148887,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:56:44] local.INFO: Processing buffer {"connection_id":148887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:56:44] local.INFO: IMEI packet received {"connection_id":148887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":148887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:56:48] local.INFO: TCP Data received {"connection_id":148887,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:56:48] local.INFO: Processing buffer {"connection_id":148887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:56:48] local.INFO: IMEI packet received {"connection_id":148887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":148887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:56:49] local.INFO: TCP Data received {"connection_id":148887,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe903670012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe903670012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:56:49] local.INFO: Processing buffer {"connection_id":148887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe903670012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:56:49] local.INFO: Packet analysis {"connection_id":148887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe90"} 
[2026-08-01 23:56:49] local.INFO: Extracted packet for processing {"connection_id":148887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe90"} 
[2026-08-01 23:56:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:56:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115711744001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:56:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:56:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:56:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:56:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785608550000,"timestamp_ms":1785608550000,"timestamp_seconds":1785608550,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe903670"} 
[2026-08-01 23:56:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:56:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-01 23:56:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:56:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:56:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:56:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:56:49] local.INFO: Teltonika packet parsed successfully {"connection_id":148887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:56:49] local.INFO: Passing IMEI to GPS processor {"connection_id":148887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:56:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":148887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:56:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:56:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:56:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:56:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115711744001,"66":25647,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-01 23:56:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:56:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:56:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115711744001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:56:49] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-01 23:56:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:56:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:56:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:56:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115711744001,"power":25647,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:56:49] local.INFO: DEBUG: GPS processor result {"connection_id":148887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:56:49] local.INFO: GPS data processed {"connection_id":148887,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:56:49] local.INFO: Acknowledgment sent {"connection_id":148887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:57:21] local.INFO: TCP Data received {"connection_id":148887,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe903670012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":148887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe903670012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:57:21] local.INFO: Processing buffer {"connection_id":148887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe903670012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:57:21] local.INFO: Packet analysis {"connection_id":148887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe90"} 
[2026-08-01 23:57:21] local.INFO: Extracted packet for processing {"connection_id":148887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe90"} 
[2026-08-01 23:57:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115711744001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:57:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:57:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785608550000,"timestamp_ms":1785608550000,"timestamp_seconds":1785608550,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe903670"} 
[2026-08-01 23:57:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:57:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-01 23:57:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:57:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:57:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":148887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":148887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":148887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:57:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115711744001,"66":25647,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-01 23:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115711744001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:57:21] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-01 23:57:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:57:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115711744001,"power":25647,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":148887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:57:21] local.INFO: GPS data processed {"connection_id":148887,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:57:21] local.INFO: Acknowledgment sent {"connection_id":148887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:57:42] local.INFO: TCP Data received {"connection_id":146333,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:57:42] local.INFO: Processing buffer {"connection_id":146333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:57:42] local.INFO: IMEI packet received {"connection_id":146333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":146333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:57:48] local.INFO: TCP Data received {"connection_id":146333,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:57:48] local.INFO: Processing buffer {"connection_id":146333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:57:48] local.INFO: IMEI packet received {"connection_id":146333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":146333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:57:49] local.INFO: TCP Data received {"connection_id":146333,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe903670012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe903670012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:57:49] local.INFO: Processing buffer {"connection_id":146333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe903670012cc330c007685b20005a00cd28..."} 
[2026-08-01 23:57:49] local.INFO: Packet analysis {"connection_id":146333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe90"} 
[2026-08-01 23:57:49] local.INFO: Extracted packet for processing {"connection_id":146333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe90"} 
[2026-08-01 23:57:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115711744001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:57:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785608550000,"timestamp_ms":1785608550000,"timestamp_seconds":1785608550,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe903670"} 
[2026-08-01 23:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-01 23:57:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:57:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115711744001,"66":25647,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-01 23:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115711744001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:57:49] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-01 23:57:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:57:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115711744001,"power":25647,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":146333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:57:49] local.INFO: GPS data processed {"connection_id":146333,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:57:49] local.INFO: Acknowledgment sent {"connection_id":146333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:58:21] local.INFO: TCP Data received {"connection_id":146333,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe94ce38012cc330c007685b20005a00cd23..."} 
[2026-08-01 23:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe94ce38012cc330c007685b20005a00cd23..."} 
[2026-08-01 23:58:21] local.INFO: Processing buffer {"connection_id":146333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe94ce38012cc330c007685b20005a00cd23..."} 
[2026-08-01 23:58:21] local.INFO: Packet analysis {"connection_id":146333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe94"} 
[2026-08-01 23:58:21] local.INFO: Extracted packet for processing {"connection_id":146333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe94"} 
[2026-08-01 23:58:21] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115788800001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:58:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785608851000,"timestamp_ms":1785608851000,"timestamp_seconds":1785608851,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe94ce38"} 
[2026-08-01 23:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:58:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-01 23:58:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:58:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":146333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":146333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":146333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115788800001,"66":25625,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-01 23:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115788800001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:58:21] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-01 23:58:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:58:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115788800001,"power":25625,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":146333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:58:21] local.INFO: GPS data processed {"connection_id":146333,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:58:21] local.INFO: Acknowledgment sent {"connection_id":146333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:58:48] local.INFO: TCP Data received {"connection_id":147567,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:58:48] local.INFO: Processing buffer {"connection_id":147567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:58:48] local.INFO: IMEI packet received {"connection_id":147567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":147567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:58:53] local.INFO: TCP Data received {"connection_id":147567,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:58:53] local.INFO: Processing buffer {"connection_id":147567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:58:53] local.INFO: IMEI packet received {"connection_id":147567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":147567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:58:54] local.INFO: TCP Data received {"connection_id":147567,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe94ce38012cc330c007685b20005a00cd23..."} 
[2026-08-01 23:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe94ce38012cc330c007685b20005a00cd23..."} 
[2026-08-01 23:58:54] local.INFO: Processing buffer {"connection_id":147567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe94ce38012cc330c007685b20005a00cd23..."} 
[2026-08-01 23:58:54] local.INFO: Packet analysis {"connection_id":147567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe94"} 
[2026-08-01 23:58:54] local.INFO: Extracted packet for processing {"connection_id":147567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe94"} 
[2026-08-01 23:58:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23: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-08-01 23:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115788800001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:58:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:58:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785608851000,"timestamp_ms":1785608851000,"timestamp_seconds":1785608851,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe94ce38"} 
[2026-08-01 23:58:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:58:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-01 23:58:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23: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-08-01 23:58:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":147567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":147567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":147567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:58:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115788800001,"66":25625,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-01 23:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115788800001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:58:54] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-01 23:58:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:58:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115788800001,"power":25625,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":147567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:58:54] local.INFO: GPS data processed {"connection_id":147567,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:58:54] local.INFO: Acknowledgment sent {"connection_id":147567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:58:59] local.INFO: TCP Data received {"connection_id":147567,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe94ce38012cc330c007685b20005a00cd23..."} 
[2026-08-01 23:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":147567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe94ce38012cc330c007685b20005a00cd23..."} 
[2026-08-01 23:58:59] local.INFO: Processing buffer {"connection_id":147567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe94ce38012cc330c007685b20005a00cd23..."} 
[2026-08-01 23:58:59] local.INFO: Packet analysis {"connection_id":147567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe94"} 
[2026-08-01 23:58:59] local.INFO: Extracted packet for processing {"connection_id":147567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe94"} 
[2026-08-01 23:58:59] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23: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-08-01 23:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115788800001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:58:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:58:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785608851000,"timestamp_ms":1785608851000,"timestamp_seconds":1785608851,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe94ce38"} 
[2026-08-01 23:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:58: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-08-01 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-01 23:58: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-08-01 23: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-08-01 23:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":147567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":147567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":147567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:58:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115788800001,"66":25625,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-01 23:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115788800001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:58:59] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-01 23:58:59] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:58:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115788800001,"power":25625,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":147567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:58:59] local.INFO: GPS data processed {"connection_id":147567,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:58:59] local.INFO: Acknowledgment sent {"connection_id":147567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:59:46] local.INFO: TCP Data received {"connection_id":146334,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:59:46] local.INFO: Processing buffer {"connection_id":146334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:59:46] local.INFO: IMEI packet received {"connection_id":146334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-01 23:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":146334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-01 23:59:48] local.INFO: TCP Data received {"connection_id":146334,"ip":"117.224.93.208","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:59:48] local.INFO: Processing buffer {"connection_id":146334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-01 23:59:48] local.INFO: IMEI packet received {"connection_id":146334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-01 23:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":146334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-01 23:59:49] local.INFO: TCP Data received {"connection_id":146334,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe94ce38012cc330c007685b20005a00cd23..."} 
[2026-08-01 23:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe94ce38012cc330c007685b20005a00cd23..."} 
[2026-08-01 23:59:49] local.INFO: Processing buffer {"connection_id":146334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe94ce38012cc330c007685b20005a00cd23..."} 
[2026-08-01 23:59:49] local.INFO: Packet analysis {"connection_id":146334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe94"} 
[2026-08-01 23:59:49] local.INFO: Extracted packet for processing {"connection_id":146334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe94"} 
[2026-08-01 23:59:49] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115788800001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:59:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1785608851000,"timestamp_ms":1785608851000,"timestamp_seconds":1785608851,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe94ce38"} 
[2026-08-01 23:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:59:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-01 23:59:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:59:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":146334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":146334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":146334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115788800001,"66":25625,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-01 23:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115788800001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:59:49] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-01 23:59:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:59:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115788800001,"power":25625,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":146334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:59:49] local.INFO: GPS data processed {"connection_id":146334,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:59:49] local.INFO: Acknowledgment sent {"connection_id":146334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-01 23:59:54] local.INFO: TCP Data received {"connection_id":146334,"ip":"117.224.93.208","data_length":795,"data_hex":"000000000000030f8e0a0000019fbe94ce38012cc330c007685b20005a00cd23..."} 
[2026-08-01 23:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":146334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fbe94ce38012cc330c007685b20005a00cd23..."} 
[2026-08-01 23:59:54] local.INFO: Processing buffer {"connection_id":146334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fbe94ce38012cc330c007685b20005a00cd23..."} 
[2026-08-01 23:59:54] local.INFO: Packet analysis {"connection_id":146334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fbe94"} 
[2026-08-01 23:59:54] local.INFO: Extracted packet for processing {"connection_id":146334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fbe94"} 
[2026-08-01 23:59:54] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279584,"longitude_deg":75.0989504,"latitude_deg":12.4279584,"altitude":90,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b20","is_valid_coordinates":true} 
[2026-08-01 23:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-01 23:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457115788800001,"note":"Value kept but may cause issues"} 
[2026-08-01 23:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":367018879727173632,"note":"Value kept but may cause issues"} 
[2026-08-01 23:59:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383386112,"note":"Value kept but may cause issues"} 
[2026-08-01 23:59:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-01 23:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785608851000,"timestamp_ms":1785608851000,"timestamp_seconds":1785608851,"priority":1,"record_length":96,"hex_timestamp":"0000019fbe94ce38"} 
[2026-08-01 23:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-01 23:59:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-01 23:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-01 23:59:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-01 23:59:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-01 23:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-01 23:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-01 23:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":146334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-01 23:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":146334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":146334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-01 23:59:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.93.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-01 23:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-01 23:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-01 23:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457115788800001,"66":25625,"36":206,"27":54016,"24":0,"16":367018879727173632,"44":-4381791299383386112},"client_ip":"117.224.93.208","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-08-01 23:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-01 23:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-01 23:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457115788800001,"description":"Unknown IO ID 0"} 
[2026-08-01 23:59:54] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-01 23:59:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-08-01 23:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":367018879727173632,"km_value":367018879727173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-01 23:59:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383386112,"description":"Unknown IO ID 44"} 
[2026-08-01 23:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457115788800001,"power":25625,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381791299383386112}} 
[2026-08-01 23:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":146334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":579784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-01 23:59:54] local.INFO: GPS data processed {"connection_id":146334,"processed":1,"errors":0,"total":1} 
[2026-08-01 23:59:54] local.INFO: Acknowledgment sent {"connection_id":146334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
